diff --git a/B4A/AutoBackups/Backup Marquez_Reparto 2024-08-10 21.06.zip b/B4A/AutoBackups/Backup Marquez_Reparto 2024-08-10 21.06.zip new file mode 100644 index 0000000..84219db Binary files /dev/null and b/B4A/AutoBackups/Backup Marquez_Reparto 2024-08-10 21.06.zip differ diff --git a/B4A/AutoBackups/Backup Marquez_Reparto 2024-08-11 17.27.zip b/B4A/AutoBackups/Backup Marquez_Reparto 2024-08-11 17.27.zip new file mode 100644 index 0000000..9fc7dcc Binary files /dev/null and b/B4A/AutoBackups/Backup Marquez_Reparto 2024-08-11 17.27.zip differ diff --git a/B4A/B4XMainPage.bas b/B4A/B4XMainPage.bas new file mode 100644 index 0000000..69aedea --- /dev/null +++ b/B4A/B4XMainPage.bas @@ -0,0 +1,1029 @@ +B4A=true +Group=Default Group +ModulesStructureVersion=1 +Type=Class +Version=9.85 +@EndOfDesignText@ +#Region Shared Files +'#CustomBuildAction: folders ready, %WINDIR%\System32\Robocopy.exe,"..\..\Shared Files" "..\Files" + 'Ctrl + click to sync files: ide://run?file=%WINDIR%\System32\Robocopy.exe&args=..\..\Shared+Files&args=..\Files&FilesSync=True + '########################################################################################################### + '###################### PULL ############################################################# + 'Ctrl + click ide://run?file=%WINDIR%\System32\cmd.exe&Args=/c&Args=git&Args=pull + '########################################################################################################### + '###################### PUSH ############################################################# + 'Ctrl + click ide://run?file=%WINDIR%\System32\WindowsPowerShell\v1.0\powershell.exe&Args=github&Args=..\..\ + '########################################################################################################### + '###################### PUSH TORTOISE GIT ######################################################### + 'Ctrl + click ide://run?file=%WINDIR%\System32\WindowsPowerShell\v1.0\powershell.exe&Args=TortoiseGitProc&Args=/command:commit&Args=/path:"./../../"&Args=/closeonend:2 + '########################################################################################################### +#End Region + +'Ctrl + click to export as zip: ide://run?File=%B4X%\Zipper.jar&Args=Project.zip + +Sub Class_Globals + Dim rp As RuntimePermissions + Private Root As B4XView + Private xui As XUI + Private Root As B4XView + Public rp As RuntimePermissions + Public login As B4XMainPage + Public principal As C_Principal + Public clientes As C_Clientes + Public cliente As C_Cliente +' Public foto As C_Foto + Public productos As C_Productos + Public updateAvailable As C_UpdateAvailable + Public mapas As C_Mapas + Public nuevoCliente As C_NuevoCliente + Public ticketsDia As C_TicketsDia + Public noVenta As C_NoVenta + Public pedidos As C_Pedidos + Public buscar As C_Buscar +' Public historico As C_Historico + Public detalleVenta As C_DetalleVenta + Public detalle_promo As C_Detalle_Promo + Dim reqManager As DBRequestManager +' Dim ruta As String + Dim usuario As String + Dim logger As Boolean = True + Dim lat_gps, lon_gps As String +' Dim skmt As SQL + Dim usuario As String + Dim server As String + Dim montoActual, clientesTotal, clientesVenta, clientesRechazo, clientesVisitados, almacen, rutaPreventa, CANTIDADPROD As String + Dim ultimaActualizacionGPS As String = 235959 + Dim fechaRuta As String +' Public wsServerLink As String = "ws://187.189.244.154:51042/push/b4a_ws2" +' Public wsServerLink As String = "ws://10.0.0.214:51042/push/b4a_ws2" + Dim srvIp As String + Dim phn As Phone + Dim user As EditText + Dim pass As EditText + Dim c As Cursor + Dim existe As String + Dim paso1 As String + Private IMEN As Label + Dim IMEI As String + Private Label1 As Label + Dim server As String + Private p_principal As Panel + Private Entrar As Button + Public checklist As C_Cheklist + Public tabulador As C_tabulador + Dim batt As Int + Dim porVisitar, entregas, rechazos, montoEntregado, montoRechazado, visitadostotales As String + Private p_appUpdate As Panel + Private i_engrane As ImageView + Private b_server As Button + Private b_apk As Button + Private b_envioBD As Button + Private b_regesar As Button + Private et_server As EditText + Private p_serverList As Panel + Private lv_server As ListView + Public Provider As FileProvider + Public rutaBDBackup As String = "" + Private B_Can_Monto As Button + Private B_Aceptar_Monto As Button + Private ET_Add_Monto As EditText + Private p_add_monto As Panel + Dim sDate, sTime As String + Private p_validacion As Panel + Private b_cancelarcodigo As Button + Private b_aceptar As Button + Private et_codigo As EditText + Private P_CIEGO As Panel + Private b_terpc As Button + Private B_PC_ENV As Button + Private CLV_PICK_CIEGO As CustomListView + Private et_buspc As EditText + Dim q_buscar As String + Dim d As Cursor + Private L_PICK_CIEGO As Label + Private ET_PICK_CIEGO As EditText + Dim a As Cursor + Dim f As Cursor + Private b_abono As Button + Dim monto_entregadoactual As String +End Sub + +Public Sub Initialize +' B4XPages.GetManager.LogEvents = True +End Sub + +'This event will be called once, before the page becomes visible. +Private Sub B4XPage_Created (Root1 As B4XView) + Root = Root1 + B4XPages.GetManager.LogEvents = True + Root.LoadLayout("login") + B4XPages.SetTitle(Me, "Izca Reparto") + login.Initialize + B4XPages.AddPage("Login", login) + principal.Initialize + B4XPages.AddPage("Principal", principal) + clientes.Initialize + B4XPages.AddPage("Clientes", clientes) + cliente.Initialize + B4XPages.AddPage("Cliente", cliente) +' foto.Initialize +' B4XPages.AddPage("Foto", foto) + productos.Initialize + B4XPages.AddPage("Productos", productos) + updateAvailable.Initialize + B4XPages.AddPage("updateAvailable", updateAvailable) + mapas.Initialize + B4XPages.AddPage("Mapas", mapas) + nuevoCliente.Initialize + B4XPages.AddPage("NuevoCliente", nuevoCliente) + ticketsDia.Initialize + B4XPages.AddPage("TicketsDia", ticketsDia) + noVenta.Initialize + B4XPages.AddPage("NoVenta", noVenta) + pedidos.Initialize + B4XPages.AddPage("Pedidos", pedidos) + buscar.Initialize + B4XPages.AddPage("Buscar", buscar) +' historico.Initialize +' B4XPages.AddPage("Historico", historico) + detalleVenta.Initialize + B4XPages.AddPage("DetalleVenta", detalleVenta) + detalle_promo.Initialize + B4XPages.AddPage("Detalle_Promo", detalle_promo) + tabulador.Initialize + B4XPages.AddPage("tabulador", tabulador) + checklist.Initialize + B4XPages.AddPage("checklist",checklist) + Starter.skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS CAT_GUNAPROD3 (CAT_GP_INICIATIVA TEXT, CAT_GP_TIPOPROD TEXT, CAT_GP_DEV TEXT, CAT_GP_ALMACEN NUMERIC, 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 BLOB)") + Subs.agregaColumna("CAT_GUNAPROD3", "CAT_DP_CONVERSION1", "TEXT") + Subs.agregaColumna("CAT_GUNAPROD3", "CAT_DP_PRECIO4", "TEXT") + Subs.agregaColumna("CAT_GUNAPROD3", "CAT_DP_CANT_MIN_VENTA", "TEXT") + Starter.skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS ABONOS (a_usuario TEXT, a_ruta TEXT, a_cliente TEXT, a_abono TEXT, a_fecha TEXT, a_enviado TEXT)") + Starter.skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS PAGARES (PA_ALMACEN TEXT, PA_RUTA_REP TEXT, PA_RUTAPREV TEXT, PA_FECHA_PREV TEXT, PA_CAPTURA TEXT, PA_MONTO TEXT, PA_USUARIO TEXT, PA_CLIENTE TEXT)") + +' Starter.skmt.ExecNonQuery("DROP TABLE IF EXISTS PICK_CIEGO") + Starter.skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS PICK_CIEGO (PC_ID_PROD TEXT, PC_NOM_PROD TEXT, PC_CANT TEXT, PC_ALMACEN TEXT, PC_RUTA TEXT, PC_FECHA TEXT)") + Subs.agregaColumna("PICK_CIEGO", "RESTA", "INT") + + Starter.skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS ENV_MONTO_LIQ (EML_MONTO TEXT, EML_ALMACEN TEXT, EML_RUTA TEXT, EML_USUARIO TEXT, EML_FECHA_PED TEXT)") + Starter.skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS TABULADOR_MONEDAS(VEINTE TEXT, DIEZ TEXT, CINCO TEXT, DOS TEXT, PESO TEXT, CENTAVO TEXT, TOTAL TEXT)") + Starter.skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS TABULADOR_BILLETES(MIL TEXT, QUINIENTOS TEXT, DOCIENTOS TEXT, CIEN TEXT, CINCUENTA TEXT, VEINTE TEXT)") + Starter.skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_VENTAS2 (HVD_PARCIAL TEXT, HVD_RECHAZO TEXT, HVD_NUM_REGISTRO TEXT, HVD_NUM_TICKET TEXT, HVD_PROID TEXT, HVD_CODPROMO TEXT, HVD_FECHA TEXT, HVD_ESTATUS TEXT, HVD_CLIENTE TEXT, HVD_PRONOMBRE TEXT, HVD_CANT TEXT, HVD_COSTO_TOT TEXT)") +' Starter.skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS VENTAS (V_FECHA TEXT, V_CLIENTE TEXT, V_CLIENTE_ORIG TEXT, V_PRODNOMBRE TEXT, V_PRODID TEXT, V_CANTIDAD TEXT, V_PRECIO TEXT, V_TOTAL TEXT, V_PRODREGISTRO TEXT)") + Starter.skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS RECHAZOS (R_FECHA TEXT, R_CLIENTE TEXT, R_CLI_ORIG TEXT, R_PRODID TEXT, R_CANT TEXT, R_RECHAZO INT)") + Starter.skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS VENTAS (V_FECHA TEXT, V_CLIENTE TEXT, V_CLI_ORIG TEXT, V_PRODID TEXT, V_CANT TEXT, V_RECHAZO INT)") + Starter.skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS ABONOSP(NOTA TEXT, CLIENTE TEXT, SALDO_PENDIENTE TEXT)") +' Starter.skmt.ExecNonQuery("DROP TABLE IF EXISTS PAGARES") + Starter.skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS CHECADO_CHECK(CHECADO TEXT)") + Starter.skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS BLOCKENVIO(ENVIADO TEXT)") +' Starter.skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS PAGARES(TMP_MONTO_PAGARE TEXT, TMP_CLIENTE TEXT)") + Starter.skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS CHECKLIST(USUARIO TEXT, PLACA TEXT, FECHA_CAPTURA TEXT, TARJETA_CIRCULACION TEXT , POLIZA_SEGURO TEXT, LICENCIA_CONDUCIR TEXT, LIMPIA_EXTERNA TEXT, LIMPIA_INTERNA TEXT, TRIANGULO TEXT, GATO TEXT, LLANTA_REFACCION TEXT, CARROCERIA_BUENESTADO TEXT, CARROCERIA_MALESTADO TEXT, CARROCERIA_COMENTARIOS TEXT, LUCES_CORRECTO TEXT, LUCES_INCORRECTO TEXT, LUCES_COMENTARIOS TEXT, CONDICION_PLACAS_CORRECTO TEXT, CONDICION_PLACAS_INCORRECTO TEXT, CONDICION_PLACAS_COMENTARIOS TEXT, CONDICION_LLANTAS_DEL_DER TEXT, CONDICION_LLANTAS_DEL_IZQ TEXT, CONDICION_LLANTAS_TRASERA_DER TEXT, CONDICION_LLANTAS_TRASERA_IZQ TEXT, ACEITE TEXT, ANTICONGELANTE TEXT, FRENOS TEXT, AIRE TEXT, FUGAS TEXT, COMETARIOS_FUGAS TEXT, FOTO1 BLOB, FOTO12 BLOB, FOTO3 BLOB, FOTO4 BLOB)") + Starter.skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS CHECKLIST2(USUARIO TEXT, PLACA TEXT, FECHA_CAPTURA TEXT, TARJETA_CIRCULACION TEXT, POLIZA_SEGURO TEXT, LICENCIA_CONDUCIR TEXT, LIMPIA_EXTERNA TEXT, LIMPIA_INTERNA TEXT, TRIANGULO TEXT, GATO TEXT, LLANTA_REFACCION TEXT, CARROCERIA TEXT, CARROCERIA_COMENTARIOS TEXT, LUCES TEXT, LUCES_COMENTARIOS TEXT, CONDICION_PLACAS TEXT, CONDICION_PLACAS_COMENTARIOS TEXT, CONDICION_LLANTAS_DEL_DER TEXT, CONDICION_LLANTAS_DEL_IZQ TEXT, CONDICION_LLANTAS_TRASERA_DER TEXT, CONDICION_LLANTAS_TRASERA_IZQ TEXT, ACEITE TEXT, ANTICONGELANTE TEXT, FRENOS TEXT, AIRE TEXT, FUGAS TEXT, COMETARIOS_FUGAS TEXT, FOTO1 BLOB, FOTO12 BLOB, FOTO3 BLOB, FOTO4 BLOB, KILIMETRAJE TEXT, RUTA TEXT)") + Subs.agregaColumna("REPARTO", "REP_PRODREGISTRO", "TEXT") + Subs.agregaColumna("PAGARES", "PA_TICKET", "TEXT") + Subs.agregaColumna("ABONOS", "a_tipoabono", "TEXT") + Subs.agregaColumna("ABONOS","TIPO_PAGO","TEXT") + Subs.agregaColumna("ABONOS","a_ticket","TEXT") + Subs.agregaColumna("ABONOS","a_numpago","TEXT") + Subs.agregaColumna("ABONOS","CONSECUTIVO","TEXT") + Subs.agregaColumna("ABONOS","NUM_TICKET","TEXT") + Subs.agregaColumna("ABONOS","RUTA_REP","TEXT") + Subs.agregaColumna("NOVENTA", "NV_RUTA", "TEXT") + Subs.agregaColumna("kmt_info", "SECUENCIA", "INT") + Subs.agregaColumna("kmt_info", "HORAENT", "TEXT") + Subs.agregaColumna("REPARTO", "REP_PRODID", "TEXT") + Subs.agregaColumna("PEDIDO", "PE_CLIENTEOR", "TEXT") + Subs.agregaColumna("PEDIDO", "PE_CAJAS", "TEXT") + Subs.agregaColumna("PEDIDO", "PE_REGALO", "TEXT") + Subs.agregaColumna("PEDIDO", "PE_BCAJAS", "TEXT") + Subs.agregaColumna("PEDIDO", "CONSECUTIVO", "TEXT") + Subs.agregaColumna("PEDIDO", "FECHA_PREV", "TEXT") + Subs.agregaColumna("PEDIDO", "RUTA_REP", "TEXT") + Subs.agregaColumna("REPARTO", "REP_CLI_ORIG", "TEXT") + Subs.agregaColumna("REPARTO", "REP_PRECIO", "TEXT") + Subs.agregaColumna("REPARTO", "REP_RECHAZO", "INTEGER") + Subs.agregaColumna("RECHAZOS", "R_PRECIO", "TEXT") + Subs.agregaColumna("VENTAS", "V_PRECIO", "TEXT") + Subs.agregaColumna("HIST_VENTAS","PLACA","TEXT") + Subs.agregaColumna("HIST_VENTAS","HVD_BCREDITO","TEXT") + Subs.agregaColumna("HIST_VENTAS","HVD_RECHAZOCANT","TEXT") + Subs.agregaColumna("HIST_VENTAS","CONSECUTIVO","TEXT") + Subs.agregaColumna("HIST_VENTAS","HVD_RECHAZOCANT","TEXT") + Subs.agregaColumna("HIST_VENTAS","ESPROMO","TEXT") + Subs.agregaColumna("HIST_VENTAS","HVD_RECHAZOCANTC","TEXT") + Subs.agregaColumna("HIST_VENTAS","BCAJAS","TEXT") + Subs.agregaColumna("HIST_VENTAS","CANTC","TEXT") + Subs.agregaColumna("HIST_VENTAS","BCAJAS_OR","TEXT") + Subs.agregaColumna("HIST_VENTAS","CANTC_OR","TEXT") + Subs.agregaColumna("CAT_GUNAPROD","CONVERSION","TEXT") + Subs.agregaColumna("CAT_GUNAPROD","PRECIOCONVER","TEXT") + Starter.skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS RUTAA (RUTAA TEXT)") + Starter.skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS wayPoints (codigo TEXT, indice INT)") + Dim server As String = "http://keymon.net:1781" +' Dim server As String = "http://192.168.100.10:1781" +' Dim server As String = "http://keymon.lat:9000" +' server = "http://10.0.0.205:1782" +' Dim server As String = "http://192.168.100.10:1781" +' server = "http://11.0.0.44:1782" + reqManager.Initialize(Me, B4XPages.MainPage.server) + LogColor($"ReqServer = ${B4XPages.MainPage.server}"$, Colors.red) + Label1.Text = Application.VersionName +' Dim P As PhoneId + Log("provider") + Provider.Initialize + +' Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_READ_PHONE_STATE) +' Wait For B4XPage_PermissionResult (Permission As String, Result As Boolean) +' If Result Then +' IMEN.Text = "" 'P.GetDeviceId +' IMEI = "" 'P.GetDeviceId +' End If +End Sub + +Sub B4XPage_Appear + If Starter.muestraProgreso = 1 Then + muestraProgreso("Descargando actualización") + Starter.muestraProgreso = 0 + End If + Subs.centraPanel(p_principal, Root.Width) + Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_ACCESS_FINE_LOCATION) +' LogColor("Start Tracker1", Colors.red) + Wait For B4XPage_PermissionResult (Permission As String, Result As Boolean) + If Result Then + If Not(Tracker.Tracking) Then StartService(Tracker) +' LogColor("Start Tracker", Colors.red) + Else + ToastMessageShow("No permission", True) + Log("Sin permisos") + End If +' LogColor("Start Tracker3", Colors.red) + c=Starter.skmt.ExecQuery("select USUARIO from usuarioa") + If c.RowCount > 0 Then +' c.Position=0 +' c=skmt.ExecQuery("select USUARIO from usuarioa") + c.Position=0 + usuario = c.GetString("USUARIO") + End If + c.Close +' Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_WRITE_EXTERNAL_STORAGE) +' Wait For B4XPage_PermissionResult (Permission As String, Result As Boolean) +' If Result Then +' Log("Con permisos de escritura externa") +' End If + +' Dim r As Reflector +' Dim androidID As String +' androidID = r.RunStaticMethod("android.provider.Settings$Secure", "getString", Array As Object(r.GetContext.GetContentResolver, "android_id"),Array As String("android.content.ContentResolver", "java.lang.String")) +' Log("Android ID: " & androidID) + +End Sub + +'You can see the list of page related events in the B4XPagesManager object. The event name is B4XPage. + +Sub Entrar_Click + If pass.Text = "YA" Then + Starter.skmt.ExecNonQuery("delete from usuarioa") + Starter.skmt.ExecNonQuery("delete from VERSION") + Starter.skmt.ExecNonQuery2("INSERT INTO USUARIOA VALUES (?,?)", Array As Object("ROOT", "ROOT")) + Starter.skmt.ExecNonQuery("delete from cat_almacen") + Starter.skmt.ExecNonQuery2("INSERT INTO CAT_ALMACEN(ID_ALMACEN) VALUES (?)", Array As Object (user.Text)) + Starter.skmt.ExecNonQuery2("INSERT INTO VERSION(NOVERSION) VALUES (?)", Array As Object ("2.1")) +' principal.B_REGRESA_Click +' B4XPages.MainPage.principal.Subir.Visible = True + B4XPages.ShowPage("Principal") + Else + c=Starter.skmt.ExecQuery2("select count(*) as EXISTE1 from usuarioa where usuario = ?", Array As String(user.Text)) + c.Position=0 + existe = c.GetString("EXISTE1") + c.Close + 'existe = 1 + If existe = 0 Then + 'skmt.ExecNonQuery("delete from usuarioa") + Dim cmd As DBCommand + cmd.Initialize + cmd.Name = "select_usuario_IZCA_REPG" + cmd.Parameters = Array As Object(user.Text, pass.Text) + reqManager.ExecuteQuery(cmd , 0, "usuario") + + Dim cmd As DBCommand + cmd.Initialize + cmd.Name = "select_version_IZCA" + reqManager.ExecuteQuery(cmd , 0, "version") + Else +' principal.B_REGRESA_Click + B4XPages.ShowPage("Principal") + End If + End If +End Sub + +Sub JobDone(Job As HttpJob) + If Job.Success = False Then + ToastMessageShow("Error: " & Job.ErrorMessage, True) + Else + If Job.JobName = "DBRequest" Then + Dim result As DBResult = reqManager.HandleJob(Job) + If result.Tag = "version" Then 'query tag + For Each records() As Object In result.Rows + Starter.skmt.ExecNonQuery("delete from VERSION") + Dim CAT_VE_VERSION As String = records(result.Columns.Get("CAT_VE_VERSION")) + Starter.skmt.ExecNonQuery2("INSERT INTO VERSION(NOVERSION) VALUES (?)", Array As Object (CAT_VE_VERSION)) + Next + End If + End If + + If Job.JobName = "DBRequest" Then + Dim result As DBResult = reqManager.HandleJob(Job) + If result.Tag = "agencia" Then 'query tag + For Each records() As Object In result.Rows + + Dim ID_ALMACEN As String = records(result.Columns.Get("ID_ALMACEN")) + Next + End If + End If + + If Job.JobName = "DBRequest" Then + Dim result As DBResult = reqManager.HandleJob(Job) + If result.Tag = "coords_almacen" Then 'query tag + For Each records() As Object In result.Rows + Log("Coordenadas del almacen: " & records(result.Columns.Get("CAT_AL_LATITUD")) & "," & records(result.Columns.Get("CAT_AL_LONGITUD"))) + Private lat, lon As Double + lat = 0.0 + lon = 0.0 + If IsNumber(records(result.Columns.Get("CAT_AL_LATITUD"))) And IsNumber(records(result.Columns.Get("CAT_AL_LONGITUD"))) Then + lat = records(result.Columns.Get("CAT_AL_LATITUD")) + lon = records(result.Columns.Get("CAT_AL_LONGITUD")) + End If + Starter.cedisLocation.Latitude = lat + Starter.cedisLocation.Longitude = lon + Starter.skmt.ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?", Array As Object ("COORDS_ALMACEN")) + Starter.skmt.ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)", Array As Object ("COORDS_ALMACEN",lon&","&lat)) + '19.48118148992086,-99.15295579261536 + Next + End If + End If + + If Job.JobName = "DBRequest" Then + Dim result As DBResult = reqManager.HandleJob(Job) + If result.Tag = "usuario" Then 'query tag + For Each records() As Object In result.Rows + Dim name As String = records(result.Columns.Get("USUARIO")) + Dim ID_ALMACEN As String = records(result.Columns.Get("CAT_LO_AGENCIA")) + Dim IMEI_BASE As String = records(result.Columns.Get("CAT_LO_IDTELEFONO")) + Next + paso1 = 1 + End If + End If + + If Job.JobName = "DBRequest" Then + Dim result As DBResult = reqManager.HandleJob(Job) + If result.Tag = "contrasena" Then 'query tag + For Each records() As Object In result.Rows + Dim CAT_PA_PASS As String = records(result.Columns.Get("CAT_PA_PASS")) + If CAT_PA_PASS = et_codigo.Text Then + Log(CAT_PA_PASS) + p_validacion.Visible = False + et_codigo.Text = "" + + Subs.panelVisible(P_CIEGO,0,0) + + Else + MsgboxAsync("Contraseña incorrecta","Atención") + End If + Next + End If + End If + +' If Job.JobName = "DBRequest" Then +' Dim result As DBResult = reqManager.HandleJob(Job) +' If result.Tag.As(String).IndexOf("PICK_C_") > -1 Then 'query tag +'' Subs.logJobDoneResultados(result) +' Private id As String= result.Tag +' id = id.SubString(id.IndexOf("_")+3) +' For Each records() As Object In result.Rows +' Dim CUENTA As String = records(result.Columns.Get("CUENTA")) +' Log(CUENTA) +' Log(id) +' If CUENTA = 0 Then +' c = Starter.skmt.ExecQuery2("SELECT * FROM PICK_CIEGO WHERE PC_ID_PROD = ?", Array As String (id)) +' If c.RowCount > 0 Then +'' For i=0 To c.RowCount -1 +' c.Position=0 +' Dim cmd As DBCommand +' cmd.Initialize +' cmd.Name = "insert_PICKCIEGO_MAZAPA" +' cmd.Parameters = Array As Object(c.GetString("PC_ID_PROD"), c.GetString("PC_NOM_PROD"), c.GetString("PC_CANT"), c.GetString("PC_ALMACEN"), c.GetString("PC_RUTA"), c.GetString("PC_FECHA"),"REPARTO") +' reqManager.ExecuteCommand(cmd , "ins_PC") +'' Next +' End If +' c.Close +' Else if CUENTA > 0 Then +' c = Starter.skmt.ExecQuery2("SELECT * FROM PICK_CIEGO WHERE PC_ID_PROD= ?", Array As String (id)) +' If c.RowCount > 0 Then +'' For i=0 To c.RowCount -1 +' c.Position = 0 +' Dim cmd As DBCommand +' cmd.Initialize +' cmd.Name = "update_PICKCIEGO_MAZAPA" +' Log("FECHA" & c.GetString("PC_FECHA")) +' cmd.Parameters = Array As Object(c.GetString("PC_CANT"), c.GetString("PC_ID_PROD"), c.GetString("PC_ALMACEN"), c.GetString("PC_RUTA"), c.GetString("PC_FECHA"),"REPARTO") +' reqManager.ExecuteCommand(cmd, "update_PC") +'' Next +' End If +' c.Close +' End If +' +' Next +' End If +' End If + + If Job.JobName = "DBRequest" Then + Dim result As DBResult = reqManager.HandleJob(Job) + If result.Tag = "estatus" Then 'query tag + For Each records() As Object In result.Rows + Dim hvd_estatus As String = records(result.Columns.Get("HVD_ESTATUS")) + If hvd_estatus = "Liquidado" Then + ' ToastMessageShow("rojo val ok 1 cuantosp." , True) + MsgboxAsync("La venta ya fue liquidada","Atención") + Else + enviarmonto + End If + Next + End If + End If + + If Job.JobName = "DBRequest" Then + Dim result As DBResult = reqManager.HandleJob(Job) + If result.Tag = "estatus2" Then 'query tag + For Each records() As Object In result.Rows + Dim hvd_estatus As String = records(result.Columns.Get("HVD_ESTATUS")) + If hvd_estatus = "Liquidado" Then + ' ToastMessageShow("rojo val ok 1 cuantosp." , True) + MsgboxAsync("La venta ya fue liquidada","Atención") + Else + passaquci + End If + Next + End If + End If + + If Job.JobName = "DBRequest" Then + Dim result As DBResult = reqManager.HandleJob(Job) + If result.Tag = "SelectMontoLiq" Then + For Each records() As Object In result.Rows + Dim CUENTA As String = records(result.Columns.Get("CUENTA")) + + DateTime.DateFormat = "MM/dd/yyyy" + sDate=DateTime.Date(DateTime.Now) + sTime=DateTime.Time(DateTime.Now) + Private f As Cursor=Starter.skmt.ExecQuery("select RUTAA from RUTAA") + f.Position=0 + Private a As Cursor =Starter.skmt.ExecQuery("select ID_ALMACEN from CAT_ALMACEN") + a.Position = 0 + + Private c2 As Cursor + c2=Starter.skmt.ExecQuery("select USUARIO from usuarioa") + c2.Position=0 + If c2.RowCount > 0 Then c2.GetString("USUARIO") + + Log(CUENTA & "----------------------!!") + If CUENTA = "0" Then + +' c = Starter.skmt.ExecQuery2("SELECT * FROM ENV_MONTO_LIQ WHERE EML_USUARIO = ? AND EML_ALMACEN = ? AND EML_RUTA = ?", Array As String (c2.GetString("USUARIO"), a.GetString("ID_ALMACEN"), f.GetString("RUTAA"))) +' If c.RowCount > 0 Then +'' For i=0 To c.RowCount -1 +' c.Position=0 +' Dim cmd As DBCommand +' cmd.Initialize +' cmd.Name = "insert_Monto_Liq_MAZAPArep" +' cmd.Parameters = Array As Object(c.GetString("EML_MONTO"), c.GetString("EML_ALMACEN"), f.GetString("RUTAA"), c.GetString("EML_USUARIO"), "REPARTO", c.GetString("EML_FECHA_PED")) +' reqManager.ExecuteCommand(cmd , "ins_Mon_Liq") +' MsgboxAsync("Monto Enviado", "Atención") +'' Next +' End If +' c.Close + Else if CUENTA > "0" Then + +' c = Starter.skmt.ExecQuery2("SELECT * FROM ENV_MONTO_LIQ WHERE EML_USUARIO = ? AND EML_ALMACEN = ? AND EML_RUTA = ?", Array As String (c2.GetString("USUARIO"), a.GetString("ID_ALMACEN"), f.GetString("RUTAA"))) +' If c.RowCount > 0 Then +'' For i=0 To c.RowCount -1 +' c.Position = 0 +' cmd.Initialize +' cmd.Name = "update_MontoCuenta_MAZAPArep" +' cmd.Parameters = Array As Object(c.GetString("EML_MONTO"), c.GetString("EML_ALMACEN"), c.GetString("EML_RUTA"), c.GetString("EML_USUARIO"),c.GetString("EML_FECHA_PED"),"REPARTO") +' +' Log(c.GetString("EML_MONTO")& " " & c.GetString("EML_ALMACEN")& " " & c.GetString("EML_RUTA")& " " & c.GetString("EML_USUARIO")) +' reqManager.ExecuteCommand(cmd, "update_MC") +' MsgboxAsync("Se sobre escribio el Monto", "Atención") +'' Next +' End If +' c2.Close +' c.Close + End If + f.Close + a.Close + Next + End If + End If + + Job.Release + End If + + If paso1 = 1 Then + If name = "OKActivo" Then + Starter.skmt.ExecNonQuery("delete from usuarioa") + Starter.skmt.ExecNonQuery2("INSERT INTO USUARIOA VALUES (?,?)", Array As Object(user.Text, pass.Text)) + Starter.skmt.ExecNonQuery("delete from cat_almacen") + Starter.skmt.ExecNonQuery2("INSERT INTO CAT_ALMACEN(ID_ALMACEN) VALUES (?)", Array As Object (ID_ALMACEN)) + B4XPages.ShowPage("Principal") + Else If name = "OKExpirado"& IMEI Then + Msgbox("Usuario Expirado llamar al administrador","") 'ignore + Else If name = "OKCancelado"& IMEI Then + Msgbox("Usuario Cancelado llamar al administrador","") 'ignore + Else + Msgbox("Usuario o password No validos","") 'ignore + End If + paso1 = 0 + End If +End Sub + +Private Sub i_engrane_Click + p_appUpdate.Width = Root.Width + p_appUpdate.Height = Root.Height + Subs.centraPanel(p_serverList, Root.Width) + Subs.centraBoton(b_server, Root.Width) + Subs.centraBoton(b_apk, Root.Width) + Subs.centraBoton(b_envioBD, Root.Width) + Subs.centraBoton(b_regesar, Root.Width) + Subs.centraBoton(b_server, p_serverList.Width) + lv_server.Clear + lv_server.AddSingleLine("http://keymon.net:1781") + If user.Text = "KMTS1" Then lv_server.AddSingleLine("http://10.0.0.205:1782") +' l_server.Text = Starter.server + et_server.Text = server + Subs.panelVisible(p_appUpdate, 0, 0) +End Sub + +Private Sub B4XPage_CloseRequest As ResumableSub +' Log("closreq") + If p_appUpdate.Visible Then + p_appUpdate.Visible = False + Else + Sleep(0) + ExitApplication + End If + Return False +End Sub + +Private Sub b_regesar_Click + p_principal.Visible = True + p_appUpdate.Visible = False +End Sub + +'Enviamos la base de datos por correo o Whatsapp +Private Sub b_envioBD_Click +' copiaDB +' Sleep(1000) + Dim FileName As String = "kmt.db" + 'copy the shared file to the shared folder + Log("xxxxxx:"&Provider.SharedFolder) + Sleep(1000) + File.Copy(File.DirInternal, FileName, Provider.SharedFolder, FileName) + Dim email As Email + email.To.Add("soporte@keymonsoft.com") + email.Subject = "Base de datos para revisión" + email.Attachments.Add(Provider.GetFileUri(FileName)) +' email.Attachments.Add(Provider.GetFileUri(FileName)) 'second attachment + Dim in As Intent = email.GetIntent + in.Flags = 1 'FLAG_GRANT_READ_URI_PERMISSION + StartActivity(in) +End Sub + +Private Sub b_apk_Click + StartService(appUpdater) +End Sub + +Private Sub b_server_Click + Log("Guardar servidor") + Starter.skmt.ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?", Array As Object ("SERVER")) + Starter.skmt.ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)", Array As Object ("SERVER",et_server.text)) + B4XPages.MainPage.server = et_server.text + Starter.server = B4XPages.MainPage.server + If logger Then Log("Inicializamos reqManager con " & B4XPages.MainPage.server) + reqManager.Initialize(Me, B4XPages.MainPage.server) + LogColor($"ReqServer = ${B4XPages.MainPage.server}"$, Colors.red) + reinicializaReqManager + p_appUpdate.Visible = False +' Entrar.Visible = True +End Sub + +Private Sub lv_server_ItemClick (Position As Int, Value As Object) + server = Value +' l_server.Text = Value + et_server.Text = Value + reqManager.Initialize(Me, Value) + LogColor($"ReqServer = ${Value}"$, Colors.red) + ToastMessageShow("Servidor modificado", False) +End Sub + +Sub reinicializaReqManager + reqManager.Initialize(Me, B4XPages.MainPage.server) + If logger Then Log(B4XPages.MainPage.server) + LogColor($"ReqServer = ${B4XPages.MainPage.server}"$, Colors.red) +End Sub + +'appUpdater - Mostramos el anuncio de que se esta descargando el nuevo apk +Sub muestraProgreso(mensaje As String) + ProgressDialogShow(mensaje) +End Sub + +'appUpdater - Ocultamos el anuncio de que se esta descargando el nuevo apk +Sub ocultaProgreso + ProgressDialogHide +End Sub + +Private Sub b_CargarMonto_Click + + c = Starter.skmt.ExecQuery("SELECT * FROM kmt_info") + c.Position = 0 + If c.RowCount < 0 Or c.RowCount = 0 Then + MsgboxAsync("No hay ruta cargada, favor de cargar día","Atención") + Else + Subs.panelVisible(p_add_monto,0,0) + End If + c.Close + +End Sub + +Private Sub p_add_monto_Click + +End Sub + +'Private Sub B_Aceptar_Monto_Click +' Private f As Cursor=Starter.skmt.ExecQuery("select RUTAA from RUTAA") +' f.Position=0 +' Private a As Cursor =Starter.skmt.ExecQuery("select ID_ALMACEN from CAT_ALMACEN") +' a.Position = 0 +' Dim cmd As DBCommand +' cmd.Initialize +' cmd.Name = "select_estatus_MAZAPA" +' cmd.Parameters = Array As Object(a.GetString("ID_ALMACEN"),f.GetString("RUTAA")) +' reqManager.ExecuteQuery(cmd , 0, "estatus") +' f.Close +' a.Close +'End Sub + +Sub enviarmonto + + DateTime.DateFormat = "MM/dd/yyyy" + sDate=DateTime.Date(DateTime.Now) + sTime=DateTime.Time(DateTime.Now) + + Private f As Cursor=Starter.skmt.ExecQuery("select RUTAA from RUTAA") + f.Position=0 + + Private a As Cursor=Starter.skmt.ExecQuery("select ID_ALMACEN from CAT_ALMACEN") + If a.RowCount>0 Then + a.Position=0 + End If + + Private a2 As Cursor = Starter.skmt.ExecQuery("SELECT HVD_FECHA FROM HIST_VENTAS") + If a2.RowCount>0 Then + a2.Position=0 + Dim fecha() As String = Regex.Split(" ", a2.GetString("HVD_FECHA")) + Dim fecha2() As String = Regex.Split("-", fecha(0)) + Dim fecha3 As String = fecha2(2)&"/"&fecha2(1)&"/"&fecha2(0) + Log(fecha3) + Dim hora() As String = Regex.Split("\.", fecha(1)) + Log(hora(0)) + End If + + + + Private cI As Cursor + Private u As String = "SinUsuario" + cI=Starter.skmt.ExecQuery("select USUARIO from usuarioa") + cI.Position=0 + If cI.RowCount > 0 Then u = cI.GetString("USUARIO") + Private g As Cursor = Starter.skmt.ExecQuery("select * from ENV_MONTO_LIQ") +' If g.RowCount = 0 Then +' Starter.skmt.ExecNonQuery2("INSERT INTO ENV_MONTO_LIQ VALUES (?,?,?,?,?)", Array As Object(ET_Add_Monto.Text, a.GetString("ID_ALMACEN"), f.GetString("RUTAA"), u, fecha3 & " " & hora(0))) +' f.Close +' a.Close +' +' c = Starter.skmt.ExecQuery("SELECT * FROM ENV_MONTO_LIQ") +' If c.RowCount > 0 Then +' c.Position = 0 +' Dim cmd As DBCommand +' cmd.Initialize +' cmd.Name = "select_MontoCuenta_MAZAPArep" +' cmd.Parameters = Array As Object(c.GetString("EML_USUARIO"), c.GetString("EML_ALMACEN"), c.GetString("EML_RUTA"),c.GetString("EML_FECHA_PED")) +' reqManager.ExecuteQuery(cmd , 0, "SelectMontoLiq") +' End If +' c.Close +' Else +' Starter.skmt.ExecNonQuery2("UPDATE ENV_MONTO_LIQ SET EML_MONTO = ? WHERE EML_ALMACEN = ? AND EML_RUTA = ? AND EML_USUARIO = ?", Array As String (ET_Add_Monto.Text ,a.GetString("ID_ALMACEN"), f.GetString("RUTAA"), cI.GetString("USUARIO"))) +' f.Close +' a.Close +' +' c = Starter.skmt.ExecQuery("SELECT * FROM ENV_MONTO_LIQ") +' If c.RowCount > 0 Then +' c.Position = 0 +' Dim cmd As DBCommand +' cmd.Initialize +' cmd.Name = "select_MontoCuenta_MAZAPArep" +' cmd.Parameters = Array As Object(c.GetString("EML_USUARIO"), c.GetString("EML_ALMACEN"), c.GetString("EML_RUTA"),c.GetString("EML_FECHA_PED")) +' reqManager.ExecuteQuery(cmd , 0, "SelectMontoLiq") +' End If +' c.Close +' End If + + p_add_monto.Visible = False + +End Sub + +Private Sub B_Can_Monto_Click + p_add_monto.Visible = False +End Sub + +Private Sub b_arqueocieego_Click + c = Starter.skmt.ExecQuery("SELECT * FROM CAT_GUNAPROD3") + If c.RowCount > 0 Then + Subs.panelVisible(p_validacion,0,0) + Else + MsgboxAsync("No hay ruta cargada, favor de cargar día","Atención") + End If +End Sub + +Private Sub et_buspc_TextChanged (Old As String, New As String) + If New = "" Then + CLV_PICK_CIEGO.Clear + Else If New.Length >= 3 Then + CLV_PICK_CIEGO.Clear + + q_buscar = "%" & et_buspc.Text & "%" + Log(q_buscar) + c=Starter.skmt.ExecQuery2($"select CAT_GP_NOMBRE, CAT_GP_ID , ifnull(PC_CANT,0) AS PC_CANT FROM CAT_GUNAPROD3 INNER JOIN PICK_CIEGO ON PC_ID_PROD = CAT_GP_ID AND PC_NOM_PROD = CAT_GP_NOMBRE WHERE (CAT_GP_NOMBRE LIKE ? OR CAT_GP_ID LIKE ? ) and CAT_GP_CLASIF <> 'PROMOS'"$, Array As String(q_buscar,q_buscar)) + If c.RowCount > 0 Then + + + For i = 0 To c.RowCount - 1 + c.Position = i + CLV_PICK_CIEGO.Add(CreateListItem(c.GetString("CAT_GP_ID"), c.GetString("CAT_GP_NOMBRE"), c.GetString("PC_CANT")),i) +' Log(c.GetString("CAT_GP_ID") & ", " & c.GetString("CAT_GP_NOMBRE") & " ," & c.GetString("PC_CANT")) + Next + c.Close + + d=Starter.skmt.ExecQuery2($"select CAT_GP_NOMBRE, CAT_GP_ID FROM CAT_GUNAPROD3 WHERE (CAT_GP_NOMBRE LIKE ? OR CAT_GP_ID LIKE ? ) and CAT_GP_CLASIF <> 'PROMOS'AND CAT_GP_ID NOT IN (SELECT PC_ID_PROD FROM PICK_CIEGO)"$, Array As String(q_buscar,q_buscar)) + + For i = 0 To d.RowCount - 1 + d.Position = i + CLV_PICK_CIEGO.Add(CreateListItem2(d.GetString("CAT_GP_ID"), d.GetString("CAT_GP_NOMBRE")),i) +' Log(d.GetString("CAT_GP_ID") & ", " & d.GetString("CAT_GP_NOMBRE")) + Next + d.Close + + Else If c.RowCount = 0 Then + d=Starter.skmt.ExecQuery2($"select CAT_GP_NOMBRE, CAT_GP_ID FROM CAT_GUNAPROD3 WHERE (CAT_GP_NOMBRE LIKE ? OR CAT_GP_ID LIKE ? ) and CAT_GP_CLASIF <> 'PROMOS'"$, Array As String(q_buscar,q_buscar)) + + For i = 0 To d.RowCount - 1 + d.Position = i + CLV_PICK_CIEGO.Add(CreateListItem2(d.GetString("CAT_GP_ID"), d.GetString("CAT_GP_NOMBRE")),i) +' Log(d.GetString("CAT_GP_ID") & ", " & d.GetString("CAT_GP_NOMBRE")) + Next + d.Close + End If + End If +End Sub + +Private Sub B_PC_ENV_Click + Dim sDate, sTime As String + DateTime.DateFormat = "dd/MM/yyyy" + DateTime.TimeFormat = "HH:mm:ss" + sDate = DateTime.Date(DateTime.Now) + sTime = DateTime.Time(DateTime.Now) + + + For i = 0 To CLV_PICK_CIEGO.Size - 1 + ' Retrieve the panel and child views for the current item + Dim itemPanel As B4XView = CLV_PICK_CIEGO.GetPanel(i) + Dim innerPanel As B4XView = itemPanel.GetView(0) + Dim editText As B4XView = innerPanel.GetView(1) + Dim inputText As String = editText.As(EditText).Text + + ' Check if the input text matches the regex pattern for zeros or if it's empty + If Regex.IsMatch("^[0]+$", inputText) Or inputText = "" Then + inputText = "0" + End If + + ' Retrieve and process the ID label + Dim idLabel As B4XView = innerPanel.GetView(0) + Dim idText As String = idLabel.As(Label).Text + Dim idParts() As String = Regex.Split(CRLF, idText) +' Log(idParts(1)) + f=Starter.skmt.ExecQuery("select RUTAA from RUTAA") + f.Position=0 + Log(f.GetString("RUTAA")) + a=Starter.skmt.ExecQuery("select ID_ALMACEN from CAT_ALMACEN") + If a.RowCount>0 Then + a.Position=0 + End If + Dim k As Cursor = Starter.skmt.ExecQuery("SELECT HVD_FECHA FROM HIST_VENTAS") + k.Position = 0 + Dim fechatabulador() As String = Regex.Split(" ", k.GetString("HVD_FECHA")) + Dim fechatabulador2() As String = Regex.Split("-", fechatabulador(0)) + Dim fechatabulador3 As String = fechatabulador2(2)&"/"&fechatabulador2(1)&"/"&fechatabulador2(0) + k.Close + If inputText <> "" Then + c = Starter.skmt.ExecQuery2("SELECT * FROM PICK_CIEGO where PC_ID_PROD = ?", Array As String (idParts(0))) + If c.RowCount = 0 Then + ' Insert data into the database + Log(f.GetString("RUTAA")) + Starter.skmt.ExecNonQuery2("INSERT INTO PICK_CIEGO(PC_ID_PROD, PC_NOM_PROD, PC_CANT, PC_ALMACEN, PC_RUTA, PC_FECHA) VALUES(?,?,?,?,?,?)", Array As String(idParts(0), idParts(1), inputText, a.GetString("ID_ALMACEN"), f.GetString("RUTAA"), fechatabulador3&" "&sTime)) + + Else + Log(f.GetString("RUTAA")) + Starter.skmt.ExecNonQuery2("Update PICK_CIEGO set PC_CANT = ? WHERE PC_ID_PROD = ?" , Array As String(inputText ,idParts(0))) + End If + + End If + f.Close + a.Close + Log("Processed item " & i) + Next + et_buspc.Text = "" + CLV_PICK_CIEGO.Clear +End Sub + +Private Sub b_terpc_Click + Msgbox2Async("Una vez enviada la información no podras hacer modificaciones","Atención","SI","", "",LoadBitmap(File.DirAssets,"alert2.png"), False) + Wait For Msgbox_Result (resultado As Int) + If resultado = DialogResponse.POSITIVE Then + Msgbox2Async("Estas seguro de enviar la información?","Atención","SI","", "NO",LoadBitmap(File.DirAssets,"alert2.png"), False) + Wait For Msgbox_Result (resultado As Int) + If resultado = DialogResponse.POSITIVE Then + + Dim sDate, sTime As String + DateTime.DateFormat = "dd/MM/yyyy" + DateTime.TimeFormat = "HH:mm:ss" + sDate = DateTime.Date(DateTime.Now) + sTime = DateTime.Time(DateTime.Now) + + For i = 0 To CLV_PICK_CIEGO.Size - 1 + ' Retrieve the panel and child views for the current item + Dim itemPanel As B4XView = CLV_PICK_CIEGO.GetPanel(i) + Dim innerPanel As B4XView = itemPanel.GetView(0) + Dim editText As B4XView = innerPanel.GetView(1) + Dim inputText As String = editText.As(EditText).Text + + ' Check if the input text matches the regex pattern for zeros or if it's empty + If Regex.IsMatch("^[0]+$", inputText) Or inputText = "" Then + inputText = "0" + End If + + ' Retrieve and process the ID label + Dim idLabel As B4XView = innerPanel.GetView(0) + Dim idText As String = idLabel.As(Label).Text + Dim idParts() As String = Regex.Split(CRLF, idText) +' Log(idParts(1)) + f=Starter.skmt.ExecQuery("select RUTAA from RUTAA") + f.Position=0 + Log(f.GetString("RUTAA")) + + a=Starter.skmt.ExecQuery("select ID_ALMACEN from CAT_ALMACEN") + If a.RowCount>0 Then + a.Position=0 + End If + Log(a.GetString("ID_ALMACEN")) + + Dim k As Cursor = Starter.skmt.ExecQuery("SELECT HVD_FECHA FROM HIST_VENTAS") + k.Position = 0 + Dim fechatabulador() As String = Regex.Split(" ", k.GetString("HVD_FECHA")) + Dim fechatabulador2() As String = Regex.Split("-", fechatabulador(0)) + Dim fechatabulador3 As String = fechatabulador2(2)&"/"&fechatabulador2(1)&"/"&fechatabulador2(0) + k.Close + If inputText <> "" Then + c = Starter.skmt.ExecQuery2("SELECT * FROM PICK_CIEGO where PC_ID_PROD = ?", Array As String (idParts(0))) + If c.RowCount = 0 Then + ' Insert data into the database + Starter.skmt.ExecNonQuery2("INSERT INTO PICK_CIEGO(PC_ID_PROD, PC_NOM_PROD, PC_CANT, PC_ALMACEN, PC_RUTA, PC_FECHA) VALUES(?,?,?,?,?,?)", Array As String(idParts(0), idParts(1), inputText, a.GetString("ID_ALMACEN"), f.GetString("RUTAA"), fechatabulador3&" "&sTime)) + Else + Starter.skmt.ExecNonQuery2("Update PICK_CIEGO set PC_CANT = ? WHERE PC_ID_PROD = ?" , Array As String(inputText ,idParts(0))) + End If + End If + f.Close + a.Close + Log("Processed item " & i) + Next + Log("Finished processing all items") + P_CIEGO.Visible = False + et_buspc.Text = "" + CLV_PICK_CIEGO.Clear + c = Starter.skmt.ExecQuery("SELECT PC_ID_PROD, PC_ALMACEN, PC_RUTA, PC_FECHA FROM PICK_CIEGO") +' If c.RowCount > 0 Then +' For i = 0 To c.RowCount - 1 +' c.Position = i +' Dim cmd As DBCommand +' cmd.Initialize +' cmd.Name = "select_HIST_PICKCIEGO_MAZAPA" ' +' cmd.Parameters = Array As Object(c.GetString("PC_ID_PROD"), c.GetString("PC_ALMACEN"), c.GetString("PC_RUTA"), c.GetString("PC_FECHA"),"REPARTO") +' reqManager.ExecuteQuery(cmd , 0, $"PICK_C_${c.GetString("PC_ID_PROD")}"$) +' Next +' End If + c.close + Else + + End If + End If +End Sub + +Private Sub P_CIEGO_Click + +End Sub + +Private Sub b_aceptar_Click + Private f As Cursor=Starter.skmt.ExecQuery("select RUTAA from RUTAA") + f.Position=0 + Private a As Cursor =Starter.skmt.ExecQuery("select ID_ALMACEN from CAT_ALMACEN") + a.Position = 0 +' Dim cmd As DBCommand +' cmd.Initialize +' cmd.Name = "select_estatus_MAZAPA" +' cmd.Parameters = Array As Object(a.GetString("ID_ALMACEN"),f.GetString("RUTAA")) +' reqManager.ExecuteQuery(cmd , 0, "estatus2") + f.Close + a.Close +' p_validacion.Visible = False +' et_codigo.Text = "" +' +' Subs.panelVisible(P_CIEGO,0,0) +End Sub + +Sub passaquci + f=Starter.skmt.ExecQuery("select CAT_CL_RUTA from kmt_info") + f.Position=0 + + a=Starter.skmt.ExecQuery("select ID_ALMACEN from CAT_ALMACEN") + If a.RowCount>0 Then + a.Position=0 + End If + Log(a.GetString("ID_ALMACEN")) + Log(f.GetString("CAT_CL_RUTA")) + +' If et_codigo.Text = "KMTS1" Then +' p_validacion.Visible = False +' et_codigo.Text = "" +' Subs.panelVisible(P_CIEGO,0,0) +' Else +' Dim cmd As DBCommand +' cmd.Initialize +' cmd.Name = "select_CAT_PASS_ARQUEO_MAZAPA" +' cmd.Parameters = Array As Object(f.GetString("CAT_CL_RUTA"),a.GetString("ID_ALMACEN"),"REPARTO") +' reqManager.ExecuteQuery(cmd , 0, "contrasena") +' f.Close +' a.Close +' End If +End Sub + +Private Sub b_cancelarcodigo_Click + p_validacion.Visible = False +End Sub + +Private Sub p_validacion_Click + +End Sub + +Sub CreateListItem(Id_prod As String, Prod As String,cant As String) As Panel + Dim pa As B4XView = xui.CreatePanel("") + pa.SetLayoutAnimated(0, 0, 0, 1, 10) + pa.LoadLayout("PANEL_PICK_CIEGO") + pa.Height = 55dip + pa.Width = 298dip + 'pa.Width = clv_orden.GetBase.Width + L_PICK_CIEGO.Text = Id_prod & CRLF & Prod + L_PICK_CIEGO.TextSize = 12 + L_PICK_CIEGO.Gravity = Bit.Or(Gravity.CENTER_VERTICAL, Gravity.CENTER_HORIZONTAL) + ET_PICK_CIEGO.Text = cant + 'cxc.Id_prod = mostrar3 + 'Log(pa.Width) + Return pa +End Sub + +Sub CreateListItem2(Id_prod As String, Prod As String) As Panel + Dim pa As B4XView = xui.CreatePanel("") + pa.SetLayoutAnimated(0, 0, 0, 1, 10) + pa.LoadLayout("PANEL_PICK_CIEGO") + pa.Height = 55dip + pa.Width = 298dip + 'pa.Width = clv_orden.GetBase.Width + L_PICK_CIEGO.Text = Id_prod & CRLF & Prod + L_PICK_CIEGO.TextSize = 12 + L_PICK_CIEGO.Gravity = Bit.Or(Gravity.CENTER_VERTICAL, Gravity.CENTER_HORIZONTAL) + 'cxc.Id_prod = mostrar3 + 'Log(pa.Width) + Return pa +End Sub + +Private Sub ImageView1_LongClick + +End Sub + diff --git a/B4A/B4XUpdateAvailable.bas b/B4A/B4XUpdateAvailable.bas new file mode 100644 index 0000000..36fa8d1 --- /dev/null +++ b/B4A/B4XUpdateAvailable.bas @@ -0,0 +1,24 @@ +B4A=true +Group=Default Group +ModulesStructureVersion=1 +Type=Class +Version=11.5 +@EndOfDesignText@ +Sub Class_Globals + Private Root As B4XView 'ignore + Private xui As XUI 'ignore +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 + +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/BatteryUtilities.bas b/B4A/BatteryUtilities.bas new file mode 100644 index 0000000..b80fd5a --- /dev/null +++ b/B4A/BatteryUtilities.bas @@ -0,0 +1,125 @@ +B4A=true +Group=Default Group +ModulesStructureVersion=1 +Type=Class +Version=9.95 +@EndOfDesignText@ +'Class module +Sub Class_Globals + Private nativeMe As JavaObject +End Sub + +'Initializes the object. +Public Sub Initialize + nativeMe = Me +End Sub +'Return information about the battery status. It returns the following 11 values in an integer Array: +'0 - EXTRA_LEVEL = current battery level, from 0 To EXTRA_SCALE. +'1 - EXTRA_SCALE = the maximum battery level possible. +'2 - EXTRA_HEALTH = the current health constant. +'3 - EXTRA_ICON_SMALL = the resource ID of a small status bar icon indicating the current battery state. +'4 - EXTRA_PLUGGED = whether the device is plugged into a Power source; 0 means it is on battery, other constants are different types of Power sources. +'5 - EXTRA_STATUS = the current status constant. +'6 - EXTRA_TEMPERATURE = the current battery temperature. +'7 - EXTRA_VOLTAGE = the current battery voltage level. +'8 - A value indicating if the battery is being charged or fully charged (If neither it returns 0 Else it returns 1) +'9 - A value indicating if it is charging via USB (0 = Not USB, 2 = USB) +'10 - A value indicating if it is charging via AC (0 = Not AC, 1 = AC) +Public Sub getBatteryInformation () As Int() + + Dim batteryInfo(11) As Int + batteryInfo = nativeMe.RunMethod("getBatteryInformation",Null) + Return batteryInfo +End Sub + +Public Sub getBatteryTechnolgy() As String + + Dim batterytech As String + batterytech = nativeMe.RunMethod("getBatteryTechnology",Null) + Return batterytech + +End Sub + + + +#If Java + +import android.os.BatteryManager; +import android.os.Bundle; +import android.app.Activity; +import android.content.BroadcastReceiver; +import android.content.Context; +import android.content.Intent; +import android.content.IntentFilter; + + public int[] getBatteryInformation() { + + int[] mybat = new int[11]; + + Intent batteryIntent = ba.context.getApplicationContext().registerReceiver(null, new IntentFilter(Intent.ACTION_BATTERY_CHANGED)); + + int level = batteryIntent.getIntExtra(BatteryManager.EXTRA_LEVEL, -1); + mybat[0] = level; + int scale = batteryIntent.getIntExtra(BatteryManager.EXTRA_SCALE, -1); + mybat[1] = scale; + int health = batteryIntent.getIntExtra(BatteryManager.EXTRA_HEALTH,-1); + mybat[2] = health; + int icon_small = batteryIntent.getIntExtra(BatteryManager.EXTRA_ICON_SMALL,-1); + mybat[3] = icon_small; + int plugged = batteryIntent.getIntExtra(BatteryManager.EXTRA_PLUGGED,-1); + mybat[4] = plugged; +// boolean present = batteryIntent.getExtras().getBoolean(BatteryManager.EXTRA_PRESENT); + int status = batteryIntent.getIntExtra(BatteryManager.EXTRA_STATUS,-1); + mybat[5] = status; +// String technology = batteryIntent.getExtras().getString(BatteryManager.EXTRA_TECHNOLOGY); +// BA.Log("Technology = " + technology); + int temperature = batteryIntent.getIntExtra(BatteryManager.EXTRA_TEMPERATURE,-1); + mybat[6] = temperature; + int voltage = batteryIntent.getIntExtra(BatteryManager.EXTRA_VOLTAGE,-1); + mybat[7] = voltage; +// int ac = batteryIntent.getIntExtra("plugged",BatteryManager.BATTERY_PLUGGED_AC); +// mybat[8] = ac; +// int usb = batteryIntent.getIntExtra("plugged",BatteryManager.BATTERY_PLUGGED_USB); +// mybat[9] = usb; + + boolean isCharging = status == BatteryManager.BATTERY_STATUS_CHARGING || + status == BatteryManager.BATTERY_STATUS_FULL; + mybat[8] = 0; + if (isCharging == true) { + mybat[8] = 1; + } + + // How are we charging? + mybat[9] = 0; + mybat[10] = 0; + int chargePlug = batteryIntent.getIntExtra(BatteryManager.EXTRA_PLUGGED, -1); + boolean usbCharge = chargePlug == BatteryManager.BATTERY_PLUGGED_USB; + if (usbCharge == true) { + mybat[9] = 2; + } + + boolean acCharge = chargePlug == BatteryManager.BATTERY_PLUGGED_AC; + if (acCharge == true) { + mybat[10] = 1; + } + + return mybat; + } + + + public String getBatteryTechnology() { + + Intent batteryIntent = ba.context.getApplicationContext().registerReceiver(null, new IntentFilter(Intent.ACTION_BATTERY_CHANGED)); + + String technology = batteryIntent.getExtras().getString(BatteryManager.EXTRA_TECHNOLOGY); + + return technology; + } + + + + + + + +#End If \ No newline at end of file diff --git a/B4A/C_Buscar.bas b/B4A/C_Buscar.bas new file mode 100644 index 0000000..7c45872 --- /dev/null +++ b/B4A/C_Buscar.bas @@ -0,0 +1,109 @@ +B4A=true +Group=Default Group +ModulesStructureVersion=1 +Type=Class +Version=12.2 +@EndOfDesignText@ +Sub Class_Globals + Private Root As B4XView 'ignore + Private xui As XUI 'ignore + Dim c As Cursor + Dim ListView1 As ListView + Dim b_noventa As Button + Private p_principal As Panel +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("buscar") + c=Starter.skmt.ExecQuery("select REP_CLIENTE, REP_PRONOMBRE, REP_CANT, REP_COSTO_TOT FROM REPARTO") + ListView1.Clear + If c.RowCount>0 Then + For i=0 To c.RowCount -1 + c.Position=i + Dim label1 As Label + label1 = ListView1.TwoLinesLayout.Label + label1.TextSize = 10 + label1.TextColor = Colors.Black + Dim label2 As Label + label2 = ListView1.TwoLinesLayout.SecondLabel + label2.TextSize = 10 + label2.TextColor = Colors.Blue + ListView1.AddTwoLines(c.GetString("REP_CLIENTE"),c.GetString("REP_PRONOMBRE") &" Cantidad #"& c.GetString("REP_CANT")& " SubTotal $"& c.GetString("REP_COSTO_TOT")) + Next + End If + c.Close +End Sub + +'You can see the list of page related events in the B4XPagesManager object. The event name is B4XPage. + +Sub B4XPage_Appear + p_principal.Width = Root.Width + p_principal.Height = Root.Height + Subs.centraPanel(p_principal, Root.Width) + + c=Starter.skmt.ExecQuery("select REP_CLIENTE, REP_PRONOMBRE, REP_CANT, REP_COSTO_TOT FROM REPARTO") + ListView1.Clear + + If c.RowCount>0 Then + For i=0 To c.RowCount -1 + c.Position=i + Dim label1 As Label + label1 = ListView1.TwoLinesLayout.Label + label1.TextSize = 10 + label1.TextColor = Colors.Black + Dim label2 As Label + label2 = ListView1.TwoLinesLayout.SecondLabel + label2.TextSize = 10 + label2.TextColor = Colors.Blue + ListView1.AddTwoLines(c.GetString("REP_CLIENTE"),c.GetString("REP_PRONOMBRE") &" Cantidad #"& c.GetString("REP_CANT")& " SubTotal $"& c.GetString("REP_COSTO_TOT")) + Next + End If + c.Close +End Sub + +Sub Regresar_Click + B4XPages.ShowPage("Cliente") +End Sub + +Private Sub B4XPage_CloseRequest As ResumableSub + ' BACK key pressed + ' I want to capture the key here so I return True + B4XPages.ShowPage("Principal") + 'Return True + ' Returning False signals the system to handle the key + Return False +End Sub + +Sub ListView1_ItemLongClick (Position As Int, Value As Object) + Starter.skmt.ExecNonQuery("delete from CUENTAA") + Starter.skmt.ExecNonQuery2("INSERT INTO CUENTAA VALUES (?)", Array As Object(Value)) + B4XPages.ShowPage("Cliente") +End Sub + +Sub b_noventa_Click + c=Starter.skmt.ExecQuery("select NV_CLIENTE,NV_MOTIVO,NV_COMM FROM NOVENTA ORDER BY NV_CLIENTE asc") + ListView1.Clear + + If c.RowCount>0 Then + For i=0 To c.RowCount -1 + c.Position=i + Dim label1 As Label + label1 = ListView1.TwoLinesLayout.Label + label1.TextSize = 10 + label1.TextColor = Colors.Black + Dim label2 As Label + label2 = ListView1.TwoLinesLayout.SecondLabel + label2.TextSize = 10 + label2.TextColor = Colors.Blue + ListView1.AddTwoLines(c.GetString("NV_CLIENTE"),"Motivo #"& c.GetString("NV_MOTIVO")& " Comentario $"& c.GetString("NV_COMM")) + Next + End If +End Sub \ No newline at end of file diff --git a/B4A/C_Cheklist.bas b/B4A/C_Cheklist.bas new file mode 100644 index 0000000..5445bd3 --- /dev/null +++ b/B4A/C_Cheklist.bas @@ -0,0 +1,800 @@ +B4A=true +Group=Default Group +ModulesStructureVersion=1 +Type=Class +Version=12.5 +@EndOfDesignText@ +Sub Class_Globals + Private Root As B4XView 'ignore + Private xui As XUI 'ignore + Private p_check As Panel + Private sv_datos As ScrollView + + Private camEx As CameraExClass + Dim frontCamera As Boolean = False + Private p_cam As Panel + Dim nombrefoto As String = "0" + Dim nombrefoto1 As String = "0" + Dim nombrefoto2 As String = "0" + Dim nombrefoto3 As String = "0" + Private p_camara As Panel + Private teclado As IME + Dim fototomada As String + Private ImageView1 As ImageView + Private ImageView3 As ImageView + Private ImageView2 As ImageView + Private ImageView4 As ImageView + Private b_foto As Button + Dim device As Phone + Dim MES1 As ManageExternalStorage + Dim x As Int = 0 + Private rb_docsi1 As RadioButton + Private rb_docno1 As RadioButton + Private rb_docsi2 As RadioButton + Private rb_docno2 As RadioButton + Private rb_docsi3 As RadioButton + Private rb_docno3 As RadioButton + Private rb_docsi4 As RadioButton + Private rb_docno4 As RadioButton + Private rb_docsi5 As RadioButton + Private rb_docno5 As RadioButton + Private rb_docsi6 As RadioButton + Private rb_docno6 As RadioButton + Private rb_docsi7 As RadioButton + Private rb_docno7 As RadioButton + Private rb_docsi8 As RadioButton + Private rb_docno8 As RadioButton + Private rb_docsi9 As RadioButton + Private rb_docno9 As RadioButton + Private rb_docsi10 As RadioButton + Private rb_docno10 As RadioButton + Private rb_docsi11 As RadioButton + Private rb_docno11 As RadioButton + Private rb_docsi12 As RadioButton + Private rb_docno12 As RadioButton + Private rb_docsi13 As RadioButton + Private rb_docno13 As RadioButton + Private rb_docsi14 As RadioButton + Private rb_docno14 As RadioButton + Private rb_docsi15 As RadioButton + Private rb_docno15 As RadioButton + Private rb_docsi16 As RadioButton + Private rb_docno16 As RadioButton + Private rb_docsi17 As RadioButton + Private rb_docno17 As RadioButton + Private rb_docsi18 As RadioButton + Private rb_docno18 As RadioButton + Private rb_docsi19 As RadioButton + Private rb_docno19 As RadioButton + Private et_carroceria As EditText + Private et_luces As EditText + Private et_placas As EditText + Private et_liquidos As EditText + + Dim p1 As String + Dim p2 As String + Dim p3 As String + Dim p4 As String + Dim p5 As String + Dim p6 As String + Dim p7 As String + Dim p8 As String + Dim p9 As String + Dim p10 As String + Dim p11 As String + Dim p12 As String + Dim p13 As String + Dim p14 As String + Dim p15 As String + Dim p16 As String + Dim p17 As String + Dim p18 As String + Dim p19 As String + Private cb_izqdel As B4XComboBox + Private cb_derdel As B4XComboBox + Private cb_izqatras As B4XComboBox + Private cb_deratras As B4XComboBox + Dim itemselect1 As String + Dim itemselect2 As String + Dim itemselect3 As String + Dim itemselect4 As String + Dim foto1() As Byte + Dim foto2() As Byte + Dim foto3() As Byte + Dim foto4() As Byte + Dim c As Cursor + Dim reqManager As DBRequestManager + Private l_placa As Label + Private et_km As EditText +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 + Root.LoadLayout("checklist") + + sv_datos.Height = Root.Height + sv_datos.Width = Root.Width + sv_datos.Panel.LoadLayout("check") + sv_datos.Panel.Height = p_check.Height + p_check.Width = Root.Width + p_camara.Width = Root.Width + p_camara.Height = Root.Height + + + Dim items As List + items.Initialize + items.Add("100%") + items.Add("75%") + items.Add("50%") + items.Add("25%") + cb_deratras.SetItems(items) + cb_izqatras.SetItems(items) + cb_derdel.SetItems(items) + cb_izqdel.SetItems(items) + itemselect1 = "100%" + itemselect2 = "100%" + itemselect3 = "100%" + itemselect4 = "100%" + + reqManager.Initialize(Me, B4XPages.MainPage.server) +End Sub + +Private Sub B4XPage_Appear + c = Starter.skmt.ExecQuery("SELECT PLACA FROM HIST_VENTAS") + c.Position = 0 + Log(c.GetString("PLACA")) + l_placa.Text = c.GetString("PLACA") + c.Close + Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_CAMERA) + Wait For B4XPage_PermissionResult (Permission As String, Result As Boolean) + If Result Then +' camEx.Initialize(p_cam, frontCamera, Me, "Camera1") +' frontCamera = camEx.Front + Log("inicializamos Camara") + Else + ToastMessageShow("No permission Camara!!!", True) + End If + MES1.Initialize(Me, "MES1") + + ' get the device SDK version + Dim SdkVersion As Int = device.SdkVersion + + ' Choose which permission to request in order to access external storgage + If SdkVersion < 30 Then + Log("SDK = " & SdkVersion & " : Requesting WRITE_EXTERNAL_STORAGE permission") + Dim rp As RuntimePermissions + rp.CheckAndRequest(rp.PERMISSION_WRITE_EXTERNAL_STORAGE) ' Implicit read capability if granted + Wait For Activity_PermissionResult (Permission As String, Result As Boolean) + Log($"PERMISSION_WRITE_EXTERNAL_STORAGE = ${Result}"$) + Else + Log("SDK = " & SdkVersion & " : Requesting MANAGE_EXTERNAL_STORAGE permission") + Log("On Entry MANAGE_EXTERNAL_STORAGE = " & MES1.HasPermission) + If Not(MES1.HasPermission) Then + MsgboxAsync("Esta aplicación requiere acceso a todos los archivos, habilite la opción", "Administrar todos los archivos") + Wait For Msgbox_Result(Res As Int) + Log("Getting permission") + MES1.GetPermission + Wait For MES_StorageAvailable + End If + End If + p_camara.Visible = False + + +' Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_WRITE_EXTERNAL_STORAGE) +' Wait For B4XPage_PermissionResult (Permission As String, Result As Boolean) +' If Result Then +' Log("conpermisos para escritura") +' Else +' ToastMessageShow("No permission Escritura!!!", True) +' End If +' +' Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_READ_EXTERNAL_STORAGE) +' Wait For B4XPage_PermissionResult (Permission As String, Result As Boolean) +' If Result Then +' Log("conpermisos para escritura") +' Else +' ToastMessageShow("No permission Lectura!!!", True) +' End If +End Sub + +Private Sub B4XPage_CloseRequest As ResumableSub + ' BACK key pressed + If p_camara.visible Then + p_camara.visible = False + StopCamera2 + Else + B4XPages.ShowPage("principal") + End If + ' Returning False signals the system to handle the key + Return False +End Sub + +Private Sub InitializeCamera2 + Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_CAMERA) + Wait For B4XPage_PermissionResult (Permission As String, Result As Boolean) + If Result Then + camEx.Initialize(p_cam, frontCamera, Me, "Camera1") + frontCamera = camEx.Front + Log("inicializamos Camara") + Else + ToastMessageShow("No permission Camara!!!", True) + End If +End Sub + +Sub Camera1_Ready (Success As Boolean) + Log("Camara ready") + If Success Then + camEx.SetJpegQuality(90) + camEx.SetContinuousAutoFocus + camEx.CommitParameters + camEx.StartPreview + Log(camEx.GetPreviewSize) + Else + ToastMessageShow("Cannot open camera.", True) + Log("Cannot open camera") + End If +End Sub + +Sub Camera1_PictureTaken (Data()As Byte) + If x = 1 Then + DateTime.DateFormat="ddMMyyyyHHmmss" + nombrefoto = DateTime.Now & "_FOTO1.jpg" + teclado.HideKeyboard + fototomada = nombrefoto + + Else If x = 2 Then + DateTime.DateFormat="ddMMyyyyHHmmss" + nombrefoto1 = DateTime.Now & "_FOTO2.jpg" + teclado.HideKeyboard + fototomada = nombrefoto1 + + Else If x = 3 Then + DateTime.DateFormat="ddMMyyyyHHmmss" + nombrefoto2 = DateTime.Now & "_FOTO3.jpg" + teclado.HideKeyboard + fototomada = nombrefoto2 + + Else If x = 4 Then + DateTime.DateFormat="ddMMyyyyHHmmss" + nombrefoto3 = DateTime.Now & "_FOTO4.jpg" + teclado.HideKeyboard + fototomada = nombrefoto3 + + End If + + Log("tome foto") + Dim filename As String = fototomada + Dim Dirp As String = File.DirInternal + Dim Dir As String + Dim Dir2 As String + Try + File.MakeDir(Dirp,"/md") + Dir = "/md" + Log("creado en promotoria " & Dirp & Dir) + Catch + Dir = "" + Log("creado en raiz") + End Try + + Try + File.MakeDir(Dirp & Dir,"/reduccion") + Dir2 = "/reduccion" + Log("creado en promotoria " & Dirp & Dir & Dir2) + Catch + Dir = "" + Log("creado en raiz") + End Try + + camEx.SavePictureToFile(Data, Dirp&Dir, filename) + camEx.StartPreview 'restart preview +' ToastMessageShow("Picture saved." & CRLF & "File size: " & File.Size(Dir, filename) & Dir &"," & filename, True) + Log("Picture saved." & CRLF & "File size: " & File.Size(Dir, filename) & Dir &"," & filename) + p_camara.Visible = False + + Log(nombrefoto) + Log(nombrefoto1) + Log(nombrefoto2) + Log(nombrefoto3) + + If nombrefoto <> "0" Then + Dim img As B4XBitmap = xui.LoadBitmapResize(File.DirInternal & Dir, filename, 450, 600, True) + Dim out As OutputStream = File.OpenOutput(File.DirInternal & Dir & Dir2, filename, True) + img.WriteToStream(out, 100, "PNG") +' foto1 = File.ReadBytes(File.DirInternal & Dir & Dir2, nombrefoto) + + out.Close + ImageView1.Bitmap = LoadBitmap(File.DirInternal & Dir & Dir2,nombrefoto) + + End If + + If nombrefoto1 <> "0" Then + Dim img As B4XBitmap = xui.LoadBitmapResize(File.DirInternal & Dir, filename, 450, 600, True) + Dim out As OutputStream = File.OpenOutput(File.DirInternal & Dir & Dir2, filename, False) + img.WriteToStream(out, 100, "PNG") +' foto2 = File.ReadBytes(File.DirInternal & Dir & Dir2, nombrefoto1) + + out.Close + ImageView2.Bitmap = LoadBitmap(File.DirInternal & Dir& Dir2,nombrefoto1) + End If + + If nombrefoto2 <> "0" Then + Dim img As B4XBitmap = xui.LoadBitmapResize(File.DirInternal & Dir, filename, 450, 600, True) + Dim out As OutputStream = File.OpenOutput(File.DirInternal & Dir & Dir2, filename, False) + img.WriteToStream(out, 100, "PNG") +' foto3 = File.ReadBytes(File.DirInternal & Dir & Dir2, nombrefoto2) + + out.Close + ImageView3.Bitmap = LoadBitmap(File.DirInternal & Dir& Dir2,nombrefoto2) + End If + + If nombrefoto3 <> "0" Then + Dim img As B4XBitmap = xui.LoadBitmapResize(File.DirInternal & Dir, filename, 450, 600, True) + Dim out As OutputStream = File.OpenOutput(File.DirInternal & Dir & Dir2, filename, False) + img.WriteToStream(out, 100, "PNG") +' foto4 = File.ReadBytes(File.DirInternal & Dir & Dir2, nombrefoto3) + + out.Close + ImageView4.Bitmap = LoadBitmap(File.DirInternal & Dir & Dir2,nombrefoto3) + End If + + StopCamera2 + +End Sub + +Private Sub p_camara_Click + +End Sub + +Private Sub b_foto_Click + camEx.TakePicture + p_camara.Visible = False +' StopCamera2 +End Sub + +Private Sub StopCamera2 +' Capturing = False + If camEx.IsInitialized Then + camEx.Release + End If +End Sub + +Private Sub ImageView1_Click + + x = 1 + InitializeCamera2 + p_camara.Visible = True + +End Sub + +Private Sub ImageView2_Click + + x = 2 + InitializeCamera2 + p_camara.Visible = True + +End Sub + +Private Sub ImageView3_Click + + x = 3 + InitializeCamera2 + p_camara.Visible = True + +End Sub + +Private Sub ImageView4_Click + + x = 4 + InitializeCamera2 + p_camara.Visible = True + +End Sub + +Private Sub rb_docno1_CheckedChange(Checked As Boolean) + p1 = "No" +End Sub + +Private Sub rb_docsi1_CheckedChange(Checked As Boolean) + p1 = "Si" +End Sub + +Private Sub rb_docno2_CheckedChange(Checked As Boolean) + p2 = "No" +End Sub + +Private Sub rb_docsi2_CheckedChange(Checked As Boolean) + p2 = "Si" +End Sub + +Private Sub rb_docno3_CheckedChange(Checked As Boolean) + p3 = "No" +End Sub + +Private Sub rb_docsi3_CheckedChange(Checked As Boolean) + p3 = "Si" +End Sub + +Private Sub rb_docno4_CheckedChange(Checked As Boolean) + p4 = "No" +End Sub + +Private Sub rb_docsi4_CheckedChange(Checked As Boolean) + p4 = "Si" +End Sub + +Private Sub rb_docno5_CheckedChange(Checked As Boolean) + p5 = "No" +End Sub + +Private Sub rb_docsi5_CheckedChange(Checked As Boolean) + p5 = "Si" +End Sub + +Private Sub rb_docno6_CheckedChange(Checked As Boolean) + p6 = "No" +End Sub + +Private Sub rb_docsi6_CheckedChange(Checked As Boolean) + p6 = "Si" +End Sub + +Private Sub rb_docno7_CheckedChange(Checked As Boolean) + p7 = "No" +End Sub + +Private Sub rb_docsi7_CheckedChange(Checked As Boolean) + p7 = "Si" +End Sub + +Private Sub rb_docno8_CheckedChange(Checked As Boolean) + p8 = "No" +End Sub + +Private Sub rb_docsi8_CheckedChange(Checked As Boolean) + p8 = "Si" +End Sub + +Private Sub rb_docno9_CheckedChange(Checked As Boolean) + p9 = "Incorrecto" +End Sub + +Private Sub rb_docsi9_CheckedChange(Checked As Boolean) + p9 = "Correcto" +End Sub + +Private Sub rb_docno11_CheckedChange(Checked As Boolean) + p11 = "Incorrecto" +End Sub + +Private Sub rb_docsi11_CheckedChange(Checked As Boolean) + p11 = "Correcto" +End Sub + +Private Sub rb_docno13_CheckedChange(Checked As Boolean) + p13 = "Incorrecto" +End Sub + +Private Sub rb_docsi13_CheckedChange(Checked As Boolean) + p13 = "Correcto" +End Sub + +Private Sub rb_docno15_CheckedChange(Checked As Boolean) + p15 = "Incorrecto" +End Sub + +Private Sub rb_docsi15_CheckedChange(Checked As Boolean) + p15 = "Correcto" +End Sub + +Private Sub rb_docno16_CheckedChange(Checked As Boolean) + p16 = "Incorrecto" +End Sub + +Private Sub rb_docsi16_CheckedChange(Checked As Boolean) + p16 = "Correcto" +End Sub + +Private Sub rb_docno17_CheckedChange(Checked As Boolean) + p17 = "Incorrecto" +End Sub + +Private Sub rb_docsi17_CheckedChange(Checked As Boolean) + p17 = "Correcto" +End Sub + +Private Sub rb_docno18_CheckedChange(Checked As Boolean) + p18 = "Incorrecto" +End Sub + +Private Sub rb_docsi18_CheckedChange(Checked As Boolean) + p18 = "Correcto" +End Sub + +Private Sub rb_docno19_CheckedChange(Checked As Boolean) + p19 = "Incorrecto" +End Sub + +Private Sub rb_docsi19_CheckedChange(Checked As Boolean) + p19 = "Correcto" +End Sub + +Private Sub cb_izqdel_SelectedIndexChanged (Index As Int) + itemselect1 = cb_izqdel.SelectedItem + Log(itemselect1) +End Sub + +Private Sub cb_izqatras_SelectedIndexChanged (Index As Int) + itemselect2 = cb_izqatras.SelectedItem + Log(itemselect2) +End Sub + +Private Sub cb_derdel_SelectedIndexChanged (Index As Int) + itemselect3 = cb_derdel.SelectedItem + Log(itemselect3) +End Sub + +Private Sub cb_deratras_SelectedIndexChanged (Index As Int) + itemselect4 = cb_deratras.SelectedItem + Log(itemselect4) +End Sub + +Private Sub b_guardar_Click + + Dim Dirp As String = File.DirInternal + Dim Dir As String + Dim Dir2 As String + Try + File.MakeDir(Dirp,"/md") + Dir = "/md" + Log("creado en promotoria " & Dirp & Dir) + Catch + Dir = "" + Log("creado en raiz") + End Try + + Try + File.MakeDir(Dirp & Dir,"/reduccion") + Dir2 = "/reduccion" + Log("creado en promotoria " & Dirp & Dir & Dir2) + Catch + Dir = "" + Log("creado en raiz") + End Try + + DateTime.TimeFormat="HH:mm:ss" + DateTime.DateFormat="dd/MM/yyyy" + Dim checkdate As String = DateTime.Date(DateTime.Now) + Dim checktime As String = DateTime.Time(DateTime.Now) + If et_km.Text <> "" Then + If rb_docno1.Checked Or rb_docsi1.Checked Then + If rb_docno2.Checked Or rb_docsi2.Checked Then + If rb_docno3.Checked Or rb_docsi3.Checked Then + If rb_docno4.Checked Or rb_docsi4.Checked Then + If rb_docno5.Checked Or rb_docsi5.Checked Then + If rb_docno6.Checked Or rb_docsi6.Checked Then + If rb_docno7.Checked Or rb_docsi7.Checked Then + If rb_docno8.Checked Or rb_docsi8.Checked Then + If rb_docno9.Checked Or rb_docsi9.Checked Then + If (rb_docno9.Checked And et_carroceria.Text <> "") Or (rb_docsi9.Checked And et_carroceria.Text = "") Then + If rb_docno11.Checked Or rb_docsi11.Checked Then + If (rb_docno11.Checked And et_luces.Text <> "") Or (rb_docsi11.Checked And et_luces.Text = "") Then + If rb_docno13.Checked Or rb_docsi13.Checked Then + If (rb_docno12.Checked And et_placas.Text <> "") Or (rb_docsi13.Checked And et_placas.Text = "") Then + If rb_docno15.Checked Or rb_docsi15.Checked Then + If rb_docno16.Checked Or rb_docsi16.Checked Then + If rb_docno17.Checked Or rb_docsi17.Checked Then + If rb_docno18.Checked Or rb_docsi18.Checked Then + If rb_docno19.Checked Or rb_docsi19.Checked Then + If et_liquidos.Text <> "" And (rb_docno15.Checked Or rb_docno16.Checked Or rb_docno17.Checked Or rb_docno18.Checked Or rb_docno19.Checked) Or et_liquidos.Text = "" And (rb_docsi15.Checked And rb_docsi16.Checked And rb_docsi17.Checked And rb_docsi18.Checked And rb_docsi19.Checked) Then + If nombrefoto <> "0" And nombrefoto1 <> "0" And nombrefoto2 <> "0" And nombrefoto3 <> "0" Then + c = Starter.skmt.ExecQuery("SELECT RUTAA FROM RUTAA") + c.Position = 0 + Private rutacheck As String = c.GetString("RUTAA") + c.Close + Starter.skmt.ExecNonQuery("DELETE FROM CHECKLIST2") + Starter.skmt.ExecNonQuery2("INSERT INTO CHECKLIST2(USUARIO, PLACA, FECHA_CAPTURA, TARJETA_CIRCULACION , POLIZA_SEGURO, LICENCIA_CONDUCIR, LIMPIA_EXTERNA, LIMPIA_INTERNA, TRIANGULO, GATO, LLANTA_REFACCION, CARROCERIA, CARROCERIA_COMENTARIOS, LUCES, LUCES_COMENTARIOS, CONDICION_PLACAS, CONDICION_PLACAS_COMENTARIOS, CONDICION_LLANTAS_DEL_DER, CONDICION_LLANTAS_DEL_IZQ, CONDICION_LLANTAS_TRASERA_DER, CONDICION_LLANTAS_TRASERA_IZQ, ACEITE, ANTICONGELANTE, FRENOS, AIRE, FUGAS, COMETARIOS_FUGAS, FOTO1, FOTO12, FOTO3, FOTO4, KILIMETRAJE,RUTA) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)",Array As Object(B4XPages.MainPage.usuario,l_placa.Text,checkdate&" "&checktime,p1,p2,p3,p4,p5,p6,p7,p8,p9,et_carroceria.Text,p11,et_luces.Text,p13,et_placas.Text,itemselect1,itemselect2,itemselect3,itemselect4,p15,p16,p17,p18,p19,et_liquidos.Text,File.ReadBytes(File.DirInternal & Dir & Dir2, nombrefoto),File.ReadBytes(File.DirInternal & Dir & Dir2, nombrefoto1),File.ReadBytes(File.DirInternal & Dir & Dir2, nombrefoto2),File.ReadBytes(File.DirInternal & Dir & Dir2, nombrefoto3), et_km.Text, rutacheck)) + + + mandaPendientes + + rb_docno1.Checked = False + rb_docno2.Checked = False + rb_docno3.Checked = False + rb_docno4.Checked = False + rb_docno5.Checked = False + rb_docno6.Checked = False + rb_docno7.Checked = False + rb_docno8.Checked = False + rb_docno9.Checked = False + rb_docno11.Checked = False + rb_docno13.Checked = False + rb_docno15.Checked = False + rb_docno16.Checked = False + rb_docno17.Checked = False + rb_docno18.Checked = False + rb_docno19.Checked = False + + rb_docsi1.Checked = False + rb_docsi2.Checked = False + rb_docsi3.Checked = False + rb_docsi4.Checked = False + rb_docsi5.Checked = False + rb_docsi6.Checked = False + rb_docsi7.Checked = False + rb_docsi8.Checked = False + rb_docsi9.Checked = False + rb_docsi11.Checked = False + rb_docsi13.Checked = False + rb_docsi15.Checked = False + rb_docsi16.Checked = False + rb_docsi17.Checked = False + rb_docsi18.Checked = False + rb_docsi19.Checked = False + + cb_deratras.SelectedIndex = 0 + cb_derdel.SelectedIndex = 0 + cb_izqatras.SelectedIndex = 0 + cb_izqdel.SelectedIndex = 0 + + et_carroceria.Text = "" + et_liquidos.Text = "" + et_luces.Text = "" + et_placas.Text = "" + + ImageView1.Bitmap = LoadBitmap(File.DirAssets,"frontal1.png") + ImageView2.Bitmap = LoadBitmap(File.DirAssets,"derecha1.png") + ImageView3.Bitmap = LoadBitmap(File.DirAssets,"atras1.png") + ImageView4.Bitmap = LoadBitmap(File.DirAssets,"izquierda1.png") + + nombrefoto = "0" + nombrefoto1 = "0" + nombrefoto2 = "0" + nombrefoto3 = "0" + + B4XPages.ShowPage("Principal") + Else + MsgboxAsync("Favor de tomar todas las fotos","Atención") + End If + Else + MsgboxAsync("Especifica Fugas o detallaes en los liquidos","Atención") + End If + Else + MsgboxAsync("Seleeciona una opción en Niveles de Liquidos y aire de Fugas","Atención") + End If + Else + MsgboxAsync("Seleeciona una opción en Niveles de Liquidos y aire de Aire","Atención") + End If + Else + MsgboxAsync("Seleeciona una opción en Niveles de Liquidos y aire de Frenos","Atención") + End If + Else + MsgboxAsync("Seleeciona una opción en Niveles de Liquidos y aire de Anticongelante","Atención") + End If + Else + MsgboxAsync("Seleeciona una opción en Niveles de Liquidos y aire de Aceite","Atención") + End If + Else + MsgboxAsync("Especifica daños en las condiciones de placas","Atención") + End If + Else + MsgboxAsync("Seleeciona una opción en Conciciones de placas de Correcto","Atención") + End If + Else + MsgboxAsync("Especifica daños en las luces","Atención") + End If + Else + MsgboxAsync("Seleeciona una opción en Funcionamiento de luces de Correcto","Atención") + End If + Else + MsgboxAsync("Especifica daños en la carrocería","Atención") + End If + Else + MsgboxAsync("Seleeciona una opción en Carrocería de Buen estado","Atención") + End If + Else + MsgboxAsync("Seleeciona una opción en Seguridad y refación de Llanta de refacción","Atención") + End If + Else + MsgboxAsync("Seleeciona una opción en Seguridad y refación de gato","Atención") + End If + Else + MsgboxAsync("Seleeciona una opción en Seguridad y refación de Triagulo reflectante","Atención") + End If + Else + MsgboxAsync("Seleeciona una opción en Limpieza unidad interna","Atención") + End If + Else + MsgboxAsync("Seleeciona una opción en Limpieza unidad externa","Atención") + End If + Else + MsgboxAsync("Seleeciona una opción en Documentación viegnte de Licencia de conducir","Atención") + End If + Else + MsgboxAsync("Seleeciona una opción en Documentación viegnte de Póliza de seguro","Atención") + End If + Else + MsgboxAsync("Seleeciona una opción en Documentación viegnte de tarjeta de circulación","Atención") + End If + Else + MsgboxAsync("Captura el kilometraje inicial.","Atención") + End If + +End Sub + +Sub mandaPendientes + Log("MandaPendientes") + 'PEDIDO (Pendientes) + c=Starter.skmt.ExecQuery("SELECT USUARIO, PLACA, FECHA_CAPTURA, TARJETA_CIRCULACION , POLIZA_SEGURO, LICENCIA_CONDUCIR, LIMPIA_EXTERNA, LIMPIA_INTERNA, TRIANGULO, GATO, LLANTA_REFACCION, CARROCERIA, CARROCERIA_COMENTARIOS, LUCES, LUCES_COMENTARIOS, CONDICION_PLACAS, CONDICION_PLACAS_COMENTARIOS, CONDICION_LLANTAS_DEL_DER, CONDICION_LLANTAS_DEL_IZQ, CONDICION_LLANTAS_TRASERA_DER, CONDICION_LLANTAS_TRASERA_IZQ, ACEITE, ANTICONGELANTE, FRENOS, AIRE, FUGAS, COMETARIOS_FUGAS, FOTO1, FOTO12, FOTO3, FOTO4 FROM CHECKLIST2") + Log($"Pedido PENDIENTE: ${c.RowCount}"$) + If c.RowCount > 0 Then + For i = 0 To c.RowCount -1 + c.Position=i + Dim cmd As DBCommand + + foto1 = c.GetBlob("FOTO1") + foto2 = c.GetBlob("FOTO12") + foto3 = c.GetBlob("FOTO3") + foto4 = c.GetBlob("FOTO4") + + cmd.Initialize + cmd.Name = "insert_CHECK_MARDS" + cmd.Parameters = Array As Object(C.GetString("USUARIO"),C.GetString("PLACA"),C.GetString("FECHA_CAPTURA"),C.GetString("TARJETA_CIRCULACION"),C.GetString("POLIZA_SEGURO"),C.GetString("LICENCIA_CONDUCIR"),C.GetString("LIMPIA_EXTERNA"),C.GetString("LIMPIA_INTERNA"),C.GetString("TRIANGULO"),C.GetString("GATO"), C.GetString("LLANTA_REFACCION"),C.GetString("CARROCERIA"),c.GetString("CARROCERIA_COMENTARIOS"),c.GetString("LUCES"),c.GetString("LUCES_COMENTARIOS"),c.GetString("CONDICION_PLACAS"),c.GetString("CONDICION_PLACAS_COMENTARIOS"))'c.GetString("CONDICION_PLACAS_INCORRECTO"),c.GetString("CONDICION_PLACAS_COMENTARIOS"),c.GetString("CONDICION_LLANTAS_DEL_DER"),c.GetString("CONDICION_LLANTAS_DEL_IZQ"),c.GetString("CONDICION_LLANTAS_TRASERA_DER"),c.GetString("CONDICION_LLANTAS_TRASERA_IZQ"),c.GetString("ACEITE"),c.GetString("ANTICONGELANTE"),c.GetString("FRENOS"),c.GetString("AIRE"),c.GetString("FUGAS"),c.GetString("COMETARIOS_FUGAS"),foto1,foto2,foto3,foto4,B4XPages.MainPage.principal.ALMACEN) + reqManager.ExecuteCommand(cmd , $"ins_checkliPendientes_head_${c.GetString("USUARIO")}"$) + Next + End If +End Sub + +Sub JobDone(Job As HttpJob) + Log("JOBDONE CLIENTE . " & Job.Success) + If Job.Success = False Then +' ToastMessageShow("Error: " & Job.ErrorMessage, True) +' LogColor("JobDone Error: '" & reqManager.HandleJob(Job).tag, Colors.red) 'Mod por CHV - 211027 + LogColor("Error: " & Job.tag & " : " & Job.ErrorMessage, Colors.Blue) + Else + LogColor("JobDone: '" & reqManager.HandleJob(Job).tag & "' - Registros: " & reqManager.HandleJob(Job).Rows.Size, Colors.Green) + If Job.JobName = "DBRequest" Then + Dim resultado As DBResult = reqManager.HandleJob(Job) + If resultado.Tag.As(String).IndexOf("ins_checkliPendientes_head_") > -1 Then + Private cliente As String= resultado.Tag + cliente = cliente.SubString(cliente.IndexOf("_")+24) + Log($"Cliente1:${cliente}"$) + + c=Starter.skmt.ExecQuery("SELECT USUARIO, PLACA, FECHA_CAPTURA, TARJETA_CIRCULACION , POLIZA_SEGURO, LICENCIA_CONDUCIR, LIMPIA_EXTERNA, LIMPIA_INTERNA, TRIANGULO, GATO, LLANTA_REFACCION, CARROCERIA, CARROCERIA_COMENTARIOS, LUCES, LUCES_COMENTARIOS, CONDICION_PLACAS, CONDICION_PLACAS_COMENTARIOS, CONDICION_LLANTAS_DEL_DER, CONDICION_LLANTAS_DEL_IZQ, CONDICION_LLANTAS_TRASERA_DER, CONDICION_LLANTAS_TRASERA_IZQ, ACEITE, ANTICONGELANTE, FRENOS, AIRE, FUGAS, COMETARIOS_FUGAS, FOTO1, FOTO12, FOTO3, FOTO4, KILIMETRAJE, RUTA FROM CHECKLIST2") + Log($"Pedido PENDIENTE: ${c.RowCount}"$) + If c.RowCount > 0 Then + For i = 0 To c.RowCount -1 + c.Position=i + Dim cmd As DBCommand + + foto1 = c.GetBlob("FOTO1") + foto2 = c.GetBlob("FOTO12") + foto3 = c.GetBlob("FOTO3") + foto4 = c.GetBlob("FOTO4") + + cmd.Initialize + cmd.Name = "update_CHECK_MARDS" + cmd.Parameters = Array As Object(c.GetString("CONDICION_LLANTAS_DEL_DER"),c.GetString("CONDICION_LLANTAS_DEL_IZQ"),c.GetString("CONDICION_LLANTAS_TRASERA_DER"),c.GetString("CONDICION_LLANTAS_TRASERA_IZQ"),c.GetString("ACEITE"),c.GetString("ANTICONGELANTE"),c.GetString("FRENOS"),c.GetString("AIRE"),c.GetString("FUGAS"),c.GetString("COMETARIOS_FUGAS"),foto1,foto2,foto3,foto4,B4XPages.MainPage.principal.ALMACEN, C.GetString("KILIMETRAJE"),C.GetString("RUTA"), C.GetString("USUARIO"),C.GetString("PLACA"),C.GetString("FECHA_CAPTURA")) + reqManager.ExecuteCommand(cmd , "update") + Next + End If + + For Each records() As Object In resultado.Rows + For Each k As String In resultado.Columns.Keys + Log(resultado.Tag & ": " & k & ": " & records(resultado.Columns.Get(k))) + Next + Next + Starter.skmt.ExecNonQuery("UPDATE CHECADO_CHECK set CHECADO = 1 ") + B4XPages.MainPage.principal.checachek + End If + End If + + Job.Release + End If + +End Sub diff --git a/B4A/C_Cliente.bas b/B4A/C_Cliente.bas new file mode 100644 index 0000000..01219dc --- /dev/null +++ b/B4A/C_Cliente.bas @@ -0,0 +1,2875 @@ +B4A=true +Group=Default Group +ModulesStructureVersion=1 +Type=Class +Version=12.2 +@EndOfDesignText@ +Sub Class_Globals + Private Root As B4XView 'ignore + Private xui As XUI 'ignore + Dim g As GPS + Dim clie_id As String + Dim sDate,sTime As String + Dim usuario As String + Dim cuenta As String + Dim btAdmin As BluetoothAdmin + Dim cmp20 As Serial + Dim printer As TextWriter + Dim PairedDevices As Map + Dim L As List + Dim TAMANO As Int + Dim ESPACIO As Int + Dim BLANCO As String + Dim impresoraConectada As Boolean = False + Dim LONGITUD As String + Dim LATITUD As String + Dim NOMBRE As String + Dim c As Cursor + Dim s As Cursor + Dim ListView1 As ListView + Dim la_cuenta As Label + Dim La_nombre As Label + Dim la_Calle As Label + Dim la_numero As Label + Dim la_nint As Label + Dim la_edo As Label + Dim la_pob As Label + Dim la_col As Label + Dim la_cp As Label + Dim la_zona As Label + Dim gest As Button + Dim la_saldotot As Label + Dim la_saldooper As Label + Dim reqManager As DBRequestManager + Dim b_noEntrega As Button + Dim Label10 As Label + Dim Label11 As Label + Dim d As Cursor + Dim ime As IME + Dim Tar As Button + Private L_QR As Label + Private BT_QR As Button + Dim Printer1 As EscPosPrinter + Dim la_comm As Label + Dim la_actdte As Label + Dim la_usuario As Label + Dim la_resultado As Label + Dim l_entre1 As Label + Dim l_entre2 As Label + Dim l_atiende As Label + Dim l_atiende2 As Label + Dim DATOS As Button + Dim Guardar As Button + Dim NUEVO As Button + Private l_total As Label + Private HIST As Button + Dim PASA_IMP As String + Private B_IMP As Button + Dim total_cliente As String + Dim CREDITO As String + Private p_principal As Panel + Private B_PASO2 As Button + Private L_CANT As Label + Dim errorImpresora As Int = 0 + Dim banderaimp As Int + Private l_credi As Label + Private l_pagare As Label + Private l_montopag As Label + Private l_efectivo As Label + Private l_montoefec As Label + Private p_credito As Panel + Private b_acred As Button + Private b_cancred As Button + Private et_montoacredito As EditText + Private Label16 As Label + Private l_limite As Label + Dim almacen As String + Dim fechaprev As String + Dim rutaprev As String + Dim rutarep As String + Dim montopagare As String + Private p_abono As Panel + Private clv_abonos As CustomListView + Private et_abono As EditText + Private b_cancelar As Button + Private b_abono As Button + Private l_montoabonostotal As Label + Dim h, j,b, f As Cursor + Private l_folio As Label + Private l_saldo As Label + Private b_cxc As Button + Private cb_tipopago As B4XComboBox + Dim itemselect As String + Dim tipo_abonox As String + Private b_cancel_pagare As Button + Dim NOTA As String +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 + g.Initialize("GPS") +' Activity.LoadLayout("info_gral") + Root.LoadLayout("cliente") + c=Starter.skmt.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 from kmt_info where CAT_CL_CODIGO In (Select cuenta from cuentaa)") + s=Starter.skmt.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)") + s.Position=0 + c.Position=0 + la_cuenta.Text = c.GetString("CAT_CL_CODIGO") + La_nombre.Text = c.GetString("CAT_CL_NOMBRE") + la_Calle.Text = c.GetString("CAT_CL_CALLE") & c.GetString("CAT_CL_NOEXT") + la_col.Text = c.GetString("CAT_CL_COLONIA") + la_edo.Text = c.GetString("CAT_CL_EDO") + la_cp.Text = c.GetString("CAT_CL_CP") + l_entre1.Text = c.GetString("CAT_CL_CALLE1") + l_entre2.Text = c.GetString("CAT_CL_CALLE2") + If c.GetString("CAT_CL_ATIENDE1") <> Null And c.GetString("CAT_CL_ATIENDE1") <> "null" Then + l_atiende.Text = c.GetString("CAT_CL_ATIENDE1") + Else + l_atiende.Text = " " + End If + If c.GetString("CAT_CL_ATIENTE2") <> Null And c.GetString("CAT_CL_ATIENTE2") <> "NULL" Then + l_atiende2.Text = c.GetString("CAT_CL_ATIENTE2") + Log("|"&c.GetString("CAT_CL_ATIENTE2")&"|") + Else + l_atiende2.Text = " " + End If + la_saldotot.Text = c.GetString("CAT_CL_TELEFONO") + la_saldooper.Text = c.GetString("CAT_CL_EMAIL") +' l_total.Text = s.GetString("TOTAL_CLIE") + btAdmin.Initialize("BlueTeeth") + cmp20.Initialize("Printer") + reqManager.Initialize(Me, B4XPages.MainPage.SERVER) +End Sub + +'You can see the list of page related events in the B4XPagesManager object. The event name is B4XPage. + +Sub B4XPage_Appear + banderaimp = 0 + Subs.centraPanel(p_principal, Root.Width) + Starter.skmt.Initialize(Starter.ruta,"kmt.db", True) + reqManager.Initialize(Me, B4XPages.MainPage.SERVER) + c=Starter.skmt.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_BCREDITO from kmt_info where CAT_CL_CODIGO In (Select cuenta from cuentaa)") + s=Starter.skmt.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) AND PE_TIPO NOT IN ('SOBRANTE','FALTANTE')") + s.Position=0 + c.Position=0 + la_cuenta.Text = c.GetString("CAT_CL_CODIGO") + La_nombre.Text = c.GetString("CAT_CL_NOMBRE") + NOMBRE = c.GetString("CAT_CL_NOMBRE") + LONGITUD = c.GetString("CAT_CL_LONG") + LATITUD = c.GetString("CAT_CL_LAT") + la_Calle.Text = c.GetString("CAT_CL_CALLE") & c.GetString("CAT_CL_NOEXT") + la_col.Text = c.GetString("CAT_CL_COLONIA") + la_edo.Text = c.GetString("CAT_CL_EDO") + la_cp.Text = c.GetString("CAT_CL_CP") + l_entre1.Text = c.GetString("CAT_CL_CALLE1") + l_entre2.Text = c.GetString("CAT_CL_CALLE2") + If c.GetString("CAT_CL_ATIENDE1") <> Null And c.GetString("CAT_CL_ATIENDE1") <> "null" Then + l_atiende.Text = c.GetString("CAT_CL_ATIENDE1") + Else + l_atiende.Text = " " + End If + If c.GetString("CAT_CL_ATIENTE2") <> Null And c.GetString("CAT_CL_ATIENTE2") <> "NULL" Then + l_atiende2.Text = c.GetString("CAT_CL_ATIENTE2") + Else + l_atiende2.Text = " " + End If + la_saldotot.Text = c.GetString("CAT_CL_TELEFONO") + la_saldooper.Text = c.GetString("CAT_CL_EMAIL") +' l_total.Text = s.GetString("TOTAL_CLIE") + CREDITO = C.GetString("CAT_CL_BCREDITO") + + + Private cym As Map = Subs.traeCantYMonto2(Subs.traeCliente) + L_CANT.Text = cym.Get("cantidad") + l_total.Text = Round2(cym.Get("monto"), 2) + +' If CREDITO = "1" Then +' Msgbox("AVISO","SE TIENE QUE IMPRIMIR PAGARÉ") 'ignore +' End If +' Private cym As Map = Subs.traemosCantYMonto(clv_pedido) +' L_CANT.Text = cym.Get("cantidad") +' l_total.Text = cym.Get("monto") + Starter.skmt.ExecNonQuery("UPDATE HIST_VENTAS set ESPROMO = 1 where HVD_CODPROMO = HVD_PROID AND HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)") + Private vc As Cursor = Starter.skmt.ExecQuery($"select HVD_PROID,HVD_COSTO_TOT, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT from HIST_VENTAS where BCAJAS = 0 and HVD_CODPROMO ='${Subs.traealmacen}' and HVD_CLIENTE in (select cuenta from cuentaa)"$) + + Private cuenta0 As String = 0 + Private arti As String = 0 + If vc.RowCount > 0 Then + For i = 0 To vc.RowCount - 1 + vc.Position = i + + + cuenta0 = cuenta0 + ((vc.GetString("HVD_CANT") - vc.GetString("HVD_RECHAZOCANT"))*(vc.GetString("HVD_COSTO_TOT")/vc.GetString("HVD_CANT"))) + + + +' Log(vc.GetString("HVD_CANT")&","&vc.GetString("HVD_RECHAZOCANT")) + arti = arti + (vc.GetString("HVD_CANT") - vc.GetString("HVD_RECHAZOCANT")) +' Log(vc.GetString("HVD_CANT") &" - "& vc.GetString("HVD_RECHAZOCANT")&" * "& vc8.GetString("CAT_GP_PRECIO")) + Next + End If +' Log(cuenta0) + + Private vc2 As Cursor = Starter.skmt.ExecQuery("select HVD_PROID, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT, CANTC,HVD_COSTO_TOT from HIST_VENTAS where HVD_CLIENTE in (select cuenta from cuentaa) AND BCAJAS = 1") + Private Cuenta1 As String = 0 + Private arti1 As String = 0 + If vc2.RowCount > 0 Then + For i = 0 To vc2.RowCount - 1 + vc2.Position = i + Dim preu As Float = NumberFormat2(vc2.GetString("HVD_COSTO_TOT")/vc2.GetString("CANTC"),0,2,2,False) + Private vc3 As Cursor = Starter.skmt.ExecQuery($"select PRECIOCONVER, CONVERSION from CAT_GUNAPROD where CAT_GP_ID = '${vc2.GetString("HVD_PROID")}'"$) + If vc3.RowCount > 0 Then + vc3.Position = 0 + Cuenta1 = Cuenta1 + ((vc2.GetString("CANTC")-(vc2.GetString("HVD_RECHAZOCANT")/vc3.GetString("CONVERSION")))*preu) + arti1 = arti1 + (vc2.GetString("HVD_CANT") - vc2.GetString("HVD_RECHAZOCANT")) + End If + Next + End If +' Log(Cuenta1) + + Private vc4 As Cursor = Starter.skmt.ExecQuery($"select HVD_PROID,HVD_PRONOMBRE,HVD_COSTO_TOT, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT, CANTC,HVD_COSTO_TOT, HVD_RECHAZO, HVD_CODPROMO from HIST_VENTAS where HVD_CLIENTE in (select cuenta from cuentaa) AND BCAJAS = 0 and HVD_CODPROMO <> '${Subs.traeAlmacen}'"$) + Private Cuenta2 As String = 0 + Private arti2 As String = 0 + If vc4.RowCount > 0 Then + + For i = 0 To vc4.RowCount - 1 + vc4.Position = i + If vc4.GetString("HVD_PROID") <> vc4.GetString("HVD_CODPROMO") Then + If vc4.GetString("HVD_RECHAZO") = 0 Then + Cuenta2 = Cuenta2 + vc4.GetString("HVD_COSTO_TOT") + arti2 = arti2 + vc4.GetString("HVD_CANT") + Else + Private vc5 As Cursor = Starter.skmt.ExecQuery($"select CAT_GP_PRECIO from CAT_GUNAPROD where CAT_GP_ID = '${vc4.GetString("HVD_PROID")}'"$) + If vc5.RowCount > 0 Then + vc5.Position= 0 +' Log(vc5.GetString("CAT_GP_PRECIO")) + Cuenta2 = Cuenta2 +((vc4.GetString("HVD_CANT")- vc4.GetString("HVD_RECHAZOCANT"))*(vc4.GetString("HVD_COSTO_TOT")/vc4.GetString("HVD_CANT"))) + arti2 = arti2 +(vc4.GetString("HVD_CANT")- vc4.GetString("HVD_RECHAZOCANT")) + End If + End If + End If + + Next + End If + + +' Log(arti2) + Subs.centraPanel(p_credito, Root.Width) + Private c4 As Cursor = Starter.skmt.ExecQuery($"SELECT IFNULL(PE_CANT,0) AS PE_CANT, iFNULL(PE_COSTO_TOT,0) AS PE_COSTO_TOT FROM PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND PE_TIPO NOT IN ('SOBRANTE','FALTANTE')"$) + Private Cuenta3 As String = 0 + Private arti3 As String = 0 + If c4.RowCount > 0 Then + For i = 0 To c4.RowCount -1 + c4.Position = i + arti3 = arti3 + c4.GetString("PE_CANT") + Cuenta3 = Cuenta3 + c4.GetString("PE_COSTO_TOT") + Next + End If + Log(cuenta0) + Log(Cuenta1) + Log(Cuenta2) + Log(Cuenta3) + + l_total.Text = NumberFormat2((cuenta0 + Cuenta1 + Cuenta2 + Cuenta3),0,2,2,True) + L_CANT.Text = NumberFormat2((arti + arti1 +arti2 + arti3),0,0,0,True) + +' l_total.Text = cuenta + Cuenta1 + Cuenta2 +' L_CANT.Text = arti + arti1 +arti2 + + c = Starter.skmt.ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?", Array As String ("MACIMP")) + If c.RowCount > 0 Then + c.Position = 0 + Starter.MAC_IMPRESORA = c.GetString("CAT_VA_VALOR") + End If + If Starter.MAC_IMPRESORA = "" Then Starter.MAC_IMPRESORA = "0" +' Log("|" & Starter.MAC_IMPRESORA & "|") + Printer1.Initialize(Me, "Printer1") + + If Printer1.IsConnected = False Then +' Printer1.Connect +' Log("1") + Else + Printer1.DisConnect + Printer1.Connect + Log("2") + End If + + + +' Dim pag As Cursor = Starter.skmt.ExecQuery("select * FROM PAGARES WHERE TMP_CLIENTE IN (SELECT CUENTA FROM CUENTAA)") +' If pag.RowCount > 0 Then +' pag.Position = 0 +' l_credi.Visible = True +' l_pagare.Visible = True +' l_montoefec.Visible = True +' l_efectivo.Visible = True +' l_montopag.Visible = True +' Dim PAGAREMONTO As Float = cuenta0 + Cuenta1 + Cuenta2 + Cuenta3 +' Dim PAGAREMONTO2 As Float = pag.GetString("TMP_MONTO_PAGARE") +'' Log +' If PAGAREMONTO - PAGAREMONTO2 < 0 Then +' l_montoefec.Text = 0 +' Else +' l_montoefec.Text = PAGAREMONTO - PAGAREMONTO2 +' End If +' Else If pag.RowCount = 0 Then +' l_credi.Visible = False +' l_pagare.Visible = False +' l_montoefec.Visible = False +' l_efectivo.Visible = False +' l_montopag.Visible = False +' End If + + + + Private vcred4 As Cursor = Starter.skmt.ExecQuery($"select HVD_PROID,HVD_PRONOMBRE,HVD_COSTO_TOT, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT, CANTC,HVD_COSTO_TOT, HVD_RECHAZO, HVD_CODPROMO from HIST_VENTAS where HVD_CLIENTE in (select cuenta from cuentaa) AND BCAJAS = 0 and HVD_CODPROMO <> '${Subs.traeAlmacen}' and HVD_BCREDITO = '1' "$) + Private Cuentacred2 As Float = 0 +' Private arti2 As Float = 0 + If vcred4.RowCount > 0 Then + + For i = 0 To vcred4.RowCount - 1 + vcred4.Position = i + If vcred4.GetString("HVD_PROID") <> vcred4.GetString("HVD_CODPROMO") Then + If vcred4.GetString("HVD_RECHAZO") = 0 Then + Cuentacred2 = Cuentacred2 + vcred4.GetString("HVD_COSTO_TOT") +' arti2 = arti2 + vcred4.GetString("HVD_CANT") + Else + Private vcred5 As Cursor = Starter.skmt.ExecQuery($"select CAT_GP_PRECIO from CAT_GUNAPROD where CAT_GP_ID = '${vcred4.GetString("HVD_PROID")}'"$) + If vcred5.RowCount > 0 Then + vc5.Position= 0 +' Log(vc5.GetString("CAT_GP_PRECIO")) + Cuentacred2 = Cuentacred2 +((vcred4.GetString("HVD_CANT")- vcred4.GetString("HVD_RECHAZOCANT"))*(vcred4.GetString("HVD_COSTO_TOT")/vcred4.GetString("HVD_CANT"))) +' arti2 = arti2 +(vcred4.GetString("HVD_CANT")- vcred4.GetString("HVD_RECHAZOCANT")) + End If + End If + End If + + Next + End If + + Private vcred As Cursor = Starter.skmt.ExecQuery($"select HVD_PROID,HVD_COSTO_TOT, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT from HIST_VENTAS where BCAJAS = 0 and HVD_CODPROMO ='${Subs.traealmacen}' and HVD_CLIENTE in (select cuenta from cuentaa) and HVD_BCREDITO = '1'"$) + + Private cuentacred0 As Float = 0 +' Private arti As String = 0 + If vcred.RowCount > 0 Then + For i = 0 To vcred.RowCount - 1 + vcred.Position = i + + + cuentacred0 = cuentacred0 + ((vcred.GetInt("HVD_CANT") - vcred.GetInt("HVD_RECHAZOCANT"))*(vcred.GetDouble("HVD_COSTO_TOT")/vcred.GetInt("HVD_CANT"))) + + + +' Log(vc.GetString("HVD_CANT")&","&vc.GetString("HVD_RECHAZOCANT")) +' arti = arti + (vcred.GetString("HVD_CANT") - vcred.GetString("HVD_RECHAZOCANT")) +' Log(vc.GetString("HVD_CANT") &" - "& vc.GetString("HVD_RECHAZOCANT")&" * "& vc8.GetString("CAT_GP_PRECIO")) + Next + End If + Log(cuentacred0) + Log(Cuentacred2) + + l_montopag.Text = NumberFormat2((cuentacred0 + Cuentacred2),0,2,2,False) + l_montoefec.Text = NumberFormat2((NumberFormat2((cuenta0 + Cuenta1 + Cuenta2 + Cuenta3),0,2,2,False) - l_montopag.Text),0,2,2,False) + + + + c=Starter.skmt.ExecQuery("select ID_ALMACEN from CAT_ALMACEN") + c.Position = 0 + almacen = c.GetString("ID_ALMACEN") + c.Close + + Dim cp As Cursor = Starter.skmt.ExecQuery("SELECT * FROM PAGARES WHERE PA_CLIENTE IN (SELECT CUENTA FROM CUENTAA)") + If cp.RowCount > 0 Then + + Dim x2 As Cursor =Starter.skmt.ExecQuery("SELECT gestion FROM kmt_info where CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)") + x2.Position = 0 + If x2.GetString("gestion") = 2 Then + b_cancel_pagare.Visible = True + Else + b_cancel_pagare.Visible = False + End If + + Else + b_cancel_pagare.Visible = False + End If + + +' Tar.Visible = False + Log("SI AQUI") + b = Starter.skmt.ExecQuery("select COUNT(*) AS CLIENTE FROM ABONOSP WHERE CLIENTE IN (Select CUENTA from cuentaa)") + b.Position = 0 + Dim cabonos As String = b.GetString("CLIENTE") + If cabonos = 0 Then + b_cxc.Visible = False + Else + b_cxc.Visible = True + End If + + +End Sub + +Sub Activity_Pause (UserClosed As Boolean) + +End Sub + +Sub GPS_LocationChanged (Location1 As Location) +' lat_gps=Location1.ConvertToSeconds(Location1.Latitude) +' lon_gps=Location1.ConvertToSeconds(Location1.Longitude) + Dim sDate,sTime As String + DateTime.DateFormat = "MM/dd/yyyy" + sDate=DateTime.Date(DateTime.Now) + sTime=DateTime.Time(DateTime.Now) + Starter.skmt.ExecNonQuery("DELETE FROM HIST_GPS") + Starter.skmt.ExecNonQuery2("INSERT INTO HIST_GPS (HGDATE, HGLAT, HGLON) VALUES(?,?,?) ", Array As Object (sDate & sTime, B4XPages.MainPage.lat_gps, B4XPages.MainPage.lon_gps)) +End Sub + +Sub ListView1_ItemLongClick (Position As Int, Value As Object) + +End Sub + +Sub gest_Click +' c = Starter.skmt.ExecQuery("SELECT gestion FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)") +' c.Position = 0 +' If c.GetInt("gestion") = 2 Then +' MsgboxAsync("El cliente ya fue entregado y no se puede realizar modificación","Atención") +' Else +' +' B_IMP_Click +' banderaimp = 1 +' +' End If + + Dim x2 As Cursor =Starter.skmt.ExecQuery("SELECT gestion FROM kmt_info where CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)") + x2.Position = 0 + If x2.GetString("gestion") = 2 Then + Msgbox2Async("Ya se gestiono el cliente, no se pueden hacer modificaciones","Atención","","","Ok",LoadBitmap(File.DirAssets,"alert2.png"),False) + Wait For Msgbox_Result (Result As Int) + If Result= DialogResponse.NEGATIVE Then + B4XPages.ShowPage("Principal") + End If + Else + Dim k As Cursor = Starter.skmt.ExecQuery("SELECT CUENTA from CUENTAA") + k.Position = 0 + Log(k.GetString("CUENTA")) + Dim y As Cursor = Starter.skmt.ExecQuery2("SELECT IFNULL(SUM(a_abono),0) AS a_abono FROM ABONOS WHERE a_cliente = ?", Array As String(k.GetString("CUENTA"))) + y.position = 0 + Dim u As Cursor = Starter.skmt.ExecQuery2("SELECT IFNULL(SUM(SALDO_PENDIENTE),0) AS SALDO_PENDIENTE FROM ABONOSP WHERE CLIENTE = ?", Array As String(k.GetString("CUENTA"))) + u.Position = 0 + If u.RowCount > 0 Then + If u.GetString("SALDO_PENDIENTE") <> 0 Then + If y.RowCount > 0 Then + If u.GetString("SALDO_PENDIENTE") = y.GetString("a_abono") Then + B_IMP_Click + banderaimp = 1 + Else + MsgboxAsync("Para poder hacer una entrega se necesita liquidar el(los) pagare(s)","Atención") + End If + Else + MsgboxAsync("Para poder hacer una entrega se necesita liquidar el(los) pagare(s)","Atención") + End If + Else If u.GetString("SALDO_PENDIENTE") = 0 Then + B_IMP_Click + banderaimp = 1 + End If + Else + B_IMP_Click + banderaimp = 1 + End If + End If + +End Sub + +Sub Guardado + DateTime.DateFormat = "MM/dd/yyyy" + DateTime.TimeFormat="HHmmss" + sDate=DateTime.Date(DateTime.Now) + sTime=DateTime.Time(DateTime.Now) + c=Starter.skmt.ExecQuery("select CUENTA from cuentaa") + c.Position = 0 + cuenta = c.GetString("CUENTA") + c=Starter.skmt.ExecQuery("select usuario from usuarioa") + c.Position = 0 + usuario = c.GetString("USUARIO") + c.Close + d = Starter.skmt.ExecQuery("SELECT RUTAA FROM RUTAA") + d.Position = 0 + Dim ruta As String = d.GetString("RUTAA") + d.Close + d = Starter.skmt.ExecQuery("SELECT CAT_CL_RUTA FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)") + d.Position = 0 + Dim rutapre As String = d.GetString("CAT_CL_RUTA") + d.Close + +' d = Starter.skmt.ExecQuery("SELECT HVD_FECHA FROM HIST_VENTAS WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)") +' d.Position = 0 + Dim fechaprev As String = Subs.traefECHAPREV +' d.Close + + Dim rutaactualizar As String + Dim rut As Cursor = Starter.skmt.ExecQuery("SELECT CAT_CL_RUTA FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)") + If rut.RowCount > 0 Then + rut.Position = 0 + rutaactualizar = rut.GetString("CAT_CL_RUTA") + End If + + Starter.skmt.ExecNonQuery($"DELETE FROM NOVENTA WHERE NV_CLIENTE IN (select cuenta from cuentaa) AND NV_RUTA ='${rutaactualizar}' "$) + Starter.skmt.ExecNonQuery2("INSERT INTO NOVENTA (NV_CLIENTE,NV_FECHA,NV_USER,NV_MOTIVO,NV_COMM,NV_LAT,NV_LON,NV_RUTA) VALUES(?,?,?,?,?,?,?,?) ", Array As Object (cuenta,sDate &" "& sTime, usuario, "ENTREGA","ENTREGA COMPLETA", B4XPages.MainPage.lat_gps, B4XPages.MainPage.lon_gps,rutaactualizar)) + Starter.skmt.ExecNonQuery2("INSERT INTO REPARTO_GEO (CLIENTE, USUARIO, FECHA_PUNTEO, LATITUD, LONGITUD, ALMACEN, RUTA_REPARTO, RUTA_PREV, FECHA_PREVENTA, TIPO,ENVIO) VALUES(?,?,?,?,?,?,?,?,?,?,0)",Array As String (la_cuenta.Text, usuario, sDate &" "&sTime, B4XPages.MainPage.lat_gps, B4XPages.MainPage.lon_gps,B4XPages.MainPage.almacen,ruta,rutapre,fechaprev, "ENTREGADO")) + Starter.skmt.ExecNonQuery($"UPDATE kmt_info set gestion = 2, HORAENT = '${sDate & " " & sTime}' where CAT_CL_CODIGO In (select cuenta from cuentaa) and CAT_CL_RUTA = '${rutaactualizar}' "$) + Starter.skmt.ExecNonQuery("update HIST_VENTAS SET HVD_ESTATUS = 1 WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)") + mandaPendientesreparto + + +' Dim mandamapa As Cursor = Starter.skmt.ExecQuery("SELECT * FROM kmt_info WHERE gestion = 0 and CAT_CL_CODIGO <> 63403") +' If mandamapa.RowCount > 0 Then +' StartActivity(MAPA_RUTAS) +' Else If mandamapa.RowCount = 0 Then + B4XPages.ShowPage("Principal") +' End If +End Sub + +Sub b_noEntrega_Click + + c = Starter.skmt.ExecQuery("SELECT gestion FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)") + c.Position = 0 + If c.GetInt("gestion") = 2 Then + MsgboxAsync("El cliente ya fue entregado y no se puede realizar modificación","Atención") + Else + + ' skmt.ExecNonQuery("delete from PEDIDO") + B4XPages.ShowPage("noVenta") + End If +End Sub + +Private Sub B4XPage_CloseRequest As ResumableSub + ' BACK key pressed + ' I want to capture the key here so I return True + If p_credito.Visible Then + et_montoacredito.Text = "" + p_credito.Visible = False + Return False + Else If la_cuenta.Text = "63403" Then + B4XPages.ShowPage("Principal") + Return False + Else + B4XPages.ShowPage("Clientes") + Return False + End If +' B4XPages.ShowPage("Clientes") +End Sub + +Sub Tar_Click +' StartActivity(colonia2) + B4XPages.ShowPage("Productos") +End Sub + +Sub DATOS_Click +' StartActivity(telefonos) +End Sub + +Sub Guardar_Click +' Dim mandamapa As Cursor = Starter.skmt.ExecQuery("SELECT * FROM kmt_info WHERE gestion = 0 AND cat_cl_codigo <> 63403") +' If mandamapa.RowCount > 0 Then +' StartActivity(MAPA_RUTAS) +' Else If mandamapa.RowCount = 0 Then + B4XPages.ShowPage("Principal") +' End If +End Sub + +Sub NUEVO_Click + StartActivity(MAPA_CLIENTE) +End Sub + +Sub HIST_Click + +' c = Starter.skmt.ExecQuery("SELECT gestion FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)") +' c.Position = 0 +' If c.GetInt("gestion") = 2 Then +' MsgboxAsync("El cliente ya fue entregado y no se puede realizar modificación","Atención") +' Else +' +'' B4XPages.MainPage.historico.prodsMap.Initialize +' '' B4XPages.MainPage.historico.clv_pedido.Clear +'' B4XPages.ShowPage("Historico") +' B4XPages.MainPage.detalleVenta.prodsMap.Initialize + '' B4XPages.MainPage.historico.clv_pedido.Clear +' B4XPages.ShowPage("DetalleVenta") +' End If + + + Dim x2 As Cursor =Starter.skmt.ExecQuery("SELECT gestion FROM kmt_info where CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)") + x2.Position = 0 + If x2.GetString("gestion") = 2 Then + Msgbox2Async("Ya se gestiono el cliente, no se pueden hacer modificaciones","Atención","","","Ok",LoadBitmap(File.DirAssets,"alert2.png"),False) + Wait For Msgbox_Result (Result As Int) + If Result= DialogResponse.NEGATIVE Then + B4XPages.ShowPage("Principal") + End If + Else + + Dim pagacheca2 As Cursor = Starter.skmt.ExecQuery("SELECT * FROM PAGARES WHERE PA_CLIENTE IN (SELECT CUENTA FROM CUENTAA)") + + If pagacheca2.RowCount > 0 Then + + + Msgbox2Async("El pagare ya fue generdo, no se puede realizar modificación.","Atención","","","Ok",LoadBitmap(File.DirAssets,"alert2.png"),False) + Wait For Msgbox_Result (Result As Int) + If Result= DialogResponse.POSITIVE Then + Log("Aqui") + End If + Else + + + Dim k As Cursor = Starter.skmt.ExecQuery("SELECT CUENTA from CUENTAA") + k.Position = 0 + Log(k.GetString("CUENTA")) + Dim y As Cursor = Starter.skmt.ExecQuery2("SELECT IFNULL(SUM(a_abono),0) AS a_abono FROM ABONOS WHERE a_cliente = ?", Array As String(k.GetString("CUENTA"))) + y.position = 0 + Dim u As Cursor = Starter.skmt.ExecQuery2("SELECT IFNULL(SUM(SALDO_PENDIENTE),0) AS SALDO_PENDIENTE FROM ABONOSP WHERE CLIENTE = ?", Array As String(k.GetString("CUENTA"))) + u.Position = 0 + If u.RowCount > 0 Then + If u.GetString("SALDO_PENDIENTE") <> 0 Then + If y.RowCount > 0 Then + If u.GetString("SALDO_PENDIENTE") = y.GetString("a_abono") Then + B4XPages.MainPage.detalleVenta.prodsMap.Initialize + B4XPages.ShowPage("DetalleVenta") + Else + MsgboxAsync("Para poder hacer una entrega se necesita liquidar el(los) pagare(s)","Atención") + End If + Else + MsgboxAsync("Para poder hacer una entrega se necesita liquidar el(los) pagare(s)","Atención") + End If + Else If u.GetString("SALDO_PENDIENTE") = 0 Then + B4XPages.MainPage.detalleVenta.prodsMap.Initialize + B4XPages.ShowPage("DetalleVenta") + End If + Else + B4XPages.MainPage.detalleVenta.prodsMap.Initialize + B4XPages.ShowPage("DetalleVenta") + End If + End If + End If +End Sub + +Sub B_IMP_Click + c=Starter.skmt.ExecQuery("select USUARIO from usuarioa") + c.Position=0 + usuario = c.GetString("USUARIO") +' DateTime.DateFormat = "MM/dd/yyyy" + DateTime.DateFormat = "MM/dd/yyyy" + DateTime.TimeFormat="HH:mm:ss" + sDate=DateTime.Date(DateTime.Now) + sTime=DateTime.Time(DateTime.Now) + c.Close +' c=Starter.skmt.ExecQuery2("SELECT CAT_VA_VALOR FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION =?", Array As String ("SUCURSAL")) +' c.Position = 0 +' sucursal = c.GetString("CAT_VA_VALOR") +' c.Close + + ProgressDialogShow("Imprimiendo, un momento ...") + Printer1.DisConnect + If Not(Printer1.IsConnected) Then +' Log("Conectando a impresora ...") + Printer1.Connect + Private cont As Int = 0 + Do While Not(impresoraConectada) + Sleep(1000) +' Log("++++++ " & cont) + cont = cont + 1 + If cont = 2 Then Printer1.Connect 'Tratamos de reconectar + If cont > 3 Then impresoraConectada = True + Loop + Sleep(500) + impresoraConectada = False + Else +' Log("conectando 2") + Printer1.Connect + Private cont As Int = 0 + Do While Not(impresoraConectada) Or Not(Printer1.IsConnected) + Sleep(1000) +' Log("****** " & cont) + cont = cont + 1 + If cont = 2 Then Printer1.Connect + If cont > 3 Then impresoraConectada = True + Loop + Sleep(500) + impresoraConectada = False + End If + + TAMANO = 0 + ESPACIO = 28 + BLANCO = " " +' Dim bmp As Bitmap +' bmp.InitializeResize(File.DirAssets, "mariana.jpg", 192, 250, True) 'ignore +' Dim myimage As AnImage = Printer1.ImageToBWIMage(bmp) + +' myimage = Printer1.DitherImage2D(myimage, 128) +' +' myimage= Printer1.PackImage(myimage) +' Printer1.WriteString(CRLF) ' nudge the Printer1 to show the user something is happening +' Printer1.WriteString(Printer1.REVERSE) +' +' Printer1.PrintImage(myimage) +' Printer1.WriteString(Printer1.UNREVERSE) + +' Printer1.Justify = 1 + 'Printer1.Initialize(cmp20.OutputStream) +' Printer1.WriteString("DISTRIBUIDORA ROCHA TULA PACHUCA" & CRLF) + Printer1.WriteString("Izca Distribuciones" & CRLF) +' Printer1.WriteString(sucursal & CRLF) + Printer1.WriteString(sDate & CRLF) + Printer1.WriteString(sTime & CRLF) + Printer1.WriteString("Vendedor:" & usuario & CRLF) + Printer1.WriteString("Tienda: " & La_nombre.Text & CRLF) + Printer1.WriteString("ID.Cliente: " & la_cuenta.Text & CRLF) + Printer1.WriteString("Calle: " & la_Calle.Text & CRLF) + Printer1.WriteString("Colonia: " & la_col.Text & CRLF) +' Printer1.WriteString("C.P.: " & la_cp.Text & CRLF) +' Printer1.WriteString("Entre calle1: " & l_entre1.Text & CRLF) +' Printer1.WriteString("Entre Calle2: " & l_entre2.Text & CRLF) + Printer1.WriteString(" " & CRLF) + + c = Starter.skmt.ExecQuery("SELECT * FROM HIST_VENTAS WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA) and HVD_BCREDITO = '1' ") + If c.RowCount > 0 Then + + Dim c2 As Cursor= Starter.skmt.ExecQuery("SELECT iFNULL(SUM(HVD_CANT),0) AS HVD_CANT, iFNULL(SUM(HVD_RECHAZOCANT),0) AS HVD_RECHAZOCANT FROM HIST_VENTAS WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA) and HVD_BCREDITO = '1' ") + c2.Position = 0 + If c2.GetInt("HVD_CANT") - c2.GetInt("HVD_RECHAZOCANT") > 0 Then + Printer1.WriteString("--------ENTREGA CREDITO-------" & CRLF) + +' Printer1.WriteString("--------------------------------" & CRLF) + Printer1.WriteString("Cant. Precio Importe" & CRLF) + + Printer1.WriteString("------------------------------" & CRLF) + + End If + ' aqui es donde esta el pedo de julieta de los descuentos quitar el precio2 pero meter un if para saber si es ruta especial o es normal o que show. + s=Starter.skmt.ExecQuery($"select HVD_PRONOMBRE, HVD_CANT, length(HVD_CANT) as L_CANT, HVD_COSTO_TOT, length(HVD_COSTO_TOT) as L_COSTOU,HVD_PROID, HVD_CODPROMO,IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT, HVD_RECHAZO FROM HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) and HVD_BCREDITO = '1' order by HVD_PROID"$) + If S.RowCount>0 Then + For i=0 To S.RowCount -1 + S.Position=i + Log(s.GetString("HVD_RECHAZO")) + If s.GetString("HVD_CANT") - s.GetString("HVD_RECHAZOCANT") > 0 Then + + + If s.GetString("HVD_CODPROMO") = Subs.traeAlmacen Then + + Printer1.Justify = 0 + Printer1.WriteString(s.GetString("HVD_PRONOMBRE") & CRLF) + + + Dim punit As String = NumberFormat2((s.GETSTRING("HVD_COSTO_TOT")/s.GetString("HVD_CANT")),0,2,2,False) + TAMANO = punit.Length + TAMANO + +' Private ptot As String = NumberFormat2((punit*s.GetString("HVD_CANT")),0,2,2,False) + Private ptot As String = NumberFormat2(( (s.GetString("HVD_CANT") - s.GetString("HVD_RECHAZOCANT")) * punit ),0,2,2,False) + TAMANO = ptot.Length + TAMANO + + ESPACIO = (ESPACIO - TAMANO)/2 +' Log(ESPACIO) + For E=0 To ESPACIO -1 + BLANCO = " " & BLANCO + Next + Printer1.Justify = 0 + Printer1.WriteString( (s.GetString("HVD_CANT") - s.GetString("HVD_RECHAZOCANT"))& BLANCO) + Printer1.Justify = 1 + Printer1.WriteString( punit & BLANCO) + Printer1.Justify = 2 + Printer1.WriteString( ptot & CRLF ) + TAMANO = 0 + ESPACIO = 29 + BLANCO = " " + + Else If s.GetString("HVD_RECHAZO") = 1 Then + + Printer1.Justify = 0 + Printer1.WriteString(s.GetString("HVD_PRONOMBRE") & CRLF) + + Private vc5 As Cursor = Starter.skmt.ExecQuery($"select iFNULL(CAT_GP_PRECIO,0) AS CAT_GP_PRECIO from CAT_GUNAPROD where CAT_GP_ID = '${s.GetString("HVD_PROID")}'"$) + vc5.Position = 0 + Dim punit As String = NumberFormat2((vc5.GetString("CAT_GP_PRECIO")),0,2,2,False) + TAMANO = punit.Length + TAMANO + vc5.Close + + Private ptot As String = NumberFormat2(( (s.GetString("HVD_CANT") - s.GetString("HVD_RECHAZOCANT")) * punit ),0,2,2,False) + TAMANO = ptot.Length + TAMANO + + ESPACIO = (ESPACIO - TAMANO)/2 +' Log(ESPACIO) + For E=0 To ESPACIO -1 + BLANCO = " " & BLANCO + Next + Printer1.Justify = 0 + Printer1.WriteString( (s.GetString("HVD_CANT") - s.GetString("HVD_RECHAZOCANT"))& BLANCO) + Printer1.Justify = 1 + Printer1.WriteString( punit & BLANCO) + Printer1.Justify = 2 + Printer1.WriteString(ptot& CRLF ) + TAMANO = 0 + ESPACIO = 29 + BLANCO = " " + Printer1.Justify = 0 + End If + End If + Next + Printer1.Justify = 0 + Printer1.WriteString(" " & CRLF) + End If + + End If + s.Close + s=Starter.skmt.ExecQuery($"select HVD_PRONOMBRE, HVD_CANT, length(HVD_CANT) as L_CANT, HVD_COSTO_TOT, length(HVD_COSTO_TOT) as L_COSTOU,HVD_PROID, HVD_CODPROMO,IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT FROM HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) AND HVD_RECHAZO = 0 AND HVD_CODPROMO <> '${Subs.traeAlmacen}' and HVD_BCREDITO = '1' order by HVD_CODPROMO, ESPROMO DESC, HVD_PROID"$) + + If S.RowCount>0 Then + Printer1.WriteString("---PROMOS ENTREGA CREDITO----" & CRLF) + Printer1.WriteString("Cant. Precio Importe" & CRLF) + Printer1.WriteString("------------------------------" & CRLF) + + For i=0 To S.RowCount -1 + S.Position=i + If s.GetString("HVD_CANT") - s.GetString("HVD_RECHAZOCANT") > 0 Then + + + If s.GetString("HVD_CODPROMO") <> Subs.traeAlmacen Then + + Printer1.Justify = 0 + If s.GetString("HVD_CODPROMO") = s.GetString("HVD_PROID") Then + Printer1.WriteString("* "&s.GetString("HVD_PRONOMBRE") & CRLF) + Else + Printer1.WriteString(s.GetString("HVD_PRONOMBRE") & CRLF) + + Dim punit As String =NumberFormat2((s.GETSTRING("HVD_COSTO_TOT")/s.GetString("HVD_CANT")),0,2,2,False) + TAMANO = punit.Length + TAMANO + + + Private ptot As String = NumberFormat2((punit*s.GetString("HVD_CANT")),0,2,2,False) + TAMANO = ptot.Length + TAMANO + + + ESPACIO = (ESPACIO - TAMANO)/2 + Log(ESPACIO) + For E=0 To ESPACIO -1 + BLANCO = " " & BLANCO + Next + Printer1.Justify = 0 + Printer1.WriteString( (s.GetString("HVD_CANT") - s.GetString("HVD_RECHAZOCANT"))& BLANCO) + Printer1.Justify = 1 + Printer1.WriteString( punit & BLANCO) + Printer1.Justify = 2 + Printer1.WriteString(ptot & CRLF ) + TAMANO = 0 + ESPACIO = 29 + BLANCO = " " + Printer1.Justify = 0 + End If + + + + Else + + End If + End If + Next + End If + + c = Starter.skmt.ExecQuery("SELECT * FROM HIST_VENTAS WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA) and HVD_BCREDITO <> '1' ") + Log(c.RowCount&"------------------") + If c.RowCount > 0 Then + + Dim c2 As Cursor= Starter.skmt.ExecQuery("SELECT iFNULL(SUM(HVD_CANT),0) AS HVD_CANT, iFNULL(SUM(HVD_RECHAZOCANT),0) AS HVD_RECHAZOCANT FROM HIST_VENTAS WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA) and HVD_BCREDITO <> '1' ") + c2.Position = 0 + If c2.GetInt("HVD_CANT") - c2.GetInt("HVD_RECHAZOCANT") > 0 Then + Printer1.WriteString("--------ENTREGA CONTADO-------" & CRLF) + +' Printer1.WriteString("--------------------------------" & CRLF) + Printer1.WriteString("Cant. Precio Importe" & CRLF) + Printer1.WriteString("------------------------------" & CRLF) + + End If + + ' aqui es donde esta el pedo de julieta de los descuentos quitar el precio2 pero meter un if para saber si es ruta especial o es normal o que show. + s=Starter.skmt.ExecQuery($"select HVD_PRONOMBRE, HVD_CANT, length(HVD_CANT) as L_CANT, HVD_COSTO_TOT, length(HVD_COSTO_TOT) as L_COSTOU,HVD_PROID, HVD_CODPROMO,IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT, HVD_RECHAZO FROM HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) AND HVD_BCREDITO <> '1' order by HVD_PROID"$) + If S.RowCount>0 Then + For i=0 To S.RowCount -1 + S.Position=i + Log(s.GetString("HVD_RECHAZO")) + If s.GetString("HVD_CANT") - s.GetString("HVD_RECHAZOCANT") > 0 Then + + + If s.GetString("HVD_CODPROMO") = Subs.traeAlmacen Then + + Printer1.Justify = 0 + Printer1.WriteString(s.GetString("HVD_PRONOMBRE") & CRLF) + + + Dim punit As String = NumberFormat2((s.GETSTRING("HVD_COSTO_TOT")/s.GetString("HVD_CANT")),0,2,2,False) + TAMANO = punit.Length + TAMANO + +' Private ptot As String = NumberFormat2((punit*s.GetString("HVD_CANT")),0,2,2,False) + Private ptot As String = NumberFormat2(( (s.GetString("HVD_CANT") - s.GetString("HVD_RECHAZOCANT")) * punit ),0,2,2,False) + TAMANO = ptot.Length + TAMANO + + ESPACIO = (ESPACIO - TAMANO)/2 +' Log(ESPACIO) + For E=0 To ESPACIO -1 + BLANCO = " " & BLANCO + Next + Printer1.Justify = 0 + Printer1.WriteString( (s.GetString("HVD_CANT") - s.GetString("HVD_RECHAZOCANT"))& BLANCO) + Printer1.Justify = 1 + Printer1.WriteString( punit & BLANCO) + Printer1.Justify = 2 + Printer1.WriteString( ptot & CRLF ) + TAMANO = 0 + ESPACIO = 29 + BLANCO = " " + + Else If s.GetString("HVD_RECHAZO") = 1 Then + + Printer1.Justify = 0 + Printer1.WriteString(s.GetString("HVD_PRONOMBRE") & CRLF) + + Private vc5 As Cursor = Starter.skmt.ExecQuery($"select iFNULL(CAT_GP_PRECIO,0) AS CAT_GP_PRECIO from CAT_GUNAPROD where CAT_GP_ID = '${s.GetString("HVD_PROID")}'"$) + vc5.Position = 0 + Dim punit As String = NumberFormat2((vc5.GetString("CAT_GP_PRECIO")),0,2,2,False) + TAMANO = punit.Length + TAMANO + vc5.Close + + Private ptot As String = NumberFormat2(( (s.GetString("HVD_CANT") - s.GetString("HVD_RECHAZOCANT")) * punit ),0,2,2,False) + TAMANO = ptot.Length + TAMANO + + ESPACIO = (ESPACIO - TAMANO)/2 +' Log(ESPACIO) + For E=0 To ESPACIO -1 + BLANCO = " " & BLANCO + Next + Printer1.Justify = 0 + Printer1.WriteString( (s.GetString("HVD_CANT") - s.GetString("HVD_RECHAZOCANT"))& BLANCO) + Printer1.Justify = 1 + Printer1.WriteString( punit & BLANCO) + Printer1.Justify = 2 + Printer1.WriteString(ptot& CRLF ) + TAMANO = 0 + ESPACIO = 29 + BLANCO = " " + Printer1.Justify = 0 + End If + End If + Next + Printer1.Justify = 0 + Printer1.WriteString(" " & CRLF) + End If + + End If + s.Close + s=Starter.skmt.ExecQuery($"select HVD_PRONOMBRE, HVD_CANT, length(HVD_CANT) as L_CANT, HVD_COSTO_TOT, length(HVD_COSTO_TOT) as L_COSTOU,HVD_PROID, HVD_CODPROMO,IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT FROM HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) AND HVD_RECHAZO = 0 AND HVD_CODPROMO <> '${Subs.traeAlmacen}' and HVD_BCREDITO <> '1' order by HVD_CODPROMO, ESPROMO DESC, HVD_PROID"$) + + If S.RowCount>0 Then + Printer1.WriteString("---PROMOS ENTREGA CONTADO----" & CRLF) + Printer1.WriteString("Cant. Precio Importe" & CRLF) + Printer1.WriteString("------------------------------" & CRLF) + + For i=0 To S.RowCount -1 + S.Position=i + If s.GetString("HVD_CANT") - s.GetString("HVD_RECHAZOCANT") > 0 Then + + + If s.GetString("HVD_CODPROMO") <> Subs.traeAlmacen Then + + Printer1.Justify = 0 + If s.GetString("HVD_CODPROMO") = s.GetString("HVD_PROID") Then + Printer1.WriteString("* "&s.GetString("HVD_PRONOMBRE") & CRLF) + Else + Printer1.WriteString(s.GetString("HVD_PRONOMBRE") & CRLF) + + Dim punit As String =NumberFormat2((s.GETSTRING("HVD_COSTO_TOT")/s.GetString("HVD_CANT")),0,2,2,False) + TAMANO = punit.Length + TAMANO + + + Private ptot As String = NumberFormat2((punit*s.GetString("HVD_CANT")),0,2,2,False) + TAMANO = ptot.Length + TAMANO + + + ESPACIO = (ESPACIO - TAMANO)/2 + Log(ESPACIO) + For E=0 To ESPACIO -1 + BLANCO = " " & BLANCO + Next + Printer1.Justify = 0 + Printer1.WriteString( (s.GetString("HVD_CANT") - s.GetString("HVD_RECHAZOCANT"))& BLANCO) + Printer1.Justify = 1 + Printer1.WriteString( punit & BLANCO) + Printer1.Justify = 2 + Printer1.WriteString(ptot & CRLF ) + TAMANO = 0 + ESPACIO = 29 + BLANCO = " " + Printer1.Justify = 0 + End If + + + + Else + + End If + End If + Next + Printer1.WriteString(" " & CRLF) + End If + + s=Starter.skmt.ExecQuery($"select PE_PRONOMBRE, PE_CANT, length(PE_CANT) as L_CANT, PE_COSTO_TOT, length(PE_COSTO_TOT) as L_COSTOU,PE_PROID FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) order BY PE_PROID"$) + + If S.RowCount>0 Then + Printer1.WriteString("-----------VENTA------------" & CRLF) + Printer1.WriteString("Cant. Precio Importe" & CRLF) + Printer1.WriteString("------------------------------" & CRLF) + + For i=0 To S.RowCount -1 + S.Position=i + + Printer1.Justify = 0 + Printer1.WriteString(s.GetString("PE_PRONOMBRE") & CRLF) + + + Dim punit As String =NumberFormat2( (s.GETSTRING("PE_COSTO_TOT")/s.GetString("PE_CANT")),0,2,2,False) + TAMANO = punit.Length + TAMANO + + Private ptot As String = NumberFormat2((punit*s.GetString("PE_CANT")),0,2,2,False) + TAMANO = ptot.Length + TAMANO + + + ESPACIO = (ESPACIO - TAMANO)/2 + Log(ESPACIO) + For E=0 To ESPACIO -1 + BLANCO = " " & BLANCO + Next + Printer1.Justify = 0 + Printer1.WriteString( s.GetString("PE_CANT") & BLANCO) + Printer1.Justify = 1 + Printer1.WriteString( punit & BLANCO) + Printer1.Justify = 2 + Printer1.WriteString(ptot & CRLF ) + TAMANO = 0 + ESPACIO = 29 + BLANCO = " " + Printer1.Justify = 0 + + Next + Printer1.WriteString(" " & CRLF) + End If + Printer1.WriteString("------------------------------" & CRLF) + + + Printer1.WriteString("Total Articulos: " & L_CANT.Text & CRLF) + + Printer1.WriteString("Total credito: $" & l_montopag.Text & CRLF) + Printer1.WriteString("Total contado: $" & l_montoefec.Text& CRLF ) + Printer1.WriteString("Total general: $" & l_total.Text) + + + Printer1.WriteString(" " & CRLF) + Printer1.WriteString("------------------------------" & CRLF) +' Printer1.WriteString("ENTREGA EN :" & CRLF) +' Printer1.WriteString(la_Calle.Text & CRLF) + Printer1.WriteString("----ESTE TICKET NO ES UN -----" & CRLF) + Printer1.WriteString("--COMPROBANTE FISCAL, SOLO ES-" & CRLF) + Printer1.WriteString("--------INFORMATIVO-----------" & CRLF) + Printer1.WriteString("------------------------------" & CRLF) + Printer1.WriteString(" " & CRLF) + Printer1.WriteString(" " & CRLF) + Printer1.WriteString(" " & CRLF) + Sleep(1000) + Printer1.DisConnect + + ProgressDialogHide + + If banderaimp = 1 Then + Msgbox2Async("Deseas imprimir de nuevo el ticket?", "ATENCION","SI","", "NO",LoadBitmap(File.DirAssets,"alert2.png"), False) + Wait For Msgbox_Result (resultado As Int) + If resultado = DialogResponse.POSITIVE Then + B_IMP_Click + Else + Dim totalcredito As Float = l_montopag.Text + If totalcredito > 0 Then + imprime_pagare + Else + + Guardado + End If + End If + +' printer.Flush + ' printer.Close + Else If banderaimp = 0 Then + Msgbox2Async("Deseas imprimir de nuevo el ticket?", "ATENCION","SI","", "NO",LoadBitmap(File.DirAssets,"alert2.png"), False) + Wait For Msgbox_Result (resultado As Int) + If resultado = DialogResponse.POSITIVE Then + B_IMP_Click + End If + End If + +' Guardado +End Sub + +Sub Printer1_Connected (Success As Boolean) +' If Logger Then Log("Printer1_Connected") + If Success Then + ToastMessageShow("Impresora conectada", False) + Starter.skmt.ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?", Array As Object ("MACIMP")) + Starter.skmt.ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)", Array As Object ("MACIMP",Starter.mac_impresora)) +' If logger Then LogColor("Impresora conectada", Colors.Green) +' B_IMP2.Enabled = True + impresoraConectada = True + Else +' Msgbox(Printer1.ConnectedErrorMsg, "Error connecting.") 'ignore +' ToastMessageShow("Error conectando la impresora", False) + LogColor("Error conectando la impresora", Colors.Red) + errorImpresora = errorImpresora + 1 + If errorImpresora > 1 Then + Starter.MAC_IMPRESORA = "0" + errorImpresora = 0 + End If + End If +End Sub + +Sub Printer1_Error + Log("error printer") +End Sub + +Sub Printer_Connected (Success As Boolean) + If Success Then +' B_IMP.Enabled = True + PASA_IMP = "1" + Else +' B_IMP.Enabled = False + If Msgbox2("", "Printer Error","Reprint","Cancel","",Null) = DialogResponse.POSITIVE Then 'ignore + StartPrinter + End If + End If +End Sub + +Sub StartPrinter + Dim PairedDevices As Map + Dim L1 As List + Dim resimp As Int + ToastMessageShow("Printing.....",True) + PairedDevices.Initialize + Try + PairedDevices = cmp20.GetPairedDevices + Catch + Msgbox("Getting Paired Devices","Printer Error") 'ignore + printer.Close + cmp20.Disconnect + End Try + + If PairedDevices.Size = 0 Then + Msgbox("Error Connecting to Printer - Printer Not Found","") 'ignore + Return + End If + + If PairedDevices.Size = 1 Then + Try + cmp20.Connect(PairedDevices.Get(PairedDevices.GetKeyAt(0))) + Catch + Msgbox("Connecting","Printer Error") 'ignore + printer.Close + cmp20.Disconnect + End Try + Else + L1.Initialize + For i = 0 To PairedDevices.Size - 1 + L1.Add(PairedDevices.GetKeyAt(i)) + Next + resimp = InputList(L1, "Choose device", -1) 'ignore + If resimp <> DialogResponse.CANCEL Then + cmp20.Connect(PairedDevices.Get(L1.Get(resimp))) + End If + End If +End Sub + +Sub B_PASO2_Click + DateTime.DateFormat = "MM/dd/yyyy" + sDate=DateTime.Date(DateTime.Now) + sTime=DateTime.Time(DateTime.Now) + c=Starter.skmt.ExecQuery("select CUENTA from cuentaa") + c.Position = 0 + cuenta = c.GetString("CUENTA") + c=Starter.skmt.ExecQuery("select usuario from usuarioa") + c.Position = 0 + usuario = c.GetString("USUARIO") + c.Close + Starter.skmt.ExecNonQuery("DELETE FROM NOVENTA WHERE NV_CLIENTE IN (select cuenta from cuentaa)") + Starter.skmt.ExecNonQuery2("INSERT INTO NOVENTA (NV_CLIENTE,NV_FECHA,NV_USER,NV_MOTIVO,NV_COMM,NV_LAT,NV_LON) VALUES(?,?,?,?,?,?,?) ", Array As Object (cuenta,sDate & sTime, usuario, "PASO","PASO ESPERA", B4XPages.MainPage.lat_gps, B4XPages.MainPage.lon_gps)) + +' Dim mandamapa As Cursor = Starter.skmt.ExecQuery("SELECT * FROM kmt_info WHERE gestion = 0") +' If mandamapa.RowCount > 0 Then +' StartActivity(MAPA_RUTAS) +' Else If mandamapa.RowCount = 0 Then + B4XPages.ShowPage("Principal") +' End If +End Sub + + +Sub mandaPendientesreparto +' c=Starter.skmt.ExecQuery("SELECT CLIENTE, USUARIO, FECHA_PUNTEO, LATITUD, LONGITUD, ALMACEN, RUTA_REPARTO, RUTA_PREV, FECHA_PREVENTA, MOTIVO, COMENTARIO,TIPO FROM REPARTO_GEO where ENVIO <> 1") +' Log($"REPARTO_Cliente PENDIENTE: ${c.RowCount}"$) +' If c.RowCount>0 Then +' For i=0 To c.RowCount -1 +' c.Position=i +' +' Dim cmd As DBCommand +' cmd.Initialize +' cmd.Name = "insert_REPARTO_MARDS"'Ojala no Truene +' cmd.Parameters = Array As Object(c.GetString("CLIENTE"), c.GetString("USUARIO"), c.GetString("FECHA_PUNTEO"), c.GetString("LATITUD"), c.GetString("LONGITUD"), c.GetString("ALMACEN"), c.GetString("RUTA_REPARTO"), c.GetString("RUTA_PREV"), c.GetString("FECHA_PREVENTA"), c.GetString("MOTIVO"), c.GetString("COMENTARIO"),c.GetString("TIPO")) +' reqManager.ExecuteCommand(cmd , $"ins_REPARTOPendientes_head_${c.GetString("CLIENTE")}"$) +' +' Next +' End If +' c.Close +End Sub + + + +Sub JobDone(Job As HttpJob) + Log(Job.Success) + If Job.Success = False Then +' ToastMessageShow("Error: " & Job.ErrorMessage, True) + Else + LogColor("JobDone: '" & reqManager.HandleJob(Job).tag & "' - Registros: " & reqManager.HandleJob(Job).Rows.Size, Colors.Green) 'Mod por CHV - 211027 + If Job.JobName = "DBRequest" Then + Dim resultado As DBResult = reqManager.HandleJob(Job) + If resultado.Tag.As(String).IndexOf("ins_REPARTOPendientes_head_") > -1 Then + Private cliente As String= resultado.Tag + cliente = cliente.SubString(cliente.IndexOf("_")+24) + Log($"Cliente1:${cliente}"$) + Starter.skmt.ExecNonQuery2("update REPARTO_GEO SET ENVIO = ? WHERE CLIENTE = ? AND ENVIO <> ?",Array As String ("1", cliente,"1")) + For Each records() As Object In resultado.Rows + For Each k As String In resultado.Columns.Keys + Log(resultado.Tag & ": " & k & ": " & records(resultado.Columns.Get(k))) + Next + Next + End If + End If + Job.Release + End If + +End Sub + +Private Sub b_acred_Click +' If et_montoacredito.Text > l_total.Text Then +' MsgboxAsync("El monto del pagare no puede ser mayor a la venta","Atención") +' Else + DateTime.DateFormat = "dd/MM/yyyy" + DateTime.TimeFormat = "HH:mm:ss" + sDate=DateTime.Date(DateTime.Now) + sTime=DateTime.Time(DateTime.Now) + 'cliente + c=Starter.skmt.ExecQuery("select CUENTA from cuentaa") + c.Position = 0 + cuenta = c.GetString("CUENTA") + c.Close + 'usuario + c=Starter.skmt.ExecQuery("select usuario from usuarioa") + c.Position = 0 + usuario = c.GetString("USUARIO") + c.Close + 'Almacen + c=Starter.skmt.ExecQuery("select ID_ALMACEN from CAT_ALMACEN") + c.Position = 0 + almacen = c.GetString("ID_ALMACEN") + c.Close + 'FECHA PREVENTA + c=Starter.skmt.ExecQuery("select HVD_FECHA from HIST_VENTAS WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)") + c.Position = 0 + fechaprev = c.GetString("HVD_FECHA") + c.Close + 'RUTAPREVENTA + c=Starter.skmt.ExecQuery("select CAT_CL_RUTA from kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)") + c.Position = 0 + rutaprev = c.GetString("CAT_CL_RUTA") + c.Close + 'RUTA rep + c=Starter.skmt.ExecQuery("select RUTAA from RUTAA") + c.Position = 0 + rutarep = c.GetString("RUTAA") + c.Close + + c = Starter.skmt.ExecQuery($"select distinct hvd_num_ticket from hist_ventas where hvd_cliente = '${la_cuenta.Text}' AND HVD_BCREDITO = '1'"$) + If c.RowCount > 0 Then + c.Position = 0 + NOTA = c.GetString("HVD_NUM_TICKET") + End If + c.Close + + Dim pagacheca As Cursor = Starter.skmt.ExecQuery("SELECT * FROM PAGARES WHERE PA_CLIENTE IN (SELECT CUENTA FROM CUENTAA)") + + If pagacheca.RowCount > 0 Then +' B_IMP_Click +' banderaimp = 1 + Guardado + Else +' Starter.skmt.ExecNonQuery2("INSERT INTO PAGARES (PA_ALMACEN, PA_RUTA_REP, PA_RUTAPREV, PA_FECHA_PREV, PA_CAPTURA, PA_MONTO, PA_USUARIO, PA_CLIENTE,PA_TICKET) VALUES(?,?,?,?,?,?,?,?,?) ", Array As Object (almacen,rutarep,rutaprev,fechaprev,(sDate),l_total.Text.Replace(",",""),usuario,cuenta,NOTA)) + Starter.skmt.ExecNonQuery2("INSERT INTO PAGARES (PA_ALMACEN, PA_RUTA_REP, PA_RUTAPREV, PA_FECHA_PREV, PA_CAPTURA, PA_MONTO, PA_USUARIO, PA_CLIENTE,PA_TICKET) VALUES(?,?,?,?,?,?,?,?,?) ", Array As Object (almacen,rutarep,rutaprev,fechaprev,(sDate),l_montopag.Text,usuario,cuenta,NOTA)) +' B_IMP_Click +' banderaimp = 1 + Guardado + End If + +' Starter.skmt.ExecNonQuery2("INSERT INTO PAGARES (PA_ALMACEN, PA_RUTA_REP, PA_RUTAPREV, PA_FECHA_PREV, PA_CAPTURA, PA_MONTO, PA_USUARIO, PA_CLIENTE) VALUES(?,?,?,?,?,?,?,?) ", Array As Object (almacen,rutarep,rutaprev,fechaprev,(sDate),et_montoacredito.Text,usuario,cuenta)) + +' et_montoacredito.Text = "" +' p_credito.Visible = False +' End If +End Sub + +Private Sub b_cancred_Click + et_montoacredito.Text = "" + p_credito.Visible = False +End Sub + +Private Sub p_credito_Click + +End Sub + +'Private Sub b_cxc_Click +' +' h = Starter.skmt.ExecQuery("SELECT CUENTA from CUENTAA") +' h.Position = 0 +' Log(h.GetString("CUENTA")) +' j = Starter.skmt.ExecQuery2("SELECT a_abono FROM ABONOS WHERE a_cliente = ?", Array As String(h.GetString("CUENTA"))) +' j.position = 0 +' Log(j.RowCount) +' If j.RowCount = 0 Then +' +' p_abono.Visible = True +' Dim total As String = 0 +' f = Starter.skmt.ExecQuery("SELECT CUENTA FROM CUENTAA") +' f.Position = 0 +' +' d = Starter.skmt.ExecQuery2("SELECT NOTA, SALDO_PENDIENTE FROM ABONOSP WHERE CLIENTE = ? ", Array As String (f.GetString("CUENTA"))) +' clv_abonos.Clear +' For i = 0 To d.RowCount - 1 +' d.Position = i +' clv_abonos.Add(CreateListItem(d.GetString("NOTA"),"$ " & d.GetString("SALDO_PENDIENTE")),i) +' Log(d.GetString("NOTA")) +' Log(d.GetString("SALDO_PENDIENTE")) +' total = total + d.GetString("SALDO_PENDIENTE") +' Log(total) +' Next +' l_montoabonostotal.Text = total +' d.Close +' f.Close +' +' Else If j.RowCount > 0 Then +' p_abono.Visible = True +' et_abono.text = j.GetString("a_abono") +' Dim total As String = 0 +' f = Starter.skmt.ExecQuery("SELECT CUENTA FROM CUENTAA") +' f.Position = 0 +' +' d = Starter.skmt.ExecQuery2("SELECT NOTA, SALDO_PENDIENTE FROM ABONOSP WHERE CLIENTE = ? ", Array As String (f.GetString("CUENTA"))) +' clv_abonos.Clear +' For i = 0 To d.RowCount - 1 +' d.Position = i +' clv_abonos.Add(CreateListItem(d.GetString("NOTA"),"$ " & d.GetString("SALDO_PENDIENTE")),i) +' Log(d.GetString("NOTA")) +' Log(d.GetString("SALDO_PENDIENTE")) +' total = total + d.GetString("SALDO_PENDIENTE") +' Log(total) +' Next +' l_montoabonostotal.Text = total +' d.Close +' f.Close +'' MsgboxAsync("Este cliente ya tiene un pago capturado","Atención") +' End If +' h.Close +' j.Close +' +' +'End Sub + + +'Private Sub b_cxc_Click +' h = Starter.skmt.ExecQuery("SELECT CUENTA from CUENTAA") +' h.Position = 0 +' Log(h.GetString("CUENTA")) +' +' +' Dim Items As List +' Items.Initialize +' +' Items.Add("SELECCIONA UNA OPCION") +' Items.Add("TRANSFERENCIA") +' Items.Add("EFECTIVO") +' Items.Add("CHEQUE") +' +' cb_tipopago.SetItems(Items) +' +' itemselect= "SELECCIONA UNA OPCION" +' +' j = Starter.skmt.ExecQuery2("SELECT a_abono FROM ABONOS WHERE a_cliente = ?", Array As String(h.GetString("CUENTA"))) +' j.position = 0 +' Log(j.RowCount) +' If j.RowCount = 0 Then +' p_abono.Visible = True +' p_abono.Height = Root.Height +' p_abono.Width = Root.Width +' et_abono.text = "" +' Dim total As Double = 0 +' f = Starter.skmt.ExecQuery("SELECT CUENTA FROM CUENTAA") +' f.Position = 0 +' d = Starter.skmt.ExecQuery2("SELECT NOTA, SALDO_PENDIENTE FROM ABONOSP WHERE CLIENTE = ? AND SALDO_PENDIENTE <> 0", Array As String (f.GetString("CUENTA"))) +' clv_abonos.Clear +' For i = 0 To d.RowCount - 1 +' d.Position = i +' clv_abonos.Add(CreateListItem(d.GetString("NOTA"),"$ " & d.GetString("SALDO_PENDIENTE")),i) +' Log(d.GetString("NOTA")) +' Log(d.GetString("SALDO_PENDIENTE")) +' total = total + d.GetString("SALDO_PENDIENTE") +' Log(total) +' Next +' d.Close +' d = Starter.skmt.ExecQuery2("SELECT a_abono FROM ABONOS WHERE a_cliente = ? ", Array As String (f.GetString("CUENTA"))) +' If d.RowCount > 0 Then +' For i = 0 To d.RowCount - 1 +' d.Position = i +' clv_abonos.Add(CreateListItem("ABONO","$ " & d.GetString("a_abono")),i) +' total = total - d.GetString("a_abono") +' Log(total) +' Next +' End If +' l_montoabonostotal.Text = NumberFormat2(total,0,2,2,False) +' d.Close +' f.Close +' Else If j.RowCount > 0 Then +' p_abono.Visible = True +' p_abono.Height = Root.Height +' p_abono.Width = Root.Width +' et_abono.text = "" +' Dim total As Double = 0 +' f = Starter.skmt.ExecQuery("SELECT CUENTA FROM CUENTAA") +' f.Position = 0 +' d = Starter.skmt.ExecQuery2("SELECT NOTA, SALDO_PENDIENTE FROM ABONOSP WHERE CLIENTE = ? AND SALDO_PENDIENTE <> 0", Array As String (f.GetString("CUENTA"))) +' clv_abonos.Clear +' For i = 0 To d.RowCount - 1 +' d.Position = i +' clv_abonos.Add(CreateListItem(d.GetString("NOTA"),"$ " & d.GetString("SALDO_PENDIENTE")),i) +' Log(d.GetString("NOTA")) +' Log(d.GetString("SALDO_PENDIENTE")) +' total = total + d.GetString("SALDO_PENDIENTE") +' Log(total) +' Next +' d.Close +' d = Starter.skmt.ExecQuery2("SELECT a_abono FROM ABONOS WHERE a_cliente = ? ", Array As String (f.GetString("CUENTA"))) +' If d.RowCount > 0 Then +' For i = 0 To d.RowCount - 1 +' d.Position = i +' clv_abonos.Add(CreateListItem("ABONO","$ " & d.GetString("a_abono")),i) +' total = total - d.GetString("a_abono") +' Log(total) +' Next +' End If +' l_montoabonostotal.Text = NumberFormat2(total,0,2,2,False) +' d.Close +' f.Close +'' MsgboxAsync("Este cliente ya tiene un pago capturado","Atención") +' End If +' h.Close +' j.Close +'End Sub + +Private Sub b_cxc_Click + tipo_abonox = "cxc" + h = Starter.skmt.ExecQuery("SELECT CUENTA from CUENTAA") + h.Position = 0 + Log(h.GetString("CUENTA")) + + Dim Items As List + Items.Initialize + + Items.Add("SELECCIONA UNA OPCION") + Items.Add("TRANSFERENCIA") + Items.Add("EFECTIVO") + Items.Add("CHEQUE") + + cb_tipopago.SetItems(Items) + + itemselect= "SELECCIONA UNA OPCION" + + j = Starter.skmt.ExecQuery2("SELECT a_abono FROM ABONOS WHERE a_cliente = ?", Array As String(h.GetString("CUENTA"))) + j.position = 0 + Log(j.RowCount) + If j.RowCount = 0 Then + p_abono.Visible = True + p_abono.Width = Root.Width + p_abono.Height = Root.Height + et_abono.text = "" + Dim total As Double = 0 + f = Starter.skmt.ExecQuery("SELECT CUENTA FROM CUENTAA") + f.Position = 0 + d = Starter.skmt.ExecQuery2("SELECT NOTA, SALDO_PENDIENTE FROM ABONOSP WHERE CLIENTE = ? AND SALDO_PENDIENTE <> 0", Array As String (f.GetString("CUENTA"))) + clv_abonos.Clear + For i = 0 To d.RowCount - 1 + d.Position = i + clv_abonos.Add(CreateListItem(d.GetString("NOTA"),"$ " & d.GetString("SALDO_PENDIENTE")),i) + Log(d.GetString("NOTA")) + Log(d.GetString("SALDO_PENDIENTE")) + total = total + d.GetString("SALDO_PENDIENTE") + Log(total) + Next + d.Close + d = Starter.skmt.ExecQuery2("SELECT a_abono FROM ABONOS WHERE a_cliente = ? and a_tipoabono is null", Array As String (f.GetString("CUENTA"))) + If d.RowCount > 0 Then + For i = 0 To d.RowCount - 1 + d.Position = i + clv_abonos.Add(CreateListItem("ABONO","$ " & d.GetString("a_abono")),i) + total = total - d.GetString("a_abono") + Log(total) + Next + End If + l_montoabonostotal.Text = NumberFormat2(total,0,2,2,False) + d.Close + f.Close + Else If j.RowCount > 0 Then + p_abono.Visible = True + p_abono.Width = Root.Width + p_abono.Height = Root.Height + et_abono.text = "" + Dim total As Double = 0 + f = Starter.skmt.ExecQuery("SELECT CUENTA FROM CUENTAA") + f.Position = 0 + d = Starter.skmt.ExecQuery2("SELECT NOTA, SALDO_PENDIENTE FROM ABONOSP WHERE CLIENTE = ? AND SALDO_PENDIENTE <> 0", Array As String (f.GetString("CUENTA"))) + clv_abonos.Clear + For i = 0 To d.RowCount - 1 + d.Position = i + clv_abonos.Add(CreateListItem(d.GetString("NOTA"),"$ " & d.GetString("SALDO_PENDIENTE")),i) + Log(d.GetString("NOTA")) + Log(d.GetString("SALDO_PENDIENTE")) + total = total + d.GetString("SALDO_PENDIENTE") + Log(total) + Next + d.Close + d = Starter.skmt.ExecQuery2("SELECT a_abono FROM ABONOS WHERE a_cliente = ? and a_tipoabono is null", Array As String (f.GetString("CUENTA"))) + If d.RowCount > 0 Then + For i = 0 To d.RowCount - 1 + d.Position = i + clv_abonos.Add(CreateListItem("ABONO","$ " & d.GetString("a_abono")),i) + total = total - d.GetString("a_abono") + Log(total) + Next + End If + l_montoabonostotal.Text = NumberFormat2(total,0,2,2,False) + d.Close + f.Close +' MsgboxAsync("Este cliente ya tiene un pago capturado","Atención") + End If + h.Close + j.Close +End Sub + +Sub imprime_abonopagare + c=Starter.skmt.ExecQuery("select USUARIO from usuarioa") + c.Position=0 + usuario = c.GetString("USUARIO") + DateTime.DateFormat = "MM/dd/yyyy" + DateTime.TimeFormat = "HH:mm:ss" + sDate=DateTime.Date(DateTime.Now) + sTime=DateTime.Time(DateTime.Now) + c.Close +' ProgressDialogShow("Imprimiendo, un momento ...") +' Printer1.DisConnect +' If Not(Printer1.IsConnected) Then +' Log("Conectando a impresora ...") +' Printer1.Connect +' Private cont As Int = 0 +' Do While Not(impresoraConectada) +' Sleep(1000) +' Log("++++++ " & cont) +' cont = cont + 1 +' If cont = 2 Then Printer1.Connect 'Tratamos de reconectar +' If cont > 3 Then impresoraConectada = True +' Loop +' Sleep(500) +' impresoraConectada = False +' Else +' Log("conectando 2") +' Printer1.Connect +' Private cont As Int = 0 +' Do While Not(impresoraConectada) Or Not(Printer1.IsConnected) +' Sleep(1000) +' Log("****** " & cont) +' cont = cont + 1 +' If cont = 2 Then Printer1.Connect +' If cont > 3 Then impresoraConectada = True +' Loop +' Sleep(500) +' impresoraConectada = False +' End If + + ProgressDialogShow("Imprimiendo, un momento ...") + Printer1.DisConnect + If Not(Printer1.IsConnected) Then +' If logger Then Log("conectando 1") + Printer1.Connect + Private cont As Int = 0 + Do While Not(impresoraConectada) + Sleep(1000) + cont = cont + 1 + If cont = 7 Then Printer1.Connect 'Tratamos de reconectar + If cont > 15 Then impresoraConectada = True + Loop + Sleep(500) + impresoraConectada = False + Else +' If logger Then Log("conectando 2") + Printer1.Connect + Private cont As Int = 0 + Do While Not(impresoraConectada) Or Not(Printer1.IsConnected) + Sleep(1000) + cont = cont + 1 + If cont = 2 Then Printer1.Connect + If cont > 4 Then impresoraConectada = True + Loop + Sleep(500) + impresoraConectada = False + End If + TAMANO = 0 + ESPACIO = 22 + BLANCO = " " +' Dim bmp As Bitmap +' bmp.InitializeResize(File.DirAssets, "logo-guna-18.jpg", 192, 192, True) 'ignore +' Dim myimage As AnImage = Printer1.ImageToBWIMage(bmp) +' myimage = Printer1.DitherImage2D(myimage, 128) +' myimage= Printer1.PackImage(myimage) +' Printer1.WriteString(CRLF) ' nudge the printer to show the user something is happening +' Printer1.WriteString(Printer1.REVERSE) +' Printer1.PrintImage(myimage) +' Printer1.WriteString(Printer1.UNREVERSE) + Dim telefono As String = "" + Dim c7 As Cursor = Starter.skmt.ExecQuery("select IFNULL(CAT_CL_TELEFONO,' ') AS CAT_CL_TELEFONO FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)") + If c7.RowCount > 0 Then + c7.Position = 0 + telefono = c7.GetString("CAT_CL_TELEFONO") + End If + c7.Close + + + + Printer1.WriteString("Izca Distribuciones" & CRLF) +' Printer1.WriteString(sucursal & CRLF) + Printer1.WriteString(sDate & CRLF) + Printer1.WriteString(sTime & CRLF) + Printer1.WriteString("Reparto:" & usuario & CRLF) + Printer1.WriteString("Tienda: " & La_nombre.Text & CRLF) + Printer1.WriteString("ID.Cliente: " & la_cuenta.Text & CRLF) + Printer1.WriteString("Calle: " & la_Calle.Text & CRLF) + Printer1.WriteString("Colonia: " & la_col.Text & CRLF) + Printer1.WriteString("Telefono: " & telefono & CRLF) + Printer1.WriteString(" " & CRLF) + Dim notaabono As String + Dim saldopendiente As Double + + If tipo_abonox = "abono" Then + + + c = Starter.skmt.ExecQuery($"select distinct hvd_num_ticket from hist_ventas where hvd_cliente = '${la_cuenta.Text}'"$) + If c.RowCount > 0 Then + c.Position = 0 + notaabono = c.GetString("HVD_NUM_TICKET") + End If + c.Close + + c = Starter.skmt.ExecQuery($"select iFNULL(sum(PA_MONTO),0) AS SALDO_PENDIENTE from PAGARES where PA_CLIENTE = '${la_cuenta.Text}'"$) + If c.RowCount > 0 Then + c.Position = 0 + saldopendiente = c.GetDouble("SALDO_PENDIENTE") + Log(c.GetString("SALDO_PENDIENTE")) + End If + c.Close + + + Dim saldopendiente1 As Double = 0 + Dim c4 As Cursor= Starter.skmt.ExecQuery("SELECT Ifnull(SUM(a_abono),0) AS SALDO_PENDIENTE FROM ABONOS WHERE a_cliente IN (SELECT CUENTA FROM CUENTAA) and a_tipoabono is not null") + If c4.RowCount > 0 Then + c4.Position = 0 + Dim c5 As Cursor= Starter.skmt.ExecQuery("SELECT Ifnull(a_abono,0) AS SALDO_PENDIENTE FROM ABONOS WHERE a_cliente IN (SELECT CUENTA FROM CUENTAA) and a_tipoabono is not null") + saldopendiente1 = c4.GetDouble("SALDO_PENDIENTE") + + + End If + c4.Close + + Else If tipo_abonox = "cxc" Then + c = Starter.skmt.ExecQuery("SELECT NOTA, SUM(SALDO_PENDIENTE) AS SALDO_PENDIENTE FROM ABONOSP WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA)") + If c.RowCount > 0 Then + c.Position = 0 + notaabono = c.GetString("NOTA") + saldopendiente = c.GetDouble("SALDO_PENDIENTE") + End If + c.Close + + Dim saldopendiente1 As Double = 0 + Dim c4 As Cursor= Starter.skmt.ExecQuery("SELECT Ifnull(SUM(a_abono),0) AS SALDO_PENDIENTE FROM ABONOS WHERE a_cliente IN (SELECT CUENTA FROM CUENTAA) and a_tipoabono is null") + If c4.RowCount > 0 Then + c4.Position = 0 + Dim c5 As Cursor= Starter.skmt.ExecQuery("SELECT Ifnull(a_abono,0) AS SALDO_PENDIENTE FROM ABONOS WHERE a_cliente IN (SELECT CUENTA FROM CUENTAA) and a_tipoabono is null") + saldopendiente1 = c4.GetDouble("SALDO_PENDIENTE") + + + + End If + c4.Close + End If + + + +' c = Starter.skmt.ExecQuery("SELECT NOTA FROM ABONOSP WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA)") +' If c.RowCount > 0 Then +' c.Position = 0 +' notaabono = c.GetString("NOTA") +' End If + Dim numpago As Int = c5.RowCount + 1 + Log(notaabono) + Log(et_abono.Text) + Printer1.WriteString("Comprobante de pago del pagare" & CRLF) + Printer1.WriteString("Folio: " & notaabono &"-"&(numpago)& CRLF) + Printer1.WriteString("Monto deuda: " & (NumberFormat(saldopendiente - saldopendiente1,0,2)) & CRLF) + Printer1.WriteString("Monto abono: " & (NumberFormat(et_abono.Text,0,2)) & CRLF) + Printer1.WriteString("Restante: " &(NumberFormat(saldopendiente-et_abono.Text - saldopendiente1,0,2)) & CRLF) + Printer1.WriteString("Fecha Abono: " & sDate & CRLF) + Printer1.WriteString(" " & CRLF) + Printer1.WriteString(" " & CRLF) + Printer1.WriteString(" " & CRLF) + Printer1.WriteString(" " & CRLF) + Printer1.WriteString(" " & CRLF) + Printer1.WriteString(" " & CRLF) + Printer1.WriteString(" " & CRLF) + Printer1.WriteString("------------------------------" & CRLF) + Printer1.WriteString("-------------FIRMA------------" & CRLF) + Printer1.WriteString(" " & CRLF) + Printer1.WriteString(" " & CRLF) + Printer1.WriteString(" " & CRLF) + DateTime.DateFormat = "ddMMyyyy" + sDate=DateTime.Date(DateTime.Now) + + +' Items.Add("TRANSFERENCIA") +' Items.Add("EFECTIVO") +' Items.Add("CHEQUE") + Dim tipopagotick As String = "" + If itemselect = "TRANSFERENCIA" Then + tipopagotick = "T" + Else If itemselect = "EFECTIVO" Then + tipopagotick = "E" + Else If itemselect = "CHEQUE" Then + tipopagotick = "C" + End If + + Printer1.WriteBarCode("I",notaabono&sDate&tipopagotick&numpago) + Printer1.WriteString(" " & CRLF) + Printer1.WriteString(" " & CRLF) + Printer1.WriteString(" " & CRLF) + Sleep(1000) + Printer1.DisConnect + ProgressDialogHide + + + If tipo_abonox = "abono" Then + Msgbox2Async("Deseas imprimir de nuevo el ticket?", "ATENCION","SI","", "NO",LoadBitmap(File.DirAssets,"alert2.png"), False) + + Wait For Msgbox_Result (resultado As Int) + If resultado = DialogResponse.POSITIVE Then + imprime_abonopagare + Else + p_abono.Visible = False +' Starter.skmt.ExecNonQuery($"INSERT INTO ABONOS(a_usuario, a_ruta, a_cliente, a_abono, a_fecha, TIPO_PAGO, CONSECUTIVO, NUM_TICKET, RUTA_REP) VALUES ('${Subs.traeUsuarioDeBD}', '${Subs.traeRuta(Subs.traeCliente)}', '${Subs.traeCliente}' ,'${et_abono.text}', '${Subs.fechaKMT(DateTime.now)}', '${itemselect}', '${consecutivo}', '${d.GetString("NOTA")}' , '${d5.GetString("RUTAA")}')"$) + Starter.skmt.ExecNonQuery($"INSERT INTO ABONOS(a_usuario, a_ruta, a_cliente, a_abono, a_fecha,a_tipoabono,TIPO_PAGO,a_ticket,a_numpago) VALUES ('${Subs.traeUsuarioDeBD}', '${Subs.traeRuta(Subs.traeCliente)}', '${Subs.traeCliente}' ,'${et_abono.text}', '${Subs.fechaKMT(DateTime.now)}', 1,'${itemselect}','${notaabono}','${numpago}')"$) + ToastMessageShow("Abono guardado", False) + End If + + Else If tipo_abonox = "cxc" Then + Msgbox2Async("Deseas imprimir de nuevo el ticket?", "ATENCION","SI","", "NO",LoadBitmap(File.DirAssets,"alert2.png"), False) + Wait For Msgbox_Result (resultado As Int) + If resultado = DialogResponse.POSITIVE Then + imprime_abonopagare +' p_abono.Visible = False +' Starter.skmt.ExecNonQuery($"INSERT INTO ABONOS(a_usuario, a_ruta, a_cliente, a_abono, a_fecha) VALUES ('${Subs.traeUsuarioDeBD}', '${Subs.traeRuta(Subs.traeCliente)}', '${Subs.traeCliente}' ,'${et_abono.text}', '${Subs.fechaKMT(DateTime.now)}')"$) +' ToastMessageShow("Abono guardado", False) + Else + + h = Starter.skmt.ExecQuery("SELECT CUENTA from CUENTAA") + h.Position = 0 + Log(h.GetString("CUENTA")) + j = Starter.skmt.ExecQuery2("SELECT a_abono FROM ABONOS WHERE a_cliente = ?", Array As String(h.GetString("CUENTA"))) + j.position = 0 + If j.RowCount = 0 Then + p_abono.Visible = False + Starter.skmt.ExecNonQuery($"INSERT INTO ABONOS(a_usuario, a_ruta, a_cliente, a_abono, a_fecha,TIPO_PAGO,a_ticket,a_numpago) VALUES ('${Subs.traeUsuarioDeBD}', '${Subs.traeRuta(Subs.traeCliente)}', '${Subs.traeCliente}' ,'${et_abono.text}', '${Subs.fechaKMT(DateTime.now)}','${itemselect}','${notaabono}','${numpago}')"$) + ToastMessageShow("Abono guardado", False) + Dim rutaactualizar As String + Dim rut As Cursor = Starter.skmt.ExecQuery("SELECT CAT_CL_RUTA FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)") + If rut.RowCount > 0 Then + rut.Position = 0 + rutaactualizar = rut.GetString("CAT_CL_RUTA") + End If + Starter.skmt.ExecNonQuery($"UPDATE kmt_info set gestion = 0, HORAENT = '${sDate & " " & sTime}' where CAT_CL_CODIGO In (select cuenta from cuentaa) and CAT_CL_RUTA = '${rutaactualizar}'"$) + Starter.skmt.ExecNonQuery($"DELETE FROM NOVENTA WHERE NV_CLIENTE IN (select cuenta from cuentaa)"$) + Private c3 As Cursor = Starter.skmt.ExecQuery("SELECT * FROM PEDIDO WHERE PE_CLIENTEOR IN (SELECT CUENTA FROM CUENTAA)") + If c3.RowCount = 0 Then + Starter.skmt.ExecNonQuery($"update HIST_VENTAS set HVD_RECHAZO = 0, HVD_RECHAZOCANT = 0, BCAJAS = BCAJAS_OR, CANTC = CANTC_OR WHERE HVD_cliente in (Select CUENTA from cuentaa)"$) + B4XPage_Appear + Else + MsgboxAsync("Hay productos que ya se vendieron, no se puede regresar la venta","Atención") + End If + Dim textedit As Double = et_abono.Text + Dim sumaresta As Double = saldopendiente-textedit-saldopendiente1 + Log(NumberFormat2(sumaresta,0,2,2,False)) + If NumberFormat2(sumaresta,0,2,2,False) <> "-.00" Then + If NumberFormat2(sumaresta,0,2,2,False) <> ".00" Then + Dim rutaactualizar As String + Dim rut As Cursor = Starter.skmt.ExecQuery("SELECT CAT_CL_RUTA FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)") + If rut.RowCount > 0 Then + rut.Position = 0 + rutaactualizar = rut.GetString("CAT_CL_RUTA") + End If + Starter.skmt.ExecNonQuery($"UPDATE kmt_info set gestion = 3, HORAENT = '${sDate & " " & sTime}' where CAT_CL_CODIGO In (select cuenta from cuentaa) and CAT_CL_RUTA = '${rutaactualizar}'"$) + Starter.skmt.ExecNonQuery($"DELETE FROM NOVENTA WHERE NV_CLIENTE IN (select cuenta from cuentaa)"$) + Starter.skmt.ExecNonQuery2("INSERT INTO NOVENTA (NV_CLIENTE,NV_FECHA,NV_USER,NV_MOTIVO,NV_COMM,NV_LAT,NV_LON,NV_FOTO,NV_REPROGRAMAR) VALUES(?,?,?,?,?,?,?,?,?) ", Array As Object (la_cuenta.Text,sDate & sTime, usuario, "PAGO INCOMPLETO","PAGO INCOMPLETO", B4XPages.MainPage.lat_gps, B4XPages.MainPage.lon_gps,rutaactualizar,0)) + Starter.skmt.ExecNonQuery("update HIST_VENTAS SET HVD_RECHAZO = 1, HVD_RECHAZOCANT = HVD_CANT, HVD_RECHAZOCANTC = CANTC, BCAJAS = 0 , CANTC = 0 WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)") + Starter.skmt.ExecNonQuery($"update HIST_VENTAS set HVD_RECHAZO = 2, HVD_RECHAZOCANT = HVD_RECHAZOCANT WHERE HVD_PROID = HVD_CODPROMO and HVD_CLIENTE in (Select CUENTA from cuentaa)"$) + Starter.skmt.ExecNonQuery("DELETE FROM PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA)") + d = Starter.skmt.ExecQuery("SELECT RUTAA FROM RUTAA") + d.Position = 0 + Dim ruta As String = d.GetString("RUTAA") + d.Close + d = Starter.skmt.ExecQuery("SELECT CAT_CL_RUTA FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)") + d.Position = 0 + Dim rutapre As String = d.GetString("CAT_CL_RUTA") + d.Close + d = Starter.skmt.ExecQuery("SELECT HVD_FECHA FROM HIST_VENTAS WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)") + d.Position = 0 + Dim fechaprev As String = d.GetString("HVD_FECHA") + d.Close + d = Starter.skmt.ExecQuery("SELECT CUENTA FROM CUENTAA") + d.Position = 0 + Starter.skmt.ExecNonQuery2("INSERT INTO REPARTO_GEO (CLIENTE, USUARIO, FECHA_PUNTEO, LATITUD, LONGITUD, ALMACEN, RUTA_REPARTO, RUTA_PREV, FECHA_PREVENTA, MOTIVO, COMENTARIO,TIPO,ENVIO) VALUES(?,?,?,?,?,?,?,?,?,?,?,?,0)",Array As String (cuenta, usuario, sDate &" "&sTime, B4XPages.MainPage.lat_gps, B4XPages.MainPage.lon_gps,B4XPages.MainPage.almacen,ruta,rutapre,fechaprev, "PAGO INCOMPLETO", "PAGO INCOMPLETO","NO ENTREGADO")) + B4XPages.ShowPage("Principal") + End If + End If + Else + p_abono.Visible = False + Starter.skmt.ExecNonQuery($"INSERT INTO ABONOS(a_usuario, a_ruta, a_cliente, a_abono, a_fecha,TIPO_PAGO,a_ticket,a_numpago) VALUES ('${Subs.traeUsuarioDeBD}', '${Subs.traeRuta(Subs.traeCliente)}', '${Subs.traeCliente}' ,'${et_abono.text}', '${Subs.fechaKMT(DateTime.now)}','${itemselect}','${notaabono}','${numpago}')"$) + ToastMessageShow("Abono guardado", False) + Dim rutaactualizar As String + Dim rut As Cursor = Starter.skmt.ExecQuery("SELECT CAT_CL_RUTA FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)") + If rut.RowCount > 0 Then + rut.Position = 0 + rutaactualizar = rut.GetString("CAT_CL_RUTA") + End If + Starter.skmt.ExecNonQuery($"UPDATE kmt_info set gestion = 0, HORAENT = '${sDate & " " & sTime}' where CAT_CL_CODIGO In (select cuenta from cuentaa) and CAT_CL_RUTA = '${rutaactualizar}'"$) + Starter.skmt.ExecNonQuery($"DELETE FROM NOVENTA WHERE NV_CLIENTE IN (select cuenta from cuentaa)"$) + Private c3 As Cursor = Starter.skmt.ExecQuery("SELECT * FROM PEDIDO WHERE PE_CLIENTEOR IN (SELECT CUENTA FROM CUENTAA)") + If c3.RowCount = 0 Then + Starter.skmt.ExecNonQuery($"update HIST_VENTAS set HVD_RECHAZO = 0, HVD_RECHAZOCANT = 0, BCAJAS = BCAJAS_OR, CANTC = CANTC_OR WHERE HVD_cliente in (Select CUENTA from cuentaa)"$) + B4XPage_Appear + Else + MsgboxAsync("Hay productos que ya se vendieron, no se puede regresar la venta","Atención") + End If + Dim textedit As Double = et_abono.Text + Dim sumaresta As Double = saldopendiente-textedit-saldopendiente1 +' Log(NumberFormat2(sumaresta,0,2,2,False)) + If NumberFormat2(sumaresta,0,2,2,False) <> "-.00" Then + If NumberFormat2(sumaresta,0,2,2,False) <> ".00" Then + Dim rutaactualizar As String + Dim rut As Cursor = Starter.skmt.ExecQuery("SELECT CAT_CL_RUTA FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)") + If rut.RowCount > 0 Then + rut.Position = 0 + rutaactualizar = rut.GetString("CAT_CL_RUTA") + End If + Starter.skmt.ExecNonQuery($"UPDATE kmt_info set gestion = 3, HORAENT = '${sDate & " " & sTime}' where CAT_CL_CODIGO In (select cuenta from cuentaa) and CAT_CL_RUTA = '${rutaactualizar}'"$) + Starter.skmt.ExecNonQuery($"DELETE FROM NOVENTA WHERE NV_CLIENTE IN (select cuenta from cuentaa)"$) + Starter.skmt.ExecNonQuery2("INSERT INTO NOVENTA (NV_CLIENTE,NV_FECHA,NV_USER,NV_MOTIVO,NV_COMM,NV_LAT,NV_LON,NV_FOTO,NV_REPROGRAMAR) VALUES(?,?,?,?,?,?,?,?,?) ", Array As Object (la_cuenta.Text,sDate & sTime, usuario, "PAGO INCOMPLETO","PAGO INCOMPLETO", B4XPages.MainPage.lat_gps, B4XPages.MainPage.lon_gps,rutaactualizar,0)) + Starter.skmt.ExecNonQuery("update HIST_VENTAS SET HVD_RECHAZO = 1, HVD_RECHAZOCANT = HVD_CANT, HVD_RECHAZOCANTC = CANTC, BCAJAS = 0 , CANTC = 0 WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)") + Starter.skmt.ExecNonQuery($"update HIST_VENTAS set HVD_RECHAZO = 2, HVD_RECHAZOCANT = HVD_RECHAZOCANT WHERE HVD_PROID = HVD_CODPROMO and HVD_CLIENTE in (Select CUENTA from cuentaa)"$) + Starter.skmt.ExecNonQuery("DELETE FROM PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA)") + d = Starter.skmt.ExecQuery("SELECT RUTAA FROM RUTAA") + d.Position = 0 + Dim ruta As String = d.GetString("RUTAA") + d.Close + d = Starter.skmt.ExecQuery("SELECT CAT_CL_RUTA FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)") + d.Position = 0 + Dim rutapre As String = d.GetString("CAT_CL_RUTA") + d.Close + d = Starter.skmt.ExecQuery("SELECT HVD_FECHA FROM HIST_VENTAS WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)") + d.Position = 0 + Dim fechaprev As String = d.GetString("HVD_FECHA") + d.Close + d = Starter.skmt.ExecQuery("SELECT CUENTA FROM CUENTAA") + d.Position = 0 + Starter.skmt.ExecNonQuery2("INSERT INTO REPARTO_GEO (CLIENTE, USUARIO, FECHA_PUNTEO, LATITUD, LONGITUD, ALMACEN, RUTA_REPARTO, RUTA_PREV, FECHA_PREVENTA, MOTIVO, COMENTARIO,TIPO,ENVIO) VALUES(?,?,?,?,?,?,?,?,?,?,?,?,0)",Array As String (cuenta, usuario, sDate &" "&sTime, B4XPages.MainPage.lat_gps, B4XPages.MainPage.lon_gps,B4XPages.MainPage.almacen,ruta,rutapre,fechaprev, "PAGO INCOMPLETO", "PAGO INCOMPLETO","NO ENTREGADO")) + B4XPages.ShowPage("Principal") + End If + End If + + End If + End If + + End If +' printer.Flush + ' printer.Close +End Sub + +Private Sub b_cancel_pagare_Click + tipo_abonox = "abono" + + Dim Items As List + Items.Initialize + + Items.Add("SELECCIONA UNA OPCION") + Items.Add("TRANSFERENCIA") + Items.Add("EFECTIVO") + Items.Add("CHEQUE") + + cb_tipopago.SetItems(Items) + + itemselect= "SELECCIONA UNA OPCION" + + h = Starter.skmt.ExecQuery("SELECT CUENTA from CUENTAA") + h.Position = 0 + Log(h.GetString("CUENTA")) + j = Starter.skmt.ExecQuery2("SELECT a_abono FROM ABONOS WHERE a_cliente = ? and a_tipoabono is null", Array As String(h.GetString("CUENTA"))) + j.position = 0 + Log(j.RowCount) + If j.RowCount = 0 Then + p_abono.Visible = True + p_abono.Width = Root.Width + p_abono.Height = Root.Height + et_abono.text = "" + Dim total As Double = 0 + f = Starter.skmt.ExecQuery("SELECT CUENTA FROM CUENTAA") + f.Position = 0 + d = Starter.skmt.ExecQuery2("SELECT distinct PA_TICKET, PA_MONTO FROM PAGARES WHERE PA_CLIENTE = ?", Array As String (f.GetString("CUENTA"))) + clv_abonos.Clear + For i = 0 To d.RowCount - 1 + d.Position = i + clv_abonos.Add(CreateListItem(d.GetString("PA_TICKET"),"$ " & d.GetString("PA_MONTO")),i) + + total = total + d.GetString("PA_MONTO") + Log(total) + Next + d.Close + d = Starter.skmt.ExecQuery2("SELECT a_abono FROM ABONOS WHERE a_cliente = ? and a_tipoabono is not null ", Array As String (f.GetString("CUENTA"))) + If d.RowCount > 0 Then + For i = 0 To d.RowCount - 1 + d.Position = i + clv_abonos.Add(CreateListItem("ABONO","$ " & d.GetString("a_abono")),i) + total = total - d.GetString("a_abono") + Log(total) + Next + End If + l_montoabonostotal.Text = NumberFormat2(total,0,2,2,False) + d.Close + f.Close + Else If j.RowCount > 0 Then + p_abono.Visible = True + p_abono.Width = Root.Width + p_abono.Height = Root.Height + et_abono.text = "" + Dim total As Double = 0 + f = Starter.skmt.ExecQuery("SELECT CUENTA FROM CUENTAA") + f.Position = 0 + d = Starter.skmt.ExecQuery2("SELECT distinct PA_TICKET, PA_MONTO FROM PAGARES WHERE PA_CLIENTE = ? ", Array As String (f.GetString("CUENTA"))) + clv_abonos.Clear + For i = 0 To d.RowCount - 1 + d.Position = i + clv_abonos.Add(CreateListItem(d.GetString("PA_TICKET"),"$ " & d.GetString("PA_MONTO")),i) + + total = total + d.GetString("PA_MONTO").Replace(",","") + Log(total) + Next + d.Close + d = Starter.skmt.ExecQuery2("SELECT a_abono FROM ABONOS WHERE a_cliente = ? and a_tipoabono is not null ", Array As String (f.GetString("CUENTA"))) + If d.RowCount > 0 Then + For i = 0 To d.RowCount - 1 + d.Position = i + clv_abonos.Add(CreateListItem("ABONO","$ " & d.GetString("a_abono")),i) + total = total - d.GetString("a_abono") + Log(total) + Next + End If + l_montoabonostotal.Text = NumberFormat2(total,0,2,2,False) + d.Close + f.Close +' MsgboxAsync("Este cliente ya tiene un pago capturado","Atención") + End If + h.Close + j.Close + +' End If + + + + +End Sub + +Private Sub p_abono_Click + +End Sub + +Sub CreateListItem(mostrar As String, mostrar1 As String) As Panel + Dim p As B4XView = xui.CreatePanel("") + p.SetLayoutAnimated(0, 0, 0, 1, 10) + p.LoadLayout("folioabono") + p.Height= 32dip + p.Width = 80dip +' p.Width = clv_orden.GetBase.Width + l_folio.Text = mostrar + l_saldo.Text = mostrar1 +' cxc.Text = mostrar3 +' Log(p.Width) + Return p +End Sub + +Private Sub b_cancelar_Click + et_abono.Text = "" + p_abono.Visible = False + ime.HideKeyboard +End Sub + +'Private Sub b_abono_Click +'' p_abono.Visible = False +' If et_abono.Text <> "" Then +' If et_abono.text > l_montoabonostotal.text Then +' MsgboxAsync("El monto a abonar no puede ser mayor que el monto total","Atención" ) +' Else +' If et_abono.Text <> "" Then +' +' Dim k As Cursor = Starter.skmt.ExecQuery("SELECT CUENTA from CUENTAA") +' k.Position = 0 +' Log(k.GetString("CUENTA")) +' Dim y As Cursor = Starter.skmt.ExecQuery2("SELECT a_abono FROM ABONOS WHERE a_cliente = ?", Array As String(k.GetString("CUENTA"))) +' y.position = 0 +' +' If y.RowCount = 0 Then +' Msgbox2Async($"¿Seguro que quieres realizar un abono de $${et_abono.text} para este cliente?"$, "Guardar Abono", "Guardar", "Cancelar", "", Null, True) +' Wait For Msgbox_Result (resultado As Int) +' If resultado = DialogResponse.POSITIVE Then +' hazpago +' End If +' Else If et_abono.Text > y.GetString("a_abono") Then +' Msgbox2Async($"¿Seguro que quieres realizar un abono de $${et_abono.text} para este cliente?"$, "Guardar Abono", "Guardar", "Cancelar", "", Null, True) +' Wait For Msgbox_Result (resultado As Int) +' If resultado = DialogResponse.POSITIVE Then +' hazpago +' End If +' Else If et_abono.Text = y.GetString("a_abono") Then +' p_abono.Visible = False +' et_abono.Text = "" +' Else If et_abono.Text < y.GetString("a_abono") Then +' p_abono.Visible = False +' MsgboxAsync("El pago no puede ser menor al monto capturado.","Atención") +' et_abono.Text = "" +' End If +' +' +' +' End If +' End If +' End If +' ime.HideKeyboard +'End Sub + +Private Sub b_abono_Click + + If et_abono.Text <> "" Then + If et_abono.text > l_montoabonostotal.text Then + MsgboxAsync("El monto a abonar no puede ser mayor que el monto total","Atención" ) + Else + If et_abono.Text <> "" And et_abono.Text > 0 Then + If itemselect <> "SELECCIONA UNA OPCION" Then + +' Dim k As Cursor = Starter.skmt.ExecQuery("SELECT CUENTA from CUENTAA") +' k.Position = 0 +' Log(k.GetString("CUENTA")) +' Dim y As Cursor = Starter.skmt.ExecQuery2("SELECT a_abono FROM ABONOS WHERE a_cliente = ?", Array As String(k.GetString("CUENTA"))) +' y.position = 0 +' If y.RowCount = 0 Then + Msgbox2Async($"¿Seguro que quieres realizar un abono de $${et_abono.text} para este cliente?"$, "Guardar Abono", "Guardar", "Cancelar", "", Null, True) + Wait For Msgbox_Result (resultado As Int) + If resultado = DialogResponse.POSITIVE Then + imprime_abonopagare + End If +' Else If et_abono.Text > y.GetString("a_abono") Then +' Msgbox2Async($"¿Seguro que quieres realizar un abono de $${et_abono.text} para este cliente?"$, "Guardar Abono", "Guardar", "Cancelar", "", Null, True) +' Wait For Msgbox_Result (resultado As Int) +' If resultado = DialogResponse.POSITIVE Then +' imprime_abonopagare +' End If +' Else If et_abono.Text = y.GetString("a_abono") Then +' p_abono.Visible = False +' et_abono.Text = "" +' Else If et_abono.Text < y.GetString("a_abono") Then +' p_abono.Visible = False +' MsgboxAsync("El pago no puede ser menor al monto capturado.","Atención") +' et_abono.Text = "" +' End If + Else + MsgboxAsync("Por favor selecciona un metodo de pago","Atención") + End If + End If + End If + End If + ime.HideKeyboard +End Sub + +Sub imprime_pagare + c=Starter.skmt.ExecQuery("select USUARIO from usuarioa") + c.Position=0 + usuario = c.GetString("USUARIO") + DateTime.DateFormat = "MM/dd/yyyy" + sDate=DateTime.Date(DateTime.Now) + sTime=DateTime.Time(DateTime.Now) + c.Close +' ProgressDialogShow("Imprimiendo, un momento ...") +' Printer1.DisConnect +' If Not(Printer1.IsConnected) Then + '' Log("Conectando a impresora ...") +' Printer1.Connect +' Private cont As Int = 0 +' Do While Not(impresoraConectada) +' Sleep(1000) + '' Log("++++++ " & cont) +' cont = cont + 1 +' If cont = 2 Then Printer1.Connect 'Tratamos de reconectar +' If cont > 3 Then impresoraConectada = True +' Loop +' Sleep(500) +' impresoraConectada = False +' Else + '' Log("conectando 2") +' Printer1.Connect +' Private cont As Int = 0 +' Do While Not(impresoraConectada) Or Not(Printer1.IsConnected) +' Sleep(1000) + '' Log("****** " & cont) +' cont = cont + 1 +' If cont = 2 Then Printer1.Connect +' If cont > 3 Then impresoraConectada = True +' Loop +' Sleep(500) +' impresoraConectada = False +' End If + + ProgressDialogShow("Imprimiendo, un momento ...") + Printer1.DisConnect + If Not(Printer1.IsConnected) Then +' If logger Then Log("conectando 1") + Printer1.Connect + Private cont As Int = 0 + Do While Not(impresoraConectada) + Sleep(1000) + cont = cont + 1 + If cont = 7 Then Printer1.Connect 'Tratamos de reconectar + If cont > 15 Then impresoraConectada = True + Loop + Sleep(500) + impresoraConectada = False + Else +' If logger Then Log("conectando 2") + Printer1.Connect + Private cont As Int = 0 + Do While Not(impresoraConectada) Or Not(Printer1.IsConnected) + Sleep(1000) + cont = cont + 1 + If cont = 2 Then Printer1.Connect + If cont > 4 Then impresoraConectada = True + Loop + Sleep(500) + impresoraConectada = False + End If + + TAMANO = 0 + ESPACIO = 28 + BLANCO = " " + + Dim telefono As String = "" + Dim c7 As Cursor = Starter.skmt.ExecQuery("select IFNULL(CAT_CL_TELEFONO,' ') AS CAT_CL_TELEFONO FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)") + If c7.RowCount > 0 Then + c7.Position = 0 + telefono = c7.GetString("CAT_CL_TELEFONO") + End If + c7.Close + +' Dim bmp As Bitmap +'' bmp.InitializeResize(File.DirAssets, "logo-guna-18.jpg", 192, 192, True) 'ignore +' Dim myimage As AnImage = Printer1.ImageToBWIMage(bmp) +' myimage = Printer1.DitherImage2D(myimage, 128) +' myimage= Printer1.PackImage(myimage) +' Printer1.WriteString(CRLF) ' nudge the printer to show the user something is happening +' Printer1.WriteString(Printer1.REVERSE) +' Printer1.PrintImage(myimage) +' Printer1.WriteString(Printer1.UNREVERSE) + +' Dim Ticket As String = 0 +' Dim c6 As Cursor = Starter.skmt.ExecQuery("select distinct HVD_NUM_TICKET FROM HIST_VENTAS WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)") +' If c6.RowCount > 0 Then +' c6.Position = 0 +' Ticket = c6.GetString("HVD_NUM_TICKET") +' End If +' c6.Close + DateTime.DateFormat = "dd/MM/yyyy" + DateTime.TimeFormat = "HH:mm:ss" + sDate=DateTime.Date(DateTime.Now) + sTime=DateTime.Time(DateTime.Now) + Printer1.WriteString("Izca Distribuciones" & CRLF) + Printer1.WriteString(sDate & CRLF) + Printer1.WriteString(sTime & CRLF) + Printer1.WriteString("Reparto:" & usuario & CRLF) + Printer1.WriteString("Tienda: " & La_nombre.Text & CRLF) + Printer1.WriteString("ID.Cliente: " & la_cuenta.Text & CRLF) + Printer1.WriteString("Calle: " & la_Calle.Text & CRLF) + Printer1.WriteString("Colonia: " & la_col.Text & CRLF) + Printer1.WriteString("Telefono: " & telefono & CRLF) + Dim Ticket As String = 0 + Dim c6 As Cursor = Starter.skmt.ExecQuery("select distinct HVD_NUM_TICKET FROM HIST_VENTAS WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND HVD_PRONOMBRE <> 'Cobranza Pendiente' and HVD_BCREDITO = '1'") + If c6.RowCount > 0 Then + For k = 0 To c6.RowCount -1 + c6.Position = k + Ticket = c6.GetString("HVD_NUM_TICKET") + Printer1.WriteString("Num. Ticket " & (k +1)&": " & Ticket & CRLF) + Next + End If + c6.Close + Printer1.WriteString("Fecha: " & sDate &" " & sTime & CRLF) + Printer1.WriteString(" " & CRLF) + + + + c = Starter.skmt.ExecQuery("SELECT * FROM HIST_VENTAS WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA) and HVD_BCREDITO = '1' ") + If c.RowCount > 0 Then + Printer1.WriteString("------------PAGARE------------" & CRLF) + Printer1.WriteString("" & CRLF) + Printer1.WriteString("Pagare por los articulos" & CRLF) + Printer1.WriteString("------------------------------" & CRLF) + ' aqui es donde esta el pedo de julieta de los descuentos quitar el precio2 pero meter un if para saber si es ruta especial o es normal o que show. +' s=Starter.skmt.ExecQuery($"select HVD_PRONOMBRE, HVD_CANT, length(HVD_CANT) as L_CANT, HVD_COSTO_TOT, length(HVD_COSTO_TOT) as L_COSTOU,HVD_PROID, HVD_CODPROMO,IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT, HVD_RECHAZO FROM HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) order by HVD_PROID"$) + s=Starter.skmt.ExecQuery($"select HVD_PRONOMBRE, HVD_CANT, length(HVD_CANT) as L_CANT, HVD_COSTO_TOT, length(HVD_COSTO_TOT) as L_COSTOU,HVD_PROID, HVD_CODPROMO,IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT, HVD_RECHAZO FROM HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) and HVD_BCREDITO = '1' order by HVD_PROID"$) + If S.RowCount>0 Then + For i=0 To S.RowCount -1 + S.Position=i + Log(s.GetString("HVD_RECHAZO")) + If s.GetString("HVD_CANT") - s.GetString("HVD_RECHAZOCANT") > 0 Then + If s.GetString("HVD_CODPROMO") = Subs.traeAlmacen Then + Printer1.Justify = 0 + Printer1.WriteString((s.GetString("HVD_CANT") - s.GetString("HVD_RECHAZOCANT") ) &" "&s.GetString("HVD_PRONOMBRE") & CRLF) +' Dim punit As String = NumberFormat2((s.GETSTRING("HVD_COSTO_TOT")/s.GetString("HVD_CANT")),0,2,2,False) +' TAMANO = punit.Length + TAMANO + ' + '' Private ptot As String = NumberFormat2((punit*s.GetString("HVD_CANT")),0,2,2,False) +' Private ptot As String = NumberFormat2(( (s.GetString("HVD_CANT") - s.GetString("HVD_RECHAZOCANT")) * punit ),0,2,2,False) +' TAMANO = ptot.Length + TAMANO +' +' ESPACIO = (ESPACIO - TAMANO)/2 + '' Log(ESPACIO) +' For E=0 To ESPACIO -1 +' BLANCO = " " & BLANCO +' Next +' Printer1.Justify = 0 +' Printer1.WriteString( (s.GetString("HVD_CANT") - s.GetString("HVD_RECHAZOCANT"))& BLANCO) +' Printer1.Justify = 1 +' Printer1.WriteString( punit & BLANCO) +' Printer1.Justify = 2 +' Printer1.WriteString( ptot & CRLF ) +' TAMANO = 0 +' ESPACIO = 29 +' BLANCO = " " + Else If s.GetString("HVD_RECHAZO") = 1 Then + Printer1.Justify = 0 + Printer1.WriteString((s.GetString("HVD_CANT") - s.GetString("HVD_RECHAZOCANT")) &" "&s.GetString("HVD_PRONOMBRE") & CRLF) + +' Private vc5 As Cursor = Starter.skmt.ExecQuery($"select iFNULL(CAT_GP_PRECIO,0) AS CAT_GP_PRECIO from CAT_GUNAPROD where CAT_GP_ID = '${s.GetString("HVD_PROID")}'"$) +' vc5.Position = 0 +' Dim punit As String = NumberFormat2((vc5.GetString("CAT_GP_PRECIO")),0,2,2,False) +' TAMANO = punit.Length + TAMANO +' vc5.Close +' +' Private ptot As String = NumberFormat2(( (s.GetString("HVD_CANT") - s.GetString("HVD_RECHAZOCANT")) * punit ),0,2,2,False) +' TAMANO = ptot.Length + TAMANO +' +' ESPACIO = (ESPACIO - TAMANO)/2 + '' Log(ESPACIO) +' For E=0 To ESPACIO -1 +' BLANCO = " " & BLANCO +' Next +' Printer1.Justify = 0 +' Printer1.WriteString( (s.GetString("HVD_CANT") - s.GetString("HVD_RECHAZOCANT"))& BLANCO) +' Printer1.Justify = 1 +' Printer1.WriteString( punit & BLANCO) +' Printer1.Justify = 2 +' Printer1.WriteString(ptot& CRLF ) +' TAMANO = 0 +' ESPACIO = 29 +' BLANCO = " " + Printer1.Justify = 0 + End If + End If + Next + End If + End If + Printer1.Justify = 0 + s.Close + Printer1.WriteString(" " & CRLF) +' s=Starter.skmt.ExecQuery($"select HVD_PRONOMBRE, HVD_CANT, length(HVD_CANT) as L_CANT, HVD_COSTO_TOT, length(HVD_COSTO_TOT) as L_COSTOU,HVD_PROID, HVD_CODPROMO,IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT FROM HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) AND HVD_RECHAZO = 0 AND HVD_CODPROMO <> '${Subs.traeAlmacen}' order by HVD_CODPROMO, ESPROMO DESC, HVD_PROID"$) + s=Starter.skmt.ExecQuery($"select HVD_PRONOMBRE, HVD_CANT, length(HVD_CANT) as L_CANT, HVD_COSTO_TOT, length(HVD_COSTO_TOT) as L_COSTOU,HVD_PROID, HVD_CODPROMO,IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT FROM HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) AND HVD_RECHAZO = 0 AND HVD_CODPROMO <> '${Subs.traeAlmacen}' and HVD_BCREDITO = '1' order by HVD_CODPROMO, ESPROMO DESC, HVD_PROID"$) + If S.RowCount>0 Then + Printer1.WriteString("-------PROMOS ENTREGA--------" & CRLF) + Printer1.WriteString("Cant. Precio Importe" & CRLF) + Printer1.WriteString("------------------------------" & CRLF) + For i=0 To S.RowCount -1 + S.Position=i + If s.GetString("HVD_CANT") - s.GetString("HVD_RECHAZOCANT") > 0 Then + If s.GetString("HVD_CODPROMO") <> Subs.traeAlmacen Then + Printer1.Justify = 0 + If s.GetString("HVD_CODPROMO") = s.GetString("HVD_PROID") Then +' Printer1.WriteString("* "&s.GetString("HVD_PRONOMBRE") & CRLF) + Else + If s.GetString("HVD_PRONOMBRE") <> "Cobranza Pendiente" Then +' Printer1.WriteString(s.GetString("HVD_PRONOMBRE") & CRLF) + Printer1.WriteString((s.GetString("HVD_CANT") - s.GetString("HVD_RECHAZOCANT") ) &" "&s.GetString("HVD_PRONOMBRE") & CRLF) + End If + End If +' Dim punit As String =NumberFormat2((s.GETSTRING("HVD_COSTO_TOT")/s.GetString("HVD_CANT")),0,2,2,False) +' TAMANO = punit.Length + TAMANO +' Private ptot As String = NumberFormat2((punit*s.GetString("HVD_CANT")),0,2,2,False) +' TAMANO = ptot.Length + TAMANO +' ESPACIO = (ESPACIO - TAMANO)/2 +' Log(ESPACIO) +' For E=0 To ESPACIO -1 +' BLANCO = " " & BLANCO +' Next +' Printer1.Justify = 0 +' Printer1.WriteString( (s.GetString("HVD_CANT") - s.GetString("HVD_RECHAZOCANT"))& BLANCO) +' Printer1.Justify = 1 +' Printer1.WriteString( punit & BLANCO) +' Printer1.Justify = 2 +' Printer1.WriteString(ptot & CRLF ) +' TAMANO = 0 +' ESPACIO = 29 +' BLANCO = " " + Printer1.Justify = 0 + Else + End If + End If + Next + End If + + Printer1.WriteString(" " & CRLF) + Printer1.WriteString("Por monto de $" &l_montopag.Text& CRLF) + Printer1.WriteString(" " & CRLF) + Printer1.WriteString("Debo(mos) y pagare(mos) incon" & CRLF) + Printer1.WriteString("dicionalmente en _____________" & CRLF) + Printer1.WriteString("o en el lugar donde se me " & CRLF) + Printer1.WriteString("requiera por el presente pagare" & CRLF) + Printer1.WriteString("a Izca Distribuciones la "& CRLF) + Printer1.WriteString("cantidad de $"&l_montopag.Text & CRLF) + Printer1.WriteString("valor recibido a entera " & CRLF) + Printer1.WriteString("satisfaccion. La falta de pago" & CRLF) + Printer1.WriteString("a la fecha indicada causara " & CRLF) + Printer1.WriteString("intereses moratorios a razon " & CRLF) + Printer1.WriteString("de ______% mensual a la fecha." & CRLF) + Printer1.WriteString("" & CRLF) + Printer1.WriteString("" & CRLF) + Printer1.WriteString(" Recibi " & CRLF) + Printer1.WriteString("" & CRLF) + Printer1.WriteString("" & CRLF) + Printer1.WriteString("______________________________" & CRLF) + + Printer1.WriteString(" " & CRLF) + Printer1.WriteString(" " & CRLF) + Printer1.WriteString(" " & CRLF) + DateTime.DateFormat = "ddMMyyyy" + sDate=DateTime.Date(DateTime.Now) +' Printer1.WriteString("JHGHGH " & CRLF) + Printer1.WriteBarCode("I",Ticket&sDate) + + Printer1.WriteString(" " & CRLF) + Printer1.WriteString(" " & CRLF) + Printer1.WriteString(" " & CRLF) + Sleep(1000) + Printer1.DisConnect + ProgressDialogHide + If banderaimp = 1 Then + Msgbox2Async("Deseas imprimir de nuevo el PAGARE?", "ATENCION","SI","", "NO",LoadBitmap(File.DirAssets,"alert2.png"), False) + Wait For Msgbox_Result (resultado As Int) + If resultado = DialogResponse.POSITIVE Then + imprime_pagare + Else + b_acred_Click + End If +' printer.Flush + ' printer.Close + Else If banderaimp = 0 Then + Msgbox2Async("Deseas imprimir de nuevo el PAGARE?", "ATENCION","SI","", "NO",LoadBitmap(File.DirAssets,"alert2.png"), False) + Wait For Msgbox_Result (resultado As Int) + If resultado = DialogResponse.POSITIVE Then + imprime_pagare + End If + End If +' Guardado +End Sub + +'Sub hazpago +' h = Starter.skmt.ExecQuery("SELECT CUENTA from CUENTAA") +' h.Position = 0 +' Log(h.GetString("CUENTA")) +' j = Starter.skmt.ExecQuery2("SELECT a_abono FROM ABONOS WHERE a_cliente = ?", Array As String(h.GetString("CUENTA"))) +' j.position = 0 +' If j.RowCount = 0 Then +' p_abono.Visible = False +' +' Starter.skmt.ExecNonQuery($"INSERT INTO ABONOS(a_usuario, a_ruta, a_cliente, a_abono, a_fecha) VALUES ('${Subs.traeUsuarioDeBD}', '${Subs.traeRuta(Subs.traeCliente)}', '${Subs.traeCliente}' ,'${et_abono.text}', '${Subs.fechaKMT(DateTime.now)}')"$) +' ToastMessageShow("Abono guardado", False) +' et_abono.Text = "" +' Else +' p_abono.Visible = False +' +'' skmt.ExecNonQuery($"INSERT INTO ABONOS(a_usuario, a_ruta, a_cliente, a_abono, a_fecha) VALUES ('${Subs.traeUsuarioDeBD}', '${Subs.traeRuta(Subs.traeCliente)}', '${Subs.traeCliente}' ,'${et_abono.text}', '${Subs.fechaKMT(DateTime.now)}')"$) +' Starter.skmt.ExecNonQuery($"UPDATE ABONOS set a_abono = '${et_abono.text}' where a_usuario = '${Subs.traeUsuarioDeBD}' and a_ruta = '${Subs.traeRuta(Subs.traeCliente)}' and a_cliente In (select cuenta from cuentaa)"$) +' ToastMessageShow("Abono guardado", False) +' et_abono.Text = "" +' End If +'End Sub + +Private Sub cb_tipopago_SelectedIndexChanged (Index As Int) + itemselect = cb_tipopago.SelectedItem +End Sub + +Sub B_IMP2_Click +' c=Starter.skmt.ExecQuery("select USUARIO from usuarioa") +' c.Position=0 +' usuario = c.GetString("USUARIO") +' DateTime.DateFormat = "MM/dd/yyyy" +' sDate=DateTime.Date(DateTime.Now) +' sTime=DateTime.Time(DateTime.Now) +' TAMANO = 0 +' ESPACIO = 21 +' BLANCO = " " +' CREDITO ="1" +' If CREDITO = "1" Then +' DateTime.DateFormat = "MM/dd/yyyy" +' sDate=DateTime.Date(DateTime.Now) +' sTime=DateTime.Time(DateTime.Now) +' printer.Initialize(cmp20.OutputStream) +' printer.WriteLine("DBC.") +' printer.WriteLine("RFC: ") +' printer.WriteLine(sDate) +' printer.WriteLine(sTime) +' printer.WriteLine("Tienda: " & La_nombre.Text) +' s=Starter.skmt.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)") +' s.Position=0 +' printer.WriteLine("Debo (emos) y pagare (mos) incondicionamelte a la orden de DBC a la cantidad de $" & s.GetString("PC_MONTO") & " PESOS _______________________________________________________________________________________________________________ ") +' printer.WriteLine("en esta ciudad o en cualquier otra que se requiera de pago, valor recibido a mi entera satisfaccion y que me obligo a cumplir el dia______________________.") +' printer.WriteLine(" ") +' printer.WriteLine("Si este pagare no fuera cubiertoa su vencimiento Me (nos) obligo (amos) a pagar intereses moratorios a razon de 3 % mensual") +' printer.WriteLine(" ") +' printer.WriteLine(" ") +' printer.WriteLine(" ") +' printer.WriteLine(" ") +' printer.WriteLine(" ") +' printer.WriteLine(" ") +' printer.WriteLine(" ") +' printer.WriteLine("------------------------------") +' printer.WriteLine(" NOMBRE Y FIRMA ") +' printer.WriteLine("------------------------------") +' printer.WriteLine(" ") +' printer.Flush +' End If + +' printer.Initialize(cmp20.OutputStream) +' printer.WriteLine("PROFINA") +' printer.WriteLine("RFC: ") +' printer.WriteLine("Tel.:") +' printer.WriteLine(sDate) +' printer.WriteLine(sTime) +' printer.WriteLine("Vendedor:" & usuario) +' printer.WriteLine("Tienda: " & La_nombre.Text) +' s=Starter.skmt.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)") +' s.Position=0 +' c=Starter.skmt.ExecQuery("select SUM(PE_CANT) AS PE_CANT, SUM(PE_COSTO_TOT) AS PE_COSTO_TOT FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)") +' C.Position=0 +' +' printer.WriteLine("Total : $" & (s.GetString("PC_MONTO") + c.GetString("PE_COSTO_TOT"))) +' s.Close +' printer.WriteLine("-----------ENTREGA------------") +' S=Starter.skmt.ExecQuery("select HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,length(HVD_cant) as L_CANT,HVD_COSTO_TOT,length(HVD_COSTO_TOT) as L_COSTO_TOT from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) ") +' +' 's=skmt.ExecQuery2("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU, PE_COSTO_TOT, length(PE_COSTO_TOT) as L_COSTO_TOT, PE_PROID, PE_CEDIS FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)", Array As String("VENTA")) +' If S.RowCount>0 Then +' For i=0 To S.RowCount -1 +' S.Position=i +' 'If s.GetString("PE_CEDIS") = s.GetString("PE_PROID") Then +' ' printer.WriteLine(s.GetString("PE_PRONOMBRE")) +' +' 'Else +' +' printer.WriteLine(s.GetString("HVD_CANT") & " " & s.GetString("HVD_PRONOMBRE")) +' TAMANO = s.GetLong("L_CANT") + TAMANO +' 'TAMANO = s.GetLong("L_COSTOU") + TAMANO +' TAMANO = s.GetLong("L_COSTO_TOT") + TAMANO +' +' ESPACIO = ESPACIO - TAMANO +' +' For E=0 To ESPACIO -1 +' BLANCO = " " & BLANCO +' Next +' printer.WriteLine("$" & s.GETSTRING("HVD_COSTO_TOT") ) +' TAMANO = 0 +' ESPACIO = 21 +' BLANCO = " " +' 'End If +' Next +' End If +' s.Close +' +' s=Starter.skmt.ExecQuery2("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU, PE_COSTO_TOT, length(PE_COSTO_TOT) as L_COSTO_TOT, PE_PROID, PE_CEDIS FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)", Array As String("VENTA")) +' If S.RowCount>0 Then +' For i=0 To S.RowCount -1 +' S.Position=i +' 'If s.GetString("PE_CEDIS") = s.GetString("PE_PROID") Then +' ' printer.WriteLine(s.GetString("PE_PRONOMBRE")) +' +' 'Else +' +' printer.WriteLine(s.GetString("PE_CANT") & " " & s.GetString("PE_PRONOMBRE")) +' TAMANO = s.GetLong("L_CANT") + TAMANO +' 'TAMANO = s.GetLong("L_COSTOU") + TAMANO +' TAMANO = s.GetLong("L_COSTO_TOT") + TAMANO +' +' ESPACIO = ESPACIO - TAMANO +' +' For E=0 To ESPACIO -1 +' BLANCO = " " & BLANCO +' Next +' printer.WriteLine("$" & s.GETSTRING("PE_COSTO_TOT") ) +' TAMANO = 0 +' ESPACIO = 21 +' BLANCO = " " +' 'End If +' Next +' End If +' s.Close +' printer.WriteLine("------------------------------") +' printer.WriteLine("---NO ES UN COMPROBANTE ------") +' printer.WriteLine("---------FISCAL---------------") +' printer.WriteLine("---COMPROBANTE DE ENTREGA-----") +' printer.WriteLine("------------------------------") +' +' printer.Flush + ' printer.Close + + c=Starter.skmt.ExecQuery("select USUARIO from usuarioa") + c.Position=0 + usuario = c.GetString("USUARIO") +' DateTime.DateFormat = "MM/dd/yyyy" + DateTime.DateFormat = "MM/dd/yyyy" + DateTime.TimeFormat="HH:mm:ss" + sDate=DateTime.Date(DateTime.Now) + sTime=DateTime.Time(DateTime.Now) + c.Close +' c=Starter.skmt.ExecQuery2("SELECT CAT_VA_VALOR FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION =?", Array As String ("SUCURSAL")) +' c.Position = 0 +' sucursal = c.GetString("CAT_VA_VALOR") +' c.Close + + ProgressDialogShow("Imprimiendo, un momento ...") + Printer1.DisConnect + If Not(Printer1.IsConnected) Then +' Log("Conectando a impresora ...") + Printer1.Connect + Private cont As Int = 0 + Do While Not(impresoraConectada) + Sleep(1000) +' Log("++++++ " & cont) + cont = cont + 1 + If cont = 2 Then Printer1.Connect 'Tratamos de reconectar + If cont > 3 Then impresoraConectada = True + Loop + Sleep(500) + impresoraConectada = False + Else +' Log("conectando 2") + Printer1.Connect + Private cont As Int = 0 + Do While Not(impresoraConectada) Or Not(Printer1.IsConnected) + Sleep(1000) +' Log("****** " & cont) + cont = cont + 1 + If cont = 2 Then Printer1.Connect + If cont > 3 Then impresoraConectada = True + Loop + Sleep(500) + impresoraConectada = False + End If + + TAMANO = 0 + ESPACIO = 28 + BLANCO = " " +' Dim bmp As Bitmap +' bmp.InitializeResize(File.DirAssets, "mariana.jpg", 192, 250, True) 'ignore +' Dim myimage As AnImage = Printer1.ImageToBWIMage(bmp) + +' myimage = Printer1.DitherImage2D(myimage, 128) +' +' myimage= Printer1.PackImage(myimage) +' Printer1.WriteString(CRLF) ' nudge the Printer1 to show the user something is happening +' Printer1.WriteString(Printer1.REVERSE) +' +' Printer1.PrintImage(myimage) +' Printer1.WriteString(Printer1.UNREVERSE) + +' Printer1.Justify = 1 + 'Printer1.Initialize(cmp20.OutputStream) +' Printer1.WriteString("DISTRIBUIDORA ROCHA TULA PACHUCA" & CRLF) + Printer1.WriteString("Izca Distribuciones" & CRLF) +' Printer1.WriteString(sucursal & CRLF) + Printer1.WriteString(sDate & CRLF) + Printer1.WriteString(sTime & CRLF) + Printer1.WriteString("Vendedor:" & usuario & CRLF) + Printer1.WriteString("Tienda: " & La_nombre.Text & CRLF) + Printer1.WriteString("ID.Cliente: " & la_cuenta.Text & CRLF) + Printer1.WriteString("Calle: " & la_Calle.Text & CRLF) + Printer1.WriteString("Colonia: " & la_col.Text & CRLF) +' Printer1.WriteString("C.P.: " & la_cp.Text & CRLF) +' Printer1.WriteString("Entre calle1: " & l_entre1.Text & CRLF) +' Printer1.WriteString("Entre Calle2: " & l_entre2.Text & CRLF) + Printer1.WriteString(" " & CRLF) + c = Starter.skmt.ExecQuery("SELECT * FROM HIST_VENTAS WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)") + If c.RowCount > 0 Then + Printer1.WriteString("------------ENTREGA-----------" & CRLF) + +' Printer1.WriteString("--------------------------------" & CRLF) + Printer1.WriteString("Cant. Precio Importe" & CRLF) + + Printer1.WriteString("------------------------------" & CRLF) + ' aqui es donde esta el pedo de julieta de los descuentos quitar el precio2 pero meter un if para saber si es ruta especial o es normal o que show. + s=Starter.skmt.ExecQuery($"select HVD_PRONOMBRE, HVD_CANT, length(HVD_CANT) as L_CANT, HVD_COSTO_TOT, length(HVD_COSTO_TOT) as L_COSTOU,HVD_PROID, HVD_CODPROMO,IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT, HVD_RECHAZO FROM HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) order by HVD_PROID"$) + If S.RowCount>0 Then + For i=0 To S.RowCount -1 + S.Position=i + Log(s.GetString("HVD_RECHAZO")) + If s.GetString("HVD_CANT") - s.GetString("HVD_RECHAZOCANT") > 0 Then + + + If s.GetString("HVD_CODPROMO") = Subs.traeAlmacen Then + + Printer1.Justify = 0 + Printer1.WriteString(s.GetString("HVD_PRONOMBRE") & CRLF) + + + Dim punit As String = NumberFormat2((s.GETSTRING("HVD_COSTO_TOT")/s.GetString("HVD_CANT")),0,2,2,False) + TAMANO = punit.Length + TAMANO + +' Private ptot As String = NumberFormat2((punit*s.GetString("HVD_CANT")),0,2,2,False) + Private ptot As String = NumberFormat2(( (s.GetString("HVD_CANT") - s.GetString("HVD_RECHAZOCANT")) * punit ),0,2,2,False) + TAMANO = ptot.Length + TAMANO + + ESPACIO = (ESPACIO - TAMANO)/2 +' Log(ESPACIO) + For E=0 To ESPACIO -1 + BLANCO = " " & BLANCO + Next + Printer1.Justify = 0 + Printer1.WriteString( (s.GetString("HVD_CANT") - s.GetString("HVD_RECHAZOCANT"))& BLANCO) + Printer1.Justify = 1 + Printer1.WriteString( punit & BLANCO) + Printer1.Justify = 2 + Printer1.WriteString( ptot & CRLF ) + TAMANO = 0 + ESPACIO = 29 + BLANCO = " " + + Else If s.GetString("HVD_RECHAZO") = 1 Then + + Printer1.Justify = 0 + Printer1.WriteString(s.GetString("HVD_PRONOMBRE") & CRLF) + + Private vc5 As Cursor = Starter.skmt.ExecQuery($"select iFNULL(CAT_GP_PRECIO,0) AS CAT_GP_PRECIO from CAT_GUNAPROD where CAT_GP_ID = '${s.GetString("HVD_PROID")}'"$) + vc5.Position = 0 + Dim punit As String = NumberFormat2((vc5.GetString("CAT_GP_PRECIO")),0,2,2,False) + TAMANO = punit.Length + TAMANO + vc5.Close + + Private ptot As String = NumberFormat2(( (s.GetString("HVD_CANT") - s.GetString("HVD_RECHAZOCANT")) * punit ),0,2,2,False) + TAMANO = ptot.Length + TAMANO + + ESPACIO = (ESPACIO - TAMANO)/2 +' Log(ESPACIO) + For E=0 To ESPACIO -1 + BLANCO = " " & BLANCO + Next + Printer1.Justify = 0 + Printer1.WriteString( (s.GetString("HVD_CANT") - s.GetString("HVD_RECHAZOCANT"))& BLANCO) + Printer1.Justify = 1 + Printer1.WriteString( punit & BLANCO) + Printer1.Justify = 2 + Printer1.WriteString(ptot& CRLF ) + TAMANO = 0 + ESPACIO = 29 + BLANCO = " " + Printer1.Justify = 0 + End If + End If + Next + End If + End If + Printer1.Justify = 0 + s.Close + Printer1.WriteString(" " & CRLF) + s=Starter.skmt.ExecQuery($"select HVD_PRONOMBRE, HVD_CANT, length(HVD_CANT) as L_CANT, HVD_COSTO_TOT, length(HVD_COSTO_TOT) as L_COSTOU,HVD_PROID, HVD_CODPROMO,IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT FROM HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) AND HVD_RECHAZO = 0 AND HVD_CODPROMO <> '${Subs.traeAlmacen}' order by HVD_CODPROMO, ESPROMO DESC, HVD_PROID"$) + + If S.RowCount>0 Then + Printer1.WriteString("-------PROMOS ENTREGA--------" & CRLF) + Printer1.WriteString("Cant. Precio Importe" & CRLF) + Printer1.WriteString("------------------------------" & CRLF) + + For i=0 To S.RowCount -1 + S.Position=i + If s.GetString("HVD_CANT") - s.GetString("HVD_RECHAZOCANT") > 0 Then + + + If s.GetString("HVD_CODPROMO") <> Subs.traeAlmacen Then + + Printer1.Justify = 0 + If s.GetString("HVD_CODPROMO") = s.GetString("HVD_PROID") Then + Printer1.WriteString("* "&s.GetString("HVD_PRONOMBRE") & CRLF) + Printer1.WriteString(" " & CRLF) + Printer1.WriteString(" " & CRLF) + Else + Printer1.WriteString(s.GetString("HVD_PRONOMBRE") & CRLF) + + Dim punit As String =NumberFormat2((s.GETSTRING("HVD_COSTO_TOT")/s.GetString("HVD_CANT")),0,2,2,False) + TAMANO = punit.Length + TAMANO + + + Private ptot As String = NumberFormat2((punit*s.GetString("HVD_CANT")),0,2,2,False) + TAMANO = ptot.Length + TAMANO + + + ESPACIO = (ESPACIO - TAMANO)/2 + Log(ESPACIO) + For E=0 To ESPACIO -1 + BLANCO = " " & BLANCO + Next + Printer1.Justify = 0 + Printer1.WriteString( (s.GetString("HVD_CANT") - s.GetString("HVD_RECHAZOCANT"))& BLANCO) + Printer1.Justify = 1 + Printer1.WriteString( punit & BLANCO) + Printer1.Justify = 2 + Printer1.WriteString(ptot & CRLF ) + TAMANO = 0 + ESPACIO = 29 + BLANCO = " " + Printer1.Justify = 0 + End If + + + + Else + + End If + End If + Next + End If + + Printer1.WriteString(" " & CRLF) + s=Starter.skmt.ExecQuery($"select PE_PRONOMBRE, PE_CANT, length(PE_CANT) as L_CANT, PE_COSTO_TOT, length(PE_COSTO_TOT) as L_COSTOU,PE_PROID FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) order BY PE_PROID"$) + + If S.RowCount>0 Then + Printer1.WriteString("-----------VENTA------------" & CRLF) + Printer1.WriteString("Cant. Precio Importe" & CRLF) + Printer1.WriteString("------------------------------" & CRLF) + + For i=0 To S.RowCount -1 + S.Position=i + + Printer1.Justify = 0 + Printer1.WriteString(s.GetString("PE_PRONOMBRE") & CRLF) + + + Dim punit As String =NumberFormat2( (s.GETSTRING("PE_COSTO_TOT")/s.GetString("PE_CANT")),0,2,2,False) + TAMANO = punit.Length + TAMANO + + Private ptot As String = NumberFormat2((punit*s.GetString("PE_CANT")),0,2,2,False) + TAMANO = ptot.Length + TAMANO + + + ESPACIO = (ESPACIO - TAMANO)/2 + Log(ESPACIO) + For E=0 To ESPACIO -1 + BLANCO = " " & BLANCO + Next + Printer1.Justify = 0 + Printer1.WriteString( s.GetString("PE_CANT") & BLANCO) + Printer1.Justify = 1 + Printer1.WriteString( punit & BLANCO) + Printer1.Justify = 2 + Printer1.WriteString(ptot & CRLF ) + TAMANO = 0 + ESPACIO = 29 + BLANCO = " " + Printer1.Justify = 0 + + Next + End If + Printer1.WriteString(" " & CRLF) + Printer1.WriteString("------------------------------" & CRLF) + + + Printer1.WriteString("Total Articulos: " & L_CANT.Text & CRLF) + Printer1.WriteString("Total: $" & l_total.Text) + + + Printer1.WriteString(" " & CRLF) + Printer1.WriteString("------------------------------" & CRLF) +' Printer1.WriteString("ENTREGA EN :" & CRLF) +' Printer1.WriteString(la_Calle.Text & CRLF) + Printer1.WriteString("----ESTE TICKET NO ES UN -----" & CRLF) + Printer1.WriteString("--COMPROBANTE FISCAL, SOLO ES-" & CRLF) + Printer1.WriteString("--------INFORMATIVO-----------" & CRLF) + Printer1.WriteString("------------------------------" & CRLF) + Printer1.WriteString(" " & CRLF) + Printer1.WriteString(" " & CRLF) + Printer1.WriteString(" " & CRLF) + Sleep(1000) + Printer1.DisConnect + + ProgressDialogHide + + If banderaimp = 1 Then + Msgbox2Async("Deseas imprimir de nuevo el ticket?", "ATENCION","SI","", "NO",LoadBitmap(File.DirAssets,"alert2.png"), False) + Wait For Msgbox_Result (resultado As Int) + If resultado = DialogResponse.POSITIVE Then + B_IMP_Click + Else +' Guardado + End If + +' printer.Flush + ' printer.Close + Else If banderaimp = 0 Then + Msgbox2Async("Deseas imprimir de nuevo el ticket?", "ATENCION","SI","", "NO",LoadBitmap(File.DirAssets,"alert2.png"), False) + Wait For Msgbox_Result (resultado As Int) + If resultado = DialogResponse.POSITIVE Then + B_IMP_Click + End If + End If + +' Guardado +End Sub \ No newline at end of file diff --git a/B4A/C_Clientes.bas b/B4A/C_Clientes.bas new file mode 100644 index 0000000..0a17395 --- /dev/null +++ b/B4A/C_Clientes.bas @@ -0,0 +1,687 @@ +B4A=true +Group=Default Group +ModulesStructureVersion=1 +Type=Class +Version=12.2 +@EndOfDesignText@ +Sub Class_Globals + Private Root As B4XView 'ignore + Private xui As XUI 'ignore + Dim q_buscar As String +' Dim skmt As SQL + Dim entro As String + Dim c As Cursor + Dim c2 As Cursor + Dim ListView1 As ListView +' Dim gest As Button + Dim lfila As Label + Dim busca As EditText + Private p_colonia As Panel +' Dim distList As List +' Dim distMap As Map + Dim laRuta As String + Private b_GetDirs As Button + Private distOrderedMap, clientesMapaO As B4XOrderedMap + Private img_getDirs As ImageView + Private l_rutaInfo As Label + Private b_getRutaInfo As Button + Private conMapa As Boolean = False + Dim listaWayPoints As List + Dim lv1Top As String + Private b_limpiarRuta As Button + Dim rutaGenerada As Boolean = False + Dim rutaacambiar As String +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") + entro ="2" + lv1Top = ListView1.Top + clientesMapaO.Initialize + Starter.skmt.ExecNonQuery("delete from waypoints") + Log("Coordenadas del almacen: " & Starter.cedisLocation.Longitude & "," & Starter.cedisLocation.Latitude) +End Sub + +'You can see the list of page related events in the B4XPagesManager object. The event name is B4XPage. + +Sub B4XPage_Appear + busca.Text = "" + b_GetDirs.Visible = False +' skmt.Initialize(Starter.ruta,"kmt.db", True) + entro ="2" + ' esto es para rutas se quito por colonia + 'SE COMENTA EL SIGUIENTE CODIGO PARA QUE TODAS LAS TIENDAS APAREZCAN. + 'c=skmt.ExecQuery("select CAT_CL_COLONIA, count(*) as cuantos from kmt_info where gestion = 0 group by CAT_CL_COLONIA order by CAT_CL_COLONIA asc") + p_colonia.Width = Root.Width + p_colonia.Height = Root.Height + p_colonia.Top = 0 + p_colonia.Left = 0 + Subs.centraListView(ListView1, p_colonia.Width) + ListView1.Height = p_colonia.Height * 0.75 + Subs.SetDivider(ListView1, Colors.LightGray, 2) + If Not(l_rutaInfo.Visible) Then + ListView1.Top = lv1Top + Else + ListView1.Top = lv1Top + 100 + End If + c=Starter.skmt.ExecQuery("select codigo, indice, CAT_CL_NOMBRE, CAT_CL_CALLE, CAT_CL_NOEXT from waypoints inner join kmt_info on waypoints.codigo = kmt_info.CAT_CL_CODIGO where gestion = 0 AND CAT_CL_RUTA <> 1000 order by indice") + If c.RowCount > 0 Then 'Ya hay waypoints en la base de datos + c.Position = 0 +' Log("Ya hay waypoints.") + conMapa = True +' Private t1 As Map + ListView1.Clear + Dim cs, cs2 As CSBuilder + entro = 3 +' Log("Generamos ListView1 en Activity_Resume") + For i=0 To c.RowCount -1 'Generamos el listView con la lista ordenada. + c.Position=i + cs.Initialize + cs2.Initialize +' t1 = Starter.waypointsOrdered.Get(k) +' c.GetString("codigo") +' Log(c.GetString("indice")) + ListView1.AddTwoLines(cs.Color(Colors.RGB(100,149,237)).Append(c.GetString("codigo")).PopAll, cs2.append(c.GetString("CAT_CL_NOMBRE")).Color(Colors.RGB(100,149,237)).Append(" Calle: ").Pop.Append(c.GetString("CAT_CL_CALLE").Trim & " " & c.GetString("CAT_CL_NOEXT")).PopAll ) + Next + Else + generaListViewRutas + End If + c.Close + p_colonia.Width = Root.Width + p_colonia.Height = Root.Height + Subs.centraEtiqueta(l_rutaInfo, Root.Width) + Subs.centraListView(ListView1, p_colonia.Width) + ListView1.Height = p_colonia.Height * 0.70 + Subs.centraEtiqueta(lfila, Root.Width) + b_getRutaInfo.Visible = True + b_getRutaInfo.BringToFront + If Starter.cedisLocation.Latitude = "0" Then + Private x As Cursor = Starter.skmt.ExecQuery("select * from CAT_VARIABLES where CAT_VA_DESCRIPCION = 'COORDS_ALMACEN'") + If x.RowCount > 0 Then + x.Position = 0 + Private y() As String + Starter.cedisLocation.Latitude = Regex.Split(",", x.GetString("CAT_VA_VALOR"))(1) + Starter.cedisLocation.Longitude = Regex.Split(",", x.GetString("CAT_VA_VALOR"))(0) + End If + End If + Log(Starter.cedisLocation) +End Sub + + +Private Sub B4XPage_CloseRequest As ResumableSub + ' BACK key pressed + 'Return True to close, False to cancel + Log(entro) + If rutaGenerada Or entro = 3 Then ' Si ya generamos el ruteo o entramos a una de las rutas, nos regresamos! + b_limpiarRuta_Click + l_rutaInfo.Text = "" + rutaGenerada = False + else if entro = 2 Then ' Si estamos mostrando las rutas, nos regresamos a la principal. + B4XPages.ShowPage("Principal") + End If + Return False +End Sub + +Sub ListView1_ItemClick (Position As Int, Value As Object) +' Log($"Entro= ${entro}"$) + Log(Value) + ListView1.Clear + Sleep(50) + Subs.SetDivider(ListView1, Colors.LightGray, 2) + If Not(l_rutaInfo.Visible) Then + ListView1.Top = lv1Top + Else + ListView1.Top = lv1Top + 100 + End If + l_rutaInfo.Visible = False + b_GetDirs.Visible = False + If entro = "2" Then +' b_GetDirs.Visible = True +' img_getDirs.Visible = True +' b_getRutaInfo.Visible = False + Private lrt As String + lrt = Value + laRuta = lrt.SubString(6) 'Quitamos el texto "Ruta: " para obtener el numero de la ruta. + Log($"Original: ${Value} - Mod: |${lrt.SubString(6)}| - laRuta: ${laRuta}"$) + rutaacambiar = laRuta + c2 = Starter.skmt.ExecQuery2("select CAT_CL_NOMBRE, CAT_CL_CALLE, CAT_CL_CODIGO, CAT_CL_LAT, CAT_CL_LONG from kmt_info where CAT_CL_RUTA = ? and gestion = 0 AND CAT_CL_RUTA <> 1000 order by CAT_CL_NOMBRE ", Array As String(laRuta)) + Private thisLoc As Location + Private label1 As Label + Private label2 As Label + label1 = ListView1.TwoLinesLayout.Label + label1.TextSize = 15 + label1.TextColor = Colors.black + label2 = ListView1.TwoLinesLayout.SecondLabel + label2.TextSize = 15 + label2.TextColor = Colors.black + label2.Height = 57dip + thisLoc.Initialize + If entro = 2 Then ListView1.TwoLinesLayout.ItemHeight = 90dip + lfila.text = "Nombre y Calle" + distOrderedMap.Initialize + If c2.RowCount > 0 Then + For i = 0 To c2.RowCount -1 'Generamos mapa de clientes + c2.Position = i + thisLoc.Latitude = c2.GetString("CAT_CL_LAT") + thisLoc.Longitude = c2.GetString("CAT_CL_LONG") +' Log(Tracker.UUGCoords) + Private distancia As Int = Tracker.UUGCoords.DistanceTo(thisLoc) 'Calculamos la distancia de la posicion ACTUAL a la tienda. + Private esteCliente As Map = CreateMap("distancia": distancia, "ubicacion": thisLoc.Longitude&","&thisLoc.Latitude, "codigo": c2.GetString("CAT_CL_CODIGO"), "nomDirDist": $"${c2.GetString("CAT_CL_NOMBRE")} CALLE: ${c2.GetString("CAT_CL_CALLE")} ${CRLF}Distancia: $1.1{(distancia/1000)} kms"$) + distOrderedMap.Put(distancia, esteCliente) + Next + distOrderedMap.Keys.Sort(True) 'Ordenamos la mapa de clientes por distancia. + ListView1.Clear + Private m1 As Map + For Each k As Object In distOrderedMap.Keys 'Generamos el listView con el mapa ordenada. + m1 = distOrderedMap.Get(k) + m1.Get("codigo") +' Log(m1.Get("nomDirDist")) + ListView1.AddTwoLines(m1.Get("codigo"), m1.Get("nomDirDist")) + Next + End If + c2.Close + entro = "3" + Else If entro = "3" Then +' LogColor("Guardamos CLIENTE " & Value, Colors.red) + Starter.skmt.ExecNonQuery("delete from CUENTAA") + Starter.skmt.ExecNonQuery2("INSERT INTO CUENTAA VALUES (?)", Array As Object(Value)) + B4XPages.ShowPage("Cliente") + End If +End Sub + +'Genera el listview que muestra las rutas y clientes a visitar por ruta. +Sub generaListViewRutas + ListView1.Clear + Sleep(110) + lfila.Text = "RUTA PREVENTA" + Dim label1 As Label + label1 = ListView1.TwoLinesLayout.Label + label1.TextSize = 15 + label1.TextColor = Colors.Black + Dim label2 As Label + label2 = ListView1.TwoLinesLayout.SecondLabel + label2.TextSize = 15 + label2.TextColor = Colors.Black + ListView1.TwoLinesLayout.ItemHeight = 60dip + c=Starter.skmt.ExecQuery("select CAT_CL_RUTA, count(*) as cuantos from kmt_info where gestion = 0 AND CAT_CL_RUTA <> 1000 group by CAT_CL_RUTA order by CAT_CL_RUTA asc") + If c.RowCount>0 Then + ListView1.Clear + For i=0 To c.RowCount -1 + c.Position=i + ListView1.AddTwoLines("Ruta: " & c.GetString("CAT_CL_RUTA"), "Por visitar: " & c.GetString("cuantos")) + Next + End If + c.Close +End Sub + +Sub Activity_KeyPress (key As Int) As Boolean 'ignore + ' BACK key pressed + If key=KeyCodes.KEYCODE_BACK Then + If entro = 3 And Not(conMapa) Then + b_GetDirs.Visible = False +' StartActivity(Activity_Create(False)) + B4XPage_Created(Root) + Return True + End If + B4XPages.ShowPage("Principal") + Return False + 'End If + End If + ' Returning False signals the system to handle the key +End Sub + +Sub BUSCA_TextChanged (Old As String, New As String) + q_buscar = "%" & busca.Text & "%" + c2=Starter.skmt.ExecQuery2("select CAT_CL_NOMBRE, CAT_CL_CALLE, CAT_CL_CODIGO from kmt_info where CAT_CL_NOMBRE like ? and gestion = 0 AND CAT_CL_RUTA <> 1000 order by CAT_CL_CODIGO ", Array As String(q_buscar)) + ListView1.Clear + lfila.text = "Nombre y Calle" + Subs.SetDivider(ListView1, Colors.LightGray, 2) + 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 = 15 + label1.TextColor = Colors.Black + Dim label2 As Label + label2 = ListView1.TwoLinesLayout.SecondLabel + label2.TextSize = 15 + label2.TextColor = Colors.Black + ListView1.AddTwoLines(c2.GetString("CAT_CL_CODIGO"), c2.GetString("CAT_CL_NOMBRE") &" CALLE: "& c2.GetString("CAT_CL_CALLE")) + Next + End If + entro = "3" + c2.Close +End Sub + +'Regresa la distancia y tiempo de la ruta entre dos puntos, usa el API del projecto OSRM. (Parte de la funcionalidad OSRM) +'Para mas información ir a esta liga: +'http://project-osrm.org/docs/v5.24.0/api/?language=cURL#route-service +Sub distanciaEntreCoords(id As String, coords1 As String, coords2 As String) As ResumableSub 'ignore + Sleep(1050) + Private distanciaTotal As String = "0" + Private tiempo As String = "0" + Dim j As HttpJob + j.Initialize("", Me) + j.Download("https://router.project-osrm.org/route/v1/driving/"&coords1&";"&coords2&"?overview=false") + Wait For (j) JobDone(j As HttpJob) + If j.Success Then + Dim jp As JSONParser + jp.Initialize(j.GetString) + Dim m As Map = jp.NextObject + Log($"Respuesta: ${m.Get("code")}"$) + If m.Get("code") = "Ok" Then +' Log(m) + Dim rutas As List = m.Get("routes") + Dim rutas2 As Map = rutas.Get(0) +' Log(rutas2) +' Dim legs As List = rutas2.Get("legs") +' Log(legs) + distanciaTotal = rutas2.Get("distance") + tiempo = rutas2.Get("duration") + Log($"Distancia total: ${distanciaTotal}, Tiempo: ${tiempo}"$ ) + End If + Else + Log("Error!") + End If + j.Release + Private r As List + r.Initialize + r.Add(id) + r.Add(distanciaTotal) + r.Add(tiempo) + Return r +End Sub + +'Regresa la distancia y tiempo estimado de la ruta del repartidor, utiliza el API del projecto OSRM +'para calcular la distancia y tiempo de la ruta de un mapa de coordenadas a visitar dado. (Parte de la funcionalidad OSRM) +Sub traeRutaDia(aVisitar As B4XOrderedMap) + Private coordsInicio As String = $"${Starter.cedisLocation.Longitude},${Starter.cedisLocation.Latitude}"$ + Log($"Coordenadas de inicio: ${Starter.cedisLocation.Longitude},${Starter.cedisLocation.Latitude}"$) + Private rutaCompleta As String = coordsInicio + Private preRuta As String = coordsInicio + Private distanciaTotal, distanciaTotal0, tiempo0, tiempo As Double + Private masDe100 As Boolean + Private m4 As Map + Private visitaActual As Int = 0 + Private cuantosAntes As Int = 0 + listaWayPoints.Initialize + If aVisitar.Keys.Size > 98 Then 'Si los clientes a visitar son mas de 100 entonces hacemos 2 rutas, una inicial con pocas visitas (las que pasen de 100) y la final con el resto ... + cuantosAntes = aVisitar.Keys.Size - 98 'Definimos de cuantos clientes va a ser la ruta inicial. + preRuta = coordsInicio 'Ponemos las coordenadas de inicio (Las del CEDIS). + rutaCompleta = "" + masDe100 = True + End If + Log($"a visitar: ${aVisitar.Keys.Size}"$) + For Each k As Object In aVisitar.Keys + visitaActual = visitaActual + 1 + m4 = aVisitar.Get(k) +' Log($"visitaActual: ${visitaActual} - cuantosAntes: ${cuantosAntes}"$) + If visitaActual < cuantosAntes + 2 Then 'Si estas coordenadas son de la ruta inicial las agregamos ... + preRuta = preRuta & ";" & m4.Get("coords") +' LogColor($"PreRuta - visitaActual: ${visitaActual} - coords: ${m4.Get("coords")}"$, Colors.Magenta) + End If + If visitaActual >= cuantosAntes + 2 Then 'Si estas coordenadas son de la ruta final las agregamos ... + rutaCompleta = rutaCompleta & ";" & m4.Get("coords") +' LogColor($"RutaCompleta - visitaActual: ${visitaActual} - coords: ${m4.Get("coords")} - testRuta Size: ${testRutaCompleta.size}"$, Colors.Green) + End If + Next + rutaCompleta = rutaCompleta & ";" & coordsInicio 'Agregamos las coordenadas del CEDIS al final para que sea viaje ida y vuelta. +' rutaCompleta = rutaCompleta & ";" & coordsInicio + If rutaCompleta.StartsWith(";") Then rutaCompleta = rutaCompleta.SubString(1) 'Si las cooredenadas tienen ";" al principio se lo quitamos. +' LogColor(preRuta, Colors.magenta) +' LogColor(rutaCompleta, Colors.Green) + ProgressDialogShow2("Calculando distancia y tiempo, un momento por favor.", False) + Private tiempoVisitas As Double 'TIMEPO DE 4 MINUTOS PROMEDIO POR TIENDA ESTO SE CAMBIA SEGUN EL CLIENTE + tiempoVisitas = aVisitar.Keys.Size * 4 * 60 'Aqui se calcula el tiempo que duran las visitas x 4 mins cada una en segundos. + tiempo0 = 0 + distanciaTotal0 = 0 + If masDe100 Then 'Si son mas de 100, entonces primero calculamos la ruta inicial. + Dim j0 As HttpJob + j0.Initialize("trip0", Me) + j0.Download("https://router.project-osrm.org/trip/v1/driving/"&preRuta&"?source=first&destination=last&roundtrip=false&geometries=geojson") +' LogColor("https://router.project-osrm.org/trip/v1/driving/"&preRuta&"?source=first&destination=last&roundtrip=false&geometries=geojson", Colors.Magenta) + Wait For (j0) JobDone(j0 As HttpJob) + If j0.Success Then + Dim jp0 As JSONParser + jp0.Initialize(j0.GetString) + Dim m0 As Map = jp0.NextObject + If m0.Get("code") = "Ok" Then + Dim puntos0 As List = m0.Get("waypoints") + Private esteWayPoint0 As Map + For p = 0 To puntos0.Size -1 + esteWayPoint0 = puntos0.Get(p) +' LogColor("WP:" & esteWayPoint0, Colors.magenta) +' LogColor("WP: " & esteWayPoint0.Get("waypoint_index") & ", loc: " & esteWayPoint0.Get("location") & ", name: " & esteWayPoint0.Get("name"), Colors.Magenta) + esteWayPoint0.Remove("hint") + esteWayPoint0.Remove("distance") + esteWayPoint0.Remove("trips_index") + listaWayPoints.Add(esteWayPoint0) +' LogColor("estewaypoint: "&esteWayPoint0, Colors.Magenta) + Next + Dim rutas0 As List = m0.Get("trips") + Dim rutas20 As Map = rutas0.Get(0) +' Dim geometry0 As Map = rutas20.Get("geometry") +' Private coords0 As List = geometry0.Get("coordinates") + distanciaTotal0 = rutas20.Get("distance") + tiempo0 = rutas20.Get("duration") + tiempo0 = ((tiempo0 * 2) ) 'Tiempo X 2 (es muy corto porque no toma encuenta el trafico). + Log($"Distancia total ruta inicial: $1.1{distanciaTotal0/1000} kms, tiempo aprox: $1.1{tiempo0/60} mins. ($1.1{tiempo0/60/60} hrs)"$) +' l_rutaInfo.Text = $"Distancia total: $1.1{distanciaTotal0/1000} kms, tiempo aprox: $1.1{tiempo0/60/60} hrs"$ + End If + Else + Log("Error!") + End If + j0.Release + End If + + Dim j As HttpJob + j.Initialize("trip", Me) 'Calculamos el resto de la ruta. + j.Download("https://router.project-osrm.org/trip/v1/driving/"&rutaCompleta&"?source=first&destination=last&roundtrip=false&geometries=geojson") +' LogColor("https://router.project-osrm.org/trip/v1/driving/"&rutaCompleta&"?source=first&destination=last&roundtrip=false&geometries=geojson", Colors.Green) + Wait For (j) JobDone(j As HttpJob) + If j.Success Then + Dim jp As JSONParser + jp.Initialize(j.GetString) + Dim m As Map = jp.NextObject + If m.Get("code") = "Ok" Then + Dim puntos As List = m.Get("waypoints") + Private esteWayPoint As Map + Dim twpi As Int + For p = 0 To puntos.Size -1 + esteWayPoint = puntos.Get(p) +' LogColor("WP:" & esteWayPoint, Colors.green) +' LogColor("WP: " & esteWayPoint.Get("waypoint_index") & ", loc: " & esteWayPoint.Get("location") & ", name: " & esteWayPoint.Get("name"), Colors.Green) + esteWayPoint.Remove("hint") + esteWayPoint.Remove("distance") + esteWayPoint.Remove("trips_index") + twpi = esteWayPoint.Get("waypoint_index") + esteWayPoint.Remove("waypoint_index") + esteWayPoint.Put("waypoint_index", (twpi + cuantosAntes + 2)) + listaWayPoints.Add(esteWayPoint) +' LogColor("estewaypoint: "&esteWayPoint, Colors.Green) + Next + Dim rutas As List = m.Get("trips") + Dim rutas2 As Map = rutas.Get(0) + distanciaTotal = rutas2.Get("distance") + Log("distancia ruta 2:" & (distanciaTotal) & "|" & rutas2.Get("distance")) + distanciaTotal = distanciaTotal + distanciaTotal0 + tiempo = rutas2.Get("duration") + tiempo = (((tiempo + tiempo0) * 2) + tiempoVisitas) 'Tiempo X 2 (es muy corto porque no toma encuenta el trafico) + tiempoVisitas. + Log($"Distancia total: $1.1{distanciaTotal/1000} kms, tiempo aprox: $1.1{tiempo/60} mins. ($1.1{tiempo/60/60} hrs)"$) + l_rutaInfo.Text = $"Distancia: $1.1{distanciaTotal/1000} kms, tiempo aprox: $1.1{tiempo/60/60} hrs${CRLF}Visitas restantes: ${aVisitar.Keys.Size}"$ + l_rutaInfo.Width = Root.Width * 0.9 + Subs.centraEtiqueta(l_rutaInfo, Root.Width) + l_rutaInfo.Visible = True + l_rutaInfo.BringToFront + ListView1.Top = lv1Top + 100 + End If + Else + LogColor("**************** Error! ******************", Colors.red) + End If + j.Release + ProgressDialogHide +' LogColor("clientesMapaO size: " & clientesMapaO.Size & "|" & listaWayPoints.Size, Colors.Blue) + Private r As Int = 1 + Private r1, wps As Map + Starter.skmt.ExecNonQuery("delete from waypoints") + Log("BORRAMOS WAYPOINTS") + For Each k As Object In clientesMapaO.Keys 'Guardamos en la BD el orden de los waypoints para luego generar el listview. + If listaWayPoints.Size > 0 Then + r1 = clientesMapaO.Get(k) + r1.Get("codigo") + Log(listaWayPoints.Get(r) & "|" & r1.Get("coords") & "|" & r1.Get("calle")) + wps = listaWayPoints.Get(r) + Starter.skmt.ExecNonQuery($"update kmt_info set SECUENCIA = ${wps.get("waypoint_index")} where CAT_CL_CODIGO = '${r1.Get("codigo")}'"$) + Starter.skmt.ExecNonQuery2("insert into waypoints values (?,?)", Array As Object(r1.Get("codigo"), wps.get("waypoint_index"))) + r = r + 1 + End If + Next + ListView1.Clear + Sleep(100) + Dim label2 As Label + label2 = ListView1.TwoLinesLayout.SecondLabel + label2.TextSize = 15 + label2.Height = 100dip + ListView1.TwoLinesLayout.ItemHeight = 70dip + Dim cs, cs2 As CSBuilder + entro = 3 + Log("Generamos ListView1 en traeRutaDia") + 'Traemos las visitas restantes ordenadas por el indice de waypoints (este indice nos indica el orden en la ruta calculada). + c=Starter.skmt.ExecQuery("select codigo, indice, CAT_CL_NOMBRE, CAT_CL_CALLE, CAT_CL_NOEXT from waypoints inner join kmt_info on waypoints.codigo = kmt_info.CAT_CL_CODIGO where gestion = 0 AND CAT_CL_RUTA <> 1000 order by indice") + If c.RowCount > 0 Then + For i=0 To c.RowCount -1 'Generamos el listView con la lista ordenada. + c.Position=i + cs.Initialize + cs2.Initialize + ListView1.AddTwoLines(cs.Color(Colors.RGB(100,149,237)).Append(c.GetString("codigo")).PopAll, cs2.append(c.GetString("CAT_CL_NOMBRE")).Color(Colors.RGB(100,149,237)).Append(" Calle: ").Pop.Append(c.GetString("CAT_CL_CALLE").Trim & " " & c.GetString("CAT_CL_NOEXT")).PopAll ) + Next + End If + c.Close +End Sub + +'Calcula distancia y tiempo de la ubicacion ACTUAL a las 8 primeras tiendas de la lista usando el API de OSRM. (Parte de la funcionalidad OSRM) +Private Sub b_GetDirs_Click + ProgressDialogShow("Calculando distancias y tiempos ...") + Private m2 As Map + Private f As Int = 0 + For Each k As Object In distOrderedMap.Keys 'Traemos la distancia y tiempo desde OSRM (2 puntos) + m2 = distOrderedMap.Get(k) + Private distancia2 As String = m2.Get("distancia") + Private thisLoc1 As String = m2.Get("ubicacion") + Private locActual As String = Tracker.UUGCoords.Longitude&","&Tracker.UUGCoords.Latitude + If locActual = "0,0" Then 'Si no tenemos ubicacion actual de GPS, buscamos la ultima guardada en la base de datos. + c = Starter.skmt.ExecQuery("select * from hist_gps") + If c.RowCount > 0 Then + c.Position = 0 + locActual = c.GetString("hglon") & "," & c.GetString("hglat") + End If + c.Close + End If + f = f+1 + If f < 8 Then + If locActual = "0,0" Then 'Si todavia no tenemos ubicacion actual, entonces avisamos. + ToastMessageShow("No se pudo obtener la ubicacion actual!!", True) + f = 8 + End If + Log($"locActual: ${locActual}, thisLoc1: ${thisLoc1}"$) + Wait For(distanciaEntreCoords(distancia2, locActual, thisLoc1)) Complete (r As List) + LogColor($"R: ${r.Get(0)} - ${r.Get(1)} - ${r.Get(2)}"$, Colors.Green) + Private tId As Int = r.Get(0) + Private tMap As Map = distOrderedMap.Get(tId) + LogColor("|" & tId & "| - " &distOrderedMap.Get(tId), Colors.Blue) + Private tempNDD As String = tMap.Get("nomDirDist") + Private indexD As Int = tempNDD.IndexOf("Distancia:") + If indexD > -1 Then tempNDD = tempNDD.SubString2(0, indexD) + Log(tempNDD) + tempNDD = tempNDD & $"Dist: $1.1{(r.Get(1)/1000)} kms, Tiempo aprox: $1.0{((r.Get(2)*2)/60)} min."$ 'Multiplicamos el tiempo X 2 porque el tiempo estimado siempre es muy corto, X2 es mucho mas real con trafico. + Private esteCliente As Map = CreateMap("distancia": distancia2, "ubicacion": tMap.Get("ubicacion"), "codigo": tMap.Get("codigo"), "nomDirDist": tempNDD) + distOrderedMap.Put(tId, esteCliente) + ListView1.Clear + Private m3 As Map + For Each k As Object In distOrderedMap.Keys 'Generamos el listView con la lista ordenada. + m3 = distOrderedMap.Get(k) + m3.Get("codigo") + ListView1.AddTwoLines(m3.Get("codigo"), m3.Get("nomDirDist")) + Next + End If + Next + ProgressDialogHide +End Sub + +'Regresa un mapa (B4XOrderedMap) con todos los clientes que tiene que visitar el repartidor. (Parte de la funcionalidad OSRM) +Sub traeTodosAVisitar As B4XOrderedMap 'ignore + Log("Iniciamos traeTodosAVisitar") +' If Starter.waypointsOrdered.isInitialized Then Log(Starter.waypointsOrdered.Size) +' Private rutaCompleta As String = "" + Private thisLoc, ubicacionInicial As Location + ubicacionInicial = Starter.cedisLocation + LogColor(ubicacionInicial, Colors.Gray) + c=Starter.skmt.ExecQuery("select sum(gestion) as hayVisitados from kmt_info") + If c.RowCount > 0 Then + c.Position = 0 +' Log(c.GetString("hayVisitados")) + If c.GetString("hayVisitados") > 0 Then ubicacionInicial = Tracker.UUGCoords 'Si ya hay clientes visitados, entonces ya no estamos en el CEDIS y la ubicacion inicial debe de ser la ACTUAL. + End If + c.Close + LogColor(ubicacionInicial, Colors.Red) + thisLoc.Initialize + clientesMapaO.Clear + 'Traemos las rutas asignadas al repartidor. + c=Starter.skmt.ExecQuery("select CAT_CL_RUTA, count(*) as cuantos from kmt_info where gestion = 0 AND CAT_CL_RUTA <> 1000 group by CAT_CL_RUTA order by CAT_CL_RUTA asc") + If c.RowCount>0 Then + 'Traemos los clientes de cada ruta. + For i=0 To c.RowCount -1 + c.Position=i +' Log($"Renglones ruta: ${c.RowCount} - i=${i} - Ruta: ${c.GetString("CAT_CL_RUTA")}"$) + c2=Starter.skmt.ExecQuery2("select CAT_CL_NOMBRE, CAT_CL_CALLE, CAT_CL_CODIGO, CAT_CL_LAT, CAT_CL_LONG from kmt_info where CAT_CL_RUTA = ? and gestion = 0 AND CAT_CL_RUTA <> 1000 order by CAT_CL_NOMBRE ", Array As String(c.GetString("CAT_CL_RUTA"))) + If c2.RowCount>0 Then + For j=0 To c2.RowCount -1 'Generamos lista de clientes + c2.Position=j +' Log($"Renglones clientes: ${c2.RowCount} - j=${j} - Ruta: ${c2.GetString("CAT_CL_CODIGO")}"$) + thisLoc.Latitude = c2.GetString("CAT_CL_LAT") + thisLoc.Longitude = c2.GetString("CAT_CL_LONG") + If Not(thisLoc.Latitude = 0.0) And Not(thisLoc.Latitude = 0) Then 'Este IF es para que si las coordenadas no son válidas, entonces no las agregue al mapeo, porque el API de OSRM nos manda error. + Private distancia As Int = ubicacionInicial.DistanceTo(thisLoc) 'Calculamos la distancia del cedis a la tienda. + If clientesMapaO.ContainsKey(distancia) Then distancia = distancia + 1 'Si por alguna extraña razon hay dos tiendas a la misma distancia del CEDIS, le sumamos 1 para que sea diferente. + Private esteCliente As Map = CreateMap("distancia": distancia, "ordenDist": j, "coords": c2.GetString("CAT_CL_LONG")&","&c2.GetString("CAT_CL_LAT"), "codigo": c2.GetString("CAT_CL_CODIGO"), "nombre": c2.GetString("CAT_CL_NOMBRE"), "calle": c2.GetString("CAT_CL_CALLE")) + clientesMapaO.Put(distancia, esteCliente) + Else + ToastMessageShow("Hay tiendas SIN coordenadas, fueron excluidas!!", False) + End If +' Log($"${thisLoc}"$) +' rutaCompleta = rutaCompleta & ";" & c2.GetString("CAT_CL_LONG")&","&c2.GetString("CAT_CL_LAT") + Next + End If + Next + End If + clientesMapaO.Keys.Sort(True) 'Ordenamos la lista de clientes por distancia. + c.Close + c2.Close + Log(c.RowCount & " rutas, " & clientesMapaO.Size & " clientes") +' LogColor(rutaCompleta, Colors.Magenta) +' Log(clientesMapaO) + Return clientesMapaO +End Sub + +'Traemos la ruta de visitas via el API de OSRM usando el sub "traeRutaDia(traeTodosAVisitar)". +Private Sub b_getRutaInfo_Click +' traeRutaDia(traeTodosAVisitar) + caculaRutaGPS(todosAVisitar) +End Sub + +'Mostramos u ocultamos el boton para borrar los waypoints de la ruta. +Private Sub b_getRutaInfo_LongClick + If b_limpiarRuta.Visible Then + b_limpiarRuta.Visible = False + Else + b_limpiarRuta.Visible = True + End If +End Sub + +'Borramos los waypoints de la ruta. +Private Sub b_limpiarRuta_Click + Starter.skmt.ExecNonQuery("delete from waypoints") + b_limpiarRuta.Visible = False + B4XPage_Appear +End Sub + +Sub caculaRutaGPS(coords As List) + Private tmpList As List + Dim cs, cs2 As CSBuilder + tmpList.Initialize + tmpList.AddAll(Array As String("ACTUAL", Tracker.UUGCoords.Longitude, Tracker.UUGCoords.Latitude)) + coords.InsertAt(0,tmpList) + Log("=================================") +' Log(coords) + Private coordsStr As String = "" + For Each tienda As List In coords +' Log(tienda) + If coordsStr = "" Then + coordsStr = $"${tienda.get(0)},${tienda.get(1)},${tienda.get(2)}"$ + Else + coordsStr = $"${coordsStr};${tienda.get(0)},${tienda.get(1)},${tienda.get(2)}"$ + End If + Next + Log(coordsStr) + ProgressDialogShow2("Calculando distancia y tiempo, un momento por favor.", False) + Dim j As HttpJob + j.Initialize("trip", Me) 'Calculamos el resto de la ruta. + j.Download($"http://keymon.net:9002/ruteador?m=OSRM&r=${Subs.traeRutaReparto}&a=${Subs.traeAlmacen}&f=CEDIS,${Starter.cedisLocation.Longitude},${Starter.cedisLocation.Latitude}&c=${coordsStr}"$) + Log($"http://keymon.net:9002/ruteador?m=OSRM&r=${Subs.traeRutaReparto}&a=${Subs.traeAlmacen}&f=CEDIS,${Starter.cedisLocation.Longitude},${Starter.cedisLocation.Latitude}&c=${coordsStr}"$) + Wait For (j) JobDone(j As HttpJob) + If j.Success Then + Dim jp As JSONParser + jp.Initialize(j.GetString) + Dim m As Map = jp.NextObject + Log(m) + If m.Get("code") = "OK" Then + Log("===== OK") + rutaGenerada = True + Dim puntos As Int = m.Get("puntos") + Private coords As List = m.Get("coords") + Private duration As String = m.Get("duration") + Private distance As String = m.Get("distance") + Private mensaje As String = m.Get("mensaje") + Starter.skmt.ExecNonQuery("delete from waypoints") + Starter.skmt.ExecNonQuery("update kmt_info set SECUENCIA = 0") + For i = 0 To coords.Size - 1 + Private ti As Map = coords.Get(i) + Starter.skmt.ExecNonQuery($"update kmt_info set SECUENCIA = ${ti.Get("pos")} where CAT_CL_CODIGO = '${ti.Get("id").As(String).SubString(1)}'"$) ' Ponemos la secuencia con el orden del ruteo para poder verla en el mapa. + Starter.skmt.ExecNonQuery($"insert into waypoints (codigo, indice) values ('${ti.Get("id").As(String).SubString(1)}', '${ti.Get("pos")}')"$) + Next + c = Starter.skmt.ExecQuery("select codigo, indice, CAT_CL_NOMBRE, CAT_CL_CALLE, CAT_CL_NOEXT from waypoints inner join kmt_info on waypoints.codigo = kmt_info.CAT_CL_CODIGO where gestion = 0 AND CAT_CL_RUTA <> 1000 order by indice") + If c.RowCount > 0 Then 'Ya hay waypoints en la base de datos. + c.Position = 0 + conMapa = True + ListView1.Clear + Dim cs, cs2 As CSBuilder + entro = 3 + For i=0 To c.RowCount -1 'Generamos el listView con la lista ordenada. + c.Position = i + cs.Initialize + cs2.Initialize + ListView1.AddTwoLines(cs.Color(Colors.RGB(100,149,237)).Append(c.GetString("codigo")).PopAll, cs2.append(c.GetString("CAT_CL_NOMBRE")).Color(Colors.RGB(100,149,237)).Append(" Calle: ").Pop.Append(c.GetString("CAT_CL_CALLE").Trim & " " & c.GetString("CAT_CL_NOEXT")).PopAll ) + Next + End If + c.Close + Log($"Distancia total: $1.1{distance/1000} kms, tiempo aprox: $1.1{duration/60} mins. ($1.1{duration/60/60} hrs)"$) + l_rutaInfo.Text = $"Distancia: $1.1{distance/1000} kms, tiempo aprox: $1.1{duration/60/60} hrs${CRLF}Visitas restantes: ${puntos - 1}"$ + l_rutaInfo.Width = Root.Width * 0.9 + Subs.centraEtiqueta(l_rutaInfo, Root.Width) + l_rutaInfo.Visible = True + l_rutaInfo.BringToFront + ListView1.Top = lv1Top + 100 + End If + Else + LogColor("**************** Error! ******************", Colors.red) + End If + j.Release + ProgressDialogHide +End Sub + +'Regresa lista de los clientes a visitar y sus coordenadas, iniciando con el cedis. +Sub todosAVisitar As List + Log(laRuta) + Log(entro) + Private sqlDeRuta As String = "" + If entro = 3 Then sqlDeRuta = $"and CAT_CL_RUTA = '${laRuta}'"$ + Private aVisitar, tmpList As List + aVisitar.Initialize + Private coords As ResultSet = Starter.skmt.ExecQuery($"select CAT_CL_CODIGO, CAT_CL_LAT, CAT_CL_LONG from kmt_info where gestion = 0 AND CAT_CL_RUTA <> 1000 ${sqlDeRuta}"$) + Do While coords.NextRow + tmpList.Initialize + tmpList.AddAll(Array As String(coords.GetString("CAT_CL_CODIGO"), coords.GetString("CAT_CL_LONG"), coords.GetString("CAT_CL_LAT"))) + aVisitar.Add(tmpList) + Loop + Log(aVisitar) + Return aVisitar +End Sub diff --git a/B4A/C_DetalleVenta.bas b/B4A/C_DetalleVenta.bas new file mode 100644 index 0000000..c837658 --- /dev/null +++ b/B4A/C_DetalleVenta.bas @@ -0,0 +1,1073 @@ +B4A=true +Group=Default Group +ModulesStructureVersion=1 +Type=Class +Version=11.5 +@EndOfDesignText@ +Sub Class_Globals + Private Root As B4XView 'ignore + Private xui As XUI 'ignore + Dim g As GPS + Dim clie_id As String + Dim sDate,sTime As String + Dim usuario As String + Dim c As Cursor +' Dim ruta As String + Dim b_regresar As Button + Dim ListView1 As ListView + Dim L_CANT As Label + Dim L_TOTAL As Label + Dim b_borra As Button + Dim Existe As String + Dim result As String + ' Dim lat_gps, lon_gps As String + Dim cuantos As String + Dim nombre_prod As String + Dim cuantos_pedido As String + Private Titulo As Label + Private P1 As Panel + Private lv2 As ListView + Private p_principal As Panel + Dim clv_pedido As CustomListView + Private p_prods As Panel + Private l_prodX As Label + Private l_pCant As Label + Private et_pCant As EditText + Dim bmp As Bitmap + Dim etCantHasFocus As Boolean = False + Dim totalProds As Int = 0 + Dim totalCompra As Int = 0 + Dim prodsMap As Map + Dim reconstruirPedido As Boolean = False + Dim promoABorrar As String + Private b_guardar As Button + Private b_prodMas As Button + Private b_prodMenos As Button + Private b_prodMenosC As Button + Private l_pCantC As Label + Private et_pCantC As EditText + Private b_prodMasC As Button + Private p_botMasMenC As Panel + Private p_botMasMen As Panel + Private l_cajas As Label + Private l_piezas 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 + B4XPages.SetTitle(Me, "Detalle de venta") + 'load the layout to Root + g.Initialize("GPS") + Root.LoadLayout("detalleVenta") + b_borra.Visible = False + Titulo.Text = "Pedido" +End Sub + +'You can see the list of page related events in the B4XPagesManager object. The event name is B4XPage. + +Sub B4XPage_Appear + Subs.centraPanel(p_principal, Root.Width) +' b_guardar.Visible = False + +' Titulo.Left = Round(p_principal.Width/2)-(Titulo.Width/2) + L_CANT.Text ="" + L_TOTAL.Text="" + c=Starter.skmt.ExecQuery("select count(*) as EXISTE from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) and HVD_RECHAZO = 0 ") + C.Position=0 + Existe = C.GetString("EXISTE") + C.Close +' c=Starter.skmt.ExecQuery("select distinct hist_ventas.hvd_num_registro, HIST_VENTAS.HVD_CLIENTE, HIST_VENTAS.HVD_PRONOMBRE, HIST_VENTAS.HVD_PROID, HIST_VENTAS.HVD_CANT, HIST_VENTAS2.HVD_CANT as HVD_CANT2, HIST_VENTAS.HVD_COSTO_TOT, HIST_VENTAS.HVD_CODPROMO from HIST_VENTAS inner join HIST_VENTAS2 on HIST_VENTAS.HVD_PROID = HIST_VENTAS2.HVD_PROID and HIST_VENTAS.HVD_CLIENTE = HIST_VENTAS2.HVD_CLIENTE WHERE HIST_VENTAS.HVD_CLIENTE IN (Select CUENTA from cuentaa) and HIST_VENTAS.HVD_RECHAZO = 0 order by HIST_VENTAS.HVD_CODPROMO desc, HIST_VENTAS.HVD_PRONOMBRE asc") + c=Starter.skmt.ExecQuery("select hvd_num_registro,CONSECUTIVO, HVD_CLIENTE, HVD_PRONOMBRE, HVD_PROID, HVD_CANT, HVD_COSTO_TOT, HVD_CODPROMO, BCAJAS, CANTC, IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) and hvd_rechazo <> 2 and hvd_cant > 0 order by HVD_CODPROMO desc, HVD_PRONOMBRE asc") + ListView1.Clear + clv_pedido.Clear + Subs.SetDivider(ListView1, Colors.LightGray, 2) + clv_pedido.GetBase.SetLayoutAnimated(100, 0dip, 60dip, Root.Width - 50, Root.Height * 0.62) 'Cambiamos el tamaño y posición de la lista de productos + clv_pedido.Base_Resize(clv_pedido.GetBase.Width, clv_pedido.GetBase.Height) 'Cambiamos el tamaño del panel interno de la lista para que ajuste al nuevo tamaño. +' Log("RC1:"&c.RowCount) + If c.RowCount>0 Then +' Log("Usamos HV") + + For i=0 To c.RowCount -1 + c.Position=i + + Private c4 As Cursor = Starter.skmt.ExecQuery($"SELECT IFNULL(PE_CANT,0) AS PE_CANT FROM PEDIDO WHERE PE_PROID = '${c.GetString("HVD_PROID")}' AND PE_CLIENTEOR IN (SELECT CUENTA FROM CUENTAA) AND CONSECUTIVO = '${c.GetString("CONSECUTIVO")}'"$) + If c4.RowCount > 0 Then + c4.Position = 0 + Private cantres As Int = c4.GetString("PE_CANT") + Else + cantres = 0 + End If + + If c.GetString("BCAJAS") = "0" Then + If c.GetString("HVD_CANT") <> c.GetString("HVD_RECHAZOCANT") Then + 'Traemos cantidad de hvd2 + Private oc As Cursor = Starter.skmt.ExecQuery($"select HVD_CANT from HIST_VENTAS2 WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) and hvd_proid = '${c.GetString("HVD_PROID")}' and HVD_NUM_REGISTRO = '${c.GetString("HVD_NUM_REGISTRO")}'"$) + Private cant2 As Int = 0 + If oc.RowCount > 0 Then + oc.Position = 0 + cant2 = oc.GetString("HVD_CANT") + End If + oc.Close + Dim label1 As Label + label1 = ListView1.TwoLinesLayout.Label + label1.TextSize = 12 + label1.TextColor = Colors.black + Dim label2 As Label + label2 = ListView1.TwoLinesLayout.SecondLabel + label2.TextSize = 12 + label2.TextColor = Colors.black + Private bgColor, textColor As Int + bgColor = Colors.RGB(177, 200, 249)'azul + textColor = Colors.black + If c.GetString("HVD_CODPROMO") <> Subs.traeAlmacen Then +' bgColor = Colors.RGB(255, 212, 163) 'naranja + bgColor = Colors.White + End If +' Log($"Agregamos prod a lista1 | ${c.GetString("HVD_CANT")} - ${c.GetString("HVD_CANT2")}"$) 'HVD_CANT2 es la original de la orden. +' ListView1.AddTwoLines(c.GetString("HVD_PRONOMBRE"),"Cantidad #"& c.GetString("HVD_CANT")& " SubTotal $"& c.GetString("HVD_COSTO_TOT")) + clv_pedido.Add(CreateListItem(c.GetString("HVD_PRONOMBRE"), Subs.traePrecio2(c.GetString("HVD_PROID"), c.GetString("HVD_CODPROMO"),c.GetString("CONSECUTIVO")), (c.GetString("HVD_CANT") - c.GetString("HVD_RECHAZOCANT")), c.GetString("HVD_RECHAZOCANT")-cantres , clv_pedido.AsView.Width, 118dip, bmp, c.GetString("HVD_PROID"), bgColor, textColor, c.GetString("HVD_CODPROMO"),Subs.traeCliente,Subs.traeCliente,0,c.GetString("CONSECUTIVO")),i) +' Log(c.GetString("HVD_CODPROMO")) + End If + Else If c.GetString("BCAJAS") = "1" Then + If c.GetString("HVD_CANT") <> c.GetString("HVD_RECHAZOCANT") Then + 'Traemos cantidad de hvd2 + Private oc As Cursor = Starter.skmt.ExecQuery($"select HVD_CANT from HIST_VENTAS2 WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) and hvd_proid = '${c.GetString("HVD_PROID")}' and HVD_NUM_REGISTRO = '${c.GetString("HVD_NUM_REGISTRO")}'"$) + Private cant2 As Int = 0 + If oc.RowCount > 0 Then + oc.Position = 0 + cant2 = oc.GetString("HVD_CANT") + End If + oc.Close + Dim label1 As Label + label1 = ListView1.TwoLinesLayout.Label + label1.TextSize = 12 + label1.TextColor = Colors.black + Dim label2 As Label + label2 = ListView1.TwoLinesLayout.SecondLabel + label2.TextSize = 12 + label2.TextColor = Colors.black + Private bgColor, textColor As Int + bgColor = Colors.RGB(177, 200, 249)'azul + textColor = Colors.black + If c.GetString("HVD_CODPROMO") <> Subs.traeAlmacen Then +' bgColor = Colors.RGB(255, 212, 163) 'naranja + bgColor = Colors.White + End If +' Log($"Agregamos prod a lista1 | ${c.GetString("HVD_CANT")} - ${c.GetString("HVD_CANT2")}"$) 'HVD_CANT2 es la original de la orden. +' ListView1.AddTwoLines(c.GetString("HVD_PRONOMBRE"),"Cantidad #"& c.GetString("HVD_CANT")& " SubTotal $"& c.GetString("HVD_COSTO_TOT")) + clv_pedido.Add(CreateListItem(c.GetString("HVD_PRONOMBRE"), (c.GetString("HVD_COSTO_TOT")/c.GetString("CANTC")), ((c.GetString("HVD_CANT") - c.GetString("HVD_RECHAZOCANT"))), c.GetString("HVD_RECHAZOCANT"), clv_pedido.AsView.Width, 118dip, bmp, c.GetString("HVD_PROID"), bgColor, textColor, c.GetString("HVD_CODPROMO"),Subs.traeCliente,Subs.traeCliente,0,c.GetString("CONSECUTIVO")),i) + End If + End If + Next + +' cuentaProds("") + End If + + Private c3 As Cursor=Starter.skmt.ExecQuery("Select * from PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) AND PE_TIPO NOT IN ('SOBRANTE','FALTANTE')") + If c3.RowCount>0 Then + For i= 0 To c3.RowCount -1 + c3.Position = i + If c3.GetString("PE_BCAJAS") = "1" Then + Private bgColor, textColor As Int + bgColor = Colors.RGB(221, 132, 132)'rosa + textColor = Colors.black + clv_pedido.Add(CreateListItem2(c3.GetString("PE_PRONOMBRE"),c3.GetString("PE_COSTOU"), c3.GetString("PE_CANT"), 0 , clv_pedido.AsView.Width, 118dip, bmp, c3.GetString("PE_PROID"), bgColor, textColor, Subs.traeAlmacen,Subs.traeCliente, c3.GetString("PE_CLIENTEOR"),1,c3.GetString("CONSECUTIVO")),i) + Log("#####################"&c3.GetString("PE_PRONOMBRE")&","& c3.GetString("PE_CANT")) + Else + Private bgColor, textColor As Int + bgColor = Colors.RGB(221, 132, 132)'rosa + textColor = Colors.black + Log("#####################"&c3.GetString("PE_PRONOMBRE")&","& c3.GetString("PE_CANT")) + clv_pedido.Add(CreateListItem(c3.GetString("PE_PRONOMBRE"),c3.GetString("PE_COSTOU"), c3.GetString("PE_CANT"), 0 , clv_pedido.AsView.Width, 118dip, bmp, c3.GetString("PE_PROID"), bgColor, textColor, Subs.traeAlmacen,Subs.traeCliente, c3.GetString("PE_CLIENTEOR"),1, c3.GetString("CONSECUTIVO")),i) + End If + Next + End If + + + Private vc As Cursor = Starter.skmt.ExecQuery($"select HVD_PROID, HVD_CANT,HVD_COSTO_TOT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT from HIST_VENTAS where BCAJAS = 0 and HVD_CODPROMO ='${Subs.traealmacen}' and HVD_CLIENTE in (select cuenta from cuentaa)"$) + + Private Cuenta As String = 0 + Private arti As String = 0 + If vc.RowCount > 0 Then + For i = 0 To vc.RowCount - 1 + vc.Position = i + Private cantres As Int = 0 + Private c4 As Cursor = Starter.skmt.ExecQuery($"SELECT IFNULL(PE_CANT,0) AS PE_CANT FROM PEDIDO WHERE PE_PROID = '${vc.GetString("HVD_PROID")}' AND PE_CLIENTEOR IN (SELECT CUENTA FROM CUENTAA)"$) + If c4.RowCount > 0 Then + c4.Position = 0 + cantres = c4.GetString("PE_CANT") + Log(c4.GetString("PE_CANT")) + Else + cantres = 0 + End If +' Log(cantres) +' Log(cantres) +' Log(vc.GetString("HVD_CANT")&","&vc.GetString("HVD_RECHAZOCANT")) + arti = arti + (vc.GetString("HVD_CANT") - vc.GetString("HVD_RECHAZOCANT")) + Cuenta = Cuenta + ((vc.GetString("HVD_CANT") - vc.GetString("HVD_RECHAZOCANT") )*(vc.GetString("HVD_COSTO_TOT")/vc.GetString("HVD_CANT"))) +' Log(arti) +' Log(Cuenta) + Next + End If +' Log(Cuenta) + + Private vc2 As Cursor = Starter.skmt.ExecQuery("select HVD_PROID, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT, CANTC,HVD_COSTO_TOT from HIST_VENTAS where HVD_CLIENTE in (select cuenta from cuentaa) AND BCAJAS = 1") + Private Cuenta1 As String = 0 + Private arti1 As String = 0 + If vc2.RowCount > 0 Then + For i = 0 To vc2.RowCount - 1 + vc2.Position = i + Dim preu As Float = NumberFormat2(vc2.GetString("HVD_COSTO_TOT")/vc2.GetString("CANTC"),0,2,2,False) + Private vc3 As Cursor = Starter.skmt.ExecQuery($"select PRECIOCONVER, CONVERSION from CAT_GUNAPROD where CAT_GP_ID = '${vc2.GetString("HVD_PROID")}'"$) + If vc3.RowCount > 0 Then + vc3.Position = 0 + Cuenta1 = Cuenta1 + ((vc2.GetString("CANTC")-(vc2.GetString("HVD_RECHAZOCANT")/vc3.GetString("CONVERSION")))*preu) + arti1 = arti1 + (vc2.GetString("HVD_CANT") - vc2.GetString("HVD_RECHAZOCANT")) + End If + Next + End If +' Log(Cuenta1) + + Private vc4 As Cursor = Starter.skmt.ExecQuery($"select HVD_PROID, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT, CANTC,HVD_COSTO_TOT, HVD_RECHAZO, HVD_CODPROMO from HIST_VENTAS where HVD_CLIENTE in (select cuenta from cuentaa) AND BCAJAS = 0 and HVD_CODPROMO <> '${Subs.traeAlmacen}'"$) + Private Cuenta2 As String = 0 + Private arti2 As String = 0 + If vc4.RowCount > 0 Then + + For i = 0 To vc4.RowCount - 1 + vc4.Position = i + If vc4.GetString("HVD_PROID") <> vc4.GetString("HVD_CODPROMO") Then + If vc4.GetString("HVD_RECHAZO") = 0 Then + Cuenta2 = Cuenta2 + vc4.GetString("HVD_COSTO_TOT") + arti2 = arti2 + vc4.GetString("HVD_CANT") + Else + Private vc5 As Cursor = Starter.skmt.ExecQuery($"select CAT_GP_PRECIO from CAT_GUNAPROD where CAT_GP_ID = '${vc4.GetString("HVD_PROID")}'"$) + If vc5.RowCount > 0 Then + vc5.Position= 0 +' Log(vc5.GetString("CAT_GP_PRECIO")) + Cuenta2 = Cuenta2 +((vc4.GetString("HVD_CANT")- vc4.GetString("HVD_RECHAZOCANT"))*vc5.GetString("CAT_GP_PRECIO")) + arti2 = arti2 +(vc4.GetString("HVD_CANT")- vc4.GetString("HVD_RECHAZOCANT")) + End If + End If + End If + + Next + End If + + + + + Private c4 As Cursor = Starter.skmt.ExecQuery($"SELECT IFNULL(PE_CANT,0) AS PE_CANT, iFNULL(PE_COSTO_TOT,0) AS PE_COSTO_TOT FROM PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND PE_TIPO NOT IN ('SOBRANTE','FALTANTE')"$) + Private Cuenta3 As String = 0 + Private arti3 As String = 0 + If c4.RowCount > 0 Then + For i = 0 To c4.RowCount -1 + c4.Position = i + arti3 = arti3 + c4.GetString("PE_CANT") + Cuenta3 = Cuenta3 + c4.GetString("PE_COSTO_TOT") + Next + End If + + If Cuenta < 0 Then + Cuenta = 0 + End If + If Cuenta1 < 0 Then + Cuenta = 0 + End If + If Cuenta2 < 0 Then + Cuenta = 0 + End If + If Cuenta3 < 0 Then + Cuenta = 0 + End If + + If arti < 0 Then + arti = 0 + End If + If arti1 < 0 Then + arti = 0 + End If + If arti2 < 0 Then + arti = 0 + End If + If arti3 < 0 Then + arti = 0 + End If + + Log(Cuenta&","&Cuenta1&","&Cuenta2&","&Cuenta3) + Log(arti&","&arti1&","&arti2&","&arti3) + If Cuenta + Cuenta1 + Cuenta2 + Cuenta3 < 0 Then + L_TOTAL.Text = 0 + Else + L_TOTAL.Text = NumberFormat2((Cuenta + Cuenta1 + Cuenta2 + Cuenta3),0,2,2,True) + End If + If arti + arti1 +arti2 + arti3 < 0 Then + L_CANT.Text = 0 + Else + L_CANT.Text = NumberFormat2((arti + arti1 +arti2 + arti3),0,0,0,True) + End If + + +End Sub + +Sub GPS_LocationChanged (Location1 As Location) +' lat_gps=Location1.ConvertToSeconds(Location1.Latitude) +' lon_gps=Location1.ConvertToSeconds(Location1.Longitude) +End Sub + +Sub b_regresar_Click + B4XPages.ShowPage("Cliente") +End Sub + +Private Sub B4XPage_CloseRequest As ResumableSub + ' BACK key pressed + ' I want to capture the key here so I return True + B4XPages.ShowPage("Cliente") + ' Returning False signals the system to handle the key + Return False +End Sub + +Sub ListView1_ItemLongClick (Position As Int, Value As Object) 'BORRAR +' nombre_prod = Value +' result = Msgbox2("Seguro que desa borrar este articulo?","Borrar Articulo", "Si", "", "No",LoadBitmap(File.DirAssets,"alert2.png")) 'ignore +' If result = DialogResponse.POSITIVE Then +' c=Starter.skmt.ExecQuery2("select HVD_CANT FROM hist_ventas where HVD_pronombre = ? and HVD_cliente in (Select CUENTA from cuentaa) and HVD_RECHAZO = 0 ", Array As String(Value)) +' c.Position=0 +' If c.GetString("HVD_CANT") > 1 Then +' b_regresar.Visible =False +' b_borra.Visible=False +' P1.Visible =True +' cuantos_pedido = c.GetString("HVD_CANT") +' lv2.Clear +' lv2.SingleLineLayout.Label.TextColor = Colors.Black +' For i=1 To c.GetString("HVD_CANT") +' lv2.AddSingleLine(i) +' Next +' Else +' ' skmt.ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen + ? where cat_gp_nombre = ?", Array As Object(c.GetString("HVD_CANT"),Value)) +' c.Close +' Starter.skmt.ExecNonQuery2("insert into reparto(REP_CLIENTE, REP_PRONOMBRE, REP_CANT, REP_COSTO_TOT,REP_FECHA, REP_CLI_ORIG) select HVD_CLIENTE, HVD_PRONOMBRE, HVD_CANT, HVD_COSTO_TOT, HVD_FECHA, HVD_CLIENTE from hist_ventas where HVD_PRONOMBRE = ? and HVD_cliente in (Select CUENTA from cuentaa) ", Array As String(Value)) +' c=Starter.skmt.ExecQuery2("select HVD_CANT FROM hist_ventas where HVD_pronombre = ? and HVD_cliente in (Select CUENTA from cuentaa) and HVD_RECHAZO = 0 ", Array As String(Value)) +' c.Position=0 +' Starter.skmt.ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen + ? where cat_gp_nombre = ?", Array As Object(c.GetString("HVD_CANT"),Value)) +' c.Close +' +' 'skmt.ExecNonQuery2("delete FROM HIST_VENTAS WHERE HVD_PRONOMBRE = ? and HVD_cliente in (Select CUENTA from cuentaa) ", Array As String(Value)) +' ' se cambia por update para no borrarlo y tener todos los registros. +' Starter.skmt.ExecNonQuery2("update HIST_VENTAS set HVD_RECHAZO = 1 WHERE HVD_PRONOMBRE = ? and HVD_cliente in (Select CUENTA from cuentaa) ", Array As String(Value)) + ' +' DateTime.DateFormat = "MM/dd/yyyy" +' sDate=DateTime.Date(DateTime.Now) +' sTime=DateTime.Time(DateTime.Now) +' c=Starter.skmt.ExecQuery("Select CUENTA from cuentaa") +' c.Position=0 +' clie_id = c.GetString("CUENTA") +' c=Starter.skmt.ExecQuery("select USUARIO from usuarioa") +' c.Position=0 +' usuario = c.GetString("USUARIO") +' 'quitar esta mamada no es ahi +' Starter.skmt.ExecNonQuery("UPDATE kmt_info set gestion = 3 where CAT_CL_CODIGO In (select cuenta from cuentaa)") +' B4XPage_Appear +' End If +' +' End If +End Sub + +Sub lv2_ItemClick (Position As Int, Value As Object) 'BORRAR +' ' If Value = "Todos" Then +' ' cuantos = c.GetString("HVD_CANT") +' 'Else +' cuantos = Value +' ' End If +' If cuantos = cuantos_pedido Then +' 'Starter.skmt.ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen + ? where cat_gp_nombre = ?", Array As Object(c.GetString("HVD_CANT"),nombre_prod)) +' c.Close +' Starter.skmt.ExecNonQuery2("insert into reparto(REP_CLIENTE, REP_PRONOMBRE, REP_CANT, REP_COSTO_TOT, REP_FECHA, REP_CLI_ORIG) select HVD_CLIENTE, HVD_PRONOMBRE, HVD_CANT, HVD_COSTO_TOT, HVD_FECHA, HVD_CLIENTE from hist_ventas where HVD_PRONOMBRE = ? and HVD_cliente in (Select CUENTA from cuentaa) ", Array As String(nombre_prod)) +' c=Starter.skmt.ExecQuery2("select HVD_CANT FROM hist_ventas where HVD_pronombre = ? and HVD_cliente in (Select CUENTA from cuentaa) and HVD_RECHAZO = 0 ", Array As String(nombre_prod)) +' c.Position=0 +' Starter.skmt.ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen + ? where cat_gp_nombre = ?", Array As Object(c.GetString("HVD_CANT"),nombre_prod)) +' c.Close +' 'Starter.skmt.ExecNonQuery2("delete FROM HIST_VENTAS WHERE HVD_PRONOMBRE = ? and HVD_cliente in (Select CUENTA from cuentaa) ", Array As String(Value)) +' ' se cambia por update para no borrarlo y tener todos los registros. +' Starter.skmt.ExecNonQuery2("update HIST_VENTAS set HVD_RECHAZO = 1 WHERE HVD_PRONOMBRE = ? and HVD_cliente in (Select CUENTA from cuentaa) and HVD_RECHAZO = 0 ", Array As String(Value)) +' DateTime.DateFormat = "MM/dd/yyyy" +' sDate=DateTime.Date(DateTime.Now) +' sTime=DateTime.Time(DateTime.Now) +' c=Starter.skmt.ExecQuery("Select CUENTA from cuentaa") +' c.Position=0 +' clie_id = c.GetString("CUENTA") +' c=Starter.skmt.ExecQuery("select USUARIO from usuarioa") +' c.Position=0 +' usuario = c.GetString("USUARIO") +' 'quitar esta m*m*d* no es ahi +' Starter.skmt.ExecNonQuery("UPDATE kmt_info set gestion = 3 where CAT_CL_CODIGO In (select cuenta from cuentaa)") +' Starter.skmt.ExecNonQuery2("update hist_Ventas set HVD_RECHAZO = 1, HVD_PARCIAL = 0, HVD_CANT = HVD_CANT - ? where HVD_pronombre = ? and HVD_cliente in (Select CUENTA from cuentaa) and HVD_RECHAZO = 0 ", Array As Object(cuantos, nombre_prod)) +' b_regresar.Visible =True +' b_borra.Visible=True +' P1.Visible =False +' B4XPage_Appear +' Else +' ' skmt.ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen + ? where cat_gp_nombre = ?", Array As Object(cuantos,nombre_prod)) +' c.Close + ' +' 'modificar tambien esto +' 'Modificaciones para que solo quite una parte. +' Starter.skmt.ExecNonQuery2("insert into reparto(REP_CLIENTE, REP_PRONOMBRE, REP_CANT, REP_COSTO_TOT, REP_FECHA, REP_CLI_ORIG) select HVD_CLIENTE, HVD_PRONOMBRE, ?, ? * (HVD_COSTO_TOT/?), HVD_FECHA, HVD_CLIENTE from hist_ventas where HVD_PRONOMBRE = ? and HVD_cliente in (Select CUENTA from cuentaa) ", Array As Object(cuantos,cuantos,cuantos_pedido, nombre_prod)) +' Starter.skmt.ExecNonQuery2("insert into hist_ventas(HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT, HVD_FECHA, HVD_CODPROMO, HVD_PROID,HVD_NUM_TICKET, HVD_NUM_REGISTRO, HVD_RECHAZO, HVD_ESTATUS, HVD_PARCIAL) select HVD_CLIENTE,HVD_PRONOMBRE,?,HVD_COSTO_TOT, HVD_FECHA, HVD_CODPROMO, HVD_PROID,HVD_NUM_TICKET, HVD_NUM_REGISTRO, 1, HVD_ESTATUS, 1 from hist_ventas where HVD_PRONOMBRE = ? and HVD_cliente in (Select CUENTA from cuentaa) ", Array As Object(cuantos, nombre_prod)) +' Starter.skmt.ExecNonQuery2("update hist_Ventas set HVD_RECHAZO = 0, HVD_PARCIAL = 1, HVD_CANT = HVD_CANT - ? where HVD_pronombre = ? and HVD_cliente in (Select CUENTA from cuentaa) and HVD_RECHAZO = 0 ", Array As Object(cuantos, nombre_prod)) +' Starter.skmt.ExecNonQuery2("update hist_Ventas set HVD_COSTO_TOT = HVD_CANT * (HVD_COSTO_TOT/?) where HVD_pronombre = ? and HVD_cliente in (Select CUENTA from cuentaa) and HVD_RECHAZO = 0 ", Array As Object(cuantos_pedido, nombre_prod)) +' Starter.skmt.ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen + ? where cat_gp_nombre = ?", Array As Object(cuantos,nombre_prod)) +' 'crear nueva tabla para que guarde el resto. + '' skmt.ExecNonQuery2("delete FROM HIST_VENTAS WHERE HVD_PRONOMBRE = ? and HVD_cliente in (Select CUENTA from cuentaa) ", Array As String(Value)) +' DateTime.DateFormat = "MM/dd/yyyy" +' sDate=DateTime.Date(DateTime.Now) +' sTime=DateTime.Time(DateTime.Now) +' c=Starter.skmt.ExecQuery("Select CUENTA from cuentaa") +' c.Position=0 +' clie_id = c.GetString("CUENTA") +' c=Starter.skmt.ExecQuery("select USUARIO from usuarioa") +' c.Position=0 +' usuario = c.GetString("USUARIO") +' Starter.skmt.ExecNonQuery("UPDATE kmt_info set gestion = 3 where CAT_CL_CODIGO In (select cuenta from cuentaa)") +' B4XPage_Appear +' b_regresar.Visible =True +' b_borra.Visible=True +' P1.Visible =False +' End If +End Sub + +'**************************************************************************** +'***************** PARA EL MAS/MENOS ************************************* +'**************************************************************************** + +Sub CreateListItem(Text As String, precioU As String, inv As Int, inv2 As Int, Width As Int, Height As Int, img As Bitmap, prodId As String, bc As Int, tc As Int, promo As String, cliente_original As String,clienterecha As String, bandera As String,consecutivo As Int) As Panel + Dim p As B4XView = xui.CreatePanel("") + Private cs As CSBuilder + cs.Initialize + p.SetLayoutAnimated(0, 0, 0, Width, Height) + p.LoadLayout("prodItem2") + p_prods.Color = bc + l_prodX.TextColor = tc + precioU = $"$1.2{precioU}"$ + l_prodX.Text = Text&CRLF&"Cant: " & inv2 & " $" & precioU + If promo <> "1" And precioU = 0 Then + l_prodX.Text = cs.Color(Colors.RGB(123,0,0)).append(Text&CRLF&"Cant: " & inv2 & " $" & precioU).PopAll + End If + l_prodX.Tag = $"ID: ${prodId}${CRLF}${Text}${CRLF}Precio: $$1.2{precioU}${CRLF}Inv: ${inv} pzs"$ +' l_pCant.Text = 0 +' Log("PRECIO " & Round2(precioU,2)&"| INV "&inv&"| ID "&prodId&"| PROMO "&promo&"| INV2? "&inv2&"| CLIENTE OR NONONO YA NO VA Y UN ESPACIO POR FAVOR "&cliente_original) + l_pCant.Tag = Round2(precioU.Replace(",",""),2)&"|"&inv&"|"&prodId&"|"&promo&"|"&inv2&"|"&cliente_original&"|"&clienterecha&"|"&bandera&"|"&consecutivo + et_pCant.Tag = Round2(precioU.Replace(",",""),2)&"|"&inv&"|"&prodId&"|"&promo&"|"&inv2&"|"&cliente_original&"|"&clienterecha&"|"&bandera&"|"&consecutivo + p_prods.Tag = l_pCant.tag +' Log($"Ponemos la cant en ${inv}"$) + l_pCant.Text = inv +' et_pCant.Text = inv +' et_pCant.BringToFront + + l_pCant.BringToFront + et_pCant.SendToBack + p_botMasMenC.Visible = False + l_cajas.Visible = False +' i_prod.Bitmap = img + Return p +End Sub + +Sub CreateListItem2(Text As String, precioU As String, inv As Int, inv2 As Int, Width As Int, Height As Int, img As Bitmap, prodId As String, bc As Int, tc As Int, promo As String, cliente_original As String,clienterecha As String, bandera As String,consecutivo As Int) As Panel + Dim p As B4XView = xui.CreatePanel("") + Private cs As CSBuilder + cs.Initialize + p.SetLayoutAnimated(0, 0, 0, Width, Height) + p.LoadLayout("prodItem2") + p_prods.Color = bc + l_prodX.TextColor = tc + precioU = $"$1.2{precioU}"$ + l_prodX.Text = Text&CRLF&"Cant: " & inv2 & " $" & precioU + '' Log(Text&CRLF&"Cant: " & inv2 & " $" & precioU) + If promo <> "1" And precioU = 0 Then + l_prodX.Text = cs.Color(Colors.RGB(123,0,0)).append(Text&CRLF&"Cant: " & inv2 & " $" & precioU).PopAll + End If + l_prodX.Tag = $"ID: ${prodId}${CRLF}${Text}${CRLF}Precio: $$1.2{precioU}${CRLF}Inv: ${inv} pzs"$ +' l_pCant.Text = 0 + l_pCantC.Tag = Round2(precioU.Replace(",",""),2)&"|"&inv&"|"&prodId&"|"&promo&"|"&inv2&"|"&cliente_original&"|"&clienterecha&"|"&bandera&"|"&consecutivo + et_pCantC.Tag = Round2(precioU.Replace(",",""),2)&"|"&inv&"|"&prodId&"|"&promo&"|"&inv2&"|"&cliente_original&"|"&clienterecha&"|"&bandera&"|"&consecutivo + p_prods.Tag = l_pCantC.tag +' Log($"Ponemos la cant en ${inv}"$) + l_pCantC.Text = NumberFormat2(inv/Subs.traeConversion(prodId),0,0,0,False) +' et_pCant.Text = inv +' et_pCant.BringToFront + + l_pCantC.BringToFront + et_pCantC.SendToBack + p_botMasMen.Visible = False + l_piezas.Visible = False +' i_prod.Bitmap = img + Return p +End Sub + +Sub b_prodMenos_Click + etCantHasFocus = False + Log("etCantHasFocus=" & etCantHasFocus) + LogColor("b_prodMenos_Click", Colors.Magenta) + Dim index As Int = clv_pedido.GetItemFromView(Sender) + Dim pnl0 As B4XView = clv_pedido.GetPanel(index) + Dim pnl As B4XView = pnl0.GetView(0) + Dim laCant As B4XView = pnl.GetView(2).GetView(3) +' Log(pnl.GetView(2).GetView(0) & "|" & pnl.GetView(2).GetView(1) & "|" & pnl.GetView(2).GetView(2)) + Dim esteTag As List = Regex.Split("\|", laCant.Tag) + Log("LC_TEXT:"&laCant.Text&"|PROMO:"&esteTag.Get(3)&"|LC_TAG:"&laCant.Tag&"|ET:"&esteTag) + Private minimoadesc As String + Dim minimos As Cursor = Starter.skmt.ExecQuery2("SELECT * FROM CAT_GUNAPROD3 WHERE CAT_GP_ID = ?", Array As String(esteTag.Get(2))) + If minimos.RowCount > 0 Then + minimos.Position = 0 + minimoadesc = minimos.GetString("CAT_DP_CANT_MIN_VENTA") + Else + minimoadesc = "1" + End If + minimos.Close + '*'${minimoadesc}') + minimoadesc = "1" + If esteTag.Get(7) = "1" Then + If laCant.Text = "" Then laCant.Text = 0 + laCant.Text = $"$1.0{laCant.Text-1}"$ + If laCant.Text < 0 Then laCant.Text = 0 + Private c3 As Cursor = Starter.skmt.ExecQuery2("SELECT PE_CANT FROM PEDIDO WHERE PE_PROID = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND CONSECUTIVO = ?", Array As String(esteTag.Get(2),esteTag.Get(8))) + If c3.RowCount > 0 Then + c3.Position = 0 + If c3.GetString("PE_CANT") > minimoadesc Then + Private c2 As Cursor = Starter.skmt.ExecQuery2("SELECT * FROM CAT_GUNAPROD WHERE CAT_GP_ID = ?", Array As String(esteTag.Get(2))) + If c2.RowCount > 0 Then + c2.Position = 0 +' Starter.skmt.ExecNonQuery($"update HIST_VENTAS set HVD_RECHAZO = 1, HVD_RECHAZOCANT = HVD_RECHAZOCANT - 1 WHERE HVD_PROID = '${esteTag.Get(2)}' and HVD_cliente = '${esteTag.Get(5)}'"$) + Starter.skmt.ExecNonQuery($"update PEDIDO set PE_CANT = IFNULL(PE_CANT,0)-(1*'${minimoadesc}'), PE_COSTO_TOT= ((IFNULL(PE_CANT,0) -(1*'${minimoadesc}'))*'${c2.GetString("CAT_GP_PRECIO")}') WHERE PE_PROID = '${esteTag.Get(2)}' and PE_CLIENTE in (Select CUENTA from cuentaa) and CONSECUTIVO = '${esteTag.Get(8)}'"$) + End If + Else If c3.GetString("PE_CANT") = minimoadesc Then + Private c2 As Cursor = Starter.skmt.ExecQuery2("SELECT * FROM CAT_GUNAPROD WHERE CAT_GP_ID = ?", Array As String(esteTag.Get(2))) + If c2.RowCount > 0 Then + c2.Position = 0 +' Starter.skmt.ExecNonQuery($"update HIST_VENTAS set HVD_RECHAZO = 1, HVD_RECHAZOCANT = HVD_RECHAZOCANT - 1 WHERE HVD_PROID = '${esteTag.Get(2)}' and HVD_cliente = '${esteTag.Get(5)}'"$) +' Starter.skmt.ExecNonQuery($"update PEDIDO set PE_CANT = IFNULL(PE_CANT,0)-1, PE_COSTO_TOT= ((IFNULL(PE_CANT,0) -1)*'${c2.GetString("CAT_GP_PRECIO")}') WHERE PE_PROID_PROID = '${esteTag.Get(2)}' and PE_CLIENTE in (Select CUENTA from cuentaa)"$) + Starter.skmt.ExecNonQuery($"delete from PEDIDO where PE_PROID = '${esteTag.Get(2)}' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '${esteTag.Get(8)}'"$) + End If + End If + + + + End If + B4XPage_Appear + Else + + If esteTag.Get(5) = esteTag.Get(6) Then + If laCant.Text > 0 Then + If esteTag.Get(3) <> Subs.traeAlmacen Then 'Si es PROMO entonces ... + Private c2 As Cursor =Starter.skmt.ExecQuery($"select HVD_RECHAZO FROM HIST_VENTAS WHERE HVD_PROID = '${esteTag.Get(2)}' AND HVD_CLIENTE IN (Select CUENTA from cuentaa) AND CONSECUTIVO = '${esteTag.Get(8)}'"$) + c2.Position = 0 + If c2.GetString("HVD_RECHAZO") = "0" Then + + + Log("ES PROMO") + Log(esteTag.Get(3)) + result = Msgbox2("Si se modifica una promoción, la promoción se rompe y solo quedarán los productos sueltos, ¿seguro que desea continuar?","Modificar Promoción", "Si", "", "No",LoadBitmap(File.DirAssets,"alert2.png")) 'ignore + If result = DialogResponse.POSITIVE Then 'Quitamos esta promo + prodsMap.Remove(esteTag.Get(3)) +' c=Starter.skmt.ExecQuery($"select HVD_CODPROMO FROM HIST_VENTAS WHERE HVD_CODPROMO = '${esteTag.Get(2)}' AND HVD_cliente IN (Select CUENTA from cuentaa)"$) +' For i = 0 To c.RowCount -1 +' c.Position = i + LogColor(esteTag.Get(3),Colors.Blue) +' Starter.skmt.ExecNonQuery($"update HIST_VENTAS set HVD_RECHAZO = 1, HVD_RECHAZOCANT = HVD_RECHAZOCANT + 1 WHERE HVD_CODPROMO = '${esteTag.Get(3)}' and HVD_CLIENTE in (Select CUENTA from cuentaa)"$) +' Starter.skmt.ExecNonQuery($"update HIST_VENTAS set HVD_RECHAZO = 2, HVD_RECHAZOCANT = HVD_RECHAZOCANT + 1 WHERE HVD_PROID = '${esteTag.Get(3)}' and HVD_CODPROMO = '${esteTag.Get(3)}' and HVD_CLIENTE in (Select CUENTA from cuentaa)"$) + Starter.skmt.ExecNonQuery($"update HIST_VENTAS set HVD_RECHAZO = 1, HVD_RECHAZOCANT = HVD_CANT WHERE HVD_CODPROMO = '${esteTag.Get(3)}' and HVD_CLIENTE in (Select CUENTA from cuentaa)"$) + Starter.skmt.ExecNonQuery($"update HIST_VENTAS set HVD_RECHAZO = 2, HVD_RECHAZOCANT = HVD_CANT WHERE HVD_PROID = '${esteTag.Get(3)}' and HVD_CODPROMO = '${esteTag.Get(3)}' and HVD_CLIENTE in (Select CUENTA from cuentaa)"$) +' Starter.skmt.ExecNonQuery($"update HIST_VENTAS set HVD_CODPROMO = '${Subs.traeAlmacen}' WHERE HVD_cliente in (Select CUENTA from cuentaa) AND HVD_CODPROMO = '${esteTag.Get(3)}'"$) +' Next + c.Close + LogColor(prodsMap, Colors.red) + reconstruirPedido = True + promoABorrar = esteTag.Get(3) + B4XPage_Appear + End If + Else + If laCant.Text = "" Then laCant.Text = 0 + laCant.Text = $"$1.0{laCant.Text-1}"$ + If laCant.Text < 0 Then laCant.Text = 0 + Log("NO ES promo") + Starter.skmt.ExecNonQuery($"update HIST_VENTAS set HVD_RECHAZO = 1, HVD_RECHAZOCANT = IFNULL(HVD_RECHAZOCANT,0) + (1*'${minimoadesc}') WHERE HVD_PROID = '${esteTag.Get(2)}' and HVD_cliente in (Select CUENTA from cuentaa) AND CONSECUTIVO = '${esteTag.Get(8)}'"$) + Starter.skmt.ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen + 1 where cat_gp_id = ?", Array As Object(esteTag.Get(2))) + B4XPage_Appear + End If + Else + If laCant.Text = "" Then laCant.Text = 0 + laCant.Text = $"$1.0{laCant.Text-1}"$ + If laCant.Text < 0 Then laCant.Text = 0 + Log("NO ES promo") + Starter.skmt.ExecNonQuery($"update HIST_VENTAS set HVD_RECHAZO = 1, HVD_RECHAZOCANT = IFNULL(HVD_RECHAZOCANT,0) + (1*'${minimoadesc}'), BCAJAS = 0, CANTC = 0 WHERE HVD_PROID = '${esteTag.Get(2)}' and HVD_cliente in (Select CUENTA from cuentaa) AND CONSECUTIVO = '${esteTag.Get(8)}'"$) + Starter.skmt.ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen + 1 where cat_gp_id = ?", Array As Object(esteTag.Get(2))) + B4XPage_Appear + End If + End If + Else + + If laCant.Text = "" Then laCant.Text = 0 + laCant.Text = $"$1.0{laCant.Text-1}"$ + If laCant.Text < 0 Then laCant.Text = 0 + Log("NO ES promo") +' Starter.skmt.ExecNonQuery($"update HIST_VENTAS set HVD_RECHAZO = 1, HVD_RECHAZOCANT = IFNULL(HVD_RECHAZOCANT,0) + 1 WHERE HVD_PROID = '${esteTag.Get(2)}' and HVD_cliente = '${esteTag.Get(6)}'"$) +' Starter.skmt.ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen + 1 where cat_gp_id = ?", Array As Object(esteTag.Get(2))) +' Starter.skmt.ExecNonQuery2("update PEDIDO set cat_gp_almacen = cat_gp_almacen + 1 where cat_gp_id = ?", Array As Object(esteTag.Get(2))) + + Private c3 As Cursor = Starter.skmt.ExecQuery2("SELECT PE_CANT FROM PEDIDO WHERE PE_PROID = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND CONSECUTIVO = ?", Array As String(esteTag.Get(2), esteTag.Get(8))) + If c3.RowCount > 0 Then + c3.Position = 0 + If c3.GetString("PE_CANT") > 1 Then + Private c2 As Cursor = Starter.skmt.ExecQuery2("SELECT * FROM CAT_GUNAPROD WHERE CAT_GP_ID = ?", Array As String(esteTag.Get(2))) + If c2.RowCount > 0 Then + c2.Position = 0 + Starter.skmt.ExecNonQuery($"update PEDIDO set PE_CANT = IFNULL(PE_CANT,0)-(1*'${minimoadesc}'), PE_COSTO_TOT= ((IFNULL(PE_CANT,0) -(1*'${minimoadesc}'))*'${c2.GetString("CAT_GP_PRECIO")}') WHERE PE_PROID = '${esteTag.Get(2)}' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '${esteTag.Get(8)}'"$) + End If + Else If c3.GetString("PE_CANT") = 1 Then + Private c2 As Cursor = Starter.skmt.ExecQuery2("SELECT * FROM CAT_GUNAPROD WHERE CAT_GP_ID = ?", Array As String(esteTag.Get(2))) + If c2.RowCount > 0 Then + c2.Position = 0 + Starter.skmt.ExecNonQuery($"delete from PEDIDO where PE_PROID = '${esteTag.Get(2)}' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '${esteTag.Get(8)}'"$) + End If + End If + End If + B4XPage_Appear + End If + End If + Dim preciou As Float = esteTag.Get(0)/esteTag.Get(1) + Log("PU: " & preciou) +' LogColor("estamos aqui mmenos " & laCant.Text& " , " & (preciou * laCant.Text),Colors.Green ) +' If L_CANT.Text - 1 >= 0 Then +' L_CANT.Text = L_CANT.Text - 1 +' End If +' b_guardar.Visible = True +' Subs.prodRechazo(esteTag.Get(5), esteTag.Get(2)) +' Private cym As Map = Subs.traemosCantYMonto(clv_pedido) +' L_CANT.Text = cym.Get("cantidad") +' L_TOTAL.Text = Round2(cym.Get("monto"), 2) +' cuentaProds("-") +End Sub + +Sub b_prodMas_Click + etCantHasFocus = False +' Log("etCantHasFocus=" & etCantHasFocus) + LogColor("b_prodMas_Click", Colors.Magenta) + Dim index As Int = clv_pedido.GetItemFromView(Sender) + Dim pnl0 As B4XView = clv_pedido.GetPanel(index) + Dim pnl As B4XView = pnl0.GetView(0) + Dim laCant As B4XView = pnl.GetView(2).GetView(3) +' Log(pnl.GetView(2).GetView(1).text&"|"&pnl.GetView(2).GetView(2)&"|"&pnl.GetView(2).GetView(4).text) +' Log($"precio|stock:${laCant.tag}"$) +' Log($"Indice: ${index}, cant:${laCant.Text+1}, precioU: ${laCant.tag}"$) + Dim esteTag As List = Regex.Split("\|", laCant.Tag) + Log("LC_TEXT:"&laCant.Text&"|LC_TAG:"&laCant.Tag&"|ET:"&esteTag) + If laCant.Text = "" Then laCant.Text = 0 + + Private maxProds = esteTag.Get(1) + esteTag.Get(4) 'Prods disponibles + prods comprados + + LogColor($"++++++++++++++++++++++++++ ${esteTag}"$, Colors.Green) +' Log(esteTag.get(4)) + + Private minimoadesc As String + Dim minimos As Cursor = Starter.skmt.ExecQuery2("SELECT * FROM CAT_GUNAPROD3 WHERE CAT_GP_ID = ?", Array As String(esteTag.Get(2))) + If minimos.RowCount > 0 Then + minimos.Position = 0 + minimoadesc = minimos.GetString("CAT_DP_CANT_MIN_VENTA") + Else + minimoadesc = "1" + End If + minimos.Close + '*'${minimoadesc}') + minimoadesc = "1" + If esteTag.Get(7) <> "1" Then + + + If esteTag.Get(5) = esteTag.Get(6) Then + + If laCant.Text + 1 <= maxProds Then + Log($"NuevaCant = ${laCant.Text + 1}"$) + laCant.Text = $"$1.0{laCant.Text + 1}"$ + Starter.skmt.ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen - 1 where cat_gp_id = ?", Array As Object(esteTag.Get(2))) + + 'checar este por si las dudas + Starter.skmt.ExecNonQuery($"update HIST_VENTAS set HVD_RECHAZO = 1, HVD_RECHAZOCANT = HVD_RECHAZOCANT - (1*'${minimoadesc}') WHERE HVD_PROID = '${esteTag.Get(2)}' and HVD_cliente in (Select CUENTA from cuentaa) AND CONSECUTIVO = '${esteTag.Get(8)}'"$) + + Subs.prodVenta(esteTag.Get(5), esteTag.Get(2)) +' Private cym As Map = Subs.traemosCantYMonto(clv_pedido) +' L_CANT.Text = cym.Get("cantidad") +' L_TOTAL.Text = Round2(cym.Get("monto"), 2) +' cuentaProds("+") + B4XPage_Appear + End If + Else + + If laCant.Text + 1 <= maxProds Then + Log($"NuevaCant = ${laCant.Text + 1}"$) + laCant.Text = $"$1.0{laCant.Text + 1}"$ + Starter.skmt.ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen - 1 where cat_gp_id = ?", Array As String(esteTag.Get(2))) + c = Starter.skmt.ExecQuery2("SELECT * FROM PEDIDO WHERE PE_PROID = ? and PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND CONSECUTIVO = ?", Array As String(esteTag.Get(2),esteTag.Get(8))) + If c.RowCount > 0 Then + Private c2 As Cursor = Starter.skmt.ExecQuery2("SELECT * FROM CAT_GUNAPROD WHERE CAT_GP_ID = ?", Array As String(esteTag.Get(2))) + If c2.RowCount > 0 Then + c2.Position = 0 +' Starter.skmt.ExecNonQuery($"update HIST_VENTAS set HVD_RECHAZO = 1, HVD_RECHAZOCANT = HVD_RECHAZOCANT - 1 WHERE HVD_PROID = '${esteTag.Get(2)}' and HVD_cliente = '${esteTag.Get(5)}'"$) + Starter.skmt.ExecNonQuery($"update PEDIDO set PE_CANT = IFNULL(PE_CANT,0)+(1*'${minimoadesc}'), PE_COSTO_TOT= ((IFNULL(PE_CANT,0)+(1*'${minimoadesc}'))*'${c2.GetString("CAT_GP_PRECIO")}') WHERE PE_PROID = '${esteTag.Get(2)}' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '${esteTag.Get(8)}'"$) + End If + Else + Private c2 As Cursor = Starter.skmt.ExecQuery2("SELECT * FROM CAT_GUNAPROD WHERE CAT_GP_ID = ?", Array As String(esteTag.Get(2))) + If c2.RowCount > 0 Then + c2.Position = 0 +' Starter.skmt.ExecNonQuery($"update HIST_VENTAS set HVD_RECHAZO = 1, HVD_RECHAZOCANT = HVD_RECHAZOCANT - 1 WHERE HVD_PROID = '${esteTag.Get(2)}' and HVD_cliente = '${esteTag.Get(5)}'"$) + Starter.skmt.ExecNonQuery2("INSERT INTO PEDIDO(PE_PROID,PE_PRONOMBRE,PE_CANT,PE_CLIENTEOR,PE_CLIENTE,PE_COSTOU,PE_COSTO_TOT,PE_CAJAS,PE_BCAJAS,CONSECUTIVO) VALUES (?,?,?,?,?,?,?,0,0,?)", Array As String(esteTag.Get(2),c2.GetString("CAT_GP_NOMBRE"),1*minimoadesc,esteTag.Get(5),Subs.traeCliente,c2.GetString("CAT_GP_PRECIO"),c2.GetString("CAT_GP_PRECIO"),esteTag.Get(8))) + End If + End If + + + Subs.prodVenta(esteTag.Get(5), esteTag.Get(2)) +' Private cym As Map = Subs.traemosCantYMonto(clv_pedido) +' L_CANT.Text = cym.Get("cantidad") +' L_TOTAL.Text = Round2(cym.Get("monto"), 2) +' cuentaProds("+") + B4XPage_Appear + End If + + End If + End If +' Dim preciou As Float = esteTag.Get(0)/esteTag.Get(1) +' Log(preciou) +' LogColor("estamos aquii mas " & laCant.Text& " , " & (preciou * laCant.Text) ,Colors.Green ) +' b_guardar.Visible = True +' Log($"Total Prods: ${totalProds}, Total Compra: $$1.2{totalCompra}"$) +' c = Starter.skmt.ExecQuery($"SELECT HVD_CANT FROM HIST_VENTAS2 WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND HVD_PROID = '${esteTag.Get(2)}' "$) +' c.Position = 0 +' Dim cantoriginal As String = 0 +' If c.RowCount > 0 Then +' cantoriginal = c.GetString("HVD_CANT") +' End If +' If cantoriginal <= esteTag.Get(1) Then +' L_CANT.Text = L_CANT.Text + 1 +' End If +End Sub + +Sub cuentaProds(accion As String) + '' Log("Entramos a cuentaProds") +' Log("*******************************************************") +' Private cantRechazada As Int = 0 +' If Not(reconstruirPedido) Then +' Log("*********** CUENTAPRODS - NO RECONSTRUIR") +' prodsMap.Initialize +' For i = 0 To clv_pedido.GetSize - 1 +' Private p0 As B4XView = clv_pedido.GetPanel(i) +' Private p As B4XView = p0.GetView(0) +' Private cant1 As B4XView = p.GetView(2).GetView(3) +' If cant1.Text = "" Then cant1.Text = 0 + '' totalProds = totalProds + cant1.Text +' Private esteTag As List = Regex.Split("\|", cant1.Tag) +' Log("-------------------------------------") +' Log($"ET: ${esteTag}"$) +' Private esteProd As String = esteTag.Get(2) +' Private estaCant As Int = cant1.Text +' Private estaCantOriginal As Int = esteTag.Get(1) +' Private esteCliente = Subs.traeCliente +' Private esteProdNombre = Subs.traeNombre(esteProd) +' Private esteClienteOriginal As Int = esteTag.Get(5) +' Private fechaReparto As String = Subs.traeFechaReparto +' Private maxProds = Subs.traeMaxCantidad(esteTag.Get(5), esteTag.Get(2)) +' +' If cant1.Text > maxProds Then cant1.Text = maxProds +' +' cantRechazada = esteTag.Get(4) - cant1.Text + '' If accion = "-" Then cantRechazada = Subs.traeCantidadRechazada(esteClienteOriginal, esteProd) + 1 + '' If accion = "+" Then cantRechazada = Subs.traeCantidadRechazada(esteClienteOriginal, esteProd) - 1 +' Log($"${Subs.traeCantidadRechazada(esteClienteOriginal, esteProd)}, ${Subs.traeCantidadVendida(esteClienteOriginal, esteProd)}"$) +' + '' LogColor($"cantRechazada = ${esteTag.Get(4)} - ${cant1.Text}"$, Colors.Magenta) +' LogColor($"cantRechazada = ${cantRechazada}"$, Colors.Magenta) +' Private estePrecio As String = 0 +' If Subs.traePrecio(esteProd, 1) <> Null Then estePrecio = Subs.traePrecio(esteProd, 1) * cantRechazada +' + '' LogColor(esteProd & "|" & cant1.Text & "|" & estaCantOriginal & "|" & cantRechazada & "|" & estePrecio, Colors.red) + '' LogColor($"cantRechazada=${cantRechazada} | ${esteProdNombre}"$, Colors.Blue) + '' Log($"Ponemos HVD_CANT ${esteProd} en ${cant1.text}"$) +' Starter.skmt.ExecNonQuery2("update HIST_VENTAS set HVD_PARCIAL = 1, HVD_CANT = ? WHERE HVD_PROID = ? and HVD_CLIENTE in (Select CUENTA from cuentaa)", Array As String(cant1.Text ,esteProd)) +' Private rr As Cursor = Starter.skmt.ExecQuery($"select count(REP_CLIENTE) as hayRechazo from REPARTO where rep_prodid = '${esteProd}' and REP_CLIENTE in (Select CUENTA from cuentaa)"$) +' rr.Position = 0 + '' Log($"HayRechazo=${rr.GetString("hayRechazo")}"$) +' If rr.GetString("hayRechazo") = 0 Then +' Log("INSERTAMOS EN REPARTO") +' Starter.skmt.ExecNonQuery2("insert into reparto(REP_CLIENTE, REP_PRONOMBRE, REP_CANT, REP_COSTO_TOT, REP_FECHA, REP_RECHAZO, REP_PRODID, REP_PRECIO, REP_CLI_ORIG) VALUES (?,?,?,?,?,1,?,?,?) ", Array As String(esteCliente, esteProdNombre, 0, estePrecio, fechaReparto, esteProd, estePrecio, esteCliente)) +' Starter.skmt.ExecNonQuery2("insert into reparto(REP_CLIENTE, REP_PRONOMBRE, REP_CANT, REP_COSTO_TOT, REP_FECHA, REP_RECHAZO, REP_PRODID, REP_PRECIO, REP_CLI_ORIG) VALUES (?,?,?,?,?,0,?,?,?) ", Array As String(esteCliente, esteProdNombre, cantRechazada, 0, fechaReparto, esteProd, estePrecio, esteCliente)) +' Else if esteClienteOriginal = "0" Then 'Actualizamos el rechazo en el cliente actual. + '' Log($"Actualizamos REP_CANT=${cantRechazada}"$) + '' Starter.skmt.ExecNonQuery($"update reparto set REP_CANT = '${cantRechazada}', REP_PRECIO = '${estePrecio}', REP_COSTO_TOT = '${estePrecio * cantRechazada}' where REP_CLIENTE in (Select CUENTA from cuentaa) and REP_CLI_ORIG = '${esteClienteOriginal}' and REP_RECHAZO = 1 and REP_PRODID = '${esteProd}'"$) +' Else 'Cliente original <> 0 entonces actualizamos el rechazo en el cliente original y NO en el actual. +' Log($"Actualizamos REP_CANT RECHAZO = ${cantRechazada}"$) + '' Starter.skmt.ExecNonQuery($"update reparto set REP_CANT = ${cantRechazada}, REP_PRECIO = '${estePrecio}', REP_COSTO_TOT = '${estePrecio * cantRechazada}' where REP_CLIENTE = '${esteClienteOriginal}' and REP_CLI_ORIG = '${esteClienteOriginal}' and REP_RECHAZO = 1 and REP_PRODID = '${esteProd}'"$) + '' Starter.skmt.ExecNonQuery($"update reparto set REP_CANT = '${cant1.Text}', REP_PRECIO = '${estePrecio}', REP_COSTO_TOT = '${estePrecio * cantRechazada}' where REP_CLIENTE in (Select CUENTA from cuentaa) and REP_CLI_ORIG = '${esteClienteOriginal}' and REP_RECHAZO = 0 and REP_PRODID = '${esteProd}'"$) +' End If +' +' If cant1.Text > 0 Then + '' totalCompra = totalCompra + (esteTag.get(0) * cant1.text) + '' Log($"Cant: ${cant1.Text}, Suma: ${totalCompra}"$) +' Private m As Map +' m=CreateMap("cant":cant1.Text, "cant2":esteTag.get(4), "precio":esteTag.get(0), "promo":esteTag.get(3), "nombre":Subs.traeNombre(esteTag.Get(2)), "cli_orig":esteTag.get(5)) + '' LogColor("PUT:" & esteTag.Get(2), Colors.Red) +' prodsMap.Put(esteTag.Get(2), m) +' End If +' Log("-------------------------------------") +' Next +' End If +' Private bgColor, textColor As Int + ' +' If reconstruirPedido Then +' Log("*********** CUENTAPRODS - SI RECONSTRUIR") +' Private newPromo, newPrecio As String +' clv_pedido.Clear +' Log("Usamos PRODSMAP") +' For Each pr As String In prodsMap.Keys +' Private pr1 As Map = prodsMap.Get(pr) +' Log("PPP: " & pr & "|PromoABorrar=" & promoABorrar & "|" & pr1) +' bgColor = Colors.RGB(177, 200, 249)'azul +' textColor = Colors.black +' newPromo = pr1.Get("promo") +' newPrecio = pr1.Get("precio") +' Log("AAA: " & newPromo & "|" & promoABorrar) +' If newPromo = promoABorrar Then +' newPromo = 1 +' newPrecio = Subs.traePrecio(pr, False) * pr1.Get("cant") +' 'Ponemos precio SIN promo y sacamos el producto de la promo. +' Starter.skmt.ExecNonQuery($"update HIST_VENTAS set HVD_COSTO_TOT = ${newPrecio}, HVD_CODPROMO ='${Subs.traeAlmacen}' WHERE HVD_PRONOMBRE = '${pr1.Get("nombre")}' and HVD_cliente in (Select CUENTA from cuentaa)"$) +' LogColor("CAMBIAMOS PROMO: " & newPromo, Colors.Magenta) +' End If +' If newPromo <> "1" Then + '' bgColor = Colors.RGB(255, 212, 163) 'naranja +' bgColor = Colors.White +' End If +' Log($"CLI: ${pr1.Get("nombre")}, ${newPrecio}, ${pr1.Get("cant")}, ${pr1.Get("cant2")}"$) +' clv_pedido.Add(CreateListItem(pr1.Get("nombre"), newPrecio, pr1.Get("cant"), pr1.Get("cant2"), clv_pedido.AsView.Width, 118dip, bmp, pr, bgColor, textColor, newPromo, pr1.Get("cli_orig")), pr1.Get("nombre")) +' reconstruirPedido = False +' Next +' promoABorrar = "" +' End If +' Log($"Total Prods: ${totalProds}, Total Compra: $$1.2{totalCompra}"$) +' LogColor("prodsMap=" & prodsMap, Colors.Green) +' + ' +' LogColor(prodsMap, Colors.Blue) +' c = Starter.skmt.ExecQuery($"SELECT sum(HVD_CANT) as CANTIDAD FROM HIST_VENTAS WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"$) +' Dim cantidad1 As String = 0 +' If c.RowCount > 0 Then +' c.Position = 0 +' cantidad1 = c.GetString("CANTIDAD") +' L_CANT.Text = Round(cantidad1) +' End If +' c.Close +' +' Dim totalfinal As String = 0 +' For Each pr As String In prodsMap.Keys +' Private pr1 As Map = prodsMap.Get(pr) + '' LogColor(pr,Colors.Red) +' Dim x As Cursor = Starter.skmt.ExecQuery($"SELECT CAT_GP_PRECIO FROM CAT_GUNAPROD WHERE CAT_GP_ID = '${pr}'"$) +' c = Starter.skmt.ExecQuery($"SELECT HVD_CANT FROM HIST_VENTAS WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND HVD_PROID ='${pr}' "$) +' Dim cantidady As String = 0 +' If c.RowCount >0 Then +' c.Position = 0 +' cantidady = c.GetString("HVD_CANT") +' End If + '' Log(x.RowCount) +' If x.RowCount > 0 Then +' x.Position = 0 + '' Log(x.GetString("CAT_GP_PRECIO")) +' Dim preciou As String = x.GetString("CAT_GP_PRECIO") +' Dim costototalhist As String = preciou * cantidady + '' Log("Total ==== "&costototalhist) +' End If +' totalfinal = totalfinal + costototalhist +' x.Close +' Next +' L_TOTAL.Text = Round2(totalfinal, 2) +' c.Close +' +' c = Starter.skmt.ExecQuery("select COUNT(*) AS CUANTOS from REPARTO where REP_CLIENTE in (select cuenta from cuentaa) and REP_RECHAZO = '0' and REP_CANT > 0 order by REP_PRONOMBRE") +' If c.RowCount > 0 Then +' c.Position = 0 +' If c.GetString("CUANTOS") > 0 Then +' +' Dim z As Cursor = Starter.skmt.ExecQuery($"select SUM(REP_CANT) AS CANTIDAD , SUM(REP_PRECIO) AS PRECIO from REPARTO where REP_CLIENTE in (select cuenta from cuentaa) and REP_RECHAZO = '0' and REP_CANT > 0 order by REP_PRONOMBRE"$) +' Dim cantidad2 As String = 0 + '' Log(z.RowCount) +' If z.RowCount > 0 Then +' z.Position = 0 +' cantidad2= z.GetString("CANTIDAD") + '' LogColor(z.GetString("PRECIO")&" , " & z.GetString("CANTIDAD"), Colors.Magenta) + '' Log(cantidad1 &" , "& cantidad2) +' L_CANT.Text = Round((cantidad1 + cantidad2)) +' End If +' z.Close +' +' +' End If +' End If +' +' +' +End Sub + +Private Sub b_guardar_Click + +End Sub + + +Private Sub l_pCant_Click + +End Sub + +Sub p_prods_Click + Log(Sender.As(Panel).tag) +End Sub + +Private Sub b_prodMasC_Click + etCantHasFocus = False +' Log("etCantHasFocus=" & etCantHasFocus) + LogColor("b_prodMas_Click", Colors.Magenta) + Dim index As Int = clv_pedido.GetItemFromView(Sender) + Dim pnl0 As B4XView = clv_pedido.GetPanel(index) + Dim pnl As B4XView = pnl0.GetView(0) + Dim laCantc As B4XView = pnl.GetView(3).GetView(3) +' Log(pnl.GetView(2).GetView(1).text&"|"&pnl.GetView(2).GetView(2)&"|"&pnl.GetView(2).GetView(4).text) +' Log($"precio|stock:${laCant.tag}"$) +' Log($"Indice: ${index}, cant:${laCant.Text+1}, precioU: ${laCant.tag}"$) + Dim esteTag As List = Regex.Split("\|", laCantc.Tag) + Log("LC_TEXT:"&laCantc.Text&"|LC_TAG:"&laCantc.Tag&"|ET:"&esteTag) + If laCantc.Text = "" Then laCantc.Text = 0 + + Private maxProds As String = (esteTag.Get(1) + esteTag.Get(4))'Prods disponibles + prods comprados + LogColor(esteTag.Get(1),Colors.Red) + LogColor(esteTag.Get(4),Colors.Red) + LogColor($"++++++++++++++++++++++++++ ${esteTag}"$, Colors.Green) +' Log(esteTag.get(4)) + Log(maxProds) + +' l_pCantC.Tag = Round2(precioU,2)&"|"&inv&"|"&prodId&"|"&promo&"|"&inv2&"|"&cliente_original + If esteTag.Get(7) <> "1" Then + + + If laCantc.Text + 1 <= maxProds Then + Log($"NuevaCant = ${laCantc.Text + 1}"$) + laCantc.Text = $"$1.0{laCantc.Text + 1}"$ + + Log(laCantc.Text) + Starter.skmt.ExecNonQuery($"update HIST_VENTAS set HVD_RECHAZO = 1, HVD_RECHAZOCANT = IFNULL(HVD_RECHAZOCANT,0) -(1 * ${Subs.traeConversion(esteTag.Get(2))}) WHERE HVD_PROID = '${esteTag.Get(2)}' and HVD_cliente in (Select CUENTA from cuentaa) AND CONSECUTIVO = '${esteTag.Get(8)}'"$) +' Starter.skmt.ExecNonQuery($"update HIST_VENTAS set HVD_RECHAZO = 1, HVD_RECHAZOCANT = HVD_RECHAZOCANT - 1 WHERE HVD_PROID = '${esteTag.Get(2)}' and HVD_cliente in (Select CUENTA from cuentaa)"$) + +' Subs.prodVenta(esteTag.Get(5), esteTag.Get(2)) +' Private cym As Map = Subs.traemosCantYMonto(clv_pedido) +' L_CANT.Text = cym.Get("cantidad") +' L_TOTAL.Text = Round2(cym.Get("monto"), 2) +' cuentaProds("+") + B4XPage_Appear + End If + End If +End Sub + +Private Sub b_prodMenosC_Click + etCantHasFocus = False + Log("etCantHasFocus=" & etCantHasFocus) + LogColor("b_prodMenos_Click", Colors.Magenta) + Dim index As Int = clv_pedido.GetItemFromView(Sender) + Dim pnl0 As B4XView = clv_pedido.GetPanel(index) + Dim pnl As B4XView = pnl0.GetView(0) + Dim laCantc As B4XView = pnl.GetView(3).GetView(3) +' Log(pnl.GetView(2).GetView(0) & "|" & pnl.GetView(2).GetView(1) & "|" & pnl.GetView(2).GetView(2)) + Dim esteTag As List = Regex.Split("\|", laCantc.Tag) + Log("LC_TEXT:"&laCantc.Text&"|PROMO:"&esteTag.Get(3)&"|LC_TAG:"&laCantc.Tag&"|ET:"&esteTag) + Log(esteTag) + + If esteTag.Get(7) = "1" Then + Private c3 As Cursor = Starter.skmt.ExecQuery2("SELECT PE_CAJAS, CONSECUTIVO FROM PEDIDO WHERE PE_PROID = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND CONSECUTIVO = ? ", Array As String(esteTag.Get(2), esteTag.Get(8))) + Log(c3.RowCount) + Log(esteTag.Get(8)) + If c3.RowCount > 0 Then + Log("AQUI VEMOS SI ACTUALIZAMOS") + c3.Position = 0 + If c3.GetString("PE_CAJAS") > 1 Then + Starter.skmt.ExecNonQuery($"update PEDIDO set PE_CANT = (IFNULL(PE_CANT,0)-(1 * '${Subs.traeConversion(esteTag.Get(2))}')), PE_COSTO_TOT= ((IFNULL(PE_CAJAS,0)-1) *'${Subs.traePrecioC(esteTag.Get(2))}'), PE_CAJAS = IFNULL(PE_CAJAS,0) - 1 WHERE PE_PROID = '${esteTag.Get(2)}' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '${c3.GetString("CONSECUTIVO")}'"$) + Else If c3.GetString("PE_CAJAS") = 1 Then + Starter.skmt.ExecNonQuery($"delete from PEDIDO where PE_PROID = '${esteTag.Get(2)}' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '${c3.GetString("CONSECUTIVO")}'"$) + End If + End If + Log("entre al if o algo asi ") + If laCantc.Text = "" Then laCantc.Text = 0 + laCantc.Text = laCantc.Text - 1 + If laCantc.Text < 0 Then laCantc.Text = 0 + B4XPage_Appear + + Else + + + If esteTag.Get(5) = esteTag.Get(6) Then + + If laCantc.Text > 0 Then + Log("entre al if o algo asi ") + If laCantc.Text = "" Then laCantc.Text = 0 + laCantc.Text = laCantc.Text - 1 + If laCantc.Text < 0 Then laCantc.Text = 0 + Starter.skmt.ExecNonQuery($"update HIST_VENTAS set HVD_RECHAZO = 1, HVD_RECHAZOCANT = (IFNULL(HVD_RECHAZOCANT,0) +(1 * ${Subs.traeConversion(esteTag.Get(2))})) WHERE HVD_PROID = '${esteTag.Get(2)}' and HVD_cliente in (Select CUENTA from cuentaa) AND CONSECUTIVO = '${esteTag.Get(8)}'"$) + Starter.skmt.ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = (cat_gp_almacen + (1 * ?)) where cat_gp_id = ?", Array As Object(esteTag.Get(2), Subs.traeConversion(esteTag.Get(2)))) + B4XPage_Appear + Else If laCantc.Text = 0 Then + + End If + + Else + + If laCantc.Text > 0 Then + +' Starter.skmt.ExecNonQuery($"update HIST_VENTAS set HVD_RECHAZO = 1, HVD_RECHAZOCANT = (IFNULL(HVD_RECHAZOCANT,0) +(1 * ${Subs.traeConversion(esteTag.Get(2))})) WHERE HVD_PROID = '${esteTag.Get(2)}' and HVD_cliente = '${esteTag.Get(6)}'"$) + Private c3 As Cursor = Starter.skmt.ExecQuery2("SELECT PE_CAJAS FROM PEDIDO WHERE PE_PROID = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) and CONSECUTIVO = ? ", Array As String(esteTag.Get(2),esteTag.Get(8))) + If c3.RowCount > 0 Then + Log("AQUI VEMOS SI ACTUALIZAMOS") + c3.Position = 0 + If c3.GetString("PE_CAJAS") > 1 Then + Starter.skmt.ExecNonQuery($"update PEDIDO set PE_CANT = (IFNULL(PE_CANT,0)-(1 * '${Subs.traeConversion(esteTag.Get(2))}')), PE_COSTO_TOT= ((IFNULL(PE_CAJAS,0)-1) *'${Subs.traePrecioC(esteTag.Get(2))}'), PE_CAJAS = IFNULL(PE_CAJAS,0) - 1 WHERE PE_PROID = '${esteTag.Get(2)}' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '${esteTag.Get(8)}'"$) + Else If c3.GetString("PE_CAJAS") = 1 Then + Starter.skmt.ExecNonQuery($"delete from PEDIDO where PE_PROID = '${esteTag.Get(2)}' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '${esteTag.Get(8)}'"$) + End If + End If + Log("entre al if o algo asi ") + If laCantc.Text = "" Then laCantc.Text = 0 + laCantc.Text = laCantc.Text - 1 + If laCantc.Text < 0 Then laCantc.Text = 0 + B4XPage_Appear +' Starter.skmt.ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = (cat_gp_almacen + (1 * ?)) where cat_gp_id = ?", Array As Object(esteTag.Get(2), Subs.traeConversion(esteTag.Get(2)))) + Else If laCantc.Text = 0 Then + + End If + + End If + End If + Dim preciou As Float = esteTag.Get(0)/esteTag.Get(1) + Log("PU: " & preciou) +End Sub + +Private Sub l_pCantC_Click + +End Sub + +Private Sub b_revversar_Click + Private c3 As Cursor = Starter.skmt.ExecQuery("SELECT * FROM PEDIDO WHERE PE_CLIENTEOR IN (SELECT CUENTA FROM CUENTAA)") + If c3.RowCount = 0 Then + Starter.skmt.ExecNonQuery($"update HIST_VENTAS set HVD_RECHAZO = 0, HVD_RECHAZOCANT = 0, BCAJAS = BCAJAS_OR, CANTC = CANTC_OR WHERE HVD_cliente in (Select CUENTA from cuentaa)"$) + B4XPage_Appear + Else + MsgboxAsync("Hay productos que ya se vendieron, no se puede regresar la venta","Atención") + End If + + +End Sub + diff --git a/B4A/C_Detalle_Promo.bas b/B4A/C_Detalle_Promo.bas new file mode 100644 index 0000000..0f98bdf --- /dev/null +++ b/B4A/C_Detalle_Promo.bas @@ -0,0 +1,112 @@ +B4A=true +Group=Default Group +ModulesStructureVersion=1 +Type=Class +Version=12.2 +@EndOfDesignText@ +Sub Class_Globals + Private Root As B4XView 'ignore + Private xui As XUI 'ignore + Dim c As Cursor +' Dim ruta As String + Dim Regresar As Button + Dim b As Cursor + Dim regalo As String + Dim ListView1 As ListView + Dim L_CANT As Label + Dim L_TOTAL As Label + Dim borra As Button + Dim Existe As String +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("detalle_promo") + c=Starter.skmt.ExecQuery("select CAT_DP_IDPROD, CAT_DP_PZAS, CAT_DP_PRECIO FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID)") + ListView1.Clear + Subs.SetDivider(ListView1, Colors.LightGray, 2) + If c.RowCount>0 Then + For i=0 To c.RowCount -1 + c.Position=i + b=Starter.skmt.ExecQuery2("select CAT_GP_NOMBRE from cat_gunaprod where CAT_GP_ID = ?", Array As String(C.GetString("CAT_DP_IDPROD"))) + B.Position =0 + Dim label1 As Label + label1 = ListView1.TwoLinesLayout.Label + label1.TextSize = 10 + label1.TextColor = Colors.White + Dim label2 As Label + label2 = ListView1.TwoLinesLayout.SecondLabel + label2.TextSize = 10 + label2.TextColor = Colors.White + If c.GetString("CAT_DP_PRECIO") = 0 Then + regalo = "SI" + Else + regalo = "NO" + End If + ListView1.AddTwoLines(B.GetString("CAT_GP_NOMBRE"),"Cantidad # "& c.GetString("CAT_DP_PZAS")& " REGALO "& regalo) + b.Close + Next + c.Close + End If +End Sub + +'You can see the list of page related events in the B4XPagesManager object. The event name is B4XPage. + +Sub B4XPage_Appear + Starter.skmt.Initialize(Starter.ruta,"kmt.db", True) + c=Starter.skmt.ExecQuery("select CAT_DP_IDPROD, CAT_DP_PZAS, CAT_DP_PRECIO FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID)") + ListView1.Clear + Subs.SetDivider(ListView1, Colors.LightGray, 2) + If c.RowCount>0 Then + For i=0 To c.RowCount -1 + c.Position=i + b=Starter.skmt.ExecQuery2("select CAT_GP_NOMBRE from cat_gunaprod where CAT_GP_ID = ?", Array As String(C.GetString("CAT_DP_IDPROD"))) + B.Position =0 + Dim label1 As Label + label1 = ListView1.TwoLinesLayout.Label + label1.TextSize = 10 + label1.TextColor = Colors.White + Dim label2 As Label + label2 = ListView1.TwoLinesLayout.SecondLabel + label2.TextSize = 10 + label2.TextColor = Colors.White + If c.GetString("CAT_DP_PRECIO") = 0 Then + regalo = "SI" + Else + regalo = "NO" + End If + ListView1.AddTwoLines(B.GetString("CAT_GP_NOMBRE"),"Cantidad # "& c.GetString("CAT_DP_PZAS")& " REGALO "& regalo) + b.Close + Next + c.Close + End If + 'la_no_ird.Text = c.GetString("PR_CF_SALDO_ACORT") +End Sub + +Sub Activity_Pause (UserClosed As Boolean) + +End Sub + +Sub Regresar_Click +' StartActivity(pedidos) + B4XPages.ShowPage("") +End Sub + +Sub Activity_KeyPress (key As Int) As Boolean + ' BACK key pressed + If key=KeyCodes.KEYCODE_BACK Then + ' I want to capture the key here so I return True +' StartActivity(pedidos) + B4XPages.ShowPage("") + 'Return True + End If + ' Returning False signals the system to handle the key + Return False +End Sub diff --git a/B4A/C_Foto.bas b/B4A/C_Foto.bas new file mode 100644 index 0000000..acd0486 --- /dev/null +++ b/B4A/C_Foto.bas @@ -0,0 +1,167 @@ +B4A=true +Group=Default Group +ModulesStructureVersion=1 +Type=Class +Version=12.2 +@EndOfDesignText@ +Sub Class_Globals + Private Root As B4XView 'ignore + Private xui As XUI 'ignore + Private frontCamera As Boolean = False + Dim g As GPS + Private p_camara As Panel + Private camEx As CameraExClass + Dim btnTakePicture As Button + Dim c As Cursor + Dim cuenta As String + Dim lat_gps As String + Dim USUARIO As String + Dim MOTIVO As String +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 + g.Initialize("GPS") + Root.LoadLayout("foto") + c=Starter.skmt.ExecQuery("select cuenta from cuentaa") + c.Position = 0 + cuenta = c.GetString("CUENTA") +End Sub + +'You can see the list of page related events in the B4XPagesManager object. The event name is B4XPage. + +Sub B4XPage_Appear + InitializeCamera +End Sub + +Private Sub InitializeCamera + camEx.Initialize(p_camara, frontCamera, Me, "Camera1") + frontCamera = camEx.Front +End Sub + +Sub Activity_Pause (UserClosed As Boolean) +' camEx.Release +End Sub + +Sub GPS_LocationChanged (Location1 As Location) + +End Sub + +Sub Camera1_Ready (Success As Boolean) + If Success Then + camEx.SetJpegQuality(90) + camEx.CommitParameters + camEx.StartPreview + Log(camEx.GetPreviewSize) + Else + ToastMessageShow("Cannot open camera.", True) + End If +End Sub + +Sub btnTakePicture_Click + Dim ps As CameraSize + ps.Width =640 + ps.Height =480 + camEx.SetPictureSize(ps.Width, ps.Height) + 'ToastMessageShow(ps.Width & "x" & ps.Height, False) + camEx.CommitParameters + camEx.TakePicture +End Sub + +Sub btnFocus_Click + camEx.FocusAndTakePicture +End Sub + +Sub Camera1_PictureTaken (Data() As Byte) + Dim filename As String = "1.jpg" + Dim dir As String = File.DirInternal + + camEx.SavePictureToFile(Data, dir, filename) + camEx.StartPreview 'restart preview + 'Dim out As OutputStream + Dim sDate,sTime As String + DateTime.DateFormat = "MM/dd/yyyy" + sDate=DateTime.Date(DateTime.Now) + sTime=DateTime.Time(DateTime.Now) + c=Starter.skmt.ExecQuery("select CUENTA from cuentaa") + c.Position = 0 + cuenta = c.GetString("CUENTA") + c=Starter.skmt.ExecQuery("select USUARIO from usuarioa") + c.Position = 0 + USUARIO = c.GetString("USUARIO") + c.Close + Starter.skmt.ExecNonQuery("DELETE FROM NOVENTA WHERE NV_CLIENTE IN (select cuenta from cuentaa)") + c=Starter.skmt.ExecQuery("select HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) order by HVD_PRONOMBRE asc") + If c.RowCount>0 Then + For i=0 To c.RowCount -1 + c.Position=i + Starter.skmt.ExecNonQuery2("insert into reparto(REP_CLIENTE, REP_PRONOMBRE, REP_CANT, REP_COSTO_TOT) select HVD_CLIENTE, HVD_PRONOMBRE, HVD_CANT, HVD_COSTO_TOT from hist_ventas where HVD_PRONOMBRE = ? and HVD_cliente in (Select CUENTA from cuentaa) ", Array As String(c.GetString("HVD_PRONOMBRE"))) + Starter.skmt.ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen + ? where cat_gp_nombre = ?", Array As Object(c.GetString("HVD_CANT"),c.GetString("HVD_PRONOMBRE"))) + ' ANTES DE MODIFCAR + Next + End If + Starter.skmt.ExecNonQuery2("INSERT INTO NOVENTA (NV_CLIENTE,NV_FECHA,NV_USER,NV_MOTIVO,NV_COMM,NV_LAT,NV_LON, NV_FOTO) VALUES(?,?,?,?,?,?,?,?) ", Array As Object (cuenta,sDate & sTime, USUARIO, "CERRADO", B4XPages.MainPage.noVenta.COMENTARIO, B4XPages.MainPage.lat_gps, B4XPages.MainPage.lon_gps, Data)) + Starter.skmt.ExecNonQuery($"UPDATE kmt_info set gestion = 3, HORAENT = '${sDate & " " & sTime}' where CAT_CL_CODIGO In (select cuenta from cuentaa)"$) + Starter.skmt.ExecNonQuery("update HIST_VENTAS SET HVD_RECHAZO = 1 WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)") + B4XPages.ShowPage("Cliente") +End Sub + +Sub ChangeCamera_Click + camEx.Release + frontCamera = Not(frontCamera) + InitializeCamera +End Sub + +Sub btnEffect_Click + Dim effects As List = camEx.GetSupportedColorEffects + If effects.IsInitialized = False Then + ToastMessageShow("Effects not supported.", False) + Return + End If + Dim effect As String = effects.Get((effects.IndexOf(camEx.GetColorEffect) + 1) Mod effects.Size) + camEx.SetColorEffect(effect) + ToastMessageShow(effect, False) + camEx.CommitParameters +End Sub + +Sub btnFlash_Click + Dim f() As Float = camEx.GetFocusDistances + Log(f(0) & ", " & f(1) & ", " & f(2)) + Dim flashModes As List = camEx.GetSupportedFlashModes + If flashModes.IsInitialized = False Then + ToastMessageShow("Flash not supported.", False) + Return + End If + Dim flash As String = flashModes.Get((flashModes.IndexOf(camEx.GetFlashMode) + 1) Mod flashModes.Size) + camEx.SetFlashMode(flash) + ToastMessageShow(flash, False) + camEx.CommitParameters +End Sub + +Sub btnPictureSize_Click + Dim pictureSizes() As CameraSize = camEx.GetSupportedPicturesSizes + Dim current As CameraSize = camEx.GetPictureSize + For i = 0 To pictureSizes.Length - 1 + If pictureSizes(i).Width = current.Width And pictureSizes(i).Height = current.Height Then Exit + Next + Dim ps As CameraSize = pictureSizes((i + 1) Mod pictureSizes.Length) + camEx.SetPictureSize(ps.Width, ps.Height) + ToastMessageShow(ps.Width & "x" & ps.Height & i, False) + camEx.CommitParameters +End Sub + +Private Sub B4XPage_CloseRequest As ResumableSub + ' BACK key pressed + ' I want to capture the key here so I return True + B4XPages.ShowPage("Cliente") + ' Returning False signals the system to handle the key + Return False +End Sub + diff --git a/B4A/C_Historico.bas b/B4A/C_Historico.bas new file mode 100644 index 0000000..adeba39 --- /dev/null +++ b/B4A/C_Historico.bas @@ -0,0 +1,609 @@ +B4A=true +Group=Default Group +ModulesStructureVersion=1 +Type=Class +Version=12.2 +@EndOfDesignText@ +Sub Class_Globals + Private Root As B4XView 'ignore + Private xui As XUI 'ignore + Dim g As GPS + Dim clie_id As String + Dim sDate,sTime As String + Dim usuario As String + Dim c As Cursor +' Dim ruta As String + Dim b_regresar As Button + Dim ListView1 As ListView + Dim L_CANT As Label + Dim L_TOTAL As Label + Dim b_borra As Button + Dim Existe As String + Dim result As String + ' Dim lat_gps, lon_gps As String + Dim cuantos As String + Dim nombre_prod As String + Dim cuantos_pedido As String + Private Titulo As Label + Private P1 As Panel + Private lv2 As ListView + Private p_principal As Panel + Dim clv_pedido As CustomListView + Private p_prods As Panel + Private l_prodX As Label + Private l_pCant As Label + Private et_pCant As EditText + Dim bmp As Bitmap + Dim etCantHasFocus As Boolean = False + Dim totalProds As Int = 0 + Dim totalCompra As Int = 0 + Dim prodsMap As Map + Dim reconstruirPedido As Boolean = False + Dim promoABorrar As String + Private b_guardar As Button + Private b_prodMas As Button + Private b_prodMenos As Button +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 + g.Initialize("GPS") + Root.LoadLayout("historico") + b_borra.Visible = False + Titulo.Text = "Pedido" +End Sub + +'You can see the list of page related events in the B4XPagesManager object. The event name is B4XPage. + +Sub B4XPage_Appear + Subs.centraPanel(p_principal, Root.Width) +' b_guardar.Visible = False + +' Titulo.Left = Round(p_principal.Width/2)-(Titulo.Width/2) + L_CANT.Text ="" + L_TOTAL.Text="" + c=Starter.skmt.ExecQuery("select count(*) as EXISTE from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) and HVD_RECHAZO = 0 ") + C.Position=0 + Existe = C.GetString("EXISTE") + C.Close +' c=Starter.skmt.ExecQuery("select distinct hist_ventas.hvd_num_registro, HIST_VENTAS.HVD_CLIENTE, HIST_VENTAS.HVD_PRONOMBRE, HIST_VENTAS.HVD_PROID, HIST_VENTAS.HVD_CANT, HIST_VENTAS2.HVD_CANT as HVD_CANT2, HIST_VENTAS.HVD_COSTO_TOT, HIST_VENTAS.HVD_CODPROMO from HIST_VENTAS inner join HIST_VENTAS2 on HIST_VENTAS.HVD_PROID = HIST_VENTAS2.HVD_PROID and HIST_VENTAS.HVD_CLIENTE = HIST_VENTAS2.HVD_CLIENTE WHERE HIST_VENTAS.HVD_CLIENTE IN (Select CUENTA from cuentaa) and HIST_VENTAS.HVD_RECHAZO = 0 order by HIST_VENTAS.HVD_CODPROMO desc, HIST_VENTAS.HVD_PRONOMBRE asc") + c=Starter.skmt.ExecQuery("select hvd_num_registro, HVD_CLIENTE, HVD_PRONOMBRE, HVD_PROID, HVD_CANT, HVD_COSTO_TOT, HVD_CODPROMO from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) and HVD_RECHAZO = 0 and hvd_cant > 0 order by HVD_CODPROMO desc, HVD_PRONOMBRE asc") + ListView1.Clear + clv_pedido.Clear + Subs.SetDivider(ListView1, Colors.LightGray, 2) + clv_pedido.GetBase.SetLayoutAnimated(100, 0dip, 60dip, Root.Width - 50, Root.Height * 0.62) 'Cambiamos el tamaño y posición de la lista de productos + clv_pedido.Base_Resize(clv_pedido.GetBase.Width, clv_pedido.GetBase.Height) 'Cambiamos el tamaño del panel interno de la lista para que ajuste al nuevo tamaño. +' Log("RC1:"&c.RowCount) + If c.RowCount>0 Then +' Log("Usamos HV") + For i=0 To c.RowCount -1 + c.Position=i + 'Traemos cantidad de hvd2 + Private oc As Cursor = Starter.skmt.ExecQuery($"select HVD_CANT from HIST_VENTAS2 WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) and hvd_proid = '${c.GetString("HVD_PROID")}' and HVD_NUM_REGISTRO = '${c.GetString("HVD_NUM_REGISTRO")}'"$) + Private cant2 As Int = 0 + If oc.RowCount > 0 Then + oc.Position = 0 + cant2 = oc.GetString("HVD_CANT") + End If + oc.Close + Dim label1 As Label + label1 = ListView1.TwoLinesLayout.Label + label1.TextSize = 12 + label1.TextColor = Colors.black + Dim label2 As Label + label2 = ListView1.TwoLinesLayout.SecondLabel + label2.TextSize = 12 + label2.TextColor = Colors.black + Private bgColor, textColor As Int + bgColor = Colors.RGB(177, 200, 249)'azul + textColor = Colors.black + If c.GetString("HVD_CODPROMO") <> "1" Then +' bgColor = Colors.RGB(255, 212, 163) 'naranja + bgColor = Colors.White + End If +' Log($"Agregamos prod a lista1 | ${c.GetString("HVD_CANT")} - ${c.GetString("HVD_CANT2")}"$) 'HVD_CANT2 es la original de la orden. +' ListView1.AddTwoLines(c.GetString("HVD_PRONOMBRE"),"Cantidad #"& c.GetString("HVD_CANT")& " SubTotal $"& c.GetString("HVD_COSTO_TOT")) + clv_pedido.Add(CreateListItem(c.GetString("HVD_PRONOMBRE"), Subs.traePrecio(c.GetString("HVD_PROID"), c.GetString("HVD_CODPROMO")), c.GetString("HVD_CANT"), 0, clv_pedido.AsView.Width, 50dip, bmp, c.GetString("HVD_PROID"), bgColor, textColor, c.GetString("HVD_CODPROMO"),Subs.traeCliente), c.GetString("HVD_PRONOMBRE")) + Next +' cuentaProds("") + End If + 'Traemos lo vendido + Private vc As Cursor = Starter.skmt.ExecQuery("select * from REPARTO where REP_CLIENTE in (select cuenta from cuentaa) and REP_RECHAZO = '0' and REP_CANT > 0 order by REP_PRONOMBRE") + Log($"VENTA: ${vc.RowCount}"$) + If vc.RowCount > 0 Then +' Log("Usamos REPARTO") +' bgColor = Colors.RGB(248,113,113) + textColor = Colors.RGB(0,87,142) + For i=0 To vc.RowCount -1 + vc.Position = i + Private cantCO As Int = 0 + 'Traemos la cantidad disponible del cliente original + Private cco As Cursor = Starter.skmt.ExecQuery($"select * from REPARTO where REP_CLIENTE = '${vc.GetString("REP_CLI_ORIG")}' and REP_CLI_ORIG = '${vc.GetString("REP_CLI_ORIG")}' and REP_PRODID='${vc.GetString("REP_PRODID")}' and REP_RECHAZO = '1' and REP_CANT > 0"$) + + If cco.RowCount > 0 Then + cco.Position = 0 + cantCO = cco.GetString("REP_CANT") + vc.GetString("REP_CANT") + End If + cantCO = Subs.traeCantidadRechazada(vc.GetString("REP_CLI_ORIG"), vc.GetString("REP_PRODID")) + +' Log($"${vc.GetString("REP_CLI_ORIG")}, ${vc.GetString("REP_CLIENTE")}, ${vc.GetString("REP_PRODID")}, ${vc.GetString("REP_PRONOMBRE")}, ${vc.GetString("REP_RECHAZO")}, ${vc.GetString("REP_CANT")}, ${vc.GetString("REP_PRECIO")}, ${cantCO}, ${cco.GetString("REP_CANT")}, ${vc.GetString("REP_CANT")}"$) + clv_pedido.Add(CreateListItem(vc.GetString("REP_PRONOMBRE"), Subs.traePrecio(vc.GetString("REP_PRODID"), Subs.traeAlmacen), vc.GetString("REP_CANT"), cantCO, clv_pedido.AsView.Width, 50dip, bmp, vc.GetString("REP_PRODID"), bgColor, textColor, 1, vc.GetString("REP_CLI_ORIG")), vc.GetString("REP_PRONOMBRE")) + Next + cco.Close + vc.Close + End If + + If Existe <> 0 Then + c = Starter.skmt.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) and HVD_RECHAZO = 0 ") + C.Position=0 + L_CANT.Text = c.GetString("PC_NOART") + L_TOTAL.Text = Round2(c.GetString("PC_MONTO"), 2) + End If + c=Starter.skmt.ExecQuery("select count(*) as EXISTE from PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)") + c.Position=0 + Existe = C.GetString("EXISTE") + c.Close +' c=Starter.skmt.ExecQuery("select PE_PRONOMBRE,PE_COSTO_TOT, PE_CANT FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_PRONOMBRE asc") + 'ListView1.Clear + Subs.SetDivider(ListView1, Colors.LightGray, 2) +' Log("RC2:" & c.RowCount) +' If c.RowCount > 0 Then +' For i=0 To c.RowCount -1 +' c.Position=i +' Dim label1 As Label +' label1 = ListView1.TwoLinesLayout.Label +' label1.TextSize = 12 +' label1.TextColor = Colors.White +' Dim label2 As Label +' label2 = ListView1.TwoLinesLayout.SecondLabel +' label2.TextSize = 12 +' label2.TextColor = Colors.White +' Log("Agegamos prod a lista 2") +' ListView1.AddTwoLines("VENTA" & c.GetString("PE_PRONOMBRE"),"Cantidad #"& c.GetString("PE_CANT")& " SubTotal $"& c.GetString("PE_COSTO_TOT")) +' 'folio = c.GetString("PE_FOLIO") +' Next +' End If + If Existe <> 0 Then + c=Starter.skmt.ExecQuery("select SUM(PE_CANT) AS PE_CANT, SUM(PE_COSTO_TOT) AS PE_COSTO_TOT FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)") + C.Position=0 + L_CANT.Text = L_CANT.Text + c.GetString("PE_CANT") + L_TOTAL.Text = Round2(L_TOTAL.Text + c.GetString("PE_COSTO_TOT"), 2) + End If + 'la_no_ird.Text = c.GetString("PR_CF_SALDO_ACORT") +' cuentaProds("") + Private cym As Map = Subs.traemosCantYMonto(clv_pedido) + L_CANT.Text = cym.Get("cantidad") + L_TOTAL.Text = Round2(cym.Get("monto"), 2) +End Sub + +Sub GPS_LocationChanged (Location1 As Location) +' lat_gps=Location1.ConvertToSeconds(Location1.Latitude) +' lon_gps=Location1.ConvertToSeconds(Location1.Longitude) +End Sub + +Sub b_regresar_Click + B4XPages.ShowPage("Cliente") +End Sub + +Private Sub B4XPage_CloseRequest As ResumableSub + ' BACK key pressed + ' I want to capture the key here so I return True + B4XPages.ShowPage("Cliente") + ' Returning False signals the system to handle the key + Return False +End Sub + +Sub ListView1_ItemLongClick (Position As Int, Value As Object) 'BORRAR +' nombre_prod = Value +' result = Msgbox2("Seguro que desa borrar este articulo?","Borrar Articulo", "Si", "", "No",LoadBitmap(File.DirAssets,"alert2.png")) 'ignore +' If result = DialogResponse.POSITIVE Then +' c=Starter.skmt.ExecQuery2("select HVD_CANT FROM hist_ventas where HVD_pronombre = ? and HVD_cliente in (Select CUENTA from cuentaa) and HVD_RECHAZO = 0 ", Array As String(Value)) +' c.Position=0 +' If c.GetString("HVD_CANT") > 1 Then +' b_regresar.Visible =False +' b_borra.Visible=False +' P1.Visible =True +' cuantos_pedido = c.GetString("HVD_CANT") +' lv2.Clear +' lv2.SingleLineLayout.Label.TextColor = Colors.Black +' For i=1 To c.GetString("HVD_CANT") +' lv2.AddSingleLine(i) +' Next +' Else +' ' skmt.ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen + ? where cat_gp_nombre = ?", Array As Object(c.GetString("HVD_CANT"),Value)) +' c.Close +' Starter.skmt.ExecNonQuery2("insert into reparto(REP_CLIENTE, REP_PRONOMBRE, REP_CANT, REP_COSTO_TOT,REP_FECHA, REP_CLI_ORIG) select HVD_CLIENTE, HVD_PRONOMBRE, HVD_CANT, HVD_COSTO_TOT, HVD_FECHA, HVD_CLIENTE from hist_ventas where HVD_PRONOMBRE = ? and HVD_cliente in (Select CUENTA from cuentaa) ", Array As String(Value)) +' c=Starter.skmt.ExecQuery2("select HVD_CANT FROM hist_ventas where HVD_pronombre = ? and HVD_cliente in (Select CUENTA from cuentaa) and HVD_RECHAZO = 0 ", Array As String(Value)) +' c.Position=0 +' Starter.skmt.ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen + ? where cat_gp_nombre = ?", Array As Object(c.GetString("HVD_CANT"),Value)) +' c.Close +' +' 'skmt.ExecNonQuery2("delete FROM HIST_VENTAS WHERE HVD_PRONOMBRE = ? and HVD_cliente in (Select CUENTA from cuentaa) ", Array As String(Value)) +' ' se cambia por update para no borrarlo y tener todos los registros. +' Starter.skmt.ExecNonQuery2("update HIST_VENTAS set HVD_RECHAZO = 1 WHERE HVD_PRONOMBRE = ? and HVD_cliente in (Select CUENTA from cuentaa) ", Array As String(Value)) +' +' DateTime.DateFormat = "MM/dd/yyyy" +' sDate=DateTime.Date(DateTime.Now) +' sTime=DateTime.Time(DateTime.Now) +' c=Starter.skmt.ExecQuery("Select CUENTA from cuentaa") +' c.Position=0 +' clie_id = c.GetString("CUENTA") +' c=Starter.skmt.ExecQuery("select USUARIO from usuarioa") +' c.Position=0 +' usuario = c.GetString("USUARIO") +' 'quitar esta mamada no es ahi +' Starter.skmt.ExecNonQuery("UPDATE kmt_info set gestion = 3 where CAT_CL_CODIGO In (select cuenta from cuentaa)") +' B4XPage_Appear +' End If +' +' End If +End Sub + +Sub lv2_ItemClick (Position As Int, Value As Object) 'BORRAR +' ' If Value = "Todos" Then +' ' cuantos = c.GetString("HVD_CANT") +' 'Else +' cuantos = Value +' ' End If +' If cuantos = cuantos_pedido Then +' 'Starter.skmt.ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen + ? where cat_gp_nombre = ?", Array As Object(c.GetString("HVD_CANT"),nombre_prod)) +' c.Close +' Starter.skmt.ExecNonQuery2("insert into reparto(REP_CLIENTE, REP_PRONOMBRE, REP_CANT, REP_COSTO_TOT, REP_FECHA, REP_CLI_ORIG) select HVD_CLIENTE, HVD_PRONOMBRE, HVD_CANT, HVD_COSTO_TOT, HVD_FECHA, HVD_CLIENTE from hist_ventas where HVD_PRONOMBRE = ? and HVD_cliente in (Select CUENTA from cuentaa) ", Array As String(nombre_prod)) +' c=Starter.skmt.ExecQuery2("select HVD_CANT FROM hist_ventas where HVD_pronombre = ? and HVD_cliente in (Select CUENTA from cuentaa) and HVD_RECHAZO = 0 ", Array As String(nombre_prod)) +' c.Position=0 +' Starter.skmt.ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen + ? where cat_gp_nombre = ?", Array As Object(c.GetString("HVD_CANT"),nombre_prod)) +' c.Close +' 'Starter.skmt.ExecNonQuery2("delete FROM HIST_VENTAS WHERE HVD_PRONOMBRE = ? and HVD_cliente in (Select CUENTA from cuentaa) ", Array As String(Value)) +' ' se cambia por update para no borrarlo y tener todos los registros. +' Starter.skmt.ExecNonQuery2("update HIST_VENTAS set HVD_RECHAZO = 1 WHERE HVD_PRONOMBRE = ? and HVD_cliente in (Select CUENTA from cuentaa) and HVD_RECHAZO = 0 ", Array As String(Value)) +' DateTime.DateFormat = "MM/dd/yyyy" +' sDate=DateTime.Date(DateTime.Now) +' sTime=DateTime.Time(DateTime.Now) +' c=Starter.skmt.ExecQuery("Select CUENTA from cuentaa") +' c.Position=0 +' clie_id = c.GetString("CUENTA") +' c=Starter.skmt.ExecQuery("select USUARIO from usuarioa") +' c.Position=0 +' usuario = c.GetString("USUARIO") +' 'quitar esta m*m*d* no es ahi +' Starter.skmt.ExecNonQuery("UPDATE kmt_info set gestion = 3 where CAT_CL_CODIGO In (select cuenta from cuentaa)") +' Starter.skmt.ExecNonQuery2("update hist_Ventas set HVD_RECHAZO = 1, HVD_PARCIAL = 0, HVD_CANT = HVD_CANT - ? where HVD_pronombre = ? and HVD_cliente in (Select CUENTA from cuentaa) and HVD_RECHAZO = 0 ", Array As Object(cuantos, nombre_prod)) +' b_regresar.Visible =True +' b_borra.Visible=True +' P1.Visible =False +' B4XPage_Appear +' Else +' ' skmt.ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen + ? where cat_gp_nombre = ?", Array As Object(cuantos,nombre_prod)) +' c.Close +' +' 'modificar tambien esto +' 'Modificaciones para que solo quite una parte. +' Starter.skmt.ExecNonQuery2("insert into reparto(REP_CLIENTE, REP_PRONOMBRE, REP_CANT, REP_COSTO_TOT, REP_FECHA, REP_CLI_ORIG) select HVD_CLIENTE, HVD_PRONOMBRE, ?, ? * (HVD_COSTO_TOT/?), HVD_FECHA, HVD_CLIENTE from hist_ventas where HVD_PRONOMBRE = ? and HVD_cliente in (Select CUENTA from cuentaa) ", Array As Object(cuantos,cuantos,cuantos_pedido, nombre_prod)) +' Starter.skmt.ExecNonQuery2("insert into hist_ventas(HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT, HVD_FECHA, HVD_CODPROMO, HVD_PROID,HVD_NUM_TICKET, HVD_NUM_REGISTRO, HVD_RECHAZO, HVD_ESTATUS, HVD_PARCIAL) select HVD_CLIENTE,HVD_PRONOMBRE,?,HVD_COSTO_TOT, HVD_FECHA, HVD_CODPROMO, HVD_PROID,HVD_NUM_TICKET, HVD_NUM_REGISTRO, 1, HVD_ESTATUS, 1 from hist_ventas where HVD_PRONOMBRE = ? and HVD_cliente in (Select CUENTA from cuentaa) ", Array As Object(cuantos, nombre_prod)) +' Starter.skmt.ExecNonQuery2("update hist_Ventas set HVD_RECHAZO = 0, HVD_PARCIAL = 1, HVD_CANT = HVD_CANT - ? where HVD_pronombre = ? and HVD_cliente in (Select CUENTA from cuentaa) and HVD_RECHAZO = 0 ", Array As Object(cuantos, nombre_prod)) +' Starter.skmt.ExecNonQuery2("update hist_Ventas set HVD_COSTO_TOT = HVD_CANT * (HVD_COSTO_TOT/?) where HVD_pronombre = ? and HVD_cliente in (Select CUENTA from cuentaa) and HVD_RECHAZO = 0 ", Array As Object(cuantos_pedido, nombre_prod)) +' Starter.skmt.ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen + ? where cat_gp_nombre = ?", Array As Object(cuantos,nombre_prod)) +' 'crear nueva tabla para que guarde el resto. +'' skmt.ExecNonQuery2("delete FROM HIST_VENTAS WHERE HVD_PRONOMBRE = ? and HVD_cliente in (Select CUENTA from cuentaa) ", Array As String(Value)) +' DateTime.DateFormat = "MM/dd/yyyy" +' sDate=DateTime.Date(DateTime.Now) +' sTime=DateTime.Time(DateTime.Now) +' c=Starter.skmt.ExecQuery("Select CUENTA from cuentaa") +' c.Position=0 +' clie_id = c.GetString("CUENTA") +' c=Starter.skmt.ExecQuery("select USUARIO from usuarioa") +' c.Position=0 +' usuario = c.GetString("USUARIO") +' Starter.skmt.ExecNonQuery("UPDATE kmt_info set gestion = 3 where CAT_CL_CODIGO In (select cuenta from cuentaa)") +' B4XPage_Appear +' b_regresar.Visible =True +' b_borra.Visible=True +' P1.Visible =False +' End If +End Sub + +'**************************************************************************** +'***************** PARA EL MAS/MENOS ************************************* +'**************************************************************************** + +Sub CreateListItem(Text As String, precioU As String, inv As Int, inv2 As Int, Width As Int, Height As Int, img As Bitmap, prodId As String, bc As Int, tc As Int, promo As String, cliente_original As String) As Panel + Dim p As B4XView = xui.CreatePanel("") + Private cs As CSBuilder + cs.Initialize + p.SetLayoutAnimated(0, 0, 0, Width, Height) + p.LoadLayout("prodItem") + p_prods.Color = bc + l_prodX.TextColor = tc + precioU = $"$1.2{precioU}"$ + l_prodX.Text = Text&CRLF&"Cant: " & inv2 & " $" & precioU + If promo <> "1" And precioU = 0 Then + l_prodX.Text = cs.Color(Colors.RGB(123,0,0)).append(Text&CRLF&"Cant: " & inv2 & " $" & precioU).PopAll + End If + l_prodX.Tag = $"ID: ${prodId}${CRLF}${Text}${CRLF}Precio: $$1.2{precioU}${CRLF}Inv: ${inv} pzs"$ +' l_pCant.Text = 0 + l_pCant.Tag = Round2(precioU,2)&"|"&inv&"|"&prodId&"|"&promo&"|"&inv2&"|"&cliente_original + et_pCant.Tag = Round2(precioU,2)&"|"&inv&"|"&prodId&"|"&promo&"|"&inv2&"|"&cliente_original + p_prods.Tag = l_pCant.tag +' Log($"Ponemos la cant en ${inv}"$) + l_pCant.Text = inv +' et_pCant.Text = inv +' et_pCant.BringToFront + + l_pCant.BringToFront + et_pCant.SendToBack + +' i_prod.Bitmap = img + Return p +End Sub + +Sub b_prodMenos_Click + etCantHasFocus = False + Log("etCantHasFocus=" & etCantHasFocus) + LogColor("b_prodMenos_Click", Colors.Magenta) + Dim index As Int = clv_pedido.GetItemFromView(Sender) + Dim pnl0 As B4XView = clv_pedido.GetPanel(index) + Dim pnl As B4XView = pnl0.GetView(0) + Dim laCant As B4XView = pnl.GetView(2).GetView(3) +' Log(pnl.GetView(2).GetView(0) & "|" & pnl.GetView(2).GetView(1) & "|" & pnl.GetView(2).GetView(2)) + Dim esteTag As List = Regex.Split("\|", laCant.Tag) + Log("LC_TEXT:"&laCant.Text&"|PROMO:"&esteTag.Get(3)&"|LC_TAG:"&laCant.Tag&"|ET:"&esteTag) + If esteTag.Get(3) <> "1" Then 'Si es PROMO entonces ... + Log("ES PROMO") + result = Msgbox2("Si se modifica una promoción, la promoción se rompe y solo quedarán los productos sueltos, ¿seguro que desea continuar?","Modificar Promoción", "Si", "", "No",LoadBitmap(File.DirAssets,"alert2.png")) 'ignore + If result = DialogResponse.POSITIVE Then 'Quitamos esta promo + prodsMap.Remove(esteTag.Get(3)) + Starter.skmt.ExecNonQuery($"update HIST_VENTAS set HVD_RECHAZO = 1 WHERE HVD_PROID = '${esteTag.Get(3)}' and HVD_cliente in (Select CUENTA from cuentaa)"$) + Starter.skmt.ExecNonQuery($"update HIST_VENTAS set HVD_CODPROMO = '${Subs.traeAlmacen}' WHERE HVD_cliente in (Select CUENTA from cuentaa) AND HVD_CODPROMO = '${esteTag.Get(3)}'"$) + LogColor(prodsMap, Colors.red) + reconstruirPedido = True + promoABorrar = esteTag.Get(3) + B4XPage_Appear + End If + Else + If laCant.Text = "" Then laCant.Text = 0 + laCant.Text = $"$1.0{laCant.Text-1}"$ + If laCant.Text < 0 Then laCant.Text = 0 + Starter.skmt.ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen + 1 where cat_gp_id = ?", Array As Object(esteTag.Get(2))) + End If + Dim preciou As Float = esteTag.Get(0)/esteTag.Get(1) + Log("PU: " & preciou) +' LogColor("estamos aqui mmenos " & laCant.Text& " , " & (preciou * laCant.Text),Colors.Green ) +' If L_CANT.Text - 1 >= 0 Then +' L_CANT.Text = L_CANT.Text - 1 +' End If +' b_guardar.Visible = True + Subs.prodRechazo(esteTag.Get(5), esteTag.Get(2)) + Private cym As Map = Subs.traemosCantYMonto(clv_pedido) + L_CANT.Text = cym.Get("cantidad") + L_TOTAL.Text = Round2(cym.Get("monto"), 2) +' cuentaProds("-") +End Sub + +Sub b_prodMas_Click + etCantHasFocus = False +' Log("etCantHasFocus=" & etCantHasFocus) + LogColor("b_prodMas_Click", Colors.Magenta) + Dim index As Int = clv_pedido.GetItemFromView(Sender) + Dim pnl0 As B4XView = clv_pedido.GetPanel(index) + Dim pnl As B4XView = pnl0.GetView(0) + Dim laCant As B4XView = pnl.GetView(2).GetView(3) +' Log(pnl.GetView(2).GetView(1).text&"|"&pnl.GetView(2).GetView(2)&"|"&pnl.GetView(2).GetView(4).text) +' Log($"precio|stock:${laCant.tag}"$) +' Log($"Indice: ${index}, cant:${laCant.Text+1}, precioU: ${laCant.tag}"$) + Dim esteTag As List = Regex.Split("\|", laCant.Tag) + Log("LC_TEXT:"&laCant.Text&"|LC_TAG:"&laCant.Tag&"|ET:"&esteTag) + If laCant.Text = "" Then laCant.Text = 0 + + Private maxProds as string = esteTag.Get(1) + esteTag.Get(4) 'Prods disponibles + prods comprados + + LogColor($"++++++++++++++++++++++++++ ${esteTag}"$, Colors.Green) +' Log(esteTag.get(4)) + If laCant.Text + 1 <= maxProds Then + Log($"NuevaCant = ${laCant.Text + 1}"$) + laCant.Text = $"$1.0{laCant.Text + 1}"$ + Starter.skmt.ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen - 1 where cat_gp_id = ?", Array As Object(esteTag.Get(2))) + Subs.prodVenta(esteTag.Get(5), esteTag.Get(2)) + Private cym As Map = Subs.traemosCantYMonto(clv_pedido) + L_CANT.Text = cym.Get("cantidad") + L_TOTAL.Text = Round2(cym.Get("monto"), 2) +' cuentaProds("+") + End If +' Dim preciou As Float = esteTag.Get(0)/esteTag.Get(1) +' Log(preciou) +' LogColor("estamos aquii mas " & laCant.Text& " , " & (preciou * laCant.Text) ,Colors.Green ) +' b_guardar.Visible = True +' Log($"Total Prods: ${totalProds}, Total Compra: $$1.2{totalCompra}"$) +' c = Starter.skmt.ExecQuery($"SELECT HVD_CANT FROM HIST_VENTAS2 WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND HVD_PROID = '${esteTag.Get(2)}' "$) +' c.Position = 0 +' Dim cantoriginal As String = 0 +' If c.RowCount > 0 Then +' cantoriginal = c.GetString("HVD_CANT") +' End If +' If cantoriginal <= esteTag.Get(1) Then +' L_CANT.Text = L_CANT.Text + 1 +' End If +End Sub + +Sub cuentaProds(accion As String) +' Log("Entramos a cuentaProds") +Log("*******************************************************") + Private cantRechazada As Int = 0 + If Not(reconstruirPedido) Then + Log("*********** CUENTAPRODS - NO RECONSTRUIR") + prodsMap.Initialize + For i = 0 To clv_pedido.GetSize - 1 + Private p0 As B4XView = clv_pedido.GetPanel(i) + Private p As B4XView = p0.GetView(0) + Private cant1 As B4XView = p.GetView(2).GetView(3) + If cant1.Text = "" Then cant1.Text = 0 +' totalProds = totalProds + cant1.Text + Private esteTag As List = Regex.Split("\|", cant1.Tag) + Log("-------------------------------------") + Log($"ET: ${esteTag}"$) + Private esteProd As String = esteTag.Get(2) + Private estaCant As Int = cant1.Text + Private estaCantOriginal As Int = esteTag.Get(1) + Private esteCliente = Subs.traeCliente + Private esteProdNombre = Subs.traeNombre(esteProd) + Private esteClienteOriginal As Int = esteTag.Get(5) + Private fechaReparto As String = Subs.traeFechaReparto + Private maxProds = Subs.traeMaxCantidad(esteTag.Get(5), esteTag.Get(2)) + + If cant1.Text > maxProds Then cant1.Text = maxProds + + cantRechazada = esteTag.Get(4) - cant1.Text +' If accion = "-" Then cantRechazada = Subs.traeCantidadRechazada(esteClienteOriginal, esteProd) + 1 +' If accion = "+" Then cantRechazada = Subs.traeCantidadRechazada(esteClienteOriginal, esteProd) - 1 + Log($"${Subs.traeCantidadRechazada(esteClienteOriginal, esteProd)}, ${Subs.traeCantidadVendida(esteClienteOriginal, esteProd)}"$) + +' LogColor($"cantRechazada = ${esteTag.Get(4)} - ${cant1.Text}"$, Colors.Magenta) + LogColor($"cantRechazada = ${cantRechazada}"$, Colors.Magenta) + Private estePrecio As String = 0 + If Subs.traePrecio(esteProd, 1) <> Null Then estePrecio = Subs.traePrecio(esteProd, Subs.traeAlmacen) * cantRechazada + +' LogColor(esteProd & "|" & cant1.Text & "|" & estaCantOriginal & "|" & cantRechazada & "|" & estePrecio, Colors.red) +' LogColor($"cantRechazada=${cantRechazada} | ${esteProdNombre}"$, Colors.Blue) +' Log($"Ponemos HVD_CANT ${esteProd} en ${cant1.text}"$) + Starter.skmt.ExecNonQuery2("update HIST_VENTAS set HVD_PARCIAL = 1, HVD_CANT = ? WHERE HVD_PROID = ? and HVD_CLIENTE in (Select CUENTA from cuentaa)", Array As String(cant1.Text ,esteProd)) + Private rr As Cursor = Starter.skmt.ExecQuery($"select count(REP_CLIENTE) as hayRechazo from REPARTO where rep_prodid = '${esteProd}' and REP_CLIENTE in (Select CUENTA from cuentaa)"$) + rr.Position = 0 +' Log($"HayRechazo=${rr.GetString("hayRechazo")}"$) + If rr.GetString("hayRechazo") = 0 Then + Log("INSERTAMOS EN REPARTO") + Starter.skmt.ExecNonQuery2("insert into reparto(REP_CLIENTE, REP_PRONOMBRE, REP_CANT, REP_COSTO_TOT, REP_FECHA, REP_RECHAZO, REP_PRODID, REP_PRECIO, REP_CLI_ORIG) VALUES (?,?,?,?,?,1,?,?,?) ", Array As String(esteCliente, esteProdNombre, 0, estePrecio, fechaReparto, esteProd, estePrecio, esteCliente)) + Starter.skmt.ExecNonQuery2("insert into reparto(REP_CLIENTE, REP_PRONOMBRE, REP_CANT, REP_COSTO_TOT, REP_FECHA, REP_RECHAZO, REP_PRODID, REP_PRECIO, REP_CLI_ORIG) VALUES (?,?,?,?,?,0,?,?,?) ", Array As String(esteCliente, esteProdNombre, cantRechazada, 0, fechaReparto, esteProd, estePrecio, esteCliente)) + Else if esteClienteOriginal = "0" Then 'Actualizamos el rechazo en el cliente actual. +' Log($"Actualizamos REP_CANT=${cantRechazada}"$) +' Starter.skmt.ExecNonQuery($"update reparto set REP_CANT = '${cantRechazada}', REP_PRECIO = '${estePrecio}', REP_COSTO_TOT = '${estePrecio * cantRechazada}' where REP_CLIENTE in (Select CUENTA from cuentaa) and REP_CLI_ORIG = '${esteClienteOriginal}' and REP_RECHAZO = 1 and REP_PRODID = '${esteProd}'"$) + Else 'Cliente original <> 0 entonces actualizamos el rechazo en el cliente original y NO en el actual. + Log($"Actualizamos REP_CANT RECHAZO = ${cantRechazada}"$) +' Starter.skmt.ExecNonQuery($"update reparto set REP_CANT = ${cantRechazada}, REP_PRECIO = '${estePrecio}', REP_COSTO_TOT = '${estePrecio * cantRechazada}' where REP_CLIENTE = '${esteClienteOriginal}' and REP_CLI_ORIG = '${esteClienteOriginal}' and REP_RECHAZO = 1 and REP_PRODID = '${esteProd}'"$) +' Starter.skmt.ExecNonQuery($"update reparto set REP_CANT = '${cant1.Text}', REP_PRECIO = '${estePrecio}', REP_COSTO_TOT = '${estePrecio * cantRechazada}' where REP_CLIENTE in (Select CUENTA from cuentaa) and REP_CLI_ORIG = '${esteClienteOriginal}' and REP_RECHAZO = 0 and REP_PRODID = '${esteProd}'"$) + End If + + If cant1.Text > 0 Then +' totalCompra = totalCompra + (esteTag.get(0) * cant1.text) +' Log($"Cant: ${cant1.Text}, Suma: ${totalCompra}"$) + Private m As Map + m=CreateMap("cant":cant1.Text, "cant2":esteTag.get(4), "precio":esteTag.get(0), "promo":esteTag.get(3), "nombre":Subs.traeNombre(esteTag.Get(2)), "cli_orig":esteTag.get(5)) +' LogColor("PUT:" & esteTag.Get(2), Colors.Red) + prodsMap.Put(esteTag.Get(2), m) + End If + Log("-------------------------------------") + Next + End If + Private bgColor, textColor As Int + + If reconstruirPedido Then + Log("*********** CUENTAPRODS - SI RECONSTRUIR") + Private newPromo, newPrecio As String + clv_pedido.Clear + Log("Usamos PRODSMAP") + For Each pr As String In prodsMap.Keys + Private pr1 As Map = prodsMap.Get(pr) + Log("PPP: " & pr & "|PromoABorrar=" & promoABorrar & "|" & pr1) + bgColor = Colors.RGB(177, 200, 249)'azul + textColor = Colors.black + newPromo = pr1.Get("promo") + newPrecio = pr1.Get("precio") + Log("AAA: " & newPromo & "|" & promoABorrar) + If newPromo = promoABorrar Then + newPromo = 1 + newPrecio = Subs.traePrecio(pr, False) * pr1.Get("cant") + 'Ponemos precio SIN promo y sacamos el producto de la promo. + Starter.skmt.ExecNonQuery($"update HIST_VENTAS set HVD_COSTO_TOT = ${newPrecio}, HVD_CODPROMO = '${Subs.traeAlmacen}' WHERE HVD_PRONOMBRE = '${pr1.Get("nombre")}' and HVD_cliente in (Select CUENTA from cuentaa)"$) + LogColor("CAMBIAMOS PROMO: " & newPromo, Colors.Magenta) + End If + If newPromo <> "1" Then +' bgColor = Colors.RGB(255, 212, 163) 'naranja + bgColor = Colors.White + End If + Log($"CLI: ${pr1.Get("nombre")}, ${newPrecio}, ${pr1.Get("cant")}, ${pr1.Get("cant2")}"$) + clv_pedido.Add(CreateListItem(pr1.Get("nombre"), newPrecio, pr1.Get("cant"), pr1.Get("cant2"), clv_pedido.AsView.Width, 50dip, bmp, pr, bgColor, textColor, newPromo, pr1.Get("cli_orig")), pr1.Get("nombre")) + reconstruirPedido = False + Next + promoABorrar = "" + End If + Log($"Total Prods: ${totalProds}, Total Compra: $$1.2{totalCompra}"$) + LogColor("prodsMap=" & prodsMap, Colors.Green) + + + LogColor(prodsMap, Colors.Blue) + c = Starter.skmt.ExecQuery($"SELECT sum(HVD_CANT) as CANTIDAD FROM HIST_VENTAS WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"$) + Dim cantidad1 As String = 0 + If c.RowCount > 0 Then + c.Position = 0 + cantidad1 = c.GetString("CANTIDAD") + L_CANT.Text = Round(cantidad1) + End If + c.Close + + Dim totalfinal As String = 0 + For Each pr As String In prodsMap.Keys + Private pr1 As Map = prodsMap.Get(pr) +' LogColor(pr,Colors.Red) + Dim x As Cursor = Starter.skmt.ExecQuery($"SELECT CAT_GP_PRECIO FROM CAT_GUNAPROD WHERE CAT_GP_ID = '${pr}'"$) + c = Starter.skmt.ExecQuery($"SELECT HVD_CANT FROM HIST_VENTAS WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND HVD_PROID ='${pr}' "$) + Dim cantidady As String = 0 + If c.RowCount >0 Then + c.Position = 0 + cantidady = c.GetString("HVD_CANT") + End If +' Log(x.RowCount) + If x.RowCount > 0 Then + x.Position = 0 +' Log(x.GetString("CAT_GP_PRECIO")) + Dim preciou As String = x.GetString("CAT_GP_PRECIO") + Dim costototalhist As String = preciou * cantidady +' Log("Total ==== "&costototalhist) + End If + totalfinal = totalfinal + costototalhist + x.Close + Next + L_TOTAL.Text = Round2(totalfinal, 2) + c.Close + + c = Starter.skmt.ExecQuery("select COUNT(*) AS CUANTOS from REPARTO where REP_CLIENTE in (select cuenta from cuentaa) and REP_RECHAZO = '0' and REP_CANT > 0 order by REP_PRONOMBRE") + If c.RowCount > 0 Then + c.Position = 0 + If c.GetString("CUANTOS") > 0 Then + + Dim z As Cursor = Starter.skmt.ExecQuery($"select SUM(REP_CANT) AS CANTIDAD , SUM(REP_PRECIO) AS PRECIO from REPARTO where REP_CLIENTE in (select cuenta from cuentaa) and REP_RECHAZO = '0' and REP_CANT > 0 order by REP_PRONOMBRE"$) + Dim cantidad2 As String = 0 +' Log(z.RowCount) + If z.RowCount > 0 Then + z.Position = 0 + cantidad2= z.GetString("CANTIDAD") +' LogColor(z.GetString("PRECIO")&" , " & z.GetString("CANTIDAD"), Colors.Magenta) +' Log(cantidad1 &" , "& cantidad2) + L_CANT.Text = Round((cantidad1 + cantidad2)) + End If + z.Close + + + End If + End If + + + +End Sub + +Private Sub b_guardar_Click + +End Sub + + +Private Sub l_pCant_Click + +End Sub + +Sub p_prods_Click + Log(Sender.As(Panel).tag) +End Sub \ No newline at end of file diff --git a/B4A/C_Mapas.bas b/B4A/C_Mapas.bas new file mode 100644 index 0000000..8371da5 --- /dev/null +++ b/B4A/C_Mapas.bas @@ -0,0 +1,24 @@ +B4A=true +Group=Default Group +ModulesStructureVersion=1 +Type=Class +Version=12.2 +@EndOfDesignText@ +Sub Class_Globals + Private Root As B4XView 'ignore + Private xui As XUI 'ignore +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 + +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_NoVenta.bas b/B4A/C_NoVenta.bas new file mode 100644 index 0000000..53bec50 --- /dev/null +++ b/B4A/C_NoVenta.bas @@ -0,0 +1,407 @@ +B4A=true +Group=Default Group +ModulesStructureVersion=1 +Type=Class +Version=12.2 +@EndOfDesignText@ +Sub Class_Globals + Private Root As B4XView 'ignore + Private xui As XUI 'ignore + Dim g As GPS + Dim c As Cursor + Dim COMENTARIO As String + Dim CANCELA As Button + Dim GUARDA As Button + Dim r_1 As RadioButton + Dim r_2 As RadioButton + Dim r_3 As RadioButton + Dim e_comm As EditText + Dim motivo As String + Dim cuenta As String + Dim usuario As String + Dim sDate,sTime As String + Dim r_4 As RadioButton + Private p_principal As Panel + Dim d As Cursor + Dim reqManager As DBRequestManager + Private cb_reprogramar As CheckBox + Dim reprogramar As Int = 0 + Dim PASA_IMP As String + Dim Printer1 As EscPosPrinter + Dim impresoraConectada As Boolean = False + Dim errorImpresora As Int = 0 + Dim cmp20 As Serial + Dim btAdmin As BluetoothAdmin + Dim printer As TextWriter +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("no_venta") + reqManager.Initialize(Me, B4XPages.MainPage.SERVER) +End Sub + +'You can see the list of page related events in the B4XPagesManager object. The event name is B4XPage. + +Sub B4XPage_Appear + Printer1.Initialize(Me, "Printer1") + + If Printer1.IsConnected = False Then +' Printer1.Connect +' Log("1") + Else + Printer1.DisConnect + Printer1.Connect + Log("2") + End If + btAdmin.Initialize("BlueTeeth") + cmp20.Initialize("Printer") + + reqManager.Initialize(Me, B4XPages.MainPage.SERVER) + e_comm.Text="" + r_1.Checked = False + r_2.Checked = False + r_3.Checked = False + r_4.Checked = False + cb_reprogramar.Checked = False +End Sub + +Sub GPS_LocationChanged (Location1 As Location) +' lat_gps=Location1.ConvertToSeconds(Location1.Latitude) +' lon_gps=Location1.ConvertToSeconds(Location1.Longitude) +End Sub + +Sub CANCELA_Click + B4XPages.ShowPage("Cliente") +End Sub + +Sub GUARDA_Click + If r_1.Checked = False And r_2.Checked = False And r_3.Checked = False And r_4.Checked = False Then + MsgboxAsync("Selecciona un motivo de rechazo","Atención") + Else + B_IMP_Click + + End If +End Sub + + +Sub mandaPendientesreparto +' c=Starter.skmt.ExecQuery("SELECT CLIENTE, USUARIO, FECHA_PUNTEO, LATITUD, LONGITUD, ALMACEN, RUTA_REPARTO, RUTA_PREV, FECHA_PREVENTA, MOTIVO, COMENTARIO,TIPO FROM REPARTO_GEO where ENVIO <> 1") +' Log($"REPARTO_Cliente PENDIENTE: ${c.RowCount}"$) +' If c.RowCount>0 Then +' For i=0 To c.RowCount -1 +' c.Position=i +' +' Dim cmd As DBCommand +' cmd.Initialize +' cmd.Name = "insert_REPARTO_MARDS" +' cmd.Parameters = Array As Object(c.GetString("CLIENTE"), c.GetString("USUARIO"), c.GetString("FECHA_PUNTEO"), c.GetString("LATITUD"), c.GetString("LONGITUD"), c.GetString("ALMACEN"), c.GetString("RUTA_REPARTO"), c.GetString("RUTA_PREV"), c.GetString("FECHA_PREVENTA"), c.GetString("MOTIVO"), c.GetString("COMENTARIO"),c.GetString("TIPO")) +' reqManager.ExecuteCommand(cmd , $"ins_REPARTOPendientes_head_${c.GetString("CLIENTE")}"$) +' +' Next +' End If +' c.Close +End Sub + + + +Sub JobDone(Job As HttpJob) + Log(Job.Success) + If Job.Success = False Then +' ToastMessageShow("Error: " & Job.ErrorMessage, True) + Else + LogColor("JobDone: '" & reqManager.HandleJob(Job).tag & "' - Registros: " & reqManager.HandleJob(Job).Rows.Size, Colors.Green) 'Mod por CHV - 211027 + If Job.JobName = "DBRequest" Then + Dim resultado As DBResult = reqManager.HandleJob(Job) + If resultado.Tag.As(String).IndexOf("ins_REPARTOPendientes_head_") > -1 Then + Private cliente As String= resultado.Tag + cliente = cliente.SubString(cliente.IndexOf("_")+24) + Log($"Cliente1:${cliente}"$) + Starter.skmt.ExecNonQuery2("update REPARTO_GEO SET ENVIO = ? WHERE CLIENTE = ? AND ENVIO <> ?",Array As String ("1", cliente,"1")) + For Each records() As Object In resultado.Rows + For Each k As String In resultado.Columns.Keys + Log(resultado.Tag & ": " & k & ": " & records(resultado.Columns.Get(k))) + Next + Next + End If + End If + Job.Release + End If + +End Sub + +Private Sub cb_reprogramar_CheckedChange(Checked As Boolean) + If Checked Then + reprogramar = 1 + Else + reprogramar = 0 + End If +End Sub + + +Sub B_IMP_Click + c=Starter.skmt.ExecQuery("select USUARIO from usuarioa") + c.Position=0 + usuario = c.GetString("USUARIO") +' DateTime.DateFormat = "MM/dd/yyyy" + DateTime.DateFormat = "MM/dd/yyyy" + DateTime.TimeFormat="HH:mm:ss" + sDate=DateTime.Date(DateTime.Now) + sTime=DateTime.Time(DateTime.Now) + c.Close +' c=Starter.skmt.ExecQuery2("SELECT CAT_VA_VALOR FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION =?", Array As String ("SUCURSAL")) +' c.Position = 0 +' sucursal = c.GetString("CAT_VA_VALOR") +' c.Close + + ProgressDialogShow("Imprimiendo, un momento ...") + Printer1.DisConnect + If Not(Printer1.IsConnected) Then +' Log("Conectando a impresora ...") + Printer1.Connect + Private cont As Int = 0 + Do While Not(impresoraConectada) + Sleep(1000) +' Log("++++++ " & cont) + cont = cont + 1 + If cont = 2 Then Printer1.Connect 'Tratamos de reconectar + If cont > 3 Then impresoraConectada = True + Loop + Sleep(500) + impresoraConectada = False + Else +' Log("conectando 2") + Printer1.Connect + Private cont As Int = 0 + Do While Not(impresoraConectada) Or Not(Printer1.IsConnected) + Sleep(1000) +' Log("****** " & cont) + cont = cont + 1 + If cont = 2 Then Printer1.Connect + If cont > 3 Then impresoraConectada = True + Loop + Sleep(500) + impresoraConectada = False + End If + + + Printer1.WriteString("Izca Distribuciones" & CRLF) + + Printer1.WriteString("Vendedor:" & usuario & CRLF) + + + Dim clientecur As Cursor = Starter.skmt.ExecQuery("SELECT CAT_CL_NOMBRE FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)") + clientecur.Position = 0 + + Printer1.WriteString("ID.Cliente: " & Subs.traeCliente & CRLF) + + Printer1.WriteString("Tienda: " & clientecur.GetString("CAT_CL_NOMBRE") & CRLF) + + Printer1.WriteString(sDate &" "& sTime & CRLF) + If r_1.Checked Then + motivo = "CERRADO" + Else If r_2.Checked Then + motivo = "NO PIDIO" + Else If r_3.Checked Then + motivo = "CANCELA" + Else + motivo = "NO ESTA EL ENCARGADO" + End If + Printer1.WriteString(motivo & CRLF) +' + + + Printer1.WriteString(" " & CRLF) + Printer1.WriteString("--------INFORMATIVO-----------" & CRLF) + Printer1.WriteString("------------------------------" & CRLF) + Printer1.WriteString(" " & CRLF) + Printer1.WriteString(" " & CRLF) + Printer1.WriteString(" " & CRLF) + Sleep(1000) + Printer1.DisConnect + + ProgressDialogHide + + Msgbox2Async("Deseas imprimir de nuevo el ticket?", "ATENCION","SI","", "NO",LoadBitmap(File.DirAssets,"alert2.png"), False) + Wait For Msgbox_Result (resultado As Int) + If resultado = DialogResponse.POSITIVE Then + B_IMP_Click + Else + Guardado + End If +End Sub + +Sub Guardado + + If r_1.Checked Then + motivo = "CERRADO" + Else If r_2.Checked Then + motivo = "NO PIDIO" + Else If r_3.Checked Then + motivo = "CANCELA" + Else + motivo = "NO ESTA EL ENCARGADO" + End If + + If motivo <> "CERRADO" Or motivo = "CERRADO" Then + DateTime.DateFormat = "MM/dd/yyyy" + DateTime.TimeFormat="HHmmss" + sDate=DateTime.Date(DateTime.Now) + sTime=DateTime.Time(DateTime.Now) + c=Starter.skmt.ExecQuery("select CUENTA from cuentaa") + c.Position = 0 + cuenta = c.GetString("CUENTA") + c=Starter.skmt.ExecQuery("select usuario from usuarioa") + c.Position = 0 + usuario = c.GetString("USUARIO") + c.Close + Dim rutaactualizar As String + Dim rut As Cursor = Starter.skmt.ExecQuery("SELECT CAT_CL_RUTA FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)") + If rut.RowCount > 0 Then + rut.Position = 0 + rutaactualizar = rut.GetString("CAT_CL_RUTA") + End If + Starter.skmt.ExecNonQuery($"DELETE FROM NOVENTA WHERE NV_CLIENTE IN (select cuenta from cuentaa) AND NV_RUTA ='${rutaactualizar}' "$) + 'Traemos los productos del pedido. + c=Starter.skmt.ExecQuery("select HVD_NUM_REGISTRO, HVD_CLIENTE, HVD_PRONOMBRE, HVD_CANT, HVD_COSTO_TOT, HVD_FECHA, HVD_PROID, CAT_GP_PRECIO from HIST_VENTAS2 join CAT_GUNAPROD on CAT_GP_ID = HVD_PROID WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) order by HVD_PRONOMBRE asc") + If c.RowCount > 0 Then 'Si hay pedido en HIST_VENTAS ... + + 'Revisamos si se le ha agregado venta al pedido. + Private esteCliente As String = Subs.traeCliente + Private rv As Cursor = Starter.skmt.ExecQuery($"select * from REPARTO where REP_CLIENTE = '${esteCliente}' and REP_CLI_ORIG <> '${esteCliente}' and REP_RECHAZO = 0"$) + If rv.RowCount > 0 Then 'Si tenemos venta en el pedido ... + For i2=0 To rv.RowCount - 1 + rv.Position = i2 + Log($"Actualizamos REPARTO - cliente=${rv.GetString("REP_CLIENTE")}, cliente orignal=${rv.GetString("REP_CLI_ORIG")}, le agregamos ${rv.GetString("REP_CANT")}"$) + Starter.skmt.ExecNonQuery($"update REPARTO set REP_CANT = REP_CANT + ${rv.GetString("REP_CANT")} where REP_RECHAZO = '1' and REP_CLIENTE = '${rv.GetString("REP_CLI_ORIG")}' and REP_CLI_ORIG = '${rv.GetString("REP_CLI_ORIG")}'"$) + Next + End If + + Starter.skmt.ExecNonQuery("delete from reparto where REP_CLIENTE IN (Select CUENTA from cuentaa)") + For i=0 To c.RowCount - 1 'Insertamos los productos en REPARTO. + c.Position=i + Log($"REGISTRO= ${c.GetString("HVD_NUM_REGISTRO")}"$) + Starter.skmt.ExecNonQuery2("insert into reparto(REP_CLIENTE, REP_PRONOMBRE, REP_CANT, REP_COSTO_TOT, REP_FECHA, REP_RECHAZO, REP_PRODID, REP_PRECIO, REP_PRODREGISTRO, REP_CLI_ORIG) VALUES (?,?,?,?,?,1,?,?,?,?) ", Array As String(c.GetString("HVD_CLIENTE"),c.GetString("HVD_PRONOMBRE"),c.GetString("HVD_CANT"),c.GetString("HVD_COSTO_TOT"),c.GetString("HVD_FECHA"), c.GetString("HVD_PROID"), c.GetString("CAT_GP_PRECIO"), c.GetString("HVD_NUM_REGISTRO"), c.GetString("HVD_CLIENTE"))) + Starter.skmt.ExecNonQuery2("insert into reparto(REP_CLIENTE, REP_PRONOMBRE, REP_CANT, REP_COSTO_TOT, REP_FECHA, REP_RECHAZO, REP_PRODID, REP_PRECIO, REP_PRODREGISTRO, REP_CLI_ORIG) VALUES (?,?,?,?,?,0,?,?,?,?) ", Array As String(c.GetString("HVD_CLIENTE"),c.GetString("HVD_PRONOMBRE"),0,c.GetString("HVD_COSTO_TOT"),c.GetString("HVD_FECHA"), c.GetString("HVD_PROID"), c.GetString("CAT_GP_PRECIO"), c.GetString("HVD_NUM_REGISTRO"), c.GetString("HVD_CLIENTE"))) + Starter.skmt.ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen + ? where cat_gp_nombre = ?", Array As Object(c.GetString("HVD_CANT"),c.GetString("HVD_PRONOMBRE"))) + Next + End If + + Starter.skmt.ExecNonQuery2("INSERT INTO NOVENTA (NV_CLIENTE,NV_FECHA,NV_USER,NV_MOTIVO,NV_COMM,NV_LAT,NV_LON,NV_FOTO,NV_REPROGRAMAR) VALUES(?,?,?,?,?,?,?,?,?) ", Array As Object (cuenta,sDate & sTime, usuario, motivo,e_comm.text, B4XPages.MainPage.lat_gps, B4XPages.MainPage.lon_gps,rutaactualizar,reprogramar)) + Starter.skmt.ExecNonQuery($"UPDATE kmt_info set gestion = 3, HORAENT = '${sDate & " " & sTime}' where CAT_CL_CODIGO In (select cuenta from cuentaa) and CAT_CL_RUTA = '${rutaactualizar}'"$) + Starter.skmt.ExecNonQuery("update HIST_VENTAS SET HVD_RECHAZO = 1, HVD_RECHAZOCANT = HVD_CANT, HVD_RECHAZOCANTC = CANTC, BCAJAS = 0 , CANTC = 0 WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)") + Starter.skmt.ExecNonQuery($"update HIST_VENTAS set HVD_RECHAZO = 2, HVD_RECHAZOCANT = HVD_RECHAZOCANT WHERE HVD_PROID = HVD_CODPROMO and HVD_CLIENTE in (Select CUENTA from cuentaa)"$) + Starter.skmt.ExecNonQuery("DELETE FROM PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA)") + d = Starter.skmt.ExecQuery("SELECT RUTAA FROM RUTAA") + d.Position = 0 + Dim ruta As String = d.GetString("RUTAA") + d.Close + d = Starter.skmt.ExecQuery("SELECT CAT_CL_RUTA FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)") + d.Position = 0 + Dim rutapre As String = d.GetString("CAT_CL_RUTA") + d.Close + d = Starter.skmt.ExecQuery("SELECT HVD_FECHA FROM HIST_VENTAS WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)") + d.Position = 0 + Dim fechaprev As String = d.GetString("HVD_FECHA") + d.Close + d = Starter.skmt.ExecQuery("SELECT CUENTA FROM CUENTAA") + d.Position = 0 + Starter.skmt.ExecNonQuery2("INSERT INTO REPARTO_GEO (CLIENTE, USUARIO, FECHA_PUNTEO, LATITUD, LONGITUD, ALMACEN, RUTA_REPARTO, RUTA_PREV, FECHA_PREVENTA, MOTIVO, COMENTARIO,TIPO,ENVIO) VALUES(?,?,?,?,?,?,?,?,?,?,?,?,0)",Array As String (cuenta, usuario, sDate &" "&sTime, B4XPages.MainPage.lat_gps, B4XPages.MainPage.lon_gps,B4XPages.MainPage.almacen,ruta,rutapre,fechaprev, motivo, e_comm.Text,"NO ENTREGADO")) + +' Dim mandamapa As Cursor = Starter.skmt.ExecQuery("SELECT * FROM kmt_info WHERE gestion = 0") +' If mandamapa.RowCount > 0 Then +' StartActivity(MAPA_RUTAS) +' Else If mandamapa.RowCount = 0 Then + + B4XPages.ShowPage("Principal") +' End If + Else + COMENTARIO = e_comm.Text +' B4XPages.ShowPage("Foto") +' StartActivity(foto) + End If + +End Sub + +Sub Printer1_Connected (Success As Boolean) +' If Logger Then Log("Printer1_Connected") + If Success Then + ToastMessageShow("Impresora conectada", False) + Starter.skmt.ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?", Array As Object ("MACIMP")) + Starter.skmt.ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)", Array As Object ("MACIMP",Starter.mac_impresora)) +' If logger Then LogColor("Impresora conectada", Colors.Green) +' B_IMP2.Enabled = True + impresoraConectada = True + Else +' Msgbox(Printer1.ConnectedErrorMsg, "Error connecting.") 'ignore +' ToastMessageShow("Error conectando la impresora", False) + LogColor("Error conectando la impresora", Colors.Red) + errorImpresora = errorImpresora + 1 + If errorImpresora > 1 Then + Starter.MAC_IMPRESORA = "0" + errorImpresora = 0 + End If + End If +End Sub + +Sub Printer1_Error + Log("error printer") +End Sub + +Sub Printer_Connected (Success As Boolean) + If Success Then +' B_IMP.Enabled = True + PASA_IMP = "1" + Else +' B_IMP.Enabled = False + If Msgbox2("", "Printer Error","Reprint","Cancel","",Null) = DialogResponse.POSITIVE Then 'ignore + StartPrinter + End If + End If +End Sub + +Sub StartPrinter + Dim PairedDevices As Map + Dim L1 As List + Dim resimp As Int + ToastMessageShow("Printing.....",True) + PairedDevices.Initialize + Try + PairedDevices = cmp20.GetPairedDevices + Catch + Msgbox("Getting Paired Devices","Printer Error") 'ignore + printer.Close + cmp20.Disconnect + End Try + + If PairedDevices.Size = 0 Then + Msgbox("Error Connecting to Printer - Printer Not Found","") 'ignore + Return + End If + + If PairedDevices.Size = 1 Then + Try + cmp20.Connect(PairedDevices.Get(PairedDevices.GetKeyAt(0))) + Catch + Msgbox("Connecting","Printer Error") 'ignore + printer.Close + cmp20.Disconnect + End Try + Else + L1.Initialize + For i = 0 To PairedDevices.Size - 1 + L1.Add(PairedDevices.GetKeyAt(i)) + Next + resimp = InputList(L1, "Choose device", -1) 'ignore + If resimp <> DialogResponse.CANCEL Then + cmp20.Connect(PairedDevices.Get(L1.Get(resimp))) + End If + End If +End Sub \ No newline at end of file diff --git a/B4A/C_NuevoCliente.bas b/B4A/C_NuevoCliente.bas new file mode 100644 index 0000000..8371da5 --- /dev/null +++ b/B4A/C_NuevoCliente.bas @@ -0,0 +1,24 @@ +B4A=true +Group=Default Group +ModulesStructureVersion=1 +Type=Class +Version=12.2 +@EndOfDesignText@ +Sub Class_Globals + Private Root As B4XView 'ignore + Private xui As XUI 'ignore +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 + +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_Pedidos.bas b/B4A/C_Pedidos.bas new file mode 100644 index 0000000..8371da5 --- /dev/null +++ b/B4A/C_Pedidos.bas @@ -0,0 +1,24 @@ +B4A=true +Group=Default Group +ModulesStructureVersion=1 +Type=Class +Version=12.2 +@EndOfDesignText@ +Sub Class_Globals + Private Root As B4XView 'ignore + Private xui As XUI 'ignore +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 + +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 new file mode 100644 index 0000000..ef6b809 --- /dev/null +++ b/B4A/C_Principal.bas @@ -0,0 +1,3607 @@ +B4A=true +Group=Default Group +ModulesStructureVersion=1 +Type=Class +Version=12.2 +@EndOfDesignText@ +Sub Class_Globals + Private Root As B4XView 'ignore + Private xui As XUI 'ignore + Dim reqManager As DBRequestManager + Dim conectado As String + Dim t1 As Timer + Dim sb As StringBuilder + Dim PHONE As Phone + Dim trabajar As Button + Dim c, a As Cursor + Dim d As Cursor + Dim b As Cursor + Dim e As Cursor + Dim f As Cursor + Dim f1 As Cursor + Dim f2 As Cursor + Dim f3 As Cursor + Dim F4 As Cursor + Dim lv As ListView + Dim cargar As Button + Dim pendiente As Button + Dim foto1() As Byte + Dim usuario As String + Dim connecta As Button + Dim conn As String + Dim Subir As Button + Dim cmd As DBCommand + Dim TOPE As Int + Dim COUNT_CLIE As Int + Dim fecha As String + Dim drop As Double + Dim efectiva As Double + Dim L As Cursor + Dim l_aLiquidar As Label + Dim l_cuantosc As Label + Dim l_montoSalida As Label +' Dim l_efectiva As Label + Dim l_ctast As Label + Dim BUSCA As Button + Dim Cuantos As String + Dim l_cuantosn As Label + Dim e_ruta As EditText + Dim l_porvisitar As Label + Dim b_mapa As Button + Dim l_ruta As Label + Dim ALMACEN As String + Private img2 As ImageView + Dim Listo1 As String + Dim Listo2 As String + Dim Listo3 As String + Dim Listo4 As String + Dim Listo5 As String + Dim EJECUTANDO As String + Dim RES As String + Dim inve As String + Dim cuantos_pedidosc As String + Dim cuantos_pedido As String + Dim cuantos_noventa As String + Dim datos_iguales As String + Dim p As PhoneId + Dim imei As String + + Private inv As Button +' Private cambios As Label + Private L_MONTOE As Label + Private B_CLIEPROD As Button + Private ListView1 As ListView + Private B_REGRESA As Button + Private Panel1 As Panel + Dim ESTATUS As String + Dim batterystatus(11) As Int + Private bu As BatteryUtilities + Dim RUTA_T As String + Dim reqs As List + '''''' MAPA RUTAS + Private Btn_Ubicar_Ru As Button + Dim cargo As String + Private p_principal As Panel + Dim ime As IME + Private b_tabulador As Button + + Private l_rutasP As Label + Private l_rechazo As Label + Private Label9 As Label + Dim cp As Cursor + Private b_check As Button + Private b_rechazos As Button + Private p_prod As Panel + Private b_regreso As Button + Private lv_prod_Prin As ListView + Private b_venta_emp As Button + + ''para la carga --- mover a los demas clientes + Dim t8 As Timer + Private B_carga As Button + Private P_carga As Panel + Private L_carga As Label + Private PB_carga As ProgressBar + Private PB_carga2 As ProgressBar + Private l_carga2 As Label + 'fin carga + + Dim btAdmin As BluetoothAdmin + Dim cmp20 As Serial + Dim printer As TextWriter + Dim TAMANO As Int + Dim ESPACIO As Int + Dim BLANCO As String + Dim Printer1 As EscPosPrinter + Dim impresoraConectada As Boolean = False + Dim errorImpresora As Int = 0 + Private inventario As ImageView + Dim PASA_IMP As String + Private b_imp_inventario As Button + + Dim s As Cursor + Private PrinterIsReady As Boolean = False + Private LastConnectionAttempt As Long = 0 + Private b_impresion_rec As Button + Private L_clientes_visit As Label + Private l_clientes_recha As Label + Private l_clientes_visitados As Label + Private l_numtickets As Label + Private P_CIEGO As Panel + Private B_PC_ENV As Button + Private b_terpc As Button + Private CLV_PICK_CIEGO As CustomListView + Private L_PICK_CIEGO As Label + Private ET_PICK_CIEGO As EditText + Private P_PICK_CIEGO As Panel + Private L_CANT_PCIK 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("principal") + EJECUTANDO=1 + reqManager.Initialize(Me, B4XPages.MainPage.server) +' LogColor($"ReqServer = ${B4XPages.MainPage.server}"$, Colors.red) +' Dim ruta As String + img2.Visible =False + DateTime.DateFormat = "MM/dd/yyyy" + fecha=DateTime.Date(DateTime.Now) +' skmt.Initialize(Starter.ruta,"kmt.db", True) + b=Starter.skmt.ExecQuery("Select count(*) as CUANTOS from pedido_cliente") + b.Position=0 + Cuantos = b.GetString("CUANTOS") + d=Starter.skmt.ExecQuery("select count(*) as TOTAL_VISITAR from kmt_info where gestion = 0 AND CAT_CL_RUTA <> 1000") + D.Position=0 + b.Close + e=Starter.skmt.ExecQuery("select count(*) as POR_VISITAR from kmt_info WHERE CAT_CL_RUTA <> 1000") + e.Position=0 + If Cuantos = 0 Then + l_aLiquidar.Text = 0 + l_cuantosc.Text = 0 + l_cuantosn.Text = 0 + drop = 0 + l_montoSalida.Text = 0 + efectiva = 0 +' l_efectiva.text = 0 + l_ctast.Text = d.GetString("TOTAL_VISITAR") + l_porvisitar.Text = e.GetString("POR_VISITAR") + Else +' c=Starter.skmt.ExecQuery("select sum(pc_monto) as MONTO_DIA, count(pc_cliente) AS CLIENTES_DIA from pedido_cliente") +' b=Starter.skmt.ExecQuery("select count(*) as CUANTOS from noventa") +' 'where pc_fecha = ?", Array As String(fecha) +' C.Position=0 +' b.Position=0 +' l_aLiquidar.Text = c.GetString("MONTO_DIA") +' l_cuantosc.Text = c.GetString("CLIENTES_DIA") +' l_cuantosn.Text = b.GetString("CUANTOS") +'' drop = c.GetString("MONTO_DIA") / c.GetString("CLIENTES_DIA") + '' l_montoSalida.Text = Round2(drop,2) +'' efectiva = c.GetString("CLIENTES_DIA") / e.GetString("POR_VISITAR") +'' l_efectiva.text = Round2(efectiva * 100, 2) +' l_ctast.Text = d.GetString("TOTAL_VISITAR") +' l_porvisitar.Text = e.GetString("POR_VISITAR") +' b.Close +' c.Close + End If + b=Starter.skmt.ExecQuery("select id_almacen from CAT_ALMACEN") + If b.RowCount > 0 Then +' Log("Traemos almacen ..." & B4XPages.MainPage.server) + b.Position = 0 +' Log(b.GetString("ID_ALMACEN")) + Dim cmd As DBCommand + cmd.Initialize + cmd.Name = "select_coords_almacen_mards" + cmd.Parameters = Array As Object(b.GetString("ID_ALMACEN")) + reqManager.ExecuteQuery(cmd , 0, "coords_almacen") + End If + B4XPages.MainPage.usuario=Subs.dameUsuarioDeDB + btAdmin.Initialize("BlueTeeth") + cmp20.Initialize("Printer") +End Sub + +Sub B4XPage_Appear + + Private c As Cursor = Starter.skmt.ExecQuery("SELECT * FROM NOVENTA WHERE NV_MOTIVO = 'ENTREGA' AND NV_CLIENTE IN (SELECT CUENTA FROM CUENTAA)") + If c.RowCount > 0 Then + Starter.skmt.ExecNonQuery("delete from NOVENTA where NV_MOTIVO <> 'ENTREGA' AND NV_CLIENTE IN (SELECT CUENTA FROM CUENTAA)") + End If + + Private c As Cursor = Starter.skmt.ExecQuery("SELECT * FROM NOVENTA") + If c.RowCount > 0 Then + Starter.skmt.ExecNonQuery("Update kmt_info set gestion = 2 WHERE CAT_CL_CODIGO IN (SELECT NV_CLIENTE FROM NOVENTA WHERE NV_MOTIVO = 'ENTREGA')") + End If + Private c As Cursor = Starter.skmt.ExecQuery("SELECT NV_CLIENTE FROM NOVENTA") + If c.RowCount > 0 Then + Starter.skmt.ExecNonQuery("Update kmt_info set gestion = 3 WHERE CAT_CL_CODIGO IN (SELECT NV_CLIENTE FROM NOVENTA WHERE NV_MOTIVO <> 'ENTREGA')") + End If + + b_check.visible = False + Subs.centraPanel(p_principal, Root.Width) +' c=Starter.skmt.ExecQuery("select noversion from version") +' c.Position=0 +' If c.RowCount > 0 And c.GetString("NOVERSION") <> "2.1" Then +' ToastMessageShow("EXISTE UNA NUEVA VERSION, ACTUALIZA POR FAVOR." , True) +' cargar.Visible = False +' Subir.Visible = False +' connecta.Visible = False +' trabajar.Visible = False +' BUSCA.Visible = False +' inv.Visible = False +' End If +' c.Close + If EJECUTANDO = 0 Then + Listo1 = 0 + Listo2 = 0 + Listo3 = 0 + Listo4 = 0 + Listo5 = 0 + inve = 0 + img2.Visible =False + End If + l_ruta.Text = 0 + f=Starter.skmt.ExecQuery("select rutaa from rutaa") + If f.RowCount > 0 Then + f.Position = 0 + l_ruta.Text = f.GetString("RUTAA") + End If + f.Close + If l_ruta.Text = 0 Then + l_ruta.Text = 0 + l_rutasP.Text = 0 + l_numtickets.Text = 0 + Else + f=Starter.skmt.ExecQuery("select distinct CAT_CL_RUTA from kmt_info WHERE CAT_CL_RUTA <> 1000 order by CAT_CL_RUTA") +' f.Position=0 + l_rutasP.Text = "" + For i = 0 To f.RowCount - 1 + f.Position = i + If i = 0 Then + l_rutasP.Text = f.GetString("CAT_CL_RUTA") + Else + l_rutasP.Text = l_rutasP.Text & ", " & f.GetString("CAT_CL_RUTA") + End If + Next + f.Close + + Dim numticks As Cursor = Starter.skmt.ExecQuery("select COUNT(distinct HVD_NUM_TICKET) AS TICKET from HIST_VENTAS") + numticks.Position = 0 + l_numtickets.Text = numticks.GetInt("TICKET") + End If + DateTime.DateFormat = "MM/dd/yyyy" + fecha=DateTime.Date(DateTime.Now) + b=Starter.skmt.ExecQuery("Select count(*) as CUANTOS from kmt_info") + b.Position=0 + If b.RowCount > 0 Then Cuantos = b.GetString("CUANTOS") + d=Starter.skmt.ExecQuery("select count(*) as TOTAL_VISITAR from kmt_info where gestion = 0 AND CAT_CL_RUTA <> 1000") + D.Position=0 + b.Close + e=Starter.skmt.ExecQuery("select count(*) as POR_VISITAR from kmt_info WHERE CAT_CL_RUTA <> 1000") + e.Position=0 +' f=Starter.skmt.ExecQuery("select count(*) as CAT_CL_RUTA from kmt_info") +' f.Position=0 +' l_ruta.Text = 0 +' If f.RowCount > 0 Then l_ruta.Text = f.GetString("CAT_CL_RUTA") +' f.Close +' f=Starter.skmt.ExecQuery("select CAT_CL_RUTA from kmt_info") +' f.Position=0 +' If f.RowCount > 0 Then l_ruta.Text = f.GetString("CAT_CL_RUTA") +' f.Close + + cargar.Visible = False + Subir.Visible = False + connecta.Visible = True + + If Cuantos = 0 Then + l_aLiquidar.Text = 0 + l_cuantosc.Text = 0 + l_cuantosn.Text = 0 + drop = 0 + l_montoSalida.Text = 0 + efectiva = 0 +' l_efectiva.text = 0 +' cambios.Text = 0 + L_MONTOE.Text = 0 + l_ctast.Text = 0 + If d.RowCount > 0 Then l_ctast.Text = d.GetString("TOTAL_VISITAR") + l_porvisitar.Text = 0 + If e.RowCount > 0 Then l_porvisitar.Text = e.GetString("POR_VISITAR") + d.Close + e.Close + Else + c=Starter.skmt.ExecQuery("select sum(hvd_costo_tot) as MONTO_DIA from hist_ventas where hvd_cliente in (select cat_cl_codigo from kmt_info ) AND HVD_ESTATUS = 1 ") + f1=Starter.skmt.ExecQuery("select sum(hvd_costo_tot) as MONTO_TOTAL_DIA from hist_ventas2 where hvd_cliente in (select cat_cl_codigo from kmt_info ) AND HVD_RECHAZO = 0") + f2=Starter.skmt.ExecQuery("select sum(REP_COSTO_TOT) as MONTO_REC_DIA FROM REPARTO where REP_cliente in (Select cat_cl_codigo from kmt_info)") +' b=Starter.skmt.ExecQuery("select count(*) as CUANTOS from noventa where nv_cliente in (select cat_cl_codigo from kmt_info where gestion = 3)") + b=Starter.skmt.ExecQuery("select count(DISTINCT NV_CLIENTE) as CUANTOS from noventa where nv_motivo <> 'ENTREGA' and NV_CLIENTE <> 63403") +' L=Starter.skmt.ExecQuery("select count(*) as CLIENTES_DIA from noventa where nv_cliente in (select cat_cl_codigo from kmt_info where gestion = 2)") + L=Starter.skmt.ExecQuery("select count(DISTINCT NV_CLIENTE) as CLIENTES_DIA from noventa where nv_motivo = 'ENTREGA' and NV_CLIENTE <> 63403") + f2.Position=0 +' F4=Starter.skmt.execqUery("select count(*) as CUANTOS FROM PEDIDO") +' F4.Position = 0 + Private MONTO_REC_DIA = 0 + If f2.GetString("MONTO_REC_DIA") <> Null Then MONTO_REC_DIA = f2.GetString("MONTO_REC_DIA") +' If F4.GetString("CUANTOS") > 0 Then +' f3=Starter.skmt.execqUery("select sum(pe_costo_tot) as MONTO_VENTA FROM PEDIDO") +' f3.Position=0 +'' Log(MONTO_REC_DIA & " - " & f3.GetString("MONTO_VENTA")) +' l_efectiva.text = to_number_vb(MONTO_REC_DIA - f3.GetString("MONTO_VENTA")) & "..." +' f3.Close +' Else +' l_efectiva.text = to_number_vb(MONTO_REC_DIA) & ".." +' End If +' F4.Close + C.Position = 0 + b.Position = 0 + L.Position = 0 + f1.Position = 0 + l_aLiquidar.Text = 0 + If f1.RowCount > 0 Then l_aLiquidar.Text = to_number_vb (f1.GetString("MONTO_TOTAL_DIA")) + L_MONTOE.Text = 0 +' If C.RowCount > 0 Then L_MONTOE.Text = to_number_vb (C.GetString("MONTO_DIA")) + l_cuantosc.Text = 0 + If L.RowCount > 0 Then l_cuantosc.Text = L.GetString("CLIENTES_DIA") + l_cuantosn.Text = 0 + If b.RowCount > 0 Then l_cuantosn.Text = b.GetString("CUANTOS") + 'drop = c.GetString("MONTO_DIA") / c.GetString("CLIENTES_DIA") + If f1.GetString("MONTO_TOTAL_DIA") <> Null Then l_montoSalida.Text = Round2(f1.GetString("MONTO_TOTAL_DIA"), 2) + 'efectiva = c.GetString("CLIENTES_DIA") / e.GetString("POR_VISITAR") + l_ctast.Text = 0 + If d.RowCount > 0 Then l_ctast.Text = d.GetString("TOTAL_VISITAR") + l_porvisitar.Text = 0 + If e.RowCount > 0 Then l_porvisitar.Text = e.GetString("POR_VISITAR") + c.Close + b.Close +' c=Starter.skmt.ExecQuery2("select count(*) as CUANTOS from CAT_VARIABLES where CAT_VA_DESCRIPCION = ? ", Array As String("CAMBIOS")) +' c.Position = 0 +' If c.GetString("CUANTOS") = 0 Then +'' cambios.Text = 0 +' Else +' B=Starter.skmt.ExecQuery("select CAT_VA_VALOR from CAT_VARIABLES where CAT_VA_DESCRIPCION = 'CAMBIOS'") +' B.Position = 0 +'' cambios.Text = b.GetString("CAT_VA_VALOR") +' b.Close +' End If + c.Close + End If + c=Starter.skmt.ExecQuery("select ID_ALMACEN from CAT_ALMACEN") + C.Position =0 + ALMACEN = 0 + If C.RowCount > 0 Then ALMACEN = C.GetString("ID_ALMACEN") + B4XPages.MainPage.almacen = ALMACEN + C.Close + c=Starter.skmt.ExecQuery("select HGDATE, HGLAT, HGLON from HIST_GPS") + ' HACER ESTO PARA EL FORANEO + If c.RowCount>0 Then + For i=0 To c.RowCount -1 + c.Position=i + Dim cmd As DBCommand + cmd.Initialize + cmd.Name = "insert_gps_actual_REP" + cmd.Parameters = Array As Object(c.GetString("hgdate"),c.GetString("hglat"),c.GetString("hglon"),usuario ) + Next + End If + 'Para traer la bateria + bu.Initialize + batterystatus = bu.BatteryInformation +' LogColor($"Bateria STATUS=${batterystatus(0)}, ${batterystatus(1)}, ${batterystatus(4)}, BATT: ${Starter.batt}"$, Colors.Red) + B4XPages.MainPage.batt = batterystatus(0) + c=Starter.skmt.ExecQuery("select usuario from usuarioa") + c.Position = 0 + usuario = c.GetString("USUARIO") + c.Close + c=Starter.skmt.ExecQuery("select RUTAA from RUTAA") + c.Position = 0 + RUTA_T = 0 + If c.RowCount > 0 Then RUTA_T = c.GetString("RUTAA") + B4XPages.MainPage.rutaPreventa = RUTA_T + c.Close + reqs.Initialize + + Private rc As Cursor = Starter.skmt.ExecQuery($"select * from REPARTO where REP_RECHAZO = "1" and REP_CANT > 0"$) +' Log($"RECHAZOS=${rc.RowCount}"$) + If rc.RowCount > 0 Then + Starter.skmt.ExecNonQuery($"delete from RECHAZOS"$) + For i3=0 To rc.RowCount -1 'Copiamos los rechazos de REPARTO a RECHAZOS. + rc.Position = i3 +' Log($"delete from RECHAZOS where R_CLIENTE = '${rc.GetString("REP_CLIENTE")}' and R_CLI_ORIG = '${rc.GetString("REP_CLI_ORIG")}' and R_RECHAZO = '1' and R_PRODID = '${rc.GetString("REP_PRODID")}'"$) +' Starter.skmt.ExecNonQuery($"delete from RECHAZOS where R_CLIENTE = '${rc.GetString("REP_CLIENTE")}' and R_CLI_ORIG = '${rc.GetString("REP_CLI_ORIG")}' and R_RECHAZO = '1' and R_PRODID = '${rc.GetString("REP_PRODID")}'"$) + Starter.skmt.ExecNonQuery($"insert into RECHAZOS(R_FECHA, R_CLIENTE, R_CLI_ORIG, R_PRODID, R_CANT, R_RECHAZO, R_PRECIO) select REP_FECHA, REP_CLIENTE, REP_CLI_ORIG, REP_PRODID, REP_CANT, REP_RECHAZO, REP_PRECIO from REPARTO where REP_CLIENTE = '${rc.GetString("REP_CLIENTE")}' and REP_CLI_ORIG = '${rc.GetString("REP_CLI_ORIG")}' and REP_PRODID = '${rc.GetString("REP_PRODID")}' and REP_RECHAZO = '1' and REP_CANT > 0"$) + Next + End If + Private vc As Cursor = Starter.skmt.ExecQuery($"select * from REPARTO where REP_RECHAZO = "0" and REP_CANT > 0"$) +' Log($"VENTAS=${vc.RowCount}"$) + If vc.RowCount > 0 Then + Starter.skmt.ExecNonQuery($"delete from VENTAS"$) + For i4=0 To vc.RowCount -1 'Copiamos las ventas de REPARTO a VENTAS. + vc.Position = i4 +' Log($"delete from VENTAS where V_CLIENTE = '${vc.GetString("REP_CLIENTE")}' and V_CLI_ORIG = '${vc.GetString("REP_CLI_ORIG")}' and V_RECHAZO = '1' and V_PRODID = '${vc.GetString("REP_PRODID")}'"$) +' Starter.skmt.ExecNonQuery($"delete from VENTAS where V_CLIENTE = '${vc.GetString("REP_CLIENTE")}' and V_CLI_ORIG = '${vc.GetString("REP_CLI_ORIG")}' and V_RECHAZO = '0' and V_PRODID = '${vc.GetString("REP_PRODID")}'"$) + Starter.skmt.ExecNonQuery($"insert into VENTAS(V_FECHA, V_CLIENTE, V_CLI_ORIG, V_PRODID, V_CANT, V_RECHAZO, V_PRECIO) select REP_FECHA, REP_CLIENTE, REP_CLI_ORIG, REP_PRODID, REP_CANT, REP_RECHAZO, REP_PRECIO from REPARTO where REP_CLIENTE = '${vc.GetString("REP_CLIENTE")}' and REP_CLI_ORIG = '${vc.GetString("REP_CLI_ORIG")}' and REP_PRODID = '${vc.GetString("REP_PRODID")}' and REP_RECHAZO = '0' and REP_CANT > 0"$) + Next + End If + Starter.ENVIA_ULTIMA_GPS + +' Log($"ENTREGADOS: ${Subs.traeEntregados}"$) +' Log($"RECHAZADOS: ${Subs.traeRechazados}"$) +' Log($"VENDIDOS: ${Subs.traeVendidos}"$) + Dim entMap As Map = Subs.traeEntregados + Dim rechMap As Map = Subs.traeRechazados + Dim vendMap As Map = Subs.traeVendidos + l_aLiquidar.Text = entMap.Get("monto") + vendMap.Get("monto") + + Dim cancelrecha As Cursor = Starter.skmt.ExecQuery("SELECT ifnull(HVD_RECHAZOCANT,0), HVD_RECHAZO, CONSECUTIVO FROM HIST_VENTAS") + If cancelrecha.RowCount > 0 Then + For h54 = 0 To cancelrecha.RowCount - 1 + cancelrecha.Position = h54 + Starter.skmt.ExecNonQuery2("Update HIST_VENTAS set HVD_RECHAZO = '0' WHERE CONSECUTIVO = ? and (HVD_RECHAZOCANT = 0 OR HVD_RECHAZOCANT IS NULL)" , Array As String(cancelrecha.GetString("CONSECUTIVO"))) + Next + End If + cancelrecha.Close + + + ''' RECHAZO - VENTA + Private r5 As Cursor = Starter.skmt.ExecQuery($"select IFNULL(HVD_COSTO_TOT,0) AS HVD_COSTO_TOT, IFNULL(HVD_CANT,0) AS HVD_CANT, IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT, HVD_PROID, HVD_CLIENTE, CONSECUTIVO from HIST_VENTAS where HVD_RECHAZO = '1' and BCAJAS = '0' ORDER BY HVD_PROID "$) + + Private rescant As String = 0 + If r5.RowCount > 0 Then + For j4 = 0 To r5.RowCount -1 + r5.Position = j4 + Private r6 As Cursor = Starter.skmt.ExecQuery($"select IFNULL(SUM(PE_CANT),0) AS PE_CANT from PEDIDO where PE_CLIENTEOR = '${r5.GetString("HVD_CLIENTE")}' AND PE_PROID = '${r5.GetString("HVD_PROID")}' AND CONSECUTIVO = '${r5.GetString("CONSECUTIVO")}' AND PE_TIPO NOT IN ('DANADO','FALTANTE','SOBRANTE')"$) + Dim totalcantped As String + If r6.RowCount > 0 Then + r6.Position = 0 + totalcantped = r6.GetString("PE_CANT") + Else + + totalcantped = 0 + End If + + Log(r5.GetString("HVD_RECHAZOCANT") &" - "& totalcantped) + rescant = rescant + ((r5.GetString("HVD_COSTO_TOT")/(r5.GetString("HVD_CANT")))*((r5.GetString("HVD_RECHAZOCANT") - totalcantped))) +' Log(rescant) + r6.Close + Next + End If + If rescant = "NaN" Then rescant = 0 + LogColor(rescant,Colors.Red) + r5.Close + + + + Private r5 As Cursor = Starter.skmt.ExecQuery($"select IFNULL(HVD_COSTO_TOT,0) AS HVD_COSTO_TOT, IFNULL(HVD_CANT,0) AS HVD_CANT,IFNULL(CANTC,0) AS CANTC, IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT, HVD_PROID, HVD_CLIENTE, CONSECUTIVO from HIST_VENTAS where HVD_RECHAZO = '1' and BCAJAS = '1' "$) + +' Private r5 As Cursor = Starter.skmt.ExecQuery($"select * from HIST_VENTAS where HVD_RECHAZO = '1' and BCAJAS = '1' "$) + + Private rescant2 As Double = 0 + If r5.RowCount > 0 Then + For j5 = 0 To r5.RowCount -1 + r5.Position = j5 + Private r6 As Cursor = Starter.skmt.ExecQuery($"select IFNULL(SUM(PE_CANT),0) AS PE_CANT from PEDIDO where PE_CLIENTEOR = '${r5.GetString("HVD_CLIENTE")}' AND PE_PROID = '${r5.GetString("HVD_PROID")}' AND CONSECUTIVO = '${r5.GetString("CONSECUTIVO")}' AND PE_TIPO NOT IN ('DANADO','FALTANTE','SOBRANTE')"$) + r6.Position = 0 +' Log(r6.GetString("PE_CANT")) + rescant2 = rescant2 + ((r5.GetString("HVD_COSTO_TOT")/(r5.GetString("CANTC")))*((r5.GetString("HVD_RECHAZOCANT") - r6.GetString("PE_CANT"))/Subs.traeConversion(r5.GetString("HVD_PROID")))) + rescant2 = NumberFormat2(rescant2, 0, 2, 2, False) + r6.Close + Next + End If + If rescant2 = "NaN" Then rescant2 = 0 + Log(rescant2) + r5.Close + '''FIN RECHAZO - VENTA + + + '''RECHAZO + Private r5r As Cursor = Starter.skmt.ExecQuery($"select IFNULL(HVD_COSTO_TOT,0) AS HVD_COSTO_TOT, IFNULL(HVD_CANT,0) AS HVD_CANT, IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT, HVD_PROID, HVD_CLIENTE, CONSECUTIVO from HIST_VENTAS where HVD_RECHAZO = '1' and BCAJAS = '0' "$) + + Private rescantr As String = 0 + If r5r.RowCount > 0 Then + For j4r = 0 To r5r.RowCount -1 + r5r.Position = j4r + Private r6r As Cursor = Starter.skmt.ExecQuery($"select IFNULL(SUM(PE_CANT),0) AS PE_CANT from PEDIDO where PE_CLIENTEOR = '${r5r.GetString("HVD_CLIENTE")}' AND PE_PROID = '${r5r.GetString("HVD_PROID")}' AND CONSECUTIVO = '${r5r.GetString("CONSECUTIVO")}' AND PE_TIPO NOT IN ('DANADO','FALTANTE','SOBRANTE') "$) + r6r.Position = 0 +' LogColor(r5.GetString("HVD_COSTO_TOT")&" / "& r5.GetString("HVD_CANT")&" * "&r5.GetString("HVD_RECHAZOCANT")&" - "&r6.GetString("PE_CANT"),Colors.Blue) +' LogColor(r6.GetString("PE_CANT"),Colors.Blue) + rescantr = rescantr + ((r5r.GetString("HVD_COSTO_TOT")/(r5r.GetString("HVD_CANT")))*(r5r.GetString("HVD_RECHAZOCANT"))) + r6r.Close + Next + End If + If rescantr = "NaN" Then rescantr = 0 +' LogColor(rescant,Colors.Red) + r5r.Close + + Log(rescantr) + + Private r5r As Cursor = Starter.skmt.ExecQuery($"select IFNULL(HVD_COSTO_TOT,0) AS HVD_COSTO_TOT, IFNULL(HVD_CANT,0) AS HVD_CANT,IFNULL(CANTC,0) AS CANTC, IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT, HVD_PROID, HVD_CLIENTE, CONSECUTIVO from HIST_VENTAS where HVD_RECHAZO = '1' and BCAJAS = '1' "$) + +' Private r5 As Cursor = Starter.skmt.ExecQuery($"select * from HIST_VENTAS where HVD_RECHAZO = '1' and BCAJAS = '1' "$) + + Private rescant2r As String = 0 + If r5r.RowCount > 0 Then + For j5r = 0 To r5r.RowCount -1 + r5r.Position = j5r + Private r6r As Cursor = Starter.skmt.ExecQuery($"select IFNULL(SUM(PE_CANT),0) AS PE_CANT from PEDIDO where PE_CLIENTEOR = '${r5r.GetString("HVD_CLIENTE")}' AND PE_PROID = '${r5r.GetString("HVD_PROID")}' AND CONSECUTIVO = '${r5r.GetString("CONSECUTIVO")}' AND PE_TIPO NOT IN ('DANADO','FALTANTE','SOBRANTE')"$) + r6r.Position = 0 +' Log(r6.GetString("PE_CANT")) + rescant2r = rescant2r + ((r5r.GetString("HVD_COSTO_TOT")/(r5r.GetString("CANTC")))*((r5r.GetString("HVD_RECHAZOCANT"))/Subs.traeConversion(r5r.GetString("HVD_PROID")))) + r6r.Close + Next + End If + If rescant2r = "NaN" Then rescant2r = 0 +' Log(rescant2) + r5r.Close + Log(rescant2r) + Log(rescant2r+rescantr) + + '''' FIN RECHAZO + + ''''' + +' Private r5 As Cursor = Starter.skmt.ExecQuery($"select IFNULL(SUM(HVD_COSTO_TOT),0) AS HVD_COSTO_TOT from HIST_VENTAS where HVD_RECHAZO = '0' and BCAJAS = '0' "$) +' Private rescant3 As Double = 0 +' If r5.RowCount > 0 Then +' r5.Position = 0 +' rescant3 = r5.GetString("HVD_COSTO_TOT") +' +' End If +' Log(NumberFormat2(rescant3, 0, 2, 2, False)) +' r5.Close + + Private r55 As Cursor = Starter.skmt.ExecQuery($"select HVD_COSTO_TOT from HIST_VENTAS where HVD_RECHAZO = '0' and BCAJAS = '0' "$) + Private rescant3 As Double + If r55.RowCount > 0 Then + For r75 = 0 To r55.RowCount -1 + r55.Position = r75 + rescant3 = rescant3 + r55.GetString("HVD_COSTO_TOT") + rescant3 = NumberFormat2(rescant3, 0, 2, 2, False) + + Next + End If + Log(rescant3) + r55.Close + + + + + Private r5 As Cursor = Starter.skmt.ExecQuery($"select IFNULL(SUM(HVD_COSTO_TOT),0) AS HVD_COSTO_TOT from HIST_VENTAS where HVD_RECHAZO = '0' and BCAJAS = '1' "$) + Private rescant4 As Double + If r5.RowCount > 0 Then + r5.Position = 0 + rescant4 = r5.GetString("HVD_COSTO_TOT") + End If + Log(rescant4) + r5.Close + + Private r5 As Cursor = Starter.skmt.ExecQuery($"select IFNULL(SUM(PE_COSTO_TOT),0) AS PE_COSTO_TOT from PEDIDO WHERE PE_TIPO <> 'SOBRANTE' "$) + Private rescant5 As Double + If r5.RowCount > 0 Then + r5.Position = 0 + rescant5 = r5.GetString("PE_COSTO_TOT") + End If + Log(rescant5) + r5.Close + + + + ''' + Private r5 As Cursor = Starter.skmt.ExecQuery($"select IFNULL(HVD_COSTO_TOT,0) AS HVD_COSTO_TOT, IFNULL(HVD_CANT,0) AS HVD_CANT, IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT, HVD_PROID, HVD_CLIENTE, CONSECUTIVO from HIST_VENTAS where HVD_RECHAZO = '1' and BCAJAS = '0' "$) + Private rescant6 As Double + If r5.RowCount > 0 Then + For j4 = 0 To r5.RowCount -1 + r5.Position = j4 + Private r6 As Cursor = Starter.skmt.ExecQuery($"select IFNULL(SUM(PE_CANT),0) AS PE_CANT from PEDIDO where PE_CLIENTEOR = '${r5.GetString("HVD_CLIENTE")}' AND PE_PROID = '${r5.GetString("HVD_PROID")}' AND CONSECUTIVO = '${r5.GetString("CONSECUTIVO")}' AND PE_TIPO NOT IN ('DANADO','FALTANTE','SOBRANTE')"$) + r6.Position = 0 +' LogColor(r5.GetString("HVD_COSTO_TOT")&" / "& r5.GetString("HVD_CANT")&" * "&r5.GetString("HVD_RECHAZOCANT")&" - "&r6.GetString("PE_CANT"),Colors.Blue) +' LogColor(r6.GetString("PE_CANT"),Colors.Blue) + rescant6 = rescant6 + ((r5.GetString("HVD_COSTO_TOT")/(r5.GetString("HVD_CANT")))*(r5.GetString("HVD_CANT")- r5.GetString("HVD_RECHAZOCANT"))) +' Log(rescant6) + r6.Close + Next + End If + If rescant6 = "NaN" Then rescant6 = 0 + LogColor(rescant6,Colors.Red) + r5.Close + + Private r5 As Cursor = Starter.skmt.ExecQuery($"select IFNULL(HVD_COSTO_TOT,0) AS HVD_COSTO_TOT, IFNULL(HVD_CANT,0) AS HVD_CANT,IFNULL(CANTC,0) AS CANTC, IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT, HVD_PROID, HVD_CLIENTE, CONSECUTIVO from HIST_VENTAS where HVD_RECHAZO = '1' and BCAJAS = '1' "$) + Private rescant7 As Double + If r5.RowCount > 0 Then + For j5 = 0 To r5.RowCount -1 + r5.Position = j5 + Private r6 As Cursor = Starter.skmt.ExecQuery($"select IFNULL(SUM(PE_CANT),0) AS PE_CANT from PEDIDO where PE_CLIENTEOR = '${r5.GetString("HVD_CLIENTE")}' AND PE_PROID = '${r5.GetString("HVD_PROID")}' AND CONSECUTIVO = '${r5.GetString("CONSECUTIVO")}' PE_TIPO NOT IN ('DANADO','FALTANTE','SOBRANTE')"$) + r6.Position = 0 +' Log(r6.GetString("PE_CANT")) + rescant7 = rescant7 + ((r5.GetString("HVD_COSTO_TOT")/(r5.GetString("CANTC")))*((r5.GetString("HVD_CANT") - r5.GetString("HVD_RECHAZOCANT") )/Subs.traeConversion(r5.GetString("HVD_PROID")))) + r6.Close + Next + End If + If rescant7 = "NaN" Then rescant7 = 0 + Log(rescant7) + r5.Close + + + Private r55 As Cursor = Starter.skmt.ExecQuery($"select HVD_COSTO_TOT, HVD_CANT from HIST_VENTAS where HVD_RECHAZO = '0' and BCAJAS = '0' AND HVD_CLIENTE IN (SELECT CAT_CL_CODIGO from kmt_info WHERE gestion = 2)"$) + Private rescant10 As Double + Private pztotal As Int + If r55.RowCount > 0 Then + For r75 = 0 To r55.RowCount -1 + r55.Position = r75 + rescant10 = rescant10 + r55.GetString("HVD_COSTO_TOT") + rescant10 = NumberFormat2(rescant10, 0, 2, 2, False) + pztotal = pztotal + r55.GetString("HVD_CANT") + Next + End If + Log(rescant10) + r55.Close + +' Private r5 As Cursor = Starter.skmt.ExecQuery($"select IFNULL(SUM(HVD_COSTO_TOT),0) AS HVD_COSTO_TOT, HVD_CANT from HIST_VENTAS where HVD_RECHAZO = '0' and BCAJAS = '1' AND HVD_CLIENTE IN (SELECT CAT_CL_CODIGO from kmt_info WHERE gestion = 2) "$) +' Private pztotal1 As Int +' Private rescant11 As Double +' If r5.RowCount > 0 Then +' r5.Position = 0 +' rescant11 = r5.GetString("HVD_COSTO_TOT") +' pztotal1 = pztotal1 + r55.GetString("HVD_CANT") +' End If +' Log(rescant11) +' r5.Close + + Private r5 As Cursor = Starter.skmt.ExecQuery($"select IFNULL(SUM(PE_COSTO_TOT),0) AS PE_COSTO_TOT, IFNULL(SUM(PE_CANT),0) AS PE_CANT from PEDIDO "$) + Private pztotal2 As Int + Private rescant11 As Double + If r5.RowCount > 0 Then + r5.Position = 0 + rescant11 = r5.GetString("PE_COSTO_TOT") + pztotal2 = pztotal2 + r5.GetString("PE_CANT") + End If + Log(rescant11) + r5.Close + '' + Private r5 As Cursor = Starter.skmt.ExecQuery($"select IFNULL(HVD_COSTO_TOT,0) AS HVD_COSTO_TOT, IFNULL(HVD_CANT,0) AS HVD_CANT, IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT, HVD_PROID, HVD_CLIENTE, CONSECUTIVO from HIST_VENTAS where HVD_RECHAZO = '1' and BCAJAS = '0' AND HVD_CLIENTE IN (SELECT CAT_CL_CODIGO from kmt_info WHERE gestion = 2) "$) + Private pztotal3 As Int + Private rescant12 As Double + If r5.RowCount > 0 Then + For j4 = 0 To r5.RowCount -1 + r5.Position = j4 + Private r6 As Cursor = Starter.skmt.ExecQuery($"select IFNULL(SUM(PE_CANT),0) AS PE_CANT from PEDIDO where PE_CLIENTEOR = '${r5.GetString("HVD_CLIENTE")}' AND PE_PROID = '${r5.GetString("HVD_PROID")}' AND CONSECUTIVO = '${r5.GetString("CONSECUTIVO")}' "$) + r6.Position = 0 + LogColor(r5.GetString("HVD_COSTO_TOT")&" / "& r5.GetString("HVD_CANT")&" * "&r5.GetString("HVD_RECHAZOCANT")&" - "&r6.GetString("PE_CANT"),Colors.Blue) + LogColor(r6.GetString("PE_CANT"),Colors.Blue) + rescant12 = rescant12 + ((r5.GetString("HVD_COSTO_TOT")/(r5.GetString("HVD_CANT")))*(r5.GetString("HVD_CANT")- r5.GetString("HVD_RECHAZOCANT"))) + pztotal3 = pztotal3 + (r5.GetString("HVD_CANT")- r5.GetString("HVD_RECHAZOCANT")) + Log(rescant12) + r6.Close + Next + End If + If rescant12 = "NaN" Then rescant12 = 0 + LogColor(rescant12,Colors.Red) + r5.Close + + + Private restafaltante As Cursor = Starter.skmt.ExecQuery($"select IFNULL(SUM(PE_COSTO_TOT),0) AS PE_COSTO_TOT from PEDIDO where PE_CLIENTEOR = '' AND PE_TIPO = 'FALTANTE'"$) + + Private rescant8 As Double = 0 + + If restafaltante.RowCount > 0 Then + restafaltante.Position = 0 + rescant8 = NumberFormat2(restafaltante.GetDouble("PE_COSTO_TOT"),0,2,2,False) + End If + If rescant8 = "NaN" Then rescant8 = 0 + Log(rescant8) + r5.Close + + l_rechazo.text = NumberFormat2((rescant + rescant2),0,2,2,False) + L_MONTOE.Text = NumberFormat2((rescant3 + rescant4 + rescant5 + rescant6 + rescant7),0,2,2,False) + Log((rescant3 &" + "& rescant4 &" + "& rescant5 &" + "& rescant6 &" + "& rescant7)) + + + Dim g8 As Cursor = Starter.skmt.ExecQuery("SELECT IFNULL(SUM(HVD_COSTO_TOT),0) AS HVD_COSTO_TOT FROM HIST_VENTAS") + g8.Position = 0 + Dim g11 As Cursor = Starter.skmt.ExecQuery("SELECT count(*) as cuenta FROM kmt_info where gestion <> 0") + g11.Position = 0 + Dim g12 As Cursor = Starter.skmt.ExecQuery("SELECT count(*) as cuenta FROM kmt_info where gestion = 2") + g12.Position = 0 + Dim g13 As Cursor = Starter.skmt.ExecQuery("SELECT count(*) as cuenta FROM kmt_info where gestion = 3") + g13.Position = 0 + + B4XPages.MainPage.monto_entregadoactual = NumberFormat2((rescant10 + rescant11 + rescant12 ),0,2,2,False) +' B4XPages.MainPage.clientesVisitados = NumberFormat2((rescant10 + rescant11 + rescant12 ),0,2,2,False) + B4XPages.MainPage.clientesVisitados = L_MONTOE.Text + B4XPages.MainPage.clientesVenta = l_cuantosc.Text + B4XPages.MainPage.clientesRechazo = l_cuantosn.Text + B4XPages.MainPage.clientestotal = l_porvisitar.Text + B4XPages.MainPage.montoActual = Round2(g8.GetString("HVD_COSTO_TOT"), 2) + B4XPages.MainPage.porVisitar = l_ctast.text + B4XPages.MainPage.visitadostotales = g11.GetString("cuenta") + + B4XPages.MainPage.entregas = g12.GetString("cuenta") + B4XPages.MainPage.rechazos = g13.GetString("cuenta") + B4XPages.MainPage.montoEntregado = L_MONTOE.text + B4XPages.MainPage.montoRechazado = l_rechazo.text + + reqManager.Initialize(Me, B4XPages.MainPage.server) +' LogColor($"ReqServer = ${B4XPages.MainPage.server}"$, Colors.red) + + If l_ctast.Text = 0 And l_porvisitar.Text <> 0 Then + Label9.Visible = True + L_MONTOE.Visible = True + + '' hacer validacion su hay rechazo +' c=Starter.skmt.ExecQuery("select * from HIST_VENTAS WHERE hvd_rechazo <> 2 and HVD_RECHAZOCANT > 0 order by HVD_CODPROMO desc, HVD_PRONOMBRE asc") +' If c.RowCount > 0 Then +' b_venta_emp.Visible = True +' Else +' b_venta_emp.Visible = False +' End If + b_venta_emp.Visible = True + Else + Label9.Visible = False '''' PRUEBAS MOVER A FALSE + L_MONTOE.Visible = False + b_venta_emp.Visible = False + End If + + If l_ruta.Text = 0 Then + b_imp_inventario.Visible = False + Else + b_imp_inventario.Visible = True + End If +' If l_ctast.Text = 0 Then +' +' Else +' StartActivity(MAPA_RUTAS) +' End If + + c = Starter.skmt.ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?", Array As String ("MACIMP")) + If c.RowCount > 0 Then + c.Position = 0 + Starter.MAC_IMPRESORA = c.GetString("CAT_VA_VALOR") + End If + If Starter.MAC_IMPRESORA = "" Then Starter.MAC_IMPRESORA = "0" +' Log("|" & Starter.MAC_IMPRESORA & "|") + Printer1.Initialize(Me, "Printer1") + If Printer1.IsConnected = False Then +' Printer1.Connect +' Log("1") + Else + Printer1.DisConnect + Printer1.Connect + Log("2") + End If + +' checachek +End Sub + +Sub checachek + b = Starter.skmt.ExecQuery("SELECT CHECADO FROM CHECADO_CHECK") + If b.RowCount > 0 Then + b.Position = 0 + If b.GetString("CHECADO") = 0 Then + b_check.Visible = True + Else If b.GetString("CHECADO") = 1 Then + b_check.Visible =False + End If + b.Close + End If +End Sub + +Sub IsConnectedToInternet As Boolean 'ignore + Dim r As Reflector + r.Target = r.GetContext + r.Target = r.RunMethod2("getSystemService", "connectivity", "java.lang.String") + r.Target = r.RunMethod("getActiveNetworkInfo") + If r.Target <> Null Then + Return r.RunMethod("isConnectedOrConnecting") + End If + Return False +End Sub + +Sub to_number_vb (valor As Object) As String + Dim valstring As Int + Dim valstring2 As String = valor + valstring2.Replace(":","") + Try + valstring =valstring2.Replace(":","") + Return valstring + Catch + Return 0 + End Try +End Sub + +Sub trabajar_Click + If b_check.Visible = True Then + MsgboxAsync("Favor de hacer el checklist.","Atención") + Else + + B4XPages.ShowPage("Clientes") + End If + +End Sub + +Sub Subir_Click + If Not(IsConnectedToInternet) Then MsgboxAsync("No hay conexión a conexión a Internet", "Revisa tu conexión") + c=Starter.skmt.ExecQuery("select usuario from usuarioa") + c.Position = 0 + usuario = c.GetString("USUARIO") + c.Close + + c = Starter.skmt.ExecQuery("SELECT * FROM BLOCKENVIO") + If c.RowCount = 0 Then + Starter.skmt.ExecNonQuery2("INSERT INTO BLOCKENVIO(ENVIADO) VALUES (?)", Array As Object (1)) + envioinfo + Else + envioinfo + End If + c.Close + +' cmd.Initialize +' cmd.Name = "select_estatus_MAZAPA" +' cmd.Parameters = Array As Object(ALMACEN,e_ruta.text) +' reqManager.ExecuteQuery(cmd , 0, "estatus") +End Sub + + + +Sub envioinfo + + + + ' NOVENTA + c = Starter.skmt.ExecQuery("SELECT NV_CLIENTE,NV_FECHA,NV_USER,NV_MOTIVO,NV_COMM,NV_LAT,NV_LON, NV_FOTO, NV_REPROGRAMAR FROM NOVENTA") + D=Starter.skmt.ExecQuery("SELECT COUNT(*) AS CUANTOS_NOVENTA FROM NOVENTA") + If c.RowCount>0 Then + For i=0 To c.RowCount -1 + c.Position=i + foto1 = c.GetBlob("NV_FOTO") + Dim cmd As DBCommand + cmd.Initialize + cmd.Name = "insert_reparto_REPG_IZCA" + cmd.Parameters = Array As Object(C.GetString("NV_CLIENTE"),C.GetString("NV_FECHA"),C.GetString("NV_USER"),C.GetString("NV_MOTIVO"),C.GetString("NV_COMM"),C.GetString("NV_LAT"),C.GetString("NV_LON"), ALMACEN, l_ruta.Text, C.GetString("NV_REPROGRAMAR")) + reqManager.ExecuteCommand(cmd , "inst_noventa_") + Next + c.Close + End If + d.Position=0 + cuantos_noventa = D.GetString("CUANTOS_NOVENTA") + d.Close + + 'Buscamos ordenes a reprogramar. + Dim r As Cursor =Starter.skmt.ExecQuery("select * from noventa where nv_reprogramar = 1") + If r.RowCount > 0 Then + For rx = 0 To r.RowCount - 1 + r.Position = rx + Dim o As Cursor = Starter.skmt.ExecQuery2("select HVD_FECHA, CAT_CL_RUTA FROM HIST_VENTAS INNER JOIN kmt_info on HVD_CLIENTE = cat_cl_codigo WHERE HVD_CLIENTE = ?",Array As String(r.GetString("NV_CLIENTE"))) + If o.RowCount > 0 Then + o.Position = 0 + Log("Enviamos reprogramados: " & r.RowCount) + + Dim cmd As DBCommand + cmd.Initialize + cmd.Name = "insert_reparto_reprogramar3_IZCA" + cmd.Parameters = Array As Object(r.GetString("NV_CLIENTE"),r.GetString("NV_REPROGRAMAR"),o.GetString("HVD_FECHA"),o.GetString("CAT_CL_RUTA"),ALMACEN) + reqManager.ExecuteCommand(cmd , "ins_reprogramar") + End If + Next + End If + r.Close + +' 'PAGARES. +' Dim pa As Cursor =Starter.skmt.ExecQuery("select * from PAGARES") +' If pa.RowCount > 0 Then +' For pag = 0 To pa.RowCount - 1 +' pa.Position = pag +' Dim cmd As DBCommand +' cmd.Initialize +' cmd.Name = "insert_reparto_PAGARES_IZCA2" +' Dim fechaenvio() As String +' fechaenvio = Regex.Split(" ",pa.GetString("PA_FECHA_PREV")) +'' Log(fechaenvio(0)) +' Dim fechaenvio1() As String +' fechaenvio1 = Regex.Split("/",fechaenvio(0)) +' Dim fechaano As String = fechaenvio1(2).SubString(2) +' Dim fechareal As String = fechaenvio1(0)&"/"&fechaenvio1(1)&"/"&fechaano +'' Log(fechareal) +' +' Dim fechacap() As String +' fechacap = Regex.Split("/",pa.GetString("PA_CAPTURA")) +' Dim fechacapano As String = fechacap(2).SubString(2) +' Dim fechacapreal As String = fechacap(0)&"/"&fechacap(1)&"/"&fechacapano +' +' cmd.Parameters = Array As Object(pa.GetString("PA_CLIENTE"),pa.GetString("PA_MONTO"),fechacapreal,pa.GetString("PA_ALMACEN"),pa.GetString("PA_RUTAPREV"),pa.GetString("PA_RUTA_REP"),fechareal,pa.GetString("PA_USUARIO")) +' reqManager.ExecuteCommand(cmd , "ins_pagares") +' Next +' End If +' pa.Close +' +' 'ABONOS +' Dim ab As Cursor = Starter.skmt.ExecQuery($"SELECT * from ABONOS where a_enviado is null"$) +' Log(ab.RowCount) +' If ab.RowCount > 0 Then +' For i=0 To ab.RowCount -1 +' ab.Position = i +' +' Dim c58 As Cursor = Starter.skmt.ExecQuery($"SELECT * from HIST_VENTAS"$) +' If c58.RowCount > 0 Then +' c58.Position = 0 +' +' Private fechapre As String = c58.GetString("HVD_FECHA") +' End If +' +' +' Dim cmd As DBCommand +' cmd.Initialize +' cmd.Name = "insert_abono_IZCAREP2" +' cmd.Parameters = Array As Object( ab.GetString("a_usuario"), ab.GetString("a_ruta"), ab.GetString("a_cliente"), ab.GetString("a_abono"), ab.GetString("a_fecha"),ALMACEN,"REPARTO", ab.GetString("TIPO_PAGO"), ab.GetString("CONSECUTIVO"), ab.GetString("NUM_TICKET"), ab.GetString("RUTA_REP"), fechapre) +' reqManager.ExecuteCommand(cmd , $"ins_abonosPendientes_${ab.GetString("a_cliente")}"$) +' Log($"ins_abonosPendientes_${ab.GetString("a_cliente")}"$) +' Next +' End If +' ab.Close + + + 'PAGARES. + Dim pa As Cursor =Starter.skmt.ExecQuery("select PA_ALMACEN,PA_RUTA_REP,PA_RUTAPREV,PA_FECHA_PREV,PA_CAPTURA,PA_MONTO,PA_USUARIO,PA_CLIENTE from PAGARES") + If pa.RowCount > 0 Then + For pag = 0 To pa.RowCount - 1 + pa.Position = pag + Dim cmd As DBCommand + cmd.Initialize + cmd.Name = "insert_reparto_PAGARES_IZCA_VN" + Dim fechaenvio() As String + fechaenvio = Regex.Split(" ",pa.GetString("PA_FECHA_PREV")) +'' Log(fechaenvio(0)) +' Dim fechaenvio1() As String +' fechaenvio1 = Regex.Split("/",fechaenvio(0)) +' Dim fechaano As String = fechaenvio1(2).SubString(2) +' Dim fechareal As String = fechaenvio1(0)&"/"&fechaenvio1(1)&"/"&fechaano +'' Log(fechareal) + Dim fechacap() As String + fechacap = Regex.Split("/",pa.GetString("PA_CAPTURA")) +' Dim fechacapano As String = fechacap(2).SubString(2) +' Dim fechacapreal As String = fechacap(0)&"/"&fechacap(1)&"/"&fechacapano +' If pa.GetString("PA_CANCELADO") = "2" Then +' cmd.Parameters = Array As Object(pa.GetString("PA_CLIENTE"),pa.GetString("PA_MONTO"),fechaenvio(0),pa.GetString("PA_ALMACEN"),pa.GetString("PA_RUTAPREV"),pa.GetString("PA_RUTA_REP"),pa.GetString("PA_CAPTURA"),pa.GetString("PA_USUARIO"),2) +' Else + cmd.Parameters = Array As Object(pa.GetString("PA_CLIENTE"),pa.GetString("PA_MONTO"),fechaenvio(0),pa.GetString("PA_ALMACEN"),pa.GetString("PA_RUTAPREV"),pa.GetString("PA_RUTA_REP"),pa.GetString("PA_CAPTURA"),pa.GetString("PA_USUARIO"),"") +' End If + reqManager.ExecuteCommand(cmd , "ins_pagares") + Next + End If + pa.Close + + 'ABONOS + d = Starter.skmt.ExecQuery("SELECT RUTAA FROM RUTAA") + d.Position = 0 + Dim ab As Cursor = Starter.skmt.ExecQuery($"SELECT * from ABONOS where a_enviado is null and a_tipoabono IS NULL"$) + Log(ab.RowCount) + If ab.RowCount > 0 Then + For i=0 To ab.RowCount -1 + ab.Position = i +' Dim ab1 As Cursor = Starter.skmt.ExecQuery($"SELECT SUM(a_abono) AS a_abono from ABONOS where a_cliente = '${ab.GetString("a_cliente")}' and a_tipoabono IS NULL"$) + Dim ab1 As Cursor = Starter.skmt.ExecQuery($"SELECT a_abono from ABONOS where a_cliente = '${ab.GetString("a_cliente")}' and a_tipoabono IS NULL"$) + ab1.Position = 0 + + Dim cmd As DBCommand + cmd.Initialize + cmd.Name = "insert_abono_REP_IZCA_VN2" + cmd.Parameters = Array As Object( ab.GetString("a_usuario"), ab.GetString("a_ruta"), ab.GetString("a_cliente"), ab.GetString("a_abono"), ab.GetString("a_fecha"),ALMACEN,"REPARTO",d.GetString("RUTAA"), "", ab.GetString("TIPO_PAGO"),ab.GetString("a_ticket"),ab.GetString("a_numpago")) + reqManager.ExecuteCommand(cmd , $"ins_abonosPendientes_${ab.GetString("a_cliente")}"$) + ab1.Close + Log($"ins_abonosPendientes_${ab.GetString("a_cliente")}"$) + Next + End If + ab.Close + d.Close + + + 'ABONOS NUEVOS + d = Starter.skmt.ExecQuery("SELECT RUTAA FROM RUTAA") + d.Position = 0 + Dim ab As Cursor = Starter.skmt.ExecQuery($"SELECT * from ABONOS where a_enviado is null and a_tipoabono IS NOT NULL"$) + Log(ab.RowCount) + If ab.RowCount > 0 Then + For i=0 To ab.RowCount -1 + ab.Position = i +' Dim ab1 As Cursor = Starter.skmt.ExecQuery($"SELECT SUM(a_abono) AS a_abono from ABONOS where a_cliente = '${ab.GetString("a_cliente")}' and a_tipoabono IS NOT NULL"$) + Dim ab1 As Cursor = Starter.skmt.ExecQuery($"SELECT a_abono from ABONOS where a_cliente = '${ab.GetString("a_cliente")}' and a_tipoabono IS NOT NULL"$) + ab1.Position = 0 + + Dim cmd As DBCommand + cmd.Initialize + cmd.Name = "insert_abono_REP_IZCA_VN2" + cmd.Parameters = Array As Object( ab.GetString("a_usuario"), ab.GetString("a_ruta"), ab.GetString("a_cliente"), ab.GetString("a_abono"), ab.GetString("a_fecha"),ALMACEN,"REPARTO",d.GetString("RUTAA"), "1", ab.GetString("TIPO_PAGO"),ab.GetString("a_ticket"),ab.GetString("a_numpago") ) + reqManager.ExecuteCommand(cmd , $"ins_abonosPendientes_${ab.GetString("a_cliente")}"$) + ab1.Close + Log($"ins_abonosPendientes_${ab.GetString("a_cliente")}"$) + Next + End If + ab.Close + d.Close + + +' c=Starter.skmt.ExecQuery("SELECT * FROM hist_ventas WHERE HVD_RECHAZO = 1 ") +' If c.RowCount>0 Then +' For i=0 To c.RowCount -1 +' c.Position=i +' Dim cmd As DBCommand +' cmd.Initialize +' cmd.Name = "insert_rep_hist_ventas_REPG2_IZCA" +' Dim restarechazos As Int = c.GetString("HVD_CANT")-c.GetString("HVD_RECHAZOCANT") +' Dim costorechazos As Double= NumberFormat2((C.GetString("HVD_COSTO_TOT") / c.GetString("HVD_CANT")), 0,2,2,False) +' If restarechazos = 0 Then +' cmd.Parameters = Array As Object(C.GetString("HVD_CLIENTE"),C.GetString("HVD_PRONOMBRE"),C.GetString("HVD_RECHAZOCANT"),(costorechazos*c.GetString("HVD_RECHAZOCANT")),C.GetString("HVD_CODPROMO"),C.GetString("HVD_PROID"),C.GetString("HVD_NUM_TICKET"),C.GetString("HVD_NUM_REGISTRO"),1,"", ALMACEN, costorechazos) +' Else +' +' cmd.Parameters = Array As Object(C.GetString("HVD_CLIENTE"),C.GetString("HVD_PRONOMBRE"),C.GetString("HVD_RECHAZOCANT"),(costorechazos*c.GetString("HVD_RECHAZOCANT")),C.GetString("HVD_CODPROMO"),C.GetString("HVD_PROID"),C.GetString("HVD_NUM_TICKET"),C.GetString("HVD_NUM_REGISTRO"),"",1, ALMACEN,costorechazos) +' End If +' reqManager.ExecuteCommand(cmd , "inst_noventa") +' Next +' c.Close +' End If + +' pedido + c=Starter.skmt.ExecQuery("SELECT PE_TIPO, PE_RUTA, PE_CEDIS, PE_COSTO_TOT, PE_COSTOU, PE_CANT, PE_PRONOMBRE, PE_PROID, PE_CLIENTE, PE_FECHA, PE_USUARIO, PE_CLIENTEOR, PE_CAJAS, PE_BCAJAS, CONSECUTIVO, FECHA_PREV, RUTA_REP, PE_REGALO FROM PEDIDO") + If c.RowCount>0 Then + For i=0 To c.RowCount -1 + c.Position=i + Dim cmd As DBCommand + cmd.Initialize + cmd.Name = "insert_pedido_REP_IZCA" + cmd.Parameters = Array As Object(c.GetString("PE_TIPO"), c.GetString("PE_RUTA"), c.GetString("PE_CEDIS"), c.GetString("PE_COSTO_TOT"), c.GetString("PE_COSTOU"), c.GetString("PE_CANT"), c.GetString("PE_PRONOMBRE"), c.GetString("PE_PROID"), c.GetString("PE_CLIENTE"), c.GetString("PE_FECHA"), c.GetString("PE_USUARIO"), c.GetString("PE_CLIENTEOR"), c.GetString("PE_CAJAS"), c.GetString("PE_BCAJAS"), c.GetString("CONSECUTIVO"), c.GetString("FECHA_PREV"), c.GetString("RUTA_REP"), c.GetString("PE_REGALO")) + reqManager.ExecuteCommand(cmd , "ins_pedido_Inmtex") + Next + c.Close + End If + + +'' reqManager.Initialize(Me, "http://187.189.244.154:1787") 'Para el servidor de pruebas. +' c = Starter.skmt.ExecQuery("SELECT * from reparto") +' If c.RowCount > 0 Then +' Private folio As String = Subs.hmsKMT +' For i=0 To c.RowCount -1 +' c.Position=i +' Dim cmd As DBCommand +' cmd.Initialize +' cmd.Name = "insertMardsReparto" +' cmd.Parameters = Array As Object(folio, C.GetString("REP_FECHA"), C.GetString("REP_CLIENTE"), C.GetString("REP_CLI_ORIG"), C.GetString("REP_PRODID"), C.GetString("REP_PRONOMBRE"), C.GetString("REP_PRODREGISTRO"), C.GetString("REP_CANT"), C.GetString("REP_PRECIO"), C.GetString("REP_COSTO_TOT"), C.GetString("REP_RECHAZO"),ALMACEN,l_ruta.Text) +' reqManager.ExecuteCommand(cmd , "ins_reparto") +' Next +' c.Close +' End If + +' c = Starter.skmt.ExecQuery("SELECT * from rechazos") +' If c.RowCount > 0 Then +' Private folio As String = Subs.hmsKMT +' For i=0 To c.RowCount -1 +' c.Position=i +' Dim cmd As DBCommand +' cmd.Initialize +' cmd.Name = "insertMardsRechazos" +' cmd.Parameters = Array As Object(folio, C.GetString("R_FECHA"), C.GetString("R_CLIENTE"), C.GetString("R_CLI_ORIG"), C.GetString("R_PRODID"), C.GetString("R_CANT"), C.GetString("R_RECHAZO"),ALMACEN,l_ruta.Text) +' reqManager.ExecuteCommand(cmd , "ins_rechazos") +' Next +' c.Close +' End If +' c = Starter.skmt.ExecQuery("SELECT * from ventas") +' If c.RowCount > 0 Then +' Private folio As String = Subs.hmsKMT +' For i=0 To c.RowCount -1 +' c.Position=i +' Dim cmd As DBCommand +' cmd.Initialize +' cmd.Name = "insertMardsVentas" +' cmd.Parameters = Array As Object(folio, C.GetString("V_FECHA"), C.GetString("V_CLIENTE"), C.GetString("V_CLI_ORIG"), C.GetString("V_PRODID"), C.GetString("V_CANT"), C.GetString("V_RECHAZO"),ALMACEN,l_ruta.Text) +' reqManager.ExecuteCommand(cmd , "ins_ventas") +' Next +' c.Close +' End If + + +' c=Starter.skmt.ExecQuery("SELECT CLIENTE, USUARIO, FECHA_PUNTEO, LATITUD, LONGITUD, ALMACEN, RUTA_REPARTO, RUTA_PREV, FECHA_PREVENTA, MOTIVO, COMENTARIO,TIPO FROM REPARTO_GEO") +' Log($"REPARTO_Cliente PENDIENTE: ${c.RowCount}"$) +' If c.RowCount>0 Then +' For i=0 To c.RowCount -1 +' c.Position=i +' +' Dim cmd As DBCommand +' cmd.Initialize +' cmd.Name = "insert_REPARTO_IZCA" +' cmd.Parameters = Array As Object(c.GetString("CLIENTE"), c.GetString("USUARIO"), c.GetString("FECHA_PUNTEO"), c.GetString("LATITUD"), c.GetString("LONGITUD"), c.GetString("ALMACEN"), c.GetString("RUTA_REPARTO"), c.GetString("RUTA_PREV"), c.GetString("FECHA_PREVENTA"), c.GetString("MOTIVO"), c.GetString("COMENTARIO"),c.GetString("TIPO")) +' reqManager.ExecuteCommand(cmd , $"ins_REPARTOPendientes_head_${c.GetString("CLIENTE")}"$) +' +' Next +' End If +' c.Close + +' PCIK CIEGO + c = Starter.skmt.ExecQuery("SELECT PC_ID_PROD, PC_ALMACEN, PC_RUTA, PC_FECHA FROM PICK_CIEGO") + If c.RowCount > 0 Then + For i = 0 To c.RowCount - 1 + c.Position = i + Dim cmd As DBCommand + cmd.Initialize + cmd.Name = "select_HIST_PICKCIEGO_IZCA" ' + cmd.Parameters = Array As Object(c.GetString("PC_ID_PROD"), c.GetString("PC_ALMACEN"), c.GetString("PC_RUTA"), c.GetString("PC_FECHA"),"REPARTO") + reqManager.ExecuteQuery(cmd , 0, $"PICK_C_${c.GetString("PC_ID_PROD")}"$) + Next + End If + c.close + + 'TABULADOR + c = Starter.skmt.ExecQuery("SELECT VEINTE, DIEZ, CINCO, DOS, PESO, CENTAVO, TOTAL FROM TABULADOR_MONEDAS") + d = Starter.skmt.ExecQuery("SELECT RUTAA FROM RUTAA") + b = Starter.skmt.ExecQuery("SELECT ID_ALMACEN FROM CAT_ALMACEN") + f = Starter.skmt.ExecQuery("SELECT HVD_FECHA FROM HIST_VENTAS") + d.Position = 0 + b.Position = 0 + f.Position = 0 + If c.RowCount > 0 Then + For i = 0 To c.RowCount - 1 + c.Position=i + Dim cmd As DBCommand + Dim fechatabulador() As String = Regex.Split(" ", f.GetString("HVD_FECHA")) +' Dim fechatabulador2() As String = Regex.Split(" ", fechatabulador(0)) + Dim fechatabulador3 As String = fechatabulador(0) + cmd.Initialize + cmd.Name = "insert_tabulador_monedas_IZCA" + cmd.Parameters = Array As Object(d.GetString("RUTAA"), b.GetString("ID_ALMACEN"),c.GetString("VEINTE"),c.GetString("DIEZ"),c.GetString("CINCO"),c.GetString("DOS"),c.GetString("PESO"),c.GetString("CENTAVO"),fechatabulador3) + reqManager.ExecuteCommand(cmd , "ins_tabulador_mon") + Next + c.Close + d.Close + b.Close + f.Close + End If + + c = Starter.skmt.ExecQuery("SELECT IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT, HVD_CLIENTE, HVD_PROID, HVD_FECHA, HVD_CODPROMO, HVD_NUM_TICKET, HVD_CANT, CONSECUTIVO, BCAJAS, CANTC FROM HIST_VENTAS") + If c.RowCount > 0 Then + For i=0 To c.RowCount -1 + c.Position = i + Log(c.GetString("HVD_CLIENTE")) + Private d4 As Cursor = Starter.skmt.ExecQuery($"SELECT CAT_CL_RUTA FROM kmt_info WHERE CAT_CL_CODIGO = '${c.GetString("HVD_CLIENTE")}'"$) + d4.Position = 0 + Log(d4.GetString("CAT_CL_RUTA")) + Private d5 As Cursor = Starter.skmt.ExecQuery($"SELECT IFNULL(Sum(PE_CANT),0) AS PE_CANT FROM PEDIDO WHERE PE_CLIENTEOR = '${c.GetString("HVD_CLIENTE")}' AND PE_PROID = '${c.GetString("HVD_PROID")}' AND CONSECUTIVO = '${c.GetString("CONSECUTIVO")}' and PE_TIPO NOT IN ('DANADO','FALTANTE','SOBRANTE') "$) + d5.Position = 0 + Private restacant As String = d5.GetString("PE_CANT") + d5.Close + + Dim fecha1() As String = Regex.Split(" ", c.GetString("HVD_FECHA")) +' Dim fecha2() As String = Regex.Split("-", fecha1(0)) + Dim fecha3 As String = fecha1(0) + Log(fecha3) + Dim hora As String = fecha1(1) +' Log(hora(0)) + + Dim sDate, sTime As String + DateTime.DateFormat = "dd/MM/yyyy" + DateTime.TimeFormat = "HH:mm:ss" + sDate = DateTime.Date(DateTime.Now) + sTime = DateTime.Time(DateTime.Now) + If c.GetString("HVD_RECHAZOCANT") <> "0" Then + Log((c.GetString("HVD_RECHAZOCANT")-restacant)) + cmd.Initialize + cmd.Name = "update_HVD_izcarep2" + cmd.Parameters = Array As String(c.GetString("HVD_RECHAZOCANT"),sDate& " "& sTime,1, c.GetString("HVD_CLIENTE"), c.GetString("HVD_PROID"),fecha3&" "&hora, d4.GetString("CAT_CL_RUTA"),ALMACEN,l_ruta.Text,c.GetString("HVD_CODPROMO"),c.GetString("HVD_NUM_TICKET"), c.GetString("HVD_CANT")) + reqManager.ExecuteCommand(cmd, "update_hvd") + Else + cmd.Initialize + cmd.Name = "update_HVD_izcarep2" + Log( c.GetString("CANTC")& c.GetString("HVD_CLIENTE")& c.GetString("HVD_PROID")&fecha3&" "&hora& d4.GetString("CAT_CL_RUTA")&ALMACEN&l_ruta.Text&c.GetString("HVD_CODPROMO")&c.GetString("HVD_NUM_TICKET")& c.GetString("HVD_CANT")) + cmd.Parameters = Array As String("","","", c.GetString("HVD_CLIENTE"), c.GetString("HVD_PROID"),fecha3&" "&hora, d4.GetString("CAT_CL_RUTA"),ALMACEN,l_ruta.Text,c.GetString("HVD_CODPROMO"),c.GetString("HVD_NUM_TICKET"), c.GetString("HVD_CANT")) + reqManager.ExecuteCommand(cmd, "update_hvd") + End If + d4.Close + Next + End If + c.Close + + + c = Starter.skmt.ExecQuery("SELECT MIL, QUINIENTOS, DOCIENTOS, CIEN, CINCUENTA, VEINTE FROM TABULADOR_BILLETES") + d = Starter.skmt.ExecQuery("SELECT RUTAA FROM RUTAA") + b = Starter.skmt.ExecQuery("SELECT ID_ALMACEN FROM CAT_ALMACEN") + f = Starter.skmt.ExecQuery("SELECT HVD_FECHA FROM HIST_VENTAS") + d.Position = 0 + b.Position = 0 + f.Position = 0 + If c.RowCount > 0 Then + For i = 0 To c.RowCount - 1 + c.Position=i + Dim cmd As DBCommand +' Dim fechatabulador() As String = Regex.Split(" ", f.GetString("HVD_FECHA")) +' Dim fechatabulador2() As String = Regex.Split("-", fechatabulador(0)) +' Dim fechatabulador3 As String = fechatabulador2(1)&"/"&fechatabulador2(2)&"/"&fechatabulador2(0) + + Dim fechatabulador() As String = Regex.Split(" ", f.GetString("HVD_FECHA")) +' Dim fechatabulador2() As String = Regex.Split(" ", fechatabulador(0)) + Dim fechatabulador3 As String = fechatabulador(0) + + cmd.Initialize + cmd.Name = "insert_tabulador_billetes_IZCA" + cmd.Parameters = Array As Object(b.GetString("ID_ALMACEN"), d.GetString("RUTAA"),c.GetString("MIL"),c.GetString("QUINIENTOS"),c.GetString("DOCIENTOS"),c.GetString("CIEN"),c.GetString("CINCUENTA"),c.GetString("VEINTE"),fechatabulador3) + reqManager.ExecuteCommand(cmd , "ins_tabulador_bill") + Next + c.Close + d.Close + b.Close + f.Close + End If + 'FIN TABULADOR + + Dim cmd As DBCommand + cmd.Initialize + cmd.Name = "insert_drop_rep_IZCA2" + cmd.Parameters = Array As Object(Subs.dameUsuarioDeDB, l_ruta.Text, ALMACEN, l_ctast.text, Subs.traeEntregados, Subs.traeRechazados, "ENVIO",Application.VersionName) + reqManager.ExecuteCommand(cmd , "inst_drop") + ToastMessageShow("Se Actualizaran los datos, Este proceso podria tardar hasta un minuto, gracias "& l_ruta.text , True) +End Sub + +Sub cargar_Click + Dim pedidodiaanterior As Boolean = False + Dim cp As Cursor = Starter.skmt.ExecQuery("select * from NOVENTA") + If cp.RowCount > 0 Then + cp.Position = 0 + Private fecha As String = cp.GetString("NV_FECHA") + Log(cp.GetString("NV_FECHA")) + Dim fecha2() As String = Regex.Split(" ",fecha) + Log(fecha2(0)) + Dim fecha3() As String = Regex.Split("/",fecha2(0)) + DateTime.DateFormat = "yyyyMMdd" + DateTime.TimeFormat = "" + Dim dia As String = fecha3(2)&fecha3(0)&fecha3(1) + Log(dia) + Dim dia2 As String = DateTime.Date(DateTime.Now) + Log(dia & " , " & dia2) + If dia < dia2 Then + pedidodiaanterior = True + End If + End If + If Not (pedidodiaanterior) Then + P_carga.Visible = True + P_carga.Width = Root.Width + P_carga.Height = Root.Height + l_carga2.Text = "CARGANDO" + L_carga.Text = "CARGANDO" + PB_carga.Progress = 0 + PB_carga2.Progress = 0 + Log("CUMPLE") + EJECUTANDO = 1 + reqs.Initialize + TOPE = 0 + LogColor($"ReqServer = ${B4XPages.MainPage.server}"$, Colors.red) + reqManager.Initialize(Me, B4XPages.MainPage.server) + + Dim cmd As DBCommand + cmd.Initialize + cmd.Name = "insert_drop_rep_IZCA2" + cmd.Parameters = Array As Object(Subs.dameUsuarioDeDB, l_ruta.Text, ALMACEN, l_ctast.text, Subs.traeEntregados, Subs.traeRechazados, "CARGA",Application.VersionName) + reqManager.ExecuteCommand(cmd , "inst_drop") +' reqs.Add("inst_noventa") + + Starter.skmt.ExecNonQuery("delete from kmt_info") + Starter.skmt.ExecNonQuery("delete from cod_result") + Starter.skmt.ExecNonQuery("delete from hist_gest") + Starter.skmt.ExecNonQuery("delete from CAT_DETALLES_PAQ") + Starter.skmt.ExecNonQuery("delete from telefonos") + Starter.skmt.ExecNonQuery("delete from cat_gunaprod") + Starter.skmt.ExecNonQuery("delete from cat_gunaprod3") +' Starter.skmt.ExecNonQuery("delete from VENTAS") + Starter.skmt.ExecNonQuery("delete from PUNTEO_GPS") + If l_ruta.Text = "0" Then ' + Log("********************* No hay ruta, BORRAMOS TODO") + Starter.skmt.ExecNonQuery("delete from REPARTO") + Starter.skmt.ExecNonQuery("delete from HIST_VENTAS") + Starter.skmt.ExecNonQuery("delete from HIST_VENTAS2") + Starter.skmt.ExecNonQuery("delete from NOVENTA") + Starter.skmt.ExecNonQuery("DELETE FROM ABONOSP") + Else + Log("********************* Hay ruta, NO BORRAMOS TODO") + End If + + ' NUEVOS CLIENTES + c=Starter.skmt.ExecQuery("select usuario from usuarioa") + c.Position = 0 + usuario = c.GetString("USUARIO") + + cmd.Initialize + cmd.Name = "select_punteo_re_REPG_IZCA" + cmd.Parameters = Array As Object(e_ruta.text, ALMACEN,ALMACEN) + reqManager.ExecuteQuery(cmd , 0, "punteo") + Log($"Pedimos Punteo"$) + reqs.Add("punteo") + + cmd.Initialize + cmd.Name = "select_almacen_IZCA_re_REPG2" + cmd.Parameters = Array As Object(ALMACEN) + reqManager.ExecuteQuery(cmd , 0, "gunaprod") + Log($"Pedimos gunaprod - ${ALMACEN}, ${e_ruta.text}"$) + reqs.Add("gunaprod") + +' cmd.Initialize +' cmd.Name = "select_abonosp_IZCAREP" +' cmd.Parameters = Array As Object(ALMACEN, e_ruta.text, ALMACEN) +' reqManager.ExecuteQuery(cmd , 0, "select_abonosp") + + cmd.Initialize + cmd.Name = "select_cliente_IZCA_re_REPG" + cmd.Parameters = Array As Object(e_ruta.text, ALMACEN,ALMACEN,e_ruta.text, ALMACEN) + reqManager.ExecuteQuery(cmd , 0, "kmt_datos") + Log($"Pedimos kmt_datos"$) + reqs.Add("kmt_datos") + + cmd.Initialize + cmd.Name = "select_ventad2_IZCA_re_REPG" + cmd.Parameters = Array As Object(e_ruta.text, ALMACEN) + reqManager.ExecuteQuery(cmd , 0, "hist_datos") + Log($"Pedimos hist_datos"$) + reqs.Add("hist_datos") + + cmd.Initialize + cmd.Name = "select_coords_almacen_IZCA" + cmd.Parameters = Array As Object(ALMACEN) + reqManager.ExecuteQuery(cmd , 0, "coords_almacen") + + cmd.Initialize + cmd.Name = "select_cat_gunaprod3_IZCA" + cmd.Parameters = Array As Object(ALMACEN) + reqManager.ExecuteQuery(cmd , 0, "gunaprod3") + +' cmd.Initialize +' cmd.Name = "select_pagares_MAZAPA" +' cmd.Parameters = Array As Object(e_ruta.text,ALMACEN) +' reqManager.ExecuteQuery(cmd , 0, "PAGARES") + +' c=Starter.skmt.ExecQuery("SELECT REP_CLIENTE, REP_PRONOMBRE, REP_CANT, REP_COSTO_TOT, REP_FECHA FROM REPARTO") +' If c.RowCount > 0 Then +' For i=0 To c.RowCount -1 +' c.Position=i +' Dim cmd As DBCommand +' cmd.Initialize +' cmd.Name = "insert_reparto_rechazo_REPG" +' cmd.Parameters = Array As Object(C.GetString("REP_CLIENTE"),C.GetString("REP_PRONOMBRE"),C.GetString("REP_CANT"),C.GetString("REP_COSTO_TOT"),C.GetString("REP_FECHA"), ALMACEN) +' reqManager.ExecuteCommand(cmd , "inst_noventa") +' reqs.Add("inst_noventa") +' Next +' End If +' c.Close + + ' NOVENTA +' c=Starter.skmt.ExecQuery("SELECT NV_CLIENTE, NV_FECHA, NV_USER,NV_MOTIVO,NV_COMM,NV_LAT,NV_LON, NV_FOTO FROM NOVENTA") +' If c.RowCount > 0 Then +' For i=0 To c.RowCount -1 +' c.Position=i +' foto1 = c.GetBlob("NV_FOTO") +' Dim cmd As DBCommand +' cmd.Initialize +' cmd.Name = "insert_reparto_REPG" +' cmd.Parameters = Array As Object(C.GetString("NV_CLIENTE"),C.GetString("NV_FECHA"),C.GetString("NV_USER"),C.GetString("NV_MOTIVO"),C.GetString("NV_COMM"),C.GetString("NV_LAT"),C.GetString("NV_LON"), ALMACEN, l_ruta.Text, foto1) +' reqManager.ExecuteCommand(cmd , "inst_noventa") +' reqs.Add("inst_noventa") +' Next +' End If +' c.Close + + D=Starter.skmt.ExecQuery("SELECT COUNT(*) AS CUANTOS_NOVENTA FROM NOVENTA") + d.Position=0 + cuantos_noventa = D.GetString("CUANTOS_NOVENTA") + d.Close + cargar.Visible = False + Subir.Visible = False + connecta.Visible = True + inv.Visible = False + ToastMessageShow("Se actualizarán los datos, este proceso podria tardar hasta un minuto, gracias" , True) +' ProgressDialogShow2("Descargando rutas, espere un momento.", False) + If Not(IsConnectedToInternet) Then MsgboxAsync("No hay conexión a Internet", "Revisa tu conexión") + + + Else + Log("XXXX") + MsgboxAsync("Para poder cargar día no puedes tener venta del día anterior. Por favor haz FIN DIA e intenta nuevamente.","Atención") + End If + +End Sub + +Sub cargar____Click + Dim pedidodiaanterior As Boolean = False + Dim cp As Cursor = Starter.skmt.ExecQuery("select * from NOVENTA") + If cp.RowCount > 0 Then + cp.Position = 0 + Private fecha As String = cp.GetString("NV_FECHA") + Log(cp.GetString("NV_FECHA")) + Dim fecha2() As String = Regex.Split(" ",fecha) + Log(fecha2(0)) + Dim fecha3() As String = Regex.Split("/",fecha2(0)) + DateTime.DateFormat = "yyyyMMdd" + DateTime.TimeFormat = "" + Dim dia As String = fecha3(2)&fecha3(0)&fecha3(1) + Log(dia) + Dim dia2 As String = DateTime.Date(DateTime.Now) + Log(dia & " , " & dia2) + If dia < dia2 Then + pedidodiaanterior = True + End If + End If + If Not (pedidodiaanterior) Then + Log("CUMPLE") + EJECUTANDO = 1 + reqs.Initialize + TOPE = 0 + LogColor($"ReqServer = ${B4XPages.MainPage.server}"$, Colors.red) + reqManager.Initialize(Me, B4XPages.MainPage.server) + + Dim cmd As DBCommand + cmd.Initialize + cmd.Name = "insert_drop_rep_IZCA2" + cmd.Parameters = Array As Object(Subs.dameUsuarioDeDB, l_ruta.Text, ALMACEN, l_ctast.text, Subs.traeEntregados, Subs.traeRechazados, "CARGA",Application.VersionName) + reqManager.ExecuteCommand(cmd , "inst_drop") +' reqs.Add("inst_noventa") + + Starter.skmt.ExecNonQuery("delete from kmt_info") + Starter.skmt.ExecNonQuery("delete from cod_result") + Starter.skmt.ExecNonQuery("delete from hist_gest") + Starter.skmt.ExecNonQuery("delete from CAT_DETALLES_PAQ") + Starter.skmt.ExecNonQuery("delete from telefonos") +' Starter.skmt.ExecNonQuery("delete from VENTAS") + Starter.skmt.ExecNonQuery("delete from PUNTEO_GPS") + If l_ruta.Text = "0" Then ' + Log("********************* No hay ruta, BORRAMOS TODO") + Starter.skmt.ExecNonQuery("delete from cat_gunaprod") + Starter.skmt.ExecNonQuery("delete from cat_gunaprod3") + Starter.skmt.ExecNonQuery("delete from REPARTO") + Starter.skmt.ExecNonQuery("delete from HIST_VENTAS") + Starter.skmt.ExecNonQuery("delete from HIST_VENTAS2") + Starter.skmt.ExecNonQuery("delete from NOVENTA") + Else + Log("********************* Hay ruta, NO BORRAMOS TODO") + End If + + ' NUEVOS CLIENTES + c=Starter.skmt.ExecQuery("select usuario from usuarioa") + c.Position = 0 + usuario = c.GetString("USUARIO") + + cmd.Initialize + cmd.Name = "select_punteo_mards_re_REPG" + cmd.Parameters = Array As Object(e_ruta.text, ALMACEN,ALMACEN) + reqManager.ExecuteQuery(cmd , 0, "punteo") + Log($"Pedimos Punteo"$) + reqs.Add("punteo") + + + cmd.Initialize + cmd.Name = "select_almacen_mards_re_REPG" + cmd.Parameters = Array As Object(ALMACEN) + reqManager.ExecuteQuery(cmd , 0, "gunaprod") + Log($"Pedimos gunaprod - ${ALMACEN}, ${e_ruta.text}"$) + reqs.Add("gunaprod") + + + + cmd.Initialize + cmd.Name = "select_cliente_mards_re_REPG" + cmd.Parameters = Array As Object(e_ruta.text, ALMACEN,ALMACEN,e_ruta.text, ALMACEN) + reqManager.ExecuteQuery(cmd , 0, "kmt_datos") + Log($"Pedimos kmt_datos"$) + reqs.Add("kmt_datos") + + cmd.Initialize + cmd.Name = "select_ventad_mards_re_REPG" + cmd.Parameters = Array As Object(e_ruta.text, ALMACEN) + reqManager.ExecuteQuery(cmd , 0, "hist_datos") + Log($"Pedimos hist_datos"$) + reqs.Add("hist_datos") + +' cmd.Initialize +' cmd.Name = "select_coords_almacen_MAZAPA" +' cmd.Parameters = Array As Object(ALMACEN) +' reqManager.ExecuteQuery(cmd , 0, "coords_almacen") +' +' cmd.Initialize +' cmd.Name = "select_cat_gunaprod3_MAZAPA" +' cmd.Parameters = Array As Object(ALMACEN) +' reqManager.ExecuteQuery(cmd , 0, "gunaprod3") +' +' cmd.Initialize +' cmd.Name = "select_pagares_MAZAPA" +' cmd.Parameters = Array As Object(e_ruta.text,ALMACEN) +' reqManager.ExecuteQuery(cmd , 0, "PAGARES") + + If ALMACEN = "32" Then + ALMACEN = "33" + cargo = 2 + cmd.Initialize + cmd.Name = "select_punteo_mards_re_REPG" + cmd.Parameters = Array As Object(e_ruta.text, ALMACEN,ALMACEN) + reqManager.ExecuteQuery(cmd , 0, "punteo") + reqs.Add("punteo") + + cmd.Initialize + cmd.Name = "select_almacen_mards_re_REPG" + cmd.Parameters = Array As Object(ALMACEN, e_ruta.text, ALMACEN) + reqManager.ExecuteQuery(cmd , 0, "gunaprod") + reqs.Add("gunaprod") + + cmd.Initialize + cmd.Name = "select_cliente_mards_re_REPG" + cmd.Parameters = Array As Object(e_ruta.text, ALMACEN,ALMACEN,e_ruta.text, ALMACEN) + reqManager.ExecuteQuery(cmd , 0, "kmt_datos") + reqs.Add("kmt_datos") + + cmd.Initialize + cmd.Name = "select_ventad_mards_re_REPG" + cmd.Parameters = Array As Object(e_ruta.text, ALMACEN) + reqManager.ExecuteQuery(cmd , 0, "hist_datos") + reqs.Add("hist_datos") +' reparto rechazo REP_CLIENTE, REP_PRONOMBRE, REP_CANT, REP_COSTO_TOT + End If + +' c=Starter.skmt.ExecQuery("SELECT REP_CLIENTE, REP_PRONOMBRE, REP_CANT, REP_COSTO_TOT, REP_FECHA FROM REPARTO") +' If c.RowCount > 0 Then +' For i=0 To c.RowCount -1 +' c.Position=i +' Dim cmd As DBCommand +' cmd.Initialize +' cmd.Name = "insert_reparto_rechazo_REPG" +' cmd.Parameters = Array As Object(C.GetString("REP_CLIENTE"),C.GetString("REP_PRONOMBRE"),C.GetString("REP_CANT"),C.GetString("REP_COSTO_TOT"),C.GetString("REP_FECHA"), ALMACEN) +' reqManager.ExecuteCommand(cmd , "inst_noventa") +' reqs.Add("inst_noventa") +' Next +' End If +' c.Close + + ' NOVENTA +' c=Starter.skmt.ExecQuery("SELECT NV_CLIENTE, NV_FECHA, NV_USER,NV_MOTIVO,NV_COMM,NV_LAT,NV_LON, NV_FOTO FROM NOVENTA") +' If c.RowCount > 0 Then +' For i=0 To c.RowCount -1 +' c.Position=i +' foto1 = c.GetBlob("NV_FOTO") +' Dim cmd As DBCommand +' cmd.Initialize +' cmd.Name = "insert_reparto_REPG" +' cmd.Parameters = Array As Object(C.GetString("NV_CLIENTE"),C.GetString("NV_FECHA"),C.GetString("NV_USER"),C.GetString("NV_MOTIVO"),C.GetString("NV_COMM"),C.GetString("NV_LAT"),C.GetString("NV_LON"), ALMACEN, l_ruta.Text, foto1) +' reqManager.ExecuteCommand(cmd , "inst_noventa") +' reqs.Add("inst_noventa") +' Next +' End If +' c.Close + + D=Starter.skmt.ExecQuery("SELECT COUNT(*) AS CUANTOS_NOVENTA FROM NOVENTA") + d.Position=0 + cuantos_noventa = D.GetString("CUANTOS_NOVENTA") + d.Close + cargar.Visible = False + Subir.Visible = False + connecta.Visible = True + inv.Visible = False + ToastMessageShow("Se actualizarán los datos, este proceso podria tardar hasta un minuto, gracias" , True) + ProgressDialogShow2("Descargando rutas, espere un momento.", False) + If Not(IsConnectedToInternet) Then MsgboxAsync("No hay conexión a Internet", "Revisa tu conexión") + + + Else + Log("XXXX") + MsgboxAsync("Para poder cargar día no puedes tener venta del día anterior. Por favor haz FIN DIA e intenta nuevamente.","Atención") + End If + +End Sub + +Sub JobDone(Job As HttpJob) +' Private r As DBResult = reqManager.HandleJob(Job) + If Job.Success = False Then + LogColor("** " & Job.Tag & " Error: " & Job.ErrorMessage, Colors.Red) ' Mod by CHV - 211023 + 'ToastMessageShow("Error: " & Job.ErrorMessage, True) + Else + LogColor("JobDone: '" & reqManager.HandleJob(Job).tag & "' - Registros: " & reqManager.HandleJob(Job).Rows.Size, Colors.Green) 'Mod por CHV - 211023 + If Job.JobName = "DBRequest" Then + Dim result As DBResult = reqManager.HandleJob(Job) + If result.Tag = "kmt_datos" Then 'query tag + If reqs.IndexOf("kmt_datos") > -1 Then + reqs.RemoveAt(reqs.IndexOf("kmt_datos")) +' Log(reqs.Size) + End If + Starter.skmt.BeginTransaction +' If reqManager.HandleJob(Job).Rows.Size > 0 Then + For Each records() As Object In result.Rows + Dim CAT_CL_CODIGO As String = records(result.Columns.Get("CAT_CL_CODIGO")) + 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_BCREDITO As String = records(result.Columns.Get("CAT_CL_BCREDITO")) +' Dim CAT_CL_SECUENCIA As String = records(result.Columns.Get("CAT_CL_SECUENCIA")) +' Log(" ++ insert into kmt_info: "&CAT_CL_RUTA&","&CAT_CL_CODIGO&","&CAT_CL_RUTA&","&CAT_CL_NOMBRE) + Starter.skmt.ExecNonQuery2("INSERT INTO kmt_info(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_BCREDITO, gestion) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,0)", Array As 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_BCREDITO)) + Next + Starter.skmt.ExecNonQuery2("INSERT INTO kmt_info(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_BCREDITO, gestion,SECUENCIA) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,0,?)", Array As Object (63403,1000, "PRODUCTO DAÑADO","","","","","","","","","","","","","","-98.8357694","19.6906052","0","1")) +' End If + Starter.skmt.TransactionSuccessful + Starter.skmt.EndTransaction + Listo1 = 1 + If Listo1 = 1 And Listo3 = 1 Then + ToastMessageShow("Datos Actualizados." , True) + B4XPage_Appear + img2.Visible = False + EJECUTANDO=0 + End If + + ''para la carga --- mover a los demas clientes + t8.Initialize("t8", 20000) ' 1000 = 1 second + t8.Enabled = True + 'fin carga + End If + End If + + If Job.JobName = "DBRequest" Then + Dim result As DBResult = reqManager.HandleJob(Job) + If result.Tag = "select_abonosp" Then 'query tag + For Each records() As Object In result.Rows + Dim NOTA As String = records(result.Columns.Get("NOTA")) + Dim CLIENTE As String = records(result.Columns.Get("CLIENTE")) + Dim SALDO_PENDIENTE As String = records(result.Columns.Get("SALDO_PENDIENTE")) +' Dim DIA_VENCIMIENTO As String = records(result.Columns.Get("DIA_VENCIMIENTO")) + Starter.skmt.ExecNonQuery2("INSERT INTO ABONOSP(NOTA,CLIENTE,SALDO_PENDIENTE) VALUES (?,?,?)", Array As Object (NOTA, CLIENTE,SALDO_PENDIENTE)) + Next + End If + End If + + If Job.JobName = "DBRequest" Then + Dim result As DBResult = reqManager.HandleJob(Job) + If result.Tag = "CONTEO_DATOS" Then 'query tag + For Each records() As Object In result.Rows + Dim DETALLE As String = records(result.Columns.Get("DETALE")) + Dim CONTEO_CAT As String = records(result.Columns.Get("CONTEO_CAT")) + + + Next + + Dim clientes As Cursor = Starter.skmt.ExecQuery("select count(*) as clientes from kmt_info WHERE CAT_CL_CODIGO <> 63403") + clientes.Position = 0 + + Dim detalleventa As Cursor = Starter.skmt.ExecQuery("select count(*) as detalle from hist_ventas") + detalleventa.Position = 0 + + Log(CONTEO_CAT) + Log(clientes.GetString("clientes")) + If clientes.GetString("clientes") = CONTEO_CAT Then + PB_carga2.Progress = 100 + l_carga2.Text = "LISTO" + Else +' cargar_Click + End If + + Log(DETALLE) + Log(detalleventa.GetString("detalle")) + If detalleventa.GetString("detalle") = DETALLE Then + PB_carga.Progress = 100 + L_carga.Text = "LISTO" + Else +' cargar_Click + End If + + clientes.Close + detalleventa.Close + + End If + End If + + If Job.JobName = "DBRequest" Then + Dim result As DBResult = reqManager.HandleJob(Job) + If result.Tag.As(String).IndexOf("PICK_C_") > -1 Then 'query tag + ' Subs.logJobDoneResultados(result) + Private id As String= result.Tag + id = id.SubString(id.IndexOf("_")+3) + For Each records() As Object In result.Rows + Dim CUENTA As String = records(result.Columns.Get("CUENTA")) + Log(CUENTA) + Log(id) + If CUENTA = 0 Then + c = Starter.skmt.ExecQuery2("SELECT * FROM PICK_CIEGO WHERE PC_ID_PROD = ?", Array As String (id)) + If c.RowCount > 0 Then + ' For i=0 To c.RowCount -1 + c.Position=0 + Dim cmd As DBCommand + cmd.Initialize + cmd.Name = "insert_PICKCIEGO_IZCA" + cmd.Parameters = Array As Object(c.GetString("PC_ID_PROD"), c.GetString("PC_NOM_PROD"), c.GetString("PC_CANT"), c.GetString("PC_ALMACEN"), c.GetString("PC_RUTA"), c.GetString("PC_FECHA"),"REPARTO") + reqManager.ExecuteCommand(cmd , "ins_PC") + ' Next + End If + c.Close + Else if CUENTA > 0 Then + c = Starter.skmt.ExecQuery2("SELECT * FROM PICK_CIEGO WHERE PC_ID_PROD= ?", Array As String (id)) + If c.RowCount > 0 Then + ' For i=0 To c.RowCount -1 + c.Position = 0 + Dim cmd As DBCommand + cmd.Initialize + cmd.Name = "update_PICKCIEGO_IZCA" + Log("FECHA" & c.GetString("PC_FECHA")) + cmd.Parameters = Array As Object(c.GetString("PC_CANT"), c.GetString("PC_ID_PROD"), c.GetString("PC_ALMACEN"), c.GetString("PC_RUTA"), c.GetString("PC_FECHA"),"REPARTO") + reqManager.ExecuteCommand(cmd, "update_PC") + ' Next + End If + c.Close + End If + + Next + End If + End If + + + If Job.JobName = "DBRequest" Then + Dim result As DBResult = reqManager.HandleJob(Job) + If result.Tag = "gunaprod3" Then 'query tag + If reqs.IndexOf("gunaprod3") > -1 Then + reqs.RemoveAt(reqs.IndexOf("gunaprod3")) + Log(reqs.Size) + End If + Starter.skmt.BeginTransaction + For Each records() As Object In result.Rows + Dim CAT_GP_ID As String = records(result.Columns.Get("CAT_GP_ID")) + Dim CAT_GP_NOMBRE As String = records(result.Columns.Get("CAT_GP_NOMBRE")) + Dim CAT_GP_IMP1 As String = records(result.Columns.Get("CAT_GP_IMP1")) + Dim CAT_GP_IMP2 As String = records(result.Columns.Get("CAT_GP_IMP2")) + Dim CAT_GP_PRECIO As String = records(result.Columns.Get("CAT_GP_PRECIO")) + Dim CAT_GP_CLASIF As String = records(result.Columns.Get("CAT_GP_CLASIF")) + Dim CAT_GP_STS As String = records(result.Columns.Get("CAT_GP_STS")) + Dim CAT_GP_TIPO As String = records(result.Columns.Get("CAT_GP_TIPO")) + Dim CAT_GP_SUBTIPO As String = records(result.Columns.Get("CAT_GP_SUBTIPO")) + Dim CAT_GP_IMG() As Byte = records(result.Columns.Get("CAT_GP_IMG")) + Dim CAT_GP_ALMACEN As Int = records(result.Columns.Get("CAT_GP_ALMACEN")) + ' Dim CAT_GP_DEV As String = records(RESULT.Columns.Get("CAT_GP_DEV")) + Dim CAT_GP_TIPOPROD As Int = records(result.Columns.Get("CAT_GP_TIPOPROD")) + Dim CAT_GP_INICIATIVA As Int = records(result.Columns.Get("CAT_GP_INICIATIVA")) + Dim CAT_DP_PRECIO4 As Float = records(result.Columns.Get("CAT_DP_PRECIO4")) + Dim CAT_DP_CONVERSION1 As Int = records(result.Columns.Get("CAT_DP_CONVERSION1")) +' Dim CAT_DP_CANT_MIN_VENTA As Int = records(result.Columns.Get("CAT_DP_CANT_MIN_VENTA")) +' CAT_GP_INICIATIVA = 5 +' skmt.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_DEV) VALUES (?,?,?,?,?,?,?,?,?,?,?,?)", Array As 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_DEV)) + Starter.skmt.ExecNonQuery2("INSERT INTO CAT_GUNAPROD3(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_DP_PRECIO4,CAT_DP_CONVERSION1) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)", Array As 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_DP_PRECIO4,CAT_DP_CONVERSION1)) + Next + Starter.skmt.TransactionSuccessful + Starter.skmt.EndTransaction + Listo2=1 + If Listo1 = 1 And Listo2 =1 And Listo3 = 1 And Listo4 = 1 Then + ToastMessageShow("Datos Actualizados." , True) + B4XPage_Appear + img2.Visible = False + EJECUTANDO=0 + End If + End If + End If + + If Job.JobName = "DBRequest" Then + Dim result As DBResult = reqManager.HandleJob(Job) + If result.Tag = "gunaprod" Then 'query tag + Log("Entramos a GUNA_PROD<---------------------------------") + If reqs.IndexOf("gunaprod") > -1 Then + reqs.RemoveAt(reqs.IndexOf("gunaprod")) + Log(reqs.Size) + End If + Starter.skmt.BeginTransaction + For Each records() As Object In result.Rows + Dim CAT_GP_ID As String = records(result.Columns.Get("CAT_DP_ID")) + Dim CAT_GP_NOMBRE As String = records(result.Columns.Get("CAT_DP_NOMBRE")) + Dim CAT_GP_IMP1 As String = records(result.Columns.Get("CAT_DP_IMP1")) + Dim CAT_GP_IMP2 As String = records(result.Columns.Get("CAT_DP_IMP2")) + Dim CAT_GP_PRECIO As String = records(result.Columns.Get("CAT_DP_PRECIO")) + Dim CAT_GP_CLASIF As String = records(result.Columns.Get("CAT_DP_CLASIF")) + Dim CAT_GP_STS As String = records(result.Columns.Get("CAT_DP_STS")) + Dim CAT_GP_TIPO As String = records(result.Columns.Get("CAT_DP_TIPO")) + Dim CAT_GP_SUBTIPO As String = records(result.Columns.Get("CAT_DP_SUBTIPO")) + Dim CONVERSION As String = 0'records(result.Columns.Get("CAT_DP_CONVERSION1")) + Dim PRECIOCONVER As String = 0' records(result.Columns.Get("CAT_DP_PRECIO4")) + Dim CAT_GP_IMG() As Byte = records(result.Columns.Get("CAT_DP_IMG")) + 'Dim CAT_GP_ALMACEN As Int = records(RESULT.Columns.Get("CAT_GP_ALMACEN")) + ' Dim CAT_GP_DEV As String = records(RESULT.Columns.Get("CAT_GP_DEV")) + ' skmt.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_DEV) VALUES (?,?,?,?,?,?,?,?,?,?,?,?)", Array As 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_DEV)) +' Log(" ++ insert into CAT_GUNAPROD: "&CAT_GP_ID&","&CAT_GP_NOMBRE&","&CAT_GP_IMP1) + Log(CAT_GP_NOMBRE & "<-------------------------------------") + Starter.skmt.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,CONVERSION,PRECIOCONVER) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?)", Array As 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, 0,CONVERSION,PRECIOCONVER)) + Next + Starter.skmt.TransactionSuccessful + Starter.skmt.EndTransaction + Listo2=1 + If Listo1 = 1 And Listo2 =1 And Listo3 = 1 And Listo4 = 1 Then + ToastMessageShow("Datos Actualizados." , True) + B4XPage_Appear + img2.Visible = False + EJECUTANDO=0 + End If + End If + End If + + If Job.JobName = "DBRequest" Then + Dim result As DBResult = reqManager.HandleJob(Job) + If result.Tag = "gunaprodp" Then 'query tag + If reqs.IndexOf("gunaprodp") > -1 Then + reqs.RemoveAt(reqs.IndexOf("gunaprodp")) + Log(reqs.Size) + End If + For Each records() As Object In result.Rows + Dim CAT_GP_ID As String = records(result.Columns.Get("CAT_GP_ID")) + Dim CAT_GP_NOMBRE As String = records(result.Columns.Get("CAT_GP_NOMBRE")) + Dim CAT_GP_IMP1 As String = records(result.Columns.Get("CAT_GP_IMP1")) + Dim CAT_GP_IMP2 As String = records(result.Columns.Get("CAT_GP_IMP2")) + Dim CAT_GP_PRECIO As String = records(result.Columns.Get("CAT_GP_PRECIO")) + Dim CAT_GP_CLASIF As String = records(result.Columns.Get("CAT_GP_CLASIF")) + Dim CAT_GP_STS As String = records(result.Columns.Get("CAT_GP_STS")) + Dim CAT_GP_TIPO As String = records(result.Columns.Get("CAT_GP_TIPO")) + Dim CAT_GP_SUBTIPO As String = records(result.Columns.Get("CAT_GP_SUBTIPO")) + Dim CAT_GP_IMG() As Byte = records(result.Columns.Get("CAT_GP_IMG")) + 'Dim CAT_GP_ALMACEN As Int = records(RESULT.Columns.Get("CAT_GP_ALMACEN")) +' Log(" ++ insert into CAT_GUNAPROD: "&CAT_GP_ID&","&CAT_GP_NOMBRE&","&CAT_GP_IMP1) + Starter.skmt.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) VALUES (?,?,?,?,?,?,?,?,?,?,?)", Array As 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, 0)) + Next + Listo4=1 + If Listo1 = 1 And Listo2 =1 And Listo3 = 1 And Listo4 = 1 Then + ToastMessageShow("Datos Actualizados." , True) + B4XPage_Appear + img2.Visible = False + EJECUTANDO=0 + Else If Listo4 = 1 And Listo3 = 1 And inve = 1 Then + ToastMessageShow("Datos Actualizados." , True) + B4XPage_Appear + img2.Visible = False + EJECUTANDO=0 + End If + End If + End If + + If Job.JobName = "DBRequest" Then + Dim result As DBResult = reqManager.HandleJob(Job) + If result.Tag = "detallepaq" Then 'query tag + If reqs.IndexOf("detallepaq") > -1 Then + reqs.RemoveAt(reqs.IndexOf("detallepaq")) + Log(reqs.Size) + End If + For Each records() As Object In result.Rows + Dim CAT_DP_ALMACEN As String = records(result.Columns.Get("CAT_DP_ALMACEN")) + Dim CAT_DP_ID As String = records(result.Columns.Get("CAT_DP_ID")) + Dim CAT_DP_IDPROD As String = records(result.Columns.Get("CAT_DP_IDPROD")) + Dim CAT_DP_TIPO As String = records(result.Columns.Get("CAT_DP_TIPO")) + Dim CAT_DP_PZAS As String = records(result.Columns.Get("CAT_DP_PZAS")) + Dim CAT_DP_USUARIO As String = records(result.Columns.Get("CAT_DP_USUARIO")) + Dim CAT_DP_FECHA As String = records(result.Columns.Get("CAT_DP_FECHA")) + Dim CAT_DP_REGALO As String = records(result.Columns.Get("CAT_DP_REGALO")) + Dim CAT_DP_CLASIF As String = records(result.Columns.Get("CAT_DP_CLASIF")) + Dim CAT_DP_PRECIO As String = records(result.Columns.Get("CAT_DP_PRECIO")) + Dim CAT_DP_PRECIO_SIMPTOS As String = records(result.Columns.Get("CAT_DP_PRECIO_SIMPTOS")) +' Log(" ++ insert into CAT_DETALLES_PAQ: "&CAT_DP_ALMACEN&","&CAT_DP_ID&","&CAT_DP_IDPROD) + Starter.skmt.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 (?,?,?,?,?,?,?,?,?,?,?)", Array As 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)) + Next + Listo3 =1 + If Listo1 = 1 And Listo2 = 1 And Listo3 = 1 And Listo4 = 1 Then + ToastMessageShow("Datos Actualizados." , True) + B4XPage_Appear + img2.Visible=False + EJECUTANDO = 0 + Else If Listo4 = 1 And Listo3 = 1 And inve = 1 Then + ToastMessageShow("Datos Actualizados." , True) + B4XPage_Appear + img2.Visible = False + EJECUTANDO = 0 + End If + End If + End If + + If Job.JobName = "DBRequest" Then + Dim result As DBResult = reqManager.HandleJob(Job) + If result.Tag = "estatus" Then 'query tag + For Each records() As Object In result.Rows + Dim hvd_estatus As String = records(result.Columns.Get("HVD_ESTATUS")) + If hvd_estatus = "Liquidado" Then + ' ToastMessageShow("rojo val ok 1 cuantosp." , True) + MsgboxAsync("La venta ya fue liquidada","Atención") + Else + envioinfo + End If + Next + End If + End If + + If Job.JobName = "DBRequest" Then + Dim result As DBResult = reqManager.HandleJob(Job) + If result.Tag = "punteo" Then 'query tag + If reqs.IndexOf("punteo") > -1 Then + reqs.RemoveAt(reqs.IndexOf("punteo")) +' Log(reqs.Size) + End If + If reqs.IndexOf("punteo") > 0 Then + reqs.RemoveAt(reqs.IndexOf("punteo")) + Log(reqs.Size) + End If + Starter.skmt.BeginTransaction + For Each records() As Object In result.Rows + Dim HV_CLIENTE As String = records(result.Columns.Get("HV_CLIENTE")) + Dim HV_LONG As String = records(result.Columns.Get("HV_LONG")) + Dim HV_LAT As String = records(result.Columns.Get("HV_LAT")) +' Log(" ++ insert into PUNTEO_GPS: "&HV_CLIENTE&","&HV_LONG) + Starter.skmt.ExecNonQuery2("INSERT INTO PUNTEO_GPS(HV_CLIENTE, HV_LONG, HV_LAT) VALUES (?,?,?)", Array As Object (HV_CLIENTE, HV_LONG, HV_LAT)) + Next + Starter.skmt.TransactionSuccessful + Starter.skmt.EndTransaction + End If + End If + + If Job.JobName = "DBRequest" Then + Dim result As DBResult = reqManager.HandleJob(Job) + If result.Tag = "hist_datos" Then 'query tag + If reqs.IndexOf("hist_datos") > -1 Then + reqs.RemoveAt(reqs.IndexOf("hist_datos")) +' Log(reqs.Size) + End If + Log(l_ruta.text) + Log($"******** Insertamos HV - ${result.Rows.Size}"$) + Starter.skmt.BeginTransaction + Dim consecutivo As Int= 0 + For Each records() As Object In result.Rows + 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")) + Dim HVD_CODPROMO As String = records(result.Columns.Get("HVD_CODPROMO")) + Dim HVD_PROID As String = records(result.Columns.Get("HVD_PROID")) + Dim HVD_NUM_TICKET As String = records(result.Columns.Get("HVD_NUM_TICKET")) + Dim HVD_NUM_REGISTRO As String = records(result.Columns.Get("HVD_NUM_REGISTRO")) + Dim HVD_RECHAZO As String = records(result.Columns.Get("HVD_RECHAZO")) + Dim HVD_BCREDITO As String = records(result.Columns.Get("HVD_BCREDITO")) +' Dim HVD_PLACA As String = records(result.Columns.Get("HVD_PLACA")) + Dim bcajas As String = 0 ' records(result.Columns.Get("HVD_BCAJAS")) + Dim cantc As String = 0 'records(result.Columns.Get("HVD_CANTC")) +' Log(" ++ insert into HIST_VENTAS: "&HVD_CLIENTE&","&HVD_PRONOMBRE&","&HVD_CANT) + consecutivo = consecutivo +1 + Log(HVD_PRONOMBRE & ", " & HVD_CANT & ", " &HVD_CLIENTE) + If l_ruta.Text = "0" Then 'Si no hay ruta cargada, guardamos todos los clientes + Log("No hay ruta, guardamos todos") + Starter.skmt.ExecNonQuery2("INSERT INTO HIST_VENTAS(HVD_CLIENTE, HVD_PRONOMBRE, HVD_CANT,HVD_COSTO_TOT, HVD_FECHA, HVD_CODPROMO, HVD_PROID,HVD_NUM_TICKET, HVD_NUM_REGISTRO, HVD_RECHAZO, HVD_ESTATUS, HVD_PARCIAL, BCAJAS,CANTC,CONSECUTIVO,BCAJAS_OR,CANTC_OR,HVD_BCREDITO) VALUES (?,?,?,?,?,?,?,?,?,?,0,0,?,?,?,?,?,?)", Array As Object (HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT,HVD_FECHA, HVD_CODPROMO, HVD_PROID,HVD_NUM_TICKET, HVD_NUM_REGISTRO, HVD_RECHAZO, bcajas,cantc,consecutivo,bcajas,cantc,HVD_BCREDITO)) + Starter.skmt.ExecNonQuery2("INSERT INTO HIST_VENTAS2(HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT, HVD_FECHA, HVD_CODPROMO, HVD_PROID,HVD_NUM_TICKET, HVD_NUM_REGISTRO, HVD_RECHAZO, HVD_ESTATUS, HVD_PARCIAL) VALUES (?,?,?,?,?,?,?,?,?,?,0,0)", Array As Object (HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT,HVD_FECHA, HVD_CODPROMO, HVD_PROID,HVD_NUM_TICKET, HVD_NUM_REGISTRO, HVD_RECHAZO)) + Else 'Si ya hay ruta cargada, solo guardamos los clientes nuevos. +' Log("Hay ruta, guardamos los nuevos") + Private tc As Cursor = Starter.skmt.ExecQuery($"select HVD_CLIENTE from HIST_VENTAS where HVD_CLIENTE = '${HVD_CLIENTE}' and HVD_PROID = '${HVD_PROID}' AND HVD_CANT = '${HVD_CANT}' AND HVD_CODPROMO = '${HVD_CODPROMO}' "$) + If tc.RowCount = 0 Then + Log($"Guardamos ${HVD_CLIENTE}"$) + Starter.skmt.ExecNonQuery2("INSERT INTO HIST_VENTAS(HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT, HVD_FECHA, HVD_CODPROMO, HVD_PROID,HVD_NUM_TICKET, HVD_NUM_REGISTRO, HVD_RECHAZO, HVD_ESTATUS, HVD_PARCIAL, BCAJAS,CANTC,CONSECUTIVO,BCAJAS_OR,CANTC_OR,HVD_BCREDITO) VALUES (?,?,?,?,?,?,?,?,?,?,0,0,?,?,?,?,?,?)", Array As Object (HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT,HVD_FECHA, HVD_CODPROMO, HVD_PROID,HVD_NUM_TICKET, HVD_NUM_REGISTRO, HVD_RECHAZO, bcajas,cantc,consecutivo,bcajas,cantc,HVD_BCREDITO)) + Starter.skmt.ExecNonQuery2("INSERT INTO HIST_VENTAS2(HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT, HVD_FECHA, HVD_CODPROMO, HVD_PROID,HVD_NUM_TICKET, HVD_NUM_REGISTRO, HVD_RECHAZO, HVD_ESTATUS, HVD_PARCIAL) VALUES (?,?,?,?,?,?,?,?,?,?,0,0)", Array As Object (HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT,HVD_FECHA, HVD_CODPROMO, HVD_PROID,HVD_NUM_TICKET, HVD_NUM_REGISTRO, HVD_RECHAZO)) + End If + End If + Next + Starter.skmt.TransactionSuccessful + Starter.skmt.EndTransaction + Log($"******** Terminamos HV - ${result.Rows.Size}"$) +' f2=Starter.skmt.ExecQuery2("select COUNT(*) as CAMBIOS from hist_ventas where SUBSTR(HVD_PRONOMBRE,1,6) =?", Array As String("CAMBIO")) +' f2.Position = 0 +' If f2.GetString("CAMBIOS") > 0 Then +' f1=Starter.skmt.ExecQuery2("select sum(HVD_CANT) as CAMBIOS from hist_ventas where SUBSTR(HVD_PRONOMBRE,1,6) =?", Array As String("CAMBIO")) +' f1.Position = 0 +' Starter.skmt.ExecNonQuery2("delete from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION =?", Array As Object("CAMBIOS")) +' Starter.skmt.ExecNonQuery2("INSERT INTO CAT_VARIABLES VALUES(?,?)", Array As Object("CAMBIOS",f1.GetString("CAMBIOS"))) +' f1.Close +' Else +' Starter.skmt.ExecNonQuery2("delete from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION =?", Array As Object("CAMBIOS")) +' Starter.skmt.ExecNonQuery2("INSERT INTO CAT_VARIABLES VALUES(?,?)", Array As Object("CAMBIOS","0")) +' End If +' f2.Close + Listo3 =1 + If Listo1 = 1 And Listo3 = 1 Then + ToastMessageShow("Datos Actualizados." , True) + B4XPage_Appear + img2.Visible = False + EJECUTANDO = 0 + End If + End If + + End If + + If Job.JobName = "DBRequest" Then + Dim result As DBResult = reqManager.HandleJob(Job) + If result.Tag = "variables" Then 'query tag + For Each records() As Object In result.Rows + Dim Cat_Va_Descripcion As String = records(result.Columns.Get("CAT_VA_DESCRIPCION")) + Dim Cat_Va_Valor As String = records(result.Columns.Get("CAT_VA_VALOR")) +' Log(" ++ insert into CAT_VARIABLES: "&Cat_Va_Descripcion&","&Cat_Va_Valor) + Starter.skmt.ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)", Array As Object (Cat_Va_Descripcion, Cat_Va_Valor)) + Next + End If + End If + + + If Job.JobName = "DBRequest" Then + Dim result As DBResult = reqManager.HandleJob(Job) + If result.Tag = "PAGARES" Then 'query tag + For Each records() As Object In result.Rows + + Dim TMP_MONTO_PAGARE As String = records(result.Columns.Get("TMP_MONTO_PAGARE")) + Dim TMP_CLIENTE As String = records(result.Columns.Get("TMP_CLIENTE")) +' Log(" ++ insert into CAT_VARIABLES: "&Cat_Va_Descripcion&","&Cat_Va_Valor) + Starter.skmt.ExecNonQuery2("INSERT INTO PAGARES(TMP_MONTO_PAGARE, TMP_CLIENTE) VALUES (?,?)", Array As Object (TMP_MONTO_PAGARE, TMP_CLIENTE)) + Next + End If + End If + + If Job.JobName = "DBRequest" Then + Dim result As DBResult = reqManager.HandleJob(Job) + If result.Tag = "valida_pedido" Then 'query tag + For Each records() As Object In result.Rows + Dim CUANTOSP As Int = records(result.Columns.Get("CUANTOSP")) + If cuantos_pedido = CUANTOSP Then + ' ToastMessageShow("rojo val ok 1 cuantosp." , True) + datos_iguales = "ok" + Else + ToastMessageShow("No se cargo bien la info P. Sync Nuevamente" & CUANTOSP & " " & cuantos_pedido, True) + End If + Next + End If + End If + + + + If Job.JobName = "DBRequest" Then + Dim result As DBResult = reqManager.HandleJob(Job) + If result.Tag = "valida_pedidoc" Then 'query tag + For Each records() As Object In result.Rows + Dim CUANTOSC As Int = records(result.Columns.Get("CUANTOSC")) + If cuantos_pedidosc = CUANTOSC Then + ' ToastMessageShow("rojo val ok 1 cuantosp." , True) + datos_iguales = "ok" + Else + ToastMessageShow("No se cargo bien la info C. Sync Nuevamente" & CUANTOSC & " " & cuantos_pedidosc, True) + End If + Next + End If + End If + + If Job.JobName = "DBRequest" Then + Dim result As DBResult = reqManager.HandleJob(Job) + If result.Tag = "valida_noventa" Then 'query tag + For Each records() As Object In result.Rows + Dim CUANTOSN As Int = records(result.Columns.Get("CUANTOSN")) + If cuantos_noventa = CUANTOSN Then + ' ToastMessageShow("rojo val ok 1 cuantosp." , True) + datos_iguales = "ok" + Else + ToastMessageShow("No se cargo bien la info N. Sync Nuevamente" & CUANTOSN & " " & cuantos_noventa, True) + End If + Next + End If + End If + + If Job.JobName = "DBRequest" Then + Dim result As DBResult = reqManager.HandleJob(Job) + If result.Tag = "insert_pedido" Then 'query tag + ToastMessageShow("Datos Actualizados." , True) + End If + End If + + If Job.JobName = "DBRequest" Then + Dim result As DBResult = reqManager.HandleJob(Job) + If result.Tag = "version" Then 'query tag + For Each records() As Object In result.Rows + Starter.skmt.ExecNonQuery("delete from VERSION") + Dim CAT_VE_VERSION As String = records(result.Columns.Get("CAT_VE_VERSION")) +' Log(" ++ insert into VERSION: "&CAT_VE_VERSION) + Starter.skmt.ExecNonQuery2("INSERT INTO VERSION(NOVERSION) VALUES (?)", Array As Object (CAT_VE_VERSION)) + Next + End If + End If + + If Job.JobName = "DBRequest" Then + Dim result As DBResult = reqManager.HandleJob(Job) + If result.Tag = "count_cli" Then 'query tag + For Each records() As Object In result.Rows + COUNT_CLIE = records(result.Columns.Get("COUNT_CLIE")) + Next + End If + End If + + If Job.JobName = "DBRequest" Then + Dim result As DBResult = reqManager.HandleJob(Job) + If result.Tag = "ruta" Then 'query tag + If reqs.IndexOf("ruta") > -1 Then + reqs.RemoveAt(reqs.IndexOf("ruta")) + Log(reqs.Size) + End If + For Each records() As Object In result.Rows + Dim VALIDO As String = records(result.Columns.Get("VALIDO")) +' Log("VALIDO= " & VALIDO) + If VALIDO = "OK" Then + If l_ctast.Text = "0" Then + Subir.Visible = True + Else If l_ctast.Text <> "0" Then + Subir.Visible = False + End If + cargar.Visible = True + If Subs.dameUsuarioDeDB = "ROOT" Then + Subir.Visible = True + End If + connecta.Visible = False + Starter.skmt.ExecNonQuery("DELETE FROM RUTAA") + +' Log(" ++ insert into RUTAA: "&e_ruta.Text) + Starter.skmt.ExecNonQuery2("INSERT INTO RUTAA(RUTAA) VALUES (?)", Array As Object (e_ruta.TEXT)) + + B4XPages.MainPage.rutaPreventa = e_ruta.TEXT + + If conn = "1" Then + ToastMessageShow("Existe Conexión con el Servidor." , True) + End If + Else + MsgboxAsync("La ruta no esta asignada a este usuario","Atención") + cargar.Visible = False + Subir.Visible = False + inv.Visible = False + connecta.Visible = False + End If + Next + End If + End If + + If Job.JobName = "DBRequest" Then 'Traemos las coordenadas del CEDIS. (Parte de la funcionalidad OSRM) + Dim result As DBResult = reqManager.HandleJob(Job) + If result.Tag = "coords_almacen" Then 'query tag + For Each records() As Object In result.Rows + Log("Coordenadas del almacen: " & records(result.Columns.Get("CAT_AL_LATITUD")) & "," & records(result.Columns.Get("CAT_AL_LONGITUD"))) + Private lat, lon As Double + lat = 0.0 + lon = 0.0 + If IsNumber(records(result.Columns.Get("CAT_AL_LATITUD"))) And IsNumber(records(result.Columns.Get("CAT_AL_LONGITUD"))) Then + lat = records(result.Columns.Get("CAT_AL_LATITUD")) + lon = records(result.Columns.Get("CAT_AL_LONGITUD")) + End If + Starter.cedisLocation.Latitude = lat + Starter.cedisLocation.Longitude = lon + Starter.skmt.ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?", Array As Object ("COORDS_ALMACEN")) + Starter.skmt.ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)", Array As Object ("COORDS_ALMACEN",lon&","&lat)) + '19.48118148992086,-99.15295579261536 + Next + End If + End If + + If Job.JobName = "DBRequest" Then + Dim result As DBResult = reqManager.HandleJob(Job) + If result.Tag = "ins_reparto" Then 'query tag + For Each records() As Object In result.Rows + For Each k As String In result.Columns.Keys + Log(k & ": " & records(result.Columns.Get(k))) + Next + Next + End If + End If + + If Job.JobName = "DBRequest" Then + Dim result As DBResult = reqManager.HandleJob(Job) + If result.Tag = "ins_rechazos" Then 'query tag + For Each records() As Object In result.Rows + For Each k As String In result.Columns.Keys + Log(k & ": " & records(result.Columns.Get(k))) + Next + Next + End If + End If + Job.Release + + End If + If reqs.Size = 0 Then + + + +' ProgressDialogHide + + c = Starter.skmt.ExecQuery("SELECT COUNT(*) AS CUANTOS FROM CHECADO_CHECK") + c.Position = 0 + If c.GetString("CUANTOS") = 0 Then + Starter.skmt.ExecNonQuery2("insert into CHECADO_CHECK (CHECADO) VALUES(?)", Array As String("0")) + + Else If c.GetString("CUANTOS") = 1 Then + + End If + c.Close +' Log(reqs.size) +' Log("Terminamos lo descarga de ruta!") + End If + + +End Sub + +Private Sub B4XPage_CloseRequest As ResumableSub + ' BACK key pressed + If Panel1.visible Then + Log("PANEL1 VISIBLE") + B_REGRESA_Click + Else If P_CIEGO.Visible Then + P_CIEGO.Visible = False + Else If p_prod.Visible Then + p_prod.Visible = False + Else + B4XPages.ShowPage("Login") + End If + ' Returning False signals the system to handle the key + Return False +End Sub + +Sub connecta_Click + LogColor($"ReqServer = ${B4XPages.MainPage.server}"$, Colors.red) + If Not(IsConnectedToInternet) Then MsgboxAsync("No hay conexión a conexión a Internet", "Revisa tu conexión") + If e_ruta.Text <> "" Then + imei = "" 'p.GetDeviceId + conn = "1" + ime.HideKeyboard + Dim cmd As DBCommand + cmd.Initialize + cmd.Name = "select_version_IZCA" + reqManager.ExecuteQuery(cmd , 0, "version") + Dim cmd As DBCommand + cmd.Initialize + + + cmd.Name = "select_ruta_re_REPG_IZCA2" + cmd.Parameters = Array As Object(ALMACEN, e_ruta.text, usuario) + Log($"${ALMACEN}, ${e_ruta.text}, ${usuario}"$) + reqManager.ExecuteQuery(cmd , 0, "ruta") + + ToastMessageShow("Validando Conexión." , True) + Starter.skmt.ExecNonQuery("DELETE FROM RUTAA") + Starter.skmt.ExecNonQuery2("INSERT INTO RUTAA(RUTAA) VALUES (?)", Array As Object (e_ruta.TEXT)) + B4XPages.MainPage.rutaPreventa = e_ruta.TEXT + End If +End Sub + +Sub BUSCA_Click + If b_check.Visible = True Then + MsgboxAsync("Favor de hacer el checklist.","Atención") + Else +' StartActivity(BUSCAR) + B4XPages.ShowPage("Buscar") + End If +End Sub + +Sub b_mapa_Click +' StartActivity(mapas) + B4XPages.ShowPage("mapas") +End Sub + +Sub e_ruta_EnterPressed + If e_ruta.Text = "FIN DIA" Then + RES = Msgbox2("Seguro que desea hacer el cierre todos los datos se borraran?","Cierre", "Si", "", "No",LoadBitmap(File.DirAssets,"alert2.png")) 'ignore + If RES = DialogResponse.POSITIVE Then + + e_ruta.Text = "" + Starter.skmt.ExecNonQuery("delete from PICK_CIEGO") + Starter.skmt.ExecNonQuery("delete from REPARTO_GEO") + Starter.skmt.ExecNonQuery("delete from pedido_cliente") + Starter.skmt.ExecNonQuery("delete from PAGARES") + Starter.skmt.ExecNonQuery("delete from CHECADO_CHECK") + Starter.skmt.ExecNonQuery("delete from CHECKLIST2") + Starter.skmt.ExecNonQuery("delete from pedido") + Starter.skmt.ExecNonQuery("delete from noventa") + Starter.skmt.ExecNonQuery("delete from clie_act") + Starter.skmt.ExecNonQuery("delete from kmt_info") + Starter.skmt.ExecNonQuery("delete from cat_gunaprod") + Starter.skmt.ExecNonQuery("delete from cat_gunaprod3") + Starter.skmt.ExecNonQuery("delete from CAT_DETALLES_PAQ") + Starter.skmt.ExecNonQuery("delete from HIST_VENTAS") + Starter.skmt.ExecNonQuery("delete from REPARTO") + Starter.skmt.ExecNonQuery("DELETE FROM TABULADOR_MONEDAS") + Starter.skmt.ExecNonQuery("DELETE FROM TABULADOR_BILLETES") + Starter.skmt.ExecNonQuery("DELETE FROM RUTAA") + Starter.skmt.ExecNonQuery("DELETE FROM ABONOSP") + Starter.skmt.ExecNonQuery("DELETE FROM ABONOS") + Starter.skmt.ExecNonQuery("DELETE FROM BLOCKENVIO") + B4XPage_Appear + End If +' Starter.waypointsOrdered.Clear + Starter.skmt.ExecNonQuery("delete from waypoints") + End If +End Sub + +Sub inv_Click + ToastMessageShow("Se Actualizaran los datos, Este proceso podria tardar hasta un minuto, gracias" , True) +End Sub + +Sub t1_tick + cmd.Initialize + cmd.Name = "select_cuantos_pedido" + cmd.Parameters = Array As Object(ALMACEN,l_ruta.text) + reqManager.ExecuteQuery(cmd , 0, "valida_pedido") + + cmd.Initialize + cmd.Name = "select_cuantos_noventa_mards" + cmd.Parameters = Array As Object(ALMACEN,l_ruta.text) + reqManager.ExecuteQuery(cmd , 0, "valida_noventa") + + cmd.Initialize + cmd.Name = "select_cuantos_pedidoc" + cmd.Parameters = Array As Object(ALMACEN,l_ruta.text) + reqManager.ExecuteQuery(cmd , 0, "valida_pedidoc") + img2.Visible=False + t1.Enabled = False +End Sub + +Sub B_CLIEPROD_Click + If b_check.Visible = True Then + MsgboxAsync("Favor de hacer el checklist.","Atención") + Else + BUSCA.Visible = True + connecta.Visible = False + trabajar.Visible = True + B_CLIEPROD.Visible = True + Panel1.Visible = True + Panel1.BringToFront + Panel1.Width = Root.Width + Panel1.Height = Root.Height + B_REGRESA.Top = Panel1.Height - B_REGRESA.Height + Btn_Ubicar_Ru.Visible=True + + Dim ch As Cursor = Starter.skmt.ExecQuery("select count(*) as visit from kmt_info WHERE gestion = 2") + ch.Position = 0 + L_clientes_visit.Text = ch.GetInt("visit") + + Dim ch1 As Cursor = Starter.skmt.ExecQuery("select count(*) as rechazo from kmt_info WHERE gestion = 3") + ch1.Position = 0 + l_clientes_recha.Text = ch1.GetInt("rechazo") + l_clientes_visitados.Text = ch1.GetInt("rechazo") + ch.GetInt("visit") + + c=Starter.skmt.ExecQuery("select * from kmt_info WHERE gestion <> 0 order by HORAENT") + Subs.SetDivider(ListView1, Colors.LightGray, 2) + ListView1.Clear + Dim label1 As Label + label1 = ListView1.TwoLinesLayout.Label + label1.TextSize = 16 + label1.TextColor = Colors.Black + Dim label2 As Label + label2 = ListView1.TwoLinesLayout.SecondLabel + label2.TextSize = 16 + label2.TextColor = Colors.Black + + If c.RowCount>0 Then + For i=0 To c.RowCount -1 + c.Position=i + If c.GetString("gestion") = "2" Then + ESTATUS = "ENTREGADO" + Log("entrega") + ELSE IF c.GetString("gestion") = "3" Then + Log("no entrega") + ESTATUS = "RECHAZADO" + Else + ESTATUS = "SIN ESTATUS" + End If + + + + If ESTATUS = "ENTREGADO" Then + Private vc As Cursor = Starter.skmt.ExecQuery($"select HVD_PROID,HVD_COSTO_TOT, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT, CAT_GP_PRECIO from HIST_VENTAS LEFT JOIN CAT_GUNAPROD ON CAT_GP_ID = HVD_PROID where BCAJAS = 0 and HVD_CODPROMO ='${Subs.traealmacen}' and HVD_CLIENTE = '${c.GetString("CAT_CL_CODIGO")}'"$) + + Private cuenta0 As String = 0 + Private arti As String = 0 + If vc.RowCount > 0 Then + For hjf = 0 To vc.RowCount - 1 + vc.Position = hjf +' Log(vc.GetString("HVD_CANT")&","&vc.GetString("HVD_RECHAZOCANT")) + arti = arti + (vc.GetString("HVD_CANT") - vc.GetString("HVD_RECHAZOCANT")) + cuenta0 = cuenta0 + ((vc.GetString("HVD_CANT") - vc.GetString("HVD_RECHAZOCANT"))*(vc.GetString("HVD_COSTO_TOT")/vc.GetString("HVD_CANT"))) + Next + End If +' Log(cuenta0) + + Private vc2 As Cursor = Starter.skmt.ExecQuery($"select HVD_PROID, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT, CANTC,HVD_COSTO_TOT from HIST_VENTAS where HVD_CLIENTE = '${c.GetString("CAT_CL_CODIGO")}' AND BCAJAS = 1"$) + Private Cuenta1 As String = 0 + Private arti1 As String = 0 + If vc2.RowCount > 0 Then + For h = 0 To vc2.RowCount - 1 + vc2.Position = h + Dim preu As Float = NumberFormat2(vc2.GetString("HVD_COSTO_TOT")/vc2.GetString("CANTC"),0,2,2,False) + Private vc3 As Cursor = Starter.skmt.ExecQuery($"select PRECIOCONVER, CONVERSION from CAT_GUNAPROD where CAT_GP_ID = '${vc2.GetString("HVD_PROID")}'"$) + If vc3.RowCount > 0 Then + vc3.Position = 0 + Cuenta1 = Cuenta1 + ((vc2.GetString("CANTC")-(vc2.GetString("HVD_RECHAZOCANT")/vc3.GetString("CONVERSION")))*preu) + arti1 = arti1 + (vc2.GetString("HVD_CANT") - vc2.GetString("HVD_RECHAZOCANT")) + End If + Next + End If +' Log(Cuenta1) + + Private vc4 As Cursor = Starter.skmt.ExecQuery($"select HVD_PROID, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT, CANTC,HVD_COSTO_TOT, HVD_RECHAZO, HVD_CODPROMO from HIST_VENTAS where HVD_CLIENTE = '${c.GetString("CAT_CL_CODIGO")}' AND BCAJAS = 0 and HVD_CODPROMO <> '${Subs.traeAlmacen}'"$) + Private Cuenta2 As String = 0 + Private arti2 As String = 0 + If vc4.RowCount > 0 Then + + For k = 0 To vc4.RowCount - 1 + vc4.Position = k + If vc4.GetString("HVD_PROID") <> vc4.GetString("HVD_CODPROMO") Then + If vc4.GetString("HVD_RECHAZO") = 0 Then + Cuenta2 = Cuenta2 + vc4.GetString("HVD_COSTO_TOT") + arti2 = arti2 + vc4.GetString("HVD_CANT") + Else + Private vc5 As Cursor = Starter.skmt.ExecQuery($"select CAT_GP_PRECIO from CAT_GUNAPROD where CAT_GP_ID = '${vc4.GetString("HVD_PROID")}'"$) + If vc5.RowCount > 0 Then + vc5.Position= 0 +' Log(vc5.GetString("CAT_GP_PRECIO")) + Cuenta2 = Cuenta2 +((vc4.GetString("HVD_CANT")- vc4.GetString("HVD_RECHAZOCANT"))*vc5.GetString("CAT_GP_PRECIO")) + arti2 = arti2 +(vc4.GetString("HVD_CANT")- vc4.GetString("HVD_RECHAZOCANT")) + End If + End If + End If + + Next + End If +' Log(arti2) + + Private c4 As Cursor = Starter.skmt.ExecQuery($"SELECT IFNULL(PE_CANT,0) AS PE_CANT, iFNULL(PE_COSTO_TOT,0) AS PE_COSTO_TOT FROM PEDIDO WHERE PE_CLIENTE = '${c.GetString("CAT_CL_CODIGO")}'"$) + Private Cuenta3 As String = 0 + Private arti3 As String = 0 + If c4.RowCount > 0 Then + For x = 0 To c4.RowCount -1 + c4.Position = x + arti3 = arti3 + c4.GetString("PE_CANT") + Cuenta3 = Cuenta3 + c4.GetString("PE_COSTO_TOT") + Next + End If + + + Private TOTALMONTO As String = cuenta0 + Cuenta1 + Cuenta2 + Cuenta3 + Private TOTALcantidad As String = arti + arti1 +arti2 + arti3 + + ListView1.AddTwoLines(c.GetString("CAT_CL_CODIGO")&" - " &c.GetString("CAT_CL_NOMBRE"), "Articulos :"& TOTALcantidad &" Monto :"& NumberFormat2(TOTALMONTO,0,2,2,True) & " " & ESTATUS ) + Log("si entre2") + + Else If ESTATUS = "RECHAZADO" Then + + Private vc As Cursor = Starter.skmt.ExecQuery($"select HVD_PROID, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT, CAT_GP_PRECIO, HVD_COSTO_TOT from HIST_VENTAS LEFT JOIN CAT_GUNAPROD ON CAT_GP_ID = HVD_PROID where BCAJAS = 0 and HVD_CODPROMO ='${Subs.traealmacen}' and HVD_CLIENTE = '${c.GetString("CAT_CL_CODIGO")}'"$) + + Private cuenta0 As String = 0 + Private arti As String = 0 + If vc.RowCount > 0 Then + For hjf = 0 To vc.RowCount - 1 + vc.Position = hjf + Dim preu As Float = NumberFormat2(vc.GetString("HVD_COSTO_TOT")/vc.GetString("HVD_CANT"),0,2,2,False) +' Log(vc.GetString("HVD_CANT")&","&vc.GetString("HVD_RECHAZOCANT")) + arti = arti + (vc.GetString("HVD_RECHAZOCANT")) + cuenta0 = cuenta0 + ((vc.GetString("HVD_RECHAZOCANT"))*preu) + Next + End If +' Log(cuenta0) + + Private vc2 As Cursor = Starter.skmt.ExecQuery($"select HVD_PROID, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT, CANTC,HVD_COSTO_TOT from HIST_VENTAS where HVD_CLIENTE = '${c.GetString("CAT_CL_CODIGO")}' AND BCAJAS = 1"$) + Private Cuenta1 As String = 0 + Private arti1 As String = 0 + If vc2.RowCount > 0 Then + For h = 0 To vc2.RowCount - 1 + vc2.Position = h + Dim preu As Float = NumberFormat2(vc2.GetString("HVD_COSTO_TOT")/vc2.GetString("CANTC"),0,2,2,False) + Private vc3 As Cursor = Starter.skmt.ExecQuery($"select PRECIOCONVER, CONVERSION from CAT_GUNAPROD where CAT_GP_ID = '${vc2.GetString("HVD_PROID")}'"$) + If vc3.RowCount > 0 Then + vc3.Position = 0 + Cuenta1 = Cuenta1 + ((vc2.GetString("HVD_RECHAZOCANT")/vc3.GetString("CONVERSION"))*preu) + arti1 = arti1 + (vc2.GetString("HVD_RECHAZOCANT")) + End If + Next + End If +' Log(Cuenta1) + + Private vc4 As Cursor = Starter.skmt.ExecQuery($"select HVD_PROID, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT, CANTC,HVD_COSTO_TOT, HVD_RECHAZO, HVD_CODPROMO from HIST_VENTAS where HVD_CLIENTE = '${c.GetString("CAT_CL_CODIGO")}' AND BCAJAS = 0 and HVD_CODPROMO <> '${Subs.traeAlmacen}'"$) + Private Cuenta2 As String = 0 + Private arti2 As String = 0 + If vc4.RowCount > 0 Then + + For k = 0 To vc4.RowCount - 1 + vc4.Position = k + If vc4.GetString("HVD_PROID") <> vc4.GetString("HVD_CODPROMO") Then + If vc4.GetString("HVD_RECHAZO") = 0 Then + Cuenta2 = Cuenta2 + vc4.GetString("HVD_COSTO_TOT") + arti2 = arti2 + vc4.GetString("HVD_RECHAZOCANT") + Else + Private vc5 As Cursor = Starter.skmt.ExecQuery($"select CAT_GP_PRECIO from CAT_GUNAPROD where CAT_GP_ID = '${vc4.GetString("HVD_PROID")}'"$) + If vc5.RowCount > 0 Then + vc5.Position= 0 +' Log(vc5.GetString("CAT_GP_PRECIO")) + Cuenta2 = Cuenta2 +(( vc4.GetString("HVD_RECHAZOCANT"))*vc5.GetString("CAT_GP_PRECIO")) + arti2 = arti2 +(vc4.GetString("HVD_RECHAZOCANT")) + End If + End If + End If + + Next + End If +' Log(arti2) + + Private c4 As Cursor = Starter.skmt.ExecQuery($"SELECT IFNULL(PE_CANT,0) AS PE_CANT, iFNULL(PE_COSTO_TOT,0) AS PE_COSTO_TOT FROM PEDIDO WHERE PE_CLIENTE = '${c.GetString("CAT_CL_CODIGO")}'"$) + Private Cuenta3 As String = 0 + Private arti3 As String = 0 + If c4.RowCount > 0 Then + For x = 0 To c4.RowCount -1 + c4.Position = x + arti3 = arti3 + c4.GetString("PE_CANT") + Cuenta3 = Cuenta3 + c4.GetString("PE_COSTO_TOT") + Next + End If + + + Private TOTALMONTO As String = cuenta0 + Cuenta1 + Cuenta2 + Cuenta3 + Private TOTALcantidad As String = arti + arti1 +arti2 + arti3 + + Log("si entre") + ListView1.AddTwoLines(c.GetString("CAT_CL_CODIGO")&" - " &c.GetString("CAT_CL_NOMBRE"), "Articulos :"& TOTALcantidad &" Monto :"& NumberFormat2(TOTALMONTO,0,2,2,True) & " " & ESTATUS ) + End If + Next + End If + + + + + +' c=skmt.ExecQuery("select HVD_CLIENTE, HVD_PRONOMBRE, HVD_CANT, HVD_ESTATUS from HIST_VENTAS ORDER BY HVD_PRONOMBRE") +' +' ListView1.Clear +' Dim label1 As Label +' label1 = ListView1.TwoLinesLayout.Label +' label1.TextSize = 10 +' label1.TextColor = Colors.Black +' Dim label2 As Label +' label2 = ListView1.TwoLinesLayout.SecondLabel +' label2.TextSize = 10 +' label2.TextColor = Colors.Black +' +' If c.RowCount>0 Then +' For i=0 To c.RowCount -1 +' c.Position=i +' If c.GetString("HVD_ESTATUS") = "0" Then +' ESTATUS = "SIN ENTREGAR" +' ELSE IF c.GetString("HVD_ESTATUS") = "1" Then +' ESTATUS = "ENTREGADO" +' ELSE IF c.GetString("HVD_ESTATUS") = "2" Then +' ESTATUS = "RECHAZADO" +' Else +' ESTATUS = "SIN ESTATUS" +' End If +' ListView1.AddTwoLines(c.GetString("HVD_PRONOMBRE") & " " & c.GetString("HVD_CLIENTE") , c.GetString("HVD_CANT") & " " & ESTATUS ) +' Next +' End If +End If +End Sub + +Sub B_REGRESA_Click + Log("B_REGRESA_Click") + BUSCA.Visible = False + connecta.Visible = True + trabajar.Visible = True + B_CLIEPROD.Visible = True + Panel1.Visible = False + Btn_Ubicar_Ru.Visible=True +End Sub + +''''''''''''''''''''''''''''MAPA RUTAS +Sub Btn_Ubicar_Ru_Click + If b_check.Visible = True Then + MsgboxAsync("Favor de hacer el checklist.","Atención") + Else + + StartActivity(MAPA_RUTAS) + End If +End Sub +'You can see the list of page related events in the B4XPagesManager object. The event name is B4XPage. + +Private Sub b_tabulador_Click + If b_check.Visible = True Then + MsgboxAsync("Favor de hacer el checklist.","Atención") + Else + B4XPages.ShowPage("tabulador") + End If +End Sub + +Private Sub b_check_Click + + B4XPages.ShowPage("checklist") + +End Sub + +Private Sub ListView1_ItemClick (Position As Int, Value As Object) + Log(Value) + + Dim clieasing() As String = Regex.Split(" ", Value) + Log(clieasing(0)) + + Starter.skmt.ExecNonQuery("delete from CUENTAA") + Starter.skmt.ExecNonQuery2("INSERT INTO CUENTAA VALUES (?)", Array As Object(clieasing(0))) + B4XPages.ShowPage("Cliente") + Panel1.Visible = False +End Sub + +Private Sub b_rechazos_Click + Dim label1 As Label + label1 = lv_prod_Prin.SingleLineLayout.Label + label1.TextSize = 14 + p_prod.Width = Root.Width + p_prod.Height = Root.Height +' b_regreso.Left = (p_prod.Width - b_regreso.Width) / 4 +' b_impresion_rec.Left = (p_prod.Width - b_impresion_rec.Width) / 4 + b_regreso.Top = p_prod.Height - b_regreso.Height + b_impresion_rec.Top = p_prod.Height - b_impresion_rec.Height + + p_prod.Visible = True + p_prod.BringToFront + + If l_ctast.Text = "0" Then + b_impresion_rec.Enabled = True + Else If l_ctast.Text <> "0" Then + b_impresion_rec.Enabled = False + End If + + + Private c As Cursor = Starter.skmt.ExecQuery("select HVD_PRONOMBRE, IFNULL(SUM(HVD_RECHAZOCANT), 0) AS HVD_RECHAZOCANT, HVD_PROID from HIST_VENTAS WHERE hvd_rechazo <> 2 and HVD_RECHAZOCANT > 0 GROUP BY HVD_PROID order by HVD_PRONOMBRE asc") + + lv_prod_Prin.SingleLineLayout.Label.TextColor = Colors.Black + lv_prod_Prin.Clear + If c.RowCount > 0 Then + For i = 0 To c.RowCount - 1 + c.Position = i + Dim itemText As String + + Private c3 As Cursor=Starter.skmt.ExecQuery($"select Ifnull(sum(PE_CANT),0) AS PE_CANT from PEDIDO WHERE PE_PROID ='${c.GetString("HVD_PROID")}' "$) + Private resta As String = 0 + + If c3.RowCount > 0 Then + c3.Position = 0 + resta = c3.GetString("PE_CANT") + Else + resta = 0 + End If + If ( c.GetInt("HVD_RECHAZOCANT") - resta) <= 0 Then + + Else + itemText = $"${c.GetString("HVD_PRONOMBRE")} ${CRLF}Inventario: ${(c.GetInt("HVD_RECHAZOCANT") - resta)}"$ + lv_prod_Prin.AddSingleLine(itemText) + End If + + + Next + Else + lv_prod_Prin.AddSingleLine("No hay datos disponibles.") + End If + c.Close + + +End Sub + +Private Sub b_regreso_Click + p_prod.Visible = False +End Sub + +Private Sub p_prod_Click + +End Sub + +Private Sub b_venta_emp_Click + Starter.skmt.ExecNonQuery("delete from CUENTAA") + Starter.skmt.ExecNonQuery2("INSERT INTO CUENTAA VALUES (?)", Array As Object("63403")) + + Subs.panelVisible(P_CIEGO,0,0) + P_CIEGO.Width = Root.Width + P_CIEGO.Height = Root.Height + + CLV_PICK_CIEGO.Clear + + Private c As Cursor = Starter.skmt.ExecQuery("select HVD_PRONOMBRE, IFNULL(SUM(HVD_RECHAZOCANT), 0) AS HVD_RECHAZOCANT, HVD_PROID, ifnull(PC_CANT,0) AS PC_CAN from HIST_VENTAS INNER JOIN PICK_CIEGO ON PC_ID_PROD = HVD_PROID WHERE hvd_rechazo <> 2 and HVD_RECHAZOCANT > 0 GROUP BY HVD_PROID order by HVD_PRONOMBRE asc") + If c.RowCount > 0 Then + + + For i = 0 To c.RowCount - 1 + c.Position = i + + + Private c3 As Cursor=Starter.skmt.ExecQuery($"select Ifnull(sum(PE_CANT),0) AS PE_CANT from PEDIDO WHERE PE_PROID ='${c.GetString("HVD_PROID")}' and PE_TIPO NOT IN ('DANADO','FALTANTE','SOBRANTE')"$) + Private resta As String = 0 + + If c3.RowCount > 0 Then + c3.Position = 0 + resta = c3.GetString("PE_CANT") + Else + resta = 0 + End If + If ( c.GetInt("HVD_RECHAZOCANT") - resta) <= 0 Then + + Else + CLV_PICK_CIEGO.Add(CreateListItem(c.GetString("HVD_PROID"), c.GetString("HVD_PRONOMBRE"), c.GetString("PC_CAN"),(c.GetInt("HVD_RECHAZOCANT") - resta)),i) + End If + + + Next + + d = Starter.skmt.ExecQuery("select HVD_PRONOMBRE, IFNULL(SUM(HVD_RECHAZOCANT), 0) AS HVD_RECHAZOCANT, HVD_PROID from HIST_VENTAS WHERE hvd_rechazo <> 2 and HVD_RECHAZOCANT > 0 and HVD_PROID NOT IN (SELECT PC_ID_PROD FROM PICK_CIEGO) GROUP BY HVD_PROID order by HVD_PRONOMBRE asc") + + For i = 0 To d.RowCount - 1 + d.Position = i + + + Private c3 As Cursor=Starter.skmt.ExecQuery($"select Ifnull(sum(PE_CANT),0) AS PE_CANT from PEDIDO WHERE PE_PROID ='${d.GetString("HVD_PROID")}' and PE_TIPO NOT IN ('DANADO','FALTANTE','SOBRANTE')"$) + Private resta As String = 0 + + If c3.RowCount > 0 Then + c3.Position = 0 + resta = c3.GetString("PE_CANT") + Else + resta = 0 + End If + If ( d.GetInt("HVD_RECHAZOCANT") - resta) <= 0 Then + + Else + CLV_PICK_CIEGO.Add(CreateListItem2(d.GetString("HVD_PROID"), d.GetString("HVD_PRONOMBRE"),(d.GetInt("HVD_RECHAZOCANT") - resta)),i) + End If + + + Next + + Else If c.RowCount = 0 Then + d = Starter.skmt.ExecQuery("select HVD_PRONOMBRE, IFNULL(SUM(HVD_RECHAZOCANT), 0) AS HVD_RECHAZOCANT, HVD_PROID from HIST_VENTAS WHERE hvd_rechazo <> 2 and HVD_RECHAZOCANT > 0 GROUP BY HVD_PROID order by HVD_PRONOMBRE asc") +' d=Starter.skmt.ExecQuery($"select CAT_GP_NOMBRE, CAT_GP_ID FROM CAT_GUNAPROD3 WHERE CAT_GP_CLASIF <> 'PROMOS'"$) + For i = 0 To d.RowCount - 1 + d.Position = i + + + Private c3 As Cursor=Starter.skmt.ExecQuery($"select Ifnull(sum(PE_CANT),0) AS PE_CANT from PEDIDO WHERE PE_PROID ='${d.GetString("HVD_PROID")}'and PE_TIPO NOT IN ('DANADO','FALTANTE','SOBRANTE')"$) + Private resta As String = 0 + + If c3.RowCount > 0 Then + c3.Position = 0 + resta = c3.GetString("PE_CANT") + Else + resta = 0 + End If + If ( d.GetInt("HVD_RECHAZOCANT") - resta) <= 0 Then + + Else + CLV_PICK_CIEGO.Add(CreateListItem2(d.GetString("HVD_PROID"), d.GetString("HVD_PRONOMBRE"),(d.GetInt("HVD_RECHAZOCANT") - resta)),i) + End If + + + Next + End If + +End Sub + +'Private Sub connecta_LongClick +' Dim ab As Cursor = Starter.skmt.ExecQuery($"SELECT * from ABONOS where a_enviado is null"$) +' Log(ab.RowCount) +' If ab.RowCount > 0 Then +' For i=0 To ab.RowCount -1 +' ab.Position = i +' +' Dim c58 As Cursor = Starter.skmt.ExecQuery($"SELECT * from HIST_VENTAS"$) +' If c58.RowCount > 0 Then +' c58.Position = 0 +' +' Private fechapre As String = c58.GetString("HVD_FECHA") +' End If +' +' +' Dim cmd As DBCommand +' cmd.Initialize +' cmd.Name = "insert_abono_IZCAREP2" +' cmd.Parameters = Array As Object( ab.GetString("a_usuario"), ab.GetString("a_ruta"), ab.GetString("a_cliente"), ab.GetString("a_abono"), ab.GetString("a_fecha"),ALMACEN,"REPARTO", ab.GetString("TIPO_PAGO"), ab.GetString("CONSECUTIVO"), ab.GetString("NUM_TICKET"), ab.GetString("RUTA_REP"), fechapre) +' reqManager.ExecuteCommand(cmd , $"ins_abonosPendientes_${ab.GetString("a_cliente")}"$) +' Log($"ins_abonosPendientes_${ab.GetString("a_cliente")}"$) +' Next +' End If +' ab.Close +'End Sub + + +''para la carga --- mover a los demas clientes +Sub t8_tick + cmd.Initialize + cmd.Name = "select_conteo_izca" + cmd.Parameters = Array As Object(e_ruta.text, ALMACEN) + reqManager.ExecuteQuery(cmd , 0, "CONTEO_DATOS") + l_carga2.Text = "VALIDANDO" + L_carga.Text = "VALIDANDO" + PB_carga.Progress = 50 + PB_carga2.Progress = 50 + t8.Enabled = False +End Sub + +Private Sub P_carga_Click + +End Sub + +Private Sub B_carga_Click + If L_carga.Text = "LISTO" And l_carga2.Text = "LISTO" Then + P_carga.Visible = False + Else + Dim checagestion As Cursor = Starter.skmt.ExecQuery("SELECT * FROM NOVENTA") + If checagestion.RowCount = 0 Then + P_carga.Visible = False + e_ruta.Text = "" + Starter.skmt.ExecNonQuery("delete from PICK_CIEGO") + Starter.skmt.ExecNonQuery("delete from pedido_cliente") + Starter.skmt.ExecNonQuery("delete from PAGARES") + Starter.skmt.ExecNonQuery("delete from CHECADO_CHECK") + Starter.skmt.ExecNonQuery("delete from CHECKLIST2") + Starter.skmt.ExecNonQuery("delete from pedido") + Starter.skmt.ExecNonQuery("delete from noventa") + Starter.skmt.ExecNonQuery("delete from clie_act") + Starter.skmt.ExecNonQuery("delete from kmt_info") + Starter.skmt.ExecNonQuery("delete from cat_gunaprod") + Starter.skmt.ExecNonQuery("delete from cat_gunaprod3") + Starter.skmt.ExecNonQuery("delete from CAT_DETALLES_PAQ") + Starter.skmt.ExecNonQuery("delete from HIST_VENTAS") + Starter.skmt.ExecNonQuery("delete from REPARTO") + Starter.skmt.ExecNonQuery("DELETE FROM TABULADOR_MONEDAS") + Starter.skmt.ExecNonQuery("DELETE FROM TABULADOR_BILLETES") + Starter.skmt.ExecNonQuery("DELETE FROM RUTAA") + Starter.skmt.ExecNonQuery("DELETE FROM ABONOSP") + Starter.skmt.ExecNonQuery("DELETE FROM ABONOS") + Starter.skmt.ExecNonQuery("DELETE FROM BLOCKENVIO") + B4XPage_Appear + MsgboxAsync("No se cargo bien la informacion, favor de cargar día nuevamente","Atención") + Else + MsgboxAsync("No se cargo bien la informacion, favor de cargar día nuevamente","Atención") + P_carga.Visible = False + End If + End If +End Sub +'fin carga + +' +'Sub Printer1_Connected (Success As Boolean) +'' If Logger Then Log("Printer1_Connected") +' If Success Then +' ToastMessageShow("Impresora conectada", False) +' Starter.skmt.ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?", Array As Object ("MACIMP")) +' Starter.skmt.ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)", Array As Object ("MACIMP",Starter.mac_impresora)) +' LogColor("Impresora conectada", Colors.Green) +'' B_IMP2.Enabled = True +' impresoraConectada = True +' Else +'' Msgbox(Printer1.ConnectedErrorMsg, "Error connecting.") 'ignore +'' ToastMessageShow("Error conectando la impresora", False) +' LogColor("Error conectando la impresora", Colors.Red) +' errorImpresora = errorImpresora + 1 +' If errorImpresora > 1 Then +' Starter.MAC_IMPRESORA = "0" +' errorImpresora = 0 +' End If +' End If +'End Sub +' +'Sub Printer_Connected (Success As Boolean) +' If Success Then +' inventario.Enabled = True +' PASA_IMP = "1" +' Else +' inventario.Enabled = False +' If Msgbox2("", "Printer Error","Reprint","Cancel","",Null) = DialogResponse.POSITIVE Then 'ignore +' StartPrinter +' End If +' End If +'End Sub +'' +'Sub StartPrinter +' Dim PairedDevices As Map +' Dim L1 As List +' Dim resimp As Int +' ToastMessageShow("Printing.....",True) +' PairedDevices.Initialize +' Try +' PairedDevices = cmp20.GetPairedDevices +' Catch +' Msgbox("Getting Paired Devices","Printer Error") 'ignore +' printer.Close +' cmp20.Disconnect +' End Try +' If PairedDevices.Size = 0 Then +' Msgbox("Error Connecting to Printer - Printer Not Found","") 'ignore +' Return +' End If +' If PairedDevices.Size = 1 Then +' Try +' 'FLEOS +' cmp20.ConnectInsecure(btAdmin,PairedDevices.Get(PairedDevices.GetKeyAt(0)),1) +' 'cmp20.Connect(PairedDevices.Get(PairedDevices.GetKeyAt(0))) +' Catch +' Msgbox("Connecting","Printer Error") 'ignore +' printer.Close +' cmp20.Disconnect +' End Try +' Else +' L1.Initialize +' For i = 0 To PairedDevices.Size - 1 +' L1.Add(PairedDevices.GetKeyAt(i)) +' Next +' resimp = InputList(L, "Choose device", -1) 'ignore +' If resimp <> DialogResponse.CANCEL Then +' cmp20.Connect(PairedDevices.Get(L1.Get(resimp))) +' End If +' End If +'End Sub + + +Sub Printer1_Connected (Success As Boolean) +' If Logger Then Log("Printer1_Connected") + If Success Then + ToastMessageShow("Impresora conectada", False) + Starter.skmt.ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?", Array As Object ("MACIMP")) + Starter.skmt.ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)", Array As Object ("MACIMP",Starter.mac_impresora)) +' If logger Then LogColor("Impresora conectada", Colors.Green) +' B_IMP2.Enabled = True + impresoraConectada = True + Else +' Msgbox(Printer1.ConnectedErrorMsg, "Error connecting.") 'ignore +' ToastMessageShow("Error conectando la impresora", False) + LogColor("Error conectando la impresora", Colors.Red) + errorImpresora = errorImpresora + 1 + If errorImpresora > 1 Then + Starter.MAC_IMPRESORA = "0" + errorImpresora = 0 + End If + End If +End Sub + +Sub Printer1_Error + Log("error printer") +End Sub + +Sub Printer_Connected (Success As Boolean) + If Success Then +' B_IMP.Enabled = True + PASA_IMP = "1" + Else +' B_IMP.Enabled = False + If Msgbox2("", "Printer Error","Reprint","Cancel","",Null) = DialogResponse.POSITIVE Then 'ignore + StartPrinter + End If + End If +End Sub + +Sub StartPrinter + Dim PairedDevices As Map + Dim L1 As List + Dim resimp As Int + ToastMessageShow("Printing.....",True) + PairedDevices.Initialize + Try + PairedDevices = cmp20.GetPairedDevices + Catch + Msgbox("Getting Paired Devices","Printer Error") 'ignore + printer.Close + cmp20.Disconnect + End Try + + If PairedDevices.Size = 0 Then + Msgbox("Error Connecting to Printer - Printer Not Found","") 'ignore + Return + End If + + If PairedDevices.Size = 1 Then + Try + cmp20.Connect(PairedDevices.Get(PairedDevices.GetKeyAt(0))) + Catch + Msgbox("Connecting","Printer Error") 'ignore + printer.Close + cmp20.Disconnect + End Try + Else + L1.Initialize + For i = 0 To PairedDevices.Size - 1 + L1.Add(PairedDevices.GetKeyAt(i)) + Next + resimp = InputList(L1, "Choose device", -1) 'ignore + If resimp <> DialogResponse.CANCEL Then + cmp20.Connect(PairedDevices.Get(L1.Get(resimp))) + End If + End If +End Sub + +Private Sub b_imp_inventario_Click +' ProgressDialogShow("Imprimiendo, un momento ...") +' Printer1.DisConnect +' If Not(Printer1.IsConnected) Then +'' Log("Conectando a impresora ...") +' Printer1.Connect +' Private cont As Int = 0 +' Do While Not(impresoraConectada) +' Sleep(1000) +'' Log("++++++ " & cont) +' cont = cont + 1 +' If cont = 2 Then Printer1.Connect 'Tratamos de reconectar +' If cont > 3 Then impresoraConectada = True +' Loop +' Sleep(500) +' impresoraConectada = False +' Else +'' Log("conectando 2") +' Printer1.Connect +' Private cont As Int = 0 +' Do While Not(impresoraConectada) Or Not(Printer1.IsConnected) +' Sleep(1000) +'' Log("****** " & cont) +' cont = cont + 1 +' If cont = 2 Then Printer1.Connect +' If cont > 3 Then impresoraConectada = True +' Loop +' Sleep(500) +' impresoraConectada = False +' End If + + ProgressDialogShow("Imprimiendo, un momento ...") + Printer1.DisConnect + If Not(Printer1.IsConnected) Then +' If logger Then Log("conectando 1") + Printer1.Connect + Private cont As Int = 0 + Do While Not(impresoraConectada) + Sleep(1000) + cont = cont + 1 + If cont = 7 Then Printer1.Connect 'Tratamos de reconectar + If cont > 15 Then impresoraConectada = True + Loop + Sleep(500) + impresoraConectada = False + Else +' If logger Then Log("conectando 2") + Printer1.Connect + Private cont As Int = 0 + Do While Not(impresoraConectada) Or Not(Printer1.IsConnected) + Sleep(1000) + cont = cont + 1 + If cont = 2 Then Printer1.Connect + If cont > 4 Then impresoraConectada = True + Loop + Sleep(500) + impresoraConectada = False + End If + + TAMANO = 0 + ESPACIO = 28 + BLANCO = " " + Dim bmp As Bitmap + Printer1.Justify= 1 + bmp.InitializeResize(File.DirAssets, "inventarios.jpg", 92, 92, True) 'ignore + Dim myimage As AnImage = Printer1.ImageToBWIMage(bmp) + myimage = Printer1.DitherImage2D(myimage, 128) + myimage= Printer1.PackImage(myimage) + Printer1.WriteString(CRLF) ' nudge the printer to show the user something is happening + Printer1.WriteString(CRLF) ' nudge the printer to show the user something is happening + Printer1.WriteString(Printer1.REVERSE) + Printer1.PrintImage(myimage) + Printer1.WriteString(Printer1.UNREVERSE) + Printer1.WriteString(" " & CRLF) + Private c As Cursor = Starter.skmt.ExecQuery("select HVD_PRONOMBRE, IFNULL(SUM(HVD_CANT), 0) AS HVD_CANT, HVD_PROID from HIST_VENTAS WHERE HVD_PRONOMBRE <> 'Cobranza Pendiente' and HVD_PROID <> HVD_CODPROMO GROUP BY HVD_PROID order by HVD_PRONOMBRE asc") + lv_prod_Prin.SingleLineLayout.Label.TextColor = Colors.White + lv_prod_Prin.Clear + Printer1.Justify = 0 + Dim sDate, sTime As String + DateTime.DateFormat = "dd/MM/yyyy" + DateTime.TimeFormat = "HH:mm:ss" + sDate = DateTime.Date(DateTime.Now) + sTime = DateTime.Time(DateTime.Now) + Printer1.WriteString("Fecha: " &sDate & CRLF) + Printer1.WriteString("Hora: " &sTime & CRLF) + Printer1.WriteString("Ruta: " & l_ruta.Text & CRLF) + Printer1.WriteString("Usuario: " & Subs.dameUsuarioDeDB & CRLF) +' Printer1.WriteString("----------INVENTARIO----------" & CRLF) + Printer1.WriteString("--------------------------------" & CRLF) + If c.RowCount > 0 Then + For i = 0 To c.RowCount - 1 + c.Position = i + + Printer1.WriteString("-----------INVENTARIO-----------" & CRLF) + Printer1.WriteString("--------------------------------" & CRLF) + Printer1.WriteString("Cant. Producto" & CRLF) + Printer1.WriteString("------------------------------" & CRLF) + For i=0 To c.RowCount -1 + c.Position=i + + + Printer1.Justify = 0 + Printer1.WriteString( (c.GetString("HVD_CANT"))&"- ") + Printer1.Justify = 0 + Dim firstChar As String = c.GetString("HVD_PRONOMBRE").SubString2(0, 1) ' Obtiene el primer carácter + Dim productoinven As String + + ' Verificar si el primer carácter es un número + If Asc(firstChar) >= Asc("0") And Asc(firstChar) <= Asc("9") Then + ' Es un número - tomar a partir del 4to carácter + productoinven = c.GetString("HVD_PRONOMBRE").SubString(4) + Else +' Es una letra u otro carácter - tomar completo + productoinven = c.GetString("HVD_PRONOMBRE") + End If + +' Log(productoinven) + Printer1.WriteString(productoinven) + Printer1.WriteString(" " & CRLF) + Printer1.WriteString(" " & CRLF) + + + Next + + Next + End If + c.Close + + Dim sumainv As Cursor = Starter.skmt.ExecQuery("SELECT SUM(HVD_CANT) AS CANTIDAD FROM HIST_VENTAS WHERE HVD_CODPROMO <> HVD_PROID") + sumainv.Position = 0 + + Printer1.WriteString("------------------------------" & CRLF) + Printer1.WriteString("Total piezas: " & sumainv.GetString("CANTIDAD")& CRLF) + Printer1.WriteString("------------------------------" & CRLF) + Printer1.Justify = 0 + Printer1.WriteString(" " & CRLF) + Printer1.WriteString(" " & CRLF) + Printer1.WriteString(" " & CRLF) + Printer1.WriteString(" " & CRLF) + Sleep(1000) + Printer1.DisConnect + ProgressDialogHide +End Sub + + +Private Sub b_impresion_rec_Click + Dim totalentrega As Int + Dim totalrechazo As Int + Dim totalpiezas As Int + Dim sDate, sTime As String + c=Starter.skmt.ExecQuery("select USUARIO from usuarioa") + c.Position=0 + usuario = c.GetString("USUARIO") +' DateTime.DateFormat = "MM/dd/yyyy" + DateTime.DateFormat = "dd/MM/yyyy" + DateTime.TimeFormat="HH:mm:ss" + sDate=DateTime.Date(DateTime.Now) + sTime=DateTime.Time(DateTime.Now) + c.Close +' c=Starter.skmt.ExecQuery2("SELECT CAT_VA_VALOR FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION =?", Array As String ("SUCURSAL")) +' c.Position = 0 +' sucursal = c.GetString("CAT_VA_VALOR") +' c.Close + + ProgressDialogShow("Imprimiendo, un momento ...") + Printer1.DisConnect + If Not(Printer1.IsConnected) Then +' Log("Conectando a impresora ...") + Printer1.Connect + Private cont As Int = 0 + Do While Not(impresoraConectada) + Sleep(1000) +' Log("++++++ " & cont) + cont = cont + 1 + If cont = 2 Then Printer1.Connect 'Tratamos de reconectar + If cont > 3 Then impresoraConectada = True + Loop + Sleep(500) + impresoraConectada = False + Else +' Log("conectando 2") + Printer1.Connect + Private cont As Int = 0 + Do While Not(impresoraConectada) Or Not(Printer1.IsConnected) + Sleep(1000) +' Log("****** " & cont) + cont = cont + 1 + If cont = 2 Then Printer1.Connect + If cont > 3 Then impresoraConectada = True + Loop + Sleep(500) + impresoraConectada = False + End If + + TAMANO = 0 + ESPACIO = 28 + BLANCO = " " + + Printer1.WriteString("Izca Distribuciones" & CRLF) + Printer1.WriteString(sDate & " " &sTime & CRLF) + + Printer1.WriteString("------------ENTREGA-----------" & CRLF) + Private c As Cursor = Starter.skmt.ExecQuery("select HVD_PRONOMBRE, IFNULL(SUM(HVD_RECHAZOCANT), 0) AS HVD_RECHAZOCANT, IFNULL(SUM(HVD_CANT), 0) AS HVD_CANT, (IFNULL(SUM(HVD_CANT), 0) - IFNULL(SUM(HVD_RECHAZOCANT), 0)) as total, HVD_PROID from HIST_VENTAS where HVD_PROID <> HVD_CODPROMO GROUP BY HVD_PROID order by HVD_PRONOMBRE asc") + If c.RowCount > 0 Then + For i = 0 To c.RowCount - 1 + c.Position = i + + + Private c3 As Cursor=Starter.skmt.ExecQuery($"select Ifnull(sum(PE_CANT),0) AS PE_CANT from PEDIDO WHERE PE_PROID ='${c.GetString("HVD_PROID")}'"$) + Private resta As String = 0 + + If c3.RowCount > 0 Then + c3.Position = 0 + resta = c3.GetString("PE_CANT") + Else + resta = 0 + End If + Printer1.Justify = 0 + Printer1.WriteString(c.GetString("HVD_PRONOMBRE") & CRLF) + Printer1.Justify = 0 + Printer1.WriteString("TP: "& c.GetInt("HVD_CANT")&" ") + Printer1.Justify = 1 + Printer1.WriteString(" TE: " & (c.GetInt("total") + resta)&" ") + Printer1.Justify = 2 + Printer1.WriteString(" TR: " & (c.GetInt("HVD_RECHAZOCANT") - resta)&" ") + Printer1.Justify = 0 + Printer1.WriteString(" " & CRLF) +' itemText2 = $"${c.GetString("HVD_PRONOMBRE")} ${CRLF} TP: ${(c.GetInt("HVD_CANT"))} TE: ${( c.GetInt("total") + resta)} TR: ${(c.GetInt("HVD_RECHAZOCANT") - resta)}"$ + totalentrega = totalentrega + c.GetInt("total") + resta + totalrechazo = totalrechazo + c.GetInt("HVD_RECHAZOCANT") - resta + totalpiezas = totalpiezas + c.GetInt("HVD_CANT") +' Log(itemText2) + + Next + End If + c.Close + Printer1.WriteString(" " & CRLF) + Printer1.WriteString(" " & CRLF) + Printer1.WriteString(" " & CRLF) + + Printer1.WriteString("Total Piezas: "& totalpiezas & CRLF) + Printer1.WriteString("Total Entrega: "& totalentrega & CRLF) + Printer1.WriteString("Total Rechazo: "& totalrechazo & CRLF) + + + Printer1.WriteString("------------------------------" & CRLF) + Printer1.WriteString("------------------------------" & CRLF) + Printer1.WriteString(" " & CRLF) + Printer1.WriteString(" " & CRLF) + Printer1.WriteString(" " & CRLF) + Sleep(1000) + Printer1.DisConnect + + ProgressDialogHide +End Sub + + + +Private Sub b_terpc_Click + + Dim sDate, sTime As String + DateTime.DateFormat = "dd/MM/yyyy" + DateTime.TimeFormat = "HH:mm:ss" + sDate = DateTime.Date(DateTime.Now) + sTime = DateTime.Time(DateTime.Now) + + Dim consecutivo As Int = 1000 + For i = 0 To CLV_PICK_CIEGO.Size - 1 + ' Retrieve the panel and child views for the current item + Dim itemPanel As B4XView = CLV_PICK_CIEGO.GetPanel(i) + Dim innerPanel As B4XView = itemPanel.GetView(0) + Dim editText As B4XView = innerPanel.GetView(1) + Dim inputText As String = editText.As(EditText).Text + Dim labelcant As B4XView = innerPanel.GetView(2) + Dim cantidadrestar As String = labelcant.As(Label).Text + + ' Check if the input text matches the regex pattern for zeros or if it's empty + If Regex.IsMatch("^[0]+$", inputText) Or inputText = "" Then + inputText = "0" + End If + + ' Retrieve and process the ID label + Dim idLabel As B4XView = innerPanel.GetView(0) + Dim idText As String = idLabel.As(Label).Text + Dim idParts() As String = Regex.Split(CRLF, idText) +' Log(idParts(1)) + f=Starter.skmt.ExecQuery("select RUTAA from RUTAA") + f.Position=0 +' Log(f.GetString("RUTAA")) + a=Starter.skmt.ExecQuery("select ID_ALMACEN from CAT_ALMACEN") + If a.RowCount>0 Then + a.Position=0 + End If + Dim k As Cursor = Starter.skmt.ExecQuery("SELECT HVD_FECHA FROM HIST_VENTAS") + k.Position = 0 + Dim fechatabulador() As String = Regex.Split(" ", k.GetString("HVD_FECHA")) +' Dim fechatabulador2() As String = Regex.Split("-", fechatabulador(0)) + Dim fechatabulador3 As String = fechatabulador(0) + k.Close + If inputText <> "" And inputText <> 0 Then + Log("IMPUT DIFERENTE DE CERO") + Log(idParts(0)) + Log(cantidadrestar) + Log(inputText) + Dim restado As Int = cantidadrestar - inputText + Log(cantidadrestar - inputText) + c = Starter.skmt.ExecQuery2("SELECT * FROM PICK_CIEGO where PC_ID_PROD = ?", Array As String (idParts(0))) + + If c.RowCount = 0 Then + ' Insert data into the database +' Log(f.GetString("RUTAA")) +' Log("entro aqui2") + + Starter.skmt.ExecNonQuery2("INSERT INTO PICK_CIEGO(PC_ID_PROD, PC_NOM_PROD, PC_CANT, PC_ALMACEN, PC_RUTA, PC_FECHA, RESTA) VALUES(?,?,?,?,?,?,?)", Array As String(idParts(0), idParts(1), inputText, a.GetString("ID_ALMACEN"), f.GetString("RUTAA"), fechatabulador3&" "&sTime, restado)) + If restado > 0 And inputText <> 0 Then + + Dim preciocat As Cursor = Starter.skmt.ExecQuery($"select IFNULL(CAT_GP_PRECIO,0) AS CAT_GP_PRECIO from CAT_GUNAPROD WHERE CAT_GP_ID = '${idParts(0)}'"$) + If preciocat.RowCount > 0 Then + preciocat.Position = 0 + Dim preciofull As String = preciocat.GetString("CAT_GP_PRECIO") + End If + preciocat.Close + Log("MAYOR A CERO") + consecutivo = consecutivo + 1 + Dim faltantes As Cursor = Starter.skmt.ExecQuery($"select * from PEDIDO WHERE PE_PROID = '${idParts(0)}' AND PE_TIPO = 'FALTANTE'"$) + If faltantes.RowCount > 0 Then + faltantes.Position = 0 + Starter.skmt.ExecNonQuery($"update PEDIDO set PE_CANT = '${restado}', PE_COSTO_TOT= '${restado}'*'${preciofull}', PE_TIPO = 'FALTANTE' WHERE PE_PROID = '${idParts(0)}' and PE_CLIENTE = '63403' AND CONSECUTIVO = '${faltantes.GetString("CONSECUTIVO")}'"$) + Else + Starter.skmt.ExecNonQuery2("INSERT INTO PEDIDO(PE_PROID,PE_PRONOMBRE,PE_CANT,PE_CLIENTEOR,PE_CLIENTE,PE_COSTOU,PE_COSTO_TOT,PE_CAJAS,PE_BCAJAS,CONSECUTIVO,PE_RUTA, PE_TIPO,PE_CEDIS,PE_FECHA,PE_USUARIO,FECHA_PREV,RUTA_REP,PE_REGALO) VALUES (?,?,?,?,?,?,?,0,0,?,?,?,?,?,?,?,?,?)", Array As String(idParts(0),idParts(1),restado,"",Subs.traeCliente,preciofull,(preciofull*restado),consecutivo,1000,"FALTANTE",Subs.traeAlmacen, sDate & " " & sTime, Subs.traeUsuario,Subs.traefECHAPREV, Subs.traeRutaReparto,0)) + End If + Else If restado < 0 And inputText <> 0 Then + + Dim preciocat As Cursor = Starter.skmt.ExecQuery($"select IFNULL(CAT_GP_PRECIO,0) AS CAT_GP_PRECIO from CAT_GUNAPROD WHERE CAT_GP_ID = '${idParts(0)}'"$) + If preciocat.RowCount > 0 Then + preciocat.Position = 0 + Dim preciofull As String = preciocat.GetString("CAT_GP_PRECIO") + End If + preciocat.Close + Log("MENOR A CERO") + consecutivo = consecutivo + 1 + Dim faltantes As Cursor = Starter.skmt.ExecQuery($"select * from PEDIDO WHERE PE_PROID = '${idParts(0)}' AND PE_TIPO = 'FALTANTE'"$) + If faltantes.RowCount > 0 Then + faltantes.Position = 0 + Starter.skmt.ExecNonQuery($"update PEDIDO set PE_CANT = '${(-1*restado)}', PE_COSTO_TOT= ${(-1*restado)}*${preciofull}, PE_TIPO = 'SOBRANTE' WHERE PE_PROID = '${idParts(0)}' and PE_CLIENTE = '63403' AND CONSECUTIVO = '${faltantes.GetString("CONSECUTIVO")}'"$) + Else + Starter.skmt.ExecNonQuery2("INSERT INTO PEDIDO(PE_PROID,PE_PRONOMBRE,PE_CANT,PE_CLIENTEOR,PE_CLIENTE,PE_COSTOU,PE_COSTO_TOT,PE_CAJAS,PE_BCAJAS,CONSECUTIVO,PE_RUTA, PE_TIPO,PE_CEDIS,PE_FECHA,PE_USUARIO,FECHA_PREV,RUTA_REP,PE_REGALO) VALUES (?,?,?,?,?,?,?,0,0,?,?,?,?,?,?,?,?,?)", Array As String(idParts(0),idParts(1),(-1*restado),"",Subs.traeCliente,preciofull,(-1*(preciofull*restado)),consecutivo,1000,"SOBRANTE",Subs.traeAlmacen, sDate & " " & sTime, Subs.traeUsuario,Subs.traefECHAPREV, Subs.traeRutaReparto,0)) + End If + End If + Else +' Log(f.GetString("RUTAA")) +' Log("entro aqui") + Dim restadoanterior As Cursor = Starter.skmt.ExecQuery($"select RESTA from PICK_CIEGO WHERE PC_ID_PROD = '${idParts(0)}'"$) + restadoanterior.Position = 0 + +' Starter.skmt.ExecNonQuery2("Update PICK_CIEGO set PC_CANT = ?, RESTA = ? WHERE PC_ID_PROD = ?" , Array As String(inputText ,restado,idParts(0))) '' HACER DENTRO DEL IF + If restadoanterior.GetInt("RESTA") > 0 And restadoanterior.GetInt("RESTA") <> restado Then + + + Dim faltantes As Cursor = Starter.skmt.ExecQuery($"select * from PEDIDO WHERE PE_PROID = '${idParts(0)}' AND PE_TIPO = 'FALTANTE'"$) + + If faltantes.RowCount > 0 Then + faltantes.Position = 0 + Dim preciocat As Cursor = Starter.skmt.ExecQuery($"select IFNULL(CAT_GP_PRECIO,0) AS CAT_GP_PRECIO from CAT_GUNAPROD WHERE CAT_GP_ID = '${idParts(0)}'"$) + If preciocat.RowCount > 0 Then + preciocat.Position = 0 + Dim preciofull As String = preciocat.GetString("CAT_GP_PRECIO") + End If + preciocat.Close + + Log("MAYOR A CERO UPDATE") + Starter.skmt.ExecNonQuery2("Update PICK_CIEGO set PC_CANT = ?, RESTA = ? WHERE PC_ID_PROD = ?" , Array As String(inputText ,restado,idParts(0))) '' HACER DENTRO DEL IF + If restado > 0 Then + Log("AQUI ES FALTANTE") +' Log($"update PEDIDO set PE_CANT = IFNULL(PE_CANT,0)+(1*'${restado}'), PE_COSTO_TOT= ((IFNULL(PE_CANT,0)+(1*'${restado}'))*'${preciofull}'), PE_TIPO = 'FALTANTE' WHERE PE_PROID = '${idParts(0)}' and PE_CLIENTE = '63403' AND CONSECUTIVO = '${faltantes.GetString("CONSECUTIVO")}'"$) + Starter.skmt.ExecNonQuery($"update PEDIDO set PE_CANT = '${restado}', PE_COSTO_TOT= '${restado}'*'${preciofull}', PE_TIPO = 'FALTANTE' WHERE PE_PROID = '${idParts(0)}' and PE_CLIENTE = '63403' AND CONSECUTIVO = '${faltantes.GetString("CONSECUTIVO")}'"$) + Else If restado < 0 Then + Log("AQUI ES SOBRANTE") +' Log($"update PEDIDO set PE_CANT = '${(-1*restado)}', PE_COSTO_TOT= ${(-1*restado)}*${preciofull}, PE_TIPO = 'SOBRANTE' WHERE PE_PROID = '${idParts(0)}' and PE_CLIENTE = '63403' AND CONSECUTIVO = '${faltantes.GetString("CONSECUTIVO")}'"$) + Starter.skmt.ExecNonQuery($"update PEDIDO set PE_CANT = '${(-1*restado)}', PE_COSTO_TOT= ${(-1*restado)}*${preciofull}, PE_TIPO = 'SOBRANTE' WHERE PE_PROID = '${idParts(0)}' and PE_CLIENTE = '63403' AND CONSECUTIVO = '${faltantes.GetString("CONSECUTIVO")}'"$) + Else If restado = 0 Then + Log("AQUI ES SOBRANTE") + Starter.skmt.ExecNonQuery($"delete from PEDIDO where PE_PROID = '${idParts(0)}' and PE_CLIENTE = '63403' AND CONSECUTIVO = '${faltantes.GetString("CONSECUTIVO")}'"$) + + End If + + End If + Else If restadoanterior.GetInt("RESTA") < 0 And restadoanterior.GetInt("RESTA") <> restado Then + Log("es sobrante") + Dim sobrantes As Cursor = Starter.skmt.ExecQuery($"select * from PEDIDO WHERE PE_PROID = '${idParts(0)}' AND PE_TIPO = 'SOBRANTE'"$) + If sobrantes.RowCount > 0 Then + sobrantes.Position = 0 + + Dim preciocat As Cursor = Starter.skmt.ExecQuery($"select IFNULL(CAT_GP_PRECIO,0) AS CAT_GP_PRECIO from CAT_GUNAPROD WHERE CAT_GP_ID = '${idParts(0)}'"$) + If preciocat.RowCount > 0 Then + preciocat.Position = 0 + Dim preciofull As String = preciocat.GetString("CAT_GP_PRECIO") + End If + preciocat.Close + + Log("MENOR A CERO UPDATE") + Starter.skmt.ExecNonQuery2("Update PICK_CIEGO set PC_CANT = ?, RESTA = ? WHERE PC_ID_PROD = ?" , Array As String(inputText ,restado,idParts(0))) '' HACER DENTRO DEL IF + If restado > 0 Then +' Log("AQUI NO ES SOBRANTE") +' Log($"update PEDIDO set PE_CANT = IFNULL(PE_CANT,0)+(1*'${restado}'), PE_COSTO_TOT= ((IFNULL(PE_CANT,0)+(1*'${restado}'))*'${preciofull}'), PE_TIPO = 'FALTANTE' WHERE PE_PROID = '${idParts(0)}' and PE_CLIENTE = '63403' AND CONSECUTIVO = '${sobrantes.GetString("CONSECUTIVO")}'"$) + Starter.skmt.ExecNonQuery($"update PEDIDO set PE_CANT = '${restado}', PE_COSTO_TOT= '${restado}'*'${preciofull}', PE_TIPO = 'FALTANTE' WHERE PE_PROID = '${idParts(0)}' and PE_CLIENTE = '63403' AND CONSECUTIVO = '${sobrantes.GetString("CONSECUTIVO")}'"$) + Else If restado < 0 Then +' Log("AQUI ES SOBRANTE") +' Log($"update PEDIDO set PE_CANT = IFNULL(PE_CANT,0)+(1*'${(-1*restado)}'), PE_COSTO_TOT= ((IFNULL(PE_CANT,0)+(1*'${(-1*restado)}'))*'${preciofull}'), PE_TIPO = 'SOBRANTE' WHERE PE_PROID = '${idParts(0)}' and PE_CLIENTE = '63403' AND CONSECUTIVO = '${sobrantes.GetString("CONSECUTIVO")}'"$) + Starter.skmt.ExecNonQuery($"update PEDIDO set PE_CANT = '${-1*restado}', PE_COSTO_TOT= '${-1*restado}'*'${preciofull}', PE_TIPO = 'SOBRANTE' WHERE PE_PROID = '${idParts(0)}' and PE_CLIENTE = '63403' AND CONSECUTIVO = '${sobrantes.GetString("CONSECUTIVO")}'"$) + Else If restado = 0 Then + Log("a eliminar") + Starter.skmt.ExecNonQuery($"delete from PEDIDO where PE_PROID = '${idParts(0)}' and PE_CLIENTE = '63403' AND CONSECUTIVO = '${sobrantes.GetString("CONSECUTIVO")}'"$) + '' FALTAN LOS CEROS QUITAR DE PEDIDO Y DEL PICKCIEGO + End If + End If + Else If restadoanterior.GetInt("RESTA") = 0 And restadoanterior.GetInt("RESTA") <> restado Then + Starter.skmt.ExecNonQuery2("Update PICK_CIEGO set PC_CANT = ?, RESTA = ? WHERE PC_ID_PROD = ?" , Array As String(inputText ,restado,idParts(0))) '' HACER DENTRO DEL IF + If restado > 0 And inputText <> 0 Then + + Dim preciocat As Cursor = Starter.skmt.ExecQuery($"select IFNULL(CAT_GP_PRECIO,0) AS CAT_GP_PRECIO from CAT_GUNAPROD WHERE CAT_GP_ID = '${idParts(0)}'"$) + If preciocat.RowCount > 0 Then + preciocat.Position = 0 + Dim preciofull As String = preciocat.GetString("CAT_GP_PRECIO") + End If + preciocat.Close + Log("MAYOR A CERO") + consecutivo = consecutivo + 1 + Dim faltantes As Cursor = Starter.skmt.ExecQuery($"select * from PEDIDO WHERE PE_PROID = '${idParts(0)}' AND PE_TIPO = 'FALTANTE'"$) + If faltantes.RowCount > 0 Then + faltantes.Position = 0 + Starter.skmt.ExecNonQuery($"update PEDIDO set PE_CANT = '${restado}', PE_COSTO_TOT= '${restado}'*'${preciofull}', PE_TIPO = 'FALTANTE' WHERE PE_PROID = '${idParts(0)}' and PE_CLIENTE = '63403' AND CONSECUTIVO = '${faltantes.GetString("CONSECUTIVO")}'"$) + Else + Starter.skmt.ExecNonQuery2("INSERT INTO PEDIDO(PE_PROID,PE_PRONOMBRE,PE_CANT,PE_CLIENTEOR,PE_CLIENTE,PE_COSTOU,PE_COSTO_TOT,PE_CAJAS,PE_BCAJAS,CONSECUTIVO,PE_RUTA, PE_TIPO,PE_CEDIS,PE_FECHA,PE_USUARIO,FECHA_PREV,RUTA_REP,PE_REGALO) VALUES (?,?,?,?,?,?,?,0,0,?,?,?,?,?,?,?,?,?)", Array As String(idParts(0),idParts(1),restado,"",Subs.traeCliente,preciofull,(preciofull*restado),consecutivo,1000,"FALTANTE",Subs.traeAlmacen, sDate & " " & sTime, Subs.traeUsuario,Subs.traefECHAPREV, Subs.traeRutaReparto,0)) + End If + Else If restado < 0 And inputText <> 0 Then + + Dim preciocat As Cursor = Starter.skmt.ExecQuery($"select IFNULL(CAT_GP_PRECIO,0) AS CAT_GP_PRECIO from CAT_GUNAPROD WHERE CAT_GP_ID = '${idParts(0)}'"$) + If preciocat.RowCount > 0 Then + preciocat.Position = 0 + Dim preciofull As String = preciocat.GetString("CAT_GP_PRECIO") + End If + preciocat.Close + Log("MENOR A CERO") + consecutivo = consecutivo + 1 + Dim faltantes As Cursor = Starter.skmt.ExecQuery($"select * from PEDIDO WHERE PE_PROID = '${idParts(0)}' AND PE_TIPO = 'FALTANTE'"$) + If faltantes.RowCount > 0 Then + faltantes.Position = 0 + Starter.skmt.ExecNonQuery($"update PEDIDO set PE_CANT = '${(-1*restado)}', PE_COSTO_TOT= ${(-1*restado)}*${preciofull}, PE_TIPO = 'SOBRANTE' WHERE PE_PROID = '${idParts(0)}' and PE_CLIENTE = '63403' AND CONSECUTIVO = '${faltantes.GetString("CONSECUTIVO")}'"$) + Else + Starter.skmt.ExecNonQuery2("INSERT INTO PEDIDO(PE_PROID,PE_PRONOMBRE,PE_CANT,PE_CLIENTEOR,PE_CLIENTE,PE_COSTOU,PE_COSTO_TOT,PE_CAJAS,PE_BCAJAS,CONSECUTIVO,PE_RUTA, PE_TIPO,PE_CEDIS,PE_FECHA,PE_USUARIO,FECHA_PREV,RUTA_REP,PE_REGALO) VALUES (?,?,?,?,?,?,?,0,0,?,?,?,?,?,?,?,?,?)", Array As String(idParts(0),idParts(1),(-1*restado),"",Subs.traeCliente,preciofull,(-1*(preciofull*restado)),consecutivo,1000,"SOBRANTE",Subs.traeAlmacen, sDate & " " & sTime, Subs.traeUsuario,Subs.traefECHAPREV, Subs.traeRutaReparto,0)) + End If + End If + Else If restadoanterior.GetInt("RESTA") = 0 And restado = 0 Then + Starter.skmt.ExecNonQuery($"delete from PEDIDO where PE_PROID = '${idParts(0)}' and PE_CLIENTE = '63403' AND PE_TIPO NOT IN ('DANADO') "$) + End If + End If + Else If inputText = "" Or inputText = 0 Then + Log("IMPUT IGUAL DE CERO") + Log(idParts(0)) + Log(cantidadrestar) + Log(inputText) + Dim restado As Int = cantidadrestar - inputText + Log(cantidadrestar - inputText) + Dim faltantes As Cursor = Starter.skmt.ExecQuery2("SELECT * FROM PICK_CIEGO where PC_ID_PROD = ?", Array As String (idParts(0))) + If faltantes.RowCount > 0 Then + faltantes.Position = 0 + Starter.skmt.ExecNonQuery($"delete from PICK_CIEGO where PC_ID_PROD = '${idParts(0)}'"$) + End If +' Dim sobrantes As Cursor = Starter.skmt.ExecQuery($"select * from PEDIDO WHERE PE_PROID = '${idParts(0)}' AND PE_TIPO in ('SOBRANTE','FALTANTE')"$) + Dim sobrantes As Cursor = Starter.skmt.ExecQuery($"select * from PEDIDO WHERE PE_PROID = '${idParts(0)}' and PE_CLIENTE = '63403'"$) + If sobrantes.RowCount > 0 Then + sobrantes.Position = 0 + Starter.skmt.ExecNonQuery($"delete from PEDIDO where PE_PROID = '${idParts(0)}' and PE_CLIENTE = '63403' AND CONSECUTIVO = '${sobrantes.GetString("CONSECUTIVO")}'"$) + End If + + Dim preciocat As Cursor = Starter.skmt.ExecQuery($"select IFNULL(CAT_GP_PRECIO,0) AS CAT_GP_PRECIO from CAT_GUNAPROD WHERE CAT_GP_ID = '${idParts(0)}'"$) + If preciocat.RowCount > 0 Then + preciocat.Position = 0 + Dim preciofull As String = preciocat.GetString("CAT_GP_PRECIO") + End If + preciocat.Close + Starter.skmt.ExecNonQuery2("INSERT INTO PEDIDO(PE_PROID,PE_PRONOMBRE,PE_CANT,PE_CLIENTEOR,PE_CLIENTE,PE_COSTOU,PE_COSTO_TOT,PE_CAJAS,PE_BCAJAS,CONSECUTIVO,PE_RUTA, PE_TIPO,PE_CEDIS,PE_FECHA,PE_USUARIO,FECHA_PREV,RUTA_REP,PE_REGALO) VALUES (?,?,?,?,?,?,?,0,0,?,?,?,?,?,?,?,?,?)", Array As String(idParts(0),idParts(1),restado,"",Subs.traeCliente,preciofull,(preciofull*restado),consecutivo,1000,"FALTANTE",Subs.traeAlmacen, sDate & " " & sTime, Subs.traeUsuario,Subs.traefECHAPREV, Subs.traeRutaReparto,0)) + + End If + f.Close + a.Close + Log("Processed item " & i) + Next + + P_CIEGO.Visible = False + B4XPages.ShowPage("Cliente") +End Sub + +Private Sub B_PC_ENV_Click + Dim sDate, sTime As String + DateTime.DateFormat = "dd/MM/yyyy" + DateTime.TimeFormat = "HH:mm:ss" + sDate = DateTime.Date(DateTime.Now) + sTime = DateTime.Time(DateTime.Now) + + + For i = 0 To CLV_PICK_CIEGO.Size - 1 + ' Retrieve the panel and child views for the current item + Dim itemPanel As B4XView = CLV_PICK_CIEGO.GetPanel(i) + Dim innerPanel As B4XView = itemPanel.GetView(0) + Dim editText As B4XView = innerPanel.GetView(1) + Dim inputText As String = editText.As(EditText).Text + Dim labelcant As B4XView = innerPanel.GetView(2) + Dim cantidadrestar As String = labelcant.As(Label).Text + + ' Check if the input text matches the regex pattern for zeros or if it's empty + If Regex.IsMatch("^[0]+$", inputText) Or inputText = "" Then + inputText = "0" + End If + + ' Retrieve and process the ID label + Dim idLabel As B4XView = innerPanel.GetView(0) + Dim idText As String = idLabel.As(Label).Text + Dim idParts() As String = Regex.Split(CRLF, idText) +' Log(idParts(1)) + f=Starter.skmt.ExecQuery("select RUTAA from RUTAA") + f.Position=0 +' Log(f.GetString("RUTAA")) + a=Starter.skmt.ExecQuery("select ID_ALMACEN from CAT_ALMACEN") + If a.RowCount>0 Then + a.Position=0 + End If + Dim k As Cursor = Starter.skmt.ExecQuery("SELECT HVD_FECHA FROM HIST_VENTAS") + k.Position = 0 + Dim fechatabulador() As String = Regex.Split(" ", k.GetString("HVD_FECHA")) +' Dim fechatabulador2() As String = Regex.Split("-", fechatabulador(0)) + Dim fechatabulador3 As String = fechatabulador(0) + k.Close + If inputText <> "" Then + Log(idParts(0)) + Log(cantidadrestar) + Log(inputText) + Dim restado As Int = cantidadrestar - inputText + Log(cantidadrestar - inputText) + c = Starter.skmt.ExecQuery2("SELECT * FROM PICK_CIEGO where PC_ID_PROD = ?", Array As String (idParts(0))) + If c.RowCount = 0 Then + ' Insert data into the database +' Log(f.GetString("RUTAA")) +' Log("entro aqui2") + Starter.skmt.ExecNonQuery2("INSERT INTO PICK_CIEGO(PC_ID_PROD, PC_NOM_PROD, PC_CANT, PC_ALMACEN, PC_RUTA, PC_FECHA, RESTA) VALUES(?,?,?,?,?,?,?)", Array As String(idParts(0), idParts(1), inputText, a.GetString("ID_ALMACEN"), f.GetString("RUTAA"), fechatabulador3&" "&sTime, restado)) + + Else +' Log(f.GetString("RUTAA")) +' Log("entro aqui") + Starter.skmt.ExecNonQuery2("Update PICK_CIEGO set PC_CANT = ?, RESTA = ? WHERE PC_ID_PROD = ?" , Array As String(inputText ,restado,idParts(0))) + End If + + End If + f.Close + a.Close + Log("Processed item " & i) + Next + +End Sub + +Private Sub P_CIEGO_Click + +End Sub + +Sub CreateListItem(Id_prod As String, Prod As String,cant As String,cantreal As String) As Panel + Dim pa As B4XView = xui.CreatePanel("") + pa.SetLayoutAnimated(0, 0, 0, 1, 10) + pa.LoadLayout("PANEL_PICK_CIEGO") + pa.Height = 55dip + pa.Width = 298dip + 'pa.Width = clv_orden.GetBase.Width + L_PICK_CIEGO.Text = Id_prod & CRLF & Prod + L_PICK_CIEGO.TextSize = 12 + L_PICK_CIEGO.Gravity = Bit.Or(Gravity.CENTER_VERTICAL, Gravity.CENTER_HORIZONTAL) + ET_PICK_CIEGO.Text = cant + L_CANT_PCIK.Text = cantreal + 'cxc.Id_prod = mostrar3 + 'Log(pa.Width) + Return pa +End Sub + +Sub CreateListItem2(Id_prod As String, Prod As String,cantreal As String) As Panel + Dim pa As B4XView = xui.CreatePanel("") + pa.SetLayoutAnimated(0, 0, 0, 1, 10) + pa.LoadLayout("PANEL_PICK_CIEGO") + pa.Height = 55dip + pa.Width = 298dip + 'pa.Width = clv_orden.GetBase.Width + L_PICK_CIEGO.Text = Id_prod & CRLF & Prod + L_PICK_CIEGO.TextSize = 12 + L_PICK_CIEGO.Gravity = Bit.Or(Gravity.CENTER_VERTICAL, Gravity.CENTER_HORIZONTAL) + L_CANT_PCIK.Text = cantreal + 'cxc.Id_prod = mostrar3 + 'Log(pa.Width) + Return pa +End Sub \ No newline at end of file diff --git a/B4A/C_Productos.bas b/B4A/C_Productos.bas new file mode 100644 index 0000000..32d994e --- /dev/null +++ b/B4A/C_Productos.bas @@ -0,0 +1,1124 @@ +B4A=true +Group=Default Group +ModulesStructureVersion=1 +Type=Class +Version=12.2 +@EndOfDesignText@ +Sub Class_Globals + Private Root As B4XView 'ignore + Private xui As XUI 'ignore + Dim g As GPS + Dim clie_id As String + Dim sDate,sTime As String + Dim usuario As String + Dim c As Cursor +' Dim ruta As String + Dim b_regresar As Button + Dim ListView1 As ListView + Dim L_CANT As Label + Dim L_TOTAL As Label + Dim b_borra As Button + Dim Existe As String + Dim result As String + ' Dim lat_gps, lon_gps As String + Dim cuantos As String + Dim nombre_prod As String + Dim cuantos_pedido As String + Private Titulo As Label + Private P1 As Panel + Private lv2 As ListView + Private p_principal As Panel + Dim clv_pedido As CustomListView + Private p_prods As Panel + Private l_prodX As Label + Private l_pCant As Label + Private et_pCant As EditText + Dim bmp As Bitmap + Dim etCantHasFocus As Boolean = False + Dim totalProds As Int = 0 + Dim totalCompra As Int = 0 + Dim prodsMap As Map + Dim reconstruirPedido As Boolean = False + Dim promoABorrar As String + Private b_guardar As Button + Private b_prodMas As Button + Private b_prodMenos As Button + Private b_prodMenosC As Button + Private l_pCantC As Label + Private et_pCantC As EditText + Private b_prodMasC As Button + Private p_botMasMenC As Panel + Private p_botMasMen As Panel + Private b_revversar As Button + Private Label2 As Label + Private Label3 As Label + Private l_piezas As Label + Private l_cajas As Label + + Private l_cajas As Label + Private l_piezas 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 + B4XPages.SetTitle(Me, "Productos") + 'load the layout to Root + g.Initialize("GPS") + Root.LoadLayout("detalleVenta") + b_borra.Visible = False + Titulo.Text = "Pedido" +End Sub + +'You can see the list of page related events in the B4XPagesManager object. The event name is B4XPage. + +Sub B4XPage_Appear + Label2.Visible = False + Label3.Visible = False + L_TOTAL.Visible = False + L_CANT.Visible = False + b_revversar.Visible = False + Subs.centraPanel(p_principal, Root.Width) +' b_guardar.Visible = False + +' Titulo.Left = Round(p_principal.Width/2)-(Titulo.Width/2) + L_CANT.Text ="" + L_TOTAL.Text="" + c=Starter.skmt.ExecQuery("select count(*) as EXISTE from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) and HVD_RECHAZO = 0 ") + C.Position=0 + Existe = C.GetString("EXISTE") + C.Close +' c=Starter.skmt.ExecQuery("select distinct hist_ventas.hvd_num_registro, HIST_VENTAS.HVD_CLIENTE, HIST_VENTAS.HVD_PRONOMBRE, HIST_VENTAS.HVD_PROID, HIST_VENTAS.HVD_CANT, HIST_VENTAS2.HVD_CANT as HVD_CANT2, HIST_VENTAS.HVD_COSTO_TOT, HIST_VENTAS.HVD_CODPROMO from HIST_VENTAS inner join HIST_VENTAS2 on HIST_VENTAS.HVD_PROID = HIST_VENTAS2.HVD_PROID and HIST_VENTAS.HVD_CLIENTE = HIST_VENTAS2.HVD_CLIENTE WHERE HIST_VENTAS.HVD_CLIENTE IN (Select CUENTA from cuentaa) and HIST_VENTAS.HVD_RECHAZO = 0 order by HIST_VENTAS.HVD_CODPROMO desc, HIST_VENTAS.HVD_PRONOMBRE asc") + + + c=Starter.skmt.ExecQuery("select * from HIST_VENTAS WHERE hvd_rechazo <> 2 and HVD_RECHAZOCANT > 0 order by HVD_CODPROMO desc, HVD_PRONOMBRE asc") +' Private c2 As Cursor=Starter.skmt.ExecQuery("select from PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA)") + + ListView1.Clear + clv_pedido.Clear + Subs.SetDivider(ListView1, Colors.LightGray, 2) + clv_pedido.GetBase.SetLayoutAnimated(100, 0dip, 60dip, Root.Width - 50, Root.Height * 0.62) 'Cambiamos el tamaño y posición de la lista de productos + clv_pedido.Base_Resize(clv_pedido.GetBase.Width, clv_pedido.GetBase.Height) 'Cambiamos el tamaño del panel interno de la lista para que ajuste al nuevo tamaño. +' Log("RC1:"&c.RowCount) + If c.RowCount>0 Then +' Log("Usamos HV") + + For i=0 To c.RowCount -1 + c.Position=i +' Log(c.GetString("HVD_PROID")) + If c.GetString("BCAJAS") = "0" Then +' Log("AQUI1") +' If c.GetString("HVD_CANT") <> c.GetString("HVD_RECHAZOCANT") Then +' 'Traemos cantidad de hvd2 +' Private oc As Cursor = Starter.skmt.ExecQuery($"select HVD_CANT from HIST_VENTAS2 WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) and hvd_proid = '${c.GetString("HVD_PROID")}' and HVD_NUM_REGISTRO = '${c.GetString("HVD_NUM_REGISTRO")}'"$) +' Private cant2 As Int = 0 +' If oc.RowCount > 0 Then +' oc.Position = 0 +' cant2 = oc.GetString("HVD_CANT") +' End If +' oc.Close + Dim label1 As Label + label1 = ListView1.TwoLinesLayout.Label + label1.TextSize = 12 + label1.TextColor = Colors.black + Dim Label2 As Label + Label2 = ListView1.TwoLinesLayout.SecondLabel + Label2.TextSize = 12 + Label2.TextColor = Colors.black + Private bgColor, textColor As Int + bgColor = Colors.RGB(177, 200, 249)'azul + textColor = Colors.black + If c.GetString("HVD_CODPROMO") <> Subs.traeAlmacen Then +' bgColor = Colors.RGB(255, 212, 163) 'naranja + bgColor = Colors.White + End If +' Log($"Agregamos prod a lista1 | ${c.GetString("HVD_CANT")} - ${c.GetString("HVD_CANT2")}"$) 'HVD_CANT2 es la original de la orden. +' ListView1.AddTwoLines(c.GetString("HVD_PRONOMBRE"),"Cantidad #"& c.GetString("HVD_CANT")& " SubTotal $"& c.GetString("HVD_COSTO_TOT")) + + 'aqui selecciono lo que esta en pedido del cliente actual + Private c2 As Cursor=Starter.skmt.ExecQuery($"select IFNULL(PE_CANT,0) AS PE_CANT, CONSECUTIVO, PE_BCAJAS from PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND PE_PROID ='${c.GetString("HVD_PROID")}' AND CONSECUTIVO = '${c.GetString("CONSECUTIVO")}'"$) + + 'aqui veo cuanto se ha vendido del rechazo del cliente original en el hist_ventas + Private d5 As Cursor = Starter.skmt.ExecQuery($"SELECT IFNULL(Sum(PE_CANT),0) AS PE_CANT FROM PEDIDO WHERE PE_CLIENTEOR = '${c.GetString("HVD_CLIENTE")}' AND PE_PROID = '${c.GetString("HVD_PROID")}' AND CONSECUTIVO = '${c.GetString("CONSECUTIVO")}'"$) + d5.Position = 0 + Private restacant As String = d5.GetString("PE_CANT") + d5.Close + + If (c.GetString("HVD_RECHAZOCANT")-restacant) <> "0" Then + If c2.RowCount > 0 Then + c2.Position = 0 + + Private c3 As Cursor=Starter.skmt.ExecQuery($"select Ifnull(sum(PE_CANT),0) AS PE_CANT from PEDIDO WHERE PE_CLIENTE NOT IN (SELECT CUENTA FROM CUENTAA) AND PE_CLIENTEOR = '${c.GetString("HVD_CLIENTE")}' AND PE_PROID ='${c.GetString("HVD_PROID")}' AND CONSECUTIVO = '${c.GetString("CONSECUTIVO")}'"$) + Private resta As String = 0 + + If c3.RowCount > 0 Then +' For i = 0 To c3.RowCount - 1 + Log(1) + c3.Position = 0 + resta = c3.GetString("PE_CANT") +' Next + Else + Log(2) + resta = 0 + End If + + Dim preciocat As Cursor = Starter.skmt.ExecQuery($"select IFNULL(CAT_GP_PRECIO,0) AS CAT_GP_PRECIO from CAT_GUNAPROD WHERE CAT_GP_ID = '${c.GetString("HVD_PROID")}'"$) + If preciocat.RowCount > 0 Then + preciocat.Position = 0 + Dim preciofull As String = preciocat.GetString("CAT_GP_PRECIO") + End If + preciocat.Close + Log(c.GetString("HVD_CODPROMO")) + Log(Subs.traeAlmacen) + + + If c.GetString("HVD_CODPROMO") = Subs.traeAlmacen Then + clv_pedido.Add(CreateListItem(c.GetString("HVD_PRONOMBRE"), Subs.traePrecio2(c.GetString("HVD_PROID"), c.GetString("HVD_CODPROMO"),c.GetString("CONSECUTIVO")), c2.GetString("PE_CANT"), c.GetString("HVD_RECHAZOCANT")-c2.GetString("PE_CANT") -resta, clv_pedido.AsView.Width, 118dip, bmp, c.GetString("HVD_PROID"), bgColor, textColor, c.GetString("HVD_CODPROMO"),c.GetString("HVD_CLIENTE"),c.GetString("CONSECUTIVO")),i) + Else + Log("aqui arriba") + clv_pedido.Add(CreateListItem(c.GetString("HVD_PRONOMBRE"), preciofull, c2.GetString("PE_CANT"), c.GetString("HVD_RECHAZOCANT")-c2.GetString("PE_CANT") -resta, clv_pedido.AsView.Width, 118dip, bmp, c.GetString("HVD_PROID"), bgColor, textColor, c.GetString("HVD_CODPROMO"),c.GetString("HVD_CLIENTE"),c.GetString("CONSECUTIVO")),i) + End If +' clv_pedido.Add(CreateListItem(c.GetString("HVD_PRONOMBRE"), Subs.traePrecio2(c.GetString("HVD_PROID"), c.GetString("HVD_CODPROMO"),c.GetString("CONSECUTIVO")), c2.GetString("PE_CANT"), c.GetString("HVD_RECHAZOCANT")-c2.GetString("PE_CANT") -resta, clv_pedido.AsView.Width, 118dip, bmp, c.GetString("HVD_PROID"), bgColor, textColor, c.GetString("HVD_CODPROMO"),c.GetString("HVD_CLIENTE"),c.GetString("CONSECUTIVO")),i) +' Log("ENTRE A PEDIDO") + Else iF c2.RowCount = 0 Then + Private c3 As Cursor=Starter.skmt.ExecQuery($"select Ifnull(sum(PE_CANT),0) AS PE_CANT from PEDIDO WHERE PE_CLIENTE NOT IN (SELECT CUENTA FROM CUENTAA) AND PE_CLIENTEOR = '${c.GetString("HVD_CLIENTE")}' AND PE_PROID ='${c.GetString("HVD_PROID")}' AND CONSECUTIVO = '${c.GetString("CONSECUTIVO")}'"$) + Private resta As String = 0 + + If c3.RowCount > 0 Then +' For i = 0 To c3.RowCount - 1 + Log(3) + c3.Position = 0 + resta = c3.GetString("PE_CANT") +' Next + Else + Log(4) + resta = 0 + + End If + + Dim preciocat As Cursor = Starter.skmt.ExecQuery($"select IFNULL(CAT_GP_PRECIO,0) AS CAT_GP_PRECIO from CAT_GUNAPROD WHERE CAT_GP_ID = '${c.GetString("HVD_PROID")}'"$) + If preciocat.RowCount > 0 Then + preciocat.Position = 0 + Dim preciofull As String = preciocat.GetString("CAT_GP_PRECIO") + End If + preciocat.Close + Log(c.GetString("HVD_CODPROMO")) + Log(Subs.traeAlmacen) + + If c.GetString("HVD_CODPROMO") = Subs.traeAlmacen Then + clv_pedido.Add(CreateListItem(c.GetString("HVD_PRONOMBRE"), Subs.traePrecio2(c.GetString("HVD_PROID"), c.GetString("HVD_CODPROMO"),c.GetString("CONSECUTIVO")), 0, c.GetString("HVD_RECHAZOCANT") -resta, clv_pedido.AsView.Width, 118dip, bmp, c.GetString("HVD_PROID"), bgColor, textColor, c.GetString("HVD_CODPROMO"),c.GetString("HVD_CLIENTE"),c.GetString("CONSECUTIVO")),i) + Else + Log("aqui abajo") + clv_pedido.Add(CreateListItem(c.GetString("HVD_PRONOMBRE"), preciofull, 0, c.GetString("HVD_RECHAZOCANT") -resta, clv_pedido.AsView.Width, 118dip, bmp, c.GetString("HVD_PROID"), bgColor, textColor, c.GetString("HVD_CODPROMO"),c.GetString("HVD_CLIENTE"),c.GetString("CONSECUTIVO")),i) + + End If +' clv_pedido.Add(CreateListItem(c.GetString("HVD_PRONOMBRE"), Subs.traePrecio2(c.GetString("HVD_PROID"), c.GetString("HVD_CODPROMO"),c.GetString("CONSECUTIVO")), 0, c.GetString("HVD_RECHAZOCANT") -resta, clv_pedido.AsView.Width, 118dip, bmp, c.GetString("HVD_PROID"), bgColor, textColor, c.GetString("HVD_CODPROMO"),c.GetString("HVD_CLIENTE"),c.GetString("CONSECUTIVO")),i) +' Log("ENTRE A HIST") + End If + End If + c2.Close +' Log(c.GetString("HVD_CODPROMO")) +' End If + Else If c.GetString("BCAJAS") = "1" Then + Log("AQUI1") +' If c.GetString("HVD_CANT") <> c.GetString("HVD_RECHAZOCANT") Then + 'Traemos cantidad de hvd2 + Private oc As Cursor = Starter.skmt.ExecQuery($"select HVD_CANT from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) and hvd_proid = '${c.GetString("HVD_PROID")}' and HVD_NUM_REGISTRO = '${c.GetString("HVD_NUM_REGISTRO")}'"$) + Private cant2 As Int = 0 + If oc.RowCount > 0 Then + oc.Position = 0 + cant2 = oc.GetString("HVD_CANT") + End If + oc.Close + Dim label1 As Label + label1 = ListView1.TwoLinesLayout.Label + label1.TextSize = 12 + label1.TextColor = Colors.black + Dim Label2 As Label + Label2 = ListView1.TwoLinesLayout.SecondLabel + Label2.TextSize = 12 + Label2.TextColor = Colors.black + Private bgColor, textColor As Int + bgColor = Colors.RGB(177, 200, 249)'azul + textColor = Colors.black + If c.GetString("HVD_CODPROMO") <> Subs.traeAlmacen Then +' bgColor = Colors.RGB(255, 212, 163) 'naranja + bgColor = Colors.White + End If +' Log($"Agregamos prod a lista1 | ${c.GetString("HVD_CANT")} - ${c.GetString("HVD_CANT2")}"$) 'HVD_CANT2 es la original de la orden. +' ListView1.AddTwoLines(c.GetString("HVD_PRONOMBRE"),"Cantidad #"& c.GetString("HVD_CANT")& " SubTotal $"& c.GetString("HVD_COSTO_TOT")) + + Private c2 As Cursor=Starter.skmt.ExecQuery($"select * from PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"$) + + Private d5 As Cursor = Starter.skmt.ExecQuery($"SELECT IFNULL(Sum(PE_CANT),0) AS PE_CANT FROM PEDIDO WHERE PE_CLIENTEOR = '${c.GetString("HVD_CLIENTE")}' AND PE_PROID = '${c.GetString("HVD_PROID")}' AND CONSECUTIVO = '${c.GetString("CONSECUTIVO")}'"$) + d5.Position = 0 + Private restacant As String = d5.GetString("PE_CANT") + d5.Close + + If (c.GetString("HVD_RECHAZOCANT")-restacant) <> "0" Then + If c2.RowCount > 0 Then + c2.Position = 0 + Log("SI ENTRO A PONER CAJAS BIEN ") + Log(c2.GetString("PE_CAJAS")) + Private c3 As Cursor=Starter.skmt.ExecQuery($"select Ifnull(sum(PE_CANT),0) AS PE_CANT from PEDIDO WHERE PE_CLIENTE NOT IN (SELECT CUENTA FROM CUENTAA) AND PE_CLIENTEOR = '${c.GetString("HVD_CLIENTE")}' AND PE_PROID ='${c.GetString("HVD_PROID")}' AND CONSECUTIVO = '${c.GetString("CONSECUTIVO")}'"$) + Private resta As String = 0 + + If c3.RowCount > 0 Then +' For i = 0 To c3.RowCount - 1 + Log(5) + c3.Position = 0 + resta = c3.GetString("PE_CANT") +' Next + Else + Log(6) + resta = 0 + End If + Private puc As String = c.GetString("HVD_COSTO_TOT")/c.GetString("CANTC") + LogColor((restacant/Subs.traeConversion(c.GetString("HVD_PROID"))),Colors.Green) + clv_pedido.Add(CreateListItem2(c.GetString("HVD_PRONOMBRE"), puc, (restacant/Subs.traeConversion(c.GetString("HVD_PROID"))), ((c.GetString("HVD_RECHAZOCANT")- restacant-resta)/Subs.traeConversion(c.GetString("HVD_PROID"))), clv_pedido.AsView.Width, 118dip, bmp, c.GetString("HVD_PROID"), bgColor, textColor, c.GetString("HVD_CODPROMO"),c.GetString("HVD_CLIENTE"),c.GetString("CONSECUTIVO")),i) + Else + Log("NO ENTRO A PONER CAJAS BIEN ") + Private c3 As Cursor=Starter.skmt.ExecQuery($"select Ifnull(sum(PE_CANT),0) AS PE_CANT from PEDIDO WHERE PE_CLIENTE NOT IN (SELECT CUENTA FROM CUENTAA) AND PE_CLIENTEOR = '${c.GetString("HVD_CLIENTE")}' AND PE_PROID ='${c.GetString("HVD_PROID")}' AND CONSECUTIVO = '${c.GetString("CONSECUTIVO")}'"$) + Private resta As String = 0 + + If c3.RowCount > 0 Then +' For i = 0 To c3.RowCount - 1 + Log(7) + c3.Position = 0 + resta = c3.GetString("PE_CANT") +' Next + Else + Log(1) + resta = 0 + End If + LogColor(resta,Colors.Green) + Private puc As String = c.GetString("HVD_COSTO_TOT")/c.GetString("CANTC") +' clv_pedido.Add(CreateListItem(c.GetString("HVD_PRONOMBRE"), Subs.traePrecio(c.GetString("HVD_PROID"), c.GetString("HVD_CODPROMO")), 0, c.GetString("HVD_RECHAZOCANT") , clv_pedido.AsView.Width, 118dip, bmp, c.GetString("HVD_PROID"), bgColor, textColor, c.GetString("HVD_CODPROMO"),c.GetString("HVD_CLIENTE")),i) + clv_pedido.Add(CreateListItem2(c.GetString("HVD_PRONOMBRE"), puc, 0, ((c.GetString("HVD_RECHAZOCANT")-resta)/Subs.traeConversion(c.GetString("HVD_PROID"))), clv_pedido.AsView.Width, 118dip, bmp, c.GetString("HVD_PROID"), bgColor, textColor, c.GetString("HVD_CODPROMO"),c.GetString("HVD_CLIENTE"),c.GetString("CONSECUTIVO")),i) + End If + End If + c2.Close +' End If + End If + Next + +' cuentaProds("") + End If + +' Private vc As Cursor = Starter.skmt.ExecQuery($"select HVD_PROID, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT, CAT_GP_PRECIO from HIST_VENTAS LEFT JOIN CAT_GUNAPROD ON CAT_GP_ID = HVD_PROID where BCAJAS = 0 and HVD_CODPROMO ='${Subs.traealmacen}' and HVD_CLIENTE in (select cuenta from cuentaa)"$) +' +' Private Cuenta As String = 0 +' Private arti As String = 0 +' If vc.RowCount > 0 Then +' For i = 0 To vc.RowCount - 1 +' vc.Position = i +'' Log(vc.GetString("HVD_CANT")&","&vc.GetString("HVD_RECHAZOCANT")) +' arti = arti + (vc.GetString("HVD_CANT") - vc.GetString("HVD_RECHAZOCANT")) +' Cuenta = Cuenta + ((vc.GetString("HVD_CANT") - vc.GetString("HVD_RECHAZOCANT"))*vc.GetString("CAT_GP_PRECIO")) +' Next +' End If +'' Log(Cuenta) +' +' Private vc2 As Cursor = Starter.skmt.ExecQuery("select HVD_PROID, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT, CANTC,HVD_COSTO_TOT from HIST_VENTAS where HVD_CLIENTE in (select cuenta from cuentaa) AND BCAJAS = 1") +' Private Cuenta1 As String = 0 +' Private arti1 As String = 0 +' If vc2.RowCount > 0 Then +' For i = 0 To vc2.RowCount - 1 +' vc2.Position = i +' Dim preu As Float = NumberFormat2(vc2.GetString("HVD_COSTO_TOT")/vc2.GetString("CANTC"),0,2,2,False) +' Private vc3 As Cursor = Starter.skmt.ExecQuery($"select PRECIOCONVER, CONVERSION from CAT_GUNAPROD where CAT_GP_ID = '${vc2.GetString("HVD_PROID")}'"$) +' If vc3.RowCount > 0 Then +' vc3.Position = 0 +' Cuenta1 = Cuenta1 + ((vc2.GetString("CANTC")-(vc2.GetString("HVD_RECHAZOCANT")/vc3.GetString("CONVERSION")))*preu) +' arti1 = arti1 + (vc2.GetString("HVD_CANT") - vc2.GetString("HVD_RECHAZOCANT")) +' End If +' Next +' End If +'' Log(Cuenta1) +' +' Private vc4 As Cursor = Starter.skmt.ExecQuery($"select HVD_PROID, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT, CANTC,HVD_COSTO_TOT, HVD_RECHAZO, HVD_CODPROMO from HIST_VENTAS where HVD_CLIENTE in (select cuenta from cuentaa) AND BCAJAS = 0 and HVD_CODPROMO <> '${Subs.traeAlmacen}'"$) +' Private Cuenta2 As String = 0 +' Private arti2 As String = 0 +' If vc4.RowCount > 0 Then +' +' For i = 0 To vc4.RowCount - 1 +' vc4.Position = i +' If vc4.GetString("HVD_PROID") <> vc4.GetString("HVD_CODPROMO") Then +' If vc4.GetString("HVD_RECHAZO") = 0 Then +' Cuenta2 = vc4.GetString("HVD_COSTO_TOT") +' arti2 = vc4.GetString("HVD_CANT") +' Else +' Private vc5 As Cursor = Starter.skmt.ExecQuery($"select CAT_GP_PRECIO from CAT_GUNAPROD where CAT_GP_ID = '${vc4.GetString("HVD_PROID")}'"$) +' If vc5.RowCount > 0 Then +' vc5.Position= 0 +'' Log(vc5.GetString("CAT_GP_PRECIO")) +' Cuenta2 = Cuenta2 +((vc4.GetString("HVD_CANT")- vc4.GetString("HVD_RECHAZOCANT"))*vc5.GetString("CAT_GP_PRECIO")) +' arti2 = arti2 +(vc4.GetString("HVD_CANT")- vc4.GetString("HVD_RECHAZOCANT")) +' End If +' End If +' End If +' +' Next +' End If +'' Log(Cuenta) +' +' L_TOTAL.Text = Cuenta + Cuenta1 + Cuenta2 +' L_CANT.Text = arti + arti1 +arti2 + + +End Sub + +Sub GPS_LocationChanged (Location1 As Location) +' lat_gps=Location1.ConvertToSeconds(Location1.Latitude) +' lon_gps=Location1.ConvertToSeconds(Location1.Longitude) +End Sub + +Sub b_regresar_Click + B4XPages.ShowPage("Cliente") +End Sub + +Private Sub B4XPage_CloseRequest As ResumableSub + ' BACK key pressed + ' I want to capture the key here so I return True + B4XPages.ShowPage("Cliente") + ' Returning False signals the system to handle the key + Return False +End Sub + +Sub ListView1_ItemLongClick (Position As Int, Value As Object) 'BORRAR +' nombre_prod = Value +' result = Msgbox2("Seguro que desa borrar este articulo?","Borrar Articulo", "Si", "", "No",LoadBitmap(File.DirAssets,"alert2.png")) 'ignore +' If result = DialogResponse.POSITIVE Then +' c=Starter.skmt.ExecQuery2("select HVD_CANT FROM hist_ventas where HVD_pronombre = ? and HVD_cliente in (Select CUENTA from cuentaa) and HVD_RECHAZO = 0 ", Array As String(Value)) +' c.Position=0 +' If c.GetString("HVD_CANT") > 1 Then +' b_regresar.Visible =False +' b_borra.Visible=False +' P1.Visible =True +' cuantos_pedido = c.GetString("HVD_CANT") +' lv2.Clear +' lv2.SingleLineLayout.Label.TextColor = Colors.Black +' For i=1 To c.GetString("HVD_CANT") +' lv2.AddSingleLine(i) +' Next +' Else +' ' skmt.ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen + ? where cat_gp_nombre = ?", Array As Object(c.GetString("HVD_CANT"),Value)) +' c.Close +' Starter.skmt.ExecNonQuery2("insert into reparto(REP_CLIENTE, REP_PRONOMBRE, REP_CANT, REP_COSTO_TOT,REP_FECHA, REP_CLI_ORIG) select HVD_CLIENTE, HVD_PRONOMBRE, HVD_CANT, HVD_COSTO_TOT, HVD_FECHA, HVD_CLIENTE from hist_ventas where HVD_PRONOMBRE = ? and HVD_cliente in (Select CUENTA from cuentaa) ", Array As String(Value)) +' c=Starter.skmt.ExecQuery2("select HVD_CANT FROM hist_ventas where HVD_pronombre = ? and HVD_cliente in (Select CUENTA from cuentaa) and HVD_RECHAZO = 0 ", Array As String(Value)) +' c.Position=0 +' Starter.skmt.ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen + ? where cat_gp_nombre = ?", Array As Object(c.GetString("HVD_CANT"),Value)) +' c.Close +' +' 'skmt.ExecNonQuery2("delete FROM HIST_VENTAS WHERE HVD_PRONOMBRE = ? and HVD_cliente in (Select CUENTA from cuentaa) ", Array As String(Value)) +' ' se cambia por update para no borrarlo y tener todos los registros. +' Starter.skmt.ExecNonQuery2("update HIST_VENTAS set HVD_RECHAZO = 1 WHERE HVD_PRONOMBRE = ? and HVD_cliente in (Select CUENTA from cuentaa) ", Array As String(Value)) + ' +' DateTime.DateFormat = "MM/dd/yyyy" +' sDate=DateTime.Date(DateTime.Now) +' sTime=DateTime.Time(DateTime.Now) +' c=Starter.skmt.ExecQuery("Select CUENTA from cuentaa") +' c.Position=0 +' clie_id = c.GetString("CUENTA") +' c=Starter.skmt.ExecQuery("select USUARIO from usuarioa") +' c.Position=0 +' usuario = c.GetString("USUARIO") +' 'quitar esta mamada no es ahi +' Starter.skmt.ExecNonQuery("UPDATE kmt_info set gestion = 3 where CAT_CL_CODIGO In (select cuenta from cuentaa)") +' B4XPage_Appear +' End If +' +' End If +End Sub + +Sub lv2_ItemClick (Position As Int, Value As Object) 'BORRAR +' ' If Value = "Todos" Then +' ' cuantos = c.GetString("HVD_CANT") +' 'Else +' cuantos = Value +' ' End If +' If cuantos = cuantos_pedido Then +' 'Starter.skmt.ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen + ? where cat_gp_nombre = ?", Array As Object(c.GetString("HVD_CANT"),nombre_prod)) +' c.Close +' Starter.skmt.ExecNonQuery2("insert into reparto(REP_CLIENTE, REP_PRONOMBRE, REP_CANT, REP_COSTO_TOT, REP_FECHA, REP_CLI_ORIG) select HVD_CLIENTE, HVD_PRONOMBRE, HVD_CANT, HVD_COSTO_TOT, HVD_FECHA, HVD_CLIENTE from hist_ventas where HVD_PRONOMBRE = ? and HVD_cliente in (Select CUENTA from cuentaa) ", Array As String(nombre_prod)) +' c=Starter.skmt.ExecQuery2("select HVD_CANT FROM hist_ventas where HVD_pronombre = ? and HVD_cliente in (Select CUENTA from cuentaa) and HVD_RECHAZO = 0 ", Array As String(nombre_prod)) +' c.Position=0 +' Starter.skmt.ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen + ? where cat_gp_nombre = ?", Array As Object(c.GetString("HVD_CANT"),nombre_prod)) +' c.Close +' 'Starter.skmt.ExecNonQuery2("delete FROM HIST_VENTAS WHERE HVD_PRONOMBRE = ? and HVD_cliente in (Select CUENTA from cuentaa) ", Array As String(Value)) +' ' se cambia por update para no borrarlo y tener todos los registros. +' Starter.skmt.ExecNonQuery2("update HIST_VENTAS set HVD_RECHAZO = 1 WHERE HVD_PRONOMBRE = ? and HVD_cliente in (Select CUENTA from cuentaa) and HVD_RECHAZO = 0 ", Array As String(Value)) +' DateTime.DateFormat = "MM/dd/yyyy" +' sDate=DateTime.Date(DateTime.Now) +' sTime=DateTime.Time(DateTime.Now) +' c=Starter.skmt.ExecQuery("Select CUENTA from cuentaa") +' c.Position=0 +' clie_id = c.GetString("CUENTA") +' c=Starter.skmt.ExecQuery("select USUARIO from usuarioa") +' c.Position=0 +' usuario = c.GetString("USUARIO") +' 'quitar esta m*m*d* no es ahi +' Starter.skmt.ExecNonQuery("UPDATE kmt_info set gestion = 3 where CAT_CL_CODIGO In (select cuenta from cuentaa)") +' Starter.skmt.ExecNonQuery2("update hist_Ventas set HVD_RECHAZO = 1, HVD_PARCIAL = 0, HVD_CANT = HVD_CANT - ? where HVD_pronombre = ? and HVD_cliente in (Select CUENTA from cuentaa) and HVD_RECHAZO = 0 ", Array As Object(cuantos, nombre_prod)) +' b_regresar.Visible =True +' b_borra.Visible=True +' P1.Visible =False +' B4XPage_Appear +' Else +' ' skmt.ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen + ? where cat_gp_nombre = ?", Array As Object(cuantos,nombre_prod)) +' c.Close + ' +' 'modificar tambien esto +' 'Modificaciones para que solo quite una parte. +' Starter.skmt.ExecNonQuery2("insert into reparto(REP_CLIENTE, REP_PRONOMBRE, REP_CANT, REP_COSTO_TOT, REP_FECHA, REP_CLI_ORIG) select HVD_CLIENTE, HVD_PRONOMBRE, ?, ? * (HVD_COSTO_TOT/?), HVD_FECHA, HVD_CLIENTE from hist_ventas where HVD_PRONOMBRE = ? and HVD_cliente in (Select CUENTA from cuentaa) ", Array As Object(cuantos,cuantos,cuantos_pedido, nombre_prod)) +' Starter.skmt.ExecNonQuery2("insert into hist_ventas(HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT, HVD_FECHA, HVD_CODPROMO, HVD_PROID,HVD_NUM_TICKET, HVD_NUM_REGISTRO, HVD_RECHAZO, HVD_ESTATUS, HVD_PARCIAL) select HVD_CLIENTE,HVD_PRONOMBRE,?,HVD_COSTO_TOT, HVD_FECHA, HVD_CODPROMO, HVD_PROID,HVD_NUM_TICKET, HVD_NUM_REGISTRO, 1, HVD_ESTATUS, 1 from hist_ventas where HVD_PRONOMBRE = ? and HVD_cliente in (Select CUENTA from cuentaa) ", Array As Object(cuantos, nombre_prod)) +' Starter.skmt.ExecNonQuery2("update hist_Ventas set HVD_RECHAZO = 0, HVD_PARCIAL = 1, HVD_CANT = HVD_CANT - ? where HVD_pronombre = ? and HVD_cliente in (Select CUENTA from cuentaa) and HVD_RECHAZO = 0 ", Array As Object(cuantos, nombre_prod)) +' Starter.skmt.ExecNonQuery2("update hist_Ventas set HVD_COSTO_TOT = HVD_CANT * (HVD_COSTO_TOT/?) where HVD_pronombre = ? and HVD_cliente in (Select CUENTA from cuentaa) and HVD_RECHAZO = 0 ", Array As Object(cuantos_pedido, nombre_prod)) +' Starter.skmt.ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen + ? where cat_gp_nombre = ?", Array As Object(cuantos,nombre_prod)) +' 'crear nueva tabla para que guarde el resto. + '' skmt.ExecNonQuery2("delete FROM HIST_VENTAS WHERE HVD_PRONOMBRE = ? and HVD_cliente in (Select CUENTA from cuentaa) ", Array As String(Value)) +' DateTime.DateFormat = "MM/dd/yyyy" +' sDate=DateTime.Date(DateTime.Now) +' sTime=DateTime.Time(DateTime.Now) +' c=Starter.skmt.ExecQuery("Select CUENTA from cuentaa") +' c.Position=0 +' clie_id = c.GetString("CUENTA") +' c=Starter.skmt.ExecQuery("select USUARIO from usuarioa") +' c.Position=0 +' usuario = c.GetString("USUARIO") +' Starter.skmt.ExecNonQuery("UPDATE kmt_info set gestion = 3 where CAT_CL_CODIGO In (select cuenta from cuentaa)") +' B4XPage_Appear +' b_regresar.Visible =True +' b_borra.Visible=True +' P1.Visible =False +' End If +End Sub + +'**************************************************************************** +'***************** PARA EL MAS/MENOS ************************************* +'**************************************************************************** + +Sub CreateListItem(Text As String, precioU As String, inv As Int, inv2 As Int, Width As Int, Height As Int, img As Bitmap, prodId As String, bc As Int, tc As Int, promo As String, cliente_original As String,consecutivo As Int) As Panel + Dim p As B4XView = xui.CreatePanel("") + Private cs As CSBuilder + cs.Initialize + p.SetLayoutAnimated(0, 0, 0, Width, Height) + p.LoadLayout("prodItem2") + p_prods.Color = bc + l_prodX.TextColor = tc + precioU = $"$1.2{precioU}"$ + l_prodX.Text = Text&CRLF&"Cant: " & inv2 & " $" & precioU + If promo <> "1" And precioU = 0 Then + l_prodX.Text = cs.Color(Colors.RGB(123,0,0)).append(Text&CRLF&"Cant: " & inv2 & " $" & precioU).PopAll + End If + l_prodX.Tag = $"ID: ${prodId}${CRLF}${Text}${CRLF}Precio: $$1.2{precioU}${CRLF}Inv: ${inv} pzs"$ +' l_pCant.Text = 0 +' Log("PRECIO " & Round2(precioU,2)&"| INV "&inv&"| ID "&prodId&"| PROMO "&promo&"| INV2? "&inv2&"| CLIENTE OR NONONO YA NO VA Y UN ESPACIO POR FAVOR "&cliente_original) + l_pCant.Tag = Round2(precioU.Replace(",",""),2)&"|"&inv&"|"&prodId&"|"&promo&"|"&inv2&"|"&cliente_original&"|"&consecutivo + et_pCant.Tag = Round2(precioU.Replace(",",""),2)&"|"&inv&"|"&prodId&"|"&promo&"|"&inv2&"|"&cliente_original&"|"&consecutivo + p_prods.Tag = l_pCant.tag +' Log($"Ponemos la cant en ${inv}"$) + l_pCant.Text = inv +' et_pCant.Text = inv +' et_pCant.BringToFront + + l_pCant.BringToFront + et_pCant.SendToBack + p_botMasMenC.Visible = False + l_cajas.Visible = False +' i_prod.Bitmap = img + Return p +End Sub + +Sub CreateListItem2(Text As String, precioU As String, inv As Int, inv2 As Int, Width As Int, Height As Int, img As Bitmap, prodId As String, bc As Int, tc As Int, promo As String, cliente_original As String,consecutivo As Int) As Panel + Dim p As B4XView = xui.CreatePanel("") + Private cs As CSBuilder + cs.Initialize + p.SetLayoutAnimated(0, 0, 0, Width, Height) + p.LoadLayout("prodItem2") + p_prods.Color = bc + l_prodX.TextColor = tc + precioU = $"$1.2{precioU}"$ + l_prodX.Text = Text&CRLF&"Cant: " & inv2 & " $" & precioU + If promo <> "1" And precioU = 0 Then + l_prodX.Text = cs.Color(Colors.RGB(123,0,0)).append(Text&CRLF&"Cant: " & inv2 & " $" & precioU).PopAll + End If + + Log(inv&" inventario 1") + Log(inv2&" inventario 2") + l_prodX.Tag = $"ID: ${prodId}${CRLF}${Text}${CRLF}Precio: $$1.2{precioU}${CRLF}Inv: ${inv} pzs"$ +' l_pCant.Text = 0 + l_pCantC.Tag = Round2(precioU.Replace(",",""),2)&"|"&inv&"|"&prodId&"|"&promo&"|"&inv2&"|"&cliente_original&"|"&consecutivo + et_pCantC.Tag = Round2(precioU.Replace(",",""),2)&"|"&inv&"|"&prodId&"|"&promo&"|"&inv2&"|"&cliente_original&"|"&consecutivo + p_prods.Tag = l_pCantC.tag +' Log($"Ponemos la cant en ${inv}"$) + l_pCantC.Text = NumberFormat2(inv,0,0,0,False) +' et_pCant.Text = inv +' et_pCant.BringToFront + + l_pCantC.BringToFront + et_pCantC.SendToBack + p_botMasMen.Visible = False + l_piezas.Visible = False +' i_prod.Bitmap = img + Return p +End Sub + +Sub b_prodMenos_Click + etCantHasFocus = False + Log("etCantHasFocus=" & etCantHasFocus) + LogColor("b_prodMenos_Click", Colors.Magenta) + Dim index As Int = clv_pedido.GetItemFromView(Sender) + Dim pnl0 As B4XView = clv_pedido.GetPanel(index) + Dim pnl As B4XView = pnl0.GetView(0) + Dim laCant As B4XView = pnl.GetView(2).GetView(3) +' Log(pnl.GetView(2).GetView(0) & "|" & pnl.GetView(2).GetView(1) & "|" & pnl.GetView(2).GetView(2)) + Dim esteTag As List = Regex.Split("\|", laCant.Tag) + Log("LC_TEXT:"&laCant.Text&"|PROMO:"&esteTag.Get(3)&"|LC_TAG:"&laCant.Tag&"|ET:"&esteTag) + + Private minimoadesc As String + Dim minimos As Cursor = Starter.skmt.ExecQuery2("SELECT * FROM CAT_GUNAPROD3 WHERE CAT_GP_ID = ?", Array As String(esteTag.Get(2))) + If minimos.RowCount > 0 Then + minimos.Position = 0 + minimoadesc = minimos.GetString("CAT_DP_CANT_MIN_VENTA") + Else + minimoadesc = "1" + End If + minimos.Close + '*'${minimoadesc}') + minimoadesc = "1" + If laCant.Text > 0 Then +' If esteTag.Get(3) <> Subs.traeAlmacen Then 'Si es PROMO entonces ... +' Private c2 As Cursor =Starter.skmt.ExecQuery($"select HVD_RECHAZO FROM HIST_VENTAS WHERE HVD_PROID = '${esteTag.Get(2)}' AND HVD_CLIENTE IN (Select CUENTA from cuentaa)"$) +' c2.Position = 0 +' If c2.GetString("HVD_RECHAZO") = "0" Then +' +' +' Log("ES PROMO") +' result = Msgbox2("Si se modifica una promoción, la promoción se rompe y solo quedarán los productos sueltos, ¿seguro que desea continuar?","Modificar Promoción", "Si", "", "No",LoadBitmap(File.DirAssets,"alert2.png")) 'ignore +' If result = DialogResponse.POSITIVE Then 'Quitamos esta promo +' prodsMap.Remove(esteTag.Get(3)) +'' c=Starter.skmt.ExecQuery($"select HVD_CODPROMO FROM HIST_VENTAS WHERE HVD_CODPROMO = '${esteTag.Get(2)}' AND HVD_cliente IN (Select CUENTA from cuentaa)"$) +'' For i = 0 To c.RowCount -1 +'' c.Position = i +' LogColor(esteTag.Get(3),Colors.Blue) +' Starter.skmt.ExecNonQuery($"update HIST_VENTAS set HVD_RECHAZO = 1, HVD_RECHAZOCANT = HVD_RECHAZOCANT + 1 WHERE HVD_CODPROMO = '${esteTag.Get(3)}' and HVD_CLIENTE = '${esteTag.Get(5)}'"$) +' Starter.skmt.ExecNonQuery($"update HIST_VENTAS set HVD_RECHAZO = 2, HVD_RECHAZOCANT = HVD_RECHAZOCANT + 1 WHERE HVD_PROID = '${esteTag.Get(3)}' and HVD_CODPROMO = '${esteTag.Get(3)}' and HVD_CLIENTE in (Select CUENTA from cuentaa)"$) +'' Starter.skmt.ExecNonQuery($"update HIST_VENTAS set HVD_CODPROMO = '${Subs.traeAlmacen}' WHERE HVD_cliente in (Select CUENTA from cuentaa) AND HVD_CODPROMO = '${esteTag.Get(3)}'"$) +'' Next +' c.Close +' LogColor(prodsMap, Colors.red) +' reconstruirPedido = True +' promoABorrar = esteTag.Get(3) +' B4XPage_Appear +' End If +' Else +' If laCant.Text = "" Then laCant.Text = 0 +' laCant.Text = $"$1.0{laCant.Text-1}"$ +' If laCant.Text < 0 Then laCant.Text = 0 +' Log("NO ES promo") +' Starter.skmt.ExecNonQuery($"update HIST_VENTAS set HVD_RECHAZO = 1, HVD_RECHAZOCANT = IFNULL(HVD_RECHAZOCANT,0) + 1 WHERE HVD_PROID = '${esteTag.Get(2)}' and HVD_cliente in (Select CUENTA from cuentaa)"$) +' Starter.skmt.ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen + 1 where cat_gp_id = ?", Array As Object(esteTag.Get(2))) +' B4XPage_Appear +' End If +' Else + If laCant.Text = "" Then laCant.Text = 0 + laCant.Text = $"$1.0{laCant.Text-(1*minimoadesc)}"$ + If laCant.Text < 0 Then laCant.Text = 0 + Log("NO ES promo") +' Starter.skmt.ExecNonQuery($"update HIST_VENTAS set HVD_RECHAZO = 1, HVD_RECHAZOCANT = IFNULL(HVD_RECHAZOCANT,0) + 1 WHERE HVD_PROID = '${esteTag.Get(2)}' and HVD_cliente = '${esteTag.Get(5)}'"$) +' Starter.skmt.ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen + 1 where cat_gp_id = ?", Array As Object(esteTag.Get(2))) +' Starter.skmt.ExecNonQuery2("update PEDIDO set cat_gp_almacen = cat_gp_almacen + 1 where cat_gp_id = ?", Array As Object(esteTag.Get(2))) + + Private c3 As Cursor = Starter.skmt.ExecQuery2("SELECT PE_CANT FROM PEDIDO WHERE PE_PROID = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND CONSECUTIVO = ? ", Array As String(esteTag.Get(2), esteTag.Get(6))) + If c3.RowCount > 0 Then + c3.Position = 0 + If c3.GetString("PE_CANT")> minimoadesc Then + Private c2 As Cursor = Starter.skmt.ExecQuery2("SELECT * FROM CAT_GUNAPROD WHERE CAT_GP_ID = ?", Array As String(esteTag.Get(2))) + If c2.RowCount > 0 Then + c2.Position = 0 +' Starter.skmt.ExecNonQuery($"update HIST_VENTAS set HVD_RECHAZO = 1, HVD_RECHAZOCANT = HVD_RECHAZOCANT - 1 WHERE HVD_PROID = '${esteTag.Get(2)}' and HVD_cliente = '${esteTag.Get(5)}'"$) + Starter.skmt.ExecNonQuery($"update PEDIDO set PE_CANT = IFNULL(PE_CANT,0)-(1*'${minimoadesc}'), PE_COSTO_TOT= ((IFNULL(PE_CANT,0) -(1*'${minimoadesc}'))*'${c2.GetString("CAT_GP_PRECIO")}') WHERE PE_PROID = '${esteTag.Get(2)}' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '${esteTag.Get(6)}'"$) + End If + Else If c3.GetString("PE_CANT") = minimoadesc Then + Private c2 As Cursor = Starter.skmt.ExecQuery2("SELECT * FROM CAT_GUNAPROD WHERE CAT_GP_ID = ?", Array As String(esteTag.Get(2))) + If c2.RowCount > 0 Then + c2.Position = 0 +' Starter.skmt.ExecNonQuery($"update HIST_VENTAS set HVD_RECHAZO = 1, HVD_RECHAZOCANT = HVD_RECHAZOCANT - 1 WHERE HVD_PROID = '${esteTag.Get(2)}' and HVD_cliente = '${esteTag.Get(5)}'"$) +' Starter.skmt.ExecNonQuery($"update PEDIDO set PE_CANT = IFNULL(PE_CANT,0)-1, PE_COSTO_TOT= ((IFNULL(PE_CANT,0) -1)*'${c2.GetString("CAT_GP_PRECIO")}') WHERE PE_PROID_PROID = '${esteTag.Get(2)}' and PE_CLIENTE in (Select CUENTA from cuentaa)"$) + Starter.skmt.ExecNonQuery($"delete from PEDIDO where PE_PROID = '${esteTag.Get(2)}' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '${esteTag.Get(6)}'"$) + End If + End If + + + + End If + B4XPage_Appear +'' End If + End If + Dim preciou As Float = esteTag.Get(0)/esteTag.Get(1) + Log("PU: " & preciou) +' LogColor("estamos aqui mmenos " & laCant.Text& " , " & (preciou * laCant.Text),Colors.Green ) +' If L_CANT.Text - 1 >= 0 Then +' L_CANT.Text = L_CANT.Text - 1 +' End If +' b_guardar.Visible = True +' Subs.prodRechazo(esteTag.Get(5), esteTag.Get(2)) +' Private cym As Map = Subs.traemosCantYMonto(clv_pedido) +' L_CANT.Text = cym.Get("cantidad") +' L_TOTAL.Text = Round2(cym.Get("monto"), 2) +' cuentaProds("-") +End Sub + +Sub b_prodMas_Click + etCantHasFocus = False + Dim sDate, sTime As String + DateTime.DateFormat = "dd/MM/yyyy" + DateTime.TimeFormat = "HH:mm:ss" + sDate = DateTime.Date(DateTime.Now) + sTime = DateTime.Time(DateTime.Now) +' Log("etCantHasFocus=" & etCantHasFocus) + LogColor("b_prodMas_Click", Colors.Magenta) + Dim index As Int = clv_pedido.GetItemFromView(Sender) + Dim pnl0 As B4XView = clv_pedido.GetPanel(index) + Dim pnl As B4XView = pnl0.GetView(0) + Dim laCant As B4XView = pnl.GetView(2).GetView(3) +' Log(pnl.GetView(2).GetView(1).text&"|"&pnl.GetView(2).GetView(2)&"|"&pnl.GetView(2).GetView(4).text) +' Log($"precio|stock:${laCant.tag}"$) +' Log($"Indice: ${index}, cant:${laCant.Text+1}, precioU: ${laCant.tag}"$) + Dim esteTag As List = Regex.Split("\|", laCant.Tag) + Log("LC_TEXT:"&laCant.Text&"|LC_TAG:"&laCant.Tag&"|ET:"&esteTag) + If laCant.Text = "" Then laCant.Text = 0 + + Private maxProds = esteTag.Get(1) + esteTag.Get(4) 'Prods disponibles + prods comprados + + Private minimoadesc As String + Dim minimos As Cursor = Starter.skmt.ExecQuery2("SELECT * FROM CAT_GUNAPROD3 WHERE CAT_GP_ID = ?", Array As String(esteTag.Get(2))) + If minimos.RowCount > 0 Then + minimos.Position = 0 + minimoadesc = minimos.GetString("CAT_DP_CANT_MIN_VENTA") + Else + minimoadesc = "1" + End If + minimos.Close + minimoadesc = "1" + '*'${minimoadesc}') + + LogColor($"++++++++++++++++++++++++++ ${esteTag}"$, Colors.Green) + Log(esteTag.get(4)) + If esteTag.Get(4) = "0" Then + + Else + If laCant.Text + 1 <= maxProds Then + Log($"NuevaCant = ${laCant.Text + 1}"$) + laCant.Text = $"$1.0{laCant.Text + 1}"$ + Starter.skmt.ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen - 1 where cat_gp_id = ?", Array As String(esteTag.Get(2))) + c = Starter.skmt.ExecQuery2("SELECT * FROM PEDIDO WHERE PE_PROID = ? and PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND CONSECUTIVO = ? ", Array As String(esteTag.Get(2), esteTag.Get(6))) + If c.RowCount > 0 Then + Private c2 As Cursor = Starter.skmt.ExecQuery2("SELECT * FROM HIST_VENTAS WHERE HVD_PROID = ? AND CONSECUTIVO = ? ", Array As String(esteTag.Get(2), esteTag.Get(6))) + If c2.RowCount > 0 Then + c2.Position = 0 + + Dim preciocat As Cursor = Starter.skmt.ExecQuery($"select IFNULL(CAT_GP_PRECIO,0) AS CAT_GP_PRECIO from CAT_GUNAPROD WHERE CAT_GP_ID = '${c2.GetString("HVD_PROID")}'"$) + If preciocat.RowCount > 0 Then + preciocat.Position = 0 + Dim preciofull As String = preciocat.GetString("CAT_GP_PRECIO") + End If + preciocat.Close + + If c2.GetString("HVD_CODPROMO") = Subs.traeAlmacen Then + Private pup As String = c2.GetString("HVD_COSTO_TOT")/c2.GetString("HVD_CANT") +' Starter.skmt.ExecNonQuery($"update HIST_VENTAS set HVD_RECHAZO = 1, HVD_RECHAZOCANT = HVD_RECHAZOCANT - 1 WHERE HVD_PROID = '${esteTag.Get(2)}' and HVD_cliente = '${esteTag.Get(5)}'"$) + Starter.skmt.ExecNonQuery($"update PEDIDO set PE_CANT = IFNULL(PE_CANT,0)+(1*'${minimoadesc}'), PE_COSTO_TOT= ((IFNULL(PE_CANT,0)+(1*'${minimoadesc}'))*'${pup}') WHERE PE_PROID = '${esteTag.Get(2)}' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '${esteTag.Get(6)}'"$) + Else + Starter.skmt.ExecNonQuery($"update PEDIDO set PE_CANT = IFNULL(PE_CANT,0)+(1*'${minimoadesc}'), PE_COSTO_TOT= ((IFNULL(PE_CANT,0)+(1*'${minimoadesc}'))*'${preciofull}') WHERE PE_PROID = '${esteTag.Get(2)}' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '${esteTag.Get(6)}'"$) + End If + + End If + Else + Private c2 As Cursor = Starter.skmt.ExecQuery2("SELECT * FROM HIST_VENTAS WHERE HVD_PROID = ? AND CONSECUTIVO = ? ", Array As String(esteTag.Get(2), esteTag.Get(6))) + If c2.RowCount > 0 Then + c2.Position = 0 + + Dim preciocat As Cursor = Starter.skmt.ExecQuery($"select IFNULL(CAT_GP_PRECIO,0) AS CAT_GP_PRECIO from CAT_GUNAPROD WHERE CAT_GP_ID = '${c2.GetString("HVD_PROID")}'"$) + If preciocat.RowCount > 0 Then + preciocat.Position = 0 + Dim preciofull As String = preciocat.GetString("CAT_GP_PRECIO") + End If + preciocat.Close + + Dim precioreg As Cursor = Starter.skmt.ExecQuery($"select IFNULL(HVD_COSTO_TOT,0) AS HVD_COSTO_TOT, HVD_CANT from HIST_VENTAS WHERE HVD_PROID = '${c2.GetString("HVD_PROID")}' AND CONSECUTIVO = '${esteTag.Get(6)}'"$) + If precioreg.RowCount > 0 Then + precioreg.Position = 0 + Dim precioregalo As String = precioreg.GetString("HVD_COSTO_TOT")/precioreg.GetString("HVD_CANT") + If precioregalo < 1 Then + Dim esregalo As String = 1 + Else + Dim esregalo As String = 0 + End If + End If + precioreg.Close + + If c2.GetString("HVD_CODPROMO") = Subs.traeAlmacen Then + Private pup As String = c2.GetString("HVD_COSTO_TOT")/c2.GetString("HVD_CANT") + +' Starter.skmt.ExecNonQuery($"update HIST_VENTAS set HVD_RECHAZO = 1, HVD_RECHAZOCANT = HVD_RECHAZOCANT - 1 WHERE HVD_PROID = '${esteTag.Get(2)}' and HVD_cliente = '${esteTag.Get(5)}'"$) + Log("algo1") + If Subs.traeCliente = "63403" Then + Starter.skmt.ExecNonQuery2("INSERT INTO PEDIDO(PE_PROID,PE_PRONOMBRE,PE_CANT,PE_CLIENTEOR,PE_CLIENTE,PE_COSTOU,PE_COSTO_TOT,PE_CAJAS,PE_BCAJAS,CONSECUTIVO,PE_RUTA, PE_TIPO,PE_CEDIS,PE_FECHA,PE_USUARIO,FECHA_PREV,RUTA_REP,PE_REGALO) VALUES (?,?,?,?,?,?,?,0,0,?,?,?,?,?,?,?,?,?)", Array As String(esteTag.Get(2),c2.GetString("HVD_PRONOMBRE"),1*minimoadesc,esteTag.Get(5),Subs.traeCliente,(pup*minimoadesc),(pup*minimoadesc),esteTag.Get(6),Subs.traerUTAPREV,"DANADO",Subs.traeAlmacen, sDate & " " & sTime, Subs.traeUsuario,Subs.traefECHAPREV, Subs.traeRutaReparto,esregalo)) + Else + Starter.skmt.ExecNonQuery2("INSERT INTO PEDIDO(PE_PROID,PE_PRONOMBRE,PE_CANT,PE_CLIENTEOR,PE_CLIENTE,PE_COSTOU,PE_COSTO_TOT,PE_CAJAS,PE_BCAJAS,CONSECUTIVO,PE_RUTA, PE_TIPO,PE_CEDIS,PE_FECHA,PE_USUARIO,FECHA_PREV,RUTA_REP,PE_REGALO) VALUES (?,?,?,?,?,?,?,0,0,?,?,?,?,?,?,?,?,?)", Array As String(esteTag.Get(2),c2.GetString("HVD_PRONOMBRE"),1*minimoadesc,esteTag.Get(5),Subs.traeCliente,(pup*minimoadesc),(pup*minimoadesc),esteTag.Get(6),Subs.traerUTAPREV,"PREVENTA",Subs.traeAlmacen, sDate & " " & sTime, Subs.traeUsuario,Subs.traefECHAPREV, Subs.traeRutaReparto,esregalo)) + End If + Else + Log("|" & preciofull& "|") + Log("|" & minimoadesc& "|") +' Log("minimoadesc") + + + Log(esteTag.Get(2)) + Log(c2.GetString("HVD_PRONOMBRE")) + Log((1*minimoadesc)) + Log(esteTag.Get(5)) + Log(Subs.traeCliente) + Log((preciofull*minimoadesc)) + Log(esteTag.Get(6)) + Log(Subs.traerUTAPREV) + Log(Subs.traeAlmacen) + Log(sDate & " " & sTime) + Log(Subs.traeUsuario) + Log(Subs.traefECHAPREV) + Log(Subs.traeRutaReparto) + Log(esregalo) + +' Log(esteTag.Get(2)&"|"& c2.GetString("HVD_PRONOMBRE")&"|"& (1*minimoadesc) &"|"& esteTag.Get(5) &"|"& Subs.traeCliente &"|"& (preciofull*minimoadesc) &"|"& (preciofull*minimoadesc) &"|"& esteTag.Get(6) &"|"& Subs.traerUTAPREV &"|"& "PREVENTA" &"|"& Subs.traeAlmacen &"|"& sDate & " " & sTime &"|"& Subs.traeUsuario &"|"& Subs.traefECHAPREV &"|"& Subs.traeRutaReparto &"|"& esregalo) + If Subs.traeCliente = "63403" Then + Starter.skmt.ExecNonQuery2("INSERT INTO PEDIDO(PE_PROID,PE_PRONOMBRE,PE_CANT,PE_CLIENTEOR,PE_CLIENTE,PE_COSTOU,PE_COSTO_TOT,PE_CAJAS,PE_BCAJAS,CONSECUTIVO,PE_RUTA, PE_TIPO,PE_CEDIS,PE_FECHA,PE_USUARIO,FECHA_PREV,RUTA_REP,PE_REGALO) VALUES (?,?,?,?,?,?,?,0,0,?,?,?,?,?,?,?,?,?)", Array As String(esteTag.Get(2),c2.GetString("HVD_PRONOMBRE"),1*minimoadesc,esteTag.Get(5),Subs.traeCliente,(preciofull*minimoadesc),(preciofull*minimoadesc),esteTag.Get(6),Subs.traerUTAPREV,"DANADO",Subs.traeAlmacen, sDate & " " & sTime, Subs.traeUsuario,Subs.traefECHAPREV, Subs.traeRutaReparto,esregalo)) + Else + Starter.skmt.ExecNonQuery2("INSERT INTO PEDIDO(PE_PROID,PE_PRONOMBRE,PE_CANT,PE_CLIENTEOR,PE_CLIENTE,PE_COSTOU,PE_COSTO_TOT,PE_CAJAS,PE_BCAJAS,CONSECUTIVO,PE_RUTA, PE_TIPO,PE_CEDIS,PE_FECHA,PE_USUARIO,FECHA_PREV,RUTA_REP,PE_REGALO) VALUES (?,?,?,?,?,?,?,0,0,?,?,?,?,?,?,?,?,?)", Array As String(esteTag.Get(2),c2.GetString("HVD_PRONOMBRE"),1*minimoadesc,esteTag.Get(5),Subs.traeCliente,(preciofull*minimoadesc),(preciofull*minimoadesc),esteTag.Get(6),Subs.traerUTAPREV,"PREVENTA",Subs.traeAlmacen, sDate & " " & sTime, Subs.traeUsuario,Subs.traefECHAPREV, Subs.traeRutaReparto,esregalo)) + End If + End If + + End If + End If + + + Subs.prodVenta(esteTag.Get(5), esteTag.Get(2)) +' Private cym As Map = Subs.traemosCantYMonto(clv_pedido) +' L_CANT.Text = cym.Get("cantidad") +' L_TOTAL.Text = Round2(cym.Get("monto"), 2) +' cuentaProds("+") + B4XPage_Appear + End If + End If +' Dim preciou As Float = esteTag.Get(0)/esteTag.Get(1) +' Log(preciou) +' LogColor("estamos aquii mas " & laCant.Text& " , " & (preciou * laCant.Text) ,Colors.Green ) +' b_guardar.Visible = True +' Log($"Total Prods: ${totalProds}, Total Compra: $$1.2{totalCompra}"$) +' c = Starter.skmt.ExecQuery($"SELECT HVD_CANT FROM HIST_VENTAS2 WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND HVD_PROID = '${esteTag.Get(2)}' "$) +' c.Position = 0 +' Dim cantoriginal As String = 0 +' If c.RowCount > 0 Then +' cantoriginal = c.GetString("HVD_CANT") +' End If +' If cantoriginal <= esteTag.Get(1) Then +' L_CANT.Text = L_CANT.Text + 1 +' End If +End Sub + + +Private Sub b_prodMasC_Click + etCantHasFocus = False +' Log("etCantHasFocus=" & etCantHasFocus) + LogColor("b_prodMas_Click", Colors.Magenta) + Dim index As Int = clv_pedido.GetItemFromView(Sender) + Dim pnl0 As B4XView = clv_pedido.GetPanel(index) + Dim pnl As B4XView = pnl0.GetView(0) + Dim laCantc As B4XView = pnl.GetView(3).GetView(3) + LogColor(laCantc.Text&"-----------------------------",Colors.Blue) +' Log(pnl.GetView(2).GetView(1).text&"|"&pnl.GetView(2).GetView(2)&"|"&pnl.GetView(2).GetView(4).text) +' Log($"precio|stock:${laCant.tag}"$) +' Log($"Indice: ${index}, cant:${laCant.Text+1}, precioU: ${laCant.tag}"$) + Dim esteTag As List = Regex.Split("\|", laCantc.Tag) + Log("LC_TEXT:"&laCantc.Text&"|LC_TAG:"&laCantc.Tag&"|ET:"&esteTag) + If laCantc.Text = "" Then laCantc.Text = 0 + + Private maxProds As String = (esteTag.Get(1) + esteTag.Get(4))'Prods disponibles + prods comprados + LogColor(esteTag.Get(1),Colors.Red) + LogColor(esteTag.Get(4),Colors.Red) + LogColor($"++++++++++++++++++++++++++ ${esteTag}"$, Colors.Green) +' Log(esteTag.get(4)) + Log(maxProds) + +' l_pCantC.Tag = Round2(precioU,2)&"|"&inv&"|"&prodId&"|"&promo&"|"&inv2&"|"&cliente_original + Log(esteTag.Get(4)) + If esteTag.Get(4) = "0" Then + + Else + If laCantc.Text + 1 <= maxProds Then + Log($"NuevaCant = ${laCantc.Text + 1}"$) +' laCantc.Text = NumberFormat2(laCantc.Text + 1,0,0,0,False) + laCantc.Text = $"$1.0{laCantc.Text + 1}"$ + LogColor(esteTag,Colors.Magenta) + + LogColor(laCantc.Text,Colors.Red) +' Starter.skmt.ExecNonQuery($"update HIST_VENTAS set HVD_RECHAZO = 1, HVD_RECHAZOCANT = IFNULL(HVD_RECHAZOCANT,0) -(1 * ${Subs.traeConversion(esteTag.Get(2))}) WHERE HVD_PROID = '${esteTag.Get(2)}' and HVD_cliente in (Select CUENTA from cuentaa)"$) + + c = Starter.skmt.ExecQuery2("SELECT * FROM PEDIDO WHERE PE_PROID = ? and PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND CONSECUTIVO = ? ", Array As String(esteTag.Get(2), esteTag.Get(6))) + If c.RowCount > 0 Then + Private c2 As Cursor = Starter.skmt.ExecQuery2("SELECT * FROM HIST_VENTAS WHERE HVD_PROID = ? AND CONSECUTIVO = ? ", Array As String(esteTag.Get(2), esteTag.Get(6))) + If c2.RowCount > 0 Then + c2.Position = 0 + Private puc As String = c2.GetString("HVD_COSTO_TOT")/c2.GetString("CANTC") +' Starter.skmt.ExecNonQuery($"update HIST_VENTAS set HVD_RECHAZO = 1, HVD_RECHAZOCANT =(IFNULL(HVD_RECHAZOCANT,0) -(1 * ${Subs.traeConversion(esteTag.Get(2))}) ) WHERE HVD_PROID = '${esteTag.Get(2)}' and HVD_cliente = '${esteTag.Get(5)}'"$) + Starter.skmt.ExecNonQuery($"update PEDIDO set PE_CANT = (IFNULL(PE_CANT,0)+(1 * '${Subs.traeConversion(esteTag.Get(2))}')), PE_COSTO_TOT= (IFNULL(PE_CAJAS,0)+1)*'${puc}', PE_CAJAS= IFNULL(PE_CAJAS,0) + 1 WHERE PE_PROID = '${esteTag.Get(2)}' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '${esteTag.Get(6)}'"$) + B4XPage_Appear + Log("aqui2") + End If + Else + Private c2 As Cursor = Starter.skmt.ExecQuery2("SELECT * FROM HIST_VENTAS WHERE HVD_PROID = ? AND CONSECUTIVO = ? ", Array As String(esteTag.Get(2), esteTag.Get(6))) + If c2.RowCount > 0 Then + c2.Position = 0 + Private puc As String = c2.GetString("HVD_COSTO_TOT")/c2.GetString("CANTC") + Log(puc) + +' Starter.skmt.ExecNonQuery($"update HIST_VENTAS set HVD_RECHAZO = 1, HVD_RECHAZOCANT = IFNULL(HVD_RECHAZOCANT,0) -(1 * ${Subs.traeConversion(esteTag.Get(2))}) WHERE HVD_PROID = '${esteTag.Get(2)}' and HVD_cliente = '${esteTag.Get(5)}'"$) + Starter.skmt.ExecNonQuery2("INSERT INTO PEDIDO(PE_PROID,PE_PRONOMBRE,PE_CANT,PE_CLIENTEOR,PE_CLIENTE,PE_COSTOU,PE_COSTO_TOT,PE_CAJAS,PE_BCAJAS,CONSECUTIVO,PE_RUTA, PE_TIPO,PE_CEDIS,PE_FECHA,PE_USUARIO,FECHA_PREV,RUTA_REP,PE_REGALO) VALUES (?,?,?,?,?,?,?,1,1,?,?,?,?,?,?,?,?,?)", Array As String(esteTag.Get(2),c2.GetString("HVD_PRONOMBRE"),Subs.traeConversion(esteTag.Get(2)),esteTag.Get(5),Subs.traeCliente,puc,puc,esteTag.Get(6),Subs.traerUTAPREV,"PREVENTA",Subs.traeAlmacen, sDate & " " & sTime, Subs.traeUsuario,Subs.traefECHAPREV, Subs.traeRutaReparto,0)) + B4XPage_Appear + End If + End If + + End If + End If +End Sub + +Private Sub b_prodMenosC_Click + etCantHasFocus = False + Log("etCantHasFocus=" & etCantHasFocus) + LogColor("b_prodMenos_Click", Colors.Magenta) + Dim index As Int = clv_pedido.GetItemFromView(Sender) + Dim pnl0 As B4XView = clv_pedido.GetPanel(index) + Dim pnl As B4XView = pnl0.GetView(0) + Dim laCantc As B4XView = pnl.GetView(3).GetView(3) +' Log(pnl.GetView(2).GetView(0) & "|" & pnl.GetView(2).GetView(1) & "|" & pnl.GetView(2).GetView(2)) + Dim esteTag As List = Regex.Split("\|", laCantc.Tag) + Log("LC_TEXT:"&laCantc.Text&"|PROMO:"&esteTag.Get(3)&"|LC_TAG:"&laCantc.Tag&"|ET:"&esteTag) + + + + If laCantc.Text > 0 Then + +' Starter.skmt.ExecNonQuery($"update HIST_VENTAS set HVD_RECHAZO = 1, HVD_RECHAZOCANT = (IFNULL(HVD_RECHAZOCANT,0) +(1 * ${Subs.traeConversion(esteTag.Get(2))})) WHERE HVD_PROID = '${esteTag.Get(2)}' and HVD_cliente = '${esteTag.Get(5)}'"$) + Private c3 As Cursor = Starter.skmt.ExecQuery2("SELECT PE_CAJAS FROM PEDIDO WHERE PE_PROID = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND CONSECUTIVO = ? ", Array As String(esteTag.Get(2), esteTag.Get(6))) + If c3.RowCount > 0 Then + c3.Position = 0 + If c3.GetString("PE_CAJAS") > 1 Then + Starter.skmt.ExecNonQuery($"update PEDIDO set PE_CANT = (IFNULL(PE_CANT,0)-(1 * '${Subs.traeConversion(esteTag.Get(2))}')), PE_COSTO_TOT= ((IFNULL(PE_CAJAS,0)-1) *'${Subs.traePrecioC(esteTag.Get(2))}'), PE_CAJAS = IFNULL(PE_CAJAS,0) - 1 WHERE PE_PROID = '${esteTag.Get(2)}' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '${esteTag.Get(6)}'"$) + Else If c3.GetString("PE_CAJAS") = 1 Then + Starter.skmt.ExecNonQuery($"delete from PEDIDO where PE_PROID = '${esteTag.Get(2)}' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '${esteTag.Get(6)}'"$) + End If + End If + Log("entre al if o algo asi ") + If laCantc.Text = "" Then laCantc.Text = 0 + laCantc.Text = laCantc.Text - 1 + If laCantc.Text < 0 Then laCantc.Text = 0 + B4XPage_Appear +' Starter.skmt.ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = (cat_gp_almacen + (1 * ?)) where cat_gp_id = ?", Array As Object(esteTag.Get(2), Subs.traeConversion(esteTag.Get(2)))) + Else If laCantc.Text = 0 Then + + End If + + Dim preciou As Float = esteTag.Get(0)/esteTag.Get(1) + Log("PU: " & preciou) +End Sub + +Private Sub l_pCantC_Click + +End Sub + +Private Sub b_revversar_Click + Starter.skmt.ExecNonQuery($"update HIST_VENTAS set HVD_RECHAZO = 0, HVD_RECHAZOCANT = 0 WHERE HVD_cliente in (Select CUENTA from cuentaa)"$) + B4XPage_Appear +End Sub + +Sub cuentaProds(accion As String) + '' Log("Entramos a cuentaProds") +' Log("*******************************************************") +' Private cantRechazada As Int = 0 +' If Not(reconstruirPedido) Then +' Log("*********** CUENTAPRODS - NO RECONSTRUIR") +' prodsMap.Initialize +' For i = 0 To clv_pedido.GetSize - 1 +' Private p0 As B4XView = clv_pedido.GetPanel(i) +' Private p As B4XView = p0.GetView(0) +' Private cant1 As B4XView = p.GetView(2).GetView(3) +' If cant1.Text = "" Then cant1.Text = 0 + '' totalProds = totalProds + cant1.Text +' Private esteTag As List = Regex.Split("\|", cant1.Tag) +' Log("-------------------------------------") +' Log($"ET: ${esteTag}"$) +' Private esteProd As String = esteTag.Get(2) +' Private estaCant As Int = cant1.Text +' Private estaCantOriginal As Int = esteTag.Get(1) +' Private esteCliente = Subs.traeCliente +' Private esteProdNombre = Subs.traeNombre(esteProd) +' Private esteClienteOriginal As Int = esteTag.Get(5) +' Private fechaReparto As String = Subs.traeFechaReparto +' Private maxProds = Subs.traeMaxCantidad(esteTag.Get(5), esteTag.Get(2)) +' +' If cant1.Text > maxProds Then cant1.Text = maxProds +' +' cantRechazada = esteTag.Get(4) - cant1.Text + '' If accion = "-" Then cantRechazada = Subs.traeCantidadRechazada(esteClienteOriginal, esteProd) + 1 + '' If accion = "+" Then cantRechazada = Subs.traeCantidadRechazada(esteClienteOriginal, esteProd) - 1 +' Log($"${Subs.traeCantidadRechazada(esteClienteOriginal, esteProd)}, ${Subs.traeCantidadVendida(esteClienteOriginal, esteProd)}"$) +' + '' LogColor($"cantRechazada = ${esteTag.Get(4)} - ${cant1.Text}"$, Colors.Magenta) +' LogColor($"cantRechazada = ${cantRechazada}"$, Colors.Magenta) +' Private estePrecio As String = 0 +' If Subs.traePrecio(esteProd, 1) <> Null Then estePrecio = Subs.traePrecio(esteProd, 1) * cantRechazada +' + '' LogColor(esteProd & "|" & cant1.Text & "|" & estaCantOriginal & "|" & cantRechazada & "|" & estePrecio, Colors.red) + '' LogColor($"cantRechazada=${cantRechazada} | ${esteProdNombre}"$, Colors.Blue) + '' Log($"Ponemos HVD_CANT ${esteProd} en ${cant1.text}"$) +' Starter.skmt.ExecNonQuery2("update HIST_VENTAS set HVD_PARCIAL = 1, HVD_CANT = ? WHERE HVD_PROID = ? and HVD_CLIENTE in (Select CUENTA from cuentaa)", Array As String(cant1.Text ,esteProd)) +' Private rr As Cursor = Starter.skmt.ExecQuery($"select count(REP_CLIENTE) as hayRechazo from REPARTO where rep_prodid = '${esteProd}' and REP_CLIENTE in (Select CUENTA from cuentaa)"$) +' rr.Position = 0 + '' Log($"HayRechazo=${rr.GetString("hayRechazo")}"$) +' If rr.GetString("hayRechazo") = 0 Then +' Log("INSERTAMOS EN REPARTO") +' Starter.skmt.ExecNonQuery2("insert into reparto(REP_CLIENTE, REP_PRONOMBRE, REP_CANT, REP_COSTO_TOT, REP_FECHA, REP_RECHAZO, REP_PRODID, REP_PRECIO, REP_CLI_ORIG) VALUES (?,?,?,?,?,1,?,?,?) ", Array As String(esteCliente, esteProdNombre, 0, estePrecio, fechaReparto, esteProd, estePrecio, esteCliente)) +' Starter.skmt.ExecNonQuery2("insert into reparto(REP_CLIENTE, REP_PRONOMBRE, REP_CANT, REP_COSTO_TOT, REP_FECHA, REP_RECHAZO, REP_PRODID, REP_PRECIO, REP_CLI_ORIG) VALUES (?,?,?,?,?,0,?,?,?) ", Array As String(esteCliente, esteProdNombre, cantRechazada, 0, fechaReparto, esteProd, estePrecio, esteCliente)) +' Else if esteClienteOriginal = "0" Then 'Actualizamos el rechazo en el cliente actual. + '' Log($"Actualizamos REP_CANT=${cantRechazada}"$) + '' Starter.skmt.ExecNonQuery($"update reparto set REP_CANT = '${cantRechazada}', REP_PRECIO = '${estePrecio}', REP_COSTO_TOT = '${estePrecio * cantRechazada}' where REP_CLIENTE in (Select CUENTA from cuentaa) and REP_CLI_ORIG = '${esteClienteOriginal}' and REP_RECHAZO = 1 and REP_PRODID = '${esteProd}'"$) +' Else 'Cliente original <> 0 entonces actualizamos el rechazo en el cliente original y NO en el actual. +' Log($"Actualizamos REP_CANT RECHAZO = ${cantRechazada}"$) + '' Starter.skmt.ExecNonQuery($"update reparto set REP_CANT = ${cantRechazada}, REP_PRECIO = '${estePrecio}', REP_COSTO_TOT = '${estePrecio * cantRechazada}' where REP_CLIENTE = '${esteClienteOriginal}' and REP_CLI_ORIG = '${esteClienteOriginal}' and REP_RECHAZO = 1 and REP_PRODID = '${esteProd}'"$) + '' Starter.skmt.ExecNonQuery($"update reparto set REP_CANT = '${cant1.Text}', REP_PRECIO = '${estePrecio}', REP_COSTO_TOT = '${estePrecio * cantRechazada}' where REP_CLIENTE in (Select CUENTA from cuentaa) and REP_CLI_ORIG = '${esteClienteOriginal}' and REP_RECHAZO = 0 and REP_PRODID = '${esteProd}'"$) +' End If +' +' If cant1.Text > 0 Then + '' totalCompra = totalCompra + (esteTag.get(0) * cant1.text) + '' Log($"Cant: ${cant1.Text}, Suma: ${totalCompra}"$) +' Private m As Map +' m=CreateMap("cant":cant1.Text, "cant2":esteTag.get(4), "precio":esteTag.get(0), "promo":esteTag.get(3), "nombre":Subs.traeNombre(esteTag.Get(2)), "cli_orig":esteTag.get(5)) + '' LogColor("PUT:" & esteTag.Get(2), Colors.Red) +' prodsMap.Put(esteTag.Get(2), m) +' End If +' Log("-------------------------------------") +' Next +' End If +' Private bgColor, textColor As Int + ' +' If reconstruirPedido Then +' Log("*********** CUENTAPRODS - SI RECONSTRUIR") +' Private newPromo, newPrecio As String +' clv_pedido.Clear +' Log("Usamos PRODSMAP") +' For Each pr As String In prodsMap.Keys +' Private pr1 As Map = prodsMap.Get(pr) +' Log("PPP: " & pr & "|PromoABorrar=" & promoABorrar & "|" & pr1) +' bgColor = Colors.RGB(177, 200, 249)'azul +' textColor = Colors.black +' newPromo = pr1.Get("promo") +' newPrecio = pr1.Get("precio") +' Log("AAA: " & newPromo & "|" & promoABorrar) +' If newPromo = promoABorrar Then +' newPromo = 1 +' newPrecio = Subs.traePrecio(pr, False) * pr1.Get("cant") +' 'Ponemos precio SIN promo y sacamos el producto de la promo. +' Starter.skmt.ExecNonQuery($"update HIST_VENTAS set HVD_COSTO_TOT = ${newPrecio}, HVD_CODPROMO ='${Subs.traeAlmacen}' WHERE HVD_PRONOMBRE = '${pr1.Get("nombre")}' and HVD_cliente in (Select CUENTA from cuentaa)"$) +' LogColor("CAMBIAMOS PROMO: " & newPromo, Colors.Magenta) +' End If +' If newPromo <> "1" Then + '' bgColor = Colors.RGB(255, 212, 163) 'naranja +' bgColor = Colors.White +' End If +' Log($"CLI: ${pr1.Get("nombre")}, ${newPrecio}, ${pr1.Get("cant")}, ${pr1.Get("cant2")}"$) +' clv_pedido.Add(CreateListItem(pr1.Get("nombre"), newPrecio, pr1.Get("cant"), pr1.Get("cant2"), clv_pedido.AsView.Width, 118dip, bmp, pr, bgColor, textColor, newPromo, pr1.Get("cli_orig")), pr1.Get("nombre")) +' reconstruirPedido = False +' Next +' promoABorrar = "" +' End If +' Log($"Total Prods: ${totalProds}, Total Compra: $$1.2{totalCompra}"$) +' LogColor("prodsMap=" & prodsMap, Colors.Green) +' + ' +' LogColor(prodsMap, Colors.Blue) +' c = Starter.skmt.ExecQuery($"SELECT sum(HVD_CANT) as CANTIDAD FROM HIST_VENTAS WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"$) +' Dim cantidad1 As String = 0 +' If c.RowCount > 0 Then +' c.Position = 0 +' cantidad1 = c.GetString("CANTIDAD") +' L_CANT.Text = Round(cantidad1) +' End If +' c.Close +' +' Dim totalfinal As String = 0 +' For Each pr As String In prodsMap.Keys +' Private pr1 As Map = prodsMap.Get(pr) + '' LogColor(pr,Colors.Red) +' Dim x As Cursor = Starter.skmt.ExecQuery($"SELECT CAT_GP_PRECIO FROM CAT_GUNAPROD WHERE CAT_GP_ID = '${pr}'"$) +' c = Starter.skmt.ExecQuery($"SELECT HVD_CANT FROM HIST_VENTAS WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND HVD_PROID ='${pr}' "$) +' Dim cantidady As String = 0 +' If c.RowCount >0 Then +' c.Position = 0 +' cantidady = c.GetString("HVD_CANT") +' End If + '' Log(x.RowCount) +' If x.RowCount > 0 Then +' x.Position = 0 + '' Log(x.GetString("CAT_GP_PRECIO")) +' Dim preciou As String = x.GetString("CAT_GP_PRECIO") +' Dim costototalhist As String = preciou * cantidady + '' Log("Total ==== "&costototalhist) +' End If +' totalfinal = totalfinal + costototalhist +' x.Close +' Next +' L_TOTAL.Text = Round2(totalfinal, 2) +' c.Close +' +' c = Starter.skmt.ExecQuery("select COUNT(*) AS CUANTOS from REPARTO where REP_CLIENTE in (select cuenta from cuentaa) and REP_RECHAZO = '0' and REP_CANT > 0 order by REP_PRONOMBRE") +' If c.RowCount > 0 Then +' c.Position = 0 +' If c.GetString("CUANTOS") > 0 Then +' +' Dim z As Cursor = Starter.skmt.ExecQuery($"select SUM(REP_CANT) AS CANTIDAD , SUM(REP_PRECIO) AS PRECIO from REPARTO where REP_CLIENTE in (select cuenta from cuentaa) and REP_RECHAZO = '0' and REP_CANT > 0 order by REP_PRONOMBRE"$) +' Dim cantidad2 As String = 0 + '' Log(z.RowCount) +' If z.RowCount > 0 Then +' z.Position = 0 +' cantidad2= z.GetString("CANTIDAD") + '' LogColor(z.GetString("PRECIO")&" , " & z.GetString("CANTIDAD"), Colors.Magenta) + '' Log(cantidad1 &" , "& cantidad2) +' L_CANT.Text = Round((cantidad1 + cantidad2)) +' End If +' z.Close +' +' +' End If +' End If +' +' +' +End Sub + +Private Sub b_guardar_Click + +End Sub + + +Private Sub l_pCant_Click + +End Sub + +Sub p_prods_Click + Log(Sender.As(Panel).tag) +End Sub \ No newline at end of file diff --git a/B4A/C_TicketsDia.bas b/B4A/C_TicketsDia.bas new file mode 100644 index 0000000..8371da5 --- /dev/null +++ b/B4A/C_TicketsDia.bas @@ -0,0 +1,24 @@ +B4A=true +Group=Default Group +ModulesStructureVersion=1 +Type=Class +Version=12.2 +@EndOfDesignText@ +Sub Class_Globals + Private Root As B4XView 'ignore + Private xui As XUI 'ignore +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 + +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_UpdateAvailable.bas b/B4A/C_UpdateAvailable.bas new file mode 100644 index 0000000..62c83f8 --- /dev/null +++ b/B4A/C_UpdateAvailable.bas @@ -0,0 +1,74 @@ +B4A=true +Group=Default Group +ModulesStructureVersion=1 +Type=Class +Version=11.5 +@EndOfDesignText@ +Sub Class_Globals + Private Root As B4XView 'ignore + Private xui As XUI 'ignore +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.Color = Colors.Transparent +End Sub + +Sub B4XPage_Appear + Try + Do While Not(CanRequestPackageInstalls) + MsgboxAsync($"Por favor permita que ${Application.PackageName} instale actualizaciones"$, "Instalar actualización") + Wait For Msgbox_Result(Result As Int) + Dim in As Intent + in.Initialize("android.settings.MANAGE_UNKNOWN_APP_SOURCES", "package:" & Application.PackageName) + StartActivity(in) + Loop + Catch + Log("updateAvailable() Error - " & LastException.Message) + End Try + If appUpdater.newApp.update Then + ofreceActualizacion + Else + sinActualizacion + End If +End Sub + +'//////////////////////////////////////////////////////////////////////////////////////////// +'//// Esta es una actividad usada por el servicio appUpdater para mostrar notificaciones +'//// cuando hay alguna actualizacion de apk. +'//////////////////////////////////////////////////////////////////////////////////////////// + + +public Sub CanRequestPackageInstalls As Boolean + ' // https://www.b4x.com/android/forum/threads/version-safe-apk-installation.87667/#content + Dim ctxt As JavaObject + ctxt.InitializeContext + Dim PackageManager As JavaObject = ctxt.RunMethod("getPackageManager", Null) + Return PackageManager.RunMethod("canRequestPackageInstalls", Null) +End Sub + +Sub ofreceActualizacion + If Msgbox2(appUpdater.newApp.newMsg,"Actualización disponible","Si","","No",Null) = DialogResponse.Positive Then 'ignore +' StartService(DownloadService) + CallSubDelayed(appUpdater, "download_newApk") +' ToastMessageShow("Descargando actualización", True) + End If + B4XPages.MainPage.ocultaProgreso + StartActivity(Main) +' Activity.Finish + B4XPages.ShowPage("Login") +End Sub + +Sub sinActualizacion + Msgbox(appUpdater.newApp.okMsg, "Aplicación al corriente") 'ignore +' StartActivity(Main) + B4XPages.MainPage.ocultaProgreso + B4XPages.ShowPage("Login") +End Sub \ No newline at end of file diff --git a/B4A/C_tabulador.bas b/B4A/C_tabulador.bas new file mode 100644 index 0000000..d752b11 --- /dev/null +++ b/B4A/C_tabulador.bas @@ -0,0 +1,134 @@ +B4A=true +Group=Default Group +ModulesStructureVersion=1 +Type=Class +Version=12.2 +@EndOfDesignText@ +Sub Class_Globals + Private Root As B4XView 'ignore + Private xui As XUI 'ignore + Private et_mil As EditText + Private et_quinientos As EditText + Private et_docientos As EditText + Private et_cien As EditText + Private et_cincuenta As EditText + Private et_veinte As EditText + Private et_m_veinte As EditText + Private et_m_diez As EditText + Private et_m_cinco As EditText + Private et_m_dos As EditText + Private et_m_peso As EditText + Private et_m_centavo As EditText + Private b_calcular As Button + Private b_guardar As Button + Private l_total As Label + Dim sum_billetes As Int + Dim sum_monedas As Float + Dim total As Float + Dim c As Cursor + Dim d 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("tabulador") +End Sub + +Sub B4XPage_Appear + d = Starter.skmt.ExecQuery("SELECT VEINTE, DIEZ, CINCO, DOS, PESO, CENTAVO, TOTAL FROM TABULADOR_MONEDAS") + c = Starter.skmt.ExecQuery("SELECT MIL, QUINIENTOS, DOCIENTOS, CIEN, CINCUENTA, VEINTE FROM TABULADOR_BILLETES") + c.Position = 0 + d.Position = 0 + If c.RowCount > 0 And d.RowCount > 0 Then + Log("TABULADR CON RESUKTADO") + et_mil.Text = c.GetString("MIL") + et_quinientos.Text = c.GetString("QUINIENTOS") + et_docientos.Text = c.GetString("DOCIENTOS") + et_cien.Text = c.GetString("CIEN") + et_cincuenta.Text = c.GetString("CINCUENTA") + et_veinte.Text = c.GetString("VEINTE") + et_m_veinte.Text = d.GetString("VEINTE") + et_m_diez.Text = d.GetString("DIEZ") + et_m_cinco.Text = d.GetString("CINCO") + et_m_dos.Text = d.GetString("DOS") + et_m_peso.Text = d.GetString("PESO") + et_m_centavo.Text = d.GetString("CENTAVO") + l_total.Text = d.GetString("TOTAL") + else If c.RowCount = 0 And d.RowCount = 0 Then + Log("TABULADR SIN RESUKTADO") + et_mil.Text = "" + et_quinientos.Text = "" + et_docientos.Text = "" + et_cien.Text = "" + et_cincuenta.Text = "" + et_veinte.Text = "" + et_m_veinte.Text = "" + et_m_diez.Text = "" + et_m_cinco.Text = "" + et_m_dos.Text = "" + et_m_peso.Text = "" + et_m_centavo.Text = "" + l_total.Text = "" + End If + c.Close + d.Close +End Sub + +Private Sub b_guardar_Click + b_calcular_Click + Starter.skmt.ExecNonQuery("DELETE FROM TABULADOR_MONEDAS") + Starter.skmt.ExecNonQuery("DELETE FROM TABULADOR_BILLETES") + Starter.skmt.ExecNonQuery2("INSERT INTO TABULADOR_BILLETES (MIL, QUINIENTOS, DOCIENTOS, CIEN, CINCUENTA, VEINTE) VALUES (?,?,?,?,?,?)", Array As Object(et_mil.Text,et_quinientos.Text,et_docientos.Text,et_cien.Text,et_cincuenta.Text,et_veinte.Text)) + Starter.skmt.ExecNonQuery2("INSERT INTO TABULADOR_MONEDAS (VEINTE, DIEZ, CINCO, DOS, PESO, CENTAVO, TOTAL) VALUES (?,?,?,?,?,?,?)", Array As Object(et_m_veinte.Text,et_m_diez.Text,et_m_cinco.Text,et_m_dos.Text,et_m_peso.Text,et_m_centavo.Text,l_total.Text)) + B4XPages.ShowPage("Principal") +End Sub + +Private Sub b_calcular_Click + If et_mil.Text = "" Then + et_mil.Text = 0 + End If + If et_quinientos.Text = "" Then + et_quinientos.Text = 0 + End If + If et_docientos.Text = "" Then + et_docientos.Text = 0 + End If + If et_cien.Text = "" Then + et_cien.Text = 0 + End If + If et_cincuenta.Text = "" Then + et_cincuenta.Text = 0 + End If + If et_veinte.Text = "" Then + et_veinte.Text = 0 + End If + If et_m_veinte.Text = "" Then + et_m_veinte.Text = 0 + End If + If et_m_diez.Text = "" Then + et_m_diez.Text = 0 + End If + If et_m_cinco.Text = "" Then + et_m_cinco.Text = 0 + End If + If et_m_dos.Text = "" Then + et_m_dos.Text = 0 + End If + If et_m_peso.Text = "" Then + et_m_peso.Text = 0 + End If + If et_m_centavo.Text = "" Then + et_m_centavo.Text = 0 + End If + sum_billetes = (et_mil.Text * 1000) + (et_quinientos.Text * 500) + (et_docientos.Text * 200) + ( et_cien.Text * 100 ) + ( et_cincuenta.Text * 50 ) + ( et_veinte.Text * 20 ) + sum_monedas = (et_m_veinte.Text * 20) + ( et_m_diez.Text * 10 ) + ( et_m_cinco.Text * 5 ) + ( et_m_dos.Text * 2 ) + ( et_m_peso.Text * 1 ) + ( et_m_centavo.Text * 0.50 ) + total = sum_billetes + sum_monedas + l_total.Text = Round2(total, 2) +End Sub \ No newline at end of file diff --git a/B4A/CameraExClass.bas b/B4A/CameraExClass.bas new file mode 100644 index 0000000..1743551 --- /dev/null +++ b/B4A/CameraExClass.bas @@ -0,0 +1,290 @@ +B4A=true +Group=Default Group +ModulesStructureVersion=1 +Type=Class +Version=7.01 +@EndOfDesignText@ + +'Class module +'version 1.20 +'See this page for the list of constants: +'http://developer.android.com/intl/fr/reference/android/hardware/Camera.Parameters.html +'Note that you should use the constant values instead of the names. +Sub Class_Globals + Private nativeCam As Object + Private cam As Camera + Private r As Reflector + Private target As Object + Private event As String + Public Front As Boolean + Type CameraInfoAndId (CameraInfo As Object, Id As Int) + Type CameraSize (Width As Int, Height As Int) + Private parameters As Object +End Sub + +Public Sub Initialize (Panel1 As Panel, FrontCamera As Boolean, TargetModule As Object, EventName As String) + target = TargetModule + event = EventName + Front = FrontCamera + Dim id As Int + id = FindCamera(Front).id + If id = -1 Then + Front = Not(Front) 'try different camera + id = FindCamera(Front).id + If id = -1 Then + ToastMessageShow("No camera found.", True) + Return + End If + End If + cam.Initialize2(Panel1, "camera", id) +End Sub + +Private Sub FindCamera (frontCamera As Boolean) As CameraInfoAndId + Dim ci As CameraInfoAndId + Dim cameraInfo As Object + Dim cameraValue As Int + If frontCamera Then cameraValue = 1 Else cameraValue = 0 + cameraInfo = r.CreateObject("android.hardware.Camera$CameraInfo") + Dim numberOfCameras As Int = r.RunStaticMethod("android.hardware.Camera", "getNumberOfCameras", Null, Null) + For i = 0 To numberOfCameras - 1 + r.RunStaticMethod("android.hardware.Camera", "getCameraInfo", Array As Object(i, cameraInfo), _ + Array As String("java.lang.int", "android.hardware.Camera$CameraInfo")) + r.target = cameraInfo + If r.GetField("facing") = cameraValue Then + ci.cameraInfo = r.target + ci.Id = i + Return ci + End If + Next + ci.id = -1 + Return ci +End Sub + +Private Sub SetDisplayOrientation + r.target = r.GetActivity + r.target = r.RunMethod("getWindowManager") + r.target = r.RunMethod("getDefaultDisplay") + r.target = r.RunMethod("getRotation") + Dim previewResult, result, degrees As Int = r.target * 90 + Dim ci As CameraInfoAndId = FindCamera(Front) + r.target = ci.CameraInfo + Dim orientation As Int = r.GetField("orientation") + If Front Then + previewResult = (orientation + degrees) Mod 360 + result = previewResult + previewResult = (360 - previewResult) Mod 360 + Else + previewResult = (orientation - degrees + 360) Mod 360 + result = previewResult + Log(previewResult) + End If + r.target = nativeCam + r.RunMethod2("setDisplayOrientation", previewResult, "java.lang.int") + r.target = parameters + r.RunMethod2("setRotation", result, "java.lang.int") + CommitParameters +End Sub + +Private Sub Camera_Ready (Success As Boolean) + If Success Then + r.target = cam + nativeCam = r.GetField("camera") + r.target = nativeCam + parameters = r.RunMethod("getParameters") + SetDisplayOrientation + Else + Log("success = false, " & LastException) + End If + CallSub2(target, event & "_ready", Success) +End Sub + +Sub Camera_Preview (Data() As Byte) + If SubExists(target, event & "_preview") Then + CallSub2(target, event & "_preview", Data) + End If +End Sub +Public Sub TakePicture + cam.TakePicture +End Sub + +Private Sub Camera_PictureTaken (Data() As Byte) + CallSub2(target, event & "_PictureTaken", Data) +End Sub + +Public Sub StartPreview + cam.StartPreview +End Sub + +Public Sub StopPreview + cam.StopPreview +End Sub + +Public Sub Release + cam.Release +End Sub + +'Saves the data received from PictureTaken event +Public Sub SavePictureToFile(Data() As Byte, Dir As String, FileName As String) + Dim out As OutputStream = File.OpenOutput(Dir, FileName, False) + out.WriteBytes(Data, 0, Data.Length) + out.Close +End Sub + +Public Sub SetParameter(Key As String, Value As String) + r.target = parameters + r.RunMethod3("set", Key, "java.lang.String", Value, "java.lang.String") +End Sub + +Public Sub GetParameter(Key As String) As String + r.target = parameters + Return r.RunMethod2("get", Key, "java.lang.String") +End Sub + +Public Sub CommitParameters + Try + r.target = nativeCam + r.RunMethod4("setParameters", Array As Object(parameters), Array As String("android.hardware.Camera$Parameters")) + Catch + ToastMessageShow("Error setting parameters.", True) + Log(LastException) + End Try +End Sub + +Public Sub GetColorEffect As String + Return GetParameter("effect") +End Sub + +Public Sub SetColorEffect(Effect As String) + SetParameter("effect", Effect) +End Sub + +Public Sub GetSupportedPicturesSizes As CameraSize() + r.target = parameters + Dim list1 As List = r.RunMethod("getSupportedPictureSizes") + Dim cs(list1.Size) As CameraSize + For i = 0 To list1.Size - 1 + r.target = list1.Get(i) + cs(i).Width = r.GetField("width") + cs(i).Height = r.GetField("height") + Next + Return cs +End Sub + +Public Sub SetPictureSize(Width As Int, Height As Int) + r.target = parameters + r.RunMethod3("setPictureSize", Width, "java.lang.int", Height, "java.lang.int") +End Sub + +Public Sub SetJpegQuality(Quality As Int) + r.target = parameters + r.RunMethod2("setJpegQuality", Quality, "java.lang.int") +End Sub + +Public Sub SetFlashMode(Mode As String) + r.target = parameters + r.RunMethod2("setFlashMode", Mode, "java.lang.String") +End Sub + +Public Sub GetFlashMode As String + r.target = parameters + Return r.RunMethod("getFlashMode") +End Sub + +Public Sub GetSupportedFlashModes As List + r.target = parameters + Return r.RunMethod("getSupportedFlashModes") +End Sub + +Public Sub GetSupportedColorEffects As List + r.target = parameters + Return r.RunMethod("getSupportedColorEffects") +End Sub + +Public Sub GetPreviewSize As CameraSize + r.target = parameters + r.target = r.RunMethod("getPreviewSize") + Dim cs As CameraSize + cs.Width = r.GetField("width") + cs.Height = r.GetField("height") + Return cs +End Sub + +Public Sub GetPictureSize As CameraSize + r.target = parameters + r.target = r.RunMethod("getPictureSize") + Dim cs As CameraSize + cs.Width = r.GetField("width") + cs.Height = r.GetField("height") + Return cs +End Sub + +'Converts a preview image formatted in YUV format to JPEG. +'Note that you should not save every preview image as it will slow down the whole process. +Public Sub PreviewImageToJpeg(data() As Byte, quality As Int) As Byte() + Dim size, previewFormat As Object + r.target = parameters + size = r.RunMethod("getPreviewSize") + previewFormat = r.RunMethod("getPreviewFormat") + r.target = size + Dim width = r.GetField("width"), height = r.GetField("height") As Int + Dim yuvImage As Object = r.CreateObject2("android.graphics.YuvImage", _ + Array As Object(data, previewFormat, width, height, Null), _ + Array As String("[B", "java.lang.int", "java.lang.int", "java.lang.int", "[I")) + r.target = yuvImage + Dim rect1 As Rect + rect1.Initialize(0, 0, r.RunMethod("getWidth"), r.RunMethod("getHeight")) + Dim out As OutputStream + out.InitializeToBytesArray(100) + r.RunMethod4("compressToJpeg", Array As Object(rect1, quality, out), _ + Array As String("android.graphics.Rect", "java.lang.int", "java.io.OutputStream")) + Return out.ToBytesArray +End Sub + +Public Sub GetSupportedFocusModes As List + r.target = parameters + Return r.RunMethod("getSupportedFocusModes") +End Sub + +Public Sub SetContinuousAutoFocus + Dim modes As List = GetSupportedFocusModes + If modes.IndexOf("continuous-picture") > -1 Then + SetFocusMode("continuous-picture") + Else If modes.IndexOf("continuous-video") > -1 Then + SetFocusMode("continuous-video") + Else + Log("Continuous focus mode is not available") + End If +End Sub + +Public Sub SetFocusMode(Mode As String) + r.target = parameters + r.RunMethod2("setFocusMode", Mode, "java.lang.String") +End Sub + +Public Sub GetFocusDistances As Float() + Dim F(3) As Float + r.target = parameters + r.RunMethod4("getFocusDistances", Array As Object(F), Array As String("[F")) + Return F +End Sub +'This method should only be called if you need to immediately release the camera. +'For example if you need to start another application that depends on the camera. +Public Sub CloseNow + cam.Release + r.target = cam + r.RunMethod2("releaseCameras", True, "java.lang.boolean") +End Sub +'Calls AutoFocus and then takes the picture if focus was successfull. +Public Sub FocusAndTakePicture + cam.AutoFocus +End Sub +Private Sub Camera_FocusDone (Success As Boolean) + If Success Then + TakePicture + Else + Log("AutoFocus error.") + End If +End Sub + + + diff --git a/B4A/DBRequestManager.bas b/B4A/DBRequestManager.bas new file mode 100644 index 0000000..b3d83a1 --- /dev/null +++ b/B4A/DBRequestManager.bas @@ -0,0 +1,272 @@ +B4A=true +Group=Default Group +ModulesStructureVersion=1 +Type=Class +Version=7.01 +@EndOfDesignText@ +'Class module +Sub Class_Globals + Private mTarget As Object + Type DBResult (Tag As Object, Columns As Map, Rows As List) + Type DBCommand (Name As String, Parameters() As Object) + Private link As String + Private bc As ByteConverter + Private T_NULL = 0, T_STRING = 1, T_SHORT = 2, T_INT = 3, T_LONG = 4, T_FLOAT = 5 _ + ,T_DOUBLE = 6, T_BOOLEAN = 7, T_BLOB = 8 As Byte + Private VERSION As Float = 0.9 + Private tempArray(1) As Object + Dim jobTagAnterior As String = "" 'Mod por CHV - 211023 +End Sub + +'Target - The module that handles JobDone (usually Me). +'ConnectorLink - URL of the Java server. +Public Sub Initialize (Target As Object, ConnectorLink As String) + mTarget = Target + link = ConnectorLink +End Sub + +'Sends a query request. +'Command - Query name and parameters. +'Limit - Maximum rows to return or 0 for no limit. +'Tag - An object that will be returned in the result. +Public Sub ExecuteQuery(Command As DBCommand, Limit As Int, Tag As Object) + Dim j As HttpJob + Dim ms As OutputStream + Dim out2 As OutputStream = StartJob(j,ms, Tag) + + WriteObject(Command.Name, out2) + WriteInt(Limit, out2) + WriteList(Command.Parameters, out2) + out2.Close + j.PostBytes(link & "?method=query", ms.ToBytesArray) +End Sub + +'Executes a batch of (non-select) commands. +'ListOfCommands - List of the commands that will be executes. +'Tag - An object that will be returned in the result. +Public Sub ExecuteBatch(ListOfCommands As List, Tag As Object) + Dim j As HttpJob + Dim ms As OutputStream + Dim out2 As OutputStream = StartJob(j,ms, Tag) + WriteInt(ListOfCommands.Size, out2) + For Each Command As DBCommand In ListOfCommands + WriteObject(Command.Name, out2) + WriteList(Command.Parameters, out2) + Next + out2.Close + j.PostBytes(link & "?method=batch", ms.ToBytesArray) +End Sub + +'Similar to ExecuteBatch. Sends a single command. +Public Sub ExecuteCommand(Command As DBCommand, Tag As Object) + ExecuteBatch(Array As DBCommand(Command), Tag) +End Sub + +Private Sub StartJob(j As HttpJob, MemoryStream As OutputStream, Tag As Object) As OutputStream + j.Initialize("DBRequest", mTarget) + j.Tag = Tag + MemoryStream.InitializeToBytesArray(0) + Dim compress As CompressedStreams + Dim out As OutputStream = compress.WrapOutputStream(MemoryStream, "gzip") + WriteObject(VERSION, out) + Return out +End Sub + +Private Sub WriteList(Parameters As List, out As OutputStream) + Dim data() As Byte + If Parameters = Null Or Parameters.IsInitialized = False Then + Dim Parameters As List + Parameters.Initialize + End If + data = bc.IntsToBytes(Array As Int(Parameters.Size)) + out.WriteBytes(data, 0, data.Length) + For Each o As Object In Parameters + WriteObject(o, out) + Next +End Sub + +Private Sub WriteObject(o As Object, out As OutputStream) + Dim data() As Byte + tempArray(0) = o + If tempArray(0) = Null Then + out.WriteBytes(Array As Byte(T_NULL), 0, 1) + Else If tempArray(0) Is Short Then + out.WriteBytes(Array As Byte(T_SHORT), 0, 1) + data = bc.ShortsToBytes(Array As Short(o)) + Else If tempArray(0) Is Int Then + out.WriteBytes(Array As Byte(T_INT), 0, 1) + data = bc.IntsToBytes(Array As Int(o)) + Else If tempArray(0) Is Float Then + out.WriteBytes(Array As Byte(T_FLOAT), 0, 1) + data = bc.FloatsToBytes(Array As Float(o)) + Else If tempArray(0) Is Double Then + out.WriteBytes(Array As Byte(T_DOUBLE), 0, 1) + data = bc.DoublesToBytes(Array As Double(o)) + Else If tempArray(0) Is Long Then + out.WriteBytes(Array As Byte(T_LONG), 0, 1) + data = bc.LongsToBytes(Array As Long(o)) + Else If tempArray(0) Is Boolean Then + out.WriteBytes(Array As Byte(T_BOOLEAN), 0, 1) + Dim b As Boolean = 0 + Dim data(1) As Byte + If b Then data(0) = 1 Else data(0) = 0 + Else If GetType(tempArray(0)) = "[B" Then + data = o + out.WriteBytes(Array As Byte(T_BLOB), 0, 1) + WriteInt(data.Length, out) + Else 'If o Is String Then (treat all other values as string) + out.WriteBytes(Array As Byte(T_STRING), 0, 1) + data = bc.StringToBytes(o, "UTF8") + WriteInt(data.Length, out) + End If + If data.Length > 0 Then out.WriteBytes(data, 0, data.Length) +End Sub + +Private Sub ReadObject(In As InputStream) As Object + Dim data(1) As Byte + In.ReadBytes(data, 0, 1) + Select data(0) + Case T_NULL + Return Null + Case T_SHORT + Dim data(2) As Byte + Return bc.ShortsFromBytes(ReadBytesFully(In, data, data.Length))(0) + Case T_INT + Dim data(4) As Byte + Return bc.IntsFromBytes(ReadBytesFully(In, data, data.Length))(0) + Case T_LONG + Dim data(8) As Byte + Return bc.LongsFromBytes(ReadBytesFully(In, data, data.Length))(0) + Case T_FLOAT + Dim data(4) As Byte + Return bc.FloatsFromBytes(ReadBytesFully(In, data, data.Length))(0) + Case T_DOUBLE + Dim data(8) As Byte + Return bc.DoublesFromBytes(ReadBytesFully(In, data, data.Length))(0) + Case T_BOOLEAN + Dim b As Byte = ReadByte(In) + Return b = 1 + Case T_BLOB + Dim len As Int = ReadInt(In) + Dim data(len) As Byte + Return ReadBytesFully(In, data, data.Length) + Case Else + Dim len As Int = ReadInt(In) + Dim data(len) As Byte + ReadBytesFully(In, data, data.Length) + Return BytesToString(data, 0, data.Length, "UTF8") + End Select +End Sub + +Private Sub ReadBytesFully(In As InputStream, Data() As Byte, Len As Int) As Byte() + Dim count = 0, read As Int + Do While count < Len And read > -1 + read = In.ReadBytes(Data, count, Len - count) + count = count + read + Loop + Return Data +End Sub + +Private Sub WriteInt(i As Int, out As OutputStream) + Dim data() As Byte + data = bc.IntsToBytes(Array As Int(i)) + out.WriteBytes(data, 0, data.Length) +End Sub + +Private Sub ReadInt(In As InputStream) As Int + Dim data(4) As Byte + Return bc.IntsFromBytes(ReadBytesFully(In, data, data.Length))(0) +End Sub + +Private Sub ReadByte(In As InputStream) As Byte + Dim data(1) As Byte + In.ReadBytes(data, 0, 1) + Return data(0) +End Sub + +'Handles the Job result and returns a DBResult. +Public Sub HandleJob(Job As HttpJob) As DBResult +' Dim start As Long = DateTime.Now + Dim In As InputStream = Job.GetInputStream + Dim cs As CompressedStreams + In = cs.WrapInputStream(In, "gzip") + Dim serverVersion As Float = ReadObject(In) 'ignore + Dim method As String = ReadObject(In) + Dim table As DBResult + table.Initialize + table.Columns.Initialize + table.rows.Initialize + table.Tag = Job.Tag + If jobTagAnterior <> Job.Tag Then LogColor("HandleJob: '"&Job.Tag&"'", Colors.Blue) 'Mod por CHV - 211023 + jobTagAnterior = Job.Tag 'Mod por CHV - 211023 + If method = "query" Then + Dim numberOfColumns As Int = ReadInt(In) + For i = 0 To numberOfColumns - 1 + table.Columns.Put(ReadObject(In), i) + Next + Do While ReadByte(In) = 1 + Dim rowObjects(numberOfColumns) As Object + table.rows.Add(rowObjects) + For col = 0 To numberOfColumns - 1 + Dim o As Object = ReadObject(In) + rowObjects(col) = o + Next + Loop + Else If method = "batch" Then + table.Columns.Put("AffectedRows", 0) + Dim rows As Int = ReadInt(In) + For i = 0 To rows - 1 + table.rows.Add(Array As Object(ReadInt(In))) + Next + End If + In.Close + Return table +End Sub + +'Reads a file and returns the file as a bytes array. +Public Sub FileToBytes(Dir As String, FileName As String) As Byte() + Dim out As OutputStream + out.InitializeToBytesArray(0) + Dim In As InputStream = File.OpenInput(Dir, FileName) + File.Copy2(In, out) + out.Close + Return out.ToBytesArray +End Sub + +'Converts an image to a bytes array (for BLOB fields). +Public Sub ImageToBytes(Image As Bitmap) As Byte() + Dim out As OutputStream + out.InitializeToBytesArray(0) + Image.WriteToStream(out, 100, "JPEG") + out.Close + Return out.ToBytesArray +End Sub +'Converts a bytes array to an image (for BLOB fields). +Public Sub BytesToImage(bytes() As Byte) As Bitmap + Dim In As InputStream + In.InitializeFromBytesArray(bytes, 0, bytes.Length) + Dim bmp As Bitmap + bmp.Initialize2(In) + Return bmp +End Sub + +'Prints the table to the logs. +Public Sub PrintTable(Table As DBResult) + Log("Tag: " & Table.Tag & ", Columns: " & Table.Columns.Size & ", Rows: " & Table.Rows.Size) + Dim sb As StringBuilder + sb.Initialize + For Each col In Table.Columns.Keys + sb.Append(col).Append(TAB) + Next + Log(sb.ToString) + For Each row() As Object In Table.Rows + Dim sb As StringBuilder + sb.Initialize + For Each record As Object In row + sb.Append(record).Append(TAB) + Next + ToastMessageShow(sb.ToString, True) + Next +End Sub + + \ No newline at end of file diff --git a/B4A/EscPosPrinter.bas b/B4A/EscPosPrinter.bas new file mode 100644 index 0000000..cbfb796 --- /dev/null +++ b/B4A/EscPosPrinter.bas @@ -0,0 +1,2302 @@ +B4A=true +Group=Default Group +ModulesStructureVersion=1 +Type=Class +Version=9.3 +@EndOfDesignText@ +'#IgnoreWarnings: 9 +'' 9 = unused variable +' +'Sub Class_Globals +' ' 1.0 Initial version +' ' 2.0 Added FeedPaper, changed many WriteString(.." & Chr(number)) instances to WriteBytes(params) +' ' This is to avoid Unicode code page transformations on some numbers > 32 +' ' Added PrintAndFeedPaper, setRelativePrintPosn, +' ' Added user defined characters, DefineCustomCharacter, DeleteCustomCharacter and setUseCustomCharacters +' ' Addedhelper methods CreateCustomCharacter, CreateLine, CreateBox and CreateCircle +' Private Version As Double = 2.0 ' Printer class version +' +' Type AnImage(Width As Int, Height As Int, Data() As Byte) +' +' Private EventName As String 'ignore +' Private CallBack As Object 'ignore +' +' Private Serial1 As Serial +' Private Astream As AsyncStreams +' Private Connected As Boolean +' Private ConnectedError As String +' +' Dim ESC As String = Chr(27) +' Dim FS As String = Chr(28) +' Dim GS As String = Chr(29) +' +' 'Bold and underline don't work well in reversed text +' Dim UNREVERSE As String = GS & "B" & Chr(0) +' Dim REVERSE As String = GS & "B" & Chr(1) +' +' ' Character orientation. Print upside down from right margin +' Dim UNINVERT As String = ESC & "{0" +' Dim INVERT As String = ESC & "{1" +' +' ' Character rotation clockwise. Not much use without also reversing the printed character sequence +' Dim UNROTATE As String = ESC & "V0" +' Dim ROTATE As String = ESC & "V1" +' +' ' Horizontal tab +' Dim HT As String = Chr(9) +' +' ' Character underline +' Dim ULINE0 As String = ESC & "-0" +' Dim ULINE1 As String = ESC & "-1" +' Dim ULINE2 As String = ESC & "-2" +' +' ' Character emphasis +' Dim BOLD As String = ESC & "E1" +' Dim NOBOLD As String = ESC & "E0" +' +' ' Character height and width +' Dim SINGLE As String = GS & "!" & Chr(0x00) +' Dim HIGH As String = GS & "!" & Chr(0x01) +' Dim WIDE As String = GS & "!" & Chr(0x10) +' Dim HIGHWIDE As String = GS & "!" & Chr(0x11) +' +' ' Default settings +' Private LEFTJUSTIFY As String = ESC & "a0" +' Private LINEDEFAULT As String = ESC & "2" +' Private LINSET0 As String = ESC & "$" & Chr(0x0) & Chr(0x0) +' Private LMARGIN0 As String = GS & "L" & Chr(0x0) & Chr(0x0) +' Private WIDTH0 As String = GS & "W" & Chr(0xff) & Chr(0xff) +' Private CHARSPACING0 As String = ESC & " " & Chr(0) +' Private CHARFONT0 As String = ESC & "M" & Chr(0) +' Dim DEFAULTS As String = CHARSPACING0 & CHARFONT0 & LMARGIN0 & WIDTH0 & LINSET0 & LINEDEFAULT & LEFTJUSTIFY _ +' & UNINVERT & UNROTATE & UNREVERSE & NOBOLD & ULINE0 +' +'End Sub +' +''********** +''PUBLIC API +''********** +' +''Initialize the object with the parent and event name +'Public Sub Initialize(vCallback As Object, vEventName As String) +' EventName = vEventName +' CallBack = vCallback +' Serial1.Initialize("Serial1") +' Connected = False +' ConnectedError = "" +'End Sub +' +'' Returns any error raised by the last attempt to connect a printer +'Public Sub ConnectedErrorMsg As String +' Return ConnectedError +'End Sub +' +'' Returns whether a printer is connected or not +'Public Sub IsConnected As Boolean +' Return Connected +'End Sub +' +'' Returns whether Bluetooth is on or off +'Public Sub IsBluetoothOn As Boolean +' Return Serial1.IsEnabled +'End Sub +' +'' Ask the user to connect to a printer and return whether she tried or not +'' If True then a subsequent Connected event will indicate success or failure +'Public Sub Connect As Boolean +' 'leos +'' Serial1.Connect("88:6B:0F:3E:53:9E") +'' Return True +' Try +' If Starter.MAC_IMPRESORA = "0" Then +' Dim PairedDevices As Map +' PairedDevices = Serial1.GetPairedDevices +' Dim l As List +' l.Initialize +' Log("aqui 1") +' For i = 0 To PairedDevices.Size - 1 +' l.Add(PairedDevices.GetKeyAt(i)) +' Log("aqui 2") +' DisConnect +' Next +' Dim Res As Int +' Res = InputList(l, "Choose a printer", -1) 'show list with paired devices 'ignore +' If Res <> DialogResponse.CANCEL Then +' Serial1.Connect(PairedDevices.Get(l.Get(Res))) 'convert the name to mac address +' 'Msgbox(PairedDevices.Get(l.Get(Res)),"mac") +' Starter.mac_impresora = PairedDevices.Get(l.Get(Res)) +' Return True +' DisConnect +' Log("aqui 3") +' End If +' Log("aqui 4") +' Return False +' Else +' Serial1.Connect(Starter.mac_impresora) +' ' Starter.mac_impresora = colonia.MAC_IMPRESORA +' Return True +' DisConnect +' Log("aqui 5") +' End If +' Catch +' Log(LastException) +' Return False +' End Try +'End Sub +' +' +'' Disconnect the printer +'Public Sub DisConnect +' Serial1.Disconnect +' Connected = False +'End Sub +' +'' Reset the printer to the power on state +'Public Sub Reset +' WriteString(ESC & "@") +'End Sub +' +''-------------- +'' Text Commands +''-------------- +' +'' Print any outstanding characters then feed the paper the specified number of units of 0.125mm +'' This is similar to changing LineSpacing before sending CRLF but this has a one off effect +'' A full character height is always fed even if units = 0. Units defines the excess over this minimum +'Public Sub PrintAndFeedPaper(units As Int) +' WriteString(ESC & "J") +' Dim params(1) As Byte +' params(0) = units +' WriteBytes(params) +'End Sub +' +'' Set the distance between characters +'Public Sub setCharacterSpacing(spacing As Int) +' WriteString(ESC & " ") +' Dim params(1) As Byte +' params(0) = spacing +' WriteBytes(params) +'End Sub +' +'' Set the left inset of the next line to be printed +'' Automatically resets to 0 for the following line +'' inset is specified in units of 0.125mm +'Public Sub setLeftInset(inset As Int) +' Dim dh As Int = inset / 256 +' Dim dl As Int = inset - dh +' WriteString(ESC & "$" & Chr(dl) & Chr(dh)) +' Dim params(2) As Byte +' params(0) = dl +' params(1) = dh +' WriteBytes(params) +'End Sub +' +'' Set the left margin of the print area, must be the first item on a new line +'' margin is specified in units of 0.125mm +'' This affects barcodes as well as text +'Public Sub setLeftMargin(margin As Int) +' Dim dh As Int = margin / 256 +' Dim dl As Int = margin - dh +' WriteString(GS & "L") +' Dim params(2) As Byte +' params(0) = dl +' params(1) = dh +' WriteBytes(params) +'End Sub +' +'' Set the width of the print area, must be the first item on a new line +'' margin is specified in units of 0.125mm +'' This affects barcodes as well as text +'' This appears to function more like a right margin than a print area width when used with LeftMargin +'Public Sub setPrintWidth(width As Int) +' Dim dh As Int = width / 256 +' Dim dl As Int = width - dh +' WriteString(GS & "W") +' Dim params(2) As Byte +' params(0) = dl +' params(1) = dh +' WriteBytes(params) +'End Sub +' +'' Set the distance between lines in increments of 0.125mm +'' If spacing is < 0 then the default of 30 is set +'Public Sub setLineSpacing(spacing As Int) +' If spacing < 0 Then +' WriteString(ESC & "2") +' Else +' WriteString(ESC & "3") +' Dim params(1) As Byte +' params(0) = spacing +' WriteBytes(params) +' End If +'End Sub +' +'' Set the line content justification, must be the first item on a new line +'' 0 left, 1 centre, 2 right +'Public Sub setJustify(justify As Int) +' WriteString(ESC & "a" & Chr(justify + 48)) +'End Sub +' +'' Set the codepage of the printer +'' You need to look at the printer documentation to establish which codepages are supported +'Public Sub setCodePage(codepage As Int) +' WriteString(ESC & "t") +' Dim params(1) As Byte +' params(0) = codepage +' WriteBytes(params) +'End Sub +' +'' Select the size of the font for printing text. 0 = Font A (12 x 24), 1 = Font B (9 x 17) +'' For font B you may want to set the line spacing to a lower value than the default of 30 +'' This affects only the size of printed characters. The code page determines the actual character set +'' On my printer setting UseCustomCharacters = while Font B is selected crashes the printer and turns it off +'Public Sub setCharacterFont(font As Int) +' WriteString(ESC & "M" & Chr(Bit.And(1,font))) +'End Sub +' +'' Set the positions of the horizontal tabs +'' Each tab is specified as a number of character widths from the beginning of the line +'' There may be up to 32 tab positions specified each of size up to 255 characters +'' The printer default is that no tabs are defined +'Public Sub setTabPositions(tabs() As Int) +' WriteString(ESC & "D") +' Dim data(tabs.Length+1) As Byte +' For i = 0 To tabs.Length - 1 +' data(i) = tabs(i) +' Next +' data(tabs.Length) = 0 +' WriteBytes(data) +'End Sub +' +'' Set print position relative to the current position using horizontal units of 0.125mm +'' relposn can be negative +'' Unless I have misundertood this doesn't work as documented on my printer +'' It only seems take effect at the beginning of a line as a one off effect +'Public Sub setRelativePrintPosn(relposn As Int) +' Dim dh As Int = relposn / 256 +' Dim dl As Int = relposn - dh +' WriteString(ESC & "\") +' Dim params(2) As Byte +' params(0) = dl +' params(1) = dh +' WriteBytes(params) +'End Sub +' +'' Send the contents of an array of bytes to the printer +'' Remember that if the printer is expecting text the bytes will be printed as characters in the current code page +'Public Sub WriteBytes(data() As Byte) +' If Connected Then +' Astream.Write(data) +' End If +'End Sub +' +'' Send the string to the printer in IBM437 encoding which is the original PC DOS codepage +'' This is usually the default codepage for a printer and is CodePage = 0 +'' Beware of using WriteString with Chr() to send numeric values as they may be affected by Unicode to codepage translations +'' Most character level operations are pre-defined as UPPERCASE string variables for easy concatenation with other string data +'Public Sub WriteString(data As String) +' WriteString2(data, "IBM437") +'End Sub +' +'' Send the string to the printer in the specified encoding +'' You also need to set the printer to a matching encoding using the CodePage property +'' Beware of using WriteString2 with Chr() to send numeric values as they may be affected by codepage substitutions +'' Most character level operations are pre-defined as UPPERCASE string variables for easy concatenatipon with other string data +'Public Sub WriteString2(data As String, encoding As String) +' Try +' If Connected Then +' Astream.Write(data.GetBytes(encoding)) +' End If +' Catch +' Log("Printer error : " & LastException.Message) +' AStream_Error +' End Try +'End Sub +' +''----------------------------------------- +'' User defined character commands commands +''----------------------------------------- +' +'' Delete the specified user defined character mode +'' This command deletes the pattern defined for the specified code in the font selected by ESC ! +'' If the code is subsequently printed in custom character mode the present code page character is printed instead +'Public Sub DeleteCustomCharacter(charcode As Int) +' WriteString(ESC & "?") +' Dim params(1) As Byte +' params(0) = charcode +' WriteBytes(params) +'End Sub +' +'' Enable the user defined character mode if custom is True, revert to normal if custom is False +'' If a custom character has not been defined for a given character code then the default character for the present font is printed +'' FontA and FontB have separate definitions for custom characters +'' On my printer setting UseCustomCharacters = while Font B is selected crashes the printer and turns it off +'' Therefore the cuatom character routines have not been tested on ont B +'Public Sub setUseCustomCharacters(custom As Boolean) +' If custom Then +' WriteString(ESC & "%1") +' Else +' WriteString(ESC & "%0") +' End If +'End Sub +' +'' Define a user defined character +'' The allowable character code range is the 95 characters) from ASCII code 32 (0x20) to 126 (0x7E) +'' Characters can be defined in either font A (12*24) or font B (9*17) as selected by present setting of CharacterFont +'' The programmer must ensure that the correct font size definition is used for the present setting of CharacterFont +'' The user-defined character definition is cleared when Reset is invoked or the printer is turned off +'' The vertical and horizontal printed resolution is approximaely 180dpi +'' Characters are always defined by sets of three bytes in the vertical direction and up to 9 or 12 sets horizontally +'' Each byte defines a vertical line of 8 dots. The MSB of each byte is the highest image pixel, the LSB is the lowest +'' Byte(0+n) defines the topmost third of the vertical line, Byte(1+n) is below and Byte(2+n) is the lowest +'' Set a bit to 1 to print a dot or 0 to not print a dot +'' If the lines to the right of the character are blank then there set of three bytes can be omiited from the byte array +'' When the user-defined characters are defined in font B (9*17) only the most significant bit of the 3rd byte of data is used +'' charcode defines the character code for the character being defined +'' bitdata is a Byte array containing the character definitiopn as described above. +'' If the length of bitdata is not a multiple of 3 the definition is ignored and a value of -1 returned +'Public Sub DefineCustomCharacter(charcode As Int, bitdata() As Byte) As Int +' Dim excess As Int = bitdata.Length Mod 3 +' If excess <> 0 Then Return -1 +' Dim size As Int = bitdata.Length / 3 +' WriteString(ESC & "&") +' Dim params(4) As Byte +' params(0) = 3 +' params(1) = charcode +' params(2) = charcode +' params(3) = size +' WriteBytes(params) +' WriteBytes(bitdata) +' Return 0 +'End Sub +' +'' The third triangle point is hacked into spare bits keeping the generated Int human readable i hex for other shapes +'' The shape array contains the character shapes and characterfont is 0 for a 12*24 character andd 1 for a 9*17 character +'' Returns a Byte(36) for characterfont = 0 and a Byte(27) for characterfont = 1 +'' The returned array can be directly passed to DefineCustomCharacter +'' To define a custom character requires specifying up to 288 data points +'' This is a lot of data and in most cases it is mainly white space +'' This method takes a character definition that defines only the shapes in the character that are to be printed black +'' It will be easier use the outputs from CreateLine, CreateTriangle, CreateBox and CreateCircle rather then building the actual Int values +'' Each shape is defined by a single Int value containing four parameters in hex format plugs some single bit flags +'' Taking the representation of the Int as eight hex characters numbered from the MS end as 0x01234567 +'' 0 contains the shape to draw. 0 = Line, 1 = Box, 2 = Circle, 3 = Triangle +'' 1 contains a value between 0 and 0xF. This is either an X coordinate or for a circle the radius +'' 2 and 3 contain a value between 0 and 0x1F. This is either a Y coordinate or for a circle the quadrants to draw +'' 4 contains a value between 0 and 0xF. This is 0 for an empty shope or 1 for a filled shape +'' 5 contains a value between 0 and 0xF. This is an X coordinate +'' 5 and 6 contain a value between 0 and 0x1F. This is a Y coordinate +'' The coordinate 0,0 is at the top left of the character +'' Line +'' One point of the vector is contained in the top part of the Int and the other in the bottom half +'' To define a single point place its coordinates as both sr=start and end of a line +'' Box +'' The two X,Y coordinates specify the top left and bottom right corners of the box +'' Circle +'' The left X parameter is now the radius of the circle, the left Y is the quadrants to be drawn +'' The right X and Y parameters are the centre of the circle' +'' The quadrants to draw are bit ORed together, UpperRight = 0x1, LowerRight = 0x2, LowerLeft = 0x4, Upper Left = 0x8 +'' Triangle +'' The left X and Y parameters are now one point of the triangle, the right X and Y parameters another point +'' The third triangle point is hacked into spare bits keeping the generated Int human readable in hex for the other shapes +'' The bit allocations of a shape are as follows. f = fill as 0 or 1, s = shape as 0 to 7, xn as 0 to 15, yn as 0 to 31 +'' Shape 0 = line, 1 = box, 2 = triangle, 3 = circle, 4 to 7 = unused +'' fsss xxxx -yyy yyyy xxxx xxxx yyyy yyyy +'' 0000 220 0000 2222 1111 2221 1111 +'' x0 y2 y0 x2 x1 y2 y1 +'' The shape array contains the character shapes and characterfont is 0 for a 12*24 character andd 1 for a 9*17 character +'' Returns a Byte(36) for characterfont = 0 and a Byte(27) for characterfont = 1 +'' The returned array can be directly passed to DefineCustomCharacter +'Public Sub CreateCustomCharacter(shapes() As Int, characterfont As Int) As Byte() +' Dim masks(8) As Byte +' masks(0) = 0x80 +' masks(1) = 0x40 +' masks(2) = 0x20 +' masks(3) = 0x10 +' masks(4) = 0x08 +' masks(5) = 0x04 +' masks(6) = 0x02 +' masks(7) = 0x01 +' ' rather than try to catch errors whenever we access this array we Dim it to the maximum possible values of X and Y +' ' then copy the top left of it to the final character definition array of the correct size +' Dim points(16,32) As Byte +' ' initialise the character to all white +' For x = 0 To 15 +' For y = 0 To 31 +' points(x,y) = 0 +' Next +' Next +' Dim size As Int = 12 +' If characterfont = 1 Then size = 9 +' Dim charbyes(size * 3) As Byte +' For c = 0 To charbyes.Length - 1 +' charbyes(c) = 0 +' Next +' ' set the points array from the shapes provided +' For i = 0 To shapes.Length -1 +' Dim fill As Int = Bit.UnsignedShiftRight(Bit.And(0x80000000, shapes(i)), 31) +' Dim shape As Int = Bit.UnsignedShiftRight(Bit.And(0x70000000, shapes(i)), 28) +' Dim x0 As Int = Bit.UnsignedShiftRight(Bit.And(0x0f000000, shapes(i)), 24) +' Dim y0 As Int = Bit.UnsignedShiftRight(Bit.And(0x001f0000, shapes(i)), 16) +' Dim x1 As Int = Bit.UnsignedShiftRight(Bit.And(0x00000f00, shapes(i)), 8) +' Dim y1 As Int = Bit.And(0x0000001f, shapes(i)) +' Dim x2 As Int = Bit.UnsignedShiftRight(Bit.And(0x0000f000, shapes(i)), 12) +' Dim y2 As Int = Bit.UnsignedShiftRight(Bit.And(0x00e00000, shapes(i)), 18) + Bit.UnsignedShiftRight(Bit.And(0x000000e0, shapes(i)), 5) +' ' The bit allocations of a shape are as follows. f = fill as 0 or 1, s = shape as 0 to 7, xn as 0 to 15, yn as 0 to 31 +' ' Shape 0 = line, 1 = box, 2 = triangle, 3 = circle, 4 to 7 = unused +' ' fsss xxxx -yyy yyyy xxxx xxxx yyyy yyyy +' ' 0000 220 0000 2222 1111 2221 1111 +' ' x0 y2 y0 x2 x1 y2 y1 +' Dim logmsg As String = ": Fill=" & fill & " : Points " & x0 & "," & y0 & " " & x1 & "," & y1 & " " & x2 & "," & y2 +' If shape = 3 Then +' Log("Triangle " & logmsg) +' PlotTriangle(x0, y0, x1, y1, x2, y2, points, fill) +' else If shape = 2 Then +' Log("Circle " & logmsg) +' PlotCircle(x0, y0, x1, y1, points, fill) +' Else If shape = 1 Then +' Log("Box " & logmsg) +' PlotBox(x0, y0, x1, y1, points, fill) +' Else +' Log("Line " & logmsg) +' PlotLine(x0, y0, x1, y1, points) +' End If +' ' map the points array onto the character definition array +' For x = 0 To size -1 ' 9 or 12 horizontal bytes +' For y = 0 To 2 ' 3 vertical bytes +' Dim bits As Byte = 0 +' For b = 0 To 7 ' 8 vertical bits +' If points(x, y*8+b) <> 0 Then +' bits = Bit.Or(bits, masks(b)) +' End If +' Next +' charbyes(x*3+y) = bits +' Next +' Next +' Next +' Return charbyes +'End Sub +' +'' This is a higher level method that builds the Int values to pass to CreateCustomCharacter in the shapes array +'' Create the value to draw a line in a custom character +'' The line starts at X0,Y0 and ends at X1,Y1 +'Public Sub CreateLine(x0 As Int, y0 As Int, x1 As Int, y1 As Int) As Int +' Dim line As Int = 0 +' line = line + Bit.ShiftLeft(Bit.And(0xf,x0), 24) +' line = line + Bit.ShiftLeft(Bit.And(0x1f,y0), 16) +' line = line + Bit.ShiftLeft(Bit.And(0xf,x1), 8) +' line = line + Bit.And(0x1f,y1) +' Return line +'End Sub +' +'' This is a higher level method that builds the Int values to pass to CreateCustomCharacter in the shapes array +'' Create the value to draw a circle in a custom character +'' The circle is centred on X1,Y1 and the quadrants to draw are bit ORed together +'' UpperRight = 0x1, LowerRight = 0x2, LowerLeft = 0x4, Upper Left = 0x8 +'Public Sub CreateCircle(radius As Int, quadrants As Int, x1 As Int, y1 As Int, fill As Boolean) As Int +' Dim circle As Int = 0x20000000 +' If fill Then circle = circle + 0x80000000 +' circle = circle + Bit.ShiftLeft(radius, 24) +' circle = circle + Bit.ShiftLeft(quadrants, 16) +' circle = circle + Bit.ShiftLeft(x1, 8) +' circle = circle + y1 +' Return circle +'End Sub +' +' +'' This is a higher level method that builds the Int values to pass to CreateCustomCharacter in the shapes array +'' Create the value to draw a triangle in a custom character +'' The triangles corners are at X0,Y0 X1,Y1 and X2,Y2 +'Public Sub CreateTriangle(x0 As Int, y0 As Int, x1 As Int, y1 As Int, x2 As Int, y2 As Int, fill As Boolean) As Int +' Dim triangle As Int = 0x30000000 +' If fill Then triangle = triangle + 0x80000000 +' triangle = triangle + Bit.ShiftLeft(Bit.And(0xf,x0), 24) +' triangle = triangle + Bit.ShiftLeft(Bit.And(0x1f,y0), 16) +' triangle = triangle + Bit.ShiftLeft(Bit.And(0xf,x1), 8) +' triangle = triangle + Bit.And(0x1f,y1) +' triangle = triangle + Bit.ShiftLeft(Bit.And(0xf,x2), 12) ' extra X +' triangle = triangle + Bit.ShiftLeft(Bit.And(0x7,y2), 5) ' extra Y lsbits * 3 +' triangle = triangle + Bit.ShiftLeft(Bit.And(0x18,y2), 18) ' extra Y msbits * 2 +' Return triangle +'End Sub +' +'' This is a higher level method that builds the Int values to pass to CreateCustomCharacter in the shapes array +'' Create the value to draw a box in a custom character +'' The box top left start is X0,Y0 and bottom right is X1,Y1 +'Public Sub CreateBox(x0 As Int, y0 As Int, x1 As Int, y1 As Int, fill As Boolean) As Int +' Dim box As Int = 0x10000000 +' If fill Then box = box + 0x80000000 +' box = box + Bit.ShiftLeft(Bit.And(0xf,x0), 24) +' box = box + Bit.ShiftLeft(Bit.And(0x1f,y0), 16) +' box = box + Bit.ShiftLeft(Bit.And(0xf,x1), 8) +' box = box + Bit.And(0x1f,y1) +' Return box +'End Sub +' +''----------------------------------------- +'' Private custom character drawing methods +''----------------------------------------- +' +'Private Sub PlotTriangle(x0 As Int, y0 As Int, x1 As Int, y1 As Int, x2 As Int, y2 As Int, points(,) As Byte, Fill As Int) +' ' This is a pretty crude algorithm, but it is simple, works and it isn't invoked often +' PlotLine(x0, y0, x1, y1, points) +' PlotLine(x1, y1, x2, y2, points) +' PlotLine(x2, y2, x0, y0, points) +' If Fill > 0 Then +' FillTriangle(x0, y0, x1, y1, x2, y2, points) +' End If +'End Sub +' +'Private Sub FillTriangle(x0 As Int, y0 As Int, x1 As Int, y1 As Int, x2 As Int, y2 As Int, points(,) As Byte) +' ' first sort the three vertices by y-coordinate ascending so v0 Is the topmost vertice */ +' Dim tx, ty As Int +' If y0 > y1 Then +' tx = x0 : ty = y0 +' x0 = x1 : y0 = y1 +' x1 = tx : y1 = ty +' End If +' If y0 > y2 Then +' tx = x0 : ty = y0 +' x0 = x2 : y0 = y2 +' x2 = tx : y2 = ty +' End If +' If y1 > y2 Then +' tx = x1 : ty = y1 +' x1 = x2 : y1 = y2 +' x2 = tx : y2 = ty +' End If +' +' Dim dx0, dx1, dx2 As Double +' Dim x3, x4, y3, y4 As Double +' Dim inc As Int +' +' If y1 - y0 > 0 Then dx0=(x1-x0)/(y1-y0) Else dx0=0 +' If y2 - y0 > 0 Then dx1=(x2-x0)/(y2-y0) Else dx1=0 +' If y2 - y1 > 0 Then dx2=(x2-x1)/(y2-y1) Else dx2=0 +' x3 = x0 : x4 = x0 +' y3 = y0 : y4 = y0 +' If dx0 > dx1 Then +' While +' Do While y3 <= y1 +' If x3 > x4 Then inc = -1 Else inc = 1 +' For x = x3 To x4 Step inc +' points(x, y3) = 1 +' Next +' y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4 = x4 + dx0 +' Loop +' x4=x1 +' y4=y1 +' Do While y3 <= y2 +' If x3 > x4 Then inc = -1 Else inc = 1 +' For x = x3 To x4 Step inc +' points(x ,y3) = 1 +' Next +' y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4 = x4 + dx2 +' Loop +' Else +' While +' Do While y3 <= y1 +' If x3 > x4 Then inc = -1 Else inc = 1 +' For x = x3 To x4 Step inc +' points(x, y3) = 1 +' Next +' y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx0 : x4 = x4 +dx1 +' Loop +' x3=x1 +' y3=y1 +' Do While y3<=y2 +' If x3 > x4 Then inc = -1 Else inc = 1 +' For x = x3 To x4 Step inc +' points(x, y3) = 1 +' Next +' y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx2 : x4 = x4 + dx1 +' Loop +' End If +'End Sub +' +'Private Sub PlotBox(x0 As Int, y0 As Int, x1 As Int, y1 As Int, points(,) As Byte, Fill As Int) +' ' This is a pretty crude algorithm, but it is simple, works and itsn't invoked often +' PlotLine(x0, y0, x0, y1, points) +' PlotLine(x0, y0, x1, y0, points) +' PlotLine(x1, y0, x1, y1, points) +' PlotLine(x0, y1, x1, y1, points) +' If Fill > 0 Then +' For x = x0 To x1 +' PlotLine(x, y0, x, y1, points) +' Next +' End If +'End Sub +' +' +'Private Sub PlotCircle(radius As Int, quadrants As Int, x1 As Int, y1 As Int, points(,) As Byte, fill As Int) +' ' This is a pretty crude algorithm, but it is simple, works and itsn't invoked often +' Dim mask As Int = 1 +' For q = 3 To 0 Step -1 +' If Bit.And(quadrants, mask) <> 0 Then +' For i = q*90 To q*90+90 Step 1 +' Dim x,y As Double +' x = x1 - SinD(i)*radius +' y = y1 - CosD(i)*radius +' If fill > 0 Then +' PlotLine(x1, y1, x, y, points) +' Else +' points(Round(x), Round(y)) = 1 +' End If +' Next +' End If +' mask = Bit.ShiftLeft(mask, 1) +' Next +'End Sub +' +'' Bresenham's line algorithm - see Wikipedia +'Private Sub PlotLine(x0 As Int, y0 As Int, x1 As Int, y1 As Int, points(,) As Byte ) +' If Abs(y1 - y0) < Abs(x1 - x0) Then +' If x0 > x1 Then +' PlotLineLow(x1, y1, x0, y0, points) +' Else +' PlotLineLow(x0, y0, x1, y1, points) +' End If +' Else +' If y0 > y1 Then +' PlotLineHigh(x1, y1, x0, y0, points) +' Else +' PlotLineHigh(x0, y0, x1, y1, points) +' End If +' End If +'End Sub +' +'Private Sub PlotLineHigh(x0 As Int, y0 As Int, x1 As Int, y1 As Int, points(,) As Byte ) +' Dim dx As Int = x1 - x0 +' Dim dy As Int = y1 - y0 +' Dim xi As Int = 1 +' If dx < 0 Then +' xi = -1 +' dx = -dx +' End If +' Dim D As Int = 2*dx - dy +' Dim x As Int = x0 +' For y = y0 To y1 +' points(x,y) = 1 +' If D > 0 Then +' x = x + xi +' D = D - 2*dy +' End If +' D = D + 2*dx +' Next +'End Sub +' +'Private Sub PlotLineLow(x0 As Int, y0 As Int, x1 As Int,y1 As Int, points(,) As Byte ) +' Dim dx As Int = x1 - x0 +' Dim dy As Int = y1 - y0 +' Dim yi As Int = 1 +' If dy < 0 Then +' yi = -1 +' dy = -dy +' End If +' Dim D As Int = 2*dy - dx +' Dim y As Int = y0 +' For x = x0 To x1 +' points(x,y) = 1 +' If D > 0 Then +' y = y + yi +' D = D - 2*dx +' End If +' D = D + 2*dy +' Next +'End Sub +' +' +''------------------- +'' Image commands +''------------------- +'' There are two different image printing options with different pixel formats. +'' PrintImage prints an entire image at once with a maximum size of 576x512 +'' PrintImage2 prints a slice of an image with a height of 8 or 24 and a maximum width of 576 +'' One or other may look better on your particular printer +' +'' Printer support method for pre-processing images to print +'' Convert the bitmap supplied to an array of pixel values representing the luminance value of each original pixel +'Sub ImageToBWIMage(bmp As Bitmap) As AnImage +' Dim BC As BitmapCreator 'ignore +' Dim W As Int = bmp.Width +' Dim H As Int = bmp.Height +' Dim pixels(W * H) As Byte +' +' For y = 0 To H - 1 +' For x = 0 To W - 1 +' Dim j As Int = bmp.GetPixel(x, y) +' ' convert color to approximate luminance value +' Dim col As ARGBColor +' BC.ColorToARGB(j, col ) +' Dim lum As Int = col.r * 0.2 + col.b*0.1 + col.g*0.7 +' If lum> 255 Then lum = 255 +' ' save the pixel luminance +' pixels(y*W + x) = lum +' Next +' Next +' Dim ret As AnImage +' ret.Width = bmp.Width +' ret.Height = bmp.Height +' ret.Data = pixels +' Return ret +'End Sub +' +'' Printer support method for pre-processing images to print +'' Convert the array of luminance values to an array of 0s and 1s according to the threshold value +'Sub ThresholdImage(img As AnImage, threshold As Int) As AnImage 'ignore +' Dim pixels(img.Data.Length) As Byte +' For i = 0 To pixels.Length - 1 +' Dim lum As Int = Bit.And(img.Data(i), 0xff) ' bytes are signed values +' If lum < threshold Then +' lum = 1 +' Else +' lum = 0 +' End If +' pixels(i) = lum +' Next +' Dim ret As AnImage +' ret.Width = img.Width +' ret.Height = img.Height +' ret.Data = pixels +' Return ret +'End Sub +' +'' Printer support method for pre-processing images to print +'' Convert the array of luminance values to a dithered array of 0s and 1s according to the threshold value +'' The dithering algorithm is the simplest one-dimensional error diffusion algorithm +'' Normally threshold should be 128 but some images may look better with a little more or less. +'' This algorithm tends to produce vertical lines. DitherImage2D will probably look far better +'Sub DitherImage1D(img As AnImage, threshold As Int) As AnImage 'ignore +' Dim pixels(img.Data.Length) As Byte +' Dim error As Int +' For y = 0 To img.Height - 1 +' error = 0 ' reset on each new line +' For x = 0 To img.Width - 1 +' Dim lum As Int = Bit.And(img.Data(y*img.Width + x), 0xff) ' bytes are signed values +' lum = lum + error +' If lum < threshold Then +' error = lum +' lum = 1 +' Else +' error = lum - 255 +' lum = 0 +' End If +' pixels(y*img.Width + x) = lum +' Next +' Next +' Dim ret As AnImage +' ret.Width = img.Width +' ret.Height = img.Height +' ret.Data = pixels +' Return ret +'End Sub +' +' +'' Printer support method for pre-processing images to print +'' Convert the array of luminance values to a dithered array of 0s and 1s according to the threshold value +'' The dithering algorithm is the simplest two-dimensional error diffusion algorithm +'' Normally threshold should be 128 but some images may look better with a little more or less. +'' Anything more sophisticated might be overkill considering the image quality of most thermal printers +'Sub DitherImage2D(img As AnImage, threshold As Int) As AnImage +' Dim pixels(img.Data.Length) As Byte +' Dim xerror As Int +' Dim yerrors(img.Width) As Int +' For i = 0 To yerrors.Length -1 +' yerrors(0) = 0 +' Next +' For y = 0 To img.Height - 1 +' xerror = 0 ' reset on each new line +' For x = 0 To img.Width - 1 +' Dim lum As Int = Bit.And(img.Data(y*img.Width + x), 0xff) ' bytes are signed values +' lum = lum + xerror + yerrors(x) +' If lum < threshold Then +' xerror = lum/2 +' yerrors(x) = xerror +' lum = 1 +' Else +' xerror = (lum - 255)/2 +' yerrors(x) = xerror +' lum = 0 +' End If +' pixels(y*img.Width + x) = lum +' Next +' Next +' Dim ret As AnImage +' ret.Width = img.Width +' ret.Height = img.Height +' ret.Data = pixels +' Return ret +'End Sub +' +' +'' GS v0 printing +''--------------- +' +'' Prints the given image at the specified height and width using the "GS v" command +'' Image data is supplied as bytes each containing 8 bits of horizontal image data +'' The top left of the image is Byte(0) and the bottom right is Byte(width*height-1) +'' MSB of the byte is the leftmost image pixel, the LSB is the rightmost +'' Maximum width is 72 bytes (576 bits), Maximum height is 512 bytes +'' The printed pixels are square +'' Returns status 0 : OK, -1 : too wide, -2 : too high, -3 : array too small +'' The printer can take a long time to process the data and start printing +'Public Sub PrintImage(img As AnImage) As Int +' ' max width = 72 ' 72mm/576 bits wide +' ' max height = 512 ' 64mm/512 bits high +' If img.width > 72 Then Return -1 +' If img.height > 512 Then Return -2 +' If img.data.Length < img.width * img.height Then Return -3 +' Dim xh As Int = img.width / 256 +' Dim xl As Int = img.width - xh * 256 +' Dim yh As Int = img.height / 256 +' Dim yl As Int = img.height - yh * 256 +' Dim params(5) As Byte +' params(0) = 0 ' +' params(1) = xl +' params(2) = xh +' params(3) = yl +' params(4) = yh +' WriteString(GS & "v0") +' WriteBytes(params) +' WriteBytes(img.data) +' WriteString(CRLF) +' Return 0 +'End Sub +' +'' Printer support method for pre-processing images to print by PrintImage +'' Takes an array of image pixels and packs it for use with PrintImage +'' Each byte in the imagedata array is a single pixel valued zero or non-zero for white and black +'' The returned array is 8 x smaller and packs 8 horizontal black or white pixels into each byte +'' If the horizontal size of the image is not a multiple of 8 it will be truncated so that it is. +'Public Sub PackImage(imagedata As AnImage) As AnImage +' Dim xbytes As Int = imagedata.width/8 +' Dim pixels(xbytes * imagedata.height) As Byte +' Dim masks(8) As Byte +' masks(0) = 0x80 +' masks(1) = 0x40 +' masks(2) = 0x20 +' masks(3) = 0x10 +' masks(4) = 0x08 +' masks(5) = 0x04 +' masks(6) = 0x02 +' masks(7) = 0x01 +' Dim index As Int = 0 +' For y = 0 To imagedata.Height - 1 +' For x = 0 To xbytes - 1 +' Dim xbyte As Byte = 0 +' For b = 0 To 7 +' ' get a pixel +' Dim pix As Byte = imagedata.Data(index) +' If pix <> 0 Then +' xbyte = xbyte + masks(b) +' End If +' index = index + 1 +' Next +' pixels(y*xbytes + x) = xbyte +' Next +' Next +' Dim ret As AnImage +' ret.Width = xbytes +' ret.Height = imagedata.Height +' ret.Data = pixels +' Return ret +'End Sub +' +' +'' ESC * printing +''--------------- +' +'' Prints the given image slice at the specified height and width using the "ESC *" command +'' Image data is supplied as bytes each containing 8 bits of vertical image data +'' Pixels are not square, the width:height ratio varies with density and line height +'' Returns status 0 = OK, -1 = too wide, -2 = too high, -3 = wrong array length +'' Line spacing needs to be set to 0 if printing consecutive slices +'' The printed pixels are not square, the ratio varies with the highdensity and dots24 parameter settings +'' The highdensity parameter chooses high or low horizontal bit density when printed +'' The dots24 parameter chooses 8 or 24 bit data slice height when printed +'' Not(highdensity) +'' Maximum width is 288 bits. Horizontal dpi is approximately 90 +'' MSB of each byte is the highest image pixel, the LSB is the lowest +'' highdensity +'' Maximum width is 576 bits. Horizontal dpi is approximately 180 +'' Not(dots24) +'' Vertical printed height is 8 bits at approximately 60dpi +'' One byte in the data Array represents one vertical line when printed +'' Array size is the same as the width +'' MSB of each byte is the highest image pixel, the LSB is the lowest +'' dots24 +'' Vertical printed height is 24 bits at approximately 180dpi +'' Three consecutive bytes in the data array represent one vertical 24bit line when printed +'' Array size is 3 times the width +'' Byte(n+0) is the highest, byte (n+2) us the lowest +'' MSB of each byte is the highest image pixel, the LSB is the lowest +'Public Sub PrintImage2(width As Int, data() As Byte, highdensity As Boolean, dotds24 As Boolean) As Int +' Dim d As String = Chr(0) +' If Not(highdensity) And Not(dotds24 ) Then +' d = Chr(0) +' If width > 288 Then Return -1 +' If data.Length <> width Then Return -3 +' Else If highdensity And Not(dotds24) Then +' d = Chr(1) +' If width > 576 Then Return -1 +' If data.Length <> width Then Return -3 +' Else If Not(highdensity) And dotds24 Then +' d = Chr(32) +' If width > 288 Then Return -1 +' If data.Length <> width*3 Then Return -3 +' Else ' highdensity And dotds24 +' d = Chr(33) +' If width > 576 Then Return -1 +' If data.Length <> width*3 Then Return -3 +' End If +' Dim xh As Int = width / 256 +' Dim xl As Int = width - xh * 256 +' Dim params(2) As Byte +' params(0) = xl +' params(1) = xh +' WriteString(ESC & "*" & d) +' WriteBytes(params) +' WriteBytes(data) +' WriteString(CRLF) +' Return 0 +'End Sub +' +'' Printer support method for pre-processing images to print by PrintImage2 +'' Takes an array of image pixels and packs one slice of it for use with PrintImage2 +'' Each byte in the imagedata array is a single pixel valued zero or non-zero for white and black +'' The returned array packs 8 vertical black or white pixels into each byte +'' If dots24 is True then the slice is 24 pixels high otherwise it is 8 pixels high +'Public Sub PackImageSlice(img As AnImage, slice As Int, dots24 As Boolean) As Byte() +' Dim bytes As Int = img.width +' If dots24 Then +' Dim pixels(bytes * 3) As Byte +' Dim slicestart As Int = slice * bytes * 8 * 3 +' Else +' Dim pixels(bytes) As Byte +' Dim slicestart As Int = slice * bytes * 8 +' End If +' +' Dim masks(8) As Byte +' masks(0) = 0x80 +' masks(1) = 0x40 +' masks(2) = 0x20 +' masks(3) = 0x10 +' masks(4) = 0x08 +' masks(5) = 0x04 +' masks(6) = 0x02 +' masks(7) = 0x01 +' ' You could compress this into a single code block but I left it as two to make it more obvious what's happening +' If dots24 Then +' For x = 0 To bytes - 1 +' For s = 0 To 2 +' Dim xbyte As Byte = 0 +' For b = 0 To 7 +' ' get a pixel +' Dim pix As Byte = img.Data(slicestart + ((b + s*8) * bytes) + x) +' If pix <> 0 Then +' xbyte = xbyte + masks(b) +' End If +' Next +' pixels(x*3+s) = xbyte +' Next +' Next +' Else +' For x = 0 To bytes - 1 +' Dim xbyte As Byte = 0 +' For b = 0 To 7 +' ' get a pixel +' Dim pix As Byte = img.Data(slicestart + (b * bytes) + x) +' If pix <> 0 Then +' xbyte = xbyte + masks(b) +' End If +' Next +' pixels(x) = xbyte +' Next +' End If +' Return pixels +'End Sub +' +''---------------- +''Barcode commands +''---------------- +' +'' Set the height of a 2D bar code as number of dots vertically, 1 to 255 +'' Automatically resets to the default after printing the barcode +'Public Sub setBarCodeHeight(height As Int) +' WriteString(GS & "h") +' Dim params(1) As Byte +' params(0) = height +' WriteBytes(params) +'End Sub +' +'' Set the left inset of a 2D barcode, 0 to 255 +'' This does not reset on receipt of RESET +'Public Sub setBarCodeLeft(left As Int) +' WriteString(GS & "x") +' Dim params(1) As Byte +' params(0) = left +' WriteBytes(params) +'End Sub +' +'' Set the width of each bar in a 2D barcode. width value is 2 to 6, default is 3 +'' 2 = 0.250, 3 - 0.375, 4 = 0.560, 5 = 0.625, 6 = 0.75 +'' Resets to default after printing the barcode +'Public Sub setBarCodeWidth(width As Int) +' WriteString(GS & "w") +' Dim params(1) As Byte +' params(0) = width +' WriteBytes(params) +'End Sub +' +''Selects the printing position of HRI (Human Readable Interpretation) characters when printing a 2D bar code. +''0 Not printed, 1 Above the bar code, 2 Below the bar code, 3 Both above And below the bar code +'' Automatically resets to the default of 0 after printing the barcode +'' The docs say this can be Chr(0, 1 2 or 3) or "0" "1" "2" or "3" but the numeric characters don't work +'Public Sub setHriPosn(posn As Int) +' WriteString(GS & "H") +' Dim params(1) As Byte +' params(0) = posn +' WriteBytes(params) +'End Sub +' +''Selects the font for HRI (Human Readable Interpretation) characters when printing a 2D bar code. +''0 Font A (12 x 24), 1 Font B (9 x 17) +'' Automatically resets to the default of 0 after printing the barcode +'' The docs say this can be Chr(0 or 1) or "0" or "1" but the numeric characters don't work +'Public Sub setHriFont(font As Int) +' WriteString(GS & "f" & Chr(font)) +'End Sub +' +'' If given invalid data no barcode is printed, only strange characters +'' CODABAR needs any of A,B,C or D at the start and end of the barcode. Some decoders may not like them anywhere else +'' Bartype Code Number of characters Permitted values +'' A | UPC-A | 11 or 12 characters | 0 to 9 | The 12th printed character is always the check digit +'' B | UPC-E | 6 characters | 0 to 9 | The 12th printed character is always the check digit +'' C | EAN13 | 12 or 13 characters | 0 to 9 | The 12th printed character is always the check digit +'' D | EAN8 | 7 or 8 characters | 0 to 9 | The 8th printed character is always the check digit +'' E | CODE39 | 1 or more characters | 0 to 9, A to Z, Space $ % + - . / +'' F | ITF | 1 or more characters | 0 to 9 | even number of characters only +'' G | CODABAR| 3 to 255 characters | 0 to 9, A to D, $ + - . / : | needs any of A,B,C or D at the start and end +'' H | CODE93 | 1 to 255 characters | Same as CODE39 +'' I | CODE128| 2 to 255 characters | entire 7 bit ASCII set +'Public Sub WriteBarCode(bartype As String, data As String) +' Dim databytes() As Byte = data.GetBytes("ASCII") +' Dim dlow As Int = databytes.Length +' Log("Barcode " & bartype & ", Size " & dlow & ", " & data) +' WriteString(GS & "k" & bartype.ToUpperCase.CharAt(0)) +' Dim params(1) As Byte +' params(0) = dlow +' WriteBytes(params) +' WriteBytes(databytes) +'End Sub +' +'' On my printer QR codes don't seem to be able to be decoded and on high ECs look obviously wrong :( +'' size is 1 to 40, 0 is auto-size. Successive versions increase module size by 4 each side +'' size = 1 is 21x21, 2 = 25x25 ... size 40 = 177x177 +'' EC is error correction level, "L"(7%) or "M"(15%) or "Q"(25%) or "H"(30%) +'' scale is 1 to 8, 1 is smallest, 8 is largest +'Public Sub WriteQRCode(size As Int, EC As String, scale As Int, data As String) +' Dim databytes() As Byte = data.GetBytes("ISO-8859-1") +' Dim dhigh As Int = databytes.Length / 256 +' Dim dlow As Int = databytes.Length - dhigh*256 +' Log("QR Code : Size " & size & ", EC " & EC & ", Scale " & scale & ", Size " & dlow & " " & dhigh & " : Data = " & data) +' Dim params(3) As Byte +' params(0) = scale +' params(1) = dlow +' params(2) = dhigh +' WriteString(ESC & "Z" & Chr(size) & EC.ToUpperCase.CharAt(0)) +' WriteBytes(params) +' WriteBytes(databytes) +'End Sub +' +' +''**************** +'' PRIVATE METHODS +''**************** +' +''----------------------- +'' Internal Serial Events +''----------------------- +' +'Private Sub Serial1_Connected (Success As Boolean) +' If Success Then +' Astream.Initialize(Serial1.InputStream, Serial1.OutputStream, "astream") +' Connected = True +' ConnectedError = "" +' Serial1.Listen +' Else +' Connected = False +' ConnectedError = LastException.Message +' End If +' If SubExists(CallBack, EventName & "_Connected") Then +' CallSub2(CallBack, EventName & "_Connected", Success) +' End If +'End Sub +' +''---------------------------- +'' Internal AsyncStream Events +''---------------------------- +' +'Private Sub AStream_NewData (Buffer() As Byte) +' If SubExists(CallBack, EventName & "_NewData") Then +' CallSub2(CallBack, EventName & "_NewData", Buffer) +' End If +' Log("Data " & Buffer(0)) +'End Sub +' +'Private Sub AStream_Error +' If SubExists(CallBack, EventName & "_Error") Then +' CallSub(CallBack, EventName & "_Error") +' End If +'End Sub +' +'Private Sub AStream_Terminated +' Connected = False +' If SubExists(CallBack, EventName & "_Terminated") Then +' CallSub(CallBack, EventName & "_Terminated") +' End If +'End Sub + + +#IgnoreWarnings: 9 +' 9 = unused variable + +Sub Class_Globals + ' 1.0 Initial version + ' 2.0 Added FeedPaper, changed many WriteString(.." & Chr(number)) instances to WriteBytes(params) + ' This is to avoid Unicode code page transformations on some numbers > 32 + ' Added PrintAndFeedPaper, setRelativePrintPosn, + ' Added user defined characters, DefineCustomCharacter, DeleteCustomCharacter and setUseCustomCharacters + ' Addedhelper methods CreateCustomCharacter, CreateLine, CreateBox and CreateCircle + Private Version As Double = 2.0 ' Printer class version + + Type AnImage(Width As Int, Height As Int, Data() As Byte) + + Private EventName As String 'ignore + Private CallBack As Object 'ignore + + Private Serial1 As Serial + Private Astream As AsyncStreams + Private Connected As Boolean + Private ConnectedError As String + + Dim ESC As String = Chr(27) + Dim FS As String = Chr(28) + Dim GS As String = Chr(29) + + 'Bold and underline don't work well in reversed text + Dim UNREVERSE As String = GS & "B" & Chr(0) + Dim REVERSE As String = GS & "B" & Chr(1) + + ' Character orientation. Print upside down from right margin + Dim UNINVERT As String = ESC & "{0" + Dim INVERT As String = ESC & "{1" + + ' Character rotation clockwise. Not much use without also reversing the printed character sequence + Dim UNROTATE As String = ESC & "V0" + Dim ROTATE As String = ESC & "V1" + + ' Horizontal tab + Dim HT As String = Chr(9) + + ' Character underline + Dim ULINE0 As String = ESC & "-0" + Dim ULINE1 As String = ESC & "-1" + Dim ULINE2 As String = ESC & "-2" + + ' Character emphasis + Dim BOLD As String = ESC & "E1" + Dim NOBOLD As String = ESC & "E0" + + ' Character height and width + Dim SINGLE As String = GS & "!" & Chr(0x00) + Dim HIGH As String = GS & "!" & Chr(0x01) + Dim WIDE As String = GS & "!" & Chr(0x10) + Dim HIGHWIDE As String = GS & "!" & Chr(0x11) + + ' Default settings + Private LEFTJUSTIFY As String = ESC & "a0" + Private LINEDEFAULT As String = ESC & "2" + Private LINSET0 As String = ESC & "$" & Chr(0x0) & Chr(0x0) + Private LMARGIN0 As String = GS & "L" & Chr(0x0) & Chr(0x0) + Private WIDTH0 As String = GS & "W" & Chr(0xff) & Chr(0xff) + Private CHARSPACING0 As String = ESC & " " & Chr(0) + Private CHARFONT0 As String = ESC & "M" & Chr(0) + Dim DEFAULTS As String = CHARSPACING0 & CHARFONT0 & LMARGIN0 & WIDTH0 & LINSET0 & LINEDEFAULT & LEFTJUSTIFY _ + & UNINVERT & UNROTATE & UNREVERSE & NOBOLD & ULINE0 + +End Sub + +'********** +'PUBLIC API +'********** + +'Initialize the object with the parent and event name +Public Sub Initialize(vCallback As Object, vEventName As String) + EventName = vEventName + CallBack = vCallback + Serial1.Initialize("Serial1") + Connected = False + ConnectedError = "" +End Sub + +' Returns any error raised by the last attempt to connect a printer +Public Sub ConnectedErrorMsg As String + Return ConnectedError +End Sub + +' Returns whether a printer is connected or not +Public Sub IsConnected As Boolean + Return Connected +End Sub + +' Returns whether Bluetooth is on or off +Public Sub IsBluetoothOn As Boolean + Return Serial1.IsEnabled +End Sub + +' Ask the user to connect to a printer and return whether she tried or not +' If True then a subsequent Connected event will indicate success or failure +Public Sub Connect As Boolean + 'leos +' Serial1.Connect("88:6B:0F:3E:53:9E") +' Return True + Try + If Starter.MAC_IMPRESORA = "0" Then + Dim PairedDevices As Map + PairedDevices = Serial1.GetPairedDevices + Dim l As List + l.Initialize + For i = 0 To PairedDevices.Size - 1 + l.Add(PairedDevices.GetKeyAt(i)) + Next + Dim Res As Int + Res = InputList(l, "Choose a printer", -1) 'show list with paired devices 'ignore + If Res <> DialogResponse.CANCEL Then + Serial1.Connect(PairedDevices.Get(l.Get(Res))) 'convert the name to mac address + 'Msgbox(PairedDevices.Get(l.Get(Res)),"mac") + Starter.mac_impresora = PairedDevices.Get(l.Get(Res)) + Return True + End If + Return False + Else + Serial1.Connect(Starter.mac_impresora) + ' Starter.mac_impresora = colonia.MAC_IMPRESORA + Return True + End If + Catch + Log(LastException) + End Try +End Sub + +' Disconnect the printer +Public Sub DisConnect + Serial1.Disconnect + Connected = False +End Sub + +' Reset the printer to the power on state +Public Sub Reset + WriteString(ESC & "@") +End Sub + +'-------------- +' Text Commands +'-------------- + +' Print any outstanding characters then feed the paper the specified number of units of 0.125mm +' This is similar to changing LineSpacing before sending CRLF but this has a one off effect +' A full character height is always fed even if units = 0. Units defines the excess over this minimum +Public Sub PrintAndFeedPaper(units As Int) + WriteString(ESC & "J") + Dim params(1) As Byte + params(0) = units + WriteBytes(params) +End Sub + +' Set the distance between characters +Public Sub setCharacterSpacing(spacing As Int) + WriteString(ESC & " ") + Dim params(1) As Byte + params(0) = spacing + WriteBytes(params) +End Sub + +' Set the left inset of the next line to be printed +' Automatically resets to 0 for the following line +' inset is specified in units of 0.125mm +Public Sub setLeftInset(inset As Int) + Dim dh As Int = inset / 256 + Dim dl As Int = inset - dh + WriteString(ESC & "$" & Chr(dl) & Chr(dh)) + Dim params(2) As Byte + params(0) = dl + params(1) = dh + WriteBytes(params) +End Sub + +' Set the left margin of the print area, must be the first item on a new line +' margin is specified in units of 0.125mm +' This affects barcodes as well as text +Public Sub setLeftMargin(margin As Int) + Dim dh As Int = margin / 256 + Dim dl As Int = margin - dh + WriteString(GS & "L") + Dim params(2) As Byte + params(0) = dl + params(1) = dh + WriteBytes(params) +End Sub + +' Set the width of the print area, must be the first item on a new line +' margin is specified in units of 0.125mm +' This affects barcodes as well as text +' This appears to function more like a right margin than a print area width when used with LeftMargin +Public Sub setPrintWidth(width As Int) + Dim dh As Int = width / 256 + Dim dl As Int = width - dh + WriteString(GS & "W") + Dim params(2) As Byte + params(0) = dl + params(1) = dh + WriteBytes(params) +End Sub + +' Set the distance between lines in increments of 0.125mm +' If spacing is < 0 then the default of 30 is set +Public Sub setLineSpacing(spacing As Int) + If spacing < 0 Then + WriteString(ESC & "2") + Else + WriteString(ESC & "3") + Dim params(1) As Byte + params(0) = spacing + WriteBytes(params) + End If +End Sub + +' Set the line content justification, must be the first item on a new line +' 0 left, 1 centre, 2 right +Public Sub setJustify(justify As Int) + WriteString(ESC & "a" & Chr(justify + 48)) +End Sub + +' Set the codepage of the printer +' You need to look at the printer documentation to establish which codepages are supported +Public Sub setCodePage(codepage As Int) + WriteString(ESC & "t") + Dim params(1) As Byte + params(0) = codepage + WriteBytes(params) +End Sub + +' Select the size of the font for printing text. 0 = Font A (12 x 24), 1 = Font B (9 x 17) +' For font B you may want to set the line spacing to a lower value than the default of 30 +' This affects only the size of printed characters. The code page determines the actual character set +' On my printer setting UseCustomCharacters = while Font B is selected crashes the printer and turns it off +Public Sub setCharacterFont(font As Int) + WriteString(ESC & "M" & Chr(Bit.And(1,font))) +End Sub + +' Set the positions of the horizontal tabs +' Each tab is specified as a number of character widths from the beginning of the line +' There may be up to 32 tab positions specified each of size up to 255 characters +' The printer default is that no tabs are defined +Public Sub setTabPositions(tabs() As Int) + WriteString(ESC & "D") + Dim data(tabs.Length+1) As Byte + For i = 0 To tabs.Length - 1 + data(i) = tabs(i) + Next + data(tabs.Length) = 0 + WriteBytes(data) +End Sub + +' Set print position relative to the current position using horizontal units of 0.125mm +' relposn can be negative +' Unless I have misundertood this doesn't work as documented on my printer +' It only seems take effect at the beginning of a line as a one off effect +Public Sub setRelativePrintPosn(relposn As Int) + Dim dh As Int = relposn / 256 + Dim dl As Int = relposn - dh + WriteString(ESC & "\") + Dim params(2) As Byte + params(0) = dl + params(1) = dh + WriteBytes(params) +End Sub + +' Send the contents of an array of bytes to the printer +' Remember that if the printer is expecting text the bytes will be printed as characters in the current code page +Public Sub WriteBytes(data() As Byte) + If Connected Then + Astream.Write(data) + End If +End Sub + +' Send the string to the printer in IBM437 encoding which is the original PC DOS codepage +' This is usually the default codepage for a printer and is CodePage = 0 +' Beware of using WriteString with Chr() to send numeric values as they may be affected by Unicode to codepage translations +' Most character level operations are pre-defined as UPPERCASE string variables for easy concatenation with other string data +Public Sub WriteString(data As String) + WriteString2(data, "IBM437") +End Sub + +' Send the string to the printer in the specified encoding +' You also need to set the printer to a matching encoding using the CodePage property +' Beware of using WriteString2 with Chr() to send numeric values as they may be affected by codepage substitutions +' Most character level operations are pre-defined as UPPERCASE string variables for easy concatenatipon with other string data +Public Sub WriteString2(data As String, encoding As String) + Try + If Connected Then + Astream.Write(data.GetBytes(encoding)) + End If + Catch + Log("Printer error : " & LastException.Message) + AStream_Error + End Try +End Sub + +'----------------------------------------- +' User defined character commands commands +'----------------------------------------- + +' Delete the specified user defined character mode +' This command deletes the pattern defined for the specified code in the font selected by ESC ! +' If the code is subsequently printed in custom character mode the present code page character is printed instead +Public Sub DeleteCustomCharacter(charcode As Int) + WriteString(ESC & "?") + Dim params(1) As Byte + params(0) = charcode + WriteBytes(params) +End Sub + +' Enable the user defined character mode if custom is True, revert to normal if custom is False +' If a custom character has not been defined for a given character code then the default character for the present font is printed +' FontA and FontB have separate definitions for custom characters +' On my printer setting UseCustomCharacters = while Font B is selected crashes the printer and turns it off +' Therefore the cuatom character routines have not been tested on ont B +Public Sub setUseCustomCharacters(custom As Boolean) + If custom Then + WriteString(ESC & "%1") + Else + WriteString(ESC & "%0") + End If +End Sub + +' Define a user defined character +' The allowable character code range is the 95 characters) from ASCII code 32 (0x20) to 126 (0x7E) +' Characters can be defined in either font A (12*24) or font B (9*17) as selected by present setting of CharacterFont +' The programmer must ensure that the correct font size definition is used for the present setting of CharacterFont +' The user-defined character definition is cleared when Reset is invoked or the printer is turned off +' The vertical and horizontal printed resolution is approximaely 180dpi +' Characters are always defined by sets of three bytes in the vertical direction and up to 9 or 12 sets horizontally +' Each byte defines a vertical line of 8 dots. The MSB of each byte is the highest image pixel, the LSB is the lowest +' Byte(0+n) defines the topmost third of the vertical line, Byte(1+n) is below and Byte(2+n) is the lowest +' Set a bit to 1 to print a dot or 0 to not print a dot +' If the lines to the right of the character are blank then there set of three bytes can be omiited from the byte array +' When the user-defined characters are defined in font B (9*17) only the most significant bit of the 3rd byte of data is used +' charcode defines the character code for the character being defined +' bitdata is a Byte array containing the character definitiopn as described above. +' If the length of bitdata is not a multiple of 3 the definition is ignored and a value of -1 returned +Public Sub DefineCustomCharacter(charcode As Int, bitdata() As Byte) As Int + Dim excess As Int = bitdata.Length Mod 3 + If excess <> 0 Then Return -1 + Dim size As Int = bitdata.Length / 3 + WriteString(ESC & "&") + Dim params(4) As Byte + params(0) = 3 + params(1) = charcode + params(2) = charcode + params(3) = size + WriteBytes(params) + WriteBytes(bitdata) + Return 0 +End Sub + +' The third triangle point is hacked into spare bits keeping the generated Int human readable i hex for other shapes +' The shape array contains the character shapes and characterfont is 0 for a 12*24 character andd 1 for a 9*17 character +' Returns a Byte(36) for characterfont = 0 and a Byte(27) for characterfont = 1 +' The returned array can be directly passed to DefineCustomCharacter +' To define a custom character requires specifying up to 288 data points +' This is a lot of data and in most cases it is mainly white space +' This method takes a character definition that defines only the shapes in the character that are to be printed black +' It will be easier use the outputs from CreateLine, CreateTriangle, CreateBox and CreateCircle rather then building the actual Int values +' Each shape is defined by a single Int value containing four parameters in hex format plugs some single bit flags +' Taking the representation of the Int as eight hex characters numbered from the MS end as 0x01234567 +' 0 contains the shape to draw. 0 = Line, 1 = Box, 2 = Circle, 3 = Triangle +' 1 contains a value between 0 and 0xF. This is either an X coordinate or for a circle the radius +' 2 and 3 contain a value between 0 and 0x1F. This is either a Y coordinate or for a circle the quadrants to draw +' 4 contains a value between 0 and 0xF. This is 0 for an empty shope or 1 for a filled shape +' 5 contains a value between 0 and 0xF. This is an X coordinate +' 5 and 6 contain a value between 0 and 0x1F. This is a Y coordinate +' The coordinate 0,0 is at the top left of the character +' Line +' One point of the vector is contained in the top part of the Int and the other in the bottom half +' To define a single point place its coordinates as both sr=start and end of a line +' Box +' The two X,Y coordinates specify the top left and bottom right corners of the box +' Circle +' The left X parameter is now the radius of the circle, the left Y is the quadrants to be drawn +' The right X and Y parameters are the centre of the circle' +' The quadrants to draw are bit ORed together, UpperRight = 0x1, LowerRight = 0x2, LowerLeft = 0x4, Upper Left = 0x8 +' Triangle +' The left X and Y parameters are now one point of the triangle, the right X and Y parameters another point +' The third triangle point is hacked into spare bits keeping the generated Int human readable in hex for the other shapes +' The bit allocations of a shape are as follows. f = fill as 0 or 1, s = shape as 0 to 7, xn as 0 to 15, yn as 0 to 31 +' Shape 0 = line, 1 = box, 2 = triangle, 3 = circle, 4 to 7 = unused +' fsss xxxx -yyy yyyy xxxx xxxx yyyy yyyy +' 0000 220 0000 2222 1111 2221 1111 +' x0 y2 y0 x2 x1 y2 y1 +' The shape array contains the character shapes and characterfont is 0 for a 12*24 character andd 1 for a 9*17 character +' Returns a Byte(36) for characterfont = 0 and a Byte(27) for characterfont = 1 +' The returned array can be directly passed to DefineCustomCharacter +Public Sub CreateCustomCharacter(shapes() As Int, characterfont As Int) As Byte() + Dim masks(8) As Byte + masks(0) = 0x80 + masks(1) = 0x40 + masks(2) = 0x20 + masks(3) = 0x10 + masks(4) = 0x08 + masks(5) = 0x04 + masks(6) = 0x02 + masks(7) = 0x01 + ' rather than try to catch errors whenever we access this array we Dim it to the maximum possible values of X and Y + ' then copy the top left of it to the final character definition array of the correct size + Dim points(16,32) As Byte + ' initialise the character to all white + For x = 0 To 15 + For y = 0 To 31 + points(x,y) = 0 + Next + Next + Dim size As Int = 12 + If characterfont = 1 Then size = 9 + Dim charbyes(size * 3) As Byte + For c = 0 To charbyes.Length - 1 + charbyes(c) = 0 + Next + ' set the points array from the shapes provided + For i = 0 To shapes.Length -1 + Dim fill As Int = Bit.UnsignedShiftRight(Bit.And(0x80000000, shapes(i)), 31) + Dim shape As Int = Bit.UnsignedShiftRight(Bit.And(0x70000000, shapes(i)), 28) + Dim x0 As Int = Bit.UnsignedShiftRight(Bit.And(0x0f000000, shapes(i)), 24) + Dim y0 As Int = Bit.UnsignedShiftRight(Bit.And(0x001f0000, shapes(i)), 16) + Dim x1 As Int = Bit.UnsignedShiftRight(Bit.And(0x00000f00, shapes(i)), 8) + Dim y1 As Int = Bit.And(0x0000001f, shapes(i)) + Dim x2 As Int = Bit.UnsignedShiftRight(Bit.And(0x0000f000, shapes(i)), 12) + Dim y2 As Int = Bit.UnsignedShiftRight(Bit.And(0x00e00000, shapes(i)), 18) + Bit.UnsignedShiftRight(Bit.And(0x000000e0, shapes(i)), 5) + ' The bit allocations of a shape are as follows. f = fill as 0 or 1, s = shape as 0 to 7, xn as 0 to 15, yn as 0 to 31 + ' Shape 0 = line, 1 = box, 2 = triangle, 3 = circle, 4 to 7 = unused + ' fsss xxxx -yyy yyyy xxxx xxxx yyyy yyyy + ' 0000 220 0000 2222 1111 2221 1111 + ' x0 y2 y0 x2 x1 y2 y1 + Dim logmsg As String = ": Fill=" & fill & " : Points " & x0 & "," & y0 & " " & x1 & "," & y1 & " " & x2 & "," & y2 + If shape = 3 Then + Log("Triangle " & logmsg) + PlotTriangle(x0, y0, x1, y1, x2, y2, points, fill) + else If shape = 2 Then + Log("Circle " & logmsg) + PlotCircle(x0, y0, x1, y1, points, fill) + Else If shape = 1 Then + Log("Box " & logmsg) + PlotBox(x0, y0, x1, y1, points, fill) + Else + Log("Line " & logmsg) + PlotLine(x0, y0, x1, y1, points) + End If + ' map the points array onto the character definition array + For x = 0 To size -1 ' 9 or 12 horizontal bytes + For y = 0 To 2 ' 3 vertical bytes + Dim bits As Byte = 0 + For b = 0 To 7 ' 8 vertical bits + If points(x, y*8+b) <> 0 Then + bits = Bit.Or(bits, masks(b)) + End If + Next + charbyes(x*3+y) = bits + Next + Next + Next + Return charbyes +End Sub + +' This is a higher level method that builds the Int values to pass to CreateCustomCharacter in the shapes array +' Create the value to draw a line in a custom character +' The line starts at X0,Y0 and ends at X1,Y1 +Public Sub CreateLine(x0 As Int, y0 As Int, x1 As Int, y1 As Int) As Int + Dim line As Int = 0 + line = line + Bit.ShiftLeft(Bit.And(0xf,x0), 24) + line = line + Bit.ShiftLeft(Bit.And(0x1f,y0), 16) + line = line + Bit.ShiftLeft(Bit.And(0xf,x1), 8) + line = line + Bit.And(0x1f,y1) + Return line +End Sub + +' This is a higher level method that builds the Int values to pass to CreateCustomCharacter in the shapes array +' Create the value to draw a circle in a custom character +' The circle is centred on X1,Y1 and the quadrants to draw are bit ORed together +' UpperRight = 0x1, LowerRight = 0x2, LowerLeft = 0x4, Upper Left = 0x8 +Public Sub CreateCircle(radius As Int, quadrants As Int, x1 As Int, y1 As Int, fill As Boolean) As Int + Dim circle As Int = 0x20000000 + If fill Then circle = circle + 0x80000000 + circle = circle + Bit.ShiftLeft(radius, 24) + circle = circle + Bit.ShiftLeft(quadrants, 16) + circle = circle + Bit.ShiftLeft(x1, 8) + circle = circle + y1 + Return circle +End Sub + + +' This is a higher level method that builds the Int values to pass to CreateCustomCharacter in the shapes array +' Create the value to draw a triangle in a custom character +' The triangles corners are at X0,Y0 X1,Y1 and X2,Y2 +Public Sub CreateTriangle(x0 As Int, y0 As Int, x1 As Int, y1 As Int, x2 As Int, y2 As Int, fill As Boolean) As Int + Dim triangle As Int = 0x30000000 + If fill Then triangle = triangle + 0x80000000 + triangle = triangle + Bit.ShiftLeft(Bit.And(0xf,x0), 24) + triangle = triangle + Bit.ShiftLeft(Bit.And(0x1f,y0), 16) + triangle = triangle + Bit.ShiftLeft(Bit.And(0xf,x1), 8) + triangle = triangle + Bit.And(0x1f,y1) + triangle = triangle + Bit.ShiftLeft(Bit.And(0xf,x2), 12) ' extra X + triangle = triangle + Bit.ShiftLeft(Bit.And(0x7,y2), 5) ' extra Y lsbits * 3 + triangle = triangle + Bit.ShiftLeft(Bit.And(0x18,y2), 18) ' extra Y msbits * 2 + Return triangle +End Sub + +' This is a higher level method that builds the Int values to pass to CreateCustomCharacter in the shapes array +' Create the value to draw a box in a custom character +' The box top left start is X0,Y0 and bottom right is X1,Y1 +Public Sub CreateBox(x0 As Int, y0 As Int, x1 As Int, y1 As Int, fill As Boolean) As Int + Dim box As Int = 0x10000000 + If fill Then box = box + 0x80000000 + box = box + Bit.ShiftLeft(Bit.And(0xf,x0), 24) + box = box + Bit.ShiftLeft(Bit.And(0x1f,y0), 16) + box = box + Bit.ShiftLeft(Bit.And(0xf,x1), 8) + box = box + Bit.And(0x1f,y1) + Return box +End Sub + +'----------------------------------------- +' Private custom character drawing methods +'----------------------------------------- + +Private Sub PlotTriangle(x0 As Int, y0 As Int, x1 As Int, y1 As Int, x2 As Int, y2 As Int, points(,) As Byte, Fill As Int) + ' This is a pretty crude algorithm, but it is simple, works and it isn't invoked often + PlotLine(x0, y0, x1, y1, points) + PlotLine(x1, y1, x2, y2, points) + PlotLine(x2, y2, x0, y0, points) + If Fill > 0 Then + FillTriangle(x0, y0, x1, y1, x2, y2, points) + End If +End Sub + +Private Sub FillTriangle(x0 As Int, y0 As Int, x1 As Int, y1 As Int, x2 As Int, y2 As Int, points(,) As Byte) + ' first sort the three vertices by y-coordinate ascending so v0 Is the topmost vertice */ + Dim tx, ty As Int + If y0 > y1 Then + tx = x0 : ty = y0 + x0 = x1 : y0 = y1 + x1 = tx : y1 = ty + End If + If y0 > y2 Then + tx = x0 : ty = y0 + x0 = x2 : y0 = y2 + x2 = tx : y2 = ty + End If + If y1 > y2 Then + tx = x1 : ty = y1 + x1 = x2 : y1 = y2 + x2 = tx : y2 = ty + End If + + Dim dx0, dx1, dx2 As Double + Dim x3, x4, y3, y4 As Double + Dim inc As Int + + If y1 - y0 > 0 Then dx0=(x1-x0)/(y1-y0) Else dx0=0 + If y2 - y0 > 0 Then dx1=(x2-x0)/(y2-y0) Else dx1=0 + If y2 - y1 > 0 Then dx2=(x2-x1)/(y2-y1) Else dx2=0 + x3 = x0 : x4 = x0 + y3 = y0 : y4 = y0 + If dx0 > dx1 Then + While + Do While y3 <= y1 + If x3 > x4 Then inc = -1 Else inc = 1 + For x = x3 To x4 Step inc + points(x, y3) = 1 + Next + y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4 = x4 + dx0 + Loop + x4=x1 + y4=y1 + Do While y3 <= y2 + If x3 > x4 Then inc = -1 Else inc = 1 + For x = x3 To x4 Step inc + points(x ,y3) = 1 + Next + y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4 = x4 + dx2 + Loop + Else + While + Do While y3 <= y1 + If x3 > x4 Then inc = -1 Else inc = 1 + For x = x3 To x4 Step inc + points(x, y3) = 1 + Next + y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx0 : x4 = x4 +dx1 + Loop + x3=x1 + y3=y1 + Do While y3<=y2 + If x3 > x4 Then inc = -1 Else inc = 1 + For x = x3 To x4 Step inc + points(x, y3) = 1 + Next + y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx2 : x4 = x4 + dx1 + Loop + End If +End Sub + +Private Sub PlotBox(x0 As Int, y0 As Int, x1 As Int, y1 As Int, points(,) As Byte, Fill As Int) + ' This is a pretty crude algorithm, but it is simple, works and itsn't invoked often + PlotLine(x0, y0, x0, y1, points) + PlotLine(x0, y0, x1, y0, points) + PlotLine(x1, y0, x1, y1, points) + PlotLine(x0, y1, x1, y1, points) + If Fill > 0 Then + For x = x0 To x1 + PlotLine(x, y0, x, y1, points) + Next + End If +End Sub + + +Private Sub PlotCircle(radius As Int, quadrants As Int, x1 As Int, y1 As Int, points(,) As Byte, fill As Int) + ' This is a pretty crude algorithm, but it is simple, works and itsn't invoked often + Dim mask As Int = 1 + For q = 3 To 0 Step -1 + If Bit.And(quadrants, mask) <> 0 Then + For i = q*90 To q*90+90 Step 1 + Dim x,y As Double + x = x1 - SinD(i)*radius + y = y1 - CosD(i)*radius + If fill > 0 Then + PlotLine(x1, y1, x, y, points) + Else + points(Round(x), Round(y)) = 1 + End If + Next + End If + mask = Bit.ShiftLeft(mask, 1) + Next +End Sub + +' Bresenham's line algorithm - see Wikipedia +Private Sub PlotLine(x0 As Int, y0 As Int, x1 As Int, y1 As Int, points(,) As Byte ) + If Abs(y1 - y0) < Abs(x1 - x0) Then + If x0 > x1 Then + PlotLineLow(x1, y1, x0, y0, points) + Else + PlotLineLow(x0, y0, x1, y1, points) + End If + Else + If y0 > y1 Then + PlotLineHigh(x1, y1, x0, y0, points) + Else + PlotLineHigh(x0, y0, x1, y1, points) + End If + End If +End Sub + +Private Sub PlotLineHigh(x0 As Int, y0 As Int, x1 As Int, y1 As Int, points(,) As Byte ) + Dim dx As Int = x1 - x0 + Dim dy As Int = y1 - y0 + Dim xi As Int = 1 + If dx < 0 Then + xi = -1 + dx = -dx + End If + Dim D As Int = 2*dx - dy + Dim x As Int = x0 + For y = y0 To y1 + points(x,y) = 1 + If D > 0 Then + x = x + xi + D = D - 2*dy + End If + D = D + 2*dx + Next +End Sub + +Private Sub PlotLineLow(x0 As Int, y0 As Int, x1 As Int,y1 As Int, points(,) As Byte ) + Dim dx As Int = x1 - x0 + Dim dy As Int = y1 - y0 + Dim yi As Int = 1 + If dy < 0 Then + yi = -1 + dy = -dy + End If + Dim D As Int = 2*dy - dx + Dim y As Int = y0 + For x = x0 To x1 + points(x,y) = 1 + If D > 0 Then + y = y + yi + D = D - 2*dx + End If + D = D + 2*dy + Next +End Sub + + +'------------------- +' Image commands +'------------------- +' There are two different image printing options with different pixel formats. +' PrintImage prints an entire image at once with a maximum size of 576x512 +' PrintImage2 prints a slice of an image with a height of 8 or 24 and a maximum width of 576 +' One or other may look better on your particular printer + +' Printer support method for pre-processing images to print +' Convert the bitmap supplied to an array of pixel values representing the luminance value of each original pixel +Sub ImageToBWIMage(bmp As Bitmap) As AnImage + Dim BC As BitmapCreator 'ignore + Dim W As Int = bmp.Width + Dim H As Int = bmp.Height + Dim pixels(W * H) As Byte + + For y = 0 To H - 1 + For x = 0 To W - 1 + Dim j As Int = bmp.GetPixel(x, y) + ' convert color to approximate luminance value + Dim col As ARGBColor + BC.ColorToARGB(j, col ) + Dim lum As Int = col.r * 0.2 + col.b*0.1 + col.g*0.7 + If lum> 255 Then lum = 255 + ' save the pixel luminance + pixels(y*W + x) = lum + Next + Next + Dim ret As AnImage + ret.Width = bmp.Width + ret.Height = bmp.Height + ret.Data = pixels + Return ret +End Sub + +' Printer support method for pre-processing images to print +' Convert the array of luminance values to an array of 0s and 1s according to the threshold value +Sub ThresholdImage(img As AnImage, threshold As Int) As AnImage 'ignore + Dim pixels(img.Data.Length) As Byte + For i = 0 To pixels.Length - 1 + Dim lum As Int = Bit.And(img.Data(i), 0xff) ' bytes are signed values + If lum < threshold Then + lum = 1 + Else + lum = 0 + End If + pixels(i) = lum + Next + Dim ret As AnImage + ret.Width = img.Width + ret.Height = img.Height + ret.Data = pixels + Return ret +End Sub + +' Printer support method for pre-processing images to print +' Convert the array of luminance values to a dithered array of 0s and 1s according to the threshold value +' The dithering algorithm is the simplest one-dimensional error diffusion algorithm +' Normally threshold should be 128 but some images may look better with a little more or less. +' This algorithm tends to produce vertical lines. DitherImage2D will probably look far better +Sub DitherImage1D(img As AnImage, threshold As Int) As AnImage 'ignore + Dim pixels(img.Data.Length) As Byte + Dim error As Int + For y = 0 To img.Height - 1 + error = 0 ' reset on each new line + For x = 0 To img.Width - 1 + Dim lum As Int = Bit.And(img.Data(y*img.Width + x), 0xff) ' bytes are signed values + lum = lum + error + If lum < threshold Then + error = lum + lum = 1 + Else + error = lum - 255 + lum = 0 + End If + pixels(y*img.Width + x) = lum + Next + Next + Dim ret As AnImage + ret.Width = img.Width + ret.Height = img.Height + ret.Data = pixels + Return ret +End Sub + + +' Printer support method for pre-processing images to print +' Convert the array of luminance values to a dithered array of 0s and 1s according to the threshold value +' The dithering algorithm is the simplest two-dimensional error diffusion algorithm +' Normally threshold should be 128 but some images may look better with a little more or less. +' Anything more sophisticated might be overkill considering the image quality of most thermal printers +Sub DitherImage2D(img As AnImage, threshold As Int) As AnImage + Dim pixels(img.Data.Length) As Byte + Dim xerror As Int + Dim yerrors(img.Width) As Int + For i = 0 To yerrors.Length -1 + yerrors(0) = 0 + Next + For y = 0 To img.Height - 1 + xerror = 0 ' reset on each new line + For x = 0 To img.Width - 1 + Dim lum As Int = Bit.And(img.Data(y*img.Width + x), 0xff) ' bytes are signed values + lum = lum + xerror + yerrors(x) + If lum < threshold Then + xerror = lum/2 + yerrors(x) = xerror + lum = 1 + Else + xerror = (lum - 255)/2 + yerrors(x) = xerror + lum = 0 + End If + pixels(y*img.Width + x) = lum + Next + Next + Dim ret As AnImage + ret.Width = img.Width + ret.Height = img.Height + ret.Data = pixels + Return ret +End Sub + + +' GS v0 printing +'--------------- + +' Prints the given image at the specified height and width using the "GS v" command +' Image data is supplied as bytes each containing 8 bits of horizontal image data +' The top left of the image is Byte(0) and the bottom right is Byte(width*height-1) +' MSB of the byte is the leftmost image pixel, the LSB is the rightmost +' Maximum width is 72 bytes (576 bits), Maximum height is 512 bytes +' The printed pixels are square +' Returns status 0 : OK, -1 : too wide, -2 : too high, -3 : array too small +' The printer can take a long time to process the data and start printing +Public Sub PrintImage(img As AnImage) As Int + ' max width = 72 ' 72mm/576 bits wide + ' max height = 512 ' 64mm/512 bits high + If img.width > 72 Then Return -1 + If img.height > 512 Then Return -2 + If img.data.Length < img.width * img.height Then Return -3 + Dim xh As Int = img.width / 256 + Dim xl As Int = img.width - xh * 256 + Dim yh As Int = img.height / 256 + Dim yl As Int = img.height - yh * 256 + Dim params(5) As Byte + params(0) = 0 ' + params(1) = xl + params(2) = xh + params(3) = yl + params(4) = yh + WriteString(GS & "v0") + WriteBytes(params) + WriteBytes(img.data) + WriteString(CRLF) + Return 0 +End Sub + +' Printer support method for pre-processing images to print by PrintImage +' Takes an array of image pixels and packs it for use with PrintImage +' Each byte in the imagedata array is a single pixel valued zero or non-zero for white and black +' The returned array is 8 x smaller and packs 8 horizontal black or white pixels into each byte +' If the horizontal size of the image is not a multiple of 8 it will be truncated so that it is. +Public Sub PackImage(imagedata As AnImage) As AnImage + Dim xbytes As Int = imagedata.width/8 + Dim pixels(xbytes * imagedata.height) As Byte + Dim masks(8) As Byte + masks(0) = 0x80 + masks(1) = 0x40 + masks(2) = 0x20 + masks(3) = 0x10 + masks(4) = 0x08 + masks(5) = 0x04 + masks(6) = 0x02 + masks(7) = 0x01 + Dim index As Int = 0 + For y = 0 To imagedata.Height - 1 + For x = 0 To xbytes - 1 + Dim xbyte As Byte = 0 + For b = 0 To 7 + ' get a pixel + Dim pix As Byte = imagedata.Data(index) + If pix <> 0 Then + xbyte = xbyte + masks(b) + End If + index = index + 1 + Next + pixels(y*xbytes + x) = xbyte + Next + Next + Dim ret As AnImage + ret.Width = xbytes + ret.Height = imagedata.Height + ret.Data = pixels + Return ret +End Sub + + +' ESC * printing +'--------------- + +' Prints the given image slice at the specified height and width using the "ESC *" command +' Image data is supplied as bytes each containing 8 bits of vertical image data +' Pixels are not square, the width:height ratio varies with density and line height +' Returns status 0 = OK, -1 = too wide, -2 = too high, -3 = wrong array length +' Line spacing needs to be set to 0 if printing consecutive slices +' The printed pixels are not square, the ratio varies with the highdensity and dots24 parameter settings +' The highdensity parameter chooses high or low horizontal bit density when printed +' The dots24 parameter chooses 8 or 24 bit data slice height when printed +' Not(highdensity) +' Maximum width is 288 bits. Horizontal dpi is approximately 90 +' MSB of each byte is the highest image pixel, the LSB is the lowest +' highdensity +' Maximum width is 576 bits. Horizontal dpi is approximately 180 +' Not(dots24) +' Vertical printed height is 8 bits at approximately 60dpi +' One byte in the data Array represents one vertical line when printed +' Array size is the same as the width +' MSB of each byte is the highest image pixel, the LSB is the lowest +' dots24 +' Vertical printed height is 24 bits at approximately 180dpi +' Three consecutive bytes in the data array represent one vertical 24bit line when printed +' Array size is 3 times the width +' Byte(n+0) is the highest, byte (n+2) us the lowest +' MSB of each byte is the highest image pixel, the LSB is the lowest +Public Sub PrintImage2(width As Int, data() As Byte, highdensity As Boolean, dotds24 As Boolean) As Int + Dim d As String = Chr(0) + If Not(highdensity) And Not(dotds24 ) Then + d = Chr(0) + If width > 288 Then Return -1 + If data.Length <> width Then Return -3 + Else If highdensity And Not(dotds24) Then + d = Chr(1) + If width > 576 Then Return -1 + If data.Length <> width Then Return -3 + Else If Not(highdensity) And dotds24 Then + d = Chr(32) + If width > 288 Then Return -1 + If data.Length <> width*3 Then Return -3 + Else ' highdensity And dotds24 + d = Chr(33) + If width > 576 Then Return -1 + If data.Length <> width*3 Then Return -3 + End If + Dim xh As Int = width / 256 + Dim xl As Int = width - xh * 256 + Dim params(2) As Byte + params(0) = xl + params(1) = xh + WriteString(ESC & "*" & d) + WriteBytes(params) + WriteBytes(data) + WriteString(CRLF) + Return 0 +End Sub + +' Printer support method for pre-processing images to print by PrintImage2 +' Takes an array of image pixels and packs one slice of it for use with PrintImage2 +' Each byte in the imagedata array is a single pixel valued zero or non-zero for white and black +' The returned array packs 8 vertical black or white pixels into each byte +' If dots24 is True then the slice is 24 pixels high otherwise it is 8 pixels high +Public Sub PackImageSlice(img As AnImage, slice As Int, dots24 As Boolean) As Byte() + Dim bytes As Int = img.width + If dots24 Then + Dim pixels(bytes * 3) As Byte + Dim slicestart As Int = slice * bytes * 8 * 3 + Else + Dim pixels(bytes) As Byte + Dim slicestart As Int = slice * bytes * 8 + End If + + Dim masks(8) As Byte + masks(0) = 0x80 + masks(1) = 0x40 + masks(2) = 0x20 + masks(3) = 0x10 + masks(4) = 0x08 + masks(5) = 0x04 + masks(6) = 0x02 + masks(7) = 0x01 + ' You could compress this into a single code block but I left it as two to make it more obvious what's happening + If dots24 Then + For x = 0 To bytes - 1 + For s = 0 To 2 + Dim xbyte As Byte = 0 + For b = 0 To 7 + ' get a pixel + Dim pix As Byte = img.Data(slicestart + ((b + s*8) * bytes) + x) + If pix <> 0 Then + xbyte = xbyte + masks(b) + End If + Next + pixels(x*3+s) = xbyte + Next + Next + Else + For x = 0 To bytes - 1 + Dim xbyte As Byte = 0 + For b = 0 To 7 + ' get a pixel + Dim pix As Byte = img.Data(slicestart + (b * bytes) + x) + If pix <> 0 Then + xbyte = xbyte + masks(b) + End If + Next + pixels(x) = xbyte + Next + End If + Return pixels +End Sub + +'---------------- +'Barcode commands +'---------------- + +' Set the height of a 2D bar code as number of dots vertically, 1 to 255 +' Automatically resets to the default after printing the barcode +Public Sub setBarCodeHeight(height As Int) + WriteString(GS & "h") + Dim params(1) As Byte + params(0) = height + WriteBytes(params) +End Sub + +' Set the left inset of a 2D barcode, 0 to 255 +' This does not reset on receipt of RESET +Public Sub setBarCodeLeft(left As Int) + WriteString(GS & "x") + Dim params(1) As Byte + params(0) = left + WriteBytes(params) +End Sub + +' Set the width of each bar in a 2D barcode. width value is 2 to 6, default is 3 +' 2 = 0.250, 3 - 0.375, 4 = 0.560, 5 = 0.625, 6 = 0.75 +' Resets to default after printing the barcode +Public Sub setBarCodeWidth(width As Int) + WriteString(GS & "w") + Dim params(1) As Byte + params(0) = width + WriteBytes(params) +End Sub + +'Selects the printing position of HRI (Human Readable Interpretation) characters when printing a 2D bar code. +'0 Not printed, 1 Above the bar code, 2 Below the bar code, 3 Both above And below the bar code +' Automatically resets to the default of 0 after printing the barcode +' The docs say this can be Chr(0, 1 2 or 3) or "0" "1" "2" or "3" but the numeric characters don't work +Public Sub setHriPosn(posn As Int) + WriteString(GS & "H") + Dim params(1) As Byte + params(0) = posn + WriteBytes(params) +End Sub + +'Selects the font for HRI (Human Readable Interpretation) characters when printing a 2D bar code. +'0 Font A (12 x 24), 1 Font B (9 x 17) +' Automatically resets to the default of 0 after printing the barcode +' The docs say this can be Chr(0 or 1) or "0" or "1" but the numeric characters don't work +Public Sub setHriFont(font As Int) + WriteString(GS & "f" & Chr(font)) +End Sub + +' If given invalid data no barcode is printed, only strange characters +' CODABAR needs any of A,B,C or D at the start and end of the barcode. Some decoders may not like them anywhere else +' Bartype Code Number of characters Permitted values +' A | UPC-A | 11 or 12 characters | 0 to 9 | The 12th printed character is always the check digit +' B | UPC-E | 6 characters | 0 to 9 | The 12th printed character is always the check digit +' C | EAN13 | 12 or 13 characters | 0 to 9 | The 12th printed character is always the check digit +' D | EAN8 | 7 or 8 characters | 0 to 9 | The 8th printed character is always the check digit +' E | CODE39 | 1 or more characters | 0 to 9, A to Z, Space $ % + - . / +' F | ITF | 1 or more characters | 0 to 9 | even number of characters only +' G | CODABAR| 3 to 255 characters | 0 to 9, A to D, $ + - . / : | needs any of A,B,C or D at the start and end +' H | CODE93 | 1 to 255 characters | Same as CODE39 +' I | CODE128| 2 to 255 characters | entire 7 bit ASCII set +Public Sub WriteBarCode(bartype As String, data As String) + Dim databytes() As Byte = data.GetBytes("ASCII") + Dim dlow As Int = databytes.Length + Log("Barcode " & bartype & ", Size " & dlow & ", " & data) + WriteString(GS & "k" & bartype.ToUpperCase.CharAt(0)) + Dim params(1) As Byte + params(0) = dlow + WriteBytes(params) + WriteBytes(databytes) +End Sub + +' On my printer QR codes don't seem to be able to be decoded and on high ECs look obviously wrong :( +' size is 1 to 40, 0 is auto-size. Successive versions increase module size by 4 each side +' size = 1 is 21x21, 2 = 25x25 ... size 40 = 177x177 +' EC is error correction level, "L"(7%) or "M"(15%) or "Q"(25%) or "H"(30%) +' scale is 1 to 8, 1 is smallest, 8 is largest +Public Sub WriteQRCode(size As Int, EC As String, scale As Int, data As String) + Dim databytes() As Byte = data.GetBytes("ISO-8859-1") + Dim dhigh As Int = databytes.Length / 256 + Dim dlow As Int = databytes.Length - dhigh*256 + Log("QR Code : Size " & size & ", EC " & EC & ", Scale " & scale & ", Size " & dlow & " " & dhigh & " : Data = " & data) + Dim params(3) As Byte + params(0) = scale + params(1) = dlow + params(2) = dhigh + WriteString(ESC & "Z" & Chr(size) & EC.ToUpperCase.CharAt(0)) + WriteBytes(params) + WriteBytes(databytes) +End Sub + + +'**************** +' PRIVATE METHODS +'**************** + +'----------------------- +' Internal Serial Events +'----------------------- + +Private Sub Serial1_Connected (Success As Boolean) + If Success Then + Astream.Initialize(Serial1.InputStream, Serial1.OutputStream, "astream") + Connected = True + ConnectedError = "" + Serial1.Listen + Else + Connected = False + ConnectedError = LastException.Message + End If + If SubExists(CallBack, EventName & "_Connected") Then + CallSub2(CallBack, EventName & "_Connected", Success) + End If +End Sub + +'---------------------------- +' Internal AsyncStream Events +'---------------------------- + +Private Sub AStream_NewData (Buffer() As Byte) + If SubExists(CallBack, EventName & "_NewData") Then + CallSub2(CallBack, EventName & "_NewData", Buffer) + End If + Log("Data " & Buffer(0)) +End Sub + +Private Sub AStream_Error + If SubExists(CallBack, EventName & "_Error") Then + CallSub(CallBack, EventName & "_Error") + End If +End Sub + +Private Sub AStream_Terminated + Connected = False + If SubExists(CallBack, EventName & "_Terminated") Then + CallSub(CallBack, EventName & "_Terminated") + End If +End Sub diff --git a/B4A/Files/2023.png b/B4A/Files/2023.png new file mode 100644 index 0000000..0cc278b Binary files /dev/null and b/B4A/Files/2023.png differ diff --git a/B4A/Files/alert2.png b/B4A/Files/alert2.png new file mode 100644 index 0000000..44d3b7e Binary files /dev/null and b/B4A/Files/alert2.png differ diff --git a/B4A/Files/alerta.jpg b/B4A/Files/alerta.jpg new file mode 100644 index 0000000..5edc6ba Binary files /dev/null and b/B4A/Files/alerta.jpg differ diff --git a/B4A/Files/amigos.jpg b/B4A/Files/amigos.jpg new file mode 100644 index 0000000..2ed8649 Binary files /dev/null and b/B4A/Files/amigos.jpg differ diff --git a/B4A/Files/atras.png b/B4A/Files/atras.png new file mode 100644 index 0000000..1a5af22 Binary files /dev/null and b/B4A/Files/atras.png differ diff --git a/B4A/Files/atras1.png b/B4A/Files/atras1.png new file mode 100644 index 0000000..25e195c Binary files /dev/null and b/B4A/Files/atras1.png differ diff --git a/B4A/Files/buscar.bal b/B4A/Files/buscar.bal new file mode 100644 index 0000000..afb40f4 Binary files /dev/null and b/B4A/Files/buscar.bal differ diff --git a/B4A/Files/check.bal b/B4A/Files/check.bal new file mode 100644 index 0000000..4061605 Binary files /dev/null and b/B4A/Files/check.bal differ diff --git a/B4A/Files/checklist.bal b/B4A/Files/checklist.bal new file mode 100644 index 0000000..9462b17 Binary files /dev/null and b/B4A/Files/checklist.bal differ diff --git a/B4A/Files/cliente.bal b/B4A/Files/cliente.bal new file mode 100644 index 0000000..465ba30 Binary files /dev/null and b/B4A/Files/cliente.bal differ diff --git a/B4A/Files/clientes.bal b/B4A/Files/clientes.bal new file mode 100644 index 0000000..73efa8e Binary files /dev/null and b/B4A/Files/clientes.bal differ diff --git a/B4A/Files/dbc.png b/B4A/Files/dbc.png new file mode 100644 index 0000000..1519c8c Binary files /dev/null and b/B4A/Files/dbc.png differ diff --git a/B4A/Files/derecha.png b/B4A/Files/derecha.png new file mode 100644 index 0000000..58a1e82 Binary files /dev/null and b/B4A/Files/derecha.png differ diff --git a/B4A/Files/derecha1.png b/B4A/Files/derecha1.png new file mode 100644 index 0000000..ed3087b Binary files /dev/null and b/B4A/Files/derecha1.png differ diff --git a/B4A/Files/detalle_promo.bal b/B4A/Files/detalle_promo.bal new file mode 100644 index 0000000..0376a1d Binary files /dev/null and b/B4A/Files/detalle_promo.bal differ diff --git a/B4A/Files/detalleventa.bal b/B4A/Files/detalleventa.bal new file mode 100644 index 0000000..80f96b4 Binary files /dev/null and b/B4A/Files/detalleventa.bal differ diff --git a/B4A/Files/durakelo1.png b/B4A/Files/durakelo1.png new file mode 100644 index 0000000..00cb434 Binary files /dev/null and b/B4A/Files/durakelo1.png differ diff --git a/B4A/Files/engrane.jpg b/B4A/Files/engrane.jpg new file mode 100644 index 0000000..01159de Binary files /dev/null and b/B4A/Files/engrane.jpg differ diff --git a/B4A/Files/folioabono.bal b/B4A/Files/folioabono.bal new file mode 100644 index 0000000..0cac595 Binary files /dev/null and b/B4A/Files/folioabono.bal differ diff --git a/B4A/Files/fondo_kmt.jpg b/B4A/Files/fondo_kmt.jpg new file mode 100644 index 0000000..4055faf Binary files /dev/null and b/B4A/Files/fondo_kmt.jpg differ diff --git a/B4A/Files/foto.bal b/B4A/Files/foto.bal new file mode 100644 index 0000000..9cf56b7 Binary files /dev/null and b/B4A/Files/foto.bal differ diff --git a/B4A/Files/frintal.png b/B4A/Files/frintal.png new file mode 100644 index 0000000..b0c6420 Binary files /dev/null and b/B4A/Files/frintal.png differ diff --git a/B4A/Files/frontal1.gif b/B4A/Files/frontal1.gif new file mode 100644 index 0000000..06306db Binary files /dev/null and b/B4A/Files/frontal1.gif differ diff --git a/B4A/Files/frontal1.png b/B4A/Files/frontal1.png new file mode 100644 index 0000000..5ed81e3 Binary files /dev/null and b/B4A/Files/frontal1.png differ diff --git a/B4A/Files/guardagestion.bal b/B4A/Files/guardagestion.bal new file mode 100644 index 0000000..9156db1 Binary files /dev/null and b/B4A/Files/guardagestion.bal differ diff --git a/B4A/Files/guna_viejo.png b/B4A/Files/guna_viejo.png new file mode 100644 index 0000000..a0c3190 Binary files /dev/null and b/B4A/Files/guna_viejo.png differ diff --git a/B4A/Files/guna_viejo2.png b/B4A/Files/guna_viejo2.png new file mode 100644 index 0000000..d937027 Binary files /dev/null and b/B4A/Files/guna_viejo2.png differ diff --git a/B4A/Files/historico.bal b/B4A/Files/historico.bal new file mode 100644 index 0000000..929cd75 Binary files /dev/null and b/B4A/Files/historico.bal differ diff --git a/B4A/Files/infonavit1.jpg b/B4A/Files/infonavit1.jpg new file mode 100644 index 0000000..b8cce4c Binary files /dev/null and b/B4A/Files/infonavit1.jpg differ diff --git a/B4A/Files/intmex_logo_192x192.jpg b/B4A/Files/intmex_logo_192x192.jpg new file mode 100644 index 0000000..e798416 Binary files /dev/null and b/B4A/Files/intmex_logo_192x192.jpg differ diff --git a/B4A/Files/intmex_logo_192x192.png b/B4A/Files/intmex_logo_192x192.png new file mode 100644 index 0000000..e798416 Binary files /dev/null and b/B4A/Files/intmex_logo_192x192.png differ diff --git a/B4A/Files/intmex_logo_192x192___.jpg b/B4A/Files/intmex_logo_192x192___.jpg new file mode 100644 index 0000000..8b31f85 Binary files /dev/null and b/B4A/Files/intmex_logo_192x192___.jpg differ diff --git a/B4A/Files/intmex_logo_192x192___.png b/B4A/Files/intmex_logo_192x192___.png new file mode 100644 index 0000000..8b31f85 Binary files /dev/null and b/B4A/Files/intmex_logo_192x192___.png differ diff --git a/B4A/Files/inventarios.jpg b/B4A/Files/inventarios.jpg new file mode 100644 index 0000000..50fdc17 Binary files /dev/null and b/B4A/Files/inventarios.jpg differ diff --git a/B4A/Files/inventarios.png b/B4A/Files/inventarios.png new file mode 100644 index 0000000..b8f0d7f Binary files /dev/null and b/B4A/Files/inventarios.png differ diff --git a/B4A/Files/itembuttonblue.png b/B4A/Files/itembuttonblue.png new file mode 100644 index 0000000..af4dc0b Binary files /dev/null and b/B4A/Files/itembuttonblue.png differ diff --git a/B4A/Files/izquierda.png b/B4A/Files/izquierda.png new file mode 100644 index 0000000..bb268dc Binary files /dev/null and b/B4A/Files/izquierda.png differ diff --git a/B4A/Files/izquierda1.png b/B4A/Files/izquierda1.png new file mode 100644 index 0000000..20b1534 Binary files /dev/null and b/B4A/Files/izquierda1.png differ diff --git a/B4A/Files/kelloggs.png b/B4A/Files/kelloggs.png new file mode 100644 index 0000000..4debf15 Binary files /dev/null and b/B4A/Files/kelloggs.png differ diff --git a/B4A/Files/keymon_logo.png b/B4A/Files/keymon_logo.png new file mode 100644 index 0000000..945e546 Binary files /dev/null and b/B4A/Files/keymon_logo.png differ diff --git a/B4A/Files/kmt.db b/B4A/Files/kmt.db new file mode 100644 index 0000000..e7c0b39 Binary files /dev/null and b/B4A/Files/kmt.db differ diff --git a/B4A/Files/kmt2.db b/B4A/Files/kmt2.db new file mode 100644 index 0000000..30476e9 Binary files /dev/null and b/B4A/Files/kmt2.db differ diff --git a/B4A/Files/kmt3.db b/B4A/Files/kmt3.db new file mode 100644 index 0000000..b744c2a Binary files /dev/null and b/B4A/Files/kmt3.db differ diff --git a/B4A/Files/login.bal b/B4A/Files/login.bal new file mode 100644 index 0000000..8e2ed01 Binary files /dev/null and b/B4A/Files/login.bal differ diff --git a/B4A/Files/logo sanfer.jpg b/B4A/Files/logo sanfer.jpg new file mode 100644 index 0000000..791fe4f Binary files /dev/null and b/B4A/Files/logo sanfer.jpg differ diff --git a/B4A/Files/logo_exitus1.jpg b/B4A/Files/logo_exitus1.jpg new file mode 100644 index 0000000..b8cce4c Binary files /dev/null and b/B4A/Files/logo_exitus1.jpg differ diff --git a/B4A/Files/logo_mariana.jpg b/B4A/Files/logo_mariana.jpg new file mode 100644 index 0000000..8803ba9 Binary files /dev/null and b/B4A/Files/logo_mariana.jpg differ diff --git a/B4A/Files/mainpage.bal b/B4A/Files/mainpage.bal new file mode 100644 index 0000000..acba0d3 Binary files /dev/null and b/B4A/Files/mainpage.bal differ diff --git a/B4A/Files/malo.jpg b/B4A/Files/malo.jpg new file mode 100644 index 0000000..bbf3c87 Binary files /dev/null and b/B4A/Files/malo.jpg differ diff --git a/B4A/Files/mapa.bal b/B4A/Files/mapa.bal new file mode 100644 index 0000000..08ee427 Binary files /dev/null and b/B4A/Files/mapa.bal differ diff --git a/B4A/Files/mapa_cliente.bal b/B4A/Files/mapa_cliente.bal new file mode 100644 index 0000000..18c9bbd Binary files /dev/null and b/B4A/Files/mapa_cliente.bal differ diff --git a/B4A/Files/mapa_rutas.bal b/B4A/Files/mapa_rutas.bal new file mode 100644 index 0000000..dfcb856 Binary files /dev/null and b/B4A/Files/mapa_rutas.bal differ diff --git a/B4A/Files/mariana.jpg b/B4A/Files/mariana.jpg new file mode 100644 index 0000000..d294384 Binary files /dev/null and b/B4A/Files/mariana.jpg differ diff --git a/B4A/Files/mariana_logo_192x192.jpg b/B4A/Files/mariana_logo_192x192.jpg new file mode 100644 index 0000000..73ab234 Binary files /dev/null and b/B4A/Files/mariana_logo_192x192.jpg differ diff --git a/B4A/Files/marker-azul.png b/B4A/Files/marker-azul.png new file mode 100644 index 0000000..362226c Binary files /dev/null and b/B4A/Files/marker-azul.png differ diff --git a/B4A/Files/marker-azul1.png b/B4A/Files/marker-azul1.png new file mode 100644 index 0000000..a8852c7 Binary files /dev/null and b/B4A/Files/marker-azul1.png differ diff --git a/B4A/Files/marker-azul2.png b/B4A/Files/marker-azul2.png new file mode 100644 index 0000000..e5348be Binary files /dev/null and b/B4A/Files/marker-azul2.png differ diff --git a/B4A/Files/marker-azul3.png b/B4A/Files/marker-azul3.png new file mode 100644 index 0000000..4584195 Binary files /dev/null and b/B4A/Files/marker-azul3.png differ diff --git a/B4A/Files/marker-azul4.png b/B4A/Files/marker-azul4.png new file mode 100644 index 0000000..152a0da Binary files /dev/null and b/B4A/Files/marker-azul4.png differ diff --git a/B4A/Files/marker-azul5.png b/B4A/Files/marker-azul5.png new file mode 100644 index 0000000..b498110 Binary files /dev/null and b/B4A/Files/marker-azul5.png differ diff --git a/B4A/Files/marker-rojo.png b/B4A/Files/marker-rojo.png new file mode 100644 index 0000000..271c190 Binary files /dev/null and b/B4A/Files/marker-rojo.png differ diff --git a/B4A/Files/marker-rojo1.png b/B4A/Files/marker-rojo1.png new file mode 100644 index 0000000..1f3754d Binary files /dev/null and b/B4A/Files/marker-rojo1.png differ diff --git a/B4A/Files/marker-rojo2.png b/B4A/Files/marker-rojo2.png new file mode 100644 index 0000000..23ca769 Binary files /dev/null and b/B4A/Files/marker-rojo2.png differ diff --git a/B4A/Files/marker-verde.png b/B4A/Files/marker-verde.png new file mode 100644 index 0000000..48d8316 Binary files /dev/null and b/B4A/Files/marker-verde.png differ diff --git a/B4A/Files/no_venta.bal b/B4A/Files/no_venta.bal new file mode 100644 index 0000000..c0aeb8a Binary files /dev/null and b/B4A/Files/no_venta.bal differ diff --git a/B4A/Files/nuevocliente.bal b/B4A/Files/nuevocliente.bal new file mode 100644 index 0000000..b46991c Binary files /dev/null and b/B4A/Files/nuevocliente.bal differ diff --git a/B4A/Files/panel_pick_ciego.bal b/B4A/Files/panel_pick_ciego.bal new file mode 100644 index 0000000..0dce7eb Binary files /dev/null and b/B4A/Files/panel_pick_ciego.bal differ diff --git a/B4A/Files/pedido.bal b/B4A/Files/pedido.bal new file mode 100644 index 0000000..defff34 Binary files /dev/null and b/B4A/Files/pedido.bal differ diff --git a/B4A/Files/planfia_logo.png b/B4A/Files/planfia_logo.png new file mode 100644 index 0000000..680ffd0 Binary files /dev/null and b/B4A/Files/planfia_logo.png differ diff --git a/B4A/Files/planfia_logo_old.png b/B4A/Files/planfia_logo_old.png new file mode 100644 index 0000000..4adb130 Binary files /dev/null and b/B4A/Files/planfia_logo_old.png differ diff --git a/B4A/Files/planfia_logo_old2.png b/B4A/Files/planfia_logo_old2.png new file mode 100644 index 0000000..316f337 Binary files /dev/null and b/B4A/Files/planfia_logo_old2.png differ diff --git a/B4A/Files/principal.bal b/B4A/Files/principal.bal new file mode 100644 index 0000000..eddd697 Binary files /dev/null and b/B4A/Files/principal.bal differ diff --git a/B4A/Files/proditem.bal b/B4A/Files/proditem.bal new file mode 100644 index 0000000..210f3ed Binary files /dev/null and b/B4A/Files/proditem.bal differ diff --git a/B4A/Files/proditem2.bal b/B4A/Files/proditem2.bal new file mode 100644 index 0000000..416efee Binary files /dev/null and b/B4A/Files/proditem2.bal differ diff --git a/B4A/Files/productos.bal b/B4A/Files/productos.bal new file mode 100644 index 0000000..f1fc784 Binary files /dev/null and b/B4A/Files/productos.bal differ diff --git a/B4A/Files/profina.jpg b/B4A/Files/profina.jpg new file mode 100644 index 0000000..f092f0f Binary files /dev/null and b/B4A/Files/profina.jpg differ diff --git a/B4A/Files/profina.png b/B4A/Files/profina.png new file mode 100644 index 0000000..d307055 Binary files /dev/null and b/B4A/Files/profina.png differ diff --git a/B4A/Files/sync.png b/B4A/Files/sync.png new file mode 100644 index 0000000..ff7d32e Binary files /dev/null and b/B4A/Files/sync.png differ diff --git a/B4A/Files/tabulador.bal b/B4A/Files/tabulador.bal new file mode 100644 index 0000000..d4f90be Binary files /dev/null and b/B4A/Files/tabulador.bal differ diff --git a/B4A/Files/telefonos.bal b/B4A/Files/telefonos.bal new file mode 100644 index 0000000..7c1d382 Binary files /dev/null and b/B4A/Files/telefonos.bal differ diff --git a/B4A/Izca_Reparto.b4a b/B4A/Izca_Reparto.b4a new file mode 100644 index 0000000..782e855 --- /dev/null +++ b/B4A/Izca_Reparto.b4a @@ -0,0 +1,3085 @@ +Build1=Default,reparto_izca.keymon.lat,HU2_PUBLIC +File1=0maker-azul.png +File10=100maker-azul2.png +File100=112maker-azul1.png +File1000=47maker-azul4.png +File1001=47marker-rojo.png +File1002=47marker-verde.png +File1003=48maker-azul.png +File1004=48maker-azul1.png +File1005=48maker-azul2.png +File1006=48maker-azul3.png +File1007=48maker-azul4.png +File1008=48marker-rojo.png +File1009=48marker-verde.png +File101=112maker-azul2.png +File1010=49maker-azul.png +File1011=49maker-azul1.png +File1012=49maker-azul2.png +File1013=49maker-azul3.png +File1014=49maker-azul4.png +File1015=49marker-rojo.png +File1016=49marker-verde.png +File1017=4maker-azul.png +File1018=4maker-azul1.png +File1019=4maker-azul2.png +File102=112maker-azul3.png +File1020=4maker-azul3.png +File1021=4maker-azul4.png +File1022=4marker-rojo.png +File1023=4marker-verde.png +File1024=50maker-azul.png +File1025=50maker-azul1.png +File1026=50maker-azul2.png +File1027=50maker-azul3.png +File1028=50maker-azul4.png +File1029=50marker-rojo.png +File103=112maker-azul4.png +File1030=50marker-verde.png +File1031=51maker-azul.png +File1032=51maker-azul1.png +File1033=51maker-azul2.png +File1034=51maker-azul3.png +File1035=51maker-azul4.png +File1036=51marker-rojo.png +File1037=51marker-verde.png +File1038=52maker-azul.png +File1039=52maker-azul1.png +File104=112marker-rojo.png +File1040=52maker-azul2.png +File1041=52maker-azul3.png +File1042=52maker-azul4.png +File1043=52marker-rojo.png +File1044=52marker-verde.png +File1045=53maker-azul.png +File1046=53maker-azul1.png +File1047=53maker-azul2.png +File1048=53maker-azul3.png +File1049=53maker-azul4.png +File105=112marker-verde.png +File1050=53marker-rojo.png +File1051=53marker-verde.png +File1052=54maker-azul.png +File1053=54maker-azul1.png +File1054=54maker-azul2.png +File1055=54maker-azul3.png +File1056=54maker-azul4.png +File1057=54marker-rojo.png +File1058=54marker-verde.png +File1059=55maker-azul.png +File106=113maker-azul.png +File1060=55maker-azul1.png +File1061=55maker-azul2.png +File1062=55maker-azul3.png +File1063=55maker-azul4.png +File1064=55marker-rojo.png +File1065=55marker-verde.png +File1066=56maker-azul.png +File1067=56maker-azul1.png +File1068=56maker-azul2.png +File1069=56maker-azul3.png +File107=113maker-azul1.png +File1070=56maker-azul4.png +File1071=56marker-rojo.png +File1072=56marker-verde.png +File1073=57maker-azul.png +File1074=57maker-azul1.png +File1075=57maker-azul2.png +File1076=57maker-azul3.png +File1077=57maker-azul4.png +File1078=57marker-rojo.png +File1079=57marker-verde.png +File108=113maker-azul2.png +File1080=58maker-azul.png +File1081=58maker-azul1.png +File1082=58maker-azul2.png +File1083=58maker-azul3.png +File1084=58maker-azul4.png +File1085=58marker-rojo.png +File1086=58marker-verde.png +File1087=59maker-azul.png +File1088=59maker-azul1.png +File1089=59maker-azul2.png +File109=113maker-azul3.png +File1090=59maker-azul3.png +File1091=59maker-azul4.png +File1092=59marker-rojo.png +File1093=59marker-verde.png +File1094=5maker-azul.png +File1095=5maker-azul1.png +File1096=5maker-azul2.png +File1097=5maker-azul3.png +File1098=5maker-azul4.png +File1099=5marker-rojo.png +File11=100maker-azul3.png +File110=113maker-azul4.png +File1100=5marker-verde.png +File1101=60maker-azul.png +File1102=60maker-azul1.png +File1103=60maker-azul2.png +File1104=60maker-azul3.png +File1105=60maker-azul4.png +File1106=60marker-rojo.png +File1107=60marker-verde.png +File1108=61maker-azul.png +File1109=61maker-azul1.png +File111=113marker-rojo.png +File1110=61maker-azul2.png +File1111=61maker-azul3.png +File1112=61maker-azul4.png +File1113=61marker-rojo.png +File1114=61marker-verde.png +File1115=62maker-azul.png +File1116=62maker-azul1.png +File1117=62maker-azul2.png +File1118=62maker-azul3.png +File1119=62maker-azul4.png +File112=113marker-verde.png +File1120=62marker-rojo.png +File1121=62marker-verde.png +File1122=63maker-azul.png +File1123=63maker-azul1.png +File1124=63maker-azul2.png +File1125=63maker-azul3.png +File1126=63maker-azul4.png +File1127=63marker-rojo.png +File1128=63marker-verde.png +File1129=64maker-azul.png +File113=114maker-azul.png +File1130=64maker-azul1.png +File1131=64maker-azul2.png +File1132=64maker-azul3.png +File1133=64maker-azul4.png +File1134=64marker-rojo.png +File1135=64marker-verde.png +File1136=65maker-azul.png +File1137=65maker-azul1.png +File1138=65maker-azul2.png +File1139=65maker-azul3.png +File114=114maker-azul1.png +File1140=65maker-azul4.png +File1141=65marker-rojo.png +File1142=65marker-verde.png +File1143=66maker-azul.png +File1144=66maker-azul1.png +File1145=66maker-azul2.png +File1146=66maker-azul3.png +File1147=66maker-azul4.png +File1148=66marker-rojo.png +File1149=66marker-verde.png +File115=114maker-azul2.png +File1150=67maker-azul.png +File1151=67maker-azul1.png +File1152=67maker-azul2.png +File1153=67maker-azul3.png +File1154=67maker-azul4.png +File1155=67marker-rojo.png +File1156=67marker-verde.png +File1157=68maker-azul.png +File1158=68maker-azul1.png +File1159=68maker-azul2.png +File116=114maker-azul3.png +File1160=68maker-azul3.png +File1161=68maker-azul4.png +File1162=68marker-rojo.png +File1163=68marker-verde.png +File1164=69maker-azul.png +File1165=69maker-azul1.png +File1166=69maker-azul2.png +File1167=69maker-azul3.png +File1168=69maker-azul4.png +File1169=69marker-rojo.png +File117=114maker-azul4.png +File1170=69marker-verde.png +File1171=6maker-azul.png +File1172=6maker-azul1.png +File1173=6maker-azul2.png +File1174=6maker-azul3.png +File1175=6maker-azul4.png +File1176=6marker-rojo.png +File1177=6marker-verde.png +File1178=70maker-azul.png +File1179=70maker-azul1.png +File118=114marker-rojo.png +File1180=70maker-azul2.png +File1181=70maker-azul3.png +File1182=70maker-azul4.png +File1183=70marker-rojo.png +File1184=70marker-verde.png +File1185=71maker-azul.png +File1186=71maker-azul1.png +File1187=71maker-azul2.png +File1188=71maker-azul3.png +File1189=71maker-azul4.png +File119=114marker-verde.png +File1190=71marker-rojo.png +File1191=71marker-verde.png +File1192=72maker-azul.png +File1193=72maker-azul1.png +File1194=72maker-azul2.png +File1195=72maker-azul3.png +File1196=72maker-azul4.png +File1197=72marker-rojo.png +File1198=72marker-verde.png +File1199=73maker-azul.png +File12=100maker-azul4.png +File120=115maker-azul.png +File1200=73maker-azul1.png +File1201=73maker-azul2.png +File1202=73maker-azul3.png +File1203=73maker-azul4.png +File1204=73marker-rojo.png +File1205=73marker-verde.png +File1206=74maker-azul.png +File1207=74maker-azul1.png +File1208=74maker-azul2.png +File1209=74maker-azul3.png +File121=115maker-azul1.png +File1210=74maker-azul4.png +File1211=74marker-rojo.png +File1212=74marker-verde.png +File1213=75maker-azul.png +File1214=75maker-azul1.png +File1215=75maker-azul2.png +File1216=75maker-azul3.png +File1217=75maker-azul4.png +File1218=75marker-rojo.png +File1219=75marker-verde.png +File122=115maker-azul2.png +File1220=76maker-azul.png +File1221=76maker-azul1.png +File1222=76maker-azul2.png +File1223=76maker-azul3.png +File1224=76maker-azul4.png +File1225=76marker-rojo.png +File1226=76marker-verde.png +File1227=77maker-azul.png +File1228=77maker-azul1.png +File1229=77maker-azul2.png +File123=115maker-azul3.png +File1230=77maker-azul3.png +File1231=77maker-azul4.png +File1232=77marker-rojo.png +File1233=77marker-verde.png +File1234=78maker-azul.png +File1235=78maker-azul1.png +File1236=78maker-azul2.png +File1237=78maker-azul3.png +File1238=78maker-azul4.png +File1239=78marker-rojo.png +File124=115maker-azul4.png +File1240=78marker-verde.png +File1241=79maker-azul.png +File1242=79maker-azul1.png +File1243=79maker-azul2.png +File1244=79maker-azul3.png +File1245=79maker-azul4.png +File1246=79marker-rojo.png +File1247=79marker-verde.png +File1248=7maker-azul.png +File1249=7maker-azul1.png +File125=115marker-rojo.png +File1250=7maker-azul2.png +File1251=7maker-azul3.png +File1252=7maker-azul4.png +File1253=7marker-rojo.png +File1254=7marker-verde.png +File1255=80maker-azul.png +File1256=80maker-azul1.png +File1257=80maker-azul2.png +File1258=80maker-azul3.png +File1259=80maker-azul4.png +File126=115marker-verde.png +File1260=80marker-rojo.png +File1261=80marker-verde.png +File1262=81maker-azul.png +File1263=81maker-azul1.png +File1264=81maker-azul2.png +File1265=81maker-azul3.png +File1266=81maker-azul4.png +File1267=81marker-rojo.png +File1268=81marker-verde.png +File1269=82maker-azul.png +File127=116maker-azul.png +File1270=82maker-azul1.png +File1271=82maker-azul2.png +File1272=82maker-azul3.png +File1273=82maker-azul4.png +File1274=82marker-rojo.png +File1275=82marker-verde.png +File1276=83maker-azul.png +File1277=83maker-azul1.png +File1278=83maker-azul2.png +File1279=83maker-azul3.png +File128=116maker-azul1.png +File1280=83maker-azul4.png +File1281=83marker-rojo.png +File1282=83marker-verde.png +File1283=84maker-azul.png +File1284=84maker-azul1.png +File1285=84maker-azul2.png +File1286=84maker-azul3.png +File1287=84maker-azul4.png +File1288=84marker-rojo.png +File1289=84marker-verde.png +File129=116maker-azul2.png +File1290=85maker-azul.png +File1291=85maker-azul1.png +File1292=85maker-azul2.png +File1293=85maker-azul3.png +File1294=85maker-azul4.png +File1295=85marker-rojo.png +File1296=85marker-verde.png +File1297=86maker-azul.png +File1298=86maker-azul1.png +File1299=86maker-azul2.png +File13=100marker-rojo.png +File130=116maker-azul3.png +File1300=86maker-azul3.png +File1301=86maker-azul4.png +File1302=86marker-rojo.png +File1303=86marker-verde.png +File1304=87maker-azul.png +File1305=87maker-azul1.png +File1306=87maker-azul2.png +File1307=87maker-azul3.png +File1308=87maker-azul4.png +File1309=87marker-rojo.png +File131=116maker-azul4.png +File1310=87marker-verde.png +File1311=88maker-azul.png +File1312=88maker-azul1.png +File1313=88maker-azul2.png +File1314=88maker-azul3.png +File1315=88maker-azul4.png +File1316=88marker-rojo.png +File1317=88marker-verde.png +File1318=89maker-azul.png +File1319=89maker-azul1.png +File132=116marker-rojo.png +File1320=89maker-azul2.png +File1321=89maker-azul3.png +File1322=89maker-azul4.png +File1323=89marker-rojo.png +File1324=89marker-verde.png +File1325=8maker-azul.png +File1326=8maker-azul1.png +File1327=8maker-azul2.png +File1328=8maker-azul3.png +File1329=8maker-azul4.png +File133=116marker-verde.png +File1330=8marker-rojo.png +File1331=8marker-verde.png +File1332=90maker-azul.png +File1333=90maker-azul1.png +File1334=90maker-azul2.png +File1335=90maker-azul3.png +File1336=90maker-azul4.png +File1337=90marker-rojo.png +File1338=90marker-verde.png +File1339=91maker-azul.png +File134=117maker-azul.png +File1340=91maker-azul1.png +File1341=91maker-azul2.png +File1342=91maker-azul3.png +File1343=91maker-azul4.png +File1344=91marker-rojo.png +File1345=91marker-verde.png +File1346=92maker-azul.png +File1347=92maker-azul1.png +File1348=92maker-azul2.png +File1349=92maker-azul3.png +File135=117maker-azul1.png +File1350=92maker-azul4.png +File1351=92marker-rojo.png +File1352=92marker-verde.png +File1353=93maker-azul.png +File1354=93maker-azul1.png +File1355=93maker-azul2.png +File1356=93maker-azul3.png +File1357=93maker-azul4.png +File1358=93marker-rojo.png +File1359=93marker-verde.png +File136=117maker-azul2.png +File1360=94maker-azul.png +File1361=94maker-azul1.png +File1362=94maker-azul2.png +File1363=94maker-azul3.png +File1364=94maker-azul4.png +File1365=94marker-rojo.png +File1366=94marker-verde.png +File1367=95maker-azul.png +File1368=95maker-azul1.png +File1369=95maker-azul2.png +File137=117maker-azul3.png +File1370=95maker-azul3.png +File1371=95maker-azul4.png +File1372=95marker-rojo.png +File1373=95marker-verde.png +File1374=96maker-azul.png +File1375=96maker-azul1.png +File1376=96maker-azul2.png +File1377=96maker-azul3.png +File1378=96maker-azul4.png +File1379=96marker-rojo.png +File138=117maker-azul4.png +File1380=96marker-verde.png +File1381=97maker-azul.png +File1382=97maker-azul1.png +File1383=97maker-azul2.png +File1384=97maker-azul3.png +File1385=97maker-azul4.png +File1386=97marker-rojo.png +File1387=97marker-verde.png +File1388=98maker-azul.png +File1389=98maker-azul1.png +File139=117marker-rojo.png +File1390=98maker-azul2.png +File1391=98maker-azul3.png +File1392=98maker-azul4.png +File1393=98marker-rojo.png +File1394=98marker-verde.png +File1395=99maker-azul.png +File1396=99maker-azul1.png +File1397=99maker-azul2.png +File1398=99maker-azul3.png +File1399=99maker-azul4.png +File14=100marker-verde.png +File140=117marker-verde.png +File1400=99marker-rojo.png +File1401=99marker-verde.png +File1402=9maker-azul.png +File1403=9maker-azul1.png +File1404=9maker-azul2.png +File1405=9maker-azul3.png +File1406=9maker-azul4.png +File1407=9marker-rojo.png +File1408=9marker-verde.png +File1409=alert2.png +File141=118maker-azul.png +File1410=alerta.jpg +File1411=amigos.jpg +File1412=atras.png +File1413=atras1.png +File1414=buscar.bal +File1415=check.bal +File1416=checklist.bal +File1417=cliente.bal +File1418=clientes.bal +File1419=dbc.png +File142=118maker-azul1.png +File1420=derecha.png +File1421=derecha1.png +File1422=detalle_promo.bal +File1423=detalleVenta.bal +File1424=durakelo1.png +File1425=engrane.jpg +File1426=folioabono.bal +File1427=fondo_kmt.jpg +File1428=foto.bal +File1429=frintal.png +File143=118maker-azul2.png +File1430=frontal1.gif +File1431=frontal1.png +File1432=guardagestion.bal +File1433=guna_viejo.png +File1434=guna_viejo2.png +File1435=historico.bal +File1436=infonavit1.jpg +File1437=intmex_logo_192x192.jpg +File1438=intmex_logo_192x192.png +File1439=inventarios.jpg +File144=118maker-azul3.png +File1440=inventarios.png +File1441=itembuttonblue.png +File1442=izquierda.png +File1443=izquierda1.png +File1444=kelloggs.png +File1445=keymon_logo.png +File1446=kmt.db +File1447=kmt2.db +File1448=kmt3.db +File1449=login.bal +File145=118maker-azul4.png +File1450=logo sanfer.jpg +File1451=logo_exitus1.jpg +File1452=logo_mariana.jpg +File1453=MainPage.bal +File1454=malo.jpg +File1455=mapa.bal +File1456=mapa_cliente.bal +File1457=mapa_rutas.bal +File1458=mariana.jpg +File1459=mariana_logo_192x192.jpg +File146=118marker-rojo.png +File1460=MARQUEZ_logo_192x192.jpg +File1461=no_venta.bal +File1462=nuevocliente.bal +File1463=panel_pick_ciego.bal +File1464=pedido.bal +File1465=planfia_logo.png +File1466=planfia_logo_old.png +File1467=planfia_logo_old2.png +File1468=principal.bal +File1469=proditem.bal +File147=118marker-verde.png +File1470=proditem2.bal +File1471=productos.bal +File1472=profina.jpg +File1473=PROFINA.png +File1474=sync.png +File1475=tabulador.bal +File1476=telefonos.bal +File148=119maker-azul.png +File149=119maker-azul1.png +File15=101maker-azul.png +File150=119maker-azul2.png +File151=119maker-azul3.png +File152=119maker-azul4.png +File153=119marker-rojo.png +File154=119marker-verde.png +File155=11maker-azul.png +File156=11maker-azul1.png +File157=11maker-azul2.png +File158=11maker-azul3.png +File159=11maker-azul4.png +File16=101maker-azul1.png +File160=11marker-rojo.png +File161=11marker-verde.png +File162=120maker-azul.png +File163=120maker-azul1.png +File164=120maker-azul2.png +File165=120maker-azul3.png +File166=120maker-azul4.png +File167=120marker-rojo.png +File168=120marker-verde.png +File169=121maker-azul.png +File17=101maker-azul2.png +File170=121maker-azul1.png +File171=121maker-azul2.png +File172=121maker-azul3.png +File173=121maker-azul4.png +File174=121marker-rojo.png +File175=121marker-verde.png +File176=122maker-azul.png +File177=122maker-azul1.png +File178=122maker-azul2.png +File179=122maker-azul3.png +File18=101maker-azul3.png +File180=122maker-azul4.png +File181=122marker-rojo.png +File182=122marker-verde.png +File183=123maker-azul.png +File184=123maker-azul1.png +File185=123maker-azul2.png +File186=123maker-azul3.png +File187=123maker-azul4.png +File188=123marker-rojo.png +File189=123marker-verde.png +File19=101maker-azul4.png +File190=124maker-azul.png +File191=124maker-azul1.png +File192=124maker-azul2.png +File193=124maker-azul3.png +File194=124maker-azul4.png +File195=124marker-rojo.png +File196=124marker-verde.png +File197=125maker-azul.png +File198=125maker-azul1.png +File199=125maker-azul2.png +File2=0maker-azul1.png +File20=101marker-rojo.png +File200=125maker-azul3.png +File201=125maker-azul4.png +File202=125marker-rojo.png +File203=125marker-verde.png +File204=126maker-azul.png +File205=126maker-azul1.png +File206=126maker-azul2.png +File207=126maker-azul3.png +File208=126maker-azul4.png +File209=126marker-rojo.png +File21=101marker-verde.png +File210=126marker-verde.png +File211=127maker-azul.png +File212=127maker-azul1.png +File213=127maker-azul2.png +File214=127maker-azul3.png +File215=127maker-azul4.png +File216=127marker-rojo.png +File217=127marker-verde.png +File218=128maker-azul.png +File219=128maker-azul1.png +File22=102maker-azul.png +File220=128maker-azul2.png +File221=128maker-azul3.png +File222=128maker-azul4.png +File223=128marker-rojo.png +File224=128marker-verde.png +File225=129maker-azul.png +File226=129maker-azul1.png +File227=129maker-azul2.png +File228=129maker-azul3.png +File229=129maker-azul4.png +File23=102maker-azul1.png +File230=129marker-rojo.png +File231=129marker-verde.png +File232=12maker-azul.png +File233=12maker-azul1.png +File234=12maker-azul2.png +File235=12maker-azul3.png +File236=12maker-azul4.png +File237=12marker-rojo.png +File238=12marker-verde.png +File239=130maker-azul.png +File24=102maker-azul2.png +File240=130maker-azul1.png +File241=130maker-azul2.png +File242=130maker-azul3.png +File243=130maker-azul4.png +File244=130marker-rojo.png +File245=130marker-verde.png +File246=131maker-azul.png +File247=131maker-azul1.png +File248=131maker-azul2.png +File249=131maker-azul3.png +File25=102maker-azul3.png +File250=131maker-azul4.png +File251=131marker-rojo.png +File252=131marker-verde.png +File253=132maker-azul.png +File254=132maker-azul1.png +File255=132maker-azul2.png +File256=132maker-azul3.png +File257=132maker-azul4.png +File258=132marker-rojo.png +File259=132marker-verde.png +File26=102maker-azul4.png +File260=133maker-azul.png +File261=133maker-azul1.png +File262=133maker-azul2.png +File263=133maker-azul3.png +File264=133maker-azul4.png +File265=133marker-rojo.png +File266=133marker-verde.png +File267=134maker-azul.png +File268=134maker-azul1.png +File269=134maker-azul2.png +File27=102marker-rojo.png +File270=134maker-azul3.png +File271=134maker-azul4.png +File272=134marker-rojo.png +File273=134marker-verde.png +File274=135maker-azul.png +File275=135maker-azul1.png +File276=135maker-azul2.png +File277=135maker-azul3.png +File278=135maker-azul4.png +File279=135marker-rojo.png +File28=102marker-verde.png +File280=135marker-verde.png +File281=136maker-azul.png +File282=136maker-azul1.png +File283=136maker-azul2.png +File284=136maker-azul3.png +File285=136maker-azul4.png +File286=136marker-rojo.png +File287=136marker-verde.png +File288=137maker-azul.png +File289=137maker-azul1.png +File29=103maker-azul.png +File290=137maker-azul2.png +File291=137maker-azul3.png +File292=137maker-azul4.png +File293=137marker-rojo.png +File294=137marker-verde.png +File295=138maker-azul.png +File296=138maker-azul1.png +File297=138maker-azul2.png +File298=138maker-azul3.png +File299=138maker-azul4.png +File3=0maker-azul2.png +File30=103maker-azul1.png +File300=138marker-rojo.png +File301=138marker-verde.png +File302=139maker-azul.png +File303=139maker-azul1.png +File304=139maker-azul2.png +File305=139maker-azul3.png +File306=139maker-azul4.png +File307=139marker-rojo.png +File308=139marker-verde.png +File309=13maker-azul.png +File31=103maker-azul2.png +File310=13maker-azul1.png +File311=13maker-azul2.png +File312=13maker-azul3.png +File313=13maker-azul4.png +File314=13marker-rojo.png +File315=13marker-verde.png +File316=140maker-azul.png +File317=140maker-azul1.png +File318=140maker-azul2.png +File319=140maker-azul3.png +File32=103maker-azul3.png +File320=140maker-azul4.png +File321=140marker-rojo.png +File322=140marker-verde.png +File323=141maker-azul.png +File324=141maker-azul1.png +File325=141maker-azul2.png +File326=141maker-azul3.png +File327=141maker-azul4.png +File328=141marker-rojo.png +File329=141marker-verde.png +File33=103maker-azul4.png +File330=142maker-azul.png +File331=142maker-azul1.png +File332=142maker-azul2.png +File333=142maker-azul3.png +File334=142maker-azul4.png +File335=142marker-rojo.png +File336=142marker-verde.png +File337=143maker-azul.png +File338=143maker-azul1.png +File339=143maker-azul2.png +File34=103marker-rojo.png +File340=143maker-azul3.png +File341=143maker-azul4.png +File342=143marker-rojo.png +File343=143marker-verde.png +File344=144maker-azul.png +File345=144maker-azul1.png +File346=144maker-azul2.png +File347=144maker-azul3.png +File348=144maker-azul4.png +File349=144marker-rojo.png +File35=103marker-verde.png +File350=144marker-verde.png +File351=145maker-azul.png +File352=145maker-azul1.png +File353=145maker-azul2.png +File354=145maker-azul3.png +File355=145maker-azul4.png +File356=145marker-rojo.png +File357=145marker-verde.png +File358=146maker-azul.png +File359=146maker-azul1.png +File36=104maker-azul.png +File360=146maker-azul2.png +File361=146maker-azul3.png +File362=146maker-azul4.png +File363=146marker-rojo.png +File364=146marker-verde.png +File365=147maker-azul.png +File366=147maker-azul1.png +File367=147maker-azul2.png +File368=147maker-azul3.png +File369=147maker-azul4.png +File37=104maker-azul1.png +File370=147marker-rojo.png +File371=147marker-verde.png +File372=148maker-azul.png +File373=148maker-azul1.png +File374=148maker-azul2.png +File375=148maker-azul3.png +File376=148maker-azul4.png +File377=148marker-rojo.png +File378=148marker-verde.png +File379=149maker-azul.png +File38=104maker-azul2.png +File380=149maker-azul1.png +File381=149maker-azul2.png +File382=149maker-azul3.png +File383=149maker-azul4.png +File384=149marker-rojo.png +File385=149marker-verde.png +File386=14maker-azul.png +File387=14maker-azul1.png +File388=14maker-azul2.png +File389=14maker-azul3.png +File39=104maker-azul3.png +File390=14maker-azul4.png +File391=14marker-rojo.png +File392=14marker-verde.png +File393=150maker-azul.png +File394=150maker-azul1.png +File395=150maker-azul2.png +File396=150maker-azul3.png +File397=150maker-azul4.png +File398=150marker-rojo.png +File399=150marker-verde.png +File4=0maker-azul3.png +File40=104maker-azul4.png +File400=151maker-azul.png +File401=151maker-azul1.png +File402=151maker-azul2.png +File403=151maker-azul3.png +File404=151maker-azul4.png +File405=151marker-rojo.png +File406=151marker-verde.png +File407=152maker-azul.png +File408=152maker-azul1.png +File409=152maker-azul2.png +File41=104marker-rojo.png +File410=152maker-azul3.png +File411=152maker-azul4.png +File412=152marker-rojo.png +File413=152marker-verde.png +File414=153maker-azul.png +File415=153maker-azul1.png +File416=153maker-azul2.png +File417=153maker-azul3.png +File418=153maker-azul4.png +File419=153marker-rojo.png +File42=104marker-verde.png +File420=153marker-verde.png +File421=154maker-azul.png +File422=154maker-azul1.png +File423=154maker-azul2.png +File424=154maker-azul3.png +File425=154maker-azul4.png +File426=154marker-rojo.png +File427=154marker-verde.png +File428=155maker-azul.png +File429=155maker-azul1.png +File43=105maker-azul.png +File430=155maker-azul2.png +File431=155maker-azul3.png +File432=155maker-azul4.png +File433=155marker-rojo.png +File434=155marker-verde.png +File435=156maker-azul.png +File436=156maker-azul1.png +File437=156maker-azul2.png +File438=156maker-azul3.png +File439=156maker-azul4.png +File44=105maker-azul1.png +File440=156marker-rojo.png +File441=156marker-verde.png +File442=157maker-azul.png +File443=157maker-azul1.png +File444=157maker-azul2.png +File445=157maker-azul3.png +File446=157maker-azul4.png +File447=157marker-rojo.png +File448=157marker-verde.png +File449=158maker-azul.png +File45=105maker-azul2.png +File450=158maker-azul1.png +File451=158maker-azul2.png +File452=158maker-azul3.png +File453=158maker-azul4.png +File454=158marker-rojo.png +File455=158marker-verde.png +File456=159maker-azul.png +File457=159maker-azul1.png +File458=159maker-azul2.png +File459=159maker-azul3.png +File46=105maker-azul3.png +File460=159maker-azul4.png +File461=159marker-rojo.png +File462=159marker-verde.png +File463=15maker-azul.png +File464=15maker-azul1.png +File465=15maker-azul2.png +File466=15maker-azul3.png +File467=15maker-azul4.png +File468=15marker-rojo.png +File469=15marker-verde.png +File47=105maker-azul4.png +File470=160maker-azul.png +File471=160maker-azul1.png +File472=160maker-azul2.png +File473=160maker-azul3.png +File474=160maker-azul4.png +File475=160marker-rojo.png +File476=160marker-verde.png +File477=161maker-azul.png +File478=161maker-azul1.png +File479=161maker-azul2.png +File48=105marker-rojo.png +File480=161maker-azul3.png +File481=161maker-azul4.png +File482=161marker-rojo.png +File483=161marker-verde.png +File484=162maker-azul.png +File485=162maker-azul1.png +File486=162maker-azul2.png +File487=162maker-azul3.png +File488=162maker-azul4.png +File489=162marker-rojo.png +File49=105marker-verde.png +File490=162marker-verde.png +File491=163maker-azul.png +File492=163maker-azul1.png +File493=163maker-azul2.png +File494=163maker-azul3.png +File495=163maker-azul4.png +File496=163marker-rojo.png +File497=163marker-verde.png +File498=164maker-azul.png +File499=164maker-azul1.png +File5=0maker-azul4.png +File50=106maker-azul.png +File500=164maker-azul2.png +File501=164maker-azul3.png +File502=164maker-azul4.png +File503=164marker-rojo.png +File504=164marker-verde.png +File505=165maker-azul.png +File506=165maker-azul1.png +File507=165maker-azul2.png +File508=165maker-azul3.png +File509=165maker-azul4.png +File51=106maker-azul1.png +File510=165marker-rojo.png +File511=165marker-verde.png +File512=166maker-azul.png +File513=166maker-azul1.png +File514=166maker-azul2.png +File515=166maker-azul3.png +File516=166maker-azul4.png +File517=166marker-rojo.png +File518=166marker-verde.png +File519=167maker-azul.png +File52=106maker-azul2.png +File520=167maker-azul1.png +File521=167maker-azul2.png +File522=167maker-azul3.png +File523=167maker-azul4.png +File524=167marker-rojo.png +File525=167marker-verde.png +File526=168maker-azul.png +File527=168maker-azul1.png +File528=168maker-azul2.png +File529=168maker-azul3.png +File53=106maker-azul3.png +File530=168maker-azul4.png +File531=168marker-rojo.png +File532=168marker-verde.png +File533=169maker-azul.png +File534=169maker-azul1.png +File535=169maker-azul2.png +File536=169maker-azul3.png +File537=169maker-azul4.png +File538=169marker-rojo.png +File539=169marker-verde.png +File54=106maker-azul4.png +File540=16maker-azul.png +File541=16maker-azul1.png +File542=16maker-azul2.png +File543=16maker-azul3.png +File544=16maker-azul4.png +File545=16marker-rojo.png +File546=16marker-verde.png +File547=170maker-azul.png +File548=170maker-azul1.png +File549=170maker-azul2.png +File55=106marker-rojo.png +File550=170maker-azul3.png +File551=170maker-azul4.png +File552=170marker-rojo.png +File553=170marker-verde.png +File554=171maker-azul.png +File555=171maker-azul1.png +File556=171maker-azul2.png +File557=171maker-azul3.png +File558=171maker-azul4.png +File559=171marker-rojo.png +File56=106marker-verde.png +File560=171marker-verde.png +File561=172maker-azul.png +File562=172maker-azul1.png +File563=172maker-azul2.png +File564=172maker-azul3.png +File565=172maker-azul4.png +File566=172marker-rojo.png +File567=172marker-verde.png +File568=173maker-azul.png +File569=173maker-azul1.png +File57=107maker-azul.png +File570=173maker-azul2.png +File571=173maker-azul3.png +File572=173maker-azul4.png +File573=173marker-rojo.png +File574=173marker-verde.png +File575=174maker-azul.png +File576=174maker-azul1.png +File577=174maker-azul2.png +File578=174maker-azul3.png +File579=174maker-azul4.png +File58=107maker-azul1.png +File580=174marker-rojo.png +File581=174marker-verde.png +File582=175maker-azul.png +File583=175maker-azul1.png +File584=175maker-azul2.png +File585=175maker-azul3.png +File586=175maker-azul4.png +File587=175marker-rojo.png +File588=175marker-verde.png +File589=176maker-azul.png +File59=107maker-azul2.png +File590=176maker-azul1.png +File591=176maker-azul2.png +File592=176maker-azul3.png +File593=176maker-azul4.png +File594=176marker-rojo.png +File595=176marker-verde.png +File596=177maker-azul.png +File597=177maker-azul1.png +File598=177maker-azul2.png +File599=177maker-azul3.png +File6=0marker-rojo.png +File60=107maker-azul3.png +File600=177maker-azul4.png +File601=177marker-rojo.png +File602=177marker-verde.png +File603=178maker-azul.png +File604=178maker-azul1.png +File605=178maker-azul2.png +File606=178maker-azul3.png +File607=178maker-azul4.png +File608=178marker-rojo.png +File609=178marker-verde.png +File61=107maker-azul4.png +File610=179maker-azul.png +File611=179maker-azul1.png +File612=179maker-azul2.png +File613=179maker-azul3.png +File614=179maker-azul4.png +File615=179marker-rojo.png +File616=179marker-verde.png +File617=17maker-azul.png +File618=17maker-azul1.png +File619=17maker-azul2.png +File62=107marker-rojo.png +File620=17maker-azul3.png +File621=17maker-azul4.png +File622=17marker-rojo.png +File623=17marker-verde.png +File624=180maker-azul.png +File625=180maker-azul1.png +File626=180maker-azul2.png +File627=180maker-azul3.png +File628=180maker-azul4.png +File629=180marker-rojo.png +File63=107marker-verde.png +File630=180marker-verde.png +File631=181maker-azul.png +File632=181maker-azul1.png +File633=181maker-azul2.png +File634=181maker-azul3.png +File635=181maker-azul4.png +File636=181marker-rojo.png +File637=181marker-verde.png +File638=182maker-azul.png +File639=182maker-azul1.png +File64=108maker-azul.png +File640=182maker-azul2.png +File641=182maker-azul3.png +File642=182maker-azul4.png +File643=182marker-rojo.png +File644=182marker-verde.png +File645=183maker-azul.png +File646=183maker-azul1.png +File647=183maker-azul2.png +File648=183maker-azul3.png +File649=183maker-azul4.png +File65=108maker-azul1.png +File650=183marker-rojo.png +File651=183marker-verde.png +File652=184maker-azul.png +File653=184maker-azul1.png +File654=184maker-azul2.png +File655=184maker-azul3.png +File656=184maker-azul4.png +File657=184marker-rojo.png +File658=184marker-verde.png +File659=185maker-azul.png +File66=108maker-azul2.png +File660=185maker-azul1.png +File661=185maker-azul2.png +File662=185maker-azul3.png +File663=185maker-azul4.png +File664=185marker-rojo.png +File665=185marker-verde.png +File666=186maker-azul.png +File667=186maker-azul1.png +File668=186maker-azul2.png +File669=186maker-azul3.png +File67=108maker-azul3.png +File670=186maker-azul4.png +File671=186marker-rojo.png +File672=186marker-verde.png +File673=187maker-azul.png +File674=187maker-azul1.png +File675=187maker-azul2.png +File676=187maker-azul3.png +File677=187maker-azul4.png +File678=187marker-rojo.png +File679=187marker-verde.png +File68=108maker-azul4.png +File680=188maker-azul.png +File681=188maker-azul1.png +File682=188maker-azul2.png +File683=188maker-azul3.png +File684=188maker-azul4.png +File685=188marker-rojo.png +File686=188marker-verde.png +File687=189maker-azul.png +File688=189maker-azul1.png +File689=189maker-azul2.png +File69=108marker-rojo.png +File690=189maker-azul3.png +File691=189maker-azul4.png +File692=189marker-rojo.png +File693=189marker-verde.png +File694=18maker-azul.png +File695=18maker-azul1.png +File696=18maker-azul2.png +File697=18maker-azul3.png +File698=18maker-azul4.png +File699=18marker-rojo.png +File7=0marker-verde.png +File70=108marker-verde.png +File700=18marker-verde.png +File701=190maker-azul.png +File702=190maker-azul1.png +File703=190maker-azul2.png +File704=190maker-azul3.png +File705=190maker-azul4.png +File706=190marker-rojo.png +File707=190marker-verde.png +File708=191maker-azul.png +File709=191maker-azul1.png +File71=109maker-azul.png +File710=191maker-azul2.png +File711=191maker-azul3.png +File712=191maker-azul4.png +File713=191marker-rojo.png +File714=191marker-verde.png +File715=192maker-azul.png +File716=192maker-azul1.png +File717=192maker-azul2.png +File718=192maker-azul3.png +File719=192maker-azul4.png +File72=109maker-azul1.png +File720=192marker-rojo.png +File721=192marker-verde.png +File722=193maker-azul.png +File723=193maker-azul1.png +File724=193maker-azul2.png +File725=193maker-azul3.png +File726=193maker-azul4.png +File727=193marker-rojo.png +File728=193marker-verde.png +File729=194maker-azul.png +File73=109maker-azul2.png +File730=194maker-azul1.png +File731=194maker-azul2.png +File732=194maker-azul3.png +File733=194maker-azul4.png +File734=194marker-rojo.png +File735=194marker-verde.png +File736=195maker-azul.png +File737=195maker-azul1.png +File738=195maker-azul2.png +File739=195maker-azul3.png +File74=109maker-azul3.png +File740=195maker-azul4.png +File741=195marker-rojo.png +File742=195marker-verde.png +File743=196maker-azul.png +File744=196maker-azul1.png +File745=196maker-azul2.png +File746=196maker-azul3.png +File747=196maker-azul4.png +File748=196marker-rojo.png +File749=196marker-verde.png +File75=109maker-azul4.png +File750=197maker-azul.png +File751=197maker-azul1.png +File752=197maker-azul2.png +File753=197maker-azul3.png +File754=197maker-azul4.png +File755=197marker-rojo.png +File756=197marker-verde.png +File757=198maker-azul.png +File758=198maker-azul1.png +File759=198maker-azul2.png +File76=109marker-rojo.png +File760=198maker-azul3.png +File761=198maker-azul4.png +File762=198marker-rojo.png +File763=198marker-verde.png +File764=199maker-azul.png +File765=199maker-azul1.png +File766=199maker-azul2.png +File767=199maker-azul3.png +File768=199maker-azul4.png +File769=199marker-rojo.png +File77=109marker-verde.png +File770=199marker-verde.png +File771=19maker-azul.png +File772=19maker-azul1.png +File773=19maker-azul2.png +File774=19maker-azul3.png +File775=19maker-azul4.png +File776=19marker-rojo.png +File777=19marker-verde.png +File778=1maker-azul.png +File779=1maker-azul1.png +File78=10maker-azul.png +File780=1maker-azul2.png +File781=1maker-azul3.png +File782=1maker-azul4.png +File783=1marker-rojo.png +File784=1marker-verde.png +File785=200maker-azul.png +File786=200maker-azul1.png +File787=200maker-azul2.png +File788=200maker-azul3.png +File789=200maker-azul4.png +File79=10maker-azul1.png +File790=200marker-rojo.png +File791=200marker-verde.png +File792=2023.png +File793=20maker-azul.png +File794=20maker-azul1.png +File795=20maker-azul2.png +File796=20maker-azul3.png +File797=20maker-azul4.png +File798=20marker-rojo.png +File799=20marker-verde.png +File8=100maker-azul.png +File80=10maker-azul2.png +File800=21maker-azul.png +File801=21maker-azul1.png +File802=21maker-azul2.png +File803=21maker-azul3.png +File804=21maker-azul4.png +File805=21marker-rojo.png +File806=21marker-verde.png +File807=22maker-azul.png +File808=22maker-azul1.png +File809=22maker-azul2.png +File81=10maker-azul3.png +File810=22maker-azul3.png +File811=22maker-azul4.png +File812=22marker-rojo.png +File813=22marker-verde.png +File814=23maker-azul.png +File815=23maker-azul1.png +File816=23maker-azul2.png +File817=23maker-azul3.png +File818=23maker-azul4.png +File819=23marker-rojo.png +File82=10maker-azul4.png +File820=23marker-verde.png +File821=24maker-azul.png +File822=24maker-azul1.png +File823=24maker-azul2.png +File824=24maker-azul3.png +File825=24maker-azul4.png +File826=24marker-rojo.png +File827=24marker-verde.png +File828=25maker-azul.png +File829=25maker-azul1.png +File83=10marker-rojo.png +File830=25maker-azul2.png +File831=25maker-azul3.png +File832=25maker-azul4.png +File833=25marker-rojo.png +File834=25marker-verde.png +File835=26maker-azul.png +File836=26maker-azul1.png +File837=26maker-azul2.png +File838=26maker-azul3.png +File839=26maker-azul4.png +File84=10marker-verde.png +File840=26marker-rojo.png +File841=26marker-verde.png +File842=27maker-azul.png +File843=27maker-azul1.png +File844=27maker-azul2.png +File845=27maker-azul3.png +File846=27maker-azul4.png +File847=27marker-rojo.png +File848=27marker-verde.png +File849=28maker-azul.png +File85=110maker-azul.png +File850=28maker-azul1.png +File851=28maker-azul2.png +File852=28maker-azul3.png +File853=28maker-azul4.png +File854=28marker-rojo.png +File855=28marker-verde.png +File856=29maker-azul.png +File857=29maker-azul1.png +File858=29maker-azul2.png +File859=29maker-azul3.png +File86=110maker-azul1.png +File860=29maker-azul4.png +File861=29marker-rojo.png +File862=29marker-verde.png +File863=2maker-azul.png +File864=2maker-azul1.png +File865=2maker-azul2.png +File866=2maker-azul3.png +File867=2maker-azul4.png +File868=2marker-rojo.png +File869=2marker-verde.png +File87=110maker-azul2.png +File870=30maker-azul.png +File871=30maker-azul1.png +File872=30maker-azul2.png +File873=30maker-azul3.png +File874=30maker-azul4.png +File875=30marker-rojo.png +File876=30marker-verde.png +File877=31maker-azul.png +File878=31maker-azul1.png +File879=31maker-azul2.png +File88=110maker-azul3.png +File880=31maker-azul3.png +File881=31maker-azul4.png +File882=31marker-rojo.png +File883=31marker-verde.png +File884=32maker-azul.png +File885=32maker-azul1.png +File886=32maker-azul2.png +File887=32maker-azul3.png +File888=32maker-azul4.png +File889=32marker-rojo.png +File89=110maker-azul4.png +File890=32marker-verde.png +File891=33maker-azul.png +File892=33maker-azul1.png +File893=33maker-azul2.png +File894=33maker-azul3.png +File895=33maker-azul4.png +File896=33marker-rojo.png +File897=33marker-verde.png +File898=34maker-azul.png +File899=34maker-azul1.png +File9=100maker-azul1.png +File90=110marker-rojo.png +File900=34maker-azul2.png +File901=34maker-azul3.png +File902=34maker-azul4.png +File903=34marker-rojo.png +File904=34marker-verde.png +File905=35maker-azul.png +File906=35maker-azul1.png +File907=35maker-azul2.png +File908=35maker-azul3.png +File909=35maker-azul4.png +File91=110marker-verde.png +File910=35marker-rojo.png +File911=35marker-verde.png +File912=36maker-azul.png +File913=36maker-azul1.png +File914=36maker-azul2.png +File915=36maker-azul3.png +File916=36maker-azul4.png +File917=36marker-rojo.png +File918=36marker-verde.png +File919=37maker-azul.png +File92=111maker-azul.png +File920=37maker-azul1.png +File921=37maker-azul2.png +File922=37maker-azul3.png +File923=37maker-azul4.png +File924=37marker-rojo.png +File925=37marker-verde.png +File926=38maker-azul.png +File927=38maker-azul1.png +File928=38maker-azul2.png +File929=38maker-azul3.png +File93=111maker-azul1.png +File930=38maker-azul4.png +File931=38marker-rojo.png +File932=38marker-verde.png +File933=39maker-azul.png +File934=39maker-azul1.png +File935=39maker-azul2.png +File936=39maker-azul3.png +File937=39maker-azul4.png +File938=39marker-rojo.png +File939=39marker-verde.png +File94=111maker-azul2.png +File940=3maker-azul.png +File941=3maker-azul1.png +File942=3maker-azul2.png +File943=3maker-azul3.png +File944=3maker-azul4.png +File945=3marker-rojo.png +File946=3marker-verde.png +File947=40maker-azul.png +File948=40maker-azul1.png +File949=40maker-azul2.png +File95=111maker-azul3.png +File950=40maker-azul3.png +File951=40maker-azul4.png +File952=40marker-rojo.png +File953=40marker-verde.png +File954=41maker-azul.png +File955=41maker-azul1.png +File956=41maker-azul2.png +File957=41maker-azul3.png +File958=41maker-azul4.png +File959=41marker-rojo.png +File96=111maker-azul4.png +File960=41marker-verde.png +File961=42maker-azul.png +File962=42maker-azul1.png +File963=42maker-azul2.png +File964=42maker-azul3.png +File965=42maker-azul4.png +File966=42marker-rojo.png +File967=42marker-verde.png +File968=43maker-azul.png +File969=43maker-azul1.png +File97=111marker-rojo.png +File970=43maker-azul2.png +File971=43maker-azul3.png +File972=43maker-azul4.png +File973=43marker-rojo.png +File974=43marker-verde.png +File975=44maker-azul.png +File976=44maker-azul1.png +File977=44maker-azul2.png +File978=44maker-azul3.png +File979=44maker-azul4.png +File98=111marker-verde.png +File980=44marker-rojo.png +File981=44marker-verde.png +File982=45maker-azul.png +File983=45maker-azul1.png +File984=45maker-azul2.png +File985=45maker-azul3.png +File986=45maker-azul4.png +File987=45marker-rojo.png +File988=45marker-verde.png +File989=46maker-azul.png +File99=112maker-azul.png +File990=46maker-azul1.png +File991=46maker-azul2.png +File992=46maker-azul3.png +File993=46maker-azul4.png +File994=46marker-rojo.png +File995=46marker-verde.png +File996=47maker-azul.png +File997=47maker-azul1.png +File998=47maker-azul2.png +File999=47maker-azul3.png +FileGroup1=Default Group +FileGroup10=Default Group +FileGroup100=Default Group +FileGroup1000=Default Group +FileGroup1001=Default Group +FileGroup1002=Default Group +FileGroup1003=Default Group +FileGroup1004=Default Group +FileGroup1005=Default Group +FileGroup1006=Default Group +FileGroup1007=Default Group +FileGroup1008=Default Group +FileGroup1009=Default Group +FileGroup101=Default Group +FileGroup1010=Default Group +FileGroup1011=Default Group +FileGroup1012=Default Group +FileGroup1013=Default Group +FileGroup1014=Default Group +FileGroup1015=Default Group +FileGroup1016=Default Group +FileGroup1017=Default Group +FileGroup1018=Default Group +FileGroup1019=Default Group +FileGroup102=Default Group +FileGroup1020=Default Group +FileGroup1021=Default Group +FileGroup1022=Default Group +FileGroup1023=Default Group +FileGroup1024=Default Group +FileGroup1025=Default Group +FileGroup1026=Default Group +FileGroup1027=Default Group +FileGroup1028=Default Group +FileGroup1029=Default Group +FileGroup103=Default Group +FileGroup1030=Default Group +FileGroup1031=Default Group +FileGroup1032=Default Group +FileGroup1033=Default Group +FileGroup1034=Default Group +FileGroup1035=Default Group +FileGroup1036=Default Group +FileGroup1037=Default Group +FileGroup1038=Default Group +FileGroup1039=Default Group +FileGroup104=Default Group +FileGroup1040=Default Group +FileGroup1041=Default Group +FileGroup1042=Default Group +FileGroup1043=Default Group +FileGroup1044=Default Group +FileGroup1045=Default Group +FileGroup1046=Default Group +FileGroup1047=Default Group +FileGroup1048=Default Group +FileGroup1049=Default Group +FileGroup105=Default Group +FileGroup1050=Default Group +FileGroup1051=Default Group +FileGroup1052=Default Group +FileGroup1053=Default Group +FileGroup1054=Default Group +FileGroup1055=Default Group +FileGroup1056=Default Group +FileGroup1057=Default Group +FileGroup1058=Default Group +FileGroup1059=Default Group +FileGroup106=Default Group +FileGroup1060=Default Group +FileGroup1061=Default Group +FileGroup1062=Default Group +FileGroup1063=Default Group +FileGroup1064=Default Group +FileGroup1065=Default Group +FileGroup1066=Default Group +FileGroup1067=Default Group +FileGroup1068=Default Group +FileGroup1069=Default Group +FileGroup107=Default Group +FileGroup1070=Default Group +FileGroup1071=Default Group +FileGroup1072=Default Group +FileGroup1073=Default Group +FileGroup1074=Default Group +FileGroup1075=Default Group +FileGroup1076=Default Group +FileGroup1077=Default Group +FileGroup1078=Default Group +FileGroup1079=Default Group +FileGroup108=Default Group +FileGroup1080=Default Group +FileGroup1081=Default Group +FileGroup1082=Default Group +FileGroup1083=Default Group +FileGroup1084=Default Group +FileGroup1085=Default Group +FileGroup1086=Default Group +FileGroup1087=Default Group +FileGroup1088=Default Group +FileGroup1089=Default Group +FileGroup109=Default Group +FileGroup1090=Default Group +FileGroup1091=Default Group +FileGroup1092=Default Group +FileGroup1093=Default Group +FileGroup1094=Default Group +FileGroup1095=Default Group +FileGroup1096=Default Group +FileGroup1097=Default Group +FileGroup1098=Default Group +FileGroup1099=Default Group +FileGroup11=Default Group +FileGroup110=Default Group +FileGroup1100=Default Group +FileGroup1101=Default Group +FileGroup1102=Default Group +FileGroup1103=Default Group +FileGroup1104=Default Group +FileGroup1105=Default Group +FileGroup1106=Default Group +FileGroup1107=Default Group +FileGroup1108=Default Group +FileGroup1109=Default Group +FileGroup111=Default Group +FileGroup1110=Default Group +FileGroup1111=Default Group +FileGroup1112=Default Group +FileGroup1113=Default Group +FileGroup1114=Default Group +FileGroup1115=Default Group +FileGroup1116=Default Group +FileGroup1117=Default Group +FileGroup1118=Default Group +FileGroup1119=Default Group +FileGroup112=Default Group +FileGroup1120=Default Group +FileGroup1121=Default Group +FileGroup1122=Default Group +FileGroup1123=Default Group +FileGroup1124=Default Group +FileGroup1125=Default Group +FileGroup1126=Default Group +FileGroup1127=Default Group +FileGroup1128=Default Group +FileGroup1129=Default Group +FileGroup113=Default Group +FileGroup1130=Default Group +FileGroup1131=Default Group +FileGroup1132=Default Group +FileGroup1133=Default Group +FileGroup1134=Default Group +FileGroup1135=Default Group +FileGroup1136=Default Group +FileGroup1137=Default Group +FileGroup1138=Default Group +FileGroup1139=Default Group +FileGroup114=Default Group +FileGroup1140=Default Group +FileGroup1141=Default Group +FileGroup1142=Default Group +FileGroup1143=Default Group +FileGroup1144=Default Group +FileGroup1145=Default Group +FileGroup1146=Default Group +FileGroup1147=Default Group +FileGroup1148=Default Group +FileGroup1149=Default Group +FileGroup115=Default Group +FileGroup1150=Default Group +FileGroup1151=Default Group +FileGroup1152=Default Group +FileGroup1153=Default Group +FileGroup1154=Default Group +FileGroup1155=Default Group +FileGroup1156=Default Group +FileGroup1157=Default Group +FileGroup1158=Default Group +FileGroup1159=Default Group +FileGroup116=Default Group +FileGroup1160=Default Group +FileGroup1161=Default Group +FileGroup1162=Default Group +FileGroup1163=Default Group +FileGroup1164=Default Group +FileGroup1165=Default Group +FileGroup1166=Default Group +FileGroup1167=Default Group +FileGroup1168=Default Group +FileGroup1169=Default Group +FileGroup117=Default Group +FileGroup1170=Default Group +FileGroup1171=Default Group +FileGroup1172=Default Group +FileGroup1173=Default Group +FileGroup1174=Default Group +FileGroup1175=Default Group +FileGroup1176=Default Group +FileGroup1177=Default Group +FileGroup1178=Default Group +FileGroup1179=Default Group +FileGroup118=Default Group +FileGroup1180=Default Group +FileGroup1181=Default Group +FileGroup1182=Default Group +FileGroup1183=Default Group +FileGroup1184=Default Group +FileGroup1185=Default Group +FileGroup1186=Default Group +FileGroup1187=Default Group +FileGroup1188=Default Group +FileGroup1189=Default Group +FileGroup119=Default Group +FileGroup1190=Default Group +FileGroup1191=Default Group +FileGroup1192=Default Group +FileGroup1193=Default Group +FileGroup1194=Default Group +FileGroup1195=Default Group +FileGroup1196=Default Group +FileGroup1197=Default Group +FileGroup1198=Default Group +FileGroup1199=Default Group +FileGroup12=Default Group +FileGroup120=Default Group +FileGroup1200=Default Group +FileGroup1201=Default Group +FileGroup1202=Default Group +FileGroup1203=Default Group +FileGroup1204=Default Group +FileGroup1205=Default Group +FileGroup1206=Default Group +FileGroup1207=Default Group +FileGroup1208=Default Group +FileGroup1209=Default Group +FileGroup121=Default Group +FileGroup1210=Default Group +FileGroup1211=Default Group +FileGroup1212=Default Group +FileGroup1213=Default Group +FileGroup1214=Default Group +FileGroup1215=Default Group +FileGroup1216=Default Group +FileGroup1217=Default Group +FileGroup1218=Default Group +FileGroup1219=Default Group +FileGroup122=Default Group +FileGroup1220=Default Group +FileGroup1221=Default Group +FileGroup1222=Default Group +FileGroup1223=Default Group +FileGroup1224=Default Group +FileGroup1225=Default Group +FileGroup1226=Default Group +FileGroup1227=Default Group +FileGroup1228=Default Group +FileGroup1229=Default Group +FileGroup123=Default Group +FileGroup1230=Default Group +FileGroup1231=Default Group +FileGroup1232=Default Group +FileGroup1233=Default Group +FileGroup1234=Default Group +FileGroup1235=Default Group +FileGroup1236=Default Group +FileGroup1237=Default Group +FileGroup1238=Default Group +FileGroup1239=Default Group +FileGroup124=Default Group +FileGroup1240=Default Group +FileGroup1241=Default Group +FileGroup1242=Default Group +FileGroup1243=Default Group +FileGroup1244=Default Group +FileGroup1245=Default Group +FileGroup1246=Default Group +FileGroup1247=Default Group +FileGroup1248=Default Group +FileGroup1249=Default Group +FileGroup125=Default Group +FileGroup1250=Default Group +FileGroup1251=Default Group +FileGroup1252=Default Group +FileGroup1253=Default Group +FileGroup1254=Default Group +FileGroup1255=Default Group +FileGroup1256=Default Group +FileGroup1257=Default Group +FileGroup1258=Default Group +FileGroup1259=Default Group +FileGroup126=Default Group +FileGroup1260=Default Group +FileGroup1261=Default Group +FileGroup1262=Default Group +FileGroup1263=Default Group +FileGroup1264=Default Group +FileGroup1265=Default Group +FileGroup1266=Default Group +FileGroup1267=Default Group +FileGroup1268=Default Group +FileGroup1269=Default Group +FileGroup127=Default Group +FileGroup1270=Default Group +FileGroup1271=Default Group +FileGroup1272=Default Group +FileGroup1273=Default Group +FileGroup1274=Default Group +FileGroup1275=Default Group +FileGroup1276=Default Group +FileGroup1277=Default Group +FileGroup1278=Default Group +FileGroup1279=Default Group +FileGroup128=Default Group +FileGroup1280=Default Group +FileGroup1281=Default Group +FileGroup1282=Default Group +FileGroup1283=Default Group +FileGroup1284=Default Group +FileGroup1285=Default Group +FileGroup1286=Default Group +FileGroup1287=Default Group +FileGroup1288=Default Group +FileGroup1289=Default Group +FileGroup129=Default Group +FileGroup1290=Default Group +FileGroup1291=Default Group +FileGroup1292=Default Group +FileGroup1293=Default Group +FileGroup1294=Default Group +FileGroup1295=Default Group +FileGroup1296=Default Group +FileGroup1297=Default Group +FileGroup1298=Default Group +FileGroup1299=Default Group +FileGroup13=Default Group +FileGroup130=Default Group +FileGroup1300=Default Group +FileGroup1301=Default Group +FileGroup1302=Default Group +FileGroup1303=Default Group +FileGroup1304=Default Group +FileGroup1305=Default Group +FileGroup1306=Default Group +FileGroup1307=Default Group +FileGroup1308=Default Group +FileGroup1309=Default Group +FileGroup131=Default Group +FileGroup1310=Default Group +FileGroup1311=Default Group +FileGroup1312=Default Group +FileGroup1313=Default Group +FileGroup1314=Default Group +FileGroup1315=Default Group +FileGroup1316=Default Group +FileGroup1317=Default Group +FileGroup1318=Default Group +FileGroup1319=Default Group +FileGroup132=Default Group +FileGroup1320=Default Group +FileGroup1321=Default Group +FileGroup1322=Default Group +FileGroup1323=Default Group +FileGroup1324=Default Group +FileGroup1325=Default Group +FileGroup1326=Default Group +FileGroup1327=Default Group +FileGroup1328=Default Group +FileGroup1329=Default Group +FileGroup133=Default Group +FileGroup1330=Default Group +FileGroup1331=Default Group +FileGroup1332=Default Group +FileGroup1333=Default Group +FileGroup1334=Default Group +FileGroup1335=Default Group +FileGroup1336=Default Group +FileGroup1337=Default Group +FileGroup1338=Default Group +FileGroup1339=Default Group +FileGroup134=Default Group +FileGroup1340=Default Group +FileGroup1341=Default Group +FileGroup1342=Default Group +FileGroup1343=Default Group +FileGroup1344=Default Group +FileGroup1345=Default Group +FileGroup1346=Default Group +FileGroup1347=Default Group +FileGroup1348=Default Group +FileGroup1349=Default Group +FileGroup135=Default Group +FileGroup1350=Default Group +FileGroup1351=Default Group +FileGroup1352=Default Group +FileGroup1353=Default Group +FileGroup1354=Default Group +FileGroup1355=Default Group +FileGroup1356=Default Group +FileGroup1357=Default Group +FileGroup1358=Default Group +FileGroup1359=Default Group +FileGroup136=Default Group +FileGroup1360=Default Group +FileGroup1361=Default Group +FileGroup1362=Default Group +FileGroup1363=Default Group +FileGroup1364=Default Group +FileGroup1365=Default Group +FileGroup1366=Default Group +FileGroup1367=Default Group +FileGroup1368=Default Group +FileGroup1369=Default Group +FileGroup137=Default Group +FileGroup1370=Default Group +FileGroup1371=Default Group +FileGroup1372=Default Group +FileGroup1373=Default Group +FileGroup1374=Default Group +FileGroup1375=Default Group +FileGroup1376=Default Group +FileGroup1377=Default Group +FileGroup1378=Default Group +FileGroup1379=Default Group +FileGroup138=Default Group +FileGroup1380=Default Group +FileGroup1381=Default Group +FileGroup1382=Default Group +FileGroup1383=Default Group +FileGroup1384=Default Group +FileGroup1385=Default Group +FileGroup1386=Default Group +FileGroup1387=Default Group +FileGroup1388=Default Group +FileGroup1389=Default Group +FileGroup139=Default Group +FileGroup1390=Default Group +FileGroup1391=Default Group +FileGroup1392=Default Group +FileGroup1393=Default Group +FileGroup1394=Default Group +FileGroup1395=Default Group +FileGroup1396=Default Group +FileGroup1397=Default Group +FileGroup1398=Default Group +FileGroup1399=Default Group +FileGroup14=Default Group +FileGroup140=Default Group +FileGroup1400=Default Group +FileGroup1401=Default Group +FileGroup1402=Default Group +FileGroup1403=Default Group +FileGroup1404=Default Group +FileGroup1405=Default Group +FileGroup1406=Default Group +FileGroup1407=Default Group +FileGroup1408=Default Group +FileGroup1409=Default Group +FileGroup141=Default Group +FileGroup1410=Default Group +FileGroup1411=Default Group +FileGroup1412=Default Group +FileGroup1413=Default Group +FileGroup1414=Default Group +FileGroup1415=Default Group +FileGroup1416=Default Group +FileGroup1417=Default Group +FileGroup1418=Default Group +FileGroup1419=Default Group +FileGroup142=Default Group +FileGroup1420=Default Group +FileGroup1421=Default Group +FileGroup1422=Default Group +FileGroup1423=Default Group +FileGroup1424=Default Group +FileGroup1425=Default Group +FileGroup1426=Default Group +FileGroup1427=Default Group +FileGroup1428=Default Group +FileGroup1429=Default Group +FileGroup143=Default Group +FileGroup1430=Default Group +FileGroup1431=Default Group +FileGroup1432=Default Group +FileGroup1433=Default Group +FileGroup1434=Default Group +FileGroup1435=Default Group +FileGroup1436=Default Group +FileGroup1437=Default Group +FileGroup1438=Default Group +FileGroup1439=Default Group +FileGroup144=Default Group +FileGroup1440=Default Group +FileGroup1441=Default Group +FileGroup1442=Default Group +FileGroup1443=Default Group +FileGroup1444=Default Group +FileGroup1445=Default Group +FileGroup1446=Default Group +FileGroup1447=Default Group +FileGroup1448=Default Group +FileGroup1449=Default Group +FileGroup145=Default Group +FileGroup1450=Default Group +FileGroup1451=Default Group +FileGroup1452=Default Group +FileGroup1453=Default Group +FileGroup1454=Default Group +FileGroup1455=Default Group +FileGroup1456=Default Group +FileGroup1457=Default Group +FileGroup1458=Default Group +FileGroup1459=Default Group +FileGroup146=Default Group +FileGroup1460=Default Group +FileGroup1461=Default Group +FileGroup1462=Default Group +FileGroup1463=Default Group +FileGroup1464=Default Group +FileGroup1465=Default Group +FileGroup1466=Default Group +FileGroup1467=Default Group +FileGroup1468=Default Group +FileGroup1469=Default Group +FileGroup147=Default Group +FileGroup1470=Default Group +FileGroup1471=Default Group +FileGroup1472=Default Group +FileGroup1473=Default Group +FileGroup1474=Default Group +FileGroup1475=Default Group +FileGroup1476=Default Group +FileGroup148=Default Group +FileGroup149=Default Group +FileGroup15=Default Group +FileGroup150=Default Group +FileGroup151=Default Group +FileGroup152=Default Group +FileGroup153=Default Group +FileGroup154=Default Group +FileGroup155=Default Group +FileGroup156=Default Group +FileGroup157=Default Group +FileGroup158=Default Group +FileGroup159=Default Group +FileGroup16=Default Group +FileGroup160=Default Group +FileGroup161=Default Group +FileGroup162=Default Group +FileGroup163=Default Group +FileGroup164=Default Group +FileGroup165=Default Group +FileGroup166=Default Group +FileGroup167=Default Group +FileGroup168=Default Group +FileGroup169=Default Group +FileGroup17=Default Group +FileGroup170=Default Group +FileGroup171=Default Group +FileGroup172=Default Group +FileGroup173=Default Group +FileGroup174=Default Group +FileGroup175=Default Group +FileGroup176=Default Group +FileGroup177=Default Group +FileGroup178=Default Group +FileGroup179=Default Group +FileGroup18=Default Group +FileGroup180=Default Group +FileGroup181=Default Group +FileGroup182=Default Group +FileGroup183=Default Group +FileGroup184=Default Group +FileGroup185=Default Group +FileGroup186=Default Group +FileGroup187=Default Group +FileGroup188=Default Group +FileGroup189=Default Group +FileGroup19=Default Group +FileGroup190=Default Group +FileGroup191=Default Group +FileGroup192=Default Group +FileGroup193=Default Group +FileGroup194=Default Group +FileGroup195=Default Group +FileGroup196=Default Group +FileGroup197=Default Group +FileGroup198=Default Group +FileGroup199=Default Group +FileGroup2=Default Group +FileGroup20=Default Group +FileGroup200=Default Group +FileGroup201=Default Group +FileGroup202=Default Group +FileGroup203=Default Group +FileGroup204=Default Group +FileGroup205=Default Group +FileGroup206=Default Group +FileGroup207=Default Group +FileGroup208=Default Group +FileGroup209=Default Group +FileGroup21=Default Group +FileGroup210=Default Group +FileGroup211=Default Group +FileGroup212=Default Group +FileGroup213=Default Group +FileGroup214=Default Group +FileGroup215=Default Group +FileGroup216=Default Group +FileGroup217=Default Group +FileGroup218=Default Group +FileGroup219=Default Group +FileGroup22=Default Group +FileGroup220=Default Group +FileGroup221=Default Group +FileGroup222=Default Group +FileGroup223=Default Group +FileGroup224=Default Group +FileGroup225=Default Group +FileGroup226=Default Group +FileGroup227=Default Group +FileGroup228=Default Group +FileGroup229=Default Group +FileGroup23=Default Group +FileGroup230=Default Group +FileGroup231=Default Group +FileGroup232=Default Group +FileGroup233=Default Group +FileGroup234=Default Group +FileGroup235=Default Group +FileGroup236=Default Group +FileGroup237=Default Group +FileGroup238=Default Group +FileGroup239=Default Group +FileGroup24=Default Group +FileGroup240=Default Group +FileGroup241=Default Group +FileGroup242=Default Group +FileGroup243=Default Group +FileGroup244=Default Group +FileGroup245=Default Group +FileGroup246=Default Group +FileGroup247=Default Group +FileGroup248=Default Group +FileGroup249=Default Group +FileGroup25=Default Group +FileGroup250=Default Group +FileGroup251=Default Group +FileGroup252=Default Group +FileGroup253=Default Group +FileGroup254=Default Group +FileGroup255=Default Group +FileGroup256=Default Group +FileGroup257=Default Group +FileGroup258=Default Group +FileGroup259=Default Group +FileGroup26=Default Group +FileGroup260=Default Group +FileGroup261=Default Group +FileGroup262=Default Group +FileGroup263=Default Group +FileGroup264=Default Group +FileGroup265=Default Group +FileGroup266=Default Group +FileGroup267=Default Group +FileGroup268=Default Group +FileGroup269=Default Group +FileGroup27=Default Group +FileGroup270=Default Group +FileGroup271=Default Group +FileGroup272=Default Group +FileGroup273=Default Group +FileGroup274=Default Group +FileGroup275=Default Group +FileGroup276=Default Group +FileGroup277=Default Group +FileGroup278=Default Group +FileGroup279=Default Group +FileGroup28=Default Group +FileGroup280=Default Group +FileGroup281=Default Group +FileGroup282=Default Group +FileGroup283=Default Group +FileGroup284=Default Group +FileGroup285=Default Group +FileGroup286=Default Group +FileGroup287=Default Group +FileGroup288=Default Group +FileGroup289=Default Group +FileGroup29=Default Group +FileGroup290=Default Group +FileGroup291=Default Group +FileGroup292=Default Group +FileGroup293=Default Group +FileGroup294=Default Group +FileGroup295=Default Group +FileGroup296=Default Group +FileGroup297=Default Group +FileGroup298=Default Group +FileGroup299=Default Group +FileGroup3=Default Group +FileGroup30=Default Group +FileGroup300=Default Group +FileGroup301=Default Group +FileGroup302=Default Group +FileGroup303=Default Group +FileGroup304=Default Group +FileGroup305=Default Group +FileGroup306=Default Group +FileGroup307=Default Group +FileGroup308=Default Group +FileGroup309=Default Group +FileGroup31=Default Group +FileGroup310=Default Group +FileGroup311=Default Group +FileGroup312=Default Group +FileGroup313=Default Group +FileGroup314=Default Group +FileGroup315=Default Group +FileGroup316=Default Group +FileGroup317=Default Group +FileGroup318=Default Group +FileGroup319=Default Group +FileGroup32=Default Group +FileGroup320=Default Group +FileGroup321=Default Group +FileGroup322=Default Group +FileGroup323=Default Group +FileGroup324=Default Group +FileGroup325=Default Group +FileGroup326=Default Group +FileGroup327=Default Group +FileGroup328=Default Group +FileGroup329=Default Group +FileGroup33=Default Group +FileGroup330=Default Group +FileGroup331=Default Group +FileGroup332=Default Group +FileGroup333=Default Group +FileGroup334=Default Group +FileGroup335=Default Group +FileGroup336=Default Group +FileGroup337=Default Group +FileGroup338=Default Group +FileGroup339=Default Group +FileGroup34=Default Group +FileGroup340=Default Group +FileGroup341=Default Group +FileGroup342=Default Group +FileGroup343=Default Group +FileGroup344=Default Group +FileGroup345=Default Group +FileGroup346=Default Group +FileGroup347=Default Group +FileGroup348=Default Group +FileGroup349=Default Group +FileGroup35=Default Group +FileGroup350=Default Group +FileGroup351=Default Group +FileGroup352=Default Group +FileGroup353=Default Group +FileGroup354=Default Group +FileGroup355=Default Group +FileGroup356=Default Group +FileGroup357=Default Group +FileGroup358=Default Group +FileGroup359=Default Group +FileGroup36=Default Group +FileGroup360=Default Group +FileGroup361=Default Group +FileGroup362=Default Group +FileGroup363=Default Group +FileGroup364=Default Group +FileGroup365=Default Group +FileGroup366=Default Group +FileGroup367=Default Group +FileGroup368=Default Group +FileGroup369=Default Group +FileGroup37=Default Group +FileGroup370=Default Group +FileGroup371=Default Group +FileGroup372=Default Group +FileGroup373=Default Group +FileGroup374=Default Group +FileGroup375=Default Group +FileGroup376=Default Group +FileGroup377=Default Group +FileGroup378=Default Group +FileGroup379=Default Group +FileGroup38=Default Group +FileGroup380=Default Group +FileGroup381=Default Group +FileGroup382=Default Group +FileGroup383=Default Group +FileGroup384=Default Group +FileGroup385=Default Group +FileGroup386=Default Group +FileGroup387=Default Group +FileGroup388=Default Group +FileGroup389=Default Group +FileGroup39=Default Group +FileGroup390=Default Group +FileGroup391=Default Group +FileGroup392=Default Group +FileGroup393=Default Group +FileGroup394=Default Group +FileGroup395=Default Group +FileGroup396=Default Group +FileGroup397=Default Group +FileGroup398=Default Group +FileGroup399=Default Group +FileGroup4=Default Group +FileGroup40=Default Group +FileGroup400=Default Group +FileGroup401=Default Group +FileGroup402=Default Group +FileGroup403=Default Group +FileGroup404=Default Group +FileGroup405=Default Group +FileGroup406=Default Group +FileGroup407=Default Group +FileGroup408=Default Group +FileGroup409=Default Group +FileGroup41=Default Group +FileGroup410=Default Group +FileGroup411=Default Group +FileGroup412=Default Group +FileGroup413=Default Group +FileGroup414=Default Group +FileGroup415=Default Group +FileGroup416=Default Group +FileGroup417=Default Group +FileGroup418=Default Group +FileGroup419=Default Group +FileGroup42=Default Group +FileGroup420=Default Group +FileGroup421=Default Group +FileGroup422=Default Group +FileGroup423=Default Group +FileGroup424=Default Group +FileGroup425=Default Group +FileGroup426=Default Group +FileGroup427=Default Group +FileGroup428=Default Group +FileGroup429=Default Group +FileGroup43=Default Group +FileGroup430=Default Group +FileGroup431=Default Group +FileGroup432=Default Group +FileGroup433=Default Group +FileGroup434=Default Group +FileGroup435=Default Group +FileGroup436=Default Group +FileGroup437=Default Group +FileGroup438=Default Group +FileGroup439=Default Group +FileGroup44=Default Group +FileGroup440=Default Group +FileGroup441=Default Group +FileGroup442=Default Group +FileGroup443=Default Group +FileGroup444=Default Group +FileGroup445=Default Group +FileGroup446=Default Group +FileGroup447=Default Group +FileGroup448=Default Group +FileGroup449=Default Group +FileGroup45=Default Group +FileGroup450=Default Group +FileGroup451=Default Group +FileGroup452=Default Group +FileGroup453=Default Group +FileGroup454=Default Group +FileGroup455=Default Group +FileGroup456=Default Group +FileGroup457=Default Group +FileGroup458=Default Group +FileGroup459=Default Group +FileGroup46=Default Group +FileGroup460=Default Group +FileGroup461=Default Group +FileGroup462=Default Group +FileGroup463=Default Group +FileGroup464=Default Group +FileGroup465=Default Group +FileGroup466=Default Group +FileGroup467=Default Group +FileGroup468=Default Group +FileGroup469=Default Group +FileGroup47=Default Group +FileGroup470=Default Group +FileGroup471=Default Group +FileGroup472=Default Group +FileGroup473=Default Group +FileGroup474=Default Group +FileGroup475=Default Group +FileGroup476=Default Group +FileGroup477=Default Group +FileGroup478=Default Group +FileGroup479=Default Group +FileGroup48=Default Group +FileGroup480=Default Group +FileGroup481=Default Group +FileGroup482=Default Group +FileGroup483=Default Group +FileGroup484=Default Group +FileGroup485=Default Group +FileGroup486=Default Group +FileGroup487=Default Group +FileGroup488=Default Group +FileGroup489=Default Group +FileGroup49=Default Group +FileGroup490=Default Group +FileGroup491=Default Group +FileGroup492=Default Group +FileGroup493=Default Group +FileGroup494=Default Group +FileGroup495=Default Group +FileGroup496=Default Group +FileGroup497=Default Group +FileGroup498=Default Group +FileGroup499=Default Group +FileGroup5=Default Group +FileGroup50=Default Group +FileGroup500=Default Group +FileGroup501=Default Group +FileGroup502=Default Group +FileGroup503=Default Group +FileGroup504=Default Group +FileGroup505=Default Group +FileGroup506=Default Group +FileGroup507=Default Group +FileGroup508=Default Group +FileGroup509=Default Group +FileGroup51=Default Group +FileGroup510=Default Group +FileGroup511=Default Group +FileGroup512=Default Group +FileGroup513=Default Group +FileGroup514=Default Group +FileGroup515=Default Group +FileGroup516=Default Group +FileGroup517=Default Group +FileGroup518=Default Group +FileGroup519=Default Group +FileGroup52=Default Group +FileGroup520=Default Group +FileGroup521=Default Group +FileGroup522=Default Group +FileGroup523=Default Group +FileGroup524=Default Group +FileGroup525=Default Group +FileGroup526=Default Group +FileGroup527=Default Group +FileGroup528=Default Group +FileGroup529=Default Group +FileGroup53=Default Group +FileGroup530=Default Group +FileGroup531=Default Group +FileGroup532=Default Group +FileGroup533=Default Group +FileGroup534=Default Group +FileGroup535=Default Group +FileGroup536=Default Group +FileGroup537=Default Group +FileGroup538=Default Group +FileGroup539=Default Group +FileGroup54=Default Group +FileGroup540=Default Group +FileGroup541=Default Group +FileGroup542=Default Group +FileGroup543=Default Group +FileGroup544=Default Group +FileGroup545=Default Group +FileGroup546=Default Group +FileGroup547=Default Group +FileGroup548=Default Group +FileGroup549=Default Group +FileGroup55=Default Group +FileGroup550=Default Group +FileGroup551=Default Group +FileGroup552=Default Group +FileGroup553=Default Group +FileGroup554=Default Group +FileGroup555=Default Group +FileGroup556=Default Group +FileGroup557=Default Group +FileGroup558=Default Group +FileGroup559=Default Group +FileGroup56=Default Group +FileGroup560=Default Group +FileGroup561=Default Group +FileGroup562=Default Group +FileGroup563=Default Group +FileGroup564=Default Group +FileGroup565=Default Group +FileGroup566=Default Group +FileGroup567=Default Group +FileGroup568=Default Group +FileGroup569=Default Group +FileGroup57=Default Group +FileGroup570=Default Group +FileGroup571=Default Group +FileGroup572=Default Group +FileGroup573=Default Group +FileGroup574=Default Group +FileGroup575=Default Group +FileGroup576=Default Group +FileGroup577=Default Group +FileGroup578=Default Group +FileGroup579=Default Group +FileGroup58=Default Group +FileGroup580=Default Group +FileGroup581=Default Group +FileGroup582=Default Group +FileGroup583=Default Group +FileGroup584=Default Group +FileGroup585=Default Group +FileGroup586=Default Group +FileGroup587=Default Group +FileGroup588=Default Group +FileGroup589=Default Group +FileGroup59=Default Group +FileGroup590=Default Group +FileGroup591=Default Group +FileGroup592=Default Group +FileGroup593=Default Group +FileGroup594=Default Group +FileGroup595=Default Group +FileGroup596=Default Group +FileGroup597=Default Group +FileGroup598=Default Group +FileGroup599=Default Group +FileGroup6=Default Group +FileGroup60=Default Group +FileGroup600=Default Group +FileGroup601=Default Group +FileGroup602=Default Group +FileGroup603=Default Group +FileGroup604=Default Group +FileGroup605=Default Group +FileGroup606=Default Group +FileGroup607=Default Group +FileGroup608=Default Group +FileGroup609=Default Group +FileGroup61=Default Group +FileGroup610=Default Group +FileGroup611=Default Group +FileGroup612=Default Group +FileGroup613=Default Group +FileGroup614=Default Group +FileGroup615=Default Group +FileGroup616=Default Group +FileGroup617=Default Group +FileGroup618=Default Group +FileGroup619=Default Group +FileGroup62=Default Group +FileGroup620=Default Group +FileGroup621=Default Group +FileGroup622=Default Group +FileGroup623=Default Group +FileGroup624=Default Group +FileGroup625=Default Group +FileGroup626=Default Group +FileGroup627=Default Group +FileGroup628=Default Group +FileGroup629=Default Group +FileGroup63=Default Group +FileGroup630=Default Group +FileGroup631=Default Group +FileGroup632=Default Group +FileGroup633=Default Group +FileGroup634=Default Group +FileGroup635=Default Group +FileGroup636=Default Group +FileGroup637=Default Group +FileGroup638=Default Group +FileGroup639=Default Group +FileGroup64=Default Group +FileGroup640=Default Group +FileGroup641=Default Group +FileGroup642=Default Group +FileGroup643=Default Group +FileGroup644=Default Group +FileGroup645=Default Group +FileGroup646=Default Group +FileGroup647=Default Group +FileGroup648=Default Group +FileGroup649=Default Group +FileGroup65=Default Group +FileGroup650=Default Group +FileGroup651=Default Group +FileGroup652=Default Group +FileGroup653=Default Group +FileGroup654=Default Group +FileGroup655=Default Group +FileGroup656=Default Group +FileGroup657=Default Group +FileGroup658=Default Group +FileGroup659=Default Group +FileGroup66=Default Group +FileGroup660=Default Group +FileGroup661=Default Group +FileGroup662=Default Group +FileGroup663=Default Group +FileGroup664=Default Group +FileGroup665=Default Group +FileGroup666=Default Group +FileGroup667=Default Group +FileGroup668=Default Group +FileGroup669=Default Group +FileGroup67=Default Group +FileGroup670=Default Group +FileGroup671=Default Group +FileGroup672=Default Group +FileGroup673=Default Group +FileGroup674=Default Group +FileGroup675=Default Group +FileGroup676=Default Group +FileGroup677=Default Group +FileGroup678=Default Group +FileGroup679=Default Group +FileGroup68=Default Group +FileGroup680=Default Group +FileGroup681=Default Group +FileGroup682=Default Group +FileGroup683=Default Group +FileGroup684=Default Group +FileGroup685=Default Group +FileGroup686=Default Group +FileGroup687=Default Group +FileGroup688=Default Group +FileGroup689=Default Group +FileGroup69=Default Group +FileGroup690=Default Group +FileGroup691=Default Group +FileGroup692=Default Group +FileGroup693=Default Group +FileGroup694=Default Group +FileGroup695=Default Group +FileGroup696=Default Group +FileGroup697=Default Group +FileGroup698=Default Group +FileGroup699=Default Group +FileGroup7=Default Group +FileGroup70=Default Group +FileGroup700=Default Group +FileGroup701=Default Group +FileGroup702=Default Group +FileGroup703=Default Group +FileGroup704=Default Group +FileGroup705=Default Group +FileGroup706=Default Group +FileGroup707=Default Group +FileGroup708=Default Group +FileGroup709=Default Group +FileGroup71=Default Group +FileGroup710=Default Group +FileGroup711=Default Group +FileGroup712=Default Group +FileGroup713=Default Group +FileGroup714=Default Group +FileGroup715=Default Group +FileGroup716=Default Group +FileGroup717=Default Group +FileGroup718=Default Group +FileGroup719=Default Group +FileGroup72=Default Group +FileGroup720=Default Group +FileGroup721=Default Group +FileGroup722=Default Group +FileGroup723=Default Group +FileGroup724=Default Group +FileGroup725=Default Group +FileGroup726=Default Group +FileGroup727=Default Group +FileGroup728=Default Group +FileGroup729=Default Group +FileGroup73=Default Group +FileGroup730=Default Group +FileGroup731=Default Group +FileGroup732=Default Group +FileGroup733=Default Group +FileGroup734=Default Group +FileGroup735=Default Group +FileGroup736=Default Group +FileGroup737=Default Group +FileGroup738=Default Group +FileGroup739=Default Group +FileGroup74=Default Group +FileGroup740=Default Group +FileGroup741=Default Group +FileGroup742=Default Group +FileGroup743=Default Group +FileGroup744=Default Group +FileGroup745=Default Group +FileGroup746=Default Group +FileGroup747=Default Group +FileGroup748=Default Group +FileGroup749=Default Group +FileGroup75=Default Group +FileGroup750=Default Group +FileGroup751=Default Group +FileGroup752=Default Group +FileGroup753=Default Group +FileGroup754=Default Group +FileGroup755=Default Group +FileGroup756=Default Group +FileGroup757=Default Group +FileGroup758=Default Group +FileGroup759=Default Group +FileGroup76=Default Group +FileGroup760=Default Group +FileGroup761=Default Group +FileGroup762=Default Group +FileGroup763=Default Group +FileGroup764=Default Group +FileGroup765=Default Group +FileGroup766=Default Group +FileGroup767=Default Group +FileGroup768=Default Group +FileGroup769=Default Group +FileGroup77=Default Group +FileGroup770=Default Group +FileGroup771=Default Group +FileGroup772=Default Group +FileGroup773=Default Group +FileGroup774=Default Group +FileGroup775=Default Group +FileGroup776=Default Group +FileGroup777=Default Group +FileGroup778=Default Group +FileGroup779=Default Group +FileGroup78=Default Group +FileGroup780=Default Group +FileGroup781=Default Group +FileGroup782=Default Group +FileGroup783=Default Group +FileGroup784=Default Group +FileGroup785=Default Group +FileGroup786=Default Group +FileGroup787=Default Group +FileGroup788=Default Group +FileGroup789=Default Group +FileGroup79=Default Group +FileGroup790=Default Group +FileGroup791=Default Group +FileGroup792=Default Group +FileGroup793=Default Group +FileGroup794=Default Group +FileGroup795=Default Group +FileGroup796=Default Group +FileGroup797=Default Group +FileGroup798=Default Group +FileGroup799=Default Group +FileGroup8=Default Group +FileGroup80=Default Group +FileGroup800=Default Group +FileGroup801=Default Group +FileGroup802=Default Group +FileGroup803=Default Group +FileGroup804=Default Group +FileGroup805=Default Group +FileGroup806=Default Group +FileGroup807=Default Group +FileGroup808=Default Group +FileGroup809=Default Group +FileGroup81=Default Group +FileGroup810=Default Group +FileGroup811=Default Group +FileGroup812=Default Group +FileGroup813=Default Group +FileGroup814=Default Group +FileGroup815=Default Group +FileGroup816=Default Group +FileGroup817=Default Group +FileGroup818=Default Group +FileGroup819=Default Group +FileGroup82=Default Group +FileGroup820=Default Group +FileGroup821=Default Group +FileGroup822=Default Group +FileGroup823=Default Group +FileGroup824=Default Group +FileGroup825=Default Group +FileGroup826=Default Group +FileGroup827=Default Group +FileGroup828=Default Group +FileGroup829=Default Group +FileGroup83=Default Group +FileGroup830=Default Group +FileGroup831=Default Group +FileGroup832=Default Group +FileGroup833=Default Group +FileGroup834=Default Group +FileGroup835=Default Group +FileGroup836=Default Group +FileGroup837=Default Group +FileGroup838=Default Group +FileGroup839=Default Group +FileGroup84=Default Group +FileGroup840=Default Group +FileGroup841=Default Group +FileGroup842=Default Group +FileGroup843=Default Group +FileGroup844=Default Group +FileGroup845=Default Group +FileGroup846=Default Group +FileGroup847=Default Group +FileGroup848=Default Group +FileGroup849=Default Group +FileGroup85=Default Group +FileGroup850=Default Group +FileGroup851=Default Group +FileGroup852=Default Group +FileGroup853=Default Group +FileGroup854=Default Group +FileGroup855=Default Group +FileGroup856=Default Group +FileGroup857=Default Group +FileGroup858=Default Group +FileGroup859=Default Group +FileGroup86=Default Group +FileGroup860=Default Group +FileGroup861=Default Group +FileGroup862=Default Group +FileGroup863=Default Group +FileGroup864=Default Group +FileGroup865=Default Group +FileGroup866=Default Group +FileGroup867=Default Group +FileGroup868=Default Group +FileGroup869=Default Group +FileGroup87=Default Group +FileGroup870=Default Group +FileGroup871=Default Group +FileGroup872=Default Group +FileGroup873=Default Group +FileGroup874=Default Group +FileGroup875=Default Group +FileGroup876=Default Group +FileGroup877=Default Group +FileGroup878=Default Group +FileGroup879=Default Group +FileGroup88=Default Group +FileGroup880=Default Group +FileGroup881=Default Group +FileGroup882=Default Group +FileGroup883=Default Group +FileGroup884=Default Group +FileGroup885=Default Group +FileGroup886=Default Group +FileGroup887=Default Group +FileGroup888=Default Group +FileGroup889=Default Group +FileGroup89=Default Group +FileGroup890=Default Group +FileGroup891=Default Group +FileGroup892=Default Group +FileGroup893=Default Group +FileGroup894=Default Group +FileGroup895=Default Group +FileGroup896=Default Group +FileGroup897=Default Group +FileGroup898=Default Group +FileGroup899=Default Group +FileGroup9=Default Group +FileGroup90=Default Group +FileGroup900=Default Group +FileGroup901=Default Group +FileGroup902=Default Group +FileGroup903=Default Group +FileGroup904=Default Group +FileGroup905=Default Group +FileGroup906=Default Group +FileGroup907=Default Group +FileGroup908=Default Group +FileGroup909=Default Group +FileGroup91=Default Group +FileGroup910=Default Group +FileGroup911=Default Group +FileGroup912=Default Group +FileGroup913=Default Group +FileGroup914=Default Group +FileGroup915=Default Group +FileGroup916=Default Group +FileGroup917=Default Group +FileGroup918=Default Group +FileGroup919=Default Group +FileGroup92=Default Group +FileGroup920=Default Group +FileGroup921=Default Group +FileGroup922=Default Group +FileGroup923=Default Group +FileGroup924=Default Group +FileGroup925=Default Group +FileGroup926=Default Group +FileGroup927=Default Group +FileGroup928=Default Group +FileGroup929=Default Group +FileGroup93=Default Group +FileGroup930=Default Group +FileGroup931=Default Group +FileGroup932=Default Group +FileGroup933=Default Group +FileGroup934=Default Group +FileGroup935=Default Group +FileGroup936=Default Group +FileGroup937=Default Group +FileGroup938=Default Group +FileGroup939=Default Group +FileGroup94=Default Group +FileGroup940=Default Group +FileGroup941=Default Group +FileGroup942=Default Group +FileGroup943=Default Group +FileGroup944=Default Group +FileGroup945=Default Group +FileGroup946=Default Group +FileGroup947=Default Group +FileGroup948=Default Group +FileGroup949=Default Group +FileGroup95=Default Group +FileGroup950=Default Group +FileGroup951=Default Group +FileGroup952=Default Group +FileGroup953=Default Group +FileGroup954=Default Group +FileGroup955=Default Group +FileGroup956=Default Group +FileGroup957=Default Group +FileGroup958=Default Group +FileGroup959=Default Group +FileGroup96=Default Group +FileGroup960=Default Group +FileGroup961=Default Group +FileGroup962=Default Group +FileGroup963=Default Group +FileGroup964=Default Group +FileGroup965=Default Group +FileGroup966=Default Group +FileGroup967=Default Group +FileGroup968=Default Group +FileGroup969=Default Group +FileGroup97=Default Group +FileGroup970=Default Group +FileGroup971=Default Group +FileGroup972=Default Group +FileGroup973=Default Group +FileGroup974=Default Group +FileGroup975=Default Group +FileGroup976=Default Group +FileGroup977=Default Group +FileGroup978=Default Group +FileGroup979=Default Group +FileGroup98=Default Group +FileGroup980=Default Group +FileGroup981=Default Group +FileGroup982=Default Group +FileGroup983=Default Group +FileGroup984=Default Group +FileGroup985=Default Group +FileGroup986=Default Group +FileGroup987=Default Group +FileGroup988=Default Group +FileGroup989=Default Group +FileGroup99=Default Group +FileGroup990=Default Group +FileGroup991=Default Group +FileGroup992=Default Group +FileGroup993=Default Group +FileGroup994=Default Group +FileGroup995=Default Group +FileGroup996=Default Group +FileGroup997=Default Group +FileGroup998=Default Group +FileGroup999=Default Group +Group=Default Group +Library1=appupdating +Library10=googlemaps +Library11=googlemapsextras +Library12=gps +Library13=ime +Library14=javaobject +Library15=json +Library16=okhttputils2 +Library17=phone +Library18=randomaccessfile +Library19=reflection +Library2=b4xpages +Library20=runtimepermissions +Library21=serial +Library22=sql +Library23=togglelibrary +Library24=xcustomlistview +Library25=xui +Library26=zxing_scanner +Library27=xui views +Library3=baqrcode +Library4=byteconverter +Library5=camera +Library6=compressstrings +Library7=core +Library8=fileprovider +Library9=fusedlocationprovider +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~''End of default text.~\n~'~\n~'''''' CAMBIA LA CLAVE API~\n~'AddApplicationText(~\n~'~\n~' ~\n~')~\n~'~\n~'CreateResourceFromFile(Macro, FirebaseAnalytics.GooglePlayBase)~\n~'SetApplicationAttribute(android:usesCleartextTraffic, "true")~\n~'AddManifestText()~\n~'AddPermission(android.permission.ACCESS_BACKGROUND_LOCATION)~\n~''AddManifestText()~\n~''AddManifestText()~\n~''AddManifestText() 'in order to access the device non-resettable identifiers such as IMEI and serial number.~\n~'AddManifestText()~\n~''/////////////// FLP y FBMessageing MOD Inicia /////////////////////~\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~''/////////////// FLP y FBMessageing MOD Termina /////////////////////~\n~'~\n~''Si al cargar un mapa de google mande este error "java.lang.NoClassDefFoundError: Failed resolution of: Lorg/apache/http/ProtocolVersion". agregar la siguiente linea:~\n~'AddApplicationText()~\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~'~\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~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~''''' CAMBIA LA CLAVE API~\n~AddApplicationText(~\n~~\n~ ~\n~)~\n~AddApplicationText(~\n~~\n~)~\n~AddManifestText(~\n~~\n~)~\n~''CreateResourceFromFile(Macro, FirebaseAnalytics.GooglePlayBase)~\n~ 'End of default text.~\n~ ~\n~SetApplicationAttribute(android:usesCleartextTraffic, "true")~\n~AddManifestText(~\n~~\n~)~\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~~\n~AddManifestText(~\n~ )~\n~AddApplicationText(~\n~ ~\n~ ~\n~ ~\n~)~\n~CreateResource(xml, provider_paths,~\n~~\n~ ~\n~ ~\n~ ~\n~~\n~)~\n~AddManifestText()~\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.MANAGE_EXTERNAL_STORAGE")~\n~AddPermission(android.permission.READ_PHONE_STATE)~\n~AddPermission(android.permission.WAKE_LOCK)~\n~SetApplicationAttribute(android:allowBackup, "false")~\n~AddManifestText()~\n~AddApplicationText(~\n~~\n~ ~\n~ )~\n~AddPermission(android.permission.BLUETOOTH_ADVERTISE)~\n~AddPermission(android.permission.BLUETOOTH_CONNECT)~\n~AddPermission(android.permission.BLUETOOTH_SCAN)~\n~AddManifestText() +Module1=appUpdater +Module10=C_Foto +Module11=C_Historico +Module12=C_Mapas +Module13=C_NoVenta +Module14=C_NuevoCliente +Module15=C_Pedidos +Module16=C_Principal +Module17=C_Productos +Module18=C_tabulador +Module19=C_TicketsDia +Module2=B4XMainPage +Module20=C_UpdateAvailable +Module21=CameraExClass +Module22=DBRequestManager +Module23=EscPosPrinter +Module24=foto +Module25=ManageExternalStorage +Module26=MAPA_CLIENTE +Module27=MAPA_RUTAS +Module28=Starter +Module29=Subs +Module3=BatteryUtilities +Module30=Tracker +Module4=C_Buscar +Module5=C_Cheklist +Module6=C_Cliente +Module7=C_Clientes +Module8=C_Detalle_Promo +Module9=C_DetalleVenta +NumberOfFiles=1476 +NumberOfLibraries=27 +NumberOfModules=30 +Version=13.4 +@EndOfDesignText@ +#Region Project Attributes + #ApplicationLabel: Izca Reparto + #VersionCode: 1 + #VersionName: 5.07.21 + 'SupportedOrientations possible values: unspecified, landscape or portrait. + #SupportedOrientations: portrait + #CanInstallToExternalStorage: False + #AdditionalJar: com.android.support:support-v4 + #AdditionalJar: com.google.android.gms:play-services-location + #BridgeLogger: True +#End Region + +#Region Activity Attributes + #FullScreen: False + #IncludeTitle: True +#End Region + +Sub Process_Globals + Public ActionBarHomeClicked As Boolean +End Sub + +Sub Globals + +End Sub + +Sub Activity_Create(FirstTime As Boolean) + Dim pm As B4XPagesManager + pm.Initialize(Activity) +End Sub + +'Template version: B4A-1.01 +#Region Delegates + +Sub Activity_ActionBarHomeClick + ActionBarHomeClicked = True + B4XPages.Delegate.Activity_ActionBarHomeClick + ActionBarHomeClicked = False +End Sub + +Sub Activity_KeyPress (KeyCode As Int) As Boolean + Return B4XPages.Delegate.Activity_KeyPress(KeyCode) +End Sub + +Sub Activity_Resume + B4XPages.Delegate.Activity_Resume +End Sub + +Sub Activity_Pause (UserClosed As Boolean) + B4XPages.Delegate.Activity_Pause +End Sub + +Sub Activity_PermissionResult (Permission As String, Result As Boolean) + B4XPages.Delegate.Activity_PermissionResult(Permission, Result) +End Sub + +Sub Create_Menu (Menu As Object) + B4XPages.Delegate.Create_Menu(Menu) +End Sub + +#if Java +public boolean _onCreateOptionsMenu(android.view.Menu menu) { + processBA.raiseEvent(null, "create_menu", menu); + return true; +} +#End If +#End Region + +'Program code should go into B4XMainPage and other pages. \ No newline at end of file diff --git a/B4A/Izca_Reparto.b4a.meta b/B4A/Izca_Reparto.b4a.meta new file mode 100644 index 0000000..36d7a67 --- /dev/null +++ b/B4A/Izca_Reparto.b4a.meta @@ -0,0 +1,96 @@ +ModuleBookmarks0= +ModuleBookmarks1= +ModuleBookmarks10= +ModuleBookmarks11= +ModuleBookmarks12= +ModuleBookmarks13= +ModuleBookmarks14= +ModuleBookmarks15= +ModuleBookmarks16= +ModuleBookmarks17= +ModuleBookmarks18= +ModuleBookmarks19= +ModuleBookmarks2= +ModuleBookmarks20= +ModuleBookmarks21= +ModuleBookmarks22= +ModuleBookmarks23= +ModuleBookmarks24= +ModuleBookmarks25= +ModuleBookmarks26= +ModuleBookmarks27= +ModuleBookmarks28= +ModuleBookmarks29= +ModuleBookmarks3= +ModuleBookmarks30= +ModuleBookmarks4= +ModuleBookmarks5= +ModuleBookmarks6=2257 +ModuleBookmarks7= +ModuleBookmarks8= +ModuleBookmarks9= +ModuleBreakpoints0= +ModuleBreakpoints1= +ModuleBreakpoints10= +ModuleBreakpoints11= +ModuleBreakpoints12= +ModuleBreakpoints13= +ModuleBreakpoints14= +ModuleBreakpoints15= +ModuleBreakpoints16= +ModuleBreakpoints17= +ModuleBreakpoints18= +ModuleBreakpoints19= +ModuleBreakpoints2= +ModuleBreakpoints20= +ModuleBreakpoints21= +ModuleBreakpoints22= +ModuleBreakpoints23= +ModuleBreakpoints24= +ModuleBreakpoints25= +ModuleBreakpoints26= +ModuleBreakpoints27= +ModuleBreakpoints28= +ModuleBreakpoints29= +ModuleBreakpoints3= +ModuleBreakpoints30= +ModuleBreakpoints4= +ModuleBreakpoints5= +ModuleBreakpoints6= +ModuleBreakpoints7= +ModuleBreakpoints8= +ModuleBreakpoints9= +ModuleClosedNodes0= +ModuleClosedNodes1= +ModuleClosedNodes10= +ModuleClosedNodes11= +ModuleClosedNodes12= +ModuleClosedNodes13= +ModuleClosedNodes14= +ModuleClosedNodes15= +ModuleClosedNodes16= +ModuleClosedNodes17= +ModuleClosedNodes18= +ModuleClosedNodes19= +ModuleClosedNodes2= +ModuleClosedNodes20= +ModuleClosedNodes21= +ModuleClosedNodes22= +ModuleClosedNodes23= +ModuleClosedNodes24= +ModuleClosedNodes25= +ModuleClosedNodes26= +ModuleClosedNodes27= +ModuleClosedNodes28= +ModuleClosedNodes29= +ModuleClosedNodes3= +ModuleClosedNodes30= +ModuleClosedNodes4= +ModuleClosedNodes5= +ModuleClosedNodes6=18,19,20,21 +ModuleClosedNodes7= +ModuleClosedNodes8= +ModuleClosedNodes9= +NavigationStack=C_Cliente,b_acred_Click,1290,5,C_Principal,envioinfo,1007,2,C_Principal,cargar_Click,1315,0,C_Cliente,B_IMP2_Click,2825,0,C_DetalleVenta,B4XPage_Appear,258,0,C_Cliente,B_IMP_Click,1093,4,C_Cliente,B4XPage_Appear,155,0,Diseñador Visual,principal.bal,-100,6,C_Principal,B4XPage_Appear,723,6,C_Principal,b_terpc_Click,3262,5 +SelectedBuild=0 +VisibleModules=1,2,3,4,5,6,7,8,9,10,16 diff --git a/B4A/MAPA_CLIENTE.bas b/B4A/MAPA_CLIENTE.bas new file mode 100644 index 0000000..28ab787 --- /dev/null +++ b/B4A/MAPA_CLIENTE.bas @@ -0,0 +1,115 @@ +B4A=true +Group=Default Group +ModulesStructureVersion=1 +Type=Activity +Version=9.95 +@EndOfDesignText@ +#Region Activity Attributes + #FullScreen: False + #IncludeTitle: FALSE + +#End Region + +Sub Process_Globals + Dim GPS As GPS + Dim rp As RuntimePermissions + Dim ruta As String + Dim skmt As SQL +End Sub + +Sub Globals + Private gmap As GoogleMap + Private MapFragment1 As MapFragment + Dim Latitud As Double = 0 + Dim Longitud As Double = 0 + Dim Lat2 As Double = 0 + Dim Lon2 As Double = 0 + Dim p1, p2 As Location + Dim Distance As Float + Dim boton1 As Button + Dim c As Cursor + Dim latmarker As String + Dim longmarker As String + Private l_long As Label + Private l_lat As Label + Private NOMBRE_TIENDA As String + Private p_principal As Panel + Private b_regresar As Button +End Sub + +Sub Activity_Create(FirstTime As Boolean) + Activity.LoadLayout("mapa_cliente") + If MapFragment1.IsGooglePlayServicesAvailable = False Then + ToastMessageShow("Please install Google Play Services.", True) + End If +End Sub + +Sub MapFragment1_Ready + gmap = MapFragment1.GetMap + 'permisos + rp.CheckAndRequest(rp.PERMISSION_ACCESS_FINE_LOCATION) + Wait For Activity_PermissionResult (Permission As String, Result As Boolean) + gmap.MyLocationEnabled = Result + 'fin de permisos + Dim JavaMapsObject As JavaObject + JavaMapsObject = gmap.GetUiSettings + JavaMapsObject.RunMethod("setMapToolbarEnabled", Array As Object(True)) + Dim marcador1 As Marker = gmap.AddMarker (latmarker,longmarker, "TIENDA") + marcador1.Snippet = B4XPages.MainPage.cliente.NOMBRE + 'posicion inicial + Dim aa As CameraPosition + aa.Initialize(latmarker,longmarker,15)''' RECOMENDABLE CAMBIAR A 10 SI ES MAS DE 1 MARCADOR + gmap.AnimateCamera(aa) +End Sub + +Sub GPS_LocationChanged (Parametro As Location) +' GPS.Start(0, 0) +' Dim sp As Int +' sp = Ceil(Parametro.Speed * 3.6) +' boton1.Text = sp &" "&"km/h" +' Latitud = Parametro.Latitude +' Longitud = Parametro.Longitude +' p2.Initialize2(Latitud,Longitud) +' p1.Initialize2(Lat2, Lon2) +' Distance = p1.DistanceTo(p2) +' If Latitud <> 0 And Longitud <> 0 Then +' If Distance > 10 Then +' Lat2 = Latitud +' Lon2 = Longitud +' Dim cp As CameraPosition +' cp.Initialize2(Parametro.Latitude, Parametro.Longitude, gmap.CameraPosition.Zoom, Parametro.Bearing, 0) +' gmap.AnimateCamera(cp) +' End If +' End If +End Sub + +Sub Activity_Resume + Subs.centraBoton(b_regresar, Activity.Width) + GPS.Initialize("GPS") + If GPS.GPSEnabled = False Then + ToastMessageShow("Debe Activar el GPS del Equipo.", True) + StartActivity(GPS.LocationSettingsIntent) + Else + GPS.Start(0, 0) + End If + Subs.centraPanel(p_principal, Activity.Width) + p_principal.Height = Activity.Height * 0.95 + latmarker = B4XPages.MainPage.cliente.LATITUD + longmarker = B4XPages.MainPage.cliente.LONGITUD + NOMBRE_TIENDA = B4XPages.MainPage.cliente.NOMBRE +End Sub + +Sub Activity_Pause (UserClosed As Boolean) + GPS.Stop +End Sub + +Sub reg_Click +' StartActivity(fila) + B4XPages.ShowPage("Cliente") +End Sub + +Private Sub b_regresar_Click + Log("Pressed") + Activity.Finish + B4XPages.ShowPage("Cliente") +End Sub \ No newline at end of file diff --git a/B4A/MAPA_RUTAS.bas b/B4A/MAPA_RUTAS.bas new file mode 100644 index 0000000..ff0d5f4 --- /dev/null +++ b/B4A/MAPA_RUTAS.bas @@ -0,0 +1,367 @@ +B4A=true +Group=Default Group +ModulesStructureVersion=1 +Type=Activity +Version=9.3 +@EndOfDesignText@ +#Region Activity Attributes + #FullScreen: False + #IncludeTitle: False +#End Region + +'Activity module +Sub Process_Globals + Dim GPS As GPS + Dim rp As RuntimePermissions +' Dim skmt As SQL + Dim c As Cursor + Dim c2 As Cursor + Dim c22 As Cursor + Dim c3 As Cursor +End Sub + +Sub Globals + Private gmap As GoogleMap + Private MapFragment1 As MapFragment + Dim Latitud As Double = 0 + Dim Longitud As Double = 0 + Dim Lat2 As Double = 0 + Dim Lon2 As Double = 0 + Dim p1, p2 As Location + Dim Distance As Float + Dim boton1 As Button + Dim HUE_BLUE As Float + Dim HUE_RED As Float + Dim HUE_GREEN As Float + Private B_AZUL As Button + Private B_ROJO As Button + Private B_VERDE As Button + Private B_TODOS As Button + Dim Tienda As String + Dim ruta, rutaAnt As String + Dim LatitudRu As Double + Dim LongitudRU As Double + Dim LIST_AZUL As List + Dim LIST_ROJO As List + Dim LIST_VERDE As List + Dim MARK_AZUL As Marker + Dim MARK_ROJO As Marker + Dim MARK_VERDE As Marker + Dim MARK_CEDIS As Marker + Dim rojo As String + Dim azul As String + Dim verde As String + Dim todos As String + Dim NumSerie As Int + Dim OnInfoWindowClickListener1 As OnInfoWindowClickListener + Dim GoogleMapEXTRA As GoogleMapsExtras + Dim CODIGO As String + Private SEMANA As String +' Dim ruta As String +End Sub + +Sub Activity_Create(FirstTime As Boolean) +' Msgbox("0","AVISO") + Activity.LoadLayout("MAPA_RUTAS") +' ruta = Main.ruta +' If File.Exists(RUTA, "kmt.db") = False Then +' File.Copy(File.DirAssets, "kmt.db", RUTA, "kmt.db") +' End If +' skmt.Initialize(Starter.ruta,"kmt.db", True) + 'GPS +' If(FirstTime) Then +' GPS.Initialize("GPS") +' End If +' Msgbox("0.0","AVISO") + If MapFragment1.IsGooglePlayServicesAvailable = False Then + ToastMessageShow("Please install Google Play Services.", True) + End If +' Msgbox("0.1","AVISO") + 'Boton velocidad' +' boton1.Initialize(0) +' boton1.Text = 0 &" "&"km/h" +' boton1.TextColor = Colors.Red +' boton1.TextSize = 15 +' Activity.AddView(boton1, 40%x, 5dip, 25%x, 40dip) + 'Fin Boton velocidad' + 'MARK_CEDIS.IsInitialized + MARK_AZUL.IsInitialized + MARK_ROJO.IsInitialized + MARK_VERDE.IsInitialized + + LIST_AZUL.Initialize + LIST_ROJO.Initialize + LIST_VERDE.Initialize + + verde = 0 + azul = 0 + rojo = 0 + todos = 1 +' c=skmt.ExecQuery2("select count(*) AS CUANTOS from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?", Array As String ("SEMANA")) +' c.Position =0 +' SEMANA = c.GetString("CUANTOS") +' c.Close +' +' If SEMANA > 0 Then +' c=skmt.ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?", Array As String ("SEMANA")) +' c.Position =0 +' SEMANA = c.GetString("CAT_VA_VALOR") +' c.Close +' End If + +' Msgbox("0.2","AVISO") +End Sub + +Sub MapFragment1_Ready + gmap = MapFragment1.GetMap + gmap.IsInitialized + rp.CheckAndRequest(rp.PERMISSION_ACCESS_FINE_LOCATION) + Wait For Activity_PermissionResult (Permission As String, Result As Boolean) + gmap.MyLocationEnabled = Result + + Dim JavaMapsObject As JavaObject + JavaMapsObject = gmap.GetUiSettings + JavaMapsObject.RunMethod("setMapToolbarEnabled", Array As Object(True)) + '''''''----------------------------MARKER AZUL - POR ENTREGAR + Private esteAzul As Int = 0 + Private esteAzul2 As String + If azul = 1 Or todos = 1 Then + c.IsInitialized + c = Starter.skmt.ExecQuery("select CAT_CL_CODIGO, IFNULL(SECUENCIA,0) AS SECUENCIA, CAT_CL_NOMBRE, CAT_CL_LAT, CAT_CL_LONG, CAT_CL_RUTA from kmt_info 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_CODIGO <> 63403 order by CAT_CL_RUTA") + rutaAnt = "" + For i = 0 To c.RowCount -1 + c.Position = i + LatitudRu = c.GetString("CAT_CL_LAT") + LongitudRU = c.GetString("CAT_CL_LONG") + CODIGO=c.GetString("CAT_CL_CODIGO") + Tienda= c.GetString("CAT_CL_NOMBRE") + ruta = c.GetString("CAT_CL_RUTA") + If c.GetString("SECUENCIA") = "null" Then + NumSerie = 0 + Else + NumSerie = c.GetString("SECUENCIA") + End If + Private s As Cursor = Starter.skmt.ExecQuery($"select indice from waypoints where codigo = '${CODIGO}'"$) + If s.RowCount > 0 Then + s.Position = 0 + NumSerie = s.GetString("indice") + End If + If rutaAnt <> ruta Then esteAzul = esteAzul + 1 +' If esteAzul = 1 Then esteAzul2= NumSerie&"marker-azul.png" +' If esteAzul = 2 Then esteAzul2= NumSerie&"marker-azul1.png" +' If esteAzul = 3 Then esteAzul2= NumSerie&"marker-azul2.png" +' If esteAzul = 4 Then esteAzul2= NumSerie&"marker-azul3.png" +' If esteAzul = 5 Then esteAzul2= NumSerie&"marker-azul4.png" + + If esteAzul = 1 Then esteAzul2= "marker-azul.png" + If esteAzul = 2 Then esteAzul2= "marker-azul1.png" + If esteAzul = 3 Then esteAzul2= "marker-azul2.png" + If esteAzul = 4 Then esteAzul2= "marker-azul3.png" + If esteAzul = 5 Then esteAzul2= "marker-azul4.png" +' MARK_VERDE = gmap.AddMarker3(LatitudRu,LongitudRU,CODIGO, Subs.CreateBitmapWithNumber(LoadBitmap(File.DirAssets, "marker-verde.png"), i+350)) + +' Log(ruta & "|" & esteAzul & "|" & esteAzul2) +' Log(NumSerie&" "& Tienda&" --------"& esteAzul2&" --------"&esteAzul) + MARK_AZUL = gmap.AddMarker3(LatitudRu,LongitudRU,CODIGO, Subs.CreateBitmapWithNumber(LoadBitmap(File.DirAssets, esteAzul2), NumSerie)) + MARK_AZUL.Snippet = "R: " & ruta & " - " & Tienda + rutaAnt = ruta + Next + c .Close + If MARK_AZUL.IsInitialized Then LIST_AZUL.Add(MARK_AZUL) + End If + '''''''----------------------------MARKER VERDE- ENTREGADO + If verde = 1 Or todos = 1 Then + rutaAnt = "" + c2.IsInitialized + c2=Starter.skmt.ExecQuery("select CAT_CL_CODIGO, IFNULL(SECUENCIA,0) AS SECUENCIA, CAT_CL_NOMBRE, CAT_CL_LONG, CAT_CL_LAT, CAT_CL_RUTA from kmt_info 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 AND CAT_CL_CODIGO <> 63403 order by CAT_CL_RUTA") + For i = 0 To c2.RowCount -1 + c2.Position = i + LongitudRU = c2.GetString("CAT_CL_LONG") + LatitudRu = c2.GetString("CAT_CL_LAT") + CODIGO=c2.GetString("CAT_CL_CODIGO") + Tienda= c2.GetString("CAT_CL_NOMBRE") + ruta = c2.GetString("CAT_CL_RUTA") + If c2.GetString("SECUENCIA") = "null" Then + NumSerie = 0 + Else + NumSerie = c2.GetString("SECUENCIA") + End If + Private s As Cursor = Starter.skmt.ExecQuery($"select indice from waypoints where codigo = '${CODIGO}'"$) + If s.RowCount > 0 Then + s.Position = 0 + NumSerie = s.GetString("indice") + End If + MARK_VERDE = gmap.AddMarker3(LatitudRu,LongitudRU,CODIGO, Subs.CreateBitmapWithNumber(LoadBitmap(File.DirAssets, "marker-verde.png"), NumSerie)) +' MARK_VERDE = gmap.AddMarker3(LatitudRu,LongitudRU,CODIGO,LoadBitmapResize(File.DirAssets, NumSerie&"marker-verde.png" ,72, 115, True)) + MARK_VERDE.Snippet = "R:" & ruta & ", " & Tienda + Next + Else + If verde = 1 Or todos = 1 Then + rutaAnt = "" + c2.IsInitialized + c2=Starter.skmt.ExecQuery("select CAT_CL_CODIGO, CAT_CL_NOMBRE, CAT_CL_LONG, CAT_CL_LAT, CAT_CL_RUTA from kmt_info 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 AND CAT_CL_CODIGO <> 63403 order by CAT_CL_RUTA") + For i = 0 To c2.RowCount -1 + c2.Position = i + LongitudRU = c2.GetString("CAT_CL_LONG") + LatitudRu = c2.GetString("CAT_CL_LAT") + CODIGO=c2.GetString("CAT_CL_CODIGO") + Tienda= c2.GetString("CAT_CL_NOMBRE") + ruta = c2.GetString("CAT_CL_RUTA") + MARK_VERDE = gmap.AddMarker2(LatitudRu,LongitudRU, CODIGO,gmap.HUE_GREEN) + MARK_VERDE.Snippet = "R:" & ruta & ", " & Tienda + Next + c2 .Close + If MARK_VERDE.IsInitialized Then LIST_VERDE.Add(MARK_VERDE) + End If + End If +' '''''''----------------------------MARKER ROJO - NO ENTREGADO + Private esteRojo As Int = 0 + Private esteRojo2 As String + If rojo = 1 Or todos = 1 Then + rutaAnt = "" + c3.IsInitialized + c3=Starter.skmt.ExecQuery("select CAT_CL_CODIGO, IFNULL(SECUENCIA,0) AS SECUENCIA, CAT_CL_NOMBRE, CAT_CL_LONG, CAT_CL_LAT, CAT_CL_RUTA from kmt_info 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 AND CAT_CL_CODIGO <> 63403 order by CAT_CL_RUTA") + For i = 0 To c3.RowCount -1 + c3.Position = i + LongitudRU = c3.GetDouble("CAT_CL_LONG") + LatitudRu = c3.GetDouble("CAT_CL_LAT") + Tienda= c3.GetString("CAT_CL_NOMBRE") + ruta = c3.GetString("CAT_CL_RUTA") + CODIGO=c3.GetString("CAT_CL_CODIGO") + If c3.GetString("SECUENCIA") = "null" Then + NumSerie = 0 + Else + NumSerie = c3.GetString("SECUENCIA") + End If + Private s As Cursor = Starter.skmt.ExecQuery($"select indice from waypoints where codigo = '${CODIGO}'"$) + If s.RowCount > 0 Then + s.Position = 0 + NumSerie = s.GetString("indice") + End If + MARK_ROJO = gmap.AddMarker3(LatitudRu,LongitudRU,CODIGO, Subs.CreateBitmapWithNumber(LoadBitmap(File.DirAssets, "marker-rojo.png"), NumSerie)) +' MARK_ROJO = gmap.AddMarker3(LatitudRu,LongitudRU,CODIGO,LoadBitmapResize(File.DirAssets, NumSerie&"marker-rojo.png" ,72, 115, True)) + + MARK_ROJO.Snippet= "R:" & ruta & ", " & Tienda + Next + Else + If rojo = 1 Or todos = 1 Then + rutaAnt = "" + c3.IsInitialized + c3=Starter.skmt.ExecQuery("select CAT_CL_CODIGO, CAT_CL_NOMBRE, CAT_CL_LONG, CAT_CL_LAT, CAT_CL_RUTA from kmt_info 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 AND CAT_CL_CODIGO <> 63403 order by CAT_CL_RUTA") + For i = 0 To c3.RowCount -1 + c3.Position = i + LongitudRU = c3.GetDouble("CAT_CL_LONG") + LatitudRu = c3.GetDouble("CAT_CL_LAT") + Tienda= c3.GetString("CAT_CL_NOMBRE") + ruta = c2.GetString("CAT_CL_RUTA") + CODIGO=c3.GetString("CAT_CL_CODIGO") + MARK_ROJO = gmap.AddMarker2(LatitudRu,LongitudRU, CODIGO,gmap.HUE_RED) + MARK_ROJO.Snippet= "R:" & ruta & ", " & Tienda + Next + If MARK_ROJO.IsInitialized Then LIST_ROJO.Add(MARK_ROJO) + c3.Close + End If + End If + ''------------------------------ +' MARK_CEDIS = gmap.AddMarker3("19.3961802","-99.0784293","CEDIS", LoadBitmap(File.DirAssets, "marker-azul-0.png")) +' If MARK_VERDE.Visible Or MARK_ROJO.Visible Then +' MARK_CEDIS.Remove +' End If + Dim aa As CameraPosition + aa.Initialize(LatitudRu,LongitudRU,15)''' RECOMENDABLE CAMBIAR A 10 PARA QUE SE VEAN MAS MARCADORES + gmap.AnimateCamera(aa) + + '''''---------------------- ESTO ES PARA LOS CLICK EN LAS VENTANAS D INFORMACION----------- + Dim OnInfoWindowClickListener1 As OnInfoWindowClickListener + OnInfoWindowClickListener1.Initialize("OnInfoWindowClickListener1") + GoogleMapEXTRA.SetOnInfoWindowClickListener(gmap, OnInfoWindowClickListener1) +End Sub + +''''-------------------------- PRUEBA CON MARKER _CLICK +Sub OnInfoWindowClickListener1_click(Marker1 As Marker) + Starter.skmt.ExecNonQuery("delete from CUENTAA") + Starter.skmt.ExecNonQuery2("INSERT INTO CUENTAA VALUES (?) ", Array As Object(Marker1.Title)) + Activity.Finish + B4XPages.ShowPage("Cliente") +End Sub + +Sub GPS_LocationChanged (Parametro As Location) + 'MARK_CEDIS.IsInitialized +' Dim sp As Int +' sp = Ceil(Parametro.Speed * 3.6) +' boton1.Text = sp &" "&"km/h" +' Latitud = Parametro.Latitude +' Longitud = Parametro.Longitude +' p2.Initialize2(Latitud,Longitud) +' p1.Initialize2(Lat2, Lon2) +' Distance = p1.DistanceTo(p2) +' If Latitud <> 0 And Longitud <> 0 Then +' If Distance > 10 Then +' Lat2 = Latitud +' Lon2 = Longitud +' Dim cp As CameraPosition +' cp.Initialize2(Parametro.Latitude, Parametro.Longitude, gmap.CameraPosition.Zoom, Parametro.Bearing, 0) +' gmap.AnimateCamera(cp) +' End If +' End If +End Sub + +Sub Activity_Resume +' If GPS.GPSEnabled = False Then +' ToastMessageShow("Debe Activar el GPS del Equipo.", True) +' StartActivity(GPS.LocationSettingsIntent) +' Else +' GPS.Start(0, 0) +' End If +End Sub + +Sub Activity_Pause (UserClosed As Boolean) + GPS.Stop +End Sub + +Sub B_TODOS_Click + todos =1 + verde = 0 + azul = 0 + rojo = 0 + MapFragment1_Ready +End Sub + +Sub B_VERDE_Click + verde = 1 + azul = 0 + rojo = 0 + todos = 0 + gmap.Clear + MapFragment1_Ready +End Sub + +Sub B_ROJO_Click + rojo = 1 + verde = 0 + azul = 0 + todos = 0 + gmap.Clear + MapFragment1_Ready +End Sub + +Sub B_AZUL_Click + azul = 1 + verde = 0 + rojo = 0 + todos = 0 + gmap.Clear + MapFragment1_Ready +End Sub + + +Sub Activity_KeyPress (key As Int) As Boolean 'ignore + ' BACK key pressed + If key=KeyCodes.KEYCODE_BACK Then + + B4XPages.ShowPage("Principal") + Return False + 'End If + End If + ' Returning False signals the system to handle the key +End Sub \ No newline at end of file diff --git a/B4A/ManageExternalStorage.bas b/B4A/ManageExternalStorage.bas new file mode 100644 index 0000000..7f0a197 --- /dev/null +++ b/B4A/ManageExternalStorage.bas @@ -0,0 +1,81 @@ +B4A=true +Group=Default Group +ModulesStructureVersion=1 +Type=Class +Version=10.7 +@EndOfDesignText@ +' Version 1.00 +#Event: StorageAvailable +Sub Class_Globals + Private ion As Object + Private mCallback As Object + Private mEventName As String + +End Sub + + +' This pretty trivial class is modelled on (plagiarised from!) Erel's ExternalStorage class +' It applies to devices implementing SDK30 and later +' It allows apps to access the internal 'external' storage as was possible on earlier Android versions ussing traditional file I/O +' You must manually add 'AddPermission(android.permission.MANAGE_EXTERNAL_STORAGE)' to the manifest +' You must ensure that you provide the package name of your app in Sub GetPermission +' This class uses the MANAGE_APP_ALL_FILES_ACCESS_PERMISSION intent action to direct users to a system settings page +' They must enable the option on that page to give permission + + + +'Initializes the object +Public Sub Initialize (Callback As Object, EventName As String) + mCallback = Callback + mEventName = EventName +End Sub + + +' Determine if the app already has MANAGE_EXTERNAL_STORAGE call Environment.isExternalStorageManager() +' Return True if this app already has MANAGE_EXTERNAL_STORAGE permission +Public Sub HasPermission As Boolean + Dim has As Boolean + Dim jo As JavaObject + jo.InitializeStatic("android.os.Environment") + has = jo.RunMethod("isExternalStorageManager", Null) + Return has +End Sub + +' Check whether this app has MANAGE_EXTERNAL_STORAGE permission +' If not show the user a dialog to enable MANAGE_EXTERNAL_STORAGE permission for this app +' Raises the StorageAvailable event in the calling activity when complete +Public Sub GetPermission + If HasPermission Then + RaiseEvent + Return + End If + Dim in As Intent + ' Be sure to reference your app package name in "pakageg:xxx" + in.Initialize("android.settings.MANAGE_APP_ALL_FILES_ACCESS_PERMISSION", $"package:${Application.PackageName}"$) + StartActivityForResult(in) +End Sub + + +Private Sub RaiseEvent + Log("Calling : " & mEventName & "_StorageAvailable") + CallSubDelayed(mCallback, mEventName & "_StorageAvailable") +End Sub + + +Private Sub ion_Event (MethodName As String, Args() As Object) As Object + RaiseEvent + Return Null +End Sub + + +Private Sub StartActivityForResult(i As Intent) + Dim jo As JavaObject = GetBA + ion = jo.CreateEvent("anywheresoftware.b4a.IOnActivityResult", "ion", Null) + jo.RunMethod("startActivityForResult", Array As Object(ion, i)) +End Sub + +Private Sub GetBA As Object + Dim jo As JavaObject = Me + Return jo.RunMethod("getBA", Null) +End Sub + diff --git a/B4A/Mariana_Reparto.b4a.meta b/B4A/Mariana_Reparto.b4a.meta new file mode 100644 index 0000000..cf46060 --- /dev/null +++ b/B4A/Mariana_Reparto.b4a.meta @@ -0,0 +1,96 @@ +ModuleBookmarks0= +ModuleBookmarks1= +ModuleBookmarks10= +ModuleBookmarks11= +ModuleBookmarks12= +ModuleBookmarks13= +ModuleBookmarks14= +ModuleBookmarks15= +ModuleBookmarks16= +ModuleBookmarks17= +ModuleBookmarks18= +ModuleBookmarks19= +ModuleBookmarks2= +ModuleBookmarks20= +ModuleBookmarks21= +ModuleBookmarks22= +ModuleBookmarks23= +ModuleBookmarks24= +ModuleBookmarks25= +ModuleBookmarks26= +ModuleBookmarks27= +ModuleBookmarks28= +ModuleBookmarks29= +ModuleBookmarks3= +ModuleBookmarks30= +ModuleBookmarks4= +ModuleBookmarks5= +ModuleBookmarks6= +ModuleBookmarks7= +ModuleBookmarks8= +ModuleBookmarks9= +ModuleBreakpoints0= +ModuleBreakpoints1= +ModuleBreakpoints10= +ModuleBreakpoints11= +ModuleBreakpoints12= +ModuleBreakpoints13= +ModuleBreakpoints14= +ModuleBreakpoints15= +ModuleBreakpoints16= +ModuleBreakpoints17= +ModuleBreakpoints18= +ModuleBreakpoints19= +ModuleBreakpoints2= +ModuleBreakpoints20= +ModuleBreakpoints21= +ModuleBreakpoints22= +ModuleBreakpoints23= +ModuleBreakpoints24= +ModuleBreakpoints25= +ModuleBreakpoints26= +ModuleBreakpoints27= +ModuleBreakpoints28= +ModuleBreakpoints29= +ModuleBreakpoints3= +ModuleBreakpoints30= +ModuleBreakpoints4= +ModuleBreakpoints5= +ModuleBreakpoints6= +ModuleBreakpoints7= +ModuleBreakpoints8= +ModuleBreakpoints9= +ModuleClosedNodes0= +ModuleClosedNodes1= +ModuleClosedNodes10= +ModuleClosedNodes11= +ModuleClosedNodes12= +ModuleClosedNodes13= +ModuleClosedNodes14= +ModuleClosedNodes15= +ModuleClosedNodes16=12 +ModuleClosedNodes17= +ModuleClosedNodes18= +ModuleClosedNodes19= +ModuleClosedNodes2= +ModuleClosedNodes20= +ModuleClosedNodes21= +ModuleClosedNodes22= +ModuleClosedNodes23= +ModuleClosedNodes24= +ModuleClosedNodes25= +ModuleClosedNodes26= +ModuleClosedNodes27= +ModuleClosedNodes28= +ModuleClosedNodes29= +ModuleClosedNodes3= +ModuleClosedNodes30= +ModuleClosedNodes4= +ModuleClosedNodes5= +ModuleClosedNodes6= +ModuleClosedNodes7= +ModuleClosedNodes8= +ModuleClosedNodes9=8,9 +NavigationStack=C_Principal,envioinfo,777,0,C_Principal,b_venta_emp_Click,2177,0,C_Principal,p_prod_Click,2173,0,C_Principal,B4XPage_Appear,594,0,Diseñador Visual,mapa_cliente.bal,-100,1,Diseñador Visual,clientes.bal,-100,2,C_Clientes,b_getRutaInfo_Click,571,0,C_Clientes,todosAVisitar,672,0,C_Clientes,caculaRutaGPS,638,0,Main,Process_Globals,18,0 +SelectedBuild=0 +VisibleModules=1,2,3,4,5,6,7,8,9,10 diff --git a/B4A/Marquez_Reparto.b4a.meta b/B4A/Marquez_Reparto.b4a.meta new file mode 100644 index 0000000..3d49b76 --- /dev/null +++ b/B4A/Marquez_Reparto.b4a.meta @@ -0,0 +1,96 @@ +ModuleBookmarks0= +ModuleBookmarks1= +ModuleBookmarks10= +ModuleBookmarks11= +ModuleBookmarks12= +ModuleBookmarks13= +ModuleBookmarks14= +ModuleBookmarks15= +ModuleBookmarks16= +ModuleBookmarks17= +ModuleBookmarks18= +ModuleBookmarks19= +ModuleBookmarks2= +ModuleBookmarks20= +ModuleBookmarks21= +ModuleBookmarks22= +ModuleBookmarks23= +ModuleBookmarks24= +ModuleBookmarks25= +ModuleBookmarks26= +ModuleBookmarks27= +ModuleBookmarks28= +ModuleBookmarks29= +ModuleBookmarks3= +ModuleBookmarks30= +ModuleBookmarks4= +ModuleBookmarks5= +ModuleBookmarks6= +ModuleBookmarks7= +ModuleBookmarks8= +ModuleBookmarks9= +ModuleBreakpoints0= +ModuleBreakpoints1= +ModuleBreakpoints10= +ModuleBreakpoints11= +ModuleBreakpoints12= +ModuleBreakpoints13= +ModuleBreakpoints14= +ModuleBreakpoints15= +ModuleBreakpoints16= +ModuleBreakpoints17= +ModuleBreakpoints18= +ModuleBreakpoints19= +ModuleBreakpoints2= +ModuleBreakpoints20= +ModuleBreakpoints21= +ModuleBreakpoints22= +ModuleBreakpoints23= +ModuleBreakpoints24= +ModuleBreakpoints25= +ModuleBreakpoints26= +ModuleBreakpoints27= +ModuleBreakpoints28= +ModuleBreakpoints29= +ModuleBreakpoints3= +ModuleBreakpoints30= +ModuleBreakpoints4= +ModuleBreakpoints5= +ModuleBreakpoints6= +ModuleBreakpoints7= +ModuleBreakpoints8= +ModuleBreakpoints9= +ModuleClosedNodes0= +ModuleClosedNodes1= +ModuleClosedNodes10= +ModuleClosedNodes11= +ModuleClosedNodes12= +ModuleClosedNodes13= +ModuleClosedNodes14= +ModuleClosedNodes15= +ModuleClosedNodes16= +ModuleClosedNodes17=9,16,17,18,19,20,21 +ModuleClosedNodes18= +ModuleClosedNodes19= +ModuleClosedNodes2= +ModuleClosedNodes20= +ModuleClosedNodes21= +ModuleClosedNodes22= +ModuleClosedNodes23= +ModuleClosedNodes24= +ModuleClosedNodes25= +ModuleClosedNodes26= +ModuleClosedNodes27=3 +ModuleClosedNodes28= +ModuleClosedNodes29= +ModuleClosedNodes3= +ModuleClosedNodes30= +ModuleClosedNodes4= +ModuleClosedNodes5= +ModuleClosedNodes6= +ModuleClosedNodes7=2,3,7,8,9,10,13,15,16 +ModuleClosedNodes8= +ModuleClosedNodes9=5,6,7,8,9,15,16,20 +NavigationStack=B4XMainPage,passaquci,925,0,Diseñador Visual,login.bal,-100,1,B4XMainPage,JobDone,283,0,C_Clientes,Class_Globals,0,0,C_Principal,Class_Globals,0,0,C_Principal,connecta_Click,1523,0,B4XMainPage,b_terpc_Click,869,2,C_Principal,cargar_Click,880,0,B4XMainPage,B_PC_ENV_Click,801,6,B4XMainPage,et_buspc_TextChanged,725,4,C_Principal,envioinfo,687,0 +SelectedBuild=0 +VisibleModules=28,2,16,7,27,29,5,17,6,9 diff --git a/B4A/Mazapa_Reparto.b4a.meta b/B4A/Mazapa_Reparto.b4a.meta new file mode 100644 index 0000000..fd53bf6 --- /dev/null +++ b/B4A/Mazapa_Reparto.b4a.meta @@ -0,0 +1,96 @@ +ModuleBookmarks0= +ModuleBookmarks1= +ModuleBookmarks10= +ModuleBookmarks11= +ModuleBookmarks12= +ModuleBookmarks13= +ModuleBookmarks14= +ModuleBookmarks15= +ModuleBookmarks16= +ModuleBookmarks17= +ModuleBookmarks18= +ModuleBookmarks19= +ModuleBookmarks2= +ModuleBookmarks20= +ModuleBookmarks21= +ModuleBookmarks22= +ModuleBookmarks23= +ModuleBookmarks24= +ModuleBookmarks25= +ModuleBookmarks26= +ModuleBookmarks27= +ModuleBookmarks28= +ModuleBookmarks29= +ModuleBookmarks3= +ModuleBookmarks30= +ModuleBookmarks4= +ModuleBookmarks5= +ModuleBookmarks6= +ModuleBookmarks7= +ModuleBookmarks8= +ModuleBookmarks9= +ModuleBreakpoints0= +ModuleBreakpoints1= +ModuleBreakpoints10= +ModuleBreakpoints11= +ModuleBreakpoints12= +ModuleBreakpoints13= +ModuleBreakpoints14= +ModuleBreakpoints15= +ModuleBreakpoints16= +ModuleBreakpoints17= +ModuleBreakpoints18= +ModuleBreakpoints19= +ModuleBreakpoints2= +ModuleBreakpoints20= +ModuleBreakpoints21= +ModuleBreakpoints22= +ModuleBreakpoints23= +ModuleBreakpoints24= +ModuleBreakpoints25= +ModuleBreakpoints26= +ModuleBreakpoints27= +ModuleBreakpoints28= +ModuleBreakpoints29= +ModuleBreakpoints3= +ModuleBreakpoints30= +ModuleBreakpoints4= +ModuleBreakpoints5= +ModuleBreakpoints6= +ModuleBreakpoints7= +ModuleBreakpoints8= +ModuleBreakpoints9= +ModuleClosedNodes0= +ModuleClosedNodes1= +ModuleClosedNodes10= +ModuleClosedNodes11= +ModuleClosedNodes12= +ModuleClosedNodes13= +ModuleClosedNodes14= +ModuleClosedNodes15= +ModuleClosedNodes16= +ModuleClosedNodes17= +ModuleClosedNodes18= +ModuleClosedNodes19= +ModuleClosedNodes2= +ModuleClosedNodes20= +ModuleClosedNodes21= +ModuleClosedNodes22= +ModuleClosedNodes23= +ModuleClosedNodes24= +ModuleClosedNodes25= +ModuleClosedNodes26= +ModuleClosedNodes27= +ModuleClosedNodes28= +ModuleClosedNodes29= +ModuleClosedNodes3= +ModuleClosedNodes30= +ModuleClosedNodes4= +ModuleClosedNodes5= +ModuleClosedNodes6= +ModuleClosedNodes7= +ModuleClosedNodes8= +ModuleClosedNodes9= +NavigationStack=C_Productos,b_prodMenos_Click,576,0,C_Detalle_Promo,Class_Globals,0,0,Subs,traeCliente,699,6,C_Productos,b_prodMas_Click,733,6,C_Principal,cargar_Click,1019,0,C_Principal,JobDone,1187,6,C_DetalleVenta,b_prodMas_Click,674,5,C_DetalleVenta,b_prodMenosC_Click,977,0,C_DetalleVenta,CreateListItem2,504,0,C_DetalleVenta,b_prodMenos_Click,522,0 +SelectedBuild=0 +VisibleModules=1,2,3,4,5,6,7,8,9,10 diff --git a/B4A/Objects/AndroidManifest.xml b/B4A/Objects/AndroidManifest.xml new file mode 100644 index 0000000..643083a --- /dev/null +++ b/B4A/Objects/AndroidManifest.xml @@ -0,0 +1,199 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/B4A/Objects/b4xlibs/Files/b4xinputtemplate.bal b/B4A/Objects/b4xlibs/Files/b4xinputtemplate.bal new file mode 100644 index 0000000..a143b40 Binary files /dev/null and b/B4A/Objects/b4xlibs/Files/b4xinputtemplate.bal differ diff --git a/B4A/Objects/b4xlibs/Files/datepicker.bal b/B4A/Objects/b4xlibs/Files/datepicker.bal new file mode 100644 index 0000000..82ab2fc Binary files /dev/null and b/B4A/Objects/b4xlibs/Files/datepicker.bal differ diff --git a/B4A/Objects/b4xlibs/Files/datetemplate.bal b/B4A/Objects/b4xlibs/Files/datetemplate.bal new file mode 100644 index 0000000..bb5b387 Binary files /dev/null and b/B4A/Objects/b4xlibs/Files/datetemplate.bal differ diff --git a/B4A/Objects/b4xlibs/Files/dialog.css b/B4A/Objects/b4xlibs/Files/dialog.css new file mode 100644 index 0000000..edae6ab --- /dev/null +++ b/B4A/Objects/b4xlibs/Files/dialog.css @@ -0,0 +1,37 @@ +.b4xdialog .scroll-bar:horizontal, .b4xdialog .scroll-bar:vertical{ + -fx-background-color:transparent; +} + +.b4xdialog .increment-button, .b4xdialog .decrement-button { + -fx-background-color: transparent; + -fx-border-color: transparent; +} + +.b4xdialog .scroll-bar:horizontal .track, +.b4xdialog .scroll-bar:vertical .track{ + -fx-background-color: transparent; + -fx-border-color: transparent; + -fx-background-radius: 0em; +} + +.b4xdialog .scroll-bar:horizontal .thumb, +.b4xdialog .scroll-bar:vertical .thumb { + -fx-background-color: #4B4B4B; + -fx-background-radius: 5em; +} + +.b4xdialoglight .scroll-bar:horizontal .thumb, +.b4xdialoglight .scroll-bar:vertical .thumb { + -fx-background-color: #B8B8B8; +} + +.scroll-pane{ + -fx-background-color:transparent; +} +.scroll-pane .viewport { + -fx-background-color: transparent; +} + +.text-area .content { + -fx-padding: 15 5 5 5; +} \ No newline at end of file diff --git a/B4A/Objects/b4xlibs/Files/listtemplate.bal b/B4A/Objects/b4xlibs/Files/listtemplate.bal new file mode 100644 index 0000000..ada8853 Binary files /dev/null and b/B4A/Objects/b4xlibs/Files/listtemplate.bal differ diff --git a/B4A/Objects/b4xlibs/Files/longtexttemplate.bal b/B4A/Objects/b4xlibs/Files/longtexttemplate.bal new file mode 100644 index 0000000..7fe9911 Binary files /dev/null and b/B4A/Objects/b4xlibs/Files/longtexttemplate.bal differ diff --git a/B4A/Objects/b4xlibs/Files/searchtemplate.bal b/B4A/Objects/b4xlibs/Files/searchtemplate.bal new file mode 100644 index 0000000..931f029 Binary files /dev/null and b/B4A/Objects/b4xlibs/Files/searchtemplate.bal differ diff --git a/B4A/Objects/b4xlibs/Files/timeddialogtemplate.bal b/B4A/Objects/b4xlibs/Files/timeddialogtemplate.bal new file mode 100644 index 0000000..e05943e Binary files /dev/null and b/B4A/Objects/b4xlibs/Files/timeddialogtemplate.bal differ diff --git a/B4A/Objects/b4xlibs/Files/xv_progresstemplate.bal b/B4A/Objects/b4xlibs/Files/xv_progresstemplate.bal new file mode 100644 index 0000000..9910ecf Binary files /dev/null and b/B4A/Objects/b4xlibs/Files/xv_progresstemplate.bal differ diff --git a/B4A/Objects/bin/classes/androidx/coordinatorlayout/R$anim.class b/B4A/Objects/bin/classes/androidx/coordinatorlayout/R$anim.class new file mode 100644 index 0000000..96065a8 Binary files /dev/null and b/B4A/Objects/bin/classes/androidx/coordinatorlayout/R$anim.class differ diff --git a/B4A/Objects/bin/classes/androidx/coordinatorlayout/R$attr.class b/B4A/Objects/bin/classes/androidx/coordinatorlayout/R$attr.class new file mode 100644 index 0000000..5caf8c2 Binary files /dev/null and b/B4A/Objects/bin/classes/androidx/coordinatorlayout/R$attr.class differ diff --git a/B4A/Objects/bin/classes/androidx/coordinatorlayout/R$color.class b/B4A/Objects/bin/classes/androidx/coordinatorlayout/R$color.class new file mode 100644 index 0000000..1591312 Binary files /dev/null and b/B4A/Objects/bin/classes/androidx/coordinatorlayout/R$color.class differ diff --git a/B4A/Objects/bin/classes/androidx/coordinatorlayout/R$dimen.class b/B4A/Objects/bin/classes/androidx/coordinatorlayout/R$dimen.class new file mode 100644 index 0000000..f0965e9 Binary files /dev/null and b/B4A/Objects/bin/classes/androidx/coordinatorlayout/R$dimen.class differ diff --git a/B4A/Objects/bin/classes/androidx/coordinatorlayout/R$drawable.class b/B4A/Objects/bin/classes/androidx/coordinatorlayout/R$drawable.class new file mode 100644 index 0000000..376deda Binary files /dev/null and b/B4A/Objects/bin/classes/androidx/coordinatorlayout/R$drawable.class differ diff --git a/B4A/Objects/bin/classes/androidx/coordinatorlayout/R$id.class b/B4A/Objects/bin/classes/androidx/coordinatorlayout/R$id.class new file mode 100644 index 0000000..a408bd9 Binary files /dev/null and b/B4A/Objects/bin/classes/androidx/coordinatorlayout/R$id.class differ diff --git a/B4A/Objects/bin/classes/androidx/coordinatorlayout/R$integer.class b/B4A/Objects/bin/classes/androidx/coordinatorlayout/R$integer.class new file mode 100644 index 0000000..03cdab7 Binary files /dev/null and b/B4A/Objects/bin/classes/androidx/coordinatorlayout/R$integer.class differ diff --git a/B4A/Objects/bin/classes/androidx/coordinatorlayout/R$layout.class b/B4A/Objects/bin/classes/androidx/coordinatorlayout/R$layout.class new file mode 100644 index 0000000..5cb2fae Binary files /dev/null and b/B4A/Objects/bin/classes/androidx/coordinatorlayout/R$layout.class differ diff --git a/B4A/Objects/bin/classes/androidx/coordinatorlayout/R$string.class b/B4A/Objects/bin/classes/androidx/coordinatorlayout/R$string.class new file mode 100644 index 0000000..cab8246 Binary files /dev/null and b/B4A/Objects/bin/classes/androidx/coordinatorlayout/R$string.class differ diff --git a/B4A/Objects/bin/classes/androidx/coordinatorlayout/R$style.class b/B4A/Objects/bin/classes/androidx/coordinatorlayout/R$style.class new file mode 100644 index 0000000..4f432ca Binary files /dev/null and b/B4A/Objects/bin/classes/androidx/coordinatorlayout/R$style.class differ diff --git a/B4A/Objects/bin/classes/androidx/coordinatorlayout/R$styleable.class b/B4A/Objects/bin/classes/androidx/coordinatorlayout/R$styleable.class new file mode 100644 index 0000000..2c25d98 Binary files /dev/null and b/B4A/Objects/bin/classes/androidx/coordinatorlayout/R$styleable.class differ diff --git a/B4A/Objects/bin/classes/androidx/coordinatorlayout/R$xml.class b/B4A/Objects/bin/classes/androidx/coordinatorlayout/R$xml.class new file mode 100644 index 0000000..4d952bc Binary files /dev/null and b/B4A/Objects/bin/classes/androidx/coordinatorlayout/R$xml.class differ diff --git a/B4A/Objects/bin/classes/androidx/coordinatorlayout/R.class b/B4A/Objects/bin/classes/androidx/coordinatorlayout/R.class new file mode 100644 index 0000000..d9c3fd5 Binary files /dev/null and b/B4A/Objects/bin/classes/androidx/coordinatorlayout/R.class differ diff --git a/B4A/Objects/bin/classes/androidx/core/R$anim.class b/B4A/Objects/bin/classes/androidx/core/R$anim.class new file mode 100644 index 0000000..30c5db8 Binary files /dev/null and b/B4A/Objects/bin/classes/androidx/core/R$anim.class differ diff --git a/B4A/Objects/bin/classes/androidx/core/R$attr.class b/B4A/Objects/bin/classes/androidx/core/R$attr.class new file mode 100644 index 0000000..7786e1a Binary files /dev/null and b/B4A/Objects/bin/classes/androidx/core/R$attr.class differ diff --git a/B4A/Objects/bin/classes/androidx/core/R$color.class b/B4A/Objects/bin/classes/androidx/core/R$color.class new file mode 100644 index 0000000..61e14c4 Binary files /dev/null and b/B4A/Objects/bin/classes/androidx/core/R$color.class differ diff --git a/B4A/Objects/bin/classes/androidx/core/R$dimen.class b/B4A/Objects/bin/classes/androidx/core/R$dimen.class new file mode 100644 index 0000000..5381e6f Binary files /dev/null and b/B4A/Objects/bin/classes/androidx/core/R$dimen.class differ diff --git a/B4A/Objects/bin/classes/androidx/core/R$drawable.class b/B4A/Objects/bin/classes/androidx/core/R$drawable.class new file mode 100644 index 0000000..f178cab Binary files /dev/null and b/B4A/Objects/bin/classes/androidx/core/R$drawable.class differ diff --git a/B4A/Objects/bin/classes/androidx/core/R$id.class b/B4A/Objects/bin/classes/androidx/core/R$id.class new file mode 100644 index 0000000..b732ac1 Binary files /dev/null and b/B4A/Objects/bin/classes/androidx/core/R$id.class differ diff --git a/B4A/Objects/bin/classes/androidx/core/R$integer.class b/B4A/Objects/bin/classes/androidx/core/R$integer.class new file mode 100644 index 0000000..6392e90 Binary files /dev/null and b/B4A/Objects/bin/classes/androidx/core/R$integer.class differ diff --git a/B4A/Objects/bin/classes/androidx/core/R$layout.class b/B4A/Objects/bin/classes/androidx/core/R$layout.class new file mode 100644 index 0000000..1c6312d Binary files /dev/null and b/B4A/Objects/bin/classes/androidx/core/R$layout.class differ diff --git a/B4A/Objects/bin/classes/androidx/core/R$string.class b/B4A/Objects/bin/classes/androidx/core/R$string.class new file mode 100644 index 0000000..b827c45 Binary files /dev/null and b/B4A/Objects/bin/classes/androidx/core/R$string.class differ diff --git a/B4A/Objects/bin/classes/androidx/core/R$style.class b/B4A/Objects/bin/classes/androidx/core/R$style.class new file mode 100644 index 0000000..69eeb52 Binary files /dev/null and b/B4A/Objects/bin/classes/androidx/core/R$style.class differ diff --git a/B4A/Objects/bin/classes/androidx/core/R$styleable.class b/B4A/Objects/bin/classes/androidx/core/R$styleable.class new file mode 100644 index 0000000..8842872 Binary files /dev/null and b/B4A/Objects/bin/classes/androidx/core/R$styleable.class differ diff --git a/B4A/Objects/bin/classes/androidx/core/R$xml.class b/B4A/Objects/bin/classes/androidx/core/R$xml.class new file mode 100644 index 0000000..73e6c38 Binary files /dev/null and b/B4A/Objects/bin/classes/androidx/core/R$xml.class differ diff --git a/B4A/Objects/bin/classes/androidx/core/R.class b/B4A/Objects/bin/classes/androidx/core/R.class new file mode 100644 index 0000000..97ebd2a Binary files /dev/null and b/B4A/Objects/bin/classes/androidx/core/R.class differ diff --git a/B4A/Objects/bin/classes/androidx/drawerlayout/R$anim.class b/B4A/Objects/bin/classes/androidx/drawerlayout/R$anim.class new file mode 100644 index 0000000..2354acc Binary files /dev/null and b/B4A/Objects/bin/classes/androidx/drawerlayout/R$anim.class differ diff --git a/B4A/Objects/bin/classes/androidx/drawerlayout/R$attr.class b/B4A/Objects/bin/classes/androidx/drawerlayout/R$attr.class new file mode 100644 index 0000000..b76b451 Binary files /dev/null and b/B4A/Objects/bin/classes/androidx/drawerlayout/R$attr.class differ diff --git a/B4A/Objects/bin/classes/androidx/drawerlayout/R$color.class b/B4A/Objects/bin/classes/androidx/drawerlayout/R$color.class new file mode 100644 index 0000000..1c15e5e Binary files /dev/null and b/B4A/Objects/bin/classes/androidx/drawerlayout/R$color.class differ diff --git a/B4A/Objects/bin/classes/androidx/drawerlayout/R$dimen.class b/B4A/Objects/bin/classes/androidx/drawerlayout/R$dimen.class new file mode 100644 index 0000000..a3e1321 Binary files /dev/null and b/B4A/Objects/bin/classes/androidx/drawerlayout/R$dimen.class differ diff --git a/B4A/Objects/bin/classes/androidx/drawerlayout/R$drawable.class b/B4A/Objects/bin/classes/androidx/drawerlayout/R$drawable.class new file mode 100644 index 0000000..5b09a9c Binary files /dev/null and b/B4A/Objects/bin/classes/androidx/drawerlayout/R$drawable.class differ diff --git a/B4A/Objects/bin/classes/androidx/drawerlayout/R$id.class b/B4A/Objects/bin/classes/androidx/drawerlayout/R$id.class new file mode 100644 index 0000000..8cee3b7 Binary files /dev/null and b/B4A/Objects/bin/classes/androidx/drawerlayout/R$id.class differ diff --git a/B4A/Objects/bin/classes/androidx/drawerlayout/R$integer.class b/B4A/Objects/bin/classes/androidx/drawerlayout/R$integer.class new file mode 100644 index 0000000..1de176b Binary files /dev/null and b/B4A/Objects/bin/classes/androidx/drawerlayout/R$integer.class differ diff --git a/B4A/Objects/bin/classes/androidx/drawerlayout/R$layout.class b/B4A/Objects/bin/classes/androidx/drawerlayout/R$layout.class new file mode 100644 index 0000000..cf0d014 Binary files /dev/null and b/B4A/Objects/bin/classes/androidx/drawerlayout/R$layout.class differ diff --git a/B4A/Objects/bin/classes/androidx/drawerlayout/R$string.class b/B4A/Objects/bin/classes/androidx/drawerlayout/R$string.class new file mode 100644 index 0000000..688fc36 Binary files /dev/null and b/B4A/Objects/bin/classes/androidx/drawerlayout/R$string.class differ diff --git a/B4A/Objects/bin/classes/androidx/drawerlayout/R$style.class b/B4A/Objects/bin/classes/androidx/drawerlayout/R$style.class new file mode 100644 index 0000000..07e8be3 Binary files /dev/null and b/B4A/Objects/bin/classes/androidx/drawerlayout/R$style.class differ diff --git a/B4A/Objects/bin/classes/androidx/drawerlayout/R$styleable.class b/B4A/Objects/bin/classes/androidx/drawerlayout/R$styleable.class new file mode 100644 index 0000000..1e47e2f Binary files /dev/null and b/B4A/Objects/bin/classes/androidx/drawerlayout/R$styleable.class differ diff --git a/B4A/Objects/bin/classes/androidx/drawerlayout/R$xml.class b/B4A/Objects/bin/classes/androidx/drawerlayout/R$xml.class new file mode 100644 index 0000000..7206526 Binary files /dev/null and b/B4A/Objects/bin/classes/androidx/drawerlayout/R$xml.class differ diff --git a/B4A/Objects/bin/classes/androidx/drawerlayout/R.class b/B4A/Objects/bin/classes/androidx/drawerlayout/R.class new file mode 100644 index 0000000..76e8b9e Binary files /dev/null and b/B4A/Objects/bin/classes/androidx/drawerlayout/R.class differ diff --git a/B4A/Objects/bin/classes/androidx/fragment/R$anim.class b/B4A/Objects/bin/classes/androidx/fragment/R$anim.class new file mode 100644 index 0000000..fcacc30 Binary files /dev/null and b/B4A/Objects/bin/classes/androidx/fragment/R$anim.class differ diff --git a/B4A/Objects/bin/classes/androidx/fragment/R$attr.class b/B4A/Objects/bin/classes/androidx/fragment/R$attr.class new file mode 100644 index 0000000..10aa42b Binary files /dev/null and b/B4A/Objects/bin/classes/androidx/fragment/R$attr.class differ diff --git a/B4A/Objects/bin/classes/androidx/fragment/R$color.class b/B4A/Objects/bin/classes/androidx/fragment/R$color.class new file mode 100644 index 0000000..2e2795b Binary files /dev/null and b/B4A/Objects/bin/classes/androidx/fragment/R$color.class differ diff --git a/B4A/Objects/bin/classes/androidx/fragment/R$dimen.class b/B4A/Objects/bin/classes/androidx/fragment/R$dimen.class new file mode 100644 index 0000000..7b915a7 Binary files /dev/null and b/B4A/Objects/bin/classes/androidx/fragment/R$dimen.class differ diff --git a/B4A/Objects/bin/classes/androidx/fragment/R$drawable.class b/B4A/Objects/bin/classes/androidx/fragment/R$drawable.class new file mode 100644 index 0000000..9f65d61 Binary files /dev/null and b/B4A/Objects/bin/classes/androidx/fragment/R$drawable.class differ diff --git a/B4A/Objects/bin/classes/androidx/fragment/R$id.class b/B4A/Objects/bin/classes/androidx/fragment/R$id.class new file mode 100644 index 0000000..c0d3f8f Binary files /dev/null and b/B4A/Objects/bin/classes/androidx/fragment/R$id.class differ diff --git a/B4A/Objects/bin/classes/androidx/fragment/R$integer.class b/B4A/Objects/bin/classes/androidx/fragment/R$integer.class new file mode 100644 index 0000000..cd7e77c Binary files /dev/null and b/B4A/Objects/bin/classes/androidx/fragment/R$integer.class differ diff --git a/B4A/Objects/bin/classes/androidx/fragment/R$layout.class b/B4A/Objects/bin/classes/androidx/fragment/R$layout.class new file mode 100644 index 0000000..3d9f895 Binary files /dev/null and b/B4A/Objects/bin/classes/androidx/fragment/R$layout.class differ diff --git a/B4A/Objects/bin/classes/androidx/fragment/R$string.class b/B4A/Objects/bin/classes/androidx/fragment/R$string.class new file mode 100644 index 0000000..176f91b Binary files /dev/null and b/B4A/Objects/bin/classes/androidx/fragment/R$string.class differ diff --git a/B4A/Objects/bin/classes/androidx/fragment/R$style.class b/B4A/Objects/bin/classes/androidx/fragment/R$style.class new file mode 100644 index 0000000..a115cbd Binary files /dev/null and b/B4A/Objects/bin/classes/androidx/fragment/R$style.class differ diff --git a/B4A/Objects/bin/classes/androidx/fragment/R$styleable.class b/B4A/Objects/bin/classes/androidx/fragment/R$styleable.class new file mode 100644 index 0000000..259393b Binary files /dev/null and b/B4A/Objects/bin/classes/androidx/fragment/R$styleable.class differ diff --git a/B4A/Objects/bin/classes/androidx/fragment/R$xml.class b/B4A/Objects/bin/classes/androidx/fragment/R$xml.class new file mode 100644 index 0000000..837ee95 Binary files /dev/null and b/B4A/Objects/bin/classes/androidx/fragment/R$xml.class differ diff --git a/B4A/Objects/bin/classes/androidx/fragment/R.class b/B4A/Objects/bin/classes/androidx/fragment/R.class new file mode 100644 index 0000000..df2aa0d Binary files /dev/null and b/B4A/Objects/bin/classes/androidx/fragment/R.class differ diff --git a/B4A/Objects/bin/classes/androidx/media/R$anim.class b/B4A/Objects/bin/classes/androidx/media/R$anim.class new file mode 100644 index 0000000..ec64300 Binary files /dev/null and b/B4A/Objects/bin/classes/androidx/media/R$anim.class differ diff --git a/B4A/Objects/bin/classes/androidx/media/R$attr.class b/B4A/Objects/bin/classes/androidx/media/R$attr.class new file mode 100644 index 0000000..7f5d3e5 Binary files /dev/null and b/B4A/Objects/bin/classes/androidx/media/R$attr.class differ diff --git a/B4A/Objects/bin/classes/androidx/media/R$color.class b/B4A/Objects/bin/classes/androidx/media/R$color.class new file mode 100644 index 0000000..2e9f00a Binary files /dev/null and b/B4A/Objects/bin/classes/androidx/media/R$color.class differ diff --git a/B4A/Objects/bin/classes/androidx/media/R$dimen.class b/B4A/Objects/bin/classes/androidx/media/R$dimen.class new file mode 100644 index 0000000..796fc2f Binary files /dev/null and b/B4A/Objects/bin/classes/androidx/media/R$dimen.class differ diff --git a/B4A/Objects/bin/classes/androidx/media/R$drawable.class b/B4A/Objects/bin/classes/androidx/media/R$drawable.class new file mode 100644 index 0000000..751c8a7 Binary files /dev/null and b/B4A/Objects/bin/classes/androidx/media/R$drawable.class differ diff --git a/B4A/Objects/bin/classes/androidx/media/R$id.class b/B4A/Objects/bin/classes/androidx/media/R$id.class new file mode 100644 index 0000000..b63a479 Binary files /dev/null and b/B4A/Objects/bin/classes/androidx/media/R$id.class differ diff --git a/B4A/Objects/bin/classes/androidx/media/R$integer.class b/B4A/Objects/bin/classes/androidx/media/R$integer.class new file mode 100644 index 0000000..0691d4f Binary files /dev/null and b/B4A/Objects/bin/classes/androidx/media/R$integer.class differ diff --git a/B4A/Objects/bin/classes/androidx/media/R$layout.class b/B4A/Objects/bin/classes/androidx/media/R$layout.class new file mode 100644 index 0000000..89ccda9 Binary files /dev/null and b/B4A/Objects/bin/classes/androidx/media/R$layout.class differ diff --git a/B4A/Objects/bin/classes/androidx/media/R$string.class b/B4A/Objects/bin/classes/androidx/media/R$string.class new file mode 100644 index 0000000..4580e9b Binary files /dev/null and b/B4A/Objects/bin/classes/androidx/media/R$string.class differ diff --git a/B4A/Objects/bin/classes/androidx/media/R$style.class b/B4A/Objects/bin/classes/androidx/media/R$style.class new file mode 100644 index 0000000..8e9205f Binary files /dev/null and b/B4A/Objects/bin/classes/androidx/media/R$style.class differ diff --git a/B4A/Objects/bin/classes/androidx/media/R$styleable.class b/B4A/Objects/bin/classes/androidx/media/R$styleable.class new file mode 100644 index 0000000..2f0685e Binary files /dev/null and b/B4A/Objects/bin/classes/androidx/media/R$styleable.class differ diff --git a/B4A/Objects/bin/classes/androidx/media/R$xml.class b/B4A/Objects/bin/classes/androidx/media/R$xml.class new file mode 100644 index 0000000..22ba493 Binary files /dev/null and b/B4A/Objects/bin/classes/androidx/media/R$xml.class differ diff --git a/B4A/Objects/bin/classes/androidx/media/R.class b/B4A/Objects/bin/classes/androidx/media/R.class new file mode 100644 index 0000000..e2f9193 Binary files /dev/null and b/B4A/Objects/bin/classes/androidx/media/R.class differ diff --git a/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R$anim.class b/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R$anim.class new file mode 100644 index 0000000..50ed8a7 Binary files /dev/null and b/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R$anim.class differ diff --git a/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R$attr.class b/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R$attr.class new file mode 100644 index 0000000..f2a0d6d Binary files /dev/null and b/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R$attr.class differ diff --git a/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R$color.class b/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R$color.class new file mode 100644 index 0000000..007f652 Binary files /dev/null and b/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R$color.class differ diff --git a/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R$dimen.class b/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R$dimen.class new file mode 100644 index 0000000..cb9ff25 Binary files /dev/null and b/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R$dimen.class differ diff --git a/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R$drawable.class b/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R$drawable.class new file mode 100644 index 0000000..0e25c2b Binary files /dev/null and b/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R$drawable.class differ diff --git a/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R$id.class b/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R$id.class new file mode 100644 index 0000000..54ec117 Binary files /dev/null and b/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R$id.class differ diff --git a/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R$integer.class b/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R$integer.class new file mode 100644 index 0000000..c18a74b Binary files /dev/null and b/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R$integer.class differ diff --git a/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R$layout.class b/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R$layout.class new file mode 100644 index 0000000..a624b6f Binary files /dev/null and b/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R$layout.class differ diff --git a/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R$string.class b/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R$string.class new file mode 100644 index 0000000..874544b Binary files /dev/null and b/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R$string.class differ diff --git a/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R$style.class b/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R$style.class new file mode 100644 index 0000000..107e47b Binary files /dev/null and b/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R$style.class differ diff --git a/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R$styleable.class b/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R$styleable.class new file mode 100644 index 0000000..5cb1852 Binary files /dev/null and b/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R$styleable.class differ diff --git a/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R$xml.class b/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R$xml.class new file mode 100644 index 0000000..a10f67f Binary files /dev/null and b/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R$xml.class differ diff --git a/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R.class b/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R.class new file mode 100644 index 0000000..470179f Binary files /dev/null and b/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R.class differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/base/R$anim.class b/B4A/Objects/bin/classes/com/google/android/gms/base/R$anim.class new file mode 100644 index 0000000..75e8c88 Binary files /dev/null and b/B4A/Objects/bin/classes/com/google/android/gms/base/R$anim.class differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/base/R$attr.class b/B4A/Objects/bin/classes/com/google/android/gms/base/R$attr.class new file mode 100644 index 0000000..1ee977e Binary files /dev/null and b/B4A/Objects/bin/classes/com/google/android/gms/base/R$attr.class differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/base/R$color.class b/B4A/Objects/bin/classes/com/google/android/gms/base/R$color.class new file mode 100644 index 0000000..6732cf3 Binary files /dev/null and b/B4A/Objects/bin/classes/com/google/android/gms/base/R$color.class differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/base/R$dimen.class b/B4A/Objects/bin/classes/com/google/android/gms/base/R$dimen.class new file mode 100644 index 0000000..41d54cb Binary files /dev/null and b/B4A/Objects/bin/classes/com/google/android/gms/base/R$dimen.class differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/base/R$drawable.class b/B4A/Objects/bin/classes/com/google/android/gms/base/R$drawable.class new file mode 100644 index 0000000..0789b2c Binary files /dev/null and b/B4A/Objects/bin/classes/com/google/android/gms/base/R$drawable.class differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/base/R$id.class b/B4A/Objects/bin/classes/com/google/android/gms/base/R$id.class new file mode 100644 index 0000000..b8ffd60 Binary files /dev/null and b/B4A/Objects/bin/classes/com/google/android/gms/base/R$id.class differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/base/R$integer.class b/B4A/Objects/bin/classes/com/google/android/gms/base/R$integer.class new file mode 100644 index 0000000..bc9a0f2 Binary files /dev/null and b/B4A/Objects/bin/classes/com/google/android/gms/base/R$integer.class differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/base/R$layout.class b/B4A/Objects/bin/classes/com/google/android/gms/base/R$layout.class new file mode 100644 index 0000000..a33d929 Binary files /dev/null and b/B4A/Objects/bin/classes/com/google/android/gms/base/R$layout.class differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/base/R$string.class b/B4A/Objects/bin/classes/com/google/android/gms/base/R$string.class new file mode 100644 index 0000000..787b314 Binary files /dev/null and b/B4A/Objects/bin/classes/com/google/android/gms/base/R$string.class differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/base/R$style.class b/B4A/Objects/bin/classes/com/google/android/gms/base/R$style.class new file mode 100644 index 0000000..3196a4e Binary files /dev/null and b/B4A/Objects/bin/classes/com/google/android/gms/base/R$style.class differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/base/R$styleable.class b/B4A/Objects/bin/classes/com/google/android/gms/base/R$styleable.class new file mode 100644 index 0000000..73d492f Binary files /dev/null and b/B4A/Objects/bin/classes/com/google/android/gms/base/R$styleable.class differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/base/R$xml.class b/B4A/Objects/bin/classes/com/google/android/gms/base/R$xml.class new file mode 100644 index 0000000..49d6848 Binary files /dev/null and b/B4A/Objects/bin/classes/com/google/android/gms/base/R$xml.class differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/base/R.class b/B4A/Objects/bin/classes/com/google/android/gms/base/R.class new file mode 100644 index 0000000..eca6403 Binary files /dev/null and b/B4A/Objects/bin/classes/com/google/android/gms/base/R.class differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/common/R$anim.class b/B4A/Objects/bin/classes/com/google/android/gms/common/R$anim.class new file mode 100644 index 0000000..42517a4 Binary files /dev/null and b/B4A/Objects/bin/classes/com/google/android/gms/common/R$anim.class differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/common/R$attr.class b/B4A/Objects/bin/classes/com/google/android/gms/common/R$attr.class new file mode 100644 index 0000000..661d945 Binary files /dev/null and b/B4A/Objects/bin/classes/com/google/android/gms/common/R$attr.class differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/common/R$color.class b/B4A/Objects/bin/classes/com/google/android/gms/common/R$color.class new file mode 100644 index 0000000..c6106ea Binary files /dev/null and b/B4A/Objects/bin/classes/com/google/android/gms/common/R$color.class differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/common/R$dimen.class b/B4A/Objects/bin/classes/com/google/android/gms/common/R$dimen.class new file mode 100644 index 0000000..644ec52 Binary files /dev/null and b/B4A/Objects/bin/classes/com/google/android/gms/common/R$dimen.class differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/common/R$drawable.class b/B4A/Objects/bin/classes/com/google/android/gms/common/R$drawable.class new file mode 100644 index 0000000..83b276c Binary files /dev/null and b/B4A/Objects/bin/classes/com/google/android/gms/common/R$drawable.class differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/common/R$id.class b/B4A/Objects/bin/classes/com/google/android/gms/common/R$id.class new file mode 100644 index 0000000..3eaa3b7 Binary files /dev/null and b/B4A/Objects/bin/classes/com/google/android/gms/common/R$id.class differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/common/R$integer.class b/B4A/Objects/bin/classes/com/google/android/gms/common/R$integer.class new file mode 100644 index 0000000..356b97b Binary files /dev/null and b/B4A/Objects/bin/classes/com/google/android/gms/common/R$integer.class differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/common/R$layout.class b/B4A/Objects/bin/classes/com/google/android/gms/common/R$layout.class new file mode 100644 index 0000000..ec927c5 Binary files /dev/null and b/B4A/Objects/bin/classes/com/google/android/gms/common/R$layout.class differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/common/R$string.class b/B4A/Objects/bin/classes/com/google/android/gms/common/R$string.class new file mode 100644 index 0000000..1f80bdc Binary files /dev/null and b/B4A/Objects/bin/classes/com/google/android/gms/common/R$string.class differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/common/R$style.class b/B4A/Objects/bin/classes/com/google/android/gms/common/R$style.class new file mode 100644 index 0000000..f3a8367 Binary files /dev/null and b/B4A/Objects/bin/classes/com/google/android/gms/common/R$style.class differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/common/R$styleable.class b/B4A/Objects/bin/classes/com/google/android/gms/common/R$styleable.class new file mode 100644 index 0000000..fef9f74 Binary files /dev/null and b/B4A/Objects/bin/classes/com/google/android/gms/common/R$styleable.class differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/common/R$xml.class b/B4A/Objects/bin/classes/com/google/android/gms/common/R$xml.class new file mode 100644 index 0000000..59121d5 Binary files /dev/null and b/B4A/Objects/bin/classes/com/google/android/gms/common/R$xml.class differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/common/R.class b/B4A/Objects/bin/classes/com/google/android/gms/common/R.class new file mode 100644 index 0000000..508aded Binary files /dev/null and b/B4A/Objects/bin/classes/com/google/android/gms/common/R.class differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/maps/R$anim.class b/B4A/Objects/bin/classes/com/google/android/gms/maps/R$anim.class new file mode 100644 index 0000000..dc4c3f5 Binary files /dev/null and b/B4A/Objects/bin/classes/com/google/android/gms/maps/R$anim.class differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/maps/R$attr.class b/B4A/Objects/bin/classes/com/google/android/gms/maps/R$attr.class new file mode 100644 index 0000000..069ba4c Binary files /dev/null and b/B4A/Objects/bin/classes/com/google/android/gms/maps/R$attr.class differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/maps/R$color.class b/B4A/Objects/bin/classes/com/google/android/gms/maps/R$color.class new file mode 100644 index 0000000..ed42e9e Binary files /dev/null and b/B4A/Objects/bin/classes/com/google/android/gms/maps/R$color.class differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/maps/R$dimen.class b/B4A/Objects/bin/classes/com/google/android/gms/maps/R$dimen.class new file mode 100644 index 0000000..f1a89ef Binary files /dev/null and b/B4A/Objects/bin/classes/com/google/android/gms/maps/R$dimen.class differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/maps/R$drawable.class b/B4A/Objects/bin/classes/com/google/android/gms/maps/R$drawable.class new file mode 100644 index 0000000..741a88c Binary files /dev/null and b/B4A/Objects/bin/classes/com/google/android/gms/maps/R$drawable.class differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/maps/R$id.class b/B4A/Objects/bin/classes/com/google/android/gms/maps/R$id.class new file mode 100644 index 0000000..ca1c964 Binary files /dev/null and b/B4A/Objects/bin/classes/com/google/android/gms/maps/R$id.class differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/maps/R$integer.class b/B4A/Objects/bin/classes/com/google/android/gms/maps/R$integer.class new file mode 100644 index 0000000..fd008b2 Binary files /dev/null and b/B4A/Objects/bin/classes/com/google/android/gms/maps/R$integer.class differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/maps/R$layout.class b/B4A/Objects/bin/classes/com/google/android/gms/maps/R$layout.class new file mode 100644 index 0000000..412692d Binary files /dev/null and b/B4A/Objects/bin/classes/com/google/android/gms/maps/R$layout.class differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/maps/R$string.class b/B4A/Objects/bin/classes/com/google/android/gms/maps/R$string.class new file mode 100644 index 0000000..89ef897 Binary files /dev/null and b/B4A/Objects/bin/classes/com/google/android/gms/maps/R$string.class differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/maps/R$style.class b/B4A/Objects/bin/classes/com/google/android/gms/maps/R$style.class new file mode 100644 index 0000000..4729df5 Binary files /dev/null and b/B4A/Objects/bin/classes/com/google/android/gms/maps/R$style.class differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/maps/R$styleable.class b/B4A/Objects/bin/classes/com/google/android/gms/maps/R$styleable.class new file mode 100644 index 0000000..0dd112a Binary files /dev/null and b/B4A/Objects/bin/classes/com/google/android/gms/maps/R$styleable.class differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/maps/R$xml.class b/B4A/Objects/bin/classes/com/google/android/gms/maps/R$xml.class new file mode 100644 index 0000000..f6c5d63 Binary files /dev/null and b/B4A/Objects/bin/classes/com/google/android/gms/maps/R$xml.class differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/maps/R.class b/B4A/Objects/bin/classes/com/google/android/gms/maps/R.class new file mode 100644 index 0000000..b55675e Binary files /dev/null and b/B4A/Objects/bin/classes/com/google/android/gms/maps/R.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/R$anim.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/R$anim.class new file mode 100644 index 0000000..95f848c Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/R$anim.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/R$attr.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/R$attr.class new file mode 100644 index 0000000..4c5c6c9 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/R$attr.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/R$color.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/R$color.class new file mode 100644 index 0000000..88d7b5a Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/R$color.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/R$dimen.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/R$dimen.class new file mode 100644 index 0000000..e8d7ff3 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/R$dimen.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/R$drawable.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/R$drawable.class new file mode 100644 index 0000000..fb34407 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/R$drawable.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/R$id.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/R$id.class new file mode 100644 index 0000000..c1afbae Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/R$id.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/R$integer.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/R$integer.class new file mode 100644 index 0000000..7c42c0c Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/R$integer.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/R$layout.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/R$layout.class new file mode 100644 index 0000000..277d045 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/R$layout.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/R$string.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/R$string.class new file mode 100644 index 0000000..42cbb12 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/R$string.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/R$style.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/R$style.class new file mode 100644 index 0000000..2025871 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/R$style.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/R$styleable.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/R$styleable.class new file mode 100644 index 0000000..78ff674 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/R$styleable.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/R$xml.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/R$xml.class new file mode 100644 index 0000000..87cc71e Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/R$xml.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/R.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/R.class new file mode 100644 index 0000000..44bf041 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/R.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/animatedcounter.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/animatedcounter.class new file mode 100644 index 0000000..e0d3226 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/animatedcounter.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/anotherprogressbar$ResumableSub_BusyLoop.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/anotherprogressbar$ResumableSub_BusyLoop.class new file mode 100644 index 0000000..4cbaf3b Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/anotherprogressbar$ResumableSub_BusyLoop.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/anotherprogressbar.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/anotherprogressbar.class new file mode 100644 index 0000000..3646313 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/anotherprogressbar.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/appupdater$1.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/appupdater$1.class new file mode 100644 index 0000000..7a1b40a Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/appupdater$1.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/appupdater$2.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/appupdater$2.class new file mode 100644 index 0000000..bd711fc Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/appupdater$2.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/appupdater$ResumableSub_Service_Start.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/appupdater$ResumableSub_Service_Start.class new file mode 100644 index 0000000..a38963a Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/appupdater$ResumableSub_Service_Start.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/appupdater$ResumableSub_download_newApk.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/appupdater$ResumableSub_download_newApk.class new file mode 100644 index 0000000..b6030b7 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/appupdater$ResumableSub_download_newApk.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/appupdater$_mnewversion.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/appupdater$_mnewversion.class new file mode 100644 index 0000000..c9cdc9a Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/appupdater$_mnewversion.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/appupdater$appupdater_BR.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/appupdater$appupdater_BR.class new file mode 100644 index 0000000..1f89f56 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/appupdater$appupdater_BR.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/appupdater.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/appupdater.class new file mode 100644 index 0000000..20a5aed Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/appupdater.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xbitset.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xbitset.class new file mode 100644 index 0000000..92a4566 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xbitset.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xbreadcrumb.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xbreadcrumb.class new file mode 100644 index 0000000..d68edd8 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xbreadcrumb.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xbytesbuilder.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xbytesbuilder.class new file mode 100644 index 0000000..db4c475 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xbytesbuilder.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xcache$_b4xcacheitem.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xcache$_b4xcacheitem.class new file mode 100644 index 0000000..01b263f Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xcache$_b4xcacheitem.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xcache.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xcache.class new file mode 100644 index 0000000..04754e6 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xcache.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xcollections.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xcollections.class new file mode 100644 index 0000000..9749a84 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xcollections.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xcolortemplate$ResumableSub_Show.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xcolortemplate$ResumableSub_Show.class new file mode 100644 index 0000000..23998d5 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xcolortemplate$ResumableSub_Show.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xcolortemplate$_colorpickerpart.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xcolortemplate$_colorpickerpart.class new file mode 100644 index 0000000..ddc14c9 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xcolortemplate$_colorpickerpart.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xcolortemplate.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xcolortemplate.class new file mode 100644 index 0000000..ce78c52 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xcolortemplate.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xcombobox$ResumableSub_RaiseEvent.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xcombobox$ResumableSub_RaiseEvent.class new file mode 100644 index 0000000..69c3bb7 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xcombobox$ResumableSub_RaiseEvent.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xcombobox.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xcombobox.class new file mode 100644 index 0000000..ca3231d Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xcombobox.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xcomparatorsort.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xcomparatorsort.class new file mode 100644 index 0000000..f0cd20d Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xcomparatorsort.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xdatetemplate$ResumableSub_Show.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xdatetemplate$ResumableSub_Show.class new file mode 100644 index 0000000..03674da Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xdatetemplate$ResumableSub_Show.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xdatetemplate.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xdatetemplate.class new file mode 100644 index 0000000..0b8f73d Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xdatetemplate.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xdialog$ResumableSub_Show.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xdialog$ResumableSub_Show.class new file mode 100644 index 0000000..a349fe9 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xdialog$ResumableSub_Show.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xdialog$ResumableSub_ShowCustom.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xdialog$ResumableSub_ShowCustom.class new file mode 100644 index 0000000..ef174a7 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xdialog$ResumableSub_ShowCustom.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xdialog$ResumableSub_ShowTemplate.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xdialog$ResumableSub_ShowTemplate.class new file mode 100644 index 0000000..6e886e1 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xdialog$ResumableSub_ShowTemplate.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xdialog.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xdialog.class new file mode 100644 index 0000000..b5a75a6 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xdialog.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xfloattextfield$ResumableSub_SwitchFromPasswordToRegular.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xfloattextfield$ResumableSub_SwitchFromPasswordToRegular.class new file mode 100644 index 0000000..78dd33e Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xfloattextfield$ResumableSub_SwitchFromPasswordToRegular.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xfloattextfield.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xfloattextfield.class new file mode 100644 index 0000000..855dd91 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xfloattextfield.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xformatter$_b4xformatdata.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xformatter$_b4xformatdata.class new file mode 100644 index 0000000..8d26da0 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xformatter$_b4xformatdata.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xformatter.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xformatter.class new file mode 100644 index 0000000..1781414 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xformatter.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4ximageview.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4ximageview.class new file mode 100644 index 0000000..da0eebf Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4ximageview.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xinputtemplate$ResumableSub_Show.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xinputtemplate$ResumableSub_Show.class new file mode 100644 index 0000000..64d7c21 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xinputtemplate$ResumableSub_Show.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xinputtemplate.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xinputtemplate.class new file mode 100644 index 0000000..a7095cd Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xinputtemplate.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xlisttemplate$ResumableSub_Show.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xlisttemplate$ResumableSub_Show.class new file mode 100644 index 0000000..217e141 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xlisttemplate$ResumableSub_Show.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xlisttemplate.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xlisttemplate.class new file mode 100644 index 0000000..e5e8740 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xlisttemplate.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xloadingindicator$ResumableSub_MainLoop.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xloadingindicator$ResumableSub_MainLoop.class new file mode 100644 index 0000000..6d7f51e Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xloadingindicator$ResumableSub_MainLoop.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xloadingindicator.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xloadingindicator.class new file mode 100644 index 0000000..ce9a349 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xloadingindicator.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xlongtexttemplate.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xlongtexttemplate.class new file mode 100644 index 0000000..0c07dbc Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xlongtexttemplate.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xmainpage$ResumableSub_B4XPage_Appear.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xmainpage$ResumableSub_B4XPage_Appear.class new file mode 100644 index 0000000..f0a4999 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xmainpage$ResumableSub_B4XPage_Appear.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xmainpage$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xmainpage$ResumableSub_B4XPage_CloseRequest.class new file mode 100644 index 0000000..7afe497 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xmainpage$ResumableSub_B4XPage_CloseRequest.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xmainpage$ResumableSub_b_envioBD_Click.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xmainpage$ResumableSub_b_envioBD_Click.class new file mode 100644 index 0000000..49baa8c Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xmainpage$ResumableSub_b_envioBD_Click.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xmainpage$ResumableSub_b_terpc_Click.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xmainpage$ResumableSub_b_terpc_Click.class new file mode 100644 index 0000000..4fc7e47 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xmainpage$ResumableSub_b_terpc_Click.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xmainpage.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xmainpage.class new file mode 100644 index 0000000..6761312 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xmainpage.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xorderedmap.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xorderedmap.class new file mode 100644 index 0000000..891cc94 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xorderedmap.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xpages.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xpages.class new file mode 100644 index 0000000..7e78f68 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xpages.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xpagesdelegator.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xpagesdelegator.class new file mode 100644 index 0000000..f78c8da Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xpagesdelegator.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xpagesmanager$PagesMenuListener.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xpagesmanager$PagesMenuListener.class new file mode 100644 index 0000000..a2a4ac1 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xpagesmanager$PagesMenuListener.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xpagesmanager$ResumableSub_HandleCloseRequest.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xpagesmanager$ResumableSub_HandleCloseRequest.class new file mode 100644 index 0000000..d647290 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xpagesmanager$ResumableSub_HandleCloseRequest.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xpagesmanager$_b4amenuitem.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xpagesmanager$_b4amenuitem.class new file mode 100644 index 0000000..eceb971 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xpagesmanager$_b4amenuitem.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xpagesmanager$_b4xpageinfo.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xpagesmanager$_b4xpageinfo.class new file mode 100644 index 0000000..ae6894f Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xpagesmanager$_b4xpageinfo.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xpagesmanager$_b4xpageparent.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xpagesmanager$_b4xpageparent.class new file mode 100644 index 0000000..21a6a25 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xpagesmanager$_b4xpageparent.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xpagesmanager.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xpagesmanager.class new file mode 100644 index 0000000..091b838 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xpagesmanager.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xplusminus$ResumableSub_StartDownLoop.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xplusminus$ResumableSub_StartDownLoop.class new file mode 100644 index 0000000..119d859 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xplusminus$ResumableSub_StartDownLoop.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xplusminus.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xplusminus.class new file mode 100644 index 0000000..b55c9c8 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xplusminus.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xradiobutton$ResumableSub_SetValueImpl.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xradiobutton$ResumableSub_SetValueImpl.class new file mode 100644 index 0000000..d22d264 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xradiobutton$ResumableSub_SetValueImpl.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xradiobutton.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xradiobutton.class new file mode 100644 index 0000000..bb2e5a5 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xradiobutton.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xsearchtemplate$ResumableSub_Show.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xsearchtemplate$ResumableSub_Show.class new file mode 100644 index 0000000..d10b26e Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xsearchtemplate$ResumableSub_Show.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xsearchtemplate.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xsearchtemplate.class new file mode 100644 index 0000000..cbcf98e Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xsearchtemplate.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xseekbar.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xseekbar.class new file mode 100644 index 0000000..f838946 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xseekbar.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xset.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xset.class new file mode 100644 index 0000000..80d3e8b Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xset.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xsignaturetemplate.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xsignaturetemplate.class new file mode 100644 index 0000000..041715c Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xsignaturetemplate.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xswitch$ResumableSub_SetValueImpl.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xswitch$ResumableSub_SetValueImpl.class new file mode 100644 index 0000000..ce18435 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xswitch$ResumableSub_SetValueImpl.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xswitch.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xswitch.class new file mode 100644 index 0000000..36aa124 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xswitch.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xtimedtemplate$ResumableSub_Show.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xtimedtemplate$ResumableSub_Show.class new file mode 100644 index 0000000..d87a055 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xtimedtemplate$ResumableSub_Show.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xtimedtemplate.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xtimedtemplate.class new file mode 100644 index 0000000..f8b43f2 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/b4xtimedtemplate.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/batteryutilities.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/batteryutilities.class new file mode 100644 index 0000000..7f31c57 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/batteryutilities.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_buscar$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_buscar$ResumableSub_B4XPage_CloseRequest.class new file mode 100644 index 0000000..618fdd9 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_buscar$ResumableSub_B4XPage_CloseRequest.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_buscar.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_buscar.class new file mode 100644 index 0000000..ccb49b3 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_buscar.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cheklist$ResumableSub_B4XPage_Appear.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cheklist$ResumableSub_B4XPage_Appear.class new file mode 100644 index 0000000..45a2d08 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cheklist$ResumableSub_B4XPage_Appear.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cheklist$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cheklist$ResumableSub_B4XPage_CloseRequest.class new file mode 100644 index 0000000..d8b35e3 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cheklist$ResumableSub_B4XPage_CloseRequest.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cheklist$ResumableSub_InitializeCamera2.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cheklist$ResumableSub_InitializeCamera2.class new file mode 100644 index 0000000..97a9f20 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cheklist$ResumableSub_InitializeCamera2.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cheklist.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cheklist.class new file mode 100644 index 0000000..01dc9fe Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cheklist.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cliente$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cliente$ResumableSub_B4XPage_CloseRequest.class new file mode 100644 index 0000000..52c1b09 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cliente$ResumableSub_B4XPage_CloseRequest.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cliente$ResumableSub_B_IMP2_Click.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cliente$ResumableSub_B_IMP2_Click.class new file mode 100644 index 0000000..a0bc4de Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cliente$ResumableSub_B_IMP2_Click.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cliente$ResumableSub_B_IMP_Click.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cliente$ResumableSub_B_IMP_Click.class new file mode 100644 index 0000000..d3dc554 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cliente$ResumableSub_B_IMP_Click.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cliente$ResumableSub_HIST_Click.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cliente$ResumableSub_HIST_Click.class new file mode 100644 index 0000000..a8d24e5 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cliente$ResumableSub_HIST_Click.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cliente$ResumableSub_b_abono_Click.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cliente$ResumableSub_b_abono_Click.class new file mode 100644 index 0000000..f7cdd9c Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cliente$ResumableSub_b_abono_Click.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cliente$ResumableSub_gest_Click.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cliente$ResumableSub_gest_Click.class new file mode 100644 index 0000000..266fe00 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cliente$ResumableSub_gest_Click.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cliente$ResumableSub_imprime_abonopagare.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cliente$ResumableSub_imprime_abonopagare.class new file mode 100644 index 0000000..5806c99 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cliente$ResumableSub_imprime_abonopagare.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cliente$ResumableSub_imprime_pagare.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cliente$ResumableSub_imprime_pagare.class new file mode 100644 index 0000000..3b01c03 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cliente$ResumableSub_imprime_pagare.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cliente.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cliente.class new file mode 100644 index 0000000..27b27f3 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_cliente.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_clientes$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_clientes$ResumableSub_B4XPage_CloseRequest.class new file mode 100644 index 0000000..2bf62eb Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_clientes$ResumableSub_B4XPage_CloseRequest.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_clientes$ResumableSub_ListView1_ItemClick.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_clientes$ResumableSub_ListView1_ItemClick.class new file mode 100644 index 0000000..9779de0 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_clientes$ResumableSub_ListView1_ItemClick.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_clientes$ResumableSub_b_GetDirs_Click.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_clientes$ResumableSub_b_GetDirs_Click.class new file mode 100644 index 0000000..2453085 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_clientes$ResumableSub_b_GetDirs_Click.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_clientes$ResumableSub_caculaRutaGPS.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_clientes$ResumableSub_caculaRutaGPS.class new file mode 100644 index 0000000..d45f370 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_clientes$ResumableSub_caculaRutaGPS.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_clientes$ResumableSub_distanciaEntreCoords.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_clientes$ResumableSub_distanciaEntreCoords.class new file mode 100644 index 0000000..5c05d5e Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_clientes$ResumableSub_distanciaEntreCoords.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_clientes$ResumableSub_generaListViewRutas.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_clientes$ResumableSub_generaListViewRutas.class new file mode 100644 index 0000000..59d3f31 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_clientes$ResumableSub_generaListViewRutas.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_clientes$ResumableSub_traeRutaDia.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_clientes$ResumableSub_traeRutaDia.class new file mode 100644 index 0000000..d2fd62c Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_clientes$ResumableSub_traeRutaDia.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_clientes.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_clientes.class new file mode 100644 index 0000000..734d5f1 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_clientes.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_detalle_promo.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_detalle_promo.class new file mode 100644 index 0000000..0d932a9 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_detalle_promo.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_detalleventa$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_detalleventa$ResumableSub_B4XPage_CloseRequest.class new file mode 100644 index 0000000..18dc3e0 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_detalleventa$ResumableSub_B4XPage_CloseRequest.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_detalleventa.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_detalleventa.class new file mode 100644 index 0000000..bf025e1 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_detalleventa.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_foto$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_foto$ResumableSub_B4XPage_CloseRequest.class new file mode 100644 index 0000000..1ca00ed Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_foto$ResumableSub_B4XPage_CloseRequest.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_foto.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_foto.class new file mode 100644 index 0000000..3a761a5 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_foto.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_historico$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_historico$ResumableSub_B4XPage_CloseRequest.class new file mode 100644 index 0000000..da6a3aa Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_historico$ResumableSub_B4XPage_CloseRequest.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_historico.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_historico.class new file mode 100644 index 0000000..33e0d06 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_historico.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_mapas.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_mapas.class new file mode 100644 index 0000000..b011040 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_mapas.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_noventa$ResumableSub_B_IMP_Click.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_noventa$ResumableSub_B_IMP_Click.class new file mode 100644 index 0000000..9fd39a5 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_noventa$ResumableSub_B_IMP_Click.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_noventa.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_noventa.class new file mode 100644 index 0000000..ca4f0dc Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_noventa.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_nuevocliente.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_nuevocliente.class new file mode 100644 index 0000000..44a18d2 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_nuevocliente.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_pedidos.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_pedidos.class new file mode 100644 index 0000000..d21c707 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_pedidos.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_principal$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_principal$ResumableSub_B4XPage_CloseRequest.class new file mode 100644 index 0000000..09c48e8 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_principal$ResumableSub_B4XPage_CloseRequest.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_principal$ResumableSub_b_imp_inventario_Click.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_principal$ResumableSub_b_imp_inventario_Click.class new file mode 100644 index 0000000..5d1a0ce Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_principal$ResumableSub_b_imp_inventario_Click.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_principal$ResumableSub_b_impresion_rec_Click.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_principal$ResumableSub_b_impresion_rec_Click.class new file mode 100644 index 0000000..050addc Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_principal$ResumableSub_b_impresion_rec_Click.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_principal.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_principal.class new file mode 100644 index 0000000..a073b10 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_principal.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_productos$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_productos$ResumableSub_B4XPage_CloseRequest.class new file mode 100644 index 0000000..62e61f2 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_productos$ResumableSub_B4XPage_CloseRequest.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_productos.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_productos.class new file mode 100644 index 0000000..590fd9b Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_productos.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_tabulador.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_tabulador.class new file mode 100644 index 0000000..2e877c3 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_tabulador.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_ticketsdia.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_ticketsdia.class new file mode 100644 index 0000000..740e497 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_ticketsdia.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_updateavailable$ResumableSub_B4XPage_Appear.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_updateavailable$ResumableSub_B4XPage_Appear.class new file mode 100644 index 0000000..5a54bc2 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_updateavailable$ResumableSub_B4XPage_Appear.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_updateavailable.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_updateavailable.class new file mode 100644 index 0000000..8f56b27 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/c_updateavailable.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/cameraexclass$_camerainfoandid.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/cameraexclass$_camerainfoandid.class new file mode 100644 index 0000000..2e5c3df Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/cameraexclass$_camerainfoandid.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/cameraexclass$_camerasize.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/cameraexclass$_camerasize.class new file mode 100644 index 0000000..da39953 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/cameraexclass$_camerasize.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/cameraexclass.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/cameraexclass.class new file mode 100644 index 0000000..7722f19 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/cameraexclass.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/cl_appupdate$ResumableSub_DownloadApk.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/cl_appupdate$ResumableSub_DownloadApk.class new file mode 100644 index 0000000..7dd0d51 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/cl_appupdate$ResumableSub_DownloadApk.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/cl_appupdate$ResumableSub_IsvalidWV.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/cl_appupdate$ResumableSub_IsvalidWV.class new file mode 100644 index 0000000..37fcf2b Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/cl_appupdate$ResumableSub_IsvalidWV.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/cl_appupdate$ResumableSub_ReadWebVN.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/cl_appupdate$ResumableSub_ReadWebVN.class new file mode 100644 index 0000000..8d49c93 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/cl_appupdate$ResumableSub_ReadWebVN.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/cl_appupdate$ResumableSub_TryApkUpdate.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/cl_appupdate$ResumableSub_TryApkUpdate.class new file mode 100644 index 0000000..c8a4e8c Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/cl_appupdate$ResumableSub_TryApkUpdate.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/cl_appupdate$ResumableSub_UpdateApk.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/cl_appupdate$ResumableSub_UpdateApk.class new file mode 100644 index 0000000..cebfc80 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/cl_appupdate$ResumableSub_UpdateApk.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/cl_appupdate.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/cl_appupdate.class new file mode 100644 index 0000000..7cb8490 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/cl_appupdate.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/dbrequestmanager$_dbcommand.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/dbrequestmanager$_dbcommand.class new file mode 100644 index 0000000..ea249ff Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/dbrequestmanager$_dbcommand.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/dbrequestmanager$_dbresult.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/dbrequestmanager$_dbresult.class new file mode 100644 index 0000000..8fc4fe6 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/dbrequestmanager$_dbresult.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/dbrequestmanager.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/dbrequestmanager.class new file mode 100644 index 0000000..94cb729 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/dbrequestmanager.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/designerscripts/LS_check.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/designerscripts/LS_check.class new file mode 100644 index 0000000..e90003e Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/designerscripts/LS_check.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/designerscripts/LS_checklist.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/designerscripts/LS_checklist.class new file mode 100644 index 0000000..6200e16 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/designerscripts/LS_checklist.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/designerscripts/LS_clientes.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/designerscripts/LS_clientes.class new file mode 100644 index 0000000..2d592c5 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/designerscripts/LS_clientes.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/designerscripts/LS_detalle_promo.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/designerscripts/LS_detalle_promo.class new file mode 100644 index 0000000..21778ae Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/designerscripts/LS_detalle_promo.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/designerscripts/LS_detalleventa.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/designerscripts/LS_detalleventa.class new file mode 100644 index 0000000..8daa0a8 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/designerscripts/LS_detalleventa.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/designerscripts/LS_folioabono.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/designerscripts/LS_folioabono.class new file mode 100644 index 0000000..57b542c Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/designerscripts/LS_folioabono.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/designerscripts/LS_historico.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/designerscripts/LS_historico.class new file mode 100644 index 0000000..434a428 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/designerscripts/LS_historico.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/designerscripts/LS_login.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/designerscripts/LS_login.class new file mode 100644 index 0000000..274883b Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/designerscripts/LS_login.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/designerscripts/LS_mainpage.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/designerscripts/LS_mainpage.class new file mode 100644 index 0000000..0679d79 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/designerscripts/LS_mainpage.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/designerscripts/LS_mapa_cliente.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/designerscripts/LS_mapa_cliente.class new file mode 100644 index 0000000..da2c73b Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/designerscripts/LS_mapa_cliente.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/designerscripts/LS_mapa_rutas.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/designerscripts/LS_mapa_rutas.class new file mode 100644 index 0000000..c03d304 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/designerscripts/LS_mapa_rutas.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/designerscripts/LS_no_venta.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/designerscripts/LS_no_venta.class new file mode 100644 index 0000000..99a9621 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/designerscripts/LS_no_venta.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/designerscripts/LS_panel_pick_ciego.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/designerscripts/LS_panel_pick_ciego.class new file mode 100644 index 0000000..27581c1 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/designerscripts/LS_panel_pick_ciego.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/designerscripts/LS_pedido.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/designerscripts/LS_pedido.class new file mode 100644 index 0000000..970be98 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/designerscripts/LS_pedido.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/designerscripts/LS_principal.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/designerscripts/LS_principal.class new file mode 100644 index 0000000..3a75374 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/designerscripts/LS_principal.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/designerscripts/LS_proditem.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/designerscripts/LS_proditem.class new file mode 100644 index 0000000..8dcc8d9 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/designerscripts/LS_proditem.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/designerscripts/LS_proditem2.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/designerscripts/LS_proditem2.class new file mode 100644 index 0000000..a04c3f0 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/designerscripts/LS_proditem2.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/designerscripts/LS_productos.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/designerscripts/LS_productos.class new file mode 100644 index 0000000..5a7ab27 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/designerscripts/LS_productos.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/designerscripts/LS_searchtemplate.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/designerscripts/LS_searchtemplate.class new file mode 100644 index 0000000..1d8a76b Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/designerscripts/LS_searchtemplate.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/designerscripts/LS_tabulador.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/designerscripts/LS_tabulador.class new file mode 100644 index 0000000..a01dada Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/designerscripts/LS_tabulador.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/escposprinter$_animage.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/escposprinter$_animage.class new file mode 100644 index 0000000..9e6c475 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/escposprinter$_animage.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/escposprinter.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/escposprinter.class new file mode 100644 index 0000000..13116a9 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/escposprinter.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/fileprovider.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/fileprovider.class new file mode 100644 index 0000000..ec4295e Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/fileprovider.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/foto$1.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/foto$1.class new file mode 100644 index 0000000..62b5531 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/foto$1.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/foto$B4AMenuItemsClickListener.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/foto$B4AMenuItemsClickListener.class new file mode 100644 index 0000000..33a128b Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/foto$B4AMenuItemsClickListener.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/foto$HandleKeyDelayed.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/foto$HandleKeyDelayed.class new file mode 100644 index 0000000..d810c1b Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/foto$HandleKeyDelayed.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/foto$ResumeMessage.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/foto$ResumeMessage.class new file mode 100644 index 0000000..f5ef68a Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/foto$ResumeMessage.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/foto$WaitForLayout.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/foto$WaitForLayout.class new file mode 100644 index 0000000..7af94e4 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/foto$WaitForLayout.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/foto.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/foto.class new file mode 100644 index 0000000..073c5ef Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/foto.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/httpjob$_multipartfiledata.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/httpjob$_multipartfiledata.class new file mode 100644 index 0000000..3b21e5e Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/httpjob$_multipartfiledata.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/httpjob.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/httpjob.class new file mode 100644 index 0000000..407c83c Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/httpjob.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/httputils2service.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/httputils2service.class new file mode 100644 index 0000000..590a7d3 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/httputils2service.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/madewithlove.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/madewithlove.class new file mode 100644 index 0000000..7b445a0 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/madewithlove.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/main$1.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/main$1.class new file mode 100644 index 0000000..05b72bf Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/main$1.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/main$B4AMenuItemsClickListener.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/main$B4AMenuItemsClickListener.class new file mode 100644 index 0000000..0bc0c45 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/main$B4AMenuItemsClickListener.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/main$HandleKeyDelayed.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/main$HandleKeyDelayed.class new file mode 100644 index 0000000..8b0fb8c Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/main$HandleKeyDelayed.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/main$ResumeMessage.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/main$ResumeMessage.class new file mode 100644 index 0000000..cf7c449 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/main$ResumeMessage.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/main$WaitForLayout.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/main$WaitForLayout.class new file mode 100644 index 0000000..2be9388 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/main$WaitForLayout.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/main.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/main.class new file mode 100644 index 0000000..c946d3d Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/main.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/manageexternalstorage.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/manageexternalstorage.class new file mode 100644 index 0000000..82ab3a4 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/manageexternalstorage.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/mapa_cliente$1.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/mapa_cliente$1.class new file mode 100644 index 0000000..f72bbf8 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/mapa_cliente$1.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/mapa_cliente$B4AMenuItemsClickListener.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/mapa_cliente$B4AMenuItemsClickListener.class new file mode 100644 index 0000000..0ef35bf Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/mapa_cliente$B4AMenuItemsClickListener.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/mapa_cliente$HandleKeyDelayed.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/mapa_cliente$HandleKeyDelayed.class new file mode 100644 index 0000000..a150a7f Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/mapa_cliente$HandleKeyDelayed.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/mapa_cliente$ResumableSub_MapFragment1_Ready.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/mapa_cliente$ResumableSub_MapFragment1_Ready.class new file mode 100644 index 0000000..d925f69 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/mapa_cliente$ResumableSub_MapFragment1_Ready.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/mapa_cliente$ResumeMessage.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/mapa_cliente$ResumeMessage.class new file mode 100644 index 0000000..069e1cb Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/mapa_cliente$ResumeMessage.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/mapa_cliente$WaitForLayout.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/mapa_cliente$WaitForLayout.class new file mode 100644 index 0000000..46d7045 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/mapa_cliente$WaitForLayout.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/mapa_cliente.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/mapa_cliente.class new file mode 100644 index 0000000..5bb3ea5 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/mapa_cliente.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/mapa_rutas$1.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/mapa_rutas$1.class new file mode 100644 index 0000000..aac3b06 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/mapa_rutas$1.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/mapa_rutas$B4AMenuItemsClickListener.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/mapa_rutas$B4AMenuItemsClickListener.class new file mode 100644 index 0000000..fe3fc00 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/mapa_rutas$B4AMenuItemsClickListener.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/mapa_rutas$HandleKeyDelayed.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/mapa_rutas$HandleKeyDelayed.class new file mode 100644 index 0000000..b3550be Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/mapa_rutas$HandleKeyDelayed.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/mapa_rutas$ResumableSub_MapFragment1_Ready.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/mapa_rutas$ResumableSub_MapFragment1_Ready.class new file mode 100644 index 0000000..b9e8ee6 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/mapa_rutas$ResumableSub_MapFragment1_Ready.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/mapa_rutas$ResumeMessage.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/mapa_rutas$ResumeMessage.class new file mode 100644 index 0000000..3f000bc Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/mapa_rutas$ResumeMessage.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/mapa_rutas$WaitForLayout.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/mapa_rutas$WaitForLayout.class new file mode 100644 index 0000000..6da4684 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/mapa_rutas$WaitForLayout.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/mapa_rutas.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/mapa_rutas.class new file mode 100644 index 0000000..8e875c0 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/mapa_rutas.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/newinst2$1.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/newinst2$1.class new file mode 100644 index 0000000..515fec5 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/newinst2$1.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/newinst2$2.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/newinst2$2.class new file mode 100644 index 0000000..07201d8 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/newinst2$2.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/newinst2$newinst2_BR.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/newinst2$newinst2_BR.class new file mode 100644 index 0000000..ef9afc8 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/newinst2$newinst2_BR.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/newinst2.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/newinst2.class new file mode 100644 index 0000000..edb53dc Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/newinst2.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/roundslider.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/roundslider.class new file mode 100644 index 0000000..64133ce Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/roundslider.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/scrollinglabel$ResumableSub_StartScrolling.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/scrollinglabel$ResumableSub_StartScrolling.class new file mode 100644 index 0000000..529dabf Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/scrollinglabel$ResumableSub_StartScrolling.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/scrollinglabel.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/scrollinglabel.class new file mode 100644 index 0000000..abe0dc8 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/scrollinglabel.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/starter$1.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/starter$1.class new file mode 100644 index 0000000..c6b992e Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/starter$1.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/starter$2.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/starter$2.class new file mode 100644 index 0000000..2232213 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/starter$2.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/starter$starter_BR.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/starter$starter_BR.class new file mode 100644 index 0000000..c2c939d Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/starter$starter_BR.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/starter.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/starter.class new file mode 100644 index 0000000..c6ec78e Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/starter.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/subs.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/subs.class new file mode 100644 index 0000000..315a819 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/subs.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/swiftbutton.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/swiftbutton.class new file mode 100644 index 0000000..5b02da8 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/swiftbutton.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/tracker$1.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/tracker$1.class new file mode 100644 index 0000000..a8cdf6b Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/tracker$1.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/tracker$2.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/tracker$2.class new file mode 100644 index 0000000..b85e362 Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/tracker$2.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/tracker$ResumableSub_StartFLP.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/tracker$ResumableSub_StartFLP.class new file mode 100644 index 0000000..58084db Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/tracker$ResumableSub_StartFLP.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/tracker$ResumableSub_StartFLP2Reqs.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/tracker$ResumableSub_StartFLP2Reqs.class new file mode 100644 index 0000000..63dd0bf Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/tracker$ResumableSub_StartFLP2Reqs.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/tracker$tracker_BR.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/tracker$tracker_BR.class new file mode 100644 index 0000000..364774f Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/tracker$tracker_BR.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/tracker.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/tracker.class new file mode 100644 index 0000000..11f110b Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/tracker.class differ diff --git a/B4A/Objects/bin/classes/reparto_izca/keymon/lat/xuiviewsutils.class b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/xuiviewsutils.class new file mode 100644 index 0000000..1b7816a Binary files /dev/null and b/B4A/Objects/bin/classes/reparto_izca/keymon/lat/xuiviewsutils.class differ diff --git a/B4A/Objects/bin/extra/compiled_resources/androidx.coordinatorlayout.zip b/B4A/Objects/bin/extra/compiled_resources/androidx.coordinatorlayout.zip new file mode 100644 index 0000000..8684ac7 Binary files /dev/null and b/B4A/Objects/bin/extra/compiled_resources/androidx.coordinatorlayout.zip differ diff --git a/B4A/Objects/bin/extra/compiled_resources/androidx.core.zip b/B4A/Objects/bin/extra/compiled_resources/androidx.core.zip new file mode 100644 index 0000000..8f3ac37 Binary files /dev/null and b/B4A/Objects/bin/extra/compiled_resources/androidx.core.zip differ diff --git a/B4A/Objects/bin/extra/compiled_resources/androidx.drawerlayout.zip b/B4A/Objects/bin/extra/compiled_resources/androidx.drawerlayout.zip new file mode 100644 index 0000000..15254a8 Binary files /dev/null and b/B4A/Objects/bin/extra/compiled_resources/androidx.drawerlayout.zip differ diff --git a/B4A/Objects/bin/extra/compiled_resources/androidx.fragment.zip b/B4A/Objects/bin/extra/compiled_resources/androidx.fragment.zip new file mode 100644 index 0000000..8855779 Binary files /dev/null and b/B4A/Objects/bin/extra/compiled_resources/androidx.fragment.zip differ diff --git a/B4A/Objects/bin/extra/compiled_resources/androidx.media.zip b/B4A/Objects/bin/extra/compiled_resources/androidx.media.zip new file mode 100644 index 0000000..50a460b Binary files /dev/null and b/B4A/Objects/bin/extra/compiled_resources/androidx.media.zip differ diff --git a/B4A/Objects/bin/extra/compiled_resources/androidx.swiperefreshlayout.zip b/B4A/Objects/bin/extra/compiled_resources/androidx.swiperefreshlayout.zip new file mode 100644 index 0000000..90f9c9a Binary files /dev/null and b/B4A/Objects/bin/extra/compiled_resources/androidx.swiperefreshlayout.zip differ diff --git a/B4A/Objects/bin/extra/compiled_resources/com.google.android.gms.base.zip b/B4A/Objects/bin/extra/compiled_resources/com.google.android.gms.base.zip new file mode 100644 index 0000000..c59bf9a Binary files /dev/null and b/B4A/Objects/bin/extra/compiled_resources/com.google.android.gms.base.zip differ diff --git a/B4A/Objects/bin/extra/compiled_resources/com.google.android.gms.common.zip b/B4A/Objects/bin/extra/compiled_resources/com.google.android.gms.common.zip new file mode 100644 index 0000000..0b8e032 Binary files /dev/null and b/B4A/Objects/bin/extra/compiled_resources/com.google.android.gms.common.zip differ diff --git a/B4A/Objects/bin/extra/compiled_resources/com.google.android.gms.maps.zip b/B4A/Objects/bin/extra/compiled_resources/com.google.android.gms.maps.zip new file mode 100644 index 0000000..786dc9f Binary files /dev/null and b/B4A/Objects/bin/extra/compiled_resources/com.google.android.gms.maps.zip differ diff --git a/B4A/Objects/bin/extra/compiled_resources/reparto_izca.keymon.lat.zip b/B4A/Objects/bin/extra/compiled_resources/reparto_izca.keymon.lat.zip new file mode 100644 index 0000000..a77732b Binary files /dev/null and b/B4A/Objects/bin/extra/compiled_resources/reparto_izca.keymon.lat.zip differ diff --git a/B4A/Objects/dexed/androidx/coordinatorlayout/R$anim.dex b/B4A/Objects/dexed/androidx/coordinatorlayout/R$anim.dex new file mode 100644 index 0000000..3eafe5f Binary files /dev/null and b/B4A/Objects/dexed/androidx/coordinatorlayout/R$anim.dex differ diff --git a/B4A/Objects/dexed/androidx/coordinatorlayout/R$attr.dex b/B4A/Objects/dexed/androidx/coordinatorlayout/R$attr.dex new file mode 100644 index 0000000..8bf698e Binary files /dev/null and b/B4A/Objects/dexed/androidx/coordinatorlayout/R$attr.dex differ diff --git a/B4A/Objects/dexed/androidx/coordinatorlayout/R$color.dex b/B4A/Objects/dexed/androidx/coordinatorlayout/R$color.dex new file mode 100644 index 0000000..16e62dc Binary files /dev/null and b/B4A/Objects/dexed/androidx/coordinatorlayout/R$color.dex differ diff --git a/B4A/Objects/dexed/androidx/coordinatorlayout/R$dimen.dex b/B4A/Objects/dexed/androidx/coordinatorlayout/R$dimen.dex new file mode 100644 index 0000000..f8dece6 Binary files /dev/null and b/B4A/Objects/dexed/androidx/coordinatorlayout/R$dimen.dex differ diff --git a/B4A/Objects/dexed/androidx/coordinatorlayout/R$drawable.dex b/B4A/Objects/dexed/androidx/coordinatorlayout/R$drawable.dex new file mode 100644 index 0000000..8fc108e Binary files /dev/null and b/B4A/Objects/dexed/androidx/coordinatorlayout/R$drawable.dex differ diff --git a/B4A/Objects/dexed/androidx/coordinatorlayout/R$id.dex b/B4A/Objects/dexed/androidx/coordinatorlayout/R$id.dex new file mode 100644 index 0000000..2a307b1 Binary files /dev/null and b/B4A/Objects/dexed/androidx/coordinatorlayout/R$id.dex differ diff --git a/B4A/Objects/dexed/androidx/coordinatorlayout/R$integer.dex b/B4A/Objects/dexed/androidx/coordinatorlayout/R$integer.dex new file mode 100644 index 0000000..10f940a Binary files /dev/null and b/B4A/Objects/dexed/androidx/coordinatorlayout/R$integer.dex differ diff --git a/B4A/Objects/dexed/androidx/coordinatorlayout/R$layout.dex b/B4A/Objects/dexed/androidx/coordinatorlayout/R$layout.dex new file mode 100644 index 0000000..2dad789 Binary files /dev/null and b/B4A/Objects/dexed/androidx/coordinatorlayout/R$layout.dex differ diff --git a/B4A/Objects/dexed/androidx/coordinatorlayout/R$string.dex b/B4A/Objects/dexed/androidx/coordinatorlayout/R$string.dex new file mode 100644 index 0000000..8ee8297 Binary files /dev/null and b/B4A/Objects/dexed/androidx/coordinatorlayout/R$string.dex differ diff --git a/B4A/Objects/dexed/androidx/coordinatorlayout/R$style.dex b/B4A/Objects/dexed/androidx/coordinatorlayout/R$style.dex new file mode 100644 index 0000000..a29ab30 Binary files /dev/null and b/B4A/Objects/dexed/androidx/coordinatorlayout/R$style.dex differ diff --git a/B4A/Objects/dexed/androidx/coordinatorlayout/R$styleable.dex b/B4A/Objects/dexed/androidx/coordinatorlayout/R$styleable.dex new file mode 100644 index 0000000..b072eec Binary files /dev/null and b/B4A/Objects/dexed/androidx/coordinatorlayout/R$styleable.dex differ diff --git a/B4A/Objects/dexed/androidx/coordinatorlayout/R$xml.dex b/B4A/Objects/dexed/androidx/coordinatorlayout/R$xml.dex new file mode 100644 index 0000000..8108640 Binary files /dev/null and b/B4A/Objects/dexed/androidx/coordinatorlayout/R$xml.dex differ diff --git a/B4A/Objects/dexed/androidx/coordinatorlayout/R.dex b/B4A/Objects/dexed/androidx/coordinatorlayout/R.dex new file mode 100644 index 0000000..e4ebb1f Binary files /dev/null and b/B4A/Objects/dexed/androidx/coordinatorlayout/R.dex differ diff --git a/B4A/Objects/dexed/androidx/core/R$anim.dex b/B4A/Objects/dexed/androidx/core/R$anim.dex new file mode 100644 index 0000000..bce8460 Binary files /dev/null and b/B4A/Objects/dexed/androidx/core/R$anim.dex differ diff --git a/B4A/Objects/dexed/androidx/core/R$attr.dex b/B4A/Objects/dexed/androidx/core/R$attr.dex new file mode 100644 index 0000000..d1d8b09 Binary files /dev/null and b/B4A/Objects/dexed/androidx/core/R$attr.dex differ diff --git a/B4A/Objects/dexed/androidx/core/R$color.dex b/B4A/Objects/dexed/androidx/core/R$color.dex new file mode 100644 index 0000000..49e3db4 Binary files /dev/null and b/B4A/Objects/dexed/androidx/core/R$color.dex differ diff --git a/B4A/Objects/dexed/androidx/core/R$dimen.dex b/B4A/Objects/dexed/androidx/core/R$dimen.dex new file mode 100644 index 0000000..f05a33b Binary files /dev/null and b/B4A/Objects/dexed/androidx/core/R$dimen.dex differ diff --git a/B4A/Objects/dexed/androidx/core/R$drawable.dex b/B4A/Objects/dexed/androidx/core/R$drawable.dex new file mode 100644 index 0000000..79fdf2a Binary files /dev/null and b/B4A/Objects/dexed/androidx/core/R$drawable.dex differ diff --git a/B4A/Objects/dexed/androidx/core/R$id.dex b/B4A/Objects/dexed/androidx/core/R$id.dex new file mode 100644 index 0000000..d0e03f8 Binary files /dev/null and b/B4A/Objects/dexed/androidx/core/R$id.dex differ diff --git a/B4A/Objects/dexed/androidx/core/R$integer.dex b/B4A/Objects/dexed/androidx/core/R$integer.dex new file mode 100644 index 0000000..bed61a9 Binary files /dev/null and b/B4A/Objects/dexed/androidx/core/R$integer.dex differ diff --git a/B4A/Objects/dexed/androidx/core/R$layout.dex b/B4A/Objects/dexed/androidx/core/R$layout.dex new file mode 100644 index 0000000..4d863a8 Binary files /dev/null and b/B4A/Objects/dexed/androidx/core/R$layout.dex differ diff --git a/B4A/Objects/dexed/androidx/core/R$string.dex b/B4A/Objects/dexed/androidx/core/R$string.dex new file mode 100644 index 0000000..22930b7 Binary files /dev/null and b/B4A/Objects/dexed/androidx/core/R$string.dex differ diff --git a/B4A/Objects/dexed/androidx/core/R$style.dex b/B4A/Objects/dexed/androidx/core/R$style.dex new file mode 100644 index 0000000..011157c Binary files /dev/null and b/B4A/Objects/dexed/androidx/core/R$style.dex differ diff --git a/B4A/Objects/dexed/androidx/core/R$styleable.dex b/B4A/Objects/dexed/androidx/core/R$styleable.dex new file mode 100644 index 0000000..a888177 Binary files /dev/null and b/B4A/Objects/dexed/androidx/core/R$styleable.dex differ diff --git a/B4A/Objects/dexed/androidx/core/R$xml.dex b/B4A/Objects/dexed/androidx/core/R$xml.dex new file mode 100644 index 0000000..89770dc Binary files /dev/null and b/B4A/Objects/dexed/androidx/core/R$xml.dex differ diff --git a/B4A/Objects/dexed/androidx/core/R.dex b/B4A/Objects/dexed/androidx/core/R.dex new file mode 100644 index 0000000..0d07502 Binary files /dev/null and b/B4A/Objects/dexed/androidx/core/R.dex differ diff --git a/B4A/Objects/dexed/androidx/drawerlayout/R$anim.dex b/B4A/Objects/dexed/androidx/drawerlayout/R$anim.dex new file mode 100644 index 0000000..34a7981 Binary files /dev/null and b/B4A/Objects/dexed/androidx/drawerlayout/R$anim.dex differ diff --git a/B4A/Objects/dexed/androidx/drawerlayout/R$attr.dex b/B4A/Objects/dexed/androidx/drawerlayout/R$attr.dex new file mode 100644 index 0000000..da97973 Binary files /dev/null and b/B4A/Objects/dexed/androidx/drawerlayout/R$attr.dex differ diff --git a/B4A/Objects/dexed/androidx/drawerlayout/R$color.dex b/B4A/Objects/dexed/androidx/drawerlayout/R$color.dex new file mode 100644 index 0000000..5d23199 Binary files /dev/null and b/B4A/Objects/dexed/androidx/drawerlayout/R$color.dex differ diff --git a/B4A/Objects/dexed/androidx/drawerlayout/R$dimen.dex b/B4A/Objects/dexed/androidx/drawerlayout/R$dimen.dex new file mode 100644 index 0000000..b1eb928 Binary files /dev/null and b/B4A/Objects/dexed/androidx/drawerlayout/R$dimen.dex differ diff --git a/B4A/Objects/dexed/androidx/drawerlayout/R$drawable.dex b/B4A/Objects/dexed/androidx/drawerlayout/R$drawable.dex new file mode 100644 index 0000000..07cd4b4 Binary files /dev/null and b/B4A/Objects/dexed/androidx/drawerlayout/R$drawable.dex differ diff --git a/B4A/Objects/dexed/androidx/drawerlayout/R$id.dex b/B4A/Objects/dexed/androidx/drawerlayout/R$id.dex new file mode 100644 index 0000000..a506f3c Binary files /dev/null and b/B4A/Objects/dexed/androidx/drawerlayout/R$id.dex differ diff --git a/B4A/Objects/dexed/androidx/drawerlayout/R$integer.dex b/B4A/Objects/dexed/androidx/drawerlayout/R$integer.dex new file mode 100644 index 0000000..7f2e89f Binary files /dev/null and b/B4A/Objects/dexed/androidx/drawerlayout/R$integer.dex differ diff --git a/B4A/Objects/dexed/androidx/drawerlayout/R$layout.dex b/B4A/Objects/dexed/androidx/drawerlayout/R$layout.dex new file mode 100644 index 0000000..79cfd29 Binary files /dev/null and b/B4A/Objects/dexed/androidx/drawerlayout/R$layout.dex differ diff --git a/B4A/Objects/dexed/androidx/drawerlayout/R$string.dex b/B4A/Objects/dexed/androidx/drawerlayout/R$string.dex new file mode 100644 index 0000000..33640fd Binary files /dev/null and b/B4A/Objects/dexed/androidx/drawerlayout/R$string.dex differ diff --git a/B4A/Objects/dexed/androidx/drawerlayout/R$style.dex b/B4A/Objects/dexed/androidx/drawerlayout/R$style.dex new file mode 100644 index 0000000..fca19da Binary files /dev/null and b/B4A/Objects/dexed/androidx/drawerlayout/R$style.dex differ diff --git a/B4A/Objects/dexed/androidx/drawerlayout/R$styleable.dex b/B4A/Objects/dexed/androidx/drawerlayout/R$styleable.dex new file mode 100644 index 0000000..18d3687 Binary files /dev/null and b/B4A/Objects/dexed/androidx/drawerlayout/R$styleable.dex differ diff --git a/B4A/Objects/dexed/androidx/drawerlayout/R$xml.dex b/B4A/Objects/dexed/androidx/drawerlayout/R$xml.dex new file mode 100644 index 0000000..10d0dac Binary files /dev/null and b/B4A/Objects/dexed/androidx/drawerlayout/R$xml.dex differ diff --git a/B4A/Objects/dexed/androidx/drawerlayout/R.dex b/B4A/Objects/dexed/androidx/drawerlayout/R.dex new file mode 100644 index 0000000..63858f7 Binary files /dev/null and b/B4A/Objects/dexed/androidx/drawerlayout/R.dex differ diff --git a/B4A/Objects/dexed/androidx/fragment/R$anim.dex b/B4A/Objects/dexed/androidx/fragment/R$anim.dex new file mode 100644 index 0000000..7aec957 Binary files /dev/null and b/B4A/Objects/dexed/androidx/fragment/R$anim.dex differ diff --git a/B4A/Objects/dexed/androidx/fragment/R$attr.dex b/B4A/Objects/dexed/androidx/fragment/R$attr.dex new file mode 100644 index 0000000..bd69d63 Binary files /dev/null and b/B4A/Objects/dexed/androidx/fragment/R$attr.dex differ diff --git a/B4A/Objects/dexed/androidx/fragment/R$color.dex b/B4A/Objects/dexed/androidx/fragment/R$color.dex new file mode 100644 index 0000000..f1121e0 Binary files /dev/null and b/B4A/Objects/dexed/androidx/fragment/R$color.dex differ diff --git a/B4A/Objects/dexed/androidx/fragment/R$dimen.dex b/B4A/Objects/dexed/androidx/fragment/R$dimen.dex new file mode 100644 index 0000000..4b64714 Binary files /dev/null and b/B4A/Objects/dexed/androidx/fragment/R$dimen.dex differ diff --git a/B4A/Objects/dexed/androidx/fragment/R$drawable.dex b/B4A/Objects/dexed/androidx/fragment/R$drawable.dex new file mode 100644 index 0000000..ad88d46 Binary files /dev/null and b/B4A/Objects/dexed/androidx/fragment/R$drawable.dex differ diff --git a/B4A/Objects/dexed/androidx/fragment/R$id.dex b/B4A/Objects/dexed/androidx/fragment/R$id.dex new file mode 100644 index 0000000..ef64677 Binary files /dev/null and b/B4A/Objects/dexed/androidx/fragment/R$id.dex differ diff --git a/B4A/Objects/dexed/androidx/fragment/R$integer.dex b/B4A/Objects/dexed/androidx/fragment/R$integer.dex new file mode 100644 index 0000000..1d4f578 Binary files /dev/null and b/B4A/Objects/dexed/androidx/fragment/R$integer.dex differ diff --git a/B4A/Objects/dexed/androidx/fragment/R$layout.dex b/B4A/Objects/dexed/androidx/fragment/R$layout.dex new file mode 100644 index 0000000..ba66459 Binary files /dev/null and b/B4A/Objects/dexed/androidx/fragment/R$layout.dex differ diff --git a/B4A/Objects/dexed/androidx/fragment/R$string.dex b/B4A/Objects/dexed/androidx/fragment/R$string.dex new file mode 100644 index 0000000..b597614 Binary files /dev/null and b/B4A/Objects/dexed/androidx/fragment/R$string.dex differ diff --git a/B4A/Objects/dexed/androidx/fragment/R$style.dex b/B4A/Objects/dexed/androidx/fragment/R$style.dex new file mode 100644 index 0000000..c1e5470 Binary files /dev/null and b/B4A/Objects/dexed/androidx/fragment/R$style.dex differ diff --git a/B4A/Objects/dexed/androidx/fragment/R$styleable.dex b/B4A/Objects/dexed/androidx/fragment/R$styleable.dex new file mode 100644 index 0000000..4342f5e Binary files /dev/null and b/B4A/Objects/dexed/androidx/fragment/R$styleable.dex differ diff --git a/B4A/Objects/dexed/androidx/fragment/R$xml.dex b/B4A/Objects/dexed/androidx/fragment/R$xml.dex new file mode 100644 index 0000000..38573fd Binary files /dev/null and b/B4A/Objects/dexed/androidx/fragment/R$xml.dex differ diff --git a/B4A/Objects/dexed/androidx/fragment/R.dex b/B4A/Objects/dexed/androidx/fragment/R.dex new file mode 100644 index 0000000..284c1ba Binary files /dev/null and b/B4A/Objects/dexed/androidx/fragment/R.dex differ diff --git a/B4A/Objects/dexed/androidx/media/R$anim.dex b/B4A/Objects/dexed/androidx/media/R$anim.dex new file mode 100644 index 0000000..0b5c47c Binary files /dev/null and b/B4A/Objects/dexed/androidx/media/R$anim.dex differ diff --git a/B4A/Objects/dexed/androidx/media/R$attr.dex b/B4A/Objects/dexed/androidx/media/R$attr.dex new file mode 100644 index 0000000..3b58ce2 Binary files /dev/null and b/B4A/Objects/dexed/androidx/media/R$attr.dex differ diff --git a/B4A/Objects/dexed/androidx/media/R$color.dex b/B4A/Objects/dexed/androidx/media/R$color.dex new file mode 100644 index 0000000..ffca15e Binary files /dev/null and b/B4A/Objects/dexed/androidx/media/R$color.dex differ diff --git a/B4A/Objects/dexed/androidx/media/R$dimen.dex b/B4A/Objects/dexed/androidx/media/R$dimen.dex new file mode 100644 index 0000000..7c05662 Binary files /dev/null and b/B4A/Objects/dexed/androidx/media/R$dimen.dex differ diff --git a/B4A/Objects/dexed/androidx/media/R$drawable.dex b/B4A/Objects/dexed/androidx/media/R$drawable.dex new file mode 100644 index 0000000..3c91ad8 Binary files /dev/null and b/B4A/Objects/dexed/androidx/media/R$drawable.dex differ diff --git a/B4A/Objects/dexed/androidx/media/R$id.dex b/B4A/Objects/dexed/androidx/media/R$id.dex new file mode 100644 index 0000000..877a3df Binary files /dev/null and b/B4A/Objects/dexed/androidx/media/R$id.dex differ diff --git a/B4A/Objects/dexed/androidx/media/R$integer.dex b/B4A/Objects/dexed/androidx/media/R$integer.dex new file mode 100644 index 0000000..ad30c38 Binary files /dev/null and b/B4A/Objects/dexed/androidx/media/R$integer.dex differ diff --git a/B4A/Objects/dexed/androidx/media/R$layout.dex b/B4A/Objects/dexed/androidx/media/R$layout.dex new file mode 100644 index 0000000..7378567 Binary files /dev/null and b/B4A/Objects/dexed/androidx/media/R$layout.dex differ diff --git a/B4A/Objects/dexed/androidx/media/R$string.dex b/B4A/Objects/dexed/androidx/media/R$string.dex new file mode 100644 index 0000000..0758ed9 Binary files /dev/null and b/B4A/Objects/dexed/androidx/media/R$string.dex differ diff --git a/B4A/Objects/dexed/androidx/media/R$style.dex b/B4A/Objects/dexed/androidx/media/R$style.dex new file mode 100644 index 0000000..c9a870b Binary files /dev/null and b/B4A/Objects/dexed/androidx/media/R$style.dex differ diff --git a/B4A/Objects/dexed/androidx/media/R$styleable.dex b/B4A/Objects/dexed/androidx/media/R$styleable.dex new file mode 100644 index 0000000..aee62f0 Binary files /dev/null and b/B4A/Objects/dexed/androidx/media/R$styleable.dex differ diff --git a/B4A/Objects/dexed/androidx/media/R$xml.dex b/B4A/Objects/dexed/androidx/media/R$xml.dex new file mode 100644 index 0000000..de42281 Binary files /dev/null and b/B4A/Objects/dexed/androidx/media/R$xml.dex differ diff --git a/B4A/Objects/dexed/androidx/media/R.dex b/B4A/Objects/dexed/androidx/media/R.dex new file mode 100644 index 0000000..bbaa56b Binary files /dev/null and b/B4A/Objects/dexed/androidx/media/R.dex differ diff --git a/B4A/Objects/dexed/androidx/swiperefreshlayout/R$anim.dex b/B4A/Objects/dexed/androidx/swiperefreshlayout/R$anim.dex new file mode 100644 index 0000000..ff8a913 Binary files /dev/null and b/B4A/Objects/dexed/androidx/swiperefreshlayout/R$anim.dex differ diff --git a/B4A/Objects/dexed/androidx/swiperefreshlayout/R$attr.dex b/B4A/Objects/dexed/androidx/swiperefreshlayout/R$attr.dex new file mode 100644 index 0000000..e6a29b3 Binary files /dev/null and b/B4A/Objects/dexed/androidx/swiperefreshlayout/R$attr.dex differ diff --git a/B4A/Objects/dexed/androidx/swiperefreshlayout/R$color.dex b/B4A/Objects/dexed/androidx/swiperefreshlayout/R$color.dex new file mode 100644 index 0000000..6199b2a Binary files /dev/null and b/B4A/Objects/dexed/androidx/swiperefreshlayout/R$color.dex differ diff --git a/B4A/Objects/dexed/androidx/swiperefreshlayout/R$dimen.dex b/B4A/Objects/dexed/androidx/swiperefreshlayout/R$dimen.dex new file mode 100644 index 0000000..9cd36e1 Binary files /dev/null and b/B4A/Objects/dexed/androidx/swiperefreshlayout/R$dimen.dex differ diff --git a/B4A/Objects/dexed/androidx/swiperefreshlayout/R$drawable.dex b/B4A/Objects/dexed/androidx/swiperefreshlayout/R$drawable.dex new file mode 100644 index 0000000..385c0bc Binary files /dev/null and b/B4A/Objects/dexed/androidx/swiperefreshlayout/R$drawable.dex differ diff --git a/B4A/Objects/dexed/androidx/swiperefreshlayout/R$id.dex b/B4A/Objects/dexed/androidx/swiperefreshlayout/R$id.dex new file mode 100644 index 0000000..cde85e0 Binary files /dev/null and b/B4A/Objects/dexed/androidx/swiperefreshlayout/R$id.dex differ diff --git a/B4A/Objects/dexed/androidx/swiperefreshlayout/R$integer.dex b/B4A/Objects/dexed/androidx/swiperefreshlayout/R$integer.dex new file mode 100644 index 0000000..1117409 Binary files /dev/null and b/B4A/Objects/dexed/androidx/swiperefreshlayout/R$integer.dex differ diff --git a/B4A/Objects/dexed/androidx/swiperefreshlayout/R$layout.dex b/B4A/Objects/dexed/androidx/swiperefreshlayout/R$layout.dex new file mode 100644 index 0000000..ff9b529 Binary files /dev/null and b/B4A/Objects/dexed/androidx/swiperefreshlayout/R$layout.dex differ diff --git a/B4A/Objects/dexed/androidx/swiperefreshlayout/R$string.dex b/B4A/Objects/dexed/androidx/swiperefreshlayout/R$string.dex new file mode 100644 index 0000000..e72dce5 Binary files /dev/null and b/B4A/Objects/dexed/androidx/swiperefreshlayout/R$string.dex differ diff --git a/B4A/Objects/dexed/androidx/swiperefreshlayout/R$style.dex b/B4A/Objects/dexed/androidx/swiperefreshlayout/R$style.dex new file mode 100644 index 0000000..872d515 Binary files /dev/null and b/B4A/Objects/dexed/androidx/swiperefreshlayout/R$style.dex differ diff --git a/B4A/Objects/dexed/androidx/swiperefreshlayout/R$styleable.dex b/B4A/Objects/dexed/androidx/swiperefreshlayout/R$styleable.dex new file mode 100644 index 0000000..26a9c31 Binary files /dev/null and b/B4A/Objects/dexed/androidx/swiperefreshlayout/R$styleable.dex differ diff --git a/B4A/Objects/dexed/androidx/swiperefreshlayout/R$xml.dex b/B4A/Objects/dexed/androidx/swiperefreshlayout/R$xml.dex new file mode 100644 index 0000000..f586a54 Binary files /dev/null and b/B4A/Objects/dexed/androidx/swiperefreshlayout/R$xml.dex differ diff --git a/B4A/Objects/dexed/androidx/swiperefreshlayout/R.dex b/B4A/Objects/dexed/androidx/swiperefreshlayout/R.dex new file mode 100644 index 0000000..c8210b8 Binary files /dev/null and b/B4A/Objects/dexed/androidx/swiperefreshlayout/R.dex differ diff --git a/B4A/Objects/dexed/com/google/android/gms/base/R$anim.dex b/B4A/Objects/dexed/com/google/android/gms/base/R$anim.dex new file mode 100644 index 0000000..f8899ea Binary files /dev/null and b/B4A/Objects/dexed/com/google/android/gms/base/R$anim.dex differ diff --git a/B4A/Objects/dexed/com/google/android/gms/base/R$attr.dex b/B4A/Objects/dexed/com/google/android/gms/base/R$attr.dex new file mode 100644 index 0000000..c672c38 Binary files /dev/null and b/B4A/Objects/dexed/com/google/android/gms/base/R$attr.dex differ diff --git a/B4A/Objects/dexed/com/google/android/gms/base/R$color.dex b/B4A/Objects/dexed/com/google/android/gms/base/R$color.dex new file mode 100644 index 0000000..f2fab05 Binary files /dev/null and b/B4A/Objects/dexed/com/google/android/gms/base/R$color.dex differ diff --git a/B4A/Objects/dexed/com/google/android/gms/base/R$dimen.dex b/B4A/Objects/dexed/com/google/android/gms/base/R$dimen.dex new file mode 100644 index 0000000..ec311d2 Binary files /dev/null and b/B4A/Objects/dexed/com/google/android/gms/base/R$dimen.dex differ diff --git a/B4A/Objects/dexed/com/google/android/gms/base/R$drawable.dex b/B4A/Objects/dexed/com/google/android/gms/base/R$drawable.dex new file mode 100644 index 0000000..d2726b7 Binary files /dev/null and b/B4A/Objects/dexed/com/google/android/gms/base/R$drawable.dex differ diff --git a/B4A/Objects/dexed/com/google/android/gms/base/R$id.dex b/B4A/Objects/dexed/com/google/android/gms/base/R$id.dex new file mode 100644 index 0000000..5e9493f Binary files /dev/null and b/B4A/Objects/dexed/com/google/android/gms/base/R$id.dex differ diff --git a/B4A/Objects/dexed/com/google/android/gms/base/R$integer.dex b/B4A/Objects/dexed/com/google/android/gms/base/R$integer.dex new file mode 100644 index 0000000..fdb4f10 Binary files /dev/null and b/B4A/Objects/dexed/com/google/android/gms/base/R$integer.dex differ diff --git a/B4A/Objects/dexed/com/google/android/gms/base/R$layout.dex b/B4A/Objects/dexed/com/google/android/gms/base/R$layout.dex new file mode 100644 index 0000000..85a4796 Binary files /dev/null and b/B4A/Objects/dexed/com/google/android/gms/base/R$layout.dex differ diff --git a/B4A/Objects/dexed/com/google/android/gms/base/R$string.dex b/B4A/Objects/dexed/com/google/android/gms/base/R$string.dex new file mode 100644 index 0000000..4adb9ed Binary files /dev/null and b/B4A/Objects/dexed/com/google/android/gms/base/R$string.dex differ diff --git a/B4A/Objects/dexed/com/google/android/gms/base/R$style.dex b/B4A/Objects/dexed/com/google/android/gms/base/R$style.dex new file mode 100644 index 0000000..6c00c66 Binary files /dev/null and b/B4A/Objects/dexed/com/google/android/gms/base/R$style.dex differ diff --git a/B4A/Objects/dexed/com/google/android/gms/base/R$styleable.dex b/B4A/Objects/dexed/com/google/android/gms/base/R$styleable.dex new file mode 100644 index 0000000..a0e903a Binary files /dev/null and b/B4A/Objects/dexed/com/google/android/gms/base/R$styleable.dex differ diff --git a/B4A/Objects/dexed/com/google/android/gms/base/R$xml.dex b/B4A/Objects/dexed/com/google/android/gms/base/R$xml.dex new file mode 100644 index 0000000..8be5964 Binary files /dev/null and b/B4A/Objects/dexed/com/google/android/gms/base/R$xml.dex differ diff --git a/B4A/Objects/dexed/com/google/android/gms/base/R.dex b/B4A/Objects/dexed/com/google/android/gms/base/R.dex new file mode 100644 index 0000000..f068a6f Binary files /dev/null and b/B4A/Objects/dexed/com/google/android/gms/base/R.dex differ diff --git a/B4A/Objects/dexed/com/google/android/gms/common/R$anim.dex b/B4A/Objects/dexed/com/google/android/gms/common/R$anim.dex new file mode 100644 index 0000000..9a4615e Binary files /dev/null and b/B4A/Objects/dexed/com/google/android/gms/common/R$anim.dex differ diff --git a/B4A/Objects/dexed/com/google/android/gms/common/R$attr.dex b/B4A/Objects/dexed/com/google/android/gms/common/R$attr.dex new file mode 100644 index 0000000..c4df524 Binary files /dev/null and b/B4A/Objects/dexed/com/google/android/gms/common/R$attr.dex differ diff --git a/B4A/Objects/dexed/com/google/android/gms/common/R$color.dex b/B4A/Objects/dexed/com/google/android/gms/common/R$color.dex new file mode 100644 index 0000000..78590ef Binary files /dev/null and b/B4A/Objects/dexed/com/google/android/gms/common/R$color.dex differ diff --git a/B4A/Objects/dexed/com/google/android/gms/common/R$dimen.dex b/B4A/Objects/dexed/com/google/android/gms/common/R$dimen.dex new file mode 100644 index 0000000..9c86415 Binary files /dev/null and b/B4A/Objects/dexed/com/google/android/gms/common/R$dimen.dex differ diff --git a/B4A/Objects/dexed/com/google/android/gms/common/R$drawable.dex b/B4A/Objects/dexed/com/google/android/gms/common/R$drawable.dex new file mode 100644 index 0000000..b3853b4 Binary files /dev/null and b/B4A/Objects/dexed/com/google/android/gms/common/R$drawable.dex differ diff --git a/B4A/Objects/dexed/com/google/android/gms/common/R$id.dex b/B4A/Objects/dexed/com/google/android/gms/common/R$id.dex new file mode 100644 index 0000000..bf0fe18 Binary files /dev/null and b/B4A/Objects/dexed/com/google/android/gms/common/R$id.dex differ diff --git a/B4A/Objects/dexed/com/google/android/gms/common/R$integer.dex b/B4A/Objects/dexed/com/google/android/gms/common/R$integer.dex new file mode 100644 index 0000000..1791026 Binary files /dev/null and b/B4A/Objects/dexed/com/google/android/gms/common/R$integer.dex differ diff --git a/B4A/Objects/dexed/com/google/android/gms/common/R$layout.dex b/B4A/Objects/dexed/com/google/android/gms/common/R$layout.dex new file mode 100644 index 0000000..a7c239b Binary files /dev/null and b/B4A/Objects/dexed/com/google/android/gms/common/R$layout.dex differ diff --git a/B4A/Objects/dexed/com/google/android/gms/common/R$string.dex b/B4A/Objects/dexed/com/google/android/gms/common/R$string.dex new file mode 100644 index 0000000..9e9adc9 Binary files /dev/null and b/B4A/Objects/dexed/com/google/android/gms/common/R$string.dex differ diff --git a/B4A/Objects/dexed/com/google/android/gms/common/R$style.dex b/B4A/Objects/dexed/com/google/android/gms/common/R$style.dex new file mode 100644 index 0000000..eb9b5e6 Binary files /dev/null and b/B4A/Objects/dexed/com/google/android/gms/common/R$style.dex differ diff --git a/B4A/Objects/dexed/com/google/android/gms/common/R$styleable.dex b/B4A/Objects/dexed/com/google/android/gms/common/R$styleable.dex new file mode 100644 index 0000000..81143af Binary files /dev/null and b/B4A/Objects/dexed/com/google/android/gms/common/R$styleable.dex differ diff --git a/B4A/Objects/dexed/com/google/android/gms/common/R$xml.dex b/B4A/Objects/dexed/com/google/android/gms/common/R$xml.dex new file mode 100644 index 0000000..63625ff Binary files /dev/null and b/B4A/Objects/dexed/com/google/android/gms/common/R$xml.dex differ diff --git a/B4A/Objects/dexed/com/google/android/gms/common/R.dex b/B4A/Objects/dexed/com/google/android/gms/common/R.dex new file mode 100644 index 0000000..4ad8296 Binary files /dev/null and b/B4A/Objects/dexed/com/google/android/gms/common/R.dex differ diff --git a/B4A/Objects/dexed/com/google/android/gms/maps/R$anim.dex b/B4A/Objects/dexed/com/google/android/gms/maps/R$anim.dex new file mode 100644 index 0000000..8a78eb9 Binary files /dev/null and b/B4A/Objects/dexed/com/google/android/gms/maps/R$anim.dex differ diff --git a/B4A/Objects/dexed/com/google/android/gms/maps/R$attr.dex b/B4A/Objects/dexed/com/google/android/gms/maps/R$attr.dex new file mode 100644 index 0000000..716829d Binary files /dev/null and b/B4A/Objects/dexed/com/google/android/gms/maps/R$attr.dex differ diff --git a/B4A/Objects/dexed/com/google/android/gms/maps/R$color.dex b/B4A/Objects/dexed/com/google/android/gms/maps/R$color.dex new file mode 100644 index 0000000..ed8a387 Binary files /dev/null and b/B4A/Objects/dexed/com/google/android/gms/maps/R$color.dex differ diff --git a/B4A/Objects/dexed/com/google/android/gms/maps/R$dimen.dex b/B4A/Objects/dexed/com/google/android/gms/maps/R$dimen.dex new file mode 100644 index 0000000..770cf48 Binary files /dev/null and b/B4A/Objects/dexed/com/google/android/gms/maps/R$dimen.dex differ diff --git a/B4A/Objects/dexed/com/google/android/gms/maps/R$drawable.dex b/B4A/Objects/dexed/com/google/android/gms/maps/R$drawable.dex new file mode 100644 index 0000000..c837915 Binary files /dev/null and b/B4A/Objects/dexed/com/google/android/gms/maps/R$drawable.dex differ diff --git a/B4A/Objects/dexed/com/google/android/gms/maps/R$id.dex b/B4A/Objects/dexed/com/google/android/gms/maps/R$id.dex new file mode 100644 index 0000000..f7f0607 Binary files /dev/null and b/B4A/Objects/dexed/com/google/android/gms/maps/R$id.dex differ diff --git a/B4A/Objects/dexed/com/google/android/gms/maps/R$integer.dex b/B4A/Objects/dexed/com/google/android/gms/maps/R$integer.dex new file mode 100644 index 0000000..204e83c Binary files /dev/null and b/B4A/Objects/dexed/com/google/android/gms/maps/R$integer.dex differ diff --git a/B4A/Objects/dexed/com/google/android/gms/maps/R$layout.dex b/B4A/Objects/dexed/com/google/android/gms/maps/R$layout.dex new file mode 100644 index 0000000..89c7b28 Binary files /dev/null and b/B4A/Objects/dexed/com/google/android/gms/maps/R$layout.dex differ diff --git a/B4A/Objects/dexed/com/google/android/gms/maps/R$string.dex b/B4A/Objects/dexed/com/google/android/gms/maps/R$string.dex new file mode 100644 index 0000000..1ecf97f Binary files /dev/null and b/B4A/Objects/dexed/com/google/android/gms/maps/R$string.dex differ diff --git a/B4A/Objects/dexed/com/google/android/gms/maps/R$style.dex b/B4A/Objects/dexed/com/google/android/gms/maps/R$style.dex new file mode 100644 index 0000000..fad3e83 Binary files /dev/null and b/B4A/Objects/dexed/com/google/android/gms/maps/R$style.dex differ diff --git a/B4A/Objects/dexed/com/google/android/gms/maps/R$styleable.dex b/B4A/Objects/dexed/com/google/android/gms/maps/R$styleable.dex new file mode 100644 index 0000000..96ddbdc Binary files /dev/null and b/B4A/Objects/dexed/com/google/android/gms/maps/R$styleable.dex differ diff --git a/B4A/Objects/dexed/com/google/android/gms/maps/R$xml.dex b/B4A/Objects/dexed/com/google/android/gms/maps/R$xml.dex new file mode 100644 index 0000000..a0af5a8 Binary files /dev/null and b/B4A/Objects/dexed/com/google/android/gms/maps/R$xml.dex differ diff --git a/B4A/Objects/dexed/com/google/android/gms/maps/R.dex b/B4A/Objects/dexed/com/google/android/gms/maps/R.dex new file mode 100644 index 0000000..abf6286 Binary files /dev/null and b/B4A/Objects/dexed/com/google/android/gms/maps/R.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/R$anim.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/R$anim.dex new file mode 100644 index 0000000..1572cd3 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/R$anim.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/R$attr.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/R$attr.dex new file mode 100644 index 0000000..29a54e3 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/R$attr.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/R$color.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/R$color.dex new file mode 100644 index 0000000..95da0e5 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/R$color.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/R$dimen.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/R$dimen.dex new file mode 100644 index 0000000..60bd856 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/R$dimen.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/R$drawable.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/R$drawable.dex new file mode 100644 index 0000000..f383981 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/R$drawable.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/R$id.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/R$id.dex new file mode 100644 index 0000000..8fdcc75 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/R$id.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/R$integer.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/R$integer.dex new file mode 100644 index 0000000..bc8213d Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/R$integer.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/R$layout.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/R$layout.dex new file mode 100644 index 0000000..574a64d Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/R$layout.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/R$string.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/R$string.dex new file mode 100644 index 0000000..d51089a Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/R$string.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/R$style.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/R$style.dex new file mode 100644 index 0000000..ce401e1 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/R$style.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/R$styleable.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/R$styleable.dex new file mode 100644 index 0000000..0f4a29a Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/R$styleable.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/R$xml.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/R$xml.dex new file mode 100644 index 0000000..b4c4e27 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/R$xml.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/R.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/R.dex new file mode 100644 index 0000000..73db467 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/R.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/animatedcounter.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/animatedcounter.dex new file mode 100644 index 0000000..f965329 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/animatedcounter.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/anotherprogressbar$ResumableSub_BusyLoop.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/anotherprogressbar$ResumableSub_BusyLoop.dex new file mode 100644 index 0000000..d5abc24 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/anotherprogressbar$ResumableSub_BusyLoop.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/anotherprogressbar.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/anotherprogressbar.dex new file mode 100644 index 0000000..97c08ee Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/anotherprogressbar.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/appupdater$1.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/appupdater$1.dex new file mode 100644 index 0000000..7fd6b70 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/appupdater$1.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/appupdater$2.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/appupdater$2.dex new file mode 100644 index 0000000..ee2e4cd Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/appupdater$2.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/appupdater$ResumableSub_Service_Start.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/appupdater$ResumableSub_Service_Start.dex new file mode 100644 index 0000000..e4eb9c1 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/appupdater$ResumableSub_Service_Start.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/appupdater$ResumableSub_download_newApk.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/appupdater$ResumableSub_download_newApk.dex new file mode 100644 index 0000000..648dbd3 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/appupdater$ResumableSub_download_newApk.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/appupdater$_mnewversion.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/appupdater$_mnewversion.dex new file mode 100644 index 0000000..320f216 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/appupdater$_mnewversion.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/appupdater$appupdater_BR.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/appupdater$appupdater_BR.dex new file mode 100644 index 0000000..eaee2a6 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/appupdater$appupdater_BR.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/appupdater.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/appupdater.dex new file mode 100644 index 0000000..d409ff8 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/appupdater.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xbitset.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xbitset.dex new file mode 100644 index 0000000..db3bb2b Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xbitset.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xbreadcrumb.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xbreadcrumb.dex new file mode 100644 index 0000000..f9b7a05 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xbreadcrumb.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xbytesbuilder.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xbytesbuilder.dex new file mode 100644 index 0000000..302f810 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xbytesbuilder.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xcache$_b4xcacheitem.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xcache$_b4xcacheitem.dex new file mode 100644 index 0000000..8fa7850 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xcache$_b4xcacheitem.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xcache.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xcache.dex new file mode 100644 index 0000000..d6579dd Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xcache.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xcollections.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xcollections.dex new file mode 100644 index 0000000..7a36d19 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xcollections.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xcolortemplate$ResumableSub_Show.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xcolortemplate$ResumableSub_Show.dex new file mode 100644 index 0000000..551a2e0 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xcolortemplate$ResumableSub_Show.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xcolortemplate$_colorpickerpart.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xcolortemplate$_colorpickerpart.dex new file mode 100644 index 0000000..3f80177 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xcolortemplate$_colorpickerpart.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xcolortemplate.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xcolortemplate.dex new file mode 100644 index 0000000..595b323 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xcolortemplate.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xcombobox$ResumableSub_RaiseEvent.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xcombobox$ResumableSub_RaiseEvent.dex new file mode 100644 index 0000000..abb3e39 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xcombobox$ResumableSub_RaiseEvent.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xcombobox.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xcombobox.dex new file mode 100644 index 0000000..4403b5e Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xcombobox.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xcomparatorsort.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xcomparatorsort.dex new file mode 100644 index 0000000..340fb41 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xcomparatorsort.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xdatetemplate$ResumableSub_Show.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xdatetemplate$ResumableSub_Show.dex new file mode 100644 index 0000000..b09a922 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xdatetemplate$ResumableSub_Show.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xdatetemplate.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xdatetemplate.dex new file mode 100644 index 0000000..9c2e83e Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xdatetemplate.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xdialog$ResumableSub_Show.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xdialog$ResumableSub_Show.dex new file mode 100644 index 0000000..b671493 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xdialog$ResumableSub_Show.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xdialog$ResumableSub_ShowCustom.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xdialog$ResumableSub_ShowCustom.dex new file mode 100644 index 0000000..563e7a0 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xdialog$ResumableSub_ShowCustom.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xdialog$ResumableSub_ShowTemplate.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xdialog$ResumableSub_ShowTemplate.dex new file mode 100644 index 0000000..80a1a75 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xdialog$ResumableSub_ShowTemplate.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xdialog.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xdialog.dex new file mode 100644 index 0000000..fb4c533 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xdialog.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xfloattextfield$ResumableSub_SwitchFromPasswordToRegular.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xfloattextfield$ResumableSub_SwitchFromPasswordToRegular.dex new file mode 100644 index 0000000..d3f7c9b Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xfloattextfield$ResumableSub_SwitchFromPasswordToRegular.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xfloattextfield.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xfloattextfield.dex new file mode 100644 index 0000000..038345b Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xfloattextfield.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xformatter$_b4xformatdata.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xformatter$_b4xformatdata.dex new file mode 100644 index 0000000..e9b3b32 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xformatter$_b4xformatdata.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xformatter.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xformatter.dex new file mode 100644 index 0000000..957ac4b Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xformatter.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4ximageview.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4ximageview.dex new file mode 100644 index 0000000..d3394cb Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4ximageview.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xinputtemplate$ResumableSub_Show.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xinputtemplate$ResumableSub_Show.dex new file mode 100644 index 0000000..415e7af Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xinputtemplate$ResumableSub_Show.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xinputtemplate.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xinputtemplate.dex new file mode 100644 index 0000000..d89a50d Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xinputtemplate.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xlisttemplate$ResumableSub_Show.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xlisttemplate$ResumableSub_Show.dex new file mode 100644 index 0000000..b61f03f Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xlisttemplate$ResumableSub_Show.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xlisttemplate.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xlisttemplate.dex new file mode 100644 index 0000000..80086e9 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xlisttemplate.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xloadingindicator$ResumableSub_MainLoop.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xloadingindicator$ResumableSub_MainLoop.dex new file mode 100644 index 0000000..877a5e4 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xloadingindicator$ResumableSub_MainLoop.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xloadingindicator.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xloadingindicator.dex new file mode 100644 index 0000000..57639e1 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xloadingindicator.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xlongtexttemplate.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xlongtexttemplate.dex new file mode 100644 index 0000000..3ab8416 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xlongtexttemplate.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xmainpage$ResumableSub_B4XPage_Appear.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xmainpage$ResumableSub_B4XPage_Appear.dex new file mode 100644 index 0000000..bcd32ae Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xmainpage$ResumableSub_B4XPage_Appear.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xmainpage$ResumableSub_B4XPage_CloseRequest.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xmainpage$ResumableSub_B4XPage_CloseRequest.dex new file mode 100644 index 0000000..058afb7 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xmainpage$ResumableSub_B4XPage_CloseRequest.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xmainpage$ResumableSub_b_envioBD_Click.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xmainpage$ResumableSub_b_envioBD_Click.dex new file mode 100644 index 0000000..2ec8290 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xmainpage$ResumableSub_b_envioBD_Click.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xmainpage$ResumableSub_b_terpc_Click.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xmainpage$ResumableSub_b_terpc_Click.dex new file mode 100644 index 0000000..05ab588 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xmainpage$ResumableSub_b_terpc_Click.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xmainpage.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xmainpage.dex new file mode 100644 index 0000000..1699b83 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xmainpage.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xorderedmap.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xorderedmap.dex new file mode 100644 index 0000000..7ef8c1c Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xorderedmap.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xpages.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xpages.dex new file mode 100644 index 0000000..89eaabc Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xpages.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xpagesdelegator.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xpagesdelegator.dex new file mode 100644 index 0000000..d859769 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xpagesdelegator.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xpagesmanager$PagesMenuListener.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xpagesmanager$PagesMenuListener.dex new file mode 100644 index 0000000..88aa158 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xpagesmanager$PagesMenuListener.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xpagesmanager$ResumableSub_HandleCloseRequest.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xpagesmanager$ResumableSub_HandleCloseRequest.dex new file mode 100644 index 0000000..2dcad42 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xpagesmanager$ResumableSub_HandleCloseRequest.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xpagesmanager$_b4amenuitem.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xpagesmanager$_b4amenuitem.dex new file mode 100644 index 0000000..57893da Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xpagesmanager$_b4amenuitem.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xpagesmanager$_b4xpageinfo.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xpagesmanager$_b4xpageinfo.dex new file mode 100644 index 0000000..aa6c8ee Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xpagesmanager$_b4xpageinfo.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xpagesmanager$_b4xpageparent.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xpagesmanager$_b4xpageparent.dex new file mode 100644 index 0000000..6a52e86 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xpagesmanager$_b4xpageparent.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xpagesmanager.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xpagesmanager.dex new file mode 100644 index 0000000..940ac85 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xpagesmanager.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xplusminus$ResumableSub_StartDownLoop.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xplusminus$ResumableSub_StartDownLoop.dex new file mode 100644 index 0000000..2c221a4 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xplusminus$ResumableSub_StartDownLoop.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xplusminus.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xplusminus.dex new file mode 100644 index 0000000..6cea078 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xplusminus.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xradiobutton$ResumableSub_SetValueImpl.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xradiobutton$ResumableSub_SetValueImpl.dex new file mode 100644 index 0000000..c57b360 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xradiobutton$ResumableSub_SetValueImpl.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xradiobutton.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xradiobutton.dex new file mode 100644 index 0000000..5ef6d97 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xradiobutton.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xsearchtemplate$ResumableSub_Show.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xsearchtemplate$ResumableSub_Show.dex new file mode 100644 index 0000000..bbbd348 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xsearchtemplate$ResumableSub_Show.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xsearchtemplate.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xsearchtemplate.dex new file mode 100644 index 0000000..00fa8af Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xsearchtemplate.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xseekbar.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xseekbar.dex new file mode 100644 index 0000000..8915f6f Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xseekbar.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xset.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xset.dex new file mode 100644 index 0000000..cd6d028 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xset.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xsignaturetemplate.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xsignaturetemplate.dex new file mode 100644 index 0000000..a2ab414 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xsignaturetemplate.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xswitch$ResumableSub_SetValueImpl.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xswitch$ResumableSub_SetValueImpl.dex new file mode 100644 index 0000000..d9f0945 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xswitch$ResumableSub_SetValueImpl.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xswitch.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xswitch.dex new file mode 100644 index 0000000..d5a9edc Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xswitch.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xtimedtemplate$ResumableSub_Show.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xtimedtemplate$ResumableSub_Show.dex new file mode 100644 index 0000000..04ef4e4 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xtimedtemplate$ResumableSub_Show.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xtimedtemplate.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xtimedtemplate.dex new file mode 100644 index 0000000..f4a677a Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/b4xtimedtemplate.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/batteryutilities.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/batteryutilities.dex new file mode 100644 index 0000000..277ad17 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/batteryutilities.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_buscar$ResumableSub_B4XPage_CloseRequest.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_buscar$ResumableSub_B4XPage_CloseRequest.dex new file mode 100644 index 0000000..608a7e3 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_buscar$ResumableSub_B4XPage_CloseRequest.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_buscar.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_buscar.dex new file mode 100644 index 0000000..dfa2896 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_buscar.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cheklist$ResumableSub_B4XPage_Appear.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cheklist$ResumableSub_B4XPage_Appear.dex new file mode 100644 index 0000000..c243aae Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cheklist$ResumableSub_B4XPage_Appear.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cheklist$ResumableSub_B4XPage_CloseRequest.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cheklist$ResumableSub_B4XPage_CloseRequest.dex new file mode 100644 index 0000000..d6325a9 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cheklist$ResumableSub_B4XPage_CloseRequest.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cheklist$ResumableSub_InitializeCamera2.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cheklist$ResumableSub_InitializeCamera2.dex new file mode 100644 index 0000000..cd65733 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cheklist$ResumableSub_InitializeCamera2.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cheklist.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cheklist.dex new file mode 100644 index 0000000..03eeff6 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cheklist.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cliente$ResumableSub_B4XPage_CloseRequest.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cliente$ResumableSub_B4XPage_CloseRequest.dex new file mode 100644 index 0000000..19d41f8 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cliente$ResumableSub_B4XPage_CloseRequest.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cliente$ResumableSub_B_IMP2_Click.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cliente$ResumableSub_B_IMP2_Click.dex new file mode 100644 index 0000000..a8e6558 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cliente$ResumableSub_B_IMP2_Click.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cliente$ResumableSub_B_IMP_Click.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cliente$ResumableSub_B_IMP_Click.dex new file mode 100644 index 0000000..12eafbc Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cliente$ResumableSub_B_IMP_Click.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cliente$ResumableSub_HIST_Click.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cliente$ResumableSub_HIST_Click.dex new file mode 100644 index 0000000..81de5fb Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cliente$ResumableSub_HIST_Click.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cliente$ResumableSub_b_abono_Click.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cliente$ResumableSub_b_abono_Click.dex new file mode 100644 index 0000000..1114213 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cliente$ResumableSub_b_abono_Click.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cliente$ResumableSub_gest_Click.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cliente$ResumableSub_gest_Click.dex new file mode 100644 index 0000000..49ec8df Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cliente$ResumableSub_gest_Click.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cliente$ResumableSub_imprime_abonopagare.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cliente$ResumableSub_imprime_abonopagare.dex new file mode 100644 index 0000000..bf09b1a Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cliente$ResumableSub_imprime_abonopagare.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cliente$ResumableSub_imprime_pagare.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cliente$ResumableSub_imprime_pagare.dex new file mode 100644 index 0000000..0d9d77d Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cliente$ResumableSub_imprime_pagare.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cliente.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cliente.dex new file mode 100644 index 0000000..2e2d559 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_cliente.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_clientes$ResumableSub_B4XPage_CloseRequest.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_clientes$ResumableSub_B4XPage_CloseRequest.dex new file mode 100644 index 0000000..598e310 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_clientes$ResumableSub_B4XPage_CloseRequest.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_clientes$ResumableSub_ListView1_ItemClick.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_clientes$ResumableSub_ListView1_ItemClick.dex new file mode 100644 index 0000000..bf9658c Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_clientes$ResumableSub_ListView1_ItemClick.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_clientes$ResumableSub_b_GetDirs_Click.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_clientes$ResumableSub_b_GetDirs_Click.dex new file mode 100644 index 0000000..cccaaa8 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_clientes$ResumableSub_b_GetDirs_Click.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_clientes$ResumableSub_caculaRutaGPS.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_clientes$ResumableSub_caculaRutaGPS.dex new file mode 100644 index 0000000..fb4919e Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_clientes$ResumableSub_caculaRutaGPS.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_clientes$ResumableSub_distanciaEntreCoords.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_clientes$ResumableSub_distanciaEntreCoords.dex new file mode 100644 index 0000000..086dcda Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_clientes$ResumableSub_distanciaEntreCoords.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_clientes$ResumableSub_generaListViewRutas.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_clientes$ResumableSub_generaListViewRutas.dex new file mode 100644 index 0000000..c3d901a Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_clientes$ResumableSub_generaListViewRutas.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_clientes$ResumableSub_traeRutaDia.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_clientes$ResumableSub_traeRutaDia.dex new file mode 100644 index 0000000..dddbf88 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_clientes$ResumableSub_traeRutaDia.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_clientes.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_clientes.dex new file mode 100644 index 0000000..085a2ae Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_clientes.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_detalle_promo.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_detalle_promo.dex new file mode 100644 index 0000000..d7a8f36 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_detalle_promo.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_detalleventa$ResumableSub_B4XPage_CloseRequest.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_detalleventa$ResumableSub_B4XPage_CloseRequest.dex new file mode 100644 index 0000000..47d7f3b Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_detalleventa$ResumableSub_B4XPage_CloseRequest.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_detalleventa.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_detalleventa.dex new file mode 100644 index 0000000..207d5ab Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_detalleventa.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_foto$ResumableSub_B4XPage_CloseRequest.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_foto$ResumableSub_B4XPage_CloseRequest.dex new file mode 100644 index 0000000..e526bf0 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_foto$ResumableSub_B4XPage_CloseRequest.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_foto.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_foto.dex new file mode 100644 index 0000000..7c8ce79 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_foto.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_historico$ResumableSub_B4XPage_CloseRequest.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_historico$ResumableSub_B4XPage_CloseRequest.dex new file mode 100644 index 0000000..71e6746 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_historico$ResumableSub_B4XPage_CloseRequest.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_historico.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_historico.dex new file mode 100644 index 0000000..dad25d4 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_historico.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_mapas.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_mapas.dex new file mode 100644 index 0000000..2adb020 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_mapas.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_noventa$ResumableSub_B_IMP_Click.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_noventa$ResumableSub_B_IMP_Click.dex new file mode 100644 index 0000000..a891bc3 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_noventa$ResumableSub_B_IMP_Click.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_noventa.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_noventa.dex new file mode 100644 index 0000000..3051a47 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_noventa.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_nuevocliente.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_nuevocliente.dex new file mode 100644 index 0000000..e00c38e Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_nuevocliente.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_pedidos.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_pedidos.dex new file mode 100644 index 0000000..e5b00c2 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_pedidos.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_principal$ResumableSub_B4XPage_CloseRequest.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_principal$ResumableSub_B4XPage_CloseRequest.dex new file mode 100644 index 0000000..80fedf3 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_principal$ResumableSub_B4XPage_CloseRequest.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_principal$ResumableSub_b_imp_inventario_Click.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_principal$ResumableSub_b_imp_inventario_Click.dex new file mode 100644 index 0000000..0f27aec Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_principal$ResumableSub_b_imp_inventario_Click.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_principal$ResumableSub_b_impresion_rec_Click.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_principal$ResumableSub_b_impresion_rec_Click.dex new file mode 100644 index 0000000..7427a6d Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_principal$ResumableSub_b_impresion_rec_Click.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_principal.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_principal.dex new file mode 100644 index 0000000..dfa1d96 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_principal.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_productos$ResumableSub_B4XPage_CloseRequest.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_productos$ResumableSub_B4XPage_CloseRequest.dex new file mode 100644 index 0000000..622c12a Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_productos$ResumableSub_B4XPage_CloseRequest.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_productos.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_productos.dex new file mode 100644 index 0000000..e578274 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_productos.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_tabulador.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_tabulador.dex new file mode 100644 index 0000000..e41e551 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_tabulador.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_ticketsdia.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_ticketsdia.dex new file mode 100644 index 0000000..080197b Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_ticketsdia.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_updateavailable$ResumableSub_B4XPage_Appear.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_updateavailable$ResumableSub_B4XPage_Appear.dex new file mode 100644 index 0000000..c24c684 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_updateavailable$ResumableSub_B4XPage_Appear.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/c_updateavailable.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_updateavailable.dex new file mode 100644 index 0000000..e61059e Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/c_updateavailable.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/cameraexclass$_camerainfoandid.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/cameraexclass$_camerainfoandid.dex new file mode 100644 index 0000000..8df6444 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/cameraexclass$_camerainfoandid.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/cameraexclass$_camerasize.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/cameraexclass$_camerasize.dex new file mode 100644 index 0000000..56c7214 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/cameraexclass$_camerasize.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/cameraexclass.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/cameraexclass.dex new file mode 100644 index 0000000..b5fa42f Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/cameraexclass.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/cl_appupdate$ResumableSub_DownloadApk.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/cl_appupdate$ResumableSub_DownloadApk.dex new file mode 100644 index 0000000..3a73c37 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/cl_appupdate$ResumableSub_DownloadApk.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/cl_appupdate$ResumableSub_IsvalidWV.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/cl_appupdate$ResumableSub_IsvalidWV.dex new file mode 100644 index 0000000..9530004 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/cl_appupdate$ResumableSub_IsvalidWV.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/cl_appupdate$ResumableSub_ReadWebVN.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/cl_appupdate$ResumableSub_ReadWebVN.dex new file mode 100644 index 0000000..c431993 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/cl_appupdate$ResumableSub_ReadWebVN.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/cl_appupdate$ResumableSub_TryApkUpdate.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/cl_appupdate$ResumableSub_TryApkUpdate.dex new file mode 100644 index 0000000..b77a403 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/cl_appupdate$ResumableSub_TryApkUpdate.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/cl_appupdate$ResumableSub_UpdateApk.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/cl_appupdate$ResumableSub_UpdateApk.dex new file mode 100644 index 0000000..bb1f136 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/cl_appupdate$ResumableSub_UpdateApk.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/cl_appupdate.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/cl_appupdate.dex new file mode 100644 index 0000000..e599eda Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/cl_appupdate.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/dbrequestmanager$_dbcommand.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/dbrequestmanager$_dbcommand.dex new file mode 100644 index 0000000..d95be11 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/dbrequestmanager$_dbcommand.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/dbrequestmanager$_dbresult.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/dbrequestmanager$_dbresult.dex new file mode 100644 index 0000000..d013ec7 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/dbrequestmanager$_dbresult.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/dbrequestmanager.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/dbrequestmanager.dex new file mode 100644 index 0000000..2401399 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/dbrequestmanager.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/designerscripts/LS_check.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/designerscripts/LS_check.dex new file mode 100644 index 0000000..c1ebae8 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/designerscripts/LS_check.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/designerscripts/LS_checklist.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/designerscripts/LS_checklist.dex new file mode 100644 index 0000000..15d6093 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/designerscripts/LS_checklist.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/designerscripts/LS_clientes.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/designerscripts/LS_clientes.dex new file mode 100644 index 0000000..d9219ad Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/designerscripts/LS_clientes.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/designerscripts/LS_detalle_promo.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/designerscripts/LS_detalle_promo.dex new file mode 100644 index 0000000..f2da764 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/designerscripts/LS_detalle_promo.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/designerscripts/LS_detalleventa.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/designerscripts/LS_detalleventa.dex new file mode 100644 index 0000000..d91ec33 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/designerscripts/LS_detalleventa.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/designerscripts/LS_folioabono.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/designerscripts/LS_folioabono.dex new file mode 100644 index 0000000..5a89723 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/designerscripts/LS_folioabono.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/designerscripts/LS_historico.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/designerscripts/LS_historico.dex new file mode 100644 index 0000000..48cbd3e Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/designerscripts/LS_historico.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/designerscripts/LS_login.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/designerscripts/LS_login.dex new file mode 100644 index 0000000..62201a5 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/designerscripts/LS_login.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/designerscripts/LS_mainpage.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/designerscripts/LS_mainpage.dex new file mode 100644 index 0000000..5bbc17f Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/designerscripts/LS_mainpage.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/designerscripts/LS_mapa_cliente.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/designerscripts/LS_mapa_cliente.dex new file mode 100644 index 0000000..023932f Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/designerscripts/LS_mapa_cliente.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/designerscripts/LS_mapa_rutas.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/designerscripts/LS_mapa_rutas.dex new file mode 100644 index 0000000..8327d6b Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/designerscripts/LS_mapa_rutas.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/designerscripts/LS_no_venta.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/designerscripts/LS_no_venta.dex new file mode 100644 index 0000000..b298ec0 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/designerscripts/LS_no_venta.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/designerscripts/LS_panel_pick_ciego.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/designerscripts/LS_panel_pick_ciego.dex new file mode 100644 index 0000000..5f8f350 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/designerscripts/LS_panel_pick_ciego.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/designerscripts/LS_pedido.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/designerscripts/LS_pedido.dex new file mode 100644 index 0000000..5270964 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/designerscripts/LS_pedido.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/designerscripts/LS_principal.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/designerscripts/LS_principal.dex new file mode 100644 index 0000000..7c09fe3 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/designerscripts/LS_principal.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/designerscripts/LS_proditem.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/designerscripts/LS_proditem.dex new file mode 100644 index 0000000..1ee8747 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/designerscripts/LS_proditem.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/designerscripts/LS_proditem2.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/designerscripts/LS_proditem2.dex new file mode 100644 index 0000000..c9b5dbd Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/designerscripts/LS_proditem2.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/designerscripts/LS_productos.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/designerscripts/LS_productos.dex new file mode 100644 index 0000000..d1d92ea Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/designerscripts/LS_productos.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/designerscripts/LS_searchtemplate.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/designerscripts/LS_searchtemplate.dex new file mode 100644 index 0000000..929dcc6 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/designerscripts/LS_searchtemplate.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/designerscripts/LS_tabulador.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/designerscripts/LS_tabulador.dex new file mode 100644 index 0000000..5c9601e Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/designerscripts/LS_tabulador.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/escposprinter$_animage.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/escposprinter$_animage.dex new file mode 100644 index 0000000..788760c Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/escposprinter$_animage.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/escposprinter.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/escposprinter.dex new file mode 100644 index 0000000..96e2180 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/escposprinter.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/fileprovider.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/fileprovider.dex new file mode 100644 index 0000000..0f357d7 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/fileprovider.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/foto$1.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/foto$1.dex new file mode 100644 index 0000000..3b138ad Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/foto$1.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/foto$B4AMenuItemsClickListener.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/foto$B4AMenuItemsClickListener.dex new file mode 100644 index 0000000..d965638 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/foto$B4AMenuItemsClickListener.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/foto$HandleKeyDelayed.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/foto$HandleKeyDelayed.dex new file mode 100644 index 0000000..93edcc1 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/foto$HandleKeyDelayed.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/foto$ResumeMessage.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/foto$ResumeMessage.dex new file mode 100644 index 0000000..bf6e486 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/foto$ResumeMessage.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/foto$WaitForLayout.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/foto$WaitForLayout.dex new file mode 100644 index 0000000..b3897cf Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/foto$WaitForLayout.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/foto.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/foto.dex new file mode 100644 index 0000000..5a4e211 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/foto.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/httpjob$_multipartfiledata.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/httpjob$_multipartfiledata.dex new file mode 100644 index 0000000..750ebee Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/httpjob$_multipartfiledata.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/httpjob.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/httpjob.dex new file mode 100644 index 0000000..199b68e Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/httpjob.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/httputils2service.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/httputils2service.dex new file mode 100644 index 0000000..8ab0fbf Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/httputils2service.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/madewithlove.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/madewithlove.dex new file mode 100644 index 0000000..a866e96 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/madewithlove.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/main$1.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/main$1.dex new file mode 100644 index 0000000..caeb71a Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/main$1.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/main$B4AMenuItemsClickListener.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/main$B4AMenuItemsClickListener.dex new file mode 100644 index 0000000..aaf87d9 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/main$B4AMenuItemsClickListener.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/main$HandleKeyDelayed.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/main$HandleKeyDelayed.dex new file mode 100644 index 0000000..a6f2fad Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/main$HandleKeyDelayed.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/main$ResumeMessage.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/main$ResumeMessage.dex new file mode 100644 index 0000000..9865696 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/main$ResumeMessage.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/main$WaitForLayout.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/main$WaitForLayout.dex new file mode 100644 index 0000000..19975eb Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/main$WaitForLayout.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/main.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/main.dex new file mode 100644 index 0000000..fe08694 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/main.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/manageexternalstorage.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/manageexternalstorage.dex new file mode 100644 index 0000000..a4b3778 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/manageexternalstorage.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/mapa_cliente$1.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/mapa_cliente$1.dex new file mode 100644 index 0000000..49a185d Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/mapa_cliente$1.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/mapa_cliente$B4AMenuItemsClickListener.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/mapa_cliente$B4AMenuItemsClickListener.dex new file mode 100644 index 0000000..de4267c Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/mapa_cliente$B4AMenuItemsClickListener.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/mapa_cliente$HandleKeyDelayed.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/mapa_cliente$HandleKeyDelayed.dex new file mode 100644 index 0000000..28ff66c Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/mapa_cliente$HandleKeyDelayed.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/mapa_cliente$ResumableSub_MapFragment1_Ready.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/mapa_cliente$ResumableSub_MapFragment1_Ready.dex new file mode 100644 index 0000000..01ea03a Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/mapa_cliente$ResumableSub_MapFragment1_Ready.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/mapa_cliente$ResumeMessage.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/mapa_cliente$ResumeMessage.dex new file mode 100644 index 0000000..d0c0a95 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/mapa_cliente$ResumeMessage.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/mapa_cliente$WaitForLayout.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/mapa_cliente$WaitForLayout.dex new file mode 100644 index 0000000..ef56bcc Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/mapa_cliente$WaitForLayout.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/mapa_cliente.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/mapa_cliente.dex new file mode 100644 index 0000000..7c8a202 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/mapa_cliente.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/mapa_rutas$1.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/mapa_rutas$1.dex new file mode 100644 index 0000000..5c41e28 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/mapa_rutas$1.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/mapa_rutas$B4AMenuItemsClickListener.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/mapa_rutas$B4AMenuItemsClickListener.dex new file mode 100644 index 0000000..e47d487 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/mapa_rutas$B4AMenuItemsClickListener.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/mapa_rutas$HandleKeyDelayed.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/mapa_rutas$HandleKeyDelayed.dex new file mode 100644 index 0000000..7f783cc Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/mapa_rutas$HandleKeyDelayed.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/mapa_rutas$ResumableSub_MapFragment1_Ready.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/mapa_rutas$ResumableSub_MapFragment1_Ready.dex new file mode 100644 index 0000000..7aa4ecf Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/mapa_rutas$ResumableSub_MapFragment1_Ready.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/mapa_rutas$ResumeMessage.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/mapa_rutas$ResumeMessage.dex new file mode 100644 index 0000000..649e3f3 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/mapa_rutas$ResumeMessage.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/mapa_rutas$WaitForLayout.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/mapa_rutas$WaitForLayout.dex new file mode 100644 index 0000000..b571689 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/mapa_rutas$WaitForLayout.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/mapa_rutas.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/mapa_rutas.dex new file mode 100644 index 0000000..95cc00c Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/mapa_rutas.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/newinst2$1.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/newinst2$1.dex new file mode 100644 index 0000000..1b47c96 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/newinst2$1.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/newinst2$2.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/newinst2$2.dex new file mode 100644 index 0000000..f248d91 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/newinst2$2.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/newinst2$newinst2_BR.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/newinst2$newinst2_BR.dex new file mode 100644 index 0000000..0a031c2 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/newinst2$newinst2_BR.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/newinst2.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/newinst2.dex new file mode 100644 index 0000000..89478ef Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/newinst2.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/roundslider.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/roundslider.dex new file mode 100644 index 0000000..d104b62 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/roundslider.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/scrollinglabel$ResumableSub_StartScrolling.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/scrollinglabel$ResumableSub_StartScrolling.dex new file mode 100644 index 0000000..dd0a135 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/scrollinglabel$ResumableSub_StartScrolling.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/scrollinglabel.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/scrollinglabel.dex new file mode 100644 index 0000000..11bdb2c Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/scrollinglabel.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/starter$1.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/starter$1.dex new file mode 100644 index 0000000..c5ad5c8 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/starter$1.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/starter$2.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/starter$2.dex new file mode 100644 index 0000000..39c89dc Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/starter$2.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/starter$starter_BR.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/starter$starter_BR.dex new file mode 100644 index 0000000..ccc8f21 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/starter$starter_BR.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/starter.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/starter.dex new file mode 100644 index 0000000..73b2b13 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/starter.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/subs.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/subs.dex new file mode 100644 index 0000000..4b00054 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/subs.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/swiftbutton.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/swiftbutton.dex new file mode 100644 index 0000000..fd911c5 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/swiftbutton.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/tracker$1.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/tracker$1.dex new file mode 100644 index 0000000..22ed454 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/tracker$1.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/tracker$2.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/tracker$2.dex new file mode 100644 index 0000000..a9d3970 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/tracker$2.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/tracker$ResumableSub_StartFLP.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/tracker$ResumableSub_StartFLP.dex new file mode 100644 index 0000000..415167f Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/tracker$ResumableSub_StartFLP.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/tracker$ResumableSub_StartFLP2Reqs.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/tracker$ResumableSub_StartFLP2Reqs.dex new file mode 100644 index 0000000..8555c18 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/tracker$ResumableSub_StartFLP2Reqs.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/tracker$tracker_BR.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/tracker$tracker_BR.dex new file mode 100644 index 0000000..aefb324 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/tracker$tracker_BR.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/tracker.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/tracker.dex new file mode 100644 index 0000000..9624913 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/tracker.dex differ diff --git a/B4A/Objects/dexed/reparto_izca/keymon/lat/xuiviewsutils.dex b/B4A/Objects/dexed/reparto_izca/keymon/lat/xuiviewsutils.dex new file mode 100644 index 0000000..e4fcf01 Binary files /dev/null and b/B4A/Objects/dexed/reparto_izca/keymon/lat/xuiviewsutils.dex differ diff --git a/B4A/Objects/gen/androidx/coordinatorlayout/R.java b/B4A/Objects/gen/androidx/coordinatorlayout/R.java new file mode 100644 index 0000000..cdb1553 --- /dev/null +++ b/B4A/Objects/gen/androidx/coordinatorlayout/R.java @@ -0,0 +1,2121 @@ +/* AUTO-GENERATED FILE. DO NOT MODIFY. + * + * This class was automatically generated by the + * aapt tool from the resource data it found. It + * should not be modified by hand. + */ + +package androidx.coordinatorlayout; + +public final class R { + public static final class anim { + public static final int fragment_close_enter=0x7f010000; + public static final int fragment_close_exit=0x7f010001; + public static final int fragment_fade_enter=0x7f010002; + public static final int fragment_fade_exit=0x7f010003; + public static final int fragment_fast_out_extra_slow_in=0x7f010004; + public static final int fragment_open_enter=0x7f010005; + public static final int fragment_open_exit=0x7f010006; + } + public static final class attr { + /** + * Alpha multiplier applied to the base color. + *

May be a floating point value, such as "1.2". + */ + public static final int alpha=0x7f020000; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int ambientEnabled=0x7f020001; + /** + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
icon_only2
standard0
wide1
+ */ + public static final int buttonSize=0x7f020002; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraBearing=0x7f020003; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraMaxZoomPreference=0x7f020004; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraMinZoomPreference=0x7f020005; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraTargetLat=0x7f020006; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraTargetLng=0x7f020007; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraTilt=0x7f020008; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraZoom=0x7f020009; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int circleCrop=0x7f02000a; + /** + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
auto2
dark0
light1
+ */ + public static final int colorScheme=0x7f02000b; + /** + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int coordinatorLayoutStyle=0x7f02000c; + /** + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int drawerLayoutStyle=0x7f02000d; + /** + *

May be a dimension value, which is a floating point number appended with a + * unit such as "14.5sp". + * Available units are: px (pixels), dp (density-independent pixels), + * sp (scaled pixels based on preferred font size), in (inches), and + * mm (millimeters). + */ + public static final int elevation=0x7f02000e; + /** + * The reference to the font file to be used. This should be a file in the res/font folder + * and should therefore have an R reference value. E.g. @font/myfont + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int font=0x7f02000f; + /** + * The authority of the Font Provider to be used for the request. + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int fontProviderAuthority=0x7f020010; + /** + * The sets of hashes for the certificates the provider should be signed with. This is + * used to verify the identity of the provider, and is only required if the provider is not + * part of the system image. This value may point to one list or a list of lists, where each + * individual list represents one collection of signature hashes. Refer to your font provider's + * documentation for these values. + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int fontProviderCerts=0x7f020011; + /** + * The strategy to be used when fetching font data from a font provider in XML layouts. + * This attribute is ignored when the resource is loaded from code, as it is equivalent to the + * choice of API between {@link + * androidx.core.content.res.ResourcesCompat#getFont(Context, int)} (blocking) and + * {@link + * androidx.core.content.res.ResourcesCompat#getFont(Context, int, FontCallback, Handler)} + * (async). + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + *
ConstantValueDescription
async1The async font fetch works as follows. + * First, check the local cache, then if the requeted font is not cached, trigger a + * request the font and continue with layout inflation. Once the font fetch succeeds, the + * target text view will be refreshed with the downloaded font data. The + * fontProviderFetchTimeout will be ignored if async loading is specified.
blocking0The blocking font fetch works as follows. + * First, check the local cache, then if the requested font is not cached, request the + * font from the provider and wait until it is finished. You can change the length of + * the timeout by modifying fontProviderFetchTimeout. If the timeout happens, the + * default typeface will be used instead.
+ */ + public static final int fontProviderFetchStrategy=0x7f020012; + /** + * The length of the timeout during fetching. + *

May be an integer value, such as "100". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + *
ConstantValueDescription
foreverffffffffA special value for the timeout. In this case, the blocking font fetching will not + * timeout and wait until a reply is received from the font provider.
+ */ + public static final int fontProviderFetchTimeout=0x7f020013; + /** + * The package for the Font Provider to be used for the request. This is used to verify + * the identity of the provider. + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int fontProviderPackage=0x7f020014; + /** + * The query to be sent over to the provider. Refer to your font provider's documentation + * on the format of this string. + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int fontProviderQuery=0x7f020015; + /** + * The style of the given font file. This will be used when the font is being loaded into + * the font stack and will override any style information in the font's header tables. If + * unspecified, the value in the font's header tables will be used. + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + *
ConstantValueDescription
italic1
normal0
+ */ + public static final int fontStyle=0x7f020016; + /** + * The variation settings to be applied to the font. The string should be in the following + * format: "'tag1' value1, 'tag2' value2, ...". If the default variation settings should be + * used, or the font used does not support variation settings, this attribute needs not be + * specified. + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int fontVariationSettings=0x7f020017; + /** + * The weight of the given font file. This will be used when the font is being loaded into + * the font stack and will override any weight information in the font's header tables. Must + * be a positive number, a multiple of 100, and between 100 and 900, inclusive. The most + * common values are 400 for regular weight and 700 for bold weight. If unspecified, the value + * in the font's header tables will be used. + *

May be an integer value, such as "100". + */ + public static final int fontWeight=0x7f020018; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int imageAspectRatio=0x7f020019; + /** + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
adjust_height2
adjust_width1
none0
+ */ + public static final int imageAspectRatioAdjust=0x7f02001a; + /** + * A reference to an array of integers representing the + * locations of horizontal keylines in dp from the starting edge. + * Child views can refer to these keylines for alignment using + * layout_keyline="index" where index is a 0-based index into + * this array. + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int keylines=0x7f02001b; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int latLngBoundsNorthEastLatitude=0x7f02001c; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int latLngBoundsNorthEastLongitude=0x7f02001d; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int latLngBoundsSouthWestLatitude=0x7f02001e; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int latLngBoundsSouthWestLongitude=0x7f02001f; + /** + * The id of an anchor view that this view should position relative to. + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int layout_anchor=0x7f020020; + /** + * Specifies how an object should position relative to an anchor, on both the X and Y axes, + * within its parent's bounds. + *

Must be one or more (separated by '|') of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
bottom50Push object to the bottom of its container, not changing its size.
center11Place the object in the center of its container in both the vertical and horizontal axis, not changing its size.
center_horizontal1Place object in the horizontal center of its container, not changing its size.
center_vertical10Place object in the vertical center of its container, not changing its size.
clip_horizontal8Additional option that can be set to have the left and/or right edges of + * the child clipped to its container's bounds. + * The clip will be based on the horizontal gravity: a left gravity will clip the right + * edge, a right gravity will clip the left edge, and neither will clip both edges.
clip_vertical80Additional option that can be set to have the top and/or bottom edges of + * the child clipped to its container's bounds. + * The clip will be based on the vertical gravity: a top gravity will clip the bottom + * edge, a bottom gravity will clip the top edge, and neither will clip both edges.
end800005Push object to the end of its container, not changing its size.
fill77Grow the horizontal and vertical size of the object if needed so it completely fills its container.
fill_horizontal7Grow the horizontal size of the object if needed so it completely fills its container.
fill_vertical70Grow the vertical size of the object if needed so it completely fills its container.
left3Push object to the left of its container, not changing its size.
right5Push object to the right of its container, not changing its size.
start800003Push object to the beginning of its container, not changing its size.
top30Push object to the top of its container, not changing its size.
+ */ + public static final int layout_anchorGravity=0x7f020021; + /** + * The class name of a Behavior class defining special runtime behavior + * for this child view. + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int layout_behavior=0x7f020022; + /** + * Specifies how this view dodges the inset edges of the CoordinatorLayout. + *

Must be one or more (separated by '|') of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
all77Dodge all the inset edges.
bottom50Dodge the bottom inset edge.
end800005Dodge the end inset edge.
left3Dodge the left inset edge.
none0Don't dodge any edges
right5Dodge the right inset edge.
start800003Dodge the start inset edge.
top30Dodge the top inset edge.
+ */ + public static final int layout_dodgeInsetEdges=0x7f020023; + /** + * Specifies how this view insets the CoordinatorLayout and make some other views + * dodge it. + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
bottom50Inset the bottom edge.
end800005Inset the end edge.
left3Inset the left edge.
none0Don't inset.
right5Inset the right edge.
start800003Inset the start edge.
top30Inset the top edge.
+ */ + public static final int layout_insetEdge=0x7f020024; + /** + * The index of a keyline this view should position relative to. + * android:layout_gravity will affect how the view aligns to the + * specified keyline. + *

May be an integer value, such as "100". + */ + public static final int layout_keyline=0x7f020025; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int liteMode=0x7f020026; + /** + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
hybrid4
none0
normal1
satellite2
terrain3
+ */ + public static final int mapType=0x7f020027; + /** + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int scopeUris=0x7f020028; + /** + * Drawable to display behind the status bar when the view is set to draw behind it. + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + */ + public static final int statusBarBackground=0x7f020029; + /** + * Background color for SwipeRefreshLayout progress spinner. + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + */ + public static final int swipeRefreshLayoutProgressSpinnerBackgroundColor=0x7f02002a; + /** + * The index of the font in the tcc font file. If the font file referenced is not in the + * tcc format, this attribute needs not be specified. + *

May be an integer value, such as "100". + */ + public static final int ttcIndex=0x7f02002b; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiCompass=0x7f02002c; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiMapToolbar=0x7f02002d; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiRotateGestures=0x7f02002e; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiScrollGestures=0x7f02002f; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiScrollGesturesDuringRotateOrZoom=0x7f020030; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiTiltGestures=0x7f020031; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiZoomControls=0x7f020032; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiZoomGestures=0x7f020033; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int useViewLifecycle=0x7f020034; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int zOrderOnTop=0x7f020035; + } + public static final class color { + public static final int androidx_core_ripple_material_light=0x7f030000; + public static final int androidx_core_secondary_text_default_material_light=0x7f030001; + public static final int common_google_signin_btn_text_dark=0x7f030002; + public static final int common_google_signin_btn_text_dark_default=0x7f030003; + public static final int common_google_signin_btn_text_dark_disabled=0x7f030004; + public static final int common_google_signin_btn_text_dark_focused=0x7f030005; + public static final int common_google_signin_btn_text_dark_pressed=0x7f030006; + public static final int common_google_signin_btn_text_light=0x7f030007; + public static final int common_google_signin_btn_text_light_default=0x7f030008; + public static final int common_google_signin_btn_text_light_disabled=0x7f030009; + public static final int common_google_signin_btn_text_light_focused=0x7f03000a; + public static final int common_google_signin_btn_text_light_pressed=0x7f03000b; + public static final int common_google_signin_btn_tint=0x7f03000c; + public static final int notification_action_color_filter=0x7f03000d; + public static final int notification_icon_bg_color=0x7f03000e; + public static final int notification_material_background_media_default_color=0x7f03000f; + public static final int primary_text_default_material_dark=0x7f030010; + public static final int secondary_text_default_material_dark=0x7f030011; + } + public static final class dimen { + public static final int compat_button_inset_horizontal_material=0x7f040000; + public static final int compat_button_inset_vertical_material=0x7f040001; + public static final int compat_button_padding_horizontal_material=0x7f040002; + public static final int compat_button_padding_vertical_material=0x7f040003; + public static final int compat_control_corner_material=0x7f040004; + public static final int compat_notification_large_icon_max_height=0x7f040005; + public static final int compat_notification_large_icon_max_width=0x7f040006; + public static final int def_drawer_elevation=0x7f040007; + public static final int notification_action_icon_size=0x7f040008; + public static final int notification_action_text_size=0x7f040009; + public static final int notification_big_circle_margin=0x7f04000a; + public static final int notification_content_margin_start=0x7f04000b; + public static final int notification_large_icon_height=0x7f04000c; + public static final int notification_large_icon_width=0x7f04000d; + public static final int notification_main_column_padding_top=0x7f04000e; + public static final int notification_media_narrow_margin=0x7f04000f; + public static final int notification_right_icon_size=0x7f040010; + public static final int notification_right_side_padding_top=0x7f040011; + public static final int notification_small_icon_background_padding=0x7f040012; + public static final int notification_small_icon_size_as_large=0x7f040013; + public static final int notification_subtext_size=0x7f040014; + public static final int notification_top_pad=0x7f040015; + public static final int notification_top_pad_large_text=0x7f040016; + public static final int subtitle_corner_radius=0x7f040017; + public static final int subtitle_outline_width=0x7f040018; + public static final int subtitle_shadow_offset=0x7f040019; + public static final int subtitle_shadow_radius=0x7f04001a; + } + public static final class drawable { + public static final int common_full_open_on_phone=0x7f050000; + public static final int common_google_signin_btn_icon_dark=0x7f050001; + public static final int common_google_signin_btn_icon_dark_focused=0x7f050002; + public static final int common_google_signin_btn_icon_dark_normal=0x7f050003; + public static final int common_google_signin_btn_icon_dark_normal_background=0x7f050004; + public static final int common_google_signin_btn_icon_disabled=0x7f050005; + public static final int common_google_signin_btn_icon_light=0x7f050006; + public static final int common_google_signin_btn_icon_light_focused=0x7f050007; + public static final int common_google_signin_btn_icon_light_normal=0x7f050008; + public static final int common_google_signin_btn_icon_light_normal_background=0x7f050009; + public static final int common_google_signin_btn_text_dark=0x7f05000a; + public static final int common_google_signin_btn_text_dark_focused=0x7f05000b; + public static final int common_google_signin_btn_text_dark_normal=0x7f05000c; + public static final int common_google_signin_btn_text_dark_normal_background=0x7f05000d; + public static final int common_google_signin_btn_text_disabled=0x7f05000e; + public static final int common_google_signin_btn_text_light=0x7f05000f; + public static final int common_google_signin_btn_text_light_focused=0x7f050010; + public static final int common_google_signin_btn_text_light_normal=0x7f050011; + public static final int common_google_signin_btn_text_light_normal_background=0x7f050012; + public static final int googleg_disabled_color_18=0x7f050013; + public static final int googleg_standard_color_18=0x7f050014; + public static final int icon=0x7f050015; + public static final int notification_action_background=0x7f050016; + public static final int notification_bg=0x7f050017; + public static final int notification_bg_low=0x7f050018; + public static final int notification_bg_low_normal=0x7f050019; + public static final int notification_bg_low_pressed=0x7f05001a; + public static final int notification_bg_normal=0x7f05001b; + public static final int notification_bg_normal_pressed=0x7f05001c; + public static final int notification_icon_background=0x7f05001d; + public static final int notification_template_icon_bg=0x7f05001e; + public static final int notification_template_icon_low_bg=0x7f05001f; + public static final int notification_tile_bg=0x7f050020; + public static final int notify_panel_notification_icon_bg=0x7f050021; + } + public static final class id { + public static final int accessibility_action_clickable_span=0x7f060000; + public static final int accessibility_custom_action_0=0x7f060001; + public static final int accessibility_custom_action_1=0x7f060002; + public static final int accessibility_custom_action_10=0x7f060003; + public static final int accessibility_custom_action_11=0x7f060004; + public static final int accessibility_custom_action_12=0x7f060005; + public static final int accessibility_custom_action_13=0x7f060006; + public static final int accessibility_custom_action_14=0x7f060007; + public static final int accessibility_custom_action_15=0x7f060008; + public static final int accessibility_custom_action_16=0x7f060009; + public static final int accessibility_custom_action_17=0x7f06000a; + public static final int accessibility_custom_action_18=0x7f06000b; + public static final int accessibility_custom_action_19=0x7f06000c; + public static final int accessibility_custom_action_2=0x7f06000d; + public static final int accessibility_custom_action_20=0x7f06000e; + public static final int accessibility_custom_action_21=0x7f06000f; + public static final int accessibility_custom_action_22=0x7f060010; + public static final int accessibility_custom_action_23=0x7f060011; + public static final int accessibility_custom_action_24=0x7f060012; + public static final int accessibility_custom_action_25=0x7f060013; + public static final int accessibility_custom_action_26=0x7f060014; + public static final int accessibility_custom_action_27=0x7f060015; + public static final int accessibility_custom_action_28=0x7f060016; + public static final int accessibility_custom_action_29=0x7f060017; + public static final int accessibility_custom_action_3=0x7f060018; + public static final int accessibility_custom_action_30=0x7f060019; + public static final int accessibility_custom_action_31=0x7f06001a; + public static final int accessibility_custom_action_4=0x7f06001b; + public static final int accessibility_custom_action_5=0x7f06001c; + public static final int accessibility_custom_action_6=0x7f06001d; + public static final int accessibility_custom_action_7=0x7f06001e; + public static final int accessibility_custom_action_8=0x7f06001f; + public static final int accessibility_custom_action_9=0x7f060020; + public static final int action0=0x7f060021; + public static final int action_container=0x7f060022; + public static final int action_divider=0x7f060023; + public static final int action_image=0x7f060024; + public static final int action_text=0x7f060025; + public static final int actions=0x7f060026; + public static final int adjust_height=0x7f060027; + public static final int adjust_width=0x7f060028; + public static final int all=0x7f060029; + public static final int async=0x7f06002a; + public static final int auto=0x7f06002b; + public static final int blocking=0x7f06002c; + public static final int bottom=0x7f06002d; + public static final int cancel_action=0x7f06002e; + public static final int center=0x7f06002f; + public static final int center_horizontal=0x7f060030; + public static final int center_vertical=0x7f060031; + public static final int chronometer=0x7f060032; + public static final int clip_horizontal=0x7f060033; + public static final int clip_vertical=0x7f060034; + public static final int dark=0x7f060035; + public static final int dialog_button=0x7f060036; + public static final int end=0x7f060037; + public static final int end_padder=0x7f060038; + public static final int fill=0x7f060039; + public static final int fill_horizontal=0x7f06003a; + public static final int fill_vertical=0x7f06003b; + public static final int forever=0x7f06003c; + public static final int fragment_container_view_tag=0x7f06003d; + public static final int hybrid=0x7f06003e; + public static final int icon=0x7f06003f; + public static final int icon_group=0x7f060040; + public static final int icon_only=0x7f060041; + public static final int info=0x7f060042; + public static final int italic=0x7f060043; + public static final int left=0x7f060044; + public static final int light=0x7f060045; + public static final int line1=0x7f060046; + public static final int line3=0x7f060047; + public static final int media_actions=0x7f060048; + public static final int none=0x7f060049; + public static final int normal=0x7f06004a; + public static final int notification_background=0x7f06004b; + public static final int notification_main_column=0x7f06004c; + public static final int notification_main_column_container=0x7f06004d; + public static final int right=0x7f06004e; + public static final int right_icon=0x7f06004f; + public static final int right_side=0x7f060050; + public static final int satellite=0x7f060051; + public static final int standard=0x7f060052; + public static final int start=0x7f060053; + public static final int status_bar_latest_event_content=0x7f060054; + public static final int tag_accessibility_actions=0x7f060055; + public static final int tag_accessibility_clickable_spans=0x7f060056; + public static final int tag_accessibility_heading=0x7f060057; + public static final int tag_accessibility_pane_title=0x7f060058; + public static final int tag_screen_reader_focusable=0x7f060059; + public static final int tag_transition_group=0x7f06005a; + public static final int tag_unhandled_key_event_manager=0x7f06005b; + public static final int tag_unhandled_key_listeners=0x7f06005c; + public static final int terrain=0x7f06005d; + public static final int text=0x7f06005e; + public static final int text2=0x7f06005f; + public static final int time=0x7f060060; + public static final int title=0x7f060061; + public static final int top=0x7f060062; + public static final int visible_removing_fragment_view_tag=0x7f060063; + public static final int wide=0x7f060064; + } + public static final class integer { + public static final int cancel_button_image_alpha=0x7f070000; + public static final int google_play_services_version=0x7f070001; + public static final int status_bar_notification_info_maxnum=0x7f070002; + } + public static final class layout { + public static final int custom_dialog=0x7f080000; + public static final int notification_action=0x7f080001; + public static final int notification_action_tombstone=0x7f080002; + public static final int notification_media_action=0x7f080003; + public static final int notification_media_cancel_action=0x7f080004; + public static final int notification_template_big_media=0x7f080005; + public static final int notification_template_big_media_custom=0x7f080006; + public static final int notification_template_big_media_narrow=0x7f080007; + public static final int notification_template_big_media_narrow_custom=0x7f080008; + public static final int notification_template_custom_big=0x7f080009; + public static final int notification_template_icon_group=0x7f08000a; + public static final int notification_template_lines_media=0x7f08000b; + public static final int notification_template_media=0x7f08000c; + public static final int notification_template_media_custom=0x7f08000d; + public static final int notification_template_part_chronometer=0x7f08000e; + public static final int notification_template_part_time=0x7f08000f; + } + public static final class string { + public static final int common_google_play_services_enable_button=0x7f090000; + public static final int common_google_play_services_enable_text=0x7f090001; + public static final int common_google_play_services_enable_title=0x7f090002; + public static final int common_google_play_services_install_button=0x7f090003; + public static final int common_google_play_services_install_text=0x7f090004; + public static final int common_google_play_services_install_title=0x7f090005; + public static final int common_google_play_services_notification_channel_name=0x7f090006; + public static final int common_google_play_services_notification_ticker=0x7f090007; + public static final int common_google_play_services_unknown_issue=0x7f090008; + public static final int common_google_play_services_unsupported_text=0x7f090009; + public static final int common_google_play_services_update_button=0x7f09000a; + public static final int common_google_play_services_update_text=0x7f09000b; + public static final int common_google_play_services_update_title=0x7f09000c; + public static final int common_google_play_services_updating_text=0x7f09000d; + public static final int common_google_play_services_wear_update_text=0x7f09000e; + public static final int common_open_on_phone=0x7f09000f; + public static final int common_signin_button_text=0x7f090010; + public static final int common_signin_button_text_long=0x7f090011; + public static final int status_bar_notification_info_overflow=0x7f090012; + } + public static final class style { + public static final int LightTheme=0x7f0a0000; + public static final int LowerCaseMenu=0x7f0a0001; + public static final int TextAppearance_Compat_Notification=0x7f0a0002; + public static final int TextAppearance_Compat_Notification_Info=0x7f0a0003; + public static final int TextAppearance_Compat_Notification_Info_Media=0x7f0a0004; + public static final int TextAppearance_Compat_Notification_Line2=0x7f0a0005; + public static final int TextAppearance_Compat_Notification_Line2_Media=0x7f0a0006; + public static final int TextAppearance_Compat_Notification_Media=0x7f0a0007; + public static final int TextAppearance_Compat_Notification_Time=0x7f0a0008; + public static final int TextAppearance_Compat_Notification_Time_Media=0x7f0a0009; + public static final int TextAppearance_Compat_Notification_Title=0x7f0a000a; + public static final int TextAppearance_Compat_Notification_Title_Media=0x7f0a000b; + public static final int Widget_Compat_NotificationActionContainer=0x7f0a000c; + public static final int Widget_Compat_NotificationActionText=0x7f0a000d; + public static final int Widget_Support_CoordinatorLayout=0x7f0a000e; + } + public static final class styleable { + /** + * Attributes that can be used with a ColorStateListItem. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + *
AttributeDescription
{@link #ColorStateListItem_android_color android:color}
{@link #ColorStateListItem_android_alpha android:alpha}
{@link #ColorStateListItem_alpha reparto_izca.keymon.lat:alpha}Alpha multiplier applied to the base color.
+ * @see #ColorStateListItem_android_color + * @see #ColorStateListItem_android_alpha + * @see #ColorStateListItem_alpha + */ + public static final int[] ColorStateListItem={ + 0x010101a5, 0x0101031f, 0x7f020000 + }; + /** + *

+ * @attr description + * Base color for this state. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name android:color + */ + public static final int ColorStateListItem_android_color=0; + /** + *

This symbol is the offset where the {@link android.R.attr#alpha} + * attribute's value can be found in the {@link #ColorStateListItem} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:alpha + */ + public static final int ColorStateListItem_android_alpha=1; + /** + *

+ * @attr description + * Alpha multiplier applied to the base color. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:alpha + */ + public static final int ColorStateListItem_alpha=2; + /** + * Attributes that can be used with a CoordinatorLayout. + *

Includes the following attributes:

+ * + * + * + * + * + * + *
AttributeDescription
{@link #CoordinatorLayout_keylines reparto_izca.keymon.lat:keylines}A reference to an array of integers representing the + * locations of horizontal keylines in dp from the starting edge.
{@link #CoordinatorLayout_statusBarBackground reparto_izca.keymon.lat:statusBarBackground}Drawable to display behind the status bar when the view is set to draw behind it.
+ * @see #CoordinatorLayout_keylines + * @see #CoordinatorLayout_statusBarBackground + */ + public static final int[] CoordinatorLayout={ + 0x7f02001b, 0x7f020029 + }; + /** + *

+ * @attr description + * A reference to an array of integers representing the + * locations of horizontal keylines in dp from the starting edge. + * Child views can refer to these keylines for alignment using + * layout_keyline="index" where index is a 0-based index into + * this array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name reparto_izca.keymon.lat:keylines + */ + public static final int CoordinatorLayout_keylines=0; + /** + *

+ * @attr description + * Drawable to display behind the status bar when the view is set to draw behind it. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name reparto_izca.keymon.lat:statusBarBackground + */ + public static final int CoordinatorLayout_statusBarBackground=1; + /** + * Attributes that can be used with a CoordinatorLayout_Layout. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #CoordinatorLayout_Layout_android_layout_gravity android:layout_gravity}
{@link #CoordinatorLayout_Layout_layout_anchor reparto_izca.keymon.lat:layout_anchor}The id of an anchor view that this view should position relative to.
{@link #CoordinatorLayout_Layout_layout_anchorGravity reparto_izca.keymon.lat:layout_anchorGravity}Specifies how an object should position relative to an anchor, on both the X and Y axes, + * within its parent's bounds.
{@link #CoordinatorLayout_Layout_layout_behavior reparto_izca.keymon.lat:layout_behavior}The class name of a Behavior class defining special runtime behavior + * for this child view.
{@link #CoordinatorLayout_Layout_layout_dodgeInsetEdges reparto_izca.keymon.lat:layout_dodgeInsetEdges}Specifies how this view dodges the inset edges of the CoordinatorLayout.
{@link #CoordinatorLayout_Layout_layout_insetEdge reparto_izca.keymon.lat:layout_insetEdge}Specifies how this view insets the CoordinatorLayout and make some other views + * dodge it.
{@link #CoordinatorLayout_Layout_layout_keyline reparto_izca.keymon.lat:layout_keyline}The index of a keyline this view should position relative to.
+ * @see #CoordinatorLayout_Layout_android_layout_gravity + * @see #CoordinatorLayout_Layout_layout_anchor + * @see #CoordinatorLayout_Layout_layout_anchorGravity + * @see #CoordinatorLayout_Layout_layout_behavior + * @see #CoordinatorLayout_Layout_layout_dodgeInsetEdges + * @see #CoordinatorLayout_Layout_layout_insetEdge + * @see #CoordinatorLayout_Layout_layout_keyline + */ + public static final int[] CoordinatorLayout_Layout={ + 0x010100b3, 0x7f020020, 0x7f020021, 0x7f020022, + 0x7f020023, 0x7f020024, 0x7f020025 + }; + /** + *

This symbol is the offset where the {@link android.R.attr#layout_gravity} + * attribute's value can be found in the {@link #CoordinatorLayout_Layout} array. + * + *

Must be one or more (separated by '|') of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
bottom50
center11
center_horizontal1
center_vertical10
clip_horizontal8
clip_vertical80
end800005
fill77
fill_horizontal7
fill_vertical70
left3
right5
start800003
top30
+ * + * @attr name android:layout_gravity + */ + public static final int CoordinatorLayout_Layout_android_layout_gravity=0; + /** + *

+ * @attr description + * The id of an anchor view that this view should position relative to. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name reparto_izca.keymon.lat:layout_anchor + */ + public static final int CoordinatorLayout_Layout_layout_anchor=1; + /** + *

+ * @attr description + * Specifies how an object should position relative to an anchor, on both the X and Y axes, + * within its parent's bounds. + * + *

Must be one or more (separated by '|') of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
bottom50Push object to the bottom of its container, not changing its size.
center11Place the object in the center of its container in both the vertical and horizontal axis, not changing its size.
center_horizontal1Place object in the horizontal center of its container, not changing its size.
center_vertical10Place object in the vertical center of its container, not changing its size.
clip_horizontal8Additional option that can be set to have the left and/or right edges of + * the child clipped to its container's bounds. + * The clip will be based on the horizontal gravity: a left gravity will clip the right + * edge, a right gravity will clip the left edge, and neither will clip both edges.
clip_vertical80Additional option that can be set to have the top and/or bottom edges of + * the child clipped to its container's bounds. + * The clip will be based on the vertical gravity: a top gravity will clip the bottom + * edge, a bottom gravity will clip the top edge, and neither will clip both edges.
end800005Push object to the end of its container, not changing its size.
fill77Grow the horizontal and vertical size of the object if needed so it completely fills its container.
fill_horizontal7Grow the horizontal size of the object if needed so it completely fills its container.
fill_vertical70Grow the vertical size of the object if needed so it completely fills its container.
left3Push object to the left of its container, not changing its size.
right5Push object to the right of its container, not changing its size.
start800003Push object to the beginning of its container, not changing its size.
top30Push object to the top of its container, not changing its size.
+ * + * @attr name reparto_izca.keymon.lat:layout_anchorGravity + */ + public static final int CoordinatorLayout_Layout_layout_anchorGravity=2; + /** + *

+ * @attr description + * The class name of a Behavior class defining special runtime behavior + * for this child view. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_izca.keymon.lat:layout_behavior + */ + public static final int CoordinatorLayout_Layout_layout_behavior=3; + /** + *

+ * @attr description + * Specifies how this view dodges the inset edges of the CoordinatorLayout. + * + *

Must be one or more (separated by '|') of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
all77Dodge all the inset edges.
bottom50Dodge the bottom inset edge.
end800005Dodge the end inset edge.
left3Dodge the left inset edge.
none0Don't dodge any edges
right5Dodge the right inset edge.
start800003Dodge the start inset edge.
top30Dodge the top inset edge.
+ * + * @attr name reparto_izca.keymon.lat:layout_dodgeInsetEdges + */ + public static final int CoordinatorLayout_Layout_layout_dodgeInsetEdges=4; + /** + *

+ * @attr description + * Specifies how this view insets the CoordinatorLayout and make some other views + * dodge it. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
bottom50Inset the bottom edge.
end800005Inset the end edge.
left3Inset the left edge.
none0Don't inset.
right5Inset the right edge.
start800003Inset the start edge.
top30Inset the top edge.
+ * + * @attr name reparto_izca.keymon.lat:layout_insetEdge + */ + public static final int CoordinatorLayout_Layout_layout_insetEdge=5; + /** + *

+ * @attr description + * The index of a keyline this view should position relative to. + * android:layout_gravity will affect how the view aligns to the + * specified keyline. + * + *

May be an integer value, such as "100". + * + * @attr name reparto_izca.keymon.lat:layout_keyline + */ + public static final int CoordinatorLayout_Layout_layout_keyline=6; + /** + * Attributes that can be used with a DrawerLayout. + *

Includes the following attributes:

+ * + * + * + * + * + *
AttributeDescription
{@link #DrawerLayout_elevation reparto_izca.keymon.lat:elevation}
+ * @see #DrawerLayout_elevation + */ + public static final int[] DrawerLayout={ + 0x7f02000e + }; + /** + *

+ * @attr description + * The height difference between the drawer and the base surface. Only takes effect on API 21 and above + * + *

May be a dimension value, which is a floating point number appended with a + * unit such as "14.5sp". + * Available units are: px (pixels), dp (density-independent pixels), + * sp (scaled pixels based on preferred font size), in (inches), and + * mm (millimeters). + * + * @attr name reparto_izca.keymon.lat:elevation + */ + public static final int DrawerLayout_elevation=0; + /** + * Attributes that can be used with a FontFamily. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #FontFamily_fontProviderAuthority reparto_izca.keymon.lat:fontProviderAuthority}The authority of the Font Provider to be used for the request.
{@link #FontFamily_fontProviderCerts reparto_izca.keymon.lat:fontProviderCerts}The sets of hashes for the certificates the provider should be signed with.
{@link #FontFamily_fontProviderFetchStrategy reparto_izca.keymon.lat:fontProviderFetchStrategy}The strategy to be used when fetching font data from a font provider in XML layouts.
{@link #FontFamily_fontProviderFetchTimeout reparto_izca.keymon.lat:fontProviderFetchTimeout}The length of the timeout during fetching.
{@link #FontFamily_fontProviderPackage reparto_izca.keymon.lat:fontProviderPackage}The package for the Font Provider to be used for the request.
{@link #FontFamily_fontProviderQuery reparto_izca.keymon.lat:fontProviderQuery}The query to be sent over to the provider.
+ * @see #FontFamily_fontProviderAuthority + * @see #FontFamily_fontProviderCerts + * @see #FontFamily_fontProviderFetchStrategy + * @see #FontFamily_fontProviderFetchTimeout + * @see #FontFamily_fontProviderPackage + * @see #FontFamily_fontProviderQuery + */ + public static final int[] FontFamily={ + 0x7f020010, 0x7f020011, 0x7f020012, 0x7f020013, + 0x7f020014, 0x7f020015 + }; + /** + *

+ * @attr description + * The authority of the Font Provider to be used for the request. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_izca.keymon.lat:fontProviderAuthority + */ + public static final int FontFamily_fontProviderAuthority=0; + /** + *

+ * @attr description + * The sets of hashes for the certificates the provider should be signed with. This is + * used to verify the identity of the provider, and is only required if the provider is not + * part of the system image. This value may point to one list or a list of lists, where each + * individual list represents one collection of signature hashes. Refer to your font provider's + * documentation for these values. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name reparto_izca.keymon.lat:fontProviderCerts + */ + public static final int FontFamily_fontProviderCerts=1; + /** + *

+ * @attr description + * The strategy to be used when fetching font data from a font provider in XML layouts. + * This attribute is ignored when the resource is loaded from code, as it is equivalent to the + * choice of API between {@link + * androidx.core.content.res.ResourcesCompat#getFont(Context, int)} (blocking) and + * {@link + * androidx.core.content.res.ResourcesCompat#getFont(Context, int, FontCallback, Handler)} + * (async). + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + *
ConstantValueDescription
async1The async font fetch works as follows. + * First, check the local cache, then if the requeted font is not cached, trigger a + * request the font and continue with layout inflation. Once the font fetch succeeds, the + * target text view will be refreshed with the downloaded font data. The + * fontProviderFetchTimeout will be ignored if async loading is specified.
blocking0The blocking font fetch works as follows. + * First, check the local cache, then if the requested font is not cached, request the + * font from the provider and wait until it is finished. You can change the length of + * the timeout by modifying fontProviderFetchTimeout. If the timeout happens, the + * default typeface will be used instead.
+ * + * @attr name reparto_izca.keymon.lat:fontProviderFetchStrategy + */ + public static final int FontFamily_fontProviderFetchStrategy=2; + /** + *

+ * @attr description + * The length of the timeout during fetching. + * + *

May be an integer value, such as "100". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + *
ConstantValueDescription
foreverffffffffA special value for the timeout. In this case, the blocking font fetching will not + * timeout and wait until a reply is received from the font provider.
+ * + * @attr name reparto_izca.keymon.lat:fontProviderFetchTimeout + */ + public static final int FontFamily_fontProviderFetchTimeout=3; + /** + *

+ * @attr description + * The package for the Font Provider to be used for the request. This is used to verify + * the identity of the provider. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_izca.keymon.lat:fontProviderPackage + */ + public static final int FontFamily_fontProviderPackage=4; + /** + *

+ * @attr description + * The query to be sent over to the provider. Refer to your font provider's documentation + * on the format of this string. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_izca.keymon.lat:fontProviderQuery + */ + public static final int FontFamily_fontProviderQuery=5; + /** + * Attributes that can be used with a FontFamilyFont. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #FontFamilyFont_android_font android:font}
{@link #FontFamilyFont_android_fontWeight android:fontWeight}
{@link #FontFamilyFont_android_fontStyle android:fontStyle}
{@link #FontFamilyFont_android_ttcIndex android:ttcIndex}
{@link #FontFamilyFont_android_fontVariationSettings android:fontVariationSettings}
{@link #FontFamilyFont_font reparto_izca.keymon.lat:font}The reference to the font file to be used.
{@link #FontFamilyFont_fontStyle reparto_izca.keymon.lat:fontStyle}The style of the given font file.
{@link #FontFamilyFont_fontVariationSettings reparto_izca.keymon.lat:fontVariationSettings}The variation settings to be applied to the font.
{@link #FontFamilyFont_fontWeight reparto_izca.keymon.lat:fontWeight}The weight of the given font file.
{@link #FontFamilyFont_ttcIndex reparto_izca.keymon.lat:ttcIndex}The index of the font in the tcc font file.
+ * @see #FontFamilyFont_android_font + * @see #FontFamilyFont_android_fontWeight + * @see #FontFamilyFont_android_fontStyle + * @see #FontFamilyFont_android_ttcIndex + * @see #FontFamilyFont_android_fontVariationSettings + * @see #FontFamilyFont_font + * @see #FontFamilyFont_fontStyle + * @see #FontFamilyFont_fontVariationSettings + * @see #FontFamilyFont_fontWeight + * @see #FontFamilyFont_ttcIndex + */ + public static final int[] FontFamilyFont={ + 0x01010532, 0x01010533, 0x0101053f, 0x0101056f, + 0x01010570, 0x7f02000f, 0x7f020016, 0x7f020017, + 0x7f020018, 0x7f02002b + }; + /** + *

This symbol is the offset where the {@link android.R.attr#font} + * attribute's value can be found in the {@link #FontFamilyFont} array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name android:font + */ + public static final int FontFamilyFont_android_font=0; + /** + *

This symbol is the offset where the {@link android.R.attr#fontWeight} + * attribute's value can be found in the {@link #FontFamilyFont} array. + * + *

May be an integer value, such as "100". + * + * @attr name android:fontWeight + */ + public static final int FontFamilyFont_android_fontWeight=1; + /** + *

+ * @attr description + * References to the framework attrs + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + *
ConstantValueDescription
italic1
normal0
+ * + * @attr name android:fontStyle + */ + public static final int FontFamilyFont_android_fontStyle=2; + /** + *

This symbol is the offset where the {@link android.R.attr#ttcIndex} + * attribute's value can be found in the {@link #FontFamilyFont} array. + * + *

May be an integer value, such as "100". + * + * @attr name android:ttcIndex + */ + public static final int FontFamilyFont_android_ttcIndex=3; + /** + *

This symbol is the offset where the {@link android.R.attr#fontVariationSettings} + * attribute's value can be found in the {@link #FontFamilyFont} array. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name android:fontVariationSettings + */ + public static final int FontFamilyFont_android_fontVariationSettings=4; + /** + *

+ * @attr description + * The reference to the font file to be used. This should be a file in the res/font folder + * and should therefore have an R reference value. E.g. @font/myfont + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name reparto_izca.keymon.lat:font + */ + public static final int FontFamilyFont_font=5; + /** + *

+ * @attr description + * The style of the given font file. This will be used when the font is being loaded into + * the font stack and will override any style information in the font's header tables. If + * unspecified, the value in the font's header tables will be used. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + *
ConstantValueDescription
italic1
normal0
+ * + * @attr name reparto_izca.keymon.lat:fontStyle + */ + public static final int FontFamilyFont_fontStyle=6; + /** + *

+ * @attr description + * The variation settings to be applied to the font. The string should be in the following + * format: "'tag1' value1, 'tag2' value2, ...". If the default variation settings should be + * used, or the font used does not support variation settings, this attribute needs not be + * specified. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_izca.keymon.lat:fontVariationSettings + */ + public static final int FontFamilyFont_fontVariationSettings=7; + /** + *

+ * @attr description + * The weight of the given font file. This will be used when the font is being loaded into + * the font stack and will override any weight information in the font's header tables. Must + * be a positive number, a multiple of 100, and between 100 and 900, inclusive. The most + * common values are 400 for regular weight and 700 for bold weight. If unspecified, the value + * in the font's header tables will be used. + * + *

May be an integer value, such as "100". + * + * @attr name reparto_izca.keymon.lat:fontWeight + */ + public static final int FontFamilyFont_fontWeight=8; + /** + *

+ * @attr description + * The index of the font in the tcc font file. If the font file referenced is not in the + * tcc format, this attribute needs not be specified. + * + *

May be an integer value, such as "100". + * + * @attr name reparto_izca.keymon.lat:ttcIndex + */ + public static final int FontFamilyFont_ttcIndex=9; + /** + * Attributes that can be used with a Fragment. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + *
AttributeDescription
{@link #Fragment_android_name android:name}
{@link #Fragment_android_id android:id}
{@link #Fragment_android_tag android:tag}
+ * @see #Fragment_android_name + * @see #Fragment_android_id + * @see #Fragment_android_tag + */ + public static final int[] Fragment={ + 0x01010003, 0x010100d0, 0x010100d1 + }; + /** + *

This symbol is the offset where the {@link android.R.attr#name} + * attribute's value can be found in the {@link #Fragment} array. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name android:name + */ + public static final int Fragment_android_name=0; + /** + *

This symbol is the offset where the {@link android.R.attr#id} + * attribute's value can be found in the {@link #Fragment} array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name android:id + */ + public static final int Fragment_android_id=1; + /** + *

This symbol is the offset where the {@link android.R.attr#tag} + * attribute's value can be found in the {@link #Fragment} array. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name android:tag + */ + public static final int Fragment_android_tag=2; + /** + * Attributes that can be used with a FragmentContainerView. + *

Includes the following attributes:

+ * + * + * + * + * + * + *
AttributeDescription
{@link #FragmentContainerView_android_name android:name}
{@link #FragmentContainerView_android_tag android:tag}
+ * @see #FragmentContainerView_android_name + * @see #FragmentContainerView_android_tag + */ + public static final int[] FragmentContainerView={ + 0x01010003, 0x010100d1 + }; + /** + *

This symbol is the offset where the {@link android.R.attr#name} + * attribute's value can be found in the {@link #FragmentContainerView} array. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name android:name + */ + public static final int FragmentContainerView_android_name=0; + /** + *

This symbol is the offset where the {@link android.R.attr#tag} + * attribute's value can be found in the {@link #FragmentContainerView} array. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name android:tag + */ + public static final int FragmentContainerView_android_tag=1; + /** + * Attributes that can be used with a GradientColor. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #GradientColor_android_startColor android:startColor}
{@link #GradientColor_android_endColor android:endColor}
{@link #GradientColor_android_type android:type}
{@link #GradientColor_android_centerX android:centerX}
{@link #GradientColor_android_centerY android:centerY}
{@link #GradientColor_android_gradientRadius android:gradientRadius}
{@link #GradientColor_android_tileMode android:tileMode}
{@link #GradientColor_android_centerColor android:centerColor}
{@link #GradientColor_android_startX android:startX}
{@link #GradientColor_android_startY android:startY}
{@link #GradientColor_android_endX android:endX}
{@link #GradientColor_android_endY android:endY}
+ * @see #GradientColor_android_startColor + * @see #GradientColor_android_endColor + * @see #GradientColor_android_type + * @see #GradientColor_android_centerX + * @see #GradientColor_android_centerY + * @see #GradientColor_android_gradientRadius + * @see #GradientColor_android_tileMode + * @see #GradientColor_android_centerColor + * @see #GradientColor_android_startX + * @see #GradientColor_android_startY + * @see #GradientColor_android_endX + * @see #GradientColor_android_endY + */ + public static final int[] GradientColor={ + 0x0101019d, 0x0101019e, 0x010101a1, 0x010101a2, + 0x010101a3, 0x010101a4, 0x01010201, 0x0101020b, + 0x01010510, 0x01010511, 0x01010512, 0x01010513 + }; + /** + *

+ * @attr description + * Start color of the gradient. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name android:startColor + */ + public static final int GradientColor_android_startColor=0; + /** + *

+ * @attr description + * End color of the gradient. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name android:endColor + */ + public static final int GradientColor_android_endColor=1; + /** + *

+ * @attr description + * Type of gradient. The default type is linear. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
linear0
radial1
sweep2
+ * + * @attr name android:type + */ + public static final int GradientColor_android_type=2; + /** + *

+ * @attr description + * X coordinate of the center of the gradient within the path. + * + *

May be a floating point value, such as "1.2". + *

May be a fractional value, which is a floating point number appended with + * either % or %p, such as "14.5%". + * The % suffix always means a percentage of the base size; + * the optional %p suffix provides a size relative to some parent container. + * + * @attr name android:centerX + */ + public static final int GradientColor_android_centerX=3; + /** + *

+ * @attr description + * Y coordinate of the center of the gradient within the path. + * + *

May be a floating point value, such as "1.2". + *

May be a fractional value, which is a floating point number appended with + * either % or %p, such as "14.5%". + * The % suffix always means a percentage of the base size; + * the optional %p suffix provides a size relative to some parent container. + * + * @attr name android:centerY + */ + public static final int GradientColor_android_centerY=4; + /** + *

+ * @attr description + * Radius of the gradient, used only with radial gradient. + * + *

May be a floating point value, such as "1.2". + *

May be a dimension value, which is a floating point number appended with a + * unit such as "14.5sp". + * Available units are: px (pixels), dp (density-independent pixels), + * sp (scaled pixels based on preferred font size), in (inches), and + * mm (millimeters). + *

May be a fractional value, which is a floating point number appended with + * either % or %p, such as "14.5%". + * The % suffix always means a percentage of the base size; + * the optional %p suffix provides a size relative to some parent container. + * + * @attr name android:gradientRadius + */ + public static final int GradientColor_android_gradientRadius=5; + /** + *

+ * @attr description + * Defines the tile mode of the gradient. SweepGradient doesn't support tiling. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
clamp0
disabledffffffff
mirror2
repeat1
+ * + * @attr name android:tileMode + */ + public static final int GradientColor_android_tileMode=6; + /** + *

+ * @attr description + * Optional center color. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name android:centerColor + */ + public static final int GradientColor_android_centerColor=7; + /** + *

+ * @attr description + * X coordinate of the start point origin of the gradient. + * Defined in same coordinates as the path itself + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:startX + */ + public static final int GradientColor_android_startX=8; + /** + *

+ * @attr description + * Y coordinate of the start point of the gradient within the shape. + * Defined in same coordinates as the path itself + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:startY + */ + public static final int GradientColor_android_startY=9; + /** + *

+ * @attr description + * X coordinate of the end point origin of the gradient. + * Defined in same coordinates as the path itself + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:endX + */ + public static final int GradientColor_android_endX=10; + /** + *

+ * @attr description + * Y coordinate of the end point of the gradient within the shape. + * Defined in same coordinates as the path itself + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:endY + */ + public static final int GradientColor_android_endY=11; + /** + * Attributes that can be used with a GradientColorItem. + *

Includes the following attributes:

+ * + * + * + * + * + * + *
AttributeDescription
{@link #GradientColorItem_android_color android:color}
{@link #GradientColorItem_android_offset android:offset}
+ * @see #GradientColorItem_android_color + * @see #GradientColorItem_android_offset + */ + public static final int[] GradientColorItem={ + 0x010101a5, 0x01010514 + }; + /** + *

+ * @attr description + * The current color for the offset inside the gradient. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name android:color + */ + public static final int GradientColorItem_android_color=0; + /** + *

+ * @attr description + * The offset (or ratio) of this current color item inside the gradient. + * The value is only meaningful when it is between 0 and 1. + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:offset + */ + public static final int GradientColorItem_android_offset=1; + /** + * Attributes that can be used with a LoadingImageView. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + *
AttributeDescription
{@link #LoadingImageView_circleCrop reparto_izca.keymon.lat:circleCrop}
{@link #LoadingImageView_imageAspectRatio reparto_izca.keymon.lat:imageAspectRatio}
{@link #LoadingImageView_imageAspectRatioAdjust reparto_izca.keymon.lat:imageAspectRatioAdjust}
+ * @see #LoadingImageView_circleCrop + * @see #LoadingImageView_imageAspectRatio + * @see #LoadingImageView_imageAspectRatioAdjust + */ + public static final int[] LoadingImageView={ + 0x7f02000a, 0x7f020019, 0x7f02001a + }; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#circleCrop} + * attribute's value can be found in the {@link #LoadingImageView} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:circleCrop + */ + public static final int LoadingImageView_circleCrop=0; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#imageAspectRatio} + * attribute's value can be found in the {@link #LoadingImageView} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:imageAspectRatio + */ + public static final int LoadingImageView_imageAspectRatio=1; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#imageAspectRatioAdjust} + * attribute's value can be found in the {@link #LoadingImageView} array. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
adjust_height2
adjust_width1
none0
+ * + * @attr name reparto_izca.keymon.lat:imageAspectRatioAdjust + */ + public static final int LoadingImageView_imageAspectRatioAdjust=2; + /** + * Attributes that can be used with a MapAttrs. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #MapAttrs_ambientEnabled reparto_izca.keymon.lat:ambientEnabled}
{@link #MapAttrs_cameraBearing reparto_izca.keymon.lat:cameraBearing}
{@link #MapAttrs_cameraMaxZoomPreference reparto_izca.keymon.lat:cameraMaxZoomPreference}
{@link #MapAttrs_cameraMinZoomPreference reparto_izca.keymon.lat:cameraMinZoomPreference}
{@link #MapAttrs_cameraTargetLat reparto_izca.keymon.lat:cameraTargetLat}
{@link #MapAttrs_cameraTargetLng reparto_izca.keymon.lat:cameraTargetLng}
{@link #MapAttrs_cameraTilt reparto_izca.keymon.lat:cameraTilt}
{@link #MapAttrs_cameraZoom reparto_izca.keymon.lat:cameraZoom}
{@link #MapAttrs_latLngBoundsNorthEastLatitude reparto_izca.keymon.lat:latLngBoundsNorthEastLatitude}
{@link #MapAttrs_latLngBoundsNorthEastLongitude reparto_izca.keymon.lat:latLngBoundsNorthEastLongitude}
{@link #MapAttrs_latLngBoundsSouthWestLatitude reparto_izca.keymon.lat:latLngBoundsSouthWestLatitude}
{@link #MapAttrs_latLngBoundsSouthWestLongitude reparto_izca.keymon.lat:latLngBoundsSouthWestLongitude}
{@link #MapAttrs_liteMode reparto_izca.keymon.lat:liteMode}
{@link #MapAttrs_mapType reparto_izca.keymon.lat:mapType}
{@link #MapAttrs_uiCompass reparto_izca.keymon.lat:uiCompass}
{@link #MapAttrs_uiMapToolbar reparto_izca.keymon.lat:uiMapToolbar}
{@link #MapAttrs_uiRotateGestures reparto_izca.keymon.lat:uiRotateGestures}
{@link #MapAttrs_uiScrollGestures reparto_izca.keymon.lat:uiScrollGestures}
{@link #MapAttrs_uiScrollGesturesDuringRotateOrZoom reparto_izca.keymon.lat:uiScrollGesturesDuringRotateOrZoom}
{@link #MapAttrs_uiTiltGestures reparto_izca.keymon.lat:uiTiltGestures}
{@link #MapAttrs_uiZoomControls reparto_izca.keymon.lat:uiZoomControls}
{@link #MapAttrs_uiZoomGestures reparto_izca.keymon.lat:uiZoomGestures}
{@link #MapAttrs_useViewLifecycle reparto_izca.keymon.lat:useViewLifecycle}
{@link #MapAttrs_zOrderOnTop reparto_izca.keymon.lat:zOrderOnTop}
+ * @see #MapAttrs_ambientEnabled + * @see #MapAttrs_cameraBearing + * @see #MapAttrs_cameraMaxZoomPreference + * @see #MapAttrs_cameraMinZoomPreference + * @see #MapAttrs_cameraTargetLat + * @see #MapAttrs_cameraTargetLng + * @see #MapAttrs_cameraTilt + * @see #MapAttrs_cameraZoom + * @see #MapAttrs_latLngBoundsNorthEastLatitude + * @see #MapAttrs_latLngBoundsNorthEastLongitude + * @see #MapAttrs_latLngBoundsSouthWestLatitude + * @see #MapAttrs_latLngBoundsSouthWestLongitude + * @see #MapAttrs_liteMode + * @see #MapAttrs_mapType + * @see #MapAttrs_uiCompass + * @see #MapAttrs_uiMapToolbar + * @see #MapAttrs_uiRotateGestures + * @see #MapAttrs_uiScrollGestures + * @see #MapAttrs_uiScrollGesturesDuringRotateOrZoom + * @see #MapAttrs_uiTiltGestures + * @see #MapAttrs_uiZoomControls + * @see #MapAttrs_uiZoomGestures + * @see #MapAttrs_useViewLifecycle + * @see #MapAttrs_zOrderOnTop + */ + public static final int[] MapAttrs={ + 0x7f020001, 0x7f020003, 0x7f020004, 0x7f020005, + 0x7f020006, 0x7f020007, 0x7f020008, 0x7f020009, + 0x7f02001c, 0x7f02001d, 0x7f02001e, 0x7f02001f, + 0x7f020026, 0x7f020027, 0x7f02002c, 0x7f02002d, + 0x7f02002e, 0x7f02002f, 0x7f020030, 0x7f020031, + 0x7f020032, 0x7f020033, 0x7f020034, 0x7f020035 + }; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#ambientEnabled} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:ambientEnabled + */ + public static final int MapAttrs_ambientEnabled=0; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#cameraBearing} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:cameraBearing + */ + public static final int MapAttrs_cameraBearing=1; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#cameraMaxZoomPreference} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:cameraMaxZoomPreference + */ + public static final int MapAttrs_cameraMaxZoomPreference=2; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#cameraMinZoomPreference} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:cameraMinZoomPreference + */ + public static final int MapAttrs_cameraMinZoomPreference=3; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#cameraTargetLat} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:cameraTargetLat + */ + public static final int MapAttrs_cameraTargetLat=4; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#cameraTargetLng} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:cameraTargetLng + */ + public static final int MapAttrs_cameraTargetLng=5; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#cameraTilt} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:cameraTilt + */ + public static final int MapAttrs_cameraTilt=6; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#cameraZoom} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:cameraZoom + */ + public static final int MapAttrs_cameraZoom=7; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#latLngBoundsNorthEastLatitude} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:latLngBoundsNorthEastLatitude + */ + public static final int MapAttrs_latLngBoundsNorthEastLatitude=8; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#latLngBoundsNorthEastLongitude} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:latLngBoundsNorthEastLongitude + */ + public static final int MapAttrs_latLngBoundsNorthEastLongitude=9; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#latLngBoundsSouthWestLatitude} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:latLngBoundsSouthWestLatitude + */ + public static final int MapAttrs_latLngBoundsSouthWestLatitude=10; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#latLngBoundsSouthWestLongitude} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:latLngBoundsSouthWestLongitude + */ + public static final int MapAttrs_latLngBoundsSouthWestLongitude=11; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#liteMode} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:liteMode + */ + public static final int MapAttrs_liteMode=12; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#mapType} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
hybrid4
none0
normal1
satellite2
terrain3
+ * + * @attr name reparto_izca.keymon.lat:mapType + */ + public static final int MapAttrs_mapType=13; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiCompass} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiCompass + */ + public static final int MapAttrs_uiCompass=14; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiMapToolbar} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiMapToolbar + */ + public static final int MapAttrs_uiMapToolbar=15; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiRotateGestures} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiRotateGestures + */ + public static final int MapAttrs_uiRotateGestures=16; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiScrollGestures} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiScrollGestures + */ + public static final int MapAttrs_uiScrollGestures=17; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiScrollGesturesDuringRotateOrZoom} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiScrollGesturesDuringRotateOrZoom + */ + public static final int MapAttrs_uiScrollGesturesDuringRotateOrZoom=18; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiTiltGestures} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiTiltGestures + */ + public static final int MapAttrs_uiTiltGestures=19; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiZoomControls} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiZoomControls + */ + public static final int MapAttrs_uiZoomControls=20; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiZoomGestures} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiZoomGestures + */ + public static final int MapAttrs_uiZoomGestures=21; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#useViewLifecycle} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:useViewLifecycle + */ + public static final int MapAttrs_useViewLifecycle=22; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#zOrderOnTop} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:zOrderOnTop + */ + public static final int MapAttrs_zOrderOnTop=23; + /** + * Attributes that can be used with a SignInButton. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + *
AttributeDescription
{@link #SignInButton_buttonSize reparto_izca.keymon.lat:buttonSize}
{@link #SignInButton_colorScheme reparto_izca.keymon.lat:colorScheme}
{@link #SignInButton_scopeUris reparto_izca.keymon.lat:scopeUris}
+ * @see #SignInButton_buttonSize + * @see #SignInButton_colorScheme + * @see #SignInButton_scopeUris + */ + public static final int[] SignInButton={ + 0x7f020002, 0x7f02000b, 0x7f020028 + }; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#buttonSize} + * attribute's value can be found in the {@link #SignInButton} array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
icon_only2
standard0
wide1
+ * + * @attr name reparto_izca.keymon.lat:buttonSize + */ + public static final int SignInButton_buttonSize=0; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#colorScheme} + * attribute's value can be found in the {@link #SignInButton} array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
auto2
dark0
light1
+ * + * @attr name reparto_izca.keymon.lat:colorScheme + */ + public static final int SignInButton_colorScheme=1; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#scopeUris} + * attribute's value can be found in the {@link #SignInButton} array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_izca.keymon.lat:scopeUris + */ + public static final int SignInButton_scopeUris=2; + /** + * Attributes that can be used with a SwipeRefreshLayout. + *

Includes the following attributes:

+ * + * + * + * + * + *
AttributeDescription
{@link #SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor reparto_izca.keymon.lat:swipeRefreshLayoutProgressSpinnerBackgroundColor}Background color for SwipeRefreshLayout progress spinner.
+ * @see #SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor + */ + public static final int[] SwipeRefreshLayout={ + 0x7f02002a + }; + /** + *

+ * @attr description + * Background color for SwipeRefreshLayout progress spinner. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name reparto_izca.keymon.lat:swipeRefreshLayoutProgressSpinnerBackgroundColor + */ + public static final int SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor=0; + } + public static final class xml { + public static final int provider_paths=0x7f0c0000; + } +} \ No newline at end of file diff --git a/B4A/Objects/gen/androidx/core/R.java b/B4A/Objects/gen/androidx/core/R.java new file mode 100644 index 0000000..dd5409d --- /dev/null +++ b/B4A/Objects/gen/androidx/core/R.java @@ -0,0 +1,2121 @@ +/* AUTO-GENERATED FILE. DO NOT MODIFY. + * + * This class was automatically generated by the + * aapt tool from the resource data it found. It + * should not be modified by hand. + */ + +package androidx.core; + +public final class R { + public static final class anim { + public static final int fragment_close_enter=0x7f010000; + public static final int fragment_close_exit=0x7f010001; + public static final int fragment_fade_enter=0x7f010002; + public static final int fragment_fade_exit=0x7f010003; + public static final int fragment_fast_out_extra_slow_in=0x7f010004; + public static final int fragment_open_enter=0x7f010005; + public static final int fragment_open_exit=0x7f010006; + } + public static final class attr { + /** + * Alpha multiplier applied to the base color. + *

May be a floating point value, such as "1.2". + */ + public static final int alpha=0x7f020000; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int ambientEnabled=0x7f020001; + /** + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
icon_only2
standard0
wide1
+ */ + public static final int buttonSize=0x7f020002; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraBearing=0x7f020003; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraMaxZoomPreference=0x7f020004; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraMinZoomPreference=0x7f020005; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraTargetLat=0x7f020006; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraTargetLng=0x7f020007; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraTilt=0x7f020008; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraZoom=0x7f020009; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int circleCrop=0x7f02000a; + /** + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
auto2
dark0
light1
+ */ + public static final int colorScheme=0x7f02000b; + /** + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int coordinatorLayoutStyle=0x7f02000c; + /** + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int drawerLayoutStyle=0x7f02000d; + /** + *

May be a dimension value, which is a floating point number appended with a + * unit such as "14.5sp". + * Available units are: px (pixels), dp (density-independent pixels), + * sp (scaled pixels based on preferred font size), in (inches), and + * mm (millimeters). + */ + public static final int elevation=0x7f02000e; + /** + * The reference to the font file to be used. This should be a file in the res/font folder + * and should therefore have an R reference value. E.g. @font/myfont + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int font=0x7f02000f; + /** + * The authority of the Font Provider to be used for the request. + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int fontProviderAuthority=0x7f020010; + /** + * The sets of hashes for the certificates the provider should be signed with. This is + * used to verify the identity of the provider, and is only required if the provider is not + * part of the system image. This value may point to one list or a list of lists, where each + * individual list represents one collection of signature hashes. Refer to your font provider's + * documentation for these values. + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int fontProviderCerts=0x7f020011; + /** + * The strategy to be used when fetching font data from a font provider in XML layouts. + * This attribute is ignored when the resource is loaded from code, as it is equivalent to the + * choice of API between {@link + * androidx.core.content.res.ResourcesCompat#getFont(Context, int)} (blocking) and + * {@link + * androidx.core.content.res.ResourcesCompat#getFont(Context, int, FontCallback, Handler)} + * (async). + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + *
ConstantValueDescription
async1The async font fetch works as follows. + * First, check the local cache, then if the requeted font is not cached, trigger a + * request the font and continue with layout inflation. Once the font fetch succeeds, the + * target text view will be refreshed with the downloaded font data. The + * fontProviderFetchTimeout will be ignored if async loading is specified.
blocking0The blocking font fetch works as follows. + * First, check the local cache, then if the requested font is not cached, request the + * font from the provider and wait until it is finished. You can change the length of + * the timeout by modifying fontProviderFetchTimeout. If the timeout happens, the + * default typeface will be used instead.
+ */ + public static final int fontProviderFetchStrategy=0x7f020012; + /** + * The length of the timeout during fetching. + *

May be an integer value, such as "100". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + *
ConstantValueDescription
foreverffffffffA special value for the timeout. In this case, the blocking font fetching will not + * timeout and wait until a reply is received from the font provider.
+ */ + public static final int fontProviderFetchTimeout=0x7f020013; + /** + * The package for the Font Provider to be used for the request. This is used to verify + * the identity of the provider. + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int fontProviderPackage=0x7f020014; + /** + * The query to be sent over to the provider. Refer to your font provider's documentation + * on the format of this string. + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int fontProviderQuery=0x7f020015; + /** + * The style of the given font file. This will be used when the font is being loaded into + * the font stack and will override any style information in the font's header tables. If + * unspecified, the value in the font's header tables will be used. + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + *
ConstantValueDescription
italic1
normal0
+ */ + public static final int fontStyle=0x7f020016; + /** + * The variation settings to be applied to the font. The string should be in the following + * format: "'tag1' value1, 'tag2' value2, ...". If the default variation settings should be + * used, or the font used does not support variation settings, this attribute needs not be + * specified. + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int fontVariationSettings=0x7f020017; + /** + * The weight of the given font file. This will be used when the font is being loaded into + * the font stack and will override any weight information in the font's header tables. Must + * be a positive number, a multiple of 100, and between 100 and 900, inclusive. The most + * common values are 400 for regular weight and 700 for bold weight. If unspecified, the value + * in the font's header tables will be used. + *

May be an integer value, such as "100". + */ + public static final int fontWeight=0x7f020018; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int imageAspectRatio=0x7f020019; + /** + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
adjust_height2
adjust_width1
none0
+ */ + public static final int imageAspectRatioAdjust=0x7f02001a; + /** + * A reference to an array of integers representing the + * locations of horizontal keylines in dp from the starting edge. + * Child views can refer to these keylines for alignment using + * layout_keyline="index" where index is a 0-based index into + * this array. + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int keylines=0x7f02001b; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int latLngBoundsNorthEastLatitude=0x7f02001c; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int latLngBoundsNorthEastLongitude=0x7f02001d; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int latLngBoundsSouthWestLatitude=0x7f02001e; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int latLngBoundsSouthWestLongitude=0x7f02001f; + /** + * The id of an anchor view that this view should position relative to. + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int layout_anchor=0x7f020020; + /** + * Specifies how an object should position relative to an anchor, on both the X and Y axes, + * within its parent's bounds. + *

Must be one or more (separated by '|') of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
bottom50Push object to the bottom of its container, not changing its size.
center11Place the object in the center of its container in both the vertical and horizontal axis, not changing its size.
center_horizontal1Place object in the horizontal center of its container, not changing its size.
center_vertical10Place object in the vertical center of its container, not changing its size.
clip_horizontal8Additional option that can be set to have the left and/or right edges of + * the child clipped to its container's bounds. + * The clip will be based on the horizontal gravity: a left gravity will clip the right + * edge, a right gravity will clip the left edge, and neither will clip both edges.
clip_vertical80Additional option that can be set to have the top and/or bottom edges of + * the child clipped to its container's bounds. + * The clip will be based on the vertical gravity: a top gravity will clip the bottom + * edge, a bottom gravity will clip the top edge, and neither will clip both edges.
end800005Push object to the end of its container, not changing its size.
fill77Grow the horizontal and vertical size of the object if needed so it completely fills its container.
fill_horizontal7Grow the horizontal size of the object if needed so it completely fills its container.
fill_vertical70Grow the vertical size of the object if needed so it completely fills its container.
left3Push object to the left of its container, not changing its size.
right5Push object to the right of its container, not changing its size.
start800003Push object to the beginning of its container, not changing its size.
top30Push object to the top of its container, not changing its size.
+ */ + public static final int layout_anchorGravity=0x7f020021; + /** + * The class name of a Behavior class defining special runtime behavior + * for this child view. + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int layout_behavior=0x7f020022; + /** + * Specifies how this view dodges the inset edges of the CoordinatorLayout. + *

Must be one or more (separated by '|') of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
all77Dodge all the inset edges.
bottom50Dodge the bottom inset edge.
end800005Dodge the end inset edge.
left3Dodge the left inset edge.
none0Don't dodge any edges
right5Dodge the right inset edge.
start800003Dodge the start inset edge.
top30Dodge the top inset edge.
+ */ + public static final int layout_dodgeInsetEdges=0x7f020023; + /** + * Specifies how this view insets the CoordinatorLayout and make some other views + * dodge it. + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
bottom50Inset the bottom edge.
end800005Inset the end edge.
left3Inset the left edge.
none0Don't inset.
right5Inset the right edge.
start800003Inset the start edge.
top30Inset the top edge.
+ */ + public static final int layout_insetEdge=0x7f020024; + /** + * The index of a keyline this view should position relative to. + * android:layout_gravity will affect how the view aligns to the + * specified keyline. + *

May be an integer value, such as "100". + */ + public static final int layout_keyline=0x7f020025; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int liteMode=0x7f020026; + /** + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
hybrid4
none0
normal1
satellite2
terrain3
+ */ + public static final int mapType=0x7f020027; + /** + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int scopeUris=0x7f020028; + /** + * Drawable to display behind the status bar when the view is set to draw behind it. + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + */ + public static final int statusBarBackground=0x7f020029; + /** + * Background color for SwipeRefreshLayout progress spinner. + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + */ + public static final int swipeRefreshLayoutProgressSpinnerBackgroundColor=0x7f02002a; + /** + * The index of the font in the tcc font file. If the font file referenced is not in the + * tcc format, this attribute needs not be specified. + *

May be an integer value, such as "100". + */ + public static final int ttcIndex=0x7f02002b; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiCompass=0x7f02002c; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiMapToolbar=0x7f02002d; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiRotateGestures=0x7f02002e; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiScrollGestures=0x7f02002f; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiScrollGesturesDuringRotateOrZoom=0x7f020030; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiTiltGestures=0x7f020031; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiZoomControls=0x7f020032; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiZoomGestures=0x7f020033; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int useViewLifecycle=0x7f020034; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int zOrderOnTop=0x7f020035; + } + public static final class color { + public static final int androidx_core_ripple_material_light=0x7f030000; + public static final int androidx_core_secondary_text_default_material_light=0x7f030001; + public static final int common_google_signin_btn_text_dark=0x7f030002; + public static final int common_google_signin_btn_text_dark_default=0x7f030003; + public static final int common_google_signin_btn_text_dark_disabled=0x7f030004; + public static final int common_google_signin_btn_text_dark_focused=0x7f030005; + public static final int common_google_signin_btn_text_dark_pressed=0x7f030006; + public static final int common_google_signin_btn_text_light=0x7f030007; + public static final int common_google_signin_btn_text_light_default=0x7f030008; + public static final int common_google_signin_btn_text_light_disabled=0x7f030009; + public static final int common_google_signin_btn_text_light_focused=0x7f03000a; + public static final int common_google_signin_btn_text_light_pressed=0x7f03000b; + public static final int common_google_signin_btn_tint=0x7f03000c; + public static final int notification_action_color_filter=0x7f03000d; + public static final int notification_icon_bg_color=0x7f03000e; + public static final int notification_material_background_media_default_color=0x7f03000f; + public static final int primary_text_default_material_dark=0x7f030010; + public static final int secondary_text_default_material_dark=0x7f030011; + } + public static final class dimen { + public static final int compat_button_inset_horizontal_material=0x7f040000; + public static final int compat_button_inset_vertical_material=0x7f040001; + public static final int compat_button_padding_horizontal_material=0x7f040002; + public static final int compat_button_padding_vertical_material=0x7f040003; + public static final int compat_control_corner_material=0x7f040004; + public static final int compat_notification_large_icon_max_height=0x7f040005; + public static final int compat_notification_large_icon_max_width=0x7f040006; + public static final int def_drawer_elevation=0x7f040007; + public static final int notification_action_icon_size=0x7f040008; + public static final int notification_action_text_size=0x7f040009; + public static final int notification_big_circle_margin=0x7f04000a; + public static final int notification_content_margin_start=0x7f04000b; + public static final int notification_large_icon_height=0x7f04000c; + public static final int notification_large_icon_width=0x7f04000d; + public static final int notification_main_column_padding_top=0x7f04000e; + public static final int notification_media_narrow_margin=0x7f04000f; + public static final int notification_right_icon_size=0x7f040010; + public static final int notification_right_side_padding_top=0x7f040011; + public static final int notification_small_icon_background_padding=0x7f040012; + public static final int notification_small_icon_size_as_large=0x7f040013; + public static final int notification_subtext_size=0x7f040014; + public static final int notification_top_pad=0x7f040015; + public static final int notification_top_pad_large_text=0x7f040016; + public static final int subtitle_corner_radius=0x7f040017; + public static final int subtitle_outline_width=0x7f040018; + public static final int subtitle_shadow_offset=0x7f040019; + public static final int subtitle_shadow_radius=0x7f04001a; + } + public static final class drawable { + public static final int common_full_open_on_phone=0x7f050000; + public static final int common_google_signin_btn_icon_dark=0x7f050001; + public static final int common_google_signin_btn_icon_dark_focused=0x7f050002; + public static final int common_google_signin_btn_icon_dark_normal=0x7f050003; + public static final int common_google_signin_btn_icon_dark_normal_background=0x7f050004; + public static final int common_google_signin_btn_icon_disabled=0x7f050005; + public static final int common_google_signin_btn_icon_light=0x7f050006; + public static final int common_google_signin_btn_icon_light_focused=0x7f050007; + public static final int common_google_signin_btn_icon_light_normal=0x7f050008; + public static final int common_google_signin_btn_icon_light_normal_background=0x7f050009; + public static final int common_google_signin_btn_text_dark=0x7f05000a; + public static final int common_google_signin_btn_text_dark_focused=0x7f05000b; + public static final int common_google_signin_btn_text_dark_normal=0x7f05000c; + public static final int common_google_signin_btn_text_dark_normal_background=0x7f05000d; + public static final int common_google_signin_btn_text_disabled=0x7f05000e; + public static final int common_google_signin_btn_text_light=0x7f05000f; + public static final int common_google_signin_btn_text_light_focused=0x7f050010; + public static final int common_google_signin_btn_text_light_normal=0x7f050011; + public static final int common_google_signin_btn_text_light_normal_background=0x7f050012; + public static final int googleg_disabled_color_18=0x7f050013; + public static final int googleg_standard_color_18=0x7f050014; + public static final int icon=0x7f050015; + public static final int notification_action_background=0x7f050016; + public static final int notification_bg=0x7f050017; + public static final int notification_bg_low=0x7f050018; + public static final int notification_bg_low_normal=0x7f050019; + public static final int notification_bg_low_pressed=0x7f05001a; + public static final int notification_bg_normal=0x7f05001b; + public static final int notification_bg_normal_pressed=0x7f05001c; + public static final int notification_icon_background=0x7f05001d; + public static final int notification_template_icon_bg=0x7f05001e; + public static final int notification_template_icon_low_bg=0x7f05001f; + public static final int notification_tile_bg=0x7f050020; + public static final int notify_panel_notification_icon_bg=0x7f050021; + } + public static final class id { + public static final int accessibility_action_clickable_span=0x7f060000; + public static final int accessibility_custom_action_0=0x7f060001; + public static final int accessibility_custom_action_1=0x7f060002; + public static final int accessibility_custom_action_10=0x7f060003; + public static final int accessibility_custom_action_11=0x7f060004; + public static final int accessibility_custom_action_12=0x7f060005; + public static final int accessibility_custom_action_13=0x7f060006; + public static final int accessibility_custom_action_14=0x7f060007; + public static final int accessibility_custom_action_15=0x7f060008; + public static final int accessibility_custom_action_16=0x7f060009; + public static final int accessibility_custom_action_17=0x7f06000a; + public static final int accessibility_custom_action_18=0x7f06000b; + public static final int accessibility_custom_action_19=0x7f06000c; + public static final int accessibility_custom_action_2=0x7f06000d; + public static final int accessibility_custom_action_20=0x7f06000e; + public static final int accessibility_custom_action_21=0x7f06000f; + public static final int accessibility_custom_action_22=0x7f060010; + public static final int accessibility_custom_action_23=0x7f060011; + public static final int accessibility_custom_action_24=0x7f060012; + public static final int accessibility_custom_action_25=0x7f060013; + public static final int accessibility_custom_action_26=0x7f060014; + public static final int accessibility_custom_action_27=0x7f060015; + public static final int accessibility_custom_action_28=0x7f060016; + public static final int accessibility_custom_action_29=0x7f060017; + public static final int accessibility_custom_action_3=0x7f060018; + public static final int accessibility_custom_action_30=0x7f060019; + public static final int accessibility_custom_action_31=0x7f06001a; + public static final int accessibility_custom_action_4=0x7f06001b; + public static final int accessibility_custom_action_5=0x7f06001c; + public static final int accessibility_custom_action_6=0x7f06001d; + public static final int accessibility_custom_action_7=0x7f06001e; + public static final int accessibility_custom_action_8=0x7f06001f; + public static final int accessibility_custom_action_9=0x7f060020; + public static final int action0=0x7f060021; + public static final int action_container=0x7f060022; + public static final int action_divider=0x7f060023; + public static final int action_image=0x7f060024; + public static final int action_text=0x7f060025; + public static final int actions=0x7f060026; + public static final int adjust_height=0x7f060027; + public static final int adjust_width=0x7f060028; + public static final int all=0x7f060029; + public static final int async=0x7f06002a; + public static final int auto=0x7f06002b; + public static final int blocking=0x7f06002c; + public static final int bottom=0x7f06002d; + public static final int cancel_action=0x7f06002e; + public static final int center=0x7f06002f; + public static final int center_horizontal=0x7f060030; + public static final int center_vertical=0x7f060031; + public static final int chronometer=0x7f060032; + public static final int clip_horizontal=0x7f060033; + public static final int clip_vertical=0x7f060034; + public static final int dark=0x7f060035; + public static final int dialog_button=0x7f060036; + public static final int end=0x7f060037; + public static final int end_padder=0x7f060038; + public static final int fill=0x7f060039; + public static final int fill_horizontal=0x7f06003a; + public static final int fill_vertical=0x7f06003b; + public static final int forever=0x7f06003c; + public static final int fragment_container_view_tag=0x7f06003d; + public static final int hybrid=0x7f06003e; + public static final int icon=0x7f06003f; + public static final int icon_group=0x7f060040; + public static final int icon_only=0x7f060041; + public static final int info=0x7f060042; + public static final int italic=0x7f060043; + public static final int left=0x7f060044; + public static final int light=0x7f060045; + public static final int line1=0x7f060046; + public static final int line3=0x7f060047; + public static final int media_actions=0x7f060048; + public static final int none=0x7f060049; + public static final int normal=0x7f06004a; + public static final int notification_background=0x7f06004b; + public static final int notification_main_column=0x7f06004c; + public static final int notification_main_column_container=0x7f06004d; + public static final int right=0x7f06004e; + public static final int right_icon=0x7f06004f; + public static final int right_side=0x7f060050; + public static final int satellite=0x7f060051; + public static final int standard=0x7f060052; + public static final int start=0x7f060053; + public static final int status_bar_latest_event_content=0x7f060054; + public static final int tag_accessibility_actions=0x7f060055; + public static final int tag_accessibility_clickable_spans=0x7f060056; + public static final int tag_accessibility_heading=0x7f060057; + public static final int tag_accessibility_pane_title=0x7f060058; + public static final int tag_screen_reader_focusable=0x7f060059; + public static final int tag_transition_group=0x7f06005a; + public static final int tag_unhandled_key_event_manager=0x7f06005b; + public static final int tag_unhandled_key_listeners=0x7f06005c; + public static final int terrain=0x7f06005d; + public static final int text=0x7f06005e; + public static final int text2=0x7f06005f; + public static final int time=0x7f060060; + public static final int title=0x7f060061; + public static final int top=0x7f060062; + public static final int visible_removing_fragment_view_tag=0x7f060063; + public static final int wide=0x7f060064; + } + public static final class integer { + public static final int cancel_button_image_alpha=0x7f070000; + public static final int google_play_services_version=0x7f070001; + public static final int status_bar_notification_info_maxnum=0x7f070002; + } + public static final class layout { + public static final int custom_dialog=0x7f080000; + public static final int notification_action=0x7f080001; + public static final int notification_action_tombstone=0x7f080002; + public static final int notification_media_action=0x7f080003; + public static final int notification_media_cancel_action=0x7f080004; + public static final int notification_template_big_media=0x7f080005; + public static final int notification_template_big_media_custom=0x7f080006; + public static final int notification_template_big_media_narrow=0x7f080007; + public static final int notification_template_big_media_narrow_custom=0x7f080008; + public static final int notification_template_custom_big=0x7f080009; + public static final int notification_template_icon_group=0x7f08000a; + public static final int notification_template_lines_media=0x7f08000b; + public static final int notification_template_media=0x7f08000c; + public static final int notification_template_media_custom=0x7f08000d; + public static final int notification_template_part_chronometer=0x7f08000e; + public static final int notification_template_part_time=0x7f08000f; + } + public static final class string { + public static final int common_google_play_services_enable_button=0x7f090000; + public static final int common_google_play_services_enable_text=0x7f090001; + public static final int common_google_play_services_enable_title=0x7f090002; + public static final int common_google_play_services_install_button=0x7f090003; + public static final int common_google_play_services_install_text=0x7f090004; + public static final int common_google_play_services_install_title=0x7f090005; + public static final int common_google_play_services_notification_channel_name=0x7f090006; + public static final int common_google_play_services_notification_ticker=0x7f090007; + public static final int common_google_play_services_unknown_issue=0x7f090008; + public static final int common_google_play_services_unsupported_text=0x7f090009; + public static final int common_google_play_services_update_button=0x7f09000a; + public static final int common_google_play_services_update_text=0x7f09000b; + public static final int common_google_play_services_update_title=0x7f09000c; + public static final int common_google_play_services_updating_text=0x7f09000d; + public static final int common_google_play_services_wear_update_text=0x7f09000e; + public static final int common_open_on_phone=0x7f09000f; + public static final int common_signin_button_text=0x7f090010; + public static final int common_signin_button_text_long=0x7f090011; + public static final int status_bar_notification_info_overflow=0x7f090012; + } + public static final class style { + public static final int LightTheme=0x7f0a0000; + public static final int LowerCaseMenu=0x7f0a0001; + public static final int TextAppearance_Compat_Notification=0x7f0a0002; + public static final int TextAppearance_Compat_Notification_Info=0x7f0a0003; + public static final int TextAppearance_Compat_Notification_Info_Media=0x7f0a0004; + public static final int TextAppearance_Compat_Notification_Line2=0x7f0a0005; + public static final int TextAppearance_Compat_Notification_Line2_Media=0x7f0a0006; + public static final int TextAppearance_Compat_Notification_Media=0x7f0a0007; + public static final int TextAppearance_Compat_Notification_Time=0x7f0a0008; + public static final int TextAppearance_Compat_Notification_Time_Media=0x7f0a0009; + public static final int TextAppearance_Compat_Notification_Title=0x7f0a000a; + public static final int TextAppearance_Compat_Notification_Title_Media=0x7f0a000b; + public static final int Widget_Compat_NotificationActionContainer=0x7f0a000c; + public static final int Widget_Compat_NotificationActionText=0x7f0a000d; + public static final int Widget_Support_CoordinatorLayout=0x7f0a000e; + } + public static final class styleable { + /** + * Attributes that can be used with a ColorStateListItem. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + *
AttributeDescription
{@link #ColorStateListItem_android_color android:color}
{@link #ColorStateListItem_android_alpha android:alpha}
{@link #ColorStateListItem_alpha reparto_izca.keymon.lat:alpha}Alpha multiplier applied to the base color.
+ * @see #ColorStateListItem_android_color + * @see #ColorStateListItem_android_alpha + * @see #ColorStateListItem_alpha + */ + public static final int[] ColorStateListItem={ + 0x010101a5, 0x0101031f, 0x7f020000 + }; + /** + *

+ * @attr description + * Base color for this state. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name android:color + */ + public static final int ColorStateListItem_android_color=0; + /** + *

This symbol is the offset where the {@link android.R.attr#alpha} + * attribute's value can be found in the {@link #ColorStateListItem} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:alpha + */ + public static final int ColorStateListItem_android_alpha=1; + /** + *

+ * @attr description + * Alpha multiplier applied to the base color. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:alpha + */ + public static final int ColorStateListItem_alpha=2; + /** + * Attributes that can be used with a CoordinatorLayout. + *

Includes the following attributes:

+ * + * + * + * + * + * + *
AttributeDescription
{@link #CoordinatorLayout_keylines reparto_izca.keymon.lat:keylines}A reference to an array of integers representing the + * locations of horizontal keylines in dp from the starting edge.
{@link #CoordinatorLayout_statusBarBackground reparto_izca.keymon.lat:statusBarBackground}Drawable to display behind the status bar when the view is set to draw behind it.
+ * @see #CoordinatorLayout_keylines + * @see #CoordinatorLayout_statusBarBackground + */ + public static final int[] CoordinatorLayout={ + 0x7f02001b, 0x7f020029 + }; + /** + *

+ * @attr description + * A reference to an array of integers representing the + * locations of horizontal keylines in dp from the starting edge. + * Child views can refer to these keylines for alignment using + * layout_keyline="index" where index is a 0-based index into + * this array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name reparto_izca.keymon.lat:keylines + */ + public static final int CoordinatorLayout_keylines=0; + /** + *

+ * @attr description + * Drawable to display behind the status bar when the view is set to draw behind it. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name reparto_izca.keymon.lat:statusBarBackground + */ + public static final int CoordinatorLayout_statusBarBackground=1; + /** + * Attributes that can be used with a CoordinatorLayout_Layout. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #CoordinatorLayout_Layout_android_layout_gravity android:layout_gravity}
{@link #CoordinatorLayout_Layout_layout_anchor reparto_izca.keymon.lat:layout_anchor}The id of an anchor view that this view should position relative to.
{@link #CoordinatorLayout_Layout_layout_anchorGravity reparto_izca.keymon.lat:layout_anchorGravity}Specifies how an object should position relative to an anchor, on both the X and Y axes, + * within its parent's bounds.
{@link #CoordinatorLayout_Layout_layout_behavior reparto_izca.keymon.lat:layout_behavior}The class name of a Behavior class defining special runtime behavior + * for this child view.
{@link #CoordinatorLayout_Layout_layout_dodgeInsetEdges reparto_izca.keymon.lat:layout_dodgeInsetEdges}Specifies how this view dodges the inset edges of the CoordinatorLayout.
{@link #CoordinatorLayout_Layout_layout_insetEdge reparto_izca.keymon.lat:layout_insetEdge}Specifies how this view insets the CoordinatorLayout and make some other views + * dodge it.
{@link #CoordinatorLayout_Layout_layout_keyline reparto_izca.keymon.lat:layout_keyline}The index of a keyline this view should position relative to.
+ * @see #CoordinatorLayout_Layout_android_layout_gravity + * @see #CoordinatorLayout_Layout_layout_anchor + * @see #CoordinatorLayout_Layout_layout_anchorGravity + * @see #CoordinatorLayout_Layout_layout_behavior + * @see #CoordinatorLayout_Layout_layout_dodgeInsetEdges + * @see #CoordinatorLayout_Layout_layout_insetEdge + * @see #CoordinatorLayout_Layout_layout_keyline + */ + public static final int[] CoordinatorLayout_Layout={ + 0x010100b3, 0x7f020020, 0x7f020021, 0x7f020022, + 0x7f020023, 0x7f020024, 0x7f020025 + }; + /** + *

This symbol is the offset where the {@link android.R.attr#layout_gravity} + * attribute's value can be found in the {@link #CoordinatorLayout_Layout} array. + * + *

Must be one or more (separated by '|') of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
bottom50
center11
center_horizontal1
center_vertical10
clip_horizontal8
clip_vertical80
end800005
fill77
fill_horizontal7
fill_vertical70
left3
right5
start800003
top30
+ * + * @attr name android:layout_gravity + */ + public static final int CoordinatorLayout_Layout_android_layout_gravity=0; + /** + *

+ * @attr description + * The id of an anchor view that this view should position relative to. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name reparto_izca.keymon.lat:layout_anchor + */ + public static final int CoordinatorLayout_Layout_layout_anchor=1; + /** + *

+ * @attr description + * Specifies how an object should position relative to an anchor, on both the X and Y axes, + * within its parent's bounds. + * + *

Must be one or more (separated by '|') of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
bottom50Push object to the bottom of its container, not changing its size.
center11Place the object in the center of its container in both the vertical and horizontal axis, not changing its size.
center_horizontal1Place object in the horizontal center of its container, not changing its size.
center_vertical10Place object in the vertical center of its container, not changing its size.
clip_horizontal8Additional option that can be set to have the left and/or right edges of + * the child clipped to its container's bounds. + * The clip will be based on the horizontal gravity: a left gravity will clip the right + * edge, a right gravity will clip the left edge, and neither will clip both edges.
clip_vertical80Additional option that can be set to have the top and/or bottom edges of + * the child clipped to its container's bounds. + * The clip will be based on the vertical gravity: a top gravity will clip the bottom + * edge, a bottom gravity will clip the top edge, and neither will clip both edges.
end800005Push object to the end of its container, not changing its size.
fill77Grow the horizontal and vertical size of the object if needed so it completely fills its container.
fill_horizontal7Grow the horizontal size of the object if needed so it completely fills its container.
fill_vertical70Grow the vertical size of the object if needed so it completely fills its container.
left3Push object to the left of its container, not changing its size.
right5Push object to the right of its container, not changing its size.
start800003Push object to the beginning of its container, not changing its size.
top30Push object to the top of its container, not changing its size.
+ * + * @attr name reparto_izca.keymon.lat:layout_anchorGravity + */ + public static final int CoordinatorLayout_Layout_layout_anchorGravity=2; + /** + *

+ * @attr description + * The class name of a Behavior class defining special runtime behavior + * for this child view. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_izca.keymon.lat:layout_behavior + */ + public static final int CoordinatorLayout_Layout_layout_behavior=3; + /** + *

+ * @attr description + * Specifies how this view dodges the inset edges of the CoordinatorLayout. + * + *

Must be one or more (separated by '|') of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
all77Dodge all the inset edges.
bottom50Dodge the bottom inset edge.
end800005Dodge the end inset edge.
left3Dodge the left inset edge.
none0Don't dodge any edges
right5Dodge the right inset edge.
start800003Dodge the start inset edge.
top30Dodge the top inset edge.
+ * + * @attr name reparto_izca.keymon.lat:layout_dodgeInsetEdges + */ + public static final int CoordinatorLayout_Layout_layout_dodgeInsetEdges=4; + /** + *

+ * @attr description + * Specifies how this view insets the CoordinatorLayout and make some other views + * dodge it. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
bottom50Inset the bottom edge.
end800005Inset the end edge.
left3Inset the left edge.
none0Don't inset.
right5Inset the right edge.
start800003Inset the start edge.
top30Inset the top edge.
+ * + * @attr name reparto_izca.keymon.lat:layout_insetEdge + */ + public static final int CoordinatorLayout_Layout_layout_insetEdge=5; + /** + *

+ * @attr description + * The index of a keyline this view should position relative to. + * android:layout_gravity will affect how the view aligns to the + * specified keyline. + * + *

May be an integer value, such as "100". + * + * @attr name reparto_izca.keymon.lat:layout_keyline + */ + public static final int CoordinatorLayout_Layout_layout_keyline=6; + /** + * Attributes that can be used with a DrawerLayout. + *

Includes the following attributes:

+ * + * + * + * + * + *
AttributeDescription
{@link #DrawerLayout_elevation reparto_izca.keymon.lat:elevation}
+ * @see #DrawerLayout_elevation + */ + public static final int[] DrawerLayout={ + 0x7f02000e + }; + /** + *

+ * @attr description + * The height difference between the drawer and the base surface. Only takes effect on API 21 and above + * + *

May be a dimension value, which is a floating point number appended with a + * unit such as "14.5sp". + * Available units are: px (pixels), dp (density-independent pixels), + * sp (scaled pixels based on preferred font size), in (inches), and + * mm (millimeters). + * + * @attr name reparto_izca.keymon.lat:elevation + */ + public static final int DrawerLayout_elevation=0; + /** + * Attributes that can be used with a FontFamily. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #FontFamily_fontProviderAuthority reparto_izca.keymon.lat:fontProviderAuthority}The authority of the Font Provider to be used for the request.
{@link #FontFamily_fontProviderCerts reparto_izca.keymon.lat:fontProviderCerts}The sets of hashes for the certificates the provider should be signed with.
{@link #FontFamily_fontProviderFetchStrategy reparto_izca.keymon.lat:fontProviderFetchStrategy}The strategy to be used when fetching font data from a font provider in XML layouts.
{@link #FontFamily_fontProviderFetchTimeout reparto_izca.keymon.lat:fontProviderFetchTimeout}The length of the timeout during fetching.
{@link #FontFamily_fontProviderPackage reparto_izca.keymon.lat:fontProviderPackage}The package for the Font Provider to be used for the request.
{@link #FontFamily_fontProviderQuery reparto_izca.keymon.lat:fontProviderQuery}The query to be sent over to the provider.
+ * @see #FontFamily_fontProviderAuthority + * @see #FontFamily_fontProviderCerts + * @see #FontFamily_fontProviderFetchStrategy + * @see #FontFamily_fontProviderFetchTimeout + * @see #FontFamily_fontProviderPackage + * @see #FontFamily_fontProviderQuery + */ + public static final int[] FontFamily={ + 0x7f020010, 0x7f020011, 0x7f020012, 0x7f020013, + 0x7f020014, 0x7f020015 + }; + /** + *

+ * @attr description + * The authority of the Font Provider to be used for the request. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_izca.keymon.lat:fontProviderAuthority + */ + public static final int FontFamily_fontProviderAuthority=0; + /** + *

+ * @attr description + * The sets of hashes for the certificates the provider should be signed with. This is + * used to verify the identity of the provider, and is only required if the provider is not + * part of the system image. This value may point to one list or a list of lists, where each + * individual list represents one collection of signature hashes. Refer to your font provider's + * documentation for these values. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name reparto_izca.keymon.lat:fontProviderCerts + */ + public static final int FontFamily_fontProviderCerts=1; + /** + *

+ * @attr description + * The strategy to be used when fetching font data from a font provider in XML layouts. + * This attribute is ignored when the resource is loaded from code, as it is equivalent to the + * choice of API between {@link + * androidx.core.content.res.ResourcesCompat#getFont(Context, int)} (blocking) and + * {@link + * androidx.core.content.res.ResourcesCompat#getFont(Context, int, FontCallback, Handler)} + * (async). + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + *
ConstantValueDescription
async1The async font fetch works as follows. + * First, check the local cache, then if the requeted font is not cached, trigger a + * request the font and continue with layout inflation. Once the font fetch succeeds, the + * target text view will be refreshed with the downloaded font data. The + * fontProviderFetchTimeout will be ignored if async loading is specified.
blocking0The blocking font fetch works as follows. + * First, check the local cache, then if the requested font is not cached, request the + * font from the provider and wait until it is finished. You can change the length of + * the timeout by modifying fontProviderFetchTimeout. If the timeout happens, the + * default typeface will be used instead.
+ * + * @attr name reparto_izca.keymon.lat:fontProviderFetchStrategy + */ + public static final int FontFamily_fontProviderFetchStrategy=2; + /** + *

+ * @attr description + * The length of the timeout during fetching. + * + *

May be an integer value, such as "100". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + *
ConstantValueDescription
foreverffffffffA special value for the timeout. In this case, the blocking font fetching will not + * timeout and wait until a reply is received from the font provider.
+ * + * @attr name reparto_izca.keymon.lat:fontProviderFetchTimeout + */ + public static final int FontFamily_fontProviderFetchTimeout=3; + /** + *

+ * @attr description + * The package for the Font Provider to be used for the request. This is used to verify + * the identity of the provider. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_izca.keymon.lat:fontProviderPackage + */ + public static final int FontFamily_fontProviderPackage=4; + /** + *

+ * @attr description + * The query to be sent over to the provider. Refer to your font provider's documentation + * on the format of this string. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_izca.keymon.lat:fontProviderQuery + */ + public static final int FontFamily_fontProviderQuery=5; + /** + * Attributes that can be used with a FontFamilyFont. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #FontFamilyFont_android_font android:font}
{@link #FontFamilyFont_android_fontWeight android:fontWeight}
{@link #FontFamilyFont_android_fontStyle android:fontStyle}
{@link #FontFamilyFont_android_ttcIndex android:ttcIndex}
{@link #FontFamilyFont_android_fontVariationSettings android:fontVariationSettings}
{@link #FontFamilyFont_font reparto_izca.keymon.lat:font}The reference to the font file to be used.
{@link #FontFamilyFont_fontStyle reparto_izca.keymon.lat:fontStyle}The style of the given font file.
{@link #FontFamilyFont_fontVariationSettings reparto_izca.keymon.lat:fontVariationSettings}The variation settings to be applied to the font.
{@link #FontFamilyFont_fontWeight reparto_izca.keymon.lat:fontWeight}The weight of the given font file.
{@link #FontFamilyFont_ttcIndex reparto_izca.keymon.lat:ttcIndex}The index of the font in the tcc font file.
+ * @see #FontFamilyFont_android_font + * @see #FontFamilyFont_android_fontWeight + * @see #FontFamilyFont_android_fontStyle + * @see #FontFamilyFont_android_ttcIndex + * @see #FontFamilyFont_android_fontVariationSettings + * @see #FontFamilyFont_font + * @see #FontFamilyFont_fontStyle + * @see #FontFamilyFont_fontVariationSettings + * @see #FontFamilyFont_fontWeight + * @see #FontFamilyFont_ttcIndex + */ + public static final int[] FontFamilyFont={ + 0x01010532, 0x01010533, 0x0101053f, 0x0101056f, + 0x01010570, 0x7f02000f, 0x7f020016, 0x7f020017, + 0x7f020018, 0x7f02002b + }; + /** + *

This symbol is the offset where the {@link android.R.attr#font} + * attribute's value can be found in the {@link #FontFamilyFont} array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name android:font + */ + public static final int FontFamilyFont_android_font=0; + /** + *

This symbol is the offset where the {@link android.R.attr#fontWeight} + * attribute's value can be found in the {@link #FontFamilyFont} array. + * + *

May be an integer value, such as "100". + * + * @attr name android:fontWeight + */ + public static final int FontFamilyFont_android_fontWeight=1; + /** + *

+ * @attr description + * References to the framework attrs + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + *
ConstantValueDescription
italic1
normal0
+ * + * @attr name android:fontStyle + */ + public static final int FontFamilyFont_android_fontStyle=2; + /** + *

This symbol is the offset where the {@link android.R.attr#ttcIndex} + * attribute's value can be found in the {@link #FontFamilyFont} array. + * + *

May be an integer value, such as "100". + * + * @attr name android:ttcIndex + */ + public static final int FontFamilyFont_android_ttcIndex=3; + /** + *

This symbol is the offset where the {@link android.R.attr#fontVariationSettings} + * attribute's value can be found in the {@link #FontFamilyFont} array. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name android:fontVariationSettings + */ + public static final int FontFamilyFont_android_fontVariationSettings=4; + /** + *

+ * @attr description + * The reference to the font file to be used. This should be a file in the res/font folder + * and should therefore have an R reference value. E.g. @font/myfont + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name reparto_izca.keymon.lat:font + */ + public static final int FontFamilyFont_font=5; + /** + *

+ * @attr description + * The style of the given font file. This will be used when the font is being loaded into + * the font stack and will override any style information in the font's header tables. If + * unspecified, the value in the font's header tables will be used. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + *
ConstantValueDescription
italic1
normal0
+ * + * @attr name reparto_izca.keymon.lat:fontStyle + */ + public static final int FontFamilyFont_fontStyle=6; + /** + *

+ * @attr description + * The variation settings to be applied to the font. The string should be in the following + * format: "'tag1' value1, 'tag2' value2, ...". If the default variation settings should be + * used, or the font used does not support variation settings, this attribute needs not be + * specified. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_izca.keymon.lat:fontVariationSettings + */ + public static final int FontFamilyFont_fontVariationSettings=7; + /** + *

+ * @attr description + * The weight of the given font file. This will be used when the font is being loaded into + * the font stack and will override any weight information in the font's header tables. Must + * be a positive number, a multiple of 100, and between 100 and 900, inclusive. The most + * common values are 400 for regular weight and 700 for bold weight. If unspecified, the value + * in the font's header tables will be used. + * + *

May be an integer value, such as "100". + * + * @attr name reparto_izca.keymon.lat:fontWeight + */ + public static final int FontFamilyFont_fontWeight=8; + /** + *

+ * @attr description + * The index of the font in the tcc font file. If the font file referenced is not in the + * tcc format, this attribute needs not be specified. + * + *

May be an integer value, such as "100". + * + * @attr name reparto_izca.keymon.lat:ttcIndex + */ + public static final int FontFamilyFont_ttcIndex=9; + /** + * Attributes that can be used with a Fragment. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + *
AttributeDescription
{@link #Fragment_android_name android:name}
{@link #Fragment_android_id android:id}
{@link #Fragment_android_tag android:tag}
+ * @see #Fragment_android_name + * @see #Fragment_android_id + * @see #Fragment_android_tag + */ + public static final int[] Fragment={ + 0x01010003, 0x010100d0, 0x010100d1 + }; + /** + *

This symbol is the offset where the {@link android.R.attr#name} + * attribute's value can be found in the {@link #Fragment} array. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name android:name + */ + public static final int Fragment_android_name=0; + /** + *

This symbol is the offset where the {@link android.R.attr#id} + * attribute's value can be found in the {@link #Fragment} array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name android:id + */ + public static final int Fragment_android_id=1; + /** + *

This symbol is the offset where the {@link android.R.attr#tag} + * attribute's value can be found in the {@link #Fragment} array. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name android:tag + */ + public static final int Fragment_android_tag=2; + /** + * Attributes that can be used with a FragmentContainerView. + *

Includes the following attributes:

+ * + * + * + * + * + * + *
AttributeDescription
{@link #FragmentContainerView_android_name android:name}
{@link #FragmentContainerView_android_tag android:tag}
+ * @see #FragmentContainerView_android_name + * @see #FragmentContainerView_android_tag + */ + public static final int[] FragmentContainerView={ + 0x01010003, 0x010100d1 + }; + /** + *

This symbol is the offset where the {@link android.R.attr#name} + * attribute's value can be found in the {@link #FragmentContainerView} array. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name android:name + */ + public static final int FragmentContainerView_android_name=0; + /** + *

This symbol is the offset where the {@link android.R.attr#tag} + * attribute's value can be found in the {@link #FragmentContainerView} array. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name android:tag + */ + public static final int FragmentContainerView_android_tag=1; + /** + * Attributes that can be used with a GradientColor. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #GradientColor_android_startColor android:startColor}
{@link #GradientColor_android_endColor android:endColor}
{@link #GradientColor_android_type android:type}
{@link #GradientColor_android_centerX android:centerX}
{@link #GradientColor_android_centerY android:centerY}
{@link #GradientColor_android_gradientRadius android:gradientRadius}
{@link #GradientColor_android_tileMode android:tileMode}
{@link #GradientColor_android_centerColor android:centerColor}
{@link #GradientColor_android_startX android:startX}
{@link #GradientColor_android_startY android:startY}
{@link #GradientColor_android_endX android:endX}
{@link #GradientColor_android_endY android:endY}
+ * @see #GradientColor_android_startColor + * @see #GradientColor_android_endColor + * @see #GradientColor_android_type + * @see #GradientColor_android_centerX + * @see #GradientColor_android_centerY + * @see #GradientColor_android_gradientRadius + * @see #GradientColor_android_tileMode + * @see #GradientColor_android_centerColor + * @see #GradientColor_android_startX + * @see #GradientColor_android_startY + * @see #GradientColor_android_endX + * @see #GradientColor_android_endY + */ + public static final int[] GradientColor={ + 0x0101019d, 0x0101019e, 0x010101a1, 0x010101a2, + 0x010101a3, 0x010101a4, 0x01010201, 0x0101020b, + 0x01010510, 0x01010511, 0x01010512, 0x01010513 + }; + /** + *

+ * @attr description + * Start color of the gradient. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name android:startColor + */ + public static final int GradientColor_android_startColor=0; + /** + *

+ * @attr description + * End color of the gradient. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name android:endColor + */ + public static final int GradientColor_android_endColor=1; + /** + *

+ * @attr description + * Type of gradient. The default type is linear. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
linear0
radial1
sweep2
+ * + * @attr name android:type + */ + public static final int GradientColor_android_type=2; + /** + *

+ * @attr description + * X coordinate of the center of the gradient within the path. + * + *

May be a floating point value, such as "1.2". + *

May be a fractional value, which is a floating point number appended with + * either % or %p, such as "14.5%". + * The % suffix always means a percentage of the base size; + * the optional %p suffix provides a size relative to some parent container. + * + * @attr name android:centerX + */ + public static final int GradientColor_android_centerX=3; + /** + *

+ * @attr description + * Y coordinate of the center of the gradient within the path. + * + *

May be a floating point value, such as "1.2". + *

May be a fractional value, which is a floating point number appended with + * either % or %p, such as "14.5%". + * The % suffix always means a percentage of the base size; + * the optional %p suffix provides a size relative to some parent container. + * + * @attr name android:centerY + */ + public static final int GradientColor_android_centerY=4; + /** + *

+ * @attr description + * Radius of the gradient, used only with radial gradient. + * + *

May be a floating point value, such as "1.2". + *

May be a dimension value, which is a floating point number appended with a + * unit such as "14.5sp". + * Available units are: px (pixels), dp (density-independent pixels), + * sp (scaled pixels based on preferred font size), in (inches), and + * mm (millimeters). + *

May be a fractional value, which is a floating point number appended with + * either % or %p, such as "14.5%". + * The % suffix always means a percentage of the base size; + * the optional %p suffix provides a size relative to some parent container. + * + * @attr name android:gradientRadius + */ + public static final int GradientColor_android_gradientRadius=5; + /** + *

+ * @attr description + * Defines the tile mode of the gradient. SweepGradient doesn't support tiling. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
clamp0
disabledffffffff
mirror2
repeat1
+ * + * @attr name android:tileMode + */ + public static final int GradientColor_android_tileMode=6; + /** + *

+ * @attr description + * Optional center color. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name android:centerColor + */ + public static final int GradientColor_android_centerColor=7; + /** + *

+ * @attr description + * X coordinate of the start point origin of the gradient. + * Defined in same coordinates as the path itself + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:startX + */ + public static final int GradientColor_android_startX=8; + /** + *

+ * @attr description + * Y coordinate of the start point of the gradient within the shape. + * Defined in same coordinates as the path itself + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:startY + */ + public static final int GradientColor_android_startY=9; + /** + *

+ * @attr description + * X coordinate of the end point origin of the gradient. + * Defined in same coordinates as the path itself + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:endX + */ + public static final int GradientColor_android_endX=10; + /** + *

+ * @attr description + * Y coordinate of the end point of the gradient within the shape. + * Defined in same coordinates as the path itself + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:endY + */ + public static final int GradientColor_android_endY=11; + /** + * Attributes that can be used with a GradientColorItem. + *

Includes the following attributes:

+ * + * + * + * + * + * + *
AttributeDescription
{@link #GradientColorItem_android_color android:color}
{@link #GradientColorItem_android_offset android:offset}
+ * @see #GradientColorItem_android_color + * @see #GradientColorItem_android_offset + */ + public static final int[] GradientColorItem={ + 0x010101a5, 0x01010514 + }; + /** + *

+ * @attr description + * The current color for the offset inside the gradient. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name android:color + */ + public static final int GradientColorItem_android_color=0; + /** + *

+ * @attr description + * The offset (or ratio) of this current color item inside the gradient. + * The value is only meaningful when it is between 0 and 1. + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:offset + */ + public static final int GradientColorItem_android_offset=1; + /** + * Attributes that can be used with a LoadingImageView. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + *
AttributeDescription
{@link #LoadingImageView_circleCrop reparto_izca.keymon.lat:circleCrop}
{@link #LoadingImageView_imageAspectRatio reparto_izca.keymon.lat:imageAspectRatio}
{@link #LoadingImageView_imageAspectRatioAdjust reparto_izca.keymon.lat:imageAspectRatioAdjust}
+ * @see #LoadingImageView_circleCrop + * @see #LoadingImageView_imageAspectRatio + * @see #LoadingImageView_imageAspectRatioAdjust + */ + public static final int[] LoadingImageView={ + 0x7f02000a, 0x7f020019, 0x7f02001a + }; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#circleCrop} + * attribute's value can be found in the {@link #LoadingImageView} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:circleCrop + */ + public static final int LoadingImageView_circleCrop=0; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#imageAspectRatio} + * attribute's value can be found in the {@link #LoadingImageView} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:imageAspectRatio + */ + public static final int LoadingImageView_imageAspectRatio=1; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#imageAspectRatioAdjust} + * attribute's value can be found in the {@link #LoadingImageView} array. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
adjust_height2
adjust_width1
none0
+ * + * @attr name reparto_izca.keymon.lat:imageAspectRatioAdjust + */ + public static final int LoadingImageView_imageAspectRatioAdjust=2; + /** + * Attributes that can be used with a MapAttrs. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #MapAttrs_ambientEnabled reparto_izca.keymon.lat:ambientEnabled}
{@link #MapAttrs_cameraBearing reparto_izca.keymon.lat:cameraBearing}
{@link #MapAttrs_cameraMaxZoomPreference reparto_izca.keymon.lat:cameraMaxZoomPreference}
{@link #MapAttrs_cameraMinZoomPreference reparto_izca.keymon.lat:cameraMinZoomPreference}
{@link #MapAttrs_cameraTargetLat reparto_izca.keymon.lat:cameraTargetLat}
{@link #MapAttrs_cameraTargetLng reparto_izca.keymon.lat:cameraTargetLng}
{@link #MapAttrs_cameraTilt reparto_izca.keymon.lat:cameraTilt}
{@link #MapAttrs_cameraZoom reparto_izca.keymon.lat:cameraZoom}
{@link #MapAttrs_latLngBoundsNorthEastLatitude reparto_izca.keymon.lat:latLngBoundsNorthEastLatitude}
{@link #MapAttrs_latLngBoundsNorthEastLongitude reparto_izca.keymon.lat:latLngBoundsNorthEastLongitude}
{@link #MapAttrs_latLngBoundsSouthWestLatitude reparto_izca.keymon.lat:latLngBoundsSouthWestLatitude}
{@link #MapAttrs_latLngBoundsSouthWestLongitude reparto_izca.keymon.lat:latLngBoundsSouthWestLongitude}
{@link #MapAttrs_liteMode reparto_izca.keymon.lat:liteMode}
{@link #MapAttrs_mapType reparto_izca.keymon.lat:mapType}
{@link #MapAttrs_uiCompass reparto_izca.keymon.lat:uiCompass}
{@link #MapAttrs_uiMapToolbar reparto_izca.keymon.lat:uiMapToolbar}
{@link #MapAttrs_uiRotateGestures reparto_izca.keymon.lat:uiRotateGestures}
{@link #MapAttrs_uiScrollGestures reparto_izca.keymon.lat:uiScrollGestures}
{@link #MapAttrs_uiScrollGesturesDuringRotateOrZoom reparto_izca.keymon.lat:uiScrollGesturesDuringRotateOrZoom}
{@link #MapAttrs_uiTiltGestures reparto_izca.keymon.lat:uiTiltGestures}
{@link #MapAttrs_uiZoomControls reparto_izca.keymon.lat:uiZoomControls}
{@link #MapAttrs_uiZoomGestures reparto_izca.keymon.lat:uiZoomGestures}
{@link #MapAttrs_useViewLifecycle reparto_izca.keymon.lat:useViewLifecycle}
{@link #MapAttrs_zOrderOnTop reparto_izca.keymon.lat:zOrderOnTop}
+ * @see #MapAttrs_ambientEnabled + * @see #MapAttrs_cameraBearing + * @see #MapAttrs_cameraMaxZoomPreference + * @see #MapAttrs_cameraMinZoomPreference + * @see #MapAttrs_cameraTargetLat + * @see #MapAttrs_cameraTargetLng + * @see #MapAttrs_cameraTilt + * @see #MapAttrs_cameraZoom + * @see #MapAttrs_latLngBoundsNorthEastLatitude + * @see #MapAttrs_latLngBoundsNorthEastLongitude + * @see #MapAttrs_latLngBoundsSouthWestLatitude + * @see #MapAttrs_latLngBoundsSouthWestLongitude + * @see #MapAttrs_liteMode + * @see #MapAttrs_mapType + * @see #MapAttrs_uiCompass + * @see #MapAttrs_uiMapToolbar + * @see #MapAttrs_uiRotateGestures + * @see #MapAttrs_uiScrollGestures + * @see #MapAttrs_uiScrollGesturesDuringRotateOrZoom + * @see #MapAttrs_uiTiltGestures + * @see #MapAttrs_uiZoomControls + * @see #MapAttrs_uiZoomGestures + * @see #MapAttrs_useViewLifecycle + * @see #MapAttrs_zOrderOnTop + */ + public static final int[] MapAttrs={ + 0x7f020001, 0x7f020003, 0x7f020004, 0x7f020005, + 0x7f020006, 0x7f020007, 0x7f020008, 0x7f020009, + 0x7f02001c, 0x7f02001d, 0x7f02001e, 0x7f02001f, + 0x7f020026, 0x7f020027, 0x7f02002c, 0x7f02002d, + 0x7f02002e, 0x7f02002f, 0x7f020030, 0x7f020031, + 0x7f020032, 0x7f020033, 0x7f020034, 0x7f020035 + }; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#ambientEnabled} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:ambientEnabled + */ + public static final int MapAttrs_ambientEnabled=0; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#cameraBearing} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:cameraBearing + */ + public static final int MapAttrs_cameraBearing=1; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#cameraMaxZoomPreference} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:cameraMaxZoomPreference + */ + public static final int MapAttrs_cameraMaxZoomPreference=2; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#cameraMinZoomPreference} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:cameraMinZoomPreference + */ + public static final int MapAttrs_cameraMinZoomPreference=3; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#cameraTargetLat} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:cameraTargetLat + */ + public static final int MapAttrs_cameraTargetLat=4; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#cameraTargetLng} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:cameraTargetLng + */ + public static final int MapAttrs_cameraTargetLng=5; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#cameraTilt} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:cameraTilt + */ + public static final int MapAttrs_cameraTilt=6; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#cameraZoom} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:cameraZoom + */ + public static final int MapAttrs_cameraZoom=7; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#latLngBoundsNorthEastLatitude} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:latLngBoundsNorthEastLatitude + */ + public static final int MapAttrs_latLngBoundsNorthEastLatitude=8; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#latLngBoundsNorthEastLongitude} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:latLngBoundsNorthEastLongitude + */ + public static final int MapAttrs_latLngBoundsNorthEastLongitude=9; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#latLngBoundsSouthWestLatitude} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:latLngBoundsSouthWestLatitude + */ + public static final int MapAttrs_latLngBoundsSouthWestLatitude=10; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#latLngBoundsSouthWestLongitude} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:latLngBoundsSouthWestLongitude + */ + public static final int MapAttrs_latLngBoundsSouthWestLongitude=11; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#liteMode} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:liteMode + */ + public static final int MapAttrs_liteMode=12; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#mapType} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
hybrid4
none0
normal1
satellite2
terrain3
+ * + * @attr name reparto_izca.keymon.lat:mapType + */ + public static final int MapAttrs_mapType=13; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiCompass} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiCompass + */ + public static final int MapAttrs_uiCompass=14; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiMapToolbar} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiMapToolbar + */ + public static final int MapAttrs_uiMapToolbar=15; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiRotateGestures} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiRotateGestures + */ + public static final int MapAttrs_uiRotateGestures=16; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiScrollGestures} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiScrollGestures + */ + public static final int MapAttrs_uiScrollGestures=17; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiScrollGesturesDuringRotateOrZoom} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiScrollGesturesDuringRotateOrZoom + */ + public static final int MapAttrs_uiScrollGesturesDuringRotateOrZoom=18; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiTiltGestures} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiTiltGestures + */ + public static final int MapAttrs_uiTiltGestures=19; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiZoomControls} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiZoomControls + */ + public static final int MapAttrs_uiZoomControls=20; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiZoomGestures} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiZoomGestures + */ + public static final int MapAttrs_uiZoomGestures=21; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#useViewLifecycle} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:useViewLifecycle + */ + public static final int MapAttrs_useViewLifecycle=22; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#zOrderOnTop} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:zOrderOnTop + */ + public static final int MapAttrs_zOrderOnTop=23; + /** + * Attributes that can be used with a SignInButton. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + *
AttributeDescription
{@link #SignInButton_buttonSize reparto_izca.keymon.lat:buttonSize}
{@link #SignInButton_colorScheme reparto_izca.keymon.lat:colorScheme}
{@link #SignInButton_scopeUris reparto_izca.keymon.lat:scopeUris}
+ * @see #SignInButton_buttonSize + * @see #SignInButton_colorScheme + * @see #SignInButton_scopeUris + */ + public static final int[] SignInButton={ + 0x7f020002, 0x7f02000b, 0x7f020028 + }; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#buttonSize} + * attribute's value can be found in the {@link #SignInButton} array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
icon_only2
standard0
wide1
+ * + * @attr name reparto_izca.keymon.lat:buttonSize + */ + public static final int SignInButton_buttonSize=0; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#colorScheme} + * attribute's value can be found in the {@link #SignInButton} array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
auto2
dark0
light1
+ * + * @attr name reparto_izca.keymon.lat:colorScheme + */ + public static final int SignInButton_colorScheme=1; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#scopeUris} + * attribute's value can be found in the {@link #SignInButton} array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_izca.keymon.lat:scopeUris + */ + public static final int SignInButton_scopeUris=2; + /** + * Attributes that can be used with a SwipeRefreshLayout. + *

Includes the following attributes:

+ * + * + * + * + * + *
AttributeDescription
{@link #SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor reparto_izca.keymon.lat:swipeRefreshLayoutProgressSpinnerBackgroundColor}Background color for SwipeRefreshLayout progress spinner.
+ * @see #SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor + */ + public static final int[] SwipeRefreshLayout={ + 0x7f02002a + }; + /** + *

+ * @attr description + * Background color for SwipeRefreshLayout progress spinner. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name reparto_izca.keymon.lat:swipeRefreshLayoutProgressSpinnerBackgroundColor + */ + public static final int SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor=0; + } + public static final class xml { + public static final int provider_paths=0x7f0c0000; + } +} \ No newline at end of file diff --git a/B4A/Objects/gen/androidx/drawerlayout/R.java b/B4A/Objects/gen/androidx/drawerlayout/R.java new file mode 100644 index 0000000..8cc256e --- /dev/null +++ b/B4A/Objects/gen/androidx/drawerlayout/R.java @@ -0,0 +1,2121 @@ +/* AUTO-GENERATED FILE. DO NOT MODIFY. + * + * This class was automatically generated by the + * aapt tool from the resource data it found. It + * should not be modified by hand. + */ + +package androidx.drawerlayout; + +public final class R { + public static final class anim { + public static final int fragment_close_enter=0x7f010000; + public static final int fragment_close_exit=0x7f010001; + public static final int fragment_fade_enter=0x7f010002; + public static final int fragment_fade_exit=0x7f010003; + public static final int fragment_fast_out_extra_slow_in=0x7f010004; + public static final int fragment_open_enter=0x7f010005; + public static final int fragment_open_exit=0x7f010006; + } + public static final class attr { + /** + * Alpha multiplier applied to the base color. + *

May be a floating point value, such as "1.2". + */ + public static final int alpha=0x7f020000; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int ambientEnabled=0x7f020001; + /** + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
icon_only2
standard0
wide1
+ */ + public static final int buttonSize=0x7f020002; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraBearing=0x7f020003; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraMaxZoomPreference=0x7f020004; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraMinZoomPreference=0x7f020005; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraTargetLat=0x7f020006; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraTargetLng=0x7f020007; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraTilt=0x7f020008; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraZoom=0x7f020009; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int circleCrop=0x7f02000a; + /** + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
auto2
dark0
light1
+ */ + public static final int colorScheme=0x7f02000b; + /** + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int coordinatorLayoutStyle=0x7f02000c; + /** + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int drawerLayoutStyle=0x7f02000d; + /** + *

May be a dimension value, which is a floating point number appended with a + * unit such as "14.5sp". + * Available units are: px (pixels), dp (density-independent pixels), + * sp (scaled pixels based on preferred font size), in (inches), and + * mm (millimeters). + */ + public static final int elevation=0x7f02000e; + /** + * The reference to the font file to be used. This should be a file in the res/font folder + * and should therefore have an R reference value. E.g. @font/myfont + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int font=0x7f02000f; + /** + * The authority of the Font Provider to be used for the request. + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int fontProviderAuthority=0x7f020010; + /** + * The sets of hashes for the certificates the provider should be signed with. This is + * used to verify the identity of the provider, and is only required if the provider is not + * part of the system image. This value may point to one list or a list of lists, where each + * individual list represents one collection of signature hashes. Refer to your font provider's + * documentation for these values. + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int fontProviderCerts=0x7f020011; + /** + * The strategy to be used when fetching font data from a font provider in XML layouts. + * This attribute is ignored when the resource is loaded from code, as it is equivalent to the + * choice of API between {@link + * androidx.core.content.res.ResourcesCompat#getFont(Context, int)} (blocking) and + * {@link + * androidx.core.content.res.ResourcesCompat#getFont(Context, int, FontCallback, Handler)} + * (async). + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + *
ConstantValueDescription
async1The async font fetch works as follows. + * First, check the local cache, then if the requeted font is not cached, trigger a + * request the font and continue with layout inflation. Once the font fetch succeeds, the + * target text view will be refreshed with the downloaded font data. The + * fontProviderFetchTimeout will be ignored if async loading is specified.
blocking0The blocking font fetch works as follows. + * First, check the local cache, then if the requested font is not cached, request the + * font from the provider and wait until it is finished. You can change the length of + * the timeout by modifying fontProviderFetchTimeout. If the timeout happens, the + * default typeface will be used instead.
+ */ + public static final int fontProviderFetchStrategy=0x7f020012; + /** + * The length of the timeout during fetching. + *

May be an integer value, such as "100". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + *
ConstantValueDescription
foreverffffffffA special value for the timeout. In this case, the blocking font fetching will not + * timeout and wait until a reply is received from the font provider.
+ */ + public static final int fontProviderFetchTimeout=0x7f020013; + /** + * The package for the Font Provider to be used for the request. This is used to verify + * the identity of the provider. + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int fontProviderPackage=0x7f020014; + /** + * The query to be sent over to the provider. Refer to your font provider's documentation + * on the format of this string. + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int fontProviderQuery=0x7f020015; + /** + * The style of the given font file. This will be used when the font is being loaded into + * the font stack and will override any style information in the font's header tables. If + * unspecified, the value in the font's header tables will be used. + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + *
ConstantValueDescription
italic1
normal0
+ */ + public static final int fontStyle=0x7f020016; + /** + * The variation settings to be applied to the font. The string should be in the following + * format: "'tag1' value1, 'tag2' value2, ...". If the default variation settings should be + * used, or the font used does not support variation settings, this attribute needs not be + * specified. + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int fontVariationSettings=0x7f020017; + /** + * The weight of the given font file. This will be used when the font is being loaded into + * the font stack and will override any weight information in the font's header tables. Must + * be a positive number, a multiple of 100, and between 100 and 900, inclusive. The most + * common values are 400 for regular weight and 700 for bold weight. If unspecified, the value + * in the font's header tables will be used. + *

May be an integer value, such as "100". + */ + public static final int fontWeight=0x7f020018; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int imageAspectRatio=0x7f020019; + /** + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
adjust_height2
adjust_width1
none0
+ */ + public static final int imageAspectRatioAdjust=0x7f02001a; + /** + * A reference to an array of integers representing the + * locations of horizontal keylines in dp from the starting edge. + * Child views can refer to these keylines for alignment using + * layout_keyline="index" where index is a 0-based index into + * this array. + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int keylines=0x7f02001b; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int latLngBoundsNorthEastLatitude=0x7f02001c; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int latLngBoundsNorthEastLongitude=0x7f02001d; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int latLngBoundsSouthWestLatitude=0x7f02001e; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int latLngBoundsSouthWestLongitude=0x7f02001f; + /** + * The id of an anchor view that this view should position relative to. + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int layout_anchor=0x7f020020; + /** + * Specifies how an object should position relative to an anchor, on both the X and Y axes, + * within its parent's bounds. + *

Must be one or more (separated by '|') of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
bottom50Push object to the bottom of its container, not changing its size.
center11Place the object in the center of its container in both the vertical and horizontal axis, not changing its size.
center_horizontal1Place object in the horizontal center of its container, not changing its size.
center_vertical10Place object in the vertical center of its container, not changing its size.
clip_horizontal8Additional option that can be set to have the left and/or right edges of + * the child clipped to its container's bounds. + * The clip will be based on the horizontal gravity: a left gravity will clip the right + * edge, a right gravity will clip the left edge, and neither will clip both edges.
clip_vertical80Additional option that can be set to have the top and/or bottom edges of + * the child clipped to its container's bounds. + * The clip will be based on the vertical gravity: a top gravity will clip the bottom + * edge, a bottom gravity will clip the top edge, and neither will clip both edges.
end800005Push object to the end of its container, not changing its size.
fill77Grow the horizontal and vertical size of the object if needed so it completely fills its container.
fill_horizontal7Grow the horizontal size of the object if needed so it completely fills its container.
fill_vertical70Grow the vertical size of the object if needed so it completely fills its container.
left3Push object to the left of its container, not changing its size.
right5Push object to the right of its container, not changing its size.
start800003Push object to the beginning of its container, not changing its size.
top30Push object to the top of its container, not changing its size.
+ */ + public static final int layout_anchorGravity=0x7f020021; + /** + * The class name of a Behavior class defining special runtime behavior + * for this child view. + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int layout_behavior=0x7f020022; + /** + * Specifies how this view dodges the inset edges of the CoordinatorLayout. + *

Must be one or more (separated by '|') of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
all77Dodge all the inset edges.
bottom50Dodge the bottom inset edge.
end800005Dodge the end inset edge.
left3Dodge the left inset edge.
none0Don't dodge any edges
right5Dodge the right inset edge.
start800003Dodge the start inset edge.
top30Dodge the top inset edge.
+ */ + public static final int layout_dodgeInsetEdges=0x7f020023; + /** + * Specifies how this view insets the CoordinatorLayout and make some other views + * dodge it. + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
bottom50Inset the bottom edge.
end800005Inset the end edge.
left3Inset the left edge.
none0Don't inset.
right5Inset the right edge.
start800003Inset the start edge.
top30Inset the top edge.
+ */ + public static final int layout_insetEdge=0x7f020024; + /** + * The index of a keyline this view should position relative to. + * android:layout_gravity will affect how the view aligns to the + * specified keyline. + *

May be an integer value, such as "100". + */ + public static final int layout_keyline=0x7f020025; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int liteMode=0x7f020026; + /** + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
hybrid4
none0
normal1
satellite2
terrain3
+ */ + public static final int mapType=0x7f020027; + /** + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int scopeUris=0x7f020028; + /** + * Drawable to display behind the status bar when the view is set to draw behind it. + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + */ + public static final int statusBarBackground=0x7f020029; + /** + * Background color for SwipeRefreshLayout progress spinner. + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + */ + public static final int swipeRefreshLayoutProgressSpinnerBackgroundColor=0x7f02002a; + /** + * The index of the font in the tcc font file. If the font file referenced is not in the + * tcc format, this attribute needs not be specified. + *

May be an integer value, such as "100". + */ + public static final int ttcIndex=0x7f02002b; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiCompass=0x7f02002c; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiMapToolbar=0x7f02002d; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiRotateGestures=0x7f02002e; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiScrollGestures=0x7f02002f; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiScrollGesturesDuringRotateOrZoom=0x7f020030; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiTiltGestures=0x7f020031; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiZoomControls=0x7f020032; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiZoomGestures=0x7f020033; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int useViewLifecycle=0x7f020034; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int zOrderOnTop=0x7f020035; + } + public static final class color { + public static final int androidx_core_ripple_material_light=0x7f030000; + public static final int androidx_core_secondary_text_default_material_light=0x7f030001; + public static final int common_google_signin_btn_text_dark=0x7f030002; + public static final int common_google_signin_btn_text_dark_default=0x7f030003; + public static final int common_google_signin_btn_text_dark_disabled=0x7f030004; + public static final int common_google_signin_btn_text_dark_focused=0x7f030005; + public static final int common_google_signin_btn_text_dark_pressed=0x7f030006; + public static final int common_google_signin_btn_text_light=0x7f030007; + public static final int common_google_signin_btn_text_light_default=0x7f030008; + public static final int common_google_signin_btn_text_light_disabled=0x7f030009; + public static final int common_google_signin_btn_text_light_focused=0x7f03000a; + public static final int common_google_signin_btn_text_light_pressed=0x7f03000b; + public static final int common_google_signin_btn_tint=0x7f03000c; + public static final int notification_action_color_filter=0x7f03000d; + public static final int notification_icon_bg_color=0x7f03000e; + public static final int notification_material_background_media_default_color=0x7f03000f; + public static final int primary_text_default_material_dark=0x7f030010; + public static final int secondary_text_default_material_dark=0x7f030011; + } + public static final class dimen { + public static final int compat_button_inset_horizontal_material=0x7f040000; + public static final int compat_button_inset_vertical_material=0x7f040001; + public static final int compat_button_padding_horizontal_material=0x7f040002; + public static final int compat_button_padding_vertical_material=0x7f040003; + public static final int compat_control_corner_material=0x7f040004; + public static final int compat_notification_large_icon_max_height=0x7f040005; + public static final int compat_notification_large_icon_max_width=0x7f040006; + public static final int def_drawer_elevation=0x7f040007; + public static final int notification_action_icon_size=0x7f040008; + public static final int notification_action_text_size=0x7f040009; + public static final int notification_big_circle_margin=0x7f04000a; + public static final int notification_content_margin_start=0x7f04000b; + public static final int notification_large_icon_height=0x7f04000c; + public static final int notification_large_icon_width=0x7f04000d; + public static final int notification_main_column_padding_top=0x7f04000e; + public static final int notification_media_narrow_margin=0x7f04000f; + public static final int notification_right_icon_size=0x7f040010; + public static final int notification_right_side_padding_top=0x7f040011; + public static final int notification_small_icon_background_padding=0x7f040012; + public static final int notification_small_icon_size_as_large=0x7f040013; + public static final int notification_subtext_size=0x7f040014; + public static final int notification_top_pad=0x7f040015; + public static final int notification_top_pad_large_text=0x7f040016; + public static final int subtitle_corner_radius=0x7f040017; + public static final int subtitle_outline_width=0x7f040018; + public static final int subtitle_shadow_offset=0x7f040019; + public static final int subtitle_shadow_radius=0x7f04001a; + } + public static final class drawable { + public static final int common_full_open_on_phone=0x7f050000; + public static final int common_google_signin_btn_icon_dark=0x7f050001; + public static final int common_google_signin_btn_icon_dark_focused=0x7f050002; + public static final int common_google_signin_btn_icon_dark_normal=0x7f050003; + public static final int common_google_signin_btn_icon_dark_normal_background=0x7f050004; + public static final int common_google_signin_btn_icon_disabled=0x7f050005; + public static final int common_google_signin_btn_icon_light=0x7f050006; + public static final int common_google_signin_btn_icon_light_focused=0x7f050007; + public static final int common_google_signin_btn_icon_light_normal=0x7f050008; + public static final int common_google_signin_btn_icon_light_normal_background=0x7f050009; + public static final int common_google_signin_btn_text_dark=0x7f05000a; + public static final int common_google_signin_btn_text_dark_focused=0x7f05000b; + public static final int common_google_signin_btn_text_dark_normal=0x7f05000c; + public static final int common_google_signin_btn_text_dark_normal_background=0x7f05000d; + public static final int common_google_signin_btn_text_disabled=0x7f05000e; + public static final int common_google_signin_btn_text_light=0x7f05000f; + public static final int common_google_signin_btn_text_light_focused=0x7f050010; + public static final int common_google_signin_btn_text_light_normal=0x7f050011; + public static final int common_google_signin_btn_text_light_normal_background=0x7f050012; + public static final int googleg_disabled_color_18=0x7f050013; + public static final int googleg_standard_color_18=0x7f050014; + public static final int icon=0x7f050015; + public static final int notification_action_background=0x7f050016; + public static final int notification_bg=0x7f050017; + public static final int notification_bg_low=0x7f050018; + public static final int notification_bg_low_normal=0x7f050019; + public static final int notification_bg_low_pressed=0x7f05001a; + public static final int notification_bg_normal=0x7f05001b; + public static final int notification_bg_normal_pressed=0x7f05001c; + public static final int notification_icon_background=0x7f05001d; + public static final int notification_template_icon_bg=0x7f05001e; + public static final int notification_template_icon_low_bg=0x7f05001f; + public static final int notification_tile_bg=0x7f050020; + public static final int notify_panel_notification_icon_bg=0x7f050021; + } + public static final class id { + public static final int accessibility_action_clickable_span=0x7f060000; + public static final int accessibility_custom_action_0=0x7f060001; + public static final int accessibility_custom_action_1=0x7f060002; + public static final int accessibility_custom_action_10=0x7f060003; + public static final int accessibility_custom_action_11=0x7f060004; + public static final int accessibility_custom_action_12=0x7f060005; + public static final int accessibility_custom_action_13=0x7f060006; + public static final int accessibility_custom_action_14=0x7f060007; + public static final int accessibility_custom_action_15=0x7f060008; + public static final int accessibility_custom_action_16=0x7f060009; + public static final int accessibility_custom_action_17=0x7f06000a; + public static final int accessibility_custom_action_18=0x7f06000b; + public static final int accessibility_custom_action_19=0x7f06000c; + public static final int accessibility_custom_action_2=0x7f06000d; + public static final int accessibility_custom_action_20=0x7f06000e; + public static final int accessibility_custom_action_21=0x7f06000f; + public static final int accessibility_custom_action_22=0x7f060010; + public static final int accessibility_custom_action_23=0x7f060011; + public static final int accessibility_custom_action_24=0x7f060012; + public static final int accessibility_custom_action_25=0x7f060013; + public static final int accessibility_custom_action_26=0x7f060014; + public static final int accessibility_custom_action_27=0x7f060015; + public static final int accessibility_custom_action_28=0x7f060016; + public static final int accessibility_custom_action_29=0x7f060017; + public static final int accessibility_custom_action_3=0x7f060018; + public static final int accessibility_custom_action_30=0x7f060019; + public static final int accessibility_custom_action_31=0x7f06001a; + public static final int accessibility_custom_action_4=0x7f06001b; + public static final int accessibility_custom_action_5=0x7f06001c; + public static final int accessibility_custom_action_6=0x7f06001d; + public static final int accessibility_custom_action_7=0x7f06001e; + public static final int accessibility_custom_action_8=0x7f06001f; + public static final int accessibility_custom_action_9=0x7f060020; + public static final int action0=0x7f060021; + public static final int action_container=0x7f060022; + public static final int action_divider=0x7f060023; + public static final int action_image=0x7f060024; + public static final int action_text=0x7f060025; + public static final int actions=0x7f060026; + public static final int adjust_height=0x7f060027; + public static final int adjust_width=0x7f060028; + public static final int all=0x7f060029; + public static final int async=0x7f06002a; + public static final int auto=0x7f06002b; + public static final int blocking=0x7f06002c; + public static final int bottom=0x7f06002d; + public static final int cancel_action=0x7f06002e; + public static final int center=0x7f06002f; + public static final int center_horizontal=0x7f060030; + public static final int center_vertical=0x7f060031; + public static final int chronometer=0x7f060032; + public static final int clip_horizontal=0x7f060033; + public static final int clip_vertical=0x7f060034; + public static final int dark=0x7f060035; + public static final int dialog_button=0x7f060036; + public static final int end=0x7f060037; + public static final int end_padder=0x7f060038; + public static final int fill=0x7f060039; + public static final int fill_horizontal=0x7f06003a; + public static final int fill_vertical=0x7f06003b; + public static final int forever=0x7f06003c; + public static final int fragment_container_view_tag=0x7f06003d; + public static final int hybrid=0x7f06003e; + public static final int icon=0x7f06003f; + public static final int icon_group=0x7f060040; + public static final int icon_only=0x7f060041; + public static final int info=0x7f060042; + public static final int italic=0x7f060043; + public static final int left=0x7f060044; + public static final int light=0x7f060045; + public static final int line1=0x7f060046; + public static final int line3=0x7f060047; + public static final int media_actions=0x7f060048; + public static final int none=0x7f060049; + public static final int normal=0x7f06004a; + public static final int notification_background=0x7f06004b; + public static final int notification_main_column=0x7f06004c; + public static final int notification_main_column_container=0x7f06004d; + public static final int right=0x7f06004e; + public static final int right_icon=0x7f06004f; + public static final int right_side=0x7f060050; + public static final int satellite=0x7f060051; + public static final int standard=0x7f060052; + public static final int start=0x7f060053; + public static final int status_bar_latest_event_content=0x7f060054; + public static final int tag_accessibility_actions=0x7f060055; + public static final int tag_accessibility_clickable_spans=0x7f060056; + public static final int tag_accessibility_heading=0x7f060057; + public static final int tag_accessibility_pane_title=0x7f060058; + public static final int tag_screen_reader_focusable=0x7f060059; + public static final int tag_transition_group=0x7f06005a; + public static final int tag_unhandled_key_event_manager=0x7f06005b; + public static final int tag_unhandled_key_listeners=0x7f06005c; + public static final int terrain=0x7f06005d; + public static final int text=0x7f06005e; + public static final int text2=0x7f06005f; + public static final int time=0x7f060060; + public static final int title=0x7f060061; + public static final int top=0x7f060062; + public static final int visible_removing_fragment_view_tag=0x7f060063; + public static final int wide=0x7f060064; + } + public static final class integer { + public static final int cancel_button_image_alpha=0x7f070000; + public static final int google_play_services_version=0x7f070001; + public static final int status_bar_notification_info_maxnum=0x7f070002; + } + public static final class layout { + public static final int custom_dialog=0x7f080000; + public static final int notification_action=0x7f080001; + public static final int notification_action_tombstone=0x7f080002; + public static final int notification_media_action=0x7f080003; + public static final int notification_media_cancel_action=0x7f080004; + public static final int notification_template_big_media=0x7f080005; + public static final int notification_template_big_media_custom=0x7f080006; + public static final int notification_template_big_media_narrow=0x7f080007; + public static final int notification_template_big_media_narrow_custom=0x7f080008; + public static final int notification_template_custom_big=0x7f080009; + public static final int notification_template_icon_group=0x7f08000a; + public static final int notification_template_lines_media=0x7f08000b; + public static final int notification_template_media=0x7f08000c; + public static final int notification_template_media_custom=0x7f08000d; + public static final int notification_template_part_chronometer=0x7f08000e; + public static final int notification_template_part_time=0x7f08000f; + } + public static final class string { + public static final int common_google_play_services_enable_button=0x7f090000; + public static final int common_google_play_services_enable_text=0x7f090001; + public static final int common_google_play_services_enable_title=0x7f090002; + public static final int common_google_play_services_install_button=0x7f090003; + public static final int common_google_play_services_install_text=0x7f090004; + public static final int common_google_play_services_install_title=0x7f090005; + public static final int common_google_play_services_notification_channel_name=0x7f090006; + public static final int common_google_play_services_notification_ticker=0x7f090007; + public static final int common_google_play_services_unknown_issue=0x7f090008; + public static final int common_google_play_services_unsupported_text=0x7f090009; + public static final int common_google_play_services_update_button=0x7f09000a; + public static final int common_google_play_services_update_text=0x7f09000b; + public static final int common_google_play_services_update_title=0x7f09000c; + public static final int common_google_play_services_updating_text=0x7f09000d; + public static final int common_google_play_services_wear_update_text=0x7f09000e; + public static final int common_open_on_phone=0x7f09000f; + public static final int common_signin_button_text=0x7f090010; + public static final int common_signin_button_text_long=0x7f090011; + public static final int status_bar_notification_info_overflow=0x7f090012; + } + public static final class style { + public static final int LightTheme=0x7f0a0000; + public static final int LowerCaseMenu=0x7f0a0001; + public static final int TextAppearance_Compat_Notification=0x7f0a0002; + public static final int TextAppearance_Compat_Notification_Info=0x7f0a0003; + public static final int TextAppearance_Compat_Notification_Info_Media=0x7f0a0004; + public static final int TextAppearance_Compat_Notification_Line2=0x7f0a0005; + public static final int TextAppearance_Compat_Notification_Line2_Media=0x7f0a0006; + public static final int TextAppearance_Compat_Notification_Media=0x7f0a0007; + public static final int TextAppearance_Compat_Notification_Time=0x7f0a0008; + public static final int TextAppearance_Compat_Notification_Time_Media=0x7f0a0009; + public static final int TextAppearance_Compat_Notification_Title=0x7f0a000a; + public static final int TextAppearance_Compat_Notification_Title_Media=0x7f0a000b; + public static final int Widget_Compat_NotificationActionContainer=0x7f0a000c; + public static final int Widget_Compat_NotificationActionText=0x7f0a000d; + public static final int Widget_Support_CoordinatorLayout=0x7f0a000e; + } + public static final class styleable { + /** + * Attributes that can be used with a ColorStateListItem. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + *
AttributeDescription
{@link #ColorStateListItem_android_color android:color}
{@link #ColorStateListItem_android_alpha android:alpha}
{@link #ColorStateListItem_alpha reparto_izca.keymon.lat:alpha}Alpha multiplier applied to the base color.
+ * @see #ColorStateListItem_android_color + * @see #ColorStateListItem_android_alpha + * @see #ColorStateListItem_alpha + */ + public static final int[] ColorStateListItem={ + 0x010101a5, 0x0101031f, 0x7f020000 + }; + /** + *

+ * @attr description + * Base color for this state. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name android:color + */ + public static final int ColorStateListItem_android_color=0; + /** + *

This symbol is the offset where the {@link android.R.attr#alpha} + * attribute's value can be found in the {@link #ColorStateListItem} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:alpha + */ + public static final int ColorStateListItem_android_alpha=1; + /** + *

+ * @attr description + * Alpha multiplier applied to the base color. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:alpha + */ + public static final int ColorStateListItem_alpha=2; + /** + * Attributes that can be used with a CoordinatorLayout. + *

Includes the following attributes:

+ * + * + * + * + * + * + *
AttributeDescription
{@link #CoordinatorLayout_keylines reparto_izca.keymon.lat:keylines}A reference to an array of integers representing the + * locations of horizontal keylines in dp from the starting edge.
{@link #CoordinatorLayout_statusBarBackground reparto_izca.keymon.lat:statusBarBackground}Drawable to display behind the status bar when the view is set to draw behind it.
+ * @see #CoordinatorLayout_keylines + * @see #CoordinatorLayout_statusBarBackground + */ + public static final int[] CoordinatorLayout={ + 0x7f02001b, 0x7f020029 + }; + /** + *

+ * @attr description + * A reference to an array of integers representing the + * locations of horizontal keylines in dp from the starting edge. + * Child views can refer to these keylines for alignment using + * layout_keyline="index" where index is a 0-based index into + * this array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name reparto_izca.keymon.lat:keylines + */ + public static final int CoordinatorLayout_keylines=0; + /** + *

+ * @attr description + * Drawable to display behind the status bar when the view is set to draw behind it. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name reparto_izca.keymon.lat:statusBarBackground + */ + public static final int CoordinatorLayout_statusBarBackground=1; + /** + * Attributes that can be used with a CoordinatorLayout_Layout. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #CoordinatorLayout_Layout_android_layout_gravity android:layout_gravity}
{@link #CoordinatorLayout_Layout_layout_anchor reparto_izca.keymon.lat:layout_anchor}The id of an anchor view that this view should position relative to.
{@link #CoordinatorLayout_Layout_layout_anchorGravity reparto_izca.keymon.lat:layout_anchorGravity}Specifies how an object should position relative to an anchor, on both the X and Y axes, + * within its parent's bounds.
{@link #CoordinatorLayout_Layout_layout_behavior reparto_izca.keymon.lat:layout_behavior}The class name of a Behavior class defining special runtime behavior + * for this child view.
{@link #CoordinatorLayout_Layout_layout_dodgeInsetEdges reparto_izca.keymon.lat:layout_dodgeInsetEdges}Specifies how this view dodges the inset edges of the CoordinatorLayout.
{@link #CoordinatorLayout_Layout_layout_insetEdge reparto_izca.keymon.lat:layout_insetEdge}Specifies how this view insets the CoordinatorLayout and make some other views + * dodge it.
{@link #CoordinatorLayout_Layout_layout_keyline reparto_izca.keymon.lat:layout_keyline}The index of a keyline this view should position relative to.
+ * @see #CoordinatorLayout_Layout_android_layout_gravity + * @see #CoordinatorLayout_Layout_layout_anchor + * @see #CoordinatorLayout_Layout_layout_anchorGravity + * @see #CoordinatorLayout_Layout_layout_behavior + * @see #CoordinatorLayout_Layout_layout_dodgeInsetEdges + * @see #CoordinatorLayout_Layout_layout_insetEdge + * @see #CoordinatorLayout_Layout_layout_keyline + */ + public static final int[] CoordinatorLayout_Layout={ + 0x010100b3, 0x7f020020, 0x7f020021, 0x7f020022, + 0x7f020023, 0x7f020024, 0x7f020025 + }; + /** + *

This symbol is the offset where the {@link android.R.attr#layout_gravity} + * attribute's value can be found in the {@link #CoordinatorLayout_Layout} array. + * + *

Must be one or more (separated by '|') of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
bottom50
center11
center_horizontal1
center_vertical10
clip_horizontal8
clip_vertical80
end800005
fill77
fill_horizontal7
fill_vertical70
left3
right5
start800003
top30
+ * + * @attr name android:layout_gravity + */ + public static final int CoordinatorLayout_Layout_android_layout_gravity=0; + /** + *

+ * @attr description + * The id of an anchor view that this view should position relative to. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name reparto_izca.keymon.lat:layout_anchor + */ + public static final int CoordinatorLayout_Layout_layout_anchor=1; + /** + *

+ * @attr description + * Specifies how an object should position relative to an anchor, on both the X and Y axes, + * within its parent's bounds. + * + *

Must be one or more (separated by '|') of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
bottom50Push object to the bottom of its container, not changing its size.
center11Place the object in the center of its container in both the vertical and horizontal axis, not changing its size.
center_horizontal1Place object in the horizontal center of its container, not changing its size.
center_vertical10Place object in the vertical center of its container, not changing its size.
clip_horizontal8Additional option that can be set to have the left and/or right edges of + * the child clipped to its container's bounds. + * The clip will be based on the horizontal gravity: a left gravity will clip the right + * edge, a right gravity will clip the left edge, and neither will clip both edges.
clip_vertical80Additional option that can be set to have the top and/or bottom edges of + * the child clipped to its container's bounds. + * The clip will be based on the vertical gravity: a top gravity will clip the bottom + * edge, a bottom gravity will clip the top edge, and neither will clip both edges.
end800005Push object to the end of its container, not changing its size.
fill77Grow the horizontal and vertical size of the object if needed so it completely fills its container.
fill_horizontal7Grow the horizontal size of the object if needed so it completely fills its container.
fill_vertical70Grow the vertical size of the object if needed so it completely fills its container.
left3Push object to the left of its container, not changing its size.
right5Push object to the right of its container, not changing its size.
start800003Push object to the beginning of its container, not changing its size.
top30Push object to the top of its container, not changing its size.
+ * + * @attr name reparto_izca.keymon.lat:layout_anchorGravity + */ + public static final int CoordinatorLayout_Layout_layout_anchorGravity=2; + /** + *

+ * @attr description + * The class name of a Behavior class defining special runtime behavior + * for this child view. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_izca.keymon.lat:layout_behavior + */ + public static final int CoordinatorLayout_Layout_layout_behavior=3; + /** + *

+ * @attr description + * Specifies how this view dodges the inset edges of the CoordinatorLayout. + * + *

Must be one or more (separated by '|') of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
all77Dodge all the inset edges.
bottom50Dodge the bottom inset edge.
end800005Dodge the end inset edge.
left3Dodge the left inset edge.
none0Don't dodge any edges
right5Dodge the right inset edge.
start800003Dodge the start inset edge.
top30Dodge the top inset edge.
+ * + * @attr name reparto_izca.keymon.lat:layout_dodgeInsetEdges + */ + public static final int CoordinatorLayout_Layout_layout_dodgeInsetEdges=4; + /** + *

+ * @attr description + * Specifies how this view insets the CoordinatorLayout and make some other views + * dodge it. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
bottom50Inset the bottom edge.
end800005Inset the end edge.
left3Inset the left edge.
none0Don't inset.
right5Inset the right edge.
start800003Inset the start edge.
top30Inset the top edge.
+ * + * @attr name reparto_izca.keymon.lat:layout_insetEdge + */ + public static final int CoordinatorLayout_Layout_layout_insetEdge=5; + /** + *

+ * @attr description + * The index of a keyline this view should position relative to. + * android:layout_gravity will affect how the view aligns to the + * specified keyline. + * + *

May be an integer value, such as "100". + * + * @attr name reparto_izca.keymon.lat:layout_keyline + */ + public static final int CoordinatorLayout_Layout_layout_keyline=6; + /** + * Attributes that can be used with a DrawerLayout. + *

Includes the following attributes:

+ * + * + * + * + * + *
AttributeDescription
{@link #DrawerLayout_elevation reparto_izca.keymon.lat:elevation}
+ * @see #DrawerLayout_elevation + */ + public static final int[] DrawerLayout={ + 0x7f02000e + }; + /** + *

+ * @attr description + * The height difference between the drawer and the base surface. Only takes effect on API 21 and above + * + *

May be a dimension value, which is a floating point number appended with a + * unit such as "14.5sp". + * Available units are: px (pixels), dp (density-independent pixels), + * sp (scaled pixels based on preferred font size), in (inches), and + * mm (millimeters). + * + * @attr name reparto_izca.keymon.lat:elevation + */ + public static final int DrawerLayout_elevation=0; + /** + * Attributes that can be used with a FontFamily. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #FontFamily_fontProviderAuthority reparto_izca.keymon.lat:fontProviderAuthority}The authority of the Font Provider to be used for the request.
{@link #FontFamily_fontProviderCerts reparto_izca.keymon.lat:fontProviderCerts}The sets of hashes for the certificates the provider should be signed with.
{@link #FontFamily_fontProviderFetchStrategy reparto_izca.keymon.lat:fontProviderFetchStrategy}The strategy to be used when fetching font data from a font provider in XML layouts.
{@link #FontFamily_fontProviderFetchTimeout reparto_izca.keymon.lat:fontProviderFetchTimeout}The length of the timeout during fetching.
{@link #FontFamily_fontProviderPackage reparto_izca.keymon.lat:fontProviderPackage}The package for the Font Provider to be used for the request.
{@link #FontFamily_fontProviderQuery reparto_izca.keymon.lat:fontProviderQuery}The query to be sent over to the provider.
+ * @see #FontFamily_fontProviderAuthority + * @see #FontFamily_fontProviderCerts + * @see #FontFamily_fontProviderFetchStrategy + * @see #FontFamily_fontProviderFetchTimeout + * @see #FontFamily_fontProviderPackage + * @see #FontFamily_fontProviderQuery + */ + public static final int[] FontFamily={ + 0x7f020010, 0x7f020011, 0x7f020012, 0x7f020013, + 0x7f020014, 0x7f020015 + }; + /** + *

+ * @attr description + * The authority of the Font Provider to be used for the request. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_izca.keymon.lat:fontProviderAuthority + */ + public static final int FontFamily_fontProviderAuthority=0; + /** + *

+ * @attr description + * The sets of hashes for the certificates the provider should be signed with. This is + * used to verify the identity of the provider, and is only required if the provider is not + * part of the system image. This value may point to one list or a list of lists, where each + * individual list represents one collection of signature hashes. Refer to your font provider's + * documentation for these values. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name reparto_izca.keymon.lat:fontProviderCerts + */ + public static final int FontFamily_fontProviderCerts=1; + /** + *

+ * @attr description + * The strategy to be used when fetching font data from a font provider in XML layouts. + * This attribute is ignored when the resource is loaded from code, as it is equivalent to the + * choice of API between {@link + * androidx.core.content.res.ResourcesCompat#getFont(Context, int)} (blocking) and + * {@link + * androidx.core.content.res.ResourcesCompat#getFont(Context, int, FontCallback, Handler)} + * (async). + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + *
ConstantValueDescription
async1The async font fetch works as follows. + * First, check the local cache, then if the requeted font is not cached, trigger a + * request the font and continue with layout inflation. Once the font fetch succeeds, the + * target text view will be refreshed with the downloaded font data. The + * fontProviderFetchTimeout will be ignored if async loading is specified.
blocking0The blocking font fetch works as follows. + * First, check the local cache, then if the requested font is not cached, request the + * font from the provider and wait until it is finished. You can change the length of + * the timeout by modifying fontProviderFetchTimeout. If the timeout happens, the + * default typeface will be used instead.
+ * + * @attr name reparto_izca.keymon.lat:fontProviderFetchStrategy + */ + public static final int FontFamily_fontProviderFetchStrategy=2; + /** + *

+ * @attr description + * The length of the timeout during fetching. + * + *

May be an integer value, such as "100". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + *
ConstantValueDescription
foreverffffffffA special value for the timeout. In this case, the blocking font fetching will not + * timeout and wait until a reply is received from the font provider.
+ * + * @attr name reparto_izca.keymon.lat:fontProviderFetchTimeout + */ + public static final int FontFamily_fontProviderFetchTimeout=3; + /** + *

+ * @attr description + * The package for the Font Provider to be used for the request. This is used to verify + * the identity of the provider. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_izca.keymon.lat:fontProviderPackage + */ + public static final int FontFamily_fontProviderPackage=4; + /** + *

+ * @attr description + * The query to be sent over to the provider. Refer to your font provider's documentation + * on the format of this string. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_izca.keymon.lat:fontProviderQuery + */ + public static final int FontFamily_fontProviderQuery=5; + /** + * Attributes that can be used with a FontFamilyFont. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #FontFamilyFont_android_font android:font}
{@link #FontFamilyFont_android_fontWeight android:fontWeight}
{@link #FontFamilyFont_android_fontStyle android:fontStyle}
{@link #FontFamilyFont_android_ttcIndex android:ttcIndex}
{@link #FontFamilyFont_android_fontVariationSettings android:fontVariationSettings}
{@link #FontFamilyFont_font reparto_izca.keymon.lat:font}The reference to the font file to be used.
{@link #FontFamilyFont_fontStyle reparto_izca.keymon.lat:fontStyle}The style of the given font file.
{@link #FontFamilyFont_fontVariationSettings reparto_izca.keymon.lat:fontVariationSettings}The variation settings to be applied to the font.
{@link #FontFamilyFont_fontWeight reparto_izca.keymon.lat:fontWeight}The weight of the given font file.
{@link #FontFamilyFont_ttcIndex reparto_izca.keymon.lat:ttcIndex}The index of the font in the tcc font file.
+ * @see #FontFamilyFont_android_font + * @see #FontFamilyFont_android_fontWeight + * @see #FontFamilyFont_android_fontStyle + * @see #FontFamilyFont_android_ttcIndex + * @see #FontFamilyFont_android_fontVariationSettings + * @see #FontFamilyFont_font + * @see #FontFamilyFont_fontStyle + * @see #FontFamilyFont_fontVariationSettings + * @see #FontFamilyFont_fontWeight + * @see #FontFamilyFont_ttcIndex + */ + public static final int[] FontFamilyFont={ + 0x01010532, 0x01010533, 0x0101053f, 0x0101056f, + 0x01010570, 0x7f02000f, 0x7f020016, 0x7f020017, + 0x7f020018, 0x7f02002b + }; + /** + *

This symbol is the offset where the {@link android.R.attr#font} + * attribute's value can be found in the {@link #FontFamilyFont} array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name android:font + */ + public static final int FontFamilyFont_android_font=0; + /** + *

This symbol is the offset where the {@link android.R.attr#fontWeight} + * attribute's value can be found in the {@link #FontFamilyFont} array. + * + *

May be an integer value, such as "100". + * + * @attr name android:fontWeight + */ + public static final int FontFamilyFont_android_fontWeight=1; + /** + *

+ * @attr description + * References to the framework attrs + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + *
ConstantValueDescription
italic1
normal0
+ * + * @attr name android:fontStyle + */ + public static final int FontFamilyFont_android_fontStyle=2; + /** + *

This symbol is the offset where the {@link android.R.attr#ttcIndex} + * attribute's value can be found in the {@link #FontFamilyFont} array. + * + *

May be an integer value, such as "100". + * + * @attr name android:ttcIndex + */ + public static final int FontFamilyFont_android_ttcIndex=3; + /** + *

This symbol is the offset where the {@link android.R.attr#fontVariationSettings} + * attribute's value can be found in the {@link #FontFamilyFont} array. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name android:fontVariationSettings + */ + public static final int FontFamilyFont_android_fontVariationSettings=4; + /** + *

+ * @attr description + * The reference to the font file to be used. This should be a file in the res/font folder + * and should therefore have an R reference value. E.g. @font/myfont + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name reparto_izca.keymon.lat:font + */ + public static final int FontFamilyFont_font=5; + /** + *

+ * @attr description + * The style of the given font file. This will be used when the font is being loaded into + * the font stack and will override any style information in the font's header tables. If + * unspecified, the value in the font's header tables will be used. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + *
ConstantValueDescription
italic1
normal0
+ * + * @attr name reparto_izca.keymon.lat:fontStyle + */ + public static final int FontFamilyFont_fontStyle=6; + /** + *

+ * @attr description + * The variation settings to be applied to the font. The string should be in the following + * format: "'tag1' value1, 'tag2' value2, ...". If the default variation settings should be + * used, or the font used does not support variation settings, this attribute needs not be + * specified. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_izca.keymon.lat:fontVariationSettings + */ + public static final int FontFamilyFont_fontVariationSettings=7; + /** + *

+ * @attr description + * The weight of the given font file. This will be used when the font is being loaded into + * the font stack and will override any weight information in the font's header tables. Must + * be a positive number, a multiple of 100, and between 100 and 900, inclusive. The most + * common values are 400 for regular weight and 700 for bold weight. If unspecified, the value + * in the font's header tables will be used. + * + *

May be an integer value, such as "100". + * + * @attr name reparto_izca.keymon.lat:fontWeight + */ + public static final int FontFamilyFont_fontWeight=8; + /** + *

+ * @attr description + * The index of the font in the tcc font file. If the font file referenced is not in the + * tcc format, this attribute needs not be specified. + * + *

May be an integer value, such as "100". + * + * @attr name reparto_izca.keymon.lat:ttcIndex + */ + public static final int FontFamilyFont_ttcIndex=9; + /** + * Attributes that can be used with a Fragment. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + *
AttributeDescription
{@link #Fragment_android_name android:name}
{@link #Fragment_android_id android:id}
{@link #Fragment_android_tag android:tag}
+ * @see #Fragment_android_name + * @see #Fragment_android_id + * @see #Fragment_android_tag + */ + public static final int[] Fragment={ + 0x01010003, 0x010100d0, 0x010100d1 + }; + /** + *

This symbol is the offset where the {@link android.R.attr#name} + * attribute's value can be found in the {@link #Fragment} array. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name android:name + */ + public static final int Fragment_android_name=0; + /** + *

This symbol is the offset where the {@link android.R.attr#id} + * attribute's value can be found in the {@link #Fragment} array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name android:id + */ + public static final int Fragment_android_id=1; + /** + *

This symbol is the offset where the {@link android.R.attr#tag} + * attribute's value can be found in the {@link #Fragment} array. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name android:tag + */ + public static final int Fragment_android_tag=2; + /** + * Attributes that can be used with a FragmentContainerView. + *

Includes the following attributes:

+ * + * + * + * + * + * + *
AttributeDescription
{@link #FragmentContainerView_android_name android:name}
{@link #FragmentContainerView_android_tag android:tag}
+ * @see #FragmentContainerView_android_name + * @see #FragmentContainerView_android_tag + */ + public static final int[] FragmentContainerView={ + 0x01010003, 0x010100d1 + }; + /** + *

This symbol is the offset where the {@link android.R.attr#name} + * attribute's value can be found in the {@link #FragmentContainerView} array. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name android:name + */ + public static final int FragmentContainerView_android_name=0; + /** + *

This symbol is the offset where the {@link android.R.attr#tag} + * attribute's value can be found in the {@link #FragmentContainerView} array. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name android:tag + */ + public static final int FragmentContainerView_android_tag=1; + /** + * Attributes that can be used with a GradientColor. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #GradientColor_android_startColor android:startColor}
{@link #GradientColor_android_endColor android:endColor}
{@link #GradientColor_android_type android:type}
{@link #GradientColor_android_centerX android:centerX}
{@link #GradientColor_android_centerY android:centerY}
{@link #GradientColor_android_gradientRadius android:gradientRadius}
{@link #GradientColor_android_tileMode android:tileMode}
{@link #GradientColor_android_centerColor android:centerColor}
{@link #GradientColor_android_startX android:startX}
{@link #GradientColor_android_startY android:startY}
{@link #GradientColor_android_endX android:endX}
{@link #GradientColor_android_endY android:endY}
+ * @see #GradientColor_android_startColor + * @see #GradientColor_android_endColor + * @see #GradientColor_android_type + * @see #GradientColor_android_centerX + * @see #GradientColor_android_centerY + * @see #GradientColor_android_gradientRadius + * @see #GradientColor_android_tileMode + * @see #GradientColor_android_centerColor + * @see #GradientColor_android_startX + * @see #GradientColor_android_startY + * @see #GradientColor_android_endX + * @see #GradientColor_android_endY + */ + public static final int[] GradientColor={ + 0x0101019d, 0x0101019e, 0x010101a1, 0x010101a2, + 0x010101a3, 0x010101a4, 0x01010201, 0x0101020b, + 0x01010510, 0x01010511, 0x01010512, 0x01010513 + }; + /** + *

+ * @attr description + * Start color of the gradient. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name android:startColor + */ + public static final int GradientColor_android_startColor=0; + /** + *

+ * @attr description + * End color of the gradient. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name android:endColor + */ + public static final int GradientColor_android_endColor=1; + /** + *

+ * @attr description + * Type of gradient. The default type is linear. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
linear0
radial1
sweep2
+ * + * @attr name android:type + */ + public static final int GradientColor_android_type=2; + /** + *

+ * @attr description + * X coordinate of the center of the gradient within the path. + * + *

May be a floating point value, such as "1.2". + *

May be a fractional value, which is a floating point number appended with + * either % or %p, such as "14.5%". + * The % suffix always means a percentage of the base size; + * the optional %p suffix provides a size relative to some parent container. + * + * @attr name android:centerX + */ + public static final int GradientColor_android_centerX=3; + /** + *

+ * @attr description + * Y coordinate of the center of the gradient within the path. + * + *

May be a floating point value, such as "1.2". + *

May be a fractional value, which is a floating point number appended with + * either % or %p, such as "14.5%". + * The % suffix always means a percentage of the base size; + * the optional %p suffix provides a size relative to some parent container. + * + * @attr name android:centerY + */ + public static final int GradientColor_android_centerY=4; + /** + *

+ * @attr description + * Radius of the gradient, used only with radial gradient. + * + *

May be a floating point value, such as "1.2". + *

May be a dimension value, which is a floating point number appended with a + * unit such as "14.5sp". + * Available units are: px (pixels), dp (density-independent pixels), + * sp (scaled pixels based on preferred font size), in (inches), and + * mm (millimeters). + *

May be a fractional value, which is a floating point number appended with + * either % or %p, such as "14.5%". + * The % suffix always means a percentage of the base size; + * the optional %p suffix provides a size relative to some parent container. + * + * @attr name android:gradientRadius + */ + public static final int GradientColor_android_gradientRadius=5; + /** + *

+ * @attr description + * Defines the tile mode of the gradient. SweepGradient doesn't support tiling. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
clamp0
disabledffffffff
mirror2
repeat1
+ * + * @attr name android:tileMode + */ + public static final int GradientColor_android_tileMode=6; + /** + *

+ * @attr description + * Optional center color. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name android:centerColor + */ + public static final int GradientColor_android_centerColor=7; + /** + *

+ * @attr description + * X coordinate of the start point origin of the gradient. + * Defined in same coordinates as the path itself + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:startX + */ + public static final int GradientColor_android_startX=8; + /** + *

+ * @attr description + * Y coordinate of the start point of the gradient within the shape. + * Defined in same coordinates as the path itself + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:startY + */ + public static final int GradientColor_android_startY=9; + /** + *

+ * @attr description + * X coordinate of the end point origin of the gradient. + * Defined in same coordinates as the path itself + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:endX + */ + public static final int GradientColor_android_endX=10; + /** + *

+ * @attr description + * Y coordinate of the end point of the gradient within the shape. + * Defined in same coordinates as the path itself + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:endY + */ + public static final int GradientColor_android_endY=11; + /** + * Attributes that can be used with a GradientColorItem. + *

Includes the following attributes:

+ * + * + * + * + * + * + *
AttributeDescription
{@link #GradientColorItem_android_color android:color}
{@link #GradientColorItem_android_offset android:offset}
+ * @see #GradientColorItem_android_color + * @see #GradientColorItem_android_offset + */ + public static final int[] GradientColorItem={ + 0x010101a5, 0x01010514 + }; + /** + *

+ * @attr description + * The current color for the offset inside the gradient. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name android:color + */ + public static final int GradientColorItem_android_color=0; + /** + *

+ * @attr description + * The offset (or ratio) of this current color item inside the gradient. + * The value is only meaningful when it is between 0 and 1. + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:offset + */ + public static final int GradientColorItem_android_offset=1; + /** + * Attributes that can be used with a LoadingImageView. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + *
AttributeDescription
{@link #LoadingImageView_circleCrop reparto_izca.keymon.lat:circleCrop}
{@link #LoadingImageView_imageAspectRatio reparto_izca.keymon.lat:imageAspectRatio}
{@link #LoadingImageView_imageAspectRatioAdjust reparto_izca.keymon.lat:imageAspectRatioAdjust}
+ * @see #LoadingImageView_circleCrop + * @see #LoadingImageView_imageAspectRatio + * @see #LoadingImageView_imageAspectRatioAdjust + */ + public static final int[] LoadingImageView={ + 0x7f02000a, 0x7f020019, 0x7f02001a + }; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#circleCrop} + * attribute's value can be found in the {@link #LoadingImageView} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:circleCrop + */ + public static final int LoadingImageView_circleCrop=0; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#imageAspectRatio} + * attribute's value can be found in the {@link #LoadingImageView} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:imageAspectRatio + */ + public static final int LoadingImageView_imageAspectRatio=1; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#imageAspectRatioAdjust} + * attribute's value can be found in the {@link #LoadingImageView} array. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
adjust_height2
adjust_width1
none0
+ * + * @attr name reparto_izca.keymon.lat:imageAspectRatioAdjust + */ + public static final int LoadingImageView_imageAspectRatioAdjust=2; + /** + * Attributes that can be used with a MapAttrs. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #MapAttrs_ambientEnabled reparto_izca.keymon.lat:ambientEnabled}
{@link #MapAttrs_cameraBearing reparto_izca.keymon.lat:cameraBearing}
{@link #MapAttrs_cameraMaxZoomPreference reparto_izca.keymon.lat:cameraMaxZoomPreference}
{@link #MapAttrs_cameraMinZoomPreference reparto_izca.keymon.lat:cameraMinZoomPreference}
{@link #MapAttrs_cameraTargetLat reparto_izca.keymon.lat:cameraTargetLat}
{@link #MapAttrs_cameraTargetLng reparto_izca.keymon.lat:cameraTargetLng}
{@link #MapAttrs_cameraTilt reparto_izca.keymon.lat:cameraTilt}
{@link #MapAttrs_cameraZoom reparto_izca.keymon.lat:cameraZoom}
{@link #MapAttrs_latLngBoundsNorthEastLatitude reparto_izca.keymon.lat:latLngBoundsNorthEastLatitude}
{@link #MapAttrs_latLngBoundsNorthEastLongitude reparto_izca.keymon.lat:latLngBoundsNorthEastLongitude}
{@link #MapAttrs_latLngBoundsSouthWestLatitude reparto_izca.keymon.lat:latLngBoundsSouthWestLatitude}
{@link #MapAttrs_latLngBoundsSouthWestLongitude reparto_izca.keymon.lat:latLngBoundsSouthWestLongitude}
{@link #MapAttrs_liteMode reparto_izca.keymon.lat:liteMode}
{@link #MapAttrs_mapType reparto_izca.keymon.lat:mapType}
{@link #MapAttrs_uiCompass reparto_izca.keymon.lat:uiCompass}
{@link #MapAttrs_uiMapToolbar reparto_izca.keymon.lat:uiMapToolbar}
{@link #MapAttrs_uiRotateGestures reparto_izca.keymon.lat:uiRotateGestures}
{@link #MapAttrs_uiScrollGestures reparto_izca.keymon.lat:uiScrollGestures}
{@link #MapAttrs_uiScrollGesturesDuringRotateOrZoom reparto_izca.keymon.lat:uiScrollGesturesDuringRotateOrZoom}
{@link #MapAttrs_uiTiltGestures reparto_izca.keymon.lat:uiTiltGestures}
{@link #MapAttrs_uiZoomControls reparto_izca.keymon.lat:uiZoomControls}
{@link #MapAttrs_uiZoomGestures reparto_izca.keymon.lat:uiZoomGestures}
{@link #MapAttrs_useViewLifecycle reparto_izca.keymon.lat:useViewLifecycle}
{@link #MapAttrs_zOrderOnTop reparto_izca.keymon.lat:zOrderOnTop}
+ * @see #MapAttrs_ambientEnabled + * @see #MapAttrs_cameraBearing + * @see #MapAttrs_cameraMaxZoomPreference + * @see #MapAttrs_cameraMinZoomPreference + * @see #MapAttrs_cameraTargetLat + * @see #MapAttrs_cameraTargetLng + * @see #MapAttrs_cameraTilt + * @see #MapAttrs_cameraZoom + * @see #MapAttrs_latLngBoundsNorthEastLatitude + * @see #MapAttrs_latLngBoundsNorthEastLongitude + * @see #MapAttrs_latLngBoundsSouthWestLatitude + * @see #MapAttrs_latLngBoundsSouthWestLongitude + * @see #MapAttrs_liteMode + * @see #MapAttrs_mapType + * @see #MapAttrs_uiCompass + * @see #MapAttrs_uiMapToolbar + * @see #MapAttrs_uiRotateGestures + * @see #MapAttrs_uiScrollGestures + * @see #MapAttrs_uiScrollGesturesDuringRotateOrZoom + * @see #MapAttrs_uiTiltGestures + * @see #MapAttrs_uiZoomControls + * @see #MapAttrs_uiZoomGestures + * @see #MapAttrs_useViewLifecycle + * @see #MapAttrs_zOrderOnTop + */ + public static final int[] MapAttrs={ + 0x7f020001, 0x7f020003, 0x7f020004, 0x7f020005, + 0x7f020006, 0x7f020007, 0x7f020008, 0x7f020009, + 0x7f02001c, 0x7f02001d, 0x7f02001e, 0x7f02001f, + 0x7f020026, 0x7f020027, 0x7f02002c, 0x7f02002d, + 0x7f02002e, 0x7f02002f, 0x7f020030, 0x7f020031, + 0x7f020032, 0x7f020033, 0x7f020034, 0x7f020035 + }; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#ambientEnabled} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:ambientEnabled + */ + public static final int MapAttrs_ambientEnabled=0; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#cameraBearing} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:cameraBearing + */ + public static final int MapAttrs_cameraBearing=1; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#cameraMaxZoomPreference} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:cameraMaxZoomPreference + */ + public static final int MapAttrs_cameraMaxZoomPreference=2; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#cameraMinZoomPreference} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:cameraMinZoomPreference + */ + public static final int MapAttrs_cameraMinZoomPreference=3; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#cameraTargetLat} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:cameraTargetLat + */ + public static final int MapAttrs_cameraTargetLat=4; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#cameraTargetLng} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:cameraTargetLng + */ + public static final int MapAttrs_cameraTargetLng=5; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#cameraTilt} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:cameraTilt + */ + public static final int MapAttrs_cameraTilt=6; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#cameraZoom} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:cameraZoom + */ + public static final int MapAttrs_cameraZoom=7; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#latLngBoundsNorthEastLatitude} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:latLngBoundsNorthEastLatitude + */ + public static final int MapAttrs_latLngBoundsNorthEastLatitude=8; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#latLngBoundsNorthEastLongitude} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:latLngBoundsNorthEastLongitude + */ + public static final int MapAttrs_latLngBoundsNorthEastLongitude=9; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#latLngBoundsSouthWestLatitude} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:latLngBoundsSouthWestLatitude + */ + public static final int MapAttrs_latLngBoundsSouthWestLatitude=10; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#latLngBoundsSouthWestLongitude} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:latLngBoundsSouthWestLongitude + */ + public static final int MapAttrs_latLngBoundsSouthWestLongitude=11; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#liteMode} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:liteMode + */ + public static final int MapAttrs_liteMode=12; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#mapType} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
hybrid4
none0
normal1
satellite2
terrain3
+ * + * @attr name reparto_izca.keymon.lat:mapType + */ + public static final int MapAttrs_mapType=13; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiCompass} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiCompass + */ + public static final int MapAttrs_uiCompass=14; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiMapToolbar} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiMapToolbar + */ + public static final int MapAttrs_uiMapToolbar=15; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiRotateGestures} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiRotateGestures + */ + public static final int MapAttrs_uiRotateGestures=16; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiScrollGestures} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiScrollGestures + */ + public static final int MapAttrs_uiScrollGestures=17; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiScrollGesturesDuringRotateOrZoom} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiScrollGesturesDuringRotateOrZoom + */ + public static final int MapAttrs_uiScrollGesturesDuringRotateOrZoom=18; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiTiltGestures} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiTiltGestures + */ + public static final int MapAttrs_uiTiltGestures=19; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiZoomControls} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiZoomControls + */ + public static final int MapAttrs_uiZoomControls=20; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiZoomGestures} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiZoomGestures + */ + public static final int MapAttrs_uiZoomGestures=21; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#useViewLifecycle} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:useViewLifecycle + */ + public static final int MapAttrs_useViewLifecycle=22; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#zOrderOnTop} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:zOrderOnTop + */ + public static final int MapAttrs_zOrderOnTop=23; + /** + * Attributes that can be used with a SignInButton. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + *
AttributeDescription
{@link #SignInButton_buttonSize reparto_izca.keymon.lat:buttonSize}
{@link #SignInButton_colorScheme reparto_izca.keymon.lat:colorScheme}
{@link #SignInButton_scopeUris reparto_izca.keymon.lat:scopeUris}
+ * @see #SignInButton_buttonSize + * @see #SignInButton_colorScheme + * @see #SignInButton_scopeUris + */ + public static final int[] SignInButton={ + 0x7f020002, 0x7f02000b, 0x7f020028 + }; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#buttonSize} + * attribute's value can be found in the {@link #SignInButton} array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
icon_only2
standard0
wide1
+ * + * @attr name reparto_izca.keymon.lat:buttonSize + */ + public static final int SignInButton_buttonSize=0; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#colorScheme} + * attribute's value can be found in the {@link #SignInButton} array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
auto2
dark0
light1
+ * + * @attr name reparto_izca.keymon.lat:colorScheme + */ + public static final int SignInButton_colorScheme=1; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#scopeUris} + * attribute's value can be found in the {@link #SignInButton} array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_izca.keymon.lat:scopeUris + */ + public static final int SignInButton_scopeUris=2; + /** + * Attributes that can be used with a SwipeRefreshLayout. + *

Includes the following attributes:

+ * + * + * + * + * + *
AttributeDescription
{@link #SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor reparto_izca.keymon.lat:swipeRefreshLayoutProgressSpinnerBackgroundColor}Background color for SwipeRefreshLayout progress spinner.
+ * @see #SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor + */ + public static final int[] SwipeRefreshLayout={ + 0x7f02002a + }; + /** + *

+ * @attr description + * Background color for SwipeRefreshLayout progress spinner. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name reparto_izca.keymon.lat:swipeRefreshLayoutProgressSpinnerBackgroundColor + */ + public static final int SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor=0; + } + public static final class xml { + public static final int provider_paths=0x7f0c0000; + } +} \ No newline at end of file diff --git a/B4A/Objects/gen/androidx/fragment/R.java b/B4A/Objects/gen/androidx/fragment/R.java new file mode 100644 index 0000000..5865ede --- /dev/null +++ b/B4A/Objects/gen/androidx/fragment/R.java @@ -0,0 +1,2121 @@ +/* AUTO-GENERATED FILE. DO NOT MODIFY. + * + * This class was automatically generated by the + * aapt tool from the resource data it found. It + * should not be modified by hand. + */ + +package androidx.fragment; + +public final class R { + public static final class anim { + public static final int fragment_close_enter=0x7f010000; + public static final int fragment_close_exit=0x7f010001; + public static final int fragment_fade_enter=0x7f010002; + public static final int fragment_fade_exit=0x7f010003; + public static final int fragment_fast_out_extra_slow_in=0x7f010004; + public static final int fragment_open_enter=0x7f010005; + public static final int fragment_open_exit=0x7f010006; + } + public static final class attr { + /** + * Alpha multiplier applied to the base color. + *

May be a floating point value, such as "1.2". + */ + public static final int alpha=0x7f020000; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int ambientEnabled=0x7f020001; + /** + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
icon_only2
standard0
wide1
+ */ + public static final int buttonSize=0x7f020002; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraBearing=0x7f020003; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraMaxZoomPreference=0x7f020004; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraMinZoomPreference=0x7f020005; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraTargetLat=0x7f020006; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraTargetLng=0x7f020007; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraTilt=0x7f020008; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraZoom=0x7f020009; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int circleCrop=0x7f02000a; + /** + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
auto2
dark0
light1
+ */ + public static final int colorScheme=0x7f02000b; + /** + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int coordinatorLayoutStyle=0x7f02000c; + /** + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int drawerLayoutStyle=0x7f02000d; + /** + *

May be a dimension value, which is a floating point number appended with a + * unit such as "14.5sp". + * Available units are: px (pixels), dp (density-independent pixels), + * sp (scaled pixels based on preferred font size), in (inches), and + * mm (millimeters). + */ + public static final int elevation=0x7f02000e; + /** + * The reference to the font file to be used. This should be a file in the res/font folder + * and should therefore have an R reference value. E.g. @font/myfont + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int font=0x7f02000f; + /** + * The authority of the Font Provider to be used for the request. + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int fontProviderAuthority=0x7f020010; + /** + * The sets of hashes for the certificates the provider should be signed with. This is + * used to verify the identity of the provider, and is only required if the provider is not + * part of the system image. This value may point to one list or a list of lists, where each + * individual list represents one collection of signature hashes. Refer to your font provider's + * documentation for these values. + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int fontProviderCerts=0x7f020011; + /** + * The strategy to be used when fetching font data from a font provider in XML layouts. + * This attribute is ignored when the resource is loaded from code, as it is equivalent to the + * choice of API between {@link + * androidx.core.content.res.ResourcesCompat#getFont(Context, int)} (blocking) and + * {@link + * androidx.core.content.res.ResourcesCompat#getFont(Context, int, FontCallback, Handler)} + * (async). + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + *
ConstantValueDescription
async1The async font fetch works as follows. + * First, check the local cache, then if the requeted font is not cached, trigger a + * request the font and continue with layout inflation. Once the font fetch succeeds, the + * target text view will be refreshed with the downloaded font data. The + * fontProviderFetchTimeout will be ignored if async loading is specified.
blocking0The blocking font fetch works as follows. + * First, check the local cache, then if the requested font is not cached, request the + * font from the provider and wait until it is finished. You can change the length of + * the timeout by modifying fontProviderFetchTimeout. If the timeout happens, the + * default typeface will be used instead.
+ */ + public static final int fontProviderFetchStrategy=0x7f020012; + /** + * The length of the timeout during fetching. + *

May be an integer value, such as "100". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + *
ConstantValueDescription
foreverffffffffA special value for the timeout. In this case, the blocking font fetching will not + * timeout and wait until a reply is received from the font provider.
+ */ + public static final int fontProviderFetchTimeout=0x7f020013; + /** + * The package for the Font Provider to be used for the request. This is used to verify + * the identity of the provider. + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int fontProviderPackage=0x7f020014; + /** + * The query to be sent over to the provider. Refer to your font provider's documentation + * on the format of this string. + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int fontProviderQuery=0x7f020015; + /** + * The style of the given font file. This will be used when the font is being loaded into + * the font stack and will override any style information in the font's header tables. If + * unspecified, the value in the font's header tables will be used. + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + *
ConstantValueDescription
italic1
normal0
+ */ + public static final int fontStyle=0x7f020016; + /** + * The variation settings to be applied to the font. The string should be in the following + * format: "'tag1' value1, 'tag2' value2, ...". If the default variation settings should be + * used, or the font used does not support variation settings, this attribute needs not be + * specified. + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int fontVariationSettings=0x7f020017; + /** + * The weight of the given font file. This will be used when the font is being loaded into + * the font stack and will override any weight information in the font's header tables. Must + * be a positive number, a multiple of 100, and between 100 and 900, inclusive. The most + * common values are 400 for regular weight and 700 for bold weight. If unspecified, the value + * in the font's header tables will be used. + *

May be an integer value, such as "100". + */ + public static final int fontWeight=0x7f020018; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int imageAspectRatio=0x7f020019; + /** + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
adjust_height2
adjust_width1
none0
+ */ + public static final int imageAspectRatioAdjust=0x7f02001a; + /** + * A reference to an array of integers representing the + * locations of horizontal keylines in dp from the starting edge. + * Child views can refer to these keylines for alignment using + * layout_keyline="index" where index is a 0-based index into + * this array. + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int keylines=0x7f02001b; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int latLngBoundsNorthEastLatitude=0x7f02001c; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int latLngBoundsNorthEastLongitude=0x7f02001d; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int latLngBoundsSouthWestLatitude=0x7f02001e; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int latLngBoundsSouthWestLongitude=0x7f02001f; + /** + * The id of an anchor view that this view should position relative to. + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int layout_anchor=0x7f020020; + /** + * Specifies how an object should position relative to an anchor, on both the X and Y axes, + * within its parent's bounds. + *

Must be one or more (separated by '|') of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
bottom50Push object to the bottom of its container, not changing its size.
center11Place the object in the center of its container in both the vertical and horizontal axis, not changing its size.
center_horizontal1Place object in the horizontal center of its container, not changing its size.
center_vertical10Place object in the vertical center of its container, not changing its size.
clip_horizontal8Additional option that can be set to have the left and/or right edges of + * the child clipped to its container's bounds. + * The clip will be based on the horizontal gravity: a left gravity will clip the right + * edge, a right gravity will clip the left edge, and neither will clip both edges.
clip_vertical80Additional option that can be set to have the top and/or bottom edges of + * the child clipped to its container's bounds. + * The clip will be based on the vertical gravity: a top gravity will clip the bottom + * edge, a bottom gravity will clip the top edge, and neither will clip both edges.
end800005Push object to the end of its container, not changing its size.
fill77Grow the horizontal and vertical size of the object if needed so it completely fills its container.
fill_horizontal7Grow the horizontal size of the object if needed so it completely fills its container.
fill_vertical70Grow the vertical size of the object if needed so it completely fills its container.
left3Push object to the left of its container, not changing its size.
right5Push object to the right of its container, not changing its size.
start800003Push object to the beginning of its container, not changing its size.
top30Push object to the top of its container, not changing its size.
+ */ + public static final int layout_anchorGravity=0x7f020021; + /** + * The class name of a Behavior class defining special runtime behavior + * for this child view. + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int layout_behavior=0x7f020022; + /** + * Specifies how this view dodges the inset edges of the CoordinatorLayout. + *

Must be one or more (separated by '|') of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
all77Dodge all the inset edges.
bottom50Dodge the bottom inset edge.
end800005Dodge the end inset edge.
left3Dodge the left inset edge.
none0Don't dodge any edges
right5Dodge the right inset edge.
start800003Dodge the start inset edge.
top30Dodge the top inset edge.
+ */ + public static final int layout_dodgeInsetEdges=0x7f020023; + /** + * Specifies how this view insets the CoordinatorLayout and make some other views + * dodge it. + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
bottom50Inset the bottom edge.
end800005Inset the end edge.
left3Inset the left edge.
none0Don't inset.
right5Inset the right edge.
start800003Inset the start edge.
top30Inset the top edge.
+ */ + public static final int layout_insetEdge=0x7f020024; + /** + * The index of a keyline this view should position relative to. + * android:layout_gravity will affect how the view aligns to the + * specified keyline. + *

May be an integer value, such as "100". + */ + public static final int layout_keyline=0x7f020025; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int liteMode=0x7f020026; + /** + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
hybrid4
none0
normal1
satellite2
terrain3
+ */ + public static final int mapType=0x7f020027; + /** + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int scopeUris=0x7f020028; + /** + * Drawable to display behind the status bar when the view is set to draw behind it. + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + */ + public static final int statusBarBackground=0x7f020029; + /** + * Background color for SwipeRefreshLayout progress spinner. + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + */ + public static final int swipeRefreshLayoutProgressSpinnerBackgroundColor=0x7f02002a; + /** + * The index of the font in the tcc font file. If the font file referenced is not in the + * tcc format, this attribute needs not be specified. + *

May be an integer value, such as "100". + */ + public static final int ttcIndex=0x7f02002b; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiCompass=0x7f02002c; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiMapToolbar=0x7f02002d; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiRotateGestures=0x7f02002e; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiScrollGestures=0x7f02002f; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiScrollGesturesDuringRotateOrZoom=0x7f020030; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiTiltGestures=0x7f020031; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiZoomControls=0x7f020032; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiZoomGestures=0x7f020033; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int useViewLifecycle=0x7f020034; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int zOrderOnTop=0x7f020035; + } + public static final class color { + public static final int androidx_core_ripple_material_light=0x7f030000; + public static final int androidx_core_secondary_text_default_material_light=0x7f030001; + public static final int common_google_signin_btn_text_dark=0x7f030002; + public static final int common_google_signin_btn_text_dark_default=0x7f030003; + public static final int common_google_signin_btn_text_dark_disabled=0x7f030004; + public static final int common_google_signin_btn_text_dark_focused=0x7f030005; + public static final int common_google_signin_btn_text_dark_pressed=0x7f030006; + public static final int common_google_signin_btn_text_light=0x7f030007; + public static final int common_google_signin_btn_text_light_default=0x7f030008; + public static final int common_google_signin_btn_text_light_disabled=0x7f030009; + public static final int common_google_signin_btn_text_light_focused=0x7f03000a; + public static final int common_google_signin_btn_text_light_pressed=0x7f03000b; + public static final int common_google_signin_btn_tint=0x7f03000c; + public static final int notification_action_color_filter=0x7f03000d; + public static final int notification_icon_bg_color=0x7f03000e; + public static final int notification_material_background_media_default_color=0x7f03000f; + public static final int primary_text_default_material_dark=0x7f030010; + public static final int secondary_text_default_material_dark=0x7f030011; + } + public static final class dimen { + public static final int compat_button_inset_horizontal_material=0x7f040000; + public static final int compat_button_inset_vertical_material=0x7f040001; + public static final int compat_button_padding_horizontal_material=0x7f040002; + public static final int compat_button_padding_vertical_material=0x7f040003; + public static final int compat_control_corner_material=0x7f040004; + public static final int compat_notification_large_icon_max_height=0x7f040005; + public static final int compat_notification_large_icon_max_width=0x7f040006; + public static final int def_drawer_elevation=0x7f040007; + public static final int notification_action_icon_size=0x7f040008; + public static final int notification_action_text_size=0x7f040009; + public static final int notification_big_circle_margin=0x7f04000a; + public static final int notification_content_margin_start=0x7f04000b; + public static final int notification_large_icon_height=0x7f04000c; + public static final int notification_large_icon_width=0x7f04000d; + public static final int notification_main_column_padding_top=0x7f04000e; + public static final int notification_media_narrow_margin=0x7f04000f; + public static final int notification_right_icon_size=0x7f040010; + public static final int notification_right_side_padding_top=0x7f040011; + public static final int notification_small_icon_background_padding=0x7f040012; + public static final int notification_small_icon_size_as_large=0x7f040013; + public static final int notification_subtext_size=0x7f040014; + public static final int notification_top_pad=0x7f040015; + public static final int notification_top_pad_large_text=0x7f040016; + public static final int subtitle_corner_radius=0x7f040017; + public static final int subtitle_outline_width=0x7f040018; + public static final int subtitle_shadow_offset=0x7f040019; + public static final int subtitle_shadow_radius=0x7f04001a; + } + public static final class drawable { + public static final int common_full_open_on_phone=0x7f050000; + public static final int common_google_signin_btn_icon_dark=0x7f050001; + public static final int common_google_signin_btn_icon_dark_focused=0x7f050002; + public static final int common_google_signin_btn_icon_dark_normal=0x7f050003; + public static final int common_google_signin_btn_icon_dark_normal_background=0x7f050004; + public static final int common_google_signin_btn_icon_disabled=0x7f050005; + public static final int common_google_signin_btn_icon_light=0x7f050006; + public static final int common_google_signin_btn_icon_light_focused=0x7f050007; + public static final int common_google_signin_btn_icon_light_normal=0x7f050008; + public static final int common_google_signin_btn_icon_light_normal_background=0x7f050009; + public static final int common_google_signin_btn_text_dark=0x7f05000a; + public static final int common_google_signin_btn_text_dark_focused=0x7f05000b; + public static final int common_google_signin_btn_text_dark_normal=0x7f05000c; + public static final int common_google_signin_btn_text_dark_normal_background=0x7f05000d; + public static final int common_google_signin_btn_text_disabled=0x7f05000e; + public static final int common_google_signin_btn_text_light=0x7f05000f; + public static final int common_google_signin_btn_text_light_focused=0x7f050010; + public static final int common_google_signin_btn_text_light_normal=0x7f050011; + public static final int common_google_signin_btn_text_light_normal_background=0x7f050012; + public static final int googleg_disabled_color_18=0x7f050013; + public static final int googleg_standard_color_18=0x7f050014; + public static final int icon=0x7f050015; + public static final int notification_action_background=0x7f050016; + public static final int notification_bg=0x7f050017; + public static final int notification_bg_low=0x7f050018; + public static final int notification_bg_low_normal=0x7f050019; + public static final int notification_bg_low_pressed=0x7f05001a; + public static final int notification_bg_normal=0x7f05001b; + public static final int notification_bg_normal_pressed=0x7f05001c; + public static final int notification_icon_background=0x7f05001d; + public static final int notification_template_icon_bg=0x7f05001e; + public static final int notification_template_icon_low_bg=0x7f05001f; + public static final int notification_tile_bg=0x7f050020; + public static final int notify_panel_notification_icon_bg=0x7f050021; + } + public static final class id { + public static final int accessibility_action_clickable_span=0x7f060000; + public static final int accessibility_custom_action_0=0x7f060001; + public static final int accessibility_custom_action_1=0x7f060002; + public static final int accessibility_custom_action_10=0x7f060003; + public static final int accessibility_custom_action_11=0x7f060004; + public static final int accessibility_custom_action_12=0x7f060005; + public static final int accessibility_custom_action_13=0x7f060006; + public static final int accessibility_custom_action_14=0x7f060007; + public static final int accessibility_custom_action_15=0x7f060008; + public static final int accessibility_custom_action_16=0x7f060009; + public static final int accessibility_custom_action_17=0x7f06000a; + public static final int accessibility_custom_action_18=0x7f06000b; + public static final int accessibility_custom_action_19=0x7f06000c; + public static final int accessibility_custom_action_2=0x7f06000d; + public static final int accessibility_custom_action_20=0x7f06000e; + public static final int accessibility_custom_action_21=0x7f06000f; + public static final int accessibility_custom_action_22=0x7f060010; + public static final int accessibility_custom_action_23=0x7f060011; + public static final int accessibility_custom_action_24=0x7f060012; + public static final int accessibility_custom_action_25=0x7f060013; + public static final int accessibility_custom_action_26=0x7f060014; + public static final int accessibility_custom_action_27=0x7f060015; + public static final int accessibility_custom_action_28=0x7f060016; + public static final int accessibility_custom_action_29=0x7f060017; + public static final int accessibility_custom_action_3=0x7f060018; + public static final int accessibility_custom_action_30=0x7f060019; + public static final int accessibility_custom_action_31=0x7f06001a; + public static final int accessibility_custom_action_4=0x7f06001b; + public static final int accessibility_custom_action_5=0x7f06001c; + public static final int accessibility_custom_action_6=0x7f06001d; + public static final int accessibility_custom_action_7=0x7f06001e; + public static final int accessibility_custom_action_8=0x7f06001f; + public static final int accessibility_custom_action_9=0x7f060020; + public static final int action0=0x7f060021; + public static final int action_container=0x7f060022; + public static final int action_divider=0x7f060023; + public static final int action_image=0x7f060024; + public static final int action_text=0x7f060025; + public static final int actions=0x7f060026; + public static final int adjust_height=0x7f060027; + public static final int adjust_width=0x7f060028; + public static final int all=0x7f060029; + public static final int async=0x7f06002a; + public static final int auto=0x7f06002b; + public static final int blocking=0x7f06002c; + public static final int bottom=0x7f06002d; + public static final int cancel_action=0x7f06002e; + public static final int center=0x7f06002f; + public static final int center_horizontal=0x7f060030; + public static final int center_vertical=0x7f060031; + public static final int chronometer=0x7f060032; + public static final int clip_horizontal=0x7f060033; + public static final int clip_vertical=0x7f060034; + public static final int dark=0x7f060035; + public static final int dialog_button=0x7f060036; + public static final int end=0x7f060037; + public static final int end_padder=0x7f060038; + public static final int fill=0x7f060039; + public static final int fill_horizontal=0x7f06003a; + public static final int fill_vertical=0x7f06003b; + public static final int forever=0x7f06003c; + public static final int fragment_container_view_tag=0x7f06003d; + public static final int hybrid=0x7f06003e; + public static final int icon=0x7f06003f; + public static final int icon_group=0x7f060040; + public static final int icon_only=0x7f060041; + public static final int info=0x7f060042; + public static final int italic=0x7f060043; + public static final int left=0x7f060044; + public static final int light=0x7f060045; + public static final int line1=0x7f060046; + public static final int line3=0x7f060047; + public static final int media_actions=0x7f060048; + public static final int none=0x7f060049; + public static final int normal=0x7f06004a; + public static final int notification_background=0x7f06004b; + public static final int notification_main_column=0x7f06004c; + public static final int notification_main_column_container=0x7f06004d; + public static final int right=0x7f06004e; + public static final int right_icon=0x7f06004f; + public static final int right_side=0x7f060050; + public static final int satellite=0x7f060051; + public static final int standard=0x7f060052; + public static final int start=0x7f060053; + public static final int status_bar_latest_event_content=0x7f060054; + public static final int tag_accessibility_actions=0x7f060055; + public static final int tag_accessibility_clickable_spans=0x7f060056; + public static final int tag_accessibility_heading=0x7f060057; + public static final int tag_accessibility_pane_title=0x7f060058; + public static final int tag_screen_reader_focusable=0x7f060059; + public static final int tag_transition_group=0x7f06005a; + public static final int tag_unhandled_key_event_manager=0x7f06005b; + public static final int tag_unhandled_key_listeners=0x7f06005c; + public static final int terrain=0x7f06005d; + public static final int text=0x7f06005e; + public static final int text2=0x7f06005f; + public static final int time=0x7f060060; + public static final int title=0x7f060061; + public static final int top=0x7f060062; + public static final int visible_removing_fragment_view_tag=0x7f060063; + public static final int wide=0x7f060064; + } + public static final class integer { + public static final int cancel_button_image_alpha=0x7f070000; + public static final int google_play_services_version=0x7f070001; + public static final int status_bar_notification_info_maxnum=0x7f070002; + } + public static final class layout { + public static final int custom_dialog=0x7f080000; + public static final int notification_action=0x7f080001; + public static final int notification_action_tombstone=0x7f080002; + public static final int notification_media_action=0x7f080003; + public static final int notification_media_cancel_action=0x7f080004; + public static final int notification_template_big_media=0x7f080005; + public static final int notification_template_big_media_custom=0x7f080006; + public static final int notification_template_big_media_narrow=0x7f080007; + public static final int notification_template_big_media_narrow_custom=0x7f080008; + public static final int notification_template_custom_big=0x7f080009; + public static final int notification_template_icon_group=0x7f08000a; + public static final int notification_template_lines_media=0x7f08000b; + public static final int notification_template_media=0x7f08000c; + public static final int notification_template_media_custom=0x7f08000d; + public static final int notification_template_part_chronometer=0x7f08000e; + public static final int notification_template_part_time=0x7f08000f; + } + public static final class string { + public static final int common_google_play_services_enable_button=0x7f090000; + public static final int common_google_play_services_enable_text=0x7f090001; + public static final int common_google_play_services_enable_title=0x7f090002; + public static final int common_google_play_services_install_button=0x7f090003; + public static final int common_google_play_services_install_text=0x7f090004; + public static final int common_google_play_services_install_title=0x7f090005; + public static final int common_google_play_services_notification_channel_name=0x7f090006; + public static final int common_google_play_services_notification_ticker=0x7f090007; + public static final int common_google_play_services_unknown_issue=0x7f090008; + public static final int common_google_play_services_unsupported_text=0x7f090009; + public static final int common_google_play_services_update_button=0x7f09000a; + public static final int common_google_play_services_update_text=0x7f09000b; + public static final int common_google_play_services_update_title=0x7f09000c; + public static final int common_google_play_services_updating_text=0x7f09000d; + public static final int common_google_play_services_wear_update_text=0x7f09000e; + public static final int common_open_on_phone=0x7f09000f; + public static final int common_signin_button_text=0x7f090010; + public static final int common_signin_button_text_long=0x7f090011; + public static final int status_bar_notification_info_overflow=0x7f090012; + } + public static final class style { + public static final int LightTheme=0x7f0a0000; + public static final int LowerCaseMenu=0x7f0a0001; + public static final int TextAppearance_Compat_Notification=0x7f0a0002; + public static final int TextAppearance_Compat_Notification_Info=0x7f0a0003; + public static final int TextAppearance_Compat_Notification_Info_Media=0x7f0a0004; + public static final int TextAppearance_Compat_Notification_Line2=0x7f0a0005; + public static final int TextAppearance_Compat_Notification_Line2_Media=0x7f0a0006; + public static final int TextAppearance_Compat_Notification_Media=0x7f0a0007; + public static final int TextAppearance_Compat_Notification_Time=0x7f0a0008; + public static final int TextAppearance_Compat_Notification_Time_Media=0x7f0a0009; + public static final int TextAppearance_Compat_Notification_Title=0x7f0a000a; + public static final int TextAppearance_Compat_Notification_Title_Media=0x7f0a000b; + public static final int Widget_Compat_NotificationActionContainer=0x7f0a000c; + public static final int Widget_Compat_NotificationActionText=0x7f0a000d; + public static final int Widget_Support_CoordinatorLayout=0x7f0a000e; + } + public static final class styleable { + /** + * Attributes that can be used with a ColorStateListItem. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + *
AttributeDescription
{@link #ColorStateListItem_android_color android:color}
{@link #ColorStateListItem_android_alpha android:alpha}
{@link #ColorStateListItem_alpha reparto_izca.keymon.lat:alpha}Alpha multiplier applied to the base color.
+ * @see #ColorStateListItem_android_color + * @see #ColorStateListItem_android_alpha + * @see #ColorStateListItem_alpha + */ + public static final int[] ColorStateListItem={ + 0x010101a5, 0x0101031f, 0x7f020000 + }; + /** + *

+ * @attr description + * Base color for this state. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name android:color + */ + public static final int ColorStateListItem_android_color=0; + /** + *

This symbol is the offset where the {@link android.R.attr#alpha} + * attribute's value can be found in the {@link #ColorStateListItem} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:alpha + */ + public static final int ColorStateListItem_android_alpha=1; + /** + *

+ * @attr description + * Alpha multiplier applied to the base color. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:alpha + */ + public static final int ColorStateListItem_alpha=2; + /** + * Attributes that can be used with a CoordinatorLayout. + *

Includes the following attributes:

+ * + * + * + * + * + * + *
AttributeDescription
{@link #CoordinatorLayout_keylines reparto_izca.keymon.lat:keylines}A reference to an array of integers representing the + * locations of horizontal keylines in dp from the starting edge.
{@link #CoordinatorLayout_statusBarBackground reparto_izca.keymon.lat:statusBarBackground}Drawable to display behind the status bar when the view is set to draw behind it.
+ * @see #CoordinatorLayout_keylines + * @see #CoordinatorLayout_statusBarBackground + */ + public static final int[] CoordinatorLayout={ + 0x7f02001b, 0x7f020029 + }; + /** + *

+ * @attr description + * A reference to an array of integers representing the + * locations of horizontal keylines in dp from the starting edge. + * Child views can refer to these keylines for alignment using + * layout_keyline="index" where index is a 0-based index into + * this array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name reparto_izca.keymon.lat:keylines + */ + public static final int CoordinatorLayout_keylines=0; + /** + *

+ * @attr description + * Drawable to display behind the status bar when the view is set to draw behind it. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name reparto_izca.keymon.lat:statusBarBackground + */ + public static final int CoordinatorLayout_statusBarBackground=1; + /** + * Attributes that can be used with a CoordinatorLayout_Layout. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #CoordinatorLayout_Layout_android_layout_gravity android:layout_gravity}
{@link #CoordinatorLayout_Layout_layout_anchor reparto_izca.keymon.lat:layout_anchor}The id of an anchor view that this view should position relative to.
{@link #CoordinatorLayout_Layout_layout_anchorGravity reparto_izca.keymon.lat:layout_anchorGravity}Specifies how an object should position relative to an anchor, on both the X and Y axes, + * within its parent's bounds.
{@link #CoordinatorLayout_Layout_layout_behavior reparto_izca.keymon.lat:layout_behavior}The class name of a Behavior class defining special runtime behavior + * for this child view.
{@link #CoordinatorLayout_Layout_layout_dodgeInsetEdges reparto_izca.keymon.lat:layout_dodgeInsetEdges}Specifies how this view dodges the inset edges of the CoordinatorLayout.
{@link #CoordinatorLayout_Layout_layout_insetEdge reparto_izca.keymon.lat:layout_insetEdge}Specifies how this view insets the CoordinatorLayout and make some other views + * dodge it.
{@link #CoordinatorLayout_Layout_layout_keyline reparto_izca.keymon.lat:layout_keyline}The index of a keyline this view should position relative to.
+ * @see #CoordinatorLayout_Layout_android_layout_gravity + * @see #CoordinatorLayout_Layout_layout_anchor + * @see #CoordinatorLayout_Layout_layout_anchorGravity + * @see #CoordinatorLayout_Layout_layout_behavior + * @see #CoordinatorLayout_Layout_layout_dodgeInsetEdges + * @see #CoordinatorLayout_Layout_layout_insetEdge + * @see #CoordinatorLayout_Layout_layout_keyline + */ + public static final int[] CoordinatorLayout_Layout={ + 0x010100b3, 0x7f020020, 0x7f020021, 0x7f020022, + 0x7f020023, 0x7f020024, 0x7f020025 + }; + /** + *

This symbol is the offset where the {@link android.R.attr#layout_gravity} + * attribute's value can be found in the {@link #CoordinatorLayout_Layout} array. + * + *

Must be one or more (separated by '|') of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
bottom50
center11
center_horizontal1
center_vertical10
clip_horizontal8
clip_vertical80
end800005
fill77
fill_horizontal7
fill_vertical70
left3
right5
start800003
top30
+ * + * @attr name android:layout_gravity + */ + public static final int CoordinatorLayout_Layout_android_layout_gravity=0; + /** + *

+ * @attr description + * The id of an anchor view that this view should position relative to. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name reparto_izca.keymon.lat:layout_anchor + */ + public static final int CoordinatorLayout_Layout_layout_anchor=1; + /** + *

+ * @attr description + * Specifies how an object should position relative to an anchor, on both the X and Y axes, + * within its parent's bounds. + * + *

Must be one or more (separated by '|') of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
bottom50Push object to the bottom of its container, not changing its size.
center11Place the object in the center of its container in both the vertical and horizontal axis, not changing its size.
center_horizontal1Place object in the horizontal center of its container, not changing its size.
center_vertical10Place object in the vertical center of its container, not changing its size.
clip_horizontal8Additional option that can be set to have the left and/or right edges of + * the child clipped to its container's bounds. + * The clip will be based on the horizontal gravity: a left gravity will clip the right + * edge, a right gravity will clip the left edge, and neither will clip both edges.
clip_vertical80Additional option that can be set to have the top and/or bottom edges of + * the child clipped to its container's bounds. + * The clip will be based on the vertical gravity: a top gravity will clip the bottom + * edge, a bottom gravity will clip the top edge, and neither will clip both edges.
end800005Push object to the end of its container, not changing its size.
fill77Grow the horizontal and vertical size of the object if needed so it completely fills its container.
fill_horizontal7Grow the horizontal size of the object if needed so it completely fills its container.
fill_vertical70Grow the vertical size of the object if needed so it completely fills its container.
left3Push object to the left of its container, not changing its size.
right5Push object to the right of its container, not changing its size.
start800003Push object to the beginning of its container, not changing its size.
top30Push object to the top of its container, not changing its size.
+ * + * @attr name reparto_izca.keymon.lat:layout_anchorGravity + */ + public static final int CoordinatorLayout_Layout_layout_anchorGravity=2; + /** + *

+ * @attr description + * The class name of a Behavior class defining special runtime behavior + * for this child view. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_izca.keymon.lat:layout_behavior + */ + public static final int CoordinatorLayout_Layout_layout_behavior=3; + /** + *

+ * @attr description + * Specifies how this view dodges the inset edges of the CoordinatorLayout. + * + *

Must be one or more (separated by '|') of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
all77Dodge all the inset edges.
bottom50Dodge the bottom inset edge.
end800005Dodge the end inset edge.
left3Dodge the left inset edge.
none0Don't dodge any edges
right5Dodge the right inset edge.
start800003Dodge the start inset edge.
top30Dodge the top inset edge.
+ * + * @attr name reparto_izca.keymon.lat:layout_dodgeInsetEdges + */ + public static final int CoordinatorLayout_Layout_layout_dodgeInsetEdges=4; + /** + *

+ * @attr description + * Specifies how this view insets the CoordinatorLayout and make some other views + * dodge it. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
bottom50Inset the bottom edge.
end800005Inset the end edge.
left3Inset the left edge.
none0Don't inset.
right5Inset the right edge.
start800003Inset the start edge.
top30Inset the top edge.
+ * + * @attr name reparto_izca.keymon.lat:layout_insetEdge + */ + public static final int CoordinatorLayout_Layout_layout_insetEdge=5; + /** + *

+ * @attr description + * The index of a keyline this view should position relative to. + * android:layout_gravity will affect how the view aligns to the + * specified keyline. + * + *

May be an integer value, such as "100". + * + * @attr name reparto_izca.keymon.lat:layout_keyline + */ + public static final int CoordinatorLayout_Layout_layout_keyline=6; + /** + * Attributes that can be used with a DrawerLayout. + *

Includes the following attributes:

+ * + * + * + * + * + *
AttributeDescription
{@link #DrawerLayout_elevation reparto_izca.keymon.lat:elevation}
+ * @see #DrawerLayout_elevation + */ + public static final int[] DrawerLayout={ + 0x7f02000e + }; + /** + *

+ * @attr description + * The height difference between the drawer and the base surface. Only takes effect on API 21 and above + * + *

May be a dimension value, which is a floating point number appended with a + * unit such as "14.5sp". + * Available units are: px (pixels), dp (density-independent pixels), + * sp (scaled pixels based on preferred font size), in (inches), and + * mm (millimeters). + * + * @attr name reparto_izca.keymon.lat:elevation + */ + public static final int DrawerLayout_elevation=0; + /** + * Attributes that can be used with a FontFamily. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #FontFamily_fontProviderAuthority reparto_izca.keymon.lat:fontProviderAuthority}The authority of the Font Provider to be used for the request.
{@link #FontFamily_fontProviderCerts reparto_izca.keymon.lat:fontProviderCerts}The sets of hashes for the certificates the provider should be signed with.
{@link #FontFamily_fontProviderFetchStrategy reparto_izca.keymon.lat:fontProviderFetchStrategy}The strategy to be used when fetching font data from a font provider in XML layouts.
{@link #FontFamily_fontProviderFetchTimeout reparto_izca.keymon.lat:fontProviderFetchTimeout}The length of the timeout during fetching.
{@link #FontFamily_fontProviderPackage reparto_izca.keymon.lat:fontProviderPackage}The package for the Font Provider to be used for the request.
{@link #FontFamily_fontProviderQuery reparto_izca.keymon.lat:fontProviderQuery}The query to be sent over to the provider.
+ * @see #FontFamily_fontProviderAuthority + * @see #FontFamily_fontProviderCerts + * @see #FontFamily_fontProviderFetchStrategy + * @see #FontFamily_fontProviderFetchTimeout + * @see #FontFamily_fontProviderPackage + * @see #FontFamily_fontProviderQuery + */ + public static final int[] FontFamily={ + 0x7f020010, 0x7f020011, 0x7f020012, 0x7f020013, + 0x7f020014, 0x7f020015 + }; + /** + *

+ * @attr description + * The authority of the Font Provider to be used for the request. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_izca.keymon.lat:fontProviderAuthority + */ + public static final int FontFamily_fontProviderAuthority=0; + /** + *

+ * @attr description + * The sets of hashes for the certificates the provider should be signed with. This is + * used to verify the identity of the provider, and is only required if the provider is not + * part of the system image. This value may point to one list or a list of lists, where each + * individual list represents one collection of signature hashes. Refer to your font provider's + * documentation for these values. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name reparto_izca.keymon.lat:fontProviderCerts + */ + public static final int FontFamily_fontProviderCerts=1; + /** + *

+ * @attr description + * The strategy to be used when fetching font data from a font provider in XML layouts. + * This attribute is ignored when the resource is loaded from code, as it is equivalent to the + * choice of API between {@link + * androidx.core.content.res.ResourcesCompat#getFont(Context, int)} (blocking) and + * {@link + * androidx.core.content.res.ResourcesCompat#getFont(Context, int, FontCallback, Handler)} + * (async). + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + *
ConstantValueDescription
async1The async font fetch works as follows. + * First, check the local cache, then if the requeted font is not cached, trigger a + * request the font and continue with layout inflation. Once the font fetch succeeds, the + * target text view will be refreshed with the downloaded font data. The + * fontProviderFetchTimeout will be ignored if async loading is specified.
blocking0The blocking font fetch works as follows. + * First, check the local cache, then if the requested font is not cached, request the + * font from the provider and wait until it is finished. You can change the length of + * the timeout by modifying fontProviderFetchTimeout. If the timeout happens, the + * default typeface will be used instead.
+ * + * @attr name reparto_izca.keymon.lat:fontProviderFetchStrategy + */ + public static final int FontFamily_fontProviderFetchStrategy=2; + /** + *

+ * @attr description + * The length of the timeout during fetching. + * + *

May be an integer value, such as "100". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + *
ConstantValueDescription
foreverffffffffA special value for the timeout. In this case, the blocking font fetching will not + * timeout and wait until a reply is received from the font provider.
+ * + * @attr name reparto_izca.keymon.lat:fontProviderFetchTimeout + */ + public static final int FontFamily_fontProviderFetchTimeout=3; + /** + *

+ * @attr description + * The package for the Font Provider to be used for the request. This is used to verify + * the identity of the provider. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_izca.keymon.lat:fontProviderPackage + */ + public static final int FontFamily_fontProviderPackage=4; + /** + *

+ * @attr description + * The query to be sent over to the provider. Refer to your font provider's documentation + * on the format of this string. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_izca.keymon.lat:fontProviderQuery + */ + public static final int FontFamily_fontProviderQuery=5; + /** + * Attributes that can be used with a FontFamilyFont. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #FontFamilyFont_android_font android:font}
{@link #FontFamilyFont_android_fontWeight android:fontWeight}
{@link #FontFamilyFont_android_fontStyle android:fontStyle}
{@link #FontFamilyFont_android_ttcIndex android:ttcIndex}
{@link #FontFamilyFont_android_fontVariationSettings android:fontVariationSettings}
{@link #FontFamilyFont_font reparto_izca.keymon.lat:font}The reference to the font file to be used.
{@link #FontFamilyFont_fontStyle reparto_izca.keymon.lat:fontStyle}The style of the given font file.
{@link #FontFamilyFont_fontVariationSettings reparto_izca.keymon.lat:fontVariationSettings}The variation settings to be applied to the font.
{@link #FontFamilyFont_fontWeight reparto_izca.keymon.lat:fontWeight}The weight of the given font file.
{@link #FontFamilyFont_ttcIndex reparto_izca.keymon.lat:ttcIndex}The index of the font in the tcc font file.
+ * @see #FontFamilyFont_android_font + * @see #FontFamilyFont_android_fontWeight + * @see #FontFamilyFont_android_fontStyle + * @see #FontFamilyFont_android_ttcIndex + * @see #FontFamilyFont_android_fontVariationSettings + * @see #FontFamilyFont_font + * @see #FontFamilyFont_fontStyle + * @see #FontFamilyFont_fontVariationSettings + * @see #FontFamilyFont_fontWeight + * @see #FontFamilyFont_ttcIndex + */ + public static final int[] FontFamilyFont={ + 0x01010532, 0x01010533, 0x0101053f, 0x0101056f, + 0x01010570, 0x7f02000f, 0x7f020016, 0x7f020017, + 0x7f020018, 0x7f02002b + }; + /** + *

This symbol is the offset where the {@link android.R.attr#font} + * attribute's value can be found in the {@link #FontFamilyFont} array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name android:font + */ + public static final int FontFamilyFont_android_font=0; + /** + *

This symbol is the offset where the {@link android.R.attr#fontWeight} + * attribute's value can be found in the {@link #FontFamilyFont} array. + * + *

May be an integer value, such as "100". + * + * @attr name android:fontWeight + */ + public static final int FontFamilyFont_android_fontWeight=1; + /** + *

+ * @attr description + * References to the framework attrs + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + *
ConstantValueDescription
italic1
normal0
+ * + * @attr name android:fontStyle + */ + public static final int FontFamilyFont_android_fontStyle=2; + /** + *

This symbol is the offset where the {@link android.R.attr#ttcIndex} + * attribute's value can be found in the {@link #FontFamilyFont} array. + * + *

May be an integer value, such as "100". + * + * @attr name android:ttcIndex + */ + public static final int FontFamilyFont_android_ttcIndex=3; + /** + *

This symbol is the offset where the {@link android.R.attr#fontVariationSettings} + * attribute's value can be found in the {@link #FontFamilyFont} array. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name android:fontVariationSettings + */ + public static final int FontFamilyFont_android_fontVariationSettings=4; + /** + *

+ * @attr description + * The reference to the font file to be used. This should be a file in the res/font folder + * and should therefore have an R reference value. E.g. @font/myfont + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name reparto_izca.keymon.lat:font + */ + public static final int FontFamilyFont_font=5; + /** + *

+ * @attr description + * The style of the given font file. This will be used when the font is being loaded into + * the font stack and will override any style information in the font's header tables. If + * unspecified, the value in the font's header tables will be used. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + *
ConstantValueDescription
italic1
normal0
+ * + * @attr name reparto_izca.keymon.lat:fontStyle + */ + public static final int FontFamilyFont_fontStyle=6; + /** + *

+ * @attr description + * The variation settings to be applied to the font. The string should be in the following + * format: "'tag1' value1, 'tag2' value2, ...". If the default variation settings should be + * used, or the font used does not support variation settings, this attribute needs not be + * specified. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_izca.keymon.lat:fontVariationSettings + */ + public static final int FontFamilyFont_fontVariationSettings=7; + /** + *

+ * @attr description + * The weight of the given font file. This will be used when the font is being loaded into + * the font stack and will override any weight information in the font's header tables. Must + * be a positive number, a multiple of 100, and between 100 and 900, inclusive. The most + * common values are 400 for regular weight and 700 for bold weight. If unspecified, the value + * in the font's header tables will be used. + * + *

May be an integer value, such as "100". + * + * @attr name reparto_izca.keymon.lat:fontWeight + */ + public static final int FontFamilyFont_fontWeight=8; + /** + *

+ * @attr description + * The index of the font in the tcc font file. If the font file referenced is not in the + * tcc format, this attribute needs not be specified. + * + *

May be an integer value, such as "100". + * + * @attr name reparto_izca.keymon.lat:ttcIndex + */ + public static final int FontFamilyFont_ttcIndex=9; + /** + * Attributes that can be used with a Fragment. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + *
AttributeDescription
{@link #Fragment_android_name android:name}
{@link #Fragment_android_id android:id}
{@link #Fragment_android_tag android:tag}
+ * @see #Fragment_android_name + * @see #Fragment_android_id + * @see #Fragment_android_tag + */ + public static final int[] Fragment={ + 0x01010003, 0x010100d0, 0x010100d1 + }; + /** + *

This symbol is the offset where the {@link android.R.attr#name} + * attribute's value can be found in the {@link #Fragment} array. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name android:name + */ + public static final int Fragment_android_name=0; + /** + *

This symbol is the offset where the {@link android.R.attr#id} + * attribute's value can be found in the {@link #Fragment} array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name android:id + */ + public static final int Fragment_android_id=1; + /** + *

This symbol is the offset where the {@link android.R.attr#tag} + * attribute's value can be found in the {@link #Fragment} array. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name android:tag + */ + public static final int Fragment_android_tag=2; + /** + * Attributes that can be used with a FragmentContainerView. + *

Includes the following attributes:

+ * + * + * + * + * + * + *
AttributeDescription
{@link #FragmentContainerView_android_name android:name}
{@link #FragmentContainerView_android_tag android:tag}
+ * @see #FragmentContainerView_android_name + * @see #FragmentContainerView_android_tag + */ + public static final int[] FragmentContainerView={ + 0x01010003, 0x010100d1 + }; + /** + *

This symbol is the offset where the {@link android.R.attr#name} + * attribute's value can be found in the {@link #FragmentContainerView} array. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name android:name + */ + public static final int FragmentContainerView_android_name=0; + /** + *

This symbol is the offset where the {@link android.R.attr#tag} + * attribute's value can be found in the {@link #FragmentContainerView} array. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name android:tag + */ + public static final int FragmentContainerView_android_tag=1; + /** + * Attributes that can be used with a GradientColor. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #GradientColor_android_startColor android:startColor}
{@link #GradientColor_android_endColor android:endColor}
{@link #GradientColor_android_type android:type}
{@link #GradientColor_android_centerX android:centerX}
{@link #GradientColor_android_centerY android:centerY}
{@link #GradientColor_android_gradientRadius android:gradientRadius}
{@link #GradientColor_android_tileMode android:tileMode}
{@link #GradientColor_android_centerColor android:centerColor}
{@link #GradientColor_android_startX android:startX}
{@link #GradientColor_android_startY android:startY}
{@link #GradientColor_android_endX android:endX}
{@link #GradientColor_android_endY android:endY}
+ * @see #GradientColor_android_startColor + * @see #GradientColor_android_endColor + * @see #GradientColor_android_type + * @see #GradientColor_android_centerX + * @see #GradientColor_android_centerY + * @see #GradientColor_android_gradientRadius + * @see #GradientColor_android_tileMode + * @see #GradientColor_android_centerColor + * @see #GradientColor_android_startX + * @see #GradientColor_android_startY + * @see #GradientColor_android_endX + * @see #GradientColor_android_endY + */ + public static final int[] GradientColor={ + 0x0101019d, 0x0101019e, 0x010101a1, 0x010101a2, + 0x010101a3, 0x010101a4, 0x01010201, 0x0101020b, + 0x01010510, 0x01010511, 0x01010512, 0x01010513 + }; + /** + *

+ * @attr description + * Start color of the gradient. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name android:startColor + */ + public static final int GradientColor_android_startColor=0; + /** + *

+ * @attr description + * End color of the gradient. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name android:endColor + */ + public static final int GradientColor_android_endColor=1; + /** + *

+ * @attr description + * Type of gradient. The default type is linear. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
linear0
radial1
sweep2
+ * + * @attr name android:type + */ + public static final int GradientColor_android_type=2; + /** + *

+ * @attr description + * X coordinate of the center of the gradient within the path. + * + *

May be a floating point value, such as "1.2". + *

May be a fractional value, which is a floating point number appended with + * either % or %p, such as "14.5%". + * The % suffix always means a percentage of the base size; + * the optional %p suffix provides a size relative to some parent container. + * + * @attr name android:centerX + */ + public static final int GradientColor_android_centerX=3; + /** + *

+ * @attr description + * Y coordinate of the center of the gradient within the path. + * + *

May be a floating point value, such as "1.2". + *

May be a fractional value, which is a floating point number appended with + * either % or %p, such as "14.5%". + * The % suffix always means a percentage of the base size; + * the optional %p suffix provides a size relative to some parent container. + * + * @attr name android:centerY + */ + public static final int GradientColor_android_centerY=4; + /** + *

+ * @attr description + * Radius of the gradient, used only with radial gradient. + * + *

May be a floating point value, such as "1.2". + *

May be a dimension value, which is a floating point number appended with a + * unit such as "14.5sp". + * Available units are: px (pixels), dp (density-independent pixels), + * sp (scaled pixels based on preferred font size), in (inches), and + * mm (millimeters). + *

May be a fractional value, which is a floating point number appended with + * either % or %p, such as "14.5%". + * The % suffix always means a percentage of the base size; + * the optional %p suffix provides a size relative to some parent container. + * + * @attr name android:gradientRadius + */ + public static final int GradientColor_android_gradientRadius=5; + /** + *

+ * @attr description + * Defines the tile mode of the gradient. SweepGradient doesn't support tiling. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
clamp0
disabledffffffff
mirror2
repeat1
+ * + * @attr name android:tileMode + */ + public static final int GradientColor_android_tileMode=6; + /** + *

+ * @attr description + * Optional center color. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name android:centerColor + */ + public static final int GradientColor_android_centerColor=7; + /** + *

+ * @attr description + * X coordinate of the start point origin of the gradient. + * Defined in same coordinates as the path itself + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:startX + */ + public static final int GradientColor_android_startX=8; + /** + *

+ * @attr description + * Y coordinate of the start point of the gradient within the shape. + * Defined in same coordinates as the path itself + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:startY + */ + public static final int GradientColor_android_startY=9; + /** + *

+ * @attr description + * X coordinate of the end point origin of the gradient. + * Defined in same coordinates as the path itself + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:endX + */ + public static final int GradientColor_android_endX=10; + /** + *

+ * @attr description + * Y coordinate of the end point of the gradient within the shape. + * Defined in same coordinates as the path itself + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:endY + */ + public static final int GradientColor_android_endY=11; + /** + * Attributes that can be used with a GradientColorItem. + *

Includes the following attributes:

+ * + * + * + * + * + * + *
AttributeDescription
{@link #GradientColorItem_android_color android:color}
{@link #GradientColorItem_android_offset android:offset}
+ * @see #GradientColorItem_android_color + * @see #GradientColorItem_android_offset + */ + public static final int[] GradientColorItem={ + 0x010101a5, 0x01010514 + }; + /** + *

+ * @attr description + * The current color for the offset inside the gradient. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name android:color + */ + public static final int GradientColorItem_android_color=0; + /** + *

+ * @attr description + * The offset (or ratio) of this current color item inside the gradient. + * The value is only meaningful when it is between 0 and 1. + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:offset + */ + public static final int GradientColorItem_android_offset=1; + /** + * Attributes that can be used with a LoadingImageView. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + *
AttributeDescription
{@link #LoadingImageView_circleCrop reparto_izca.keymon.lat:circleCrop}
{@link #LoadingImageView_imageAspectRatio reparto_izca.keymon.lat:imageAspectRatio}
{@link #LoadingImageView_imageAspectRatioAdjust reparto_izca.keymon.lat:imageAspectRatioAdjust}
+ * @see #LoadingImageView_circleCrop + * @see #LoadingImageView_imageAspectRatio + * @see #LoadingImageView_imageAspectRatioAdjust + */ + public static final int[] LoadingImageView={ + 0x7f02000a, 0x7f020019, 0x7f02001a + }; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#circleCrop} + * attribute's value can be found in the {@link #LoadingImageView} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:circleCrop + */ + public static final int LoadingImageView_circleCrop=0; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#imageAspectRatio} + * attribute's value can be found in the {@link #LoadingImageView} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:imageAspectRatio + */ + public static final int LoadingImageView_imageAspectRatio=1; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#imageAspectRatioAdjust} + * attribute's value can be found in the {@link #LoadingImageView} array. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
adjust_height2
adjust_width1
none0
+ * + * @attr name reparto_izca.keymon.lat:imageAspectRatioAdjust + */ + public static final int LoadingImageView_imageAspectRatioAdjust=2; + /** + * Attributes that can be used with a MapAttrs. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #MapAttrs_ambientEnabled reparto_izca.keymon.lat:ambientEnabled}
{@link #MapAttrs_cameraBearing reparto_izca.keymon.lat:cameraBearing}
{@link #MapAttrs_cameraMaxZoomPreference reparto_izca.keymon.lat:cameraMaxZoomPreference}
{@link #MapAttrs_cameraMinZoomPreference reparto_izca.keymon.lat:cameraMinZoomPreference}
{@link #MapAttrs_cameraTargetLat reparto_izca.keymon.lat:cameraTargetLat}
{@link #MapAttrs_cameraTargetLng reparto_izca.keymon.lat:cameraTargetLng}
{@link #MapAttrs_cameraTilt reparto_izca.keymon.lat:cameraTilt}
{@link #MapAttrs_cameraZoom reparto_izca.keymon.lat:cameraZoom}
{@link #MapAttrs_latLngBoundsNorthEastLatitude reparto_izca.keymon.lat:latLngBoundsNorthEastLatitude}
{@link #MapAttrs_latLngBoundsNorthEastLongitude reparto_izca.keymon.lat:latLngBoundsNorthEastLongitude}
{@link #MapAttrs_latLngBoundsSouthWestLatitude reparto_izca.keymon.lat:latLngBoundsSouthWestLatitude}
{@link #MapAttrs_latLngBoundsSouthWestLongitude reparto_izca.keymon.lat:latLngBoundsSouthWestLongitude}
{@link #MapAttrs_liteMode reparto_izca.keymon.lat:liteMode}
{@link #MapAttrs_mapType reparto_izca.keymon.lat:mapType}
{@link #MapAttrs_uiCompass reparto_izca.keymon.lat:uiCompass}
{@link #MapAttrs_uiMapToolbar reparto_izca.keymon.lat:uiMapToolbar}
{@link #MapAttrs_uiRotateGestures reparto_izca.keymon.lat:uiRotateGestures}
{@link #MapAttrs_uiScrollGestures reparto_izca.keymon.lat:uiScrollGestures}
{@link #MapAttrs_uiScrollGesturesDuringRotateOrZoom reparto_izca.keymon.lat:uiScrollGesturesDuringRotateOrZoom}
{@link #MapAttrs_uiTiltGestures reparto_izca.keymon.lat:uiTiltGestures}
{@link #MapAttrs_uiZoomControls reparto_izca.keymon.lat:uiZoomControls}
{@link #MapAttrs_uiZoomGestures reparto_izca.keymon.lat:uiZoomGestures}
{@link #MapAttrs_useViewLifecycle reparto_izca.keymon.lat:useViewLifecycle}
{@link #MapAttrs_zOrderOnTop reparto_izca.keymon.lat:zOrderOnTop}
+ * @see #MapAttrs_ambientEnabled + * @see #MapAttrs_cameraBearing + * @see #MapAttrs_cameraMaxZoomPreference + * @see #MapAttrs_cameraMinZoomPreference + * @see #MapAttrs_cameraTargetLat + * @see #MapAttrs_cameraTargetLng + * @see #MapAttrs_cameraTilt + * @see #MapAttrs_cameraZoom + * @see #MapAttrs_latLngBoundsNorthEastLatitude + * @see #MapAttrs_latLngBoundsNorthEastLongitude + * @see #MapAttrs_latLngBoundsSouthWestLatitude + * @see #MapAttrs_latLngBoundsSouthWestLongitude + * @see #MapAttrs_liteMode + * @see #MapAttrs_mapType + * @see #MapAttrs_uiCompass + * @see #MapAttrs_uiMapToolbar + * @see #MapAttrs_uiRotateGestures + * @see #MapAttrs_uiScrollGestures + * @see #MapAttrs_uiScrollGesturesDuringRotateOrZoom + * @see #MapAttrs_uiTiltGestures + * @see #MapAttrs_uiZoomControls + * @see #MapAttrs_uiZoomGestures + * @see #MapAttrs_useViewLifecycle + * @see #MapAttrs_zOrderOnTop + */ + public static final int[] MapAttrs={ + 0x7f020001, 0x7f020003, 0x7f020004, 0x7f020005, + 0x7f020006, 0x7f020007, 0x7f020008, 0x7f020009, + 0x7f02001c, 0x7f02001d, 0x7f02001e, 0x7f02001f, + 0x7f020026, 0x7f020027, 0x7f02002c, 0x7f02002d, + 0x7f02002e, 0x7f02002f, 0x7f020030, 0x7f020031, + 0x7f020032, 0x7f020033, 0x7f020034, 0x7f020035 + }; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#ambientEnabled} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:ambientEnabled + */ + public static final int MapAttrs_ambientEnabled=0; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#cameraBearing} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:cameraBearing + */ + public static final int MapAttrs_cameraBearing=1; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#cameraMaxZoomPreference} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:cameraMaxZoomPreference + */ + public static final int MapAttrs_cameraMaxZoomPreference=2; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#cameraMinZoomPreference} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:cameraMinZoomPreference + */ + public static final int MapAttrs_cameraMinZoomPreference=3; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#cameraTargetLat} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:cameraTargetLat + */ + public static final int MapAttrs_cameraTargetLat=4; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#cameraTargetLng} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:cameraTargetLng + */ + public static final int MapAttrs_cameraTargetLng=5; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#cameraTilt} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:cameraTilt + */ + public static final int MapAttrs_cameraTilt=6; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#cameraZoom} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:cameraZoom + */ + public static final int MapAttrs_cameraZoom=7; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#latLngBoundsNorthEastLatitude} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:latLngBoundsNorthEastLatitude + */ + public static final int MapAttrs_latLngBoundsNorthEastLatitude=8; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#latLngBoundsNorthEastLongitude} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:latLngBoundsNorthEastLongitude + */ + public static final int MapAttrs_latLngBoundsNorthEastLongitude=9; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#latLngBoundsSouthWestLatitude} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:latLngBoundsSouthWestLatitude + */ + public static final int MapAttrs_latLngBoundsSouthWestLatitude=10; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#latLngBoundsSouthWestLongitude} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:latLngBoundsSouthWestLongitude + */ + public static final int MapAttrs_latLngBoundsSouthWestLongitude=11; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#liteMode} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:liteMode + */ + public static final int MapAttrs_liteMode=12; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#mapType} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
hybrid4
none0
normal1
satellite2
terrain3
+ * + * @attr name reparto_izca.keymon.lat:mapType + */ + public static final int MapAttrs_mapType=13; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiCompass} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiCompass + */ + public static final int MapAttrs_uiCompass=14; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiMapToolbar} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiMapToolbar + */ + public static final int MapAttrs_uiMapToolbar=15; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiRotateGestures} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiRotateGestures + */ + public static final int MapAttrs_uiRotateGestures=16; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiScrollGestures} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiScrollGestures + */ + public static final int MapAttrs_uiScrollGestures=17; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiScrollGesturesDuringRotateOrZoom} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiScrollGesturesDuringRotateOrZoom + */ + public static final int MapAttrs_uiScrollGesturesDuringRotateOrZoom=18; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiTiltGestures} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiTiltGestures + */ + public static final int MapAttrs_uiTiltGestures=19; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiZoomControls} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiZoomControls + */ + public static final int MapAttrs_uiZoomControls=20; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiZoomGestures} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiZoomGestures + */ + public static final int MapAttrs_uiZoomGestures=21; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#useViewLifecycle} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:useViewLifecycle + */ + public static final int MapAttrs_useViewLifecycle=22; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#zOrderOnTop} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:zOrderOnTop + */ + public static final int MapAttrs_zOrderOnTop=23; + /** + * Attributes that can be used with a SignInButton. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + *
AttributeDescription
{@link #SignInButton_buttonSize reparto_izca.keymon.lat:buttonSize}
{@link #SignInButton_colorScheme reparto_izca.keymon.lat:colorScheme}
{@link #SignInButton_scopeUris reparto_izca.keymon.lat:scopeUris}
+ * @see #SignInButton_buttonSize + * @see #SignInButton_colorScheme + * @see #SignInButton_scopeUris + */ + public static final int[] SignInButton={ + 0x7f020002, 0x7f02000b, 0x7f020028 + }; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#buttonSize} + * attribute's value can be found in the {@link #SignInButton} array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
icon_only2
standard0
wide1
+ * + * @attr name reparto_izca.keymon.lat:buttonSize + */ + public static final int SignInButton_buttonSize=0; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#colorScheme} + * attribute's value can be found in the {@link #SignInButton} array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
auto2
dark0
light1
+ * + * @attr name reparto_izca.keymon.lat:colorScheme + */ + public static final int SignInButton_colorScheme=1; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#scopeUris} + * attribute's value can be found in the {@link #SignInButton} array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_izca.keymon.lat:scopeUris + */ + public static final int SignInButton_scopeUris=2; + /** + * Attributes that can be used with a SwipeRefreshLayout. + *

Includes the following attributes:

+ * + * + * + * + * + *
AttributeDescription
{@link #SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor reparto_izca.keymon.lat:swipeRefreshLayoutProgressSpinnerBackgroundColor}Background color for SwipeRefreshLayout progress spinner.
+ * @see #SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor + */ + public static final int[] SwipeRefreshLayout={ + 0x7f02002a + }; + /** + *

+ * @attr description + * Background color for SwipeRefreshLayout progress spinner. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name reparto_izca.keymon.lat:swipeRefreshLayoutProgressSpinnerBackgroundColor + */ + public static final int SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor=0; + } + public static final class xml { + public static final int provider_paths=0x7f0c0000; + } +} \ No newline at end of file diff --git a/B4A/Objects/gen/androidx/media/R.java b/B4A/Objects/gen/androidx/media/R.java new file mode 100644 index 0000000..39c53e6 --- /dev/null +++ b/B4A/Objects/gen/androidx/media/R.java @@ -0,0 +1,2121 @@ +/* AUTO-GENERATED FILE. DO NOT MODIFY. + * + * This class was automatically generated by the + * aapt tool from the resource data it found. It + * should not be modified by hand. + */ + +package androidx.media; + +public final class R { + public static final class anim { + public static final int fragment_close_enter=0x7f010000; + public static final int fragment_close_exit=0x7f010001; + public static final int fragment_fade_enter=0x7f010002; + public static final int fragment_fade_exit=0x7f010003; + public static final int fragment_fast_out_extra_slow_in=0x7f010004; + public static final int fragment_open_enter=0x7f010005; + public static final int fragment_open_exit=0x7f010006; + } + public static final class attr { + /** + * Alpha multiplier applied to the base color. + *

May be a floating point value, such as "1.2". + */ + public static final int alpha=0x7f020000; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int ambientEnabled=0x7f020001; + /** + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
icon_only2
standard0
wide1
+ */ + public static final int buttonSize=0x7f020002; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraBearing=0x7f020003; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraMaxZoomPreference=0x7f020004; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraMinZoomPreference=0x7f020005; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraTargetLat=0x7f020006; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraTargetLng=0x7f020007; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraTilt=0x7f020008; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraZoom=0x7f020009; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int circleCrop=0x7f02000a; + /** + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
auto2
dark0
light1
+ */ + public static final int colorScheme=0x7f02000b; + /** + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int coordinatorLayoutStyle=0x7f02000c; + /** + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int drawerLayoutStyle=0x7f02000d; + /** + *

May be a dimension value, which is a floating point number appended with a + * unit such as "14.5sp". + * Available units are: px (pixels), dp (density-independent pixels), + * sp (scaled pixels based on preferred font size), in (inches), and + * mm (millimeters). + */ + public static final int elevation=0x7f02000e; + /** + * The reference to the font file to be used. This should be a file in the res/font folder + * and should therefore have an R reference value. E.g. @font/myfont + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int font=0x7f02000f; + /** + * The authority of the Font Provider to be used for the request. + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int fontProviderAuthority=0x7f020010; + /** + * The sets of hashes for the certificates the provider should be signed with. This is + * used to verify the identity of the provider, and is only required if the provider is not + * part of the system image. This value may point to one list or a list of lists, where each + * individual list represents one collection of signature hashes. Refer to your font provider's + * documentation for these values. + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int fontProviderCerts=0x7f020011; + /** + * The strategy to be used when fetching font data from a font provider in XML layouts. + * This attribute is ignored when the resource is loaded from code, as it is equivalent to the + * choice of API between {@link + * androidx.core.content.res.ResourcesCompat#getFont(Context, int)} (blocking) and + * {@link + * androidx.core.content.res.ResourcesCompat#getFont(Context, int, FontCallback, Handler)} + * (async). + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + *
ConstantValueDescription
async1The async font fetch works as follows. + * First, check the local cache, then if the requeted font is not cached, trigger a + * request the font and continue with layout inflation. Once the font fetch succeeds, the + * target text view will be refreshed with the downloaded font data. The + * fontProviderFetchTimeout will be ignored if async loading is specified.
blocking0The blocking font fetch works as follows. + * First, check the local cache, then if the requested font is not cached, request the + * font from the provider and wait until it is finished. You can change the length of + * the timeout by modifying fontProviderFetchTimeout. If the timeout happens, the + * default typeface will be used instead.
+ */ + public static final int fontProviderFetchStrategy=0x7f020012; + /** + * The length of the timeout during fetching. + *

May be an integer value, such as "100". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + *
ConstantValueDescription
foreverffffffffA special value for the timeout. In this case, the blocking font fetching will not + * timeout and wait until a reply is received from the font provider.
+ */ + public static final int fontProviderFetchTimeout=0x7f020013; + /** + * The package for the Font Provider to be used for the request. This is used to verify + * the identity of the provider. + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int fontProviderPackage=0x7f020014; + /** + * The query to be sent over to the provider. Refer to your font provider's documentation + * on the format of this string. + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int fontProviderQuery=0x7f020015; + /** + * The style of the given font file. This will be used when the font is being loaded into + * the font stack and will override any style information in the font's header tables. If + * unspecified, the value in the font's header tables will be used. + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + *
ConstantValueDescription
italic1
normal0
+ */ + public static final int fontStyle=0x7f020016; + /** + * The variation settings to be applied to the font. The string should be in the following + * format: "'tag1' value1, 'tag2' value2, ...". If the default variation settings should be + * used, or the font used does not support variation settings, this attribute needs not be + * specified. + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int fontVariationSettings=0x7f020017; + /** + * The weight of the given font file. This will be used when the font is being loaded into + * the font stack and will override any weight information in the font's header tables. Must + * be a positive number, a multiple of 100, and between 100 and 900, inclusive. The most + * common values are 400 for regular weight and 700 for bold weight. If unspecified, the value + * in the font's header tables will be used. + *

May be an integer value, such as "100". + */ + public static final int fontWeight=0x7f020018; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int imageAspectRatio=0x7f020019; + /** + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
adjust_height2
adjust_width1
none0
+ */ + public static final int imageAspectRatioAdjust=0x7f02001a; + /** + * A reference to an array of integers representing the + * locations of horizontal keylines in dp from the starting edge. + * Child views can refer to these keylines for alignment using + * layout_keyline="index" where index is a 0-based index into + * this array. + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int keylines=0x7f02001b; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int latLngBoundsNorthEastLatitude=0x7f02001c; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int latLngBoundsNorthEastLongitude=0x7f02001d; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int latLngBoundsSouthWestLatitude=0x7f02001e; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int latLngBoundsSouthWestLongitude=0x7f02001f; + /** + * The id of an anchor view that this view should position relative to. + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int layout_anchor=0x7f020020; + /** + * Specifies how an object should position relative to an anchor, on both the X and Y axes, + * within its parent's bounds. + *

Must be one or more (separated by '|') of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
bottom50Push object to the bottom of its container, not changing its size.
center11Place the object in the center of its container in both the vertical and horizontal axis, not changing its size.
center_horizontal1Place object in the horizontal center of its container, not changing its size.
center_vertical10Place object in the vertical center of its container, not changing its size.
clip_horizontal8Additional option that can be set to have the left and/or right edges of + * the child clipped to its container's bounds. + * The clip will be based on the horizontal gravity: a left gravity will clip the right + * edge, a right gravity will clip the left edge, and neither will clip both edges.
clip_vertical80Additional option that can be set to have the top and/or bottom edges of + * the child clipped to its container's bounds. + * The clip will be based on the vertical gravity: a top gravity will clip the bottom + * edge, a bottom gravity will clip the top edge, and neither will clip both edges.
end800005Push object to the end of its container, not changing its size.
fill77Grow the horizontal and vertical size of the object if needed so it completely fills its container.
fill_horizontal7Grow the horizontal size of the object if needed so it completely fills its container.
fill_vertical70Grow the vertical size of the object if needed so it completely fills its container.
left3Push object to the left of its container, not changing its size.
right5Push object to the right of its container, not changing its size.
start800003Push object to the beginning of its container, not changing its size.
top30Push object to the top of its container, not changing its size.
+ */ + public static final int layout_anchorGravity=0x7f020021; + /** + * The class name of a Behavior class defining special runtime behavior + * for this child view. + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int layout_behavior=0x7f020022; + /** + * Specifies how this view dodges the inset edges of the CoordinatorLayout. + *

Must be one or more (separated by '|') of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
all77Dodge all the inset edges.
bottom50Dodge the bottom inset edge.
end800005Dodge the end inset edge.
left3Dodge the left inset edge.
none0Don't dodge any edges
right5Dodge the right inset edge.
start800003Dodge the start inset edge.
top30Dodge the top inset edge.
+ */ + public static final int layout_dodgeInsetEdges=0x7f020023; + /** + * Specifies how this view insets the CoordinatorLayout and make some other views + * dodge it. + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
bottom50Inset the bottom edge.
end800005Inset the end edge.
left3Inset the left edge.
none0Don't inset.
right5Inset the right edge.
start800003Inset the start edge.
top30Inset the top edge.
+ */ + public static final int layout_insetEdge=0x7f020024; + /** + * The index of a keyline this view should position relative to. + * android:layout_gravity will affect how the view aligns to the + * specified keyline. + *

May be an integer value, such as "100". + */ + public static final int layout_keyline=0x7f020025; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int liteMode=0x7f020026; + /** + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
hybrid4
none0
normal1
satellite2
terrain3
+ */ + public static final int mapType=0x7f020027; + /** + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int scopeUris=0x7f020028; + /** + * Drawable to display behind the status bar when the view is set to draw behind it. + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + */ + public static final int statusBarBackground=0x7f020029; + /** + * Background color for SwipeRefreshLayout progress spinner. + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + */ + public static final int swipeRefreshLayoutProgressSpinnerBackgroundColor=0x7f02002a; + /** + * The index of the font in the tcc font file. If the font file referenced is not in the + * tcc format, this attribute needs not be specified. + *

May be an integer value, such as "100". + */ + public static final int ttcIndex=0x7f02002b; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiCompass=0x7f02002c; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiMapToolbar=0x7f02002d; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiRotateGestures=0x7f02002e; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiScrollGestures=0x7f02002f; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiScrollGesturesDuringRotateOrZoom=0x7f020030; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiTiltGestures=0x7f020031; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiZoomControls=0x7f020032; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiZoomGestures=0x7f020033; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int useViewLifecycle=0x7f020034; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int zOrderOnTop=0x7f020035; + } + public static final class color { + public static final int androidx_core_ripple_material_light=0x7f030000; + public static final int androidx_core_secondary_text_default_material_light=0x7f030001; + public static final int common_google_signin_btn_text_dark=0x7f030002; + public static final int common_google_signin_btn_text_dark_default=0x7f030003; + public static final int common_google_signin_btn_text_dark_disabled=0x7f030004; + public static final int common_google_signin_btn_text_dark_focused=0x7f030005; + public static final int common_google_signin_btn_text_dark_pressed=0x7f030006; + public static final int common_google_signin_btn_text_light=0x7f030007; + public static final int common_google_signin_btn_text_light_default=0x7f030008; + public static final int common_google_signin_btn_text_light_disabled=0x7f030009; + public static final int common_google_signin_btn_text_light_focused=0x7f03000a; + public static final int common_google_signin_btn_text_light_pressed=0x7f03000b; + public static final int common_google_signin_btn_tint=0x7f03000c; + public static final int notification_action_color_filter=0x7f03000d; + public static final int notification_icon_bg_color=0x7f03000e; + public static final int notification_material_background_media_default_color=0x7f03000f; + public static final int primary_text_default_material_dark=0x7f030010; + public static final int secondary_text_default_material_dark=0x7f030011; + } + public static final class dimen { + public static final int compat_button_inset_horizontal_material=0x7f040000; + public static final int compat_button_inset_vertical_material=0x7f040001; + public static final int compat_button_padding_horizontal_material=0x7f040002; + public static final int compat_button_padding_vertical_material=0x7f040003; + public static final int compat_control_corner_material=0x7f040004; + public static final int compat_notification_large_icon_max_height=0x7f040005; + public static final int compat_notification_large_icon_max_width=0x7f040006; + public static final int def_drawer_elevation=0x7f040007; + public static final int notification_action_icon_size=0x7f040008; + public static final int notification_action_text_size=0x7f040009; + public static final int notification_big_circle_margin=0x7f04000a; + public static final int notification_content_margin_start=0x7f04000b; + public static final int notification_large_icon_height=0x7f04000c; + public static final int notification_large_icon_width=0x7f04000d; + public static final int notification_main_column_padding_top=0x7f04000e; + public static final int notification_media_narrow_margin=0x7f04000f; + public static final int notification_right_icon_size=0x7f040010; + public static final int notification_right_side_padding_top=0x7f040011; + public static final int notification_small_icon_background_padding=0x7f040012; + public static final int notification_small_icon_size_as_large=0x7f040013; + public static final int notification_subtext_size=0x7f040014; + public static final int notification_top_pad=0x7f040015; + public static final int notification_top_pad_large_text=0x7f040016; + public static final int subtitle_corner_radius=0x7f040017; + public static final int subtitle_outline_width=0x7f040018; + public static final int subtitle_shadow_offset=0x7f040019; + public static final int subtitle_shadow_radius=0x7f04001a; + } + public static final class drawable { + public static final int common_full_open_on_phone=0x7f050000; + public static final int common_google_signin_btn_icon_dark=0x7f050001; + public static final int common_google_signin_btn_icon_dark_focused=0x7f050002; + public static final int common_google_signin_btn_icon_dark_normal=0x7f050003; + public static final int common_google_signin_btn_icon_dark_normal_background=0x7f050004; + public static final int common_google_signin_btn_icon_disabled=0x7f050005; + public static final int common_google_signin_btn_icon_light=0x7f050006; + public static final int common_google_signin_btn_icon_light_focused=0x7f050007; + public static final int common_google_signin_btn_icon_light_normal=0x7f050008; + public static final int common_google_signin_btn_icon_light_normal_background=0x7f050009; + public static final int common_google_signin_btn_text_dark=0x7f05000a; + public static final int common_google_signin_btn_text_dark_focused=0x7f05000b; + public static final int common_google_signin_btn_text_dark_normal=0x7f05000c; + public static final int common_google_signin_btn_text_dark_normal_background=0x7f05000d; + public static final int common_google_signin_btn_text_disabled=0x7f05000e; + public static final int common_google_signin_btn_text_light=0x7f05000f; + public static final int common_google_signin_btn_text_light_focused=0x7f050010; + public static final int common_google_signin_btn_text_light_normal=0x7f050011; + public static final int common_google_signin_btn_text_light_normal_background=0x7f050012; + public static final int googleg_disabled_color_18=0x7f050013; + public static final int googleg_standard_color_18=0x7f050014; + public static final int icon=0x7f050015; + public static final int notification_action_background=0x7f050016; + public static final int notification_bg=0x7f050017; + public static final int notification_bg_low=0x7f050018; + public static final int notification_bg_low_normal=0x7f050019; + public static final int notification_bg_low_pressed=0x7f05001a; + public static final int notification_bg_normal=0x7f05001b; + public static final int notification_bg_normal_pressed=0x7f05001c; + public static final int notification_icon_background=0x7f05001d; + public static final int notification_template_icon_bg=0x7f05001e; + public static final int notification_template_icon_low_bg=0x7f05001f; + public static final int notification_tile_bg=0x7f050020; + public static final int notify_panel_notification_icon_bg=0x7f050021; + } + public static final class id { + public static final int accessibility_action_clickable_span=0x7f060000; + public static final int accessibility_custom_action_0=0x7f060001; + public static final int accessibility_custom_action_1=0x7f060002; + public static final int accessibility_custom_action_10=0x7f060003; + public static final int accessibility_custom_action_11=0x7f060004; + public static final int accessibility_custom_action_12=0x7f060005; + public static final int accessibility_custom_action_13=0x7f060006; + public static final int accessibility_custom_action_14=0x7f060007; + public static final int accessibility_custom_action_15=0x7f060008; + public static final int accessibility_custom_action_16=0x7f060009; + public static final int accessibility_custom_action_17=0x7f06000a; + public static final int accessibility_custom_action_18=0x7f06000b; + public static final int accessibility_custom_action_19=0x7f06000c; + public static final int accessibility_custom_action_2=0x7f06000d; + public static final int accessibility_custom_action_20=0x7f06000e; + public static final int accessibility_custom_action_21=0x7f06000f; + public static final int accessibility_custom_action_22=0x7f060010; + public static final int accessibility_custom_action_23=0x7f060011; + public static final int accessibility_custom_action_24=0x7f060012; + public static final int accessibility_custom_action_25=0x7f060013; + public static final int accessibility_custom_action_26=0x7f060014; + public static final int accessibility_custom_action_27=0x7f060015; + public static final int accessibility_custom_action_28=0x7f060016; + public static final int accessibility_custom_action_29=0x7f060017; + public static final int accessibility_custom_action_3=0x7f060018; + public static final int accessibility_custom_action_30=0x7f060019; + public static final int accessibility_custom_action_31=0x7f06001a; + public static final int accessibility_custom_action_4=0x7f06001b; + public static final int accessibility_custom_action_5=0x7f06001c; + public static final int accessibility_custom_action_6=0x7f06001d; + public static final int accessibility_custom_action_7=0x7f06001e; + public static final int accessibility_custom_action_8=0x7f06001f; + public static final int accessibility_custom_action_9=0x7f060020; + public static final int action0=0x7f060021; + public static final int action_container=0x7f060022; + public static final int action_divider=0x7f060023; + public static final int action_image=0x7f060024; + public static final int action_text=0x7f060025; + public static final int actions=0x7f060026; + public static final int adjust_height=0x7f060027; + public static final int adjust_width=0x7f060028; + public static final int all=0x7f060029; + public static final int async=0x7f06002a; + public static final int auto=0x7f06002b; + public static final int blocking=0x7f06002c; + public static final int bottom=0x7f06002d; + public static final int cancel_action=0x7f06002e; + public static final int center=0x7f06002f; + public static final int center_horizontal=0x7f060030; + public static final int center_vertical=0x7f060031; + public static final int chronometer=0x7f060032; + public static final int clip_horizontal=0x7f060033; + public static final int clip_vertical=0x7f060034; + public static final int dark=0x7f060035; + public static final int dialog_button=0x7f060036; + public static final int end=0x7f060037; + public static final int end_padder=0x7f060038; + public static final int fill=0x7f060039; + public static final int fill_horizontal=0x7f06003a; + public static final int fill_vertical=0x7f06003b; + public static final int forever=0x7f06003c; + public static final int fragment_container_view_tag=0x7f06003d; + public static final int hybrid=0x7f06003e; + public static final int icon=0x7f06003f; + public static final int icon_group=0x7f060040; + public static final int icon_only=0x7f060041; + public static final int info=0x7f060042; + public static final int italic=0x7f060043; + public static final int left=0x7f060044; + public static final int light=0x7f060045; + public static final int line1=0x7f060046; + public static final int line3=0x7f060047; + public static final int media_actions=0x7f060048; + public static final int none=0x7f060049; + public static final int normal=0x7f06004a; + public static final int notification_background=0x7f06004b; + public static final int notification_main_column=0x7f06004c; + public static final int notification_main_column_container=0x7f06004d; + public static final int right=0x7f06004e; + public static final int right_icon=0x7f06004f; + public static final int right_side=0x7f060050; + public static final int satellite=0x7f060051; + public static final int standard=0x7f060052; + public static final int start=0x7f060053; + public static final int status_bar_latest_event_content=0x7f060054; + public static final int tag_accessibility_actions=0x7f060055; + public static final int tag_accessibility_clickable_spans=0x7f060056; + public static final int tag_accessibility_heading=0x7f060057; + public static final int tag_accessibility_pane_title=0x7f060058; + public static final int tag_screen_reader_focusable=0x7f060059; + public static final int tag_transition_group=0x7f06005a; + public static final int tag_unhandled_key_event_manager=0x7f06005b; + public static final int tag_unhandled_key_listeners=0x7f06005c; + public static final int terrain=0x7f06005d; + public static final int text=0x7f06005e; + public static final int text2=0x7f06005f; + public static final int time=0x7f060060; + public static final int title=0x7f060061; + public static final int top=0x7f060062; + public static final int visible_removing_fragment_view_tag=0x7f060063; + public static final int wide=0x7f060064; + } + public static final class integer { + public static final int cancel_button_image_alpha=0x7f070000; + public static final int google_play_services_version=0x7f070001; + public static final int status_bar_notification_info_maxnum=0x7f070002; + } + public static final class layout { + public static final int custom_dialog=0x7f080000; + public static final int notification_action=0x7f080001; + public static final int notification_action_tombstone=0x7f080002; + public static final int notification_media_action=0x7f080003; + public static final int notification_media_cancel_action=0x7f080004; + public static final int notification_template_big_media=0x7f080005; + public static final int notification_template_big_media_custom=0x7f080006; + public static final int notification_template_big_media_narrow=0x7f080007; + public static final int notification_template_big_media_narrow_custom=0x7f080008; + public static final int notification_template_custom_big=0x7f080009; + public static final int notification_template_icon_group=0x7f08000a; + public static final int notification_template_lines_media=0x7f08000b; + public static final int notification_template_media=0x7f08000c; + public static final int notification_template_media_custom=0x7f08000d; + public static final int notification_template_part_chronometer=0x7f08000e; + public static final int notification_template_part_time=0x7f08000f; + } + public static final class string { + public static final int common_google_play_services_enable_button=0x7f090000; + public static final int common_google_play_services_enable_text=0x7f090001; + public static final int common_google_play_services_enable_title=0x7f090002; + public static final int common_google_play_services_install_button=0x7f090003; + public static final int common_google_play_services_install_text=0x7f090004; + public static final int common_google_play_services_install_title=0x7f090005; + public static final int common_google_play_services_notification_channel_name=0x7f090006; + public static final int common_google_play_services_notification_ticker=0x7f090007; + public static final int common_google_play_services_unknown_issue=0x7f090008; + public static final int common_google_play_services_unsupported_text=0x7f090009; + public static final int common_google_play_services_update_button=0x7f09000a; + public static final int common_google_play_services_update_text=0x7f09000b; + public static final int common_google_play_services_update_title=0x7f09000c; + public static final int common_google_play_services_updating_text=0x7f09000d; + public static final int common_google_play_services_wear_update_text=0x7f09000e; + public static final int common_open_on_phone=0x7f09000f; + public static final int common_signin_button_text=0x7f090010; + public static final int common_signin_button_text_long=0x7f090011; + public static final int status_bar_notification_info_overflow=0x7f090012; + } + public static final class style { + public static final int LightTheme=0x7f0a0000; + public static final int LowerCaseMenu=0x7f0a0001; + public static final int TextAppearance_Compat_Notification=0x7f0a0002; + public static final int TextAppearance_Compat_Notification_Info=0x7f0a0003; + public static final int TextAppearance_Compat_Notification_Info_Media=0x7f0a0004; + public static final int TextAppearance_Compat_Notification_Line2=0x7f0a0005; + public static final int TextAppearance_Compat_Notification_Line2_Media=0x7f0a0006; + public static final int TextAppearance_Compat_Notification_Media=0x7f0a0007; + public static final int TextAppearance_Compat_Notification_Time=0x7f0a0008; + public static final int TextAppearance_Compat_Notification_Time_Media=0x7f0a0009; + public static final int TextAppearance_Compat_Notification_Title=0x7f0a000a; + public static final int TextAppearance_Compat_Notification_Title_Media=0x7f0a000b; + public static final int Widget_Compat_NotificationActionContainer=0x7f0a000c; + public static final int Widget_Compat_NotificationActionText=0x7f0a000d; + public static final int Widget_Support_CoordinatorLayout=0x7f0a000e; + } + public static final class styleable { + /** + * Attributes that can be used with a ColorStateListItem. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + *
AttributeDescription
{@link #ColorStateListItem_android_color android:color}
{@link #ColorStateListItem_android_alpha android:alpha}
{@link #ColorStateListItem_alpha reparto_izca.keymon.lat:alpha}Alpha multiplier applied to the base color.
+ * @see #ColorStateListItem_android_color + * @see #ColorStateListItem_android_alpha + * @see #ColorStateListItem_alpha + */ + public static final int[] ColorStateListItem={ + 0x010101a5, 0x0101031f, 0x7f020000 + }; + /** + *

+ * @attr description + * Base color for this state. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name android:color + */ + public static final int ColorStateListItem_android_color=0; + /** + *

This symbol is the offset where the {@link android.R.attr#alpha} + * attribute's value can be found in the {@link #ColorStateListItem} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:alpha + */ + public static final int ColorStateListItem_android_alpha=1; + /** + *

+ * @attr description + * Alpha multiplier applied to the base color. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:alpha + */ + public static final int ColorStateListItem_alpha=2; + /** + * Attributes that can be used with a CoordinatorLayout. + *

Includes the following attributes:

+ * + * + * + * + * + * + *
AttributeDescription
{@link #CoordinatorLayout_keylines reparto_izca.keymon.lat:keylines}A reference to an array of integers representing the + * locations of horizontal keylines in dp from the starting edge.
{@link #CoordinatorLayout_statusBarBackground reparto_izca.keymon.lat:statusBarBackground}Drawable to display behind the status bar when the view is set to draw behind it.
+ * @see #CoordinatorLayout_keylines + * @see #CoordinatorLayout_statusBarBackground + */ + public static final int[] CoordinatorLayout={ + 0x7f02001b, 0x7f020029 + }; + /** + *

+ * @attr description + * A reference to an array of integers representing the + * locations of horizontal keylines in dp from the starting edge. + * Child views can refer to these keylines for alignment using + * layout_keyline="index" where index is a 0-based index into + * this array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name reparto_izca.keymon.lat:keylines + */ + public static final int CoordinatorLayout_keylines=0; + /** + *

+ * @attr description + * Drawable to display behind the status bar when the view is set to draw behind it. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name reparto_izca.keymon.lat:statusBarBackground + */ + public static final int CoordinatorLayout_statusBarBackground=1; + /** + * Attributes that can be used with a CoordinatorLayout_Layout. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #CoordinatorLayout_Layout_android_layout_gravity android:layout_gravity}
{@link #CoordinatorLayout_Layout_layout_anchor reparto_izca.keymon.lat:layout_anchor}The id of an anchor view that this view should position relative to.
{@link #CoordinatorLayout_Layout_layout_anchorGravity reparto_izca.keymon.lat:layout_anchorGravity}Specifies how an object should position relative to an anchor, on both the X and Y axes, + * within its parent's bounds.
{@link #CoordinatorLayout_Layout_layout_behavior reparto_izca.keymon.lat:layout_behavior}The class name of a Behavior class defining special runtime behavior + * for this child view.
{@link #CoordinatorLayout_Layout_layout_dodgeInsetEdges reparto_izca.keymon.lat:layout_dodgeInsetEdges}Specifies how this view dodges the inset edges of the CoordinatorLayout.
{@link #CoordinatorLayout_Layout_layout_insetEdge reparto_izca.keymon.lat:layout_insetEdge}Specifies how this view insets the CoordinatorLayout and make some other views + * dodge it.
{@link #CoordinatorLayout_Layout_layout_keyline reparto_izca.keymon.lat:layout_keyline}The index of a keyline this view should position relative to.
+ * @see #CoordinatorLayout_Layout_android_layout_gravity + * @see #CoordinatorLayout_Layout_layout_anchor + * @see #CoordinatorLayout_Layout_layout_anchorGravity + * @see #CoordinatorLayout_Layout_layout_behavior + * @see #CoordinatorLayout_Layout_layout_dodgeInsetEdges + * @see #CoordinatorLayout_Layout_layout_insetEdge + * @see #CoordinatorLayout_Layout_layout_keyline + */ + public static final int[] CoordinatorLayout_Layout={ + 0x010100b3, 0x7f020020, 0x7f020021, 0x7f020022, + 0x7f020023, 0x7f020024, 0x7f020025 + }; + /** + *

This symbol is the offset where the {@link android.R.attr#layout_gravity} + * attribute's value can be found in the {@link #CoordinatorLayout_Layout} array. + * + *

Must be one or more (separated by '|') of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
bottom50
center11
center_horizontal1
center_vertical10
clip_horizontal8
clip_vertical80
end800005
fill77
fill_horizontal7
fill_vertical70
left3
right5
start800003
top30
+ * + * @attr name android:layout_gravity + */ + public static final int CoordinatorLayout_Layout_android_layout_gravity=0; + /** + *

+ * @attr description + * The id of an anchor view that this view should position relative to. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name reparto_izca.keymon.lat:layout_anchor + */ + public static final int CoordinatorLayout_Layout_layout_anchor=1; + /** + *

+ * @attr description + * Specifies how an object should position relative to an anchor, on both the X and Y axes, + * within its parent's bounds. + * + *

Must be one or more (separated by '|') of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
bottom50Push object to the bottom of its container, not changing its size.
center11Place the object in the center of its container in both the vertical and horizontal axis, not changing its size.
center_horizontal1Place object in the horizontal center of its container, not changing its size.
center_vertical10Place object in the vertical center of its container, not changing its size.
clip_horizontal8Additional option that can be set to have the left and/or right edges of + * the child clipped to its container's bounds. + * The clip will be based on the horizontal gravity: a left gravity will clip the right + * edge, a right gravity will clip the left edge, and neither will clip both edges.
clip_vertical80Additional option that can be set to have the top and/or bottom edges of + * the child clipped to its container's bounds. + * The clip will be based on the vertical gravity: a top gravity will clip the bottom + * edge, a bottom gravity will clip the top edge, and neither will clip both edges.
end800005Push object to the end of its container, not changing its size.
fill77Grow the horizontal and vertical size of the object if needed so it completely fills its container.
fill_horizontal7Grow the horizontal size of the object if needed so it completely fills its container.
fill_vertical70Grow the vertical size of the object if needed so it completely fills its container.
left3Push object to the left of its container, not changing its size.
right5Push object to the right of its container, not changing its size.
start800003Push object to the beginning of its container, not changing its size.
top30Push object to the top of its container, not changing its size.
+ * + * @attr name reparto_izca.keymon.lat:layout_anchorGravity + */ + public static final int CoordinatorLayout_Layout_layout_anchorGravity=2; + /** + *

+ * @attr description + * The class name of a Behavior class defining special runtime behavior + * for this child view. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_izca.keymon.lat:layout_behavior + */ + public static final int CoordinatorLayout_Layout_layout_behavior=3; + /** + *

+ * @attr description + * Specifies how this view dodges the inset edges of the CoordinatorLayout. + * + *

Must be one or more (separated by '|') of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
all77Dodge all the inset edges.
bottom50Dodge the bottom inset edge.
end800005Dodge the end inset edge.
left3Dodge the left inset edge.
none0Don't dodge any edges
right5Dodge the right inset edge.
start800003Dodge the start inset edge.
top30Dodge the top inset edge.
+ * + * @attr name reparto_izca.keymon.lat:layout_dodgeInsetEdges + */ + public static final int CoordinatorLayout_Layout_layout_dodgeInsetEdges=4; + /** + *

+ * @attr description + * Specifies how this view insets the CoordinatorLayout and make some other views + * dodge it. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
bottom50Inset the bottom edge.
end800005Inset the end edge.
left3Inset the left edge.
none0Don't inset.
right5Inset the right edge.
start800003Inset the start edge.
top30Inset the top edge.
+ * + * @attr name reparto_izca.keymon.lat:layout_insetEdge + */ + public static final int CoordinatorLayout_Layout_layout_insetEdge=5; + /** + *

+ * @attr description + * The index of a keyline this view should position relative to. + * android:layout_gravity will affect how the view aligns to the + * specified keyline. + * + *

May be an integer value, such as "100". + * + * @attr name reparto_izca.keymon.lat:layout_keyline + */ + public static final int CoordinatorLayout_Layout_layout_keyline=6; + /** + * Attributes that can be used with a DrawerLayout. + *

Includes the following attributes:

+ * + * + * + * + * + *
AttributeDescription
{@link #DrawerLayout_elevation reparto_izca.keymon.lat:elevation}
+ * @see #DrawerLayout_elevation + */ + public static final int[] DrawerLayout={ + 0x7f02000e + }; + /** + *

+ * @attr description + * The height difference between the drawer and the base surface. Only takes effect on API 21 and above + * + *

May be a dimension value, which is a floating point number appended with a + * unit such as "14.5sp". + * Available units are: px (pixels), dp (density-independent pixels), + * sp (scaled pixels based on preferred font size), in (inches), and + * mm (millimeters). + * + * @attr name reparto_izca.keymon.lat:elevation + */ + public static final int DrawerLayout_elevation=0; + /** + * Attributes that can be used with a FontFamily. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #FontFamily_fontProviderAuthority reparto_izca.keymon.lat:fontProviderAuthority}The authority of the Font Provider to be used for the request.
{@link #FontFamily_fontProviderCerts reparto_izca.keymon.lat:fontProviderCerts}The sets of hashes for the certificates the provider should be signed with.
{@link #FontFamily_fontProviderFetchStrategy reparto_izca.keymon.lat:fontProviderFetchStrategy}The strategy to be used when fetching font data from a font provider in XML layouts.
{@link #FontFamily_fontProviderFetchTimeout reparto_izca.keymon.lat:fontProviderFetchTimeout}The length of the timeout during fetching.
{@link #FontFamily_fontProviderPackage reparto_izca.keymon.lat:fontProviderPackage}The package for the Font Provider to be used for the request.
{@link #FontFamily_fontProviderQuery reparto_izca.keymon.lat:fontProviderQuery}The query to be sent over to the provider.
+ * @see #FontFamily_fontProviderAuthority + * @see #FontFamily_fontProviderCerts + * @see #FontFamily_fontProviderFetchStrategy + * @see #FontFamily_fontProviderFetchTimeout + * @see #FontFamily_fontProviderPackage + * @see #FontFamily_fontProviderQuery + */ + public static final int[] FontFamily={ + 0x7f020010, 0x7f020011, 0x7f020012, 0x7f020013, + 0x7f020014, 0x7f020015 + }; + /** + *

+ * @attr description + * The authority of the Font Provider to be used for the request. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_izca.keymon.lat:fontProviderAuthority + */ + public static final int FontFamily_fontProviderAuthority=0; + /** + *

+ * @attr description + * The sets of hashes for the certificates the provider should be signed with. This is + * used to verify the identity of the provider, and is only required if the provider is not + * part of the system image. This value may point to one list or a list of lists, where each + * individual list represents one collection of signature hashes. Refer to your font provider's + * documentation for these values. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name reparto_izca.keymon.lat:fontProviderCerts + */ + public static final int FontFamily_fontProviderCerts=1; + /** + *

+ * @attr description + * The strategy to be used when fetching font data from a font provider in XML layouts. + * This attribute is ignored when the resource is loaded from code, as it is equivalent to the + * choice of API between {@link + * androidx.core.content.res.ResourcesCompat#getFont(Context, int)} (blocking) and + * {@link + * androidx.core.content.res.ResourcesCompat#getFont(Context, int, FontCallback, Handler)} + * (async). + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + *
ConstantValueDescription
async1The async font fetch works as follows. + * First, check the local cache, then if the requeted font is not cached, trigger a + * request the font and continue with layout inflation. Once the font fetch succeeds, the + * target text view will be refreshed with the downloaded font data. The + * fontProviderFetchTimeout will be ignored if async loading is specified.
blocking0The blocking font fetch works as follows. + * First, check the local cache, then if the requested font is not cached, request the + * font from the provider and wait until it is finished. You can change the length of + * the timeout by modifying fontProviderFetchTimeout. If the timeout happens, the + * default typeface will be used instead.
+ * + * @attr name reparto_izca.keymon.lat:fontProviderFetchStrategy + */ + public static final int FontFamily_fontProviderFetchStrategy=2; + /** + *

+ * @attr description + * The length of the timeout during fetching. + * + *

May be an integer value, such as "100". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + *
ConstantValueDescription
foreverffffffffA special value for the timeout. In this case, the blocking font fetching will not + * timeout and wait until a reply is received from the font provider.
+ * + * @attr name reparto_izca.keymon.lat:fontProviderFetchTimeout + */ + public static final int FontFamily_fontProviderFetchTimeout=3; + /** + *

+ * @attr description + * The package for the Font Provider to be used for the request. This is used to verify + * the identity of the provider. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_izca.keymon.lat:fontProviderPackage + */ + public static final int FontFamily_fontProviderPackage=4; + /** + *

+ * @attr description + * The query to be sent over to the provider. Refer to your font provider's documentation + * on the format of this string. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_izca.keymon.lat:fontProviderQuery + */ + public static final int FontFamily_fontProviderQuery=5; + /** + * Attributes that can be used with a FontFamilyFont. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #FontFamilyFont_android_font android:font}
{@link #FontFamilyFont_android_fontWeight android:fontWeight}
{@link #FontFamilyFont_android_fontStyle android:fontStyle}
{@link #FontFamilyFont_android_ttcIndex android:ttcIndex}
{@link #FontFamilyFont_android_fontVariationSettings android:fontVariationSettings}
{@link #FontFamilyFont_font reparto_izca.keymon.lat:font}The reference to the font file to be used.
{@link #FontFamilyFont_fontStyle reparto_izca.keymon.lat:fontStyle}The style of the given font file.
{@link #FontFamilyFont_fontVariationSettings reparto_izca.keymon.lat:fontVariationSettings}The variation settings to be applied to the font.
{@link #FontFamilyFont_fontWeight reparto_izca.keymon.lat:fontWeight}The weight of the given font file.
{@link #FontFamilyFont_ttcIndex reparto_izca.keymon.lat:ttcIndex}The index of the font in the tcc font file.
+ * @see #FontFamilyFont_android_font + * @see #FontFamilyFont_android_fontWeight + * @see #FontFamilyFont_android_fontStyle + * @see #FontFamilyFont_android_ttcIndex + * @see #FontFamilyFont_android_fontVariationSettings + * @see #FontFamilyFont_font + * @see #FontFamilyFont_fontStyle + * @see #FontFamilyFont_fontVariationSettings + * @see #FontFamilyFont_fontWeight + * @see #FontFamilyFont_ttcIndex + */ + public static final int[] FontFamilyFont={ + 0x01010532, 0x01010533, 0x0101053f, 0x0101056f, + 0x01010570, 0x7f02000f, 0x7f020016, 0x7f020017, + 0x7f020018, 0x7f02002b + }; + /** + *

This symbol is the offset where the {@link android.R.attr#font} + * attribute's value can be found in the {@link #FontFamilyFont} array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name android:font + */ + public static final int FontFamilyFont_android_font=0; + /** + *

This symbol is the offset where the {@link android.R.attr#fontWeight} + * attribute's value can be found in the {@link #FontFamilyFont} array. + * + *

May be an integer value, such as "100". + * + * @attr name android:fontWeight + */ + public static final int FontFamilyFont_android_fontWeight=1; + /** + *

+ * @attr description + * References to the framework attrs + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + *
ConstantValueDescription
italic1
normal0
+ * + * @attr name android:fontStyle + */ + public static final int FontFamilyFont_android_fontStyle=2; + /** + *

This symbol is the offset where the {@link android.R.attr#ttcIndex} + * attribute's value can be found in the {@link #FontFamilyFont} array. + * + *

May be an integer value, such as "100". + * + * @attr name android:ttcIndex + */ + public static final int FontFamilyFont_android_ttcIndex=3; + /** + *

This symbol is the offset where the {@link android.R.attr#fontVariationSettings} + * attribute's value can be found in the {@link #FontFamilyFont} array. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name android:fontVariationSettings + */ + public static final int FontFamilyFont_android_fontVariationSettings=4; + /** + *

+ * @attr description + * The reference to the font file to be used. This should be a file in the res/font folder + * and should therefore have an R reference value. E.g. @font/myfont + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name reparto_izca.keymon.lat:font + */ + public static final int FontFamilyFont_font=5; + /** + *

+ * @attr description + * The style of the given font file. This will be used when the font is being loaded into + * the font stack and will override any style information in the font's header tables. If + * unspecified, the value in the font's header tables will be used. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + *
ConstantValueDescription
italic1
normal0
+ * + * @attr name reparto_izca.keymon.lat:fontStyle + */ + public static final int FontFamilyFont_fontStyle=6; + /** + *

+ * @attr description + * The variation settings to be applied to the font. The string should be in the following + * format: "'tag1' value1, 'tag2' value2, ...". If the default variation settings should be + * used, or the font used does not support variation settings, this attribute needs not be + * specified. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_izca.keymon.lat:fontVariationSettings + */ + public static final int FontFamilyFont_fontVariationSettings=7; + /** + *

+ * @attr description + * The weight of the given font file. This will be used when the font is being loaded into + * the font stack and will override any weight information in the font's header tables. Must + * be a positive number, a multiple of 100, and between 100 and 900, inclusive. The most + * common values are 400 for regular weight and 700 for bold weight. If unspecified, the value + * in the font's header tables will be used. + * + *

May be an integer value, such as "100". + * + * @attr name reparto_izca.keymon.lat:fontWeight + */ + public static final int FontFamilyFont_fontWeight=8; + /** + *

+ * @attr description + * The index of the font in the tcc font file. If the font file referenced is not in the + * tcc format, this attribute needs not be specified. + * + *

May be an integer value, such as "100". + * + * @attr name reparto_izca.keymon.lat:ttcIndex + */ + public static final int FontFamilyFont_ttcIndex=9; + /** + * Attributes that can be used with a Fragment. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + *
AttributeDescription
{@link #Fragment_android_name android:name}
{@link #Fragment_android_id android:id}
{@link #Fragment_android_tag android:tag}
+ * @see #Fragment_android_name + * @see #Fragment_android_id + * @see #Fragment_android_tag + */ + public static final int[] Fragment={ + 0x01010003, 0x010100d0, 0x010100d1 + }; + /** + *

This symbol is the offset where the {@link android.R.attr#name} + * attribute's value can be found in the {@link #Fragment} array. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name android:name + */ + public static final int Fragment_android_name=0; + /** + *

This symbol is the offset where the {@link android.R.attr#id} + * attribute's value can be found in the {@link #Fragment} array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name android:id + */ + public static final int Fragment_android_id=1; + /** + *

This symbol is the offset where the {@link android.R.attr#tag} + * attribute's value can be found in the {@link #Fragment} array. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name android:tag + */ + public static final int Fragment_android_tag=2; + /** + * Attributes that can be used with a FragmentContainerView. + *

Includes the following attributes:

+ * + * + * + * + * + * + *
AttributeDescription
{@link #FragmentContainerView_android_name android:name}
{@link #FragmentContainerView_android_tag android:tag}
+ * @see #FragmentContainerView_android_name + * @see #FragmentContainerView_android_tag + */ + public static final int[] FragmentContainerView={ + 0x01010003, 0x010100d1 + }; + /** + *

This symbol is the offset where the {@link android.R.attr#name} + * attribute's value can be found in the {@link #FragmentContainerView} array. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name android:name + */ + public static final int FragmentContainerView_android_name=0; + /** + *

This symbol is the offset where the {@link android.R.attr#tag} + * attribute's value can be found in the {@link #FragmentContainerView} array. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name android:tag + */ + public static final int FragmentContainerView_android_tag=1; + /** + * Attributes that can be used with a GradientColor. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #GradientColor_android_startColor android:startColor}
{@link #GradientColor_android_endColor android:endColor}
{@link #GradientColor_android_type android:type}
{@link #GradientColor_android_centerX android:centerX}
{@link #GradientColor_android_centerY android:centerY}
{@link #GradientColor_android_gradientRadius android:gradientRadius}
{@link #GradientColor_android_tileMode android:tileMode}
{@link #GradientColor_android_centerColor android:centerColor}
{@link #GradientColor_android_startX android:startX}
{@link #GradientColor_android_startY android:startY}
{@link #GradientColor_android_endX android:endX}
{@link #GradientColor_android_endY android:endY}
+ * @see #GradientColor_android_startColor + * @see #GradientColor_android_endColor + * @see #GradientColor_android_type + * @see #GradientColor_android_centerX + * @see #GradientColor_android_centerY + * @see #GradientColor_android_gradientRadius + * @see #GradientColor_android_tileMode + * @see #GradientColor_android_centerColor + * @see #GradientColor_android_startX + * @see #GradientColor_android_startY + * @see #GradientColor_android_endX + * @see #GradientColor_android_endY + */ + public static final int[] GradientColor={ + 0x0101019d, 0x0101019e, 0x010101a1, 0x010101a2, + 0x010101a3, 0x010101a4, 0x01010201, 0x0101020b, + 0x01010510, 0x01010511, 0x01010512, 0x01010513 + }; + /** + *

+ * @attr description + * Start color of the gradient. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name android:startColor + */ + public static final int GradientColor_android_startColor=0; + /** + *

+ * @attr description + * End color of the gradient. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name android:endColor + */ + public static final int GradientColor_android_endColor=1; + /** + *

+ * @attr description + * Type of gradient. The default type is linear. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
linear0
radial1
sweep2
+ * + * @attr name android:type + */ + public static final int GradientColor_android_type=2; + /** + *

+ * @attr description + * X coordinate of the center of the gradient within the path. + * + *

May be a floating point value, such as "1.2". + *

May be a fractional value, which is a floating point number appended with + * either % or %p, such as "14.5%". + * The % suffix always means a percentage of the base size; + * the optional %p suffix provides a size relative to some parent container. + * + * @attr name android:centerX + */ + public static final int GradientColor_android_centerX=3; + /** + *

+ * @attr description + * Y coordinate of the center of the gradient within the path. + * + *

May be a floating point value, such as "1.2". + *

May be a fractional value, which is a floating point number appended with + * either % or %p, such as "14.5%". + * The % suffix always means a percentage of the base size; + * the optional %p suffix provides a size relative to some parent container. + * + * @attr name android:centerY + */ + public static final int GradientColor_android_centerY=4; + /** + *

+ * @attr description + * Radius of the gradient, used only with radial gradient. + * + *

May be a floating point value, such as "1.2". + *

May be a dimension value, which is a floating point number appended with a + * unit such as "14.5sp". + * Available units are: px (pixels), dp (density-independent pixels), + * sp (scaled pixels based on preferred font size), in (inches), and + * mm (millimeters). + *

May be a fractional value, which is a floating point number appended with + * either % or %p, such as "14.5%". + * The % suffix always means a percentage of the base size; + * the optional %p suffix provides a size relative to some parent container. + * + * @attr name android:gradientRadius + */ + public static final int GradientColor_android_gradientRadius=5; + /** + *

+ * @attr description + * Defines the tile mode of the gradient. SweepGradient doesn't support tiling. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
clamp0
disabledffffffff
mirror2
repeat1
+ * + * @attr name android:tileMode + */ + public static final int GradientColor_android_tileMode=6; + /** + *

+ * @attr description + * Optional center color. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name android:centerColor + */ + public static final int GradientColor_android_centerColor=7; + /** + *

+ * @attr description + * X coordinate of the start point origin of the gradient. + * Defined in same coordinates as the path itself + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:startX + */ + public static final int GradientColor_android_startX=8; + /** + *

+ * @attr description + * Y coordinate of the start point of the gradient within the shape. + * Defined in same coordinates as the path itself + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:startY + */ + public static final int GradientColor_android_startY=9; + /** + *

+ * @attr description + * X coordinate of the end point origin of the gradient. + * Defined in same coordinates as the path itself + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:endX + */ + public static final int GradientColor_android_endX=10; + /** + *

+ * @attr description + * Y coordinate of the end point of the gradient within the shape. + * Defined in same coordinates as the path itself + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:endY + */ + public static final int GradientColor_android_endY=11; + /** + * Attributes that can be used with a GradientColorItem. + *

Includes the following attributes:

+ * + * + * + * + * + * + *
AttributeDescription
{@link #GradientColorItem_android_color android:color}
{@link #GradientColorItem_android_offset android:offset}
+ * @see #GradientColorItem_android_color + * @see #GradientColorItem_android_offset + */ + public static final int[] GradientColorItem={ + 0x010101a5, 0x01010514 + }; + /** + *

+ * @attr description + * The current color for the offset inside the gradient. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name android:color + */ + public static final int GradientColorItem_android_color=0; + /** + *

+ * @attr description + * The offset (or ratio) of this current color item inside the gradient. + * The value is only meaningful when it is between 0 and 1. + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:offset + */ + public static final int GradientColorItem_android_offset=1; + /** + * Attributes that can be used with a LoadingImageView. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + *
AttributeDescription
{@link #LoadingImageView_circleCrop reparto_izca.keymon.lat:circleCrop}
{@link #LoadingImageView_imageAspectRatio reparto_izca.keymon.lat:imageAspectRatio}
{@link #LoadingImageView_imageAspectRatioAdjust reparto_izca.keymon.lat:imageAspectRatioAdjust}
+ * @see #LoadingImageView_circleCrop + * @see #LoadingImageView_imageAspectRatio + * @see #LoadingImageView_imageAspectRatioAdjust + */ + public static final int[] LoadingImageView={ + 0x7f02000a, 0x7f020019, 0x7f02001a + }; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#circleCrop} + * attribute's value can be found in the {@link #LoadingImageView} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:circleCrop + */ + public static final int LoadingImageView_circleCrop=0; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#imageAspectRatio} + * attribute's value can be found in the {@link #LoadingImageView} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:imageAspectRatio + */ + public static final int LoadingImageView_imageAspectRatio=1; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#imageAspectRatioAdjust} + * attribute's value can be found in the {@link #LoadingImageView} array. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
adjust_height2
adjust_width1
none0
+ * + * @attr name reparto_izca.keymon.lat:imageAspectRatioAdjust + */ + public static final int LoadingImageView_imageAspectRatioAdjust=2; + /** + * Attributes that can be used with a MapAttrs. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #MapAttrs_ambientEnabled reparto_izca.keymon.lat:ambientEnabled}
{@link #MapAttrs_cameraBearing reparto_izca.keymon.lat:cameraBearing}
{@link #MapAttrs_cameraMaxZoomPreference reparto_izca.keymon.lat:cameraMaxZoomPreference}
{@link #MapAttrs_cameraMinZoomPreference reparto_izca.keymon.lat:cameraMinZoomPreference}
{@link #MapAttrs_cameraTargetLat reparto_izca.keymon.lat:cameraTargetLat}
{@link #MapAttrs_cameraTargetLng reparto_izca.keymon.lat:cameraTargetLng}
{@link #MapAttrs_cameraTilt reparto_izca.keymon.lat:cameraTilt}
{@link #MapAttrs_cameraZoom reparto_izca.keymon.lat:cameraZoom}
{@link #MapAttrs_latLngBoundsNorthEastLatitude reparto_izca.keymon.lat:latLngBoundsNorthEastLatitude}
{@link #MapAttrs_latLngBoundsNorthEastLongitude reparto_izca.keymon.lat:latLngBoundsNorthEastLongitude}
{@link #MapAttrs_latLngBoundsSouthWestLatitude reparto_izca.keymon.lat:latLngBoundsSouthWestLatitude}
{@link #MapAttrs_latLngBoundsSouthWestLongitude reparto_izca.keymon.lat:latLngBoundsSouthWestLongitude}
{@link #MapAttrs_liteMode reparto_izca.keymon.lat:liteMode}
{@link #MapAttrs_mapType reparto_izca.keymon.lat:mapType}
{@link #MapAttrs_uiCompass reparto_izca.keymon.lat:uiCompass}
{@link #MapAttrs_uiMapToolbar reparto_izca.keymon.lat:uiMapToolbar}
{@link #MapAttrs_uiRotateGestures reparto_izca.keymon.lat:uiRotateGestures}
{@link #MapAttrs_uiScrollGestures reparto_izca.keymon.lat:uiScrollGestures}
{@link #MapAttrs_uiScrollGesturesDuringRotateOrZoom reparto_izca.keymon.lat:uiScrollGesturesDuringRotateOrZoom}
{@link #MapAttrs_uiTiltGestures reparto_izca.keymon.lat:uiTiltGestures}
{@link #MapAttrs_uiZoomControls reparto_izca.keymon.lat:uiZoomControls}
{@link #MapAttrs_uiZoomGestures reparto_izca.keymon.lat:uiZoomGestures}
{@link #MapAttrs_useViewLifecycle reparto_izca.keymon.lat:useViewLifecycle}
{@link #MapAttrs_zOrderOnTop reparto_izca.keymon.lat:zOrderOnTop}
+ * @see #MapAttrs_ambientEnabled + * @see #MapAttrs_cameraBearing + * @see #MapAttrs_cameraMaxZoomPreference + * @see #MapAttrs_cameraMinZoomPreference + * @see #MapAttrs_cameraTargetLat + * @see #MapAttrs_cameraTargetLng + * @see #MapAttrs_cameraTilt + * @see #MapAttrs_cameraZoom + * @see #MapAttrs_latLngBoundsNorthEastLatitude + * @see #MapAttrs_latLngBoundsNorthEastLongitude + * @see #MapAttrs_latLngBoundsSouthWestLatitude + * @see #MapAttrs_latLngBoundsSouthWestLongitude + * @see #MapAttrs_liteMode + * @see #MapAttrs_mapType + * @see #MapAttrs_uiCompass + * @see #MapAttrs_uiMapToolbar + * @see #MapAttrs_uiRotateGestures + * @see #MapAttrs_uiScrollGestures + * @see #MapAttrs_uiScrollGesturesDuringRotateOrZoom + * @see #MapAttrs_uiTiltGestures + * @see #MapAttrs_uiZoomControls + * @see #MapAttrs_uiZoomGestures + * @see #MapAttrs_useViewLifecycle + * @see #MapAttrs_zOrderOnTop + */ + public static final int[] MapAttrs={ + 0x7f020001, 0x7f020003, 0x7f020004, 0x7f020005, + 0x7f020006, 0x7f020007, 0x7f020008, 0x7f020009, + 0x7f02001c, 0x7f02001d, 0x7f02001e, 0x7f02001f, + 0x7f020026, 0x7f020027, 0x7f02002c, 0x7f02002d, + 0x7f02002e, 0x7f02002f, 0x7f020030, 0x7f020031, + 0x7f020032, 0x7f020033, 0x7f020034, 0x7f020035 + }; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#ambientEnabled} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:ambientEnabled + */ + public static final int MapAttrs_ambientEnabled=0; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#cameraBearing} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:cameraBearing + */ + public static final int MapAttrs_cameraBearing=1; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#cameraMaxZoomPreference} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:cameraMaxZoomPreference + */ + public static final int MapAttrs_cameraMaxZoomPreference=2; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#cameraMinZoomPreference} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:cameraMinZoomPreference + */ + public static final int MapAttrs_cameraMinZoomPreference=3; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#cameraTargetLat} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:cameraTargetLat + */ + public static final int MapAttrs_cameraTargetLat=4; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#cameraTargetLng} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:cameraTargetLng + */ + public static final int MapAttrs_cameraTargetLng=5; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#cameraTilt} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:cameraTilt + */ + public static final int MapAttrs_cameraTilt=6; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#cameraZoom} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:cameraZoom + */ + public static final int MapAttrs_cameraZoom=7; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#latLngBoundsNorthEastLatitude} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:latLngBoundsNorthEastLatitude + */ + public static final int MapAttrs_latLngBoundsNorthEastLatitude=8; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#latLngBoundsNorthEastLongitude} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:latLngBoundsNorthEastLongitude + */ + public static final int MapAttrs_latLngBoundsNorthEastLongitude=9; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#latLngBoundsSouthWestLatitude} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:latLngBoundsSouthWestLatitude + */ + public static final int MapAttrs_latLngBoundsSouthWestLatitude=10; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#latLngBoundsSouthWestLongitude} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:latLngBoundsSouthWestLongitude + */ + public static final int MapAttrs_latLngBoundsSouthWestLongitude=11; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#liteMode} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:liteMode + */ + public static final int MapAttrs_liteMode=12; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#mapType} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
hybrid4
none0
normal1
satellite2
terrain3
+ * + * @attr name reparto_izca.keymon.lat:mapType + */ + public static final int MapAttrs_mapType=13; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiCompass} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiCompass + */ + public static final int MapAttrs_uiCompass=14; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiMapToolbar} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiMapToolbar + */ + public static final int MapAttrs_uiMapToolbar=15; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiRotateGestures} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiRotateGestures + */ + public static final int MapAttrs_uiRotateGestures=16; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiScrollGestures} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiScrollGestures + */ + public static final int MapAttrs_uiScrollGestures=17; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiScrollGesturesDuringRotateOrZoom} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiScrollGesturesDuringRotateOrZoom + */ + public static final int MapAttrs_uiScrollGesturesDuringRotateOrZoom=18; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiTiltGestures} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiTiltGestures + */ + public static final int MapAttrs_uiTiltGestures=19; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiZoomControls} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiZoomControls + */ + public static final int MapAttrs_uiZoomControls=20; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiZoomGestures} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiZoomGestures + */ + public static final int MapAttrs_uiZoomGestures=21; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#useViewLifecycle} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:useViewLifecycle + */ + public static final int MapAttrs_useViewLifecycle=22; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#zOrderOnTop} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:zOrderOnTop + */ + public static final int MapAttrs_zOrderOnTop=23; + /** + * Attributes that can be used with a SignInButton. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + *
AttributeDescription
{@link #SignInButton_buttonSize reparto_izca.keymon.lat:buttonSize}
{@link #SignInButton_colorScheme reparto_izca.keymon.lat:colorScheme}
{@link #SignInButton_scopeUris reparto_izca.keymon.lat:scopeUris}
+ * @see #SignInButton_buttonSize + * @see #SignInButton_colorScheme + * @see #SignInButton_scopeUris + */ + public static final int[] SignInButton={ + 0x7f020002, 0x7f02000b, 0x7f020028 + }; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#buttonSize} + * attribute's value can be found in the {@link #SignInButton} array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
icon_only2
standard0
wide1
+ * + * @attr name reparto_izca.keymon.lat:buttonSize + */ + public static final int SignInButton_buttonSize=0; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#colorScheme} + * attribute's value can be found in the {@link #SignInButton} array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
auto2
dark0
light1
+ * + * @attr name reparto_izca.keymon.lat:colorScheme + */ + public static final int SignInButton_colorScheme=1; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#scopeUris} + * attribute's value can be found in the {@link #SignInButton} array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_izca.keymon.lat:scopeUris + */ + public static final int SignInButton_scopeUris=2; + /** + * Attributes that can be used with a SwipeRefreshLayout. + *

Includes the following attributes:

+ * + * + * + * + * + *
AttributeDescription
{@link #SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor reparto_izca.keymon.lat:swipeRefreshLayoutProgressSpinnerBackgroundColor}Background color for SwipeRefreshLayout progress spinner.
+ * @see #SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor + */ + public static final int[] SwipeRefreshLayout={ + 0x7f02002a + }; + /** + *

+ * @attr description + * Background color for SwipeRefreshLayout progress spinner. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name reparto_izca.keymon.lat:swipeRefreshLayoutProgressSpinnerBackgroundColor + */ + public static final int SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor=0; + } + public static final class xml { + public static final int provider_paths=0x7f0c0000; + } +} \ No newline at end of file diff --git a/B4A/Objects/gen/androidx/swiperefreshlayout/R.java b/B4A/Objects/gen/androidx/swiperefreshlayout/R.java new file mode 100644 index 0000000..332407a --- /dev/null +++ b/B4A/Objects/gen/androidx/swiperefreshlayout/R.java @@ -0,0 +1,2121 @@ +/* AUTO-GENERATED FILE. DO NOT MODIFY. + * + * This class was automatically generated by the + * aapt tool from the resource data it found. It + * should not be modified by hand. + */ + +package androidx.swiperefreshlayout; + +public final class R { + public static final class anim { + public static final int fragment_close_enter=0x7f010000; + public static final int fragment_close_exit=0x7f010001; + public static final int fragment_fade_enter=0x7f010002; + public static final int fragment_fade_exit=0x7f010003; + public static final int fragment_fast_out_extra_slow_in=0x7f010004; + public static final int fragment_open_enter=0x7f010005; + public static final int fragment_open_exit=0x7f010006; + } + public static final class attr { + /** + * Alpha multiplier applied to the base color. + *

May be a floating point value, such as "1.2". + */ + public static final int alpha=0x7f020000; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int ambientEnabled=0x7f020001; + /** + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
icon_only2
standard0
wide1
+ */ + public static final int buttonSize=0x7f020002; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraBearing=0x7f020003; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraMaxZoomPreference=0x7f020004; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraMinZoomPreference=0x7f020005; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraTargetLat=0x7f020006; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraTargetLng=0x7f020007; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraTilt=0x7f020008; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraZoom=0x7f020009; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int circleCrop=0x7f02000a; + /** + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
auto2
dark0
light1
+ */ + public static final int colorScheme=0x7f02000b; + /** + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int coordinatorLayoutStyle=0x7f02000c; + /** + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int drawerLayoutStyle=0x7f02000d; + /** + *

May be a dimension value, which is a floating point number appended with a + * unit such as "14.5sp". + * Available units are: px (pixels), dp (density-independent pixels), + * sp (scaled pixels based on preferred font size), in (inches), and + * mm (millimeters). + */ + public static final int elevation=0x7f02000e; + /** + * The reference to the font file to be used. This should be a file in the res/font folder + * and should therefore have an R reference value. E.g. @font/myfont + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int font=0x7f02000f; + /** + * The authority of the Font Provider to be used for the request. + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int fontProviderAuthority=0x7f020010; + /** + * The sets of hashes for the certificates the provider should be signed with. This is + * used to verify the identity of the provider, and is only required if the provider is not + * part of the system image. This value may point to one list or a list of lists, where each + * individual list represents one collection of signature hashes. Refer to your font provider's + * documentation for these values. + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int fontProviderCerts=0x7f020011; + /** + * The strategy to be used when fetching font data from a font provider in XML layouts. + * This attribute is ignored when the resource is loaded from code, as it is equivalent to the + * choice of API between {@link + * androidx.core.content.res.ResourcesCompat#getFont(Context, int)} (blocking) and + * {@link + * androidx.core.content.res.ResourcesCompat#getFont(Context, int, FontCallback, Handler)} + * (async). + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + *
ConstantValueDescription
async1The async font fetch works as follows. + * First, check the local cache, then if the requeted font is not cached, trigger a + * request the font and continue with layout inflation. Once the font fetch succeeds, the + * target text view will be refreshed with the downloaded font data. The + * fontProviderFetchTimeout will be ignored if async loading is specified.
blocking0The blocking font fetch works as follows. + * First, check the local cache, then if the requested font is not cached, request the + * font from the provider and wait until it is finished. You can change the length of + * the timeout by modifying fontProviderFetchTimeout. If the timeout happens, the + * default typeface will be used instead.
+ */ + public static final int fontProviderFetchStrategy=0x7f020012; + /** + * The length of the timeout during fetching. + *

May be an integer value, such as "100". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + *
ConstantValueDescription
foreverffffffffA special value for the timeout. In this case, the blocking font fetching will not + * timeout and wait until a reply is received from the font provider.
+ */ + public static final int fontProviderFetchTimeout=0x7f020013; + /** + * The package for the Font Provider to be used for the request. This is used to verify + * the identity of the provider. + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int fontProviderPackage=0x7f020014; + /** + * The query to be sent over to the provider. Refer to your font provider's documentation + * on the format of this string. + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int fontProviderQuery=0x7f020015; + /** + * The style of the given font file. This will be used when the font is being loaded into + * the font stack and will override any style information in the font's header tables. If + * unspecified, the value in the font's header tables will be used. + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + *
ConstantValueDescription
italic1
normal0
+ */ + public static final int fontStyle=0x7f020016; + /** + * The variation settings to be applied to the font. The string should be in the following + * format: "'tag1' value1, 'tag2' value2, ...". If the default variation settings should be + * used, or the font used does not support variation settings, this attribute needs not be + * specified. + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int fontVariationSettings=0x7f020017; + /** + * The weight of the given font file. This will be used when the font is being loaded into + * the font stack and will override any weight information in the font's header tables. Must + * be a positive number, a multiple of 100, and between 100 and 900, inclusive. The most + * common values are 400 for regular weight and 700 for bold weight. If unspecified, the value + * in the font's header tables will be used. + *

May be an integer value, such as "100". + */ + public static final int fontWeight=0x7f020018; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int imageAspectRatio=0x7f020019; + /** + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
adjust_height2
adjust_width1
none0
+ */ + public static final int imageAspectRatioAdjust=0x7f02001a; + /** + * A reference to an array of integers representing the + * locations of horizontal keylines in dp from the starting edge. + * Child views can refer to these keylines for alignment using + * layout_keyline="index" where index is a 0-based index into + * this array. + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int keylines=0x7f02001b; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int latLngBoundsNorthEastLatitude=0x7f02001c; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int latLngBoundsNorthEastLongitude=0x7f02001d; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int latLngBoundsSouthWestLatitude=0x7f02001e; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int latLngBoundsSouthWestLongitude=0x7f02001f; + /** + * The id of an anchor view that this view should position relative to. + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int layout_anchor=0x7f020020; + /** + * Specifies how an object should position relative to an anchor, on both the X and Y axes, + * within its parent's bounds. + *

Must be one or more (separated by '|') of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
bottom50Push object to the bottom of its container, not changing its size.
center11Place the object in the center of its container in both the vertical and horizontal axis, not changing its size.
center_horizontal1Place object in the horizontal center of its container, not changing its size.
center_vertical10Place object in the vertical center of its container, not changing its size.
clip_horizontal8Additional option that can be set to have the left and/or right edges of + * the child clipped to its container's bounds. + * The clip will be based on the horizontal gravity: a left gravity will clip the right + * edge, a right gravity will clip the left edge, and neither will clip both edges.
clip_vertical80Additional option that can be set to have the top and/or bottom edges of + * the child clipped to its container's bounds. + * The clip will be based on the vertical gravity: a top gravity will clip the bottom + * edge, a bottom gravity will clip the top edge, and neither will clip both edges.
end800005Push object to the end of its container, not changing its size.
fill77Grow the horizontal and vertical size of the object if needed so it completely fills its container.
fill_horizontal7Grow the horizontal size of the object if needed so it completely fills its container.
fill_vertical70Grow the vertical size of the object if needed so it completely fills its container.
left3Push object to the left of its container, not changing its size.
right5Push object to the right of its container, not changing its size.
start800003Push object to the beginning of its container, not changing its size.
top30Push object to the top of its container, not changing its size.
+ */ + public static final int layout_anchorGravity=0x7f020021; + /** + * The class name of a Behavior class defining special runtime behavior + * for this child view. + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int layout_behavior=0x7f020022; + /** + * Specifies how this view dodges the inset edges of the CoordinatorLayout. + *

Must be one or more (separated by '|') of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
all77Dodge all the inset edges.
bottom50Dodge the bottom inset edge.
end800005Dodge the end inset edge.
left3Dodge the left inset edge.
none0Don't dodge any edges
right5Dodge the right inset edge.
start800003Dodge the start inset edge.
top30Dodge the top inset edge.
+ */ + public static final int layout_dodgeInsetEdges=0x7f020023; + /** + * Specifies how this view insets the CoordinatorLayout and make some other views + * dodge it. + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
bottom50Inset the bottom edge.
end800005Inset the end edge.
left3Inset the left edge.
none0Don't inset.
right5Inset the right edge.
start800003Inset the start edge.
top30Inset the top edge.
+ */ + public static final int layout_insetEdge=0x7f020024; + /** + * The index of a keyline this view should position relative to. + * android:layout_gravity will affect how the view aligns to the + * specified keyline. + *

May be an integer value, such as "100". + */ + public static final int layout_keyline=0x7f020025; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int liteMode=0x7f020026; + /** + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
hybrid4
none0
normal1
satellite2
terrain3
+ */ + public static final int mapType=0x7f020027; + /** + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int scopeUris=0x7f020028; + /** + * Drawable to display behind the status bar when the view is set to draw behind it. + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + */ + public static final int statusBarBackground=0x7f020029; + /** + * Background color for SwipeRefreshLayout progress spinner. + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + */ + public static final int swipeRefreshLayoutProgressSpinnerBackgroundColor=0x7f02002a; + /** + * The index of the font in the tcc font file. If the font file referenced is not in the + * tcc format, this attribute needs not be specified. + *

May be an integer value, such as "100". + */ + public static final int ttcIndex=0x7f02002b; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiCompass=0x7f02002c; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiMapToolbar=0x7f02002d; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiRotateGestures=0x7f02002e; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiScrollGestures=0x7f02002f; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiScrollGesturesDuringRotateOrZoom=0x7f020030; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiTiltGestures=0x7f020031; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiZoomControls=0x7f020032; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiZoomGestures=0x7f020033; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int useViewLifecycle=0x7f020034; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int zOrderOnTop=0x7f020035; + } + public static final class color { + public static final int androidx_core_ripple_material_light=0x7f030000; + public static final int androidx_core_secondary_text_default_material_light=0x7f030001; + public static final int common_google_signin_btn_text_dark=0x7f030002; + public static final int common_google_signin_btn_text_dark_default=0x7f030003; + public static final int common_google_signin_btn_text_dark_disabled=0x7f030004; + public static final int common_google_signin_btn_text_dark_focused=0x7f030005; + public static final int common_google_signin_btn_text_dark_pressed=0x7f030006; + public static final int common_google_signin_btn_text_light=0x7f030007; + public static final int common_google_signin_btn_text_light_default=0x7f030008; + public static final int common_google_signin_btn_text_light_disabled=0x7f030009; + public static final int common_google_signin_btn_text_light_focused=0x7f03000a; + public static final int common_google_signin_btn_text_light_pressed=0x7f03000b; + public static final int common_google_signin_btn_tint=0x7f03000c; + public static final int notification_action_color_filter=0x7f03000d; + public static final int notification_icon_bg_color=0x7f03000e; + public static final int notification_material_background_media_default_color=0x7f03000f; + public static final int primary_text_default_material_dark=0x7f030010; + public static final int secondary_text_default_material_dark=0x7f030011; + } + public static final class dimen { + public static final int compat_button_inset_horizontal_material=0x7f040000; + public static final int compat_button_inset_vertical_material=0x7f040001; + public static final int compat_button_padding_horizontal_material=0x7f040002; + public static final int compat_button_padding_vertical_material=0x7f040003; + public static final int compat_control_corner_material=0x7f040004; + public static final int compat_notification_large_icon_max_height=0x7f040005; + public static final int compat_notification_large_icon_max_width=0x7f040006; + public static final int def_drawer_elevation=0x7f040007; + public static final int notification_action_icon_size=0x7f040008; + public static final int notification_action_text_size=0x7f040009; + public static final int notification_big_circle_margin=0x7f04000a; + public static final int notification_content_margin_start=0x7f04000b; + public static final int notification_large_icon_height=0x7f04000c; + public static final int notification_large_icon_width=0x7f04000d; + public static final int notification_main_column_padding_top=0x7f04000e; + public static final int notification_media_narrow_margin=0x7f04000f; + public static final int notification_right_icon_size=0x7f040010; + public static final int notification_right_side_padding_top=0x7f040011; + public static final int notification_small_icon_background_padding=0x7f040012; + public static final int notification_small_icon_size_as_large=0x7f040013; + public static final int notification_subtext_size=0x7f040014; + public static final int notification_top_pad=0x7f040015; + public static final int notification_top_pad_large_text=0x7f040016; + public static final int subtitle_corner_radius=0x7f040017; + public static final int subtitle_outline_width=0x7f040018; + public static final int subtitle_shadow_offset=0x7f040019; + public static final int subtitle_shadow_radius=0x7f04001a; + } + public static final class drawable { + public static final int common_full_open_on_phone=0x7f050000; + public static final int common_google_signin_btn_icon_dark=0x7f050001; + public static final int common_google_signin_btn_icon_dark_focused=0x7f050002; + public static final int common_google_signin_btn_icon_dark_normal=0x7f050003; + public static final int common_google_signin_btn_icon_dark_normal_background=0x7f050004; + public static final int common_google_signin_btn_icon_disabled=0x7f050005; + public static final int common_google_signin_btn_icon_light=0x7f050006; + public static final int common_google_signin_btn_icon_light_focused=0x7f050007; + public static final int common_google_signin_btn_icon_light_normal=0x7f050008; + public static final int common_google_signin_btn_icon_light_normal_background=0x7f050009; + public static final int common_google_signin_btn_text_dark=0x7f05000a; + public static final int common_google_signin_btn_text_dark_focused=0x7f05000b; + public static final int common_google_signin_btn_text_dark_normal=0x7f05000c; + public static final int common_google_signin_btn_text_dark_normal_background=0x7f05000d; + public static final int common_google_signin_btn_text_disabled=0x7f05000e; + public static final int common_google_signin_btn_text_light=0x7f05000f; + public static final int common_google_signin_btn_text_light_focused=0x7f050010; + public static final int common_google_signin_btn_text_light_normal=0x7f050011; + public static final int common_google_signin_btn_text_light_normal_background=0x7f050012; + public static final int googleg_disabled_color_18=0x7f050013; + public static final int googleg_standard_color_18=0x7f050014; + public static final int icon=0x7f050015; + public static final int notification_action_background=0x7f050016; + public static final int notification_bg=0x7f050017; + public static final int notification_bg_low=0x7f050018; + public static final int notification_bg_low_normal=0x7f050019; + public static final int notification_bg_low_pressed=0x7f05001a; + public static final int notification_bg_normal=0x7f05001b; + public static final int notification_bg_normal_pressed=0x7f05001c; + public static final int notification_icon_background=0x7f05001d; + public static final int notification_template_icon_bg=0x7f05001e; + public static final int notification_template_icon_low_bg=0x7f05001f; + public static final int notification_tile_bg=0x7f050020; + public static final int notify_panel_notification_icon_bg=0x7f050021; + } + public static final class id { + public static final int accessibility_action_clickable_span=0x7f060000; + public static final int accessibility_custom_action_0=0x7f060001; + public static final int accessibility_custom_action_1=0x7f060002; + public static final int accessibility_custom_action_10=0x7f060003; + public static final int accessibility_custom_action_11=0x7f060004; + public static final int accessibility_custom_action_12=0x7f060005; + public static final int accessibility_custom_action_13=0x7f060006; + public static final int accessibility_custom_action_14=0x7f060007; + public static final int accessibility_custom_action_15=0x7f060008; + public static final int accessibility_custom_action_16=0x7f060009; + public static final int accessibility_custom_action_17=0x7f06000a; + public static final int accessibility_custom_action_18=0x7f06000b; + public static final int accessibility_custom_action_19=0x7f06000c; + public static final int accessibility_custom_action_2=0x7f06000d; + public static final int accessibility_custom_action_20=0x7f06000e; + public static final int accessibility_custom_action_21=0x7f06000f; + public static final int accessibility_custom_action_22=0x7f060010; + public static final int accessibility_custom_action_23=0x7f060011; + public static final int accessibility_custom_action_24=0x7f060012; + public static final int accessibility_custom_action_25=0x7f060013; + public static final int accessibility_custom_action_26=0x7f060014; + public static final int accessibility_custom_action_27=0x7f060015; + public static final int accessibility_custom_action_28=0x7f060016; + public static final int accessibility_custom_action_29=0x7f060017; + public static final int accessibility_custom_action_3=0x7f060018; + public static final int accessibility_custom_action_30=0x7f060019; + public static final int accessibility_custom_action_31=0x7f06001a; + public static final int accessibility_custom_action_4=0x7f06001b; + public static final int accessibility_custom_action_5=0x7f06001c; + public static final int accessibility_custom_action_6=0x7f06001d; + public static final int accessibility_custom_action_7=0x7f06001e; + public static final int accessibility_custom_action_8=0x7f06001f; + public static final int accessibility_custom_action_9=0x7f060020; + public static final int action0=0x7f060021; + public static final int action_container=0x7f060022; + public static final int action_divider=0x7f060023; + public static final int action_image=0x7f060024; + public static final int action_text=0x7f060025; + public static final int actions=0x7f060026; + public static final int adjust_height=0x7f060027; + public static final int adjust_width=0x7f060028; + public static final int all=0x7f060029; + public static final int async=0x7f06002a; + public static final int auto=0x7f06002b; + public static final int blocking=0x7f06002c; + public static final int bottom=0x7f06002d; + public static final int cancel_action=0x7f06002e; + public static final int center=0x7f06002f; + public static final int center_horizontal=0x7f060030; + public static final int center_vertical=0x7f060031; + public static final int chronometer=0x7f060032; + public static final int clip_horizontal=0x7f060033; + public static final int clip_vertical=0x7f060034; + public static final int dark=0x7f060035; + public static final int dialog_button=0x7f060036; + public static final int end=0x7f060037; + public static final int end_padder=0x7f060038; + public static final int fill=0x7f060039; + public static final int fill_horizontal=0x7f06003a; + public static final int fill_vertical=0x7f06003b; + public static final int forever=0x7f06003c; + public static final int fragment_container_view_tag=0x7f06003d; + public static final int hybrid=0x7f06003e; + public static final int icon=0x7f06003f; + public static final int icon_group=0x7f060040; + public static final int icon_only=0x7f060041; + public static final int info=0x7f060042; + public static final int italic=0x7f060043; + public static final int left=0x7f060044; + public static final int light=0x7f060045; + public static final int line1=0x7f060046; + public static final int line3=0x7f060047; + public static final int media_actions=0x7f060048; + public static final int none=0x7f060049; + public static final int normal=0x7f06004a; + public static final int notification_background=0x7f06004b; + public static final int notification_main_column=0x7f06004c; + public static final int notification_main_column_container=0x7f06004d; + public static final int right=0x7f06004e; + public static final int right_icon=0x7f06004f; + public static final int right_side=0x7f060050; + public static final int satellite=0x7f060051; + public static final int standard=0x7f060052; + public static final int start=0x7f060053; + public static final int status_bar_latest_event_content=0x7f060054; + public static final int tag_accessibility_actions=0x7f060055; + public static final int tag_accessibility_clickable_spans=0x7f060056; + public static final int tag_accessibility_heading=0x7f060057; + public static final int tag_accessibility_pane_title=0x7f060058; + public static final int tag_screen_reader_focusable=0x7f060059; + public static final int tag_transition_group=0x7f06005a; + public static final int tag_unhandled_key_event_manager=0x7f06005b; + public static final int tag_unhandled_key_listeners=0x7f06005c; + public static final int terrain=0x7f06005d; + public static final int text=0x7f06005e; + public static final int text2=0x7f06005f; + public static final int time=0x7f060060; + public static final int title=0x7f060061; + public static final int top=0x7f060062; + public static final int visible_removing_fragment_view_tag=0x7f060063; + public static final int wide=0x7f060064; + } + public static final class integer { + public static final int cancel_button_image_alpha=0x7f070000; + public static final int google_play_services_version=0x7f070001; + public static final int status_bar_notification_info_maxnum=0x7f070002; + } + public static final class layout { + public static final int custom_dialog=0x7f080000; + public static final int notification_action=0x7f080001; + public static final int notification_action_tombstone=0x7f080002; + public static final int notification_media_action=0x7f080003; + public static final int notification_media_cancel_action=0x7f080004; + public static final int notification_template_big_media=0x7f080005; + public static final int notification_template_big_media_custom=0x7f080006; + public static final int notification_template_big_media_narrow=0x7f080007; + public static final int notification_template_big_media_narrow_custom=0x7f080008; + public static final int notification_template_custom_big=0x7f080009; + public static final int notification_template_icon_group=0x7f08000a; + public static final int notification_template_lines_media=0x7f08000b; + public static final int notification_template_media=0x7f08000c; + public static final int notification_template_media_custom=0x7f08000d; + public static final int notification_template_part_chronometer=0x7f08000e; + public static final int notification_template_part_time=0x7f08000f; + } + public static final class string { + public static final int common_google_play_services_enable_button=0x7f090000; + public static final int common_google_play_services_enable_text=0x7f090001; + public static final int common_google_play_services_enable_title=0x7f090002; + public static final int common_google_play_services_install_button=0x7f090003; + public static final int common_google_play_services_install_text=0x7f090004; + public static final int common_google_play_services_install_title=0x7f090005; + public static final int common_google_play_services_notification_channel_name=0x7f090006; + public static final int common_google_play_services_notification_ticker=0x7f090007; + public static final int common_google_play_services_unknown_issue=0x7f090008; + public static final int common_google_play_services_unsupported_text=0x7f090009; + public static final int common_google_play_services_update_button=0x7f09000a; + public static final int common_google_play_services_update_text=0x7f09000b; + public static final int common_google_play_services_update_title=0x7f09000c; + public static final int common_google_play_services_updating_text=0x7f09000d; + public static final int common_google_play_services_wear_update_text=0x7f09000e; + public static final int common_open_on_phone=0x7f09000f; + public static final int common_signin_button_text=0x7f090010; + public static final int common_signin_button_text_long=0x7f090011; + public static final int status_bar_notification_info_overflow=0x7f090012; + } + public static final class style { + public static final int LightTheme=0x7f0a0000; + public static final int LowerCaseMenu=0x7f0a0001; + public static final int TextAppearance_Compat_Notification=0x7f0a0002; + public static final int TextAppearance_Compat_Notification_Info=0x7f0a0003; + public static final int TextAppearance_Compat_Notification_Info_Media=0x7f0a0004; + public static final int TextAppearance_Compat_Notification_Line2=0x7f0a0005; + public static final int TextAppearance_Compat_Notification_Line2_Media=0x7f0a0006; + public static final int TextAppearance_Compat_Notification_Media=0x7f0a0007; + public static final int TextAppearance_Compat_Notification_Time=0x7f0a0008; + public static final int TextAppearance_Compat_Notification_Time_Media=0x7f0a0009; + public static final int TextAppearance_Compat_Notification_Title=0x7f0a000a; + public static final int TextAppearance_Compat_Notification_Title_Media=0x7f0a000b; + public static final int Widget_Compat_NotificationActionContainer=0x7f0a000c; + public static final int Widget_Compat_NotificationActionText=0x7f0a000d; + public static final int Widget_Support_CoordinatorLayout=0x7f0a000e; + } + public static final class styleable { + /** + * Attributes that can be used with a ColorStateListItem. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + *
AttributeDescription
{@link #ColorStateListItem_android_color android:color}
{@link #ColorStateListItem_android_alpha android:alpha}
{@link #ColorStateListItem_alpha reparto_izca.keymon.lat:alpha}Alpha multiplier applied to the base color.
+ * @see #ColorStateListItem_android_color + * @see #ColorStateListItem_android_alpha + * @see #ColorStateListItem_alpha + */ + public static final int[] ColorStateListItem={ + 0x010101a5, 0x0101031f, 0x7f020000 + }; + /** + *

+ * @attr description + * Base color for this state. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name android:color + */ + public static final int ColorStateListItem_android_color=0; + /** + *

This symbol is the offset where the {@link android.R.attr#alpha} + * attribute's value can be found in the {@link #ColorStateListItem} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:alpha + */ + public static final int ColorStateListItem_android_alpha=1; + /** + *

+ * @attr description + * Alpha multiplier applied to the base color. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:alpha + */ + public static final int ColorStateListItem_alpha=2; + /** + * Attributes that can be used with a CoordinatorLayout. + *

Includes the following attributes:

+ * + * + * + * + * + * + *
AttributeDescription
{@link #CoordinatorLayout_keylines reparto_izca.keymon.lat:keylines}A reference to an array of integers representing the + * locations of horizontal keylines in dp from the starting edge.
{@link #CoordinatorLayout_statusBarBackground reparto_izca.keymon.lat:statusBarBackground}Drawable to display behind the status bar when the view is set to draw behind it.
+ * @see #CoordinatorLayout_keylines + * @see #CoordinatorLayout_statusBarBackground + */ + public static final int[] CoordinatorLayout={ + 0x7f02001b, 0x7f020029 + }; + /** + *

+ * @attr description + * A reference to an array of integers representing the + * locations of horizontal keylines in dp from the starting edge. + * Child views can refer to these keylines for alignment using + * layout_keyline="index" where index is a 0-based index into + * this array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name reparto_izca.keymon.lat:keylines + */ + public static final int CoordinatorLayout_keylines=0; + /** + *

+ * @attr description + * Drawable to display behind the status bar when the view is set to draw behind it. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name reparto_izca.keymon.lat:statusBarBackground + */ + public static final int CoordinatorLayout_statusBarBackground=1; + /** + * Attributes that can be used with a CoordinatorLayout_Layout. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #CoordinatorLayout_Layout_android_layout_gravity android:layout_gravity}
{@link #CoordinatorLayout_Layout_layout_anchor reparto_izca.keymon.lat:layout_anchor}The id of an anchor view that this view should position relative to.
{@link #CoordinatorLayout_Layout_layout_anchorGravity reparto_izca.keymon.lat:layout_anchorGravity}Specifies how an object should position relative to an anchor, on both the X and Y axes, + * within its parent's bounds.
{@link #CoordinatorLayout_Layout_layout_behavior reparto_izca.keymon.lat:layout_behavior}The class name of a Behavior class defining special runtime behavior + * for this child view.
{@link #CoordinatorLayout_Layout_layout_dodgeInsetEdges reparto_izca.keymon.lat:layout_dodgeInsetEdges}Specifies how this view dodges the inset edges of the CoordinatorLayout.
{@link #CoordinatorLayout_Layout_layout_insetEdge reparto_izca.keymon.lat:layout_insetEdge}Specifies how this view insets the CoordinatorLayout and make some other views + * dodge it.
{@link #CoordinatorLayout_Layout_layout_keyline reparto_izca.keymon.lat:layout_keyline}The index of a keyline this view should position relative to.
+ * @see #CoordinatorLayout_Layout_android_layout_gravity + * @see #CoordinatorLayout_Layout_layout_anchor + * @see #CoordinatorLayout_Layout_layout_anchorGravity + * @see #CoordinatorLayout_Layout_layout_behavior + * @see #CoordinatorLayout_Layout_layout_dodgeInsetEdges + * @see #CoordinatorLayout_Layout_layout_insetEdge + * @see #CoordinatorLayout_Layout_layout_keyline + */ + public static final int[] CoordinatorLayout_Layout={ + 0x010100b3, 0x7f020020, 0x7f020021, 0x7f020022, + 0x7f020023, 0x7f020024, 0x7f020025 + }; + /** + *

This symbol is the offset where the {@link android.R.attr#layout_gravity} + * attribute's value can be found in the {@link #CoordinatorLayout_Layout} array. + * + *

Must be one or more (separated by '|') of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
bottom50
center11
center_horizontal1
center_vertical10
clip_horizontal8
clip_vertical80
end800005
fill77
fill_horizontal7
fill_vertical70
left3
right5
start800003
top30
+ * + * @attr name android:layout_gravity + */ + public static final int CoordinatorLayout_Layout_android_layout_gravity=0; + /** + *

+ * @attr description + * The id of an anchor view that this view should position relative to. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name reparto_izca.keymon.lat:layout_anchor + */ + public static final int CoordinatorLayout_Layout_layout_anchor=1; + /** + *

+ * @attr description + * Specifies how an object should position relative to an anchor, on both the X and Y axes, + * within its parent's bounds. + * + *

Must be one or more (separated by '|') of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
bottom50Push object to the bottom of its container, not changing its size.
center11Place the object in the center of its container in both the vertical and horizontal axis, not changing its size.
center_horizontal1Place object in the horizontal center of its container, not changing its size.
center_vertical10Place object in the vertical center of its container, not changing its size.
clip_horizontal8Additional option that can be set to have the left and/or right edges of + * the child clipped to its container's bounds. + * The clip will be based on the horizontal gravity: a left gravity will clip the right + * edge, a right gravity will clip the left edge, and neither will clip both edges.
clip_vertical80Additional option that can be set to have the top and/or bottom edges of + * the child clipped to its container's bounds. + * The clip will be based on the vertical gravity: a top gravity will clip the bottom + * edge, a bottom gravity will clip the top edge, and neither will clip both edges.
end800005Push object to the end of its container, not changing its size.
fill77Grow the horizontal and vertical size of the object if needed so it completely fills its container.
fill_horizontal7Grow the horizontal size of the object if needed so it completely fills its container.
fill_vertical70Grow the vertical size of the object if needed so it completely fills its container.
left3Push object to the left of its container, not changing its size.
right5Push object to the right of its container, not changing its size.
start800003Push object to the beginning of its container, not changing its size.
top30Push object to the top of its container, not changing its size.
+ * + * @attr name reparto_izca.keymon.lat:layout_anchorGravity + */ + public static final int CoordinatorLayout_Layout_layout_anchorGravity=2; + /** + *

+ * @attr description + * The class name of a Behavior class defining special runtime behavior + * for this child view. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_izca.keymon.lat:layout_behavior + */ + public static final int CoordinatorLayout_Layout_layout_behavior=3; + /** + *

+ * @attr description + * Specifies how this view dodges the inset edges of the CoordinatorLayout. + * + *

Must be one or more (separated by '|') of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
all77Dodge all the inset edges.
bottom50Dodge the bottom inset edge.
end800005Dodge the end inset edge.
left3Dodge the left inset edge.
none0Don't dodge any edges
right5Dodge the right inset edge.
start800003Dodge the start inset edge.
top30Dodge the top inset edge.
+ * + * @attr name reparto_izca.keymon.lat:layout_dodgeInsetEdges + */ + public static final int CoordinatorLayout_Layout_layout_dodgeInsetEdges=4; + /** + *

+ * @attr description + * Specifies how this view insets the CoordinatorLayout and make some other views + * dodge it. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
bottom50Inset the bottom edge.
end800005Inset the end edge.
left3Inset the left edge.
none0Don't inset.
right5Inset the right edge.
start800003Inset the start edge.
top30Inset the top edge.
+ * + * @attr name reparto_izca.keymon.lat:layout_insetEdge + */ + public static final int CoordinatorLayout_Layout_layout_insetEdge=5; + /** + *

+ * @attr description + * The index of a keyline this view should position relative to. + * android:layout_gravity will affect how the view aligns to the + * specified keyline. + * + *

May be an integer value, such as "100". + * + * @attr name reparto_izca.keymon.lat:layout_keyline + */ + public static final int CoordinatorLayout_Layout_layout_keyline=6; + /** + * Attributes that can be used with a DrawerLayout. + *

Includes the following attributes:

+ * + * + * + * + * + *
AttributeDescription
{@link #DrawerLayout_elevation reparto_izca.keymon.lat:elevation}
+ * @see #DrawerLayout_elevation + */ + public static final int[] DrawerLayout={ + 0x7f02000e + }; + /** + *

+ * @attr description + * The height difference between the drawer and the base surface. Only takes effect on API 21 and above + * + *

May be a dimension value, which is a floating point number appended with a + * unit such as "14.5sp". + * Available units are: px (pixels), dp (density-independent pixels), + * sp (scaled pixels based on preferred font size), in (inches), and + * mm (millimeters). + * + * @attr name reparto_izca.keymon.lat:elevation + */ + public static final int DrawerLayout_elevation=0; + /** + * Attributes that can be used with a FontFamily. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #FontFamily_fontProviderAuthority reparto_izca.keymon.lat:fontProviderAuthority}The authority of the Font Provider to be used for the request.
{@link #FontFamily_fontProviderCerts reparto_izca.keymon.lat:fontProviderCerts}The sets of hashes for the certificates the provider should be signed with.
{@link #FontFamily_fontProviderFetchStrategy reparto_izca.keymon.lat:fontProviderFetchStrategy}The strategy to be used when fetching font data from a font provider in XML layouts.
{@link #FontFamily_fontProviderFetchTimeout reparto_izca.keymon.lat:fontProviderFetchTimeout}The length of the timeout during fetching.
{@link #FontFamily_fontProviderPackage reparto_izca.keymon.lat:fontProviderPackage}The package for the Font Provider to be used for the request.
{@link #FontFamily_fontProviderQuery reparto_izca.keymon.lat:fontProviderQuery}The query to be sent over to the provider.
+ * @see #FontFamily_fontProviderAuthority + * @see #FontFamily_fontProviderCerts + * @see #FontFamily_fontProviderFetchStrategy + * @see #FontFamily_fontProviderFetchTimeout + * @see #FontFamily_fontProviderPackage + * @see #FontFamily_fontProviderQuery + */ + public static final int[] FontFamily={ + 0x7f020010, 0x7f020011, 0x7f020012, 0x7f020013, + 0x7f020014, 0x7f020015 + }; + /** + *

+ * @attr description + * The authority of the Font Provider to be used for the request. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_izca.keymon.lat:fontProviderAuthority + */ + public static final int FontFamily_fontProviderAuthority=0; + /** + *

+ * @attr description + * The sets of hashes for the certificates the provider should be signed with. This is + * used to verify the identity of the provider, and is only required if the provider is not + * part of the system image. This value may point to one list or a list of lists, where each + * individual list represents one collection of signature hashes. Refer to your font provider's + * documentation for these values. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name reparto_izca.keymon.lat:fontProviderCerts + */ + public static final int FontFamily_fontProviderCerts=1; + /** + *

+ * @attr description + * The strategy to be used when fetching font data from a font provider in XML layouts. + * This attribute is ignored when the resource is loaded from code, as it is equivalent to the + * choice of API between {@link + * androidx.core.content.res.ResourcesCompat#getFont(Context, int)} (blocking) and + * {@link + * androidx.core.content.res.ResourcesCompat#getFont(Context, int, FontCallback, Handler)} + * (async). + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + *
ConstantValueDescription
async1The async font fetch works as follows. + * First, check the local cache, then if the requeted font is not cached, trigger a + * request the font and continue with layout inflation. Once the font fetch succeeds, the + * target text view will be refreshed with the downloaded font data. The + * fontProviderFetchTimeout will be ignored if async loading is specified.
blocking0The blocking font fetch works as follows. + * First, check the local cache, then if the requested font is not cached, request the + * font from the provider and wait until it is finished. You can change the length of + * the timeout by modifying fontProviderFetchTimeout. If the timeout happens, the + * default typeface will be used instead.
+ * + * @attr name reparto_izca.keymon.lat:fontProviderFetchStrategy + */ + public static final int FontFamily_fontProviderFetchStrategy=2; + /** + *

+ * @attr description + * The length of the timeout during fetching. + * + *

May be an integer value, such as "100". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + *
ConstantValueDescription
foreverffffffffA special value for the timeout. In this case, the blocking font fetching will not + * timeout and wait until a reply is received from the font provider.
+ * + * @attr name reparto_izca.keymon.lat:fontProviderFetchTimeout + */ + public static final int FontFamily_fontProviderFetchTimeout=3; + /** + *

+ * @attr description + * The package for the Font Provider to be used for the request. This is used to verify + * the identity of the provider. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_izca.keymon.lat:fontProviderPackage + */ + public static final int FontFamily_fontProviderPackage=4; + /** + *

+ * @attr description + * The query to be sent over to the provider. Refer to your font provider's documentation + * on the format of this string. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_izca.keymon.lat:fontProviderQuery + */ + public static final int FontFamily_fontProviderQuery=5; + /** + * Attributes that can be used with a FontFamilyFont. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #FontFamilyFont_android_font android:font}
{@link #FontFamilyFont_android_fontWeight android:fontWeight}
{@link #FontFamilyFont_android_fontStyle android:fontStyle}
{@link #FontFamilyFont_android_ttcIndex android:ttcIndex}
{@link #FontFamilyFont_android_fontVariationSettings android:fontVariationSettings}
{@link #FontFamilyFont_font reparto_izca.keymon.lat:font}The reference to the font file to be used.
{@link #FontFamilyFont_fontStyle reparto_izca.keymon.lat:fontStyle}The style of the given font file.
{@link #FontFamilyFont_fontVariationSettings reparto_izca.keymon.lat:fontVariationSettings}The variation settings to be applied to the font.
{@link #FontFamilyFont_fontWeight reparto_izca.keymon.lat:fontWeight}The weight of the given font file.
{@link #FontFamilyFont_ttcIndex reparto_izca.keymon.lat:ttcIndex}The index of the font in the tcc font file.
+ * @see #FontFamilyFont_android_font + * @see #FontFamilyFont_android_fontWeight + * @see #FontFamilyFont_android_fontStyle + * @see #FontFamilyFont_android_ttcIndex + * @see #FontFamilyFont_android_fontVariationSettings + * @see #FontFamilyFont_font + * @see #FontFamilyFont_fontStyle + * @see #FontFamilyFont_fontVariationSettings + * @see #FontFamilyFont_fontWeight + * @see #FontFamilyFont_ttcIndex + */ + public static final int[] FontFamilyFont={ + 0x01010532, 0x01010533, 0x0101053f, 0x0101056f, + 0x01010570, 0x7f02000f, 0x7f020016, 0x7f020017, + 0x7f020018, 0x7f02002b + }; + /** + *

This symbol is the offset where the {@link android.R.attr#font} + * attribute's value can be found in the {@link #FontFamilyFont} array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name android:font + */ + public static final int FontFamilyFont_android_font=0; + /** + *

This symbol is the offset where the {@link android.R.attr#fontWeight} + * attribute's value can be found in the {@link #FontFamilyFont} array. + * + *

May be an integer value, such as "100". + * + * @attr name android:fontWeight + */ + public static final int FontFamilyFont_android_fontWeight=1; + /** + *

+ * @attr description + * References to the framework attrs + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + *
ConstantValueDescription
italic1
normal0
+ * + * @attr name android:fontStyle + */ + public static final int FontFamilyFont_android_fontStyle=2; + /** + *

This symbol is the offset where the {@link android.R.attr#ttcIndex} + * attribute's value can be found in the {@link #FontFamilyFont} array. + * + *

May be an integer value, such as "100". + * + * @attr name android:ttcIndex + */ + public static final int FontFamilyFont_android_ttcIndex=3; + /** + *

This symbol is the offset where the {@link android.R.attr#fontVariationSettings} + * attribute's value can be found in the {@link #FontFamilyFont} array. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name android:fontVariationSettings + */ + public static final int FontFamilyFont_android_fontVariationSettings=4; + /** + *

+ * @attr description + * The reference to the font file to be used. This should be a file in the res/font folder + * and should therefore have an R reference value. E.g. @font/myfont + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name reparto_izca.keymon.lat:font + */ + public static final int FontFamilyFont_font=5; + /** + *

+ * @attr description + * The style of the given font file. This will be used when the font is being loaded into + * the font stack and will override any style information in the font's header tables. If + * unspecified, the value in the font's header tables will be used. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + *
ConstantValueDescription
italic1
normal0
+ * + * @attr name reparto_izca.keymon.lat:fontStyle + */ + public static final int FontFamilyFont_fontStyle=6; + /** + *

+ * @attr description + * The variation settings to be applied to the font. The string should be in the following + * format: "'tag1' value1, 'tag2' value2, ...". If the default variation settings should be + * used, or the font used does not support variation settings, this attribute needs not be + * specified. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_izca.keymon.lat:fontVariationSettings + */ + public static final int FontFamilyFont_fontVariationSettings=7; + /** + *

+ * @attr description + * The weight of the given font file. This will be used when the font is being loaded into + * the font stack and will override any weight information in the font's header tables. Must + * be a positive number, a multiple of 100, and between 100 and 900, inclusive. The most + * common values are 400 for regular weight and 700 for bold weight. If unspecified, the value + * in the font's header tables will be used. + * + *

May be an integer value, such as "100". + * + * @attr name reparto_izca.keymon.lat:fontWeight + */ + public static final int FontFamilyFont_fontWeight=8; + /** + *

+ * @attr description + * The index of the font in the tcc font file. If the font file referenced is not in the + * tcc format, this attribute needs not be specified. + * + *

May be an integer value, such as "100". + * + * @attr name reparto_izca.keymon.lat:ttcIndex + */ + public static final int FontFamilyFont_ttcIndex=9; + /** + * Attributes that can be used with a Fragment. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + *
AttributeDescription
{@link #Fragment_android_name android:name}
{@link #Fragment_android_id android:id}
{@link #Fragment_android_tag android:tag}
+ * @see #Fragment_android_name + * @see #Fragment_android_id + * @see #Fragment_android_tag + */ + public static final int[] Fragment={ + 0x01010003, 0x010100d0, 0x010100d1 + }; + /** + *

This symbol is the offset where the {@link android.R.attr#name} + * attribute's value can be found in the {@link #Fragment} array. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name android:name + */ + public static final int Fragment_android_name=0; + /** + *

This symbol is the offset where the {@link android.R.attr#id} + * attribute's value can be found in the {@link #Fragment} array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name android:id + */ + public static final int Fragment_android_id=1; + /** + *

This symbol is the offset where the {@link android.R.attr#tag} + * attribute's value can be found in the {@link #Fragment} array. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name android:tag + */ + public static final int Fragment_android_tag=2; + /** + * Attributes that can be used with a FragmentContainerView. + *

Includes the following attributes:

+ * + * + * + * + * + * + *
AttributeDescription
{@link #FragmentContainerView_android_name android:name}
{@link #FragmentContainerView_android_tag android:tag}
+ * @see #FragmentContainerView_android_name + * @see #FragmentContainerView_android_tag + */ + public static final int[] FragmentContainerView={ + 0x01010003, 0x010100d1 + }; + /** + *

This symbol is the offset where the {@link android.R.attr#name} + * attribute's value can be found in the {@link #FragmentContainerView} array. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name android:name + */ + public static final int FragmentContainerView_android_name=0; + /** + *

This symbol is the offset where the {@link android.R.attr#tag} + * attribute's value can be found in the {@link #FragmentContainerView} array. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name android:tag + */ + public static final int FragmentContainerView_android_tag=1; + /** + * Attributes that can be used with a GradientColor. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #GradientColor_android_startColor android:startColor}
{@link #GradientColor_android_endColor android:endColor}
{@link #GradientColor_android_type android:type}
{@link #GradientColor_android_centerX android:centerX}
{@link #GradientColor_android_centerY android:centerY}
{@link #GradientColor_android_gradientRadius android:gradientRadius}
{@link #GradientColor_android_tileMode android:tileMode}
{@link #GradientColor_android_centerColor android:centerColor}
{@link #GradientColor_android_startX android:startX}
{@link #GradientColor_android_startY android:startY}
{@link #GradientColor_android_endX android:endX}
{@link #GradientColor_android_endY android:endY}
+ * @see #GradientColor_android_startColor + * @see #GradientColor_android_endColor + * @see #GradientColor_android_type + * @see #GradientColor_android_centerX + * @see #GradientColor_android_centerY + * @see #GradientColor_android_gradientRadius + * @see #GradientColor_android_tileMode + * @see #GradientColor_android_centerColor + * @see #GradientColor_android_startX + * @see #GradientColor_android_startY + * @see #GradientColor_android_endX + * @see #GradientColor_android_endY + */ + public static final int[] GradientColor={ + 0x0101019d, 0x0101019e, 0x010101a1, 0x010101a2, + 0x010101a3, 0x010101a4, 0x01010201, 0x0101020b, + 0x01010510, 0x01010511, 0x01010512, 0x01010513 + }; + /** + *

+ * @attr description + * Start color of the gradient. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name android:startColor + */ + public static final int GradientColor_android_startColor=0; + /** + *

+ * @attr description + * End color of the gradient. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name android:endColor + */ + public static final int GradientColor_android_endColor=1; + /** + *

+ * @attr description + * Type of gradient. The default type is linear. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
linear0
radial1
sweep2
+ * + * @attr name android:type + */ + public static final int GradientColor_android_type=2; + /** + *

+ * @attr description + * X coordinate of the center of the gradient within the path. + * + *

May be a floating point value, such as "1.2". + *

May be a fractional value, which is a floating point number appended with + * either % or %p, such as "14.5%". + * The % suffix always means a percentage of the base size; + * the optional %p suffix provides a size relative to some parent container. + * + * @attr name android:centerX + */ + public static final int GradientColor_android_centerX=3; + /** + *

+ * @attr description + * Y coordinate of the center of the gradient within the path. + * + *

May be a floating point value, such as "1.2". + *

May be a fractional value, which is a floating point number appended with + * either % or %p, such as "14.5%". + * The % suffix always means a percentage of the base size; + * the optional %p suffix provides a size relative to some parent container. + * + * @attr name android:centerY + */ + public static final int GradientColor_android_centerY=4; + /** + *

+ * @attr description + * Radius of the gradient, used only with radial gradient. + * + *

May be a floating point value, such as "1.2". + *

May be a dimension value, which is a floating point number appended with a + * unit such as "14.5sp". + * Available units are: px (pixels), dp (density-independent pixels), + * sp (scaled pixels based on preferred font size), in (inches), and + * mm (millimeters). + *

May be a fractional value, which is a floating point number appended with + * either % or %p, such as "14.5%". + * The % suffix always means a percentage of the base size; + * the optional %p suffix provides a size relative to some parent container. + * + * @attr name android:gradientRadius + */ + public static final int GradientColor_android_gradientRadius=5; + /** + *

+ * @attr description + * Defines the tile mode of the gradient. SweepGradient doesn't support tiling. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
clamp0
disabledffffffff
mirror2
repeat1
+ * + * @attr name android:tileMode + */ + public static final int GradientColor_android_tileMode=6; + /** + *

+ * @attr description + * Optional center color. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name android:centerColor + */ + public static final int GradientColor_android_centerColor=7; + /** + *

+ * @attr description + * X coordinate of the start point origin of the gradient. + * Defined in same coordinates as the path itself + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:startX + */ + public static final int GradientColor_android_startX=8; + /** + *

+ * @attr description + * Y coordinate of the start point of the gradient within the shape. + * Defined in same coordinates as the path itself + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:startY + */ + public static final int GradientColor_android_startY=9; + /** + *

+ * @attr description + * X coordinate of the end point origin of the gradient. + * Defined in same coordinates as the path itself + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:endX + */ + public static final int GradientColor_android_endX=10; + /** + *

+ * @attr description + * Y coordinate of the end point of the gradient within the shape. + * Defined in same coordinates as the path itself + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:endY + */ + public static final int GradientColor_android_endY=11; + /** + * Attributes that can be used with a GradientColorItem. + *

Includes the following attributes:

+ * + * + * + * + * + * + *
AttributeDescription
{@link #GradientColorItem_android_color android:color}
{@link #GradientColorItem_android_offset android:offset}
+ * @see #GradientColorItem_android_color + * @see #GradientColorItem_android_offset + */ + public static final int[] GradientColorItem={ + 0x010101a5, 0x01010514 + }; + /** + *

+ * @attr description + * The current color for the offset inside the gradient. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name android:color + */ + public static final int GradientColorItem_android_color=0; + /** + *

+ * @attr description + * The offset (or ratio) of this current color item inside the gradient. + * The value is only meaningful when it is between 0 and 1. + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:offset + */ + public static final int GradientColorItem_android_offset=1; + /** + * Attributes that can be used with a LoadingImageView. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + *
AttributeDescription
{@link #LoadingImageView_circleCrop reparto_izca.keymon.lat:circleCrop}
{@link #LoadingImageView_imageAspectRatio reparto_izca.keymon.lat:imageAspectRatio}
{@link #LoadingImageView_imageAspectRatioAdjust reparto_izca.keymon.lat:imageAspectRatioAdjust}
+ * @see #LoadingImageView_circleCrop + * @see #LoadingImageView_imageAspectRatio + * @see #LoadingImageView_imageAspectRatioAdjust + */ + public static final int[] LoadingImageView={ + 0x7f02000a, 0x7f020019, 0x7f02001a + }; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#circleCrop} + * attribute's value can be found in the {@link #LoadingImageView} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:circleCrop + */ + public static final int LoadingImageView_circleCrop=0; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#imageAspectRatio} + * attribute's value can be found in the {@link #LoadingImageView} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:imageAspectRatio + */ + public static final int LoadingImageView_imageAspectRatio=1; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#imageAspectRatioAdjust} + * attribute's value can be found in the {@link #LoadingImageView} array. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
adjust_height2
adjust_width1
none0
+ * + * @attr name reparto_izca.keymon.lat:imageAspectRatioAdjust + */ + public static final int LoadingImageView_imageAspectRatioAdjust=2; + /** + * Attributes that can be used with a MapAttrs. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #MapAttrs_ambientEnabled reparto_izca.keymon.lat:ambientEnabled}
{@link #MapAttrs_cameraBearing reparto_izca.keymon.lat:cameraBearing}
{@link #MapAttrs_cameraMaxZoomPreference reparto_izca.keymon.lat:cameraMaxZoomPreference}
{@link #MapAttrs_cameraMinZoomPreference reparto_izca.keymon.lat:cameraMinZoomPreference}
{@link #MapAttrs_cameraTargetLat reparto_izca.keymon.lat:cameraTargetLat}
{@link #MapAttrs_cameraTargetLng reparto_izca.keymon.lat:cameraTargetLng}
{@link #MapAttrs_cameraTilt reparto_izca.keymon.lat:cameraTilt}
{@link #MapAttrs_cameraZoom reparto_izca.keymon.lat:cameraZoom}
{@link #MapAttrs_latLngBoundsNorthEastLatitude reparto_izca.keymon.lat:latLngBoundsNorthEastLatitude}
{@link #MapAttrs_latLngBoundsNorthEastLongitude reparto_izca.keymon.lat:latLngBoundsNorthEastLongitude}
{@link #MapAttrs_latLngBoundsSouthWestLatitude reparto_izca.keymon.lat:latLngBoundsSouthWestLatitude}
{@link #MapAttrs_latLngBoundsSouthWestLongitude reparto_izca.keymon.lat:latLngBoundsSouthWestLongitude}
{@link #MapAttrs_liteMode reparto_izca.keymon.lat:liteMode}
{@link #MapAttrs_mapType reparto_izca.keymon.lat:mapType}
{@link #MapAttrs_uiCompass reparto_izca.keymon.lat:uiCompass}
{@link #MapAttrs_uiMapToolbar reparto_izca.keymon.lat:uiMapToolbar}
{@link #MapAttrs_uiRotateGestures reparto_izca.keymon.lat:uiRotateGestures}
{@link #MapAttrs_uiScrollGestures reparto_izca.keymon.lat:uiScrollGestures}
{@link #MapAttrs_uiScrollGesturesDuringRotateOrZoom reparto_izca.keymon.lat:uiScrollGesturesDuringRotateOrZoom}
{@link #MapAttrs_uiTiltGestures reparto_izca.keymon.lat:uiTiltGestures}
{@link #MapAttrs_uiZoomControls reparto_izca.keymon.lat:uiZoomControls}
{@link #MapAttrs_uiZoomGestures reparto_izca.keymon.lat:uiZoomGestures}
{@link #MapAttrs_useViewLifecycle reparto_izca.keymon.lat:useViewLifecycle}
{@link #MapAttrs_zOrderOnTop reparto_izca.keymon.lat:zOrderOnTop}
+ * @see #MapAttrs_ambientEnabled + * @see #MapAttrs_cameraBearing + * @see #MapAttrs_cameraMaxZoomPreference + * @see #MapAttrs_cameraMinZoomPreference + * @see #MapAttrs_cameraTargetLat + * @see #MapAttrs_cameraTargetLng + * @see #MapAttrs_cameraTilt + * @see #MapAttrs_cameraZoom + * @see #MapAttrs_latLngBoundsNorthEastLatitude + * @see #MapAttrs_latLngBoundsNorthEastLongitude + * @see #MapAttrs_latLngBoundsSouthWestLatitude + * @see #MapAttrs_latLngBoundsSouthWestLongitude + * @see #MapAttrs_liteMode + * @see #MapAttrs_mapType + * @see #MapAttrs_uiCompass + * @see #MapAttrs_uiMapToolbar + * @see #MapAttrs_uiRotateGestures + * @see #MapAttrs_uiScrollGestures + * @see #MapAttrs_uiScrollGesturesDuringRotateOrZoom + * @see #MapAttrs_uiTiltGestures + * @see #MapAttrs_uiZoomControls + * @see #MapAttrs_uiZoomGestures + * @see #MapAttrs_useViewLifecycle + * @see #MapAttrs_zOrderOnTop + */ + public static final int[] MapAttrs={ + 0x7f020001, 0x7f020003, 0x7f020004, 0x7f020005, + 0x7f020006, 0x7f020007, 0x7f020008, 0x7f020009, + 0x7f02001c, 0x7f02001d, 0x7f02001e, 0x7f02001f, + 0x7f020026, 0x7f020027, 0x7f02002c, 0x7f02002d, + 0x7f02002e, 0x7f02002f, 0x7f020030, 0x7f020031, + 0x7f020032, 0x7f020033, 0x7f020034, 0x7f020035 + }; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#ambientEnabled} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:ambientEnabled + */ + public static final int MapAttrs_ambientEnabled=0; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#cameraBearing} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:cameraBearing + */ + public static final int MapAttrs_cameraBearing=1; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#cameraMaxZoomPreference} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:cameraMaxZoomPreference + */ + public static final int MapAttrs_cameraMaxZoomPreference=2; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#cameraMinZoomPreference} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:cameraMinZoomPreference + */ + public static final int MapAttrs_cameraMinZoomPreference=3; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#cameraTargetLat} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:cameraTargetLat + */ + public static final int MapAttrs_cameraTargetLat=4; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#cameraTargetLng} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:cameraTargetLng + */ + public static final int MapAttrs_cameraTargetLng=5; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#cameraTilt} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:cameraTilt + */ + public static final int MapAttrs_cameraTilt=6; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#cameraZoom} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:cameraZoom + */ + public static final int MapAttrs_cameraZoom=7; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#latLngBoundsNorthEastLatitude} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:latLngBoundsNorthEastLatitude + */ + public static final int MapAttrs_latLngBoundsNorthEastLatitude=8; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#latLngBoundsNorthEastLongitude} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:latLngBoundsNorthEastLongitude + */ + public static final int MapAttrs_latLngBoundsNorthEastLongitude=9; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#latLngBoundsSouthWestLatitude} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:latLngBoundsSouthWestLatitude + */ + public static final int MapAttrs_latLngBoundsSouthWestLatitude=10; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#latLngBoundsSouthWestLongitude} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:latLngBoundsSouthWestLongitude + */ + public static final int MapAttrs_latLngBoundsSouthWestLongitude=11; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#liteMode} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:liteMode + */ + public static final int MapAttrs_liteMode=12; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#mapType} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
hybrid4
none0
normal1
satellite2
terrain3
+ * + * @attr name reparto_izca.keymon.lat:mapType + */ + public static final int MapAttrs_mapType=13; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiCompass} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiCompass + */ + public static final int MapAttrs_uiCompass=14; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiMapToolbar} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiMapToolbar + */ + public static final int MapAttrs_uiMapToolbar=15; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiRotateGestures} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiRotateGestures + */ + public static final int MapAttrs_uiRotateGestures=16; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiScrollGestures} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiScrollGestures + */ + public static final int MapAttrs_uiScrollGestures=17; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiScrollGesturesDuringRotateOrZoom} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiScrollGesturesDuringRotateOrZoom + */ + public static final int MapAttrs_uiScrollGesturesDuringRotateOrZoom=18; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiTiltGestures} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiTiltGestures + */ + public static final int MapAttrs_uiTiltGestures=19; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiZoomControls} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiZoomControls + */ + public static final int MapAttrs_uiZoomControls=20; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiZoomGestures} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiZoomGestures + */ + public static final int MapAttrs_uiZoomGestures=21; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#useViewLifecycle} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:useViewLifecycle + */ + public static final int MapAttrs_useViewLifecycle=22; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#zOrderOnTop} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:zOrderOnTop + */ + public static final int MapAttrs_zOrderOnTop=23; + /** + * Attributes that can be used with a SignInButton. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + *
AttributeDescription
{@link #SignInButton_buttonSize reparto_izca.keymon.lat:buttonSize}
{@link #SignInButton_colorScheme reparto_izca.keymon.lat:colorScheme}
{@link #SignInButton_scopeUris reparto_izca.keymon.lat:scopeUris}
+ * @see #SignInButton_buttonSize + * @see #SignInButton_colorScheme + * @see #SignInButton_scopeUris + */ + public static final int[] SignInButton={ + 0x7f020002, 0x7f02000b, 0x7f020028 + }; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#buttonSize} + * attribute's value can be found in the {@link #SignInButton} array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
icon_only2
standard0
wide1
+ * + * @attr name reparto_izca.keymon.lat:buttonSize + */ + public static final int SignInButton_buttonSize=0; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#colorScheme} + * attribute's value can be found in the {@link #SignInButton} array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
auto2
dark0
light1
+ * + * @attr name reparto_izca.keymon.lat:colorScheme + */ + public static final int SignInButton_colorScheme=1; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#scopeUris} + * attribute's value can be found in the {@link #SignInButton} array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_izca.keymon.lat:scopeUris + */ + public static final int SignInButton_scopeUris=2; + /** + * Attributes that can be used with a SwipeRefreshLayout. + *

Includes the following attributes:

+ * + * + * + * + * + *
AttributeDescription
{@link #SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor reparto_izca.keymon.lat:swipeRefreshLayoutProgressSpinnerBackgroundColor}Background color for SwipeRefreshLayout progress spinner.
+ * @see #SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor + */ + public static final int[] SwipeRefreshLayout={ + 0x7f02002a + }; + /** + *

+ * @attr description + * Background color for SwipeRefreshLayout progress spinner. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name reparto_izca.keymon.lat:swipeRefreshLayoutProgressSpinnerBackgroundColor + */ + public static final int SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor=0; + } + public static final class xml { + public static final int provider_paths=0x7f0c0000; + } +} \ No newline at end of file diff --git a/B4A/Objects/gen/com/google/android/gms/base/R.java b/B4A/Objects/gen/com/google/android/gms/base/R.java new file mode 100644 index 0000000..15d60ae --- /dev/null +++ b/B4A/Objects/gen/com/google/android/gms/base/R.java @@ -0,0 +1,2121 @@ +/* AUTO-GENERATED FILE. DO NOT MODIFY. + * + * This class was automatically generated by the + * aapt tool from the resource data it found. It + * should not be modified by hand. + */ + +package com.google.android.gms.base; + +public final class R { + public static final class anim { + public static final int fragment_close_enter=0x7f010000; + public static final int fragment_close_exit=0x7f010001; + public static final int fragment_fade_enter=0x7f010002; + public static final int fragment_fade_exit=0x7f010003; + public static final int fragment_fast_out_extra_slow_in=0x7f010004; + public static final int fragment_open_enter=0x7f010005; + public static final int fragment_open_exit=0x7f010006; + } + public static final class attr { + /** + * Alpha multiplier applied to the base color. + *

May be a floating point value, such as "1.2". + */ + public static final int alpha=0x7f020000; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int ambientEnabled=0x7f020001; + /** + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
icon_only2
standard0
wide1
+ */ + public static final int buttonSize=0x7f020002; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraBearing=0x7f020003; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraMaxZoomPreference=0x7f020004; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraMinZoomPreference=0x7f020005; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraTargetLat=0x7f020006; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraTargetLng=0x7f020007; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraTilt=0x7f020008; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraZoom=0x7f020009; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int circleCrop=0x7f02000a; + /** + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
auto2
dark0
light1
+ */ + public static final int colorScheme=0x7f02000b; + /** + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int coordinatorLayoutStyle=0x7f02000c; + /** + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int drawerLayoutStyle=0x7f02000d; + /** + *

May be a dimension value, which is a floating point number appended with a + * unit such as "14.5sp". + * Available units are: px (pixels), dp (density-independent pixels), + * sp (scaled pixels based on preferred font size), in (inches), and + * mm (millimeters). + */ + public static final int elevation=0x7f02000e; + /** + * The reference to the font file to be used. This should be a file in the res/font folder + * and should therefore have an R reference value. E.g. @font/myfont + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int font=0x7f02000f; + /** + * The authority of the Font Provider to be used for the request. + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int fontProviderAuthority=0x7f020010; + /** + * The sets of hashes for the certificates the provider should be signed with. This is + * used to verify the identity of the provider, and is only required if the provider is not + * part of the system image. This value may point to one list or a list of lists, where each + * individual list represents one collection of signature hashes. Refer to your font provider's + * documentation for these values. + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int fontProviderCerts=0x7f020011; + /** + * The strategy to be used when fetching font data from a font provider in XML layouts. + * This attribute is ignored when the resource is loaded from code, as it is equivalent to the + * choice of API between {@link + * androidx.core.content.res.ResourcesCompat#getFont(Context, int)} (blocking) and + * {@link + * androidx.core.content.res.ResourcesCompat#getFont(Context, int, FontCallback, Handler)} + * (async). + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + *
ConstantValueDescription
async1The async font fetch works as follows. + * First, check the local cache, then if the requeted font is not cached, trigger a + * request the font and continue with layout inflation. Once the font fetch succeeds, the + * target text view will be refreshed with the downloaded font data. The + * fontProviderFetchTimeout will be ignored if async loading is specified.
blocking0The blocking font fetch works as follows. + * First, check the local cache, then if the requested font is not cached, request the + * font from the provider and wait until it is finished. You can change the length of + * the timeout by modifying fontProviderFetchTimeout. If the timeout happens, the + * default typeface will be used instead.
+ */ + public static final int fontProviderFetchStrategy=0x7f020012; + /** + * The length of the timeout during fetching. + *

May be an integer value, such as "100". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + *
ConstantValueDescription
foreverffffffffA special value for the timeout. In this case, the blocking font fetching will not + * timeout and wait until a reply is received from the font provider.
+ */ + public static final int fontProviderFetchTimeout=0x7f020013; + /** + * The package for the Font Provider to be used for the request. This is used to verify + * the identity of the provider. + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int fontProviderPackage=0x7f020014; + /** + * The query to be sent over to the provider. Refer to your font provider's documentation + * on the format of this string. + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int fontProviderQuery=0x7f020015; + /** + * The style of the given font file. This will be used when the font is being loaded into + * the font stack and will override any style information in the font's header tables. If + * unspecified, the value in the font's header tables will be used. + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + *
ConstantValueDescription
italic1
normal0
+ */ + public static final int fontStyle=0x7f020016; + /** + * The variation settings to be applied to the font. The string should be in the following + * format: "'tag1' value1, 'tag2' value2, ...". If the default variation settings should be + * used, or the font used does not support variation settings, this attribute needs not be + * specified. + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int fontVariationSettings=0x7f020017; + /** + * The weight of the given font file. This will be used when the font is being loaded into + * the font stack and will override any weight information in the font's header tables. Must + * be a positive number, a multiple of 100, and between 100 and 900, inclusive. The most + * common values are 400 for regular weight and 700 for bold weight. If unspecified, the value + * in the font's header tables will be used. + *

May be an integer value, such as "100". + */ + public static final int fontWeight=0x7f020018; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int imageAspectRatio=0x7f020019; + /** + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
adjust_height2
adjust_width1
none0
+ */ + public static final int imageAspectRatioAdjust=0x7f02001a; + /** + * A reference to an array of integers representing the + * locations of horizontal keylines in dp from the starting edge. + * Child views can refer to these keylines for alignment using + * layout_keyline="index" where index is a 0-based index into + * this array. + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int keylines=0x7f02001b; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int latLngBoundsNorthEastLatitude=0x7f02001c; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int latLngBoundsNorthEastLongitude=0x7f02001d; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int latLngBoundsSouthWestLatitude=0x7f02001e; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int latLngBoundsSouthWestLongitude=0x7f02001f; + /** + * The id of an anchor view that this view should position relative to. + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int layout_anchor=0x7f020020; + /** + * Specifies how an object should position relative to an anchor, on both the X and Y axes, + * within its parent's bounds. + *

Must be one or more (separated by '|') of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
bottom50Push object to the bottom of its container, not changing its size.
center11Place the object in the center of its container in both the vertical and horizontal axis, not changing its size.
center_horizontal1Place object in the horizontal center of its container, not changing its size.
center_vertical10Place object in the vertical center of its container, not changing its size.
clip_horizontal8Additional option that can be set to have the left and/or right edges of + * the child clipped to its container's bounds. + * The clip will be based on the horizontal gravity: a left gravity will clip the right + * edge, a right gravity will clip the left edge, and neither will clip both edges.
clip_vertical80Additional option that can be set to have the top and/or bottom edges of + * the child clipped to its container's bounds. + * The clip will be based on the vertical gravity: a top gravity will clip the bottom + * edge, a bottom gravity will clip the top edge, and neither will clip both edges.
end800005Push object to the end of its container, not changing its size.
fill77Grow the horizontal and vertical size of the object if needed so it completely fills its container.
fill_horizontal7Grow the horizontal size of the object if needed so it completely fills its container.
fill_vertical70Grow the vertical size of the object if needed so it completely fills its container.
left3Push object to the left of its container, not changing its size.
right5Push object to the right of its container, not changing its size.
start800003Push object to the beginning of its container, not changing its size.
top30Push object to the top of its container, not changing its size.
+ */ + public static final int layout_anchorGravity=0x7f020021; + /** + * The class name of a Behavior class defining special runtime behavior + * for this child view. + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int layout_behavior=0x7f020022; + /** + * Specifies how this view dodges the inset edges of the CoordinatorLayout. + *

Must be one or more (separated by '|') of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
all77Dodge all the inset edges.
bottom50Dodge the bottom inset edge.
end800005Dodge the end inset edge.
left3Dodge the left inset edge.
none0Don't dodge any edges
right5Dodge the right inset edge.
start800003Dodge the start inset edge.
top30Dodge the top inset edge.
+ */ + public static final int layout_dodgeInsetEdges=0x7f020023; + /** + * Specifies how this view insets the CoordinatorLayout and make some other views + * dodge it. + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
bottom50Inset the bottom edge.
end800005Inset the end edge.
left3Inset the left edge.
none0Don't inset.
right5Inset the right edge.
start800003Inset the start edge.
top30Inset the top edge.
+ */ + public static final int layout_insetEdge=0x7f020024; + /** + * The index of a keyline this view should position relative to. + * android:layout_gravity will affect how the view aligns to the + * specified keyline. + *

May be an integer value, such as "100". + */ + public static final int layout_keyline=0x7f020025; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int liteMode=0x7f020026; + /** + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
hybrid4
none0
normal1
satellite2
terrain3
+ */ + public static final int mapType=0x7f020027; + /** + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int scopeUris=0x7f020028; + /** + * Drawable to display behind the status bar when the view is set to draw behind it. + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + */ + public static final int statusBarBackground=0x7f020029; + /** + * Background color for SwipeRefreshLayout progress spinner. + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + */ + public static final int swipeRefreshLayoutProgressSpinnerBackgroundColor=0x7f02002a; + /** + * The index of the font in the tcc font file. If the font file referenced is not in the + * tcc format, this attribute needs not be specified. + *

May be an integer value, such as "100". + */ + public static final int ttcIndex=0x7f02002b; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiCompass=0x7f02002c; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiMapToolbar=0x7f02002d; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiRotateGestures=0x7f02002e; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiScrollGestures=0x7f02002f; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiScrollGesturesDuringRotateOrZoom=0x7f020030; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiTiltGestures=0x7f020031; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiZoomControls=0x7f020032; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiZoomGestures=0x7f020033; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int useViewLifecycle=0x7f020034; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int zOrderOnTop=0x7f020035; + } + public static final class color { + public static final int androidx_core_ripple_material_light=0x7f030000; + public static final int androidx_core_secondary_text_default_material_light=0x7f030001; + public static final int common_google_signin_btn_text_dark=0x7f030002; + public static final int common_google_signin_btn_text_dark_default=0x7f030003; + public static final int common_google_signin_btn_text_dark_disabled=0x7f030004; + public static final int common_google_signin_btn_text_dark_focused=0x7f030005; + public static final int common_google_signin_btn_text_dark_pressed=0x7f030006; + public static final int common_google_signin_btn_text_light=0x7f030007; + public static final int common_google_signin_btn_text_light_default=0x7f030008; + public static final int common_google_signin_btn_text_light_disabled=0x7f030009; + public static final int common_google_signin_btn_text_light_focused=0x7f03000a; + public static final int common_google_signin_btn_text_light_pressed=0x7f03000b; + public static final int common_google_signin_btn_tint=0x7f03000c; + public static final int notification_action_color_filter=0x7f03000d; + public static final int notification_icon_bg_color=0x7f03000e; + public static final int notification_material_background_media_default_color=0x7f03000f; + public static final int primary_text_default_material_dark=0x7f030010; + public static final int secondary_text_default_material_dark=0x7f030011; + } + public static final class dimen { + public static final int compat_button_inset_horizontal_material=0x7f040000; + public static final int compat_button_inset_vertical_material=0x7f040001; + public static final int compat_button_padding_horizontal_material=0x7f040002; + public static final int compat_button_padding_vertical_material=0x7f040003; + public static final int compat_control_corner_material=0x7f040004; + public static final int compat_notification_large_icon_max_height=0x7f040005; + public static final int compat_notification_large_icon_max_width=0x7f040006; + public static final int def_drawer_elevation=0x7f040007; + public static final int notification_action_icon_size=0x7f040008; + public static final int notification_action_text_size=0x7f040009; + public static final int notification_big_circle_margin=0x7f04000a; + public static final int notification_content_margin_start=0x7f04000b; + public static final int notification_large_icon_height=0x7f04000c; + public static final int notification_large_icon_width=0x7f04000d; + public static final int notification_main_column_padding_top=0x7f04000e; + public static final int notification_media_narrow_margin=0x7f04000f; + public static final int notification_right_icon_size=0x7f040010; + public static final int notification_right_side_padding_top=0x7f040011; + public static final int notification_small_icon_background_padding=0x7f040012; + public static final int notification_small_icon_size_as_large=0x7f040013; + public static final int notification_subtext_size=0x7f040014; + public static final int notification_top_pad=0x7f040015; + public static final int notification_top_pad_large_text=0x7f040016; + public static final int subtitle_corner_radius=0x7f040017; + public static final int subtitle_outline_width=0x7f040018; + public static final int subtitle_shadow_offset=0x7f040019; + public static final int subtitle_shadow_radius=0x7f04001a; + } + public static final class drawable { + public static final int common_full_open_on_phone=0x7f050000; + public static final int common_google_signin_btn_icon_dark=0x7f050001; + public static final int common_google_signin_btn_icon_dark_focused=0x7f050002; + public static final int common_google_signin_btn_icon_dark_normal=0x7f050003; + public static final int common_google_signin_btn_icon_dark_normal_background=0x7f050004; + public static final int common_google_signin_btn_icon_disabled=0x7f050005; + public static final int common_google_signin_btn_icon_light=0x7f050006; + public static final int common_google_signin_btn_icon_light_focused=0x7f050007; + public static final int common_google_signin_btn_icon_light_normal=0x7f050008; + public static final int common_google_signin_btn_icon_light_normal_background=0x7f050009; + public static final int common_google_signin_btn_text_dark=0x7f05000a; + public static final int common_google_signin_btn_text_dark_focused=0x7f05000b; + public static final int common_google_signin_btn_text_dark_normal=0x7f05000c; + public static final int common_google_signin_btn_text_dark_normal_background=0x7f05000d; + public static final int common_google_signin_btn_text_disabled=0x7f05000e; + public static final int common_google_signin_btn_text_light=0x7f05000f; + public static final int common_google_signin_btn_text_light_focused=0x7f050010; + public static final int common_google_signin_btn_text_light_normal=0x7f050011; + public static final int common_google_signin_btn_text_light_normal_background=0x7f050012; + public static final int googleg_disabled_color_18=0x7f050013; + public static final int googleg_standard_color_18=0x7f050014; + public static final int icon=0x7f050015; + public static final int notification_action_background=0x7f050016; + public static final int notification_bg=0x7f050017; + public static final int notification_bg_low=0x7f050018; + public static final int notification_bg_low_normal=0x7f050019; + public static final int notification_bg_low_pressed=0x7f05001a; + public static final int notification_bg_normal=0x7f05001b; + public static final int notification_bg_normal_pressed=0x7f05001c; + public static final int notification_icon_background=0x7f05001d; + public static final int notification_template_icon_bg=0x7f05001e; + public static final int notification_template_icon_low_bg=0x7f05001f; + public static final int notification_tile_bg=0x7f050020; + public static final int notify_panel_notification_icon_bg=0x7f050021; + } + public static final class id { + public static final int accessibility_action_clickable_span=0x7f060000; + public static final int accessibility_custom_action_0=0x7f060001; + public static final int accessibility_custom_action_1=0x7f060002; + public static final int accessibility_custom_action_10=0x7f060003; + public static final int accessibility_custom_action_11=0x7f060004; + public static final int accessibility_custom_action_12=0x7f060005; + public static final int accessibility_custom_action_13=0x7f060006; + public static final int accessibility_custom_action_14=0x7f060007; + public static final int accessibility_custom_action_15=0x7f060008; + public static final int accessibility_custom_action_16=0x7f060009; + public static final int accessibility_custom_action_17=0x7f06000a; + public static final int accessibility_custom_action_18=0x7f06000b; + public static final int accessibility_custom_action_19=0x7f06000c; + public static final int accessibility_custom_action_2=0x7f06000d; + public static final int accessibility_custom_action_20=0x7f06000e; + public static final int accessibility_custom_action_21=0x7f06000f; + public static final int accessibility_custom_action_22=0x7f060010; + public static final int accessibility_custom_action_23=0x7f060011; + public static final int accessibility_custom_action_24=0x7f060012; + public static final int accessibility_custom_action_25=0x7f060013; + public static final int accessibility_custom_action_26=0x7f060014; + public static final int accessibility_custom_action_27=0x7f060015; + public static final int accessibility_custom_action_28=0x7f060016; + public static final int accessibility_custom_action_29=0x7f060017; + public static final int accessibility_custom_action_3=0x7f060018; + public static final int accessibility_custom_action_30=0x7f060019; + public static final int accessibility_custom_action_31=0x7f06001a; + public static final int accessibility_custom_action_4=0x7f06001b; + public static final int accessibility_custom_action_5=0x7f06001c; + public static final int accessibility_custom_action_6=0x7f06001d; + public static final int accessibility_custom_action_7=0x7f06001e; + public static final int accessibility_custom_action_8=0x7f06001f; + public static final int accessibility_custom_action_9=0x7f060020; + public static final int action0=0x7f060021; + public static final int action_container=0x7f060022; + public static final int action_divider=0x7f060023; + public static final int action_image=0x7f060024; + public static final int action_text=0x7f060025; + public static final int actions=0x7f060026; + public static final int adjust_height=0x7f060027; + public static final int adjust_width=0x7f060028; + public static final int all=0x7f060029; + public static final int async=0x7f06002a; + public static final int auto=0x7f06002b; + public static final int blocking=0x7f06002c; + public static final int bottom=0x7f06002d; + public static final int cancel_action=0x7f06002e; + public static final int center=0x7f06002f; + public static final int center_horizontal=0x7f060030; + public static final int center_vertical=0x7f060031; + public static final int chronometer=0x7f060032; + public static final int clip_horizontal=0x7f060033; + public static final int clip_vertical=0x7f060034; + public static final int dark=0x7f060035; + public static final int dialog_button=0x7f060036; + public static final int end=0x7f060037; + public static final int end_padder=0x7f060038; + public static final int fill=0x7f060039; + public static final int fill_horizontal=0x7f06003a; + public static final int fill_vertical=0x7f06003b; + public static final int forever=0x7f06003c; + public static final int fragment_container_view_tag=0x7f06003d; + public static final int hybrid=0x7f06003e; + public static final int icon=0x7f06003f; + public static final int icon_group=0x7f060040; + public static final int icon_only=0x7f060041; + public static final int info=0x7f060042; + public static final int italic=0x7f060043; + public static final int left=0x7f060044; + public static final int light=0x7f060045; + public static final int line1=0x7f060046; + public static final int line3=0x7f060047; + public static final int media_actions=0x7f060048; + public static final int none=0x7f060049; + public static final int normal=0x7f06004a; + public static final int notification_background=0x7f06004b; + public static final int notification_main_column=0x7f06004c; + public static final int notification_main_column_container=0x7f06004d; + public static final int right=0x7f06004e; + public static final int right_icon=0x7f06004f; + public static final int right_side=0x7f060050; + public static final int satellite=0x7f060051; + public static final int standard=0x7f060052; + public static final int start=0x7f060053; + public static final int status_bar_latest_event_content=0x7f060054; + public static final int tag_accessibility_actions=0x7f060055; + public static final int tag_accessibility_clickable_spans=0x7f060056; + public static final int tag_accessibility_heading=0x7f060057; + public static final int tag_accessibility_pane_title=0x7f060058; + public static final int tag_screen_reader_focusable=0x7f060059; + public static final int tag_transition_group=0x7f06005a; + public static final int tag_unhandled_key_event_manager=0x7f06005b; + public static final int tag_unhandled_key_listeners=0x7f06005c; + public static final int terrain=0x7f06005d; + public static final int text=0x7f06005e; + public static final int text2=0x7f06005f; + public static final int time=0x7f060060; + public static final int title=0x7f060061; + public static final int top=0x7f060062; + public static final int visible_removing_fragment_view_tag=0x7f060063; + public static final int wide=0x7f060064; + } + public static final class integer { + public static final int cancel_button_image_alpha=0x7f070000; + public static final int google_play_services_version=0x7f070001; + public static final int status_bar_notification_info_maxnum=0x7f070002; + } + public static final class layout { + public static final int custom_dialog=0x7f080000; + public static final int notification_action=0x7f080001; + public static final int notification_action_tombstone=0x7f080002; + public static final int notification_media_action=0x7f080003; + public static final int notification_media_cancel_action=0x7f080004; + public static final int notification_template_big_media=0x7f080005; + public static final int notification_template_big_media_custom=0x7f080006; + public static final int notification_template_big_media_narrow=0x7f080007; + public static final int notification_template_big_media_narrow_custom=0x7f080008; + public static final int notification_template_custom_big=0x7f080009; + public static final int notification_template_icon_group=0x7f08000a; + public static final int notification_template_lines_media=0x7f08000b; + public static final int notification_template_media=0x7f08000c; + public static final int notification_template_media_custom=0x7f08000d; + public static final int notification_template_part_chronometer=0x7f08000e; + public static final int notification_template_part_time=0x7f08000f; + } + public static final class string { + public static final int common_google_play_services_enable_button=0x7f090000; + public static final int common_google_play_services_enable_text=0x7f090001; + public static final int common_google_play_services_enable_title=0x7f090002; + public static final int common_google_play_services_install_button=0x7f090003; + public static final int common_google_play_services_install_text=0x7f090004; + public static final int common_google_play_services_install_title=0x7f090005; + public static final int common_google_play_services_notification_channel_name=0x7f090006; + public static final int common_google_play_services_notification_ticker=0x7f090007; + public static final int common_google_play_services_unknown_issue=0x7f090008; + public static final int common_google_play_services_unsupported_text=0x7f090009; + public static final int common_google_play_services_update_button=0x7f09000a; + public static final int common_google_play_services_update_text=0x7f09000b; + public static final int common_google_play_services_update_title=0x7f09000c; + public static final int common_google_play_services_updating_text=0x7f09000d; + public static final int common_google_play_services_wear_update_text=0x7f09000e; + public static final int common_open_on_phone=0x7f09000f; + public static final int common_signin_button_text=0x7f090010; + public static final int common_signin_button_text_long=0x7f090011; + public static final int status_bar_notification_info_overflow=0x7f090012; + } + public static final class style { + public static final int LightTheme=0x7f0a0000; + public static final int LowerCaseMenu=0x7f0a0001; + public static final int TextAppearance_Compat_Notification=0x7f0a0002; + public static final int TextAppearance_Compat_Notification_Info=0x7f0a0003; + public static final int TextAppearance_Compat_Notification_Info_Media=0x7f0a0004; + public static final int TextAppearance_Compat_Notification_Line2=0x7f0a0005; + public static final int TextAppearance_Compat_Notification_Line2_Media=0x7f0a0006; + public static final int TextAppearance_Compat_Notification_Media=0x7f0a0007; + public static final int TextAppearance_Compat_Notification_Time=0x7f0a0008; + public static final int TextAppearance_Compat_Notification_Time_Media=0x7f0a0009; + public static final int TextAppearance_Compat_Notification_Title=0x7f0a000a; + public static final int TextAppearance_Compat_Notification_Title_Media=0x7f0a000b; + public static final int Widget_Compat_NotificationActionContainer=0x7f0a000c; + public static final int Widget_Compat_NotificationActionText=0x7f0a000d; + public static final int Widget_Support_CoordinatorLayout=0x7f0a000e; + } + public static final class styleable { + /** + * Attributes that can be used with a ColorStateListItem. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + *
AttributeDescription
{@link #ColorStateListItem_android_color android:color}
{@link #ColorStateListItem_android_alpha android:alpha}
{@link #ColorStateListItem_alpha reparto_izca.keymon.lat:alpha}Alpha multiplier applied to the base color.
+ * @see #ColorStateListItem_android_color + * @see #ColorStateListItem_android_alpha + * @see #ColorStateListItem_alpha + */ + public static final int[] ColorStateListItem={ + 0x010101a5, 0x0101031f, 0x7f020000 + }; + /** + *

+ * @attr description + * Base color for this state. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name android:color + */ + public static final int ColorStateListItem_android_color=0; + /** + *

This symbol is the offset where the {@link android.R.attr#alpha} + * attribute's value can be found in the {@link #ColorStateListItem} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:alpha + */ + public static final int ColorStateListItem_android_alpha=1; + /** + *

+ * @attr description + * Alpha multiplier applied to the base color. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:alpha + */ + public static final int ColorStateListItem_alpha=2; + /** + * Attributes that can be used with a CoordinatorLayout. + *

Includes the following attributes:

+ * + * + * + * + * + * + *
AttributeDescription
{@link #CoordinatorLayout_keylines reparto_izca.keymon.lat:keylines}A reference to an array of integers representing the + * locations of horizontal keylines in dp from the starting edge.
{@link #CoordinatorLayout_statusBarBackground reparto_izca.keymon.lat:statusBarBackground}Drawable to display behind the status bar when the view is set to draw behind it.
+ * @see #CoordinatorLayout_keylines + * @see #CoordinatorLayout_statusBarBackground + */ + public static final int[] CoordinatorLayout={ + 0x7f02001b, 0x7f020029 + }; + /** + *

+ * @attr description + * A reference to an array of integers representing the + * locations of horizontal keylines in dp from the starting edge. + * Child views can refer to these keylines for alignment using + * layout_keyline="index" where index is a 0-based index into + * this array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name reparto_izca.keymon.lat:keylines + */ + public static final int CoordinatorLayout_keylines=0; + /** + *

+ * @attr description + * Drawable to display behind the status bar when the view is set to draw behind it. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name reparto_izca.keymon.lat:statusBarBackground + */ + public static final int CoordinatorLayout_statusBarBackground=1; + /** + * Attributes that can be used with a CoordinatorLayout_Layout. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #CoordinatorLayout_Layout_android_layout_gravity android:layout_gravity}
{@link #CoordinatorLayout_Layout_layout_anchor reparto_izca.keymon.lat:layout_anchor}The id of an anchor view that this view should position relative to.
{@link #CoordinatorLayout_Layout_layout_anchorGravity reparto_izca.keymon.lat:layout_anchorGravity}Specifies how an object should position relative to an anchor, on both the X and Y axes, + * within its parent's bounds.
{@link #CoordinatorLayout_Layout_layout_behavior reparto_izca.keymon.lat:layout_behavior}The class name of a Behavior class defining special runtime behavior + * for this child view.
{@link #CoordinatorLayout_Layout_layout_dodgeInsetEdges reparto_izca.keymon.lat:layout_dodgeInsetEdges}Specifies how this view dodges the inset edges of the CoordinatorLayout.
{@link #CoordinatorLayout_Layout_layout_insetEdge reparto_izca.keymon.lat:layout_insetEdge}Specifies how this view insets the CoordinatorLayout and make some other views + * dodge it.
{@link #CoordinatorLayout_Layout_layout_keyline reparto_izca.keymon.lat:layout_keyline}The index of a keyline this view should position relative to.
+ * @see #CoordinatorLayout_Layout_android_layout_gravity + * @see #CoordinatorLayout_Layout_layout_anchor + * @see #CoordinatorLayout_Layout_layout_anchorGravity + * @see #CoordinatorLayout_Layout_layout_behavior + * @see #CoordinatorLayout_Layout_layout_dodgeInsetEdges + * @see #CoordinatorLayout_Layout_layout_insetEdge + * @see #CoordinatorLayout_Layout_layout_keyline + */ + public static final int[] CoordinatorLayout_Layout={ + 0x010100b3, 0x7f020020, 0x7f020021, 0x7f020022, + 0x7f020023, 0x7f020024, 0x7f020025 + }; + /** + *

This symbol is the offset where the {@link android.R.attr#layout_gravity} + * attribute's value can be found in the {@link #CoordinatorLayout_Layout} array. + * + *

Must be one or more (separated by '|') of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
bottom50
center11
center_horizontal1
center_vertical10
clip_horizontal8
clip_vertical80
end800005
fill77
fill_horizontal7
fill_vertical70
left3
right5
start800003
top30
+ * + * @attr name android:layout_gravity + */ + public static final int CoordinatorLayout_Layout_android_layout_gravity=0; + /** + *

+ * @attr description + * The id of an anchor view that this view should position relative to. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name reparto_izca.keymon.lat:layout_anchor + */ + public static final int CoordinatorLayout_Layout_layout_anchor=1; + /** + *

+ * @attr description + * Specifies how an object should position relative to an anchor, on both the X and Y axes, + * within its parent's bounds. + * + *

Must be one or more (separated by '|') of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
bottom50Push object to the bottom of its container, not changing its size.
center11Place the object in the center of its container in both the vertical and horizontal axis, not changing its size.
center_horizontal1Place object in the horizontal center of its container, not changing its size.
center_vertical10Place object in the vertical center of its container, not changing its size.
clip_horizontal8Additional option that can be set to have the left and/or right edges of + * the child clipped to its container's bounds. + * The clip will be based on the horizontal gravity: a left gravity will clip the right + * edge, a right gravity will clip the left edge, and neither will clip both edges.
clip_vertical80Additional option that can be set to have the top and/or bottom edges of + * the child clipped to its container's bounds. + * The clip will be based on the vertical gravity: a top gravity will clip the bottom + * edge, a bottom gravity will clip the top edge, and neither will clip both edges.
end800005Push object to the end of its container, not changing its size.
fill77Grow the horizontal and vertical size of the object if needed so it completely fills its container.
fill_horizontal7Grow the horizontal size of the object if needed so it completely fills its container.
fill_vertical70Grow the vertical size of the object if needed so it completely fills its container.
left3Push object to the left of its container, not changing its size.
right5Push object to the right of its container, not changing its size.
start800003Push object to the beginning of its container, not changing its size.
top30Push object to the top of its container, not changing its size.
+ * + * @attr name reparto_izca.keymon.lat:layout_anchorGravity + */ + public static final int CoordinatorLayout_Layout_layout_anchorGravity=2; + /** + *

+ * @attr description + * The class name of a Behavior class defining special runtime behavior + * for this child view. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_izca.keymon.lat:layout_behavior + */ + public static final int CoordinatorLayout_Layout_layout_behavior=3; + /** + *

+ * @attr description + * Specifies how this view dodges the inset edges of the CoordinatorLayout. + * + *

Must be one or more (separated by '|') of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
all77Dodge all the inset edges.
bottom50Dodge the bottom inset edge.
end800005Dodge the end inset edge.
left3Dodge the left inset edge.
none0Don't dodge any edges
right5Dodge the right inset edge.
start800003Dodge the start inset edge.
top30Dodge the top inset edge.
+ * + * @attr name reparto_izca.keymon.lat:layout_dodgeInsetEdges + */ + public static final int CoordinatorLayout_Layout_layout_dodgeInsetEdges=4; + /** + *

+ * @attr description + * Specifies how this view insets the CoordinatorLayout and make some other views + * dodge it. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
bottom50Inset the bottom edge.
end800005Inset the end edge.
left3Inset the left edge.
none0Don't inset.
right5Inset the right edge.
start800003Inset the start edge.
top30Inset the top edge.
+ * + * @attr name reparto_izca.keymon.lat:layout_insetEdge + */ + public static final int CoordinatorLayout_Layout_layout_insetEdge=5; + /** + *

+ * @attr description + * The index of a keyline this view should position relative to. + * android:layout_gravity will affect how the view aligns to the + * specified keyline. + * + *

May be an integer value, such as "100". + * + * @attr name reparto_izca.keymon.lat:layout_keyline + */ + public static final int CoordinatorLayout_Layout_layout_keyline=6; + /** + * Attributes that can be used with a DrawerLayout. + *

Includes the following attributes:

+ * + * + * + * + * + *
AttributeDescription
{@link #DrawerLayout_elevation reparto_izca.keymon.lat:elevation}
+ * @see #DrawerLayout_elevation + */ + public static final int[] DrawerLayout={ + 0x7f02000e + }; + /** + *

+ * @attr description + * The height difference between the drawer and the base surface. Only takes effect on API 21 and above + * + *

May be a dimension value, which is a floating point number appended with a + * unit such as "14.5sp". + * Available units are: px (pixels), dp (density-independent pixels), + * sp (scaled pixels based on preferred font size), in (inches), and + * mm (millimeters). + * + * @attr name reparto_izca.keymon.lat:elevation + */ + public static final int DrawerLayout_elevation=0; + /** + * Attributes that can be used with a FontFamily. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #FontFamily_fontProviderAuthority reparto_izca.keymon.lat:fontProviderAuthority}The authority of the Font Provider to be used for the request.
{@link #FontFamily_fontProviderCerts reparto_izca.keymon.lat:fontProviderCerts}The sets of hashes for the certificates the provider should be signed with.
{@link #FontFamily_fontProviderFetchStrategy reparto_izca.keymon.lat:fontProviderFetchStrategy}The strategy to be used when fetching font data from a font provider in XML layouts.
{@link #FontFamily_fontProviderFetchTimeout reparto_izca.keymon.lat:fontProviderFetchTimeout}The length of the timeout during fetching.
{@link #FontFamily_fontProviderPackage reparto_izca.keymon.lat:fontProviderPackage}The package for the Font Provider to be used for the request.
{@link #FontFamily_fontProviderQuery reparto_izca.keymon.lat:fontProviderQuery}The query to be sent over to the provider.
+ * @see #FontFamily_fontProviderAuthority + * @see #FontFamily_fontProviderCerts + * @see #FontFamily_fontProviderFetchStrategy + * @see #FontFamily_fontProviderFetchTimeout + * @see #FontFamily_fontProviderPackage + * @see #FontFamily_fontProviderQuery + */ + public static final int[] FontFamily={ + 0x7f020010, 0x7f020011, 0x7f020012, 0x7f020013, + 0x7f020014, 0x7f020015 + }; + /** + *

+ * @attr description + * The authority of the Font Provider to be used for the request. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_izca.keymon.lat:fontProviderAuthority + */ + public static final int FontFamily_fontProviderAuthority=0; + /** + *

+ * @attr description + * The sets of hashes for the certificates the provider should be signed with. This is + * used to verify the identity of the provider, and is only required if the provider is not + * part of the system image. This value may point to one list or a list of lists, where each + * individual list represents one collection of signature hashes. Refer to your font provider's + * documentation for these values. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name reparto_izca.keymon.lat:fontProviderCerts + */ + public static final int FontFamily_fontProviderCerts=1; + /** + *

+ * @attr description + * The strategy to be used when fetching font data from a font provider in XML layouts. + * This attribute is ignored when the resource is loaded from code, as it is equivalent to the + * choice of API between {@link + * androidx.core.content.res.ResourcesCompat#getFont(Context, int)} (blocking) and + * {@link + * androidx.core.content.res.ResourcesCompat#getFont(Context, int, FontCallback, Handler)} + * (async). + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + *
ConstantValueDescription
async1The async font fetch works as follows. + * First, check the local cache, then if the requeted font is not cached, trigger a + * request the font and continue with layout inflation. Once the font fetch succeeds, the + * target text view will be refreshed with the downloaded font data. The + * fontProviderFetchTimeout will be ignored if async loading is specified.
blocking0The blocking font fetch works as follows. + * First, check the local cache, then if the requested font is not cached, request the + * font from the provider and wait until it is finished. You can change the length of + * the timeout by modifying fontProviderFetchTimeout. If the timeout happens, the + * default typeface will be used instead.
+ * + * @attr name reparto_izca.keymon.lat:fontProviderFetchStrategy + */ + public static final int FontFamily_fontProviderFetchStrategy=2; + /** + *

+ * @attr description + * The length of the timeout during fetching. + * + *

May be an integer value, such as "100". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + *
ConstantValueDescription
foreverffffffffA special value for the timeout. In this case, the blocking font fetching will not + * timeout and wait until a reply is received from the font provider.
+ * + * @attr name reparto_izca.keymon.lat:fontProviderFetchTimeout + */ + public static final int FontFamily_fontProviderFetchTimeout=3; + /** + *

+ * @attr description + * The package for the Font Provider to be used for the request. This is used to verify + * the identity of the provider. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_izca.keymon.lat:fontProviderPackage + */ + public static final int FontFamily_fontProviderPackage=4; + /** + *

+ * @attr description + * The query to be sent over to the provider. Refer to your font provider's documentation + * on the format of this string. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_izca.keymon.lat:fontProviderQuery + */ + public static final int FontFamily_fontProviderQuery=5; + /** + * Attributes that can be used with a FontFamilyFont. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #FontFamilyFont_android_font android:font}
{@link #FontFamilyFont_android_fontWeight android:fontWeight}
{@link #FontFamilyFont_android_fontStyle android:fontStyle}
{@link #FontFamilyFont_android_ttcIndex android:ttcIndex}
{@link #FontFamilyFont_android_fontVariationSettings android:fontVariationSettings}
{@link #FontFamilyFont_font reparto_izca.keymon.lat:font}The reference to the font file to be used.
{@link #FontFamilyFont_fontStyle reparto_izca.keymon.lat:fontStyle}The style of the given font file.
{@link #FontFamilyFont_fontVariationSettings reparto_izca.keymon.lat:fontVariationSettings}The variation settings to be applied to the font.
{@link #FontFamilyFont_fontWeight reparto_izca.keymon.lat:fontWeight}The weight of the given font file.
{@link #FontFamilyFont_ttcIndex reparto_izca.keymon.lat:ttcIndex}The index of the font in the tcc font file.
+ * @see #FontFamilyFont_android_font + * @see #FontFamilyFont_android_fontWeight + * @see #FontFamilyFont_android_fontStyle + * @see #FontFamilyFont_android_ttcIndex + * @see #FontFamilyFont_android_fontVariationSettings + * @see #FontFamilyFont_font + * @see #FontFamilyFont_fontStyle + * @see #FontFamilyFont_fontVariationSettings + * @see #FontFamilyFont_fontWeight + * @see #FontFamilyFont_ttcIndex + */ + public static final int[] FontFamilyFont={ + 0x01010532, 0x01010533, 0x0101053f, 0x0101056f, + 0x01010570, 0x7f02000f, 0x7f020016, 0x7f020017, + 0x7f020018, 0x7f02002b + }; + /** + *

This symbol is the offset where the {@link android.R.attr#font} + * attribute's value can be found in the {@link #FontFamilyFont} array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name android:font + */ + public static final int FontFamilyFont_android_font=0; + /** + *

This symbol is the offset where the {@link android.R.attr#fontWeight} + * attribute's value can be found in the {@link #FontFamilyFont} array. + * + *

May be an integer value, such as "100". + * + * @attr name android:fontWeight + */ + public static final int FontFamilyFont_android_fontWeight=1; + /** + *

+ * @attr description + * References to the framework attrs + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + *
ConstantValueDescription
italic1
normal0
+ * + * @attr name android:fontStyle + */ + public static final int FontFamilyFont_android_fontStyle=2; + /** + *

This symbol is the offset where the {@link android.R.attr#ttcIndex} + * attribute's value can be found in the {@link #FontFamilyFont} array. + * + *

May be an integer value, such as "100". + * + * @attr name android:ttcIndex + */ + public static final int FontFamilyFont_android_ttcIndex=3; + /** + *

This symbol is the offset where the {@link android.R.attr#fontVariationSettings} + * attribute's value can be found in the {@link #FontFamilyFont} array. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name android:fontVariationSettings + */ + public static final int FontFamilyFont_android_fontVariationSettings=4; + /** + *

+ * @attr description + * The reference to the font file to be used. This should be a file in the res/font folder + * and should therefore have an R reference value. E.g. @font/myfont + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name reparto_izca.keymon.lat:font + */ + public static final int FontFamilyFont_font=5; + /** + *

+ * @attr description + * The style of the given font file. This will be used when the font is being loaded into + * the font stack and will override any style information in the font's header tables. If + * unspecified, the value in the font's header tables will be used. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + *
ConstantValueDescription
italic1
normal0
+ * + * @attr name reparto_izca.keymon.lat:fontStyle + */ + public static final int FontFamilyFont_fontStyle=6; + /** + *

+ * @attr description + * The variation settings to be applied to the font. The string should be in the following + * format: "'tag1' value1, 'tag2' value2, ...". If the default variation settings should be + * used, or the font used does not support variation settings, this attribute needs not be + * specified. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_izca.keymon.lat:fontVariationSettings + */ + public static final int FontFamilyFont_fontVariationSettings=7; + /** + *

+ * @attr description + * The weight of the given font file. This will be used when the font is being loaded into + * the font stack and will override any weight information in the font's header tables. Must + * be a positive number, a multiple of 100, and between 100 and 900, inclusive. The most + * common values are 400 for regular weight and 700 for bold weight. If unspecified, the value + * in the font's header tables will be used. + * + *

May be an integer value, such as "100". + * + * @attr name reparto_izca.keymon.lat:fontWeight + */ + public static final int FontFamilyFont_fontWeight=8; + /** + *

+ * @attr description + * The index of the font in the tcc font file. If the font file referenced is not in the + * tcc format, this attribute needs not be specified. + * + *

May be an integer value, such as "100". + * + * @attr name reparto_izca.keymon.lat:ttcIndex + */ + public static final int FontFamilyFont_ttcIndex=9; + /** + * Attributes that can be used with a Fragment. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + *
AttributeDescription
{@link #Fragment_android_name android:name}
{@link #Fragment_android_id android:id}
{@link #Fragment_android_tag android:tag}
+ * @see #Fragment_android_name + * @see #Fragment_android_id + * @see #Fragment_android_tag + */ + public static final int[] Fragment={ + 0x01010003, 0x010100d0, 0x010100d1 + }; + /** + *

This symbol is the offset where the {@link android.R.attr#name} + * attribute's value can be found in the {@link #Fragment} array. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name android:name + */ + public static final int Fragment_android_name=0; + /** + *

This symbol is the offset where the {@link android.R.attr#id} + * attribute's value can be found in the {@link #Fragment} array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name android:id + */ + public static final int Fragment_android_id=1; + /** + *

This symbol is the offset where the {@link android.R.attr#tag} + * attribute's value can be found in the {@link #Fragment} array. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name android:tag + */ + public static final int Fragment_android_tag=2; + /** + * Attributes that can be used with a FragmentContainerView. + *

Includes the following attributes:

+ * + * + * + * + * + * + *
AttributeDescription
{@link #FragmentContainerView_android_name android:name}
{@link #FragmentContainerView_android_tag android:tag}
+ * @see #FragmentContainerView_android_name + * @see #FragmentContainerView_android_tag + */ + public static final int[] FragmentContainerView={ + 0x01010003, 0x010100d1 + }; + /** + *

This symbol is the offset where the {@link android.R.attr#name} + * attribute's value can be found in the {@link #FragmentContainerView} array. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name android:name + */ + public static final int FragmentContainerView_android_name=0; + /** + *

This symbol is the offset where the {@link android.R.attr#tag} + * attribute's value can be found in the {@link #FragmentContainerView} array. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name android:tag + */ + public static final int FragmentContainerView_android_tag=1; + /** + * Attributes that can be used with a GradientColor. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #GradientColor_android_startColor android:startColor}
{@link #GradientColor_android_endColor android:endColor}
{@link #GradientColor_android_type android:type}
{@link #GradientColor_android_centerX android:centerX}
{@link #GradientColor_android_centerY android:centerY}
{@link #GradientColor_android_gradientRadius android:gradientRadius}
{@link #GradientColor_android_tileMode android:tileMode}
{@link #GradientColor_android_centerColor android:centerColor}
{@link #GradientColor_android_startX android:startX}
{@link #GradientColor_android_startY android:startY}
{@link #GradientColor_android_endX android:endX}
{@link #GradientColor_android_endY android:endY}
+ * @see #GradientColor_android_startColor + * @see #GradientColor_android_endColor + * @see #GradientColor_android_type + * @see #GradientColor_android_centerX + * @see #GradientColor_android_centerY + * @see #GradientColor_android_gradientRadius + * @see #GradientColor_android_tileMode + * @see #GradientColor_android_centerColor + * @see #GradientColor_android_startX + * @see #GradientColor_android_startY + * @see #GradientColor_android_endX + * @see #GradientColor_android_endY + */ + public static final int[] GradientColor={ + 0x0101019d, 0x0101019e, 0x010101a1, 0x010101a2, + 0x010101a3, 0x010101a4, 0x01010201, 0x0101020b, + 0x01010510, 0x01010511, 0x01010512, 0x01010513 + }; + /** + *

+ * @attr description + * Start color of the gradient. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name android:startColor + */ + public static final int GradientColor_android_startColor=0; + /** + *

+ * @attr description + * End color of the gradient. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name android:endColor + */ + public static final int GradientColor_android_endColor=1; + /** + *

+ * @attr description + * Type of gradient. The default type is linear. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
linear0
radial1
sweep2
+ * + * @attr name android:type + */ + public static final int GradientColor_android_type=2; + /** + *

+ * @attr description + * X coordinate of the center of the gradient within the path. + * + *

May be a floating point value, such as "1.2". + *

May be a fractional value, which is a floating point number appended with + * either % or %p, such as "14.5%". + * The % suffix always means a percentage of the base size; + * the optional %p suffix provides a size relative to some parent container. + * + * @attr name android:centerX + */ + public static final int GradientColor_android_centerX=3; + /** + *

+ * @attr description + * Y coordinate of the center of the gradient within the path. + * + *

May be a floating point value, such as "1.2". + *

May be a fractional value, which is a floating point number appended with + * either % or %p, such as "14.5%". + * The % suffix always means a percentage of the base size; + * the optional %p suffix provides a size relative to some parent container. + * + * @attr name android:centerY + */ + public static final int GradientColor_android_centerY=4; + /** + *

+ * @attr description + * Radius of the gradient, used only with radial gradient. + * + *

May be a floating point value, such as "1.2". + *

May be a dimension value, which is a floating point number appended with a + * unit such as "14.5sp". + * Available units are: px (pixels), dp (density-independent pixels), + * sp (scaled pixels based on preferred font size), in (inches), and + * mm (millimeters). + *

May be a fractional value, which is a floating point number appended with + * either % or %p, such as "14.5%". + * The % suffix always means a percentage of the base size; + * the optional %p suffix provides a size relative to some parent container. + * + * @attr name android:gradientRadius + */ + public static final int GradientColor_android_gradientRadius=5; + /** + *

+ * @attr description + * Defines the tile mode of the gradient. SweepGradient doesn't support tiling. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
clamp0
disabledffffffff
mirror2
repeat1
+ * + * @attr name android:tileMode + */ + public static final int GradientColor_android_tileMode=6; + /** + *

+ * @attr description + * Optional center color. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name android:centerColor + */ + public static final int GradientColor_android_centerColor=7; + /** + *

+ * @attr description + * X coordinate of the start point origin of the gradient. + * Defined in same coordinates as the path itself + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:startX + */ + public static final int GradientColor_android_startX=8; + /** + *

+ * @attr description + * Y coordinate of the start point of the gradient within the shape. + * Defined in same coordinates as the path itself + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:startY + */ + public static final int GradientColor_android_startY=9; + /** + *

+ * @attr description + * X coordinate of the end point origin of the gradient. + * Defined in same coordinates as the path itself + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:endX + */ + public static final int GradientColor_android_endX=10; + /** + *

+ * @attr description + * Y coordinate of the end point of the gradient within the shape. + * Defined in same coordinates as the path itself + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:endY + */ + public static final int GradientColor_android_endY=11; + /** + * Attributes that can be used with a GradientColorItem. + *

Includes the following attributes:

+ * + * + * + * + * + * + *
AttributeDescription
{@link #GradientColorItem_android_color android:color}
{@link #GradientColorItem_android_offset android:offset}
+ * @see #GradientColorItem_android_color + * @see #GradientColorItem_android_offset + */ + public static final int[] GradientColorItem={ + 0x010101a5, 0x01010514 + }; + /** + *

+ * @attr description + * The current color for the offset inside the gradient. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name android:color + */ + public static final int GradientColorItem_android_color=0; + /** + *

+ * @attr description + * The offset (or ratio) of this current color item inside the gradient. + * The value is only meaningful when it is between 0 and 1. + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:offset + */ + public static final int GradientColorItem_android_offset=1; + /** + * Attributes that can be used with a LoadingImageView. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + *
AttributeDescription
{@link #LoadingImageView_circleCrop reparto_izca.keymon.lat:circleCrop}
{@link #LoadingImageView_imageAspectRatio reparto_izca.keymon.lat:imageAspectRatio}
{@link #LoadingImageView_imageAspectRatioAdjust reparto_izca.keymon.lat:imageAspectRatioAdjust}
+ * @see #LoadingImageView_circleCrop + * @see #LoadingImageView_imageAspectRatio + * @see #LoadingImageView_imageAspectRatioAdjust + */ + public static final int[] LoadingImageView={ + 0x7f02000a, 0x7f020019, 0x7f02001a + }; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#circleCrop} + * attribute's value can be found in the {@link #LoadingImageView} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:circleCrop + */ + public static final int LoadingImageView_circleCrop=0; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#imageAspectRatio} + * attribute's value can be found in the {@link #LoadingImageView} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:imageAspectRatio + */ + public static final int LoadingImageView_imageAspectRatio=1; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#imageAspectRatioAdjust} + * attribute's value can be found in the {@link #LoadingImageView} array. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
adjust_height2
adjust_width1
none0
+ * + * @attr name reparto_izca.keymon.lat:imageAspectRatioAdjust + */ + public static final int LoadingImageView_imageAspectRatioAdjust=2; + /** + * Attributes that can be used with a MapAttrs. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #MapAttrs_ambientEnabled reparto_izca.keymon.lat:ambientEnabled}
{@link #MapAttrs_cameraBearing reparto_izca.keymon.lat:cameraBearing}
{@link #MapAttrs_cameraMaxZoomPreference reparto_izca.keymon.lat:cameraMaxZoomPreference}
{@link #MapAttrs_cameraMinZoomPreference reparto_izca.keymon.lat:cameraMinZoomPreference}
{@link #MapAttrs_cameraTargetLat reparto_izca.keymon.lat:cameraTargetLat}
{@link #MapAttrs_cameraTargetLng reparto_izca.keymon.lat:cameraTargetLng}
{@link #MapAttrs_cameraTilt reparto_izca.keymon.lat:cameraTilt}
{@link #MapAttrs_cameraZoom reparto_izca.keymon.lat:cameraZoom}
{@link #MapAttrs_latLngBoundsNorthEastLatitude reparto_izca.keymon.lat:latLngBoundsNorthEastLatitude}
{@link #MapAttrs_latLngBoundsNorthEastLongitude reparto_izca.keymon.lat:latLngBoundsNorthEastLongitude}
{@link #MapAttrs_latLngBoundsSouthWestLatitude reparto_izca.keymon.lat:latLngBoundsSouthWestLatitude}
{@link #MapAttrs_latLngBoundsSouthWestLongitude reparto_izca.keymon.lat:latLngBoundsSouthWestLongitude}
{@link #MapAttrs_liteMode reparto_izca.keymon.lat:liteMode}
{@link #MapAttrs_mapType reparto_izca.keymon.lat:mapType}
{@link #MapAttrs_uiCompass reparto_izca.keymon.lat:uiCompass}
{@link #MapAttrs_uiMapToolbar reparto_izca.keymon.lat:uiMapToolbar}
{@link #MapAttrs_uiRotateGestures reparto_izca.keymon.lat:uiRotateGestures}
{@link #MapAttrs_uiScrollGestures reparto_izca.keymon.lat:uiScrollGestures}
{@link #MapAttrs_uiScrollGesturesDuringRotateOrZoom reparto_izca.keymon.lat:uiScrollGesturesDuringRotateOrZoom}
{@link #MapAttrs_uiTiltGestures reparto_izca.keymon.lat:uiTiltGestures}
{@link #MapAttrs_uiZoomControls reparto_izca.keymon.lat:uiZoomControls}
{@link #MapAttrs_uiZoomGestures reparto_izca.keymon.lat:uiZoomGestures}
{@link #MapAttrs_useViewLifecycle reparto_izca.keymon.lat:useViewLifecycle}
{@link #MapAttrs_zOrderOnTop reparto_izca.keymon.lat:zOrderOnTop}
+ * @see #MapAttrs_ambientEnabled + * @see #MapAttrs_cameraBearing + * @see #MapAttrs_cameraMaxZoomPreference + * @see #MapAttrs_cameraMinZoomPreference + * @see #MapAttrs_cameraTargetLat + * @see #MapAttrs_cameraTargetLng + * @see #MapAttrs_cameraTilt + * @see #MapAttrs_cameraZoom + * @see #MapAttrs_latLngBoundsNorthEastLatitude + * @see #MapAttrs_latLngBoundsNorthEastLongitude + * @see #MapAttrs_latLngBoundsSouthWestLatitude + * @see #MapAttrs_latLngBoundsSouthWestLongitude + * @see #MapAttrs_liteMode + * @see #MapAttrs_mapType + * @see #MapAttrs_uiCompass + * @see #MapAttrs_uiMapToolbar + * @see #MapAttrs_uiRotateGestures + * @see #MapAttrs_uiScrollGestures + * @see #MapAttrs_uiScrollGesturesDuringRotateOrZoom + * @see #MapAttrs_uiTiltGestures + * @see #MapAttrs_uiZoomControls + * @see #MapAttrs_uiZoomGestures + * @see #MapAttrs_useViewLifecycle + * @see #MapAttrs_zOrderOnTop + */ + public static final int[] MapAttrs={ + 0x7f020001, 0x7f020003, 0x7f020004, 0x7f020005, + 0x7f020006, 0x7f020007, 0x7f020008, 0x7f020009, + 0x7f02001c, 0x7f02001d, 0x7f02001e, 0x7f02001f, + 0x7f020026, 0x7f020027, 0x7f02002c, 0x7f02002d, + 0x7f02002e, 0x7f02002f, 0x7f020030, 0x7f020031, + 0x7f020032, 0x7f020033, 0x7f020034, 0x7f020035 + }; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#ambientEnabled} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:ambientEnabled + */ + public static final int MapAttrs_ambientEnabled=0; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#cameraBearing} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:cameraBearing + */ + public static final int MapAttrs_cameraBearing=1; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#cameraMaxZoomPreference} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:cameraMaxZoomPreference + */ + public static final int MapAttrs_cameraMaxZoomPreference=2; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#cameraMinZoomPreference} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:cameraMinZoomPreference + */ + public static final int MapAttrs_cameraMinZoomPreference=3; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#cameraTargetLat} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:cameraTargetLat + */ + public static final int MapAttrs_cameraTargetLat=4; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#cameraTargetLng} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:cameraTargetLng + */ + public static final int MapAttrs_cameraTargetLng=5; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#cameraTilt} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:cameraTilt + */ + public static final int MapAttrs_cameraTilt=6; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#cameraZoom} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:cameraZoom + */ + public static final int MapAttrs_cameraZoom=7; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#latLngBoundsNorthEastLatitude} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:latLngBoundsNorthEastLatitude + */ + public static final int MapAttrs_latLngBoundsNorthEastLatitude=8; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#latLngBoundsNorthEastLongitude} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:latLngBoundsNorthEastLongitude + */ + public static final int MapAttrs_latLngBoundsNorthEastLongitude=9; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#latLngBoundsSouthWestLatitude} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:latLngBoundsSouthWestLatitude + */ + public static final int MapAttrs_latLngBoundsSouthWestLatitude=10; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#latLngBoundsSouthWestLongitude} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:latLngBoundsSouthWestLongitude + */ + public static final int MapAttrs_latLngBoundsSouthWestLongitude=11; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#liteMode} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:liteMode + */ + public static final int MapAttrs_liteMode=12; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#mapType} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
hybrid4
none0
normal1
satellite2
terrain3
+ * + * @attr name reparto_izca.keymon.lat:mapType + */ + public static final int MapAttrs_mapType=13; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiCompass} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiCompass + */ + public static final int MapAttrs_uiCompass=14; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiMapToolbar} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiMapToolbar + */ + public static final int MapAttrs_uiMapToolbar=15; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiRotateGestures} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiRotateGestures + */ + public static final int MapAttrs_uiRotateGestures=16; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiScrollGestures} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiScrollGestures + */ + public static final int MapAttrs_uiScrollGestures=17; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiScrollGesturesDuringRotateOrZoom} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiScrollGesturesDuringRotateOrZoom + */ + public static final int MapAttrs_uiScrollGesturesDuringRotateOrZoom=18; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiTiltGestures} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiTiltGestures + */ + public static final int MapAttrs_uiTiltGestures=19; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiZoomControls} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiZoomControls + */ + public static final int MapAttrs_uiZoomControls=20; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiZoomGestures} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiZoomGestures + */ + public static final int MapAttrs_uiZoomGestures=21; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#useViewLifecycle} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:useViewLifecycle + */ + public static final int MapAttrs_useViewLifecycle=22; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#zOrderOnTop} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:zOrderOnTop + */ + public static final int MapAttrs_zOrderOnTop=23; + /** + * Attributes that can be used with a SignInButton. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + *
AttributeDescription
{@link #SignInButton_buttonSize reparto_izca.keymon.lat:buttonSize}
{@link #SignInButton_colorScheme reparto_izca.keymon.lat:colorScheme}
{@link #SignInButton_scopeUris reparto_izca.keymon.lat:scopeUris}
+ * @see #SignInButton_buttonSize + * @see #SignInButton_colorScheme + * @see #SignInButton_scopeUris + */ + public static final int[] SignInButton={ + 0x7f020002, 0x7f02000b, 0x7f020028 + }; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#buttonSize} + * attribute's value can be found in the {@link #SignInButton} array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
icon_only2
standard0
wide1
+ * + * @attr name reparto_izca.keymon.lat:buttonSize + */ + public static final int SignInButton_buttonSize=0; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#colorScheme} + * attribute's value can be found in the {@link #SignInButton} array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
auto2
dark0
light1
+ * + * @attr name reparto_izca.keymon.lat:colorScheme + */ + public static final int SignInButton_colorScheme=1; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#scopeUris} + * attribute's value can be found in the {@link #SignInButton} array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_izca.keymon.lat:scopeUris + */ + public static final int SignInButton_scopeUris=2; + /** + * Attributes that can be used with a SwipeRefreshLayout. + *

Includes the following attributes:

+ * + * + * + * + * + *
AttributeDescription
{@link #SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor reparto_izca.keymon.lat:swipeRefreshLayoutProgressSpinnerBackgroundColor}Background color for SwipeRefreshLayout progress spinner.
+ * @see #SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor + */ + public static final int[] SwipeRefreshLayout={ + 0x7f02002a + }; + /** + *

+ * @attr description + * Background color for SwipeRefreshLayout progress spinner. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name reparto_izca.keymon.lat:swipeRefreshLayoutProgressSpinnerBackgroundColor + */ + public static final int SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor=0; + } + public static final class xml { + public static final int provider_paths=0x7f0c0000; + } +} \ No newline at end of file diff --git a/B4A/Objects/gen/com/google/android/gms/common/R.java b/B4A/Objects/gen/com/google/android/gms/common/R.java new file mode 100644 index 0000000..3f45e4f --- /dev/null +++ b/B4A/Objects/gen/com/google/android/gms/common/R.java @@ -0,0 +1,2121 @@ +/* AUTO-GENERATED FILE. DO NOT MODIFY. + * + * This class was automatically generated by the + * aapt tool from the resource data it found. It + * should not be modified by hand. + */ + +package com.google.android.gms.common; + +public final class R { + public static final class anim { + public static final int fragment_close_enter=0x7f010000; + public static final int fragment_close_exit=0x7f010001; + public static final int fragment_fade_enter=0x7f010002; + public static final int fragment_fade_exit=0x7f010003; + public static final int fragment_fast_out_extra_slow_in=0x7f010004; + public static final int fragment_open_enter=0x7f010005; + public static final int fragment_open_exit=0x7f010006; + } + public static final class attr { + /** + * Alpha multiplier applied to the base color. + *

May be a floating point value, such as "1.2". + */ + public static final int alpha=0x7f020000; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int ambientEnabled=0x7f020001; + /** + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
icon_only2
standard0
wide1
+ */ + public static final int buttonSize=0x7f020002; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraBearing=0x7f020003; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraMaxZoomPreference=0x7f020004; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraMinZoomPreference=0x7f020005; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraTargetLat=0x7f020006; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraTargetLng=0x7f020007; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraTilt=0x7f020008; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraZoom=0x7f020009; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int circleCrop=0x7f02000a; + /** + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
auto2
dark0
light1
+ */ + public static final int colorScheme=0x7f02000b; + /** + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int coordinatorLayoutStyle=0x7f02000c; + /** + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int drawerLayoutStyle=0x7f02000d; + /** + *

May be a dimension value, which is a floating point number appended with a + * unit such as "14.5sp". + * Available units are: px (pixels), dp (density-independent pixels), + * sp (scaled pixels based on preferred font size), in (inches), and + * mm (millimeters). + */ + public static final int elevation=0x7f02000e; + /** + * The reference to the font file to be used. This should be a file in the res/font folder + * and should therefore have an R reference value. E.g. @font/myfont + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int font=0x7f02000f; + /** + * The authority of the Font Provider to be used for the request. + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int fontProviderAuthority=0x7f020010; + /** + * The sets of hashes for the certificates the provider should be signed with. This is + * used to verify the identity of the provider, and is only required if the provider is not + * part of the system image. This value may point to one list or a list of lists, where each + * individual list represents one collection of signature hashes. Refer to your font provider's + * documentation for these values. + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int fontProviderCerts=0x7f020011; + /** + * The strategy to be used when fetching font data from a font provider in XML layouts. + * This attribute is ignored when the resource is loaded from code, as it is equivalent to the + * choice of API between {@link + * androidx.core.content.res.ResourcesCompat#getFont(Context, int)} (blocking) and + * {@link + * androidx.core.content.res.ResourcesCompat#getFont(Context, int, FontCallback, Handler)} + * (async). + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + *
ConstantValueDescription
async1The async font fetch works as follows. + * First, check the local cache, then if the requeted font is not cached, trigger a + * request the font and continue with layout inflation. Once the font fetch succeeds, the + * target text view will be refreshed with the downloaded font data. The + * fontProviderFetchTimeout will be ignored if async loading is specified.
blocking0The blocking font fetch works as follows. + * First, check the local cache, then if the requested font is not cached, request the + * font from the provider and wait until it is finished. You can change the length of + * the timeout by modifying fontProviderFetchTimeout. If the timeout happens, the + * default typeface will be used instead.
+ */ + public static final int fontProviderFetchStrategy=0x7f020012; + /** + * The length of the timeout during fetching. + *

May be an integer value, such as "100". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + *
ConstantValueDescription
foreverffffffffA special value for the timeout. In this case, the blocking font fetching will not + * timeout and wait until a reply is received from the font provider.
+ */ + public static final int fontProviderFetchTimeout=0x7f020013; + /** + * The package for the Font Provider to be used for the request. This is used to verify + * the identity of the provider. + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int fontProviderPackage=0x7f020014; + /** + * The query to be sent over to the provider. Refer to your font provider's documentation + * on the format of this string. + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int fontProviderQuery=0x7f020015; + /** + * The style of the given font file. This will be used when the font is being loaded into + * the font stack and will override any style information in the font's header tables. If + * unspecified, the value in the font's header tables will be used. + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + *
ConstantValueDescription
italic1
normal0
+ */ + public static final int fontStyle=0x7f020016; + /** + * The variation settings to be applied to the font. The string should be in the following + * format: "'tag1' value1, 'tag2' value2, ...". If the default variation settings should be + * used, or the font used does not support variation settings, this attribute needs not be + * specified. + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int fontVariationSettings=0x7f020017; + /** + * The weight of the given font file. This will be used when the font is being loaded into + * the font stack and will override any weight information in the font's header tables. Must + * be a positive number, a multiple of 100, and between 100 and 900, inclusive. The most + * common values are 400 for regular weight and 700 for bold weight. If unspecified, the value + * in the font's header tables will be used. + *

May be an integer value, such as "100". + */ + public static final int fontWeight=0x7f020018; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int imageAspectRatio=0x7f020019; + /** + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
adjust_height2
adjust_width1
none0
+ */ + public static final int imageAspectRatioAdjust=0x7f02001a; + /** + * A reference to an array of integers representing the + * locations of horizontal keylines in dp from the starting edge. + * Child views can refer to these keylines for alignment using + * layout_keyline="index" where index is a 0-based index into + * this array. + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int keylines=0x7f02001b; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int latLngBoundsNorthEastLatitude=0x7f02001c; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int latLngBoundsNorthEastLongitude=0x7f02001d; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int latLngBoundsSouthWestLatitude=0x7f02001e; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int latLngBoundsSouthWestLongitude=0x7f02001f; + /** + * The id of an anchor view that this view should position relative to. + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int layout_anchor=0x7f020020; + /** + * Specifies how an object should position relative to an anchor, on both the X and Y axes, + * within its parent's bounds. + *

Must be one or more (separated by '|') of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
bottom50Push object to the bottom of its container, not changing its size.
center11Place the object in the center of its container in both the vertical and horizontal axis, not changing its size.
center_horizontal1Place object in the horizontal center of its container, not changing its size.
center_vertical10Place object in the vertical center of its container, not changing its size.
clip_horizontal8Additional option that can be set to have the left and/or right edges of + * the child clipped to its container's bounds. + * The clip will be based on the horizontal gravity: a left gravity will clip the right + * edge, a right gravity will clip the left edge, and neither will clip both edges.
clip_vertical80Additional option that can be set to have the top and/or bottom edges of + * the child clipped to its container's bounds. + * The clip will be based on the vertical gravity: a top gravity will clip the bottom + * edge, a bottom gravity will clip the top edge, and neither will clip both edges.
end800005Push object to the end of its container, not changing its size.
fill77Grow the horizontal and vertical size of the object if needed so it completely fills its container.
fill_horizontal7Grow the horizontal size of the object if needed so it completely fills its container.
fill_vertical70Grow the vertical size of the object if needed so it completely fills its container.
left3Push object to the left of its container, not changing its size.
right5Push object to the right of its container, not changing its size.
start800003Push object to the beginning of its container, not changing its size.
top30Push object to the top of its container, not changing its size.
+ */ + public static final int layout_anchorGravity=0x7f020021; + /** + * The class name of a Behavior class defining special runtime behavior + * for this child view. + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int layout_behavior=0x7f020022; + /** + * Specifies how this view dodges the inset edges of the CoordinatorLayout. + *

Must be one or more (separated by '|') of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
all77Dodge all the inset edges.
bottom50Dodge the bottom inset edge.
end800005Dodge the end inset edge.
left3Dodge the left inset edge.
none0Don't dodge any edges
right5Dodge the right inset edge.
start800003Dodge the start inset edge.
top30Dodge the top inset edge.
+ */ + public static final int layout_dodgeInsetEdges=0x7f020023; + /** + * Specifies how this view insets the CoordinatorLayout and make some other views + * dodge it. + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
bottom50Inset the bottom edge.
end800005Inset the end edge.
left3Inset the left edge.
none0Don't inset.
right5Inset the right edge.
start800003Inset the start edge.
top30Inset the top edge.
+ */ + public static final int layout_insetEdge=0x7f020024; + /** + * The index of a keyline this view should position relative to. + * android:layout_gravity will affect how the view aligns to the + * specified keyline. + *

May be an integer value, such as "100". + */ + public static final int layout_keyline=0x7f020025; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int liteMode=0x7f020026; + /** + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
hybrid4
none0
normal1
satellite2
terrain3
+ */ + public static final int mapType=0x7f020027; + /** + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int scopeUris=0x7f020028; + /** + * Drawable to display behind the status bar when the view is set to draw behind it. + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + */ + public static final int statusBarBackground=0x7f020029; + /** + * Background color for SwipeRefreshLayout progress spinner. + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + */ + public static final int swipeRefreshLayoutProgressSpinnerBackgroundColor=0x7f02002a; + /** + * The index of the font in the tcc font file. If the font file referenced is not in the + * tcc format, this attribute needs not be specified. + *

May be an integer value, such as "100". + */ + public static final int ttcIndex=0x7f02002b; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiCompass=0x7f02002c; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiMapToolbar=0x7f02002d; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiRotateGestures=0x7f02002e; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiScrollGestures=0x7f02002f; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiScrollGesturesDuringRotateOrZoom=0x7f020030; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiTiltGestures=0x7f020031; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiZoomControls=0x7f020032; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiZoomGestures=0x7f020033; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int useViewLifecycle=0x7f020034; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int zOrderOnTop=0x7f020035; + } + public static final class color { + public static final int androidx_core_ripple_material_light=0x7f030000; + public static final int androidx_core_secondary_text_default_material_light=0x7f030001; + public static final int common_google_signin_btn_text_dark=0x7f030002; + public static final int common_google_signin_btn_text_dark_default=0x7f030003; + public static final int common_google_signin_btn_text_dark_disabled=0x7f030004; + public static final int common_google_signin_btn_text_dark_focused=0x7f030005; + public static final int common_google_signin_btn_text_dark_pressed=0x7f030006; + public static final int common_google_signin_btn_text_light=0x7f030007; + public static final int common_google_signin_btn_text_light_default=0x7f030008; + public static final int common_google_signin_btn_text_light_disabled=0x7f030009; + public static final int common_google_signin_btn_text_light_focused=0x7f03000a; + public static final int common_google_signin_btn_text_light_pressed=0x7f03000b; + public static final int common_google_signin_btn_tint=0x7f03000c; + public static final int notification_action_color_filter=0x7f03000d; + public static final int notification_icon_bg_color=0x7f03000e; + public static final int notification_material_background_media_default_color=0x7f03000f; + public static final int primary_text_default_material_dark=0x7f030010; + public static final int secondary_text_default_material_dark=0x7f030011; + } + public static final class dimen { + public static final int compat_button_inset_horizontal_material=0x7f040000; + public static final int compat_button_inset_vertical_material=0x7f040001; + public static final int compat_button_padding_horizontal_material=0x7f040002; + public static final int compat_button_padding_vertical_material=0x7f040003; + public static final int compat_control_corner_material=0x7f040004; + public static final int compat_notification_large_icon_max_height=0x7f040005; + public static final int compat_notification_large_icon_max_width=0x7f040006; + public static final int def_drawer_elevation=0x7f040007; + public static final int notification_action_icon_size=0x7f040008; + public static final int notification_action_text_size=0x7f040009; + public static final int notification_big_circle_margin=0x7f04000a; + public static final int notification_content_margin_start=0x7f04000b; + public static final int notification_large_icon_height=0x7f04000c; + public static final int notification_large_icon_width=0x7f04000d; + public static final int notification_main_column_padding_top=0x7f04000e; + public static final int notification_media_narrow_margin=0x7f04000f; + public static final int notification_right_icon_size=0x7f040010; + public static final int notification_right_side_padding_top=0x7f040011; + public static final int notification_small_icon_background_padding=0x7f040012; + public static final int notification_small_icon_size_as_large=0x7f040013; + public static final int notification_subtext_size=0x7f040014; + public static final int notification_top_pad=0x7f040015; + public static final int notification_top_pad_large_text=0x7f040016; + public static final int subtitle_corner_radius=0x7f040017; + public static final int subtitle_outline_width=0x7f040018; + public static final int subtitle_shadow_offset=0x7f040019; + public static final int subtitle_shadow_radius=0x7f04001a; + } + public static final class drawable { + public static final int common_full_open_on_phone=0x7f050000; + public static final int common_google_signin_btn_icon_dark=0x7f050001; + public static final int common_google_signin_btn_icon_dark_focused=0x7f050002; + public static final int common_google_signin_btn_icon_dark_normal=0x7f050003; + public static final int common_google_signin_btn_icon_dark_normal_background=0x7f050004; + public static final int common_google_signin_btn_icon_disabled=0x7f050005; + public static final int common_google_signin_btn_icon_light=0x7f050006; + public static final int common_google_signin_btn_icon_light_focused=0x7f050007; + public static final int common_google_signin_btn_icon_light_normal=0x7f050008; + public static final int common_google_signin_btn_icon_light_normal_background=0x7f050009; + public static final int common_google_signin_btn_text_dark=0x7f05000a; + public static final int common_google_signin_btn_text_dark_focused=0x7f05000b; + public static final int common_google_signin_btn_text_dark_normal=0x7f05000c; + public static final int common_google_signin_btn_text_dark_normal_background=0x7f05000d; + public static final int common_google_signin_btn_text_disabled=0x7f05000e; + public static final int common_google_signin_btn_text_light=0x7f05000f; + public static final int common_google_signin_btn_text_light_focused=0x7f050010; + public static final int common_google_signin_btn_text_light_normal=0x7f050011; + public static final int common_google_signin_btn_text_light_normal_background=0x7f050012; + public static final int googleg_disabled_color_18=0x7f050013; + public static final int googleg_standard_color_18=0x7f050014; + public static final int icon=0x7f050015; + public static final int notification_action_background=0x7f050016; + public static final int notification_bg=0x7f050017; + public static final int notification_bg_low=0x7f050018; + public static final int notification_bg_low_normal=0x7f050019; + public static final int notification_bg_low_pressed=0x7f05001a; + public static final int notification_bg_normal=0x7f05001b; + public static final int notification_bg_normal_pressed=0x7f05001c; + public static final int notification_icon_background=0x7f05001d; + public static final int notification_template_icon_bg=0x7f05001e; + public static final int notification_template_icon_low_bg=0x7f05001f; + public static final int notification_tile_bg=0x7f050020; + public static final int notify_panel_notification_icon_bg=0x7f050021; + } + public static final class id { + public static final int accessibility_action_clickable_span=0x7f060000; + public static final int accessibility_custom_action_0=0x7f060001; + public static final int accessibility_custom_action_1=0x7f060002; + public static final int accessibility_custom_action_10=0x7f060003; + public static final int accessibility_custom_action_11=0x7f060004; + public static final int accessibility_custom_action_12=0x7f060005; + public static final int accessibility_custom_action_13=0x7f060006; + public static final int accessibility_custom_action_14=0x7f060007; + public static final int accessibility_custom_action_15=0x7f060008; + public static final int accessibility_custom_action_16=0x7f060009; + public static final int accessibility_custom_action_17=0x7f06000a; + public static final int accessibility_custom_action_18=0x7f06000b; + public static final int accessibility_custom_action_19=0x7f06000c; + public static final int accessibility_custom_action_2=0x7f06000d; + public static final int accessibility_custom_action_20=0x7f06000e; + public static final int accessibility_custom_action_21=0x7f06000f; + public static final int accessibility_custom_action_22=0x7f060010; + public static final int accessibility_custom_action_23=0x7f060011; + public static final int accessibility_custom_action_24=0x7f060012; + public static final int accessibility_custom_action_25=0x7f060013; + public static final int accessibility_custom_action_26=0x7f060014; + public static final int accessibility_custom_action_27=0x7f060015; + public static final int accessibility_custom_action_28=0x7f060016; + public static final int accessibility_custom_action_29=0x7f060017; + public static final int accessibility_custom_action_3=0x7f060018; + public static final int accessibility_custom_action_30=0x7f060019; + public static final int accessibility_custom_action_31=0x7f06001a; + public static final int accessibility_custom_action_4=0x7f06001b; + public static final int accessibility_custom_action_5=0x7f06001c; + public static final int accessibility_custom_action_6=0x7f06001d; + public static final int accessibility_custom_action_7=0x7f06001e; + public static final int accessibility_custom_action_8=0x7f06001f; + public static final int accessibility_custom_action_9=0x7f060020; + public static final int action0=0x7f060021; + public static final int action_container=0x7f060022; + public static final int action_divider=0x7f060023; + public static final int action_image=0x7f060024; + public static final int action_text=0x7f060025; + public static final int actions=0x7f060026; + public static final int adjust_height=0x7f060027; + public static final int adjust_width=0x7f060028; + public static final int all=0x7f060029; + public static final int async=0x7f06002a; + public static final int auto=0x7f06002b; + public static final int blocking=0x7f06002c; + public static final int bottom=0x7f06002d; + public static final int cancel_action=0x7f06002e; + public static final int center=0x7f06002f; + public static final int center_horizontal=0x7f060030; + public static final int center_vertical=0x7f060031; + public static final int chronometer=0x7f060032; + public static final int clip_horizontal=0x7f060033; + public static final int clip_vertical=0x7f060034; + public static final int dark=0x7f060035; + public static final int dialog_button=0x7f060036; + public static final int end=0x7f060037; + public static final int end_padder=0x7f060038; + public static final int fill=0x7f060039; + public static final int fill_horizontal=0x7f06003a; + public static final int fill_vertical=0x7f06003b; + public static final int forever=0x7f06003c; + public static final int fragment_container_view_tag=0x7f06003d; + public static final int hybrid=0x7f06003e; + public static final int icon=0x7f06003f; + public static final int icon_group=0x7f060040; + public static final int icon_only=0x7f060041; + public static final int info=0x7f060042; + public static final int italic=0x7f060043; + public static final int left=0x7f060044; + public static final int light=0x7f060045; + public static final int line1=0x7f060046; + public static final int line3=0x7f060047; + public static final int media_actions=0x7f060048; + public static final int none=0x7f060049; + public static final int normal=0x7f06004a; + public static final int notification_background=0x7f06004b; + public static final int notification_main_column=0x7f06004c; + public static final int notification_main_column_container=0x7f06004d; + public static final int right=0x7f06004e; + public static final int right_icon=0x7f06004f; + public static final int right_side=0x7f060050; + public static final int satellite=0x7f060051; + public static final int standard=0x7f060052; + public static final int start=0x7f060053; + public static final int status_bar_latest_event_content=0x7f060054; + public static final int tag_accessibility_actions=0x7f060055; + public static final int tag_accessibility_clickable_spans=0x7f060056; + public static final int tag_accessibility_heading=0x7f060057; + public static final int tag_accessibility_pane_title=0x7f060058; + public static final int tag_screen_reader_focusable=0x7f060059; + public static final int tag_transition_group=0x7f06005a; + public static final int tag_unhandled_key_event_manager=0x7f06005b; + public static final int tag_unhandled_key_listeners=0x7f06005c; + public static final int terrain=0x7f06005d; + public static final int text=0x7f06005e; + public static final int text2=0x7f06005f; + public static final int time=0x7f060060; + public static final int title=0x7f060061; + public static final int top=0x7f060062; + public static final int visible_removing_fragment_view_tag=0x7f060063; + public static final int wide=0x7f060064; + } + public static final class integer { + public static final int cancel_button_image_alpha=0x7f070000; + public static final int google_play_services_version=0x7f070001; + public static final int status_bar_notification_info_maxnum=0x7f070002; + } + public static final class layout { + public static final int custom_dialog=0x7f080000; + public static final int notification_action=0x7f080001; + public static final int notification_action_tombstone=0x7f080002; + public static final int notification_media_action=0x7f080003; + public static final int notification_media_cancel_action=0x7f080004; + public static final int notification_template_big_media=0x7f080005; + public static final int notification_template_big_media_custom=0x7f080006; + public static final int notification_template_big_media_narrow=0x7f080007; + public static final int notification_template_big_media_narrow_custom=0x7f080008; + public static final int notification_template_custom_big=0x7f080009; + public static final int notification_template_icon_group=0x7f08000a; + public static final int notification_template_lines_media=0x7f08000b; + public static final int notification_template_media=0x7f08000c; + public static final int notification_template_media_custom=0x7f08000d; + public static final int notification_template_part_chronometer=0x7f08000e; + public static final int notification_template_part_time=0x7f08000f; + } + public static final class string { + public static final int common_google_play_services_enable_button=0x7f090000; + public static final int common_google_play_services_enable_text=0x7f090001; + public static final int common_google_play_services_enable_title=0x7f090002; + public static final int common_google_play_services_install_button=0x7f090003; + public static final int common_google_play_services_install_text=0x7f090004; + public static final int common_google_play_services_install_title=0x7f090005; + public static final int common_google_play_services_notification_channel_name=0x7f090006; + public static final int common_google_play_services_notification_ticker=0x7f090007; + public static final int common_google_play_services_unknown_issue=0x7f090008; + public static final int common_google_play_services_unsupported_text=0x7f090009; + public static final int common_google_play_services_update_button=0x7f09000a; + public static final int common_google_play_services_update_text=0x7f09000b; + public static final int common_google_play_services_update_title=0x7f09000c; + public static final int common_google_play_services_updating_text=0x7f09000d; + public static final int common_google_play_services_wear_update_text=0x7f09000e; + public static final int common_open_on_phone=0x7f09000f; + public static final int common_signin_button_text=0x7f090010; + public static final int common_signin_button_text_long=0x7f090011; + public static final int status_bar_notification_info_overflow=0x7f090012; + } + public static final class style { + public static final int LightTheme=0x7f0a0000; + public static final int LowerCaseMenu=0x7f0a0001; + public static final int TextAppearance_Compat_Notification=0x7f0a0002; + public static final int TextAppearance_Compat_Notification_Info=0x7f0a0003; + public static final int TextAppearance_Compat_Notification_Info_Media=0x7f0a0004; + public static final int TextAppearance_Compat_Notification_Line2=0x7f0a0005; + public static final int TextAppearance_Compat_Notification_Line2_Media=0x7f0a0006; + public static final int TextAppearance_Compat_Notification_Media=0x7f0a0007; + public static final int TextAppearance_Compat_Notification_Time=0x7f0a0008; + public static final int TextAppearance_Compat_Notification_Time_Media=0x7f0a0009; + public static final int TextAppearance_Compat_Notification_Title=0x7f0a000a; + public static final int TextAppearance_Compat_Notification_Title_Media=0x7f0a000b; + public static final int Widget_Compat_NotificationActionContainer=0x7f0a000c; + public static final int Widget_Compat_NotificationActionText=0x7f0a000d; + public static final int Widget_Support_CoordinatorLayout=0x7f0a000e; + } + public static final class styleable { + /** + * Attributes that can be used with a ColorStateListItem. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + *
AttributeDescription
{@link #ColorStateListItem_android_color android:color}
{@link #ColorStateListItem_android_alpha android:alpha}
{@link #ColorStateListItem_alpha reparto_izca.keymon.lat:alpha}Alpha multiplier applied to the base color.
+ * @see #ColorStateListItem_android_color + * @see #ColorStateListItem_android_alpha + * @see #ColorStateListItem_alpha + */ + public static final int[] ColorStateListItem={ + 0x010101a5, 0x0101031f, 0x7f020000 + }; + /** + *

+ * @attr description + * Base color for this state. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name android:color + */ + public static final int ColorStateListItem_android_color=0; + /** + *

This symbol is the offset where the {@link android.R.attr#alpha} + * attribute's value can be found in the {@link #ColorStateListItem} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:alpha + */ + public static final int ColorStateListItem_android_alpha=1; + /** + *

+ * @attr description + * Alpha multiplier applied to the base color. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:alpha + */ + public static final int ColorStateListItem_alpha=2; + /** + * Attributes that can be used with a CoordinatorLayout. + *

Includes the following attributes:

+ * + * + * + * + * + * + *
AttributeDescription
{@link #CoordinatorLayout_keylines reparto_izca.keymon.lat:keylines}A reference to an array of integers representing the + * locations of horizontal keylines in dp from the starting edge.
{@link #CoordinatorLayout_statusBarBackground reparto_izca.keymon.lat:statusBarBackground}Drawable to display behind the status bar when the view is set to draw behind it.
+ * @see #CoordinatorLayout_keylines + * @see #CoordinatorLayout_statusBarBackground + */ + public static final int[] CoordinatorLayout={ + 0x7f02001b, 0x7f020029 + }; + /** + *

+ * @attr description + * A reference to an array of integers representing the + * locations of horizontal keylines in dp from the starting edge. + * Child views can refer to these keylines for alignment using + * layout_keyline="index" where index is a 0-based index into + * this array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name reparto_izca.keymon.lat:keylines + */ + public static final int CoordinatorLayout_keylines=0; + /** + *

+ * @attr description + * Drawable to display behind the status bar when the view is set to draw behind it. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name reparto_izca.keymon.lat:statusBarBackground + */ + public static final int CoordinatorLayout_statusBarBackground=1; + /** + * Attributes that can be used with a CoordinatorLayout_Layout. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #CoordinatorLayout_Layout_android_layout_gravity android:layout_gravity}
{@link #CoordinatorLayout_Layout_layout_anchor reparto_izca.keymon.lat:layout_anchor}The id of an anchor view that this view should position relative to.
{@link #CoordinatorLayout_Layout_layout_anchorGravity reparto_izca.keymon.lat:layout_anchorGravity}Specifies how an object should position relative to an anchor, on both the X and Y axes, + * within its parent's bounds.
{@link #CoordinatorLayout_Layout_layout_behavior reparto_izca.keymon.lat:layout_behavior}The class name of a Behavior class defining special runtime behavior + * for this child view.
{@link #CoordinatorLayout_Layout_layout_dodgeInsetEdges reparto_izca.keymon.lat:layout_dodgeInsetEdges}Specifies how this view dodges the inset edges of the CoordinatorLayout.
{@link #CoordinatorLayout_Layout_layout_insetEdge reparto_izca.keymon.lat:layout_insetEdge}Specifies how this view insets the CoordinatorLayout and make some other views + * dodge it.
{@link #CoordinatorLayout_Layout_layout_keyline reparto_izca.keymon.lat:layout_keyline}The index of a keyline this view should position relative to.
+ * @see #CoordinatorLayout_Layout_android_layout_gravity + * @see #CoordinatorLayout_Layout_layout_anchor + * @see #CoordinatorLayout_Layout_layout_anchorGravity + * @see #CoordinatorLayout_Layout_layout_behavior + * @see #CoordinatorLayout_Layout_layout_dodgeInsetEdges + * @see #CoordinatorLayout_Layout_layout_insetEdge + * @see #CoordinatorLayout_Layout_layout_keyline + */ + public static final int[] CoordinatorLayout_Layout={ + 0x010100b3, 0x7f020020, 0x7f020021, 0x7f020022, + 0x7f020023, 0x7f020024, 0x7f020025 + }; + /** + *

This symbol is the offset where the {@link android.R.attr#layout_gravity} + * attribute's value can be found in the {@link #CoordinatorLayout_Layout} array. + * + *

Must be one or more (separated by '|') of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
bottom50
center11
center_horizontal1
center_vertical10
clip_horizontal8
clip_vertical80
end800005
fill77
fill_horizontal7
fill_vertical70
left3
right5
start800003
top30
+ * + * @attr name android:layout_gravity + */ + public static final int CoordinatorLayout_Layout_android_layout_gravity=0; + /** + *

+ * @attr description + * The id of an anchor view that this view should position relative to. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name reparto_izca.keymon.lat:layout_anchor + */ + public static final int CoordinatorLayout_Layout_layout_anchor=1; + /** + *

+ * @attr description + * Specifies how an object should position relative to an anchor, on both the X and Y axes, + * within its parent's bounds. + * + *

Must be one or more (separated by '|') of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
bottom50Push object to the bottom of its container, not changing its size.
center11Place the object in the center of its container in both the vertical and horizontal axis, not changing its size.
center_horizontal1Place object in the horizontal center of its container, not changing its size.
center_vertical10Place object in the vertical center of its container, not changing its size.
clip_horizontal8Additional option that can be set to have the left and/or right edges of + * the child clipped to its container's bounds. + * The clip will be based on the horizontal gravity: a left gravity will clip the right + * edge, a right gravity will clip the left edge, and neither will clip both edges.
clip_vertical80Additional option that can be set to have the top and/or bottom edges of + * the child clipped to its container's bounds. + * The clip will be based on the vertical gravity: a top gravity will clip the bottom + * edge, a bottom gravity will clip the top edge, and neither will clip both edges.
end800005Push object to the end of its container, not changing its size.
fill77Grow the horizontal and vertical size of the object if needed so it completely fills its container.
fill_horizontal7Grow the horizontal size of the object if needed so it completely fills its container.
fill_vertical70Grow the vertical size of the object if needed so it completely fills its container.
left3Push object to the left of its container, not changing its size.
right5Push object to the right of its container, not changing its size.
start800003Push object to the beginning of its container, not changing its size.
top30Push object to the top of its container, not changing its size.
+ * + * @attr name reparto_izca.keymon.lat:layout_anchorGravity + */ + public static final int CoordinatorLayout_Layout_layout_anchorGravity=2; + /** + *

+ * @attr description + * The class name of a Behavior class defining special runtime behavior + * for this child view. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_izca.keymon.lat:layout_behavior + */ + public static final int CoordinatorLayout_Layout_layout_behavior=3; + /** + *

+ * @attr description + * Specifies how this view dodges the inset edges of the CoordinatorLayout. + * + *

Must be one or more (separated by '|') of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
all77Dodge all the inset edges.
bottom50Dodge the bottom inset edge.
end800005Dodge the end inset edge.
left3Dodge the left inset edge.
none0Don't dodge any edges
right5Dodge the right inset edge.
start800003Dodge the start inset edge.
top30Dodge the top inset edge.
+ * + * @attr name reparto_izca.keymon.lat:layout_dodgeInsetEdges + */ + public static final int CoordinatorLayout_Layout_layout_dodgeInsetEdges=4; + /** + *

+ * @attr description + * Specifies how this view insets the CoordinatorLayout and make some other views + * dodge it. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
bottom50Inset the bottom edge.
end800005Inset the end edge.
left3Inset the left edge.
none0Don't inset.
right5Inset the right edge.
start800003Inset the start edge.
top30Inset the top edge.
+ * + * @attr name reparto_izca.keymon.lat:layout_insetEdge + */ + public static final int CoordinatorLayout_Layout_layout_insetEdge=5; + /** + *

+ * @attr description + * The index of a keyline this view should position relative to. + * android:layout_gravity will affect how the view aligns to the + * specified keyline. + * + *

May be an integer value, such as "100". + * + * @attr name reparto_izca.keymon.lat:layout_keyline + */ + public static final int CoordinatorLayout_Layout_layout_keyline=6; + /** + * Attributes that can be used with a DrawerLayout. + *

Includes the following attributes:

+ * + * + * + * + * + *
AttributeDescription
{@link #DrawerLayout_elevation reparto_izca.keymon.lat:elevation}
+ * @see #DrawerLayout_elevation + */ + public static final int[] DrawerLayout={ + 0x7f02000e + }; + /** + *

+ * @attr description + * The height difference between the drawer and the base surface. Only takes effect on API 21 and above + * + *

May be a dimension value, which is a floating point number appended with a + * unit such as "14.5sp". + * Available units are: px (pixels), dp (density-independent pixels), + * sp (scaled pixels based on preferred font size), in (inches), and + * mm (millimeters). + * + * @attr name reparto_izca.keymon.lat:elevation + */ + public static final int DrawerLayout_elevation=0; + /** + * Attributes that can be used with a FontFamily. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #FontFamily_fontProviderAuthority reparto_izca.keymon.lat:fontProviderAuthority}The authority of the Font Provider to be used for the request.
{@link #FontFamily_fontProviderCerts reparto_izca.keymon.lat:fontProviderCerts}The sets of hashes for the certificates the provider should be signed with.
{@link #FontFamily_fontProviderFetchStrategy reparto_izca.keymon.lat:fontProviderFetchStrategy}The strategy to be used when fetching font data from a font provider in XML layouts.
{@link #FontFamily_fontProviderFetchTimeout reparto_izca.keymon.lat:fontProviderFetchTimeout}The length of the timeout during fetching.
{@link #FontFamily_fontProviderPackage reparto_izca.keymon.lat:fontProviderPackage}The package for the Font Provider to be used for the request.
{@link #FontFamily_fontProviderQuery reparto_izca.keymon.lat:fontProviderQuery}The query to be sent over to the provider.
+ * @see #FontFamily_fontProviderAuthority + * @see #FontFamily_fontProviderCerts + * @see #FontFamily_fontProviderFetchStrategy + * @see #FontFamily_fontProviderFetchTimeout + * @see #FontFamily_fontProviderPackage + * @see #FontFamily_fontProviderQuery + */ + public static final int[] FontFamily={ + 0x7f020010, 0x7f020011, 0x7f020012, 0x7f020013, + 0x7f020014, 0x7f020015 + }; + /** + *

+ * @attr description + * The authority of the Font Provider to be used for the request. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_izca.keymon.lat:fontProviderAuthority + */ + public static final int FontFamily_fontProviderAuthority=0; + /** + *

+ * @attr description + * The sets of hashes for the certificates the provider should be signed with. This is + * used to verify the identity of the provider, and is only required if the provider is not + * part of the system image. This value may point to one list or a list of lists, where each + * individual list represents one collection of signature hashes. Refer to your font provider's + * documentation for these values. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name reparto_izca.keymon.lat:fontProviderCerts + */ + public static final int FontFamily_fontProviderCerts=1; + /** + *

+ * @attr description + * The strategy to be used when fetching font data from a font provider in XML layouts. + * This attribute is ignored when the resource is loaded from code, as it is equivalent to the + * choice of API between {@link + * androidx.core.content.res.ResourcesCompat#getFont(Context, int)} (blocking) and + * {@link + * androidx.core.content.res.ResourcesCompat#getFont(Context, int, FontCallback, Handler)} + * (async). + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + *
ConstantValueDescription
async1The async font fetch works as follows. + * First, check the local cache, then if the requeted font is not cached, trigger a + * request the font and continue with layout inflation. Once the font fetch succeeds, the + * target text view will be refreshed with the downloaded font data. The + * fontProviderFetchTimeout will be ignored if async loading is specified.
blocking0The blocking font fetch works as follows. + * First, check the local cache, then if the requested font is not cached, request the + * font from the provider and wait until it is finished. You can change the length of + * the timeout by modifying fontProviderFetchTimeout. If the timeout happens, the + * default typeface will be used instead.
+ * + * @attr name reparto_izca.keymon.lat:fontProviderFetchStrategy + */ + public static final int FontFamily_fontProviderFetchStrategy=2; + /** + *

+ * @attr description + * The length of the timeout during fetching. + * + *

May be an integer value, such as "100". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + *
ConstantValueDescription
foreverffffffffA special value for the timeout. In this case, the blocking font fetching will not + * timeout and wait until a reply is received from the font provider.
+ * + * @attr name reparto_izca.keymon.lat:fontProviderFetchTimeout + */ + public static final int FontFamily_fontProviderFetchTimeout=3; + /** + *

+ * @attr description + * The package for the Font Provider to be used for the request. This is used to verify + * the identity of the provider. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_izca.keymon.lat:fontProviderPackage + */ + public static final int FontFamily_fontProviderPackage=4; + /** + *

+ * @attr description + * The query to be sent over to the provider. Refer to your font provider's documentation + * on the format of this string. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_izca.keymon.lat:fontProviderQuery + */ + public static final int FontFamily_fontProviderQuery=5; + /** + * Attributes that can be used with a FontFamilyFont. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #FontFamilyFont_android_font android:font}
{@link #FontFamilyFont_android_fontWeight android:fontWeight}
{@link #FontFamilyFont_android_fontStyle android:fontStyle}
{@link #FontFamilyFont_android_ttcIndex android:ttcIndex}
{@link #FontFamilyFont_android_fontVariationSettings android:fontVariationSettings}
{@link #FontFamilyFont_font reparto_izca.keymon.lat:font}The reference to the font file to be used.
{@link #FontFamilyFont_fontStyle reparto_izca.keymon.lat:fontStyle}The style of the given font file.
{@link #FontFamilyFont_fontVariationSettings reparto_izca.keymon.lat:fontVariationSettings}The variation settings to be applied to the font.
{@link #FontFamilyFont_fontWeight reparto_izca.keymon.lat:fontWeight}The weight of the given font file.
{@link #FontFamilyFont_ttcIndex reparto_izca.keymon.lat:ttcIndex}The index of the font in the tcc font file.
+ * @see #FontFamilyFont_android_font + * @see #FontFamilyFont_android_fontWeight + * @see #FontFamilyFont_android_fontStyle + * @see #FontFamilyFont_android_ttcIndex + * @see #FontFamilyFont_android_fontVariationSettings + * @see #FontFamilyFont_font + * @see #FontFamilyFont_fontStyle + * @see #FontFamilyFont_fontVariationSettings + * @see #FontFamilyFont_fontWeight + * @see #FontFamilyFont_ttcIndex + */ + public static final int[] FontFamilyFont={ + 0x01010532, 0x01010533, 0x0101053f, 0x0101056f, + 0x01010570, 0x7f02000f, 0x7f020016, 0x7f020017, + 0x7f020018, 0x7f02002b + }; + /** + *

This symbol is the offset where the {@link android.R.attr#font} + * attribute's value can be found in the {@link #FontFamilyFont} array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name android:font + */ + public static final int FontFamilyFont_android_font=0; + /** + *

This symbol is the offset where the {@link android.R.attr#fontWeight} + * attribute's value can be found in the {@link #FontFamilyFont} array. + * + *

May be an integer value, such as "100". + * + * @attr name android:fontWeight + */ + public static final int FontFamilyFont_android_fontWeight=1; + /** + *

+ * @attr description + * References to the framework attrs + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + *
ConstantValueDescription
italic1
normal0
+ * + * @attr name android:fontStyle + */ + public static final int FontFamilyFont_android_fontStyle=2; + /** + *

This symbol is the offset where the {@link android.R.attr#ttcIndex} + * attribute's value can be found in the {@link #FontFamilyFont} array. + * + *

May be an integer value, such as "100". + * + * @attr name android:ttcIndex + */ + public static final int FontFamilyFont_android_ttcIndex=3; + /** + *

This symbol is the offset where the {@link android.R.attr#fontVariationSettings} + * attribute's value can be found in the {@link #FontFamilyFont} array. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name android:fontVariationSettings + */ + public static final int FontFamilyFont_android_fontVariationSettings=4; + /** + *

+ * @attr description + * The reference to the font file to be used. This should be a file in the res/font folder + * and should therefore have an R reference value. E.g. @font/myfont + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name reparto_izca.keymon.lat:font + */ + public static final int FontFamilyFont_font=5; + /** + *

+ * @attr description + * The style of the given font file. This will be used when the font is being loaded into + * the font stack and will override any style information in the font's header tables. If + * unspecified, the value in the font's header tables will be used. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + *
ConstantValueDescription
italic1
normal0
+ * + * @attr name reparto_izca.keymon.lat:fontStyle + */ + public static final int FontFamilyFont_fontStyle=6; + /** + *

+ * @attr description + * The variation settings to be applied to the font. The string should be in the following + * format: "'tag1' value1, 'tag2' value2, ...". If the default variation settings should be + * used, or the font used does not support variation settings, this attribute needs not be + * specified. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_izca.keymon.lat:fontVariationSettings + */ + public static final int FontFamilyFont_fontVariationSettings=7; + /** + *

+ * @attr description + * The weight of the given font file. This will be used when the font is being loaded into + * the font stack and will override any weight information in the font's header tables. Must + * be a positive number, a multiple of 100, and between 100 and 900, inclusive. The most + * common values are 400 for regular weight and 700 for bold weight. If unspecified, the value + * in the font's header tables will be used. + * + *

May be an integer value, such as "100". + * + * @attr name reparto_izca.keymon.lat:fontWeight + */ + public static final int FontFamilyFont_fontWeight=8; + /** + *

+ * @attr description + * The index of the font in the tcc font file. If the font file referenced is not in the + * tcc format, this attribute needs not be specified. + * + *

May be an integer value, such as "100". + * + * @attr name reparto_izca.keymon.lat:ttcIndex + */ + public static final int FontFamilyFont_ttcIndex=9; + /** + * Attributes that can be used with a Fragment. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + *
AttributeDescription
{@link #Fragment_android_name android:name}
{@link #Fragment_android_id android:id}
{@link #Fragment_android_tag android:tag}
+ * @see #Fragment_android_name + * @see #Fragment_android_id + * @see #Fragment_android_tag + */ + public static final int[] Fragment={ + 0x01010003, 0x010100d0, 0x010100d1 + }; + /** + *

This symbol is the offset where the {@link android.R.attr#name} + * attribute's value can be found in the {@link #Fragment} array. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name android:name + */ + public static final int Fragment_android_name=0; + /** + *

This symbol is the offset where the {@link android.R.attr#id} + * attribute's value can be found in the {@link #Fragment} array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name android:id + */ + public static final int Fragment_android_id=1; + /** + *

This symbol is the offset where the {@link android.R.attr#tag} + * attribute's value can be found in the {@link #Fragment} array. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name android:tag + */ + public static final int Fragment_android_tag=2; + /** + * Attributes that can be used with a FragmentContainerView. + *

Includes the following attributes:

+ * + * + * + * + * + * + *
AttributeDescription
{@link #FragmentContainerView_android_name android:name}
{@link #FragmentContainerView_android_tag android:tag}
+ * @see #FragmentContainerView_android_name + * @see #FragmentContainerView_android_tag + */ + public static final int[] FragmentContainerView={ + 0x01010003, 0x010100d1 + }; + /** + *

This symbol is the offset where the {@link android.R.attr#name} + * attribute's value can be found in the {@link #FragmentContainerView} array. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name android:name + */ + public static final int FragmentContainerView_android_name=0; + /** + *

This symbol is the offset where the {@link android.R.attr#tag} + * attribute's value can be found in the {@link #FragmentContainerView} array. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name android:tag + */ + public static final int FragmentContainerView_android_tag=1; + /** + * Attributes that can be used with a GradientColor. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #GradientColor_android_startColor android:startColor}
{@link #GradientColor_android_endColor android:endColor}
{@link #GradientColor_android_type android:type}
{@link #GradientColor_android_centerX android:centerX}
{@link #GradientColor_android_centerY android:centerY}
{@link #GradientColor_android_gradientRadius android:gradientRadius}
{@link #GradientColor_android_tileMode android:tileMode}
{@link #GradientColor_android_centerColor android:centerColor}
{@link #GradientColor_android_startX android:startX}
{@link #GradientColor_android_startY android:startY}
{@link #GradientColor_android_endX android:endX}
{@link #GradientColor_android_endY android:endY}
+ * @see #GradientColor_android_startColor + * @see #GradientColor_android_endColor + * @see #GradientColor_android_type + * @see #GradientColor_android_centerX + * @see #GradientColor_android_centerY + * @see #GradientColor_android_gradientRadius + * @see #GradientColor_android_tileMode + * @see #GradientColor_android_centerColor + * @see #GradientColor_android_startX + * @see #GradientColor_android_startY + * @see #GradientColor_android_endX + * @see #GradientColor_android_endY + */ + public static final int[] GradientColor={ + 0x0101019d, 0x0101019e, 0x010101a1, 0x010101a2, + 0x010101a3, 0x010101a4, 0x01010201, 0x0101020b, + 0x01010510, 0x01010511, 0x01010512, 0x01010513 + }; + /** + *

+ * @attr description + * Start color of the gradient. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name android:startColor + */ + public static final int GradientColor_android_startColor=0; + /** + *

+ * @attr description + * End color of the gradient. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name android:endColor + */ + public static final int GradientColor_android_endColor=1; + /** + *

+ * @attr description + * Type of gradient. The default type is linear. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
linear0
radial1
sweep2
+ * + * @attr name android:type + */ + public static final int GradientColor_android_type=2; + /** + *

+ * @attr description + * X coordinate of the center of the gradient within the path. + * + *

May be a floating point value, such as "1.2". + *

May be a fractional value, which is a floating point number appended with + * either % or %p, such as "14.5%". + * The % suffix always means a percentage of the base size; + * the optional %p suffix provides a size relative to some parent container. + * + * @attr name android:centerX + */ + public static final int GradientColor_android_centerX=3; + /** + *

+ * @attr description + * Y coordinate of the center of the gradient within the path. + * + *

May be a floating point value, such as "1.2". + *

May be a fractional value, which is a floating point number appended with + * either % or %p, such as "14.5%". + * The % suffix always means a percentage of the base size; + * the optional %p suffix provides a size relative to some parent container. + * + * @attr name android:centerY + */ + public static final int GradientColor_android_centerY=4; + /** + *

+ * @attr description + * Radius of the gradient, used only with radial gradient. + * + *

May be a floating point value, such as "1.2". + *

May be a dimension value, which is a floating point number appended with a + * unit such as "14.5sp". + * Available units are: px (pixels), dp (density-independent pixels), + * sp (scaled pixels based on preferred font size), in (inches), and + * mm (millimeters). + *

May be a fractional value, which is a floating point number appended with + * either % or %p, such as "14.5%". + * The % suffix always means a percentage of the base size; + * the optional %p suffix provides a size relative to some parent container. + * + * @attr name android:gradientRadius + */ + public static final int GradientColor_android_gradientRadius=5; + /** + *

+ * @attr description + * Defines the tile mode of the gradient. SweepGradient doesn't support tiling. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
clamp0
disabledffffffff
mirror2
repeat1
+ * + * @attr name android:tileMode + */ + public static final int GradientColor_android_tileMode=6; + /** + *

+ * @attr description + * Optional center color. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name android:centerColor + */ + public static final int GradientColor_android_centerColor=7; + /** + *

+ * @attr description + * X coordinate of the start point origin of the gradient. + * Defined in same coordinates as the path itself + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:startX + */ + public static final int GradientColor_android_startX=8; + /** + *

+ * @attr description + * Y coordinate of the start point of the gradient within the shape. + * Defined in same coordinates as the path itself + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:startY + */ + public static final int GradientColor_android_startY=9; + /** + *

+ * @attr description + * X coordinate of the end point origin of the gradient. + * Defined in same coordinates as the path itself + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:endX + */ + public static final int GradientColor_android_endX=10; + /** + *

+ * @attr description + * Y coordinate of the end point of the gradient within the shape. + * Defined in same coordinates as the path itself + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:endY + */ + public static final int GradientColor_android_endY=11; + /** + * Attributes that can be used with a GradientColorItem. + *

Includes the following attributes:

+ * + * + * + * + * + * + *
AttributeDescription
{@link #GradientColorItem_android_color android:color}
{@link #GradientColorItem_android_offset android:offset}
+ * @see #GradientColorItem_android_color + * @see #GradientColorItem_android_offset + */ + public static final int[] GradientColorItem={ + 0x010101a5, 0x01010514 + }; + /** + *

+ * @attr description + * The current color for the offset inside the gradient. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name android:color + */ + public static final int GradientColorItem_android_color=0; + /** + *

+ * @attr description + * The offset (or ratio) of this current color item inside the gradient. + * The value is only meaningful when it is between 0 and 1. + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:offset + */ + public static final int GradientColorItem_android_offset=1; + /** + * Attributes that can be used with a LoadingImageView. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + *
AttributeDescription
{@link #LoadingImageView_circleCrop reparto_izca.keymon.lat:circleCrop}
{@link #LoadingImageView_imageAspectRatio reparto_izca.keymon.lat:imageAspectRatio}
{@link #LoadingImageView_imageAspectRatioAdjust reparto_izca.keymon.lat:imageAspectRatioAdjust}
+ * @see #LoadingImageView_circleCrop + * @see #LoadingImageView_imageAspectRatio + * @see #LoadingImageView_imageAspectRatioAdjust + */ + public static final int[] LoadingImageView={ + 0x7f02000a, 0x7f020019, 0x7f02001a + }; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#circleCrop} + * attribute's value can be found in the {@link #LoadingImageView} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:circleCrop + */ + public static final int LoadingImageView_circleCrop=0; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#imageAspectRatio} + * attribute's value can be found in the {@link #LoadingImageView} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:imageAspectRatio + */ + public static final int LoadingImageView_imageAspectRatio=1; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#imageAspectRatioAdjust} + * attribute's value can be found in the {@link #LoadingImageView} array. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
adjust_height2
adjust_width1
none0
+ * + * @attr name reparto_izca.keymon.lat:imageAspectRatioAdjust + */ + public static final int LoadingImageView_imageAspectRatioAdjust=2; + /** + * Attributes that can be used with a MapAttrs. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #MapAttrs_ambientEnabled reparto_izca.keymon.lat:ambientEnabled}
{@link #MapAttrs_cameraBearing reparto_izca.keymon.lat:cameraBearing}
{@link #MapAttrs_cameraMaxZoomPreference reparto_izca.keymon.lat:cameraMaxZoomPreference}
{@link #MapAttrs_cameraMinZoomPreference reparto_izca.keymon.lat:cameraMinZoomPreference}
{@link #MapAttrs_cameraTargetLat reparto_izca.keymon.lat:cameraTargetLat}
{@link #MapAttrs_cameraTargetLng reparto_izca.keymon.lat:cameraTargetLng}
{@link #MapAttrs_cameraTilt reparto_izca.keymon.lat:cameraTilt}
{@link #MapAttrs_cameraZoom reparto_izca.keymon.lat:cameraZoom}
{@link #MapAttrs_latLngBoundsNorthEastLatitude reparto_izca.keymon.lat:latLngBoundsNorthEastLatitude}
{@link #MapAttrs_latLngBoundsNorthEastLongitude reparto_izca.keymon.lat:latLngBoundsNorthEastLongitude}
{@link #MapAttrs_latLngBoundsSouthWestLatitude reparto_izca.keymon.lat:latLngBoundsSouthWestLatitude}
{@link #MapAttrs_latLngBoundsSouthWestLongitude reparto_izca.keymon.lat:latLngBoundsSouthWestLongitude}
{@link #MapAttrs_liteMode reparto_izca.keymon.lat:liteMode}
{@link #MapAttrs_mapType reparto_izca.keymon.lat:mapType}
{@link #MapAttrs_uiCompass reparto_izca.keymon.lat:uiCompass}
{@link #MapAttrs_uiMapToolbar reparto_izca.keymon.lat:uiMapToolbar}
{@link #MapAttrs_uiRotateGestures reparto_izca.keymon.lat:uiRotateGestures}
{@link #MapAttrs_uiScrollGestures reparto_izca.keymon.lat:uiScrollGestures}
{@link #MapAttrs_uiScrollGesturesDuringRotateOrZoom reparto_izca.keymon.lat:uiScrollGesturesDuringRotateOrZoom}
{@link #MapAttrs_uiTiltGestures reparto_izca.keymon.lat:uiTiltGestures}
{@link #MapAttrs_uiZoomControls reparto_izca.keymon.lat:uiZoomControls}
{@link #MapAttrs_uiZoomGestures reparto_izca.keymon.lat:uiZoomGestures}
{@link #MapAttrs_useViewLifecycle reparto_izca.keymon.lat:useViewLifecycle}
{@link #MapAttrs_zOrderOnTop reparto_izca.keymon.lat:zOrderOnTop}
+ * @see #MapAttrs_ambientEnabled + * @see #MapAttrs_cameraBearing + * @see #MapAttrs_cameraMaxZoomPreference + * @see #MapAttrs_cameraMinZoomPreference + * @see #MapAttrs_cameraTargetLat + * @see #MapAttrs_cameraTargetLng + * @see #MapAttrs_cameraTilt + * @see #MapAttrs_cameraZoom + * @see #MapAttrs_latLngBoundsNorthEastLatitude + * @see #MapAttrs_latLngBoundsNorthEastLongitude + * @see #MapAttrs_latLngBoundsSouthWestLatitude + * @see #MapAttrs_latLngBoundsSouthWestLongitude + * @see #MapAttrs_liteMode + * @see #MapAttrs_mapType + * @see #MapAttrs_uiCompass + * @see #MapAttrs_uiMapToolbar + * @see #MapAttrs_uiRotateGestures + * @see #MapAttrs_uiScrollGestures + * @see #MapAttrs_uiScrollGesturesDuringRotateOrZoom + * @see #MapAttrs_uiTiltGestures + * @see #MapAttrs_uiZoomControls + * @see #MapAttrs_uiZoomGestures + * @see #MapAttrs_useViewLifecycle + * @see #MapAttrs_zOrderOnTop + */ + public static final int[] MapAttrs={ + 0x7f020001, 0x7f020003, 0x7f020004, 0x7f020005, + 0x7f020006, 0x7f020007, 0x7f020008, 0x7f020009, + 0x7f02001c, 0x7f02001d, 0x7f02001e, 0x7f02001f, + 0x7f020026, 0x7f020027, 0x7f02002c, 0x7f02002d, + 0x7f02002e, 0x7f02002f, 0x7f020030, 0x7f020031, + 0x7f020032, 0x7f020033, 0x7f020034, 0x7f020035 + }; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#ambientEnabled} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:ambientEnabled + */ + public static final int MapAttrs_ambientEnabled=0; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#cameraBearing} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:cameraBearing + */ + public static final int MapAttrs_cameraBearing=1; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#cameraMaxZoomPreference} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:cameraMaxZoomPreference + */ + public static final int MapAttrs_cameraMaxZoomPreference=2; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#cameraMinZoomPreference} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:cameraMinZoomPreference + */ + public static final int MapAttrs_cameraMinZoomPreference=3; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#cameraTargetLat} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:cameraTargetLat + */ + public static final int MapAttrs_cameraTargetLat=4; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#cameraTargetLng} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:cameraTargetLng + */ + public static final int MapAttrs_cameraTargetLng=5; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#cameraTilt} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:cameraTilt + */ + public static final int MapAttrs_cameraTilt=6; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#cameraZoom} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:cameraZoom + */ + public static final int MapAttrs_cameraZoom=7; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#latLngBoundsNorthEastLatitude} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:latLngBoundsNorthEastLatitude + */ + public static final int MapAttrs_latLngBoundsNorthEastLatitude=8; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#latLngBoundsNorthEastLongitude} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:latLngBoundsNorthEastLongitude + */ + public static final int MapAttrs_latLngBoundsNorthEastLongitude=9; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#latLngBoundsSouthWestLatitude} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:latLngBoundsSouthWestLatitude + */ + public static final int MapAttrs_latLngBoundsSouthWestLatitude=10; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#latLngBoundsSouthWestLongitude} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:latLngBoundsSouthWestLongitude + */ + public static final int MapAttrs_latLngBoundsSouthWestLongitude=11; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#liteMode} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:liteMode + */ + public static final int MapAttrs_liteMode=12; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#mapType} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
hybrid4
none0
normal1
satellite2
terrain3
+ * + * @attr name reparto_izca.keymon.lat:mapType + */ + public static final int MapAttrs_mapType=13; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiCompass} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiCompass + */ + public static final int MapAttrs_uiCompass=14; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiMapToolbar} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiMapToolbar + */ + public static final int MapAttrs_uiMapToolbar=15; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiRotateGestures} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiRotateGestures + */ + public static final int MapAttrs_uiRotateGestures=16; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiScrollGestures} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiScrollGestures + */ + public static final int MapAttrs_uiScrollGestures=17; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiScrollGesturesDuringRotateOrZoom} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiScrollGesturesDuringRotateOrZoom + */ + public static final int MapAttrs_uiScrollGesturesDuringRotateOrZoom=18; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiTiltGestures} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiTiltGestures + */ + public static final int MapAttrs_uiTiltGestures=19; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiZoomControls} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiZoomControls + */ + public static final int MapAttrs_uiZoomControls=20; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiZoomGestures} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiZoomGestures + */ + public static final int MapAttrs_uiZoomGestures=21; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#useViewLifecycle} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:useViewLifecycle + */ + public static final int MapAttrs_useViewLifecycle=22; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#zOrderOnTop} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:zOrderOnTop + */ + public static final int MapAttrs_zOrderOnTop=23; + /** + * Attributes that can be used with a SignInButton. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + *
AttributeDescription
{@link #SignInButton_buttonSize reparto_izca.keymon.lat:buttonSize}
{@link #SignInButton_colorScheme reparto_izca.keymon.lat:colorScheme}
{@link #SignInButton_scopeUris reparto_izca.keymon.lat:scopeUris}
+ * @see #SignInButton_buttonSize + * @see #SignInButton_colorScheme + * @see #SignInButton_scopeUris + */ + public static final int[] SignInButton={ + 0x7f020002, 0x7f02000b, 0x7f020028 + }; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#buttonSize} + * attribute's value can be found in the {@link #SignInButton} array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
icon_only2
standard0
wide1
+ * + * @attr name reparto_izca.keymon.lat:buttonSize + */ + public static final int SignInButton_buttonSize=0; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#colorScheme} + * attribute's value can be found in the {@link #SignInButton} array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
auto2
dark0
light1
+ * + * @attr name reparto_izca.keymon.lat:colorScheme + */ + public static final int SignInButton_colorScheme=1; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#scopeUris} + * attribute's value can be found in the {@link #SignInButton} array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_izca.keymon.lat:scopeUris + */ + public static final int SignInButton_scopeUris=2; + /** + * Attributes that can be used with a SwipeRefreshLayout. + *

Includes the following attributes:

+ * + * + * + * + * + *
AttributeDescription
{@link #SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor reparto_izca.keymon.lat:swipeRefreshLayoutProgressSpinnerBackgroundColor}Background color for SwipeRefreshLayout progress spinner.
+ * @see #SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor + */ + public static final int[] SwipeRefreshLayout={ + 0x7f02002a + }; + /** + *

+ * @attr description + * Background color for SwipeRefreshLayout progress spinner. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name reparto_izca.keymon.lat:swipeRefreshLayoutProgressSpinnerBackgroundColor + */ + public static final int SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor=0; + } + public static final class xml { + public static final int provider_paths=0x7f0c0000; + } +} \ No newline at end of file diff --git a/B4A/Objects/gen/com/google/android/gms/maps/R.java b/B4A/Objects/gen/com/google/android/gms/maps/R.java new file mode 100644 index 0000000..2614261 --- /dev/null +++ b/B4A/Objects/gen/com/google/android/gms/maps/R.java @@ -0,0 +1,2121 @@ +/* AUTO-GENERATED FILE. DO NOT MODIFY. + * + * This class was automatically generated by the + * aapt tool from the resource data it found. It + * should not be modified by hand. + */ + +package com.google.android.gms.maps; + +public final class R { + public static final class anim { + public static final int fragment_close_enter=0x7f010000; + public static final int fragment_close_exit=0x7f010001; + public static final int fragment_fade_enter=0x7f010002; + public static final int fragment_fade_exit=0x7f010003; + public static final int fragment_fast_out_extra_slow_in=0x7f010004; + public static final int fragment_open_enter=0x7f010005; + public static final int fragment_open_exit=0x7f010006; + } + public static final class attr { + /** + * Alpha multiplier applied to the base color. + *

May be a floating point value, such as "1.2". + */ + public static final int alpha=0x7f020000; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int ambientEnabled=0x7f020001; + /** + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
icon_only2
standard0
wide1
+ */ + public static final int buttonSize=0x7f020002; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraBearing=0x7f020003; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraMaxZoomPreference=0x7f020004; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraMinZoomPreference=0x7f020005; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraTargetLat=0x7f020006; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraTargetLng=0x7f020007; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraTilt=0x7f020008; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraZoom=0x7f020009; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int circleCrop=0x7f02000a; + /** + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
auto2
dark0
light1
+ */ + public static final int colorScheme=0x7f02000b; + /** + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int coordinatorLayoutStyle=0x7f02000c; + /** + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int drawerLayoutStyle=0x7f02000d; + /** + *

May be a dimension value, which is a floating point number appended with a + * unit such as "14.5sp". + * Available units are: px (pixels), dp (density-independent pixels), + * sp (scaled pixels based on preferred font size), in (inches), and + * mm (millimeters). + */ + public static final int elevation=0x7f02000e; + /** + * The reference to the font file to be used. This should be a file in the res/font folder + * and should therefore have an R reference value. E.g. @font/myfont + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int font=0x7f02000f; + /** + * The authority of the Font Provider to be used for the request. + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int fontProviderAuthority=0x7f020010; + /** + * The sets of hashes for the certificates the provider should be signed with. This is + * used to verify the identity of the provider, and is only required if the provider is not + * part of the system image. This value may point to one list or a list of lists, where each + * individual list represents one collection of signature hashes. Refer to your font provider's + * documentation for these values. + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int fontProviderCerts=0x7f020011; + /** + * The strategy to be used when fetching font data from a font provider in XML layouts. + * This attribute is ignored when the resource is loaded from code, as it is equivalent to the + * choice of API between {@link + * androidx.core.content.res.ResourcesCompat#getFont(Context, int)} (blocking) and + * {@link + * androidx.core.content.res.ResourcesCompat#getFont(Context, int, FontCallback, Handler)} + * (async). + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + *
ConstantValueDescription
async1The async font fetch works as follows. + * First, check the local cache, then if the requeted font is not cached, trigger a + * request the font and continue with layout inflation. Once the font fetch succeeds, the + * target text view will be refreshed with the downloaded font data. The + * fontProviderFetchTimeout will be ignored if async loading is specified.
blocking0The blocking font fetch works as follows. + * First, check the local cache, then if the requested font is not cached, request the + * font from the provider and wait until it is finished. You can change the length of + * the timeout by modifying fontProviderFetchTimeout. If the timeout happens, the + * default typeface will be used instead.
+ */ + public static final int fontProviderFetchStrategy=0x7f020012; + /** + * The length of the timeout during fetching. + *

May be an integer value, such as "100". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + *
ConstantValueDescription
foreverffffffffA special value for the timeout. In this case, the blocking font fetching will not + * timeout and wait until a reply is received from the font provider.
+ */ + public static final int fontProviderFetchTimeout=0x7f020013; + /** + * The package for the Font Provider to be used for the request. This is used to verify + * the identity of the provider. + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int fontProviderPackage=0x7f020014; + /** + * The query to be sent over to the provider. Refer to your font provider's documentation + * on the format of this string. + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int fontProviderQuery=0x7f020015; + /** + * The style of the given font file. This will be used when the font is being loaded into + * the font stack and will override any style information in the font's header tables. If + * unspecified, the value in the font's header tables will be used. + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + *
ConstantValueDescription
italic1
normal0
+ */ + public static final int fontStyle=0x7f020016; + /** + * The variation settings to be applied to the font. The string should be in the following + * format: "'tag1' value1, 'tag2' value2, ...". If the default variation settings should be + * used, or the font used does not support variation settings, this attribute needs not be + * specified. + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int fontVariationSettings=0x7f020017; + /** + * The weight of the given font file. This will be used when the font is being loaded into + * the font stack and will override any weight information in the font's header tables. Must + * be a positive number, a multiple of 100, and between 100 and 900, inclusive. The most + * common values are 400 for regular weight and 700 for bold weight. If unspecified, the value + * in the font's header tables will be used. + *

May be an integer value, such as "100". + */ + public static final int fontWeight=0x7f020018; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int imageAspectRatio=0x7f020019; + /** + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
adjust_height2
adjust_width1
none0
+ */ + public static final int imageAspectRatioAdjust=0x7f02001a; + /** + * A reference to an array of integers representing the + * locations of horizontal keylines in dp from the starting edge. + * Child views can refer to these keylines for alignment using + * layout_keyline="index" where index is a 0-based index into + * this array. + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int keylines=0x7f02001b; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int latLngBoundsNorthEastLatitude=0x7f02001c; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int latLngBoundsNorthEastLongitude=0x7f02001d; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int latLngBoundsSouthWestLatitude=0x7f02001e; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int latLngBoundsSouthWestLongitude=0x7f02001f; + /** + * The id of an anchor view that this view should position relative to. + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int layout_anchor=0x7f020020; + /** + * Specifies how an object should position relative to an anchor, on both the X and Y axes, + * within its parent's bounds. + *

Must be one or more (separated by '|') of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
bottom50Push object to the bottom of its container, not changing its size.
center11Place the object in the center of its container in both the vertical and horizontal axis, not changing its size.
center_horizontal1Place object in the horizontal center of its container, not changing its size.
center_vertical10Place object in the vertical center of its container, not changing its size.
clip_horizontal8Additional option that can be set to have the left and/or right edges of + * the child clipped to its container's bounds. + * The clip will be based on the horizontal gravity: a left gravity will clip the right + * edge, a right gravity will clip the left edge, and neither will clip both edges.
clip_vertical80Additional option that can be set to have the top and/or bottom edges of + * the child clipped to its container's bounds. + * The clip will be based on the vertical gravity: a top gravity will clip the bottom + * edge, a bottom gravity will clip the top edge, and neither will clip both edges.
end800005Push object to the end of its container, not changing its size.
fill77Grow the horizontal and vertical size of the object if needed so it completely fills its container.
fill_horizontal7Grow the horizontal size of the object if needed so it completely fills its container.
fill_vertical70Grow the vertical size of the object if needed so it completely fills its container.
left3Push object to the left of its container, not changing its size.
right5Push object to the right of its container, not changing its size.
start800003Push object to the beginning of its container, not changing its size.
top30Push object to the top of its container, not changing its size.
+ */ + public static final int layout_anchorGravity=0x7f020021; + /** + * The class name of a Behavior class defining special runtime behavior + * for this child view. + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int layout_behavior=0x7f020022; + /** + * Specifies how this view dodges the inset edges of the CoordinatorLayout. + *

Must be one or more (separated by '|') of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
all77Dodge all the inset edges.
bottom50Dodge the bottom inset edge.
end800005Dodge the end inset edge.
left3Dodge the left inset edge.
none0Don't dodge any edges
right5Dodge the right inset edge.
start800003Dodge the start inset edge.
top30Dodge the top inset edge.
+ */ + public static final int layout_dodgeInsetEdges=0x7f020023; + /** + * Specifies how this view insets the CoordinatorLayout and make some other views + * dodge it. + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
bottom50Inset the bottom edge.
end800005Inset the end edge.
left3Inset the left edge.
none0Don't inset.
right5Inset the right edge.
start800003Inset the start edge.
top30Inset the top edge.
+ */ + public static final int layout_insetEdge=0x7f020024; + /** + * The index of a keyline this view should position relative to. + * android:layout_gravity will affect how the view aligns to the + * specified keyline. + *

May be an integer value, such as "100". + */ + public static final int layout_keyline=0x7f020025; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int liteMode=0x7f020026; + /** + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
hybrid4
none0
normal1
satellite2
terrain3
+ */ + public static final int mapType=0x7f020027; + /** + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int scopeUris=0x7f020028; + /** + * Drawable to display behind the status bar when the view is set to draw behind it. + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + */ + public static final int statusBarBackground=0x7f020029; + /** + * Background color for SwipeRefreshLayout progress spinner. + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + */ + public static final int swipeRefreshLayoutProgressSpinnerBackgroundColor=0x7f02002a; + /** + * The index of the font in the tcc font file. If the font file referenced is not in the + * tcc format, this attribute needs not be specified. + *

May be an integer value, such as "100". + */ + public static final int ttcIndex=0x7f02002b; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiCompass=0x7f02002c; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiMapToolbar=0x7f02002d; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiRotateGestures=0x7f02002e; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiScrollGestures=0x7f02002f; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiScrollGesturesDuringRotateOrZoom=0x7f020030; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiTiltGestures=0x7f020031; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiZoomControls=0x7f020032; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiZoomGestures=0x7f020033; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int useViewLifecycle=0x7f020034; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int zOrderOnTop=0x7f020035; + } + public static final class color { + public static final int androidx_core_ripple_material_light=0x7f030000; + public static final int androidx_core_secondary_text_default_material_light=0x7f030001; + public static final int common_google_signin_btn_text_dark=0x7f030002; + public static final int common_google_signin_btn_text_dark_default=0x7f030003; + public static final int common_google_signin_btn_text_dark_disabled=0x7f030004; + public static final int common_google_signin_btn_text_dark_focused=0x7f030005; + public static final int common_google_signin_btn_text_dark_pressed=0x7f030006; + public static final int common_google_signin_btn_text_light=0x7f030007; + public static final int common_google_signin_btn_text_light_default=0x7f030008; + public static final int common_google_signin_btn_text_light_disabled=0x7f030009; + public static final int common_google_signin_btn_text_light_focused=0x7f03000a; + public static final int common_google_signin_btn_text_light_pressed=0x7f03000b; + public static final int common_google_signin_btn_tint=0x7f03000c; + public static final int notification_action_color_filter=0x7f03000d; + public static final int notification_icon_bg_color=0x7f03000e; + public static final int notification_material_background_media_default_color=0x7f03000f; + public static final int primary_text_default_material_dark=0x7f030010; + public static final int secondary_text_default_material_dark=0x7f030011; + } + public static final class dimen { + public static final int compat_button_inset_horizontal_material=0x7f040000; + public static final int compat_button_inset_vertical_material=0x7f040001; + public static final int compat_button_padding_horizontal_material=0x7f040002; + public static final int compat_button_padding_vertical_material=0x7f040003; + public static final int compat_control_corner_material=0x7f040004; + public static final int compat_notification_large_icon_max_height=0x7f040005; + public static final int compat_notification_large_icon_max_width=0x7f040006; + public static final int def_drawer_elevation=0x7f040007; + public static final int notification_action_icon_size=0x7f040008; + public static final int notification_action_text_size=0x7f040009; + public static final int notification_big_circle_margin=0x7f04000a; + public static final int notification_content_margin_start=0x7f04000b; + public static final int notification_large_icon_height=0x7f04000c; + public static final int notification_large_icon_width=0x7f04000d; + public static final int notification_main_column_padding_top=0x7f04000e; + public static final int notification_media_narrow_margin=0x7f04000f; + public static final int notification_right_icon_size=0x7f040010; + public static final int notification_right_side_padding_top=0x7f040011; + public static final int notification_small_icon_background_padding=0x7f040012; + public static final int notification_small_icon_size_as_large=0x7f040013; + public static final int notification_subtext_size=0x7f040014; + public static final int notification_top_pad=0x7f040015; + public static final int notification_top_pad_large_text=0x7f040016; + public static final int subtitle_corner_radius=0x7f040017; + public static final int subtitle_outline_width=0x7f040018; + public static final int subtitle_shadow_offset=0x7f040019; + public static final int subtitle_shadow_radius=0x7f04001a; + } + public static final class drawable { + public static final int common_full_open_on_phone=0x7f050000; + public static final int common_google_signin_btn_icon_dark=0x7f050001; + public static final int common_google_signin_btn_icon_dark_focused=0x7f050002; + public static final int common_google_signin_btn_icon_dark_normal=0x7f050003; + public static final int common_google_signin_btn_icon_dark_normal_background=0x7f050004; + public static final int common_google_signin_btn_icon_disabled=0x7f050005; + public static final int common_google_signin_btn_icon_light=0x7f050006; + public static final int common_google_signin_btn_icon_light_focused=0x7f050007; + public static final int common_google_signin_btn_icon_light_normal=0x7f050008; + public static final int common_google_signin_btn_icon_light_normal_background=0x7f050009; + public static final int common_google_signin_btn_text_dark=0x7f05000a; + public static final int common_google_signin_btn_text_dark_focused=0x7f05000b; + public static final int common_google_signin_btn_text_dark_normal=0x7f05000c; + public static final int common_google_signin_btn_text_dark_normal_background=0x7f05000d; + public static final int common_google_signin_btn_text_disabled=0x7f05000e; + public static final int common_google_signin_btn_text_light=0x7f05000f; + public static final int common_google_signin_btn_text_light_focused=0x7f050010; + public static final int common_google_signin_btn_text_light_normal=0x7f050011; + public static final int common_google_signin_btn_text_light_normal_background=0x7f050012; + public static final int googleg_disabled_color_18=0x7f050013; + public static final int googleg_standard_color_18=0x7f050014; + public static final int icon=0x7f050015; + public static final int notification_action_background=0x7f050016; + public static final int notification_bg=0x7f050017; + public static final int notification_bg_low=0x7f050018; + public static final int notification_bg_low_normal=0x7f050019; + public static final int notification_bg_low_pressed=0x7f05001a; + public static final int notification_bg_normal=0x7f05001b; + public static final int notification_bg_normal_pressed=0x7f05001c; + public static final int notification_icon_background=0x7f05001d; + public static final int notification_template_icon_bg=0x7f05001e; + public static final int notification_template_icon_low_bg=0x7f05001f; + public static final int notification_tile_bg=0x7f050020; + public static final int notify_panel_notification_icon_bg=0x7f050021; + } + public static final class id { + public static final int accessibility_action_clickable_span=0x7f060000; + public static final int accessibility_custom_action_0=0x7f060001; + public static final int accessibility_custom_action_1=0x7f060002; + public static final int accessibility_custom_action_10=0x7f060003; + public static final int accessibility_custom_action_11=0x7f060004; + public static final int accessibility_custom_action_12=0x7f060005; + public static final int accessibility_custom_action_13=0x7f060006; + public static final int accessibility_custom_action_14=0x7f060007; + public static final int accessibility_custom_action_15=0x7f060008; + public static final int accessibility_custom_action_16=0x7f060009; + public static final int accessibility_custom_action_17=0x7f06000a; + public static final int accessibility_custom_action_18=0x7f06000b; + public static final int accessibility_custom_action_19=0x7f06000c; + public static final int accessibility_custom_action_2=0x7f06000d; + public static final int accessibility_custom_action_20=0x7f06000e; + public static final int accessibility_custom_action_21=0x7f06000f; + public static final int accessibility_custom_action_22=0x7f060010; + public static final int accessibility_custom_action_23=0x7f060011; + public static final int accessibility_custom_action_24=0x7f060012; + public static final int accessibility_custom_action_25=0x7f060013; + public static final int accessibility_custom_action_26=0x7f060014; + public static final int accessibility_custom_action_27=0x7f060015; + public static final int accessibility_custom_action_28=0x7f060016; + public static final int accessibility_custom_action_29=0x7f060017; + public static final int accessibility_custom_action_3=0x7f060018; + public static final int accessibility_custom_action_30=0x7f060019; + public static final int accessibility_custom_action_31=0x7f06001a; + public static final int accessibility_custom_action_4=0x7f06001b; + public static final int accessibility_custom_action_5=0x7f06001c; + public static final int accessibility_custom_action_6=0x7f06001d; + public static final int accessibility_custom_action_7=0x7f06001e; + public static final int accessibility_custom_action_8=0x7f06001f; + public static final int accessibility_custom_action_9=0x7f060020; + public static final int action0=0x7f060021; + public static final int action_container=0x7f060022; + public static final int action_divider=0x7f060023; + public static final int action_image=0x7f060024; + public static final int action_text=0x7f060025; + public static final int actions=0x7f060026; + public static final int adjust_height=0x7f060027; + public static final int adjust_width=0x7f060028; + public static final int all=0x7f060029; + public static final int async=0x7f06002a; + public static final int auto=0x7f06002b; + public static final int blocking=0x7f06002c; + public static final int bottom=0x7f06002d; + public static final int cancel_action=0x7f06002e; + public static final int center=0x7f06002f; + public static final int center_horizontal=0x7f060030; + public static final int center_vertical=0x7f060031; + public static final int chronometer=0x7f060032; + public static final int clip_horizontal=0x7f060033; + public static final int clip_vertical=0x7f060034; + public static final int dark=0x7f060035; + public static final int dialog_button=0x7f060036; + public static final int end=0x7f060037; + public static final int end_padder=0x7f060038; + public static final int fill=0x7f060039; + public static final int fill_horizontal=0x7f06003a; + public static final int fill_vertical=0x7f06003b; + public static final int forever=0x7f06003c; + public static final int fragment_container_view_tag=0x7f06003d; + public static final int hybrid=0x7f06003e; + public static final int icon=0x7f06003f; + public static final int icon_group=0x7f060040; + public static final int icon_only=0x7f060041; + public static final int info=0x7f060042; + public static final int italic=0x7f060043; + public static final int left=0x7f060044; + public static final int light=0x7f060045; + public static final int line1=0x7f060046; + public static final int line3=0x7f060047; + public static final int media_actions=0x7f060048; + public static final int none=0x7f060049; + public static final int normal=0x7f06004a; + public static final int notification_background=0x7f06004b; + public static final int notification_main_column=0x7f06004c; + public static final int notification_main_column_container=0x7f06004d; + public static final int right=0x7f06004e; + public static final int right_icon=0x7f06004f; + public static final int right_side=0x7f060050; + public static final int satellite=0x7f060051; + public static final int standard=0x7f060052; + public static final int start=0x7f060053; + public static final int status_bar_latest_event_content=0x7f060054; + public static final int tag_accessibility_actions=0x7f060055; + public static final int tag_accessibility_clickable_spans=0x7f060056; + public static final int tag_accessibility_heading=0x7f060057; + public static final int tag_accessibility_pane_title=0x7f060058; + public static final int tag_screen_reader_focusable=0x7f060059; + public static final int tag_transition_group=0x7f06005a; + public static final int tag_unhandled_key_event_manager=0x7f06005b; + public static final int tag_unhandled_key_listeners=0x7f06005c; + public static final int terrain=0x7f06005d; + public static final int text=0x7f06005e; + public static final int text2=0x7f06005f; + public static final int time=0x7f060060; + public static final int title=0x7f060061; + public static final int top=0x7f060062; + public static final int visible_removing_fragment_view_tag=0x7f060063; + public static final int wide=0x7f060064; + } + public static final class integer { + public static final int cancel_button_image_alpha=0x7f070000; + public static final int google_play_services_version=0x7f070001; + public static final int status_bar_notification_info_maxnum=0x7f070002; + } + public static final class layout { + public static final int custom_dialog=0x7f080000; + public static final int notification_action=0x7f080001; + public static final int notification_action_tombstone=0x7f080002; + public static final int notification_media_action=0x7f080003; + public static final int notification_media_cancel_action=0x7f080004; + public static final int notification_template_big_media=0x7f080005; + public static final int notification_template_big_media_custom=0x7f080006; + public static final int notification_template_big_media_narrow=0x7f080007; + public static final int notification_template_big_media_narrow_custom=0x7f080008; + public static final int notification_template_custom_big=0x7f080009; + public static final int notification_template_icon_group=0x7f08000a; + public static final int notification_template_lines_media=0x7f08000b; + public static final int notification_template_media=0x7f08000c; + public static final int notification_template_media_custom=0x7f08000d; + public static final int notification_template_part_chronometer=0x7f08000e; + public static final int notification_template_part_time=0x7f08000f; + } + public static final class string { + public static final int common_google_play_services_enable_button=0x7f090000; + public static final int common_google_play_services_enable_text=0x7f090001; + public static final int common_google_play_services_enable_title=0x7f090002; + public static final int common_google_play_services_install_button=0x7f090003; + public static final int common_google_play_services_install_text=0x7f090004; + public static final int common_google_play_services_install_title=0x7f090005; + public static final int common_google_play_services_notification_channel_name=0x7f090006; + public static final int common_google_play_services_notification_ticker=0x7f090007; + public static final int common_google_play_services_unknown_issue=0x7f090008; + public static final int common_google_play_services_unsupported_text=0x7f090009; + public static final int common_google_play_services_update_button=0x7f09000a; + public static final int common_google_play_services_update_text=0x7f09000b; + public static final int common_google_play_services_update_title=0x7f09000c; + public static final int common_google_play_services_updating_text=0x7f09000d; + public static final int common_google_play_services_wear_update_text=0x7f09000e; + public static final int common_open_on_phone=0x7f09000f; + public static final int common_signin_button_text=0x7f090010; + public static final int common_signin_button_text_long=0x7f090011; + public static final int status_bar_notification_info_overflow=0x7f090012; + } + public static final class style { + public static final int LightTheme=0x7f0a0000; + public static final int LowerCaseMenu=0x7f0a0001; + public static final int TextAppearance_Compat_Notification=0x7f0a0002; + public static final int TextAppearance_Compat_Notification_Info=0x7f0a0003; + public static final int TextAppearance_Compat_Notification_Info_Media=0x7f0a0004; + public static final int TextAppearance_Compat_Notification_Line2=0x7f0a0005; + public static final int TextAppearance_Compat_Notification_Line2_Media=0x7f0a0006; + public static final int TextAppearance_Compat_Notification_Media=0x7f0a0007; + public static final int TextAppearance_Compat_Notification_Time=0x7f0a0008; + public static final int TextAppearance_Compat_Notification_Time_Media=0x7f0a0009; + public static final int TextAppearance_Compat_Notification_Title=0x7f0a000a; + public static final int TextAppearance_Compat_Notification_Title_Media=0x7f0a000b; + public static final int Widget_Compat_NotificationActionContainer=0x7f0a000c; + public static final int Widget_Compat_NotificationActionText=0x7f0a000d; + public static final int Widget_Support_CoordinatorLayout=0x7f0a000e; + } + public static final class styleable { + /** + * Attributes that can be used with a ColorStateListItem. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + *
AttributeDescription
{@link #ColorStateListItem_android_color android:color}
{@link #ColorStateListItem_android_alpha android:alpha}
{@link #ColorStateListItem_alpha reparto_izca.keymon.lat:alpha}Alpha multiplier applied to the base color.
+ * @see #ColorStateListItem_android_color + * @see #ColorStateListItem_android_alpha + * @see #ColorStateListItem_alpha + */ + public static final int[] ColorStateListItem={ + 0x010101a5, 0x0101031f, 0x7f020000 + }; + /** + *

+ * @attr description + * Base color for this state. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name android:color + */ + public static final int ColorStateListItem_android_color=0; + /** + *

This symbol is the offset where the {@link android.R.attr#alpha} + * attribute's value can be found in the {@link #ColorStateListItem} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:alpha + */ + public static final int ColorStateListItem_android_alpha=1; + /** + *

+ * @attr description + * Alpha multiplier applied to the base color. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:alpha + */ + public static final int ColorStateListItem_alpha=2; + /** + * Attributes that can be used with a CoordinatorLayout. + *

Includes the following attributes:

+ * + * + * + * + * + * + *
AttributeDescription
{@link #CoordinatorLayout_keylines reparto_izca.keymon.lat:keylines}A reference to an array of integers representing the + * locations of horizontal keylines in dp from the starting edge.
{@link #CoordinatorLayout_statusBarBackground reparto_izca.keymon.lat:statusBarBackground}Drawable to display behind the status bar when the view is set to draw behind it.
+ * @see #CoordinatorLayout_keylines + * @see #CoordinatorLayout_statusBarBackground + */ + public static final int[] CoordinatorLayout={ + 0x7f02001b, 0x7f020029 + }; + /** + *

+ * @attr description + * A reference to an array of integers representing the + * locations of horizontal keylines in dp from the starting edge. + * Child views can refer to these keylines for alignment using + * layout_keyline="index" where index is a 0-based index into + * this array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name reparto_izca.keymon.lat:keylines + */ + public static final int CoordinatorLayout_keylines=0; + /** + *

+ * @attr description + * Drawable to display behind the status bar when the view is set to draw behind it. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name reparto_izca.keymon.lat:statusBarBackground + */ + public static final int CoordinatorLayout_statusBarBackground=1; + /** + * Attributes that can be used with a CoordinatorLayout_Layout. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #CoordinatorLayout_Layout_android_layout_gravity android:layout_gravity}
{@link #CoordinatorLayout_Layout_layout_anchor reparto_izca.keymon.lat:layout_anchor}The id of an anchor view that this view should position relative to.
{@link #CoordinatorLayout_Layout_layout_anchorGravity reparto_izca.keymon.lat:layout_anchorGravity}Specifies how an object should position relative to an anchor, on both the X and Y axes, + * within its parent's bounds.
{@link #CoordinatorLayout_Layout_layout_behavior reparto_izca.keymon.lat:layout_behavior}The class name of a Behavior class defining special runtime behavior + * for this child view.
{@link #CoordinatorLayout_Layout_layout_dodgeInsetEdges reparto_izca.keymon.lat:layout_dodgeInsetEdges}Specifies how this view dodges the inset edges of the CoordinatorLayout.
{@link #CoordinatorLayout_Layout_layout_insetEdge reparto_izca.keymon.lat:layout_insetEdge}Specifies how this view insets the CoordinatorLayout and make some other views + * dodge it.
{@link #CoordinatorLayout_Layout_layout_keyline reparto_izca.keymon.lat:layout_keyline}The index of a keyline this view should position relative to.
+ * @see #CoordinatorLayout_Layout_android_layout_gravity + * @see #CoordinatorLayout_Layout_layout_anchor + * @see #CoordinatorLayout_Layout_layout_anchorGravity + * @see #CoordinatorLayout_Layout_layout_behavior + * @see #CoordinatorLayout_Layout_layout_dodgeInsetEdges + * @see #CoordinatorLayout_Layout_layout_insetEdge + * @see #CoordinatorLayout_Layout_layout_keyline + */ + public static final int[] CoordinatorLayout_Layout={ + 0x010100b3, 0x7f020020, 0x7f020021, 0x7f020022, + 0x7f020023, 0x7f020024, 0x7f020025 + }; + /** + *

This symbol is the offset where the {@link android.R.attr#layout_gravity} + * attribute's value can be found in the {@link #CoordinatorLayout_Layout} array. + * + *

Must be one or more (separated by '|') of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
bottom50
center11
center_horizontal1
center_vertical10
clip_horizontal8
clip_vertical80
end800005
fill77
fill_horizontal7
fill_vertical70
left3
right5
start800003
top30
+ * + * @attr name android:layout_gravity + */ + public static final int CoordinatorLayout_Layout_android_layout_gravity=0; + /** + *

+ * @attr description + * The id of an anchor view that this view should position relative to. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name reparto_izca.keymon.lat:layout_anchor + */ + public static final int CoordinatorLayout_Layout_layout_anchor=1; + /** + *

+ * @attr description + * Specifies how an object should position relative to an anchor, on both the X and Y axes, + * within its parent's bounds. + * + *

Must be one or more (separated by '|') of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
bottom50Push object to the bottom of its container, not changing its size.
center11Place the object in the center of its container in both the vertical and horizontal axis, not changing its size.
center_horizontal1Place object in the horizontal center of its container, not changing its size.
center_vertical10Place object in the vertical center of its container, not changing its size.
clip_horizontal8Additional option that can be set to have the left and/or right edges of + * the child clipped to its container's bounds. + * The clip will be based on the horizontal gravity: a left gravity will clip the right + * edge, a right gravity will clip the left edge, and neither will clip both edges.
clip_vertical80Additional option that can be set to have the top and/or bottom edges of + * the child clipped to its container's bounds. + * The clip will be based on the vertical gravity: a top gravity will clip the bottom + * edge, a bottom gravity will clip the top edge, and neither will clip both edges.
end800005Push object to the end of its container, not changing its size.
fill77Grow the horizontal and vertical size of the object if needed so it completely fills its container.
fill_horizontal7Grow the horizontal size of the object if needed so it completely fills its container.
fill_vertical70Grow the vertical size of the object if needed so it completely fills its container.
left3Push object to the left of its container, not changing its size.
right5Push object to the right of its container, not changing its size.
start800003Push object to the beginning of its container, not changing its size.
top30Push object to the top of its container, not changing its size.
+ * + * @attr name reparto_izca.keymon.lat:layout_anchorGravity + */ + public static final int CoordinatorLayout_Layout_layout_anchorGravity=2; + /** + *

+ * @attr description + * The class name of a Behavior class defining special runtime behavior + * for this child view. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_izca.keymon.lat:layout_behavior + */ + public static final int CoordinatorLayout_Layout_layout_behavior=3; + /** + *

+ * @attr description + * Specifies how this view dodges the inset edges of the CoordinatorLayout. + * + *

Must be one or more (separated by '|') of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
all77Dodge all the inset edges.
bottom50Dodge the bottom inset edge.
end800005Dodge the end inset edge.
left3Dodge the left inset edge.
none0Don't dodge any edges
right5Dodge the right inset edge.
start800003Dodge the start inset edge.
top30Dodge the top inset edge.
+ * + * @attr name reparto_izca.keymon.lat:layout_dodgeInsetEdges + */ + public static final int CoordinatorLayout_Layout_layout_dodgeInsetEdges=4; + /** + *

+ * @attr description + * Specifies how this view insets the CoordinatorLayout and make some other views + * dodge it. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
bottom50Inset the bottom edge.
end800005Inset the end edge.
left3Inset the left edge.
none0Don't inset.
right5Inset the right edge.
start800003Inset the start edge.
top30Inset the top edge.
+ * + * @attr name reparto_izca.keymon.lat:layout_insetEdge + */ + public static final int CoordinatorLayout_Layout_layout_insetEdge=5; + /** + *

+ * @attr description + * The index of a keyline this view should position relative to. + * android:layout_gravity will affect how the view aligns to the + * specified keyline. + * + *

May be an integer value, such as "100". + * + * @attr name reparto_izca.keymon.lat:layout_keyline + */ + public static final int CoordinatorLayout_Layout_layout_keyline=6; + /** + * Attributes that can be used with a DrawerLayout. + *

Includes the following attributes:

+ * + * + * + * + * + *
AttributeDescription
{@link #DrawerLayout_elevation reparto_izca.keymon.lat:elevation}
+ * @see #DrawerLayout_elevation + */ + public static final int[] DrawerLayout={ + 0x7f02000e + }; + /** + *

+ * @attr description + * The height difference between the drawer and the base surface. Only takes effect on API 21 and above + * + *

May be a dimension value, which is a floating point number appended with a + * unit such as "14.5sp". + * Available units are: px (pixels), dp (density-independent pixels), + * sp (scaled pixels based on preferred font size), in (inches), and + * mm (millimeters). + * + * @attr name reparto_izca.keymon.lat:elevation + */ + public static final int DrawerLayout_elevation=0; + /** + * Attributes that can be used with a FontFamily. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #FontFamily_fontProviderAuthority reparto_izca.keymon.lat:fontProviderAuthority}The authority of the Font Provider to be used for the request.
{@link #FontFamily_fontProviderCerts reparto_izca.keymon.lat:fontProviderCerts}The sets of hashes for the certificates the provider should be signed with.
{@link #FontFamily_fontProviderFetchStrategy reparto_izca.keymon.lat:fontProviderFetchStrategy}The strategy to be used when fetching font data from a font provider in XML layouts.
{@link #FontFamily_fontProviderFetchTimeout reparto_izca.keymon.lat:fontProviderFetchTimeout}The length of the timeout during fetching.
{@link #FontFamily_fontProviderPackage reparto_izca.keymon.lat:fontProviderPackage}The package for the Font Provider to be used for the request.
{@link #FontFamily_fontProviderQuery reparto_izca.keymon.lat:fontProviderQuery}The query to be sent over to the provider.
+ * @see #FontFamily_fontProviderAuthority + * @see #FontFamily_fontProviderCerts + * @see #FontFamily_fontProviderFetchStrategy + * @see #FontFamily_fontProviderFetchTimeout + * @see #FontFamily_fontProviderPackage + * @see #FontFamily_fontProviderQuery + */ + public static final int[] FontFamily={ + 0x7f020010, 0x7f020011, 0x7f020012, 0x7f020013, + 0x7f020014, 0x7f020015 + }; + /** + *

+ * @attr description + * The authority of the Font Provider to be used for the request. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_izca.keymon.lat:fontProviderAuthority + */ + public static final int FontFamily_fontProviderAuthority=0; + /** + *

+ * @attr description + * The sets of hashes for the certificates the provider should be signed with. This is + * used to verify the identity of the provider, and is only required if the provider is not + * part of the system image. This value may point to one list or a list of lists, where each + * individual list represents one collection of signature hashes. Refer to your font provider's + * documentation for these values. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name reparto_izca.keymon.lat:fontProviderCerts + */ + public static final int FontFamily_fontProviderCerts=1; + /** + *

+ * @attr description + * The strategy to be used when fetching font data from a font provider in XML layouts. + * This attribute is ignored when the resource is loaded from code, as it is equivalent to the + * choice of API between {@link + * androidx.core.content.res.ResourcesCompat#getFont(Context, int)} (blocking) and + * {@link + * androidx.core.content.res.ResourcesCompat#getFont(Context, int, FontCallback, Handler)} + * (async). + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + *
ConstantValueDescription
async1The async font fetch works as follows. + * First, check the local cache, then if the requeted font is not cached, trigger a + * request the font and continue with layout inflation. Once the font fetch succeeds, the + * target text view will be refreshed with the downloaded font data. The + * fontProviderFetchTimeout will be ignored if async loading is specified.
blocking0The blocking font fetch works as follows. + * First, check the local cache, then if the requested font is not cached, request the + * font from the provider and wait until it is finished. You can change the length of + * the timeout by modifying fontProviderFetchTimeout. If the timeout happens, the + * default typeface will be used instead.
+ * + * @attr name reparto_izca.keymon.lat:fontProviderFetchStrategy + */ + public static final int FontFamily_fontProviderFetchStrategy=2; + /** + *

+ * @attr description + * The length of the timeout during fetching. + * + *

May be an integer value, such as "100". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + *
ConstantValueDescription
foreverffffffffA special value for the timeout. In this case, the blocking font fetching will not + * timeout and wait until a reply is received from the font provider.
+ * + * @attr name reparto_izca.keymon.lat:fontProviderFetchTimeout + */ + public static final int FontFamily_fontProviderFetchTimeout=3; + /** + *

+ * @attr description + * The package for the Font Provider to be used for the request. This is used to verify + * the identity of the provider. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_izca.keymon.lat:fontProviderPackage + */ + public static final int FontFamily_fontProviderPackage=4; + /** + *

+ * @attr description + * The query to be sent over to the provider. Refer to your font provider's documentation + * on the format of this string. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_izca.keymon.lat:fontProviderQuery + */ + public static final int FontFamily_fontProviderQuery=5; + /** + * Attributes that can be used with a FontFamilyFont. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #FontFamilyFont_android_font android:font}
{@link #FontFamilyFont_android_fontWeight android:fontWeight}
{@link #FontFamilyFont_android_fontStyle android:fontStyle}
{@link #FontFamilyFont_android_ttcIndex android:ttcIndex}
{@link #FontFamilyFont_android_fontVariationSettings android:fontVariationSettings}
{@link #FontFamilyFont_font reparto_izca.keymon.lat:font}The reference to the font file to be used.
{@link #FontFamilyFont_fontStyle reparto_izca.keymon.lat:fontStyle}The style of the given font file.
{@link #FontFamilyFont_fontVariationSettings reparto_izca.keymon.lat:fontVariationSettings}The variation settings to be applied to the font.
{@link #FontFamilyFont_fontWeight reparto_izca.keymon.lat:fontWeight}The weight of the given font file.
{@link #FontFamilyFont_ttcIndex reparto_izca.keymon.lat:ttcIndex}The index of the font in the tcc font file.
+ * @see #FontFamilyFont_android_font + * @see #FontFamilyFont_android_fontWeight + * @see #FontFamilyFont_android_fontStyle + * @see #FontFamilyFont_android_ttcIndex + * @see #FontFamilyFont_android_fontVariationSettings + * @see #FontFamilyFont_font + * @see #FontFamilyFont_fontStyle + * @see #FontFamilyFont_fontVariationSettings + * @see #FontFamilyFont_fontWeight + * @see #FontFamilyFont_ttcIndex + */ + public static final int[] FontFamilyFont={ + 0x01010532, 0x01010533, 0x0101053f, 0x0101056f, + 0x01010570, 0x7f02000f, 0x7f020016, 0x7f020017, + 0x7f020018, 0x7f02002b + }; + /** + *

This symbol is the offset where the {@link android.R.attr#font} + * attribute's value can be found in the {@link #FontFamilyFont} array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name android:font + */ + public static final int FontFamilyFont_android_font=0; + /** + *

This symbol is the offset where the {@link android.R.attr#fontWeight} + * attribute's value can be found in the {@link #FontFamilyFont} array. + * + *

May be an integer value, such as "100". + * + * @attr name android:fontWeight + */ + public static final int FontFamilyFont_android_fontWeight=1; + /** + *

+ * @attr description + * References to the framework attrs + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + *
ConstantValueDescription
italic1
normal0
+ * + * @attr name android:fontStyle + */ + public static final int FontFamilyFont_android_fontStyle=2; + /** + *

This symbol is the offset where the {@link android.R.attr#ttcIndex} + * attribute's value can be found in the {@link #FontFamilyFont} array. + * + *

May be an integer value, such as "100". + * + * @attr name android:ttcIndex + */ + public static final int FontFamilyFont_android_ttcIndex=3; + /** + *

This symbol is the offset where the {@link android.R.attr#fontVariationSettings} + * attribute's value can be found in the {@link #FontFamilyFont} array. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name android:fontVariationSettings + */ + public static final int FontFamilyFont_android_fontVariationSettings=4; + /** + *

+ * @attr description + * The reference to the font file to be used. This should be a file in the res/font folder + * and should therefore have an R reference value. E.g. @font/myfont + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name reparto_izca.keymon.lat:font + */ + public static final int FontFamilyFont_font=5; + /** + *

+ * @attr description + * The style of the given font file. This will be used when the font is being loaded into + * the font stack and will override any style information in the font's header tables. If + * unspecified, the value in the font's header tables will be used. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + *
ConstantValueDescription
italic1
normal0
+ * + * @attr name reparto_izca.keymon.lat:fontStyle + */ + public static final int FontFamilyFont_fontStyle=6; + /** + *

+ * @attr description + * The variation settings to be applied to the font. The string should be in the following + * format: "'tag1' value1, 'tag2' value2, ...". If the default variation settings should be + * used, or the font used does not support variation settings, this attribute needs not be + * specified. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_izca.keymon.lat:fontVariationSettings + */ + public static final int FontFamilyFont_fontVariationSettings=7; + /** + *

+ * @attr description + * The weight of the given font file. This will be used when the font is being loaded into + * the font stack and will override any weight information in the font's header tables. Must + * be a positive number, a multiple of 100, and between 100 and 900, inclusive. The most + * common values are 400 for regular weight and 700 for bold weight. If unspecified, the value + * in the font's header tables will be used. + * + *

May be an integer value, such as "100". + * + * @attr name reparto_izca.keymon.lat:fontWeight + */ + public static final int FontFamilyFont_fontWeight=8; + /** + *

+ * @attr description + * The index of the font in the tcc font file. If the font file referenced is not in the + * tcc format, this attribute needs not be specified. + * + *

May be an integer value, such as "100". + * + * @attr name reparto_izca.keymon.lat:ttcIndex + */ + public static final int FontFamilyFont_ttcIndex=9; + /** + * Attributes that can be used with a Fragment. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + *
AttributeDescription
{@link #Fragment_android_name android:name}
{@link #Fragment_android_id android:id}
{@link #Fragment_android_tag android:tag}
+ * @see #Fragment_android_name + * @see #Fragment_android_id + * @see #Fragment_android_tag + */ + public static final int[] Fragment={ + 0x01010003, 0x010100d0, 0x010100d1 + }; + /** + *

This symbol is the offset where the {@link android.R.attr#name} + * attribute's value can be found in the {@link #Fragment} array. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name android:name + */ + public static final int Fragment_android_name=0; + /** + *

This symbol is the offset where the {@link android.R.attr#id} + * attribute's value can be found in the {@link #Fragment} array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name android:id + */ + public static final int Fragment_android_id=1; + /** + *

This symbol is the offset where the {@link android.R.attr#tag} + * attribute's value can be found in the {@link #Fragment} array. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name android:tag + */ + public static final int Fragment_android_tag=2; + /** + * Attributes that can be used with a FragmentContainerView. + *

Includes the following attributes:

+ * + * + * + * + * + * + *
AttributeDescription
{@link #FragmentContainerView_android_name android:name}
{@link #FragmentContainerView_android_tag android:tag}
+ * @see #FragmentContainerView_android_name + * @see #FragmentContainerView_android_tag + */ + public static final int[] FragmentContainerView={ + 0x01010003, 0x010100d1 + }; + /** + *

This symbol is the offset where the {@link android.R.attr#name} + * attribute's value can be found in the {@link #FragmentContainerView} array. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name android:name + */ + public static final int FragmentContainerView_android_name=0; + /** + *

This symbol is the offset where the {@link android.R.attr#tag} + * attribute's value can be found in the {@link #FragmentContainerView} array. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name android:tag + */ + public static final int FragmentContainerView_android_tag=1; + /** + * Attributes that can be used with a GradientColor. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #GradientColor_android_startColor android:startColor}
{@link #GradientColor_android_endColor android:endColor}
{@link #GradientColor_android_type android:type}
{@link #GradientColor_android_centerX android:centerX}
{@link #GradientColor_android_centerY android:centerY}
{@link #GradientColor_android_gradientRadius android:gradientRadius}
{@link #GradientColor_android_tileMode android:tileMode}
{@link #GradientColor_android_centerColor android:centerColor}
{@link #GradientColor_android_startX android:startX}
{@link #GradientColor_android_startY android:startY}
{@link #GradientColor_android_endX android:endX}
{@link #GradientColor_android_endY android:endY}
+ * @see #GradientColor_android_startColor + * @see #GradientColor_android_endColor + * @see #GradientColor_android_type + * @see #GradientColor_android_centerX + * @see #GradientColor_android_centerY + * @see #GradientColor_android_gradientRadius + * @see #GradientColor_android_tileMode + * @see #GradientColor_android_centerColor + * @see #GradientColor_android_startX + * @see #GradientColor_android_startY + * @see #GradientColor_android_endX + * @see #GradientColor_android_endY + */ + public static final int[] GradientColor={ + 0x0101019d, 0x0101019e, 0x010101a1, 0x010101a2, + 0x010101a3, 0x010101a4, 0x01010201, 0x0101020b, + 0x01010510, 0x01010511, 0x01010512, 0x01010513 + }; + /** + *

+ * @attr description + * Start color of the gradient. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name android:startColor + */ + public static final int GradientColor_android_startColor=0; + /** + *

+ * @attr description + * End color of the gradient. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name android:endColor + */ + public static final int GradientColor_android_endColor=1; + /** + *

+ * @attr description + * Type of gradient. The default type is linear. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
linear0
radial1
sweep2
+ * + * @attr name android:type + */ + public static final int GradientColor_android_type=2; + /** + *

+ * @attr description + * X coordinate of the center of the gradient within the path. + * + *

May be a floating point value, such as "1.2". + *

May be a fractional value, which is a floating point number appended with + * either % or %p, such as "14.5%". + * The % suffix always means a percentage of the base size; + * the optional %p suffix provides a size relative to some parent container. + * + * @attr name android:centerX + */ + public static final int GradientColor_android_centerX=3; + /** + *

+ * @attr description + * Y coordinate of the center of the gradient within the path. + * + *

May be a floating point value, such as "1.2". + *

May be a fractional value, which is a floating point number appended with + * either % or %p, such as "14.5%". + * The % suffix always means a percentage of the base size; + * the optional %p suffix provides a size relative to some parent container. + * + * @attr name android:centerY + */ + public static final int GradientColor_android_centerY=4; + /** + *

+ * @attr description + * Radius of the gradient, used only with radial gradient. + * + *

May be a floating point value, such as "1.2". + *

May be a dimension value, which is a floating point number appended with a + * unit such as "14.5sp". + * Available units are: px (pixels), dp (density-independent pixels), + * sp (scaled pixels based on preferred font size), in (inches), and + * mm (millimeters). + *

May be a fractional value, which is a floating point number appended with + * either % or %p, such as "14.5%". + * The % suffix always means a percentage of the base size; + * the optional %p suffix provides a size relative to some parent container. + * + * @attr name android:gradientRadius + */ + public static final int GradientColor_android_gradientRadius=5; + /** + *

+ * @attr description + * Defines the tile mode of the gradient. SweepGradient doesn't support tiling. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
clamp0
disabledffffffff
mirror2
repeat1
+ * + * @attr name android:tileMode + */ + public static final int GradientColor_android_tileMode=6; + /** + *

+ * @attr description + * Optional center color. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name android:centerColor + */ + public static final int GradientColor_android_centerColor=7; + /** + *

+ * @attr description + * X coordinate of the start point origin of the gradient. + * Defined in same coordinates as the path itself + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:startX + */ + public static final int GradientColor_android_startX=8; + /** + *

+ * @attr description + * Y coordinate of the start point of the gradient within the shape. + * Defined in same coordinates as the path itself + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:startY + */ + public static final int GradientColor_android_startY=9; + /** + *

+ * @attr description + * X coordinate of the end point origin of the gradient. + * Defined in same coordinates as the path itself + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:endX + */ + public static final int GradientColor_android_endX=10; + /** + *

+ * @attr description + * Y coordinate of the end point of the gradient within the shape. + * Defined in same coordinates as the path itself + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:endY + */ + public static final int GradientColor_android_endY=11; + /** + * Attributes that can be used with a GradientColorItem. + *

Includes the following attributes:

+ * + * + * + * + * + * + *
AttributeDescription
{@link #GradientColorItem_android_color android:color}
{@link #GradientColorItem_android_offset android:offset}
+ * @see #GradientColorItem_android_color + * @see #GradientColorItem_android_offset + */ + public static final int[] GradientColorItem={ + 0x010101a5, 0x01010514 + }; + /** + *

+ * @attr description + * The current color for the offset inside the gradient. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name android:color + */ + public static final int GradientColorItem_android_color=0; + /** + *

+ * @attr description + * The offset (or ratio) of this current color item inside the gradient. + * The value is only meaningful when it is between 0 and 1. + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:offset + */ + public static final int GradientColorItem_android_offset=1; + /** + * Attributes that can be used with a LoadingImageView. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + *
AttributeDescription
{@link #LoadingImageView_circleCrop reparto_izca.keymon.lat:circleCrop}
{@link #LoadingImageView_imageAspectRatio reparto_izca.keymon.lat:imageAspectRatio}
{@link #LoadingImageView_imageAspectRatioAdjust reparto_izca.keymon.lat:imageAspectRatioAdjust}
+ * @see #LoadingImageView_circleCrop + * @see #LoadingImageView_imageAspectRatio + * @see #LoadingImageView_imageAspectRatioAdjust + */ + public static final int[] LoadingImageView={ + 0x7f02000a, 0x7f020019, 0x7f02001a + }; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#circleCrop} + * attribute's value can be found in the {@link #LoadingImageView} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:circleCrop + */ + public static final int LoadingImageView_circleCrop=0; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#imageAspectRatio} + * attribute's value can be found in the {@link #LoadingImageView} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:imageAspectRatio + */ + public static final int LoadingImageView_imageAspectRatio=1; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#imageAspectRatioAdjust} + * attribute's value can be found in the {@link #LoadingImageView} array. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
adjust_height2
adjust_width1
none0
+ * + * @attr name reparto_izca.keymon.lat:imageAspectRatioAdjust + */ + public static final int LoadingImageView_imageAspectRatioAdjust=2; + /** + * Attributes that can be used with a MapAttrs. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #MapAttrs_ambientEnabled reparto_izca.keymon.lat:ambientEnabled}
{@link #MapAttrs_cameraBearing reparto_izca.keymon.lat:cameraBearing}
{@link #MapAttrs_cameraMaxZoomPreference reparto_izca.keymon.lat:cameraMaxZoomPreference}
{@link #MapAttrs_cameraMinZoomPreference reparto_izca.keymon.lat:cameraMinZoomPreference}
{@link #MapAttrs_cameraTargetLat reparto_izca.keymon.lat:cameraTargetLat}
{@link #MapAttrs_cameraTargetLng reparto_izca.keymon.lat:cameraTargetLng}
{@link #MapAttrs_cameraTilt reparto_izca.keymon.lat:cameraTilt}
{@link #MapAttrs_cameraZoom reparto_izca.keymon.lat:cameraZoom}
{@link #MapAttrs_latLngBoundsNorthEastLatitude reparto_izca.keymon.lat:latLngBoundsNorthEastLatitude}
{@link #MapAttrs_latLngBoundsNorthEastLongitude reparto_izca.keymon.lat:latLngBoundsNorthEastLongitude}
{@link #MapAttrs_latLngBoundsSouthWestLatitude reparto_izca.keymon.lat:latLngBoundsSouthWestLatitude}
{@link #MapAttrs_latLngBoundsSouthWestLongitude reparto_izca.keymon.lat:latLngBoundsSouthWestLongitude}
{@link #MapAttrs_liteMode reparto_izca.keymon.lat:liteMode}
{@link #MapAttrs_mapType reparto_izca.keymon.lat:mapType}
{@link #MapAttrs_uiCompass reparto_izca.keymon.lat:uiCompass}
{@link #MapAttrs_uiMapToolbar reparto_izca.keymon.lat:uiMapToolbar}
{@link #MapAttrs_uiRotateGestures reparto_izca.keymon.lat:uiRotateGestures}
{@link #MapAttrs_uiScrollGestures reparto_izca.keymon.lat:uiScrollGestures}
{@link #MapAttrs_uiScrollGesturesDuringRotateOrZoom reparto_izca.keymon.lat:uiScrollGesturesDuringRotateOrZoom}
{@link #MapAttrs_uiTiltGestures reparto_izca.keymon.lat:uiTiltGestures}
{@link #MapAttrs_uiZoomControls reparto_izca.keymon.lat:uiZoomControls}
{@link #MapAttrs_uiZoomGestures reparto_izca.keymon.lat:uiZoomGestures}
{@link #MapAttrs_useViewLifecycle reparto_izca.keymon.lat:useViewLifecycle}
{@link #MapAttrs_zOrderOnTop reparto_izca.keymon.lat:zOrderOnTop}
+ * @see #MapAttrs_ambientEnabled + * @see #MapAttrs_cameraBearing + * @see #MapAttrs_cameraMaxZoomPreference + * @see #MapAttrs_cameraMinZoomPreference + * @see #MapAttrs_cameraTargetLat + * @see #MapAttrs_cameraTargetLng + * @see #MapAttrs_cameraTilt + * @see #MapAttrs_cameraZoom + * @see #MapAttrs_latLngBoundsNorthEastLatitude + * @see #MapAttrs_latLngBoundsNorthEastLongitude + * @see #MapAttrs_latLngBoundsSouthWestLatitude + * @see #MapAttrs_latLngBoundsSouthWestLongitude + * @see #MapAttrs_liteMode + * @see #MapAttrs_mapType + * @see #MapAttrs_uiCompass + * @see #MapAttrs_uiMapToolbar + * @see #MapAttrs_uiRotateGestures + * @see #MapAttrs_uiScrollGestures + * @see #MapAttrs_uiScrollGesturesDuringRotateOrZoom + * @see #MapAttrs_uiTiltGestures + * @see #MapAttrs_uiZoomControls + * @see #MapAttrs_uiZoomGestures + * @see #MapAttrs_useViewLifecycle + * @see #MapAttrs_zOrderOnTop + */ + public static final int[] MapAttrs={ + 0x7f020001, 0x7f020003, 0x7f020004, 0x7f020005, + 0x7f020006, 0x7f020007, 0x7f020008, 0x7f020009, + 0x7f02001c, 0x7f02001d, 0x7f02001e, 0x7f02001f, + 0x7f020026, 0x7f020027, 0x7f02002c, 0x7f02002d, + 0x7f02002e, 0x7f02002f, 0x7f020030, 0x7f020031, + 0x7f020032, 0x7f020033, 0x7f020034, 0x7f020035 + }; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#ambientEnabled} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:ambientEnabled + */ + public static final int MapAttrs_ambientEnabled=0; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#cameraBearing} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:cameraBearing + */ + public static final int MapAttrs_cameraBearing=1; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#cameraMaxZoomPreference} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:cameraMaxZoomPreference + */ + public static final int MapAttrs_cameraMaxZoomPreference=2; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#cameraMinZoomPreference} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:cameraMinZoomPreference + */ + public static final int MapAttrs_cameraMinZoomPreference=3; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#cameraTargetLat} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:cameraTargetLat + */ + public static final int MapAttrs_cameraTargetLat=4; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#cameraTargetLng} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:cameraTargetLng + */ + public static final int MapAttrs_cameraTargetLng=5; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#cameraTilt} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:cameraTilt + */ + public static final int MapAttrs_cameraTilt=6; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#cameraZoom} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:cameraZoom + */ + public static final int MapAttrs_cameraZoom=7; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#latLngBoundsNorthEastLatitude} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:latLngBoundsNorthEastLatitude + */ + public static final int MapAttrs_latLngBoundsNorthEastLatitude=8; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#latLngBoundsNorthEastLongitude} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:latLngBoundsNorthEastLongitude + */ + public static final int MapAttrs_latLngBoundsNorthEastLongitude=9; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#latLngBoundsSouthWestLatitude} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:latLngBoundsSouthWestLatitude + */ + public static final int MapAttrs_latLngBoundsSouthWestLatitude=10; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#latLngBoundsSouthWestLongitude} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:latLngBoundsSouthWestLongitude + */ + public static final int MapAttrs_latLngBoundsSouthWestLongitude=11; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#liteMode} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:liteMode + */ + public static final int MapAttrs_liteMode=12; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#mapType} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
hybrid4
none0
normal1
satellite2
terrain3
+ * + * @attr name reparto_izca.keymon.lat:mapType + */ + public static final int MapAttrs_mapType=13; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiCompass} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiCompass + */ + public static final int MapAttrs_uiCompass=14; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiMapToolbar} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiMapToolbar + */ + public static final int MapAttrs_uiMapToolbar=15; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiRotateGestures} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiRotateGestures + */ + public static final int MapAttrs_uiRotateGestures=16; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiScrollGestures} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiScrollGestures + */ + public static final int MapAttrs_uiScrollGestures=17; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiScrollGesturesDuringRotateOrZoom} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiScrollGesturesDuringRotateOrZoom + */ + public static final int MapAttrs_uiScrollGesturesDuringRotateOrZoom=18; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiTiltGestures} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiTiltGestures + */ + public static final int MapAttrs_uiTiltGestures=19; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiZoomControls} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiZoomControls + */ + public static final int MapAttrs_uiZoomControls=20; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiZoomGestures} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiZoomGestures + */ + public static final int MapAttrs_uiZoomGestures=21; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#useViewLifecycle} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:useViewLifecycle + */ + public static final int MapAttrs_useViewLifecycle=22; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#zOrderOnTop} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:zOrderOnTop + */ + public static final int MapAttrs_zOrderOnTop=23; + /** + * Attributes that can be used with a SignInButton. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + *
AttributeDescription
{@link #SignInButton_buttonSize reparto_izca.keymon.lat:buttonSize}
{@link #SignInButton_colorScheme reparto_izca.keymon.lat:colorScheme}
{@link #SignInButton_scopeUris reparto_izca.keymon.lat:scopeUris}
+ * @see #SignInButton_buttonSize + * @see #SignInButton_colorScheme + * @see #SignInButton_scopeUris + */ + public static final int[] SignInButton={ + 0x7f020002, 0x7f02000b, 0x7f020028 + }; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#buttonSize} + * attribute's value can be found in the {@link #SignInButton} array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
icon_only2
standard0
wide1
+ * + * @attr name reparto_izca.keymon.lat:buttonSize + */ + public static final int SignInButton_buttonSize=0; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#colorScheme} + * attribute's value can be found in the {@link #SignInButton} array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
auto2
dark0
light1
+ * + * @attr name reparto_izca.keymon.lat:colorScheme + */ + public static final int SignInButton_colorScheme=1; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#scopeUris} + * attribute's value can be found in the {@link #SignInButton} array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_izca.keymon.lat:scopeUris + */ + public static final int SignInButton_scopeUris=2; + /** + * Attributes that can be used with a SwipeRefreshLayout. + *

Includes the following attributes:

+ * + * + * + * + * + *
AttributeDescription
{@link #SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor reparto_izca.keymon.lat:swipeRefreshLayoutProgressSpinnerBackgroundColor}Background color for SwipeRefreshLayout progress spinner.
+ * @see #SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor + */ + public static final int[] SwipeRefreshLayout={ + 0x7f02002a + }; + /** + *

+ * @attr description + * Background color for SwipeRefreshLayout progress spinner. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name reparto_izca.keymon.lat:swipeRefreshLayoutProgressSpinnerBackgroundColor + */ + public static final int SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor=0; + } + public static final class xml { + public static final int provider_paths=0x7f0c0000; + } +} \ No newline at end of file diff --git a/B4A/Objects/gen/reparto_intmex/keymon/lat/R.java b/B4A/Objects/gen/reparto_intmex/keymon/lat/R.java new file mode 100644 index 0000000..2e0d2d6 --- /dev/null +++ b/B4A/Objects/gen/reparto_intmex/keymon/lat/R.java @@ -0,0 +1,2121 @@ +/* AUTO-GENERATED FILE. DO NOT MODIFY. + * + * This class was automatically generated by the + * aapt tool from the resource data it found. It + * should not be modified by hand. + */ + +package reparto_intmex.keymon.lat; + +public final class R { + public static final class anim { + public static final int fragment_close_enter=0x7f010000; + public static final int fragment_close_exit=0x7f010001; + public static final int fragment_fade_enter=0x7f010002; + public static final int fragment_fade_exit=0x7f010003; + public static final int fragment_fast_out_extra_slow_in=0x7f010004; + public static final int fragment_open_enter=0x7f010005; + public static final int fragment_open_exit=0x7f010006; + } + public static final class attr { + /** + * Alpha multiplier applied to the base color. + *

May be a floating point value, such as "1.2". + */ + public static final int alpha=0x7f020000; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int ambientEnabled=0x7f020001; + /** + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
icon_only2
standard0
wide1
+ */ + public static final int buttonSize=0x7f020002; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraBearing=0x7f020003; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraMaxZoomPreference=0x7f020004; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraMinZoomPreference=0x7f020005; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraTargetLat=0x7f020006; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraTargetLng=0x7f020007; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraTilt=0x7f020008; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraZoom=0x7f020009; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int circleCrop=0x7f02000a; + /** + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
auto2
dark0
light1
+ */ + public static final int colorScheme=0x7f02000b; + /** + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int coordinatorLayoutStyle=0x7f02000c; + /** + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int drawerLayoutStyle=0x7f02000d; + /** + *

May be a dimension value, which is a floating point number appended with a + * unit such as "14.5sp". + * Available units are: px (pixels), dp (density-independent pixels), + * sp (scaled pixels based on preferred font size), in (inches), and + * mm (millimeters). + */ + public static final int elevation=0x7f02000e; + /** + * The reference to the font file to be used. This should be a file in the res/font folder + * and should therefore have an R reference value. E.g. @font/myfont + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int font=0x7f02000f; + /** + * The authority of the Font Provider to be used for the request. + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int fontProviderAuthority=0x7f020010; + /** + * The sets of hashes for the certificates the provider should be signed with. This is + * used to verify the identity of the provider, and is only required if the provider is not + * part of the system image. This value may point to one list or a list of lists, where each + * individual list represents one collection of signature hashes. Refer to your font provider's + * documentation for these values. + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int fontProviderCerts=0x7f020011; + /** + * The strategy to be used when fetching font data from a font provider in XML layouts. + * This attribute is ignored when the resource is loaded from code, as it is equivalent to the + * choice of API between {@link + * androidx.core.content.res.ResourcesCompat#getFont(Context, int)} (blocking) and + * {@link + * androidx.core.content.res.ResourcesCompat#getFont(Context, int, FontCallback, Handler)} + * (async). + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + *
ConstantValueDescription
async1The async font fetch works as follows. + * First, check the local cache, then if the requeted font is not cached, trigger a + * request the font and continue with layout inflation. Once the font fetch succeeds, the + * target text view will be refreshed with the downloaded font data. The + * fontProviderFetchTimeout will be ignored if async loading is specified.
blocking0The blocking font fetch works as follows. + * First, check the local cache, then if the requested font is not cached, request the + * font from the provider and wait until it is finished. You can change the length of + * the timeout by modifying fontProviderFetchTimeout. If the timeout happens, the + * default typeface will be used instead.
+ */ + public static final int fontProviderFetchStrategy=0x7f020012; + /** + * The length of the timeout during fetching. + *

May be an integer value, such as "100". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + *
ConstantValueDescription
foreverffffffffA special value for the timeout. In this case, the blocking font fetching will not + * timeout and wait until a reply is received from the font provider.
+ */ + public static final int fontProviderFetchTimeout=0x7f020013; + /** + * The package for the Font Provider to be used for the request. This is used to verify + * the identity of the provider. + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int fontProviderPackage=0x7f020014; + /** + * The query to be sent over to the provider. Refer to your font provider's documentation + * on the format of this string. + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int fontProviderQuery=0x7f020015; + /** + * The style of the given font file. This will be used when the font is being loaded into + * the font stack and will override any style information in the font's header tables. If + * unspecified, the value in the font's header tables will be used. + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + *
ConstantValueDescription
italic1
normal0
+ */ + public static final int fontStyle=0x7f020016; + /** + * The variation settings to be applied to the font. The string should be in the following + * format: "'tag1' value1, 'tag2' value2, ...". If the default variation settings should be + * used, or the font used does not support variation settings, this attribute needs not be + * specified. + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int fontVariationSettings=0x7f020017; + /** + * The weight of the given font file. This will be used when the font is being loaded into + * the font stack and will override any weight information in the font's header tables. Must + * be a positive number, a multiple of 100, and between 100 and 900, inclusive. The most + * common values are 400 for regular weight and 700 for bold weight. If unspecified, the value + * in the font's header tables will be used. + *

May be an integer value, such as "100". + */ + public static final int fontWeight=0x7f020018; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int imageAspectRatio=0x7f020019; + /** + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
adjust_height2
adjust_width1
none0
+ */ + public static final int imageAspectRatioAdjust=0x7f02001a; + /** + * A reference to an array of integers representing the + * locations of horizontal keylines in dp from the starting edge. + * Child views can refer to these keylines for alignment using + * layout_keyline="index" where index is a 0-based index into + * this array. + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int keylines=0x7f02001b; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int latLngBoundsNorthEastLatitude=0x7f02001c; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int latLngBoundsNorthEastLongitude=0x7f02001d; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int latLngBoundsSouthWestLatitude=0x7f02001e; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int latLngBoundsSouthWestLongitude=0x7f02001f; + /** + * The id of an anchor view that this view should position relative to. + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int layout_anchor=0x7f020020; + /** + * Specifies how an object should position relative to an anchor, on both the X and Y axes, + * within its parent's bounds. + *

Must be one or more (separated by '|') of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
bottom50Push object to the bottom of its container, not changing its size.
center11Place the object in the center of its container in both the vertical and horizontal axis, not changing its size.
center_horizontal1Place object in the horizontal center of its container, not changing its size.
center_vertical10Place object in the vertical center of its container, not changing its size.
clip_horizontal8Additional option that can be set to have the left and/or right edges of + * the child clipped to its container's bounds. + * The clip will be based on the horizontal gravity: a left gravity will clip the right + * edge, a right gravity will clip the left edge, and neither will clip both edges.
clip_vertical80Additional option that can be set to have the top and/or bottom edges of + * the child clipped to its container's bounds. + * The clip will be based on the vertical gravity: a top gravity will clip the bottom + * edge, a bottom gravity will clip the top edge, and neither will clip both edges.
end800005Push object to the end of its container, not changing its size.
fill77Grow the horizontal and vertical size of the object if needed so it completely fills its container.
fill_horizontal7Grow the horizontal size of the object if needed so it completely fills its container.
fill_vertical70Grow the vertical size of the object if needed so it completely fills its container.
left3Push object to the left of its container, not changing its size.
right5Push object to the right of its container, not changing its size.
start800003Push object to the beginning of its container, not changing its size.
top30Push object to the top of its container, not changing its size.
+ */ + public static final int layout_anchorGravity=0x7f020021; + /** + * The class name of a Behavior class defining special runtime behavior + * for this child view. + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int layout_behavior=0x7f020022; + /** + * Specifies how this view dodges the inset edges of the CoordinatorLayout. + *

Must be one or more (separated by '|') of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
all77Dodge all the inset edges.
bottom50Dodge the bottom inset edge.
end800005Dodge the end inset edge.
left3Dodge the left inset edge.
none0Don't dodge any edges
right5Dodge the right inset edge.
start800003Dodge the start inset edge.
top30Dodge the top inset edge.
+ */ + public static final int layout_dodgeInsetEdges=0x7f020023; + /** + * Specifies how this view insets the CoordinatorLayout and make some other views + * dodge it. + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
bottom50Inset the bottom edge.
end800005Inset the end edge.
left3Inset the left edge.
none0Don't inset.
right5Inset the right edge.
start800003Inset the start edge.
top30Inset the top edge.
+ */ + public static final int layout_insetEdge=0x7f020024; + /** + * The index of a keyline this view should position relative to. + * android:layout_gravity will affect how the view aligns to the + * specified keyline. + *

May be an integer value, such as "100". + */ + public static final int layout_keyline=0x7f020025; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int liteMode=0x7f020026; + /** + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
hybrid4
none0
normal1
satellite2
terrain3
+ */ + public static final int mapType=0x7f020027; + /** + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int scopeUris=0x7f020028; + /** + * Drawable to display behind the status bar when the view is set to draw behind it. + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + */ + public static final int statusBarBackground=0x7f020029; + /** + * Background color for SwipeRefreshLayout progress spinner. + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + */ + public static final int swipeRefreshLayoutProgressSpinnerBackgroundColor=0x7f02002a; + /** + * The index of the font in the tcc font file. If the font file referenced is not in the + * tcc format, this attribute needs not be specified. + *

May be an integer value, such as "100". + */ + public static final int ttcIndex=0x7f02002b; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiCompass=0x7f02002c; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiMapToolbar=0x7f02002d; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiRotateGestures=0x7f02002e; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiScrollGestures=0x7f02002f; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiScrollGesturesDuringRotateOrZoom=0x7f020030; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiTiltGestures=0x7f020031; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiZoomControls=0x7f020032; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiZoomGestures=0x7f020033; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int useViewLifecycle=0x7f020034; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int zOrderOnTop=0x7f020035; + } + public static final class color { + public static final int androidx_core_ripple_material_light=0x7f030000; + public static final int androidx_core_secondary_text_default_material_light=0x7f030001; + public static final int common_google_signin_btn_text_dark=0x7f030002; + public static final int common_google_signin_btn_text_dark_default=0x7f030003; + public static final int common_google_signin_btn_text_dark_disabled=0x7f030004; + public static final int common_google_signin_btn_text_dark_focused=0x7f030005; + public static final int common_google_signin_btn_text_dark_pressed=0x7f030006; + public static final int common_google_signin_btn_text_light=0x7f030007; + public static final int common_google_signin_btn_text_light_default=0x7f030008; + public static final int common_google_signin_btn_text_light_disabled=0x7f030009; + public static final int common_google_signin_btn_text_light_focused=0x7f03000a; + public static final int common_google_signin_btn_text_light_pressed=0x7f03000b; + public static final int common_google_signin_btn_tint=0x7f03000c; + public static final int notification_action_color_filter=0x7f03000d; + public static final int notification_icon_bg_color=0x7f03000e; + public static final int notification_material_background_media_default_color=0x7f03000f; + public static final int primary_text_default_material_dark=0x7f030010; + public static final int secondary_text_default_material_dark=0x7f030011; + } + public static final class dimen { + public static final int compat_button_inset_horizontal_material=0x7f040000; + public static final int compat_button_inset_vertical_material=0x7f040001; + public static final int compat_button_padding_horizontal_material=0x7f040002; + public static final int compat_button_padding_vertical_material=0x7f040003; + public static final int compat_control_corner_material=0x7f040004; + public static final int compat_notification_large_icon_max_height=0x7f040005; + public static final int compat_notification_large_icon_max_width=0x7f040006; + public static final int def_drawer_elevation=0x7f040007; + public static final int notification_action_icon_size=0x7f040008; + public static final int notification_action_text_size=0x7f040009; + public static final int notification_big_circle_margin=0x7f04000a; + public static final int notification_content_margin_start=0x7f04000b; + public static final int notification_large_icon_height=0x7f04000c; + public static final int notification_large_icon_width=0x7f04000d; + public static final int notification_main_column_padding_top=0x7f04000e; + public static final int notification_media_narrow_margin=0x7f04000f; + public static final int notification_right_icon_size=0x7f040010; + public static final int notification_right_side_padding_top=0x7f040011; + public static final int notification_small_icon_background_padding=0x7f040012; + public static final int notification_small_icon_size_as_large=0x7f040013; + public static final int notification_subtext_size=0x7f040014; + public static final int notification_top_pad=0x7f040015; + public static final int notification_top_pad_large_text=0x7f040016; + public static final int subtitle_corner_radius=0x7f040017; + public static final int subtitle_outline_width=0x7f040018; + public static final int subtitle_shadow_offset=0x7f040019; + public static final int subtitle_shadow_radius=0x7f04001a; + } + public static final class drawable { + public static final int common_full_open_on_phone=0x7f050000; + public static final int common_google_signin_btn_icon_dark=0x7f050001; + public static final int common_google_signin_btn_icon_dark_focused=0x7f050002; + public static final int common_google_signin_btn_icon_dark_normal=0x7f050003; + public static final int common_google_signin_btn_icon_dark_normal_background=0x7f050004; + public static final int common_google_signin_btn_icon_disabled=0x7f050005; + public static final int common_google_signin_btn_icon_light=0x7f050006; + public static final int common_google_signin_btn_icon_light_focused=0x7f050007; + public static final int common_google_signin_btn_icon_light_normal=0x7f050008; + public static final int common_google_signin_btn_icon_light_normal_background=0x7f050009; + public static final int common_google_signin_btn_text_dark=0x7f05000a; + public static final int common_google_signin_btn_text_dark_focused=0x7f05000b; + public static final int common_google_signin_btn_text_dark_normal=0x7f05000c; + public static final int common_google_signin_btn_text_dark_normal_background=0x7f05000d; + public static final int common_google_signin_btn_text_disabled=0x7f05000e; + public static final int common_google_signin_btn_text_light=0x7f05000f; + public static final int common_google_signin_btn_text_light_focused=0x7f050010; + public static final int common_google_signin_btn_text_light_normal=0x7f050011; + public static final int common_google_signin_btn_text_light_normal_background=0x7f050012; + public static final int googleg_disabled_color_18=0x7f050013; + public static final int googleg_standard_color_18=0x7f050014; + public static final int icon=0x7f050015; + public static final int notification_action_background=0x7f050016; + public static final int notification_bg=0x7f050017; + public static final int notification_bg_low=0x7f050018; + public static final int notification_bg_low_normal=0x7f050019; + public static final int notification_bg_low_pressed=0x7f05001a; + public static final int notification_bg_normal=0x7f05001b; + public static final int notification_bg_normal_pressed=0x7f05001c; + public static final int notification_icon_background=0x7f05001d; + public static final int notification_template_icon_bg=0x7f05001e; + public static final int notification_template_icon_low_bg=0x7f05001f; + public static final int notification_tile_bg=0x7f050020; + public static final int notify_panel_notification_icon_bg=0x7f050021; + } + public static final class id { + public static final int accessibility_action_clickable_span=0x7f060000; + public static final int accessibility_custom_action_0=0x7f060001; + public static final int accessibility_custom_action_1=0x7f060002; + public static final int accessibility_custom_action_10=0x7f060003; + public static final int accessibility_custom_action_11=0x7f060004; + public static final int accessibility_custom_action_12=0x7f060005; + public static final int accessibility_custom_action_13=0x7f060006; + public static final int accessibility_custom_action_14=0x7f060007; + public static final int accessibility_custom_action_15=0x7f060008; + public static final int accessibility_custom_action_16=0x7f060009; + public static final int accessibility_custom_action_17=0x7f06000a; + public static final int accessibility_custom_action_18=0x7f06000b; + public static final int accessibility_custom_action_19=0x7f06000c; + public static final int accessibility_custom_action_2=0x7f06000d; + public static final int accessibility_custom_action_20=0x7f06000e; + public static final int accessibility_custom_action_21=0x7f06000f; + public static final int accessibility_custom_action_22=0x7f060010; + public static final int accessibility_custom_action_23=0x7f060011; + public static final int accessibility_custom_action_24=0x7f060012; + public static final int accessibility_custom_action_25=0x7f060013; + public static final int accessibility_custom_action_26=0x7f060014; + public static final int accessibility_custom_action_27=0x7f060015; + public static final int accessibility_custom_action_28=0x7f060016; + public static final int accessibility_custom_action_29=0x7f060017; + public static final int accessibility_custom_action_3=0x7f060018; + public static final int accessibility_custom_action_30=0x7f060019; + public static final int accessibility_custom_action_31=0x7f06001a; + public static final int accessibility_custom_action_4=0x7f06001b; + public static final int accessibility_custom_action_5=0x7f06001c; + public static final int accessibility_custom_action_6=0x7f06001d; + public static final int accessibility_custom_action_7=0x7f06001e; + public static final int accessibility_custom_action_8=0x7f06001f; + public static final int accessibility_custom_action_9=0x7f060020; + public static final int action0=0x7f060021; + public static final int action_container=0x7f060022; + public static final int action_divider=0x7f060023; + public static final int action_image=0x7f060024; + public static final int action_text=0x7f060025; + public static final int actions=0x7f060026; + public static final int adjust_height=0x7f060027; + public static final int adjust_width=0x7f060028; + public static final int all=0x7f060029; + public static final int async=0x7f06002a; + public static final int auto=0x7f06002b; + public static final int blocking=0x7f06002c; + public static final int bottom=0x7f06002d; + public static final int cancel_action=0x7f06002e; + public static final int center=0x7f06002f; + public static final int center_horizontal=0x7f060030; + public static final int center_vertical=0x7f060031; + public static final int chronometer=0x7f060032; + public static final int clip_horizontal=0x7f060033; + public static final int clip_vertical=0x7f060034; + public static final int dark=0x7f060035; + public static final int dialog_button=0x7f060036; + public static final int end=0x7f060037; + public static final int end_padder=0x7f060038; + public static final int fill=0x7f060039; + public static final int fill_horizontal=0x7f06003a; + public static final int fill_vertical=0x7f06003b; + public static final int forever=0x7f06003c; + public static final int fragment_container_view_tag=0x7f06003d; + public static final int hybrid=0x7f06003e; + public static final int icon=0x7f06003f; + public static final int icon_group=0x7f060040; + public static final int icon_only=0x7f060041; + public static final int info=0x7f060042; + public static final int italic=0x7f060043; + public static final int left=0x7f060044; + public static final int light=0x7f060045; + public static final int line1=0x7f060046; + public static final int line3=0x7f060047; + public static final int media_actions=0x7f060048; + public static final int none=0x7f060049; + public static final int normal=0x7f06004a; + public static final int notification_background=0x7f06004b; + public static final int notification_main_column=0x7f06004c; + public static final int notification_main_column_container=0x7f06004d; + public static final int right=0x7f06004e; + public static final int right_icon=0x7f06004f; + public static final int right_side=0x7f060050; + public static final int satellite=0x7f060051; + public static final int standard=0x7f060052; + public static final int start=0x7f060053; + public static final int status_bar_latest_event_content=0x7f060054; + public static final int tag_accessibility_actions=0x7f060055; + public static final int tag_accessibility_clickable_spans=0x7f060056; + public static final int tag_accessibility_heading=0x7f060057; + public static final int tag_accessibility_pane_title=0x7f060058; + public static final int tag_screen_reader_focusable=0x7f060059; + public static final int tag_transition_group=0x7f06005a; + public static final int tag_unhandled_key_event_manager=0x7f06005b; + public static final int tag_unhandled_key_listeners=0x7f06005c; + public static final int terrain=0x7f06005d; + public static final int text=0x7f06005e; + public static final int text2=0x7f06005f; + public static final int time=0x7f060060; + public static final int title=0x7f060061; + public static final int top=0x7f060062; + public static final int visible_removing_fragment_view_tag=0x7f060063; + public static final int wide=0x7f060064; + } + public static final class integer { + public static final int cancel_button_image_alpha=0x7f070000; + public static final int google_play_services_version=0x7f070001; + public static final int status_bar_notification_info_maxnum=0x7f070002; + } + public static final class layout { + public static final int custom_dialog=0x7f080000; + public static final int notification_action=0x7f080001; + public static final int notification_action_tombstone=0x7f080002; + public static final int notification_media_action=0x7f080003; + public static final int notification_media_cancel_action=0x7f080004; + public static final int notification_template_big_media=0x7f080005; + public static final int notification_template_big_media_custom=0x7f080006; + public static final int notification_template_big_media_narrow=0x7f080007; + public static final int notification_template_big_media_narrow_custom=0x7f080008; + public static final int notification_template_custom_big=0x7f080009; + public static final int notification_template_icon_group=0x7f08000a; + public static final int notification_template_lines_media=0x7f08000b; + public static final int notification_template_media=0x7f08000c; + public static final int notification_template_media_custom=0x7f08000d; + public static final int notification_template_part_chronometer=0x7f08000e; + public static final int notification_template_part_time=0x7f08000f; + } + public static final class string { + public static final int common_google_play_services_enable_button=0x7f090000; + public static final int common_google_play_services_enable_text=0x7f090001; + public static final int common_google_play_services_enable_title=0x7f090002; + public static final int common_google_play_services_install_button=0x7f090003; + public static final int common_google_play_services_install_text=0x7f090004; + public static final int common_google_play_services_install_title=0x7f090005; + public static final int common_google_play_services_notification_channel_name=0x7f090006; + public static final int common_google_play_services_notification_ticker=0x7f090007; + public static final int common_google_play_services_unknown_issue=0x7f090008; + public static final int common_google_play_services_unsupported_text=0x7f090009; + public static final int common_google_play_services_update_button=0x7f09000a; + public static final int common_google_play_services_update_text=0x7f09000b; + public static final int common_google_play_services_update_title=0x7f09000c; + public static final int common_google_play_services_updating_text=0x7f09000d; + public static final int common_google_play_services_wear_update_text=0x7f09000e; + public static final int common_open_on_phone=0x7f09000f; + public static final int common_signin_button_text=0x7f090010; + public static final int common_signin_button_text_long=0x7f090011; + public static final int status_bar_notification_info_overflow=0x7f090012; + } + public static final class style { + public static final int LightTheme=0x7f0a0000; + public static final int LowerCaseMenu=0x7f0a0001; + public static final int TextAppearance_Compat_Notification=0x7f0a0002; + public static final int TextAppearance_Compat_Notification_Info=0x7f0a0003; + public static final int TextAppearance_Compat_Notification_Info_Media=0x7f0a0004; + public static final int TextAppearance_Compat_Notification_Line2=0x7f0a0005; + public static final int TextAppearance_Compat_Notification_Line2_Media=0x7f0a0006; + public static final int TextAppearance_Compat_Notification_Media=0x7f0a0007; + public static final int TextAppearance_Compat_Notification_Time=0x7f0a0008; + public static final int TextAppearance_Compat_Notification_Time_Media=0x7f0a0009; + public static final int TextAppearance_Compat_Notification_Title=0x7f0a000a; + public static final int TextAppearance_Compat_Notification_Title_Media=0x7f0a000b; + public static final int Widget_Compat_NotificationActionContainer=0x7f0a000c; + public static final int Widget_Compat_NotificationActionText=0x7f0a000d; + public static final int Widget_Support_CoordinatorLayout=0x7f0a000e; + } + public static final class styleable { + /** + * Attributes that can be used with a ColorStateListItem. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + *
AttributeDescription
{@link #ColorStateListItem_android_color android:color}
{@link #ColorStateListItem_android_alpha android:alpha}
{@link #ColorStateListItem_alpha reparto_intmex.keymon.lat:alpha}Alpha multiplier applied to the base color.
+ * @see #ColorStateListItem_android_color + * @see #ColorStateListItem_android_alpha + * @see #ColorStateListItem_alpha + */ + public static final int[] ColorStateListItem={ + 0x010101a5, 0x0101031f, 0x7f020000 + }; + /** + *

+ * @attr description + * Base color for this state. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name android:color + */ + public static final int ColorStateListItem_android_color=0; + /** + *

This symbol is the offset where the {@link android.R.attr#alpha} + * attribute's value can be found in the {@link #ColorStateListItem} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:alpha + */ + public static final int ColorStateListItem_android_alpha=1; + /** + *

+ * @attr description + * Alpha multiplier applied to the base color. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_intmex.keymon.lat:alpha + */ + public static final int ColorStateListItem_alpha=2; + /** + * Attributes that can be used with a CoordinatorLayout. + *

Includes the following attributes:

+ * + * + * + * + * + * + *
AttributeDescription
{@link #CoordinatorLayout_keylines reparto_intmex.keymon.lat:keylines}A reference to an array of integers representing the + * locations of horizontal keylines in dp from the starting edge.
{@link #CoordinatorLayout_statusBarBackground reparto_intmex.keymon.lat:statusBarBackground}Drawable to display behind the status bar when the view is set to draw behind it.
+ * @see #CoordinatorLayout_keylines + * @see #CoordinatorLayout_statusBarBackground + */ + public static final int[] CoordinatorLayout={ + 0x7f02001b, 0x7f020029 + }; + /** + *

+ * @attr description + * A reference to an array of integers representing the + * locations of horizontal keylines in dp from the starting edge. + * Child views can refer to these keylines for alignment using + * layout_keyline="index" where index is a 0-based index into + * this array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name reparto_intmex.keymon.lat:keylines + */ + public static final int CoordinatorLayout_keylines=0; + /** + *

+ * @attr description + * Drawable to display behind the status bar when the view is set to draw behind it. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name reparto_intmex.keymon.lat:statusBarBackground + */ + public static final int CoordinatorLayout_statusBarBackground=1; + /** + * Attributes that can be used with a CoordinatorLayout_Layout. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #CoordinatorLayout_Layout_android_layout_gravity android:layout_gravity}
{@link #CoordinatorLayout_Layout_layout_anchor reparto_intmex.keymon.lat:layout_anchor}The id of an anchor view that this view should position relative to.
{@link #CoordinatorLayout_Layout_layout_anchorGravity reparto_intmex.keymon.lat:layout_anchorGravity}Specifies how an object should position relative to an anchor, on both the X and Y axes, + * within its parent's bounds.
{@link #CoordinatorLayout_Layout_layout_behavior reparto_intmex.keymon.lat:layout_behavior}The class name of a Behavior class defining special runtime behavior + * for this child view.
{@link #CoordinatorLayout_Layout_layout_dodgeInsetEdges reparto_intmex.keymon.lat:layout_dodgeInsetEdges}Specifies how this view dodges the inset edges of the CoordinatorLayout.
{@link #CoordinatorLayout_Layout_layout_insetEdge reparto_intmex.keymon.lat:layout_insetEdge}Specifies how this view insets the CoordinatorLayout and make some other views + * dodge it.
{@link #CoordinatorLayout_Layout_layout_keyline reparto_intmex.keymon.lat:layout_keyline}The index of a keyline this view should position relative to.
+ * @see #CoordinatorLayout_Layout_android_layout_gravity + * @see #CoordinatorLayout_Layout_layout_anchor + * @see #CoordinatorLayout_Layout_layout_anchorGravity + * @see #CoordinatorLayout_Layout_layout_behavior + * @see #CoordinatorLayout_Layout_layout_dodgeInsetEdges + * @see #CoordinatorLayout_Layout_layout_insetEdge + * @see #CoordinatorLayout_Layout_layout_keyline + */ + public static final int[] CoordinatorLayout_Layout={ + 0x010100b3, 0x7f020020, 0x7f020021, 0x7f020022, + 0x7f020023, 0x7f020024, 0x7f020025 + }; + /** + *

This symbol is the offset where the {@link android.R.attr#layout_gravity} + * attribute's value can be found in the {@link #CoordinatorLayout_Layout} array. + * + *

Must be one or more (separated by '|') of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
bottom50
center11
center_horizontal1
center_vertical10
clip_horizontal8
clip_vertical80
end800005
fill77
fill_horizontal7
fill_vertical70
left3
right5
start800003
top30
+ * + * @attr name android:layout_gravity + */ + public static final int CoordinatorLayout_Layout_android_layout_gravity=0; + /** + *

+ * @attr description + * The id of an anchor view that this view should position relative to. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name reparto_intmex.keymon.lat:layout_anchor + */ + public static final int CoordinatorLayout_Layout_layout_anchor=1; + /** + *

+ * @attr description + * Specifies how an object should position relative to an anchor, on both the X and Y axes, + * within its parent's bounds. + * + *

Must be one or more (separated by '|') of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
bottom50Push object to the bottom of its container, not changing its size.
center11Place the object in the center of its container in both the vertical and horizontal axis, not changing its size.
center_horizontal1Place object in the horizontal center of its container, not changing its size.
center_vertical10Place object in the vertical center of its container, not changing its size.
clip_horizontal8Additional option that can be set to have the left and/or right edges of + * the child clipped to its container's bounds. + * The clip will be based on the horizontal gravity: a left gravity will clip the right + * edge, a right gravity will clip the left edge, and neither will clip both edges.
clip_vertical80Additional option that can be set to have the top and/or bottom edges of + * the child clipped to its container's bounds. + * The clip will be based on the vertical gravity: a top gravity will clip the bottom + * edge, a bottom gravity will clip the top edge, and neither will clip both edges.
end800005Push object to the end of its container, not changing its size.
fill77Grow the horizontal and vertical size of the object if needed so it completely fills its container.
fill_horizontal7Grow the horizontal size of the object if needed so it completely fills its container.
fill_vertical70Grow the vertical size of the object if needed so it completely fills its container.
left3Push object to the left of its container, not changing its size.
right5Push object to the right of its container, not changing its size.
start800003Push object to the beginning of its container, not changing its size.
top30Push object to the top of its container, not changing its size.
+ * + * @attr name reparto_intmex.keymon.lat:layout_anchorGravity + */ + public static final int CoordinatorLayout_Layout_layout_anchorGravity=2; + /** + *

+ * @attr description + * The class name of a Behavior class defining special runtime behavior + * for this child view. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_intmex.keymon.lat:layout_behavior + */ + public static final int CoordinatorLayout_Layout_layout_behavior=3; + /** + *

+ * @attr description + * Specifies how this view dodges the inset edges of the CoordinatorLayout. + * + *

Must be one or more (separated by '|') of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
all77Dodge all the inset edges.
bottom50Dodge the bottom inset edge.
end800005Dodge the end inset edge.
left3Dodge the left inset edge.
none0Don't dodge any edges
right5Dodge the right inset edge.
start800003Dodge the start inset edge.
top30Dodge the top inset edge.
+ * + * @attr name reparto_intmex.keymon.lat:layout_dodgeInsetEdges + */ + public static final int CoordinatorLayout_Layout_layout_dodgeInsetEdges=4; + /** + *

+ * @attr description + * Specifies how this view insets the CoordinatorLayout and make some other views + * dodge it. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
bottom50Inset the bottom edge.
end800005Inset the end edge.
left3Inset the left edge.
none0Don't inset.
right5Inset the right edge.
start800003Inset the start edge.
top30Inset the top edge.
+ * + * @attr name reparto_intmex.keymon.lat:layout_insetEdge + */ + public static final int CoordinatorLayout_Layout_layout_insetEdge=5; + /** + *

+ * @attr description + * The index of a keyline this view should position relative to. + * android:layout_gravity will affect how the view aligns to the + * specified keyline. + * + *

May be an integer value, such as "100". + * + * @attr name reparto_intmex.keymon.lat:layout_keyline + */ + public static final int CoordinatorLayout_Layout_layout_keyline=6; + /** + * Attributes that can be used with a DrawerLayout. + *

Includes the following attributes:

+ * + * + * + * + * + *
AttributeDescription
{@link #DrawerLayout_elevation reparto_intmex.keymon.lat:elevation}
+ * @see #DrawerLayout_elevation + */ + public static final int[] DrawerLayout={ + 0x7f02000e + }; + /** + *

+ * @attr description + * The height difference between the drawer and the base surface. Only takes effect on API 21 and above + * + *

May be a dimension value, which is a floating point number appended with a + * unit such as "14.5sp". + * Available units are: px (pixels), dp (density-independent pixels), + * sp (scaled pixels based on preferred font size), in (inches), and + * mm (millimeters). + * + * @attr name reparto_intmex.keymon.lat:elevation + */ + public static final int DrawerLayout_elevation=0; + /** + * Attributes that can be used with a FontFamily. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #FontFamily_fontProviderAuthority reparto_intmex.keymon.lat:fontProviderAuthority}The authority of the Font Provider to be used for the request.
{@link #FontFamily_fontProviderCerts reparto_intmex.keymon.lat:fontProviderCerts}The sets of hashes for the certificates the provider should be signed with.
{@link #FontFamily_fontProviderFetchStrategy reparto_intmex.keymon.lat:fontProviderFetchStrategy}The strategy to be used when fetching font data from a font provider in XML layouts.
{@link #FontFamily_fontProviderFetchTimeout reparto_intmex.keymon.lat:fontProviderFetchTimeout}The length of the timeout during fetching.
{@link #FontFamily_fontProviderPackage reparto_intmex.keymon.lat:fontProviderPackage}The package for the Font Provider to be used for the request.
{@link #FontFamily_fontProviderQuery reparto_intmex.keymon.lat:fontProviderQuery}The query to be sent over to the provider.
+ * @see #FontFamily_fontProviderAuthority + * @see #FontFamily_fontProviderCerts + * @see #FontFamily_fontProviderFetchStrategy + * @see #FontFamily_fontProviderFetchTimeout + * @see #FontFamily_fontProviderPackage + * @see #FontFamily_fontProviderQuery + */ + public static final int[] FontFamily={ + 0x7f020010, 0x7f020011, 0x7f020012, 0x7f020013, + 0x7f020014, 0x7f020015 + }; + /** + *

+ * @attr description + * The authority of the Font Provider to be used for the request. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_intmex.keymon.lat:fontProviderAuthority + */ + public static final int FontFamily_fontProviderAuthority=0; + /** + *

+ * @attr description + * The sets of hashes for the certificates the provider should be signed with. This is + * used to verify the identity of the provider, and is only required if the provider is not + * part of the system image. This value may point to one list or a list of lists, where each + * individual list represents one collection of signature hashes. Refer to your font provider's + * documentation for these values. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name reparto_intmex.keymon.lat:fontProviderCerts + */ + public static final int FontFamily_fontProviderCerts=1; + /** + *

+ * @attr description + * The strategy to be used when fetching font data from a font provider in XML layouts. + * This attribute is ignored when the resource is loaded from code, as it is equivalent to the + * choice of API between {@link + * androidx.core.content.res.ResourcesCompat#getFont(Context, int)} (blocking) and + * {@link + * androidx.core.content.res.ResourcesCompat#getFont(Context, int, FontCallback, Handler)} + * (async). + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + *
ConstantValueDescription
async1The async font fetch works as follows. + * First, check the local cache, then if the requeted font is not cached, trigger a + * request the font and continue with layout inflation. Once the font fetch succeeds, the + * target text view will be refreshed with the downloaded font data. The + * fontProviderFetchTimeout will be ignored if async loading is specified.
blocking0The blocking font fetch works as follows. + * First, check the local cache, then if the requested font is not cached, request the + * font from the provider and wait until it is finished. You can change the length of + * the timeout by modifying fontProviderFetchTimeout. If the timeout happens, the + * default typeface will be used instead.
+ * + * @attr name reparto_intmex.keymon.lat:fontProviderFetchStrategy + */ + public static final int FontFamily_fontProviderFetchStrategy=2; + /** + *

+ * @attr description + * The length of the timeout during fetching. + * + *

May be an integer value, such as "100". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + *
ConstantValueDescription
foreverffffffffA special value for the timeout. In this case, the blocking font fetching will not + * timeout and wait until a reply is received from the font provider.
+ * + * @attr name reparto_intmex.keymon.lat:fontProviderFetchTimeout + */ + public static final int FontFamily_fontProviderFetchTimeout=3; + /** + *

+ * @attr description + * The package for the Font Provider to be used for the request. This is used to verify + * the identity of the provider. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_intmex.keymon.lat:fontProviderPackage + */ + public static final int FontFamily_fontProviderPackage=4; + /** + *

+ * @attr description + * The query to be sent over to the provider. Refer to your font provider's documentation + * on the format of this string. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_intmex.keymon.lat:fontProviderQuery + */ + public static final int FontFamily_fontProviderQuery=5; + /** + * Attributes that can be used with a FontFamilyFont. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #FontFamilyFont_android_font android:font}
{@link #FontFamilyFont_android_fontWeight android:fontWeight}
{@link #FontFamilyFont_android_fontStyle android:fontStyle}
{@link #FontFamilyFont_android_ttcIndex android:ttcIndex}
{@link #FontFamilyFont_android_fontVariationSettings android:fontVariationSettings}
{@link #FontFamilyFont_font reparto_intmex.keymon.lat:font}The reference to the font file to be used.
{@link #FontFamilyFont_fontStyle reparto_intmex.keymon.lat:fontStyle}The style of the given font file.
{@link #FontFamilyFont_fontVariationSettings reparto_intmex.keymon.lat:fontVariationSettings}The variation settings to be applied to the font.
{@link #FontFamilyFont_fontWeight reparto_intmex.keymon.lat:fontWeight}The weight of the given font file.
{@link #FontFamilyFont_ttcIndex reparto_intmex.keymon.lat:ttcIndex}The index of the font in the tcc font file.
+ * @see #FontFamilyFont_android_font + * @see #FontFamilyFont_android_fontWeight + * @see #FontFamilyFont_android_fontStyle + * @see #FontFamilyFont_android_ttcIndex + * @see #FontFamilyFont_android_fontVariationSettings + * @see #FontFamilyFont_font + * @see #FontFamilyFont_fontStyle + * @see #FontFamilyFont_fontVariationSettings + * @see #FontFamilyFont_fontWeight + * @see #FontFamilyFont_ttcIndex + */ + public static final int[] FontFamilyFont={ + 0x01010532, 0x01010533, 0x0101053f, 0x0101056f, + 0x01010570, 0x7f02000f, 0x7f020016, 0x7f020017, + 0x7f020018, 0x7f02002b + }; + /** + *

This symbol is the offset where the {@link android.R.attr#font} + * attribute's value can be found in the {@link #FontFamilyFont} array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name android:font + */ + public static final int FontFamilyFont_android_font=0; + /** + *

This symbol is the offset where the {@link android.R.attr#fontWeight} + * attribute's value can be found in the {@link #FontFamilyFont} array. + * + *

May be an integer value, such as "100". + * + * @attr name android:fontWeight + */ + public static final int FontFamilyFont_android_fontWeight=1; + /** + *

+ * @attr description + * References to the framework attrs + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + *
ConstantValueDescription
italic1
normal0
+ * + * @attr name android:fontStyle + */ + public static final int FontFamilyFont_android_fontStyle=2; + /** + *

This symbol is the offset where the {@link android.R.attr#ttcIndex} + * attribute's value can be found in the {@link #FontFamilyFont} array. + * + *

May be an integer value, such as "100". + * + * @attr name android:ttcIndex + */ + public static final int FontFamilyFont_android_ttcIndex=3; + /** + *

This symbol is the offset where the {@link android.R.attr#fontVariationSettings} + * attribute's value can be found in the {@link #FontFamilyFont} array. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name android:fontVariationSettings + */ + public static final int FontFamilyFont_android_fontVariationSettings=4; + /** + *

+ * @attr description + * The reference to the font file to be used. This should be a file in the res/font folder + * and should therefore have an R reference value. E.g. @font/myfont + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name reparto_intmex.keymon.lat:font + */ + public static final int FontFamilyFont_font=5; + /** + *

+ * @attr description + * The style of the given font file. This will be used when the font is being loaded into + * the font stack and will override any style information in the font's header tables. If + * unspecified, the value in the font's header tables will be used. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + *
ConstantValueDescription
italic1
normal0
+ * + * @attr name reparto_intmex.keymon.lat:fontStyle + */ + public static final int FontFamilyFont_fontStyle=6; + /** + *

+ * @attr description + * The variation settings to be applied to the font. The string should be in the following + * format: "'tag1' value1, 'tag2' value2, ...". If the default variation settings should be + * used, or the font used does not support variation settings, this attribute needs not be + * specified. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_intmex.keymon.lat:fontVariationSettings + */ + public static final int FontFamilyFont_fontVariationSettings=7; + /** + *

+ * @attr description + * The weight of the given font file. This will be used when the font is being loaded into + * the font stack and will override any weight information in the font's header tables. Must + * be a positive number, a multiple of 100, and between 100 and 900, inclusive. The most + * common values are 400 for regular weight and 700 for bold weight. If unspecified, the value + * in the font's header tables will be used. + * + *

May be an integer value, such as "100". + * + * @attr name reparto_intmex.keymon.lat:fontWeight + */ + public static final int FontFamilyFont_fontWeight=8; + /** + *

+ * @attr description + * The index of the font in the tcc font file. If the font file referenced is not in the + * tcc format, this attribute needs not be specified. + * + *

May be an integer value, such as "100". + * + * @attr name reparto_intmex.keymon.lat:ttcIndex + */ + public static final int FontFamilyFont_ttcIndex=9; + /** + * Attributes that can be used with a Fragment. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + *
AttributeDescription
{@link #Fragment_android_name android:name}
{@link #Fragment_android_id android:id}
{@link #Fragment_android_tag android:tag}
+ * @see #Fragment_android_name + * @see #Fragment_android_id + * @see #Fragment_android_tag + */ + public static final int[] Fragment={ + 0x01010003, 0x010100d0, 0x010100d1 + }; + /** + *

This symbol is the offset where the {@link android.R.attr#name} + * attribute's value can be found in the {@link #Fragment} array. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name android:name + */ + public static final int Fragment_android_name=0; + /** + *

This symbol is the offset where the {@link android.R.attr#id} + * attribute's value can be found in the {@link #Fragment} array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name android:id + */ + public static final int Fragment_android_id=1; + /** + *

This symbol is the offset where the {@link android.R.attr#tag} + * attribute's value can be found in the {@link #Fragment} array. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name android:tag + */ + public static final int Fragment_android_tag=2; + /** + * Attributes that can be used with a FragmentContainerView. + *

Includes the following attributes:

+ * + * + * + * + * + * + *
AttributeDescription
{@link #FragmentContainerView_android_name android:name}
{@link #FragmentContainerView_android_tag android:tag}
+ * @see #FragmentContainerView_android_name + * @see #FragmentContainerView_android_tag + */ + public static final int[] FragmentContainerView={ + 0x01010003, 0x010100d1 + }; + /** + *

This symbol is the offset where the {@link android.R.attr#name} + * attribute's value can be found in the {@link #FragmentContainerView} array. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name android:name + */ + public static final int FragmentContainerView_android_name=0; + /** + *

This symbol is the offset where the {@link android.R.attr#tag} + * attribute's value can be found in the {@link #FragmentContainerView} array. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name android:tag + */ + public static final int FragmentContainerView_android_tag=1; + /** + * Attributes that can be used with a GradientColor. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #GradientColor_android_startColor android:startColor}
{@link #GradientColor_android_endColor android:endColor}
{@link #GradientColor_android_type android:type}
{@link #GradientColor_android_centerX android:centerX}
{@link #GradientColor_android_centerY android:centerY}
{@link #GradientColor_android_gradientRadius android:gradientRadius}
{@link #GradientColor_android_tileMode android:tileMode}
{@link #GradientColor_android_centerColor android:centerColor}
{@link #GradientColor_android_startX android:startX}
{@link #GradientColor_android_startY android:startY}
{@link #GradientColor_android_endX android:endX}
{@link #GradientColor_android_endY android:endY}
+ * @see #GradientColor_android_startColor + * @see #GradientColor_android_endColor + * @see #GradientColor_android_type + * @see #GradientColor_android_centerX + * @see #GradientColor_android_centerY + * @see #GradientColor_android_gradientRadius + * @see #GradientColor_android_tileMode + * @see #GradientColor_android_centerColor + * @see #GradientColor_android_startX + * @see #GradientColor_android_startY + * @see #GradientColor_android_endX + * @see #GradientColor_android_endY + */ + public static final int[] GradientColor={ + 0x0101019d, 0x0101019e, 0x010101a1, 0x010101a2, + 0x010101a3, 0x010101a4, 0x01010201, 0x0101020b, + 0x01010510, 0x01010511, 0x01010512, 0x01010513 + }; + /** + *

+ * @attr description + * Start color of the gradient. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name android:startColor + */ + public static final int GradientColor_android_startColor=0; + /** + *

+ * @attr description + * End color of the gradient. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name android:endColor + */ + public static final int GradientColor_android_endColor=1; + /** + *

+ * @attr description + * Type of gradient. The default type is linear. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
linear0
radial1
sweep2
+ * + * @attr name android:type + */ + public static final int GradientColor_android_type=2; + /** + *

+ * @attr description + * X coordinate of the center of the gradient within the path. + * + *

May be a floating point value, such as "1.2". + *

May be a fractional value, which is a floating point number appended with + * either % or %p, such as "14.5%". + * The % suffix always means a percentage of the base size; + * the optional %p suffix provides a size relative to some parent container. + * + * @attr name android:centerX + */ + public static final int GradientColor_android_centerX=3; + /** + *

+ * @attr description + * Y coordinate of the center of the gradient within the path. + * + *

May be a floating point value, such as "1.2". + *

May be a fractional value, which is a floating point number appended with + * either % or %p, such as "14.5%". + * The % suffix always means a percentage of the base size; + * the optional %p suffix provides a size relative to some parent container. + * + * @attr name android:centerY + */ + public static final int GradientColor_android_centerY=4; + /** + *

+ * @attr description + * Radius of the gradient, used only with radial gradient. + * + *

May be a floating point value, such as "1.2". + *

May be a dimension value, which is a floating point number appended with a + * unit such as "14.5sp". + * Available units are: px (pixels), dp (density-independent pixels), + * sp (scaled pixels based on preferred font size), in (inches), and + * mm (millimeters). + *

May be a fractional value, which is a floating point number appended with + * either % or %p, such as "14.5%". + * The % suffix always means a percentage of the base size; + * the optional %p suffix provides a size relative to some parent container. + * + * @attr name android:gradientRadius + */ + public static final int GradientColor_android_gradientRadius=5; + /** + *

+ * @attr description + * Defines the tile mode of the gradient. SweepGradient doesn't support tiling. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
clamp0
disabledffffffff
mirror2
repeat1
+ * + * @attr name android:tileMode + */ + public static final int GradientColor_android_tileMode=6; + /** + *

+ * @attr description + * Optional center color. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name android:centerColor + */ + public static final int GradientColor_android_centerColor=7; + /** + *

+ * @attr description + * X coordinate of the start point origin of the gradient. + * Defined in same coordinates as the path itself + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:startX + */ + public static final int GradientColor_android_startX=8; + /** + *

+ * @attr description + * Y coordinate of the start point of the gradient within the shape. + * Defined in same coordinates as the path itself + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:startY + */ + public static final int GradientColor_android_startY=9; + /** + *

+ * @attr description + * X coordinate of the end point origin of the gradient. + * Defined in same coordinates as the path itself + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:endX + */ + public static final int GradientColor_android_endX=10; + /** + *

+ * @attr description + * Y coordinate of the end point of the gradient within the shape. + * Defined in same coordinates as the path itself + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:endY + */ + public static final int GradientColor_android_endY=11; + /** + * Attributes that can be used with a GradientColorItem. + *

Includes the following attributes:

+ * + * + * + * + * + * + *
AttributeDescription
{@link #GradientColorItem_android_color android:color}
{@link #GradientColorItem_android_offset android:offset}
+ * @see #GradientColorItem_android_color + * @see #GradientColorItem_android_offset + */ + public static final int[] GradientColorItem={ + 0x010101a5, 0x01010514 + }; + /** + *

+ * @attr description + * The current color for the offset inside the gradient. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name android:color + */ + public static final int GradientColorItem_android_color=0; + /** + *

+ * @attr description + * The offset (or ratio) of this current color item inside the gradient. + * The value is only meaningful when it is between 0 and 1. + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:offset + */ + public static final int GradientColorItem_android_offset=1; + /** + * Attributes that can be used with a LoadingImageView. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + *
AttributeDescription
{@link #LoadingImageView_circleCrop reparto_intmex.keymon.lat:circleCrop}
{@link #LoadingImageView_imageAspectRatio reparto_intmex.keymon.lat:imageAspectRatio}
{@link #LoadingImageView_imageAspectRatioAdjust reparto_intmex.keymon.lat:imageAspectRatioAdjust}
+ * @see #LoadingImageView_circleCrop + * @see #LoadingImageView_imageAspectRatio + * @see #LoadingImageView_imageAspectRatioAdjust + */ + public static final int[] LoadingImageView={ + 0x7f02000a, 0x7f020019, 0x7f02001a + }; + /** + *

This symbol is the offset where the {@link reparto_intmex.keymon.lat.R.attr#circleCrop} + * attribute's value can be found in the {@link #LoadingImageView} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_intmex.keymon.lat:circleCrop + */ + public static final int LoadingImageView_circleCrop=0; + /** + *

This symbol is the offset where the {@link reparto_intmex.keymon.lat.R.attr#imageAspectRatio} + * attribute's value can be found in the {@link #LoadingImageView} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_intmex.keymon.lat:imageAspectRatio + */ + public static final int LoadingImageView_imageAspectRatio=1; + /** + *

This symbol is the offset where the {@link reparto_intmex.keymon.lat.R.attr#imageAspectRatioAdjust} + * attribute's value can be found in the {@link #LoadingImageView} array. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
adjust_height2
adjust_width1
none0
+ * + * @attr name reparto_intmex.keymon.lat:imageAspectRatioAdjust + */ + public static final int LoadingImageView_imageAspectRatioAdjust=2; + /** + * Attributes that can be used with a MapAttrs. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #MapAttrs_ambientEnabled reparto_intmex.keymon.lat:ambientEnabled}
{@link #MapAttrs_cameraBearing reparto_intmex.keymon.lat:cameraBearing}
{@link #MapAttrs_cameraMaxZoomPreference reparto_intmex.keymon.lat:cameraMaxZoomPreference}
{@link #MapAttrs_cameraMinZoomPreference reparto_intmex.keymon.lat:cameraMinZoomPreference}
{@link #MapAttrs_cameraTargetLat reparto_intmex.keymon.lat:cameraTargetLat}
{@link #MapAttrs_cameraTargetLng reparto_intmex.keymon.lat:cameraTargetLng}
{@link #MapAttrs_cameraTilt reparto_intmex.keymon.lat:cameraTilt}
{@link #MapAttrs_cameraZoom reparto_intmex.keymon.lat:cameraZoom}
{@link #MapAttrs_latLngBoundsNorthEastLatitude reparto_intmex.keymon.lat:latLngBoundsNorthEastLatitude}
{@link #MapAttrs_latLngBoundsNorthEastLongitude reparto_intmex.keymon.lat:latLngBoundsNorthEastLongitude}
{@link #MapAttrs_latLngBoundsSouthWestLatitude reparto_intmex.keymon.lat:latLngBoundsSouthWestLatitude}
{@link #MapAttrs_latLngBoundsSouthWestLongitude reparto_intmex.keymon.lat:latLngBoundsSouthWestLongitude}
{@link #MapAttrs_liteMode reparto_intmex.keymon.lat:liteMode}
{@link #MapAttrs_mapType reparto_intmex.keymon.lat:mapType}
{@link #MapAttrs_uiCompass reparto_intmex.keymon.lat:uiCompass}
{@link #MapAttrs_uiMapToolbar reparto_intmex.keymon.lat:uiMapToolbar}
{@link #MapAttrs_uiRotateGestures reparto_intmex.keymon.lat:uiRotateGestures}
{@link #MapAttrs_uiScrollGestures reparto_intmex.keymon.lat:uiScrollGestures}
{@link #MapAttrs_uiScrollGesturesDuringRotateOrZoom reparto_intmex.keymon.lat:uiScrollGesturesDuringRotateOrZoom}
{@link #MapAttrs_uiTiltGestures reparto_intmex.keymon.lat:uiTiltGestures}
{@link #MapAttrs_uiZoomControls reparto_intmex.keymon.lat:uiZoomControls}
{@link #MapAttrs_uiZoomGestures reparto_intmex.keymon.lat:uiZoomGestures}
{@link #MapAttrs_useViewLifecycle reparto_intmex.keymon.lat:useViewLifecycle}
{@link #MapAttrs_zOrderOnTop reparto_intmex.keymon.lat:zOrderOnTop}
+ * @see #MapAttrs_ambientEnabled + * @see #MapAttrs_cameraBearing + * @see #MapAttrs_cameraMaxZoomPreference + * @see #MapAttrs_cameraMinZoomPreference + * @see #MapAttrs_cameraTargetLat + * @see #MapAttrs_cameraTargetLng + * @see #MapAttrs_cameraTilt + * @see #MapAttrs_cameraZoom + * @see #MapAttrs_latLngBoundsNorthEastLatitude + * @see #MapAttrs_latLngBoundsNorthEastLongitude + * @see #MapAttrs_latLngBoundsSouthWestLatitude + * @see #MapAttrs_latLngBoundsSouthWestLongitude + * @see #MapAttrs_liteMode + * @see #MapAttrs_mapType + * @see #MapAttrs_uiCompass + * @see #MapAttrs_uiMapToolbar + * @see #MapAttrs_uiRotateGestures + * @see #MapAttrs_uiScrollGestures + * @see #MapAttrs_uiScrollGesturesDuringRotateOrZoom + * @see #MapAttrs_uiTiltGestures + * @see #MapAttrs_uiZoomControls + * @see #MapAttrs_uiZoomGestures + * @see #MapAttrs_useViewLifecycle + * @see #MapAttrs_zOrderOnTop + */ + public static final int[] MapAttrs={ + 0x7f020001, 0x7f020003, 0x7f020004, 0x7f020005, + 0x7f020006, 0x7f020007, 0x7f020008, 0x7f020009, + 0x7f02001c, 0x7f02001d, 0x7f02001e, 0x7f02001f, + 0x7f020026, 0x7f020027, 0x7f02002c, 0x7f02002d, + 0x7f02002e, 0x7f02002f, 0x7f020030, 0x7f020031, + 0x7f020032, 0x7f020033, 0x7f020034, 0x7f020035 + }; + /** + *

This symbol is the offset where the {@link reparto_intmex.keymon.lat.R.attr#ambientEnabled} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_intmex.keymon.lat:ambientEnabled + */ + public static final int MapAttrs_ambientEnabled=0; + /** + *

This symbol is the offset where the {@link reparto_intmex.keymon.lat.R.attr#cameraBearing} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_intmex.keymon.lat:cameraBearing + */ + public static final int MapAttrs_cameraBearing=1; + /** + *

This symbol is the offset where the {@link reparto_intmex.keymon.lat.R.attr#cameraMaxZoomPreference} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_intmex.keymon.lat:cameraMaxZoomPreference + */ + public static final int MapAttrs_cameraMaxZoomPreference=2; + /** + *

This symbol is the offset where the {@link reparto_intmex.keymon.lat.R.attr#cameraMinZoomPreference} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_intmex.keymon.lat:cameraMinZoomPreference + */ + public static final int MapAttrs_cameraMinZoomPreference=3; + /** + *

This symbol is the offset where the {@link reparto_intmex.keymon.lat.R.attr#cameraTargetLat} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_intmex.keymon.lat:cameraTargetLat + */ + public static final int MapAttrs_cameraTargetLat=4; + /** + *

This symbol is the offset where the {@link reparto_intmex.keymon.lat.R.attr#cameraTargetLng} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_intmex.keymon.lat:cameraTargetLng + */ + public static final int MapAttrs_cameraTargetLng=5; + /** + *

This symbol is the offset where the {@link reparto_intmex.keymon.lat.R.attr#cameraTilt} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_intmex.keymon.lat:cameraTilt + */ + public static final int MapAttrs_cameraTilt=6; + /** + *

This symbol is the offset where the {@link reparto_intmex.keymon.lat.R.attr#cameraZoom} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_intmex.keymon.lat:cameraZoom + */ + public static final int MapAttrs_cameraZoom=7; + /** + *

This symbol is the offset where the {@link reparto_intmex.keymon.lat.R.attr#latLngBoundsNorthEastLatitude} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_intmex.keymon.lat:latLngBoundsNorthEastLatitude + */ + public static final int MapAttrs_latLngBoundsNorthEastLatitude=8; + /** + *

This symbol is the offset where the {@link reparto_intmex.keymon.lat.R.attr#latLngBoundsNorthEastLongitude} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_intmex.keymon.lat:latLngBoundsNorthEastLongitude + */ + public static final int MapAttrs_latLngBoundsNorthEastLongitude=9; + /** + *

This symbol is the offset where the {@link reparto_intmex.keymon.lat.R.attr#latLngBoundsSouthWestLatitude} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_intmex.keymon.lat:latLngBoundsSouthWestLatitude + */ + public static final int MapAttrs_latLngBoundsSouthWestLatitude=10; + /** + *

This symbol is the offset where the {@link reparto_intmex.keymon.lat.R.attr#latLngBoundsSouthWestLongitude} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_intmex.keymon.lat:latLngBoundsSouthWestLongitude + */ + public static final int MapAttrs_latLngBoundsSouthWestLongitude=11; + /** + *

This symbol is the offset where the {@link reparto_intmex.keymon.lat.R.attr#liteMode} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_intmex.keymon.lat:liteMode + */ + public static final int MapAttrs_liteMode=12; + /** + *

This symbol is the offset where the {@link reparto_intmex.keymon.lat.R.attr#mapType} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
hybrid4
none0
normal1
satellite2
terrain3
+ * + * @attr name reparto_intmex.keymon.lat:mapType + */ + public static final int MapAttrs_mapType=13; + /** + *

This symbol is the offset where the {@link reparto_intmex.keymon.lat.R.attr#uiCompass} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_intmex.keymon.lat:uiCompass + */ + public static final int MapAttrs_uiCompass=14; + /** + *

This symbol is the offset where the {@link reparto_intmex.keymon.lat.R.attr#uiMapToolbar} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_intmex.keymon.lat:uiMapToolbar + */ + public static final int MapAttrs_uiMapToolbar=15; + /** + *

This symbol is the offset where the {@link reparto_intmex.keymon.lat.R.attr#uiRotateGestures} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_intmex.keymon.lat:uiRotateGestures + */ + public static final int MapAttrs_uiRotateGestures=16; + /** + *

This symbol is the offset where the {@link reparto_intmex.keymon.lat.R.attr#uiScrollGestures} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_intmex.keymon.lat:uiScrollGestures + */ + public static final int MapAttrs_uiScrollGestures=17; + /** + *

This symbol is the offset where the {@link reparto_intmex.keymon.lat.R.attr#uiScrollGesturesDuringRotateOrZoom} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_intmex.keymon.lat:uiScrollGesturesDuringRotateOrZoom + */ + public static final int MapAttrs_uiScrollGesturesDuringRotateOrZoom=18; + /** + *

This symbol is the offset where the {@link reparto_intmex.keymon.lat.R.attr#uiTiltGestures} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_intmex.keymon.lat:uiTiltGestures + */ + public static final int MapAttrs_uiTiltGestures=19; + /** + *

This symbol is the offset where the {@link reparto_intmex.keymon.lat.R.attr#uiZoomControls} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_intmex.keymon.lat:uiZoomControls + */ + public static final int MapAttrs_uiZoomControls=20; + /** + *

This symbol is the offset where the {@link reparto_intmex.keymon.lat.R.attr#uiZoomGestures} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_intmex.keymon.lat:uiZoomGestures + */ + public static final int MapAttrs_uiZoomGestures=21; + /** + *

This symbol is the offset where the {@link reparto_intmex.keymon.lat.R.attr#useViewLifecycle} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_intmex.keymon.lat:useViewLifecycle + */ + public static final int MapAttrs_useViewLifecycle=22; + /** + *

This symbol is the offset where the {@link reparto_intmex.keymon.lat.R.attr#zOrderOnTop} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_intmex.keymon.lat:zOrderOnTop + */ + public static final int MapAttrs_zOrderOnTop=23; + /** + * Attributes that can be used with a SignInButton. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + *
AttributeDescription
{@link #SignInButton_buttonSize reparto_intmex.keymon.lat:buttonSize}
{@link #SignInButton_colorScheme reparto_intmex.keymon.lat:colorScheme}
{@link #SignInButton_scopeUris reparto_intmex.keymon.lat:scopeUris}
+ * @see #SignInButton_buttonSize + * @see #SignInButton_colorScheme + * @see #SignInButton_scopeUris + */ + public static final int[] SignInButton={ + 0x7f020002, 0x7f02000b, 0x7f020028 + }; + /** + *

This symbol is the offset where the {@link reparto_intmex.keymon.lat.R.attr#buttonSize} + * attribute's value can be found in the {@link #SignInButton} array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
icon_only2
standard0
wide1
+ * + * @attr name reparto_intmex.keymon.lat:buttonSize + */ + public static final int SignInButton_buttonSize=0; + /** + *

This symbol is the offset where the {@link reparto_intmex.keymon.lat.R.attr#colorScheme} + * attribute's value can be found in the {@link #SignInButton} array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
auto2
dark0
light1
+ * + * @attr name reparto_intmex.keymon.lat:colorScheme + */ + public static final int SignInButton_colorScheme=1; + /** + *

This symbol is the offset where the {@link reparto_intmex.keymon.lat.R.attr#scopeUris} + * attribute's value can be found in the {@link #SignInButton} array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_intmex.keymon.lat:scopeUris + */ + public static final int SignInButton_scopeUris=2; + /** + * Attributes that can be used with a SwipeRefreshLayout. + *

Includes the following attributes:

+ * + * + * + * + * + *
AttributeDescription
{@link #SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor reparto_intmex.keymon.lat:swipeRefreshLayoutProgressSpinnerBackgroundColor}Background color for SwipeRefreshLayout progress spinner.
+ * @see #SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor + */ + public static final int[] SwipeRefreshLayout={ + 0x7f02002a + }; + /** + *

+ * @attr description + * Background color for SwipeRefreshLayout progress spinner. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name reparto_intmex.keymon.lat:swipeRefreshLayoutProgressSpinnerBackgroundColor + */ + public static final int SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor=0; + } + public static final class xml { + public static final int provider_paths=0x7f0c0000; + } +} \ No newline at end of file diff --git a/B4A/Objects/gen/reparto_izca/keymon/lat/R.java b/B4A/Objects/gen/reparto_izca/keymon/lat/R.java new file mode 100644 index 0000000..29814fd --- /dev/null +++ b/B4A/Objects/gen/reparto_izca/keymon/lat/R.java @@ -0,0 +1,2121 @@ +/* AUTO-GENERATED FILE. DO NOT MODIFY. + * + * This class was automatically generated by the + * aapt tool from the resource data it found. It + * should not be modified by hand. + */ + +package reparto_izca.keymon.lat; + +public final class R { + public static final class anim { + public static final int fragment_close_enter=0x7f010000; + public static final int fragment_close_exit=0x7f010001; + public static final int fragment_fade_enter=0x7f010002; + public static final int fragment_fade_exit=0x7f010003; + public static final int fragment_fast_out_extra_slow_in=0x7f010004; + public static final int fragment_open_enter=0x7f010005; + public static final int fragment_open_exit=0x7f010006; + } + public static final class attr { + /** + * Alpha multiplier applied to the base color. + *

May be a floating point value, such as "1.2". + */ + public static final int alpha=0x7f020000; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int ambientEnabled=0x7f020001; + /** + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
icon_only2
standard0
wide1
+ */ + public static final int buttonSize=0x7f020002; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraBearing=0x7f020003; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraMaxZoomPreference=0x7f020004; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraMinZoomPreference=0x7f020005; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraTargetLat=0x7f020006; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraTargetLng=0x7f020007; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraTilt=0x7f020008; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraZoom=0x7f020009; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int circleCrop=0x7f02000a; + /** + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
auto2
dark0
light1
+ */ + public static final int colorScheme=0x7f02000b; + /** + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int coordinatorLayoutStyle=0x7f02000c; + /** + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int drawerLayoutStyle=0x7f02000d; + /** + *

May be a dimension value, which is a floating point number appended with a + * unit such as "14.5sp". + * Available units are: px (pixels), dp (density-independent pixels), + * sp (scaled pixels based on preferred font size), in (inches), and + * mm (millimeters). + */ + public static final int elevation=0x7f02000e; + /** + * The reference to the font file to be used. This should be a file in the res/font folder + * and should therefore have an R reference value. E.g. @font/myfont + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int font=0x7f02000f; + /** + * The authority of the Font Provider to be used for the request. + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int fontProviderAuthority=0x7f020010; + /** + * The sets of hashes for the certificates the provider should be signed with. This is + * used to verify the identity of the provider, and is only required if the provider is not + * part of the system image. This value may point to one list or a list of lists, where each + * individual list represents one collection of signature hashes. Refer to your font provider's + * documentation for these values. + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int fontProviderCerts=0x7f020011; + /** + * The strategy to be used when fetching font data from a font provider in XML layouts. + * This attribute is ignored when the resource is loaded from code, as it is equivalent to the + * choice of API between {@link + * androidx.core.content.res.ResourcesCompat#getFont(Context, int)} (blocking) and + * {@link + * androidx.core.content.res.ResourcesCompat#getFont(Context, int, FontCallback, Handler)} + * (async). + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + *
ConstantValueDescription
async1The async font fetch works as follows. + * First, check the local cache, then if the requeted font is not cached, trigger a + * request the font and continue with layout inflation. Once the font fetch succeeds, the + * target text view will be refreshed with the downloaded font data. The + * fontProviderFetchTimeout will be ignored if async loading is specified.
blocking0The blocking font fetch works as follows. + * First, check the local cache, then if the requested font is not cached, request the + * font from the provider and wait until it is finished. You can change the length of + * the timeout by modifying fontProviderFetchTimeout. If the timeout happens, the + * default typeface will be used instead.
+ */ + public static final int fontProviderFetchStrategy=0x7f020012; + /** + * The length of the timeout during fetching. + *

May be an integer value, such as "100". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + *
ConstantValueDescription
foreverffffffffA special value for the timeout. In this case, the blocking font fetching will not + * timeout and wait until a reply is received from the font provider.
+ */ + public static final int fontProviderFetchTimeout=0x7f020013; + /** + * The package for the Font Provider to be used for the request. This is used to verify + * the identity of the provider. + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int fontProviderPackage=0x7f020014; + /** + * The query to be sent over to the provider. Refer to your font provider's documentation + * on the format of this string. + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int fontProviderQuery=0x7f020015; + /** + * The style of the given font file. This will be used when the font is being loaded into + * the font stack and will override any style information in the font's header tables. If + * unspecified, the value in the font's header tables will be used. + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + *
ConstantValueDescription
italic1
normal0
+ */ + public static final int fontStyle=0x7f020016; + /** + * The variation settings to be applied to the font. The string should be in the following + * format: "'tag1' value1, 'tag2' value2, ...". If the default variation settings should be + * used, or the font used does not support variation settings, this attribute needs not be + * specified. + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int fontVariationSettings=0x7f020017; + /** + * The weight of the given font file. This will be used when the font is being loaded into + * the font stack and will override any weight information in the font's header tables. Must + * be a positive number, a multiple of 100, and between 100 and 900, inclusive. The most + * common values are 400 for regular weight and 700 for bold weight. If unspecified, the value + * in the font's header tables will be used. + *

May be an integer value, such as "100". + */ + public static final int fontWeight=0x7f020018; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int imageAspectRatio=0x7f020019; + /** + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
adjust_height2
adjust_width1
none0
+ */ + public static final int imageAspectRatioAdjust=0x7f02001a; + /** + * A reference to an array of integers representing the + * locations of horizontal keylines in dp from the starting edge. + * Child views can refer to these keylines for alignment using + * layout_keyline="index" where index is a 0-based index into + * this array. + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int keylines=0x7f02001b; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int latLngBoundsNorthEastLatitude=0x7f02001c; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int latLngBoundsNorthEastLongitude=0x7f02001d; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int latLngBoundsSouthWestLatitude=0x7f02001e; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int latLngBoundsSouthWestLongitude=0x7f02001f; + /** + * The id of an anchor view that this view should position relative to. + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int layout_anchor=0x7f020020; + /** + * Specifies how an object should position relative to an anchor, on both the X and Y axes, + * within its parent's bounds. + *

Must be one or more (separated by '|') of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
bottom50Push object to the bottom of its container, not changing its size.
center11Place the object in the center of its container in both the vertical and horizontal axis, not changing its size.
center_horizontal1Place object in the horizontal center of its container, not changing its size.
center_vertical10Place object in the vertical center of its container, not changing its size.
clip_horizontal8Additional option that can be set to have the left and/or right edges of + * the child clipped to its container's bounds. + * The clip will be based on the horizontal gravity: a left gravity will clip the right + * edge, a right gravity will clip the left edge, and neither will clip both edges.
clip_vertical80Additional option that can be set to have the top and/or bottom edges of + * the child clipped to its container's bounds. + * The clip will be based on the vertical gravity: a top gravity will clip the bottom + * edge, a bottom gravity will clip the top edge, and neither will clip both edges.
end800005Push object to the end of its container, not changing its size.
fill77Grow the horizontal and vertical size of the object if needed so it completely fills its container.
fill_horizontal7Grow the horizontal size of the object if needed so it completely fills its container.
fill_vertical70Grow the vertical size of the object if needed so it completely fills its container.
left3Push object to the left of its container, not changing its size.
right5Push object to the right of its container, not changing its size.
start800003Push object to the beginning of its container, not changing its size.
top30Push object to the top of its container, not changing its size.
+ */ + public static final int layout_anchorGravity=0x7f020021; + /** + * The class name of a Behavior class defining special runtime behavior + * for this child view. + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int layout_behavior=0x7f020022; + /** + * Specifies how this view dodges the inset edges of the CoordinatorLayout. + *

Must be one or more (separated by '|') of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
all77Dodge all the inset edges.
bottom50Dodge the bottom inset edge.
end800005Dodge the end inset edge.
left3Dodge the left inset edge.
none0Don't dodge any edges
right5Dodge the right inset edge.
start800003Dodge the start inset edge.
top30Dodge the top inset edge.
+ */ + public static final int layout_dodgeInsetEdges=0x7f020023; + /** + * Specifies how this view insets the CoordinatorLayout and make some other views + * dodge it. + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
bottom50Inset the bottom edge.
end800005Inset the end edge.
left3Inset the left edge.
none0Don't inset.
right5Inset the right edge.
start800003Inset the start edge.
top30Inset the top edge.
+ */ + public static final int layout_insetEdge=0x7f020024; + /** + * The index of a keyline this view should position relative to. + * android:layout_gravity will affect how the view aligns to the + * specified keyline. + *

May be an integer value, such as "100". + */ + public static final int layout_keyline=0x7f020025; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int liteMode=0x7f020026; + /** + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
hybrid4
none0
normal1
satellite2
terrain3
+ */ + public static final int mapType=0x7f020027; + /** + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int scopeUris=0x7f020028; + /** + * Drawable to display behind the status bar when the view is set to draw behind it. + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + */ + public static final int statusBarBackground=0x7f020029; + /** + * Background color for SwipeRefreshLayout progress spinner. + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + */ + public static final int swipeRefreshLayoutProgressSpinnerBackgroundColor=0x7f02002a; + /** + * The index of the font in the tcc font file. If the font file referenced is not in the + * tcc format, this attribute needs not be specified. + *

May be an integer value, such as "100". + */ + public static final int ttcIndex=0x7f02002b; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiCompass=0x7f02002c; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiMapToolbar=0x7f02002d; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiRotateGestures=0x7f02002e; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiScrollGestures=0x7f02002f; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiScrollGesturesDuringRotateOrZoom=0x7f020030; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiTiltGestures=0x7f020031; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiZoomControls=0x7f020032; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiZoomGestures=0x7f020033; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int useViewLifecycle=0x7f020034; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int zOrderOnTop=0x7f020035; + } + public static final class color { + public static final int androidx_core_ripple_material_light=0x7f030000; + public static final int androidx_core_secondary_text_default_material_light=0x7f030001; + public static final int common_google_signin_btn_text_dark=0x7f030002; + public static final int common_google_signin_btn_text_dark_default=0x7f030003; + public static final int common_google_signin_btn_text_dark_disabled=0x7f030004; + public static final int common_google_signin_btn_text_dark_focused=0x7f030005; + public static final int common_google_signin_btn_text_dark_pressed=0x7f030006; + public static final int common_google_signin_btn_text_light=0x7f030007; + public static final int common_google_signin_btn_text_light_default=0x7f030008; + public static final int common_google_signin_btn_text_light_disabled=0x7f030009; + public static final int common_google_signin_btn_text_light_focused=0x7f03000a; + public static final int common_google_signin_btn_text_light_pressed=0x7f03000b; + public static final int common_google_signin_btn_tint=0x7f03000c; + public static final int notification_action_color_filter=0x7f03000d; + public static final int notification_icon_bg_color=0x7f03000e; + public static final int notification_material_background_media_default_color=0x7f03000f; + public static final int primary_text_default_material_dark=0x7f030010; + public static final int secondary_text_default_material_dark=0x7f030011; + } + public static final class dimen { + public static final int compat_button_inset_horizontal_material=0x7f040000; + public static final int compat_button_inset_vertical_material=0x7f040001; + public static final int compat_button_padding_horizontal_material=0x7f040002; + public static final int compat_button_padding_vertical_material=0x7f040003; + public static final int compat_control_corner_material=0x7f040004; + public static final int compat_notification_large_icon_max_height=0x7f040005; + public static final int compat_notification_large_icon_max_width=0x7f040006; + public static final int def_drawer_elevation=0x7f040007; + public static final int notification_action_icon_size=0x7f040008; + public static final int notification_action_text_size=0x7f040009; + public static final int notification_big_circle_margin=0x7f04000a; + public static final int notification_content_margin_start=0x7f04000b; + public static final int notification_large_icon_height=0x7f04000c; + public static final int notification_large_icon_width=0x7f04000d; + public static final int notification_main_column_padding_top=0x7f04000e; + public static final int notification_media_narrow_margin=0x7f04000f; + public static final int notification_right_icon_size=0x7f040010; + public static final int notification_right_side_padding_top=0x7f040011; + public static final int notification_small_icon_background_padding=0x7f040012; + public static final int notification_small_icon_size_as_large=0x7f040013; + public static final int notification_subtext_size=0x7f040014; + public static final int notification_top_pad=0x7f040015; + public static final int notification_top_pad_large_text=0x7f040016; + public static final int subtitle_corner_radius=0x7f040017; + public static final int subtitle_outline_width=0x7f040018; + public static final int subtitle_shadow_offset=0x7f040019; + public static final int subtitle_shadow_radius=0x7f04001a; + } + public static final class drawable { + public static final int common_full_open_on_phone=0x7f050000; + public static final int common_google_signin_btn_icon_dark=0x7f050001; + public static final int common_google_signin_btn_icon_dark_focused=0x7f050002; + public static final int common_google_signin_btn_icon_dark_normal=0x7f050003; + public static final int common_google_signin_btn_icon_dark_normal_background=0x7f050004; + public static final int common_google_signin_btn_icon_disabled=0x7f050005; + public static final int common_google_signin_btn_icon_light=0x7f050006; + public static final int common_google_signin_btn_icon_light_focused=0x7f050007; + public static final int common_google_signin_btn_icon_light_normal=0x7f050008; + public static final int common_google_signin_btn_icon_light_normal_background=0x7f050009; + public static final int common_google_signin_btn_text_dark=0x7f05000a; + public static final int common_google_signin_btn_text_dark_focused=0x7f05000b; + public static final int common_google_signin_btn_text_dark_normal=0x7f05000c; + public static final int common_google_signin_btn_text_dark_normal_background=0x7f05000d; + public static final int common_google_signin_btn_text_disabled=0x7f05000e; + public static final int common_google_signin_btn_text_light=0x7f05000f; + public static final int common_google_signin_btn_text_light_focused=0x7f050010; + public static final int common_google_signin_btn_text_light_normal=0x7f050011; + public static final int common_google_signin_btn_text_light_normal_background=0x7f050012; + public static final int googleg_disabled_color_18=0x7f050013; + public static final int googleg_standard_color_18=0x7f050014; + public static final int icon=0x7f050015; + public static final int notification_action_background=0x7f050016; + public static final int notification_bg=0x7f050017; + public static final int notification_bg_low=0x7f050018; + public static final int notification_bg_low_normal=0x7f050019; + public static final int notification_bg_low_pressed=0x7f05001a; + public static final int notification_bg_normal=0x7f05001b; + public static final int notification_bg_normal_pressed=0x7f05001c; + public static final int notification_icon_background=0x7f05001d; + public static final int notification_template_icon_bg=0x7f05001e; + public static final int notification_template_icon_low_bg=0x7f05001f; + public static final int notification_tile_bg=0x7f050020; + public static final int notify_panel_notification_icon_bg=0x7f050021; + } + public static final class id { + public static final int accessibility_action_clickable_span=0x7f060000; + public static final int accessibility_custom_action_0=0x7f060001; + public static final int accessibility_custom_action_1=0x7f060002; + public static final int accessibility_custom_action_10=0x7f060003; + public static final int accessibility_custom_action_11=0x7f060004; + public static final int accessibility_custom_action_12=0x7f060005; + public static final int accessibility_custom_action_13=0x7f060006; + public static final int accessibility_custom_action_14=0x7f060007; + public static final int accessibility_custom_action_15=0x7f060008; + public static final int accessibility_custom_action_16=0x7f060009; + public static final int accessibility_custom_action_17=0x7f06000a; + public static final int accessibility_custom_action_18=0x7f06000b; + public static final int accessibility_custom_action_19=0x7f06000c; + public static final int accessibility_custom_action_2=0x7f06000d; + public static final int accessibility_custom_action_20=0x7f06000e; + public static final int accessibility_custom_action_21=0x7f06000f; + public static final int accessibility_custom_action_22=0x7f060010; + public static final int accessibility_custom_action_23=0x7f060011; + public static final int accessibility_custom_action_24=0x7f060012; + public static final int accessibility_custom_action_25=0x7f060013; + public static final int accessibility_custom_action_26=0x7f060014; + public static final int accessibility_custom_action_27=0x7f060015; + public static final int accessibility_custom_action_28=0x7f060016; + public static final int accessibility_custom_action_29=0x7f060017; + public static final int accessibility_custom_action_3=0x7f060018; + public static final int accessibility_custom_action_30=0x7f060019; + public static final int accessibility_custom_action_31=0x7f06001a; + public static final int accessibility_custom_action_4=0x7f06001b; + public static final int accessibility_custom_action_5=0x7f06001c; + public static final int accessibility_custom_action_6=0x7f06001d; + public static final int accessibility_custom_action_7=0x7f06001e; + public static final int accessibility_custom_action_8=0x7f06001f; + public static final int accessibility_custom_action_9=0x7f060020; + public static final int action0=0x7f060021; + public static final int action_container=0x7f060022; + public static final int action_divider=0x7f060023; + public static final int action_image=0x7f060024; + public static final int action_text=0x7f060025; + public static final int actions=0x7f060026; + public static final int adjust_height=0x7f060027; + public static final int adjust_width=0x7f060028; + public static final int all=0x7f060029; + public static final int async=0x7f06002a; + public static final int auto=0x7f06002b; + public static final int blocking=0x7f06002c; + public static final int bottom=0x7f06002d; + public static final int cancel_action=0x7f06002e; + public static final int center=0x7f06002f; + public static final int center_horizontal=0x7f060030; + public static final int center_vertical=0x7f060031; + public static final int chronometer=0x7f060032; + public static final int clip_horizontal=0x7f060033; + public static final int clip_vertical=0x7f060034; + public static final int dark=0x7f060035; + public static final int dialog_button=0x7f060036; + public static final int end=0x7f060037; + public static final int end_padder=0x7f060038; + public static final int fill=0x7f060039; + public static final int fill_horizontal=0x7f06003a; + public static final int fill_vertical=0x7f06003b; + public static final int forever=0x7f06003c; + public static final int fragment_container_view_tag=0x7f06003d; + public static final int hybrid=0x7f06003e; + public static final int icon=0x7f06003f; + public static final int icon_group=0x7f060040; + public static final int icon_only=0x7f060041; + public static final int info=0x7f060042; + public static final int italic=0x7f060043; + public static final int left=0x7f060044; + public static final int light=0x7f060045; + public static final int line1=0x7f060046; + public static final int line3=0x7f060047; + public static final int media_actions=0x7f060048; + public static final int none=0x7f060049; + public static final int normal=0x7f06004a; + public static final int notification_background=0x7f06004b; + public static final int notification_main_column=0x7f06004c; + public static final int notification_main_column_container=0x7f06004d; + public static final int right=0x7f06004e; + public static final int right_icon=0x7f06004f; + public static final int right_side=0x7f060050; + public static final int satellite=0x7f060051; + public static final int standard=0x7f060052; + public static final int start=0x7f060053; + public static final int status_bar_latest_event_content=0x7f060054; + public static final int tag_accessibility_actions=0x7f060055; + public static final int tag_accessibility_clickable_spans=0x7f060056; + public static final int tag_accessibility_heading=0x7f060057; + public static final int tag_accessibility_pane_title=0x7f060058; + public static final int tag_screen_reader_focusable=0x7f060059; + public static final int tag_transition_group=0x7f06005a; + public static final int tag_unhandled_key_event_manager=0x7f06005b; + public static final int tag_unhandled_key_listeners=0x7f06005c; + public static final int terrain=0x7f06005d; + public static final int text=0x7f06005e; + public static final int text2=0x7f06005f; + public static final int time=0x7f060060; + public static final int title=0x7f060061; + public static final int top=0x7f060062; + public static final int visible_removing_fragment_view_tag=0x7f060063; + public static final int wide=0x7f060064; + } + public static final class integer { + public static final int cancel_button_image_alpha=0x7f070000; + public static final int google_play_services_version=0x7f070001; + public static final int status_bar_notification_info_maxnum=0x7f070002; + } + public static final class layout { + public static final int custom_dialog=0x7f080000; + public static final int notification_action=0x7f080001; + public static final int notification_action_tombstone=0x7f080002; + public static final int notification_media_action=0x7f080003; + public static final int notification_media_cancel_action=0x7f080004; + public static final int notification_template_big_media=0x7f080005; + public static final int notification_template_big_media_custom=0x7f080006; + public static final int notification_template_big_media_narrow=0x7f080007; + public static final int notification_template_big_media_narrow_custom=0x7f080008; + public static final int notification_template_custom_big=0x7f080009; + public static final int notification_template_icon_group=0x7f08000a; + public static final int notification_template_lines_media=0x7f08000b; + public static final int notification_template_media=0x7f08000c; + public static final int notification_template_media_custom=0x7f08000d; + public static final int notification_template_part_chronometer=0x7f08000e; + public static final int notification_template_part_time=0x7f08000f; + } + public static final class string { + public static final int common_google_play_services_enable_button=0x7f090000; + public static final int common_google_play_services_enable_text=0x7f090001; + public static final int common_google_play_services_enable_title=0x7f090002; + public static final int common_google_play_services_install_button=0x7f090003; + public static final int common_google_play_services_install_text=0x7f090004; + public static final int common_google_play_services_install_title=0x7f090005; + public static final int common_google_play_services_notification_channel_name=0x7f090006; + public static final int common_google_play_services_notification_ticker=0x7f090007; + public static final int common_google_play_services_unknown_issue=0x7f090008; + public static final int common_google_play_services_unsupported_text=0x7f090009; + public static final int common_google_play_services_update_button=0x7f09000a; + public static final int common_google_play_services_update_text=0x7f09000b; + public static final int common_google_play_services_update_title=0x7f09000c; + public static final int common_google_play_services_updating_text=0x7f09000d; + public static final int common_google_play_services_wear_update_text=0x7f09000e; + public static final int common_open_on_phone=0x7f09000f; + public static final int common_signin_button_text=0x7f090010; + public static final int common_signin_button_text_long=0x7f090011; + public static final int status_bar_notification_info_overflow=0x7f090012; + } + public static final class style { + public static final int LightTheme=0x7f0a0000; + public static final int LowerCaseMenu=0x7f0a0001; + public static final int TextAppearance_Compat_Notification=0x7f0a0002; + public static final int TextAppearance_Compat_Notification_Info=0x7f0a0003; + public static final int TextAppearance_Compat_Notification_Info_Media=0x7f0a0004; + public static final int TextAppearance_Compat_Notification_Line2=0x7f0a0005; + public static final int TextAppearance_Compat_Notification_Line2_Media=0x7f0a0006; + public static final int TextAppearance_Compat_Notification_Media=0x7f0a0007; + public static final int TextAppearance_Compat_Notification_Time=0x7f0a0008; + public static final int TextAppearance_Compat_Notification_Time_Media=0x7f0a0009; + public static final int TextAppearance_Compat_Notification_Title=0x7f0a000a; + public static final int TextAppearance_Compat_Notification_Title_Media=0x7f0a000b; + public static final int Widget_Compat_NotificationActionContainer=0x7f0a000c; + public static final int Widget_Compat_NotificationActionText=0x7f0a000d; + public static final int Widget_Support_CoordinatorLayout=0x7f0a000e; + } + public static final class styleable { + /** + * Attributes that can be used with a ColorStateListItem. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + *
AttributeDescription
{@link #ColorStateListItem_android_color android:color}
{@link #ColorStateListItem_android_alpha android:alpha}
{@link #ColorStateListItem_alpha reparto_izca.keymon.lat:alpha}Alpha multiplier applied to the base color.
+ * @see #ColorStateListItem_android_color + * @see #ColorStateListItem_android_alpha + * @see #ColorStateListItem_alpha + */ + public static final int[] ColorStateListItem={ + 0x010101a5, 0x0101031f, 0x7f020000 + }; + /** + *

+ * @attr description + * Base color for this state. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name android:color + */ + public static final int ColorStateListItem_android_color=0; + /** + *

This symbol is the offset where the {@link android.R.attr#alpha} + * attribute's value can be found in the {@link #ColorStateListItem} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:alpha + */ + public static final int ColorStateListItem_android_alpha=1; + /** + *

+ * @attr description + * Alpha multiplier applied to the base color. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:alpha + */ + public static final int ColorStateListItem_alpha=2; + /** + * Attributes that can be used with a CoordinatorLayout. + *

Includes the following attributes:

+ * + * + * + * + * + * + *
AttributeDescription
{@link #CoordinatorLayout_keylines reparto_izca.keymon.lat:keylines}A reference to an array of integers representing the + * locations of horizontal keylines in dp from the starting edge.
{@link #CoordinatorLayout_statusBarBackground reparto_izca.keymon.lat:statusBarBackground}Drawable to display behind the status bar when the view is set to draw behind it.
+ * @see #CoordinatorLayout_keylines + * @see #CoordinatorLayout_statusBarBackground + */ + public static final int[] CoordinatorLayout={ + 0x7f02001b, 0x7f020029 + }; + /** + *

+ * @attr description + * A reference to an array of integers representing the + * locations of horizontal keylines in dp from the starting edge. + * Child views can refer to these keylines for alignment using + * layout_keyline="index" where index is a 0-based index into + * this array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name reparto_izca.keymon.lat:keylines + */ + public static final int CoordinatorLayout_keylines=0; + /** + *

+ * @attr description + * Drawable to display behind the status bar when the view is set to draw behind it. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name reparto_izca.keymon.lat:statusBarBackground + */ + public static final int CoordinatorLayout_statusBarBackground=1; + /** + * Attributes that can be used with a CoordinatorLayout_Layout. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #CoordinatorLayout_Layout_android_layout_gravity android:layout_gravity}
{@link #CoordinatorLayout_Layout_layout_anchor reparto_izca.keymon.lat:layout_anchor}The id of an anchor view that this view should position relative to.
{@link #CoordinatorLayout_Layout_layout_anchorGravity reparto_izca.keymon.lat:layout_anchorGravity}Specifies how an object should position relative to an anchor, on both the X and Y axes, + * within its parent's bounds.
{@link #CoordinatorLayout_Layout_layout_behavior reparto_izca.keymon.lat:layout_behavior}The class name of a Behavior class defining special runtime behavior + * for this child view.
{@link #CoordinatorLayout_Layout_layout_dodgeInsetEdges reparto_izca.keymon.lat:layout_dodgeInsetEdges}Specifies how this view dodges the inset edges of the CoordinatorLayout.
{@link #CoordinatorLayout_Layout_layout_insetEdge reparto_izca.keymon.lat:layout_insetEdge}Specifies how this view insets the CoordinatorLayout and make some other views + * dodge it.
{@link #CoordinatorLayout_Layout_layout_keyline reparto_izca.keymon.lat:layout_keyline}The index of a keyline this view should position relative to.
+ * @see #CoordinatorLayout_Layout_android_layout_gravity + * @see #CoordinatorLayout_Layout_layout_anchor + * @see #CoordinatorLayout_Layout_layout_anchorGravity + * @see #CoordinatorLayout_Layout_layout_behavior + * @see #CoordinatorLayout_Layout_layout_dodgeInsetEdges + * @see #CoordinatorLayout_Layout_layout_insetEdge + * @see #CoordinatorLayout_Layout_layout_keyline + */ + public static final int[] CoordinatorLayout_Layout={ + 0x010100b3, 0x7f020020, 0x7f020021, 0x7f020022, + 0x7f020023, 0x7f020024, 0x7f020025 + }; + /** + *

This symbol is the offset where the {@link android.R.attr#layout_gravity} + * attribute's value can be found in the {@link #CoordinatorLayout_Layout} array. + * + *

Must be one or more (separated by '|') of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
bottom50
center11
center_horizontal1
center_vertical10
clip_horizontal8
clip_vertical80
end800005
fill77
fill_horizontal7
fill_vertical70
left3
right5
start800003
top30
+ * + * @attr name android:layout_gravity + */ + public static final int CoordinatorLayout_Layout_android_layout_gravity=0; + /** + *

+ * @attr description + * The id of an anchor view that this view should position relative to. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name reparto_izca.keymon.lat:layout_anchor + */ + public static final int CoordinatorLayout_Layout_layout_anchor=1; + /** + *

+ * @attr description + * Specifies how an object should position relative to an anchor, on both the X and Y axes, + * within its parent's bounds. + * + *

Must be one or more (separated by '|') of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
bottom50Push object to the bottom of its container, not changing its size.
center11Place the object in the center of its container in both the vertical and horizontal axis, not changing its size.
center_horizontal1Place object in the horizontal center of its container, not changing its size.
center_vertical10Place object in the vertical center of its container, not changing its size.
clip_horizontal8Additional option that can be set to have the left and/or right edges of + * the child clipped to its container's bounds. + * The clip will be based on the horizontal gravity: a left gravity will clip the right + * edge, a right gravity will clip the left edge, and neither will clip both edges.
clip_vertical80Additional option that can be set to have the top and/or bottom edges of + * the child clipped to its container's bounds. + * The clip will be based on the vertical gravity: a top gravity will clip the bottom + * edge, a bottom gravity will clip the top edge, and neither will clip both edges.
end800005Push object to the end of its container, not changing its size.
fill77Grow the horizontal and vertical size of the object if needed so it completely fills its container.
fill_horizontal7Grow the horizontal size of the object if needed so it completely fills its container.
fill_vertical70Grow the vertical size of the object if needed so it completely fills its container.
left3Push object to the left of its container, not changing its size.
right5Push object to the right of its container, not changing its size.
start800003Push object to the beginning of its container, not changing its size.
top30Push object to the top of its container, not changing its size.
+ * + * @attr name reparto_izca.keymon.lat:layout_anchorGravity + */ + public static final int CoordinatorLayout_Layout_layout_anchorGravity=2; + /** + *

+ * @attr description + * The class name of a Behavior class defining special runtime behavior + * for this child view. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_izca.keymon.lat:layout_behavior + */ + public static final int CoordinatorLayout_Layout_layout_behavior=3; + /** + *

+ * @attr description + * Specifies how this view dodges the inset edges of the CoordinatorLayout. + * + *

Must be one or more (separated by '|') of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
all77Dodge all the inset edges.
bottom50Dodge the bottom inset edge.
end800005Dodge the end inset edge.
left3Dodge the left inset edge.
none0Don't dodge any edges
right5Dodge the right inset edge.
start800003Dodge the start inset edge.
top30Dodge the top inset edge.
+ * + * @attr name reparto_izca.keymon.lat:layout_dodgeInsetEdges + */ + public static final int CoordinatorLayout_Layout_layout_dodgeInsetEdges=4; + /** + *

+ * @attr description + * Specifies how this view insets the CoordinatorLayout and make some other views + * dodge it. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
bottom50Inset the bottom edge.
end800005Inset the end edge.
left3Inset the left edge.
none0Don't inset.
right5Inset the right edge.
start800003Inset the start edge.
top30Inset the top edge.
+ * + * @attr name reparto_izca.keymon.lat:layout_insetEdge + */ + public static final int CoordinatorLayout_Layout_layout_insetEdge=5; + /** + *

+ * @attr description + * The index of a keyline this view should position relative to. + * android:layout_gravity will affect how the view aligns to the + * specified keyline. + * + *

May be an integer value, such as "100". + * + * @attr name reparto_izca.keymon.lat:layout_keyline + */ + public static final int CoordinatorLayout_Layout_layout_keyline=6; + /** + * Attributes that can be used with a DrawerLayout. + *

Includes the following attributes:

+ * + * + * + * + * + *
AttributeDescription
{@link #DrawerLayout_elevation reparto_izca.keymon.lat:elevation}
+ * @see #DrawerLayout_elevation + */ + public static final int[] DrawerLayout={ + 0x7f02000e + }; + /** + *

+ * @attr description + * The height difference between the drawer and the base surface. Only takes effect on API 21 and above + * + *

May be a dimension value, which is a floating point number appended with a + * unit such as "14.5sp". + * Available units are: px (pixels), dp (density-independent pixels), + * sp (scaled pixels based on preferred font size), in (inches), and + * mm (millimeters). + * + * @attr name reparto_izca.keymon.lat:elevation + */ + public static final int DrawerLayout_elevation=0; + /** + * Attributes that can be used with a FontFamily. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #FontFamily_fontProviderAuthority reparto_izca.keymon.lat:fontProviderAuthority}The authority of the Font Provider to be used for the request.
{@link #FontFamily_fontProviderCerts reparto_izca.keymon.lat:fontProviderCerts}The sets of hashes for the certificates the provider should be signed with.
{@link #FontFamily_fontProviderFetchStrategy reparto_izca.keymon.lat:fontProviderFetchStrategy}The strategy to be used when fetching font data from a font provider in XML layouts.
{@link #FontFamily_fontProviderFetchTimeout reparto_izca.keymon.lat:fontProviderFetchTimeout}The length of the timeout during fetching.
{@link #FontFamily_fontProviderPackage reparto_izca.keymon.lat:fontProviderPackage}The package for the Font Provider to be used for the request.
{@link #FontFamily_fontProviderQuery reparto_izca.keymon.lat:fontProviderQuery}The query to be sent over to the provider.
+ * @see #FontFamily_fontProviderAuthority + * @see #FontFamily_fontProviderCerts + * @see #FontFamily_fontProviderFetchStrategy + * @see #FontFamily_fontProviderFetchTimeout + * @see #FontFamily_fontProviderPackage + * @see #FontFamily_fontProviderQuery + */ + public static final int[] FontFamily={ + 0x7f020010, 0x7f020011, 0x7f020012, 0x7f020013, + 0x7f020014, 0x7f020015 + }; + /** + *

+ * @attr description + * The authority of the Font Provider to be used for the request. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_izca.keymon.lat:fontProviderAuthority + */ + public static final int FontFamily_fontProviderAuthority=0; + /** + *

+ * @attr description + * The sets of hashes for the certificates the provider should be signed with. This is + * used to verify the identity of the provider, and is only required if the provider is not + * part of the system image. This value may point to one list or a list of lists, where each + * individual list represents one collection of signature hashes. Refer to your font provider's + * documentation for these values. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name reparto_izca.keymon.lat:fontProviderCerts + */ + public static final int FontFamily_fontProviderCerts=1; + /** + *

+ * @attr description + * The strategy to be used when fetching font data from a font provider in XML layouts. + * This attribute is ignored when the resource is loaded from code, as it is equivalent to the + * choice of API between {@link + * androidx.core.content.res.ResourcesCompat#getFont(Context, int)} (blocking) and + * {@link + * androidx.core.content.res.ResourcesCompat#getFont(Context, int, FontCallback, Handler)} + * (async). + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + *
ConstantValueDescription
async1The async font fetch works as follows. + * First, check the local cache, then if the requeted font is not cached, trigger a + * request the font and continue with layout inflation. Once the font fetch succeeds, the + * target text view will be refreshed with the downloaded font data. The + * fontProviderFetchTimeout will be ignored if async loading is specified.
blocking0The blocking font fetch works as follows. + * First, check the local cache, then if the requested font is not cached, request the + * font from the provider and wait until it is finished. You can change the length of + * the timeout by modifying fontProviderFetchTimeout. If the timeout happens, the + * default typeface will be used instead.
+ * + * @attr name reparto_izca.keymon.lat:fontProviderFetchStrategy + */ + public static final int FontFamily_fontProviderFetchStrategy=2; + /** + *

+ * @attr description + * The length of the timeout during fetching. + * + *

May be an integer value, such as "100". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + *
ConstantValueDescription
foreverffffffffA special value for the timeout. In this case, the blocking font fetching will not + * timeout and wait until a reply is received from the font provider.
+ * + * @attr name reparto_izca.keymon.lat:fontProviderFetchTimeout + */ + public static final int FontFamily_fontProviderFetchTimeout=3; + /** + *

+ * @attr description + * The package for the Font Provider to be used for the request. This is used to verify + * the identity of the provider. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_izca.keymon.lat:fontProviderPackage + */ + public static final int FontFamily_fontProviderPackage=4; + /** + *

+ * @attr description + * The query to be sent over to the provider. Refer to your font provider's documentation + * on the format of this string. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_izca.keymon.lat:fontProviderQuery + */ + public static final int FontFamily_fontProviderQuery=5; + /** + * Attributes that can be used with a FontFamilyFont. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #FontFamilyFont_android_font android:font}
{@link #FontFamilyFont_android_fontWeight android:fontWeight}
{@link #FontFamilyFont_android_fontStyle android:fontStyle}
{@link #FontFamilyFont_android_ttcIndex android:ttcIndex}
{@link #FontFamilyFont_android_fontVariationSettings android:fontVariationSettings}
{@link #FontFamilyFont_font reparto_izca.keymon.lat:font}The reference to the font file to be used.
{@link #FontFamilyFont_fontStyle reparto_izca.keymon.lat:fontStyle}The style of the given font file.
{@link #FontFamilyFont_fontVariationSettings reparto_izca.keymon.lat:fontVariationSettings}The variation settings to be applied to the font.
{@link #FontFamilyFont_fontWeight reparto_izca.keymon.lat:fontWeight}The weight of the given font file.
{@link #FontFamilyFont_ttcIndex reparto_izca.keymon.lat:ttcIndex}The index of the font in the tcc font file.
+ * @see #FontFamilyFont_android_font + * @see #FontFamilyFont_android_fontWeight + * @see #FontFamilyFont_android_fontStyle + * @see #FontFamilyFont_android_ttcIndex + * @see #FontFamilyFont_android_fontVariationSettings + * @see #FontFamilyFont_font + * @see #FontFamilyFont_fontStyle + * @see #FontFamilyFont_fontVariationSettings + * @see #FontFamilyFont_fontWeight + * @see #FontFamilyFont_ttcIndex + */ + public static final int[] FontFamilyFont={ + 0x01010532, 0x01010533, 0x0101053f, 0x0101056f, + 0x01010570, 0x7f02000f, 0x7f020016, 0x7f020017, + 0x7f020018, 0x7f02002b + }; + /** + *

This symbol is the offset where the {@link android.R.attr#font} + * attribute's value can be found in the {@link #FontFamilyFont} array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name android:font + */ + public static final int FontFamilyFont_android_font=0; + /** + *

This symbol is the offset where the {@link android.R.attr#fontWeight} + * attribute's value can be found in the {@link #FontFamilyFont} array. + * + *

May be an integer value, such as "100". + * + * @attr name android:fontWeight + */ + public static final int FontFamilyFont_android_fontWeight=1; + /** + *

+ * @attr description + * References to the framework attrs + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + *
ConstantValueDescription
italic1
normal0
+ * + * @attr name android:fontStyle + */ + public static final int FontFamilyFont_android_fontStyle=2; + /** + *

This symbol is the offset where the {@link android.R.attr#ttcIndex} + * attribute's value can be found in the {@link #FontFamilyFont} array. + * + *

May be an integer value, such as "100". + * + * @attr name android:ttcIndex + */ + public static final int FontFamilyFont_android_ttcIndex=3; + /** + *

This symbol is the offset where the {@link android.R.attr#fontVariationSettings} + * attribute's value can be found in the {@link #FontFamilyFont} array. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name android:fontVariationSettings + */ + public static final int FontFamilyFont_android_fontVariationSettings=4; + /** + *

+ * @attr description + * The reference to the font file to be used. This should be a file in the res/font folder + * and should therefore have an R reference value. E.g. @font/myfont + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name reparto_izca.keymon.lat:font + */ + public static final int FontFamilyFont_font=5; + /** + *

+ * @attr description + * The style of the given font file. This will be used when the font is being loaded into + * the font stack and will override any style information in the font's header tables. If + * unspecified, the value in the font's header tables will be used. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + *
ConstantValueDescription
italic1
normal0
+ * + * @attr name reparto_izca.keymon.lat:fontStyle + */ + public static final int FontFamilyFont_fontStyle=6; + /** + *

+ * @attr description + * The variation settings to be applied to the font. The string should be in the following + * format: "'tag1' value1, 'tag2' value2, ...". If the default variation settings should be + * used, or the font used does not support variation settings, this attribute needs not be + * specified. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_izca.keymon.lat:fontVariationSettings + */ + public static final int FontFamilyFont_fontVariationSettings=7; + /** + *

+ * @attr description + * The weight of the given font file. This will be used when the font is being loaded into + * the font stack and will override any weight information in the font's header tables. Must + * be a positive number, a multiple of 100, and between 100 and 900, inclusive. The most + * common values are 400 for regular weight and 700 for bold weight. If unspecified, the value + * in the font's header tables will be used. + * + *

May be an integer value, such as "100". + * + * @attr name reparto_izca.keymon.lat:fontWeight + */ + public static final int FontFamilyFont_fontWeight=8; + /** + *

+ * @attr description + * The index of the font in the tcc font file. If the font file referenced is not in the + * tcc format, this attribute needs not be specified. + * + *

May be an integer value, such as "100". + * + * @attr name reparto_izca.keymon.lat:ttcIndex + */ + public static final int FontFamilyFont_ttcIndex=9; + /** + * Attributes that can be used with a Fragment. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + *
AttributeDescription
{@link #Fragment_android_name android:name}
{@link #Fragment_android_id android:id}
{@link #Fragment_android_tag android:tag}
+ * @see #Fragment_android_name + * @see #Fragment_android_id + * @see #Fragment_android_tag + */ + public static final int[] Fragment={ + 0x01010003, 0x010100d0, 0x010100d1 + }; + /** + *

This symbol is the offset where the {@link android.R.attr#name} + * attribute's value can be found in the {@link #Fragment} array. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name android:name + */ + public static final int Fragment_android_name=0; + /** + *

This symbol is the offset where the {@link android.R.attr#id} + * attribute's value can be found in the {@link #Fragment} array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name android:id + */ + public static final int Fragment_android_id=1; + /** + *

This symbol is the offset where the {@link android.R.attr#tag} + * attribute's value can be found in the {@link #Fragment} array. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name android:tag + */ + public static final int Fragment_android_tag=2; + /** + * Attributes that can be used with a FragmentContainerView. + *

Includes the following attributes:

+ * + * + * + * + * + * + *
AttributeDescription
{@link #FragmentContainerView_android_name android:name}
{@link #FragmentContainerView_android_tag android:tag}
+ * @see #FragmentContainerView_android_name + * @see #FragmentContainerView_android_tag + */ + public static final int[] FragmentContainerView={ + 0x01010003, 0x010100d1 + }; + /** + *

This symbol is the offset where the {@link android.R.attr#name} + * attribute's value can be found in the {@link #FragmentContainerView} array. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name android:name + */ + public static final int FragmentContainerView_android_name=0; + /** + *

This symbol is the offset where the {@link android.R.attr#tag} + * attribute's value can be found in the {@link #FragmentContainerView} array. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name android:tag + */ + public static final int FragmentContainerView_android_tag=1; + /** + * Attributes that can be used with a GradientColor. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #GradientColor_android_startColor android:startColor}
{@link #GradientColor_android_endColor android:endColor}
{@link #GradientColor_android_type android:type}
{@link #GradientColor_android_centerX android:centerX}
{@link #GradientColor_android_centerY android:centerY}
{@link #GradientColor_android_gradientRadius android:gradientRadius}
{@link #GradientColor_android_tileMode android:tileMode}
{@link #GradientColor_android_centerColor android:centerColor}
{@link #GradientColor_android_startX android:startX}
{@link #GradientColor_android_startY android:startY}
{@link #GradientColor_android_endX android:endX}
{@link #GradientColor_android_endY android:endY}
+ * @see #GradientColor_android_startColor + * @see #GradientColor_android_endColor + * @see #GradientColor_android_type + * @see #GradientColor_android_centerX + * @see #GradientColor_android_centerY + * @see #GradientColor_android_gradientRadius + * @see #GradientColor_android_tileMode + * @see #GradientColor_android_centerColor + * @see #GradientColor_android_startX + * @see #GradientColor_android_startY + * @see #GradientColor_android_endX + * @see #GradientColor_android_endY + */ + public static final int[] GradientColor={ + 0x0101019d, 0x0101019e, 0x010101a1, 0x010101a2, + 0x010101a3, 0x010101a4, 0x01010201, 0x0101020b, + 0x01010510, 0x01010511, 0x01010512, 0x01010513 + }; + /** + *

+ * @attr description + * Start color of the gradient. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name android:startColor + */ + public static final int GradientColor_android_startColor=0; + /** + *

+ * @attr description + * End color of the gradient. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name android:endColor + */ + public static final int GradientColor_android_endColor=1; + /** + *

+ * @attr description + * Type of gradient. The default type is linear. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
linear0
radial1
sweep2
+ * + * @attr name android:type + */ + public static final int GradientColor_android_type=2; + /** + *

+ * @attr description + * X coordinate of the center of the gradient within the path. + * + *

May be a floating point value, such as "1.2". + *

May be a fractional value, which is a floating point number appended with + * either % or %p, such as "14.5%". + * The % suffix always means a percentage of the base size; + * the optional %p suffix provides a size relative to some parent container. + * + * @attr name android:centerX + */ + public static final int GradientColor_android_centerX=3; + /** + *

+ * @attr description + * Y coordinate of the center of the gradient within the path. + * + *

May be a floating point value, such as "1.2". + *

May be a fractional value, which is a floating point number appended with + * either % or %p, such as "14.5%". + * The % suffix always means a percentage of the base size; + * the optional %p suffix provides a size relative to some parent container. + * + * @attr name android:centerY + */ + public static final int GradientColor_android_centerY=4; + /** + *

+ * @attr description + * Radius of the gradient, used only with radial gradient. + * + *

May be a floating point value, such as "1.2". + *

May be a dimension value, which is a floating point number appended with a + * unit such as "14.5sp". + * Available units are: px (pixels), dp (density-independent pixels), + * sp (scaled pixels based on preferred font size), in (inches), and + * mm (millimeters). + *

May be a fractional value, which is a floating point number appended with + * either % or %p, such as "14.5%". + * The % suffix always means a percentage of the base size; + * the optional %p suffix provides a size relative to some parent container. + * + * @attr name android:gradientRadius + */ + public static final int GradientColor_android_gradientRadius=5; + /** + *

+ * @attr description + * Defines the tile mode of the gradient. SweepGradient doesn't support tiling. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
clamp0
disabledffffffff
mirror2
repeat1
+ * + * @attr name android:tileMode + */ + public static final int GradientColor_android_tileMode=6; + /** + *

+ * @attr description + * Optional center color. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name android:centerColor + */ + public static final int GradientColor_android_centerColor=7; + /** + *

+ * @attr description + * X coordinate of the start point origin of the gradient. + * Defined in same coordinates as the path itself + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:startX + */ + public static final int GradientColor_android_startX=8; + /** + *

+ * @attr description + * Y coordinate of the start point of the gradient within the shape. + * Defined in same coordinates as the path itself + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:startY + */ + public static final int GradientColor_android_startY=9; + /** + *

+ * @attr description + * X coordinate of the end point origin of the gradient. + * Defined in same coordinates as the path itself + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:endX + */ + public static final int GradientColor_android_endX=10; + /** + *

+ * @attr description + * Y coordinate of the end point of the gradient within the shape. + * Defined in same coordinates as the path itself + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:endY + */ + public static final int GradientColor_android_endY=11; + /** + * Attributes that can be used with a GradientColorItem. + *

Includes the following attributes:

+ * + * + * + * + * + * + *
AttributeDescription
{@link #GradientColorItem_android_color android:color}
{@link #GradientColorItem_android_offset android:offset}
+ * @see #GradientColorItem_android_color + * @see #GradientColorItem_android_offset + */ + public static final int[] GradientColorItem={ + 0x010101a5, 0x01010514 + }; + /** + *

+ * @attr description + * The current color for the offset inside the gradient. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name android:color + */ + public static final int GradientColorItem_android_color=0; + /** + *

+ * @attr description + * The offset (or ratio) of this current color item inside the gradient. + * The value is only meaningful when it is between 0 and 1. + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:offset + */ + public static final int GradientColorItem_android_offset=1; + /** + * Attributes that can be used with a LoadingImageView. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + *
AttributeDescription
{@link #LoadingImageView_circleCrop reparto_izca.keymon.lat:circleCrop}
{@link #LoadingImageView_imageAspectRatio reparto_izca.keymon.lat:imageAspectRatio}
{@link #LoadingImageView_imageAspectRatioAdjust reparto_izca.keymon.lat:imageAspectRatioAdjust}
+ * @see #LoadingImageView_circleCrop + * @see #LoadingImageView_imageAspectRatio + * @see #LoadingImageView_imageAspectRatioAdjust + */ + public static final int[] LoadingImageView={ + 0x7f02000a, 0x7f020019, 0x7f02001a + }; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#circleCrop} + * attribute's value can be found in the {@link #LoadingImageView} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:circleCrop + */ + public static final int LoadingImageView_circleCrop=0; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#imageAspectRatio} + * attribute's value can be found in the {@link #LoadingImageView} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:imageAspectRatio + */ + public static final int LoadingImageView_imageAspectRatio=1; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#imageAspectRatioAdjust} + * attribute's value can be found in the {@link #LoadingImageView} array. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
adjust_height2
adjust_width1
none0
+ * + * @attr name reparto_izca.keymon.lat:imageAspectRatioAdjust + */ + public static final int LoadingImageView_imageAspectRatioAdjust=2; + /** + * Attributes that can be used with a MapAttrs. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #MapAttrs_ambientEnabled reparto_izca.keymon.lat:ambientEnabled}
{@link #MapAttrs_cameraBearing reparto_izca.keymon.lat:cameraBearing}
{@link #MapAttrs_cameraMaxZoomPreference reparto_izca.keymon.lat:cameraMaxZoomPreference}
{@link #MapAttrs_cameraMinZoomPreference reparto_izca.keymon.lat:cameraMinZoomPreference}
{@link #MapAttrs_cameraTargetLat reparto_izca.keymon.lat:cameraTargetLat}
{@link #MapAttrs_cameraTargetLng reparto_izca.keymon.lat:cameraTargetLng}
{@link #MapAttrs_cameraTilt reparto_izca.keymon.lat:cameraTilt}
{@link #MapAttrs_cameraZoom reparto_izca.keymon.lat:cameraZoom}
{@link #MapAttrs_latLngBoundsNorthEastLatitude reparto_izca.keymon.lat:latLngBoundsNorthEastLatitude}
{@link #MapAttrs_latLngBoundsNorthEastLongitude reparto_izca.keymon.lat:latLngBoundsNorthEastLongitude}
{@link #MapAttrs_latLngBoundsSouthWestLatitude reparto_izca.keymon.lat:latLngBoundsSouthWestLatitude}
{@link #MapAttrs_latLngBoundsSouthWestLongitude reparto_izca.keymon.lat:latLngBoundsSouthWestLongitude}
{@link #MapAttrs_liteMode reparto_izca.keymon.lat:liteMode}
{@link #MapAttrs_mapType reparto_izca.keymon.lat:mapType}
{@link #MapAttrs_uiCompass reparto_izca.keymon.lat:uiCompass}
{@link #MapAttrs_uiMapToolbar reparto_izca.keymon.lat:uiMapToolbar}
{@link #MapAttrs_uiRotateGestures reparto_izca.keymon.lat:uiRotateGestures}
{@link #MapAttrs_uiScrollGestures reparto_izca.keymon.lat:uiScrollGestures}
{@link #MapAttrs_uiScrollGesturesDuringRotateOrZoom reparto_izca.keymon.lat:uiScrollGesturesDuringRotateOrZoom}
{@link #MapAttrs_uiTiltGestures reparto_izca.keymon.lat:uiTiltGestures}
{@link #MapAttrs_uiZoomControls reparto_izca.keymon.lat:uiZoomControls}
{@link #MapAttrs_uiZoomGestures reparto_izca.keymon.lat:uiZoomGestures}
{@link #MapAttrs_useViewLifecycle reparto_izca.keymon.lat:useViewLifecycle}
{@link #MapAttrs_zOrderOnTop reparto_izca.keymon.lat:zOrderOnTop}
+ * @see #MapAttrs_ambientEnabled + * @see #MapAttrs_cameraBearing + * @see #MapAttrs_cameraMaxZoomPreference + * @see #MapAttrs_cameraMinZoomPreference + * @see #MapAttrs_cameraTargetLat + * @see #MapAttrs_cameraTargetLng + * @see #MapAttrs_cameraTilt + * @see #MapAttrs_cameraZoom + * @see #MapAttrs_latLngBoundsNorthEastLatitude + * @see #MapAttrs_latLngBoundsNorthEastLongitude + * @see #MapAttrs_latLngBoundsSouthWestLatitude + * @see #MapAttrs_latLngBoundsSouthWestLongitude + * @see #MapAttrs_liteMode + * @see #MapAttrs_mapType + * @see #MapAttrs_uiCompass + * @see #MapAttrs_uiMapToolbar + * @see #MapAttrs_uiRotateGestures + * @see #MapAttrs_uiScrollGestures + * @see #MapAttrs_uiScrollGesturesDuringRotateOrZoom + * @see #MapAttrs_uiTiltGestures + * @see #MapAttrs_uiZoomControls + * @see #MapAttrs_uiZoomGestures + * @see #MapAttrs_useViewLifecycle + * @see #MapAttrs_zOrderOnTop + */ + public static final int[] MapAttrs={ + 0x7f020001, 0x7f020003, 0x7f020004, 0x7f020005, + 0x7f020006, 0x7f020007, 0x7f020008, 0x7f020009, + 0x7f02001c, 0x7f02001d, 0x7f02001e, 0x7f02001f, + 0x7f020026, 0x7f020027, 0x7f02002c, 0x7f02002d, + 0x7f02002e, 0x7f02002f, 0x7f020030, 0x7f020031, + 0x7f020032, 0x7f020033, 0x7f020034, 0x7f020035 + }; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#ambientEnabled} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:ambientEnabled + */ + public static final int MapAttrs_ambientEnabled=0; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#cameraBearing} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:cameraBearing + */ + public static final int MapAttrs_cameraBearing=1; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#cameraMaxZoomPreference} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:cameraMaxZoomPreference + */ + public static final int MapAttrs_cameraMaxZoomPreference=2; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#cameraMinZoomPreference} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:cameraMinZoomPreference + */ + public static final int MapAttrs_cameraMinZoomPreference=3; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#cameraTargetLat} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:cameraTargetLat + */ + public static final int MapAttrs_cameraTargetLat=4; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#cameraTargetLng} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:cameraTargetLng + */ + public static final int MapAttrs_cameraTargetLng=5; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#cameraTilt} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:cameraTilt + */ + public static final int MapAttrs_cameraTilt=6; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#cameraZoom} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:cameraZoom + */ + public static final int MapAttrs_cameraZoom=7; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#latLngBoundsNorthEastLatitude} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:latLngBoundsNorthEastLatitude + */ + public static final int MapAttrs_latLngBoundsNorthEastLatitude=8; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#latLngBoundsNorthEastLongitude} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:latLngBoundsNorthEastLongitude + */ + public static final int MapAttrs_latLngBoundsNorthEastLongitude=9; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#latLngBoundsSouthWestLatitude} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:latLngBoundsSouthWestLatitude + */ + public static final int MapAttrs_latLngBoundsSouthWestLatitude=10; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#latLngBoundsSouthWestLongitude} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_izca.keymon.lat:latLngBoundsSouthWestLongitude + */ + public static final int MapAttrs_latLngBoundsSouthWestLongitude=11; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#liteMode} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:liteMode + */ + public static final int MapAttrs_liteMode=12; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#mapType} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
hybrid4
none0
normal1
satellite2
terrain3
+ * + * @attr name reparto_izca.keymon.lat:mapType + */ + public static final int MapAttrs_mapType=13; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiCompass} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiCompass + */ + public static final int MapAttrs_uiCompass=14; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiMapToolbar} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiMapToolbar + */ + public static final int MapAttrs_uiMapToolbar=15; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiRotateGestures} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiRotateGestures + */ + public static final int MapAttrs_uiRotateGestures=16; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiScrollGestures} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiScrollGestures + */ + public static final int MapAttrs_uiScrollGestures=17; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiScrollGesturesDuringRotateOrZoom} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiScrollGesturesDuringRotateOrZoom + */ + public static final int MapAttrs_uiScrollGesturesDuringRotateOrZoom=18; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiTiltGestures} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiTiltGestures + */ + public static final int MapAttrs_uiTiltGestures=19; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiZoomControls} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiZoomControls + */ + public static final int MapAttrs_uiZoomControls=20; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#uiZoomGestures} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:uiZoomGestures + */ + public static final int MapAttrs_uiZoomGestures=21; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#useViewLifecycle} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:useViewLifecycle + */ + public static final int MapAttrs_useViewLifecycle=22; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#zOrderOnTop} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_izca.keymon.lat:zOrderOnTop + */ + public static final int MapAttrs_zOrderOnTop=23; + /** + * Attributes that can be used with a SignInButton. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + *
AttributeDescription
{@link #SignInButton_buttonSize reparto_izca.keymon.lat:buttonSize}
{@link #SignInButton_colorScheme reparto_izca.keymon.lat:colorScheme}
{@link #SignInButton_scopeUris reparto_izca.keymon.lat:scopeUris}
+ * @see #SignInButton_buttonSize + * @see #SignInButton_colorScheme + * @see #SignInButton_scopeUris + */ + public static final int[] SignInButton={ + 0x7f020002, 0x7f02000b, 0x7f020028 + }; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#buttonSize} + * attribute's value can be found in the {@link #SignInButton} array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
icon_only2
standard0
wide1
+ * + * @attr name reparto_izca.keymon.lat:buttonSize + */ + public static final int SignInButton_buttonSize=0; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#colorScheme} + * attribute's value can be found in the {@link #SignInButton} array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
auto2
dark0
light1
+ * + * @attr name reparto_izca.keymon.lat:colorScheme + */ + public static final int SignInButton_colorScheme=1; + /** + *

This symbol is the offset where the {@link reparto_izca.keymon.lat.R.attr#scopeUris} + * attribute's value can be found in the {@link #SignInButton} array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_izca.keymon.lat:scopeUris + */ + public static final int SignInButton_scopeUris=2; + /** + * Attributes that can be used with a SwipeRefreshLayout. + *

Includes the following attributes:

+ * + * + * + * + * + *
AttributeDescription
{@link #SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor reparto_izca.keymon.lat:swipeRefreshLayoutProgressSpinnerBackgroundColor}Background color for SwipeRefreshLayout progress spinner.
+ * @see #SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor + */ + public static final int[] SwipeRefreshLayout={ + 0x7f02002a + }; + /** + *

+ * @attr description + * Background color for SwipeRefreshLayout progress spinner. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name reparto_izca.keymon.lat:swipeRefreshLayoutProgressSpinnerBackgroundColor + */ + public static final int SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor=0; + } + public static final class xml { + public static final int provider_paths=0x7f0c0000; + } +} \ No newline at end of file diff --git a/B4A/Objects/gen/reparto_mariana/keymon/lat/R.java b/B4A/Objects/gen/reparto_mariana/keymon/lat/R.java new file mode 100644 index 0000000..4cf5275 --- /dev/null +++ b/B4A/Objects/gen/reparto_mariana/keymon/lat/R.java @@ -0,0 +1,2121 @@ +/* AUTO-GENERATED FILE. DO NOT MODIFY. + * + * This class was automatically generated by the + * aapt tool from the resource data it found. It + * should not be modified by hand. + */ + +package reparto_mariana.keymon.lat; + +public final class R { + public static final class anim { + public static final int fragment_close_enter=0x7f010000; + public static final int fragment_close_exit=0x7f010001; + public static final int fragment_fade_enter=0x7f010002; + public static final int fragment_fade_exit=0x7f010003; + public static final int fragment_fast_out_extra_slow_in=0x7f010004; + public static final int fragment_open_enter=0x7f010005; + public static final int fragment_open_exit=0x7f010006; + } + public static final class attr { + /** + * Alpha multiplier applied to the base color. + *

May be a floating point value, such as "1.2". + */ + public static final int alpha=0x7f020000; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int ambientEnabled=0x7f020001; + /** + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
icon_only2
standard0
wide1
+ */ + public static final int buttonSize=0x7f020002; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraBearing=0x7f020003; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraMaxZoomPreference=0x7f020004; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraMinZoomPreference=0x7f020005; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraTargetLat=0x7f020006; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraTargetLng=0x7f020007; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraTilt=0x7f020008; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraZoom=0x7f020009; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int circleCrop=0x7f02000a; + /** + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
auto2
dark0
light1
+ */ + public static final int colorScheme=0x7f02000b; + /** + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int coordinatorLayoutStyle=0x7f02000c; + /** + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int drawerLayoutStyle=0x7f02000d; + /** + *

May be a dimension value, which is a floating point number appended with a + * unit such as "14.5sp". + * Available units are: px (pixels), dp (density-independent pixels), + * sp (scaled pixels based on preferred font size), in (inches), and + * mm (millimeters). + */ + public static final int elevation=0x7f02000e; + /** + * The reference to the font file to be used. This should be a file in the res/font folder + * and should therefore have an R reference value. E.g. @font/myfont + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int font=0x7f02000f; + /** + * The authority of the Font Provider to be used for the request. + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int fontProviderAuthority=0x7f020010; + /** + * The sets of hashes for the certificates the provider should be signed with. This is + * used to verify the identity of the provider, and is only required if the provider is not + * part of the system image. This value may point to one list or a list of lists, where each + * individual list represents one collection of signature hashes. Refer to your font provider's + * documentation for these values. + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int fontProviderCerts=0x7f020011; + /** + * The strategy to be used when fetching font data from a font provider in XML layouts. + * This attribute is ignored when the resource is loaded from code, as it is equivalent to the + * choice of API between {@link + * androidx.core.content.res.ResourcesCompat#getFont(Context, int)} (blocking) and + * {@link + * androidx.core.content.res.ResourcesCompat#getFont(Context, int, FontCallback, Handler)} + * (async). + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + *
ConstantValueDescription
async1The async font fetch works as follows. + * First, check the local cache, then if the requeted font is not cached, trigger a + * request the font and continue with layout inflation. Once the font fetch succeeds, the + * target text view will be refreshed with the downloaded font data. The + * fontProviderFetchTimeout will be ignored if async loading is specified.
blocking0The blocking font fetch works as follows. + * First, check the local cache, then if the requested font is not cached, request the + * font from the provider and wait until it is finished. You can change the length of + * the timeout by modifying fontProviderFetchTimeout. If the timeout happens, the + * default typeface will be used instead.
+ */ + public static final int fontProviderFetchStrategy=0x7f020012; + /** + * The length of the timeout during fetching. + *

May be an integer value, such as "100". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + *
ConstantValueDescription
foreverffffffffA special value for the timeout. In this case, the blocking font fetching will not + * timeout and wait until a reply is received from the font provider.
+ */ + public static final int fontProviderFetchTimeout=0x7f020013; + /** + * The package for the Font Provider to be used for the request. This is used to verify + * the identity of the provider. + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int fontProviderPackage=0x7f020014; + /** + * The query to be sent over to the provider. Refer to your font provider's documentation + * on the format of this string. + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int fontProviderQuery=0x7f020015; + /** + * The style of the given font file. This will be used when the font is being loaded into + * the font stack and will override any style information in the font's header tables. If + * unspecified, the value in the font's header tables will be used. + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + *
ConstantValueDescription
italic1
normal0
+ */ + public static final int fontStyle=0x7f020016; + /** + * The variation settings to be applied to the font. The string should be in the following + * format: "'tag1' value1, 'tag2' value2, ...". If the default variation settings should be + * used, or the font used does not support variation settings, this attribute needs not be + * specified. + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int fontVariationSettings=0x7f020017; + /** + * The weight of the given font file. This will be used when the font is being loaded into + * the font stack and will override any weight information in the font's header tables. Must + * be a positive number, a multiple of 100, and between 100 and 900, inclusive. The most + * common values are 400 for regular weight and 700 for bold weight. If unspecified, the value + * in the font's header tables will be used. + *

May be an integer value, such as "100". + */ + public static final int fontWeight=0x7f020018; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int imageAspectRatio=0x7f020019; + /** + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
adjust_height2
adjust_width1
none0
+ */ + public static final int imageAspectRatioAdjust=0x7f02001a; + /** + * A reference to an array of integers representing the + * locations of horizontal keylines in dp from the starting edge. + * Child views can refer to these keylines for alignment using + * layout_keyline="index" where index is a 0-based index into + * this array. + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int keylines=0x7f02001b; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int latLngBoundsNorthEastLatitude=0x7f02001c; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int latLngBoundsNorthEastLongitude=0x7f02001d; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int latLngBoundsSouthWestLatitude=0x7f02001e; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int latLngBoundsSouthWestLongitude=0x7f02001f; + /** + * The id of an anchor view that this view should position relative to. + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int layout_anchor=0x7f020020; + /** + * Specifies how an object should position relative to an anchor, on both the X and Y axes, + * within its parent's bounds. + *

Must be one or more (separated by '|') of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
bottom50Push object to the bottom of its container, not changing its size.
center11Place the object in the center of its container in both the vertical and horizontal axis, not changing its size.
center_horizontal1Place object in the horizontal center of its container, not changing its size.
center_vertical10Place object in the vertical center of its container, not changing its size.
clip_horizontal8Additional option that can be set to have the left and/or right edges of + * the child clipped to its container's bounds. + * The clip will be based on the horizontal gravity: a left gravity will clip the right + * edge, a right gravity will clip the left edge, and neither will clip both edges.
clip_vertical80Additional option that can be set to have the top and/or bottom edges of + * the child clipped to its container's bounds. + * The clip will be based on the vertical gravity: a top gravity will clip the bottom + * edge, a bottom gravity will clip the top edge, and neither will clip both edges.
end800005Push object to the end of its container, not changing its size.
fill77Grow the horizontal and vertical size of the object if needed so it completely fills its container.
fill_horizontal7Grow the horizontal size of the object if needed so it completely fills its container.
fill_vertical70Grow the vertical size of the object if needed so it completely fills its container.
left3Push object to the left of its container, not changing its size.
right5Push object to the right of its container, not changing its size.
start800003Push object to the beginning of its container, not changing its size.
top30Push object to the top of its container, not changing its size.
+ */ + public static final int layout_anchorGravity=0x7f020021; + /** + * The class name of a Behavior class defining special runtime behavior + * for this child view. + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int layout_behavior=0x7f020022; + /** + * Specifies how this view dodges the inset edges of the CoordinatorLayout. + *

Must be one or more (separated by '|') of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
all77Dodge all the inset edges.
bottom50Dodge the bottom inset edge.
end800005Dodge the end inset edge.
left3Dodge the left inset edge.
none0Don't dodge any edges
right5Dodge the right inset edge.
start800003Dodge the start inset edge.
top30Dodge the top inset edge.
+ */ + public static final int layout_dodgeInsetEdges=0x7f020023; + /** + * Specifies how this view insets the CoordinatorLayout and make some other views + * dodge it. + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
bottom50Inset the bottom edge.
end800005Inset the end edge.
left3Inset the left edge.
none0Don't inset.
right5Inset the right edge.
start800003Inset the start edge.
top30Inset the top edge.
+ */ + public static final int layout_insetEdge=0x7f020024; + /** + * The index of a keyline this view should position relative to. + * android:layout_gravity will affect how the view aligns to the + * specified keyline. + *

May be an integer value, such as "100". + */ + public static final int layout_keyline=0x7f020025; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int liteMode=0x7f020026; + /** + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
hybrid4
none0
normal1
satellite2
terrain3
+ */ + public static final int mapType=0x7f020027; + /** + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int scopeUris=0x7f020028; + /** + * Drawable to display behind the status bar when the view is set to draw behind it. + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + */ + public static final int statusBarBackground=0x7f020029; + /** + * Background color for SwipeRefreshLayout progress spinner. + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + */ + public static final int swipeRefreshLayoutProgressSpinnerBackgroundColor=0x7f02002a; + /** + * The index of the font in the tcc font file. If the font file referenced is not in the + * tcc format, this attribute needs not be specified. + *

May be an integer value, such as "100". + */ + public static final int ttcIndex=0x7f02002b; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiCompass=0x7f02002c; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiMapToolbar=0x7f02002d; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiRotateGestures=0x7f02002e; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiScrollGestures=0x7f02002f; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiScrollGesturesDuringRotateOrZoom=0x7f020030; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiTiltGestures=0x7f020031; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiZoomControls=0x7f020032; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiZoomGestures=0x7f020033; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int useViewLifecycle=0x7f020034; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int zOrderOnTop=0x7f020035; + } + public static final class color { + public static final int androidx_core_ripple_material_light=0x7f030000; + public static final int androidx_core_secondary_text_default_material_light=0x7f030001; + public static final int common_google_signin_btn_text_dark=0x7f030002; + public static final int common_google_signin_btn_text_dark_default=0x7f030003; + public static final int common_google_signin_btn_text_dark_disabled=0x7f030004; + public static final int common_google_signin_btn_text_dark_focused=0x7f030005; + public static final int common_google_signin_btn_text_dark_pressed=0x7f030006; + public static final int common_google_signin_btn_text_light=0x7f030007; + public static final int common_google_signin_btn_text_light_default=0x7f030008; + public static final int common_google_signin_btn_text_light_disabled=0x7f030009; + public static final int common_google_signin_btn_text_light_focused=0x7f03000a; + public static final int common_google_signin_btn_text_light_pressed=0x7f03000b; + public static final int common_google_signin_btn_tint=0x7f03000c; + public static final int notification_action_color_filter=0x7f03000d; + public static final int notification_icon_bg_color=0x7f03000e; + public static final int notification_material_background_media_default_color=0x7f03000f; + public static final int primary_text_default_material_dark=0x7f030010; + public static final int secondary_text_default_material_dark=0x7f030011; + } + public static final class dimen { + public static final int compat_button_inset_horizontal_material=0x7f040000; + public static final int compat_button_inset_vertical_material=0x7f040001; + public static final int compat_button_padding_horizontal_material=0x7f040002; + public static final int compat_button_padding_vertical_material=0x7f040003; + public static final int compat_control_corner_material=0x7f040004; + public static final int compat_notification_large_icon_max_height=0x7f040005; + public static final int compat_notification_large_icon_max_width=0x7f040006; + public static final int def_drawer_elevation=0x7f040007; + public static final int notification_action_icon_size=0x7f040008; + public static final int notification_action_text_size=0x7f040009; + public static final int notification_big_circle_margin=0x7f04000a; + public static final int notification_content_margin_start=0x7f04000b; + public static final int notification_large_icon_height=0x7f04000c; + public static final int notification_large_icon_width=0x7f04000d; + public static final int notification_main_column_padding_top=0x7f04000e; + public static final int notification_media_narrow_margin=0x7f04000f; + public static final int notification_right_icon_size=0x7f040010; + public static final int notification_right_side_padding_top=0x7f040011; + public static final int notification_small_icon_background_padding=0x7f040012; + public static final int notification_small_icon_size_as_large=0x7f040013; + public static final int notification_subtext_size=0x7f040014; + public static final int notification_top_pad=0x7f040015; + public static final int notification_top_pad_large_text=0x7f040016; + public static final int subtitle_corner_radius=0x7f040017; + public static final int subtitle_outline_width=0x7f040018; + public static final int subtitle_shadow_offset=0x7f040019; + public static final int subtitle_shadow_radius=0x7f04001a; + } + public static final class drawable { + public static final int common_full_open_on_phone=0x7f050000; + public static final int common_google_signin_btn_icon_dark=0x7f050001; + public static final int common_google_signin_btn_icon_dark_focused=0x7f050002; + public static final int common_google_signin_btn_icon_dark_normal=0x7f050003; + public static final int common_google_signin_btn_icon_dark_normal_background=0x7f050004; + public static final int common_google_signin_btn_icon_disabled=0x7f050005; + public static final int common_google_signin_btn_icon_light=0x7f050006; + public static final int common_google_signin_btn_icon_light_focused=0x7f050007; + public static final int common_google_signin_btn_icon_light_normal=0x7f050008; + public static final int common_google_signin_btn_icon_light_normal_background=0x7f050009; + public static final int common_google_signin_btn_text_dark=0x7f05000a; + public static final int common_google_signin_btn_text_dark_focused=0x7f05000b; + public static final int common_google_signin_btn_text_dark_normal=0x7f05000c; + public static final int common_google_signin_btn_text_dark_normal_background=0x7f05000d; + public static final int common_google_signin_btn_text_disabled=0x7f05000e; + public static final int common_google_signin_btn_text_light=0x7f05000f; + public static final int common_google_signin_btn_text_light_focused=0x7f050010; + public static final int common_google_signin_btn_text_light_normal=0x7f050011; + public static final int common_google_signin_btn_text_light_normal_background=0x7f050012; + public static final int googleg_disabled_color_18=0x7f050013; + public static final int googleg_standard_color_18=0x7f050014; + public static final int icon=0x7f050015; + public static final int notification_action_background=0x7f050016; + public static final int notification_bg=0x7f050017; + public static final int notification_bg_low=0x7f050018; + public static final int notification_bg_low_normal=0x7f050019; + public static final int notification_bg_low_pressed=0x7f05001a; + public static final int notification_bg_normal=0x7f05001b; + public static final int notification_bg_normal_pressed=0x7f05001c; + public static final int notification_icon_background=0x7f05001d; + public static final int notification_template_icon_bg=0x7f05001e; + public static final int notification_template_icon_low_bg=0x7f05001f; + public static final int notification_tile_bg=0x7f050020; + public static final int notify_panel_notification_icon_bg=0x7f050021; + } + public static final class id { + public static final int accessibility_action_clickable_span=0x7f060000; + public static final int accessibility_custom_action_0=0x7f060001; + public static final int accessibility_custom_action_1=0x7f060002; + public static final int accessibility_custom_action_10=0x7f060003; + public static final int accessibility_custom_action_11=0x7f060004; + public static final int accessibility_custom_action_12=0x7f060005; + public static final int accessibility_custom_action_13=0x7f060006; + public static final int accessibility_custom_action_14=0x7f060007; + public static final int accessibility_custom_action_15=0x7f060008; + public static final int accessibility_custom_action_16=0x7f060009; + public static final int accessibility_custom_action_17=0x7f06000a; + public static final int accessibility_custom_action_18=0x7f06000b; + public static final int accessibility_custom_action_19=0x7f06000c; + public static final int accessibility_custom_action_2=0x7f06000d; + public static final int accessibility_custom_action_20=0x7f06000e; + public static final int accessibility_custom_action_21=0x7f06000f; + public static final int accessibility_custom_action_22=0x7f060010; + public static final int accessibility_custom_action_23=0x7f060011; + public static final int accessibility_custom_action_24=0x7f060012; + public static final int accessibility_custom_action_25=0x7f060013; + public static final int accessibility_custom_action_26=0x7f060014; + public static final int accessibility_custom_action_27=0x7f060015; + public static final int accessibility_custom_action_28=0x7f060016; + public static final int accessibility_custom_action_29=0x7f060017; + public static final int accessibility_custom_action_3=0x7f060018; + public static final int accessibility_custom_action_30=0x7f060019; + public static final int accessibility_custom_action_31=0x7f06001a; + public static final int accessibility_custom_action_4=0x7f06001b; + public static final int accessibility_custom_action_5=0x7f06001c; + public static final int accessibility_custom_action_6=0x7f06001d; + public static final int accessibility_custom_action_7=0x7f06001e; + public static final int accessibility_custom_action_8=0x7f06001f; + public static final int accessibility_custom_action_9=0x7f060020; + public static final int action0=0x7f060021; + public static final int action_container=0x7f060022; + public static final int action_divider=0x7f060023; + public static final int action_image=0x7f060024; + public static final int action_text=0x7f060025; + public static final int actions=0x7f060026; + public static final int adjust_height=0x7f060027; + public static final int adjust_width=0x7f060028; + public static final int all=0x7f060029; + public static final int async=0x7f06002a; + public static final int auto=0x7f06002b; + public static final int blocking=0x7f06002c; + public static final int bottom=0x7f06002d; + public static final int cancel_action=0x7f06002e; + public static final int center=0x7f06002f; + public static final int center_horizontal=0x7f060030; + public static final int center_vertical=0x7f060031; + public static final int chronometer=0x7f060032; + public static final int clip_horizontal=0x7f060033; + public static final int clip_vertical=0x7f060034; + public static final int dark=0x7f060035; + public static final int dialog_button=0x7f060036; + public static final int end=0x7f060037; + public static final int end_padder=0x7f060038; + public static final int fill=0x7f060039; + public static final int fill_horizontal=0x7f06003a; + public static final int fill_vertical=0x7f06003b; + public static final int forever=0x7f06003c; + public static final int fragment_container_view_tag=0x7f06003d; + public static final int hybrid=0x7f06003e; + public static final int icon=0x7f06003f; + public static final int icon_group=0x7f060040; + public static final int icon_only=0x7f060041; + public static final int info=0x7f060042; + public static final int italic=0x7f060043; + public static final int left=0x7f060044; + public static final int light=0x7f060045; + public static final int line1=0x7f060046; + public static final int line3=0x7f060047; + public static final int media_actions=0x7f060048; + public static final int none=0x7f060049; + public static final int normal=0x7f06004a; + public static final int notification_background=0x7f06004b; + public static final int notification_main_column=0x7f06004c; + public static final int notification_main_column_container=0x7f06004d; + public static final int right=0x7f06004e; + public static final int right_icon=0x7f06004f; + public static final int right_side=0x7f060050; + public static final int satellite=0x7f060051; + public static final int standard=0x7f060052; + public static final int start=0x7f060053; + public static final int status_bar_latest_event_content=0x7f060054; + public static final int tag_accessibility_actions=0x7f060055; + public static final int tag_accessibility_clickable_spans=0x7f060056; + public static final int tag_accessibility_heading=0x7f060057; + public static final int tag_accessibility_pane_title=0x7f060058; + public static final int tag_screen_reader_focusable=0x7f060059; + public static final int tag_transition_group=0x7f06005a; + public static final int tag_unhandled_key_event_manager=0x7f06005b; + public static final int tag_unhandled_key_listeners=0x7f06005c; + public static final int terrain=0x7f06005d; + public static final int text=0x7f06005e; + public static final int text2=0x7f06005f; + public static final int time=0x7f060060; + public static final int title=0x7f060061; + public static final int top=0x7f060062; + public static final int visible_removing_fragment_view_tag=0x7f060063; + public static final int wide=0x7f060064; + } + public static final class integer { + public static final int cancel_button_image_alpha=0x7f070000; + public static final int google_play_services_version=0x7f070001; + public static final int status_bar_notification_info_maxnum=0x7f070002; + } + public static final class layout { + public static final int custom_dialog=0x7f080000; + public static final int notification_action=0x7f080001; + public static final int notification_action_tombstone=0x7f080002; + public static final int notification_media_action=0x7f080003; + public static final int notification_media_cancel_action=0x7f080004; + public static final int notification_template_big_media=0x7f080005; + public static final int notification_template_big_media_custom=0x7f080006; + public static final int notification_template_big_media_narrow=0x7f080007; + public static final int notification_template_big_media_narrow_custom=0x7f080008; + public static final int notification_template_custom_big=0x7f080009; + public static final int notification_template_icon_group=0x7f08000a; + public static final int notification_template_lines_media=0x7f08000b; + public static final int notification_template_media=0x7f08000c; + public static final int notification_template_media_custom=0x7f08000d; + public static final int notification_template_part_chronometer=0x7f08000e; + public static final int notification_template_part_time=0x7f08000f; + } + public static final class string { + public static final int common_google_play_services_enable_button=0x7f090000; + public static final int common_google_play_services_enable_text=0x7f090001; + public static final int common_google_play_services_enable_title=0x7f090002; + public static final int common_google_play_services_install_button=0x7f090003; + public static final int common_google_play_services_install_text=0x7f090004; + public static final int common_google_play_services_install_title=0x7f090005; + public static final int common_google_play_services_notification_channel_name=0x7f090006; + public static final int common_google_play_services_notification_ticker=0x7f090007; + public static final int common_google_play_services_unknown_issue=0x7f090008; + public static final int common_google_play_services_unsupported_text=0x7f090009; + public static final int common_google_play_services_update_button=0x7f09000a; + public static final int common_google_play_services_update_text=0x7f09000b; + public static final int common_google_play_services_update_title=0x7f09000c; + public static final int common_google_play_services_updating_text=0x7f09000d; + public static final int common_google_play_services_wear_update_text=0x7f09000e; + public static final int common_open_on_phone=0x7f09000f; + public static final int common_signin_button_text=0x7f090010; + public static final int common_signin_button_text_long=0x7f090011; + public static final int status_bar_notification_info_overflow=0x7f090012; + } + public static final class style { + public static final int LightTheme=0x7f0a0000; + public static final int LowerCaseMenu=0x7f0a0001; + public static final int TextAppearance_Compat_Notification=0x7f0a0002; + public static final int TextAppearance_Compat_Notification_Info=0x7f0a0003; + public static final int TextAppearance_Compat_Notification_Info_Media=0x7f0a0004; + public static final int TextAppearance_Compat_Notification_Line2=0x7f0a0005; + public static final int TextAppearance_Compat_Notification_Line2_Media=0x7f0a0006; + public static final int TextAppearance_Compat_Notification_Media=0x7f0a0007; + public static final int TextAppearance_Compat_Notification_Time=0x7f0a0008; + public static final int TextAppearance_Compat_Notification_Time_Media=0x7f0a0009; + public static final int TextAppearance_Compat_Notification_Title=0x7f0a000a; + public static final int TextAppearance_Compat_Notification_Title_Media=0x7f0a000b; + public static final int Widget_Compat_NotificationActionContainer=0x7f0a000c; + public static final int Widget_Compat_NotificationActionText=0x7f0a000d; + public static final int Widget_Support_CoordinatorLayout=0x7f0a000e; + } + public static final class styleable { + /** + * Attributes that can be used with a ColorStateListItem. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + *
AttributeDescription
{@link #ColorStateListItem_android_color android:color}
{@link #ColorStateListItem_android_alpha android:alpha}
{@link #ColorStateListItem_alpha reparto_mariana.keymon.lat:alpha}Alpha multiplier applied to the base color.
+ * @see #ColorStateListItem_android_color + * @see #ColorStateListItem_android_alpha + * @see #ColorStateListItem_alpha + */ + public static final int[] ColorStateListItem={ + 0x010101a5, 0x0101031f, 0x7f020000 + }; + /** + *

+ * @attr description + * Base color for this state. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name android:color + */ + public static final int ColorStateListItem_android_color=0; + /** + *

This symbol is the offset where the {@link android.R.attr#alpha} + * attribute's value can be found in the {@link #ColorStateListItem} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:alpha + */ + public static final int ColorStateListItem_android_alpha=1; + /** + *

+ * @attr description + * Alpha multiplier applied to the base color. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_mariana.keymon.lat:alpha + */ + public static final int ColorStateListItem_alpha=2; + /** + * Attributes that can be used with a CoordinatorLayout. + *

Includes the following attributes:

+ * + * + * + * + * + * + *
AttributeDescription
{@link #CoordinatorLayout_keylines reparto_mariana.keymon.lat:keylines}A reference to an array of integers representing the + * locations of horizontal keylines in dp from the starting edge.
{@link #CoordinatorLayout_statusBarBackground reparto_mariana.keymon.lat:statusBarBackground}Drawable to display behind the status bar when the view is set to draw behind it.
+ * @see #CoordinatorLayout_keylines + * @see #CoordinatorLayout_statusBarBackground + */ + public static final int[] CoordinatorLayout={ + 0x7f02001b, 0x7f020029 + }; + /** + *

+ * @attr description + * A reference to an array of integers representing the + * locations of horizontal keylines in dp from the starting edge. + * Child views can refer to these keylines for alignment using + * layout_keyline="index" where index is a 0-based index into + * this array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name reparto_mariana.keymon.lat:keylines + */ + public static final int CoordinatorLayout_keylines=0; + /** + *

+ * @attr description + * Drawable to display behind the status bar when the view is set to draw behind it. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name reparto_mariana.keymon.lat:statusBarBackground + */ + public static final int CoordinatorLayout_statusBarBackground=1; + /** + * Attributes that can be used with a CoordinatorLayout_Layout. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #CoordinatorLayout_Layout_android_layout_gravity android:layout_gravity}
{@link #CoordinatorLayout_Layout_layout_anchor reparto_mariana.keymon.lat:layout_anchor}The id of an anchor view that this view should position relative to.
{@link #CoordinatorLayout_Layout_layout_anchorGravity reparto_mariana.keymon.lat:layout_anchorGravity}Specifies how an object should position relative to an anchor, on both the X and Y axes, + * within its parent's bounds.
{@link #CoordinatorLayout_Layout_layout_behavior reparto_mariana.keymon.lat:layout_behavior}The class name of a Behavior class defining special runtime behavior + * for this child view.
{@link #CoordinatorLayout_Layout_layout_dodgeInsetEdges reparto_mariana.keymon.lat:layout_dodgeInsetEdges}Specifies how this view dodges the inset edges of the CoordinatorLayout.
{@link #CoordinatorLayout_Layout_layout_insetEdge reparto_mariana.keymon.lat:layout_insetEdge}Specifies how this view insets the CoordinatorLayout and make some other views + * dodge it.
{@link #CoordinatorLayout_Layout_layout_keyline reparto_mariana.keymon.lat:layout_keyline}The index of a keyline this view should position relative to.
+ * @see #CoordinatorLayout_Layout_android_layout_gravity + * @see #CoordinatorLayout_Layout_layout_anchor + * @see #CoordinatorLayout_Layout_layout_anchorGravity + * @see #CoordinatorLayout_Layout_layout_behavior + * @see #CoordinatorLayout_Layout_layout_dodgeInsetEdges + * @see #CoordinatorLayout_Layout_layout_insetEdge + * @see #CoordinatorLayout_Layout_layout_keyline + */ + public static final int[] CoordinatorLayout_Layout={ + 0x010100b3, 0x7f020020, 0x7f020021, 0x7f020022, + 0x7f020023, 0x7f020024, 0x7f020025 + }; + /** + *

This symbol is the offset where the {@link android.R.attr#layout_gravity} + * attribute's value can be found in the {@link #CoordinatorLayout_Layout} array. + * + *

Must be one or more (separated by '|') of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
bottom50
center11
center_horizontal1
center_vertical10
clip_horizontal8
clip_vertical80
end800005
fill77
fill_horizontal7
fill_vertical70
left3
right5
start800003
top30
+ * + * @attr name android:layout_gravity + */ + public static final int CoordinatorLayout_Layout_android_layout_gravity=0; + /** + *

+ * @attr description + * The id of an anchor view that this view should position relative to. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name reparto_mariana.keymon.lat:layout_anchor + */ + public static final int CoordinatorLayout_Layout_layout_anchor=1; + /** + *

+ * @attr description + * Specifies how an object should position relative to an anchor, on both the X and Y axes, + * within its parent's bounds. + * + *

Must be one or more (separated by '|') of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
bottom50Push object to the bottom of its container, not changing its size.
center11Place the object in the center of its container in both the vertical and horizontal axis, not changing its size.
center_horizontal1Place object in the horizontal center of its container, not changing its size.
center_vertical10Place object in the vertical center of its container, not changing its size.
clip_horizontal8Additional option that can be set to have the left and/or right edges of + * the child clipped to its container's bounds. + * The clip will be based on the horizontal gravity: a left gravity will clip the right + * edge, a right gravity will clip the left edge, and neither will clip both edges.
clip_vertical80Additional option that can be set to have the top and/or bottom edges of + * the child clipped to its container's bounds. + * The clip will be based on the vertical gravity: a top gravity will clip the bottom + * edge, a bottom gravity will clip the top edge, and neither will clip both edges.
end800005Push object to the end of its container, not changing its size.
fill77Grow the horizontal and vertical size of the object if needed so it completely fills its container.
fill_horizontal7Grow the horizontal size of the object if needed so it completely fills its container.
fill_vertical70Grow the vertical size of the object if needed so it completely fills its container.
left3Push object to the left of its container, not changing its size.
right5Push object to the right of its container, not changing its size.
start800003Push object to the beginning of its container, not changing its size.
top30Push object to the top of its container, not changing its size.
+ * + * @attr name reparto_mariana.keymon.lat:layout_anchorGravity + */ + public static final int CoordinatorLayout_Layout_layout_anchorGravity=2; + /** + *

+ * @attr description + * The class name of a Behavior class defining special runtime behavior + * for this child view. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_mariana.keymon.lat:layout_behavior + */ + public static final int CoordinatorLayout_Layout_layout_behavior=3; + /** + *

+ * @attr description + * Specifies how this view dodges the inset edges of the CoordinatorLayout. + * + *

Must be one or more (separated by '|') of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
all77Dodge all the inset edges.
bottom50Dodge the bottom inset edge.
end800005Dodge the end inset edge.
left3Dodge the left inset edge.
none0Don't dodge any edges
right5Dodge the right inset edge.
start800003Dodge the start inset edge.
top30Dodge the top inset edge.
+ * + * @attr name reparto_mariana.keymon.lat:layout_dodgeInsetEdges + */ + public static final int CoordinatorLayout_Layout_layout_dodgeInsetEdges=4; + /** + *

+ * @attr description + * Specifies how this view insets the CoordinatorLayout and make some other views + * dodge it. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
bottom50Inset the bottom edge.
end800005Inset the end edge.
left3Inset the left edge.
none0Don't inset.
right5Inset the right edge.
start800003Inset the start edge.
top30Inset the top edge.
+ * + * @attr name reparto_mariana.keymon.lat:layout_insetEdge + */ + public static final int CoordinatorLayout_Layout_layout_insetEdge=5; + /** + *

+ * @attr description + * The index of a keyline this view should position relative to. + * android:layout_gravity will affect how the view aligns to the + * specified keyline. + * + *

May be an integer value, such as "100". + * + * @attr name reparto_mariana.keymon.lat:layout_keyline + */ + public static final int CoordinatorLayout_Layout_layout_keyline=6; + /** + * Attributes that can be used with a DrawerLayout. + *

Includes the following attributes:

+ * + * + * + * + * + *
AttributeDescription
{@link #DrawerLayout_elevation reparto_mariana.keymon.lat:elevation}
+ * @see #DrawerLayout_elevation + */ + public static final int[] DrawerLayout={ + 0x7f02000e + }; + /** + *

+ * @attr description + * The height difference between the drawer and the base surface. Only takes effect on API 21 and above + * + *

May be a dimension value, which is a floating point number appended with a + * unit such as "14.5sp". + * Available units are: px (pixels), dp (density-independent pixels), + * sp (scaled pixels based on preferred font size), in (inches), and + * mm (millimeters). + * + * @attr name reparto_mariana.keymon.lat:elevation + */ + public static final int DrawerLayout_elevation=0; + /** + * Attributes that can be used with a FontFamily. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #FontFamily_fontProviderAuthority reparto_mariana.keymon.lat:fontProviderAuthority}The authority of the Font Provider to be used for the request.
{@link #FontFamily_fontProviderCerts reparto_mariana.keymon.lat:fontProviderCerts}The sets of hashes for the certificates the provider should be signed with.
{@link #FontFamily_fontProviderFetchStrategy reparto_mariana.keymon.lat:fontProviderFetchStrategy}The strategy to be used when fetching font data from a font provider in XML layouts.
{@link #FontFamily_fontProviderFetchTimeout reparto_mariana.keymon.lat:fontProviderFetchTimeout}The length of the timeout during fetching.
{@link #FontFamily_fontProviderPackage reparto_mariana.keymon.lat:fontProviderPackage}The package for the Font Provider to be used for the request.
{@link #FontFamily_fontProviderQuery reparto_mariana.keymon.lat:fontProviderQuery}The query to be sent over to the provider.
+ * @see #FontFamily_fontProviderAuthority + * @see #FontFamily_fontProviderCerts + * @see #FontFamily_fontProviderFetchStrategy + * @see #FontFamily_fontProviderFetchTimeout + * @see #FontFamily_fontProviderPackage + * @see #FontFamily_fontProviderQuery + */ + public static final int[] FontFamily={ + 0x7f020010, 0x7f020011, 0x7f020012, 0x7f020013, + 0x7f020014, 0x7f020015 + }; + /** + *

+ * @attr description + * The authority of the Font Provider to be used for the request. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_mariana.keymon.lat:fontProviderAuthority + */ + public static final int FontFamily_fontProviderAuthority=0; + /** + *

+ * @attr description + * The sets of hashes for the certificates the provider should be signed with. This is + * used to verify the identity of the provider, and is only required if the provider is not + * part of the system image. This value may point to one list or a list of lists, where each + * individual list represents one collection of signature hashes. Refer to your font provider's + * documentation for these values. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name reparto_mariana.keymon.lat:fontProviderCerts + */ + public static final int FontFamily_fontProviderCerts=1; + /** + *

+ * @attr description + * The strategy to be used when fetching font data from a font provider in XML layouts. + * This attribute is ignored when the resource is loaded from code, as it is equivalent to the + * choice of API between {@link + * androidx.core.content.res.ResourcesCompat#getFont(Context, int)} (blocking) and + * {@link + * androidx.core.content.res.ResourcesCompat#getFont(Context, int, FontCallback, Handler)} + * (async). + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + *
ConstantValueDescription
async1The async font fetch works as follows. + * First, check the local cache, then if the requeted font is not cached, trigger a + * request the font and continue with layout inflation. Once the font fetch succeeds, the + * target text view will be refreshed with the downloaded font data. The + * fontProviderFetchTimeout will be ignored if async loading is specified.
blocking0The blocking font fetch works as follows. + * First, check the local cache, then if the requested font is not cached, request the + * font from the provider and wait until it is finished. You can change the length of + * the timeout by modifying fontProviderFetchTimeout. If the timeout happens, the + * default typeface will be used instead.
+ * + * @attr name reparto_mariana.keymon.lat:fontProviderFetchStrategy + */ + public static final int FontFamily_fontProviderFetchStrategy=2; + /** + *

+ * @attr description + * The length of the timeout during fetching. + * + *

May be an integer value, such as "100". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + *
ConstantValueDescription
foreverffffffffA special value for the timeout. In this case, the blocking font fetching will not + * timeout and wait until a reply is received from the font provider.
+ * + * @attr name reparto_mariana.keymon.lat:fontProviderFetchTimeout + */ + public static final int FontFamily_fontProviderFetchTimeout=3; + /** + *

+ * @attr description + * The package for the Font Provider to be used for the request. This is used to verify + * the identity of the provider. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_mariana.keymon.lat:fontProviderPackage + */ + public static final int FontFamily_fontProviderPackage=4; + /** + *

+ * @attr description + * The query to be sent over to the provider. Refer to your font provider's documentation + * on the format of this string. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_mariana.keymon.lat:fontProviderQuery + */ + public static final int FontFamily_fontProviderQuery=5; + /** + * Attributes that can be used with a FontFamilyFont. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #FontFamilyFont_android_font android:font}
{@link #FontFamilyFont_android_fontWeight android:fontWeight}
{@link #FontFamilyFont_android_fontStyle android:fontStyle}
{@link #FontFamilyFont_android_ttcIndex android:ttcIndex}
{@link #FontFamilyFont_android_fontVariationSettings android:fontVariationSettings}
{@link #FontFamilyFont_font reparto_mariana.keymon.lat:font}The reference to the font file to be used.
{@link #FontFamilyFont_fontStyle reparto_mariana.keymon.lat:fontStyle}The style of the given font file.
{@link #FontFamilyFont_fontVariationSettings reparto_mariana.keymon.lat:fontVariationSettings}The variation settings to be applied to the font.
{@link #FontFamilyFont_fontWeight reparto_mariana.keymon.lat:fontWeight}The weight of the given font file.
{@link #FontFamilyFont_ttcIndex reparto_mariana.keymon.lat:ttcIndex}The index of the font in the tcc font file.
+ * @see #FontFamilyFont_android_font + * @see #FontFamilyFont_android_fontWeight + * @see #FontFamilyFont_android_fontStyle + * @see #FontFamilyFont_android_ttcIndex + * @see #FontFamilyFont_android_fontVariationSettings + * @see #FontFamilyFont_font + * @see #FontFamilyFont_fontStyle + * @see #FontFamilyFont_fontVariationSettings + * @see #FontFamilyFont_fontWeight + * @see #FontFamilyFont_ttcIndex + */ + public static final int[] FontFamilyFont={ + 0x01010532, 0x01010533, 0x0101053f, 0x0101056f, + 0x01010570, 0x7f02000f, 0x7f020016, 0x7f020017, + 0x7f020018, 0x7f02002b + }; + /** + *

This symbol is the offset where the {@link android.R.attr#font} + * attribute's value can be found in the {@link #FontFamilyFont} array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name android:font + */ + public static final int FontFamilyFont_android_font=0; + /** + *

This symbol is the offset where the {@link android.R.attr#fontWeight} + * attribute's value can be found in the {@link #FontFamilyFont} array. + * + *

May be an integer value, such as "100". + * + * @attr name android:fontWeight + */ + public static final int FontFamilyFont_android_fontWeight=1; + /** + *

+ * @attr description + * References to the framework attrs + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + *
ConstantValueDescription
italic1
normal0
+ * + * @attr name android:fontStyle + */ + public static final int FontFamilyFont_android_fontStyle=2; + /** + *

This symbol is the offset where the {@link android.R.attr#ttcIndex} + * attribute's value can be found in the {@link #FontFamilyFont} array. + * + *

May be an integer value, such as "100". + * + * @attr name android:ttcIndex + */ + public static final int FontFamilyFont_android_ttcIndex=3; + /** + *

This symbol is the offset where the {@link android.R.attr#fontVariationSettings} + * attribute's value can be found in the {@link #FontFamilyFont} array. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name android:fontVariationSettings + */ + public static final int FontFamilyFont_android_fontVariationSettings=4; + /** + *

+ * @attr description + * The reference to the font file to be used. This should be a file in the res/font folder + * and should therefore have an R reference value. E.g. @font/myfont + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name reparto_mariana.keymon.lat:font + */ + public static final int FontFamilyFont_font=5; + /** + *

+ * @attr description + * The style of the given font file. This will be used when the font is being loaded into + * the font stack and will override any style information in the font's header tables. If + * unspecified, the value in the font's header tables will be used. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + *
ConstantValueDescription
italic1
normal0
+ * + * @attr name reparto_mariana.keymon.lat:fontStyle + */ + public static final int FontFamilyFont_fontStyle=6; + /** + *

+ * @attr description + * The variation settings to be applied to the font. The string should be in the following + * format: "'tag1' value1, 'tag2' value2, ...". If the default variation settings should be + * used, or the font used does not support variation settings, this attribute needs not be + * specified. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_mariana.keymon.lat:fontVariationSettings + */ + public static final int FontFamilyFont_fontVariationSettings=7; + /** + *

+ * @attr description + * The weight of the given font file. This will be used when the font is being loaded into + * the font stack and will override any weight information in the font's header tables. Must + * be a positive number, a multiple of 100, and between 100 and 900, inclusive. The most + * common values are 400 for regular weight and 700 for bold weight. If unspecified, the value + * in the font's header tables will be used. + * + *

May be an integer value, such as "100". + * + * @attr name reparto_mariana.keymon.lat:fontWeight + */ + public static final int FontFamilyFont_fontWeight=8; + /** + *

+ * @attr description + * The index of the font in the tcc font file. If the font file referenced is not in the + * tcc format, this attribute needs not be specified. + * + *

May be an integer value, such as "100". + * + * @attr name reparto_mariana.keymon.lat:ttcIndex + */ + public static final int FontFamilyFont_ttcIndex=9; + /** + * Attributes that can be used with a Fragment. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + *
AttributeDescription
{@link #Fragment_android_name android:name}
{@link #Fragment_android_id android:id}
{@link #Fragment_android_tag android:tag}
+ * @see #Fragment_android_name + * @see #Fragment_android_id + * @see #Fragment_android_tag + */ + public static final int[] Fragment={ + 0x01010003, 0x010100d0, 0x010100d1 + }; + /** + *

This symbol is the offset where the {@link android.R.attr#name} + * attribute's value can be found in the {@link #Fragment} array. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name android:name + */ + public static final int Fragment_android_name=0; + /** + *

This symbol is the offset where the {@link android.R.attr#id} + * attribute's value can be found in the {@link #Fragment} array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name android:id + */ + public static final int Fragment_android_id=1; + /** + *

This symbol is the offset where the {@link android.R.attr#tag} + * attribute's value can be found in the {@link #Fragment} array. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name android:tag + */ + public static final int Fragment_android_tag=2; + /** + * Attributes that can be used with a FragmentContainerView. + *

Includes the following attributes:

+ * + * + * + * + * + * + *
AttributeDescription
{@link #FragmentContainerView_android_name android:name}
{@link #FragmentContainerView_android_tag android:tag}
+ * @see #FragmentContainerView_android_name + * @see #FragmentContainerView_android_tag + */ + public static final int[] FragmentContainerView={ + 0x01010003, 0x010100d1 + }; + /** + *

This symbol is the offset where the {@link android.R.attr#name} + * attribute's value can be found in the {@link #FragmentContainerView} array. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name android:name + */ + public static final int FragmentContainerView_android_name=0; + /** + *

This symbol is the offset where the {@link android.R.attr#tag} + * attribute's value can be found in the {@link #FragmentContainerView} array. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name android:tag + */ + public static final int FragmentContainerView_android_tag=1; + /** + * Attributes that can be used with a GradientColor. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #GradientColor_android_startColor android:startColor}
{@link #GradientColor_android_endColor android:endColor}
{@link #GradientColor_android_type android:type}
{@link #GradientColor_android_centerX android:centerX}
{@link #GradientColor_android_centerY android:centerY}
{@link #GradientColor_android_gradientRadius android:gradientRadius}
{@link #GradientColor_android_tileMode android:tileMode}
{@link #GradientColor_android_centerColor android:centerColor}
{@link #GradientColor_android_startX android:startX}
{@link #GradientColor_android_startY android:startY}
{@link #GradientColor_android_endX android:endX}
{@link #GradientColor_android_endY android:endY}
+ * @see #GradientColor_android_startColor + * @see #GradientColor_android_endColor + * @see #GradientColor_android_type + * @see #GradientColor_android_centerX + * @see #GradientColor_android_centerY + * @see #GradientColor_android_gradientRadius + * @see #GradientColor_android_tileMode + * @see #GradientColor_android_centerColor + * @see #GradientColor_android_startX + * @see #GradientColor_android_startY + * @see #GradientColor_android_endX + * @see #GradientColor_android_endY + */ + public static final int[] GradientColor={ + 0x0101019d, 0x0101019e, 0x010101a1, 0x010101a2, + 0x010101a3, 0x010101a4, 0x01010201, 0x0101020b, + 0x01010510, 0x01010511, 0x01010512, 0x01010513 + }; + /** + *

+ * @attr description + * Start color of the gradient. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name android:startColor + */ + public static final int GradientColor_android_startColor=0; + /** + *

+ * @attr description + * End color of the gradient. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name android:endColor + */ + public static final int GradientColor_android_endColor=1; + /** + *

+ * @attr description + * Type of gradient. The default type is linear. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
linear0
radial1
sweep2
+ * + * @attr name android:type + */ + public static final int GradientColor_android_type=2; + /** + *

+ * @attr description + * X coordinate of the center of the gradient within the path. + * + *

May be a floating point value, such as "1.2". + *

May be a fractional value, which is a floating point number appended with + * either % or %p, such as "14.5%". + * The % suffix always means a percentage of the base size; + * the optional %p suffix provides a size relative to some parent container. + * + * @attr name android:centerX + */ + public static final int GradientColor_android_centerX=3; + /** + *

+ * @attr description + * Y coordinate of the center of the gradient within the path. + * + *

May be a floating point value, such as "1.2". + *

May be a fractional value, which is a floating point number appended with + * either % or %p, such as "14.5%". + * The % suffix always means a percentage of the base size; + * the optional %p suffix provides a size relative to some parent container. + * + * @attr name android:centerY + */ + public static final int GradientColor_android_centerY=4; + /** + *

+ * @attr description + * Radius of the gradient, used only with radial gradient. + * + *

May be a floating point value, such as "1.2". + *

May be a dimension value, which is a floating point number appended with a + * unit such as "14.5sp". + * Available units are: px (pixels), dp (density-independent pixels), + * sp (scaled pixels based on preferred font size), in (inches), and + * mm (millimeters). + *

May be a fractional value, which is a floating point number appended with + * either % or %p, such as "14.5%". + * The % suffix always means a percentage of the base size; + * the optional %p suffix provides a size relative to some parent container. + * + * @attr name android:gradientRadius + */ + public static final int GradientColor_android_gradientRadius=5; + /** + *

+ * @attr description + * Defines the tile mode of the gradient. SweepGradient doesn't support tiling. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
clamp0
disabledffffffff
mirror2
repeat1
+ * + * @attr name android:tileMode + */ + public static final int GradientColor_android_tileMode=6; + /** + *

+ * @attr description + * Optional center color. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name android:centerColor + */ + public static final int GradientColor_android_centerColor=7; + /** + *

+ * @attr description + * X coordinate of the start point origin of the gradient. + * Defined in same coordinates as the path itself + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:startX + */ + public static final int GradientColor_android_startX=8; + /** + *

+ * @attr description + * Y coordinate of the start point of the gradient within the shape. + * Defined in same coordinates as the path itself + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:startY + */ + public static final int GradientColor_android_startY=9; + /** + *

+ * @attr description + * X coordinate of the end point origin of the gradient. + * Defined in same coordinates as the path itself + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:endX + */ + public static final int GradientColor_android_endX=10; + /** + *

+ * @attr description + * Y coordinate of the end point of the gradient within the shape. + * Defined in same coordinates as the path itself + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:endY + */ + public static final int GradientColor_android_endY=11; + /** + * Attributes that can be used with a GradientColorItem. + *

Includes the following attributes:

+ * + * + * + * + * + * + *
AttributeDescription
{@link #GradientColorItem_android_color android:color}
{@link #GradientColorItem_android_offset android:offset}
+ * @see #GradientColorItem_android_color + * @see #GradientColorItem_android_offset + */ + public static final int[] GradientColorItem={ + 0x010101a5, 0x01010514 + }; + /** + *

+ * @attr description + * The current color for the offset inside the gradient. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name android:color + */ + public static final int GradientColorItem_android_color=0; + /** + *

+ * @attr description + * The offset (or ratio) of this current color item inside the gradient. + * The value is only meaningful when it is between 0 and 1. + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:offset + */ + public static final int GradientColorItem_android_offset=1; + /** + * Attributes that can be used with a LoadingImageView. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + *
AttributeDescription
{@link #LoadingImageView_circleCrop reparto_mariana.keymon.lat:circleCrop}
{@link #LoadingImageView_imageAspectRatio reparto_mariana.keymon.lat:imageAspectRatio}
{@link #LoadingImageView_imageAspectRatioAdjust reparto_mariana.keymon.lat:imageAspectRatioAdjust}
+ * @see #LoadingImageView_circleCrop + * @see #LoadingImageView_imageAspectRatio + * @see #LoadingImageView_imageAspectRatioAdjust + */ + public static final int[] LoadingImageView={ + 0x7f02000a, 0x7f020019, 0x7f02001a + }; + /** + *

This symbol is the offset where the {@link reparto_mariana.keymon.lat.R.attr#circleCrop} + * attribute's value can be found in the {@link #LoadingImageView} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_mariana.keymon.lat:circleCrop + */ + public static final int LoadingImageView_circleCrop=0; + /** + *

This symbol is the offset where the {@link reparto_mariana.keymon.lat.R.attr#imageAspectRatio} + * attribute's value can be found in the {@link #LoadingImageView} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_mariana.keymon.lat:imageAspectRatio + */ + public static final int LoadingImageView_imageAspectRatio=1; + /** + *

This symbol is the offset where the {@link reparto_mariana.keymon.lat.R.attr#imageAspectRatioAdjust} + * attribute's value can be found in the {@link #LoadingImageView} array. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
adjust_height2
adjust_width1
none0
+ * + * @attr name reparto_mariana.keymon.lat:imageAspectRatioAdjust + */ + public static final int LoadingImageView_imageAspectRatioAdjust=2; + /** + * Attributes that can be used with a MapAttrs. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #MapAttrs_ambientEnabled reparto_mariana.keymon.lat:ambientEnabled}
{@link #MapAttrs_cameraBearing reparto_mariana.keymon.lat:cameraBearing}
{@link #MapAttrs_cameraMaxZoomPreference reparto_mariana.keymon.lat:cameraMaxZoomPreference}
{@link #MapAttrs_cameraMinZoomPreference reparto_mariana.keymon.lat:cameraMinZoomPreference}
{@link #MapAttrs_cameraTargetLat reparto_mariana.keymon.lat:cameraTargetLat}
{@link #MapAttrs_cameraTargetLng reparto_mariana.keymon.lat:cameraTargetLng}
{@link #MapAttrs_cameraTilt reparto_mariana.keymon.lat:cameraTilt}
{@link #MapAttrs_cameraZoom reparto_mariana.keymon.lat:cameraZoom}
{@link #MapAttrs_latLngBoundsNorthEastLatitude reparto_mariana.keymon.lat:latLngBoundsNorthEastLatitude}
{@link #MapAttrs_latLngBoundsNorthEastLongitude reparto_mariana.keymon.lat:latLngBoundsNorthEastLongitude}
{@link #MapAttrs_latLngBoundsSouthWestLatitude reparto_mariana.keymon.lat:latLngBoundsSouthWestLatitude}
{@link #MapAttrs_latLngBoundsSouthWestLongitude reparto_mariana.keymon.lat:latLngBoundsSouthWestLongitude}
{@link #MapAttrs_liteMode reparto_mariana.keymon.lat:liteMode}
{@link #MapAttrs_mapType reparto_mariana.keymon.lat:mapType}
{@link #MapAttrs_uiCompass reparto_mariana.keymon.lat:uiCompass}
{@link #MapAttrs_uiMapToolbar reparto_mariana.keymon.lat:uiMapToolbar}
{@link #MapAttrs_uiRotateGestures reparto_mariana.keymon.lat:uiRotateGestures}
{@link #MapAttrs_uiScrollGestures reparto_mariana.keymon.lat:uiScrollGestures}
{@link #MapAttrs_uiScrollGesturesDuringRotateOrZoom reparto_mariana.keymon.lat:uiScrollGesturesDuringRotateOrZoom}
{@link #MapAttrs_uiTiltGestures reparto_mariana.keymon.lat:uiTiltGestures}
{@link #MapAttrs_uiZoomControls reparto_mariana.keymon.lat:uiZoomControls}
{@link #MapAttrs_uiZoomGestures reparto_mariana.keymon.lat:uiZoomGestures}
{@link #MapAttrs_useViewLifecycle reparto_mariana.keymon.lat:useViewLifecycle}
{@link #MapAttrs_zOrderOnTop reparto_mariana.keymon.lat:zOrderOnTop}
+ * @see #MapAttrs_ambientEnabled + * @see #MapAttrs_cameraBearing + * @see #MapAttrs_cameraMaxZoomPreference + * @see #MapAttrs_cameraMinZoomPreference + * @see #MapAttrs_cameraTargetLat + * @see #MapAttrs_cameraTargetLng + * @see #MapAttrs_cameraTilt + * @see #MapAttrs_cameraZoom + * @see #MapAttrs_latLngBoundsNorthEastLatitude + * @see #MapAttrs_latLngBoundsNorthEastLongitude + * @see #MapAttrs_latLngBoundsSouthWestLatitude + * @see #MapAttrs_latLngBoundsSouthWestLongitude + * @see #MapAttrs_liteMode + * @see #MapAttrs_mapType + * @see #MapAttrs_uiCompass + * @see #MapAttrs_uiMapToolbar + * @see #MapAttrs_uiRotateGestures + * @see #MapAttrs_uiScrollGestures + * @see #MapAttrs_uiScrollGesturesDuringRotateOrZoom + * @see #MapAttrs_uiTiltGestures + * @see #MapAttrs_uiZoomControls + * @see #MapAttrs_uiZoomGestures + * @see #MapAttrs_useViewLifecycle + * @see #MapAttrs_zOrderOnTop + */ + public static final int[] MapAttrs={ + 0x7f020001, 0x7f020003, 0x7f020004, 0x7f020005, + 0x7f020006, 0x7f020007, 0x7f020008, 0x7f020009, + 0x7f02001c, 0x7f02001d, 0x7f02001e, 0x7f02001f, + 0x7f020026, 0x7f020027, 0x7f02002c, 0x7f02002d, + 0x7f02002e, 0x7f02002f, 0x7f020030, 0x7f020031, + 0x7f020032, 0x7f020033, 0x7f020034, 0x7f020035 + }; + /** + *

This symbol is the offset where the {@link reparto_mariana.keymon.lat.R.attr#ambientEnabled} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_mariana.keymon.lat:ambientEnabled + */ + public static final int MapAttrs_ambientEnabled=0; + /** + *

This symbol is the offset where the {@link reparto_mariana.keymon.lat.R.attr#cameraBearing} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_mariana.keymon.lat:cameraBearing + */ + public static final int MapAttrs_cameraBearing=1; + /** + *

This symbol is the offset where the {@link reparto_mariana.keymon.lat.R.attr#cameraMaxZoomPreference} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_mariana.keymon.lat:cameraMaxZoomPreference + */ + public static final int MapAttrs_cameraMaxZoomPreference=2; + /** + *

This symbol is the offset where the {@link reparto_mariana.keymon.lat.R.attr#cameraMinZoomPreference} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_mariana.keymon.lat:cameraMinZoomPreference + */ + public static final int MapAttrs_cameraMinZoomPreference=3; + /** + *

This symbol is the offset where the {@link reparto_mariana.keymon.lat.R.attr#cameraTargetLat} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_mariana.keymon.lat:cameraTargetLat + */ + public static final int MapAttrs_cameraTargetLat=4; + /** + *

This symbol is the offset where the {@link reparto_mariana.keymon.lat.R.attr#cameraTargetLng} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_mariana.keymon.lat:cameraTargetLng + */ + public static final int MapAttrs_cameraTargetLng=5; + /** + *

This symbol is the offset where the {@link reparto_mariana.keymon.lat.R.attr#cameraTilt} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_mariana.keymon.lat:cameraTilt + */ + public static final int MapAttrs_cameraTilt=6; + /** + *

This symbol is the offset where the {@link reparto_mariana.keymon.lat.R.attr#cameraZoom} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_mariana.keymon.lat:cameraZoom + */ + public static final int MapAttrs_cameraZoom=7; + /** + *

This symbol is the offset where the {@link reparto_mariana.keymon.lat.R.attr#latLngBoundsNorthEastLatitude} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_mariana.keymon.lat:latLngBoundsNorthEastLatitude + */ + public static final int MapAttrs_latLngBoundsNorthEastLatitude=8; + /** + *

This symbol is the offset where the {@link reparto_mariana.keymon.lat.R.attr#latLngBoundsNorthEastLongitude} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_mariana.keymon.lat:latLngBoundsNorthEastLongitude + */ + public static final int MapAttrs_latLngBoundsNorthEastLongitude=9; + /** + *

This symbol is the offset where the {@link reparto_mariana.keymon.lat.R.attr#latLngBoundsSouthWestLatitude} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_mariana.keymon.lat:latLngBoundsSouthWestLatitude + */ + public static final int MapAttrs_latLngBoundsSouthWestLatitude=10; + /** + *

This symbol is the offset where the {@link reparto_mariana.keymon.lat.R.attr#latLngBoundsSouthWestLongitude} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_mariana.keymon.lat:latLngBoundsSouthWestLongitude + */ + public static final int MapAttrs_latLngBoundsSouthWestLongitude=11; + /** + *

This symbol is the offset where the {@link reparto_mariana.keymon.lat.R.attr#liteMode} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_mariana.keymon.lat:liteMode + */ + public static final int MapAttrs_liteMode=12; + /** + *

This symbol is the offset where the {@link reparto_mariana.keymon.lat.R.attr#mapType} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
hybrid4
none0
normal1
satellite2
terrain3
+ * + * @attr name reparto_mariana.keymon.lat:mapType + */ + public static final int MapAttrs_mapType=13; + /** + *

This symbol is the offset where the {@link reparto_mariana.keymon.lat.R.attr#uiCompass} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_mariana.keymon.lat:uiCompass + */ + public static final int MapAttrs_uiCompass=14; + /** + *

This symbol is the offset where the {@link reparto_mariana.keymon.lat.R.attr#uiMapToolbar} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_mariana.keymon.lat:uiMapToolbar + */ + public static final int MapAttrs_uiMapToolbar=15; + /** + *

This symbol is the offset where the {@link reparto_mariana.keymon.lat.R.attr#uiRotateGestures} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_mariana.keymon.lat:uiRotateGestures + */ + public static final int MapAttrs_uiRotateGestures=16; + /** + *

This symbol is the offset where the {@link reparto_mariana.keymon.lat.R.attr#uiScrollGestures} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_mariana.keymon.lat:uiScrollGestures + */ + public static final int MapAttrs_uiScrollGestures=17; + /** + *

This symbol is the offset where the {@link reparto_mariana.keymon.lat.R.attr#uiScrollGesturesDuringRotateOrZoom} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_mariana.keymon.lat:uiScrollGesturesDuringRotateOrZoom + */ + public static final int MapAttrs_uiScrollGesturesDuringRotateOrZoom=18; + /** + *

This symbol is the offset where the {@link reparto_mariana.keymon.lat.R.attr#uiTiltGestures} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_mariana.keymon.lat:uiTiltGestures + */ + public static final int MapAttrs_uiTiltGestures=19; + /** + *

This symbol is the offset where the {@link reparto_mariana.keymon.lat.R.attr#uiZoomControls} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_mariana.keymon.lat:uiZoomControls + */ + public static final int MapAttrs_uiZoomControls=20; + /** + *

This symbol is the offset where the {@link reparto_mariana.keymon.lat.R.attr#uiZoomGestures} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_mariana.keymon.lat:uiZoomGestures + */ + public static final int MapAttrs_uiZoomGestures=21; + /** + *

This symbol is the offset where the {@link reparto_mariana.keymon.lat.R.attr#useViewLifecycle} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_mariana.keymon.lat:useViewLifecycle + */ + public static final int MapAttrs_useViewLifecycle=22; + /** + *

This symbol is the offset where the {@link reparto_mariana.keymon.lat.R.attr#zOrderOnTop} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_mariana.keymon.lat:zOrderOnTop + */ + public static final int MapAttrs_zOrderOnTop=23; + /** + * Attributes that can be used with a SignInButton. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + *
AttributeDescription
{@link #SignInButton_buttonSize reparto_mariana.keymon.lat:buttonSize}
{@link #SignInButton_colorScheme reparto_mariana.keymon.lat:colorScheme}
{@link #SignInButton_scopeUris reparto_mariana.keymon.lat:scopeUris}
+ * @see #SignInButton_buttonSize + * @see #SignInButton_colorScheme + * @see #SignInButton_scopeUris + */ + public static final int[] SignInButton={ + 0x7f020002, 0x7f02000b, 0x7f020028 + }; + /** + *

This symbol is the offset where the {@link reparto_mariana.keymon.lat.R.attr#buttonSize} + * attribute's value can be found in the {@link #SignInButton} array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
icon_only2
standard0
wide1
+ * + * @attr name reparto_mariana.keymon.lat:buttonSize + */ + public static final int SignInButton_buttonSize=0; + /** + *

This symbol is the offset where the {@link reparto_mariana.keymon.lat.R.attr#colorScheme} + * attribute's value can be found in the {@link #SignInButton} array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
auto2
dark0
light1
+ * + * @attr name reparto_mariana.keymon.lat:colorScheme + */ + public static final int SignInButton_colorScheme=1; + /** + *

This symbol is the offset where the {@link reparto_mariana.keymon.lat.R.attr#scopeUris} + * attribute's value can be found in the {@link #SignInButton} array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_mariana.keymon.lat:scopeUris + */ + public static final int SignInButton_scopeUris=2; + /** + * Attributes that can be used with a SwipeRefreshLayout. + *

Includes the following attributes:

+ * + * + * + * + * + *
AttributeDescription
{@link #SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor reparto_mariana.keymon.lat:swipeRefreshLayoutProgressSpinnerBackgroundColor}Background color for SwipeRefreshLayout progress spinner.
+ * @see #SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor + */ + public static final int[] SwipeRefreshLayout={ + 0x7f02002a + }; + /** + *

+ * @attr description + * Background color for SwipeRefreshLayout progress spinner. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name reparto_mariana.keymon.lat:swipeRefreshLayoutProgressSpinnerBackgroundColor + */ + public static final int SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor=0; + } + public static final class xml { + public static final int provider_paths=0x7f0c0000; + } +} \ No newline at end of file diff --git a/B4A/Objects/gen/reparto_marquez/keymon/lat/R.java b/B4A/Objects/gen/reparto_marquez/keymon/lat/R.java new file mode 100644 index 0000000..f3ebee1 --- /dev/null +++ b/B4A/Objects/gen/reparto_marquez/keymon/lat/R.java @@ -0,0 +1,2121 @@ +/* AUTO-GENERATED FILE. DO NOT MODIFY. + * + * This class was automatically generated by the + * aapt tool from the resource data it found. It + * should not be modified by hand. + */ + +package reparto_marquez.keymon.lat; + +public final class R { + public static final class anim { + public static final int fragment_close_enter=0x7f010000; + public static final int fragment_close_exit=0x7f010001; + public static final int fragment_fade_enter=0x7f010002; + public static final int fragment_fade_exit=0x7f010003; + public static final int fragment_fast_out_extra_slow_in=0x7f010004; + public static final int fragment_open_enter=0x7f010005; + public static final int fragment_open_exit=0x7f010006; + } + public static final class attr { + /** + * Alpha multiplier applied to the base color. + *

May be a floating point value, such as "1.2". + */ + public static final int alpha=0x7f020000; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int ambientEnabled=0x7f020001; + /** + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
icon_only2
standard0
wide1
+ */ + public static final int buttonSize=0x7f020002; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraBearing=0x7f020003; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraMaxZoomPreference=0x7f020004; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraMinZoomPreference=0x7f020005; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraTargetLat=0x7f020006; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraTargetLng=0x7f020007; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraTilt=0x7f020008; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraZoom=0x7f020009; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int circleCrop=0x7f02000a; + /** + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
auto2
dark0
light1
+ */ + public static final int colorScheme=0x7f02000b; + /** + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int coordinatorLayoutStyle=0x7f02000c; + /** + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int drawerLayoutStyle=0x7f02000d; + /** + *

May be a dimension value, which is a floating point number appended with a + * unit such as "14.5sp". + * Available units are: px (pixels), dp (density-independent pixels), + * sp (scaled pixels based on preferred font size), in (inches), and + * mm (millimeters). + */ + public static final int elevation=0x7f02000e; + /** + * The reference to the font file to be used. This should be a file in the res/font folder + * and should therefore have an R reference value. E.g. @font/myfont + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int font=0x7f02000f; + /** + * The authority of the Font Provider to be used for the request. + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int fontProviderAuthority=0x7f020010; + /** + * The sets of hashes for the certificates the provider should be signed with. This is + * used to verify the identity of the provider, and is only required if the provider is not + * part of the system image. This value may point to one list or a list of lists, where each + * individual list represents one collection of signature hashes. Refer to your font provider's + * documentation for these values. + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int fontProviderCerts=0x7f020011; + /** + * The strategy to be used when fetching font data from a font provider in XML layouts. + * This attribute is ignored when the resource is loaded from code, as it is equivalent to the + * choice of API between {@link + * androidx.core.content.res.ResourcesCompat#getFont(Context, int)} (blocking) and + * {@link + * androidx.core.content.res.ResourcesCompat#getFont(Context, int, FontCallback, Handler)} + * (async). + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + *
ConstantValueDescription
async1The async font fetch works as follows. + * First, check the local cache, then if the requeted font is not cached, trigger a + * request the font and continue with layout inflation. Once the font fetch succeeds, the + * target text view will be refreshed with the downloaded font data. The + * fontProviderFetchTimeout will be ignored if async loading is specified.
blocking0The blocking font fetch works as follows. + * First, check the local cache, then if the requested font is not cached, request the + * font from the provider and wait until it is finished. You can change the length of + * the timeout by modifying fontProviderFetchTimeout. If the timeout happens, the + * default typeface will be used instead.
+ */ + public static final int fontProviderFetchStrategy=0x7f020012; + /** + * The length of the timeout during fetching. + *

May be an integer value, such as "100". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + *
ConstantValueDescription
foreverffffffffA special value for the timeout. In this case, the blocking font fetching will not + * timeout and wait until a reply is received from the font provider.
+ */ + public static final int fontProviderFetchTimeout=0x7f020013; + /** + * The package for the Font Provider to be used for the request. This is used to verify + * the identity of the provider. + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int fontProviderPackage=0x7f020014; + /** + * The query to be sent over to the provider. Refer to your font provider's documentation + * on the format of this string. + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int fontProviderQuery=0x7f020015; + /** + * The style of the given font file. This will be used when the font is being loaded into + * the font stack and will override any style information in the font's header tables. If + * unspecified, the value in the font's header tables will be used. + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + *
ConstantValueDescription
italic1
normal0
+ */ + public static final int fontStyle=0x7f020016; + /** + * The variation settings to be applied to the font. The string should be in the following + * format: "'tag1' value1, 'tag2' value2, ...". If the default variation settings should be + * used, or the font used does not support variation settings, this attribute needs not be + * specified. + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int fontVariationSettings=0x7f020017; + /** + * The weight of the given font file. This will be used when the font is being loaded into + * the font stack and will override any weight information in the font's header tables. Must + * be a positive number, a multiple of 100, and between 100 and 900, inclusive. The most + * common values are 400 for regular weight and 700 for bold weight. If unspecified, the value + * in the font's header tables will be used. + *

May be an integer value, such as "100". + */ + public static final int fontWeight=0x7f020018; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int imageAspectRatio=0x7f020019; + /** + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
adjust_height2
adjust_width1
none0
+ */ + public static final int imageAspectRatioAdjust=0x7f02001a; + /** + * A reference to an array of integers representing the + * locations of horizontal keylines in dp from the starting edge. + * Child views can refer to these keylines for alignment using + * layout_keyline="index" where index is a 0-based index into + * this array. + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int keylines=0x7f02001b; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int latLngBoundsNorthEastLatitude=0x7f02001c; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int latLngBoundsNorthEastLongitude=0x7f02001d; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int latLngBoundsSouthWestLatitude=0x7f02001e; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int latLngBoundsSouthWestLongitude=0x7f02001f; + /** + * The id of an anchor view that this view should position relative to. + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int layout_anchor=0x7f020020; + /** + * Specifies how an object should position relative to an anchor, on both the X and Y axes, + * within its parent's bounds. + *

Must be one or more (separated by '|') of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
bottom50Push object to the bottom of its container, not changing its size.
center11Place the object in the center of its container in both the vertical and horizontal axis, not changing its size.
center_horizontal1Place object in the horizontal center of its container, not changing its size.
center_vertical10Place object in the vertical center of its container, not changing its size.
clip_horizontal8Additional option that can be set to have the left and/or right edges of + * the child clipped to its container's bounds. + * The clip will be based on the horizontal gravity: a left gravity will clip the right + * edge, a right gravity will clip the left edge, and neither will clip both edges.
clip_vertical80Additional option that can be set to have the top and/or bottom edges of + * the child clipped to its container's bounds. + * The clip will be based on the vertical gravity: a top gravity will clip the bottom + * edge, a bottom gravity will clip the top edge, and neither will clip both edges.
end800005Push object to the end of its container, not changing its size.
fill77Grow the horizontal and vertical size of the object if needed so it completely fills its container.
fill_horizontal7Grow the horizontal size of the object if needed so it completely fills its container.
fill_vertical70Grow the vertical size of the object if needed so it completely fills its container.
left3Push object to the left of its container, not changing its size.
right5Push object to the right of its container, not changing its size.
start800003Push object to the beginning of its container, not changing its size.
top30Push object to the top of its container, not changing its size.
+ */ + public static final int layout_anchorGravity=0x7f020021; + /** + * The class name of a Behavior class defining special runtime behavior + * for this child view. + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int layout_behavior=0x7f020022; + /** + * Specifies how this view dodges the inset edges of the CoordinatorLayout. + *

Must be one or more (separated by '|') of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
all77Dodge all the inset edges.
bottom50Dodge the bottom inset edge.
end800005Dodge the end inset edge.
left3Dodge the left inset edge.
none0Don't dodge any edges
right5Dodge the right inset edge.
start800003Dodge the start inset edge.
top30Dodge the top inset edge.
+ */ + public static final int layout_dodgeInsetEdges=0x7f020023; + /** + * Specifies how this view insets the CoordinatorLayout and make some other views + * dodge it. + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
bottom50Inset the bottom edge.
end800005Inset the end edge.
left3Inset the left edge.
none0Don't inset.
right5Inset the right edge.
start800003Inset the start edge.
top30Inset the top edge.
+ */ + public static final int layout_insetEdge=0x7f020024; + /** + * The index of a keyline this view should position relative to. + * android:layout_gravity will affect how the view aligns to the + * specified keyline. + *

May be an integer value, such as "100". + */ + public static final int layout_keyline=0x7f020025; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int liteMode=0x7f020026; + /** + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
hybrid4
none0
normal1
satellite2
terrain3
+ */ + public static final int mapType=0x7f020027; + /** + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int scopeUris=0x7f020028; + /** + * Drawable to display behind the status bar when the view is set to draw behind it. + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + */ + public static final int statusBarBackground=0x7f020029; + /** + * Background color for SwipeRefreshLayout progress spinner. + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + */ + public static final int swipeRefreshLayoutProgressSpinnerBackgroundColor=0x7f02002a; + /** + * The index of the font in the tcc font file. If the font file referenced is not in the + * tcc format, this attribute needs not be specified. + *

May be an integer value, such as "100". + */ + public static final int ttcIndex=0x7f02002b; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiCompass=0x7f02002c; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiMapToolbar=0x7f02002d; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiRotateGestures=0x7f02002e; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiScrollGestures=0x7f02002f; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiScrollGesturesDuringRotateOrZoom=0x7f020030; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiTiltGestures=0x7f020031; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiZoomControls=0x7f020032; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiZoomGestures=0x7f020033; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int useViewLifecycle=0x7f020034; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int zOrderOnTop=0x7f020035; + } + public static final class color { + public static final int androidx_core_ripple_material_light=0x7f030000; + public static final int androidx_core_secondary_text_default_material_light=0x7f030001; + public static final int common_google_signin_btn_text_dark=0x7f030002; + public static final int common_google_signin_btn_text_dark_default=0x7f030003; + public static final int common_google_signin_btn_text_dark_disabled=0x7f030004; + public static final int common_google_signin_btn_text_dark_focused=0x7f030005; + public static final int common_google_signin_btn_text_dark_pressed=0x7f030006; + public static final int common_google_signin_btn_text_light=0x7f030007; + public static final int common_google_signin_btn_text_light_default=0x7f030008; + public static final int common_google_signin_btn_text_light_disabled=0x7f030009; + public static final int common_google_signin_btn_text_light_focused=0x7f03000a; + public static final int common_google_signin_btn_text_light_pressed=0x7f03000b; + public static final int common_google_signin_btn_tint=0x7f03000c; + public static final int notification_action_color_filter=0x7f03000d; + public static final int notification_icon_bg_color=0x7f03000e; + public static final int notification_material_background_media_default_color=0x7f03000f; + public static final int primary_text_default_material_dark=0x7f030010; + public static final int secondary_text_default_material_dark=0x7f030011; + } + public static final class dimen { + public static final int compat_button_inset_horizontal_material=0x7f040000; + public static final int compat_button_inset_vertical_material=0x7f040001; + public static final int compat_button_padding_horizontal_material=0x7f040002; + public static final int compat_button_padding_vertical_material=0x7f040003; + public static final int compat_control_corner_material=0x7f040004; + public static final int compat_notification_large_icon_max_height=0x7f040005; + public static final int compat_notification_large_icon_max_width=0x7f040006; + public static final int def_drawer_elevation=0x7f040007; + public static final int notification_action_icon_size=0x7f040008; + public static final int notification_action_text_size=0x7f040009; + public static final int notification_big_circle_margin=0x7f04000a; + public static final int notification_content_margin_start=0x7f04000b; + public static final int notification_large_icon_height=0x7f04000c; + public static final int notification_large_icon_width=0x7f04000d; + public static final int notification_main_column_padding_top=0x7f04000e; + public static final int notification_media_narrow_margin=0x7f04000f; + public static final int notification_right_icon_size=0x7f040010; + public static final int notification_right_side_padding_top=0x7f040011; + public static final int notification_small_icon_background_padding=0x7f040012; + public static final int notification_small_icon_size_as_large=0x7f040013; + public static final int notification_subtext_size=0x7f040014; + public static final int notification_top_pad=0x7f040015; + public static final int notification_top_pad_large_text=0x7f040016; + public static final int subtitle_corner_radius=0x7f040017; + public static final int subtitle_outline_width=0x7f040018; + public static final int subtitle_shadow_offset=0x7f040019; + public static final int subtitle_shadow_radius=0x7f04001a; + } + public static final class drawable { + public static final int common_full_open_on_phone=0x7f050000; + public static final int common_google_signin_btn_icon_dark=0x7f050001; + public static final int common_google_signin_btn_icon_dark_focused=0x7f050002; + public static final int common_google_signin_btn_icon_dark_normal=0x7f050003; + public static final int common_google_signin_btn_icon_dark_normal_background=0x7f050004; + public static final int common_google_signin_btn_icon_disabled=0x7f050005; + public static final int common_google_signin_btn_icon_light=0x7f050006; + public static final int common_google_signin_btn_icon_light_focused=0x7f050007; + public static final int common_google_signin_btn_icon_light_normal=0x7f050008; + public static final int common_google_signin_btn_icon_light_normal_background=0x7f050009; + public static final int common_google_signin_btn_text_dark=0x7f05000a; + public static final int common_google_signin_btn_text_dark_focused=0x7f05000b; + public static final int common_google_signin_btn_text_dark_normal=0x7f05000c; + public static final int common_google_signin_btn_text_dark_normal_background=0x7f05000d; + public static final int common_google_signin_btn_text_disabled=0x7f05000e; + public static final int common_google_signin_btn_text_light=0x7f05000f; + public static final int common_google_signin_btn_text_light_focused=0x7f050010; + public static final int common_google_signin_btn_text_light_normal=0x7f050011; + public static final int common_google_signin_btn_text_light_normal_background=0x7f050012; + public static final int googleg_disabled_color_18=0x7f050013; + public static final int googleg_standard_color_18=0x7f050014; + public static final int icon=0x7f050015; + public static final int notification_action_background=0x7f050016; + public static final int notification_bg=0x7f050017; + public static final int notification_bg_low=0x7f050018; + public static final int notification_bg_low_normal=0x7f050019; + public static final int notification_bg_low_pressed=0x7f05001a; + public static final int notification_bg_normal=0x7f05001b; + public static final int notification_bg_normal_pressed=0x7f05001c; + public static final int notification_icon_background=0x7f05001d; + public static final int notification_template_icon_bg=0x7f05001e; + public static final int notification_template_icon_low_bg=0x7f05001f; + public static final int notification_tile_bg=0x7f050020; + public static final int notify_panel_notification_icon_bg=0x7f050021; + } + public static final class id { + public static final int accessibility_action_clickable_span=0x7f060000; + public static final int accessibility_custom_action_0=0x7f060001; + public static final int accessibility_custom_action_1=0x7f060002; + public static final int accessibility_custom_action_10=0x7f060003; + public static final int accessibility_custom_action_11=0x7f060004; + public static final int accessibility_custom_action_12=0x7f060005; + public static final int accessibility_custom_action_13=0x7f060006; + public static final int accessibility_custom_action_14=0x7f060007; + public static final int accessibility_custom_action_15=0x7f060008; + public static final int accessibility_custom_action_16=0x7f060009; + public static final int accessibility_custom_action_17=0x7f06000a; + public static final int accessibility_custom_action_18=0x7f06000b; + public static final int accessibility_custom_action_19=0x7f06000c; + public static final int accessibility_custom_action_2=0x7f06000d; + public static final int accessibility_custom_action_20=0x7f06000e; + public static final int accessibility_custom_action_21=0x7f06000f; + public static final int accessibility_custom_action_22=0x7f060010; + public static final int accessibility_custom_action_23=0x7f060011; + public static final int accessibility_custom_action_24=0x7f060012; + public static final int accessibility_custom_action_25=0x7f060013; + public static final int accessibility_custom_action_26=0x7f060014; + public static final int accessibility_custom_action_27=0x7f060015; + public static final int accessibility_custom_action_28=0x7f060016; + public static final int accessibility_custom_action_29=0x7f060017; + public static final int accessibility_custom_action_3=0x7f060018; + public static final int accessibility_custom_action_30=0x7f060019; + public static final int accessibility_custom_action_31=0x7f06001a; + public static final int accessibility_custom_action_4=0x7f06001b; + public static final int accessibility_custom_action_5=0x7f06001c; + public static final int accessibility_custom_action_6=0x7f06001d; + public static final int accessibility_custom_action_7=0x7f06001e; + public static final int accessibility_custom_action_8=0x7f06001f; + public static final int accessibility_custom_action_9=0x7f060020; + public static final int action0=0x7f060021; + public static final int action_container=0x7f060022; + public static final int action_divider=0x7f060023; + public static final int action_image=0x7f060024; + public static final int action_text=0x7f060025; + public static final int actions=0x7f060026; + public static final int adjust_height=0x7f060027; + public static final int adjust_width=0x7f060028; + public static final int all=0x7f060029; + public static final int async=0x7f06002a; + public static final int auto=0x7f06002b; + public static final int blocking=0x7f06002c; + public static final int bottom=0x7f06002d; + public static final int cancel_action=0x7f06002e; + public static final int center=0x7f06002f; + public static final int center_horizontal=0x7f060030; + public static final int center_vertical=0x7f060031; + public static final int chronometer=0x7f060032; + public static final int clip_horizontal=0x7f060033; + public static final int clip_vertical=0x7f060034; + public static final int dark=0x7f060035; + public static final int dialog_button=0x7f060036; + public static final int end=0x7f060037; + public static final int end_padder=0x7f060038; + public static final int fill=0x7f060039; + public static final int fill_horizontal=0x7f06003a; + public static final int fill_vertical=0x7f06003b; + public static final int forever=0x7f06003c; + public static final int fragment_container_view_tag=0x7f06003d; + public static final int hybrid=0x7f06003e; + public static final int icon=0x7f06003f; + public static final int icon_group=0x7f060040; + public static final int icon_only=0x7f060041; + public static final int info=0x7f060042; + public static final int italic=0x7f060043; + public static final int left=0x7f060044; + public static final int light=0x7f060045; + public static final int line1=0x7f060046; + public static final int line3=0x7f060047; + public static final int media_actions=0x7f060048; + public static final int none=0x7f060049; + public static final int normal=0x7f06004a; + public static final int notification_background=0x7f06004b; + public static final int notification_main_column=0x7f06004c; + public static final int notification_main_column_container=0x7f06004d; + public static final int right=0x7f06004e; + public static final int right_icon=0x7f06004f; + public static final int right_side=0x7f060050; + public static final int satellite=0x7f060051; + public static final int standard=0x7f060052; + public static final int start=0x7f060053; + public static final int status_bar_latest_event_content=0x7f060054; + public static final int tag_accessibility_actions=0x7f060055; + public static final int tag_accessibility_clickable_spans=0x7f060056; + public static final int tag_accessibility_heading=0x7f060057; + public static final int tag_accessibility_pane_title=0x7f060058; + public static final int tag_screen_reader_focusable=0x7f060059; + public static final int tag_transition_group=0x7f06005a; + public static final int tag_unhandled_key_event_manager=0x7f06005b; + public static final int tag_unhandled_key_listeners=0x7f06005c; + public static final int terrain=0x7f06005d; + public static final int text=0x7f06005e; + public static final int text2=0x7f06005f; + public static final int time=0x7f060060; + public static final int title=0x7f060061; + public static final int top=0x7f060062; + public static final int visible_removing_fragment_view_tag=0x7f060063; + public static final int wide=0x7f060064; + } + public static final class integer { + public static final int cancel_button_image_alpha=0x7f070000; + public static final int google_play_services_version=0x7f070001; + public static final int status_bar_notification_info_maxnum=0x7f070002; + } + public static final class layout { + public static final int custom_dialog=0x7f080000; + public static final int notification_action=0x7f080001; + public static final int notification_action_tombstone=0x7f080002; + public static final int notification_media_action=0x7f080003; + public static final int notification_media_cancel_action=0x7f080004; + public static final int notification_template_big_media=0x7f080005; + public static final int notification_template_big_media_custom=0x7f080006; + public static final int notification_template_big_media_narrow=0x7f080007; + public static final int notification_template_big_media_narrow_custom=0x7f080008; + public static final int notification_template_custom_big=0x7f080009; + public static final int notification_template_icon_group=0x7f08000a; + public static final int notification_template_lines_media=0x7f08000b; + public static final int notification_template_media=0x7f08000c; + public static final int notification_template_media_custom=0x7f08000d; + public static final int notification_template_part_chronometer=0x7f08000e; + public static final int notification_template_part_time=0x7f08000f; + } + public static final class string { + public static final int common_google_play_services_enable_button=0x7f090000; + public static final int common_google_play_services_enable_text=0x7f090001; + public static final int common_google_play_services_enable_title=0x7f090002; + public static final int common_google_play_services_install_button=0x7f090003; + public static final int common_google_play_services_install_text=0x7f090004; + public static final int common_google_play_services_install_title=0x7f090005; + public static final int common_google_play_services_notification_channel_name=0x7f090006; + public static final int common_google_play_services_notification_ticker=0x7f090007; + public static final int common_google_play_services_unknown_issue=0x7f090008; + public static final int common_google_play_services_unsupported_text=0x7f090009; + public static final int common_google_play_services_update_button=0x7f09000a; + public static final int common_google_play_services_update_text=0x7f09000b; + public static final int common_google_play_services_update_title=0x7f09000c; + public static final int common_google_play_services_updating_text=0x7f09000d; + public static final int common_google_play_services_wear_update_text=0x7f09000e; + public static final int common_open_on_phone=0x7f09000f; + public static final int common_signin_button_text=0x7f090010; + public static final int common_signin_button_text_long=0x7f090011; + public static final int status_bar_notification_info_overflow=0x7f090012; + } + public static final class style { + public static final int LightTheme=0x7f0a0000; + public static final int LowerCaseMenu=0x7f0a0001; + public static final int TextAppearance_Compat_Notification=0x7f0a0002; + public static final int TextAppearance_Compat_Notification_Info=0x7f0a0003; + public static final int TextAppearance_Compat_Notification_Info_Media=0x7f0a0004; + public static final int TextAppearance_Compat_Notification_Line2=0x7f0a0005; + public static final int TextAppearance_Compat_Notification_Line2_Media=0x7f0a0006; + public static final int TextAppearance_Compat_Notification_Media=0x7f0a0007; + public static final int TextAppearance_Compat_Notification_Time=0x7f0a0008; + public static final int TextAppearance_Compat_Notification_Time_Media=0x7f0a0009; + public static final int TextAppearance_Compat_Notification_Title=0x7f0a000a; + public static final int TextAppearance_Compat_Notification_Title_Media=0x7f0a000b; + public static final int Widget_Compat_NotificationActionContainer=0x7f0a000c; + public static final int Widget_Compat_NotificationActionText=0x7f0a000d; + public static final int Widget_Support_CoordinatorLayout=0x7f0a000e; + } + public static final class styleable { + /** + * Attributes that can be used with a ColorStateListItem. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + *
AttributeDescription
{@link #ColorStateListItem_android_color android:color}
{@link #ColorStateListItem_android_alpha android:alpha}
{@link #ColorStateListItem_alpha reparto_marquez.keymon.lat:alpha}Alpha multiplier applied to the base color.
+ * @see #ColorStateListItem_android_color + * @see #ColorStateListItem_android_alpha + * @see #ColorStateListItem_alpha + */ + public static final int[] ColorStateListItem={ + 0x010101a5, 0x0101031f, 0x7f020000 + }; + /** + *

+ * @attr description + * Base color for this state. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name android:color + */ + public static final int ColorStateListItem_android_color=0; + /** + *

This symbol is the offset where the {@link android.R.attr#alpha} + * attribute's value can be found in the {@link #ColorStateListItem} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:alpha + */ + public static final int ColorStateListItem_android_alpha=1; + /** + *

+ * @attr description + * Alpha multiplier applied to the base color. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_marquez.keymon.lat:alpha + */ + public static final int ColorStateListItem_alpha=2; + /** + * Attributes that can be used with a CoordinatorLayout. + *

Includes the following attributes:

+ * + * + * + * + * + * + *
AttributeDescription
{@link #CoordinatorLayout_keylines reparto_marquez.keymon.lat:keylines}A reference to an array of integers representing the + * locations of horizontal keylines in dp from the starting edge.
{@link #CoordinatorLayout_statusBarBackground reparto_marquez.keymon.lat:statusBarBackground}Drawable to display behind the status bar when the view is set to draw behind it.
+ * @see #CoordinatorLayout_keylines + * @see #CoordinatorLayout_statusBarBackground + */ + public static final int[] CoordinatorLayout={ + 0x7f02001b, 0x7f020029 + }; + /** + *

+ * @attr description + * A reference to an array of integers representing the + * locations of horizontal keylines in dp from the starting edge. + * Child views can refer to these keylines for alignment using + * layout_keyline="index" where index is a 0-based index into + * this array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name reparto_marquez.keymon.lat:keylines + */ + public static final int CoordinatorLayout_keylines=0; + /** + *

+ * @attr description + * Drawable to display behind the status bar when the view is set to draw behind it. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name reparto_marquez.keymon.lat:statusBarBackground + */ + public static final int CoordinatorLayout_statusBarBackground=1; + /** + * Attributes that can be used with a CoordinatorLayout_Layout. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #CoordinatorLayout_Layout_android_layout_gravity android:layout_gravity}
{@link #CoordinatorLayout_Layout_layout_anchor reparto_marquez.keymon.lat:layout_anchor}The id of an anchor view that this view should position relative to.
{@link #CoordinatorLayout_Layout_layout_anchorGravity reparto_marquez.keymon.lat:layout_anchorGravity}Specifies how an object should position relative to an anchor, on both the X and Y axes, + * within its parent's bounds.
{@link #CoordinatorLayout_Layout_layout_behavior reparto_marquez.keymon.lat:layout_behavior}The class name of a Behavior class defining special runtime behavior + * for this child view.
{@link #CoordinatorLayout_Layout_layout_dodgeInsetEdges reparto_marquez.keymon.lat:layout_dodgeInsetEdges}Specifies how this view dodges the inset edges of the CoordinatorLayout.
{@link #CoordinatorLayout_Layout_layout_insetEdge reparto_marquez.keymon.lat:layout_insetEdge}Specifies how this view insets the CoordinatorLayout and make some other views + * dodge it.
{@link #CoordinatorLayout_Layout_layout_keyline reparto_marquez.keymon.lat:layout_keyline}The index of a keyline this view should position relative to.
+ * @see #CoordinatorLayout_Layout_android_layout_gravity + * @see #CoordinatorLayout_Layout_layout_anchor + * @see #CoordinatorLayout_Layout_layout_anchorGravity + * @see #CoordinatorLayout_Layout_layout_behavior + * @see #CoordinatorLayout_Layout_layout_dodgeInsetEdges + * @see #CoordinatorLayout_Layout_layout_insetEdge + * @see #CoordinatorLayout_Layout_layout_keyline + */ + public static final int[] CoordinatorLayout_Layout={ + 0x010100b3, 0x7f020020, 0x7f020021, 0x7f020022, + 0x7f020023, 0x7f020024, 0x7f020025 + }; + /** + *

This symbol is the offset where the {@link android.R.attr#layout_gravity} + * attribute's value can be found in the {@link #CoordinatorLayout_Layout} array. + * + *

Must be one or more (separated by '|') of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
bottom50
center11
center_horizontal1
center_vertical10
clip_horizontal8
clip_vertical80
end800005
fill77
fill_horizontal7
fill_vertical70
left3
right5
start800003
top30
+ * + * @attr name android:layout_gravity + */ + public static final int CoordinatorLayout_Layout_android_layout_gravity=0; + /** + *

+ * @attr description + * The id of an anchor view that this view should position relative to. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name reparto_marquez.keymon.lat:layout_anchor + */ + public static final int CoordinatorLayout_Layout_layout_anchor=1; + /** + *

+ * @attr description + * Specifies how an object should position relative to an anchor, on both the X and Y axes, + * within its parent's bounds. + * + *

Must be one or more (separated by '|') of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
bottom50Push object to the bottom of its container, not changing its size.
center11Place the object in the center of its container in both the vertical and horizontal axis, not changing its size.
center_horizontal1Place object in the horizontal center of its container, not changing its size.
center_vertical10Place object in the vertical center of its container, not changing its size.
clip_horizontal8Additional option that can be set to have the left and/or right edges of + * the child clipped to its container's bounds. + * The clip will be based on the horizontal gravity: a left gravity will clip the right + * edge, a right gravity will clip the left edge, and neither will clip both edges.
clip_vertical80Additional option that can be set to have the top and/or bottom edges of + * the child clipped to its container's bounds. + * The clip will be based on the vertical gravity: a top gravity will clip the bottom + * edge, a bottom gravity will clip the top edge, and neither will clip both edges.
end800005Push object to the end of its container, not changing its size.
fill77Grow the horizontal and vertical size of the object if needed so it completely fills its container.
fill_horizontal7Grow the horizontal size of the object if needed so it completely fills its container.
fill_vertical70Grow the vertical size of the object if needed so it completely fills its container.
left3Push object to the left of its container, not changing its size.
right5Push object to the right of its container, not changing its size.
start800003Push object to the beginning of its container, not changing its size.
top30Push object to the top of its container, not changing its size.
+ * + * @attr name reparto_marquez.keymon.lat:layout_anchorGravity + */ + public static final int CoordinatorLayout_Layout_layout_anchorGravity=2; + /** + *

+ * @attr description + * The class name of a Behavior class defining special runtime behavior + * for this child view. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_marquez.keymon.lat:layout_behavior + */ + public static final int CoordinatorLayout_Layout_layout_behavior=3; + /** + *

+ * @attr description + * Specifies how this view dodges the inset edges of the CoordinatorLayout. + * + *

Must be one or more (separated by '|') of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
all77Dodge all the inset edges.
bottom50Dodge the bottom inset edge.
end800005Dodge the end inset edge.
left3Dodge the left inset edge.
none0Don't dodge any edges
right5Dodge the right inset edge.
start800003Dodge the start inset edge.
top30Dodge the top inset edge.
+ * + * @attr name reparto_marquez.keymon.lat:layout_dodgeInsetEdges + */ + public static final int CoordinatorLayout_Layout_layout_dodgeInsetEdges=4; + /** + *

+ * @attr description + * Specifies how this view insets the CoordinatorLayout and make some other views + * dodge it. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
bottom50Inset the bottom edge.
end800005Inset the end edge.
left3Inset the left edge.
none0Don't inset.
right5Inset the right edge.
start800003Inset the start edge.
top30Inset the top edge.
+ * + * @attr name reparto_marquez.keymon.lat:layout_insetEdge + */ + public static final int CoordinatorLayout_Layout_layout_insetEdge=5; + /** + *

+ * @attr description + * The index of a keyline this view should position relative to. + * android:layout_gravity will affect how the view aligns to the + * specified keyline. + * + *

May be an integer value, such as "100". + * + * @attr name reparto_marquez.keymon.lat:layout_keyline + */ + public static final int CoordinatorLayout_Layout_layout_keyline=6; + /** + * Attributes that can be used with a DrawerLayout. + *

Includes the following attributes:

+ * + * + * + * + * + *
AttributeDescription
{@link #DrawerLayout_elevation reparto_marquez.keymon.lat:elevation}
+ * @see #DrawerLayout_elevation + */ + public static final int[] DrawerLayout={ + 0x7f02000e + }; + /** + *

+ * @attr description + * The height difference between the drawer and the base surface. Only takes effect on API 21 and above + * + *

May be a dimension value, which is a floating point number appended with a + * unit such as "14.5sp". + * Available units are: px (pixels), dp (density-independent pixels), + * sp (scaled pixels based on preferred font size), in (inches), and + * mm (millimeters). + * + * @attr name reparto_marquez.keymon.lat:elevation + */ + public static final int DrawerLayout_elevation=0; + /** + * Attributes that can be used with a FontFamily. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #FontFamily_fontProviderAuthority reparto_marquez.keymon.lat:fontProviderAuthority}The authority of the Font Provider to be used for the request.
{@link #FontFamily_fontProviderCerts reparto_marquez.keymon.lat:fontProviderCerts}The sets of hashes for the certificates the provider should be signed with.
{@link #FontFamily_fontProviderFetchStrategy reparto_marquez.keymon.lat:fontProviderFetchStrategy}The strategy to be used when fetching font data from a font provider in XML layouts.
{@link #FontFamily_fontProviderFetchTimeout reparto_marquez.keymon.lat:fontProviderFetchTimeout}The length of the timeout during fetching.
{@link #FontFamily_fontProviderPackage reparto_marquez.keymon.lat:fontProviderPackage}The package for the Font Provider to be used for the request.
{@link #FontFamily_fontProviderQuery reparto_marquez.keymon.lat:fontProviderQuery}The query to be sent over to the provider.
+ * @see #FontFamily_fontProviderAuthority + * @see #FontFamily_fontProviderCerts + * @see #FontFamily_fontProviderFetchStrategy + * @see #FontFamily_fontProviderFetchTimeout + * @see #FontFamily_fontProviderPackage + * @see #FontFamily_fontProviderQuery + */ + public static final int[] FontFamily={ + 0x7f020010, 0x7f020011, 0x7f020012, 0x7f020013, + 0x7f020014, 0x7f020015 + }; + /** + *

+ * @attr description + * The authority of the Font Provider to be used for the request. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_marquez.keymon.lat:fontProviderAuthority + */ + public static final int FontFamily_fontProviderAuthority=0; + /** + *

+ * @attr description + * The sets of hashes for the certificates the provider should be signed with. This is + * used to verify the identity of the provider, and is only required if the provider is not + * part of the system image. This value may point to one list or a list of lists, where each + * individual list represents one collection of signature hashes. Refer to your font provider's + * documentation for these values. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name reparto_marquez.keymon.lat:fontProviderCerts + */ + public static final int FontFamily_fontProviderCerts=1; + /** + *

+ * @attr description + * The strategy to be used when fetching font data from a font provider in XML layouts. + * This attribute is ignored when the resource is loaded from code, as it is equivalent to the + * choice of API between {@link + * androidx.core.content.res.ResourcesCompat#getFont(Context, int)} (blocking) and + * {@link + * androidx.core.content.res.ResourcesCompat#getFont(Context, int, FontCallback, Handler)} + * (async). + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + *
ConstantValueDescription
async1The async font fetch works as follows. + * First, check the local cache, then if the requeted font is not cached, trigger a + * request the font and continue with layout inflation. Once the font fetch succeeds, the + * target text view will be refreshed with the downloaded font data. The + * fontProviderFetchTimeout will be ignored if async loading is specified.
blocking0The blocking font fetch works as follows. + * First, check the local cache, then if the requested font is not cached, request the + * font from the provider and wait until it is finished. You can change the length of + * the timeout by modifying fontProviderFetchTimeout. If the timeout happens, the + * default typeface will be used instead.
+ * + * @attr name reparto_marquez.keymon.lat:fontProviderFetchStrategy + */ + public static final int FontFamily_fontProviderFetchStrategy=2; + /** + *

+ * @attr description + * The length of the timeout during fetching. + * + *

May be an integer value, such as "100". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + *
ConstantValueDescription
foreverffffffffA special value for the timeout. In this case, the blocking font fetching will not + * timeout and wait until a reply is received from the font provider.
+ * + * @attr name reparto_marquez.keymon.lat:fontProviderFetchTimeout + */ + public static final int FontFamily_fontProviderFetchTimeout=3; + /** + *

+ * @attr description + * The package for the Font Provider to be used for the request. This is used to verify + * the identity of the provider. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_marquez.keymon.lat:fontProviderPackage + */ + public static final int FontFamily_fontProviderPackage=4; + /** + *

+ * @attr description + * The query to be sent over to the provider. Refer to your font provider's documentation + * on the format of this string. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_marquez.keymon.lat:fontProviderQuery + */ + public static final int FontFamily_fontProviderQuery=5; + /** + * Attributes that can be used with a FontFamilyFont. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #FontFamilyFont_android_font android:font}
{@link #FontFamilyFont_android_fontWeight android:fontWeight}
{@link #FontFamilyFont_android_fontStyle android:fontStyle}
{@link #FontFamilyFont_android_ttcIndex android:ttcIndex}
{@link #FontFamilyFont_android_fontVariationSettings android:fontVariationSettings}
{@link #FontFamilyFont_font reparto_marquez.keymon.lat:font}The reference to the font file to be used.
{@link #FontFamilyFont_fontStyle reparto_marquez.keymon.lat:fontStyle}The style of the given font file.
{@link #FontFamilyFont_fontVariationSettings reparto_marquez.keymon.lat:fontVariationSettings}The variation settings to be applied to the font.
{@link #FontFamilyFont_fontWeight reparto_marquez.keymon.lat:fontWeight}The weight of the given font file.
{@link #FontFamilyFont_ttcIndex reparto_marquez.keymon.lat:ttcIndex}The index of the font in the tcc font file.
+ * @see #FontFamilyFont_android_font + * @see #FontFamilyFont_android_fontWeight + * @see #FontFamilyFont_android_fontStyle + * @see #FontFamilyFont_android_ttcIndex + * @see #FontFamilyFont_android_fontVariationSettings + * @see #FontFamilyFont_font + * @see #FontFamilyFont_fontStyle + * @see #FontFamilyFont_fontVariationSettings + * @see #FontFamilyFont_fontWeight + * @see #FontFamilyFont_ttcIndex + */ + public static final int[] FontFamilyFont={ + 0x01010532, 0x01010533, 0x0101053f, 0x0101056f, + 0x01010570, 0x7f02000f, 0x7f020016, 0x7f020017, + 0x7f020018, 0x7f02002b + }; + /** + *

This symbol is the offset where the {@link android.R.attr#font} + * attribute's value can be found in the {@link #FontFamilyFont} array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name android:font + */ + public static final int FontFamilyFont_android_font=0; + /** + *

This symbol is the offset where the {@link android.R.attr#fontWeight} + * attribute's value can be found in the {@link #FontFamilyFont} array. + * + *

May be an integer value, such as "100". + * + * @attr name android:fontWeight + */ + public static final int FontFamilyFont_android_fontWeight=1; + /** + *

+ * @attr description + * References to the framework attrs + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + *
ConstantValueDescription
italic1
normal0
+ * + * @attr name android:fontStyle + */ + public static final int FontFamilyFont_android_fontStyle=2; + /** + *

This symbol is the offset where the {@link android.R.attr#ttcIndex} + * attribute's value can be found in the {@link #FontFamilyFont} array. + * + *

May be an integer value, such as "100". + * + * @attr name android:ttcIndex + */ + public static final int FontFamilyFont_android_ttcIndex=3; + /** + *

This symbol is the offset where the {@link android.R.attr#fontVariationSettings} + * attribute's value can be found in the {@link #FontFamilyFont} array. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name android:fontVariationSettings + */ + public static final int FontFamilyFont_android_fontVariationSettings=4; + /** + *

+ * @attr description + * The reference to the font file to be used. This should be a file in the res/font folder + * and should therefore have an R reference value. E.g. @font/myfont + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name reparto_marquez.keymon.lat:font + */ + public static final int FontFamilyFont_font=5; + /** + *

+ * @attr description + * The style of the given font file. This will be used when the font is being loaded into + * the font stack and will override any style information in the font's header tables. If + * unspecified, the value in the font's header tables will be used. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + *
ConstantValueDescription
italic1
normal0
+ * + * @attr name reparto_marquez.keymon.lat:fontStyle + */ + public static final int FontFamilyFont_fontStyle=6; + /** + *

+ * @attr description + * The variation settings to be applied to the font. The string should be in the following + * format: "'tag1' value1, 'tag2' value2, ...". If the default variation settings should be + * used, or the font used does not support variation settings, this attribute needs not be + * specified. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_marquez.keymon.lat:fontVariationSettings + */ + public static final int FontFamilyFont_fontVariationSettings=7; + /** + *

+ * @attr description + * The weight of the given font file. This will be used when the font is being loaded into + * the font stack and will override any weight information in the font's header tables. Must + * be a positive number, a multiple of 100, and between 100 and 900, inclusive. The most + * common values are 400 for regular weight and 700 for bold weight. If unspecified, the value + * in the font's header tables will be used. + * + *

May be an integer value, such as "100". + * + * @attr name reparto_marquez.keymon.lat:fontWeight + */ + public static final int FontFamilyFont_fontWeight=8; + /** + *

+ * @attr description + * The index of the font in the tcc font file. If the font file referenced is not in the + * tcc format, this attribute needs not be specified. + * + *

May be an integer value, such as "100". + * + * @attr name reparto_marquez.keymon.lat:ttcIndex + */ + public static final int FontFamilyFont_ttcIndex=9; + /** + * Attributes that can be used with a Fragment. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + *
AttributeDescription
{@link #Fragment_android_name android:name}
{@link #Fragment_android_id android:id}
{@link #Fragment_android_tag android:tag}
+ * @see #Fragment_android_name + * @see #Fragment_android_id + * @see #Fragment_android_tag + */ + public static final int[] Fragment={ + 0x01010003, 0x010100d0, 0x010100d1 + }; + /** + *

This symbol is the offset where the {@link android.R.attr#name} + * attribute's value can be found in the {@link #Fragment} array. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name android:name + */ + public static final int Fragment_android_name=0; + /** + *

This symbol is the offset where the {@link android.R.attr#id} + * attribute's value can be found in the {@link #Fragment} array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name android:id + */ + public static final int Fragment_android_id=1; + /** + *

This symbol is the offset where the {@link android.R.attr#tag} + * attribute's value can be found in the {@link #Fragment} array. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name android:tag + */ + public static final int Fragment_android_tag=2; + /** + * Attributes that can be used with a FragmentContainerView. + *

Includes the following attributes:

+ * + * + * + * + * + * + *
AttributeDescription
{@link #FragmentContainerView_android_name android:name}
{@link #FragmentContainerView_android_tag android:tag}
+ * @see #FragmentContainerView_android_name + * @see #FragmentContainerView_android_tag + */ + public static final int[] FragmentContainerView={ + 0x01010003, 0x010100d1 + }; + /** + *

This symbol is the offset where the {@link android.R.attr#name} + * attribute's value can be found in the {@link #FragmentContainerView} array. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name android:name + */ + public static final int FragmentContainerView_android_name=0; + /** + *

This symbol is the offset where the {@link android.R.attr#tag} + * attribute's value can be found in the {@link #FragmentContainerView} array. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name android:tag + */ + public static final int FragmentContainerView_android_tag=1; + /** + * Attributes that can be used with a GradientColor. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #GradientColor_android_startColor android:startColor}
{@link #GradientColor_android_endColor android:endColor}
{@link #GradientColor_android_type android:type}
{@link #GradientColor_android_centerX android:centerX}
{@link #GradientColor_android_centerY android:centerY}
{@link #GradientColor_android_gradientRadius android:gradientRadius}
{@link #GradientColor_android_tileMode android:tileMode}
{@link #GradientColor_android_centerColor android:centerColor}
{@link #GradientColor_android_startX android:startX}
{@link #GradientColor_android_startY android:startY}
{@link #GradientColor_android_endX android:endX}
{@link #GradientColor_android_endY android:endY}
+ * @see #GradientColor_android_startColor + * @see #GradientColor_android_endColor + * @see #GradientColor_android_type + * @see #GradientColor_android_centerX + * @see #GradientColor_android_centerY + * @see #GradientColor_android_gradientRadius + * @see #GradientColor_android_tileMode + * @see #GradientColor_android_centerColor + * @see #GradientColor_android_startX + * @see #GradientColor_android_startY + * @see #GradientColor_android_endX + * @see #GradientColor_android_endY + */ + public static final int[] GradientColor={ + 0x0101019d, 0x0101019e, 0x010101a1, 0x010101a2, + 0x010101a3, 0x010101a4, 0x01010201, 0x0101020b, + 0x01010510, 0x01010511, 0x01010512, 0x01010513 + }; + /** + *

+ * @attr description + * Start color of the gradient. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name android:startColor + */ + public static final int GradientColor_android_startColor=0; + /** + *

+ * @attr description + * End color of the gradient. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name android:endColor + */ + public static final int GradientColor_android_endColor=1; + /** + *

+ * @attr description + * Type of gradient. The default type is linear. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
linear0
radial1
sweep2
+ * + * @attr name android:type + */ + public static final int GradientColor_android_type=2; + /** + *

+ * @attr description + * X coordinate of the center of the gradient within the path. + * + *

May be a floating point value, such as "1.2". + *

May be a fractional value, which is a floating point number appended with + * either % or %p, such as "14.5%". + * The % suffix always means a percentage of the base size; + * the optional %p suffix provides a size relative to some parent container. + * + * @attr name android:centerX + */ + public static final int GradientColor_android_centerX=3; + /** + *

+ * @attr description + * Y coordinate of the center of the gradient within the path. + * + *

May be a floating point value, such as "1.2". + *

May be a fractional value, which is a floating point number appended with + * either % or %p, such as "14.5%". + * The % suffix always means a percentage of the base size; + * the optional %p suffix provides a size relative to some parent container. + * + * @attr name android:centerY + */ + public static final int GradientColor_android_centerY=4; + /** + *

+ * @attr description + * Radius of the gradient, used only with radial gradient. + * + *

May be a floating point value, such as "1.2". + *

May be a dimension value, which is a floating point number appended with a + * unit such as "14.5sp". + * Available units are: px (pixels), dp (density-independent pixels), + * sp (scaled pixels based on preferred font size), in (inches), and + * mm (millimeters). + *

May be a fractional value, which is a floating point number appended with + * either % or %p, such as "14.5%". + * The % suffix always means a percentage of the base size; + * the optional %p suffix provides a size relative to some parent container. + * + * @attr name android:gradientRadius + */ + public static final int GradientColor_android_gradientRadius=5; + /** + *

+ * @attr description + * Defines the tile mode of the gradient. SweepGradient doesn't support tiling. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
clamp0
disabledffffffff
mirror2
repeat1
+ * + * @attr name android:tileMode + */ + public static final int GradientColor_android_tileMode=6; + /** + *

+ * @attr description + * Optional center color. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name android:centerColor + */ + public static final int GradientColor_android_centerColor=7; + /** + *

+ * @attr description + * X coordinate of the start point origin of the gradient. + * Defined in same coordinates as the path itself + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:startX + */ + public static final int GradientColor_android_startX=8; + /** + *

+ * @attr description + * Y coordinate of the start point of the gradient within the shape. + * Defined in same coordinates as the path itself + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:startY + */ + public static final int GradientColor_android_startY=9; + /** + *

+ * @attr description + * X coordinate of the end point origin of the gradient. + * Defined in same coordinates as the path itself + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:endX + */ + public static final int GradientColor_android_endX=10; + /** + *

+ * @attr description + * Y coordinate of the end point of the gradient within the shape. + * Defined in same coordinates as the path itself + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:endY + */ + public static final int GradientColor_android_endY=11; + /** + * Attributes that can be used with a GradientColorItem. + *

Includes the following attributes:

+ * + * + * + * + * + * + *
AttributeDescription
{@link #GradientColorItem_android_color android:color}
{@link #GradientColorItem_android_offset android:offset}
+ * @see #GradientColorItem_android_color + * @see #GradientColorItem_android_offset + */ + public static final int[] GradientColorItem={ + 0x010101a5, 0x01010514 + }; + /** + *

+ * @attr description + * The current color for the offset inside the gradient. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name android:color + */ + public static final int GradientColorItem_android_color=0; + /** + *

+ * @attr description + * The offset (or ratio) of this current color item inside the gradient. + * The value is only meaningful when it is between 0 and 1. + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:offset + */ + public static final int GradientColorItem_android_offset=1; + /** + * Attributes that can be used with a LoadingImageView. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + *
AttributeDescription
{@link #LoadingImageView_circleCrop reparto_marquez.keymon.lat:circleCrop}
{@link #LoadingImageView_imageAspectRatio reparto_marquez.keymon.lat:imageAspectRatio}
{@link #LoadingImageView_imageAspectRatioAdjust reparto_marquez.keymon.lat:imageAspectRatioAdjust}
+ * @see #LoadingImageView_circleCrop + * @see #LoadingImageView_imageAspectRatio + * @see #LoadingImageView_imageAspectRatioAdjust + */ + public static final int[] LoadingImageView={ + 0x7f02000a, 0x7f020019, 0x7f02001a + }; + /** + *

This symbol is the offset where the {@link reparto_marquez.keymon.lat.R.attr#circleCrop} + * attribute's value can be found in the {@link #LoadingImageView} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_marquez.keymon.lat:circleCrop + */ + public static final int LoadingImageView_circleCrop=0; + /** + *

This symbol is the offset where the {@link reparto_marquez.keymon.lat.R.attr#imageAspectRatio} + * attribute's value can be found in the {@link #LoadingImageView} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_marquez.keymon.lat:imageAspectRatio + */ + public static final int LoadingImageView_imageAspectRatio=1; + /** + *

This symbol is the offset where the {@link reparto_marquez.keymon.lat.R.attr#imageAspectRatioAdjust} + * attribute's value can be found in the {@link #LoadingImageView} array. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
adjust_height2
adjust_width1
none0
+ * + * @attr name reparto_marquez.keymon.lat:imageAspectRatioAdjust + */ + public static final int LoadingImageView_imageAspectRatioAdjust=2; + /** + * Attributes that can be used with a MapAttrs. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #MapAttrs_ambientEnabled reparto_marquez.keymon.lat:ambientEnabled}
{@link #MapAttrs_cameraBearing reparto_marquez.keymon.lat:cameraBearing}
{@link #MapAttrs_cameraMaxZoomPreference reparto_marquez.keymon.lat:cameraMaxZoomPreference}
{@link #MapAttrs_cameraMinZoomPreference reparto_marquez.keymon.lat:cameraMinZoomPreference}
{@link #MapAttrs_cameraTargetLat reparto_marquez.keymon.lat:cameraTargetLat}
{@link #MapAttrs_cameraTargetLng reparto_marquez.keymon.lat:cameraTargetLng}
{@link #MapAttrs_cameraTilt reparto_marquez.keymon.lat:cameraTilt}
{@link #MapAttrs_cameraZoom reparto_marquez.keymon.lat:cameraZoom}
{@link #MapAttrs_latLngBoundsNorthEastLatitude reparto_marquez.keymon.lat:latLngBoundsNorthEastLatitude}
{@link #MapAttrs_latLngBoundsNorthEastLongitude reparto_marquez.keymon.lat:latLngBoundsNorthEastLongitude}
{@link #MapAttrs_latLngBoundsSouthWestLatitude reparto_marquez.keymon.lat:latLngBoundsSouthWestLatitude}
{@link #MapAttrs_latLngBoundsSouthWestLongitude reparto_marquez.keymon.lat:latLngBoundsSouthWestLongitude}
{@link #MapAttrs_liteMode reparto_marquez.keymon.lat:liteMode}
{@link #MapAttrs_mapType reparto_marquez.keymon.lat:mapType}
{@link #MapAttrs_uiCompass reparto_marquez.keymon.lat:uiCompass}
{@link #MapAttrs_uiMapToolbar reparto_marquez.keymon.lat:uiMapToolbar}
{@link #MapAttrs_uiRotateGestures reparto_marquez.keymon.lat:uiRotateGestures}
{@link #MapAttrs_uiScrollGestures reparto_marquez.keymon.lat:uiScrollGestures}
{@link #MapAttrs_uiScrollGesturesDuringRotateOrZoom reparto_marquez.keymon.lat:uiScrollGesturesDuringRotateOrZoom}
{@link #MapAttrs_uiTiltGestures reparto_marquez.keymon.lat:uiTiltGestures}
{@link #MapAttrs_uiZoomControls reparto_marquez.keymon.lat:uiZoomControls}
{@link #MapAttrs_uiZoomGestures reparto_marquez.keymon.lat:uiZoomGestures}
{@link #MapAttrs_useViewLifecycle reparto_marquez.keymon.lat:useViewLifecycle}
{@link #MapAttrs_zOrderOnTop reparto_marquez.keymon.lat:zOrderOnTop}
+ * @see #MapAttrs_ambientEnabled + * @see #MapAttrs_cameraBearing + * @see #MapAttrs_cameraMaxZoomPreference + * @see #MapAttrs_cameraMinZoomPreference + * @see #MapAttrs_cameraTargetLat + * @see #MapAttrs_cameraTargetLng + * @see #MapAttrs_cameraTilt + * @see #MapAttrs_cameraZoom + * @see #MapAttrs_latLngBoundsNorthEastLatitude + * @see #MapAttrs_latLngBoundsNorthEastLongitude + * @see #MapAttrs_latLngBoundsSouthWestLatitude + * @see #MapAttrs_latLngBoundsSouthWestLongitude + * @see #MapAttrs_liteMode + * @see #MapAttrs_mapType + * @see #MapAttrs_uiCompass + * @see #MapAttrs_uiMapToolbar + * @see #MapAttrs_uiRotateGestures + * @see #MapAttrs_uiScrollGestures + * @see #MapAttrs_uiScrollGesturesDuringRotateOrZoom + * @see #MapAttrs_uiTiltGestures + * @see #MapAttrs_uiZoomControls + * @see #MapAttrs_uiZoomGestures + * @see #MapAttrs_useViewLifecycle + * @see #MapAttrs_zOrderOnTop + */ + public static final int[] MapAttrs={ + 0x7f020001, 0x7f020003, 0x7f020004, 0x7f020005, + 0x7f020006, 0x7f020007, 0x7f020008, 0x7f020009, + 0x7f02001c, 0x7f02001d, 0x7f02001e, 0x7f02001f, + 0x7f020026, 0x7f020027, 0x7f02002c, 0x7f02002d, + 0x7f02002e, 0x7f02002f, 0x7f020030, 0x7f020031, + 0x7f020032, 0x7f020033, 0x7f020034, 0x7f020035 + }; + /** + *

This symbol is the offset where the {@link reparto_marquez.keymon.lat.R.attr#ambientEnabled} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_marquez.keymon.lat:ambientEnabled + */ + public static final int MapAttrs_ambientEnabled=0; + /** + *

This symbol is the offset where the {@link reparto_marquez.keymon.lat.R.attr#cameraBearing} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_marquez.keymon.lat:cameraBearing + */ + public static final int MapAttrs_cameraBearing=1; + /** + *

This symbol is the offset where the {@link reparto_marquez.keymon.lat.R.attr#cameraMaxZoomPreference} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_marquez.keymon.lat:cameraMaxZoomPreference + */ + public static final int MapAttrs_cameraMaxZoomPreference=2; + /** + *

This symbol is the offset where the {@link reparto_marquez.keymon.lat.R.attr#cameraMinZoomPreference} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_marquez.keymon.lat:cameraMinZoomPreference + */ + public static final int MapAttrs_cameraMinZoomPreference=3; + /** + *

This symbol is the offset where the {@link reparto_marquez.keymon.lat.R.attr#cameraTargetLat} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_marquez.keymon.lat:cameraTargetLat + */ + public static final int MapAttrs_cameraTargetLat=4; + /** + *

This symbol is the offset where the {@link reparto_marquez.keymon.lat.R.attr#cameraTargetLng} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_marquez.keymon.lat:cameraTargetLng + */ + public static final int MapAttrs_cameraTargetLng=5; + /** + *

This symbol is the offset where the {@link reparto_marquez.keymon.lat.R.attr#cameraTilt} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_marquez.keymon.lat:cameraTilt + */ + public static final int MapAttrs_cameraTilt=6; + /** + *

This symbol is the offset where the {@link reparto_marquez.keymon.lat.R.attr#cameraZoom} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_marquez.keymon.lat:cameraZoom + */ + public static final int MapAttrs_cameraZoom=7; + /** + *

This symbol is the offset where the {@link reparto_marquez.keymon.lat.R.attr#latLngBoundsNorthEastLatitude} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_marquez.keymon.lat:latLngBoundsNorthEastLatitude + */ + public static final int MapAttrs_latLngBoundsNorthEastLatitude=8; + /** + *

This symbol is the offset where the {@link reparto_marquez.keymon.lat.R.attr#latLngBoundsNorthEastLongitude} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_marquez.keymon.lat:latLngBoundsNorthEastLongitude + */ + public static final int MapAttrs_latLngBoundsNorthEastLongitude=9; + /** + *

This symbol is the offset where the {@link reparto_marquez.keymon.lat.R.attr#latLngBoundsSouthWestLatitude} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_marquez.keymon.lat:latLngBoundsSouthWestLatitude + */ + public static final int MapAttrs_latLngBoundsSouthWestLatitude=10; + /** + *

This symbol is the offset where the {@link reparto_marquez.keymon.lat.R.attr#latLngBoundsSouthWestLongitude} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_marquez.keymon.lat:latLngBoundsSouthWestLongitude + */ + public static final int MapAttrs_latLngBoundsSouthWestLongitude=11; + /** + *

This symbol is the offset where the {@link reparto_marquez.keymon.lat.R.attr#liteMode} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_marquez.keymon.lat:liteMode + */ + public static final int MapAttrs_liteMode=12; + /** + *

This symbol is the offset where the {@link reparto_marquez.keymon.lat.R.attr#mapType} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
hybrid4
none0
normal1
satellite2
terrain3
+ * + * @attr name reparto_marquez.keymon.lat:mapType + */ + public static final int MapAttrs_mapType=13; + /** + *

This symbol is the offset where the {@link reparto_marquez.keymon.lat.R.attr#uiCompass} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_marquez.keymon.lat:uiCompass + */ + public static final int MapAttrs_uiCompass=14; + /** + *

This symbol is the offset where the {@link reparto_marquez.keymon.lat.R.attr#uiMapToolbar} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_marquez.keymon.lat:uiMapToolbar + */ + public static final int MapAttrs_uiMapToolbar=15; + /** + *

This symbol is the offset where the {@link reparto_marquez.keymon.lat.R.attr#uiRotateGestures} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_marquez.keymon.lat:uiRotateGestures + */ + public static final int MapAttrs_uiRotateGestures=16; + /** + *

This symbol is the offset where the {@link reparto_marquez.keymon.lat.R.attr#uiScrollGestures} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_marquez.keymon.lat:uiScrollGestures + */ + public static final int MapAttrs_uiScrollGestures=17; + /** + *

This symbol is the offset where the {@link reparto_marquez.keymon.lat.R.attr#uiScrollGesturesDuringRotateOrZoom} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_marquez.keymon.lat:uiScrollGesturesDuringRotateOrZoom + */ + public static final int MapAttrs_uiScrollGesturesDuringRotateOrZoom=18; + /** + *

This symbol is the offset where the {@link reparto_marquez.keymon.lat.R.attr#uiTiltGestures} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_marquez.keymon.lat:uiTiltGestures + */ + public static final int MapAttrs_uiTiltGestures=19; + /** + *

This symbol is the offset where the {@link reparto_marquez.keymon.lat.R.attr#uiZoomControls} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_marquez.keymon.lat:uiZoomControls + */ + public static final int MapAttrs_uiZoomControls=20; + /** + *

This symbol is the offset where the {@link reparto_marquez.keymon.lat.R.attr#uiZoomGestures} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_marquez.keymon.lat:uiZoomGestures + */ + public static final int MapAttrs_uiZoomGestures=21; + /** + *

This symbol is the offset where the {@link reparto_marquez.keymon.lat.R.attr#useViewLifecycle} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_marquez.keymon.lat:useViewLifecycle + */ + public static final int MapAttrs_useViewLifecycle=22; + /** + *

This symbol is the offset where the {@link reparto_marquez.keymon.lat.R.attr#zOrderOnTop} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_marquez.keymon.lat:zOrderOnTop + */ + public static final int MapAttrs_zOrderOnTop=23; + /** + * Attributes that can be used with a SignInButton. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + *
AttributeDescription
{@link #SignInButton_buttonSize reparto_marquez.keymon.lat:buttonSize}
{@link #SignInButton_colorScheme reparto_marquez.keymon.lat:colorScheme}
{@link #SignInButton_scopeUris reparto_marquez.keymon.lat:scopeUris}
+ * @see #SignInButton_buttonSize + * @see #SignInButton_colorScheme + * @see #SignInButton_scopeUris + */ + public static final int[] SignInButton={ + 0x7f020002, 0x7f02000b, 0x7f020028 + }; + /** + *

This symbol is the offset where the {@link reparto_marquez.keymon.lat.R.attr#buttonSize} + * attribute's value can be found in the {@link #SignInButton} array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
icon_only2
standard0
wide1
+ * + * @attr name reparto_marquez.keymon.lat:buttonSize + */ + public static final int SignInButton_buttonSize=0; + /** + *

This symbol is the offset where the {@link reparto_marquez.keymon.lat.R.attr#colorScheme} + * attribute's value can be found in the {@link #SignInButton} array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
auto2
dark0
light1
+ * + * @attr name reparto_marquez.keymon.lat:colorScheme + */ + public static final int SignInButton_colorScheme=1; + /** + *

This symbol is the offset where the {@link reparto_marquez.keymon.lat.R.attr#scopeUris} + * attribute's value can be found in the {@link #SignInButton} array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_marquez.keymon.lat:scopeUris + */ + public static final int SignInButton_scopeUris=2; + /** + * Attributes that can be used with a SwipeRefreshLayout. + *

Includes the following attributes:

+ * + * + * + * + * + *
AttributeDescription
{@link #SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor reparto_marquez.keymon.lat:swipeRefreshLayoutProgressSpinnerBackgroundColor}Background color for SwipeRefreshLayout progress spinner.
+ * @see #SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor + */ + public static final int[] SwipeRefreshLayout={ + 0x7f02002a + }; + /** + *

+ * @attr description + * Background color for SwipeRefreshLayout progress spinner. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name reparto_marquez.keymon.lat:swipeRefreshLayoutProgressSpinnerBackgroundColor + */ + public static final int SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor=0; + } + public static final class xml { + public static final int provider_paths=0x7f0c0000; + } +} \ No newline at end of file diff --git a/B4A/Objects/gen/reparto_mazapa/keymon/lat/R.java b/B4A/Objects/gen/reparto_mazapa/keymon/lat/R.java new file mode 100644 index 0000000..af581dc --- /dev/null +++ b/B4A/Objects/gen/reparto_mazapa/keymon/lat/R.java @@ -0,0 +1,2121 @@ +/* AUTO-GENERATED FILE. DO NOT MODIFY. + * + * This class was automatically generated by the + * aapt tool from the resource data it found. It + * should not be modified by hand. + */ + +package reparto_mazapa.keymon.lat; + +public final class R { + public static final class anim { + public static final int fragment_close_enter=0x7f010000; + public static final int fragment_close_exit=0x7f010001; + public static final int fragment_fade_enter=0x7f010002; + public static final int fragment_fade_exit=0x7f010003; + public static final int fragment_fast_out_extra_slow_in=0x7f010004; + public static final int fragment_open_enter=0x7f010005; + public static final int fragment_open_exit=0x7f010006; + } + public static final class attr { + /** + * Alpha multiplier applied to the base color. + *

May be a floating point value, such as "1.2". + */ + public static final int alpha=0x7f020000; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int ambientEnabled=0x7f020001; + /** + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
icon_only2
standard0
wide1
+ */ + public static final int buttonSize=0x7f020002; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraBearing=0x7f020003; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraMaxZoomPreference=0x7f020004; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraMinZoomPreference=0x7f020005; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraTargetLat=0x7f020006; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraTargetLng=0x7f020007; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraTilt=0x7f020008; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int cameraZoom=0x7f020009; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int circleCrop=0x7f02000a; + /** + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
auto2
dark0
light1
+ */ + public static final int colorScheme=0x7f02000b; + /** + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int coordinatorLayoutStyle=0x7f02000c; + /** + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int drawerLayoutStyle=0x7f02000d; + /** + *

May be a dimension value, which is a floating point number appended with a + * unit such as "14.5sp". + * Available units are: px (pixels), dp (density-independent pixels), + * sp (scaled pixels based on preferred font size), in (inches), and + * mm (millimeters). + */ + public static final int elevation=0x7f02000e; + /** + * The reference to the font file to be used. This should be a file in the res/font folder + * and should therefore have an R reference value. E.g. @font/myfont + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int font=0x7f02000f; + /** + * The authority of the Font Provider to be used for the request. + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int fontProviderAuthority=0x7f020010; + /** + * The sets of hashes for the certificates the provider should be signed with. This is + * used to verify the identity of the provider, and is only required if the provider is not + * part of the system image. This value may point to one list or a list of lists, where each + * individual list represents one collection of signature hashes. Refer to your font provider's + * documentation for these values. + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int fontProviderCerts=0x7f020011; + /** + * The strategy to be used when fetching font data from a font provider in XML layouts. + * This attribute is ignored when the resource is loaded from code, as it is equivalent to the + * choice of API between {@link + * androidx.core.content.res.ResourcesCompat#getFont(Context, int)} (blocking) and + * {@link + * androidx.core.content.res.ResourcesCompat#getFont(Context, int, FontCallback, Handler)} + * (async). + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + *
ConstantValueDescription
async1The async font fetch works as follows. + * First, check the local cache, then if the requeted font is not cached, trigger a + * request the font and continue with layout inflation. Once the font fetch succeeds, the + * target text view will be refreshed with the downloaded font data. The + * fontProviderFetchTimeout will be ignored if async loading is specified.
blocking0The blocking font fetch works as follows. + * First, check the local cache, then if the requested font is not cached, request the + * font from the provider and wait until it is finished. You can change the length of + * the timeout by modifying fontProviderFetchTimeout. If the timeout happens, the + * default typeface will be used instead.
+ */ + public static final int fontProviderFetchStrategy=0x7f020012; + /** + * The length of the timeout during fetching. + *

May be an integer value, such as "100". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + *
ConstantValueDescription
foreverffffffffA special value for the timeout. In this case, the blocking font fetching will not + * timeout and wait until a reply is received from the font provider.
+ */ + public static final int fontProviderFetchTimeout=0x7f020013; + /** + * The package for the Font Provider to be used for the request. This is used to verify + * the identity of the provider. + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int fontProviderPackage=0x7f020014; + /** + * The query to be sent over to the provider. Refer to your font provider's documentation + * on the format of this string. + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int fontProviderQuery=0x7f020015; + /** + * The style of the given font file. This will be used when the font is being loaded into + * the font stack and will override any style information in the font's header tables. If + * unspecified, the value in the font's header tables will be used. + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + *
ConstantValueDescription
italic1
normal0
+ */ + public static final int fontStyle=0x7f020016; + /** + * The variation settings to be applied to the font. The string should be in the following + * format: "'tag1' value1, 'tag2' value2, ...". If the default variation settings should be + * used, or the font used does not support variation settings, this attribute needs not be + * specified. + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int fontVariationSettings=0x7f020017; + /** + * The weight of the given font file. This will be used when the font is being loaded into + * the font stack and will override any weight information in the font's header tables. Must + * be a positive number, a multiple of 100, and between 100 and 900, inclusive. The most + * common values are 400 for regular weight and 700 for bold weight. If unspecified, the value + * in the font's header tables will be used. + *

May be an integer value, such as "100". + */ + public static final int fontWeight=0x7f020018; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int imageAspectRatio=0x7f020019; + /** + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
adjust_height2
adjust_width1
none0
+ */ + public static final int imageAspectRatioAdjust=0x7f02001a; + /** + * A reference to an array of integers representing the + * locations of horizontal keylines in dp from the starting edge. + * Child views can refer to these keylines for alignment using + * layout_keyline="index" where index is a 0-based index into + * this array. + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int keylines=0x7f02001b; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int latLngBoundsNorthEastLatitude=0x7f02001c; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int latLngBoundsNorthEastLongitude=0x7f02001d; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int latLngBoundsSouthWestLatitude=0x7f02001e; + /** + *

May be a floating point value, such as "1.2". + */ + public static final int latLngBoundsSouthWestLongitude=0x7f02001f; + /** + * The id of an anchor view that this view should position relative to. + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + */ + public static final int layout_anchor=0x7f020020; + /** + * Specifies how an object should position relative to an anchor, on both the X and Y axes, + * within its parent's bounds. + *

Must be one or more (separated by '|') of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
bottom50Push object to the bottom of its container, not changing its size.
center11Place the object in the center of its container in both the vertical and horizontal axis, not changing its size.
center_horizontal1Place object in the horizontal center of its container, not changing its size.
center_vertical10Place object in the vertical center of its container, not changing its size.
clip_horizontal8Additional option that can be set to have the left and/or right edges of + * the child clipped to its container's bounds. + * The clip will be based on the horizontal gravity: a left gravity will clip the right + * edge, a right gravity will clip the left edge, and neither will clip both edges.
clip_vertical80Additional option that can be set to have the top and/or bottom edges of + * the child clipped to its container's bounds. + * The clip will be based on the vertical gravity: a top gravity will clip the bottom + * edge, a bottom gravity will clip the top edge, and neither will clip both edges.
end800005Push object to the end of its container, not changing its size.
fill77Grow the horizontal and vertical size of the object if needed so it completely fills its container.
fill_horizontal7Grow the horizontal size of the object if needed so it completely fills its container.
fill_vertical70Grow the vertical size of the object if needed so it completely fills its container.
left3Push object to the left of its container, not changing its size.
right5Push object to the right of its container, not changing its size.
start800003Push object to the beginning of its container, not changing its size.
top30Push object to the top of its container, not changing its size.
+ */ + public static final int layout_anchorGravity=0x7f020021; + /** + * The class name of a Behavior class defining special runtime behavior + * for this child view. + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int layout_behavior=0x7f020022; + /** + * Specifies how this view dodges the inset edges of the CoordinatorLayout. + *

Must be one or more (separated by '|') of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
all77Dodge all the inset edges.
bottom50Dodge the bottom inset edge.
end800005Dodge the end inset edge.
left3Dodge the left inset edge.
none0Don't dodge any edges
right5Dodge the right inset edge.
start800003Dodge the start inset edge.
top30Dodge the top inset edge.
+ */ + public static final int layout_dodgeInsetEdges=0x7f020023; + /** + * Specifies how this view insets the CoordinatorLayout and make some other views + * dodge it. + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
bottom50Inset the bottom edge.
end800005Inset the end edge.
left3Inset the left edge.
none0Don't inset.
right5Inset the right edge.
start800003Inset the start edge.
top30Inset the top edge.
+ */ + public static final int layout_insetEdge=0x7f020024; + /** + * The index of a keyline this view should position relative to. + * android:layout_gravity will affect how the view aligns to the + * specified keyline. + *

May be an integer value, such as "100". + */ + public static final int layout_keyline=0x7f020025; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int liteMode=0x7f020026; + /** + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
hybrid4
none0
normal1
satellite2
terrain3
+ */ + public static final int mapType=0x7f020027; + /** + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + */ + public static final int scopeUris=0x7f020028; + /** + * Drawable to display behind the status bar when the view is set to draw behind it. + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + */ + public static final int statusBarBackground=0x7f020029; + /** + * Background color for SwipeRefreshLayout progress spinner. + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + */ + public static final int swipeRefreshLayoutProgressSpinnerBackgroundColor=0x7f02002a; + /** + * The index of the font in the tcc font file. If the font file referenced is not in the + * tcc format, this attribute needs not be specified. + *

May be an integer value, such as "100". + */ + public static final int ttcIndex=0x7f02002b; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiCompass=0x7f02002c; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiMapToolbar=0x7f02002d; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiRotateGestures=0x7f02002e; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiScrollGestures=0x7f02002f; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiScrollGesturesDuringRotateOrZoom=0x7f020030; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiTiltGestures=0x7f020031; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiZoomControls=0x7f020032; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int uiZoomGestures=0x7f020033; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int useViewLifecycle=0x7f020034; + /** + *

May be a boolean value, such as "true" or + * "false". + */ + public static final int zOrderOnTop=0x7f020035; + } + public static final class color { + public static final int androidx_core_ripple_material_light=0x7f030000; + public static final int androidx_core_secondary_text_default_material_light=0x7f030001; + public static final int common_google_signin_btn_text_dark=0x7f030002; + public static final int common_google_signin_btn_text_dark_default=0x7f030003; + public static final int common_google_signin_btn_text_dark_disabled=0x7f030004; + public static final int common_google_signin_btn_text_dark_focused=0x7f030005; + public static final int common_google_signin_btn_text_dark_pressed=0x7f030006; + public static final int common_google_signin_btn_text_light=0x7f030007; + public static final int common_google_signin_btn_text_light_default=0x7f030008; + public static final int common_google_signin_btn_text_light_disabled=0x7f030009; + public static final int common_google_signin_btn_text_light_focused=0x7f03000a; + public static final int common_google_signin_btn_text_light_pressed=0x7f03000b; + public static final int common_google_signin_btn_tint=0x7f03000c; + public static final int notification_action_color_filter=0x7f03000d; + public static final int notification_icon_bg_color=0x7f03000e; + public static final int notification_material_background_media_default_color=0x7f03000f; + public static final int primary_text_default_material_dark=0x7f030010; + public static final int secondary_text_default_material_dark=0x7f030011; + } + public static final class dimen { + public static final int compat_button_inset_horizontal_material=0x7f040000; + public static final int compat_button_inset_vertical_material=0x7f040001; + public static final int compat_button_padding_horizontal_material=0x7f040002; + public static final int compat_button_padding_vertical_material=0x7f040003; + public static final int compat_control_corner_material=0x7f040004; + public static final int compat_notification_large_icon_max_height=0x7f040005; + public static final int compat_notification_large_icon_max_width=0x7f040006; + public static final int def_drawer_elevation=0x7f040007; + public static final int notification_action_icon_size=0x7f040008; + public static final int notification_action_text_size=0x7f040009; + public static final int notification_big_circle_margin=0x7f04000a; + public static final int notification_content_margin_start=0x7f04000b; + public static final int notification_large_icon_height=0x7f04000c; + public static final int notification_large_icon_width=0x7f04000d; + public static final int notification_main_column_padding_top=0x7f04000e; + public static final int notification_media_narrow_margin=0x7f04000f; + public static final int notification_right_icon_size=0x7f040010; + public static final int notification_right_side_padding_top=0x7f040011; + public static final int notification_small_icon_background_padding=0x7f040012; + public static final int notification_small_icon_size_as_large=0x7f040013; + public static final int notification_subtext_size=0x7f040014; + public static final int notification_top_pad=0x7f040015; + public static final int notification_top_pad_large_text=0x7f040016; + public static final int subtitle_corner_radius=0x7f040017; + public static final int subtitle_outline_width=0x7f040018; + public static final int subtitle_shadow_offset=0x7f040019; + public static final int subtitle_shadow_radius=0x7f04001a; + } + public static final class drawable { + public static final int common_full_open_on_phone=0x7f050000; + public static final int common_google_signin_btn_icon_dark=0x7f050001; + public static final int common_google_signin_btn_icon_dark_focused=0x7f050002; + public static final int common_google_signin_btn_icon_dark_normal=0x7f050003; + public static final int common_google_signin_btn_icon_dark_normal_background=0x7f050004; + public static final int common_google_signin_btn_icon_disabled=0x7f050005; + public static final int common_google_signin_btn_icon_light=0x7f050006; + public static final int common_google_signin_btn_icon_light_focused=0x7f050007; + public static final int common_google_signin_btn_icon_light_normal=0x7f050008; + public static final int common_google_signin_btn_icon_light_normal_background=0x7f050009; + public static final int common_google_signin_btn_text_dark=0x7f05000a; + public static final int common_google_signin_btn_text_dark_focused=0x7f05000b; + public static final int common_google_signin_btn_text_dark_normal=0x7f05000c; + public static final int common_google_signin_btn_text_dark_normal_background=0x7f05000d; + public static final int common_google_signin_btn_text_disabled=0x7f05000e; + public static final int common_google_signin_btn_text_light=0x7f05000f; + public static final int common_google_signin_btn_text_light_focused=0x7f050010; + public static final int common_google_signin_btn_text_light_normal=0x7f050011; + public static final int common_google_signin_btn_text_light_normal_background=0x7f050012; + public static final int googleg_disabled_color_18=0x7f050013; + public static final int googleg_standard_color_18=0x7f050014; + public static final int icon=0x7f050015; + public static final int notification_action_background=0x7f050016; + public static final int notification_bg=0x7f050017; + public static final int notification_bg_low=0x7f050018; + public static final int notification_bg_low_normal=0x7f050019; + public static final int notification_bg_low_pressed=0x7f05001a; + public static final int notification_bg_normal=0x7f05001b; + public static final int notification_bg_normal_pressed=0x7f05001c; + public static final int notification_icon_background=0x7f05001d; + public static final int notification_template_icon_bg=0x7f05001e; + public static final int notification_template_icon_low_bg=0x7f05001f; + public static final int notification_tile_bg=0x7f050020; + public static final int notify_panel_notification_icon_bg=0x7f050021; + } + public static final class id { + public static final int accessibility_action_clickable_span=0x7f060000; + public static final int accessibility_custom_action_0=0x7f060001; + public static final int accessibility_custom_action_1=0x7f060002; + public static final int accessibility_custom_action_10=0x7f060003; + public static final int accessibility_custom_action_11=0x7f060004; + public static final int accessibility_custom_action_12=0x7f060005; + public static final int accessibility_custom_action_13=0x7f060006; + public static final int accessibility_custom_action_14=0x7f060007; + public static final int accessibility_custom_action_15=0x7f060008; + public static final int accessibility_custom_action_16=0x7f060009; + public static final int accessibility_custom_action_17=0x7f06000a; + public static final int accessibility_custom_action_18=0x7f06000b; + public static final int accessibility_custom_action_19=0x7f06000c; + public static final int accessibility_custom_action_2=0x7f06000d; + public static final int accessibility_custom_action_20=0x7f06000e; + public static final int accessibility_custom_action_21=0x7f06000f; + public static final int accessibility_custom_action_22=0x7f060010; + public static final int accessibility_custom_action_23=0x7f060011; + public static final int accessibility_custom_action_24=0x7f060012; + public static final int accessibility_custom_action_25=0x7f060013; + public static final int accessibility_custom_action_26=0x7f060014; + public static final int accessibility_custom_action_27=0x7f060015; + public static final int accessibility_custom_action_28=0x7f060016; + public static final int accessibility_custom_action_29=0x7f060017; + public static final int accessibility_custom_action_3=0x7f060018; + public static final int accessibility_custom_action_30=0x7f060019; + public static final int accessibility_custom_action_31=0x7f06001a; + public static final int accessibility_custom_action_4=0x7f06001b; + public static final int accessibility_custom_action_5=0x7f06001c; + public static final int accessibility_custom_action_6=0x7f06001d; + public static final int accessibility_custom_action_7=0x7f06001e; + public static final int accessibility_custom_action_8=0x7f06001f; + public static final int accessibility_custom_action_9=0x7f060020; + public static final int action0=0x7f060021; + public static final int action_container=0x7f060022; + public static final int action_divider=0x7f060023; + public static final int action_image=0x7f060024; + public static final int action_text=0x7f060025; + public static final int actions=0x7f060026; + public static final int adjust_height=0x7f060027; + public static final int adjust_width=0x7f060028; + public static final int all=0x7f060029; + public static final int async=0x7f06002a; + public static final int auto=0x7f06002b; + public static final int blocking=0x7f06002c; + public static final int bottom=0x7f06002d; + public static final int cancel_action=0x7f06002e; + public static final int center=0x7f06002f; + public static final int center_horizontal=0x7f060030; + public static final int center_vertical=0x7f060031; + public static final int chronometer=0x7f060032; + public static final int clip_horizontal=0x7f060033; + public static final int clip_vertical=0x7f060034; + public static final int dark=0x7f060035; + public static final int dialog_button=0x7f060036; + public static final int end=0x7f060037; + public static final int end_padder=0x7f060038; + public static final int fill=0x7f060039; + public static final int fill_horizontal=0x7f06003a; + public static final int fill_vertical=0x7f06003b; + public static final int forever=0x7f06003c; + public static final int fragment_container_view_tag=0x7f06003d; + public static final int hybrid=0x7f06003e; + public static final int icon=0x7f06003f; + public static final int icon_group=0x7f060040; + public static final int icon_only=0x7f060041; + public static final int info=0x7f060042; + public static final int italic=0x7f060043; + public static final int left=0x7f060044; + public static final int light=0x7f060045; + public static final int line1=0x7f060046; + public static final int line3=0x7f060047; + public static final int media_actions=0x7f060048; + public static final int none=0x7f060049; + public static final int normal=0x7f06004a; + public static final int notification_background=0x7f06004b; + public static final int notification_main_column=0x7f06004c; + public static final int notification_main_column_container=0x7f06004d; + public static final int right=0x7f06004e; + public static final int right_icon=0x7f06004f; + public static final int right_side=0x7f060050; + public static final int satellite=0x7f060051; + public static final int standard=0x7f060052; + public static final int start=0x7f060053; + public static final int status_bar_latest_event_content=0x7f060054; + public static final int tag_accessibility_actions=0x7f060055; + public static final int tag_accessibility_clickable_spans=0x7f060056; + public static final int tag_accessibility_heading=0x7f060057; + public static final int tag_accessibility_pane_title=0x7f060058; + public static final int tag_screen_reader_focusable=0x7f060059; + public static final int tag_transition_group=0x7f06005a; + public static final int tag_unhandled_key_event_manager=0x7f06005b; + public static final int tag_unhandled_key_listeners=0x7f06005c; + public static final int terrain=0x7f06005d; + public static final int text=0x7f06005e; + public static final int text2=0x7f06005f; + public static final int time=0x7f060060; + public static final int title=0x7f060061; + public static final int top=0x7f060062; + public static final int visible_removing_fragment_view_tag=0x7f060063; + public static final int wide=0x7f060064; + } + public static final class integer { + public static final int cancel_button_image_alpha=0x7f070000; + public static final int google_play_services_version=0x7f070001; + public static final int status_bar_notification_info_maxnum=0x7f070002; + } + public static final class layout { + public static final int custom_dialog=0x7f080000; + public static final int notification_action=0x7f080001; + public static final int notification_action_tombstone=0x7f080002; + public static final int notification_media_action=0x7f080003; + public static final int notification_media_cancel_action=0x7f080004; + public static final int notification_template_big_media=0x7f080005; + public static final int notification_template_big_media_custom=0x7f080006; + public static final int notification_template_big_media_narrow=0x7f080007; + public static final int notification_template_big_media_narrow_custom=0x7f080008; + public static final int notification_template_custom_big=0x7f080009; + public static final int notification_template_icon_group=0x7f08000a; + public static final int notification_template_lines_media=0x7f08000b; + public static final int notification_template_media=0x7f08000c; + public static final int notification_template_media_custom=0x7f08000d; + public static final int notification_template_part_chronometer=0x7f08000e; + public static final int notification_template_part_time=0x7f08000f; + } + public static final class string { + public static final int common_google_play_services_enable_button=0x7f090000; + public static final int common_google_play_services_enable_text=0x7f090001; + public static final int common_google_play_services_enable_title=0x7f090002; + public static final int common_google_play_services_install_button=0x7f090003; + public static final int common_google_play_services_install_text=0x7f090004; + public static final int common_google_play_services_install_title=0x7f090005; + public static final int common_google_play_services_notification_channel_name=0x7f090006; + public static final int common_google_play_services_notification_ticker=0x7f090007; + public static final int common_google_play_services_unknown_issue=0x7f090008; + public static final int common_google_play_services_unsupported_text=0x7f090009; + public static final int common_google_play_services_update_button=0x7f09000a; + public static final int common_google_play_services_update_text=0x7f09000b; + public static final int common_google_play_services_update_title=0x7f09000c; + public static final int common_google_play_services_updating_text=0x7f09000d; + public static final int common_google_play_services_wear_update_text=0x7f09000e; + public static final int common_open_on_phone=0x7f09000f; + public static final int common_signin_button_text=0x7f090010; + public static final int common_signin_button_text_long=0x7f090011; + public static final int status_bar_notification_info_overflow=0x7f090012; + } + public static final class style { + public static final int LightTheme=0x7f0a0000; + public static final int LowerCaseMenu=0x7f0a0001; + public static final int TextAppearance_Compat_Notification=0x7f0a0002; + public static final int TextAppearance_Compat_Notification_Info=0x7f0a0003; + public static final int TextAppearance_Compat_Notification_Info_Media=0x7f0a0004; + public static final int TextAppearance_Compat_Notification_Line2=0x7f0a0005; + public static final int TextAppearance_Compat_Notification_Line2_Media=0x7f0a0006; + public static final int TextAppearance_Compat_Notification_Media=0x7f0a0007; + public static final int TextAppearance_Compat_Notification_Time=0x7f0a0008; + public static final int TextAppearance_Compat_Notification_Time_Media=0x7f0a0009; + public static final int TextAppearance_Compat_Notification_Title=0x7f0a000a; + public static final int TextAppearance_Compat_Notification_Title_Media=0x7f0a000b; + public static final int Widget_Compat_NotificationActionContainer=0x7f0a000c; + public static final int Widget_Compat_NotificationActionText=0x7f0a000d; + public static final int Widget_Support_CoordinatorLayout=0x7f0a000e; + } + public static final class styleable { + /** + * Attributes that can be used with a ColorStateListItem. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + *
AttributeDescription
{@link #ColorStateListItem_android_color android:color}
{@link #ColorStateListItem_android_alpha android:alpha}
{@link #ColorStateListItem_alpha reparto_mazapa.keymon.lat:alpha}Alpha multiplier applied to the base color.
+ * @see #ColorStateListItem_android_color + * @see #ColorStateListItem_android_alpha + * @see #ColorStateListItem_alpha + */ + public static final int[] ColorStateListItem={ + 0x010101a5, 0x0101031f, 0x7f020000 + }; + /** + *

+ * @attr description + * Base color for this state. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name android:color + */ + public static final int ColorStateListItem_android_color=0; + /** + *

This symbol is the offset where the {@link android.R.attr#alpha} + * attribute's value can be found in the {@link #ColorStateListItem} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:alpha + */ + public static final int ColorStateListItem_android_alpha=1; + /** + *

+ * @attr description + * Alpha multiplier applied to the base color. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_mazapa.keymon.lat:alpha + */ + public static final int ColorStateListItem_alpha=2; + /** + * Attributes that can be used with a CoordinatorLayout. + *

Includes the following attributes:

+ * + * + * + * + * + * + *
AttributeDescription
{@link #CoordinatorLayout_keylines reparto_mazapa.keymon.lat:keylines}A reference to an array of integers representing the + * locations of horizontal keylines in dp from the starting edge.
{@link #CoordinatorLayout_statusBarBackground reparto_mazapa.keymon.lat:statusBarBackground}Drawable to display behind the status bar when the view is set to draw behind it.
+ * @see #CoordinatorLayout_keylines + * @see #CoordinatorLayout_statusBarBackground + */ + public static final int[] CoordinatorLayout={ + 0x7f02001b, 0x7f020029 + }; + /** + *

+ * @attr description + * A reference to an array of integers representing the + * locations of horizontal keylines in dp from the starting edge. + * Child views can refer to these keylines for alignment using + * layout_keyline="index" where index is a 0-based index into + * this array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name reparto_mazapa.keymon.lat:keylines + */ + public static final int CoordinatorLayout_keylines=0; + /** + *

+ * @attr description + * Drawable to display behind the status bar when the view is set to draw behind it. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name reparto_mazapa.keymon.lat:statusBarBackground + */ + public static final int CoordinatorLayout_statusBarBackground=1; + /** + * Attributes that can be used with a CoordinatorLayout_Layout. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #CoordinatorLayout_Layout_android_layout_gravity android:layout_gravity}
{@link #CoordinatorLayout_Layout_layout_anchor reparto_mazapa.keymon.lat:layout_anchor}The id of an anchor view that this view should position relative to.
{@link #CoordinatorLayout_Layout_layout_anchorGravity reparto_mazapa.keymon.lat:layout_anchorGravity}Specifies how an object should position relative to an anchor, on both the X and Y axes, + * within its parent's bounds.
{@link #CoordinatorLayout_Layout_layout_behavior reparto_mazapa.keymon.lat:layout_behavior}The class name of a Behavior class defining special runtime behavior + * for this child view.
{@link #CoordinatorLayout_Layout_layout_dodgeInsetEdges reparto_mazapa.keymon.lat:layout_dodgeInsetEdges}Specifies how this view dodges the inset edges of the CoordinatorLayout.
{@link #CoordinatorLayout_Layout_layout_insetEdge reparto_mazapa.keymon.lat:layout_insetEdge}Specifies how this view insets the CoordinatorLayout and make some other views + * dodge it.
{@link #CoordinatorLayout_Layout_layout_keyline reparto_mazapa.keymon.lat:layout_keyline}The index of a keyline this view should position relative to.
+ * @see #CoordinatorLayout_Layout_android_layout_gravity + * @see #CoordinatorLayout_Layout_layout_anchor + * @see #CoordinatorLayout_Layout_layout_anchorGravity + * @see #CoordinatorLayout_Layout_layout_behavior + * @see #CoordinatorLayout_Layout_layout_dodgeInsetEdges + * @see #CoordinatorLayout_Layout_layout_insetEdge + * @see #CoordinatorLayout_Layout_layout_keyline + */ + public static final int[] CoordinatorLayout_Layout={ + 0x010100b3, 0x7f020020, 0x7f020021, 0x7f020022, + 0x7f020023, 0x7f020024, 0x7f020025 + }; + /** + *

This symbol is the offset where the {@link android.R.attr#layout_gravity} + * attribute's value can be found in the {@link #CoordinatorLayout_Layout} array. + * + *

Must be one or more (separated by '|') of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
bottom50
center11
center_horizontal1
center_vertical10
clip_horizontal8
clip_vertical80
end800005
fill77
fill_horizontal7
fill_vertical70
left3
right5
start800003
top30
+ * + * @attr name android:layout_gravity + */ + public static final int CoordinatorLayout_Layout_android_layout_gravity=0; + /** + *

+ * @attr description + * The id of an anchor view that this view should position relative to. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name reparto_mazapa.keymon.lat:layout_anchor + */ + public static final int CoordinatorLayout_Layout_layout_anchor=1; + /** + *

+ * @attr description + * Specifies how an object should position relative to an anchor, on both the X and Y axes, + * within its parent's bounds. + * + *

Must be one or more (separated by '|') of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
bottom50Push object to the bottom of its container, not changing its size.
center11Place the object in the center of its container in both the vertical and horizontal axis, not changing its size.
center_horizontal1Place object in the horizontal center of its container, not changing its size.
center_vertical10Place object in the vertical center of its container, not changing its size.
clip_horizontal8Additional option that can be set to have the left and/or right edges of + * the child clipped to its container's bounds. + * The clip will be based on the horizontal gravity: a left gravity will clip the right + * edge, a right gravity will clip the left edge, and neither will clip both edges.
clip_vertical80Additional option that can be set to have the top and/or bottom edges of + * the child clipped to its container's bounds. + * The clip will be based on the vertical gravity: a top gravity will clip the bottom + * edge, a bottom gravity will clip the top edge, and neither will clip both edges.
end800005Push object to the end of its container, not changing its size.
fill77Grow the horizontal and vertical size of the object if needed so it completely fills its container.
fill_horizontal7Grow the horizontal size of the object if needed so it completely fills its container.
fill_vertical70Grow the vertical size of the object if needed so it completely fills its container.
left3Push object to the left of its container, not changing its size.
right5Push object to the right of its container, not changing its size.
start800003Push object to the beginning of its container, not changing its size.
top30Push object to the top of its container, not changing its size.
+ * + * @attr name reparto_mazapa.keymon.lat:layout_anchorGravity + */ + public static final int CoordinatorLayout_Layout_layout_anchorGravity=2; + /** + *

+ * @attr description + * The class name of a Behavior class defining special runtime behavior + * for this child view. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_mazapa.keymon.lat:layout_behavior + */ + public static final int CoordinatorLayout_Layout_layout_behavior=3; + /** + *

+ * @attr description + * Specifies how this view dodges the inset edges of the CoordinatorLayout. + * + *

Must be one or more (separated by '|') of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
all77Dodge all the inset edges.
bottom50Dodge the bottom inset edge.
end800005Dodge the end inset edge.
left3Dodge the left inset edge.
none0Don't dodge any edges
right5Dodge the right inset edge.
start800003Dodge the start inset edge.
top30Dodge the top inset edge.
+ * + * @attr name reparto_mazapa.keymon.lat:layout_dodgeInsetEdges + */ + public static final int CoordinatorLayout_Layout_layout_dodgeInsetEdges=4; + /** + *

+ * @attr description + * Specifies how this view insets the CoordinatorLayout and make some other views + * dodge it. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
bottom50Inset the bottom edge.
end800005Inset the end edge.
left3Inset the left edge.
none0Don't inset.
right5Inset the right edge.
start800003Inset the start edge.
top30Inset the top edge.
+ * + * @attr name reparto_mazapa.keymon.lat:layout_insetEdge + */ + public static final int CoordinatorLayout_Layout_layout_insetEdge=5; + /** + *

+ * @attr description + * The index of a keyline this view should position relative to. + * android:layout_gravity will affect how the view aligns to the + * specified keyline. + * + *

May be an integer value, such as "100". + * + * @attr name reparto_mazapa.keymon.lat:layout_keyline + */ + public static final int CoordinatorLayout_Layout_layout_keyline=6; + /** + * Attributes that can be used with a DrawerLayout. + *

Includes the following attributes:

+ * + * + * + * + * + *
AttributeDescription
{@link #DrawerLayout_elevation reparto_mazapa.keymon.lat:elevation}
+ * @see #DrawerLayout_elevation + */ + public static final int[] DrawerLayout={ + 0x7f02000e + }; + /** + *

+ * @attr description + * The height difference between the drawer and the base surface. Only takes effect on API 21 and above + * + *

May be a dimension value, which is a floating point number appended with a + * unit such as "14.5sp". + * Available units are: px (pixels), dp (density-independent pixels), + * sp (scaled pixels based on preferred font size), in (inches), and + * mm (millimeters). + * + * @attr name reparto_mazapa.keymon.lat:elevation + */ + public static final int DrawerLayout_elevation=0; + /** + * Attributes that can be used with a FontFamily. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #FontFamily_fontProviderAuthority reparto_mazapa.keymon.lat:fontProviderAuthority}The authority of the Font Provider to be used for the request.
{@link #FontFamily_fontProviderCerts reparto_mazapa.keymon.lat:fontProviderCerts}The sets of hashes for the certificates the provider should be signed with.
{@link #FontFamily_fontProviderFetchStrategy reparto_mazapa.keymon.lat:fontProviderFetchStrategy}The strategy to be used when fetching font data from a font provider in XML layouts.
{@link #FontFamily_fontProviderFetchTimeout reparto_mazapa.keymon.lat:fontProviderFetchTimeout}The length of the timeout during fetching.
{@link #FontFamily_fontProviderPackage reparto_mazapa.keymon.lat:fontProviderPackage}The package for the Font Provider to be used for the request.
{@link #FontFamily_fontProviderQuery reparto_mazapa.keymon.lat:fontProviderQuery}The query to be sent over to the provider.
+ * @see #FontFamily_fontProviderAuthority + * @see #FontFamily_fontProviderCerts + * @see #FontFamily_fontProviderFetchStrategy + * @see #FontFamily_fontProviderFetchTimeout + * @see #FontFamily_fontProviderPackage + * @see #FontFamily_fontProviderQuery + */ + public static final int[] FontFamily={ + 0x7f020010, 0x7f020011, 0x7f020012, 0x7f020013, + 0x7f020014, 0x7f020015 + }; + /** + *

+ * @attr description + * The authority of the Font Provider to be used for the request. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_mazapa.keymon.lat:fontProviderAuthority + */ + public static final int FontFamily_fontProviderAuthority=0; + /** + *

+ * @attr description + * The sets of hashes for the certificates the provider should be signed with. This is + * used to verify the identity of the provider, and is only required if the provider is not + * part of the system image. This value may point to one list or a list of lists, where each + * individual list represents one collection of signature hashes. Refer to your font provider's + * documentation for these values. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name reparto_mazapa.keymon.lat:fontProviderCerts + */ + public static final int FontFamily_fontProviderCerts=1; + /** + *

+ * @attr description + * The strategy to be used when fetching font data from a font provider in XML layouts. + * This attribute is ignored when the resource is loaded from code, as it is equivalent to the + * choice of API between {@link + * androidx.core.content.res.ResourcesCompat#getFont(Context, int)} (blocking) and + * {@link + * androidx.core.content.res.ResourcesCompat#getFont(Context, int, FontCallback, Handler)} + * (async). + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + *
ConstantValueDescription
async1The async font fetch works as follows. + * First, check the local cache, then if the requeted font is not cached, trigger a + * request the font and continue with layout inflation. Once the font fetch succeeds, the + * target text view will be refreshed with the downloaded font data. The + * fontProviderFetchTimeout will be ignored if async loading is specified.
blocking0The blocking font fetch works as follows. + * First, check the local cache, then if the requested font is not cached, request the + * font from the provider and wait until it is finished. You can change the length of + * the timeout by modifying fontProviderFetchTimeout. If the timeout happens, the + * default typeface will be used instead.
+ * + * @attr name reparto_mazapa.keymon.lat:fontProviderFetchStrategy + */ + public static final int FontFamily_fontProviderFetchStrategy=2; + /** + *

+ * @attr description + * The length of the timeout during fetching. + * + *

May be an integer value, such as "100". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + *
ConstantValueDescription
foreverffffffffA special value for the timeout. In this case, the blocking font fetching will not + * timeout and wait until a reply is received from the font provider.
+ * + * @attr name reparto_mazapa.keymon.lat:fontProviderFetchTimeout + */ + public static final int FontFamily_fontProviderFetchTimeout=3; + /** + *

+ * @attr description + * The package for the Font Provider to be used for the request. This is used to verify + * the identity of the provider. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_mazapa.keymon.lat:fontProviderPackage + */ + public static final int FontFamily_fontProviderPackage=4; + /** + *

+ * @attr description + * The query to be sent over to the provider. Refer to your font provider's documentation + * on the format of this string. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_mazapa.keymon.lat:fontProviderQuery + */ + public static final int FontFamily_fontProviderQuery=5; + /** + * Attributes that can be used with a FontFamilyFont. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #FontFamilyFont_android_font android:font}
{@link #FontFamilyFont_android_fontWeight android:fontWeight}
{@link #FontFamilyFont_android_fontStyle android:fontStyle}
{@link #FontFamilyFont_android_ttcIndex android:ttcIndex}
{@link #FontFamilyFont_android_fontVariationSettings android:fontVariationSettings}
{@link #FontFamilyFont_font reparto_mazapa.keymon.lat:font}The reference to the font file to be used.
{@link #FontFamilyFont_fontStyle reparto_mazapa.keymon.lat:fontStyle}The style of the given font file.
{@link #FontFamilyFont_fontVariationSettings reparto_mazapa.keymon.lat:fontVariationSettings}The variation settings to be applied to the font.
{@link #FontFamilyFont_fontWeight reparto_mazapa.keymon.lat:fontWeight}The weight of the given font file.
{@link #FontFamilyFont_ttcIndex reparto_mazapa.keymon.lat:ttcIndex}The index of the font in the tcc font file.
+ * @see #FontFamilyFont_android_font + * @see #FontFamilyFont_android_fontWeight + * @see #FontFamilyFont_android_fontStyle + * @see #FontFamilyFont_android_ttcIndex + * @see #FontFamilyFont_android_fontVariationSettings + * @see #FontFamilyFont_font + * @see #FontFamilyFont_fontStyle + * @see #FontFamilyFont_fontVariationSettings + * @see #FontFamilyFont_fontWeight + * @see #FontFamilyFont_ttcIndex + */ + public static final int[] FontFamilyFont={ + 0x01010532, 0x01010533, 0x0101053f, 0x0101056f, + 0x01010570, 0x7f02000f, 0x7f020016, 0x7f020017, + 0x7f020018, 0x7f02002b + }; + /** + *

This symbol is the offset where the {@link android.R.attr#font} + * attribute's value can be found in the {@link #FontFamilyFont} array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name android:font + */ + public static final int FontFamilyFont_android_font=0; + /** + *

This symbol is the offset where the {@link android.R.attr#fontWeight} + * attribute's value can be found in the {@link #FontFamilyFont} array. + * + *

May be an integer value, such as "100". + * + * @attr name android:fontWeight + */ + public static final int FontFamilyFont_android_fontWeight=1; + /** + *

+ * @attr description + * References to the framework attrs + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + *
ConstantValueDescription
italic1
normal0
+ * + * @attr name android:fontStyle + */ + public static final int FontFamilyFont_android_fontStyle=2; + /** + *

This symbol is the offset where the {@link android.R.attr#ttcIndex} + * attribute's value can be found in the {@link #FontFamilyFont} array. + * + *

May be an integer value, such as "100". + * + * @attr name android:ttcIndex + */ + public static final int FontFamilyFont_android_ttcIndex=3; + /** + *

This symbol is the offset where the {@link android.R.attr#fontVariationSettings} + * attribute's value can be found in the {@link #FontFamilyFont} array. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name android:fontVariationSettings + */ + public static final int FontFamilyFont_android_fontVariationSettings=4; + /** + *

+ * @attr description + * The reference to the font file to be used. This should be a file in the res/font folder + * and should therefore have an R reference value. E.g. @font/myfont + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name reparto_mazapa.keymon.lat:font + */ + public static final int FontFamilyFont_font=5; + /** + *

+ * @attr description + * The style of the given font file. This will be used when the font is being loaded into + * the font stack and will override any style information in the font's header tables. If + * unspecified, the value in the font's header tables will be used. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + *
ConstantValueDescription
italic1
normal0
+ * + * @attr name reparto_mazapa.keymon.lat:fontStyle + */ + public static final int FontFamilyFont_fontStyle=6; + /** + *

+ * @attr description + * The variation settings to be applied to the font. The string should be in the following + * format: "'tag1' value1, 'tag2' value2, ...". If the default variation settings should be + * used, or the font used does not support variation settings, this attribute needs not be + * specified. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_mazapa.keymon.lat:fontVariationSettings + */ + public static final int FontFamilyFont_fontVariationSettings=7; + /** + *

+ * @attr description + * The weight of the given font file. This will be used when the font is being loaded into + * the font stack and will override any weight information in the font's header tables. Must + * be a positive number, a multiple of 100, and between 100 and 900, inclusive. The most + * common values are 400 for regular weight and 700 for bold weight. If unspecified, the value + * in the font's header tables will be used. + * + *

May be an integer value, such as "100". + * + * @attr name reparto_mazapa.keymon.lat:fontWeight + */ + public static final int FontFamilyFont_fontWeight=8; + /** + *

+ * @attr description + * The index of the font in the tcc font file. If the font file referenced is not in the + * tcc format, this attribute needs not be specified. + * + *

May be an integer value, such as "100". + * + * @attr name reparto_mazapa.keymon.lat:ttcIndex + */ + public static final int FontFamilyFont_ttcIndex=9; + /** + * Attributes that can be used with a Fragment. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + *
AttributeDescription
{@link #Fragment_android_name android:name}
{@link #Fragment_android_id android:id}
{@link #Fragment_android_tag android:tag}
+ * @see #Fragment_android_name + * @see #Fragment_android_id + * @see #Fragment_android_tag + */ + public static final int[] Fragment={ + 0x01010003, 0x010100d0, 0x010100d1 + }; + /** + *

This symbol is the offset where the {@link android.R.attr#name} + * attribute's value can be found in the {@link #Fragment} array. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name android:name + */ + public static final int Fragment_android_name=0; + /** + *

This symbol is the offset where the {@link android.R.attr#id} + * attribute's value can be found in the {@link #Fragment} array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + * + * @attr name android:id + */ + public static final int Fragment_android_id=1; + /** + *

This symbol is the offset where the {@link android.R.attr#tag} + * attribute's value can be found in the {@link #Fragment} array. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name android:tag + */ + public static final int Fragment_android_tag=2; + /** + * Attributes that can be used with a FragmentContainerView. + *

Includes the following attributes:

+ * + * + * + * + * + * + *
AttributeDescription
{@link #FragmentContainerView_android_name android:name}
{@link #FragmentContainerView_android_tag android:tag}
+ * @see #FragmentContainerView_android_name + * @see #FragmentContainerView_android_tag + */ + public static final int[] FragmentContainerView={ + 0x01010003, 0x010100d1 + }; + /** + *

This symbol is the offset where the {@link android.R.attr#name} + * attribute's value can be found in the {@link #FragmentContainerView} array. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name android:name + */ + public static final int FragmentContainerView_android_name=0; + /** + *

This symbol is the offset where the {@link android.R.attr#tag} + * attribute's value can be found in the {@link #FragmentContainerView} array. + * + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name android:tag + */ + public static final int FragmentContainerView_android_tag=1; + /** + * Attributes that can be used with a GradientColor. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #GradientColor_android_startColor android:startColor}
{@link #GradientColor_android_endColor android:endColor}
{@link #GradientColor_android_type android:type}
{@link #GradientColor_android_centerX android:centerX}
{@link #GradientColor_android_centerY android:centerY}
{@link #GradientColor_android_gradientRadius android:gradientRadius}
{@link #GradientColor_android_tileMode android:tileMode}
{@link #GradientColor_android_centerColor android:centerColor}
{@link #GradientColor_android_startX android:startX}
{@link #GradientColor_android_startY android:startY}
{@link #GradientColor_android_endX android:endX}
{@link #GradientColor_android_endY android:endY}
+ * @see #GradientColor_android_startColor + * @see #GradientColor_android_endColor + * @see #GradientColor_android_type + * @see #GradientColor_android_centerX + * @see #GradientColor_android_centerY + * @see #GradientColor_android_gradientRadius + * @see #GradientColor_android_tileMode + * @see #GradientColor_android_centerColor + * @see #GradientColor_android_startX + * @see #GradientColor_android_startY + * @see #GradientColor_android_endX + * @see #GradientColor_android_endY + */ + public static final int[] GradientColor={ + 0x0101019d, 0x0101019e, 0x010101a1, 0x010101a2, + 0x010101a3, 0x010101a4, 0x01010201, 0x0101020b, + 0x01010510, 0x01010511, 0x01010512, 0x01010513 + }; + /** + *

+ * @attr description + * Start color of the gradient. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name android:startColor + */ + public static final int GradientColor_android_startColor=0; + /** + *

+ * @attr description + * End color of the gradient. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name android:endColor + */ + public static final int GradientColor_android_endColor=1; + /** + *

+ * @attr description + * Type of gradient. The default type is linear. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
linear0
radial1
sweep2
+ * + * @attr name android:type + */ + public static final int GradientColor_android_type=2; + /** + *

+ * @attr description + * X coordinate of the center of the gradient within the path. + * + *

May be a floating point value, such as "1.2". + *

May be a fractional value, which is a floating point number appended with + * either % or %p, such as "14.5%". + * The % suffix always means a percentage of the base size; + * the optional %p suffix provides a size relative to some parent container. + * + * @attr name android:centerX + */ + public static final int GradientColor_android_centerX=3; + /** + *

+ * @attr description + * Y coordinate of the center of the gradient within the path. + * + *

May be a floating point value, such as "1.2". + *

May be a fractional value, which is a floating point number appended with + * either % or %p, such as "14.5%". + * The % suffix always means a percentage of the base size; + * the optional %p suffix provides a size relative to some parent container. + * + * @attr name android:centerY + */ + public static final int GradientColor_android_centerY=4; + /** + *

+ * @attr description + * Radius of the gradient, used only with radial gradient. + * + *

May be a floating point value, such as "1.2". + *

May be a dimension value, which is a floating point number appended with a + * unit such as "14.5sp". + * Available units are: px (pixels), dp (density-independent pixels), + * sp (scaled pixels based on preferred font size), in (inches), and + * mm (millimeters). + *

May be a fractional value, which is a floating point number appended with + * either % or %p, such as "14.5%". + * The % suffix always means a percentage of the base size; + * the optional %p suffix provides a size relative to some parent container. + * + * @attr name android:gradientRadius + */ + public static final int GradientColor_android_gradientRadius=5; + /** + *

+ * @attr description + * Defines the tile mode of the gradient. SweepGradient doesn't support tiling. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
clamp0
disabledffffffff
mirror2
repeat1
+ * + * @attr name android:tileMode + */ + public static final int GradientColor_android_tileMode=6; + /** + *

+ * @attr description + * Optional center color. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name android:centerColor + */ + public static final int GradientColor_android_centerColor=7; + /** + *

+ * @attr description + * X coordinate of the start point origin of the gradient. + * Defined in same coordinates as the path itself + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:startX + */ + public static final int GradientColor_android_startX=8; + /** + *

+ * @attr description + * Y coordinate of the start point of the gradient within the shape. + * Defined in same coordinates as the path itself + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:startY + */ + public static final int GradientColor_android_startY=9; + /** + *

+ * @attr description + * X coordinate of the end point origin of the gradient. + * Defined in same coordinates as the path itself + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:endX + */ + public static final int GradientColor_android_endX=10; + /** + *

+ * @attr description + * Y coordinate of the end point of the gradient within the shape. + * Defined in same coordinates as the path itself + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:endY + */ + public static final int GradientColor_android_endY=11; + /** + * Attributes that can be used with a GradientColorItem. + *

Includes the following attributes:

+ * + * + * + * + * + * + *
AttributeDescription
{@link #GradientColorItem_android_color android:color}
{@link #GradientColorItem_android_offset android:offset}
+ * @see #GradientColorItem_android_color + * @see #GradientColorItem_android_offset + */ + public static final int[] GradientColorItem={ + 0x010101a5, 0x01010514 + }; + /** + *

+ * @attr description + * The current color for the offset inside the gradient. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name android:color + */ + public static final int GradientColorItem_android_color=0; + /** + *

+ * @attr description + * The offset (or ratio) of this current color item inside the gradient. + * The value is only meaningful when it is between 0 and 1. + * + *

May be a floating point value, such as "1.2". + * + * @attr name android:offset + */ + public static final int GradientColorItem_android_offset=1; + /** + * Attributes that can be used with a LoadingImageView. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + *
AttributeDescription
{@link #LoadingImageView_circleCrop reparto_mazapa.keymon.lat:circleCrop}
{@link #LoadingImageView_imageAspectRatio reparto_mazapa.keymon.lat:imageAspectRatio}
{@link #LoadingImageView_imageAspectRatioAdjust reparto_mazapa.keymon.lat:imageAspectRatioAdjust}
+ * @see #LoadingImageView_circleCrop + * @see #LoadingImageView_imageAspectRatio + * @see #LoadingImageView_imageAspectRatioAdjust + */ + public static final int[] LoadingImageView={ + 0x7f02000a, 0x7f020019, 0x7f02001a + }; + /** + *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.R.attr#circleCrop} + * attribute's value can be found in the {@link #LoadingImageView} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_mazapa.keymon.lat:circleCrop + */ + public static final int LoadingImageView_circleCrop=0; + /** + *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.R.attr#imageAspectRatio} + * attribute's value can be found in the {@link #LoadingImageView} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_mazapa.keymon.lat:imageAspectRatio + */ + public static final int LoadingImageView_imageAspectRatio=1; + /** + *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.R.attr#imageAspectRatioAdjust} + * attribute's value can be found in the {@link #LoadingImageView} array. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
adjust_height2
adjust_width1
none0
+ * + * @attr name reparto_mazapa.keymon.lat:imageAspectRatioAdjust + */ + public static final int LoadingImageView_imageAspectRatioAdjust=2; + /** + * Attributes that can be used with a MapAttrs. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #MapAttrs_ambientEnabled reparto_mazapa.keymon.lat:ambientEnabled}
{@link #MapAttrs_cameraBearing reparto_mazapa.keymon.lat:cameraBearing}
{@link #MapAttrs_cameraMaxZoomPreference reparto_mazapa.keymon.lat:cameraMaxZoomPreference}
{@link #MapAttrs_cameraMinZoomPreference reparto_mazapa.keymon.lat:cameraMinZoomPreference}
{@link #MapAttrs_cameraTargetLat reparto_mazapa.keymon.lat:cameraTargetLat}
{@link #MapAttrs_cameraTargetLng reparto_mazapa.keymon.lat:cameraTargetLng}
{@link #MapAttrs_cameraTilt reparto_mazapa.keymon.lat:cameraTilt}
{@link #MapAttrs_cameraZoom reparto_mazapa.keymon.lat:cameraZoom}
{@link #MapAttrs_latLngBoundsNorthEastLatitude reparto_mazapa.keymon.lat:latLngBoundsNorthEastLatitude}
{@link #MapAttrs_latLngBoundsNorthEastLongitude reparto_mazapa.keymon.lat:latLngBoundsNorthEastLongitude}
{@link #MapAttrs_latLngBoundsSouthWestLatitude reparto_mazapa.keymon.lat:latLngBoundsSouthWestLatitude}
{@link #MapAttrs_latLngBoundsSouthWestLongitude reparto_mazapa.keymon.lat:latLngBoundsSouthWestLongitude}
{@link #MapAttrs_liteMode reparto_mazapa.keymon.lat:liteMode}
{@link #MapAttrs_mapType reparto_mazapa.keymon.lat:mapType}
{@link #MapAttrs_uiCompass reparto_mazapa.keymon.lat:uiCompass}
{@link #MapAttrs_uiMapToolbar reparto_mazapa.keymon.lat:uiMapToolbar}
{@link #MapAttrs_uiRotateGestures reparto_mazapa.keymon.lat:uiRotateGestures}
{@link #MapAttrs_uiScrollGestures reparto_mazapa.keymon.lat:uiScrollGestures}
{@link #MapAttrs_uiScrollGesturesDuringRotateOrZoom reparto_mazapa.keymon.lat:uiScrollGesturesDuringRotateOrZoom}
{@link #MapAttrs_uiTiltGestures reparto_mazapa.keymon.lat:uiTiltGestures}
{@link #MapAttrs_uiZoomControls reparto_mazapa.keymon.lat:uiZoomControls}
{@link #MapAttrs_uiZoomGestures reparto_mazapa.keymon.lat:uiZoomGestures}
{@link #MapAttrs_useViewLifecycle reparto_mazapa.keymon.lat:useViewLifecycle}
{@link #MapAttrs_zOrderOnTop reparto_mazapa.keymon.lat:zOrderOnTop}
+ * @see #MapAttrs_ambientEnabled + * @see #MapAttrs_cameraBearing + * @see #MapAttrs_cameraMaxZoomPreference + * @see #MapAttrs_cameraMinZoomPreference + * @see #MapAttrs_cameraTargetLat + * @see #MapAttrs_cameraTargetLng + * @see #MapAttrs_cameraTilt + * @see #MapAttrs_cameraZoom + * @see #MapAttrs_latLngBoundsNorthEastLatitude + * @see #MapAttrs_latLngBoundsNorthEastLongitude + * @see #MapAttrs_latLngBoundsSouthWestLatitude + * @see #MapAttrs_latLngBoundsSouthWestLongitude + * @see #MapAttrs_liteMode + * @see #MapAttrs_mapType + * @see #MapAttrs_uiCompass + * @see #MapAttrs_uiMapToolbar + * @see #MapAttrs_uiRotateGestures + * @see #MapAttrs_uiScrollGestures + * @see #MapAttrs_uiScrollGesturesDuringRotateOrZoom + * @see #MapAttrs_uiTiltGestures + * @see #MapAttrs_uiZoomControls + * @see #MapAttrs_uiZoomGestures + * @see #MapAttrs_useViewLifecycle + * @see #MapAttrs_zOrderOnTop + */ + public static final int[] MapAttrs={ + 0x7f020001, 0x7f020003, 0x7f020004, 0x7f020005, + 0x7f020006, 0x7f020007, 0x7f020008, 0x7f020009, + 0x7f02001c, 0x7f02001d, 0x7f02001e, 0x7f02001f, + 0x7f020026, 0x7f020027, 0x7f02002c, 0x7f02002d, + 0x7f02002e, 0x7f02002f, 0x7f020030, 0x7f020031, + 0x7f020032, 0x7f020033, 0x7f020034, 0x7f020035 + }; + /** + *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.R.attr#ambientEnabled} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_mazapa.keymon.lat:ambientEnabled + */ + public static final int MapAttrs_ambientEnabled=0; + /** + *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.R.attr#cameraBearing} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_mazapa.keymon.lat:cameraBearing + */ + public static final int MapAttrs_cameraBearing=1; + /** + *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.R.attr#cameraMaxZoomPreference} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_mazapa.keymon.lat:cameraMaxZoomPreference + */ + public static final int MapAttrs_cameraMaxZoomPreference=2; + /** + *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.R.attr#cameraMinZoomPreference} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_mazapa.keymon.lat:cameraMinZoomPreference + */ + public static final int MapAttrs_cameraMinZoomPreference=3; + /** + *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.R.attr#cameraTargetLat} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_mazapa.keymon.lat:cameraTargetLat + */ + public static final int MapAttrs_cameraTargetLat=4; + /** + *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.R.attr#cameraTargetLng} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_mazapa.keymon.lat:cameraTargetLng + */ + public static final int MapAttrs_cameraTargetLng=5; + /** + *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.R.attr#cameraTilt} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_mazapa.keymon.lat:cameraTilt + */ + public static final int MapAttrs_cameraTilt=6; + /** + *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.R.attr#cameraZoom} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_mazapa.keymon.lat:cameraZoom + */ + public static final int MapAttrs_cameraZoom=7; + /** + *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.R.attr#latLngBoundsNorthEastLatitude} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_mazapa.keymon.lat:latLngBoundsNorthEastLatitude + */ + public static final int MapAttrs_latLngBoundsNorthEastLatitude=8; + /** + *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.R.attr#latLngBoundsNorthEastLongitude} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_mazapa.keymon.lat:latLngBoundsNorthEastLongitude + */ + public static final int MapAttrs_latLngBoundsNorthEastLongitude=9; + /** + *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.R.attr#latLngBoundsSouthWestLatitude} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_mazapa.keymon.lat:latLngBoundsSouthWestLatitude + */ + public static final int MapAttrs_latLngBoundsSouthWestLatitude=10; + /** + *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.R.attr#latLngBoundsSouthWestLongitude} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a floating point value, such as "1.2". + * + * @attr name reparto_mazapa.keymon.lat:latLngBoundsSouthWestLongitude + */ + public static final int MapAttrs_latLngBoundsSouthWestLongitude=11; + /** + *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.R.attr#liteMode} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_mazapa.keymon.lat:liteMode + */ + public static final int MapAttrs_liteMode=12; + /** + *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.R.attr#mapType} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + * + * + *
ConstantValueDescription
hybrid4
none0
normal1
satellite2
terrain3
+ * + * @attr name reparto_mazapa.keymon.lat:mapType + */ + public static final int MapAttrs_mapType=13; + /** + *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.R.attr#uiCompass} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_mazapa.keymon.lat:uiCompass + */ + public static final int MapAttrs_uiCompass=14; + /** + *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.R.attr#uiMapToolbar} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_mazapa.keymon.lat:uiMapToolbar + */ + public static final int MapAttrs_uiMapToolbar=15; + /** + *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.R.attr#uiRotateGestures} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_mazapa.keymon.lat:uiRotateGestures + */ + public static final int MapAttrs_uiRotateGestures=16; + /** + *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.R.attr#uiScrollGestures} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_mazapa.keymon.lat:uiScrollGestures + */ + public static final int MapAttrs_uiScrollGestures=17; + /** + *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.R.attr#uiScrollGesturesDuringRotateOrZoom} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_mazapa.keymon.lat:uiScrollGesturesDuringRotateOrZoom + */ + public static final int MapAttrs_uiScrollGesturesDuringRotateOrZoom=18; + /** + *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.R.attr#uiTiltGestures} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_mazapa.keymon.lat:uiTiltGestures + */ + public static final int MapAttrs_uiTiltGestures=19; + /** + *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.R.attr#uiZoomControls} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_mazapa.keymon.lat:uiZoomControls + */ + public static final int MapAttrs_uiZoomControls=20; + /** + *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.R.attr#uiZoomGestures} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_mazapa.keymon.lat:uiZoomGestures + */ + public static final int MapAttrs_uiZoomGestures=21; + /** + *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.R.attr#useViewLifecycle} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_mazapa.keymon.lat:useViewLifecycle + */ + public static final int MapAttrs_useViewLifecycle=22; + /** + *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.R.attr#zOrderOnTop} + * attribute's value can be found in the {@link #MapAttrs} array. + * + *

May be a boolean value, such as "true" or + * "false". + * + * @attr name reparto_mazapa.keymon.lat:zOrderOnTop + */ + public static final int MapAttrs_zOrderOnTop=23; + /** + * Attributes that can be used with a SignInButton. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + *
AttributeDescription
{@link #SignInButton_buttonSize reparto_mazapa.keymon.lat:buttonSize}
{@link #SignInButton_colorScheme reparto_mazapa.keymon.lat:colorScheme}
{@link #SignInButton_scopeUris reparto_mazapa.keymon.lat:scopeUris}
+ * @see #SignInButton_buttonSize + * @see #SignInButton_colorScheme + * @see #SignInButton_scopeUris + */ + public static final int[] SignInButton={ + 0x7f020002, 0x7f02000b, 0x7f020028 + }; + /** + *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.R.attr#buttonSize} + * attribute's value can be found in the {@link #SignInButton} array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
icon_only2
standard0
wide1
+ * + * @attr name reparto_mazapa.keymon.lat:buttonSize + */ + public static final int SignInButton_buttonSize=0; + /** + *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.R.attr#colorScheme} + * attribute's value can be found in the {@link #SignInButton} array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

Must be one of the following constant values.

+ * + * + * + * + * + * + * + * + *
ConstantValueDescription
auto2
dark0
light1
+ * + * @attr name reparto_mazapa.keymon.lat:colorScheme + */ + public static final int SignInButton_colorScheme=1; + /** + *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.R.attr#scopeUris} + * attribute's value can be found in the {@link #SignInButton} array. + * + *

May be a reference to another resource, in the form + * "@[+][package:]type/name" or a theme + * attribute in the form + * "?[package:]type/name". + *

May be a string value, using '\\;' to escape characters such as + * '\\n' or '\\uxxxx' for a unicode character; + * + * @attr name reparto_mazapa.keymon.lat:scopeUris + */ + public static final int SignInButton_scopeUris=2; + /** + * Attributes that can be used with a SwipeRefreshLayout. + *

Includes the following attributes:

+ * + * + * + * + * + *
AttributeDescription
{@link #SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor reparto_mazapa.keymon.lat:swipeRefreshLayoutProgressSpinnerBackgroundColor}Background color for SwipeRefreshLayout progress spinner.
+ * @see #SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor + */ + public static final int[] SwipeRefreshLayout={ + 0x7f02002a + }; + /** + *

+ * @attr description + * Background color for SwipeRefreshLayout progress spinner. + * + *

May be a color value, in the form of "#rgb", + * "#argb", "#rrggbb", or + * "#aarrggbb". + * + * @attr name reparto_mazapa.keymon.lat:swipeRefreshLayoutProgressSpinnerBackgroundColor + */ + public static final int SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor=0; + } + public static final class xml { + public static final int provider_paths=0x7f0c0000; + } +} \ No newline at end of file diff --git a/B4A/Objects/res/drawable/icon.jpg b/B4A/Objects/res/drawable/icon.jpg new file mode 100644 index 0000000..2ed8649 Binary files /dev/null and b/B4A/Objects/res/drawable/icon.jpg differ diff --git a/B4A/Objects/res/values-v14/theme.xml b/B4A/Objects/res/values-v14/theme.xml new file mode 100644 index 0000000..dce838a --- /dev/null +++ b/B4A/Objects/res/values-v14/theme.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/B4A/Objects/res/values-v20/theme.xml b/B4A/Objects/res/values-v20/theme.xml new file mode 100644 index 0000000..2d18e78 --- /dev/null +++ b/B4A/Objects/res/values-v20/theme.xml @@ -0,0 +1,10 @@ + + + + + \ No newline at end of file diff --git a/B4A/Objects/res/xml/provider_paths b/B4A/Objects/res/xml/provider_paths new file mode 100644 index 0000000..e6f0871 --- /dev/null +++ b/B4A/Objects/res/xml/provider_paths @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/animatedcounter.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/animatedcounter.class new file mode 100644 index 0000000..e119bc4 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/animatedcounter.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/animatedcounter_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/animatedcounter_subs_0.class new file mode 100644 index 0000000..ebf9421 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/animatedcounter_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/anotherprogressbar.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/anotherprogressbar.class new file mode 100644 index 0000000..b1c0f25 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/anotherprogressbar.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/anotherprogressbar_subs_0$ResumableSub_BusyLoop.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/anotherprogressbar_subs_0$ResumableSub_BusyLoop.class new file mode 100644 index 0000000..c97fadc Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/anotherprogressbar_subs_0$ResumableSub_BusyLoop.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/anotherprogressbar_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/anotherprogressbar_subs_0.class new file mode 100644 index 0000000..4832b22 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/anotherprogressbar_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/appupdater.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/appupdater.class new file mode 100644 index 0000000..7a6de3d Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/appupdater.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/appupdater_subs_0$ResumableSub_Service_Start.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/appupdater_subs_0$ResumableSub_Service_Start.class new file mode 100644 index 0000000..1de824e Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/appupdater_subs_0$ResumableSub_Service_Start.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/appupdater_subs_0$ResumableSub_download_newApk.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/appupdater_subs_0$ResumableSub_download_newApk.class new file mode 100644 index 0000000..5723595 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/appupdater_subs_0$ResumableSub_download_newApk.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/appupdater_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/appupdater_subs_0.class new file mode 100644 index 0000000..24cfc13 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/appupdater_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xbitset.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xbitset.class new file mode 100644 index 0000000..0f3578e Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xbitset.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xbitset_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xbitset_subs_0.class new file mode 100644 index 0000000..a9d49b1 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xbitset_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xbreadcrumb.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xbreadcrumb.class new file mode 100644 index 0000000..8543399 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xbreadcrumb.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xbreadcrumb_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xbreadcrumb_subs_0.class new file mode 100644 index 0000000..d77fc9d Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xbreadcrumb_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xbytesbuilder.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xbytesbuilder.class new file mode 100644 index 0000000..ef59390 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xbytesbuilder.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xbytesbuilder_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xbytesbuilder_subs_0.class new file mode 100644 index 0000000..01dd073 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xbytesbuilder_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xcache.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xcache.class new file mode 100644 index 0000000..23c079c Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xcache.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xcache_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xcache_subs_0.class new file mode 100644 index 0000000..692f73e Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xcache_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xcollections.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xcollections.class new file mode 100644 index 0000000..9abe36f Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xcollections.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xcollections_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xcollections_subs_0.class new file mode 100644 index 0000000..047cda1 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xcollections_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xcolortemplate.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xcolortemplate.class new file mode 100644 index 0000000..0b993d9 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xcolortemplate.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xcolortemplate_subs_0$ResumableSub_Show.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xcolortemplate_subs_0$ResumableSub_Show.class new file mode 100644 index 0000000..f66ba37 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xcolortemplate_subs_0$ResumableSub_Show.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xcolortemplate_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xcolortemplate_subs_0.class new file mode 100644 index 0000000..fda8905 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xcolortemplate_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xcombobox.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xcombobox.class new file mode 100644 index 0000000..4497324 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xcombobox.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xcombobox_subs_0$ResumableSub_RaiseEvent.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xcombobox_subs_0$ResumableSub_RaiseEvent.class new file mode 100644 index 0000000..739b29e Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xcombobox_subs_0$ResumableSub_RaiseEvent.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xcombobox_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xcombobox_subs_0.class new file mode 100644 index 0000000..bd6b0e6 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xcombobox_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xcomparatorsort.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xcomparatorsort.class new file mode 100644 index 0000000..df3ab94 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xcomparatorsort.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xcomparatorsort_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xcomparatorsort_subs_0.class new file mode 100644 index 0000000..65d403b Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xcomparatorsort_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xdatetemplate.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xdatetemplate.class new file mode 100644 index 0000000..84ff38a Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xdatetemplate.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xdatetemplate_subs_0$ResumableSub_Show.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xdatetemplate_subs_0$ResumableSub_Show.class new file mode 100644 index 0000000..a767f9d Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xdatetemplate_subs_0$ResumableSub_Show.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xdatetemplate_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xdatetemplate_subs_0.class new file mode 100644 index 0000000..56f3845 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xdatetemplate_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xdialog.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xdialog.class new file mode 100644 index 0000000..5d561f3 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xdialog.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xdialog_subs_0$ResumableSub_Show.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xdialog_subs_0$ResumableSub_Show.class new file mode 100644 index 0000000..c7d45d7 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xdialog_subs_0$ResumableSub_Show.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xdialog_subs_0$ResumableSub_ShowCustom.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xdialog_subs_0$ResumableSub_ShowCustom.class new file mode 100644 index 0000000..2d4029b Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xdialog_subs_0$ResumableSub_ShowCustom.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xdialog_subs_0$ResumableSub_ShowTemplate.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xdialog_subs_0$ResumableSub_ShowTemplate.class new file mode 100644 index 0000000..03dc442 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xdialog_subs_0$ResumableSub_ShowTemplate.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xdialog_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xdialog_subs_0.class new file mode 100644 index 0000000..2cb4684 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xdialog_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xfloattextfield.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xfloattextfield.class new file mode 100644 index 0000000..aa2f1d4 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xfloattextfield.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xfloattextfield_subs_0$ResumableSub_SwitchFromPasswordToRegular.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xfloattextfield_subs_0$ResumableSub_SwitchFromPasswordToRegular.class new file mode 100644 index 0000000..ca47f42 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xfloattextfield_subs_0$ResumableSub_SwitchFromPasswordToRegular.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xfloattextfield_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xfloattextfield_subs_0.class new file mode 100644 index 0000000..8138dbc Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xfloattextfield_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xformatter.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xformatter.class new file mode 100644 index 0000000..114ae63 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xformatter.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xformatter_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xformatter_subs_0.class new file mode 100644 index 0000000..23c7eba Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xformatter_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4ximageview.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4ximageview.class new file mode 100644 index 0000000..6ea8d7b Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4ximageview.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4ximageview_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4ximageview_subs_0.class new file mode 100644 index 0000000..7067441 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4ximageview_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xinputtemplate.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xinputtemplate.class new file mode 100644 index 0000000..67ab1f0 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xinputtemplate.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xinputtemplate_subs_0$ResumableSub_Show.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xinputtemplate_subs_0$ResumableSub_Show.class new file mode 100644 index 0000000..f79f1ae Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xinputtemplate_subs_0$ResumableSub_Show.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xinputtemplate_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xinputtemplate_subs_0.class new file mode 100644 index 0000000..fb2dafc Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xinputtemplate_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xlisttemplate.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xlisttemplate.class new file mode 100644 index 0000000..3ecc903 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xlisttemplate.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xlisttemplate_subs_0$ResumableSub_Show.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xlisttemplate_subs_0$ResumableSub_Show.class new file mode 100644 index 0000000..d4e6341 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xlisttemplate_subs_0$ResumableSub_Show.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xlisttemplate_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xlisttemplate_subs_0.class new file mode 100644 index 0000000..2d27ed5 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xlisttemplate_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xloadingindicator.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xloadingindicator.class new file mode 100644 index 0000000..4b51954 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xloadingindicator.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xloadingindicator_subs_0$ResumableSub_MainLoop.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xloadingindicator_subs_0$ResumableSub_MainLoop.class new file mode 100644 index 0000000..a568fc3 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xloadingindicator_subs_0$ResumableSub_MainLoop.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xloadingindicator_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xloadingindicator_subs_0.class new file mode 100644 index 0000000..9222c02 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xloadingindicator_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xlongtexttemplate.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xlongtexttemplate.class new file mode 100644 index 0000000..d6c6b9d Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xlongtexttemplate.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xlongtexttemplate_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xlongtexttemplate_subs_0.class new file mode 100644 index 0000000..1ccb546 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xlongtexttemplate_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xmainpage.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xmainpage.class new file mode 100644 index 0000000..1b76c51 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xmainpage.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xmainpage_subs_0$ResumableSub_B4XPage_Appear.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xmainpage_subs_0$ResumableSub_B4XPage_Appear.class new file mode 100644 index 0000000..6759e64 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xmainpage_subs_0$ResumableSub_B4XPage_Appear.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xmainpage_subs_0$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xmainpage_subs_0$ResumableSub_B4XPage_CloseRequest.class new file mode 100644 index 0000000..e821845 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xmainpage_subs_0$ResumableSub_B4XPage_CloseRequest.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xmainpage_subs_0$ResumableSub_b_envioBD_Click.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xmainpage_subs_0$ResumableSub_b_envioBD_Click.class new file mode 100644 index 0000000..975b56e Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xmainpage_subs_0$ResumableSub_b_envioBD_Click.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xmainpage_subs_0$ResumableSub_b_terpc_Click.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xmainpage_subs_0$ResumableSub_b_terpc_Click.class new file mode 100644 index 0000000..a8c11f4 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xmainpage_subs_0$ResumableSub_b_terpc_Click.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xmainpage_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xmainpage_subs_0.class new file mode 100644 index 0000000..83807a4 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xmainpage_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xorderedmap.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xorderedmap.class new file mode 100644 index 0000000..0520900 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xorderedmap.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xorderedmap_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xorderedmap_subs_0.class new file mode 100644 index 0000000..19844d4 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xorderedmap_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xpages.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xpages.class new file mode 100644 index 0000000..65259ec Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xpages.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xpages_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xpages_subs_0.class new file mode 100644 index 0000000..5b2d349 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xpages_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xpagesdelegator.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xpagesdelegator.class new file mode 100644 index 0000000..0708eb7 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xpagesdelegator.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xpagesdelegator_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xpagesdelegator_subs_0.class new file mode 100644 index 0000000..bc446e0 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xpagesdelegator_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xpagesmanager.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xpagesmanager.class new file mode 100644 index 0000000..3606cb6 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xpagesmanager.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xpagesmanager_subs_0$ResumableSub_HandleCloseRequest.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xpagesmanager_subs_0$ResumableSub_HandleCloseRequest.class new file mode 100644 index 0000000..91253c6 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xpagesmanager_subs_0$ResumableSub_HandleCloseRequest.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xpagesmanager_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xpagesmanager_subs_0.class new file mode 100644 index 0000000..fcf18d8 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xpagesmanager_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xplusminus.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xplusminus.class new file mode 100644 index 0000000..09236d8 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xplusminus.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xplusminus_subs_0$ResumableSub_StartDownLoop.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xplusminus_subs_0$ResumableSub_StartDownLoop.class new file mode 100644 index 0000000..c2e58ae Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xplusminus_subs_0$ResumableSub_StartDownLoop.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xplusminus_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xplusminus_subs_0.class new file mode 100644 index 0000000..568923d Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xplusminus_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xradiobutton.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xradiobutton.class new file mode 100644 index 0000000..9e4803a Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xradiobutton.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xradiobutton_subs_0$ResumableSub_SetValueImpl.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xradiobutton_subs_0$ResumableSub_SetValueImpl.class new file mode 100644 index 0000000..0438e93 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xradiobutton_subs_0$ResumableSub_SetValueImpl.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xradiobutton_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xradiobutton_subs_0.class new file mode 100644 index 0000000..9fdc840 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xradiobutton_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xsearchtemplate.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xsearchtemplate.class new file mode 100644 index 0000000..d757af0 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xsearchtemplate.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xsearchtemplate_subs_0$ResumableSub_Show.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xsearchtemplate_subs_0$ResumableSub_Show.class new file mode 100644 index 0000000..69c7df8 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xsearchtemplate_subs_0$ResumableSub_Show.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xsearchtemplate_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xsearchtemplate_subs_0.class new file mode 100644 index 0000000..7e0fce3 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xsearchtemplate_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xseekbar.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xseekbar.class new file mode 100644 index 0000000..2d72e82 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xseekbar.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xseekbar_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xseekbar_subs_0.class new file mode 100644 index 0000000..9fd99de Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xseekbar_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xset.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xset.class new file mode 100644 index 0000000..8447327 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xset.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xset_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xset_subs_0.class new file mode 100644 index 0000000..3038a9f Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xset_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xsignaturetemplate.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xsignaturetemplate.class new file mode 100644 index 0000000..2ab5d5c Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xsignaturetemplate.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xsignaturetemplate_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xsignaturetemplate_subs_0.class new file mode 100644 index 0000000..844f0d0 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xsignaturetemplate_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xswitch.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xswitch.class new file mode 100644 index 0000000..d71a15a Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xswitch.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xswitch_subs_0$ResumableSub_SetValueImpl.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xswitch_subs_0$ResumableSub_SetValueImpl.class new file mode 100644 index 0000000..197ac34 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xswitch_subs_0$ResumableSub_SetValueImpl.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xswitch_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xswitch_subs_0.class new file mode 100644 index 0000000..d5ad0fe Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xswitch_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xtimedtemplate.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xtimedtemplate.class new file mode 100644 index 0000000..b39ecc7 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xtimedtemplate.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xtimedtemplate_subs_0$ResumableSub_Show.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xtimedtemplate_subs_0$ResumableSub_Show.class new file mode 100644 index 0000000..237be7a Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xtimedtemplate_subs_0$ResumableSub_Show.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xtimedtemplate_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xtimedtemplate_subs_0.class new file mode 100644 index 0000000..88e3685 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/b4xtimedtemplate_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/batteryutilities.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/batteryutilities.class new file mode 100644 index 0000000..1aa20cf Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/batteryutilities.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/batteryutilities_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/batteryutilities_subs_0.class new file mode 100644 index 0000000..b36ae9e Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/batteryutilities_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_buscar.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_buscar.class new file mode 100644 index 0000000..e0241db Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_buscar.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_buscar_subs_0$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_buscar_subs_0$ResumableSub_B4XPage_CloseRequest.class new file mode 100644 index 0000000..b71e865 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_buscar_subs_0$ResumableSub_B4XPage_CloseRequest.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_buscar_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_buscar_subs_0.class new file mode 100644 index 0000000..e588b6a Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_buscar_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_cheklist.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_cheklist.class new file mode 100644 index 0000000..3786fd6 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_cheklist.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_cheklist_subs_0$ResumableSub_B4XPage_Appear.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_cheklist_subs_0$ResumableSub_B4XPage_Appear.class new file mode 100644 index 0000000..3157b1d Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_cheklist_subs_0$ResumableSub_B4XPage_Appear.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_cheklist_subs_0$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_cheklist_subs_0$ResumableSub_B4XPage_CloseRequest.class new file mode 100644 index 0000000..aea3e84 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_cheklist_subs_0$ResumableSub_B4XPage_CloseRequest.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_cheklist_subs_0$ResumableSub_InitializeCamera2.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_cheklist_subs_0$ResumableSub_InitializeCamera2.class new file mode 100644 index 0000000..9f7ae5c Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_cheklist_subs_0$ResumableSub_InitializeCamera2.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_cheklist_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_cheklist_subs_0.class new file mode 100644 index 0000000..aa58a0b Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_cheklist_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_cliente.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_cliente.class new file mode 100644 index 0000000..eb6ed91 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_cliente.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_cliente_subs_0$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_cliente_subs_0$ResumableSub_B4XPage_CloseRequest.class new file mode 100644 index 0000000..821567a Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_cliente_subs_0$ResumableSub_B4XPage_CloseRequest.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_cliente_subs_0$ResumableSub_B_IMP2_Click.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_cliente_subs_0$ResumableSub_B_IMP2_Click.class new file mode 100644 index 0000000..0ed22d3 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_cliente_subs_0$ResumableSub_B_IMP2_Click.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_cliente_subs_0$ResumableSub_B_IMP_Click.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_cliente_subs_0$ResumableSub_B_IMP_Click.class new file mode 100644 index 0000000..ad85733 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_cliente_subs_0$ResumableSub_B_IMP_Click.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_cliente_subs_0$ResumableSub_HIST_Click.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_cliente_subs_0$ResumableSub_HIST_Click.class new file mode 100644 index 0000000..d088ddf Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_cliente_subs_0$ResumableSub_HIST_Click.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_cliente_subs_0$ResumableSub_b_abono_Click.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_cliente_subs_0$ResumableSub_b_abono_Click.class new file mode 100644 index 0000000..a430038 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_cliente_subs_0$ResumableSub_b_abono_Click.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_cliente_subs_0$ResumableSub_gest_Click.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_cliente_subs_0$ResumableSub_gest_Click.class new file mode 100644 index 0000000..addbfd9 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_cliente_subs_0$ResumableSub_gest_Click.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_cliente_subs_0$ResumableSub_imprime_abonopagare.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_cliente_subs_0$ResumableSub_imprime_abonopagare.class new file mode 100644 index 0000000..6084050 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_cliente_subs_0$ResumableSub_imprime_abonopagare.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_cliente_subs_0$ResumableSub_imprime_pagare.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_cliente_subs_0$ResumableSub_imprime_pagare.class new file mode 100644 index 0000000..41d68e2 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_cliente_subs_0$ResumableSub_imprime_pagare.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_cliente_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_cliente_subs_0.class new file mode 100644 index 0000000..064a51a Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_cliente_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_clientes.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_clientes.class new file mode 100644 index 0000000..1d602e5 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_clientes.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_clientes_subs_0$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_clientes_subs_0$ResumableSub_B4XPage_CloseRequest.class new file mode 100644 index 0000000..d1ec5fb Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_clientes_subs_0$ResumableSub_B4XPage_CloseRequest.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_clientes_subs_0$ResumableSub_ListView1_ItemClick.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_clientes_subs_0$ResumableSub_ListView1_ItemClick.class new file mode 100644 index 0000000..127e710 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_clientes_subs_0$ResumableSub_ListView1_ItemClick.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_clientes_subs_0$ResumableSub_b_GetDirs_Click.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_clientes_subs_0$ResumableSub_b_GetDirs_Click.class new file mode 100644 index 0000000..35822b8 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_clientes_subs_0$ResumableSub_b_GetDirs_Click.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_clientes_subs_0$ResumableSub_caculaRutaGPS.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_clientes_subs_0$ResumableSub_caculaRutaGPS.class new file mode 100644 index 0000000..26a1cb9 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_clientes_subs_0$ResumableSub_caculaRutaGPS.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_clientes_subs_0$ResumableSub_distanciaEntreCoords.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_clientes_subs_0$ResumableSub_distanciaEntreCoords.class new file mode 100644 index 0000000..85ee032 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_clientes_subs_0$ResumableSub_distanciaEntreCoords.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_clientes_subs_0$ResumableSub_generaListViewRutas.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_clientes_subs_0$ResumableSub_generaListViewRutas.class new file mode 100644 index 0000000..4220008 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_clientes_subs_0$ResumableSub_generaListViewRutas.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_clientes_subs_0$ResumableSub_traeRutaDia.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_clientes_subs_0$ResumableSub_traeRutaDia.class new file mode 100644 index 0000000..d1da58a Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_clientes_subs_0$ResumableSub_traeRutaDia.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_clientes_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_clientes_subs_0.class new file mode 100644 index 0000000..3da42fe Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_clientes_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_detalle_promo.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_detalle_promo.class new file mode 100644 index 0000000..18319a5 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_detalle_promo.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_detalle_promo_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_detalle_promo_subs_0.class new file mode 100644 index 0000000..7fdc22c Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_detalle_promo_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_detalleventa.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_detalleventa.class new file mode 100644 index 0000000..bbf16ad Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_detalleventa.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_detalleventa_subs_0$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_detalleventa_subs_0$ResumableSub_B4XPage_CloseRequest.class new file mode 100644 index 0000000..6d63611 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_detalleventa_subs_0$ResumableSub_B4XPage_CloseRequest.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_detalleventa_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_detalleventa_subs_0.class new file mode 100644 index 0000000..5c95fda Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_detalleventa_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_foto.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_foto.class new file mode 100644 index 0000000..3469030 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_foto.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_foto_subs_0$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_foto_subs_0$ResumableSub_B4XPage_CloseRequest.class new file mode 100644 index 0000000..305cbad Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_foto_subs_0$ResumableSub_B4XPage_CloseRequest.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_foto_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_foto_subs_0.class new file mode 100644 index 0000000..1bfce58 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_foto_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_historico.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_historico.class new file mode 100644 index 0000000..e209cb9 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_historico.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_historico_subs_0$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_historico_subs_0$ResumableSub_B4XPage_CloseRequest.class new file mode 100644 index 0000000..917d099 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_historico_subs_0$ResumableSub_B4XPage_CloseRequest.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_historico_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_historico_subs_0.class new file mode 100644 index 0000000..bc4f18f Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_historico_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_mapas.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_mapas.class new file mode 100644 index 0000000..9bcd5c4 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_mapas.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_mapas_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_mapas_subs_0.class new file mode 100644 index 0000000..7f9dd05 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_mapas_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_noventa.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_noventa.class new file mode 100644 index 0000000..6773ebf Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_noventa.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_noventa_subs_0$ResumableSub_B_IMP_Click.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_noventa_subs_0$ResumableSub_B_IMP_Click.class new file mode 100644 index 0000000..5f6eb54 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_noventa_subs_0$ResumableSub_B_IMP_Click.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_noventa_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_noventa_subs_0.class new file mode 100644 index 0000000..4c918a0 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_noventa_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_nuevocliente.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_nuevocliente.class new file mode 100644 index 0000000..4c55ff8 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_nuevocliente.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_nuevocliente_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_nuevocliente_subs_0.class new file mode 100644 index 0000000..fa019d8 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_nuevocliente_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_pedidos.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_pedidos.class new file mode 100644 index 0000000..93d93be Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_pedidos.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_pedidos_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_pedidos_subs_0.class new file mode 100644 index 0000000..1f6c749 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_pedidos_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_principal.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_principal.class new file mode 100644 index 0000000..22ba79a Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_principal.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_principal_subs_0$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_principal_subs_0$ResumableSub_B4XPage_CloseRequest.class new file mode 100644 index 0000000..bfbdc73 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_principal_subs_0$ResumableSub_B4XPage_CloseRequest.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_principal_subs_0$ResumableSub_b_imp_inventario_Click.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_principal_subs_0$ResumableSub_b_imp_inventario_Click.class new file mode 100644 index 0000000..4744385 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_principal_subs_0$ResumableSub_b_imp_inventario_Click.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_principal_subs_0$ResumableSub_b_impresion_rec_Click.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_principal_subs_0$ResumableSub_b_impresion_rec_Click.class new file mode 100644 index 0000000..8217bc3 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_principal_subs_0$ResumableSub_b_impresion_rec_Click.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_principal_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_principal_subs_0.class new file mode 100644 index 0000000..8225e89 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_principal_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_productos.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_productos.class new file mode 100644 index 0000000..0a463df Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_productos.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_productos_subs_0$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_productos_subs_0$ResumableSub_B4XPage_CloseRequest.class new file mode 100644 index 0000000..29de353 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_productos_subs_0$ResumableSub_B4XPage_CloseRequest.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_productos_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_productos_subs_0.class new file mode 100644 index 0000000..620b060 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_productos_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_tabulador.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_tabulador.class new file mode 100644 index 0000000..be0e8a7 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_tabulador.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_tabulador_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_tabulador_subs_0.class new file mode 100644 index 0000000..679ef9f Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_tabulador_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_ticketsdia.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_ticketsdia.class new file mode 100644 index 0000000..e72d3ff Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_ticketsdia.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_ticketsdia_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_ticketsdia_subs_0.class new file mode 100644 index 0000000..4533c93 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_ticketsdia_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_updateavailable.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_updateavailable.class new file mode 100644 index 0000000..9744370 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_updateavailable.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_updateavailable_subs_0$ResumableSub_B4XPage_Appear.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_updateavailable_subs_0$ResumableSub_B4XPage_Appear.class new file mode 100644 index 0000000..1793eb0 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_updateavailable_subs_0$ResumableSub_B4XPage_Appear.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_updateavailable_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_updateavailable_subs_0.class new file mode 100644 index 0000000..6328ed1 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/c_updateavailable_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/cameraexclass.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/cameraexclass.class new file mode 100644 index 0000000..9aaa36b Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/cameraexclass.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/cameraexclass_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/cameraexclass_subs_0.class new file mode 100644 index 0000000..2f589ab Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/cameraexclass_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/cl_appupdate.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/cl_appupdate.class new file mode 100644 index 0000000..24748a0 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/cl_appupdate.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/cl_appupdate_subs_0$ResumableSub_DownloadApk.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/cl_appupdate_subs_0$ResumableSub_DownloadApk.class new file mode 100644 index 0000000..0e9210d Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/cl_appupdate_subs_0$ResumableSub_DownloadApk.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/cl_appupdate_subs_0$ResumableSub_IsvalidWV.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/cl_appupdate_subs_0$ResumableSub_IsvalidWV.class new file mode 100644 index 0000000..00454d1 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/cl_appupdate_subs_0$ResumableSub_IsvalidWV.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/cl_appupdate_subs_0$ResumableSub_ReadWebVN.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/cl_appupdate_subs_0$ResumableSub_ReadWebVN.class new file mode 100644 index 0000000..eb2338e Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/cl_appupdate_subs_0$ResumableSub_ReadWebVN.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/cl_appupdate_subs_0$ResumableSub_TryApkUpdate.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/cl_appupdate_subs_0$ResumableSub_TryApkUpdate.class new file mode 100644 index 0000000..0e139e0 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/cl_appupdate_subs_0$ResumableSub_TryApkUpdate.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/cl_appupdate_subs_0$ResumableSub_UpdateApk.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/cl_appupdate_subs_0$ResumableSub_UpdateApk.class new file mode 100644 index 0000000..715b535 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/cl_appupdate_subs_0$ResumableSub_UpdateApk.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/cl_appupdate_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/cl_appupdate_subs_0.class new file mode 100644 index 0000000..1ada515 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/cl_appupdate_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/dbrequestmanager.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/dbrequestmanager.class new file mode 100644 index 0000000..168c11a Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/dbrequestmanager.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/dbrequestmanager_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/dbrequestmanager_subs_0.class new file mode 100644 index 0000000..75330a1 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/dbrequestmanager_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/escposprinter.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/escposprinter.class new file mode 100644 index 0000000..14f8350 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/escposprinter.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/escposprinter_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/escposprinter_subs_0.class new file mode 100644 index 0000000..b54e60a Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/escposprinter_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/fileprovider.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/fileprovider.class new file mode 100644 index 0000000..17953d6 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/fileprovider.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/fileprovider_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/fileprovider_subs_0.class new file mode 100644 index 0000000..9b4f886 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/fileprovider_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/foto.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/foto.class new file mode 100644 index 0000000..419d711 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/foto.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/foto_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/foto_subs_0.class new file mode 100644 index 0000000..d4460ac Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/foto_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/httpjob.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/httpjob.class new file mode 100644 index 0000000..141a202 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/httpjob.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/httpjob_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/httpjob_subs_0.class new file mode 100644 index 0000000..002a49e Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/httpjob_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/httputils2service.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/httputils2service.class new file mode 100644 index 0000000..8ebe217 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/httputils2service.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/httputils2service_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/httputils2service_subs_0.class new file mode 100644 index 0000000..f14c028 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/httputils2service_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/madewithlove.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/madewithlove.class new file mode 100644 index 0000000..ef8aac4 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/madewithlove.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/madewithlove_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/madewithlove_subs_0.class new file mode 100644 index 0000000..fce6fdb Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/madewithlove_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/main.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/main.class new file mode 100644 index 0000000..613e174 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/main.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/main_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/main_subs_0.class new file mode 100644 index 0000000..dc850a5 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/main_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/manageexternalstorage.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/manageexternalstorage.class new file mode 100644 index 0000000..5d4106c Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/manageexternalstorage.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/manageexternalstorage_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/manageexternalstorage_subs_0.class new file mode 100644 index 0000000..ac8202d Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/manageexternalstorage_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/mapa_cliente.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/mapa_cliente.class new file mode 100644 index 0000000..27eaf5b Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/mapa_cliente.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/mapa_cliente_subs_0$ResumableSub_MapFragment1_Ready.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/mapa_cliente_subs_0$ResumableSub_MapFragment1_Ready.class new file mode 100644 index 0000000..9f70df1 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/mapa_cliente_subs_0$ResumableSub_MapFragment1_Ready.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/mapa_cliente_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/mapa_cliente_subs_0.class new file mode 100644 index 0000000..b3a65f9 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/mapa_cliente_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/mapa_rutas.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/mapa_rutas.class new file mode 100644 index 0000000..bc98431 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/mapa_rutas.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/mapa_rutas_subs_0$ResumableSub_MapFragment1_Ready.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/mapa_rutas_subs_0$ResumableSub_MapFragment1_Ready.class new file mode 100644 index 0000000..0b3fea9 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/mapa_rutas_subs_0$ResumableSub_MapFragment1_Ready.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/mapa_rutas_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/mapa_rutas_subs_0.class new file mode 100644 index 0000000..02c090e Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/mapa_rutas_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/newinst2.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/newinst2.class new file mode 100644 index 0000000..3594a95 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/newinst2.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/newinst2_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/newinst2_subs_0.class new file mode 100644 index 0000000..0f87575 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/newinst2_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/roundslider.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/roundslider.class new file mode 100644 index 0000000..cb58f9f Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/roundslider.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/roundslider_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/roundslider_subs_0.class new file mode 100644 index 0000000..14d41af Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/roundslider_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/scrollinglabel.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/scrollinglabel.class new file mode 100644 index 0000000..85ab04a Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/scrollinglabel.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/scrollinglabel_subs_0$ResumableSub_StartScrolling.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/scrollinglabel_subs_0$ResumableSub_StartScrolling.class new file mode 100644 index 0000000..b8c7d6d Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/scrollinglabel_subs_0$ResumableSub_StartScrolling.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/scrollinglabel_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/scrollinglabel_subs_0.class new file mode 100644 index 0000000..a72c309 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/scrollinglabel_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/starter.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/starter.class new file mode 100644 index 0000000..16d46b1 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/starter.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/starter_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/starter_subs_0.class new file mode 100644 index 0000000..2c9c7f5 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/starter_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/subs.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/subs.class new file mode 100644 index 0000000..0af8f84 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/subs.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/subs_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/subs_subs_0.class new file mode 100644 index 0000000..c5705fc Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/subs_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/swiftbutton.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/swiftbutton.class new file mode 100644 index 0000000..317b2bd Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/swiftbutton.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/swiftbutton_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/swiftbutton_subs_0.class new file mode 100644 index 0000000..4fecaaf Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/swiftbutton_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/tracker.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/tracker.class new file mode 100644 index 0000000..2b0678e Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/tracker.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/tracker_subs_0$ResumableSub_StartFLP.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/tracker_subs_0$ResumableSub_StartFLP.class new file mode 100644 index 0000000..2b83c56 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/tracker_subs_0$ResumableSub_StartFLP.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/tracker_subs_0$ResumableSub_StartFLP2Reqs.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/tracker_subs_0$ResumableSub_StartFLP2Reqs.class new file mode 100644 index 0000000..d45fdea Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/tracker_subs_0$ResumableSub_StartFLP2Reqs.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/tracker_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/tracker_subs_0.class new file mode 100644 index 0000000..dfe0cbb Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/tracker_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/xuiviewsutils.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/xuiviewsutils.class new file mode 100644 index 0000000..d63ee0f Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/xuiviewsutils.class differ diff --git a/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/xuiviewsutils_subs_0.class b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/xuiviewsutils_subs_0.class new file mode 100644 index 0000000..a6e09c0 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/reparto_izca/keymon/lat/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..652f412 --- /dev/null +++ b/B4A/Objects/shell/bin/classes/subs.txt @@ -0,0 +1,4626 @@ +reparto_izca.keymon.lat +0 +59 +b4xmainpage +batteryutilities +c_buscar +c_cheklist +c_cliente +c_clientes +c_detalle_promo +c_detalleventa +c_foto +c_principal +c_historico +c_mapas +c_noventa +c_nuevocliente +c_pedidos +c_productos +c_tabulador +c_ticketsdia +c_updateavailable +cameraexclass +dbrequestmanager +escposprinter +manageexternalstorage +cl_appupdate +b4xbitset +b4xbytesbuilder +b4xcache +b4xcomparatorsort +b4xorderedmap +b4xset +b4xpagesdelegator +b4xpagesmanager +fileprovider +httpjob +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 +39 +cl_appupdate +b4xpages +b4xbitset +b4xbytesbuilder +b4xcache +b4xcollections +b4xcomparatorsort +b4xorderedmap +b4xset +b4xpagesdelegator +b4xpagesmanager +fileprovider +httpjob +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,34,38 +,actionbarhomeclicked,b4xpages,delegate,b4xpages,mpm,starter,skmt,starter,cedislocation,subs,kmt,starter,ruta,subs,errorlog +,actionbarhomeclicked +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_buscar,b4xpage_closerequest,c_cheklist,b4xpage_closerequest,c_cliente,b4xpage_closerequest,c_clientes,b4xpage_closerequest,c_detalleventa,b4xpage_closerequest,c_foto,b4xpage_closerequest,c_principal,b4xpage_closerequest,c_historico,b4xpage_closerequest,c_productos,b4xpage_closerequest,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_buscar,b4xpage_created,c_cheklist,b4xpage_created,c_cliente,b4xpage_created,c_clientes,b4xpage_created,c_detalle_promo,b4xpage_created,c_detalleventa,b4xpage_created,c_foto,b4xpage_created,c_principal,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_noventa,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xpages,settitle,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_pedidos,initialize,c_buscar,initialize,c_detalleventa,initialize,c_detalle_promo,initialize,c_tabulador,initialize,c_cheklist,initialize,subs,agregacolumna,dbrequestmanager,initialize,b4xpages,mainpage,fileprovider,initialize,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xcombobox,setitems,b4xcombobox,setselectedindex,b4xorderedmap,initialize,subs,setdivider,dbrequestmanager,executequery,subs,dameusuariodedb,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,subs,revisabd,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring,c_cheklist,stopcamera2,cameraexclass,release,c_clientes,b_limpiarruta_click,c_clientes,b4xpage_appear,subs,centralistview,c_clientes,generalistviewrutas,subs,centraetiqueta,c_principal,b_regresa_click,b4xset,contains,b4xpagesmanager,closepageimpl +main,activity_create,1,0,26,29 +b4xpages,delegate,b4xpages,mpm,starter,skmt,starter,cedislocation,subs,kmt,starter,ruta,subs,errorlog +b4xpages,mpm +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_buscar,b4xpage_created,c_cheklist,b4xpage_created,c_cliente,b4xpage_created,c_clientes,b4xpage_created,c_detalle_promo,b4xpage_created,c_detalleventa,b4xpage_created,c_foto,b4xpage_created,c_principal,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_noventa,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xpages,getmanager,b4xpages,settitle,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_pedidos,initialize,c_buscar,initialize,c_detalleventa,initialize,c_detalle_promo,initialize,c_tabulador,initialize,c_cheklist,initialize,subs,agregacolumna,dbrequestmanager,initialize,b4xpages,mainpage,fileprovider,initialize,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xcombobox,setitems,b4xcombobox,setselectedindex,subs,setdivider,dbrequestmanager,executequery,subs,dameusuariodedb,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,subs,revisabd,b4xpagesmanager,raiseeventwithresult,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +main,activity_keypress,1,0,40,42 +b4xpages,delegate,b4xpages,mpm,starter,skmt,starter,cedislocation,subs,kmt,starter,ruta,subs,errorlog + +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_buscar,b4xpage_closerequest,c_cheklist,b4xpage_closerequest,c_cliente,b4xpage_closerequest,c_clientes,b4xpage_closerequest,c_detalleventa,b4xpage_closerequest,c_foto,b4xpage_closerequest,c_principal,b4xpage_closerequest,c_historico,b4xpage_closerequest,c_productos,b4xpage_closerequest,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_buscar,b4xpage_created,c_cheklist,b4xpage_created,c_cliente,b4xpage_created,c_clientes,b4xpage_created,c_detalle_promo,b4xpage_created,c_detalleventa,b4xpage_created,c_foto,b4xpage_created,c_principal,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_noventa,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xpages,settitle,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_pedidos,initialize,c_buscar,initialize,c_detalleventa,initialize,c_detalle_promo,initialize,c_tabulador,initialize,c_cheklist,initialize,subs,agregacolumna,dbrequestmanager,initialize,b4xpages,mainpage,fileprovider,initialize,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xcombobox,setitems,b4xcombobox,setselectedindex,b4xorderedmap,initialize,subs,setdivider,dbrequestmanager,executequery,subs,dameusuariodedb,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,subs,revisabd,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring,c_cheklist,stopcamera2,cameraexclass,release,c_clientes,b_limpiarruta_click,c_clientes,b4xpage_appear,subs,centralistview,c_clientes,generalistviewrutas,subs,centraetiqueta,c_principal,b_regresa_click,b4xset,contains,b4xpagesmanager,closepageimpl +main,activity_pause,1,0,48,50 +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,52,54 +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,44,46 +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,56,58 +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,22,24 + + + +main,process_globals,0,1,18,20 + + + +b4xpagesdelegator,activity_actionbarhomeclick,1,0,35,37 +b4xpages,mpm,starter,skmt,starter,cedislocation,subs,kmt,starter,ruta,subs,errorlog + +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_buscar,b4xpage_closerequest,c_cheklist,b4xpage_closerequest,c_cliente,b4xpage_closerequest,c_clientes,b4xpage_closerequest,c_detalleventa,b4xpage_closerequest,c_foto,b4xpage_closerequest,c_principal,b4xpage_closerequest,c_historico,b4xpage_closerequest,c_productos,b4xpage_closerequest,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_buscar,b4xpage_created,c_cheklist,b4xpage_created,c_cliente,b4xpage_created,c_clientes,b4xpage_created,c_detalle_promo,b4xpage_created,c_detalleventa,b4xpage_created,c_foto,b4xpage_created,c_principal,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_noventa,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xpages,settitle,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_pedidos,initialize,c_buscar,initialize,c_detalleventa,initialize,c_detalle_promo,initialize,c_tabulador,initialize,c_cheklist,initialize,subs,agregacolumna,dbrequestmanager,initialize,b4xpages,mainpage,fileprovider,initialize,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xcombobox,setitems,b4xcombobox,setselectedindex,b4xorderedmap,initialize,subs,setdivider,dbrequestmanager,executequery,subs,dameusuariodedb,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,subs,revisabd,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring,c_cheklist,stopcamera2,cameraexclass,release,c_clientes,b_limpiarruta_click,c_clientes,b4xpage_appear,subs,centralistview,c_clientes,generalistviewrutas,subs,centraetiqueta,c_principal,b_regresa_click,b4xset,contains,b4xpagesmanager,closepageimpl +b4xpagesdelegator,activity_keypress,1,0,27,29 +b4xpages,mpm,starter,skmt,starter,cedislocation,subs,kmt,starter,ruta,subs,errorlog + +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_buscar,b4xpage_closerequest,c_cheklist,b4xpage_closerequest,c_cliente,b4xpage_closerequest,c_clientes,b4xpage_closerequest,c_detalleventa,b4xpage_closerequest,c_foto,b4xpage_closerequest,c_principal,b4xpage_closerequest,c_historico,b4xpage_closerequest,c_productos,b4xpage_closerequest,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_buscar,b4xpage_created,c_cheklist,b4xpage_created,c_cliente,b4xpage_created,c_clientes,b4xpage_created,c_detalle_promo,b4xpage_created,c_detalleventa,b4xpage_created,c_foto,b4xpage_created,c_principal,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_noventa,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xpages,settitle,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_pedidos,initialize,c_buscar,initialize,c_detalleventa,initialize,c_detalle_promo,initialize,c_tabulador,initialize,c_cheklist,initialize,subs,agregacolumna,dbrequestmanager,initialize,b4xpages,mainpage,fileprovider,initialize,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xcombobox,setitems,b4xcombobox,setselectedindex,b4xorderedmap,initialize,subs,setdivider,dbrequestmanager,executequery,subs,dameusuariodedb,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,subs,revisabd,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring,c_cheklist,stopcamera2,cameraexclass,release,c_clientes,b_limpiarruta_click,c_clientes,b4xpage_appear,subs,centralistview,c_clientes,generalistviewrutas,subs,centraetiqueta,c_principal,b_regresa_click,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,skmt,starter,cedislocation,subs,kmt,starter,ruta,subs,errorlog +b4xpages,mpm +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_buscar,b4xpage_created,c_cheklist,b4xpage_created,c_cliente,b4xpage_created,c_clientes,b4xpage_created,c_detalle_promo,b4xpage_created,c_detalleventa,b4xpage_created,c_foto,b4xpage_created,c_principal,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_noventa,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,,createb4xpageparent,b4xpages,getmanager,b4xpages,settitle,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_pedidos,initialize,c_buscar,initialize,c_detalleventa,initialize,c_detalle_promo,initialize,c_tabulador,initialize,c_cheklist,initialize,subs,agregacolumna,dbrequestmanager,initialize,b4xpages,mainpage,fileprovider,initialize,,settitle,,findpifromb4xpage,b4xcombobox,setitems,b4xcombobox,setselectedindex,subs,setdivider,dbrequestmanager,executequery,subs,dameusuariodedb,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,subs,revisabd,,raiseeventwithresult,,updatemenuitems,,updatestackstring +b4xpagesmanager,addmenuitem,0,0,481,488 + + +,findpifromb4xpage,b4xorderedmap,getvalues +b4xpagesmanager,addpage,1,0,141,149 +starter,skmt,b4xpages,mpm,starter,cedislocation,subs,kmt,starter,ruta,subs,errorlog + +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_buscar,b4xpage_created,c_cheklist,b4xpage_created,c_cliente,b4xpage_created,c_clientes,b4xpage_created,c_detalle_promo,b4xpage_created,c_detalleventa,b4xpage_created,c_foto,b4xpage_created,c_principal,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_noventa,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,,createb4xpageparent,b4xpages,getmanager,b4xpages,settitle,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_pedidos,initialize,c_buscar,initialize,c_detalleventa,initialize,c_detalle_promo,initialize,c_tabulador,initialize,c_cheklist,initialize,subs,agregacolumna,dbrequestmanager,initialize,b4xpages,mainpage,fileprovider,initialize,,settitle,,findpifromb4xpage,b4xorderedmap,getvalues,,addpage,b4xcombobox,setitems,b4xcombobox,setselectedindex,b4xorderedmap,initialize,subs,setdivider,dbrequestmanager,executequery,subs,dameusuariodedb,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,subs,revisabd,,raiseeventwithresult,b4xorderedmap,remove,,raiseevent,,updatemenuitems,,updatestackstring +b4xpagesmanager,addpageandcreate,1,0,151,154 +starter,skmt,b4xpages,mpm,starter,cedislocation,subs,kmt,starter,ruta,subs,errorlog + +,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_buscar,b4xpage_created,c_cheklist,b4xpage_created,c_cliente,b4xpage_created,c_clientes,b4xpage_created,c_detalle_promo,b4xpage_created,c_detalleventa,b4xpage_created,c_foto,b4xpage_created,c_principal,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_noventa,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,,createb4xpageparent,b4xpages,getmanager,b4xpages,settitle,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_pedidos,initialize,c_buscar,initialize,c_detalleventa,initialize,c_detalle_promo,initialize,c_tabulador,initialize,c_cheklist,initialize,subs,agregacolumna,dbrequestmanager,initialize,b4xpages,mainpage,fileprovider,initialize,,settitle,,findpifromb4xpage,b4xorderedmap,getvalues,b4xcombobox,setitems,b4xcombobox,setselectedindex,b4xorderedmap,initialize,subs,setdivider,dbrequestmanager,executequery,subs,dameusuariodedb,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,subs,revisabd,,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,skmt,b4xpages,mpm,starter,cedislocation,subs,kmt,starter,ruta,subs,errorlog + +,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_buscar,b4xpage_created,c_cheklist,b4xpage_created,c_cliente,b4xpage_created,c_clientes,b4xpage_created,c_detalle_promo,b4xpage_created,c_detalleventa,b4xpage_created,c_foto,b4xpage_created,c_principal,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_noventa,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,,createb4xpageparent,b4xpages,getmanager,b4xpages,settitle,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_pedidos,initialize,c_buscar,initialize,c_detalleventa,initialize,c_detalle_promo,initialize,c_tabulador,initialize,c_cheklist,initialize,subs,agregacolumna,dbrequestmanager,initialize,b4xpages,mainpage,fileprovider,initialize,,settitle,,findpifromb4xpage,b4xorderedmap,getvalues,,addpage,b4xorderedmap,containskey,,createb4xpageinfo,,showpage,b4xcombobox,setitems,b4xcombobox,setselectedindex,b4xorderedmap,initialize,subs,setdivider,dbrequestmanager,executequery,subs,dameusuariodedb,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,subs,revisabd,,raiseeventwithresult,b4xorderedmap,remove,,raiseevent,,updatemenuitems,,updatestackstring +b4xpagesmanager,showpageandremovepreviouspages,1,0,180,207 +starter,skmt,b4xpages,mpm,starter,cedislocation,subs,kmt,starter,ruta,subs,errorlog + +,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_buscar,b4xpage_created,c_cheklist,b4xpage_created,c_cliente,b4xpage_created,c_clientes,b4xpage_created,c_detalle_promo,b4xpage_created,c_detalleventa,b4xpage_created,c_foto,b4xpage_created,c_principal,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_noventa,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,,createb4xpageparent,b4xpages,getmanager,b4xpages,settitle,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_pedidos,initialize,c_buscar,initialize,c_detalleventa,initialize,c_detalle_promo,initialize,c_tabulador,initialize,c_cheklist,initialize,subs,agregacolumna,dbrequestmanager,initialize,b4xpages,mainpage,fileprovider,initialize,,settitle,,findpifromb4xpage,b4xorderedmap,getvalues,,addpage,b4xorderedmap,containskey,,createb4xpageinfo,b4xcombobox,setitems,b4xcombobox,setselectedindex,b4xorderedmap,initialize,subs,setdivider,dbrequestmanager,executequery,subs,dameusuariodedb,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,subs,revisabd,,raiseeventwithresult,b4xorderedmap,remove,,raiseevent,,updatemenuitems,,updatestackstring,b4xorderedmap,clear +b4xpagesmanager,activity_actionbarhomeclick,1,0,129,138 +b4xpages,mpm,starter,skmt,starter,cedislocation,subs,kmt,starter,ruta,subs,errorlog + +,gettoppage,,closerequestexists,,handlecloserequest,,closepage,b4xset,getsize,b4xorderedmap,get,b4xset,aslist,b4xorderedmap,getsize,b4xorderedmap,getkeys,,logevent,b4xmainpage,b4xpage_closerequest,c_buscar,b4xpage_closerequest,c_cheklist,b4xpage_closerequest,c_cliente,b4xpage_closerequest,c_clientes,b4xpage_closerequest,c_detalleventa,b4xpage_closerequest,c_foto,b4xpage_closerequest,c_principal,b4xpage_closerequest,c_historico,b4xpage_closerequest,c_productos,b4xpage_closerequest,b4xpages,showpage,b4xpages,getmanager,,showpage,,getpagefromid,,createpageifneeded,,toppagedisappear,b4xset,remove,,showpageimpl,b4xset,add,,toppageappear,,createpageimpl,b4xorderedmap,put,b4xmainpage,b4xpage_created,c_buscar,b4xpage_created,c_cheklist,b4xpage_created,c_cliente,b4xpage_created,c_clientes,b4xpage_created,c_detalle_promo,b4xpage_created,c_detalleventa,b4xpage_created,c_foto,b4xpage_created,c_principal,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_noventa,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,,createb4xpageparent,b4xpages,settitle,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_pedidos,initialize,c_buscar,initialize,c_detalleventa,initialize,c_detalle_promo,initialize,c_tabulador,initialize,c_cheklist,initialize,subs,agregacolumna,dbrequestmanager,initialize,b4xpages,mainpage,fileprovider,initialize,,settitle,,findpifromb4xpage,b4xorderedmap,getvalues,,addpage,b4xorderedmap,containskey,,createb4xpageinfo,b4xcombobox,setitems,b4xcombobox,setselectedindex,b4xorderedmap,initialize,subs,setdivider,dbrequestmanager,executequery,subs,dameusuariodedb,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,subs,revisabd,,raiseeventwithresult,b4xorderedmap,remove,,raiseevent,,updatemenuitems,,updatestackstring,c_cheklist,stopcamera2,cameraexclass,release,c_clientes,b_limpiarruta_click,c_clientes,b4xpage_appear,subs,centralistview,c_clientes,generalistviewrutas,subs,centraetiqueta,c_principal,b_regresa_click,b4xset,contains,,closepageimpl +b4xpagesmanager,activity_keypress,1,0,468,479 +b4xpages,mpm,starter,skmt,starter,cedislocation,subs,kmt,starter,ruta,subs,errorlog + +,gettoppage,,closerequestexists,,handlecloserequest,,closepage,b4xset,getsize,b4xorderedmap,get,b4xset,aslist,b4xorderedmap,getsize,b4xorderedmap,getkeys,,logevent,b4xmainpage,b4xpage_closerequest,c_buscar,b4xpage_closerequest,c_cheklist,b4xpage_closerequest,c_cliente,b4xpage_closerequest,c_clientes,b4xpage_closerequest,c_detalleventa,b4xpage_closerequest,c_foto,b4xpage_closerequest,c_principal,b4xpage_closerequest,c_historico,b4xpage_closerequest,c_productos,b4xpage_closerequest,b4xpages,showpage,b4xpages,getmanager,,showpage,,getpagefromid,,createpageifneeded,,toppagedisappear,b4xset,remove,,showpageimpl,b4xset,add,,toppageappear,,createpageimpl,b4xorderedmap,put,b4xmainpage,b4xpage_created,c_buscar,b4xpage_created,c_cheklist,b4xpage_created,c_cliente,b4xpage_created,c_clientes,b4xpage_created,c_detalle_promo,b4xpage_created,c_detalleventa,b4xpage_created,c_foto,b4xpage_created,c_principal,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_noventa,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,,createb4xpageparent,b4xpages,settitle,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_pedidos,initialize,c_buscar,initialize,c_detalleventa,initialize,c_detalle_promo,initialize,c_tabulador,initialize,c_cheklist,initialize,subs,agregacolumna,dbrequestmanager,initialize,b4xpages,mainpage,fileprovider,initialize,,settitle,,findpifromb4xpage,b4xorderedmap,getvalues,,addpage,b4xorderedmap,containskey,,createb4xpageinfo,b4xcombobox,setitems,b4xcombobox,setselectedindex,b4xorderedmap,initialize,subs,setdivider,dbrequestmanager,executequery,subs,dameusuariodedb,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,subs,revisabd,,raiseeventwithresult,b4xorderedmap,remove,,raiseevent,,updatemenuitems,,updatestackstring,c_cheklist,stopcamera2,cameraexclass,release,c_clientes,b_limpiarruta_click,c_clientes,b4xpage_appear,subs,centralistview,c_clientes,generalistviewrutas,subs,centraetiqueta,c_principal,b_regresa_click,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,skmt,starter,cedislocation,subs,kmt,starter,ruta,subs,errorlog + +,logevent,b4xmainpage,b4xpage_closerequest,c_buscar,b4xpage_closerequest,c_cheklist,b4xpage_closerequest,c_cliente,b4xpage_closerequest,c_clientes,b4xpage_closerequest,c_detalleventa,b4xpage_closerequest,c_foto,b4xpage_closerequest,c_principal,b4xpage_closerequest,c_historico,b4xpage_closerequest,c_productos,b4xpage_closerequest,,closepage,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_buscar,b4xpage_created,c_cheklist,b4xpage_created,c_cliente,b4xpage_created,c_clientes,b4xpage_created,c_detalle_promo,b4xpage_created,c_detalleventa,b4xpage_created,c_foto,b4xpage_created,c_principal,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_noventa,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,,createb4xpageparent,b4xpages,settitle,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_pedidos,initialize,c_buscar,initialize,c_detalleventa,initialize,c_detalle_promo,initialize,c_tabulador,initialize,c_cheklist,initialize,subs,agregacolumna,dbrequestmanager,initialize,b4xpages,mainpage,fileprovider,initialize,,settitle,,findpifromb4xpage,b4xorderedmap,getvalues,,addpage,b4xorderedmap,containskey,,createb4xpageinfo,b4xcombobox,setitems,b4xcombobox,setselectedindex,b4xorderedmap,initialize,subs,setdivider,dbrequestmanager,executequery,subs,dameusuariodedb,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,subs,revisabd,,raiseeventwithresult,b4xorderedmap,remove,,raiseevent,,updatemenuitems,,updatestackstring,c_cheklist,stopcamera2,cameraexclass,release,c_clientes,b_limpiarruta_click,c_clientes,b4xpage_appear,subs,centralistview,c_clientes,generalistviewrutas,subs,centraetiqueta,c_principal,b_regresa_click,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,skmt,b4xpages,mpm,starter,cedislocation,subs,kmt,starter,ruta,subs,errorlog + +b4xorderedmap,getsize,,createpageimpl,b4xorderedmap,put,,logevent,b4xmainpage,b4xpage_created,c_buscar,b4xpage_created,c_cheklist,b4xpage_created,c_cliente,b4xpage_created,c_clientes,b4xpage_created,c_detalle_promo,b4xpage_created,c_detalleventa,b4xpage_created,c_foto,b4xpage_created,c_principal,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_noventa,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,,createb4xpageparent,b4xpages,getmanager,b4xpages,settitle,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_pedidos,initialize,c_buscar,initialize,c_detalleventa,initialize,c_detalle_promo,initialize,c_tabulador,initialize,c_cheklist,initialize,subs,agregacolumna,dbrequestmanager,initialize,b4xpages,mainpage,fileprovider,initialize,,settitle,,findpifromb4xpage,b4xorderedmap,getvalues,,addpage,b4xorderedmap,containskey,,createb4xpageinfo,,showpage,,getpagefromid,,gettoppage,,createpageifneeded,,toppagedisappear,b4xset,remove,,showpageimpl,b4xset,add,,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xcombobox,setitems,b4xcombobox,setselectedindex,b4xorderedmap,initialize,subs,setdivider,dbrequestmanager,executequery,subs,dameusuariodedb,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,subs,revisabd,,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 +appupdater,createnotification,0,0,222,231 +,n2,,nnewappnid + + +appupdater,createnotification2,0,0,206,220 + + + +appupdater,download,0,0,199,204 + + +httpjob,initialize,httpjob,download,httpjob,addscheme +appupdater,download_destroy,0,0,194,197 +,n2,,n2id + + +appupdater,download_newapk,1,0,156,192 +starter,muestraprogreso,,newapp,,sharedfolder,,n2,,nnewappnid,b4xpages,mpm,starter,skmt,starter,cedislocation,subs,kmt,starter,ruta,subs,errorlog,httputils2service,tempfolder,,usefileprovider +starter,muestraprogreso +b4xpages,showpage,b4xpages,mainpage,b4xmainpage,muestraprogreso,httpjob,initialize,httpjob,download,httpjob,getinputstream,b4xmainpage,ocultaprogreso,httpjob,release,,setfileuriasintentdata,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_buscar,b4xpage_created,c_cheklist,b4xpage_created,c_cliente,b4xpage_created,c_clientes,b4xpage_created,c_detalle_promo,b4xpage_created,c_detalleventa,b4xpage_created,c_foto,b4xpage_created,c_principal,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_noventa,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xpages,settitle,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_pedidos,initialize,c_buscar,initialize,c_detalleventa,initialize,c_detalle_promo,initialize,c_tabulador,initialize,c_cheklist,initialize,subs,agregacolumna,dbrequestmanager,initialize,fileprovider,initialize,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xcombobox,setitems,b4xcombobox,setselectedindex,b4xorderedmap,initialize,subs,setdivider,dbrequestmanager,executequery,subs,dameusuariodedb,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,addscheme,subs,revisabd,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring,,getfileuri +appupdater,setfileuriasintentdata,0,0,274,278 +,usefileprovider,,sharedfolder + +,getfileuri +appupdater,download_start,1,0,152,154 +starter,muestraprogreso,,newapp,,sharedfolder,,n2,,nnewappnid,b4xpages,mpm,starter,skmt,starter,cedislocation,subs,kmt,starter,ruta,subs,errorlog,httputils2service,tempfolder,,usefileprovider +starter,muestraprogreso +,download_newapk,b4xpages,showpage,b4xpages,mainpage,b4xmainpage,muestraprogreso,httpjob,initialize,httpjob,download,httpjob,getinputstream,b4xmainpage,ocultaprogreso,httpjob,release,,setfileuriasintentdata,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_buscar,b4xpage_created,c_cheklist,b4xpage_created,c_cliente,b4xpage_created,c_clientes,b4xpage_created,c_detalle_promo,b4xpage_created,c_detalleventa,b4xpage_created,c_foto,b4xpage_created,c_principal,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_noventa,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xpages,settitle,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_pedidos,initialize,c_buscar,initialize,c_detalleventa,initialize,c_detalle_promo,initialize,c_tabulador,initialize,c_cheklist,initialize,subs,agregacolumna,dbrequestmanager,initialize,fileprovider,initialize,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xcombobox,setitems,b4xcombobox,setselectedindex,b4xorderedmap,initialize,subs,setdivider,dbrequestmanager,executequery,subs,dameusuariodedb,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,addscheme,subs,revisabd,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring,,getfileuri +appupdater,fileprovider_init,0,0,237,250 +,usefileprovider,,sharedfolder,,rp +,usefileprovider,,sharedfolder + +appupdater,getfileuri,0,0,253,270 +,usefileprovider,,sharedfolder + + +appupdater,process_globals,0,1,70,99 +,lnk,,nnewappnid,,n2id +,lnk,,nnewappnid,,n2id + +appupdater,service_create,0,0,101,107 +,newapp,,n2,,nativeme + + +appupdater,service_destroy,0,0,233,235 + + + +appupdater,service_start,1,0,109,150 +,lnk,,newapp,,nnewapp,,nnewappnid,b4xpages,mpm,,usefileprovider,,sharedfolder,,rp,httputils2service,tempfolder,starter,skmt,starter,cedislocation,subs,kmt,starter,ruta,subs,errorlog +,usefileprovider,,sharedfolder +b4xpages,mainpage,b4xmainpage,muestraprogreso,,fileprovider_init,,download,httpjob,getstring,b4xpages,showpage,,createnotification2,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_buscar,b4xpage_created,c_cheklist,b4xpage_created,c_cliente,b4xpage_created,c_clientes,b4xpage_created,c_detalle_promo,b4xpage_created,c_detalleventa,b4xpage_created,c_foto,b4xpage_created,c_principal,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_noventa,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xpages,settitle,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_pedidos,initialize,c_buscar,initialize,c_detalleventa,initialize,c_detalle_promo,initialize,c_tabulador,initialize,c_cheklist,initialize,subs,agregacolumna,dbrequestmanager,initialize,fileprovider,initialize,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xcombobox,setitems,b4xcombobox,setselectedindex,b4xorderedmap,initialize,subs,setdivider,dbrequestmanager,executequery,subs,dameusuariodedb,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,subs,revisabd,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +httpjob,initialize,0,0,38,48 + + + +httpjob,download,0,0,219,228 + + +,addscheme +httpjob,getinputstream,0,0,347,351 +httputils2service,tempfolder + + +httpjob,release,0,0,284,288 +httputils2service,tempfolder + + +httpjob,getstring,0,0,291,293 +httputils2service,tempfolder + +,getstring2 +httpjob,postbytes,0,0,63,72 + + +,addscheme +httpjob,complete,0,0,315,318 + + + +httpjob,getrequest,0,0,310,312 + + + +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,postmultipart,0,0,133,177 + + +,multipartstartsection,,postbytes,,addscheme +httpjob,poststring,0,0,58,60 + + +,postbytes,,addscheme +httpjob,putbytes,0,0,80,89 + + +,addscheme +httpjob,putstring,0,0,75,77 + + +,putbytes,,addscheme +b4xpages,showpage,1,0,50,52 +,mpm,starter,skmt,starter,cedislocation,subs,kmt,starter,ruta,subs,errorlog + +,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_buscar,b4xpage_created,c_cheklist,b4xpage_created,c_cliente,b4xpage_created,c_clientes,b4xpage_created,c_detalle_promo,b4xpage_created,c_detalleventa,b4xpage_created,c_foto,b4xpage_created,c_principal,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_noventa,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,,settitle,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_pedidos,initialize,c_buscar,initialize,c_detalleventa,initialize,c_detalle_promo,initialize,c_tabulador,initialize,c_cheklist,initialize,subs,agregacolumna,dbrequestmanager,initialize,,mainpage,fileprovider,initialize,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xcombobox,setitems,b4xcombobox,setselectedindex,b4xorderedmap,initialize,subs,setdivider,dbrequestmanager,executequery,subs,dameusuariodedb,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,subs,revisabd,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +b4xpages,mainpage,0,0,73,75 +,mpm + +,getmanager +b4xpages,getmanager,0,0,14,16 +,mpm + + +b4xpages,settitle,0,0,68,70 +,mpm + +,getmanager,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues +b4xpages,addpage,1,0,37,39 +,mpm,starter,skmt,starter,cedislocation,subs,kmt,starter,ruta,subs,errorlog + +,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_buscar,b4xpage_created,c_cheklist,b4xpage_created,c_cliente,b4xpage_created,c_clientes,b4xpage_created,c_detalle_promo,b4xpage_created,c_detalleventa,b4xpage_created,c_foto,b4xpage_created,c_principal,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_noventa,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,,settitle,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_pedidos,initialize,c_buscar,initialize,c_detalleventa,initialize,c_detalle_promo,initialize,c_tabulador,initialize,c_cheklist,initialize,subs,agregacolumna,dbrequestmanager,initialize,,mainpage,fileprovider,initialize,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xcombobox,setitems,b4xcombobox,setselectedindex,b4xorderedmap,initialize,subs,setdivider,dbrequestmanager,executequery,subs,dameusuariodedb,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,subs,revisabd,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +b4xpages,addmenuitem,0,0,91,93 +,mpm + +,getmanager,b4xpagesmanager,addmenuitem,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues +b4xpages,addpageandcreate,1,0,42,44 +,mpm,starter,skmt,starter,cedislocation,subs,kmt,starter,ruta,subs,errorlog + +,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_buscar,b4xpage_created,c_cheklist,b4xpage_created,c_cliente,b4xpage_created,c_clientes,b4xpage_created,c_detalle_promo,b4xpage_created,c_detalleventa,b4xpage_created,c_foto,b4xpage_created,c_principal,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_noventa,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,,settitle,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_pedidos,initialize,c_buscar,initialize,c_detalleventa,initialize,c_detalle_promo,initialize,c_tabulador,initialize,c_cheklist,initialize,subs,agregacolumna,dbrequestmanager,initialize,,mainpage,fileprovider,initialize,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xcombobox,setitems,b4xcombobox,setselectedindex,b4xorderedmap,initialize,subs,setdivider,dbrequestmanager,executequery,subs,dameusuariodedb,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,subs,revisabd,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,getnativeparent,0,0,79,88 +,mpm + +,getmanager,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues +b4xpages,getpage,0,0,27,29 +,mpm + +,getmanager,b4xpagesmanager,getpage,b4xpagesmanager,getpagefromid,b4xorderedmap,get,b4xorderedmap,getkeys +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,showpageandremovepreviouspages,1,0,56,58 +,mpm,starter,skmt,starter,cedislocation,subs,kmt,starter,ruta,subs,errorlog + +,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_buscar,b4xpage_created,c_cheklist,b4xpage_created,c_cliente,b4xpage_created,c_clientes,b4xpage_created,c_detalle_promo,b4xpage_created,c_detalleventa,b4xpage_created,c_foto,b4xpage_created,c_principal,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_noventa,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,,settitle,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_pedidos,initialize,c_buscar,initialize,c_detalleventa,initialize,c_detalle_promo,initialize,c_tabulador,initialize,c_cheklist,initialize,subs,agregacolumna,dbrequestmanager,initialize,,mainpage,fileprovider,initialize,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xcombobox,setitems,b4xcombobox,setselectedindex,b4xorderedmap,initialize,subs,setdivider,dbrequestmanager,executequery,subs,dameusuariodedb,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,subs,revisabd,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring,b4xorderedmap,clear +b4xmainpage,muestraprogreso,0,0,629,631 + + + +b4xmainpage,ocultaprogreso,0,0,634,636 + + + +b4xmainpage,b_aceptar_click,0,0,937,953 +starter,skmt + + +b4xmainpage,b_apk_click,0,0,595,597 + + + +b4xmainpage,b_arqueocieego_click,0,0,742,749 +starter,skmt + +subs,panelvisible +b4xmainpage,b_can_monto_click,0,0,738,740 + + + +b4xmainpage,b_cancelarcodigo_click,0,0,981,983 + + + +b4xmainpage,b_cargarmonto_click,0,0,638,649 +starter,skmt + +subs,panelvisible +b4xmainpage,b_enviobd_click,0,0,577,593 + + +fileprovider,getfileuri +b4xmainpage,b_pc_env_click,1,0,792,849 +starter,skmt + + +b4xmainpage,b_regesar_click,0,0,571,574 + + + +b4xmainpage,b_server_click,0,0,599,611 +starter,skmt,starter,server,b4xpages,mpm +starter,server +b4xpages,mainpage,dbrequestmanager,initialize,,reinicializareqmanager,b4xpages,getmanager +b4xmainpage,reinicializareqmanager,0,0,622,626 +b4xpages,mpm + +dbrequestmanager,initialize,b4xpages,mainpage,b4xpages,getmanager +b4xmainpage,b_terpc_click,1,0,851,931 +starter,skmt + + +b4xmainpage,b4xpage_appear,0,0,237,273 +starter,muestraprogreso,starter,rp,tracker,tracking,starter,skmt +starter,muestraprogreso +,muestraprogreso,subs,centrapanel +b4xmainpage,b4xpage_closerequest,0,0,560,569 + + + +b4xmainpage,b4xpage_created,1,0,110,235 +starter,skmt,b4xpages,mpm,starter,cedislocation,subs,kmt,starter,ruta,subs,errorlog + +b4xpages,getmanager,b4xpages,settitle,,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_pedidos,initialize,c_buscar,initialize,c_detalleventa,initialize,c_detalle_promo,initialize,c_tabulador,initialize,c_cheklist,initialize,subs,agregacolumna,dbrequestmanager,initialize,b4xpages,mainpage,fileprovider,initialize,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,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_buscar,b4xpage_created,c_cheklist,b4xpage_created,c_cliente,b4xpage_created,c_clientes,b4xpage_created,c_detalle_promo,b4xpage_created,c_detalleventa,b4xpage_created,c_foto,b4xpage_created,c_principal,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_noventa,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xcombobox,setitems,b4xcombobox,setselectedindex,b4xorderedmap,initialize,subs,setdivider,dbrequestmanager,executequery,subs,dameusuariodedb,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,subs,revisabd,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +b4xmainpage,initialize,0,0,105,107 + + + +b4xmainpage,class_globals,0,0,18,103 + + + +b4xmainpage,createlistitem,1,0,989,1003 + + + +b4xmainpage,createlistitem2,1,0,1005,1018 + + + +b4xmainpage,entrar_click,1,0,277,311 +starter,skmt,b4xpages,mpm,starter,cedislocation,subs,kmt,starter,ruta,subs,errorlog + +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,,b4xpage_created,c_buscar,b4xpage_created,c_cheklist,b4xpage_created,c_cliente,b4xpage_created,c_clientes,b4xpage_created,c_detalle_promo,b4xpage_created,c_detalleventa,b4xpage_created,c_foto,b4xpage_created,c_principal,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_noventa,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xpages,settitle,,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_pedidos,initialize,c_buscar,initialize,c_detalleventa,initialize,c_detalle_promo,initialize,c_tabulador,initialize,c_cheklist,initialize,subs,agregacolumna,dbrequestmanager,initialize,b4xpages,mainpage,fileprovider,initialize,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xcombobox,setitems,b4xcombobox,setselectedindex,b4xorderedmap,initialize,subs,setdivider,subs,dameusuariodedb,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,subs,revisabd,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +b4xmainpage,enviarmonto,0,0,669,736 +starter,skmt + + +b4xmainpage,et_buspc_textchanged,1,0,751,790 +starter,skmt + +,createlistitem,,createlistitem2 +b4xmainpage,i_engrane_click,1,0,543,558 + + +subs,centrapanel,subs,centraboton,subs,panelvisible +b4xmainpage,imageview1_longclick,0,0,1020,1022 + + + +b4xmainpage,jobdone,1,0,313,541 +starter,skmt,starter,cedislocation,httputils2service,tempfolder,b4xpages,mpm,subs,kmt,starter,ruta,subs,errorlog + +dbrequestmanager,handlejob,subs,panelvisible,,enviarmonto,,passaquci,httpjob,release,b4xpages,showpage,httpjob,getinputstream,dbrequestmanager,readobject,dbrequestmanager,readint,dbrequestmanager,readbyte,dbrequestmanager,readbytesfully,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_buscar,b4xpage_created,c_cheklist,b4xpage_created,c_cliente,b4xpage_created,c_clientes,b4xpage_created,c_detalle_promo,b4xpage_created,c_detalleventa,b4xpage_created,c_foto,b4xpage_created,c_principal,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_noventa,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xpages,settitle,,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_pedidos,initialize,c_buscar,initialize,c_detalleventa,initialize,c_detalle_promo,initialize,c_tabulador,initialize,c_cheklist,initialize,subs,agregacolumna,dbrequestmanager,initialize,b4xpages,mainpage,fileprovider,initialize,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xcombobox,setitems,b4xcombobox,setselectedindex,b4xorderedmap,initialize,subs,setdivider,dbrequestmanager,executequery,subs,dameusuariodedb,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,subs,revisabd,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +b4xmainpage,passaquci,0,0,955,979 +starter,skmt + + +b4xmainpage,lv_server_itemclick,1,0,613,620 + + +dbrequestmanager,initialize +b4xmainpage,p_add_monto_click,0,0,651,653 + + + +b4xmainpage,p_ciego_click,0,0,933,935 + + + +b4xmainpage,p_validacion_click,0,0,985,987 + + + +subs,panelvisible,0,0,570,575 + + + +subs,centrapanel,0,0,609,611 + + + +subs,agregacolumna,0,0,966,982 +starter,skmt + + +subs,centraboton,0,0,619,621 + + + +subs,traealmacen,0,0,999,1007 +starter,skmt + + +subs,traecantymonto2,0,0,881,910 +starter,skmt,,kmt + +,traeprecio,,traealmacen +subs,traecliente,0,0,722,729 +starter,skmt + + +subs,traefechaprev,0,0,1020,1045 +starter,skmt + + +subs,traeusuariodebd,0,0,257,266 +,kmt,starter,ruta,,errorlog + +,revisabd +subs,traeruta,0,0,743,754 +starter,skmt + + +subs,fechakmt,0,0,62,70 + + + +subs,centralistview,0,0,604,606 + + + +subs,setdivider,0,0,594,601 + + + +subs,centraetiqueta,0,0,614,616 + + + +subs,traerutareparto,0,0,985,996 +starter,skmt + + +subs,prodventa,0,0,793,821 +starter,skmt,,kmt + +,traeprecio,,traealmacen +subs,traeconversion,0,0,706,718 +,kmt + + +subs,traeprecioc,0,0,693,703 +,kmt + + +subs,traeprecio2,0,0,664,690 +,kmt,starter,skmt + +,traealmacen +subs,dameusuariodedb,0,0,583,592 +,kmt,starter,ruta,,errorlog + +,revisabd +subs,traeusuario,0,0,1009,1017 +starter,skmt + + +subs,traeentregados,0,0,913,927 +starter,skmt + + +subs,traerechazados,0,0,930,944 +starter,skmt + + +subs,traevendidos,0,0,947,961 +starter,skmt + + +subs,borraarribade100errores,0,0,441,447 +,errorlog,starter,ruta,,kmt + +,revisabd +subs,revisabd,0,0,195,221 +starter,ruta,,kmt,,errorlog + + +subs,borraarribade600renglonesbitacora,0,0,450,462 +,kmt,starter,ruta,,errorlog + +,revisabd +subs,borralogdb,0,0,329,333 +,kmt + + +subs,borramosarchivogps,0,0,186,192 + + + +subs,compress,0,0,39,48 +,gzip,,su + + +subs,copiadb,0,0,538,567 + + + +subs,createbitmapwithnumber,0,0,1058,1076 + + + +subs,dameerroresjson,0,0,475,502 +,gzip,,su + +,compress +subs,dameruta,0,0,142,169 +,rutahrsatras,,kmt,starter,ruta,,rutamaxpoints,b4xpages,mpm,,gzip,,su + +,fechakmt,,fechainiciohoy,b4xpages,mainpage,,compress,b4xpages,getmanager +subs,fechainiciohoy,0,0,288,295 + + + +subs,decompress,0,0,51,59 +,su + + +subs,deleteerrorlog_db,0,0,178,183 +,errorlog,starter,ruta,,kmt + +,revisabd +subs,deletegps_db,0,0,172,175 +,kmt + + +subs,fechakmt2ticks,0,0,505,526 + + + +subs,getphnid,0,0,19,36 +,devmodel,,phn +,devmodel + +subs,getssid,0,0,224,229 + + + +subs,guardainfoenarchivo,0,0,112,125 + + + +subs,guardainfoenbd,0,0,128,139 +,kmt,b4xpages,mpm,starter,ruta,,errorlog + +b4xpages,mainpage,,revisabd,b4xpages,getmanager +subs,hmskmt,0,0,73,81 + + + +subs,insertaenerrores,0,0,577,580 +,errorlog,starter,ruta,,kmt + +,revisabd,,fechakmt +subs,insertarenglonespruebaenerrorlog,0,0,465,472 +,errorlog,starter,ruta,,kmt + +,revisabd,,fechakmt +subs,installapk,0,0,528,535 + + + +subs,json2map,0,0,232,244 +,kmt + +,log2db,,fechakmt +subs,log2db,0,0,298,301 +,kmt + +,fechakmt +subs,mandamosloc,0,0,269,285 + + + +subs,map2json,0,0,247,254 + + + +subs,masdexxmins,0,0,304,310 + + + +subs,masdexxminskmt,0,0,313,326 + + +,fechakmt2ticks +subs,monitor,0,0,336,354 + + + +subs,notihigh,0,0,84,95 + + + +subs,notilowreturn,0,0,98,109 + + + +subs,process_globals,0,1,3,16 +,rutamaxpoints,,rutahrsatras +,rutamaxpoints,,rutahrsatras + +subs,prodrechazo,0,0,824,851 +starter,skmt,,kmt + +,traeprecio,,traealmacen,,traecliente +subs,traeprecio,0,0,635,661 +,kmt,starter,skmt + +,traealmacen +subs,revisaflp,0,0,372,397 +tracker,flp,tracker,uugcoords,,kmt + +,fechakmt,,log2db +subs,revisapushservice,0,0,400,438 + + + +subs,revisauug,0,0,358,369 +tracker,flp,tracker,uugcoords,,kmt,b4xpages,mpm +tracker,uugcoords +,revisaflp,b4xpages,mainpage,,fechakmt,,log2db,b4xpages,getmanager +subs,traecantidadrechazada,0,0,757,766 +starter,skmt + + +subs,traecantidadvendida,0,0,769,778 +starter,skmt + + +subs,traefechareparto,0,0,731,740 +starter,skmt + + +subs,traemaxcantidad,0,0,781,790 +starter,skmt + + +subs,traemoscantymonto,0,0,853,879 + + + +subs,traenombre,0,0,624,632 +,kmt + + +subs,traerutaprev,0,0,1047,1055 +starter,skmt + + +fileprovider,getfileuri,0,0,22,36 + + + +fileprovider,initialize,0,0,8,19 + + + +fileprovider,class_globals,0,0,2,6 + + + +fileprovider,setfileuriasintentdata,0,0,40,44 + + +,getfileuri +dbrequestmanager,initialize,0,0,17,20 + + + +dbrequestmanager,executequery,0,0,26,36 + + +,startjob,,writeobject,,writeint,,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme +dbrequestmanager,handlejob,0,0,182,218 +httputils2service,tempfolder + +httpjob,getinputstream,,readobject,,readint,,readbyte,,readbytesfully +dbrequestmanager,executecommand,0,0,55,57 + + +,executebatch,,startjob,,writeint,,writeobject,,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme +dbrequestmanager,bytestoimage,0,0,239,245 + + + +dbrequestmanager,class_globals,0,0,2,13 + + + +dbrequestmanager,executebatch,0,0,41,52 + + +,startjob,,writeint,,writeobject,,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme +dbrequestmanager,startjob,0,0,59,67 + + +httpjob,initialize,,writeobject,,writeint +dbrequestmanager,writeint,0,0,164,168 + + + +dbrequestmanager,writeobject,0,0,82,117 + + +,writeint +dbrequestmanager,writelist,0,0,69,80 + + +,writeobject,,writeint +dbrequestmanager,filetobytes,0,0,221,228 + + + +dbrequestmanager,readobject,0,0,119,153 + + +,readbytesfully,,readbyte,,readint +dbrequestmanager,readint,0,0,170,173 + + +,readbytesfully +dbrequestmanager,readbyte,0,0,175,179 + + + +dbrequestmanager,imagetobytes,0,0,231,237 + + + +dbrequestmanager,printtable,0,0,248,264 + + + +dbrequestmanager,readbytesfully,0,0,155,162 + + + +c_principal,initialize,0,0,135,137 + + + +c_principal,checachek,0,0,773,784 +starter,skmt + + +c_principal,b_carga_click,1,0,2817,2852 +starter,skmt,starter,mac_impresora,b4xpages,mpm,starter,reqmanager,starter,server,starter,ruta,starter,timer1,starter,interval,subs,kmt +starter,mac_impresora,starter,skmt,starter,reqmanager +,b4xpage_appear,subs,centrapanel,,to_number_vb,b4xpages,mainpage,batteryutilities,initialize,batteryutilities,getbatteryinformation,starter,envia_ultima_gps,subs,traeentregados,subs,traerechazados,subs,traevendidos,subs,traeconversion,dbrequestmanager,initialize,escposprinter,initialize,escposprinter,isconnected,escposprinter,disconnect,escposprinter,connect,b4xpages,getmanager,starter,isconnectedtointernet,dbrequestmanager,executequery,dbrequestmanager,executecommand,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,dbrequestmanager,executebatch +c_principal,b4xpage_appear,1,1,204,771 +starter,skmt,starter,mac_impresora,b4xpages,mpm,starter,reqmanager,starter,server,starter,ruta,starter,timer1,starter,interval,subs,kmt +starter,mac_impresora,starter,skmt,starter,reqmanager +subs,centrapanel,,to_number_vb,b4xpages,mainpage,batteryutilities,initialize,batteryutilities,getbatteryinformation,starter,envia_ultima_gps,subs,traeentregados,subs,traerechazados,subs,traevendidos,subs,traeconversion,dbrequestmanager,initialize,escposprinter,initialize,escposprinter,isconnected,escposprinter,disconnect,escposprinter,connect,b4xpages,getmanager,starter,isconnectedtointernet,dbrequestmanager,executequery,dbrequestmanager,executecommand,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,dbrequestmanager,executebatch +c_principal,b_check_click,1,0,2603,2607 +b4xpages,mpm,starter,skmt,starter,cedislocation,subs,kmt,starter,ruta,subs,errorlog + +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_buscar,b4xpage_created,c_cheklist,b4xpage_created,c_cliente,b4xpage_created,c_clientes,b4xpage_created,c_detalle_promo,b4xpage_created,c_detalleventa,b4xpage_created,c_foto,b4xpage_created,,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_noventa,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xpages,settitle,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_pedidos,initialize,c_buscar,initialize,c_detalleventa,initialize,c_detalle_promo,initialize,c_tabulador,initialize,c_cheklist,initialize,subs,agregacolumna,dbrequestmanager,initialize,b4xpages,mainpage,fileprovider,initialize,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xcombobox,setitems,b4xcombobox,setselectedindex,b4xorderedmap,initialize,subs,setdivider,dbrequestmanager,executequery,subs,dameusuariodedb,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,subs,revisabd,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_principal,b_clieprod_click,0,0,2332,2572 +starter,skmt + +subs,setdivider,subs,traealmacen +c_principal,b_imp_inventario_click,1,0,3005,3147 +starter,skmt,starter,mac_impresora,subs,kmt,starter,ruta,subs,errorlog +starter,mac_impresora +escposprinter,disconnect,escposprinter,isconnected,escposprinter,connect,escposprinter,setjustify,escposprinter,imagetobwimage,escposprinter,ditherimage2d,escposprinter,packimage,escposprinter,writestring,escposprinter,printimage,subs,dameusuariodedb,escposprinter,writestring2,escposprinter,astream_error,escposprinter,writebytes,subs,revisabd +c_principal,b_impresion_rec_click,1,0,3150,3259 +starter,skmt,starter,mac_impresora +starter,mac_impresora +escposprinter,disconnect,escposprinter,isconnected,escposprinter,connect,escposprinter,writestring,escposprinter,setjustify,escposprinter,writestring2,escposprinter,astream_error +c_principal,b_mapa_click,1,0,2270,2273 +b4xpages,mpm,starter,skmt,starter,cedislocation,subs,kmt,starter,ruta,subs,errorlog + +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_buscar,b4xpage_created,c_cheklist,b4xpage_created,c_cliente,b4xpage_created,c_clientes,b4xpage_created,c_detalle_promo,b4xpage_created,c_detalleventa,b4xpage_created,c_foto,b4xpage_created,,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_noventa,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xpages,settitle,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_pedidos,initialize,c_buscar,initialize,c_detalleventa,initialize,c_detalle_promo,initialize,c_tabulador,initialize,c_cheklist,initialize,subs,agregacolumna,dbrequestmanager,initialize,b4xpages,mainpage,fileprovider,initialize,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xcombobox,setitems,b4xcombobox,setselectedindex,b4xorderedmap,initialize,subs,setdivider,dbrequestmanager,executequery,subs,dameusuariodedb,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,subs,revisabd,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_principal,b_pc_env_click,0,0,3499,3564 +starter,skmt + + +c_principal,b_rechazos_click,0,0,2621,2675 +starter,skmt + + +c_principal,b_regresa_click,0,0,2574,2582 + + + +c_principal,b_regreso_click,0,0,2677,2679 + + + +c_principal,b_tabulador_click,1,0,2595,2601 +b4xpages,mpm,starter,skmt,starter,cedislocation,subs,kmt,starter,ruta,subs,errorlog + +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_buscar,b4xpage_created,c_cheklist,b4xpage_created,c_cliente,b4xpage_created,c_clientes,b4xpage_created,c_detalle_promo,b4xpage_created,c_detalleventa,b4xpage_created,c_foto,b4xpage_created,,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_noventa,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xpages,settitle,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_pedidos,initialize,c_buscar,initialize,c_detalleventa,initialize,c_detalle_promo,initialize,c_tabulador,initialize,c_cheklist,initialize,subs,agregacolumna,dbrequestmanager,initialize,b4xpages,mainpage,fileprovider,initialize,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xcombobox,setitems,b4xcombobox,setselectedindex,b4xorderedmap,initialize,subs,setdivider,dbrequestmanager,executequery,subs,dameusuariodedb,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,subs,revisabd,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_principal,b_terpc_click,1,1,3263,3497 +starter,skmt,b4xpages,mpm,starter,cedislocation,subs,kmt,starter,ruta,subs,errorlog + +subs,traecliente,subs,traealmacen,subs,traeusuario,subs,traefechaprev,subs,traerutareparto,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_buscar,b4xpage_created,c_cheklist,b4xpage_created,c_cliente,b4xpage_created,c_clientes,b4xpage_created,c_detalle_promo,b4xpage_created,c_detalleventa,b4xpage_created,c_foto,b4xpage_created,,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_noventa,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xpages,settitle,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_pedidos,initialize,c_buscar,initialize,c_detalleventa,initialize,c_detalle_promo,initialize,c_tabulador,initialize,c_cheklist,initialize,subs,agregacolumna,dbrequestmanager,initialize,b4xpages,mainpage,fileprovider,initialize,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xcombobox,setitems,b4xcombobox,setselectedindex,b4xorderedmap,initialize,subs,setdivider,dbrequestmanager,executequery,subs,dameusuariodedb,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,subs,revisabd,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_principal,b_venta_emp_click,1,0,2685,2771 +starter,skmt + +subs,panelvisible,,createlistitem,,createlistitem2 +c_principal,createlistitem,1,0,3570,3585 + + + +c_principal,createlistitem2,1,0,3587,3601 + + + +c_principal,to_number_vb,0,0,797,807 + + + +c_principal,b4xpage_closerequest,1,0,2218,2232 +b4xpages,mpm,starter,skmt,starter,cedislocation,subs,kmt,starter,ruta,subs,errorlog + +,b_regresa_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,c_buscar,b4xpage_created,c_cheklist,b4xpage_created,c_cliente,b4xpage_created,c_clientes,b4xpage_created,c_detalle_promo,b4xpage_created,c_detalleventa,b4xpage_created,c_foto,b4xpage_created,,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_noventa,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xpages,settitle,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_pedidos,initialize,c_buscar,initialize,c_detalleventa,initialize,c_detalle_promo,initialize,c_tabulador,initialize,c_cheklist,initialize,subs,agregacolumna,dbrequestmanager,initialize,b4xpages,mainpage,fileprovider,initialize,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xcombobox,setitems,b4xcombobox,setselectedindex,b4xorderedmap,initialize,subs,setdivider,dbrequestmanager,executequery,subs,dameusuariodedb,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,subs,revisabd,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_principal,b4xpage_created,1,0,140,202 +starter,skmt,b4xpages,mpm,subs,kmt,starter,ruta,subs,errorlog + +dbrequestmanager,initialize,b4xpages,mainpage,dbrequestmanager,executequery,subs,dameusuariodedb,b4xpages,getmanager,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,subs,revisabd +c_principal,btn_ubicar_ru_click,0,0,2585,2592 + + + +c_principal,busca_click,1,0,2261,2268 +b4xpages,mpm,starter,skmt,starter,cedislocation,subs,kmt,starter,ruta,subs,errorlog + +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_buscar,b4xpage_created,c_cheklist,b4xpage_created,c_cliente,b4xpage_created,c_clientes,b4xpage_created,c_detalle_promo,b4xpage_created,c_detalleventa,b4xpage_created,c_foto,b4xpage_created,,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_noventa,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xpages,settitle,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_pedidos,initialize,c_buscar,initialize,c_detalleventa,initialize,c_detalle_promo,initialize,c_tabulador,initialize,c_cheklist,initialize,subs,agregacolumna,dbrequestmanager,initialize,b4xpages,mainpage,fileprovider,initialize,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xcombobox,setitems,b4xcombobox,setselectedindex,b4xorderedmap,initialize,subs,setdivider,dbrequestmanager,executequery,subs,dameusuariodedb,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,subs,revisabd,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_principal,cargar____click,0,0,1402,1584 +starter,skmt,b4xpages,mpm,subs,kmt,starter,ruta,subs,errorlog + +b4xpages,mainpage,dbrequestmanager,initialize,subs,dameusuariodedb,subs,traeentregados,subs,traerechazados,dbrequestmanager,executecommand,dbrequestmanager,executequery,,isconnectedtointernet,b4xpages,getmanager,subs,revisabd,dbrequestmanager,executebatch,dbrequestmanager,startjob,dbrequestmanager,writeint,dbrequestmanager,writeobject,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme +c_principal,isconnectedtointernet,0,0,786,795 + + + +c_principal,cargar_click,0,0,1237,1400 +starter,skmt,b4xpages,mpm,subs,kmt,starter,ruta,subs,errorlog + +b4xpages,mainpage,dbrequestmanager,initialize,subs,dameusuariodedb,subs,traeentregados,subs,traerechazados,dbrequestmanager,executecommand,dbrequestmanager,executequery,,isconnectedtointernet,b4xpages,getmanager,subs,revisabd,dbrequestmanager,executebatch,dbrequestmanager,startjob,dbrequestmanager,writeint,dbrequestmanager,writeobject,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme +c_principal,class_globals,0,0,1,132 + + + +c_principal,connecta_click,0,0,2234,2259 +starter,skmt,b4xpages,mpm + +b4xpages,mainpage,,isconnectedtointernet,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,2275,2307 +starter,skmt,starter,mac_impresora,b4xpages,mpm,starter,reqmanager,starter,server,starter,ruta,starter,timer1,starter,interval,subs,kmt +starter,mac_impresora,starter,skmt,starter,reqmanager +,b4xpage_appear,subs,centrapanel,,to_number_vb,b4xpages,mainpage,batteryutilities,initialize,batteryutilities,getbatteryinformation,starter,envia_ultima_gps,subs,traeentregados,subs,traerechazados,subs,traevendidos,subs,traeconversion,dbrequestmanager,initialize,escposprinter,initialize,escposprinter,isconnected,escposprinter,disconnect,escposprinter,connect,b4xpages,getmanager,starter,isconnectedtointernet,dbrequestmanager,executequery,dbrequestmanager,executecommand,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,dbrequestmanager,executebatch +c_principal,envioinfo,0,0,843,1235 +starter,skmt,subs,kmt,starter,ruta,subs,errorlog + +dbrequestmanager,executecommand,dbrequestmanager,executequery,subs,dameusuariodedb,subs,traeentregados,subs,traerechazados,dbrequestmanager,executebatch,dbrequestmanager,startjob,dbrequestmanager,writeint,dbrequestmanager,writeobject,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,subs,revisabd +c_principal,inv_click,0,0,2309,2311 + + + +c_principal,jobdone,1,0,1586,2216 +starter,skmt,starter,cedislocation,httputils2service,tempfolder,starter,mac_impresora,b4xpages,mpm,starter,reqmanager,starter,server,starter,ruta,starter,timer1,starter,interval,subs,kmt,subs,errorlog +starter,mac_impresora,starter,skmt,starter,reqmanager +dbrequestmanager,handlejob,,b4xpage_appear,dbrequestmanager,executecommand,,envioinfo,subs,dameusuariodedb,b4xpages,mainpage,httpjob,release,httpjob,getinputstream,dbrequestmanager,readobject,dbrequestmanager,readint,dbrequestmanager,readbyte,dbrequestmanager,readbytesfully,subs,centrapanel,,to_number_vb,batteryutilities,initialize,batteryutilities,getbatteryinformation,starter,envia_ultima_gps,subs,traeentregados,subs,traerechazados,subs,traevendidos,subs,traeconversion,dbrequestmanager,initialize,escposprinter,initialize,escposprinter,isconnected,escposprinter,disconnect,escposprinter,connect,b4xpages,getmanager,starter,isconnectedtointernet,dbrequestmanager,executequery,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,dbrequestmanager,executebatch,subs,revisabd +c_principal,listview1_itemclick,1,0,2609,2619 +starter,skmt,b4xpages,mpm,starter,cedislocation,subs,kmt,starter,ruta,subs,errorlog + +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_buscar,b4xpage_created,c_cheklist,b4xpage_created,c_cliente,b4xpage_created,c_clientes,b4xpage_created,c_detalle_promo,b4xpage_created,c_detalleventa,b4xpage_created,c_foto,b4xpage_created,,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_noventa,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xpages,settitle,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_pedidos,initialize,c_buscar,initialize,c_detalleventa,initialize,c_detalle_promo,initialize,c_tabulador,initialize,c_cheklist,initialize,subs,agregacolumna,dbrequestmanager,initialize,b4xpages,mainpage,fileprovider,initialize,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xcombobox,setitems,b4xcombobox,setselectedindex,b4xorderedmap,initialize,subs,setdivider,dbrequestmanager,executequery,subs,dameusuariodedb,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,subs,revisabd,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_principal,p_carga_click,0,0,2813,2815 + + + +c_principal,p_ciego_click,0,0,3566,3568 + + + +c_principal,p_prod_click,0,0,2681,2683 + + + +c_principal,printer_connected,1,0,2954,2964 + + +,startprinter +c_principal,startprinter,1,0,2966,3003 + + + +c_principal,printer1_connected,0,0,2929,2948 +starter,skmt,starter,mac_impresora +starter,mac_impresora + +c_principal,printer1_error,0,0,2950,2952 + + + +c_principal,subir_click,0,0,819,839 +starter,skmt,subs,kmt,starter,ruta,subs,errorlog + +,isconnectedtointernet,,envioinfo,dbrequestmanager,executecommand,dbrequestmanager,executequery,subs,dameusuariodedb,subs,traeentregados,subs,traerechazados,dbrequestmanager,executebatch,dbrequestmanager,startjob,dbrequestmanager,writeint,dbrequestmanager,writeobject,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,subs,revisabd +c_principal,t1_tick,0,0,2313,2330 + + +dbrequestmanager,executequery,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme +c_principal,t8_tick,0,0,2801,2811 + + +dbrequestmanager,executequery,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme +c_principal,trabajar_click,1,0,809,817 +b4xpages,mpm,starter,skmt,starter,cedislocation,subs,kmt,starter,ruta,subs,errorlog + +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_buscar,b4xpage_created,c_cheklist,b4xpage_created,c_cliente,b4xpage_created,c_clientes,b4xpage_created,c_detalle_promo,b4xpage_created,c_detalleventa,b4xpage_created,c_foto,b4xpage_created,,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_noventa,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xpages,settitle,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_pedidos,initialize,c_buscar,initialize,c_detalleventa,initialize,c_detalle_promo,initialize,c_tabulador,initialize,c_cheklist,initialize,subs,agregacolumna,dbrequestmanager,initialize,b4xpages,mainpage,fileprovider,initialize,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xcombobox,setitems,b4xcombobox,setselectedindex,b4xorderedmap,initialize,subs,setdivider,dbrequestmanager,executequery,subs,dameusuariodedb,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,subs,revisabd,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_clientes,initialize,0,0,31,33 + + + +c_clientes,activity_keypress,1,0,219,233 +starter,skmt,starter,cedislocation,b4xpages,mpm,subs,kmt,starter,ruta,subs,errorlog + +,b4xpage_created,b4xpages,showpage,b4xorderedmap,initialize,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_buscar,b4xpage_created,c_cheklist,b4xpage_created,c_cliente,b4xpage_created,c_detalle_promo,b4xpage_created,c_detalleventa,b4xpage_created,c_foto,b4xpage_created,c_principal,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_noventa,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xpages,settitle,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_pedidos,initialize,c_buscar,initialize,c_detalleventa,initialize,c_detalle_promo,initialize,c_tabulador,initialize,c_cheklist,initialize,subs,agregacolumna,dbrequestmanager,initialize,b4xpages,mainpage,fileprovider,initialize,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xcombobox,setitems,b4xcombobox,setselectedindex,subs,setdivider,dbrequestmanager,executequery,subs,dameusuariodedb,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,subs,revisabd,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_clientes,b4xpage_created,1,0,36,45 +starter,skmt,starter,cedislocation + +b4xorderedmap,initialize +c_clientes,b_getdirs_click,0,0,466,512 +tracker,uugcoords,starter,skmt,httputils2service,tempfolder + +b4xorderedmap,getkeys,b4xorderedmap,get,,distanciaentrecoords,b4xorderedmap,put,httpjob,initialize,httpjob,download,httpjob,getstring,httpjob,release,httpjob,addscheme,httpjob,getstring2 +c_clientes,distanciaentrecoords,0,0,262,296 +httputils2service,tempfolder + +httpjob,initialize,httpjob,download,httpjob,getstring,httpjob,release,httpjob,addscheme,httpjob,getstring2 +c_clientes,b_getrutainfo_click,0,0,570,573 +tracker,uugcoords,starter,cedislocation,starter,skmt,httputils2service,tempfolder + +,cacularutagps,,todosavisitar,httpjob,initialize,httpjob,download,subs,traerutareparto,subs,traealmacen,httpjob,getstring,subs,centraetiqueta,httpjob,release,httpjob,addscheme,httpjob,getstring2 +c_clientes,cacularutagps,0,0,591,663 +tracker,uugcoords,starter,cedislocation,starter,skmt,httputils2service,tempfolder + +httpjob,initialize,httpjob,download,subs,traerutareparto,subs,traealmacen,httpjob,getstring,subs,centraetiqueta,httpjob,release,httpjob,addscheme,httpjob,getstring2 +c_clientes,todosavisitar,0,0,666,681 +starter,skmt + + +c_clientes,b_getrutainfo_longclick,0,0,576,582 + + + +c_clientes,b_limpiarruta_click,1,0,585,589 +starter,skmt,starter,cedislocation + +,b4xpage_appear,subs,centralistview,subs,setdivider,,generalistviewrutas,subs,centraetiqueta +c_clientes,b4xpage_appear,1,0,49,110 +starter,skmt,starter,cedislocation + +subs,centralistview,subs,setdivider,,generalistviewrutas,subs,centraetiqueta +c_clientes,generalistviewrutas,0,0,195,217 +starter,skmt + + +c_clientes,b4xpage_closerequest,1,0,113,125 +starter,skmt,starter,cedislocation,b4xpages,mpm,subs,kmt,starter,ruta,subs,errorlog + +,b_limpiarruta_click,b4xpages,showpage,,b4xpage_appear,subs,centralistview,subs,setdivider,,generalistviewrutas,subs,centraetiqueta,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_buscar,b4xpage_created,c_cheklist,b4xpage_created,c_cliente,b4xpage_created,,b4xpage_created,c_detalle_promo,b4xpage_created,c_detalleventa,b4xpage_created,c_foto,b4xpage_created,c_principal,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_noventa,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xpages,settitle,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_pedidos,initialize,c_buscar,initialize,c_detalleventa,initialize,c_detalle_promo,initialize,c_tabulador,initialize,c_cheklist,initialize,subs,agregacolumna,dbrequestmanager,initialize,b4xpages,mainpage,fileprovider,initialize,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xcombobox,setitems,b4xcombobox,setselectedindex,b4xorderedmap,initialize,dbrequestmanager,executequery,subs,dameusuariodedb,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,subs,revisabd,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_clientes,busca_textchanged,0,0,235,257 +starter,skmt + +subs,setdivider +c_clientes,class_globals,0,0,1,28 + + + +c_clientes,listview1_itemclick,1,0,127,192 +starter,skmt,tracker,uugcoords,b4xpages,mpm,starter,cedislocation,subs,kmt,starter,ruta,subs,errorlog + +subs,setdivider,b4xorderedmap,initialize,b4xorderedmap,put,b4xorderedmap,getkeys,b4xorderedmap,get,b4xpages,showpage,b4xpages,getmanager,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,c_buscar,b4xpage_created,c_cheklist,b4xpage_created,c_cliente,b4xpage_created,,b4xpage_created,c_detalle_promo,b4xpage_created,c_detalleventa,b4xpage_created,c_foto,b4xpage_created,c_principal,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_noventa,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xpages,settitle,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_pedidos,initialize,c_buscar,initialize,c_detalleventa,initialize,c_detalle_promo,initialize,c_tabulador,initialize,c_cheklist,initialize,subs,agregacolumna,dbrequestmanager,initialize,b4xpages,mainpage,fileprovider,initialize,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xcombobox,setitems,b4xcombobox,setselectedindex,dbrequestmanager,executequery,subs,dameusuariodedb,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,subs,revisabd,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_clientes,traerutadia,0,0,300,463 +starter,cedislocation,starter,skmt,httputils2service,tempfolder + +b4xorderedmap,getkeys,b4xorderedmap,get,httpjob,initialize,httpjob,download,httpjob,getstring,httpjob,release,subs,centraetiqueta,httpjob,addscheme,httpjob,getstring2 +c_clientes,traetodosavisitar,0,0,515,567 +starter,cedislocation,starter,skmt,tracker,uugcoords + +b4xorderedmap,clear,b4xorderedmap,containskey,b4xorderedmap,put,b4xorderedmap,getkeys,b4xorderedmap,getsize +c_cliente,initialize,0,0,103,105 + + + +c_cliente,activity_pause,0,0,412,414 + + + +c_cliente,b_abono_click,1,0,2083,2124 +starter,skmt,starter,mac_impresora,subs,kmt,starter,ruta,subs,errorlog,b4xpages,mpm,starter,cedislocation +starter,mac_impresora +,imprime_abonopagare,escposprinter,disconnect,escposprinter,isconnected,escposprinter,connect,escposprinter,writestring,escposprinter,writebarcode,subs,traeusuariodebd,subs,traeruta,subs,traecliente,subs,fechakmt,,b4xpage_appear,b4xpages,mainpage,b4xpages,showpage,escposprinter,writestring2,escposprinter,astream_error,escposprinter,writebytes,subs,revisabd,subs,centrapanel,dbrequestmanager,initialize,subs,traecantymonto2,subs,traealmacen,escposprinter,initialize,b4xpages,getmanager,subs,traeprecio,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_buscar,b4xpage_created,c_cheklist,b4xpage_created,,b4xpage_created,c_clientes,b4xpage_created,c_detalle_promo,b4xpage_created,c_detalleventa,b4xpage_created,c_foto,b4xpage_created,c_principal,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_noventa,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xpages,settitle,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_pedidos,initialize,c_buscar,initialize,c_detalleventa,initialize,c_detalle_promo,initialize,c_tabulador,initialize,c_cheklist,initialize,subs,agregacolumna,fileprovider,initialize,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xcombobox,setitems,b4xcombobox,setselectedindex,b4xorderedmap,initialize,subs,setdivider,dbrequestmanager,executequery,subs,dameusuariodedb,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_cliente,imprime_abonopagare,1,0,1571,1921 +starter,skmt,starter,mac_impresora,subs,kmt,starter,ruta,subs,errorlog,b4xpages,mpm,starter,cedislocation +starter,mac_impresora +escposprinter,disconnect,escposprinter,isconnected,escposprinter,connect,escposprinter,writestring,escposprinter,writebarcode,,imprime_abonopagare,subs,traeusuariodebd,subs,traeruta,subs,traecliente,subs,fechakmt,,b4xpage_appear,b4xpages,mainpage,b4xpages,showpage,escposprinter,writestring2,escposprinter,astream_error,escposprinter,writebytes,subs,revisabd,subs,centrapanel,dbrequestmanager,initialize,subs,traecantymonto2,subs,traealmacen,escposprinter,initialize,b4xpages,getmanager,subs,traeprecio,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_buscar,b4xpage_created,c_cheklist,b4xpage_created,,b4xpage_created,c_clientes,b4xpage_created,c_detalle_promo,b4xpage_created,c_detalleventa,b4xpage_created,c_foto,b4xpage_created,c_principal,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_noventa,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xpages,settitle,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_pedidos,initialize,c_buscar,initialize,c_detalleventa,initialize,c_detalle_promo,initialize,c_tabulador,initialize,c_cheklist,initialize,subs,agregacolumna,fileprovider,initialize,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xcombobox,setitems,b4xcombobox,setselectedindex,b4xorderedmap,initialize,subs,setdivider,dbrequestmanager,executequery,subs,dameusuariodedb,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_cliente,b_acred_click,1,0,1259,1324 +starter,skmt,b4xpages,mpm,starter,cedislocation,subs,kmt,starter,ruta,subs,errorlog + +,guardado,subs,traefechaprev,b4xpages,mainpage,,mandapendientesreparto,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_buscar,b4xpage_created,c_cheklist,b4xpage_created,,b4xpage_created,c_clientes,b4xpage_created,c_detalle_promo,b4xpage_created,c_detalleventa,b4xpage_created,c_foto,b4xpage_created,c_principal,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_noventa,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xpages,settitle,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_pedidos,initialize,c_buscar,initialize,c_detalleventa,initialize,c_detalle_promo,initialize,c_tabulador,initialize,c_cheklist,initialize,subs,agregacolumna,dbrequestmanager,initialize,fileprovider,initialize,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xcombobox,setitems,b4xcombobox,setselectedindex,b4xorderedmap,initialize,subs,setdivider,dbrequestmanager,executequery,subs,dameusuariodedb,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,subs,revisabd,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_cliente,guardado,1,0,483,530 +starter,skmt,b4xpages,mpm,starter,cedislocation,subs,kmt,starter,ruta,subs,errorlog + +subs,traefechaprev,b4xpages,mainpage,,mandapendientesreparto,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_buscar,b4xpage_created,c_cheklist,b4xpage_created,,b4xpage_created,c_clientes,b4xpage_created,c_detalle_promo,b4xpage_created,c_detalleventa,b4xpage_created,c_foto,b4xpage_created,c_principal,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_noventa,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xpages,settitle,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_pedidos,initialize,c_buscar,initialize,c_detalleventa,initialize,c_detalle_promo,initialize,c_tabulador,initialize,c_cheklist,initialize,subs,agregacolumna,dbrequestmanager,initialize,fileprovider,initialize,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xcombobox,setitems,b4xcombobox,setselectedindex,b4xorderedmap,initialize,subs,setdivider,dbrequestmanager,executequery,subs,dameusuariodedb,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,subs,revisabd,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_cliente,b_cancel_pagare_click,1,0,1923,2014 +starter,skmt + +b4xcombobox,setitems,,createlistitem,b4xcombobox,setselectedindex +c_cliente,createlistitem,1,0,2020,2032 + + + +c_cliente,b_cancelar_click,1,0,2034,2038 + + + +c_cliente,b_cancred_click,1,0,1326,1329 + + + +c_cliente,b_cxc_click,1,0,1482,1569 +starter,skmt + +b4xcombobox,setitems,,createlistitem,b4xcombobox,setselectedindex +c_cliente,b_imp_click,1,0,655,1113 +starter,skmt,starter,mac_impresora,b4xpages,mpm,starter,cedislocation,subs,kmt,starter,ruta,subs,errorlog +starter,mac_impresora +escposprinter,disconnect,escposprinter,isconnected,escposprinter,connect,escposprinter,writestring,subs,traealmacen,escposprinter,setjustify,,b_imp_click,,imprime_pagare,,guardado,escposprinter,writestring2,escposprinter,astream_error,escposprinter,writebarcode,,b_acred_click,escposprinter,writebytes,subs,traefechaprev,b4xpages,mainpage,,mandapendientesreparto,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_buscar,b4xpage_created,c_cheklist,b4xpage_created,,b4xpage_created,c_clientes,b4xpage_created,c_detalle_promo,b4xpage_created,c_detalleventa,b4xpage_created,c_foto,b4xpage_created,c_principal,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_noventa,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xpages,settitle,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_pedidos,initialize,c_buscar,initialize,c_detalleventa,initialize,c_detalle_promo,initialize,c_tabulador,initialize,c_cheklist,initialize,subs,agregacolumna,dbrequestmanager,initialize,fileprovider,initialize,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xcombobox,setitems,b4xcombobox,setselectedindex,b4xorderedmap,initialize,subs,setdivider,dbrequestmanager,executequery,subs,dameusuariodedb,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,subs,revisabd,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_cliente,imprime_pagare,1,0,2126,2420 +starter,skmt,starter,mac_impresora,b4xpages,mpm,starter,cedislocation,subs,kmt,starter,ruta,subs,errorlog +starter,mac_impresora +escposprinter,disconnect,escposprinter,isconnected,escposprinter,connect,escposprinter,writestring,subs,traealmacen,escposprinter,setjustify,escposprinter,writebarcode,,imprime_pagare,,b_acred_click,escposprinter,writestring2,escposprinter,astream_error,escposprinter,writebytes,,guardado,subs,traefechaprev,b4xpages,mainpage,,mandapendientesreparto,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_buscar,b4xpage_created,c_cheklist,b4xpage_created,,b4xpage_created,c_clientes,b4xpage_created,c_detalle_promo,b4xpage_created,c_detalleventa,b4xpage_created,c_foto,b4xpage_created,c_principal,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_noventa,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xpages,settitle,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_pedidos,initialize,c_buscar,initialize,c_detalleventa,initialize,c_detalle_promo,initialize,c_tabulador,initialize,c_cheklist,initialize,subs,agregacolumna,dbrequestmanager,initialize,fileprovider,initialize,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xcombobox,setitems,b4xcombobox,setselectedindex,b4xorderedmap,initialize,subs,setdivider,dbrequestmanager,executequery,subs,dameusuariodedb,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,subs,revisabd,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_cliente,b_imp2_click,1,0,2448,2869 +starter,skmt,starter,mac_impresora,b4xpages,mpm,starter,cedislocation,subs,kmt,starter,ruta,subs,errorlog +starter,mac_impresora +escposprinter,disconnect,escposprinter,isconnected,escposprinter,connect,escposprinter,writestring,subs,traealmacen,escposprinter,setjustify,,b_imp_click,escposprinter,writestring2,escposprinter,astream_error,,imprime_pagare,,guardado,escposprinter,writebarcode,,b_acred_click,escposprinter,writebytes,subs,traefechaprev,b4xpages,mainpage,,mandapendientesreparto,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_buscar,b4xpage_created,c_cheklist,b4xpage_created,,b4xpage_created,c_clientes,b4xpage_created,c_detalle_promo,b4xpage_created,c_detalleventa,b4xpage_created,c_foto,b4xpage_created,c_principal,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_noventa,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xpages,settitle,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_pedidos,initialize,c_buscar,initialize,c_detalleventa,initialize,c_detalle_promo,initialize,c_tabulador,initialize,c_cheklist,initialize,subs,agregacolumna,dbrequestmanager,initialize,fileprovider,initialize,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xcombobox,setitems,b4xcombobox,setselectedindex,b4xorderedmap,initialize,subs,setdivider,dbrequestmanager,executequery,subs,dameusuariodedb,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,subs,revisabd,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_cliente,b_noentrega_click,1,0,532,543 +starter,skmt,b4xpages,mpm,starter,cedislocation,subs,kmt,starter,ruta,subs,errorlog + +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_buscar,b4xpage_created,c_cheklist,b4xpage_created,,b4xpage_created,c_clientes,b4xpage_created,c_detalle_promo,b4xpage_created,c_detalleventa,b4xpage_created,c_foto,b4xpage_created,c_principal,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_noventa,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xpages,settitle,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_pedidos,initialize,c_buscar,initialize,c_detalleventa,initialize,c_detalle_promo,initialize,c_tabulador,initialize,c_cheklist,initialize,subs,agregacolumna,dbrequestmanager,initialize,b4xpages,mainpage,fileprovider,initialize,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xcombobox,setitems,b4xcombobox,setselectedindex,b4xorderedmap,initialize,subs,setdivider,dbrequestmanager,executequery,subs,dameusuariodedb,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,subs,revisabd,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_cliente,b_paso2_click,1,0,1191,1211 +starter,skmt,b4xpages,mpm,starter,cedislocation,subs,kmt,starter,ruta,subs,errorlog + +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_buscar,b4xpage_created,c_cheklist,b4xpage_created,,b4xpage_created,c_clientes,b4xpage_created,c_detalle_promo,b4xpage_created,c_detalleventa,b4xpage_created,c_foto,b4xpage_created,c_principal,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_noventa,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xpages,settitle,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_pedidos,initialize,c_buscar,initialize,c_detalleventa,initialize,c_detalle_promo,initialize,c_tabulador,initialize,c_cheklist,initialize,subs,agregacolumna,dbrequestmanager,initialize,fileprovider,initialize,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xcombobox,setitems,b4xcombobox,setselectedindex,b4xorderedmap,initialize,subs,setdivider,dbrequestmanager,executequery,subs,dameusuariodedb,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,subs,revisabd,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_cliente,b4xpage_appear,1,0,147,410 +starter,skmt,starter,ruta,starter,mac_impresora,b4xpages,mpm,subs,kmt +starter,mac_impresora +subs,centrapanel,dbrequestmanager,initialize,b4xpages,mainpage,subs,traecantymonto2,subs,traecliente,subs,traealmacen,escposprinter,initialize,escposprinter,isconnected,escposprinter,disconnect,escposprinter,connect,b4xpages,getmanager,subs,traeprecio +c_cliente,b4xpage_closerequest,1,0,545,560 +b4xpages,mpm,starter,skmt,starter,cedislocation,subs,kmt,starter,ruta,subs,errorlog + +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_buscar,b4xpage_created,c_cheklist,b4xpage_created,,b4xpage_created,c_clientes,b4xpage_created,c_detalle_promo,b4xpage_created,c_detalleventa,b4xpage_created,c_foto,b4xpage_created,c_principal,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_noventa,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xpages,settitle,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_pedidos,initialize,c_buscar,initialize,c_detalleventa,initialize,c_detalle_promo,initialize,c_tabulador,initialize,c_cheklist,initialize,subs,agregacolumna,dbrequestmanager,initialize,b4xpages,mainpage,fileprovider,initialize,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xcombobox,setitems,b4xcombobox,setselectedindex,b4xorderedmap,initialize,subs,setdivider,dbrequestmanager,executequery,subs,dameusuariodedb,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,subs,revisabd,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_cliente,b4xpage_created,1,0,108,143 +starter,skmt,b4xpages,mpm + +dbrequestmanager,initialize,b4xpages,mainpage,b4xpages,getmanager +c_cliente,cb_tipopago_selectedindexchanged,0,0,2444,2446 + + +b4xcombobox,getselecteditem,b4xcombobox,getselectedindex,b4xcombobox,getitem +c_cliente,class_globals,0,0,1,100 + + + +c_cliente,datos_click,0,0,567,569 + + + +c_cliente,gest_click,1,0,431,481 +starter,skmt,b4xpages,mpm,starter,cedislocation,subs,kmt,starter,ruta,subs,errorlog,starter,mac_impresora +starter,mac_impresora +b4xpages,showpage,,b_imp_click,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_buscar,b4xpage_created,c_cheklist,b4xpage_created,,b4xpage_created,c_clientes,b4xpage_created,c_detalle_promo,b4xpage_created,c_detalleventa,b4xpage_created,c_foto,b4xpage_created,c_principal,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_noventa,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xpages,settitle,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_pedidos,initialize,c_buscar,initialize,c_detalleventa,initialize,c_detalle_promo,initialize,c_tabulador,initialize,c_cheklist,initialize,subs,agregacolumna,dbrequestmanager,initialize,b4xpages,mainpage,fileprovider,initialize,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xcombobox,setitems,b4xcombobox,setselectedindex,b4xorderedmap,initialize,subs,setdivider,dbrequestmanager,executequery,subs,dameusuariodedb,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,subs,revisabd,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring,escposprinter,disconnect,escposprinter,isconnected,escposprinter,connect,escposprinter,writestring,subs,traealmacen,escposprinter,setjustify,,imprime_pagare,,guardado,escposprinter,writestring2,escposprinter,astream_error,escposprinter,writebarcode,,b_acred_click,escposprinter,writebytes,subs,traefechaprev,,mandapendientesreparto +c_cliente,gps_locationchanged,0,0,416,425 +starter,skmt,b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +c_cliente,mandapendientesreparto,0,0,1214,1230 + + + +c_cliente,guardar_click,1,0,571,578 +b4xpages,mpm,starter,skmt,starter,cedislocation,subs,kmt,starter,ruta,subs,errorlog + +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_buscar,b4xpage_created,c_cheklist,b4xpage_created,,b4xpage_created,c_clientes,b4xpage_created,c_detalle_promo,b4xpage_created,c_detalleventa,b4xpage_created,c_foto,b4xpage_created,c_principal,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_noventa,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xpages,settitle,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_pedidos,initialize,c_buscar,initialize,c_detalleventa,initialize,c_detalle_promo,initialize,c_tabulador,initialize,c_cheklist,initialize,subs,agregacolumna,dbrequestmanager,initialize,b4xpages,mainpage,fileprovider,initialize,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xcombobox,setitems,b4xcombobox,setselectedindex,b4xorderedmap,initialize,subs,setdivider,dbrequestmanager,executequery,subs,dameusuariodedb,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,subs,revisabd,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_cliente,hist_click,1,0,584,653 +starter,skmt,b4xpages,mpm,starter,cedislocation,subs,kmt,starter,ruta,subs,errorlog + +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_buscar,b4xpage_created,c_cheklist,b4xpage_created,,b4xpage_created,c_clientes,b4xpage_created,c_detalle_promo,b4xpage_created,c_detalleventa,b4xpage_created,c_foto,b4xpage_created,c_principal,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_noventa,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xpages,settitle,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_pedidos,initialize,c_buscar,initialize,c_detalleventa,initialize,c_detalle_promo,initialize,c_tabulador,initialize,c_cheklist,initialize,subs,agregacolumna,dbrequestmanager,initialize,fileprovider,initialize,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xcombobox,setitems,b4xcombobox,setselectedindex,b4xorderedmap,initialize,subs,setdivider,dbrequestmanager,executequery,subs,dameusuariodedb,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,subs,revisabd,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_cliente,jobdone,0,0,1234,1257 +starter,skmt,httputils2service,tempfolder + +dbrequestmanager,handlejob,httpjob,release,httpjob,getinputstream,dbrequestmanager,readobject,dbrequestmanager,readint,dbrequestmanager,readbyte,dbrequestmanager,readbytesfully +c_cliente,listview1_itemlongclick,0,0,427,429 + + + +c_cliente,nuevo_click,0,0,580,582 + + + +c_cliente,p_abono_click,0,0,2016,2018 + + + +c_cliente,p_credito_click,0,0,1331,1333 + + + +c_cliente,printer_connected,1,0,1140,1150 + + +,startprinter +c_cliente,startprinter,1,0,1152,1189 + + + +c_cliente,printer1_connected,0,0,1115,1134 +starter,skmt,starter,mac_impresora +starter,mac_impresora + +c_cliente,printer1_error,0,0,1136,1138 + + + +c_cliente,tar_click,1,0,562,565 +b4xpages,mpm,starter,skmt,starter,cedislocation,subs,kmt,starter,ruta,subs,errorlog + +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_buscar,b4xpage_created,c_cheklist,b4xpage_created,,b4xpage_created,c_clientes,b4xpage_created,c_detalle_promo,b4xpage_created,c_detalleventa,b4xpage_created,c_foto,b4xpage_created,c_principal,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_noventa,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xpages,settitle,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_pedidos,initialize,c_buscar,initialize,c_detalleventa,initialize,c_detalle_promo,initialize,c_tabulador,initialize,c_cheklist,initialize,subs,agregacolumna,dbrequestmanager,initialize,b4xpages,mainpage,fileprovider,initialize,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xcombobox,setitems,b4xcombobox,setselectedindex,b4xorderedmap,initialize,subs,setdivider,dbrequestmanager,executequery,subs,dameusuariodedb,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,subs,revisabd,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_productos,initialize,0,0,57,59 + + + +c_productos,b_guardar_click,0,0,1107,1109 + + + +c_productos,b_prodmas_click,1,0,672,826 +starter,skmt,subs,kmt + +subs,traealmacen,subs,traecliente,subs,traerutaprev,subs,traeusuario,subs,traefechaprev,subs,traerutareparto,subs,prodventa,,b4xpage_appear,subs,traeprecio,subs,centrapanel,subs,setdivider,,createlistitem,subs,traeprecio2,subs,traeconversion,,createlistitem2 +c_productos,b4xpage_appear,1,0,74,368 +starter,skmt,subs,kmt + +subs,centrapanel,subs,setdivider,subs,traealmacen,,createlistitem,subs,traeprecio2,subs,traeconversion,,createlistitem2 +c_productos,b_prodmasc_click,1,0,829,892 +starter,skmt,subs,kmt + +subs,traeconversion,,b4xpage_appear,subs,traecliente,subs,traerutaprev,subs,traealmacen,subs,traeusuario,subs,traefechaprev,subs,traerutareparto,subs,centrapanel,subs,setdivider,,createlistitem,subs,traeprecio2,,createlistitem2 +c_productos,b_prodmenos_click,1,0,566,670 +starter,skmt,subs,kmt + +,b4xpage_appear,subs,centrapanel,subs,setdivider,subs,traealmacen,,createlistitem,subs,traeprecio2,subs,traeconversion,,createlistitem2 +c_productos,b_prodmenosc_click,1,0,894,932 +starter,skmt,subs,kmt + +subs,traeconversion,subs,traeprecioc,,b4xpage_appear,subs,centrapanel,subs,setdivider,subs,traealmacen,,createlistitem,subs,traeprecio2,,createlistitem2 +c_productos,b_regresar_click,1,0,375,377 +b4xpages,mpm,starter,skmt,starter,cedislocation,subs,kmt,starter,ruta,subs,errorlog + +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_buscar,b4xpage_created,c_cheklist,b4xpage_created,c_cliente,b4xpage_created,c_clientes,b4xpage_created,c_detalle_promo,b4xpage_created,c_detalleventa,b4xpage_created,c_foto,b4xpage_created,c_principal,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_noventa,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xpages,settitle,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_pedidos,initialize,c_buscar,initialize,c_detalleventa,initialize,c_detalle_promo,initialize,c_tabulador,initialize,c_cheklist,initialize,subs,agregacolumna,dbrequestmanager,initialize,b4xpages,mainpage,fileprovider,initialize,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xcombobox,setitems,b4xcombobox,setselectedindex,b4xorderedmap,initialize,subs,setdivider,dbrequestmanager,executequery,subs,dameusuariodedb,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,subs,revisabd,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_productos,b_revversar_click,1,0,938,941 +starter,skmt,subs,kmt + +,b4xpage_appear,subs,centrapanel,subs,setdivider,subs,traealmacen,,createlistitem,subs,traeprecio2,subs,traeconversion,,createlistitem2 +c_productos,createlistitem,1,0,500,530 + + + +c_productos,createlistitem2,1,0,532,564 + + + +c_productos,b4xpage_closerequest,1,0,379,385 +b4xpages,mpm,starter,skmt,starter,cedislocation,subs,kmt,starter,ruta,subs,errorlog + +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_buscar,b4xpage_created,c_cheklist,b4xpage_created,c_cliente,b4xpage_created,c_clientes,b4xpage_created,c_detalle_promo,b4xpage_created,c_detalleventa,b4xpage_created,c_foto,b4xpage_created,c_principal,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_noventa,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xpages,settitle,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_pedidos,initialize,c_buscar,initialize,c_detalleventa,initialize,c_detalle_promo,initialize,c_tabulador,initialize,c_cheklist,initialize,subs,agregacolumna,dbrequestmanager,initialize,b4xpages,mainpage,fileprovider,initialize,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xcombobox,setitems,b4xcombobox,setselectedindex,b4xorderedmap,initialize,subs,setdivider,dbrequestmanager,executequery,subs,dameusuariodedb,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,subs,revisabd,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_productos,b4xpage_created,1,0,62,70 +b4xpages,mpm + +b4xpages,settitle,b4xpages,getmanager,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues +c_productos,class_globals,0,0,1,54 + + + +c_productos,cuentaprods,0,0,943,1105 + + + +c_productos,gps_locationchanged,0,0,370,373 + + + +c_productos,l_pcant_click,0,0,1112,1114 + + + +c_productos,l_pcantc_click,0,0,934,936 + + + +c_productos,listview1_itemlongclick,0,0,387,431 + + + +c_productos,lv2_itemclick,0,0,433,494 + + + +c_productos,p_prods_click,0,0,1116,1118 + + + +c_updateavailable,initialize,0,0,7,9 + + + +c_updateavailable,b4xpage_appear,1,0,18,35 +appupdater,newapp,b4xpages,mpm,starter,skmt,starter,cedislocation,subs,kmt,starter,ruta,subs,errorlog + +,canrequestpackageinstalls,,ofreceactualizacion,,sinactualizacion,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_buscar,b4xpage_created,c_cheklist,b4xpage_created,c_cliente,b4xpage_created,c_clientes,b4xpage_created,c_detalle_promo,b4xpage_created,c_detalleventa,b4xpage_created,c_foto,b4xpage_created,c_principal,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_noventa,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xpages,settitle,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_pedidos,initialize,c_buscar,initialize,c_detalleventa,initialize,c_detalle_promo,initialize,c_tabulador,initialize,c_cheklist,initialize,subs,agregacolumna,dbrequestmanager,initialize,fileprovider,initialize,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xcombobox,setitems,b4xcombobox,setselectedindex,b4xorderedmap,initialize,subs,setdivider,dbrequestmanager,executequery,subs,dameusuariodedb,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,subs,revisabd,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_updateavailable,canrequestpackageinstalls,0,0,43,49 + + + +c_updateavailable,ofreceactualizacion,1,0,51,61 +appupdater,newapp,b4xpages,mpm,starter,skmt,starter,cedislocation,subs,kmt,starter,ruta,subs,errorlog + +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_buscar,b4xpage_created,c_cheklist,b4xpage_created,c_cliente,b4xpage_created,c_clientes,b4xpage_created,c_detalle_promo,b4xpage_created,c_detalleventa,b4xpage_created,c_foto,b4xpage_created,c_principal,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_noventa,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xpages,settitle,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_pedidos,initialize,c_buscar,initialize,c_detalleventa,initialize,c_detalle_promo,initialize,c_tabulador,initialize,c_cheklist,initialize,subs,agregacolumna,dbrequestmanager,initialize,fileprovider,initialize,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xcombobox,setitems,b4xcombobox,setselectedindex,b4xorderedmap,initialize,subs,setdivider,dbrequestmanager,executequery,subs,dameusuariodedb,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,subs,revisabd,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_updateavailable,sinactualizacion,1,0,63,68 +appupdater,newapp,b4xpages,mpm,starter,skmt,starter,cedislocation,subs,kmt,starter,ruta,subs,errorlog + +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_buscar,b4xpage_created,c_cheklist,b4xpage_created,c_cliente,b4xpage_created,c_clientes,b4xpage_created,c_detalle_promo,b4xpage_created,c_detalleventa,b4xpage_created,c_foto,b4xpage_created,c_principal,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_noventa,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xpages,settitle,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_pedidos,initialize,c_buscar,initialize,c_detalleventa,initialize,c_detalle_promo,initialize,c_tabulador,initialize,c_cheklist,initialize,subs,agregacolumna,dbrequestmanager,initialize,fileprovider,initialize,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xcombobox,setitems,b4xcombobox,setselectedindex,b4xorderedmap,initialize,subs,setdivider,dbrequestmanager,executequery,subs,dameusuariodedb,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,subs,revisabd,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,7,9 + + + +c_nuevocliente,b4xpage_created,0,0,12,16 + + + +c_nuevocliente,class_globals,0,0,1,4 + + + +c_ticketsdia,initialize,0,0,7,9 + + + +c_ticketsdia,b4xpage_created,0,0,12,16 + + + +c_ticketsdia,class_globals,0,0,1,4 + + + +c_noventa,initialize,0,0,33,35 + + + +c_noventa,b_imp_click,1,0,143,233 +starter,skmt,starter,mac_impresora,b4xpages,mpm,starter,cedislocation,subs,kmt,starter,ruta,subs,errorlog +starter,mac_impresora +escposprinter,disconnect,escposprinter,isconnected,escposprinter,connect,escposprinter,writestring,subs,traecliente,,b_imp_click,,guardado,escposprinter,writestring2,escposprinter,astream_error,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_buscar,b4xpage_created,c_cheklist,b4xpage_created,c_cliente,b4xpage_created,c_clientes,b4xpage_created,c_detalle_promo,b4xpage_created,c_detalleventa,b4xpage_created,c_foto,b4xpage_created,c_principal,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xpages,settitle,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_pedidos,initialize,c_buscar,initialize,c_detalleventa,initialize,c_detalle_promo,initialize,c_tabulador,initialize,c_cheklist,initialize,subs,agregacolumna,dbrequestmanager,initialize,fileprovider,initialize,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xcombobox,setitems,b4xcombobox,setselectedindex,b4xorderedmap,initialize,subs,setdivider,dbrequestmanager,executequery,subs,dameusuariodedb,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,subs,revisabd,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_noventa,guardado,1,0,235,325 +starter,skmt,b4xpages,mpm,starter,cedislocation,subs,kmt,starter,ruta,subs,errorlog + +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_buscar,b4xpage_created,c_cheklist,b4xpage_created,c_cliente,b4xpage_created,c_clientes,b4xpage_created,c_detalle_promo,b4xpage_created,c_detalleventa,b4xpage_created,c_foto,b4xpage_created,c_principal,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xpages,settitle,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_pedidos,initialize,c_buscar,initialize,c_detalleventa,initialize,c_detalle_promo,initialize,c_tabulador,initialize,c_cheklist,initialize,subs,agregacolumna,dbrequestmanager,initialize,fileprovider,initialize,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xcombobox,setitems,b4xcombobox,setselectedindex,b4xorderedmap,initialize,subs,setdivider,dbrequestmanager,executequery,subs,dameusuariodedb,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,subs,revisabd,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_noventa,b4xpage_appear,1,0,47,68 +starter,mac_impresora,b4xpages,mpm +starter,mac_impresora +escposprinter,initialize,escposprinter,isconnected,escposprinter,disconnect,escposprinter,connect,dbrequestmanager,initialize,b4xpages,mainpage,b4xpages,getmanager +c_noventa,b4xpage_created,1,0,38,43 +b4xpages,mpm + +dbrequestmanager,initialize,b4xpages,mainpage,b4xpages,getmanager +c_noventa,cancela_click,1,0,75,77 +b4xpages,mpm,starter,skmt,starter,cedislocation,subs,kmt,starter,ruta,subs,errorlog + +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_buscar,b4xpage_created,c_cheklist,b4xpage_created,c_cliente,b4xpage_created,c_clientes,b4xpage_created,c_detalle_promo,b4xpage_created,c_detalleventa,b4xpage_created,c_foto,b4xpage_created,c_principal,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xpages,settitle,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_pedidos,initialize,c_buscar,initialize,c_detalleventa,initialize,c_detalle_promo,initialize,c_tabulador,initialize,c_cheklist,initialize,subs,agregacolumna,dbrequestmanager,initialize,b4xpages,mainpage,fileprovider,initialize,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xcombobox,setitems,b4xcombobox,setselectedindex,b4xorderedmap,initialize,subs,setdivider,dbrequestmanager,executequery,subs,dameusuariodedb,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,subs,revisabd,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_noventa,cb_reprogramar_checkedchange,0,0,134,140 + + + +c_noventa,class_globals,0,0,1,30 + + + +c_noventa,gps_locationchanged,0,0,70,73 + + + +c_noventa,guarda_click,1,0,79,86 +starter,skmt,starter,mac_impresora,b4xpages,mpm,starter,cedislocation,subs,kmt,starter,ruta,subs,errorlog +starter,mac_impresora +,b_imp_click,escposprinter,disconnect,escposprinter,isconnected,escposprinter,connect,escposprinter,writestring,subs,traecliente,,guardado,escposprinter,writestring2,escposprinter,astream_error,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_buscar,b4xpage_created,c_cheklist,b4xpage_created,c_cliente,b4xpage_created,c_clientes,b4xpage_created,c_detalle_promo,b4xpage_created,c_detalleventa,b4xpage_created,c_foto,b4xpage_created,c_principal,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xpages,settitle,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_pedidos,initialize,c_buscar,initialize,c_detalleventa,initialize,c_detalle_promo,initialize,c_tabulador,initialize,c_cheklist,initialize,subs,agregacolumna,dbrequestmanager,initialize,fileprovider,initialize,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xcombobox,setitems,b4xcombobox,setselectedindex,b4xorderedmap,initialize,subs,setdivider,dbrequestmanager,executequery,subs,dameusuariodedb,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,subs,revisabd,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_noventa,jobdone,0,0,109,132 +starter,skmt,httputils2service,tempfolder + +dbrequestmanager,handlejob,httpjob,release,httpjob,getinputstream,dbrequestmanager,readobject,dbrequestmanager,readint,dbrequestmanager,readbyte,dbrequestmanager,readbytesfully +c_noventa,mandapendientesreparto,0,0,89,105 + + + +c_noventa,printer_connected,1,0,352,362 + + +,startprinter +c_noventa,startprinter,1,0,364,401 + + + +c_noventa,printer1_connected,0,0,327,346 +starter,skmt,starter,mac_impresora +starter,mac_impresora + +c_noventa,printer1_error,0,0,348,350 + + + +c_pedidos,initialize,0,0,7,9 + + + +c_pedidos,b4xpage_created,0,0,12,16 + + + +c_pedidos,class_globals,0,0,1,4 + + + +c_buscar,initialize,0,0,11,13 + + + +c_buscar,b_noventa_click,0,0,85,103 +starter,skmt + + +c_buscar,b4xpage_appear,0,0,41,64 +starter,skmt + +subs,centrapanel +c_buscar,b4xpage_closerequest,1,0,70,77 +b4xpages,mpm,starter,skmt,starter,cedislocation,subs,kmt,starter,ruta,subs,errorlog + +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_cheklist,b4xpage_created,c_cliente,b4xpage_created,c_clientes,b4xpage_created,c_detalle_promo,b4xpage_created,c_detalleventa,b4xpage_created,c_foto,b4xpage_created,c_principal,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_noventa,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xpages,settitle,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_pedidos,initialize,,initialize,c_detalleventa,initialize,c_detalle_promo,initialize,c_tabulador,initialize,c_cheklist,initialize,subs,agregacolumna,dbrequestmanager,initialize,b4xpages,mainpage,fileprovider,initialize,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xcombobox,setitems,b4xcombobox,setselectedindex,b4xorderedmap,initialize,subs,setdivider,dbrequestmanager,executequery,subs,dameusuariodedb,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,subs,revisabd,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_buscar,b4xpage_created,1,0,16,37 +starter,skmt + + +c_buscar,class_globals,0,0,1,8 + + + +c_buscar,listview1_itemlongclick,1,0,79,83 +starter,skmt,b4xpages,mpm,starter,cedislocation,subs,kmt,starter,ruta,subs,errorlog + +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_cheklist,b4xpage_created,c_cliente,b4xpage_created,c_clientes,b4xpage_created,c_detalle_promo,b4xpage_created,c_detalleventa,b4xpage_created,c_foto,b4xpage_created,c_principal,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_noventa,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xpages,settitle,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_pedidos,initialize,,initialize,c_detalleventa,initialize,c_detalle_promo,initialize,c_tabulador,initialize,c_cheklist,initialize,subs,agregacolumna,dbrequestmanager,initialize,b4xpages,mainpage,fileprovider,initialize,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xcombobox,setitems,b4xcombobox,setselectedindex,b4xorderedmap,initialize,subs,setdivider,dbrequestmanager,executequery,subs,dameusuariodedb,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,subs,revisabd,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_buscar,regresar_click,1,0,66,68 +b4xpages,mpm,starter,skmt,starter,cedislocation,subs,kmt,starter,ruta,subs,errorlog + +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_cheklist,b4xpage_created,c_cliente,b4xpage_created,c_clientes,b4xpage_created,c_detalle_promo,b4xpage_created,c_detalleventa,b4xpage_created,c_foto,b4xpage_created,c_principal,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_noventa,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xpages,settitle,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_pedidos,initialize,,initialize,c_detalleventa,initialize,c_detalle_promo,initialize,c_tabulador,initialize,c_cheklist,initialize,subs,agregacolumna,dbrequestmanager,initialize,b4xpages,mainpage,fileprovider,initialize,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xcombobox,setitems,b4xcombobox,setselectedindex,b4xorderedmap,initialize,subs,setdivider,dbrequestmanager,executequery,subs,dameusuariodedb,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,subs,revisabd,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_detalleventa,initialize,0,0,51,53 + + + +c_detalleventa,b_guardar_click,0,0,915,917 + + + +c_detalleventa,b_prodmas_click,1,0,650,749 +starter,skmt,subs,kmt + +subs,prodventa,,b4xpage_appear,subs,traecliente,subs,traeprecio,subs,traealmacen,subs,centrapanel,subs,setdivider,,createlistitem,subs,traeprecio2,,createlistitem2,subs,traeconversion +c_detalleventa,b4xpage_appear,1,0,68,310 +starter,skmt,subs,kmt + +subs,centrapanel,subs,setdivider,subs,traealmacen,,createlistitem,subs,traeprecio2,subs,traecliente,,createlistitem2,subs,traeconversion +c_detalleventa,b_prodmasc_click,1,0,928,970 +starter,skmt,subs,kmt + +subs,traeconversion,,b4xpage_appear,subs,centrapanel,subs,setdivider,subs,traealmacen,,createlistitem,subs,traeprecio2,subs,traecliente,,createlistitem2 +c_detalleventa,b_prodmenos_click,1,0,506,648 +starter,skmt,subs,kmt + +,b4xpage_appear,subs,traealmacen,subs,centrapanel,subs,setdivider,,createlistitem,subs,traeprecio2,subs,traecliente,,createlistitem2,subs,traeconversion +c_detalleventa,b_prodmenosc_click,1,0,972,1050 +starter,skmt,subs,kmt + +subs,traeconversion,subs,traeprecioc,,b4xpage_appear,subs,centrapanel,subs,setdivider,subs,traealmacen,,createlistitem,subs,traeprecio2,subs,traecliente,,createlistitem2 +c_detalleventa,b_regresar_click,1,0,317,319 +b4xpages,mpm,starter,skmt,starter,cedislocation,subs,kmt,starter,ruta,subs,errorlog + +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_buscar,b4xpage_created,c_cheklist,b4xpage_created,c_cliente,b4xpage_created,c_clientes,b4xpage_created,c_detalle_promo,b4xpage_created,,b4xpage_created,c_foto,b4xpage_created,c_principal,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_noventa,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xpages,settitle,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_pedidos,initialize,c_buscar,initialize,,initialize,c_detalle_promo,initialize,c_tabulador,initialize,c_cheklist,initialize,subs,agregacolumna,dbrequestmanager,initialize,b4xpages,mainpage,fileprovider,initialize,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xcombobox,setitems,b4xcombobox,setselectedindex,b4xorderedmap,initialize,subs,setdivider,dbrequestmanager,executequery,subs,dameusuariodedb,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,subs,revisabd,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_detalleventa,b_revversar_click,1,0,1056,1066 +starter,skmt,subs,kmt + +,b4xpage_appear,subs,centrapanel,subs,setdivider,subs,traealmacen,,createlistitem,subs,traeprecio2,subs,traecliente,,createlistitem2,subs,traeconversion +c_detalleventa,createlistitem,1,0,442,472 + + + +c_detalleventa,createlistitem2,1,0,474,504 +subs,kmt + +subs,traeconversion +c_detalleventa,b4xpage_closerequest,1,0,321,327 +b4xpages,mpm,starter,skmt,starter,cedislocation,subs,kmt,starter,ruta,subs,errorlog + +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_buscar,b4xpage_created,c_cheklist,b4xpage_created,c_cliente,b4xpage_created,c_clientes,b4xpage_created,c_detalle_promo,b4xpage_created,,b4xpage_created,c_foto,b4xpage_created,c_principal,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_noventa,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xpages,settitle,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_pedidos,initialize,c_buscar,initialize,,initialize,c_detalle_promo,initialize,c_tabulador,initialize,c_cheklist,initialize,subs,agregacolumna,dbrequestmanager,initialize,b4xpages,mainpage,fileprovider,initialize,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xcombobox,setitems,b4xcombobox,setselectedindex,b4xorderedmap,initialize,subs,setdivider,dbrequestmanager,executequery,subs,dameusuariodedb,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,subs,revisabd,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_detalleventa,b4xpage_created,1,0,56,64 +b4xpages,mpm + +b4xpages,settitle,b4xpages,getmanager,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues +c_detalleventa,class_globals,0,0,1,48 + + + +c_detalleventa,cuentaprods,0,0,751,913 + + + +c_detalleventa,gps_locationchanged,0,0,312,315 + + + +c_detalleventa,l_pcant_click,0,0,920,922 + + + +c_detalleventa,l_pcantc_click,0,0,1052,1054 + + + +c_detalleventa,listview1_itemlongclick,0,0,329,373 + + + +c_detalleventa,lv2_itemclick,0,0,375,436 + + + +c_detalleventa,p_prods_click,0,0,924,926 + + + +c_detalle_promo,initialize,0,0,17,19 + + + +c_detalle_promo,activity_keypress,1,0,96,106 +b4xpages,mpm,starter,skmt,starter,cedislocation,subs,kmt,starter,ruta,subs,errorlog + +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_buscar,b4xpage_created,c_cheklist,b4xpage_created,c_cliente,b4xpage_created,c_clientes,b4xpage_created,,b4xpage_created,c_detalleventa,b4xpage_created,c_foto,b4xpage_created,c_principal,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_noventa,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xpages,settitle,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_pedidos,initialize,c_buscar,initialize,c_detalleventa,initialize,,initialize,c_tabulador,initialize,c_cheklist,initialize,subs,agregacolumna,dbrequestmanager,initialize,b4xpages,mainpage,fileprovider,initialize,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xcombobox,setitems,b4xcombobox,setselectedindex,b4xorderedmap,initialize,subs,setdivider,dbrequestmanager,executequery,subs,dameusuariodedb,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,subs,revisabd,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_detalle_promo,activity_pause,0,0,87,89 + + + +c_detalle_promo,b4xpage_appear,0,0,56,85 +starter,skmt,starter,ruta + +subs,setdivider +c_detalle_promo,b4xpage_created,1,0,22,52 +starter,skmt + +subs,setdivider +c_detalle_promo,class_globals,0,0,1,14 + + + +c_detalle_promo,regresar_click,1,0,91,94 +b4xpages,mpm,starter,skmt,starter,cedislocation,subs,kmt,starter,ruta,subs,errorlog + +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_buscar,b4xpage_created,c_cheklist,b4xpage_created,c_cliente,b4xpage_created,c_clientes,b4xpage_created,,b4xpage_created,c_detalleventa,b4xpage_created,c_foto,b4xpage_created,c_principal,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_noventa,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xpages,settitle,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_pedidos,initialize,c_buscar,initialize,c_detalleventa,initialize,,initialize,c_tabulador,initialize,c_cheklist,initialize,subs,agregacolumna,dbrequestmanager,initialize,b4xpages,mainpage,fileprovider,initialize,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xcombobox,setitems,b4xcombobox,setselectedindex,b4xorderedmap,initialize,subs,setdivider,dbrequestmanager,executequery,subs,dameusuariodedb,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,subs,revisabd,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_tabulador,initialize,0,0,27,29 + + + +c_tabulador,b_calcular_click,1,0,87,128 + + + +c_tabulador,b_guardar_click,1,0,78,85 +starter,skmt,b4xpages,mpm,starter,cedislocation,subs,kmt,starter,ruta,subs,errorlog + +,b_calcular_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,c_buscar,b4xpage_created,c_cheklist,b4xpage_created,c_cliente,b4xpage_created,c_clientes,b4xpage_created,c_detalle_promo,b4xpage_created,c_detalleventa,b4xpage_created,c_foto,b4xpage_created,c_principal,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_noventa,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xpages,settitle,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_pedidos,initialize,c_buscar,initialize,c_detalleventa,initialize,c_detalle_promo,initialize,,initialize,c_cheklist,initialize,subs,agregacolumna,dbrequestmanager,initialize,b4xpages,mainpage,fileprovider,initialize,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xcombobox,setitems,b4xcombobox,setselectedindex,b4xorderedmap,initialize,subs,setdivider,dbrequestmanager,executequery,subs,dameusuariodedb,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,subs,revisabd,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_tabulador,b4xpage_appear,1,0,38,76 +starter,skmt + + +c_tabulador,b4xpage_created,1,0,32,36 + + + +c_tabulador,class_globals,0,0,1,24 + + + +c_cheklist,initialize,0,0,106,108 + + + +c_cheklist,b_foto_click,0,0,348,352 + + +cameraexclass,takepicture +c_cheklist,b_guardar_click,1,0,541,722 +starter,skmt,b4xpages,mpm,starter,cedislocation,subs,kmt,starter,ruta,subs,errorlog + +b4xpages,mainpage,,mandapendientes,b4xcombobox,setselectedindex,b4xpages,showpage,b4xpages,getmanager,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_buscar,b4xpage_created,,b4xpage_created,c_cliente,b4xpage_created,c_clientes,b4xpage_created,c_detalle_promo,b4xpage_created,c_detalleventa,b4xpage_created,c_foto,b4xpage_created,c_principal,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_noventa,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xpages,settitle,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_pedidos,initialize,c_buscar,initialize,c_detalleventa,initialize,c_detalle_promo,initialize,c_tabulador,initialize,,initialize,subs,agregacolumna,dbrequestmanager,initialize,fileprovider,initialize,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xcombobox,setitems,b4xorderedmap,initialize,subs,setdivider,dbrequestmanager,executequery,subs,dameusuariodedb,subs,revisabd,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_cheklist,mandapendientes,0,0,724,745 +starter,skmt + +dbrequestmanager,executecommand,dbrequestmanager,executebatch,dbrequestmanager,startjob,dbrequestmanager,writeint,dbrequestmanager,writeobject,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme +c_cheklist,b4xpage_appear,0,0,142,198 +starter,skmt,starter,rp + +manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba +c_cheklist,b4xpage_closerequest,1,0,200,210 +b4xpages,mpm,starter,skmt,starter,cedislocation,subs,kmt,starter,ruta,subs,errorlog + +,stopcamera2,b4xpages,showpage,cameraexclass,release,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_buscar,b4xpage_created,,b4xpage_created,c_cliente,b4xpage_created,c_clientes,b4xpage_created,c_detalle_promo,b4xpage_created,c_detalleventa,b4xpage_created,c_foto,b4xpage_created,c_principal,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_noventa,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xpages,settitle,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_pedidos,initialize,c_buscar,initialize,c_detalleventa,initialize,c_detalle_promo,initialize,c_tabulador,initialize,,initialize,subs,agregacolumna,dbrequestmanager,initialize,b4xpages,mainpage,fileprovider,initialize,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xcombobox,setitems,b4xcombobox,setselectedindex,b4xorderedmap,initialize,subs,setdivider,dbrequestmanager,executequery,subs,dameusuariodedb,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,subs,revisabd,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_cheklist,stopcamera2,0,0,354,359 + + +cameraexclass,release +c_cheklist,b4xpage_created,1,0,111,140 +b4xpages,mpm + +b4xcombobox,setitems,dbrequestmanager,initialize,b4xpages,mainpage,b4xcombobox,setselectedindex,b4xpages,getmanager +c_cheklist,camera1_picturetaken,0,0,238,342 + + +cameraexclass,savepicturetofile,cameraexclass,startpreview,,stopcamera2,cameraexclass,release +c_cheklist,camera1_ready,0,0,224,236 + + +cameraexclass,setjpegquality,cameraexclass,setcontinuousautofocus,cameraexclass,commitparameters,cameraexclass,startpreview,cameraexclass,getpreviewsize,cameraexclass,getsupportedfocusmodes,cameraexclass,setfocusmode +c_cheklist,cb_deratras_selectedindexchanged,0,0,536,539 + + +b4xcombobox,getselecteditem,b4xcombobox,getselectedindex,b4xcombobox,getitem +c_cheklist,cb_derdel_selectedindexchanged,0,0,531,534 + + +b4xcombobox,getselecteditem,b4xcombobox,getselectedindex,b4xcombobox,getitem +c_cheklist,cb_izqatras_selectedindexchanged,0,0,526,529 + + +b4xcombobox,getselecteditem,b4xcombobox,getselectedindex,b4xcombobox,getitem +c_cheklist,cb_izqdel_selectedindexchanged,0,0,521,524 + + +b4xcombobox,getselecteditem,b4xcombobox,getselectedindex,b4xcombobox,getitem +c_cheklist,class_globals,0,0,1,103 + + + +c_cheklist,imageview1_click,0,0,361,367 +starter,rp + +,initializecamera2,cameraexclass,initialize,cameraexclass,findcamera +c_cheklist,initializecamera2,0,0,212,222 +starter,rp + +cameraexclass,initialize,cameraexclass,findcamera +c_cheklist,imageview2_click,0,0,369,375 +starter,rp + +,initializecamera2,cameraexclass,initialize,cameraexclass,findcamera +c_cheklist,imageview3_click,0,0,377,383 +starter,rp + +,initializecamera2,cameraexclass,initialize,cameraexclass,findcamera +c_cheklist,imageview4_click,0,0,385,391 +starter,rp + +,initializecamera2,cameraexclass,initialize,cameraexclass,findcamera +c_cheklist,jobdone,0,0,747,794 +starter,skmt,httputils2service,tempfolder,b4xpages,mpm + +dbrequestmanager,handlejob,b4xpages,mainpage,dbrequestmanager,executecommand,c_principal,checachek,httpjob,release,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 +c_cheklist,p_camara_click,0,0,344,346 + + + +c_cheklist,rb_docno1_checkedchange,0,0,393,395 + + + +c_cheklist,rb_docno11_checkedchange,0,0,465,467 + + + +c_cheklist,rb_docno13_checkedchange,0,0,473,475 + + + +c_cheklist,rb_docno15_checkedchange,0,0,481,483 + + + +c_cheklist,rb_docno16_checkedchange,0,0,489,491 + + + +c_cheklist,rb_docno17_checkedchange,0,0,497,499 + + + +c_cheklist,rb_docno18_checkedchange,0,0,505,507 + + + +c_cheklist,rb_docno19_checkedchange,0,0,513,515 + + + +c_cheklist,rb_docno2_checkedchange,0,0,401,403 + + + +c_cheklist,rb_docno3_checkedchange,0,0,409,411 + + + +c_cheklist,rb_docno4_checkedchange,0,0,417,419 + + + +c_cheklist,rb_docno5_checkedchange,0,0,425,427 + + + +c_cheklist,rb_docno6_checkedchange,0,0,433,435 + + + +c_cheklist,rb_docno7_checkedchange,0,0,441,443 + + + +c_cheklist,rb_docno8_checkedchange,0,0,449,451 + + + +c_cheklist,rb_docno9_checkedchange,0,0,457,459 + + + +c_cheklist,rb_docsi1_checkedchange,0,0,397,399 + + + +c_cheklist,rb_docsi11_checkedchange,0,0,469,471 + + + +c_cheklist,rb_docsi13_checkedchange,0,0,477,479 + + + +c_cheklist,rb_docsi15_checkedchange,0,0,485,487 + + + +c_cheklist,rb_docsi16_checkedchange,0,0,493,495 + + + +c_cheklist,rb_docsi17_checkedchange,0,0,501,503 + + + +c_cheklist,rb_docsi18_checkedchange,0,0,509,511 + + + +c_cheklist,rb_docsi19_checkedchange,0,0,517,519 + + + +c_cheklist,rb_docsi2_checkedchange,0,0,405,407 + + + +c_cheklist,rb_docsi3_checkedchange,0,0,413,415 + + + +c_cheklist,rb_docsi4_checkedchange,0,0,421,423 + + + +c_cheklist,rb_docsi5_checkedchange,0,0,429,431 + + + +c_cheklist,rb_docsi6_checkedchange,0,0,437,439 + + + +c_cheklist,rb_docsi7_checkedchange,0,0,445,447 + + + +c_cheklist,rb_docsi8_checkedchange,0,0,453,455 + + + +c_cheklist,rb_docsi9_checkedchange,0,0,461,463 + + + +batteryutilities,class_globals,0,0,2,4 + + + +batteryutilities,getbatteryinformation,0,0,22,27 + + + +batteryutilities,getbatterytechnolgy,0,0,29,35 + + + +batteryutilities,initialize,0,0,7,9 + + + +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,getsupportedcoloreffects,0,0,192,195 + + + +cameraexclass,getcoloreffect,0,0,147,149 + + +,getparameter +cameraexclass,setcoloreffect,0,0,151,153 + + +,setparameter +cameraexclass,getfocusdistances,0,0,258,263 + + + +cameraexclass,getsupportedflashmodes,0,0,187,190 + + + +cameraexclass,getflashmode,0,0,182,185 + + + +cameraexclass,setflashmode,0,0,177,180 + + + +cameraexclass,focusandtakepicture,0,0,272,274 + + + +cameraexclass,getsupportedpicturessizes,0,0,155,165 + + + +cameraexclass,getpicturesize,0,0,206,213 + + + +cameraexclass,setpicturesize,0,0,167,170 + + + +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,getparameter,0,0,132,135 + + + +cameraexclass,getsupportedfocusmodes,0,0,237,240 + + + +cameraexclass,previewimagetojpeg,0,0,217,235 + + + +cameraexclass,setparameter,0,0,127,130 + + + +cameraexclass,setfocusmode,0,0,253,256 + + + +cameraexclass,stoppreview,0,0,112,114 + + + +b4xcombobox,setselectedindex,0,0,106,118 + + + +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 + + + +manageexternalstorage,initialize,0,0,22,25 + + + +manageexternalstorage,haspermission,0,0,30,36 + + + +manageexternalstorage,getpermission,0,0,41,50 + + +,haspermission,,raiseevent,,startactivityforresult,,getba +manageexternalstorage,class_globals,0,0,3,8 + + + +manageexternalstorage,getba,0,0,71,74 + + + +manageexternalstorage,raiseevent,0,0,53,56 + + + +manageexternalstorage,startactivityforresult,0,0,65,69 + + +,getba +manageexternalstorage,ion_event,0,0,59,62 + + +,raiseevent +escposprinter,disconnect,0,0,1287,1290 + + + +escposprinter,isconnected,0,0,1243,1245 + + + +escposprinter,connect,1,0,1254,1284 +starter,mac_impresora +starter,mac_impresora + +escposprinter,writestring,1,0,1435,1437 + + +,writestring2,,astream_error +escposprinter,setjustify,1,0,1374,1376 + + +,writestring,,writestring2,,astream_error +escposprinter,initialize,0,0,1229,1235 + + + +escposprinter,writebarcode,1,0,2220,2229 + + +,writestring,,writebytes,,writestring2,,astream_error +escposprinter,imagetobwimage,0,0,1857,1880 + + + +escposprinter,ditherimage2d,0,0,1938,1967 + + + +escposprinter,packimage,0,0,2009,2041 + + + +escposprinter,printimage,1,0,1981,2002 + + +,writestring,,writebytes,,writestring2,,astream_error +escposprinter,astream_error,1,0,2285,2289 + + + +escposprinter,astream_newdata,1,0,2278,2283 + + + +escposprinter,astream_terminated,1,0,2291,2296 + + + +escposprinter,class_globals,0,0,1158,1222 + + + +escposprinter,connectederrormsg,0,0,1238,1240 + + + +escposprinter,createbox,0,0,1664,1672 + + + +escposprinter,createcircle,0,0,1634,1642 + + + +escposprinter,createcustomcharacter,0,0,1548,1616 + + +,plottriangle,,plotcircle,,plotbox,,plotline,,filltriangle,,plotlinelow,,plotlinehigh +escposprinter,plottriangle,0,0,1678,1686 + + +,plotline,,filltriangle,,plotlinelow,,plotlinehigh +escposprinter,plotcircle,0,0,1769,1787 + + +,plotline,,plotlinelow,,plotlinehigh +escposprinter,plotbox,0,0,1755,1766 + + +,plotline,,plotlinelow,,plotlinehigh +escposprinter,plotline,0,0,1790,1804 + + +,plotlinelow,,plotlinehigh +escposprinter,createline,0,0,1621,1628 + + + +escposprinter,createtriangle,0,0,1648,1659 + + + +escposprinter,definecustomcharacter,1,0,1496,1509 + + +,writestring,,writebytes,,writestring2,,astream_error +escposprinter,writebytes,0,0,1425,1429 + + + +escposprinter,deletecustomcharacter,1,0,1461,1466 + + +,writestring,,writebytes,,writestring2,,astream_error +escposprinter,ditherimage1d,0,0,1907,1930 + + + +escposprinter,filltriangle,0,0,1688,1753 + + + +escposprinter,isbluetoothon,0,0,1248,1250 + + + +escposprinter,packimageslice,0,0,2107,2155 + + + +escposprinter,plotlinelow,0,0,1826,1844 + + + +escposprinter,plotlinehigh,0,0,1806,1824 + + + +escposprinter,printandfeedpaper,1,0,1304,1309 + + +,writestring,,writebytes,,writestring2,,astream_error +escposprinter,printimage2,1,0,2071,2100 + + +,writestring,,writebytes,,writestring2,,astream_error +escposprinter,reset,1,0,1293,1295 + + +,writestring,,writestring2,,astream_error +escposprinter,serial1_connected,1,0,2259,2272 + + + +escposprinter,setbarcodeheight,1,0,2163,2168 + + +,writestring,,writebytes,,writestring2,,astream_error +escposprinter,setbarcodeleft,1,0,2172,2177 + + +,writestring,,writebytes,,writestring2,,astream_error +escposprinter,setbarcodewidth,1,0,2182,2187 + + +,writestring,,writebytes,,writestring2,,astream_error +escposprinter,setcharacterfont,1,0,1391,1393 + + +,writestring,,writestring2,,astream_error +escposprinter,setcharacterspacing,1,0,1312,1317 + + +,writestring,,writebytes,,writestring2,,astream_error +escposprinter,setcodepage,1,0,1380,1385 + + +,writestring,,writebytes,,writestring2,,astream_error +escposprinter,sethrifont,1,0,2204,2206 + + +,writestring,,writestring2,,astream_error +escposprinter,sethriposn,1,0,2193,2198 + + +,writestring,,writebytes,,writestring2,,astream_error +escposprinter,setleftinset,1,0,1322,1330 + + +,writestring,,writebytes,,writestring2,,astream_error +escposprinter,setleftmargin,1,0,1335,1343 + + +,writestring,,writebytes,,writestring2,,astream_error +escposprinter,setlinespacing,1,0,1361,1370 + + +,writestring,,writebytes,,writestring2,,astream_error +escposprinter,setprintwidth,1,0,1349,1357 + + +,writestring,,writebytes,,writestring2,,astream_error +escposprinter,setrelativeprintposn,1,0,1413,1421 + + +,writestring,,writebytes,,writestring2,,astream_error +escposprinter,settabpositions,1,0,1399,1407 + + +,writestring,,writebytes,,writestring2,,astream_error +escposprinter,setusecustomcharacters,1,0,1473,1479 + + +,writestring,,writestring2,,astream_error +escposprinter,thresholdimage,0,0,1884,1900 + + + +escposprinter,writeqrcode,1,0,2236,2248 + + +,writestring,,writebytes,,writestring2,,astream_error +escposprinter,writestring2,1,0,1443,1452 + + +,astream_error +b4xorderedmap,getkeys,0,0,32,34 + + + +b4xorderedmap,get,0,0,37,39 + + + +b4xorderedmap,put,0,0,12,17 + + + +b4xorderedmap,initialize,0,0,6,9 + + + +b4xorderedmap,clear,0,0,26,29 + + + +b4xorderedmap,containskey,0,0,46,48 + + + +b4xorderedmap,getsize,0,0,50,52 + + + +b4xorderedmap,remove,0,0,20,24 + + + +b4xorderedmap,getvalues,0,0,55,62 + + + +b4xorderedmap,class_globals,0,0,1,4 + + + +b4xorderedmap,getdataforserializator,0,0,65,67 + + + +b4xorderedmap,getdefault,0,0,42,44 + + + +b4xorderedmap,setdatafromserializator,0,0,70,74 + + + +c_foto,activity_pause,0,0,43,45 + + + +c_foto,b4xpage_appear,0,0,34,36 + + +,initializecamera,cameraexclass,initialize,cameraexclass,findcamera +c_foto,initializecamera,0,0,38,41 + + +cameraexclass,initialize,cameraexclass,findcamera +c_foto,b4xpage_closerequest,1,0,154,160 +b4xpages,mpm,starter,skmt,starter,cedislocation,subs,kmt,starter,ruta,subs,errorlog + +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_buscar,b4xpage_created,c_cheklist,b4xpage_created,c_cliente,b4xpage_created,c_clientes,b4xpage_created,c_detalle_promo,b4xpage_created,c_detalleventa,b4xpage_created,,b4xpage_created,c_principal,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_noventa,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xpages,settitle,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_pedidos,initialize,c_buscar,initialize,c_detalleventa,initialize,c_detalle_promo,initialize,c_tabulador,initialize,c_cheklist,initialize,subs,agregacolumna,dbrequestmanager,initialize,b4xpages,mainpage,fileprovider,initialize,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xcombobox,setitems,b4xcombobox,setselectedindex,b4xorderedmap,initialize,subs,setdivider,dbrequestmanager,executequery,subs,dameusuariodedb,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,subs,revisabd,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_foto,b4xpage_created,1,0,22,30 +starter,skmt + + +c_foto,btneffect_click,0,0,116,126 + + +cameraexclass,getsupportedcoloreffects,cameraexclass,getcoloreffect,cameraexclass,setcoloreffect,cameraexclass,commitparameters,cameraexclass,getparameter,cameraexclass,setparameter +c_foto,btnflash_click,0,0,128,140 + + +cameraexclass,getfocusdistances,cameraexclass,getsupportedflashmodes,cameraexclass,getflashmode,cameraexclass,setflashmode,cameraexclass,commitparameters +c_foto,btnfocus_click,0,0,72,74 + + +cameraexclass,focusandtakepicture +c_foto,btnpicturesize_click,0,0,142,152 + + +cameraexclass,getsupportedpicturessizes,cameraexclass,getpicturesize,cameraexclass,setpicturesize,cameraexclass,commitparameters +c_foto,btntakepicture_click,0,0,62,70 + + +cameraexclass,setpicturesize,cameraexclass,commitparameters,cameraexclass,takepicture +c_foto,camera1_picturetaken,1,0,76,108 +starter,skmt,b4xpages,mpm,starter,cedislocation,subs,kmt,starter,ruta,subs,errorlog + +cameraexclass,savepicturetofile,cameraexclass,startpreview,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_buscar,b4xpage_created,c_cheklist,b4xpage_created,c_cliente,b4xpage_created,c_clientes,b4xpage_created,c_detalle_promo,b4xpage_created,c_detalleventa,b4xpage_created,,b4xpage_created,c_principal,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_noventa,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xpages,settitle,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_pedidos,initialize,c_buscar,initialize,c_detalleventa,initialize,c_detalle_promo,initialize,c_tabulador,initialize,c_cheklist,initialize,subs,agregacolumna,dbrequestmanager,initialize,fileprovider,initialize,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xcombobox,setitems,b4xcombobox,setselectedindex,b4xorderedmap,initialize,subs,setdivider,dbrequestmanager,executequery,subs,dameusuariodedb,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,subs,revisabd,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_foto,camera1_ready,0,0,51,60 + + +cameraexclass,setjpegquality,cameraexclass,commitparameters,cameraexclass,startpreview,cameraexclass,getpreviewsize +c_foto,changecamera_click,0,0,110,114 + + +cameraexclass,release,,initializecamera,cameraexclass,initialize,cameraexclass,findcamera +c_foto,class_globals,0,0,1,14 + + + +c_foto,gps_locationchanged,0,0,47,49 + + + +c_foto,initialize,0,0,17,19 + + + +starter,envia_ultima_gps,0,0,95,138 +,skmt,,reqmanager,,server,,ruta,,timer1,,interval,b4xpages,mpm +,skmt,,reqmanager +,isconnectedtointernet,dbrequestmanager,initialize,b4xpages,mainpage,dbrequestmanager,executequery,dbrequestmanager,executecommand,b4xpages,getmanager,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,dbrequestmanager,executebatch +starter,application_error,0,0,81,83 + + + +starter,isconnectedtointernet,0,0,145,154 + + + +starter,jobdone,0,0,156,169 + + + +starter,process_globals,0,1,6,36 +,interval,,trackeractividad,,pushserviceactividad,,server,,muestraprogreso +,interval,,trackeractividad,,pushserviceactividad,,server,,muestraprogreso + +starter,service_create,0,0,38,67 +,ruta,,skmt,,timer1,,interval,,sharedfolder,,rp,,cedislocation +,ruta,,sharedfolder + +starter,service_destroy,0,0,85,87 + + + +starter,service_start,0,0,69,74 + + + +starter,service_taskremoved,0,0,76,78 + + + +starter,timer1_tick,0,0,89,93 +,skmt,,reqmanager,,server,,ruta,,timer1,,interval,b4xpages,mpm +,skmt,,reqmanager +,envia_ultima_gps,,isconnectedtointernet,dbrequestmanager,initialize,b4xpages,mainpage,dbrequestmanager,executequery,dbrequestmanager,executecommand,b4xpages,getmanager,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,dbrequestmanager,executebatch +c_historico,b_guardar_click,0,0,592,594 + + + +c_historico,b_prodmas_click,0,0,383,426 +starter,skmt,subs,kmt + +subs,prodventa,subs,traemoscantymonto,subs,traeprecio,subs,traealmacen +c_historico,b_prodmenos_click,1,0,340,381 +starter,skmt,subs,kmt + +subs,traealmacen,,b4xpage_appear,subs,prodrechazo,subs,traemoscantymonto,subs,centrapanel,subs,setdivider,,createlistitem,subs,traeprecio,subs,traecliente,subs,traecantidadrechazada +c_historico,b4xpage_appear,1,0,59,178 +starter,skmt,subs,kmt + +subs,centrapanel,subs,setdivider,,createlistitem,subs,traeprecio,subs,traecliente,subs,traecantidadrechazada,subs,traealmacen,subs,traemoscantymonto +c_historico,b_regresar_click,1,0,185,187 +b4xpages,mpm,starter,skmt,starter,cedislocation,subs,kmt,starter,ruta,subs,errorlog + +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_buscar,b4xpage_created,c_cheklist,b4xpage_created,c_cliente,b4xpage_created,c_clientes,b4xpage_created,c_detalle_promo,b4xpage_created,c_detalleventa,b4xpage_created,c_foto,b4xpage_created,c_principal,b4xpage_created,,b4xpage_created,c_mapas,b4xpage_created,c_noventa,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xpages,settitle,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_pedidos,initialize,c_buscar,initialize,c_detalleventa,initialize,c_detalle_promo,initialize,c_tabulador,initialize,c_cheklist,initialize,subs,agregacolumna,dbrequestmanager,initialize,b4xpages,mainpage,fileprovider,initialize,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xcombobox,setitems,b4xcombobox,setselectedindex,b4xorderedmap,initialize,subs,setdivider,dbrequestmanager,executequery,subs,dameusuariodedb,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,subs,revisabd,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_historico,createlistitem,1,0,310,338 + + + +c_historico,b4xpage_closerequest,1,0,189,195 +b4xpages,mpm,starter,skmt,starter,cedislocation,subs,kmt,starter,ruta,subs,errorlog + +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_buscar,b4xpage_created,c_cheklist,b4xpage_created,c_cliente,b4xpage_created,c_clientes,b4xpage_created,c_detalle_promo,b4xpage_created,c_detalleventa,b4xpage_created,c_foto,b4xpage_created,c_principal,b4xpage_created,,b4xpage_created,c_mapas,b4xpage_created,c_noventa,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xpages,settitle,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_pedidos,initialize,c_buscar,initialize,c_detalleventa,initialize,c_detalle_promo,initialize,c_tabulador,initialize,c_cheklist,initialize,subs,agregacolumna,dbrequestmanager,initialize,b4xpages,mainpage,fileprovider,initialize,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xcombobox,setitems,b4xcombobox,setselectedindex,b4xorderedmap,initialize,subs,setdivider,dbrequestmanager,executequery,subs,dameusuariodedb,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,subs,revisabd,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_historico,b4xpage_created,1,0,48,55 + + + +c_historico,class_globals,0,0,1,40 + + + +c_historico,cuentaprods,1,0,428,590 +starter,skmt,subs,kmt + +subs,traecliente,subs,traenombre,subs,traefechareparto,subs,traemaxcantidad,subs,traecantidadrechazada,subs,traecantidadvendida,subs,traeprecio,subs,traealmacen,,createlistitem +c_historico,gps_locationchanged,0,0,180,183 + + + +c_historico,initialize,0,0,43,45 + + + +c_historico,l_pcant_click,0,0,597,599 + + + +c_historico,listview1_itemlongclick,0,0,197,241 + + + +c_historico,lv2_itemclick,0,0,243,304 + + + +c_historico,p_prods_click,0,0,601,603 + + + +foto,activity_create,1,0,27,35 +,g,,btntakepicture,,p_camara,,c,starter,skmt,,cuenta +,btntakepicture,,p_camara,,c,,cuenta + +foto,activity_keypress,1,0,174,183 +b4xpages,mpm,starter,skmt,starter,cedislocation,subs,kmt,starter,ruta,subs,errorlog + +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_buscar,b4xpage_created,c_cheklist,b4xpage_created,c_cliente,b4xpage_created,c_clientes,b4xpage_created,c_detalle_promo,b4xpage_created,c_detalleventa,b4xpage_created,c_foto,b4xpage_created,c_principal,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_noventa,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xpages,settitle,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_pedidos,initialize,c_buscar,initialize,c_detalleventa,initialize,c_detalle_promo,initialize,c_tabulador,initialize,c_cheklist,initialize,subs,agregacolumna,dbrequestmanager,initialize,b4xpages,mainpage,fileprovider,initialize,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xcombobox,setitems,b4xcombobox,setselectedindex,b4xorderedmap,initialize,subs,setdivider,dbrequestmanager,executequery,subs,dameusuariodedb,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,subs,revisabd,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +foto,activity_pause,0,0,46,48 +,camex + +cameraexclass,release +foto,activity_resume,0,0,37,39 +,camex,,p_camara,,frontcamera +,frontcamera +,initializecamera,cameraexclass,initialize,cameraexclass,findcamera +foto,initializecamera,0,0,41,44 +,camex,,p_camara,,frontcamera +,frontcamera +cameraexclass,initialize,cameraexclass,findcamera +foto,btneffect_click,0,0,138,148 +,camex + +cameraexclass,getsupportedcoloreffects,cameraexclass,getcoloreffect,cameraexclass,setcoloreffect,cameraexclass,commitparameters,cameraexclass,getparameter,cameraexclass,setparameter +foto,btnflash_click,0,0,150,162 +,camex + +cameraexclass,getfocusdistances,cameraexclass,getsupportedflashmodes,cameraexclass,getflashmode,cameraexclass,setflashmode,cameraexclass,commitparameters +foto,btnfocus_click,0,0,78,80 +,camex + +cameraexclass,focusandtakepicture +foto,btnpicturesize_click,0,0,163,173 +,camex + +cameraexclass,getsupportedpicturessizes,cameraexclass,getpicturesize,cameraexclass,setpicturesize,cameraexclass,commitparameters +foto,btntakepicture_click,0,0,68,76 +,camex + +cameraexclass,setpicturesize,cameraexclass,commitparameters,cameraexclass,takepicture +foto,camera1_picturetaken,1,0,82,130 +,camex,,c,starter,skmt,,cuenta,,usuario,b4xpages,mpm,starter,cedislocation,subs,kmt,starter,ruta,subs,errorlog +,c,,cuenta,,usuario +cameraexclass,savepicturetofile,cameraexclass,startpreview,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_buscar,b4xpage_created,c_cheklist,b4xpage_created,c_cliente,b4xpage_created,c_clientes,b4xpage_created,c_detalle_promo,b4xpage_created,c_detalleventa,b4xpage_created,c_foto,b4xpage_created,c_principal,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_noventa,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xpages,settitle,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_pedidos,initialize,c_buscar,initialize,c_detalleventa,initialize,c_detalle_promo,initialize,c_tabulador,initialize,c_cheklist,initialize,subs,agregacolumna,dbrequestmanager,initialize,fileprovider,initialize,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xcombobox,setitems,b4xcombobox,setselectedindex,b4xorderedmap,initialize,subs,setdivider,dbrequestmanager,executequery,subs,dameusuariodedb,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,subs,revisabd,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +foto,camera1_ready,0,0,57,66 +,camex + +cameraexclass,setjpegquality,cameraexclass,commitparameters,cameraexclass,startpreview,cameraexclass,getpreviewsize +foto,changecamera_click,0,0,132,136 +,camex,,frontcamera,,p_camara +,frontcamera +cameraexclass,release,,initializecamera,cameraexclass,initialize,cameraexclass,findcamera +foto,globals,0,1,14,25 + + + +foto,gps_locationchanged,0,0,50,55 + + + +foto,process_globals,0,1,7,12 +,frontcamera +,frontcamera + +mapa_cliente,activity_create,1,0,34,39 +,b_regresar,,mapfragment1,,p_principal +,b_regresar,,mapfragment1,,p_principal + +mapa_cliente,activity_pause,0,0,96,98 +,gps + + +mapa_cliente,activity_resume,1,0,80,94 +,b_regresar,,gps,,p_principal,,latmarker,,longmarker,,nombre_tienda,b4xpages,mpm +,latmarker,,longmarker,,nombre_tienda +subs,centraboton,subs,centrapanel,b4xpages,mainpage,b4xpages,getmanager +mapa_cliente,b_regresar_click,1,0,105,109 +b4xpages,mpm,starter,skmt,starter,cedislocation,subs,kmt,starter,ruta,subs,errorlog + +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_buscar,b4xpage_created,c_cheklist,b4xpage_created,c_cliente,b4xpage_created,c_clientes,b4xpage_created,c_detalle_promo,b4xpage_created,c_detalleventa,b4xpage_created,c_foto,b4xpage_created,c_principal,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_noventa,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xpages,settitle,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_pedidos,initialize,c_buscar,initialize,c_detalleventa,initialize,c_detalle_promo,initialize,c_tabulador,initialize,c_cheklist,initialize,subs,agregacolumna,dbrequestmanager,initialize,b4xpages,mainpage,fileprovider,initialize,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xcombobox,setitems,b4xcombobox,setselectedindex,b4xorderedmap,initialize,subs,setdivider,dbrequestmanager,executequery,subs,dameusuariodedb,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,subs,revisabd,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +mapa_cliente,globals,0,1,14,32 +,latitud,,longitud,,lat2,,lon2 +,latitud,,longitud,,lat2,,lon2 + +mapa_cliente,gps_locationchanged,0,0,59,78 + + + +mapa_cliente,mapfragment1_ready,0,0,41,57 +,gmap,,mapfragment1,,rp,,latmarker,,longmarker,b4xpages,mpm +,gmap +b4xpages,mainpage,b4xpages,getmanager +mapa_cliente,process_globals,0,1,7,12 + + + +mapa_cliente,reg_click,1,0,100,103 +b4xpages,mpm,starter,skmt,starter,cedislocation,subs,kmt,starter,ruta,subs,errorlog + +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_buscar,b4xpage_created,c_cheklist,b4xpage_created,c_cliente,b4xpage_created,c_clientes,b4xpage_created,c_detalle_promo,b4xpage_created,c_detalleventa,b4xpage_created,c_foto,b4xpage_created,c_principal,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_noventa,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xpages,settitle,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_pedidos,initialize,c_buscar,initialize,c_detalleventa,initialize,c_detalle_promo,initialize,c_tabulador,initialize,c_cheklist,initialize,subs,agregacolumna,dbrequestmanager,initialize,b4xpages,mainpage,fileprovider,initialize,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xcombobox,setitems,b4xcombobox,setselectedindex,b4xorderedmap,initialize,subs,setdivider,dbrequestmanager,executequery,subs,dameusuariodedb,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,subs,revisabd,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +mapa_rutas,activity_create,1,0,57,107 +,b_azul,,b_rojo,,b_todos,,b_verde,,mapfragment1,,mark_azul,,mark_rojo,,mark_verde,,list_azul,,list_rojo,,list_verde,,verde,,azul,,rojo,,todos +,b_azul,,b_rojo,,b_todos,,b_verde,,mapfragment1,,verde,,azul,,rojo,,todos + +mapa_rutas,activity_keypress,1,0,352,361 +b4xpages,mpm,starter,skmt,starter,cedislocation,subs,kmt,starter,ruta,subs,errorlog + +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_buscar,b4xpage_created,c_cheklist,b4xpage_created,c_cliente,b4xpage_created,c_clientes,b4xpage_created,c_detalle_promo,b4xpage_created,c_detalleventa,b4xpage_created,c_foto,b4xpage_created,c_principal,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_noventa,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xpages,settitle,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_pedidos,initialize,c_buscar,initialize,c_detalleventa,initialize,c_detalle_promo,initialize,c_tabulador,initialize,c_cheklist,initialize,subs,agregacolumna,dbrequestmanager,initialize,b4xpages,mainpage,fileprovider,initialize,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xcombobox,setitems,b4xcombobox,setselectedindex,b4xorderedmap,initialize,subs,setdivider,dbrequestmanager,executequery,subs,dameusuariodedb,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,subs,revisabd,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +mapa_rutas,activity_pause,0,0,312,314 +,gps + + +mapa_rutas,activity_resume,0,0,303,310 + + + +mapa_rutas,b_azul_click,0,0,342,349 +,azul,,verde,,rojo,,todos,,gmap,,mapfragment1,,rp,,c,starter,skmt,,rutaant,,latitudru,,longitudru,,codigo,,tienda,,ruta,,numserie,,mark_azul,,list_azul,,c2,,mark_verde,,list_verde,,c3,,mark_rojo,,list_rojo,,oninfowindowclicklistener1,,googlemapextra +,azul,,verde,,rojo,,todos,,gmap,,c,,rutaant,,latitudru,,longitudru,,codigo,,tienda,,ruta,,numserie,,mark_azul,,c2,,mark_verde,,c3,,mark_rojo,,oninfowindowclicklistener1 +,mapfragment1_ready,subs,createbitmapwithnumber +mapa_rutas,mapfragment1_ready,0,0,109,272 +,gmap,,mapfragment1,,rp,,azul,,todos,,c,starter,skmt,,rutaant,,latitudru,,longitudru,,codigo,,tienda,,ruta,,numserie,,mark_azul,,list_azul,,verde,,c2,,mark_verde,,list_verde,,rojo,,c3,,mark_rojo,,list_rojo,,oninfowindowclicklistener1,,googlemapextra +,gmap,,c,,rutaant,,latitudru,,longitudru,,codigo,,tienda,,ruta,,numserie,,mark_azul,,c2,,mark_verde,,c3,,mark_rojo,,oninfowindowclicklistener1 +subs,createbitmapwithnumber +mapa_rutas,b_rojo_click,0,0,333,340 +,rojo,,verde,,azul,,todos,,gmap,,mapfragment1,,rp,,c,starter,skmt,,rutaant,,latitudru,,longitudru,,codigo,,tienda,,ruta,,numserie,,mark_azul,,list_azul,,c2,,mark_verde,,list_verde,,c3,,mark_rojo,,list_rojo,,oninfowindowclicklistener1,,googlemapextra +,rojo,,verde,,azul,,todos,,gmap,,c,,rutaant,,latitudru,,longitudru,,codigo,,tienda,,ruta,,numserie,,mark_azul,,c2,,mark_verde,,c3,,mark_rojo,,oninfowindowclicklistener1 +,mapfragment1_ready,subs,createbitmapwithnumber +mapa_rutas,b_todos_click,0,0,316,322 +,todos,,verde,,azul,,rojo,,gmap,,mapfragment1,,rp,,c,starter,skmt,,rutaant,,latitudru,,longitudru,,codigo,,tienda,,ruta,,numserie,,mark_azul,,list_azul,,c2,,mark_verde,,list_verde,,c3,,mark_rojo,,list_rojo,,oninfowindowclicklistener1,,googlemapextra +,todos,,verde,,azul,,rojo,,gmap,,c,,rutaant,,latitudru,,longitudru,,codigo,,tienda,,ruta,,numserie,,mark_azul,,c2,,mark_verde,,c3,,mark_rojo,,oninfowindowclicklistener1 +,mapfragment1_ready,subs,createbitmapwithnumber +mapa_rutas,b_verde_click,0,0,324,331 +,verde,,azul,,rojo,,todos,,gmap,,mapfragment1,,rp,,c,starter,skmt,,rutaant,,latitudru,,longitudru,,codigo,,tienda,,ruta,,numserie,,mark_azul,,list_azul,,c2,,mark_verde,,list_verde,,c3,,mark_rojo,,list_rojo,,oninfowindowclicklistener1,,googlemapextra +,verde,,azul,,rojo,,todos,,gmap,,c,,rutaant,,latitudru,,longitudru,,codigo,,tienda,,ruta,,numserie,,mark_azul,,c2,,mark_verde,,c3,,mark_rojo,,oninfowindowclicklistener1 +,mapfragment1_ready,subs,createbitmapwithnumber +mapa_rutas,globals,0,1,17,55 +,latitud,,longitud,,lat2,,lon2 +,latitud,,longitud,,lat2,,lon2 + +mapa_rutas,gps_locationchanged,0,0,282,301 + + + +mapa_rutas,oninfowindowclicklistener1_click,1,0,275,280 +starter,skmt,b4xpages,mpm,starter,cedislocation,subs,kmt,starter,ruta,subs,errorlog + +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_buscar,b4xpage_created,c_cheklist,b4xpage_created,c_cliente,b4xpage_created,c_clientes,b4xpage_created,c_detalle_promo,b4xpage_created,c_detalleventa,b4xpage_created,c_foto,b4xpage_created,c_principal,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_noventa,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xpages,settitle,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_pedidos,initialize,c_buscar,initialize,c_detalleventa,initialize,c_detalle_promo,initialize,c_tabulador,initialize,c_cheklist,initialize,subs,agregacolumna,dbrequestmanager,initialize,b4xpages,mainpage,fileprovider,initialize,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xcombobox,setitems,b4xcombobox,setselectedindex,b4xorderedmap,initialize,subs,setdivider,dbrequestmanager,executequery,subs,dameusuariodedb,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,subs,revisabd,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +mapa_rutas,process_globals,0,1,7,15 + + + +tracker,createlocationrequest,0,0,119,129 +,actuallr,b4xpages,mpm +,actuallr +b4xpages,mainpage,b4xpages,getmanager +tracker,createlocationrequest2times,0,0,131,142 +,actuallr,b4xpages,mpm +,actuallr +b4xpages,mainpage,b4xpages,getmanager +tracker,createnotification,0,0,206,212 + + + +tracker,dameultimaubicacionconocida,0,0,144,152 +,flp,b4xpages,mpm + +b4xpages,mainpage,subs,fechakmt,,formatofecha,subs,mandamosloc,b4xpages,getmanager +tracker,formatofecha,0,0,222,230 + + + +tracker,flp_connectionfailed,0,0,59,61 +b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +tracker,flp_connectionsuccess,0,0,54,57 + + + +tracker,flp_connectionsuspended,0,0,63,66 +b4xpages,mpm,,flp,,flpstarted,,actuallr +,flpstarted,,actuallr +b4xpages,mainpage,,startflp,b4xpages,getmanager,,createlocationrequest +tracker,startflp,0,0,92,105 +,flp,,flpstarted,,actuallr,b4xpages,mpm +,flpstarted,,actuallr +,createlocationrequest,b4xpages,mainpage,b4xpages,getmanager +tracker,flp_locationchanged,0,0,162,204 +starter,trackeractividad,,uugcoords,starter,skmt,,locrequest,b4xpages,mpm,subs,kmt,starter,ruta,subs,errorlog +starter,trackeractividad,,uugcoords +subs,fechakmt,c_cliente,gps_locationchanged,c_detalleventa,gps_locationchanged,c_foto,gps_locationchanged,c_historico,gps_locationchanged,c_noventa,gps_locationchanged,c_productos,gps_locationchanged,foto,gps_locationchanged,mapa_cliente,gps_locationchanged,mapa_rutas,gps_locationchanged,b4xpages,mainpage,,formatofecha,subs,guardainfoenbd,subs,mandamosloc,subs,monitor,b4xpages,getmanager,subs,revisabd +tracker,process_globals,0,1,29,40 +,nid +,nid + +tracker,service_create,0,0,42,52 +,uugcoords,,flp,,lock,,flpstarted,,actuallr,b4xpages,mpm +,flpstarted,,actuallr +,startflp,,createlocationrequest,b4xpages,mainpage,b4xpages,getmanager +tracker,service_destroy,0,0,214,220 +,tracking,,lock,,flpstarted,,flp +,tracking,,flpstarted +,stopflp +tracker,stopflp,0,0,154,160 +,flpstarted,,flp +,flpstarted + +tracker,service_start,0,0,68,76 +starter,trackeractividad,,tracking,starter,rp,b4xpages,mpm,,flp,,flpstarted,,actuallr +starter,trackeractividad,,tracking,,flpstarted,,actuallr +,track,subs,fechakmt,b4xpages,mainpage,,startflp,b4xpages,getmanager,,createlocationrequest +tracker,track,0,0,78,90 +,tracking,starter,rp,b4xpages,mpm,,flp,,flpstarted,,actuallr +,tracking,,flpstarted,,actuallr +b4xpages,mainpage,,startflp,b4xpages,getmanager,,createlocationrequest +tracker,startflp2reqs,0,0,107,117 +,flpstarted,,flp,,actuallr,b4xpages,mpm +,actuallr +b4xpages,mainpage,,dameultimaubicacionconocida,,createlocationrequest2times,b4xpages,getmanager,subs,fechakmt,,formatofecha,subs,mandamosloc +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 + + + +b4xbytesbuilder,append,0,0,24,26 + + +,append2,,changelength +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,getinternalbuffer,0,0,127,129 + + + +b4xbytesbuilder,getlength,0,0,92,94 + + + +b4xbytesbuilder,indexof,0,0,107,109 + + +,indexof2 +b4xbytesbuilder,indexof2,0,0,112,124 + + + +b4xbytesbuilder,initialize,0,0,6,9 + + + +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 +b4xbytesbuilder,toarray,0,0,97,99 + + +,subarray,,subarray2 +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 +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 +b4xseekbar,base_resize,0,0,52,58 + + +,update +b4xseekbar,update,0,0,61,86 + + + +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,setvalue,0,0,125,128 + + +,update +b4xseekbar,setvaluebasedontouch,0,0,108,123 + + + +b4xseekbar,touchpanel_touch,0,0,88,100 + + +,raisetouchstateevent,,setvaluebasedontouch,,update +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 +b4xswitch,setvalue,0,0,108,111 + + +,setvalueimpl,,draw,xuiviewsutils,setalpha +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/reparto_izca/keymon/lat/animatedcounter.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/animatedcounter.java new file mode 100644 index 0000000..d26843d --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/animatedcounter.java @@ -0,0 +1,45 @@ + +package reparto_izca.keymon.lat; + +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 reparto_izca.keymon.lat.main _main = null; +public static reparto_izca.keymon.lat.appupdater _appupdater = null; +public static reparto_izca.keymon.lat.subs _subs = null; +public static reparto_izca.keymon.lat.foto _foto = null; +public static reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public static reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public static reparto_izca.keymon.lat.starter _starter = null; +public static reparto_izca.keymon.lat.tracker _tracker = null; +public static reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public static reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public static reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public static reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public static reparto_izca.keymon.lat.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/reparto_izca/keymon/lat/animatedcounter_subs_0.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/animatedcounter_subs_0.java new file mode 100644 index 0000000..2234e99 --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/animatedcounter_subs_0.java @@ -0,0 +1,471 @@ +package reparto_izca.keymon.lat; + +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",46,__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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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",46,__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",46,__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",46,__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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.animatedcounter.class, "_setvalue" /*RemoteObject*/ ,(Object)(__ref.runClassMethod (reparto_izca.keymon.lat.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",46,__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",46,__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",46,__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 (reparto_izca.keymon.lat.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",46,__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/reparto_izca/keymon/lat/anotherprogressbar.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/anotherprogressbar.java new file mode 100644 index 0000000..6577816 --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/anotherprogressbar.java @@ -0,0 +1,50 @@ + +package reparto_izca.keymon.lat; + +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 reparto_izca.keymon.lat.main _main = null; +public static reparto_izca.keymon.lat.appupdater _appupdater = null; +public static reparto_izca.keymon.lat.subs _subs = null; +public static reparto_izca.keymon.lat.foto _foto = null; +public static reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public static reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public static reparto_izca.keymon.lat.starter _starter = null; +public static reparto_izca.keymon.lat.tracker _tracker = null; +public static reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public static reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public static reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public static reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public static reparto_izca.keymon.lat.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/reparto_izca/keymon/lat/anotherprogressbar_subs_0.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/anotherprogressbar_subs_0.java new file mode 100644 index 0000000..2933100 --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/anotherprogressbar_subs_0.java @@ -0,0 +1,740 @@ +package reparto_izca.keymon.lat; + +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",47,__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 (reparto_izca.keymon.lat.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",47,__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(reparto_izca.keymon.lat.anotherprogressbar parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +reparto_izca.keymon.lat.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",47,__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",47,__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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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",47,__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",47,__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",47,__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",47,__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",47,__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 (reparto_izca.keymon.lat.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",47,__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",47,__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 (reparto_izca.keymon.lat.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",47,__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 (reparto_izca.keymon.lat.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",47,__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 (reparto_izca.keymon.lat.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/reparto_izca/keymon/lat/appupdater.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/appupdater.java new file mode 100644 index 0000000..35df27c --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/appupdater.java @@ -0,0 +1,75 @@ + +package reparto_izca.keymon.lat; + +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"), "reparto_izca.keymon.lat.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("reparto_izca.keymon.lat.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("reparto_izca.keymon.lat.appupdater._mnewversion"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static reparto_izca.keymon.lat.main _main = null; +public static reparto_izca.keymon.lat.subs _subs = null; +public static reparto_izca.keymon.lat.foto _foto = null; +public static reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public static reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public static reparto_izca.keymon.lat.starter _starter = null; +public static reparto_izca.keymon.lat.tracker _tracker = null; +public static reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public static reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public static reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public static reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public static reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; + public Object[] GetGlobals() { + return new Object[] {"B4XCollections",Debug.moduleToString(reparto_izca.keymon.lat.b4xcollections.class),"B4XPages",Debug.moduleToString(reparto_izca.keymon.lat.b4xpages.class),"DateUtils",appupdater.mostCurrent._dateutils,"foto",Debug.moduleToString(reparto_izca.keymon.lat.foto.class),"HttpUtils2Service",Debug.moduleToString(reparto_izca.keymon.lat.httputils2service.class),"lnk",appupdater._lnk,"Main",Debug.moduleToString(reparto_izca.keymon.lat.main.class),"MAPA_CLIENTE",Debug.moduleToString(reparto_izca.keymon.lat.mapa_cliente.class),"MAPA_RUTAS",Debug.moduleToString(reparto_izca.keymon.lat.mapa_rutas.class),"n2",appupdater._n2,"n2ID",appupdater._n2id,"nativeMe",appupdater._nativeme,"newApp",appupdater._newapp,"newinst2",Debug.moduleToString(reparto_izca.keymon.lat.newinst2.class),"nNewApp",appupdater._nnewapp,"nNewAppnID",appupdater._nnewappnid,"rp",appupdater._rp,"Service",appupdater.mostCurrent._service,"SharedFolder",appupdater._sharedfolder,"Starter",Debug.moduleToString(reparto_izca.keymon.lat.starter.class),"Subs",Debug.moduleToString(reparto_izca.keymon.lat.subs.class),"Tracker",Debug.moduleToString(reparto_izca.keymon.lat.tracker.class),"UseFileProvider",appupdater._usefileprovider,"XUIViewsUtils",Debug.moduleToString(reparto_izca.keymon.lat.xuiviewsutils.class)}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/reparto_izca/keymon/lat/appupdater_subs_0.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/appupdater_subs_0.java new file mode 100644 index 0000000..be74896 --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/appupdater_subs_0.java @@ -0,0 +1,784 @@ +package reparto_izca.keymon.lat; + +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",1,appupdater.processBA,appupdater.mostCurrent,222); +if (RapidSub.canDelegate("createnotification")) { return reparto_izca.keymon.lat.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 = 222;BA.debugLine="Private Sub CreateNotification(Title As String, Co"; +Debug.ShouldStop(536870912); + BA.debugLineNum = 223;BA.debugLine="n2.Initialize"; +Debug.ShouldStop(1073741824); +appupdater._n2.runVoidMethod ("Initialize"); + BA.debugLineNum = 224;BA.debugLine="n2.Light = False"; +Debug.ShouldStop(-2147483648); +appupdater._n2.runVoidMethod ("setLight",appupdater.mostCurrent.__c.getField(true,"False")); + BA.debugLineNum = 225;BA.debugLine="n2.Vibrate = Vibrate"; +Debug.ShouldStop(1); +appupdater._n2.runVoidMethod ("setVibrate",_vibrate); + BA.debugLineNum = 226;BA.debugLine="n2.Sound = Sound"; +Debug.ShouldStop(2); +appupdater._n2.runVoidMethod ("setSound",_sound); + BA.debugLineNum = 227;BA.debugLine="n2.OnGoingEvent = True"; +Debug.ShouldStop(4); +appupdater._n2.runVoidMethod ("setOnGoingEvent",appupdater.mostCurrent.__c.getField(true,"True")); + BA.debugLineNum = 228;BA.debugLine="n2.Icon = Icon"; +Debug.ShouldStop(8); +appupdater._n2.runVoidMethod ("setIcon",_icon); + BA.debugLineNum = 229;BA.debugLine="n2.SetInfo(Title, Content, TargetActivity)"; +Debug.ShouldStop(16); +appupdater._n2.runVoidMethod ("SetInfoNew",appupdater.processBA,(Object)(BA.ObjectToCharSequence(_title)),(Object)(BA.ObjectToCharSequence(_content)),(Object)(_targetactivity)); + BA.debugLineNum = 230;BA.debugLine="n2.Notify(nNewAppnID)"; +Debug.ShouldStop(32); +appupdater._n2.runVoidMethod ("Notify",(Object)(appupdater._nnewappnid)); + BA.debugLineNum = 231;BA.debugLine="End Sub"; +Debug.ShouldStop(64); +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",1,appupdater.processBA,appupdater.mostCurrent,206); +if (RapidSub.canDelegate("createnotification2")) { return reparto_izca.keymon.lat.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 = 206;BA.debugLine="Private Sub CreateNotification2(Title As String, C"; +Debug.ShouldStop(8192); + BA.debugLineNum = 209;BA.debugLine="pN.Initialize2(pN.IMPORTANCE_HIGH)"; +Debug.ShouldStop(65536); +_pn.runVoidMethod ("Initialize2",(Object)(_pn.getField(true,"IMPORTANCE_HIGH"))); + BA.debugLineNum = 212;BA.debugLine="pN.Vibrate = Vibrate"; +Debug.ShouldStop(524288); +_pn.runVoidMethod ("setVibrate",_vibrate); + BA.debugLineNum = 213;BA.debugLine="pN.Sound = Sound"; +Debug.ShouldStop(1048576); +_pn.runVoidMethod ("setSound",_sound); + BA.debugLineNum = 215;BA.debugLine="pN.Icon = Icon"; +Debug.ShouldStop(4194304); +_pn.runVoidMethod ("setIcon",_icon); + BA.debugLineNum = 216;BA.debugLine="pN.AutoCancel = True"; +Debug.ShouldStop(8388608); +_pn.runVoidMethod ("setAutoCancel",appupdater.mostCurrent.__c.getField(true,"True")); + BA.debugLineNum = 217;BA.debugLine="pN.SetInfo(Title, Content, TargetActivity)"; +Debug.ShouldStop(16777216); +_pn.runVoidMethod ("SetInfoNew",appupdater.processBA,(Object)(BA.ObjectToCharSequence(_title)),(Object)(BA.ObjectToCharSequence(_content)),(Object)(_targetactivity)); + BA.debugLineNum = 218;BA.debugLine="pN.Notify(pNID)"; +Debug.ShouldStop(33554432); +_pn.runVoidMethod ("Notify",(Object)(_pnid)); + BA.debugLineNum = 219;BA.debugLine="Return pN"; +Debug.ShouldStop(67108864); +if (true) return _pn; + BA.debugLineNum = 220;BA.debugLine="End Sub"; +Debug.ShouldStop(134217728); +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",1,appupdater.processBA,appupdater.mostCurrent,199); +if (RapidSub.canDelegate("download")) { return reparto_izca.keymon.lat.appupdater.remoteMe.runUserSub(false, "appupdater","download", _callback, _link);} +RemoteObject _j = RemoteObject.declareNull("reparto_izca.keymon.lat.httpjob"); +Debug.locals.put("Callback", _callback); +Debug.locals.put("link", _link); + BA.debugLineNum = 199;BA.debugLine="Sub Download (Callback As Object, link As String)"; +Debug.ShouldStop(64); + BA.debugLineNum = 200;BA.debugLine="Dim j As HttpJob"; +Debug.ShouldStop(128); +_j = RemoteObject.createNew ("reparto_izca.keymon.lat.httpjob");Debug.locals.put("j", _j); + BA.debugLineNum = 201;BA.debugLine="j.Initialize(\"\", Callback)"; +Debug.ShouldStop(256); +_j.runClassMethod (reparto_izca.keymon.lat.httpjob.class, "_initialize" /*RemoteObject*/ ,appupdater.processBA,(Object)(BA.ObjectToString("")),(Object)(_callback)); + BA.debugLineNum = 202;BA.debugLine="j.Download(link)"; +Debug.ShouldStop(512); +_j.runClassMethod (reparto_izca.keymon.lat.httpjob.class, "_download" /*RemoteObject*/ ,(Object)(_link)); + BA.debugLineNum = 203;BA.debugLine="Return j"; +Debug.ShouldStop(1024); +if (true) return _j; + 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 _download_destroy() throws Exception{ +try { + Debug.PushSubsStack("download_Destroy (appupdater) ","appupdater",1,appupdater.processBA,appupdater.mostCurrent,194); +if (RapidSub.canDelegate("download_destroy")) { return reparto_izca.keymon.lat.appupdater.remoteMe.runUserSub(false, "appupdater","download_destroy");} + BA.debugLineNum = 194;BA.debugLine="Sub download_Destroy"; +Debug.ShouldStop(2); + BA.debugLineNum = 195;BA.debugLine="n2.Cancel(n2ID)"; +Debug.ShouldStop(4); +appupdater._n2.runVoidMethod ("Cancel",(Object)(appupdater._n2id)); + BA.debugLineNum = 196;BA.debugLine="Service.StopForeground(n2ID)"; +Debug.ShouldStop(8); +appupdater.mostCurrent._service.runVoidMethod ("StopForeground",(Object)(appupdater._n2id)); + 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 void _download_newapk() throws Exception{ +try { + Debug.PushSubsStack("download_newApk (appupdater) ","appupdater",1,appupdater.processBA,appupdater.mostCurrent,156); +if (RapidSub.canDelegate("download_newapk")) { reparto_izca.keymon.lat.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(reparto_izca.keymon.lat.appupdater parent) { +this.parent = parent; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +reparto_izca.keymon.lat.appupdater parent; +RemoteObject _job_newapp = RemoteObject.declareNull("reparto_izca.keymon.lat.httpjob"); +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",1,appupdater.processBA,appupdater.mostCurrent,156); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; + BA.debugLineNum = 159;BA.debugLine="Log(\"Descargando actualización\")"; +Debug.ShouldStop(1073741824); +parent.mostCurrent.__c.runVoidMethod ("LogImpl","8589827",RemoteObject.createImmutable("Descargando actualización"),0); + BA.debugLineNum = 160;BA.debugLine="B4XPages.ShowPage(\"login\")"; +Debug.ShouldStop(-2147483648); +parent.mostCurrent._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,appupdater.processBA,(Object)(RemoteObject.createImmutable("login"))); + BA.debugLineNum = 161;BA.debugLine="B4XPages.MainPage.muestraProgreso(\"Descargando ac"; +Debug.ShouldStop(1); +parent.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,appupdater.processBA).runClassMethod (reparto_izca.keymon.lat.b4xmainpage.class, "_muestraprogreso" /*RemoteObject*/ ,(Object)(RemoteObject.createImmutable("Descargando actualización"))); + BA.debugLineNum = 162;BA.debugLine="Starter.muestraProgreso = 1"; +Debug.ShouldStop(2); +parent.mostCurrent._starter._muestraprogreso /*RemoteObject*/ = BA.NumberToString(1); + BA.debugLineNum = 163;BA.debugLine="Dim job_newAPP As HttpJob"; +Debug.ShouldStop(4); +_job_newapp = RemoteObject.createNew ("reparto_izca.keymon.lat.httpjob");Debug.locals.put("job_newAPP", _job_newapp); + BA.debugLineNum = 164;BA.debugLine="job_newAPP.Initialize(\"job_newAPP\",Me)"; +Debug.ShouldStop(8); +_job_newapp.runClassMethod (reparto_izca.keymon.lat.httpjob.class, "_initialize" /*RemoteObject*/ ,appupdater.processBA,(Object)(BA.ObjectToString("job_newAPP")),(Object)(appupdater.getObject())); + BA.debugLineNum = 165;BA.debugLine="job_newAPP.Download(newApp.appLink)"; +Debug.ShouldStop(16); +_job_newapp.runClassMethod (reparto_izca.keymon.lat.httpjob.class, "_download" /*RemoteObject*/ ,(Object)(parent._newapp.getField(true,"appLink" /*RemoteObject*/ ))); + BA.debugLineNum = 166;BA.debugLine="Wait for (job_newAPP) JobDone (job_newAPP As Http"; +Debug.ShouldStop(32); +parent.mostCurrent.__c.runVoidMethod ("WaitFor","jobdone", appupdater.processBA, anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "appupdater", "download_newapk"), (_job_newapp)); +this.state = 9; +return; +case 9: +//C +this.state = 1; +_job_newapp = (RemoteObject) result.getArrayElement(false,RemoteObject.createImmutable(0));Debug.locals.put("job_newAPP", _job_newapp); +; + BA.debugLineNum = 167;BA.debugLine="If job_newAPP.Success = True Then"; +Debug.ShouldStop(64); +if (true) break; + +case 1: +//if +this.state = 8; +if (RemoteObject.solveBoolean("=",_job_newapp.getField(true,"_success" /*RemoteObject*/ ),parent.mostCurrent.__c.getField(true,"True"))) { +this.state = 3; +}if (true) break; + +case 3: +//C +this.state = 4; + BA.debugLineNum = 169;BA.debugLine="If File.Exists(SharedFolder,\"newapp.apk\") Then"; +Debug.ShouldStop(256); +if (true) break; + +case 4: +//if +this.state = 7; +if (parent.mostCurrent.__c.getField(false,"File").runMethod(true,"Exists",(Object)(parent._sharedfolder),(Object)(RemoteObject.createImmutable("newapp.apk"))).get().booleanValue()) { +this.state = 6; +}if (true) break; + +case 6: +//C +this.state = 7; + BA.debugLineNum = 170;BA.debugLine="File.Delete(SharedFolder,\"newapp.apk\")"; +Debug.ShouldStop(512); +parent.mostCurrent.__c.getField(false,"File").runVoidMethod ("Delete",(Object)(parent._sharedfolder),(Object)(RemoteObject.createImmutable("newapp.apk"))); + if (true) break; + +case 7: +//C +this.state = 8; +; + BA.debugLineNum = 173;BA.debugLine="Dim outNewAPK As OutputStream = File.OpenOutput("; +Debug.ShouldStop(4096); +_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 = 174;BA.debugLine="File.Copy2(job_newAPP.GetInputStream, outNewAPK)"; +Debug.ShouldStop(8192); +parent.mostCurrent.__c.getField(false,"File").runVoidMethod ("Copy2",(Object)((_job_newapp.runClassMethod (reparto_izca.keymon.lat.httpjob.class, "_getinputstream" /*RemoteObject*/ ).getObject())),(Object)((_outnewapk.getObject()))); + BA.debugLineNum = 175;BA.debugLine="outNewAPK.Close"; +Debug.ShouldStop(16384); +_outnewapk.runVoidMethod ("Close"); + BA.debugLineNum = 177;BA.debugLine="B4XPages.MainPage.ocultaProgreso"; +Debug.ShouldStop(65536); +parent.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,appupdater.processBA).runClassMethod (reparto_izca.keymon.lat.b4xmainpage.class, "_ocultaprogreso" /*RemoteObject*/ ); + BA.debugLineNum = 178;BA.debugLine="Log(\"ocultamos prigreso DOWNLOAD APK\")"; +Debug.ShouldStop(131072); +parent.mostCurrent.__c.runVoidMethod ("LogImpl","8589846",RemoteObject.createImmutable("ocultamos prigreso DOWNLOAD APK"),0); + if (true) break; + +case 8: +//C +this.state = -1; +; + BA.debugLineNum = 180;BA.debugLine="job_newAPP.Release"; +Debug.ShouldStop(524288); +_job_newapp.runClassMethod (reparto_izca.keymon.lat.httpjob.class, "_release" /*RemoteObject*/ ); + BA.debugLineNum = 182;BA.debugLine="Dim in As Intent"; +Debug.ShouldStop(2097152); +_in = RemoteObject.createNew ("anywheresoftware.b4a.objects.IntentWrapper");Debug.locals.put("in", _in); + BA.debugLineNum = 183;BA.debugLine="in.Initialize(in.ACTION_VIEW,\"\" )"; +Debug.ShouldStop(4194304); +_in.runVoidMethod ("Initialize",(Object)(_in.getField(true,"ACTION_VIEW")),(Object)(RemoteObject.createImmutable(""))); + BA.debugLineNum = 184;BA.debugLine="SetFileUriAsIntentData(in, \"newapp.apk\")"; +Debug.ShouldStop(8388608); +_setfileuriasintentdata(_in,RemoteObject.createImmutable("newapp.apk")); + BA.debugLineNum = 186;BA.debugLine="in.SetType(\"application/vnd.android.package-archi"; +Debug.ShouldStop(33554432); +_in.runVoidMethod ("SetType",(Object)(RemoteObject.createImmutable("application/vnd.android.package-archive"))); + BA.debugLineNum = 187;BA.debugLine="StartActivity(in)"; +Debug.ShouldStop(67108864); +parent.mostCurrent.__c.runVoidMethod ("StartActivity",appupdater.processBA,(Object)((_in.getObject()))); + BA.debugLineNum = 188;BA.debugLine="n2.Cancel(nNewAppnID)"; +Debug.ShouldStop(134217728); +parent._n2.runVoidMethod ("Cancel",(Object)(parent._nnewappnid)); + BA.debugLineNum = 190;BA.debugLine="StopService(Me)"; +Debug.ShouldStop(536870912); +parent.mostCurrent.__c.runVoidMethod ("StopService",appupdater.processBA,(Object)(appupdater.getObject())); + BA.debugLineNum = 192;BA.debugLine="End Sub"; +Debug.ShouldStop(-2147483648); +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",1,appupdater.processBA,appupdater.mostCurrent,152); +if (RapidSub.canDelegate("download_start")) { return reparto_izca.keymon.lat.appupdater.remoteMe.runUserSub(false, "appupdater","download_start", _startingintent);} +Debug.locals.put("StartingIntent", _startingintent); + BA.debugLineNum = 152;BA.debugLine="Sub download_Start (StartingIntent As Intent)"; +Debug.ShouldStop(8388608); + BA.debugLineNum = 153;BA.debugLine="download_newApk"; +Debug.ShouldStop(16777216); +_download_newapk(); + BA.debugLineNum = 154;BA.debugLine="End Sub"; +Debug.ShouldStop(33554432); +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",1,appupdater.processBA,appupdater.mostCurrent,237); +if (RapidSub.canDelegate("fileprovider_init")) { return reparto_izca.keymon.lat.appupdater.remoteMe.runUserSub(false, "appupdater","fileprovider_init");} +RemoteObject _p = RemoteObject.declareNull("anywheresoftware.b4a.phone.Phone"); + BA.debugLineNum = 237;BA.debugLine="Sub fileProvider_init"; +Debug.ShouldStop(4096); + BA.debugLineNum = 238;BA.debugLine="Dim p As Phone"; +Debug.ShouldStop(8192); +_p = RemoteObject.createNew ("anywheresoftware.b4a.phone.Phone");Debug.locals.put("p", _p); + BA.debugLineNum = 239;BA.debugLine="If p.SdkVersion >= 24 Or File.ExternalWritable ="; +Debug.ShouldStop(16384); +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 = 240;BA.debugLine="UseFileProvider = True"; +Debug.ShouldStop(32768); +appupdater._usefileprovider = appupdater.mostCurrent.__c.getField(true,"True"); + BA.debugLineNum = 241;BA.debugLine="SharedFolder = File.Combine(File.DirInternal, \"s"; +Debug.ShouldStop(65536); +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 = 242;BA.debugLine="If Not(File.IsDirectory(File.DirInternal,\"shared"; +Debug.ShouldStop(131072); +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 = 243;BA.debugLine="File.MakeDir(\"\", SharedFolder)"; +Debug.ShouldStop(262144); +appupdater.mostCurrent.__c.getField(false,"File").runVoidMethod ("MakeDir",(Object)(BA.ObjectToString("")),(Object)(appupdater._sharedfolder)); + }; + }else { + BA.debugLineNum = 246;BA.debugLine="UseFileProvider = False"; +Debug.ShouldStop(2097152); +appupdater._usefileprovider = appupdater.mostCurrent.__c.getField(true,"False"); + BA.debugLineNum = 247;BA.debugLine="SharedFolder = rp.GetSafeDirDefaultExternal(\"sha"; +Debug.ShouldStop(4194304); +appupdater._sharedfolder = appupdater._rp.runMethod(true,"GetSafeDirDefaultExternal",(Object)(RemoteObject.createImmutable("shared"))); + }; + BA.debugLineNum = 249;BA.debugLine="Log($\"Using FileProvider? - ${UseFileProvider}\"$)"; +Debug.ShouldStop(16777216); +appupdater.mostCurrent.__c.runVoidMethod ("LogImpl","8983052",(RemoteObject.concat(RemoteObject.createImmutable("Using FileProvider? - "),appupdater.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((appupdater._usefileprovider))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 250;BA.debugLine="End Sub"; +Debug.ShouldStop(33554432); +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",1,appupdater.processBA,appupdater.mostCurrent,253); +if (RapidSub.canDelegate("getfileuri")) { return reparto_izca.keymon.lat.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 = 253;BA.debugLine="Sub GetFileUri (FileName As String) As Object"; +Debug.ShouldStop(268435456); + BA.debugLineNum = 254;BA.debugLine="Try"; +Debug.ShouldStop(536870912); +try { BA.debugLineNum = 255;BA.debugLine="If Not(UseFileProvider) Then"; +Debug.ShouldStop(1073741824); +if (appupdater.mostCurrent.__c.runMethod(true,"Not",(Object)(appupdater._usefileprovider)).get().booleanValue()) { + BA.debugLineNum = 256;BA.debugLine="Dim uri As JavaObject"; +Debug.ShouldStop(-2147483648); +_uri = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject");Debug.locals.put("uri", _uri); + BA.debugLineNum = 257;BA.debugLine="Return uri.InitializeStatic(\"android.net.Uri\")."; +Debug.ShouldStop(1); +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 = 259;BA.debugLine="Dim f As JavaObject"; +Debug.ShouldStop(4); +_f = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject");Debug.locals.put("f", _f); + BA.debugLineNum = 260;BA.debugLine="f.InitializeNewInstance(\"java.io.File\", Array(Sh"; +Debug.ShouldStop(8); +_f.runVoidMethod ("InitializeNewInstance",(Object)(BA.ObjectToString("java.io.File")),(Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(appupdater._sharedfolder),(_filename)}))); + BA.debugLineNum = 261;BA.debugLine="Dim fp As JavaObject"; +Debug.ShouldStop(16); +_fp = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject");Debug.locals.put("fp", _fp); + BA.debugLineNum = 262;BA.debugLine="Dim context As JavaObject"; +Debug.ShouldStop(32); +_context = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject");Debug.locals.put("context", _context); + BA.debugLineNum = 263;BA.debugLine="context.InitializeContext"; +Debug.ShouldStop(64); +_context.runVoidMethod ("InitializeContext",appupdater.processBA); + BA.debugLineNum = 264;BA.debugLine="fp.InitializeStatic(\"android.support.v4.content."; +Debug.ShouldStop(128); +_fp.runVoidMethod ("InitializeStatic",(Object)(RemoteObject.createImmutable("androidx.core.content.FileProvider"))); + BA.debugLineNum = 265;BA.debugLine="Return fp.RunMethod(\"getUriForFile\", Array(conte"; +Debug.ShouldStop(256); +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 = 267;BA.debugLine="Log(\"FileProvider::GetFileUri - error - \" & Last"; +Debug.ShouldStop(1024); +appupdater.mostCurrent.__c.runVoidMethod ("LogImpl","81048590",RemoteObject.concat(RemoteObject.createImmutable("FileProvider::GetFileUri - error - "),appupdater.mostCurrent.__c.runMethod(false,"LastException",appupdater.processBA).runMethod(true,"getMessage")),0); + BA.debugLineNum = 268;BA.debugLine="Return \"\""; +Debug.ShouldStop(2048); +if (true) return RemoteObject.createImmutable(("")); + }; + BA.debugLineNum = 270;BA.debugLine="End Sub"; +Debug.ShouldStop(8192); +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/izca/izca_reparto.ver"); + //BA.debugLineNum = 85;BA.debugLine="Public nNewApp As Notification"; +appupdater._nnewapp = RemoteObject.createNew ("anywheresoftware.b4a.objects.NotificationWrapper"); + //BA.debugLineNum = 86;BA.debugLine="Public nNewAppnID As Int = 16"; +appupdater._nnewappnid = BA.numberCast(int.class, 16); + //BA.debugLineNum = 88;BA.debugLine="Dim nativeMe As JavaObject"; +appupdater._nativeme = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject"); + //BA.debugLineNum = 89;BA.debugLine="Dim n2 As Notification"; +appupdater._n2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.NotificationWrapper"); + //BA.debugLineNum = 90;BA.debugLine="Dim n2ID As Int = 16"; +appupdater._n2id = BA.numberCast(int.class, 16); + //BA.debugLineNum = 92;BA.debugLine="Public SharedFolder As String"; +appupdater._sharedfolder = RemoteObject.createImmutable(""); + //BA.debugLineNum = 93;BA.debugLine="Public UseFileProvider As Boolean"; +appupdater._usefileprovider = RemoteObject.createImmutable(false); + //BA.debugLineNum = 94;BA.debugLine="Private rp As RuntimePermissions"; +appupdater._rp = RemoteObject.createNew ("anywheresoftware.b4a.objects.RuntimePermissions"); + //BA.debugLineNum = 96;BA.debugLine="Type mNewVersion(update As Boolean, nonewAPP As B"; +; + //BA.debugLineNum = 98;BA.debugLine="Public newApp As mNewVersion"; +appupdater._newapp = RemoteObject.createNew ("reparto_izca.keymon.lat.appupdater._mnewversion"); + //BA.debugLineNum = 99;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _service_create() throws Exception{ +try { + Debug.PushSubsStack("Service_Create (appupdater) ","appupdater",1,appupdater.processBA,appupdater.mostCurrent,101); +if (RapidSub.canDelegate("service_create")) { return reparto_izca.keymon.lat.appupdater.remoteMe.runUserSub(false, "appupdater","service_create");} + BA.debugLineNum = 101;BA.debugLine="Sub Service_Create"; +Debug.ShouldStop(16); + BA.debugLineNum = 102;BA.debugLine="Log(\"appUpdater(), Service_Create\")"; +Debug.ShouldStop(32); +appupdater.mostCurrent.__c.runVoidMethod ("LogImpl","8393217",RemoteObject.createImmutable("appUpdater(), Service_Create"),0); + BA.debugLineNum = 103;BA.debugLine="newApp.Initialize"; +Debug.ShouldStop(64); +appupdater._newapp.runVoidMethod ("Initialize"); + BA.debugLineNum = 104;BA.debugLine="Service.AutomaticForegroundMode = Service.AUTOMAT"; +Debug.ShouldStop(128); +appupdater.mostCurrent._service.setField ("AutomaticForegroundMode",appupdater.mostCurrent._service.getField(true,"AUTOMATIC_FOREGROUND_NEVER")); + BA.debugLineNum = 105;BA.debugLine="n2.Initialize"; +Debug.ShouldStop(256); +appupdater._n2.runVoidMethod ("Initialize"); + BA.debugLineNum = 106;BA.debugLine="nativeMe.InitializeContext"; +Debug.ShouldStop(512); +appupdater._nativeme.runVoidMethod ("InitializeContext",appupdater.processBA); + 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 _service_destroy() throws Exception{ +try { + Debug.PushSubsStack("Service_Destroy (appupdater) ","appupdater",1,appupdater.processBA,appupdater.mostCurrent,233); +if (RapidSub.canDelegate("service_destroy")) { return reparto_izca.keymon.lat.appupdater.remoteMe.runUserSub(false, "appupdater","service_destroy");} + BA.debugLineNum = 233;BA.debugLine="Sub Service_Destroy"; +Debug.ShouldStop(256); + BA.debugLineNum = 234;BA.debugLine="Log(\"appUpdater(), Service_Destroy\")"; +Debug.ShouldStop(512); +appupdater.mostCurrent.__c.runVoidMethod ("LogImpl","8917505",RemoteObject.createImmutable("appUpdater(), Service_Destroy"),0); + 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 void _service_start(RemoteObject _startingintent) throws Exception{ +try { + Debug.PushSubsStack("Service_Start (appupdater) ","appupdater",1,appupdater.processBA,appupdater.mostCurrent,109); +if (RapidSub.canDelegate("service_start")) { reparto_izca.keymon.lat.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(reparto_izca.keymon.lat.appupdater parent,RemoteObject _startingintent) { +this.parent = parent; +this._startingintent = _startingintent; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +reparto_izca.keymon.lat.appupdater parent; +RemoteObject _startingintent; +RemoteObject _j = RemoteObject.declareNull("reparto_izca.keymon.lat.httpjob"); +RemoteObject _app = null; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("Service_Start (appupdater) ","appupdater",1,appupdater.processBA,appupdater.mostCurrent,109); +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 = 110;BA.debugLine="Log(\"appUpdater(), Service_Start\")"; +Debug.ShouldStop(8192); +parent.mostCurrent.__c.runVoidMethod ("LogImpl","8458753",RemoteObject.createImmutable("appUpdater(), Service_Start"),0); + BA.debugLineNum = 112;BA.debugLine="B4XPages.MainPage.muestraProgreso(\"Buscando actua"; +Debug.ShouldStop(32768); +parent.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,appupdater.processBA).runClassMethod (reparto_izca.keymon.lat.b4xmainpage.class, "_muestraprogreso" /*RemoteObject*/ ,(Object)(RemoteObject.createImmutable("Buscando actualización"))); + BA.debugLineNum = 113;BA.debugLine="Log(\"Buscando actualización\")"; +Debug.ShouldStop(65536); +parent.mostCurrent.__c.runVoidMethod ("LogImpl","8458756",RemoteObject.createImmutable("Buscando actualización"),0); + BA.debugLineNum = 114;BA.debugLine="fileProvider_init"; +Debug.ShouldStop(131072); +_fileprovider_init(); + BA.debugLineNum = 115;BA.debugLine="Wait For (Download(Me, lnk)) JobDone (j As HttpJo"; +Debug.ShouldStop(262144); +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 = 116;BA.debugLine="If j.Success Then"; +Debug.ShouldStop(524288); +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 = 117;BA.debugLine="Try"; +Debug.ShouldStop(1048576); +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 = 118;BA.debugLine="Dim app() As String = Regex.Split(Chr(9),j.GetS"; +Debug.ShouldStop(2097152); +_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 (reparto_izca.keymon.lat.httpjob.class, "_getstring" /*RemoteObject*/ )));Debug.locals.put("app", _app);Debug.locals.put("app", _app); + BA.debugLineNum = 120;BA.debugLine="newApp.appLink = app(3) 'Liga a nueva app"; +Debug.ShouldStop(8388608); +parent._newapp.setField ("appLink" /*RemoteObject*/ ,_app.getArrayElement(true,BA.numberCast(int.class, 3))); + BA.debugLineNum = 121;BA.debugLine="newApp.newMsg = app(1) 'Texto de que hay actual"; +Debug.ShouldStop(16777216); +parent._newapp.setField ("newMsg" /*RemoteObject*/ ,_app.getArrayElement(true,BA.numberCast(int.class, 1))); + BA.debugLineNum = 122;BA.debugLine="newApp.okMsg = app(2) 'Texto de app al corrient"; +Debug.ShouldStop(33554432); +parent._newapp.setField ("okMsg" /*RemoteObject*/ ,_app.getArrayElement(true,BA.numberCast(int.class, 2))); + BA.debugLineNum = 123;BA.debugLine="newApp.version = app(0) 'Version actual"; +Debug.ShouldStop(67108864); +parent._newapp.setField ("version" /*RemoteObject*/ ,_app.getArrayElement(true,BA.numberCast(int.class, 0))); + BA.debugLineNum = 125;BA.debugLine="Log($\"Application.VersionName=${Application.Ver"; +Debug.ShouldStop(268435456); +parent.mostCurrent.__c.runVoidMethod ("LogImpl","8458768",(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 = 128;BA.debugLine="If newApp.version = Application.VersionName Th"; +Debug.ShouldStop(-2147483648); +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 = 129;BA.debugLine="newApp.update = False"; +Debug.ShouldStop(1); +parent._newapp.setField ("update" /*RemoteObject*/ ,parent.mostCurrent.__c.getField(true,"False")); + BA.debugLineNum = 130;BA.debugLine="Log(\"No new app\")"; +Debug.ShouldStop(2); +parent.mostCurrent.__c.runVoidMethod ("LogImpl","8458773",RemoteObject.createImmutable("No new app"),0); + BA.debugLineNum = 131;BA.debugLine="B4XPages.ShowPage(\"updateAvailable\")"; +Debug.ShouldStop(4); +parent.mostCurrent._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,appupdater.processBA,(Object)(RemoteObject.createImmutable("updateAvailable"))); + BA.debugLineNum = 133;BA.debugLine="CreateNotification2(\"Aplicacion al corriente\","; +Debug.ShouldStop(16); +_createnotification2(BA.ObjectToString("Aplicacion al corriente"),BA.ObjectToString("No hay actualizaciones disponibles"),BA.ObjectToString("ic_file_download_white_24dp"),(parent.mostCurrent._main.getObject()),parent.mostCurrent.__c.getField(true,"True"),parent.mostCurrent.__c.getField(true,"True"),parent._nnewapp,parent._nnewappnid); + if (true) break; +; + BA.debugLineNum = 135;BA.debugLine="If newApp.version <> Application.VersionName T"; +Debug.ShouldStop(64); + +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 = 136;BA.debugLine="newApp.update = True"; +Debug.ShouldStop(128); +parent._newapp.setField ("update" /*RemoteObject*/ ,parent.mostCurrent.__c.getField(true,"True")); + BA.debugLineNum = 137;BA.debugLine="Log(\"New app true\")"; +Debug.ShouldStop(256); +parent.mostCurrent.__c.runVoidMethod ("LogImpl","8458780",RemoteObject.createImmutable("New app true"),0); + BA.debugLineNum = 138;BA.debugLine="B4XPages.ShowPage(\"updateAvailable\")"; +Debug.ShouldStop(512); +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 = 143;BA.debugLine="Log(\"appUpdater(), Job Failed, error \" & LastE"; +Debug.ShouldStop(16384); +parent.mostCurrent.__c.runVoidMethod ("LogImpl","8458786",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 = 146;BA.debugLine="Log(\"appUpdater(), Job Failed \" & lnk)"; +Debug.ShouldStop(131072); +parent.mostCurrent.__c.runVoidMethod ("LogImpl","8458789",RemoteObject.concat(RemoteObject.createImmutable("appUpdater(), Job Failed "),parent._lnk),0); + if (true) break; + +case 19: +//C +this.state = -1; +; + BA.debugLineNum = 148;BA.debugLine="j.Release"; +Debug.ShouldStop(524288); +_j.runClassMethod (reparto_izca.keymon.lat.httpjob.class, "_release" /*RemoteObject*/ ); + BA.debugLineNum = 150;BA.debugLine="End Sub"; +Debug.ShouldStop(2097152); +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",1,appupdater.processBA,appupdater.mostCurrent,274); +if (RapidSub.canDelegate("setfileuriasintentdata")) { return reparto_izca.keymon.lat.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 = 274;BA.debugLine="Sub SetFileUriAsIntentData (Intent As Intent, File"; +Debug.ShouldStop(131072); + BA.debugLineNum = 275;BA.debugLine="Dim jo As JavaObject = Intent"; +Debug.ShouldStop(262144); +_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 = 276;BA.debugLine="jo.RunMethod(\"setData\", Array(GetFileUri(FileName"; +Debug.ShouldStop(524288); +_jo.runVoidMethod ("RunMethod",(Object)(BA.ObjectToString("setData")),(Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {_getfileuri(_filename)}))); + BA.debugLineNum = 277;BA.debugLine="Intent.Flags = Bit.Or(Intent.Flags, 1) 'FLAG_GRAN"; +Debug.ShouldStop(1048576); +_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 = 278;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/reparto_izca/keymon/lat/b4xbitset.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xbitset.java new file mode 100644 index 0000000..c48f354 --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xbitset.java @@ -0,0 +1,33 @@ + +package reparto_izca.keymon.lat; + +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 reparto_izca.keymon.lat.main _main = null; +public static reparto_izca.keymon.lat.appupdater _appupdater = null; +public static reparto_izca.keymon.lat.subs _subs = null; +public static reparto_izca.keymon.lat.foto _foto = null; +public static reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public static reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public static reparto_izca.keymon.lat.starter _starter = null; +public static reparto_izca.keymon.lat.tracker _tracker = null; +public static reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public static reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public static reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public static reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public static reparto_izca.keymon.lat.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/reparto_izca/keymon/lat/b4xbitset_subs_0.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xbitset_subs_0.java new file mode 100644 index 0000000..1031ecc --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xbitset_subs_0.java @@ -0,0 +1,161 @@ +package reparto_izca.keymon.lat; + +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",34,__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",34,__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",34,__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",34,__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 (reparto_izca.keymon.lat.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",34,__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/reparto_izca/keymon/lat/b4xbreadcrumb.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xbreadcrumb.java new file mode 100644 index 0000000..19484c0 --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xbreadcrumb.java @@ -0,0 +1,47 @@ + +package reparto_izca.keymon.lat; + +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 reparto_izca.keymon.lat.main _main = null; +public static reparto_izca.keymon.lat.appupdater _appupdater = null; +public static reparto_izca.keymon.lat.subs _subs = null; +public static reparto_izca.keymon.lat.foto _foto = null; +public static reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public static reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public static reparto_izca.keymon.lat.starter _starter = null; +public static reparto_izca.keymon.lat.tracker _tracker = null; +public static reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public static reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public static reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public static reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public static reparto_izca.keymon.lat.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/reparto_izca/keymon/lat/b4xbreadcrumb_subs_0.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xbreadcrumb_subs_0.java new file mode 100644 index 0000000..5b035eb --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xbreadcrumb_subs_0.java @@ -0,0 +1,562 @@ +package reparto_izca.keymon.lat; + +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",48,__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 (reparto_izca.keymon.lat.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",48,__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 (reparto_izca.keymon.lat.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",48,__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 (reparto_izca.keymon.lat.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",48,__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",48,__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",48,__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",48,__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",48,__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 (reparto_izca.keymon.lat.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",48,__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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.b4xbreadcrumb.class, "_draw" /*RemoteObject*/ );}; + break; } +case 2: { + BA.debugLineNum = 121;BA.debugLine="Dim index As Int = FindItem(X, Y)"; +Debug.JustUpdateDeviceLine(); +_index = __ref.runClassMethod (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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/reparto_izca/keymon/lat/b4xbytesbuilder.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xbytesbuilder.java new file mode 100644 index 0000000..5ab1904 --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xbytesbuilder.java @@ -0,0 +1,33 @@ + +package reparto_izca.keymon.lat; + +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 reparto_izca.keymon.lat.main _main = null; +public static reparto_izca.keymon.lat.appupdater _appupdater = null; +public static reparto_izca.keymon.lat.subs _subs = null; +public static reparto_izca.keymon.lat.foto _foto = null; +public static reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public static reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public static reparto_izca.keymon.lat.starter _starter = null; +public static reparto_izca.keymon.lat.tracker _tracker = null; +public static reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public static reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public static reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public static reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public static reparto_izca.keymon.lat.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/reparto_izca/keymon/lat/b4xbytesbuilder_subs_0.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xbytesbuilder_subs_0.java new file mode 100644 index 0000000..d1ff791 --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xbytesbuilder_subs_0.java @@ -0,0 +1,473 @@ +package reparto_izca.keymon.lat; + +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",35,__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 (reparto_izca.keymon.lat.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",35,__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 (reparto_izca.keymon.lat.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",35,__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",35,__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 (reparto_izca.keymon.lat.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",35,__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",35,__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",35,__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",35,__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 (reparto_izca.keymon.lat.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",35,__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",35,__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",35,__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","931129602",RemoteObject.createImmutable("Index too large"),0);}; + BA.debugLineNum = 46;BA.debugLine="Append(Data)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (reparto_izca.keymon.lat.b4xbytesbuilder.class, "_append" /*RemoteObject*/ ,(Object)(_data)); + }else { + BA.debugLineNum = 48;BA.debugLine="Dim AfterIndex() As Byte = SubArray(Index)"; +Debug.JustUpdateDeviceLine(); +_afterindex = __ref.runClassMethod (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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",35,__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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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",35,__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","931195138",RemoteObject.createImmutable("Index too large"),0);}; + BA.debugLineNum = 59;BA.debugLine="Append(Data)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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",35,__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 (reparto_izca.keymon.lat.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",35,__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",35,__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 (reparto_izca.keymon.lat.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/reparto_izca/keymon/lat/b4xcache.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xcache.java new file mode 100644 index 0000000..daa4309 --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xcache.java @@ -0,0 +1,35 @@ + +package reparto_izca.keymon.lat; + +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("reparto_izca.keymon.lat.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 reparto_izca.keymon.lat.main _main = null; +public static reparto_izca.keymon.lat.appupdater _appupdater = null; +public static reparto_izca.keymon.lat.subs _subs = null; +public static reparto_izca.keymon.lat.foto _foto = null; +public static reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public static reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public static reparto_izca.keymon.lat.starter _starter = null; +public static reparto_izca.keymon.lat.tracker _tracker = null; +public static reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public static reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public static reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public static reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public static reparto_izca.keymon.lat.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/reparto_izca/keymon/lat/b4xcache_subs_0.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xcache_subs_0.java new file mode 100644 index 0000000..be2a03c --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xcache_subs_0.java @@ -0,0 +1,431 @@ +package reparto_izca.keymon.lat; + +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 ("reparto_izca.keymon.lat.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",36,__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 (reparto_izca.keymon.lat.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",36,__ref.getField(false, "ba"),__ref,102); +if (RapidSub.canDelegate("createb4xcacheitem")) { return __ref.runUserSub(false, "b4xcache","createb4xcacheitem", __ref, _value, _key);} +RemoteObject _t1 = RemoteObject.declareNull("reparto_izca.keymon.lat.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 ("reparto_izca.keymon.lat.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",36,__ref.getField(false, "ba"),__ref,24); +if (RapidSub.canDelegate("get")) { return __ref.runUserSub(false, "b4xcache","get", __ref, _key);} +RemoteObject _ci = RemoteObject.declareNull("reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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",36,__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",36,__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 (reparto_izca.keymon.lat.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",36,__ref.getField(false, "ba"),__ref,60); +if (RapidSub.canDelegate("iseternal")) { return __ref.runUserSub(false, "b4xcache","iseternal", __ref, _key);} +RemoteObject _ci = RemoteObject.declareNull("reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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",36,__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 (reparto_izca.keymon.lat.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",36,__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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.b4xorderedmap.class, "_put" /*RemoteObject*/ ,(Object)((_key)),(Object)((__ref.runClassMethod (reparto_izca.keymon.lat.b4xcache.class, "_createb4xcacheitem" /*RemoteObject*/ ,(Object)(_value),(Object)(_key))))); + BA.debugLineNum = 38;BA.debugLine="TrimIfOversize"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (reparto_izca.keymon.lat.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",36,__ref.getField(false, "ba"),__ref,44); +if (RapidSub.canDelegate("puteternal")) { return __ref.runUserSub(false, "b4xcache","puteternal", __ref, _key, _value);} +RemoteObject _ci = RemoteObject.declareNull("reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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",36,__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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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",36,__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("reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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",36,__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 (reparto_izca.keymon.lat.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",36,__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 (reparto_izca.keymon.lat.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",36,__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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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/reparto_izca/keymon/lat/b4xcollections.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xcollections.java new file mode 100644 index 0000000..6d7875f --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xcollections.java @@ -0,0 +1,64 @@ + +package reparto_izca.keymon.lat; + +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("reparto_izca.keymon.lat.b4xcollections"); + anywheresoftware.b4a.pc.RapidSub.moduleToObject.put(new B4XClass("b4xcollections"), "reparto_izca.keymon.lat.b4xcollections"); + RDebug.INSTANCE.eventTargets.put(new DeviceClass("reparto_izca.keymon.lat.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 reparto_izca.keymon.lat.main _main = null; +public static reparto_izca.keymon.lat.appupdater _appupdater = null; +public static reparto_izca.keymon.lat.subs _subs = null; +public static reparto_izca.keymon.lat.foto _foto = null; +public static reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public static reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public static reparto_izca.keymon.lat.starter _starter = null; +public static reparto_izca.keymon.lat.tracker _tracker = null; +public static reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public static reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public static reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public static reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; + public Object[] GetGlobals() { + return new Object[] {"appUpdater",Debug.moduleToString(reparto_izca.keymon.lat.appupdater.class),"B4XPages",Debug.moduleToString(reparto_izca.keymon.lat.b4xpages.class),"DateUtils",b4xcollections.mostCurrent._dateutils,"foto",Debug.moduleToString(reparto_izca.keymon.lat.foto.class),"HttpUtils2Service",Debug.moduleToString(reparto_izca.keymon.lat.httputils2service.class),"Main",Debug.moduleToString(reparto_izca.keymon.lat.main.class),"MAPA_CLIENTE",Debug.moduleToString(reparto_izca.keymon.lat.mapa_cliente.class),"MAPA_RUTAS",Debug.moduleToString(reparto_izca.keymon.lat.mapa_rutas.class),"newinst2",Debug.moduleToString(reparto_izca.keymon.lat.newinst2.class),"Starter",Debug.moduleToString(reparto_izca.keymon.lat.starter.class),"Subs",Debug.moduleToString(reparto_izca.keymon.lat.subs.class),"Tracker",Debug.moduleToString(reparto_izca.keymon.lat.tracker.class),"XUIViewsUtils",Debug.moduleToString(reparto_izca.keymon.lat.xuiviewsutils.class)}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xcollections_subs_0.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xcollections_subs_0.java new file mode 100644 index 0000000..00bece4 --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xcollections_subs_0.java @@ -0,0 +1,179 @@ +package reparto_izca.keymon.lat; + +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",37,_ba,b4xcollections.mostCurrent,52); +if (RapidSub.canDelegate("createbitset")) { return reparto_izca.keymon.lat.b4xcollections.remoteMe.runUserSub(false, "b4xcollections","createbitset", _ba, _size);} +RemoteObject _s = RemoteObject.declareNull("reparto_izca.keymon.lat.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 ("reparto_izca.keymon.lat.b4xbitset");Debug.locals.put("s", _s); + BA.debugLineNum = 54;BA.debugLine="s.Initialize(Size)"; +Debug.JustUpdateDeviceLine(); +_s.runClassMethod (reparto_izca.keymon.lat.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",37,_ba,b4xcollections.mostCurrent,30); +if (RapidSub.canDelegate("createorderedmap")) { return reparto_izca.keymon.lat.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",37,_ba,b4xcollections.mostCurrent,38); +if (RapidSub.canDelegate("createorderedmap2")) { return reparto_izca.keymon.lat.b4xcollections.remoteMe.runUserSub(false, "b4xcollections","createorderedmap2", _ba, _keys, _values);} +RemoteObject _m = RemoteObject.declareNull("reparto_izca.keymon.lat.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 ("reparto_izca.keymon.lat.b4xorderedmap");Debug.locals.put("m", _m); + BA.debugLineNum = 40;BA.debugLine="m.Initialize"; +Debug.JustUpdateDeviceLine(); +_m.runClassMethod (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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",37,_ba,b4xcollections.mostCurrent,9); +if (RapidSub.canDelegate("createset")) { return reparto_izca.keymon.lat.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",37,_ba,b4xcollections.mostCurrent,16); +if (RapidSub.canDelegate("createset2")) { return reparto_izca.keymon.lat.b4xcollections.remoteMe.runUserSub(false, "b4xcollections","createset2", _ba, _values);} +RemoteObject _s = RemoteObject.declareNull("reparto_izca.keymon.lat.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 ("reparto_izca.keymon.lat.b4xset");Debug.locals.put("s", _s); + BA.debugLineNum = 18;BA.debugLine="s.Initialize"; +Debug.JustUpdateDeviceLine(); +_s.runClassMethod (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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/reparto_izca/keymon/lat/b4xcolortemplate.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xcolortemplate.java new file mode 100644 index 0000000..f3c9e88 --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xcolortemplate.java @@ -0,0 +1,48 @@ + +package reparto_izca.keymon.lat; + +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("reparto_izca.keymon.lat.b4xcolortemplate._colorpickerpart"); +public static RemoteObject _colorpicker = RemoteObject.declareNull("reparto_izca.keymon.lat.b4xcolortemplate._colorpickerpart"); +public static RemoteObject _alphabar = RemoteObject.declareNull("reparto_izca.keymon.lat.b4xcolortemplate._colorpickerpart"); +public static RemoteObject _borderscolor = RemoteObject.createImmutable(0); +public static RemoteObject _xdialog = RemoteObject.declareNull("reparto_izca.keymon.lat.b4xdialog"); +public static RemoteObject _initialcolor = null; +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static reparto_izca.keymon.lat.main _main = null; +public static reparto_izca.keymon.lat.appupdater _appupdater = null; +public static reparto_izca.keymon.lat.subs _subs = null; +public static reparto_izca.keymon.lat.foto _foto = null; +public static reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public static reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public static reparto_izca.keymon.lat.starter _starter = null; +public static reparto_izca.keymon.lat.tracker _tracker = null; +public static reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public static reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public static reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public static reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public static reparto_izca.keymon.lat.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/reparto_izca/keymon/lat/b4xcolortemplate_subs_0.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xcolortemplate_subs_0.java new file mode 100644 index 0000000..ad52f59 --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xcolortemplate_subs_0.java @@ -0,0 +1,1090 @@ +package reparto_izca.keymon.lat; + +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",49,__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 (reparto_izca.keymon.lat.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",49,__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 (reparto_izca.keymon.lat.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",49,__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("reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.b4xcolortemplate.class, "_drawcheckers" /*RemoteObject*/ ,(Object)(_cpp)); + }; + } +}Debug.locals.put("cpp", _cpp); +; + BA.debugLineNum = 73;BA.debugLine="DrawHueBar"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (reparto_izca.keymon.lat.b4xcolortemplate.class, "_drawhuebar" /*RemoteObject*/ ); + BA.debugLineNum = 74;BA.debugLine="DrawAlphaBar"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (reparto_izca.keymon.lat.b4xcolortemplate.class, "_drawalphabar" /*RemoteObject*/ ); + BA.debugLineNum = 75;BA.debugLine="HueBarSelectedChanged (selectedH / 360 * HueBar.p"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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 ("reparto_izca.keymon.lat.b4xcolortemplate._colorpickerpart");__ref.setField("_huebar",b4xcolortemplate._huebar); +b4xcolortemplate._colorpicker = RemoteObject.createNew ("reparto_izca.keymon.lat.b4xcolortemplate._colorpickerpart");__ref.setField("_colorpicker",b4xcolortemplate._colorpicker); +b4xcolortemplate._alphabar = RemoteObject.createNew ("reparto_izca.keymon.lat.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 ("reparto_izca.keymon.lat.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",49,__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 (reparto_izca.keymon.lat.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",49,__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",49,__ref.getField(false, "ba"),__ref,30); +if (RapidSub.canDelegate("createpanelforbitmapcreator")) { return __ref.runUserSub(false, "b4xcolortemplate","createpanelforbitmapcreator", __ref, _eventname, _withcheckers);} +RemoteObject _cpp = RemoteObject.declareNull("reparto_izca.keymon.lat.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 ("reparto_izca.keymon.lat.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",49,__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 (reparto_izca.keymon.lat.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",49,__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",49,__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",49,__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",49,__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",49,__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",49,__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 (reparto_izca.keymon.lat.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",49,__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",49,__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 (reparto_izca.keymon.lat.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",49,__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 (reparto_izca.keymon.lat.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",49,__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 (reparto_izca.keymon.lat.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",49,__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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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",49,__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 (reparto_izca.keymon.lat.b4xcolortemplate.class, "_setselectedhsvcolor" /*RemoteObject*/ ,(Object)(__ref.runClassMethod (reparto_izca.keymon.lat.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",49,__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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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",49,__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(reparto_izca.keymon.lat.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; +reparto_izca.keymon.lat.b4xcolortemplate parent; +RemoteObject _dialog; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("Show (b4xcolortemplate) ","b4xcolortemplate",49,__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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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",49,__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 (reparto_izca.keymon.lat.b4xcolortemplate.class, "_drawcolors" /*RemoteObject*/ ); + BA.debugLineNum = 160;BA.debugLine="HandleSelectedColorChanged(DONT_CHANGE, DONT_CHAN"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (reparto_izca.keymon.lat.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",49,__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 (reparto_izca.keymon.lat.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/reparto_izca/keymon/lat/b4xcombobox.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xcombobox.java new file mode 100644 index 0000000..f29856b --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xcombobox.java @@ -0,0 +1,41 @@ + +package reparto_izca.keymon.lat; + +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 reparto_izca.keymon.lat.main _main = null; +public static reparto_izca.keymon.lat.appupdater _appupdater = null; +public static reparto_izca.keymon.lat.subs _subs = null; +public static reparto_izca.keymon.lat.foto _foto = null; +public static reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public static reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public static reparto_izca.keymon.lat.starter _starter = null; +public static reparto_izca.keymon.lat.tracker _tracker = null; +public static reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public static reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public static reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public static reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public static reparto_izca.keymon.lat.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/reparto_izca/keymon/lat/b4xcombobox_subs_0.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xcombobox_subs_0.java new file mode 100644 index 0000000..e9204a4 --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xcombobox_subs_0.java @@ -0,0 +1,465 @@ +package reparto_izca.keymon.lat; + +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",50,__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",50,__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 (reparto_izca.keymon.lat.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",50,__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",50,__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",50,__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",50,__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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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",50,__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",50,__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",50,__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",50,__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(reparto_izca.keymon.lat.b4xcombobox parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +reparto_izca.keymon.lat.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",50,__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 (reparto_izca.keymon.lat.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",50,__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 (reparto_izca.keymon.lat.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",50,__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/reparto_izca/keymon/lat/b4xcomparatorsort.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xcomparatorsort.java new file mode 100644 index 0000000..b948c24 --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xcomparatorsort.java @@ -0,0 +1,31 @@ + +package reparto_izca.keymon.lat; + +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 reparto_izca.keymon.lat.main _main = null; +public static reparto_izca.keymon.lat.appupdater _appupdater = null; +public static reparto_izca.keymon.lat.subs _subs = null; +public static reparto_izca.keymon.lat.foto _foto = null; +public static reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public static reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public static reparto_izca.keymon.lat.starter _starter = null; +public static reparto_izca.keymon.lat.tracker _tracker = null; +public static reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public static reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public static reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public static reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public static reparto_izca.keymon.lat.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/reparto_izca/keymon/lat/b4xcomparatorsort_subs_0.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xcomparatorsort_subs_0.java new file mode 100644 index 0000000..bdd6fca --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xcomparatorsort_subs_0.java @@ -0,0 +1,181 @@ +package reparto_izca.keymon.lat; + +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",38,__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",38,__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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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",38,__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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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",38,__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 (reparto_izca.keymon.lat.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",38,__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/reparto_izca/keymon/lat/b4xdatetemplate.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xdatetemplate.java new file mode 100644 index 0000000..ce5ddb6 --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xdatetemplate.java @@ -0,0 +1,69 @@ + +package reparto_izca.keymon.lat; + +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("reparto_izca.keymon.lat.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 reparto_izca.keymon.lat.main _main = null; +public static reparto_izca.keymon.lat.appupdater _appupdater = null; +public static reparto_izca.keymon.lat.subs _subs = null; +public static reparto_izca.keymon.lat.foto _foto = null; +public static reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public static reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public static reparto_izca.keymon.lat.starter _starter = null; +public static reparto_izca.keymon.lat.tracker _tracker = null; +public static reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public static reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public static reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public static reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public static reparto_izca.keymon.lat.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/reparto_izca/keymon/lat/b4xdatetemplate_subs_0.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xdatetemplate_subs_0.java new file mode 100644 index 0000000..a85772d --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xdatetemplate_subs_0.java @@ -0,0 +1,759 @@ +package reparto_izca.keymon.lat; + +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",51,__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 (reparto_izca.keymon.lat.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",51,__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 (reparto_izca.keymon.lat.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 ("reparto_izca.keymon.lat.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",51,__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 (reparto_izca.keymon.lat.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",51,__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 (reparto_izca.keymon.lat.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",51,__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",51,__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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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",51,__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",51,__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",51,__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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.b4xdatetemplate.class, "_hide" /*RemoteObject*/ ); + }else { + BA.debugLineNum = 141;BA.debugLine="DrawDays"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (reparto_izca.keymon.lat.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",51,__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 (reparto_izca.keymon.lat.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",51,__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 (reparto_izca.keymon.lat.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",51,__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",51,__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 (reparto_izca.keymon.lat.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",51,__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",51,__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(reparto_izca.keymon.lat.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; +reparto_izca.keymon.lat.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",51,__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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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/reparto_izca/keymon/lat/b4xdialog.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xdialog.java new file mode 100644 index 0000000..27c0298 --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xdialog.java @@ -0,0 +1,60 @@ + +package reparto_izca.keymon.lat; + +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 reparto_izca.keymon.lat.main _main = null; +public static reparto_izca.keymon.lat.appupdater _appupdater = null; +public static reparto_izca.keymon.lat.subs _subs = null; +public static reparto_izca.keymon.lat.foto _foto = null; +public static reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public static reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public static reparto_izca.keymon.lat.starter _starter = null; +public static reparto_izca.keymon.lat.tracker _tracker = null; +public static reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public static reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public static reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public static reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public static reparto_izca.keymon.lat.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/reparto_izca/keymon/lat/b4xdialog_subs_0.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xdialog_subs_0.java new file mode 100644 index 0000000..e56a8cd --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xdialog_subs_0.java @@ -0,0 +1,1620 @@ +package reparto_izca.keymon.lat; + +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",52,__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",52,__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",52,__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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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",52,__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 (reparto_izca.keymon.lat.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",52,__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 (reparto_izca.keymon.lat.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",52,__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",52,__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",52,__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",52,__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",52,__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",52,__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",52,__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 (reparto_izca.keymon.lat.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",52,__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",52,__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 (reparto_izca.keymon.lat.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",52,__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(reparto_izca.keymon.lat.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; +reparto_izca.keymon.lat.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",52,__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 (reparto_izca.keymon.lat.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",52,__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(reparto_izca.keymon.lat.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; +reparto_izca.keymon.lat.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",52,__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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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",52,__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(reparto_izca.keymon.lat.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; +reparto_izca.keymon.lat.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",52,__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 (reparto_izca.keymon.lat.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",52,__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",52,__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 (reparto_izca.keymon.lat.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/reparto_izca/keymon/lat/b4xfloattextfield.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xfloattextfield.java new file mode 100644 index 0000000..1c7017f --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xfloattextfield.java @@ -0,0 +1,63 @@ + +package reparto_izca.keymon.lat; + +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("reparto_izca.keymon.lat.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 reparto_izca.keymon.lat.main _main = null; +public static reparto_izca.keymon.lat.appupdater _appupdater = null; +public static reparto_izca.keymon.lat.subs _subs = null; +public static reparto_izca.keymon.lat.foto _foto = null; +public static reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public static reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public static reparto_izca.keymon.lat.starter _starter = null; +public static reparto_izca.keymon.lat.tracker _tracker = null; +public static reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public static reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public static reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public static reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public static reparto_izca.keymon.lat.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/reparto_izca/keymon/lat/b4xfloattextfield_subs_0.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xfloattextfield_subs_0.java new file mode 100644 index 0000000..7c34866 --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xfloattextfield_subs_0.java @@ -0,0 +1,1310 @@ +package reparto_izca.keymon.lat; + +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",53,__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 (reparto_izca.keymon.lat.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 ("reparto_izca.keymon.lat.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",53,__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 (reparto_izca.keymon.lat.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",53,__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",53,__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",53,__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 (reparto_izca.keymon.lat.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",53,__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 (reparto_izca.keymon.lat.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",53,__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",53,__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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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",53,__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","947710232",RemoteObject.createImmutable("Multiline not supported with password mode."),0); + }; + BA.debugLineNum = 93;BA.debugLine="CreateTextFieldAll(PasswordMode, PassedLabel.Font"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.b4xfloattextfield.class, "_createrevealbutton" /*RemoteObject*/ ); + }else { + BA.debugLineNum = 103;BA.debugLine="CreateClearButton"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (reparto_izca.keymon.lat.b4xfloattextfield.class, "_createclearbutton" /*RemoteObject*/ ); + }; + BA.debugLineNum = 105;BA.debugLine="CreateAcceptButton"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (reparto_izca.keymon.lat.b4xfloattextfield.class, "_createacceptbutton" /*RemoteObject*/ ); + BA.debugLineNum = 106;BA.debugLine="Base_Resize(mBase.Width, mBase.Height)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (reparto_izca.keymon.lat.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",53,__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",53,__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",53,__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",53,__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 (reparto_izca.keymon.lat.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",53,__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",53,__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 (reparto_izca.keymon.lat.b4xfloattextfield.class, "_settext" /*RemoteObject*/ ,(Object)(RemoteObject.createImmutable(""))); + break; } +case 1: { + BA.debugLineNum = 409;BA.debugLine="SwitchFromPasswordToRegular (True)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (reparto_izca.keymon.lat.b4xfloattextfield.class, "_switchfrompasswordtoregular" /*void*/ ,(Object)(b4xfloattextfield.__c.getField(true,"True"))); + break; } +case 2: { + BA.debugLineNum = 411;BA.debugLine="SwitchFromPasswordToRegular(False)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (reparto_izca.keymon.lat.b4xfloattextfield.class, "_switchfrompasswordtoregular" /*void*/ ,(Object)(b4xfloattextfield.__c.getField(true,"False"))); + break; } +case 3: { + BA.debugLineNum = 413;BA.debugLine="tf_EnterPressed"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (reparto_izca.keymon.lat.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",53,__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",53,__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",53,__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 (reparto_izca.keymon.lat.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",53,__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(reparto_izca.keymon.lat.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; +reparto_izca.keymon.lat.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",53,__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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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",53,__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 (reparto_izca.keymon.lat.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",53,__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 (reparto_izca.keymon.lat.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",53,__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 (reparto_izca.keymon.lat.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",53,__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 (reparto_izca.keymon.lat.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",53,__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 (reparto_izca.keymon.lat.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",53,__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 (reparto_izca.keymon.lat.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",53,__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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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",53,__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/reparto_izca/keymon/lat/b4xformatter.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xformatter.java new file mode 100644 index 0000000..5f7c85b --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xformatter.java @@ -0,0 +1,35 @@ + +package reparto_izca.keymon.lat; + +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 reparto_izca.keymon.lat.main _main = null; +public static reparto_izca.keymon.lat.appupdater _appupdater = null; +public static reparto_izca.keymon.lat.subs _subs = null; +public static reparto_izca.keymon.lat.foto _foto = null; +public static reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public static reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public static reparto_izca.keymon.lat.starter _starter = null; +public static reparto_izca.keymon.lat.tracker _tracker = null; +public static reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public static reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public static reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public static reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public static reparto_izca.keymon.lat.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/reparto_izca/keymon/lat/b4xformatter_subs_0.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xformatter_subs_0.java new file mode 100644 index 0000000..f03903c --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xformatter_subs_0.java @@ -0,0 +1,506 @@ +package reparto_izca.keymon.lat; + +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",67,__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",67,__ref.getField(false, "ba"),__ref,38); +if (RapidSub.canDelegate("copyformatdata")) { return __ref.runUserSub(false, "b4xformatter","copyformatdata", __ref, _data);} +RemoteObject _d = RemoteObject.declareNull("reparto_izca.keymon.lat.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 ("reparto_izca.keymon.lat.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",67,__ref.getField(false, "ba"),__ref,19); +if (RapidSub.canDelegate("createdefaultformat")) { return __ref.runUserSub(false, "b4xformatter","createdefaultformat", __ref);} +RemoteObject _d = RemoteObject.declareNull("reparto_izca.keymon.lat.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 ("reparto_izca.keymon.lat.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",67,__ref.getField(false, "ba"),__ref,92); +if (RapidSub.canDelegate("format")) { return __ref.runUserSub(false, "b4xformatter","format", __ref, _number);} +RemoteObject _data = RemoteObject.declareNull("reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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",67,__ref.getField(false, "ba"),__ref,150); +if (RapidSub.canDelegate("formatlabel")) { return __ref.runUserSub(false, "b4xformatter","formatlabel", __ref, _number, _label);} +RemoteObject _data = RemoteObject.declareNull("reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.b4xformatter.class, "_format" /*RemoteObject*/ ,(Object)(_number)))); + BA.debugLineNum = 152;BA.debugLine="Dim data As B4XFormatData = GetFormatData(Number)"; +Debug.JustUpdateDeviceLine(); +_data = __ref.runClassMethod (reparto_izca.keymon.lat.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",67,__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",67,__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("reparto_izca.keymon.lat.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",67,__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("reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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",67,__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 (reparto_izca.keymon.lat.b4xformatter.class, "_copyformatdata" /*RemoteObject*/ ,(Object)(__ref.runClassMethod (reparto_izca.keymon.lat.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/reparto_izca/keymon/lat/b4ximageview.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4ximageview.java new file mode 100644 index 0000000..ccd2848 --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4ximageview.java @@ -0,0 +1,42 @@ + +package reparto_izca.keymon.lat; + +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 reparto_izca.keymon.lat.main _main = null; +public static reparto_izca.keymon.lat.appupdater _appupdater = null; +public static reparto_izca.keymon.lat.subs _subs = null; +public static reparto_izca.keymon.lat.foto _foto = null; +public static reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public static reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public static reparto_izca.keymon.lat.starter _starter = null; +public static reparto_izca.keymon.lat.tracker _tracker = null; +public static reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public static reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public static reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public static reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public static reparto_izca.keymon.lat.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/reparto_izca/keymon/lat/b4ximageview_subs_0.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4ximageview_subs_0.java new file mode 100644 index 0000000..a23900e --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4ximageview_subs_0.java @@ -0,0 +1,497 @@ +package reparto_izca.keymon.lat; + +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",54,__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 (reparto_izca.keymon.lat.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",54,__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",54,__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 (reparto_izca.keymon.lat.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",54,__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",54,__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",54,__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",54,__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",54,__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",54,__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 (reparto_izca.keymon.lat.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",54,__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 (reparto_izca.keymon.lat.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",54,__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 (reparto_izca.keymon.lat.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",54,__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 (reparto_izca.keymon.lat.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",54,__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 (reparto_izca.keymon.lat.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",54,__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 (reparto_izca.keymon.lat.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","950069531",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",54,__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/reparto_izca/keymon/lat/b4xinputtemplate.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xinputtemplate.java new file mode 100644 index 0000000..34d6528 --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xinputtemplate.java @@ -0,0 +1,42 @@ + +package reparto_izca.keymon.lat; + +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("reparto_izca.keymon.lat.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 reparto_izca.keymon.lat.main _main = null; +public static reparto_izca.keymon.lat.appupdater _appupdater = null; +public static reparto_izca.keymon.lat.subs _subs = null; +public static reparto_izca.keymon.lat.foto _foto = null; +public static reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public static reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public static reparto_izca.keymon.lat.starter _starter = null; +public static reparto_izca.keymon.lat.tracker _tracker = null; +public static reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public static reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public static reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public static reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public static reparto_izca.keymon.lat.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/reparto_izca/keymon/lat/b4xinputtemplate_subs_0.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xinputtemplate_subs_0.java new file mode 100644 index 0000000..61b724b --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xinputtemplate_subs_0.java @@ -0,0 +1,457 @@ +package reparto_izca.keymon.lat; + +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 ("reparto_izca.keymon.lat.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",55,__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",55,__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",55,__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",55,__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 (reparto_izca.keymon.lat.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",55,__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",55,__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",55,__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 (reparto_izca.keymon.lat.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",55,__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(reparto_izca.keymon.lat.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; +reparto_izca.keymon.lat.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",55,__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 (reparto_izca.keymon.lat.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",55,__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 (reparto_izca.keymon.lat.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",55,__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 (reparto_izca.keymon.lat.b4xinputtemplate.class, "_isvalid" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_textfield1" /*RemoteObject*/ ).runMethod(true,"getText"))).get().booleanValue()) { +__ref.getField(false,"_xdialog" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.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",55,__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 (reparto_izca.keymon.lat.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",55,__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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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/reparto_izca/keymon/lat/b4xlisttemplate.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xlisttemplate.java new file mode 100644 index 0000000..c486493 --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xlisttemplate.java @@ -0,0 +1,41 @@ + +package reparto_izca.keymon.lat; + +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("reparto_izca.keymon.lat.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 reparto_izca.keymon.lat.main _main = null; +public static reparto_izca.keymon.lat.appupdater _appupdater = null; +public static reparto_izca.keymon.lat.subs _subs = null; +public static reparto_izca.keymon.lat.foto _foto = null; +public static reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public static reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public static reparto_izca.keymon.lat.starter _starter = null; +public static reparto_izca.keymon.lat.tracker _tracker = null; +public static reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public static reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public static reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public static reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public static reparto_izca.keymon.lat.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/reparto_izca/keymon/lat/b4xlisttemplate_subs_0.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xlisttemplate_subs_0.java new file mode 100644 index 0000000..0e68d95 --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xlisttemplate_subs_0.java @@ -0,0 +1,431 @@ +package reparto_izca.keymon.lat; + +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 ("reparto_izca.keymon.lat.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",56,__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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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",56,__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",56,__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",56,__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",56,__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",56,__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 (reparto_izca.keymon.lat.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",56,__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(reparto_izca.keymon.lat.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; +reparto_izca.keymon.lat.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",56,__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 (reparto_izca.keymon.lat.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/reparto_izca/keymon/lat/b4xloadingindicator.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xloadingindicator.java new file mode 100644 index 0000000..ec7ec65 --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xloadingindicator.java @@ -0,0 +1,41 @@ + +package reparto_izca.keymon.lat; + +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 reparto_izca.keymon.lat.main _main = null; +public static reparto_izca.keymon.lat.appupdater _appupdater = null; +public static reparto_izca.keymon.lat.subs _subs = null; +public static reparto_izca.keymon.lat.foto _foto = null; +public static reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public static reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public static reparto_izca.keymon.lat.starter _starter = null; +public static reparto_izca.keymon.lat.tracker _tracker = null; +public static reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public static reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public static reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public static reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public static reparto_izca.keymon.lat.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/reparto_izca/keymon/lat/b4xloadingindicator_subs_0.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xloadingindicator_subs_0.java new file mode 100644 index 0000000..4c1e84c --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xloadingindicator_subs_0.java @@ -0,0 +1,627 @@ +package reparto_izca.keymon.lat; + +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",57,__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 (reparto_izca.keymon.lat.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",57,__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 (reparto_izca.keymon.lat.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",57,__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",57,__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",57,__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",57,__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 (reparto_izca.keymon.lat.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",57,__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 (reparto_izca.keymon.lat.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",57,__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",57,__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",57,__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",57,__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",57,__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(reparto_izca.keymon.lat.b4xloadingindicator parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +reparto_izca.keymon.lat.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",57,__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",57,__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",57,__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 (reparto_izca.keymon.lat.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/reparto_izca/keymon/lat/b4xlongtexttemplate.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xlongtexttemplate.java new file mode 100644 index 0000000..5556d0c --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xlongtexttemplate.java @@ -0,0 +1,35 @@ + +package reparto_izca.keymon.lat; + +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 reparto_izca.keymon.lat.main _main = null; +public static reparto_izca.keymon.lat.appupdater _appupdater = null; +public static reparto_izca.keymon.lat.subs _subs = null; +public static reparto_izca.keymon.lat.foto _foto = null; +public static reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public static reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public static reparto_izca.keymon.lat.starter _starter = null; +public static reparto_izca.keymon.lat.tracker _tracker = null; +public static reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public static reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public static reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public static reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public static reparto_izca.keymon.lat.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/reparto_izca/keymon/lat/b4xlongtexttemplate_subs_0.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xlongtexttemplate_subs_0.java new file mode 100644 index 0000000..420bb06 --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xlongtexttemplate_subs_0.java @@ -0,0 +1,157 @@ +package reparto_izca.keymon.lat; + +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",58,__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",58,__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",58,__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",58,__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",58,__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/reparto_izca/keymon/lat/b4xmainpage.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xmainpage.java new file mode 100644 index 0000000..7838e72 --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xmainpage.java @@ -0,0 +1,119 @@ + +package reparto_izca.keymon.lat; + +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 _rp = RemoteObject.declareNull("anywheresoftware.b4a.objects.RuntimePermissions"); +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("reparto_izca.keymon.lat.b4xmainpage"); +public static RemoteObject _principal = RemoteObject.declareNull("reparto_izca.keymon.lat.c_principal"); +public static RemoteObject _clientes = RemoteObject.declareNull("reparto_izca.keymon.lat.c_clientes"); +public static RemoteObject _cliente = RemoteObject.declareNull("reparto_izca.keymon.lat.c_cliente"); +public static RemoteObject _productos = RemoteObject.declareNull("reparto_izca.keymon.lat.c_productos"); +public static RemoteObject _updateavailable = RemoteObject.declareNull("reparto_izca.keymon.lat.c_updateavailable"); +public static RemoteObject _mapas = RemoteObject.declareNull("reparto_izca.keymon.lat.c_mapas"); +public static RemoteObject _nuevocliente = RemoteObject.declareNull("reparto_izca.keymon.lat.c_nuevocliente"); +public static RemoteObject _ticketsdia = RemoteObject.declareNull("reparto_izca.keymon.lat.c_ticketsdia"); +public static RemoteObject _noventa = RemoteObject.declareNull("reparto_izca.keymon.lat.c_noventa"); +public static RemoteObject _pedidos = RemoteObject.declareNull("reparto_izca.keymon.lat.c_pedidos"); +public static RemoteObject _buscar = RemoteObject.declareNull("reparto_izca.keymon.lat.c_buscar"); +public static RemoteObject _detalleventa = RemoteObject.declareNull("reparto_izca.keymon.lat.c_detalleventa"); +public static RemoteObject _detalle_promo = RemoteObject.declareNull("reparto_izca.keymon.lat.c_detalle_promo"); +public static RemoteObject _reqmanager = RemoteObject.declareNull("reparto_izca.keymon.lat.dbrequestmanager"); +public static RemoteObject _usuario = RemoteObject.createImmutable(""); +public static RemoteObject _logger = RemoteObject.createImmutable(false); +public static RemoteObject _lat_gps = RemoteObject.createImmutable(""); +public static RemoteObject _lon_gps = RemoteObject.createImmutable(""); +public static RemoteObject _server = RemoteObject.createImmutable(""); +public static RemoteObject _montoactual = RemoteObject.createImmutable(""); +public static RemoteObject _clientestotal = RemoteObject.createImmutable(""); +public static RemoteObject _clientesventa = RemoteObject.createImmutable(""); +public static RemoteObject _clientesrechazo = RemoteObject.createImmutable(""); +public static RemoteObject _clientesvisitados = RemoteObject.createImmutable(""); +public static RemoteObject _almacen = RemoteObject.createImmutable(""); +public static RemoteObject _rutapreventa = RemoteObject.createImmutable(""); +public static RemoteObject _cantidadprod = RemoteObject.createImmutable(""); +public static RemoteObject _ultimaactualizaciongps = RemoteObject.createImmutable(""); +public static RemoteObject _fecharuta = RemoteObject.createImmutable(""); +public static RemoteObject _srvip = RemoteObject.createImmutable(""); +public static RemoteObject _phn = RemoteObject.declareNull("anywheresoftware.b4a.phone.Phone"); +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 _label1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _p_principal = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _entrar = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _checklist = RemoteObject.declareNull("reparto_izca.keymon.lat.c_cheklist"); +public static RemoteObject _tabulador = RemoteObject.declareNull("reparto_izca.keymon.lat.c_tabulador"); +public static RemoteObject _batt = RemoteObject.createImmutable(0); +public static RemoteObject _porvisitar = RemoteObject.createImmutable(""); +public static RemoteObject _entregas = RemoteObject.createImmutable(""); +public static RemoteObject _rechazos = RemoteObject.createImmutable(""); +public static RemoteObject _montoentregado = RemoteObject.createImmutable(""); +public static RemoteObject _montorechazado = RemoteObject.createImmutable(""); +public static RemoteObject _visitadostotales = RemoteObject.createImmutable(""); +public static RemoteObject _p_appupdate = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _i_engrane = RemoteObject.declareNull("anywheresoftware.b4a.objects.ImageViewWrapper"); +public static RemoteObject _b_server = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _b_apk = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _b_enviobd = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _b_regesar = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _et_server = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _p_serverlist = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _lv_server = RemoteObject.declareNull("anywheresoftware.b4a.objects.ListViewWrapper"); +public static RemoteObject _provider = RemoteObject.declareNull("reparto_izca.keymon.lat.fileprovider"); +public static RemoteObject _rutabdbackup = RemoteObject.createImmutable(""); +public static RemoteObject _b_can_monto = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _b_aceptar_monto = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _et_add_monto = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _p_add_monto = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _sdate = RemoteObject.createImmutable(""); +public static RemoteObject _stime = RemoteObject.createImmutable(""); +public static RemoteObject _p_validacion = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _b_cancelarcodigo = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _b_aceptar = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _et_codigo = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _p_ciego = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _b_terpc = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _b_pc_env = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _clv_pick_ciego = RemoteObject.declareNull("b4a.example3.customlistview"); +public static RemoteObject _et_buspc = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _q_buscar = RemoteObject.createImmutable(""); +public static RemoteObject _d = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _l_pick_ciego = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _et_pick_ciego = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _a = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _f = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _b_abono = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _monto_entregadoactual = RemoteObject.createImmutable(""); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static reparto_izca.keymon.lat.main _main = null; +public static reparto_izca.keymon.lat.appupdater _appupdater = null; +public static reparto_izca.keymon.lat.subs _subs = null; +public static reparto_izca.keymon.lat.foto _foto = null; +public static reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public static reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public static reparto_izca.keymon.lat.starter _starter = null; +public static reparto_izca.keymon.lat.tracker _tracker = null; +public static reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public static reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public static reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public static reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public static reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"a",_ref.getField(false, "_a"),"almacen",_ref.getField(false, "_almacen"),"b_abono",_ref.getField(false, "_b_abono"),"b_aceptar",_ref.getField(false, "_b_aceptar"),"B_Aceptar_Monto",_ref.getField(false, "_b_aceptar_monto"),"b_apk",_ref.getField(false, "_b_apk"),"B_Can_Monto",_ref.getField(false, "_b_can_monto"),"b_cancelarcodigo",_ref.getField(false, "_b_cancelarcodigo"),"b_envioBD",_ref.getField(false, "_b_enviobd"),"B_PC_ENV",_ref.getField(false, "_b_pc_env"),"b_regesar",_ref.getField(false, "_b_regesar"),"b_server",_ref.getField(false, "_b_server"),"b_terpc",_ref.getField(false, "_b_terpc"),"batt",_ref.getField(false, "_batt"),"buscar",_ref.getField(false, "_buscar"),"c",_ref.getField(false, "_c"),"CANTIDADPROD",_ref.getField(false, "_cantidadprod"),"checklist",_ref.getField(false, "_checklist"),"cliente",_ref.getField(false, "_cliente"),"clientes",_ref.getField(false, "_clientes"),"clientesRechazo",_ref.getField(false, "_clientesrechazo"),"clientesTotal",_ref.getField(false, "_clientestotal"),"clientesVenta",_ref.getField(false, "_clientesventa"),"clientesVisitados",_ref.getField(false, "_clientesvisitados"),"CLV_PICK_CIEGO",_ref.getField(false, "_clv_pick_ciego"),"d",_ref.getField(false, "_d"),"DateUtils",_ref.getField(false, "_dateutils"),"detalle_promo",_ref.getField(false, "_detalle_promo"),"detalleVenta",_ref.getField(false, "_detalleventa"),"Entrar",_ref.getField(false, "_entrar"),"entregas",_ref.getField(false, "_entregas"),"ET_Add_Monto",_ref.getField(false, "_et_add_monto"),"et_buspc",_ref.getField(false, "_et_buspc"),"et_codigo",_ref.getField(false, "_et_codigo"),"ET_PICK_CIEGO",_ref.getField(false, "_et_pick_ciego"),"et_server",_ref.getField(false, "_et_server"),"existe",_ref.getField(false, "_existe"),"f",_ref.getField(false, "_f"),"fechaRuta",_ref.getField(false, "_fecharuta"),"i_engrane",_ref.getField(false, "_i_engrane"),"IMEI",_ref.getField(false, "_imei"),"IMEN",_ref.getField(false, "_imen"),"L_PICK_CIEGO",_ref.getField(false, "_l_pick_ciego"),"Label1",_ref.getField(false, "_label1"),"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"),"mapas",_ref.getField(false, "_mapas"),"monto_entregadoactual",_ref.getField(false, "_monto_entregadoactual"),"montoActual",_ref.getField(false, "_montoactual"),"montoEntregado",_ref.getField(false, "_montoentregado"),"montoRechazado",_ref.getField(false, "_montorechazado"),"noVenta",_ref.getField(false, "_noventa"),"nuevoCliente",_ref.getField(false, "_nuevocliente"),"p_add_monto",_ref.getField(false, "_p_add_monto"),"p_appUpdate",_ref.getField(false, "_p_appupdate"),"P_CIEGO",_ref.getField(false, "_p_ciego"),"p_principal",_ref.getField(false, "_p_principal"),"p_serverList",_ref.getField(false, "_p_serverlist"),"p_validacion",_ref.getField(false, "_p_validacion"),"paso1",_ref.getField(false, "_paso1"),"pass",_ref.getField(false, "_pass"),"pedidos",_ref.getField(false, "_pedidos"),"phn",_ref.getField(false, "_phn"),"porVisitar",_ref.getField(false, "_porvisitar"),"principal",_ref.getField(false, "_principal"),"productos",_ref.getField(false, "_productos"),"Provider",_ref.getField(false, "_provider"),"q_buscar",_ref.getField(false, "_q_buscar"),"rechazos",_ref.getField(false, "_rechazos"),"reqManager",_ref.getField(false, "_reqmanager"),"Root",_ref.getField(false, "_root"),"rp",_ref.getField(false, "_rp"),"rutaBDBackup",_ref.getField(false, "_rutabdbackup"),"rutaPreventa",_ref.getField(false, "_rutapreventa"),"sDate",_ref.getField(false, "_sdate"),"server",_ref.getField(false, "_server"),"srvIp",_ref.getField(false, "_srvip"),"sTime",_ref.getField(false, "_stime"),"tabulador",_ref.getField(false, "_tabulador"),"ticketsDia",_ref.getField(false, "_ticketsdia"),"ultimaActualizacionGPS",_ref.getField(false, "_ultimaactualizaciongps"),"updateAvailable",_ref.getField(false, "_updateavailable"),"user",_ref.getField(false, "_user"),"usuario",_ref.getField(false, "_usuario"),"visitadostotales",_ref.getField(false, "_visitadostotales"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xmainpage_subs_0.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xmainpage_subs_0.java new file mode 100644 index 0000000..afba439 --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xmainpage_subs_0.java @@ -0,0 +1,2783 @@ +package reparto_izca.keymon.lat; + +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,937); +if (RapidSub.canDelegate("b_aceptar_click")) { return __ref.runUserSub(false, "b4xmainpage","b_aceptar_click", __ref);} + BA.debugLineNum = 937;BA.debugLine="Private Sub b_aceptar_Click"; +Debug.ShouldStop(256); + BA.debugLineNum = 938;BA.debugLine="Private f As Cursor=Starter.skmt.ExecQuery(\"selec"; +Debug.ShouldStop(512); +b4xmainpage._f = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +b4xmainpage._f = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), b4xmainpage._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select RUTAA from RUTAA"))));__ref.setField("_f",b4xmainpage._f); + BA.debugLineNum = 939;BA.debugLine="f.Position=0"; +Debug.ShouldStop(1024); +__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 940;BA.debugLine="Private a As Cursor =Starter.skmt.ExecQuery(\"sele"; +Debug.ShouldStop(2048); +b4xmainpage._a = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +b4xmainpage._a = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), b4xmainpage._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select ID_ALMACEN from CAT_ALMACEN"))));__ref.setField("_a",b4xmainpage._a); + BA.debugLineNum = 941;BA.debugLine="a.Position = 0"; +Debug.ShouldStop(4096); +__ref.getField(false,"_a" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 947;BA.debugLine="f.Close"; +Debug.ShouldStop(262144); +__ref.getField(false,"_f" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 948;BA.debugLine="a.Close"; +Debug.ShouldStop(524288); +__ref.getField(false,"_a" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 953;BA.debugLine="End Sub"; +Debug.ShouldStop(16777216); +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,595); +if (RapidSub.canDelegate("b_apk_click")) { return __ref.runUserSub(false, "b4xmainpage","b_apk_click", __ref);} + BA.debugLineNum = 595;BA.debugLine="Private Sub b_apk_Click"; +Debug.ShouldStop(262144); + BA.debugLineNum = 596;BA.debugLine="StartService(appUpdater)"; +Debug.ShouldStop(524288); +b4xmainpage.__c.runVoidMethod ("StartService",__ref.getField(false, "ba"),(Object)((b4xmainpage._appupdater.getObject()))); + BA.debugLineNum = 597;BA.debugLine="End Sub"; +Debug.ShouldStop(1048576); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_arqueocieego_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_arqueocieego_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,742); +if (RapidSub.canDelegate("b_arqueocieego_click")) { return __ref.runUserSub(false, "b4xmainpage","b_arqueocieego_click", __ref);} + BA.debugLineNum = 742;BA.debugLine="Private Sub b_arqueocieego_Click"; +Debug.ShouldStop(32); + BA.debugLineNum = 743;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT * FROM CAT_GU"; +Debug.ShouldStop(64); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (b4xmainpage._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT * FROM CAT_GUNAPROD3")))); + BA.debugLineNum = 744;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 = 745;BA.debugLine="Subs.panelVisible(p_validacion,0,0)"; +Debug.ShouldStop(256); +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))); + }else { + BA.debugLineNum = 747;BA.debugLine="MsgboxAsync(\"No hay ruta cargada, favor de carga"; +Debug.ShouldStop(1024); +b4xmainpage.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("No hay ruta cargada, favor de cargar día")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + }; + BA.debugLineNum = 749;BA.debugLine="End Sub"; +Debug.ShouldStop(4096); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_can_monto_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B_Can_Monto_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,738); +if (RapidSub.canDelegate("b_can_monto_click")) { return __ref.runUserSub(false, "b4xmainpage","b_can_monto_click", __ref);} + BA.debugLineNum = 738;BA.debugLine="Private Sub B_Can_Monto_Click"; +Debug.ShouldStop(2); + BA.debugLineNum = 739;BA.debugLine="p_add_monto.Visible = False"; +Debug.ShouldStop(4); +__ref.getField(false,"_p_add_monto" /*RemoteObject*/ ).runMethod(true,"setVisible",b4xmainpage.__c.getField(true,"False")); + BA.debugLineNum = 740;BA.debugLine="End Sub"; +Debug.ShouldStop(8); +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,981); +if (RapidSub.canDelegate("b_cancelarcodigo_click")) { return __ref.runUserSub(false, "b4xmainpage","b_cancelarcodigo_click", __ref);} + BA.debugLineNum = 981;BA.debugLine="Private Sub b_cancelarcodigo_Click"; +Debug.ShouldStop(1048576); + BA.debugLineNum = 982;BA.debugLine="p_validacion.Visible = False"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_p_validacion" /*RemoteObject*/ ).runMethod(true,"setVisible",b4xmainpage.__c.getField(true,"False")); + BA.debugLineNum = 983;BA.debugLine="End Sub"; +Debug.ShouldStop(4194304); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_cargarmonto_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_CargarMonto_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,638); +if (RapidSub.canDelegate("b_cargarmonto_click")) { return __ref.runUserSub(false, "b4xmainpage","b_cargarmonto_click", __ref);} + BA.debugLineNum = 638;BA.debugLine="Private Sub b_CargarMonto_Click"; +Debug.ShouldStop(536870912); + BA.debugLineNum = 640;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT * FROM kmt_in"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (b4xmainpage._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT * FROM kmt_info")))); + 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 = 642;BA.debugLine="If c.RowCount < 0 Or c.RowCount = 0 Then"; +Debug.ShouldStop(2); +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,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 643;BA.debugLine="MsgboxAsync(\"No hay ruta cargada, favor de carga"; +Debug.ShouldStop(4); +b4xmainpage.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("No hay ruta cargada, favor de cargar día")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + }else { + BA.debugLineNum = 645;BA.debugLine="Subs.panelVisible(p_add_monto,0,0)"; +Debug.ShouldStop(16); +b4xmainpage._subs.runVoidMethod ("_panelvisible" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_p_add_monto" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0))); + }; + BA.debugLineNum = 647;BA.debugLine="c.Close"; +Debug.ShouldStop(64); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 649;BA.debugLine="End Sub"; +Debug.ShouldStop(256); +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,577); +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(reparto_izca.keymon.lat.b4xmainpage parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +reparto_izca.keymon.lat.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,577); +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 = 580;BA.debugLine="Dim FileName As String = \"kmt.db\""; +Debug.ShouldStop(8); +_filename = BA.ObjectToString("kmt.db");Debug.locals.put("FileName", _filename);Debug.locals.put("FileName", _filename); + BA.debugLineNum = 582;BA.debugLine="Log(\"xxxxxx:\"&Provider.SharedFolder)"; +Debug.ShouldStop(32); +parent.__c.runVoidMethod ("LogImpl","81769477",RemoteObject.concat(RemoteObject.createImmutable("xxxxxx:"),__ref.getField(false,"_provider" /*RemoteObject*/ ).getField(true,"_sharedfolder" /*RemoteObject*/ )),0); + BA.debugLineNum = 583;BA.debugLine="Sleep(1000)"; +Debug.ShouldStop(64); +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 = 584;BA.debugLine="File.Copy(File.DirInternal, FileName, Provider.Sh"; +Debug.ShouldStop(128); +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 = 585;BA.debugLine="Dim email As Email"; +Debug.ShouldStop(256); +_email = RemoteObject.createNew ("anywheresoftware.b4a.phone.Phone.Email");Debug.locals.put("email", _email); + BA.debugLineNum = 586;BA.debugLine="email.To.Add(\"soporte@keymonsoft.com\")"; +Debug.ShouldStop(512); +_email.getField(false,"To").runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("soporte@keymonsoft.com")))); + BA.debugLineNum = 587;BA.debugLine="email.Subject = \"Base de datos para revisión\""; +Debug.ShouldStop(1024); +_email.setField ("Subject",BA.ObjectToString("Base de datos para revisión")); + BA.debugLineNum = 588;BA.debugLine="email.Attachments.Add(Provider.GetFileUri(FileNam"; +Debug.ShouldStop(2048); +_email.getField(false,"Attachments").runVoidMethod ("Add",(Object)(__ref.getField(false,"_provider" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.fileprovider.class, "_getfileuri" /*RemoteObject*/ ,(Object)(_filename)))); + BA.debugLineNum = 590;BA.debugLine="Dim in As Intent = email.GetIntent"; +Debug.ShouldStop(8192); +_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 = 591;BA.debugLine="in.Flags = 1 'FLAG_GRANT_READ_URI_PERMISSION"; +Debug.ShouldStop(16384); +_in.runMethod(true,"setFlags",BA.numberCast(int.class, 1)); + BA.debugLineNum = 592;BA.debugLine="StartActivity(in)"; +Debug.ShouldStop(32768); +parent.__c.runVoidMethod ("StartActivity",__ref.getField(false, "ba"),(Object)((_in.getObject()))); + BA.debugLineNum = 593;BA.debugLine="End Sub"; +Debug.ShouldStop(65536); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static RemoteObject _b_pc_env_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B_PC_ENV_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,792); +if (RapidSub.canDelegate("b_pc_env_click")) { return __ref.runUserSub(false, "b4xmainpage","b_pc_env_click", __ref);} +int _i = 0; +RemoteObject _itempanel = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _innerpanel = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _edittext = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _inputtext = RemoteObject.createImmutable(""); +RemoteObject _idlabel = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _idtext = RemoteObject.createImmutable(""); +RemoteObject _idparts = null; +RemoteObject _k = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _fechatabulador = null; +RemoteObject _fechatabulador2 = null; +RemoteObject _fechatabulador3 = RemoteObject.createImmutable(""); + BA.debugLineNum = 792;BA.debugLine="Private Sub B_PC_ENV_Click"; +Debug.ShouldStop(8388608); + BA.debugLineNum = 793;BA.debugLine="Dim sDate, sTime As String"; +Debug.ShouldStop(16777216); +b4xmainpage._sdate = RemoteObject.createImmutable("");__ref.setField("_sdate",b4xmainpage._sdate); +b4xmainpage._stime = RemoteObject.createImmutable("");__ref.setField("_stime",b4xmainpage._stime); + BA.debugLineNum = 794;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; +Debug.ShouldStop(33554432); +b4xmainpage.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("dd/MM/yyyy")); + BA.debugLineNum = 795;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; +Debug.ShouldStop(67108864); +b4xmainpage.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HH:mm:ss")); + BA.debugLineNum = 796;BA.debugLine="sDate = DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(134217728); +__ref.setField ("_sdate" /*RemoteObject*/ ,b4xmainpage.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(b4xmainpage.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 797;BA.debugLine="sTime = DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(268435456); +__ref.setField ("_stime" /*RemoteObject*/ ,b4xmainpage.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(b4xmainpage.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 800;BA.debugLine="For i = 0 To CLV_PICK_CIEGO.Size - 1"; +Debug.ShouldStop(-2147483648); +{ +final int step6 = 1; +final int limit6 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_clv_pick_ciego" /*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 = 802;BA.debugLine="Dim itemPanel As B4XView = CLV_PICK_CIEGO.GetPan"; +Debug.ShouldStop(2); +_itempanel = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_itempanel = __ref.getField(false,"_clv_pick_ciego" /*RemoteObject*/ ).runMethod(false,"_getpanel",(Object)(BA.numberCast(int.class, _i)));Debug.locals.put("itemPanel", _itempanel);Debug.locals.put("itemPanel", _itempanel); + BA.debugLineNum = 803;BA.debugLine="Dim innerPanel As B4XView = itemPanel.GetView(0)"; +Debug.ShouldStop(4); +_innerpanel = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_innerpanel = _itempanel.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 0)));Debug.locals.put("innerPanel", _innerpanel);Debug.locals.put("innerPanel", _innerpanel); + BA.debugLineNum = 804;BA.debugLine="Dim editText As B4XView = innerPanel.GetView(1)"; +Debug.ShouldStop(8); +_edittext = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_edittext = _innerpanel.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 1)));Debug.locals.put("editText", _edittext);Debug.locals.put("editText", _edittext); + BA.debugLineNum = 805;BA.debugLine="Dim inputText As String = editText.As(EditText)."; +Debug.ShouldStop(16); +_inputtext = (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.EditTextWrapper"), _edittext.getObject())).runMethod(true,"getText");Debug.locals.put("inputText", _inputtext);Debug.locals.put("inputText", _inputtext); + BA.debugLineNum = 808;BA.debugLine="If Regex.IsMatch(\"^[0]+$\", inputText) Or inputTe"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean(".",b4xmainpage.__c.getField(false,"Regex").runMethod(true,"IsMatch",(Object)(BA.ObjectToString("^[0]+$")),(Object)(_inputtext))) || RemoteObject.solveBoolean("=",_inputtext,BA.ObjectToString(""))) { + BA.debugLineNum = 809;BA.debugLine="inputText = \"0\""; +Debug.ShouldStop(256); +_inputtext = BA.ObjectToString("0");Debug.locals.put("inputText", _inputtext); + }; + BA.debugLineNum = 813;BA.debugLine="Dim idLabel As B4XView = innerPanel.GetView(0)"; +Debug.ShouldStop(4096); +_idlabel = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_idlabel = _innerpanel.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 0)));Debug.locals.put("idLabel", _idlabel);Debug.locals.put("idLabel", _idlabel); + BA.debugLineNum = 814;BA.debugLine="Dim idText As String = idLabel.As(Label).Text"; +Debug.ShouldStop(8192); +_idtext = (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.LabelWrapper"), _idlabel.getObject())).runMethod(true,"getText");Debug.locals.put("idText", _idtext);Debug.locals.put("idText", _idtext); + BA.debugLineNum = 815;BA.debugLine="Dim idParts() As String = Regex.Split(CRLF, idTe"; +Debug.ShouldStop(16384); +_idparts = b4xmainpage.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(b4xmainpage.__c.getField(true,"CRLF")),(Object)(_idtext));Debug.locals.put("idParts", _idparts);Debug.locals.put("idParts", _idparts); + BA.debugLineNum = 817;BA.debugLine="f=Starter.skmt.ExecQuery(\"select RUTAA from RUTA"; +Debug.ShouldStop(65536); +__ref.getField(false,"_f" /*RemoteObject*/ ).setObject (b4xmainpage._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select RUTAA from RUTAA")))); + BA.debugLineNum = 818;BA.debugLine="f.Position=0"; +Debug.ShouldStop(131072); +__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 819;BA.debugLine="Log(f.GetString(\"RUTAA\"))"; +Debug.ShouldStop(262144); +b4xmainpage.__c.runVoidMethod ("LogImpl","82621467",__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("RUTAA"))),0); + BA.debugLineNum = 820;BA.debugLine="a=Starter.skmt.ExecQuery(\"select ID_ALMACEN from"; +Debug.ShouldStop(524288); +__ref.getField(false,"_a" /*RemoteObject*/ ).setObject (b4xmainpage._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select ID_ALMACEN from CAT_ALMACEN")))); + BA.debugLineNum = 821;BA.debugLine="If a.RowCount>0 Then"; +Debug.ShouldStop(1048576); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_a" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 822;BA.debugLine="a.Position=0"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_a" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + }; + BA.debugLineNum = 824;BA.debugLine="Dim k As Cursor = Starter.skmt.ExecQuery(\"SELECT"; +Debug.ShouldStop(8388608); +_k = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_k = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), b4xmainpage._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT HVD_FECHA FROM HIST_VENTAS"))));Debug.locals.put("k", _k);Debug.locals.put("k", _k); + BA.debugLineNum = 825;BA.debugLine="k.Position = 0"; +Debug.ShouldStop(16777216); +_k.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 826;BA.debugLine="Dim fechatabulador() As String = Regex.Split(\" \""; +Debug.ShouldStop(33554432); +_fechatabulador = b4xmainpage.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString(" ")),(Object)(_k.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_FECHA")))));Debug.locals.put("fechatabulador", _fechatabulador);Debug.locals.put("fechatabulador", _fechatabulador); + BA.debugLineNum = 827;BA.debugLine="Dim fechatabulador2() As String = Regex.Split(\"-"; +Debug.ShouldStop(67108864); +_fechatabulador2 = b4xmainpage.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString("-")),(Object)(_fechatabulador.getArrayElement(true,BA.numberCast(int.class, 0))));Debug.locals.put("fechatabulador2", _fechatabulador2);Debug.locals.put("fechatabulador2", _fechatabulador2); + BA.debugLineNum = 828;BA.debugLine="Dim fechatabulador3 As String = fechatabulador2("; +Debug.ShouldStop(134217728); +_fechatabulador3 = RemoteObject.concat(_fechatabulador2.getArrayElement(true,BA.numberCast(int.class, 2)),RemoteObject.createImmutable("/"),_fechatabulador2.getArrayElement(true,BA.numberCast(int.class, 1)),RemoteObject.createImmutable("/"),_fechatabulador2.getArrayElement(true,BA.numberCast(int.class, 0)));Debug.locals.put("fechatabulador3", _fechatabulador3);Debug.locals.put("fechatabulador3", _fechatabulador3); + BA.debugLineNum = 829;BA.debugLine="k.Close"; +Debug.ShouldStop(268435456); +_k.runVoidMethod ("Close"); + BA.debugLineNum = 830;BA.debugLine="If inputText <> \"\" Then"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean("!",_inputtext,BA.ObjectToString(""))) { + BA.debugLineNum = 831;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM PICK"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (b4xmainpage._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT * FROM PICK_CIEGO where PC_ID_PROD = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {_idparts.getArrayElement(true,BA.numberCast(int.class, 0))})))); + BA.debugLineNum = 832;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 = 834;BA.debugLine="Log(f.GetString(\"RUTAA\"))"; +Debug.ShouldStop(2); +b4xmainpage.__c.runVoidMethod ("LogImpl","82621482",__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("RUTAA"))),0); + BA.debugLineNum = 835;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PICK_C"; +Debug.ShouldStop(4); +b4xmainpage._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO PICK_CIEGO(PC_ID_PROD, PC_NOM_PROD, PC_CANT, PC_ALMACEN, PC_RUTA, PC_FECHA) VALUES(?,?,?,?,?,?)")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {6},new Object[] {_idparts.getArrayElement(true,BA.numberCast(int.class, 0)),_idparts.getArrayElement(true,BA.numberCast(int.class, 1)),_inputtext,__ref.getField(false,"_a" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ID_ALMACEN"))),__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("RUTAA"))),RemoteObject.concat(_fechatabulador3,RemoteObject.createImmutable(" "),__ref.getField(true,"_stime" /*RemoteObject*/ ))}))))); + }else { + BA.debugLineNum = 838;BA.debugLine="Log(f.GetString(\"RUTAA\"))"; +Debug.ShouldStop(32); +b4xmainpage.__c.runVoidMethod ("LogImpl","82621486",__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("RUTAA"))),0); + BA.debugLineNum = 839;BA.debugLine="Starter.skmt.ExecNonQuery2(\"Update PICK_CIEGO"; +Debug.ShouldStop(64); +b4xmainpage._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("Update PICK_CIEGO set PC_CANT = ? WHERE PC_ID_PROD = ?")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {_inputtext,_idparts.getArrayElement(true,BA.numberCast(int.class, 0))}))))); + }; + }; + BA.debugLineNum = 843;BA.debugLine="f.Close"; +Debug.ShouldStop(1024); +__ref.getField(false,"_f" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 844;BA.debugLine="a.Close"; +Debug.ShouldStop(2048); +__ref.getField(false,"_a" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 845;BA.debugLine="Log(\"Processed item \" & i)"; +Debug.ShouldStop(4096); +b4xmainpage.__c.runVoidMethod ("LogImpl","82621493",RemoteObject.concat(RemoteObject.createImmutable("Processed item "),RemoteObject.createImmutable(_i)),0); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 847;BA.debugLine="et_buspc.Text = \"\""; +Debug.ShouldStop(16384); +__ref.getField(false,"_et_buspc" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 848;BA.debugLine="CLV_PICK_CIEGO.Clear"; +Debug.ShouldStop(32768); +__ref.getField(false,"_clv_pick_ciego" /*RemoteObject*/ ).runVoidMethod ("_clear"); + 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 _b_regesar_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_regesar_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,571); +if (RapidSub.canDelegate("b_regesar_click")) { return __ref.runUserSub(false, "b4xmainpage","b_regesar_click", __ref);} + BA.debugLineNum = 571;BA.debugLine="Private Sub b_regesar_Click"; +Debug.ShouldStop(67108864); + BA.debugLineNum = 572;BA.debugLine="p_principal.Visible = True"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_p_principal" /*RemoteObject*/ ).runMethod(true,"setVisible",b4xmainpage.__c.getField(true,"True")); + BA.debugLineNum = 573;BA.debugLine="p_appUpdate.Visible = False"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_p_appupdate" /*RemoteObject*/ ).runMethod(true,"setVisible",b4xmainpage.__c.getField(true,"False")); + 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 _b_server_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_server_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,599); +if (RapidSub.canDelegate("b_server_click")) { return __ref.runUserSub(false, "b4xmainpage","b_server_click", __ref);} + BA.debugLineNum = 599;BA.debugLine="Private Sub b_server_Click"; +Debug.ShouldStop(4194304); + BA.debugLineNum = 600;BA.debugLine="Log(\"Guardar servidor\")"; +Debug.ShouldStop(8388608); +b4xmainpage.__c.runVoidMethod ("LogImpl","81900545",RemoteObject.createImmutable("Guardar servidor"),0); + BA.debugLineNum = 601;BA.debugLine="Starter.skmt.ExecNonQuery2(\"delete from CAT_VARIA"; +Debug.ShouldStop(16777216); +b4xmainpage._starter._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("SERVER"))}))))); + BA.debugLineNum = 602;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_VARIA"; +Debug.ShouldStop(33554432); +b4xmainpage._starter._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(("SERVER")),(__ref.getField(false,"_et_server" /*RemoteObject*/ ).runMethod(true,"getText"))}))))); + BA.debugLineNum = 603;BA.debugLine="B4XPages.MainPage.server = et_server.text"; +Debug.ShouldStop(67108864); +b4xmainpage._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_server" /*RemoteObject*/ ,__ref.getField(false,"_et_server" /*RemoteObject*/ ).runMethod(true,"getText")); + BA.debugLineNum = 604;BA.debugLine="Starter.server = B4XPages.MainPage.server"; +Debug.ShouldStop(134217728); +b4xmainpage._starter._server /*RemoteObject*/ = b4xmainpage._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_server" /*RemoteObject*/ ); + BA.debugLineNum = 605;BA.debugLine="If logger Then Log(\"Inicializamos reqManager con"; +Debug.ShouldStop(268435456); +if (__ref.getField(true,"_logger" /*RemoteObject*/ ).get().booleanValue()) { +b4xmainpage.__c.runVoidMethod ("LogImpl","81900550",RemoteObject.concat(RemoteObject.createImmutable("Inicializamos reqManager con "),b4xmainpage._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_server" /*RemoteObject*/ )),0);}; + BA.debugLineNum = 606;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.serve"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref),(Object)(b4xmainpage._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_server" /*RemoteObject*/ ))); + BA.debugLineNum = 607;BA.debugLine="LogColor($\"ReqServer = ${B4XPages.MainPage.server"; +Debug.ShouldStop(1073741824); +b4xmainpage.__c.runVoidMethod ("LogImpl","81900552",(RemoteObject.concat(RemoteObject.createImmutable("ReqServer = "),b4xmainpage.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((b4xmainpage._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_server" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))),b4xmainpage.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 608;BA.debugLine="reinicializaReqManager"; +Debug.ShouldStop(-2147483648); +__ref.runClassMethod (reparto_izca.keymon.lat.b4xmainpage.class, "_reinicializareqmanager" /*RemoteObject*/ ); + BA.debugLineNum = 609;BA.debugLine="p_appUpdate.Visible = False"; +Debug.ShouldStop(1); +__ref.getField(false,"_p_appupdate" /*RemoteObject*/ ).runMethod(true,"setVisible",b4xmainpage.__c.getField(true,"False")); + BA.debugLineNum = 611;BA.debugLine="End Sub"; +Debug.ShouldStop(4); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static void _b_terpc_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_terpc_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,851); +if (RapidSub.canDelegate("b_terpc_click")) { __ref.runUserSub(false, "b4xmainpage","b_terpc_click", __ref); return;} +ResumableSub_b_terpc_Click rsub = new ResumableSub_b_terpc_Click(null,__ref); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_b_terpc_Click extends BA.ResumableSub { +public ResumableSub_b_terpc_Click(reparto_izca.keymon.lat.b4xmainpage parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +reparto_izca.keymon.lat.b4xmainpage parent; +RemoteObject _resultado = RemoteObject.createImmutable(0); +int _i = 0; +RemoteObject _itempanel = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _innerpanel = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _edittext = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _inputtext = RemoteObject.createImmutable(""); +RemoteObject _idlabel = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _idtext = RemoteObject.createImmutable(""); +RemoteObject _idparts = null; +RemoteObject _k = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _fechatabulador = null; +RemoteObject _fechatabulador2 = null; +RemoteObject _fechatabulador3 = RemoteObject.createImmutable(""); +int step12; +int limit12; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("b_terpc_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,851); +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 = 852;BA.debugLine="Msgbox2Async(\"Una vez enviada la información no p"; +Debug.ShouldStop(524288); +parent.__c.runVoidMethod ("Msgbox2Async",(Object)(BA.ObjectToCharSequence("Una vez enviada la información no podras hacer modificaciones")),(Object)(BA.ObjectToCharSequence("Atención")),(Object)(BA.ObjectToString("SI")),(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 = 853;BA.debugLine="Wait For Msgbox_Result (resultado As Int)"; +Debug.ShouldStop(1048576); +parent.__c.runVoidMethod ("WaitFor","msgbox_result", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "b4xmainpage", "b_terpc_click"), null); +this.state = 33; +return; +case 33: +//C +this.state = 1; +_resultado = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("resultado", _resultado); +; + BA.debugLineNum = 854;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; +Debug.ShouldStop(2097152); +if (true) break; + +case 1: +//if +this.state = 32; +if (RemoteObject.solveBoolean("=",_resultado,BA.numberCast(double.class, parent.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { +this.state = 3; +}if (true) break; + +case 3: +//C +this.state = 4; + BA.debugLineNum = 855;BA.debugLine="Msgbox2Async(\"Estas seguro de enviar la informac"; +Debug.ShouldStop(4194304); +parent.__c.runVoidMethod ("Msgbox2Async",(Object)(BA.ObjectToCharSequence("Estas seguro de enviar la información?")),(Object)(BA.ObjectToCharSequence("Atención")),(Object)(BA.ObjectToString("SI")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("NO")),(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 = 856;BA.debugLine="Wait For Msgbox_Result (resultado As Int)"; +Debug.ShouldStop(8388608); +parent.__c.runVoidMethod ("WaitFor","msgbox_result", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "b4xmainpage", "b_terpc_click"), null); +this.state = 34; +return; +case 34: +//C +this.state = 4; +_resultado = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("resultado", _resultado); +; + BA.debugLineNum = 857;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; +Debug.ShouldStop(16777216); +if (true) break; + +case 4: +//if +this.state = 31; +if (RemoteObject.solveBoolean("=",_resultado,BA.numberCast(double.class, parent.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { +this.state = 6; +}else { +this.state = 30; +}if (true) break; + +case 6: +//C +this.state = 7; + BA.debugLineNum = 859;BA.debugLine="Dim sDate, sTime As String"; +Debug.ShouldStop(67108864); +parent._sdate = RemoteObject.createImmutable("");__ref.setField("_sdate",parent._sdate); +parent._stime = RemoteObject.createImmutable("");__ref.setField("_stime",parent._stime); + BA.debugLineNum = 860;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 = 861;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; +Debug.ShouldStop(268435456); +parent.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HH:mm:ss")); + BA.debugLineNum = 862;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 = 863;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 = 865;BA.debugLine="For i = 0 To CLV_PICK_CIEGO.Size - 1"; +Debug.ShouldStop(1); +if (true) break; + +case 7: +//for +this.state = 28; +step12 = 1; +limit12 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_clv_pick_ciego" /*RemoteObject*/ ).runMethod(true,"_getsize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +Debug.locals.put("i", _i); +this.state = 35; +if (true) break; + +case 35: +//C +this.state = 28; +if ((step12 > 0 && _i <= limit12) || (step12 < 0 && _i >= limit12)) this.state = 9; +if (true) break; + +case 36: +//C +this.state = 35; +_i = ((int)(0 + _i + step12)) ; +Debug.locals.put("i", _i); +if (true) break; + +case 9: +//C +this.state = 10; + BA.debugLineNum = 867;BA.debugLine="Dim itemPanel As B4XView = CLV_PICK_CIEGO.GetP"; +Debug.ShouldStop(4); +_itempanel = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_itempanel = __ref.getField(false,"_clv_pick_ciego" /*RemoteObject*/ ).runMethod(false,"_getpanel",(Object)(BA.numberCast(int.class, _i)));Debug.locals.put("itemPanel", _itempanel);Debug.locals.put("itemPanel", _itempanel); + BA.debugLineNum = 868;BA.debugLine="Dim innerPanel As B4XView = itemPanel.GetView("; +Debug.ShouldStop(8); +_innerpanel = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_innerpanel = _itempanel.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 0)));Debug.locals.put("innerPanel", _innerpanel);Debug.locals.put("innerPanel", _innerpanel); + BA.debugLineNum = 869;BA.debugLine="Dim editText As B4XView = innerPanel.GetView(1"; +Debug.ShouldStop(16); +_edittext = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_edittext = _innerpanel.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 1)));Debug.locals.put("editText", _edittext);Debug.locals.put("editText", _edittext); + BA.debugLineNum = 870;BA.debugLine="Dim inputText As String = editText.As(EditText"; +Debug.ShouldStop(32); +_inputtext = (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.EditTextWrapper"), _edittext.getObject())).runMethod(true,"getText");Debug.locals.put("inputText", _inputtext);Debug.locals.put("inputText", _inputtext); + BA.debugLineNum = 873;BA.debugLine="If Regex.IsMatch(\"^[0]+$\", inputText) Or input"; +Debug.ShouldStop(256); +if (true) break; + +case 10: +//if +this.state = 13; +if (RemoteObject.solveBoolean(".",parent.__c.getField(false,"Regex").runMethod(true,"IsMatch",(Object)(BA.ObjectToString("^[0]+$")),(Object)(_inputtext))) || RemoteObject.solveBoolean("=",_inputtext,BA.ObjectToString(""))) { +this.state = 12; +}if (true) break; + +case 12: +//C +this.state = 13; + BA.debugLineNum = 874;BA.debugLine="inputText = \"0\""; +Debug.ShouldStop(512); +_inputtext = BA.ObjectToString("0");Debug.locals.put("inputText", _inputtext); + if (true) break; + +case 13: +//C +this.state = 14; +; + BA.debugLineNum = 878;BA.debugLine="Dim idLabel As B4XView = innerPanel.GetView(0)"; +Debug.ShouldStop(8192); +_idlabel = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_idlabel = _innerpanel.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 0)));Debug.locals.put("idLabel", _idlabel);Debug.locals.put("idLabel", _idlabel); + BA.debugLineNum = 879;BA.debugLine="Dim idText As String = idLabel.As(Label).Text"; +Debug.ShouldStop(16384); +_idtext = (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.LabelWrapper"), _idlabel.getObject())).runMethod(true,"getText");Debug.locals.put("idText", _idtext);Debug.locals.put("idText", _idtext); + BA.debugLineNum = 880;BA.debugLine="Dim idParts() As String = Regex.Split(CRLF, id"; +Debug.ShouldStop(32768); +_idparts = parent.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(parent.__c.getField(true,"CRLF")),(Object)(_idtext));Debug.locals.put("idParts", _idparts);Debug.locals.put("idParts", _idparts); + BA.debugLineNum = 882;BA.debugLine="f=Starter.skmt.ExecQuery(\"select RUTAA from RU"; +Debug.ShouldStop(131072); +__ref.getField(false,"_f" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select RUTAA from RUTAA")))); + BA.debugLineNum = 883;BA.debugLine="f.Position=0"; +Debug.ShouldStop(262144); +__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 884;BA.debugLine="Log(f.GetString(\"RUTAA\"))"; +Debug.ShouldStop(524288); +parent.__c.runVoidMethod ("LogImpl","82687009",__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("RUTAA"))),0); + BA.debugLineNum = 886;BA.debugLine="a=Starter.skmt.ExecQuery(\"select ID_ALMACEN fr"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_a" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select ID_ALMACEN from CAT_ALMACEN")))); + BA.debugLineNum = 887;BA.debugLine="If a.RowCount>0 Then"; +Debug.ShouldStop(4194304); +if (true) break; + +case 14: +//if +this.state = 17; +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_a" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 16; +}if (true) break; + +case 16: +//C +this.state = 17; + BA.debugLineNum = 888;BA.debugLine="a.Position=0"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_a" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + if (true) break; + +case 17: +//C +this.state = 18; +; + BA.debugLineNum = 890;BA.debugLine="Log(a.GetString(\"ID_ALMACEN\"))"; +Debug.ShouldStop(33554432); +parent.__c.runVoidMethod ("LogImpl","82687015",__ref.getField(false,"_a" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ID_ALMACEN"))),0); + BA.debugLineNum = 892;BA.debugLine="Dim k As Cursor = Starter.skmt.ExecQuery(\"SELE"; +Debug.ShouldStop(134217728); +_k = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_k = 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 HVD_FECHA FROM HIST_VENTAS"))));Debug.locals.put("k", _k);Debug.locals.put("k", _k); + BA.debugLineNum = 893;BA.debugLine="k.Position = 0"; +Debug.ShouldStop(268435456); +_k.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 894;BA.debugLine="Dim fechatabulador() As String = Regex.Split(\""; +Debug.ShouldStop(536870912); +_fechatabulador = parent.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString(" ")),(Object)(_k.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_FECHA")))));Debug.locals.put("fechatabulador", _fechatabulador);Debug.locals.put("fechatabulador", _fechatabulador); + BA.debugLineNum = 895;BA.debugLine="Dim fechatabulador2() As String = Regex.Split("; +Debug.ShouldStop(1073741824); +_fechatabulador2 = parent.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString("-")),(Object)(_fechatabulador.getArrayElement(true,BA.numberCast(int.class, 0))));Debug.locals.put("fechatabulador2", _fechatabulador2);Debug.locals.put("fechatabulador2", _fechatabulador2); + BA.debugLineNum = 896;BA.debugLine="Dim fechatabulador3 As String = fechatabulador"; +Debug.ShouldStop(-2147483648); +_fechatabulador3 = RemoteObject.concat(_fechatabulador2.getArrayElement(true,BA.numberCast(int.class, 2)),RemoteObject.createImmutable("/"),_fechatabulador2.getArrayElement(true,BA.numberCast(int.class, 1)),RemoteObject.createImmutable("/"),_fechatabulador2.getArrayElement(true,BA.numberCast(int.class, 0)));Debug.locals.put("fechatabulador3", _fechatabulador3);Debug.locals.put("fechatabulador3", _fechatabulador3); + BA.debugLineNum = 897;BA.debugLine="k.Close"; +Debug.ShouldStop(1); +_k.runVoidMethod ("Close"); + BA.debugLineNum = 898;BA.debugLine="If inputText <> \"\" Then"; +Debug.ShouldStop(2); +if (true) break; + +case 18: +//if +this.state = 27; +if (RemoteObject.solveBoolean("!",_inputtext,BA.ObjectToString(""))) { +this.state = 20; +}if (true) break; + +case 20: +//C +this.state = 21; + BA.debugLineNum = 899;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM PI"; +Debug.ShouldStop(4); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT * FROM PICK_CIEGO where PC_ID_PROD = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {_idparts.getArrayElement(true,BA.numberCast(int.class, 0))})))); + BA.debugLineNum = 900;BA.debugLine="If c.RowCount = 0 Then"; +Debug.ShouldStop(8); +if (true) break; + +case 21: +//if +this.state = 26; +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 23; +}else { +this.state = 25; +}if (true) break; + +case 23: +//C +this.state = 26; + BA.debugLineNum = 902;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PICK"; +Debug.ShouldStop(32); +parent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO PICK_CIEGO(PC_ID_PROD, PC_NOM_PROD, PC_CANT, PC_ALMACEN, PC_RUTA, PC_FECHA) VALUES(?,?,?,?,?,?)")),(Object)(parent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {6},new Object[] {_idparts.getArrayElement(true,BA.numberCast(int.class, 0)),_idparts.getArrayElement(true,BA.numberCast(int.class, 1)),_inputtext,__ref.getField(false,"_a" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ID_ALMACEN"))),__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("RUTAA"))),RemoteObject.concat(_fechatabulador3,RemoteObject.createImmutable(" "),__ref.getField(true,"_stime" /*RemoteObject*/ ))}))))); + if (true) break; + +case 25: +//C +this.state = 26; + BA.debugLineNum = 904;BA.debugLine="Starter.skmt.ExecNonQuery2(\"Update PICK_CIEG"; +Debug.ShouldStop(128); +parent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("Update PICK_CIEGO set PC_CANT = ? WHERE PC_ID_PROD = ?")),(Object)(parent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {_inputtext,_idparts.getArrayElement(true,BA.numberCast(int.class, 0))}))))); + if (true) break; + +case 26: +//C +this.state = 27; +; + if (true) break; + +case 27: +//C +this.state = 36; +; + BA.debugLineNum = 907;BA.debugLine="f.Close"; +Debug.ShouldStop(1024); +__ref.getField(false,"_f" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 908;BA.debugLine="a.Close"; +Debug.ShouldStop(2048); +__ref.getField(false,"_a" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 909;BA.debugLine="Log(\"Processed item \" & i)"; +Debug.ShouldStop(4096); +parent.__c.runVoidMethod ("LogImpl","82687034",RemoteObject.concat(RemoteObject.createImmutable("Processed item "),RemoteObject.createImmutable(_i)),0); + if (true) break; +if (true) break; + +case 28: +//C +this.state = 31; +Debug.locals.put("i", _i); +; + BA.debugLineNum = 911;BA.debugLine="Log(\"Finished processing all items\")"; +Debug.ShouldStop(16384); +parent.__c.runVoidMethod ("LogImpl","82687036",RemoteObject.createImmutable("Finished processing all items"),0); + BA.debugLineNum = 912;BA.debugLine="P_CIEGO.Visible = False"; +Debug.ShouldStop(32768); +__ref.getField(false,"_p_ciego" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 913;BA.debugLine="et_buspc.Text = \"\""; +Debug.ShouldStop(65536); +__ref.getField(false,"_et_buspc" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 914;BA.debugLine="CLV_PICK_CIEGO.Clear"; +Debug.ShouldStop(131072); +__ref.getField(false,"_clv_pick_ciego" /*RemoteObject*/ ).runVoidMethod ("_clear"); + BA.debugLineNum = 915;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT PC_ID_PROD,"; +Debug.ShouldStop(262144); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT PC_ID_PROD, PC_ALMACEN, PC_RUTA, PC_FECHA FROM PICK_CIEGO")))); + BA.debugLineNum = 926;BA.debugLine="c.close"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + if (true) break; + +case 30: +//C +this.state = 31; + if (true) break; + +case 31: +//C +this.state = 32; +; + if (true) break; + +case 32: +//C +this.state = -1; +; + BA.debugLineNum = 931;BA.debugLine="End Sub"; +Debug.ShouldStop(4); +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 void _b4xpage_appear(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_Appear (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,237); +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(reparto_izca.keymon.lat.b4xmainpage parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +reparto_izca.keymon.lat.b4xmainpage parent; +RemoteObject _permission = RemoteObject.createImmutable(""); +RemoteObject _result = RemoteObject.createImmutable(false); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_Appear (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,237); +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 = 238;BA.debugLine="If Starter.muestraProgreso = 1 Then"; +Debug.ShouldStop(8192); +if (true) break; + +case 1: +//if +this.state = 4; +if (RemoteObject.solveBoolean("=",parent._starter._muestraprogreso /*RemoteObject*/ ,BA.NumberToString(1))) { +this.state = 3; +}if (true) break; + +case 3: +//C +this.state = 4; + BA.debugLineNum = 239;BA.debugLine="muestraProgreso(\"Descargando actualización\")"; +Debug.ShouldStop(16384); +__ref.runClassMethod (reparto_izca.keymon.lat.b4xmainpage.class, "_muestraprogreso" /*RemoteObject*/ ,(Object)(RemoteObject.createImmutable("Descargando actualización"))); + BA.debugLineNum = 240;BA.debugLine="Starter.muestraProgreso = 0"; +Debug.ShouldStop(32768); +parent._starter._muestraprogreso /*RemoteObject*/ = BA.NumberToString(0); + if (true) break; + +case 4: +//C +this.state = 5; +; + BA.debugLineNum = 242;BA.debugLine="Subs.centraPanel(p_principal, Root.Width)"; +Debug.ShouldStop(131072); +parent._subs.runVoidMethod ("_centrapanel" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_p_principal" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"))); + BA.debugLineNum = 243;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_"; +Debug.ShouldStop(262144); +parent._starter._rp /*RemoteObject*/ .runVoidMethod ("CheckAndRequest",__ref.getField(false, "ba"),(Object)(parent._starter._rp /*RemoteObject*/ .getField(true,"PERMISSION_ACCESS_FINE_LOCATION"))); + BA.debugLineNum = 245;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As"; +Debug.ShouldStop(1048576); +parent.__c.runVoidMethod ("WaitFor","b4xpage_permissionresult", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "b4xmainpage", "b4xpage_appear"), null); +this.state = 21; +return; +case 21: +//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 = 246;BA.debugLine="If Result Then"; +Debug.ShouldStop(2097152); +if (true) break; + +case 5: +//if +this.state = 16; +if (_result.get().booleanValue()) { +this.state = 7; +}else { +this.state = 15; +}if (true) break; + +case 7: +//C +this.state = 8; + BA.debugLineNum = 247;BA.debugLine="If Not(Tracker.Tracking) Then StartService(Track"; +Debug.ShouldStop(4194304); +if (true) break; + +case 8: +//if +this.state = 13; +if (parent.__c.runMethod(true,"Not",(Object)(parent._tracker._tracking /*RemoteObject*/ )).get().booleanValue()) { +this.state = 10; +;}if (true) break; + +case 10: +//C +this.state = 13; +parent.__c.runVoidMethod ("StartService",__ref.getField(false, "ba"),(Object)((parent._tracker.getObject()))); +if (true) break; + +case 13: +//C +this.state = 16; +; + if (true) break; + +case 15: +//C +this.state = 16; + BA.debugLineNum = 250;BA.debugLine="ToastMessageShow(\"No permission\", True)"; +Debug.ShouldStop(33554432); +parent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("No permission")),(Object)(parent.__c.getField(true,"True"))); + BA.debugLineNum = 251;BA.debugLine="Log(\"Sin permisos\")"; +Debug.ShouldStop(67108864); +parent.__c.runVoidMethod ("LogImpl","81376270",RemoteObject.createImmutable("Sin permisos"),0); + if (true) break; + +case 16: +//C +this.state = 17; +; + BA.debugLineNum = 254;BA.debugLine="c=Starter.skmt.ExecQuery(\"select USUARIO from usu"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select USUARIO from usuarioa")))); + BA.debugLineNum = 255;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(1073741824); +if (true) break; + +case 17: +//if +this.state = 20; +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 19; +}if (true) break; + +case 19: +//C +this.state = 20; + BA.debugLineNum = 258;BA.debugLine="c.Position=0"; +Debug.ShouldStop(2); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 259;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")))); + if (true) break; + +case 20: +//C +this.state = -1; +; + BA.debugLineNum = 261;BA.debugLine="c.Close"; +Debug.ShouldStop(16); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 273;BA.debugLine="End Sub"; +Debug.ShouldStop(65536); +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,560); +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(reparto_izca.keymon.lat.b4xmainpage parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +reparto_izca.keymon.lat.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,560); +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 = 562;BA.debugLine="If p_appUpdate.Visible Then"; +Debug.ShouldStop(131072); +if (true) break; + +case 1: +//if +this.state = 6; +if (__ref.getField(false,"_p_appupdate" /*RemoteObject*/ ).runMethod(true,"getVisible").get().booleanValue()) { +this.state = 3; +}else { +this.state = 5; +}if (true) break; + +case 3: +//C +this.state = 6; + BA.debugLineNum = 563;BA.debugLine="p_appUpdate.Visible = False"; +Debug.ShouldStop(262144); +__ref.getField(false,"_p_appupdate" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + if (true) break; + +case 5: +//C +this.state = 6; + BA.debugLineNum = 565;BA.debugLine="Sleep(0)"; +Debug.ShouldStop(1048576); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "b4xmainpage", "b4xpage_closerequest"),BA.numberCast(int.class, 0)); +this.state = 7; +return; +case 7: +//C +this.state = 6; +; + BA.debugLineNum = 566;BA.debugLine="ExitApplication"; +Debug.ShouldStop(2097152); +parent.__c.runVoidMethod ("ExitApplication"); + if (true) break; + +case 6: +//C +this.state = -1; +; + BA.debugLineNum = 568;BA.debugLine="Return False"; +Debug.ShouldStop(8388608); +if (true) { +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(parent.__c.getField(true,"False")));return;}; + BA.debugLineNum = 569;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 (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,110); +if (RapidSub.canDelegate("b4xpage_created")) { return __ref.runUserSub(false, "b4xmainpage","b4xpage_created", __ref, _root1);} +Debug.locals.put("Root1", _root1); + BA.debugLineNum = 110;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +Debug.ShouldStop(8192); + BA.debugLineNum = 111;BA.debugLine="Root = Root1"; +Debug.ShouldStop(16384); +__ref.setField ("_root" /*RemoteObject*/ ,_root1); + BA.debugLineNum = 112;BA.debugLine="B4XPages.GetManager.LogEvents = True"; +Debug.ShouldStop(32768); +b4xmainpage._b4xpages.runMethod(false,"_getmanager" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_logevents" /*RemoteObject*/ ,b4xmainpage.__c.getField(true,"True")); + BA.debugLineNum = 113;BA.debugLine="Root.LoadLayout(\"login\")"; +Debug.ShouldStop(65536); +__ref.getField(false,"_root" /*RemoteObject*/ ).runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("login")),__ref.getField(false, "ba")); + BA.debugLineNum = 114;BA.debugLine="B4XPages.SetTitle(Me, \"Izca Reparto\")"; +Debug.ShouldStop(131072); +b4xmainpage._b4xpages.runVoidMethod ("_settitle" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref),(Object)((RemoteObject.createImmutable("Izca Reparto")))); + BA.debugLineNum = 115;BA.debugLine="login.Initialize"; +Debug.ShouldStop(262144); +__ref.getField(false,"_login" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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 = 125;BA.debugLine="productos.Initialize"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_productos" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.c_productos.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 126;BA.debugLine="B4XPages.AddPage(\"Productos\", productos)"; +Debug.ShouldStop(536870912); +b4xmainpage._b4xpages.runVoidMethod ("_addpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("Productos")),(Object)((__ref.getField(false,"_productos" /*RemoteObject*/ )))); + BA.debugLineNum = 127;BA.debugLine="updateAvailable.Initialize"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_updateavailable" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.c_updateavailable.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 128;BA.debugLine="B4XPages.AddPage(\"updateAvailable\", updateAvailab"; +Debug.ShouldStop(-2147483648); +b4xmainpage._b4xpages.runVoidMethod ("_addpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("updateAvailable")),(Object)((__ref.getField(false,"_updateavailable" /*RemoteObject*/ )))); + BA.debugLineNum = 129;BA.debugLine="mapas.Initialize"; +Debug.ShouldStop(1); +__ref.getField(false,"_mapas" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.c_mapas.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 130;BA.debugLine="B4XPages.AddPage(\"Mapas\", mapas)"; +Debug.ShouldStop(2); +b4xmainpage._b4xpages.runVoidMethod ("_addpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("Mapas")),(Object)((__ref.getField(false,"_mapas" /*RemoteObject*/ )))); + BA.debugLineNum = 131;BA.debugLine="nuevoCliente.Initialize"; +Debug.ShouldStop(4); +__ref.getField(false,"_nuevocliente" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.c_nuevocliente.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 132;BA.debugLine="B4XPages.AddPage(\"NuevoCliente\", nuevoCliente)"; +Debug.ShouldStop(8); +b4xmainpage._b4xpages.runVoidMethod ("_addpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("NuevoCliente")),(Object)((__ref.getField(false,"_nuevocliente" /*RemoteObject*/ )))); + BA.debugLineNum = 133;BA.debugLine="ticketsDia.Initialize"; +Debug.ShouldStop(16); +__ref.getField(false,"_ticketsdia" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.c_ticketsdia.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 134;BA.debugLine="B4XPages.AddPage(\"TicketsDia\", ticketsDia)"; +Debug.ShouldStop(32); +b4xmainpage._b4xpages.runVoidMethod ("_addpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("TicketsDia")),(Object)((__ref.getField(false,"_ticketsdia" /*RemoteObject*/ )))); + BA.debugLineNum = 135;BA.debugLine="noVenta.Initialize"; +Debug.ShouldStop(64); +__ref.getField(false,"_noventa" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.c_noventa.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 136;BA.debugLine="B4XPages.AddPage(\"NoVenta\", noVenta)"; +Debug.ShouldStop(128); +b4xmainpage._b4xpages.runVoidMethod ("_addpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("NoVenta")),(Object)((__ref.getField(false,"_noventa" /*RemoteObject*/ )))); + BA.debugLineNum = 137;BA.debugLine="pedidos.Initialize"; +Debug.ShouldStop(256); +__ref.getField(false,"_pedidos" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.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="buscar.Initialize"; +Debug.ShouldStop(1024); +__ref.getField(false,"_buscar" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.c_buscar.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 140;BA.debugLine="B4XPages.AddPage(\"Buscar\", buscar)"; +Debug.ShouldStop(2048); +b4xmainpage._b4xpages.runVoidMethod ("_addpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("Buscar")),(Object)((__ref.getField(false,"_buscar" /*RemoteObject*/ )))); + BA.debugLineNum = 143;BA.debugLine="detalleVenta.Initialize"; +Debug.ShouldStop(16384); +__ref.getField(false,"_detalleventa" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.c_detalleventa.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 144;BA.debugLine="B4XPages.AddPage(\"DetalleVenta\", detalleVenta)"; +Debug.ShouldStop(32768); +b4xmainpage._b4xpages.runVoidMethod ("_addpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("DetalleVenta")),(Object)((__ref.getField(false,"_detalleventa" /*RemoteObject*/ )))); + BA.debugLineNum = 145;BA.debugLine="detalle_promo.Initialize"; +Debug.ShouldStop(65536); +__ref.getField(false,"_detalle_promo" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.c_detalle_promo.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 146;BA.debugLine="B4XPages.AddPage(\"Detalle_Promo\", detalle_promo)"; +Debug.ShouldStop(131072); +b4xmainpage._b4xpages.runVoidMethod ("_addpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("Detalle_Promo")),(Object)((__ref.getField(false,"_detalle_promo" /*RemoteObject*/ )))); + BA.debugLineNum = 147;BA.debugLine="tabulador.Initialize"; +Debug.ShouldStop(262144); +__ref.getField(false,"_tabulador" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.c_tabulador.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 148;BA.debugLine="B4XPages.AddPage(\"tabulador\", tabulador)"; +Debug.ShouldStop(524288); +b4xmainpage._b4xpages.runVoidMethod ("_addpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("tabulador")),(Object)((__ref.getField(false,"_tabulador" /*RemoteObject*/ )))); + BA.debugLineNum = 149;BA.debugLine="checklist.Initialize"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_checklist" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.c_cheklist.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 150;BA.debugLine="B4XPages.AddPage(\"checklist\",checklist)"; +Debug.ShouldStop(2097152); +b4xmainpage._b4xpages.runVoidMethod ("_addpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("checklist")),(Object)((__ref.getField(false,"_checklist" /*RemoteObject*/ )))); + BA.debugLineNum = 151;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; +Debug.ShouldStop(4194304); +b4xmainpage._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS CAT_GUNAPROD3 (CAT_GP_INICIATIVA TEXT, CAT_GP_TIPOPROD TEXT, CAT_GP_DEV TEXT, CAT_GP_ALMACEN NUMERIC, 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 BLOB)"))); + BA.debugLineNum = 152;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD3\", \"CAT_DP_CONVE"; +Debug.ShouldStop(8388608); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD3")),(Object)(BA.ObjectToString("CAT_DP_CONVERSION1")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 153;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD3\", \"CAT_DP_PRECI"; +Debug.ShouldStop(16777216); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD3")),(Object)(BA.ObjectToString("CAT_DP_PRECIO4")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 154;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD3\", \"CAT_DP_CANT_"; +Debug.ShouldStop(33554432); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD3")),(Object)(BA.ObjectToString("CAT_DP_CANT_MIN_VENTA")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 155;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; +Debug.ShouldStop(67108864); +b4xmainpage._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS ABONOS (a_usuario TEXT, a_ruta TEXT, a_cliente TEXT, a_abono TEXT, a_fecha TEXT, a_enviado TEXT)"))); + BA.debugLineNum = 156;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; +Debug.ShouldStop(134217728); +b4xmainpage._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS PAGARES (PA_ALMACEN TEXT, PA_RUTA_REP TEXT, PA_RUTAPREV TEXT, PA_FECHA_PREV TEXT, PA_CAPTURA TEXT, PA_MONTO TEXT, PA_USUARIO TEXT, PA_CLIENTE TEXT)"))); + BA.debugLineNum = 159;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; +Debug.ShouldStop(1073741824); +b4xmainpage._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS PICK_CIEGO (PC_ID_PROD TEXT, PC_NOM_PROD TEXT, PC_CANT TEXT, PC_ALMACEN TEXT, PC_RUTA TEXT, PC_FECHA TEXT)"))); + BA.debugLineNum = 160;BA.debugLine="Subs.agregaColumna(\"PICK_CIEGO\", \"RESTA\", \"INT\")"; +Debug.ShouldStop(-2147483648); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("PICK_CIEGO")),(Object)(BA.ObjectToString("RESTA")),(Object)(RemoteObject.createImmutable("INT"))); + BA.debugLineNum = 162;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; +Debug.ShouldStop(2); +b4xmainpage._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS ENV_MONTO_LIQ (EML_MONTO TEXT, EML_ALMACEN TEXT, EML_RUTA TEXT, EML_USUARIO TEXT, EML_FECHA_PED TEXT)"))); + BA.debugLineNum = 163;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; +Debug.ShouldStop(4); +b4xmainpage._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS TABULADOR_MONEDAS(VEINTE TEXT, DIEZ TEXT, CINCO TEXT, DOS TEXT, PESO TEXT, CENTAVO TEXT, TOTAL TEXT)"))); + BA.debugLineNum = 164;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; +Debug.ShouldStop(8); +b4xmainpage._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS TABULADOR_BILLETES(MIL TEXT, QUINIENTOS TEXT, DOCIENTOS TEXT, CIEN TEXT, CINCUENTA TEXT, VEINTE TEXT)"))); + BA.debugLineNum = 165;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; +Debug.ShouldStop(16); +b4xmainpage._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS HIST_VENTAS2 (HVD_PARCIAL TEXT, HVD_RECHAZO TEXT, HVD_NUM_REGISTRO TEXT, HVD_NUM_TICKET TEXT, HVD_PROID TEXT, HVD_CODPROMO TEXT, HVD_FECHA TEXT, HVD_ESTATUS TEXT, HVD_CLIENTE TEXT, HVD_PRONOMBRE TEXT, HVD_CANT TEXT, HVD_COSTO_TOT TEXT)"))); + BA.debugLineNum = 167;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; +Debug.ShouldStop(64); +b4xmainpage._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS RECHAZOS (R_FECHA TEXT, R_CLIENTE TEXT, R_CLI_ORIG TEXT, R_PRODID TEXT, R_CANT TEXT, R_RECHAZO INT)"))); + BA.debugLineNum = 168;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; +Debug.ShouldStop(128); +b4xmainpage._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS VENTAS (V_FECHA TEXT, V_CLIENTE TEXT, V_CLI_ORIG TEXT, V_PRODID TEXT, V_CANT TEXT, V_RECHAZO INT)"))); + BA.debugLineNum = 169;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; +Debug.ShouldStop(256); +b4xmainpage._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS ABONOSP(NOTA TEXT, CLIENTE TEXT, SALDO_PENDIENTE TEXT)"))); + BA.debugLineNum = 171;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; +Debug.ShouldStop(1024); +b4xmainpage._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS CHECADO_CHECK(CHECADO TEXT)"))); + BA.debugLineNum = 172;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; +Debug.ShouldStop(2048); +b4xmainpage._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS BLOCKENVIO(ENVIADO TEXT)"))); + BA.debugLineNum = 174;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; +Debug.ShouldStop(8192); +b4xmainpage._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS CHECKLIST(USUARIO TEXT, PLACA TEXT, FECHA_CAPTURA TEXT, TARJETA_CIRCULACION TEXT , POLIZA_SEGURO TEXT, LICENCIA_CONDUCIR TEXT, LIMPIA_EXTERNA TEXT, LIMPIA_INTERNA TEXT, TRIANGULO TEXT, GATO TEXT, LLANTA_REFACCION TEXT, CARROCERIA_BUENESTADO TEXT, CARROCERIA_MALESTADO TEXT, CARROCERIA_COMENTARIOS TEXT, LUCES_CORRECTO TEXT, LUCES_INCORRECTO TEXT, LUCES_COMENTARIOS TEXT, CONDICION_PLACAS_CORRECTO TEXT, CONDICION_PLACAS_INCORRECTO TEXT, CONDICION_PLACAS_COMENTARIOS TEXT, CONDICION_LLANTAS_DEL_DER TEXT, CONDICION_LLANTAS_DEL_IZQ TEXT, CONDICION_LLANTAS_TRASERA_DER TEXT, CONDICION_LLANTAS_TRASERA_IZQ TEXT, ACEITE TEXT, ANTICONGELANTE TEXT, FRENOS TEXT, AIRE TEXT, FUGAS TEXT, COMETARIOS_FUGAS TEXT, FOTO1 BLOB, FOTO12 BLOB, FOTO3 BLOB, FOTO4 BLOB)"))); + BA.debugLineNum = 175;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; +Debug.ShouldStop(16384); +b4xmainpage._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS CHECKLIST2(USUARIO TEXT, PLACA TEXT, FECHA_CAPTURA TEXT, TARJETA_CIRCULACION TEXT, POLIZA_SEGURO TEXT, LICENCIA_CONDUCIR TEXT, LIMPIA_EXTERNA TEXT, LIMPIA_INTERNA TEXT, TRIANGULO TEXT, GATO TEXT, LLANTA_REFACCION TEXT, CARROCERIA TEXT, CARROCERIA_COMENTARIOS TEXT, LUCES TEXT, LUCES_COMENTARIOS TEXT, CONDICION_PLACAS TEXT, CONDICION_PLACAS_COMENTARIOS TEXT, CONDICION_LLANTAS_DEL_DER TEXT, CONDICION_LLANTAS_DEL_IZQ TEXT, CONDICION_LLANTAS_TRASERA_DER TEXT, CONDICION_LLANTAS_TRASERA_IZQ TEXT, ACEITE TEXT, ANTICONGELANTE TEXT, FRENOS TEXT, AIRE TEXT, FUGAS TEXT, COMETARIOS_FUGAS TEXT, FOTO1 BLOB, FOTO12 BLOB, FOTO3 BLOB, FOTO4 BLOB, KILIMETRAJE TEXT, RUTA TEXT)"))); + BA.debugLineNum = 176;BA.debugLine="Subs.agregaColumna(\"REPARTO\", \"REP_PRODREGISTRO\","; +Debug.ShouldStop(32768); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("REPARTO")),(Object)(BA.ObjectToString("REP_PRODREGISTRO")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 177;BA.debugLine="Subs.agregaColumna(\"PAGARES\", \"PA_TICKET\", \"TEXT\""; +Debug.ShouldStop(65536); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("PAGARES")),(Object)(BA.ObjectToString("PA_TICKET")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 178;BA.debugLine="Subs.agregaColumna(\"ABONOS\", \"a_tipoabono\", \"TEXT"; +Debug.ShouldStop(131072); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("ABONOS")),(Object)(BA.ObjectToString("a_tipoabono")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 179;BA.debugLine="Subs.agregaColumna(\"ABONOS\",\"TIPO_PAGO\",\"TEXT\")"; +Debug.ShouldStop(262144); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("ABONOS")),(Object)(BA.ObjectToString("TIPO_PAGO")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 180;BA.debugLine="Subs.agregaColumna(\"ABONOS\",\"a_ticket\",\"TEXT\")"; +Debug.ShouldStop(524288); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("ABONOS")),(Object)(BA.ObjectToString("a_ticket")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 181;BA.debugLine="Subs.agregaColumna(\"ABONOS\",\"a_numpago\",\"TEXT\")"; +Debug.ShouldStop(1048576); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("ABONOS")),(Object)(BA.ObjectToString("a_numpago")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 182;BA.debugLine="Subs.agregaColumna(\"ABONOS\",\"CONSECUTIVO\",\"TEXT\")"; +Debug.ShouldStop(2097152); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("ABONOS")),(Object)(BA.ObjectToString("CONSECUTIVO")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 183;BA.debugLine="Subs.agregaColumna(\"ABONOS\",\"NUM_TICKET\",\"TEXT\")"; +Debug.ShouldStop(4194304); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("ABONOS")),(Object)(BA.ObjectToString("NUM_TICKET")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 184;BA.debugLine="Subs.agregaColumna(\"ABONOS\",\"RUTA_REP\",\"TEXT\")"; +Debug.ShouldStop(8388608); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("ABONOS")),(Object)(BA.ObjectToString("RUTA_REP")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 185;BA.debugLine="Subs.agregaColumna(\"NOVENTA\", \"NV_RUTA\", \"TEXT\")"; +Debug.ShouldStop(16777216); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("NOVENTA")),(Object)(BA.ObjectToString("NV_RUTA")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 186;BA.debugLine="Subs.agregaColumna(\"kmt_info\", \"SECUENCIA\", \"INT\""; +Debug.ShouldStop(33554432); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("kmt_info")),(Object)(BA.ObjectToString("SECUENCIA")),(Object)(RemoteObject.createImmutable("INT"))); + BA.debugLineNum = 187;BA.debugLine="Subs.agregaColumna(\"kmt_info\", \"HORAENT\", \"TEXT\")"; +Debug.ShouldStop(67108864); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("kmt_info")),(Object)(BA.ObjectToString("HORAENT")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 188;BA.debugLine="Subs.agregaColumna(\"REPARTO\", \"REP_PRODID\", \"TEXT"; +Debug.ShouldStop(134217728); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("REPARTO")),(Object)(BA.ObjectToString("REP_PRODID")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 189;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_CLIENTEOR\", \"TEX"; +Debug.ShouldStop(268435456); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("PEDIDO")),(Object)(BA.ObjectToString("PE_CLIENTEOR")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 190;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_CAJAS\", \"TEXT\")"; +Debug.ShouldStop(536870912); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("PEDIDO")),(Object)(BA.ObjectToString("PE_CAJAS")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 191;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_REGALO\", \"TEXT\")"; +Debug.ShouldStop(1073741824); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("PEDIDO")),(Object)(BA.ObjectToString("PE_REGALO")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 192;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_BCAJAS\", \"TEXT\")"; +Debug.ShouldStop(-2147483648); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("PEDIDO")),(Object)(BA.ObjectToString("PE_BCAJAS")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 193;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"CONSECUTIVO\", \"TEXT"; +Debug.ShouldStop(1); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("PEDIDO")),(Object)(BA.ObjectToString("CONSECUTIVO")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 194;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"FECHA_PREV\", \"TEXT\""; +Debug.ShouldStop(2); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("PEDIDO")),(Object)(BA.ObjectToString("FECHA_PREV")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 195;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"RUTA_REP\", \"TEXT\")"; +Debug.ShouldStop(4); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("PEDIDO")),(Object)(BA.ObjectToString("RUTA_REP")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 196;BA.debugLine="Subs.agregaColumna(\"REPARTO\", \"REP_CLI_ORIG\", \"TE"; +Debug.ShouldStop(8); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("REPARTO")),(Object)(BA.ObjectToString("REP_CLI_ORIG")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 197;BA.debugLine="Subs.agregaColumna(\"REPARTO\", \"REP_PRECIO\", \"TEXT"; +Debug.ShouldStop(16); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("REPARTO")),(Object)(BA.ObjectToString("REP_PRECIO")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 198;BA.debugLine="Subs.agregaColumna(\"REPARTO\", \"REP_RECHAZO\", \"INT"; +Debug.ShouldStop(32); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("REPARTO")),(Object)(BA.ObjectToString("REP_RECHAZO")),(Object)(RemoteObject.createImmutable("INTEGER"))); + BA.debugLineNum = 199;BA.debugLine="Subs.agregaColumna(\"RECHAZOS\", \"R_PRECIO\", \"TEXT\""; +Debug.ShouldStop(64); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("RECHAZOS")),(Object)(BA.ObjectToString("R_PRECIO")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 200;BA.debugLine="Subs.agregaColumna(\"VENTAS\", \"V_PRECIO\", \"TEXT\")"; +Debug.ShouldStop(128); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("VENTAS")),(Object)(BA.ObjectToString("V_PRECIO")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 201;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"PLACA\",\"TEXT\")"; +Debug.ShouldStop(256); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("HIST_VENTAS")),(Object)(BA.ObjectToString("PLACA")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 202;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"HVD_BCREDITO\",\""; +Debug.ShouldStop(512); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("HIST_VENTAS")),(Object)(BA.ObjectToString("HVD_BCREDITO")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 203;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"HVD_RECHAZOCANT"; +Debug.ShouldStop(1024); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("HIST_VENTAS")),(Object)(BA.ObjectToString("HVD_RECHAZOCANT")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 204;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"CONSECUTIVO\",\"T"; +Debug.ShouldStop(2048); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("HIST_VENTAS")),(Object)(BA.ObjectToString("CONSECUTIVO")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 205;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"HVD_RECHAZOCANT"; +Debug.ShouldStop(4096); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("HIST_VENTAS")),(Object)(BA.ObjectToString("HVD_RECHAZOCANT")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 206;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"ESPROMO\",\"TEXT\""; +Debug.ShouldStop(8192); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("HIST_VENTAS")),(Object)(BA.ObjectToString("ESPROMO")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 207;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"HVD_RECHAZOCANT"; +Debug.ShouldStop(16384); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("HIST_VENTAS")),(Object)(BA.ObjectToString("HVD_RECHAZOCANTC")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 208;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"BCAJAS\",\"TEXT\")"; +Debug.ShouldStop(32768); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("HIST_VENTAS")),(Object)(BA.ObjectToString("BCAJAS")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 209;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"CANTC\",\"TEXT\")"; +Debug.ShouldStop(65536); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("HIST_VENTAS")),(Object)(BA.ObjectToString("CANTC")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 210;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"BCAJAS_OR\",\"TEX"; +Debug.ShouldStop(131072); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("HIST_VENTAS")),(Object)(BA.ObjectToString("BCAJAS_OR")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 211;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"CANTC_OR\",\"TEXT"; +Debug.ShouldStop(262144); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("HIST_VENTAS")),(Object)(BA.ObjectToString("CANTC_OR")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 212;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\",\"CONVERSION\",\"T"; +Debug.ShouldStop(524288); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CONVERSION")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 213;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\",\"PRECIOCONVER\","; +Debug.ShouldStop(1048576); +b4xmainpage._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("PRECIOCONVER")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 214;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; +Debug.ShouldStop(2097152); +b4xmainpage._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS RUTAA (RUTAA TEXT)"))); + BA.debugLineNum = 215;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; +Debug.ShouldStop(4194304); +b4xmainpage._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS wayPoints (codigo TEXT, indice INT)"))); + BA.debugLineNum = 216;BA.debugLine="Dim server As String = \"http://keymon.net:1781\""; +Debug.ShouldStop(8388608); +b4xmainpage._server = BA.ObjectToString("http://keymon.net:1781");__ref.setField("_server",b4xmainpage._server); + BA.debugLineNum = 222;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.serve"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref),(Object)(b4xmainpage._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_server" /*RemoteObject*/ ))); + BA.debugLineNum = 223;BA.debugLine="LogColor($\"ReqServer = ${B4XPages.MainPage.server"; +Debug.ShouldStop(1073741824); +b4xmainpage.__c.runVoidMethod ("LogImpl","81310833",(RemoteObject.concat(RemoteObject.createImmutable("ReqServer = "),b4xmainpage.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((b4xmainpage._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_server" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))),b4xmainpage.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 224;BA.debugLine="Label1.Text = Application.VersionName"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_label1" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(b4xmainpage.__c.getField(false,"Application").runMethod(true,"getVersionName"))); + BA.debugLineNum = 226;BA.debugLine="Log(\"provider\")"; +Debug.ShouldStop(2); +b4xmainpage.__c.runVoidMethod ("LogImpl","81310836",RemoteObject.createImmutable("provider"),0); + BA.debugLineNum = 227;BA.debugLine="Provider.Initialize"; +Debug.ShouldStop(4); +__ref.getField(false,"_provider" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.fileprovider.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + 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 _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 18;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 19;BA.debugLine="Dim rp As RuntimePermissions"; +b4xmainpage._rp = RemoteObject.createNew ("anywheresoftware.b4a.objects.RuntimePermissions");__ref.setField("_rp",b4xmainpage._rp); + //BA.debugLineNum = 20;BA.debugLine="Private Root As B4XView"; +b4xmainpage._root = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_root",b4xmainpage._root); + //BA.debugLineNum = 21;BA.debugLine="Private xui As XUI"; +b4xmainpage._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",b4xmainpage._xui); + //BA.debugLineNum = 22;BA.debugLine="Private Root As B4XView"; +b4xmainpage._root = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_root",b4xmainpage._root); + //BA.debugLineNum = 23;BA.debugLine="Public rp As RuntimePermissions"; +b4xmainpage._rp = RemoteObject.createNew ("anywheresoftware.b4a.objects.RuntimePermissions");__ref.setField("_rp",b4xmainpage._rp); + //BA.debugLineNum = 24;BA.debugLine="Public login As B4XMainPage"; +b4xmainpage._login = RemoteObject.createNew ("reparto_izca.keymon.lat.b4xmainpage");__ref.setField("_login",b4xmainpage._login); + //BA.debugLineNum = 25;BA.debugLine="Public principal As C_Principal"; +b4xmainpage._principal = RemoteObject.createNew ("reparto_izca.keymon.lat.c_principal");__ref.setField("_principal",b4xmainpage._principal); + //BA.debugLineNum = 26;BA.debugLine="Public clientes As C_Clientes"; +b4xmainpage._clientes = RemoteObject.createNew ("reparto_izca.keymon.lat.c_clientes");__ref.setField("_clientes",b4xmainpage._clientes); + //BA.debugLineNum = 27;BA.debugLine="Public cliente As C_Cliente"; +b4xmainpage._cliente = RemoteObject.createNew ("reparto_izca.keymon.lat.c_cliente");__ref.setField("_cliente",b4xmainpage._cliente); + //BA.debugLineNum = 29;BA.debugLine="Public productos As C_Productos"; +b4xmainpage._productos = RemoteObject.createNew ("reparto_izca.keymon.lat.c_productos");__ref.setField("_productos",b4xmainpage._productos); + //BA.debugLineNum = 30;BA.debugLine="Public updateAvailable As C_UpdateAvailable"; +b4xmainpage._updateavailable = RemoteObject.createNew ("reparto_izca.keymon.lat.c_updateavailable");__ref.setField("_updateavailable",b4xmainpage._updateavailable); + //BA.debugLineNum = 31;BA.debugLine="Public mapas As C_Mapas"; +b4xmainpage._mapas = RemoteObject.createNew ("reparto_izca.keymon.lat.c_mapas");__ref.setField("_mapas",b4xmainpage._mapas); + //BA.debugLineNum = 32;BA.debugLine="Public nuevoCliente As C_NuevoCliente"; +b4xmainpage._nuevocliente = RemoteObject.createNew ("reparto_izca.keymon.lat.c_nuevocliente");__ref.setField("_nuevocliente",b4xmainpage._nuevocliente); + //BA.debugLineNum = 33;BA.debugLine="Public ticketsDia As C_TicketsDia"; +b4xmainpage._ticketsdia = RemoteObject.createNew ("reparto_izca.keymon.lat.c_ticketsdia");__ref.setField("_ticketsdia",b4xmainpage._ticketsdia); + //BA.debugLineNum = 34;BA.debugLine="Public noVenta As C_NoVenta"; +b4xmainpage._noventa = RemoteObject.createNew ("reparto_izca.keymon.lat.c_noventa");__ref.setField("_noventa",b4xmainpage._noventa); + //BA.debugLineNum = 35;BA.debugLine="Public pedidos As C_Pedidos"; +b4xmainpage._pedidos = RemoteObject.createNew ("reparto_izca.keymon.lat.c_pedidos");__ref.setField("_pedidos",b4xmainpage._pedidos); + //BA.debugLineNum = 36;BA.debugLine="Public buscar As C_Buscar"; +b4xmainpage._buscar = RemoteObject.createNew ("reparto_izca.keymon.lat.c_buscar");__ref.setField("_buscar",b4xmainpage._buscar); + //BA.debugLineNum = 38;BA.debugLine="Public detalleVenta As C_DetalleVenta"; +b4xmainpage._detalleventa = RemoteObject.createNew ("reparto_izca.keymon.lat.c_detalleventa");__ref.setField("_detalleventa",b4xmainpage._detalleventa); + //BA.debugLineNum = 39;BA.debugLine="Public detalle_promo As C_Detalle_Promo"; +b4xmainpage._detalle_promo = RemoteObject.createNew ("reparto_izca.keymon.lat.c_detalle_promo");__ref.setField("_detalle_promo",b4xmainpage._detalle_promo); + //BA.debugLineNum = 40;BA.debugLine="Dim reqManager As DBRequestManager"; +b4xmainpage._reqmanager = RemoteObject.createNew ("reparto_izca.keymon.lat.dbrequestmanager");__ref.setField("_reqmanager",b4xmainpage._reqmanager); + //BA.debugLineNum = 42;BA.debugLine="Dim usuario As String"; +b4xmainpage._usuario = RemoteObject.createImmutable("");__ref.setField("_usuario",b4xmainpage._usuario); + //BA.debugLineNum = 43;BA.debugLine="Dim logger As Boolean = True"; +b4xmainpage._logger = b4xmainpage.__c.getField(true,"True");__ref.setField("_logger",b4xmainpage._logger); + //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 = 46;BA.debugLine="Dim usuario As String"; +b4xmainpage._usuario = RemoteObject.createImmutable("");__ref.setField("_usuario",b4xmainpage._usuario); + //BA.debugLineNum = 47;BA.debugLine="Dim server As String"; +b4xmainpage._server = RemoteObject.createImmutable("");__ref.setField("_server",b4xmainpage._server); + //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._clientesrechazo = RemoteObject.createImmutable("");__ref.setField("_clientesrechazo",b4xmainpage._clientesrechazo); +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); +b4xmainpage._cantidadprod = RemoteObject.createImmutable("");__ref.setField("_cantidadprod",b4xmainpage._cantidadprod); + //BA.debugLineNum = 49;BA.debugLine="Dim ultimaActualizacionGPS As String = 235959"; +b4xmainpage._ultimaactualizaciongps = BA.NumberToString(235959);__ref.setField("_ultimaactualizaciongps",b4xmainpage._ultimaactualizaciongps); + //BA.debugLineNum = 50;BA.debugLine="Dim fechaRuta As String"; +b4xmainpage._fecharuta = RemoteObject.createImmutable("");__ref.setField("_fecharuta",b4xmainpage._fecharuta); + //BA.debugLineNum = 53;BA.debugLine="Dim srvIp As String"; +b4xmainpage._srvip = RemoteObject.createImmutable("");__ref.setField("_srvip",b4xmainpage._srvip); + //BA.debugLineNum = 54;BA.debugLine="Dim phn As Phone"; +b4xmainpage._phn = RemoteObject.createNew ("anywheresoftware.b4a.phone.Phone");__ref.setField("_phn",b4xmainpage._phn); + //BA.debugLineNum = 55;BA.debugLine="Dim user As EditText"; +b4xmainpage._user = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_user",b4xmainpage._user); + //BA.debugLineNum = 56;BA.debugLine="Dim pass As EditText"; +b4xmainpage._pass = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_pass",b4xmainpage._pass); + //BA.debugLineNum = 57;BA.debugLine="Dim c As Cursor"; +b4xmainpage._c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_c",b4xmainpage._c); + //BA.debugLineNum = 58;BA.debugLine="Dim existe As String"; +b4xmainpage._existe = RemoteObject.createImmutable("");__ref.setField("_existe",b4xmainpage._existe); + //BA.debugLineNum = 59;BA.debugLine="Dim paso1 As String"; +b4xmainpage._paso1 = RemoteObject.createImmutable("");__ref.setField("_paso1",b4xmainpage._paso1); + //BA.debugLineNum = 60;BA.debugLine="Private IMEN As Label"; +b4xmainpage._imen = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_imen",b4xmainpage._imen); + //BA.debugLineNum = 61;BA.debugLine="Dim IMEI As String"; +b4xmainpage._imei = RemoteObject.createImmutable("");__ref.setField("_imei",b4xmainpage._imei); + //BA.debugLineNum = 62;BA.debugLine="Private Label1 As Label"; +b4xmainpage._label1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_label1",b4xmainpage._label1); + //BA.debugLineNum = 63;BA.debugLine="Dim server As String"; +b4xmainpage._server = RemoteObject.createImmutable("");__ref.setField("_server",b4xmainpage._server); + //BA.debugLineNum = 64;BA.debugLine="Private p_principal As Panel"; +b4xmainpage._p_principal = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_principal",b4xmainpage._p_principal); + //BA.debugLineNum = 65;BA.debugLine="Private Entrar As Button"; +b4xmainpage._entrar = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_entrar",b4xmainpage._entrar); + //BA.debugLineNum = 66;BA.debugLine="Public checklist As C_Cheklist"; +b4xmainpage._checklist = RemoteObject.createNew ("reparto_izca.keymon.lat.c_cheklist");__ref.setField("_checklist",b4xmainpage._checklist); + //BA.debugLineNum = 67;BA.debugLine="Public tabulador As C_tabulador"; +b4xmainpage._tabulador = RemoteObject.createNew ("reparto_izca.keymon.lat.c_tabulador");__ref.setField("_tabulador",b4xmainpage._tabulador); + //BA.debugLineNum = 68;BA.debugLine="Dim batt As Int"; +b4xmainpage._batt = RemoteObject.createImmutable(0);__ref.setField("_batt",b4xmainpage._batt); + //BA.debugLineNum = 69;BA.debugLine="Dim porVisitar, entregas, rechazos, montoEntregad"; +b4xmainpage._porvisitar = RemoteObject.createImmutable("");__ref.setField("_porvisitar",b4xmainpage._porvisitar); +b4xmainpage._entregas = RemoteObject.createImmutable("");__ref.setField("_entregas",b4xmainpage._entregas); +b4xmainpage._rechazos = RemoteObject.createImmutable("");__ref.setField("_rechazos",b4xmainpage._rechazos); +b4xmainpage._montoentregado = RemoteObject.createImmutable("");__ref.setField("_montoentregado",b4xmainpage._montoentregado); +b4xmainpage._montorechazado = RemoteObject.createImmutable("");__ref.setField("_montorechazado",b4xmainpage._montorechazado); +b4xmainpage._visitadostotales = RemoteObject.createImmutable("");__ref.setField("_visitadostotales",b4xmainpage._visitadostotales); + //BA.debugLineNum = 70;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 = 71;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 = 72;BA.debugLine="Private b_server As Button"; +b4xmainpage._b_server = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_server",b4xmainpage._b_server); + //BA.debugLineNum = 73;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 = 74;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 = 75;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 = 76;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 = 77;BA.debugLine="Private p_serverList As Panel"; +b4xmainpage._p_serverlist = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_serverlist",b4xmainpage._p_serverlist); + //BA.debugLineNum = 78;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 = 79;BA.debugLine="Public Provider As FileProvider"; +b4xmainpage._provider = RemoteObject.createNew ("reparto_izca.keymon.lat.fileprovider");__ref.setField("_provider",b4xmainpage._provider); + //BA.debugLineNum = 80;BA.debugLine="Public rutaBDBackup As String = \"\""; +b4xmainpage._rutabdbackup = BA.ObjectToString("");__ref.setField("_rutabdbackup",b4xmainpage._rutabdbackup); + //BA.debugLineNum = 81;BA.debugLine="Private B_Can_Monto As Button"; +b4xmainpage._b_can_monto = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_can_monto",b4xmainpage._b_can_monto); + //BA.debugLineNum = 82;BA.debugLine="Private B_Aceptar_Monto As Button"; +b4xmainpage._b_aceptar_monto = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_aceptar_monto",b4xmainpage._b_aceptar_monto); + //BA.debugLineNum = 83;BA.debugLine="Private ET_Add_Monto As EditText"; +b4xmainpage._et_add_monto = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_add_monto",b4xmainpage._et_add_monto); + //BA.debugLineNum = 84;BA.debugLine="Private p_add_monto As Panel"; +b4xmainpage._p_add_monto = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_add_monto",b4xmainpage._p_add_monto); + //BA.debugLineNum = 85;BA.debugLine="Dim sDate, sTime As String"; +b4xmainpage._sdate = RemoteObject.createImmutable("");__ref.setField("_sdate",b4xmainpage._sdate); +b4xmainpage._stime = RemoteObject.createImmutable("");__ref.setField("_stime",b4xmainpage._stime); + //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 b_cancelarcodigo As Button"; +b4xmainpage._b_cancelarcodigo = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_cancelarcodigo",b4xmainpage._b_cancelarcodigo); + //BA.debugLineNum = 88;BA.debugLine="Private b_aceptar As Button"; +b4xmainpage._b_aceptar = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_aceptar",b4xmainpage._b_aceptar); + //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="Private P_CIEGO As Panel"; +b4xmainpage._p_ciego = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_ciego",b4xmainpage._p_ciego); + //BA.debugLineNum = 91;BA.debugLine="Private b_terpc As Button"; +b4xmainpage._b_terpc = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_terpc",b4xmainpage._b_terpc); + //BA.debugLineNum = 92;BA.debugLine="Private B_PC_ENV As Button"; +b4xmainpage._b_pc_env = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_pc_env",b4xmainpage._b_pc_env); + //BA.debugLineNum = 93;BA.debugLine="Private CLV_PICK_CIEGO As CustomListView"; +b4xmainpage._clv_pick_ciego = RemoteObject.createNew ("b4a.example3.customlistview");__ref.setField("_clv_pick_ciego",b4xmainpage._clv_pick_ciego); + //BA.debugLineNum = 94;BA.debugLine="Private et_buspc As EditText"; +b4xmainpage._et_buspc = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_buspc",b4xmainpage._et_buspc); + //BA.debugLineNum = 95;BA.debugLine="Dim q_buscar As String"; +b4xmainpage._q_buscar = RemoteObject.createImmutable("");__ref.setField("_q_buscar",b4xmainpage._q_buscar); + //BA.debugLineNum = 96;BA.debugLine="Dim d As Cursor"; +b4xmainpage._d = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_d",b4xmainpage._d); + //BA.debugLineNum = 97;BA.debugLine="Private L_PICK_CIEGO As Label"; +b4xmainpage._l_pick_ciego = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_pick_ciego",b4xmainpage._l_pick_ciego); + //BA.debugLineNum = 98;BA.debugLine="Private ET_PICK_CIEGO As EditText"; +b4xmainpage._et_pick_ciego = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_pick_ciego",b4xmainpage._et_pick_ciego); + //BA.debugLineNum = 99;BA.debugLine="Dim a As Cursor"; +b4xmainpage._a = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_a",b4xmainpage._a); + //BA.debugLineNum = 100;BA.debugLine="Dim f As Cursor"; +b4xmainpage._f = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_f",b4xmainpage._f); + //BA.debugLineNum = 101;BA.debugLine="Private b_abono As Button"; +b4xmainpage._b_abono = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_abono",b4xmainpage._b_abono); + //BA.debugLineNum = 102;BA.debugLine="Dim monto_entregadoactual As String"; +b4xmainpage._monto_entregadoactual = RemoteObject.createImmutable("");__ref.setField("_monto_entregadoactual",b4xmainpage._monto_entregadoactual); + //BA.debugLineNum = 103;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _createlistitem(RemoteObject __ref,RemoteObject _id_prod,RemoteObject _prod,RemoteObject _cant) throws Exception{ +try { + Debug.PushSubsStack("CreateListItem (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,989); +if (RapidSub.canDelegate("createlistitem")) { return __ref.runUserSub(false, "b4xmainpage","createlistitem", __ref, _id_prod, _prod, _cant);} +RemoteObject _pa = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +Debug.locals.put("Id_prod", _id_prod); +Debug.locals.put("Prod", _prod); +Debug.locals.put("cant", _cant); + BA.debugLineNum = 989;BA.debugLine="Sub CreateListItem(Id_prod As String, Prod As Stri"; +Debug.ShouldStop(268435456); + BA.debugLineNum = 990;BA.debugLine="Dim pa As B4XView = xui.CreatePanel(\"\")"; +Debug.ShouldStop(536870912); +_pa = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_pa = __ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(false,"CreatePanel",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("")));Debug.locals.put("pa", _pa);Debug.locals.put("pa", _pa); + BA.debugLineNum = 991;BA.debugLine="pa.SetLayoutAnimated(0, 0, 0, 1, 10)"; +Debug.ShouldStop(1073741824); +_pa.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, 1)),(Object)(BA.numberCast(int.class, 10))); + BA.debugLineNum = 992;BA.debugLine="pa.LoadLayout(\"PANEL_PICK_CIEGO\")"; +Debug.ShouldStop(-2147483648); +_pa.runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("PANEL_PICK_CIEGO")),__ref.getField(false, "ba")); + BA.debugLineNum = 993;BA.debugLine="pa.Height = 55dip"; +Debug.ShouldStop(1); +_pa.runMethod(true,"setHeight",b4xmainpage.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 55)))); + BA.debugLineNum = 994;BA.debugLine="pa.Width = 298dip"; +Debug.ShouldStop(2); +_pa.runMethod(true,"setWidth",b4xmainpage.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 298)))); + BA.debugLineNum = 996;BA.debugLine="L_PICK_CIEGO.Text = Id_prod & CRLF & Prod"; +Debug.ShouldStop(8); +__ref.getField(false,"_l_pick_ciego" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(RemoteObject.concat(_id_prod,b4xmainpage.__c.getField(true,"CRLF"),_prod))); + BA.debugLineNum = 997;BA.debugLine="L_PICK_CIEGO.TextSize = 12"; +Debug.ShouldStop(16); +__ref.getField(false,"_l_pick_ciego" /*RemoteObject*/ ).runMethod(true,"setTextSize",BA.numberCast(float.class, 12)); + BA.debugLineNum = 998;BA.debugLine="L_PICK_CIEGO.Gravity = Bit.Or(Gravity.CENTER_VERT"; +Debug.ShouldStop(32); +__ref.getField(false,"_l_pick_ciego" /*RemoteObject*/ ).runMethod(true,"setGravity",b4xmainpage.__c.getField(false,"Bit").runMethod(true,"Or",(Object)(b4xmainpage.__c.getField(false,"Gravity").getField(true,"CENTER_VERTICAL")),(Object)(b4xmainpage.__c.getField(false,"Gravity").getField(true,"CENTER_HORIZONTAL")))); + BA.debugLineNum = 999;BA.debugLine="ET_PICK_CIEGO.Text = cant"; +Debug.ShouldStop(64); +__ref.getField(false,"_et_pick_ciego" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(_cant)); + BA.debugLineNum = 1002;BA.debugLine="Return pa"; +Debug.ShouldStop(512); +if (true) return RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.PanelWrapper"), _pa.getObject()); + BA.debugLineNum = 1003;BA.debugLine="End Sub"; +Debug.ShouldStop(1024); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _createlistitem2(RemoteObject __ref,RemoteObject _id_prod,RemoteObject _prod) throws Exception{ +try { + Debug.PushSubsStack("CreateListItem2 (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,1005); +if (RapidSub.canDelegate("createlistitem2")) { return __ref.runUserSub(false, "b4xmainpage","createlistitem2", __ref, _id_prod, _prod);} +RemoteObject _pa = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +Debug.locals.put("Id_prod", _id_prod); +Debug.locals.put("Prod", _prod); + BA.debugLineNum = 1005;BA.debugLine="Sub CreateListItem2(Id_prod As String, Prod As Str"; +Debug.ShouldStop(4096); + BA.debugLineNum = 1006;BA.debugLine="Dim pa As B4XView = xui.CreatePanel(\"\")"; +Debug.ShouldStop(8192); +_pa = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_pa = __ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(false,"CreatePanel",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("")));Debug.locals.put("pa", _pa);Debug.locals.put("pa", _pa); + BA.debugLineNum = 1007;BA.debugLine="pa.SetLayoutAnimated(0, 0, 0, 1, 10)"; +Debug.ShouldStop(16384); +_pa.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, 1)),(Object)(BA.numberCast(int.class, 10))); + BA.debugLineNum = 1008;BA.debugLine="pa.LoadLayout(\"PANEL_PICK_CIEGO\")"; +Debug.ShouldStop(32768); +_pa.runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("PANEL_PICK_CIEGO")),__ref.getField(false, "ba")); + BA.debugLineNum = 1009;BA.debugLine="pa.Height = 55dip"; +Debug.ShouldStop(65536); +_pa.runMethod(true,"setHeight",b4xmainpage.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 55)))); + BA.debugLineNum = 1010;BA.debugLine="pa.Width = 298dip"; +Debug.ShouldStop(131072); +_pa.runMethod(true,"setWidth",b4xmainpage.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 298)))); + BA.debugLineNum = 1012;BA.debugLine="L_PICK_CIEGO.Text = Id_prod & CRLF & Prod"; +Debug.ShouldStop(524288); +__ref.getField(false,"_l_pick_ciego" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(RemoteObject.concat(_id_prod,b4xmainpage.__c.getField(true,"CRLF"),_prod))); + BA.debugLineNum = 1013;BA.debugLine="L_PICK_CIEGO.TextSize = 12"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_l_pick_ciego" /*RemoteObject*/ ).runMethod(true,"setTextSize",BA.numberCast(float.class, 12)); + BA.debugLineNum = 1014;BA.debugLine="L_PICK_CIEGO.Gravity = Bit.Or(Gravity.CENTER_VERT"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_l_pick_ciego" /*RemoteObject*/ ).runMethod(true,"setGravity",b4xmainpage.__c.getField(false,"Bit").runMethod(true,"Or",(Object)(b4xmainpage.__c.getField(false,"Gravity").getField(true,"CENTER_VERTICAL")),(Object)(b4xmainpage.__c.getField(false,"Gravity").getField(true,"CENTER_HORIZONTAL")))); + BA.debugLineNum = 1017;BA.debugLine="Return pa"; +Debug.ShouldStop(16777216); +if (true) return RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.PanelWrapper"), _pa.getObject()); + BA.debugLineNum = 1018;BA.debugLine="End Sub"; +Debug.ShouldStop(33554432); +return RemoteObject.createImmutable(null); +} +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,277); +if (RapidSub.canDelegate("entrar_click")) { return __ref.runUserSub(false, "b4xmainpage","entrar_click", __ref);} +RemoteObject _cmd = RemoteObject.declareNull("reparto_izca.keymon.lat.dbrequestmanager._dbcommand"); + BA.debugLineNum = 277;BA.debugLine="Sub Entrar_Click"; +Debug.ShouldStop(1048576); + BA.debugLineNum = 278;BA.debugLine="If pass.Text = \"YA\" Then"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pass" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("YA"))) { + BA.debugLineNum = 279;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from usuarioa\""; +Debug.ShouldStop(4194304); +b4xmainpage._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from usuarioa"))); + BA.debugLineNum = 280;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from VERSION\")"; +Debug.ShouldStop(8388608); +b4xmainpage._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from VERSION"))); + BA.debugLineNum = 281;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO USUARIOA"; +Debug.ShouldStop(16777216); +b4xmainpage._starter._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[] {RemoteObject.createImmutable(("ROOT")),(RemoteObject.createImmutable("ROOT"))}))))); + BA.debugLineNum = 282;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_almac"; +Debug.ShouldStop(33554432); +b4xmainpage._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from cat_almacen"))); + BA.debugLineNum = 283;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_ALMA"; +Debug.ShouldStop(67108864); +b4xmainpage._starter._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,"_user" /*RemoteObject*/ ).runMethod(true,"getText"))}))))); + BA.debugLineNum = 284;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO VERSION("; +Debug.ShouldStop(134217728); +b4xmainpage._starter._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 = 287;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +Debug.ShouldStop(1073741824); +b4xmainpage._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Principal"))); + }else { + BA.debugLineNum = 289;BA.debugLine="c=Starter.skmt.ExecQuery2(\"select count(*) as EX"; +Debug.ShouldStop(1); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (b4xmainpage._starter._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 = 290;BA.debugLine="c.Position=0"; +Debug.ShouldStop(2); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 291;BA.debugLine="existe = c.GetString(\"EXISTE1\")"; +Debug.ShouldStop(4); +__ref.setField ("_existe" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("EXISTE1")))); + BA.debugLineNum = 292;BA.debugLine="c.Close"; +Debug.ShouldStop(8); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 294;BA.debugLine="If existe = 0 Then"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_existe" /*RemoteObject*/ ),BA.NumberToString(0))) { + BA.debugLineNum = 296;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(128); +_cmd = RemoteObject.createNew ("reparto_izca.keymon.lat.dbrequestmanager._dbcommand");Debug.locals.put("cmd", _cmd); + BA.debugLineNum = 297;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(256); +_cmd.runVoidMethod ("Initialize"); + BA.debugLineNum = 298;BA.debugLine="cmd.Name = \"select_usuario_IZCA_REPG\""; +Debug.ShouldStop(512); +_cmd.setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_usuario_IZCA_REPG")); + BA.debugLineNum = 299;BA.debugLine="cmd.Parameters = Array As Object(user.Text, pas"; +Debug.ShouldStop(1024); +_cmd.setField ("Parameters" /*RemoteObject*/ ,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 = 300;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"usuario\")"; +Debug.ShouldStop(2048); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(_cmd),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("usuario")))); + BA.debugLineNum = 302;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(8192); +_cmd = RemoteObject.createNew ("reparto_izca.keymon.lat.dbrequestmanager._dbcommand");Debug.locals.put("cmd", _cmd); + BA.debugLineNum = 303;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(16384); +_cmd.runVoidMethod ("Initialize"); + BA.debugLineNum = 304;BA.debugLine="cmd.Name = \"select_version_IZCA\""; +Debug.ShouldStop(32768); +_cmd.setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_version_IZCA")); + BA.debugLineNum = 305;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"version\")"; +Debug.ShouldStop(65536); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(_cmd),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("version")))); + }else { + BA.debugLineNum = 308;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +Debug.ShouldStop(524288); +b4xmainpage._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Principal"))); + }; + }; + BA.debugLineNum = 311;BA.debugLine="End Sub"; +Debug.ShouldStop(4194304); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _enviarmonto(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("enviarmonto (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,669); +if (RapidSub.canDelegate("enviarmonto")) { return __ref.runUserSub(false, "b4xmainpage","enviarmonto", __ref);} +RemoteObject _a2 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _fecha = null; +RemoteObject _fecha2 = null; +RemoteObject _fecha3 = RemoteObject.createImmutable(""); +RemoteObject _hora = null; +RemoteObject _ci = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _u = RemoteObject.createImmutable(""); +RemoteObject _g = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); + BA.debugLineNum = 669;BA.debugLine="Sub enviarmonto"; +Debug.ShouldStop(268435456); + BA.debugLineNum = 671;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(1073741824); +b4xmainpage.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 672;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(-2147483648); +__ref.setField ("_sdate" /*RemoteObject*/ ,b4xmainpage.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(b4xmainpage.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 673;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(1); +__ref.setField ("_stime" /*RemoteObject*/ ,b4xmainpage.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(b4xmainpage.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 675;BA.debugLine="Private f As Cursor=Starter.skmt.ExecQuery(\"selec"; +Debug.ShouldStop(4); +b4xmainpage._f = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +b4xmainpage._f = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), b4xmainpage._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select RUTAA from RUTAA"))));__ref.setField("_f",b4xmainpage._f); + BA.debugLineNum = 676;BA.debugLine="f.Position=0"; +Debug.ShouldStop(8); +__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 678;BA.debugLine="Private a As Cursor=Starter.skmt.ExecQuery(\"selec"; +Debug.ShouldStop(32); +b4xmainpage._a = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +b4xmainpage._a = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), b4xmainpage._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select ID_ALMACEN from CAT_ALMACEN"))));__ref.setField("_a",b4xmainpage._a); + BA.debugLineNum = 679;BA.debugLine="If a.RowCount>0 Then"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_a" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 680;BA.debugLine="a.Position=0"; +Debug.ShouldStop(128); +__ref.getField(false,"_a" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + }; + BA.debugLineNum = 683;BA.debugLine="Private a2 As Cursor = Starter.skmt.ExecQuery(\"SE"; +Debug.ShouldStop(1024); +_a2 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_a2 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), b4xmainpage._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT HVD_FECHA FROM HIST_VENTAS"))));Debug.locals.put("a2", _a2);Debug.locals.put("a2", _a2); + BA.debugLineNum = 684;BA.debugLine="If a2.RowCount>0 Then"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean(">",_a2.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 685;BA.debugLine="a2.Position=0"; +Debug.ShouldStop(4096); +_a2.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 686;BA.debugLine="Dim fecha() As String = Regex.Split(\" \", a2.GetS"; +Debug.ShouldStop(8192); +_fecha = b4xmainpage.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString(" ")),(Object)(_a2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_FECHA")))));Debug.locals.put("fecha", _fecha);Debug.locals.put("fecha", _fecha); + BA.debugLineNum = 687;BA.debugLine="Dim fecha2() As String = Regex.Split(\"-\", fecha("; +Debug.ShouldStop(16384); +_fecha2 = b4xmainpage.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString("-")),(Object)(_fecha.getArrayElement(true,BA.numberCast(int.class, 0))));Debug.locals.put("fecha2", _fecha2);Debug.locals.put("fecha2", _fecha2); + BA.debugLineNum = 688;BA.debugLine="Dim fecha3 As String = fecha2(2)&\"/\"&fecha2(1)&\""; +Debug.ShouldStop(32768); +_fecha3 = RemoteObject.concat(_fecha2.getArrayElement(true,BA.numberCast(int.class, 2)),RemoteObject.createImmutable("/"),_fecha2.getArrayElement(true,BA.numberCast(int.class, 1)),RemoteObject.createImmutable("/"),_fecha2.getArrayElement(true,BA.numberCast(int.class, 0)));Debug.locals.put("fecha3", _fecha3);Debug.locals.put("fecha3", _fecha3); + BA.debugLineNum = 689;BA.debugLine="Log(fecha3)"; +Debug.ShouldStop(65536); +b4xmainpage.__c.runVoidMethod ("LogImpl","82359316",_fecha3,0); + BA.debugLineNum = 690;BA.debugLine="Dim hora() As String = Regex.Split(\"\\.\", fecha(1"; +Debug.ShouldStop(131072); +_hora = b4xmainpage.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString("\\.")),(Object)(_fecha.getArrayElement(true,BA.numberCast(int.class, 1))));Debug.locals.put("hora", _hora);Debug.locals.put("hora", _hora); + BA.debugLineNum = 691;BA.debugLine="Log(hora(0))"; +Debug.ShouldStop(262144); +b4xmainpage.__c.runVoidMethod ("LogImpl","82359318",_hora.getArrayElement(true,BA.numberCast(int.class, 0)),0); + }; + BA.debugLineNum = 696;BA.debugLine="Private cI As Cursor"; +Debug.ShouldStop(8388608); +_ci = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");Debug.locals.put("cI", _ci); + BA.debugLineNum = 697;BA.debugLine="Private u As String = \"SinUsuario\""; +Debug.ShouldStop(16777216); +_u = BA.ObjectToString("SinUsuario");Debug.locals.put("u", _u);Debug.locals.put("u", _u); + BA.debugLineNum = 698;BA.debugLine="cI=Starter.skmt.ExecQuery(\"select USUARIO from us"; +Debug.ShouldStop(33554432); +_ci = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), b4xmainpage._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select USUARIO from usuarioa"))));Debug.locals.put("cI", _ci); + BA.debugLineNum = 699;BA.debugLine="cI.Position=0"; +Debug.ShouldStop(67108864); +_ci.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 700;BA.debugLine="If cI.RowCount > 0 Then u = cI.GetString(\"USUARIO"; +Debug.ShouldStop(134217728); +if (RemoteObject.solveBoolean(">",_ci.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +_u = _ci.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO")));Debug.locals.put("u", _u);}; + BA.debugLineNum = 701;BA.debugLine="Private g As Cursor = Starter.skmt.ExecQuery(\"sel"; +Debug.ShouldStop(268435456); +_g = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_g = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), b4xmainpage._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select * from ENV_MONTO_LIQ"))));Debug.locals.put("g", _g);Debug.locals.put("g", _g); + BA.debugLineNum = 734;BA.debugLine="p_add_monto.Visible = False"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_p_add_monto" /*RemoteObject*/ ).runMethod(true,"setVisible",b4xmainpage.__c.getField(true,"False")); + BA.debugLineNum = 736;BA.debugLine="End Sub"; +Debug.ShouldStop(-2147483648); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _et_buspc_textchanged(RemoteObject __ref,RemoteObject _old,RemoteObject _new) throws Exception{ +try { + Debug.PushSubsStack("et_buspc_TextChanged (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,751); +if (RapidSub.canDelegate("et_buspc_textchanged")) { return __ref.runUserSub(false, "b4xmainpage","et_buspc_textchanged", __ref, _old, _new);} +int _i = 0; +Debug.locals.put("Old", _old); +Debug.locals.put("New", _new); + BA.debugLineNum = 751;BA.debugLine="Private Sub et_buspc_TextChanged (Old As String, N"; +Debug.ShouldStop(16384); + BA.debugLineNum = 752;BA.debugLine="If New = \"\" Then"; +Debug.ShouldStop(32768); +if (RemoteObject.solveBoolean("=",_new,BA.ObjectToString(""))) { + BA.debugLineNum = 753;BA.debugLine="CLV_PICK_CIEGO.Clear"; +Debug.ShouldStop(65536); +__ref.getField(false,"_clv_pick_ciego" /*RemoteObject*/ ).runVoidMethod ("_clear"); + }else +{ BA.debugLineNum = 754;BA.debugLine="Else If New.Length >= 3 Then"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean("g",_new.runMethod(true,"length"),BA.numberCast(double.class, 3))) { + BA.debugLineNum = 755;BA.debugLine="CLV_PICK_CIEGO.Clear"; +Debug.ShouldStop(262144); +__ref.getField(false,"_clv_pick_ciego" /*RemoteObject*/ ).runVoidMethod ("_clear"); + BA.debugLineNum = 757;BA.debugLine="q_buscar = \"%\" & et_buspc.Text & \"%\""; +Debug.ShouldStop(1048576); +__ref.setField ("_q_buscar" /*RemoteObject*/ ,RemoteObject.concat(RemoteObject.createImmutable("%"),__ref.getField(false,"_et_buspc" /*RemoteObject*/ ).runMethod(true,"getText"),RemoteObject.createImmutable("%"))); + BA.debugLineNum = 758;BA.debugLine="Log(q_buscar)"; +Debug.ShouldStop(2097152); +b4xmainpage.__c.runVoidMethod ("LogImpl","82555911",__ref.getField(true,"_q_buscar" /*RemoteObject*/ ),0); + BA.debugLineNum = 759;BA.debugLine="c=Starter.skmt.ExecQuery2($\"select CAT_GP_NOMBRE"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (b4xmainpage._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)((RemoteObject.createImmutable("select CAT_GP_NOMBRE, CAT_GP_ID , ifnull(PC_CANT,0) AS PC_CANT FROM CAT_GUNAPROD3 INNER JOIN PICK_CIEGO ON PC_ID_PROD = CAT_GP_ID AND PC_NOM_PROD = CAT_GP_NOMBRE WHERE (CAT_GP_NOMBRE LIKE ? OR CAT_GP_ID LIKE ? ) and CAT_GP_CLASIF <> 'PROMOS'"))),(Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {__ref.getField(true,"_q_buscar" /*RemoteObject*/ ),__ref.getField(true,"_q_buscar" /*RemoteObject*/ )})))); + BA.debugLineNum = 760;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 = 763;BA.debugLine="For i = 0 To c.RowCount - 1"; +Debug.ShouldStop(67108864); +{ +final int step9 = 1; +final int limit9 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*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 = 764;BA.debugLine="c.Position = i"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 765;BA.debugLine="CLV_PICK_CIEGO.Add(CreateListItem(c.GetString("; +Debug.ShouldStop(268435456); +__ref.getField(false,"_clv_pick_ciego" /*RemoteObject*/ ).runVoidMethod ("_add",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), __ref.runClassMethod (reparto_izca.keymon.lat.b4xmainpage.class, "_createlistitem" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ID")))),(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_NOMBRE")))),(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_CANT"))))).getObject()),(Object)(RemoteObject.createImmutable((_i)))); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 768;BA.debugLine="c.Close"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 770;BA.debugLine="d=Starter.skmt.ExecQuery2($\"select CAT_GP_NOMBR"; +Debug.ShouldStop(2); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (b4xmainpage._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)((RemoteObject.createImmutable("select CAT_GP_NOMBRE, CAT_GP_ID FROM CAT_GUNAPROD3 WHERE (CAT_GP_NOMBRE LIKE ? OR CAT_GP_ID LIKE ? ) and CAT_GP_CLASIF <> 'PROMOS'AND CAT_GP_ID NOT IN (SELECT PC_ID_PROD FROM PICK_CIEGO)"))),(Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {__ref.getField(true,"_q_buscar" /*RemoteObject*/ ),__ref.getField(true,"_q_buscar" /*RemoteObject*/ )})))); + BA.debugLineNum = 772;BA.debugLine="For i = 0 To d.RowCount - 1"; +Debug.ShouldStop(8); +{ +final int step15 = 1; +final int limit15 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_d" /*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 = 773;BA.debugLine="d.Position = i"; +Debug.ShouldStop(16); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 774;BA.debugLine="CLV_PICK_CIEGO.Add(CreateListItem2(d.GetString"; +Debug.ShouldStop(32); +__ref.getField(false,"_clv_pick_ciego" /*RemoteObject*/ ).runVoidMethod ("_add",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), __ref.runClassMethod (reparto_izca.keymon.lat.b4xmainpage.class, "_createlistitem2" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ID")))),(Object)(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_NOMBRE"))))).getObject()),(Object)(RemoteObject.createImmutable((_i)))); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 777;BA.debugLine="d.Close"; +Debug.ShouldStop(256); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + }else +{ BA.debugLineNum = 779;BA.debugLine="Else 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 = 780;BA.debugLine="d=Starter.skmt.ExecQuery2($\"select CAT_GP_NOMBR"; +Debug.ShouldStop(2048); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (b4xmainpage._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)((RemoteObject.createImmutable("select CAT_GP_NOMBRE, CAT_GP_ID FROM CAT_GUNAPROD3 WHERE (CAT_GP_NOMBRE LIKE ? OR CAT_GP_ID LIKE ? ) and CAT_GP_CLASIF <> 'PROMOS'"))),(Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {__ref.getField(true,"_q_buscar" /*RemoteObject*/ ),__ref.getField(true,"_q_buscar" /*RemoteObject*/ )})))); + BA.debugLineNum = 782;BA.debugLine="For i = 0 To d.RowCount - 1"; +Debug.ShouldStop(8192); +{ +final int step22 = 1; +final int limit22 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"getRowCount"),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 = 783;BA.debugLine="d.Position = i"; +Debug.ShouldStop(16384); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 784;BA.debugLine="CLV_PICK_CIEGO.Add(CreateListItem2(d.GetString"; +Debug.ShouldStop(32768); +__ref.getField(false,"_clv_pick_ciego" /*RemoteObject*/ ).runVoidMethod ("_add",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), __ref.runClassMethod (reparto_izca.keymon.lat.b4xmainpage.class, "_createlistitem2" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ID")))),(Object)(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_NOMBRE"))))).getObject()),(Object)(RemoteObject.createImmutable((_i)))); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 787;BA.debugLine="d.Close"; +Debug.ShouldStop(262144); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + }} +; + }} +; + BA.debugLineNum = 790;BA.debugLine="End Sub"; +Debug.ShouldStop(2097152); +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,543); +if (RapidSub.canDelegate("i_engrane_click")) { return __ref.runUserSub(false, "b4xmainpage","i_engrane_click", __ref);} + BA.debugLineNum = 543;BA.debugLine="Private Sub i_engrane_Click"; +Debug.ShouldStop(1073741824); + BA.debugLineNum = 544;BA.debugLine="p_appUpdate.Width = Root.Width"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_p_appupdate" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth")); + BA.debugLineNum = 545;BA.debugLine="p_appUpdate.Height = Root.Height"; +Debug.ShouldStop(1); +__ref.getField(false,"_p_appupdate" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight")); + BA.debugLineNum = 546;BA.debugLine="Subs.centraPanel(p_serverList, Root.Width)"; +Debug.ShouldStop(2); +b4xmainpage._subs.runVoidMethod ("_centrapanel" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_p_serverlist" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"))); + BA.debugLineNum = 547;BA.debugLine="Subs.centraBoton(b_server, Root.Width)"; +Debug.ShouldStop(4); +b4xmainpage._subs.runVoidMethod ("_centraboton" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_b_server" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"))); + BA.debugLineNum = 548;BA.debugLine="Subs.centraBoton(b_apk, Root.Width)"; +Debug.ShouldStop(8); +b4xmainpage._subs.runVoidMethod ("_centraboton" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_b_apk" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"))); + BA.debugLineNum = 549;BA.debugLine="Subs.centraBoton(b_envioBD, Root.Width)"; +Debug.ShouldStop(16); +b4xmainpage._subs.runVoidMethod ("_centraboton" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_b_enviobd" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"))); + BA.debugLineNum = 550;BA.debugLine="Subs.centraBoton(b_regesar, Root.Width)"; +Debug.ShouldStop(32); +b4xmainpage._subs.runVoidMethod ("_centraboton" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_b_regesar" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"))); + BA.debugLineNum = 551;BA.debugLine="Subs.centraBoton(b_server, p_serverList.Width)"; +Debug.ShouldStop(64); +b4xmainpage._subs.runVoidMethod ("_centraboton" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_b_server" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_p_serverlist" /*RemoteObject*/ ).runMethod(true,"getWidth"))); + BA.debugLineNum = 552;BA.debugLine="lv_server.Clear"; +Debug.ShouldStop(128); +__ref.getField(false,"_lv_server" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 553;BA.debugLine="lv_server.AddSingleLine(\"http://keymon.net:1781\")"; +Debug.ShouldStop(256); +__ref.getField(false,"_lv_server" /*RemoteObject*/ ).runVoidMethod ("AddSingleLine",(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("http://keymon.net:1781")))); + BA.debugLineNum = 554;BA.debugLine="If user.Text = \"KMTS1\" Then lv_server.AddSingleLi"; +Debug.ShouldStop(512); +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 = 556;BA.debugLine="et_server.Text = server"; +Debug.ShouldStop(2048); +__ref.getField(false,"_et_server" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(__ref.getField(true,"_server" /*RemoteObject*/ ))); + BA.debugLineNum = 557;BA.debugLine="Subs.panelVisible(p_appUpdate, 0, 0)"; +Debug.ShouldStop(4096); +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 = 558;BA.debugLine="End Sub"; +Debug.ShouldStop(8192); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _imageview1_longclick(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("ImageView1_LongClick (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,1020); +if (RapidSub.canDelegate("imageview1_longclick")) { return __ref.runUserSub(false, "b4xmainpage","imageview1_longclick", __ref);} + BA.debugLineNum = 1020;BA.debugLine="Private Sub ImageView1_LongClick"; +Debug.ShouldStop(134217728); + BA.debugLineNum = 1022;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) throws Exception{ +try { + Debug.PushSubsStack("Initialize (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,105); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "b4xmainpage","initialize", __ref, _ba);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); + BA.debugLineNum = 105;BA.debugLine="Public Sub Initialize"; +Debug.ShouldStop(256); + 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 _jobdone(RemoteObject __ref,RemoteObject _job) throws Exception{ +try { + Debug.PushSubsStack("JobDone (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,313); +if (RapidSub.canDelegate("jobdone")) { return __ref.runUserSub(false, "b4xmainpage","jobdone", __ref, _job);} +RemoteObject _result = RemoteObject.declareNull("reparto_izca.keymon.lat.dbrequestmanager._dbresult"); +RemoteObject _records = null; +RemoteObject _cat_ve_version = RemoteObject.createImmutable(""); +RemoteObject _id_almacen = RemoteObject.createImmutable(""); +RemoteObject _lat = RemoteObject.createImmutable(0); +RemoteObject _lon = RemoteObject.createImmutable(0); +RemoteObject _name = RemoteObject.createImmutable(""); +RemoteObject _imei_base = RemoteObject.createImmutable(""); +RemoteObject _cat_pa_pass = RemoteObject.createImmutable(""); +RemoteObject _hvd_estatus = RemoteObject.createImmutable(""); +RemoteObject _cuenta = RemoteObject.createImmutable(""); +RemoteObject _c2 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +Debug.locals.put("Job", _job); + BA.debugLineNum = 313;BA.debugLine="Sub JobDone(Job As HttpJob)"; +Debug.ShouldStop(16777216); + BA.debugLineNum = 314;BA.debugLine="If Job.Success = False Then"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_success" /*RemoteObject*/ ),b4xmainpage.__c.getField(true,"False"))) { + BA.debugLineNum = 315;BA.debugLine="ToastMessageShow(\"Error: \" & Job.ErrorMessage, T"; +Debug.ShouldStop(67108864); +b4xmainpage.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("Error: "),_job.getField(true,"_errormessage" /*RemoteObject*/ )))),(Object)(b4xmainpage.__c.getField(true,"True"))); + }else { + BA.debugLineNum = 317;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 318;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +Debug.ShouldStop(536870912); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result); + BA.debugLineNum = 319;BA.debugLine="If result.Tag = \"version\" Then 'query tag"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("version")))) { + BA.debugLineNum = 320;BA.debugLine="For Each records() As Object In result.Rows"; +Debug.ShouldStop(-2147483648); +{ +final RemoteObject group7 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen7 = group7.runMethod(true,"getSize").get() +;int index7 = 0; +; +for (; index7 < groupLen7;index7++){ +_records = (group7.runMethod(false,"Get",index7));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 321;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from VERSIO"; +Debug.ShouldStop(1); +b4xmainpage._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from VERSION"))); + BA.debugLineNum = 322;BA.debugLine="Dim CAT_VE_VERSION As String = records(result"; +Debug.ShouldStop(2); +_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 = 323;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO VERSI"; +Debug.ShouldStop(4); +b4xmainpage._starter._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 = 328;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 329;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +Debug.ShouldStop(256); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result); + BA.debugLineNum = 330;BA.debugLine="If result.Tag = \"agencia\" Then 'query tag"; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("agencia")))) { + BA.debugLineNum = 331;BA.debugLine="For Each records() As Object In result.Rows"; +Debug.ShouldStop(1024); +{ +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 = 333;BA.debugLine="Dim ID_ALMACEN As String = records(result.Col"; +Debug.ShouldStop(4096); +_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 = 338;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 339;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +Debug.ShouldStop(262144); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result); + BA.debugLineNum = 340;BA.debugLine="If result.Tag = \"coords_almacen\" Then 'query ta"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("coords_almacen")))) { + BA.debugLineNum = 341;BA.debugLine="For Each records() As Object In result.Rows"; +Debug.ShouldStop(1048576); +{ +final RemoteObject group25 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen25 = group25.runMethod(true,"getSize").get() +;int index25 = 0; +; +for (; index25 < groupLen25;index25++){ +_records = (group25.runMethod(false,"Get",index25));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 342;BA.debugLine="Log(\"Coordenadas del almacen: \" & records(res"; +Debug.ShouldStop(2097152); +b4xmainpage.__c.runVoidMethod ("LogImpl","81507357",RemoteObject.concat(RemoteObject.createImmutable("Coordenadas del almacen: "),_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_AL_LATITUD")))))),RemoteObject.createImmutable(","),_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_AL_LONGITUD"))))))),0); + BA.debugLineNum = 343;BA.debugLine="Private lat, lon As Double"; +Debug.ShouldStop(4194304); +_lat = RemoteObject.createImmutable(0);Debug.locals.put("lat", _lat); +_lon = RemoteObject.createImmutable(0);Debug.locals.put("lon", _lon); + BA.debugLineNum = 344;BA.debugLine="lat = 0.0"; +Debug.ShouldStop(8388608); +_lat = BA.numberCast(double.class, 0.0);Debug.locals.put("lat", _lat); + BA.debugLineNum = 345;BA.debugLine="lon = 0.0"; +Debug.ShouldStop(16777216); +_lon = BA.numberCast(double.class, 0.0);Debug.locals.put("lon", _lon); + BA.debugLineNum = 346;BA.debugLine="If IsNumber(records(result.Columns.Get(\"CAT_A"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean(".",b4xmainpage.__c.runMethod(true,"IsNumber",(Object)(BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_AL_LATITUD")))))))))) && RemoteObject.solveBoolean(".",b4xmainpage.__c.runMethod(true,"IsNumber",(Object)(BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_AL_LONGITUD"))))))))))) { + BA.debugLineNum = 347;BA.debugLine="lat = records(result.Columns.Get(\"CAT_AL_LAT"; +Debug.ShouldStop(67108864); +_lat = BA.numberCast(double.class, _records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_AL_LATITUD")))))));Debug.locals.put("lat", _lat); + BA.debugLineNum = 348;BA.debugLine="lon = records(result.Columns.Get(\"CAT_AL_LON"; +Debug.ShouldStop(134217728); +_lon = BA.numberCast(double.class, _records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_AL_LONGITUD")))))));Debug.locals.put("lon", _lon); + }; + BA.debugLineNum = 350;BA.debugLine="Starter.cedisLocation.Latitude = lat"; +Debug.ShouldStop(536870912); +b4xmainpage._starter._cedislocation /*RemoteObject*/ .runMethod(true,"setLatitude",_lat); + BA.debugLineNum = 351;BA.debugLine="Starter.cedisLocation.Longitude = lon"; +Debug.ShouldStop(1073741824); +b4xmainpage._starter._cedislocation /*RemoteObject*/ .runMethod(true,"setLongitude",_lon); + BA.debugLineNum = 352;BA.debugLine="Starter.skmt.ExecNonQuery2(\"delete from CAT_V"; +Debug.ShouldStop(-2147483648); +b4xmainpage._starter._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("COORDS_ALMACEN"))}))))); + BA.debugLineNum = 353;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_V"; +Debug.ShouldStop(1); +b4xmainpage._starter._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(("COORDS_ALMACEN")),(RemoteObject.concat(_lon,RemoteObject.createImmutable(","),_lat))}))))); + } +}Debug.locals.put("records", _records); +; + }; + }; + BA.debugLineNum = 359;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 360;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +Debug.ShouldStop(128); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result); + BA.debugLineNum = 361;BA.debugLine="If result.Tag = \"usuario\" Then 'query tag"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("usuario")))) { + BA.debugLineNum = 362;BA.debugLine="For Each records() As Object In result.Rows"; +Debug.ShouldStop(512); +{ +final RemoteObject group44 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen44 = group44.runMethod(true,"getSize").get() +;int index44 = 0; +; +for (; index44 < groupLen44;index44++){ +_records = (group44.runMethod(false,"Get",index44));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 363;BA.debugLine="Dim name As String = records(result.Columns.G"; +Debug.ShouldStop(1024); +_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 = 364;BA.debugLine="Dim ID_ALMACEN As String = records(result.Col"; +Debug.ShouldStop(2048); +_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 = 365;BA.debugLine="Dim IMEI_BASE As String = records(result.Colu"; +Debug.ShouldStop(4096); +_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); + } +}Debug.locals.put("records", _records); +; + BA.debugLineNum = 367;BA.debugLine="paso1 = 1"; +Debug.ShouldStop(16384); +__ref.setField ("_paso1" /*RemoteObject*/ ,BA.NumberToString(1)); + }; + }; + BA.debugLineNum = 371;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 372;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +Debug.ShouldStop(524288); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result); + BA.debugLineNum = 373;BA.debugLine="If result.Tag = \"contrasena\" Then 'query tag"; +Debug.ShouldStop(1048576); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("contrasena")))) { + BA.debugLineNum = 374;BA.debugLine="For Each records() As Object In result.Rows"; +Debug.ShouldStop(2097152); +{ +final RemoteObject group55 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen55 = group55.runMethod(true,"getSize").get() +;int index55 = 0; +; +for (; index55 < groupLen55;index55++){ +_records = (group55.runMethod(false,"Get",index55));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 375;BA.debugLine="Dim CAT_PA_PASS As String = records(result.Co"; +Debug.ShouldStop(4194304); +_cat_pa_pass = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_PA_PASS")))))));Debug.locals.put("CAT_PA_PASS", _cat_pa_pass);Debug.locals.put("CAT_PA_PASS", _cat_pa_pass); + BA.debugLineNum = 376;BA.debugLine="If CAT_PA_PASS = et_codigo.Text Then"; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean("=",_cat_pa_pass,__ref.getField(false,"_et_codigo" /*RemoteObject*/ ).runMethod(true,"getText"))) { + BA.debugLineNum = 377;BA.debugLine="Log(CAT_PA_PASS)"; +Debug.ShouldStop(16777216); +b4xmainpage.__c.runVoidMethod ("LogImpl","81507392",_cat_pa_pass,0); + BA.debugLineNum = 378;BA.debugLine="p_validacion.Visible = False"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_p_validacion" /*RemoteObject*/ ).runMethod(true,"setVisible",b4xmainpage.__c.getField(true,"False")); + BA.debugLineNum = 379;BA.debugLine="et_codigo.Text = \"\""; +Debug.ShouldStop(67108864); +__ref.getField(false,"_et_codigo" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 381;BA.debugLine="Subs.panelVisible(P_CIEGO,0,0)"; +Debug.ShouldStop(268435456); +b4xmainpage._subs.runVoidMethod ("_panelvisible" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_p_ciego" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0))); + }else { + BA.debugLineNum = 384;BA.debugLine="MsgboxAsync(\"Contraseña incorrecta\",\"Atenció"; +Debug.ShouldStop(-2147483648); +b4xmainpage.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Contraseña incorrecta")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + }; + } +}Debug.locals.put("records", _records); +; + }; + }; + BA.debugLineNum = 433;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 434;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +Debug.ShouldStop(131072); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result); + BA.debugLineNum = 435;BA.debugLine="If result.Tag = \"estatus\" Then 'query tag"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("estatus")))) { + BA.debugLineNum = 436;BA.debugLine="For Each records() As Object In result.Rows"; +Debug.ShouldStop(524288); +{ +final RemoteObject group71 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen71 = group71.runMethod(true,"getSize").get() +;int index71 = 0; +; +for (; index71 < groupLen71;index71++){ +_records = (group71.runMethod(false,"Get",index71));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 437;BA.debugLine="Dim hvd_estatus As String = records(result.Co"; +Debug.ShouldStop(1048576); +_hvd_estatus = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HVD_ESTATUS")))))));Debug.locals.put("hvd_estatus", _hvd_estatus);Debug.locals.put("hvd_estatus", _hvd_estatus); + BA.debugLineNum = 438;BA.debugLine="If hvd_estatus = \"Liquidado\" Then"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean("=",_hvd_estatus,BA.ObjectToString("Liquidado"))) { + BA.debugLineNum = 440;BA.debugLine="MsgboxAsync(\"La venta ya fue liquidada\",\"Ate"; +Debug.ShouldStop(8388608); +b4xmainpage.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("La venta ya fue liquidada")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + }else { + BA.debugLineNum = 442;BA.debugLine="enviarmonto"; +Debug.ShouldStop(33554432); +__ref.runClassMethod (reparto_izca.keymon.lat.b4xmainpage.class, "_enviarmonto" /*RemoteObject*/ ); + }; + } +}Debug.locals.put("records", _records); +; + }; + }; + BA.debugLineNum = 448;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 449;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +Debug.ShouldStop(1); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result); + BA.debugLineNum = 450;BA.debugLine="If result.Tag = \"estatus2\" Then 'query tag"; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("estatus2")))) { + BA.debugLineNum = 451;BA.debugLine="For Each records() As Object In result.Rows"; +Debug.ShouldStop(4); +{ +final RemoteObject group84 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen84 = group84.runMethod(true,"getSize").get() +;int index84 = 0; +; +for (; index84 < groupLen84;index84++){ +_records = (group84.runMethod(false,"Get",index84));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 452;BA.debugLine="Dim hvd_estatus As String = records(result.Co"; +Debug.ShouldStop(8); +_hvd_estatus = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HVD_ESTATUS")))))));Debug.locals.put("hvd_estatus", _hvd_estatus);Debug.locals.put("hvd_estatus", _hvd_estatus); + BA.debugLineNum = 453;BA.debugLine="If hvd_estatus = \"Liquidado\" Then"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean("=",_hvd_estatus,BA.ObjectToString("Liquidado"))) { + BA.debugLineNum = 455;BA.debugLine="MsgboxAsync(\"La venta ya fue liquidada\",\"Ate"; +Debug.ShouldStop(64); +b4xmainpage.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("La venta ya fue liquidada")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + }else { + BA.debugLineNum = 457;BA.debugLine="passaquci"; +Debug.ShouldStop(256); +__ref.runClassMethod (reparto_izca.keymon.lat.b4xmainpage.class, "_passaquci" /*RemoteObject*/ ); + }; + } +}Debug.locals.put("records", _records); +; + }; + }; + BA.debugLineNum = 463;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 464;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +Debug.ShouldStop(32768); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result); + BA.debugLineNum = 465;BA.debugLine="If result.Tag = \"SelectMontoLiq\" Then"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("SelectMontoLiq")))) { + BA.debugLineNum = 466;BA.debugLine="For Each records() As Object In result.Rows"; +Debug.ShouldStop(131072); +{ +final RemoteObject group97 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen97 = group97.runMethod(true,"getSize").get() +;int index97 = 0; +; +for (; index97 < groupLen97;index97++){ +_records = (group97.runMethod(false,"Get",index97));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 467;BA.debugLine="Dim CUENTA As String = records(result.Columns"; +Debug.ShouldStop(262144); +_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); + BA.debugLineNum = 469;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(1048576); +b4xmainpage.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 470;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(2097152); +__ref.setField ("_sdate" /*RemoteObject*/ ,b4xmainpage.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(b4xmainpage.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 471;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(4194304); +__ref.setField ("_stime" /*RemoteObject*/ ,b4xmainpage.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(b4xmainpage.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 472;BA.debugLine="Private f As Cursor=Starter.skmt.ExecQuery(\"s"; +Debug.ShouldStop(8388608); +b4xmainpage._f = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +b4xmainpage._f = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), b4xmainpage._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select RUTAA from RUTAA"))));__ref.setField("_f",b4xmainpage._f); + BA.debugLineNum = 473;BA.debugLine="f.Position=0"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 474;BA.debugLine="Private a As Cursor =Starter.skmt.ExecQuery(\""; +Debug.ShouldStop(33554432); +b4xmainpage._a = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +b4xmainpage._a = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), b4xmainpage._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select ID_ALMACEN from CAT_ALMACEN"))));__ref.setField("_a",b4xmainpage._a); + BA.debugLineNum = 475;BA.debugLine="a.Position = 0"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_a" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 477;BA.debugLine="Private c2 As Cursor"; +Debug.ShouldStop(268435456); +_c2 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");Debug.locals.put("c2", _c2); + BA.debugLineNum = 478;BA.debugLine="c2=Starter.skmt.ExecQuery(\"select USUARIO fro"; +Debug.ShouldStop(536870912); +_c2 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), b4xmainpage._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select USUARIO from usuarioa"))));Debug.locals.put("c2", _c2); + BA.debugLineNum = 479;BA.debugLine="c2.Position=0"; +Debug.ShouldStop(1073741824); +_c2.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 480;BA.debugLine="If c2.RowCount > 0 Then c2.GetString(\"USUARIO"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean(">",_c2.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +_c2.runVoidMethod ("GetString",(Object)(RemoteObject.createImmutable("USUARIO")));}; + BA.debugLineNum = 482;BA.debugLine="Log(CUENTA & \"----------------------!!\")"; +Debug.ShouldStop(2); +b4xmainpage.__c.runVoidMethod ("LogImpl","81507497",RemoteObject.concat(_cuenta,RemoteObject.createImmutable("----------------------!!")),0); + BA.debugLineNum = 483;BA.debugLine="If CUENTA = \"0\" Then"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean("=",_cuenta,BA.ObjectToString("0"))) { + }else +{ BA.debugLineNum = 498;BA.debugLine="Else if CUENTA > \"0\" Then"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, _cuenta),BA.numberCast(double.class, "0"))) { + }} +; + BA.debugLineNum = 516;BA.debugLine="f.Close"; +Debug.ShouldStop(8); +__ref.getField(false,"_f" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 517;BA.debugLine="a.Close"; +Debug.ShouldStop(16); +__ref.getField(false,"_a" /*RemoteObject*/ ).runVoidMethod ("Close"); + } +}Debug.locals.put("records", _records); +; + }; + }; + BA.debugLineNum = 522;BA.debugLine="Job.Release"; +Debug.ShouldStop(512); +_job.runClassMethod (reparto_izca.keymon.lat.httpjob.class, "_release" /*RemoteObject*/ ); + }; + BA.debugLineNum = 525;BA.debugLine="If paso1 = 1 Then"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_paso1" /*RemoteObject*/ ),BA.NumberToString(1))) { + BA.debugLineNum = 526;BA.debugLine="If name = \"OKActivo\" Then"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean("=",_name,BA.ObjectToString("OKActivo"))) { + BA.debugLineNum = 527;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from usuarioa"; +Debug.ShouldStop(16384); +b4xmainpage._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from usuarioa"))); + BA.debugLineNum = 528;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO USUARIO"; +Debug.ShouldStop(32768); +b4xmainpage._starter._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 = 529;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_alma"; +Debug.ShouldStop(65536); +b4xmainpage._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from cat_almacen"))); + BA.debugLineNum = 530;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_ALM"; +Debug.ShouldStop(131072); +b4xmainpage._starter._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 = 531;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +Debug.ShouldStop(262144); +b4xmainpage._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Principal"))); + }else +{ BA.debugLineNum = 532;BA.debugLine="Else If name = \"OKExpirado\"& IMEI Then"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean("=",_name,RemoteObject.concat(RemoteObject.createImmutable("OKExpirado"),__ref.getField(true,"_imei" /*RemoteObject*/ )))) { + BA.debugLineNum = 533;BA.debugLine="Msgbox(\"Usuario Expirado llamar al administrado"; +Debug.ShouldStop(1048576); +b4xmainpage.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("Usuario Expirado llamar al administrador")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable(""))),__ref.getField(false, "ba")); + }else +{ BA.debugLineNum = 534;BA.debugLine="Else If name = \"OKCancelado\"& IMEI Then"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean("=",_name,RemoteObject.concat(RemoteObject.createImmutable("OKCancelado"),__ref.getField(true,"_imei" /*RemoteObject*/ )))) { + BA.debugLineNum = 535;BA.debugLine="Msgbox(\"Usuario Cancelado llamar al administrad"; +Debug.ShouldStop(4194304); +b4xmainpage.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("Usuario Cancelado llamar al administrador")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable(""))),__ref.getField(false, "ba")); + }else { + BA.debugLineNum = 537;BA.debugLine="Msgbox(\"Usuario o password No validos\",\"\") 'ign"; +Debug.ShouldStop(16777216); +b4xmainpage.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("Usuario o password No validos")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable(""))),__ref.getField(false, "ba")); + }}} +; + BA.debugLineNum = 539;BA.debugLine="paso1 = 0"; +Debug.ShouldStop(67108864); +__ref.setField ("_paso1" /*RemoteObject*/ ,BA.NumberToString(0)); + }; + BA.debugLineNum = 541;BA.debugLine="End Sub"; +Debug.ShouldStop(268435456); +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,613); +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 = 613;BA.debugLine="Private Sub lv_server_ItemClick (Position As Int,"; +Debug.ShouldStop(16); + BA.debugLineNum = 614;BA.debugLine="server = Value"; +Debug.ShouldStop(32); +__ref.setField ("_server" /*RemoteObject*/ ,BA.ObjectToString(_value)); + BA.debugLineNum = 616;BA.debugLine="et_server.Text = Value"; +Debug.ShouldStop(128); +__ref.getField(false,"_et_server" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(_value)); + BA.debugLineNum = 617;BA.debugLine="reqManager.Initialize(Me, Value)"; +Debug.ShouldStop(256); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref),(Object)(BA.ObjectToString(_value))); + BA.debugLineNum = 618;BA.debugLine="LogColor($\"ReqServer = ${Value}\"$, Colors.red)"; +Debug.ShouldStop(512); +b4xmainpage.__c.runVoidMethod ("LogImpl","81966085",(RemoteObject.concat(RemoteObject.createImmutable("ReqServer = "),b4xmainpage.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_value)),RemoteObject.createImmutable(""))),b4xmainpage.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 619;BA.debugLine="ToastMessageShow(\"Servidor modificado\", False)"; +Debug.ShouldStop(1024); +b4xmainpage.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Servidor modificado")),(Object)(b4xmainpage.__c.getField(true,"False"))); + BA.debugLineNum = 620;BA.debugLine="End Sub"; +Debug.ShouldStop(2048); +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,629); +if (RapidSub.canDelegate("muestraprogreso")) { return __ref.runUserSub(false, "b4xmainpage","muestraprogreso", __ref, _mensaje);} +Debug.locals.put("mensaje", _mensaje); + BA.debugLineNum = 629;BA.debugLine="Sub muestraProgreso(mensaje As String)"; +Debug.ShouldStop(1048576); + BA.debugLineNum = 630;BA.debugLine="ProgressDialogShow(mensaje)"; +Debug.ShouldStop(2097152); +b4xmainpage.__c.runVoidMethod ("ProgressDialogShow",__ref.getField(false, "ba"),(Object)(BA.ObjectToCharSequence(_mensaje))); + 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 _ocultaprogreso(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("ocultaProgreso (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,634); +if (RapidSub.canDelegate("ocultaprogreso")) { return __ref.runUserSub(false, "b4xmainpage","ocultaprogreso", __ref);} + BA.debugLineNum = 634;BA.debugLine="Sub ocultaProgreso"; +Debug.ShouldStop(33554432); + BA.debugLineNum = 635;BA.debugLine="ProgressDialogHide"; +Debug.ShouldStop(67108864); +b4xmainpage.__c.runVoidMethod ("ProgressDialogHide"); + BA.debugLineNum = 636;BA.debugLine="End Sub"; +Debug.ShouldStop(134217728); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _p_add_monto_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("p_add_monto_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,651); +if (RapidSub.canDelegate("p_add_monto_click")) { return __ref.runUserSub(false, "b4xmainpage","p_add_monto_click", __ref);} + BA.debugLineNum = 651;BA.debugLine="Private Sub p_add_monto_Click"; +Debug.ShouldStop(1024); + 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 _p_ciego_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("P_CIEGO_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,933); +if (RapidSub.canDelegate("p_ciego_click")) { return __ref.runUserSub(false, "b4xmainpage","p_ciego_click", __ref);} + BA.debugLineNum = 933;BA.debugLine="Private Sub P_CIEGO_Click"; +Debug.ShouldStop(16); + BA.debugLineNum = 935;BA.debugLine="End Sub"; +Debug.ShouldStop(64); +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,985); +if (RapidSub.canDelegate("p_validacion_click")) { return __ref.runUserSub(false, "b4xmainpage","p_validacion_click", __ref);} + BA.debugLineNum = 985;BA.debugLine="Private Sub p_validacion_Click"; +Debug.ShouldStop(16777216); + BA.debugLineNum = 987;BA.debugLine="End Sub"; +Debug.ShouldStop(67108864); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _passaquci(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("passaquci (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,955); +if (RapidSub.canDelegate("passaquci")) { return __ref.runUserSub(false, "b4xmainpage","passaquci", __ref);} + BA.debugLineNum = 955;BA.debugLine="Sub passaquci"; +Debug.ShouldStop(67108864); + BA.debugLineNum = 956;BA.debugLine="f=Starter.skmt.ExecQuery(\"select CAT_CL_RUTA from"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_f" /*RemoteObject*/ ).setObject (b4xmainpage._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_CL_RUTA from kmt_info")))); + BA.debugLineNum = 957;BA.debugLine="f.Position=0"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 959;BA.debugLine="a=Starter.skmt.ExecQuery(\"select ID_ALMACEN from"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_a" /*RemoteObject*/ ).setObject (b4xmainpage._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select ID_ALMACEN from CAT_ALMACEN")))); + BA.debugLineNum = 960;BA.debugLine="If a.RowCount>0 Then"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_a" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 961;BA.debugLine="a.Position=0"; +Debug.ShouldStop(1); +__ref.getField(false,"_a" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + }; + BA.debugLineNum = 963;BA.debugLine="Log(a.GetString(\"ID_ALMACEN\"))"; +Debug.ShouldStop(4); +b4xmainpage.__c.runVoidMethod ("LogImpl","82883592",__ref.getField(false,"_a" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ID_ALMACEN"))),0); + BA.debugLineNum = 964;BA.debugLine="Log(f.GetString(\"CAT_CL_RUTA\"))"; +Debug.ShouldStop(8); +b4xmainpage.__c.runVoidMethod ("LogImpl","82883593",__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA"))),0); + BA.debugLineNum = 979;BA.debugLine="End Sub"; +Debug.ShouldStop(262144); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _reinicializareqmanager(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("reinicializaReqManager (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,622); +if (RapidSub.canDelegate("reinicializareqmanager")) { return __ref.runUserSub(false, "b4xmainpage","reinicializareqmanager", __ref);} + BA.debugLineNum = 622;BA.debugLine="Sub reinicializaReqManager"; +Debug.ShouldStop(8192); + BA.debugLineNum = 623;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.serve"; +Debug.ShouldStop(16384); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref),(Object)(b4xmainpage._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_server" /*RemoteObject*/ ))); + BA.debugLineNum = 624;BA.debugLine="If logger Then Log(B4XPages.MainPage.server)"; +Debug.ShouldStop(32768); +if (__ref.getField(true,"_logger" /*RemoteObject*/ ).get().booleanValue()) { +b4xmainpage.__c.runVoidMethod ("LogImpl","82031618",b4xmainpage._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_server" /*RemoteObject*/ ),0);}; + BA.debugLineNum = 625;BA.debugLine="LogColor($\"ReqServer = ${B4XPages.MainPage.server"; +Debug.ShouldStop(65536); +b4xmainpage.__c.runVoidMethod ("LogImpl","82031619",(RemoteObject.concat(RemoteObject.createImmutable("ReqServer = "),b4xmainpage.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((b4xmainpage._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_server" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))),b4xmainpage.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 626;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/reparto_izca/keymon/lat/b4xorderedmap.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xorderedmap.java new file mode 100644 index 0000000..ced3b83 --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xorderedmap.java @@ -0,0 +1,33 @@ + +package reparto_izca.keymon.lat; + +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 reparto_izca.keymon.lat.main _main = null; +public static reparto_izca.keymon.lat.appupdater _appupdater = null; +public static reparto_izca.keymon.lat.subs _subs = null; +public static reparto_izca.keymon.lat.foto _foto = null; +public static reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public static reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public static reparto_izca.keymon.lat.starter _starter = null; +public static reparto_izca.keymon.lat.tracker _tracker = null; +public static reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public static reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public static reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public static reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public static reparto_izca.keymon.lat.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/reparto_izca/keymon/lat/b4xorderedmap_subs_0.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xorderedmap_subs_0.java new file mode 100644 index 0000000..a6ed7d7 --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xorderedmap_subs_0.java @@ -0,0 +1,307 @@ +package reparto_izca.keymon.lat; + +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",39,__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",39,__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",39,__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",39,__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",39,__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",39,__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",39,__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",39,__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",39,__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",39,__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",39,__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",39,__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/reparto_izca/keymon/lat/b4xpages.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xpages.java new file mode 100644 index 0000000..4d198bb --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xpages.java @@ -0,0 +1,67 @@ + +package reparto_izca.keymon.lat; + +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("reparto_izca.keymon.lat.b4xpages"); + anywheresoftware.b4a.pc.RapidSub.moduleToObject.put(new B4XClass("b4xpages"), "reparto_izca.keymon.lat.b4xpages"); + RDebug.INSTANCE.eventTargets.put(new DeviceClass("reparto_izca.keymon.lat.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("reparto_izca.keymon.lat.b4xpagesdelegator"); +public static RemoteObject _globalcontext = RemoteObject.declareNull("Object"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static reparto_izca.keymon.lat.main _main = null; +public static reparto_izca.keymon.lat.appupdater _appupdater = null; +public static reparto_izca.keymon.lat.subs _subs = null; +public static reparto_izca.keymon.lat.foto _foto = null; +public static reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public static reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public static reparto_izca.keymon.lat.starter _starter = null; +public static reparto_izca.keymon.lat.tracker _tracker = null; +public static reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public static reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public static reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public static reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; + public Object[] GetGlobals() { + return new Object[] {"appUpdater",Debug.moduleToString(reparto_izca.keymon.lat.appupdater.class),"B4XCollections",Debug.moduleToString(reparto_izca.keymon.lat.b4xcollections.class),"DateUtils",b4xpages.mostCurrent._dateutils,"Delegate",b4xpages._delegate,"foto",Debug.moduleToString(reparto_izca.keymon.lat.foto.class),"GlobalContext",b4xpages._globalcontext,"HttpUtils2Service",Debug.moduleToString(reparto_izca.keymon.lat.httputils2service.class),"Main",Debug.moduleToString(reparto_izca.keymon.lat.main.class),"MAPA_CLIENTE",Debug.moduleToString(reparto_izca.keymon.lat.mapa_cliente.class),"MAPA_RUTAS",Debug.moduleToString(reparto_izca.keymon.lat.mapa_rutas.class),"mPM",b4xpages._mpm,"newinst2",Debug.moduleToString(reparto_izca.keymon.lat.newinst2.class),"Starter",Debug.moduleToString(reparto_izca.keymon.lat.starter.class),"Subs",Debug.moduleToString(reparto_izca.keymon.lat.subs.class),"Tracker",Debug.moduleToString(reparto_izca.keymon.lat.tracker.class),"XUIViewsUtils",Debug.moduleToString(reparto_izca.keymon.lat.xuiviewsutils.class)}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xpages_subs_0.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xpages_subs_0.java new file mode 100644 index 0000000..1e3e31e --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xpages_subs_0.java @@ -0,0 +1,318 @@ +package reparto_izca.keymon.lat; + +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",33,_ba,b4xpages.mostCurrent,91); +if (RapidSub.canDelegate("addmenuitem")) { return reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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",33,_ba,b4xpages.mostCurrent,37); +if (RapidSub.canDelegate("addpage")) { return reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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",33,_ba,b4xpages.mostCurrent,42); +if (RapidSub.canDelegate("addpageandcreate")) { return reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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",33,_ba,b4xpages.mostCurrent,62); +if (RapidSub.canDelegate("closepage")) { return reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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",33,_ba,b4xpages.mostCurrent,14); +if (RapidSub.canDelegate("getmanager")) { return reparto_izca.keymon.lat.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",33,_ba,b4xpages.mostCurrent,79); +if (RapidSub.canDelegate("getnativeparent")) { return reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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",33,_ba,b4xpages.mostCurrent,27); +if (RapidSub.canDelegate("getpage")) { return reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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",33,_ba,b4xpages.mostCurrent,32); +if (RapidSub.canDelegate("getpageid")) { return reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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",33,_ba,b4xpages.mostCurrent,19); +if (RapidSub.canDelegate("internalsetpagesmanager")) { return reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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",33,_ba,b4xpages.mostCurrent,9); +if (RapidSub.canDelegate("isinitialized")) { return reparto_izca.keymon.lat.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("reparto_izca.keymon.lat.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",33,_ba,b4xpages.mostCurrent,73); +if (RapidSub.canDelegate("mainpage")) { return reparto_izca.keymon.lat.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 ("reparto_izca.keymon.lat.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",33,_ba,b4xpages.mostCurrent,68); +if (RapidSub.canDelegate("settitle")) { return reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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",33,_ba,b4xpages.mostCurrent,50); +if (RapidSub.canDelegate("showpage")) { return reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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",33,_ba,b4xpages.mostCurrent,56); +if (RapidSub.canDelegate("showpageandremovepreviouspages")) { return reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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/reparto_izca/keymon/lat/b4xpagesdelegator.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xpagesdelegator.java new file mode 100644 index 0000000..d7ea678 --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xpagesdelegator.java @@ -0,0 +1,31 @@ + +package reparto_izca.keymon.lat; + +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 reparto_izca.keymon.lat.main _main = null; +public static reparto_izca.keymon.lat.appupdater _appupdater = null; +public static reparto_izca.keymon.lat.subs _subs = null; +public static reparto_izca.keymon.lat.foto _foto = null; +public static reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public static reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public static reparto_izca.keymon.lat.starter _starter = null; +public static reparto_izca.keymon.lat.tracker _tracker = null; +public static reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public static reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public static reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public static reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public static reparto_izca.keymon.lat.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/reparto_izca/keymon/lat/b4xpagesdelegator_subs_0.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xpagesdelegator_subs_0.java new file mode 100644 index 0000000..f776d6d --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xpagesdelegator_subs_0.java @@ -0,0 +1,171 @@ +package reparto_izca.keymon.lat; + +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",41,__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 (reparto_izca.keymon.lat.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",41,__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 (reparto_izca.keymon.lat.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",41,__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 (reparto_izca.keymon.lat.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",41,__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 (reparto_izca.keymon.lat.b4xpagesmanager.class, "_raiseevent" /*RemoteObject*/ ,(Object)(b4xpagesdelegator._b4xpages.runMethod(false,"_getmanager" /*RemoteObject*/ ,__ref.runMethod(false,"getActivityBA")).runClassMethod (reparto_izca.keymon.lat.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",41,__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 (reparto_izca.keymon.lat.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",41,__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 (reparto_izca.keymon.lat.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",41,__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",41,__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 (reparto_izca.keymon.lat.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/reparto_izca/keymon/lat/b4xpagesmanager.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xpagesmanager.java new file mode 100644 index 0000000..cee0631 --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xpagesmanager.java @@ -0,0 +1,44 @@ + +package reparto_izca.keymon.lat; + +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("reparto_izca.keymon.lat.b4xorderedmap"); +public static RemoteObject _rootb4xtopage = RemoteObject.declareNull("reparto_izca.keymon.lat.b4xorderedmap"); +public static RemoteObject _context = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +public static RemoteObject _mstackofpageids = RemoteObject.declareNull("reparto_izca.keymon.lat.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("reparto_izca.keymon.lat.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 reparto_izca.keymon.lat.main _main = null; +public static reparto_izca.keymon.lat.appupdater _appupdater = null; +public static reparto_izca.keymon.lat.subs _subs = null; +public static reparto_izca.keymon.lat.foto _foto = null; +public static reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public static reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public static reparto_izca.keymon.lat.starter _starter = null; +public static reparto_izca.keymon.lat.tracker _tracker = null; +public static reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public static reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public static reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public static reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public static reparto_izca.keymon.lat.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/reparto_izca/keymon/lat/b4xpagesmanager_subs_0.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xpagesmanager_subs_0.java new file mode 100644 index 0000000..42bc6b3 --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xpagesmanager_subs_0.java @@ -0,0 +1,1665 @@ +package reparto_izca.keymon.lat; + +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",42,__ref.getField(false, "ba"),__ref,129); +if (RapidSub.canDelegate("activity_actionbarhomeclick")) { return __ref.runUserSub(false, "b4xpagesmanager","activity_actionbarhomeclick", __ref);} +RemoteObject _pi = RemoteObject.declareNull("reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.b4xpagesmanager.class, "_closerequestexists" /*RemoteObject*/ ,(Object)(_pi)).get().booleanValue()) { + BA.debugLineNum = 133;BA.debugLine="HandleCloseRequest(pi)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (reparto_izca.keymon.lat.b4xpagesmanager.class, "_handlecloserequest" /*void*/ ,(Object)(_pi)); + }else { + BA.debugLineNum = 135;BA.debugLine="ClosePage(pi.B4XPage)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (reparto_izca.keymon.lat.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",42,__ref.getField(false, "ba"),__ref,468); +if (RapidSub.canDelegate("activity_keypress")) { return __ref.runUserSub(false, "b4xpagesmanager","activity_keypress", __ref, _keycode);} +RemoteObject _pi = RemoteObject.declareNull("reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.b4xpagesmanager.class, "_closerequestexists" /*RemoteObject*/ ,(Object)(_pi)).get().booleanValue()) { + BA.debugLineNum = 472;BA.debugLine="HandleCloseRequest(pi)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (reparto_izca.keymon.lat.b4xpagesmanager.class, "_handlecloserequest" /*void*/ ,(Object)(_pi)); + }else { + BA.debugLineNum = 474;BA.debugLine="ClosePage(pi.B4XPage)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (reparto_izca.keymon.lat.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",42,__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 (reparto_izca.keymon.lat.b4xpagesmanager.class, "_raiseeventwithresult" /*RemoteObject*/ ,(Object)(__ref.runClassMethod (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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",42,__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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.b4xpagesmanager.class, "_raiseevent" /*RemoteObject*/ ,(Object)(__ref.runClassMethod (reparto_izca.keymon.lat.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",42,__ref.getField(false, "ba"),__ref,481); +if (RapidSub.canDelegate("addmenuitem")) { return __ref.runUserSub(false, "b4xpagesmanager","addmenuitem", __ref, _b4xpage, _title);} +RemoteObject _mi = RemoteObject.declareNull("reparto_izca.keymon.lat.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 ("reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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",42,__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 (reparto_izca.keymon.lat.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","935848195",(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 (reparto_izca.keymon.lat.b4xorderedmap.class, "_put" /*RemoteObject*/ ,(Object)((_idtolower)),(Object)((__ref.runClassMethod (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.b4xorderedmap.class, "_getsize" /*RemoteObject*/ ),BA.numberCast(double.class, 1))) { +__ref.runClassMethod (reparto_izca.keymon.lat.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",42,__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 (reparto_izca.keymon.lat.b4xpagesmanager.class, "_addpage" /*RemoteObject*/ ,(Object)(_id),(Object)(_b4xpage)); + BA.debugLineNum = 153;BA.debugLine="CreatePageIfNeeded(GetPageFromId(Id))"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (reparto_izca.keymon.lat.b4xpagesmanager.class, "_createpageifneeded" /*RemoteObject*/ ,(Object)(__ref.runClassMethod (reparto_izca.keymon.lat.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",42,__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("reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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",42,__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","935717141",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 ("reparto_izca.keymon.lat.b4xorderedmap");__ref.setField("_idtob4xpage",b4xpagesmanager._idtob4xpage); + //BA.debugLineNum = 24;BA.debugLine="Private RootB4XToPage As B4XOrderedMap"; +b4xpagesmanager._rootb4xtopage = RemoteObject.createNew ("reparto_izca.keymon.lat.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 ("reparto_izca.keymon.lat.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 ("reparto_izca.keymon.lat.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",42,__ref.getField(false, "ba"),__ref,209); +if (RapidSub.canDelegate("closepage")) { return __ref.runUserSub(false, "b4xpagesmanager","closepage", __ref, _b4xpage);} +RemoteObject _pi = RemoteObject.declareNull("reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.b4xpagesmanager.class, "_gettoppage" /*RemoteObject*/ ),_pi)) { + BA.debugLineNum = 213;BA.debugLine="Log(\"Only top page can be closed\")"; +Debug.JustUpdateDeviceLine(); +b4xpagesmanager.__c.runVoidMethod ("LogImpl","936110340",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 (reparto_izca.keymon.lat.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","936110343",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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.b4xpagesmanager.class, "_showpageimpl" /*RemoteObject*/ ,(Object)(__ref.runClassMethod (reparto_izca.keymon.lat.b4xpagesmanager.class, "_gettoppage" /*RemoteObject*/ )));}; + BA.debugLineNum = 228;BA.debugLine="TopPageAppear"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (reparto_izca.keymon.lat.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",42,__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 (reparto_izca.keymon.lat.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",42,__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",42,__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("reparto_izca.keymon.lat.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 ("reparto_izca.keymon.lat.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",42,__ref.getField(false, "ba"),__ref,598); +if (RapidSub.canDelegate("createb4xpageparent")) { return __ref.runUserSub(false, "b4xpagesmanager","createb4xpageparent", __ref, _nativetype);} +RemoteObject _t1 = RemoteObject.declareNull("reparto_izca.keymon.lat.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 ("reparto_izca.keymon.lat.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",42,__ref.getField(false, "ba"),__ref,494); +if (RapidSub.canDelegate("createmenu")) { return __ref.runUserSub(false, "b4xpagesmanager","createmenu", __ref, _menu);} +RemoteObject _pi = RemoteObject.declareNull("reparto_izca.keymon.lat.b4xpagesmanager._b4xpageinfo"); +RemoteObject _jo = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +RemoteObject _mi = RemoteObject.declareNull("reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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",42,__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 (reparto_izca.keymon.lat.b4xorderedmap.class, "_getsize" /*RemoteObject*/ ),BA.numberCast(double.class, 1)))); + BA.debugLineNum = 355;BA.debugLine="CreatePageImpl (pi)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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",42,__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 (reparto_izca.keymon.lat.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",42,__ref.getField(false, "ba"),__ref,306); +if (RapidSub.canDelegate("findpifromb4xpage")) { return __ref.runUserSub(false, "b4xpagesmanager","findpifromb4xpage", __ref, _page);} +RemoteObject _pi = RemoteObject.declareNull("reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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",42,__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 (reparto_izca.keymon.lat.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",42,__ref.getField(false, "ba"),__ref,398); +if (RapidSub.canDelegate("getpagefromid")) { return __ref.runUserSub(false, "b4xpagesmanager","getpagefromid", __ref, _id);} +RemoteObject _pi = RemoteObject.declareNull("reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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","936765699",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","936765700",RemoteObject.concat(RemoteObject.createImmutable("Ids: "),__ref.getField(false,"_idtob4xpage" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.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",42,__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 (reparto_izca.keymon.lat.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",42,__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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.b4xorderedmap.class, "_get" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_mstackofpageids" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.b4xset.class, "_aslist" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_mstackofpageids" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.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",42,__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(reparto_izca.keymon.lat.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; +reparto_izca.keymon.lat.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",42,__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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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",42,__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 (reparto_izca.keymon.lat.b4xorderedmap.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 64;BA.debugLine="RootB4XToPage.Initialize"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_rootb4xtopage" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.b4xorderedmap.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 65;BA.debugLine="mStackOfPageIds.Initialize"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mstackofpageids" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.b4xorderedmap.class, "_put" /*RemoteObject*/ ,(Object)(RemoteObject.createImmutable(("~~~~~temp~~~~"))),(Object)((__ref.runClassMethod (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.b4xorderedmap.class, "_remove" /*RemoteObject*/ ,(Object)((RemoteObject.createImmutable("~~~~~temp~~~~")))); + BA.debugLineNum = 84;BA.debugLine="AddPageAndCreate(\"MainPage\", MainPage)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (reparto_izca.keymon.lat.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","935651611",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 (reparto_izca.keymon.lat.b4xpagesmanager.class, "_raiseevent" /*RemoteObject*/ ,(Object)(__ref.runClassMethod (reparto_izca.keymon.lat.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",42,__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","937879811",_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",42,__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 (reparto_izca.keymon.lat.b4xpagesmanager.class, "_raiseevent" /*RemoteObject*/ ,(Object)(__ref.runClassMethod (reparto_izca.keymon.lat.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",42,__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 (reparto_izca.keymon.lat.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","937355534",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",42,__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 (reparto_izca.keymon.lat.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","937421070",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",42,__ref.getField(false, "ba"),__ref,363); +if (RapidSub.canDelegate("settitle")) { return __ref.runUserSub(false, "b4xpagesmanager","settitle", __ref, _b4xpage, _title);} +RemoteObject _pi = RemoteObject.declareNull("reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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",42,__ref.getField(false, "ba"),__ref,156); +if (RapidSub.canDelegate("showpage")) { return __ref.runUserSub(false, "b4xpagesmanager","showpage", __ref, _id);} +RemoteObject _pi = RemoteObject.declareNull("reparto_izca.keymon.lat.b4xpagesmanager._b4xpageinfo"); +RemoteObject _top = RemoteObject.declareNull("reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.b4xpagesmanager.class, "_gettoppage" /*RemoteObject*/ ))) { +if (true) return RemoteObject.createImmutable("");}; + BA.debugLineNum = 159;BA.debugLine="CreatePageIfNeeded(pi)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (reparto_izca.keymon.lat.b4xpagesmanager.class, "_createpageifneeded" /*RemoteObject*/ ,(Object)(_pi)); + BA.debugLineNum = 160;BA.debugLine="TopPageDisappear"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (reparto_izca.keymon.lat.b4xpagesmanager.class, "_toppagedisappear" /*RemoteObject*/ ); + BA.debugLineNum = 162;BA.debugLine="Dim Top As B4XPageInfo = GetTopPage"; +Debug.JustUpdateDeviceLine(); +_top = __ref.runClassMethod (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.b4xset.class, "_remove" /*RemoteObject*/ ,(Object)((_pi.getField(true,"Id" /*RemoteObject*/ )))); + BA.debugLineNum = 175;BA.debugLine="ShowPageImpl(pi)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (reparto_izca.keymon.lat.b4xpagesmanager.class, "_showpageimpl" /*RemoteObject*/ ,(Object)(_pi)); + BA.debugLineNum = 176;BA.debugLine="mStackOfPageIds.Add(pi.Id)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mstackofpageids" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.b4xset.class, "_add" /*RemoteObject*/ ,(Object)((_pi.getField(true,"Id" /*RemoteObject*/ )))); + BA.debugLineNum = 177;BA.debugLine="TopPageAppear"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (reparto_izca.keymon.lat.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",42,__ref.getField(false, "ba"),__ref,180); +if (RapidSub.canDelegate("showpageandremovepreviouspages")) { return __ref.runUserSub(false, "b4xpagesmanager","showpageandremovepreviouspages", __ref, _id);} +RemoteObject _pi = RemoteObject.declareNull("reparto_izca.keymon.lat.b4xpagesmanager._b4xpageinfo"); +RemoteObject _pagetoremove = RemoteObject.declareNull("reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.b4xpagesmanager.class, "_gettoppage" /*RemoteObject*/ ))) { + BA.debugLineNum = 182;BA.debugLine="ShowPage(Id)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.b4xpagesmanager.class, "_createpageifneeded" /*RemoteObject*/ ,(Object)(_pi)); + BA.debugLineNum = 187;BA.debugLine="TopPageDisappear"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.b4xset.class, "_clear" /*RemoteObject*/ ); + BA.debugLineNum = 202;BA.debugLine="mStackOfPageIds.Add(pi.Id)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mstackofpageids" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.b4xpagesmanager.class, "_showpageimpl" /*RemoteObject*/ ,(Object)(_pi)); + }; + BA.debugLineNum = 206;BA.debugLine="TopPageAppear"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (reparto_izca.keymon.lat.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",42,__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",42,__ref.getField(false, "ba"),__ref,288); +if (RapidSub.canDelegate("toppageappear")) { return __ref.runUserSub(false, "b4xpagesmanager","toppageappear", __ref);} +RemoteObject _pi = RemoteObject.declareNull("reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.b4xset.class, "_getsize" /*RemoteObject*/ ),BA.numberCast(double.class, 1))))}))); + }; + BA.debugLineNum = 301;BA.debugLine="UpdateMenuItems"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (reparto_izca.keymon.lat.b4xpagesmanager.class, "_updatemenuitems" /*RemoteObject*/ ); + BA.debugLineNum = 303;BA.debugLine="UpdateStackString"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (reparto_izca.keymon.lat.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",42,__ref.getField(false, "ba"),__ref,277); +if (RapidSub.canDelegate("toppagedisappear")) { return __ref.runUserSub(false, "b4xpagesmanager","toppagedisappear", __ref);} +RemoteObject _pi = RemoteObject.declareNull("reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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",42,__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",42,__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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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/reparto_izca/keymon/lat/b4xplusminus.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xplusminus.java new file mode 100644 index 0000000..a165b8b --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xplusminus.java @@ -0,0 +1,57 @@ + +package reparto_izca.keymon.lat; + +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("reparto_izca.keymon.lat.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 reparto_izca.keymon.lat.main _main = null; +public static reparto_izca.keymon.lat.appupdater _appupdater = null; +public static reparto_izca.keymon.lat.subs _subs = null; +public static reparto_izca.keymon.lat.foto _foto = null; +public static reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public static reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public static reparto_izca.keymon.lat.starter _starter = null; +public static reparto_izca.keymon.lat.tracker _tracker = null; +public static reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public static reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public static reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public static reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public static reparto_izca.keymon.lat.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/reparto_izca/keymon/lat/b4xplusminus_subs_0.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xplusminus_subs_0.java new file mode 100644 index 0000000..b19fe0a --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xplusminus_subs_0.java @@ -0,0 +1,873 @@ +package reparto_izca.keymon.lat; + +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",59,__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 ("reparto_izca.keymon.lat.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",59,__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",59,__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 (reparto_izca.keymon.lat.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",59,__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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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",59,__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 (reparto_izca.keymon.lat.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",59,__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",59,__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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.b4xformatter.class, "_format" /*RemoteObject*/ ,(Object)(_v1)),__ref.getField(false,"_formatter" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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",59,__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 (reparto_izca.keymon.lat.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",59,__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",59,__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 (reparto_izca.keymon.lat.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",59,__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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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",59,__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 (reparto_izca.keymon.lat.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",59,__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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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",59,__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 (reparto_izca.keymon.lat.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",59,__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(reparto_izca.keymon.lat.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; +reparto_izca.keymon.lat.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",59,__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 (reparto_izca.keymon.lat.b4xplusminus.class, "_increment" /*RemoteObject*/ ); +if (true) break; + +case 14: +//C +this.state = 17; +__ref.runClassMethod (reparto_izca.keymon.lat.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",59,__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 (reparto_izca.keymon.lat.b4xplusminus.class, "_increment" /*RemoteObject*/ ); + BA.debugLineNum = 205;BA.debugLine="StartDownLoop(True)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (reparto_izca.keymon.lat.b4xplusminus.class, "_startdownloop" /*void*/ ,(Object)(b4xplusminus.__c.getField(true,"True"))); + }else { + BA.debugLineNum = 207;BA.debugLine="Decrement"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (reparto_izca.keymon.lat.b4xplusminus.class, "_decrement" /*RemoteObject*/ ); + BA.debugLineNum = 208;BA.debugLine="StartDownLoop(False)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (reparto_izca.keymon.lat.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/reparto_izca/keymon/lat/b4xradiobutton.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xradiobutton.java new file mode 100644 index 0000000..47550d6 --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xradiobutton.java @@ -0,0 +1,51 @@ + +package reparto_izca.keymon.lat; + +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 reparto_izca.keymon.lat.main _main = null; +public static reparto_izca.keymon.lat.appupdater _appupdater = null; +public static reparto_izca.keymon.lat.subs _subs = null; +public static reparto_izca.keymon.lat.foto _foto = null; +public static reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public static reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public static reparto_izca.keymon.lat.starter _starter = null; +public static reparto_izca.keymon.lat.tracker _tracker = null; +public static reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public static reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public static reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public static reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public static reparto_izca.keymon.lat.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/reparto_izca/keymon/lat/b4xradiobutton_subs_0.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xradiobutton_subs_0.java new file mode 100644 index 0000000..4f518cc --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xradiobutton_subs_0.java @@ -0,0 +1,797 @@ +package reparto_izca.keymon.lat; + +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",60,__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 (reparto_izca.keymon.lat.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",60,__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 (reparto_izca.keymon.lat.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",60,__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",60,__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",60,__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",60,__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",60,__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",60,__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 (reparto_izca.keymon.lat.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",60,__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 (reparto_izca.keymon.lat.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",60,__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 (reparto_izca.keymon.lat.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",60,__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",60,__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(reparto_izca.keymon.lat.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; +reparto_izca.keymon.lat.b4xradiobutton parent; +RemoteObject _b; +RemoteObject _immediate; +int _i = 0; +RemoteObject _v = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _rb = RemoteObject.declareNull("reparto_izca.keymon.lat.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",60,__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("reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.b4xradiobutton.class, "_draw" /*RemoteObject*/ ,(Object)(BA.numberCast(float.class, 1))); +if (true) break; + +case 20: +//C +this.state = 23; +__ref.runClassMethod (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.b4xradiobutton.class, "_draw" /*RemoteObject*/ ,(Object)(BA.numberCast(float.class, 1))); +if (true) break; + +case 48: +//C +this.state = 51; +__ref.runClassMethod (reparto_izca.keymon.lat.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/reparto_izca/keymon/lat/b4xsearchtemplate.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xsearchtemplate.java new file mode 100644 index 0000000..69e02ad --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xsearchtemplate.java @@ -0,0 +1,49 @@ + +package reparto_izca.keymon.lat; + +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("reparto_izca.keymon.lat.b4xdialog"); +public static RemoteObject _searchfield = RemoteObject.declareNull("reparto_izca.keymon.lat.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 reparto_izca.keymon.lat.main _main = null; +public static reparto_izca.keymon.lat.appupdater _appupdater = null; +public static reparto_izca.keymon.lat.subs _subs = null; +public static reparto_izca.keymon.lat.foto _foto = null; +public static reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public static reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public static reparto_izca.keymon.lat.starter _starter = null; +public static reparto_izca.keymon.lat.tracker _tracker = null; +public static reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public static reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public static reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public static reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public static reparto_izca.keymon.lat.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/reparto_izca/keymon/lat/b4xsearchtemplate_subs_0.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xsearchtemplate_subs_0.java new file mode 100644 index 0000000..78232c2 --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xsearchtemplate_subs_0.java @@ -0,0 +1,748 @@ +package reparto_izca.keymon.lat; + +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",61,__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 ("reparto_izca.keymon.lat.b4xdialog");__ref.setField("_xdialog",b4xsearchtemplate._xdialog); + //BA.debugLineNum = 6;BA.debugLine="Public SearchField As B4XFloatTextField"; +b4xsearchtemplate._searchfield = RemoteObject.createNew ("reparto_izca.keymon.lat.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",61,__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 (reparto_izca.keymon.lat.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",61,__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",61,__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",61,__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 (reparto_izca.keymon.lat.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",61,__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",61,__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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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",61,__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 (reparto_izca.keymon.lat.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",61,__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",61,__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","955836703",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",61,__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(reparto_izca.keymon.lat.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; +reparto_izca.keymon.lat.b4xsearchtemplate parent; +RemoteObject _dialog; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("Show (b4xsearchtemplate) ","b4xsearchtemplate",61,__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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.b4xfloattextfield.class, "_settext" /*RemoteObject*/ ,BA.ObjectToString("")); + BA.debugLineNum = 75;BA.debugLine="SearchField.TextField.RequestFocus"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_searchfield" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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",61,__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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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/reparto_izca/keymon/lat/b4xseekbar.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xseekbar.java new file mode 100644 index 0000000..3c101a3 --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xseekbar.java @@ -0,0 +1,52 @@ + +package reparto_izca.keymon.lat; + +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 reparto_izca.keymon.lat.main _main = null; +public static reparto_izca.keymon.lat.appupdater _appupdater = null; +public static reparto_izca.keymon.lat.subs _subs = null; +public static reparto_izca.keymon.lat.foto _foto = null; +public static reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public static reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public static reparto_izca.keymon.lat.starter _starter = null; +public static reparto_izca.keymon.lat.tracker _tracker = null; +public static reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public static reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public static reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public static reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public static reparto_izca.keymon.lat.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/reparto_izca/keymon/lat/b4xseekbar_subs_0.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xseekbar_subs_0.java new file mode 100644 index 0000000..85372fd --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xseekbar_subs_0.java @@ -0,0 +1,425 @@ +package reparto_izca.keymon.lat; + +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",62,__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 (reparto_izca.keymon.lat.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",62,__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 (reparto_izca.keymon.lat.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",62,__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",62,__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",62,__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",62,__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 (reparto_izca.keymon.lat.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",62,__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",62,__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 (reparto_izca.keymon.lat.b4xseekbar.class, "_raisetouchstateevent" /*RemoteObject*/ ); + BA.debugLineNum = 92;BA.debugLine="SetValueBasedOnTouch(X, Y)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.b4xseekbar.class, "_raisetouchstateevent" /*RemoteObject*/ ); + }}} +; + BA.debugLineNum = 99;BA.debugLine="Update"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (reparto_izca.keymon.lat.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",62,__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/reparto_izca/keymon/lat/b4xset.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xset.java new file mode 100644 index 0000000..9cf2a07 --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xset.java @@ -0,0 +1,32 @@ + +package reparto_izca.keymon.lat; + +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("reparto_izca.keymon.lat.b4xorderedmap"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static reparto_izca.keymon.lat.main _main = null; +public static reparto_izca.keymon.lat.appupdater _appupdater = null; +public static reparto_izca.keymon.lat.subs _subs = null; +public static reparto_izca.keymon.lat.foto _foto = null; +public static reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public static reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public static reparto_izca.keymon.lat.starter _starter = null; +public static reparto_izca.keymon.lat.tracker _tracker = null; +public static reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public static reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public static reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public static reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public static reparto_izca.keymon.lat.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/reparto_izca/keymon/lat/b4xset_subs_0.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xset_subs_0.java new file mode 100644 index 0000000..9cece89 --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xset_subs_0.java @@ -0,0 +1,154 @@ +package reparto_izca.keymon.lat; + +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",40,__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 (reparto_izca.keymon.lat.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",40,__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 (reparto_izca.keymon.lat.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 ("reparto_izca.keymon.lat.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",40,__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 (reparto_izca.keymon.lat.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",40,__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 (reparto_izca.keymon.lat.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",40,__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 (reparto_izca.keymon.lat.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",40,__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 (reparto_izca.keymon.lat.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",40,__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 (reparto_izca.keymon.lat.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/reparto_izca/keymon/lat/b4xsignaturetemplate.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xsignaturetemplate.java new file mode 100644 index 0000000..5c642db --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xsignaturetemplate.java @@ -0,0 +1,43 @@ + +package reparto_izca.keymon.lat; + +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 reparto_izca.keymon.lat.main _main = null; +public static reparto_izca.keymon.lat.appupdater _appupdater = null; +public static reparto_izca.keymon.lat.subs _subs = null; +public static reparto_izca.keymon.lat.foto _foto = null; +public static reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public static reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public static reparto_izca.keymon.lat.starter _starter = null; +public static reparto_izca.keymon.lat.tracker _tracker = null; +public static reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public static reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public static reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public static reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public static reparto_izca.keymon.lat.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/reparto_izca/keymon/lat/b4xsignaturetemplate_subs_0.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xsignaturetemplate_subs_0.java new file mode 100644 index 0000000..1897009 --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xsignaturetemplate_subs_0.java @@ -0,0 +1,237 @@ +package reparto_izca.keymon.lat; + +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",63,__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",63,__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",63,__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",63,__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",63,__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",63,__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",63,__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/reparto_izca/keymon/lat/b4xswitch.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xswitch.java new file mode 100644 index 0000000..3b93847 --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xswitch.java @@ -0,0 +1,49 @@ + +package reparto_izca.keymon.lat; + +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 reparto_izca.keymon.lat.main _main = null; +public static reparto_izca.keymon.lat.appupdater _appupdater = null; +public static reparto_izca.keymon.lat.subs _subs = null; +public static reparto_izca.keymon.lat.foto _foto = null; +public static reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public static reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public static reparto_izca.keymon.lat.starter _starter = null; +public static reparto_izca.keymon.lat.tracker _tracker = null; +public static reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public static reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public static reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public static reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public static reparto_izca.keymon.lat.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/reparto_izca/keymon/lat/b4xswitch_subs_0.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xswitch_subs_0.java new file mode 100644 index 0000000..86d9112 --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xswitch_subs_0.java @@ -0,0 +1,659 @@ +package reparto_izca.keymon.lat; + +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",64,__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",64,__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 (reparto_izca.keymon.lat.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",64,__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",64,__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",64,__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",64,__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",64,__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 (reparto_izca.keymon.lat.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",64,__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 (reparto_izca.keymon.lat.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",64,__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 (reparto_izca.keymon.lat.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",64,__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(reparto_izca.keymon.lat.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; +reparto_izca.keymon.lat.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",64,__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 (reparto_izca.keymon.lat.b4xswitch.class, "_draw" /*RemoteObject*/ ,(Object)(BA.numberCast(float.class, 1))); +if (true) break; + +case 8: +//C +this.state = 11; +__ref.runClassMethod (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.b4xswitch.class, "_draw" /*RemoteObject*/ ,(Object)(BA.numberCast(float.class, 1))); +if (true) break; + +case 36: +//C +this.state = 39; +__ref.runClassMethod (reparto_izca.keymon.lat.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/reparto_izca/keymon/lat/b4xtimedtemplate.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xtimedtemplate.java new file mode 100644 index 0000000..c466eef --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xtimedtemplate.java @@ -0,0 +1,37 @@ + +package reparto_izca.keymon.lat; + +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("reparto_izca.keymon.lat.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 reparto_izca.keymon.lat.main _main = null; +public static reparto_izca.keymon.lat.appupdater _appupdater = null; +public static reparto_izca.keymon.lat.subs _subs = null; +public static reparto_izca.keymon.lat.foto _foto = null; +public static reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public static reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public static reparto_izca.keymon.lat.starter _starter = null; +public static reparto_izca.keymon.lat.tracker _tracker = null; +public static reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public static reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public static reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public static reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public static reparto_izca.keymon.lat.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/reparto_izca/keymon/lat/b4xtimedtemplate_subs_0.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xtimedtemplate_subs_0.java new file mode 100644 index 0000000..264ed59 --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/b4xtimedtemplate_subs_0.java @@ -0,0 +1,224 @@ +package reparto_izca.keymon.lat; + +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 ("reparto_izca.keymon.lat.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",65,__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",65,__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",65,__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",65,__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(reparto_izca.keymon.lat.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; +reparto_izca.keymon.lat.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",65,__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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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/reparto_izca/keymon/lat/batteryutilities.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/batteryutilities.java new file mode 100644 index 0000000..ae1273b --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/batteryutilities.java @@ -0,0 +1,32 @@ + +package reparto_izca.keymon.lat; + +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 reparto_izca.keymon.lat.main _main = null; +public static reparto_izca.keymon.lat.appupdater _appupdater = null; +public static reparto_izca.keymon.lat.subs _subs = null; +public static reparto_izca.keymon.lat.foto _foto = null; +public static reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public static reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public static reparto_izca.keymon.lat.starter _starter = null; +public static reparto_izca.keymon.lat.tracker _tracker = null; +public static reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public static reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public static reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public static reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public static reparto_izca.keymon.lat.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/reparto_izca/keymon/lat/batteryutilities_subs_0.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/batteryutilities_subs_0.java new file mode 100644 index 0000000..626083e --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/batteryutilities_subs_0.java @@ -0,0 +1,89 @@ +package reparto_izca.keymon.lat; + +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 = 4;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _getbatteryinformation(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("getBatteryInformation (batteryutilities) ","batteryutilities",3,__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 = 27;BA.debugLine="End Sub"; +Debug.ShouldStop(67108864); +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",3,__ref.getField(false, "ba"),__ref,29); +if (RapidSub.canDelegate("getbatterytechnolgy")) { return __ref.runUserSub(false, "batteryutilities","getbatterytechnolgy", __ref);} +RemoteObject _batterytech = RemoteObject.createImmutable(""); + BA.debugLineNum = 29;BA.debugLine="Public Sub getBatteryTechnolgy() As String"; +Debug.ShouldStop(268435456); + BA.debugLineNum = 31;BA.debugLine="Dim batterytech As String"; +Debug.ShouldStop(1073741824); +_batterytech = RemoteObject.createImmutable("");Debug.locals.put("batterytech", _batterytech); + BA.debugLineNum = 32;BA.debugLine="batterytech = nativeMe.RunMethod(\"getBatteryTechn"; +Debug.ShouldStop(-2147483648); +_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 = 33;BA.debugLine="Return batterytech"; +Debug.ShouldStop(1); +if (true) return _batterytech; + 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 _initialize(RemoteObject __ref,RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("Initialize (batteryutilities) ","batteryutilities",3,__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/reparto_izca/keymon/lat/c_buscar.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_buscar.java new file mode 100644 index 0000000..168228d --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_buscar.java @@ -0,0 +1,37 @@ + +package reparto_izca.keymon.lat; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class c_buscar { + public static RemoteObject myClass; + public c_buscar() { + } + public static PCBA staticBA = new PCBA(null, c_buscar.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 _listview1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.ListViewWrapper"); +public static RemoteObject _b_noventa = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _p_principal = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static reparto_izca.keymon.lat.main _main = null; +public static reparto_izca.keymon.lat.appupdater _appupdater = null; +public static reparto_izca.keymon.lat.subs _subs = null; +public static reparto_izca.keymon.lat.foto _foto = null; +public static reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public static reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public static reparto_izca.keymon.lat.starter _starter = null; +public static reparto_izca.keymon.lat.tracker _tracker = null; +public static reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public static reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public static reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public static reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public static reparto_izca.keymon.lat.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"),"ListView1",_ref.getField(false, "_listview1"),"p_principal",_ref.getField(false, "_p_principal"),"Root",_ref.getField(false, "_root"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_buscar_subs_0.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_buscar_subs_0.java new file mode 100644 index 0000000..38ef0ab --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_buscar_subs_0.java @@ -0,0 +1,385 @@ +package reparto_izca.keymon.lat; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class c_buscar_subs_0 { + + +public static RemoteObject _b_noventa_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_noventa_Click (c_buscar) ","c_buscar",4,__ref.getField(false, "ba"),__ref,85); +if (RapidSub.canDelegate("b_noventa_click")) { return __ref.runUserSub(false, "c_buscar","b_noventa_click", __ref);} +int _i = 0; +RemoteObject _label1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +RemoteObject _label2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); + BA.debugLineNum = 85;BA.debugLine="Sub b_noventa_Click"; +Debug.ShouldStop(1048576); + BA.debugLineNum = 86;BA.debugLine="c=Starter.skmt.ExecQuery(\"select NV_CLIENTE,NV_MO"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_buscar._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select NV_CLIENTE,NV_MOTIVO,NV_COMM FROM NOVENTA ORDER BY NV_CLIENTE asc")))); + BA.debugLineNum = 87;BA.debugLine="ListView1.Clear"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 89;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 = 90;BA.debugLine="For i=0 To c.RowCount -1"; +Debug.ShouldStop(33554432); +{ +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 = 91;BA.debugLine="c.Position=i"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 92;BA.debugLine="Dim label1 As Label"; +Debug.ShouldStop(134217728); +_label1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label1", _label1); + BA.debugLineNum = 93;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; +Debug.ShouldStop(268435456); +_label1 = __ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"Label");Debug.locals.put("label1", _label1); + BA.debugLineNum = 94;BA.debugLine="label1.TextSize = 10"; +Debug.ShouldStop(536870912); +_label1.runMethod(true,"setTextSize",BA.numberCast(float.class, 10)); + BA.debugLineNum = 95;BA.debugLine="label1.TextColor = Colors.Black"; +Debug.ShouldStop(1073741824); +_label1.runMethod(true,"setTextColor",c_buscar.__c.getField(false,"Colors").getField(true,"Black")); + BA.debugLineNum = 96;BA.debugLine="Dim label2 As Label"; +Debug.ShouldStop(-2147483648); +_label2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label2", _label2); + BA.debugLineNum = 97;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; +Debug.ShouldStop(1); +_label2 = __ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"SecondLabel");Debug.locals.put("label2", _label2); + BA.debugLineNum = 98;BA.debugLine="label2.TextSize = 10"; +Debug.ShouldStop(2); +_label2.runMethod(true,"setTextSize",BA.numberCast(float.class, 10)); + BA.debugLineNum = 99;BA.debugLine="label2.TextColor = Colors.Blue"; +Debug.ShouldStop(4); +_label2.runMethod(true,"setTextColor",c_buscar.__c.getField(false,"Colors").getField(true,"Blue")); + BA.debugLineNum = 100;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"NV_CLIENTE\")"; +Debug.ShouldStop(8); +__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(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); +; + }; + 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 _b4xpage_appear(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_Appear (c_buscar) ","c_buscar",4,__ref.getField(false, "ba"),__ref,41); +if (RapidSub.canDelegate("b4xpage_appear")) { return __ref.runUserSub(false, "c_buscar","b4xpage_appear", __ref);} +int _i = 0; +RemoteObject _label1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +RemoteObject _label2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); + BA.debugLineNum = 41;BA.debugLine="Sub B4XPage_Appear"; +Debug.ShouldStop(256); + BA.debugLineNum = 42;BA.debugLine="p_principal.Width = Root.Width"; +Debug.ShouldStop(512); +__ref.getField(false,"_p_principal" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth")); + BA.debugLineNum = 43;BA.debugLine="p_principal.Height = Root.Height"; +Debug.ShouldStop(1024); +__ref.getField(false,"_p_principal" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight")); + BA.debugLineNum = 44;BA.debugLine="Subs.centraPanel(p_principal, Root.Width)"; +Debug.ShouldStop(2048); +c_buscar._subs.runVoidMethod ("_centrapanel" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_p_principal" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"))); + BA.debugLineNum = 46;BA.debugLine="c=Starter.skmt.ExecQuery(\"select REP_CLIENTE, REP"; +Debug.ShouldStop(8192); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_buscar._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select REP_CLIENTE, REP_PRONOMBRE, REP_CANT, REP_COSTO_TOT FROM REPARTO")))); + BA.debugLineNum = 47;BA.debugLine="ListView1.Clear"; +Debug.ShouldStop(16384); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 49;BA.debugLine="If c.RowCount>0 Then"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 50;BA.debugLine="For i=0 To c.RowCount -1"; +Debug.ShouldStop(131072); +{ +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 = 51;BA.debugLine="c.Position=i"; +Debug.ShouldStop(262144); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 52;BA.debugLine="Dim label1 As Label"; +Debug.ShouldStop(524288); +_label1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label1", _label1); + BA.debugLineNum = 53;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; +Debug.ShouldStop(1048576); +_label1 = __ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"Label");Debug.locals.put("label1", _label1); + BA.debugLineNum = 54;BA.debugLine="label1.TextSize = 10"; +Debug.ShouldStop(2097152); +_label1.runMethod(true,"setTextSize",BA.numberCast(float.class, 10)); + BA.debugLineNum = 55;BA.debugLine="label1.TextColor = Colors.Black"; +Debug.ShouldStop(4194304); +_label1.runMethod(true,"setTextColor",c_buscar.__c.getField(false,"Colors").getField(true,"Black")); + BA.debugLineNum = 56;BA.debugLine="Dim label2 As Label"; +Debug.ShouldStop(8388608); +_label2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label2", _label2); + BA.debugLineNum = 57;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; +Debug.ShouldStop(16777216); +_label2 = __ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"SecondLabel");Debug.locals.put("label2", _label2); + BA.debugLineNum = 58;BA.debugLine="label2.TextSize = 10"; +Debug.ShouldStop(33554432); +_label2.runMethod(true,"setTextSize",BA.numberCast(float.class, 10)); + BA.debugLineNum = 59;BA.debugLine="label2.TextColor = Colors.Blue"; +Debug.ShouldStop(67108864); +_label2.runMethod(true,"setTextColor",c_buscar.__c.getField(false,"Colors").getField(true,"Blue")); + BA.debugLineNum = 60;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"REP_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("REP_CLIENTE"))))),(Object)(BA.ObjectToCharSequence(RemoteObject.concat(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("REP_PRONOMBRE"))),RemoteObject.createImmutable(" Cantidad #"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("REP_CANT"))),RemoteObject.createImmutable(" SubTotal $"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("REP_COSTO_TOT"))))))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 63;BA.debugLine="c.Close"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 64;BA.debugLine="End Sub"; +Debug.ShouldStop(-2147483648); +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_buscar) ","c_buscar",4,__ref.getField(false, "ba"),__ref,70); +if (RapidSub.canDelegate("b4xpage_closerequest")) { return __ref.runUserSub(false, "c_buscar","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(reparto_izca.keymon.lat.c_buscar parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +reparto_izca.keymon.lat.c_buscar parent; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_CloseRequest (c_buscar) ","c_buscar",4,__ref.getField(false, "ba"),__ref,70); +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 = 73;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +Debug.ShouldStop(256); +parent._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Principal"))); + BA.debugLineNum = 76;BA.debugLine="Return False"; +Debug.ShouldStop(2048); +if (true) { +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(parent.__c.getField(true,"False")));return;}; + BA.debugLineNum = 77;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_buscar) ","c_buscar",4,__ref.getField(false, "ba"),__ref,16); +if (RapidSub.canDelegate("b4xpage_created")) { return __ref.runUserSub(false, "c_buscar","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 = 16;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +Debug.ShouldStop(32768); + BA.debugLineNum = 17;BA.debugLine="Root = Root1"; +Debug.ShouldStop(65536); +__ref.setField ("_root" /*RemoteObject*/ ,_root1); + BA.debugLineNum = 19;BA.debugLine="Root.LoadLayout(\"buscar\")"; +Debug.ShouldStop(262144); +__ref.getField(false,"_root" /*RemoteObject*/ ).runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("buscar")),__ref.getField(false, "ba")); + BA.debugLineNum = 20;BA.debugLine="c=Starter.skmt.ExecQuery(\"select REP_CLIENTE, REP"; +Debug.ShouldStop(524288); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_buscar._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select REP_CLIENTE, REP_PRONOMBRE, REP_CANT, REP_COSTO_TOT FROM REPARTO")))); + BA.debugLineNum = 21;BA.debugLine="ListView1.Clear"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 22;BA.debugLine="If c.RowCount>0 Then"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 23;BA.debugLine="For i=0 To c.RowCount -1"; +Debug.ShouldStop(4194304); +{ +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 = 24;BA.debugLine="c.Position=i"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 25;BA.debugLine="Dim label1 As Label"; +Debug.ShouldStop(16777216); +_label1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label1", _label1); + BA.debugLineNum = 26;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; +Debug.ShouldStop(33554432); +_label1 = __ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"Label");Debug.locals.put("label1", _label1); + BA.debugLineNum = 27;BA.debugLine="label1.TextSize = 10"; +Debug.ShouldStop(67108864); +_label1.runMethod(true,"setTextSize",BA.numberCast(float.class, 10)); + BA.debugLineNum = 28;BA.debugLine="label1.TextColor = Colors.Black"; +Debug.ShouldStop(134217728); +_label1.runMethod(true,"setTextColor",c_buscar.__c.getField(false,"Colors").getField(true,"Black")); + BA.debugLineNum = 29;BA.debugLine="Dim label2 As Label"; +Debug.ShouldStop(268435456); +_label2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label2", _label2); + BA.debugLineNum = 30;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; +Debug.ShouldStop(536870912); +_label2 = __ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"SecondLabel");Debug.locals.put("label2", _label2); + BA.debugLineNum = 31;BA.debugLine="label2.TextSize = 10"; +Debug.ShouldStop(1073741824); +_label2.runMethod(true,"setTextSize",BA.numberCast(float.class, 10)); + BA.debugLineNum = 32;BA.debugLine="label2.TextColor = Colors.Blue"; +Debug.ShouldStop(-2147483648); +_label2.runMethod(true,"setTextColor",c_buscar.__c.getField(false,"Colors").getField(true,"Blue")); + BA.debugLineNum = 33;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"REP_CLIENTE\""; +Debug.ShouldStop(1); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("AddTwoLines",(Object)(BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("REP_CLIENTE"))))),(Object)(BA.ObjectToCharSequence(RemoteObject.concat(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("REP_PRONOMBRE"))),RemoteObject.createImmutable(" Cantidad #"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("REP_CANT"))),RemoteObject.createImmutable(" SubTotal $"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("REP_COSTO_TOT"))))))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 36;BA.debugLine="c.Close"; +Debug.ShouldStop(8); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 37;BA.debugLine="End Sub"; +Debug.ShouldStop(16); +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_buscar._root = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_root",c_buscar._root); + //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore"; +c_buscar._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",c_buscar._xui); + //BA.debugLineNum = 4;BA.debugLine="Dim c As Cursor"; +c_buscar._c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_c",c_buscar._c); + //BA.debugLineNum = 5;BA.debugLine="Dim ListView1 As ListView"; +c_buscar._listview1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ListViewWrapper");__ref.setField("_listview1",c_buscar._listview1); + //BA.debugLineNum = 6;BA.debugLine="Dim b_noventa As Button"; +c_buscar._b_noventa = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_noventa",c_buscar._b_noventa); + //BA.debugLineNum = 7;BA.debugLine="Private p_principal As Panel"; +c_buscar._p_principal = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_principal",c_buscar._p_principal); + //BA.debugLineNum = 8;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("Initialize (c_buscar) ","c_buscar",4,__ref.getField(false, "ba"),__ref,11); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "c_buscar","initialize", __ref, _ba);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); + BA.debugLineNum = 11;BA.debugLine="Public Sub Initialize As Object"; +Debug.ShouldStop(1024); + BA.debugLineNum = 12;BA.debugLine="Return Me"; +Debug.ShouldStop(2048); +if (true) return __ref; + BA.debugLineNum = 13;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_buscar) ","c_buscar",4,__ref.getField(false, "ba"),__ref,79); +if (RapidSub.canDelegate("listview1_itemlongclick")) { return __ref.runUserSub(false, "c_buscar","listview1_itemlongclick", __ref, _position, _value);} +Debug.locals.put("Position", _position); +Debug.locals.put("Value", _value); + BA.debugLineNum = 79;BA.debugLine="Sub ListView1_ItemLongClick (Position As Int, Valu"; +Debug.ShouldStop(16384); + BA.debugLineNum = 80;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CUENTAA\")"; +Debug.ShouldStop(32768); +c_buscar._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from CUENTAA"))); + BA.debugLineNum = 81;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CUENTAA V"; +Debug.ShouldStop(65536); +c_buscar._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CUENTAA VALUES (?)")),(Object)(c_buscar.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {_value}))))); + BA.debugLineNum = 82;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +Debug.ShouldStop(131072); +c_buscar._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Cliente"))); + BA.debugLineNum = 83;BA.debugLine="End Sub"; +Debug.ShouldStop(262144); +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_buscar) ","c_buscar",4,__ref.getField(false, "ba"),__ref,66); +if (RapidSub.canDelegate("regresar_click")) { return __ref.runUserSub(false, "c_buscar","regresar_click", __ref);} + BA.debugLineNum = 66;BA.debugLine="Sub Regresar_Click"; +Debug.ShouldStop(2); + BA.debugLineNum = 67;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +Debug.ShouldStop(4); +c_buscar._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Cliente"))); + BA.debugLineNum = 68;BA.debugLine="End Sub"; +Debug.ShouldStop(8); +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/reparto_izca/keymon/lat/c_cheklist.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_cheklist.java new file mode 100644 index 0000000..4f01c8d --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_cheklist.java @@ -0,0 +1,130 @@ + +package reparto_izca.keymon.lat; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class c_cheklist { + public static RemoteObject myClass; + public c_cheklist() { + } + public static PCBA staticBA = new PCBA(null, c_cheklist.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_check = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _sv_datos = RemoteObject.declareNull("anywheresoftware.b4a.objects.ScrollViewWrapper"); +public static RemoteObject _camex = RemoteObject.declareNull("reparto_izca.keymon.lat.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 _nombrefoto1 = RemoteObject.createImmutable(""); +public static RemoteObject _nombrefoto2 = RemoteObject.createImmutable(""); +public static RemoteObject _nombrefoto3 = 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 _imageview1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.ImageViewWrapper"); +public static RemoteObject _imageview3 = RemoteObject.declareNull("anywheresoftware.b4a.objects.ImageViewWrapper"); +public static RemoteObject _imageview2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.ImageViewWrapper"); +public static RemoteObject _imageview4 = RemoteObject.declareNull("anywheresoftware.b4a.objects.ImageViewWrapper"); +public static RemoteObject _b_foto = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _device = RemoteObject.declareNull("anywheresoftware.b4a.phone.Phone"); +public static RemoteObject _mes1 = RemoteObject.declareNull("reparto_izca.keymon.lat.manageexternalstorage"); +public static RemoteObject _x = RemoteObject.createImmutable(0); +public static RemoteObject _rb_docsi1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _rb_docno1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _rb_docsi2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _rb_docno2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _rb_docsi3 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _rb_docno3 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _rb_docsi4 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _rb_docno4 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _rb_docsi5 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _rb_docno5 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _rb_docsi6 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _rb_docno6 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _rb_docsi7 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _rb_docno7 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _rb_docsi8 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _rb_docno8 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _rb_docsi9 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _rb_docno9 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _rb_docsi10 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _rb_docno10 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _rb_docsi11 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _rb_docno11 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _rb_docsi12 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _rb_docno12 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _rb_docsi13 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _rb_docno13 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _rb_docsi14 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _rb_docno14 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _rb_docsi15 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _rb_docno15 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _rb_docsi16 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _rb_docno16 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _rb_docsi17 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _rb_docno17 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _rb_docsi18 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _rb_docno18 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _rb_docsi19 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _rb_docno19 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _et_carroceria = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _et_luces = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _et_placas = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _et_liquidos = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _p1 = RemoteObject.createImmutable(""); +public static RemoteObject _p2 = RemoteObject.createImmutable(""); +public static RemoteObject _p3 = RemoteObject.createImmutable(""); +public static RemoteObject _p4 = RemoteObject.createImmutable(""); +public static RemoteObject _p5 = RemoteObject.createImmutable(""); +public static RemoteObject _p6 = RemoteObject.createImmutable(""); +public static RemoteObject _p7 = RemoteObject.createImmutable(""); +public static RemoteObject _p8 = RemoteObject.createImmutable(""); +public static RemoteObject _p9 = RemoteObject.createImmutable(""); +public static RemoteObject _p10 = RemoteObject.createImmutable(""); +public static RemoteObject _p11 = RemoteObject.createImmutable(""); +public static RemoteObject _p12 = RemoteObject.createImmutable(""); +public static RemoteObject _p13 = RemoteObject.createImmutable(""); +public static RemoteObject _p14 = RemoteObject.createImmutable(""); +public static RemoteObject _p15 = RemoteObject.createImmutable(""); +public static RemoteObject _p16 = RemoteObject.createImmutable(""); +public static RemoteObject _p17 = RemoteObject.createImmutable(""); +public static RemoteObject _p18 = RemoteObject.createImmutable(""); +public static RemoteObject _p19 = RemoteObject.createImmutable(""); +public static RemoteObject _cb_izqdel = RemoteObject.declareNull("reparto_izca.keymon.lat.b4xcombobox"); +public static RemoteObject _cb_derdel = RemoteObject.declareNull("reparto_izca.keymon.lat.b4xcombobox"); +public static RemoteObject _cb_izqatras = RemoteObject.declareNull("reparto_izca.keymon.lat.b4xcombobox"); +public static RemoteObject _cb_deratras = RemoteObject.declareNull("reparto_izca.keymon.lat.b4xcombobox"); +public static RemoteObject _itemselect1 = RemoteObject.createImmutable(""); +public static RemoteObject _itemselect2 = RemoteObject.createImmutable(""); +public static RemoteObject _itemselect3 = RemoteObject.createImmutable(""); +public static RemoteObject _itemselect4 = RemoteObject.createImmutable(""); +public static RemoteObject _foto1 = null; +public static RemoteObject _foto2 = null; +public static RemoteObject _foto3 = null; +public static RemoteObject _foto4 = null; +public static RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _reqmanager = RemoteObject.declareNull("reparto_izca.keymon.lat.dbrequestmanager"); +public static RemoteObject _l_placa = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _et_km = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static reparto_izca.keymon.lat.main _main = null; +public static reparto_izca.keymon.lat.appupdater _appupdater = null; +public static reparto_izca.keymon.lat.subs _subs = null; +public static reparto_izca.keymon.lat.foto _foto = null; +public static reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public static reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public static reparto_izca.keymon.lat.starter _starter = null; +public static reparto_izca.keymon.lat.tracker _tracker = null; +public static reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public static reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public static reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public static reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public static reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"b_foto",_ref.getField(false, "_b_foto"),"c",_ref.getField(false, "_c"),"camEx",_ref.getField(false, "_camex"),"cb_deratras",_ref.getField(false, "_cb_deratras"),"cb_derdel",_ref.getField(false, "_cb_derdel"),"cb_izqatras",_ref.getField(false, "_cb_izqatras"),"cb_izqdel",_ref.getField(false, "_cb_izqdel"),"DateUtils",_ref.getField(false, "_dateutils"),"device",_ref.getField(false, "_device"),"et_carroceria",_ref.getField(false, "_et_carroceria"),"et_km",_ref.getField(false, "_et_km"),"et_liquidos",_ref.getField(false, "_et_liquidos"),"et_luces",_ref.getField(false, "_et_luces"),"et_placas",_ref.getField(false, "_et_placas"),"foto1",_ref.getField(false, "_foto1"),"foto2",_ref.getField(false, "_foto2"),"foto3",_ref.getField(false, "_foto3"),"foto4",_ref.getField(false, "_foto4"),"fototomada",_ref.getField(false, "_fototomada"),"frontCamera",_ref.getField(false, "_frontcamera"),"ImageView1",_ref.getField(false, "_imageview1"),"ImageView2",_ref.getField(false, "_imageview2"),"ImageView3",_ref.getField(false, "_imageview3"),"ImageView4",_ref.getField(false, "_imageview4"),"itemselect1",_ref.getField(false, "_itemselect1"),"itemselect2",_ref.getField(false, "_itemselect2"),"itemselect3",_ref.getField(false, "_itemselect3"),"itemselect4",_ref.getField(false, "_itemselect4"),"l_placa",_ref.getField(false, "_l_placa"),"MES1",_ref.getField(false, "_mes1"),"nombrefoto",_ref.getField(false, "_nombrefoto"),"nombrefoto1",_ref.getField(false, "_nombrefoto1"),"nombrefoto2",_ref.getField(false, "_nombrefoto2"),"nombrefoto3",_ref.getField(false, "_nombrefoto3"),"p_cam",_ref.getField(false, "_p_cam"),"p_camara",_ref.getField(false, "_p_camara"),"p_check",_ref.getField(false, "_p_check"),"p1",_ref.getField(false, "_p1"),"p10",_ref.getField(false, "_p10"),"p11",_ref.getField(false, "_p11"),"p12",_ref.getField(false, "_p12"),"p13",_ref.getField(false, "_p13"),"p14",_ref.getField(false, "_p14"),"p15",_ref.getField(false, "_p15"),"p16",_ref.getField(false, "_p16"),"p17",_ref.getField(false, "_p17"),"p18",_ref.getField(false, "_p18"),"p19",_ref.getField(false, "_p19"),"p2",_ref.getField(false, "_p2"),"p3",_ref.getField(false, "_p3"),"p4",_ref.getField(false, "_p4"),"p5",_ref.getField(false, "_p5"),"p6",_ref.getField(false, "_p6"),"p7",_ref.getField(false, "_p7"),"p8",_ref.getField(false, "_p8"),"p9",_ref.getField(false, "_p9"),"rb_docno1",_ref.getField(false, "_rb_docno1"),"rb_docno10",_ref.getField(false, "_rb_docno10"),"rb_docno11",_ref.getField(false, "_rb_docno11"),"rb_docno12",_ref.getField(false, "_rb_docno12"),"rb_docno13",_ref.getField(false, "_rb_docno13"),"rb_docno14",_ref.getField(false, "_rb_docno14"),"rb_docno15",_ref.getField(false, "_rb_docno15"),"rb_docno16",_ref.getField(false, "_rb_docno16"),"rb_docno17",_ref.getField(false, "_rb_docno17"),"rb_docno18",_ref.getField(false, "_rb_docno18"),"rb_docno19",_ref.getField(false, "_rb_docno19"),"rb_docno2",_ref.getField(false, "_rb_docno2"),"rb_docno3",_ref.getField(false, "_rb_docno3"),"rb_docno4",_ref.getField(false, "_rb_docno4"),"rb_docno5",_ref.getField(false, "_rb_docno5"),"rb_docno6",_ref.getField(false, "_rb_docno6"),"rb_docno7",_ref.getField(false, "_rb_docno7"),"rb_docno8",_ref.getField(false, "_rb_docno8"),"rb_docno9",_ref.getField(false, "_rb_docno9"),"rb_docsi1",_ref.getField(false, "_rb_docsi1"),"rb_docsi10",_ref.getField(false, "_rb_docsi10"),"rb_docsi11",_ref.getField(false, "_rb_docsi11"),"rb_docsi12",_ref.getField(false, "_rb_docsi12"),"rb_docsi13",_ref.getField(false, "_rb_docsi13"),"rb_docsi14",_ref.getField(false, "_rb_docsi14"),"rb_docsi15",_ref.getField(false, "_rb_docsi15"),"rb_docsi16",_ref.getField(false, "_rb_docsi16"),"rb_docsi17",_ref.getField(false, "_rb_docsi17"),"rb_docsi18",_ref.getField(false, "_rb_docsi18"),"rb_docsi19",_ref.getField(false, "_rb_docsi19"),"rb_docsi2",_ref.getField(false, "_rb_docsi2"),"rb_docsi3",_ref.getField(false, "_rb_docsi3"),"rb_docsi4",_ref.getField(false, "_rb_docsi4"),"rb_docsi5",_ref.getField(false, "_rb_docsi5"),"rb_docsi6",_ref.getField(false, "_rb_docsi6"),"rb_docsi7",_ref.getField(false, "_rb_docsi7"),"rb_docsi8",_ref.getField(false, "_rb_docsi8"),"rb_docsi9",_ref.getField(false, "_rb_docsi9"),"reqManager",_ref.getField(false, "_reqmanager"),"Root",_ref.getField(false, "_root"),"sv_datos",_ref.getField(false, "_sv_datos"),"teclado",_ref.getField(false, "_teclado"),"x",_ref.getField(false, "_x"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_cheklist_subs_0.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_cheklist_subs_0.java new file mode 100644 index 0000000..25c5a0a --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_cheklist_subs_0.java @@ -0,0 +1,2603 @@ +package reparto_izca.keymon.lat; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class c_cheklist_subs_0 { + + +public static RemoteObject _b_foto_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_foto_Click (c_cheklist) ","c_cheklist",5,__ref.getField(false, "ba"),__ref,348); +if (RapidSub.canDelegate("b_foto_click")) { return __ref.runUserSub(false, "c_cheklist","b_foto_click", __ref);} + BA.debugLineNum = 348;BA.debugLine="Private Sub b_foto_Click"; +Debug.ShouldStop(134217728); + BA.debugLineNum = 349;BA.debugLine="camEx.TakePicture"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_camex" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.cameraexclass.class, "_takepicture" /*RemoteObject*/ ); + BA.debugLineNum = 350;BA.debugLine="p_camara.Visible = False"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_p_camara" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cheklist.__c.getField(true,"False")); + BA.debugLineNum = 352;BA.debugLine="End Sub"; +Debug.ShouldStop(-2147483648); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_guardar_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_guardar_Click (c_cheklist) ","c_cheklist",5,__ref.getField(false, "ba"),__ref,541); +if (RapidSub.canDelegate("b_guardar_click")) { return __ref.runUserSub(false, "c_cheklist","b_guardar_click", __ref);} +RemoteObject _dirp = RemoteObject.createImmutable(""); +RemoteObject _dir = RemoteObject.createImmutable(""); +RemoteObject _dir2 = RemoteObject.createImmutable(""); +RemoteObject _checkdate = RemoteObject.createImmutable(""); +RemoteObject _checktime = RemoteObject.createImmutable(""); +RemoteObject _rutacheck = RemoteObject.createImmutable(""); + BA.debugLineNum = 541;BA.debugLine="Private Sub b_guardar_Click"; +Debug.ShouldStop(268435456); + BA.debugLineNum = 543;BA.debugLine="Dim Dirp As String = File.DirInternal"; +Debug.ShouldStop(1073741824); +_dirp = c_cheklist.__c.getField(false,"File").runMethod(true,"getDirInternal");Debug.locals.put("Dirp", _dirp);Debug.locals.put("Dirp", _dirp); + BA.debugLineNum = 544;BA.debugLine="Dim Dir As String"; +Debug.ShouldStop(-2147483648); +_dir = RemoteObject.createImmutable("");Debug.locals.put("Dir", _dir); + BA.debugLineNum = 545;BA.debugLine="Dim Dir2 As String"; +Debug.ShouldStop(1); +_dir2 = RemoteObject.createImmutable("");Debug.locals.put("Dir2", _dir2); + BA.debugLineNum = 546;BA.debugLine="Try"; +Debug.ShouldStop(2); +try { BA.debugLineNum = 547;BA.debugLine="File.MakeDir(Dirp,\"/md\")"; +Debug.ShouldStop(4); +c_cheklist.__c.getField(false,"File").runVoidMethod ("MakeDir",(Object)(_dirp),(Object)(RemoteObject.createImmutable("/md"))); + BA.debugLineNum = 548;BA.debugLine="Dir = \"/md\""; +Debug.ShouldStop(8); +_dir = BA.ObjectToString("/md");Debug.locals.put("Dir", _dir); + BA.debugLineNum = 549;BA.debugLine="Log(\"creado en promotoria \" & Dirp & Dir)"; +Debug.ShouldStop(16); +c_cheklist.__c.runVoidMethod ("LogImpl","87405576",RemoteObject.concat(RemoteObject.createImmutable("creado en promotoria "),_dirp,_dir),0); + Debug.CheckDeviceExceptions(); +} + catch (Exception e9) { + BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e9.toString()); BA.debugLineNum = 551;BA.debugLine="Dir = \"\""; +Debug.ShouldStop(64); +_dir = BA.ObjectToString("");Debug.locals.put("Dir", _dir); + BA.debugLineNum = 552;BA.debugLine="Log(\"creado en raiz\")"; +Debug.ShouldStop(128); +c_cheklist.__c.runVoidMethod ("LogImpl","87405579",RemoteObject.createImmutable("creado en raiz"),0); + }; + BA.debugLineNum = 555;BA.debugLine="Try"; +Debug.ShouldStop(1024); +try { BA.debugLineNum = 556;BA.debugLine="File.MakeDir(Dirp & Dir,\"/reduccion\")"; +Debug.ShouldStop(2048); +c_cheklist.__c.getField(false,"File").runVoidMethod ("MakeDir",(Object)(RemoteObject.concat(_dirp,_dir)),(Object)(RemoteObject.createImmutable("/reduccion"))); + BA.debugLineNum = 557;BA.debugLine="Dir2 = \"/reduccion\""; +Debug.ShouldStop(4096); +_dir2 = BA.ObjectToString("/reduccion");Debug.locals.put("Dir2", _dir2); + BA.debugLineNum = 558;BA.debugLine="Log(\"creado en promotoria \" & Dirp & Dir & Dir2)"; +Debug.ShouldStop(8192); +c_cheklist.__c.runVoidMethod ("LogImpl","87405585",RemoteObject.concat(RemoteObject.createImmutable("creado en promotoria "),_dirp,_dir,_dir2),0); + Debug.CheckDeviceExceptions(); +} + catch (Exception e17) { + BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e17.toString()); BA.debugLineNum = 560;BA.debugLine="Dir = \"\""; +Debug.ShouldStop(32768); +_dir = BA.ObjectToString("");Debug.locals.put("Dir", _dir); + BA.debugLineNum = 561;BA.debugLine="Log(\"creado en raiz\")"; +Debug.ShouldStop(65536); +c_cheklist.__c.runVoidMethod ("LogImpl","87405588",RemoteObject.createImmutable("creado en raiz"),0); + }; + BA.debugLineNum = 564;BA.debugLine="DateTime.TimeFormat=\"HH:mm:ss\""; +Debug.ShouldStop(524288); +c_cheklist.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HH:mm:ss")); + BA.debugLineNum = 565;BA.debugLine="DateTime.DateFormat=\"dd/MM/yyyy\""; +Debug.ShouldStop(1048576); +c_cheklist.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("dd/MM/yyyy")); + BA.debugLineNum = 566;BA.debugLine="Dim checkdate As String = DateTime.Date(DateTime."; +Debug.ShouldStop(2097152); +_checkdate = c_cheklist.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(c_cheklist.__c.getField(false,"DateTime").runMethod(true,"getNow")));Debug.locals.put("checkdate", _checkdate);Debug.locals.put("checkdate", _checkdate); + BA.debugLineNum = 567;BA.debugLine="Dim checktime As String = DateTime.Time(DateTime."; +Debug.ShouldStop(4194304); +_checktime = c_cheklist.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(c_cheklist.__c.getField(false,"DateTime").runMethod(true,"getNow")));Debug.locals.put("checktime", _checktime);Debug.locals.put("checktime", _checktime); + BA.debugLineNum = 568;BA.debugLine="If et_km.Text <> \"\" Then"; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean("!",__ref.getField(false,"_et_km" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(""))) { + BA.debugLineNum = 569;BA.debugLine="If rb_docno1.Checked Or rb_docsi1.Checked Then"; +Debug.ShouldStop(16777216); +if (RemoteObject.solveBoolean(".",__ref.getField(false,"_rb_docno1" /*RemoteObject*/ ).runMethod(true,"getChecked")) || RemoteObject.solveBoolean(".",__ref.getField(false,"_rb_docsi1" /*RemoteObject*/ ).runMethod(true,"getChecked"))) { + BA.debugLineNum = 570;BA.debugLine="If rb_docno2.Checked Or rb_docsi2.Checked Then"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean(".",__ref.getField(false,"_rb_docno2" /*RemoteObject*/ ).runMethod(true,"getChecked")) || RemoteObject.solveBoolean(".",__ref.getField(false,"_rb_docsi2" /*RemoteObject*/ ).runMethod(true,"getChecked"))) { + BA.debugLineNum = 571;BA.debugLine="If rb_docno3.Checked Or rb_docsi3.Checked Then"; +Debug.ShouldStop(67108864); +if (RemoteObject.solveBoolean(".",__ref.getField(false,"_rb_docno3" /*RemoteObject*/ ).runMethod(true,"getChecked")) || RemoteObject.solveBoolean(".",__ref.getField(false,"_rb_docsi3" /*RemoteObject*/ ).runMethod(true,"getChecked"))) { + BA.debugLineNum = 572;BA.debugLine="If rb_docno4.Checked Or rb_docsi4.Checked The"; +Debug.ShouldStop(134217728); +if (RemoteObject.solveBoolean(".",__ref.getField(false,"_rb_docno4" /*RemoteObject*/ ).runMethod(true,"getChecked")) || RemoteObject.solveBoolean(".",__ref.getField(false,"_rb_docsi4" /*RemoteObject*/ ).runMethod(true,"getChecked"))) { + BA.debugLineNum = 573;BA.debugLine="If rb_docno5.Checked Or rb_docsi5.Checked Th"; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean(".",__ref.getField(false,"_rb_docno5" /*RemoteObject*/ ).runMethod(true,"getChecked")) || RemoteObject.solveBoolean(".",__ref.getField(false,"_rb_docsi5" /*RemoteObject*/ ).runMethod(true,"getChecked"))) { + BA.debugLineNum = 574;BA.debugLine="If rb_docno6.Checked Or rb_docsi6.Checked T"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean(".",__ref.getField(false,"_rb_docno6" /*RemoteObject*/ ).runMethod(true,"getChecked")) || RemoteObject.solveBoolean(".",__ref.getField(false,"_rb_docsi6" /*RemoteObject*/ ).runMethod(true,"getChecked"))) { + BA.debugLineNum = 575;BA.debugLine="If rb_docno7.Checked Or rb_docsi7.Checked"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean(".",__ref.getField(false,"_rb_docno7" /*RemoteObject*/ ).runMethod(true,"getChecked")) || RemoteObject.solveBoolean(".",__ref.getField(false,"_rb_docsi7" /*RemoteObject*/ ).runMethod(true,"getChecked"))) { + BA.debugLineNum = 576;BA.debugLine="If rb_docno8.Checked Or rb_docsi8.Checked"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean(".",__ref.getField(false,"_rb_docno8" /*RemoteObject*/ ).runMethod(true,"getChecked")) || RemoteObject.solveBoolean(".",__ref.getField(false,"_rb_docsi8" /*RemoteObject*/ ).runMethod(true,"getChecked"))) { + BA.debugLineNum = 577;BA.debugLine="If rb_docno9.Checked Or rb_docsi9.Checke"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean(".",__ref.getField(false,"_rb_docno9" /*RemoteObject*/ ).runMethod(true,"getChecked")) || RemoteObject.solveBoolean(".",__ref.getField(false,"_rb_docsi9" /*RemoteObject*/ ).runMethod(true,"getChecked"))) { + BA.debugLineNum = 578;BA.debugLine="If (rb_docno9.Checked And et_carroceria"; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean(".",BA.ObjectToBoolean((RemoteObject.solveBoolean(".",__ref.getField(false,"_rb_docno9" /*RemoteObject*/ ).runMethod(true,"getChecked")) && RemoteObject.solveBoolean("!",__ref.getField(false,"_et_carroceria" /*RemoteObject*/ ).runMethod(true,"getText"),RemoteObject.createImmutable(""))))) || RemoteObject.solveBoolean(".",BA.ObjectToBoolean((RemoteObject.solveBoolean(".",__ref.getField(false,"_rb_docsi9" /*RemoteObject*/ ).runMethod(true,"getChecked")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_et_carroceria" /*RemoteObject*/ ).runMethod(true,"getText"),RemoteObject.createImmutable("")))))) { + BA.debugLineNum = 579;BA.debugLine="If rb_docno11.Checked Or rb_docsi11.Ch"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean(".",__ref.getField(false,"_rb_docno11" /*RemoteObject*/ ).runMethod(true,"getChecked")) || RemoteObject.solveBoolean(".",__ref.getField(false,"_rb_docsi11" /*RemoteObject*/ ).runMethod(true,"getChecked"))) { + BA.debugLineNum = 580;BA.debugLine="If (rb_docno11.Checked And et_luces.T"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean(".",BA.ObjectToBoolean((RemoteObject.solveBoolean(".",__ref.getField(false,"_rb_docno11" /*RemoteObject*/ ).runMethod(true,"getChecked")) && RemoteObject.solveBoolean("!",__ref.getField(false,"_et_luces" /*RemoteObject*/ ).runMethod(true,"getText"),RemoteObject.createImmutable(""))))) || RemoteObject.solveBoolean(".",BA.ObjectToBoolean((RemoteObject.solveBoolean(".",__ref.getField(false,"_rb_docsi11" /*RemoteObject*/ ).runMethod(true,"getChecked")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_et_luces" /*RemoteObject*/ ).runMethod(true,"getText"),RemoteObject.createImmutable("")))))) { + BA.debugLineNum = 581;BA.debugLine="If rb_docno13.Checked Or rb_docsi13."; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean(".",__ref.getField(false,"_rb_docno13" /*RemoteObject*/ ).runMethod(true,"getChecked")) || RemoteObject.solveBoolean(".",__ref.getField(false,"_rb_docsi13" /*RemoteObject*/ ).runMethod(true,"getChecked"))) { + BA.debugLineNum = 582;BA.debugLine="If (rb_docno12.Checked And et_placa"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean(".",BA.ObjectToBoolean((RemoteObject.solveBoolean(".",__ref.getField(false,"_rb_docno12" /*RemoteObject*/ ).runMethod(true,"getChecked")) && RemoteObject.solveBoolean("!",__ref.getField(false,"_et_placas" /*RemoteObject*/ ).runMethod(true,"getText"),RemoteObject.createImmutable(""))))) || RemoteObject.solveBoolean(".",BA.ObjectToBoolean((RemoteObject.solveBoolean(".",__ref.getField(false,"_rb_docsi13" /*RemoteObject*/ ).runMethod(true,"getChecked")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_et_placas" /*RemoteObject*/ ).runMethod(true,"getText"),RemoteObject.createImmutable("")))))) { + BA.debugLineNum = 583;BA.debugLine="If rb_docno15.Checked Or rb_docsi1"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean(".",__ref.getField(false,"_rb_docno15" /*RemoteObject*/ ).runMethod(true,"getChecked")) || RemoteObject.solveBoolean(".",__ref.getField(false,"_rb_docsi15" /*RemoteObject*/ ).runMethod(true,"getChecked"))) { + BA.debugLineNum = 584;BA.debugLine="If rb_docno16.Checked Or rb_docsi"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean(".",__ref.getField(false,"_rb_docno16" /*RemoteObject*/ ).runMethod(true,"getChecked")) || RemoteObject.solveBoolean(".",__ref.getField(false,"_rb_docsi16" /*RemoteObject*/ ).runMethod(true,"getChecked"))) { + BA.debugLineNum = 585;BA.debugLine="If rb_docno17.Checked Or rb_docs"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean(".",__ref.getField(false,"_rb_docno17" /*RemoteObject*/ ).runMethod(true,"getChecked")) || RemoteObject.solveBoolean(".",__ref.getField(false,"_rb_docsi17" /*RemoteObject*/ ).runMethod(true,"getChecked"))) { + BA.debugLineNum = 586;BA.debugLine="If rb_docno18.Checked Or rb_doc"; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean(".",__ref.getField(false,"_rb_docno18" /*RemoteObject*/ ).runMethod(true,"getChecked")) || RemoteObject.solveBoolean(".",__ref.getField(false,"_rb_docsi18" /*RemoteObject*/ ).runMethod(true,"getChecked"))) { + BA.debugLineNum = 587;BA.debugLine="If rb_docno19.Checked Or rb_do"; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean(".",__ref.getField(false,"_rb_docno19" /*RemoteObject*/ ).runMethod(true,"getChecked")) || RemoteObject.solveBoolean(".",__ref.getField(false,"_rb_docsi19" /*RemoteObject*/ ).runMethod(true,"getChecked"))) { + BA.debugLineNum = 588;BA.debugLine="If et_liquidos.Text <> \"\" An"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean("!",__ref.getField(false,"_et_liquidos" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("")) && RemoteObject.solveBoolean(".",BA.ObjectToBoolean((RemoteObject.solveBoolean(".",__ref.getField(false,"_rb_docno15" /*RemoteObject*/ ).runMethod(true,"getChecked")) || RemoteObject.solveBoolean(".",__ref.getField(false,"_rb_docno16" /*RemoteObject*/ ).runMethod(true,"getChecked")) || RemoteObject.solveBoolean(".",__ref.getField(false,"_rb_docno17" /*RemoteObject*/ ).runMethod(true,"getChecked")) || RemoteObject.solveBoolean(".",__ref.getField(false,"_rb_docno18" /*RemoteObject*/ ).runMethod(true,"getChecked")) || RemoteObject.solveBoolean(".",__ref.getField(false,"_rb_docno19" /*RemoteObject*/ ).runMethod(true,"getChecked"))))) || RemoteObject.solveBoolean("=",__ref.getField(false,"_et_liquidos" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("")) && RemoteObject.solveBoolean(".",BA.ObjectToBoolean((RemoteObject.solveBoolean(".",__ref.getField(false,"_rb_docsi15" /*RemoteObject*/ ).runMethod(true,"getChecked")) && RemoteObject.solveBoolean(".",__ref.getField(false,"_rb_docsi16" /*RemoteObject*/ ).runMethod(true,"getChecked")) && RemoteObject.solveBoolean(".",__ref.getField(false,"_rb_docsi17" /*RemoteObject*/ ).runMethod(true,"getChecked")) && RemoteObject.solveBoolean(".",__ref.getField(false,"_rb_docsi18" /*RemoteObject*/ ).runMethod(true,"getChecked")) && RemoteObject.solveBoolean(".",__ref.getField(false,"_rb_docsi19" /*RemoteObject*/ ).runMethod(true,"getChecked")))))) { + BA.debugLineNum = 589;BA.debugLine="If nombrefoto <> \"0\" And nom"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean("!",__ref.getField(true,"_nombrefoto" /*RemoteObject*/ ),BA.ObjectToString("0")) && RemoteObject.solveBoolean("!",__ref.getField(true,"_nombrefoto1" /*RemoteObject*/ ),BA.ObjectToString("0")) && RemoteObject.solveBoolean("!",__ref.getField(true,"_nombrefoto2" /*RemoteObject*/ ),BA.ObjectToString("0")) && RemoteObject.solveBoolean("!",__ref.getField(true,"_nombrefoto3" /*RemoteObject*/ ),BA.ObjectToString("0"))) { + BA.debugLineNum = 590;BA.debugLine="c = Starter.skmt.ExecQuery("; +Debug.ShouldStop(8192); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_cheklist._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT RUTAA FROM RUTAA")))); + BA.debugLineNum = 591;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(16384); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 592;BA.debugLine="Private rutacheck As String"; +Debug.ShouldStop(32768); +_rutacheck = __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("RUTAA")));Debug.locals.put("rutacheck", _rutacheck);Debug.locals.put("rutacheck", _rutacheck); + BA.debugLineNum = 593;BA.debugLine="c.Close"; +Debug.ShouldStop(65536); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 594;BA.debugLine="Starter.skmt.ExecNonQuery(\""; +Debug.ShouldStop(131072); +c_cheklist._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM CHECKLIST2"))); + BA.debugLineNum = 595;BA.debugLine="Starter.skmt.ExecNonQuery2("; +Debug.ShouldStop(262144); +c_cheklist._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CHECKLIST2(USUARIO, PLACA, FECHA_CAPTURA, TARJETA_CIRCULACION , POLIZA_SEGURO, LICENCIA_CONDUCIR, LIMPIA_EXTERNA, LIMPIA_INTERNA, TRIANGULO, GATO, LLANTA_REFACCION, CARROCERIA, CARROCERIA_COMENTARIOS, LUCES, LUCES_COMENTARIOS, CONDICION_PLACAS, CONDICION_PLACAS_COMENTARIOS, CONDICION_LLANTAS_DEL_DER, CONDICION_LLANTAS_DEL_IZQ, CONDICION_LLANTAS_TRASERA_DER, CONDICION_LLANTAS_TRASERA_IZQ, ACEITE, ANTICONGELANTE, FRENOS, AIRE, FUGAS, COMETARIOS_FUGAS, FOTO1, FOTO12, FOTO3, FOTO4, KILIMETRAJE,RUTA) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)")),(Object)(c_cheklist.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {33},new Object[] {(c_cheklist._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_usuario" /*RemoteObject*/ )),(__ref.getField(false,"_l_placa" /*RemoteObject*/ ).runMethod(true,"getText")),(RemoteObject.concat(_checkdate,RemoteObject.createImmutable(" "),_checktime)),(__ref.getField(true,"_p1" /*RemoteObject*/ )),(__ref.getField(true,"_p2" /*RemoteObject*/ )),(__ref.getField(true,"_p3" /*RemoteObject*/ )),(__ref.getField(true,"_p4" /*RemoteObject*/ )),(__ref.getField(true,"_p5" /*RemoteObject*/ )),(__ref.getField(true,"_p6" /*RemoteObject*/ )),(__ref.getField(true,"_p7" /*RemoteObject*/ )),(__ref.getField(true,"_p8" /*RemoteObject*/ )),(__ref.getField(true,"_p9" /*RemoteObject*/ )),(__ref.getField(false,"_et_carroceria" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_p11" /*RemoteObject*/ )),(__ref.getField(false,"_et_luces" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_p13" /*RemoteObject*/ )),(__ref.getField(false,"_et_placas" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_itemselect1" /*RemoteObject*/ )),(__ref.getField(true,"_itemselect2" /*RemoteObject*/ )),(__ref.getField(true,"_itemselect3" /*RemoteObject*/ )),(__ref.getField(true,"_itemselect4" /*RemoteObject*/ )),(__ref.getField(true,"_p15" /*RemoteObject*/ )),(__ref.getField(true,"_p16" /*RemoteObject*/ )),(__ref.getField(true,"_p17" /*RemoteObject*/ )),(__ref.getField(true,"_p18" /*RemoteObject*/ )),(__ref.getField(true,"_p19" /*RemoteObject*/ )),(__ref.getField(false,"_et_liquidos" /*RemoteObject*/ ).runMethod(true,"getText")),(c_cheklist.__c.getField(false,"File").runMethod(false,"ReadBytes",(Object)(RemoteObject.concat(c_cheklist.__c.getField(false,"File").runMethod(true,"getDirInternal"),_dir,_dir2)),(Object)(__ref.getField(true,"_nombrefoto" /*RemoteObject*/ )))),(c_cheklist.__c.getField(false,"File").runMethod(false,"ReadBytes",(Object)(RemoteObject.concat(c_cheklist.__c.getField(false,"File").runMethod(true,"getDirInternal"),_dir,_dir2)),(Object)(__ref.getField(true,"_nombrefoto1" /*RemoteObject*/ )))),(c_cheklist.__c.getField(false,"File").runMethod(false,"ReadBytes",(Object)(RemoteObject.concat(c_cheklist.__c.getField(false,"File").runMethod(true,"getDirInternal"),_dir,_dir2)),(Object)(__ref.getField(true,"_nombrefoto2" /*RemoteObject*/ )))),(c_cheklist.__c.getField(false,"File").runMethod(false,"ReadBytes",(Object)(RemoteObject.concat(c_cheklist.__c.getField(false,"File").runMethod(true,"getDirInternal"),_dir,_dir2)),(Object)(__ref.getField(true,"_nombrefoto3" /*RemoteObject*/ )))),(__ref.getField(false,"_et_km" /*RemoteObject*/ ).runMethod(true,"getText")),(_rutacheck)}))))); + BA.debugLineNum = 598;BA.debugLine="mandaPendientes"; +Debug.ShouldStop(2097152); +__ref.runClassMethod (reparto_izca.keymon.lat.c_cheklist.class, "_mandapendientes" /*RemoteObject*/ ); + BA.debugLineNum = 600;BA.debugLine="rb_docno1.Checked = False"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_rb_docno1" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cheklist.__c.getField(true,"False")); + BA.debugLineNum = 601;BA.debugLine="rb_docno2.Checked = False"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_rb_docno2" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cheklist.__c.getField(true,"False")); + BA.debugLineNum = 602;BA.debugLine="rb_docno3.Checked = False"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_rb_docno3" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cheklist.__c.getField(true,"False")); + BA.debugLineNum = 603;BA.debugLine="rb_docno4.Checked = False"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_rb_docno4" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cheklist.__c.getField(true,"False")); + BA.debugLineNum = 604;BA.debugLine="rb_docno5.Checked = False"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_rb_docno5" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cheklist.__c.getField(true,"False")); + BA.debugLineNum = 605;BA.debugLine="rb_docno6.Checked = False"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_rb_docno6" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cheklist.__c.getField(true,"False")); + BA.debugLineNum = 606;BA.debugLine="rb_docno7.Checked = False"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_rb_docno7" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cheklist.__c.getField(true,"False")); + BA.debugLineNum = 607;BA.debugLine="rb_docno8.Checked = False"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_rb_docno8" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cheklist.__c.getField(true,"False")); + BA.debugLineNum = 608;BA.debugLine="rb_docno9.Checked = False"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_rb_docno9" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cheklist.__c.getField(true,"False")); + BA.debugLineNum = 609;BA.debugLine="rb_docno11.Checked = False"; +Debug.ShouldStop(1); +__ref.getField(false,"_rb_docno11" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cheklist.__c.getField(true,"False")); + BA.debugLineNum = 610;BA.debugLine="rb_docno13.Checked = False"; +Debug.ShouldStop(2); +__ref.getField(false,"_rb_docno13" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cheklist.__c.getField(true,"False")); + BA.debugLineNum = 611;BA.debugLine="rb_docno15.Checked = False"; +Debug.ShouldStop(4); +__ref.getField(false,"_rb_docno15" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cheklist.__c.getField(true,"False")); + BA.debugLineNum = 612;BA.debugLine="rb_docno16.Checked = False"; +Debug.ShouldStop(8); +__ref.getField(false,"_rb_docno16" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cheklist.__c.getField(true,"False")); + BA.debugLineNum = 613;BA.debugLine="rb_docno17.Checked = False"; +Debug.ShouldStop(16); +__ref.getField(false,"_rb_docno17" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cheklist.__c.getField(true,"False")); + BA.debugLineNum = 614;BA.debugLine="rb_docno18.Checked = False"; +Debug.ShouldStop(32); +__ref.getField(false,"_rb_docno18" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cheklist.__c.getField(true,"False")); + BA.debugLineNum = 615;BA.debugLine="rb_docno19.Checked = False"; +Debug.ShouldStop(64); +__ref.getField(false,"_rb_docno19" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cheklist.__c.getField(true,"False")); + BA.debugLineNum = 617;BA.debugLine="rb_docsi1.Checked = False"; +Debug.ShouldStop(256); +__ref.getField(false,"_rb_docsi1" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cheklist.__c.getField(true,"False")); + BA.debugLineNum = 618;BA.debugLine="rb_docsi2.Checked = False"; +Debug.ShouldStop(512); +__ref.getField(false,"_rb_docsi2" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cheklist.__c.getField(true,"False")); + BA.debugLineNum = 619;BA.debugLine="rb_docsi3.Checked = False"; +Debug.ShouldStop(1024); +__ref.getField(false,"_rb_docsi3" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cheklist.__c.getField(true,"False")); + BA.debugLineNum = 620;BA.debugLine="rb_docsi4.Checked = False"; +Debug.ShouldStop(2048); +__ref.getField(false,"_rb_docsi4" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cheklist.__c.getField(true,"False")); + BA.debugLineNum = 621;BA.debugLine="rb_docsi5.Checked = False"; +Debug.ShouldStop(4096); +__ref.getField(false,"_rb_docsi5" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cheklist.__c.getField(true,"False")); + BA.debugLineNum = 622;BA.debugLine="rb_docsi6.Checked = False"; +Debug.ShouldStop(8192); +__ref.getField(false,"_rb_docsi6" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cheklist.__c.getField(true,"False")); + BA.debugLineNum = 623;BA.debugLine="rb_docsi7.Checked = False"; +Debug.ShouldStop(16384); +__ref.getField(false,"_rb_docsi7" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cheklist.__c.getField(true,"False")); + BA.debugLineNum = 624;BA.debugLine="rb_docsi8.Checked = False"; +Debug.ShouldStop(32768); +__ref.getField(false,"_rb_docsi8" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cheklist.__c.getField(true,"False")); + BA.debugLineNum = 625;BA.debugLine="rb_docsi9.Checked = False"; +Debug.ShouldStop(65536); +__ref.getField(false,"_rb_docsi9" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cheklist.__c.getField(true,"False")); + BA.debugLineNum = 626;BA.debugLine="rb_docsi11.Checked = False"; +Debug.ShouldStop(131072); +__ref.getField(false,"_rb_docsi11" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cheklist.__c.getField(true,"False")); + BA.debugLineNum = 627;BA.debugLine="rb_docsi13.Checked = False"; +Debug.ShouldStop(262144); +__ref.getField(false,"_rb_docsi13" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cheklist.__c.getField(true,"False")); + BA.debugLineNum = 628;BA.debugLine="rb_docsi15.Checked = False"; +Debug.ShouldStop(524288); +__ref.getField(false,"_rb_docsi15" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cheklist.__c.getField(true,"False")); + BA.debugLineNum = 629;BA.debugLine="rb_docsi16.Checked = False"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_rb_docsi16" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cheklist.__c.getField(true,"False")); + BA.debugLineNum = 630;BA.debugLine="rb_docsi17.Checked = False"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_rb_docsi17" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cheklist.__c.getField(true,"False")); + BA.debugLineNum = 631;BA.debugLine="rb_docsi18.Checked = False"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_rb_docsi18" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cheklist.__c.getField(true,"False")); + BA.debugLineNum = 632;BA.debugLine="rb_docsi19.Checked = False"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_rb_docsi19" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cheklist.__c.getField(true,"False")); + BA.debugLineNum = 634;BA.debugLine="cb_deratras.SelectedIndex ="; +Debug.ShouldStop(33554432); +__ref.getField(false,"_cb_deratras" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.b4xcombobox.class, "_setselectedindex" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 635;BA.debugLine="cb_derdel.SelectedIndex = 0"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_cb_derdel" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.b4xcombobox.class, "_setselectedindex" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 636;BA.debugLine="cb_izqatras.SelectedIndex ="; +Debug.ShouldStop(134217728); +__ref.getField(false,"_cb_izqatras" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.b4xcombobox.class, "_setselectedindex" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 637;BA.debugLine="cb_izqdel.SelectedIndex = 0"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_cb_izqdel" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.b4xcombobox.class, "_setselectedindex" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 639;BA.debugLine="et_carroceria.Text = \"\""; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_et_carroceria" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 640;BA.debugLine="et_liquidos.Text = \"\""; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_et_liquidos" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 641;BA.debugLine="et_luces.Text = \"\""; +Debug.ShouldStop(1); +__ref.getField(false,"_et_luces" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 642;BA.debugLine="et_placas.Text = \"\""; +Debug.ShouldStop(2); +__ref.getField(false,"_et_placas" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 644;BA.debugLine="ImageView1.Bitmap = LoadBit"; +Debug.ShouldStop(8); +__ref.getField(false,"_imageview1" /*RemoteObject*/ ).runMethod(false,"setBitmap",(c_cheklist.__c.runMethod(false,"LoadBitmap",(Object)(c_cheklist.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(RemoteObject.createImmutable("frontal1.png"))).getObject())); + BA.debugLineNum = 645;BA.debugLine="ImageView2.Bitmap = LoadBit"; +Debug.ShouldStop(16); +__ref.getField(false,"_imageview2" /*RemoteObject*/ ).runMethod(false,"setBitmap",(c_cheklist.__c.runMethod(false,"LoadBitmap",(Object)(c_cheklist.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(RemoteObject.createImmutable("derecha1.png"))).getObject())); + BA.debugLineNum = 646;BA.debugLine="ImageView3.Bitmap = LoadBit"; +Debug.ShouldStop(32); +__ref.getField(false,"_imageview3" /*RemoteObject*/ ).runMethod(false,"setBitmap",(c_cheklist.__c.runMethod(false,"LoadBitmap",(Object)(c_cheklist.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(RemoteObject.createImmutable("atras1.png"))).getObject())); + BA.debugLineNum = 647;BA.debugLine="ImageView4.Bitmap = LoadBit"; +Debug.ShouldStop(64); +__ref.getField(false,"_imageview4" /*RemoteObject*/ ).runMethod(false,"setBitmap",(c_cheklist.__c.runMethod(false,"LoadBitmap",(Object)(c_cheklist.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(RemoteObject.createImmutable("izquierda1.png"))).getObject())); + BA.debugLineNum = 649;BA.debugLine="nombrefoto = \"0\""; +Debug.ShouldStop(256); +__ref.setField ("_nombrefoto" /*RemoteObject*/ ,BA.ObjectToString("0")); + BA.debugLineNum = 650;BA.debugLine="nombrefoto1 = \"0\""; +Debug.ShouldStop(512); +__ref.setField ("_nombrefoto1" /*RemoteObject*/ ,BA.ObjectToString("0")); + BA.debugLineNum = 651;BA.debugLine="nombrefoto2 = \"0\""; +Debug.ShouldStop(1024); +__ref.setField ("_nombrefoto2" /*RemoteObject*/ ,BA.ObjectToString("0")); + BA.debugLineNum = 652;BA.debugLine="nombrefoto3 = \"0\""; +Debug.ShouldStop(2048); +__ref.setField ("_nombrefoto3" /*RemoteObject*/ ,BA.ObjectToString("0")); + BA.debugLineNum = 654;BA.debugLine="B4XPages.ShowPage(\"Principa"; +Debug.ShouldStop(8192); +c_cheklist._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Principal"))); + }else { + BA.debugLineNum = 656;BA.debugLine="MsgboxAsync(\"Favor de tomar"; +Debug.ShouldStop(32768); +c_cheklist.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Favor de tomar todas las fotos")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + }; + }else { + BA.debugLineNum = 659;BA.debugLine="MsgboxAsync(\"Especifica Fuga"; +Debug.ShouldStop(262144); +c_cheklist.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Especifica Fugas o detallaes en los liquidos")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + }; + }else { + BA.debugLineNum = 662;BA.debugLine="MsgboxAsync(\"Seleeciona una o"; +Debug.ShouldStop(2097152); +c_cheklist.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Seleeciona una opción en Niveles de Liquidos y aire de Fugas")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + }; + }else { + BA.debugLineNum = 665;BA.debugLine="MsgboxAsync(\"Seleeciona una op"; +Debug.ShouldStop(16777216); +c_cheklist.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Seleeciona una opción en Niveles de Liquidos y aire de Aire")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + }; + }else { + BA.debugLineNum = 668;BA.debugLine="MsgboxAsync(\"Seleeciona una opc"; +Debug.ShouldStop(134217728); +c_cheklist.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Seleeciona una opción en Niveles de Liquidos y aire de Frenos")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + }; + }else { + BA.debugLineNum = 671;BA.debugLine="MsgboxAsync(\"Seleeciona una opci"; +Debug.ShouldStop(1073741824); +c_cheklist.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Seleeciona una opción en Niveles de Liquidos y aire de Anticongelante")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + }; + }else { + BA.debugLineNum = 674;BA.debugLine="MsgboxAsync(\"Seleeciona una opció"; +Debug.ShouldStop(2); +c_cheklist.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Seleeciona una opción en Niveles de Liquidos y aire de Aceite")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + }; + }else { + BA.debugLineNum = 677;BA.debugLine="MsgboxAsync(\"Especifica daños en l"; +Debug.ShouldStop(16); +c_cheklist.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Especifica daños en las condiciones de placas")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + }; + }else { + BA.debugLineNum = 680;BA.debugLine="MsgboxAsync(\"Seleeciona una opción"; +Debug.ShouldStop(128); +c_cheklist.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Seleeciona una opción en Conciciones de placas de Correcto")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + }; + }else { + BA.debugLineNum = 683;BA.debugLine="MsgboxAsync(\"Especifica daños en las"; +Debug.ShouldStop(1024); +c_cheklist.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Especifica daños en las luces")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + }; + }else { + BA.debugLineNum = 686;BA.debugLine="MsgboxAsync(\"Seleeciona una opción en"; +Debug.ShouldStop(8192); +c_cheklist.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Seleeciona una opción en Funcionamiento de luces de Correcto")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + }; + }else { + BA.debugLineNum = 689;BA.debugLine="MsgboxAsync(\"Especifica daños en la ca"; +Debug.ShouldStop(65536); +c_cheklist.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Especifica daños en la carrocería")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + }; + }else { + BA.debugLineNum = 692;BA.debugLine="MsgboxAsync(\"Seleeciona una opción en C"; +Debug.ShouldStop(524288); +c_cheklist.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Seleeciona una opción en Carrocería de Buen estado")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + }; + }else { + BA.debugLineNum = 695;BA.debugLine="MsgboxAsync(\"Seleeciona una opción en Se"; +Debug.ShouldStop(4194304); +c_cheklist.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Seleeciona una opción en Seguridad y refación de Llanta de refacción")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + }; + }else { + BA.debugLineNum = 698;BA.debugLine="MsgboxAsync(\"Seleeciona una opción en Seg"; +Debug.ShouldStop(33554432); +c_cheklist.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Seleeciona una opción en Seguridad y refación de gato")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + }; + }else { + BA.debugLineNum = 701;BA.debugLine="MsgboxAsync(\"Seleeciona una opción en Segu"; +Debug.ShouldStop(268435456); +c_cheklist.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Seleeciona una opción en Seguridad y refación de Triagulo reflectante")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + }; + }else { + BA.debugLineNum = 704;BA.debugLine="MsgboxAsync(\"Seleeciona una opción en Limpi"; +Debug.ShouldStop(-2147483648); +c_cheklist.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Seleeciona una opción en Limpieza unidad interna")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + }; + }else { + BA.debugLineNum = 707;BA.debugLine="MsgboxAsync(\"Seleeciona una opción en Limpie"; +Debug.ShouldStop(4); +c_cheklist.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Seleeciona una opción en Limpieza unidad externa")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + }; + }else { + BA.debugLineNum = 710;BA.debugLine="MsgboxAsync(\"Seleeciona una opción en Documen"; +Debug.ShouldStop(32); +c_cheklist.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Seleeciona una opción en Documentación viegnte de Licencia de conducir")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + }; + }else { + BA.debugLineNum = 713;BA.debugLine="MsgboxAsync(\"Seleeciona una opción en Document"; +Debug.ShouldStop(256); +c_cheklist.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Seleeciona una opción en Documentación viegnte de Póliza de seguro")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + }; + }else { + BA.debugLineNum = 716;BA.debugLine="MsgboxAsync(\"Seleeciona una opción en Documenta"; +Debug.ShouldStop(2048); +c_cheklist.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Seleeciona una opción en Documentación viegnte de tarjeta de circulación")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + }; + }else { + BA.debugLineNum = 719;BA.debugLine="MsgboxAsync(\"Captura el kilometraje inicial.\",\"A"; +Debug.ShouldStop(16384); +c_cheklist.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Captura el kilometraje inicial.")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + }; + BA.debugLineNum = 722;BA.debugLine="End Sub"; +Debug.ShouldStop(131072); +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_cheklist) ","c_cheklist",5,__ref.getField(false, "ba"),__ref,142); +if (RapidSub.canDelegate("b4xpage_appear")) { __ref.runUserSub(false, "c_cheklist","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(reparto_izca.keymon.lat.c_cheklist parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +reparto_izca.keymon.lat.c_cheklist parent; +RemoteObject _permission = RemoteObject.createImmutable(""); +RemoteObject _result = RemoteObject.createImmutable(false); +RemoteObject _sdkversion = RemoteObject.createImmutable(0); +RemoteObject _rp = RemoteObject.declareNull("anywheresoftware.b4a.objects.RuntimePermissions"); +RemoteObject _res = RemoteObject.createImmutable(0); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_Appear (c_cheklist) ","c_cheklist",5,__ref.getField(false, "ba"),__ref,142); +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 = 143;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT PLACA FROM HIS"; +Debug.ShouldStop(16384); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT PLACA FROM HIST_VENTAS")))); + BA.debugLineNum = 144;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(32768); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 145;BA.debugLine="Log(c.GetString(\"PLACA\"))"; +Debug.ShouldStop(65536); +parent.__c.runVoidMethod ("LogImpl","84259843",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PLACA"))),0); + BA.debugLineNum = 146;BA.debugLine="l_placa.Text = c.GetString(\"PLACA\")"; +Debug.ShouldStop(131072); +__ref.getField(false,"_l_placa" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PLACA"))))); + BA.debugLineNum = 147;BA.debugLine="c.Close"; +Debug.ShouldStop(262144); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 148;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_"; +Debug.ShouldStop(524288); +parent._starter._rp /*RemoteObject*/ .runVoidMethod ("CheckAndRequest",__ref.getField(false, "ba"),(Object)(parent._starter._rp /*RemoteObject*/ .getField(true,"PERMISSION_CAMERA"))); + BA.debugLineNum = 149;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As"; +Debug.ShouldStop(1048576); +parent.__c.runVoidMethod ("WaitFor","b4xpage_permissionresult", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cheklist", "b4xpage_appear"), null); +this.state = 17; +return; +case 17: +//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 = 150;BA.debugLine="If Result Then"; +Debug.ShouldStop(2097152); +if (true) break; + +case 1: +//if +this.state = 6; +if (_result.get().booleanValue()) { +this.state = 3; +}else { +this.state = 5; +}if (true) break; + +case 3: +//C +this.state = 6; + BA.debugLineNum = 153;BA.debugLine="Log(\"inicializamos Camara\")"; +Debug.ShouldStop(16777216); +parent.__c.runVoidMethod ("LogImpl","84259851",RemoteObject.createImmutable("inicializamos Camara"),0); + if (true) break; + +case 5: +//C +this.state = 6; + BA.debugLineNum = 155;BA.debugLine="ToastMessageShow(\"No permission Camara!!!\", True"; +Debug.ShouldStop(67108864); +parent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("No permission Camara!!!")),(Object)(parent.__c.getField(true,"True"))); + if (true) break; + +case 6: +//C +this.state = 7; +; + BA.debugLineNum = 157;BA.debugLine="MES1.Initialize(Me, \"MES1\")"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_mes1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.manageexternalstorage.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref),(Object)(RemoteObject.createImmutable("MES1"))); + BA.debugLineNum = 160;BA.debugLine="Dim SdkVersion As Int = device.SdkVersion"; +Debug.ShouldStop(-2147483648); +_sdkversion = __ref.getField(false,"_device" /*RemoteObject*/ ).runMethod(true,"getSdkVersion");Debug.locals.put("SdkVersion", _sdkversion);Debug.locals.put("SdkVersion", _sdkversion); + BA.debugLineNum = 163;BA.debugLine="If SdkVersion < 30 Then"; +Debug.ShouldStop(4); +if (true) break; + +case 7: +//if +this.state = 16; +if (RemoteObject.solveBoolean("<",_sdkversion,BA.numberCast(double.class, 30))) { +this.state = 9; +}else { +this.state = 11; +}if (true) break; + +case 9: +//C +this.state = 16; + BA.debugLineNum = 164;BA.debugLine="Log(\"SDK = \" & SdkVersion & \" : Requesting WRITE"; +Debug.ShouldStop(8); +parent.__c.runVoidMethod ("LogImpl","84259862",RemoteObject.concat(RemoteObject.createImmutable("SDK = "),_sdkversion,RemoteObject.createImmutable(" : Requesting WRITE_EXTERNAL_STORAGE permission")),0); + BA.debugLineNum = 165;BA.debugLine="Dim rp As RuntimePermissions"; +Debug.ShouldStop(16); +_rp = RemoteObject.createNew ("anywheresoftware.b4a.objects.RuntimePermissions");Debug.locals.put("rp", _rp); + BA.debugLineNum = 166;BA.debugLine="rp.CheckAndRequest(rp.PERMISSION_WRITE_EXTERNAL_"; +Debug.ShouldStop(32); +_rp.runVoidMethod ("CheckAndRequest",__ref.getField(false, "ba"),(Object)(_rp.getField(true,"PERMISSION_WRITE_EXTERNAL_STORAGE"))); + BA.debugLineNum = 167;BA.debugLine="Wait For Activity_PermissionResult (Permission A"; +Debug.ShouldStop(64); +parent.__c.runVoidMethod ("WaitFor","activity_permissionresult", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cheklist", "b4xpage_appear"), null); +this.state = 18; +return; +case 18: +//C +this.state = 16; +_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 = 168;BA.debugLine="Log($\"PERMISSION_WRITE_EXTERNAL_STORAGE = ${Resu"; +Debug.ShouldStop(128); +parent.__c.runVoidMethod ("LogImpl","84259866",(RemoteObject.concat(RemoteObject.createImmutable("PERMISSION_WRITE_EXTERNAL_STORAGE = "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_result))),RemoteObject.createImmutable(""))),0); + if (true) break; + +case 11: +//C +this.state = 12; + BA.debugLineNum = 170;BA.debugLine="Log(\"SDK = \" & SdkVersion & \" : Requesting MANAG"; +Debug.ShouldStop(512); +parent.__c.runVoidMethod ("LogImpl","84259868",RemoteObject.concat(RemoteObject.createImmutable("SDK = "),_sdkversion,RemoteObject.createImmutable(" : Requesting MANAGE_EXTERNAL_STORAGE permission")),0); + BA.debugLineNum = 171;BA.debugLine="Log(\"On Entry MANAGE_EXTERNAL_STORAGE = \" & MES1"; +Debug.ShouldStop(1024); +parent.__c.runVoidMethod ("LogImpl","84259869",RemoteObject.concat(RemoteObject.createImmutable("On Entry MANAGE_EXTERNAL_STORAGE = "),__ref.getField(false,"_mes1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.manageexternalstorage.class, "_haspermission" /*RemoteObject*/ )),0); + BA.debugLineNum = 172;BA.debugLine="If Not(MES1.HasPermission) Then"; +Debug.ShouldStop(2048); +if (true) break; + +case 12: +//if +this.state = 15; +if (parent.__c.runMethod(true,"Not",(Object)(__ref.getField(false,"_mes1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.manageexternalstorage.class, "_haspermission" /*RemoteObject*/ ))).get().booleanValue()) { +this.state = 14; +}if (true) break; + +case 14: +//C +this.state = 15; + BA.debugLineNum = 173;BA.debugLine="MsgboxAsync(\"Esta aplicación requiere acceso a"; +Debug.ShouldStop(4096); +parent.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Esta aplicación requiere acceso a todos los archivos, habilite la opción")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Administrar todos los archivos"))),__ref.getField(false, "ba")); + BA.debugLineNum = 174;BA.debugLine="Wait For Msgbox_Result(Res As Int)"; +Debug.ShouldStop(8192); +parent.__c.runVoidMethod ("WaitFor","msgbox_result", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cheklist", "b4xpage_appear"), null); +this.state = 19; +return; +case 19: +//C +this.state = 15; +_res = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("Res", _res); +; + BA.debugLineNum = 175;BA.debugLine="Log(\"Getting permission\")"; +Debug.ShouldStop(16384); +parent.__c.runVoidMethod ("LogImpl","84259873",RemoteObject.createImmutable("Getting permission"),0); + BA.debugLineNum = 176;BA.debugLine="MES1.GetPermission"; +Debug.ShouldStop(32768); +__ref.getField(false,"_mes1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.manageexternalstorage.class, "_getpermission" /*RemoteObject*/ ); + BA.debugLineNum = 177;BA.debugLine="Wait For MES_StorageAvailable"; +Debug.ShouldStop(65536); +parent.__c.runVoidMethod ("WaitFor","mes_storageavailable", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cheklist", "b4xpage_appear"), null); +this.state = 20; +return; +case 20: +//C +this.state = 15; +; + if (true) break; + +case 15: +//C +this.state = 16; +; + if (true) break; + +case 16: +//C +this.state = -1; +; + BA.debugLineNum = 180;BA.debugLine="p_camara.Visible = False"; +Debug.ShouldStop(524288); +__ref.getField(false,"_p_camara" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 198;BA.debugLine="End Sub"; +Debug.ShouldStop(32); +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 void _activity_permissionresult(RemoteObject __ref,RemoteObject _permission,RemoteObject _result) throws Exception{ +} +public static void _msgbox_result(RemoteObject __ref,RemoteObject _res) throws Exception{ +} +public static void _mes_storageavailable(RemoteObject __ref) throws Exception{ +} +public static RemoteObject _b4xpage_closerequest(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_CloseRequest (c_cheklist) ","c_cheklist",5,__ref.getField(false, "ba"),__ref,200); +if (RapidSub.canDelegate("b4xpage_closerequest")) { return __ref.runUserSub(false, "c_cheklist","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(reparto_izca.keymon.lat.c_cheklist parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +reparto_izca.keymon.lat.c_cheklist parent; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_CloseRequest (c_cheklist) ","c_cheklist",5,__ref.getField(false, "ba"),__ref,200); +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 = 202;BA.debugLine="If p_camara.visible Then"; +Debug.ShouldStop(512); +if (true) break; + +case 1: +//if +this.state = 6; +if (__ref.getField(false,"_p_camara" /*RemoteObject*/ ).runMethod(true,"getVisible").get().booleanValue()) { +this.state = 3; +}else { +this.state = 5; +}if (true) break; + +case 3: +//C +this.state = 6; + BA.debugLineNum = 203;BA.debugLine="p_camara.visible = False"; +Debug.ShouldStop(1024); +__ref.getField(false,"_p_camara" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 204;BA.debugLine="StopCamera2"; +Debug.ShouldStop(2048); +__ref.runClassMethod (reparto_izca.keymon.lat.c_cheklist.class, "_stopcamera2" /*RemoteObject*/ ); + if (true) break; + +case 5: +//C +this.state = 6; + BA.debugLineNum = 206;BA.debugLine="B4XPages.ShowPage(\"principal\")"; +Debug.ShouldStop(8192); +parent._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("principal"))); + if (true) break; + +case 6: +//C +this.state = -1; +; + BA.debugLineNum = 209;BA.debugLine="Return False"; +Debug.ShouldStop(65536); +if (true) { +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(parent.__c.getField(true,"False")));return;}; + BA.debugLineNum = 210;BA.debugLine="End Sub"; +Debug.ShouldStop(131072); +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_cheklist) ","c_cheklist",5,__ref.getField(false, "ba"),__ref,111); +if (RapidSub.canDelegate("b4xpage_created")) { return __ref.runUserSub(false, "c_cheklist","b4xpage_created", __ref, _root1);} +RemoteObject _items = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +Debug.locals.put("Root1", _root1); + BA.debugLineNum = 111;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +Debug.ShouldStop(16384); + BA.debugLineNum = 112;BA.debugLine="Root = Root1"; +Debug.ShouldStop(32768); +__ref.setField ("_root" /*RemoteObject*/ ,_root1); + BA.debugLineNum = 113;BA.debugLine="Root.LoadLayout(\"checklist\")"; +Debug.ShouldStop(65536); +__ref.getField(false,"_root" /*RemoteObject*/ ).runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("checklist")),__ref.getField(false, "ba")); + BA.debugLineNum = 115;BA.debugLine="sv_datos.Height = Root.Height"; +Debug.ShouldStop(262144); +__ref.getField(false,"_sv_datos" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight")); + BA.debugLineNum = 116;BA.debugLine="sv_datos.Width = Root.Width"; +Debug.ShouldStop(524288); +__ref.getField(false,"_sv_datos" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth")); + BA.debugLineNum = 117;BA.debugLine="sv_datos.Panel.LoadLayout(\"check\")"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_sv_datos" /*RemoteObject*/ ).runMethod(false,"getPanel").runMethodAndSync(false,"LoadLayout",(Object)(RemoteObject.createImmutable("check")),__ref.getField(false, "ba")); + BA.debugLineNum = 118;BA.debugLine="sv_datos.Panel.Height = p_check.Height"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_sv_datos" /*RemoteObject*/ ).runMethod(false,"getPanel").runMethod(true,"setHeight",__ref.getField(false,"_p_check" /*RemoteObject*/ ).runMethod(true,"getHeight")); + BA.debugLineNum = 119;BA.debugLine="p_check.Width = Root.Width"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_p_check" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth")); + BA.debugLineNum = 120;BA.debugLine="p_camara.Width = Root.Width"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_p_camara" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth")); + BA.debugLineNum = 121;BA.debugLine="p_camara.Height = Root.Height"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_p_camara" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight")); + BA.debugLineNum = 124;BA.debugLine="Dim items As List"; +Debug.ShouldStop(134217728); +_items = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");Debug.locals.put("items", _items); + BA.debugLineNum = 125;BA.debugLine="items.Initialize"; +Debug.ShouldStop(268435456); +_items.runVoidMethod ("Initialize"); + BA.debugLineNum = 126;BA.debugLine="items.Add(\"100%\")"; +Debug.ShouldStop(536870912); +_items.runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("100%")))); + BA.debugLineNum = 127;BA.debugLine="items.Add(\"75%\")"; +Debug.ShouldStop(1073741824); +_items.runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("75%")))); + BA.debugLineNum = 128;BA.debugLine="items.Add(\"50%\")"; +Debug.ShouldStop(-2147483648); +_items.runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("50%")))); + BA.debugLineNum = 129;BA.debugLine="items.Add(\"25%\")"; +Debug.ShouldStop(1); +_items.runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("25%")))); + BA.debugLineNum = 130;BA.debugLine="cb_deratras.SetItems(items)"; +Debug.ShouldStop(2); +__ref.getField(false,"_cb_deratras" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.b4xcombobox.class, "_setitems" /*RemoteObject*/ ,(Object)(_items)); + BA.debugLineNum = 131;BA.debugLine="cb_izqatras.SetItems(items)"; +Debug.ShouldStop(4); +__ref.getField(false,"_cb_izqatras" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.b4xcombobox.class, "_setitems" /*RemoteObject*/ ,(Object)(_items)); + BA.debugLineNum = 132;BA.debugLine="cb_derdel.SetItems(items)"; +Debug.ShouldStop(8); +__ref.getField(false,"_cb_derdel" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.b4xcombobox.class, "_setitems" /*RemoteObject*/ ,(Object)(_items)); + BA.debugLineNum = 133;BA.debugLine="cb_izqdel.SetItems(items)"; +Debug.ShouldStop(16); +__ref.getField(false,"_cb_izqdel" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.b4xcombobox.class, "_setitems" /*RemoteObject*/ ,(Object)(_items)); + BA.debugLineNum = 134;BA.debugLine="itemselect1 = \"100%\""; +Debug.ShouldStop(32); +__ref.setField ("_itemselect1" /*RemoteObject*/ ,BA.ObjectToString("100%")); + BA.debugLineNum = 135;BA.debugLine="itemselect2 = \"100%\""; +Debug.ShouldStop(64); +__ref.setField ("_itemselect2" /*RemoteObject*/ ,BA.ObjectToString("100%")); + BA.debugLineNum = 136;BA.debugLine="itemselect3 = \"100%\""; +Debug.ShouldStop(128); +__ref.setField ("_itemselect3" /*RemoteObject*/ ,BA.ObjectToString("100%")); + BA.debugLineNum = 137;BA.debugLine="itemselect4 = \"100%\""; +Debug.ShouldStop(256); +__ref.setField ("_itemselect4" /*RemoteObject*/ ,BA.ObjectToString("100%")); + BA.debugLineNum = 139;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.serve"; +Debug.ShouldStop(1024); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref),(Object)(c_cheklist._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_server" /*RemoteObject*/ ))); + BA.debugLineNum = 140;BA.debugLine="End Sub"; +Debug.ShouldStop(2048); +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_cheklist) ","c_cheklist",5,__ref.getField(false, "ba"),__ref,238); +if (RapidSub.canDelegate("camera1_picturetaken")) { return __ref.runUserSub(false, "c_cheklist","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 = 238;BA.debugLine="Sub Camera1_PictureTaken (Data()As Byte)"; +Debug.ShouldStop(8192); + BA.debugLineNum = 239;BA.debugLine="If x = 1 Then"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_x" /*RemoteObject*/ ),BA.numberCast(double.class, 1))) { + BA.debugLineNum = 240;BA.debugLine="DateTime.DateFormat=\"ddMMyyyyHHmmss\""; +Debug.ShouldStop(32768); +c_cheklist.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("ddMMyyyyHHmmss")); + BA.debugLineNum = 241;BA.debugLine="nombrefoto = DateTime.Now & \"_FOTO1.jpg\""; +Debug.ShouldStop(65536); +__ref.setField ("_nombrefoto" /*RemoteObject*/ ,RemoteObject.concat(c_cheklist.__c.getField(false,"DateTime").runMethod(true,"getNow"),RemoteObject.createImmutable("_FOTO1.jpg"))); + BA.debugLineNum = 242;BA.debugLine="teclado.HideKeyboard"; +Debug.ShouldStop(131072); +__ref.getField(false,"_teclado" /*RemoteObject*/ ).runVoidMethod ("HideKeyboard",__ref.getField(false, "ba")); + BA.debugLineNum = 243;BA.debugLine="fototomada = nombrefoto"; +Debug.ShouldStop(262144); +__ref.setField ("_fototomada" /*RemoteObject*/ ,__ref.getField(true,"_nombrefoto" /*RemoteObject*/ )); + }else +{ BA.debugLineNum = 245;BA.debugLine="Else If x = 2 Then"; +Debug.ShouldStop(1048576); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_x" /*RemoteObject*/ ),BA.numberCast(double.class, 2))) { + BA.debugLineNum = 246;BA.debugLine="DateTime.DateFormat=\"ddMMyyyyHHmmss\""; +Debug.ShouldStop(2097152); +c_cheklist.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("ddMMyyyyHHmmss")); + BA.debugLineNum = 247;BA.debugLine="nombrefoto1 = DateTime.Now & \"_FOTO2.jpg\""; +Debug.ShouldStop(4194304); +__ref.setField ("_nombrefoto1" /*RemoteObject*/ ,RemoteObject.concat(c_cheklist.__c.getField(false,"DateTime").runMethod(true,"getNow"),RemoteObject.createImmutable("_FOTO2.jpg"))); + BA.debugLineNum = 248;BA.debugLine="teclado.HideKeyboard"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_teclado" /*RemoteObject*/ ).runVoidMethod ("HideKeyboard",__ref.getField(false, "ba")); + BA.debugLineNum = 249;BA.debugLine="fototomada = nombrefoto1"; +Debug.ShouldStop(16777216); +__ref.setField ("_fototomada" /*RemoteObject*/ ,__ref.getField(true,"_nombrefoto1" /*RemoteObject*/ )); + }else +{ BA.debugLineNum = 251;BA.debugLine="Else If x = 3 Then"; +Debug.ShouldStop(67108864); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_x" /*RemoteObject*/ ),BA.numberCast(double.class, 3))) { + BA.debugLineNum = 252;BA.debugLine="DateTime.DateFormat=\"ddMMyyyyHHmmss\""; +Debug.ShouldStop(134217728); +c_cheklist.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("ddMMyyyyHHmmss")); + BA.debugLineNum = 253;BA.debugLine="nombrefoto2 = DateTime.Now & \"_FOTO3.jpg\""; +Debug.ShouldStop(268435456); +__ref.setField ("_nombrefoto2" /*RemoteObject*/ ,RemoteObject.concat(c_cheklist.__c.getField(false,"DateTime").runMethod(true,"getNow"),RemoteObject.createImmutable("_FOTO3.jpg"))); + BA.debugLineNum = 254;BA.debugLine="teclado.HideKeyboard"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_teclado" /*RemoteObject*/ ).runVoidMethod ("HideKeyboard",__ref.getField(false, "ba")); + BA.debugLineNum = 255;BA.debugLine="fototomada = nombrefoto2"; +Debug.ShouldStop(1073741824); +__ref.setField ("_fototomada" /*RemoteObject*/ ,__ref.getField(true,"_nombrefoto2" /*RemoteObject*/ )); + }else +{ BA.debugLineNum = 257;BA.debugLine="Else If x = 4 Then"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_x" /*RemoteObject*/ ),BA.numberCast(double.class, 4))) { + BA.debugLineNum = 258;BA.debugLine="DateTime.DateFormat=\"ddMMyyyyHHmmss\""; +Debug.ShouldStop(2); +c_cheklist.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("ddMMyyyyHHmmss")); + BA.debugLineNum = 259;BA.debugLine="nombrefoto3 = DateTime.Now & \"_FOTO4.jpg\""; +Debug.ShouldStop(4); +__ref.setField ("_nombrefoto3" /*RemoteObject*/ ,RemoteObject.concat(c_cheklist.__c.getField(false,"DateTime").runMethod(true,"getNow"),RemoteObject.createImmutable("_FOTO4.jpg"))); + BA.debugLineNum = 260;BA.debugLine="teclado.HideKeyboard"; +Debug.ShouldStop(8); +__ref.getField(false,"_teclado" /*RemoteObject*/ ).runVoidMethod ("HideKeyboard",__ref.getField(false, "ba")); + BA.debugLineNum = 261;BA.debugLine="fototomada = nombrefoto3"; +Debug.ShouldStop(16); +__ref.setField ("_fototomada" /*RemoteObject*/ ,__ref.getField(true,"_nombrefoto3" /*RemoteObject*/ )); + }}}} +; + BA.debugLineNum = 265;BA.debugLine="Log(\"tome foto\")"; +Debug.ShouldStop(256); +c_cheklist.__c.runVoidMethod ("LogImpl","84522011",RemoteObject.createImmutable("tome foto"),0); + BA.debugLineNum = 266;BA.debugLine="Dim filename As String = fototomada"; +Debug.ShouldStop(512); +_filename = __ref.getField(true,"_fototomada" /*RemoteObject*/ );Debug.locals.put("filename", _filename);Debug.locals.put("filename", _filename); + BA.debugLineNum = 267;BA.debugLine="Dim Dirp As String = File.DirInternal"; +Debug.ShouldStop(1024); +_dirp = c_cheklist.__c.getField(false,"File").runMethod(true,"getDirInternal");Debug.locals.put("Dirp", _dirp);Debug.locals.put("Dirp", _dirp); + BA.debugLineNum = 268;BA.debugLine="Dim Dir As String"; +Debug.ShouldStop(2048); +_dir = RemoteObject.createImmutable("");Debug.locals.put("Dir", _dir); + BA.debugLineNum = 269;BA.debugLine="Dim Dir2 As String"; +Debug.ShouldStop(4096); +_dir2 = RemoteObject.createImmutable("");Debug.locals.put("Dir2", _dir2); + BA.debugLineNum = 270;BA.debugLine="Try"; +Debug.ShouldStop(8192); +try { BA.debugLineNum = 271;BA.debugLine="File.MakeDir(Dirp,\"/md\")"; +Debug.ShouldStop(16384); +c_cheklist.__c.getField(false,"File").runVoidMethod ("MakeDir",(Object)(_dirp),(Object)(RemoteObject.createImmutable("/md"))); + BA.debugLineNum = 272;BA.debugLine="Dir = \"/md\""; +Debug.ShouldStop(32768); +_dir = BA.ObjectToString("/md");Debug.locals.put("Dir", _dir); + BA.debugLineNum = 273;BA.debugLine="Log(\"creado en promotoria \" & Dirp & Dir)"; +Debug.ShouldStop(65536); +c_cheklist.__c.runVoidMethod ("LogImpl","84522019",RemoteObject.concat(RemoteObject.createImmutable("creado en promotoria "),_dirp,_dir),0); + Debug.CheckDeviceExceptions(); +} + catch (Exception e32) { + BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e32.toString()); BA.debugLineNum = 275;BA.debugLine="Dir = \"\""; +Debug.ShouldStop(262144); +_dir = BA.ObjectToString("");Debug.locals.put("Dir", _dir); + BA.debugLineNum = 276;BA.debugLine="Log(\"creado en raiz\")"; +Debug.ShouldStop(524288); +c_cheklist.__c.runVoidMethod ("LogImpl","84522022",RemoteObject.createImmutable("creado en raiz"),0); + }; + BA.debugLineNum = 279;BA.debugLine="Try"; +Debug.ShouldStop(4194304); +try { BA.debugLineNum = 280;BA.debugLine="File.MakeDir(Dirp & Dir,\"/reduccion\")"; +Debug.ShouldStop(8388608); +c_cheklist.__c.getField(false,"File").runVoidMethod ("MakeDir",(Object)(RemoteObject.concat(_dirp,_dir)),(Object)(RemoteObject.createImmutable("/reduccion"))); + BA.debugLineNum = 281;BA.debugLine="Dir2 = \"/reduccion\""; +Debug.ShouldStop(16777216); +_dir2 = BA.ObjectToString("/reduccion");Debug.locals.put("Dir2", _dir2); + BA.debugLineNum = 282;BA.debugLine="Log(\"creado en promotoria \" & Dirp & Dir & Dir2)"; +Debug.ShouldStop(33554432); +c_cheklist.__c.runVoidMethod ("LogImpl","84522028",RemoteObject.concat(RemoteObject.createImmutable("creado en promotoria "),_dirp,_dir,_dir2),0); + Debug.CheckDeviceExceptions(); +} + catch (Exception e40) { + BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e40.toString()); BA.debugLineNum = 284;BA.debugLine="Dir = \"\""; +Debug.ShouldStop(134217728); +_dir = BA.ObjectToString("");Debug.locals.put("Dir", _dir); + BA.debugLineNum = 285;BA.debugLine="Log(\"creado en raiz\")"; +Debug.ShouldStop(268435456); +c_cheklist.__c.runVoidMethod ("LogImpl","84522031",RemoteObject.createImmutable("creado en raiz"),0); + }; + BA.debugLineNum = 288;BA.debugLine="camEx.SavePictureToFile(Data, Dirp&Dir, filename)"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_camex" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.cameraexclass.class, "_savepicturetofile" /*RemoteObject*/ ,(Object)(_data),(Object)(RemoteObject.concat(_dirp,_dir)),(Object)(_filename)); + BA.debugLineNum = 289;BA.debugLine="camEx.StartPreview 'restart preview"; +Debug.ShouldStop(1); +__ref.getField(false,"_camex" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.cameraexclass.class, "_startpreview" /*RemoteObject*/ ); + BA.debugLineNum = 291;BA.debugLine="Log(\"Picture saved.\" & CRLF & \"File size: \" & Fi"; +Debug.ShouldStop(4); +c_cheklist.__c.runVoidMethod ("LogImpl","84522037",RemoteObject.concat(RemoteObject.createImmutable("Picture saved."),c_cheklist.__c.getField(true,"CRLF"),RemoteObject.createImmutable("File size: "),c_cheklist.__c.getField(false,"File").runMethod(true,"Size",(Object)(_dir),(Object)(_filename)),_dir,RemoteObject.createImmutable(","),_filename),0); + BA.debugLineNum = 292;BA.debugLine="p_camara.Visible = False"; +Debug.ShouldStop(8); +__ref.getField(false,"_p_camara" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cheklist.__c.getField(true,"False")); + BA.debugLineNum = 294;BA.debugLine="Log(nombrefoto)"; +Debug.ShouldStop(32); +c_cheklist.__c.runVoidMethod ("LogImpl","84522040",__ref.getField(true,"_nombrefoto" /*RemoteObject*/ ),0); + BA.debugLineNum = 295;BA.debugLine="Log(nombrefoto1)"; +Debug.ShouldStop(64); +c_cheklist.__c.runVoidMethod ("LogImpl","84522041",__ref.getField(true,"_nombrefoto1" /*RemoteObject*/ ),0); + BA.debugLineNum = 296;BA.debugLine="Log(nombrefoto2)"; +Debug.ShouldStop(128); +c_cheklist.__c.runVoidMethod ("LogImpl","84522042",__ref.getField(true,"_nombrefoto2" /*RemoteObject*/ ),0); + BA.debugLineNum = 297;BA.debugLine="Log(nombrefoto3)"; +Debug.ShouldStop(256); +c_cheklist.__c.runVoidMethod ("LogImpl","84522043",__ref.getField(true,"_nombrefoto3" /*RemoteObject*/ ),0); + BA.debugLineNum = 299;BA.debugLine="If nombrefoto <> \"0\" Then"; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean("!",__ref.getField(true,"_nombrefoto" /*RemoteObject*/ ),BA.ObjectToString("0"))) { + BA.debugLineNum = 300;BA.debugLine="Dim img As B4XBitmap = xui.LoadBitmapResize(File"; +Debug.ShouldStop(2048); +_img = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper"); +_img = __ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(false,"LoadBitmapResize",(Object)(RemoteObject.concat(c_cheklist.__c.getField(false,"File").runMethod(true,"getDirInternal"),_dir)),(Object)(_filename),(Object)(BA.numberCast(int.class, 450)),(Object)(BA.numberCast(int.class, 600)),(Object)(c_cheklist.__c.getField(true,"True")));Debug.locals.put("img", _img);Debug.locals.put("img", _img); + BA.debugLineNum = 301;BA.debugLine="Dim out As OutputStream = File.OpenOutput(File.D"; +Debug.ShouldStop(4096); +_out = RemoteObject.createNew ("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper"); +_out = c_cheklist.__c.getField(false,"File").runMethod(false,"OpenOutput",(Object)(RemoteObject.concat(c_cheklist.__c.getField(false,"File").runMethod(true,"getDirInternal"),_dir,_dir2)),(Object)(_filename),(Object)(c_cheklist.__c.getField(true,"True")));Debug.locals.put("out", _out);Debug.locals.put("out", _out); + BA.debugLineNum = 302;BA.debugLine="img.WriteToStream(out, 100, \"PNG\")"; +Debug.ShouldStop(8192); +_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 = 305;BA.debugLine="out.Close"; +Debug.ShouldStop(65536); +_out.runVoidMethod ("Close"); + BA.debugLineNum = 306;BA.debugLine="ImageView1.Bitmap = LoadBitmap(File.DirInternal"; +Debug.ShouldStop(131072); +__ref.getField(false,"_imageview1" /*RemoteObject*/ ).runMethod(false,"setBitmap",(c_cheklist.__c.runMethod(false,"LoadBitmap",(Object)(RemoteObject.concat(c_cheklist.__c.getField(false,"File").runMethod(true,"getDirInternal"),_dir,_dir2)),(Object)(__ref.getField(true,"_nombrefoto" /*RemoteObject*/ ))).getObject())); + }; + BA.debugLineNum = 310;BA.debugLine="If nombrefoto1 <> \"0\" Then"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean("!",__ref.getField(true,"_nombrefoto1" /*RemoteObject*/ ),BA.ObjectToString("0"))) { + BA.debugLineNum = 311;BA.debugLine="Dim img As B4XBitmap = xui.LoadBitmapResize(File"; +Debug.ShouldStop(4194304); +_img = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper"); +_img = __ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(false,"LoadBitmapResize",(Object)(RemoteObject.concat(c_cheklist.__c.getField(false,"File").runMethod(true,"getDirInternal"),_dir)),(Object)(_filename),(Object)(BA.numberCast(int.class, 450)),(Object)(BA.numberCast(int.class, 600)),(Object)(c_cheklist.__c.getField(true,"True")));Debug.locals.put("img", _img);Debug.locals.put("img", _img); + BA.debugLineNum = 312;BA.debugLine="Dim out As OutputStream = File.OpenOutput(File.D"; +Debug.ShouldStop(8388608); +_out = RemoteObject.createNew ("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper"); +_out = c_cheklist.__c.getField(false,"File").runMethod(false,"OpenOutput",(Object)(RemoteObject.concat(c_cheklist.__c.getField(false,"File").runMethod(true,"getDirInternal"),_dir,_dir2)),(Object)(_filename),(Object)(c_cheklist.__c.getField(true,"False")));Debug.locals.put("out", _out);Debug.locals.put("out", _out); + BA.debugLineNum = 313;BA.debugLine="img.WriteToStream(out, 100, \"PNG\")"; +Debug.ShouldStop(16777216); +_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 = 316;BA.debugLine="out.Close"; +Debug.ShouldStop(134217728); +_out.runVoidMethod ("Close"); + BA.debugLineNum = 317;BA.debugLine="ImageView2.Bitmap = LoadBitmap(File.DirInternal"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_imageview2" /*RemoteObject*/ ).runMethod(false,"setBitmap",(c_cheklist.__c.runMethod(false,"LoadBitmap",(Object)(RemoteObject.concat(c_cheklist.__c.getField(false,"File").runMethod(true,"getDirInternal"),_dir,_dir2)),(Object)(__ref.getField(true,"_nombrefoto1" /*RemoteObject*/ ))).getObject())); + }; + BA.debugLineNum = 320;BA.debugLine="If nombrefoto2 <> \"0\" Then"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean("!",__ref.getField(true,"_nombrefoto2" /*RemoteObject*/ ),BA.ObjectToString("0"))) { + BA.debugLineNum = 321;BA.debugLine="Dim img As B4XBitmap = xui.LoadBitmapResize(File"; +Debug.ShouldStop(1); +_img = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper"); +_img = __ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(false,"LoadBitmapResize",(Object)(RemoteObject.concat(c_cheklist.__c.getField(false,"File").runMethod(true,"getDirInternal"),_dir)),(Object)(_filename),(Object)(BA.numberCast(int.class, 450)),(Object)(BA.numberCast(int.class, 600)),(Object)(c_cheklist.__c.getField(true,"True")));Debug.locals.put("img", _img);Debug.locals.put("img", _img); + BA.debugLineNum = 322;BA.debugLine="Dim out As OutputStream = File.OpenOutput(File.D"; +Debug.ShouldStop(2); +_out = RemoteObject.createNew ("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper"); +_out = c_cheklist.__c.getField(false,"File").runMethod(false,"OpenOutput",(Object)(RemoteObject.concat(c_cheklist.__c.getField(false,"File").runMethod(true,"getDirInternal"),_dir,_dir2)),(Object)(_filename),(Object)(c_cheklist.__c.getField(true,"False")));Debug.locals.put("out", _out);Debug.locals.put("out", _out); + BA.debugLineNum = 323;BA.debugLine="img.WriteToStream(out, 100, \"PNG\")"; +Debug.ShouldStop(4); +_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 = 326;BA.debugLine="out.Close"; +Debug.ShouldStop(32); +_out.runVoidMethod ("Close"); + BA.debugLineNum = 327;BA.debugLine="ImageView3.Bitmap = LoadBitmap(File.DirInternal"; +Debug.ShouldStop(64); +__ref.getField(false,"_imageview3" /*RemoteObject*/ ).runMethod(false,"setBitmap",(c_cheklist.__c.runMethod(false,"LoadBitmap",(Object)(RemoteObject.concat(c_cheklist.__c.getField(false,"File").runMethod(true,"getDirInternal"),_dir,_dir2)),(Object)(__ref.getField(true,"_nombrefoto2" /*RemoteObject*/ ))).getObject())); + }; + BA.debugLineNum = 330;BA.debugLine="If nombrefoto3 <> \"0\" Then"; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean("!",__ref.getField(true,"_nombrefoto3" /*RemoteObject*/ ),BA.ObjectToString("0"))) { + BA.debugLineNum = 331;BA.debugLine="Dim img As B4XBitmap = xui.LoadBitmapResize(File"; +Debug.ShouldStop(1024); +_img = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper"); +_img = __ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(false,"LoadBitmapResize",(Object)(RemoteObject.concat(c_cheklist.__c.getField(false,"File").runMethod(true,"getDirInternal"),_dir)),(Object)(_filename),(Object)(BA.numberCast(int.class, 450)),(Object)(BA.numberCast(int.class, 600)),(Object)(c_cheklist.__c.getField(true,"True")));Debug.locals.put("img", _img);Debug.locals.put("img", _img); + BA.debugLineNum = 332;BA.debugLine="Dim out As OutputStream = File.OpenOutput(File.D"; +Debug.ShouldStop(2048); +_out = RemoteObject.createNew ("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper"); +_out = c_cheklist.__c.getField(false,"File").runMethod(false,"OpenOutput",(Object)(RemoteObject.concat(c_cheklist.__c.getField(false,"File").runMethod(true,"getDirInternal"),_dir,_dir2)),(Object)(_filename),(Object)(c_cheklist.__c.getField(true,"False")));Debug.locals.put("out", _out);Debug.locals.put("out", _out); + BA.debugLineNum = 333;BA.debugLine="img.WriteToStream(out, 100, \"PNG\")"; +Debug.ShouldStop(4096); +_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 = 336;BA.debugLine="out.Close"; +Debug.ShouldStop(32768); +_out.runVoidMethod ("Close"); + BA.debugLineNum = 337;BA.debugLine="ImageView4.Bitmap = LoadBitmap(File.DirInternal"; +Debug.ShouldStop(65536); +__ref.getField(false,"_imageview4" /*RemoteObject*/ ).runMethod(false,"setBitmap",(c_cheklist.__c.runMethod(false,"LoadBitmap",(Object)(RemoteObject.concat(c_cheklist.__c.getField(false,"File").runMethod(true,"getDirInternal"),_dir,_dir2)),(Object)(__ref.getField(true,"_nombrefoto3" /*RemoteObject*/ ))).getObject())); + }; + BA.debugLineNum = 340;BA.debugLine="StopCamera2"; +Debug.ShouldStop(524288); +__ref.runClassMethod (reparto_izca.keymon.lat.c_cheklist.class, "_stopcamera2" /*RemoteObject*/ ); + BA.debugLineNum = 342;BA.debugLine="End Sub"; +Debug.ShouldStop(2097152); +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_cheklist) ","c_cheklist",5,__ref.getField(false, "ba"),__ref,224); +if (RapidSub.canDelegate("camera1_ready")) { return __ref.runUserSub(false, "c_cheklist","camera1_ready", __ref, _success);} +Debug.locals.put("Success", _success); + BA.debugLineNum = 224;BA.debugLine="Sub Camera1_Ready (Success As Boolean)"; +Debug.ShouldStop(-2147483648); + BA.debugLineNum = 225;BA.debugLine="Log(\"Camara ready\")"; +Debug.ShouldStop(1); +c_cheklist.__c.runVoidMethod ("LogImpl","84456449",RemoteObject.createImmutable("Camara ready"),0); + BA.debugLineNum = 226;BA.debugLine="If Success Then"; +Debug.ShouldStop(2); +if (_success.get().booleanValue()) { + BA.debugLineNum = 227;BA.debugLine="camEx.SetJpegQuality(90)"; +Debug.ShouldStop(4); +__ref.getField(false,"_camex" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.cameraexclass.class, "_setjpegquality" /*RemoteObject*/ ,(Object)(BA.numberCast(int.class, 90))); + BA.debugLineNum = 228;BA.debugLine="camEx.SetContinuousAutoFocus"; +Debug.ShouldStop(8); +__ref.getField(false,"_camex" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.cameraexclass.class, "_setcontinuousautofocus" /*RemoteObject*/ ); + BA.debugLineNum = 229;BA.debugLine="camEx.CommitParameters"; +Debug.ShouldStop(16); +__ref.getField(false,"_camex" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.cameraexclass.class, "_commitparameters" /*RemoteObject*/ ); + BA.debugLineNum = 230;BA.debugLine="camEx.StartPreview"; +Debug.ShouldStop(32); +__ref.getField(false,"_camex" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.cameraexclass.class, "_startpreview" /*RemoteObject*/ ); + BA.debugLineNum = 231;BA.debugLine="Log(camEx.GetPreviewSize)"; +Debug.ShouldStop(64); +c_cheklist.__c.runVoidMethod ("LogImpl","84456455",BA.ObjectToString(__ref.getField(false,"_camex" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.cameraexclass.class, "_getpreviewsize" /*RemoteObject*/ )),0); + }else { + BA.debugLineNum = 233;BA.debugLine="ToastMessageShow(\"Cannot open camera.\", True)"; +Debug.ShouldStop(256); +c_cheklist.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Cannot open camera.")),(Object)(c_cheklist.__c.getField(true,"True"))); + BA.debugLineNum = 234;BA.debugLine="Log(\"Cannot open camera\")"; +Debug.ShouldStop(512); +c_cheklist.__c.runVoidMethod ("LogImpl","84456458",RemoteObject.createImmutable("Cannot open camera"),0); + }; + BA.debugLineNum = 236;BA.debugLine="End Sub"; +Debug.ShouldStop(2048); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _cb_deratras_selectedindexchanged(RemoteObject __ref,RemoteObject _index) throws Exception{ +try { + Debug.PushSubsStack("cb_deratras_SelectedIndexChanged (c_cheklist) ","c_cheklist",5,__ref.getField(false, "ba"),__ref,536); +if (RapidSub.canDelegate("cb_deratras_selectedindexchanged")) { return __ref.runUserSub(false, "c_cheklist","cb_deratras_selectedindexchanged", __ref, _index);} +Debug.locals.put("Index", _index); + BA.debugLineNum = 536;BA.debugLine="Private Sub cb_deratras_SelectedIndexChanged (Inde"; +Debug.ShouldStop(8388608); + BA.debugLineNum = 537;BA.debugLine="itemselect4 = cb_deratras.SelectedItem"; +Debug.ShouldStop(16777216); +__ref.setField ("_itemselect4" /*RemoteObject*/ ,__ref.getField(false,"_cb_deratras" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.b4xcombobox.class, "_getselecteditem" /*RemoteObject*/ )); + BA.debugLineNum = 538;BA.debugLine="Log(itemselect4)"; +Debug.ShouldStop(33554432); +c_cheklist.__c.runVoidMethod ("LogImpl","87340034",__ref.getField(true,"_itemselect4" /*RemoteObject*/ ),0); + BA.debugLineNum = 539;BA.debugLine="End Sub"; +Debug.ShouldStop(67108864); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _cb_derdel_selectedindexchanged(RemoteObject __ref,RemoteObject _index) throws Exception{ +try { + Debug.PushSubsStack("cb_derdel_SelectedIndexChanged (c_cheklist) ","c_cheklist",5,__ref.getField(false, "ba"),__ref,531); +if (RapidSub.canDelegate("cb_derdel_selectedindexchanged")) { return __ref.runUserSub(false, "c_cheklist","cb_derdel_selectedindexchanged", __ref, _index);} +Debug.locals.put("Index", _index); + BA.debugLineNum = 531;BA.debugLine="Private Sub cb_derdel_SelectedIndexChanged (Index"; +Debug.ShouldStop(262144); + BA.debugLineNum = 532;BA.debugLine="itemselect3 = cb_derdel.SelectedItem"; +Debug.ShouldStop(524288); +__ref.setField ("_itemselect3" /*RemoteObject*/ ,__ref.getField(false,"_cb_derdel" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.b4xcombobox.class, "_getselecteditem" /*RemoteObject*/ )); + BA.debugLineNum = 533;BA.debugLine="Log(itemselect3)"; +Debug.ShouldStop(1048576); +c_cheklist.__c.runVoidMethod ("LogImpl","87274498",__ref.getField(true,"_itemselect3" /*RemoteObject*/ ),0); + BA.debugLineNum = 534;BA.debugLine="End Sub"; +Debug.ShouldStop(2097152); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _cb_izqatras_selectedindexchanged(RemoteObject __ref,RemoteObject _index) throws Exception{ +try { + Debug.PushSubsStack("cb_izqatras_SelectedIndexChanged (c_cheklist) ","c_cheklist",5,__ref.getField(false, "ba"),__ref,526); +if (RapidSub.canDelegate("cb_izqatras_selectedindexchanged")) { return __ref.runUserSub(false, "c_cheklist","cb_izqatras_selectedindexchanged", __ref, _index);} +Debug.locals.put("Index", _index); + BA.debugLineNum = 526;BA.debugLine="Private Sub cb_izqatras_SelectedIndexChanged (Inde"; +Debug.ShouldStop(8192); + BA.debugLineNum = 527;BA.debugLine="itemselect2 = cb_izqatras.SelectedItem"; +Debug.ShouldStop(16384); +__ref.setField ("_itemselect2" /*RemoteObject*/ ,__ref.getField(false,"_cb_izqatras" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.b4xcombobox.class, "_getselecteditem" /*RemoteObject*/ )); + BA.debugLineNum = 528;BA.debugLine="Log(itemselect2)"; +Debug.ShouldStop(32768); +c_cheklist.__c.runVoidMethod ("LogImpl","87208962",__ref.getField(true,"_itemselect2" /*RemoteObject*/ ),0); + 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 _cb_izqdel_selectedindexchanged(RemoteObject __ref,RemoteObject _index) throws Exception{ +try { + Debug.PushSubsStack("cb_izqdel_SelectedIndexChanged (c_cheklist) ","c_cheklist",5,__ref.getField(false, "ba"),__ref,521); +if (RapidSub.canDelegate("cb_izqdel_selectedindexchanged")) { return __ref.runUserSub(false, "c_cheklist","cb_izqdel_selectedindexchanged", __ref, _index);} +Debug.locals.put("Index", _index); + BA.debugLineNum = 521;BA.debugLine="Private Sub cb_izqdel_SelectedIndexChanged (Index"; +Debug.ShouldStop(256); + BA.debugLineNum = 522;BA.debugLine="itemselect1 = cb_izqdel.SelectedItem"; +Debug.ShouldStop(512); +__ref.setField ("_itemselect1" /*RemoteObject*/ ,__ref.getField(false,"_cb_izqdel" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.b4xcombobox.class, "_getselecteditem" /*RemoteObject*/ )); + BA.debugLineNum = 523;BA.debugLine="Log(itemselect1)"; +Debug.ShouldStop(1024); +c_cheklist.__c.runVoidMethod ("LogImpl","87143426",__ref.getField(true,"_itemselect1" /*RemoteObject*/ ),0); + BA.debugLineNum = 524;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_cheklist._root = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_root",c_cheklist._root); + //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore"; +c_cheklist._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",c_cheklist._xui); + //BA.debugLineNum = 4;BA.debugLine="Private p_check As Panel"; +c_cheklist._p_check = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_check",c_cheklist._p_check); + //BA.debugLineNum = 5;BA.debugLine="Private sv_datos As ScrollView"; +c_cheklist._sv_datos = RemoteObject.createNew ("anywheresoftware.b4a.objects.ScrollViewWrapper");__ref.setField("_sv_datos",c_cheklist._sv_datos); + //BA.debugLineNum = 7;BA.debugLine="Private camEx As CameraExClass"; +c_cheklist._camex = RemoteObject.createNew ("reparto_izca.keymon.lat.cameraexclass");__ref.setField("_camex",c_cheklist._camex); + //BA.debugLineNum = 8;BA.debugLine="Dim frontCamera As Boolean = False"; +c_cheklist._frontcamera = c_cheklist.__c.getField(true,"False");__ref.setField("_frontcamera",c_cheklist._frontcamera); + //BA.debugLineNum = 9;BA.debugLine="Private p_cam As Panel"; +c_cheklist._p_cam = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_cam",c_cheklist._p_cam); + //BA.debugLineNum = 10;BA.debugLine="Dim nombrefoto As String = \"0\""; +c_cheklist._nombrefoto = BA.ObjectToString("0");__ref.setField("_nombrefoto",c_cheklist._nombrefoto); + //BA.debugLineNum = 11;BA.debugLine="Dim nombrefoto1 As String = \"0\""; +c_cheklist._nombrefoto1 = BA.ObjectToString("0");__ref.setField("_nombrefoto1",c_cheklist._nombrefoto1); + //BA.debugLineNum = 12;BA.debugLine="Dim nombrefoto2 As String = \"0\""; +c_cheklist._nombrefoto2 = BA.ObjectToString("0");__ref.setField("_nombrefoto2",c_cheklist._nombrefoto2); + //BA.debugLineNum = 13;BA.debugLine="Dim nombrefoto3 As String = \"0\""; +c_cheklist._nombrefoto3 = BA.ObjectToString("0");__ref.setField("_nombrefoto3",c_cheklist._nombrefoto3); + //BA.debugLineNum = 14;BA.debugLine="Private p_camara As Panel"; +c_cheklist._p_camara = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_camara",c_cheklist._p_camara); + //BA.debugLineNum = 15;BA.debugLine="Private teclado As IME"; +c_cheklist._teclado = RemoteObject.createNew ("anywheresoftware.b4a.objects.IME");__ref.setField("_teclado",c_cheklist._teclado); + //BA.debugLineNum = 16;BA.debugLine="Dim fototomada As String"; +c_cheklist._fototomada = RemoteObject.createImmutable("");__ref.setField("_fototomada",c_cheklist._fototomada); + //BA.debugLineNum = 17;BA.debugLine="Private ImageView1 As ImageView"; +c_cheklist._imageview1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ImageViewWrapper");__ref.setField("_imageview1",c_cheklist._imageview1); + //BA.debugLineNum = 18;BA.debugLine="Private ImageView3 As ImageView"; +c_cheklist._imageview3 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ImageViewWrapper");__ref.setField("_imageview3",c_cheklist._imageview3); + //BA.debugLineNum = 19;BA.debugLine="Private ImageView2 As ImageView"; +c_cheklist._imageview2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ImageViewWrapper");__ref.setField("_imageview2",c_cheklist._imageview2); + //BA.debugLineNum = 20;BA.debugLine="Private ImageView4 As ImageView"; +c_cheklist._imageview4 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ImageViewWrapper");__ref.setField("_imageview4",c_cheklist._imageview4); + //BA.debugLineNum = 21;BA.debugLine="Private b_foto As Button"; +c_cheklist._b_foto = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_foto",c_cheklist._b_foto); + //BA.debugLineNum = 22;BA.debugLine="Dim device As Phone"; +c_cheklist._device = RemoteObject.createNew ("anywheresoftware.b4a.phone.Phone");__ref.setField("_device",c_cheklist._device); + //BA.debugLineNum = 23;BA.debugLine="Dim MES1 As ManageExternalStorage"; +c_cheklist._mes1 = RemoteObject.createNew ("reparto_izca.keymon.lat.manageexternalstorage");__ref.setField("_mes1",c_cheklist._mes1); + //BA.debugLineNum = 24;BA.debugLine="Dim x As Int = 0"; +c_cheklist._x = BA.numberCast(int.class, 0);__ref.setField("_x",c_cheklist._x); + //BA.debugLineNum = 25;BA.debugLine="Private rb_docsi1 As RadioButton"; +c_cheklist._rb_docsi1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rb_docsi1",c_cheklist._rb_docsi1); + //BA.debugLineNum = 26;BA.debugLine="Private rb_docno1 As RadioButton"; +c_cheklist._rb_docno1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rb_docno1",c_cheklist._rb_docno1); + //BA.debugLineNum = 27;BA.debugLine="Private rb_docsi2 As RadioButton"; +c_cheklist._rb_docsi2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rb_docsi2",c_cheklist._rb_docsi2); + //BA.debugLineNum = 28;BA.debugLine="Private rb_docno2 As RadioButton"; +c_cheklist._rb_docno2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rb_docno2",c_cheklist._rb_docno2); + //BA.debugLineNum = 29;BA.debugLine="Private rb_docsi3 As RadioButton"; +c_cheklist._rb_docsi3 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rb_docsi3",c_cheklist._rb_docsi3); + //BA.debugLineNum = 30;BA.debugLine="Private rb_docno3 As RadioButton"; +c_cheklist._rb_docno3 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rb_docno3",c_cheklist._rb_docno3); + //BA.debugLineNum = 31;BA.debugLine="Private rb_docsi4 As RadioButton"; +c_cheklist._rb_docsi4 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rb_docsi4",c_cheklist._rb_docsi4); + //BA.debugLineNum = 32;BA.debugLine="Private rb_docno4 As RadioButton"; +c_cheklist._rb_docno4 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rb_docno4",c_cheklist._rb_docno4); + //BA.debugLineNum = 33;BA.debugLine="Private rb_docsi5 As RadioButton"; +c_cheklist._rb_docsi5 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rb_docsi5",c_cheklist._rb_docsi5); + //BA.debugLineNum = 34;BA.debugLine="Private rb_docno5 As RadioButton"; +c_cheklist._rb_docno5 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rb_docno5",c_cheklist._rb_docno5); + //BA.debugLineNum = 35;BA.debugLine="Private rb_docsi6 As RadioButton"; +c_cheklist._rb_docsi6 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rb_docsi6",c_cheklist._rb_docsi6); + //BA.debugLineNum = 36;BA.debugLine="Private rb_docno6 As RadioButton"; +c_cheklist._rb_docno6 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rb_docno6",c_cheklist._rb_docno6); + //BA.debugLineNum = 37;BA.debugLine="Private rb_docsi7 As RadioButton"; +c_cheklist._rb_docsi7 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rb_docsi7",c_cheklist._rb_docsi7); + //BA.debugLineNum = 38;BA.debugLine="Private rb_docno7 As RadioButton"; +c_cheklist._rb_docno7 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rb_docno7",c_cheklist._rb_docno7); + //BA.debugLineNum = 39;BA.debugLine="Private rb_docsi8 As RadioButton"; +c_cheklist._rb_docsi8 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rb_docsi8",c_cheklist._rb_docsi8); + //BA.debugLineNum = 40;BA.debugLine="Private rb_docno8 As RadioButton"; +c_cheklist._rb_docno8 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rb_docno8",c_cheklist._rb_docno8); + //BA.debugLineNum = 41;BA.debugLine="Private rb_docsi9 As RadioButton"; +c_cheklist._rb_docsi9 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rb_docsi9",c_cheklist._rb_docsi9); + //BA.debugLineNum = 42;BA.debugLine="Private rb_docno9 As RadioButton"; +c_cheklist._rb_docno9 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rb_docno9",c_cheklist._rb_docno9); + //BA.debugLineNum = 43;BA.debugLine="Private rb_docsi10 As RadioButton"; +c_cheklist._rb_docsi10 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rb_docsi10",c_cheklist._rb_docsi10); + //BA.debugLineNum = 44;BA.debugLine="Private rb_docno10 As RadioButton"; +c_cheklist._rb_docno10 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rb_docno10",c_cheklist._rb_docno10); + //BA.debugLineNum = 45;BA.debugLine="Private rb_docsi11 As RadioButton"; +c_cheklist._rb_docsi11 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rb_docsi11",c_cheklist._rb_docsi11); + //BA.debugLineNum = 46;BA.debugLine="Private rb_docno11 As RadioButton"; +c_cheklist._rb_docno11 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rb_docno11",c_cheklist._rb_docno11); + //BA.debugLineNum = 47;BA.debugLine="Private rb_docsi12 As RadioButton"; +c_cheklist._rb_docsi12 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rb_docsi12",c_cheklist._rb_docsi12); + //BA.debugLineNum = 48;BA.debugLine="Private rb_docno12 As RadioButton"; +c_cheklist._rb_docno12 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rb_docno12",c_cheklist._rb_docno12); + //BA.debugLineNum = 49;BA.debugLine="Private rb_docsi13 As RadioButton"; +c_cheklist._rb_docsi13 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rb_docsi13",c_cheklist._rb_docsi13); + //BA.debugLineNum = 50;BA.debugLine="Private rb_docno13 As RadioButton"; +c_cheklist._rb_docno13 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rb_docno13",c_cheklist._rb_docno13); + //BA.debugLineNum = 51;BA.debugLine="Private rb_docsi14 As RadioButton"; +c_cheklist._rb_docsi14 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rb_docsi14",c_cheklist._rb_docsi14); + //BA.debugLineNum = 52;BA.debugLine="Private rb_docno14 As RadioButton"; +c_cheklist._rb_docno14 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rb_docno14",c_cheklist._rb_docno14); + //BA.debugLineNum = 53;BA.debugLine="Private rb_docsi15 As RadioButton"; +c_cheklist._rb_docsi15 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rb_docsi15",c_cheklist._rb_docsi15); + //BA.debugLineNum = 54;BA.debugLine="Private rb_docno15 As RadioButton"; +c_cheklist._rb_docno15 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rb_docno15",c_cheklist._rb_docno15); + //BA.debugLineNum = 55;BA.debugLine="Private rb_docsi16 As RadioButton"; +c_cheklist._rb_docsi16 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rb_docsi16",c_cheklist._rb_docsi16); + //BA.debugLineNum = 56;BA.debugLine="Private rb_docno16 As RadioButton"; +c_cheklist._rb_docno16 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rb_docno16",c_cheklist._rb_docno16); + //BA.debugLineNum = 57;BA.debugLine="Private rb_docsi17 As RadioButton"; +c_cheklist._rb_docsi17 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rb_docsi17",c_cheklist._rb_docsi17); + //BA.debugLineNum = 58;BA.debugLine="Private rb_docno17 As RadioButton"; +c_cheklist._rb_docno17 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rb_docno17",c_cheklist._rb_docno17); + //BA.debugLineNum = 59;BA.debugLine="Private rb_docsi18 As RadioButton"; +c_cheklist._rb_docsi18 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rb_docsi18",c_cheklist._rb_docsi18); + //BA.debugLineNum = 60;BA.debugLine="Private rb_docno18 As RadioButton"; +c_cheklist._rb_docno18 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rb_docno18",c_cheklist._rb_docno18); + //BA.debugLineNum = 61;BA.debugLine="Private rb_docsi19 As RadioButton"; +c_cheklist._rb_docsi19 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rb_docsi19",c_cheklist._rb_docsi19); + //BA.debugLineNum = 62;BA.debugLine="Private rb_docno19 As RadioButton"; +c_cheklist._rb_docno19 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rb_docno19",c_cheklist._rb_docno19); + //BA.debugLineNum = 63;BA.debugLine="Private et_carroceria As EditText"; +c_cheklist._et_carroceria = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_carroceria",c_cheklist._et_carroceria); + //BA.debugLineNum = 64;BA.debugLine="Private et_luces As EditText"; +c_cheklist._et_luces = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_luces",c_cheklist._et_luces); + //BA.debugLineNum = 65;BA.debugLine="Private et_placas As EditText"; +c_cheklist._et_placas = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_placas",c_cheklist._et_placas); + //BA.debugLineNum = 66;BA.debugLine="Private et_liquidos As EditText"; +c_cheklist._et_liquidos = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_liquidos",c_cheklist._et_liquidos); + //BA.debugLineNum = 68;BA.debugLine="Dim p1 As String"; +c_cheklist._p1 = RemoteObject.createImmutable("");__ref.setField("_p1",c_cheklist._p1); + //BA.debugLineNum = 69;BA.debugLine="Dim p2 As String"; +c_cheklist._p2 = RemoteObject.createImmutable("");__ref.setField("_p2",c_cheklist._p2); + //BA.debugLineNum = 70;BA.debugLine="Dim p3 As String"; +c_cheklist._p3 = RemoteObject.createImmutable("");__ref.setField("_p3",c_cheklist._p3); + //BA.debugLineNum = 71;BA.debugLine="Dim p4 As String"; +c_cheklist._p4 = RemoteObject.createImmutable("");__ref.setField("_p4",c_cheklist._p4); + //BA.debugLineNum = 72;BA.debugLine="Dim p5 As String"; +c_cheklist._p5 = RemoteObject.createImmutable("");__ref.setField("_p5",c_cheklist._p5); + //BA.debugLineNum = 73;BA.debugLine="Dim p6 As String"; +c_cheklist._p6 = RemoteObject.createImmutable("");__ref.setField("_p6",c_cheklist._p6); + //BA.debugLineNum = 74;BA.debugLine="Dim p7 As String"; +c_cheklist._p7 = RemoteObject.createImmutable("");__ref.setField("_p7",c_cheklist._p7); + //BA.debugLineNum = 75;BA.debugLine="Dim p8 As String"; +c_cheklist._p8 = RemoteObject.createImmutable("");__ref.setField("_p8",c_cheklist._p8); + //BA.debugLineNum = 76;BA.debugLine="Dim p9 As String"; +c_cheklist._p9 = RemoteObject.createImmutable("");__ref.setField("_p9",c_cheklist._p9); + //BA.debugLineNum = 77;BA.debugLine="Dim p10 As String"; +c_cheklist._p10 = RemoteObject.createImmutable("");__ref.setField("_p10",c_cheklist._p10); + //BA.debugLineNum = 78;BA.debugLine="Dim p11 As String"; +c_cheklist._p11 = RemoteObject.createImmutable("");__ref.setField("_p11",c_cheklist._p11); + //BA.debugLineNum = 79;BA.debugLine="Dim p12 As String"; +c_cheklist._p12 = RemoteObject.createImmutable("");__ref.setField("_p12",c_cheklist._p12); + //BA.debugLineNum = 80;BA.debugLine="Dim p13 As String"; +c_cheklist._p13 = RemoteObject.createImmutable("");__ref.setField("_p13",c_cheklist._p13); + //BA.debugLineNum = 81;BA.debugLine="Dim p14 As String"; +c_cheklist._p14 = RemoteObject.createImmutable("");__ref.setField("_p14",c_cheklist._p14); + //BA.debugLineNum = 82;BA.debugLine="Dim p15 As String"; +c_cheklist._p15 = RemoteObject.createImmutable("");__ref.setField("_p15",c_cheklist._p15); + //BA.debugLineNum = 83;BA.debugLine="Dim p16 As String"; +c_cheklist._p16 = RemoteObject.createImmutable("");__ref.setField("_p16",c_cheklist._p16); + //BA.debugLineNum = 84;BA.debugLine="Dim p17 As String"; +c_cheklist._p17 = RemoteObject.createImmutable("");__ref.setField("_p17",c_cheklist._p17); + //BA.debugLineNum = 85;BA.debugLine="Dim p18 As String"; +c_cheklist._p18 = RemoteObject.createImmutable("");__ref.setField("_p18",c_cheklist._p18); + //BA.debugLineNum = 86;BA.debugLine="Dim p19 As String"; +c_cheklist._p19 = RemoteObject.createImmutable("");__ref.setField("_p19",c_cheklist._p19); + //BA.debugLineNum = 87;BA.debugLine="Private cb_izqdel As B4XComboBox"; +c_cheklist._cb_izqdel = RemoteObject.createNew ("reparto_izca.keymon.lat.b4xcombobox");__ref.setField("_cb_izqdel",c_cheklist._cb_izqdel); + //BA.debugLineNum = 88;BA.debugLine="Private cb_derdel As B4XComboBox"; +c_cheklist._cb_derdel = RemoteObject.createNew ("reparto_izca.keymon.lat.b4xcombobox");__ref.setField("_cb_derdel",c_cheklist._cb_derdel); + //BA.debugLineNum = 89;BA.debugLine="Private cb_izqatras As B4XComboBox"; +c_cheklist._cb_izqatras = RemoteObject.createNew ("reparto_izca.keymon.lat.b4xcombobox");__ref.setField("_cb_izqatras",c_cheklist._cb_izqatras); + //BA.debugLineNum = 90;BA.debugLine="Private cb_deratras As B4XComboBox"; +c_cheklist._cb_deratras = RemoteObject.createNew ("reparto_izca.keymon.lat.b4xcombobox");__ref.setField("_cb_deratras",c_cheklist._cb_deratras); + //BA.debugLineNum = 91;BA.debugLine="Dim itemselect1 As String"; +c_cheklist._itemselect1 = RemoteObject.createImmutable("");__ref.setField("_itemselect1",c_cheklist._itemselect1); + //BA.debugLineNum = 92;BA.debugLine="Dim itemselect2 As String"; +c_cheklist._itemselect2 = RemoteObject.createImmutable("");__ref.setField("_itemselect2",c_cheklist._itemselect2); + //BA.debugLineNum = 93;BA.debugLine="Dim itemselect3 As String"; +c_cheklist._itemselect3 = RemoteObject.createImmutable("");__ref.setField("_itemselect3",c_cheklist._itemselect3); + //BA.debugLineNum = 94;BA.debugLine="Dim itemselect4 As String"; +c_cheklist._itemselect4 = RemoteObject.createImmutable("");__ref.setField("_itemselect4",c_cheklist._itemselect4); + //BA.debugLineNum = 95;BA.debugLine="Dim foto1() As Byte"; +c_cheklist._foto1 = RemoteObject.createNewArray ("byte", new int[] {0}, new Object[]{});__ref.setField("_foto1",c_cheklist._foto1); + //BA.debugLineNum = 96;BA.debugLine="Dim foto2() As Byte"; +c_cheklist._foto2 = RemoteObject.createNewArray ("byte", new int[] {0}, new Object[]{});__ref.setField("_foto2",c_cheklist._foto2); + //BA.debugLineNum = 97;BA.debugLine="Dim foto3() As Byte"; +c_cheklist._foto3 = RemoteObject.createNewArray ("byte", new int[] {0}, new Object[]{});__ref.setField("_foto3",c_cheklist._foto3); + //BA.debugLineNum = 98;BA.debugLine="Dim foto4() As Byte"; +c_cheklist._foto4 = RemoteObject.createNewArray ("byte", new int[] {0}, new Object[]{});__ref.setField("_foto4",c_cheklist._foto4); + //BA.debugLineNum = 99;BA.debugLine="Dim c As Cursor"; +c_cheklist._c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_c",c_cheklist._c); + //BA.debugLineNum = 100;BA.debugLine="Dim reqManager As DBRequestManager"; +c_cheklist._reqmanager = RemoteObject.createNew ("reparto_izca.keymon.lat.dbrequestmanager");__ref.setField("_reqmanager",c_cheklist._reqmanager); + //BA.debugLineNum = 101;BA.debugLine="Private l_placa As Label"; +c_cheklist._l_placa = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_placa",c_cheklist._l_placa); + //BA.debugLineNum = 102;BA.debugLine="Private et_km As EditText"; +c_cheklist._et_km = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_km",c_cheklist._et_km); + //BA.debugLineNum = 103;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _imageview1_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("ImageView1_Click (c_cheklist) ","c_cheklist",5,__ref.getField(false, "ba"),__ref,361); +if (RapidSub.canDelegate("imageview1_click")) { return __ref.runUserSub(false, "c_cheklist","imageview1_click", __ref);} + BA.debugLineNum = 361;BA.debugLine="Private Sub ImageView1_Click"; +Debug.ShouldStop(256); + BA.debugLineNum = 363;BA.debugLine="x = 1"; +Debug.ShouldStop(1024); +__ref.setField ("_x" /*RemoteObject*/ ,BA.numberCast(int.class, 1)); + BA.debugLineNum = 364;BA.debugLine="InitializeCamera2"; +Debug.ShouldStop(2048); +__ref.runClassMethod (reparto_izca.keymon.lat.c_cheklist.class, "_initializecamera2" /*void*/ ); + BA.debugLineNum = 365;BA.debugLine="p_camara.Visible = True"; +Debug.ShouldStop(4096); +__ref.getField(false,"_p_camara" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cheklist.__c.getField(true,"True")); + BA.debugLineNum = 367;BA.debugLine="End Sub"; +Debug.ShouldStop(16384); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _imageview2_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("ImageView2_Click (c_cheklist) ","c_cheklist",5,__ref.getField(false, "ba"),__ref,369); +if (RapidSub.canDelegate("imageview2_click")) { return __ref.runUserSub(false, "c_cheklist","imageview2_click", __ref);} + BA.debugLineNum = 369;BA.debugLine="Private Sub ImageView2_Click"; +Debug.ShouldStop(65536); + BA.debugLineNum = 371;BA.debugLine="x = 2"; +Debug.ShouldStop(262144); +__ref.setField ("_x" /*RemoteObject*/ ,BA.numberCast(int.class, 2)); + BA.debugLineNum = 372;BA.debugLine="InitializeCamera2"; +Debug.ShouldStop(524288); +__ref.runClassMethod (reparto_izca.keymon.lat.c_cheklist.class, "_initializecamera2" /*void*/ ); + BA.debugLineNum = 373;BA.debugLine="p_camara.Visible = True"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_p_camara" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cheklist.__c.getField(true,"True")); + BA.debugLineNum = 375;BA.debugLine="End Sub"; +Debug.ShouldStop(4194304); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _imageview3_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("ImageView3_Click (c_cheklist) ","c_cheklist",5,__ref.getField(false, "ba"),__ref,377); +if (RapidSub.canDelegate("imageview3_click")) { return __ref.runUserSub(false, "c_cheklist","imageview3_click", __ref);} + BA.debugLineNum = 377;BA.debugLine="Private Sub ImageView3_Click"; +Debug.ShouldStop(16777216); + BA.debugLineNum = 379;BA.debugLine="x = 3"; +Debug.ShouldStop(67108864); +__ref.setField ("_x" /*RemoteObject*/ ,BA.numberCast(int.class, 3)); + BA.debugLineNum = 380;BA.debugLine="InitializeCamera2"; +Debug.ShouldStop(134217728); +__ref.runClassMethod (reparto_izca.keymon.lat.c_cheklist.class, "_initializecamera2" /*void*/ ); + BA.debugLineNum = 381;BA.debugLine="p_camara.Visible = True"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_p_camara" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cheklist.__c.getField(true,"True")); + BA.debugLineNum = 383;BA.debugLine="End Sub"; +Debug.ShouldStop(1073741824); +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_cheklist) ","c_cheklist",5,__ref.getField(false, "ba"),__ref,385); +if (RapidSub.canDelegate("imageview4_click")) { return __ref.runUserSub(false, "c_cheklist","imageview4_click", __ref);} + BA.debugLineNum = 385;BA.debugLine="Private Sub ImageView4_Click"; +Debug.ShouldStop(1); + BA.debugLineNum = 387;BA.debugLine="x = 4"; +Debug.ShouldStop(4); +__ref.setField ("_x" /*RemoteObject*/ ,BA.numberCast(int.class, 4)); + BA.debugLineNum = 388;BA.debugLine="InitializeCamera2"; +Debug.ShouldStop(8); +__ref.runClassMethod (reparto_izca.keymon.lat.c_cheklist.class, "_initializecamera2" /*void*/ ); + BA.debugLineNum = 389;BA.debugLine="p_camara.Visible = True"; +Debug.ShouldStop(16); +__ref.getField(false,"_p_camara" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cheklist.__c.getField(true,"True")); + 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 _initialize(RemoteObject __ref,RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("Initialize (c_cheklist) ","c_cheklist",5,__ref.getField(false, "ba"),__ref,106); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "c_cheklist","initialize", __ref, _ba);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); + BA.debugLineNum = 106;BA.debugLine="Public Sub Initialize As Object"; +Debug.ShouldStop(512); + BA.debugLineNum = 107;BA.debugLine="Return Me"; +Debug.ShouldStop(1024); +if (true) return __ref; + BA.debugLineNum = 108;BA.debugLine="End Sub"; +Debug.ShouldStop(2048); +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_cheklist) ","c_cheklist",5,__ref.getField(false, "ba"),__ref,212); +if (RapidSub.canDelegate("initializecamera2")) { __ref.runUserSub(false, "c_cheklist","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(reparto_izca.keymon.lat.c_cheklist parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +reparto_izca.keymon.lat.c_cheklist parent; +RemoteObject _permission = RemoteObject.createImmutable(""); +RemoteObject _result = RemoteObject.createImmutable(false); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("InitializeCamera2 (c_cheklist) ","c_cheklist",5,__ref.getField(false, "ba"),__ref,212); +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 = 213;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_"; +Debug.ShouldStop(1048576); +parent._starter._rp /*RemoteObject*/ .runVoidMethod ("CheckAndRequest",__ref.getField(false, "ba"),(Object)(parent._starter._rp /*RemoteObject*/ .getField(true,"PERMISSION_CAMERA"))); + BA.debugLineNum = 214;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As"; +Debug.ShouldStop(2097152); +parent.__c.runVoidMethod ("WaitFor","b4xpage_permissionresult", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cheklist", "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); +_result = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(2));Debug.locals.put("Result", _result); +; + BA.debugLineNum = 215;BA.debugLine="If Result Then"; +Debug.ShouldStop(4194304); +if (true) break; + +case 1: +//if +this.state = 6; +if (_result.get().booleanValue()) { +this.state = 3; +}else { +this.state = 5; +}if (true) break; + +case 3: +//C +this.state = 6; + BA.debugLineNum = 216;BA.debugLine="camEx.Initialize(p_cam, frontCamera, Me, \"Camera"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_camex" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.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 = 217;BA.debugLine="frontCamera = camEx.Front"; +Debug.ShouldStop(16777216); +__ref.setField ("_frontcamera" /*RemoteObject*/ ,__ref.getField(false,"_camex" /*RemoteObject*/ ).getField(true,"_front" /*RemoteObject*/ )); + BA.debugLineNum = 218;BA.debugLine="Log(\"inicializamos Camara\")"; +Debug.ShouldStop(33554432); +parent.__c.runVoidMethod ("LogImpl","84390918",RemoteObject.createImmutable("inicializamos Camara"),0); + if (true) break; + +case 5: +//C +this.state = 6; + BA.debugLineNum = 220;BA.debugLine="ToastMessageShow(\"No permission Camara!!!\", True"; +Debug.ShouldStop(134217728); +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 = 222;BA.debugLine="End Sub"; +Debug.ShouldStop(536870912); +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_cheklist) ","c_cheklist",5,__ref.getField(false, "ba"),__ref,747); +if (RapidSub.canDelegate("jobdone")) { return __ref.runUserSub(false, "c_cheklist","jobdone", __ref, _job);} +RemoteObject _resultado = RemoteObject.declareNull("reparto_izca.keymon.lat.dbrequestmanager._dbresult"); +RemoteObject _cliente = RemoteObject.createImmutable(""); +int _i = 0; +RemoteObject _cmd = RemoteObject.declareNull("reparto_izca.keymon.lat.dbrequestmanager._dbcommand"); +RemoteObject _records = null; +RemoteObject _k = RemoteObject.createImmutable(""); +Debug.locals.put("Job", _job); + BA.debugLineNum = 747;BA.debugLine="Sub JobDone(Job As HttpJob)"; +Debug.ShouldStop(1024); + BA.debugLineNum = 748;BA.debugLine="Log(\"JOBDONE CLIENTE . \" & Job.Success)"; +Debug.ShouldStop(2048); +c_cheklist.__c.runVoidMethod ("LogImpl","87536641",RemoteObject.concat(RemoteObject.createImmutable("JOBDONE CLIENTE . "),_job.getField(true,"_success" /*RemoteObject*/ )),0); + BA.debugLineNum = 749;BA.debugLine="If Job.Success = False Then"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_success" /*RemoteObject*/ ),c_cheklist.__c.getField(true,"False"))) { + BA.debugLineNum = 752;BA.debugLine="LogColor(\"Error: \" & Job.tag & \" : \" & Job.Error"; +Debug.ShouldStop(32768); +c_cheklist.__c.runVoidMethod ("LogImpl","87536645",RemoteObject.concat(RemoteObject.createImmutable("Error: "),_job.getField(false,"_tag" /*RemoteObject*/ ),RemoteObject.createImmutable(" : "),_job.getField(true,"_errormessage" /*RemoteObject*/ )),c_cheklist.__c.getField(false,"Colors").getField(true,"Blue")); + }else { + BA.debugLineNum = 754;BA.debugLine="LogColor(\"JobDone: '\" & reqManager.HandleJob(Job"; +Debug.ShouldStop(131072); +c_cheklist.__c.runVoidMethod ("LogImpl","87536647",RemoteObject.concat(RemoteObject.createImmutable("JobDone: '"),__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job)).getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable("' - Registros: "),__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job)).getField(false,"Rows" /*RemoteObject*/ ).runMethod(true,"getSize")),c_cheklist.__c.getField(false,"Colors").getField(true,"Green")); + BA.debugLineNum = 755;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 756;BA.debugLine="Dim resultado As DBResult = reqManager.HandleJo"; +Debug.ShouldStop(524288); +_resultado = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("resultado", _resultado);Debug.locals.put("resultado", _resultado); + BA.debugLineNum = 757;BA.debugLine="If resultado.Tag.As(String).IndexOf(\"ins_checkl"; +Debug.ShouldStop(1048576); +if (RemoteObject.solveBoolean(">",(BA.ObjectToString(_resultado.getField(false,"Tag" /*RemoteObject*/ ))).runMethod(true,"indexOf",(Object)(RemoteObject.createImmutable("ins_checkliPendientes_head_"))),BA.numberCast(double.class, -(double) (0 + 1)))) { + BA.debugLineNum = 758;BA.debugLine="Private cliente As String= resultado.Tag"; +Debug.ShouldStop(2097152); +_cliente = BA.ObjectToString(_resultado.getField(false,"Tag" /*RemoteObject*/ ));Debug.locals.put("cliente", _cliente);Debug.locals.put("cliente", _cliente); + BA.debugLineNum = 759;BA.debugLine="cliente = cliente.SubString(cliente.IndexOf(\"_"; +Debug.ShouldStop(4194304); +_cliente = _cliente.runMethod(true,"substring",(Object)(RemoteObject.solve(new RemoteObject[] {_cliente.runMethod(true,"indexOf",(Object)(RemoteObject.createImmutable("_"))),RemoteObject.createImmutable(24)}, "+",1, 1)));Debug.locals.put("cliente", _cliente); + BA.debugLineNum = 760;BA.debugLine="Log($\"Cliente1:${cliente}\"$)"; +Debug.ShouldStop(8388608); +c_cheklist.__c.runVoidMethod ("LogImpl","87536653",(RemoteObject.concat(RemoteObject.createImmutable("Cliente1:"),c_cheklist.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cliente))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 762;BA.debugLine="c=Starter.skmt.ExecQuery(\"SELECT USUARIO, PLAC"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_cheklist._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT USUARIO, PLACA, FECHA_CAPTURA, TARJETA_CIRCULACION , POLIZA_SEGURO, LICENCIA_CONDUCIR, LIMPIA_EXTERNA, LIMPIA_INTERNA, TRIANGULO, GATO, LLANTA_REFACCION, CARROCERIA, CARROCERIA_COMENTARIOS, LUCES, LUCES_COMENTARIOS, CONDICION_PLACAS, CONDICION_PLACAS_COMENTARIOS, CONDICION_LLANTAS_DEL_DER, CONDICION_LLANTAS_DEL_IZQ, CONDICION_LLANTAS_TRASERA_DER, CONDICION_LLANTAS_TRASERA_IZQ, ACEITE, ANTICONGELANTE, FRENOS, AIRE, FUGAS, COMETARIOS_FUGAS, FOTO1, FOTO12, FOTO3, FOTO4, KILIMETRAJE, RUTA FROM CHECKLIST2")))); + BA.debugLineNum = 763;BA.debugLine="Log($\"Pedido PENDIENTE: ${c.RowCount}\"$)"; +Debug.ShouldStop(67108864); +c_cheklist.__c.runVoidMethod ("LogImpl","87536656",(RemoteObject.concat(RemoteObject.createImmutable("Pedido PENDIENTE: "),c_cheklist.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount")))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 764;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 = 765;BA.debugLine="For i = 0 To c.RowCount -1"; +Debug.ShouldStop(268435456); +{ +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 = 766;BA.debugLine="c.Position=i"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 767;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(1073741824); +_cmd = RemoteObject.createNew ("reparto_izca.keymon.lat.dbrequestmanager._dbcommand");Debug.locals.put("cmd", _cmd); + BA.debugLineNum = 769;BA.debugLine="foto1 = c.GetBlob(\"FOTO1\")"; +Debug.ShouldStop(1); +__ref.setField ("_foto1" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(false,"GetBlob",(Object)(RemoteObject.createImmutable("FOTO1")))); + BA.debugLineNum = 770;BA.debugLine="foto2 = c.GetBlob(\"FOTO12\")"; +Debug.ShouldStop(2); +__ref.setField ("_foto2" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(false,"GetBlob",(Object)(RemoteObject.createImmutable("FOTO12")))); + BA.debugLineNum = 771;BA.debugLine="foto3 = c.GetBlob(\"FOTO3\")"; +Debug.ShouldStop(4); +__ref.setField ("_foto3" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(false,"GetBlob",(Object)(RemoteObject.createImmutable("FOTO3")))); + BA.debugLineNum = 772;BA.debugLine="foto4 = c.GetBlob(\"FOTO4\")"; +Debug.ShouldStop(8); +__ref.setField ("_foto4" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(false,"GetBlob",(Object)(RemoteObject.createImmutable("FOTO4")))); + BA.debugLineNum = 774;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(32); +_cmd.runVoidMethod ("Initialize"); + BA.debugLineNum = 775;BA.debugLine="cmd.Name = \"update_CHECK_MARDS\""; +Debug.ShouldStop(64); +_cmd.setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("update_CHECK_MARDS")); + BA.debugLineNum = 776;BA.debugLine="cmd.Parameters = Array As Object(c.GetString"; +Debug.ShouldStop(128); +_cmd.setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {20},new Object[] {(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CONDICION_LLANTAS_DEL_DER")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CONDICION_LLANTAS_DEL_IZQ")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CONDICION_LLANTAS_TRASERA_DER")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CONDICION_LLANTAS_TRASERA_IZQ")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ACEITE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ANTICONGELANTE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("FRENOS")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("AIRE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("FUGAS")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("COMETARIOS_FUGAS")))),(__ref.getField(false,"_foto1" /*RemoteObject*/ )),(__ref.getField(false,"_foto2" /*RemoteObject*/ )),(__ref.getField(false,"_foto3" /*RemoteObject*/ )),(__ref.getField(false,"_foto4" /*RemoteObject*/ )),(c_cheklist._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_principal" /*RemoteObject*/ ).getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("KILIMETRAJE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("RUTA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PLACA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("FECHA_CAPTURA"))))})); + BA.debugLineNum = 777;BA.debugLine="reqManager.ExecuteCommand(cmd , \"update\")"; +Debug.ShouldStop(256); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(_cmd),(Object)((RemoteObject.createImmutable("update")))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 781;BA.debugLine="For Each records() As Object In resultado.Rows"; +Debug.ShouldStop(4096); +{ +final RemoteObject group28 = _resultado.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen28 = group28.runMethod(true,"getSize").get() +;int index28 = 0; +; +for (; index28 < groupLen28;index28++){ +_records = (group28.runMethod(false,"Get",index28));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 782;BA.debugLine="For Each k As String In resultado.Columns.Key"; +Debug.ShouldStop(8192); +{ +final RemoteObject group29 = _resultado.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Keys"); +final int groupLen29 = group29.runMethod(true,"getSize").get() +;int index29 = 0; +; +for (; index29 < groupLen29;index29++){ +_k = BA.ObjectToString(group29.runMethod(false,"Get",index29));Debug.locals.put("k", _k); +Debug.locals.put("k", _k); + BA.debugLineNum = 783;BA.debugLine="Log(resultado.Tag & \": \" & k & \": \" & record"; +Debug.ShouldStop(16384); +c_cheklist.__c.runVoidMethod ("LogImpl","87536676",RemoteObject.concat(_resultado.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(": "),_k,RemoteObject.createImmutable(": "),_records.getArrayElement(false,BA.numberCast(int.class, _resultado.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((_k)))))),0); + } +}Debug.locals.put("k", _k); +; + } +}Debug.locals.put("records", _records); +; + BA.debugLineNum = 786;BA.debugLine="Starter.skmt.ExecNonQuery(\"UPDATE CHECADO_CHEC"; +Debug.ShouldStop(131072); +c_cheklist._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("UPDATE CHECADO_CHECK set CHECADO = 1 "))); + BA.debugLineNum = 787;BA.debugLine="B4XPages.MainPage.principal.checachek"; +Debug.ShouldStop(262144); +c_cheklist._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_principal" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.c_principal.class, "_checachek" /*RemoteObject*/ ); + }; + }; + BA.debugLineNum = 791;BA.debugLine="Job.Release"; +Debug.ShouldStop(4194304); +_job.runClassMethod (reparto_izca.keymon.lat.httpjob.class, "_release" /*RemoteObject*/ ); + }; + BA.debugLineNum = 794;BA.debugLine="End Sub"; +Debug.ShouldStop(33554432); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _mandapendientes(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("mandaPendientes (c_cheklist) ","c_cheklist",5,__ref.getField(false, "ba"),__ref,724); +if (RapidSub.canDelegate("mandapendientes")) { return __ref.runUserSub(false, "c_cheklist","mandapendientes", __ref);} +int _i = 0; +RemoteObject _cmd = RemoteObject.declareNull("reparto_izca.keymon.lat.dbrequestmanager._dbcommand"); + BA.debugLineNum = 724;BA.debugLine="Sub mandaPendientes"; +Debug.ShouldStop(524288); + BA.debugLineNum = 725;BA.debugLine="Log(\"MandaPendientes\")"; +Debug.ShouldStop(1048576); +c_cheklist.__c.runVoidMethod ("LogImpl","87471105",RemoteObject.createImmutable("MandaPendientes"),0); + BA.debugLineNum = 727;BA.debugLine="c=Starter.skmt.ExecQuery(\"SELECT USUARIO, PLACA,"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_cheklist._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT USUARIO, PLACA, FECHA_CAPTURA, TARJETA_CIRCULACION , POLIZA_SEGURO, LICENCIA_CONDUCIR, LIMPIA_EXTERNA, LIMPIA_INTERNA, TRIANGULO, GATO, LLANTA_REFACCION, CARROCERIA, CARROCERIA_COMENTARIOS, LUCES, LUCES_COMENTARIOS, CONDICION_PLACAS, CONDICION_PLACAS_COMENTARIOS, CONDICION_LLANTAS_DEL_DER, CONDICION_LLANTAS_DEL_IZQ, CONDICION_LLANTAS_TRASERA_DER, CONDICION_LLANTAS_TRASERA_IZQ, ACEITE, ANTICONGELANTE, FRENOS, AIRE, FUGAS, COMETARIOS_FUGAS, FOTO1, FOTO12, FOTO3, FOTO4 FROM CHECKLIST2")))); + BA.debugLineNum = 728;BA.debugLine="Log($\"Pedido PENDIENTE: ${c.RowCount}\"$)"; +Debug.ShouldStop(8388608); +c_cheklist.__c.runVoidMethod ("LogImpl","87471108",(RemoteObject.concat(RemoteObject.createImmutable("Pedido PENDIENTE: "),c_cheklist.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount")))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 729;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 = 730;BA.debugLine="For i = 0 To c.RowCount -1"; +Debug.ShouldStop(33554432); +{ +final int step5 = 1; +final int limit5 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).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 = 731;BA.debugLine="c.Position=i"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 732;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(134217728); +_cmd = RemoteObject.createNew ("reparto_izca.keymon.lat.dbrequestmanager._dbcommand");Debug.locals.put("cmd", _cmd); + BA.debugLineNum = 734;BA.debugLine="foto1 = c.GetBlob(\"FOTO1\")"; +Debug.ShouldStop(536870912); +__ref.setField ("_foto1" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(false,"GetBlob",(Object)(RemoteObject.createImmutable("FOTO1")))); + BA.debugLineNum = 735;BA.debugLine="foto2 = c.GetBlob(\"FOTO12\")"; +Debug.ShouldStop(1073741824); +__ref.setField ("_foto2" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(false,"GetBlob",(Object)(RemoteObject.createImmutable("FOTO12")))); + BA.debugLineNum = 736;BA.debugLine="foto3 = c.GetBlob(\"FOTO3\")"; +Debug.ShouldStop(-2147483648); +__ref.setField ("_foto3" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(false,"GetBlob",(Object)(RemoteObject.createImmutable("FOTO3")))); + BA.debugLineNum = 737;BA.debugLine="foto4 = c.GetBlob(\"FOTO4\")"; +Debug.ShouldStop(1); +__ref.setField ("_foto4" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(false,"GetBlob",(Object)(RemoteObject.createImmutable("FOTO4")))); + BA.debugLineNum = 739;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(4); +_cmd.runVoidMethod ("Initialize"); + BA.debugLineNum = 740;BA.debugLine="cmd.Name = \"insert_CHECK_MARDS\""; +Debug.ShouldStop(8); +_cmd.setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_CHECK_MARDS")); + BA.debugLineNum = 741;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\"U"; +Debug.ShouldStop(16); +_cmd.setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {17},new Object[] {(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PLACA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("FECHA_CAPTURA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TARJETA_CIRCULACION")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("POLIZA_SEGURO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("LICENCIA_CONDUCIR")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("LIMPIA_EXTERNA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("LIMPIA_INTERNA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TRIANGULO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("GATO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("LLANTA_REFACCION")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CARROCERIA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CARROCERIA_COMENTARIOS")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("LUCES")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("LUCES_COMENTARIOS")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CONDICION_PLACAS")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CONDICION_PLACAS_COMENTARIOS"))))})); + BA.debugLineNum = 742;BA.debugLine="reqManager.ExecuteCommand(cmd , $\"ins_checkliPe"; +Debug.ShouldStop(32); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(_cmd),(Object)(((RemoteObject.concat(RemoteObject.createImmutable("ins_checkliPendientes_head_"),c_cheklist.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO")))))),RemoteObject.createImmutable("")))))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 745;BA.debugLine="End Sub"; +Debug.ShouldStop(256); +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_cheklist) ","c_cheklist",5,__ref.getField(false, "ba"),__ref,344); +if (RapidSub.canDelegate("p_camara_click")) { return __ref.runUserSub(false, "c_cheklist","p_camara_click", __ref);} + BA.debugLineNum = 344;BA.debugLine="Private Sub p_camara_Click"; +Debug.ShouldStop(8388608); + BA.debugLineNum = 346;BA.debugLine="End Sub"; +Debug.ShouldStop(33554432); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _rb_docno1_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("rb_docno1_CheckedChange (c_cheklist) ","c_cheklist",5,__ref.getField(false, "ba"),__ref,393); +if (RapidSub.canDelegate("rb_docno1_checkedchange")) { return __ref.runUserSub(false, "c_cheklist","rb_docno1_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 393;BA.debugLine="Private Sub rb_docno1_CheckedChange(Checked As Boo"; +Debug.ShouldStop(256); + BA.debugLineNum = 394;BA.debugLine="p1 = \"No\""; +Debug.ShouldStop(512); +__ref.setField ("_p1" /*RemoteObject*/ ,BA.ObjectToString("No")); + 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 _rb_docno11_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("rb_docno11_CheckedChange (c_cheklist) ","c_cheklist",5,__ref.getField(false, "ba"),__ref,465); +if (RapidSub.canDelegate("rb_docno11_checkedchange")) { return __ref.runUserSub(false, "c_cheklist","rb_docno11_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 465;BA.debugLine="Private Sub rb_docno11_CheckedChange(Checked As Bo"; +Debug.ShouldStop(65536); + BA.debugLineNum = 466;BA.debugLine="p11 = \"Incorrecto\""; +Debug.ShouldStop(131072); +__ref.setField ("_p11" /*RemoteObject*/ ,BA.ObjectToString("Incorrecto")); + BA.debugLineNum = 467;BA.debugLine="End Sub"; +Debug.ShouldStop(262144); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _rb_docno13_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("rb_docno13_CheckedChange (c_cheklist) ","c_cheklist",5,__ref.getField(false, "ba"),__ref,473); +if (RapidSub.canDelegate("rb_docno13_checkedchange")) { return __ref.runUserSub(false, "c_cheklist","rb_docno13_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 473;BA.debugLine="Private Sub rb_docno13_CheckedChange(Checked As Bo"; +Debug.ShouldStop(16777216); + BA.debugLineNum = 474;BA.debugLine="p13 = \"Incorrecto\""; +Debug.ShouldStop(33554432); +__ref.setField ("_p13" /*RemoteObject*/ ,BA.ObjectToString("Incorrecto")); + 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 _rb_docno15_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("rb_docno15_CheckedChange (c_cheklist) ","c_cheklist",5,__ref.getField(false, "ba"),__ref,481); +if (RapidSub.canDelegate("rb_docno15_checkedchange")) { return __ref.runUserSub(false, "c_cheklist","rb_docno15_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 481;BA.debugLine="Private Sub rb_docno15_CheckedChange(Checked As Bo"; +Debug.ShouldStop(1); + BA.debugLineNum = 482;BA.debugLine="p15 = \"Incorrecto\""; +Debug.ShouldStop(2); +__ref.setField ("_p15" /*RemoteObject*/ ,BA.ObjectToString("Incorrecto")); + BA.debugLineNum = 483;BA.debugLine="End Sub"; +Debug.ShouldStop(4); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _rb_docno16_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("rb_docno16_CheckedChange (c_cheklist) ","c_cheklist",5,__ref.getField(false, "ba"),__ref,489); +if (RapidSub.canDelegate("rb_docno16_checkedchange")) { return __ref.runUserSub(false, "c_cheklist","rb_docno16_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 489;BA.debugLine="Private Sub rb_docno16_CheckedChange(Checked As Bo"; +Debug.ShouldStop(256); + BA.debugLineNum = 490;BA.debugLine="p16 = \"Incorrecto\""; +Debug.ShouldStop(512); +__ref.setField ("_p16" /*RemoteObject*/ ,BA.ObjectToString("Incorrecto")); + BA.debugLineNum = 491;BA.debugLine="End Sub"; +Debug.ShouldStop(1024); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _rb_docno17_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("rb_docno17_CheckedChange (c_cheklist) ","c_cheklist",5,__ref.getField(false, "ba"),__ref,497); +if (RapidSub.canDelegate("rb_docno17_checkedchange")) { return __ref.runUserSub(false, "c_cheklist","rb_docno17_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 497;BA.debugLine="Private Sub rb_docno17_CheckedChange(Checked As Bo"; +Debug.ShouldStop(65536); + BA.debugLineNum = 498;BA.debugLine="p17 = \"Incorrecto\""; +Debug.ShouldStop(131072); +__ref.setField ("_p17" /*RemoteObject*/ ,BA.ObjectToString("Incorrecto")); + BA.debugLineNum = 499;BA.debugLine="End Sub"; +Debug.ShouldStop(262144); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _rb_docno18_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("rb_docno18_CheckedChange (c_cheklist) ","c_cheklist",5,__ref.getField(false, "ba"),__ref,505); +if (RapidSub.canDelegate("rb_docno18_checkedchange")) { return __ref.runUserSub(false, "c_cheklist","rb_docno18_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 505;BA.debugLine="Private Sub rb_docno18_CheckedChange(Checked As Bo"; +Debug.ShouldStop(16777216); + BA.debugLineNum = 506;BA.debugLine="p18 = \"Incorrecto\""; +Debug.ShouldStop(33554432); +__ref.setField ("_p18" /*RemoteObject*/ ,BA.ObjectToString("Incorrecto")); + BA.debugLineNum = 507;BA.debugLine="End Sub"; +Debug.ShouldStop(67108864); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _rb_docno19_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("rb_docno19_CheckedChange (c_cheklist) ","c_cheklist",5,__ref.getField(false, "ba"),__ref,513); +if (RapidSub.canDelegate("rb_docno19_checkedchange")) { return __ref.runUserSub(false, "c_cheklist","rb_docno19_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 513;BA.debugLine="Private Sub rb_docno19_CheckedChange(Checked As Bo"; +Debug.ShouldStop(1); + BA.debugLineNum = 514;BA.debugLine="p19 = \"Incorrecto\""; +Debug.ShouldStop(2); +__ref.setField ("_p19" /*RemoteObject*/ ,BA.ObjectToString("Incorrecto")); + BA.debugLineNum = 515;BA.debugLine="End Sub"; +Debug.ShouldStop(4); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _rb_docno2_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("rb_docno2_CheckedChange (c_cheklist) ","c_cheklist",5,__ref.getField(false, "ba"),__ref,401); +if (RapidSub.canDelegate("rb_docno2_checkedchange")) { return __ref.runUserSub(false, "c_cheklist","rb_docno2_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 401;BA.debugLine="Private Sub rb_docno2_CheckedChange(Checked As Boo"; +Debug.ShouldStop(65536); + BA.debugLineNum = 402;BA.debugLine="p2 = \"No\""; +Debug.ShouldStop(131072); +__ref.setField ("_p2" /*RemoteObject*/ ,BA.ObjectToString("No")); + BA.debugLineNum = 403;BA.debugLine="End Sub"; +Debug.ShouldStop(262144); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _rb_docno3_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("rb_docno3_CheckedChange (c_cheklist) ","c_cheklist",5,__ref.getField(false, "ba"),__ref,409); +if (RapidSub.canDelegate("rb_docno3_checkedchange")) { return __ref.runUserSub(false, "c_cheklist","rb_docno3_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 409;BA.debugLine="Private Sub rb_docno3_CheckedChange(Checked As Boo"; +Debug.ShouldStop(16777216); + BA.debugLineNum = 410;BA.debugLine="p3 = \"No\""; +Debug.ShouldStop(33554432); +__ref.setField ("_p3" /*RemoteObject*/ ,BA.ObjectToString("No")); + BA.debugLineNum = 411;BA.debugLine="End Sub"; +Debug.ShouldStop(67108864); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _rb_docno4_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("rb_docno4_CheckedChange (c_cheklist) ","c_cheklist",5,__ref.getField(false, "ba"),__ref,417); +if (RapidSub.canDelegate("rb_docno4_checkedchange")) { return __ref.runUserSub(false, "c_cheklist","rb_docno4_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 417;BA.debugLine="Private Sub rb_docno4_CheckedChange(Checked As Boo"; +Debug.ShouldStop(1); + BA.debugLineNum = 418;BA.debugLine="p4 = \"No\""; +Debug.ShouldStop(2); +__ref.setField ("_p4" /*RemoteObject*/ ,BA.ObjectToString("No")); + BA.debugLineNum = 419;BA.debugLine="End Sub"; +Debug.ShouldStop(4); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _rb_docno5_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("rb_docno5_CheckedChange (c_cheklist) ","c_cheklist",5,__ref.getField(false, "ba"),__ref,425); +if (RapidSub.canDelegate("rb_docno5_checkedchange")) { return __ref.runUserSub(false, "c_cheklist","rb_docno5_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 425;BA.debugLine="Private Sub rb_docno5_CheckedChange(Checked As Boo"; +Debug.ShouldStop(256); + BA.debugLineNum = 426;BA.debugLine="p5 = \"No\""; +Debug.ShouldStop(512); +__ref.setField ("_p5" /*RemoteObject*/ ,BA.ObjectToString("No")); + BA.debugLineNum = 427;BA.debugLine="End Sub"; +Debug.ShouldStop(1024); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _rb_docno6_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("rb_docno6_CheckedChange (c_cheklist) ","c_cheklist",5,__ref.getField(false, "ba"),__ref,433); +if (RapidSub.canDelegate("rb_docno6_checkedchange")) { return __ref.runUserSub(false, "c_cheklist","rb_docno6_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 433;BA.debugLine="Private Sub rb_docno6_CheckedChange(Checked As Boo"; +Debug.ShouldStop(65536); + BA.debugLineNum = 434;BA.debugLine="p6 = \"No\""; +Debug.ShouldStop(131072); +__ref.setField ("_p6" /*RemoteObject*/ ,BA.ObjectToString("No")); + BA.debugLineNum = 435;BA.debugLine="End Sub"; +Debug.ShouldStop(262144); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _rb_docno7_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("rb_docno7_CheckedChange (c_cheklist) ","c_cheklist",5,__ref.getField(false, "ba"),__ref,441); +if (RapidSub.canDelegate("rb_docno7_checkedchange")) { return __ref.runUserSub(false, "c_cheklist","rb_docno7_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 441;BA.debugLine="Private Sub rb_docno7_CheckedChange(Checked As Boo"; +Debug.ShouldStop(16777216); + BA.debugLineNum = 442;BA.debugLine="p7 = \"No\""; +Debug.ShouldStop(33554432); +__ref.setField ("_p7" /*RemoteObject*/ ,BA.ObjectToString("No")); + BA.debugLineNum = 443;BA.debugLine="End Sub"; +Debug.ShouldStop(67108864); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _rb_docno8_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("rb_docno8_CheckedChange (c_cheklist) ","c_cheklist",5,__ref.getField(false, "ba"),__ref,449); +if (RapidSub.canDelegate("rb_docno8_checkedchange")) { return __ref.runUserSub(false, "c_cheklist","rb_docno8_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 449;BA.debugLine="Private Sub rb_docno8_CheckedChange(Checked As Boo"; +Debug.ShouldStop(1); + BA.debugLineNum = 450;BA.debugLine="p8 = \"No\""; +Debug.ShouldStop(2); +__ref.setField ("_p8" /*RemoteObject*/ ,BA.ObjectToString("No")); + BA.debugLineNum = 451;BA.debugLine="End Sub"; +Debug.ShouldStop(4); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _rb_docno9_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("rb_docno9_CheckedChange (c_cheklist) ","c_cheklist",5,__ref.getField(false, "ba"),__ref,457); +if (RapidSub.canDelegate("rb_docno9_checkedchange")) { return __ref.runUserSub(false, "c_cheklist","rb_docno9_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 457;BA.debugLine="Private Sub rb_docno9_CheckedChange(Checked As Boo"; +Debug.ShouldStop(256); + BA.debugLineNum = 458;BA.debugLine="p9 = \"Incorrecto\""; +Debug.ShouldStop(512); +__ref.setField ("_p9" /*RemoteObject*/ ,BA.ObjectToString("Incorrecto")); + BA.debugLineNum = 459;BA.debugLine="End Sub"; +Debug.ShouldStop(1024); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _rb_docsi1_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("rb_docsi1_CheckedChange (c_cheklist) ","c_cheklist",5,__ref.getField(false, "ba"),__ref,397); +if (RapidSub.canDelegate("rb_docsi1_checkedchange")) { return __ref.runUserSub(false, "c_cheklist","rb_docsi1_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 397;BA.debugLine="Private Sub rb_docsi1_CheckedChange(Checked As Boo"; +Debug.ShouldStop(4096); + BA.debugLineNum = 398;BA.debugLine="p1 = \"Si\""; +Debug.ShouldStop(8192); +__ref.setField ("_p1" /*RemoteObject*/ ,BA.ObjectToString("Si")); + BA.debugLineNum = 399;BA.debugLine="End Sub"; +Debug.ShouldStop(16384); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _rb_docsi11_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("rb_docsi11_CheckedChange (c_cheklist) ","c_cheklist",5,__ref.getField(false, "ba"),__ref,469); +if (RapidSub.canDelegate("rb_docsi11_checkedchange")) { return __ref.runUserSub(false, "c_cheklist","rb_docsi11_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 469;BA.debugLine="Private Sub rb_docsi11_CheckedChange(Checked As Bo"; +Debug.ShouldStop(1048576); + BA.debugLineNum = 470;BA.debugLine="p11 = \"Correcto\""; +Debug.ShouldStop(2097152); +__ref.setField ("_p11" /*RemoteObject*/ ,BA.ObjectToString("Correcto")); + BA.debugLineNum = 471;BA.debugLine="End Sub"; +Debug.ShouldStop(4194304); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _rb_docsi13_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("rb_docsi13_CheckedChange (c_cheklist) ","c_cheklist",5,__ref.getField(false, "ba"),__ref,477); +if (RapidSub.canDelegate("rb_docsi13_checkedchange")) { return __ref.runUserSub(false, "c_cheklist","rb_docsi13_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 477;BA.debugLine="Private Sub rb_docsi13_CheckedChange(Checked As Bo"; +Debug.ShouldStop(268435456); + BA.debugLineNum = 478;BA.debugLine="p13 = \"Correcto\""; +Debug.ShouldStop(536870912); +__ref.setField ("_p13" /*RemoteObject*/ ,BA.ObjectToString("Correcto")); + 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 _rb_docsi15_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("rb_docsi15_CheckedChange (c_cheklist) ","c_cheklist",5,__ref.getField(false, "ba"),__ref,485); +if (RapidSub.canDelegate("rb_docsi15_checkedchange")) { return __ref.runUserSub(false, "c_cheklist","rb_docsi15_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 485;BA.debugLine="Private Sub rb_docsi15_CheckedChange(Checked As Bo"; +Debug.ShouldStop(16); + BA.debugLineNum = 486;BA.debugLine="p15 = \"Correcto\""; +Debug.ShouldStop(32); +__ref.setField ("_p15" /*RemoteObject*/ ,BA.ObjectToString("Correcto")); + BA.debugLineNum = 487;BA.debugLine="End Sub"; +Debug.ShouldStop(64); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _rb_docsi16_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("rb_docsi16_CheckedChange (c_cheklist) ","c_cheklist",5,__ref.getField(false, "ba"),__ref,493); +if (RapidSub.canDelegate("rb_docsi16_checkedchange")) { return __ref.runUserSub(false, "c_cheklist","rb_docsi16_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 493;BA.debugLine="Private Sub rb_docsi16_CheckedChange(Checked As Bo"; +Debug.ShouldStop(4096); + BA.debugLineNum = 494;BA.debugLine="p16 = \"Correcto\""; +Debug.ShouldStop(8192); +__ref.setField ("_p16" /*RemoteObject*/ ,BA.ObjectToString("Correcto")); + 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 _rb_docsi17_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("rb_docsi17_CheckedChange (c_cheklist) ","c_cheklist",5,__ref.getField(false, "ba"),__ref,501); +if (RapidSub.canDelegate("rb_docsi17_checkedchange")) { return __ref.runUserSub(false, "c_cheklist","rb_docsi17_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 501;BA.debugLine="Private Sub rb_docsi17_CheckedChange(Checked As Bo"; +Debug.ShouldStop(1048576); + BA.debugLineNum = 502;BA.debugLine="p17 = \"Correcto\""; +Debug.ShouldStop(2097152); +__ref.setField ("_p17" /*RemoteObject*/ ,BA.ObjectToString("Correcto")); + BA.debugLineNum = 503;BA.debugLine="End Sub"; +Debug.ShouldStop(4194304); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _rb_docsi18_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("rb_docsi18_CheckedChange (c_cheklist) ","c_cheklist",5,__ref.getField(false, "ba"),__ref,509); +if (RapidSub.canDelegate("rb_docsi18_checkedchange")) { return __ref.runUserSub(false, "c_cheklist","rb_docsi18_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 509;BA.debugLine="Private Sub rb_docsi18_CheckedChange(Checked As Bo"; +Debug.ShouldStop(268435456); + BA.debugLineNum = 510;BA.debugLine="p18 = \"Correcto\""; +Debug.ShouldStop(536870912); +__ref.setField ("_p18" /*RemoteObject*/ ,BA.ObjectToString("Correcto")); + BA.debugLineNum = 511;BA.debugLine="End Sub"; +Debug.ShouldStop(1073741824); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _rb_docsi19_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("rb_docsi19_CheckedChange (c_cheklist) ","c_cheklist",5,__ref.getField(false, "ba"),__ref,517); +if (RapidSub.canDelegate("rb_docsi19_checkedchange")) { return __ref.runUserSub(false, "c_cheklist","rb_docsi19_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 517;BA.debugLine="Private Sub rb_docsi19_CheckedChange(Checked As Bo"; +Debug.ShouldStop(16); + BA.debugLineNum = 518;BA.debugLine="p19 = \"Correcto\""; +Debug.ShouldStop(32); +__ref.setField ("_p19" /*RemoteObject*/ ,BA.ObjectToString("Correcto")); + BA.debugLineNum = 519;BA.debugLine="End Sub"; +Debug.ShouldStop(64); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _rb_docsi2_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("rb_docsi2_CheckedChange (c_cheklist) ","c_cheklist",5,__ref.getField(false, "ba"),__ref,405); +if (RapidSub.canDelegate("rb_docsi2_checkedchange")) { return __ref.runUserSub(false, "c_cheklist","rb_docsi2_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 405;BA.debugLine="Private Sub rb_docsi2_CheckedChange(Checked As Boo"; +Debug.ShouldStop(1048576); + BA.debugLineNum = 406;BA.debugLine="p2 = \"Si\""; +Debug.ShouldStop(2097152); +__ref.setField ("_p2" /*RemoteObject*/ ,BA.ObjectToString("Si")); + BA.debugLineNum = 407;BA.debugLine="End Sub"; +Debug.ShouldStop(4194304); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _rb_docsi3_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("rb_docsi3_CheckedChange (c_cheklist) ","c_cheklist",5,__ref.getField(false, "ba"),__ref,413); +if (RapidSub.canDelegate("rb_docsi3_checkedchange")) { return __ref.runUserSub(false, "c_cheklist","rb_docsi3_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 413;BA.debugLine="Private Sub rb_docsi3_CheckedChange(Checked As Boo"; +Debug.ShouldStop(268435456); + BA.debugLineNum = 414;BA.debugLine="p3 = \"Si\""; +Debug.ShouldStop(536870912); +__ref.setField ("_p3" /*RemoteObject*/ ,BA.ObjectToString("Si")); + BA.debugLineNum = 415;BA.debugLine="End Sub"; +Debug.ShouldStop(1073741824); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _rb_docsi4_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("rb_docsi4_CheckedChange (c_cheklist) ","c_cheklist",5,__ref.getField(false, "ba"),__ref,421); +if (RapidSub.canDelegate("rb_docsi4_checkedchange")) { return __ref.runUserSub(false, "c_cheklist","rb_docsi4_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 421;BA.debugLine="Private Sub rb_docsi4_CheckedChange(Checked As Boo"; +Debug.ShouldStop(16); + BA.debugLineNum = 422;BA.debugLine="p4 = \"Si\""; +Debug.ShouldStop(32); +__ref.setField ("_p4" /*RemoteObject*/ ,BA.ObjectToString("Si")); + BA.debugLineNum = 423;BA.debugLine="End Sub"; +Debug.ShouldStop(64); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _rb_docsi5_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("rb_docsi5_CheckedChange (c_cheklist) ","c_cheklist",5,__ref.getField(false, "ba"),__ref,429); +if (RapidSub.canDelegate("rb_docsi5_checkedchange")) { return __ref.runUserSub(false, "c_cheklist","rb_docsi5_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 429;BA.debugLine="Private Sub rb_docsi5_CheckedChange(Checked As Boo"; +Debug.ShouldStop(4096); + BA.debugLineNum = 430;BA.debugLine="p5 = \"Si\""; +Debug.ShouldStop(8192); +__ref.setField ("_p5" /*RemoteObject*/ ,BA.ObjectToString("Si")); + BA.debugLineNum = 431;BA.debugLine="End Sub"; +Debug.ShouldStop(16384); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _rb_docsi6_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("rb_docsi6_CheckedChange (c_cheklist) ","c_cheklist",5,__ref.getField(false, "ba"),__ref,437); +if (RapidSub.canDelegate("rb_docsi6_checkedchange")) { return __ref.runUserSub(false, "c_cheklist","rb_docsi6_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 437;BA.debugLine="Private Sub rb_docsi6_CheckedChange(Checked As Boo"; +Debug.ShouldStop(1048576); + BA.debugLineNum = 438;BA.debugLine="p6 = \"Si\""; +Debug.ShouldStop(2097152); +__ref.setField ("_p6" /*RemoteObject*/ ,BA.ObjectToString("Si")); + BA.debugLineNum = 439;BA.debugLine="End Sub"; +Debug.ShouldStop(4194304); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _rb_docsi7_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("rb_docsi7_CheckedChange (c_cheklist) ","c_cheklist",5,__ref.getField(false, "ba"),__ref,445); +if (RapidSub.canDelegate("rb_docsi7_checkedchange")) { return __ref.runUserSub(false, "c_cheklist","rb_docsi7_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 445;BA.debugLine="Private Sub rb_docsi7_CheckedChange(Checked As Boo"; +Debug.ShouldStop(268435456); + BA.debugLineNum = 446;BA.debugLine="p7 = \"Si\""; +Debug.ShouldStop(536870912); +__ref.setField ("_p7" /*RemoteObject*/ ,BA.ObjectToString("Si")); + 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 _rb_docsi8_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("rb_docsi8_CheckedChange (c_cheklist) ","c_cheklist",5,__ref.getField(false, "ba"),__ref,453); +if (RapidSub.canDelegate("rb_docsi8_checkedchange")) { return __ref.runUserSub(false, "c_cheklist","rb_docsi8_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 453;BA.debugLine="Private Sub rb_docsi8_CheckedChange(Checked As Boo"; +Debug.ShouldStop(16); + BA.debugLineNum = 454;BA.debugLine="p8 = \"Si\""; +Debug.ShouldStop(32); +__ref.setField ("_p8" /*RemoteObject*/ ,BA.ObjectToString("Si")); + 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 _rb_docsi9_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("rb_docsi9_CheckedChange (c_cheklist) ","c_cheklist",5,__ref.getField(false, "ba"),__ref,461); +if (RapidSub.canDelegate("rb_docsi9_checkedchange")) { return __ref.runUserSub(false, "c_cheklist","rb_docsi9_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 461;BA.debugLine="Private Sub rb_docsi9_CheckedChange(Checked As Boo"; +Debug.ShouldStop(4096); + BA.debugLineNum = 462;BA.debugLine="p9 = \"Correcto\""; +Debug.ShouldStop(8192); +__ref.setField ("_p9" /*RemoteObject*/ ,BA.ObjectToString("Correcto")); + 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 _stopcamera2(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("StopCamera2 (c_cheklist) ","c_cheklist",5,__ref.getField(false, "ba"),__ref,354); +if (RapidSub.canDelegate("stopcamera2")) { return __ref.runUserSub(false, "c_cheklist","stopcamera2", __ref);} + BA.debugLineNum = 354;BA.debugLine="Private Sub StopCamera2"; +Debug.ShouldStop(2); + BA.debugLineNum = 356;BA.debugLine="If camEx.IsInitialized Then"; +Debug.ShouldStop(8); +if (__ref.getField(false,"_camex" /*RemoteObject*/ ).runMethod(true,"IsInitialized" /*RemoteObject*/ ).get().booleanValue()) { + BA.debugLineNum = 357;BA.debugLine="camEx.Release"; +Debug.ShouldStop(16); +__ref.getField(false,"_camex" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.cameraexclass.class, "_release" /*RemoteObject*/ ); + }; + BA.debugLineNum = 359;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/reparto_izca/keymon/lat/c_cliente.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_cliente.java new file mode 100644 index 0000000..2aa59ae --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_cliente.java @@ -0,0 +1,133 @@ + +package reparto_izca.keymon.lat; + +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 _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 _cuenta = 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 _impresoraconectada = RemoteObject.createImmutable(false); +public static RemoteObject _longitud = RemoteObject.createImmutable(""); +public static RemoteObject _latitud = RemoteObject.createImmutable(""); +public static RemoteObject _nombre = RemoteObject.createImmutable(""); +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 _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 _reqmanager = RemoteObject.declareNull("reparto_izca.keymon.lat.dbrequestmanager"); +public static RemoteObject _b_noentrega = 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 _d = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _ime = RemoteObject.declareNull("anywheresoftware.b4a.objects.IME"); +public static RemoteObject _tar = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +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 _printer1 = RemoteObject.declareNull("reparto_izca.keymon.lat.escposprinter"); +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 _hist = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _pasa_imp = RemoteObject.createImmutable(""); +public static RemoteObject _b_imp = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _total_cliente = RemoteObject.createImmutable(""); +public static RemoteObject _credito = RemoteObject.createImmutable(""); +public static RemoteObject _p_principal = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _b_paso2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _l_cant = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _errorimpresora = RemoteObject.createImmutable(0); +public static RemoteObject _banderaimp = RemoteObject.createImmutable(0); +public static RemoteObject _l_credi = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_pagare = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_montopag = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_efectivo = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_montoefec = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _p_credito = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _b_acred = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _b_cancred = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _et_montoacredito = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _label16 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_limite = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _almacen = RemoteObject.createImmutable(""); +public static RemoteObject _fechaprev = RemoteObject.createImmutable(""); +public static RemoteObject _rutaprev = RemoteObject.createImmutable(""); +public static RemoteObject _rutarep = RemoteObject.createImmutable(""); +public static RemoteObject _montopagare = RemoteObject.createImmutable(""); +public static RemoteObject _p_abono = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _clv_abonos = RemoteObject.declareNull("b4a.example3.customlistview"); +public static RemoteObject _et_abono = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _b_cancelar = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _b_abono = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _l_montoabonostotal = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _h = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _j = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _b = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _f = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _l_folio = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_saldo = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _b_cxc = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _cb_tipopago = RemoteObject.declareNull("reparto_izca.keymon.lat.b4xcombobox"); +public static RemoteObject _itemselect = RemoteObject.createImmutable(""); +public static RemoteObject _tipo_abonox = RemoteObject.createImmutable(""); +public static RemoteObject _b_cancel_pagare = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _nota = RemoteObject.createImmutable(""); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static reparto_izca.keymon.lat.main _main = null; +public static reparto_izca.keymon.lat.appupdater _appupdater = null; +public static reparto_izca.keymon.lat.subs _subs = null; +public static reparto_izca.keymon.lat.foto _foto = null; +public static reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public static reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public static reparto_izca.keymon.lat.starter _starter = null; +public static reparto_izca.keymon.lat.tracker _tracker = null; +public static reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public static reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public static reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public static reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public static reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"almacen",_ref.getField(false, "_almacen"),"b",_ref.getField(false, "_b"),"b_abono",_ref.getField(false, "_b_abono"),"b_acred",_ref.getField(false, "_b_acred"),"b_cancel_pagare",_ref.getField(false, "_b_cancel_pagare"),"b_cancelar",_ref.getField(false, "_b_cancelar"),"b_cancred",_ref.getField(false, "_b_cancred"),"b_cxc",_ref.getField(false, "_b_cxc"),"B_IMP",_ref.getField(false, "_b_imp"),"b_noEntrega",_ref.getField(false, "_b_noentrega"),"B_PASO2",_ref.getField(false, "_b_paso2"),"banderaimp",_ref.getField(false, "_banderaimp"),"BLANCO",_ref.getField(false, "_blanco"),"BT_QR",_ref.getField(false, "_bt_qr"),"btAdmin",_ref.getField(false, "_btadmin"),"c",_ref.getField(false, "_c"),"cb_tipopago",_ref.getField(false, "_cb_tipopago"),"clie_id",_ref.getField(false, "_clie_id"),"clv_abonos",_ref.getField(false, "_clv_abonos"),"cmp20",_ref.getField(false, "_cmp20"),"CREDITO",_ref.getField(false, "_credito"),"cuenta",_ref.getField(false, "_cuenta"),"d",_ref.getField(false, "_d"),"DateUtils",_ref.getField(false, "_dateutils"),"DATOS",_ref.getField(false, "_datos"),"errorImpresora",_ref.getField(false, "_errorimpresora"),"ESPACIO",_ref.getField(false, "_espacio"),"et_abono",_ref.getField(false, "_et_abono"),"et_montoacredito",_ref.getField(false, "_et_montoacredito"),"f",_ref.getField(false, "_f"),"fechaprev",_ref.getField(false, "_fechaprev"),"g",_ref.getField(false, "_g"),"gest",_ref.getField(false, "_gest"),"Guardar",_ref.getField(false, "_guardar"),"h",_ref.getField(false, "_h"),"HIST",_ref.getField(false, "_hist"),"ime",_ref.getField(false, "_ime"),"impresoraConectada",_ref.getField(false, "_impresoraconectada"),"itemselect",_ref.getField(false, "_itemselect"),"j",_ref.getField(false, "_j"),"L",_ref.getField(false, "_l"),"l_atiende",_ref.getField(false, "_l_atiende"),"l_atiende2",_ref.getField(false, "_l_atiende2"),"L_CANT",_ref.getField(false, "_l_cant"),"l_credi",_ref.getField(false, "_l_credi"),"l_efectivo",_ref.getField(false, "_l_efectivo"),"l_entre1",_ref.getField(false, "_l_entre1"),"l_entre2",_ref.getField(false, "_l_entre2"),"l_folio",_ref.getField(false, "_l_folio"),"l_limite",_ref.getField(false, "_l_limite"),"l_montoabonostotal",_ref.getField(false, "_l_montoabonostotal"),"l_montoefec",_ref.getField(false, "_l_montoefec"),"l_montopag",_ref.getField(false, "_l_montopag"),"l_pagare",_ref.getField(false, "_l_pagare"),"L_QR",_ref.getField(false, "_l_qr"),"l_saldo",_ref.getField(false, "_l_saldo"),"l_total",_ref.getField(false, "_l_total"),"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_edo",_ref.getField(false, "_la_edo"),"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_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"),"Label16",_ref.getField(false, "_label16"),"LATITUD",_ref.getField(false, "_latitud"),"ListView1",_ref.getField(false, "_listview1"),"LONGITUD",_ref.getField(false, "_longitud"),"montopagare",_ref.getField(false, "_montopagare"),"NOMBRE",_ref.getField(false, "_nombre"),"NOTA",_ref.getField(false, "_nota"),"NUEVO",_ref.getField(false, "_nuevo"),"p_abono",_ref.getField(false, "_p_abono"),"p_credito",_ref.getField(false, "_p_credito"),"p_principal",_ref.getField(false, "_p_principal"),"PairedDevices",_ref.getField(false, "_paireddevices"),"PASA_IMP",_ref.getField(false, "_pasa_imp"),"printer",_ref.getField(false, "_printer"),"Printer1",_ref.getField(false, "_printer1"),"reqManager",_ref.getField(false, "_reqmanager"),"Root",_ref.getField(false, "_root"),"rutaprev",_ref.getField(false, "_rutaprev"),"rutarep",_ref.getField(false, "_rutarep"),"s",_ref.getField(false, "_s"),"sDate",_ref.getField(false, "_sdate"),"sTime",_ref.getField(false, "_stime"),"TAMANO",_ref.getField(false, "_tamano"),"Tar",_ref.getField(false, "_tar"),"tipo_abonox",_ref.getField(false, "_tipo_abonox"),"total_cliente",_ref.getField(false, "_total_cliente"),"usuario",_ref.getField(false, "_usuario"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_cliente_subs_0.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_cliente_subs_0.java new file mode 100644 index 0000000..e69a8d3 --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_cliente_subs_0.java @@ -0,0 +1,9010 @@ +package reparto_izca.keymon.lat; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class c_cliente_subs_0 { + + +public static RemoteObject _activity_pause(RemoteObject __ref,RemoteObject _userclosed) throws Exception{ +try { + Debug.PushSubsStack("Activity_Pause (c_cliente) ","c_cliente",6,__ref.getField(false, "ba"),__ref,412); +if (RapidSub.canDelegate("activity_pause")) { return __ref.runUserSub(false, "c_cliente","activity_pause", __ref, _userclosed);} +Debug.locals.put("UserClosed", _userclosed); + BA.debugLineNum = 412;BA.debugLine="Sub Activity_Pause (UserClosed As Boolean)"; +Debug.ShouldStop(134217728); + BA.debugLineNum = 414;BA.debugLine="End Sub"; +Debug.ShouldStop(536870912); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static void _b_abono_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_abono_Click (c_cliente) ","c_cliente",6,__ref.getField(false, "ba"),__ref,2083); +if (RapidSub.canDelegate("b_abono_click")) { __ref.runUserSub(false, "c_cliente","b_abono_click", __ref); return;} +ResumableSub_b_abono_Click rsub = new ResumableSub_b_abono_Click(null,__ref); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_b_abono_Click extends BA.ResumableSub { +public ResumableSub_b_abono_Click(reparto_izca.keymon.lat.c_cliente parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +reparto_izca.keymon.lat.c_cliente parent; +RemoteObject _resultado = RemoteObject.createImmutable(0); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("b_abono_Click (c_cliente) ","c_cliente",6,__ref.getField(false, "ba"),__ref,2083); +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 = 2085;BA.debugLine="If et_abono.Text <> \"\" Then"; +Debug.ShouldStop(16); +if (true) break; + +case 1: +//if +this.state = 24; +if (RemoteObject.solveBoolean("!",__ref.getField(false,"_et_abono" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(""))) { +this.state = 3; +}if (true) break; + +case 3: +//C +this.state = 4; + BA.debugLineNum = 2086;BA.debugLine="If et_abono.text > l_montoabonostotal.text Then"; +Debug.ShouldStop(32); +if (true) break; + +case 4: +//if +this.state = 23; +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(false,"_et_abono" /*RemoteObject*/ ).runMethod(true,"getText")),BA.numberCast(double.class, __ref.getField(false,"_l_montoabonostotal" /*RemoteObject*/ ).runMethod(true,"getText")))) { +this.state = 6; +}else { +this.state = 8; +}if (true) break; + +case 6: +//C +this.state = 23; + BA.debugLineNum = 2087;BA.debugLine="MsgboxAsync(\"El monto a abonar no puede ser may"; +Debug.ShouldStop(64); +parent.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("El monto a abonar no puede ser mayor que el monto total")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + if (true) break; + +case 8: +//C +this.state = 9; + BA.debugLineNum = 2089;BA.debugLine="If et_abono.Text <> \"\" And et_abono.Text > 0 Th"; +Debug.ShouldStop(256); +if (true) break; + +case 9: +//if +this.state = 22; +if (RemoteObject.solveBoolean("!",__ref.getField(false,"_et_abono" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("")) && RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(false,"_et_abono" /*RemoteObject*/ ).runMethod(true,"getText")),BA.numberCast(double.class, 0))) { +this.state = 11; +}if (true) break; + +case 11: +//C +this.state = 12; + BA.debugLineNum = 2090;BA.debugLine="If itemselect <> \"SELECCIONA UNA OPCION\" Then"; +Debug.ShouldStop(512); +if (true) break; + +case 12: +//if +this.state = 21; +if (RemoteObject.solveBoolean("!",__ref.getField(true,"_itemselect" /*RemoteObject*/ ),BA.ObjectToString("SELECCIONA UNA OPCION"))) { +this.state = 14; +}else { +this.state = 20; +}if (true) break; + +case 14: +//C +this.state = 15; + BA.debugLineNum = 2098;BA.debugLine="Msgbox2Async($\"¿Seguro que quieres realizar u"; +Debug.ShouldStop(131072); +parent.__c.runVoidMethod ("Msgbox2Async",(Object)(BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable("¿Seguro que quieres realizar un abono de $"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_et_abono" /*RemoteObject*/ ).runMethod(true,"getText")))),RemoteObject.createImmutable(" para este cliente?"))))),(Object)(BA.ObjectToCharSequence("Guardar Abono")),(Object)(BA.ObjectToString("Guardar")),(Object)(BA.ObjectToString("Cancelar")),(Object)(BA.ObjectToString("")),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,"True"))); + BA.debugLineNum = 2099;BA.debugLine="Wait For Msgbox_Result (resultado As Int)"; +Debug.ShouldStop(262144); +parent.__c.runVoidMethod ("WaitFor","msgbox_result", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "b_abono_click"), null); +this.state = 25; +return; +case 25: +//C +this.state = 15; +_resultado = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("resultado", _resultado); +; + BA.debugLineNum = 2100;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; +Debug.ShouldStop(524288); +if (true) break; + +case 15: +//if +this.state = 18; +if (RemoteObject.solveBoolean("=",_resultado,BA.numberCast(double.class, parent.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { +this.state = 17; +}if (true) break; + +case 17: +//C +this.state = 18; + BA.debugLineNum = 2101;BA.debugLine="imprime_abonopagare"; +Debug.ShouldStop(1048576); +__ref.runClassMethod (reparto_izca.keymon.lat.c_cliente.class, "_imprime_abonopagare" /*void*/ ); + if (true) break; + +case 18: +//C +this.state = 21; +; + if (true) break; + +case 20: +//C +this.state = 21; + BA.debugLineNum = 2118;BA.debugLine="MsgboxAsync(\"Por favor selecciona un metodo d"; +Debug.ShouldStop(32); +parent.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Por favor selecciona un metodo de pago")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + if (true) break; + +case 21: +//C +this.state = 22; +; + if (true) break; + +case 22: +//C +this.state = 23; +; + if (true) break; + +case 23: +//C +this.state = 24; +; + if (true) break; + +case 24: +//C +this.state = -1; +; + BA.debugLineNum = 2123;BA.debugLine="ime.HideKeyboard"; +Debug.ShouldStop(1024); +__ref.getField(false,"_ime" /*RemoteObject*/ ).runVoidMethod ("HideKeyboard",__ref.getField(false, "ba")); + BA.debugLineNum = 2124;BA.debugLine="End Sub"; +Debug.ShouldStop(2048); +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_acred_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_acred_Click (c_cliente) ","c_cliente",6,__ref.getField(false, "ba"),__ref,1259); +if (RapidSub.canDelegate("b_acred_click")) { return __ref.runUserSub(false, "c_cliente","b_acred_click", __ref);} +RemoteObject _pagacheca = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); + BA.debugLineNum = 1259;BA.debugLine="Private Sub b_acred_Click"; +Debug.ShouldStop(1024); + BA.debugLineNum = 1263;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; +Debug.ShouldStop(16384); +c_cliente.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("dd/MM/yyyy")); + BA.debugLineNum = 1264;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; +Debug.ShouldStop(32768); +c_cliente.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HH:mm:ss")); + BA.debugLineNum = 1265;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(65536); +__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 = 1266;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(131072); +__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 = 1268;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CUENTA from cue"; +Debug.ShouldStop(524288); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CUENTA from cuentaa")))); + BA.debugLineNum = 1269;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1270;BA.debugLine="cuenta = c.GetString(\"CUENTA\")"; +Debug.ShouldStop(2097152); +__ref.setField ("_cuenta" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA")))); + BA.debugLineNum = 1271;BA.debugLine="c.Close"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1273;BA.debugLine="c=Starter.skmt.ExecQuery(\"select usuario from us"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select usuario from usuarioa")))); + 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="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 = 1276;BA.debugLine="c.Close"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1278;BA.debugLine="c=Starter.skmt.ExecQuery(\"select ID_ALMACEN from"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select ID_ALMACEN from CAT_ALMACEN")))); + BA.debugLineNum = 1279;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1280;BA.debugLine="almacen = c.GetString(\"ID_ALMACEN\")"; +Debug.ShouldStop(-2147483648); +__ref.setField ("_almacen" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ID_ALMACEN")))); + BA.debugLineNum = 1281;BA.debugLine="c.Close"; +Debug.ShouldStop(1); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1283;BA.debugLine="c=Starter.skmt.ExecQuery(\"select HVD_FECHA from"; +Debug.ShouldStop(4); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select HVD_FECHA from HIST_VENTAS WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)")))); + BA.debugLineNum = 1284;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(8); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1285;BA.debugLine="fechaprev = c.GetString(\"HVD_FECHA\")"; +Debug.ShouldStop(16); +__ref.setField ("_fechaprev" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_FECHA")))); + BA.debugLineNum = 1286;BA.debugLine="c.Close"; +Debug.ShouldStop(32); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1288;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CAT_CL_RUTA fro"; +Debug.ShouldStop(128); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_CL_RUTA from kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)")))); + BA.debugLineNum = 1289;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(256); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1290;BA.debugLine="rutaprev = c.GetString(\"CAT_CL_RUTA\")"; +Debug.ShouldStop(512); +__ref.setField ("_rutaprev" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA")))); + BA.debugLineNum = 1291;BA.debugLine="c.Close"; +Debug.ShouldStop(1024); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1293;BA.debugLine="c=Starter.skmt.ExecQuery(\"select RUTAA from RUTA"; +Debug.ShouldStop(4096); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select RUTAA from RUTAA")))); + BA.debugLineNum = 1294;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(8192); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1295;BA.debugLine="rutarep = c.GetString(\"RUTAA\")"; +Debug.ShouldStop(16384); +__ref.setField ("_rutarep" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("RUTAA")))); + BA.debugLineNum = 1296;BA.debugLine="c.Close"; +Debug.ShouldStop(32768); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1298;BA.debugLine="c = Starter.skmt.ExecQuery($\"select distinct hvd_"; +Debug.ShouldStop(131072); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select distinct hvd_num_ticket from hist_ventas where hvd_cliente = '"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText")))),RemoteObject.createImmutable("' AND HVD_BCREDITO = '1'")))))); + BA.debugLineNum = 1299;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 = 1300;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(524288); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1301;BA.debugLine="NOTA = c.GetString(\"HVD_NUM_TICKET\")"; +Debug.ShouldStop(1048576); +__ref.setField ("_nota" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_NUM_TICKET")))); + }; + BA.debugLineNum = 1303;BA.debugLine="c.Close"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1305;BA.debugLine="Dim pagacheca As Cursor = Starter.skmt.ExecQuery("; +Debug.ShouldStop(16777216); +_pagacheca = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_pagacheca = 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 * FROM PAGARES WHERE PA_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))));Debug.locals.put("pagacheca", _pagacheca);Debug.locals.put("pagacheca", _pagacheca); + BA.debugLineNum = 1307;BA.debugLine="If pagacheca.RowCount > 0 Then"; +Debug.ShouldStop(67108864); +if (RemoteObject.solveBoolean(">",_pagacheca.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1310;BA.debugLine="Guardado"; +Debug.ShouldStop(536870912); +__ref.runClassMethod (reparto_izca.keymon.lat.c_cliente.class, "_guardado" /*RemoteObject*/ ); + }else { + BA.debugLineNum = 1313;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PAGARES"; +Debug.ShouldStop(1); +c_cliente._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO PAGARES (PA_ALMACEN, PA_RUTA_REP, PA_RUTAPREV, PA_FECHA_PREV, PA_CAPTURA, PA_MONTO, PA_USUARIO, PA_CLIENTE,PA_TICKET) VALUES(?,?,?,?,?,?,?,?,?) ")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {9},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(true,"_rutarep" /*RemoteObject*/ )),(__ref.getField(true,"_rutaprev" /*RemoteObject*/ )),(__ref.getField(true,"_fechaprev" /*RemoteObject*/ )),((__ref.getField(true,"_sdate" /*RemoteObject*/ ))),(__ref.getField(false,"_l_montopag" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_usuario" /*RemoteObject*/ )),(__ref.getField(true,"_cuenta" /*RemoteObject*/ )),(__ref.getField(true,"_nota" /*RemoteObject*/ ))}))))); + BA.debugLineNum = 1316;BA.debugLine="Guardado"; +Debug.ShouldStop(8); +__ref.runClassMethod (reparto_izca.keymon.lat.c_cliente.class, "_guardado" /*RemoteObject*/ ); + }; + 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 _b_cancel_pagare_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_cancel_pagare_Click (c_cliente) ","c_cliente",6,__ref.getField(false, "ba"),__ref,1923); +if (RapidSub.canDelegate("b_cancel_pagare_click")) { return __ref.runUserSub(false, "c_cliente","b_cancel_pagare_click", __ref);} +RemoteObject _items = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _total = RemoteObject.createImmutable(0); +int _i = 0; + BA.debugLineNum = 1923;BA.debugLine="Private Sub b_cancel_pagare_Click"; +Debug.ShouldStop(4); + BA.debugLineNum = 1924;BA.debugLine="tipo_abonox = \"abono\""; +Debug.ShouldStop(8); +__ref.setField ("_tipo_abonox" /*RemoteObject*/ ,BA.ObjectToString("abono")); + BA.debugLineNum = 1926;BA.debugLine="Dim Items As List"; +Debug.ShouldStop(32); +_items = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");Debug.locals.put("Items", _items); + BA.debugLineNum = 1927;BA.debugLine="Items.Initialize"; +Debug.ShouldStop(64); +_items.runVoidMethod ("Initialize"); + BA.debugLineNum = 1929;BA.debugLine="Items.Add(\"SELECCIONA UNA OPCION\")"; +Debug.ShouldStop(256); +_items.runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("SELECCIONA UNA OPCION")))); + BA.debugLineNum = 1930;BA.debugLine="Items.Add(\"TRANSFERENCIA\")"; +Debug.ShouldStop(512); +_items.runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("TRANSFERENCIA")))); + BA.debugLineNum = 1931;BA.debugLine="Items.Add(\"EFECTIVO\")"; +Debug.ShouldStop(1024); +_items.runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("EFECTIVO")))); + BA.debugLineNum = 1932;BA.debugLine="Items.Add(\"CHEQUE\")"; +Debug.ShouldStop(2048); +_items.runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("CHEQUE")))); + BA.debugLineNum = 1934;BA.debugLine="cb_tipopago.SetItems(Items)"; +Debug.ShouldStop(8192); +__ref.getField(false,"_cb_tipopago" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.b4xcombobox.class, "_setitems" /*RemoteObject*/ ,(Object)(_items)); + BA.debugLineNum = 1936;BA.debugLine="itemselect= \"SELECCIONA UNA OPCION\""; +Debug.ShouldStop(32768); +__ref.setField ("_itemselect" /*RemoteObject*/ ,BA.ObjectToString("SELECCIONA UNA OPCION")); + BA.debugLineNum = 1938;BA.debugLine="h = Starter.skmt.ExecQuery(\"SELECT CUENTA from CU"; +Debug.ShouldStop(131072); +__ref.getField(false,"_h" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT CUENTA from CUENTAA")))); + BA.debugLineNum = 1939;BA.debugLine="h.Position = 0"; +Debug.ShouldStop(262144); +__ref.getField(false,"_h" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1940;BA.debugLine="Log(h.GetString(\"CUENTA\"))"; +Debug.ShouldStop(524288); +c_cliente.__c.runVoidMethod ("LogImpl","89502737",__ref.getField(false,"_h" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA"))),0); + BA.debugLineNum = 1941;BA.debugLine="j = Starter.skmt.ExecQuery2(\"SELECT a_abono FROM"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_j" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT a_abono FROM ABONOS WHERE a_cliente = ? and a_tipoabono is null")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_h" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA")))})))); + BA.debugLineNum = 1942;BA.debugLine="j.position = 0"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_j" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1943;BA.debugLine="Log(j.RowCount)"; +Debug.ShouldStop(4194304); +c_cliente.__c.runVoidMethod ("LogImpl","89502740",BA.NumberToString(__ref.getField(false,"_j" /*RemoteObject*/ ).runMethod(true,"getRowCount")),0); + BA.debugLineNum = 1944;BA.debugLine="If j.RowCount = 0 Then"; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_j" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1945;BA.debugLine="p_abono.Visible = True"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_p_abono" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 1946;BA.debugLine="p_abono.Width = Root.Width"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_p_abono" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth")); + BA.debugLineNum = 1947;BA.debugLine="p_abono.Height = Root.Height"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_p_abono" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight")); + BA.debugLineNum = 1948;BA.debugLine="et_abono.text = \"\""; +Debug.ShouldStop(134217728); +__ref.getField(false,"_et_abono" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 1949;BA.debugLine="Dim total As Double = 0"; +Debug.ShouldStop(268435456); +_total = BA.numberCast(double.class, 0);Debug.locals.put("total", _total);Debug.locals.put("total", _total); + BA.debugLineNum = 1950;BA.debugLine="f = Starter.skmt.ExecQuery(\"SELECT CUENTA FROM C"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_f" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT CUENTA FROM CUENTAA")))); + BA.debugLineNum = 1951;BA.debugLine="f.Position = 0"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1952;BA.debugLine="d = Starter.skmt.ExecQuery2(\"SELECT distinct PA_"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT distinct PA_TICKET, PA_MONTO FROM PAGARES WHERE PA_CLIENTE = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA")))})))); + BA.debugLineNum = 1953;BA.debugLine="clv_abonos.Clear"; +Debug.ShouldStop(1); +__ref.getField(false,"_clv_abonos" /*RemoteObject*/ ).runVoidMethod ("_clear"); + BA.debugLineNum = 1954;BA.debugLine="For i = 0 To d.RowCount - 1"; +Debug.ShouldStop(2); +{ +final int step26 = 1; +final int limit26 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_d" /*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 = 1955;BA.debugLine="d.Position = i"; +Debug.ShouldStop(4); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 1956;BA.debugLine="clv_abonos.Add(CreateListItem(d.GetString(\"PA_T"; +Debug.ShouldStop(8); +__ref.getField(false,"_clv_abonos" /*RemoteObject*/ ).runVoidMethod ("_add",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), __ref.runClassMethod (reparto_izca.keymon.lat.c_cliente.class, "_createlistitem" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PA_TICKET")))),(Object)(RemoteObject.concat(RemoteObject.createImmutable("$ "),__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PA_MONTO")))))).getObject()),(Object)(RemoteObject.createImmutable((_i)))); + BA.debugLineNum = 1958;BA.debugLine="total = total + d.GetString(\"PA_MONTO\")"; +Debug.ShouldStop(32); +_total = RemoteObject.solve(new RemoteObject[] {_total,BA.numberCast(double.class, __ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PA_MONTO"))))}, "+",1, 0);Debug.locals.put("total", _total); + BA.debugLineNum = 1959;BA.debugLine="Log(total)"; +Debug.ShouldStop(64); +c_cliente.__c.runVoidMethod ("LogImpl","89502756",BA.NumberToString(_total),0); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 1961;BA.debugLine="d.Close"; +Debug.ShouldStop(256); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1962;BA.debugLine="d = Starter.skmt.ExecQuery2(\"SELECT a_abono FRO"; +Debug.ShouldStop(512); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT a_abono FROM ABONOS WHERE a_cliente = ? and a_tipoabono is not null ")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA")))})))); + BA.debugLineNum = 1963;BA.debugLine="If d.RowCount > 0 Then"; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1964;BA.debugLine="For i = 0 To d.RowCount - 1"; +Debug.ShouldStop(2048); +{ +final int step35 = 1; +final int limit35 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"getRowCount"),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 = 1965;BA.debugLine="d.Position = i"; +Debug.ShouldStop(4096); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 1966;BA.debugLine="clv_abonos.Add(CreateListItem(\"ABONO\",\"$ \" & d"; +Debug.ShouldStop(8192); +__ref.getField(false,"_clv_abonos" /*RemoteObject*/ ).runVoidMethod ("_add",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), __ref.runClassMethod (reparto_izca.keymon.lat.c_cliente.class, "_createlistitem" /*RemoteObject*/ ,(Object)(BA.ObjectToString("ABONO")),(Object)(RemoteObject.concat(RemoteObject.createImmutable("$ "),__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("a_abono")))))).getObject()),(Object)(RemoteObject.createImmutable((_i)))); + BA.debugLineNum = 1967;BA.debugLine="total = total - d.GetString(\"a_abono\")"; +Debug.ShouldStop(16384); +_total = RemoteObject.solve(new RemoteObject[] {_total,BA.numberCast(double.class, __ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("a_abono"))))}, "-",1, 0);Debug.locals.put("total", _total); + BA.debugLineNum = 1968;BA.debugLine="Log(total)"; +Debug.ShouldStop(32768); +c_cliente.__c.runVoidMethod ("LogImpl","89502765",BA.NumberToString(_total),0); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 1971;BA.debugLine="l_montoabonostotal.Text = NumberFormat2(total,0,"; +Debug.ShouldStop(262144); +__ref.getField(false,"_l_montoabonostotal" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_cliente.__c.runMethod(true,"NumberFormat2",(Object)(_total),(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 = 1972;BA.debugLine="d.Close"; +Debug.ShouldStop(524288); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1973;BA.debugLine="f.Close"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_f" /*RemoteObject*/ ).runVoidMethod ("Close"); + }else +{ BA.debugLineNum = 1974;BA.debugLine="Else If j.RowCount > 0 Then"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_j" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1975;BA.debugLine="p_abono.Visible = True"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_p_abono" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 1976;BA.debugLine="p_abono.Width = Root.Width"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_p_abono" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth")); + BA.debugLineNum = 1977;BA.debugLine="p_abono.Height = Root.Height"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_p_abono" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight")); + BA.debugLineNum = 1978;BA.debugLine="et_abono.text = \"\""; +Debug.ShouldStop(33554432); +__ref.getField(false,"_et_abono" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 1979;BA.debugLine="Dim total As Double = 0"; +Debug.ShouldStop(67108864); +_total = BA.numberCast(double.class, 0);Debug.locals.put("total", _total);Debug.locals.put("total", _total); + BA.debugLineNum = 1980;BA.debugLine="f = Starter.skmt.ExecQuery(\"SELECT CUENTA FROM C"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_f" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT CUENTA FROM CUENTAA")))); + BA.debugLineNum = 1981;BA.debugLine="f.Position = 0"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1982;BA.debugLine="d = Starter.skmt.ExecQuery2(\"SELECT distinct PA_"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT distinct PA_TICKET, PA_MONTO FROM PAGARES WHERE PA_CLIENTE = ? ")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA")))})))); + BA.debugLineNum = 1983;BA.debugLine="clv_abonos.Clear"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_clv_abonos" /*RemoteObject*/ ).runVoidMethod ("_clear"); + BA.debugLineNum = 1984;BA.debugLine="For i = 0 To d.RowCount - 1"; +Debug.ShouldStop(-2147483648); +{ +final int step55 = 1; +final int limit55 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_d" /*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 = 1985;BA.debugLine="d.Position = i"; +Debug.ShouldStop(1); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 1986;BA.debugLine="clv_abonos.Add(CreateListItem(d.GetString(\"PA_T"; +Debug.ShouldStop(2); +__ref.getField(false,"_clv_abonos" /*RemoteObject*/ ).runVoidMethod ("_add",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), __ref.runClassMethod (reparto_izca.keymon.lat.c_cliente.class, "_createlistitem" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PA_TICKET")))),(Object)(RemoteObject.concat(RemoteObject.createImmutable("$ "),__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PA_MONTO")))))).getObject()),(Object)(RemoteObject.createImmutable((_i)))); + BA.debugLineNum = 1988;BA.debugLine="total = total + d.GetString(\"PA_MONTO\").Replace"; +Debug.ShouldStop(8); +_total = RemoteObject.solve(new RemoteObject[] {_total,BA.numberCast(double.class, __ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PA_MONTO"))).runMethod(true,"replace",(Object)(BA.ObjectToString(",")),(Object)(RemoteObject.createImmutable(""))))}, "+",1, 0);Debug.locals.put("total", _total); + BA.debugLineNum = 1989;BA.debugLine="Log(total)"; +Debug.ShouldStop(16); +c_cliente.__c.runVoidMethod ("LogImpl","89502786",BA.NumberToString(_total),0); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 1991;BA.debugLine="d.Close"; +Debug.ShouldStop(64); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1992;BA.debugLine="d = Starter.skmt.ExecQuery2(\"SELECT a_abono FRO"; +Debug.ShouldStop(128); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT a_abono FROM ABONOS WHERE a_cliente = ? and a_tipoabono is not null ")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA")))})))); + BA.debugLineNum = 1993;BA.debugLine="If d.RowCount > 0 Then"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1994;BA.debugLine="For i = 0 To d.RowCount - 1"; +Debug.ShouldStop(512); +{ +final int step64 = 1; +final int limit64 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step64 > 0 && _i <= limit64) || (step64 < 0 && _i >= limit64) ;_i = ((int)(0 + _i + step64)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 1995;BA.debugLine="d.Position = i"; +Debug.ShouldStop(1024); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 1996;BA.debugLine="clv_abonos.Add(CreateListItem(\"ABONO\",\"$ \" & d"; +Debug.ShouldStop(2048); +__ref.getField(false,"_clv_abonos" /*RemoteObject*/ ).runVoidMethod ("_add",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), __ref.runClassMethod (reparto_izca.keymon.lat.c_cliente.class, "_createlistitem" /*RemoteObject*/ ,(Object)(BA.ObjectToString("ABONO")),(Object)(RemoteObject.concat(RemoteObject.createImmutable("$ "),__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("a_abono")))))).getObject()),(Object)(RemoteObject.createImmutable((_i)))); + BA.debugLineNum = 1997;BA.debugLine="total = total - d.GetString(\"a_abono\")"; +Debug.ShouldStop(4096); +_total = RemoteObject.solve(new RemoteObject[] {_total,BA.numberCast(double.class, __ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("a_abono"))))}, "-",1, 0);Debug.locals.put("total", _total); + BA.debugLineNum = 1998;BA.debugLine="Log(total)"; +Debug.ShouldStop(8192); +c_cliente.__c.runVoidMethod ("LogImpl","89502795",BA.NumberToString(_total),0); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 2001;BA.debugLine="l_montoabonostotal.Text = NumberFormat2(total,0,"; +Debug.ShouldStop(65536); +__ref.getField(false,"_l_montoabonostotal" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_cliente.__c.runMethod(true,"NumberFormat2",(Object)(_total),(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 = 2002;BA.debugLine="d.Close"; +Debug.ShouldStop(131072); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 2003;BA.debugLine="f.Close"; +Debug.ShouldStop(262144); +__ref.getField(false,"_f" /*RemoteObject*/ ).runVoidMethod ("Close"); + }} +; + BA.debugLineNum = 2006;BA.debugLine="h.Close"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_h" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 2007;BA.debugLine="j.Close"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_j" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 2014;BA.debugLine="End Sub"; +Debug.ShouldStop(536870912); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_cancelar_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_cancelar_Click (c_cliente) ","c_cliente",6,__ref.getField(false, "ba"),__ref,2034); +if (RapidSub.canDelegate("b_cancelar_click")) { return __ref.runUserSub(false, "c_cliente","b_cancelar_click", __ref);} + BA.debugLineNum = 2034;BA.debugLine="Private Sub b_cancelar_Click"; +Debug.ShouldStop(131072); + BA.debugLineNum = 2035;BA.debugLine="et_abono.Text = \"\""; +Debug.ShouldStop(262144); +__ref.getField(false,"_et_abono" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 2036;BA.debugLine="p_abono.Visible = False"; +Debug.ShouldStop(524288); +__ref.getField(false,"_p_abono" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 2037;BA.debugLine="ime.HideKeyboard"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_ime" /*RemoteObject*/ ).runVoidMethod ("HideKeyboard",__ref.getField(false, "ba")); + BA.debugLineNum = 2038;BA.debugLine="End Sub"; +Debug.ShouldStop(2097152); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_cancred_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_cancred_Click (c_cliente) ","c_cliente",6,__ref.getField(false, "ba"),__ref,1326); +if (RapidSub.canDelegate("b_cancred_click")) { return __ref.runUserSub(false, "c_cliente","b_cancred_click", __ref);} + BA.debugLineNum = 1326;BA.debugLine="Private Sub b_cancred_Click"; +Debug.ShouldStop(8192); + BA.debugLineNum = 1327;BA.debugLine="et_montoacredito.Text = \"\""; +Debug.ShouldStop(16384); +__ref.getField(false,"_et_montoacredito" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 1328;BA.debugLine="p_credito.Visible = False"; +Debug.ShouldStop(32768); +__ref.getField(false,"_p_credito" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 1329;BA.debugLine="End Sub"; +Debug.ShouldStop(65536); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_cxc_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_cxc_Click (c_cliente) ","c_cliente",6,__ref.getField(false, "ba"),__ref,1482); +if (RapidSub.canDelegate("b_cxc_click")) { return __ref.runUserSub(false, "c_cliente","b_cxc_click", __ref);} +RemoteObject _items = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _total = RemoteObject.createImmutable(0); +int _i = 0; + BA.debugLineNum = 1482;BA.debugLine="Private Sub b_cxc_Click"; +Debug.ShouldStop(512); + BA.debugLineNum = 1483;BA.debugLine="tipo_abonox = \"cxc\""; +Debug.ShouldStop(1024); +__ref.setField ("_tipo_abonox" /*RemoteObject*/ ,BA.ObjectToString("cxc")); + BA.debugLineNum = 1484;BA.debugLine="h = Starter.skmt.ExecQuery(\"SELECT CUENTA from CU"; +Debug.ShouldStop(2048); +__ref.getField(false,"_h" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT CUENTA from CUENTAA")))); + BA.debugLineNum = 1485;BA.debugLine="h.Position = 0"; +Debug.ShouldStop(4096); +__ref.getField(false,"_h" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1486;BA.debugLine="Log(h.GetString(\"CUENTA\"))"; +Debug.ShouldStop(8192); +c_cliente.__c.runVoidMethod ("LogImpl","89371652",__ref.getField(false,"_h" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA"))),0); + BA.debugLineNum = 1488;BA.debugLine="Dim Items As List"; +Debug.ShouldStop(32768); +_items = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");Debug.locals.put("Items", _items); + BA.debugLineNum = 1489;BA.debugLine="Items.Initialize"; +Debug.ShouldStop(65536); +_items.runVoidMethod ("Initialize"); + BA.debugLineNum = 1491;BA.debugLine="Items.Add(\"SELECCIONA UNA OPCION\")"; +Debug.ShouldStop(262144); +_items.runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("SELECCIONA UNA OPCION")))); + BA.debugLineNum = 1492;BA.debugLine="Items.Add(\"TRANSFERENCIA\")"; +Debug.ShouldStop(524288); +_items.runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("TRANSFERENCIA")))); + BA.debugLineNum = 1493;BA.debugLine="Items.Add(\"EFECTIVO\")"; +Debug.ShouldStop(1048576); +_items.runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("EFECTIVO")))); + BA.debugLineNum = 1494;BA.debugLine="Items.Add(\"CHEQUE\")"; +Debug.ShouldStop(2097152); +_items.runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("CHEQUE")))); + BA.debugLineNum = 1496;BA.debugLine="cb_tipopago.SetItems(Items)"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_cb_tipopago" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.b4xcombobox.class, "_setitems" /*RemoteObject*/ ,(Object)(_items)); + BA.debugLineNum = 1498;BA.debugLine="itemselect= \"SELECCIONA UNA OPCION\""; +Debug.ShouldStop(33554432); +__ref.setField ("_itemselect" /*RemoteObject*/ ,BA.ObjectToString("SELECCIONA UNA OPCION")); + BA.debugLineNum = 1500;BA.debugLine="j = Starter.skmt.ExecQuery2(\"SELECT a_abono FROM"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_j" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT a_abono FROM ABONOS WHERE a_cliente = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_h" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA")))})))); + BA.debugLineNum = 1501;BA.debugLine="j.position = 0"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_j" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1502;BA.debugLine="Log(j.RowCount)"; +Debug.ShouldStop(536870912); +c_cliente.__c.runVoidMethod ("LogImpl","89371668",BA.NumberToString(__ref.getField(false,"_j" /*RemoteObject*/ ).runMethod(true,"getRowCount")),0); + BA.debugLineNum = 1503;BA.debugLine="If j.RowCount = 0 Then"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_j" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1504;BA.debugLine="p_abono.Visible = True"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_p_abono" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 1505;BA.debugLine="p_abono.Width = Root.Width"; +Debug.ShouldStop(1); +__ref.getField(false,"_p_abono" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth")); + BA.debugLineNum = 1506;BA.debugLine="p_abono.Height = Root.Height"; +Debug.ShouldStop(2); +__ref.getField(false,"_p_abono" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight")); + BA.debugLineNum = 1507;BA.debugLine="et_abono.text = \"\""; +Debug.ShouldStop(4); +__ref.getField(false,"_et_abono" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 1508;BA.debugLine="Dim total As Double = 0"; +Debug.ShouldStop(8); +_total = BA.numberCast(double.class, 0);Debug.locals.put("total", _total);Debug.locals.put("total", _total); + BA.debugLineNum = 1509;BA.debugLine="f = Starter.skmt.ExecQuery(\"SELECT CUENTA FROM C"; +Debug.ShouldStop(16); +__ref.getField(false,"_f" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT CUENTA FROM CUENTAA")))); + BA.debugLineNum = 1510;BA.debugLine="f.Position = 0"; +Debug.ShouldStop(32); +__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1511;BA.debugLine="d = Starter.skmt.ExecQuery2(\"SELECT NOTA, SALDO_"; +Debug.ShouldStop(64); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT NOTA, SALDO_PENDIENTE FROM ABONOSP WHERE CLIENTE = ? AND SALDO_PENDIENTE <> 0")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA")))})))); + BA.debugLineNum = 1512;BA.debugLine="clv_abonos.Clear"; +Debug.ShouldStop(128); +__ref.getField(false,"_clv_abonos" /*RemoteObject*/ ).runVoidMethod ("_clear"); + BA.debugLineNum = 1513;BA.debugLine="For i = 0 To d.RowCount - 1"; +Debug.ShouldStop(256); +{ +final int step26 = 1; +final int limit26 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_d" /*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 = 1514;BA.debugLine="d.Position = i"; +Debug.ShouldStop(512); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 1515;BA.debugLine="clv_abonos.Add(CreateListItem(d.GetString(\"NOTA"; +Debug.ShouldStop(1024); +__ref.getField(false,"_clv_abonos" /*RemoteObject*/ ).runVoidMethod ("_add",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), __ref.runClassMethod (reparto_izca.keymon.lat.c_cliente.class, "_createlistitem" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("NOTA")))),(Object)(RemoteObject.concat(RemoteObject.createImmutable("$ "),__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("SALDO_PENDIENTE")))))).getObject()),(Object)(RemoteObject.createImmutable((_i)))); + BA.debugLineNum = 1516;BA.debugLine="Log(d.GetString(\"NOTA\"))"; +Debug.ShouldStop(2048); +c_cliente.__c.runVoidMethod ("LogImpl","89371682",__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("NOTA"))),0); + BA.debugLineNum = 1517;BA.debugLine="Log(d.GetString(\"SALDO_PENDIENTE\"))"; +Debug.ShouldStop(4096); +c_cliente.__c.runVoidMethod ("LogImpl","89371683",__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("SALDO_PENDIENTE"))),0); + BA.debugLineNum = 1518;BA.debugLine="total = total + d.GetString(\"SALDO_PENDIENTE\")"; +Debug.ShouldStop(8192); +_total = RemoteObject.solve(new RemoteObject[] {_total,BA.numberCast(double.class, __ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("SALDO_PENDIENTE"))))}, "+",1, 0);Debug.locals.put("total", _total); + BA.debugLineNum = 1519;BA.debugLine="Log(total)"; +Debug.ShouldStop(16384); +c_cliente.__c.runVoidMethod ("LogImpl","89371685",BA.NumberToString(_total),0); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 1521;BA.debugLine="d.Close"; +Debug.ShouldStop(65536); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1522;BA.debugLine="d = Starter.skmt.ExecQuery2(\"SELECT a_abono FRO"; +Debug.ShouldStop(131072); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT a_abono FROM ABONOS WHERE a_cliente = ? and a_tipoabono is null")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA")))})))); + BA.debugLineNum = 1523;BA.debugLine="If d.RowCount > 0 Then"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1524;BA.debugLine="For i = 0 To d.RowCount - 1"; +Debug.ShouldStop(524288); +{ +final int step37 = 1; +final int limit37 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step37 > 0 && _i <= limit37) || (step37 < 0 && _i >= limit37) ;_i = ((int)(0 + _i + step37)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 1525;BA.debugLine="d.Position = i"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 1526;BA.debugLine="clv_abonos.Add(CreateListItem(\"ABONO\",\"$ \" & d"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_clv_abonos" /*RemoteObject*/ ).runVoidMethod ("_add",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), __ref.runClassMethod (reparto_izca.keymon.lat.c_cliente.class, "_createlistitem" /*RemoteObject*/ ,(Object)(BA.ObjectToString("ABONO")),(Object)(RemoteObject.concat(RemoteObject.createImmutable("$ "),__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("a_abono")))))).getObject()),(Object)(RemoteObject.createImmutable((_i)))); + BA.debugLineNum = 1527;BA.debugLine="total = total - d.GetString(\"a_abono\")"; +Debug.ShouldStop(4194304); +_total = RemoteObject.solve(new RemoteObject[] {_total,BA.numberCast(double.class, __ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("a_abono"))))}, "-",1, 0);Debug.locals.put("total", _total); + BA.debugLineNum = 1528;BA.debugLine="Log(total)"; +Debug.ShouldStop(8388608); +c_cliente.__c.runVoidMethod ("LogImpl","89371694",BA.NumberToString(_total),0); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 1531;BA.debugLine="l_montoabonostotal.Text = NumberFormat2(total,0,"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_l_montoabonostotal" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_cliente.__c.runMethod(true,"NumberFormat2",(Object)(_total),(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 = 1532;BA.debugLine="d.Close"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1533;BA.debugLine="f.Close"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_f" /*RemoteObject*/ ).runVoidMethod ("Close"); + }else +{ BA.debugLineNum = 1534;BA.debugLine="Else If j.RowCount > 0 Then"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_j" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1535;BA.debugLine="p_abono.Visible = True"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_p_abono" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 1536;BA.debugLine="p_abono.Width = Root.Width"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_p_abono" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth")); + BA.debugLineNum = 1537;BA.debugLine="p_abono.Height = Root.Height"; +Debug.ShouldStop(1); +__ref.getField(false,"_p_abono" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight")); + BA.debugLineNum = 1538;BA.debugLine="et_abono.text = \"\""; +Debug.ShouldStop(2); +__ref.getField(false,"_et_abono" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 1539;BA.debugLine="Dim total As Double = 0"; +Debug.ShouldStop(4); +_total = BA.numberCast(double.class, 0);Debug.locals.put("total", _total);Debug.locals.put("total", _total); + BA.debugLineNum = 1540;BA.debugLine="f = Starter.skmt.ExecQuery(\"SELECT CUENTA FROM C"; +Debug.ShouldStop(8); +__ref.getField(false,"_f" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT CUENTA FROM CUENTAA")))); + BA.debugLineNum = 1541;BA.debugLine="f.Position = 0"; +Debug.ShouldStop(16); +__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1542;BA.debugLine="d = Starter.skmt.ExecQuery2(\"SELECT NOTA, SALDO_"; +Debug.ShouldStop(32); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT NOTA, SALDO_PENDIENTE FROM ABONOSP WHERE CLIENTE = ? AND SALDO_PENDIENTE <> 0")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA")))})))); + BA.debugLineNum = 1543;BA.debugLine="clv_abonos.Clear"; +Debug.ShouldStop(64); +__ref.getField(false,"_clv_abonos" /*RemoteObject*/ ).runVoidMethod ("_clear"); + BA.debugLineNum = 1544;BA.debugLine="For i = 0 To d.RowCount - 1"; +Debug.ShouldStop(128); +{ +final int step57 = 1; +final int limit57 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step57 > 0 && _i <= limit57) || (step57 < 0 && _i >= limit57) ;_i = ((int)(0 + _i + step57)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 1545;BA.debugLine="d.Position = i"; +Debug.ShouldStop(256); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 1546;BA.debugLine="clv_abonos.Add(CreateListItem(d.GetString(\"NOTA"; +Debug.ShouldStop(512); +__ref.getField(false,"_clv_abonos" /*RemoteObject*/ ).runVoidMethod ("_add",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), __ref.runClassMethod (reparto_izca.keymon.lat.c_cliente.class, "_createlistitem" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("NOTA")))),(Object)(RemoteObject.concat(RemoteObject.createImmutable("$ "),__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("SALDO_PENDIENTE")))))).getObject()),(Object)(RemoteObject.createImmutable((_i)))); + BA.debugLineNum = 1547;BA.debugLine="Log(d.GetString(\"NOTA\"))"; +Debug.ShouldStop(1024); +c_cliente.__c.runVoidMethod ("LogImpl","89371713",__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("NOTA"))),0); + BA.debugLineNum = 1548;BA.debugLine="Log(d.GetString(\"SALDO_PENDIENTE\"))"; +Debug.ShouldStop(2048); +c_cliente.__c.runVoidMethod ("LogImpl","89371714",__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("SALDO_PENDIENTE"))),0); + BA.debugLineNum = 1549;BA.debugLine="total = total + d.GetString(\"SALDO_PENDIENTE\")"; +Debug.ShouldStop(4096); +_total = RemoteObject.solve(new RemoteObject[] {_total,BA.numberCast(double.class, __ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("SALDO_PENDIENTE"))))}, "+",1, 0);Debug.locals.put("total", _total); + BA.debugLineNum = 1550;BA.debugLine="Log(total)"; +Debug.ShouldStop(8192); +c_cliente.__c.runVoidMethod ("LogImpl","89371716",BA.NumberToString(_total),0); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 1552;BA.debugLine="d.Close"; +Debug.ShouldStop(32768); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1553;BA.debugLine="d = Starter.skmt.ExecQuery2(\"SELECT a_abono FRO"; +Debug.ShouldStop(65536); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT a_abono FROM ABONOS WHERE a_cliente = ? and a_tipoabono is null")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA")))})))); + BA.debugLineNum = 1554;BA.debugLine="If d.RowCount > 0 Then"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1555;BA.debugLine="For i = 0 To d.RowCount - 1"; +Debug.ShouldStop(262144); +{ +final int step68 = 1; +final int limit68 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step68 > 0 && _i <= limit68) || (step68 < 0 && _i >= limit68) ;_i = ((int)(0 + _i + step68)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 1556;BA.debugLine="d.Position = i"; +Debug.ShouldStop(524288); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 1557;BA.debugLine="clv_abonos.Add(CreateListItem(\"ABONO\",\"$ \" & d"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_clv_abonos" /*RemoteObject*/ ).runVoidMethod ("_add",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), __ref.runClassMethod (reparto_izca.keymon.lat.c_cliente.class, "_createlistitem" /*RemoteObject*/ ,(Object)(BA.ObjectToString("ABONO")),(Object)(RemoteObject.concat(RemoteObject.createImmutable("$ "),__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("a_abono")))))).getObject()),(Object)(RemoteObject.createImmutable((_i)))); + BA.debugLineNum = 1558;BA.debugLine="total = total - d.GetString(\"a_abono\")"; +Debug.ShouldStop(2097152); +_total = RemoteObject.solve(new RemoteObject[] {_total,BA.numberCast(double.class, __ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("a_abono"))))}, "-",1, 0);Debug.locals.put("total", _total); + BA.debugLineNum = 1559;BA.debugLine="Log(total)"; +Debug.ShouldStop(4194304); +c_cliente.__c.runVoidMethod ("LogImpl","89371725",BA.NumberToString(_total),0); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 1562;BA.debugLine="l_montoabonostotal.Text = NumberFormat2(total,0,"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_l_montoabonostotal" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_cliente.__c.runMethod(true,"NumberFormat2",(Object)(_total),(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 = 1563;BA.debugLine="d.Close"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1564;BA.debugLine="f.Close"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_f" /*RemoteObject*/ ).runVoidMethod ("Close"); + }} +; + BA.debugLineNum = 1567;BA.debugLine="h.Close"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_h" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1568;BA.debugLine="j.Close"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_j" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1569;BA.debugLine="End Sub"; +Debug.ShouldStop(1); +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",6,__ref.getField(false, "ba"),__ref,655); +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(reparto_izca.keymon.lat.c_cliente parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +reparto_izca.keymon.lat.c_cliente parent; +RemoteObject _cont = RemoteObject.createImmutable(0); +RemoteObject _c2 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +int _i = 0; +RemoteObject _punit = RemoteObject.createImmutable(""); +RemoteObject _ptot = RemoteObject.createImmutable(""); +int _e = 0; +RemoteObject _vc5 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _resultado = RemoteObject.createImmutable(0); +RemoteObject _totalcredito = RemoteObject.createImmutable(0f); +int step57; +int limit57; +int step69; +int limit69; +int step92; +int limit92; +int step118; +int limit118; +int step133; +int limit133; +int step164; +int limit164; +int step176; +int limit176; +int step199; +int limit199; +int step225; +int limit225; +int step240; +int limit240; +int step265; +int limit265; +int step275; +int limit275; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("B_IMP_Click (c_cliente) ","c_cliente",6,__ref.getField(false, "ba"),__ref,655); +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 = 656;BA.debugLine="c=Starter.skmt.ExecQuery(\"select USUARIO from usu"; +Debug.ShouldStop(32768); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select USUARIO from usuarioa")))); + BA.debugLineNum = 657;BA.debugLine="c.Position=0"; +Debug.ShouldStop(65536); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 658;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 = 660;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(524288); +parent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 661;BA.debugLine="DateTime.TimeFormat=\"HH:mm:ss\""; +Debug.ShouldStop(1048576); +parent.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HH:mm:ss")); + BA.debugLineNum = 662;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(2097152); +__ref.setField ("_sdate" /*RemoteObject*/ ,parent.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(parent.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 663;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(4194304); +__ref.setField ("_stime" /*RemoteObject*/ ,parent.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(parent.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 664;BA.debugLine="c.Close"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 670;BA.debugLine="ProgressDialogShow(\"Imprimiendo, un momento ...\")"; +Debug.ShouldStop(536870912); +parent.__c.runVoidMethod ("ProgressDialogShow",__ref.getField(false, "ba"),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Imprimiendo, un momento ...")))); + BA.debugLineNum = 671;BA.debugLine="Printer1.DisConnect"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_disconnect" /*RemoteObject*/ ); + BA.debugLineNum = 672;BA.debugLine="If Not(Printer1.IsConnected) Then"; +Debug.ShouldStop(-2147483648); +if (true) break; + +case 1: +//if +this.state = 38; +if (parent.__c.runMethod(true,"Not",(Object)(__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_isconnected" /*RemoteObject*/ ))).get().booleanValue()) { +this.state = 3; +}else { +this.state = 21; +}if (true) break; + +case 3: +//C +this.state = 4; + BA.debugLineNum = 674;BA.debugLine="Printer1.Connect"; +Debug.ShouldStop(2); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_connect" /*RemoteObject*/ ); + BA.debugLineNum = 675;BA.debugLine="Private cont As Int = 0"; +Debug.ShouldStop(4); +_cont = BA.numberCast(int.class, 0);Debug.locals.put("cont", _cont);Debug.locals.put("cont", _cont); + BA.debugLineNum = 676;BA.debugLine="Do While Not(impresoraConectada)"; +Debug.ShouldStop(8); +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 = 677;BA.debugLine="Sleep(1000)"; +Debug.ShouldStop(16); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "b_imp_click"),BA.numberCast(int.class, 1000)); +this.state = 197; +return; +case 197: +//C +this.state = 7; +; + BA.debugLineNum = 679;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 = 680;BA.debugLine="If cont = 2 Then Printer1.Connect 'Tratamos de"; +Debug.ShouldStop(128); +if (true) break; + +case 7: +//if +this.state = 12; +if (RemoteObject.solveBoolean("=",_cont,BA.numberCast(double.class, 2))) { +this.state = 9; +;}if (true) break; + +case 9: +//C +this.state = 12; +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_connect" /*RemoteObject*/ ); +if (true) break; + +case 12: +//C +this.state = 13; +; + BA.debugLineNum = 681;BA.debugLine="If cont > 3 Then impresoraConectada = True"; +Debug.ShouldStop(256); +if (true) break; + +case 13: +//if +this.state = 18; +if (RemoteObject.solveBoolean(">",_cont,BA.numberCast(double.class, 3))) { +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 = 683;BA.debugLine="Sleep(500)"; +Debug.ShouldStop(1024); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "b_imp_click"),BA.numberCast(int.class, 500)); +this.state = 198; +return; +case 198: +//C +this.state = 38; +; + BA.debugLineNum = 684;BA.debugLine="impresoraConectada = False"; +Debug.ShouldStop(2048); +__ref.setField ("_impresoraconectada" /*RemoteObject*/ ,parent.__c.getField(true,"False")); + if (true) break; + +case 21: +//C +this.state = 22; + BA.debugLineNum = 687;BA.debugLine="Printer1.Connect"; +Debug.ShouldStop(16384); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_connect" /*RemoteObject*/ ); + BA.debugLineNum = 688;BA.debugLine="Private cont As Int = 0"; +Debug.ShouldStop(32768); +_cont = BA.numberCast(int.class, 0);Debug.locals.put("cont", _cont);Debug.locals.put("cont", _cont); + BA.debugLineNum = 689;BA.debugLine="Do While Not(impresoraConectada) Or Not(Printer1"; +Debug.ShouldStop(65536); +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 (reparto_izca.keymon.lat.escposprinter.class, "_isconnected" /*RemoteObject*/ ))))) { +this.state = 24; +if (true) break; +} +if (true) break; + +case 24: +//C +this.state = 25; + BA.debugLineNum = 690;BA.debugLine="Sleep(1000)"; +Debug.ShouldStop(131072); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "b_imp_click"),BA.numberCast(int.class, 1000)); +this.state = 199; +return; +case 199: +//C +this.state = 25; +; + BA.debugLineNum = 692;BA.debugLine="cont = cont + 1"; +Debug.ShouldStop(524288); +_cont = RemoteObject.solve(new RemoteObject[] {_cont,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("cont", _cont); + BA.debugLineNum = 693;BA.debugLine="If cont = 2 Then Printer1.Connect"; +Debug.ShouldStop(1048576); +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 (reparto_izca.keymon.lat.escposprinter.class, "_connect" /*RemoteObject*/ ); +if (true) break; + +case 30: +//C +this.state = 31; +; + BA.debugLineNum = 694;BA.debugLine="If cont > 3 Then impresoraConectada = True"; +Debug.ShouldStop(2097152); +if (true) break; + +case 31: +//if +this.state = 36; +if (RemoteObject.solveBoolean(">",_cont,BA.numberCast(double.class, 3))) { +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 = 696;BA.debugLine="Sleep(500)"; +Debug.ShouldStop(8388608); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "b_imp_click"),BA.numberCast(int.class, 500)); +this.state = 200; +return; +case 200: +//C +this.state = 38; +; + BA.debugLineNum = 697;BA.debugLine="impresoraConectada = False"; +Debug.ShouldStop(16777216); +__ref.setField ("_impresoraconectada" /*RemoteObject*/ ,parent.__c.getField(true,"False")); + if (true) break; + +case 38: +//C +this.state = 39; +; + BA.debugLineNum = 700;BA.debugLine="TAMANO = 0"; +Debug.ShouldStop(134217728); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 701;BA.debugLine="ESPACIO = 28"; +Debug.ShouldStop(268435456); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, 28)); + BA.debugLineNum = 702;BA.debugLine="BLANCO = \" \""; +Debug.ShouldStop(536870912); +__ref.setField ("_blanco" /*RemoteObject*/ ,BA.ObjectToString(" ")); + BA.debugLineNum = 719;BA.debugLine="Printer1.WriteString(\"Izca Distribuciones\" & CRL"; +Debug.ShouldStop(16384); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Izca Distribuciones"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 721;BA.debugLine="Printer1.WriteString(sDate & CRLF)"; +Debug.ShouldStop(65536); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 722;BA.debugLine="Printer1.WriteString(sTime & CRLF)"; +Debug.ShouldStop(131072); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_stime" /*RemoteObject*/ ),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 723;BA.debugLine="Printer1.WriteString(\"Vendedor:\" & usuario & CRL"; +Debug.ShouldStop(262144); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Vendedor:"),__ref.getField(true,"_usuario" /*RemoteObject*/ ),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 724;BA.debugLine="Printer1.WriteString(\"Tienda: \" & La_nombre.Text"; +Debug.ShouldStop(524288); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Tienda: "),__ref.getField(false,"_la_nombre" /*RemoteObject*/ ).runMethod(true,"getText"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 725;BA.debugLine="Printer1.WriteString(\"ID.Cliente: \" & la_cuenta."; +Debug.ShouldStop(1048576); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("ID.Cliente: "),__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 726;BA.debugLine="Printer1.WriteString(\"Calle: \" & la_Calle.Text &"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Calle: "),__ref.getField(false,"_la_calle" /*RemoteObject*/ ).runMethod(true,"getText"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 727;BA.debugLine="Printer1.WriteString(\"Colonia: \" & la_col.Text &"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Colonia: "),__ref.getField(false,"_la_col" /*RemoteObject*/ ).runMethod(true,"getText"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 731;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 733;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT * FROM HIST_VE"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT * FROM HIST_VENTAS WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA) and HVD_BCREDITO = '1' ")))); + BA.debugLineNum = 734;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(536870912); +if (true) break; + +case 39: +//if +this.state = 72; +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 41; +}if (true) break; + +case 41: +//C +this.state = 42; + BA.debugLineNum = 736;BA.debugLine="Dim c2 As Cursor= Starter.skmt.ExecQuery(\"SELECT"; +Debug.ShouldStop(-2147483648); +_c2 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c2 = 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 iFNULL(SUM(HVD_CANT),0) AS HVD_CANT, iFNULL(SUM(HVD_RECHAZOCANT),0) AS HVD_RECHAZOCANT FROM HIST_VENTAS WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA) and HVD_BCREDITO = '1' "))));Debug.locals.put("c2", _c2);Debug.locals.put("c2", _c2); + BA.debugLineNum = 737;BA.debugLine="c2.Position = 0"; +Debug.ShouldStop(1); +_c2.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 738;BA.debugLine="If c2.GetInt(\"HVD_CANT\") - c2.GetInt(\"HVD_RECHAZ"; +Debug.ShouldStop(2); +if (true) break; + +case 42: +//if +this.state = 45; +if (RemoteObject.solveBoolean(">",RemoteObject.solve(new RemoteObject[] {_c2.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("HVD_CANT"))),_c2.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT")))}, "-",1, 1),BA.numberCast(double.class, 0))) { +this.state = 44; +}if (true) break; + +case 44: +//C +this.state = 45; + BA.debugLineNum = 739;BA.debugLine="Printer1.WriteString(\"--------ENTREGA CREDITO--"; +Debug.ShouldStop(4); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("--------ENTREGA CREDITO-------"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 742;BA.debugLine="Printer1.WriteString(\"Cant. Precio"; +Debug.ShouldStop(32); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Cant. Precio Importe"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 744;BA.debugLine="Printer1.WriteString(\"-------------------------"; +Debug.ShouldStop(128); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("------------------------------"),parent.__c.getField(true,"CRLF")))); + if (true) break; + +case 45: +//C +this.state = 46; +; + BA.debugLineNum = 748;BA.debugLine="s=Starter.skmt.ExecQuery($\"select HVD_PRONOMBRE,"; +Debug.ShouldStop(2048); +__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.createImmutable("select HVD_PRONOMBRE, HVD_CANT, length(HVD_CANT) as L_CANT, HVD_COSTO_TOT, length(HVD_COSTO_TOT) as L_COSTOU,HVD_PROID, HVD_CODPROMO,IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT, HVD_RECHAZO FROM HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) and HVD_BCREDITO = '1' order by HVD_PROID"))))); + BA.debugLineNum = 749;BA.debugLine="If S.RowCount>0 Then"; +Debug.ShouldStop(4096); +if (true) break; + +case 46: +//if +this.state = 71; +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 48; +}if (true) break; + +case 48: +//C +this.state = 49; + BA.debugLineNum = 750;BA.debugLine="For i=0 To S.RowCount -1"; +Debug.ShouldStop(8192); +if (true) break; + +case 49: +//for +this.state = 70; +step57 = 1; +limit57 = 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 = 201; +if (true) break; + +case 201: +//C +this.state = 70; +if ((step57 > 0 && _i <= limit57) || (step57 < 0 && _i >= limit57)) this.state = 51; +if (true) break; + +case 202: +//C +this.state = 201; +_i = ((int)(0 + _i + step57)) ; +Debug.locals.put("i", _i); +if (true) break; + +case 51: +//C +this.state = 52; + BA.debugLineNum = 751;BA.debugLine="S.Position=i"; +Debug.ShouldStop(16384); +__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 752;BA.debugLine="Log(s.GetString(\"HVD_RECHAZO\"))"; +Debug.ShouldStop(32768); +parent.__c.runVoidMethod ("LogImpl","88650849",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZO"))),0); + BA.debugLineNum = 753;BA.debugLine="If s.GetString(\"HVD_CANT\") - s.GetString(\"HVD_"; +Debug.ShouldStop(65536); +if (true) break; + +case 52: +//if +this.state = 69; +if (RemoteObject.solveBoolean(">",RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0),BA.numberCast(double.class, 0))) { +this.state = 54; +}if (true) break; + +case 54: +//C +this.state = 55; + BA.debugLineNum = 756;BA.debugLine="If s.GetString(\"HVD_CODPROMO\") = Subs.traeAlm"; +Debug.ShouldStop(524288); +if (true) break; + +case 55: +//if +this.state = 68; +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CODPROMO"))),parent._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")))) { +this.state = 57; +}else +{ BA.debugLineNum = 784;BA.debugLine="Else If s.GetString(\"HVD_RECHAZO\") = 1 Then"; +Debug.ShouldStop(32768); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZO"))),BA.NumberToString(1))) { +this.state = 63; +}} +if (true) break; + +case 57: +//C +this.state = 58; + BA.debugLineNum = 758;BA.debugLine="Printer1.Justify = 0"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0)); + BA.debugLineNum = 759;BA.debugLine="Printer1.WriteString(s.GetString(\"HVD_PRONOM"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PRONOMBRE"))),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 762;BA.debugLine="Dim punit As String = NumberFormat2((s.GETST"; +Debug.ShouldStop(33554432); +_punit = 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("HVD_COSTO_TOT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT"))))}, "/",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("punit", _punit);Debug.locals.put("punit", _punit); + BA.debugLineNum = 763;BA.debugLine="TAMANO = punit.Length + TAMANO"; +Debug.ShouldStop(67108864); +__ref.setField ("_tamano" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {_punit.runMethod(true,"length"),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 1)); + BA.debugLineNum = 766;BA.debugLine="Private ptot As String = NumberFormat2(( (s."; +Debug.ShouldStop(536870912); +_ptot = parent.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0)),BA.numberCast(double.class, _punit)}, "*",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("ptot", _ptot);Debug.locals.put("ptot", _ptot); + BA.debugLineNum = 767;BA.debugLine="TAMANO = ptot.Length + TAMANO"; +Debug.ShouldStop(1073741824); +__ref.setField ("_tamano" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {_ptot.runMethod(true,"length"),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 1)); + BA.debugLineNum = 769;BA.debugLine="ESPACIO = (ESPACIO - TAMANO)/2"; +Debug.ShouldStop(1); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "-",1, 1)),RemoteObject.createImmutable(2)}, "/",0, 0))); + BA.debugLineNum = 771;BA.debugLine="For E=0 To ESPACIO -1"; +Debug.ShouldStop(4); +if (true) break; + +case 58: +//for +this.state = 61; +step69 = 1; +limit69 = 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 = 203; +if (true) break; + +case 203: +//C +this.state = 61; +if ((step69 > 0 && _e <= limit69) || (step69 < 0 && _e >= limit69)) this.state = 60; +if (true) break; + +case 204: +//C +this.state = 203; +_e = ((int)(0 + _e + step69)) ; +Debug.locals.put("E", _e); +if (true) break; + +case 60: +//C +this.state = 204; + BA.debugLineNum = 772;BA.debugLine="BLANCO = \" \" & BLANCO"; +Debug.ShouldStop(8); +__ref.setField ("_blanco" /*RemoteObject*/ ,RemoteObject.concat(RemoteObject.createImmutable(" "),__ref.getField(true,"_blanco" /*RemoteObject*/ ))); + if (true) break; +if (true) break; + +case 61: +//C +this.state = 68; +Debug.locals.put("E", _e); +; + BA.debugLineNum = 774;BA.debugLine="Printer1.Justify = 0"; +Debug.ShouldStop(32); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0)); + BA.debugLineNum = 775;BA.debugLine="Printer1.WriteString( (s.GetString(\"HVD_CANT"; +Debug.ShouldStop(64); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.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("HVD_CANT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0)),__ref.getField(true,"_blanco" /*RemoteObject*/ )))); + BA.debugLineNum = 776;BA.debugLine="Printer1.Justify = 1"; +Debug.ShouldStop(128); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 1)); + BA.debugLineNum = 777;BA.debugLine="Printer1.WriteString( punit & BLANCO)"; +Debug.ShouldStop(256); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(_punit,__ref.getField(true,"_blanco" /*RemoteObject*/ )))); + BA.debugLineNum = 778;BA.debugLine="Printer1.Justify = 2"; +Debug.ShouldStop(512); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 2)); + BA.debugLineNum = 779;BA.debugLine="Printer1.WriteString( ptot & CRLF )"; +Debug.ShouldStop(1024); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(_ptot,parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 780;BA.debugLine="TAMANO = 0"; +Debug.ShouldStop(2048); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 781;BA.debugLine="ESPACIO = 29"; +Debug.ShouldStop(4096); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, 29)); + BA.debugLineNum = 782;BA.debugLine="BLANCO = \" \""; +Debug.ShouldStop(8192); +__ref.setField ("_blanco" /*RemoteObject*/ ,BA.ObjectToString(" ")); + if (true) break; + +case 63: +//C +this.state = 64; + BA.debugLineNum = 786;BA.debugLine="Printer1.Justify = 0"; +Debug.ShouldStop(131072); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0)); + BA.debugLineNum = 787;BA.debugLine="Printer1.WriteString(s.GetString(\"HVD_PRONOM"; +Debug.ShouldStop(262144); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PRONOMBRE"))),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 789;BA.debugLine="Private vc5 As Cursor = Starter.skmt.ExecQue"; +Debug.ShouldStop(1048576); +_vc5 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_vc5 = 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 iFNULL(CAT_GP_PRECIO,0) AS CAT_GP_PRECIO from CAT_GUNAPROD where CAT_GP_ID = '"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID")))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("vc5", _vc5);Debug.locals.put("vc5", _vc5); + BA.debugLineNum = 790;BA.debugLine="vc5.Position = 0"; +Debug.ShouldStop(2097152); +_vc5.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 791;BA.debugLine="Dim punit As String = NumberFormat2((vc5.Get"; +Debug.ShouldStop(4194304); +_punit = parent.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, (_vc5.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")));Debug.locals.put("punit", _punit);Debug.locals.put("punit", _punit); + BA.debugLineNum = 792;BA.debugLine="TAMANO = punit.Length + TAMANO"; +Debug.ShouldStop(8388608); +__ref.setField ("_tamano" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {_punit.runMethod(true,"length"),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 1)); + BA.debugLineNum = 793;BA.debugLine="vc5.Close"; +Debug.ShouldStop(16777216); +_vc5.runVoidMethod ("Close"); + BA.debugLineNum = 795;BA.debugLine="Private ptot As String = NumberFormat2(( (s."; +Debug.ShouldStop(67108864); +_ptot = parent.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0)),BA.numberCast(double.class, _punit)}, "*",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("ptot", _ptot);Debug.locals.put("ptot", _ptot); + BA.debugLineNum = 796;BA.debugLine="TAMANO = ptot.Length + TAMANO"; +Debug.ShouldStop(134217728); +__ref.setField ("_tamano" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {_ptot.runMethod(true,"length"),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 1)); + BA.debugLineNum = 798;BA.debugLine="ESPACIO = (ESPACIO - TAMANO)/2"; +Debug.ShouldStop(536870912); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "-",1, 1)),RemoteObject.createImmutable(2)}, "/",0, 0))); + BA.debugLineNum = 800;BA.debugLine="For E=0 To ESPACIO -1"; +Debug.ShouldStop(-2147483648); +if (true) break; + +case 64: +//for +this.state = 67; +step92 = 1; +limit92 = 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 = 205; +if (true) break; + +case 205: +//C +this.state = 67; +if ((step92 > 0 && _e <= limit92) || (step92 < 0 && _e >= limit92)) this.state = 66; +if (true) break; + +case 206: +//C +this.state = 205; +_e = ((int)(0 + _e + step92)) ; +Debug.locals.put("E", _e); +if (true) break; + +case 66: +//C +this.state = 206; + BA.debugLineNum = 801;BA.debugLine="BLANCO = \" \" & BLANCO"; +Debug.ShouldStop(1); +__ref.setField ("_blanco" /*RemoteObject*/ ,RemoteObject.concat(RemoteObject.createImmutable(" "),__ref.getField(true,"_blanco" /*RemoteObject*/ ))); + if (true) break; +if (true) break; + +case 67: +//C +this.state = 68; +Debug.locals.put("E", _e); +; + BA.debugLineNum = 803;BA.debugLine="Printer1.Justify = 0"; +Debug.ShouldStop(4); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0)); + BA.debugLineNum = 804;BA.debugLine="Printer1.WriteString( (s.GetString(\"HVD_CANT"; +Debug.ShouldStop(8); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.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("HVD_CANT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0)),__ref.getField(true,"_blanco" /*RemoteObject*/ )))); + BA.debugLineNum = 805;BA.debugLine="Printer1.Justify = 1"; +Debug.ShouldStop(16); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 1)); + BA.debugLineNum = 806;BA.debugLine="Printer1.WriteString( punit & BLANCO)"; +Debug.ShouldStop(32); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(_punit,__ref.getField(true,"_blanco" /*RemoteObject*/ )))); + BA.debugLineNum = 807;BA.debugLine="Printer1.Justify = 2"; +Debug.ShouldStop(64); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 2)); + BA.debugLineNum = 808;BA.debugLine="Printer1.WriteString(ptot& CRLF )"; +Debug.ShouldStop(128); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(_ptot,parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 809;BA.debugLine="TAMANO = 0"; +Debug.ShouldStop(256); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 810;BA.debugLine="ESPACIO = 29"; +Debug.ShouldStop(512); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, 29)); + BA.debugLineNum = 811;BA.debugLine="BLANCO = \" \""; +Debug.ShouldStop(1024); +__ref.setField ("_blanco" /*RemoteObject*/ ,BA.ObjectToString(" ")); + BA.debugLineNum = 812;BA.debugLine="Printer1.Justify = 0"; +Debug.ShouldStop(2048); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0)); + if (true) break; + +case 68: +//C +this.state = 69; +; + if (true) break; + +case 69: +//C +this.state = 202; +; + if (true) break; +if (true) break; + +case 70: +//C +this.state = 71; +Debug.locals.put("i", _i); +; + BA.debugLineNum = 816;BA.debugLine="Printer1.Justify = 0"; +Debug.ShouldStop(32768); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0)); + BA.debugLineNum = 817;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +Debug.ShouldStop(65536); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF")))); + if (true) break; + +case 71: +//C +this.state = 72; +; + if (true) break; + +case 72: +//C +this.state = 73; +; + BA.debugLineNum = 821;BA.debugLine="s.Close"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_s" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 822;BA.debugLine="s=Starter.skmt.ExecQuery($\"select HVD_PRONOMBRE,"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select HVD_PRONOMBRE, HVD_CANT, length(HVD_CANT) as L_CANT, HVD_COSTO_TOT, length(HVD_COSTO_TOT) as L_COSTOU,HVD_PROID, HVD_CODPROMO,IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT FROM HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) AND HVD_RECHAZO = 0 AND HVD_CODPROMO <> '"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),RemoteObject.createImmutable("' and HVD_BCREDITO = '1' order by HVD_CODPROMO, ESPROMO DESC, HVD_PROID")))))); + BA.debugLineNum = 824;BA.debugLine="If S.RowCount>0 Then"; +Debug.ShouldStop(8388608); +if (true) break; + +case 73: +//if +this.state = 100; +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 75; +}if (true) break; + +case 75: +//C +this.state = 76; + BA.debugLineNum = 825;BA.debugLine="Printer1.WriteString(\"---PROMOS ENTREGA CREDITO-"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("---PROMOS ENTREGA CREDITO----"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 826;BA.debugLine="Printer1.WriteString(\"Cant. Precio I"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Cant. Precio Importe"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 827;BA.debugLine="Printer1.WriteString(\"--------------------------"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("------------------------------"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 829;BA.debugLine="For i=0 To S.RowCount -1"; +Debug.ShouldStop(268435456); +if (true) break; + +case 76: +//for +this.state = 99; +step118 = 1; +limit118 = 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 = 207; +if (true) break; + +case 207: +//C +this.state = 99; +if ((step118 > 0 && _i <= limit118) || (step118 < 0 && _i >= limit118)) this.state = 78; +if (true) break; + +case 208: +//C +this.state = 207; +_i = ((int)(0 + _i + step118)) ; +Debug.locals.put("i", _i); +if (true) break; + +case 78: +//C +this.state = 79; + BA.debugLineNum = 830;BA.debugLine="S.Position=i"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 831;BA.debugLine="If s.GetString(\"HVD_CANT\") - s.GetString(\"HVD_R"; +Debug.ShouldStop(1073741824); +if (true) break; + +case 79: +//if +this.state = 98; +if (RemoteObject.solveBoolean(">",RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0),BA.numberCast(double.class, 0))) { +this.state = 81; +}if (true) break; + +case 81: +//C +this.state = 82; + BA.debugLineNum = 834;BA.debugLine="If s.GetString(\"HVD_CODPROMO\") <> Subs.traeAlm"; +Debug.ShouldStop(2); +if (true) break; + +case 82: +//if +this.state = 97; +if (RemoteObject.solveBoolean("!",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CODPROMO"))),parent._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")))) { +this.state = 84; +}else { +this.state = 96; +}if (true) break; + +case 84: +//C +this.state = 85; + BA.debugLineNum = 836;BA.debugLine="Printer1.Justify = 0"; +Debug.ShouldStop(8); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0)); + BA.debugLineNum = 837;BA.debugLine="If s.GetString(\"HVD_CODPROMO\") = s.GetString("; +Debug.ShouldStop(16); +if (true) break; + +case 85: +//if +this.state = 94; +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CODPROMO"))),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID"))))) { +this.state = 87; +}else { +this.state = 89; +}if (true) break; + +case 87: +//C +this.state = 94; + BA.debugLineNum = 838;BA.debugLine="Printer1.WriteString(\"* \"&s.GetString(\"HVD_P"; +Debug.ShouldStop(32); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("* "),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PRONOMBRE"))),parent.__c.getField(true,"CRLF")))); + if (true) break; + +case 89: +//C +this.state = 90; + BA.debugLineNum = 840;BA.debugLine="Printer1.WriteString(s.GetString(\"HVD_PRONOM"; +Debug.ShouldStop(128); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PRONOMBRE"))),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 842;BA.debugLine="Dim punit As String =NumberFormat2((s.GETSTR"; +Debug.ShouldStop(512); +_punit = 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("HVD_COSTO_TOT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT"))))}, "/",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("punit", _punit);Debug.locals.put("punit", _punit); + BA.debugLineNum = 843;BA.debugLine="TAMANO = punit.Length + TAMANO"; +Debug.ShouldStop(1024); +__ref.setField ("_tamano" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {_punit.runMethod(true,"length"),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 1)); + BA.debugLineNum = 846;BA.debugLine="Private ptot As String = NumberFormat2((puni"; +Debug.ShouldStop(8192); +_ptot = parent.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _punit),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT"))))}, "*",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("ptot", _ptot);Debug.locals.put("ptot", _ptot); + BA.debugLineNum = 847;BA.debugLine="TAMANO = ptot.Length + TAMANO"; +Debug.ShouldStop(16384); +__ref.setField ("_tamano" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {_ptot.runMethod(true,"length"),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 1)); + BA.debugLineNum = 850;BA.debugLine="ESPACIO = (ESPACIO - TAMANO)/2"; +Debug.ShouldStop(131072); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "-",1, 1)),RemoteObject.createImmutable(2)}, "/",0, 0))); + BA.debugLineNum = 851;BA.debugLine="Log(ESPACIO)"; +Debug.ShouldStop(262144); +parent.__c.runVoidMethod ("LogImpl","88650948",BA.NumberToString(__ref.getField(true,"_espacio" /*RemoteObject*/ )),0); + BA.debugLineNum = 852;BA.debugLine="For E=0 To ESPACIO -1"; +Debug.ShouldStop(524288); +if (true) break; + +case 90: +//for +this.state = 93; +step133 = 1; +limit133 = 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 = 209; +if (true) break; + +case 209: +//C +this.state = 93; +if ((step133 > 0 && _e <= limit133) || (step133 < 0 && _e >= limit133)) this.state = 92; +if (true) break; + +case 210: +//C +this.state = 209; +_e = ((int)(0 + _e + step133)) ; +Debug.locals.put("E", _e); +if (true) break; + +case 92: +//C +this.state = 210; + BA.debugLineNum = 853;BA.debugLine="BLANCO = \" \" & BLANCO"; +Debug.ShouldStop(1048576); +__ref.setField ("_blanco" /*RemoteObject*/ ,RemoteObject.concat(RemoteObject.createImmutable(" "),__ref.getField(true,"_blanco" /*RemoteObject*/ ))); + if (true) break; +if (true) break; + +case 93: +//C +this.state = 94; +Debug.locals.put("E", _e); +; + BA.debugLineNum = 855;BA.debugLine="Printer1.Justify = 0"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0)); + BA.debugLineNum = 856;BA.debugLine="Printer1.WriteString( (s.GetString(\"HVD_CANT"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.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("HVD_CANT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0)),__ref.getField(true,"_blanco" /*RemoteObject*/ )))); + BA.debugLineNum = 857;BA.debugLine="Printer1.Justify = 1"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 1)); + BA.debugLineNum = 858;BA.debugLine="Printer1.WriteString( punit & BLANCO)"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(_punit,__ref.getField(true,"_blanco" /*RemoteObject*/ )))); + BA.debugLineNum = 859;BA.debugLine="Printer1.Justify = 2"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 2)); + BA.debugLineNum = 860;BA.debugLine="Printer1.WriteString(ptot & CRLF )"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(_ptot,parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 861;BA.debugLine="TAMANO = 0"; +Debug.ShouldStop(268435456); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 862;BA.debugLine="ESPACIO = 29"; +Debug.ShouldStop(536870912); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, 29)); + BA.debugLineNum = 863;BA.debugLine="BLANCO = \" \""; +Debug.ShouldStop(1073741824); +__ref.setField ("_blanco" /*RemoteObject*/ ,BA.ObjectToString(" ")); + BA.debugLineNum = 864;BA.debugLine="Printer1.Justify = 0"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0)); + if (true) break; + +case 94: +//C +this.state = 97; +; + if (true) break; + +case 96: +//C +this.state = 97; + if (true) break; + +case 97: +//C +this.state = 98; +; + if (true) break; + +case 98: +//C +this.state = 208; +; + if (true) break; +if (true) break; + +case 99: +//C +this.state = 100; +Debug.locals.put("i", _i); +; + if (true) break; + +case 100: +//C +this.state = 101; +; + BA.debugLineNum = 876;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT * FROM HIST_VE"; +Debug.ShouldStop(2048); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT * FROM HIST_VENTAS WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA) and HVD_BCREDITO <> '1' ")))); + BA.debugLineNum = 877;BA.debugLine="Log(c.RowCount&\"------------------\")"; +Debug.ShouldStop(4096); +parent.__c.runVoidMethod ("LogImpl","88650974",RemoteObject.concat(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable("------------------")),0); + BA.debugLineNum = 878;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(8192); +if (true) break; + +case 101: +//if +this.state = 134; +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 103; +}if (true) break; + +case 103: +//C +this.state = 104; + BA.debugLineNum = 880;BA.debugLine="Dim c2 As Cursor= Starter.skmt.ExecQuery(\"SELECT"; +Debug.ShouldStop(32768); +_c2 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c2 = 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 iFNULL(SUM(HVD_CANT),0) AS HVD_CANT, iFNULL(SUM(HVD_RECHAZOCANT),0) AS HVD_RECHAZOCANT FROM HIST_VENTAS WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA) and HVD_BCREDITO <> '1' "))));Debug.locals.put("c2", _c2);Debug.locals.put("c2", _c2); + BA.debugLineNum = 881;BA.debugLine="c2.Position = 0"; +Debug.ShouldStop(65536); +_c2.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 882;BA.debugLine="If c2.GetInt(\"HVD_CANT\") - c2.GetInt(\"HVD_RECHAZ"; +Debug.ShouldStop(131072); +if (true) break; + +case 104: +//if +this.state = 107; +if (RemoteObject.solveBoolean(">",RemoteObject.solve(new RemoteObject[] {_c2.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("HVD_CANT"))),_c2.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT")))}, "-",1, 1),BA.numberCast(double.class, 0))) { +this.state = 106; +}if (true) break; + +case 106: +//C +this.state = 107; + BA.debugLineNum = 883;BA.debugLine="Printer1.WriteString(\"--------ENTREGA CONTADO--"; +Debug.ShouldStop(262144); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("--------ENTREGA CONTADO-------"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 886;BA.debugLine="Printer1.WriteString(\"Cant. Precio"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Cant. Precio Importe"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 887;BA.debugLine="Printer1.WriteString(\"--------------------------"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("------------------------------"),parent.__c.getField(true,"CRLF")))); + if (true) break; + +case 107: +//C +this.state = 108; +; + BA.debugLineNum = 892;BA.debugLine="s=Starter.skmt.ExecQuery($\"select HVD_PRONOMBRE,"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.createImmutable("select HVD_PRONOMBRE, HVD_CANT, length(HVD_CANT) as L_CANT, HVD_COSTO_TOT, length(HVD_COSTO_TOT) as L_COSTOU,HVD_PROID, HVD_CODPROMO,IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT, HVD_RECHAZO FROM HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) AND HVD_BCREDITO <> '1' order by HVD_PROID"))))); + BA.debugLineNum = 893;BA.debugLine="If S.RowCount>0 Then"; +Debug.ShouldStop(268435456); +if (true) break; + +case 108: +//if +this.state = 133; +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 110; +}if (true) break; + +case 110: +//C +this.state = 111; + BA.debugLineNum = 894;BA.debugLine="For i=0 To S.RowCount -1"; +Debug.ShouldStop(536870912); +if (true) break; + +case 111: +//for +this.state = 132; +step164 = 1; +limit164 = 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 = 211; +if (true) break; + +case 211: +//C +this.state = 132; +if ((step164 > 0 && _i <= limit164) || (step164 < 0 && _i >= limit164)) this.state = 113; +if (true) break; + +case 212: +//C +this.state = 211; +_i = ((int)(0 + _i + step164)) ; +Debug.locals.put("i", _i); +if (true) break; + +case 113: +//C +this.state = 114; + BA.debugLineNum = 895;BA.debugLine="S.Position=i"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 896;BA.debugLine="Log(s.GetString(\"HVD_RECHAZO\"))"; +Debug.ShouldStop(-2147483648); +parent.__c.runVoidMethod ("LogImpl","88650993",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZO"))),0); + BA.debugLineNum = 897;BA.debugLine="If s.GetString(\"HVD_CANT\") - s.GetString(\"HVD_"; +Debug.ShouldStop(1); +if (true) break; + +case 114: +//if +this.state = 131; +if (RemoteObject.solveBoolean(">",RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0),BA.numberCast(double.class, 0))) { +this.state = 116; +}if (true) break; + +case 116: +//C +this.state = 117; + BA.debugLineNum = 900;BA.debugLine="If s.GetString(\"HVD_CODPROMO\") = Subs.traeAlm"; +Debug.ShouldStop(8); +if (true) break; + +case 117: +//if +this.state = 130; +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CODPROMO"))),parent._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")))) { +this.state = 119; +}else +{ BA.debugLineNum = 928;BA.debugLine="Else If s.GetString(\"HVD_RECHAZO\") = 1 Then"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZO"))),BA.NumberToString(1))) { +this.state = 125; +}} +if (true) break; + +case 119: +//C +this.state = 120; + BA.debugLineNum = 902;BA.debugLine="Printer1.Justify = 0"; +Debug.ShouldStop(32); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0)); + BA.debugLineNum = 903;BA.debugLine="Printer1.WriteString(s.GetString(\"HVD_PRONOM"; +Debug.ShouldStop(64); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PRONOMBRE"))),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 906;BA.debugLine="Dim punit As String = NumberFormat2((s.GETST"; +Debug.ShouldStop(512); +_punit = 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("HVD_COSTO_TOT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT"))))}, "/",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("punit", _punit);Debug.locals.put("punit", _punit); + BA.debugLineNum = 907;BA.debugLine="TAMANO = punit.Length + TAMANO"; +Debug.ShouldStop(1024); +__ref.setField ("_tamano" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {_punit.runMethod(true,"length"),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 1)); + BA.debugLineNum = 910;BA.debugLine="Private ptot As String = NumberFormat2(( (s."; +Debug.ShouldStop(8192); +_ptot = parent.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0)),BA.numberCast(double.class, _punit)}, "*",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("ptot", _ptot);Debug.locals.put("ptot", _ptot); + BA.debugLineNum = 911;BA.debugLine="TAMANO = ptot.Length + TAMANO"; +Debug.ShouldStop(16384); +__ref.setField ("_tamano" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {_ptot.runMethod(true,"length"),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 1)); + BA.debugLineNum = 913;BA.debugLine="ESPACIO = (ESPACIO - TAMANO)/2"; +Debug.ShouldStop(65536); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "-",1, 1)),RemoteObject.createImmutable(2)}, "/",0, 0))); + BA.debugLineNum = 915;BA.debugLine="For E=0 To ESPACIO -1"; +Debug.ShouldStop(262144); +if (true) break; + +case 120: +//for +this.state = 123; +step176 = 1; +limit176 = 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 = 213; +if (true) break; + +case 213: +//C +this.state = 123; +if ((step176 > 0 && _e <= limit176) || (step176 < 0 && _e >= limit176)) this.state = 122; +if (true) break; + +case 214: +//C +this.state = 213; +_e = ((int)(0 + _e + step176)) ; +Debug.locals.put("E", _e); +if (true) break; + +case 122: +//C +this.state = 214; + BA.debugLineNum = 916;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 123: +//C +this.state = 130; +Debug.locals.put("E", _e); +; + BA.debugLineNum = 918;BA.debugLine="Printer1.Justify = 0"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0)); + BA.debugLineNum = 919;BA.debugLine="Printer1.WriteString( (s.GetString(\"HVD_CANT"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.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("HVD_CANT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0)),__ref.getField(true,"_blanco" /*RemoteObject*/ )))); + BA.debugLineNum = 920;BA.debugLine="Printer1.Justify = 1"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 1)); + BA.debugLineNum = 921;BA.debugLine="Printer1.WriteString( punit & BLANCO)"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(_punit,__ref.getField(true,"_blanco" /*RemoteObject*/ )))); + BA.debugLineNum = 922;BA.debugLine="Printer1.Justify = 2"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 2)); + BA.debugLineNum = 923;BA.debugLine="Printer1.WriteString( ptot & CRLF )"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(_ptot,parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 924;BA.debugLine="TAMANO = 0"; +Debug.ShouldStop(134217728); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 925;BA.debugLine="ESPACIO = 29"; +Debug.ShouldStop(268435456); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, 29)); + BA.debugLineNum = 926;BA.debugLine="BLANCO = \" \""; +Debug.ShouldStop(536870912); +__ref.setField ("_blanco" /*RemoteObject*/ ,BA.ObjectToString(" ")); + if (true) break; + +case 125: +//C +this.state = 126; + BA.debugLineNum = 930;BA.debugLine="Printer1.Justify = 0"; +Debug.ShouldStop(2); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0)); + BA.debugLineNum = 931;BA.debugLine="Printer1.WriteString(s.GetString(\"HVD_PRONOM"; +Debug.ShouldStop(4); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PRONOMBRE"))),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 933;BA.debugLine="Private vc5 As Cursor = Starter.skmt.ExecQue"; +Debug.ShouldStop(16); +_vc5 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_vc5 = 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 iFNULL(CAT_GP_PRECIO,0) AS CAT_GP_PRECIO from CAT_GUNAPROD where CAT_GP_ID = '"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID")))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("vc5", _vc5);Debug.locals.put("vc5", _vc5); + BA.debugLineNum = 934;BA.debugLine="vc5.Position = 0"; +Debug.ShouldStop(32); +_vc5.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 935;BA.debugLine="Dim punit As String = NumberFormat2((vc5.Get"; +Debug.ShouldStop(64); +_punit = parent.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, (_vc5.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")));Debug.locals.put("punit", _punit);Debug.locals.put("punit", _punit); + BA.debugLineNum = 936;BA.debugLine="TAMANO = punit.Length + TAMANO"; +Debug.ShouldStop(128); +__ref.setField ("_tamano" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {_punit.runMethod(true,"length"),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 1)); + BA.debugLineNum = 937;BA.debugLine="vc5.Close"; +Debug.ShouldStop(256); +_vc5.runVoidMethod ("Close"); + BA.debugLineNum = 939;BA.debugLine="Private ptot As String = NumberFormat2(( (s."; +Debug.ShouldStop(1024); +_ptot = parent.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0)),BA.numberCast(double.class, _punit)}, "*",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("ptot", _ptot);Debug.locals.put("ptot", _ptot); + BA.debugLineNum = 940;BA.debugLine="TAMANO = ptot.Length + TAMANO"; +Debug.ShouldStop(2048); +__ref.setField ("_tamano" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {_ptot.runMethod(true,"length"),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 1)); + BA.debugLineNum = 942;BA.debugLine="ESPACIO = (ESPACIO - TAMANO)/2"; +Debug.ShouldStop(8192); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "-",1, 1)),RemoteObject.createImmutable(2)}, "/",0, 0))); + BA.debugLineNum = 944;BA.debugLine="For E=0 To ESPACIO -1"; +Debug.ShouldStop(32768); +if (true) break; + +case 126: +//for +this.state = 129; +step199 = 1; +limit199 = 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 = 215; +if (true) break; + +case 215: +//C +this.state = 129; +if ((step199 > 0 && _e <= limit199) || (step199 < 0 && _e >= limit199)) this.state = 128; +if (true) break; + +case 216: +//C +this.state = 215; +_e = ((int)(0 + _e + step199)) ; +Debug.locals.put("E", _e); +if (true) break; + +case 128: +//C +this.state = 216; + BA.debugLineNum = 945;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 129: +//C +this.state = 130; +Debug.locals.put("E", _e); +; + BA.debugLineNum = 947;BA.debugLine="Printer1.Justify = 0"; +Debug.ShouldStop(262144); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0)); + BA.debugLineNum = 948;BA.debugLine="Printer1.WriteString( (s.GetString(\"HVD_CANT"; +Debug.ShouldStop(524288); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.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("HVD_CANT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0)),__ref.getField(true,"_blanco" /*RemoteObject*/ )))); + BA.debugLineNum = 949;BA.debugLine="Printer1.Justify = 1"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 1)); + BA.debugLineNum = 950;BA.debugLine="Printer1.WriteString( punit & BLANCO)"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(_punit,__ref.getField(true,"_blanco" /*RemoteObject*/ )))); + BA.debugLineNum = 951;BA.debugLine="Printer1.Justify = 2"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 2)); + BA.debugLineNum = 952;BA.debugLine="Printer1.WriteString(ptot& CRLF )"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(_ptot,parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 953;BA.debugLine="TAMANO = 0"; +Debug.ShouldStop(16777216); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 954;BA.debugLine="ESPACIO = 29"; +Debug.ShouldStop(33554432); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, 29)); + BA.debugLineNum = 955;BA.debugLine="BLANCO = \" \""; +Debug.ShouldStop(67108864); +__ref.setField ("_blanco" /*RemoteObject*/ ,BA.ObjectToString(" ")); + BA.debugLineNum = 956;BA.debugLine="Printer1.Justify = 0"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0)); + if (true) break; + +case 130: +//C +this.state = 131; +; + if (true) break; + +case 131: +//C +this.state = 212; +; + if (true) break; +if (true) break; + +case 132: +//C +this.state = 133; +Debug.locals.put("i", _i); +; + BA.debugLineNum = 960;BA.debugLine="Printer1.Justify = 0"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0)); + BA.debugLineNum = 961;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +Debug.ShouldStop(1); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF")))); + if (true) break; + +case 133: +//C +this.state = 134; +; + if (true) break; + +case 134: +//C +this.state = 135; +; + BA.debugLineNum = 965;BA.debugLine="s.Close"; +Debug.ShouldStop(16); +__ref.getField(false,"_s" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 966;BA.debugLine="s=Starter.skmt.ExecQuery($\"select HVD_PRONOMBRE,"; +Debug.ShouldStop(32); +__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select HVD_PRONOMBRE, HVD_CANT, length(HVD_CANT) as L_CANT, HVD_COSTO_TOT, length(HVD_COSTO_TOT) as L_COSTOU,HVD_PROID, HVD_CODPROMO,IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT FROM HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) AND HVD_RECHAZO = 0 AND HVD_CODPROMO <> '"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),RemoteObject.createImmutable("' and HVD_BCREDITO <> '1' order by HVD_CODPROMO, ESPROMO DESC, HVD_PROID")))))); + BA.debugLineNum = 968;BA.debugLine="If S.RowCount>0 Then"; +Debug.ShouldStop(128); +if (true) break; + +case 135: +//if +this.state = 162; +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 137; +}if (true) break; + +case 137: +//C +this.state = 138; + BA.debugLineNum = 969;BA.debugLine="Printer1.WriteString(\"---PROMOS ENTREGA CONTADO-"; +Debug.ShouldStop(256); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("---PROMOS ENTREGA CONTADO----"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 970;BA.debugLine="Printer1.WriteString(\"Cant. Precio I"; +Debug.ShouldStop(512); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Cant. Precio Importe"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 971;BA.debugLine="Printer1.WriteString(\"--------------------------"; +Debug.ShouldStop(1024); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("------------------------------"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 973;BA.debugLine="For i=0 To S.RowCount -1"; +Debug.ShouldStop(4096); +if (true) break; + +case 138: +//for +this.state = 161; +step225 = 1; +limit225 = 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 = 217; +if (true) break; + +case 217: +//C +this.state = 161; +if ((step225 > 0 && _i <= limit225) || (step225 < 0 && _i >= limit225)) this.state = 140; +if (true) break; + +case 218: +//C +this.state = 217; +_i = ((int)(0 + _i + step225)) ; +Debug.locals.put("i", _i); +if (true) break; + +case 140: +//C +this.state = 141; + BA.debugLineNum = 974;BA.debugLine="S.Position=i"; +Debug.ShouldStop(8192); +__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 975;BA.debugLine="If s.GetString(\"HVD_CANT\") - s.GetString(\"HVD_R"; +Debug.ShouldStop(16384); +if (true) break; + +case 141: +//if +this.state = 160; +if (RemoteObject.solveBoolean(">",RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0),BA.numberCast(double.class, 0))) { +this.state = 143; +}if (true) break; + +case 143: +//C +this.state = 144; + BA.debugLineNum = 978;BA.debugLine="If s.GetString(\"HVD_CODPROMO\") <> Subs.traeAlm"; +Debug.ShouldStop(131072); +if (true) break; + +case 144: +//if +this.state = 159; +if (RemoteObject.solveBoolean("!",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CODPROMO"))),parent._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")))) { +this.state = 146; +}else { +this.state = 158; +}if (true) break; + +case 146: +//C +this.state = 147; + BA.debugLineNum = 980;BA.debugLine="Printer1.Justify = 0"; +Debug.ShouldStop(524288); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0)); + BA.debugLineNum = 981;BA.debugLine="If s.GetString(\"HVD_CODPROMO\") = s.GetString("; +Debug.ShouldStop(1048576); +if (true) break; + +case 147: +//if +this.state = 156; +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CODPROMO"))),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID"))))) { +this.state = 149; +}else { +this.state = 151; +}if (true) break; + +case 149: +//C +this.state = 156; + BA.debugLineNum = 982;BA.debugLine="Printer1.WriteString(\"* \"&s.GetString(\"HVD_P"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("* "),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PRONOMBRE"))),parent.__c.getField(true,"CRLF")))); + if (true) break; + +case 151: +//C +this.state = 152; + BA.debugLineNum = 984;BA.debugLine="Printer1.WriteString(s.GetString(\"HVD_PRONOM"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PRONOMBRE"))),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 986;BA.debugLine="Dim punit As String =NumberFormat2((s.GETSTR"; +Debug.ShouldStop(33554432); +_punit = 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("HVD_COSTO_TOT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT"))))}, "/",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("punit", _punit);Debug.locals.put("punit", _punit); + BA.debugLineNum = 987;BA.debugLine="TAMANO = punit.Length + TAMANO"; +Debug.ShouldStop(67108864); +__ref.setField ("_tamano" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {_punit.runMethod(true,"length"),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 1)); + BA.debugLineNum = 990;BA.debugLine="Private ptot As String = NumberFormat2((puni"; +Debug.ShouldStop(536870912); +_ptot = parent.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _punit),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT"))))}, "*",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("ptot", _ptot);Debug.locals.put("ptot", _ptot); + BA.debugLineNum = 991;BA.debugLine="TAMANO = ptot.Length + TAMANO"; +Debug.ShouldStop(1073741824); +__ref.setField ("_tamano" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {_ptot.runMethod(true,"length"),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 1)); + BA.debugLineNum = 994;BA.debugLine="ESPACIO = (ESPACIO - TAMANO)/2"; +Debug.ShouldStop(2); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "-",1, 1)),RemoteObject.createImmutable(2)}, "/",0, 0))); + BA.debugLineNum = 995;BA.debugLine="Log(ESPACIO)"; +Debug.ShouldStop(4); +parent.__c.runVoidMethod ("LogImpl","88651092",BA.NumberToString(__ref.getField(true,"_espacio" /*RemoteObject*/ )),0); + BA.debugLineNum = 996;BA.debugLine="For E=0 To ESPACIO -1"; +Debug.ShouldStop(8); +if (true) break; + +case 152: +//for +this.state = 155; +step240 = 1; +limit240 = 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 = 219; +if (true) break; + +case 219: +//C +this.state = 155; +if ((step240 > 0 && _e <= limit240) || (step240 < 0 && _e >= limit240)) this.state = 154; +if (true) break; + +case 220: +//C +this.state = 219; +_e = ((int)(0 + _e + step240)) ; +Debug.locals.put("E", _e); +if (true) break; + +case 154: +//C +this.state = 220; + BA.debugLineNum = 997;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 155: +//C +this.state = 156; +Debug.locals.put("E", _e); +; + BA.debugLineNum = 999;BA.debugLine="Printer1.Justify = 0"; +Debug.ShouldStop(64); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1000;BA.debugLine="Printer1.WriteString( (s.GetString(\"HVD_CANT"; +Debug.ShouldStop(128); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.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("HVD_CANT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0)),__ref.getField(true,"_blanco" /*RemoteObject*/ )))); + BA.debugLineNum = 1001;BA.debugLine="Printer1.Justify = 1"; +Debug.ShouldStop(256); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 1)); + BA.debugLineNum = 1002;BA.debugLine="Printer1.WriteString( punit & BLANCO)"; +Debug.ShouldStop(512); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(_punit,__ref.getField(true,"_blanco" /*RemoteObject*/ )))); + BA.debugLineNum = 1003;BA.debugLine="Printer1.Justify = 2"; +Debug.ShouldStop(1024); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 2)); + BA.debugLineNum = 1004;BA.debugLine="Printer1.WriteString(ptot & CRLF )"; +Debug.ShouldStop(2048); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(_ptot,parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 1005;BA.debugLine="TAMANO = 0"; +Debug.ShouldStop(4096); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 1006;BA.debugLine="ESPACIO = 29"; +Debug.ShouldStop(8192); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, 29)); + BA.debugLineNum = 1007;BA.debugLine="BLANCO = \" \""; +Debug.ShouldStop(16384); +__ref.setField ("_blanco" /*RemoteObject*/ ,BA.ObjectToString(" ")); + BA.debugLineNum = 1008;BA.debugLine="Printer1.Justify = 0"; +Debug.ShouldStop(32768); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0)); + if (true) break; + +case 156: +//C +this.state = 159; +; + if (true) break; + +case 158: +//C +this.state = 159; + if (true) break; + +case 159: +//C +this.state = 160; +; + if (true) break; + +case 160: +//C +this.state = 218; +; + if (true) break; +if (true) break; + +case 161: +//C +this.state = 162; +Debug.locals.put("i", _i); +; + BA.debugLineNum = 1018;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF")))); + if (true) break; + +case 162: +//C +this.state = 163; +; + BA.debugLineNum = 1021;BA.debugLine="s=Starter.skmt.ExecQuery($\"select PE_PRONOMBRE, P"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.createImmutable("select PE_PRONOMBRE, PE_CANT, length(PE_CANT) as L_CANT, PE_COSTO_TOT, length(PE_COSTO_TOT) as L_COSTOU,PE_PROID FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) order BY PE_PROID"))))); + BA.debugLineNum = 1023;BA.debugLine="If S.RowCount>0 Then"; +Debug.ShouldStop(1073741824); +if (true) break; + +case 163: +//if +this.state = 174; +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 165; +}if (true) break; + +case 165: +//C +this.state = 166; + BA.debugLineNum = 1024;BA.debugLine="Printer1.WriteString(\"-----------VENTA----------"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("-----------VENTA------------"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 1025;BA.debugLine="Printer1.WriteString(\"Cant. Precio I"; +Debug.ShouldStop(1); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Cant. Precio Importe"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 1026;BA.debugLine="Printer1.WriteString(\"--------------------------"; +Debug.ShouldStop(2); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("------------------------------"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 1028;BA.debugLine="For i=0 To S.RowCount -1"; +Debug.ShouldStop(8); +if (true) break; + +case 166: +//for +this.state = 173; +step265 = 1; +limit265 = 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 = 221; +if (true) break; + +case 221: +//C +this.state = 173; +if ((step265 > 0 && _i <= limit265) || (step265 < 0 && _i >= limit265)) this.state = 168; +if (true) break; + +case 222: +//C +this.state = 221; +_i = ((int)(0 + _i + step265)) ; +Debug.locals.put("i", _i); +if (true) break; + +case 168: +//C +this.state = 169; + BA.debugLineNum = 1029;BA.debugLine="S.Position=i"; +Debug.ShouldStop(16); +__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 1031;BA.debugLine="Printer1.Justify = 0"; +Debug.ShouldStop(64); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1032;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_PRONOMBRE\""; +Debug.ShouldStop(128); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE"))),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 1035;BA.debugLine="Dim punit As String =NumberFormat2( (s.GETSTRIN"; +Debug.ShouldStop(1024); +_punit = 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_COSTO_TOT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))))}, "/",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("punit", _punit);Debug.locals.put("punit", _punit); + BA.debugLineNum = 1036;BA.debugLine="TAMANO = punit.Length + TAMANO"; +Debug.ShouldStop(2048); +__ref.setField ("_tamano" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {_punit.runMethod(true,"length"),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 1)); + BA.debugLineNum = 1038;BA.debugLine="Private ptot As String = NumberFormat2((punit*s"; +Debug.ShouldStop(8192); +_ptot = parent.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _punit),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))))}, "*",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("ptot", _ptot);Debug.locals.put("ptot", _ptot); + BA.debugLineNum = 1039;BA.debugLine="TAMANO = ptot.Length + TAMANO"; +Debug.ShouldStop(16384); +__ref.setField ("_tamano" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {_ptot.runMethod(true,"length"),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 1)); + BA.debugLineNum = 1042;BA.debugLine="ESPACIO = (ESPACIO - TAMANO)/2"; +Debug.ShouldStop(131072); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "-",1, 1)),RemoteObject.createImmutable(2)}, "/",0, 0))); + BA.debugLineNum = 1043;BA.debugLine="Log(ESPACIO)"; +Debug.ShouldStop(262144); +parent.__c.runVoidMethod ("LogImpl","88651140",BA.NumberToString(__ref.getField(true,"_espacio" /*RemoteObject*/ )),0); + BA.debugLineNum = 1044;BA.debugLine="For E=0 To ESPACIO -1"; +Debug.ShouldStop(524288); +if (true) break; + +case 169: +//for +this.state = 172; +step275 = 1; +limit275 = 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 = 223; +if (true) break; + +case 223: +//C +this.state = 172; +if ((step275 > 0 && _e <= limit275) || (step275 < 0 && _e >= limit275)) this.state = 171; +if (true) break; + +case 224: +//C +this.state = 223; +_e = ((int)(0 + _e + step275)) ; +Debug.locals.put("E", _e); +if (true) break; + +case 171: +//C +this.state = 224; + BA.debugLineNum = 1045;BA.debugLine="BLANCO = \" \" & BLANCO"; +Debug.ShouldStop(1048576); +__ref.setField ("_blanco" /*RemoteObject*/ ,RemoteObject.concat(RemoteObject.createImmutable(" "),__ref.getField(true,"_blanco" /*RemoteObject*/ ))); + if (true) break; +if (true) break; + +case 172: +//C +this.state = 222; +Debug.locals.put("E", _e); +; + BA.debugLineNum = 1047;BA.debugLine="Printer1.Justify = 0"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1048;BA.debugLine="Printer1.WriteString( s.GetString(\"PE_CANT\") &"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))),__ref.getField(true,"_blanco" /*RemoteObject*/ )))); + BA.debugLineNum = 1049;BA.debugLine="Printer1.Justify = 1"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 1)); + BA.debugLineNum = 1050;BA.debugLine="Printer1.WriteString( punit & BLANCO)"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(_punit,__ref.getField(true,"_blanco" /*RemoteObject*/ )))); + BA.debugLineNum = 1051;BA.debugLine="Printer1.Justify = 2"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 2)); + BA.debugLineNum = 1052;BA.debugLine="Printer1.WriteString(ptot & CRLF )"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(_ptot,parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 1053;BA.debugLine="TAMANO = 0"; +Debug.ShouldStop(268435456); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 1054;BA.debugLine="ESPACIO = 29"; +Debug.ShouldStop(536870912); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, 29)); + BA.debugLineNum = 1055;BA.debugLine="BLANCO = \" \""; +Debug.ShouldStop(1073741824); +__ref.setField ("_blanco" /*RemoteObject*/ ,BA.ObjectToString(" ")); + BA.debugLineNum = 1056;BA.debugLine="Printer1.Justify = 0"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0)); + if (true) break; +if (true) break; + +case 173: +//C +this.state = 174; +Debug.locals.put("i", _i); +; + BA.debugLineNum = 1059;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +Debug.ShouldStop(4); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF")))); + if (true) break; + +case 174: +//C +this.state = 175; +; + BA.debugLineNum = 1061;BA.debugLine="Printer1.WriteString(\"---------------------------"; +Debug.ShouldStop(16); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("------------------------------"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 1064;BA.debugLine="Printer1.WriteString(\"Total Articulos: \" & L_CA"; +Debug.ShouldStop(128); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Total Articulos: "),__ref.getField(false,"_l_cant" /*RemoteObject*/ ).runMethod(true,"getText"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 1066;BA.debugLine="Printer1.WriteString(\"Total credito: $\" & l_mon"; +Debug.ShouldStop(512); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Total credito: $"),__ref.getField(false,"_l_montopag" /*RemoteObject*/ ).runMethod(true,"getText"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 1067;BA.debugLine="Printer1.WriteString(\"Total contado: $\" & l_mon"; +Debug.ShouldStop(1024); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Total contado: $"),__ref.getField(false,"_l_montoefec" /*RemoteObject*/ ).runMethod(true,"getText"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 1068;BA.debugLine="Printer1.WriteString(\"Total general: $\" & l_tot"; +Debug.ShouldStop(2048); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Total general: $"),__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"getText")))); + BA.debugLineNum = 1071;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +Debug.ShouldStop(16384); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 1072;BA.debugLine="Printer1.WriteString(\"---------------------------"; +Debug.ShouldStop(32768); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("------------------------------"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 1075;BA.debugLine="Printer1.WriteString(\"----ESTE TICKET NO ES UN --"; +Debug.ShouldStop(262144); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("----ESTE TICKET NO ES UN -----"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 1076;BA.debugLine="Printer1.WriteString(\"--COMPROBANTE FISCAL, SOLO"; +Debug.ShouldStop(524288); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("--COMPROBANTE FISCAL, SOLO ES-"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 1077;BA.debugLine="Printer1.WriteString(\"--------INFORMATIVO--------"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("--------INFORMATIVO-----------"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 1078;BA.debugLine="Printer1.WriteString(\"---------------------------"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("------------------------------"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 1079;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 1080;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 1081;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 1082;BA.debugLine="Sleep(1000)"; +Debug.ShouldStop(33554432); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "b_imp_click"),BA.numberCast(int.class, 1000)); +this.state = 225; +return; +case 225: +//C +this.state = 175; +; + BA.debugLineNum = 1083;BA.debugLine="Printer1.DisConnect"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_disconnect" /*RemoteObject*/ ); + BA.debugLineNum = 1085;BA.debugLine="ProgressDialogHide"; +Debug.ShouldStop(268435456); +parent.__c.runVoidMethod ("ProgressDialogHide"); + BA.debugLineNum = 1087;BA.debugLine="If banderaimp = 1 Then"; +Debug.ShouldStop(1073741824); +if (true) break; + +case 175: +//if +this.state = 196; +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_banderaimp" /*RemoteObject*/ ),BA.numberCast(double.class, 1))) { +this.state = 177; +}else +{ BA.debugLineNum = 1104;BA.debugLine="Else If banderaimp = 0 Then"; +Debug.ShouldStop(32768); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_banderaimp" /*RemoteObject*/ ),BA.numberCast(double.class, 0))) { +this.state = 191; +}} +if (true) break; + +case 177: +//C +this.state = 178; + BA.debugLineNum = 1088;BA.debugLine="Msgbox2Async(\"Deseas imprimir de nuevo el ticket"; +Debug.ShouldStop(-2147483648); +parent.__c.runVoidMethod ("Msgbox2Async",(Object)(BA.ObjectToCharSequence("Deseas imprimir de nuevo el ticket?")),(Object)(BA.ObjectToCharSequence("ATENCION")),(Object)(BA.ObjectToString("SI")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("NO")),(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 = 1089;BA.debugLine="Wait For Msgbox_Result (resultado As Int)"; +Debug.ShouldStop(1); +parent.__c.runVoidMethod ("WaitFor","msgbox_result", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "b_imp_click"), null); +this.state = 226; +return; +case 226: +//C +this.state = 178; +_resultado = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("resultado", _resultado); +; + BA.debugLineNum = 1090;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; +Debug.ShouldStop(2); +if (true) break; + +case 178: +//if +this.state = 189; +if (RemoteObject.solveBoolean("=",_resultado,BA.numberCast(double.class, parent.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { +this.state = 180; +}else { +this.state = 182; +}if (true) break; + +case 180: +//C +this.state = 189; + BA.debugLineNum = 1091;BA.debugLine="B_IMP_Click"; +Debug.ShouldStop(4); +__ref.runClassMethod (reparto_izca.keymon.lat.c_cliente.class, "_b_imp_click" /*void*/ ); + if (true) break; + +case 182: +//C +this.state = 183; + BA.debugLineNum = 1093;BA.debugLine="Dim totalcredito As Float = l_montopag.Text"; +Debug.ShouldStop(16); +_totalcredito = BA.numberCast(float.class, __ref.getField(false,"_l_montopag" /*RemoteObject*/ ).runMethod(true,"getText"));Debug.locals.put("totalcredito", _totalcredito);Debug.locals.put("totalcredito", _totalcredito); + BA.debugLineNum = 1094;BA.debugLine="If totalcredito > 0 Then"; +Debug.ShouldStop(32); +if (true) break; + +case 183: +//if +this.state = 188; +if (RemoteObject.solveBoolean(">",_totalcredito,BA.numberCast(double.class, 0))) { +this.state = 185; +}else { +this.state = 187; +}if (true) break; + +case 185: +//C +this.state = 188; + BA.debugLineNum = 1095;BA.debugLine="imprime_pagare"; +Debug.ShouldStop(64); +__ref.runClassMethod (reparto_izca.keymon.lat.c_cliente.class, "_imprime_pagare" /*void*/ ); + if (true) break; + +case 187: +//C +this.state = 188; + BA.debugLineNum = 1098;BA.debugLine="Guardado"; +Debug.ShouldStop(512); +__ref.runClassMethod (reparto_izca.keymon.lat.c_cliente.class, "_guardado" /*RemoteObject*/ ); + if (true) break; + +case 188: +//C +this.state = 189; +; + if (true) break; + +case 189: +//C +this.state = 196; +; + if (true) break; + +case 191: +//C +this.state = 192; + BA.debugLineNum = 1105;BA.debugLine="Msgbox2Async(\"Deseas imprimir de nuevo el ticket"; +Debug.ShouldStop(65536); +parent.__c.runVoidMethod ("Msgbox2Async",(Object)(BA.ObjectToCharSequence("Deseas imprimir de nuevo el ticket?")),(Object)(BA.ObjectToCharSequence("ATENCION")),(Object)(BA.ObjectToString("SI")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("NO")),(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 = 1106;BA.debugLine="Wait For Msgbox_Result (resultado As Int)"; +Debug.ShouldStop(131072); +parent.__c.runVoidMethod ("WaitFor","msgbox_result", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "b_imp_click"), null); +this.state = 227; +return; +case 227: +//C +this.state = 192; +_resultado = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("resultado", _resultado); +; + BA.debugLineNum = 1107;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; +Debug.ShouldStop(262144); +if (true) break; + +case 192: +//if +this.state = 195; +if (RemoteObject.solveBoolean("=",_resultado,BA.numberCast(double.class, parent.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { +this.state = 194; +}if (true) break; + +case 194: +//C +this.state = 195; + BA.debugLineNum = 1108;BA.debugLine="B_IMP_Click"; +Debug.ShouldStop(524288); +__ref.runClassMethod (reparto_izca.keymon.lat.c_cliente.class, "_b_imp_click" /*void*/ ); + if (true) break; + +case 195: +//C +this.state = 196; +; + if (true) break; + +case 196: +//C +this.state = -1; +; + BA.debugLineNum = 1113;BA.debugLine="End Sub"; +Debug.ShouldStop(16777216); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static void _b_imp2_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B_IMP2_Click (c_cliente) ","c_cliente",6,__ref.getField(false, "ba"),__ref,2448); +if (RapidSub.canDelegate("b_imp2_click")) { __ref.runUserSub(false, "c_cliente","b_imp2_click", __ref); return;} +ResumableSub_B_IMP2_Click rsub = new ResumableSub_B_IMP2_Click(null,__ref); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_B_IMP2_Click extends BA.ResumableSub { +public ResumableSub_B_IMP2_Click(reparto_izca.keymon.lat.c_cliente parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +reparto_izca.keymon.lat.c_cliente parent; +RemoteObject _cont = RemoteObject.createImmutable(0); +int _i = 0; +RemoteObject _punit = RemoteObject.createImmutable(""); +RemoteObject _ptot = RemoteObject.createImmutable(""); +int _e = 0; +RemoteObject _vc5 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _resultado = RemoteObject.createImmutable(0); +int step53; +int limit53; +int step65; +int limit65; +int step88; +int limit88; +int step114; +int limit114; +int step131; +int limit131; +int step156; +int limit156; +int step166; +int limit166; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("B_IMP2_Click (c_cliente) ","c_cliente",6,__ref.getField(false, "ba"),__ref,2448); +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 = 2571;BA.debugLine="c=Starter.skmt.ExecQuery(\"select USUARIO from usu"; +Debug.ShouldStop(1024); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select USUARIO from usuarioa")))); + BA.debugLineNum = 2572;BA.debugLine="c.Position=0"; +Debug.ShouldStop(2048); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2573;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 = 2575;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(16384); +parent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 2576;BA.debugLine="DateTime.TimeFormat=\"HH:mm:ss\""; +Debug.ShouldStop(32768); +parent.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HH:mm:ss")); + BA.debugLineNum = 2577;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(65536); +__ref.setField ("_sdate" /*RemoteObject*/ ,parent.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(parent.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 2578;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(131072); +__ref.setField ("_stime" /*RemoteObject*/ ,parent.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(parent.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 2579;BA.debugLine="c.Close"; +Debug.ShouldStop(262144); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 2585;BA.debugLine="ProgressDialogShow(\"Imprimiendo, un momento ...\")"; +Debug.ShouldStop(16777216); +parent.__c.runVoidMethod ("ProgressDialogShow",__ref.getField(false, "ba"),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Imprimiendo, un momento ...")))); + BA.debugLineNum = 2586;BA.debugLine="Printer1.DisConnect"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_disconnect" /*RemoteObject*/ ); + BA.debugLineNum = 2587;BA.debugLine="If Not(Printer1.IsConnected) Then"; +Debug.ShouldStop(67108864); +if (true) break; + +case 1: +//if +this.state = 38; +if (parent.__c.runMethod(true,"Not",(Object)(__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_isconnected" /*RemoteObject*/ ))).get().booleanValue()) { +this.state = 3; +}else { +this.state = 21; +}if (true) break; + +case 3: +//C +this.state = 4; + BA.debugLineNum = 2589;BA.debugLine="Printer1.Connect"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_connect" /*RemoteObject*/ ); + BA.debugLineNum = 2590;BA.debugLine="Private 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 = 2591;BA.debugLine="Do While Not(impresoraConectada)"; +Debug.ShouldStop(1073741824); +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 = 2592;BA.debugLine="Sleep(1000)"; +Debug.ShouldStop(-2147483648); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "b_imp2_click"),BA.numberCast(int.class, 1000)); +this.state = 125; +return; +case 125: +//C +this.state = 7; +; + BA.debugLineNum = 2594;BA.debugLine="cont = cont + 1"; +Debug.ShouldStop(2); +_cont = RemoteObject.solve(new RemoteObject[] {_cont,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("cont", _cont); + BA.debugLineNum = 2595;BA.debugLine="If cont = 2 Then Printer1.Connect 'Tratamos de"; +Debug.ShouldStop(4); +if (true) break; + +case 7: +//if +this.state = 12; +if (RemoteObject.solveBoolean("=",_cont,BA.numberCast(double.class, 2))) { +this.state = 9; +;}if (true) break; + +case 9: +//C +this.state = 12; +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_connect" /*RemoteObject*/ ); +if (true) break; + +case 12: +//C +this.state = 13; +; + BA.debugLineNum = 2596;BA.debugLine="If cont > 3 Then impresoraConectada = True"; +Debug.ShouldStop(8); +if (true) break; + +case 13: +//if +this.state = 18; +if (RemoteObject.solveBoolean(">",_cont,BA.numberCast(double.class, 3))) { +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 = 2598;BA.debugLine="Sleep(500)"; +Debug.ShouldStop(32); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "b_imp2_click"),BA.numberCast(int.class, 500)); +this.state = 126; +return; +case 126: +//C +this.state = 38; +; + BA.debugLineNum = 2599;BA.debugLine="impresoraConectada = False"; +Debug.ShouldStop(64); +__ref.setField ("_impresoraconectada" /*RemoteObject*/ ,parent.__c.getField(true,"False")); + if (true) break; + +case 21: +//C +this.state = 22; + BA.debugLineNum = 2602;BA.debugLine="Printer1.Connect"; +Debug.ShouldStop(512); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_connect" /*RemoteObject*/ ); + BA.debugLineNum = 2603;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 = 2604;BA.debugLine="Do While Not(impresoraConectada) Or Not(Printer1"; +Debug.ShouldStop(2048); +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 (reparto_izca.keymon.lat.escposprinter.class, "_isconnected" /*RemoteObject*/ ))))) { +this.state = 24; +if (true) break; +} +if (true) break; + +case 24: +//C +this.state = 25; + BA.debugLineNum = 2605;BA.debugLine="Sleep(1000)"; +Debug.ShouldStop(4096); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "b_imp2_click"),BA.numberCast(int.class, 1000)); +this.state = 127; +return; +case 127: +//C +this.state = 25; +; + BA.debugLineNum = 2607;BA.debugLine="cont = cont + 1"; +Debug.ShouldStop(16384); +_cont = RemoteObject.solve(new RemoteObject[] {_cont,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("cont", _cont); + BA.debugLineNum = 2608;BA.debugLine="If cont = 2 Then Printer1.Connect"; +Debug.ShouldStop(32768); +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 (reparto_izca.keymon.lat.escposprinter.class, "_connect" /*RemoteObject*/ ); +if (true) break; + +case 30: +//C +this.state = 31; +; + BA.debugLineNum = 2609;BA.debugLine="If cont > 3 Then impresoraConectada = True"; +Debug.ShouldStop(65536); +if (true) break; + +case 31: +//if +this.state = 36; +if (RemoteObject.solveBoolean(">",_cont,BA.numberCast(double.class, 3))) { +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 = 2611;BA.debugLine="Sleep(500)"; +Debug.ShouldStop(262144); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "b_imp2_click"),BA.numberCast(int.class, 500)); +this.state = 128; +return; +case 128: +//C +this.state = 38; +; + BA.debugLineNum = 2612;BA.debugLine="impresoraConectada = False"; +Debug.ShouldStop(524288); +__ref.setField ("_impresoraconectada" /*RemoteObject*/ ,parent.__c.getField(true,"False")); + if (true) break; + +case 38: +//C +this.state = 39; +; + BA.debugLineNum = 2615;BA.debugLine="TAMANO = 0"; +Debug.ShouldStop(4194304); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 2616;BA.debugLine="ESPACIO = 28"; +Debug.ShouldStop(8388608); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, 28)); + BA.debugLineNum = 2617;BA.debugLine="BLANCO = \" \""; +Debug.ShouldStop(16777216); +__ref.setField ("_blanco" /*RemoteObject*/ ,BA.ObjectToString(" ")); + BA.debugLineNum = 2634;BA.debugLine="Printer1.WriteString(\"Izca Distribuciones\" & CRL"; +Debug.ShouldStop(512); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Izca Distribuciones"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2636;BA.debugLine="Printer1.WriteString(sDate & CRLF)"; +Debug.ShouldStop(2048); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2637;BA.debugLine="Printer1.WriteString(sTime & CRLF)"; +Debug.ShouldStop(4096); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_stime" /*RemoteObject*/ ),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2638;BA.debugLine="Printer1.WriteString(\"Vendedor:\" & usuario & CRL"; +Debug.ShouldStop(8192); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Vendedor:"),__ref.getField(true,"_usuario" /*RemoteObject*/ ),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2639;BA.debugLine="Printer1.WriteString(\"Tienda: \" & La_nombre.Text"; +Debug.ShouldStop(16384); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Tienda: "),__ref.getField(false,"_la_nombre" /*RemoteObject*/ ).runMethod(true,"getText"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2640;BA.debugLine="Printer1.WriteString(\"ID.Cliente: \" & la_cuenta."; +Debug.ShouldStop(32768); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("ID.Cliente: "),__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2641;BA.debugLine="Printer1.WriteString(\"Calle: \" & la_Calle.Text &"; +Debug.ShouldStop(65536); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Calle: "),__ref.getField(false,"_la_calle" /*RemoteObject*/ ).runMethod(true,"getText"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2642;BA.debugLine="Printer1.WriteString(\"Colonia: \" & la_col.Text &"; +Debug.ShouldStop(131072); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Colonia: "),__ref.getField(false,"_la_col" /*RemoteObject*/ ).runMethod(true,"getText"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2646;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2647;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT * FROM HIST_VE"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT * FROM HIST_VENTAS WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)")))); + BA.debugLineNum = 2648;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(8388608); +if (true) break; + +case 39: +//if +this.state = 68; +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 41; +}if (true) break; + +case 41: +//C +this.state = 42; + BA.debugLineNum = 2649;BA.debugLine="Printer1.WriteString(\"------------ENTREGA-------"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("------------ENTREGA-----------"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2652;BA.debugLine="Printer1.WriteString(\"Cant. Precio I"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Cant. Precio Importe"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2654;BA.debugLine="Printer1.WriteString(\"--------------------------"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("------------------------------"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2656;BA.debugLine="s=Starter.skmt.ExecQuery($\"select HVD_PRONOMBRE,"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.createImmutable("select HVD_PRONOMBRE, HVD_CANT, length(HVD_CANT) as L_CANT, HVD_COSTO_TOT, length(HVD_COSTO_TOT) as L_COSTOU,HVD_PROID, HVD_CODPROMO,IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT, HVD_RECHAZO FROM HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) order by HVD_PROID"))))); + BA.debugLineNum = 2657;BA.debugLine="If S.RowCount>0 Then"; +Debug.ShouldStop(1); +if (true) break; + +case 42: +//if +this.state = 67; +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 = 2658;BA.debugLine="For i=0 To S.RowCount -1"; +Debug.ShouldStop(2); +if (true) break; + +case 45: +//for +this.state = 66; +step53 = 1; +limit53 = 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 = 129; +if (true) break; + +case 129: +//C +this.state = 66; +if ((step53 > 0 && _i <= limit53) || (step53 < 0 && _i >= limit53)) this.state = 47; +if (true) break; + +case 130: +//C +this.state = 129; +_i = ((int)(0 + _i + step53)) ; +Debug.locals.put("i", _i); +if (true) break; + +case 47: +//C +this.state = 48; + BA.debugLineNum = 2659;BA.debugLine="S.Position=i"; +Debug.ShouldStop(4); +__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 2660;BA.debugLine="Log(s.GetString(\"HVD_RECHAZO\"))"; +Debug.ShouldStop(8); +parent.__c.runVoidMethod ("LogImpl","89961684",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZO"))),0); + BA.debugLineNum = 2661;BA.debugLine="If s.GetString(\"HVD_CANT\") - s.GetString(\"HVD_"; +Debug.ShouldStop(16); +if (true) break; + +case 48: +//if +this.state = 65; +if (RemoteObject.solveBoolean(">",RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0),BA.numberCast(double.class, 0))) { +this.state = 50; +}if (true) break; + +case 50: +//C +this.state = 51; + BA.debugLineNum = 2664;BA.debugLine="If s.GetString(\"HVD_CODPROMO\") = Subs.traeAlm"; +Debug.ShouldStop(128); +if (true) break; + +case 51: +//if +this.state = 64; +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CODPROMO"))),parent._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")))) { +this.state = 53; +}else +{ BA.debugLineNum = 2692;BA.debugLine="Else If s.GetString(\"HVD_RECHAZO\") = 1 Then"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZO"))),BA.NumberToString(1))) { +this.state = 59; +}} +if (true) break; + +case 53: +//C +this.state = 54; + BA.debugLineNum = 2666;BA.debugLine="Printer1.Justify = 0"; +Debug.ShouldStop(512); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2667;BA.debugLine="Printer1.WriteString(s.GetString(\"HVD_PRONOM"; +Debug.ShouldStop(1024); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PRONOMBRE"))),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2670;BA.debugLine="Dim punit As String = NumberFormat2((s.GETST"; +Debug.ShouldStop(8192); +_punit = 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("HVD_COSTO_TOT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT"))))}, "/",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("punit", _punit);Debug.locals.put("punit", _punit); + BA.debugLineNum = 2671;BA.debugLine="TAMANO = punit.Length + TAMANO"; +Debug.ShouldStop(16384); +__ref.setField ("_tamano" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {_punit.runMethod(true,"length"),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 1)); + BA.debugLineNum = 2674;BA.debugLine="Private ptot As String = NumberFormat2(( (s."; +Debug.ShouldStop(131072); +_ptot = parent.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0)),BA.numberCast(double.class, _punit)}, "*",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("ptot", _ptot);Debug.locals.put("ptot", _ptot); + BA.debugLineNum = 2675;BA.debugLine="TAMANO = ptot.Length + TAMANO"; +Debug.ShouldStop(262144); +__ref.setField ("_tamano" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {_ptot.runMethod(true,"length"),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 1)); + BA.debugLineNum = 2677;BA.debugLine="ESPACIO = (ESPACIO - TAMANO)/2"; +Debug.ShouldStop(1048576); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "-",1, 1)),RemoteObject.createImmutable(2)}, "/",0, 0))); + BA.debugLineNum = 2679;BA.debugLine="For E=0 To ESPACIO -1"; +Debug.ShouldStop(4194304); +if (true) break; + +case 54: +//for +this.state = 57; +step65 = 1; +limit65 = 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 = 131; +if (true) break; + +case 131: +//C +this.state = 57; +if ((step65 > 0 && _e <= limit65) || (step65 < 0 && _e >= limit65)) this.state = 56; +if (true) break; + +case 132: +//C +this.state = 131; +_e = ((int)(0 + _e + step65)) ; +Debug.locals.put("E", _e); +if (true) break; + +case 56: +//C +this.state = 132; + BA.debugLineNum = 2680;BA.debugLine="BLANCO = \" \" & BLANCO"; +Debug.ShouldStop(8388608); +__ref.setField ("_blanco" /*RemoteObject*/ ,RemoteObject.concat(RemoteObject.createImmutable(" "),__ref.getField(true,"_blanco" /*RemoteObject*/ ))); + if (true) break; +if (true) break; + +case 57: +//C +this.state = 64; +Debug.locals.put("E", _e); +; + BA.debugLineNum = 2682;BA.debugLine="Printer1.Justify = 0"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2683;BA.debugLine="Printer1.WriteString( (s.GetString(\"HVD_CANT"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.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("HVD_CANT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0)),__ref.getField(true,"_blanco" /*RemoteObject*/ )))); + BA.debugLineNum = 2684;BA.debugLine="Printer1.Justify = 1"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 1)); + BA.debugLineNum = 2685;BA.debugLine="Printer1.WriteString( punit & BLANCO)"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(_punit,__ref.getField(true,"_blanco" /*RemoteObject*/ )))); + BA.debugLineNum = 2686;BA.debugLine="Printer1.Justify = 2"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 2)); + BA.debugLineNum = 2687;BA.debugLine="Printer1.WriteString( ptot & CRLF )"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(_ptot,parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2688;BA.debugLine="TAMANO = 0"; +Debug.ShouldStop(-2147483648); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 2689;BA.debugLine="ESPACIO = 29"; +Debug.ShouldStop(1); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, 29)); + BA.debugLineNum = 2690;BA.debugLine="BLANCO = \" \""; +Debug.ShouldStop(2); +__ref.setField ("_blanco" /*RemoteObject*/ ,BA.ObjectToString(" ")); + if (true) break; + +case 59: +//C +this.state = 60; + BA.debugLineNum = 2694;BA.debugLine="Printer1.Justify = 0"; +Debug.ShouldStop(32); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2695;BA.debugLine="Printer1.WriteString(s.GetString(\"HVD_PRONOM"; +Debug.ShouldStop(64); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PRONOMBRE"))),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2697;BA.debugLine="Private vc5 As Cursor = Starter.skmt.ExecQue"; +Debug.ShouldStop(256); +_vc5 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_vc5 = 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 iFNULL(CAT_GP_PRECIO,0) AS CAT_GP_PRECIO from CAT_GUNAPROD where CAT_GP_ID = '"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID")))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("vc5", _vc5);Debug.locals.put("vc5", _vc5); + BA.debugLineNum = 2698;BA.debugLine="vc5.Position = 0"; +Debug.ShouldStop(512); +_vc5.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2699;BA.debugLine="Dim punit As String = NumberFormat2((vc5.Get"; +Debug.ShouldStop(1024); +_punit = parent.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, (_vc5.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")));Debug.locals.put("punit", _punit);Debug.locals.put("punit", _punit); + BA.debugLineNum = 2700;BA.debugLine="TAMANO = punit.Length + TAMANO"; +Debug.ShouldStop(2048); +__ref.setField ("_tamano" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {_punit.runMethod(true,"length"),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 1)); + BA.debugLineNum = 2701;BA.debugLine="vc5.Close"; +Debug.ShouldStop(4096); +_vc5.runVoidMethod ("Close"); + BA.debugLineNum = 2703;BA.debugLine="Private ptot As String = NumberFormat2(( (s."; +Debug.ShouldStop(16384); +_ptot = parent.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0)),BA.numberCast(double.class, _punit)}, "*",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("ptot", _ptot);Debug.locals.put("ptot", _ptot); + BA.debugLineNum = 2704;BA.debugLine="TAMANO = ptot.Length + TAMANO"; +Debug.ShouldStop(32768); +__ref.setField ("_tamano" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {_ptot.runMethod(true,"length"),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 1)); + BA.debugLineNum = 2706;BA.debugLine="ESPACIO = (ESPACIO - TAMANO)/2"; +Debug.ShouldStop(131072); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "-",1, 1)),RemoteObject.createImmutable(2)}, "/",0, 0))); + BA.debugLineNum = 2708;BA.debugLine="For E=0 To ESPACIO -1"; +Debug.ShouldStop(524288); +if (true) break; + +case 60: +//for +this.state = 63; +step88 = 1; +limit88 = 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 = 133; +if (true) break; + +case 133: +//C +this.state = 63; +if ((step88 > 0 && _e <= limit88) || (step88 < 0 && _e >= limit88)) this.state = 62; +if (true) break; + +case 134: +//C +this.state = 133; +_e = ((int)(0 + _e + step88)) ; +Debug.locals.put("E", _e); +if (true) break; + +case 62: +//C +this.state = 134; + BA.debugLineNum = 2709;BA.debugLine="BLANCO = \" \" & BLANCO"; +Debug.ShouldStop(1048576); +__ref.setField ("_blanco" /*RemoteObject*/ ,RemoteObject.concat(RemoteObject.createImmutable(" "),__ref.getField(true,"_blanco" /*RemoteObject*/ ))); + if (true) break; +if (true) break; + +case 63: +//C +this.state = 64; +Debug.locals.put("E", _e); +; + BA.debugLineNum = 2711;BA.debugLine="Printer1.Justify = 0"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2712;BA.debugLine="Printer1.WriteString( (s.GetString(\"HVD_CANT"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.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("HVD_CANT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0)),__ref.getField(true,"_blanco" /*RemoteObject*/ )))); + BA.debugLineNum = 2713;BA.debugLine="Printer1.Justify = 1"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 1)); + BA.debugLineNum = 2714;BA.debugLine="Printer1.WriteString( punit & BLANCO)"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(_punit,__ref.getField(true,"_blanco" /*RemoteObject*/ )))); + BA.debugLineNum = 2715;BA.debugLine="Printer1.Justify = 2"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 2)); + BA.debugLineNum = 2716;BA.debugLine="Printer1.WriteString(ptot& CRLF )"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(_ptot,parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2717;BA.debugLine="TAMANO = 0"; +Debug.ShouldStop(268435456); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 2718;BA.debugLine="ESPACIO = 29"; +Debug.ShouldStop(536870912); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, 29)); + BA.debugLineNum = 2719;BA.debugLine="BLANCO = \" \""; +Debug.ShouldStop(1073741824); +__ref.setField ("_blanco" /*RemoteObject*/ ,BA.ObjectToString(" ")); + BA.debugLineNum = 2720;BA.debugLine="Printer1.Justify = 0"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0)); + if (true) break; + +case 64: +//C +this.state = 65; +; + if (true) break; + +case 65: +//C +this.state = 130; +; + if (true) break; +if (true) break; + +case 66: +//C +this.state = 67; +Debug.locals.put("i", _i); +; + if (true) break; + +case 67: +//C +this.state = 68; +; + if (true) break; + +case 68: +//C +this.state = 69; +; + BA.debugLineNum = 2726;BA.debugLine="Printer1.Justify = 0"; +Debug.ShouldStop(32); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2727;BA.debugLine="s.Close"; +Debug.ShouldStop(64); +__ref.getField(false,"_s" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 2728;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +Debug.ShouldStop(128); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2729;BA.debugLine="s=Starter.skmt.ExecQuery($\"select HVD_PRONOMBRE,"; +Debug.ShouldStop(256); +__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select HVD_PRONOMBRE, HVD_CANT, length(HVD_CANT) as L_CANT, HVD_COSTO_TOT, length(HVD_COSTO_TOT) as L_COSTOU,HVD_PROID, HVD_CODPROMO,IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT FROM HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) AND HVD_RECHAZO = 0 AND HVD_CODPROMO <> '"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),RemoteObject.createImmutable("' order by HVD_CODPROMO, ESPROMO DESC, HVD_PROID")))))); + BA.debugLineNum = 2731;BA.debugLine="If S.RowCount>0 Then"; +Debug.ShouldStop(1024); +if (true) break; + +case 69: +//if +this.state = 96; +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 71; +}if (true) break; + +case 71: +//C +this.state = 72; + BA.debugLineNum = 2732;BA.debugLine="Printer1.WriteString(\"-------PROMOS ENTREGA-----"; +Debug.ShouldStop(2048); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("-------PROMOS ENTREGA--------"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2733;BA.debugLine="Printer1.WriteString(\"Cant. Precio I"; +Debug.ShouldStop(4096); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Cant. Precio Importe"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2734;BA.debugLine="Printer1.WriteString(\"--------------------------"; +Debug.ShouldStop(8192); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("------------------------------"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2736;BA.debugLine="For i=0 To S.RowCount -1"; +Debug.ShouldStop(32768); +if (true) break; + +case 72: +//for +this.state = 95; +step114 = 1; +limit114 = 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 = 135; +if (true) break; + +case 135: +//C +this.state = 95; +if ((step114 > 0 && _i <= limit114) || (step114 < 0 && _i >= limit114)) this.state = 74; +if (true) break; + +case 136: +//C +this.state = 135; +_i = ((int)(0 + _i + step114)) ; +Debug.locals.put("i", _i); +if (true) break; + +case 74: +//C +this.state = 75; + BA.debugLineNum = 2737;BA.debugLine="S.Position=i"; +Debug.ShouldStop(65536); +__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 2738;BA.debugLine="If s.GetString(\"HVD_CANT\") - s.GetString(\"HVD_R"; +Debug.ShouldStop(131072); +if (true) break; + +case 75: +//if +this.state = 94; +if (RemoteObject.solveBoolean(">",RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0),BA.numberCast(double.class, 0))) { +this.state = 77; +}if (true) break; + +case 77: +//C +this.state = 78; + BA.debugLineNum = 2741;BA.debugLine="If s.GetString(\"HVD_CODPROMO\") <> Subs.traeAlm"; +Debug.ShouldStop(1048576); +if (true) break; + +case 78: +//if +this.state = 93; +if (RemoteObject.solveBoolean("!",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CODPROMO"))),parent._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")))) { +this.state = 80; +}else { +this.state = 92; +}if (true) break; + +case 80: +//C +this.state = 81; + BA.debugLineNum = 2743;BA.debugLine="Printer1.Justify = 0"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2744;BA.debugLine="If s.GetString(\"HVD_CODPROMO\") = s.GetString("; +Debug.ShouldStop(8388608); +if (true) break; + +case 81: +//if +this.state = 90; +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CODPROMO"))),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID"))))) { +this.state = 83; +}else { +this.state = 85; +}if (true) break; + +case 83: +//C +this.state = 90; + BA.debugLineNum = 2745;BA.debugLine="Printer1.WriteString(\"* \"&s.GetString(\"HVD_P"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("* "),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PRONOMBRE"))),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2746;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2747;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF")))); + if (true) break; + +case 85: +//C +this.state = 86; + BA.debugLineNum = 2749;BA.debugLine="Printer1.WriteString(s.GetString(\"HVD_PRONOM"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PRONOMBRE"))),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2751;BA.debugLine="Dim punit As String =NumberFormat2((s.GETSTR"; +Debug.ShouldStop(1073741824); +_punit = 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("HVD_COSTO_TOT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT"))))}, "/",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("punit", _punit);Debug.locals.put("punit", _punit); + BA.debugLineNum = 2752;BA.debugLine="TAMANO = punit.Length + TAMANO"; +Debug.ShouldStop(-2147483648); +__ref.setField ("_tamano" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {_punit.runMethod(true,"length"),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 1)); + BA.debugLineNum = 2755;BA.debugLine="Private ptot As String = NumberFormat2((puni"; +Debug.ShouldStop(4); +_ptot = parent.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _punit),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT"))))}, "*",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("ptot", _ptot);Debug.locals.put("ptot", _ptot); + BA.debugLineNum = 2756;BA.debugLine="TAMANO = ptot.Length + TAMANO"; +Debug.ShouldStop(8); +__ref.setField ("_tamano" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {_ptot.runMethod(true,"length"),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 1)); + BA.debugLineNum = 2759;BA.debugLine="ESPACIO = (ESPACIO - TAMANO)/2"; +Debug.ShouldStop(64); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "-",1, 1)),RemoteObject.createImmutable(2)}, "/",0, 0))); + BA.debugLineNum = 2760;BA.debugLine="Log(ESPACIO)"; +Debug.ShouldStop(128); +parent.__c.runVoidMethod ("LogImpl","89961784",BA.NumberToString(__ref.getField(true,"_espacio" /*RemoteObject*/ )),0); + BA.debugLineNum = 2761;BA.debugLine="For E=0 To ESPACIO -1"; +Debug.ShouldStop(256); +if (true) break; + +case 86: +//for +this.state = 89; +step131 = 1; +limit131 = 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 = 137; +if (true) break; + +case 137: +//C +this.state = 89; +if ((step131 > 0 && _e <= limit131) || (step131 < 0 && _e >= limit131)) this.state = 88; +if (true) break; + +case 138: +//C +this.state = 137; +_e = ((int)(0 + _e + step131)) ; +Debug.locals.put("E", _e); +if (true) break; + +case 88: +//C +this.state = 138; + BA.debugLineNum = 2762;BA.debugLine="BLANCO = \" \" & BLANCO"; +Debug.ShouldStop(512); +__ref.setField ("_blanco" /*RemoteObject*/ ,RemoteObject.concat(RemoteObject.createImmutable(" "),__ref.getField(true,"_blanco" /*RemoteObject*/ ))); + if (true) break; +if (true) break; + +case 89: +//C +this.state = 90; +Debug.locals.put("E", _e); +; + BA.debugLineNum = 2764;BA.debugLine="Printer1.Justify = 0"; +Debug.ShouldStop(2048); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2765;BA.debugLine="Printer1.WriteString( (s.GetString(\"HVD_CANT"; +Debug.ShouldStop(4096); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.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("HVD_CANT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0)),__ref.getField(true,"_blanco" /*RemoteObject*/ )))); + BA.debugLineNum = 2766;BA.debugLine="Printer1.Justify = 1"; +Debug.ShouldStop(8192); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 1)); + BA.debugLineNum = 2767;BA.debugLine="Printer1.WriteString( punit & BLANCO)"; +Debug.ShouldStop(16384); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(_punit,__ref.getField(true,"_blanco" /*RemoteObject*/ )))); + BA.debugLineNum = 2768;BA.debugLine="Printer1.Justify = 2"; +Debug.ShouldStop(32768); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 2)); + BA.debugLineNum = 2769;BA.debugLine="Printer1.WriteString(ptot & CRLF )"; +Debug.ShouldStop(65536); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(_ptot,parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2770;BA.debugLine="TAMANO = 0"; +Debug.ShouldStop(131072); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 2771;BA.debugLine="ESPACIO = 29"; +Debug.ShouldStop(262144); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, 29)); + BA.debugLineNum = 2772;BA.debugLine="BLANCO = \" \""; +Debug.ShouldStop(524288); +__ref.setField ("_blanco" /*RemoteObject*/ ,BA.ObjectToString(" ")); + BA.debugLineNum = 2773;BA.debugLine="Printer1.Justify = 0"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0)); + if (true) break; + +case 90: +//C +this.state = 93; +; + if (true) break; + +case 92: +//C +this.state = 93; + if (true) break; + +case 93: +//C +this.state = 94; +; + if (true) break; + +case 94: +//C +this.state = 136; +; + if (true) break; +if (true) break; + +case 95: +//C +this.state = 96; +Debug.locals.put("i", _i); +; + if (true) break; + +case 96: +//C +this.state = 97; +; + BA.debugLineNum = 2785;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +Debug.ShouldStop(1); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2786;BA.debugLine="s=Starter.skmt.ExecQuery($\"select PE_PRONOMBRE, P"; +Debug.ShouldStop(2); +__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.createImmutable("select PE_PRONOMBRE, PE_CANT, length(PE_CANT) as L_CANT, PE_COSTO_TOT, length(PE_COSTO_TOT) as L_COSTOU,PE_PROID FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) order BY PE_PROID"))))); + BA.debugLineNum = 2788;BA.debugLine="If S.RowCount>0 Then"; +Debug.ShouldStop(8); +if (true) break; + +case 97: +//if +this.state = 108; +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 99; +}if (true) break; + +case 99: +//C +this.state = 100; + BA.debugLineNum = 2789;BA.debugLine="Printer1.WriteString(\"-----------VENTA----------"; +Debug.ShouldStop(16); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("-----------VENTA------------"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2790;BA.debugLine="Printer1.WriteString(\"Cant. Precio I"; +Debug.ShouldStop(32); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Cant. Precio Importe"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2791;BA.debugLine="Printer1.WriteString(\"--------------------------"; +Debug.ShouldStop(64); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("------------------------------"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2793;BA.debugLine="For i=0 To S.RowCount -1"; +Debug.ShouldStop(256); +if (true) break; + +case 100: +//for +this.state = 107; +step156 = 1; +limit156 = 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 = 139; +if (true) break; + +case 139: +//C +this.state = 107; +if ((step156 > 0 && _i <= limit156) || (step156 < 0 && _i >= limit156)) this.state = 102; +if (true) break; + +case 140: +//C +this.state = 139; +_i = ((int)(0 + _i + step156)) ; +Debug.locals.put("i", _i); +if (true) break; + +case 102: +//C +this.state = 103; + BA.debugLineNum = 2794;BA.debugLine="S.Position=i"; +Debug.ShouldStop(512); +__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 2796;BA.debugLine="Printer1.Justify = 0"; +Debug.ShouldStop(2048); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2797;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_PRONOMBRE\""; +Debug.ShouldStop(4096); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE"))),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2800;BA.debugLine="Dim punit As String =NumberFormat2( (s.GETSTRIN"; +Debug.ShouldStop(32768); +_punit = 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_COSTO_TOT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))))}, "/",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("punit", _punit);Debug.locals.put("punit", _punit); + BA.debugLineNum = 2801;BA.debugLine="TAMANO = punit.Length + TAMANO"; +Debug.ShouldStop(65536); +__ref.setField ("_tamano" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {_punit.runMethod(true,"length"),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 1)); + BA.debugLineNum = 2803;BA.debugLine="Private ptot As String = NumberFormat2((punit*s"; +Debug.ShouldStop(262144); +_ptot = parent.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _punit),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))))}, "*",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("ptot", _ptot);Debug.locals.put("ptot", _ptot); + BA.debugLineNum = 2804;BA.debugLine="TAMANO = ptot.Length + TAMANO"; +Debug.ShouldStop(524288); +__ref.setField ("_tamano" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {_ptot.runMethod(true,"length"),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "+",1, 1)); + BA.debugLineNum = 2807;BA.debugLine="ESPACIO = (ESPACIO - TAMANO)/2"; +Debug.ShouldStop(4194304); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "-",1, 1)),RemoteObject.createImmutable(2)}, "/",0, 0))); + BA.debugLineNum = 2808;BA.debugLine="Log(ESPACIO)"; +Debug.ShouldStop(8388608); +parent.__c.runVoidMethod ("LogImpl","89961832",BA.NumberToString(__ref.getField(true,"_espacio" /*RemoteObject*/ )),0); + BA.debugLineNum = 2809;BA.debugLine="For E=0 To ESPACIO -1"; +Debug.ShouldStop(16777216); +if (true) break; + +case 103: +//for +this.state = 106; +step166 = 1; +limit166 = 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 = 141; +if (true) break; + +case 141: +//C +this.state = 106; +if ((step166 > 0 && _e <= limit166) || (step166 < 0 && _e >= limit166)) this.state = 105; +if (true) break; + +case 142: +//C +this.state = 141; +_e = ((int)(0 + _e + step166)) ; +Debug.locals.put("E", _e); +if (true) break; + +case 105: +//C +this.state = 142; + BA.debugLineNum = 2810;BA.debugLine="BLANCO = \" \" & BLANCO"; +Debug.ShouldStop(33554432); +__ref.setField ("_blanco" /*RemoteObject*/ ,RemoteObject.concat(RemoteObject.createImmutable(" "),__ref.getField(true,"_blanco" /*RemoteObject*/ ))); + if (true) break; +if (true) break; + +case 106: +//C +this.state = 140; +Debug.locals.put("E", _e); +; + BA.debugLineNum = 2812;BA.debugLine="Printer1.Justify = 0"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2813;BA.debugLine="Printer1.WriteString( s.GetString(\"PE_CANT\") &"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))),__ref.getField(true,"_blanco" /*RemoteObject*/ )))); + BA.debugLineNum = 2814;BA.debugLine="Printer1.Justify = 1"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 1)); + BA.debugLineNum = 2815;BA.debugLine="Printer1.WriteString( punit & BLANCO)"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(_punit,__ref.getField(true,"_blanco" /*RemoteObject*/ )))); + BA.debugLineNum = 2816;BA.debugLine="Printer1.Justify = 2"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 2)); + BA.debugLineNum = 2817;BA.debugLine="Printer1.WriteString(ptot & CRLF )"; +Debug.ShouldStop(1); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(_ptot,parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2818;BA.debugLine="TAMANO = 0"; +Debug.ShouldStop(2); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 2819;BA.debugLine="ESPACIO = 29"; +Debug.ShouldStop(4); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, 29)); + BA.debugLineNum = 2820;BA.debugLine="BLANCO = \" \""; +Debug.ShouldStop(8); +__ref.setField ("_blanco" /*RemoteObject*/ ,BA.ObjectToString(" ")); + BA.debugLineNum = 2821;BA.debugLine="Printer1.Justify = 0"; +Debug.ShouldStop(16); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0)); + if (true) break; +if (true) break; + +case 107: +//C +this.state = 108; +Debug.locals.put("i", _i); +; + if (true) break; + +case 108: +//C +this.state = 109; +; + BA.debugLineNum = 2825;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +Debug.ShouldStop(256); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2826;BA.debugLine="Printer1.WriteString(\"---------------------------"; +Debug.ShouldStop(512); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("------------------------------"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2829;BA.debugLine="Printer1.WriteString(\"Total Articulos: \" & L_CA"; +Debug.ShouldStop(4096); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Total Articulos: "),__ref.getField(false,"_l_cant" /*RemoteObject*/ ).runMethod(true,"getText"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2830;BA.debugLine="Printer1.WriteString(\"Total: $\" & l_total.Text)"; +Debug.ShouldStop(8192); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Total: $"),__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"getText")))); + BA.debugLineNum = 2833;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +Debug.ShouldStop(65536); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2834;BA.debugLine="Printer1.WriteString(\"---------------------------"; +Debug.ShouldStop(131072); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("------------------------------"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2837;BA.debugLine="Printer1.WriteString(\"----ESTE TICKET NO ES UN --"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("----ESTE TICKET NO ES UN -----"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2838;BA.debugLine="Printer1.WriteString(\"--COMPROBANTE FISCAL, SOLO"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("--COMPROBANTE FISCAL, SOLO ES-"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2839;BA.debugLine="Printer1.WriteString(\"--------INFORMATIVO--------"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("--------INFORMATIVO-----------"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2840;BA.debugLine="Printer1.WriteString(\"---------------------------"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("------------------------------"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2841;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2842;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2843;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2844;BA.debugLine="Sleep(1000)"; +Debug.ShouldStop(134217728); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "b_imp2_click"),BA.numberCast(int.class, 1000)); +this.state = 143; +return; +case 143: +//C +this.state = 109; +; + BA.debugLineNum = 2845;BA.debugLine="Printer1.DisConnect"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_disconnect" /*RemoteObject*/ ); + BA.debugLineNum = 2847;BA.debugLine="ProgressDialogHide"; +Debug.ShouldStop(1073741824); +parent.__c.runVoidMethod ("ProgressDialogHide"); + BA.debugLineNum = 2849;BA.debugLine="If banderaimp = 1 Then"; +Debug.ShouldStop(1); +if (true) break; + +case 109: +//if +this.state = 124; +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_banderaimp" /*RemoteObject*/ ),BA.numberCast(double.class, 1))) { +this.state = 111; +}else +{ BA.debugLineNum = 2860;BA.debugLine="Else If banderaimp = 0 Then"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_banderaimp" /*RemoteObject*/ ),BA.numberCast(double.class, 0))) { +this.state = 119; +}} +if (true) break; + +case 111: +//C +this.state = 112; + BA.debugLineNum = 2850;BA.debugLine="Msgbox2Async(\"Deseas imprimir de nuevo el ticket"; +Debug.ShouldStop(2); +parent.__c.runVoidMethod ("Msgbox2Async",(Object)(BA.ObjectToCharSequence("Deseas imprimir de nuevo el ticket?")),(Object)(BA.ObjectToCharSequence("ATENCION")),(Object)(BA.ObjectToString("SI")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("NO")),(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 = 2851;BA.debugLine="Wait For Msgbox_Result (resultado As Int)"; +Debug.ShouldStop(4); +parent.__c.runVoidMethod ("WaitFor","msgbox_result", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "b_imp2_click"), null); +this.state = 144; +return; +case 144: +//C +this.state = 112; +_resultado = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("resultado", _resultado); +; + BA.debugLineNum = 2852;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; +Debug.ShouldStop(8); +if (true) break; + +case 112: +//if +this.state = 117; +if (RemoteObject.solveBoolean("=",_resultado,BA.numberCast(double.class, parent.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { +this.state = 114; +}else { +this.state = 116; +}if (true) break; + +case 114: +//C +this.state = 117; + BA.debugLineNum = 2853;BA.debugLine="B_IMP_Click"; +Debug.ShouldStop(16); +__ref.runClassMethod (reparto_izca.keymon.lat.c_cliente.class, "_b_imp_click" /*void*/ ); + if (true) break; + +case 116: +//C +this.state = 117; + if (true) break; + +case 117: +//C +this.state = 124; +; + if (true) break; + +case 119: +//C +this.state = 120; + BA.debugLineNum = 2861;BA.debugLine="Msgbox2Async(\"Deseas imprimir de nuevo el ticket"; +Debug.ShouldStop(4096); +parent.__c.runVoidMethod ("Msgbox2Async",(Object)(BA.ObjectToCharSequence("Deseas imprimir de nuevo el ticket?")),(Object)(BA.ObjectToCharSequence("ATENCION")),(Object)(BA.ObjectToString("SI")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("NO")),(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 = 2862;BA.debugLine="Wait For Msgbox_Result (resultado As Int)"; +Debug.ShouldStop(8192); +parent.__c.runVoidMethod ("WaitFor","msgbox_result", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "b_imp2_click"), null); +this.state = 145; +return; +case 145: +//C +this.state = 120; +_resultado = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("resultado", _resultado); +; + BA.debugLineNum = 2863;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; +Debug.ShouldStop(16384); +if (true) break; + +case 120: +//if +this.state = 123; +if (RemoteObject.solveBoolean("=",_resultado,BA.numberCast(double.class, parent.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { +this.state = 122; +}if (true) break; + +case 122: +//C +this.state = 123; + BA.debugLineNum = 2864;BA.debugLine="B_IMP_Click"; +Debug.ShouldStop(32768); +__ref.runClassMethod (reparto_izca.keymon.lat.c_cliente.class, "_b_imp_click" /*void*/ ); + if (true) break; + +case 123: +//C +this.state = 124; +; + if (true) break; + +case 124: +//C +this.state = -1; +; + BA.debugLineNum = 2869;BA.debugLine="End Sub"; +Debug.ShouldStop(1048576); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static RemoteObject _b_noentrega_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_noEntrega_Click (c_cliente) ","c_cliente",6,__ref.getField(false, "ba"),__ref,532); +if (RapidSub.canDelegate("b_noentrega_click")) { return __ref.runUserSub(false, "c_cliente","b_noentrega_click", __ref);} + BA.debugLineNum = 532;BA.debugLine="Sub b_noEntrega_Click"; +Debug.ShouldStop(524288); + BA.debugLineNum = 534;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT gestion FROM k"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT gestion FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)")))); + BA.debugLineNum = 535;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 536;BA.debugLine="If c.GetInt(\"gestion\") = 2 Then"; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("gestion"))),BA.numberCast(double.class, 2))) { + BA.debugLineNum = 537;BA.debugLine="MsgboxAsync(\"El cliente ya fue entregado y no se"; +Debug.ShouldStop(16777216); +c_cliente.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("El cliente ya fue entregado y no se puede realizar modificación")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + }else { + BA.debugLineNum = 541;BA.debugLine="B4XPages.ShowPage(\"noVenta\")"; +Debug.ShouldStop(268435456); +c_cliente._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("noVenta"))); + }; + 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 _b_paso2_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B_PASO2_Click (c_cliente) ","c_cliente",6,__ref.getField(false, "ba"),__ref,1191); +if (RapidSub.canDelegate("b_paso2_click")) { return __ref.runUserSub(false, "c_cliente","b_paso2_click", __ref);} + BA.debugLineNum = 1191;BA.debugLine="Sub B_PASO2_Click"; +Debug.ShouldStop(64); + BA.debugLineNum = 1192;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(128); +c_cliente.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 1193;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 = 1194;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 = 1195;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CUENTA from cuen"; +Debug.ShouldStop(1024); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CUENTA from cuentaa")))); + BA.debugLineNum = 1196;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(2048); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1197;BA.debugLine="cuenta = c.GetString(\"CUENTA\")"; +Debug.ShouldStop(4096); +__ref.setField ("_cuenta" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA")))); + BA.debugLineNum = 1198;BA.debugLine="c=Starter.skmt.ExecQuery(\"select usuario from usu"; +Debug.ShouldStop(8192); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select usuario from usuarioa")))); + BA.debugLineNum = 1199;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(16384); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1200;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +Debug.ShouldStop(32768); +__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO")))); + BA.debugLineNum = 1201;BA.debugLine="c.Close"; +Debug.ShouldStop(65536); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1202;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM NOVENTA WH"; +Debug.ShouldStop(131072); +c_cliente._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM NOVENTA WHERE NV_CLIENTE IN (select cuenta from cuentaa)"))); + BA.debugLineNum = 1203;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO NOVENTA"; +Debug.ShouldStop(262144); +c_cliente._starter._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_cliente.__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*/ )),RemoteObject.createImmutable(("PASO")),RemoteObject.createImmutable(("PASO ESPERA")),(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 = 1209;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +Debug.ShouldStop(16777216); +c_cliente._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Principal"))); + BA.debugLineNum = 1211;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_cliente) ","c_cliente",6,__ref.getField(false, "ba"),__ref,147); +if (RapidSub.canDelegate("b4xpage_appear")) { return __ref.runUserSub(false, "c_cliente","b4xpage_appear", __ref);} +RemoteObject _cym = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _vc = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _cuenta0 = RemoteObject.createImmutable(""); +RemoteObject _arti = RemoteObject.createImmutable(""); +int _i = 0; +RemoteObject _vc2 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _cuenta1 = RemoteObject.createImmutable(""); +RemoteObject _arti1 = RemoteObject.createImmutable(""); +RemoteObject _preu = RemoteObject.createImmutable(0f); +RemoteObject _vc3 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _vc4 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _cuenta2 = RemoteObject.createImmutable(""); +RemoteObject _arti2 = RemoteObject.createImmutable(""); +RemoteObject _vc5 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _c4 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _cuenta3 = RemoteObject.createImmutable(""); +RemoteObject _arti3 = RemoteObject.createImmutable(""); +RemoteObject _vcred4 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _cuentacred2 = RemoteObject.createImmutable(0f); +RemoteObject _vcred5 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _vcred = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _cuentacred0 = RemoteObject.createImmutable(0f); +RemoteObject _cp = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _x2 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _cabonos = RemoteObject.createImmutable(""); + BA.debugLineNum = 147;BA.debugLine="Sub B4XPage_Appear"; +Debug.ShouldStop(262144); + BA.debugLineNum = 148;BA.debugLine="banderaimp = 0"; +Debug.ShouldStop(524288); +__ref.setField ("_banderaimp" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 149;BA.debugLine="Subs.centraPanel(p_principal, Root.Width)"; +Debug.ShouldStop(1048576); +c_cliente._subs.runVoidMethod ("_centrapanel" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_p_principal" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"))); + BA.debugLineNum = 150;BA.debugLine="Starter.skmt.Initialize(Starter.ruta,\"kmt.db\", Tr"; +Debug.ShouldStop(2097152); +c_cliente._starter._skmt /*RemoteObject*/ .runVoidMethod ("Initialize",(Object)(c_cliente._starter._ruta /*RemoteObject*/ ),(Object)(BA.ObjectToString("kmt.db")),(Object)(c_cliente.__c.getField(true,"True"))); + BA.debugLineNum = 151;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.SERVE"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref),(Object)(c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_server" /*RemoteObject*/ ))); + BA.debugLineNum = 152;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CAT_CL_CODIGO,CA"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_cliente._starter._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_BCREDITO from kmt_info where CAT_CL_CODIGO In (Select cuenta from cuentaa)")))); + BA.debugLineNum = 153;BA.debugLine="s=Starter.skmt.ExecQuery(\"select sum(pe_costo_tot"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (c_cliente._starter._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) AND PE_TIPO NOT IN ('SOBRANTE','FALTANTE')")))); + BA.debugLineNum = 154;BA.debugLine="s.Position=0"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 155;BA.debugLine="c.Position=0"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 156;BA.debugLine="la_cuenta.Text = c.GetString(\"CAT_CL_CODIGO\")"; +Debug.ShouldStop(134217728); +__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 = 157;BA.debugLine="La_nombre.Text = c.GetString(\"CAT_CL_NOMBRE\")"; +Debug.ShouldStop(268435456); +__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 = 158;BA.debugLine="NOMBRE = c.GetString(\"CAT_CL_NOMBRE\")"; +Debug.ShouldStop(536870912); +__ref.setField ("_nombre" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_NOMBRE")))); + BA.debugLineNum = 159;BA.debugLine="LONGITUD = c.GetString(\"CAT_CL_LONG\")"; +Debug.ShouldStop(1073741824); +__ref.setField ("_longitud" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_LONG")))); + BA.debugLineNum = 160;BA.debugLine="LATITUD = c.GetString(\"CAT_CL_LAT\")"; +Debug.ShouldStop(-2147483648); +__ref.setField ("_latitud" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_LAT")))); + BA.debugLineNum = 161;BA.debugLine="la_Calle.Text = c.GetString(\"CAT_CL_CALLE\") & c.G"; +Debug.ShouldStop(1); +__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 = 162;BA.debugLine="la_col.Text = c.GetString(\"CAT_CL_COLONIA\")"; +Debug.ShouldStop(2); +__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 = 163;BA.debugLine="la_edo.Text = c.GetString(\"CAT_CL_EDO\")"; +Debug.ShouldStop(4); +__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 = 164;BA.debugLine="la_cp.Text = c.GetString(\"CAT_CL_CP\")"; +Debug.ShouldStop(8); +__ref.getField(false,"_la_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CP"))))); + BA.debugLineNum = 165;BA.debugLine="l_entre1.Text = c.GetString(\"CAT_CL_CALLE1\")"; +Debug.ShouldStop(16); +__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 = 166;BA.debugLine="l_entre2.Text = c.GetString(\"CAT_CL_CALLE2\")"; +Debug.ShouldStop(32); +__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 = 167;BA.debugLine="If c.GetString(\"CAT_CL_ATIENDE1\") <> Null And c.G"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean("N",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_ATIENDE1")))) && RemoteObject.solveBoolean("!",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_ATIENDE1"))),BA.ObjectToString("null"))) { + BA.debugLineNum = 168;BA.debugLine="l_atiende.Text = c.GetString(\"CAT_CL_ATIENDE1\")"; +Debug.ShouldStop(128); +__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"))))); + }else { + BA.debugLineNum = 170;BA.debugLine="l_atiende.Text = \" \""; +Debug.ShouldStop(512); +__ref.getField(false,"_l_atiende" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(" ")); + }; + BA.debugLineNum = 172;BA.debugLine="If c.GetString(\"CAT_CL_ATIENTE2\") <> Null And c.G"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean("N",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_ATIENTE2")))) && RemoteObject.solveBoolean("!",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_ATIENTE2"))),BA.ObjectToString("NULL"))) { + BA.debugLineNum = 173;BA.debugLine="l_atiende2.Text = c.GetString(\"CAT_CL_ATIENTE2\")"; +Debug.ShouldStop(4096); +__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"))))); + }else { + BA.debugLineNum = 175;BA.debugLine="l_atiende2.Text = \" \""; +Debug.ShouldStop(16384); +__ref.getField(false,"_l_atiende2" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(" ")); + }; + BA.debugLineNum = 177;BA.debugLine="la_saldotot.Text = c.GetString(\"CAT_CL_TELEFONO\")"; +Debug.ShouldStop(65536); +__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 = 178;BA.debugLine="la_saldooper.Text = c.GetString(\"CAT_CL_EMAIL\")"; +Debug.ShouldStop(131072); +__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 = 180;BA.debugLine="CREDITO = C.GetString(\"CAT_CL_BCREDITO\")"; +Debug.ShouldStop(524288); +__ref.setField ("_credito" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_BCREDITO")))); + BA.debugLineNum = 183;BA.debugLine="Private cym As Map = Subs.traeCantYMonto2(Subs.tr"; +Debug.ShouldStop(4194304); +_cym = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_cym = c_cliente._subs.runMethod(false,"_traecantymonto2" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(c_cliente._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))));Debug.locals.put("cym", _cym);Debug.locals.put("cym", _cym); + BA.debugLineNum = 184;BA.debugLine="L_CANT.Text = cym.Get(\"cantidad\")"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_l_cant" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_cym.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("cantidad")))))); + BA.debugLineNum = 185;BA.debugLine="l_total.Text = Round2(cym.Get(\"monto\"), 2)"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_cliente.__c.runMethod(true,"Round2",(Object)(BA.numberCast(double.class, _cym.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("monto")))))),(Object)(BA.numberCast(int.class, 2))))); + BA.debugLineNum = 193;BA.debugLine="Starter.skmt.ExecNonQuery(\"UPDATE HIST_VENTAS set"; +Debug.ShouldStop(1); +c_cliente._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("UPDATE HIST_VENTAS set ESPROMO = 1 where HVD_CODPROMO = HVD_PROID AND HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))); + BA.debugLineNum = 194;BA.debugLine="Private vc As Cursor = Starter.skmt.ExecQuery($\"s"; +Debug.ShouldStop(2); +_vc = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_vc = 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.concat(RemoteObject.createImmutable("select HVD_PROID,HVD_COSTO_TOT, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT from HIST_VENTAS where BCAJAS = 0 and HVD_CODPROMO ='"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_cliente._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),RemoteObject.createImmutable("' and HVD_CLIENTE in (select cuenta from cuentaa)"))))));Debug.locals.put("vc", _vc);Debug.locals.put("vc", _vc); + BA.debugLineNum = 196;BA.debugLine="Private cuenta0 As String = 0"; +Debug.ShouldStop(8); +_cuenta0 = BA.NumberToString(0);Debug.locals.put("cuenta0", _cuenta0);Debug.locals.put("cuenta0", _cuenta0); + BA.debugLineNum = 197;BA.debugLine="Private arti As String = 0"; +Debug.ShouldStop(16); +_arti = BA.NumberToString(0);Debug.locals.put("arti", _arti);Debug.locals.put("arti", _arti); + BA.debugLineNum = 198;BA.debugLine="If vc.RowCount > 0 Then"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean(">",_vc.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 199;BA.debugLine="For i = 0 To vc.RowCount - 1"; +Debug.ShouldStop(64); +{ +final int step41 = 1; +final int limit41 = RemoteObject.solve(new RemoteObject[] {_vc.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 = 200;BA.debugLine="vc.Position = i"; +Debug.ShouldStop(128); +_vc.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 203;BA.debugLine="cuenta0 = cuenta0 + ((vc.GetString(\"HVD_CANT\")"; +Debug.ShouldStop(1024); +_cuenta0 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cuenta0),(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _vc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, _vc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0)),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _vc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_COSTO_TOT")))),BA.numberCast(double.class, _vc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT"))))}, "/",0, 0))}, "*",0, 0))}, "+",1, 0));Debug.locals.put("cuenta0", _cuenta0); + BA.debugLineNum = 208;BA.debugLine="arti = arti + (vc.GetString(\"HVD_CANT\") - vc.Ge"; +Debug.ShouldStop(32768); +_arti = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _arti),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _vc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, _vc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0))}, "+",1, 0));Debug.locals.put("arti", _arti); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 214;BA.debugLine="Private vc2 As Cursor = Starter.skmt.ExecQuery(\"s"; +Debug.ShouldStop(2097152); +_vc2 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_vc2 = 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 HVD_PROID, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT, CANTC,HVD_COSTO_TOT from HIST_VENTAS where HVD_CLIENTE in (select cuenta from cuentaa) AND BCAJAS = 1"))));Debug.locals.put("vc2", _vc2);Debug.locals.put("vc2", _vc2); + BA.debugLineNum = 215;BA.debugLine="Private Cuenta1 As String = 0"; +Debug.ShouldStop(4194304); +_cuenta1 = BA.NumberToString(0);Debug.locals.put("Cuenta1", _cuenta1);Debug.locals.put("Cuenta1", _cuenta1); + BA.debugLineNum = 216;BA.debugLine="Private arti1 As String = 0"; +Debug.ShouldStop(8388608); +_arti1 = BA.NumberToString(0);Debug.locals.put("arti1", _arti1);Debug.locals.put("arti1", _arti1); + BA.debugLineNum = 217;BA.debugLine="If vc2.RowCount > 0 Then"; +Debug.ShouldStop(16777216); +if (RemoteObject.solveBoolean(">",_vc2.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 218;BA.debugLine="For i = 0 To vc2.RowCount - 1"; +Debug.ShouldStop(33554432); +{ +final int step51 = 1; +final int limit51 = RemoteObject.solve(new RemoteObject[] {_vc2.runMethod(true,"getRowCount"),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 = 219;BA.debugLine="vc2.Position = i"; +Debug.ShouldStop(67108864); +_vc2.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 220;BA.debugLine="Dim preu As Float = NumberFormat2(vc2.GetString"; +Debug.ShouldStop(134217728); +_preu = BA.numberCast(float.class, c_cliente.__c.runMethod(true,"NumberFormat2",(Object)(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _vc2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_COSTO_TOT")))),BA.numberCast(double.class, _vc2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CANTC"))))}, "/",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"))));Debug.locals.put("preu", _preu);Debug.locals.put("preu", _preu); + BA.debugLineNum = 221;BA.debugLine="Private vc3 As Cursor = Starter.skmt.ExecQuery("; +Debug.ShouldStop(268435456); +_vc3 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_vc3 = 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.concat(RemoteObject.createImmutable("select PRECIOCONVER, CONVERSION from CAT_GUNAPROD where CAT_GP_ID = '"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_vc2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID")))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("vc3", _vc3);Debug.locals.put("vc3", _vc3); + BA.debugLineNum = 222;BA.debugLine="If vc3.RowCount > 0 Then"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean(">",_vc3.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 223;BA.debugLine="vc3.Position = 0"; +Debug.ShouldStop(1073741824); +_vc3.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 224;BA.debugLine="Cuenta1 = Cuenta1 + ((vc2.GetString(\"CANTC\")-("; +Debug.ShouldStop(-2147483648); +_cuenta1 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cuenta1),(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _vc2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CANTC")))),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _vc2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT")))),BA.numberCast(double.class, _vc3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CONVERSION"))))}, "/",0, 0))}, "-",1, 0)),_preu}, "*",0, 0))}, "+",1, 0));Debug.locals.put("Cuenta1", _cuenta1); + BA.debugLineNum = 225;BA.debugLine="arti1 = arti1 + (vc2.GetString(\"HVD_CANT\") - v"; +Debug.ShouldStop(1); +_arti1 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _arti1),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _vc2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, _vc2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0))}, "+",1, 0));Debug.locals.put("arti1", _arti1); + }; + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 231;BA.debugLine="Private vc4 As Cursor = Starter.skmt.ExecQuery($\""; +Debug.ShouldStop(64); +_vc4 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_vc4 = 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.concat(RemoteObject.createImmutable("select HVD_PROID,HVD_PRONOMBRE,HVD_COSTO_TOT, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT, CANTC,HVD_COSTO_TOT, HVD_RECHAZO, HVD_CODPROMO from HIST_VENTAS where HVD_CLIENTE in (select cuenta from cuentaa) AND BCAJAS = 0 and HVD_CODPROMO <> '"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_cliente._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("vc4", _vc4);Debug.locals.put("vc4", _vc4); + BA.debugLineNum = 232;BA.debugLine="Private Cuenta2 As String = 0"; +Debug.ShouldStop(128); +_cuenta2 = BA.NumberToString(0);Debug.locals.put("Cuenta2", _cuenta2);Debug.locals.put("Cuenta2", _cuenta2); + BA.debugLineNum = 233;BA.debugLine="Private arti2 As String = 0"; +Debug.ShouldStop(256); +_arti2 = BA.NumberToString(0);Debug.locals.put("arti2", _arti2);Debug.locals.put("arti2", _arti2); + BA.debugLineNum = 234;BA.debugLine="If vc4.RowCount > 0 Then"; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean(">",_vc4.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 236;BA.debugLine="For i = 0 To vc4.RowCount - 1"; +Debug.ShouldStop(2048); +{ +final int step66 = 1; +final int limit66 = RemoteObject.solve(new RemoteObject[] {_vc4.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step66 > 0 && _i <= limit66) || (step66 < 0 && _i >= limit66) ;_i = ((int)(0 + _i + step66)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 237;BA.debugLine="vc4.Position = i"; +Debug.ShouldStop(4096); +_vc4.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 238;BA.debugLine="If vc4.GetString(\"HVD_PROID\") <> vc4.GetString("; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean("!",_vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID"))),_vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CODPROMO"))))) { + BA.debugLineNum = 239;BA.debugLine="If vc4.GetString(\"HVD_RECHAZO\") = 0 Then"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean("=",_vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZO"))),BA.NumberToString(0))) { + BA.debugLineNum = 240;BA.debugLine="Cuenta2 = Cuenta2 + vc4.GetString(\"HVD_COSTO_"; +Debug.ShouldStop(32768); +_cuenta2 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cuenta2),BA.numberCast(double.class, _vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_COSTO_TOT"))))}, "+",1, 0));Debug.locals.put("Cuenta2", _cuenta2); + BA.debugLineNum = 241;BA.debugLine="arti2 = arti2 + vc4.GetString(\"HVD_CANT\")"; +Debug.ShouldStop(65536); +_arti2 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _arti2),BA.numberCast(double.class, _vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT"))))}, "+",1, 0));Debug.locals.put("arti2", _arti2); + }else { + BA.debugLineNum = 243;BA.debugLine="Private vc5 As Cursor = Starter.skmt.ExecQuer"; +Debug.ShouldStop(262144); +_vc5 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_vc5 = 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.concat(RemoteObject.createImmutable("select CAT_GP_PRECIO from CAT_GUNAPROD where CAT_GP_ID = '"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID")))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("vc5", _vc5);Debug.locals.put("vc5", _vc5); + BA.debugLineNum = 244;BA.debugLine="If vc5.RowCount > 0 Then"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean(">",_vc5.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 245;BA.debugLine="vc5.Position= 0"; +Debug.ShouldStop(1048576); +_vc5.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 247;BA.debugLine="Cuenta2 = Cuenta2 +((vc4.GetString(\"HVD_CANT"; +Debug.ShouldStop(4194304); +_cuenta2 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cuenta2),(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, _vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0)),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_COSTO_TOT")))),BA.numberCast(double.class, _vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT"))))}, "/",0, 0))}, "*",0, 0))}, "+",1, 0));Debug.locals.put("Cuenta2", _cuenta2); + BA.debugLineNum = 248;BA.debugLine="arti2 = arti2 +(vc4.GetString(\"HVD_CANT\")- v"; +Debug.ShouldStop(8388608); +_arti2 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _arti2),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, _vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0))}, "+",1, 0));Debug.locals.put("arti2", _arti2); + }; + }; + }; + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 258;BA.debugLine="Subs.centraPanel(p_credito, Root.Width)"; +Debug.ShouldStop(2); +c_cliente._subs.runVoidMethod ("_centrapanel" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_p_credito" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"))); + BA.debugLineNum = 259;BA.debugLine="Private c4 As Cursor = Starter.skmt.ExecQuery($\"S"; +Debug.ShouldStop(4); +_c4 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c4 = 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 IFNULL(PE_CANT,0) AS PE_CANT, iFNULL(PE_COSTO_TOT,0) AS PE_COSTO_TOT FROM PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND PE_TIPO NOT IN ('SOBRANTE','FALTANTE')")))));Debug.locals.put("c4", _c4);Debug.locals.put("c4", _c4); + BA.debugLineNum = 260;BA.debugLine="Private Cuenta3 As String = 0"; +Debug.ShouldStop(8); +_cuenta3 = BA.NumberToString(0);Debug.locals.put("Cuenta3", _cuenta3);Debug.locals.put("Cuenta3", _cuenta3); + BA.debugLineNum = 261;BA.debugLine="Private arti3 As String = 0"; +Debug.ShouldStop(16); +_arti3 = BA.NumberToString(0);Debug.locals.put("arti3", _arti3);Debug.locals.put("arti3", _arti3); + BA.debugLineNum = 262;BA.debugLine="If c4.RowCount > 0 Then"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean(">",_c4.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 263;BA.debugLine="For i = 0 To c4.RowCount -1"; +Debug.ShouldStop(64); +{ +final int step88 = 1; +final int limit88 = RemoteObject.solve(new RemoteObject[] {_c4.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step88 > 0 && _i <= limit88) || (step88 < 0 && _i >= limit88) ;_i = ((int)(0 + _i + step88)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 264;BA.debugLine="c4.Position = i"; +Debug.ShouldStop(128); +_c4.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 265;BA.debugLine="arti3 = arti3 + c4.GetString(\"PE_CANT\")"; +Debug.ShouldStop(256); +_arti3 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _arti3),BA.numberCast(double.class, _c4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))))}, "+",1, 0));Debug.locals.put("arti3", _arti3); + BA.debugLineNum = 266;BA.debugLine="Cuenta3 = Cuenta3 + c4.GetString(\"PE_COSTO_TOT\""; +Debug.ShouldStop(512); +_cuenta3 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cuenta3),BA.numberCast(double.class, _c4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_TOT"))))}, "+",1, 0));Debug.locals.put("Cuenta3", _cuenta3); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 269;BA.debugLine="Log(cuenta0)"; +Debug.ShouldStop(4096); +c_cliente.__c.runVoidMethod ("LogImpl","87798906",_cuenta0,0); + BA.debugLineNum = 270;BA.debugLine="Log(Cuenta1)"; +Debug.ShouldStop(8192); +c_cliente.__c.runVoidMethod ("LogImpl","87798907",_cuenta1,0); + BA.debugLineNum = 271;BA.debugLine="Log(Cuenta2)"; +Debug.ShouldStop(16384); +c_cliente.__c.runVoidMethod ("LogImpl","87798908",_cuenta2,0); + BA.debugLineNum = 272;BA.debugLine="Log(Cuenta3)"; +Debug.ShouldStop(32768); +c_cliente.__c.runVoidMethod ("LogImpl","87798909",_cuenta3,0); + BA.debugLineNum = 274;BA.debugLine="l_total.Text = NumberFormat2((cuenta0 + Cuenta1 +"; +Debug.ShouldStop(131072); +__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_cliente.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cuenta0),BA.numberCast(double.class, _cuenta1),BA.numberCast(double.class, _cuenta2),BA.numberCast(double.class, _cuenta3)}, "+++",3, 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,"True"))))); + BA.debugLineNum = 275;BA.debugLine="L_CANT.Text = NumberFormat2((arti + arti1 +arti2"; +Debug.ShouldStop(262144); +__ref.getField(false,"_l_cant" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_cliente.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _arti),BA.numberCast(double.class, _arti1),BA.numberCast(double.class, _arti2),BA.numberCast(double.class, _arti3)}, "+++",3, 0))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(c_cliente.__c.getField(true,"True"))))); + BA.debugLineNum = 280;BA.debugLine="c = Starter.skmt.ExecQuery2(\"select CAT_VA_VALOR"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_cliente._starter._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 = 281;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 = 282;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 283;BA.debugLine="Starter.MAC_IMPRESORA = c.GetString(\"CAT_VA_VALO"; +Debug.ShouldStop(67108864); +c_cliente._starter._mac_impresora /*RemoteObject*/ = __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_VA_VALOR"))); + }; + BA.debugLineNum = 285;BA.debugLine="If Starter.MAC_IMPRESORA = \"\" Then Starter.MAC_IM"; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean("=",c_cliente._starter._mac_impresora /*RemoteObject*/ ,BA.ObjectToString(""))) { +c_cliente._starter._mac_impresora /*RemoteObject*/ = BA.ObjectToString("0");}; + BA.debugLineNum = 287;BA.debugLine="Printer1.Initialize(Me, \"Printer1\")"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref),(Object)(RemoteObject.createImmutable("Printer1"))); + BA.debugLineNum = 289;BA.debugLine="If Printer1.IsConnected = False Then"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_isconnected" /*RemoteObject*/ ),c_cliente.__c.getField(true,"False"))) { + }else { + BA.debugLineNum = 293;BA.debugLine="Printer1.DisConnect"; +Debug.ShouldStop(16); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_disconnect" /*RemoteObject*/ ); + BA.debugLineNum = 294;BA.debugLine="Printer1.Connect"; +Debug.ShouldStop(32); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_connect" /*RemoteObject*/ ); + BA.debugLineNum = 295;BA.debugLine="Log(\"2\")"; +Debug.ShouldStop(64); +c_cliente.__c.runVoidMethod ("LogImpl","87798932",RemoteObject.createImmutable("2"),0); + }; + BA.debugLineNum = 326;BA.debugLine="Private vcred4 As Cursor = Starter.skmt.ExecQuery"; +Debug.ShouldStop(32); +_vcred4 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_vcred4 = 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.concat(RemoteObject.createImmutable("select HVD_PROID,HVD_PRONOMBRE,HVD_COSTO_TOT, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT, CANTC,HVD_COSTO_TOT, HVD_RECHAZO, HVD_CODPROMO from HIST_VENTAS where HVD_CLIENTE in (select cuenta from cuentaa) AND BCAJAS = 0 and HVD_CODPROMO <> '"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_cliente._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),RemoteObject.createImmutable("' and HVD_BCREDITO = '1' "))))));Debug.locals.put("vcred4", _vcred4);Debug.locals.put("vcred4", _vcred4); + BA.debugLineNum = 327;BA.debugLine="Private Cuentacred2 As Float = 0"; +Debug.ShouldStop(64); +_cuentacred2 = BA.numberCast(float.class, 0);Debug.locals.put("Cuentacred2", _cuentacred2);Debug.locals.put("Cuentacred2", _cuentacred2); + BA.debugLineNum = 329;BA.debugLine="If vcred4.RowCount > 0 Then"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean(">",_vcred4.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 331;BA.debugLine="For i = 0 To vcred4.RowCount - 1"; +Debug.ShouldStop(1024); +{ +final int step116 = 1; +final int limit116 = RemoteObject.solve(new RemoteObject[] {_vcred4.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step116 > 0 && _i <= limit116) || (step116 < 0 && _i >= limit116) ;_i = ((int)(0 + _i + step116)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 332;BA.debugLine="vcred4.Position = i"; +Debug.ShouldStop(2048); +_vcred4.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 333;BA.debugLine="If vcred4.GetString(\"HVD_PROID\") <> vcred4.GetS"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean("!",_vcred4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID"))),_vcred4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CODPROMO"))))) { + BA.debugLineNum = 334;BA.debugLine="If vcred4.GetString(\"HVD_RECHAZO\") = 0 Then"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean("=",_vcred4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZO"))),BA.NumberToString(0))) { + BA.debugLineNum = 335;BA.debugLine="Cuentacred2 = Cuentacred2 + vcred4.GetString("; +Debug.ShouldStop(16384); +_cuentacred2 = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_cuentacred2,BA.numberCast(double.class, _vcred4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_COSTO_TOT"))))}, "+",1, 0));Debug.locals.put("Cuentacred2", _cuentacred2); + }else { + BA.debugLineNum = 338;BA.debugLine="Private vcred5 As Cursor = Starter.skmt.ExecQ"; +Debug.ShouldStop(131072); +_vcred5 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_vcred5 = 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.concat(RemoteObject.createImmutable("select CAT_GP_PRECIO from CAT_GUNAPROD where CAT_GP_ID = '"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_vcred4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID")))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("vcred5", _vcred5);Debug.locals.put("vcred5", _vcred5); + BA.debugLineNum = 339;BA.debugLine="If vcred5.RowCount > 0 Then"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean(">",_vcred5.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 340;BA.debugLine="vc5.Position= 0"; +Debug.ShouldStop(524288); +_vc5.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 342;BA.debugLine="Cuentacred2 = Cuentacred2 +((vcred4.GetStrin"; +Debug.ShouldStop(2097152); +_cuentacred2 = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_cuentacred2,(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _vcred4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, _vcred4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0)),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _vcred4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_COSTO_TOT")))),BA.numberCast(double.class, _vcred4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT"))))}, "/",0, 0))}, "*",0, 0))}, "+",1, 0));Debug.locals.put("Cuentacred2", _cuentacred2); + }; + }; + }; + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 351;BA.debugLine="Private vcred As Cursor = Starter.skmt.ExecQuery("; +Debug.ShouldStop(1073741824); +_vcred = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_vcred = 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.concat(RemoteObject.createImmutable("select HVD_PROID,HVD_COSTO_TOT, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT from HIST_VENTAS where BCAJAS = 0 and HVD_CODPROMO ='"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_cliente._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),RemoteObject.createImmutable("' and HVD_CLIENTE in (select cuenta from cuentaa) and HVD_BCREDITO = '1'"))))));Debug.locals.put("vcred", _vcred);Debug.locals.put("vcred", _vcred); + BA.debugLineNum = 353;BA.debugLine="Private cuentacred0 As Float = 0"; +Debug.ShouldStop(1); +_cuentacred0 = BA.numberCast(float.class, 0);Debug.locals.put("cuentacred0", _cuentacred0);Debug.locals.put("cuentacred0", _cuentacred0); + BA.debugLineNum = 355;BA.debugLine="If vcred.RowCount > 0 Then"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean(">",_vcred.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 356;BA.debugLine="For i = 0 To vcred.RowCount - 1"; +Debug.ShouldStop(8); +{ +final int step134 = 1; +final int limit134 = RemoteObject.solve(new RemoteObject[] {_vcred.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step134 > 0 && _i <= limit134) || (step134 < 0 && _i >= limit134) ;_i = ((int)(0 + _i + step134)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 357;BA.debugLine="vcred.Position = i"; +Debug.ShouldStop(16); +_vcred.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 360;BA.debugLine="cuentacred0 = cuentacred0 + ((vcred.GetInt(\"HVD"; +Debug.ShouldStop(128); +_cuentacred0 = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_cuentacred0,(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {_vcred.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("HVD_CANT"))),_vcred.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT")))}, "-",1, 1)),(RemoteObject.solve(new RemoteObject[] {_vcred.runMethod(true,"GetDouble",(Object)(RemoteObject.createImmutable("HVD_COSTO_TOT"))),_vcred.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("HVD_CANT")))}, "/",0, 0))}, "*",0, 0))}, "+",1, 0));Debug.locals.put("cuentacred0", _cuentacred0); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 369;BA.debugLine="Log(cuentacred0)"; +Debug.ShouldStop(65536); +c_cliente.__c.runVoidMethod ("LogImpl","87799006",BA.NumberToString(_cuentacred0),0); + BA.debugLineNum = 370;BA.debugLine="Log(Cuentacred2)"; +Debug.ShouldStop(131072); +c_cliente.__c.runVoidMethod ("LogImpl","87799007",BA.NumberToString(_cuentacred2),0); + BA.debugLineNum = 372;BA.debugLine="l_montopag.Text = NumberFormat2((cuentacred0 + Cu"; +Debug.ShouldStop(524288); +__ref.getField(false,"_l_montopag" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_cliente.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {_cuentacred0,_cuentacred2}, "+",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 = 373;BA.debugLine="l_montoefec.Text = NumberFormat2((NumberFormat2(("; +Debug.ShouldStop(1048576); +__ref.getField(false,"_l_montoefec" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_cliente.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, c_cliente.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cuenta0),BA.numberCast(double.class, _cuenta1),BA.numberCast(double.class, _cuenta2),BA.numberCast(double.class, _cuenta3)}, "+++",3, 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.numberCast(double.class, __ref.getField(false,"_l_montopag" /*RemoteObject*/ ).runMethod(true,"getText"))}, "-",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 = 377;BA.debugLine="c=Starter.skmt.ExecQuery(\"select ID_ALMACEN from"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select ID_ALMACEN from CAT_ALMACEN")))); + BA.debugLineNum = 378;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 379;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 = 380;BA.debugLine="c.Close"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 382;BA.debugLine="Dim cp As Cursor = Starter.skmt.ExecQuery(\"SELECT"; +Debug.ShouldStop(536870912); +_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_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT * FROM PAGARES WHERE PA_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))));Debug.locals.put("cp", _cp);Debug.locals.put("cp", _cp); + BA.debugLineNum = 383;BA.debugLine="If cp.RowCount > 0 Then"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean(">",_cp.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 385;BA.debugLine="Dim x2 As Cursor =Starter.skmt.ExecQuery(\"SELECT"; +Debug.ShouldStop(1); +_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_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT gestion FROM kmt_info where CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))));Debug.locals.put("x2", _x2);Debug.locals.put("x2", _x2); + BA.debugLineNum = 386;BA.debugLine="x2.Position = 0"; +Debug.ShouldStop(2); +_x2.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 387;BA.debugLine="If x2.GetString(\"gestion\") = 2 Then"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean("=",_x2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("gestion"))),BA.NumberToString(2))) { + BA.debugLineNum = 388;BA.debugLine="b_cancel_pagare.Visible = True"; +Debug.ShouldStop(8); +__ref.getField(false,"_b_cancel_pagare" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + }else { + BA.debugLineNum = 390;BA.debugLine="b_cancel_pagare.Visible = False"; +Debug.ShouldStop(32); +__ref.getField(false,"_b_cancel_pagare" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + }; + }else { + BA.debugLineNum = 394;BA.debugLine="b_cancel_pagare.Visible = False"; +Debug.ShouldStop(512); +__ref.getField(false,"_b_cancel_pagare" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + }; + BA.debugLineNum = 399;BA.debugLine="Log(\"SI AQUI\")"; +Debug.ShouldStop(16384); +c_cliente.__c.runVoidMethod ("LogImpl","87799036",RemoteObject.createImmutable("SI AQUI"),0); + BA.debugLineNum = 400;BA.debugLine="b = Starter.skmt.ExecQuery(\"select COUNT(*) AS C"; +Debug.ShouldStop(32768); +__ref.getField(false,"_b" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select COUNT(*) AS CLIENTE FROM ABONOSP WHERE CLIENTE IN (Select CUENTA from cuentaa)")))); + BA.debugLineNum = 401;BA.debugLine="b.Position = 0"; +Debug.ShouldStop(65536); +__ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 402;BA.debugLine="Dim cabonos As String = b.GetString(\"CLIENTE\")"; +Debug.ShouldStop(131072); +_cabonos = __ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CLIENTE")));Debug.locals.put("cabonos", _cabonos);Debug.locals.put("cabonos", _cabonos); + BA.debugLineNum = 403;BA.debugLine="If cabonos = 0 Then"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean("=",_cabonos,BA.NumberToString(0))) { + BA.debugLineNum = 404;BA.debugLine="b_cxc.Visible = False"; +Debug.ShouldStop(524288); +__ref.getField(false,"_b_cxc" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + }else { + BA.debugLineNum = 406;BA.debugLine="b_cxc.Visible = True"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_b_cxc" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + }; + BA.debugLineNum = 410;BA.debugLine="End Sub"; +Debug.ShouldStop(33554432); +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_cliente) ","c_cliente",6,__ref.getField(false, "ba"),__ref,545); +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(reparto_izca.keymon.lat.c_cliente parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +reparto_izca.keymon.lat.c_cliente parent; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_CloseRequest (c_cliente) ","c_cliente",6,__ref.getField(false, "ba"),__ref,545); +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 = 548;BA.debugLine="If p_credito.Visible Then"; +Debug.ShouldStop(8); +if (true) break; + +case 1: +//if +this.state = 8; +if (__ref.getField(false,"_p_credito" /*RemoteObject*/ ).runMethod(true,"getVisible").get().booleanValue()) { +this.state = 3; +}else +{ BA.debugLineNum = 552;BA.debugLine="Else If la_cuenta.Text = \"63403\" Then"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("63403"))) { +this.state = 5; +}else { +this.state = 7; +}} +if (true) break; + +case 3: +//C +this.state = 8; + BA.debugLineNum = 549;BA.debugLine="et_montoacredito.Text = \"\""; +Debug.ShouldStop(16); +__ref.getField(false,"_et_montoacredito" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 550;BA.debugLine="p_credito.Visible = False"; +Debug.ShouldStop(32); +__ref.getField(false,"_p_credito" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 551;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 5: +//C +this.state = 8; + BA.debugLineNum = 553;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +Debug.ShouldStop(256); +parent._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Principal"))); + BA.debugLineNum = 554;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 7: +//C +this.state = 8; + BA.debugLineNum = 556;BA.debugLine="B4XPages.ShowPage(\"Clientes\")"; +Debug.ShouldStop(2048); +parent._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Clientes"))); + BA.debugLineNum = 557;BA.debugLine="Return False"; +Debug.ShouldStop(4096); +if (true) { +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(parent.__c.getField(true,"False")));return;}; + if (true) break; + +case 8: +//C +this.state = -1; +; + BA.debugLineNum = 560;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_cliente) ","c_cliente",6,__ref.getField(false, "ba"),__ref,108); +if (RapidSub.canDelegate("b4xpage_created")) { return __ref.runUserSub(false, "c_cliente","b4xpage_created", __ref, _root1);} +Debug.locals.put("Root1", _root1); + BA.debugLineNum = 108;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +Debug.ShouldStop(2048); + BA.debugLineNum = 109;BA.debugLine="Root = Root1"; +Debug.ShouldStop(4096); +__ref.setField ("_root" /*RemoteObject*/ ,_root1); + BA.debugLineNum = 111;BA.debugLine="g.Initialize(\"GPS\")"; +Debug.ShouldStop(16384); +__ref.getField(false,"_g" /*RemoteObject*/ ).runVoidMethod ("Initialize",(Object)(RemoteObject.createImmutable("GPS"))); + BA.debugLineNum = 113;BA.debugLine="Root.LoadLayout(\"cliente\")"; +Debug.ShouldStop(65536); +__ref.getField(false,"_root" /*RemoteObject*/ ).runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("cliente")),__ref.getField(false, "ba")); + BA.debugLineNum = 114;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CAT_CL_CODIGO, C"; +Debug.ShouldStop(131072); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_cliente._starter._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 from kmt_info where CAT_CL_CODIGO In (Select cuenta from cuentaa)")))); + BA.debugLineNum = 115;BA.debugLine="s=Starter.skmt.ExecQuery(\"select sum(pe_costo_tot"; +Debug.ShouldStop(262144); +__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (c_cliente._starter._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 = 116;BA.debugLine="s.Position=0"; +Debug.ShouldStop(524288); +__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 117;BA.debugLine="c.Position=0"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 118;BA.debugLine="la_cuenta.Text = c.GetString(\"CAT_CL_CODIGO\")"; +Debug.ShouldStop(2097152); +__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 = 119;BA.debugLine="La_nombre.Text = c.GetString(\"CAT_CL_NOMBRE\")"; +Debug.ShouldStop(4194304); +__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 = 120;BA.debugLine="la_Calle.Text = c.GetString(\"CAT_CL_CALLE\") & c.G"; +Debug.ShouldStop(8388608); +__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 = 121;BA.debugLine="la_col.Text = c.GetString(\"CAT_CL_COLONIA\")"; +Debug.ShouldStop(16777216); +__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 = 122;BA.debugLine="la_edo.Text = c.GetString(\"CAT_CL_EDO\")"; +Debug.ShouldStop(33554432); +__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 = 123;BA.debugLine="la_cp.Text = c.GetString(\"CAT_CL_CP\")"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_la_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CP"))))); + BA.debugLineNum = 124;BA.debugLine="l_entre1.Text = c.GetString(\"CAT_CL_CALLE1\")"; +Debug.ShouldStop(134217728); +__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 = 125;BA.debugLine="l_entre2.Text = c.GetString(\"CAT_CL_CALLE2\")"; +Debug.ShouldStop(268435456); +__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 = 126;BA.debugLine="If c.GetString(\"CAT_CL_ATIENDE1\") <> Null And c.G"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean("N",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_ATIENDE1")))) && RemoteObject.solveBoolean("!",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_ATIENDE1"))),BA.ObjectToString("null"))) { + BA.debugLineNum = 127;BA.debugLine="l_atiende.Text = c.GetString(\"CAT_CL_ATIENDE1\")"; +Debug.ShouldStop(1073741824); +__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"))))); + }else { + BA.debugLineNum = 129;BA.debugLine="l_atiende.Text = \" \""; +Debug.ShouldStop(1); +__ref.getField(false,"_l_atiende" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(" ")); + }; + BA.debugLineNum = 131;BA.debugLine="If c.GetString(\"CAT_CL_ATIENTE2\") <> Null And c.G"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean("N",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_ATIENTE2")))) && RemoteObject.solveBoolean("!",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_ATIENTE2"))),BA.ObjectToString("NULL"))) { + BA.debugLineNum = 132;BA.debugLine="l_atiende2.Text = c.GetString(\"CAT_CL_ATIENTE2\")"; +Debug.ShouldStop(8); +__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 = 133;BA.debugLine="Log(\"|\"&c.GetString(\"CAT_CL_ATIENTE2\")&\"|\")"; +Debug.ShouldStop(16); +c_cliente.__c.runVoidMethod ("LogImpl","87733273",RemoteObject.concat(RemoteObject.createImmutable("|"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_ATIENTE2"))),RemoteObject.createImmutable("|")),0); + }else { + BA.debugLineNum = 135;BA.debugLine="l_atiende2.Text = \" \""; +Debug.ShouldStop(64); +__ref.getField(false,"_l_atiende2" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(" ")); + }; + BA.debugLineNum = 137;BA.debugLine="la_saldotot.Text = c.GetString(\"CAT_CL_TELEFONO\")"; +Debug.ShouldStop(256); +__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 = 138;BA.debugLine="la_saldooper.Text = c.GetString(\"CAT_CL_EMAIL\")"; +Debug.ShouldStop(512); +__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 = 140;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 = 141;BA.debugLine="cmp20.Initialize(\"Printer\")"; +Debug.ShouldStop(4096); +__ref.getField(false,"_cmp20" /*RemoteObject*/ ).runVoidMethod ("Initialize",(Object)(RemoteObject.createImmutable("Printer"))); + BA.debugLineNum = 142;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.SERVE"; +Debug.ShouldStop(8192); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref),(Object)(c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_server" /*RemoteObject*/ ))); + BA.debugLineNum = 143;BA.debugLine="End Sub"; +Debug.ShouldStop(16384); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _cb_tipopago_selectedindexchanged(RemoteObject __ref,RemoteObject _index) throws Exception{ +try { + Debug.PushSubsStack("cb_tipopago_SelectedIndexChanged (c_cliente) ","c_cliente",6,__ref.getField(false, "ba"),__ref,2444); +if (RapidSub.canDelegate("cb_tipopago_selectedindexchanged")) { return __ref.runUserSub(false, "c_cliente","cb_tipopago_selectedindexchanged", __ref, _index);} +Debug.locals.put("Index", _index); + BA.debugLineNum = 2444;BA.debugLine="Private Sub cb_tipopago_SelectedIndexChanged (Inde"; +Debug.ShouldStop(2048); + BA.debugLineNum = 2445;BA.debugLine="itemselect = cb_tipopago.SelectedItem"; +Debug.ShouldStop(4096); +__ref.setField ("_itemselect" /*RemoteObject*/ ,__ref.getField(false,"_cb_tipopago" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.b4xcombobox.class, "_getselecteditem" /*RemoteObject*/ )); + BA.debugLineNum = 2446;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_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="Dim g As GPS"; +c_cliente._g = RemoteObject.createNew ("anywheresoftware.b4a.gps.GPS");__ref.setField("_g",c_cliente._g); + //BA.debugLineNum = 5;BA.debugLine="Dim clie_id As String"; +c_cliente._clie_id = RemoteObject.createImmutable("");__ref.setField("_clie_id",c_cliente._clie_id); + //BA.debugLineNum = 6;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 = 7;BA.debugLine="Dim usuario As String"; +c_cliente._usuario = RemoteObject.createImmutable("");__ref.setField("_usuario",c_cliente._usuario); + //BA.debugLineNum = 8;BA.debugLine="Dim cuenta As String"; +c_cliente._cuenta = RemoteObject.createImmutable("");__ref.setField("_cuenta",c_cliente._cuenta); + //BA.debugLineNum = 9;BA.debugLine="Dim btAdmin As BluetoothAdmin"; +c_cliente._btadmin = RemoteObject.createNew ("anywheresoftware.b4a.objects.Serial.BluetoothAdmin");__ref.setField("_btadmin",c_cliente._btadmin); + //BA.debugLineNum = 10;BA.debugLine="Dim cmp20 As Serial"; +c_cliente._cmp20 = RemoteObject.createNew ("anywheresoftware.b4a.objects.Serial");__ref.setField("_cmp20",c_cliente._cmp20); + //BA.debugLineNum = 11;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 = 12;BA.debugLine="Dim PairedDevices As Map"; +c_cliente._paireddevices = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");__ref.setField("_paireddevices",c_cliente._paireddevices); + //BA.debugLineNum = 13;BA.debugLine="Dim L As List"; +c_cliente._l = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");__ref.setField("_l",c_cliente._l); + //BA.debugLineNum = 14;BA.debugLine="Dim TAMANO As Int"; +c_cliente._tamano = RemoteObject.createImmutable(0);__ref.setField("_tamano",c_cliente._tamano); + //BA.debugLineNum = 15;BA.debugLine="Dim ESPACIO As Int"; +c_cliente._espacio = RemoteObject.createImmutable(0);__ref.setField("_espacio",c_cliente._espacio); + //BA.debugLineNum = 16;BA.debugLine="Dim BLANCO As String"; +c_cliente._blanco = RemoteObject.createImmutable("");__ref.setField("_blanco",c_cliente._blanco); + //BA.debugLineNum = 17;BA.debugLine="Dim impresoraConectada As Boolean = False"; +c_cliente._impresoraconectada = c_cliente.__c.getField(true,"False");__ref.setField("_impresoraconectada",c_cliente._impresoraconectada); + //BA.debugLineNum = 18;BA.debugLine="Dim LONGITUD As String"; +c_cliente._longitud = RemoteObject.createImmutable("");__ref.setField("_longitud",c_cliente._longitud); + //BA.debugLineNum = 19;BA.debugLine="Dim LATITUD As String"; +c_cliente._latitud = RemoteObject.createImmutable("");__ref.setField("_latitud",c_cliente._latitud); + //BA.debugLineNum = 20;BA.debugLine="Dim NOMBRE As String"; +c_cliente._nombre = RemoteObject.createImmutable("");__ref.setField("_nombre",c_cliente._nombre); + //BA.debugLineNum = 21;BA.debugLine="Dim c As Cursor"; +c_cliente._c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_c",c_cliente._c); + //BA.debugLineNum = 22;BA.debugLine="Dim s As Cursor"; +c_cliente._s = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_s",c_cliente._s); + //BA.debugLineNum = 23;BA.debugLine="Dim ListView1 As ListView"; +c_cliente._listview1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ListViewWrapper");__ref.setField("_listview1",c_cliente._listview1); + //BA.debugLineNum = 24;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 = 25;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 = 26;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 = 27;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 = 28;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 = 29;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 = 30;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 = 31;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 = 32;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 = 33;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 = 34;BA.debugLine="Dim gest As Button"; +c_cliente._gest = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_gest",c_cliente._gest); + //BA.debugLineNum = 35;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 = 36;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 = 37;BA.debugLine="Dim reqManager As DBRequestManager"; +c_cliente._reqmanager = RemoteObject.createNew ("reparto_izca.keymon.lat.dbrequestmanager");__ref.setField("_reqmanager",c_cliente._reqmanager); + //BA.debugLineNum = 38;BA.debugLine="Dim b_noEntrega As Button"; +c_cliente._b_noentrega = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_noentrega",c_cliente._b_noentrega); + //BA.debugLineNum = 39;BA.debugLine="Dim Label10 As Label"; +c_cliente._label10 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_label10",c_cliente._label10); + //BA.debugLineNum = 40;BA.debugLine="Dim Label11 As Label"; +c_cliente._label11 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_label11",c_cliente._label11); + //BA.debugLineNum = 41;BA.debugLine="Dim d As Cursor"; +c_cliente._d = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_d",c_cliente._d); + //BA.debugLineNum = 42;BA.debugLine="Dim ime As IME"; +c_cliente._ime = RemoteObject.createNew ("anywheresoftware.b4a.objects.IME");__ref.setField("_ime",c_cliente._ime); + //BA.debugLineNum = 43;BA.debugLine="Dim Tar As Button"; +c_cliente._tar = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_tar",c_cliente._tar); + //BA.debugLineNum = 44;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 = 45;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 = 46;BA.debugLine="Dim Printer1 As EscPosPrinter"; +c_cliente._printer1 = RemoteObject.createNew ("reparto_izca.keymon.lat.escposprinter");__ref.setField("_printer1",c_cliente._printer1); + //BA.debugLineNum = 47;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 = 48;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 = 49;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 = 50;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 = 51;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 = 52;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 = 53;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 = 54;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 = 55;BA.debugLine="Dim DATOS As Button"; +c_cliente._datos = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_datos",c_cliente._datos); + //BA.debugLineNum = 56;BA.debugLine="Dim Guardar As Button"; +c_cliente._guardar = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_guardar",c_cliente._guardar); + //BA.debugLineNum = 57;BA.debugLine="Dim NUEVO As Button"; +c_cliente._nuevo = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_nuevo",c_cliente._nuevo); + //BA.debugLineNum = 58;BA.debugLine="Private l_total As Label"; +c_cliente._l_total = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_total",c_cliente._l_total); + //BA.debugLineNum = 59;BA.debugLine="Private HIST As Button"; +c_cliente._hist = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_hist",c_cliente._hist); + //BA.debugLineNum = 60;BA.debugLine="Dim PASA_IMP As String"; +c_cliente._pasa_imp = RemoteObject.createImmutable("");__ref.setField("_pasa_imp",c_cliente._pasa_imp); + //BA.debugLineNum = 61;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 = 62;BA.debugLine="Dim total_cliente As String"; +c_cliente._total_cliente = RemoteObject.createImmutable("");__ref.setField("_total_cliente",c_cliente._total_cliente); + //BA.debugLineNum = 63;BA.debugLine="Dim CREDITO As String"; +c_cliente._credito = RemoteObject.createImmutable("");__ref.setField("_credito",c_cliente._credito); + //BA.debugLineNum = 64;BA.debugLine="Private p_principal As Panel"; +c_cliente._p_principal = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_principal",c_cliente._p_principal); + //BA.debugLineNum = 65;BA.debugLine="Private B_PASO2 As Button"; +c_cliente._b_paso2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_paso2",c_cliente._b_paso2); + //BA.debugLineNum = 66;BA.debugLine="Private L_CANT As Label"; +c_cliente._l_cant = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_cant",c_cliente._l_cant); + //BA.debugLineNum = 67;BA.debugLine="Dim errorImpresora As Int = 0"; +c_cliente._errorimpresora = BA.numberCast(int.class, 0);__ref.setField("_errorimpresora",c_cliente._errorimpresora); + //BA.debugLineNum = 68;BA.debugLine="Dim banderaimp As Int"; +c_cliente._banderaimp = RemoteObject.createImmutable(0);__ref.setField("_banderaimp",c_cliente._banderaimp); + //BA.debugLineNum = 69;BA.debugLine="Private l_credi As Label"; +c_cliente._l_credi = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_credi",c_cliente._l_credi); + //BA.debugLineNum = 70;BA.debugLine="Private l_pagare As Label"; +c_cliente._l_pagare = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_pagare",c_cliente._l_pagare); + //BA.debugLineNum = 71;BA.debugLine="Private l_montopag As Label"; +c_cliente._l_montopag = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_montopag",c_cliente._l_montopag); + //BA.debugLineNum = 72;BA.debugLine="Private l_efectivo As Label"; +c_cliente._l_efectivo = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_efectivo",c_cliente._l_efectivo); + //BA.debugLineNum = 73;BA.debugLine="Private l_montoefec As Label"; +c_cliente._l_montoefec = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_montoefec",c_cliente._l_montoefec); + //BA.debugLineNum = 74;BA.debugLine="Private p_credito As Panel"; +c_cliente._p_credito = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_credito",c_cliente._p_credito); + //BA.debugLineNum = 75;BA.debugLine="Private b_acred As Button"; +c_cliente._b_acred = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_acred",c_cliente._b_acred); + //BA.debugLineNum = 76;BA.debugLine="Private b_cancred As Button"; +c_cliente._b_cancred = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_cancred",c_cliente._b_cancred); + //BA.debugLineNum = 77;BA.debugLine="Private et_montoacredito As EditText"; +c_cliente._et_montoacredito = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_montoacredito",c_cliente._et_montoacredito); + //BA.debugLineNum = 78;BA.debugLine="Private Label16 As Label"; +c_cliente._label16 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_label16",c_cliente._label16); + //BA.debugLineNum = 79;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 = 80;BA.debugLine="Dim almacen As String"; +c_cliente._almacen = RemoteObject.createImmutable("");__ref.setField("_almacen",c_cliente._almacen); + //BA.debugLineNum = 81;BA.debugLine="Dim fechaprev As String"; +c_cliente._fechaprev = RemoteObject.createImmutable("");__ref.setField("_fechaprev",c_cliente._fechaprev); + //BA.debugLineNum = 82;BA.debugLine="Dim rutaprev As String"; +c_cliente._rutaprev = RemoteObject.createImmutable("");__ref.setField("_rutaprev",c_cliente._rutaprev); + //BA.debugLineNum = 83;BA.debugLine="Dim rutarep As String"; +c_cliente._rutarep = RemoteObject.createImmutable("");__ref.setField("_rutarep",c_cliente._rutarep); + //BA.debugLineNum = 84;BA.debugLine="Dim montopagare As String"; +c_cliente._montopagare = RemoteObject.createImmutable("");__ref.setField("_montopagare",c_cliente._montopagare); + //BA.debugLineNum = 85;BA.debugLine="Private p_abono As Panel"; +c_cliente._p_abono = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_abono",c_cliente._p_abono); + //BA.debugLineNum = 86;BA.debugLine="Private clv_abonos As CustomListView"; +c_cliente._clv_abonos = RemoteObject.createNew ("b4a.example3.customlistview");__ref.setField("_clv_abonos",c_cliente._clv_abonos); + //BA.debugLineNum = 87;BA.debugLine="Private et_abono As EditText"; +c_cliente._et_abono = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_abono",c_cliente._et_abono); + //BA.debugLineNum = 88;BA.debugLine="Private b_cancelar As Button"; +c_cliente._b_cancelar = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_cancelar",c_cliente._b_cancelar); + //BA.debugLineNum = 89;BA.debugLine="Private b_abono As Button"; +c_cliente._b_abono = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_abono",c_cliente._b_abono); + //BA.debugLineNum = 90;BA.debugLine="Private l_montoabonostotal As Label"; +c_cliente._l_montoabonostotal = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_montoabonostotal",c_cliente._l_montoabonostotal); + //BA.debugLineNum = 91;BA.debugLine="Dim h, j,b, f As Cursor"; +c_cliente._h = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_h",c_cliente._h); +c_cliente._j = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_j",c_cliente._j); +c_cliente._b = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_b",c_cliente._b); +c_cliente._f = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_f",c_cliente._f); + //BA.debugLineNum = 92;BA.debugLine="Private l_folio As Label"; +c_cliente._l_folio = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_folio",c_cliente._l_folio); + //BA.debugLineNum = 93;BA.debugLine="Private l_saldo As Label"; +c_cliente._l_saldo = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_saldo",c_cliente._l_saldo); + //BA.debugLineNum = 94;BA.debugLine="Private b_cxc As Button"; +c_cliente._b_cxc = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_cxc",c_cliente._b_cxc); + //BA.debugLineNum = 95;BA.debugLine="Private cb_tipopago As B4XComboBox"; +c_cliente._cb_tipopago = RemoteObject.createNew ("reparto_izca.keymon.lat.b4xcombobox");__ref.setField("_cb_tipopago",c_cliente._cb_tipopago); + //BA.debugLineNum = 96;BA.debugLine="Dim itemselect As String"; +c_cliente._itemselect = RemoteObject.createImmutable("");__ref.setField("_itemselect",c_cliente._itemselect); + //BA.debugLineNum = 97;BA.debugLine="Dim tipo_abonox As String"; +c_cliente._tipo_abonox = RemoteObject.createImmutable("");__ref.setField("_tipo_abonox",c_cliente._tipo_abonox); + //BA.debugLineNum = 98;BA.debugLine="Private b_cancel_pagare As Button"; +c_cliente._b_cancel_pagare = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_cancel_pagare",c_cliente._b_cancel_pagare); + //BA.debugLineNum = 99;BA.debugLine="Dim NOTA As String"; +c_cliente._nota = RemoteObject.createImmutable("");__ref.setField("_nota",c_cliente._nota); + //BA.debugLineNum = 100;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _createlistitem(RemoteObject __ref,RemoteObject _mostrar,RemoteObject _mostrar1) throws Exception{ +try { + Debug.PushSubsStack("CreateListItem (c_cliente) ","c_cliente",6,__ref.getField(false, "ba"),__ref,2020); +if (RapidSub.canDelegate("createlistitem")) { return __ref.runUserSub(false, "c_cliente","createlistitem", __ref, _mostrar, _mostrar1);} +RemoteObject _p = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +Debug.locals.put("mostrar", _mostrar); +Debug.locals.put("mostrar1", _mostrar1); + BA.debugLineNum = 2020;BA.debugLine="Sub CreateListItem(mostrar As String, mostrar1 As"; +Debug.ShouldStop(8); + BA.debugLineNum = 2021;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")"; +Debug.ShouldStop(16); +_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 = 2022;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, 1, 10)"; +Debug.ShouldStop(32); +_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, 1)),(Object)(BA.numberCast(int.class, 10))); + BA.debugLineNum = 2023;BA.debugLine="p.LoadLayout(\"folioabono\")"; +Debug.ShouldStop(64); +_p.runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("folioabono")),__ref.getField(false, "ba")); + BA.debugLineNum = 2024;BA.debugLine="p.Height= 32dip"; +Debug.ShouldStop(128); +_p.runMethod(true,"setHeight",c_cliente.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 32)))); + BA.debugLineNum = 2025;BA.debugLine="p.Width = 80dip"; +Debug.ShouldStop(256); +_p.runMethod(true,"setWidth",c_cliente.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 80)))); + BA.debugLineNum = 2027;BA.debugLine="l_folio.Text = mostrar"; +Debug.ShouldStop(1024); +__ref.getField(false,"_l_folio" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_mostrar)); + BA.debugLineNum = 2028;BA.debugLine="l_saldo.Text = mostrar1"; +Debug.ShouldStop(2048); +__ref.getField(false,"_l_saldo" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_mostrar1)); + BA.debugLineNum = 2031;BA.debugLine="Return p"; +Debug.ShouldStop(16384); +if (true) return RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.PanelWrapper"), _p.getObject()); + BA.debugLineNum = 2032;BA.debugLine="End Sub"; +Debug.ShouldStop(32768); +return RemoteObject.createImmutable(null); +} +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",6,__ref.getField(false, "ba"),__ref,567); +if (RapidSub.canDelegate("datos_click")) { return __ref.runUserSub(false, "c_cliente","datos_click", __ref);} + BA.debugLineNum = 567;BA.debugLine="Sub DATOS_Click"; +Debug.ShouldStop(4194304); + 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 void _gest_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("gest_Click (c_cliente) ","c_cliente",6,__ref.getField(false, "ba"),__ref,431); +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(reparto_izca.keymon.lat.c_cliente parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +reparto_izca.keymon.lat.c_cliente parent; +RemoteObject _x2 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _result = RemoteObject.createImmutable(0); +RemoteObject _k = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _y = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _u = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("gest_Click (c_cliente) ","c_cliente",6,__ref.getField(false, "ba"),__ref,431); +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 = 443;BA.debugLine="Dim x2 As Cursor =Starter.skmt.ExecQuery(\"SELECT"; +Debug.ShouldStop(67108864); +_x2 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_x2 = 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 gestion FROM kmt_info where CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))));Debug.locals.put("x2", _x2);Debug.locals.put("x2", _x2); + BA.debugLineNum = 444;BA.debugLine="x2.Position = 0"; +Debug.ShouldStop(134217728); +_x2.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 445;BA.debugLine="If x2.GetString(\"gestion\") = 2 Then"; +Debug.ShouldStop(268435456); +if (true) break; + +case 1: +//if +this.state = 34; +if (RemoteObject.solveBoolean("=",_x2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("gestion"))),BA.NumberToString(2))) { +this.state = 3; +}else { +this.state = 9; +}if (true) break; + +case 3: +//C +this.state = 4; + BA.debugLineNum = 446;BA.debugLine="Msgbox2Async(\"Ya se gestiono el cliente, no se p"; +Debug.ShouldStop(536870912); +parent.__c.runVoidMethod ("Msgbox2Async",(Object)(BA.ObjectToCharSequence("Ya se gestiono el cliente, no se pueden hacer modificaciones")),(Object)(BA.ObjectToCharSequence("Atención")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("Ok")),(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 = 447;BA.debugLine="Wait For Msgbox_Result (Result As Int)"; +Debug.ShouldStop(1073741824); +parent.__c.runVoidMethod ("WaitFor","msgbox_result", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "gest_click"), null); +this.state = 35; +return; +case 35: +//C +this.state = 4; +_result = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("Result", _result); +; + BA.debugLineNum = 448;BA.debugLine="If Result= DialogResponse.NEGATIVE Then"; +Debug.ShouldStop(-2147483648); +if (true) break; + +case 4: +//if +this.state = 7; +if (RemoteObject.solveBoolean("=",_result,BA.numberCast(double.class, parent.__c.getField(false,"DialogResponse").getField(true,"NEGATIVE")))) { +this.state = 6; +}if (true) break; + +case 6: +//C +this.state = 7; + BA.debugLineNum = 449;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +Debug.ShouldStop(1); +parent._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Principal"))); + if (true) break; + +case 7: +//C +this.state = 34; +; + if (true) break; + +case 9: +//C +this.state = 10; + BA.debugLineNum = 452;BA.debugLine="Dim k As Cursor = Starter.skmt.ExecQuery(\"SELECT"; +Debug.ShouldStop(8); +_k = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_k = 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 CUENTA from CUENTAA"))));Debug.locals.put("k", _k);Debug.locals.put("k", _k); + BA.debugLineNum = 453;BA.debugLine="k.Position = 0"; +Debug.ShouldStop(16); +_k.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 454;BA.debugLine="Log(k.GetString(\"CUENTA\"))"; +Debug.ShouldStop(32); +parent.__c.runVoidMethod ("LogImpl","88060951",_k.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA"))),0); + BA.debugLineNum = 455;BA.debugLine="Dim y As Cursor = Starter.skmt.ExecQuery2(\"SELEC"; +Debug.ShouldStop(64); +_y = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_y = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT IFNULL(SUM(a_abono),0) AS a_abono FROM ABONOS WHERE a_cliente = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {_k.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA")))}))));Debug.locals.put("y", _y);Debug.locals.put("y", _y); + BA.debugLineNum = 456;BA.debugLine="y.position = 0"; +Debug.ShouldStop(128); +_y.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 457;BA.debugLine="Dim u As Cursor = Starter.skmt.ExecQuery2(\"SELEC"; +Debug.ShouldStop(256); +_u = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_u = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT IFNULL(SUM(SALDO_PENDIENTE),0) AS SALDO_PENDIENTE FROM ABONOSP WHERE CLIENTE = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {_k.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA")))}))));Debug.locals.put("u", _u);Debug.locals.put("u", _u); + BA.debugLineNum = 458;BA.debugLine="u.Position = 0"; +Debug.ShouldStop(512); +_u.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 459;BA.debugLine="If u.RowCount > 0 Then"; +Debug.ShouldStop(1024); +if (true) break; + +case 10: +//if +this.state = 33; +if (RemoteObject.solveBoolean(">",_u.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 12; +}else { +this.state = 32; +}if (true) break; + +case 12: +//C +this.state = 13; + BA.debugLineNum = 460;BA.debugLine="If u.GetString(\"SALDO_PENDIENTE\") <> 0 Then"; +Debug.ShouldStop(2048); +if (true) break; + +case 13: +//if +this.state = 30; +if (RemoteObject.solveBoolean("!",_u.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("SALDO_PENDIENTE"))),BA.NumberToString(0))) { +this.state = 15; +}else +{ BA.debugLineNum = 471;BA.debugLine="Else If u.GetString(\"SALDO_PENDIENTE\") = 0 Then"; +Debug.ShouldStop(4194304); +if (RemoteObject.solveBoolean("=",_u.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("SALDO_PENDIENTE"))),BA.NumberToString(0))) { +this.state = 29; +}} +if (true) break; + +case 15: +//C +this.state = 16; + BA.debugLineNum = 461;BA.debugLine="If y.RowCount > 0 Then"; +Debug.ShouldStop(4096); +if (true) break; + +case 16: +//if +this.state = 27; +if (RemoteObject.solveBoolean(">",_y.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 18; +}else { +this.state = 26; +}if (true) break; + +case 18: +//C +this.state = 19; + BA.debugLineNum = 462;BA.debugLine="If u.GetString(\"SALDO_PENDIENTE\") = y.GetStri"; +Debug.ShouldStop(8192); +if (true) break; + +case 19: +//if +this.state = 24; +if (RemoteObject.solveBoolean("=",_u.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("SALDO_PENDIENTE"))),_y.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("a_abono"))))) { +this.state = 21; +}else { +this.state = 23; +}if (true) break; + +case 21: +//C +this.state = 24; + BA.debugLineNum = 463;BA.debugLine="B_IMP_Click"; +Debug.ShouldStop(16384); +__ref.runClassMethod (reparto_izca.keymon.lat.c_cliente.class, "_b_imp_click" /*void*/ ); + BA.debugLineNum = 464;BA.debugLine="banderaimp = 1"; +Debug.ShouldStop(32768); +__ref.setField ("_banderaimp" /*RemoteObject*/ ,BA.numberCast(int.class, 1)); + if (true) break; + +case 23: +//C +this.state = 24; + BA.debugLineNum = 466;BA.debugLine="MsgboxAsync(\"Para poder hacer una entrega se"; +Debug.ShouldStop(131072); +parent.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Para poder hacer una entrega se necesita liquidar el(los) pagare(s)")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + if (true) break; + +case 24: +//C +this.state = 27; +; + if (true) break; + +case 26: +//C +this.state = 27; + BA.debugLineNum = 469;BA.debugLine="MsgboxAsync(\"Para poder hacer una entrega se"; +Debug.ShouldStop(1048576); +parent.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Para poder hacer una entrega se necesita liquidar el(los) pagare(s)")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + if (true) break; + +case 27: +//C +this.state = 30; +; + if (true) break; + +case 29: +//C +this.state = 30; + BA.debugLineNum = 472;BA.debugLine="B_IMP_Click"; +Debug.ShouldStop(8388608); +__ref.runClassMethod (reparto_izca.keymon.lat.c_cliente.class, "_b_imp_click" /*void*/ ); + BA.debugLineNum = 473;BA.debugLine="banderaimp = 1"; +Debug.ShouldStop(16777216); +__ref.setField ("_banderaimp" /*RemoteObject*/ ,BA.numberCast(int.class, 1)); + if (true) break; + +case 30: +//C +this.state = 33; +; + if (true) break; + +case 32: +//C +this.state = 33; + BA.debugLineNum = 476;BA.debugLine="B_IMP_Click"; +Debug.ShouldStop(134217728); +__ref.runClassMethod (reparto_izca.keymon.lat.c_cliente.class, "_b_imp_click" /*void*/ ); + BA.debugLineNum = 477;BA.debugLine="banderaimp = 1"; +Debug.ShouldStop(268435456); +__ref.setField ("_banderaimp" /*RemoteObject*/ ,BA.numberCast(int.class, 1)); + if (true) break; + +case 33: +//C +this.state = 34; +; + if (true) break; + +case 34: +//C +this.state = -1; +; + BA.debugLineNum = 481;BA.debugLine="End Sub"; +Debug.ShouldStop(1); +if (true) break; + + } + } + } +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",6,__ref.getField(false, "ba"),__ref,416); +if (RapidSub.canDelegate("gps_locationchanged")) { return __ref.runUserSub(false, "c_cliente","gps_locationchanged", __ref, _location1);} +Debug.locals.put("Location1", _location1); + BA.debugLineNum = 416;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; +Debug.ShouldStop(-2147483648); + BA.debugLineNum = 419;BA.debugLine="Dim sDate,sTime As String"; +Debug.ShouldStop(4); +c_cliente._sdate = RemoteObject.createImmutable("");__ref.setField("_sdate",c_cliente._sdate); +c_cliente._stime = RemoteObject.createImmutable("");__ref.setField("_stime",c_cliente._stime); + BA.debugLineNum = 420;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(8); +c_cliente.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 421;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(16); +__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 = 422;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(32); +__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 = 423;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM HIST_GPS\")"; +Debug.ShouldStop(64); +c_cliente._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM HIST_GPS"))); + BA.debugLineNum = 424;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO HIST_GPS"; +Debug.ShouldStop(128); +c_cliente._starter._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 = 425;BA.debugLine="End Sub"; +Debug.ShouldStop(256); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _guardado(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Guardado (c_cliente) ","c_cliente",6,__ref.getField(false, "ba"),__ref,483); +if (RapidSub.canDelegate("guardado")) { return __ref.runUserSub(false, "c_cliente","guardado", __ref);} +RemoteObject _ruta = RemoteObject.createImmutable(""); +RemoteObject _rutapre = RemoteObject.createImmutable(""); +RemoteObject _rutaactualizar = RemoteObject.createImmutable(""); +RemoteObject _rut = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); + BA.debugLineNum = 483;BA.debugLine="Sub Guardado"; +Debug.ShouldStop(4); + BA.debugLineNum = 484;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(8); +c_cliente.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 485;BA.debugLine="DateTime.TimeFormat=\"HHmmss\""; +Debug.ShouldStop(16); +c_cliente.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HHmmss")); + BA.debugLineNum = 486;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 = 487;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 = 488;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CUENTA from cuen"; +Debug.ShouldStop(128); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CUENTA from cuentaa")))); + BA.debugLineNum = 489;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(256); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 490;BA.debugLine="cuenta = c.GetString(\"CUENTA\")"; +Debug.ShouldStop(512); +__ref.setField ("_cuenta" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA")))); + BA.debugLineNum = 491;BA.debugLine="c=Starter.skmt.ExecQuery(\"select usuario from usu"; +Debug.ShouldStop(1024); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select usuario from usuarioa")))); + BA.debugLineNum = 492;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(2048); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 493;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 = 494;BA.debugLine="c.Close"; +Debug.ShouldStop(8192); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 495;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT RUTAA FROM RUT"; +Debug.ShouldStop(16384); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT RUTAA FROM RUTAA")))); + BA.debugLineNum = 496;BA.debugLine="d.Position = 0"; +Debug.ShouldStop(32768); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 497;BA.debugLine="Dim ruta As String = d.GetString(\"RUTAA\")"; +Debug.ShouldStop(65536); +_ruta = __ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("RUTAA")));Debug.locals.put("ruta", _ruta);Debug.locals.put("ruta", _ruta); + BA.debugLineNum = 498;BA.debugLine="d.Close"; +Debug.ShouldStop(131072); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 499;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT CAT_CL_RUTA FR"; +Debug.ShouldStop(262144); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT CAT_CL_RUTA FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)")))); + BA.debugLineNum = 500;BA.debugLine="d.Position = 0"; +Debug.ShouldStop(524288); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 501;BA.debugLine="Dim rutapre As String = d.GetString(\"CAT_CL_RUTA\""; +Debug.ShouldStop(1048576); +_rutapre = __ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA")));Debug.locals.put("rutapre", _rutapre);Debug.locals.put("rutapre", _rutapre); + BA.debugLineNum = 502;BA.debugLine="d.Close"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 506;BA.debugLine="Dim fechaprev As String = Subs.traefECHAPREV"; +Debug.ShouldStop(33554432); +c_cliente._fechaprev = c_cliente._subs.runMethod(true,"_traefechaprev" /*RemoteObject*/ ,__ref.getField(false, "ba"));__ref.setField("_fechaprev",c_cliente._fechaprev); + BA.debugLineNum = 509;BA.debugLine="Dim rutaactualizar As String"; +Debug.ShouldStop(268435456); +_rutaactualizar = RemoteObject.createImmutable("");Debug.locals.put("rutaactualizar", _rutaactualizar); + BA.debugLineNum = 510;BA.debugLine="Dim rut As Cursor = Starter.skmt.ExecQuery(\"SELEC"; +Debug.ShouldStop(536870912); +_rut = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_rut = 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 CAT_CL_RUTA FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))));Debug.locals.put("rut", _rut);Debug.locals.put("rut", _rut); + BA.debugLineNum = 511;BA.debugLine="If rut.RowCount > 0 Then"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean(">",_rut.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 512;BA.debugLine="rut.Position = 0"; +Debug.ShouldStop(-2147483648); +_rut.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 513;BA.debugLine="rutaactualizar = rut.GetString(\"CAT_CL_RUTA\")"; +Debug.ShouldStop(1); +_rutaactualizar = _rut.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA")));Debug.locals.put("rutaactualizar", _rutaactualizar); + }; + BA.debugLineNum = 516;BA.debugLine="Starter.skmt.ExecNonQuery($\"DELETE FROM NOVENTA W"; +Debug.ShouldStop(8); +c_cliente._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("DELETE FROM NOVENTA WHERE NV_CLIENTE IN (select cuenta from cuentaa) AND NV_RUTA ='"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_rutaactualizar))),RemoteObject.createImmutable("' "))))); + BA.debugLineNum = 517;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO NOVENTA ("; +Debug.ShouldStop(16); +c_cliente._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO NOVENTA (NV_CLIENTE,NV_FECHA,NV_USER,NV_MOTIVO,NV_COMM,NV_LAT,NV_LON,NV_RUTA) VALUES(?,?,?,?,?,?,?,?) ")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {8},new Object[] {(__ref.getField(true,"_cuenta" /*RemoteObject*/ )),(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__ref.getField(true,"_stime" /*RemoteObject*/ ))),(__ref.getField(true,"_usuario" /*RemoteObject*/ )),RemoteObject.createImmutable(("ENTREGA")),RemoteObject.createImmutable(("ENTREGA COMPLETA")),(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*/ )),(_rutaactualizar)}))))); + BA.debugLineNum = 518;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO REPARTO_G"; +Debug.ShouldStop(32); +c_cliente._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO REPARTO_GEO (CLIENTE, USUARIO, FECHA_PUNTEO, LATITUD, LONGITUD, ALMACEN, RUTA_REPARTO, RUTA_PREV, FECHA_PREVENTA, TIPO,ENVIO) VALUES(?,?,?,?,?,?,?,?,?,?,0)")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {10},new Object[] {__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText"),__ref.getField(true,"_usuario" /*RemoteObject*/ ),RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__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*/ ),c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_almacen" /*RemoteObject*/ ),_ruta,_rutapre,__ref.getField(true,"_fechaprev" /*RemoteObject*/ ),RemoteObject.createImmutable("ENTREGADO")}))))); + BA.debugLineNum = 519;BA.debugLine="Starter.skmt.ExecNonQuery($\"UPDATE kmt_info set g"; +Debug.ShouldStop(64); +c_cliente._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("UPDATE kmt_info set gestion = 2, HORAENT = '"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__ref.getField(true,"_stime" /*RemoteObject*/ ))))),RemoteObject.createImmutable("' where CAT_CL_CODIGO In (select cuenta from cuentaa) and CAT_CL_RUTA = '"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_rutaactualizar))),RemoteObject.createImmutable("' "))))); + BA.debugLineNum = 520;BA.debugLine="Starter.skmt.ExecNonQuery(\"update HIST_VENTAS SET"; +Debug.ShouldStop(128); +c_cliente._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("update HIST_VENTAS SET HVD_ESTATUS = 1 WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))); + BA.debugLineNum = 521;BA.debugLine="mandaPendientesreparto"; +Debug.ShouldStop(256); +__ref.runClassMethod (reparto_izca.keymon.lat.c_cliente.class, "_mandapendientesreparto" /*RemoteObject*/ ); + BA.debugLineNum = 528;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +Debug.ShouldStop(32768); +c_cliente._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Principal"))); + BA.debugLineNum = 530;BA.debugLine="End Sub"; +Debug.ShouldStop(131072); +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",6,__ref.getField(false, "ba"),__ref,571); +if (RapidSub.canDelegate("guardar_click")) { return __ref.runUserSub(false, "c_cliente","guardar_click", __ref);} + BA.debugLineNum = 571;BA.debugLine="Sub Guardar_Click"; +Debug.ShouldStop(67108864); + BA.debugLineNum = 576;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +Debug.ShouldStop(-2147483648); +c_cliente._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Principal"))); + BA.debugLineNum = 578;BA.debugLine="End Sub"; +Debug.ShouldStop(2); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static void _hist_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("HIST_Click (c_cliente) ","c_cliente",6,__ref.getField(false, "ba"),__ref,584); +if (RapidSub.canDelegate("hist_click")) { __ref.runUserSub(false, "c_cliente","hist_click", __ref); return;} +ResumableSub_HIST_Click rsub = new ResumableSub_HIST_Click(null,__ref); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_HIST_Click extends BA.ResumableSub { +public ResumableSub_HIST_Click(reparto_izca.keymon.lat.c_cliente parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +reparto_izca.keymon.lat.c_cliente parent; +RemoteObject _x2 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _result = RemoteObject.createImmutable(0); +RemoteObject _pagacheca2 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _k = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _y = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _u = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("HIST_Click (c_cliente) ","c_cliente",6,__ref.getField(false, "ba"),__ref,584); +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 = 601;BA.debugLine="Dim x2 As Cursor =Starter.skmt.ExecQuery(\"SELECT"; +Debug.ShouldStop(16777216); +_x2 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_x2 = 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 gestion FROM kmt_info where CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))));Debug.locals.put("x2", _x2);Debug.locals.put("x2", _x2); + BA.debugLineNum = 602;BA.debugLine="x2.Position = 0"; +Debug.ShouldStop(33554432); +_x2.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 603;BA.debugLine="If x2.GetString(\"gestion\") = 2 Then"; +Debug.ShouldStop(67108864); +if (true) break; + +case 1: +//if +this.state = 44; +if (RemoteObject.solveBoolean("=",_x2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("gestion"))),BA.NumberToString(2))) { +this.state = 3; +}else { +this.state = 9; +}if (true) break; + +case 3: +//C +this.state = 4; + BA.debugLineNum = 604;BA.debugLine="Msgbox2Async(\"Ya se gestiono el cliente, no se p"; +Debug.ShouldStop(134217728); +parent.__c.runVoidMethod ("Msgbox2Async",(Object)(BA.ObjectToCharSequence("Ya se gestiono el cliente, no se pueden hacer modificaciones")),(Object)(BA.ObjectToCharSequence("Atención")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("Ok")),(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 = 605;BA.debugLine="Wait For Msgbox_Result (Result As Int)"; +Debug.ShouldStop(268435456); +parent.__c.runVoidMethod ("WaitFor","msgbox_result", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "hist_click"), null); +this.state = 45; +return; +case 45: +//C +this.state = 4; +_result = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("Result", _result); +; + BA.debugLineNum = 606;BA.debugLine="If Result= DialogResponse.NEGATIVE Then"; +Debug.ShouldStop(536870912); +if (true) break; + +case 4: +//if +this.state = 7; +if (RemoteObject.solveBoolean("=",_result,BA.numberCast(double.class, parent.__c.getField(false,"DialogResponse").getField(true,"NEGATIVE")))) { +this.state = 6; +}if (true) break; + +case 6: +//C +this.state = 7; + BA.debugLineNum = 607;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +Debug.ShouldStop(1073741824); +parent._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Principal"))); + if (true) break; + +case 7: +//C +this.state = 44; +; + if (true) break; + +case 9: +//C +this.state = 10; + BA.debugLineNum = 611;BA.debugLine="Dim pagacheca2 As Cursor = Starter.skmt.ExecQuer"; +Debug.ShouldStop(4); +_pagacheca2 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_pagacheca2 = 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 * FROM PAGARES WHERE PA_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))));Debug.locals.put("pagacheca2", _pagacheca2);Debug.locals.put("pagacheca2", _pagacheca2); + BA.debugLineNum = 613;BA.debugLine="If pagacheca2.RowCount > 0 Then"; +Debug.ShouldStop(16); +if (true) break; + +case 10: +//if +this.state = 43; +if (RemoteObject.solveBoolean(">",_pagacheca2.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 12; +}else { +this.state = 18; +}if (true) break; + +case 12: +//C +this.state = 13; + BA.debugLineNum = 616;BA.debugLine="Msgbox2Async(\"El pagare ya fue generdo, no se p"; +Debug.ShouldStop(128); +parent.__c.runVoidMethod ("Msgbox2Async",(Object)(BA.ObjectToCharSequence("El pagare ya fue generdo, no se puede realizar modificación.")),(Object)(BA.ObjectToCharSequence("Atención")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("Ok")),(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 = 617;BA.debugLine="Wait For Msgbox_Result (Result As Int)"; +Debug.ShouldStop(256); +parent.__c.runVoidMethod ("WaitFor","msgbox_result", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "hist_click"), null); +this.state = 46; +return; +case 46: +//C +this.state = 13; +_result = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("Result", _result); +; + BA.debugLineNum = 618;BA.debugLine="If Result= DialogResponse.POSITIVE Then"; +Debug.ShouldStop(512); +if (true) break; + +case 13: +//if +this.state = 16; +if (RemoteObject.solveBoolean("=",_result,BA.numberCast(double.class, parent.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { +this.state = 15; +}if (true) break; + +case 15: +//C +this.state = 16; + BA.debugLineNum = 619;BA.debugLine="Log(\"Aqui\")"; +Debug.ShouldStop(1024); +parent.__c.runVoidMethod ("LogImpl","88585251",RemoteObject.createImmutable("Aqui"),0); + if (true) break; + +case 16: +//C +this.state = 43; +; + if (true) break; + +case 18: +//C +this.state = 19; + BA.debugLineNum = 624;BA.debugLine="Dim k As Cursor = Starter.skmt.ExecQuery(\"SELEC"; +Debug.ShouldStop(32768); +_k = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_k = 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 CUENTA from CUENTAA"))));Debug.locals.put("k", _k);Debug.locals.put("k", _k); + BA.debugLineNum = 625;BA.debugLine="k.Position = 0"; +Debug.ShouldStop(65536); +_k.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 626;BA.debugLine="Log(k.GetString(\"CUENTA\"))"; +Debug.ShouldStop(131072); +parent.__c.runVoidMethod ("LogImpl","88585258",_k.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA"))),0); + BA.debugLineNum = 627;BA.debugLine="Dim y As Cursor = Starter.skmt.ExecQuery2(\"SELE"; +Debug.ShouldStop(262144); +_y = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_y = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT IFNULL(SUM(a_abono),0) AS a_abono FROM ABONOS WHERE a_cliente = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {_k.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA")))}))));Debug.locals.put("y", _y);Debug.locals.put("y", _y); + BA.debugLineNum = 628;BA.debugLine="y.position = 0"; +Debug.ShouldStop(524288); +_y.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 629;BA.debugLine="Dim u As Cursor = Starter.skmt.ExecQuery2(\"SELE"; +Debug.ShouldStop(1048576); +_u = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_u = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT IFNULL(SUM(SALDO_PENDIENTE),0) AS SALDO_PENDIENTE FROM ABONOSP WHERE CLIENTE = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {_k.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA")))}))));Debug.locals.put("u", _u);Debug.locals.put("u", _u); + BA.debugLineNum = 630;BA.debugLine="u.Position = 0"; +Debug.ShouldStop(2097152); +_u.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 631;BA.debugLine="If u.RowCount > 0 Then"; +Debug.ShouldStop(4194304); +if (true) break; + +case 19: +//if +this.state = 42; +if (RemoteObject.solveBoolean(">",_u.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 21; +}else { +this.state = 41; +}if (true) break; + +case 21: +//C +this.state = 22; + BA.debugLineNum = 632;BA.debugLine="If u.GetString(\"SALDO_PENDIENTE\") <> 0 Then"; +Debug.ShouldStop(8388608); +if (true) break; + +case 22: +//if +this.state = 39; +if (RemoteObject.solveBoolean("!",_u.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("SALDO_PENDIENTE"))),BA.NumberToString(0))) { +this.state = 24; +}else +{ BA.debugLineNum = 643;BA.debugLine="Else If u.GetString(\"SALDO_PENDIENTE\") = 0 The"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean("=",_u.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("SALDO_PENDIENTE"))),BA.NumberToString(0))) { +this.state = 38; +}} +if (true) break; + +case 24: +//C +this.state = 25; + BA.debugLineNum = 633;BA.debugLine="If y.RowCount > 0 Then"; +Debug.ShouldStop(16777216); +if (true) break; + +case 25: +//if +this.state = 36; +if (RemoteObject.solveBoolean(">",_y.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 27; +}else { +this.state = 35; +}if (true) break; + +case 27: +//C +this.state = 28; + BA.debugLineNum = 634;BA.debugLine="If u.GetString(\"SALDO_PENDIENTE\") = y.GetStr"; +Debug.ShouldStop(33554432); +if (true) break; + +case 28: +//if +this.state = 33; +if (RemoteObject.solveBoolean("=",_u.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("SALDO_PENDIENTE"))),_y.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("a_abono"))))) { +this.state = 30; +}else { +this.state = 32; +}if (true) break; + +case 30: +//C +this.state = 33; + BA.debugLineNum = 635;BA.debugLine="B4XPages.MainPage.detalleVenta.prodsMap.Ini"; +Debug.ShouldStop(67108864); +parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_detalleventa" /*RemoteObject*/ ).getField(false,"_prodsmap" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 636;BA.debugLine="B4XPages.ShowPage(\"DetalleVenta\")"; +Debug.ShouldStop(134217728); +parent._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("DetalleVenta"))); + if (true) break; + +case 32: +//C +this.state = 33; + BA.debugLineNum = 638;BA.debugLine="MsgboxAsync(\"Para poder hacer una entrega s"; +Debug.ShouldStop(536870912); +parent.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Para poder hacer una entrega se necesita liquidar el(los) pagare(s)")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + if (true) break; + +case 33: +//C +this.state = 36; +; + if (true) break; + +case 35: +//C +this.state = 36; + BA.debugLineNum = 641;BA.debugLine="MsgboxAsync(\"Para poder hacer una entrega se"; +Debug.ShouldStop(1); +parent.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Para poder hacer una entrega se necesita liquidar el(los) pagare(s)")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + if (true) break; + +case 36: +//C +this.state = 39; +; + if (true) break; + +case 38: +//C +this.state = 39; + BA.debugLineNum = 644;BA.debugLine="B4XPages.MainPage.detalleVenta.prodsMap.Initi"; +Debug.ShouldStop(8); +parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_detalleventa" /*RemoteObject*/ ).getField(false,"_prodsmap" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 645;BA.debugLine="B4XPages.ShowPage(\"DetalleVenta\")"; +Debug.ShouldStop(16); +parent._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("DetalleVenta"))); + if (true) break; + +case 39: +//C +this.state = 42; +; + if (true) break; + +case 41: +//C +this.state = 42; + BA.debugLineNum = 648;BA.debugLine="B4XPages.MainPage.detalleVenta.prodsMap.Initia"; +Debug.ShouldStop(128); +parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_detalleventa" /*RemoteObject*/ ).getField(false,"_prodsmap" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 649;BA.debugLine="B4XPages.ShowPage(\"DetalleVenta\")"; +Debug.ShouldStop(256); +parent._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("DetalleVenta"))); + 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 = 653;BA.debugLine="End Sub"; +Debug.ShouldStop(4096); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static void _imprime_abonopagare(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("imprime_abonopagare (c_cliente) ","c_cliente",6,__ref.getField(false, "ba"),__ref,1571); +if (RapidSub.canDelegate("imprime_abonopagare")) { __ref.runUserSub(false, "c_cliente","imprime_abonopagare", __ref); return;} +ResumableSub_imprime_abonopagare rsub = new ResumableSub_imprime_abonopagare(null,__ref); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_imprime_abonopagare extends BA.ResumableSub { +public ResumableSub_imprime_abonopagare(reparto_izca.keymon.lat.c_cliente parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +reparto_izca.keymon.lat.c_cliente parent; +RemoteObject _cont = RemoteObject.createImmutable(0); +RemoteObject _telefono = RemoteObject.createImmutable(""); +RemoteObject _c7 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _notaabono = RemoteObject.createImmutable(""); +RemoteObject _saldopendiente = RemoteObject.createImmutable(0); +RemoteObject _saldopendiente1 = RemoteObject.createImmutable(0); +RemoteObject _c4 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _c5 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _numpago = RemoteObject.createImmutable(0); +RemoteObject _tipopagotick = RemoteObject.createImmutable(""); +RemoteObject _resultado = RemoteObject.createImmutable(0); +RemoteObject _rutaactualizar = RemoteObject.createImmutable(""); +RemoteObject _rut = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _c3 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _textedit = RemoteObject.createImmutable(0); +RemoteObject _sumaresta = RemoteObject.createImmutable(0); +RemoteObject _ruta = RemoteObject.createImmutable(""); +RemoteObject _rutapre = RemoteObject.createImmutable(""); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("imprime_abonopagare (c_cliente) ","c_cliente",6,__ref.getField(false, "ba"),__ref,1571); +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 = 1572;BA.debugLine="c=Starter.skmt.ExecQuery(\"select USUARIO from usu"; +Debug.ShouldStop(8); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select USUARIO from usuarioa")))); + BA.debugLineNum = 1573;BA.debugLine="c.Position=0"; +Debug.ShouldStop(16); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1574;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 = 1575;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(64); +parent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 1576;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; +Debug.ShouldStop(128); +parent.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HH:mm:ss")); + BA.debugLineNum = 1577;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(256); +__ref.setField ("_sdate" /*RemoteObject*/ ,parent.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(parent.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 1578;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(512); +__ref.setField ("_stime" /*RemoteObject*/ ,parent.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(parent.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 1579;BA.debugLine="c.Close"; +Debug.ShouldStop(1024); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1610;BA.debugLine="ProgressDialogShow(\"Imprimiendo, un momento ...\")"; +Debug.ShouldStop(512); +parent.__c.runVoidMethod ("ProgressDialogShow",__ref.getField(false, "ba"),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Imprimiendo, un momento ...")))); + BA.debugLineNum = 1611;BA.debugLine="Printer1.DisConnect"; +Debug.ShouldStop(1024); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_disconnect" /*RemoteObject*/ ); + BA.debugLineNum = 1612;BA.debugLine="If Not(Printer1.IsConnected) Then"; +Debug.ShouldStop(2048); +if (true) break; + +case 1: +//if +this.state = 38; +if (parent.__c.runMethod(true,"Not",(Object)(__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_isconnected" /*RemoteObject*/ ))).get().booleanValue()) { +this.state = 3; +}else { +this.state = 21; +}if (true) break; + +case 3: +//C +this.state = 4; + BA.debugLineNum = 1614;BA.debugLine="Printer1.Connect"; +Debug.ShouldStop(8192); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_connect" /*RemoteObject*/ ); + BA.debugLineNum = 1615;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 = 1616;BA.debugLine="Do While Not(impresoraConectada)"; +Debug.ShouldStop(32768); +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 = 1617;BA.debugLine="Sleep(1000)"; +Debug.ShouldStop(65536); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "imprime_abonopagare"),BA.numberCast(int.class, 1000)); +this.state = 145; +return; +case 145: +//C +this.state = 7; +; + BA.debugLineNum = 1618;BA.debugLine="cont = cont + 1"; +Debug.ShouldStop(131072); +_cont = RemoteObject.solve(new RemoteObject[] {_cont,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("cont", _cont); + BA.debugLineNum = 1619;BA.debugLine="If cont = 7 Then Printer1.Connect 'Tratamos de"; +Debug.ShouldStop(262144); +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 (reparto_izca.keymon.lat.escposprinter.class, "_connect" /*RemoteObject*/ ); +if (true) break; + +case 12: +//C +this.state = 13; +; + BA.debugLineNum = 1620;BA.debugLine="If cont > 15 Then impresoraConectada = True"; +Debug.ShouldStop(524288); +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 = 1622;BA.debugLine="Sleep(500)"; +Debug.ShouldStop(2097152); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "imprime_abonopagare"),BA.numberCast(int.class, 500)); +this.state = 146; +return; +case 146: +//C +this.state = 38; +; + BA.debugLineNum = 1623;BA.debugLine="impresoraConectada = False"; +Debug.ShouldStop(4194304); +__ref.setField ("_impresoraconectada" /*RemoteObject*/ ,parent.__c.getField(true,"False")); + if (true) break; + +case 21: +//C +this.state = 22; + BA.debugLineNum = 1626;BA.debugLine="Printer1.Connect"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_connect" /*RemoteObject*/ ); + BA.debugLineNum = 1627;BA.debugLine="Private cont As Int = 0"; +Debug.ShouldStop(67108864); +_cont = BA.numberCast(int.class, 0);Debug.locals.put("cont", _cont);Debug.locals.put("cont", _cont); + BA.debugLineNum = 1628;BA.debugLine="Do While Not(impresoraConectada) Or Not(Printer1"; +Debug.ShouldStop(134217728); +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 (reparto_izca.keymon.lat.escposprinter.class, "_isconnected" /*RemoteObject*/ ))))) { +this.state = 24; +if (true) break; +} +if (true) break; + +case 24: +//C +this.state = 25; + BA.debugLineNum = 1629;BA.debugLine="Sleep(1000)"; +Debug.ShouldStop(268435456); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "imprime_abonopagare"),BA.numberCast(int.class, 1000)); +this.state = 147; +return; +case 147: +//C +this.state = 25; +; + BA.debugLineNum = 1630;BA.debugLine="cont = cont + 1"; +Debug.ShouldStop(536870912); +_cont = RemoteObject.solve(new RemoteObject[] {_cont,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("cont", _cont); + BA.debugLineNum = 1631;BA.debugLine="If cont = 2 Then Printer1.Connect"; +Debug.ShouldStop(1073741824); +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 (reparto_izca.keymon.lat.escposprinter.class, "_connect" /*RemoteObject*/ ); +if (true) break; + +case 30: +//C +this.state = 31; +; + BA.debugLineNum = 1632;BA.debugLine="If cont > 4 Then impresoraConectada = True"; +Debug.ShouldStop(-2147483648); +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 = 1634;BA.debugLine="Sleep(500)"; +Debug.ShouldStop(2); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "imprime_abonopagare"),BA.numberCast(int.class, 500)); +this.state = 148; +return; +case 148: +//C +this.state = 38; +; + BA.debugLineNum = 1635;BA.debugLine="impresoraConectada = False"; +Debug.ShouldStop(4); +__ref.setField ("_impresoraconectada" /*RemoteObject*/ ,parent.__c.getField(true,"False")); + if (true) break; + +case 38: +//C +this.state = 39; +; + BA.debugLineNum = 1637;BA.debugLine="TAMANO = 0"; +Debug.ShouldStop(16); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 1638;BA.debugLine="ESPACIO = 22"; +Debug.ShouldStop(32); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, 22)); + BA.debugLineNum = 1639;BA.debugLine="BLANCO = \" \""; +Debug.ShouldStop(64); +__ref.setField ("_blanco" /*RemoteObject*/ ,BA.ObjectToString(" ")); + BA.debugLineNum = 1649;BA.debugLine="Dim telefono As String = \"\""; +Debug.ShouldStop(65536); +_telefono = BA.ObjectToString("");Debug.locals.put("telefono", _telefono);Debug.locals.put("telefono", _telefono); + BA.debugLineNum = 1650;BA.debugLine="Dim c7 As Cursor = Starter.skmt.ExecQuery(\"select"; +Debug.ShouldStop(131072); +_c7 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c7 = 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 IFNULL(CAT_CL_TELEFONO,' ') AS CAT_CL_TELEFONO FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))));Debug.locals.put("c7", _c7);Debug.locals.put("c7", _c7); + BA.debugLineNum = 1651;BA.debugLine="If c7.RowCount > 0 Then"; +Debug.ShouldStop(262144); +if (true) break; + +case 39: +//if +this.state = 42; +if (RemoteObject.solveBoolean(">",_c7.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 41; +}if (true) break; + +case 41: +//C +this.state = 42; + BA.debugLineNum = 1652;BA.debugLine="c7.Position = 0"; +Debug.ShouldStop(524288); +_c7.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1653;BA.debugLine="telefono = c7.GetString(\"CAT_CL_TELEFONO\")"; +Debug.ShouldStop(1048576); +_telefono = _c7.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_TELEFONO")));Debug.locals.put("telefono", _telefono); + if (true) break; + +case 42: +//C +this.state = 43; +; + BA.debugLineNum = 1655;BA.debugLine="c7.Close"; +Debug.ShouldStop(4194304); +_c7.runVoidMethod ("Close"); + BA.debugLineNum = 1659;BA.debugLine="Printer1.WriteString(\"Izca Distribuciones\" & CRL"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Izca Distribuciones"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 1661;BA.debugLine="Printer1.WriteString(sDate & CRLF)"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 1662;BA.debugLine="Printer1.WriteString(sTime & CRLF)"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_stime" /*RemoteObject*/ ),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 1663;BA.debugLine="Printer1.WriteString(\"Reparto:\" & usuario & CRLF"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Reparto:"),__ref.getField(true,"_usuario" /*RemoteObject*/ ),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 1664;BA.debugLine="Printer1.WriteString(\"Tienda: \" & La_nombre.Text"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Tienda: "),__ref.getField(false,"_la_nombre" /*RemoteObject*/ ).runMethod(true,"getText"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 1665;BA.debugLine="Printer1.WriteString(\"ID.Cliente: \" & la_cuenta."; +Debug.ShouldStop(1); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("ID.Cliente: "),__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 1666;BA.debugLine="Printer1.WriteString(\"Calle: \" & la_Calle.Text &"; +Debug.ShouldStop(2); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Calle: "),__ref.getField(false,"_la_calle" /*RemoteObject*/ ).runMethod(true,"getText"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 1667;BA.debugLine="Printer1.WriteString(\"Colonia: \" & la_col.Text &"; +Debug.ShouldStop(4); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Colonia: "),__ref.getField(false,"_la_col" /*RemoteObject*/ ).runMethod(true,"getText"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 1668;BA.debugLine="Printer1.WriteString(\"Telefono: \" & telefono & C"; +Debug.ShouldStop(8); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Telefono: "),_telefono,parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 1669;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +Debug.ShouldStop(16); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 1670;BA.debugLine="Dim notaabono As String"; +Debug.ShouldStop(32); +_notaabono = RemoteObject.createImmutable("");Debug.locals.put("notaabono", _notaabono); + BA.debugLineNum = 1671;BA.debugLine="Dim saldopendiente As Double"; +Debug.ShouldStop(64); +_saldopendiente = RemoteObject.createImmutable(0);Debug.locals.put("saldopendiente", _saldopendiente); + BA.debugLineNum = 1673;BA.debugLine="If tipo_abonox = \"abono\" Then"; +Debug.ShouldStop(256); +if (true) break; + +case 43: +//if +this.state = 68; +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_tipo_abonox" /*RemoteObject*/ ),BA.ObjectToString("abono"))) { +this.state = 45; +}else +{ BA.debugLineNum = 1703;BA.debugLine="Else If tipo_abonox = \"cxc\" Then"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_tipo_abonox" /*RemoteObject*/ ),BA.ObjectToString("cxc"))) { +this.state = 59; +}} +if (true) break; + +case 45: +//C +this.state = 46; + BA.debugLineNum = 1676;BA.debugLine="c = Starter.skmt.ExecQuery($\"select distinct hvd"; +Debug.ShouldStop(2048); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select distinct hvd_num_ticket from hist_ventas where hvd_cliente = '"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText")))),RemoteObject.createImmutable("'")))))); + BA.debugLineNum = 1677;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(4096); +if (true) break; + +case 46: +//if +this.state = 49; +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 48; +}if (true) break; + +case 48: +//C +this.state = 49; + BA.debugLineNum = 1678;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(8192); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1679;BA.debugLine="notaabono = c.GetString(\"HVD_NUM_TICKET\")"; +Debug.ShouldStop(16384); +_notaabono = __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_NUM_TICKET")));Debug.locals.put("notaabono", _notaabono); + if (true) break; + +case 49: +//C +this.state = 50; +; + BA.debugLineNum = 1681;BA.debugLine="c.Close"; +Debug.ShouldStop(65536); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1683;BA.debugLine="c = Starter.skmt.ExecQuery($\"select iFNULL(sum(P"; +Debug.ShouldStop(262144); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select iFNULL(sum(PA_MONTO),0) AS SALDO_PENDIENTE from PAGARES where PA_CLIENTE = '"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText")))),RemoteObject.createImmutable("'")))))); + BA.debugLineNum = 1684;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(524288); +if (true) break; + +case 50: +//if +this.state = 53; +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 52; +}if (true) break; + +case 52: +//C +this.state = 53; + BA.debugLineNum = 1685;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1686;BA.debugLine="saldopendiente = c.GetDouble(\"SALDO_PENDIENTE\")"; +Debug.ShouldStop(2097152); +_saldopendiente = __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetDouble",(Object)(RemoteObject.createImmutable("SALDO_PENDIENTE")));Debug.locals.put("saldopendiente", _saldopendiente); + BA.debugLineNum = 1687;BA.debugLine="Log(c.GetString(\"SALDO_PENDIENTE\"))"; +Debug.ShouldStop(4194304); +parent.__c.runVoidMethod ("LogImpl","89437300",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("SALDO_PENDIENTE"))),0); + if (true) break; + +case 53: +//C +this.state = 54; +; + BA.debugLineNum = 1689;BA.debugLine="c.Close"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1692;BA.debugLine="Dim saldopendiente1 As Double = 0"; +Debug.ShouldStop(134217728); +_saldopendiente1 = BA.numberCast(double.class, 0);Debug.locals.put("saldopendiente1", _saldopendiente1);Debug.locals.put("saldopendiente1", _saldopendiente1); + BA.debugLineNum = 1693;BA.debugLine="Dim c4 As Cursor= Starter.skmt.ExecQuery(\"SELECT"; +Debug.ShouldStop(268435456); +_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._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT Ifnull(SUM(a_abono),0) AS SALDO_PENDIENTE FROM ABONOS WHERE a_cliente IN (SELECT CUENTA FROM CUENTAA) and a_tipoabono is not null"))));Debug.locals.put("c4", _c4);Debug.locals.put("c4", _c4); + BA.debugLineNum = 1694;BA.debugLine="If c4.RowCount > 0 Then"; +Debug.ShouldStop(536870912); +if (true) break; + +case 54: +//if +this.state = 57; +if (RemoteObject.solveBoolean(">",_c4.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 56; +}if (true) break; + +case 56: +//C +this.state = 57; + BA.debugLineNum = 1695;BA.debugLine="c4.Position = 0"; +Debug.ShouldStop(1073741824); +_c4.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1696;BA.debugLine="Dim c5 As Cursor= Starter.skmt.ExecQuery(\"SELEC"; +Debug.ShouldStop(-2147483648); +_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._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT Ifnull(a_abono,0) AS SALDO_PENDIENTE FROM ABONOS WHERE a_cliente IN (SELECT CUENTA FROM CUENTAA) and a_tipoabono is not null"))));Debug.locals.put("c5", _c5);Debug.locals.put("c5", _c5); + BA.debugLineNum = 1697;BA.debugLine="saldopendiente1 = c4.GetDouble(\"SALDO_PENDIENTE"; +Debug.ShouldStop(1); +_saldopendiente1 = _c4.runMethod(true,"GetDouble",(Object)(RemoteObject.createImmutable("SALDO_PENDIENTE")));Debug.locals.put("saldopendiente1", _saldopendiente1); + if (true) break; + +case 57: +//C +this.state = 68; +; + BA.debugLineNum = 1701;BA.debugLine="c4.Close"; +Debug.ShouldStop(16); +_c4.runVoidMethod ("Close"); + if (true) break; + +case 59: +//C +this.state = 60; + BA.debugLineNum = 1704;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT NOTA, SUM(SAL"; +Debug.ShouldStop(128); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT NOTA, SUM(SALDO_PENDIENTE) AS SALDO_PENDIENTE FROM ABONOSP WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA)")))); + BA.debugLineNum = 1705;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(256); +if (true) break; + +case 60: +//if +this.state = 63; +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 62; +}if (true) break; + +case 62: +//C +this.state = 63; + BA.debugLineNum = 1706;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(512); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1707;BA.debugLine="notaabono = c.GetString(\"NOTA\")"; +Debug.ShouldStop(1024); +_notaabono = __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("NOTA")));Debug.locals.put("notaabono", _notaabono); + BA.debugLineNum = 1708;BA.debugLine="saldopendiente = c.GetDouble(\"SALDO_PENDIENTE\")"; +Debug.ShouldStop(2048); +_saldopendiente = __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetDouble",(Object)(RemoteObject.createImmutable("SALDO_PENDIENTE")));Debug.locals.put("saldopendiente", _saldopendiente); + if (true) break; + +case 63: +//C +this.state = 64; +; + BA.debugLineNum = 1710;BA.debugLine="c.Close"; +Debug.ShouldStop(8192); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1712;BA.debugLine="Dim saldopendiente1 As Double = 0"; +Debug.ShouldStop(32768); +_saldopendiente1 = BA.numberCast(double.class, 0);Debug.locals.put("saldopendiente1", _saldopendiente1);Debug.locals.put("saldopendiente1", _saldopendiente1); + BA.debugLineNum = 1713;BA.debugLine="Dim c4 As Cursor= Starter.skmt.ExecQuery(\"SELECT"; +Debug.ShouldStop(65536); +_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._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT Ifnull(SUM(a_abono),0) AS SALDO_PENDIENTE FROM ABONOS WHERE a_cliente IN (SELECT CUENTA FROM CUENTAA) and a_tipoabono is null"))));Debug.locals.put("c4", _c4);Debug.locals.put("c4", _c4); + BA.debugLineNum = 1714;BA.debugLine="If c4.RowCount > 0 Then"; +Debug.ShouldStop(131072); +if (true) break; + +case 64: +//if +this.state = 67; +if (RemoteObject.solveBoolean(">",_c4.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 66; +}if (true) break; + +case 66: +//C +this.state = 67; + BA.debugLineNum = 1715;BA.debugLine="c4.Position = 0"; +Debug.ShouldStop(262144); +_c4.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1716;BA.debugLine="Dim c5 As Cursor= Starter.skmt.ExecQuery(\"SELEC"; +Debug.ShouldStop(524288); +_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._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT Ifnull(a_abono,0) AS SALDO_PENDIENTE FROM ABONOS WHERE a_cliente IN (SELECT CUENTA FROM CUENTAA) and a_tipoabono is null"))));Debug.locals.put("c5", _c5);Debug.locals.put("c5", _c5); + BA.debugLineNum = 1717;BA.debugLine="saldopendiente1 = c4.GetDouble(\"SALDO_PENDIENTE"; +Debug.ShouldStop(1048576); +_saldopendiente1 = _c4.runMethod(true,"GetDouble",(Object)(RemoteObject.createImmutable("SALDO_PENDIENTE")));Debug.locals.put("saldopendiente1", _saldopendiente1); + if (true) break; + +case 67: +//C +this.state = 68; +; + BA.debugLineNum = 1722;BA.debugLine="c4.Close"; +Debug.ShouldStop(33554432); +_c4.runVoidMethod ("Close"); + if (true) break; + +case 68: +//C +this.state = 69; +; + BA.debugLineNum = 1732;BA.debugLine="Dim numpago As Int = c5.RowCount + 1"; +Debug.ShouldStop(8); +_numpago = RemoteObject.solve(new RemoteObject[] {_c5.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("numpago", _numpago);Debug.locals.put("numpago", _numpago); + BA.debugLineNum = 1733;BA.debugLine="Log(notaabono)"; +Debug.ShouldStop(16); +parent.__c.runVoidMethod ("LogImpl","89437346",_notaabono,0); + BA.debugLineNum = 1734;BA.debugLine="Log(et_abono.Text)"; +Debug.ShouldStop(32); +parent.__c.runVoidMethod ("LogImpl","89437347",__ref.getField(false,"_et_abono" /*RemoteObject*/ ).runMethod(true,"getText"),0); + BA.debugLineNum = 1735;BA.debugLine="Printer1.WriteString(\"Comprobante de pago del pag"; +Debug.ShouldStop(64); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Comprobante de pago del pagare"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 1736;BA.debugLine="Printer1.WriteString(\"Folio: \" & notaabono &\"-\"&"; +Debug.ShouldStop(128); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Folio: "),_notaabono,RemoteObject.createImmutable("-"),(_numpago),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 1737;BA.debugLine="Printer1.WriteString(\"Monto deuda: \" & (NumberFo"; +Debug.ShouldStop(256); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Monto deuda: "),(parent.__c.runMethod(true,"NumberFormat",(Object)(RemoteObject.solve(new RemoteObject[] {_saldopendiente,_saldopendiente1}, "-",1, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)))),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 1738;BA.debugLine="Printer1.WriteString(\"Monto abono: \" & (NumberFo"; +Debug.ShouldStop(512); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Monto abono: "),(parent.__c.runMethod(true,"NumberFormat",(Object)(BA.numberCast(double.class, __ref.getField(false,"_et_abono" /*RemoteObject*/ ).runMethod(true,"getText"))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)))),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 1739;BA.debugLine="Printer1.WriteString(\"Restante: \" &(NumberFormat("; +Debug.ShouldStop(1024); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Restante: "),(parent.__c.runMethod(true,"NumberFormat",(Object)(RemoteObject.solve(new RemoteObject[] {_saldopendiente,BA.numberCast(double.class, __ref.getField(false,"_et_abono" /*RemoteObject*/ ).runMethod(true,"getText")),_saldopendiente1}, "--",2, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)))),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 1740;BA.debugLine="Printer1.WriteString(\"Fecha Abono: \" & sDate & C"; +Debug.ShouldStop(2048); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Fecha Abono: "),__ref.getField(true,"_sdate" /*RemoteObject*/ ),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 1741;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +Debug.ShouldStop(4096); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 1742;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +Debug.ShouldStop(8192); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 1743;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +Debug.ShouldStop(16384); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 1744;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +Debug.ShouldStop(32768); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 1745;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +Debug.ShouldStop(65536); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 1746;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +Debug.ShouldStop(131072); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 1747;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +Debug.ShouldStop(262144); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 1748;BA.debugLine="Printer1.WriteString(\"---------------------------"; +Debug.ShouldStop(524288); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("------------------------------"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 1749;BA.debugLine="Printer1.WriteString(\"-------------FIRMA---------"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("-------------FIRMA------------"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 1750;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 1751;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 1752;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 1753;BA.debugLine="DateTime.DateFormat = \"ddMMyyyy\""; +Debug.ShouldStop(16777216); +parent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("ddMMyyyy")); + BA.debugLineNum = 1754;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 = 1760;BA.debugLine="Dim tipopagotick As String = \"\""; +Debug.ShouldStop(-2147483648); +_tipopagotick = BA.ObjectToString("");Debug.locals.put("tipopagotick", _tipopagotick);Debug.locals.put("tipopagotick", _tipopagotick); + BA.debugLineNum = 1761;BA.debugLine="If itemselect = \"TRANSFERENCIA\" Then"; +Debug.ShouldStop(1); +if (true) break; + +case 69: +//if +this.state = 76; +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_itemselect" /*RemoteObject*/ ),BA.ObjectToString("TRANSFERENCIA"))) { +this.state = 71; +}else +{ BA.debugLineNum = 1763;BA.debugLine="Else If itemselect = \"EFECTIVO\" Then"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_itemselect" /*RemoteObject*/ ),BA.ObjectToString("EFECTIVO"))) { +this.state = 73; +}else +{ BA.debugLineNum = 1765;BA.debugLine="Else If itemselect = \"CHEQUE\" Then"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_itemselect" /*RemoteObject*/ ),BA.ObjectToString("CHEQUE"))) { +this.state = 75; +}}} +if (true) break; + +case 71: +//C +this.state = 76; + BA.debugLineNum = 1762;BA.debugLine="tipopagotick = \"T\""; +Debug.ShouldStop(2); +_tipopagotick = BA.ObjectToString("T");Debug.locals.put("tipopagotick", _tipopagotick); + if (true) break; + +case 73: +//C +this.state = 76; + BA.debugLineNum = 1764;BA.debugLine="tipopagotick = \"E\""; +Debug.ShouldStop(8); +_tipopagotick = BA.ObjectToString("E");Debug.locals.put("tipopagotick", _tipopagotick); + if (true) break; + +case 75: +//C +this.state = 76; + BA.debugLineNum = 1766;BA.debugLine="tipopagotick = \"C\""; +Debug.ShouldStop(32); +_tipopagotick = BA.ObjectToString("C");Debug.locals.put("tipopagotick", _tipopagotick); + if (true) break; + +case 76: +//C +this.state = 77; +; + BA.debugLineNum = 1769;BA.debugLine="Printer1.WriteBarCode(\"I\",notaabono&sDate&tipopag"; +Debug.ShouldStop(256); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writebarcode" /*RemoteObject*/ ,(Object)(BA.ObjectToString("I")),(Object)(RemoteObject.concat(_notaabono,__ref.getField(true,"_sdate" /*RemoteObject*/ ),_tipopagotick,_numpago))); + BA.debugLineNum = 1770;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +Debug.ShouldStop(512); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 1771;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +Debug.ShouldStop(1024); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 1772;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +Debug.ShouldStop(2048); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 1773;BA.debugLine="Sleep(1000)"; +Debug.ShouldStop(4096); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "imprime_abonopagare"),BA.numberCast(int.class, 1000)); +this.state = 149; +return; +case 149: +//C +this.state = 77; +; + BA.debugLineNum = 1774;BA.debugLine="Printer1.DisConnect"; +Debug.ShouldStop(8192); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_disconnect" /*RemoteObject*/ ); + BA.debugLineNum = 1775;BA.debugLine="ProgressDialogHide"; +Debug.ShouldStop(16384); +parent.__c.runVoidMethod ("ProgressDialogHide"); + BA.debugLineNum = 1778;BA.debugLine="If tipo_abonox = \"abono\" Then"; +Debug.ShouldStop(131072); +if (true) break; + +case 77: +//if +this.state = 144; +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_tipo_abonox" /*RemoteObject*/ ),BA.ObjectToString("abono"))) { +this.state = 79; +}else +{ BA.debugLineNum = 1791;BA.debugLine="Else If tipo_abonox = \"cxc\" Then"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_tipo_abonox" /*RemoteObject*/ ),BA.ObjectToString("cxc"))) { +this.state = 87; +}} +if (true) break; + +case 79: +//C +this.state = 80; + BA.debugLineNum = 1779;BA.debugLine="Msgbox2Async(\"Deseas imprimir de nuevo el ticket"; +Debug.ShouldStop(262144); +parent.__c.runVoidMethod ("Msgbox2Async",(Object)(BA.ObjectToCharSequence("Deseas imprimir de nuevo el ticket?")),(Object)(BA.ObjectToCharSequence("ATENCION")),(Object)(BA.ObjectToString("SI")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("NO")),(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 = 1781;BA.debugLine="Wait For Msgbox_Result (resultado As Int)"; +Debug.ShouldStop(1048576); +parent.__c.runVoidMethod ("WaitFor","msgbox_result", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "imprime_abonopagare"), null); +this.state = 150; +return; +case 150: +//C +this.state = 80; +_resultado = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("resultado", _resultado); +; + BA.debugLineNum = 1782;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; +Debug.ShouldStop(2097152); +if (true) break; + +case 80: +//if +this.state = 85; +if (RemoteObject.solveBoolean("=",_resultado,BA.numberCast(double.class, parent.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { +this.state = 82; +}else { +this.state = 84; +}if (true) break; + +case 82: +//C +this.state = 85; + BA.debugLineNum = 1783;BA.debugLine="imprime_abonopagare"; +Debug.ShouldStop(4194304); +__ref.runClassMethod (reparto_izca.keymon.lat.c_cliente.class, "_imprime_abonopagare" /*void*/ ); + if (true) break; + +case 84: +//C +this.state = 85; + BA.debugLineNum = 1785;BA.debugLine="p_abono.Visible = False"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_p_abono" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 1787;BA.debugLine="Starter.skmt.ExecNonQuery($\"INSERT INTO ABONOS("; +Debug.ShouldStop(67108864); +parent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("INSERT INTO ABONOS(a_usuario, a_ruta, a_cliente, a_abono, a_fecha,a_tipoabono,TIPO_PAGO,a_ticket,a_numpago) VALUES ('"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent._subs.runMethod(true,"_traeusuariodebd" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),RemoteObject.createImmutable("', '"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent._subs.runMethod(true,"_traeruta" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(parent._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))))))),RemoteObject.createImmutable("', '"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),RemoteObject.createImmutable("' ,'"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_et_abono" /*RemoteObject*/ ).runMethod(true,"getText")))),RemoteObject.createImmutable("', '"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent._subs.runMethod(true,"_fechakmt" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.NumberToString(parent.__c.getField(false,"DateTime").runMethod(true,"getNow"))))))),RemoteObject.createImmutable("', 1,'"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_itemselect" /*RemoteObject*/ )))),RemoteObject.createImmutable("','"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_notaabono))),RemoteObject.createImmutable("','"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_numpago))),RemoteObject.createImmutable("')"))))); + BA.debugLineNum = 1788;BA.debugLine="ToastMessageShow(\"Abono guardado\", False)"; +Debug.ShouldStop(134217728); +parent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Abono guardado")),(Object)(parent.__c.getField(true,"False"))); + if (true) break; + +case 85: +//C +this.state = 144; +; + if (true) break; + +case 87: +//C +this.state = 88; + BA.debugLineNum = 1792;BA.debugLine="Msgbox2Async(\"Deseas imprimir de nuevo el ticket"; +Debug.ShouldStop(-2147483648); +parent.__c.runVoidMethod ("Msgbox2Async",(Object)(BA.ObjectToCharSequence("Deseas imprimir de nuevo el ticket?")),(Object)(BA.ObjectToCharSequence("ATENCION")),(Object)(BA.ObjectToString("SI")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("NO")),(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 = 1793;BA.debugLine="Wait For Msgbox_Result (resultado As Int)"; +Debug.ShouldStop(1); +parent.__c.runVoidMethod ("WaitFor","msgbox_result", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "imprime_abonopagare"), null); +this.state = 151; +return; +case 151: +//C +this.state = 88; +_resultado = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("resultado", _resultado); +; + BA.debugLineNum = 1794;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; +Debug.ShouldStop(2); +if (true) break; + +case 88: +//if +this.state = 143; +if (RemoteObject.solveBoolean("=",_resultado,BA.numberCast(double.class, parent.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { +this.state = 90; +}else { +this.state = 92; +}if (true) break; + +case 90: +//C +this.state = 143; + BA.debugLineNum = 1795;BA.debugLine="imprime_abonopagare"; +Debug.ShouldStop(4); +__ref.runClassMethod (reparto_izca.keymon.lat.c_cliente.class, "_imprime_abonopagare" /*void*/ ); + if (true) break; + +case 92: +//C +this.state = 93; + BA.debugLineNum = 1801;BA.debugLine="h = Starter.skmt.ExecQuery(\"SELECT CUENTA from"; +Debug.ShouldStop(256); +__ref.getField(false,"_h" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT CUENTA from CUENTAA")))); + BA.debugLineNum = 1802;BA.debugLine="h.Position = 0"; +Debug.ShouldStop(512); +__ref.getField(false,"_h" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1803;BA.debugLine="Log(h.GetString(\"CUENTA\"))"; +Debug.ShouldStop(1024); +parent.__c.runVoidMethod ("LogImpl","89437416",__ref.getField(false,"_h" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA"))),0); + BA.debugLineNum = 1804;BA.debugLine="j = Starter.skmt.ExecQuery2(\"SELECT a_abono FRO"; +Debug.ShouldStop(2048); +__ref.getField(false,"_j" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT a_abono FROM ABONOS WHERE a_cliente = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_h" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA")))})))); + BA.debugLineNum = 1805;BA.debugLine="j.position = 0"; +Debug.ShouldStop(4096); +__ref.getField(false,"_j" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1806;BA.debugLine="If j.RowCount = 0 Then"; +Debug.ShouldStop(8192); +if (true) break; + +case 93: +//if +this.state = 142; +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_j" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 95; +}else { +this.state = 119; +}if (true) break; + +case 95: +//C +this.state = 96; + BA.debugLineNum = 1807;BA.debugLine="p_abono.Visible = False"; +Debug.ShouldStop(16384); +__ref.getField(false,"_p_abono" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 1808;BA.debugLine="Starter.skmt.ExecNonQuery($\"INSERT INTO ABONOS"; +Debug.ShouldStop(32768); +parent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("INSERT INTO ABONOS(a_usuario, a_ruta, a_cliente, a_abono, a_fecha,TIPO_PAGO,a_ticket,a_numpago) VALUES ('"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent._subs.runMethod(true,"_traeusuariodebd" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),RemoteObject.createImmutable("', '"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent._subs.runMethod(true,"_traeruta" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(parent._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))))))),RemoteObject.createImmutable("', '"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),RemoteObject.createImmutable("' ,'"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_et_abono" /*RemoteObject*/ ).runMethod(true,"getText")))),RemoteObject.createImmutable("', '"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent._subs.runMethod(true,"_fechakmt" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.NumberToString(parent.__c.getField(false,"DateTime").runMethod(true,"getNow"))))))),RemoteObject.createImmutable("','"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_itemselect" /*RemoteObject*/ )))),RemoteObject.createImmutable("','"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_notaabono))),RemoteObject.createImmutable("','"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_numpago))),RemoteObject.createImmutable("')"))))); + BA.debugLineNum = 1809;BA.debugLine="ToastMessageShow(\"Abono guardado\", False)"; +Debug.ShouldStop(65536); +parent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Abono guardado")),(Object)(parent.__c.getField(true,"False"))); + BA.debugLineNum = 1810;BA.debugLine="Dim rutaactualizar As String"; +Debug.ShouldStop(131072); +_rutaactualizar = RemoteObject.createImmutable("");Debug.locals.put("rutaactualizar", _rutaactualizar); + BA.debugLineNum = 1811;BA.debugLine="Dim rut As Cursor = Starter.skmt.ExecQuery(\"SE"; +Debug.ShouldStop(262144); +_rut = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_rut = 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 CAT_CL_RUTA FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))));Debug.locals.put("rut", _rut);Debug.locals.put("rut", _rut); + BA.debugLineNum = 1812;BA.debugLine="If rut.RowCount > 0 Then"; +Debug.ShouldStop(524288); +if (true) break; + +case 96: +//if +this.state = 99; +if (RemoteObject.solveBoolean(">",_rut.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 98; +}if (true) break; + +case 98: +//C +this.state = 99; + BA.debugLineNum = 1813;BA.debugLine="rut.Position = 0"; +Debug.ShouldStop(1048576); +_rut.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1814;BA.debugLine="rutaactualizar = rut.GetString(\"CAT_CL_RUTA\")"; +Debug.ShouldStop(2097152); +_rutaactualizar = _rut.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA")));Debug.locals.put("rutaactualizar", _rutaactualizar); + if (true) break; + +case 99: +//C +this.state = 100; +; + BA.debugLineNum = 1816;BA.debugLine="Starter.skmt.ExecNonQuery($\"UPDATE kmt_info se"; +Debug.ShouldStop(8388608); +parent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("UPDATE kmt_info set gestion = 0, HORAENT = '"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__ref.getField(true,"_stime" /*RemoteObject*/ ))))),RemoteObject.createImmutable("' where CAT_CL_CODIGO In (select cuenta from cuentaa) and CAT_CL_RUTA = '"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_rutaactualizar))),RemoteObject.createImmutable("'"))))); + BA.debugLineNum = 1817;BA.debugLine="Starter.skmt.ExecNonQuery($\"DELETE FROM NOVENT"; +Debug.ShouldStop(16777216); +parent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.createImmutable("DELETE FROM NOVENTA WHERE NV_CLIENTE IN (select cuenta from cuentaa)")))); + BA.debugLineNum = 1818;BA.debugLine="Private c3 As Cursor = Starter.skmt.ExecQuery("; +Debug.ShouldStop(33554432); +_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._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT * FROM PEDIDO WHERE PE_CLIENTEOR IN (SELECT CUENTA FROM CUENTAA)"))));Debug.locals.put("c3", _c3);Debug.locals.put("c3", _c3); + BA.debugLineNum = 1819;BA.debugLine="If c3.RowCount = 0 Then"; +Debug.ShouldStop(67108864); +if (true) break; + +case 100: +//if +this.state = 105; +if (RemoteObject.solveBoolean("=",_c3.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 102; +}else { +this.state = 104; +}if (true) break; + +case 102: +//C +this.state = 105; + BA.debugLineNum = 1820;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENTA"; +Debug.ShouldStop(134217728); +parent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.createImmutable("update HIST_VENTAS set HVD_RECHAZO = 0, HVD_RECHAZOCANT = 0, BCAJAS = BCAJAS_OR, CANTC = CANTC_OR WHERE HVD_cliente in (Select CUENTA from cuentaa)")))); + BA.debugLineNum = 1821;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(268435456); +__ref.runClassMethod (reparto_izca.keymon.lat.c_cliente.class, "_b4xpage_appear" /*RemoteObject*/ ); + if (true) break; + +case 104: +//C +this.state = 105; + BA.debugLineNum = 1823;BA.debugLine="MsgboxAsync(\"Hay productos que ya se vendiero"; +Debug.ShouldStop(1073741824); +parent.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Hay productos que ya se vendieron, no se puede regresar la venta")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + if (true) break; + +case 105: +//C +this.state = 106; +; + BA.debugLineNum = 1825;BA.debugLine="Dim textedit As Double = et_abono.Text"; +Debug.ShouldStop(1); +_textedit = BA.numberCast(double.class, __ref.getField(false,"_et_abono" /*RemoteObject*/ ).runMethod(true,"getText"));Debug.locals.put("textedit", _textedit);Debug.locals.put("textedit", _textedit); + BA.debugLineNum = 1826;BA.debugLine="Dim sumaresta As Double = saldopendiente-texte"; +Debug.ShouldStop(2); +_sumaresta = RemoteObject.solve(new RemoteObject[] {_saldopendiente,_textedit,_saldopendiente1}, "--",2, 0);Debug.locals.put("sumaresta", _sumaresta);Debug.locals.put("sumaresta", _sumaresta); + BA.debugLineNum = 1827;BA.debugLine="Log(NumberFormat2(sumaresta,0,2,2,False))"; +Debug.ShouldStop(4); +parent.__c.runVoidMethod ("LogImpl","89437440",parent.__c.runMethod(true,"NumberFormat2",(Object)(_sumaresta),(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 = 1828;BA.debugLine="If NumberFormat2(sumaresta,0,2,2,False) <> \"-."; +Debug.ShouldStop(8); +if (true) break; + +case 106: +//if +this.state = 117; +if (RemoteObject.solveBoolean("!",parent.__c.runMethod(true,"NumberFormat2",(Object)(_sumaresta),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False"))),BA.ObjectToString("-.00"))) { +this.state = 108; +}if (true) break; + +case 108: +//C +this.state = 109; + BA.debugLineNum = 1829;BA.debugLine="If NumberFormat2(sumaresta,0,2,2,False) <> \"."; +Debug.ShouldStop(16); +if (true) break; + +case 109: +//if +this.state = 116; +if (RemoteObject.solveBoolean("!",parent.__c.runMethod(true,"NumberFormat2",(Object)(_sumaresta),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False"))),BA.ObjectToString(".00"))) { +this.state = 111; +}if (true) break; + +case 111: +//C +this.state = 112; + BA.debugLineNum = 1830;BA.debugLine="Dim rutaactualizar As String"; +Debug.ShouldStop(32); +_rutaactualizar = RemoteObject.createImmutable("");Debug.locals.put("rutaactualizar", _rutaactualizar); + BA.debugLineNum = 1831;BA.debugLine="Dim rut As Cursor = Starter.skmt.ExecQuery(\""; +Debug.ShouldStop(64); +_rut = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_rut = 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 CAT_CL_RUTA FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))));Debug.locals.put("rut", _rut);Debug.locals.put("rut", _rut); + BA.debugLineNum = 1832;BA.debugLine="If rut.RowCount > 0 Then"; +Debug.ShouldStop(128); +if (true) break; + +case 112: +//if +this.state = 115; +if (RemoteObject.solveBoolean(">",_rut.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 114; +}if (true) break; + +case 114: +//C +this.state = 115; + BA.debugLineNum = 1833;BA.debugLine="rut.Position = 0"; +Debug.ShouldStop(256); +_rut.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1834;BA.debugLine="rutaactualizar = rut.GetString(\"CAT_CL_RUTA"; +Debug.ShouldStop(512); +_rutaactualizar = _rut.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA")));Debug.locals.put("rutaactualizar", _rutaactualizar); + if (true) break; + +case 115: +//C +this.state = 116; +; + BA.debugLineNum = 1836;BA.debugLine="Starter.skmt.ExecNonQuery($\"UPDATE kmt_info"; +Debug.ShouldStop(2048); +parent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("UPDATE kmt_info set gestion = 3, HORAENT = '"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__ref.getField(true,"_stime" /*RemoteObject*/ ))))),RemoteObject.createImmutable("' where CAT_CL_CODIGO In (select cuenta from cuentaa) and CAT_CL_RUTA = '"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_rutaactualizar))),RemoteObject.createImmutable("'"))))); + BA.debugLineNum = 1837;BA.debugLine="Starter.skmt.ExecNonQuery($\"DELETE FROM NOVE"; +Debug.ShouldStop(4096); +parent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.createImmutable("DELETE FROM NOVENTA WHERE NV_CLIENTE IN (select cuenta from cuentaa)")))); + BA.debugLineNum = 1838;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO NOVE"; +Debug.ShouldStop(8192); +parent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO NOVENTA (NV_CLIENTE,NV_FECHA,NV_USER,NV_MOTIVO,NV_COMM,NV_LAT,NV_LON,NV_FOTO,NV_REPROGRAMAR) VALUES(?,?,?,?,?,?,?,?,?) ")),(Object)(parent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {9},new Object[] {(__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*/ )),RemoteObject.createImmutable(("PAGO INCOMPLETO")),RemoteObject.createImmutable(("PAGO INCOMPLETO")),(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*/ )),(_rutaactualizar),RemoteObject.createImmutable((0))}))))); + BA.debugLineNum = 1839;BA.debugLine="Starter.skmt.ExecNonQuery(\"update HIST_VENTA"; +Debug.ShouldStop(16384); +parent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("update HIST_VENTAS SET HVD_RECHAZO = 1, HVD_RECHAZOCANT = HVD_CANT, HVD_RECHAZOCANTC = CANTC, BCAJAS = 0 , CANTC = 0 WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))); + BA.debugLineNum = 1840;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENT"; +Debug.ShouldStop(32768); +parent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.createImmutable("update HIST_VENTAS set HVD_RECHAZO = 2, HVD_RECHAZOCANT = HVD_RECHAZOCANT WHERE HVD_PROID = HVD_CODPROMO and HVD_CLIENTE in (Select CUENTA from cuentaa)")))); + BA.debugLineNum = 1841;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM PEDID"; +Debug.ShouldStop(65536); +parent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))); + BA.debugLineNum = 1842;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT RUTAA FRO"; +Debug.ShouldStop(131072); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT RUTAA FROM RUTAA")))); + BA.debugLineNum = 1843;BA.debugLine="d.Position = 0"; +Debug.ShouldStop(262144); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1844;BA.debugLine="Dim ruta As String = d.GetString(\"RUTAA\")"; +Debug.ShouldStop(524288); +_ruta = __ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("RUTAA")));Debug.locals.put("ruta", _ruta);Debug.locals.put("ruta", _ruta); + BA.debugLineNum = 1845;BA.debugLine="d.Close"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1846;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT CAT_CL_RU"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT CAT_CL_RUTA FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)")))); + BA.debugLineNum = 1847;BA.debugLine="d.Position = 0"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1848;BA.debugLine="Dim rutapre As String = d.GetString(\"CAT_CL_"; +Debug.ShouldStop(8388608); +_rutapre = __ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA")));Debug.locals.put("rutapre", _rutapre);Debug.locals.put("rutapre", _rutapre); + BA.debugLineNum = 1849;BA.debugLine="d.Close"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1850;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT HVD_FECHA"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT HVD_FECHA FROM HIST_VENTAS WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)")))); + BA.debugLineNum = 1851;BA.debugLine="d.Position = 0"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1852;BA.debugLine="Dim fechaprev As String = d.GetString(\"HVD_F"; +Debug.ShouldStop(134217728); +parent._fechaprev = __ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_FECHA")));__ref.setField("_fechaprev",parent._fechaprev); + BA.debugLineNum = 1853;BA.debugLine="d.Close"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1854;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT CUENTA FR"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT CUENTA FROM CUENTAA")))); + BA.debugLineNum = 1855;BA.debugLine="d.Position = 0"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1856;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO REPA"; +Debug.ShouldStop(-2147483648); +parent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO REPARTO_GEO (CLIENTE, USUARIO, FECHA_PUNTEO, LATITUD, LONGITUD, ALMACEN, RUTA_REPARTO, RUTA_PREV, FECHA_PREVENTA, MOTIVO, COMENTARIO,TIPO,ENVIO) VALUES(?,?,?,?,?,?,?,?,?,?,?,?,0)")),(Object)(parent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {12},new Object[] {__ref.getField(true,"_cuenta" /*RemoteObject*/ ),__ref.getField(true,"_usuario" /*RemoteObject*/ ),RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__ref.getField(true,"_stime" /*RemoteObject*/ )),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*/ ),parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_almacen" /*RemoteObject*/ ),_ruta,_rutapre,__ref.getField(true,"_fechaprev" /*RemoteObject*/ ),BA.ObjectToString("PAGO INCOMPLETO"),BA.ObjectToString("PAGO INCOMPLETO"),RemoteObject.createImmutable("NO ENTREGADO")}))))); + BA.debugLineNum = 1857;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +Debug.ShouldStop(1); +parent._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Principal"))); + if (true) break; + +case 116: +//C +this.state = 117; +; + if (true) break; + +case 117: +//C +this.state = 142; +; + if (true) break; + +case 119: +//C +this.state = 120; + BA.debugLineNum = 1861;BA.debugLine="p_abono.Visible = False"; +Debug.ShouldStop(16); +__ref.getField(false,"_p_abono" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 1862;BA.debugLine="Starter.skmt.ExecNonQuery($\"INSERT INTO ABONOS"; +Debug.ShouldStop(32); +parent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("INSERT INTO ABONOS(a_usuario, a_ruta, a_cliente, a_abono, a_fecha,TIPO_PAGO,a_ticket,a_numpago) VALUES ('"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent._subs.runMethod(true,"_traeusuariodebd" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),RemoteObject.createImmutable("', '"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent._subs.runMethod(true,"_traeruta" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(parent._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))))))),RemoteObject.createImmutable("', '"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),RemoteObject.createImmutable("' ,'"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_et_abono" /*RemoteObject*/ ).runMethod(true,"getText")))),RemoteObject.createImmutable("', '"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent._subs.runMethod(true,"_fechakmt" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.NumberToString(parent.__c.getField(false,"DateTime").runMethod(true,"getNow"))))))),RemoteObject.createImmutable("','"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_itemselect" /*RemoteObject*/ )))),RemoteObject.createImmutable("','"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_notaabono))),RemoteObject.createImmutable("','"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_numpago))),RemoteObject.createImmutable("')"))))); + BA.debugLineNum = 1863;BA.debugLine="ToastMessageShow(\"Abono guardado\", False)"; +Debug.ShouldStop(64); +parent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Abono guardado")),(Object)(parent.__c.getField(true,"False"))); + BA.debugLineNum = 1864;BA.debugLine="Dim rutaactualizar As String"; +Debug.ShouldStop(128); +_rutaactualizar = RemoteObject.createImmutable("");Debug.locals.put("rutaactualizar", _rutaactualizar); + BA.debugLineNum = 1865;BA.debugLine="Dim rut As Cursor = Starter.skmt.ExecQuery(\"SE"; +Debug.ShouldStop(256); +_rut = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_rut = 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 CAT_CL_RUTA FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))));Debug.locals.put("rut", _rut);Debug.locals.put("rut", _rut); + BA.debugLineNum = 1866;BA.debugLine="If rut.RowCount > 0 Then"; +Debug.ShouldStop(512); +if (true) break; + +case 120: +//if +this.state = 123; +if (RemoteObject.solveBoolean(">",_rut.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 122; +}if (true) break; + +case 122: +//C +this.state = 123; + BA.debugLineNum = 1867;BA.debugLine="rut.Position = 0"; +Debug.ShouldStop(1024); +_rut.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1868;BA.debugLine="rutaactualizar = rut.GetString(\"CAT_CL_RUTA\")"; +Debug.ShouldStop(2048); +_rutaactualizar = _rut.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA")));Debug.locals.put("rutaactualizar", _rutaactualizar); + if (true) break; + +case 123: +//C +this.state = 124; +; + BA.debugLineNum = 1870;BA.debugLine="Starter.skmt.ExecNonQuery($\"UPDATE kmt_info se"; +Debug.ShouldStop(8192); +parent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("UPDATE kmt_info set gestion = 0, HORAENT = '"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__ref.getField(true,"_stime" /*RemoteObject*/ ))))),RemoteObject.createImmutable("' where CAT_CL_CODIGO In (select cuenta from cuentaa) and CAT_CL_RUTA = '"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_rutaactualizar))),RemoteObject.createImmutable("'"))))); + BA.debugLineNum = 1871;BA.debugLine="Starter.skmt.ExecNonQuery($\"DELETE FROM NOVENT"; +Debug.ShouldStop(16384); +parent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.createImmutable("DELETE FROM NOVENTA WHERE NV_CLIENTE IN (select cuenta from cuentaa)")))); + BA.debugLineNum = 1872;BA.debugLine="Private c3 As Cursor = Starter.skmt.ExecQuery("; +Debug.ShouldStop(32768); +_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._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT * FROM PEDIDO WHERE PE_CLIENTEOR IN (SELECT CUENTA FROM CUENTAA)"))));Debug.locals.put("c3", _c3);Debug.locals.put("c3", _c3); + BA.debugLineNum = 1873;BA.debugLine="If c3.RowCount = 0 Then"; +Debug.ShouldStop(65536); +if (true) break; + +case 124: +//if +this.state = 129; +if (RemoteObject.solveBoolean("=",_c3.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 126; +}else { +this.state = 128; +}if (true) break; + +case 126: +//C +this.state = 129; + BA.debugLineNum = 1874;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENTA"; +Debug.ShouldStop(131072); +parent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.createImmutable("update HIST_VENTAS set HVD_RECHAZO = 0, HVD_RECHAZOCANT = 0, BCAJAS = BCAJAS_OR, CANTC = CANTC_OR WHERE HVD_cliente in (Select CUENTA from cuentaa)")))); + BA.debugLineNum = 1875;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(262144); +__ref.runClassMethod (reparto_izca.keymon.lat.c_cliente.class, "_b4xpage_appear" /*RemoteObject*/ ); + if (true) break; + +case 128: +//C +this.state = 129; + BA.debugLineNum = 1877;BA.debugLine="MsgboxAsync(\"Hay productos que ya se vendiero"; +Debug.ShouldStop(1048576); +parent.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Hay productos que ya se vendieron, no se puede regresar la venta")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + if (true) break; + +case 129: +//C +this.state = 130; +; + BA.debugLineNum = 1879;BA.debugLine="Dim textedit As Double = et_abono.Text"; +Debug.ShouldStop(4194304); +_textedit = BA.numberCast(double.class, __ref.getField(false,"_et_abono" /*RemoteObject*/ ).runMethod(true,"getText"));Debug.locals.put("textedit", _textedit);Debug.locals.put("textedit", _textedit); + BA.debugLineNum = 1880;BA.debugLine="Dim sumaresta As Double = saldopendiente-texte"; +Debug.ShouldStop(8388608); +_sumaresta = RemoteObject.solve(new RemoteObject[] {_saldopendiente,_textedit,_saldopendiente1}, "--",2, 0);Debug.locals.put("sumaresta", _sumaresta);Debug.locals.put("sumaresta", _sumaresta); + BA.debugLineNum = 1882;BA.debugLine="If NumberFormat2(sumaresta,0,2,2,False) <> \"-."; +Debug.ShouldStop(33554432); +if (true) break; + +case 130: +//if +this.state = 141; +if (RemoteObject.solveBoolean("!",parent.__c.runMethod(true,"NumberFormat2",(Object)(_sumaresta),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False"))),BA.ObjectToString("-.00"))) { +this.state = 132; +}if (true) break; + +case 132: +//C +this.state = 133; + BA.debugLineNum = 1883;BA.debugLine="If NumberFormat2(sumaresta,0,2,2,False) <> \"."; +Debug.ShouldStop(67108864); +if (true) break; + +case 133: +//if +this.state = 140; +if (RemoteObject.solveBoolean("!",parent.__c.runMethod(true,"NumberFormat2",(Object)(_sumaresta),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(parent.__c.getField(true,"False"))),BA.ObjectToString(".00"))) { +this.state = 135; +}if (true) break; + +case 135: +//C +this.state = 136; + BA.debugLineNum = 1884;BA.debugLine="Dim rutaactualizar As String"; +Debug.ShouldStop(134217728); +_rutaactualizar = RemoteObject.createImmutable("");Debug.locals.put("rutaactualizar", _rutaactualizar); + BA.debugLineNum = 1885;BA.debugLine="Dim rut As Cursor = Starter.skmt.ExecQuery(\""; +Debug.ShouldStop(268435456); +_rut = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_rut = 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 CAT_CL_RUTA FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))));Debug.locals.put("rut", _rut);Debug.locals.put("rut", _rut); + BA.debugLineNum = 1886;BA.debugLine="If rut.RowCount > 0 Then"; +Debug.ShouldStop(536870912); +if (true) break; + +case 136: +//if +this.state = 139; +if (RemoteObject.solveBoolean(">",_rut.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 138; +}if (true) break; + +case 138: +//C +this.state = 139; + BA.debugLineNum = 1887;BA.debugLine="rut.Position = 0"; +Debug.ShouldStop(1073741824); +_rut.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1888;BA.debugLine="rutaactualizar = rut.GetString(\"CAT_CL_RUTA"; +Debug.ShouldStop(-2147483648); +_rutaactualizar = _rut.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA")));Debug.locals.put("rutaactualizar", _rutaactualizar); + if (true) break; + +case 139: +//C +this.state = 140; +; + BA.debugLineNum = 1890;BA.debugLine="Starter.skmt.ExecNonQuery($\"UPDATE kmt_info"; +Debug.ShouldStop(2); +parent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("UPDATE kmt_info set gestion = 3, HORAENT = '"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__ref.getField(true,"_stime" /*RemoteObject*/ ))))),RemoteObject.createImmutable("' where CAT_CL_CODIGO In (select cuenta from cuentaa) and CAT_CL_RUTA = '"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_rutaactualizar))),RemoteObject.createImmutable("'"))))); + BA.debugLineNum = 1891;BA.debugLine="Starter.skmt.ExecNonQuery($\"DELETE FROM NOVE"; +Debug.ShouldStop(4); +parent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.createImmutable("DELETE FROM NOVENTA WHERE NV_CLIENTE IN (select cuenta from cuentaa)")))); + BA.debugLineNum = 1892;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO NOVE"; +Debug.ShouldStop(8); +parent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO NOVENTA (NV_CLIENTE,NV_FECHA,NV_USER,NV_MOTIVO,NV_COMM,NV_LAT,NV_LON,NV_FOTO,NV_REPROGRAMAR) VALUES(?,?,?,?,?,?,?,?,?) ")),(Object)(parent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {9},new Object[] {(__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*/ )),RemoteObject.createImmutable(("PAGO INCOMPLETO")),RemoteObject.createImmutable(("PAGO INCOMPLETO")),(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*/ )),(_rutaactualizar),RemoteObject.createImmutable((0))}))))); + BA.debugLineNum = 1893;BA.debugLine="Starter.skmt.ExecNonQuery(\"update HIST_VENTA"; +Debug.ShouldStop(16); +parent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("update HIST_VENTAS SET HVD_RECHAZO = 1, HVD_RECHAZOCANT = HVD_CANT, HVD_RECHAZOCANTC = CANTC, BCAJAS = 0 , CANTC = 0 WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))); + BA.debugLineNum = 1894;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENT"; +Debug.ShouldStop(32); +parent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.createImmutable("update HIST_VENTAS set HVD_RECHAZO = 2, HVD_RECHAZOCANT = HVD_RECHAZOCANT WHERE HVD_PROID = HVD_CODPROMO and HVD_CLIENTE in (Select CUENTA from cuentaa)")))); + BA.debugLineNum = 1895;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM PEDID"; +Debug.ShouldStop(64); +parent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))); + BA.debugLineNum = 1896;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT RUTAA FRO"; +Debug.ShouldStop(128); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT RUTAA FROM RUTAA")))); + BA.debugLineNum = 1897;BA.debugLine="d.Position = 0"; +Debug.ShouldStop(256); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1898;BA.debugLine="Dim ruta As String = d.GetString(\"RUTAA\")"; +Debug.ShouldStop(512); +_ruta = __ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("RUTAA")));Debug.locals.put("ruta", _ruta);Debug.locals.put("ruta", _ruta); + BA.debugLineNum = 1899;BA.debugLine="d.Close"; +Debug.ShouldStop(1024); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1900;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT CAT_CL_RU"; +Debug.ShouldStop(2048); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT CAT_CL_RUTA FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)")))); + BA.debugLineNum = 1901;BA.debugLine="d.Position = 0"; +Debug.ShouldStop(4096); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1902;BA.debugLine="Dim rutapre As String = d.GetString(\"CAT_CL_"; +Debug.ShouldStop(8192); +_rutapre = __ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA")));Debug.locals.put("rutapre", _rutapre);Debug.locals.put("rutapre", _rutapre); + BA.debugLineNum = 1903;BA.debugLine="d.Close"; +Debug.ShouldStop(16384); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1904;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT HVD_FECHA"; +Debug.ShouldStop(32768); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT HVD_FECHA FROM HIST_VENTAS WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)")))); + BA.debugLineNum = 1905;BA.debugLine="d.Position = 0"; +Debug.ShouldStop(65536); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1906;BA.debugLine="Dim fechaprev As String = d.GetString(\"HVD_F"; +Debug.ShouldStop(131072); +parent._fechaprev = __ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_FECHA")));__ref.setField("_fechaprev",parent._fechaprev); + BA.debugLineNum = 1907;BA.debugLine="d.Close"; +Debug.ShouldStop(262144); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1908;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT CUENTA FR"; +Debug.ShouldStop(524288); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT CUENTA FROM CUENTAA")))); + BA.debugLineNum = 1909;BA.debugLine="d.Position = 0"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1910;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO REPA"; +Debug.ShouldStop(2097152); +parent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO REPARTO_GEO (CLIENTE, USUARIO, FECHA_PUNTEO, LATITUD, LONGITUD, ALMACEN, RUTA_REPARTO, RUTA_PREV, FECHA_PREVENTA, MOTIVO, COMENTARIO,TIPO,ENVIO) VALUES(?,?,?,?,?,?,?,?,?,?,?,?,0)")),(Object)(parent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {12},new Object[] {__ref.getField(true,"_cuenta" /*RemoteObject*/ ),__ref.getField(true,"_usuario" /*RemoteObject*/ ),RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__ref.getField(true,"_stime" /*RemoteObject*/ )),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*/ ),parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_almacen" /*RemoteObject*/ ),_ruta,_rutapre,__ref.getField(true,"_fechaprev" /*RemoteObject*/ ),BA.ObjectToString("PAGO INCOMPLETO"),BA.ObjectToString("PAGO INCOMPLETO"),RemoteObject.createImmutable("NO ENTREGADO")}))))); + BA.debugLineNum = 1911;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +Debug.ShouldStop(4194304); +parent._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Principal"))); + if (true) break; + +case 140: +//C +this.state = 141; +; + if (true) break; + +case 141: +//C +this.state = 142; +; + if (true) break; + +case 142: +//C +this.state = 143; +; + if (true) break; + +case 143: +//C +this.state = 144; +; + if (true) break; + +case 144: +//C +this.state = -1; +; + BA.debugLineNum = 1921;BA.debugLine="End Sub"; +Debug.ShouldStop(1); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static void _imprime_pagare(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("imprime_pagare (c_cliente) ","c_cliente",6,__ref.getField(false, "ba"),__ref,2126); +if (RapidSub.canDelegate("imprime_pagare")) { __ref.runUserSub(false, "c_cliente","imprime_pagare", __ref); return;} +ResumableSub_imprime_pagare rsub = new ResumableSub_imprime_pagare(null,__ref); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_imprime_pagare extends BA.ResumableSub { +public ResumableSub_imprime_pagare(reparto_izca.keymon.lat.c_cliente parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +reparto_izca.keymon.lat.c_cliente parent; +RemoteObject _cont = RemoteObject.createImmutable(0); +RemoteObject _telefono = RemoteObject.createImmutable(""); +RemoteObject _c7 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _ticket = RemoteObject.createImmutable(""); +RemoteObject _c6 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +int _k = 0; +int _i = 0; +RemoteObject _resultado = RemoteObject.createImmutable(0); +int step59; +int limit59; +int step76; +int limit76; +int step100; +int limit100; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("imprime_pagare (c_cliente) ","c_cliente",6,__ref.getField(false, "ba"),__ref,2126); +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 = 2127;BA.debugLine="c=Starter.skmt.ExecQuery(\"select USUARIO from usu"; +Debug.ShouldStop(16384); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select USUARIO from usuarioa")))); + BA.debugLineNum = 2128;BA.debugLine="c.Position=0"; +Debug.ShouldStop(32768); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2129;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 = 2130;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(131072); +parent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 2131;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(262144); +__ref.setField ("_sdate" /*RemoteObject*/ ,parent.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(parent.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 2132;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(524288); +__ref.setField ("_stime" /*RemoteObject*/ ,parent.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(parent.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 2133;BA.debugLine="c.Close"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 2164;BA.debugLine="ProgressDialogShow(\"Imprimiendo, un momento ...\")"; +Debug.ShouldStop(524288); +parent.__c.runVoidMethod ("ProgressDialogShow",__ref.getField(false, "ba"),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Imprimiendo, un momento ...")))); + BA.debugLineNum = 2165;BA.debugLine="Printer1.DisConnect"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_disconnect" /*RemoteObject*/ ); + BA.debugLineNum = 2166;BA.debugLine="If Not(Printer1.IsConnected) Then"; +Debug.ShouldStop(2097152); +if (true) break; + +case 1: +//if +this.state = 38; +if (parent.__c.runMethod(true,"Not",(Object)(__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_isconnected" /*RemoteObject*/ ))).get().booleanValue()) { +this.state = 3; +}else { +this.state = 21; +}if (true) break; + +case 3: +//C +this.state = 4; + BA.debugLineNum = 2168;BA.debugLine="Printer1.Connect"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_connect" /*RemoteObject*/ ); + BA.debugLineNum = 2169;BA.debugLine="Private cont As Int = 0"; +Debug.ShouldStop(16777216); +_cont = BA.numberCast(int.class, 0);Debug.locals.put("cont", _cont);Debug.locals.put("cont", _cont); + BA.debugLineNum = 2170;BA.debugLine="Do While Not(impresoraConectada)"; +Debug.ShouldStop(33554432); +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 = 2171;BA.debugLine="Sleep(1000)"; +Debug.ShouldStop(67108864); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "imprime_pagare"),BA.numberCast(int.class, 1000)); +this.state = 117; +return; +case 117: +//C +this.state = 7; +; + BA.debugLineNum = 2172;BA.debugLine="cont = cont + 1"; +Debug.ShouldStop(134217728); +_cont = RemoteObject.solve(new RemoteObject[] {_cont,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("cont", _cont); + BA.debugLineNum = 2173;BA.debugLine="If cont = 7 Then Printer1.Connect 'Tratamos de"; +Debug.ShouldStop(268435456); +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 (reparto_izca.keymon.lat.escposprinter.class, "_connect" /*RemoteObject*/ ); +if (true) break; + +case 12: +//C +this.state = 13; +; + BA.debugLineNum = 2174;BA.debugLine="If cont > 15 Then impresoraConectada = True"; +Debug.ShouldStop(536870912); +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 = 2176;BA.debugLine="Sleep(500)"; +Debug.ShouldStop(-2147483648); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "imprime_pagare"),BA.numberCast(int.class, 500)); +this.state = 118; +return; +case 118: +//C +this.state = 38; +; + BA.debugLineNum = 2177;BA.debugLine="impresoraConectada = False"; +Debug.ShouldStop(1); +__ref.setField ("_impresoraconectada" /*RemoteObject*/ ,parent.__c.getField(true,"False")); + if (true) break; + +case 21: +//C +this.state = 22; + BA.debugLineNum = 2180;BA.debugLine="Printer1.Connect"; +Debug.ShouldStop(8); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_connect" /*RemoteObject*/ ); + BA.debugLineNum = 2181;BA.debugLine="Private cont As Int = 0"; +Debug.ShouldStop(16); +_cont = BA.numberCast(int.class, 0);Debug.locals.put("cont", _cont);Debug.locals.put("cont", _cont); + BA.debugLineNum = 2182;BA.debugLine="Do While Not(impresoraConectada) Or Not(Printer1"; +Debug.ShouldStop(32); +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 (reparto_izca.keymon.lat.escposprinter.class, "_isconnected" /*RemoteObject*/ ))))) { +this.state = 24; +if (true) break; +} +if (true) break; + +case 24: +//C +this.state = 25; + BA.debugLineNum = 2183;BA.debugLine="Sleep(1000)"; +Debug.ShouldStop(64); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "imprime_pagare"),BA.numberCast(int.class, 1000)); +this.state = 119; +return; +case 119: +//C +this.state = 25; +; + BA.debugLineNum = 2184;BA.debugLine="cont = cont + 1"; +Debug.ShouldStop(128); +_cont = RemoteObject.solve(new RemoteObject[] {_cont,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("cont", _cont); + BA.debugLineNum = 2185;BA.debugLine="If cont = 2 Then Printer1.Connect"; +Debug.ShouldStop(256); +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 (reparto_izca.keymon.lat.escposprinter.class, "_connect" /*RemoteObject*/ ); +if (true) break; + +case 30: +//C +this.state = 31; +; + BA.debugLineNum = 2186;BA.debugLine="If cont > 4 Then impresoraConectada = True"; +Debug.ShouldStop(512); +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 = 2188;BA.debugLine="Sleep(500)"; +Debug.ShouldStop(2048); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "imprime_pagare"),BA.numberCast(int.class, 500)); +this.state = 120; +return; +case 120: +//C +this.state = 38; +; + BA.debugLineNum = 2189;BA.debugLine="impresoraConectada = False"; +Debug.ShouldStop(4096); +__ref.setField ("_impresoraconectada" /*RemoteObject*/ ,parent.__c.getField(true,"False")); + if (true) break; + +case 38: +//C +this.state = 39; +; + BA.debugLineNum = 2192;BA.debugLine="TAMANO = 0"; +Debug.ShouldStop(32768); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 2193;BA.debugLine="ESPACIO = 28"; +Debug.ShouldStop(65536); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, 28)); + BA.debugLineNum = 2194;BA.debugLine="BLANCO = \" \""; +Debug.ShouldStop(131072); +__ref.setField ("_blanco" /*RemoteObject*/ ,BA.ObjectToString(" ")); + BA.debugLineNum = 2196;BA.debugLine="Dim telefono As String = \"\""; +Debug.ShouldStop(524288); +_telefono = BA.ObjectToString("");Debug.locals.put("telefono", _telefono);Debug.locals.put("telefono", _telefono); + BA.debugLineNum = 2197;BA.debugLine="Dim c7 As Cursor = Starter.skmt.ExecQuery(\"select"; +Debug.ShouldStop(1048576); +_c7 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c7 = 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 IFNULL(CAT_CL_TELEFONO,' ') AS CAT_CL_TELEFONO FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))));Debug.locals.put("c7", _c7);Debug.locals.put("c7", _c7); + BA.debugLineNum = 2198;BA.debugLine="If c7.RowCount > 0 Then"; +Debug.ShouldStop(2097152); +if (true) break; + +case 39: +//if +this.state = 42; +if (RemoteObject.solveBoolean(">",_c7.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 41; +}if (true) break; + +case 41: +//C +this.state = 42; + BA.debugLineNum = 2199;BA.debugLine="c7.Position = 0"; +Debug.ShouldStop(4194304); +_c7.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2200;BA.debugLine="telefono = c7.GetString(\"CAT_CL_TELEFONO\")"; +Debug.ShouldStop(8388608); +_telefono = _c7.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_TELEFONO")));Debug.locals.put("telefono", _telefono); + if (true) break; + +case 42: +//C +this.state = 43; +; + BA.debugLineNum = 2202;BA.debugLine="c7.Close"; +Debug.ShouldStop(33554432); +_c7.runVoidMethod ("Close"); + BA.debugLineNum = 2221;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 = 2222;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; +Debug.ShouldStop(8192); +parent.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HH:mm:ss")); + BA.debugLineNum = 2223;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 = 2224;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 = 2225;BA.debugLine="Printer1.WriteString(\"Izca Distribuciones\" & CRL"; +Debug.ShouldStop(65536); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Izca Distribuciones"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2226;BA.debugLine="Printer1.WriteString(sDate & CRLF)"; +Debug.ShouldStop(131072); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2227;BA.debugLine="Printer1.WriteString(sTime & CRLF)"; +Debug.ShouldStop(262144); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_stime" /*RemoteObject*/ ),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2228;BA.debugLine="Printer1.WriteString(\"Reparto:\" & usuario & CRLF"; +Debug.ShouldStop(524288); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Reparto:"),__ref.getField(true,"_usuario" /*RemoteObject*/ ),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2229;BA.debugLine="Printer1.WriteString(\"Tienda: \" & La_nombre.Text"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Tienda: "),__ref.getField(false,"_la_nombre" /*RemoteObject*/ ).runMethod(true,"getText"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2230;BA.debugLine="Printer1.WriteString(\"ID.Cliente: \" & la_cuenta."; +Debug.ShouldStop(2097152); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("ID.Cliente: "),__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2231;BA.debugLine="Printer1.WriteString(\"Calle: \" & la_Calle.Text &"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Calle: "),__ref.getField(false,"_la_calle" /*RemoteObject*/ ).runMethod(true,"getText"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2232;BA.debugLine="Printer1.WriteString(\"Colonia: \" & la_col.Text &"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Colonia: "),__ref.getField(false,"_la_col" /*RemoteObject*/ ).runMethod(true,"getText"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2233;BA.debugLine="Printer1.WriteString(\"Telefono: \" & telefono & C"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Telefono: "),_telefono,parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2234;BA.debugLine="Dim Ticket As String = 0"; +Debug.ShouldStop(33554432); +_ticket = BA.NumberToString(0);Debug.locals.put("Ticket", _ticket);Debug.locals.put("Ticket", _ticket); + BA.debugLineNum = 2235;BA.debugLine="Dim c6 As Cursor = Starter.skmt.ExecQuery(\"select"; +Debug.ShouldStop(67108864); +_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._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select distinct HVD_NUM_TICKET FROM HIST_VENTAS WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND HVD_PRONOMBRE <> 'Cobranza Pendiente' and HVD_BCREDITO = '1'"))));Debug.locals.put("c6", _c6);Debug.locals.put("c6", _c6); + BA.debugLineNum = 2236;BA.debugLine="If c6.RowCount > 0 Then"; +Debug.ShouldStop(134217728); +if (true) break; + +case 43: +//if +this.state = 50; +if (RemoteObject.solveBoolean(">",_c6.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 45; +}if (true) break; + +case 45: +//C +this.state = 46; + BA.debugLineNum = 2237;BA.debugLine="For k = 0 To c6.RowCount -1"; +Debug.ShouldStop(268435456); +if (true) break; + +case 46: +//for +this.state = 49; +step59 = 1; +limit59 = RemoteObject.solve(new RemoteObject[] {_c6.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_k = 0 ; +Debug.locals.put("k", _k); +this.state = 121; +if (true) break; + +case 121: +//C +this.state = 49; +if ((step59 > 0 && _k <= limit59) || (step59 < 0 && _k >= limit59)) this.state = 48; +if (true) break; + +case 122: +//C +this.state = 121; +_k = ((int)(0 + _k + step59)) ; +Debug.locals.put("k", _k); +if (true) break; + +case 48: +//C +this.state = 122; + BA.debugLineNum = 2238;BA.debugLine="c6.Position = k"; +Debug.ShouldStop(536870912); +_c6.runMethod(true,"setPosition",BA.numberCast(int.class, _k)); + BA.debugLineNum = 2239;BA.debugLine="Ticket = c6.GetString(\"HVD_NUM_TICKET\")"; +Debug.ShouldStop(1073741824); +_ticket = _c6.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_NUM_TICKET")));Debug.locals.put("Ticket", _ticket); + BA.debugLineNum = 2240;BA.debugLine="Printer1.WriteString(\"Num. Ticket \" & (k +1)&\":"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Num. Ticket "),(RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_k),RemoteObject.createImmutable(1)}, "+",1, 1)),RemoteObject.createImmutable(": "),_ticket,parent.__c.getField(true,"CRLF")))); + if (true) break; +if (true) break; + +case 49: +//C +this.state = 50; +Debug.locals.put("k", _k); +; + if (true) break; + +case 50: +//C +this.state = 51; +; + BA.debugLineNum = 2243;BA.debugLine="c6.Close"; +Debug.ShouldStop(4); +_c6.runVoidMethod ("Close"); + BA.debugLineNum = 2244;BA.debugLine="Printer1.WriteString(\"Fecha: \" & sDate &\" \" & sT"; +Debug.ShouldStop(8); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Fecha: "),__ref.getField(true,"_sdate" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__ref.getField(true,"_stime" /*RemoteObject*/ ),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2245;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +Debug.ShouldStop(16); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2249;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT * FROM HIST_VE"; +Debug.ShouldStop(256); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT * FROM HIST_VENTAS WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA) and HVD_BCREDITO = '1' ")))); + BA.debugLineNum = 2250;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(512); +if (true) break; + +case 51: +//if +this.state = 72; +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 53; +}if (true) break; + +case 53: +//C +this.state = 54; + BA.debugLineNum = 2251;BA.debugLine="Printer1.WriteString(\"------------PAGARE--------"; +Debug.ShouldStop(1024); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("------------PAGARE------------"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2252;BA.debugLine="Printer1.WriteString(\"\" & CRLF)"; +Debug.ShouldStop(2048); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(""),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2253;BA.debugLine="Printer1.WriteString(\"Pagare por los articulos\""; +Debug.ShouldStop(4096); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Pagare por los articulos"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2254;BA.debugLine="Printer1.WriteString(\"--------------------------"; +Debug.ShouldStop(8192); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("------------------------------"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2257;BA.debugLine="s=Starter.skmt.ExecQuery($\"select HVD_PRONOMBRE,"; +Debug.ShouldStop(65536); +__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.createImmutable("select HVD_PRONOMBRE, HVD_CANT, length(HVD_CANT) as L_CANT, HVD_COSTO_TOT, length(HVD_COSTO_TOT) as L_COSTOU,HVD_PROID, HVD_CODPROMO,IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT, HVD_RECHAZO FROM HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) and HVD_BCREDITO = '1' order by HVD_PROID"))))); + BA.debugLineNum = 2258;BA.debugLine="If S.RowCount>0 Then"; +Debug.ShouldStop(131072); +if (true) break; + +case 54: +//if +this.state = 71; +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 56; +}if (true) break; + +case 56: +//C +this.state = 57; + BA.debugLineNum = 2259;BA.debugLine="For i=0 To S.RowCount -1"; +Debug.ShouldStop(262144); +if (true) break; + +case 57: +//for +this.state = 70; +step76 = 1; +limit76 = 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 = 123; +if (true) break; + +case 123: +//C +this.state = 70; +if ((step76 > 0 && _i <= limit76) || (step76 < 0 && _i >= limit76)) this.state = 59; +if (true) break; + +case 124: +//C +this.state = 123; +_i = ((int)(0 + _i + step76)) ; +Debug.locals.put("i", _i); +if (true) break; + +case 59: +//C +this.state = 60; + BA.debugLineNum = 2260;BA.debugLine="S.Position=i"; +Debug.ShouldStop(524288); +__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 2261;BA.debugLine="Log(s.GetString(\"HVD_RECHAZO\"))"; +Debug.ShouldStop(1048576); +parent.__c.runVoidMethod ("LogImpl","89830535",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZO"))),0); + BA.debugLineNum = 2262;BA.debugLine="If s.GetString(\"HVD_CANT\") - s.GetString(\"HVD_"; +Debug.ShouldStop(2097152); +if (true) break; + +case 60: +//if +this.state = 69; +if (RemoteObject.solveBoolean(">",RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0),BA.numberCast(double.class, 0))) { +this.state = 62; +}if (true) break; + +case 62: +//C +this.state = 63; + BA.debugLineNum = 2263;BA.debugLine="If s.GetString(\"HVD_CODPROMO\") = Subs.traeAlm"; +Debug.ShouldStop(4194304); +if (true) break; + +case 63: +//if +this.state = 68; +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CODPROMO"))),parent._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")))) { +this.state = 65; +}else +{ BA.debugLineNum = 2287;BA.debugLine="Else If s.GetString(\"HVD_RECHAZO\") = 1 Then"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZO"))),BA.NumberToString(1))) { +this.state = 67; +}} +if (true) break; + +case 65: +//C +this.state = 68; + BA.debugLineNum = 2264;BA.debugLine="Printer1.Justify = 0"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2265;BA.debugLine="Printer1.WriteString((s.GetString(\"HVD_CANT\""; +Debug.ShouldStop(16777216); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.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("HVD_CANT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0)),RemoteObject.createImmutable(" "),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PRONOMBRE"))),parent.__c.getField(true,"CRLF")))); + if (true) break; + +case 67: +//C +this.state = 68; + BA.debugLineNum = 2288;BA.debugLine="Printer1.Justify = 0"; +Debug.ShouldStop(32768); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2289;BA.debugLine="Printer1.WriteString((s.GetString(\"HVD_CANT\""; +Debug.ShouldStop(65536); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.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("HVD_CANT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0)),RemoteObject.createImmutable(" "),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PRONOMBRE"))),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2314;BA.debugLine="Printer1.Justify = 0"; +Debug.ShouldStop(512); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0)); + if (true) break; + +case 68: +//C +this.state = 69; +; + if (true) break; + +case 69: +//C +this.state = 124; +; + if (true) break; +if (true) break; + +case 70: +//C +this.state = 71; +Debug.locals.put("i", _i); +; + if (true) break; + +case 71: +//C +this.state = 72; +; + if (true) break; + +case 72: +//C +this.state = 73; +; + BA.debugLineNum = 2320;BA.debugLine="Printer1.Justify = 0"; +Debug.ShouldStop(32768); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2321;BA.debugLine="s.Close"; +Debug.ShouldStop(65536); +__ref.getField(false,"_s" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 2322;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +Debug.ShouldStop(131072); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2324;BA.debugLine="s=Starter.skmt.ExecQuery($\"select HVD_PRONOMBRE,"; +Debug.ShouldStop(524288); +__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select HVD_PRONOMBRE, HVD_CANT, length(HVD_CANT) as L_CANT, HVD_COSTO_TOT, length(HVD_COSTO_TOT) as L_COSTOU,HVD_PROID, HVD_CODPROMO,IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT FROM HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) AND HVD_RECHAZO = 0 AND HVD_CODPROMO <> '"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),RemoteObject.createImmutable("' and HVD_BCREDITO = '1' order by HVD_CODPROMO, ESPROMO DESC, HVD_PROID")))))); + BA.debugLineNum = 2325;BA.debugLine="If S.RowCount>0 Then"; +Debug.ShouldStop(1048576); +if (true) break; + +case 73: +//if +this.state = 100; +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 75; +}if (true) break; + +case 75: +//C +this.state = 76; + BA.debugLineNum = 2326;BA.debugLine="Printer1.WriteString(\"-------PROMOS ENTREGA-----"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("-------PROMOS ENTREGA--------"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2327;BA.debugLine="Printer1.WriteString(\"Cant. Precio I"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Cant. Precio Importe"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2328;BA.debugLine="Printer1.WriteString(\"--------------------------"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("------------------------------"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2329;BA.debugLine="For i=0 To S.RowCount -1"; +Debug.ShouldStop(16777216); +if (true) break; + +case 76: +//for +this.state = 99; +step100 = 1; +limit100 = 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 = 125; +if (true) break; + +case 125: +//C +this.state = 99; +if ((step100 > 0 && _i <= limit100) || (step100 < 0 && _i >= limit100)) this.state = 78; +if (true) break; + +case 126: +//C +this.state = 125; +_i = ((int)(0 + _i + step100)) ; +Debug.locals.put("i", _i); +if (true) break; + +case 78: +//C +this.state = 79; + BA.debugLineNum = 2330;BA.debugLine="S.Position=i"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 2331;BA.debugLine="If s.GetString(\"HVD_CANT\") - s.GetString(\"HVD_R"; +Debug.ShouldStop(67108864); +if (true) break; + +case 79: +//if +this.state = 98; +if (RemoteObject.solveBoolean(">",RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0),BA.numberCast(double.class, 0))) { +this.state = 81; +}if (true) break; + +case 81: +//C +this.state = 82; + BA.debugLineNum = 2332;BA.debugLine="If s.GetString(\"HVD_CODPROMO\") <> Subs.traeAlm"; +Debug.ShouldStop(134217728); +if (true) break; + +case 82: +//if +this.state = 97; +if (RemoteObject.solveBoolean("!",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CODPROMO"))),parent._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")))) { +this.state = 84; +}else { +this.state = 96; +}if (true) break; + +case 84: +//C +this.state = 85; + BA.debugLineNum = 2333;BA.debugLine="Printer1.Justify = 0"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2334;BA.debugLine="If s.GetString(\"HVD_CODPROMO\") = s.GetString("; +Debug.ShouldStop(536870912); +if (true) break; + +case 85: +//if +this.state = 94; +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CODPROMO"))),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID"))))) { +this.state = 87; +}else { +this.state = 89; +}if (true) break; + +case 87: +//C +this.state = 94; + if (true) break; + +case 89: +//C +this.state = 90; + BA.debugLineNum = 2337;BA.debugLine="If s.GetString(\"HVD_PRONOMBRE\") <> \"Cobranza"; +Debug.ShouldStop(1); +if (true) break; + +case 90: +//if +this.state = 93; +if (RemoteObject.solveBoolean("!",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PRONOMBRE"))),BA.ObjectToString("Cobranza Pendiente"))) { +this.state = 92; +}if (true) break; + +case 92: +//C +this.state = 93; + BA.debugLineNum = 2339;BA.debugLine="Printer1.WriteString((s.GetString(\"HVD_CANT"; +Debug.ShouldStop(4); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.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("HVD_CANT")))),BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0)),RemoteObject.createImmutable(" "),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PRONOMBRE"))),parent.__c.getField(true,"CRLF")))); + if (true) break; + +case 93: +//C +this.state = 94; +; + if (true) break; + +case 94: +//C +this.state = 97; +; + BA.debugLineNum = 2360;BA.debugLine="Printer1.Justify = 0"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0)); + if (true) break; + +case 96: +//C +this.state = 97; + if (true) break; + +case 97: +//C +this.state = 98; +; + if (true) break; + +case 98: +//C +this.state = 126; +; + if (true) break; +if (true) break; + +case 99: +//C +this.state = 100; +Debug.locals.put("i", _i); +; + if (true) break; + +case 100: +//C +this.state = 101; +; + BA.debugLineNum = 2367;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2368;BA.debugLine="Printer1.WriteString(\"Por monto de $\" &l_montopag"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Por monto de $"),__ref.getField(false,"_l_montopag" /*RemoteObject*/ ).runMethod(true,"getText"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2369;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +Debug.ShouldStop(1); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2370;BA.debugLine="Printer1.WriteString(\"Debo(mos) y pagare(mos) inc"; +Debug.ShouldStop(2); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Debo(mos) y pagare(mos) incon"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2371;BA.debugLine="Printer1.WriteString(\"dicionalmente en __________"; +Debug.ShouldStop(4); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("dicionalmente en _____________"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2372;BA.debugLine="Printer1.WriteString(\"o en el lugar donde se me \""; +Debug.ShouldStop(8); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("o en el lugar donde se me "),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2373;BA.debugLine="Printer1.WriteString(\"requiera por el presente pa"; +Debug.ShouldStop(16); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("requiera por el presente pagare"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2374;BA.debugLine="Printer1.WriteString(\"a Izca Distribuciones la \"&"; +Debug.ShouldStop(32); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("a Izca Distribuciones la "),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2375;BA.debugLine="Printer1.WriteString(\"cantidad de $\"&l_montopag.T"; +Debug.ShouldStop(64); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("cantidad de $"),__ref.getField(false,"_l_montopag" /*RemoteObject*/ ).runMethod(true,"getText"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2376;BA.debugLine="Printer1.WriteString(\"valor recibido a entera \" &"; +Debug.ShouldStop(128); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("valor recibido a entera "),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2377;BA.debugLine="Printer1.WriteString(\"satisfaccion. La falta de p"; +Debug.ShouldStop(256); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("satisfaccion. La falta de pago"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2378;BA.debugLine="Printer1.WriteString(\"a la fecha indicada causara"; +Debug.ShouldStop(512); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("a la fecha indicada causara "),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2379;BA.debugLine="Printer1.WriteString(\"intereses moratorios a razo"; +Debug.ShouldStop(1024); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("intereses moratorios a razon "),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2380;BA.debugLine="Printer1.WriteString(\"de ______% mensual a la fec"; +Debug.ShouldStop(2048); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("de ______% mensual a la fecha."),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2381;BA.debugLine="Printer1.WriteString(\"\" & CRLF)"; +Debug.ShouldStop(4096); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(""),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2382;BA.debugLine="Printer1.WriteString(\"\" & CRLF)"; +Debug.ShouldStop(8192); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(""),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2383;BA.debugLine="Printer1.WriteString(\" Recibi"; +Debug.ShouldStop(16384); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" Recibi "),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2384;BA.debugLine="Printer1.WriteString(\"\" & CRLF)"; +Debug.ShouldStop(32768); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(""),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2385;BA.debugLine="Printer1.WriteString(\"\" & CRLF)"; +Debug.ShouldStop(65536); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(""),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2386;BA.debugLine="Printer1.WriteString(\"___________________________"; +Debug.ShouldStop(131072); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("______________________________"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2388;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +Debug.ShouldStop(524288); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2389;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2390;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2391;BA.debugLine="DateTime.DateFormat = \"ddMMyyyy\""; +Debug.ShouldStop(4194304); +parent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("ddMMyyyy")); + BA.debugLineNum = 2392;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 = 2394;BA.debugLine="Printer1.WriteBarCode(\"I\",Ticket&sDate)"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writebarcode" /*RemoteObject*/ ,(Object)(BA.ObjectToString("I")),(Object)(RemoteObject.concat(_ticket,__ref.getField(true,"_sdate" /*RemoteObject*/ )))); + BA.debugLineNum = 2396;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2397;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2398;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 2399;BA.debugLine="Sleep(1000)"; +Debug.ShouldStop(1073741824); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "imprime_pagare"),BA.numberCast(int.class, 1000)); +this.state = 127; +return; +case 127: +//C +this.state = 101; +; + BA.debugLineNum = 2400;BA.debugLine="Printer1.DisConnect"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_disconnect" /*RemoteObject*/ ); + BA.debugLineNum = 2401;BA.debugLine="ProgressDialogHide"; +Debug.ShouldStop(1); +parent.__c.runVoidMethod ("ProgressDialogHide"); + BA.debugLineNum = 2402;BA.debugLine="If banderaimp = 1 Then"; +Debug.ShouldStop(2); +if (true) break; + +case 101: +//if +this.state = 116; +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_banderaimp" /*RemoteObject*/ ),BA.numberCast(double.class, 1))) { +this.state = 103; +}else +{ BA.debugLineNum = 2412;BA.debugLine="Else If banderaimp = 0 Then"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_banderaimp" /*RemoteObject*/ ),BA.numberCast(double.class, 0))) { +this.state = 111; +}} +if (true) break; + +case 103: +//C +this.state = 104; + BA.debugLineNum = 2403;BA.debugLine="Msgbox2Async(\"Deseas imprimir de nuevo el PAGARE"; +Debug.ShouldStop(4); +parent.__c.runVoidMethod ("Msgbox2Async",(Object)(BA.ObjectToCharSequence("Deseas imprimir de nuevo el PAGARE?")),(Object)(BA.ObjectToCharSequence("ATENCION")),(Object)(BA.ObjectToString("SI")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("NO")),(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 = 2404;BA.debugLine="Wait For Msgbox_Result (resultado As Int)"; +Debug.ShouldStop(8); +parent.__c.runVoidMethod ("WaitFor","msgbox_result", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "imprime_pagare"), null); +this.state = 128; +return; +case 128: +//C +this.state = 104; +_resultado = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("resultado", _resultado); +; + BA.debugLineNum = 2405;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; +Debug.ShouldStop(16); +if (true) break; + +case 104: +//if +this.state = 109; +if (RemoteObject.solveBoolean("=",_resultado,BA.numberCast(double.class, parent.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { +this.state = 106; +}else { +this.state = 108; +}if (true) break; + +case 106: +//C +this.state = 109; + BA.debugLineNum = 2406;BA.debugLine="imprime_pagare"; +Debug.ShouldStop(32); +__ref.runClassMethod (reparto_izca.keymon.lat.c_cliente.class, "_imprime_pagare" /*void*/ ); + if (true) break; + +case 108: +//C +this.state = 109; + BA.debugLineNum = 2408;BA.debugLine="b_acred_Click"; +Debug.ShouldStop(128); +__ref.runClassMethod (reparto_izca.keymon.lat.c_cliente.class, "_b_acred_click" /*RemoteObject*/ ); + if (true) break; + +case 109: +//C +this.state = 116; +; + if (true) break; + +case 111: +//C +this.state = 112; + BA.debugLineNum = 2413;BA.debugLine="Msgbox2Async(\"Deseas imprimir de nuevo el PAGARE"; +Debug.ShouldStop(4096); +parent.__c.runVoidMethod ("Msgbox2Async",(Object)(BA.ObjectToCharSequence("Deseas imprimir de nuevo el PAGARE?")),(Object)(BA.ObjectToCharSequence("ATENCION")),(Object)(BA.ObjectToString("SI")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("NO")),(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 = 2414;BA.debugLine="Wait For Msgbox_Result (resultado As Int)"; +Debug.ShouldStop(8192); +parent.__c.runVoidMethod ("WaitFor","msgbox_result", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "imprime_pagare"), null); +this.state = 129; +return; +case 129: +//C +this.state = 112; +_resultado = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("resultado", _resultado); +; + BA.debugLineNum = 2415;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; +Debug.ShouldStop(16384); +if (true) break; + +case 112: +//if +this.state = 115; +if (RemoteObject.solveBoolean("=",_resultado,BA.numberCast(double.class, parent.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { +this.state = 114; +}if (true) break; + +case 114: +//C +this.state = 115; + BA.debugLineNum = 2416;BA.debugLine="imprime_pagare"; +Debug.ShouldStop(32768); +__ref.runClassMethod (reparto_izca.keymon.lat.c_cliente.class, "_imprime_pagare" /*void*/ ); + if (true) break; + +case 115: +//C +this.state = 116; +; + if (true) break; + +case 116: +//C +this.state = -1; +; + BA.debugLineNum = 2420;BA.debugLine="End Sub"; +Debug.ShouldStop(524288); +if (true) break; + + } + } + } +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",6,__ref.getField(false, "ba"),__ref,103); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "c_cliente","initialize", __ref, _ba);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); + BA.debugLineNum = 103;BA.debugLine="Public Sub Initialize As Object"; +Debug.ShouldStop(64); + BA.debugLineNum = 104;BA.debugLine="Return Me"; +Debug.ShouldStop(128); +if (true) return __ref; + BA.debugLineNum = 105;BA.debugLine="End Sub"; +Debug.ShouldStop(256); +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_cliente) ","c_cliente",6,__ref.getField(false, "ba"),__ref,1234); +if (RapidSub.canDelegate("jobdone")) { return __ref.runUserSub(false, "c_cliente","jobdone", __ref, _job);} +RemoteObject _resultado = RemoteObject.declareNull("reparto_izca.keymon.lat.dbrequestmanager._dbresult"); +RemoteObject _cliente = RemoteObject.createImmutable(""); +RemoteObject _records = null; +RemoteObject _k = RemoteObject.createImmutable(""); +Debug.locals.put("Job", _job); + BA.debugLineNum = 1234;BA.debugLine="Sub JobDone(Job As HttpJob)"; +Debug.ShouldStop(131072); + BA.debugLineNum = 1235;BA.debugLine="Log(Job.Success)"; +Debug.ShouldStop(262144); +c_cliente.__c.runVoidMethod ("LogImpl","89109505",BA.ObjectToString(_job.getField(true,"_success" /*RemoteObject*/ )),0); + BA.debugLineNum = 1236;BA.debugLine="If Job.Success = False Then"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_success" /*RemoteObject*/ ),c_cliente.__c.getField(true,"False"))) { + }else { + BA.debugLineNum = 1239;BA.debugLine="LogColor(\"JobDone: '\" & reqManager.HandleJob(Job"; +Debug.ShouldStop(4194304); +c_cliente.__c.runVoidMethod ("LogImpl","89109509",RemoteObject.concat(RemoteObject.createImmutable("JobDone: '"),__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job)).getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable("' - Registros: "),__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job)).getField(false,"Rows" /*RemoteObject*/ ).runMethod(true,"getSize")),c_cliente.__c.getField(false,"Colors").getField(true,"Green")); + BA.debugLineNum = 1240;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 1241;BA.debugLine="Dim resultado As DBResult = reqManager.HandleJo"; +Debug.ShouldStop(16777216); +_resultado = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("resultado", _resultado);Debug.locals.put("resultado", _resultado); + BA.debugLineNum = 1242;BA.debugLine="If resultado.Tag.As(String).IndexOf(\"ins_REPART"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean(">",(BA.ObjectToString(_resultado.getField(false,"Tag" /*RemoteObject*/ ))).runMethod(true,"indexOf",(Object)(RemoteObject.createImmutable("ins_REPARTOPendientes_head_"))),BA.numberCast(double.class, -(double) (0 + 1)))) { + BA.debugLineNum = 1243;BA.debugLine="Private cliente As String= resultado.Tag"; +Debug.ShouldStop(67108864); +_cliente = BA.ObjectToString(_resultado.getField(false,"Tag" /*RemoteObject*/ ));Debug.locals.put("cliente", _cliente);Debug.locals.put("cliente", _cliente); + BA.debugLineNum = 1244;BA.debugLine="cliente = cliente.SubString(cliente.IndexOf(\"_"; +Debug.ShouldStop(134217728); +_cliente = _cliente.runMethod(true,"substring",(Object)(RemoteObject.solve(new RemoteObject[] {_cliente.runMethod(true,"indexOf",(Object)(RemoteObject.createImmutable("_"))),RemoteObject.createImmutable(24)}, "+",1, 1)));Debug.locals.put("cliente", _cliente); + BA.debugLineNum = 1245;BA.debugLine="Log($\"Cliente1:${cliente}\"$)"; +Debug.ShouldStop(268435456); +c_cliente.__c.runVoidMethod ("LogImpl","89109515",(RemoteObject.concat(RemoteObject.createImmutable("Cliente1:"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cliente))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 1246;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update REPARTO_GEO"; +Debug.ShouldStop(536870912); +c_cliente._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("update REPARTO_GEO SET ENVIO = ? WHERE CLIENTE = ? AND ENVIO <> ?")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {3},new Object[] {BA.ObjectToString("1"),_cliente,RemoteObject.createImmutable("1")}))))); + BA.debugLineNum = 1247;BA.debugLine="For Each records() As Object In resultado.Rows"; +Debug.ShouldStop(1073741824); +{ +final RemoteObject group12 = _resultado.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen12 = group12.runMethod(true,"getSize").get() +;int index12 = 0; +; +for (; index12 < groupLen12;index12++){ +_records = (group12.runMethod(false,"Get",index12));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 1248;BA.debugLine="For Each k As String In resultado.Columns.Key"; +Debug.ShouldStop(-2147483648); +{ +final RemoteObject group13 = _resultado.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Keys"); +final int groupLen13 = group13.runMethod(true,"getSize").get() +;int index13 = 0; +; +for (; index13 < groupLen13;index13++){ +_k = BA.ObjectToString(group13.runMethod(false,"Get",index13));Debug.locals.put("k", _k); +Debug.locals.put("k", _k); + BA.debugLineNum = 1249;BA.debugLine="Log(resultado.Tag & \": \" & k & \": \" & record"; +Debug.ShouldStop(1); +c_cliente.__c.runVoidMethod ("LogImpl","89109519",RemoteObject.concat(_resultado.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(": "),_k,RemoteObject.createImmutable(": "),_records.getArrayElement(false,BA.numberCast(int.class, _resultado.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((_k)))))),0); + } +}Debug.locals.put("k", _k); +; + } +}Debug.locals.put("records", _records); +; + }; + }; + BA.debugLineNum = 1254;BA.debugLine="Job.Release"; +Debug.ShouldStop(32); +_job.runClassMethod (reparto_izca.keymon.lat.httpjob.class, "_release" /*RemoteObject*/ ); + }; + BA.debugLineNum = 1257;BA.debugLine="End Sub"; +Debug.ShouldStop(256); +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",6,__ref.getField(false, "ba"),__ref,427); +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 = 427;BA.debugLine="Sub ListView1_ItemLongClick (Position As Int, Valu"; +Debug.ShouldStop(1024); + BA.debugLineNum = 429;BA.debugLine="End Sub"; +Debug.ShouldStop(4096); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _mandapendientesreparto(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("mandaPendientesreparto (c_cliente) ","c_cliente",6,__ref.getField(false, "ba"),__ref,1214); +if (RapidSub.canDelegate("mandapendientesreparto")) { return __ref.runUserSub(false, "c_cliente","mandapendientesreparto", __ref);} + BA.debugLineNum = 1214;BA.debugLine="Sub mandaPendientesreparto"; +Debug.ShouldStop(536870912); + BA.debugLineNum = 1230;BA.debugLine="End Sub"; +Debug.ShouldStop(8192); +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",6,__ref.getField(false, "ba"),__ref,580); +if (RapidSub.canDelegate("nuevo_click")) { return __ref.runUserSub(false, "c_cliente","nuevo_click", __ref);} + BA.debugLineNum = 580;BA.debugLine="Sub NUEVO_Click"; +Debug.ShouldStop(8); + BA.debugLineNum = 581;BA.debugLine="StartActivity(MAPA_CLIENTE)"; +Debug.ShouldStop(16); +c_cliente.__c.runVoidMethod ("StartActivity",__ref.getField(false, "ba"),(Object)((c_cliente._mapa_cliente.getObject()))); + BA.debugLineNum = 582;BA.debugLine="End Sub"; +Debug.ShouldStop(32); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _p_abono_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("p_abono_Click (c_cliente) ","c_cliente",6,__ref.getField(false, "ba"),__ref,2016); +if (RapidSub.canDelegate("p_abono_click")) { return __ref.runUserSub(false, "c_cliente","p_abono_click", __ref);} + BA.debugLineNum = 2016;BA.debugLine="Private Sub p_abono_Click"; +Debug.ShouldStop(-2147483648); + BA.debugLineNum = 2018;BA.debugLine="End Sub"; +Debug.ShouldStop(2); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _p_credito_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("p_credito_Click (c_cliente) ","c_cliente",6,__ref.getField(false, "ba"),__ref,1331); +if (RapidSub.canDelegate("p_credito_click")) { return __ref.runUserSub(false, "c_cliente","p_credito_click", __ref);} + BA.debugLineNum = 1331;BA.debugLine="Private Sub p_credito_Click"; +Debug.ShouldStop(262144); + BA.debugLineNum = 1333;BA.debugLine="End Sub"; +Debug.ShouldStop(1048576); +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",6,__ref.getField(false, "ba"),__ref,1140); +if (RapidSub.canDelegate("printer_connected")) { return __ref.runUserSub(false, "c_cliente","printer_connected", __ref, _success);} +Debug.locals.put("Success", _success); + BA.debugLineNum = 1140;BA.debugLine="Sub Printer_Connected (Success As Boolean)"; +Debug.ShouldStop(524288); + BA.debugLineNum = 1141;BA.debugLine="If Success Then"; +Debug.ShouldStop(1048576); +if (_success.get().booleanValue()) { + BA.debugLineNum = 1143;BA.debugLine="PASA_IMP = \"1\""; +Debug.ShouldStop(4194304); +__ref.setField ("_pasa_imp" /*RemoteObject*/ ,BA.ObjectToString("1")); + }else { + BA.debugLineNum = 1146;BA.debugLine="If Msgbox2(\"\", \"Printer Error\",\"Reprint\",\"Cancel"; +Debug.ShouldStop(33554432); +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 = 1147;BA.debugLine="StartPrinter"; +Debug.ShouldStop(67108864); +__ref.runClassMethod (reparto_izca.keymon.lat.c_cliente.class, "_startprinter" /*RemoteObject*/ ); + }; + }; + BA.debugLineNum = 1150;BA.debugLine="End Sub"; +Debug.ShouldStop(536870912); +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",6,__ref.getField(false, "ba"),__ref,1115); +if (RapidSub.canDelegate("printer1_connected")) { return __ref.runUserSub(false, "c_cliente","printer1_connected", __ref, _success);} +Debug.locals.put("Success", _success); + BA.debugLineNum = 1115;BA.debugLine="Sub Printer1_Connected (Success As Boolean)"; +Debug.ShouldStop(67108864); + BA.debugLineNum = 1117;BA.debugLine="If Success Then"; +Debug.ShouldStop(268435456); +if (_success.get().booleanValue()) { + BA.debugLineNum = 1118;BA.debugLine="ToastMessageShow(\"Impresora conectada\", False)"; +Debug.ShouldStop(536870912); +c_cliente.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Impresora conectada")),(Object)(c_cliente.__c.getField(true,"False"))); + BA.debugLineNum = 1119;BA.debugLine="Starter.skmt.ExecNonQuery2(\"delete from CAT_VARI"; +Debug.ShouldStop(1073741824); +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 = 1120;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_VARI"; +Debug.ShouldStop(-2147483648); +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 = 1123;BA.debugLine="impresoraConectada = True"; +Debug.ShouldStop(4); +__ref.setField ("_impresoraconectada" /*RemoteObject*/ ,c_cliente.__c.getField(true,"True")); + }else { + BA.debugLineNum = 1127;BA.debugLine="LogColor(\"Error conectando la impresora\", Colors"; +Debug.ShouldStop(64); +c_cliente.__c.runVoidMethod ("LogImpl","88716300",BA.ObjectToString("Error conectando la impresora"),c_cliente.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 1128;BA.debugLine="errorImpresora = errorImpresora + 1"; +Debug.ShouldStop(128); +__ref.setField ("_errorimpresora" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_errorimpresora" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "+",1, 1)); + BA.debugLineNum = 1129;BA.debugLine="If errorImpresora > 1 Then"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean(">",__ref.getField(true,"_errorimpresora" /*RemoteObject*/ ),BA.numberCast(double.class, 1))) { + BA.debugLineNum = 1130;BA.debugLine="Starter.MAC_IMPRESORA = \"0\""; +Debug.ShouldStop(512); +c_cliente._starter._mac_impresora /*RemoteObject*/ = BA.ObjectToString("0"); + BA.debugLineNum = 1131;BA.debugLine="errorImpresora = 0"; +Debug.ShouldStop(1024); +__ref.setField ("_errorimpresora" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + }; + }; + BA.debugLineNum = 1134;BA.debugLine="End Sub"; +Debug.ShouldStop(8192); +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",6,__ref.getField(false, "ba"),__ref,1136); +if (RapidSub.canDelegate("printer1_error")) { return __ref.runUserSub(false, "c_cliente","printer1_error", __ref);} + BA.debugLineNum = 1136;BA.debugLine="Sub Printer1_Error"; +Debug.ShouldStop(32768); + BA.debugLineNum = 1137;BA.debugLine="Log(\"error printer\")"; +Debug.ShouldStop(65536); +c_cliente.__c.runVoidMethod ("LogImpl","88781825",RemoteObject.createImmutable("error printer"),0); + BA.debugLineNum = 1138;BA.debugLine="End Sub"; +Debug.ShouldStop(131072); +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",6,__ref.getField(false, "ba"),__ref,1152); +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 = 1152;BA.debugLine="Sub StartPrinter"; +Debug.ShouldStop(-2147483648); + BA.debugLineNum = 1153;BA.debugLine="Dim PairedDevices As Map"; +Debug.ShouldStop(1); +c_cliente._paireddevices = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");__ref.setField("_paireddevices",c_cliente._paireddevices); + BA.debugLineNum = 1154;BA.debugLine="Dim L1 As List"; +Debug.ShouldStop(2); +_l1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");Debug.locals.put("L1", _l1); + BA.debugLineNum = 1155;BA.debugLine="Dim resimp As Int"; +Debug.ShouldStop(4); +_resimp = RemoteObject.createImmutable(0);Debug.locals.put("resimp", _resimp); + BA.debugLineNum = 1156;BA.debugLine="ToastMessageShow(\"Printing.....\",True)"; +Debug.ShouldStop(8); +c_cliente.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Printing.....")),(Object)(c_cliente.__c.getField(true,"True"))); + BA.debugLineNum = 1157;BA.debugLine="PairedDevices.Initialize"; +Debug.ShouldStop(16); +__ref.getField(false,"_paireddevices" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1158;BA.debugLine="Try"; +Debug.ShouldStop(32); +try { BA.debugLineNum = 1159;BA.debugLine="PairedDevices = cmp20.GetPairedDevices"; +Debug.ShouldStop(64); +__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 = 1161;BA.debugLine="Msgbox(\"Getting Paired Devices\",\"Printer Error\")"; +Debug.ShouldStop(256); +c_cliente.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("Getting Paired Devices")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Printer Error"))),__ref.getField(false, "ba")); + BA.debugLineNum = 1162;BA.debugLine="printer.Close"; +Debug.ShouldStop(512); +__ref.getField(false,"_printer" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1163;BA.debugLine="cmp20.Disconnect"; +Debug.ShouldStop(1024); +__ref.getField(false,"_cmp20" /*RemoteObject*/ ).runVoidMethod ("Disconnect"); + }; + BA.debugLineNum = 1166;BA.debugLine="If PairedDevices.Size = 0 Then"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_paireddevices" /*RemoteObject*/ ).runMethod(true,"getSize"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1167;BA.debugLine="Msgbox(\"Error Connecting to Printer - Printer No"; +Debug.ShouldStop(16384); +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 = 1168;BA.debugLine="Return"; +Debug.ShouldStop(32768); +if (true) return RemoteObject.createImmutable(""); + }; + BA.debugLineNum = 1171;BA.debugLine="If PairedDevices.Size = 1 Then"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_paireddevices" /*RemoteObject*/ ).runMethod(true,"getSize"),BA.numberCast(double.class, 1))) { + BA.debugLineNum = 1172;BA.debugLine="Try"; +Debug.ShouldStop(524288); +try { BA.debugLineNum = 1173;BA.debugLine="cmp20.Connect(PairedDevices.Get(PairedDevices.G"; +Debug.ShouldStop(1048576); +__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 = 1175;BA.debugLine="Msgbox(\"Connecting\",\"Printer Error\") 'ignore"; +Debug.ShouldStop(4194304); +c_cliente.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("Connecting")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Printer Error"))),__ref.getField(false, "ba")); + BA.debugLineNum = 1176;BA.debugLine="printer.Close"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_printer" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1177;BA.debugLine="cmp20.Disconnect"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_cmp20" /*RemoteObject*/ ).runVoidMethod ("Disconnect"); + }; + }else { + BA.debugLineNum = 1180;BA.debugLine="L1.Initialize"; +Debug.ShouldStop(134217728); +_l1.runVoidMethod ("Initialize"); + BA.debugLineNum = 1181;BA.debugLine="For i = 0 To PairedDevices.Size - 1"; +Debug.ShouldStop(268435456); +{ +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 = 1182;BA.debugLine="L1.Add(PairedDevices.GetKeyAt(i))"; +Debug.ShouldStop(536870912); +_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 = 1184;BA.debugLine="resimp = InputList(L1, \"Choose device\", -1) 'ign"; +Debug.ShouldStop(-2147483648); +_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 = 1185;BA.debugLine="If resimp <> DialogResponse.CANCEL Then"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean("!",_resimp,BA.numberCast(double.class, c_cliente.__c.getField(false,"DialogResponse").getField(true,"CANCEL")))) { + BA.debugLineNum = 1186;BA.debugLine="cmp20.Connect(PairedDevices.Get(L1.Get(resimp))"; +Debug.ShouldStop(2); +__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 = 1189;BA.debugLine="End Sub"; +Debug.ShouldStop(16); +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",6,__ref.getField(false, "ba"),__ref,562); +if (RapidSub.canDelegate("tar_click")) { return __ref.runUserSub(false, "c_cliente","tar_click", __ref);} + BA.debugLineNum = 562;BA.debugLine="Sub Tar_Click"; +Debug.ShouldStop(131072); + BA.debugLineNum = 564;BA.debugLine="B4XPages.ShowPage(\"Productos\")"; +Debug.ShouldStop(524288); +c_cliente._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Productos"))); + BA.debugLineNum = 565;BA.debugLine="End Sub"; +Debug.ShouldStop(1048576); +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/reparto_izca/keymon/lat/c_clientes.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_clientes.java new file mode 100644 index 0000000..95ed64b --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_clientes.java @@ -0,0 +1,54 @@ + +package reparto_izca.keymon.lat; + +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 _q_buscar = RemoteObject.createImmutable(""); +public static RemoteObject _entro = RemoteObject.createImmutable(""); +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 _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 _p_colonia = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _laruta = RemoteObject.createImmutable(""); +public static RemoteObject _b_getdirs = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _distorderedmap = RemoteObject.declareNull("reparto_izca.keymon.lat.b4xorderedmap"); +public static RemoteObject _clientesmapao = RemoteObject.declareNull("reparto_izca.keymon.lat.b4xorderedmap"); +public static RemoteObject _img_getdirs = RemoteObject.declareNull("anywheresoftware.b4a.objects.ImageViewWrapper"); +public static RemoteObject _l_rutainfo = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _b_getrutainfo = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _conmapa = RemoteObject.createImmutable(false); +public static RemoteObject _listawaypoints = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +public static RemoteObject _lv1top = RemoteObject.createImmutable(""); +public static RemoteObject _b_limpiarruta = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _rutagenerada = RemoteObject.createImmutable(false); +public static RemoteObject _rutaacambiar = RemoteObject.createImmutable(""); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static reparto_izca.keymon.lat.main _main = null; +public static reparto_izca.keymon.lat.appupdater _appupdater = null; +public static reparto_izca.keymon.lat.subs _subs = null; +public static reparto_izca.keymon.lat.foto _foto = null; +public static reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public static reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public static reparto_izca.keymon.lat.starter _starter = null; +public static reparto_izca.keymon.lat.tracker _tracker = null; +public static reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public static reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public static reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public static reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public static reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"b_GetDirs",_ref.getField(false, "_b_getdirs"),"b_getRutaInfo",_ref.getField(false, "_b_getrutainfo"),"b_limpiarRuta",_ref.getField(false, "_b_limpiarruta"),"busca",_ref.getField(false, "_busca"),"c",_ref.getField(false, "_c"),"c2",_ref.getField(false, "_c2"),"clientesMapaO",_ref.getField(false, "_clientesmapao"),"conMapa",_ref.getField(false, "_conmapa"),"DateUtils",_ref.getField(false, "_dateutils"),"distOrderedMap",_ref.getField(false, "_distorderedmap"),"entro",_ref.getField(false, "_entro"),"img_getDirs",_ref.getField(false, "_img_getdirs"),"l_rutaInfo",_ref.getField(false, "_l_rutainfo"),"laRuta",_ref.getField(false, "_laruta"),"lfila",_ref.getField(false, "_lfila"),"listaWayPoints",_ref.getField(false, "_listawaypoints"),"ListView1",_ref.getField(false, "_listview1"),"lv1Top",_ref.getField(false, "_lv1top"),"p_colonia",_ref.getField(false, "_p_colonia"),"q_buscar",_ref.getField(false, "_q_buscar"),"Root",_ref.getField(false, "_root"),"rutaacambiar",_ref.getField(false, "_rutaacambiar"),"rutaGenerada",_ref.getField(false, "_rutagenerada"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_clientes_subs_0.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_clientes_subs_0.java new file mode 100644 index 0000000..22d6f1c --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_clientes_subs_0.java @@ -0,0 +1,3262 @@ +package reparto_izca.keymon.lat; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class c_clientes_subs_0 { + + +public static RemoteObject _activity_keypress(RemoteObject __ref,RemoteObject _key) throws Exception{ +try { + Debug.PushSubsStack("Activity_KeyPress (c_clientes) ","c_clientes",7,__ref.getField(false, "ba"),__ref,219); +if (RapidSub.canDelegate("activity_keypress")) { return __ref.runUserSub(false, "c_clientes","activity_keypress", __ref, _key);} +Debug.locals.put("key", _key); + BA.debugLineNum = 219;BA.debugLine="Sub Activity_KeyPress (key As Int) As Boolean 'ign"; +Debug.ShouldStop(67108864); + BA.debugLineNum = 221;BA.debugLine="If key=KeyCodes.KEYCODE_BACK Then"; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean("=",_key,BA.numberCast(double.class, c_clientes.__c.getField(false,"KeyCodes").getField(true,"KEYCODE_BACK")))) { + BA.debugLineNum = 222;BA.debugLine="If entro = 3 And Not(conMapa) Then"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_entro" /*RemoteObject*/ ),BA.NumberToString(3)) && RemoteObject.solveBoolean(".",c_clientes.__c.runMethod(true,"Not",(Object)(__ref.getField(true,"_conmapa" /*RemoteObject*/ ))))) { + BA.debugLineNum = 223;BA.debugLine="b_GetDirs.Visible = False"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_b_getdirs" /*RemoteObject*/ ).runMethod(true,"setVisible",c_clientes.__c.getField(true,"False")); + BA.debugLineNum = 225;BA.debugLine="B4XPage_Created(Root)"; +Debug.ShouldStop(1); +__ref.runClassMethod (reparto_izca.keymon.lat.c_clientes.class, "_b4xpage_created" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_root" /*RemoteObject*/ ))); + BA.debugLineNum = 226;BA.debugLine="Return True"; +Debug.ShouldStop(2); +if (true) return c_clientes.__c.getField(true,"True"); + }; + BA.debugLineNum = 228;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +Debug.ShouldStop(8); +c_clientes._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Principal"))); + BA.debugLineNum = 229;BA.debugLine="Return False"; +Debug.ShouldStop(16); +if (true) return c_clientes.__c.getField(true,"False"); + }; + BA.debugLineNum = 233;BA.debugLine="End Sub"; +Debug.ShouldStop(256); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static void _b_getdirs_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_GetDirs_Click (c_clientes) ","c_clientes",7,__ref.getField(false, "ba"),__ref,466); +if (RapidSub.canDelegate("b_getdirs_click")) { __ref.runUserSub(false, "c_clientes","b_getdirs_click", __ref); return;} +ResumableSub_b_GetDirs_Click rsub = new ResumableSub_b_GetDirs_Click(null,__ref); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_b_GetDirs_Click extends BA.ResumableSub { +public ResumableSub_b_GetDirs_Click(reparto_izca.keymon.lat.c_clientes parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +reparto_izca.keymon.lat.c_clientes parent; +RemoteObject _m2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _f = RemoteObject.createImmutable(0); +RemoteObject _k = RemoteObject.declareNull("Object"); +RemoteObject _distancia2 = RemoteObject.createImmutable(""); +RemoteObject _thisloc1 = RemoteObject.createImmutable(""); +RemoteObject _locactual = RemoteObject.createImmutable(""); +RemoteObject _r = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _tid = RemoteObject.createImmutable(0); +RemoteObject _tmap = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _tempndd = RemoteObject.createImmutable(""); +RemoteObject _indexd = RemoteObject.createImmutable(0); +RemoteObject _estecliente = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _m3 = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject group4; +int index4; +int groupLen4; +RemoteObject group38; +int index38; +int groupLen38; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("b_GetDirs_Click (c_clientes) ","c_clientes",7,__ref.getField(false, "ba"),__ref,466); +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 = 467;BA.debugLine="ProgressDialogShow(\"Calculando distancias y tiemp"; +Debug.ShouldStop(262144); +parent.__c.runVoidMethod ("ProgressDialogShow",__ref.getField(false, "ba"),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Calculando distancias y tiempos ...")))); + BA.debugLineNum = 468;BA.debugLine="Private m2 As Map"; +Debug.ShouldStop(524288); +_m2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");Debug.locals.put("m2", _m2); + BA.debugLineNum = 469;BA.debugLine="Private f As Int = 0"; +Debug.ShouldStop(1048576); +_f = BA.numberCast(int.class, 0);Debug.locals.put("f", _f);Debug.locals.put("f", _f); + BA.debugLineNum = 470;BA.debugLine="For Each k As Object In distOrderedMap.Keys 'Trae"; +Debug.ShouldStop(2097152); +if (true) break; + +case 1: +//for +this.state = 30; +group4 = __ref.getField(false,"_distorderedmap" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.b4xorderedmap.class, "_getkeys" /*RemoteObject*/ ); +index4 = 0; +groupLen4 = group4.runMethod(true,"getSize").get(); +Debug.locals.put("k", _k); +this.state = 31; +if (true) break; + +case 31: +//C +this.state = 30; +if (index4 < groupLen4) { +this.state = 3; +_k = group4.runMethod(false,"Get",index4);Debug.locals.put("k", _k);} +if (true) break; + +case 32: +//C +this.state = 31; +index4++; +Debug.locals.put("k", _k); +if (true) break; + +case 3: +//C +this.state = 4; + BA.debugLineNum = 471;BA.debugLine="m2 = distOrderedMap.Get(k)"; +Debug.ShouldStop(4194304); +_m2 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_distorderedmap" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.b4xorderedmap.class, "_get" /*RemoteObject*/ ,(Object)(_k)));Debug.locals.put("m2", _m2); + BA.debugLineNum = 472;BA.debugLine="Private distancia2 As String = m2.Get(\"distancia"; +Debug.ShouldStop(8388608); +_distancia2 = BA.ObjectToString(_m2.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("distancia")))));Debug.locals.put("distancia2", _distancia2);Debug.locals.put("distancia2", _distancia2); + BA.debugLineNum = 473;BA.debugLine="Private thisLoc1 As String = m2.Get(\"ubicacion\")"; +Debug.ShouldStop(16777216); +_thisloc1 = BA.ObjectToString(_m2.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("ubicacion")))));Debug.locals.put("thisLoc1", _thisloc1);Debug.locals.put("thisLoc1", _thisloc1); + BA.debugLineNum = 474;BA.debugLine="Private locActual As String = Tracker.UUGCoords."; +Debug.ShouldStop(33554432); +_locactual = RemoteObject.concat(parent._tracker._uugcoords /*RemoteObject*/ .runMethod(true,"getLongitude"),RemoteObject.createImmutable(","),parent._tracker._uugcoords /*RemoteObject*/ .runMethod(true,"getLatitude"));Debug.locals.put("locActual", _locactual);Debug.locals.put("locActual", _locactual); + BA.debugLineNum = 475;BA.debugLine="If locActual = \"0,0\" Then 'Si no tenemos ubicaci"; +Debug.ShouldStop(67108864); +if (true) break; + +case 4: +//if +this.state = 11; +if (RemoteObject.solveBoolean("=",_locactual,BA.ObjectToString("0,0"))) { +this.state = 6; +}if (true) break; + +case 6: +//C +this.state = 7; + BA.debugLineNum = 476;BA.debugLine="c = Starter.skmt.ExecQuery(\"select * from hist_"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select * from hist_gps")))); + BA.debugLineNum = 477;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(268435456); +if (true) break; + +case 7: +//if +this.state = 10; +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 9; +}if (true) break; + +case 9: +//C +this.state = 10; + BA.debugLineNum = 478;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 479;BA.debugLine="locActual = c.GetString(\"hglon\") & \",\" & c.Get"; +Debug.ShouldStop(1073741824); +_locactual = RemoteObject.concat(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("hglon"))),RemoteObject.createImmutable(","),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("hglat"))));Debug.locals.put("locActual", _locactual); + if (true) break; + +case 10: +//C +this.state = 11; +; + BA.debugLineNum = 481;BA.debugLine="c.Close"; +Debug.ShouldStop(1); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + if (true) break; + +case 11: +//C +this.state = 12; +; + BA.debugLineNum = 483;BA.debugLine="f = f+1"; +Debug.ShouldStop(4); +_f = RemoteObject.solve(new RemoteObject[] {_f,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("f", _f); + BA.debugLineNum = 484;BA.debugLine="If f < 8 Then"; +Debug.ShouldStop(8); +if (true) break; + +case 12: +//if +this.state = 29; +if (RemoteObject.solveBoolean("<",_f,BA.numberCast(double.class, 8))) { +this.state = 14; +}if (true) break; + +case 14: +//C +this.state = 15; + BA.debugLineNum = 485;BA.debugLine="If locActual = \"0,0\" Then 'Si todavia no tenemo"; +Debug.ShouldStop(16); +if (true) break; + +case 15: +//if +this.state = 18; +if (RemoteObject.solveBoolean("=",_locactual,BA.ObjectToString("0,0"))) { +this.state = 17; +}if (true) break; + +case 17: +//C +this.state = 18; + BA.debugLineNum = 486;BA.debugLine="ToastMessageShow(\"No se pudo obtener la ubicac"; +Debug.ShouldStop(32); +parent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("No se pudo obtener la ubicacion actual!!")),(Object)(parent.__c.getField(true,"True"))); + BA.debugLineNum = 487;BA.debugLine="f = 8"; +Debug.ShouldStop(64); +_f = BA.numberCast(int.class, 8);Debug.locals.put("f", _f); + if (true) break; + +case 18: +//C +this.state = 19; +; + BA.debugLineNum = 489;BA.debugLine="Log($\"locActual: ${locActual}, thisLoc1: ${this"; +Debug.ShouldStop(256); +parent.__c.runVoidMethod ("LogImpl","810747927",(RemoteObject.concat(RemoteObject.createImmutable("locActual: "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_locactual))),RemoteObject.createImmutable(", thisLoc1: "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_thisloc1))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 490;BA.debugLine="Wait For(distanciaEntreCoords(distancia2, locAc"; +Debug.ShouldStop(512); +parent.__c.runVoidMethod ("WaitFor","complete", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_clientes", "b_getdirs_click"), __ref.runClassMethod (reparto_izca.keymon.lat.c_clientes.class, "_distanciaentrecoords" /*RemoteObject*/ ,(Object)(_distancia2),(Object)(_locactual),(Object)(_thisloc1))); +this.state = 33; +return; +case 33: +//C +this.state = 19; +_r = (RemoteObject) result.getArrayElement(false,RemoteObject.createImmutable(1));Debug.locals.put("r", _r); +; + BA.debugLineNum = 491;BA.debugLine="LogColor($\"R: ${r.Get(0)} - ${r.Get(1)} - ${r.G"; +Debug.ShouldStop(1024); +parent.__c.runVoidMethod ("LogImpl","810747929",(RemoteObject.concat(RemoteObject.createImmutable("R: "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_r.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 0))))),RemoteObject.createImmutable(" - "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_r.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 1))))),RemoteObject.createImmutable(" - "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_r.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2))))),RemoteObject.createImmutable(""))),parent.__c.getField(false,"Colors").getField(true,"Green")); + BA.debugLineNum = 492;BA.debugLine="Private tId As Int = r.Get(0)"; +Debug.ShouldStop(2048); +_tid = BA.numberCast(int.class, _r.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 0))));Debug.locals.put("tId", _tid);Debug.locals.put("tId", _tid); + BA.debugLineNum = 493;BA.debugLine="Private tMap As Map = distOrderedMap.Get(tId)"; +Debug.ShouldStop(4096); +_tmap = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_tmap = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_distorderedmap" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.b4xorderedmap.class, "_get" /*RemoteObject*/ ,(Object)((_tid))));Debug.locals.put("tMap", _tmap);Debug.locals.put("tMap", _tmap); + BA.debugLineNum = 494;BA.debugLine="LogColor(\"|\" & tId & \"| - \" &distOrderedMap.Get"; +Debug.ShouldStop(8192); +parent.__c.runVoidMethod ("LogImpl","810747932",RemoteObject.concat(RemoteObject.createImmutable("|"),_tid,RemoteObject.createImmutable("| - "),__ref.getField(false,"_distorderedmap" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.b4xorderedmap.class, "_get" /*RemoteObject*/ ,(Object)((_tid)))),parent.__c.getField(false,"Colors").getField(true,"Blue")); + BA.debugLineNum = 495;BA.debugLine="Private tempNDD As String = tMap.Get(\"nomDirDis"; +Debug.ShouldStop(16384); +_tempndd = BA.ObjectToString(_tmap.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("nomDirDist")))));Debug.locals.put("tempNDD", _tempndd);Debug.locals.put("tempNDD", _tempndd); + BA.debugLineNum = 496;BA.debugLine="Private indexD As Int = tempNDD.IndexOf(\"Distan"; +Debug.ShouldStop(32768); +_indexd = _tempndd.runMethod(true,"indexOf",(Object)(RemoteObject.createImmutable("Distancia:")));Debug.locals.put("indexD", _indexd);Debug.locals.put("indexD", _indexd); + BA.debugLineNum = 497;BA.debugLine="If indexD > -1 Then tempNDD = tempNDD.SubString"; +Debug.ShouldStop(65536); +if (true) break; + +case 19: +//if +this.state = 24; +if (RemoteObject.solveBoolean(">",_indexd,BA.numberCast(double.class, -(double) (0 + 1)))) { +this.state = 21; +;}if (true) break; + +case 21: +//C +this.state = 24; +_tempndd = _tempndd.runMethod(true,"substring",(Object)(BA.numberCast(int.class, 0)),(Object)(_indexd));Debug.locals.put("tempNDD", _tempndd); +if (true) break; + +case 24: +//C +this.state = 25; +; + BA.debugLineNum = 498;BA.debugLine="Log(tempNDD)"; +Debug.ShouldStop(131072); +parent.__c.runVoidMethod ("LogImpl","810747936",_tempndd,0); + BA.debugLineNum = 499;BA.debugLine="tempNDD = tempNDD & $\"Dist: $1.1{(r.Get(1)/1000"; +Debug.ShouldStop(262144); +_tempndd = RemoteObject.concat(_tempndd,(RemoteObject.concat(RemoteObject.createImmutable("Dist: "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("1.1")),(Object)(((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _r.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 1)))),RemoteObject.createImmutable(1000)}, "/",0, 0))))),RemoteObject.createImmutable(" kms, Tiempo aprox: "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("1.0")),(Object)(((RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _r.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2)))),RemoteObject.createImmutable(2)}, "*",0, 0)),RemoteObject.createImmutable(60)}, "/",0, 0))))),RemoteObject.createImmutable(" min."))));Debug.locals.put("tempNDD", _tempndd); + BA.debugLineNum = 500;BA.debugLine="Private esteCliente As Map = CreateMap(\"distanc"; +Debug.ShouldStop(524288); +_estecliente = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_estecliente = parent.__c.runMethod(false, "createMap", (Object)(new RemoteObject[] {RemoteObject.createImmutable(("distancia")),(_distancia2),RemoteObject.createImmutable(("ubicacion")),_tmap.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("ubicacion")))),RemoteObject.createImmutable(("codigo")),_tmap.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("codigo")))),RemoteObject.createImmutable(("nomDirDist")),(_tempndd)}));Debug.locals.put("esteCliente", _estecliente);Debug.locals.put("esteCliente", _estecliente); + BA.debugLineNum = 501;BA.debugLine="distOrderedMap.Put(tId, esteCliente)"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_distorderedmap" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.b4xorderedmap.class, "_put" /*RemoteObject*/ ,(Object)((_tid)),(Object)((_estecliente.getObject()))); + BA.debugLineNum = 502;BA.debugLine="ListView1.Clear"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 503;BA.debugLine="Private m3 As Map"; +Debug.ShouldStop(4194304); +_m3 = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");Debug.locals.put("m3", _m3); + BA.debugLineNum = 504;BA.debugLine="For Each k As Object In distOrderedMap.Keys 'G"; +Debug.ShouldStop(8388608); +if (true) break; + +case 25: +//for +this.state = 28; +group38 = __ref.getField(false,"_distorderedmap" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.b4xorderedmap.class, "_getkeys" /*RemoteObject*/ ); +index38 = 0; +groupLen38 = group38.runMethod(true,"getSize").get(); +Debug.locals.put("k", _k); +this.state = 34; +if (true) break; + +case 34: +//C +this.state = 28; +if (index38 < groupLen38) { +this.state = 27; +_k = group38.runMethod(false,"Get",index38);Debug.locals.put("k", _k);} +if (true) break; + +case 35: +//C +this.state = 34; +index38++; +Debug.locals.put("k", _k); +if (true) break; + +case 27: +//C +this.state = 35; + BA.debugLineNum = 505;BA.debugLine="m3 = distOrderedMap.Get(k)"; +Debug.ShouldStop(16777216); +_m3 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_distorderedmap" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.b4xorderedmap.class, "_get" /*RemoteObject*/ ,(Object)(_k)));Debug.locals.put("m3", _m3); + BA.debugLineNum = 506;BA.debugLine="m3.Get(\"codigo\")"; +Debug.ShouldStop(33554432); +_m3.runVoidMethod ("Get",(Object)((RemoteObject.createImmutable("codigo")))); + BA.debugLineNum = 507;BA.debugLine="ListView1.AddTwoLines(m3.Get(\"codigo\"), m3.Get"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("AddTwoLines",(Object)(BA.ObjectToCharSequence(_m3.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("codigo")))))),(Object)(BA.ObjectToCharSequence(_m3.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("nomDirDist"))))))); + if (true) break; +if (true) break; + +case 28: +//C +this.state = 29; +Debug.locals.put("k", _k); +; + if (true) break; + +case 29: +//C +this.state = 32; +; + if (true) break; +if (true) break; + +case 30: +//C +this.state = -1; +Debug.locals.put("k", _k); +; + BA.debugLineNum = 511;BA.debugLine="ProgressDialogHide"; +Debug.ShouldStop(1073741824); +parent.__c.runVoidMethod ("ProgressDialogHide"); + BA.debugLineNum = 512;BA.debugLine="End Sub"; +Debug.ShouldStop(-2147483648); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static void _complete(RemoteObject __ref,RemoteObject _r) throws Exception{ +} +public static RemoteObject _b_getrutainfo_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_getRutaInfo_Click (c_clientes) ","c_clientes",7,__ref.getField(false, "ba"),__ref,570); +if (RapidSub.canDelegate("b_getrutainfo_click")) { return __ref.runUserSub(false, "c_clientes","b_getrutainfo_click", __ref);} + BA.debugLineNum = 570;BA.debugLine="Private Sub b_getRutaInfo_Click"; +Debug.ShouldStop(33554432); + BA.debugLineNum = 572;BA.debugLine="caculaRutaGPS(todosAVisitar)"; +Debug.ShouldStop(134217728); +__ref.runClassMethod (reparto_izca.keymon.lat.c_clientes.class, "_cacularutagps" /*void*/ ,(Object)(__ref.runClassMethod (reparto_izca.keymon.lat.c_clientes.class, "_todosavisitar" /*RemoteObject*/ ))); + BA.debugLineNum = 573;BA.debugLine="End Sub"; +Debug.ShouldStop(268435456); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_getrutainfo_longclick(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_getRutaInfo_LongClick (c_clientes) ","c_clientes",7,__ref.getField(false, "ba"),__ref,576); +if (RapidSub.canDelegate("b_getrutainfo_longclick")) { return __ref.runUserSub(false, "c_clientes","b_getrutainfo_longclick", __ref);} + BA.debugLineNum = 576;BA.debugLine="Private Sub b_getRutaInfo_LongClick"; +Debug.ShouldStop(-2147483648); + BA.debugLineNum = 577;BA.debugLine="If b_limpiarRuta.Visible Then"; +Debug.ShouldStop(1); +if (__ref.getField(false,"_b_limpiarruta" /*RemoteObject*/ ).runMethod(true,"getVisible").get().booleanValue()) { + BA.debugLineNum = 578;BA.debugLine="b_limpiarRuta.Visible = False"; +Debug.ShouldStop(2); +__ref.getField(false,"_b_limpiarruta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_clientes.__c.getField(true,"False")); + }else { + BA.debugLineNum = 580;BA.debugLine="b_limpiarRuta.Visible = True"; +Debug.ShouldStop(8); +__ref.getField(false,"_b_limpiarruta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_clientes.__c.getField(true,"True")); + }; + BA.debugLineNum = 582;BA.debugLine="End Sub"; +Debug.ShouldStop(32); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_limpiarruta_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_limpiarRuta_Click (c_clientes) ","c_clientes",7,__ref.getField(false, "ba"),__ref,585); +if (RapidSub.canDelegate("b_limpiarruta_click")) { return __ref.runUserSub(false, "c_clientes","b_limpiarruta_click", __ref);} + BA.debugLineNum = 585;BA.debugLine="Private Sub b_limpiarRuta_Click"; +Debug.ShouldStop(256); + BA.debugLineNum = 586;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from waypoints\""; +Debug.ShouldStop(512); +c_clientes._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from waypoints"))); + BA.debugLineNum = 587;BA.debugLine="b_limpiarRuta.Visible = False"; +Debug.ShouldStop(1024); +__ref.getField(false,"_b_limpiarruta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_clientes.__c.getField(true,"False")); + BA.debugLineNum = 588;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(2048); +__ref.runClassMethod (reparto_izca.keymon.lat.c_clientes.class, "_b4xpage_appear" /*RemoteObject*/ ); + 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 _b4xpage_appear(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_Appear (c_clientes) ","c_clientes",7,__ref.getField(false, "ba"),__ref,49); +if (RapidSub.canDelegate("b4xpage_appear")) { return __ref.runUserSub(false, "c_clientes","b4xpage_appear", __ref);} +RemoteObject _cs = RemoteObject.declareNull("anywheresoftware.b4a.objects.CSBuilder"); +RemoteObject _cs2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CSBuilder"); +int _i = 0; +RemoteObject _x = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _y = null; + BA.debugLineNum = 49;BA.debugLine="Sub B4XPage_Appear"; +Debug.ShouldStop(65536); + BA.debugLineNum = 50;BA.debugLine="busca.Text = \"\""; +Debug.ShouldStop(131072); +__ref.getField(false,"_busca" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 51;BA.debugLine="b_GetDirs.Visible = False"; +Debug.ShouldStop(262144); +__ref.getField(false,"_b_getdirs" /*RemoteObject*/ ).runMethod(true,"setVisible",c_clientes.__c.getField(true,"False")); + BA.debugLineNum = 53;BA.debugLine="entro =\"2\""; +Debug.ShouldStop(1048576); +__ref.setField ("_entro" /*RemoteObject*/ ,BA.ObjectToString("2")); + BA.debugLineNum = 57;BA.debugLine="p_colonia.Width = Root.Width"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_p_colonia" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth")); + BA.debugLineNum = 58;BA.debugLine="p_colonia.Height = Root.Height"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_p_colonia" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight")); + BA.debugLineNum = 59;BA.debugLine="p_colonia.Top = 0"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_p_colonia" /*RemoteObject*/ ).runMethod(true,"setTop",BA.numberCast(int.class, 0)); + BA.debugLineNum = 60;BA.debugLine="p_colonia.Left = 0"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_p_colonia" /*RemoteObject*/ ).runMethod(true,"setLeft",BA.numberCast(int.class, 0)); + BA.debugLineNum = 61;BA.debugLine="Subs.centraListView(ListView1, p_colonia.Width)"; +Debug.ShouldStop(268435456); +c_clientes._subs.runVoidMethod ("_centralistview" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_listview1" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_p_colonia" /*RemoteObject*/ ).runMethod(true,"getWidth"))); + BA.debugLineNum = 62;BA.debugLine="ListView1.Height = p_colonia.Height * 0.75"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(true,"setHeight",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_p_colonia" /*RemoteObject*/ ).runMethod(true,"getHeight"),RemoteObject.createImmutable(0.75)}, "*",0, 0))); + BA.debugLineNum = 63;BA.debugLine="Subs.SetDivider(ListView1, Colors.LightGray, 2)"; +Debug.ShouldStop(1073741824); +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,"LightGray")),(Object)(BA.numberCast(int.class, 2))); + BA.debugLineNum = 64;BA.debugLine="If Not(l_rutaInfo.Visible) Then"; +Debug.ShouldStop(-2147483648); +if (c_clientes.__c.runMethod(true,"Not",(Object)(__ref.getField(false,"_l_rutainfo" /*RemoteObject*/ ).runMethod(true,"getVisible"))).get().booleanValue()) { + BA.debugLineNum = 65;BA.debugLine="ListView1.Top = lv1Top"; +Debug.ShouldStop(1); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(true,"setTop",BA.numberCast(int.class, __ref.getField(true,"_lv1top" /*RemoteObject*/ ))); + }else { + BA.debugLineNum = 67;BA.debugLine="ListView1.Top = lv1Top + 100"; +Debug.ShouldStop(4); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(true,"setTop",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(true,"_lv1top" /*RemoteObject*/ )),RemoteObject.createImmutable(100)}, "+",1, 0))); + }; + BA.debugLineNum = 69;BA.debugLine="c=Starter.skmt.ExecQuery(\"select codigo, indice,"; +Debug.ShouldStop(16); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_clientes._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select codigo, indice, CAT_CL_NOMBRE, CAT_CL_CALLE, CAT_CL_NOEXT from waypoints inner join kmt_info on waypoints.codigo = kmt_info.CAT_CL_CODIGO where gestion = 0 AND CAT_CL_RUTA <> 1000 order by indice")))); + BA.debugLineNum = 70;BA.debugLine="If c.RowCount > 0 Then 'Ya hay waypoints en la ba"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + 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 = 73;BA.debugLine="conMapa = True"; +Debug.ShouldStop(256); +__ref.setField ("_conmapa" /*RemoteObject*/ ,c_clientes.__c.getField(true,"True")); + BA.debugLineNum = 75;BA.debugLine="ListView1.Clear"; +Debug.ShouldStop(1024); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 76;BA.debugLine="Dim cs, cs2 As CSBuilder"; +Debug.ShouldStop(2048); +_cs = RemoteObject.createNew ("anywheresoftware.b4a.objects.CSBuilder");Debug.locals.put("cs", _cs); +_cs2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CSBuilder");Debug.locals.put("cs2", _cs2); + BA.debugLineNum = 77;BA.debugLine="entro = 3"; +Debug.ShouldStop(4096); +__ref.setField ("_entro" /*RemoteObject*/ ,BA.NumberToString(3)); + BA.debugLineNum = 79;BA.debugLine="For i=0 To c.RowCount -1 'Generamos el listView"; +Debug.ShouldStop(16384); +{ +final int step23 = 1; +final int limit23 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step23 > 0 && _i <= limit23) || (step23 < 0 && _i >= limit23) ;_i = ((int)(0 + _i + step23)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 80;BA.debugLine="c.Position=i"; +Debug.ShouldStop(32768); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 81;BA.debugLine="cs.Initialize"; +Debug.ShouldStop(65536); +_cs.runVoidMethod ("Initialize"); + BA.debugLineNum = 82;BA.debugLine="cs2.Initialize"; +Debug.ShouldStop(131072); +_cs2.runVoidMethod ("Initialize"); + BA.debugLineNum = 86;BA.debugLine="ListView1.AddTwoLines(cs.Color(Colors.RGB(100,1"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("AddTwoLines",(Object)(BA.ObjectToCharSequence(_cs.runMethod(false,"Color",(Object)(c_clientes.__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(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("codigo")))))).runMethod(false,"PopAll").getObject())),(Object)(BA.ObjectToCharSequence(_cs2.runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_NOMBRE")))))).runMethod(false,"Color",(Object)(c_clientes.__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(" Calle: ")))).runMethod(false,"Pop").runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CALLE"))).runMethod(true,"trim"),RemoteObject.createImmutable(" "),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_NOEXT"))))))).runMethod(false,"PopAll").getObject()))); + } +}Debug.locals.put("i", _i); +; + }else { + BA.debugLineNum = 89;BA.debugLine="generaListViewRutas"; +Debug.ShouldStop(16777216); +__ref.runClassMethod (reparto_izca.keymon.lat.c_clientes.class, "_generalistviewrutas" /*void*/ ); + }; + BA.debugLineNum = 91;BA.debugLine="c.Close"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 92;BA.debugLine="p_colonia.Width = Root.Width"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_p_colonia" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth")); + BA.debugLineNum = 93;BA.debugLine="p_colonia.Height = Root.Height"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_p_colonia" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight")); + BA.debugLineNum = 94;BA.debugLine="Subs.centraEtiqueta(l_rutaInfo, Root.Width)"; +Debug.ShouldStop(536870912); +c_clientes._subs.runVoidMethod ("_centraetiqueta" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_l_rutainfo" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"))); + BA.debugLineNum = 95;BA.debugLine="Subs.centraListView(ListView1, p_colonia.Width)"; +Debug.ShouldStop(1073741824); +c_clientes._subs.runVoidMethod ("_centralistview" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_listview1" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_p_colonia" /*RemoteObject*/ ).runMethod(true,"getWidth"))); + BA.debugLineNum = 96;BA.debugLine="ListView1.Height = p_colonia.Height * 0.70"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(true,"setHeight",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_p_colonia" /*RemoteObject*/ ).runMethod(true,"getHeight"),RemoteObject.createImmutable(0.70)}, "*",0, 0))); + BA.debugLineNum = 97;BA.debugLine="Subs.centraEtiqueta(lfila, Root.Width)"; +Debug.ShouldStop(1); +c_clientes._subs.runVoidMethod ("_centraetiqueta" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_lfila" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"))); + BA.debugLineNum = 98;BA.debugLine="b_getRutaInfo.Visible = True"; +Debug.ShouldStop(2); +__ref.getField(false,"_b_getrutainfo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_clientes.__c.getField(true,"True")); + BA.debugLineNum = 99;BA.debugLine="b_getRutaInfo.BringToFront"; +Debug.ShouldStop(4); +__ref.getField(false,"_b_getrutainfo" /*RemoteObject*/ ).runVoidMethod ("BringToFront"); + BA.debugLineNum = 100;BA.debugLine="If Starter.cedisLocation.Latitude = \"0\" Then"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean("=",c_clientes._starter._cedislocation /*RemoteObject*/ .runMethod(true,"getLatitude"),BA.numberCast(double.class, "0"))) { + BA.debugLineNum = 101;BA.debugLine="Private x As Cursor = Starter.skmt.ExecQuery(\"se"; +Debug.ShouldStop(16); +_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_clientes._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select * from CAT_VARIABLES where CAT_VA_DESCRIPCION = 'COORDS_ALMACEN'"))));Debug.locals.put("x", _x);Debug.locals.put("x", _x); + BA.debugLineNum = 102;BA.debugLine="If x.RowCount > 0 Then"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean(">",_x.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 103;BA.debugLine="x.Position = 0"; +Debug.ShouldStop(64); +_x.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 104;BA.debugLine="Private y() As String"; +Debug.ShouldStop(128); +_y = RemoteObject.createNewArray ("String", new int[] {0}, new Object[]{});Debug.locals.put("y", _y); + BA.debugLineNum = 105;BA.debugLine="Starter.cedisLocation.Latitude = Regex.Split(\","; +Debug.ShouldStop(256); +c_clientes._starter._cedislocation /*RemoteObject*/ .runMethod(true,"setLatitude",BA.numberCast(double.class, c_clientes.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString(",")),(Object)(_x.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_VA_VALOR"))))).getArrayElement(true,BA.numberCast(int.class, 1)))); + BA.debugLineNum = 106;BA.debugLine="Starter.cedisLocation.Longitude = Regex.Split(\""; +Debug.ShouldStop(512); +c_clientes._starter._cedislocation /*RemoteObject*/ .runMethod(true,"setLongitude",BA.numberCast(double.class, c_clientes.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString(",")),(Object)(_x.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_VA_VALOR"))))).getArrayElement(true,BA.numberCast(int.class, 0)))); + }; + }; + BA.debugLineNum = 109;BA.debugLine="Log(Starter.cedisLocation)"; +Debug.ShouldStop(4096); +c_clientes.__c.runVoidMethod ("LogImpl","810223676",BA.ObjectToString(c_clientes._starter._cedislocation /*RemoteObject*/ ),0); + 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 _b4xpage_closerequest(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_CloseRequest (c_clientes) ","c_clientes",7,__ref.getField(false, "ba"),__ref,113); +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(reparto_izca.keymon.lat.c_clientes parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +reparto_izca.keymon.lat.c_clientes parent; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_CloseRequest (c_clientes) ","c_clientes",7,__ref.getField(false, "ba"),__ref,113); +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 = 116;BA.debugLine="Log(entro)"; +Debug.ShouldStop(524288); +parent.__c.runVoidMethod ("LogImpl","810289155",__ref.getField(true,"_entro" /*RemoteObject*/ ),0); + BA.debugLineNum = 117;BA.debugLine="If rutaGenerada Or entro = 3 Then ' Si ya generam"; +Debug.ShouldStop(1048576); +if (true) break; + +case 1: +//if +this.state = 6; +if (RemoteObject.solveBoolean(".",__ref.getField(true,"_rutagenerada" /*RemoteObject*/ )) || RemoteObject.solveBoolean("=",__ref.getField(true,"_entro" /*RemoteObject*/ ),BA.NumberToString(3))) { +this.state = 3; +}else +{ BA.debugLineNum = 121;BA.debugLine="else if entro = 2 Then ' Si estamos mostrando las"; +Debug.ShouldStop(16777216); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_entro" /*RemoteObject*/ ),BA.NumberToString(2))) { +this.state = 5; +}} +if (true) break; + +case 3: +//C +this.state = 6; + BA.debugLineNum = 118;BA.debugLine="b_limpiarRuta_Click"; +Debug.ShouldStop(2097152); +__ref.runClassMethod (reparto_izca.keymon.lat.c_clientes.class, "_b_limpiarruta_click" /*RemoteObject*/ ); + BA.debugLineNum = 119;BA.debugLine="l_rutaInfo.Text = \"\""; +Debug.ShouldStop(4194304); +__ref.getField(false,"_l_rutainfo" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 120;BA.debugLine="rutaGenerada = False"; +Debug.ShouldStop(8388608); +__ref.setField ("_rutagenerada" /*RemoteObject*/ ,parent.__c.getField(true,"False")); + if (true) break; + +case 5: +//C +this.state = 6; + BA.debugLineNum = 122;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +Debug.ShouldStop(33554432); +parent._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Principal"))); + if (true) break; + +case 6: +//C +this.state = -1; +; + BA.debugLineNum = 124;BA.debugLine="Return False"; +Debug.ShouldStop(134217728); +if (true) { +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(parent.__c.getField(true,"False")));return;}; + BA.debugLineNum = 125;BA.debugLine="End Sub"; +Debug.ShouldStop(268435456); +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",7,__ref.getField(false, "ba"),__ref,36); +if (RapidSub.canDelegate("b4xpage_created")) { return __ref.runUserSub(false, "c_clientes","b4xpage_created", __ref, _root1);} +Debug.locals.put("Root1", _root1); + BA.debugLineNum = 36;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +Debug.ShouldStop(8); + BA.debugLineNum = 37;BA.debugLine="Root = Root1"; +Debug.ShouldStop(16); +__ref.setField ("_root" /*RemoteObject*/ ,_root1); + BA.debugLineNum = 39;BA.debugLine="Root.LoadLayout(\"clientes\")"; +Debug.ShouldStop(64); +__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="lv1Top = ListView1.Top"; +Debug.ShouldStop(256); +__ref.setField ("_lv1top" /*RemoteObject*/ ,BA.NumberToString(__ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(true,"getTop"))); + BA.debugLineNum = 42;BA.debugLine="clientesMapaO.Initialize"; +Debug.ShouldStop(512); +__ref.getField(false,"_clientesmapao" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.b4xorderedmap.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 43;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from waypoints\""; +Debug.ShouldStop(1024); +c_clientes._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from waypoints"))); + BA.debugLineNum = 44;BA.debugLine="Log(\"Coordenadas del almacen: \" & Starter.cedisLo"; +Debug.ShouldStop(2048); +c_clientes.__c.runVoidMethod ("LogImpl","810158088",RemoteObject.concat(RemoteObject.createImmutable("Coordenadas del almacen: "),c_clientes._starter._cedislocation /*RemoteObject*/ .runMethod(true,"getLongitude"),RemoteObject.createImmutable(","),c_clientes._starter._cedislocation /*RemoteObject*/ .runMethod(true,"getLatitude")),0); + 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 _busca_textchanged(RemoteObject __ref,RemoteObject _old,RemoteObject _new) throws Exception{ +try { + Debug.PushSubsStack("BUSCA_TextChanged (c_clientes) ","c_clientes",7,__ref.getField(false, "ba"),__ref,235); +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 = 235;BA.debugLine="Sub BUSCA_TextChanged (Old As String, New As Strin"; +Debug.ShouldStop(1024); + BA.debugLineNum = 236;BA.debugLine="q_buscar = \"%\" & busca.Text & \"%\""; +Debug.ShouldStop(2048); +__ref.setField ("_q_buscar" /*RemoteObject*/ ,RemoteObject.concat(RemoteObject.createImmutable("%"),__ref.getField(false,"_busca" /*RemoteObject*/ ).runMethod(true,"getText"),RemoteObject.createImmutable("%"))); + BA.debugLineNum = 237;BA.debugLine="c2=Starter.skmt.ExecQuery2(\"select CAT_CL_NOMBRE"; +Debug.ShouldStop(4096); +__ref.getField(false,"_c2" /*RemoteObject*/ ).setObject (c_clientes._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select CAT_CL_NOMBRE, CAT_CL_CALLE, CAT_CL_CODIGO from kmt_info where CAT_CL_NOMBRE like ? and gestion = 0 AND CAT_CL_RUTA <> 1000 order by CAT_CL_CODIGO ")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(true,"_q_buscar" /*RemoteObject*/ )})))); + BA.debugLineNum = 238;BA.debugLine="ListView1.Clear"; +Debug.ShouldStop(8192); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 239;BA.debugLine="lfila.text = \"Nombre y Calle\""; +Debug.ShouldStop(16384); +__ref.getField(false,"_lfila" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("Nombre y Calle")); + BA.debugLineNum = 240;BA.debugLine="Subs.SetDivider(ListView1, Colors.LightGray, 2)"; +Debug.ShouldStop(32768); +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,"LightGray")),(Object)(BA.numberCast(int.class, 2))); + BA.debugLineNum = 241;BA.debugLine="If c2.RowCount>0 Then"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 242;BA.debugLine="For i=0 To c2.RowCount -1"; +Debug.ShouldStop(131072); +{ +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 = 243;BA.debugLine="c2.Position=i"; +Debug.ShouldStop(262144); +__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 244;BA.debugLine="Dim label1 As Label"; +Debug.ShouldStop(524288); +_label1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label1", _label1); + BA.debugLineNum = 245;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; +Debug.ShouldStop(1048576); +_label1 = __ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"Label");Debug.locals.put("label1", _label1); + BA.debugLineNum = 246;BA.debugLine="label1.TextSize = 15"; +Debug.ShouldStop(2097152); +_label1.runMethod(true,"setTextSize",BA.numberCast(float.class, 15)); + BA.debugLineNum = 247;BA.debugLine="label1.TextColor = Colors.Black"; +Debug.ShouldStop(4194304); +_label1.runMethod(true,"setTextColor",c_clientes.__c.getField(false,"Colors").getField(true,"Black")); + BA.debugLineNum = 248;BA.debugLine="Dim label2 As Label"; +Debug.ShouldStop(8388608); +_label2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label2", _label2); + BA.debugLineNum = 249;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; +Debug.ShouldStop(16777216); +_label2 = __ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"SecondLabel");Debug.locals.put("label2", _label2); + BA.debugLineNum = 250;BA.debugLine="label2.TextSize = 15"; +Debug.ShouldStop(33554432); +_label2.runMethod(true,"setTextSize",BA.numberCast(float.class, 15)); + BA.debugLineNum = 251;BA.debugLine="label2.TextColor = Colors.Black"; +Debug.ShouldStop(67108864); +_label2.runMethod(true,"setTextColor",c_clientes.__c.getField(false,"Colors").getField(true,"Black")); + BA.debugLineNum = 252;BA.debugLine="ListView1.AddTwoLines(c2.GetString(\"CAT_CL_CODI"; +Debug.ShouldStop(134217728); +__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"))),RemoteObject.createImmutable(" CALLE: "),__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CALLE"))))))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 255;BA.debugLine="entro = \"3\""; +Debug.ShouldStop(1073741824); +__ref.setField ("_entro" /*RemoteObject*/ ,BA.ObjectToString("3")); + BA.debugLineNum = 256;BA.debugLine="c2.Close"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_c2" /*RemoteObject*/ ).runVoidMethod ("Close"); + 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 _cacularutagps(RemoteObject __ref,RemoteObject _coords) throws Exception{ +try { + Debug.PushSubsStack("caculaRutaGPS (c_clientes) ","c_clientes",7,__ref.getField(false, "ba"),__ref,591); +if (RapidSub.canDelegate("cacularutagps")) { __ref.runUserSub(false, "c_clientes","cacularutagps", __ref, _coords); return;} +ResumableSub_caculaRutaGPS rsub = new ResumableSub_caculaRutaGPS(null,__ref,_coords); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_caculaRutaGPS extends BA.ResumableSub { +public ResumableSub_caculaRutaGPS(reparto_izca.keymon.lat.c_clientes parent,RemoteObject __ref,RemoteObject _coords) { +this.parent = parent; +this.__ref = __ref; +this._coords = _coords; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +reparto_izca.keymon.lat.c_clientes parent; +RemoteObject _coords; +RemoteObject _tmplist = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _cs = RemoteObject.declareNull("anywheresoftware.b4a.objects.CSBuilder"); +RemoteObject _cs2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CSBuilder"); +RemoteObject _coordsstr = RemoteObject.createImmutable(""); +RemoteObject _tienda = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _j = RemoteObject.declareNull("reparto_izca.keymon.lat.httpjob"); +RemoteObject _jp = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.JSONParser"); +RemoteObject _m = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _puntos = RemoteObject.createImmutable(0); +RemoteObject _duration = RemoteObject.createImmutable(""); +RemoteObject _distance = RemoteObject.createImmutable(""); +RemoteObject _mensaje = RemoteObject.createImmutable(""); +int _i = 0; +RemoteObject _ti = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject group8; +int index8; +int groupLen8; +int step37; +int limit37; +int step49; +int limit49; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("caculaRutaGPS (c_clientes) ","c_clientes",7,__ref.getField(false, "ba"),__ref,591); +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("coords", _coords); + BA.debugLineNum = 592;BA.debugLine="Private tmpList As List"; +Debug.ShouldStop(32768); +_tmplist = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");Debug.locals.put("tmpList", _tmplist); + BA.debugLineNum = 593;BA.debugLine="Dim cs, cs2 As CSBuilder"; +Debug.ShouldStop(65536); +_cs = RemoteObject.createNew ("anywheresoftware.b4a.objects.CSBuilder");Debug.locals.put("cs", _cs); +_cs2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CSBuilder");Debug.locals.put("cs2", _cs2); + BA.debugLineNum = 594;BA.debugLine="tmpList.Initialize"; +Debug.ShouldStop(131072); +_tmplist.runVoidMethod ("Initialize"); + BA.debugLineNum = 595;BA.debugLine="tmpList.AddAll(Array As String(\"ACTUAL\", Tracker."; +Debug.ShouldStop(262144); +_tmplist.runVoidMethod ("AddAll",(Object)(parent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {3},new Object[] {BA.ObjectToString("ACTUAL"),BA.NumberToString(parent._tracker._uugcoords /*RemoteObject*/ .runMethod(true,"getLongitude")),BA.NumberToString(parent._tracker._uugcoords /*RemoteObject*/ .runMethod(true,"getLatitude"))}))))); + BA.debugLineNum = 596;BA.debugLine="coords.InsertAt(0,tmpList)"; +Debug.ShouldStop(524288); +_coords.runVoidMethod ("InsertAt",(Object)(BA.numberCast(int.class, 0)),(Object)((_tmplist.getObject()))); + BA.debugLineNum = 597;BA.debugLine="Log(\"=================================\")"; +Debug.ShouldStop(1048576); +parent.__c.runVoidMethod ("LogImpl","811075590",RemoteObject.createImmutable("================================="),0); + BA.debugLineNum = 599;BA.debugLine="Private coordsStr As String = \"\""; +Debug.ShouldStop(4194304); +_coordsstr = BA.ObjectToString("");Debug.locals.put("coordsStr", _coordsstr);Debug.locals.put("coordsStr", _coordsstr); + BA.debugLineNum = 600;BA.debugLine="For Each tienda As List In coords"; +Debug.ShouldStop(8388608); +if (true) break; + +case 1: +//for +this.state = 10; +_tienda = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +group8 = _coords; +index8 = 0; +groupLen8 = group8.runMethod(true,"getSize").get(); +Debug.locals.put("tienda", _tienda); +this.state = 33; +if (true) break; + +case 33: +//C +this.state = 10; +if (index8 < groupLen8) { +this.state = 3; +_tienda = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), group8.runMethod(false,"Get",index8));Debug.locals.put("tienda", _tienda);} +if (true) break; + +case 34: +//C +this.state = 33; +index8++; +Debug.locals.put("tienda", _tienda); +if (true) break; + +case 3: +//C +this.state = 4; + BA.debugLineNum = 602;BA.debugLine="If coordsStr = \"\" Then"; +Debug.ShouldStop(33554432); +if (true) break; + +case 4: +//if +this.state = 9; +if (RemoteObject.solveBoolean("=",_coordsstr,BA.ObjectToString(""))) { +this.state = 6; +}else { +this.state = 8; +}if (true) break; + +case 6: +//C +this.state = 9; + BA.debugLineNum = 603;BA.debugLine="coordsStr = $\"${tienda.get(0)},${tienda.get(1)}"; +Debug.ShouldStop(67108864); +_coordsstr = (RemoteObject.concat(RemoteObject.createImmutable(""),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_tienda.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 0))))),RemoteObject.createImmutable(","),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_tienda.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 1))))),RemoteObject.createImmutable(","),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_tienda.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2))))),RemoteObject.createImmutable("")));Debug.locals.put("coordsStr", _coordsstr); + if (true) break; + +case 8: +//C +this.state = 9; + BA.debugLineNum = 605;BA.debugLine="coordsStr = $\"${coordsStr};${tienda.get(0)},${t"; +Debug.ShouldStop(268435456); +_coordsstr = (RemoteObject.concat(RemoteObject.createImmutable(""),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_coordsstr))),RemoteObject.createImmutable(";"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_tienda.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 0))))),RemoteObject.createImmutable(","),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_tienda.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 1))))),RemoteObject.createImmutable(","),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_tienda.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2))))),RemoteObject.createImmutable("")));Debug.locals.put("coordsStr", _coordsstr); + if (true) break; + +case 9: +//C +this.state = 34; +; + if (true) break; +if (true) break; + +case 10: +//C +this.state = 11; +Debug.locals.put("tienda", _tienda); +; + BA.debugLineNum = 608;BA.debugLine="Log(coordsStr)"; +Debug.ShouldStop(-2147483648); +parent.__c.runVoidMethod ("LogImpl","811075601",_coordsstr,0); + BA.debugLineNum = 609;BA.debugLine="ProgressDialogShow2(\"Calculando distancia y tiemp"; +Debug.ShouldStop(1); +parent.__c.runVoidMethod ("ProgressDialogShow2",__ref.getField(false, "ba"),(Object)(BA.ObjectToCharSequence("Calculando distancia y tiempo, un momento por favor.")),(Object)(parent.__c.getField(true,"False"))); + BA.debugLineNum = 610;BA.debugLine="Dim j As HttpJob"; +Debug.ShouldStop(2); +_j = RemoteObject.createNew ("reparto_izca.keymon.lat.httpjob");Debug.locals.put("j", _j); + BA.debugLineNum = 611;BA.debugLine="j.Initialize(\"trip\", Me) 'Calculamos el resto de"; +Debug.ShouldStop(4); +_j.runClassMethod (reparto_izca.keymon.lat.httpjob.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("trip")),(Object)(__ref)); + BA.debugLineNum = 612;BA.debugLine="j.Download($\"http://keymon.net:9002/ruteador?m=OS"; +Debug.ShouldStop(8); +_j.runClassMethod (reparto_izca.keymon.lat.httpjob.class, "_download" /*RemoteObject*/ ,(Object)((RemoteObject.concat(RemoteObject.createImmutable("http://keymon.net:9002/ruteador?m=OSRM&r="),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent._subs.runMethod(true,"_traerutareparto" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),RemoteObject.createImmutable("&a="),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),RemoteObject.createImmutable("&f=CEDIS,"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent._starter._cedislocation /*RemoteObject*/ .runMethod(true,"getLongitude")))),RemoteObject.createImmutable(","),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent._starter._cedislocation /*RemoteObject*/ .runMethod(true,"getLatitude")))),RemoteObject.createImmutable("&c="),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_coordsstr))),RemoteObject.createImmutable(""))))); + BA.debugLineNum = 613;BA.debugLine="Log($\"http://keymon.net:9002/ruteador?m=OSRM&r=${"; +Debug.ShouldStop(16); +parent.__c.runVoidMethod ("LogImpl","811075606",(RemoteObject.concat(RemoteObject.createImmutable("http://keymon.net:9002/ruteador?m=OSRM&r="),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent._subs.runMethod(true,"_traerutareparto" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),RemoteObject.createImmutable("&a="),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),RemoteObject.createImmutable("&f=CEDIS,"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent._starter._cedislocation /*RemoteObject*/ .runMethod(true,"getLongitude")))),RemoteObject.createImmutable(","),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent._starter._cedislocation /*RemoteObject*/ .runMethod(true,"getLatitude")))),RemoteObject.createImmutable("&c="),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_coordsstr))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 614;BA.debugLine="Wait For (j) JobDone(j As HttpJob)"; +Debug.ShouldStop(32); +parent.__c.runVoidMethod ("WaitFor","jobdone", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_clientes", "cacularutagps"), (_j)); +this.state = 35; +return; +case 35: +//C +this.state = 11; +_j = (RemoteObject) result.getArrayElement(false,RemoteObject.createImmutable(1));Debug.locals.put("j", _j); +; + BA.debugLineNum = 615;BA.debugLine="If j.Success Then"; +Debug.ShouldStop(64); +if (true) break; + +case 11: +//if +this.state = 32; +if (_j.getField(true,"_success" /*RemoteObject*/ ).get().booleanValue()) { +this.state = 13; +}else { +this.state = 31; +}if (true) break; + +case 13: +//C +this.state = 14; + BA.debugLineNum = 616;BA.debugLine="Dim jp As JSONParser"; +Debug.ShouldStop(128); +_jp = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.JSONParser");Debug.locals.put("jp", _jp); + BA.debugLineNum = 617;BA.debugLine="jp.Initialize(j.GetString)"; +Debug.ShouldStop(256); +_jp.runVoidMethod ("Initialize",(Object)(_j.runClassMethod (reparto_izca.keymon.lat.httpjob.class, "_getstring" /*RemoteObject*/ ))); + BA.debugLineNum = 618;BA.debugLine="Dim m As Map = jp.NextObject"; +Debug.ShouldStop(512); +_m = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_m = _jp.runMethod(false,"NextObject");Debug.locals.put("m", _m);Debug.locals.put("m", _m); + BA.debugLineNum = 619;BA.debugLine="Log(m)"; +Debug.ShouldStop(1024); +parent.__c.runVoidMethod ("LogImpl","811075612",BA.ObjectToString(_m),0); + BA.debugLineNum = 620;BA.debugLine="If m.Get(\"code\") = \"OK\" Then"; +Debug.ShouldStop(2048); +if (true) break; + +case 14: +//if +this.state = 29; +if (RemoteObject.solveBoolean("=",_m.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("code")))),RemoteObject.createImmutable(("OK")))) { +this.state = 16; +}if (true) break; + +case 16: +//C +this.state = 17; + BA.debugLineNum = 621;BA.debugLine="Log(\"===== OK\")"; +Debug.ShouldStop(4096); +parent.__c.runVoidMethod ("LogImpl","811075614",RemoteObject.createImmutable("===== OK"),0); + BA.debugLineNum = 622;BA.debugLine="rutaGenerada = True"; +Debug.ShouldStop(8192); +__ref.setField ("_rutagenerada" /*RemoteObject*/ ,parent.__c.getField(true,"True")); + BA.debugLineNum = 623;BA.debugLine="Dim puntos As Int = m.Get(\"puntos\")"; +Debug.ShouldStop(16384); +_puntos = BA.numberCast(int.class, _m.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("puntos")))));Debug.locals.put("puntos", _puntos);Debug.locals.put("puntos", _puntos); + BA.debugLineNum = 624;BA.debugLine="Private coords As List = m.Get(\"coords\")"; +Debug.ShouldStop(32768); +_coords = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +_coords = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), _m.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("coords")))));Debug.locals.put("coords", _coords);Debug.locals.put("coords", _coords); + BA.debugLineNum = 625;BA.debugLine="Private duration As String = m.Get(\"duration\")"; +Debug.ShouldStop(65536); +_duration = BA.ObjectToString(_m.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("duration")))));Debug.locals.put("duration", _duration);Debug.locals.put("duration", _duration); + BA.debugLineNum = 626;BA.debugLine="Private distance As String = m.Get(\"distance\")"; +Debug.ShouldStop(131072); +_distance = BA.ObjectToString(_m.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("distance")))));Debug.locals.put("distance", _distance);Debug.locals.put("distance", _distance); + BA.debugLineNum = 627;BA.debugLine="Private mensaje As String = m.Get(\"mensaje\")"; +Debug.ShouldStop(262144); +_mensaje = BA.ObjectToString(_m.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("mensaje")))));Debug.locals.put("mensaje", _mensaje);Debug.locals.put("mensaje", _mensaje); + BA.debugLineNum = 628;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from waypoint"; +Debug.ShouldStop(524288); +parent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from waypoints"))); + BA.debugLineNum = 629;BA.debugLine="Starter.skmt.ExecNonQuery(\"update kmt_info set"; +Debug.ShouldStop(1048576); +parent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("update kmt_info set SECUENCIA = 0"))); + BA.debugLineNum = 630;BA.debugLine="For i = 0 To coords.Size - 1"; +Debug.ShouldStop(2097152); +if (true) break; + +case 17: +//for +this.state = 20; +step37 = 1; +limit37 = RemoteObject.solve(new RemoteObject[] {_coords.runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +Debug.locals.put("i", _i); +this.state = 36; +if (true) break; + +case 36: +//C +this.state = 20; +if ((step37 > 0 && _i <= limit37) || (step37 < 0 && _i >= limit37)) this.state = 19; +if (true) break; + +case 37: +//C +this.state = 36; +_i = ((int)(0 + _i + step37)) ; +Debug.locals.put("i", _i); +if (true) break; + +case 19: +//C +this.state = 37; + BA.debugLineNum = 631;BA.debugLine="Private ti As Map = coords.Get(i)"; +Debug.ShouldStop(4194304); +_ti = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_ti = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), _coords.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _i))));Debug.locals.put("ti", _ti);Debug.locals.put("ti", _ti); + BA.debugLineNum = 632;BA.debugLine="Starter.skmt.ExecNonQuery($\"update kmt_info se"; +Debug.ShouldStop(8388608); +parent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update kmt_info set SECUENCIA = "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_ti.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("pos")))))),RemoteObject.createImmutable(" where CAT_CL_CODIGO = '"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(((BA.ObjectToString(_ti.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("id")))))).runMethod(true,"substring",(Object)(BA.numberCast(int.class, 1)))))),RemoteObject.createImmutable("'"))))); + BA.debugLineNum = 633;BA.debugLine="Starter.skmt.ExecNonQuery($\"insert into waypoi"; +Debug.ShouldStop(16777216); +parent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("insert into waypoints (codigo, indice) values ('"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(((BA.ObjectToString(_ti.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("id")))))).runMethod(true,"substring",(Object)(BA.numberCast(int.class, 1)))))),RemoteObject.createImmutable("', '"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_ti.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("pos")))))),RemoteObject.createImmutable("')"))))); + if (true) break; +if (true) break; + +case 20: +//C +this.state = 21; +Debug.locals.put("i", _i); +; + BA.debugLineNum = 635;BA.debugLine="c = Starter.skmt.ExecQuery(\"select codigo, indi"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select codigo, indice, CAT_CL_NOMBRE, CAT_CL_CALLE, CAT_CL_NOEXT from waypoints inner join kmt_info on waypoints.codigo = kmt_info.CAT_CL_CODIGO where gestion = 0 AND CAT_CL_RUTA <> 1000 order by indice")))); + BA.debugLineNum = 636;BA.debugLine="If c.RowCount > 0 Then 'Ya hay waypoints en la"; +Debug.ShouldStop(134217728); +if (true) break; + +case 21: +//if +this.state = 28; +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 23; +}if (true) break; + +case 23: +//C +this.state = 24; + BA.debugLineNum = 637;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 638;BA.debugLine="conMapa = True"; +Debug.ShouldStop(536870912); +__ref.setField ("_conmapa" /*RemoteObject*/ ,parent.__c.getField(true,"True")); + BA.debugLineNum = 639;BA.debugLine="ListView1.Clear"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 640;BA.debugLine="Dim cs, cs2 As CSBuilder"; +Debug.ShouldStop(-2147483648); +_cs = RemoteObject.createNew ("anywheresoftware.b4a.objects.CSBuilder");Debug.locals.put("cs", _cs); +_cs2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CSBuilder");Debug.locals.put("cs2", _cs2); + BA.debugLineNum = 641;BA.debugLine="entro = 3"; +Debug.ShouldStop(1); +__ref.setField ("_entro" /*RemoteObject*/ ,BA.NumberToString(3)); + BA.debugLineNum = 642;BA.debugLine="For i=0 To c.RowCount -1 'Generamos el listVie"; +Debug.ShouldStop(2); +if (true) break; + +case 24: +//for +this.state = 27; +step49 = 1; +limit49 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +Debug.locals.put("i", _i); +this.state = 38; +if (true) break; + +case 38: +//C +this.state = 27; +if ((step49 > 0 && _i <= limit49) || (step49 < 0 && _i >= limit49)) this.state = 26; +if (true) break; + +case 39: +//C +this.state = 38; +_i = ((int)(0 + _i + step49)) ; +Debug.locals.put("i", _i); +if (true) break; + +case 26: +//C +this.state = 39; + BA.debugLineNum = 643;BA.debugLine="c.Position = i"; +Debug.ShouldStop(4); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 644;BA.debugLine="cs.Initialize"; +Debug.ShouldStop(8); +_cs.runVoidMethod ("Initialize"); + BA.debugLineNum = 645;BA.debugLine="cs2.Initialize"; +Debug.ShouldStop(16); +_cs2.runVoidMethod ("Initialize"); + BA.debugLineNum = 646;BA.debugLine="ListView1.AddTwoLines(cs.Color(Colors.RGB(100"; +Debug.ShouldStop(32); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("AddTwoLines",(Object)(BA.ObjectToCharSequence(_cs.runMethod(false,"Color",(Object)(parent.__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(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("codigo")))))).runMethod(false,"PopAll").getObject())),(Object)(BA.ObjectToCharSequence(_cs2.runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_NOMBRE")))))).runMethod(false,"Color",(Object)(parent.__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(" Calle: ")))).runMethod(false,"Pop").runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CALLE"))).runMethod(true,"trim"),RemoteObject.createImmutable(" "),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_NOEXT"))))))).runMethod(false,"PopAll").getObject()))); + if (true) break; +if (true) break; + +case 27: +//C +this.state = 28; +Debug.locals.put("i", _i); +; + if (true) break; + +case 28: +//C +this.state = 29; +; + BA.debugLineNum = 649;BA.debugLine="c.Close"; +Debug.ShouldStop(256); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 650;BA.debugLine="Log($\"Distancia total: $1.1{distance/1000} kms,"; +Debug.ShouldStop(512); +parent.__c.runVoidMethod ("LogImpl","811075643",(RemoteObject.concat(RemoteObject.createImmutable("Distancia total: "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("1.1")),(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _distance),RemoteObject.createImmutable(1000)}, "/",0, 0)))),RemoteObject.createImmutable(" kms, tiempo aprox: "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("1.1")),(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _duration),RemoteObject.createImmutable(60)}, "/",0, 0)))),RemoteObject.createImmutable(" mins. ("),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("1.1")),(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _duration),RemoteObject.createImmutable(60),RemoteObject.createImmutable(60)}, "//",0, 0)))),RemoteObject.createImmutable(" hrs)"))),0); + BA.debugLineNum = 651;BA.debugLine="l_rutaInfo.Text = $\"Distancia: $1.1{distance/10"; +Debug.ShouldStop(1024); +__ref.getField(false,"_l_rutainfo" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable("Distancia: "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("1.1")),(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _distance),RemoteObject.createImmutable(1000)}, "/",0, 0)))),RemoteObject.createImmutable(" kms, tiempo aprox: "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("1.1")),(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _duration),RemoteObject.createImmutable(60),RemoteObject.createImmutable(60)}, "//",0, 0)))),RemoteObject.createImmutable(" hrs"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent.__c.getField(true,"CRLF")))),RemoteObject.createImmutable("Visitas restantes: "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((RemoteObject.solve(new RemoteObject[] {_puntos,RemoteObject.createImmutable(1)}, "-",1, 1)))),RemoteObject.createImmutable(""))))); + BA.debugLineNum = 652;BA.debugLine="l_rutaInfo.Width = Root.Width * 0.9"; +Debug.ShouldStop(2048); +__ref.getField(false,"_l_rutainfo" /*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 = 653;BA.debugLine="Subs.centraEtiqueta(l_rutaInfo, Root.Width)"; +Debug.ShouldStop(4096); +parent._subs.runVoidMethod ("_centraetiqueta" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_l_rutainfo" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"))); + BA.debugLineNum = 654;BA.debugLine="l_rutaInfo.Visible = True"; +Debug.ShouldStop(8192); +__ref.getField(false,"_l_rutainfo" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"True")); + BA.debugLineNum = 655;BA.debugLine="l_rutaInfo.BringToFront"; +Debug.ShouldStop(16384); +__ref.getField(false,"_l_rutainfo" /*RemoteObject*/ ).runVoidMethod ("BringToFront"); + BA.debugLineNum = 656;BA.debugLine="ListView1.Top = lv1Top + 100"; +Debug.ShouldStop(32768); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(true,"setTop",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(true,"_lv1top" /*RemoteObject*/ )),RemoteObject.createImmutable(100)}, "+",1, 0))); + if (true) break; + +case 29: +//C +this.state = 32; +; + if (true) break; + +case 31: +//C +this.state = 32; + BA.debugLineNum = 659;BA.debugLine="LogColor(\"**************** Error! ************"; +Debug.ShouldStop(262144); +parent.__c.runVoidMethod ("LogImpl","811075652",BA.ObjectToString("**************** Error! ******************"),parent.__c.getField(false,"Colors").getField(true,"Red")); + if (true) break; + +case 32: +//C +this.state = -1; +; + BA.debugLineNum = 661;BA.debugLine="j.Release"; +Debug.ShouldStop(1048576); +_j.runClassMethod (reparto_izca.keymon.lat.httpjob.class, "_release" /*RemoteObject*/ ); + BA.debugLineNum = 662;BA.debugLine="ProgressDialogHide"; +Debug.ShouldStop(2097152); +parent.__c.runVoidMethod ("ProgressDialogHide"); + BA.debugLineNum = 663;BA.debugLine="End Sub"; +Debug.ShouldStop(4194304); +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 _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 = 4;BA.debugLine="Dim q_buscar As String"; +c_clientes._q_buscar = RemoteObject.createImmutable("");__ref.setField("_q_buscar",c_clientes._q_buscar); + //BA.debugLineNum = 6;BA.debugLine="Dim entro As String"; +c_clientes._entro = RemoteObject.createImmutable("");__ref.setField("_entro",c_clientes._entro); + //BA.debugLineNum = 7;BA.debugLine="Dim c As Cursor"; +c_clientes._c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_c",c_clientes._c); + //BA.debugLineNum = 8;BA.debugLine="Dim c2 As Cursor"; +c_clientes._c2 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_c2",c_clientes._c2); + //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 = 11;BA.debugLine="Dim lfila As Label"; +c_clientes._lfila = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_lfila",c_clientes._lfila); + //BA.debugLineNum = 12;BA.debugLine="Dim busca As EditText"; +c_clientes._busca = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_busca",c_clientes._busca); + //BA.debugLineNum = 13;BA.debugLine="Private p_colonia As Panel"; +c_clientes._p_colonia = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_colonia",c_clientes._p_colonia); + //BA.debugLineNum = 16;BA.debugLine="Dim laRuta As String"; +c_clientes._laruta = RemoteObject.createImmutable("");__ref.setField("_laruta",c_clientes._laruta); + //BA.debugLineNum = 17;BA.debugLine="Private b_GetDirs As Button"; +c_clientes._b_getdirs = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_getdirs",c_clientes._b_getdirs); + //BA.debugLineNum = 18;BA.debugLine="Private distOrderedMap, clientesMapaO As B4XOrder"; +c_clientes._distorderedmap = RemoteObject.createNew ("reparto_izca.keymon.lat.b4xorderedmap");__ref.setField("_distorderedmap",c_clientes._distorderedmap); +c_clientes._clientesmapao = RemoteObject.createNew ("reparto_izca.keymon.lat.b4xorderedmap");__ref.setField("_clientesmapao",c_clientes._clientesmapao); + //BA.debugLineNum = 19;BA.debugLine="Private img_getDirs As ImageView"; +c_clientes._img_getdirs = RemoteObject.createNew ("anywheresoftware.b4a.objects.ImageViewWrapper");__ref.setField("_img_getdirs",c_clientes._img_getdirs); + //BA.debugLineNum = 20;BA.debugLine="Private l_rutaInfo As Label"; +c_clientes._l_rutainfo = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_rutainfo",c_clientes._l_rutainfo); + //BA.debugLineNum = 21;BA.debugLine="Private b_getRutaInfo As Button"; +c_clientes._b_getrutainfo = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_getrutainfo",c_clientes._b_getrutainfo); + //BA.debugLineNum = 22;BA.debugLine="Private conMapa As Boolean = False"; +c_clientes._conmapa = c_clientes.__c.getField(true,"False");__ref.setField("_conmapa",c_clientes._conmapa); + //BA.debugLineNum = 23;BA.debugLine="Dim listaWayPoints As List"; +c_clientes._listawaypoints = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");__ref.setField("_listawaypoints",c_clientes._listawaypoints); + //BA.debugLineNum = 24;BA.debugLine="Dim lv1Top As String"; +c_clientes._lv1top = RemoteObject.createImmutable("");__ref.setField("_lv1top",c_clientes._lv1top); + //BA.debugLineNum = 25;BA.debugLine="Private b_limpiarRuta As Button"; +c_clientes._b_limpiarruta = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_limpiarruta",c_clientes._b_limpiarruta); + //BA.debugLineNum = 26;BA.debugLine="Dim rutaGenerada As Boolean = False"; +c_clientes._rutagenerada = c_clientes.__c.getField(true,"False");__ref.setField("_rutagenerada",c_clientes._rutagenerada); + //BA.debugLineNum = 27;BA.debugLine="Dim rutaacambiar As String"; +c_clientes._rutaacambiar = RemoteObject.createImmutable("");__ref.setField("_rutaacambiar",c_clientes._rutaacambiar); + //BA.debugLineNum = 28;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _distanciaentrecoords(RemoteObject __ref,RemoteObject _id,RemoteObject _coords1,RemoteObject _coords2) throws Exception{ +try { + Debug.PushSubsStack("distanciaEntreCoords (c_clientes) ","c_clientes",7,__ref.getField(false, "ba"),__ref,262); +if (RapidSub.canDelegate("distanciaentrecoords")) { return __ref.runUserSub(false, "c_clientes","distanciaentrecoords", __ref, _id, _coords1, _coords2);} +ResumableSub_distanciaEntreCoords rsub = new ResumableSub_distanciaEntreCoords(null,__ref,_id,_coords1,_coords2); +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_distanciaEntreCoords extends BA.ResumableSub { +public ResumableSub_distanciaEntreCoords(reparto_izca.keymon.lat.c_clientes parent,RemoteObject __ref,RemoteObject _id,RemoteObject _coords1,RemoteObject _coords2) { +this.parent = parent; +this.__ref = __ref; +this._id = _id; +this._coords1 = _coords1; +this._coords2 = _coords2; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +reparto_izca.keymon.lat.c_clientes parent; +RemoteObject _id; +RemoteObject _coords1; +RemoteObject _coords2; +RemoteObject _distanciatotal = RemoteObject.createImmutable(""); +RemoteObject _tiempo = RemoteObject.createImmutable(""); +RemoteObject _j = RemoteObject.declareNull("reparto_izca.keymon.lat.httpjob"); +RemoteObject _jp = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.JSONParser"); +RemoteObject _m = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _rutas = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _rutas2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _r = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("distanciaEntreCoords (c_clientes) ","c_clientes",7,__ref.getField(false, "ba"),__ref,262); +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("id", _id); +Debug.locals.put("coords1", _coords1); +Debug.locals.put("coords2", _coords2); + BA.debugLineNum = 263;BA.debugLine="Sleep(1050)"; +Debug.ShouldStop(64); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_clientes", "distanciaentrecoords"),BA.numberCast(int.class, 1050)); +this.state = 11; +return; +case 11: +//C +this.state = 1; +; + BA.debugLineNum = 264;BA.debugLine="Private distanciaTotal As String = \"0\""; +Debug.ShouldStop(128); +_distanciatotal = BA.ObjectToString("0");Debug.locals.put("distanciaTotal", _distanciatotal);Debug.locals.put("distanciaTotal", _distanciatotal); + BA.debugLineNum = 265;BA.debugLine="Private tiempo As String = \"0\""; +Debug.ShouldStop(256); +_tiempo = BA.ObjectToString("0");Debug.locals.put("tiempo", _tiempo);Debug.locals.put("tiempo", _tiempo); + BA.debugLineNum = 266;BA.debugLine="Dim j As HttpJob"; +Debug.ShouldStop(512); +_j = RemoteObject.createNew ("reparto_izca.keymon.lat.httpjob");Debug.locals.put("j", _j); + BA.debugLineNum = 267;BA.debugLine="j.Initialize(\"\", Me)"; +Debug.ShouldStop(1024); +_j.runClassMethod (reparto_izca.keymon.lat.httpjob.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("")),(Object)(__ref)); + BA.debugLineNum = 268;BA.debugLine="j.Download(\"https://router.project-osrm.org/route"; +Debug.ShouldStop(2048); +_j.runClassMethod (reparto_izca.keymon.lat.httpjob.class, "_download" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("https://router.project-osrm.org/route/v1/driving/"),_coords1,RemoteObject.createImmutable(";"),_coords2,RemoteObject.createImmutable("?overview=false")))); + BA.debugLineNum = 269;BA.debugLine="Wait For (j) JobDone(j As HttpJob)"; +Debug.ShouldStop(4096); +parent.__c.runVoidMethod ("WaitFor","jobdone", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_clientes", "distanciaentrecoords"), (_j)); +this.state = 12; +return; +case 12: +//C +this.state = 1; +_j = (RemoteObject) result.getArrayElement(false,RemoteObject.createImmutable(1));Debug.locals.put("j", _j); +; + BA.debugLineNum = 270;BA.debugLine="If j.Success Then"; +Debug.ShouldStop(8192); +if (true) break; + +case 1: +//if +this.state = 10; +if (_j.getField(true,"_success" /*RemoteObject*/ ).get().booleanValue()) { +this.state = 3; +}else { +this.state = 9; +}if (true) break; + +case 3: +//C +this.state = 4; + BA.debugLineNum = 271;BA.debugLine="Dim jp As JSONParser"; +Debug.ShouldStop(16384); +_jp = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.JSONParser");Debug.locals.put("jp", _jp); + BA.debugLineNum = 272;BA.debugLine="jp.Initialize(j.GetString)"; +Debug.ShouldStop(32768); +_jp.runVoidMethod ("Initialize",(Object)(_j.runClassMethod (reparto_izca.keymon.lat.httpjob.class, "_getstring" /*RemoteObject*/ ))); + BA.debugLineNum = 273;BA.debugLine="Dim m As Map = jp.NextObject"; +Debug.ShouldStop(65536); +_m = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_m = _jp.runMethod(false,"NextObject");Debug.locals.put("m", _m);Debug.locals.put("m", _m); + BA.debugLineNum = 274;BA.debugLine="Log($\"Respuesta: ${m.Get(\"code\")}\"$)"; +Debug.ShouldStop(131072); +parent.__c.runVoidMethod ("LogImpl","810616844",(RemoteObject.concat(RemoteObject.createImmutable("Respuesta: "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_m.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("code")))))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 275;BA.debugLine="If m.Get(\"code\") = \"Ok\" Then"; +Debug.ShouldStop(262144); +if (true) break; + +case 4: +//if +this.state = 7; +if (RemoteObject.solveBoolean("=",_m.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("code")))),RemoteObject.createImmutable(("Ok")))) { +this.state = 6; +}if (true) break; + +case 6: +//C +this.state = 7; + BA.debugLineNum = 277;BA.debugLine="Dim rutas As List = m.Get(\"routes\")"; +Debug.ShouldStop(1048576); +_rutas = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +_rutas = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), _m.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("routes")))));Debug.locals.put("rutas", _rutas);Debug.locals.put("rutas", _rutas); + BA.debugLineNum = 278;BA.debugLine="Dim rutas2 As Map = rutas.Get(0)"; +Debug.ShouldStop(2097152); +_rutas2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_rutas2 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), _rutas.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 0))));Debug.locals.put("rutas2", _rutas2);Debug.locals.put("rutas2", _rutas2); + BA.debugLineNum = 282;BA.debugLine="distanciaTotal = rutas2.Get(\"distance\")"; +Debug.ShouldStop(33554432); +_distanciatotal = BA.ObjectToString(_rutas2.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("distance")))));Debug.locals.put("distanciaTotal", _distanciatotal); + BA.debugLineNum = 283;BA.debugLine="tiempo = rutas2.Get(\"duration\")"; +Debug.ShouldStop(67108864); +_tiempo = BA.ObjectToString(_rutas2.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("duration")))));Debug.locals.put("tiempo", _tiempo); + BA.debugLineNum = 284;BA.debugLine="Log($\"Distancia total: ${distanciaTotal}, Tiemp"; +Debug.ShouldStop(134217728); +parent.__c.runVoidMethod ("LogImpl","810616854",(RemoteObject.concat(RemoteObject.createImmutable("Distancia total: "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_distanciatotal))),RemoteObject.createImmutable(", Tiempo: "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tiempo))),RemoteObject.createImmutable(""))),0); + if (true) break; + +case 7: +//C +this.state = 10; +; + if (true) break; + +case 9: +//C +this.state = 10; + BA.debugLineNum = 287;BA.debugLine="Log(\"Error!\")"; +Debug.ShouldStop(1073741824); +parent.__c.runVoidMethod ("LogImpl","810616857",RemoteObject.createImmutable("Error!"),0); + if (true) break; + +case 10: +//C +this.state = -1; +; + BA.debugLineNum = 289;BA.debugLine="j.Release"; +Debug.ShouldStop(1); +_j.runClassMethod (reparto_izca.keymon.lat.httpjob.class, "_release" /*RemoteObject*/ ); + BA.debugLineNum = 290;BA.debugLine="Private r As List"; +Debug.ShouldStop(2); +_r = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");Debug.locals.put("r", _r); + BA.debugLineNum = 291;BA.debugLine="r.Initialize"; +Debug.ShouldStop(4); +_r.runVoidMethod ("Initialize"); + BA.debugLineNum = 292;BA.debugLine="r.Add(id)"; +Debug.ShouldStop(8); +_r.runVoidMethod ("Add",(Object)((_id))); + BA.debugLineNum = 293;BA.debugLine="r.Add(distanciaTotal)"; +Debug.ShouldStop(16); +_r.runVoidMethod ("Add",(Object)((_distanciatotal))); + BA.debugLineNum = 294;BA.debugLine="r.Add(tiempo)"; +Debug.ShouldStop(32); +_r.runVoidMethod ("Add",(Object)((_tiempo))); + BA.debugLineNum = 295;BA.debugLine="Return r"; +Debug.ShouldStop(64); +if (true) { +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(_r));return;}; + BA.debugLineNum = 296;BA.debugLine="End Sub"; +Debug.ShouldStop(128); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static void _generalistviewrutas(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("generaListViewRutas (c_clientes) ","c_clientes",7,__ref.getField(false, "ba"),__ref,195); +if (RapidSub.canDelegate("generalistviewrutas")) { __ref.runUserSub(false, "c_clientes","generalistviewrutas", __ref); return;} +ResumableSub_generaListViewRutas rsub = new ResumableSub_generaListViewRutas(null,__ref); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_generaListViewRutas extends BA.ResumableSub { +public ResumableSub_generaListViewRutas(reparto_izca.keymon.lat.c_clientes parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +reparto_izca.keymon.lat.c_clientes parent; +RemoteObject _label1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +RemoteObject _label2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +int _i = 0; +int step16; +int limit16; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("generaListViewRutas (c_clientes) ","c_clientes",7,__ref.getField(false, "ba"),__ref,195); +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 = 196;BA.debugLine="ListView1.Clear"; +Debug.ShouldStop(8); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 197;BA.debugLine="Sleep(110)"; +Debug.ShouldStop(16); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_clientes", "generalistviewrutas"),BA.numberCast(int.class, 110)); +this.state = 9; +return; +case 9: +//C +this.state = 1; +; + BA.debugLineNum = 198;BA.debugLine="lfila.Text = \"RUTA PREVENTA\""; +Debug.ShouldStop(32); +__ref.getField(false,"_lfila" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("RUTA PREVENTA")); + BA.debugLineNum = 199;BA.debugLine="Dim label1 As Label"; +Debug.ShouldStop(64); +_label1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label1", _label1); + BA.debugLineNum = 200;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; +Debug.ShouldStop(128); +_label1 = __ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"Label");Debug.locals.put("label1", _label1); + BA.debugLineNum = 201;BA.debugLine="label1.TextSize = 15"; +Debug.ShouldStop(256); +_label1.runMethod(true,"setTextSize",BA.numberCast(float.class, 15)); + BA.debugLineNum = 202;BA.debugLine="label1.TextColor = Colors.Black"; +Debug.ShouldStop(512); +_label1.runMethod(true,"setTextColor",parent.__c.getField(false,"Colors").getField(true,"Black")); + BA.debugLineNum = 203;BA.debugLine="Dim label2 As Label"; +Debug.ShouldStop(1024); +_label2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label2", _label2); + BA.debugLineNum = 204;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; +Debug.ShouldStop(2048); +_label2 = __ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"SecondLabel");Debug.locals.put("label2", _label2); + BA.debugLineNum = 205;BA.debugLine="label2.TextSize = 15"; +Debug.ShouldStop(4096); +_label2.runMethod(true,"setTextSize",BA.numberCast(float.class, 15)); + BA.debugLineNum = 206;BA.debugLine="label2.TextColor = Colors.Black"; +Debug.ShouldStop(8192); +_label2.runMethod(true,"setTextColor",parent.__c.getField(false,"Colors").getField(true,"Black")); + BA.debugLineNum = 207;BA.debugLine="ListView1.TwoLinesLayout.ItemHeight = 60dip"; +Debug.ShouldStop(16384); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").runMethod(true,"setItemHeight",parent.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 60)))); + BA.debugLineNum = 208;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CAT_CL_RUTA, cou"; +Debug.ShouldStop(32768); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_CL_RUTA, count(*) as cuantos from kmt_info where gestion = 0 AND CAT_CL_RUTA <> 1000 group by CAT_CL_RUTA order by CAT_CL_RUTA asc")))); + BA.debugLineNum = 209;BA.debugLine="If c.RowCount>0 Then"; +Debug.ShouldStop(65536); +if (true) break; + +case 1: +//if +this.state = 8; +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 3; +}if (true) break; + +case 3: +//C +this.state = 4; + BA.debugLineNum = 210;BA.debugLine="ListView1.Clear"; +Debug.ShouldStop(131072); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 211;BA.debugLine="For i=0 To c.RowCount -1"; +Debug.ShouldStop(262144); +if (true) break; + +case 4: +//for +this.state = 7; +step16 = 1; +limit16 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +Debug.locals.put("i", _i); +this.state = 10; +if (true) break; + +case 10: +//C +this.state = 7; +if ((step16 > 0 && _i <= limit16) || (step16 < 0 && _i >= limit16)) this.state = 6; +if (true) break; + +case 11: +//C +this.state = 10; +_i = ((int)(0 + _i + step16)) ; +Debug.locals.put("i", _i); +if (true) break; + +case 6: +//C +this.state = 11; + BA.debugLineNum = 212;BA.debugLine="c.Position=i"; +Debug.ShouldStop(524288); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 213;BA.debugLine="ListView1.AddTwoLines(\"Ruta: \" & c.GetString(\"C"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("AddTwoLines",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("Ruta: "),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA")))))),(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("Por visitar: "),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("cuantos"))))))); + if (true) break; +if (true) break; + +case 7: +//C +this.state = 8; +Debug.locals.put("i", _i); +; + if (true) break; + +case 8: +//C +this.state = -1; +; + BA.debugLineNum = 216;BA.debugLine="c.Close"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 217;BA.debugLine="End Sub"; +Debug.ShouldStop(16777216); +if (true) break; + + } + } + } +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_clientes) ","c_clientes",7,__ref.getField(false, "ba"),__ref,31); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "c_clientes","initialize", __ref, _ba);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); + BA.debugLineNum = 31;BA.debugLine="Public Sub Initialize As Object"; +Debug.ShouldStop(1073741824); + BA.debugLineNum = 32;BA.debugLine="Return Me"; +Debug.ShouldStop(-2147483648); +if (true) return __ref; + BA.debugLineNum = 33;BA.debugLine="End Sub"; +Debug.ShouldStop(1); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static void _listview1_itemclick(RemoteObject __ref,RemoteObject _position,RemoteObject _value) throws Exception{ +try { + Debug.PushSubsStack("ListView1_ItemClick (c_clientes) ","c_clientes",7,__ref.getField(false, "ba"),__ref,127); +if (RapidSub.canDelegate("listview1_itemclick")) { __ref.runUserSub(false, "c_clientes","listview1_itemclick", __ref, _position, _value); return;} +ResumableSub_ListView1_ItemClick rsub = new ResumableSub_ListView1_ItemClick(null,__ref,_position,_value); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_ListView1_ItemClick extends BA.ResumableSub { +public ResumableSub_ListView1_ItemClick(reparto_izca.keymon.lat.c_clientes 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; +reparto_izca.keymon.lat.c_clientes parent; +RemoteObject _position; +RemoteObject _value; +RemoteObject _lrt = RemoteObject.createImmutable(""); +RemoteObject _thisloc = RemoteObject.declareNull("anywheresoftware.b4a.gps.LocationWrapper"); +RemoteObject _label1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +RemoteObject _label2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +int _i = 0; +RemoteObject _distancia = RemoteObject.createImmutable(0); +RemoteObject _estecliente = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _m1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _k = RemoteObject.declareNull("Object"); +int step34; +int limit34; +RemoteObject group45; +int index45; +int groupLen45; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("ListView1_ItemClick (c_clientes) ","c_clientes",7,__ref.getField(false, "ba"),__ref,127); +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 = 129;BA.debugLine="Log(Value)"; +Debug.ShouldStop(1); +parent.__c.runVoidMethod ("LogImpl","810354690",BA.ObjectToString(_value),0); + BA.debugLineNum = 130;BA.debugLine="ListView1.Clear"; +Debug.ShouldStop(2); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 131;BA.debugLine="Sleep(50)"; +Debug.ShouldStop(4); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_clientes", "listview1_itemclick"),BA.numberCast(int.class, 50)); +this.state = 31; +return; +case 31: +//C +this.state = 1; +; + BA.debugLineNum = 132;BA.debugLine="Subs.SetDivider(ListView1, Colors.LightGray, 2)"; +Debug.ShouldStop(8); +parent._subs.runVoidMethod ("_setdivider" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_listview1" /*RemoteObject*/ )),(Object)(parent.__c.getField(false,"Colors").getField(true,"LightGray")),(Object)(BA.numberCast(int.class, 2))); + BA.debugLineNum = 133;BA.debugLine="If Not(l_rutaInfo.Visible) Then"; +Debug.ShouldStop(16); +if (true) break; + +case 1: +//if +this.state = 6; +if (parent.__c.runMethod(true,"Not",(Object)(__ref.getField(false,"_l_rutainfo" /*RemoteObject*/ ).runMethod(true,"getVisible"))).get().booleanValue()) { +this.state = 3; +}else { +this.state = 5; +}if (true) break; + +case 3: +//C +this.state = 6; + BA.debugLineNum = 134;BA.debugLine="ListView1.Top = lv1Top"; +Debug.ShouldStop(32); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(true,"setTop",BA.numberCast(int.class, __ref.getField(true,"_lv1top" /*RemoteObject*/ ))); + if (true) break; + +case 5: +//C +this.state = 6; + BA.debugLineNum = 136;BA.debugLine="ListView1.Top = lv1Top + 100"; +Debug.ShouldStop(128); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(true,"setTop",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(true,"_lv1top" /*RemoteObject*/ )),RemoteObject.createImmutable(100)}, "+",1, 0))); + if (true) break; + +case 6: +//C +this.state = 7; +; + BA.debugLineNum = 138;BA.debugLine="l_rutaInfo.Visible = False"; +Debug.ShouldStop(512); +__ref.getField(false,"_l_rutainfo" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 139;BA.debugLine="b_GetDirs.Visible = False"; +Debug.ShouldStop(1024); +__ref.getField(false,"_b_getdirs" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 140;BA.debugLine="If entro = \"2\" Then"; +Debug.ShouldStop(2048); +if (true) break; + +case 7: +//if +this.state = 30; +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_entro" /*RemoteObject*/ ),BA.ObjectToString("2"))) { +this.state = 9; +}else +{ BA.debugLineNum = 186;BA.debugLine="Else If entro = \"3\" Then"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_entro" /*RemoteObject*/ ),BA.ObjectToString("3"))) { +this.state = 29; +}} +if (true) break; + +case 9: +//C +this.state = 10; + BA.debugLineNum = 144;BA.debugLine="Private lrt As String"; +Debug.ShouldStop(32768); +_lrt = RemoteObject.createImmutable("");Debug.locals.put("lrt", _lrt); + BA.debugLineNum = 145;BA.debugLine="lrt = Value"; +Debug.ShouldStop(65536); +_lrt = BA.ObjectToString(_value);Debug.locals.put("lrt", _lrt); + BA.debugLineNum = 146;BA.debugLine="laRuta = lrt.SubString(6) 'Quitamos el texto \"Ru"; +Debug.ShouldStop(131072); +__ref.setField ("_laruta" /*RemoteObject*/ ,_lrt.runMethod(true,"substring",(Object)(BA.numberCast(int.class, 6)))); + BA.debugLineNum = 147;BA.debugLine="Log($\"Original: ${Value} - Mod: |${lrt.SubString"; +Debug.ShouldStop(262144); +parent.__c.runVoidMethod ("LogImpl","810354708",(RemoteObject.concat(RemoteObject.createImmutable("Original: "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_value)),RemoteObject.createImmutable(" - Mod: |"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_lrt.runMethod(true,"substring",(Object)(BA.numberCast(int.class, 6)))))),RemoteObject.createImmutable("| - laRuta: "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_laruta" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 148;BA.debugLine="rutaacambiar = laRuta"; +Debug.ShouldStop(524288); +__ref.setField ("_rutaacambiar" /*RemoteObject*/ ,__ref.getField(true,"_laruta" /*RemoteObject*/ )); + BA.debugLineNum = 149;BA.debugLine="c2 = Starter.skmt.ExecQuery2(\"select CAT_CL_NOMB"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_c2" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select CAT_CL_NOMBRE, CAT_CL_CALLE, CAT_CL_CODIGO, CAT_CL_LAT, CAT_CL_LONG from kmt_info where CAT_CL_RUTA = ? and gestion = 0 AND CAT_CL_RUTA <> 1000 order by CAT_CL_NOMBRE ")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(true,"_laruta" /*RemoteObject*/ )})))); + BA.debugLineNum = 150;BA.debugLine="Private thisLoc As Location"; +Debug.ShouldStop(2097152); +_thisloc = RemoteObject.createNew ("anywheresoftware.b4a.gps.LocationWrapper");Debug.locals.put("thisLoc", _thisloc); + BA.debugLineNum = 151;BA.debugLine="Private label1 As Label"; +Debug.ShouldStop(4194304); +_label1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label1", _label1); + BA.debugLineNum = 152;BA.debugLine="Private label2 As Label"; +Debug.ShouldStop(8388608); +_label2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label2", _label2); + BA.debugLineNum = 153;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; +Debug.ShouldStop(16777216); +_label1 = __ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"Label");Debug.locals.put("label1", _label1); + BA.debugLineNum = 154;BA.debugLine="label1.TextSize = 15"; +Debug.ShouldStop(33554432); +_label1.runMethod(true,"setTextSize",BA.numberCast(float.class, 15)); + BA.debugLineNum = 155;BA.debugLine="label1.TextColor = Colors.black"; +Debug.ShouldStop(67108864); +_label1.runMethod(true,"setTextColor",parent.__c.getField(false,"Colors").getField(true,"Black")); + BA.debugLineNum = 156;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 = 157;BA.debugLine="label2.TextSize = 15"; +Debug.ShouldStop(268435456); +_label2.runMethod(true,"setTextSize",BA.numberCast(float.class, 15)); + BA.debugLineNum = 158;BA.debugLine="label2.TextColor = Colors.black"; +Debug.ShouldStop(536870912); +_label2.runMethod(true,"setTextColor",parent.__c.getField(false,"Colors").getField(true,"Black")); + BA.debugLineNum = 159;BA.debugLine="label2.Height = 57dip"; +Debug.ShouldStop(1073741824); +_label2.runMethod(true,"setHeight",parent.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 57)))); + BA.debugLineNum = 160;BA.debugLine="thisLoc.Initialize"; +Debug.ShouldStop(-2147483648); +_thisloc.runVoidMethod ("Initialize"); + BA.debugLineNum = 161;BA.debugLine="If entro = 2 Then ListView1.TwoLinesLayout.ItemH"; +Debug.ShouldStop(1); +if (true) break; + +case 10: +//if +this.state = 15; +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_entro" /*RemoteObject*/ ),BA.NumberToString(2))) { +this.state = 12; +;}if (true) break; + +case 12: +//C +this.state = 15; +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").runMethod(true,"setItemHeight",parent.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 90)))); +if (true) break; + +case 15: +//C +this.state = 16; +; + BA.debugLineNum = 162;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 = 163;BA.debugLine="distOrderedMap.Initialize"; +Debug.ShouldStop(4); +__ref.getField(false,"_distorderedmap" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.b4xorderedmap.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 164;BA.debugLine="If c2.RowCount > 0 Then"; +Debug.ShouldStop(8); +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 = 165;BA.debugLine="For i = 0 To c2.RowCount -1 'Generamos mapa de"; +Debug.ShouldStop(16); +if (true) break; + +case 19: +//for +this.state = 22; +step34 = 1; +limit34 = 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 = 32; +if (true) break; + +case 32: +//C +this.state = 22; +if ((step34 > 0 && _i <= limit34) || (step34 < 0 && _i >= limit34)) this.state = 21; +if (true) break; + +case 33: +//C +this.state = 32; +_i = ((int)(0 + _i + step34)) ; +Debug.locals.put("i", _i); +if (true) break; + +case 21: +//C +this.state = 33; + BA.debugLineNum = 166;BA.debugLine="c2.Position = i"; +Debug.ShouldStop(32); +__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 167;BA.debugLine="thisLoc.Latitude = c2.GetString(\"CAT_CL_LAT\")"; +Debug.ShouldStop(64); +_thisloc.runMethod(true,"setLatitude",BA.numberCast(double.class, __ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_LAT"))))); + BA.debugLineNum = 168;BA.debugLine="thisLoc.Longitude = c2.GetString(\"CAT_CL_LONG\""; +Debug.ShouldStop(128); +_thisloc.runMethod(true,"setLongitude",BA.numberCast(double.class, __ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_LONG"))))); + BA.debugLineNum = 170;BA.debugLine="Private distancia As Int = Tracker.UUGCoords.D"; +Debug.ShouldStop(512); +_distancia = BA.numberCast(int.class, parent._tracker._uugcoords /*RemoteObject*/ .runMethod(true,"DistanceTo",(Object)((_thisloc.getObject()))));Debug.locals.put("distancia", _distancia);Debug.locals.put("distancia", _distancia); + BA.debugLineNum = 171;BA.debugLine="Private esteCliente As Map = CreateMap(\"distan"; +Debug.ShouldStop(1024); +_estecliente = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_estecliente = parent.__c.runMethod(false, "createMap", (Object)(new RemoteObject[] {RemoteObject.createImmutable(("distancia")),(_distancia),RemoteObject.createImmutable(("ubicacion")),(RemoteObject.concat(_thisloc.runMethod(true,"getLongitude"),RemoteObject.createImmutable(","),_thisloc.runMethod(true,"getLatitude"))),RemoteObject.createImmutable(("codigo")),(__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO")))),RemoteObject.createImmutable(("nomDirDist")),((RemoteObject.concat(RemoteObject.createImmutable(""),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_NOMBRE")))))),RemoteObject.createImmutable(" CALLE: "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CALLE")))))),RemoteObject.createImmutable(" "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent.__c.getField(true,"CRLF")))),RemoteObject.createImmutable("Distancia: "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("1.1")),(Object)(((RemoteObject.solve(new RemoteObject[] {_distancia,RemoteObject.createImmutable(1000)}, "/",0, 0))))),RemoteObject.createImmutable(" kms"))))}));Debug.locals.put("esteCliente", _estecliente);Debug.locals.put("esteCliente", _estecliente); + BA.debugLineNum = 172;BA.debugLine="distOrderedMap.Put(distancia, esteCliente)"; +Debug.ShouldStop(2048); +__ref.getField(false,"_distorderedmap" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.b4xorderedmap.class, "_put" /*RemoteObject*/ ,(Object)((_distancia)),(Object)((_estecliente.getObject()))); + if (true) break; +if (true) break; + +case 22: +//C +this.state = 23; +Debug.locals.put("i", _i); +; + BA.debugLineNum = 174;BA.debugLine="distOrderedMap.Keys.Sort(True) 'Ordenamos la ma"; +Debug.ShouldStop(8192); +__ref.getField(false,"_distorderedmap" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.b4xorderedmap.class, "_getkeys" /*RemoteObject*/ ).runVoidMethod ("Sort",(Object)(parent.__c.getField(true,"True"))); + BA.debugLineNum = 175;BA.debugLine="ListView1.Clear"; +Debug.ShouldStop(16384); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 176;BA.debugLine="Private m1 As Map"; +Debug.ShouldStop(32768); +_m1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");Debug.locals.put("m1", _m1); + BA.debugLineNum = 177;BA.debugLine="For Each k As Object In distOrderedMap.Keys 'G"; +Debug.ShouldStop(65536); +if (true) break; + +case 23: +//for +this.state = 26; +group45 = __ref.getField(false,"_distorderedmap" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.b4xorderedmap.class, "_getkeys" /*RemoteObject*/ ); +index45 = 0; +groupLen45 = group45.runMethod(true,"getSize").get(); +Debug.locals.put("k", _k); +this.state = 34; +if (true) break; + +case 34: +//C +this.state = 26; +if (index45 < groupLen45) { +this.state = 25; +_k = group45.runMethod(false,"Get",index45);Debug.locals.put("k", _k);} +if (true) break; + +case 35: +//C +this.state = 34; +index45++; +Debug.locals.put("k", _k); +if (true) break; + +case 25: +//C +this.state = 35; + BA.debugLineNum = 178;BA.debugLine="m1 = distOrderedMap.Get(k)"; +Debug.ShouldStop(131072); +_m1 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_distorderedmap" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.b4xorderedmap.class, "_get" /*RemoteObject*/ ,(Object)(_k)));Debug.locals.put("m1", _m1); + BA.debugLineNum = 179;BA.debugLine="m1.Get(\"codigo\")"; +Debug.ShouldStop(262144); +_m1.runVoidMethod ("Get",(Object)((RemoteObject.createImmutable("codigo")))); + BA.debugLineNum = 181;BA.debugLine="ListView1.AddTwoLines(m1.Get(\"codigo\"), m1.Get"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("AddTwoLines",(Object)(BA.ObjectToCharSequence(_m1.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("codigo")))))),(Object)(BA.ObjectToCharSequence(_m1.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("nomDirDist"))))))); + if (true) break; +if (true) break; + +case 26: +//C +this.state = 27; +Debug.locals.put("k", _k); +; + if (true) break; + +case 27: +//C +this.state = 30; +; + BA.debugLineNum = 184;BA.debugLine="c2.Close"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_c2" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 185;BA.debugLine="entro = \"3\""; +Debug.ShouldStop(16777216); +__ref.setField ("_entro" /*RemoteObject*/ ,BA.ObjectToString("3")); + if (true) break; + +case 29: +//C +this.state = 30; + BA.debugLineNum = 188;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CUENTAA\")"; +Debug.ShouldStop(134217728); +parent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from CUENTAA"))); + BA.debugLineNum = 189;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CUENTAA"; +Debug.ShouldStop(268435456); +parent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CUENTAA VALUES (?)")),(Object)(parent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {_value}))))); + BA.debugLineNum = 190;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +Debug.ShouldStop(536870912); +parent._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Cliente"))); + if (true) break; + +case 30: +//C +this.state = -1; +; + BA.debugLineNum = 192;BA.debugLine="End Sub"; +Debug.ShouldStop(-2147483648); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static RemoteObject _todosavisitar(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("todosAVisitar (c_clientes) ","c_clientes",7,__ref.getField(false, "ba"),__ref,666); +if (RapidSub.canDelegate("todosavisitar")) { return __ref.runUserSub(false, "c_clientes","todosavisitar", __ref);} +RemoteObject _sqlderuta = RemoteObject.createImmutable(""); +RemoteObject _avisitar = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _tmplist = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _coords = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"); + BA.debugLineNum = 666;BA.debugLine="Sub todosAVisitar As List"; +Debug.ShouldStop(33554432); + BA.debugLineNum = 667;BA.debugLine="Log(laRuta)"; +Debug.ShouldStop(67108864); +c_clientes.__c.runVoidMethod ("LogImpl","811141121",__ref.getField(true,"_laruta" /*RemoteObject*/ ),0); + BA.debugLineNum = 668;BA.debugLine="Log(entro)"; +Debug.ShouldStop(134217728); +c_clientes.__c.runVoidMethod ("LogImpl","811141122",__ref.getField(true,"_entro" /*RemoteObject*/ ),0); + BA.debugLineNum = 669;BA.debugLine="Private sqlDeRuta As String = \"\""; +Debug.ShouldStop(268435456); +_sqlderuta = BA.ObjectToString("");Debug.locals.put("sqlDeRuta", _sqlderuta);Debug.locals.put("sqlDeRuta", _sqlderuta); + BA.debugLineNum = 670;BA.debugLine="If entro = 3 Then sqlDeRuta = $\"and CAT_CL_RUTA ="; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_entro" /*RemoteObject*/ ),BA.NumberToString(3))) { +_sqlderuta = (RemoteObject.concat(RemoteObject.createImmutable("and CAT_CL_RUTA = '"),c_clientes.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_laruta" /*RemoteObject*/ )))),RemoteObject.createImmutable("'")));Debug.locals.put("sqlDeRuta", _sqlderuta);}; + BA.debugLineNum = 671;BA.debugLine="Private aVisitar, tmpList As List"; +Debug.ShouldStop(1073741824); +_avisitar = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");Debug.locals.put("aVisitar", _avisitar); +_tmplist = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");Debug.locals.put("tmpList", _tmplist); + BA.debugLineNum = 672;BA.debugLine="aVisitar.Initialize"; +Debug.ShouldStop(-2147483648); +_avisitar.runVoidMethod ("Initialize"); + BA.debugLineNum = 673;BA.debugLine="Private coords As ResultSet = Starter.skmt.ExecQu"; +Debug.ShouldStop(1); +_coords = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"); +_coords = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"), c_clientes._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select CAT_CL_CODIGO, CAT_CL_LAT, CAT_CL_LONG from kmt_info where gestion = 0 AND CAT_CL_RUTA <> 1000 "),c_clientes.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_sqlderuta))),RemoteObject.createImmutable(""))))));Debug.locals.put("coords", _coords);Debug.locals.put("coords", _coords); + BA.debugLineNum = 674;BA.debugLine="Do While coords.NextRow"; +Debug.ShouldStop(2); +while (_coords.runMethod(true,"NextRow").get().booleanValue()) { + BA.debugLineNum = 675;BA.debugLine="tmpList.Initialize"; +Debug.ShouldStop(4); +_tmplist.runVoidMethod ("Initialize"); + BA.debugLineNum = 676;BA.debugLine="tmpList.AddAll(Array As String(coords.GetString("; +Debug.ShouldStop(8); +_tmplist.runVoidMethod ("AddAll",(Object)(c_clientes.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {3},new Object[] {_coords.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO"))),_coords.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_LONG"))),_coords.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_LAT")))}))))); + BA.debugLineNum = 677;BA.debugLine="aVisitar.Add(tmpList)"; +Debug.ShouldStop(16); +_avisitar.runVoidMethod ("Add",(Object)((_tmplist.getObject()))); + } +; + BA.debugLineNum = 679;BA.debugLine="Log(aVisitar)"; +Debug.ShouldStop(64); +c_clientes.__c.runVoidMethod ("LogImpl","811141133",BA.ObjectToString(_avisitar),0); + BA.debugLineNum = 680;BA.debugLine="Return aVisitar"; +Debug.ShouldStop(128); +if (true) return _avisitar; + BA.debugLineNum = 681;BA.debugLine="End Sub"; +Debug.ShouldStop(256); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static void _traerutadia(RemoteObject __ref,RemoteObject _avisitar) throws Exception{ +try { + Debug.PushSubsStack("traeRutaDia (c_clientes) ","c_clientes",7,__ref.getField(false, "ba"),__ref,300); +if (RapidSub.canDelegate("traerutadia")) { __ref.runUserSub(false, "c_clientes","traerutadia", __ref, _avisitar); return;} +ResumableSub_traeRutaDia rsub = new ResumableSub_traeRutaDia(null,__ref,_avisitar); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_traeRutaDia extends BA.ResumableSub { +public ResumableSub_traeRutaDia(reparto_izca.keymon.lat.c_clientes parent,RemoteObject __ref,RemoteObject _avisitar) { +this.parent = parent; +this.__ref = __ref; +this._avisitar = _avisitar; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +reparto_izca.keymon.lat.c_clientes parent; +RemoteObject _avisitar; +RemoteObject _coordsinicio = RemoteObject.createImmutable(""); +RemoteObject _rutacompleta = RemoteObject.createImmutable(""); +RemoteObject _preruta = RemoteObject.createImmutable(""); +RemoteObject _distanciatotal = RemoteObject.createImmutable(0); +RemoteObject _distanciatotal0 = RemoteObject.createImmutable(0); +RemoteObject _tiempo0 = RemoteObject.createImmutable(0); +RemoteObject _tiempo = RemoteObject.createImmutable(0); +RemoteObject _masde100 = RemoteObject.createImmutable(false); +RemoteObject _m4 = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _visitaactual = RemoteObject.createImmutable(0); +RemoteObject _cuantosantes = RemoteObject.createImmutable(0); +RemoteObject _k = RemoteObject.declareNull("Object"); +RemoteObject _tiempovisitas = RemoteObject.createImmutable(0); +RemoteObject _j0 = RemoteObject.declareNull("reparto_izca.keymon.lat.httpjob"); +RemoteObject _jp0 = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.JSONParser"); +RemoteObject _m0 = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _puntos0 = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _estewaypoint0 = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +int _p = 0; +RemoteObject _rutas0 = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _rutas20 = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _j = RemoteObject.declareNull("reparto_izca.keymon.lat.httpjob"); +RemoteObject _jp = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.JSONParser"); +RemoteObject _m = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _puntos = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _estewaypoint = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _twpi = RemoteObject.createImmutable(0); +RemoteObject _rutas = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _rutas2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _r = RemoteObject.createImmutable(0); +RemoteObject _r1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _wps = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _label2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +RemoteObject _cs = RemoteObject.declareNull("anywheresoftware.b4a.objects.CSBuilder"); +RemoteObject _cs2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CSBuilder"); +int _i = 0; +RemoteObject group18; +int index18; +int groupLen18; +int step47; +int limit47; +int step78; +int limit78; +RemoteObject group112; +int index112; +int groupLen112; +int step135; +int limit135; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("traeRutaDia (c_clientes) ","c_clientes",7,__ref.getField(false, "ba"),__ref,300); +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("aVisitar", _avisitar); + BA.debugLineNum = 301;BA.debugLine="Private coordsInicio As String = $\"${Starter.cedi"; +Debug.ShouldStop(4096); +_coordsinicio = (RemoteObject.concat(RemoteObject.createImmutable(""),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent._starter._cedislocation /*RemoteObject*/ .runMethod(true,"getLongitude")))),RemoteObject.createImmutable(","),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent._starter._cedislocation /*RemoteObject*/ .runMethod(true,"getLatitude")))),RemoteObject.createImmutable("")));Debug.locals.put("coordsInicio", _coordsinicio);Debug.locals.put("coordsInicio", _coordsinicio); + BA.debugLineNum = 302;BA.debugLine="Log($\"Coordenadas de inicio: ${Starter.cedisLocat"; +Debug.ShouldStop(8192); +parent.__c.runVoidMethod ("LogImpl","810682370",(RemoteObject.concat(RemoteObject.createImmutable("Coordenadas de inicio: "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent._starter._cedislocation /*RemoteObject*/ .runMethod(true,"getLongitude")))),RemoteObject.createImmutable(","),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent._starter._cedislocation /*RemoteObject*/ .runMethod(true,"getLatitude")))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 303;BA.debugLine="Private rutaCompleta As String = coordsInicio"; +Debug.ShouldStop(16384); +_rutacompleta = _coordsinicio;Debug.locals.put("rutaCompleta", _rutacompleta);Debug.locals.put("rutaCompleta", _rutacompleta); + BA.debugLineNum = 304;BA.debugLine="Private preRuta As String = coordsInicio"; +Debug.ShouldStop(32768); +_preruta = _coordsinicio;Debug.locals.put("preRuta", _preruta);Debug.locals.put("preRuta", _preruta); + BA.debugLineNum = 305;BA.debugLine="Private distanciaTotal, distanciaTotal0, tiempo0,"; +Debug.ShouldStop(65536); +_distanciatotal = RemoteObject.createImmutable(0);Debug.locals.put("distanciaTotal", _distanciatotal); +_distanciatotal0 = RemoteObject.createImmutable(0);Debug.locals.put("distanciaTotal0", _distanciatotal0); +_tiempo0 = RemoteObject.createImmutable(0);Debug.locals.put("tiempo0", _tiempo0); +_tiempo = RemoteObject.createImmutable(0);Debug.locals.put("tiempo", _tiempo); + BA.debugLineNum = 306;BA.debugLine="Private masDe100 As Boolean"; +Debug.ShouldStop(131072); +_masde100 = RemoteObject.createImmutable(false);Debug.locals.put("masDe100", _masde100); + BA.debugLineNum = 307;BA.debugLine="Private m4 As Map"; +Debug.ShouldStop(262144); +_m4 = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");Debug.locals.put("m4", _m4); + BA.debugLineNum = 308;BA.debugLine="Private visitaActual As Int = 0"; +Debug.ShouldStop(524288); +_visitaactual = BA.numberCast(int.class, 0);Debug.locals.put("visitaActual", _visitaactual);Debug.locals.put("visitaActual", _visitaactual); + BA.debugLineNum = 309;BA.debugLine="Private cuantosAntes As Int = 0"; +Debug.ShouldStop(1048576); +_cuantosantes = BA.numberCast(int.class, 0);Debug.locals.put("cuantosAntes", _cuantosantes);Debug.locals.put("cuantosAntes", _cuantosantes); + BA.debugLineNum = 310;BA.debugLine="listaWayPoints.Initialize"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_listawaypoints" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 311;BA.debugLine="If aVisitar.Keys.Size > 98 Then 'Si los clientes"; +Debug.ShouldStop(4194304); +if (true) break; + +case 1: +//if +this.state = 4; +if (RemoteObject.solveBoolean(">",_avisitar.runClassMethod (reparto_izca.keymon.lat.b4xorderedmap.class, "_getkeys" /*RemoteObject*/ ).runMethod(true,"getSize"),BA.numberCast(double.class, 98))) { +this.state = 3; +}if (true) break; + +case 3: +//C +this.state = 4; + BA.debugLineNum = 312;BA.debugLine="cuantosAntes = aVisitar.Keys.Size - 98 'Definimo"; +Debug.ShouldStop(8388608); +_cuantosantes = RemoteObject.solve(new RemoteObject[] {_avisitar.runClassMethod (reparto_izca.keymon.lat.b4xorderedmap.class, "_getkeys" /*RemoteObject*/ ).runMethod(true,"getSize"),RemoteObject.createImmutable(98)}, "-",1, 1);Debug.locals.put("cuantosAntes", _cuantosantes); + BA.debugLineNum = 313;BA.debugLine="preRuta = coordsInicio 'Ponemos las coordenadas"; +Debug.ShouldStop(16777216); +_preruta = _coordsinicio;Debug.locals.put("preRuta", _preruta); + BA.debugLineNum = 314;BA.debugLine="rutaCompleta = \"\""; +Debug.ShouldStop(33554432); +_rutacompleta = BA.ObjectToString("");Debug.locals.put("rutaCompleta", _rutacompleta); + BA.debugLineNum = 315;BA.debugLine="masDe100 = True"; +Debug.ShouldStop(67108864); +_masde100 = parent.__c.getField(true,"True");Debug.locals.put("masDe100", _masde100); + if (true) break; + +case 4: +//C +this.state = 5; +; + BA.debugLineNum = 317;BA.debugLine="Log($\"a visitar: ${aVisitar.Keys.Size}\"$)"; +Debug.ShouldStop(268435456); +parent.__c.runVoidMethod ("LogImpl","810682385",(RemoteObject.concat(RemoteObject.createImmutable("a visitar: "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_avisitar.runClassMethod (reparto_izca.keymon.lat.b4xorderedmap.class, "_getkeys" /*RemoteObject*/ ).runMethod(true,"getSize")))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 318;BA.debugLine="For Each k As Object In aVisitar.Keys"; +Debug.ShouldStop(536870912); +if (true) break; + +case 5: +//for +this.state = 15; +group18 = _avisitar.runClassMethod (reparto_izca.keymon.lat.b4xorderedmap.class, "_getkeys" /*RemoteObject*/ ); +index18 = 0; +groupLen18 = group18.runMethod(true,"getSize").get(); +Debug.locals.put("k", _k); +this.state = 70; +if (true) break; + +case 70: +//C +this.state = 15; +if (index18 < groupLen18) { +this.state = 7; +_k = group18.runMethod(false,"Get",index18);Debug.locals.put("k", _k);} +if (true) break; + +case 71: +//C +this.state = 70; +index18++; +Debug.locals.put("k", _k); +if (true) break; + +case 7: +//C +this.state = 8; + BA.debugLineNum = 319;BA.debugLine="visitaActual = visitaActual + 1"; +Debug.ShouldStop(1073741824); +_visitaactual = RemoteObject.solve(new RemoteObject[] {_visitaactual,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("visitaActual", _visitaactual); + BA.debugLineNum = 320;BA.debugLine="m4 = aVisitar.Get(k)"; +Debug.ShouldStop(-2147483648); +_m4 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), _avisitar.runClassMethod (reparto_izca.keymon.lat.b4xorderedmap.class, "_get" /*RemoteObject*/ ,(Object)(_k)));Debug.locals.put("m4", _m4); + BA.debugLineNum = 322;BA.debugLine="If visitaActual < cuantosAntes + 2 Then 'Si esta"; +Debug.ShouldStop(2); +if (true) break; + +case 8: +//if +this.state = 11; +if (RemoteObject.solveBoolean("<",_visitaactual,BA.numberCast(double.class, RemoteObject.solve(new RemoteObject[] {_cuantosantes,RemoteObject.createImmutable(2)}, "+",1, 1)))) { +this.state = 10; +}if (true) break; + +case 10: +//C +this.state = 11; + BA.debugLineNum = 323;BA.debugLine="preRuta = preRuta & \";\" & m4.Get(\"coords\")"; +Debug.ShouldStop(4); +_preruta = RemoteObject.concat(_preruta,RemoteObject.createImmutable(";"),_m4.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("coords")))));Debug.locals.put("preRuta", _preruta); + if (true) break; +; + BA.debugLineNum = 326;BA.debugLine="If visitaActual >= cuantosAntes + 2 Then 'Si est"; +Debug.ShouldStop(32); + +case 11: +//if +this.state = 14; +if (RemoteObject.solveBoolean("g",_visitaactual,BA.numberCast(double.class, RemoteObject.solve(new RemoteObject[] {_cuantosantes,RemoteObject.createImmutable(2)}, "+",1, 1)))) { +this.state = 13; +}if (true) break; + +case 13: +//C +this.state = 14; + BA.debugLineNum = 327;BA.debugLine="rutaCompleta = rutaCompleta & \";\" & m4.Get(\"coo"; +Debug.ShouldStop(64); +_rutacompleta = RemoteObject.concat(_rutacompleta,RemoteObject.createImmutable(";"),_m4.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("coords")))));Debug.locals.put("rutaCompleta", _rutacompleta); + if (true) break; + +case 14: +//C +this.state = 71; +; + if (true) break; +if (true) break; + +case 15: +//C +this.state = 16; +Debug.locals.put("k", _k); +; + BA.debugLineNum = 331;BA.debugLine="rutaCompleta = rutaCompleta & \";\" & coordsInicio"; +Debug.ShouldStop(1024); +_rutacompleta = RemoteObject.concat(_rutacompleta,RemoteObject.createImmutable(";"),_coordsinicio);Debug.locals.put("rutaCompleta", _rutacompleta); + BA.debugLineNum = 333;BA.debugLine="If rutaCompleta.StartsWith(\";\") Then rutaCompleta"; +Debug.ShouldStop(4096); +if (true) break; + +case 16: +//if +this.state = 21; +if (_rutacompleta.runMethod(true,"startsWith",(Object)(RemoteObject.createImmutable(";"))).get().booleanValue()) { +this.state = 18; +;}if (true) break; + +case 18: +//C +this.state = 21; +_rutacompleta = _rutacompleta.runMethod(true,"substring",(Object)(BA.numberCast(int.class, 1)));Debug.locals.put("rutaCompleta", _rutacompleta); +if (true) break; + +case 21: +//C +this.state = 22; +; + BA.debugLineNum = 336;BA.debugLine="ProgressDialogShow2(\"Calculando distancia y tiemp"; +Debug.ShouldStop(32768); +parent.__c.runVoidMethod ("ProgressDialogShow2",__ref.getField(false, "ba"),(Object)(BA.ObjectToCharSequence("Calculando distancia y tiempo, un momento por favor.")),(Object)(parent.__c.getField(true,"False"))); + BA.debugLineNum = 337;BA.debugLine="Private tiempoVisitas As Double 'TIMEPO DE 4 MINU"; +Debug.ShouldStop(65536); +_tiempovisitas = RemoteObject.createImmutable(0);Debug.locals.put("tiempoVisitas", _tiempovisitas); + BA.debugLineNum = 338;BA.debugLine="tiempoVisitas = aVisitar.Keys.Size * 4 * 60 'Aqui"; +Debug.ShouldStop(131072); +_tiempovisitas = BA.numberCast(double.class, RemoteObject.solve(new RemoteObject[] {_avisitar.runClassMethod (reparto_izca.keymon.lat.b4xorderedmap.class, "_getkeys" /*RemoteObject*/ ).runMethod(true,"getSize"),RemoteObject.createImmutable(4),RemoteObject.createImmutable(60)}, "**",0, 1));Debug.locals.put("tiempoVisitas", _tiempovisitas); + BA.debugLineNum = 339;BA.debugLine="tiempo0 = 0"; +Debug.ShouldStop(262144); +_tiempo0 = BA.numberCast(double.class, 0);Debug.locals.put("tiempo0", _tiempo0); + BA.debugLineNum = 340;BA.debugLine="distanciaTotal0 = 0"; +Debug.ShouldStop(524288); +_distanciatotal0 = BA.numberCast(double.class, 0);Debug.locals.put("distanciaTotal0", _distanciatotal0); + BA.debugLineNum = 341;BA.debugLine="If masDe100 Then 'Si son mas de 100, entonces pri"; +Debug.ShouldStop(1048576); +if (true) break; + +case 22: +//if +this.state = 39; +if (_masde100.get().booleanValue()) { +this.state = 24; +}if (true) break; + +case 24: +//C +this.state = 25; + BA.debugLineNum = 342;BA.debugLine="Dim j0 As HttpJob"; +Debug.ShouldStop(2097152); +_j0 = RemoteObject.createNew ("reparto_izca.keymon.lat.httpjob");Debug.locals.put("j0", _j0); + BA.debugLineNum = 343;BA.debugLine="j0.Initialize(\"trip0\", Me)"; +Debug.ShouldStop(4194304); +_j0.runClassMethod (reparto_izca.keymon.lat.httpjob.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("trip0")),(Object)(__ref)); + BA.debugLineNum = 344;BA.debugLine="j0.Download(\"https://router.project-osrm.org/tri"; +Debug.ShouldStop(8388608); +_j0.runClassMethod (reparto_izca.keymon.lat.httpjob.class, "_download" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("https://router.project-osrm.org/trip/v1/driving/"),_preruta,RemoteObject.createImmutable("?source=first&destination=last&roundtrip=false&geometries=geojson")))); + BA.debugLineNum = 346;BA.debugLine="Wait For (j0) JobDone(j0 As HttpJob)"; +Debug.ShouldStop(33554432); +parent.__c.runVoidMethod ("WaitFor","jobdone", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_clientes", "traerutadia"), (_j0)); +this.state = 72; +return; +case 72: +//C +this.state = 25; +_j0 = (RemoteObject) result.getArrayElement(false,RemoteObject.createImmutable(1));Debug.locals.put("j0", _j0); +; + BA.debugLineNum = 347;BA.debugLine="If j0.Success Then"; +Debug.ShouldStop(67108864); +if (true) break; + +case 25: +//if +this.state = 38; +if (_j0.getField(true,"_success" /*RemoteObject*/ ).get().booleanValue()) { +this.state = 27; +}else { +this.state = 37; +}if (true) break; + +case 27: +//C +this.state = 28; + BA.debugLineNum = 348;BA.debugLine="Dim jp0 As JSONParser"; +Debug.ShouldStop(134217728); +_jp0 = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.JSONParser");Debug.locals.put("jp0", _jp0); + BA.debugLineNum = 349;BA.debugLine="jp0.Initialize(j0.GetString)"; +Debug.ShouldStop(268435456); +_jp0.runVoidMethod ("Initialize",(Object)(_j0.runClassMethod (reparto_izca.keymon.lat.httpjob.class, "_getstring" /*RemoteObject*/ ))); + BA.debugLineNum = 350;BA.debugLine="Dim m0 As Map = jp0.NextObject"; +Debug.ShouldStop(536870912); +_m0 = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_m0 = _jp0.runMethod(false,"NextObject");Debug.locals.put("m0", _m0);Debug.locals.put("m0", _m0); + BA.debugLineNum = 351;BA.debugLine="If m0.Get(\"code\") = \"Ok\" Then"; +Debug.ShouldStop(1073741824); +if (true) break; + +case 28: +//if +this.state = 35; +if (RemoteObject.solveBoolean("=",_m0.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("code")))),RemoteObject.createImmutable(("Ok")))) { +this.state = 30; +}if (true) break; + +case 30: +//C +this.state = 31; + BA.debugLineNum = 352;BA.debugLine="Dim puntos0 As List = m0.Get(\"waypoints\")"; +Debug.ShouldStop(-2147483648); +_puntos0 = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +_puntos0 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), _m0.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("waypoints")))));Debug.locals.put("puntos0", _puntos0);Debug.locals.put("puntos0", _puntos0); + BA.debugLineNum = 353;BA.debugLine="Private esteWayPoint0 As Map"; +Debug.ShouldStop(1); +_estewaypoint0 = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");Debug.locals.put("esteWayPoint0", _estewaypoint0); + BA.debugLineNum = 354;BA.debugLine="For p = 0 To puntos0.Size -1"; +Debug.ShouldStop(2); +if (true) break; + +case 31: +//for +this.state = 34; +step47 = 1; +limit47 = RemoteObject.solve(new RemoteObject[] {_puntos0.runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_p = 0 ; +Debug.locals.put("p", _p); +this.state = 73; +if (true) break; + +case 73: +//C +this.state = 34; +if ((step47 > 0 && _p <= limit47) || (step47 < 0 && _p >= limit47)) this.state = 33; +if (true) break; + +case 74: +//C +this.state = 73; +_p = ((int)(0 + _p + step47)) ; +Debug.locals.put("p", _p); +if (true) break; + +case 33: +//C +this.state = 74; + BA.debugLineNum = 355;BA.debugLine="esteWayPoint0 = puntos0.Get(p)"; +Debug.ShouldStop(4); +_estewaypoint0 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), _puntos0.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _p))));Debug.locals.put("esteWayPoint0", _estewaypoint0); + BA.debugLineNum = 358;BA.debugLine="esteWayPoint0.Remove(\"hint\")"; +Debug.ShouldStop(32); +_estewaypoint0.runVoidMethod ("Remove",(Object)((RemoteObject.createImmutable("hint")))); + BA.debugLineNum = 359;BA.debugLine="esteWayPoint0.Remove(\"distance\")"; +Debug.ShouldStop(64); +_estewaypoint0.runVoidMethod ("Remove",(Object)((RemoteObject.createImmutable("distance")))); + BA.debugLineNum = 360;BA.debugLine="esteWayPoint0.Remove(\"trips_index\")"; +Debug.ShouldStop(128); +_estewaypoint0.runVoidMethod ("Remove",(Object)((RemoteObject.createImmutable("trips_index")))); + BA.debugLineNum = 361;BA.debugLine="listaWayPoints.Add(esteWayPoint0)"; +Debug.ShouldStop(256); +__ref.getField(false,"_listawaypoints" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)((_estewaypoint0.getObject()))); + if (true) break; +if (true) break; + +case 34: +//C +this.state = 35; +Debug.locals.put("p", _p); +; + BA.debugLineNum = 364;BA.debugLine="Dim rutas0 As List = m0.Get(\"trips\")"; +Debug.ShouldStop(2048); +_rutas0 = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +_rutas0 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), _m0.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("trips")))));Debug.locals.put("rutas0", _rutas0);Debug.locals.put("rutas0", _rutas0); + BA.debugLineNum = 365;BA.debugLine="Dim rutas20 As Map = rutas0.Get(0)"; +Debug.ShouldStop(4096); +_rutas20 = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_rutas20 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), _rutas0.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 0))));Debug.locals.put("rutas20", _rutas20);Debug.locals.put("rutas20", _rutas20); + BA.debugLineNum = 368;BA.debugLine="distanciaTotal0 = rutas20.Get(\"distance\")"; +Debug.ShouldStop(32768); +_distanciatotal0 = BA.numberCast(double.class, _rutas20.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("distance")))));Debug.locals.put("distanciaTotal0", _distanciatotal0); + BA.debugLineNum = 369;BA.debugLine="tiempo0 = rutas20.Get(\"duration\")"; +Debug.ShouldStop(65536); +_tiempo0 = BA.numberCast(double.class, _rutas20.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("duration")))));Debug.locals.put("tiempo0", _tiempo0); + BA.debugLineNum = 370;BA.debugLine="tiempo0 = ((tiempo0 * 2) ) 'Tiempo X 2 (es muy"; +Debug.ShouldStop(131072); +_tiempo0 = ((RemoteObject.solve(new RemoteObject[] {_tiempo0,RemoteObject.createImmutable(2)}, "*",0, 0)));Debug.locals.put("tiempo0", _tiempo0); + BA.debugLineNum = 371;BA.debugLine="Log($\"Distancia total ruta inicial: $1.1{dista"; +Debug.ShouldStop(262144); +parent.__c.runVoidMethod ("LogImpl","810682439",(RemoteObject.concat(RemoteObject.createImmutable("Distancia total ruta inicial: "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("1.1")),(Object)((RemoteObject.solve(new RemoteObject[] {_distanciatotal0,RemoteObject.createImmutable(1000)}, "/",0, 0)))),RemoteObject.createImmutable(" kms, tiempo aprox: "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("1.1")),(Object)((RemoteObject.solve(new RemoteObject[] {_tiempo0,RemoteObject.createImmutable(60)}, "/",0, 0)))),RemoteObject.createImmutable(" mins. ("),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("1.1")),(Object)((RemoteObject.solve(new RemoteObject[] {_tiempo0,RemoteObject.createImmutable(60),RemoteObject.createImmutable(60)}, "//",0, 0)))),RemoteObject.createImmutable(" hrs)"))),0); + if (true) break; + +case 35: +//C +this.state = 38; +; + if (true) break; + +case 37: +//C +this.state = 38; + BA.debugLineNum = 375;BA.debugLine="Log(\"Error!\")"; +Debug.ShouldStop(4194304); +parent.__c.runVoidMethod ("LogImpl","810682443",RemoteObject.createImmutable("Error!"),0); + if (true) break; + +case 38: +//C +this.state = 39; +; + BA.debugLineNum = 377;BA.debugLine="j0.Release"; +Debug.ShouldStop(16777216); +_j0.runClassMethod (reparto_izca.keymon.lat.httpjob.class, "_release" /*RemoteObject*/ ); + if (true) break; + +case 39: +//C +this.state = 40; +; + BA.debugLineNum = 380;BA.debugLine="Dim j As HttpJob"; +Debug.ShouldStop(134217728); +_j = RemoteObject.createNew ("reparto_izca.keymon.lat.httpjob");Debug.locals.put("j", _j); + BA.debugLineNum = 381;BA.debugLine="j.Initialize(\"trip\", Me) 'Calculamos el resto de"; +Debug.ShouldStop(268435456); +_j.runClassMethod (reparto_izca.keymon.lat.httpjob.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("trip")),(Object)(__ref)); + BA.debugLineNum = 382;BA.debugLine="j.Download(\"https://router.project-osrm.org/trip/"; +Debug.ShouldStop(536870912); +_j.runClassMethod (reparto_izca.keymon.lat.httpjob.class, "_download" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("https://router.project-osrm.org/trip/v1/driving/"),_rutacompleta,RemoteObject.createImmutable("?source=first&destination=last&roundtrip=false&geometries=geojson")))); + BA.debugLineNum = 384;BA.debugLine="Wait For (j) JobDone(j As HttpJob)"; +Debug.ShouldStop(-2147483648); +parent.__c.runVoidMethod ("WaitFor","jobdone", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_clientes", "traerutadia"), (_j)); +this.state = 75; +return; +case 75: +//C +this.state = 40; +_j = (RemoteObject) result.getArrayElement(false,RemoteObject.createImmutable(1));Debug.locals.put("j", _j); +; + BA.debugLineNum = 385;BA.debugLine="If j.Success Then"; +Debug.ShouldStop(1); +if (true) break; + +case 40: +//if +this.state = 53; +if (_j.getField(true,"_success" /*RemoteObject*/ ).get().booleanValue()) { +this.state = 42; +}else { +this.state = 52; +}if (true) break; + +case 42: +//C +this.state = 43; + BA.debugLineNum = 386;BA.debugLine="Dim jp As JSONParser"; +Debug.ShouldStop(2); +_jp = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.JSONParser");Debug.locals.put("jp", _jp); + BA.debugLineNum = 387;BA.debugLine="jp.Initialize(j.GetString)"; +Debug.ShouldStop(4); +_jp.runVoidMethod ("Initialize",(Object)(_j.runClassMethod (reparto_izca.keymon.lat.httpjob.class, "_getstring" /*RemoteObject*/ ))); + BA.debugLineNum = 388;BA.debugLine="Dim m As Map = jp.NextObject"; +Debug.ShouldStop(8); +_m = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_m = _jp.runMethod(false,"NextObject");Debug.locals.put("m", _m);Debug.locals.put("m", _m); + BA.debugLineNum = 389;BA.debugLine="If m.Get(\"code\") = \"Ok\" Then"; +Debug.ShouldStop(16); +if (true) break; + +case 43: +//if +this.state = 50; +if (RemoteObject.solveBoolean("=",_m.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("code")))),RemoteObject.createImmutable(("Ok")))) { +this.state = 45; +}if (true) break; + +case 45: +//C +this.state = 46; + BA.debugLineNum = 390;BA.debugLine="Dim puntos As List = m.Get(\"waypoints\")"; +Debug.ShouldStop(32); +_puntos = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +_puntos = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), _m.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("waypoints")))));Debug.locals.put("puntos", _puntos);Debug.locals.put("puntos", _puntos); + BA.debugLineNum = 391;BA.debugLine="Private esteWayPoint As Map"; +Debug.ShouldStop(64); +_estewaypoint = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");Debug.locals.put("esteWayPoint", _estewaypoint); + BA.debugLineNum = 392;BA.debugLine="Dim twpi As Int"; +Debug.ShouldStop(128); +_twpi = RemoteObject.createImmutable(0);Debug.locals.put("twpi", _twpi); + BA.debugLineNum = 393;BA.debugLine="For p = 0 To puntos.Size -1"; +Debug.ShouldStop(256); +if (true) break; + +case 46: +//for +this.state = 49; +step78 = 1; +limit78 = RemoteObject.solve(new RemoteObject[] {_puntos.runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_p = 0 ; +Debug.locals.put("p", _p); +this.state = 76; +if (true) break; + +case 76: +//C +this.state = 49; +if ((step78 > 0 && _p <= limit78) || (step78 < 0 && _p >= limit78)) this.state = 48; +if (true) break; + +case 77: +//C +this.state = 76; +_p = ((int)(0 + _p + step78)) ; +Debug.locals.put("p", _p); +if (true) break; + +case 48: +//C +this.state = 77; + BA.debugLineNum = 394;BA.debugLine="esteWayPoint = puntos.Get(p)"; +Debug.ShouldStop(512); +_estewaypoint = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), _puntos.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _p))));Debug.locals.put("esteWayPoint", _estewaypoint); + BA.debugLineNum = 397;BA.debugLine="esteWayPoint.Remove(\"hint\")"; +Debug.ShouldStop(4096); +_estewaypoint.runVoidMethod ("Remove",(Object)((RemoteObject.createImmutable("hint")))); + BA.debugLineNum = 398;BA.debugLine="esteWayPoint.Remove(\"distance\")"; +Debug.ShouldStop(8192); +_estewaypoint.runVoidMethod ("Remove",(Object)((RemoteObject.createImmutable("distance")))); + BA.debugLineNum = 399;BA.debugLine="esteWayPoint.Remove(\"trips_index\")"; +Debug.ShouldStop(16384); +_estewaypoint.runVoidMethod ("Remove",(Object)((RemoteObject.createImmutable("trips_index")))); + BA.debugLineNum = 400;BA.debugLine="twpi = esteWayPoint.Get(\"waypoint_index\")"; +Debug.ShouldStop(32768); +_twpi = BA.numberCast(int.class, _estewaypoint.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("waypoint_index")))));Debug.locals.put("twpi", _twpi); + BA.debugLineNum = 401;BA.debugLine="esteWayPoint.Remove(\"waypoint_index\")"; +Debug.ShouldStop(65536); +_estewaypoint.runVoidMethod ("Remove",(Object)((RemoteObject.createImmutable("waypoint_index")))); + BA.debugLineNum = 402;BA.debugLine="esteWayPoint.Put(\"waypoint_index\", (twpi + cua"; +Debug.ShouldStop(131072); +_estewaypoint.runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("waypoint_index"))),(Object)(((RemoteObject.solve(new RemoteObject[] {_twpi,_cuantosantes,RemoteObject.createImmutable(2)}, "++",2, 1))))); + BA.debugLineNum = 403;BA.debugLine="listaWayPoints.Add(esteWayPoint)"; +Debug.ShouldStop(262144); +__ref.getField(false,"_listawaypoints" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)((_estewaypoint.getObject()))); + if (true) break; +if (true) break; + +case 49: +//C +this.state = 50; +Debug.locals.put("p", _p); +; + BA.debugLineNum = 406;BA.debugLine="Dim rutas As List = m.Get(\"trips\")"; +Debug.ShouldStop(2097152); +_rutas = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +_rutas = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), _m.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("trips")))));Debug.locals.put("rutas", _rutas);Debug.locals.put("rutas", _rutas); + BA.debugLineNum = 407;BA.debugLine="Dim rutas2 As Map = rutas.Get(0)"; +Debug.ShouldStop(4194304); +_rutas2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_rutas2 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), _rutas.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 0))));Debug.locals.put("rutas2", _rutas2);Debug.locals.put("rutas2", _rutas2); + BA.debugLineNum = 408;BA.debugLine="distanciaTotal = rutas2.Get(\"distance\")"; +Debug.ShouldStop(8388608); +_distanciatotal = BA.numberCast(double.class, _rutas2.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("distance")))));Debug.locals.put("distanciaTotal", _distanciatotal); + BA.debugLineNum = 409;BA.debugLine="Log(\"distancia ruta 2:\" & (distanciaTotal) & \"|"; +Debug.ShouldStop(16777216); +parent.__c.runVoidMethod ("LogImpl","810682477",RemoteObject.concat(RemoteObject.createImmutable("distancia ruta 2:"),(_distanciatotal),RemoteObject.createImmutable("|"),_rutas2.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("distance"))))),0); + BA.debugLineNum = 410;BA.debugLine="distanciaTotal = distanciaTotal + distanciaTota"; +Debug.ShouldStop(33554432); +_distanciatotal = RemoteObject.solve(new RemoteObject[] {_distanciatotal,_distanciatotal0}, "+",1, 0);Debug.locals.put("distanciaTotal", _distanciatotal); + BA.debugLineNum = 411;BA.debugLine="tiempo = rutas2.Get(\"duration\")"; +Debug.ShouldStop(67108864); +_tiempo = BA.numberCast(double.class, _rutas2.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("duration")))));Debug.locals.put("tiempo", _tiempo); + BA.debugLineNum = 412;BA.debugLine="tiempo = (((tiempo + tiempo0) * 2) + tiempoVisi"; +Debug.ShouldStop(134217728); +_tiempo = (RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {_tiempo,_tiempo0}, "+",1, 0)),RemoteObject.createImmutable(2)}, "*",0, 0)),_tiempovisitas}, "+",1, 0));Debug.locals.put("tiempo", _tiempo); + BA.debugLineNum = 413;BA.debugLine="Log($\"Distancia total: $1.1{distanciaTotal/1000"; +Debug.ShouldStop(268435456); +parent.__c.runVoidMethod ("LogImpl","810682481",(RemoteObject.concat(RemoteObject.createImmutable("Distancia total: "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("1.1")),(Object)((RemoteObject.solve(new RemoteObject[] {_distanciatotal,RemoteObject.createImmutable(1000)}, "/",0, 0)))),RemoteObject.createImmutable(" kms, tiempo aprox: "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("1.1")),(Object)((RemoteObject.solve(new RemoteObject[] {_tiempo,RemoteObject.createImmutable(60)}, "/",0, 0)))),RemoteObject.createImmutable(" mins. ("),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("1.1")),(Object)((RemoteObject.solve(new RemoteObject[] {_tiempo,RemoteObject.createImmutable(60),RemoteObject.createImmutable(60)}, "//",0, 0)))),RemoteObject.createImmutable(" hrs)"))),0); + BA.debugLineNum = 414;BA.debugLine="l_rutaInfo.Text = $\"Distancia: $1.1{distanciaTo"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_l_rutainfo" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable("Distancia: "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("1.1")),(Object)((RemoteObject.solve(new RemoteObject[] {_distanciatotal,RemoteObject.createImmutable(1000)}, "/",0, 0)))),RemoteObject.createImmutable(" kms, tiempo aprox: "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("1.1")),(Object)((RemoteObject.solve(new RemoteObject[] {_tiempo,RemoteObject.createImmutable(60),RemoteObject.createImmutable(60)}, "//",0, 0)))),RemoteObject.createImmutable(" hrs"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent.__c.getField(true,"CRLF")))),RemoteObject.createImmutable("Visitas restantes: "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_avisitar.runClassMethod (reparto_izca.keymon.lat.b4xorderedmap.class, "_getkeys" /*RemoteObject*/ ).runMethod(true,"getSize")))),RemoteObject.createImmutable(""))))); + BA.debugLineNum = 415;BA.debugLine="l_rutaInfo.Width = Root.Width * 0.9"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_l_rutainfo" /*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 = 416;BA.debugLine="Subs.centraEtiqueta(l_rutaInfo, Root.Width)"; +Debug.ShouldStop(-2147483648); +parent._subs.runVoidMethod ("_centraetiqueta" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_l_rutainfo" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"))); + BA.debugLineNum = 417;BA.debugLine="l_rutaInfo.Visible = True"; +Debug.ShouldStop(1); +__ref.getField(false,"_l_rutainfo" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"True")); + BA.debugLineNum = 418;BA.debugLine="l_rutaInfo.BringToFront"; +Debug.ShouldStop(2); +__ref.getField(false,"_l_rutainfo" /*RemoteObject*/ ).runVoidMethod ("BringToFront"); + BA.debugLineNum = 419;BA.debugLine="ListView1.Top = lv1Top + 100"; +Debug.ShouldStop(4); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(true,"setTop",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(true,"_lv1top" /*RemoteObject*/ )),RemoteObject.createImmutable(100)}, "+",1, 0))); + if (true) break; + +case 50: +//C +this.state = 53; +; + if (true) break; + +case 52: +//C +this.state = 53; + BA.debugLineNum = 422;BA.debugLine="LogColor(\"**************** Error! ************"; +Debug.ShouldStop(32); +parent.__c.runVoidMethod ("LogImpl","810682490",BA.ObjectToString("**************** Error! ******************"),parent.__c.getField(false,"Colors").getField(true,"Red")); + if (true) break; + +case 53: +//C +this.state = 54; +; + BA.debugLineNum = 424;BA.debugLine="j.Release"; +Debug.ShouldStop(128); +_j.runClassMethod (reparto_izca.keymon.lat.httpjob.class, "_release" /*RemoteObject*/ ); + BA.debugLineNum = 425;BA.debugLine="ProgressDialogHide"; +Debug.ShouldStop(256); +parent.__c.runVoidMethod ("ProgressDialogHide"); + BA.debugLineNum = 427;BA.debugLine="Private r As Int = 1"; +Debug.ShouldStop(1024); +_r = BA.numberCast(int.class, 1);Debug.locals.put("r", _r);Debug.locals.put("r", _r); + BA.debugLineNum = 428;BA.debugLine="Private r1, wps As Map"; +Debug.ShouldStop(2048); +_r1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");Debug.locals.put("r1", _r1); +_wps = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");Debug.locals.put("wps", _wps); + BA.debugLineNum = 429;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from waypoints\""; +Debug.ShouldStop(4096); +parent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from waypoints"))); + BA.debugLineNum = 430;BA.debugLine="Log(\"BORRAMOS WAYPOINTS\")"; +Debug.ShouldStop(8192); +parent.__c.runVoidMethod ("LogImpl","810682498",RemoteObject.createImmutable("BORRAMOS WAYPOINTS"),0); + BA.debugLineNum = 431;BA.debugLine="For Each k As Object In clientesMapaO.Keys 'Guard"; +Debug.ShouldStop(16384); +if (true) break; + +case 54: +//for +this.state = 61; +group112 = __ref.getField(false,"_clientesmapao" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.b4xorderedmap.class, "_getkeys" /*RemoteObject*/ ); +index112 = 0; +groupLen112 = group112.runMethod(true,"getSize").get(); +Debug.locals.put("k", _k); +this.state = 78; +if (true) break; + +case 78: +//C +this.state = 61; +if (index112 < groupLen112) { +this.state = 56; +_k = group112.runMethod(false,"Get",index112);Debug.locals.put("k", _k);} +if (true) break; + +case 79: +//C +this.state = 78; +index112++; +Debug.locals.put("k", _k); +if (true) break; + +case 56: +//C +this.state = 57; + BA.debugLineNum = 432;BA.debugLine="If listaWayPoints.Size > 0 Then"; +Debug.ShouldStop(32768); +if (true) break; + +case 57: +//if +this.state = 60; +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_listawaypoints" /*RemoteObject*/ ).runMethod(true,"getSize"),BA.numberCast(double.class, 0))) { +this.state = 59; +}if (true) break; + +case 59: +//C +this.state = 60; + BA.debugLineNum = 433;BA.debugLine="r1 = clientesMapaO.Get(k)"; +Debug.ShouldStop(65536); +_r1 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clientesmapao" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.b4xorderedmap.class, "_get" /*RemoteObject*/ ,(Object)(_k)));Debug.locals.put("r1", _r1); + BA.debugLineNum = 434;BA.debugLine="r1.Get(\"codigo\")"; +Debug.ShouldStop(131072); +_r1.runVoidMethod ("Get",(Object)((RemoteObject.createImmutable("codigo")))); + BA.debugLineNum = 435;BA.debugLine="Log(listaWayPoints.Get(r) & \"|\" & r1.Get(\"coord"; +Debug.ShouldStop(262144); +parent.__c.runVoidMethod ("LogImpl","810682503",RemoteObject.concat(__ref.getField(false,"_listawaypoints" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(_r)),RemoteObject.createImmutable("|"),_r1.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("coords")))),RemoteObject.createImmutable("|"),_r1.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("calle"))))),0); + BA.debugLineNum = 436;BA.debugLine="wps = listaWayPoints.Get(r)"; +Debug.ShouldStop(524288); +_wps = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_listawaypoints" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(_r)));Debug.locals.put("wps", _wps); + BA.debugLineNum = 437;BA.debugLine="Starter.skmt.ExecNonQuery($\"update kmt_info set"; +Debug.ShouldStop(1048576); +parent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update kmt_info set SECUENCIA = "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_wps.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("waypoint_index")))))),RemoteObject.createImmutable(" where CAT_CL_CODIGO = '"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_r1.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("codigo")))))),RemoteObject.createImmutable("'"))))); + BA.debugLineNum = 438;BA.debugLine="Starter.skmt.ExecNonQuery2(\"insert into waypoin"; +Debug.ShouldStop(2097152); +parent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("insert into waypoints values (?,?)")),(Object)(parent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {_r1.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("codigo")))),_wps.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("waypoint_index"))))}))))); + BA.debugLineNum = 439;BA.debugLine="r = r + 1"; +Debug.ShouldStop(4194304); +_r = RemoteObject.solve(new RemoteObject[] {_r,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("r", _r); + if (true) break; + +case 60: +//C +this.state = 79; +; + if (true) break; +if (true) break; + +case 61: +//C +this.state = 62; +Debug.locals.put("k", _k); +; + BA.debugLineNum = 442;BA.debugLine="ListView1.Clear"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 443;BA.debugLine="Sleep(100)"; +Debug.ShouldStop(67108864); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_clientes", "traerutadia"),BA.numberCast(int.class, 100)); +this.state = 80; +return; +case 80: +//C +this.state = 62; +; + BA.debugLineNum = 444;BA.debugLine="Dim label2 As Label"; +Debug.ShouldStop(134217728); +_label2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label2", _label2); + BA.debugLineNum = 445;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; +Debug.ShouldStop(268435456); +_label2 = __ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"SecondLabel");Debug.locals.put("label2", _label2); + BA.debugLineNum = 446;BA.debugLine="label2.TextSize = 15"; +Debug.ShouldStop(536870912); +_label2.runMethod(true,"setTextSize",BA.numberCast(float.class, 15)); + BA.debugLineNum = 447;BA.debugLine="label2.Height = 100dip"; +Debug.ShouldStop(1073741824); +_label2.runMethod(true,"setHeight",parent.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 100)))); + BA.debugLineNum = 448;BA.debugLine="ListView1.TwoLinesLayout.ItemHeight = 70dip"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").runMethod(true,"setItemHeight",parent.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 70)))); + BA.debugLineNum = 449;BA.debugLine="Dim cs, cs2 As CSBuilder"; +Debug.ShouldStop(1); +_cs = RemoteObject.createNew ("anywheresoftware.b4a.objects.CSBuilder");Debug.locals.put("cs", _cs); +_cs2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CSBuilder");Debug.locals.put("cs2", _cs2); + BA.debugLineNum = 450;BA.debugLine="entro = 3"; +Debug.ShouldStop(2); +__ref.setField ("_entro" /*RemoteObject*/ ,BA.NumberToString(3)); + BA.debugLineNum = 451;BA.debugLine="Log(\"Generamos ListView1 en traeRutaDia\")"; +Debug.ShouldStop(4); +parent.__c.runVoidMethod ("LogImpl","810682519",RemoteObject.createImmutable("Generamos ListView1 en traeRutaDia"),0); + BA.debugLineNum = 453;BA.debugLine="c=Starter.skmt.ExecQuery(\"select codigo, indice,"; +Debug.ShouldStop(16); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select codigo, indice, CAT_CL_NOMBRE, CAT_CL_CALLE, CAT_CL_NOEXT from waypoints inner join kmt_info on waypoints.codigo = kmt_info.CAT_CL_CODIGO where gestion = 0 AND CAT_CL_RUTA <> 1000 order by indice")))); + BA.debugLineNum = 454;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(32); +if (true) break; + +case 62: +//if +this.state = 69; +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 64; +}if (true) break; + +case 64: +//C +this.state = 65; + BA.debugLineNum = 455;BA.debugLine="For i=0 To c.RowCount -1 'Generamos el listView"; +Debug.ShouldStop(64); +if (true) break; + +case 65: +//for +this.state = 68; +step135 = 1; +limit135 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).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 = 68; +if ((step135 > 0 && _i <= limit135) || (step135 < 0 && _i >= limit135)) this.state = 67; +if (true) break; + +case 82: +//C +this.state = 81; +_i = ((int)(0 + _i + step135)) ; +Debug.locals.put("i", _i); +if (true) break; + +case 67: +//C +this.state = 82; + BA.debugLineNum = 456;BA.debugLine="c.Position=i"; +Debug.ShouldStop(128); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 457;BA.debugLine="cs.Initialize"; +Debug.ShouldStop(256); +_cs.runVoidMethod ("Initialize"); + BA.debugLineNum = 458;BA.debugLine="cs2.Initialize"; +Debug.ShouldStop(512); +_cs2.runVoidMethod ("Initialize"); + BA.debugLineNum = 459;BA.debugLine="ListView1.AddTwoLines(cs.Color(Colors.RGB(100,1"; +Debug.ShouldStop(1024); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("AddTwoLines",(Object)(BA.ObjectToCharSequence(_cs.runMethod(false,"Color",(Object)(parent.__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(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("codigo")))))).runMethod(false,"PopAll").getObject())),(Object)(BA.ObjectToCharSequence(_cs2.runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_NOMBRE")))))).runMethod(false,"Color",(Object)(parent.__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(" Calle: ")))).runMethod(false,"Pop").runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CALLE"))).runMethod(true,"trim"),RemoteObject.createImmutable(" "),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_NOEXT"))))))).runMethod(false,"PopAll").getObject()))); + if (true) break; +if (true) break; + +case 68: +//C +this.state = 69; +Debug.locals.put("i", _i); +; + if (true) break; + +case 69: +//C +this.state = -1; +; + BA.debugLineNum = 462;BA.debugLine="c.Close"; +Debug.ShouldStop(8192); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 463;BA.debugLine="End Sub"; +Debug.ShouldStop(16384); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static RemoteObject _traetodosavisitar(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("traeTodosAVisitar (c_clientes) ","c_clientes",7,__ref.getField(false, "ba"),__ref,515); +if (RapidSub.canDelegate("traetodosavisitar")) { return __ref.runUserSub(false, "c_clientes","traetodosavisitar", __ref);} +RemoteObject _thisloc = RemoteObject.declareNull("anywheresoftware.b4a.gps.LocationWrapper"); +RemoteObject _ubicacioninicial = RemoteObject.declareNull("anywheresoftware.b4a.gps.LocationWrapper"); +int _i = 0; +int _j = 0; +RemoteObject _distancia = RemoteObject.createImmutable(0); +RemoteObject _estecliente = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); + BA.debugLineNum = 515;BA.debugLine="Sub traeTodosAVisitar As B4XOrderedMap 'ignore"; +Debug.ShouldStop(4); + BA.debugLineNum = 516;BA.debugLine="Log(\"Iniciamos traeTodosAVisitar\")"; +Debug.ShouldStop(8); +c_clientes.__c.runVoidMethod ("LogImpl","810813441",RemoteObject.createImmutable("Iniciamos traeTodosAVisitar"),0); + BA.debugLineNum = 519;BA.debugLine="Private thisLoc, ubicacionInicial As Location"; +Debug.ShouldStop(64); +_thisloc = RemoteObject.createNew ("anywheresoftware.b4a.gps.LocationWrapper");Debug.locals.put("thisLoc", _thisloc); +_ubicacioninicial = RemoteObject.createNew ("anywheresoftware.b4a.gps.LocationWrapper");Debug.locals.put("ubicacionInicial", _ubicacioninicial); + BA.debugLineNum = 520;BA.debugLine="ubicacionInicial = Starter.cedisLocation"; +Debug.ShouldStop(128); +_ubicacioninicial = c_clientes._starter._cedislocation /*RemoteObject*/ ;Debug.locals.put("ubicacionInicial", _ubicacioninicial); + BA.debugLineNum = 521;BA.debugLine="LogColor(ubicacionInicial, Colors.Gray)"; +Debug.ShouldStop(256); +c_clientes.__c.runVoidMethod ("LogImpl","810813446",BA.ObjectToString(_ubicacioninicial),c_clientes.__c.getField(false,"Colors").getField(true,"Gray")); + BA.debugLineNum = 522;BA.debugLine="c=Starter.skmt.ExecQuery(\"select sum(gestion) as"; +Debug.ShouldStop(512); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_clientes._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select sum(gestion) as hayVisitados from kmt_info")))); + BA.debugLineNum = 523;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 = 524;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(2048); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 526;BA.debugLine="If c.GetString(\"hayVisitados\") > 0 Then ubicacio"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("hayVisitados")))),BA.numberCast(double.class, 0))) { +_ubicacioninicial = c_clientes._tracker._uugcoords /*RemoteObject*/ ;Debug.locals.put("ubicacionInicial", _ubicacioninicial);}; + }; + BA.debugLineNum = 528;BA.debugLine="c.Close"; +Debug.ShouldStop(32768); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 529;BA.debugLine="LogColor(ubicacionInicial, Colors.Red)"; +Debug.ShouldStop(65536); +c_clientes.__c.runVoidMethod ("LogImpl","810813454",BA.ObjectToString(_ubicacioninicial),c_clientes.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 530;BA.debugLine="thisLoc.Initialize"; +Debug.ShouldStop(131072); +_thisloc.runVoidMethod ("Initialize"); + BA.debugLineNum = 531;BA.debugLine="clientesMapaO.Clear"; +Debug.ShouldStop(262144); +__ref.getField(false,"_clientesmapao" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.b4xorderedmap.class, "_clear" /*RemoteObject*/ ); + BA.debugLineNum = 533;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CAT_CL_RUTA, cou"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_clientes._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_CL_RUTA, count(*) as cuantos from kmt_info where gestion = 0 AND CAT_CL_RUTA <> 1000 group by CAT_CL_RUTA order by CAT_CL_RUTA asc")))); + BA.debugLineNum = 534;BA.debugLine="If c.RowCount>0 Then"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 536;BA.debugLine="For i=0 To c.RowCount -1"; +Debug.ShouldStop(8388608); +{ +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 = 537;BA.debugLine="c.Position=i"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 539;BA.debugLine="c2=Starter.skmt.ExecQuery2(\"select CAT_CL_NOMB"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_c2" /*RemoteObject*/ ).setObject (c_clientes._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select CAT_CL_NOMBRE, CAT_CL_CALLE, CAT_CL_CODIGO, CAT_CL_LAT, CAT_CL_LONG from kmt_info where CAT_CL_RUTA = ? and gestion = 0 AND CAT_CL_RUTA <> 1000 order by CAT_CL_NOMBRE ")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA")))})))); + BA.debugLineNum = 540;BA.debugLine="If c2.RowCount>0 Then"; +Debug.ShouldStop(134217728); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 541;BA.debugLine="For j=0 To c2.RowCount -1 'Generamos lista de"; +Debug.ShouldStop(268435456); +{ +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(); +_j = 0 ; +for (;(step20 > 0 && _j <= limit20) || (step20 < 0 && _j >= limit20) ;_j = ((int)(0 + _j + step20)) ) { +Debug.locals.put("j", _j); + BA.debugLineNum = 542;BA.debugLine="c2.Position=j"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _j)); + BA.debugLineNum = 544;BA.debugLine="thisLoc.Latitude = c2.GetString(\"CAT_CL_LAT\")"; +Debug.ShouldStop(-2147483648); +_thisloc.runMethod(true,"setLatitude",BA.numberCast(double.class, __ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_LAT"))))); + BA.debugLineNum = 545;BA.debugLine="thisLoc.Longitude = c2.GetString(\"CAT_CL_LONG"; +Debug.ShouldStop(1); +_thisloc.runMethod(true,"setLongitude",BA.numberCast(double.class, __ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_LONG"))))); + BA.debugLineNum = 546;BA.debugLine="If Not(thisLoc.Latitude = 0.0) And Not(thisLo"; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean(".",c_clientes.__c.runMethod(true,"Not",(Object)(BA.ObjectToBoolean(RemoteObject.solveBoolean("=",_thisloc.runMethod(true,"getLatitude"),BA.numberCast(double.class, 0.0)))))) && RemoteObject.solveBoolean(".",c_clientes.__c.runMethod(true,"Not",(Object)(BA.ObjectToBoolean(RemoteObject.solveBoolean("=",_thisloc.runMethod(true,"getLatitude"),BA.numberCast(double.class, 0))))))) { + BA.debugLineNum = 547;BA.debugLine="Private distancia As Int = ubicacionInicial."; +Debug.ShouldStop(4); +_distancia = BA.numberCast(int.class, _ubicacioninicial.runMethod(true,"DistanceTo",(Object)((_thisloc.getObject()))));Debug.locals.put("distancia", _distancia);Debug.locals.put("distancia", _distancia); + BA.debugLineNum = 548;BA.debugLine="If clientesMapaO.ContainsKey(distancia) Then"; +Debug.ShouldStop(8); +if (__ref.getField(false,"_clientesmapao" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.b4xorderedmap.class, "_containskey" /*RemoteObject*/ ,(Object)((_distancia))).get().booleanValue()) { +_distancia = RemoteObject.solve(new RemoteObject[] {_distancia,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("distancia", _distancia);}; + BA.debugLineNum = 549;BA.debugLine="Private esteCliente As Map = CreateMap(\"dist"; +Debug.ShouldStop(16); +_estecliente = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_estecliente = c_clientes.__c.runMethod(false, "createMap", (Object)(new RemoteObject[] {RemoteObject.createImmutable(("distancia")),(_distancia),RemoteObject.createImmutable(("ordenDist")),RemoteObject.createImmutable((_j)),RemoteObject.createImmutable(("coords")),(RemoteObject.concat(__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_LONG"))),RemoteObject.createImmutable(","),__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_LAT"))))),RemoteObject.createImmutable(("codigo")),(__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO")))),RemoteObject.createImmutable(("nombre")),(__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_NOMBRE")))),RemoteObject.createImmutable(("calle")),(__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CALLE"))))}));Debug.locals.put("esteCliente", _estecliente);Debug.locals.put("esteCliente", _estecliente); + BA.debugLineNum = 550;BA.debugLine="clientesMapaO.Put(distancia, esteCliente)"; +Debug.ShouldStop(32); +__ref.getField(false,"_clientesmapao" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.b4xorderedmap.class, "_put" /*RemoteObject*/ ,(Object)((_distancia)),(Object)((_estecliente.getObject()))); + }else { + BA.debugLineNum = 552;BA.debugLine="ToastMessageShow(\"Hay tiendas SIN coordenada"; +Debug.ShouldStop(128); +c_clientes.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Hay tiendas SIN coordenadas, fueron excluidas!!")),(Object)(c_clientes.__c.getField(true,"False"))); + }; + } +}Debug.locals.put("j", _j); +; + }; + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 560;BA.debugLine="clientesMapaO.Keys.Sort(True) 'Ordenamos la lista"; +Debug.ShouldStop(32768); +__ref.getField(false,"_clientesmapao" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.b4xorderedmap.class, "_getkeys" /*RemoteObject*/ ).runVoidMethod ("Sort",(Object)(c_clientes.__c.getField(true,"True"))); + BA.debugLineNum = 561;BA.debugLine="c.Close"; +Debug.ShouldStop(65536); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 562;BA.debugLine="c2.Close"; +Debug.ShouldStop(131072); +__ref.getField(false,"_c2" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 563;BA.debugLine="Log(c.RowCount & \" rutas, \" & clientesMapaO.Size"; +Debug.ShouldStop(262144); +c_clientes.__c.runVoidMethod ("LogImpl","810813488",RemoteObject.concat(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(" rutas, "),__ref.getField(false,"_clientesmapao" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.b4xorderedmap.class, "_getsize" /*RemoteObject*/ ),RemoteObject.createImmutable(" clientes")),0); + BA.debugLineNum = 566;BA.debugLine="Return clientesMapaO"; +Debug.ShouldStop(2097152); +if (true) return __ref.getField(false,"_clientesmapao" /*RemoteObject*/ ); + BA.debugLineNum = 567;BA.debugLine="End Sub"; +Debug.ShouldStop(4194304); +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/reparto_izca/keymon/lat/c_detalle_promo.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_detalle_promo.java new file mode 100644 index 0000000..a0f4053 --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_detalle_promo.java @@ -0,0 +1,42 @@ + +package reparto_izca.keymon.lat; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class c_detalle_promo { + public static RemoteObject myClass; + public c_detalle_promo() { + } + public static PCBA staticBA = new PCBA(null, c_detalle_promo.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 _regresar = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _b = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _regalo = RemoteObject.createImmutable(""); +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 _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static reparto_izca.keymon.lat.main _main = null; +public static reparto_izca.keymon.lat.appupdater _appupdater = null; +public static reparto_izca.keymon.lat.subs _subs = null; +public static reparto_izca.keymon.lat.foto _foto = null; +public static reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public static reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public static reparto_izca.keymon.lat.starter _starter = null; +public static reparto_izca.keymon.lat.tracker _tracker = null; +public static reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public static reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public static reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public static reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public static reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"b",_ref.getField(false, "_b"),"borra",_ref.getField(false, "_borra"),"c",_ref.getField(false, "_c"),"DateUtils",_ref.getField(false, "_dateutils"),"Existe",_ref.getField(false, "_existe"),"L_CANT",_ref.getField(false, "_l_cant"),"L_TOTAL",_ref.getField(false, "_l_total"),"ListView1",_ref.getField(false, "_listview1"),"regalo",_ref.getField(false, "_regalo"),"Regresar",_ref.getField(false, "_regresar"),"Root",_ref.getField(false, "_root"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_detalle_promo_subs_0.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_detalle_promo_subs_0.java new file mode 100644 index 0000000..cfc4252 --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_detalle_promo_subs_0.java @@ -0,0 +1,322 @@ +package reparto_izca.keymon.lat; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class c_detalle_promo_subs_0 { + + +public static RemoteObject _activity_keypress(RemoteObject __ref,RemoteObject _key) throws Exception{ +try { + Debug.PushSubsStack("Activity_KeyPress (c_detalle_promo) ","c_detalle_promo",8,__ref.getField(false, "ba"),__ref,96); +if (RapidSub.canDelegate("activity_keypress")) { return __ref.runUserSub(false, "c_detalle_promo","activity_keypress", __ref, _key);} +Debug.locals.put("key", _key); + BA.debugLineNum = 96;BA.debugLine="Sub Activity_KeyPress (key As Int) As Boolean"; +Debug.ShouldStop(-2147483648); + BA.debugLineNum = 98;BA.debugLine="If key=KeyCodes.KEYCODE_BACK Then"; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean("=",_key,BA.numberCast(double.class, c_detalle_promo.__c.getField(false,"KeyCodes").getField(true,"KEYCODE_BACK")))) { + BA.debugLineNum = 101;BA.debugLine="B4XPages.ShowPage(\"\")"; +Debug.ShouldStop(16); +c_detalle_promo._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable(""))); + }; + BA.debugLineNum = 105;BA.debugLine="Return False"; +Debug.ShouldStop(256); +if (true) return c_detalle_promo.__c.getField(true,"False"); + BA.debugLineNum = 106;BA.debugLine="End Sub"; +Debug.ShouldStop(512); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _activity_pause(RemoteObject __ref,RemoteObject _userclosed) throws Exception{ +try { + Debug.PushSubsStack("Activity_Pause (c_detalle_promo) ","c_detalle_promo",8,__ref.getField(false, "ba"),__ref,87); +if (RapidSub.canDelegate("activity_pause")) { return __ref.runUserSub(false, "c_detalle_promo","activity_pause", __ref, _userclosed);} +Debug.locals.put("UserClosed", _userclosed); + BA.debugLineNum = 87;BA.debugLine="Sub Activity_Pause (UserClosed As Boolean)"; +Debug.ShouldStop(4194304); + 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 _b4xpage_appear(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_Appear (c_detalle_promo) ","c_detalle_promo",8,__ref.getField(false, "ba"),__ref,56); +if (RapidSub.canDelegate("b4xpage_appear")) { return __ref.runUserSub(false, "c_detalle_promo","b4xpage_appear", __ref);} +int _i = 0; +RemoteObject _label1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +RemoteObject _label2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); + BA.debugLineNum = 56;BA.debugLine="Sub B4XPage_Appear"; +Debug.ShouldStop(8388608); + BA.debugLineNum = 57;BA.debugLine="Starter.skmt.Initialize(Starter.ruta,\"kmt.db\", Tr"; +Debug.ShouldStop(16777216); +c_detalle_promo._starter._skmt /*RemoteObject*/ .runVoidMethod ("Initialize",(Object)(c_detalle_promo._starter._ruta /*RemoteObject*/ ),(Object)(BA.ObjectToString("kmt.db")),(Object)(c_detalle_promo.__c.getField(true,"True"))); + BA.debugLineNum = 58;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CAT_DP_IDPROD, C"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_detalle_promo._starter._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 = 59;BA.debugLine="ListView1.Clear"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 60;BA.debugLine="Subs.SetDivider(ListView1, Colors.LightGray, 2)"; +Debug.ShouldStop(134217728); +c_detalle_promo._subs.runVoidMethod ("_setdivider" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_listview1" /*RemoteObject*/ )),(Object)(c_detalle_promo.__c.getField(false,"Colors").getField(true,"LightGray")),(Object)(BA.numberCast(int.class, 2))); + BA.debugLineNum = 61;BA.debugLine="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 = 62;BA.debugLine="For i=0 To c.RowCount -1"; +Debug.ShouldStop(536870912); +{ +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 = 63;BA.debugLine="c.Position=i"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 64;BA.debugLine="b=Starter.skmt.ExecQuery2(\"select CAT_GP_NOMBRE"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_b" /*RemoteObject*/ ).setObject (c_detalle_promo._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select CAT_GP_NOMBRE from cat_gunaprod where CAT_GP_ID = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_IDPROD")))})))); + BA.debugLineNum = 65;BA.debugLine="B.Position =0"; +Debug.ShouldStop(1); +__ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 66;BA.debugLine="Dim label1 As Label"; +Debug.ShouldStop(2); +_label1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label1", _label1); + BA.debugLineNum = 67;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; +Debug.ShouldStop(4); +_label1 = __ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"Label");Debug.locals.put("label1", _label1); + BA.debugLineNum = 68;BA.debugLine="label1.TextSize = 10"; +Debug.ShouldStop(8); +_label1.runMethod(true,"setTextSize",BA.numberCast(float.class, 10)); + BA.debugLineNum = 69;BA.debugLine="label1.TextColor = Colors.White"; +Debug.ShouldStop(16); +_label1.runMethod(true,"setTextColor",c_detalle_promo.__c.getField(false,"Colors").getField(true,"White")); + BA.debugLineNum = 70;BA.debugLine="Dim label2 As Label"; +Debug.ShouldStop(32); +_label2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label2", _label2); + BA.debugLineNum = 71;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; +Debug.ShouldStop(64); +_label2 = __ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"SecondLabel");Debug.locals.put("label2", _label2); + BA.debugLineNum = 72;BA.debugLine="label2.TextSize = 10"; +Debug.ShouldStop(128); +_label2.runMethod(true,"setTextSize",BA.numberCast(float.class, 10)); + BA.debugLineNum = 73;BA.debugLine="label2.TextColor = Colors.White"; +Debug.ShouldStop(256); +_label2.runMethod(true,"setTextColor",c_detalle_promo.__c.getField(false,"Colors").getField(true,"White")); + BA.debugLineNum = 74;BA.debugLine="If c.GetString(\"CAT_DP_PRECIO\") = 0 Then"; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_PRECIO"))),BA.NumberToString(0))) { + BA.debugLineNum = 75;BA.debugLine="regalo = \"SI\""; +Debug.ShouldStop(1024); +__ref.setField ("_regalo" /*RemoteObject*/ ,BA.ObjectToString("SI")); + }else { + BA.debugLineNum = 77;BA.debugLine="regalo = \"NO\""; +Debug.ShouldStop(4096); +__ref.setField ("_regalo" /*RemoteObject*/ ,BA.ObjectToString("NO")); + }; + BA.debugLineNum = 79;BA.debugLine="ListView1.AddTwoLines(B.GetString(\"CAT_GP_NOMBR"; +Debug.ShouldStop(16384); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("AddTwoLines",(Object)(BA.ObjectToCharSequence(__ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_NOMBRE"))))),(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("Cantidad # "),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_PZAS"))),RemoteObject.createImmutable(" REGALO "),__ref.getField(true,"_regalo" /*RemoteObject*/ ))))); + BA.debugLineNum = 80;BA.debugLine="b.Close"; +Debug.ShouldStop(32768); +__ref.getField(false,"_b" /*RemoteObject*/ ).runVoidMethod ("Close"); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 82;BA.debugLine="c.Close"; +Debug.ShouldStop(131072); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + }; + BA.debugLineNum = 85;BA.debugLine="End Sub"; +Debug.ShouldStop(1048576); +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_detalle_promo) ","c_detalle_promo",8,__ref.getField(false, "ba"),__ref,22); +if (RapidSub.canDelegate("b4xpage_created")) { return __ref.runUserSub(false, "c_detalle_promo","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 = 22;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +Debug.ShouldStop(2097152); + BA.debugLineNum = 23;BA.debugLine="Root = Root1"; +Debug.ShouldStop(4194304); +__ref.setField ("_root" /*RemoteObject*/ ,_root1); + BA.debugLineNum = 25;BA.debugLine="Root.LoadLayout(\"detalle_promo\")"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_root" /*RemoteObject*/ ).runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("detalle_promo")),__ref.getField(false, "ba")); + BA.debugLineNum = 26;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CAT_DP_IDPROD, C"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_detalle_promo._starter._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 = 27;BA.debugLine="ListView1.Clear"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 28;BA.debugLine="Subs.SetDivider(ListView1, Colors.LightGray, 2)"; +Debug.ShouldStop(134217728); +c_detalle_promo._subs.runVoidMethod ("_setdivider" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_listview1" /*RemoteObject*/ )),(Object)(c_detalle_promo.__c.getField(false,"Colors").getField(true,"LightGray")),(Object)(BA.numberCast(int.class, 2))); + BA.debugLineNum = 29;BA.debugLine="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 = 30;BA.debugLine="For i=0 To c.RowCount -1"; +Debug.ShouldStop(536870912); +{ +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 = 31;BA.debugLine="c.Position=i"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 32;BA.debugLine="b=Starter.skmt.ExecQuery2(\"select CAT_GP_NOMBRE"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_b" /*RemoteObject*/ ).setObject (c_detalle_promo._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select CAT_GP_NOMBRE from cat_gunaprod where CAT_GP_ID = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_IDPROD")))})))); + BA.debugLineNum = 33;BA.debugLine="B.Position =0"; +Debug.ShouldStop(1); +__ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 34;BA.debugLine="Dim label1 As Label"; +Debug.ShouldStop(2); +_label1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label1", _label1); + BA.debugLineNum = 35;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; +Debug.ShouldStop(4); +_label1 = __ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"Label");Debug.locals.put("label1", _label1); + BA.debugLineNum = 36;BA.debugLine="label1.TextSize = 10"; +Debug.ShouldStop(8); +_label1.runMethod(true,"setTextSize",BA.numberCast(float.class, 10)); + BA.debugLineNum = 37;BA.debugLine="label1.TextColor = Colors.White"; +Debug.ShouldStop(16); +_label1.runMethod(true,"setTextColor",c_detalle_promo.__c.getField(false,"Colors").getField(true,"White")); + BA.debugLineNum = 38;BA.debugLine="Dim label2 As Label"; +Debug.ShouldStop(32); +_label2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label2", _label2); + BA.debugLineNum = 39;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; +Debug.ShouldStop(64); +_label2 = __ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"SecondLabel");Debug.locals.put("label2", _label2); + BA.debugLineNum = 40;BA.debugLine="label2.TextSize = 10"; +Debug.ShouldStop(128); +_label2.runMethod(true,"setTextSize",BA.numberCast(float.class, 10)); + BA.debugLineNum = 41;BA.debugLine="label2.TextColor = Colors.White"; +Debug.ShouldStop(256); +_label2.runMethod(true,"setTextColor",c_detalle_promo.__c.getField(false,"Colors").getField(true,"White")); + BA.debugLineNum = 42;BA.debugLine="If c.GetString(\"CAT_DP_PRECIO\") = 0 Then"; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_PRECIO"))),BA.NumberToString(0))) { + BA.debugLineNum = 43;BA.debugLine="regalo = \"SI\""; +Debug.ShouldStop(1024); +__ref.setField ("_regalo" /*RemoteObject*/ ,BA.ObjectToString("SI")); + }else { + BA.debugLineNum = 45;BA.debugLine="regalo = \"NO\""; +Debug.ShouldStop(4096); +__ref.setField ("_regalo" /*RemoteObject*/ ,BA.ObjectToString("NO")); + }; + BA.debugLineNum = 47;BA.debugLine="ListView1.AddTwoLines(B.GetString(\"CAT_GP_NOMBR"; +Debug.ShouldStop(16384); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("AddTwoLines",(Object)(BA.ObjectToCharSequence(__ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_NOMBRE"))))),(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("Cantidad # "),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_PZAS"))),RemoteObject.createImmutable(" REGALO "),__ref.getField(true,"_regalo" /*RemoteObject*/ ))))); + BA.debugLineNum = 48;BA.debugLine="b.Close"; +Debug.ShouldStop(32768); +__ref.getField(false,"_b" /*RemoteObject*/ ).runVoidMethod ("Close"); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 50;BA.debugLine="c.Close"; +Debug.ShouldStop(131072); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + }; + BA.debugLineNum = 52;BA.debugLine="End Sub"; +Debug.ShouldStop(524288); +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_detalle_promo._root = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_root",c_detalle_promo._root); + //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore"; +c_detalle_promo._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",c_detalle_promo._xui); + //BA.debugLineNum = 4;BA.debugLine="Dim c As Cursor"; +c_detalle_promo._c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_c",c_detalle_promo._c); + //BA.debugLineNum = 6;BA.debugLine="Dim Regresar As Button"; +c_detalle_promo._regresar = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_regresar",c_detalle_promo._regresar); + //BA.debugLineNum = 7;BA.debugLine="Dim b As Cursor"; +c_detalle_promo._b = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_b",c_detalle_promo._b); + //BA.debugLineNum = 8;BA.debugLine="Dim regalo As String"; +c_detalle_promo._regalo = RemoteObject.createImmutable("");__ref.setField("_regalo",c_detalle_promo._regalo); + //BA.debugLineNum = 9;BA.debugLine="Dim ListView1 As ListView"; +c_detalle_promo._listview1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ListViewWrapper");__ref.setField("_listview1",c_detalle_promo._listview1); + //BA.debugLineNum = 10;BA.debugLine="Dim L_CANT As Label"; +c_detalle_promo._l_cant = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_cant",c_detalle_promo._l_cant); + //BA.debugLineNum = 11;BA.debugLine="Dim L_TOTAL As Label"; +c_detalle_promo._l_total = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_total",c_detalle_promo._l_total); + //BA.debugLineNum = 12;BA.debugLine="Dim borra As Button"; +c_detalle_promo._borra = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_borra",c_detalle_promo._borra); + //BA.debugLineNum = 13;BA.debugLine="Dim Existe As String"; +c_detalle_promo._existe = RemoteObject.createImmutable("");__ref.setField("_existe",c_detalle_promo._existe); + //BA.debugLineNum = 14;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("Initialize (c_detalle_promo) ","c_detalle_promo",8,__ref.getField(false, "ba"),__ref,17); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "c_detalle_promo","initialize", __ref, _ba);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); + BA.debugLineNum = 17;BA.debugLine="Public Sub Initialize As Object"; +Debug.ShouldStop(65536); + BA.debugLineNum = 18;BA.debugLine="Return Me"; +Debug.ShouldStop(131072); +if (true) return __ref; + BA.debugLineNum = 19;BA.debugLine="End Sub"; +Debug.ShouldStop(262144); +return RemoteObject.createImmutable(null); +} +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_detalle_promo) ","c_detalle_promo",8,__ref.getField(false, "ba"),__ref,91); +if (RapidSub.canDelegate("regresar_click")) { return __ref.runUserSub(false, "c_detalle_promo","regresar_click", __ref);} + BA.debugLineNum = 91;BA.debugLine="Sub Regresar_Click"; +Debug.ShouldStop(67108864); + BA.debugLineNum = 93;BA.debugLine="B4XPages.ShowPage(\"\")"; +Debug.ShouldStop(268435456); +c_detalle_promo._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable(""))); + BA.debugLineNum = 94;BA.debugLine="End Sub"; +Debug.ShouldStop(536870912); +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/reparto_izca/keymon/lat/c_detalleventa.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_detalleventa.java new file mode 100644 index 0000000..8742e36 --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_detalleventa.java @@ -0,0 +1,76 @@ + +package reparto_izca.keymon.lat; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class c_detalleventa { + public static RemoteObject myClass; + public c_detalleventa() { + } + public static PCBA staticBA = new PCBA(null, c_detalleventa.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 _b_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 _b_borra = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _existe = RemoteObject.createImmutable(""); +public static RemoteObject _result = RemoteObject.createImmutable(""); +public static RemoteObject _cuantos = RemoteObject.createImmutable(""); +public static RemoteObject _nombre_prod = RemoteObject.createImmutable(""); +public static RemoteObject _cuantos_pedido = RemoteObject.createImmutable(""); +public static RemoteObject _titulo = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _p1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _lv2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.ListViewWrapper"); +public static RemoteObject _p_principal = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _clv_pedido = RemoteObject.declareNull("b4a.example3.customlistview"); +public static RemoteObject _p_prods = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _l_prodx = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +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 _bmp = RemoteObject.declareNull("anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper"); +public static RemoteObject _etcanthasfocus = RemoteObject.createImmutable(false); +public static RemoteObject _totalprods = RemoteObject.createImmutable(0); +public static RemoteObject _totalcompra = RemoteObject.createImmutable(0); +public static RemoteObject _prodsmap = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +public static RemoteObject _reconstruirpedido = RemoteObject.createImmutable(false); +public static RemoteObject _promoaborrar = RemoteObject.createImmutable(""); +public static RemoteObject _b_guardar = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _b_prodmas = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _b_prodmenos = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _b_prodmenosc = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _l_pcantc = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _et_pcantc = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _b_prodmasc = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _p_botmasmenc = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _p_botmasmen = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _l_cajas = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_piezas = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static reparto_izca.keymon.lat.main _main = null; +public static reparto_izca.keymon.lat.appupdater _appupdater = null; +public static reparto_izca.keymon.lat.subs _subs = null; +public static reparto_izca.keymon.lat.foto _foto = null; +public static reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public static reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public static reparto_izca.keymon.lat.starter _starter = null; +public static reparto_izca.keymon.lat.tracker _tracker = null; +public static reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public static reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public static reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public static reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public static reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"b_borra",_ref.getField(false, "_b_borra"),"b_guardar",_ref.getField(false, "_b_guardar"),"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_regresar",_ref.getField(false, "_b_regresar"),"bmp",_ref.getField(false, "_bmp"),"c",_ref.getField(false, "_c"),"clie_id",_ref.getField(false, "_clie_id"),"clv_pedido",_ref.getField(false, "_clv_pedido"),"cuantos",_ref.getField(false, "_cuantos"),"cuantos_pedido",_ref.getField(false, "_cuantos_pedido"),"DateUtils",_ref.getField(false, "_dateutils"),"et_pCant",_ref.getField(false, "_et_pcant"),"et_pCantC",_ref.getField(false, "_et_pcantc"),"etCantHasFocus",_ref.getField(false, "_etcanthasfocus"),"Existe",_ref.getField(false, "_existe"),"g",_ref.getField(false, "_g"),"l_cajas",_ref.getField(false, "_l_cajas"),"L_CANT",_ref.getField(false, "_l_cant"),"l_pCant",_ref.getField(false, "_l_pcant"),"l_pCantC",_ref.getField(false, "_l_pcantc"),"l_piezas",_ref.getField(false, "_l_piezas"),"l_prodX",_ref.getField(false, "_l_prodx"),"L_TOTAL",_ref.getField(false, "_l_total"),"ListView1",_ref.getField(false, "_listview1"),"lv2",_ref.getField(false, "_lv2"),"nombre_prod",_ref.getField(false, "_nombre_prod"),"p_botMasMen",_ref.getField(false, "_p_botmasmen"),"p_botMasMenC",_ref.getField(false, "_p_botmasmenc"),"p_principal",_ref.getField(false, "_p_principal"),"p_prods",_ref.getField(false, "_p_prods"),"P1",_ref.getField(false, "_p1"),"prodsMap",_ref.getField(false, "_prodsmap"),"promoABorrar",_ref.getField(false, "_promoaborrar"),"reconstruirPedido",_ref.getField(false, "_reconstruirpedido"),"result",_ref.getField(false, "_result"),"Root",_ref.getField(false, "_root"),"sDate",_ref.getField(false, "_sdate"),"sTime",_ref.getField(false, "_stime"),"Titulo",_ref.getField(false, "_titulo"),"totalCompra",_ref.getField(false, "_totalcompra"),"totalProds",_ref.getField(false, "_totalprods"),"usuario",_ref.getField(false, "_usuario"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_detalleventa_subs_0.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_detalleventa_subs_0.java new file mode 100644 index 0000000..cfaf1ed --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_detalleventa_subs_0.java @@ -0,0 +1,2023 @@ +package reparto_izca.keymon.lat; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class c_detalleventa_subs_0 { + + +public static RemoteObject _b_guardar_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_guardar_Click (c_detalleventa) ","c_detalleventa",9,__ref.getField(false, "ba"),__ref,915); +if (RapidSub.canDelegate("b_guardar_click")) { return __ref.runUserSub(false, "c_detalleventa","b_guardar_click", __ref);} + BA.debugLineNum = 915;BA.debugLine="Private Sub b_guardar_Click"; +Debug.ShouldStop(262144); + BA.debugLineNum = 917;BA.debugLine="End Sub"; +Debug.ShouldStop(1048576); +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_detalleventa) ","c_detalleventa",9,__ref.getField(false, "ba"),__ref,650); +if (RapidSub.canDelegate("b_prodmas_click")) { return __ref.runUserSub(false, "c_detalleventa","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 _maxprods = RemoteObject.createImmutable(""); +RemoteObject _minimoadesc = RemoteObject.createImmutable(""); +RemoteObject _minimos = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _c2 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); + BA.debugLineNum = 650;BA.debugLine="Sub b_prodMas_Click"; +Debug.ShouldStop(512); + BA.debugLineNum = 651;BA.debugLine="etCantHasFocus = False"; +Debug.ShouldStop(1024); +__ref.setField ("_etcanthasfocus" /*RemoteObject*/ ,c_detalleventa.__c.getField(true,"False")); + BA.debugLineNum = 653;BA.debugLine="LogColor(\"b_prodMas_Click\", Colors.Magenta)"; +Debug.ShouldStop(4096); +c_detalleventa.__c.runVoidMethod ("LogImpl","812451843",BA.ObjectToString("b_prodMas_Click"),c_detalleventa.__c.getField(false,"Colors").getField(true,"Magenta")); + BA.debugLineNum = 654;BA.debugLine="Dim index As Int = clv_pedido.GetItemFromView(Sen"; +Debug.ShouldStop(8192); +_index = __ref.getField(false,"_clv_pedido" /*RemoteObject*/ ).runMethod(true,"_getitemfromview",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), c_detalleventa.__c.runMethod(false,"Sender",__ref.getField(false, "ba"))));Debug.locals.put("index", _index);Debug.locals.put("index", _index); + BA.debugLineNum = 655;BA.debugLine="Dim pnl0 As B4XView = clv_pedido.GetPanel(index)"; +Debug.ShouldStop(16384); +_pnl0 = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_pnl0 = __ref.getField(false,"_clv_pedido" /*RemoteObject*/ ).runMethod(false,"_getpanel",(Object)(_index));Debug.locals.put("pnl0", _pnl0);Debug.locals.put("pnl0", _pnl0); + BA.debugLineNum = 656;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; +Debug.ShouldStop(32768); +_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 = 657;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(3)"; +Debug.ShouldStop(65536); +_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, 3)));Debug.locals.put("laCant", _lacant);Debug.locals.put("laCant", _lacant); + BA.debugLineNum = 661;BA.debugLine="Dim esteTag As List = Regex.Split(\"\\|\", laCant.Ta"; +Debug.ShouldStop(1048576); +_estetag = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +_estetag = c_detalleventa.__c.runMethod(false, "ArrayToList", (Object)(c_detalleventa.__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 = 662;BA.debugLine="Log(\"LC_TEXT:\"&laCant.Text&\"|LC_TAG:\"&laCant.Tag&"; +Debug.ShouldStop(2097152); +c_detalleventa.__c.runVoidMethod ("LogImpl","812451852",RemoteObject.concat(RemoteObject.createImmutable("LC_TEXT:"),_lacant.runMethod(true,"getText"),RemoteObject.createImmutable("|LC_TAG:"),_lacant.runMethod(false,"getTag"),RemoteObject.createImmutable("|ET:"),_estetag),0); + BA.debugLineNum = 663;BA.debugLine="If laCant.Text = \"\" Then laCant.Text = 0"; +Debug.ShouldStop(4194304); +if (RemoteObject.solveBoolean("=",_lacant.runMethod(true,"getText"),BA.ObjectToString(""))) { +_lacant.runMethod(true,"setText",BA.ObjectToCharSequence(0));}; + BA.debugLineNum = 665;BA.debugLine="Private maxProds = esteTag.Get(1) + esteTag.Get(4"; +Debug.ShouldStop(16777216); +_maxprods = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 1)))),BA.numberCast(double.class, _estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 4))))}, "+",1, 0));Debug.locals.put("maxProds", _maxprods);Debug.locals.put("maxProds", _maxprods); + BA.debugLineNum = 667;BA.debugLine="LogColor($\"++++++++++++++++++++++++++ ${esteTag"; +Debug.ShouldStop(67108864); +c_detalleventa.__c.runVoidMethod ("LogImpl","812451857",(RemoteObject.concat(RemoteObject.createImmutable("++++++++++++++++++++++++++ "),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_estetag.getObject()))),RemoteObject.createImmutable(""))),c_detalleventa.__c.getField(false,"Colors").getField(true,"Green")); + BA.debugLineNum = 670;BA.debugLine="Private minimoadesc As String"; +Debug.ShouldStop(536870912); +_minimoadesc = RemoteObject.createImmutable("");Debug.locals.put("minimoadesc", _minimoadesc); + BA.debugLineNum = 671;BA.debugLine="Dim minimos As Cursor = Starter.skmt.ExecQuery2(\""; +Debug.ShouldStop(1073741824); +_minimos = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_minimos = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_detalleventa._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT * FROM CAT_GUNAPROD3 WHERE CAT_GP_ID = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2))))}))));Debug.locals.put("minimos", _minimos);Debug.locals.put("minimos", _minimos); + BA.debugLineNum = 672;BA.debugLine="If minimos.RowCount > 0 Then"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean(">",_minimos.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 673;BA.debugLine="minimos.Position = 0"; +Debug.ShouldStop(1); +_minimos.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 674;BA.debugLine="minimoadesc = minimos.GetString(\"CAT_DP_CANT_MIN"; +Debug.ShouldStop(2); +_minimoadesc = _minimos.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_CANT_MIN_VENTA")));Debug.locals.put("minimoadesc", _minimoadesc); + }else { + BA.debugLineNum = 676;BA.debugLine="minimoadesc = \"1\""; +Debug.ShouldStop(8); +_minimoadesc = BA.ObjectToString("1");Debug.locals.put("minimoadesc", _minimoadesc); + }; + BA.debugLineNum = 678;BA.debugLine="minimos.Close"; +Debug.ShouldStop(32); +_minimos.runVoidMethod ("Close"); + BA.debugLineNum = 680;BA.debugLine="minimoadesc = \"1\""; +Debug.ShouldStop(128); +_minimoadesc = BA.ObjectToString("1");Debug.locals.put("minimoadesc", _minimoadesc); + BA.debugLineNum = 681;BA.debugLine="If esteTag.Get(7) <> \"1\" Then"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean("!",_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 7))),RemoteObject.createImmutable(("1")))) { + BA.debugLineNum = 684;BA.debugLine="If esteTag.Get(5) = esteTag.Get(6) Then"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean("=",_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 5))),_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 6))))) { + BA.debugLineNum = 686;BA.debugLine="If laCant.Text + 1 <= maxProds Then"; +Debug.ShouldStop(8192); +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, _maxprods))) { + BA.debugLineNum = 687;BA.debugLine="Log($\"NuevaCant = ${laCant.Text + 1}\"$)"; +Debug.ShouldStop(16384); +c_detalleventa.__c.runVoidMethod ("LogImpl","812451877",(RemoteObject.concat(RemoteObject.createImmutable("NuevaCant = "),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _lacant.runMethod(true,"getText")),RemoteObject.createImmutable(1)}, "+",1, 0)))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 688;BA.debugLine="laCant.Text = $\"$1.0{laCant.Text + 1}\"$"; +Debug.ShouldStop(32768); +_lacant.runMethod(true,"setText",BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable(""),c_detalleventa.__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 = 689;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update cat_gunapro"; +Debug.ShouldStop(65536); +c_detalleventa._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen - 1 where cat_gp_id = ?")),(Object)(c_detalleventa.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2)))}))))); + BA.debugLineNum = 692;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENTAS"; +Debug.ShouldStop(524288); +c_detalleventa._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update HIST_VENTAS set HVD_RECHAZO = 1, HVD_RECHAZOCANT = HVD_RECHAZOCANT - (1*'"),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_minimoadesc))),RemoteObject.createImmutable("') WHERE HVD_PROID = '"),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2))))),RemoteObject.createImmutable("' and HVD_cliente in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 8))))),RemoteObject.createImmutable("'"))))); + BA.debugLineNum = 694;BA.debugLine="Subs.prodVenta(esteTag.Get(5), esteTag.Get(2))"; +Debug.ShouldStop(2097152); +c_detalleventa._subs.runVoidMethod ("_prodventa" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 5))))),(Object)(BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2)))))); + BA.debugLineNum = 699;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(67108864); +__ref.runClassMethod (reparto_izca.keymon.lat.c_detalleventa.class, "_b4xpage_appear" /*RemoteObject*/ ); + }; + }else { + BA.debugLineNum = 703;BA.debugLine="If laCant.Text + 1 <= maxProds Then"; +Debug.ShouldStop(1073741824); +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, _maxprods))) { + BA.debugLineNum = 704;BA.debugLine="Log($\"NuevaCant = ${laCant.Text + 1}\"$)"; +Debug.ShouldStop(-2147483648); +c_detalleventa.__c.runVoidMethod ("LogImpl","812451894",(RemoteObject.concat(RemoteObject.createImmutable("NuevaCant = "),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _lacant.runMethod(true,"getText")),RemoteObject.createImmutable(1)}, "+",1, 0)))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 705;BA.debugLine="laCant.Text = $\"$1.0{laCant.Text + 1}\"$"; +Debug.ShouldStop(1); +_lacant.runMethod(true,"setText",BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable(""),c_detalleventa.__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 = 706;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update cat_gunapro"; +Debug.ShouldStop(2); +c_detalleventa._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen - 1 where cat_gp_id = ?")),(Object)(c_detalleventa.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2))))}))))); + BA.debugLineNum = 707;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM PED"; +Debug.ShouldStop(4); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_detalleventa._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT * FROM PEDIDO WHERE PE_PROID = ? and PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND CONSECUTIVO = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2)))),BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 8))))})))); + BA.debugLineNum = 708;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 709;BA.debugLine="Private c2 As Cursor = Starter.skmt.ExecQuery"; +Debug.ShouldStop(16); +_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_detalleventa._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT * FROM CAT_GUNAPROD WHERE CAT_GP_ID = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2))))}))));Debug.locals.put("c2", _c2);Debug.locals.put("c2", _c2); + BA.debugLineNum = 710;BA.debugLine="If c2.RowCount > 0 Then"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean(">",_c2.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 711;BA.debugLine="c2.Position = 0"; +Debug.ShouldStop(64); +_c2.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 713;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO se"; +Debug.ShouldStop(256); +c_detalleventa._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update PEDIDO set PE_CANT = IFNULL(PE_CANT,0)+(1*'"),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_minimoadesc))),RemoteObject.createImmutable("'), PE_COSTO_TOT= ((IFNULL(PE_CANT,0)+(1*'"),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_minimoadesc))),RemoteObject.createImmutable("'))*'"),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_c2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_PRECIO")))))),RemoteObject.createImmutable("') WHERE PE_PROID = '"),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2))))),RemoteObject.createImmutable("' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 8))))),RemoteObject.createImmutable("'"))))); + }; + }else { + BA.debugLineNum = 716;BA.debugLine="Private c2 As Cursor = Starter.skmt.ExecQuery"; +Debug.ShouldStop(2048); +_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_detalleventa._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT * FROM CAT_GUNAPROD WHERE CAT_GP_ID = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2))))}))));Debug.locals.put("c2", _c2);Debug.locals.put("c2", _c2); + BA.debugLineNum = 717;BA.debugLine="If c2.RowCount > 0 Then"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean(">",_c2.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 718;BA.debugLine="c2.Position = 0"; +Debug.ShouldStop(8192); +_c2.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 720;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PEDI"; +Debug.ShouldStop(32768); +c_detalleventa._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO PEDIDO(PE_PROID,PE_PRONOMBRE,PE_CANT,PE_CLIENTEOR,PE_CLIENTE,PE_COSTOU,PE_COSTO_TOT,PE_CAJAS,PE_BCAJAS,CONSECUTIVO) VALUES (?,?,?,?,?,?,?,0,0,?)")),(Object)(c_detalleventa.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {8},new Object[] {BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2)))),_c2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_NOMBRE"))),BA.NumberToString(RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(1),BA.numberCast(double.class, _minimoadesc)}, "*",0, 0)),BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 5)))),c_detalleventa._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba")),_c2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_PRECIO"))),_c2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_PRECIO"))),BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 8))))}))))); + }; + }; + BA.debugLineNum = 725;BA.debugLine="Subs.prodVenta(esteTag.Get(5), esteTag.Get(2))"; +Debug.ShouldStop(1048576); +c_detalleventa._subs.runVoidMethod ("_prodventa" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 5))))),(Object)(BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2)))))); + BA.debugLineNum = 730;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(33554432); +__ref.runClassMethod (reparto_izca.keymon.lat.c_detalleventa.class, "_b4xpage_appear" /*RemoteObject*/ ); + }; + }; + }; + BA.debugLineNum = 749;BA.debugLine="End Sub"; +Debug.ShouldStop(4096); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_prodmasc_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_prodMasC_Click (c_detalleventa) ","c_detalleventa",9,__ref.getField(false, "ba"),__ref,928); +if (RapidSub.canDelegate("b_prodmasc_click")) { return __ref.runUserSub(false, "c_detalleventa","b_prodmasc_click", __ref);} +RemoteObject _index = RemoteObject.createImmutable(0); +RemoteObject _pnl0 = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _pnl = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _lacantc = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _estetag = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _maxprods = RemoteObject.createImmutable(""); + BA.debugLineNum = 928;BA.debugLine="Private Sub b_prodMasC_Click"; +Debug.ShouldStop(-2147483648); + BA.debugLineNum = 929;BA.debugLine="etCantHasFocus = False"; +Debug.ShouldStop(1); +__ref.setField ("_etcanthasfocus" /*RemoteObject*/ ,c_detalleventa.__c.getField(true,"False")); + BA.debugLineNum = 931;BA.debugLine="LogColor(\"b_prodMas_Click\", Colors.Magenta)"; +Debug.ShouldStop(4); +c_detalleventa.__c.runVoidMethod ("LogImpl","812779523",BA.ObjectToString("b_prodMas_Click"),c_detalleventa.__c.getField(false,"Colors").getField(true,"Magenta")); + BA.debugLineNum = 932;BA.debugLine="Dim index As Int = clv_pedido.GetItemFromView(Sen"; +Debug.ShouldStop(8); +_index = __ref.getField(false,"_clv_pedido" /*RemoteObject*/ ).runMethod(true,"_getitemfromview",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), c_detalleventa.__c.runMethod(false,"Sender",__ref.getField(false, "ba"))));Debug.locals.put("index", _index);Debug.locals.put("index", _index); + BA.debugLineNum = 933;BA.debugLine="Dim pnl0 As B4XView = clv_pedido.GetPanel(index)"; +Debug.ShouldStop(16); +_pnl0 = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_pnl0 = __ref.getField(false,"_clv_pedido" /*RemoteObject*/ ).runMethod(false,"_getpanel",(Object)(_index));Debug.locals.put("pnl0", _pnl0);Debug.locals.put("pnl0", _pnl0); + BA.debugLineNum = 934;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; +Debug.ShouldStop(32); +_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 = 935;BA.debugLine="Dim laCantc As B4XView = pnl.GetView(3).GetView(3"; +Debug.ShouldStop(64); +_lacantc = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_lacantc = _pnl.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 3))).runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 3)));Debug.locals.put("laCantc", _lacantc);Debug.locals.put("laCantc", _lacantc); + BA.debugLineNum = 939;BA.debugLine="Dim esteTag As List = Regex.Split(\"\\|\", laCantc.T"; +Debug.ShouldStop(1024); +_estetag = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +_estetag = c_detalleventa.__c.runMethod(false, "ArrayToList", (Object)(c_detalleventa.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString("\\|")),(Object)(BA.ObjectToString(_lacantc.runMethod(false,"getTag"))))));Debug.locals.put("esteTag", _estetag);Debug.locals.put("esteTag", _estetag); + BA.debugLineNum = 940;BA.debugLine="Log(\"LC_TEXT:\"&laCantc.Text&\"|LC_TAG:\"&laCantc.Ta"; +Debug.ShouldStop(2048); +c_detalleventa.__c.runVoidMethod ("LogImpl","812779532",RemoteObject.concat(RemoteObject.createImmutable("LC_TEXT:"),_lacantc.runMethod(true,"getText"),RemoteObject.createImmutable("|LC_TAG:"),_lacantc.runMethod(false,"getTag"),RemoteObject.createImmutable("|ET:"),_estetag),0); + BA.debugLineNum = 941;BA.debugLine="If laCantc.Text = \"\" Then laCantc.Text = 0"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean("=",_lacantc.runMethod(true,"getText"),BA.ObjectToString(""))) { +_lacantc.runMethod(true,"setText",BA.ObjectToCharSequence(0));}; + BA.debugLineNum = 943;BA.debugLine="Private maxProds As String = (esteTag.Get(1) + es"; +Debug.ShouldStop(16384); +_maxprods = BA.NumberToString((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 1)))),BA.numberCast(double.class, _estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 4))))}, "+",1, 0)));Debug.locals.put("maxProds", _maxprods);Debug.locals.put("maxProds", _maxprods); + BA.debugLineNum = 944;BA.debugLine="LogColor(esteTag.Get(1),Colors.Red)"; +Debug.ShouldStop(32768); +c_detalleventa.__c.runVoidMethod ("LogImpl","812779536",BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 1)))),c_detalleventa.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 945;BA.debugLine="LogColor(esteTag.Get(4),Colors.Red)"; +Debug.ShouldStop(65536); +c_detalleventa.__c.runVoidMethod ("LogImpl","812779537",BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 4)))),c_detalleventa.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 946;BA.debugLine="LogColor($\"++++++++++++++++++++++++++ ${esteTag"; +Debug.ShouldStop(131072); +c_detalleventa.__c.runVoidMethod ("LogImpl","812779538",(RemoteObject.concat(RemoteObject.createImmutable("++++++++++++++++++++++++++ "),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_estetag.getObject()))),RemoteObject.createImmutable(""))),c_detalleventa.__c.getField(false,"Colors").getField(true,"Green")); + BA.debugLineNum = 948;BA.debugLine="Log(maxProds)"; +Debug.ShouldStop(524288); +c_detalleventa.__c.runVoidMethod ("LogImpl","812779540",_maxprods,0); + BA.debugLineNum = 951;BA.debugLine="If esteTag.Get(7) <> \"1\" Then"; +Debug.ShouldStop(4194304); +if (RemoteObject.solveBoolean("!",_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 7))),RemoteObject.createImmutable(("1")))) { + BA.debugLineNum = 954;BA.debugLine="If laCantc.Text + 1 <= maxProds Then"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("k",RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _lacantc.runMethod(true,"getText")),RemoteObject.createImmutable(1)}, "+",1, 0),BA.numberCast(double.class, _maxprods))) { + BA.debugLineNum = 955;BA.debugLine="Log($\"NuevaCant = ${laCantc.Text + 1}\"$)"; +Debug.ShouldStop(67108864); +c_detalleventa.__c.runVoidMethod ("LogImpl","812779547",(RemoteObject.concat(RemoteObject.createImmutable("NuevaCant = "),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _lacantc.runMethod(true,"getText")),RemoteObject.createImmutable(1)}, "+",1, 0)))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 956;BA.debugLine="laCantc.Text = $\"$1.0{laCantc.Text + 1}\"$"; +Debug.ShouldStop(134217728); +_lacantc.runMethod(true,"setText",BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable(""),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("1.0")),(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _lacantc.runMethod(true,"getText")),RemoteObject.createImmutable(1)}, "+",1, 0)))),RemoteObject.createImmutable(""))))); + BA.debugLineNum = 958;BA.debugLine="Log(laCantc.Text)"; +Debug.ShouldStop(536870912); +c_detalleventa.__c.runVoidMethod ("LogImpl","812779550",_lacantc.runMethod(true,"getText"),0); + BA.debugLineNum = 959;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENTAS"; +Debug.ShouldStop(1073741824); +c_detalleventa._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update HIST_VENTAS set HVD_RECHAZO = 1, HVD_RECHAZOCANT = IFNULL(HVD_RECHAZOCANT,0) -(1 * "),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_detalleventa._subs.runMethod(true,"_traeconversion" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2))))))))),RemoteObject.createImmutable(") WHERE HVD_PROID = '"),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2))))),RemoteObject.createImmutable("' and HVD_cliente in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 8))))),RemoteObject.createImmutable("'"))))); + BA.debugLineNum = 967;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(64); +__ref.runClassMethod (reparto_izca.keymon.lat.c_detalleventa.class, "_b4xpage_appear" /*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_prodmenos_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_prodMenos_Click (c_detalleventa) ","c_detalleventa",9,__ref.getField(false, "ba"),__ref,506); +if (RapidSub.canDelegate("b_prodmenos_click")) { return __ref.runUserSub(false, "c_detalleventa","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 _estetag = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _minimoadesc = RemoteObject.createImmutable(""); +RemoteObject _minimos = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _c3 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _c2 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _preciou = RemoteObject.createImmutable(0f); + BA.debugLineNum = 506;BA.debugLine="Sub b_prodMenos_Click"; +Debug.ShouldStop(33554432); + BA.debugLineNum = 507;BA.debugLine="etCantHasFocus = False"; +Debug.ShouldStop(67108864); +__ref.setField ("_etcanthasfocus" /*RemoteObject*/ ,c_detalleventa.__c.getField(true,"False")); + BA.debugLineNum = 508;BA.debugLine="Log(\"etCantHasFocus=\" & etCantHasFocus)"; +Debug.ShouldStop(134217728); +c_detalleventa.__c.runVoidMethod ("LogImpl","812386306",RemoteObject.concat(RemoteObject.createImmutable("etCantHasFocus="),__ref.getField(true,"_etcanthasfocus" /*RemoteObject*/ )),0); + BA.debugLineNum = 509;BA.debugLine="LogColor(\"b_prodMenos_Click\", Colors.Magenta)"; +Debug.ShouldStop(268435456); +c_detalleventa.__c.runVoidMethod ("LogImpl","812386307",BA.ObjectToString("b_prodMenos_Click"),c_detalleventa.__c.getField(false,"Colors").getField(true,"Magenta")); + BA.debugLineNum = 510;BA.debugLine="Dim index As Int = clv_pedido.GetItemFromView(Sen"; +Debug.ShouldStop(536870912); +_index = __ref.getField(false,"_clv_pedido" /*RemoteObject*/ ).runMethod(true,"_getitemfromview",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), c_detalleventa.__c.runMethod(false,"Sender",__ref.getField(false, "ba"))));Debug.locals.put("index", _index);Debug.locals.put("index", _index); + BA.debugLineNum = 511;BA.debugLine="Dim pnl0 As B4XView = clv_pedido.GetPanel(index)"; +Debug.ShouldStop(1073741824); +_pnl0 = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_pnl0 = __ref.getField(false,"_clv_pedido" /*RemoteObject*/ ).runMethod(false,"_getpanel",(Object)(_index));Debug.locals.put("pnl0", _pnl0);Debug.locals.put("pnl0", _pnl0); + BA.debugLineNum = 512;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; +Debug.ShouldStop(-2147483648); +_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 = 513;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(3)"; +Debug.ShouldStop(1); +_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, 3)));Debug.locals.put("laCant", _lacant);Debug.locals.put("laCant", _lacant); + BA.debugLineNum = 515;BA.debugLine="Dim esteTag As List = Regex.Split(\"\\|\", laCant.Ta"; +Debug.ShouldStop(4); +_estetag = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +_estetag = c_detalleventa.__c.runMethod(false, "ArrayToList", (Object)(c_detalleventa.__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 = 516;BA.debugLine="Log(\"LC_TEXT:\"&laCant.Text&\"|PROMO:\"&esteTag.Get("; +Debug.ShouldStop(8); +c_detalleventa.__c.runVoidMethod ("LogImpl","812386314",RemoteObject.concat(RemoteObject.createImmutable("LC_TEXT:"),_lacant.runMethod(true,"getText"),RemoteObject.createImmutable("|PROMO:"),_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 3))),RemoteObject.createImmutable("|LC_TAG:"),_lacant.runMethod(false,"getTag"),RemoteObject.createImmutable("|ET:"),_estetag),0); + BA.debugLineNum = 517;BA.debugLine="Private minimoadesc As String"; +Debug.ShouldStop(16); +_minimoadesc = RemoteObject.createImmutable("");Debug.locals.put("minimoadesc", _minimoadesc); + BA.debugLineNum = 518;BA.debugLine="Dim minimos As Cursor = Starter.skmt.ExecQuery2(\""; +Debug.ShouldStop(32); +_minimos = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_minimos = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_detalleventa._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT * FROM CAT_GUNAPROD3 WHERE CAT_GP_ID = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2))))}))));Debug.locals.put("minimos", _minimos);Debug.locals.put("minimos", _minimos); + BA.debugLineNum = 519;BA.debugLine="If minimos.RowCount > 0 Then"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean(">",_minimos.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 520;BA.debugLine="minimos.Position = 0"; +Debug.ShouldStop(128); +_minimos.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 521;BA.debugLine="minimoadesc = minimos.GetString(\"CAT_DP_CANT_MIN"; +Debug.ShouldStop(256); +_minimoadesc = _minimos.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_CANT_MIN_VENTA")));Debug.locals.put("minimoadesc", _minimoadesc); + }else { + BA.debugLineNum = 523;BA.debugLine="minimoadesc = \"1\""; +Debug.ShouldStop(1024); +_minimoadesc = BA.ObjectToString("1");Debug.locals.put("minimoadesc", _minimoadesc); + }; + BA.debugLineNum = 525;BA.debugLine="minimos.Close"; +Debug.ShouldStop(4096); +_minimos.runVoidMethod ("Close"); + BA.debugLineNum = 527;BA.debugLine="minimoadesc = \"1\""; +Debug.ShouldStop(16384); +_minimoadesc = BA.ObjectToString("1");Debug.locals.put("minimoadesc", _minimoadesc); + BA.debugLineNum = 528;BA.debugLine="If esteTag.Get(7) = \"1\" Then"; +Debug.ShouldStop(32768); +if (RemoteObject.solveBoolean("=",_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 7))),RemoteObject.createImmutable(("1")))) { + BA.debugLineNum = 529;BA.debugLine="If laCant.Text = \"\" Then laCant.Text = 0"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean("=",_lacant.runMethod(true,"getText"),BA.ObjectToString(""))) { +_lacant.runMethod(true,"setText",BA.ObjectToCharSequence(0));}; + BA.debugLineNum = 530;BA.debugLine="laCant.Text = $\"$1.0{laCant.Text-1}\"$"; +Debug.ShouldStop(131072); +_lacant.runMethod(true,"setText",BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable(""),c_detalleventa.__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 = 531;BA.debugLine="If laCant.Text < 0 Then laCant.Text = 0"; +Debug.ShouldStop(262144); +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 = 532;BA.debugLine="Private c3 As Cursor = Starter.skmt.ExecQuery2(\""; +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"), c_detalleventa._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT PE_CANT FROM PEDIDO WHERE PE_PROID = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND CONSECUTIVO = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2)))),BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 8))))}))));Debug.locals.put("c3", _c3);Debug.locals.put("c3", _c3); + BA.debugLineNum = 533;BA.debugLine="If c3.RowCount > 0 Then"; +Debug.ShouldStop(1048576); +if (RemoteObject.solveBoolean(">",_c3.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 534;BA.debugLine="c3.Position = 0"; +Debug.ShouldStop(2097152); +_c3.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 535;BA.debugLine="If c3.GetString(\"PE_CANT\") > minimoadesc Then"; +Debug.ShouldStop(4194304); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, _c3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))),BA.numberCast(double.class, _minimoadesc))) { + BA.debugLineNum = 536;BA.debugLine="Private c2 As Cursor = Starter.skmt.ExecQuery2"; +Debug.ShouldStop(8388608); +_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_detalleventa._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT * FROM CAT_GUNAPROD WHERE CAT_GP_ID = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2))))}))));Debug.locals.put("c2", _c2);Debug.locals.put("c2", _c2); + BA.debugLineNum = 537;BA.debugLine="If c2.RowCount > 0 Then"; +Debug.ShouldStop(16777216); +if (RemoteObject.solveBoolean(">",_c2.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 538;BA.debugLine="c2.Position = 0"; +Debug.ShouldStop(33554432); +_c2.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 540;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO set"; +Debug.ShouldStop(134217728); +c_detalleventa._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update PEDIDO set PE_CANT = IFNULL(PE_CANT,0)-(1*'"),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_minimoadesc))),RemoteObject.createImmutable("'), PE_COSTO_TOT= ((IFNULL(PE_CANT,0) -(1*'"),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_minimoadesc))),RemoteObject.createImmutable("'))*'"),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_c2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_PRECIO")))))),RemoteObject.createImmutable("') WHERE PE_PROID = '"),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2))))),RemoteObject.createImmutable("' and PE_CLIENTE in (Select CUENTA from cuentaa) and CONSECUTIVO = '"),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 8))))),RemoteObject.createImmutable("'"))))); + }; + }else +{ BA.debugLineNum = 542;BA.debugLine="Else If c3.GetString(\"PE_CANT\") = minimoadesc T"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean("=",_c3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))),_minimoadesc)) { + BA.debugLineNum = 543;BA.debugLine="Private c2 As Cursor = Starter.skmt.ExecQuery2"; +Debug.ShouldStop(1073741824); +_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_detalleventa._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT * FROM CAT_GUNAPROD WHERE CAT_GP_ID = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2))))}))));Debug.locals.put("c2", _c2);Debug.locals.put("c2", _c2); + BA.debugLineNum = 544;BA.debugLine="If c2.RowCount > 0 Then"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean(">",_c2.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 545;BA.debugLine="c2.Position = 0"; +Debug.ShouldStop(1); +_c2.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 548;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from PEDID"; +Debug.ShouldStop(8); +c_detalleventa._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("delete from PEDIDO where PE_PROID = '"),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2))))),RemoteObject.createImmutable("' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 8))))),RemoteObject.createImmutable("'"))))); + }; + }} +; + }; + BA.debugLineNum = 555;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(1024); +__ref.runClassMethod (reparto_izca.keymon.lat.c_detalleventa.class, "_b4xpage_appear" /*RemoteObject*/ ); + }else { + BA.debugLineNum = 558;BA.debugLine="If esteTag.Get(5) = esteTag.Get(6) Then"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean("=",_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 5))),_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 6))))) { + BA.debugLineNum = 559;BA.debugLine="If laCant.Text > 0 Then"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, _lacant.runMethod(true,"getText")),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 560;BA.debugLine="If esteTag.Get(3) <> Subs.traeAlmacen Then 'Si"; +Debug.ShouldStop(32768); +if (RemoteObject.solveBoolean("!",_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 3))),(c_detalleventa._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))))) { + BA.debugLineNum = 561;BA.debugLine="Private c2 As Cursor =Starter.skmt.ExecQuery("; +Debug.ShouldStop(65536); +_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_detalleventa._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select HVD_RECHAZO FROM HIST_VENTAS WHERE HVD_PROID = '"),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2))))),RemoteObject.createImmutable("' AND HVD_CLIENTE IN (Select CUENTA from cuentaa) AND CONSECUTIVO = '"),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 8))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("c2", _c2);Debug.locals.put("c2", _c2); + BA.debugLineNum = 562;BA.debugLine="c2.Position = 0"; +Debug.ShouldStop(131072); +_c2.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 563;BA.debugLine="If c2.GetString(\"HVD_RECHAZO\") = \"0\" Then"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean("=",_c2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZO"))),BA.ObjectToString("0"))) { + BA.debugLineNum = 566;BA.debugLine="Log(\"ES PROMO\")"; +Debug.ShouldStop(2097152); +c_detalleventa.__c.runVoidMethod ("LogImpl","812386364",RemoteObject.createImmutable("ES PROMO"),0); + BA.debugLineNum = 567;BA.debugLine="Log(esteTag.Get(3))"; +Debug.ShouldStop(4194304); +c_detalleventa.__c.runVoidMethod ("LogImpl","812386365",BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 3)))),0); + BA.debugLineNum = 568;BA.debugLine="result = Msgbox2(\"Si se modifica una promoc"; +Debug.ShouldStop(8388608); +__ref.setField ("_result" /*RemoteObject*/ ,BA.NumberToString(c_detalleventa.__c.runMethodAndSync(true,"Msgbox2",(Object)(BA.ObjectToCharSequence("Si se modifica una promoción, la promoción se rompe y solo quedarán los productos sueltos, ¿seguro que desea continuar?")),(Object)(BA.ObjectToCharSequence("Modificar Promoción")),(Object)(BA.ObjectToString("Si")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("No")),(Object)((c_detalleventa.__c.runMethod(false,"LoadBitmap",(Object)(c_detalleventa.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(RemoteObject.createImmutable("alert2.png"))).getObject())),__ref.getField(false, "ba")))); + BA.debugLineNum = 569;BA.debugLine="If result = DialogResponse.POSITIVE Then 'Qu"; +Debug.ShouldStop(16777216); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_result" /*RemoteObject*/ ),BA.NumberToString(c_detalleventa.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { + BA.debugLineNum = 570;BA.debugLine="prodsMap.Remove(esteTag.Get(3))"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_prodsmap" /*RemoteObject*/ ).runVoidMethod ("Remove",(Object)(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 3))))); + BA.debugLineNum = 574;BA.debugLine="LogColor(esteTag.Get(3),Colors.Blue)"; +Debug.ShouldStop(536870912); +c_detalleventa.__c.runVoidMethod ("LogImpl","812386372",BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 3)))),c_detalleventa.__c.getField(false,"Colors").getField(true,"Blue")); + BA.debugLineNum = 577;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VEN"; +Debug.ShouldStop(1); +c_detalleventa._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update HIST_VENTAS set HVD_RECHAZO = 1, HVD_RECHAZOCANT = HVD_CANT WHERE HVD_CODPROMO = '"),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 3))))),RemoteObject.createImmutable("' and HVD_CLIENTE in (Select CUENTA from cuentaa)"))))); + BA.debugLineNum = 578;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VEN"; +Debug.ShouldStop(2); +c_detalleventa._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update HIST_VENTAS set HVD_RECHAZO = 2, HVD_RECHAZOCANT = HVD_CANT WHERE HVD_PROID = '"),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 3))))),RemoteObject.createImmutable("' and HVD_CODPROMO = '"),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 3))))),RemoteObject.createImmutable("' and HVD_CLIENTE in (Select CUENTA from cuentaa)"))))); + BA.debugLineNum = 581;BA.debugLine="c.Close"; +Debug.ShouldStop(16); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 582;BA.debugLine="LogColor(prodsMap, Colors.red)"; +Debug.ShouldStop(32); +c_detalleventa.__c.runVoidMethod ("LogImpl","812386380",BA.ObjectToString(__ref.getField(false,"_prodsmap" /*RemoteObject*/ )),c_detalleventa.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 583;BA.debugLine="reconstruirPedido = True"; +Debug.ShouldStop(64); +__ref.setField ("_reconstruirpedido" /*RemoteObject*/ ,c_detalleventa.__c.getField(true,"True")); + BA.debugLineNum = 584;BA.debugLine="promoABorrar = esteTag.Get(3)"; +Debug.ShouldStop(128); +__ref.setField ("_promoaborrar" /*RemoteObject*/ ,BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 3))))); + BA.debugLineNum = 585;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(256); +__ref.runClassMethod (reparto_izca.keymon.lat.c_detalleventa.class, "_b4xpage_appear" /*RemoteObject*/ ); + }; + }else { + BA.debugLineNum = 588;BA.debugLine="If laCant.Text = \"\" Then laCant.Text = 0"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean("=",_lacant.runMethod(true,"getText"),BA.ObjectToString(""))) { +_lacant.runMethod(true,"setText",BA.ObjectToCharSequence(0));}; + BA.debugLineNum = 589;BA.debugLine="laCant.Text = $\"$1.0{laCant.Text-1}\"$"; +Debug.ShouldStop(4096); +_lacant.runMethod(true,"setText",BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable(""),c_detalleventa.__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 = 590;BA.debugLine="If laCant.Text < 0 Then laCant.Text = 0"; +Debug.ShouldStop(8192); +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 = 591;BA.debugLine="Log(\"NO ES promo\")"; +Debug.ShouldStop(16384); +c_detalleventa.__c.runVoidMethod ("LogImpl","812386389",RemoteObject.createImmutable("NO ES promo"),0); + BA.debugLineNum = 592;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENT"; +Debug.ShouldStop(32768); +c_detalleventa._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update HIST_VENTAS set HVD_RECHAZO = 1, HVD_RECHAZOCANT = IFNULL(HVD_RECHAZOCANT,0) + (1*'"),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_minimoadesc))),RemoteObject.createImmutable("') WHERE HVD_PROID = '"),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2))))),RemoteObject.createImmutable("' and HVD_cliente in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 8))))),RemoteObject.createImmutable("'"))))); + BA.debugLineNum = 593;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update cat_gunap"; +Debug.ShouldStop(65536); +c_detalleventa._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen + 1 where cat_gp_id = ?")),(Object)(c_detalleventa.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2)))}))))); + BA.debugLineNum = 594;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(131072); +__ref.runClassMethod (reparto_izca.keymon.lat.c_detalleventa.class, "_b4xpage_appear" /*RemoteObject*/ ); + }; + }else { + BA.debugLineNum = 597;BA.debugLine="If laCant.Text = \"\" Then laCant.Text = 0"; +Debug.ShouldStop(1048576); +if (RemoteObject.solveBoolean("=",_lacant.runMethod(true,"getText"),BA.ObjectToString(""))) { +_lacant.runMethod(true,"setText",BA.ObjectToCharSequence(0));}; + BA.debugLineNum = 598;BA.debugLine="laCant.Text = $\"$1.0{laCant.Text-1}\"$"; +Debug.ShouldStop(2097152); +_lacant.runMethod(true,"setText",BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable(""),c_detalleventa.__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 = 599;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 = 600;BA.debugLine="Log(\"NO ES promo\")"; +Debug.ShouldStop(8388608); +c_detalleventa.__c.runVoidMethod ("LogImpl","812386398",RemoteObject.createImmutable("NO ES promo"),0); + BA.debugLineNum = 601;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENTA"; +Debug.ShouldStop(16777216); +c_detalleventa._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update HIST_VENTAS set HVD_RECHAZO = 1, HVD_RECHAZOCANT = IFNULL(HVD_RECHAZOCANT,0) + (1*'"),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_minimoadesc))),RemoteObject.createImmutable("'), BCAJAS = 0, CANTC = 0 WHERE HVD_PROID = '"),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2))))),RemoteObject.createImmutable("' and HVD_cliente in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 8))))),RemoteObject.createImmutable("'"))))); + BA.debugLineNum = 602;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update cat_gunapr"; +Debug.ShouldStop(33554432); +c_detalleventa._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen + 1 where cat_gp_id = ?")),(Object)(c_detalleventa.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2)))}))))); + BA.debugLineNum = 603;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(67108864); +__ref.runClassMethod (reparto_izca.keymon.lat.c_detalleventa.class, "_b4xpage_appear" /*RemoteObject*/ ); + }; + }; + }else { + BA.debugLineNum = 608;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 = 609;BA.debugLine="laCant.Text = $\"$1.0{laCant.Text-1}\"$"; +Debug.ShouldStop(1); +_lacant.runMethod(true,"setText",BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable(""),c_detalleventa.__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 = 610;BA.debugLine="If laCant.Text < 0 Then laCant.Text = 0"; +Debug.ShouldStop(2); +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 = 611;BA.debugLine="Log(\"NO ES promo\")"; +Debug.ShouldStop(4); +c_detalleventa.__c.runVoidMethod ("LogImpl","812386409",RemoteObject.createImmutable("NO ES promo"),0); + BA.debugLineNum = 616;BA.debugLine="Private c3 As Cursor = Starter.skmt.ExecQuery2("; +Debug.ShouldStop(128); +_c3 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c3 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_detalleventa._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT PE_CANT FROM PEDIDO WHERE PE_PROID = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND CONSECUTIVO = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2)))),BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 8))))}))));Debug.locals.put("c3", _c3);Debug.locals.put("c3", _c3); + BA.debugLineNum = 617;BA.debugLine="If c3.RowCount > 0 Then"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean(">",_c3.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 618;BA.debugLine="c3.Position = 0"; +Debug.ShouldStop(512); +_c3.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 619;BA.debugLine="If c3.GetString(\"PE_CANT\") > 1 Then"; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, _c3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))),BA.numberCast(double.class, 1))) { + BA.debugLineNum = 620;BA.debugLine="Private c2 As Cursor = Starter.skmt.ExecQuery"; +Debug.ShouldStop(2048); +_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_detalleventa._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT * FROM CAT_GUNAPROD WHERE CAT_GP_ID = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2))))}))));Debug.locals.put("c2", _c2);Debug.locals.put("c2", _c2); + BA.debugLineNum = 621;BA.debugLine="If c2.RowCount > 0 Then"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean(">",_c2.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 622;BA.debugLine="c2.Position = 0"; +Debug.ShouldStop(8192); +_c2.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 623;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO se"; +Debug.ShouldStop(16384); +c_detalleventa._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update PEDIDO set PE_CANT = IFNULL(PE_CANT,0)-(1*'"),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_minimoadesc))),RemoteObject.createImmutable("'), PE_COSTO_TOT= ((IFNULL(PE_CANT,0) -(1*'"),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_minimoadesc))),RemoteObject.createImmutable("'))*'"),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_c2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_PRECIO")))))),RemoteObject.createImmutable("') WHERE PE_PROID = '"),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2))))),RemoteObject.createImmutable("' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 8))))),RemoteObject.createImmutable("'"))))); + }; + }else +{ BA.debugLineNum = 625;BA.debugLine="Else If c3.GetString(\"PE_CANT\") = 1 Then"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean("=",_c3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))),BA.NumberToString(1))) { + BA.debugLineNum = 626;BA.debugLine="Private c2 As Cursor = Starter.skmt.ExecQuery"; +Debug.ShouldStop(131072); +_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_detalleventa._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT * FROM CAT_GUNAPROD WHERE CAT_GP_ID = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2))))}))));Debug.locals.put("c2", _c2);Debug.locals.put("c2", _c2); + BA.debugLineNum = 627;BA.debugLine="If c2.RowCount > 0 Then"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean(">",_c2.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 628;BA.debugLine="c2.Position = 0"; +Debug.ShouldStop(524288); +_c2.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 629;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from PEDI"; +Debug.ShouldStop(1048576); +c_detalleventa._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("delete from PEDIDO where PE_PROID = '"),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2))))),RemoteObject.createImmutable("' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 8))))),RemoteObject.createImmutable("'"))))); + }; + }} +; + }; + BA.debugLineNum = 633;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(16777216); +__ref.runClassMethod (reparto_izca.keymon.lat.c_detalleventa.class, "_b4xpage_appear" /*RemoteObject*/ ); + }; + }; + BA.debugLineNum = 636;BA.debugLine="Dim preciou As Float = esteTag.Get(0)/esteTag.Get"; +Debug.ShouldStop(134217728); +_preciou = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 0)))),BA.numberCast(double.class, _estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 1))))}, "/",0, 0));Debug.locals.put("preciou", _preciou);Debug.locals.put("preciou", _preciou); + BA.debugLineNum = 637;BA.debugLine="Log(\"PU: \" & preciou)"; +Debug.ShouldStop(268435456); +c_detalleventa.__c.runVoidMethod ("LogImpl","812386435",RemoteObject.concat(RemoteObject.createImmutable("PU: "),_preciou),0); + BA.debugLineNum = 648;BA.debugLine="End Sub"; +Debug.ShouldStop(128); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_prodmenosc_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_prodMenosC_Click (c_detalleventa) ","c_detalleventa",9,__ref.getField(false, "ba"),__ref,972); +if (RapidSub.canDelegate("b_prodmenosc_click")) { return __ref.runUserSub(false, "c_detalleventa","b_prodmenosc_click", __ref);} +RemoteObject _index = RemoteObject.createImmutable(0); +RemoteObject _pnl0 = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _pnl = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _lacantc = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _estetag = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _c3 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _preciou = RemoteObject.createImmutable(0f); + BA.debugLineNum = 972;BA.debugLine="Private Sub b_prodMenosC_Click"; +Debug.ShouldStop(2048); + BA.debugLineNum = 973;BA.debugLine="etCantHasFocus = False"; +Debug.ShouldStop(4096); +__ref.setField ("_etcanthasfocus" /*RemoteObject*/ ,c_detalleventa.__c.getField(true,"False")); + BA.debugLineNum = 974;BA.debugLine="Log(\"etCantHasFocus=\" & etCantHasFocus)"; +Debug.ShouldStop(8192); +c_detalleventa.__c.runVoidMethod ("LogImpl","812845058",RemoteObject.concat(RemoteObject.createImmutable("etCantHasFocus="),__ref.getField(true,"_etcanthasfocus" /*RemoteObject*/ )),0); + BA.debugLineNum = 975;BA.debugLine="LogColor(\"b_prodMenos_Click\", Colors.Magenta)"; +Debug.ShouldStop(16384); +c_detalleventa.__c.runVoidMethod ("LogImpl","812845059",BA.ObjectToString("b_prodMenos_Click"),c_detalleventa.__c.getField(false,"Colors").getField(true,"Magenta")); + BA.debugLineNum = 976;BA.debugLine="Dim index As Int = clv_pedido.GetItemFromView(Sen"; +Debug.ShouldStop(32768); +_index = __ref.getField(false,"_clv_pedido" /*RemoteObject*/ ).runMethod(true,"_getitemfromview",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), c_detalleventa.__c.runMethod(false,"Sender",__ref.getField(false, "ba"))));Debug.locals.put("index", _index);Debug.locals.put("index", _index); + BA.debugLineNum = 977;BA.debugLine="Dim pnl0 As B4XView = clv_pedido.GetPanel(index)"; +Debug.ShouldStop(65536); +_pnl0 = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_pnl0 = __ref.getField(false,"_clv_pedido" /*RemoteObject*/ ).runMethod(false,"_getpanel",(Object)(_index));Debug.locals.put("pnl0", _pnl0);Debug.locals.put("pnl0", _pnl0); + BA.debugLineNum = 978;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 = 979;BA.debugLine="Dim laCantc As B4XView = pnl.GetView(3).GetView(3"; +Debug.ShouldStop(262144); +_lacantc = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_lacantc = _pnl.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 3))).runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 3)));Debug.locals.put("laCantc", _lacantc);Debug.locals.put("laCantc", _lacantc); + BA.debugLineNum = 981;BA.debugLine="Dim esteTag As List = Regex.Split(\"\\|\", laCantc.T"; +Debug.ShouldStop(1048576); +_estetag = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +_estetag = c_detalleventa.__c.runMethod(false, "ArrayToList", (Object)(c_detalleventa.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString("\\|")),(Object)(BA.ObjectToString(_lacantc.runMethod(false,"getTag"))))));Debug.locals.put("esteTag", _estetag);Debug.locals.put("esteTag", _estetag); + BA.debugLineNum = 982;BA.debugLine="Log(\"LC_TEXT:\"&laCantc.Text&\"|PROMO:\"&esteTag.Get"; +Debug.ShouldStop(2097152); +c_detalleventa.__c.runVoidMethod ("LogImpl","812845066",RemoteObject.concat(RemoteObject.createImmutable("LC_TEXT:"),_lacantc.runMethod(true,"getText"),RemoteObject.createImmutable("|PROMO:"),_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 3))),RemoteObject.createImmutable("|LC_TAG:"),_lacantc.runMethod(false,"getTag"),RemoteObject.createImmutable("|ET:"),_estetag),0); + BA.debugLineNum = 983;BA.debugLine="Log(esteTag)"; +Debug.ShouldStop(4194304); +c_detalleventa.__c.runVoidMethod ("LogImpl","812845067",BA.ObjectToString(_estetag),0); + BA.debugLineNum = 985;BA.debugLine="If esteTag.Get(7) = \"1\" Then"; +Debug.ShouldStop(16777216); +if (RemoteObject.solveBoolean("=",_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 7))),RemoteObject.createImmutable(("1")))) { + BA.debugLineNum = 986;BA.debugLine="Private c3 As Cursor = Starter.skmt.ExecQuery2(\""; +Debug.ShouldStop(33554432); +_c3 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c3 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_detalleventa._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT PE_CAJAS, CONSECUTIVO FROM PEDIDO WHERE PE_PROID = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND CONSECUTIVO = ? ")),(Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2)))),BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 8))))}))));Debug.locals.put("c3", _c3);Debug.locals.put("c3", _c3); + BA.debugLineNum = 987;BA.debugLine="Log(c3.RowCount)"; +Debug.ShouldStop(67108864); +c_detalleventa.__c.runVoidMethod ("LogImpl","812845071",BA.NumberToString(_c3.runMethod(true,"getRowCount")),0); + BA.debugLineNum = 988;BA.debugLine="Log(esteTag.Get(8))"; +Debug.ShouldStop(134217728); +c_detalleventa.__c.runVoidMethod ("LogImpl","812845072",BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 8)))),0); + BA.debugLineNum = 989;BA.debugLine="If c3.RowCount > 0 Then"; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean(">",_c3.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 990;BA.debugLine="Log(\"AQUI VEMOS SI ACTUALIZAMOS\")"; +Debug.ShouldStop(536870912); +c_detalleventa.__c.runVoidMethod ("LogImpl","812845074",RemoteObject.createImmutable("AQUI VEMOS SI ACTUALIZAMOS"),0); + BA.debugLineNum = 991;BA.debugLine="c3.Position = 0"; +Debug.ShouldStop(1073741824); +_c3.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 992;BA.debugLine="If c3.GetString(\"PE_CAJAS\") > 1 Then"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, _c3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CAJAS")))),BA.numberCast(double.class, 1))) { + BA.debugLineNum = 993;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO set"; +Debug.ShouldStop(1); +c_detalleventa._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update PEDIDO set PE_CANT = (IFNULL(PE_CANT,0)-(1 * '"),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_detalleventa._subs.runMethod(true,"_traeconversion" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2))))))))),RemoteObject.createImmutable("')), PE_COSTO_TOT= ((IFNULL(PE_CAJAS,0)-1) *'"),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_detalleventa._subs.runMethod(true,"_traeprecioc" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2))))))))),RemoteObject.createImmutable("'), PE_CAJAS = IFNULL(PE_CAJAS,0) - 1 WHERE PE_PROID = '"),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2))))),RemoteObject.createImmutable("' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_c3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CONSECUTIVO")))))),RemoteObject.createImmutable("'"))))); + }else +{ BA.debugLineNum = 994;BA.debugLine="Else If c3.GetString(\"PE_CAJAS\") = 1 Then"; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean("=",_c3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CAJAS"))),BA.NumberToString(1))) { + BA.debugLineNum = 995;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from PEDIDO"; +Debug.ShouldStop(4); +c_detalleventa._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("delete from PEDIDO where PE_PROID = '"),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2))))),RemoteObject.createImmutable("' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_c3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CONSECUTIVO")))))),RemoteObject.createImmutable("'"))))); + }} +; + }; + BA.debugLineNum = 998;BA.debugLine="Log(\"entre al if o algo asi \")"; +Debug.ShouldStop(32); +c_detalleventa.__c.runVoidMethod ("LogImpl","812845082",RemoteObject.createImmutable("entre al if o algo asi "),0); + BA.debugLineNum = 999;BA.debugLine="If laCantc.Text = \"\" Then laCantc.Text = 0"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean("=",_lacantc.runMethod(true,"getText"),BA.ObjectToString(""))) { +_lacantc.runMethod(true,"setText",BA.ObjectToCharSequence(0));}; + BA.debugLineNum = 1000;BA.debugLine="laCantc.Text = laCantc.Text - 1"; +Debug.ShouldStop(128); +_lacantc.runMethod(true,"setText",BA.ObjectToCharSequence(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _lacantc.runMethod(true,"getText")),RemoteObject.createImmutable(1)}, "-",1, 0))); + BA.debugLineNum = 1001;BA.debugLine="If laCantc.Text < 0 Then laCantc.Text = 0"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean("<",BA.numberCast(double.class, _lacantc.runMethod(true,"getText")),BA.numberCast(double.class, 0))) { +_lacantc.runMethod(true,"setText",BA.ObjectToCharSequence(0));}; + BA.debugLineNum = 1002;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(512); +__ref.runClassMethod (reparto_izca.keymon.lat.c_detalleventa.class, "_b4xpage_appear" /*RemoteObject*/ ); + }else { + BA.debugLineNum = 1007;BA.debugLine="If esteTag.Get(5) = esteTag.Get(6) Then"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean("=",_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 5))),_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 6))))) { + BA.debugLineNum = 1009;BA.debugLine="If laCantc.Text > 0 Then"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, _lacantc.runMethod(true,"getText")),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1010;BA.debugLine="Log(\"entre al if o algo asi \")"; +Debug.ShouldStop(131072); +c_detalleventa.__c.runVoidMethod ("LogImpl","812845094",RemoteObject.createImmutable("entre al if o algo asi "),0); + BA.debugLineNum = 1011;BA.debugLine="If laCantc.Text = \"\" Then laCantc.Text = 0"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean("=",_lacantc.runMethod(true,"getText"),BA.ObjectToString(""))) { +_lacantc.runMethod(true,"setText",BA.ObjectToCharSequence(0));}; + BA.debugLineNum = 1012;BA.debugLine="laCantc.Text = laCantc.Text - 1"; +Debug.ShouldStop(524288); +_lacantc.runMethod(true,"setText",BA.ObjectToCharSequence(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _lacantc.runMethod(true,"getText")),RemoteObject.createImmutable(1)}, "-",1, 0))); + BA.debugLineNum = 1013;BA.debugLine="If laCantc.Text < 0 Then laCantc.Text = 0"; +Debug.ShouldStop(1048576); +if (RemoteObject.solveBoolean("<",BA.numberCast(double.class, _lacantc.runMethod(true,"getText")),BA.numberCast(double.class, 0))) { +_lacantc.runMethod(true,"setText",BA.ObjectToCharSequence(0));}; + BA.debugLineNum = 1014;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENTAS"; +Debug.ShouldStop(2097152); +c_detalleventa._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update HIST_VENTAS set HVD_RECHAZO = 1, HVD_RECHAZOCANT = (IFNULL(HVD_RECHAZOCANT,0) +(1 * "),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_detalleventa._subs.runMethod(true,"_traeconversion" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2))))))))),RemoteObject.createImmutable(")) WHERE HVD_PROID = '"),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2))))),RemoteObject.createImmutable("' and HVD_cliente in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 8))))),RemoteObject.createImmutable("'"))))); + BA.debugLineNum = 1015;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update cat_gunapro"; +Debug.ShouldStop(4194304); +c_detalleventa._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("update cat_gunaprod set cat_gp_almacen = (cat_gp_almacen + (1 * ?)) where cat_gp_id = ?")),(Object)(c_detalleventa.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2))),(c_detalleventa._subs.runMethod(true,"_traeconversion" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2)))))))}))))); + BA.debugLineNum = 1016;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(8388608); +__ref.runClassMethod (reparto_izca.keymon.lat.c_detalleventa.class, "_b4xpage_appear" /*RemoteObject*/ ); + }else +{ BA.debugLineNum = 1017;BA.debugLine="Else If laCantc.Text = 0 Then"; +Debug.ShouldStop(16777216); +if (RemoteObject.solveBoolean("=",_lacantc.runMethod(true,"getText"),BA.NumberToString(0))) { + }} +; + }else { + BA.debugLineNum = 1023;BA.debugLine="If laCantc.Text > 0 Then"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, _lacantc.runMethod(true,"getText")),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1026;BA.debugLine="Private c3 As Cursor = Starter.skmt.ExecQuery2"; +Debug.ShouldStop(2); +_c3 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c3 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_detalleventa._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT PE_CAJAS FROM PEDIDO WHERE PE_PROID = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) and CONSECUTIVO = ? ")),(Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2)))),BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 8))))}))));Debug.locals.put("c3", _c3);Debug.locals.put("c3", _c3); + BA.debugLineNum = 1027;BA.debugLine="If c3.RowCount > 0 Then"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean(">",_c3.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1028;BA.debugLine="Log(\"AQUI VEMOS SI ACTUALIZAMOS\")"; +Debug.ShouldStop(8); +c_detalleventa.__c.runVoidMethod ("LogImpl","812845112",RemoteObject.createImmutable("AQUI VEMOS SI ACTUALIZAMOS"),0); + BA.debugLineNum = 1029;BA.debugLine="c3.Position = 0"; +Debug.ShouldStop(16); +_c3.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1030;BA.debugLine="If c3.GetString(\"PE_CAJAS\") > 1 Then"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, _c3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CAJAS")))),BA.numberCast(double.class, 1))) { + BA.debugLineNum = 1031;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO se"; +Debug.ShouldStop(64); +c_detalleventa._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update PEDIDO set PE_CANT = (IFNULL(PE_CANT,0)-(1 * '"),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_detalleventa._subs.runMethod(true,"_traeconversion" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2))))))))),RemoteObject.createImmutable("')), PE_COSTO_TOT= ((IFNULL(PE_CAJAS,0)-1) *'"),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_detalleventa._subs.runMethod(true,"_traeprecioc" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2))))))))),RemoteObject.createImmutable("'), PE_CAJAS = IFNULL(PE_CAJAS,0) - 1 WHERE PE_PROID = '"),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2))))),RemoteObject.createImmutable("' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 8))))),RemoteObject.createImmutable("'"))))); + }else +{ BA.debugLineNum = 1032;BA.debugLine="Else If c3.GetString(\"PE_CAJAS\") = 1 Then"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean("=",_c3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CAJAS"))),BA.NumberToString(1))) { + BA.debugLineNum = 1033;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from PEDI"; +Debug.ShouldStop(256); +c_detalleventa._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("delete from PEDIDO where PE_PROID = '"),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2))))),RemoteObject.createImmutable("' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 8))))),RemoteObject.createImmutable("'"))))); + }} +; + }; + BA.debugLineNum = 1036;BA.debugLine="Log(\"entre al if o algo asi \")"; +Debug.ShouldStop(2048); +c_detalleventa.__c.runVoidMethod ("LogImpl","812845120",RemoteObject.createImmutable("entre al if o algo asi "),0); + BA.debugLineNum = 1037;BA.debugLine="If laCantc.Text = \"\" Then laCantc.Text = 0"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean("=",_lacantc.runMethod(true,"getText"),BA.ObjectToString(""))) { +_lacantc.runMethod(true,"setText",BA.ObjectToCharSequence(0));}; + BA.debugLineNum = 1038;BA.debugLine="laCantc.Text = laCantc.Text - 1"; +Debug.ShouldStop(8192); +_lacantc.runMethod(true,"setText",BA.ObjectToCharSequence(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _lacantc.runMethod(true,"getText")),RemoteObject.createImmutable(1)}, "-",1, 0))); + BA.debugLineNum = 1039;BA.debugLine="If laCantc.Text < 0 Then laCantc.Text = 0"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean("<",BA.numberCast(double.class, _lacantc.runMethod(true,"getText")),BA.numberCast(double.class, 0))) { +_lacantc.runMethod(true,"setText",BA.ObjectToCharSequence(0));}; + BA.debugLineNum = 1040;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(32768); +__ref.runClassMethod (reparto_izca.keymon.lat.c_detalleventa.class, "_b4xpage_appear" /*RemoteObject*/ ); + }else +{ BA.debugLineNum = 1042;BA.debugLine="Else If laCantc.Text = 0 Then"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean("=",_lacantc.runMethod(true,"getText"),BA.NumberToString(0))) { + }} +; + }; + }; + BA.debugLineNum = 1048;BA.debugLine="Dim preciou As Float = esteTag.Get(0)/esteTag.Get"; +Debug.ShouldStop(8388608); +_preciou = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 0)))),BA.numberCast(double.class, _estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 1))))}, "/",0, 0));Debug.locals.put("preciou", _preciou);Debug.locals.put("preciou", _preciou); + BA.debugLineNum = 1049;BA.debugLine="Log(\"PU: \" & preciou)"; +Debug.ShouldStop(16777216); +c_detalleventa.__c.runVoidMethod ("LogImpl","812845133",RemoteObject.concat(RemoteObject.createImmutable("PU: "),_preciou),0); + BA.debugLineNum = 1050;BA.debugLine="End Sub"; +Debug.ShouldStop(33554432); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_regresar_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_regresar_Click (c_detalleventa) ","c_detalleventa",9,__ref.getField(false, "ba"),__ref,317); +if (RapidSub.canDelegate("b_regresar_click")) { return __ref.runUserSub(false, "c_detalleventa","b_regresar_click", __ref);} + BA.debugLineNum = 317;BA.debugLine="Sub b_regresar_Click"; +Debug.ShouldStop(268435456); + BA.debugLineNum = 318;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +Debug.ShouldStop(536870912); +c_detalleventa._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Cliente"))); + BA.debugLineNum = 319;BA.debugLine="End Sub"; +Debug.ShouldStop(1073741824); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_revversar_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_revversar_Click (c_detalleventa) ","c_detalleventa",9,__ref.getField(false, "ba"),__ref,1056); +if (RapidSub.canDelegate("b_revversar_click")) { return __ref.runUserSub(false, "c_detalleventa","b_revversar_click", __ref);} +RemoteObject _c3 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); + BA.debugLineNum = 1056;BA.debugLine="Private Sub b_revversar_Click"; +Debug.ShouldStop(-2147483648); + BA.debugLineNum = 1057;BA.debugLine="Private c3 As Cursor = Starter.skmt.ExecQuery(\"SE"; +Debug.ShouldStop(1); +_c3 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c3 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_detalleventa._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT * FROM PEDIDO WHERE PE_CLIENTEOR IN (SELECT CUENTA FROM CUENTAA)"))));Debug.locals.put("c3", _c3);Debug.locals.put("c3", _c3); + BA.debugLineNum = 1058;BA.debugLine="If c3.RowCount = 0 Then"; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean("=",_c3.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1059;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENTAS s"; +Debug.ShouldStop(4); +c_detalleventa._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.createImmutable("update HIST_VENTAS set HVD_RECHAZO = 0, HVD_RECHAZOCANT = 0, BCAJAS = BCAJAS_OR, CANTC = CANTC_OR WHERE HVD_cliente in (Select CUENTA from cuentaa)")))); + BA.debugLineNum = 1060;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(8); +__ref.runClassMethod (reparto_izca.keymon.lat.c_detalleventa.class, "_b4xpage_appear" /*RemoteObject*/ ); + }else { + BA.debugLineNum = 1062;BA.debugLine="MsgboxAsync(\"Hay productos que ya se vendieron,"; +Debug.ShouldStop(32); +c_detalleventa.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Hay productos que ya se vendieron, no se puede regresar la venta")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + }; + BA.debugLineNum = 1066;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_detalleventa) ","c_detalleventa",9,__ref.getField(false, "ba"),__ref,68); +if (RapidSub.canDelegate("b4xpage_appear")) { return __ref.runUserSub(false, "c_detalleventa","b4xpage_appear", __ref);} +int _i = 0; +RemoteObject _c4 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _cantres = RemoteObject.createImmutable(0); +RemoteObject _oc = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _cant2 = RemoteObject.createImmutable(0); +RemoteObject _label1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +RemoteObject _label2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +RemoteObject _bgcolor = RemoteObject.createImmutable(0); +RemoteObject _textcolor = RemoteObject.createImmutable(0); +RemoteObject _c3 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _vc = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _cuenta = RemoteObject.createImmutable(""); +RemoteObject _arti = RemoteObject.createImmutable(""); +RemoteObject _vc2 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _cuenta1 = RemoteObject.createImmutable(""); +RemoteObject _arti1 = RemoteObject.createImmutable(""); +RemoteObject _preu = RemoteObject.createImmutable(0f); +RemoteObject _vc3 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _vc4 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _cuenta2 = RemoteObject.createImmutable(""); +RemoteObject _arti2 = RemoteObject.createImmutable(""); +RemoteObject _vc5 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _cuenta3 = RemoteObject.createImmutable(""); +RemoteObject _arti3 = RemoteObject.createImmutable(""); + BA.debugLineNum = 68;BA.debugLine="Sub B4XPage_Appear"; +Debug.ShouldStop(8); + BA.debugLineNum = 69;BA.debugLine="Subs.centraPanel(p_principal, Root.Width)"; +Debug.ShouldStop(16); +c_detalleventa._subs.runVoidMethod ("_centrapanel" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_p_principal" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"))); + BA.debugLineNum = 73;BA.debugLine="L_CANT.Text =\"\""; +Debug.ShouldStop(256); +__ref.getField(false,"_l_cant" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 74;BA.debugLine="L_TOTAL.Text=\"\""; +Debug.ShouldStop(512); +__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 75;BA.debugLine="c=Starter.skmt.ExecQuery(\"select count(*) as EXIS"; +Debug.ShouldStop(1024); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_detalleventa._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select count(*) as EXISTE from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) and HVD_RECHAZO = 0 ")))); + BA.debugLineNum = 76;BA.debugLine="C.Position=0"; +Debug.ShouldStop(2048); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 77;BA.debugLine="Existe = C.GetString(\"EXISTE\")"; +Debug.ShouldStop(4096); +__ref.setField ("_existe" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("EXISTE")))); + BA.debugLineNum = 78;BA.debugLine="C.Close"; +Debug.ShouldStop(8192); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 80;BA.debugLine="c=Starter.skmt.ExecQuery(\"select hvd_num_registro"; +Debug.ShouldStop(32768); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_detalleventa._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select hvd_num_registro,CONSECUTIVO, HVD_CLIENTE, HVD_PRONOMBRE, HVD_PROID, HVD_CANT, HVD_COSTO_TOT, HVD_CODPROMO, BCAJAS, CANTC, IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) and hvd_rechazo <> 2 and hvd_cant > 0 order by HVD_CODPROMO desc, HVD_PRONOMBRE asc")))); + BA.debugLineNum = 81;BA.debugLine="ListView1.Clear"; +Debug.ShouldStop(65536); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 82;BA.debugLine="clv_pedido.Clear"; +Debug.ShouldStop(131072); +__ref.getField(false,"_clv_pedido" /*RemoteObject*/ ).runVoidMethod ("_clear"); + BA.debugLineNum = 83;BA.debugLine="Subs.SetDivider(ListView1, Colors.LightGray, 2)"; +Debug.ShouldStop(262144); +c_detalleventa._subs.runVoidMethod ("_setdivider" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_listview1" /*RemoteObject*/ )),(Object)(c_detalleventa.__c.getField(false,"Colors").getField(true,"LightGray")),(Object)(BA.numberCast(int.class, 2))); + BA.debugLineNum = 84;BA.debugLine="clv_pedido.GetBase.SetLayoutAnimated(100, 0dip, 6"; +Debug.ShouldStop(524288); +__ref.getField(false,"_clv_pedido" /*RemoteObject*/ ).runMethod(false,"_getbase").runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 100)),(Object)(c_detalleventa.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 0)))),(Object)(c_detalleventa.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 60)))),(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(50)}, "-",1, 1)),(Object)(BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight"),RemoteObject.createImmutable(0.62)}, "*",0, 0)))); + BA.debugLineNum = 85;BA.debugLine="clv_pedido.Base_Resize(clv_pedido.GetBase.Width,"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_clv_pedido" /*RemoteObject*/ ).runVoidMethod ("_base_resize",(Object)(BA.numberCast(double.class, __ref.getField(false,"_clv_pedido" /*RemoteObject*/ ).runMethod(false,"_getbase").runMethod(true,"getWidth"))),(Object)(BA.numberCast(double.class, __ref.getField(false,"_clv_pedido" /*RemoteObject*/ ).runMethod(false,"_getbase").runMethod(true,"getHeight")))); + BA.debugLineNum = 87;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 = 90;BA.debugLine="For i=0 To c.RowCount -1"; +Debug.ShouldStop(33554432); +{ +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 = 91;BA.debugLine="c.Position=i"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 93;BA.debugLine="Private c4 As Cursor = Starter.skmt.ExecQuery($"; +Debug.ShouldStop(268435456); +_c4 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c4 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_detalleventa._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("SELECT IFNULL(PE_CANT,0) AS PE_CANT FROM PEDIDO WHERE PE_PROID = '"),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID")))))),RemoteObject.createImmutable("' AND PE_CLIENTEOR IN (SELECT CUENTA FROM CUENTAA) AND CONSECUTIVO = '"),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CONSECUTIVO")))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("c4", _c4);Debug.locals.put("c4", _c4); + BA.debugLineNum = 94;BA.debugLine="If c4.RowCount > 0 Then"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean(">",_c4.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 95;BA.debugLine="c4.Position = 0"; +Debug.ShouldStop(1073741824); +_c4.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 96;BA.debugLine="Private cantres As Int = c4.GetString(\"PE_CANT"; +Debug.ShouldStop(-2147483648); +_cantres = BA.numberCast(int.class, _c4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))));Debug.locals.put("cantres", _cantres);Debug.locals.put("cantres", _cantres); + }else { + BA.debugLineNum = 98;BA.debugLine="cantres = 0"; +Debug.ShouldStop(2); +_cantres = BA.numberCast(int.class, 0);Debug.locals.put("cantres", _cantres); + }; + BA.debugLineNum = 101;BA.debugLine="If c.GetString(\"BCAJAS\") = \"0\" Then"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("BCAJAS"))),BA.ObjectToString("0"))) { + BA.debugLineNum = 102;BA.debugLine="If c.GetString(\"HVD_CANT\") <> c.GetString(\"HVD"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean("!",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT"))),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))) { + BA.debugLineNum = 104;BA.debugLine="Private oc As Cursor = Starter.skmt.ExecQuery"; +Debug.ShouldStop(128); +_oc = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_oc = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_detalleventa._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select HVD_CANT from HIST_VENTAS2 WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) and hvd_proid = '"),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID")))))),RemoteObject.createImmutable("' and HVD_NUM_REGISTRO = '"),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_NUM_REGISTRO")))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("oc", _oc);Debug.locals.put("oc", _oc); + BA.debugLineNum = 105;BA.debugLine="Private cant2 As Int = 0"; +Debug.ShouldStop(256); +_cant2 = BA.numberCast(int.class, 0);Debug.locals.put("cant2", _cant2);Debug.locals.put("cant2", _cant2); + BA.debugLineNum = 106;BA.debugLine="If oc.RowCount > 0 Then"; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean(">",_oc.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 107;BA.debugLine="oc.Position = 0"; +Debug.ShouldStop(1024); +_oc.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 108;BA.debugLine="cant2 = oc.GetString(\"HVD_CANT\")"; +Debug.ShouldStop(2048); +_cant2 = BA.numberCast(int.class, _oc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT"))));Debug.locals.put("cant2", _cant2); + }; + BA.debugLineNum = 110;BA.debugLine="oc.Close"; +Debug.ShouldStop(8192); +_oc.runVoidMethod ("Close"); + BA.debugLineNum = 111;BA.debugLine="Dim label1 As Label"; +Debug.ShouldStop(16384); +_label1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label1", _label1); + BA.debugLineNum = 112;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 = 113;BA.debugLine="label1.TextSize = 12"; +Debug.ShouldStop(65536); +_label1.runMethod(true,"setTextSize",BA.numberCast(float.class, 12)); + BA.debugLineNum = 114;BA.debugLine="label1.TextColor = Colors.black"; +Debug.ShouldStop(131072); +_label1.runMethod(true,"setTextColor",c_detalleventa.__c.getField(false,"Colors").getField(true,"Black")); + BA.debugLineNum = 115;BA.debugLine="Dim label2 As Label"; +Debug.ShouldStop(262144); +_label2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label2", _label2); + BA.debugLineNum = 116;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 = 117;BA.debugLine="label2.TextSize = 12"; +Debug.ShouldStop(1048576); +_label2.runMethod(true,"setTextSize",BA.numberCast(float.class, 12)); + BA.debugLineNum = 118;BA.debugLine="label2.TextColor = Colors.black"; +Debug.ShouldStop(2097152); +_label2.runMethod(true,"setTextColor",c_detalleventa.__c.getField(false,"Colors").getField(true,"Black")); + BA.debugLineNum = 119;BA.debugLine="Private bgColor, textColor As Int"; +Debug.ShouldStop(4194304); +_bgcolor = RemoteObject.createImmutable(0);Debug.locals.put("bgColor", _bgcolor); +_textcolor = RemoteObject.createImmutable(0);Debug.locals.put("textColor", _textcolor); + BA.debugLineNum = 120;BA.debugLine="bgColor = Colors.RGB(177, 200, 249)'azul"; +Debug.ShouldStop(8388608); +_bgcolor = c_detalleventa.__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)));Debug.locals.put("bgColor", _bgcolor); + BA.debugLineNum = 121;BA.debugLine="textColor = Colors.black"; +Debug.ShouldStop(16777216); +_textcolor = c_detalleventa.__c.getField(false,"Colors").getField(true,"Black");Debug.locals.put("textColor", _textcolor); + BA.debugLineNum = 122;BA.debugLine="If c.GetString(\"HVD_CODPROMO\") <> Subs.traeAl"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("!",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CODPROMO"))),c_detalleventa._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")))) { + BA.debugLineNum = 124;BA.debugLine="bgColor = Colors.White"; +Debug.ShouldStop(134217728); +_bgcolor = c_detalleventa.__c.getField(false,"Colors").getField(true,"White");Debug.locals.put("bgColor", _bgcolor); + }; + BA.debugLineNum = 128;BA.debugLine="clv_pedido.Add(CreateListItem(c.GetString(\"HV"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_clv_pedido" /*RemoteObject*/ ).runVoidMethod ("_add",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), __ref.runClassMethod (reparto_izca.keymon.lat.c_detalleventa.class, "_createlistitem" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PRONOMBRE")))),(Object)(c_detalleventa._subs.runMethod(true,"_traeprecio2" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID")))),(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CODPROMO")))),(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CONSECUTIVO")))))),(Object)(BA.numberCast(int.class, (RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0)))),(Object)(BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT")))),_cantres}, "-",1, 0))),(Object)(__ref.getField(false,"_clv_pedido" /*RemoteObject*/ ).runMethod(false,"_asview").runMethod(true,"getWidth")),(Object)(c_detalleventa.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 118)))),(Object)(__ref.getField(false,"_bmp" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID")))),(Object)(_bgcolor),(Object)(_textcolor),(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CODPROMO")))),(Object)(c_detalleventa._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_detalleventa._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(BA.NumberToString(0)),(Object)(BA.numberCast(int.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CONSECUTIVO")))))).getObject()),(Object)(RemoteObject.createImmutable((_i)))); + }; + }else +{ BA.debugLineNum = 131;BA.debugLine="Else If c.GetString(\"BCAJAS\") = \"1\" Then"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("BCAJAS"))),BA.ObjectToString("1"))) { + BA.debugLineNum = 132;BA.debugLine="If c.GetString(\"HVD_CANT\") <> c.GetString(\"HVD"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean("!",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT"))),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))) { + BA.debugLineNum = 134;BA.debugLine="Private oc As Cursor = Starter.skmt.ExecQuery"; +Debug.ShouldStop(32); +_oc = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_oc = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_detalleventa._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select HVD_CANT from HIST_VENTAS2 WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) and hvd_proid = '"),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID")))))),RemoteObject.createImmutable("' and HVD_NUM_REGISTRO = '"),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_NUM_REGISTRO")))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("oc", _oc);Debug.locals.put("oc", _oc); + BA.debugLineNum = 135;BA.debugLine="Private cant2 As Int = 0"; +Debug.ShouldStop(64); +_cant2 = BA.numberCast(int.class, 0);Debug.locals.put("cant2", _cant2);Debug.locals.put("cant2", _cant2); + BA.debugLineNum = 136;BA.debugLine="If oc.RowCount > 0 Then"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean(">",_oc.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 137;BA.debugLine="oc.Position = 0"; +Debug.ShouldStop(256); +_oc.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 138;BA.debugLine="cant2 = oc.GetString(\"HVD_CANT\")"; +Debug.ShouldStop(512); +_cant2 = BA.numberCast(int.class, _oc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT"))));Debug.locals.put("cant2", _cant2); + }; + BA.debugLineNum = 140;BA.debugLine="oc.Close"; +Debug.ShouldStop(2048); +_oc.runVoidMethod ("Close"); + BA.debugLineNum = 141;BA.debugLine="Dim label1 As Label"; +Debug.ShouldStop(4096); +_label1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label1", _label1); + BA.debugLineNum = 142;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 = 143;BA.debugLine="label1.TextSize = 12"; +Debug.ShouldStop(16384); +_label1.runMethod(true,"setTextSize",BA.numberCast(float.class, 12)); + BA.debugLineNum = 144;BA.debugLine="label1.TextColor = Colors.black"; +Debug.ShouldStop(32768); +_label1.runMethod(true,"setTextColor",c_detalleventa.__c.getField(false,"Colors").getField(true,"Black")); + BA.debugLineNum = 145;BA.debugLine="Dim label2 As Label"; +Debug.ShouldStop(65536); +_label2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label2", _label2); + BA.debugLineNum = 146;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 = 147;BA.debugLine="label2.TextSize = 12"; +Debug.ShouldStop(262144); +_label2.runMethod(true,"setTextSize",BA.numberCast(float.class, 12)); + BA.debugLineNum = 148;BA.debugLine="label2.TextColor = Colors.black"; +Debug.ShouldStop(524288); +_label2.runMethod(true,"setTextColor",c_detalleventa.__c.getField(false,"Colors").getField(true,"Black")); + BA.debugLineNum = 149;BA.debugLine="Private bgColor, textColor As Int"; +Debug.ShouldStop(1048576); +_bgcolor = RemoteObject.createImmutable(0);Debug.locals.put("bgColor", _bgcolor); +_textcolor = RemoteObject.createImmutable(0);Debug.locals.put("textColor", _textcolor); + BA.debugLineNum = 150;BA.debugLine="bgColor = Colors.RGB(177, 200, 249)'azul"; +Debug.ShouldStop(2097152); +_bgcolor = c_detalleventa.__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)));Debug.locals.put("bgColor", _bgcolor); + BA.debugLineNum = 151;BA.debugLine="textColor = Colors.black"; +Debug.ShouldStop(4194304); +_textcolor = c_detalleventa.__c.getField(false,"Colors").getField(true,"Black");Debug.locals.put("textColor", _textcolor); + BA.debugLineNum = 152;BA.debugLine="If c.GetString(\"HVD_CODPROMO\") <> Subs.traeAl"; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean("!",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CODPROMO"))),c_detalleventa._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")))) { + BA.debugLineNum = 154;BA.debugLine="bgColor = Colors.White"; +Debug.ShouldStop(33554432); +_bgcolor = c_detalleventa.__c.getField(false,"Colors").getField(true,"White");Debug.locals.put("bgColor", _bgcolor); + }; + BA.debugLineNum = 158;BA.debugLine="clv_pedido.Add(CreateListItem(c.GetString(\"HV"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_clv_pedido" /*RemoteObject*/ ).runVoidMethod ("_add",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), __ref.runClassMethod (reparto_izca.keymon.lat.c_detalleventa.class, "_createlistitem" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PRONOMBRE")))),(Object)(BA.NumberToString((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_COSTO_TOT")))),BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CANTC"))))}, "/",0, 0)))),(Object)(BA.numberCast(int.class, ((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0))))),(Object)(BA.numberCast(int.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))),(Object)(__ref.getField(false,"_clv_pedido" /*RemoteObject*/ ).runMethod(false,"_asview").runMethod(true,"getWidth")),(Object)(c_detalleventa.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 118)))),(Object)(__ref.getField(false,"_bmp" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID")))),(Object)(_bgcolor),(Object)(_textcolor),(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CODPROMO")))),(Object)(c_detalleventa._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_detalleventa._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(BA.NumberToString(0)),(Object)(BA.numberCast(int.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CONSECUTIVO")))))).getObject()),(Object)(RemoteObject.createImmutable((_i)))); + }; + }} +; + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 166;BA.debugLine="Private c3 As Cursor=Starter.skmt.ExecQuery(\"Sele"; +Debug.ShouldStop(32); +_c3 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c3 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_detalleventa._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select * from PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) AND PE_TIPO NOT IN ('SOBRANTE','FALTANTE')"))));Debug.locals.put("c3", _c3);Debug.locals.put("c3", _c3); + BA.debugLineNum = 167;BA.debugLine="If c3.RowCount>0 Then"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean(">",_c3.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 168;BA.debugLine="For i= 0 To c3.RowCount -1"; +Debug.ShouldStop(128); +{ +final int step79 = 1; +final int limit79 = RemoteObject.solve(new RemoteObject[] {_c3.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step79 > 0 && _i <= limit79) || (step79 < 0 && _i >= limit79) ;_i = ((int)(0 + _i + step79)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 169;BA.debugLine="c3.Position = i"; +Debug.ShouldStop(256); +_c3.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 170;BA.debugLine="If c3.GetString(\"PE_BCAJAS\") = \"1\" Then"; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean("=",_c3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_BCAJAS"))),BA.ObjectToString("1"))) { + BA.debugLineNum = 171;BA.debugLine="Private bgColor, textColor As Int"; +Debug.ShouldStop(1024); +_bgcolor = RemoteObject.createImmutable(0);Debug.locals.put("bgColor", _bgcolor); +_textcolor = RemoteObject.createImmutable(0);Debug.locals.put("textColor", _textcolor); + BA.debugLineNum = 172;BA.debugLine="bgColor = Colors.RGB(221, 132, 132)'rosa"; +Debug.ShouldStop(2048); +_bgcolor = c_detalleventa.__c.getField(false,"Colors").runMethod(true,"RGB",(Object)(BA.numberCast(int.class, 221)),(Object)(BA.numberCast(int.class, 132)),(Object)(BA.numberCast(int.class, 132)));Debug.locals.put("bgColor", _bgcolor); + BA.debugLineNum = 173;BA.debugLine="textColor = Colors.black"; +Debug.ShouldStop(4096); +_textcolor = c_detalleventa.__c.getField(false,"Colors").getField(true,"Black");Debug.locals.put("textColor", _textcolor); + BA.debugLineNum = 174;BA.debugLine="clv_pedido.Add(CreateListItem2(c3.GetString(\"P"; +Debug.ShouldStop(8192); +__ref.getField(false,"_clv_pedido" /*RemoteObject*/ ).runVoidMethod ("_add",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), __ref.runClassMethod (reparto_izca.keymon.lat.c_detalleventa.class, "_createlistitem2" /*RemoteObject*/ ,(Object)(_c3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE")))),(Object)(_c3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU")))),(Object)(BA.numberCast(int.class, _c3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))))),(Object)(BA.numberCast(int.class, 0)),(Object)(__ref.getField(false,"_clv_pedido" /*RemoteObject*/ ).runMethod(false,"_asview").runMethod(true,"getWidth")),(Object)(c_detalleventa.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 118)))),(Object)(__ref.getField(false,"_bmp" /*RemoteObject*/ )),(Object)(_c3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))),(Object)(_bgcolor),(Object)(_textcolor),(Object)(c_detalleventa._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_detalleventa._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(_c3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CLIENTEOR")))),(Object)(BA.NumberToString(1)),(Object)(BA.numberCast(int.class, _c3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CONSECUTIVO")))))).getObject()),(Object)(RemoteObject.createImmutable((_i)))); + BA.debugLineNum = 175;BA.debugLine="Log(\"#####################\"&c3.GetString(\"PE_P"; +Debug.ShouldStop(16384); +c_detalleventa.__c.runVoidMethod ("LogImpl","811862123",RemoteObject.concat(RemoteObject.createImmutable("#####################"),_c3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE"))),RemoteObject.createImmutable(","),_c3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))),0); + }else { + BA.debugLineNum = 177;BA.debugLine="Private bgColor, textColor As Int"; +Debug.ShouldStop(65536); +_bgcolor = RemoteObject.createImmutable(0);Debug.locals.put("bgColor", _bgcolor); +_textcolor = RemoteObject.createImmutable(0);Debug.locals.put("textColor", _textcolor); + BA.debugLineNum = 178;BA.debugLine="bgColor = Colors.RGB(221, 132, 132)'rosa"; +Debug.ShouldStop(131072); +_bgcolor = c_detalleventa.__c.getField(false,"Colors").runMethod(true,"RGB",(Object)(BA.numberCast(int.class, 221)),(Object)(BA.numberCast(int.class, 132)),(Object)(BA.numberCast(int.class, 132)));Debug.locals.put("bgColor", _bgcolor); + BA.debugLineNum = 179;BA.debugLine="textColor = Colors.black"; +Debug.ShouldStop(262144); +_textcolor = c_detalleventa.__c.getField(false,"Colors").getField(true,"Black");Debug.locals.put("textColor", _textcolor); + BA.debugLineNum = 180;BA.debugLine="Log(\"#####################\"&c3.GetString(\"PE_P"; +Debug.ShouldStop(524288); +c_detalleventa.__c.runVoidMethod ("LogImpl","811862128",RemoteObject.concat(RemoteObject.createImmutable("#####################"),_c3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE"))),RemoteObject.createImmutable(","),_c3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))),0); + BA.debugLineNum = 181;BA.debugLine="clv_pedido.Add(CreateListItem(c3.GetString(\"PE"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_clv_pedido" /*RemoteObject*/ ).runVoidMethod ("_add",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), __ref.runClassMethod (reparto_izca.keymon.lat.c_detalleventa.class, "_createlistitem" /*RemoteObject*/ ,(Object)(_c3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE")))),(Object)(_c3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU")))),(Object)(BA.numberCast(int.class, _c3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))))),(Object)(BA.numberCast(int.class, 0)),(Object)(__ref.getField(false,"_clv_pedido" /*RemoteObject*/ ).runMethod(false,"_asview").runMethod(true,"getWidth")),(Object)(c_detalleventa.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 118)))),(Object)(__ref.getField(false,"_bmp" /*RemoteObject*/ )),(Object)(_c3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))),(Object)(_bgcolor),(Object)(_textcolor),(Object)(c_detalleventa._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_detalleventa._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(_c3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CLIENTEOR")))),(Object)(BA.NumberToString(1)),(Object)(BA.numberCast(int.class, _c3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CONSECUTIVO")))))).getObject()),(Object)(RemoteObject.createImmutable((_i)))); + }; + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 187;BA.debugLine="Private vc As Cursor = Starter.skmt.ExecQuery($\"s"; +Debug.ShouldStop(67108864); +_vc = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_vc = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_detalleventa._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select HVD_PROID, HVD_CANT,HVD_COSTO_TOT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT from HIST_VENTAS where BCAJAS = 0 and HVD_CODPROMO ='"),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_detalleventa._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),RemoteObject.createImmutable("' and HVD_CLIENTE in (select cuenta from cuentaa)"))))));Debug.locals.put("vc", _vc);Debug.locals.put("vc", _vc); + BA.debugLineNum = 189;BA.debugLine="Private Cuenta As String = 0"; +Debug.ShouldStop(268435456); +_cuenta = BA.NumberToString(0);Debug.locals.put("Cuenta", _cuenta);Debug.locals.put("Cuenta", _cuenta); + BA.debugLineNum = 190;BA.debugLine="Private arti As String = 0"; +Debug.ShouldStop(536870912); +_arti = BA.NumberToString(0);Debug.locals.put("arti", _arti);Debug.locals.put("arti", _arti); + BA.debugLineNum = 191;BA.debugLine="If vc.RowCount > 0 Then"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean(">",_vc.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 192;BA.debugLine="For i = 0 To vc.RowCount - 1"; +Debug.ShouldStop(-2147483648); +{ +final int step100 = 1; +final int limit100 = RemoteObject.solve(new RemoteObject[] {_vc.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step100 > 0 && _i <= limit100) || (step100 < 0 && _i >= limit100) ;_i = ((int)(0 + _i + step100)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 193;BA.debugLine="vc.Position = i"; +Debug.ShouldStop(1); +_vc.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 194;BA.debugLine="Private cantres As Int = 0"; +Debug.ShouldStop(2); +_cantres = BA.numberCast(int.class, 0);Debug.locals.put("cantres", _cantres);Debug.locals.put("cantres", _cantres); + BA.debugLineNum = 195;BA.debugLine="Private c4 As Cursor = Starter.skmt.ExecQuery($"; +Debug.ShouldStop(4); +_c4 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c4 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_detalleventa._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("SELECT IFNULL(PE_CANT,0) AS PE_CANT FROM PEDIDO WHERE PE_PROID = '"),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_vc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID")))))),RemoteObject.createImmutable("' AND PE_CLIENTEOR IN (SELECT CUENTA FROM CUENTAA)"))))));Debug.locals.put("c4", _c4);Debug.locals.put("c4", _c4); + BA.debugLineNum = 196;BA.debugLine="If c4.RowCount > 0 Then"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean(">",_c4.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 197;BA.debugLine="c4.Position = 0"; +Debug.ShouldStop(16); +_c4.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 198;BA.debugLine="cantres = c4.GetString(\"PE_CANT\")"; +Debug.ShouldStop(32); +_cantres = BA.numberCast(int.class, _c4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))));Debug.locals.put("cantres", _cantres); + BA.debugLineNum = 199;BA.debugLine="Log(c4.GetString(\"PE_CANT\"))"; +Debug.ShouldStop(64); +c_detalleventa.__c.runVoidMethod ("LogImpl","811862147",_c4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))),0); + }else { + BA.debugLineNum = 201;BA.debugLine="cantres = 0"; +Debug.ShouldStop(256); +_cantres = BA.numberCast(int.class, 0);Debug.locals.put("cantres", _cantres); + }; + BA.debugLineNum = 206;BA.debugLine="arti = arti + (vc.GetString(\"HVD_CANT\") - vc.Ge"; +Debug.ShouldStop(8192); +_arti = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _arti),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _vc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, _vc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0))}, "+",1, 0));Debug.locals.put("arti", _arti); + BA.debugLineNum = 207;BA.debugLine="Cuenta = Cuenta + ((vc.GetString(\"HVD_CANT\") -"; +Debug.ShouldStop(16384); +_cuenta = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cuenta),(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _vc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, _vc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0)),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _vc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_COSTO_TOT")))),BA.numberCast(double.class, _vc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT"))))}, "/",0, 0))}, "*",0, 0))}, "+",1, 0));Debug.locals.put("Cuenta", _cuenta); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 214;BA.debugLine="Private vc2 As Cursor = Starter.skmt.ExecQuery(\"s"; +Debug.ShouldStop(2097152); +_vc2 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_vc2 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_detalleventa._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select HVD_PROID, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT, CANTC,HVD_COSTO_TOT from HIST_VENTAS where HVD_CLIENTE in (select cuenta from cuentaa) AND BCAJAS = 1"))));Debug.locals.put("vc2", _vc2);Debug.locals.put("vc2", _vc2); + BA.debugLineNum = 215;BA.debugLine="Private Cuenta1 As String = 0"; +Debug.ShouldStop(4194304); +_cuenta1 = BA.NumberToString(0);Debug.locals.put("Cuenta1", _cuenta1);Debug.locals.put("Cuenta1", _cuenta1); + BA.debugLineNum = 216;BA.debugLine="Private arti1 As String = 0"; +Debug.ShouldStop(8388608); +_arti1 = BA.NumberToString(0);Debug.locals.put("arti1", _arti1);Debug.locals.put("arti1", _arti1); + BA.debugLineNum = 217;BA.debugLine="If vc2.RowCount > 0 Then"; +Debug.ShouldStop(16777216); +if (RemoteObject.solveBoolean(">",_vc2.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 218;BA.debugLine="For i = 0 To vc2.RowCount - 1"; +Debug.ShouldStop(33554432); +{ +final int step119 = 1; +final int limit119 = RemoteObject.solve(new RemoteObject[] {_vc2.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step119 > 0 && _i <= limit119) || (step119 < 0 && _i >= limit119) ;_i = ((int)(0 + _i + step119)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 219;BA.debugLine="vc2.Position = i"; +Debug.ShouldStop(67108864); +_vc2.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 220;BA.debugLine="Dim preu As Float = NumberFormat2(vc2.GetString"; +Debug.ShouldStop(134217728); +_preu = BA.numberCast(float.class, c_detalleventa.__c.runMethod(true,"NumberFormat2",(Object)(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _vc2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_COSTO_TOT")))),BA.numberCast(double.class, _vc2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CANTC"))))}, "/",0, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_detalleventa.__c.getField(true,"False"))));Debug.locals.put("preu", _preu);Debug.locals.put("preu", _preu); + BA.debugLineNum = 221;BA.debugLine="Private vc3 As Cursor = Starter.skmt.ExecQuery("; +Debug.ShouldStop(268435456); +_vc3 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_vc3 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_detalleventa._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select PRECIOCONVER, CONVERSION from CAT_GUNAPROD where CAT_GP_ID = '"),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_vc2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID")))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("vc3", _vc3);Debug.locals.put("vc3", _vc3); + BA.debugLineNum = 222;BA.debugLine="If vc3.RowCount > 0 Then"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean(">",_vc3.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 223;BA.debugLine="vc3.Position = 0"; +Debug.ShouldStop(1073741824); +_vc3.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 224;BA.debugLine="Cuenta1 = Cuenta1 + ((vc2.GetString(\"CANTC\")-("; +Debug.ShouldStop(-2147483648); +_cuenta1 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cuenta1),(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _vc2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CANTC")))),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _vc2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT")))),BA.numberCast(double.class, _vc3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CONVERSION"))))}, "/",0, 0))}, "-",1, 0)),_preu}, "*",0, 0))}, "+",1, 0));Debug.locals.put("Cuenta1", _cuenta1); + BA.debugLineNum = 225;BA.debugLine="arti1 = arti1 + (vc2.GetString(\"HVD_CANT\") - v"; +Debug.ShouldStop(1); +_arti1 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _arti1),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _vc2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, _vc2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0))}, "+",1, 0));Debug.locals.put("arti1", _arti1); + }; + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 231;BA.debugLine="Private vc4 As Cursor = Starter.skmt.ExecQuery($\""; +Debug.ShouldStop(64); +_vc4 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_vc4 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_detalleventa._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select HVD_PROID, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT, CANTC,HVD_COSTO_TOT, HVD_RECHAZO, HVD_CODPROMO from HIST_VENTAS where HVD_CLIENTE in (select cuenta from cuentaa) AND BCAJAS = 0 and HVD_CODPROMO <> '"),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_detalleventa._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("vc4", _vc4);Debug.locals.put("vc4", _vc4); + BA.debugLineNum = 232;BA.debugLine="Private Cuenta2 As String = 0"; +Debug.ShouldStop(128); +_cuenta2 = BA.NumberToString(0);Debug.locals.put("Cuenta2", _cuenta2);Debug.locals.put("Cuenta2", _cuenta2); + BA.debugLineNum = 233;BA.debugLine="Private arti2 As String = 0"; +Debug.ShouldStop(256); +_arti2 = BA.NumberToString(0);Debug.locals.put("arti2", _arti2);Debug.locals.put("arti2", _arti2); + BA.debugLineNum = 234;BA.debugLine="If vc4.RowCount > 0 Then"; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean(">",_vc4.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 236;BA.debugLine="For i = 0 To vc4.RowCount - 1"; +Debug.ShouldStop(2048); +{ +final int step134 = 1; +final int limit134 = RemoteObject.solve(new RemoteObject[] {_vc4.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step134 > 0 && _i <= limit134) || (step134 < 0 && _i >= limit134) ;_i = ((int)(0 + _i + step134)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 237;BA.debugLine="vc4.Position = i"; +Debug.ShouldStop(4096); +_vc4.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 238;BA.debugLine="If vc4.GetString(\"HVD_PROID\") <> vc4.GetString("; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean("!",_vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID"))),_vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CODPROMO"))))) { + BA.debugLineNum = 239;BA.debugLine="If vc4.GetString(\"HVD_RECHAZO\") = 0 Then"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean("=",_vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZO"))),BA.NumberToString(0))) { + BA.debugLineNum = 240;BA.debugLine="Cuenta2 = Cuenta2 + vc4.GetString(\"HVD_COSTO_"; +Debug.ShouldStop(32768); +_cuenta2 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cuenta2),BA.numberCast(double.class, _vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_COSTO_TOT"))))}, "+",1, 0));Debug.locals.put("Cuenta2", _cuenta2); + BA.debugLineNum = 241;BA.debugLine="arti2 = arti2 + vc4.GetString(\"HVD_CANT\")"; +Debug.ShouldStop(65536); +_arti2 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _arti2),BA.numberCast(double.class, _vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT"))))}, "+",1, 0));Debug.locals.put("arti2", _arti2); + }else { + BA.debugLineNum = 243;BA.debugLine="Private vc5 As Cursor = Starter.skmt.ExecQuer"; +Debug.ShouldStop(262144); +_vc5 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_vc5 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_detalleventa._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select CAT_GP_PRECIO from CAT_GUNAPROD where CAT_GP_ID = '"),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID")))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("vc5", _vc5);Debug.locals.put("vc5", _vc5); + BA.debugLineNum = 244;BA.debugLine="If vc5.RowCount > 0 Then"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean(">",_vc5.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 245;BA.debugLine="vc5.Position= 0"; +Debug.ShouldStop(1048576); +_vc5.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 247;BA.debugLine="Cuenta2 = Cuenta2 +((vc4.GetString(\"HVD_CANT"; +Debug.ShouldStop(4194304); +_cuenta2 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cuenta2),(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, _vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0)),BA.numberCast(double.class, _vc5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_PRECIO"))))}, "*",0, 0))}, "+",1, 0));Debug.locals.put("Cuenta2", _cuenta2); + BA.debugLineNum = 248;BA.debugLine="arti2 = arti2 +(vc4.GetString(\"HVD_CANT\")- v"; +Debug.ShouldStop(8388608); +_arti2 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _arti2),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, _vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0))}, "+",1, 0));Debug.locals.put("arti2", _arti2); + }; + }; + }; + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 259;BA.debugLine="Private c4 As Cursor = Starter.skmt.ExecQuery($\"S"; +Debug.ShouldStop(4); +_c4 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c4 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_detalleventa._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.createImmutable("SELECT IFNULL(PE_CANT,0) AS PE_CANT, iFNULL(PE_COSTO_TOT,0) AS PE_COSTO_TOT FROM PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND PE_TIPO NOT IN ('SOBRANTE','FALTANTE')")))));Debug.locals.put("c4", _c4);Debug.locals.put("c4", _c4); + BA.debugLineNum = 260;BA.debugLine="Private Cuenta3 As String = 0"; +Debug.ShouldStop(8); +_cuenta3 = BA.NumberToString(0);Debug.locals.put("Cuenta3", _cuenta3);Debug.locals.put("Cuenta3", _cuenta3); + BA.debugLineNum = 261;BA.debugLine="Private arti3 As String = 0"; +Debug.ShouldStop(16); +_arti3 = BA.NumberToString(0);Debug.locals.put("arti3", _arti3);Debug.locals.put("arti3", _arti3); + BA.debugLineNum = 262;BA.debugLine="If c4.RowCount > 0 Then"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean(">",_c4.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 263;BA.debugLine="For i = 0 To c4.RowCount -1"; +Debug.ShouldStop(64); +{ +final int step155 = 1; +final int limit155 = RemoteObject.solve(new RemoteObject[] {_c4.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step155 > 0 && _i <= limit155) || (step155 < 0 && _i >= limit155) ;_i = ((int)(0 + _i + step155)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 264;BA.debugLine="c4.Position = i"; +Debug.ShouldStop(128); +_c4.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 265;BA.debugLine="arti3 = arti3 + c4.GetString(\"PE_CANT\")"; +Debug.ShouldStop(256); +_arti3 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _arti3),BA.numberCast(double.class, _c4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))))}, "+",1, 0));Debug.locals.put("arti3", _arti3); + BA.debugLineNum = 266;BA.debugLine="Cuenta3 = Cuenta3 + c4.GetString(\"PE_COSTO_TOT\""; +Debug.ShouldStop(512); +_cuenta3 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cuenta3),BA.numberCast(double.class, _c4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_TOT"))))}, "+",1, 0));Debug.locals.put("Cuenta3", _cuenta3); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 270;BA.debugLine="If Cuenta < 0 Then"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean("<",BA.numberCast(double.class, _cuenta),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 271;BA.debugLine="Cuenta = 0"; +Debug.ShouldStop(16384); +_cuenta = BA.NumberToString(0);Debug.locals.put("Cuenta", _cuenta); + }; + BA.debugLineNum = 273;BA.debugLine="If Cuenta1 < 0 Then"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean("<",BA.numberCast(double.class, _cuenta1),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 274;BA.debugLine="Cuenta = 0"; +Debug.ShouldStop(131072); +_cuenta = BA.NumberToString(0);Debug.locals.put("Cuenta", _cuenta); + }; + BA.debugLineNum = 276;BA.debugLine="If Cuenta2 < 0 Then"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean("<",BA.numberCast(double.class, _cuenta2),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 277;BA.debugLine="Cuenta = 0"; +Debug.ShouldStop(1048576); +_cuenta = BA.NumberToString(0);Debug.locals.put("Cuenta", _cuenta); + }; + BA.debugLineNum = 279;BA.debugLine="If Cuenta3 < 0 Then"; +Debug.ShouldStop(4194304); +if (RemoteObject.solveBoolean("<",BA.numberCast(double.class, _cuenta3),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 280;BA.debugLine="Cuenta = 0"; +Debug.ShouldStop(8388608); +_cuenta = BA.NumberToString(0);Debug.locals.put("Cuenta", _cuenta); + }; + BA.debugLineNum = 283;BA.debugLine="If arti < 0 Then"; +Debug.ShouldStop(67108864); +if (RemoteObject.solveBoolean("<",BA.numberCast(double.class, _arti),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 284;BA.debugLine="arti = 0"; +Debug.ShouldStop(134217728); +_arti = BA.NumberToString(0);Debug.locals.put("arti", _arti); + }; + BA.debugLineNum = 286;BA.debugLine="If arti1 < 0 Then"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean("<",BA.numberCast(double.class, _arti1),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 287;BA.debugLine="arti = 0"; +Debug.ShouldStop(1073741824); +_arti = BA.NumberToString(0);Debug.locals.put("arti", _arti); + }; + BA.debugLineNum = 289;BA.debugLine="If arti2 < 0 Then"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean("<",BA.numberCast(double.class, _arti2),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 290;BA.debugLine="arti = 0"; +Debug.ShouldStop(2); +_arti = BA.NumberToString(0);Debug.locals.put("arti", _arti); + }; + BA.debugLineNum = 292;BA.debugLine="If arti3 < 0 Then"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean("<",BA.numberCast(double.class, _arti3),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 293;BA.debugLine="arti = 0"; +Debug.ShouldStop(16); +_arti = BA.NumberToString(0);Debug.locals.put("arti", _arti); + }; + BA.debugLineNum = 296;BA.debugLine="Log(Cuenta&\",\"&Cuenta1&\",\"&Cuenta2&\",\"&Cuenta3)"; +Debug.ShouldStop(128); +c_detalleventa.__c.runVoidMethod ("LogImpl","811862244",RemoteObject.concat(_cuenta,RemoteObject.createImmutable(","),_cuenta1,RemoteObject.createImmutable(","),_cuenta2,RemoteObject.createImmutable(","),_cuenta3),0); + BA.debugLineNum = 297;BA.debugLine="Log(arti&\",\"&arti1&\",\"&arti2&\",\"&arti3)"; +Debug.ShouldStop(256); +c_detalleventa.__c.runVoidMethod ("LogImpl","811862245",RemoteObject.concat(_arti,RemoteObject.createImmutable(","),_arti1,RemoteObject.createImmutable(","),_arti2,RemoteObject.createImmutable(","),_arti3),0); + BA.debugLineNum = 298;BA.debugLine="If Cuenta + Cuenta1 + Cuenta2 + Cuenta3 < 0 Then"; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean("<",RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cuenta),BA.numberCast(double.class, _cuenta1),BA.numberCast(double.class, _cuenta2),BA.numberCast(double.class, _cuenta3)}, "+++",3, 0),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 299;BA.debugLine="L_TOTAL.Text = 0"; +Debug.ShouldStop(1024); +__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + }else { + BA.debugLineNum = 301;BA.debugLine="L_TOTAL.Text = NumberFormat2((Cuenta + Cuenta1 +"; +Debug.ShouldStop(4096); +__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_detalleventa.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cuenta),BA.numberCast(double.class, _cuenta1),BA.numberCast(double.class, _cuenta2),BA.numberCast(double.class, _cuenta3)}, "+++",3, 0))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_detalleventa.__c.getField(true,"True"))))); + }; + BA.debugLineNum = 303;BA.debugLine="If arti + arti1 +arti2 + arti3 < 0 Then"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean("<",RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _arti),BA.numberCast(double.class, _arti1),BA.numberCast(double.class, _arti2),BA.numberCast(double.class, _arti3)}, "+++",3, 0),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 304;BA.debugLine="L_CANT.Text = 0"; +Debug.ShouldStop(32768); +__ref.getField(false,"_l_cant" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + }else { + BA.debugLineNum = 306;BA.debugLine="L_CANT.Text = NumberFormat2((arti + arti1 +arti2"; +Debug.ShouldStop(131072); +__ref.getField(false,"_l_cant" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_detalleventa.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _arti),BA.numberCast(double.class, _arti1),BA.numberCast(double.class, _arti2),BA.numberCast(double.class, _arti3)}, "+++",3, 0))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(c_detalleventa.__c.getField(true,"True"))))); + }; + BA.debugLineNum = 310;BA.debugLine="End Sub"; +Debug.ShouldStop(2097152); +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_detalleventa) ","c_detalleventa",9,__ref.getField(false, "ba"),__ref,321); +if (RapidSub.canDelegate("b4xpage_closerequest")) { return __ref.runUserSub(false, "c_detalleventa","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(reparto_izca.keymon.lat.c_detalleventa parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +reparto_izca.keymon.lat.c_detalleventa parent; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_CloseRequest (c_detalleventa) ","c_detalleventa",9,__ref.getField(false, "ba"),__ref,321); +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 = 324;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +Debug.ShouldStop(8); +parent._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Cliente"))); + BA.debugLineNum = 326;BA.debugLine="Return False"; +Debug.ShouldStop(32); +if (true) { +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(parent.__c.getField(true,"False")));return;}; + BA.debugLineNum = 327;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_detalleventa) ","c_detalleventa",9,__ref.getField(false, "ba"),__ref,56); +if (RapidSub.canDelegate("b4xpage_created")) { return __ref.runUserSub(false, "c_detalleventa","b4xpage_created", __ref, _root1);} +Debug.locals.put("Root1", _root1); + BA.debugLineNum = 56;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +Debug.ShouldStop(8388608); + BA.debugLineNum = 57;BA.debugLine="Root = Root1"; +Debug.ShouldStop(16777216); +__ref.setField ("_root" /*RemoteObject*/ ,_root1); + BA.debugLineNum = 58;BA.debugLine="B4XPages.SetTitle(Me, \"Detalle de venta\")"; +Debug.ShouldStop(33554432); +c_detalleventa._b4xpages.runVoidMethod ("_settitle" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref),(Object)((RemoteObject.createImmutable("Detalle de venta")))); + BA.debugLineNum = 60;BA.debugLine="g.Initialize(\"GPS\")"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_g" /*RemoteObject*/ ).runVoidMethod ("Initialize",(Object)(RemoteObject.createImmutable("GPS"))); + BA.debugLineNum = 61;BA.debugLine="Root.LoadLayout(\"detalleVenta\")"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_root" /*RemoteObject*/ ).runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("detalleVenta")),__ref.getField(false, "ba")); + BA.debugLineNum = 62;BA.debugLine="b_borra.Visible = False"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_b_borra" /*RemoteObject*/ ).runMethod(true,"setVisible",c_detalleventa.__c.getField(true,"False")); + BA.debugLineNum = 63;BA.debugLine="Titulo.Text = \"Pedido\""; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_titulo" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("Pedido")); + BA.debugLineNum = 64;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 = 1;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 2;BA.debugLine="Private Root As B4XView 'ignore"; +c_detalleventa._root = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_root",c_detalleventa._root); + //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore"; +c_detalleventa._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",c_detalleventa._xui); + //BA.debugLineNum = 4;BA.debugLine="Dim g As GPS"; +c_detalleventa._g = RemoteObject.createNew ("anywheresoftware.b4a.gps.GPS");__ref.setField("_g",c_detalleventa._g); + //BA.debugLineNum = 5;BA.debugLine="Dim clie_id As String"; +c_detalleventa._clie_id = RemoteObject.createImmutable("");__ref.setField("_clie_id",c_detalleventa._clie_id); + //BA.debugLineNum = 6;BA.debugLine="Dim sDate,sTime As String"; +c_detalleventa._sdate = RemoteObject.createImmutable("");__ref.setField("_sdate",c_detalleventa._sdate); +c_detalleventa._stime = RemoteObject.createImmutable("");__ref.setField("_stime",c_detalleventa._stime); + //BA.debugLineNum = 7;BA.debugLine="Dim usuario As String"; +c_detalleventa._usuario = RemoteObject.createImmutable("");__ref.setField("_usuario",c_detalleventa._usuario); + //BA.debugLineNum = 8;BA.debugLine="Dim c As Cursor"; +c_detalleventa._c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_c",c_detalleventa._c); + //BA.debugLineNum = 10;BA.debugLine="Dim b_regresar As Button"; +c_detalleventa._b_regresar = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_regresar",c_detalleventa._b_regresar); + //BA.debugLineNum = 11;BA.debugLine="Dim ListView1 As ListView"; +c_detalleventa._listview1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ListViewWrapper");__ref.setField("_listview1",c_detalleventa._listview1); + //BA.debugLineNum = 12;BA.debugLine="Dim L_CANT As Label"; +c_detalleventa._l_cant = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_cant",c_detalleventa._l_cant); + //BA.debugLineNum = 13;BA.debugLine="Dim L_TOTAL As Label"; +c_detalleventa._l_total = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_total",c_detalleventa._l_total); + //BA.debugLineNum = 14;BA.debugLine="Dim b_borra As Button"; +c_detalleventa._b_borra = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_borra",c_detalleventa._b_borra); + //BA.debugLineNum = 15;BA.debugLine="Dim Existe As String"; +c_detalleventa._existe = RemoteObject.createImmutable("");__ref.setField("_existe",c_detalleventa._existe); + //BA.debugLineNum = 16;BA.debugLine="Dim result As String"; +c_detalleventa._result = RemoteObject.createImmutable("");__ref.setField("_result",c_detalleventa._result); + //BA.debugLineNum = 18;BA.debugLine="Dim cuantos As String"; +c_detalleventa._cuantos = RemoteObject.createImmutable("");__ref.setField("_cuantos",c_detalleventa._cuantos); + //BA.debugLineNum = 19;BA.debugLine="Dim nombre_prod As String"; +c_detalleventa._nombre_prod = RemoteObject.createImmutable("");__ref.setField("_nombre_prod",c_detalleventa._nombre_prod); + //BA.debugLineNum = 20;BA.debugLine="Dim cuantos_pedido As String"; +c_detalleventa._cuantos_pedido = RemoteObject.createImmutable("");__ref.setField("_cuantos_pedido",c_detalleventa._cuantos_pedido); + //BA.debugLineNum = 21;BA.debugLine="Private Titulo As Label"; +c_detalleventa._titulo = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_titulo",c_detalleventa._titulo); + //BA.debugLineNum = 22;BA.debugLine="Private P1 As Panel"; +c_detalleventa._p1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p1",c_detalleventa._p1); + //BA.debugLineNum = 23;BA.debugLine="Private lv2 As ListView"; +c_detalleventa._lv2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ListViewWrapper");__ref.setField("_lv2",c_detalleventa._lv2); + //BA.debugLineNum = 24;BA.debugLine="Private p_principal As Panel"; +c_detalleventa._p_principal = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_principal",c_detalleventa._p_principal); + //BA.debugLineNum = 25;BA.debugLine="Dim clv_pedido As CustomListView"; +c_detalleventa._clv_pedido = RemoteObject.createNew ("b4a.example3.customlistview");__ref.setField("_clv_pedido",c_detalleventa._clv_pedido); + //BA.debugLineNum = 26;BA.debugLine="Private p_prods As Panel"; +c_detalleventa._p_prods = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_prods",c_detalleventa._p_prods); + //BA.debugLineNum = 27;BA.debugLine="Private l_prodX As Label"; +c_detalleventa._l_prodx = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_prodx",c_detalleventa._l_prodx); + //BA.debugLineNum = 28;BA.debugLine="Private l_pCant As Label"; +c_detalleventa._l_pcant = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_pcant",c_detalleventa._l_pcant); + //BA.debugLineNum = 29;BA.debugLine="Private et_pCant As EditText"; +c_detalleventa._et_pcant = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_pcant",c_detalleventa._et_pcant); + //BA.debugLineNum = 30;BA.debugLine="Dim bmp As Bitmap"; +c_detalleventa._bmp = RemoteObject.createNew ("anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper");__ref.setField("_bmp",c_detalleventa._bmp); + //BA.debugLineNum = 31;BA.debugLine="Dim etCantHasFocus As Boolean = False"; +c_detalleventa._etcanthasfocus = c_detalleventa.__c.getField(true,"False");__ref.setField("_etcanthasfocus",c_detalleventa._etcanthasfocus); + //BA.debugLineNum = 32;BA.debugLine="Dim totalProds As Int = 0"; +c_detalleventa._totalprods = BA.numberCast(int.class, 0);__ref.setField("_totalprods",c_detalleventa._totalprods); + //BA.debugLineNum = 33;BA.debugLine="Dim totalCompra As Int = 0"; +c_detalleventa._totalcompra = BA.numberCast(int.class, 0);__ref.setField("_totalcompra",c_detalleventa._totalcompra); + //BA.debugLineNum = 34;BA.debugLine="Dim prodsMap As Map"; +c_detalleventa._prodsmap = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");__ref.setField("_prodsmap",c_detalleventa._prodsmap); + //BA.debugLineNum = 35;BA.debugLine="Dim reconstruirPedido As Boolean = False"; +c_detalleventa._reconstruirpedido = c_detalleventa.__c.getField(true,"False");__ref.setField("_reconstruirpedido",c_detalleventa._reconstruirpedido); + //BA.debugLineNum = 36;BA.debugLine="Dim promoABorrar As String"; +c_detalleventa._promoaborrar = RemoteObject.createImmutable("");__ref.setField("_promoaborrar",c_detalleventa._promoaborrar); + //BA.debugLineNum = 37;BA.debugLine="Private b_guardar As Button"; +c_detalleventa._b_guardar = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_guardar",c_detalleventa._b_guardar); + //BA.debugLineNum = 38;BA.debugLine="Private b_prodMas As Button"; +c_detalleventa._b_prodmas = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_prodmas",c_detalleventa._b_prodmas); + //BA.debugLineNum = 39;BA.debugLine="Private b_prodMenos As Button"; +c_detalleventa._b_prodmenos = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_prodmenos",c_detalleventa._b_prodmenos); + //BA.debugLineNum = 40;BA.debugLine="Private b_prodMenosC As Button"; +c_detalleventa._b_prodmenosc = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_prodmenosc",c_detalleventa._b_prodmenosc); + //BA.debugLineNum = 41;BA.debugLine="Private l_pCantC As Label"; +c_detalleventa._l_pcantc = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_pcantc",c_detalleventa._l_pcantc); + //BA.debugLineNum = 42;BA.debugLine="Private et_pCantC As EditText"; +c_detalleventa._et_pcantc = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_pcantc",c_detalleventa._et_pcantc); + //BA.debugLineNum = 43;BA.debugLine="Private b_prodMasC As Button"; +c_detalleventa._b_prodmasc = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_prodmasc",c_detalleventa._b_prodmasc); + //BA.debugLineNum = 44;BA.debugLine="Private p_botMasMenC As Panel"; +c_detalleventa._p_botmasmenc = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_botmasmenc",c_detalleventa._p_botmasmenc); + //BA.debugLineNum = 45;BA.debugLine="Private p_botMasMen As Panel"; +c_detalleventa._p_botmasmen = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_botmasmen",c_detalleventa._p_botmasmen); + //BA.debugLineNum = 46;BA.debugLine="Private l_cajas As Label"; +c_detalleventa._l_cajas = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_cajas",c_detalleventa._l_cajas); + //BA.debugLineNum = 47;BA.debugLine="Private l_piezas As Label"; +c_detalleventa._l_piezas = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_piezas",c_detalleventa._l_piezas); + //BA.debugLineNum = 48;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _createlistitem(RemoteObject __ref,RemoteObject _text,RemoteObject _preciou,RemoteObject _inv,RemoteObject _inv2,RemoteObject _width,RemoteObject _height,RemoteObject _img,RemoteObject _prodid,RemoteObject _bc,RemoteObject _tc,RemoteObject _promo,RemoteObject _cliente_original,RemoteObject _clienterecha,RemoteObject _bandera,RemoteObject _consecutivo) throws Exception{ +try { + Debug.PushSubsStack("CreateListItem (c_detalleventa) ","c_detalleventa",9,__ref.getField(false, "ba"),__ref,442); +if (RapidSub.canDelegate("createlistitem")) { return __ref.runUserSub(false, "c_detalleventa","createlistitem", __ref, _text, _preciou, _inv, _inv2, _width, _height, _img, _prodid, _bc, _tc, _promo, _cliente_original, _clienterecha, _bandera, _consecutivo);} +RemoteObject _p = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _cs = RemoteObject.declareNull("anywheresoftware.b4a.objects.CSBuilder"); +Debug.locals.put("Text", _text); +Debug.locals.put("precioU", _preciou); +Debug.locals.put("inv", _inv); +Debug.locals.put("inv2", _inv2); +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); +Debug.locals.put("promo", _promo); +Debug.locals.put("cliente_original", _cliente_original); +Debug.locals.put("clienterecha", _clienterecha); +Debug.locals.put("bandera", _bandera); +Debug.locals.put("consecutivo", _consecutivo); + BA.debugLineNum = 442;BA.debugLine="Sub CreateListItem(Text As String, precioU As Stri"; +Debug.ShouldStop(33554432); + BA.debugLineNum = 443;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 = 444;BA.debugLine="Private cs As CSBuilder"; +Debug.ShouldStop(134217728); +_cs = RemoteObject.createNew ("anywheresoftware.b4a.objects.CSBuilder");Debug.locals.put("cs", _cs); + BA.debugLineNum = 445;BA.debugLine="cs.Initialize"; +Debug.ShouldStop(268435456); +_cs.runVoidMethod ("Initialize"); + BA.debugLineNum = 446;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, Width, Height)"; +Debug.ShouldStop(536870912); +_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 = 447;BA.debugLine="p.LoadLayout(\"prodItem2\")"; +Debug.ShouldStop(1073741824); +_p.runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("prodItem2")),__ref.getField(false, "ba")); + BA.debugLineNum = 448;BA.debugLine="p_prods.Color = bc"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_p_prods" /*RemoteObject*/ ).runVoidMethod ("setColor",_bc); + BA.debugLineNum = 449;BA.debugLine="l_prodX.TextColor = tc"; +Debug.ShouldStop(1); +__ref.getField(false,"_l_prodx" /*RemoteObject*/ ).runMethod(true,"setTextColor",_tc); + BA.debugLineNum = 450;BA.debugLine="precioU = $\"$1.2{precioU}\"$"; +Debug.ShouldStop(2); +_preciou = (RemoteObject.concat(RemoteObject.createImmutable(""),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("1.2")),(Object)((_preciou))),RemoteObject.createImmutable("")));Debug.locals.put("precioU", _preciou); + BA.debugLineNum = 451;BA.debugLine="l_prodX.Text = Text&CRLF&\"Cant: \" & inv2 & \" $\""; +Debug.ShouldStop(4); +__ref.getField(false,"_l_prodx" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(RemoteObject.concat(_text,c_detalleventa.__c.getField(true,"CRLF"),RemoteObject.createImmutable("Cant: "),_inv2,RemoteObject.createImmutable(" $"),_preciou))); + BA.debugLineNum = 452;BA.debugLine="If promo <> \"1\" And precioU = 0 Then"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean("!",_promo,BA.ObjectToString("1")) && RemoteObject.solveBoolean("=",_preciou,BA.NumberToString(0))) { + BA.debugLineNum = 453;BA.debugLine="l_prodX.Text = cs.Color(Colors.RGB(123,0,0)).app"; +Debug.ShouldStop(16); +__ref.getField(false,"_l_prodx" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_cs.runMethod(false,"Color",(Object)(c_detalleventa.__c.getField(false,"Colors").runMethod(true,"RGB",(Object)(BA.numberCast(int.class, 123)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0))))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(_text,c_detalleventa.__c.getField(true,"CRLF"),RemoteObject.createImmutable("Cant: "),_inv2,RemoteObject.createImmutable(" $"),_preciou)))).runMethod(false,"PopAll").getObject())); + }; + BA.debugLineNum = 455;BA.debugLine="l_prodX.Tag = $\"ID: ${prodId}${CRLF}${Text}${CRLF"; +Debug.ShouldStop(64); +__ref.getField(false,"_l_prodx" /*RemoteObject*/ ).runMethod(false,"setTag",((RemoteObject.concat(RemoteObject.createImmutable("ID: "),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_prodid))),RemoteObject.createImmutable(""),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_detalleventa.__c.getField(true,"CRLF")))),RemoteObject.createImmutable(""),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_text))),RemoteObject.createImmutable(""),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_detalleventa.__c.getField(true,"CRLF")))),RemoteObject.createImmutable("Precio: $"),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("1.2")),(Object)((_preciou))),RemoteObject.createImmutable(""),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_detalleventa.__c.getField(true,"CRLF")))),RemoteObject.createImmutable("Inv: "),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_inv))),RemoteObject.createImmutable(" pzs"))))); + BA.debugLineNum = 458;BA.debugLine="l_pCant.Tag = Round2(precioU.Replace(\",\",\"\"),2)&\""; +Debug.ShouldStop(512); +__ref.getField(false,"_l_pcant" /*RemoteObject*/ ).runMethod(false,"setTag",(RemoteObject.concat(c_detalleventa.__c.runMethod(true,"Round2",(Object)(BA.numberCast(double.class, _preciou.runMethod(true,"replace",(Object)(BA.ObjectToString(",")),(Object)(RemoteObject.createImmutable(""))))),(Object)(BA.numberCast(int.class, 2))),RemoteObject.createImmutable("|"),_inv,RemoteObject.createImmutable("|"),_prodid,RemoteObject.createImmutable("|"),_promo,RemoteObject.createImmutable("|"),_inv2,RemoteObject.createImmutable("|"),_cliente_original,RemoteObject.createImmutable("|"),_clienterecha,RemoteObject.createImmutable("|"),_bandera,RemoteObject.createImmutable("|"),_consecutivo))); + BA.debugLineNum = 459;BA.debugLine="et_pCant.Tag = Round2(precioU.Replace(\",\",\"\"),2)&"; +Debug.ShouldStop(1024); +__ref.getField(false,"_et_pcant" /*RemoteObject*/ ).runMethod(false,"setTag",(RemoteObject.concat(c_detalleventa.__c.runMethod(true,"Round2",(Object)(BA.numberCast(double.class, _preciou.runMethod(true,"replace",(Object)(BA.ObjectToString(",")),(Object)(RemoteObject.createImmutable(""))))),(Object)(BA.numberCast(int.class, 2))),RemoteObject.createImmutable("|"),_inv,RemoteObject.createImmutable("|"),_prodid,RemoteObject.createImmutable("|"),_promo,RemoteObject.createImmutable("|"),_inv2,RemoteObject.createImmutable("|"),_cliente_original,RemoteObject.createImmutable("|"),_clienterecha,RemoteObject.createImmutable("|"),_bandera,RemoteObject.createImmutable("|"),_consecutivo))); + BA.debugLineNum = 460;BA.debugLine="p_prods.Tag = l_pCant.tag"; +Debug.ShouldStop(2048); +__ref.getField(false,"_p_prods" /*RemoteObject*/ ).runMethod(false,"setTag",__ref.getField(false,"_l_pcant" /*RemoteObject*/ ).runMethod(false,"getTag")); + BA.debugLineNum = 462;BA.debugLine="l_pCant.Text = inv"; +Debug.ShouldStop(8192); +__ref.getField(false,"_l_pcant" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_inv)); + BA.debugLineNum = 466;BA.debugLine="l_pCant.BringToFront"; +Debug.ShouldStop(131072); +__ref.getField(false,"_l_pcant" /*RemoteObject*/ ).runVoidMethod ("BringToFront"); + BA.debugLineNum = 467;BA.debugLine="et_pCant.SendToBack"; +Debug.ShouldStop(262144); +__ref.getField(false,"_et_pcant" /*RemoteObject*/ ).runVoidMethod ("SendToBack"); + BA.debugLineNum = 468;BA.debugLine="p_botMasMenC.Visible = False"; +Debug.ShouldStop(524288); +__ref.getField(false,"_p_botmasmenc" /*RemoteObject*/ ).runMethod(true,"setVisible",c_detalleventa.__c.getField(true,"False")); + BA.debugLineNum = 469;BA.debugLine="l_cajas.Visible = False"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_l_cajas" /*RemoteObject*/ ).runMethod(true,"setVisible",c_detalleventa.__c.getField(true,"False")); + BA.debugLineNum = 471;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 = 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 _createlistitem2(RemoteObject __ref,RemoteObject _text,RemoteObject _preciou,RemoteObject _inv,RemoteObject _inv2,RemoteObject _width,RemoteObject _height,RemoteObject _img,RemoteObject _prodid,RemoteObject _bc,RemoteObject _tc,RemoteObject _promo,RemoteObject _cliente_original,RemoteObject _clienterecha,RemoteObject _bandera,RemoteObject _consecutivo) throws Exception{ +try { + Debug.PushSubsStack("CreateListItem2 (c_detalleventa) ","c_detalleventa",9,__ref.getField(false, "ba"),__ref,474); +if (RapidSub.canDelegate("createlistitem2")) { return __ref.runUserSub(false, "c_detalleventa","createlistitem2", __ref, _text, _preciou, _inv, _inv2, _width, _height, _img, _prodid, _bc, _tc, _promo, _cliente_original, _clienterecha, _bandera, _consecutivo);} +RemoteObject _p = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _cs = RemoteObject.declareNull("anywheresoftware.b4a.objects.CSBuilder"); +Debug.locals.put("Text", _text); +Debug.locals.put("precioU", _preciou); +Debug.locals.put("inv", _inv); +Debug.locals.put("inv2", _inv2); +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); +Debug.locals.put("promo", _promo); +Debug.locals.put("cliente_original", _cliente_original); +Debug.locals.put("clienterecha", _clienterecha); +Debug.locals.put("bandera", _bandera); +Debug.locals.put("consecutivo", _consecutivo); + BA.debugLineNum = 474;BA.debugLine="Sub CreateListItem2(Text As String, precioU As Str"; +Debug.ShouldStop(33554432); + BA.debugLineNum = 475;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 = 476;BA.debugLine="Private cs As CSBuilder"; +Debug.ShouldStop(134217728); +_cs = RemoteObject.createNew ("anywheresoftware.b4a.objects.CSBuilder");Debug.locals.put("cs", _cs); + BA.debugLineNum = 477;BA.debugLine="cs.Initialize"; +Debug.ShouldStop(268435456); +_cs.runVoidMethod ("Initialize"); + BA.debugLineNum = 478;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, Width, Height)"; +Debug.ShouldStop(536870912); +_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 = 479;BA.debugLine="p.LoadLayout(\"prodItem2\")"; +Debug.ShouldStop(1073741824); +_p.runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("prodItem2")),__ref.getField(false, "ba")); + BA.debugLineNum = 480;BA.debugLine="p_prods.Color = bc"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_p_prods" /*RemoteObject*/ ).runVoidMethod ("setColor",_bc); + BA.debugLineNum = 481;BA.debugLine="l_prodX.TextColor = tc"; +Debug.ShouldStop(1); +__ref.getField(false,"_l_prodx" /*RemoteObject*/ ).runMethod(true,"setTextColor",_tc); + BA.debugLineNum = 482;BA.debugLine="precioU = $\"$1.2{precioU}\"$"; +Debug.ShouldStop(2); +_preciou = (RemoteObject.concat(RemoteObject.createImmutable(""),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("1.2")),(Object)((_preciou))),RemoteObject.createImmutable("")));Debug.locals.put("precioU", _preciou); + BA.debugLineNum = 483;BA.debugLine="l_prodX.Text = Text&CRLF&\"Cant: \" & inv2 & \" $\""; +Debug.ShouldStop(4); +__ref.getField(false,"_l_prodx" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(RemoteObject.concat(_text,c_detalleventa.__c.getField(true,"CRLF"),RemoteObject.createImmutable("Cant: "),_inv2,RemoteObject.createImmutable(" $"),_preciou))); + BA.debugLineNum = 485;BA.debugLine="If promo <> \"1\" And precioU = 0 Then"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean("!",_promo,BA.ObjectToString("1")) && RemoteObject.solveBoolean("=",_preciou,BA.NumberToString(0))) { + BA.debugLineNum = 486;BA.debugLine="l_prodX.Text = cs.Color(Colors.RGB(123,0,0)).app"; +Debug.ShouldStop(32); +__ref.getField(false,"_l_prodx" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_cs.runMethod(false,"Color",(Object)(c_detalleventa.__c.getField(false,"Colors").runMethod(true,"RGB",(Object)(BA.numberCast(int.class, 123)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0))))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(_text,c_detalleventa.__c.getField(true,"CRLF"),RemoteObject.createImmutable("Cant: "),_inv2,RemoteObject.createImmutable(" $"),_preciou)))).runMethod(false,"PopAll").getObject())); + }; + BA.debugLineNum = 488;BA.debugLine="l_prodX.Tag = $\"ID: ${prodId}${CRLF}${Text}${CRLF"; +Debug.ShouldStop(128); +__ref.getField(false,"_l_prodx" /*RemoteObject*/ ).runMethod(false,"setTag",((RemoteObject.concat(RemoteObject.createImmutable("ID: "),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_prodid))),RemoteObject.createImmutable(""),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_detalleventa.__c.getField(true,"CRLF")))),RemoteObject.createImmutable(""),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_text))),RemoteObject.createImmutable(""),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_detalleventa.__c.getField(true,"CRLF")))),RemoteObject.createImmutable("Precio: $"),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("1.2")),(Object)((_preciou))),RemoteObject.createImmutable(""),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_detalleventa.__c.getField(true,"CRLF")))),RemoteObject.createImmutable("Inv: "),c_detalleventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_inv))),RemoteObject.createImmutable(" pzs"))))); + BA.debugLineNum = 490;BA.debugLine="l_pCantC.Tag = Round2(precioU.Replace(\",\",\"\"),2)&"; +Debug.ShouldStop(512); +__ref.getField(false,"_l_pcantc" /*RemoteObject*/ ).runMethod(false,"setTag",(RemoteObject.concat(c_detalleventa.__c.runMethod(true,"Round2",(Object)(BA.numberCast(double.class, _preciou.runMethod(true,"replace",(Object)(BA.ObjectToString(",")),(Object)(RemoteObject.createImmutable(""))))),(Object)(BA.numberCast(int.class, 2))),RemoteObject.createImmutable("|"),_inv,RemoteObject.createImmutable("|"),_prodid,RemoteObject.createImmutable("|"),_promo,RemoteObject.createImmutable("|"),_inv2,RemoteObject.createImmutable("|"),_cliente_original,RemoteObject.createImmutable("|"),_clienterecha,RemoteObject.createImmutable("|"),_bandera,RemoteObject.createImmutable("|"),_consecutivo))); + BA.debugLineNum = 491;BA.debugLine="et_pCantC.Tag = Round2(precioU.Replace(\",\",\"\"),2)"; +Debug.ShouldStop(1024); +__ref.getField(false,"_et_pcantc" /*RemoteObject*/ ).runMethod(false,"setTag",(RemoteObject.concat(c_detalleventa.__c.runMethod(true,"Round2",(Object)(BA.numberCast(double.class, _preciou.runMethod(true,"replace",(Object)(BA.ObjectToString(",")),(Object)(RemoteObject.createImmutable(""))))),(Object)(BA.numberCast(int.class, 2))),RemoteObject.createImmutable("|"),_inv,RemoteObject.createImmutable("|"),_prodid,RemoteObject.createImmutable("|"),_promo,RemoteObject.createImmutable("|"),_inv2,RemoteObject.createImmutable("|"),_cliente_original,RemoteObject.createImmutable("|"),_clienterecha,RemoteObject.createImmutable("|"),_bandera,RemoteObject.createImmutable("|"),_consecutivo))); + BA.debugLineNum = 492;BA.debugLine="p_prods.Tag = l_pCantC.tag"; +Debug.ShouldStop(2048); +__ref.getField(false,"_p_prods" /*RemoteObject*/ ).runMethod(false,"setTag",__ref.getField(false,"_l_pcantc" /*RemoteObject*/ ).runMethod(false,"getTag")); + BA.debugLineNum = 494;BA.debugLine="l_pCantC.Text = NumberFormat2(inv/Subs.traeConver"; +Debug.ShouldStop(8192); +__ref.getField(false,"_l_pcantc" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_detalleventa.__c.runMethod(true,"NumberFormat2",(Object)(RemoteObject.solve(new RemoteObject[] {_inv,BA.numberCast(double.class, c_detalleventa._subs.runMethod(true,"_traeconversion" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_prodid)))}, "/",0, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(c_detalleventa.__c.getField(true,"False"))))); + BA.debugLineNum = 498;BA.debugLine="l_pCantC.BringToFront"; +Debug.ShouldStop(131072); +__ref.getField(false,"_l_pcantc" /*RemoteObject*/ ).runVoidMethod ("BringToFront"); + BA.debugLineNum = 499;BA.debugLine="et_pCantC.SendToBack"; +Debug.ShouldStop(262144); +__ref.getField(false,"_et_pcantc" /*RemoteObject*/ ).runVoidMethod ("SendToBack"); + BA.debugLineNum = 500;BA.debugLine="p_botMasMen.Visible = False"; +Debug.ShouldStop(524288); +__ref.getField(false,"_p_botmasmen" /*RemoteObject*/ ).runMethod(true,"setVisible",c_detalleventa.__c.getField(true,"False")); + BA.debugLineNum = 501;BA.debugLine="l_piezas.Visible = False"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_l_piezas" /*RemoteObject*/ ).runMethod(true,"setVisible",c_detalleventa.__c.getField(true,"False")); + BA.debugLineNum = 503;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 = 504;BA.debugLine="End Sub"; +Debug.ShouldStop(8388608); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _cuentaprods(RemoteObject __ref,RemoteObject _accion) throws Exception{ +try { + Debug.PushSubsStack("cuentaProds (c_detalleventa) ","c_detalleventa",9,__ref.getField(false, "ba"),__ref,751); +if (RapidSub.canDelegate("cuentaprods")) { return __ref.runUserSub(false, "c_detalleventa","cuentaprods", __ref, _accion);} +Debug.locals.put("accion", _accion); + BA.debugLineNum = 751;BA.debugLine="Sub cuentaProds(accion As String)"; +Debug.ShouldStop(16384); + BA.debugLineNum = 913;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_detalleventa) ","c_detalleventa",9,__ref.getField(false, "ba"),__ref,312); +if (RapidSub.canDelegate("gps_locationchanged")) { return __ref.runUserSub(false, "c_detalleventa","gps_locationchanged", __ref, _location1);} +Debug.locals.put("Location1", _location1); + BA.debugLineNum = 312;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; +Debug.ShouldStop(8388608); + BA.debugLineNum = 315;BA.debugLine="End Sub"; +Debug.ShouldStop(67108864); +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_detalleventa) ","c_detalleventa",9,__ref.getField(false, "ba"),__ref,51); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "c_detalleventa","initialize", __ref, _ba);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); + BA.debugLineNum = 51;BA.debugLine="Public Sub Initialize As Object"; +Debug.ShouldStop(262144); + BA.debugLineNum = 52;BA.debugLine="Return Me"; +Debug.ShouldStop(524288); +if (true) return __ref; + BA.debugLineNum = 53;BA.debugLine="End Sub"; +Debug.ShouldStop(1048576); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _l_pcant_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("l_pCant_Click (c_detalleventa) ","c_detalleventa",9,__ref.getField(false, "ba"),__ref,920); +if (RapidSub.canDelegate("l_pcant_click")) { return __ref.runUserSub(false, "c_detalleventa","l_pcant_click", __ref);} + BA.debugLineNum = 920;BA.debugLine="Private Sub l_pCant_Click"; +Debug.ShouldStop(8388608); + BA.debugLineNum = 922;BA.debugLine="End Sub"; +Debug.ShouldStop(33554432); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _l_pcantc_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("l_pCantC_Click (c_detalleventa) ","c_detalleventa",9,__ref.getField(false, "ba"),__ref,1052); +if (RapidSub.canDelegate("l_pcantc_click")) { return __ref.runUserSub(false, "c_detalleventa","l_pcantc_click", __ref);} + BA.debugLineNum = 1052;BA.debugLine="Private Sub l_pCantC_Click"; +Debug.ShouldStop(134217728); + 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 _listview1_itemlongclick(RemoteObject __ref,RemoteObject _position,RemoteObject _value) throws Exception{ +try { + Debug.PushSubsStack("ListView1_ItemLongClick (c_detalleventa) ","c_detalleventa",9,__ref.getField(false, "ba"),__ref,329); +if (RapidSub.canDelegate("listview1_itemlongclick")) { return __ref.runUserSub(false, "c_detalleventa","listview1_itemlongclick", __ref, _position, _value);} +Debug.locals.put("Position", _position); +Debug.locals.put("Value", _value); + BA.debugLineNum = 329;BA.debugLine="Sub ListView1_ItemLongClick (Position As Int, Valu"; +Debug.ShouldStop(256); + BA.debugLineNum = 373;BA.debugLine="End Sub"; +Debug.ShouldStop(1048576); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _lv2_itemclick(RemoteObject __ref,RemoteObject _position,RemoteObject _value) throws Exception{ +try { + Debug.PushSubsStack("lv2_ItemClick (c_detalleventa) ","c_detalleventa",9,__ref.getField(false, "ba"),__ref,375); +if (RapidSub.canDelegate("lv2_itemclick")) { return __ref.runUserSub(false, "c_detalleventa","lv2_itemclick", __ref, _position, _value);} +Debug.locals.put("Position", _position); +Debug.locals.put("Value", _value); + BA.debugLineNum = 375;BA.debugLine="Sub lv2_ItemClick (Position As Int, Value As Objec"; +Debug.ShouldStop(4194304); + BA.debugLineNum = 436;BA.debugLine="End Sub"; +Debug.ShouldStop(524288); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _p_prods_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("p_prods_Click (c_detalleventa) ","c_detalleventa",9,__ref.getField(false, "ba"),__ref,924); +if (RapidSub.canDelegate("p_prods_click")) { return __ref.runUserSub(false, "c_detalleventa","p_prods_click", __ref);} + BA.debugLineNum = 924;BA.debugLine="Sub p_prods_Click"; +Debug.ShouldStop(134217728); + BA.debugLineNum = 925;BA.debugLine="Log(Sender.As(Panel).tag)"; +Debug.ShouldStop(268435456); +c_detalleventa.__c.runVoidMethod ("LogImpl","812713985",BA.ObjectToString((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.PanelWrapper"), c_detalleventa.__c.runMethod(false,"Sender",__ref.getField(false, "ba")))).runMethod(false,"getTag")),0); + BA.debugLineNum = 926;BA.debugLine="End Sub"; +Debug.ShouldStop(536870912); +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/reparto_izca/keymon/lat/c_foto.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_foto.java new file mode 100644 index 0000000..7178c3a --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_foto.java @@ -0,0 +1,43 @@ + +package reparto_izca.keymon.lat; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class c_foto { + public static RemoteObject myClass; + public c_foto() { + } + public static PCBA staticBA = new PCBA(null, c_foto.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 _frontcamera = RemoteObject.createImmutable(false); +public static RemoteObject _g = RemoteObject.declareNull("anywheresoftware.b4a.gps.GPS"); +public static RemoteObject _p_camara = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _camex = RemoteObject.declareNull("reparto_izca.keymon.lat.cameraexclass"); +public static RemoteObject _btntakepicture = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _cuenta = RemoteObject.createImmutable(""); +public static RemoteObject _lat_gps = RemoteObject.createImmutable(""); +public static RemoteObject _usuario = RemoteObject.createImmutable(""); +public static RemoteObject _motivo = RemoteObject.createImmutable(""); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static reparto_izca.keymon.lat.main _main = null; +public static reparto_izca.keymon.lat.appupdater _appupdater = null; +public static reparto_izca.keymon.lat.subs _subs = null; +public static reparto_izca.keymon.lat.foto _foto = null; +public static reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public static reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public static reparto_izca.keymon.lat.starter _starter = null; +public static reparto_izca.keymon.lat.tracker _tracker = null; +public static reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public static reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public static reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public static reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public static reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"btnTakePicture",_ref.getField(false, "_btntakepicture"),"c",_ref.getField(false, "_c"),"camEx",_ref.getField(false, "_camex"),"cuenta",_ref.getField(false, "_cuenta"),"DateUtils",_ref.getField(false, "_dateutils"),"frontCamera",_ref.getField(false, "_frontcamera"),"g",_ref.getField(false, "_g"),"lat_gps",_ref.getField(false, "_lat_gps"),"MOTIVO",_ref.getField(false, "_motivo"),"p_camara",_ref.getField(false, "_p_camara"),"Root",_ref.getField(false, "_root"),"USUARIO",_ref.getField(false, "_usuario"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_foto_subs_0.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_foto_subs_0.java new file mode 100644 index 0000000..ac57483 --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_foto_subs_0.java @@ -0,0 +1,603 @@ +package reparto_izca.keymon.lat; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class c_foto_subs_0 { + + +public static RemoteObject _activity_pause(RemoteObject __ref,RemoteObject _userclosed) throws Exception{ +try { + Debug.PushSubsStack("Activity_Pause (c_foto) ","c_foto",10,__ref.getField(false, "ba"),__ref,43); +if (RapidSub.canDelegate("activity_pause")) { return __ref.runUserSub(false, "c_foto","activity_pause", __ref, _userclosed);} +Debug.locals.put("UserClosed", _userclosed); + BA.debugLineNum = 43;BA.debugLine="Sub Activity_Pause (UserClosed As Boolean)"; +Debug.ShouldStop(1024); + 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 _b4xpage_appear(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_Appear (c_foto) ","c_foto",10,__ref.getField(false, "ba"),__ref,34); +if (RapidSub.canDelegate("b4xpage_appear")) { return __ref.runUserSub(false, "c_foto","b4xpage_appear", __ref);} + BA.debugLineNum = 34;BA.debugLine="Sub B4XPage_Appear"; +Debug.ShouldStop(2); + BA.debugLineNum = 35;BA.debugLine="InitializeCamera"; +Debug.ShouldStop(4); +__ref.runClassMethod (reparto_izca.keymon.lat.c_foto.class, "_initializecamera" /*RemoteObject*/ ); + 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 _b4xpage_closerequest(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_CloseRequest (c_foto) ","c_foto",10,__ref.getField(false, "ba"),__ref,154); +if (RapidSub.canDelegate("b4xpage_closerequest")) { return __ref.runUserSub(false, "c_foto","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(reparto_izca.keymon.lat.c_foto parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +reparto_izca.keymon.lat.c_foto parent; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_CloseRequest (c_foto) ","c_foto",10,__ref.getField(false, "ba"),__ref,154); +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 = 157;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +Debug.ShouldStop(268435456); +parent._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Cliente"))); + BA.debugLineNum = 159;BA.debugLine="Return False"; +Debug.ShouldStop(1073741824); +if (true) { +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(parent.__c.getField(true,"False")));return;}; + BA.debugLineNum = 160;BA.debugLine="End Sub"; +Debug.ShouldStop(-2147483648); +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_foto) ","c_foto",10,__ref.getField(false, "ba"),__ref,22); +if (RapidSub.canDelegate("b4xpage_created")) { return __ref.runUserSub(false, "c_foto","b4xpage_created", __ref, _root1);} +Debug.locals.put("Root1", _root1); + BA.debugLineNum = 22;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +Debug.ShouldStop(2097152); + BA.debugLineNum = 23;BA.debugLine="Root = Root1"; +Debug.ShouldStop(4194304); +__ref.setField ("_root" /*RemoteObject*/ ,_root1); + BA.debugLineNum = 25;BA.debugLine="g.Initialize(\"GPS\")"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_g" /*RemoteObject*/ ).runVoidMethod ("Initialize",(Object)(RemoteObject.createImmutable("GPS"))); + BA.debugLineNum = 26;BA.debugLine="Root.LoadLayout(\"foto\")"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_root" /*RemoteObject*/ ).runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("foto")),__ref.getField(false, "ba")); + BA.debugLineNum = 27;BA.debugLine="c=Starter.skmt.ExecQuery(\"select cuenta from cuen"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_foto._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select cuenta from cuentaa")))); + BA.debugLineNum = 28;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 29;BA.debugLine="cuenta = c.GetString(\"CUENTA\")"; +Debug.ShouldStop(268435456); +__ref.setField ("_cuenta" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA")))); + 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 _btneffect_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("btnEffect_Click (c_foto) ","c_foto",10,__ref.getField(false, "ba"),__ref,116); +if (RapidSub.canDelegate("btneffect_click")) { return __ref.runUserSub(false, "c_foto","btneffect_click", __ref);} +RemoteObject _effects = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _effect = RemoteObject.createImmutable(""); + BA.debugLineNum = 116;BA.debugLine="Sub btnEffect_Click"; +Debug.ShouldStop(524288); + BA.debugLineNum = 117;BA.debugLine="Dim effects As List = camEx.GetSupportedColorEffe"; +Debug.ShouldStop(1048576); +_effects = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +_effects = __ref.getField(false,"_camex" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.cameraexclass.class, "_getsupportedcoloreffects" /*RemoteObject*/ );Debug.locals.put("effects", _effects);Debug.locals.put("effects", _effects); + BA.debugLineNum = 118;BA.debugLine="If effects.IsInitialized = False Then"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean("=",_effects.runMethod(true,"IsInitialized"),c_foto.__c.getField(true,"False"))) { + BA.debugLineNum = 119;BA.debugLine="ToastMessageShow(\"Effects not supported.\", False"; +Debug.ShouldStop(4194304); +c_foto.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Effects not supported.")),(Object)(c_foto.__c.getField(true,"False"))); + BA.debugLineNum = 120;BA.debugLine="Return"; +Debug.ShouldStop(8388608); +if (true) return RemoteObject.createImmutable(""); + }; + BA.debugLineNum = 122;BA.debugLine="Dim effect As String = effects.Get((effects.Index"; +Debug.ShouldStop(33554432); +_effect = BA.ObjectToString(_effects.runMethod(false,"Get",(Object)(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {_effects.runMethod(true,"IndexOf",(Object)((__ref.getField(false,"_camex" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.cameraexclass.class, "_getcoloreffect" /*RemoteObject*/ )))),RemoteObject.createImmutable(1)}, "+",1, 1)),_effects.runMethod(true,"getSize")}, "%",0, 1))));Debug.locals.put("effect", _effect);Debug.locals.put("effect", _effect); + BA.debugLineNum = 123;BA.debugLine="camEx.SetColorEffect(effect)"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_camex" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.cameraexclass.class, "_setcoloreffect" /*RemoteObject*/ ,(Object)(_effect)); + BA.debugLineNum = 124;BA.debugLine="ToastMessageShow(effect, False)"; +Debug.ShouldStop(134217728); +c_foto.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence(_effect)),(Object)(c_foto.__c.getField(true,"False"))); + BA.debugLineNum = 125;BA.debugLine="camEx.CommitParameters"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_camex" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.cameraexclass.class, "_commitparameters" /*RemoteObject*/ ); + 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 _btnflash_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("btnFlash_Click (c_foto) ","c_foto",10,__ref.getField(false, "ba"),__ref,128); +if (RapidSub.canDelegate("btnflash_click")) { return __ref.runUserSub(false, "c_foto","btnflash_click", __ref);} +RemoteObject _f = null; +RemoteObject _flashmodes = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _flash = RemoteObject.createImmutable(""); + BA.debugLineNum = 128;BA.debugLine="Sub btnFlash_Click"; +Debug.ShouldStop(-2147483648); + BA.debugLineNum = 129;BA.debugLine="Dim f() As Float = camEx.GetFocusDistances"; +Debug.ShouldStop(1); +_f = __ref.getField(false,"_camex" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.cameraexclass.class, "_getfocusdistances" /*RemoteObject*/ );Debug.locals.put("f", _f);Debug.locals.put("f", _f); + BA.debugLineNum = 130;BA.debugLine="Log(f(0) & \", \" & f(1) & \", \" & f(2))"; +Debug.ShouldStop(2); +c_foto.__c.runVoidMethod ("LogImpl","813893634",RemoteObject.concat(_f.getArrayElement(true,BA.numberCast(int.class, 0)),RemoteObject.createImmutable(", "),_f.getArrayElement(true,BA.numberCast(int.class, 1)),RemoteObject.createImmutable(", "),_f.getArrayElement(true,BA.numberCast(int.class, 2))),0); + BA.debugLineNum = 131;BA.debugLine="Dim flashModes As List = camEx.GetSupportedFlashM"; +Debug.ShouldStop(4); +_flashmodes = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +_flashmodes = __ref.getField(false,"_camex" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.cameraexclass.class, "_getsupportedflashmodes" /*RemoteObject*/ );Debug.locals.put("flashModes", _flashmodes);Debug.locals.put("flashModes", _flashmodes); + BA.debugLineNum = 132;BA.debugLine="If flashModes.IsInitialized = False Then"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean("=",_flashmodes.runMethod(true,"IsInitialized"),c_foto.__c.getField(true,"False"))) { + BA.debugLineNum = 133;BA.debugLine="ToastMessageShow(\"Flash not supported.\", False)"; +Debug.ShouldStop(16); +c_foto.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Flash not supported.")),(Object)(c_foto.__c.getField(true,"False"))); + BA.debugLineNum = 134;BA.debugLine="Return"; +Debug.ShouldStop(32); +if (true) return RemoteObject.createImmutable(""); + }; + BA.debugLineNum = 136;BA.debugLine="Dim flash As String = flashModes.Get((flashModes."; +Debug.ShouldStop(128); +_flash = BA.ObjectToString(_flashmodes.runMethod(false,"Get",(Object)(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {_flashmodes.runMethod(true,"IndexOf",(Object)((__ref.getField(false,"_camex" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.cameraexclass.class, "_getflashmode" /*RemoteObject*/ )))),RemoteObject.createImmutable(1)}, "+",1, 1)),_flashmodes.runMethod(true,"getSize")}, "%",0, 1))));Debug.locals.put("flash", _flash);Debug.locals.put("flash", _flash); + BA.debugLineNum = 137;BA.debugLine="camEx.SetFlashMode(flash)"; +Debug.ShouldStop(256); +__ref.getField(false,"_camex" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.cameraexclass.class, "_setflashmode" /*RemoteObject*/ ,(Object)(_flash)); + BA.debugLineNum = 138;BA.debugLine="ToastMessageShow(flash, False)"; +Debug.ShouldStop(512); +c_foto.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence(_flash)),(Object)(c_foto.__c.getField(true,"False"))); + BA.debugLineNum = 139;BA.debugLine="camEx.CommitParameters"; +Debug.ShouldStop(1024); +__ref.getField(false,"_camex" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.cameraexclass.class, "_commitparameters" /*RemoteObject*/ ); + BA.debugLineNum = 140;BA.debugLine="End Sub"; +Debug.ShouldStop(2048); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _btnfocus_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("btnFocus_Click (c_foto) ","c_foto",10,__ref.getField(false, "ba"),__ref,72); +if (RapidSub.canDelegate("btnfocus_click")) { return __ref.runUserSub(false, "c_foto","btnfocus_click", __ref);} + BA.debugLineNum = 72;BA.debugLine="Sub btnFocus_Click"; +Debug.ShouldStop(128); + BA.debugLineNum = 73;BA.debugLine="camEx.FocusAndTakePicture"; +Debug.ShouldStop(256); +__ref.getField(false,"_camex" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.cameraexclass.class, "_focusandtakepicture" /*RemoteObject*/ ); + BA.debugLineNum = 74;BA.debugLine="End Sub"; +Debug.ShouldStop(512); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _btnpicturesize_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("btnPictureSize_Click (c_foto) ","c_foto",10,__ref.getField(false, "ba"),__ref,142); +if (RapidSub.canDelegate("btnpicturesize_click")) { return __ref.runUserSub(false, "c_foto","btnpicturesize_click", __ref);} +RemoteObject _picturesizes = null; +RemoteObject _current = RemoteObject.declareNull("reparto_izca.keymon.lat.cameraexclass._camerasize"); +int _i = 0; +RemoteObject _ps = RemoteObject.declareNull("reparto_izca.keymon.lat.cameraexclass._camerasize"); + BA.debugLineNum = 142;BA.debugLine="Sub btnPictureSize_Click"; +Debug.ShouldStop(8192); + BA.debugLineNum = 143;BA.debugLine="Dim pictureSizes() As CameraSize = camEx.GetSuppo"; +Debug.ShouldStop(16384); +_picturesizes = __ref.getField(false,"_camex" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.cameraexclass.class, "_getsupportedpicturessizes" /*RemoteObject*/ );Debug.locals.put("pictureSizes", _picturesizes);Debug.locals.put("pictureSizes", _picturesizes); + BA.debugLineNum = 144;BA.debugLine="Dim current As CameraSize = camEx.GetPictureSize"; +Debug.ShouldStop(32768); +_current = __ref.getField(false,"_camex" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.cameraexclass.class, "_getpicturesize" /*RemoteObject*/ );Debug.locals.put("current", _current);Debug.locals.put("current", _current); + BA.debugLineNum = 145;BA.debugLine="For i = 0 To pictureSizes.Length - 1"; +Debug.ShouldStop(65536); +{ +final int step3 = 1; +final int limit3 = RemoteObject.solve(new RemoteObject[] {_picturesizes.getField(true,"length" /*RemoteObject*/ ),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 = 146;BA.debugLine="If pictureSizes(i).Width = current.Width And pic"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean("=",_picturesizes.getArrayElement(false, /*RemoteObject*/ BA.numberCast(int.class, _i)).getField(true,"Width" /*RemoteObject*/ ),BA.numberCast(double.class, _current.getField(true,"Width" /*RemoteObject*/ ))) && RemoteObject.solveBoolean("=",_picturesizes.getArrayElement(false, /*RemoteObject*/ BA.numberCast(int.class, _i)).getField(true,"Height" /*RemoteObject*/ ),BA.numberCast(double.class, _current.getField(true,"Height" /*RemoteObject*/ )))) { +if (true) break;}; + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 148;BA.debugLine="Dim ps As CameraSize = pictureSizes((i + 1) Mod p"; +Debug.ShouldStop(524288); +_ps = _picturesizes.getArrayElement(false, /*RemoteObject*/ RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_i),RemoteObject.createImmutable(1)}, "+",1, 1)),_picturesizes.getField(true,"length" /*RemoteObject*/ )}, "%",0, 1));Debug.locals.put("ps", _ps);Debug.locals.put("ps", _ps); + BA.debugLineNum = 149;BA.debugLine="camEx.SetPictureSize(ps.Width, ps.Height)"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_camex" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.cameraexclass.class, "_setpicturesize" /*RemoteObject*/ ,(Object)(_ps.getField(true,"Width" /*RemoteObject*/ )),(Object)(_ps.getField(true,"Height" /*RemoteObject*/ ))); + BA.debugLineNum = 150;BA.debugLine="ToastMessageShow(ps.Width & \"x\" & ps.Height & i,"; +Debug.ShouldStop(2097152); +c_foto.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(_ps.getField(true,"Width" /*RemoteObject*/ ),RemoteObject.createImmutable("x"),_ps.getField(true,"Height" /*RemoteObject*/ ),RemoteObject.createImmutable(_i)))),(Object)(c_foto.__c.getField(true,"False"))); + BA.debugLineNum = 151;BA.debugLine="camEx.CommitParameters"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_camex" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.cameraexclass.class, "_commitparameters" /*RemoteObject*/ ); + BA.debugLineNum = 152;BA.debugLine="End Sub"; +Debug.ShouldStop(8388608); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _btntakepicture_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("btnTakePicture_Click (c_foto) ","c_foto",10,__ref.getField(false, "ba"),__ref,62); +if (RapidSub.canDelegate("btntakepicture_click")) { return __ref.runUserSub(false, "c_foto","btntakepicture_click", __ref);} +RemoteObject _ps = RemoteObject.declareNull("reparto_izca.keymon.lat.cameraexclass._camerasize"); + BA.debugLineNum = 62;BA.debugLine="Sub btnTakePicture_Click"; +Debug.ShouldStop(536870912); + BA.debugLineNum = 63;BA.debugLine="Dim ps As CameraSize"; +Debug.ShouldStop(1073741824); +_ps = RemoteObject.createNew ("reparto_izca.keymon.lat.cameraexclass._camerasize");Debug.locals.put("ps", _ps); + BA.debugLineNum = 64;BA.debugLine="ps.Width =640"; +Debug.ShouldStop(-2147483648); +_ps.setField ("Width" /*RemoteObject*/ ,BA.numberCast(int.class, 640)); + BA.debugLineNum = 65;BA.debugLine="ps.Height =480"; +Debug.ShouldStop(1); +_ps.setField ("Height" /*RemoteObject*/ ,BA.numberCast(int.class, 480)); + BA.debugLineNum = 66;BA.debugLine="camEx.SetPictureSize(ps.Width, ps.Height)"; +Debug.ShouldStop(2); +__ref.getField(false,"_camex" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.cameraexclass.class, "_setpicturesize" /*RemoteObject*/ ,(Object)(_ps.getField(true,"Width" /*RemoteObject*/ )),(Object)(_ps.getField(true,"Height" /*RemoteObject*/ ))); + BA.debugLineNum = 68;BA.debugLine="camEx.CommitParameters"; +Debug.ShouldStop(8); +__ref.getField(false,"_camex" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.cameraexclass.class, "_commitparameters" /*RemoteObject*/ ); + BA.debugLineNum = 69;BA.debugLine="camEx.TakePicture"; +Debug.ShouldStop(16); +__ref.getField(false,"_camex" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.cameraexclass.class, "_takepicture" /*RemoteObject*/ ); + 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 _camera1_picturetaken(RemoteObject __ref,RemoteObject _data) throws Exception{ +try { + Debug.PushSubsStack("Camera1_PictureTaken (c_foto) ","c_foto",10,__ref.getField(false, "ba"),__ref,76); +if (RapidSub.canDelegate("camera1_picturetaken")) { return __ref.runUserSub(false, "c_foto","camera1_picturetaken", __ref, _data);} +RemoteObject _filename = RemoteObject.createImmutable(""); +RemoteObject _dir = RemoteObject.createImmutable(""); +RemoteObject _sdate = RemoteObject.createImmutable(""); +RemoteObject _stime = RemoteObject.createImmutable(""); +int _i = 0; +Debug.locals.put("Data", _data); + BA.debugLineNum = 76;BA.debugLine="Sub Camera1_PictureTaken (Data() As Byte)"; +Debug.ShouldStop(2048); + BA.debugLineNum = 77;BA.debugLine="Dim filename As String = \"1.jpg\""; +Debug.ShouldStop(4096); +_filename = BA.ObjectToString("1.jpg");Debug.locals.put("filename", _filename);Debug.locals.put("filename", _filename); + BA.debugLineNum = 78;BA.debugLine="Dim dir As String = File.DirInternal"; +Debug.ShouldStop(8192); +_dir = c_foto.__c.getField(false,"File").runMethod(true,"getDirInternal");Debug.locals.put("dir", _dir);Debug.locals.put("dir", _dir); + BA.debugLineNum = 80;BA.debugLine="camEx.SavePictureToFile(Data, dir, filename)"; +Debug.ShouldStop(32768); +__ref.getField(false,"_camex" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.cameraexclass.class, "_savepicturetofile" /*RemoteObject*/ ,(Object)(_data),(Object)(_dir),(Object)(_filename)); + BA.debugLineNum = 81;BA.debugLine="camEx.StartPreview 'restart preview"; +Debug.ShouldStop(65536); +__ref.getField(false,"_camex" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.cameraexclass.class, "_startpreview" /*RemoteObject*/ ); + BA.debugLineNum = 83;BA.debugLine="Dim sDate,sTime As String"; +Debug.ShouldStop(262144); +_sdate = RemoteObject.createImmutable("");Debug.locals.put("sDate", _sdate); +_stime = RemoteObject.createImmutable("");Debug.locals.put("sTime", _stime); + BA.debugLineNum = 84;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(524288); +c_foto.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 85;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(1048576); +_sdate = c_foto.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(c_foto.__c.getField(false,"DateTime").runMethod(true,"getNow")));Debug.locals.put("sDate", _sdate); + BA.debugLineNum = 86;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(2097152); +_stime = c_foto.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(c_foto.__c.getField(false,"DateTime").runMethod(true,"getNow")));Debug.locals.put("sTime", _stime); + BA.debugLineNum = 87;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CUENTA from cuen"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_foto._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CUENTA from cuentaa")))); + BA.debugLineNum = 88;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 89;BA.debugLine="cuenta = c.GetString(\"CUENTA\")"; +Debug.ShouldStop(16777216); +__ref.setField ("_cuenta" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA")))); + BA.debugLineNum = 90;BA.debugLine="c=Starter.skmt.ExecQuery(\"select USUARIO from usu"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_foto._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select USUARIO from usuarioa")))); + BA.debugLineNum = 91;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 92;BA.debugLine="USUARIO = c.GetString(\"USUARIO\")"; +Debug.ShouldStop(134217728); +__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO")))); + BA.debugLineNum = 93;BA.debugLine="c.Close"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 94;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM NOVENTA WH"; +Debug.ShouldStop(536870912); +c_foto._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM NOVENTA WHERE NV_CLIENTE IN (select cuenta from cuentaa)"))); + BA.debugLineNum = 95;BA.debugLine="c=Starter.skmt.ExecQuery(\"select HVD_CLIENTE,HVD_"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_foto._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) order by HVD_PRONOMBRE asc")))); + BA.debugLineNum = 96;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 = 97;BA.debugLine="For i=0 To c.RowCount -1"; +Debug.ShouldStop(1); +{ +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 = 98;BA.debugLine="c.Position=i"; +Debug.ShouldStop(2); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 99;BA.debugLine="Starter.skmt.ExecNonQuery2(\"insert into reparto"; +Debug.ShouldStop(4); +c_foto._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("insert into reparto(REP_CLIENTE, REP_PRONOMBRE, REP_CANT, REP_COSTO_TOT) select HVD_CLIENTE, HVD_PRONOMBRE, HVD_CANT, HVD_COSTO_TOT from hist_ventas where HVD_PRONOMBRE = ? and HVD_cliente in (Select CUENTA from cuentaa) ")),(Object)(c_foto.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PRONOMBRE")))}))))); + BA.debugLineNum = 100;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update cat_gunaprod"; +Debug.ShouldStop(8); +c_foto._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen + ? where cat_gp_nombre = ?")),(Object)(c_foto.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PRONOMBRE"))))}))))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 104;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO NOVENTA"; +Debug.ShouldStop(128); +c_foto._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO NOVENTA (NV_CLIENTE,NV_FECHA,NV_USER,NV_MOTIVO,NV_COMM,NV_LAT,NV_LON, NV_FOTO) VALUES(?,?,?,?,?,?,?,?) ")),(Object)(c_foto.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {8},new Object[] {(__ref.getField(true,"_cuenta" /*RemoteObject*/ )),(RemoteObject.concat(_sdate,_stime)),(__ref.getField(true,"_usuario" /*RemoteObject*/ )),RemoteObject.createImmutable(("CERRADO")),(c_foto._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_noventa" /*RemoteObject*/ ).getField(true,"_comentario" /*RemoteObject*/ )),(c_foto._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ )),(c_foto._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ )),(_data)}))))); + BA.debugLineNum = 105;BA.debugLine="Starter.skmt.ExecNonQuery($\"UPDATE kmt_info set g"; +Debug.ShouldStop(256); +c_foto._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("UPDATE kmt_info set gestion = 3, HORAENT = '"),c_foto.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((RemoteObject.concat(_sdate,RemoteObject.createImmutable(" "),_stime)))),RemoteObject.createImmutable("' where CAT_CL_CODIGO In (select cuenta from cuentaa)"))))); + BA.debugLineNum = 106;BA.debugLine="Starter.skmt.ExecNonQuery(\"update HIST_VENTAS SET"; +Debug.ShouldStop(512); +c_foto._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("update HIST_VENTAS SET HVD_RECHAZO = 1 WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))); + BA.debugLineNum = 107;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +Debug.ShouldStop(1024); +c_foto._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Cliente"))); + 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 _camera1_ready(RemoteObject __ref,RemoteObject _success) throws Exception{ +try { + Debug.PushSubsStack("Camera1_Ready (c_foto) ","c_foto",10,__ref.getField(false, "ba"),__ref,51); +if (RapidSub.canDelegate("camera1_ready")) { return __ref.runUserSub(false, "c_foto","camera1_ready", __ref, _success);} +Debug.locals.put("Success", _success); + BA.debugLineNum = 51;BA.debugLine="Sub Camera1_Ready (Success As Boolean)"; +Debug.ShouldStop(262144); + BA.debugLineNum = 52;BA.debugLine="If Success Then"; +Debug.ShouldStop(524288); +if (_success.get().booleanValue()) { + BA.debugLineNum = 53;BA.debugLine="camEx.SetJpegQuality(90)"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_camex" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.cameraexclass.class, "_setjpegquality" /*RemoteObject*/ ,(Object)(BA.numberCast(int.class, 90))); + BA.debugLineNum = 54;BA.debugLine="camEx.CommitParameters"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_camex" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.cameraexclass.class, "_commitparameters" /*RemoteObject*/ ); + BA.debugLineNum = 55;BA.debugLine="camEx.StartPreview"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_camex" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.cameraexclass.class, "_startpreview" /*RemoteObject*/ ); + BA.debugLineNum = 56;BA.debugLine="Log(camEx.GetPreviewSize)"; +Debug.ShouldStop(8388608); +c_foto.__c.runVoidMethod ("LogImpl","813500421",BA.ObjectToString(__ref.getField(false,"_camex" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.cameraexclass.class, "_getpreviewsize" /*RemoteObject*/ )),0); + }else { + BA.debugLineNum = 58;BA.debugLine="ToastMessageShow(\"Cannot open camera.\", True)"; +Debug.ShouldStop(33554432); +c_foto.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Cannot open camera.")),(Object)(c_foto.__c.getField(true,"True"))); + }; + 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 _changecamera_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("ChangeCamera_Click (c_foto) ","c_foto",10,__ref.getField(false, "ba"),__ref,110); +if (RapidSub.canDelegate("changecamera_click")) { return __ref.runUserSub(false, "c_foto","changecamera_click", __ref);} + BA.debugLineNum = 110;BA.debugLine="Sub ChangeCamera_Click"; +Debug.ShouldStop(8192); + BA.debugLineNum = 111;BA.debugLine="camEx.Release"; +Debug.ShouldStop(16384); +__ref.getField(false,"_camex" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.cameraexclass.class, "_release" /*RemoteObject*/ ); + BA.debugLineNum = 112;BA.debugLine="frontCamera = Not(frontCamera)"; +Debug.ShouldStop(32768); +__ref.setField ("_frontcamera" /*RemoteObject*/ ,c_foto.__c.runMethod(true,"Not",(Object)(__ref.getField(true,"_frontcamera" /*RemoteObject*/ )))); + BA.debugLineNum = 113;BA.debugLine="InitializeCamera"; +Debug.ShouldStop(65536); +__ref.runClassMethod (reparto_izca.keymon.lat.c_foto.class, "_initializecamera" /*RemoteObject*/ ); + 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 _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_foto._root = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_root",c_foto._root); + //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore"; +c_foto._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",c_foto._xui); + //BA.debugLineNum = 4;BA.debugLine="Private frontCamera As Boolean = False"; +c_foto._frontcamera = c_foto.__c.getField(true,"False");__ref.setField("_frontcamera",c_foto._frontcamera); + //BA.debugLineNum = 5;BA.debugLine="Dim g As GPS"; +c_foto._g = RemoteObject.createNew ("anywheresoftware.b4a.gps.GPS");__ref.setField("_g",c_foto._g); + //BA.debugLineNum = 6;BA.debugLine="Private p_camara As Panel"; +c_foto._p_camara = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_camara",c_foto._p_camara); + //BA.debugLineNum = 7;BA.debugLine="Private camEx As CameraExClass"; +c_foto._camex = RemoteObject.createNew ("reparto_izca.keymon.lat.cameraexclass");__ref.setField("_camex",c_foto._camex); + //BA.debugLineNum = 8;BA.debugLine="Dim btnTakePicture As Button"; +c_foto._btntakepicture = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_btntakepicture",c_foto._btntakepicture); + //BA.debugLineNum = 9;BA.debugLine="Dim c As Cursor"; +c_foto._c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_c",c_foto._c); + //BA.debugLineNum = 10;BA.debugLine="Dim cuenta As String"; +c_foto._cuenta = RemoteObject.createImmutable("");__ref.setField("_cuenta",c_foto._cuenta); + //BA.debugLineNum = 11;BA.debugLine="Dim lat_gps As String"; +c_foto._lat_gps = RemoteObject.createImmutable("");__ref.setField("_lat_gps",c_foto._lat_gps); + //BA.debugLineNum = 12;BA.debugLine="Dim USUARIO As String"; +c_foto._usuario = RemoteObject.createImmutable("");__ref.setField("_usuario",c_foto._usuario); + //BA.debugLineNum = 13;BA.debugLine="Dim MOTIVO As String"; +c_foto._motivo = RemoteObject.createImmutable("");__ref.setField("_motivo",c_foto._motivo); + //BA.debugLineNum = 14;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _gps_locationchanged(RemoteObject __ref,RemoteObject _location1) throws Exception{ +try { + Debug.PushSubsStack("GPS_LocationChanged (c_foto) ","c_foto",10,__ref.getField(false, "ba"),__ref,47); +if (RapidSub.canDelegate("gps_locationchanged")) { return __ref.runUserSub(false, "c_foto","gps_locationchanged", __ref, _location1);} +Debug.locals.put("Location1", _location1); + BA.debugLineNum = 47;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; +Debug.ShouldStop(16384); + 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 _initialize(RemoteObject __ref,RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("Initialize (c_foto) ","c_foto",10,__ref.getField(false, "ba"),__ref,17); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "c_foto","initialize", __ref, _ba);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); + BA.debugLineNum = 17;BA.debugLine="Public Sub Initialize As Object"; +Debug.ShouldStop(65536); + BA.debugLineNum = 18;BA.debugLine="Return Me"; +Debug.ShouldStop(131072); +if (true) return __ref; + BA.debugLineNum = 19;BA.debugLine="End Sub"; +Debug.ShouldStop(262144); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _initializecamera(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("InitializeCamera (c_foto) ","c_foto",10,__ref.getField(false, "ba"),__ref,38); +if (RapidSub.canDelegate("initializecamera")) { return __ref.runUserSub(false, "c_foto","initializecamera", __ref);} + BA.debugLineNum = 38;BA.debugLine="Private Sub InitializeCamera"; +Debug.ShouldStop(32); + BA.debugLineNum = 39;BA.debugLine="camEx.Initialize(p_camara, frontCamera, Me, \"Came"; +Debug.ShouldStop(64); +__ref.getField(false,"_camex" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.cameraexclass.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_p_camara" /*RemoteObject*/ )),(Object)(__ref.getField(true,"_frontcamera" /*RemoteObject*/ )),(Object)(__ref),(Object)(RemoteObject.createImmutable("Camera1"))); + BA.debugLineNum = 40;BA.debugLine="frontCamera = camEx.Front"; +Debug.ShouldStop(128); +__ref.setField ("_frontcamera" /*RemoteObject*/ ,__ref.getField(false,"_camex" /*RemoteObject*/ ).getField(true,"_front" /*RemoteObject*/ )); + BA.debugLineNum = 41;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/reparto_izca/keymon/lat/c_historico.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_historico.java new file mode 100644 index 0000000..3514dde --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_historico.java @@ -0,0 +1,68 @@ + +package reparto_izca.keymon.lat; + +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 _b_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 _b_borra = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _existe = RemoteObject.createImmutable(""); +public static RemoteObject _result = RemoteObject.createImmutable(""); +public static RemoteObject _cuantos = RemoteObject.createImmutable(""); +public static RemoteObject _nombre_prod = RemoteObject.createImmutable(""); +public static RemoteObject _cuantos_pedido = RemoteObject.createImmutable(""); +public static RemoteObject _titulo = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _p1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _lv2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.ListViewWrapper"); +public static RemoteObject _p_principal = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _clv_pedido = RemoteObject.declareNull("b4a.example3.customlistview"); +public static RemoteObject _p_prods = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _l_prodx = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +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 _bmp = RemoteObject.declareNull("anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper"); +public static RemoteObject _etcanthasfocus = RemoteObject.createImmutable(false); +public static RemoteObject _totalprods = RemoteObject.createImmutable(0); +public static RemoteObject _totalcompra = RemoteObject.createImmutable(0); +public static RemoteObject _prodsmap = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +public static RemoteObject _reconstruirpedido = RemoteObject.createImmutable(false); +public static RemoteObject _promoaborrar = RemoteObject.createImmutable(""); +public static RemoteObject _b_guardar = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _b_prodmas = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _b_prodmenos = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static reparto_izca.keymon.lat.main _main = null; +public static reparto_izca.keymon.lat.appupdater _appupdater = null; +public static reparto_izca.keymon.lat.subs _subs = null; +public static reparto_izca.keymon.lat.foto _foto = null; +public static reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public static reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public static reparto_izca.keymon.lat.starter _starter = null; +public static reparto_izca.keymon.lat.tracker _tracker = null; +public static reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public static reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public static reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public static reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public static reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"b_borra",_ref.getField(false, "_b_borra"),"b_guardar",_ref.getField(false, "_b_guardar"),"b_prodMas",_ref.getField(false, "_b_prodmas"),"b_prodMenos",_ref.getField(false, "_b_prodmenos"),"b_regresar",_ref.getField(false, "_b_regresar"),"bmp",_ref.getField(false, "_bmp"),"c",_ref.getField(false, "_c"),"clie_id",_ref.getField(false, "_clie_id"),"clv_pedido",_ref.getField(false, "_clv_pedido"),"cuantos",_ref.getField(false, "_cuantos"),"cuantos_pedido",_ref.getField(false, "_cuantos_pedido"),"DateUtils",_ref.getField(false, "_dateutils"),"et_pCant",_ref.getField(false, "_et_pcant"),"etCantHasFocus",_ref.getField(false, "_etcanthasfocus"),"Existe",_ref.getField(false, "_existe"),"g",_ref.getField(false, "_g"),"L_CANT",_ref.getField(false, "_l_cant"),"l_pCant",_ref.getField(false, "_l_pcant"),"l_prodX",_ref.getField(false, "_l_prodx"),"L_TOTAL",_ref.getField(false, "_l_total"),"ListView1",_ref.getField(false, "_listview1"),"lv2",_ref.getField(false, "_lv2"),"nombre_prod",_ref.getField(false, "_nombre_prod"),"p_principal",_ref.getField(false, "_p_principal"),"p_prods",_ref.getField(false, "_p_prods"),"P1",_ref.getField(false, "_p1"),"prodsMap",_ref.getField(false, "_prodsmap"),"promoABorrar",_ref.getField(false, "_promoaborrar"),"reconstruirPedido",_ref.getField(false, "_reconstruirpedido"),"result",_ref.getField(false, "_result"),"Root",_ref.getField(false, "_root"),"sDate",_ref.getField(false, "_sdate"),"sTime",_ref.getField(false, "_stime"),"Titulo",_ref.getField(false, "_titulo"),"totalCompra",_ref.getField(false, "_totalcompra"),"totalProds",_ref.getField(false, "_totalprods"),"usuario",_ref.getField(false, "_usuario"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_historico_subs_0.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_historico_subs_0.java new file mode 100644 index 0000000..a768572 --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_historico_subs_0.java @@ -0,0 +1,1301 @@ +package reparto_izca.keymon.lat; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class c_historico_subs_0 { + + +public static RemoteObject _b_guardar_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_guardar_Click (c_historico) ","c_historico",13,__ref.getField(false, "ba"),__ref,592); +if (RapidSub.canDelegate("b_guardar_click")) { return __ref.runUserSub(false, "c_historico","b_guardar_click", __ref);} + BA.debugLineNum = 592;BA.debugLine="Private Sub b_guardar_Click"; +Debug.ShouldStop(32768); + BA.debugLineNum = 594;BA.debugLine="End Sub"; +Debug.ShouldStop(131072); +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_historico) ","c_historico",13,__ref.getField(false, "ba"),__ref,383); +if (RapidSub.canDelegate("b_prodmas_click")) { return __ref.runUserSub(false, "c_historico","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 _maxprods = RemoteObject.createImmutable(""); +RemoteObject _cym = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); + BA.debugLineNum = 383;BA.debugLine="Sub b_prodMas_Click"; +Debug.ShouldStop(1073741824); + BA.debugLineNum = 384;BA.debugLine="etCantHasFocus = False"; +Debug.ShouldStop(-2147483648); +__ref.setField ("_etcanthasfocus" /*RemoteObject*/ ,c_historico.__c.getField(true,"False")); + BA.debugLineNum = 386;BA.debugLine="LogColor(\"b_prodMas_Click\", Colors.Magenta)"; +Debug.ShouldStop(2); +c_historico.__c.runVoidMethod ("LogImpl","822216707",BA.ObjectToString("b_prodMas_Click"),c_historico.__c.getField(false,"Colors").getField(true,"Magenta")); + BA.debugLineNum = 387;BA.debugLine="Dim index As Int = clv_pedido.GetItemFromView(Sen"; +Debug.ShouldStop(4); +_index = __ref.getField(false,"_clv_pedido" /*RemoteObject*/ ).runMethod(true,"_getitemfromview",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), c_historico.__c.runMethod(false,"Sender",__ref.getField(false, "ba"))));Debug.locals.put("index", _index);Debug.locals.put("index", _index); + BA.debugLineNum = 388;BA.debugLine="Dim pnl0 As B4XView = clv_pedido.GetPanel(index)"; +Debug.ShouldStop(8); +_pnl0 = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_pnl0 = __ref.getField(false,"_clv_pedido" /*RemoteObject*/ ).runMethod(false,"_getpanel",(Object)(_index));Debug.locals.put("pnl0", _pnl0);Debug.locals.put("pnl0", _pnl0); + BA.debugLineNum = 389;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 = 390;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(3)"; +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, 3)));Debug.locals.put("laCant", _lacant);Debug.locals.put("laCant", _lacant); + BA.debugLineNum = 394;BA.debugLine="Dim esteTag As List = Regex.Split(\"\\|\", laCant.Ta"; +Debug.ShouldStop(512); +_estetag = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +_estetag = c_historico.__c.runMethod(false, "ArrayToList", (Object)(c_historico.__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 = 395;BA.debugLine="Log(\"LC_TEXT:\"&laCant.Text&\"|LC_TAG:\"&laCant.Tag&"; +Debug.ShouldStop(1024); +c_historico.__c.runVoidMethod ("LogImpl","822216716",RemoteObject.concat(RemoteObject.createImmutable("LC_TEXT:"),_lacant.runMethod(true,"getText"),RemoteObject.createImmutable("|LC_TAG:"),_lacant.runMethod(false,"getTag"),RemoteObject.createImmutable("|ET:"),_estetag),0); + BA.debugLineNum = 396;BA.debugLine="If laCant.Text = \"\" Then laCant.Text = 0"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean("=",_lacant.runMethod(true,"getText"),BA.ObjectToString(""))) { +_lacant.runMethod(true,"setText",BA.ObjectToCharSequence(0));}; + BA.debugLineNum = 398;BA.debugLine="Private maxProds as string = esteTag.Get(1) + est"; +Debug.ShouldStop(8192); +_maxprods = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 1)))),BA.numberCast(double.class, _estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 4))))}, "+",1, 0));Debug.locals.put("maxProds", _maxprods);Debug.locals.put("maxProds", _maxprods); + BA.debugLineNum = 400;BA.debugLine="LogColor($\"++++++++++++++++++++++++++ ${esteTag"; +Debug.ShouldStop(32768); +c_historico.__c.runVoidMethod ("LogImpl","822216721",(RemoteObject.concat(RemoteObject.createImmutable("++++++++++++++++++++++++++ "),c_historico.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_estetag.getObject()))),RemoteObject.createImmutable(""))),c_historico.__c.getField(false,"Colors").getField(true,"Green")); + BA.debugLineNum = 402;BA.debugLine="If laCant.Text + 1 <= maxProds Then"; +Debug.ShouldStop(131072); +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, _maxprods))) { + BA.debugLineNum = 403;BA.debugLine="Log($\"NuevaCant = ${laCant.Text + 1}\"$)"; +Debug.ShouldStop(262144); +c_historico.__c.runVoidMethod ("LogImpl","822216724",(RemoteObject.concat(RemoteObject.createImmutable("NuevaCant = "),c_historico.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _lacant.runMethod(true,"getText")),RemoteObject.createImmutable(1)}, "+",1, 0)))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 404;BA.debugLine="laCant.Text = $\"$1.0{laCant.Text + 1}\"$"; +Debug.ShouldStop(524288); +_lacant.runMethod(true,"setText",BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable(""),c_historico.__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 = 405;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update cat_gunaprod"; +Debug.ShouldStop(1048576); +c_historico._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen - 1 where cat_gp_id = ?")),(Object)(c_historico.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2)))}))))); + BA.debugLineNum = 406;BA.debugLine="Subs.prodVenta(esteTag.Get(5), esteTag.Get(2))"; +Debug.ShouldStop(2097152); +c_historico._subs.runVoidMethod ("_prodventa" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 5))))),(Object)(BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2)))))); + BA.debugLineNum = 407;BA.debugLine="Private cym As Map = Subs.traemosCantYMonto(clv_"; +Debug.ShouldStop(4194304); +_cym = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_cym = c_historico._subs.runMethod(false,"_traemoscantymonto" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_clv_pedido" /*RemoteObject*/ )));Debug.locals.put("cym", _cym);Debug.locals.put("cym", _cym); + BA.debugLineNum = 408;BA.debugLine="L_CANT.Text = cym.Get(\"cantidad\")"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_l_cant" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_cym.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("cantidad")))))); + BA.debugLineNum = 409;BA.debugLine="L_TOTAL.Text = Round2(cym.Get(\"monto\"), 2)"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_historico.__c.runMethod(true,"Round2",(Object)(BA.numberCast(double.class, _cym.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("monto")))))),(Object)(BA.numberCast(int.class, 2))))); + }; + BA.debugLineNum = 426;BA.debugLine="End Sub"; +Debug.ShouldStop(512); +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_historico) ","c_historico",13,__ref.getField(false, "ba"),__ref,340); +if (RapidSub.canDelegate("b_prodmenos_click")) { return __ref.runUserSub(false, "c_historico","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 _estetag = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _preciou = RemoteObject.createImmutable(0f); +RemoteObject _cym = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); + BA.debugLineNum = 340;BA.debugLine="Sub b_prodMenos_Click"; +Debug.ShouldStop(524288); + BA.debugLineNum = 341;BA.debugLine="etCantHasFocus = False"; +Debug.ShouldStop(1048576); +__ref.setField ("_etcanthasfocus" /*RemoteObject*/ ,c_historico.__c.getField(true,"False")); + BA.debugLineNum = 342;BA.debugLine="Log(\"etCantHasFocus=\" & etCantHasFocus)"; +Debug.ShouldStop(2097152); +c_historico.__c.runVoidMethod ("LogImpl","822151170",RemoteObject.concat(RemoteObject.createImmutable("etCantHasFocus="),__ref.getField(true,"_etcanthasfocus" /*RemoteObject*/ )),0); + BA.debugLineNum = 343;BA.debugLine="LogColor(\"b_prodMenos_Click\", Colors.Magenta)"; +Debug.ShouldStop(4194304); +c_historico.__c.runVoidMethod ("LogImpl","822151171",BA.ObjectToString("b_prodMenos_Click"),c_historico.__c.getField(false,"Colors").getField(true,"Magenta")); + BA.debugLineNum = 344;BA.debugLine="Dim index As Int = clv_pedido.GetItemFromView(Sen"; +Debug.ShouldStop(8388608); +_index = __ref.getField(false,"_clv_pedido" /*RemoteObject*/ ).runMethod(true,"_getitemfromview",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), c_historico.__c.runMethod(false,"Sender",__ref.getField(false, "ba"))));Debug.locals.put("index", _index);Debug.locals.put("index", _index); + BA.debugLineNum = 345;BA.debugLine="Dim pnl0 As B4XView = clv_pedido.GetPanel(index)"; +Debug.ShouldStop(16777216); +_pnl0 = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_pnl0 = __ref.getField(false,"_clv_pedido" /*RemoteObject*/ ).runMethod(false,"_getpanel",(Object)(_index));Debug.locals.put("pnl0", _pnl0);Debug.locals.put("pnl0", _pnl0); + BA.debugLineNum = 346;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; +Debug.ShouldStop(33554432); +_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 = 347;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(3)"; +Debug.ShouldStop(67108864); +_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, 3)));Debug.locals.put("laCant", _lacant);Debug.locals.put("laCant", _lacant); + BA.debugLineNum = 349;BA.debugLine="Dim esteTag As List = Regex.Split(\"\\|\", laCant.Ta"; +Debug.ShouldStop(268435456); +_estetag = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +_estetag = c_historico.__c.runMethod(false, "ArrayToList", (Object)(c_historico.__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 = 350;BA.debugLine="Log(\"LC_TEXT:\"&laCant.Text&\"|PROMO:\"&esteTag.Get("; +Debug.ShouldStop(536870912); +c_historico.__c.runVoidMethod ("LogImpl","822151178",RemoteObject.concat(RemoteObject.createImmutable("LC_TEXT:"),_lacant.runMethod(true,"getText"),RemoteObject.createImmutable("|PROMO:"),_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 3))),RemoteObject.createImmutable("|LC_TAG:"),_lacant.runMethod(false,"getTag"),RemoteObject.createImmutable("|ET:"),_estetag),0); + BA.debugLineNum = 351;BA.debugLine="If esteTag.Get(3) <> \"1\" Then 'Si es PROMO entonc"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean("!",_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 3))),RemoteObject.createImmutable(("1")))) { + BA.debugLineNum = 352;BA.debugLine="Log(\"ES PROMO\")"; +Debug.ShouldStop(-2147483648); +c_historico.__c.runVoidMethod ("LogImpl","822151180",RemoteObject.createImmutable("ES PROMO"),0); + BA.debugLineNum = 353;BA.debugLine="result = Msgbox2(\"Si se modifica una promoción,"; +Debug.ShouldStop(1); +__ref.setField ("_result" /*RemoteObject*/ ,BA.NumberToString(c_historico.__c.runMethodAndSync(true,"Msgbox2",(Object)(BA.ObjectToCharSequence("Si se modifica una promoción, la promoción se rompe y solo quedarán los productos sueltos, ¿seguro que desea continuar?")),(Object)(BA.ObjectToCharSequence("Modificar Promoción")),(Object)(BA.ObjectToString("Si")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("No")),(Object)((c_historico.__c.runMethod(false,"LoadBitmap",(Object)(c_historico.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(RemoteObject.createImmutable("alert2.png"))).getObject())),__ref.getField(false, "ba")))); + BA.debugLineNum = 354;BA.debugLine="If result = DialogResponse.POSITIVE Then 'Quitam"; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_result" /*RemoteObject*/ ),BA.NumberToString(c_historico.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { + BA.debugLineNum = 355;BA.debugLine="prodsMap.Remove(esteTag.Get(3))"; +Debug.ShouldStop(4); +__ref.getField(false,"_prodsmap" /*RemoteObject*/ ).runVoidMethod ("Remove",(Object)(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 3))))); + BA.debugLineNum = 356;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENTAS"; +Debug.ShouldStop(8); +c_historico._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update HIST_VENTAS set HVD_RECHAZO = 1 WHERE HVD_PROID = '"),c_historico.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 3))))),RemoteObject.createImmutable("' and HVD_cliente in (Select CUENTA from cuentaa)"))))); + BA.debugLineNum = 357;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENTAS"; +Debug.ShouldStop(16); +c_historico._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update HIST_VENTAS set HVD_CODPROMO = '"),c_historico.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_historico._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),RemoteObject.createImmutable("' WHERE HVD_cliente in (Select CUENTA from cuentaa) AND HVD_CODPROMO = '"),c_historico.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 3))))),RemoteObject.createImmutable("'"))))); + BA.debugLineNum = 358;BA.debugLine="LogColor(prodsMap, Colors.red)"; +Debug.ShouldStop(32); +c_historico.__c.runVoidMethod ("LogImpl","822151186",BA.ObjectToString(__ref.getField(false,"_prodsmap" /*RemoteObject*/ )),c_historico.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 359;BA.debugLine="reconstruirPedido = True"; +Debug.ShouldStop(64); +__ref.setField ("_reconstruirpedido" /*RemoteObject*/ ,c_historico.__c.getField(true,"True")); + BA.debugLineNum = 360;BA.debugLine="promoABorrar = esteTag.Get(3)"; +Debug.ShouldStop(128); +__ref.setField ("_promoaborrar" /*RemoteObject*/ ,BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 3))))); + BA.debugLineNum = 361;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(256); +__ref.runClassMethod (reparto_izca.keymon.lat.c_historico.class, "_b4xpage_appear" /*RemoteObject*/ ); + }; + }else { + BA.debugLineNum = 364;BA.debugLine="If laCant.Text = \"\" Then laCant.Text = 0"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean("=",_lacant.runMethod(true,"getText"),BA.ObjectToString(""))) { +_lacant.runMethod(true,"setText",BA.ObjectToCharSequence(0));}; + BA.debugLineNum = 365;BA.debugLine="laCant.Text = $\"$1.0{laCant.Text-1}\"$"; +Debug.ShouldStop(4096); +_lacant.runMethod(true,"setText",BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable(""),c_historico.__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 = 366;BA.debugLine="If laCant.Text < 0 Then laCant.Text = 0"; +Debug.ShouldStop(8192); +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 = 367;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update cat_gunaprod"; +Debug.ShouldStop(16384); +c_historico._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen + 1 where cat_gp_id = ?")),(Object)(c_historico.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2)))}))))); + }; + BA.debugLineNum = 369;BA.debugLine="Dim preciou As Float = esteTag.Get(0)/esteTag.Get"; +Debug.ShouldStop(65536); +_preciou = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 0)))),BA.numberCast(double.class, _estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 1))))}, "/",0, 0));Debug.locals.put("preciou", _preciou);Debug.locals.put("preciou", _preciou); + BA.debugLineNum = 370;BA.debugLine="Log(\"PU: \" & preciou)"; +Debug.ShouldStop(131072); +c_historico.__c.runVoidMethod ("LogImpl","822151198",RemoteObject.concat(RemoteObject.createImmutable("PU: "),_preciou),0); + BA.debugLineNum = 376;BA.debugLine="Subs.prodRechazo(esteTag.Get(5), esteTag.Get(2))"; +Debug.ShouldStop(8388608); +c_historico._subs.runVoidMethod ("_prodrechazo" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 5))))),(Object)(BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2)))))); + BA.debugLineNum = 377;BA.debugLine="Private cym As Map = Subs.traemosCantYMonto(clv_p"; +Debug.ShouldStop(16777216); +_cym = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_cym = c_historico._subs.runMethod(false,"_traemoscantymonto" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_clv_pedido" /*RemoteObject*/ )));Debug.locals.put("cym", _cym);Debug.locals.put("cym", _cym); + BA.debugLineNum = 378;BA.debugLine="L_CANT.Text = cym.Get(\"cantidad\")"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_l_cant" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_cym.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("cantidad")))))); + BA.debugLineNum = 379;BA.debugLine="L_TOTAL.Text = Round2(cym.Get(\"monto\"), 2)"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_historico.__c.runMethod(true,"Round2",(Object)(BA.numberCast(double.class, _cym.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("monto")))))),(Object)(BA.numberCast(int.class, 2))))); + BA.debugLineNum = 381;BA.debugLine="End Sub"; +Debug.ShouldStop(268435456); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_regresar_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_regresar_Click (c_historico) ","c_historico",13,__ref.getField(false, "ba"),__ref,185); +if (RapidSub.canDelegate("b_regresar_click")) { return __ref.runUserSub(false, "c_historico","b_regresar_click", __ref);} + BA.debugLineNum = 185;BA.debugLine="Sub b_regresar_Click"; +Debug.ShouldStop(16777216); + BA.debugLineNum = 186;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +Debug.ShouldStop(33554432); +c_historico._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Cliente"))); + BA.debugLineNum = 187;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_historico) ","c_historico",13,__ref.getField(false, "ba"),__ref,59); +if (RapidSub.canDelegate("b4xpage_appear")) { return __ref.runUserSub(false, "c_historico","b4xpage_appear", __ref);} +int _i = 0; +RemoteObject _oc = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _cant2 = RemoteObject.createImmutable(0); +RemoteObject _label1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +RemoteObject _label2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +RemoteObject _bgcolor = RemoteObject.createImmutable(0); +RemoteObject _textcolor = RemoteObject.createImmutable(0); +RemoteObject _vc = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _cantco = RemoteObject.createImmutable(0); +RemoteObject _cco = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _cym = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); + BA.debugLineNum = 59;BA.debugLine="Sub B4XPage_Appear"; +Debug.ShouldStop(67108864); + BA.debugLineNum = 60;BA.debugLine="Subs.centraPanel(p_principal, Root.Width)"; +Debug.ShouldStop(134217728); +c_historico._subs.runVoidMethod ("_centrapanel" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_p_principal" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"))); + BA.debugLineNum = 64;BA.debugLine="L_CANT.Text =\"\""; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_l_cant" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 65;BA.debugLine="L_TOTAL.Text=\"\""; +Debug.ShouldStop(1); +__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 66;BA.debugLine="c=Starter.skmt.ExecQuery(\"select count(*) as EXIS"; +Debug.ShouldStop(2); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_historico._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select count(*) as EXISTE from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) and HVD_RECHAZO = 0 ")))); + BA.debugLineNum = 67;BA.debugLine="C.Position=0"; +Debug.ShouldStop(4); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 68;BA.debugLine="Existe = C.GetString(\"EXISTE\")"; +Debug.ShouldStop(8); +__ref.setField ("_existe" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("EXISTE")))); + BA.debugLineNum = 69;BA.debugLine="C.Close"; +Debug.ShouldStop(16); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 71;BA.debugLine="c=Starter.skmt.ExecQuery(\"select hvd_num_registro"; +Debug.ShouldStop(64); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_historico._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select hvd_num_registro, HVD_CLIENTE, HVD_PRONOMBRE, HVD_PROID, HVD_CANT, HVD_COSTO_TOT, HVD_CODPROMO from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) and HVD_RECHAZO = 0 and hvd_cant > 0 order by HVD_CODPROMO desc, HVD_PRONOMBRE asc")))); + BA.debugLineNum = 72;BA.debugLine="ListView1.Clear"; +Debug.ShouldStop(128); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 73;BA.debugLine="clv_pedido.Clear"; +Debug.ShouldStop(256); +__ref.getField(false,"_clv_pedido" /*RemoteObject*/ ).runVoidMethod ("_clear"); + BA.debugLineNum = 74;BA.debugLine="Subs.SetDivider(ListView1, Colors.LightGray, 2)"; +Debug.ShouldStop(512); +c_historico._subs.runVoidMethod ("_setdivider" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_listview1" /*RemoteObject*/ )),(Object)(c_historico.__c.getField(false,"Colors").getField(true,"LightGray")),(Object)(BA.numberCast(int.class, 2))); + BA.debugLineNum = 75;BA.debugLine="clv_pedido.GetBase.SetLayoutAnimated(100, 0dip, 6"; +Debug.ShouldStop(1024); +__ref.getField(false,"_clv_pedido" /*RemoteObject*/ ).runMethod(false,"_getbase").runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 100)),(Object)(c_historico.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 0)))),(Object)(c_historico.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 60)))),(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(50)}, "-",1, 1)),(Object)(BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight"),RemoteObject.createImmutable(0.62)}, "*",0, 0)))); + BA.debugLineNum = 76;BA.debugLine="clv_pedido.Base_Resize(clv_pedido.GetBase.Width,"; +Debug.ShouldStop(2048); +__ref.getField(false,"_clv_pedido" /*RemoteObject*/ ).runVoidMethod ("_base_resize",(Object)(BA.numberCast(double.class, __ref.getField(false,"_clv_pedido" /*RemoteObject*/ ).runMethod(false,"_getbase").runMethod(true,"getWidth"))),(Object)(BA.numberCast(double.class, __ref.getField(false,"_clv_pedido" /*RemoteObject*/ ).runMethod(false,"_getbase").runMethod(true,"getHeight")))); + BA.debugLineNum = 78;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 = 80;BA.debugLine="For i=0 To c.RowCount -1"; +Debug.ShouldStop(32768); +{ +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 = 81;BA.debugLine="c.Position=i"; +Debug.ShouldStop(65536); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 83;BA.debugLine="Private oc As Cursor = Starter.skmt.ExecQuery($"; +Debug.ShouldStop(262144); +_oc = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_oc = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_historico._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select HVD_CANT from HIST_VENTAS2 WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) and hvd_proid = '"),c_historico.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID")))))),RemoteObject.createImmutable("' and HVD_NUM_REGISTRO = '"),c_historico.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_NUM_REGISTRO")))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("oc", _oc);Debug.locals.put("oc", _oc); + BA.debugLineNum = 84;BA.debugLine="Private cant2 As Int = 0"; +Debug.ShouldStop(524288); +_cant2 = BA.numberCast(int.class, 0);Debug.locals.put("cant2", _cant2);Debug.locals.put("cant2", _cant2); + BA.debugLineNum = 85;BA.debugLine="If oc.RowCount > 0 Then"; +Debug.ShouldStop(1048576); +if (RemoteObject.solveBoolean(">",_oc.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 86;BA.debugLine="oc.Position = 0"; +Debug.ShouldStop(2097152); +_oc.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 87;BA.debugLine="cant2 = oc.GetString(\"HVD_CANT\")"; +Debug.ShouldStop(4194304); +_cant2 = BA.numberCast(int.class, _oc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT"))));Debug.locals.put("cant2", _cant2); + }; + BA.debugLineNum = 89;BA.debugLine="oc.Close"; +Debug.ShouldStop(16777216); +_oc.runVoidMethod ("Close"); + BA.debugLineNum = 90;BA.debugLine="Dim label1 As Label"; +Debug.ShouldStop(33554432); +_label1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label1", _label1); + BA.debugLineNum = 91;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; +Debug.ShouldStop(67108864); +_label1 = __ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"Label");Debug.locals.put("label1", _label1); + BA.debugLineNum = 92;BA.debugLine="label1.TextSize = 12"; +Debug.ShouldStop(134217728); +_label1.runMethod(true,"setTextSize",BA.numberCast(float.class, 12)); + BA.debugLineNum = 93;BA.debugLine="label1.TextColor = Colors.black"; +Debug.ShouldStop(268435456); +_label1.runMethod(true,"setTextColor",c_historico.__c.getField(false,"Colors").getField(true,"Black")); + BA.debugLineNum = 94;BA.debugLine="Dim label2 As Label"; +Debug.ShouldStop(536870912); +_label2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label2", _label2); + BA.debugLineNum = 95;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; +Debug.ShouldStop(1073741824); +_label2 = __ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"SecondLabel");Debug.locals.put("label2", _label2); + BA.debugLineNum = 96;BA.debugLine="label2.TextSize = 12"; +Debug.ShouldStop(-2147483648); +_label2.runMethod(true,"setTextSize",BA.numberCast(float.class, 12)); + BA.debugLineNum = 97;BA.debugLine="label2.TextColor = Colors.black"; +Debug.ShouldStop(1); +_label2.runMethod(true,"setTextColor",c_historico.__c.getField(false,"Colors").getField(true,"Black")); + BA.debugLineNum = 98;BA.debugLine="Private bgColor, textColor As Int"; +Debug.ShouldStop(2); +_bgcolor = RemoteObject.createImmutable(0);Debug.locals.put("bgColor", _bgcolor); +_textcolor = RemoteObject.createImmutable(0);Debug.locals.put("textColor", _textcolor); + BA.debugLineNum = 99;BA.debugLine="bgColor = Colors.RGB(177, 200, 249)'azul"; +Debug.ShouldStop(4); +_bgcolor = c_historico.__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)));Debug.locals.put("bgColor", _bgcolor); + BA.debugLineNum = 100;BA.debugLine="textColor = Colors.black"; +Debug.ShouldStop(8); +_textcolor = c_historico.__c.getField(false,"Colors").getField(true,"Black");Debug.locals.put("textColor", _textcolor); + BA.debugLineNum = 101;BA.debugLine="If c.GetString(\"HVD_CODPROMO\") <> \"1\" Then"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean("!",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CODPROMO"))),BA.ObjectToString("1"))) { + BA.debugLineNum = 103;BA.debugLine="bgColor = Colors.White"; +Debug.ShouldStop(64); +_bgcolor = c_historico.__c.getField(false,"Colors").getField(true,"White");Debug.locals.put("bgColor", _bgcolor); + }; + BA.debugLineNum = 107;BA.debugLine="clv_pedido.Add(CreateListItem(c.GetString(\"HVD_"; +Debug.ShouldStop(1024); +__ref.getField(false,"_clv_pedido" /*RemoteObject*/ ).runVoidMethod ("_add",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), __ref.runClassMethod (reparto_izca.keymon.lat.c_historico.class, "_createlistitem" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PRONOMBRE")))),(Object)(c_historico._subs.runMethod(true,"_traeprecio" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID")))),(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CODPROMO")))))),(Object)(BA.numberCast(int.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT"))))),(Object)(BA.numberCast(int.class, 0)),(Object)(__ref.getField(false,"_clv_pedido" /*RemoteObject*/ ).runMethod(false,"_asview").runMethod(true,"getWidth")),(Object)(c_historico.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 50)))),(Object)(__ref.getField(false,"_bmp" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID")))),(Object)(_bgcolor),(Object)(_textcolor),(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CODPROMO")))),(Object)(c_historico._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba")))).getObject()),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PRONOMBRE")))))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 112;BA.debugLine="Private vc As Cursor = Starter.skmt.ExecQuery(\"se"; +Debug.ShouldStop(32768); +_vc = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_vc = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_historico._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select * from REPARTO where REP_CLIENTE in (select cuenta from cuentaa) and REP_RECHAZO = '0' and REP_CANT > 0 order by REP_PRONOMBRE"))));Debug.locals.put("vc", _vc);Debug.locals.put("vc", _vc); + BA.debugLineNum = 113;BA.debugLine="Log($\"VENTA: ${vc.RowCount}\"$)"; +Debug.ShouldStop(65536); +c_historico.__c.runVoidMethod ("LogImpl","821692470",(RemoteObject.concat(RemoteObject.createImmutable("VENTA: "),c_historico.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_vc.runMethod(true,"getRowCount")))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 114;BA.debugLine="If vc.RowCount > 0 Then"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean(">",_vc.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 117;BA.debugLine="textColor = Colors.RGB(0,87,142)"; +Debug.ShouldStop(1048576); +_textcolor = c_historico.__c.getField(false,"Colors").runMethod(true,"RGB",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 87)),(Object)(BA.numberCast(int.class, 142)));Debug.locals.put("textColor", _textcolor); + BA.debugLineNum = 118;BA.debugLine="For i=0 To vc.RowCount -1"; +Debug.ShouldStop(2097152); +{ +final int step45 = 1; +final int limit45 = RemoteObject.solve(new RemoteObject[] {_vc.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 = 119;BA.debugLine="vc.Position = i"; +Debug.ShouldStop(4194304); +_vc.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 120;BA.debugLine="Private cantCO As Int = 0"; +Debug.ShouldStop(8388608); +_cantco = BA.numberCast(int.class, 0);Debug.locals.put("cantCO", _cantco);Debug.locals.put("cantCO", _cantco); + BA.debugLineNum = 122;BA.debugLine="Private cco As Cursor = Starter.skmt.ExecQuery("; +Debug.ShouldStop(33554432); +_cco = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_cco = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_historico._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select * from REPARTO where REP_CLIENTE = '"),c_historico.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_vc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("REP_CLI_ORIG")))))),RemoteObject.createImmutable("' and REP_CLI_ORIG = '"),c_historico.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_vc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("REP_CLI_ORIG")))))),RemoteObject.createImmutable("' and REP_PRODID='"),c_historico.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_vc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("REP_PRODID")))))),RemoteObject.createImmutable("' and REP_RECHAZO = '1' and REP_CANT > 0"))))));Debug.locals.put("cco", _cco);Debug.locals.put("cco", _cco); + BA.debugLineNum = 124;BA.debugLine="If cco.RowCount > 0 Then"; +Debug.ShouldStop(134217728); +if (RemoteObject.solveBoolean(">",_cco.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 125;BA.debugLine="cco.Position = 0"; +Debug.ShouldStop(268435456); +_cco.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 126;BA.debugLine="cantCO = cco.GetString(\"REP_CANT\") + vc.GetStr"; +Debug.ShouldStop(536870912); +_cantco = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cco.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("REP_CANT")))),BA.numberCast(double.class, _vc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("REP_CANT"))))}, "+",1, 0));Debug.locals.put("cantCO", _cantco); + }; + BA.debugLineNum = 128;BA.debugLine="cantCO = Subs.traeCantidadRechazada(vc.GetStrin"; +Debug.ShouldStop(-2147483648); +_cantco = c_historico._subs.runMethod(true,"_traecantidadrechazada" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_vc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("REP_CLI_ORIG")))),(Object)(_vc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("REP_PRODID")))));Debug.locals.put("cantCO", _cantco); + BA.debugLineNum = 131;BA.debugLine="clv_pedido.Add(CreateListItem(vc.GetString(\"REP"; +Debug.ShouldStop(4); +__ref.getField(false,"_clv_pedido" /*RemoteObject*/ ).runVoidMethod ("_add",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), __ref.runClassMethod (reparto_izca.keymon.lat.c_historico.class, "_createlistitem" /*RemoteObject*/ ,(Object)(_vc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("REP_PRONOMBRE")))),(Object)(c_historico._subs.runMethod(true,"_traeprecio" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_vc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("REP_PRODID")))),(Object)(c_historico._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),(Object)(BA.numberCast(int.class, _vc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("REP_CANT"))))),(Object)(_cantco),(Object)(__ref.getField(false,"_clv_pedido" /*RemoteObject*/ ).runMethod(false,"_asview").runMethod(true,"getWidth")),(Object)(c_historico.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 50)))),(Object)(__ref.getField(false,"_bmp" /*RemoteObject*/ )),(Object)(_vc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("REP_PRODID")))),(Object)(_bgcolor),(Object)(_textcolor),(Object)(BA.NumberToString(1)),(Object)(_vc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("REP_CLI_ORIG"))))).getObject()),(Object)((_vc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("REP_PRONOMBRE")))))); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 133;BA.debugLine="cco.Close"; +Debug.ShouldStop(16); +_cco.runVoidMethod ("Close"); + BA.debugLineNum = 134;BA.debugLine="vc.Close"; +Debug.ShouldStop(32); +_vc.runVoidMethod ("Close"); + }; + BA.debugLineNum = 137;BA.debugLine="If Existe <> 0 Then"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean("!",__ref.getField(true,"_existe" /*RemoteObject*/ ),BA.NumberToString(0))) { + BA.debugLineNum = 138;BA.debugLine="c = Starter.skmt.ExecQuery(\"select SUM(HVD_CANT)"; +Debug.ShouldStop(512); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_historico._starter._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) and HVD_RECHAZO = 0 ")))); + BA.debugLineNum = 139;BA.debugLine="C.Position=0"; +Debug.ShouldStop(1024); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 140;BA.debugLine="L_CANT.Text = c.GetString(\"PC_NOART\")"; +Debug.ShouldStop(2048); +__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 = 141;BA.debugLine="L_TOTAL.Text = Round2(c.GetString(\"PC_MONTO\"), 2"; +Debug.ShouldStop(4096); +__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_historico.__c.runMethod(true,"Round2",(Object)(BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_MONTO"))))),(Object)(BA.numberCast(int.class, 2))))); + }; + BA.debugLineNum = 143;BA.debugLine="c=Starter.skmt.ExecQuery(\"select count(*) as EXIS"; +Debug.ShouldStop(16384); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_historico._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select count(*) as EXISTE from PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)")))); + BA.debugLineNum = 144;BA.debugLine="c.Position=0"; +Debug.ShouldStop(32768); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 145;BA.debugLine="Existe = C.GetString(\"EXISTE\")"; +Debug.ShouldStop(65536); +__ref.setField ("_existe" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("EXISTE")))); + BA.debugLineNum = 146;BA.debugLine="c.Close"; +Debug.ShouldStop(131072); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 149;BA.debugLine="Subs.SetDivider(ListView1, Colors.LightGray, 2)"; +Debug.ShouldStop(1048576); +c_historico._subs.runVoidMethod ("_setdivider" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_listview1" /*RemoteObject*/ )),(Object)(c_historico.__c.getField(false,"Colors").getField(true,"LightGray")),(Object)(BA.numberCast(int.class, 2))); + BA.debugLineNum = 167;BA.debugLine="If Existe <> 0 Then"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean("!",__ref.getField(true,"_existe" /*RemoteObject*/ ),BA.NumberToString(0))) { + BA.debugLineNum = 168;BA.debugLine="c=Starter.skmt.ExecQuery(\"select SUM(PE_CANT) AS"; +Debug.ShouldStop(128); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_historico._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select SUM(PE_CANT) AS PE_CANT, SUM(PE_COSTO_TOT) AS PE_COSTO_TOT FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)")))); + BA.debugLineNum = 169;BA.debugLine="C.Position=0"; +Debug.ShouldStop(256); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 170;BA.debugLine="L_CANT.Text = L_CANT.Text + c.GetString(\"PE_CANT"; +Debug.ShouldStop(512); +__ref.getField(false,"_l_cant" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_l_cant" /*RemoteObject*/ ).runMethod(true,"getText")),BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))))}, "+",1, 0))); + BA.debugLineNum = 171;BA.debugLine="L_TOTAL.Text = Round2(L_TOTAL.Text + c.GetStrin"; +Debug.ShouldStop(1024); +__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_historico.__c.runMethod(true,"Round2",(Object)(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"getText")),BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_TOT"))))}, "+",1, 0)),(Object)(BA.numberCast(int.class, 2))))); + }; + BA.debugLineNum = 175;BA.debugLine="Private cym As Map = Subs.traemosCantYMonto(clv_p"; +Debug.ShouldStop(16384); +_cym = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_cym = c_historico._subs.runMethod(false,"_traemoscantymonto" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_clv_pedido" /*RemoteObject*/ )));Debug.locals.put("cym", _cym);Debug.locals.put("cym", _cym); + BA.debugLineNum = 176;BA.debugLine="L_CANT.Text = cym.Get(\"cantidad\")"; +Debug.ShouldStop(32768); +__ref.getField(false,"_l_cant" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_cym.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("cantidad")))))); + BA.debugLineNum = 177;BA.debugLine="L_TOTAL.Text = Round2(cym.Get(\"monto\"), 2)"; +Debug.ShouldStop(65536); +__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_historico.__c.runMethod(true,"Round2",(Object)(BA.numberCast(double.class, _cym.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("monto")))))),(Object)(BA.numberCast(int.class, 2))))); + BA.debugLineNum = 178;BA.debugLine="End Sub"; +Debug.ShouldStop(131072); +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",13,__ref.getField(false, "ba"),__ref,189); +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(reparto_izca.keymon.lat.c_historico parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +reparto_izca.keymon.lat.c_historico parent; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_CloseRequest (c_historico) ","c_historico",13,__ref.getField(false, "ba"),__ref,189); +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 = 192;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +Debug.ShouldStop(-2147483648); +parent._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Cliente"))); + BA.debugLineNum = 194;BA.debugLine="Return False"; +Debug.ShouldStop(2); +if (true) { +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(parent.__c.getField(true,"False")));return;}; + BA.debugLineNum = 195;BA.debugLine="End Sub"; +Debug.ShouldStop(4); +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",13,__ref.getField(false, "ba"),__ref,48); +if (RapidSub.canDelegate("b4xpage_created")) { return __ref.runUserSub(false, "c_historico","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 = 51;BA.debugLine="g.Initialize(\"GPS\")"; +Debug.ShouldStop(262144); +__ref.getField(false,"_g" /*RemoteObject*/ ).runVoidMethod ("Initialize",(Object)(RemoteObject.createImmutable("GPS"))); + BA.debugLineNum = 52;BA.debugLine="Root.LoadLayout(\"historico\")"; +Debug.ShouldStop(524288); +__ref.getField(false,"_root" /*RemoteObject*/ ).runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("historico")),__ref.getField(false, "ba")); + BA.debugLineNum = 53;BA.debugLine="b_borra.Visible = False"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_b_borra" /*RemoteObject*/ ).runMethod(true,"setVisible",c_historico.__c.getField(true,"False")); + BA.debugLineNum = 54;BA.debugLine="Titulo.Text = \"Pedido\""; +Debug.ShouldStop(2097152); +__ref.getField(false,"_titulo" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("Pedido")); + 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 _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 = 4;BA.debugLine="Dim g As GPS"; +c_historico._g = RemoteObject.createNew ("anywheresoftware.b4a.gps.GPS");__ref.setField("_g",c_historico._g); + //BA.debugLineNum = 5;BA.debugLine="Dim clie_id As String"; +c_historico._clie_id = RemoteObject.createImmutable("");__ref.setField("_clie_id",c_historico._clie_id); + //BA.debugLineNum = 6;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 = 7;BA.debugLine="Dim usuario As String"; +c_historico._usuario = RemoteObject.createImmutable("");__ref.setField("_usuario",c_historico._usuario); + //BA.debugLineNum = 8;BA.debugLine="Dim c As Cursor"; +c_historico._c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_c",c_historico._c); + //BA.debugLineNum = 10;BA.debugLine="Dim b_regresar As Button"; +c_historico._b_regresar = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_regresar",c_historico._b_regresar); + //BA.debugLineNum = 11;BA.debugLine="Dim ListView1 As ListView"; +c_historico._listview1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ListViewWrapper");__ref.setField("_listview1",c_historico._listview1); + //BA.debugLineNum = 12;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 = 13;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 = 14;BA.debugLine="Dim b_borra As Button"; +c_historico._b_borra = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_borra",c_historico._b_borra); + //BA.debugLineNum = 15;BA.debugLine="Dim Existe As String"; +c_historico._existe = RemoteObject.createImmutable("");__ref.setField("_existe",c_historico._existe); + //BA.debugLineNum = 16;BA.debugLine="Dim result As String"; +c_historico._result = RemoteObject.createImmutable("");__ref.setField("_result",c_historico._result); + //BA.debugLineNum = 18;BA.debugLine="Dim cuantos As String"; +c_historico._cuantos = RemoteObject.createImmutable("");__ref.setField("_cuantos",c_historico._cuantos); + //BA.debugLineNum = 19;BA.debugLine="Dim nombre_prod As String"; +c_historico._nombre_prod = RemoteObject.createImmutable("");__ref.setField("_nombre_prod",c_historico._nombre_prod); + //BA.debugLineNum = 20;BA.debugLine="Dim cuantos_pedido As String"; +c_historico._cuantos_pedido = RemoteObject.createImmutable("");__ref.setField("_cuantos_pedido",c_historico._cuantos_pedido); + //BA.debugLineNum = 21;BA.debugLine="Private Titulo As Label"; +c_historico._titulo = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_titulo",c_historico._titulo); + //BA.debugLineNum = 22;BA.debugLine="Private P1 As Panel"; +c_historico._p1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p1",c_historico._p1); + //BA.debugLineNum = 23;BA.debugLine="Private lv2 As ListView"; +c_historico._lv2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ListViewWrapper");__ref.setField("_lv2",c_historico._lv2); + //BA.debugLineNum = 24;BA.debugLine="Private p_principal As Panel"; +c_historico._p_principal = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_principal",c_historico._p_principal); + //BA.debugLineNum = 25;BA.debugLine="Dim clv_pedido As CustomListView"; +c_historico._clv_pedido = RemoteObject.createNew ("b4a.example3.customlistview");__ref.setField("_clv_pedido",c_historico._clv_pedido); + //BA.debugLineNum = 26;BA.debugLine="Private p_prods As Panel"; +c_historico._p_prods = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_prods",c_historico._p_prods); + //BA.debugLineNum = 27;BA.debugLine="Private l_prodX As Label"; +c_historico._l_prodx = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_prodx",c_historico._l_prodx); + //BA.debugLineNum = 28;BA.debugLine="Private l_pCant As Label"; +c_historico._l_pcant = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_pcant",c_historico._l_pcant); + //BA.debugLineNum = 29;BA.debugLine="Private et_pCant As EditText"; +c_historico._et_pcant = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_pcant",c_historico._et_pcant); + //BA.debugLineNum = 30;BA.debugLine="Dim bmp As Bitmap"; +c_historico._bmp = RemoteObject.createNew ("anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper");__ref.setField("_bmp",c_historico._bmp); + //BA.debugLineNum = 31;BA.debugLine="Dim etCantHasFocus As Boolean = False"; +c_historico._etcanthasfocus = c_historico.__c.getField(true,"False");__ref.setField("_etcanthasfocus",c_historico._etcanthasfocus); + //BA.debugLineNum = 32;BA.debugLine="Dim totalProds As Int = 0"; +c_historico._totalprods = BA.numberCast(int.class, 0);__ref.setField("_totalprods",c_historico._totalprods); + //BA.debugLineNum = 33;BA.debugLine="Dim totalCompra As Int = 0"; +c_historico._totalcompra = BA.numberCast(int.class, 0);__ref.setField("_totalcompra",c_historico._totalcompra); + //BA.debugLineNum = 34;BA.debugLine="Dim prodsMap As Map"; +c_historico._prodsmap = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");__ref.setField("_prodsmap",c_historico._prodsmap); + //BA.debugLineNum = 35;BA.debugLine="Dim reconstruirPedido As Boolean = False"; +c_historico._reconstruirpedido = c_historico.__c.getField(true,"False");__ref.setField("_reconstruirpedido",c_historico._reconstruirpedido); + //BA.debugLineNum = 36;BA.debugLine="Dim promoABorrar As String"; +c_historico._promoaborrar = RemoteObject.createImmutable("");__ref.setField("_promoaborrar",c_historico._promoaborrar); + //BA.debugLineNum = 37;BA.debugLine="Private b_guardar As Button"; +c_historico._b_guardar = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_guardar",c_historico._b_guardar); + //BA.debugLineNum = 38;BA.debugLine="Private b_prodMas As Button"; +c_historico._b_prodmas = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_prodmas",c_historico._b_prodmas); + //BA.debugLineNum = 39;BA.debugLine="Private b_prodMenos As Button"; +c_historico._b_prodmenos = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_prodmenos",c_historico._b_prodmenos); + //BA.debugLineNum = 40;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _createlistitem(RemoteObject __ref,RemoteObject _text,RemoteObject _preciou,RemoteObject _inv,RemoteObject _inv2,RemoteObject _width,RemoteObject _height,RemoteObject _img,RemoteObject _prodid,RemoteObject _bc,RemoteObject _tc,RemoteObject _promo,RemoteObject _cliente_original) throws Exception{ +try { + Debug.PushSubsStack("CreateListItem (c_historico) ","c_historico",13,__ref.getField(false, "ba"),__ref,310); +if (RapidSub.canDelegate("createlistitem")) { return __ref.runUserSub(false, "c_historico","createlistitem", __ref, _text, _preciou, _inv, _inv2, _width, _height, _img, _prodid, _bc, _tc, _promo, _cliente_original);} +RemoteObject _p = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _cs = RemoteObject.declareNull("anywheresoftware.b4a.objects.CSBuilder"); +Debug.locals.put("Text", _text); +Debug.locals.put("precioU", _preciou); +Debug.locals.put("inv", _inv); +Debug.locals.put("inv2", _inv2); +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); +Debug.locals.put("promo", _promo); +Debug.locals.put("cliente_original", _cliente_original); + BA.debugLineNum = 310;BA.debugLine="Sub CreateListItem(Text As String, precioU As Stri"; +Debug.ShouldStop(2097152); + BA.debugLineNum = 311;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")"; +Debug.ShouldStop(4194304); +_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 = 312;BA.debugLine="Private cs As CSBuilder"; +Debug.ShouldStop(8388608); +_cs = RemoteObject.createNew ("anywheresoftware.b4a.objects.CSBuilder");Debug.locals.put("cs", _cs); + BA.debugLineNum = 313;BA.debugLine="cs.Initialize"; +Debug.ShouldStop(16777216); +_cs.runVoidMethod ("Initialize"); + BA.debugLineNum = 314;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, Width, Height)"; +Debug.ShouldStop(33554432); +_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 = 315;BA.debugLine="p.LoadLayout(\"prodItem\")"; +Debug.ShouldStop(67108864); +_p.runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("prodItem")),__ref.getField(false, "ba")); + BA.debugLineNum = 316;BA.debugLine="p_prods.Color = bc"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_p_prods" /*RemoteObject*/ ).runVoidMethod ("setColor",_bc); + BA.debugLineNum = 317;BA.debugLine="l_prodX.TextColor = tc"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_l_prodx" /*RemoteObject*/ ).runMethod(true,"setTextColor",_tc); + BA.debugLineNum = 318;BA.debugLine="precioU = $\"$1.2{precioU}\"$"; +Debug.ShouldStop(536870912); +_preciou = (RemoteObject.concat(RemoteObject.createImmutable(""),c_historico.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("1.2")),(Object)((_preciou))),RemoteObject.createImmutable("")));Debug.locals.put("precioU", _preciou); + BA.debugLineNum = 319;BA.debugLine="l_prodX.Text = Text&CRLF&\"Cant: \" & inv2 & \" $\""; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_l_prodx" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(RemoteObject.concat(_text,c_historico.__c.getField(true,"CRLF"),RemoteObject.createImmutable("Cant: "),_inv2,RemoteObject.createImmutable(" $"),_preciou))); + BA.debugLineNum = 320;BA.debugLine="If promo <> \"1\" And precioU = 0 Then"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean("!",_promo,BA.ObjectToString("1")) && RemoteObject.solveBoolean("=",_preciou,BA.NumberToString(0))) { + BA.debugLineNum = 321;BA.debugLine="l_prodX.Text = cs.Color(Colors.RGB(123,0,0)).app"; +Debug.ShouldStop(1); +__ref.getField(false,"_l_prodx" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_cs.runMethod(false,"Color",(Object)(c_historico.__c.getField(false,"Colors").runMethod(true,"RGB",(Object)(BA.numberCast(int.class, 123)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0))))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(_text,c_historico.__c.getField(true,"CRLF"),RemoteObject.createImmutable("Cant: "),_inv2,RemoteObject.createImmutable(" $"),_preciou)))).runMethod(false,"PopAll").getObject())); + }; + BA.debugLineNum = 323;BA.debugLine="l_prodX.Tag = $\"ID: ${prodId}${CRLF}${Text}${CRLF"; +Debug.ShouldStop(4); +__ref.getField(false,"_l_prodx" /*RemoteObject*/ ).runMethod(false,"setTag",((RemoteObject.concat(RemoteObject.createImmutable("ID: "),c_historico.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_prodid))),RemoteObject.createImmutable(""),c_historico.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_historico.__c.getField(true,"CRLF")))),RemoteObject.createImmutable(""),c_historico.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_text))),RemoteObject.createImmutable(""),c_historico.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_historico.__c.getField(true,"CRLF")))),RemoteObject.createImmutable("Precio: $"),c_historico.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("1.2")),(Object)((_preciou))),RemoteObject.createImmutable(""),c_historico.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_historico.__c.getField(true,"CRLF")))),RemoteObject.createImmutable("Inv: "),c_historico.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_inv))),RemoteObject.createImmutable(" pzs"))))); + BA.debugLineNum = 325;BA.debugLine="l_pCant.Tag = Round2(precioU,2)&\"|\"&inv&\"|\"&prodI"; +Debug.ShouldStop(16); +__ref.getField(false,"_l_pcant" /*RemoteObject*/ ).runMethod(false,"setTag",(RemoteObject.concat(c_historico.__c.runMethod(true,"Round2",(Object)(BA.numberCast(double.class, _preciou)),(Object)(BA.numberCast(int.class, 2))),RemoteObject.createImmutable("|"),_inv,RemoteObject.createImmutable("|"),_prodid,RemoteObject.createImmutable("|"),_promo,RemoteObject.createImmutable("|"),_inv2,RemoteObject.createImmutable("|"),_cliente_original))); + BA.debugLineNum = 326;BA.debugLine="et_pCant.Tag = Round2(precioU,2)&\"|\"&inv&\"|\"&prod"; +Debug.ShouldStop(32); +__ref.getField(false,"_et_pcant" /*RemoteObject*/ ).runMethod(false,"setTag",(RemoteObject.concat(c_historico.__c.runMethod(true,"Round2",(Object)(BA.numberCast(double.class, _preciou)),(Object)(BA.numberCast(int.class, 2))),RemoteObject.createImmutable("|"),_inv,RemoteObject.createImmutable("|"),_prodid,RemoteObject.createImmutable("|"),_promo,RemoteObject.createImmutable("|"),_inv2,RemoteObject.createImmutable("|"),_cliente_original))); + BA.debugLineNum = 327;BA.debugLine="p_prods.Tag = l_pCant.tag"; +Debug.ShouldStop(64); +__ref.getField(false,"_p_prods" /*RemoteObject*/ ).runMethod(false,"setTag",__ref.getField(false,"_l_pcant" /*RemoteObject*/ ).runMethod(false,"getTag")); + BA.debugLineNum = 329;BA.debugLine="l_pCant.Text = inv"; +Debug.ShouldStop(256); +__ref.getField(false,"_l_pcant" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_inv)); + BA.debugLineNum = 333;BA.debugLine="l_pCant.BringToFront"; +Debug.ShouldStop(4096); +__ref.getField(false,"_l_pcant" /*RemoteObject*/ ).runVoidMethod ("BringToFront"); + BA.debugLineNum = 334;BA.debugLine="et_pCant.SendToBack"; +Debug.ShouldStop(8192); +__ref.getField(false,"_et_pcant" /*RemoteObject*/ ).runVoidMethod ("SendToBack"); + BA.debugLineNum = 337;BA.debugLine="Return p"; +Debug.ShouldStop(65536); +if (true) return RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.PanelWrapper"), _p.getObject()); + BA.debugLineNum = 338;BA.debugLine="End Sub"; +Debug.ShouldStop(131072); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _cuentaprods(RemoteObject __ref,RemoteObject _accion) throws Exception{ +try { + Debug.PushSubsStack("cuentaProds (c_historico) ","c_historico",13,__ref.getField(false, "ba"),__ref,428); +if (RapidSub.canDelegate("cuentaprods")) { return __ref.runUserSub(false, "c_historico","cuentaprods", __ref, _accion);} +RemoteObject _cantrechazada = RemoteObject.createImmutable(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 _esteprod = RemoteObject.createImmutable(""); +RemoteObject _estacant = RemoteObject.createImmutable(0); +RemoteObject _estacantoriginal = RemoteObject.createImmutable(0); +RemoteObject _estecliente = RemoteObject.createImmutable(""); +RemoteObject _esteprodnombre = RemoteObject.createImmutable(""); +RemoteObject _esteclienteoriginal = RemoteObject.createImmutable(0); +RemoteObject _fechareparto = RemoteObject.createImmutable(""); +RemoteObject _maxprods = RemoteObject.createImmutable(""); +RemoteObject _esteprecio = RemoteObject.createImmutable(""); +RemoteObject _rr = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _m = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _bgcolor = RemoteObject.createImmutable(0); +RemoteObject _textcolor = RemoteObject.createImmutable(0); +RemoteObject _newpromo = RemoteObject.createImmutable(""); +RemoteObject _newprecio = RemoteObject.createImmutable(""); +RemoteObject _pr = RemoteObject.createImmutable(""); +RemoteObject _pr1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _cantidad1 = RemoteObject.createImmutable(""); +RemoteObject _totalfinal = RemoteObject.createImmutable(""); +RemoteObject _x = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _cantidady = RemoteObject.createImmutable(""); +RemoteObject _preciou = RemoteObject.createImmutable(""); +RemoteObject _costototalhist = RemoteObject.createImmutable(""); +RemoteObject _z = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _cantidad2 = RemoteObject.createImmutable(""); +Debug.locals.put("accion", _accion); + BA.debugLineNum = 428;BA.debugLine="Sub cuentaProds(accion As String)"; +Debug.ShouldStop(2048); + BA.debugLineNum = 430;BA.debugLine="Log(\"*********************************************"; +Debug.ShouldStop(8192); +c_historico.__c.runVoidMethod ("LogImpl","822282242",RemoteObject.createImmutable("*******************************************************"),0); + BA.debugLineNum = 431;BA.debugLine="Private cantRechazada As Int = 0"; +Debug.ShouldStop(16384); +_cantrechazada = BA.numberCast(int.class, 0);Debug.locals.put("cantRechazada", _cantrechazada);Debug.locals.put("cantRechazada", _cantrechazada); + BA.debugLineNum = 432;BA.debugLine="If Not(reconstruirPedido) Then"; +Debug.ShouldStop(32768); +if (c_historico.__c.runMethod(true,"Not",(Object)(__ref.getField(true,"_reconstruirpedido" /*RemoteObject*/ ))).get().booleanValue()) { + BA.debugLineNum = 433;BA.debugLine="Log(\"*********** CUENTAPRODS - NO RECONSTRUIR\")"; +Debug.ShouldStop(65536); +c_historico.__c.runVoidMethod ("LogImpl","822282245",RemoteObject.createImmutable("*********** CUENTAPRODS - NO RECONSTRUIR"),0); + BA.debugLineNum = 434;BA.debugLine="prodsMap.Initialize"; +Debug.ShouldStop(131072); +__ref.getField(false,"_prodsmap" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 435;BA.debugLine="For i = 0 To clv_pedido.GetSize - 1"; +Debug.ShouldStop(262144); +{ +final int step6 = 1; +final int limit6 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_clv_pedido" /*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 = 436;BA.debugLine="Private p0 As B4XView = clv_pedido.GetPanel(i)"; +Debug.ShouldStop(524288); +_p0 = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_p0 = __ref.getField(false,"_clv_pedido" /*RemoteObject*/ ).runMethod(false,"_getpanel",(Object)(BA.numberCast(int.class, _i)));Debug.locals.put("p0", _p0);Debug.locals.put("p0", _p0); + BA.debugLineNum = 437;BA.debugLine="Private p As B4XView = p0.GetView(0)"; +Debug.ShouldStop(1048576); +_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 = 438;BA.debugLine="Private cant1 As B4XView = p.GetView(2).GetView"; +Debug.ShouldStop(2097152); +_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, 3)));Debug.locals.put("cant1", _cant1);Debug.locals.put("cant1", _cant1); + BA.debugLineNum = 439;BA.debugLine="If cant1.Text = \"\" Then cant1.Text = 0"; +Debug.ShouldStop(4194304); +if (RemoteObject.solveBoolean("=",_cant1.runMethod(true,"getText"),BA.ObjectToString(""))) { +_cant1.runMethod(true,"setText",BA.ObjectToCharSequence(0));}; + BA.debugLineNum = 441;BA.debugLine="Private esteTag As List = Regex.Split(\"\\|\", can"; +Debug.ShouldStop(16777216); +_estetag = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +_estetag = c_historico.__c.runMethod(false, "ArrayToList", (Object)(c_historico.__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 = 442;BA.debugLine="Log(\"-------------------------------------\")"; +Debug.ShouldStop(33554432); +c_historico.__c.runVoidMethod ("LogImpl","822282254",RemoteObject.createImmutable("-------------------------------------"),0); + BA.debugLineNum = 443;BA.debugLine="Log($\"ET: ${esteTag}\"$)"; +Debug.ShouldStop(67108864); +c_historico.__c.runVoidMethod ("LogImpl","822282255",(RemoteObject.concat(RemoteObject.createImmutable("ET: "),c_historico.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_estetag.getObject()))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 444;BA.debugLine="Private esteProd As String = esteTag.Get(2)"; +Debug.ShouldStop(134217728); +_esteprod = BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2))));Debug.locals.put("esteProd", _esteprod);Debug.locals.put("esteProd", _esteprod); + BA.debugLineNum = 445;BA.debugLine="Private estaCant As Int = cant1.Text"; +Debug.ShouldStop(268435456); +_estacant = BA.numberCast(int.class, _cant1.runMethod(true,"getText"));Debug.locals.put("estaCant", _estacant);Debug.locals.put("estaCant", _estacant); + BA.debugLineNum = 446;BA.debugLine="Private estaCantOriginal As Int = esteTag.Get(1"; +Debug.ShouldStop(536870912); +_estacantoriginal = BA.numberCast(int.class, _estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 1))));Debug.locals.put("estaCantOriginal", _estacantoriginal);Debug.locals.put("estaCantOriginal", _estacantoriginal); + BA.debugLineNum = 447;BA.debugLine="Private esteCliente = Subs.traeCliente"; +Debug.ShouldStop(1073741824); +_estecliente = c_historico._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"));Debug.locals.put("esteCliente", _estecliente);Debug.locals.put("esteCliente", _estecliente); + BA.debugLineNum = 448;BA.debugLine="Private esteProdNombre = Subs.traeNombre(estePr"; +Debug.ShouldStop(-2147483648); +_esteprodnombre = c_historico._subs.runMethod(true,"_traenombre" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_esteprod));Debug.locals.put("esteProdNombre", _esteprodnombre);Debug.locals.put("esteProdNombre", _esteprodnombre); + BA.debugLineNum = 449;BA.debugLine="Private esteClienteOriginal As Int = esteTag.Ge"; +Debug.ShouldStop(1); +_esteclienteoriginal = BA.numberCast(int.class, _estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 5))));Debug.locals.put("esteClienteOriginal", _esteclienteoriginal);Debug.locals.put("esteClienteOriginal", _esteclienteoriginal); + BA.debugLineNum = 450;BA.debugLine="Private fechaReparto As String = Subs.traeFecha"; +Debug.ShouldStop(2); +_fechareparto = c_historico._subs.runMethod(true,"_traefechareparto" /*RemoteObject*/ ,__ref.getField(false, "ba"));Debug.locals.put("fechaReparto", _fechareparto);Debug.locals.put("fechaReparto", _fechareparto); + BA.debugLineNum = 451;BA.debugLine="Private maxProds = Subs.traeMaxCantidad(esteTag"; +Debug.ShouldStop(4); +_maxprods = BA.NumberToString(c_historico._subs.runMethod(true,"_traemaxcantidad" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 5))))),(Object)(BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2)))))));Debug.locals.put("maxProds", _maxprods);Debug.locals.put("maxProds", _maxprods); + BA.debugLineNum = 453;BA.debugLine="If cant1.Text > maxProds Then cant1.Text = maxP"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, _cant1.runMethod(true,"getText")),BA.numberCast(double.class, _maxprods))) { +_cant1.runMethod(true,"setText",BA.ObjectToCharSequence(_maxprods));}; + BA.debugLineNum = 455;BA.debugLine="cantRechazada = esteTag.Get(4) - cant1.Text"; +Debug.ShouldStop(64); +_cantrechazada = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 4)))),BA.numberCast(double.class, _cant1.runMethod(true,"getText"))}, "-",1, 0));Debug.locals.put("cantRechazada", _cantrechazada); + BA.debugLineNum = 458;BA.debugLine="Log($\"${Subs.traeCantidadRechazada(esteClienteO"; +Debug.ShouldStop(512); +c_historico.__c.runVoidMethod ("LogImpl","822282270",(RemoteObject.concat(RemoteObject.createImmutable(""),c_historico.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_historico._subs.runMethod(true,"_traecantidadrechazada" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.NumberToString(_esteclienteoriginal)),(Object)(_esteprod))))),RemoteObject.createImmutable(", "),c_historico.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_historico._subs.runMethod(true,"_traecantidadvendida" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.NumberToString(_esteclienteoriginal)),(Object)(_esteprod))))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 461;BA.debugLine="LogColor($\"cantRechazada = ${cantRechazada}\"$,"; +Debug.ShouldStop(4096); +c_historico.__c.runVoidMethod ("LogImpl","822282273",(RemoteObject.concat(RemoteObject.createImmutable("cantRechazada = "),c_historico.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cantrechazada))),RemoteObject.createImmutable(""))),c_historico.__c.getField(false,"Colors").getField(true,"Magenta")); + BA.debugLineNum = 462;BA.debugLine="Private estePrecio As String = 0"; +Debug.ShouldStop(8192); +_esteprecio = BA.NumberToString(0);Debug.locals.put("estePrecio", _esteprecio);Debug.locals.put("estePrecio", _esteprecio); + BA.debugLineNum = 463;BA.debugLine="If Subs.traePrecio(esteProd, 1) <> Null Then es"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean("N",c_historico._subs.runMethod(true,"_traeprecio" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_esteprod),(Object)(BA.NumberToString(1))))) { +_esteprecio = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, c_historico._subs.runMethod(true,"_traeprecio" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_esteprod),(Object)(c_historico._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),_cantrechazada}, "*",0, 0));Debug.locals.put("estePrecio", _esteprecio);}; + BA.debugLineNum = 468;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update HIST_VENTAS"; +Debug.ShouldStop(524288); +c_historico._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("update HIST_VENTAS set HVD_PARCIAL = 1, HVD_CANT = ? WHERE HVD_PROID = ? and HVD_CLIENTE in (Select CUENTA from cuentaa)")),(Object)(c_historico.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {_cant1.runMethod(true,"getText"),_esteprod}))))); + BA.debugLineNum = 469;BA.debugLine="Private rr As Cursor = Starter.skmt.ExecQuery($"; +Debug.ShouldStop(1048576); +_rr = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_rr = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_historico._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select count(REP_CLIENTE) as hayRechazo from REPARTO where rep_prodid = '"),c_historico.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_esteprod))),RemoteObject.createImmutable("' and REP_CLIENTE in (Select CUENTA from cuentaa)"))))));Debug.locals.put("rr", _rr);Debug.locals.put("rr", _rr); + BA.debugLineNum = 470;BA.debugLine="rr.Position = 0"; +Debug.ShouldStop(2097152); +_rr.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 472;BA.debugLine="If rr.GetString(\"hayRechazo\") = 0 Then"; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean("=",_rr.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("hayRechazo"))),BA.NumberToString(0))) { + BA.debugLineNum = 473;BA.debugLine="Log(\"INSERTAMOS EN REPARTO\")"; +Debug.ShouldStop(16777216); +c_historico.__c.runVoidMethod ("LogImpl","822282285",RemoteObject.createImmutable("INSERTAMOS EN REPARTO"),0); + BA.debugLineNum = 474;BA.debugLine="Starter.skmt.ExecNonQuery2(\"insert into repart"; +Debug.ShouldStop(33554432); +c_historico._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("insert into reparto(REP_CLIENTE, REP_PRONOMBRE, REP_CANT, REP_COSTO_TOT, REP_FECHA, REP_RECHAZO, REP_PRODID, REP_PRECIO, REP_CLI_ORIG) VALUES (?,?,?,?,?,1,?,?,?) ")),(Object)(c_historico.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {8},new Object[] {_estecliente,_esteprodnombre,BA.NumberToString(0),_esteprecio,_fechareparto,_esteprod,_esteprecio,_estecliente}))))); + BA.debugLineNum = 475;BA.debugLine="Starter.skmt.ExecNonQuery2(\"insert into repart"; +Debug.ShouldStop(67108864); +c_historico._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("insert into reparto(REP_CLIENTE, REP_PRONOMBRE, REP_CANT, REP_COSTO_TOT, REP_FECHA, REP_RECHAZO, REP_PRODID, REP_PRECIO, REP_CLI_ORIG) VALUES (?,?,?,?,?,0,?,?,?) ")),(Object)(c_historico.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {8},new Object[] {_estecliente,_esteprodnombre,BA.NumberToString(_cantrechazada),BA.NumberToString(0),_fechareparto,_esteprod,_esteprecio,_estecliente}))))); + }else +{ BA.debugLineNum = 476;BA.debugLine="Else if esteClienteOriginal = \"0\" Then 'Actuali"; +Debug.ShouldStop(134217728); +if (RemoteObject.solveBoolean("=",_esteclienteoriginal,BA.numberCast(double.class, "0"))) { + }else { + BA.debugLineNum = 480;BA.debugLine="Log($\"Actualizamos REP_CANT RECHAZO = ${cantRe"; +Debug.ShouldStop(-2147483648); +c_historico.__c.runVoidMethod ("LogImpl","822282292",(RemoteObject.concat(RemoteObject.createImmutable("Actualizamos REP_CANT RECHAZO = "),c_historico.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cantrechazada))),RemoteObject.createImmutable(""))),0); + }} +; + BA.debugLineNum = 485;BA.debugLine="If cant1.Text > 0 Then"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, _cant1.runMethod(true,"getText")),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 488;BA.debugLine="Private m As Map"; +Debug.ShouldStop(128); +_m = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");Debug.locals.put("m", _m); + BA.debugLineNum = 489;BA.debugLine="m=CreateMap(\"cant\":cant1.Text, \"cant2\":esteTag"; +Debug.ShouldStop(256); +_m = c_historico.__c.runMethod(false, "createMap", (Object)(new RemoteObject[] {RemoteObject.createImmutable(("cant")),(_cant1.runMethod(true,"getText")),RemoteObject.createImmutable(("cant2")),_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 4))),RemoteObject.createImmutable(("precio")),_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 0))),RemoteObject.createImmutable(("promo")),_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 3))),RemoteObject.createImmutable(("nombre")),(c_historico._subs.runMethod(true,"_traenombre" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2))))))),RemoteObject.createImmutable(("cli_orig")),_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 5)))}));Debug.locals.put("m", _m); + BA.debugLineNum = 491;BA.debugLine="prodsMap.Put(esteTag.Get(2), m)"; +Debug.ShouldStop(1024); +__ref.getField(false,"_prodsmap" /*RemoteObject*/ ).runVoidMethod ("Put",(Object)(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2)))),(Object)((_m.getObject()))); + }; + BA.debugLineNum = 493;BA.debugLine="Log(\"-------------------------------------\")"; +Debug.ShouldStop(4096); +c_historico.__c.runVoidMethod ("LogImpl","822282305",RemoteObject.createImmutable("-------------------------------------"),0); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 496;BA.debugLine="Private bgColor, textColor As Int"; +Debug.ShouldStop(32768); +_bgcolor = RemoteObject.createImmutable(0);Debug.locals.put("bgColor", _bgcolor); +_textcolor = RemoteObject.createImmutable(0);Debug.locals.put("textColor", _textcolor); + BA.debugLineNum = 498;BA.debugLine="If reconstruirPedido Then"; +Debug.ShouldStop(131072); +if (__ref.getField(true,"_reconstruirpedido" /*RemoteObject*/ ).get().booleanValue()) { + BA.debugLineNum = 499;BA.debugLine="Log(\"*********** CUENTAPRODS - SI RECONSTRUIR\")"; +Debug.ShouldStop(262144); +c_historico.__c.runVoidMethod ("LogImpl","822282311",RemoteObject.createImmutable("*********** CUENTAPRODS - SI RECONSTRUIR"),0); + BA.debugLineNum = 500;BA.debugLine="Private newPromo, newPrecio As String"; +Debug.ShouldStop(524288); +_newpromo = RemoteObject.createImmutable("");Debug.locals.put("newPromo", _newpromo); +_newprecio = RemoteObject.createImmutable("");Debug.locals.put("newPrecio", _newprecio); + BA.debugLineNum = 501;BA.debugLine="clv_pedido.Clear"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_clv_pedido" /*RemoteObject*/ ).runVoidMethod ("_clear"); + BA.debugLineNum = 502;BA.debugLine="Log(\"Usamos PRODSMAP\")"; +Debug.ShouldStop(2097152); +c_historico.__c.runVoidMethod ("LogImpl","822282314",RemoteObject.createImmutable("Usamos PRODSMAP"),0); + BA.debugLineNum = 503;BA.debugLine="For Each pr As String In prodsMap.Keys"; +Debug.ShouldStop(4194304); +{ +final RemoteObject group53 = __ref.getField(false,"_prodsmap" /*RemoteObject*/ ).runMethod(false,"Keys"); +final int groupLen53 = group53.runMethod(true,"getSize").get() +;int index53 = 0; +; +for (; index53 < groupLen53;index53++){ +_pr = BA.ObjectToString(group53.runMethod(false,"Get",index53));Debug.locals.put("pr", _pr); +Debug.locals.put("pr", _pr); + BA.debugLineNum = 504;BA.debugLine="Private pr1 As Map = prodsMap.Get(pr)"; +Debug.ShouldStop(8388608); +_pr1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_pr1 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_prodsmap" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((_pr))));Debug.locals.put("pr1", _pr1);Debug.locals.put("pr1", _pr1); + BA.debugLineNum = 505;BA.debugLine="Log(\"PPP: \" & pr & \"|PromoABorrar=\" & promoABor"; +Debug.ShouldStop(16777216); +c_historico.__c.runVoidMethod ("LogImpl","822282317",RemoteObject.concat(RemoteObject.createImmutable("PPP: "),_pr,RemoteObject.createImmutable("|PromoABorrar="),__ref.getField(true,"_promoaborrar" /*RemoteObject*/ ),RemoteObject.createImmutable("|"),_pr1),0); + BA.debugLineNum = 506;BA.debugLine="bgColor = Colors.RGB(177, 200, 249)'azul"; +Debug.ShouldStop(33554432); +_bgcolor = c_historico.__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)));Debug.locals.put("bgColor", _bgcolor); + BA.debugLineNum = 507;BA.debugLine="textColor = Colors.black"; +Debug.ShouldStop(67108864); +_textcolor = c_historico.__c.getField(false,"Colors").getField(true,"Black");Debug.locals.put("textColor", _textcolor); + BA.debugLineNum = 508;BA.debugLine="newPromo = pr1.Get(\"promo\")"; +Debug.ShouldStop(134217728); +_newpromo = BA.ObjectToString(_pr1.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("promo")))));Debug.locals.put("newPromo", _newpromo); + BA.debugLineNum = 509;BA.debugLine="newPrecio = pr1.Get(\"precio\")"; +Debug.ShouldStop(268435456); +_newprecio = BA.ObjectToString(_pr1.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("precio")))));Debug.locals.put("newPrecio", _newprecio); + BA.debugLineNum = 510;BA.debugLine="Log(\"AAA: \" & newPromo & \"|\" & promoABorrar)"; +Debug.ShouldStop(536870912); +c_historico.__c.runVoidMethod ("LogImpl","822282322",RemoteObject.concat(RemoteObject.createImmutable("AAA: "),_newpromo,RemoteObject.createImmutable("|"),__ref.getField(true,"_promoaborrar" /*RemoteObject*/ )),0); + BA.debugLineNum = 511;BA.debugLine="If newPromo = promoABorrar Then"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean("=",_newpromo,__ref.getField(true,"_promoaborrar" /*RemoteObject*/ ))) { + BA.debugLineNum = 512;BA.debugLine="newPromo = 1"; +Debug.ShouldStop(-2147483648); +_newpromo = BA.NumberToString(1);Debug.locals.put("newPromo", _newpromo); + BA.debugLineNum = 513;BA.debugLine="newPrecio = Subs.traePrecio(pr, False) * pr1.G"; +Debug.ShouldStop(1); +_newprecio = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, c_historico._subs.runMethod(true,"_traeprecio" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_pr),(Object)(BA.ObjectToString(c_historico.__c.getField(true,"False"))))),BA.numberCast(double.class, _pr1.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("cant")))))}, "*",0, 0));Debug.locals.put("newPrecio", _newprecio); + BA.debugLineNum = 515;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENTAS"; +Debug.ShouldStop(4); +c_historico._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update HIST_VENTAS set HVD_COSTO_TOT = "),c_historico.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_newprecio))),RemoteObject.createImmutable(", HVD_CODPROMO = '"),c_historico.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_historico._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),RemoteObject.createImmutable("' WHERE HVD_PRONOMBRE = '"),c_historico.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_pr1.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("nombre")))))),RemoteObject.createImmutable("' and HVD_cliente in (Select CUENTA from cuentaa)"))))); + BA.debugLineNum = 516;BA.debugLine="LogColor(\"CAMBIAMOS PROMO: \" & newPromo, Color"; +Debug.ShouldStop(8); +c_historico.__c.runVoidMethod ("LogImpl","822282328",RemoteObject.concat(RemoteObject.createImmutable("CAMBIAMOS PROMO: "),_newpromo),c_historico.__c.getField(false,"Colors").getField(true,"Magenta")); + }; + BA.debugLineNum = 518;BA.debugLine="If newPromo <> \"1\" Then"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean("!",_newpromo,BA.ObjectToString("1"))) { + BA.debugLineNum = 520;BA.debugLine="bgColor = Colors.White"; +Debug.ShouldStop(128); +_bgcolor = c_historico.__c.getField(false,"Colors").getField(true,"White");Debug.locals.put("bgColor", _bgcolor); + }; + BA.debugLineNum = 522;BA.debugLine="Log($\"CLI: ${pr1.Get(\"nombre\")}, ${newPrecio},"; +Debug.ShouldStop(512); +c_historico.__c.runVoidMethod ("LogImpl","822282334",(RemoteObject.concat(RemoteObject.createImmutable("CLI: "),c_historico.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_pr1.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("nombre")))))),RemoteObject.createImmutable(", "),c_historico.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_newprecio))),RemoteObject.createImmutable(", "),c_historico.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_pr1.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("cant")))))),RemoteObject.createImmutable(", "),c_historico.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_pr1.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("cant2")))))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 523;BA.debugLine="clv_pedido.Add(CreateListItem(pr1.Get(\"nombre\")"; +Debug.ShouldStop(1024); +__ref.getField(false,"_clv_pedido" /*RemoteObject*/ ).runVoidMethod ("_add",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), __ref.runClassMethod (reparto_izca.keymon.lat.c_historico.class, "_createlistitem" /*RemoteObject*/ ,(Object)(BA.ObjectToString(_pr1.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("nombre")))))),(Object)(_newprecio),(Object)(BA.numberCast(int.class, _pr1.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("cant")))))),(Object)(BA.numberCast(int.class, _pr1.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("cant2")))))),(Object)(__ref.getField(false,"_clv_pedido" /*RemoteObject*/ ).runMethod(false,"_asview").runMethod(true,"getWidth")),(Object)(c_historico.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 50)))),(Object)(__ref.getField(false,"_bmp" /*RemoteObject*/ )),(Object)(_pr),(Object)(_bgcolor),(Object)(_textcolor),(Object)(_newpromo),(Object)(BA.ObjectToString(_pr1.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("cli_orig"))))))).getObject()),(Object)(_pr1.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("nombre")))))); + BA.debugLineNum = 524;BA.debugLine="reconstruirPedido = False"; +Debug.ShouldStop(2048); +__ref.setField ("_reconstruirpedido" /*RemoteObject*/ ,c_historico.__c.getField(true,"False")); + } +}Debug.locals.put("pr", _pr); +; + BA.debugLineNum = 526;BA.debugLine="promoABorrar = \"\""; +Debug.ShouldStop(8192); +__ref.setField ("_promoaborrar" /*RemoteObject*/ ,BA.ObjectToString("")); + }; + BA.debugLineNum = 528;BA.debugLine="Log($\"Total Prods: ${totalProds}, Total Compra: $"; +Debug.ShouldStop(32768); +c_historico.__c.runVoidMethod ("LogImpl","822282340",(RemoteObject.concat(RemoteObject.createImmutable("Total Prods: "),c_historico.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_totalprods" /*RemoteObject*/ )))),RemoteObject.createImmutable(", Total Compra: $"),c_historico.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("1.2")),(Object)((__ref.getField(true,"_totalcompra" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 529;BA.debugLine="LogColor(\"prodsMap=\" & prodsMap, Colors.Green)"; +Debug.ShouldStop(65536); +c_historico.__c.runVoidMethod ("LogImpl","822282341",RemoteObject.concat(RemoteObject.createImmutable("prodsMap="),__ref.getField(false,"_prodsmap" /*RemoteObject*/ )),c_historico.__c.getField(false,"Colors").getField(true,"Green")); + BA.debugLineNum = 532;BA.debugLine="LogColor(prodsMap, Colors.Blue)"; +Debug.ShouldStop(524288); +c_historico.__c.runVoidMethod ("LogImpl","822282344",BA.ObjectToString(__ref.getField(false,"_prodsmap" /*RemoteObject*/ )),c_historico.__c.getField(false,"Colors").getField(true,"Blue")); + BA.debugLineNum = 533;BA.debugLine="c = Starter.skmt.ExecQuery($\"SELECT sum(HVD_CANT)"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_historico._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.createImmutable("SELECT sum(HVD_CANT) as CANTIDAD FROM HIST_VENTAS WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))))); + BA.debugLineNum = 534;BA.debugLine="Dim cantidad1 As String = 0"; +Debug.ShouldStop(2097152); +_cantidad1 = BA.NumberToString(0);Debug.locals.put("cantidad1", _cantidad1);Debug.locals.put("cantidad1", _cantidad1); + BA.debugLineNum = 535;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 = 536;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 537;BA.debugLine="cantidad1 = c.GetString(\"CANTIDAD\")"; +Debug.ShouldStop(16777216); +_cantidad1 = __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CANTIDAD")));Debug.locals.put("cantidad1", _cantidad1); + BA.debugLineNum = 538;BA.debugLine="L_CANT.Text = Round(cantidad1)"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_l_cant" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_historico.__c.runMethod(true,"Round",(Object)(BA.numberCast(double.class, _cantidad1))))); + }; + BA.debugLineNum = 540;BA.debugLine="c.Close"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 542;BA.debugLine="Dim totalfinal As String = 0"; +Debug.ShouldStop(536870912); +_totalfinal = BA.NumberToString(0);Debug.locals.put("totalfinal", _totalfinal);Debug.locals.put("totalfinal", _totalfinal); + BA.debugLineNum = 543;BA.debugLine="For Each pr As String In prodsMap.Keys"; +Debug.ShouldStop(1073741824); +{ +final RemoteObject group88 = __ref.getField(false,"_prodsmap" /*RemoteObject*/ ).runMethod(false,"Keys"); +final int groupLen88 = group88.runMethod(true,"getSize").get() +;int index88 = 0; +; +for (; index88 < groupLen88;index88++){ +_pr = BA.ObjectToString(group88.runMethod(false,"Get",index88));Debug.locals.put("pr", _pr); +Debug.locals.put("pr", _pr); + BA.debugLineNum = 544;BA.debugLine="Private pr1 As Map = prodsMap.Get(pr)"; +Debug.ShouldStop(-2147483648); +_pr1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_pr1 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_prodsmap" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((_pr))));Debug.locals.put("pr1", _pr1);Debug.locals.put("pr1", _pr1); + BA.debugLineNum = 546;BA.debugLine="Dim x As Cursor = Starter.skmt.ExecQuery($\"SELEC"; +Debug.ShouldStop(2); +_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_historico._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("SELECT CAT_GP_PRECIO FROM CAT_GUNAPROD WHERE CAT_GP_ID = '"),c_historico.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_pr))),RemoteObject.createImmutable("'"))))));Debug.locals.put("x", _x);Debug.locals.put("x", _x); + BA.debugLineNum = 547;BA.debugLine="c = Starter.skmt.ExecQuery($\"SELECT HVD_CANT FRO"; +Debug.ShouldStop(4); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_historico._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("SELECT HVD_CANT FROM HIST_VENTAS WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND HVD_PROID ='"),c_historico.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_pr))),RemoteObject.createImmutable("' ")))))); + BA.debugLineNum = 548;BA.debugLine="Dim cantidady As String = 0"; +Debug.ShouldStop(8); +_cantidady = BA.NumberToString(0);Debug.locals.put("cantidady", _cantidady);Debug.locals.put("cantidady", _cantidady); + BA.debugLineNum = 549;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 = 550;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(32); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 551;BA.debugLine="cantidady = c.GetString(\"HVD_CANT\")"; +Debug.ShouldStop(64); +_cantidady = __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")));Debug.locals.put("cantidady", _cantidady); + }; + BA.debugLineNum = 554;BA.debugLine="If x.RowCount > 0 Then"; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean(">",_x.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 555;BA.debugLine="x.Position = 0"; +Debug.ShouldStop(1024); +_x.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 557;BA.debugLine="Dim preciou As String = x.GetString(\"CAT_GP_PRE"; +Debug.ShouldStop(4096); +_preciou = _x.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_PRECIO")));Debug.locals.put("preciou", _preciou);Debug.locals.put("preciou", _preciou); + BA.debugLineNum = 558;BA.debugLine="Dim costototalhist As String = preciou * canti"; +Debug.ShouldStop(8192); +_costototalhist = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _preciou),BA.numberCast(double.class, _cantidady)}, "*",0, 0));Debug.locals.put("costototalhist", _costototalhist);Debug.locals.put("costototalhist", _costototalhist); + }; + BA.debugLineNum = 561;BA.debugLine="totalfinal = totalfinal + costototalhist"; +Debug.ShouldStop(65536); +_totalfinal = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _totalfinal),BA.numberCast(double.class, _costototalhist)}, "+",1, 0));Debug.locals.put("totalfinal", _totalfinal); + BA.debugLineNum = 562;BA.debugLine="x.Close"; +Debug.ShouldStop(131072); +_x.runVoidMethod ("Close"); + } +}Debug.locals.put("pr", _pr); +; + BA.debugLineNum = 564;BA.debugLine="L_TOTAL.Text = Round2(totalfinal, 2)"; +Debug.ShouldStop(524288); +__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_historico.__c.runMethod(true,"Round2",(Object)(BA.numberCast(double.class, _totalfinal)),(Object)(BA.numberCast(int.class, 2))))); + BA.debugLineNum = 565;BA.debugLine="c.Close"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 567;BA.debugLine="c = Starter.skmt.ExecQuery(\"select COUNT(*) AS CU"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_historico._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select COUNT(*) AS CUANTOS from REPARTO where REP_CLIENTE in (select cuenta from cuentaa) and REP_RECHAZO = '0' and REP_CANT > 0 order by REP_PRONOMBRE")))); + BA.debugLineNum = 568;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 = 569;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 570;BA.debugLine="If c.GetString(\"CUANTOS\") > 0 Then"; +Debug.ShouldStop(33554432); +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 = 572;BA.debugLine="Dim z As Cursor = Starter.skmt.ExecQuery($\"sele"; +Debug.ShouldStop(134217728); +_z = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_z = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_historico._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.createImmutable("select SUM(REP_CANT) AS CANTIDAD , SUM(REP_PRECIO) AS PRECIO from REPARTO where REP_CLIENTE in (select cuenta from cuentaa) and REP_RECHAZO = '0' and REP_CANT > 0 order by REP_PRONOMBRE")))));Debug.locals.put("z", _z);Debug.locals.put("z", _z); + BA.debugLineNum = 573;BA.debugLine="Dim cantidad2 As String = 0"; +Debug.ShouldStop(268435456); +_cantidad2 = BA.NumberToString(0);Debug.locals.put("cantidad2", _cantidad2);Debug.locals.put("cantidad2", _cantidad2); + BA.debugLineNum = 575;BA.debugLine="If z.RowCount > 0 Then"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean(">",_z.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 576;BA.debugLine="z.Position = 0"; +Debug.ShouldStop(-2147483648); +_z.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 577;BA.debugLine="cantidad2= z.GetString(\"CANTIDAD\")"; +Debug.ShouldStop(1); +_cantidad2 = _z.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CANTIDAD")));Debug.locals.put("cantidad2", _cantidad2); + BA.debugLineNum = 580;BA.debugLine="L_CANT.Text = Round((cantidad1 + cantidad2))"; +Debug.ShouldStop(8); +__ref.getField(false,"_l_cant" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_historico.__c.runMethod(true,"Round",(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cantidad1),BA.numberCast(double.class, _cantidad2)}, "+",1, 0)))))); + }; + BA.debugLineNum = 582;BA.debugLine="z.Close"; +Debug.ShouldStop(32); +_z.runVoidMethod ("Close"); + }; + }; + BA.debugLineNum = 590;BA.debugLine="End Sub"; +Debug.ShouldStop(8192); +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_historico) ","c_historico",13,__ref.getField(false, "ba"),__ref,180); +if (RapidSub.canDelegate("gps_locationchanged")) { return __ref.runUserSub(false, "c_historico","gps_locationchanged", __ref, _location1);} +Debug.locals.put("Location1", _location1); + BA.debugLineNum = 180;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; +Debug.ShouldStop(524288); + 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 _initialize(RemoteObject __ref,RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("Initialize (c_historico) ","c_historico",13,__ref.getField(false, "ba"),__ref,43); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "c_historico","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 _l_pcant_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("l_pCant_Click (c_historico) ","c_historico",13,__ref.getField(false, "ba"),__ref,597); +if (RapidSub.canDelegate("l_pcant_click")) { return __ref.runUserSub(false, "c_historico","l_pcant_click", __ref);} + BA.debugLineNum = 597;BA.debugLine="Private Sub l_pCant_Click"; +Debug.ShouldStop(1048576); + BA.debugLineNum = 599;BA.debugLine="End Sub"; +Debug.ShouldStop(4194304); +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_historico) ","c_historico",13,__ref.getField(false, "ba"),__ref,197); +if (RapidSub.canDelegate("listview1_itemlongclick")) { return __ref.runUserSub(false, "c_historico","listview1_itemlongclick", __ref, _position, _value);} +Debug.locals.put("Position", _position); +Debug.locals.put("Value", _value); + BA.debugLineNum = 197;BA.debugLine="Sub ListView1_ItemLongClick (Position As Int, Valu"; +Debug.ShouldStop(16); + 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 _lv2_itemclick(RemoteObject __ref,RemoteObject _position,RemoteObject _value) throws Exception{ +try { + Debug.PushSubsStack("lv2_ItemClick (c_historico) ","c_historico",13,__ref.getField(false, "ba"),__ref,243); +if (RapidSub.canDelegate("lv2_itemclick")) { return __ref.runUserSub(false, "c_historico","lv2_itemclick", __ref, _position, _value);} +Debug.locals.put("Position", _position); +Debug.locals.put("Value", _value); + BA.debugLineNum = 243;BA.debugLine="Sub lv2_ItemClick (Position As Int, Value As Objec"; +Debug.ShouldStop(262144); + BA.debugLineNum = 304;BA.debugLine="End Sub"; +Debug.ShouldStop(32768); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _p_prods_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("p_prods_Click (c_historico) ","c_historico",13,__ref.getField(false, "ba"),__ref,601); +if (RapidSub.canDelegate("p_prods_click")) { return __ref.runUserSub(false, "c_historico","p_prods_click", __ref);} + BA.debugLineNum = 601;BA.debugLine="Sub p_prods_Click"; +Debug.ShouldStop(16777216); + BA.debugLineNum = 602;BA.debugLine="Log(Sender.As(Panel).tag)"; +Debug.ShouldStop(33554432); +c_historico.__c.runVoidMethod ("LogImpl","822478849",BA.ObjectToString((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.PanelWrapper"), c_historico.__c.runMethod(false,"Sender",__ref.getField(false, "ba")))).runMethod(false,"getTag")),0); + BA.debugLineNum = 603;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/reparto_izca/keymon/lat/c_mapas.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_mapas.java new file mode 100644 index 0000000..a0acf70 --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_mapas.java @@ -0,0 +1,33 @@ + +package reparto_izca.keymon.lat; + +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 reparto_izca.keymon.lat.main _main = null; +public static reparto_izca.keymon.lat.appupdater _appupdater = null; +public static reparto_izca.keymon.lat.subs _subs = null; +public static reparto_izca.keymon.lat.foto _foto = null; +public static reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public static reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public static reparto_izca.keymon.lat.starter _starter = null; +public static reparto_izca.keymon.lat.tracker _tracker = null; +public static reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public static reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public static reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public static reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public static reparto_izca.keymon.lat.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/reparto_izca/keymon/lat/c_mapas_subs_0.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_mapas_subs_0.java new file mode 100644 index 0000000..5935c2a --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_mapas_subs_0.java @@ -0,0 +1,59 @@ +package reparto_izca.keymon.lat; + +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",14,__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",14,__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/reparto_izca/keymon/lat/c_noventa.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_noventa.java new file mode 100644 index 0000000..1be3bea --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_noventa.java @@ -0,0 +1,60 @@ + +package reparto_izca.keymon.lat; + +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 _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _comentario = RemoteObject.createImmutable(""); +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 _r_4 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _p_principal = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _d = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _reqmanager = RemoteObject.declareNull("reparto_izca.keymon.lat.dbrequestmanager"); +public static RemoteObject _cb_reprogramar = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _reprogramar = RemoteObject.createImmutable(0); +public static RemoteObject _pasa_imp = RemoteObject.createImmutable(""); +public static RemoteObject _printer1 = RemoteObject.declareNull("reparto_izca.keymon.lat.escposprinter"); +public static RemoteObject _impresoraconectada = RemoteObject.createImmutable(false); +public static RemoteObject _errorimpresora = RemoteObject.createImmutable(0); +public static RemoteObject _cmp20 = RemoteObject.declareNull("anywheresoftware.b4a.objects.Serial"); +public static RemoteObject _btadmin = RemoteObject.declareNull("anywheresoftware.b4a.objects.Serial.BluetoothAdmin"); +public static RemoteObject _printer = RemoteObject.declareNull("anywheresoftware.b4a.objects.streams.File.TextWriterWrapper"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static reparto_izca.keymon.lat.main _main = null; +public static reparto_izca.keymon.lat.appupdater _appupdater = null; +public static reparto_izca.keymon.lat.subs _subs = null; +public static reparto_izca.keymon.lat.foto _foto = null; +public static reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public static reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public static reparto_izca.keymon.lat.starter _starter = null; +public static reparto_izca.keymon.lat.tracker _tracker = null; +public static reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public static reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public static reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public static reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public static reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"btAdmin",_ref.getField(false, "_btadmin"),"c",_ref.getField(false, "_c"),"CANCELA",_ref.getField(false, "_cancela"),"cb_reprogramar",_ref.getField(false, "_cb_reprogramar"),"cmp20",_ref.getField(false, "_cmp20"),"COMENTARIO",_ref.getField(false, "_comentario"),"cuenta",_ref.getField(false, "_cuenta"),"d",_ref.getField(false, "_d"),"DateUtils",_ref.getField(false, "_dateutils"),"e_comm",_ref.getField(false, "_e_comm"),"errorImpresora",_ref.getField(false, "_errorimpresora"),"g",_ref.getField(false, "_g"),"GUARDA",_ref.getField(false, "_guarda"),"impresoraConectada",_ref.getField(false, "_impresoraconectada"),"motivo",_ref.getField(false, "_motivo"),"p_principal",_ref.getField(false, "_p_principal"),"PASA_IMP",_ref.getField(false, "_pasa_imp"),"printer",_ref.getField(false, "_printer"),"Printer1",_ref.getField(false, "_printer1"),"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"),"reprogramar",_ref.getField(false, "_reprogramar"),"reqManager",_ref.getField(false, "_reqmanager"),"Root",_ref.getField(false, "_root"),"sDate",_ref.getField(false, "_sdate"),"sTime",_ref.getField(false, "_stime"),"usuario",_ref.getField(false, "_usuario"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_noventa_subs_0.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_noventa_subs_0.java new file mode 100644 index 0000000..857510e --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_noventa_subs_0.java @@ -0,0 +1,1293 @@ +package reparto_izca.keymon.lat; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class c_noventa_subs_0 { + + +public static void _b_imp_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B_IMP_Click (c_noventa) ","c_noventa",15,__ref.getField(false, "ba"),__ref,143); +if (RapidSub.canDelegate("b_imp_click")) { __ref.runUserSub(false, "c_noventa","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(reparto_izca.keymon.lat.c_noventa parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +reparto_izca.keymon.lat.c_noventa parent; +RemoteObject _cont = RemoteObject.createImmutable(0); +RemoteObject _clientecur = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _resultado = RemoteObject.createImmutable(0); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("B_IMP_Click (c_noventa) ","c_noventa",15,__ref.getField(false, "ba"),__ref,143); +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 = 144;BA.debugLine="c=Starter.skmt.ExecQuery(\"select USUARIO from usu"; +Debug.ShouldStop(32768); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select USUARIO from usuarioa")))); + BA.debugLineNum = 145;BA.debugLine="c.Position=0"; +Debug.ShouldStop(65536); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 146;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 = 148;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(524288); +parent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 149;BA.debugLine="DateTime.TimeFormat=\"HH:mm:ss\""; +Debug.ShouldStop(1048576); +parent.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HH:mm:ss")); + BA.debugLineNum = 150;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(2097152); +__ref.setField ("_sdate" /*RemoteObject*/ ,parent.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(parent.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 151;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(4194304); +__ref.setField ("_stime" /*RemoteObject*/ ,parent.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(parent.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 152;BA.debugLine="c.Close"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 158;BA.debugLine="ProgressDialogShow(\"Imprimiendo, un momento ...\")"; +Debug.ShouldStop(536870912); +parent.__c.runVoidMethod ("ProgressDialogShow",__ref.getField(false, "ba"),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Imprimiendo, un momento ...")))); + BA.debugLineNum = 159;BA.debugLine="Printer1.DisConnect"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_disconnect" /*RemoteObject*/ ); + BA.debugLineNum = 160;BA.debugLine="If Not(Printer1.IsConnected) Then"; +Debug.ShouldStop(-2147483648); +if (true) break; + +case 1: +//if +this.state = 38; +if (parent.__c.runMethod(true,"Not",(Object)(__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_isconnected" /*RemoteObject*/ ))).get().booleanValue()) { +this.state = 3; +}else { +this.state = 21; +}if (true) break; + +case 3: +//C +this.state = 4; + BA.debugLineNum = 162;BA.debugLine="Printer1.Connect"; +Debug.ShouldStop(2); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_connect" /*RemoteObject*/ ); + BA.debugLineNum = 163;BA.debugLine="Private cont As Int = 0"; +Debug.ShouldStop(4); +_cont = BA.numberCast(int.class, 0);Debug.locals.put("cont", _cont);Debug.locals.put("cont", _cont); + BA.debugLineNum = 164;BA.debugLine="Do While Not(impresoraConectada)"; +Debug.ShouldStop(8); +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 = 165;BA.debugLine="Sleep(1000)"; +Debug.ShouldStop(16); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_noventa", "b_imp_click"),BA.numberCast(int.class, 1000)); +this.state = 55; +return; +case 55: +//C +this.state = 7; +; + BA.debugLineNum = 167;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 = 168;BA.debugLine="If cont = 2 Then Printer1.Connect 'Tratamos de"; +Debug.ShouldStop(128); +if (true) break; + +case 7: +//if +this.state = 12; +if (RemoteObject.solveBoolean("=",_cont,BA.numberCast(double.class, 2))) { +this.state = 9; +;}if (true) break; + +case 9: +//C +this.state = 12; +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_connect" /*RemoteObject*/ ); +if (true) break; + +case 12: +//C +this.state = 13; +; + BA.debugLineNum = 169;BA.debugLine="If cont > 3 Then impresoraConectada = True"; +Debug.ShouldStop(256); +if (true) break; + +case 13: +//if +this.state = 18; +if (RemoteObject.solveBoolean(">",_cont,BA.numberCast(double.class, 3))) { +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 = 171;BA.debugLine="Sleep(500)"; +Debug.ShouldStop(1024); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_noventa", "b_imp_click"),BA.numberCast(int.class, 500)); +this.state = 56; +return; +case 56: +//C +this.state = 38; +; + BA.debugLineNum = 172;BA.debugLine="impresoraConectada = False"; +Debug.ShouldStop(2048); +__ref.setField ("_impresoraconectada" /*RemoteObject*/ ,parent.__c.getField(true,"False")); + if (true) break; + +case 21: +//C +this.state = 22; + BA.debugLineNum = 175;BA.debugLine="Printer1.Connect"; +Debug.ShouldStop(16384); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_connect" /*RemoteObject*/ ); + BA.debugLineNum = 176;BA.debugLine="Private cont As Int = 0"; +Debug.ShouldStop(32768); +_cont = BA.numberCast(int.class, 0);Debug.locals.put("cont", _cont);Debug.locals.put("cont", _cont); + BA.debugLineNum = 177;BA.debugLine="Do While Not(impresoraConectada) Or Not(Printer1"; +Debug.ShouldStop(65536); +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 (reparto_izca.keymon.lat.escposprinter.class, "_isconnected" /*RemoteObject*/ ))))) { +this.state = 24; +if (true) break; +} +if (true) break; + +case 24: +//C +this.state = 25; + BA.debugLineNum = 178;BA.debugLine="Sleep(1000)"; +Debug.ShouldStop(131072); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_noventa", "b_imp_click"),BA.numberCast(int.class, 1000)); +this.state = 57; +return; +case 57: +//C +this.state = 25; +; + BA.debugLineNum = 180;BA.debugLine="cont = cont + 1"; +Debug.ShouldStop(524288); +_cont = RemoteObject.solve(new RemoteObject[] {_cont,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("cont", _cont); + BA.debugLineNum = 181;BA.debugLine="If cont = 2 Then Printer1.Connect"; +Debug.ShouldStop(1048576); +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 (reparto_izca.keymon.lat.escposprinter.class, "_connect" /*RemoteObject*/ ); +if (true) break; + +case 30: +//C +this.state = 31; +; + BA.debugLineNum = 182;BA.debugLine="If cont > 3 Then impresoraConectada = True"; +Debug.ShouldStop(2097152); +if (true) break; + +case 31: +//if +this.state = 36; +if (RemoteObject.solveBoolean(">",_cont,BA.numberCast(double.class, 3))) { +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 = 184;BA.debugLine="Sleep(500)"; +Debug.ShouldStop(8388608); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_noventa", "b_imp_click"),BA.numberCast(int.class, 500)); +this.state = 58; +return; +case 58: +//C +this.state = 38; +; + BA.debugLineNum = 185;BA.debugLine="impresoraConectada = False"; +Debug.ShouldStop(16777216); +__ref.setField ("_impresoraconectada" /*RemoteObject*/ ,parent.__c.getField(true,"False")); + if (true) break; + +case 38: +//C +this.state = 39; +; + BA.debugLineNum = 189;BA.debugLine="Printer1.WriteString(\"Izca Distribuciones\" & CRL"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Izca Distribuciones"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 191;BA.debugLine="Printer1.WriteString(\"Vendedor:\" & usuario & CRL"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Vendedor:"),__ref.getField(true,"_usuario" /*RemoteObject*/ ),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 194;BA.debugLine="Dim clientecur As Cursor = Starter.skmt.ExecQuery"; +Debug.ShouldStop(2); +_clientecur = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_clientecur = 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 CAT_CL_NOMBRE FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))));Debug.locals.put("clientecur", _clientecur);Debug.locals.put("clientecur", _clientecur); + BA.debugLineNum = 195;BA.debugLine="clientecur.Position = 0"; +Debug.ShouldStop(4); +_clientecur.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 197;BA.debugLine="Printer1.WriteString(\"ID.Cliente: \" & Subs.traeC"; +Debug.ShouldStop(16); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("ID.Cliente: "),parent._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba")),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 199;BA.debugLine="Printer1.WriteString(\"Tienda: \" & clientecur.GetS"; +Debug.ShouldStop(64); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Tienda: "),_clientecur.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_NOMBRE"))),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 201;BA.debugLine="Printer1.WriteString(sDate &\" \"& sTime & CRLF)"; +Debug.ShouldStop(256); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__ref.getField(true,"_stime" /*RemoteObject*/ ),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 202;BA.debugLine="If r_1.Checked Then"; +Debug.ShouldStop(512); +if (true) break; + +case 39: +//if +this.state = 48; +if (__ref.getField(false,"_r_1" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +this.state = 41; +}else +{ BA.debugLineNum = 204;BA.debugLine="Else If r_2.Checked Then"; +Debug.ShouldStop(2048); +if (__ref.getField(false,"_r_2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +this.state = 43; +}else +{ BA.debugLineNum = 206;BA.debugLine="Else If r_3.Checked Then"; +Debug.ShouldStop(8192); +if (__ref.getField(false,"_r_3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +this.state = 45; +}else { +this.state = 47; +}}} +if (true) break; + +case 41: +//C +this.state = 48; + BA.debugLineNum = 203;BA.debugLine="motivo = \"CERRADO\""; +Debug.ShouldStop(1024); +__ref.setField ("_motivo" /*RemoteObject*/ ,BA.ObjectToString("CERRADO")); + if (true) break; + +case 43: +//C +this.state = 48; + BA.debugLineNum = 205;BA.debugLine="motivo = \"NO PIDIO\""; +Debug.ShouldStop(4096); +__ref.setField ("_motivo" /*RemoteObject*/ ,BA.ObjectToString("NO PIDIO")); + if (true) break; + +case 45: +//C +this.state = 48; + BA.debugLineNum = 207;BA.debugLine="motivo = \"CANCELA\""; +Debug.ShouldStop(16384); +__ref.setField ("_motivo" /*RemoteObject*/ ,BA.ObjectToString("CANCELA")); + if (true) break; + +case 47: +//C +this.state = 48; + BA.debugLineNum = 209;BA.debugLine="motivo = \"NO ESTA EL ENCARGADO\""; +Debug.ShouldStop(65536); +__ref.setField ("_motivo" /*RemoteObject*/ ,BA.ObjectToString("NO ESTA EL ENCARGADO")); + if (true) break; + +case 48: +//C +this.state = 49; +; + BA.debugLineNum = 211;BA.debugLine="Printer1.WriteString(motivo & CRLF)"; +Debug.ShouldStop(262144); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_motivo" /*RemoteObject*/ ),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 215;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 216;BA.debugLine="Printer1.WriteString(\"--------INFORMATIVO--------"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("--------INFORMATIVO-----------"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 217;BA.debugLine="Printer1.WriteString(\"---------------------------"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("------------------------------"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 218;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 219;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 220;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 221;BA.debugLine="Sleep(1000)"; +Debug.ShouldStop(268435456); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_noventa", "b_imp_click"),BA.numberCast(int.class, 1000)); +this.state = 59; +return; +case 59: +//C +this.state = 49; +; + BA.debugLineNum = 222;BA.debugLine="Printer1.DisConnect"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_disconnect" /*RemoteObject*/ ); + BA.debugLineNum = 224;BA.debugLine="ProgressDialogHide"; +Debug.ShouldStop(-2147483648); +parent.__c.runVoidMethod ("ProgressDialogHide"); + BA.debugLineNum = 226;BA.debugLine="Msgbox2Async(\"Deseas imprimir de nuevo el ticket?"; +Debug.ShouldStop(2); +parent.__c.runVoidMethod ("Msgbox2Async",(Object)(BA.ObjectToCharSequence("Deseas imprimir de nuevo el ticket?")),(Object)(BA.ObjectToCharSequence("ATENCION")),(Object)(BA.ObjectToString("SI")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("NO")),(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 = 227;BA.debugLine="Wait For Msgbox_Result (resultado As Int)"; +Debug.ShouldStop(4); +parent.__c.runVoidMethod ("WaitFor","msgbox_result", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_noventa", "b_imp_click"), null); +this.state = 60; +return; +case 60: +//C +this.state = 49; +_resultado = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("resultado", _resultado); +; + BA.debugLineNum = 228;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; +Debug.ShouldStop(8); +if (true) break; + +case 49: +//if +this.state = 54; +if (RemoteObject.solveBoolean("=",_resultado,BA.numberCast(double.class, parent.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { +this.state = 51; +}else { +this.state = 53; +}if (true) break; + +case 51: +//C +this.state = 54; + BA.debugLineNum = 229;BA.debugLine="B_IMP_Click"; +Debug.ShouldStop(16); +__ref.runClassMethod (reparto_izca.keymon.lat.c_noventa.class, "_b_imp_click" /*void*/ ); + if (true) break; + +case 53: +//C +this.state = 54; + BA.debugLineNum = 231;BA.debugLine="Guardado"; +Debug.ShouldStop(64); +__ref.runClassMethod (reparto_izca.keymon.lat.c_noventa.class, "_guardado" /*RemoteObject*/ ); + if (true) break; + +case 54: +//C +this.state = -1; +; + BA.debugLineNum = 233;BA.debugLine="End Sub"; +Debug.ShouldStop(256); +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 _b4xpage_appear(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_Appear (c_noventa) ","c_noventa",15,__ref.getField(false, "ba"),__ref,47); +if (RapidSub.canDelegate("b4xpage_appear")) { return __ref.runUserSub(false, "c_noventa","b4xpage_appear", __ref);} + BA.debugLineNum = 47;BA.debugLine="Sub B4XPage_Appear"; +Debug.ShouldStop(16384); + BA.debugLineNum = 48;BA.debugLine="Printer1.Initialize(Me, \"Printer1\")"; +Debug.ShouldStop(32768); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref),(Object)(RemoteObject.createImmutable("Printer1"))); + BA.debugLineNum = 50;BA.debugLine="If Printer1.IsConnected = False Then"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_isconnected" /*RemoteObject*/ ),c_noventa.__c.getField(true,"False"))) { + }else { + BA.debugLineNum = 54;BA.debugLine="Printer1.DisConnect"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_disconnect" /*RemoteObject*/ ); + BA.debugLineNum = 55;BA.debugLine="Printer1.Connect"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_connect" /*RemoteObject*/ ); + BA.debugLineNum = 56;BA.debugLine="Log(\"2\")"; +Debug.ShouldStop(8388608); +c_noventa.__c.runVoidMethod ("LogImpl","822937609",RemoteObject.createImmutable("2"),0); + }; + BA.debugLineNum = 58;BA.debugLine="btAdmin.Initialize(\"BlueTeeth\")"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_btadmin" /*RemoteObject*/ ).runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("BlueTeeth"))); + BA.debugLineNum = 59;BA.debugLine="cmp20.Initialize(\"Printer\")"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_cmp20" /*RemoteObject*/ ).runVoidMethod ("Initialize",(Object)(RemoteObject.createImmutable("Printer"))); + BA.debugLineNum = 61;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.SERVE"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref),(Object)(c_noventa._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_server" /*RemoteObject*/ ))); + BA.debugLineNum = 62;BA.debugLine="e_comm.Text=\"\""; +Debug.ShouldStop(536870912); +__ref.getField(false,"_e_comm" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 63;BA.debugLine="r_1.Checked = False"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_r_1" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_noventa.__c.getField(true,"False")); + BA.debugLineNum = 64;BA.debugLine="r_2.Checked = False"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_r_2" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_noventa.__c.getField(true,"False")); + BA.debugLineNum = 65;BA.debugLine="r_3.Checked = False"; +Debug.ShouldStop(1); +__ref.getField(false,"_r_3" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_noventa.__c.getField(true,"False")); + BA.debugLineNum = 66;BA.debugLine="r_4.Checked = False"; +Debug.ShouldStop(2); +__ref.getField(false,"_r_4" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_noventa.__c.getField(true,"False")); + BA.debugLineNum = 67;BA.debugLine="cb_reprogramar.Checked = False"; +Debug.ShouldStop(4); +__ref.getField(false,"_cb_reprogramar" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_noventa.__c.getField(true,"False")); + BA.debugLineNum = 68;BA.debugLine="End Sub"; +Debug.ShouldStop(8); +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",15,__ref.getField(false, "ba"),__ref,38); +if (RapidSub.canDelegate("b4xpage_created")) { return __ref.runUserSub(false, "c_noventa","b4xpage_created", __ref, _root1);} +Debug.locals.put("Root1", _root1); + BA.debugLineNum = 38;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +Debug.ShouldStop(32); + BA.debugLineNum = 39;BA.debugLine="Root = Root1"; +Debug.ShouldStop(64); +__ref.setField ("_root" /*RemoteObject*/ ,_root1); + BA.debugLineNum = 41;BA.debugLine="Root.LoadLayout(\"no_venta\")"; +Debug.ShouldStop(256); +__ref.getField(false,"_root" /*RemoteObject*/ ).runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("no_venta")),__ref.getField(false, "ba")); + BA.debugLineNum = 42;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.SERVE"; +Debug.ShouldStop(512); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref),(Object)(c_noventa._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_server" /*RemoteObject*/ ))); + BA.debugLineNum = 43;BA.debugLine="End Sub"; +Debug.ShouldStop(1024); +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",15,__ref.getField(false, "ba"),__ref,75); +if (RapidSub.canDelegate("cancela_click")) { return __ref.runUserSub(false, "c_noventa","cancela_click", __ref);} + BA.debugLineNum = 75;BA.debugLine="Sub CANCELA_Click"; +Debug.ShouldStop(1024); + BA.debugLineNum = 76;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +Debug.ShouldStop(2048); +c_noventa._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Cliente"))); + BA.debugLineNum = 77;BA.debugLine="End Sub"; +Debug.ShouldStop(4096); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _cb_reprogramar_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("cb_reprogramar_CheckedChange (c_noventa) ","c_noventa",15,__ref.getField(false, "ba"),__ref,134); +if (RapidSub.canDelegate("cb_reprogramar_checkedchange")) { return __ref.runUserSub(false, "c_noventa","cb_reprogramar_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 134;BA.debugLine="Private Sub cb_reprogramar_CheckedChange(Checked A"; +Debug.ShouldStop(32); + BA.debugLineNum = 135;BA.debugLine="If Checked Then"; +Debug.ShouldStop(64); +if (_checked.get().booleanValue()) { + BA.debugLineNum = 136;BA.debugLine="reprogramar = 1"; +Debug.ShouldStop(128); +__ref.setField ("_reprogramar" /*RemoteObject*/ ,BA.numberCast(int.class, 1)); + }else { + BA.debugLineNum = 138;BA.debugLine="reprogramar = 0"; +Debug.ShouldStop(512); +__ref.setField ("_reprogramar" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + }; + BA.debugLineNum = 140;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_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 = 4;BA.debugLine="Dim g As GPS"; +c_noventa._g = RemoteObject.createNew ("anywheresoftware.b4a.gps.GPS");__ref.setField("_g",c_noventa._g); + //BA.debugLineNum = 5;BA.debugLine="Dim c As Cursor"; +c_noventa._c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_c",c_noventa._c); + //BA.debugLineNum = 6;BA.debugLine="Dim COMENTARIO As String"; +c_noventa._comentario = RemoteObject.createImmutable("");__ref.setField("_comentario",c_noventa._comentario); + //BA.debugLineNum = 7;BA.debugLine="Dim CANCELA As Button"; +c_noventa._cancela = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_cancela",c_noventa._cancela); + //BA.debugLineNum = 8;BA.debugLine="Dim GUARDA As Button"; +c_noventa._guarda = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_guarda",c_noventa._guarda); + //BA.debugLineNum = 9;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 = 10;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 = 11;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 = 12;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 = 13;BA.debugLine="Dim motivo As String"; +c_noventa._motivo = RemoteObject.createImmutable("");__ref.setField("_motivo",c_noventa._motivo); + //BA.debugLineNum = 14;BA.debugLine="Dim cuenta As String"; +c_noventa._cuenta = RemoteObject.createImmutable("");__ref.setField("_cuenta",c_noventa._cuenta); + //BA.debugLineNum = 15;BA.debugLine="Dim usuario As String"; +c_noventa._usuario = RemoteObject.createImmutable("");__ref.setField("_usuario",c_noventa._usuario); + //BA.debugLineNum = 16;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 = 17;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 = 18;BA.debugLine="Private p_principal As Panel"; +c_noventa._p_principal = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_principal",c_noventa._p_principal); + //BA.debugLineNum = 19;BA.debugLine="Dim d As Cursor"; +c_noventa._d = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_d",c_noventa._d); + //BA.debugLineNum = 20;BA.debugLine="Dim reqManager As DBRequestManager"; +c_noventa._reqmanager = RemoteObject.createNew ("reparto_izca.keymon.lat.dbrequestmanager");__ref.setField("_reqmanager",c_noventa._reqmanager); + //BA.debugLineNum = 21;BA.debugLine="Private cb_reprogramar As CheckBox"; +c_noventa._cb_reprogramar = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_cb_reprogramar",c_noventa._cb_reprogramar); + //BA.debugLineNum = 22;BA.debugLine="Dim reprogramar As Int = 0"; +c_noventa._reprogramar = BA.numberCast(int.class, 0);__ref.setField("_reprogramar",c_noventa._reprogramar); + //BA.debugLineNum = 23;BA.debugLine="Dim PASA_IMP As String"; +c_noventa._pasa_imp = RemoteObject.createImmutable("");__ref.setField("_pasa_imp",c_noventa._pasa_imp); + //BA.debugLineNum = 24;BA.debugLine="Dim Printer1 As EscPosPrinter"; +c_noventa._printer1 = RemoteObject.createNew ("reparto_izca.keymon.lat.escposprinter");__ref.setField("_printer1",c_noventa._printer1); + //BA.debugLineNum = 25;BA.debugLine="Dim impresoraConectada As Boolean = False"; +c_noventa._impresoraconectada = c_noventa.__c.getField(true,"False");__ref.setField("_impresoraconectada",c_noventa._impresoraconectada); + //BA.debugLineNum = 26;BA.debugLine="Dim errorImpresora As Int = 0"; +c_noventa._errorimpresora = BA.numberCast(int.class, 0);__ref.setField("_errorimpresora",c_noventa._errorimpresora); + //BA.debugLineNum = 27;BA.debugLine="Dim cmp20 As Serial"; +c_noventa._cmp20 = RemoteObject.createNew ("anywheresoftware.b4a.objects.Serial");__ref.setField("_cmp20",c_noventa._cmp20); + //BA.debugLineNum = 28;BA.debugLine="Dim btAdmin As BluetoothAdmin"; +c_noventa._btadmin = RemoteObject.createNew ("anywheresoftware.b4a.objects.Serial.BluetoothAdmin");__ref.setField("_btadmin",c_noventa._btadmin); + //BA.debugLineNum = 29;BA.debugLine="Dim printer As TextWriter"; +c_noventa._printer = RemoteObject.createNew ("anywheresoftware.b4a.objects.streams.File.TextWriterWrapper");__ref.setField("_printer",c_noventa._printer); + //BA.debugLineNum = 30;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",15,__ref.getField(false, "ba"),__ref,70); +if (RapidSub.canDelegate("gps_locationchanged")) { return __ref.runUserSub(false, "c_noventa","gps_locationchanged", __ref, _location1);} +Debug.locals.put("Location1", _location1); + BA.debugLineNum = 70;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; +Debug.ShouldStop(32); + BA.debugLineNum = 73;BA.debugLine="End Sub"; +Debug.ShouldStop(256); +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",15,__ref.getField(false, "ba"),__ref,79); +if (RapidSub.canDelegate("guarda_click")) { return __ref.runUserSub(false, "c_noventa","guarda_click", __ref);} + BA.debugLineNum = 79;BA.debugLine="Sub GUARDA_Click"; +Debug.ShouldStop(16384); + BA.debugLineNum = 80;BA.debugLine="If r_1.Checked = False And r_2.Checked = False An"; +Debug.ShouldStop(32768); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_r_1" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_noventa.__c.getField(true,"False")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_r_2" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_noventa.__c.getField(true,"False")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_r_3" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_noventa.__c.getField(true,"False")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_r_4" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_noventa.__c.getField(true,"False"))) { + BA.debugLineNum = 81;BA.debugLine="MsgboxAsync(\"Selecciona un motivo de rechazo\",\"A"; +Debug.ShouldStop(65536); +c_noventa.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Selecciona un motivo de rechazo")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + }else { + BA.debugLineNum = 83;BA.debugLine="B_IMP_Click"; +Debug.ShouldStop(262144); +__ref.runClassMethod (reparto_izca.keymon.lat.c_noventa.class, "_b_imp_click" /*void*/ ); + }; + 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 _guardado(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Guardado (c_noventa) ","c_noventa",15,__ref.getField(false, "ba"),__ref,235); +if (RapidSub.canDelegate("guardado")) { return __ref.runUserSub(false, "c_noventa","guardado", __ref);} +RemoteObject _rutaactualizar = RemoteObject.createImmutable(""); +RemoteObject _rut = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _estecliente = RemoteObject.createImmutable(""); +RemoteObject _rv = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +int _i2 = 0; +int _i = 0; +RemoteObject _ruta = RemoteObject.createImmutable(""); +RemoteObject _rutapre = RemoteObject.createImmutable(""); +RemoteObject _fechaprev = RemoteObject.createImmutable(""); + BA.debugLineNum = 235;BA.debugLine="Sub Guardado"; +Debug.ShouldStop(1024); + BA.debugLineNum = 237;BA.debugLine="If r_1.Checked Then"; +Debug.ShouldStop(4096); +if (__ref.getField(false,"_r_1" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { + BA.debugLineNum = 238;BA.debugLine="motivo = \"CERRADO\""; +Debug.ShouldStop(8192); +__ref.setField ("_motivo" /*RemoteObject*/ ,BA.ObjectToString("CERRADO")); + }else +{ BA.debugLineNum = 239;BA.debugLine="Else If r_2.Checked Then"; +Debug.ShouldStop(16384); +if (__ref.getField(false,"_r_2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { + BA.debugLineNum = 240;BA.debugLine="motivo = \"NO PIDIO\""; +Debug.ShouldStop(32768); +__ref.setField ("_motivo" /*RemoteObject*/ ,BA.ObjectToString("NO PIDIO")); + }else +{ BA.debugLineNum = 241;BA.debugLine="Else If r_3.Checked Then"; +Debug.ShouldStop(65536); +if (__ref.getField(false,"_r_3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { + BA.debugLineNum = 242;BA.debugLine="motivo = \"CANCELA\""; +Debug.ShouldStop(131072); +__ref.setField ("_motivo" /*RemoteObject*/ ,BA.ObjectToString("CANCELA")); + }else { + BA.debugLineNum = 244;BA.debugLine="motivo = \"NO ESTA EL ENCARGADO\""; +Debug.ShouldStop(524288); +__ref.setField ("_motivo" /*RemoteObject*/ ,BA.ObjectToString("NO ESTA EL ENCARGADO")); + }}} +; + BA.debugLineNum = 247;BA.debugLine="If motivo <> \"CERRADO\" Or motivo = \"CERRADO\" The"; +Debug.ShouldStop(4194304); +if (RemoteObject.solveBoolean("!",__ref.getField(true,"_motivo" /*RemoteObject*/ ),BA.ObjectToString("CERRADO")) || RemoteObject.solveBoolean("=",__ref.getField(true,"_motivo" /*RemoteObject*/ ),BA.ObjectToString("CERRADO"))) { + BA.debugLineNum = 248;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(8388608); +c_noventa.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 249;BA.debugLine="DateTime.TimeFormat=\"HHmmss\""; +Debug.ShouldStop(16777216); +c_noventa.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HHmmss")); + BA.debugLineNum = 250;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(33554432); +__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 = 251;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(67108864); +__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 = 252;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CUENTA from cue"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_noventa._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CUENTA from cuentaa")))); + BA.debugLineNum = 253;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 254;BA.debugLine="cuenta = c.GetString(\"CUENTA\")"; +Debug.ShouldStop(536870912); +__ref.setField ("_cuenta" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA")))); + BA.debugLineNum = 255;BA.debugLine="c=Starter.skmt.ExecQuery(\"select usuario from us"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_noventa._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select usuario from usuarioa")))); + BA.debugLineNum = 256;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 257;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +Debug.ShouldStop(1); +__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO")))); + BA.debugLineNum = 258;BA.debugLine="c.Close"; +Debug.ShouldStop(2); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 259;BA.debugLine="Dim rutaactualizar As String"; +Debug.ShouldStop(4); +_rutaactualizar = RemoteObject.createImmutable("");Debug.locals.put("rutaactualizar", _rutaactualizar); + BA.debugLineNum = 260;BA.debugLine="Dim rut As Cursor = Starter.skmt.ExecQuery(\"SELE"; +Debug.ShouldStop(8); +_rut = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_rut = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_noventa._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT CAT_CL_RUTA FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))));Debug.locals.put("rut", _rut);Debug.locals.put("rut", _rut); + BA.debugLineNum = 261;BA.debugLine="If rut.RowCount > 0 Then"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean(">",_rut.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 262;BA.debugLine="rut.Position = 0"; +Debug.ShouldStop(32); +_rut.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 263;BA.debugLine="rutaactualizar = rut.GetString(\"CAT_CL_RUTA\")"; +Debug.ShouldStop(64); +_rutaactualizar = _rut.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA")));Debug.locals.put("rutaactualizar", _rutaactualizar); + }; + BA.debugLineNum = 265;BA.debugLine="Starter.skmt.ExecNonQuery($\"DELETE FROM NOVENTA"; +Debug.ShouldStop(256); +c_noventa._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("DELETE FROM NOVENTA WHERE NV_CLIENTE IN (select cuenta from cuentaa) AND NV_RUTA ='"),c_noventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_rutaactualizar))),RemoteObject.createImmutable("' "))))); + BA.debugLineNum = 267;BA.debugLine="c=Starter.skmt.ExecQuery(\"select HVD_NUM_REGISTR"; +Debug.ShouldStop(1024); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_noventa._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select HVD_NUM_REGISTRO, HVD_CLIENTE, HVD_PRONOMBRE, HVD_CANT, HVD_COSTO_TOT, HVD_FECHA, HVD_PROID, CAT_GP_PRECIO from HIST_VENTAS2 join CAT_GUNAPROD on CAT_GP_ID = HVD_PROID WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) order by HVD_PRONOMBRE asc")))); + BA.debugLineNum = 268;BA.debugLine="If c.RowCount > 0 Then 'Si hay pedido en HIST_V"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 271;BA.debugLine="Private esteCliente As String = Subs.traeClient"; +Debug.ShouldStop(16384); +_estecliente = c_noventa._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"));Debug.locals.put("esteCliente", _estecliente);Debug.locals.put("esteCliente", _estecliente); + BA.debugLineNum = 272;BA.debugLine="Private rv As Cursor = Starter.skmt.ExecQuery($"; +Debug.ShouldStop(32768); +_rv = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_rv = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_noventa._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select * from REPARTO where REP_CLIENTE = '"),c_noventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_estecliente))),RemoteObject.createImmutable("' and REP_CLI_ORIG <> '"),c_noventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_estecliente))),RemoteObject.createImmutable("' and REP_RECHAZO = 0"))))));Debug.locals.put("rv", _rv);Debug.locals.put("rv", _rv); + BA.debugLineNum = 273;BA.debugLine="If rv.RowCount > 0 Then 'Si tenemos venta en el"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean(">",_rv.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 274;BA.debugLine="For i2=0 To rv.RowCount - 1"; +Debug.ShouldStop(131072); +{ +final int step34 = 1; +final int limit34 = RemoteObject.solve(new RemoteObject[] {_rv.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i2 = 0 ; +for (;(step34 > 0 && _i2 <= limit34) || (step34 < 0 && _i2 >= limit34) ;_i2 = ((int)(0 + _i2 + step34)) ) { +Debug.locals.put("i2", _i2); + BA.debugLineNum = 275;BA.debugLine="rv.Position = i2"; +Debug.ShouldStop(262144); +_rv.runMethod(true,"setPosition",BA.numberCast(int.class, _i2)); + BA.debugLineNum = 276;BA.debugLine="Log($\"Actualizamos REPARTO - cliente=${rv.Get"; +Debug.ShouldStop(524288); +c_noventa.__c.runVoidMethod ("LogImpl","823461929",(RemoteObject.concat(RemoteObject.createImmutable("Actualizamos REPARTO - cliente="),c_noventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_rv.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("REP_CLIENTE")))))),RemoteObject.createImmutable(", cliente orignal="),c_noventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_rv.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("REP_CLI_ORIG")))))),RemoteObject.createImmutable(", le agregamos "),c_noventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_rv.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("REP_CANT")))))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 277;BA.debugLine="Starter.skmt.ExecNonQuery($\"update REPARTO se"; +Debug.ShouldStop(1048576); +c_noventa._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update REPARTO set REP_CANT = REP_CANT + "),c_noventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_rv.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("REP_CANT")))))),RemoteObject.createImmutable(" where REP_RECHAZO = '1' and REP_CLIENTE = '"),c_noventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_rv.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("REP_CLI_ORIG")))))),RemoteObject.createImmutable("' and REP_CLI_ORIG = '"),c_noventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_rv.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("REP_CLI_ORIG")))))),RemoteObject.createImmutable("'"))))); + } +}Debug.locals.put("i2", _i2); +; + }; + BA.debugLineNum = 281;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from reparto"; +Debug.ShouldStop(16777216); +c_noventa._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from reparto where REP_CLIENTE IN (Select CUENTA from cuentaa)"))); + BA.debugLineNum = 282;BA.debugLine="For i=0 To c.RowCount - 1 'Insertamos los produ"; +Debug.ShouldStop(33554432); +{ +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 = 283;BA.debugLine="c.Position=i"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 284;BA.debugLine="Log($\"REGISTRO= ${c.GetString(\"HVD_NUM_REGISTR"; +Debug.ShouldStop(134217728); +c_noventa.__c.runVoidMethod ("LogImpl","823461937",(RemoteObject.concat(RemoteObject.createImmutable("REGISTRO= "),c_noventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_NUM_REGISTRO")))))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 285;BA.debugLine="Starter.skmt.ExecNonQuery2(\"insert into repart"; +Debug.ShouldStop(268435456); +c_noventa._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("insert into reparto(REP_CLIENTE, REP_PRONOMBRE, REP_CANT, REP_COSTO_TOT, REP_FECHA, REP_RECHAZO, REP_PRODID, REP_PRECIO, REP_PRODREGISTRO, REP_CLI_ORIG) VALUES (?,?,?,?,?,1,?,?,?,?) ")),(Object)(c_noventa.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {9},new Object[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CLIENTE"))),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PRONOMBRE"))),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT"))),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_COSTO_TOT"))),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_FECHA"))),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID"))),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_PRECIO"))),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_NUM_REGISTRO"))),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CLIENTE")))}))))); + BA.debugLineNum = 286;BA.debugLine="Starter.skmt.ExecNonQuery2(\"insert into repart"; +Debug.ShouldStop(536870912); +c_noventa._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("insert into reparto(REP_CLIENTE, REP_PRONOMBRE, REP_CANT, REP_COSTO_TOT, REP_FECHA, REP_RECHAZO, REP_PRODID, REP_PRECIO, REP_PRODREGISTRO, REP_CLI_ORIG) VALUES (?,?,?,?,?,0,?,?,?,?) ")),(Object)(c_noventa.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {9},new Object[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CLIENTE"))),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PRONOMBRE"))),BA.NumberToString(0),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_COSTO_TOT"))),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_FECHA"))),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID"))),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_PRECIO"))),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_NUM_REGISTRO"))),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CLIENTE")))}))))); + BA.debugLineNum = 287;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update cat_gunapro"; +Debug.ShouldStop(1073741824); +c_noventa._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen + ? where cat_gp_nombre = ?")),(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("HVD_CANT")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PRONOMBRE"))))}))))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 291;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO NOVENTA"; +Debug.ShouldStop(4); +c_noventa._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO NOVENTA (NV_CLIENTE,NV_FECHA,NV_USER,NV_MOTIVO,NV_COMM,NV_LAT,NV_LON,NV_FOTO,NV_REPROGRAMAR) VALUES(?,?,?,?,?,?,?,?,?) ")),(Object)(c_noventa.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {9},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*/ )),(_rutaactualizar),(__ref.getField(true,"_reprogramar" /*RemoteObject*/ ))}))))); + BA.debugLineNum = 292;BA.debugLine="Starter.skmt.ExecNonQuery($\"UPDATE kmt_info set"; +Debug.ShouldStop(8); +c_noventa._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("UPDATE kmt_info set gestion = 3, HORAENT = '"),c_noventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__ref.getField(true,"_stime" /*RemoteObject*/ ))))),RemoteObject.createImmutable("' where CAT_CL_CODIGO In (select cuenta from cuentaa) and CAT_CL_RUTA = '"),c_noventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_rutaactualizar))),RemoteObject.createImmutable("'"))))); + BA.debugLineNum = 293;BA.debugLine="Starter.skmt.ExecNonQuery(\"update HIST_VENTAS SE"; +Debug.ShouldStop(16); +c_noventa._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("update HIST_VENTAS SET HVD_RECHAZO = 1, HVD_RECHAZOCANT = HVD_CANT, HVD_RECHAZOCANTC = CANTC, BCAJAS = 0 , CANTC = 0 WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))); + BA.debugLineNum = 294;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENTAS s"; +Debug.ShouldStop(32); +c_noventa._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.createImmutable("update HIST_VENTAS set HVD_RECHAZO = 2, HVD_RECHAZOCANT = HVD_RECHAZOCANT WHERE HVD_PROID = HVD_CODPROMO and HVD_CLIENTE in (Select CUENTA from cuentaa)")))); + BA.debugLineNum = 295;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM PEDIDO WH"; +Debug.ShouldStop(64); +c_noventa._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))); + BA.debugLineNum = 296;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT RUTAA FROM RU"; +Debug.ShouldStop(128); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_noventa._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT RUTAA FROM RUTAA")))); + BA.debugLineNum = 297;BA.debugLine="d.Position = 0"; +Debug.ShouldStop(256); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 298;BA.debugLine="Dim ruta As String = d.GetString(\"RUTAA\")"; +Debug.ShouldStop(512); +_ruta = __ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("RUTAA")));Debug.locals.put("ruta", _ruta);Debug.locals.put("ruta", _ruta); + BA.debugLineNum = 299;BA.debugLine="d.Close"; +Debug.ShouldStop(1024); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 300;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT CAT_CL_RUTA F"; +Debug.ShouldStop(2048); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_noventa._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT CAT_CL_RUTA FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)")))); + BA.debugLineNum = 301;BA.debugLine="d.Position = 0"; +Debug.ShouldStop(4096); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 302;BA.debugLine="Dim rutapre As String = d.GetString(\"CAT_CL_RUTA"; +Debug.ShouldStop(8192); +_rutapre = __ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA")));Debug.locals.put("rutapre", _rutapre);Debug.locals.put("rutapre", _rutapre); + BA.debugLineNum = 303;BA.debugLine="d.Close"; +Debug.ShouldStop(16384); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 304;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT HVD_FECHA FRO"; +Debug.ShouldStop(32768); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_noventa._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT HVD_FECHA FROM HIST_VENTAS WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)")))); + BA.debugLineNum = 305;BA.debugLine="d.Position = 0"; +Debug.ShouldStop(65536); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 306;BA.debugLine="Dim fechaprev As String = d.GetString(\"HVD_FECHA"; +Debug.ShouldStop(131072); +_fechaprev = __ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_FECHA")));Debug.locals.put("fechaprev", _fechaprev);Debug.locals.put("fechaprev", _fechaprev); + BA.debugLineNum = 307;BA.debugLine="d.Close"; +Debug.ShouldStop(262144); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 308;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT CUENTA FROM C"; +Debug.ShouldStop(524288); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_noventa._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT CUENTA FROM CUENTAA")))); + BA.debugLineNum = 309;BA.debugLine="d.Position = 0"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 310;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO REPARTO_"; +Debug.ShouldStop(2097152); +c_noventa._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO REPARTO_GEO (CLIENTE, USUARIO, FECHA_PUNTEO, LATITUD, LONGITUD, ALMACEN, RUTA_REPARTO, RUTA_PREV, FECHA_PREVENTA, MOTIVO, COMENTARIO,TIPO,ENVIO) VALUES(?,?,?,?,?,?,?,?,?,?,?,?,0)")),(Object)(c_noventa.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {12},new Object[] {__ref.getField(true,"_cuenta" /*RemoteObject*/ ),__ref.getField(true,"_usuario" /*RemoteObject*/ ),RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__ref.getField(true,"_stime" /*RemoteObject*/ )),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*/ ),c_noventa._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_almacen" /*RemoteObject*/ ),_ruta,_rutapre,_fechaprev,__ref.getField(true,"_motivo" /*RemoteObject*/ ),__ref.getField(false,"_e_comm" /*RemoteObject*/ ).runMethod(true,"getText"),RemoteObject.createImmutable("NO ENTREGADO")}))))); + BA.debugLineNum = 317;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +Debug.ShouldStop(268435456); +c_noventa._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Principal"))); + }else { + BA.debugLineNum = 320;BA.debugLine="COMENTARIO = e_comm.Text"; +Debug.ShouldStop(-2147483648); +__ref.setField ("_comentario" /*RemoteObject*/ ,__ref.getField(false,"_e_comm" /*RemoteObject*/ ).runMethod(true,"getText")); + }; + BA.debugLineNum = 325;BA.debugLine="End Sub"; +Debug.ShouldStop(16); +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",15,__ref.getField(false, "ba"),__ref,33); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "c_noventa","initialize", __ref, _ba);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); + BA.debugLineNum = 33;BA.debugLine="Public Sub Initialize As Object"; +Debug.ShouldStop(1); + BA.debugLineNum = 34;BA.debugLine="Return Me"; +Debug.ShouldStop(2); +if (true) return __ref; + BA.debugLineNum = 35;BA.debugLine="End Sub"; +Debug.ShouldStop(4); +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_noventa) ","c_noventa",15,__ref.getField(false, "ba"),__ref,109); +if (RapidSub.canDelegate("jobdone")) { return __ref.runUserSub(false, "c_noventa","jobdone", __ref, _job);} +RemoteObject _resultado = RemoteObject.declareNull("reparto_izca.keymon.lat.dbrequestmanager._dbresult"); +RemoteObject _cliente = RemoteObject.createImmutable(""); +RemoteObject _records = null; +RemoteObject _k = RemoteObject.createImmutable(""); +Debug.locals.put("Job", _job); + BA.debugLineNum = 109;BA.debugLine="Sub JobDone(Job As HttpJob)"; +Debug.ShouldStop(4096); + BA.debugLineNum = 110;BA.debugLine="Log(Job.Success)"; +Debug.ShouldStop(8192); +c_noventa.__c.runVoidMethod ("LogImpl","823265281",BA.ObjectToString(_job.getField(true,"_success" /*RemoteObject*/ )),0); + BA.debugLineNum = 111;BA.debugLine="If Job.Success = False Then"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_success" /*RemoteObject*/ ),c_noventa.__c.getField(true,"False"))) { + }else { + BA.debugLineNum = 114;BA.debugLine="LogColor(\"JobDone: '\" & reqManager.HandleJob(Job"; +Debug.ShouldStop(131072); +c_noventa.__c.runVoidMethod ("LogImpl","823265285",RemoteObject.concat(RemoteObject.createImmutable("JobDone: '"),__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job)).getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable("' - Registros: "),__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job)).getField(false,"Rows" /*RemoteObject*/ ).runMethod(true,"getSize")),c_noventa.__c.getField(false,"Colors").getField(true,"Green")); + BA.debugLineNum = 115;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 116;BA.debugLine="Dim resultado As DBResult = reqManager.HandleJo"; +Debug.ShouldStop(524288); +_resultado = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("resultado", _resultado);Debug.locals.put("resultado", _resultado); + BA.debugLineNum = 117;BA.debugLine="If resultado.Tag.As(String).IndexOf(\"ins_REPART"; +Debug.ShouldStop(1048576); +if (RemoteObject.solveBoolean(">",(BA.ObjectToString(_resultado.getField(false,"Tag" /*RemoteObject*/ ))).runMethod(true,"indexOf",(Object)(RemoteObject.createImmutable("ins_REPARTOPendientes_head_"))),BA.numberCast(double.class, -(double) (0 + 1)))) { + BA.debugLineNum = 118;BA.debugLine="Private cliente As String= resultado.Tag"; +Debug.ShouldStop(2097152); +_cliente = BA.ObjectToString(_resultado.getField(false,"Tag" /*RemoteObject*/ ));Debug.locals.put("cliente", _cliente);Debug.locals.put("cliente", _cliente); + BA.debugLineNum = 119;BA.debugLine="cliente = cliente.SubString(cliente.IndexOf(\"_"; +Debug.ShouldStop(4194304); +_cliente = _cliente.runMethod(true,"substring",(Object)(RemoteObject.solve(new RemoteObject[] {_cliente.runMethod(true,"indexOf",(Object)(RemoteObject.createImmutable("_"))),RemoteObject.createImmutable(24)}, "+",1, 1)));Debug.locals.put("cliente", _cliente); + BA.debugLineNum = 120;BA.debugLine="Log($\"Cliente1:${cliente}\"$)"; +Debug.ShouldStop(8388608); +c_noventa.__c.runVoidMethod ("LogImpl","823265291",(RemoteObject.concat(RemoteObject.createImmutable("Cliente1:"),c_noventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cliente))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 121;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update REPARTO_GEO"; +Debug.ShouldStop(16777216); +c_noventa._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("update REPARTO_GEO SET ENVIO = ? WHERE CLIENTE = ? AND ENVIO <> ?")),(Object)(c_noventa.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {3},new Object[] {BA.ObjectToString("1"),_cliente,RemoteObject.createImmutable("1")}))))); + BA.debugLineNum = 122;BA.debugLine="For Each records() As Object In resultado.Rows"; +Debug.ShouldStop(33554432); +{ +final RemoteObject group12 = _resultado.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen12 = group12.runMethod(true,"getSize").get() +;int index12 = 0; +; +for (; index12 < groupLen12;index12++){ +_records = (group12.runMethod(false,"Get",index12));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 123;BA.debugLine="For Each k As String In resultado.Columns.Key"; +Debug.ShouldStop(67108864); +{ +final RemoteObject group13 = _resultado.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Keys"); +final int groupLen13 = group13.runMethod(true,"getSize").get() +;int index13 = 0; +; +for (; index13 < groupLen13;index13++){ +_k = BA.ObjectToString(group13.runMethod(false,"Get",index13));Debug.locals.put("k", _k); +Debug.locals.put("k", _k); + BA.debugLineNum = 124;BA.debugLine="Log(resultado.Tag & \": \" & k & \": \" & record"; +Debug.ShouldStop(134217728); +c_noventa.__c.runVoidMethod ("LogImpl","823265295",RemoteObject.concat(_resultado.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(": "),_k,RemoteObject.createImmutable(": "),_records.getArrayElement(false,BA.numberCast(int.class, _resultado.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((_k)))))),0); + } +}Debug.locals.put("k", _k); +; + } +}Debug.locals.put("records", _records); +; + }; + }; + BA.debugLineNum = 129;BA.debugLine="Job.Release"; +Debug.ShouldStop(1); +_job.runClassMethod (reparto_izca.keymon.lat.httpjob.class, "_release" /*RemoteObject*/ ); + }; + BA.debugLineNum = 132;BA.debugLine="End Sub"; +Debug.ShouldStop(8); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _mandapendientesreparto(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("mandaPendientesreparto (c_noventa) ","c_noventa",15,__ref.getField(false, "ba"),__ref,89); +if (RapidSub.canDelegate("mandapendientesreparto")) { return __ref.runUserSub(false, "c_noventa","mandapendientesreparto", __ref);} + BA.debugLineNum = 89;BA.debugLine="Sub mandaPendientesreparto"; +Debug.ShouldStop(16777216); + 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 _printer_connected(RemoteObject __ref,RemoteObject _success) throws Exception{ +try { + Debug.PushSubsStack("Printer_Connected (c_noventa) ","c_noventa",15,__ref.getField(false, "ba"),__ref,352); +if (RapidSub.canDelegate("printer_connected")) { return __ref.runUserSub(false, "c_noventa","printer_connected", __ref, _success);} +Debug.locals.put("Success", _success); + BA.debugLineNum = 352;BA.debugLine="Sub Printer_Connected (Success As Boolean)"; +Debug.ShouldStop(-2147483648); + BA.debugLineNum = 353;BA.debugLine="If Success Then"; +Debug.ShouldStop(1); +if (_success.get().booleanValue()) { + BA.debugLineNum = 355;BA.debugLine="PASA_IMP = \"1\""; +Debug.ShouldStop(4); +__ref.setField ("_pasa_imp" /*RemoteObject*/ ,BA.ObjectToString("1")); + }else { + BA.debugLineNum = 358;BA.debugLine="If Msgbox2(\"\", \"Printer Error\",\"Reprint\",\"Cancel"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean("=",c_noventa.__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_noventa.__c.getField(false,"Null"))),__ref.getField(false, "ba")),BA.numberCast(double.class, c_noventa.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { + BA.debugLineNum = 359;BA.debugLine="StartPrinter"; +Debug.ShouldStop(64); +__ref.runClassMethod (reparto_izca.keymon.lat.c_noventa.class, "_startprinter" /*RemoteObject*/ ); + }; + }; + 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 _printer1_connected(RemoteObject __ref,RemoteObject _success) throws Exception{ +try { + Debug.PushSubsStack("Printer1_Connected (c_noventa) ","c_noventa",15,__ref.getField(false, "ba"),__ref,327); +if (RapidSub.canDelegate("printer1_connected")) { return __ref.runUserSub(false, "c_noventa","printer1_connected", __ref, _success);} +Debug.locals.put("Success", _success); + BA.debugLineNum = 327;BA.debugLine="Sub Printer1_Connected (Success As Boolean)"; +Debug.ShouldStop(64); + BA.debugLineNum = 329;BA.debugLine="If Success Then"; +Debug.ShouldStop(256); +if (_success.get().booleanValue()) { + BA.debugLineNum = 330;BA.debugLine="ToastMessageShow(\"Impresora conectada\", False)"; +Debug.ShouldStop(512); +c_noventa.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Impresora conectada")),(Object)(c_noventa.__c.getField(true,"False"))); + BA.debugLineNum = 331;BA.debugLine="Starter.skmt.ExecNonQuery2(\"delete from CAT_VARI"; +Debug.ShouldStop(1024); +c_noventa._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?")),(Object)(c_noventa.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(RemoteObject.createImmutable("MACIMP"))}))))); + BA.debugLineNum = 332;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_VARI"; +Debug.ShouldStop(2048); +c_noventa._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)")),(Object)(c_noventa.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {RemoteObject.createImmutable(("MACIMP")),(c_noventa._starter._mac_impresora /*RemoteObject*/ )}))))); + BA.debugLineNum = 335;BA.debugLine="impresoraConectada = True"; +Debug.ShouldStop(16384); +__ref.setField ("_impresoraconectada" /*RemoteObject*/ ,c_noventa.__c.getField(true,"True")); + }else { + BA.debugLineNum = 339;BA.debugLine="LogColor(\"Error conectando la impresora\", Colors"; +Debug.ShouldStop(262144); +c_noventa.__c.runVoidMethod ("LogImpl","823527436",BA.ObjectToString("Error conectando la impresora"),c_noventa.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 340;BA.debugLine="errorImpresora = errorImpresora + 1"; +Debug.ShouldStop(524288); +__ref.setField ("_errorimpresora" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_errorimpresora" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "+",1, 1)); + BA.debugLineNum = 341;BA.debugLine="If errorImpresora > 1 Then"; +Debug.ShouldStop(1048576); +if (RemoteObject.solveBoolean(">",__ref.getField(true,"_errorimpresora" /*RemoteObject*/ ),BA.numberCast(double.class, 1))) { + BA.debugLineNum = 342;BA.debugLine="Starter.MAC_IMPRESORA = \"0\""; +Debug.ShouldStop(2097152); +c_noventa._starter._mac_impresora /*RemoteObject*/ = BA.ObjectToString("0"); + BA.debugLineNum = 343;BA.debugLine="errorImpresora = 0"; +Debug.ShouldStop(4194304); +__ref.setField ("_errorimpresora" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + }; + }; + BA.debugLineNum = 346;BA.debugLine="End Sub"; +Debug.ShouldStop(33554432); +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_noventa) ","c_noventa",15,__ref.getField(false, "ba"),__ref,348); +if (RapidSub.canDelegate("printer1_error")) { return __ref.runUserSub(false, "c_noventa","printer1_error", __ref);} + BA.debugLineNum = 348;BA.debugLine="Sub Printer1_Error"; +Debug.ShouldStop(134217728); + BA.debugLineNum = 349;BA.debugLine="Log(\"error printer\")"; +Debug.ShouldStop(268435456); +c_noventa.__c.runVoidMethod ("LogImpl","823592961",RemoteObject.createImmutable("error printer"),0); + BA.debugLineNum = 350;BA.debugLine="End Sub"; +Debug.ShouldStop(536870912); +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_noventa) ","c_noventa",15,__ref.getField(false, "ba"),__ref,364); +if (RapidSub.canDelegate("startprinter")) { return __ref.runUserSub(false, "c_noventa","startprinter", __ref);} +RemoteObject _paireddevices = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _l1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _resimp = RemoteObject.createImmutable(0); +int _i = 0; + BA.debugLineNum = 364;BA.debugLine="Sub StartPrinter"; +Debug.ShouldStop(2048); + BA.debugLineNum = 365;BA.debugLine="Dim PairedDevices As Map"; +Debug.ShouldStop(4096); +_paireddevices = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");Debug.locals.put("PairedDevices", _paireddevices); + BA.debugLineNum = 366;BA.debugLine="Dim L1 As List"; +Debug.ShouldStop(8192); +_l1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");Debug.locals.put("L1", _l1); + BA.debugLineNum = 367;BA.debugLine="Dim resimp As Int"; +Debug.ShouldStop(16384); +_resimp = RemoteObject.createImmutable(0);Debug.locals.put("resimp", _resimp); + BA.debugLineNum = 368;BA.debugLine="ToastMessageShow(\"Printing.....\",True)"; +Debug.ShouldStop(32768); +c_noventa.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Printing.....")),(Object)(c_noventa.__c.getField(true,"True"))); + BA.debugLineNum = 369;BA.debugLine="PairedDevices.Initialize"; +Debug.ShouldStop(65536); +_paireddevices.runVoidMethod ("Initialize"); + BA.debugLineNum = 370;BA.debugLine="Try"; +Debug.ShouldStop(131072); +try { BA.debugLineNum = 371;BA.debugLine="PairedDevices = cmp20.GetPairedDevices"; +Debug.ShouldStop(262144); +_paireddevices = __ref.getField(false,"_cmp20" /*RemoteObject*/ ).runMethod(false,"GetPairedDevices");Debug.locals.put("PairedDevices", _paireddevices); + Debug.CheckDeviceExceptions(); +} + catch (Exception e9) { + BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e9.toString()); BA.debugLineNum = 373;BA.debugLine="Msgbox(\"Getting Paired Devices\",\"Printer Error\")"; +Debug.ShouldStop(1048576); +c_noventa.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("Getting Paired Devices")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Printer Error"))),__ref.getField(false, "ba")); + BA.debugLineNum = 374;BA.debugLine="printer.Close"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_printer" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 375;BA.debugLine="cmp20.Disconnect"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_cmp20" /*RemoteObject*/ ).runVoidMethod ("Disconnect"); + }; + BA.debugLineNum = 378;BA.debugLine="If PairedDevices.Size = 0 Then"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("=",_paireddevices.runMethod(true,"getSize"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 379;BA.debugLine="Msgbox(\"Error Connecting to Printer - Printer No"; +Debug.ShouldStop(67108864); +c_noventa.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("Error Connecting to Printer - Printer Not Found")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable(""))),__ref.getField(false, "ba")); + BA.debugLineNum = 380;BA.debugLine="Return"; +Debug.ShouldStop(134217728); +if (true) return RemoteObject.createImmutable(""); + }; + BA.debugLineNum = 383;BA.debugLine="If PairedDevices.Size = 1 Then"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean("=",_paireddevices.runMethod(true,"getSize"),BA.numberCast(double.class, 1))) { + BA.debugLineNum = 384;BA.debugLine="Try"; +Debug.ShouldStop(-2147483648); +try { BA.debugLineNum = 385;BA.debugLine="cmp20.Connect(PairedDevices.Get(PairedDevices.G"; +Debug.ShouldStop(1); +__ref.getField(false,"_cmp20" /*RemoteObject*/ ).runVoidMethod ("Connect",__ref.getField(false, "ba"),(Object)(BA.ObjectToString(_paireddevices.runMethod(false,"Get",(Object)(_paireddevices.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 = 387;BA.debugLine="Msgbox(\"Connecting\",\"Printer Error\") 'ignore"; +Debug.ShouldStop(4); +c_noventa.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("Connecting")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Printer Error"))),__ref.getField(false, "ba")); + BA.debugLineNum = 388;BA.debugLine="printer.Close"; +Debug.ShouldStop(8); +__ref.getField(false,"_printer" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 389;BA.debugLine="cmp20.Disconnect"; +Debug.ShouldStop(16); +__ref.getField(false,"_cmp20" /*RemoteObject*/ ).runVoidMethod ("Disconnect"); + }; + }else { + BA.debugLineNum = 392;BA.debugLine="L1.Initialize"; +Debug.ShouldStop(128); +_l1.runVoidMethod ("Initialize"); + BA.debugLineNum = 393;BA.debugLine="For i = 0 To PairedDevices.Size - 1"; +Debug.ShouldStop(256); +{ +final int step27 = 1; +final int limit27 = RemoteObject.solve(new RemoteObject[] {_paireddevices.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 = 394;BA.debugLine="L1.Add(PairedDevices.GetKeyAt(i))"; +Debug.ShouldStop(512); +_l1.runVoidMethod ("Add",(Object)(_paireddevices.runMethod(false,"GetKeyAt",(Object)(BA.numberCast(int.class, _i))))); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 396;BA.debugLine="resimp = InputList(L1, \"Choose device\", -1) 'ign"; +Debug.ShouldStop(2048); +_resimp = c_noventa.__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 = 397;BA.debugLine="If resimp <> DialogResponse.CANCEL Then"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean("!",_resimp,BA.numberCast(double.class, c_noventa.__c.getField(false,"DialogResponse").getField(true,"CANCEL")))) { + BA.debugLineNum = 398;BA.debugLine="cmp20.Connect(PairedDevices.Get(L1.Get(resimp))"; +Debug.ShouldStop(8192); +__ref.getField(false,"_cmp20" /*RemoteObject*/ ).runVoidMethod ("Connect",__ref.getField(false, "ba"),(Object)(BA.ObjectToString(_paireddevices.runMethod(false,"Get",(Object)(_l1.runMethod(false,"Get",(Object)(_resimp))))))); + }; + }; + BA.debugLineNum = 401;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/reparto_izca/keymon/lat/c_nuevocliente.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_nuevocliente.java new file mode 100644 index 0000000..2b88d5c --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_nuevocliente.java @@ -0,0 +1,33 @@ + +package reparto_izca.keymon.lat; + +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 _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static reparto_izca.keymon.lat.main _main = null; +public static reparto_izca.keymon.lat.appupdater _appupdater = null; +public static reparto_izca.keymon.lat.subs _subs = null; +public static reparto_izca.keymon.lat.foto _foto = null; +public static reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public static reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public static reparto_izca.keymon.lat.starter _starter = null; +public static reparto_izca.keymon.lat.tracker _tracker = null; +public static reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public static reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public static reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public static reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public static reparto_izca.keymon.lat.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/reparto_izca/keymon/lat/c_nuevocliente_subs_0.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_nuevocliente_subs_0.java new file mode 100644 index 0000000..8f6d40f --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_nuevocliente_subs_0.java @@ -0,0 +1,59 @@ +package reparto_izca.keymon.lat; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class c_nuevocliente_subs_0 { + + +public static RemoteObject _b4xpage_created(RemoteObject __ref,RemoteObject _root1) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_Created (c_nuevocliente) ","c_nuevocliente",16,__ref.getField(false, "ba"),__ref,12); +if (RapidSub.canDelegate("b4xpage_created")) { return __ref.runUserSub(false, "c_nuevocliente","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_nuevocliente._root = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_root",c_nuevocliente._root); + //BA.debugLineNum = 3;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 = 4;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("Initialize (c_nuevocliente) ","c_nuevocliente",16,__ref.getField(false, "ba"),__ref,7); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "c_nuevocliente","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/reparto_izca/keymon/lat/c_pedidos.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_pedidos.java new file mode 100644 index 0000000..060f0f8 --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_pedidos.java @@ -0,0 +1,33 @@ + +package reparto_izca.keymon.lat; + +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 _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static reparto_izca.keymon.lat.main _main = null; +public static reparto_izca.keymon.lat.appupdater _appupdater = null; +public static reparto_izca.keymon.lat.subs _subs = null; +public static reparto_izca.keymon.lat.foto _foto = null; +public static reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public static reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public static reparto_izca.keymon.lat.starter _starter = null; +public static reparto_izca.keymon.lat.tracker _tracker = null; +public static reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public static reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public static reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public static reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public static reparto_izca.keymon.lat.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/reparto_izca/keymon/lat/c_pedidos_subs_0.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_pedidos_subs_0.java new file mode 100644 index 0000000..9c86bcb --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_pedidos_subs_0.java @@ -0,0 +1,59 @@ +package reparto_izca.keymon.lat; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class c_pedidos_subs_0 { + + +public static RemoteObject _b4xpage_created(RemoteObject __ref,RemoteObject _root1) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_Created (c_pedidos) ","c_pedidos",17,__ref.getField(false, "ba"),__ref,12); +if (RapidSub.canDelegate("b4xpage_created")) { return __ref.runUserSub(false, "c_pedidos","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_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 = 4;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("Initialize (c_pedidos) ","c_pedidos",17,__ref.getField(false, "ba"),__ref,7); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "c_pedidos","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/reparto_izca/keymon/lat/c_principal.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_principal.java new file mode 100644 index 0000000..f4633cb --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_principal.java @@ -0,0 +1,152 @@ + +package reparto_izca.keymon.lat; + +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 _reqmanager = RemoteObject.declareNull("reparto_izca.keymon.lat.dbrequestmanager"); +public static RemoteObject _conectado = RemoteObject.createImmutable(""); +public static RemoteObject _t1 = 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 _trabajar = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _a = 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 _f1 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _f2 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _f3 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _f4 = 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("reparto_izca.keymon.lat.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 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _l_aliquidar = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_cuantosc = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_montosalida = 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 _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 _l_montoe = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _b_clieprod = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _listview1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.ListViewWrapper"); +public static RemoteObject _b_regresa = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _panel1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _estatus = RemoteObject.createImmutable(""); +public static RemoteObject _batterystatus = null; +public static RemoteObject _bu = RemoteObject.declareNull("reparto_izca.keymon.lat.batteryutilities"); +public static RemoteObject _ruta_t = RemoteObject.createImmutable(""); +public static RemoteObject _reqs = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +public static RemoteObject _btn_ubicar_ru = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _cargo = RemoteObject.createImmutable(""); +public static RemoteObject _p_principal = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _ime = RemoteObject.declareNull("anywheresoftware.b4a.objects.IME"); +public static RemoteObject _b_tabulador = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _l_rutasp = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_rechazo = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _label9 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _cp = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _b_check = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _b_rechazos = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _p_prod = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _b_regreso = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _lv_prod_prin = RemoteObject.declareNull("anywheresoftware.b4a.objects.ListViewWrapper"); +public static RemoteObject _b_venta_emp = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _t8 = RemoteObject.declareNull("anywheresoftware.b4a.objects.Timer"); +public static RemoteObject _b_carga = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _p_carga = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _l_carga = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _pb_carga = RemoteObject.declareNull("anywheresoftware.b4a.objects.ProgressBarWrapper"); +public static RemoteObject _pb_carga2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.ProgressBarWrapper"); +public static RemoteObject _l_carga2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +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 _tamano = RemoteObject.createImmutable(0); +public static RemoteObject _espacio = RemoteObject.createImmutable(0); +public static RemoteObject _blanco = RemoteObject.createImmutable(""); +public static RemoteObject _printer1 = RemoteObject.declareNull("reparto_izca.keymon.lat.escposprinter"); +public static RemoteObject _impresoraconectada = RemoteObject.createImmutable(false); +public static RemoteObject _errorimpresora = RemoteObject.createImmutable(0); +public static RemoteObject _inventario = RemoteObject.declareNull("anywheresoftware.b4a.objects.ImageViewWrapper"); +public static RemoteObject _pasa_imp = RemoteObject.createImmutable(""); +public static RemoteObject _b_imp_inventario = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _s = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _printerisready = RemoteObject.createImmutable(false); +public static RemoteObject _lastconnectionattempt = RemoteObject.createImmutable(0L); +public static RemoteObject _b_impresion_rec = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _l_clientes_visit = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_clientes_recha = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_clientes_visitados = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_numtickets = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _p_ciego = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _b_pc_env = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _b_terpc = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _clv_pick_ciego = RemoteObject.declareNull("b4a.example3.customlistview"); +public static RemoteObject _l_pick_ciego = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _et_pick_ciego = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _p_pick_ciego = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _l_cant_pcik = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static reparto_izca.keymon.lat.main _main = null; +public static reparto_izca.keymon.lat.appupdater _appupdater = null; +public static reparto_izca.keymon.lat.subs _subs = null; +public static reparto_izca.keymon.lat.foto _foto = null; +public static reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public static reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public static reparto_izca.keymon.lat.starter _starter = null; +public static reparto_izca.keymon.lat.tracker _tracker = null; +public static reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public static reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public static reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public static reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public static reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"a",_ref.getField(false, "_a"),"ALMACEN",_ref.getField(false, "_almacen"),"b",_ref.getField(false, "_b"),"B_carga",_ref.getField(false, "_b_carga"),"b_check",_ref.getField(false, "_b_check"),"B_CLIEPROD",_ref.getField(false, "_b_clieprod"),"b_imp_inventario",_ref.getField(false, "_b_imp_inventario"),"b_impresion_rec",_ref.getField(false, "_b_impresion_rec"),"b_mapa",_ref.getField(false, "_b_mapa"),"B_PC_ENV",_ref.getField(false, "_b_pc_env"),"b_rechazos",_ref.getField(false, "_b_rechazos"),"B_REGRESA",_ref.getField(false, "_b_regresa"),"b_regreso",_ref.getField(false, "_b_regreso"),"b_tabulador",_ref.getField(false, "_b_tabulador"),"b_terpc",_ref.getField(false, "_b_terpc"),"b_venta_emp",_ref.getField(false, "_b_venta_emp"),"batterystatus",_ref.getField(false, "_batterystatus"),"BLANCO",_ref.getField(false, "_blanco"),"btAdmin",_ref.getField(false, "_btadmin"),"Btn_Ubicar_Ru",_ref.getField(false, "_btn_ubicar_ru"),"bu",_ref.getField(false, "_bu"),"BUSCA",_ref.getField(false, "_busca"),"c",_ref.getField(false, "_c"),"cargar",_ref.getField(false, "_cargar"),"cargo",_ref.getField(false, "_cargo"),"CLV_PICK_CIEGO",_ref.getField(false, "_clv_pick_ciego"),"cmd",_ref.getField(false, "_cmd"),"cmp20",_ref.getField(false, "_cmp20"),"conectado",_ref.getField(false, "_conectado"),"conn",_ref.getField(false, "_conn"),"connecta",_ref.getField(false, "_connecta"),"COUNT_CLIE",_ref.getField(false, "_count_clie"),"cp",_ref.getField(false, "_cp"),"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"),"DateUtils",_ref.getField(false, "_dateutils"),"datos_iguales",_ref.getField(false, "_datos_iguales"),"drop",_ref.getField(false, "_drop"),"e",_ref.getField(false, "_e"),"e_ruta",_ref.getField(false, "_e_ruta"),"efectiva",_ref.getField(false, "_efectiva"),"EJECUTANDO",_ref.getField(false, "_ejecutando"),"errorImpresora",_ref.getField(false, "_errorimpresora"),"ESPACIO",_ref.getField(false, "_espacio"),"ESTATUS",_ref.getField(false, "_estatus"),"ET_PICK_CIEGO",_ref.getField(false, "_et_pick_ciego"),"f",_ref.getField(false, "_f"),"f1",_ref.getField(false, "_f1"),"f2",_ref.getField(false, "_f2"),"f3",_ref.getField(false, "_f3"),"F4",_ref.getField(false, "_f4"),"fecha",_ref.getField(false, "_fecha"),"foto1",_ref.getField(false, "_foto1"),"ime",_ref.getField(false, "_ime"),"imei",_ref.getField(false, "_imei"),"img2",_ref.getField(false, "_img2"),"impresoraConectada",_ref.getField(false, "_impresoraconectada"),"inv",_ref.getField(false, "_inv"),"inve",_ref.getField(false, "_inve"),"inventario",_ref.getField(false, "_inventario"),"L",_ref.getField(false, "_l"),"l_aLiquidar",_ref.getField(false, "_l_aliquidar"),"L_CANT_PCIK",_ref.getField(false, "_l_cant_pcik"),"L_carga",_ref.getField(false, "_l_carga"),"l_carga2",_ref.getField(false, "_l_carga2"),"l_clientes_recha",_ref.getField(false, "_l_clientes_recha"),"L_clientes_visit",_ref.getField(false, "_l_clientes_visit"),"l_clientes_visitados",_ref.getField(false, "_l_clientes_visitados"),"l_ctast",_ref.getField(false, "_l_ctast"),"l_cuantosc",_ref.getField(false, "_l_cuantosc"),"l_cuantosn",_ref.getField(false, "_l_cuantosn"),"L_MONTOE",_ref.getField(false, "_l_montoe"),"l_montoSalida",_ref.getField(false, "_l_montosalida"),"l_numtickets",_ref.getField(false, "_l_numtickets"),"L_PICK_CIEGO",_ref.getField(false, "_l_pick_ciego"),"l_porvisitar",_ref.getField(false, "_l_porvisitar"),"l_rechazo",_ref.getField(false, "_l_rechazo"),"l_ruta",_ref.getField(false, "_l_ruta"),"l_rutasP",_ref.getField(false, "_l_rutasp"),"Label9",_ref.getField(false, "_label9"),"LastConnectionAttempt",_ref.getField(false, "_lastconnectionattempt"),"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"),"ListView1",_ref.getField(false, "_listview1"),"lv",_ref.getField(false, "_lv"),"lv_prod_Prin",_ref.getField(false, "_lv_prod_prin"),"p",_ref.getField(false, "_p"),"P_carga",_ref.getField(false, "_p_carga"),"P_CIEGO",_ref.getField(false, "_p_ciego"),"P_PICK_CIEGO",_ref.getField(false, "_p_pick_ciego"),"p_principal",_ref.getField(false, "_p_principal"),"p_prod",_ref.getField(false, "_p_prod"),"Panel1",_ref.getField(false, "_panel1"),"PASA_IMP",_ref.getField(false, "_pasa_imp"),"PB_carga",_ref.getField(false, "_pb_carga"),"PB_carga2",_ref.getField(false, "_pb_carga2"),"pendiente",_ref.getField(false, "_pendiente"),"PHONE",_ref.getField(false, "_phone"),"printer",_ref.getField(false, "_printer"),"Printer1",_ref.getField(false, "_printer1"),"PrinterIsReady",_ref.getField(false, "_printerisready"),"reqManager",_ref.getField(false, "_reqmanager"),"reqs",_ref.getField(false, "_reqs"),"RES",_ref.getField(false, "_res"),"Root",_ref.getField(false, "_root"),"RUTA_T",_ref.getField(false, "_ruta_t"),"s",_ref.getField(false, "_s"),"sb",_ref.getField(false, "_sb"),"Subir",_ref.getField(false, "_subir"),"t1",_ref.getField(false, "_t1"),"t8",_ref.getField(false, "_t8"),"TAMANO",_ref.getField(false, "_tamano"),"TOPE",_ref.getField(false, "_tope"),"trabajar",_ref.getField(false, "_trabajar"),"usuario",_ref.getField(false, "_usuario"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_principal_subs_0.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_principal_subs_0.java new file mode 100644 index 0000000..cdec371 --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_principal_subs_0.java @@ -0,0 +1,8800 @@ +package reparto_izca.keymon.lat; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class c_principal_subs_0 { + + +public static RemoteObject _b_carga_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B_carga_Click (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,2817); +if (RapidSub.canDelegate("b_carga_click")) { return __ref.runUserSub(false, "c_principal","b_carga_click", __ref);} +RemoteObject _checagestion = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); + BA.debugLineNum = 2817;BA.debugLine="Private Sub B_carga_Click"; +Debug.ShouldStop(1); + BA.debugLineNum = 2818;BA.debugLine="If L_carga.Text = \"LISTO\" And l_carga2.Text = \"LI"; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_l_carga" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("LISTO")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_l_carga2" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("LISTO"))) { + BA.debugLineNum = 2819;BA.debugLine="P_carga.Visible = False"; +Debug.ShouldStop(4); +__ref.getField(false,"_p_carga" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + }else { + BA.debugLineNum = 2821;BA.debugLine="Dim checagestion As Cursor = Starter.skmt.ExecQu"; +Debug.ShouldStop(16); +_checagestion = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_checagestion = 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 NOVENTA"))));Debug.locals.put("checagestion", _checagestion);Debug.locals.put("checagestion", _checagestion); + BA.debugLineNum = 2822;BA.debugLine="If checagestion.RowCount = 0 Then"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean("=",_checagestion.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2823;BA.debugLine="P_carga.Visible = False"; +Debug.ShouldStop(64); +__ref.getField(false,"_p_carga" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 2824;BA.debugLine="e_ruta.Text = \"\""; +Debug.ShouldStop(128); +__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 2825;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from PICK_CIE"; +Debug.ShouldStop(256); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from PICK_CIEGO"))); + BA.debugLineNum = 2826;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from pedido_c"; +Debug.ShouldStop(512); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from pedido_cliente"))); + BA.debugLineNum = 2827;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from PAGARES\""; +Debug.ShouldStop(1024); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from PAGARES"))); + BA.debugLineNum = 2828;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CHECADO_"; +Debug.ShouldStop(2048); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from CHECADO_CHECK"))); + BA.debugLineNum = 2829;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CHECKLIS"; +Debug.ShouldStop(4096); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from CHECKLIST2"))); + BA.debugLineNum = 2830;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from pedido\")"; +Debug.ShouldStop(8192); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from pedido"))); + BA.debugLineNum = 2831;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from noventa\""; +Debug.ShouldStop(16384); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from noventa"))); + BA.debugLineNum = 2832;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from clie_act"; +Debug.ShouldStop(32768); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from clie_act"))); + BA.debugLineNum = 2833;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from kmt_info"; +Debug.ShouldStop(65536); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from kmt_info"))); + BA.debugLineNum = 2834;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_guna"; +Debug.ShouldStop(131072); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from cat_gunaprod"))); + BA.debugLineNum = 2835;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_guna"; +Debug.ShouldStop(262144); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from cat_gunaprod3"))); + BA.debugLineNum = 2836;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CAT_DETA"; +Debug.ShouldStop(524288); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from CAT_DETALLES_PAQ"))); + BA.debugLineNum = 2837;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from HIST_VEN"; +Debug.ShouldStop(1048576); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from HIST_VENTAS"))); + BA.debugLineNum = 2838;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from REPARTO\""; +Debug.ShouldStop(2097152); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from REPARTO"))); + BA.debugLineNum = 2839;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM TABULADO"; +Debug.ShouldStop(4194304); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM TABULADOR_MONEDAS"))); + BA.debugLineNum = 2840;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM TABULADO"; +Debug.ShouldStop(8388608); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM TABULADOR_BILLETES"))); + BA.debugLineNum = 2841;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM RUTAA\")"; +Debug.ShouldStop(16777216); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM RUTAA"))); + BA.debugLineNum = 2842;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM ABONOSP\""; +Debug.ShouldStop(33554432); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM ABONOSP"))); + BA.debugLineNum = 2843;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM ABONOS\")"; +Debug.ShouldStop(67108864); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM ABONOS"))); + BA.debugLineNum = 2844;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM BLOCKENV"; +Debug.ShouldStop(134217728); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM BLOCKENVIO"))); + BA.debugLineNum = 2845;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(268435456); +__ref.runClassMethod (reparto_izca.keymon.lat.c_principal.class, "_b4xpage_appear" /*RemoteObject*/ ); + BA.debugLineNum = 2846;BA.debugLine="MsgboxAsync(\"No se cargo bien la informacion, f"; +Debug.ShouldStop(536870912); +c_principal.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("No se cargo bien la informacion, favor de cargar día nuevamente")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + }else { + BA.debugLineNum = 2848;BA.debugLine="MsgboxAsync(\"No se cargo bien la informacion, f"; +Debug.ShouldStop(-2147483648); +c_principal.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("No se cargo bien la informacion, favor de cargar día nuevamente")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + BA.debugLineNum = 2849;BA.debugLine="P_carga.Visible = False"; +Debug.ShouldStop(1); +__ref.getField(false,"_p_carga" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + }; + }; + BA.debugLineNum = 2852;BA.debugLine="End Sub"; +Debug.ShouldStop(8); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_check_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_check_Click (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,2603); +if (RapidSub.canDelegate("b_check_click")) { return __ref.runUserSub(false, "c_principal","b_check_click", __ref);} + BA.debugLineNum = 2603;BA.debugLine="Private Sub b_check_Click"; +Debug.ShouldStop(1024); + BA.debugLineNum = 2605;BA.debugLine="B4XPages.ShowPage(\"checklist\")"; +Debug.ShouldStop(4096); +c_principal._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("checklist"))); + BA.debugLineNum = 2607;BA.debugLine="End Sub"; +Debug.ShouldStop(16384); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_clieprod_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B_CLIEPROD_Click (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,2332); +if (RapidSub.canDelegate("b_clieprod_click")) { return __ref.runUserSub(false, "c_principal","b_clieprod_click", __ref);} +RemoteObject _ch = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _ch1 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _label1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +RemoteObject _label2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +int _i = 0; +RemoteObject _vc = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _cuenta0 = RemoteObject.createImmutable(""); +RemoteObject _arti = RemoteObject.createImmutable(""); +int _hjf = 0; +RemoteObject _vc2 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _cuenta1 = RemoteObject.createImmutable(""); +RemoteObject _arti1 = RemoteObject.createImmutable(""); +int _h = 0; +RemoteObject _preu = RemoteObject.createImmutable(0f); +RemoteObject _vc3 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _vc4 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _cuenta2 = RemoteObject.createImmutable(""); +RemoteObject _arti2 = RemoteObject.createImmutable(""); +int _k = 0; +RemoteObject _vc5 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _c4 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _cuenta3 = RemoteObject.createImmutable(""); +RemoteObject _arti3 = RemoteObject.createImmutable(""); +int _x = 0; +RemoteObject _totalmonto = RemoteObject.createImmutable(""); +RemoteObject _totalcantidad = RemoteObject.createImmutable(""); + BA.debugLineNum = 2332;BA.debugLine="Sub B_CLIEPROD_Click"; +Debug.ShouldStop(134217728); + BA.debugLineNum = 2333;BA.debugLine="If b_check.Visible = True Then"; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_b_check" /*RemoteObject*/ ).runMethod(true,"getVisible"),c_principal.__c.getField(true,"True"))) { + BA.debugLineNum = 2334;BA.debugLine="MsgboxAsync(\"Favor de hacer el checklist.\",\"Aten"; +Debug.ShouldStop(536870912); +c_principal.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Favor de hacer el checklist.")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + }else { + BA.debugLineNum = 2336;BA.debugLine="BUSCA.Visible = True"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_busca" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 2337;BA.debugLine="connecta.Visible = False"; +Debug.ShouldStop(1); +__ref.getField(false,"_connecta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 2338;BA.debugLine="trabajar.Visible = True"; +Debug.ShouldStop(2); +__ref.getField(false,"_trabajar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 2339;BA.debugLine="B_CLIEPROD.Visible = True"; +Debug.ShouldStop(4); +__ref.getField(false,"_b_clieprod" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 2340;BA.debugLine="Panel1.Visible = True"; +Debug.ShouldStop(8); +__ref.getField(false,"_panel1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 2341;BA.debugLine="Panel1.BringToFront"; +Debug.ShouldStop(16); +__ref.getField(false,"_panel1" /*RemoteObject*/ ).runVoidMethod ("BringToFront"); + BA.debugLineNum = 2342;BA.debugLine="Panel1.Width = Root.Width"; +Debug.ShouldStop(32); +__ref.getField(false,"_panel1" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth")); + BA.debugLineNum = 2343;BA.debugLine="Panel1.Height = Root.Height"; +Debug.ShouldStop(64); +__ref.getField(false,"_panel1" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight")); + BA.debugLineNum = 2344;BA.debugLine="B_REGRESA.Top = Panel1.Height - B_REGRESA.Height"; +Debug.ShouldStop(128); +__ref.getField(false,"_b_regresa" /*RemoteObject*/ ).runMethod(true,"setTop",RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_panel1" /*RemoteObject*/ ).runMethod(true,"getHeight"),__ref.getField(false,"_b_regresa" /*RemoteObject*/ ).runMethod(true,"getHeight")}, "-",1, 1)); + BA.debugLineNum = 2345;BA.debugLine="Btn_Ubicar_Ru.Visible=True"; +Debug.ShouldStop(256); +__ref.getField(false,"_btn_ubicar_ru" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 2347;BA.debugLine="Dim ch As Cursor = Starter.skmt.ExecQuery(\"selec"; +Debug.ShouldStop(1024); +_ch = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_ch = 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 visit from kmt_info WHERE gestion = 2"))));Debug.locals.put("ch", _ch);Debug.locals.put("ch", _ch); + BA.debugLineNum = 2348;BA.debugLine="ch.Position = 0"; +Debug.ShouldStop(2048); +_ch.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2349;BA.debugLine="L_clientes_visit.Text = ch.GetInt(\"visit\")"; +Debug.ShouldStop(4096); +__ref.getField(false,"_l_clientes_visit" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_ch.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("visit"))))); + BA.debugLineNum = 2351;BA.debugLine="Dim ch1 As Cursor = Starter.skmt.ExecQuery(\"sele"; +Debug.ShouldStop(16384); +_ch1 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_ch1 = 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 rechazo from kmt_info WHERE gestion = 3"))));Debug.locals.put("ch1", _ch1);Debug.locals.put("ch1", _ch1); + BA.debugLineNum = 2352;BA.debugLine="ch1.Position = 0"; +Debug.ShouldStop(32768); +_ch1.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2353;BA.debugLine="l_clientes_recha.Text = ch1.GetInt(\"rechazo\")"; +Debug.ShouldStop(65536); +__ref.getField(false,"_l_clientes_recha" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_ch1.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("rechazo"))))); + BA.debugLineNum = 2354;BA.debugLine="l_clientes_visitados.Text = ch1.GetInt(\"rechazo\""; +Debug.ShouldStop(131072); +__ref.getField(false,"_l_clientes_visitados" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(RemoteObject.solve(new RemoteObject[] {_ch1.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("rechazo"))),_ch.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("visit")))}, "+",1, 1))); + BA.debugLineNum = 2356;BA.debugLine="c=Starter.skmt.ExecQuery(\"select * from kmt_info"; +Debug.ShouldStop(524288); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select * from kmt_info WHERE gestion <> 0 order by HORAENT")))); + BA.debugLineNum = 2357;BA.debugLine="Subs.SetDivider(ListView1, Colors.LightGray, 2)"; +Debug.ShouldStop(1048576); +c_principal._subs.runVoidMethod ("_setdivider" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_listview1" /*RemoteObject*/ )),(Object)(c_principal.__c.getField(false,"Colors").getField(true,"LightGray")),(Object)(BA.numberCast(int.class, 2))); + BA.debugLineNum = 2358;BA.debugLine="ListView1.Clear"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 2359;BA.debugLine="Dim label1 As Label"; +Debug.ShouldStop(4194304); +_label1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label1", _label1); + BA.debugLineNum = 2360;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 = 2361;BA.debugLine="label1.TextSize = 16"; +Debug.ShouldStop(16777216); +_label1.runMethod(true,"setTextSize",BA.numberCast(float.class, 16)); + BA.debugLineNum = 2362;BA.debugLine="label1.TextColor = Colors.Black"; +Debug.ShouldStop(33554432); +_label1.runMethod(true,"setTextColor",c_principal.__c.getField(false,"Colors").getField(true,"Black")); + BA.debugLineNum = 2363;BA.debugLine="Dim label2 As Label"; +Debug.ShouldStop(67108864); +_label2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label2", _label2); + BA.debugLineNum = 2364;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 = 2365;BA.debugLine="label2.TextSize = 16"; +Debug.ShouldStop(268435456); +_label2.runMethod(true,"setTextSize",BA.numberCast(float.class, 16)); + BA.debugLineNum = 2366;BA.debugLine="label2.TextColor = Colors.Black"; +Debug.ShouldStop(536870912); +_label2.runMethod(true,"setTextColor",c_principal.__c.getField(false,"Colors").getField(true,"Black")); + BA.debugLineNum = 2368;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 = 2369;BA.debugLine="For i=0 To c.RowCount -1"; +Debug.ShouldStop(1); +{ +final int step33 = 1; +final int limit33 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step33 > 0 && _i <= limit33) || (step33 < 0 && _i >= limit33) ;_i = ((int)(0 + _i + step33)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 2370;BA.debugLine="c.Position=i"; +Debug.ShouldStop(2); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 2371;BA.debugLine="If c.GetString(\"gestion\") = \"2\" Then"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("gestion"))),BA.ObjectToString("2"))) { + BA.debugLineNum = 2372;BA.debugLine="ESTATUS = \"ENTREGADO\""; +Debug.ShouldStop(8); +__ref.setField ("_estatus" /*RemoteObject*/ ,BA.ObjectToString("ENTREGADO")); + BA.debugLineNum = 2373;BA.debugLine="Log(\"entrega\")"; +Debug.ShouldStop(16); +c_principal.__c.runVoidMethod ("LogImpl","815401001",RemoteObject.createImmutable("entrega"),0); + }else +{ BA.debugLineNum = 2374;BA.debugLine="ELSE IF c.GetString(\"gestion\") = \"3\" Then"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("gestion"))),BA.ObjectToString("3"))) { + BA.debugLineNum = 2375;BA.debugLine="Log(\"no entrega\")"; +Debug.ShouldStop(64); +c_principal.__c.runVoidMethod ("LogImpl","815401003",RemoteObject.createImmutable("no entrega"),0); + BA.debugLineNum = 2376;BA.debugLine="ESTATUS = \"RECHAZADO\""; +Debug.ShouldStop(128); +__ref.setField ("_estatus" /*RemoteObject*/ ,BA.ObjectToString("RECHAZADO")); + }else { + BA.debugLineNum = 2378;BA.debugLine="ESTATUS = \"SIN ESTATUS\""; +Debug.ShouldStop(512); +__ref.setField ("_estatus" /*RemoteObject*/ ,BA.ObjectToString("SIN ESTATUS")); + }} +; + BA.debugLineNum = 2383;BA.debugLine="If ESTATUS = \"ENTREGADO\" Then"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_estatus" /*RemoteObject*/ ),BA.ObjectToString("ENTREGADO"))) { + BA.debugLineNum = 2384;BA.debugLine="Private vc As Cursor = Starter.skmt.ExecQuery"; +Debug.ShouldStop(32768); +_vc = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_vc = 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 HVD_PROID,HVD_COSTO_TOT, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT, CAT_GP_PRECIO from HIST_VENTAS LEFT JOIN CAT_GUNAPROD ON CAT_GP_ID = HVD_PROID where BCAJAS = 0 and HVD_CODPROMO ='"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_principal._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),RemoteObject.createImmutable("' and HVD_CLIENTE = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO")))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("vc", _vc);Debug.locals.put("vc", _vc); + BA.debugLineNum = 2386;BA.debugLine="Private cuenta0 As String = 0"; +Debug.ShouldStop(131072); +_cuenta0 = BA.NumberToString(0);Debug.locals.put("cuenta0", _cuenta0);Debug.locals.put("cuenta0", _cuenta0); + BA.debugLineNum = 2387;BA.debugLine="Private arti As String = 0"; +Debug.ShouldStop(262144); +_arti = BA.NumberToString(0);Debug.locals.put("arti", _arti);Debug.locals.put("arti", _arti); + BA.debugLineNum = 2388;BA.debugLine="If vc.RowCount > 0 Then"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean(">",_vc.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2389;BA.debugLine="For hjf = 0 To vc.RowCount - 1"; +Debug.ShouldStop(1048576); +{ +final int step49 = 1; +final int limit49 = RemoteObject.solve(new RemoteObject[] {_vc.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_hjf = 0 ; +for (;(step49 > 0 && _hjf <= limit49) || (step49 < 0 && _hjf >= limit49) ;_hjf = ((int)(0 + _hjf + step49)) ) { +Debug.locals.put("hjf", _hjf); + BA.debugLineNum = 2390;BA.debugLine="vc.Position = hjf"; +Debug.ShouldStop(2097152); +_vc.runMethod(true,"setPosition",BA.numberCast(int.class, _hjf)); + BA.debugLineNum = 2392;BA.debugLine="arti = arti + (vc.GetString(\"HVD_CANT\") - v"; +Debug.ShouldStop(8388608); +_arti = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _arti),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _vc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, _vc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0))}, "+",1, 0));Debug.locals.put("arti", _arti); + BA.debugLineNum = 2393;BA.debugLine="cuenta0 = cuenta0 + ((vc.GetString(\"HVD_CAN"; +Debug.ShouldStop(16777216); +_cuenta0 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cuenta0),(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _vc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, _vc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0)),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _vc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_COSTO_TOT")))),BA.numberCast(double.class, _vc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT"))))}, "/",0, 0))}, "*",0, 0))}, "+",1, 0));Debug.locals.put("cuenta0", _cuenta0); + } +}Debug.locals.put("hjf", _hjf); +; + }; + BA.debugLineNum = 2398;BA.debugLine="Private vc2 As Cursor = Starter.skmt.ExecQuer"; +Debug.ShouldStop(536870912); +_vc2 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_vc2 = 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 HVD_PROID, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT, CANTC,HVD_COSTO_TOT from HIST_VENTAS where HVD_CLIENTE = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO")))))),RemoteObject.createImmutable("' AND BCAJAS = 1"))))));Debug.locals.put("vc2", _vc2);Debug.locals.put("vc2", _vc2); + BA.debugLineNum = 2399;BA.debugLine="Private Cuenta1 As String = 0"; +Debug.ShouldStop(1073741824); +_cuenta1 = BA.NumberToString(0);Debug.locals.put("Cuenta1", _cuenta1);Debug.locals.put("Cuenta1", _cuenta1); + BA.debugLineNum = 2400;BA.debugLine="Private arti1 As String = 0"; +Debug.ShouldStop(-2147483648); +_arti1 = BA.NumberToString(0);Debug.locals.put("arti1", _arti1);Debug.locals.put("arti1", _arti1); + BA.debugLineNum = 2401;BA.debugLine="If vc2.RowCount > 0 Then"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean(">",_vc2.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2402;BA.debugLine="For h = 0 To vc2.RowCount - 1"; +Debug.ShouldStop(2); +{ +final int step59 = 1; +final int limit59 = RemoteObject.solve(new RemoteObject[] {_vc2.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_h = 0 ; +for (;(step59 > 0 && _h <= limit59) || (step59 < 0 && _h >= limit59) ;_h = ((int)(0 + _h + step59)) ) { +Debug.locals.put("h", _h); + BA.debugLineNum = 2403;BA.debugLine="vc2.Position = h"; +Debug.ShouldStop(4); +_vc2.runMethod(true,"setPosition",BA.numberCast(int.class, _h)); + BA.debugLineNum = 2404;BA.debugLine="Dim preu As Float = NumberFormat2(vc2.GetSt"; +Debug.ShouldStop(8); +_preu = BA.numberCast(float.class, c_principal.__c.runMethod(true,"NumberFormat2",(Object)(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _vc2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_COSTO_TOT")))),BA.numberCast(double.class, _vc2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CANTC"))))}, "/",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"))));Debug.locals.put("preu", _preu);Debug.locals.put("preu", _preu); + BA.debugLineNum = 2405;BA.debugLine="Private vc3 As Cursor = Starter.skmt.ExecQu"; +Debug.ShouldStop(16); +_vc3 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_vc3 = 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 PRECIOCONVER, CONVERSION from CAT_GUNAPROD where CAT_GP_ID = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_vc2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID")))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("vc3", _vc3);Debug.locals.put("vc3", _vc3); + BA.debugLineNum = 2406;BA.debugLine="If vc3.RowCount > 0 Then"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean(">",_vc3.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2407;BA.debugLine="vc3.Position = 0"; +Debug.ShouldStop(64); +_vc3.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2408;BA.debugLine="Cuenta1 = Cuenta1 + ((vc2.GetString(\"CANTC"; +Debug.ShouldStop(128); +_cuenta1 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cuenta1),(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _vc2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CANTC")))),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _vc2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT")))),BA.numberCast(double.class, _vc3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CONVERSION"))))}, "/",0, 0))}, "-",1, 0)),_preu}, "*",0, 0))}, "+",1, 0));Debug.locals.put("Cuenta1", _cuenta1); + BA.debugLineNum = 2409;BA.debugLine="arti1 = arti1 + (vc2.GetString(\"HVD_CANT\")"; +Debug.ShouldStop(256); +_arti1 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _arti1),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _vc2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, _vc2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0))}, "+",1, 0));Debug.locals.put("arti1", _arti1); + }; + } +}Debug.locals.put("h", _h); +; + }; + BA.debugLineNum = 2415;BA.debugLine="Private vc4 As Cursor = Starter.skmt.ExecQuer"; +Debug.ShouldStop(16384); +_vc4 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_vc4 = 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 HVD_PROID, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT, CANTC,HVD_COSTO_TOT, HVD_RECHAZO, HVD_CODPROMO from HIST_VENTAS where HVD_CLIENTE = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO")))))),RemoteObject.createImmutable("' AND BCAJAS = 0 and HVD_CODPROMO <> '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_principal._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("vc4", _vc4);Debug.locals.put("vc4", _vc4); + BA.debugLineNum = 2416;BA.debugLine="Private Cuenta2 As String = 0"; +Debug.ShouldStop(32768); +_cuenta2 = BA.NumberToString(0);Debug.locals.put("Cuenta2", _cuenta2);Debug.locals.put("Cuenta2", _cuenta2); + BA.debugLineNum = 2417;BA.debugLine="Private arti2 As String = 0"; +Debug.ShouldStop(65536); +_arti2 = BA.NumberToString(0);Debug.locals.put("arti2", _arti2);Debug.locals.put("arti2", _arti2); + BA.debugLineNum = 2418;BA.debugLine="If vc4.RowCount > 0 Then"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean(">",_vc4.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2420;BA.debugLine="For k = 0 To vc4.RowCount - 1"; +Debug.ShouldStop(524288); +{ +final int step74 = 1; +final int limit74 = RemoteObject.solve(new RemoteObject[] {_vc4.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_k = 0 ; +for (;(step74 > 0 && _k <= limit74) || (step74 < 0 && _k >= limit74) ;_k = ((int)(0 + _k + step74)) ) { +Debug.locals.put("k", _k); + BA.debugLineNum = 2421;BA.debugLine="vc4.Position = k"; +Debug.ShouldStop(1048576); +_vc4.runMethod(true,"setPosition",BA.numberCast(int.class, _k)); + BA.debugLineNum = 2422;BA.debugLine="If vc4.GetString(\"HVD_PROID\") <> vc4.GetStr"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean("!",_vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID"))),_vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CODPROMO"))))) { + BA.debugLineNum = 2423;BA.debugLine="If vc4.GetString(\"HVD_RECHAZO\") = 0 Then"; +Debug.ShouldStop(4194304); +if (RemoteObject.solveBoolean("=",_vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZO"))),BA.NumberToString(0))) { + BA.debugLineNum = 2424;BA.debugLine="Cuenta2 = Cuenta2 + vc4.GetString(\"HVD_CO"; +Debug.ShouldStop(8388608); +_cuenta2 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cuenta2),BA.numberCast(double.class, _vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_COSTO_TOT"))))}, "+",1, 0));Debug.locals.put("Cuenta2", _cuenta2); + BA.debugLineNum = 2425;BA.debugLine="arti2 = arti2 + vc4.GetString(\"HVD_CANT\")"; +Debug.ShouldStop(16777216); +_arti2 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _arti2),BA.numberCast(double.class, _vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT"))))}, "+",1, 0));Debug.locals.put("arti2", _arti2); + }else { + BA.debugLineNum = 2427;BA.debugLine="Private vc5 As Cursor = Starter.skmt.Exec"; +Debug.ShouldStop(67108864); +_vc5 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_vc5 = 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 CAT_GP_PRECIO from CAT_GUNAPROD where CAT_GP_ID = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID")))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("vc5", _vc5);Debug.locals.put("vc5", _vc5); + BA.debugLineNum = 2428;BA.debugLine="If vc5.RowCount > 0 Then"; +Debug.ShouldStop(134217728); +if (RemoteObject.solveBoolean(">",_vc5.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2429;BA.debugLine="vc5.Position= 0"; +Debug.ShouldStop(268435456); +_vc5.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2431;BA.debugLine="Cuenta2 = Cuenta2 +((vc4.GetString(\"HVD_"; +Debug.ShouldStop(1073741824); +_cuenta2 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cuenta2),(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, _vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0)),BA.numberCast(double.class, _vc5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_PRECIO"))))}, "*",0, 0))}, "+",1, 0));Debug.locals.put("Cuenta2", _cuenta2); + BA.debugLineNum = 2432;BA.debugLine="arti2 = arti2 +(vc4.GetString(\"HVD_CANT\""; +Debug.ShouldStop(-2147483648); +_arti2 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _arti2),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, _vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0))}, "+",1, 0));Debug.locals.put("arti2", _arti2); + }; + }; + }; + } +}Debug.locals.put("k", _k); +; + }; + BA.debugLineNum = 2441;BA.debugLine="Private c4 As Cursor = Starter.skmt.ExecQuery"; +Debug.ShouldStop(256); +_c4 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c4 = 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 IFNULL(PE_CANT,0) AS PE_CANT, iFNULL(PE_COSTO_TOT,0) AS PE_COSTO_TOT FROM PEDIDO WHERE PE_CLIENTE = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO")))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("c4", _c4);Debug.locals.put("c4", _c4); + BA.debugLineNum = 2442;BA.debugLine="Private Cuenta3 As String = 0"; +Debug.ShouldStop(512); +_cuenta3 = BA.NumberToString(0);Debug.locals.put("Cuenta3", _cuenta3);Debug.locals.put("Cuenta3", _cuenta3); + BA.debugLineNum = 2443;BA.debugLine="Private arti3 As String = 0"; +Debug.ShouldStop(1024); +_arti3 = BA.NumberToString(0);Debug.locals.put("arti3", _arti3);Debug.locals.put("arti3", _arti3); + BA.debugLineNum = 2444;BA.debugLine="If c4.RowCount > 0 Then"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean(">",_c4.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2445;BA.debugLine="For x = 0 To c4.RowCount -1"; +Debug.ShouldStop(4096); +{ +final int step95 = 1; +final int limit95 = RemoteObject.solve(new RemoteObject[] {_c4.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_x = 0 ; +for (;(step95 > 0 && _x <= limit95) || (step95 < 0 && _x >= limit95) ;_x = ((int)(0 + _x + step95)) ) { +Debug.locals.put("x", _x); + BA.debugLineNum = 2446;BA.debugLine="c4.Position = x"; +Debug.ShouldStop(8192); +_c4.runMethod(true,"setPosition",BA.numberCast(int.class, _x)); + BA.debugLineNum = 2447;BA.debugLine="arti3 = arti3 + c4.GetString(\"PE_CANT\")"; +Debug.ShouldStop(16384); +_arti3 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _arti3),BA.numberCast(double.class, _c4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))))}, "+",1, 0));Debug.locals.put("arti3", _arti3); + BA.debugLineNum = 2448;BA.debugLine="Cuenta3 = Cuenta3 + c4.GetString(\"PE_COSTO_"; +Debug.ShouldStop(32768); +_cuenta3 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cuenta3),BA.numberCast(double.class, _c4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_TOT"))))}, "+",1, 0));Debug.locals.put("Cuenta3", _cuenta3); + } +}Debug.locals.put("x", _x); +; + }; + BA.debugLineNum = 2453;BA.debugLine="Private TOTALMONTO As String = cuenta0 + Cuen"; +Debug.ShouldStop(1048576); +_totalmonto = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cuenta0),BA.numberCast(double.class, _cuenta1),BA.numberCast(double.class, _cuenta2),BA.numberCast(double.class, _cuenta3)}, "+++",3, 0));Debug.locals.put("TOTALMONTO", _totalmonto);Debug.locals.put("TOTALMONTO", _totalmonto); + BA.debugLineNum = 2454;BA.debugLine="Private TOTALcantidad As String = arti + arti"; +Debug.ShouldStop(2097152); +_totalcantidad = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _arti),BA.numberCast(double.class, _arti1),BA.numberCast(double.class, _arti2),BA.numberCast(double.class, _arti3)}, "+++",3, 0));Debug.locals.put("TOTALcantidad", _totalcantidad);Debug.locals.put("TOTALcantidad", _totalcantidad); + BA.debugLineNum = 2456;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"CAT_CL_COD"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("AddTwoLines",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO"))),RemoteObject.createImmutable(" - "),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_NOMBRE")))))),(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("Articulos :"),_totalcantidad,RemoteObject.createImmutable(" Monto :"),c_principal.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _totalmonto)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_principal.__c.getField(true,"True"))),RemoteObject.createImmutable(" "),__ref.getField(true,"_estatus" /*RemoteObject*/ ))))); + BA.debugLineNum = 2457;BA.debugLine="Log(\"si entre2\")"; +Debug.ShouldStop(16777216); +c_principal.__c.runVoidMethod ("LogImpl","815401085",RemoteObject.createImmutable("si entre2"),0); + }else +{ BA.debugLineNum = 2459;BA.debugLine="Else If ESTATUS = \"RECHAZADO\" Then"; +Debug.ShouldStop(67108864); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_estatus" /*RemoteObject*/ ),BA.ObjectToString("RECHAZADO"))) { + BA.debugLineNum = 2461;BA.debugLine="Private vc As Cursor = Starter.skmt.ExecQuery"; +Debug.ShouldStop(268435456); +_vc = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_vc = 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 HVD_PROID, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT, CAT_GP_PRECIO, HVD_COSTO_TOT from HIST_VENTAS LEFT JOIN CAT_GUNAPROD ON CAT_GP_ID = HVD_PROID where BCAJAS = 0 and HVD_CODPROMO ='"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_principal._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),RemoteObject.createImmutable("' and HVD_CLIENTE = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO")))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("vc", _vc);Debug.locals.put("vc", _vc); + BA.debugLineNum = 2463;BA.debugLine="Private cuenta0 As String = 0"; +Debug.ShouldStop(1073741824); +_cuenta0 = BA.NumberToString(0);Debug.locals.put("cuenta0", _cuenta0);Debug.locals.put("cuenta0", _cuenta0); + BA.debugLineNum = 2464;BA.debugLine="Private arti As String = 0"; +Debug.ShouldStop(-2147483648); +_arti = BA.NumberToString(0);Debug.locals.put("arti", _arti);Debug.locals.put("arti", _arti); + BA.debugLineNum = 2465;BA.debugLine="If vc.RowCount > 0 Then"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean(">",_vc.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2466;BA.debugLine="For hjf = 0 To vc.RowCount - 1"; +Debug.ShouldStop(2); +{ +final int step110 = 1; +final int limit110 = RemoteObject.solve(new RemoteObject[] {_vc.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_hjf = 0 ; +for (;(step110 > 0 && _hjf <= limit110) || (step110 < 0 && _hjf >= limit110) ;_hjf = ((int)(0 + _hjf + step110)) ) { +Debug.locals.put("hjf", _hjf); + BA.debugLineNum = 2467;BA.debugLine="vc.Position = hjf"; +Debug.ShouldStop(4); +_vc.runMethod(true,"setPosition",BA.numberCast(int.class, _hjf)); + BA.debugLineNum = 2468;BA.debugLine="Dim preu As Float = NumberFormat2(vc.GetStr"; +Debug.ShouldStop(8); +_preu = BA.numberCast(float.class, c_principal.__c.runMethod(true,"NumberFormat2",(Object)(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _vc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_COSTO_TOT")))),BA.numberCast(double.class, _vc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT"))))}, "/",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"))));Debug.locals.put("preu", _preu);Debug.locals.put("preu", _preu); + BA.debugLineNum = 2470;BA.debugLine="arti = arti + (vc.GetString(\"HVD_RECHAZOCAN"; +Debug.ShouldStop(32); +_arti = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _arti),BA.numberCast(double.class, (_vc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT")))))}, "+",1, 0));Debug.locals.put("arti", _arti); + BA.debugLineNum = 2471;BA.debugLine="cuenta0 = cuenta0 + ((vc.GetString(\"HVD_REC"; +Debug.ShouldStop(64); +_cuenta0 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cuenta0),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, (_vc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))),_preu}, "*",0, 0))}, "+",1, 0));Debug.locals.put("cuenta0", _cuenta0); + } +}Debug.locals.put("hjf", _hjf); +; + }; + BA.debugLineNum = 2476;BA.debugLine="Private vc2 As Cursor = Starter.skmt.ExecQuer"; +Debug.ShouldStop(2048); +_vc2 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_vc2 = 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 HVD_PROID, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT, CANTC,HVD_COSTO_TOT from HIST_VENTAS where HVD_CLIENTE = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO")))))),RemoteObject.createImmutable("' AND BCAJAS = 1"))))));Debug.locals.put("vc2", _vc2);Debug.locals.put("vc2", _vc2); + BA.debugLineNum = 2477;BA.debugLine="Private Cuenta1 As String = 0"; +Debug.ShouldStop(4096); +_cuenta1 = BA.NumberToString(0);Debug.locals.put("Cuenta1", _cuenta1);Debug.locals.put("Cuenta1", _cuenta1); + BA.debugLineNum = 2478;BA.debugLine="Private arti1 As String = 0"; +Debug.ShouldStop(8192); +_arti1 = BA.NumberToString(0);Debug.locals.put("arti1", _arti1);Debug.locals.put("arti1", _arti1); + BA.debugLineNum = 2479;BA.debugLine="If vc2.RowCount > 0 Then"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean(">",_vc2.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2480;BA.debugLine="For h = 0 To vc2.RowCount - 1"; +Debug.ShouldStop(32768); +{ +final int step121 = 1; +final int limit121 = RemoteObject.solve(new RemoteObject[] {_vc2.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_h = 0 ; +for (;(step121 > 0 && _h <= limit121) || (step121 < 0 && _h >= limit121) ;_h = ((int)(0 + _h + step121)) ) { +Debug.locals.put("h", _h); + BA.debugLineNum = 2481;BA.debugLine="vc2.Position = h"; +Debug.ShouldStop(65536); +_vc2.runMethod(true,"setPosition",BA.numberCast(int.class, _h)); + BA.debugLineNum = 2482;BA.debugLine="Dim preu As Float = NumberFormat2(vc2.GetSt"; +Debug.ShouldStop(131072); +_preu = BA.numberCast(float.class, c_principal.__c.runMethod(true,"NumberFormat2",(Object)(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _vc2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_COSTO_TOT")))),BA.numberCast(double.class, _vc2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CANTC"))))}, "/",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"))));Debug.locals.put("preu", _preu);Debug.locals.put("preu", _preu); + BA.debugLineNum = 2483;BA.debugLine="Private vc3 As Cursor = Starter.skmt.ExecQu"; +Debug.ShouldStop(262144); +_vc3 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_vc3 = 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 PRECIOCONVER, CONVERSION from CAT_GUNAPROD where CAT_GP_ID = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_vc2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID")))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("vc3", _vc3);Debug.locals.put("vc3", _vc3); + BA.debugLineNum = 2484;BA.debugLine="If vc3.RowCount > 0 Then"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean(">",_vc3.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2485;BA.debugLine="vc3.Position = 0"; +Debug.ShouldStop(1048576); +_vc3.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2486;BA.debugLine="Cuenta1 = Cuenta1 + ((vc2.GetString(\"HVD_R"; +Debug.ShouldStop(2097152); +_cuenta1 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cuenta1),(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _vc2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT")))),BA.numberCast(double.class, _vc3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CONVERSION"))))}, "/",0, 0)),_preu}, "*",0, 0))}, "+",1, 0));Debug.locals.put("Cuenta1", _cuenta1); + BA.debugLineNum = 2487;BA.debugLine="arti1 = arti1 + (vc2.GetString(\"HVD_RECHAZ"; +Debug.ShouldStop(4194304); +_arti1 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _arti1),BA.numberCast(double.class, (_vc2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT")))))}, "+",1, 0));Debug.locals.put("arti1", _arti1); + }; + } +}Debug.locals.put("h", _h); +; + }; + BA.debugLineNum = 2493;BA.debugLine="Private vc4 As Cursor = Starter.skmt.ExecQuer"; +Debug.ShouldStop(268435456); +_vc4 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_vc4 = 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 HVD_PROID, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT, CANTC,HVD_COSTO_TOT, HVD_RECHAZO, HVD_CODPROMO from HIST_VENTAS where HVD_CLIENTE = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO")))))),RemoteObject.createImmutable("' AND BCAJAS = 0 and HVD_CODPROMO <> '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_principal._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("vc4", _vc4);Debug.locals.put("vc4", _vc4); + BA.debugLineNum = 2494;BA.debugLine="Private Cuenta2 As String = 0"; +Debug.ShouldStop(536870912); +_cuenta2 = BA.NumberToString(0);Debug.locals.put("Cuenta2", _cuenta2);Debug.locals.put("Cuenta2", _cuenta2); + BA.debugLineNum = 2495;BA.debugLine="Private arti2 As String = 0"; +Debug.ShouldStop(1073741824); +_arti2 = BA.NumberToString(0);Debug.locals.put("arti2", _arti2);Debug.locals.put("arti2", _arti2); + BA.debugLineNum = 2496;BA.debugLine="If vc4.RowCount > 0 Then"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean(">",_vc4.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2498;BA.debugLine="For k = 0 To vc4.RowCount - 1"; +Debug.ShouldStop(2); +{ +final int step136 = 1; +final int limit136 = RemoteObject.solve(new RemoteObject[] {_vc4.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_k = 0 ; +for (;(step136 > 0 && _k <= limit136) || (step136 < 0 && _k >= limit136) ;_k = ((int)(0 + _k + step136)) ) { +Debug.locals.put("k", _k); + BA.debugLineNum = 2499;BA.debugLine="vc4.Position = k"; +Debug.ShouldStop(4); +_vc4.runMethod(true,"setPosition",BA.numberCast(int.class, _k)); + BA.debugLineNum = 2500;BA.debugLine="If vc4.GetString(\"HVD_PROID\") <> vc4.GetStr"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean("!",_vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID"))),_vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CODPROMO"))))) { + BA.debugLineNum = 2501;BA.debugLine="If vc4.GetString(\"HVD_RECHAZO\") = 0 Then"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean("=",_vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZO"))),BA.NumberToString(0))) { + BA.debugLineNum = 2502;BA.debugLine="Cuenta2 = Cuenta2 + vc4.GetString(\"HVD_CO"; +Debug.ShouldStop(32); +_cuenta2 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cuenta2),BA.numberCast(double.class, _vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_COSTO_TOT"))))}, "+",1, 0));Debug.locals.put("Cuenta2", _cuenta2); + BA.debugLineNum = 2503;BA.debugLine="arti2 = arti2 + vc4.GetString(\"HVD_RECHAZ"; +Debug.ShouldStop(64); +_arti2 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _arti2),BA.numberCast(double.class, _vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "+",1, 0));Debug.locals.put("arti2", _arti2); + }else { + BA.debugLineNum = 2505;BA.debugLine="Private vc5 As Cursor = Starter.skmt.Exec"; +Debug.ShouldStop(256); +_vc5 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_vc5 = 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 CAT_GP_PRECIO from CAT_GUNAPROD where CAT_GP_ID = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID")))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("vc5", _vc5);Debug.locals.put("vc5", _vc5); + BA.debugLineNum = 2506;BA.debugLine="If vc5.RowCount > 0 Then"; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean(">",_vc5.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2507;BA.debugLine="vc5.Position= 0"; +Debug.ShouldStop(1024); +_vc5.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2509;BA.debugLine="Cuenta2 = Cuenta2 +(( vc4.GetString(\"HVD"; +Debug.ShouldStop(4096); +_cuenta2 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cuenta2),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, (_vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))),BA.numberCast(double.class, _vc5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_PRECIO"))))}, "*",0, 0))}, "+",1, 0));Debug.locals.put("Cuenta2", _cuenta2); + BA.debugLineNum = 2510;BA.debugLine="arti2 = arti2 +(vc4.GetString(\"HVD_RECHA"; +Debug.ShouldStop(8192); +_arti2 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _arti2),BA.numberCast(double.class, (_vc4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT")))))}, "+",1, 0));Debug.locals.put("arti2", _arti2); + }; + }; + }; + } +}Debug.locals.put("k", _k); +; + }; + BA.debugLineNum = 2519;BA.debugLine="Private c4 As Cursor = Starter.skmt.ExecQuery"; +Debug.ShouldStop(4194304); +_c4 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c4 = 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 IFNULL(PE_CANT,0) AS PE_CANT, iFNULL(PE_COSTO_TOT,0) AS PE_COSTO_TOT FROM PEDIDO WHERE PE_CLIENTE = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO")))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("c4", _c4);Debug.locals.put("c4", _c4); + BA.debugLineNum = 2520;BA.debugLine="Private Cuenta3 As String = 0"; +Debug.ShouldStop(8388608); +_cuenta3 = BA.NumberToString(0);Debug.locals.put("Cuenta3", _cuenta3);Debug.locals.put("Cuenta3", _cuenta3); + BA.debugLineNum = 2521;BA.debugLine="Private arti3 As String = 0"; +Debug.ShouldStop(16777216); +_arti3 = BA.NumberToString(0);Debug.locals.put("arti3", _arti3);Debug.locals.put("arti3", _arti3); + BA.debugLineNum = 2522;BA.debugLine="If c4.RowCount > 0 Then"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean(">",_c4.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2523;BA.debugLine="For x = 0 To c4.RowCount -1"; +Debug.ShouldStop(67108864); +{ +final int step157 = 1; +final int limit157 = RemoteObject.solve(new RemoteObject[] {_c4.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_x = 0 ; +for (;(step157 > 0 && _x <= limit157) || (step157 < 0 && _x >= limit157) ;_x = ((int)(0 + _x + step157)) ) { +Debug.locals.put("x", _x); + BA.debugLineNum = 2524;BA.debugLine="c4.Position = x"; +Debug.ShouldStop(134217728); +_c4.runMethod(true,"setPosition",BA.numberCast(int.class, _x)); + BA.debugLineNum = 2525;BA.debugLine="arti3 = arti3 + c4.GetString(\"PE_CANT\")"; +Debug.ShouldStop(268435456); +_arti3 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _arti3),BA.numberCast(double.class, _c4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))))}, "+",1, 0));Debug.locals.put("arti3", _arti3); + BA.debugLineNum = 2526;BA.debugLine="Cuenta3 = Cuenta3 + c4.GetString(\"PE_COSTO_"; +Debug.ShouldStop(536870912); +_cuenta3 = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cuenta3),BA.numberCast(double.class, _c4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_TOT"))))}, "+",1, 0));Debug.locals.put("Cuenta3", _cuenta3); + } +}Debug.locals.put("x", _x); +; + }; + BA.debugLineNum = 2531;BA.debugLine="Private TOTALMONTO As String = cuenta0 + Cuen"; +Debug.ShouldStop(4); +_totalmonto = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cuenta0),BA.numberCast(double.class, _cuenta1),BA.numberCast(double.class, _cuenta2),BA.numberCast(double.class, _cuenta3)}, "+++",3, 0));Debug.locals.put("TOTALMONTO", _totalmonto);Debug.locals.put("TOTALMONTO", _totalmonto); + BA.debugLineNum = 2532;BA.debugLine="Private TOTALcantidad As String = arti + arti"; +Debug.ShouldStop(8); +_totalcantidad = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _arti),BA.numberCast(double.class, _arti1),BA.numberCast(double.class, _arti2),BA.numberCast(double.class, _arti3)}, "+++",3, 0));Debug.locals.put("TOTALcantidad", _totalcantidad);Debug.locals.put("TOTALcantidad", _totalcantidad); + BA.debugLineNum = 2534;BA.debugLine="Log(\"si entre\")"; +Debug.ShouldStop(32); +c_principal.__c.runVoidMethod ("LogImpl","815401162",RemoteObject.createImmutable("si entre"),0); + BA.debugLineNum = 2535;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"CAT_CL_COD"; +Debug.ShouldStop(64); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("AddTwoLines",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO"))),RemoteObject.createImmutable(" - "),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_NOMBRE")))))),(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("Articulos :"),_totalcantidad,RemoteObject.createImmutable(" Monto :"),c_principal.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _totalmonto)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_principal.__c.getField(true,"True"))),RemoteObject.createImmutable(" "),__ref.getField(true,"_estatus" /*RemoteObject*/ ))))); + }} +; + } +}Debug.locals.put("i", _i); +; + }; + }; + BA.debugLineNum = 2572;BA.debugLine="End Sub"; +Debug.ShouldStop(2048); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static void _b_imp_inventario_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_imp_inventario_Click (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,3005); +if (RapidSub.canDelegate("b_imp_inventario_click")) { __ref.runUserSub(false, "c_principal","b_imp_inventario_click", __ref); return;} +ResumableSub_b_imp_inventario_Click rsub = new ResumableSub_b_imp_inventario_Click(null,__ref); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_b_imp_inventario_Click extends BA.ResumableSub { +public ResumableSub_b_imp_inventario_Click(reparto_izca.keymon.lat.c_principal parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +reparto_izca.keymon.lat.c_principal parent; +RemoteObject _cont = RemoteObject.createImmutable(0); +RemoteObject _bmp = RemoteObject.declareNull("anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper"); +RemoteObject _myimage = RemoteObject.declareNull("reparto_izca.keymon.lat.escposprinter._animage"); +RemoteObject _sdate = RemoteObject.createImmutable(""); +RemoteObject _stime = RemoteObject.createImmutable(""); +int _i = 0; +RemoteObject _firstchar = RemoteObject.createImmutable(""); +RemoteObject _productoinven = RemoteObject.createImmutable(""); +RemoteObject _sumainv = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +int step56; +int limit56; +int step62; +int limit62; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("b_imp_inventario_Click (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,3005); +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 = 3036;BA.debugLine="ProgressDialogShow(\"Imprimiendo, un momento ...\")"; +Debug.ShouldStop(134217728); +parent.__c.runVoidMethod ("ProgressDialogShow",__ref.getField(false, "ba"),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Imprimiendo, un momento ...")))); + BA.debugLineNum = 3037;BA.debugLine="Printer1.DisConnect"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_disconnect" /*RemoteObject*/ ); + BA.debugLineNum = 3038;BA.debugLine="If Not(Printer1.IsConnected) Then"; +Debug.ShouldStop(536870912); +if (true) break; + +case 1: +//if +this.state = 38; +if (parent.__c.runMethod(true,"Not",(Object)(__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_isconnected" /*RemoteObject*/ ))).get().booleanValue()) { +this.state = 3; +}else { +this.state = 21; +}if (true) break; + +case 3: +//C +this.state = 4; + BA.debugLineNum = 3040;BA.debugLine="Printer1.Connect"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_connect" /*RemoteObject*/ ); + BA.debugLineNum = 3041;BA.debugLine="Private cont As Int = 0"; +Debug.ShouldStop(1); +_cont = BA.numberCast(int.class, 0);Debug.locals.put("cont", _cont);Debug.locals.put("cont", _cont); + BA.debugLineNum = 3042;BA.debugLine="Do While Not(impresoraConectada)"; +Debug.ShouldStop(2); +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 = 3043;BA.debugLine="Sleep(1000)"; +Debug.ShouldStop(4); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_principal", "b_imp_inventario_click"),BA.numberCast(int.class, 1000)); +this.state = 57; +return; +case 57: +//C +this.state = 7; +; + BA.debugLineNum = 3044;BA.debugLine="cont = cont + 1"; +Debug.ShouldStop(8); +_cont = RemoteObject.solve(new RemoteObject[] {_cont,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("cont", _cont); + BA.debugLineNum = 3045;BA.debugLine="If cont = 7 Then Printer1.Connect 'Tratamos de"; +Debug.ShouldStop(16); +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 (reparto_izca.keymon.lat.escposprinter.class, "_connect" /*RemoteObject*/ ); +if (true) break; + +case 12: +//C +this.state = 13; +; + BA.debugLineNum = 3046;BA.debugLine="If cont > 15 Then impresoraConectada = True"; +Debug.ShouldStop(32); +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 = 3048;BA.debugLine="Sleep(500)"; +Debug.ShouldStop(128); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_principal", "b_imp_inventario_click"),BA.numberCast(int.class, 500)); +this.state = 58; +return; +case 58: +//C +this.state = 38; +; + BA.debugLineNum = 3049;BA.debugLine="impresoraConectada = False"; +Debug.ShouldStop(256); +__ref.setField ("_impresoraconectada" /*RemoteObject*/ ,parent.__c.getField(true,"False")); + if (true) break; + +case 21: +//C +this.state = 22; + BA.debugLineNum = 3052;BA.debugLine="Printer1.Connect"; +Debug.ShouldStop(2048); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_connect" /*RemoteObject*/ ); + BA.debugLineNum = 3053;BA.debugLine="Private cont As Int = 0"; +Debug.ShouldStop(4096); +_cont = BA.numberCast(int.class, 0);Debug.locals.put("cont", _cont);Debug.locals.put("cont", _cont); + BA.debugLineNum = 3054;BA.debugLine="Do While Not(impresoraConectada) Or Not(Printer1"; +Debug.ShouldStop(8192); +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 (reparto_izca.keymon.lat.escposprinter.class, "_isconnected" /*RemoteObject*/ ))))) { +this.state = 24; +if (true) break; +} +if (true) break; + +case 24: +//C +this.state = 25; + BA.debugLineNum = 3055;BA.debugLine="Sleep(1000)"; +Debug.ShouldStop(16384); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_principal", "b_imp_inventario_click"),BA.numberCast(int.class, 1000)); +this.state = 59; +return; +case 59: +//C +this.state = 25; +; + BA.debugLineNum = 3056;BA.debugLine="cont = cont + 1"; +Debug.ShouldStop(32768); +_cont = RemoteObject.solve(new RemoteObject[] {_cont,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("cont", _cont); + BA.debugLineNum = 3057;BA.debugLine="If cont = 2 Then Printer1.Connect"; +Debug.ShouldStop(65536); +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 (reparto_izca.keymon.lat.escposprinter.class, "_connect" /*RemoteObject*/ ); +if (true) break; + +case 30: +//C +this.state = 31; +; + BA.debugLineNum = 3058;BA.debugLine="If cont > 4 Then impresoraConectada = True"; +Debug.ShouldStop(131072); +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 = 3060;BA.debugLine="Sleep(500)"; +Debug.ShouldStop(524288); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_principal", "b_imp_inventario_click"),BA.numberCast(int.class, 500)); +this.state = 60; +return; +case 60: +//C +this.state = 38; +; + BA.debugLineNum = 3061;BA.debugLine="impresoraConectada = False"; +Debug.ShouldStop(1048576); +__ref.setField ("_impresoraconectada" /*RemoteObject*/ ,parent.__c.getField(true,"False")); + if (true) break; + +case 38: +//C +this.state = 39; +; + BA.debugLineNum = 3064;BA.debugLine="TAMANO = 0"; +Debug.ShouldStop(8388608); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 3065;BA.debugLine="ESPACIO = 28"; +Debug.ShouldStop(16777216); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, 28)); + BA.debugLineNum = 3066;BA.debugLine="BLANCO = \" \""; +Debug.ShouldStop(33554432); +__ref.setField ("_blanco" /*RemoteObject*/ ,BA.ObjectToString(" ")); + BA.debugLineNum = 3067;BA.debugLine="Dim bmp As Bitmap"; +Debug.ShouldStop(67108864); +_bmp = RemoteObject.createNew ("anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper");Debug.locals.put("bmp", _bmp); + BA.debugLineNum = 3068;BA.debugLine="Printer1.Justify= 1"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 1)); + BA.debugLineNum = 3069;BA.debugLine="bmp.InitializeResize(File.DirAssets, \"inventarios"; +Debug.ShouldStop(268435456); +_bmp.runVoidMethod ("InitializeResize",(Object)(parent.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(BA.ObjectToString("inventarios.jpg")),(Object)(BA.numberCast(int.class, 92)),(Object)(BA.numberCast(int.class, 92)),(Object)(parent.__c.getField(true,"True"))); + BA.debugLineNum = 3070;BA.debugLine="Dim myimage As AnImage = Printer1.ImageToBWIMage("; +Debug.ShouldStop(536870912); +_myimage = __ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_imagetobwimage" /*RemoteObject*/ ,(Object)(_bmp));Debug.locals.put("myimage", _myimage);Debug.locals.put("myimage", _myimage); + BA.debugLineNum = 3071;BA.debugLine="myimage = Printer1.DitherImage2D(myimage, 128)"; +Debug.ShouldStop(1073741824); +_myimage = __ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_ditherimage2d" /*RemoteObject*/ ,(Object)(_myimage),(Object)(BA.numberCast(int.class, 128)));Debug.locals.put("myimage", _myimage); + BA.debugLineNum = 3072;BA.debugLine="myimage= Printer1.PackImage(myimage)"; +Debug.ShouldStop(-2147483648); +_myimage = __ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_packimage" /*RemoteObject*/ ,(Object)(_myimage));Debug.locals.put("myimage", _myimage); + BA.debugLineNum = 3073;BA.debugLine="Printer1.WriteString(CRLF) ' nudge the printer to"; +Debug.ShouldStop(1); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(parent.__c.getField(true,"CRLF"))); + BA.debugLineNum = 3074;BA.debugLine="Printer1.WriteString(CRLF) ' nudge the printer to"; +Debug.ShouldStop(2); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(parent.__c.getField(true,"CRLF"))); + BA.debugLineNum = 3075;BA.debugLine="Printer1.WriteString(Printer1.REVERSE)"; +Debug.ShouldStop(4); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_printer1" /*RemoteObject*/ ).getField(true,"_reverse" /*RemoteObject*/ ))); + BA.debugLineNum = 3076;BA.debugLine="Printer1.PrintImage(myimage)"; +Debug.ShouldStop(8); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_printimage" /*RemoteObject*/ ,(Object)(_myimage)); + BA.debugLineNum = 3077;BA.debugLine="Printer1.WriteString(Printer1.UNREVERSE)"; +Debug.ShouldStop(16); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_printer1" /*RemoteObject*/ ).getField(true,"_unreverse" /*RemoteObject*/ ))); + BA.debugLineNum = 3078;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +Debug.ShouldStop(32); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 3079;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery(\"sel"; +Debug.ShouldStop(64); +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._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select HVD_PRONOMBRE, IFNULL(SUM(HVD_CANT), 0) AS HVD_CANT, HVD_PROID from HIST_VENTAS WHERE HVD_PRONOMBRE <> 'Cobranza Pendiente' and HVD_PROID <> HVD_CODPROMO GROUP BY HVD_PROID order by HVD_PRONOMBRE asc"))));__ref.setField("_c",parent._c); + BA.debugLineNum = 3080;BA.debugLine="lv_prod_Prin.SingleLineLayout.Label.TextColor = C"; +Debug.ShouldStop(128); +__ref.getField(false,"_lv_prod_prin" /*RemoteObject*/ ).runMethod(false,"getSingleLineLayout").getField(false,"Label").runMethod(true,"setTextColor",parent.__c.getField(false,"Colors").getField(true,"White")); + BA.debugLineNum = 3081;BA.debugLine="lv_prod_Prin.Clear"; +Debug.ShouldStop(256); +__ref.getField(false,"_lv_prod_prin" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 3082;BA.debugLine="Printer1.Justify = 0"; +Debug.ShouldStop(512); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3083;BA.debugLine="Dim sDate, sTime As String"; +Debug.ShouldStop(1024); +_sdate = RemoteObject.createImmutable("");Debug.locals.put("sDate", _sdate); +_stime = RemoteObject.createImmutable("");Debug.locals.put("sTime", _stime); + BA.debugLineNum = 3084;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; +Debug.ShouldStop(2048); +parent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("dd/MM/yyyy")); + BA.debugLineNum = 3085;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; +Debug.ShouldStop(4096); +parent.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HH:mm:ss")); + BA.debugLineNum = 3086;BA.debugLine="sDate = DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(8192); +_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 = 3087;BA.debugLine="sTime = DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(16384); +_stime = parent.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(parent.__c.getField(false,"DateTime").runMethod(true,"getNow")));Debug.locals.put("sTime", _stime); + BA.debugLineNum = 3088;BA.debugLine="Printer1.WriteString(\"Fecha: \" &sDate & CRLF)"; +Debug.ShouldStop(32768); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Fecha: "),_sdate,parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 3089;BA.debugLine="Printer1.WriteString(\"Hora: \" &sTime & CRLF)"; +Debug.ShouldStop(65536); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Hora: "),_stime,parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 3090;BA.debugLine="Printer1.WriteString(\"Ruta: \" & l_ruta.Text & CRL"; +Debug.ShouldStop(131072); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Ruta: "),__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"getText"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 3091;BA.debugLine="Printer1.WriteString(\"Usuario: \" & Subs.dameUsuar"; +Debug.ShouldStop(262144); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Usuario: "),parent._subs.runMethod(true,"_dameusuariodedb" /*RemoteObject*/ ,__ref.getField(false, "ba")),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 3093;BA.debugLine="Printer1.WriteString(\"---------------------------"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("--------------------------------"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 3094;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(2097152); +if (true) break; + +case 39: +//if +this.state = 56; +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 41; +}if (true) break; + +case 41: +//C +this.state = 42; + BA.debugLineNum = 3095;BA.debugLine="For i = 0 To c.RowCount - 1"; +Debug.ShouldStop(4194304); +if (true) break; + +case 42: +//for +this.state = 55; +step56 = 1; +limit56 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +Debug.locals.put("i", _i); +this.state = 61; +if (true) break; + +case 61: +//C +this.state = 55; +if ((step56 > 0 && _i <= limit56) || (step56 < 0 && _i >= limit56)) this.state = 44; +if (true) break; + +case 62: +//C +this.state = 61; +_i = ((int)(0 + _i + step56)) ; +Debug.locals.put("i", _i); +if (true) break; + +case 44: +//C +this.state = 45; + BA.debugLineNum = 3096;BA.debugLine="c.Position = i"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 3098;BA.debugLine="Printer1.WriteString(\"-----------INVENTARIO----"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("-----------INVENTARIO-----------"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 3099;BA.debugLine="Printer1.WriteString(\"-------------------------"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("--------------------------------"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 3100;BA.debugLine="Printer1.WriteString(\"Cant. Producto\" & C"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Cant. Producto"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 3101;BA.debugLine="Printer1.WriteString(\"-------------------------"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("------------------------------"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 3102;BA.debugLine="For i=0 To c.RowCount -1"; +Debug.ShouldStop(536870912); +if (true) break; + +case 45: +//for +this.state = 54; +step62 = 1; +limit62 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +Debug.locals.put("i", _i); +this.state = 63; +if (true) break; + +case 63: +//C +this.state = 54; +if ((step62 > 0 && _i <= limit62) || (step62 < 0 && _i >= limit62)) this.state = 47; +if (true) break; + +case 64: +//C +this.state = 63; +_i = ((int)(0 + _i + step62)) ; +Debug.locals.put("i", _i); +if (true) break; + +case 47: +//C +this.state = 48; + BA.debugLineNum = 3103;BA.debugLine="c.Position=i"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 3106;BA.debugLine="Printer1.Justify = 0"; +Debug.ShouldStop(2); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3107;BA.debugLine="Printer1.WriteString( (c.GetString(\"HVD_CANT\")"; +Debug.ShouldStop(4); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),RemoteObject.createImmutable("- ")))); + BA.debugLineNum = 3108;BA.debugLine="Printer1.Justify = 0"; +Debug.ShouldStop(8); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3109;BA.debugLine="Dim firstChar As String = c.GetString(\"HVD_PRO"; +Debug.ShouldStop(16); +_firstchar = __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PRONOMBRE"))).runMethod(true,"substring",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 1)));Debug.locals.put("firstChar", _firstchar);Debug.locals.put("firstChar", _firstchar); + BA.debugLineNum = 3110;BA.debugLine="Dim productoinven As String"; +Debug.ShouldStop(32); +_productoinven = RemoteObject.createImmutable("");Debug.locals.put("productoinven", _productoinven); + BA.debugLineNum = 3113;BA.debugLine="If Asc(firstChar) >= Asc(\"0\") And Asc(firstCha"; +Debug.ShouldStop(256); +if (true) break; + +case 48: +//if +this.state = 53; +if (RemoteObject.solveBoolean("g",parent.__c.runMethod(true,"Asc",(Object)(BA.ObjectToChar(_firstchar))),BA.numberCast(double.class, parent.__c.runMethod(true,"Asc",(Object)(BA.ObjectToChar(RemoteObject.createImmutable("0")))))) && RemoteObject.solveBoolean("k",parent.__c.runMethod(true,"Asc",(Object)(BA.ObjectToChar(_firstchar))),BA.numberCast(double.class, parent.__c.runMethod(true,"Asc",(Object)(BA.ObjectToChar(RemoteObject.createImmutable("9"))))))) { +this.state = 50; +}else { +this.state = 52; +}if (true) break; + +case 50: +//C +this.state = 53; + BA.debugLineNum = 3115;BA.debugLine="productoinven = c.GetString(\"HVD_PRONOMBRE\")."; +Debug.ShouldStop(1024); +_productoinven = __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PRONOMBRE"))).runMethod(true,"substring",(Object)(BA.numberCast(int.class, 4)));Debug.locals.put("productoinven", _productoinven); + if (true) break; + +case 52: +//C +this.state = 53; + BA.debugLineNum = 3118;BA.debugLine="productoinven = c.GetString(\"HVD_PRONOMBRE\")"; +Debug.ShouldStop(8192); +_productoinven = __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PRONOMBRE")));Debug.locals.put("productoinven", _productoinven); + if (true) break; + +case 53: +//C +this.state = 64; +; + BA.debugLineNum = 3122;BA.debugLine="Printer1.WriteString(productoinven)"; +Debug.ShouldStop(131072); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(_productoinven)); + BA.debugLineNum = 3123;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +Debug.ShouldStop(262144); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 3124;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +Debug.ShouldStop(524288); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF")))); + if (true) break; +if (true) break; + +case 54: +//C +this.state = 62; +Debug.locals.put("i", _i); +; + 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 = -1; +; + BA.debugLineNum = 3131;BA.debugLine="c.Close"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 3133;BA.debugLine="Dim sumainv As Cursor = Starter.skmt.ExecQuery(\"S"; +Debug.ShouldStop(268435456); +_sumainv = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_sumainv = 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 SUM(HVD_CANT) AS CANTIDAD FROM HIST_VENTAS WHERE HVD_CODPROMO <> HVD_PROID"))));Debug.locals.put("sumainv", _sumainv);Debug.locals.put("sumainv", _sumainv); + BA.debugLineNum = 3134;BA.debugLine="sumainv.Position = 0"; +Debug.ShouldStop(536870912); +_sumainv.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3136;BA.debugLine="Printer1.WriteString(\"---------------------------"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("------------------------------"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 3137;BA.debugLine="Printer1.WriteString(\"Total piezas: \" & sumainv.G"; +Debug.ShouldStop(1); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Total piezas: "),_sumainv.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CANTIDAD"))),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 3138;BA.debugLine="Printer1.WriteString(\"---------------------------"; +Debug.ShouldStop(2); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("------------------------------"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 3139;BA.debugLine="Printer1.Justify = 0"; +Debug.ShouldStop(4); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3140;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +Debug.ShouldStop(8); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 3141;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +Debug.ShouldStop(16); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 3142;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +Debug.ShouldStop(32); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 3143;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +Debug.ShouldStop(64); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 3144;BA.debugLine="Sleep(1000)"; +Debug.ShouldStop(128); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_principal", "b_imp_inventario_click"),BA.numberCast(int.class, 1000)); +this.state = 65; +return; +case 65: +//C +this.state = -1; +; + BA.debugLineNum = 3145;BA.debugLine="Printer1.DisConnect"; +Debug.ShouldStop(256); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_disconnect" /*RemoteObject*/ ); + BA.debugLineNum = 3146;BA.debugLine="ProgressDialogHide"; +Debug.ShouldStop(512); +parent.__c.runVoidMethod ("ProgressDialogHide"); + BA.debugLineNum = 3147;BA.debugLine="End Sub"; +Debug.ShouldStop(1024); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static void _b_impresion_rec_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_impresion_rec_Click (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,3150); +if (RapidSub.canDelegate("b_impresion_rec_click")) { __ref.runUserSub(false, "c_principal","b_impresion_rec_click", __ref); return;} +ResumableSub_b_impresion_rec_Click rsub = new ResumableSub_b_impresion_rec_Click(null,__ref); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_b_impresion_rec_Click extends BA.ResumableSub { +public ResumableSub_b_impresion_rec_Click(reparto_izca.keymon.lat.c_principal parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +reparto_izca.keymon.lat.c_principal parent; +RemoteObject _totalentrega = RemoteObject.createImmutable(0); +RemoteObject _totalrechazo = RemoteObject.createImmutable(0); +RemoteObject _totalpiezas = RemoteObject.createImmutable(0); +RemoteObject _sdate = RemoteObject.createImmutable(""); +RemoteObject _stime = RemoteObject.createImmutable(""); +RemoteObject _cont = RemoteObject.createImmutable(0); +int _i = 0; +RemoteObject _c3 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _resta = RemoteObject.createImmutable(""); +int step46; +int limit46; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("b_impresion_rec_Click (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,3150); +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 = 3151;BA.debugLine="Dim totalentrega As Int"; +Debug.ShouldStop(16384); +_totalentrega = RemoteObject.createImmutable(0);Debug.locals.put("totalentrega", _totalentrega); + BA.debugLineNum = 3152;BA.debugLine="Dim totalrechazo As Int"; +Debug.ShouldStop(32768); +_totalrechazo = RemoteObject.createImmutable(0);Debug.locals.put("totalrechazo", _totalrechazo); + BA.debugLineNum = 3153;BA.debugLine="Dim totalpiezas As Int"; +Debug.ShouldStop(65536); +_totalpiezas = RemoteObject.createImmutable(0);Debug.locals.put("totalpiezas", _totalpiezas); + BA.debugLineNum = 3154;BA.debugLine="Dim sDate, sTime As String"; +Debug.ShouldStop(131072); +_sdate = RemoteObject.createImmutable("");Debug.locals.put("sDate", _sdate); +_stime = RemoteObject.createImmutable("");Debug.locals.put("sTime", _stime); + BA.debugLineNum = 3155;BA.debugLine="c=Starter.skmt.ExecQuery(\"select USUARIO from usu"; +Debug.ShouldStop(262144); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select USUARIO from usuarioa")))); + BA.debugLineNum = 3156;BA.debugLine="c.Position=0"; +Debug.ShouldStop(524288); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3157;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +Debug.ShouldStop(1048576); +__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO")))); + BA.debugLineNum = 3159;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; +Debug.ShouldStop(4194304); +parent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("dd/MM/yyyy")); + BA.debugLineNum = 3160;BA.debugLine="DateTime.TimeFormat=\"HH:mm:ss\""; +Debug.ShouldStop(8388608); +parent.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HH:mm:ss")); + BA.debugLineNum = 3161;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(16777216); +_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 = 3162;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(33554432); +_stime = parent.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(parent.__c.getField(false,"DateTime").runMethod(true,"getNow")));Debug.locals.put("sTime", _stime); + BA.debugLineNum = 3163;BA.debugLine="c.Close"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 3169;BA.debugLine="ProgressDialogShow(\"Imprimiendo, un momento ...\")"; +Debug.ShouldStop(1); +parent.__c.runVoidMethod ("ProgressDialogShow",__ref.getField(false, "ba"),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Imprimiendo, un momento ...")))); + BA.debugLineNum = 3170;BA.debugLine="Printer1.DisConnect"; +Debug.ShouldStop(2); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_disconnect" /*RemoteObject*/ ); + BA.debugLineNum = 3171;BA.debugLine="If Not(Printer1.IsConnected) Then"; +Debug.ShouldStop(4); +if (true) break; + +case 1: +//if +this.state = 38; +if (parent.__c.runMethod(true,"Not",(Object)(__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_isconnected" /*RemoteObject*/ ))).get().booleanValue()) { +this.state = 3; +}else { +this.state = 21; +}if (true) break; + +case 3: +//C +this.state = 4; + BA.debugLineNum = 3173;BA.debugLine="Printer1.Connect"; +Debug.ShouldStop(16); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_connect" /*RemoteObject*/ ); + BA.debugLineNum = 3174;BA.debugLine="Private cont As Int = 0"; +Debug.ShouldStop(32); +_cont = BA.numberCast(int.class, 0);Debug.locals.put("cont", _cont);Debug.locals.put("cont", _cont); + BA.debugLineNum = 3175;BA.debugLine="Do While Not(impresoraConectada)"; +Debug.ShouldStop(64); +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 = 3176;BA.debugLine="Sleep(1000)"; +Debug.ShouldStop(128); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_principal", "b_impresion_rec_click"),BA.numberCast(int.class, 1000)); +this.state = 53; +return; +case 53: +//C +this.state = 7; +; + BA.debugLineNum = 3178;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 = 3179;BA.debugLine="If cont = 2 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, 2))) { +this.state = 9; +;}if (true) break; + +case 9: +//C +this.state = 12; +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_connect" /*RemoteObject*/ ); +if (true) break; + +case 12: +//C +this.state = 13; +; + BA.debugLineNum = 3180;BA.debugLine="If cont > 3 Then impresoraConectada = True"; +Debug.ShouldStop(2048); +if (true) break; + +case 13: +//if +this.state = 18; +if (RemoteObject.solveBoolean(">",_cont,BA.numberCast(double.class, 3))) { +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 = 3182;BA.debugLine="Sleep(500)"; +Debug.ShouldStop(8192); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_principal", "b_impresion_rec_click"),BA.numberCast(int.class, 500)); +this.state = 54; +return; +case 54: +//C +this.state = 38; +; + BA.debugLineNum = 3183;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 = 3186;BA.debugLine="Printer1.Connect"; +Debug.ShouldStop(131072); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_connect" /*RemoteObject*/ ); + BA.debugLineNum = 3187;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 = 3188;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 (reparto_izca.keymon.lat.escposprinter.class, "_isconnected" /*RemoteObject*/ ))))) { +this.state = 24; +if (true) break; +} +if (true) break; + +case 24: +//C +this.state = 25; + BA.debugLineNum = 3189;BA.debugLine="Sleep(1000)"; +Debug.ShouldStop(1048576); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_principal", "b_impresion_rec_click"),BA.numberCast(int.class, 1000)); +this.state = 55; +return; +case 55: +//C +this.state = 25; +; + BA.debugLineNum = 3191;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 = 3192;BA.debugLine="If cont = 2 Then Printer1.Connect"; +Debug.ShouldStop(8388608); +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 (reparto_izca.keymon.lat.escposprinter.class, "_connect" /*RemoteObject*/ ); +if (true) break; + +case 30: +//C +this.state = 31; +; + BA.debugLineNum = 3193;BA.debugLine="If cont > 3 Then impresoraConectada = True"; +Debug.ShouldStop(16777216); +if (true) break; + +case 31: +//if +this.state = 36; +if (RemoteObject.solveBoolean(">",_cont,BA.numberCast(double.class, 3))) { +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 = 3195;BA.debugLine="Sleep(500)"; +Debug.ShouldStop(67108864); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_principal", "b_impresion_rec_click"),BA.numberCast(int.class, 500)); +this.state = 56; +return; +case 56: +//C +this.state = 38; +; + BA.debugLineNum = 3196;BA.debugLine="impresoraConectada = False"; +Debug.ShouldStop(134217728); +__ref.setField ("_impresoraconectada" /*RemoteObject*/ ,parent.__c.getField(true,"False")); + if (true) break; + +case 38: +//C +this.state = 39; +; + BA.debugLineNum = 3199;BA.debugLine="TAMANO = 0"; +Debug.ShouldStop(1073741824); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 3200;BA.debugLine="ESPACIO = 28"; +Debug.ShouldStop(-2147483648); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, 28)); + BA.debugLineNum = 3201;BA.debugLine="BLANCO = \" \""; +Debug.ShouldStop(1); +__ref.setField ("_blanco" /*RemoteObject*/ ,BA.ObjectToString(" ")); + BA.debugLineNum = 3203;BA.debugLine="Printer1.WriteString(\"Izca Distribuciones\" & CRL"; +Debug.ShouldStop(4); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Izca Distribuciones"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 3204;BA.debugLine="Printer1.WriteString(sDate & \" \" &sTime & CRLF)"; +Debug.ShouldStop(8); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(_sdate,RemoteObject.createImmutable(" "),_stime,parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 3206;BA.debugLine="Printer1.WriteString(\"------------ENTREGA--------"; +Debug.ShouldStop(32); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("------------ENTREGA-----------"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 3207;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery(\"sel"; +Debug.ShouldStop(64); +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._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select HVD_PRONOMBRE, IFNULL(SUM(HVD_RECHAZOCANT), 0) AS HVD_RECHAZOCANT, IFNULL(SUM(HVD_CANT), 0) AS HVD_CANT, (IFNULL(SUM(HVD_CANT), 0) - IFNULL(SUM(HVD_RECHAZOCANT), 0)) as total, HVD_PROID from HIST_VENTAS where HVD_PROID <> HVD_CODPROMO GROUP BY HVD_PROID order by HVD_PRONOMBRE asc"))));__ref.setField("_c",parent._c); + BA.debugLineNum = 3208;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(128); +if (true) break; + +case 39: +//if +this.state = 52; +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 41; +}if (true) break; + +case 41: +//C +this.state = 42; + BA.debugLineNum = 3209;BA.debugLine="For i = 0 To c.RowCount - 1"; +Debug.ShouldStop(256); +if (true) break; + +case 42: +//for +this.state = 51; +step46 = 1; +limit46 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*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 = 51; +if ((step46 > 0 && _i <= limit46) || (step46 < 0 && _i >= limit46)) this.state = 44; +if (true) break; + +case 58: +//C +this.state = 57; +_i = ((int)(0 + _i + step46)) ; +Debug.locals.put("i", _i); +if (true) break; + +case 44: +//C +this.state = 45; + BA.debugLineNum = 3210;BA.debugLine="c.Position = i"; +Debug.ShouldStop(512); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 3213;BA.debugLine="Private c3 As Cursor=Starter.skmt.ExecQuery($\"s"; +Debug.ShouldStop(4096); +_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._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select Ifnull(sum(PE_CANT),0) AS PE_CANT from PEDIDO WHERE PE_PROID ='"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID")))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("c3", _c3);Debug.locals.put("c3", _c3); + BA.debugLineNum = 3214;BA.debugLine="Private resta As String = 0"; +Debug.ShouldStop(8192); +_resta = BA.NumberToString(0);Debug.locals.put("resta", _resta);Debug.locals.put("resta", _resta); + BA.debugLineNum = 3216;BA.debugLine="If c3.RowCount > 0 Then"; +Debug.ShouldStop(32768); +if (true) break; + +case 45: +//if +this.state = 50; +if (RemoteObject.solveBoolean(">",_c3.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 47; +}else { +this.state = 49; +}if (true) break; + +case 47: +//C +this.state = 50; + BA.debugLineNum = 3217;BA.debugLine="c3.Position = 0"; +Debug.ShouldStop(65536); +_c3.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3218;BA.debugLine="resta = c3.GetString(\"PE_CANT\")"; +Debug.ShouldStop(131072); +_resta = _c3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")));Debug.locals.put("resta", _resta); + if (true) break; + +case 49: +//C +this.state = 50; + BA.debugLineNum = 3220;BA.debugLine="resta = 0"; +Debug.ShouldStop(524288); +_resta = BA.NumberToString(0);Debug.locals.put("resta", _resta); + if (true) break; + +case 50: +//C +this.state = 58; +; + BA.debugLineNum = 3222;BA.debugLine="Printer1.Justify = 0"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3223;BA.debugLine="Printer1.WriteString(c.GetString(\"HVD_PRONOMBRE"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PRONOMBRE"))),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 3224;BA.debugLine="Printer1.Justify = 0"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3225;BA.debugLine="Printer1.WriteString(\"TP: \"& c.GetInt(\"HVD_CANT"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("TP: "),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("HVD_CANT"))),RemoteObject.createImmutable(" ")))); + BA.debugLineNum = 3226;BA.debugLine="Printer1.Justify = 1"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 1)); + BA.debugLineNum = 3227;BA.debugLine="Printer1.WriteString(\" TE: \" & (c.GetInt(\"tot"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" TE: "),(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("total"))),BA.numberCast(double.class, _resta)}, "+",1, 0)),RemoteObject.createImmutable(" ")))); + BA.debugLineNum = 3228;BA.debugLine="Printer1.Justify = 2"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 2)); + BA.debugLineNum = 3229;BA.debugLine="Printer1.WriteString(\" TR: \" & (c.GetInt(\"HVD"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" TR: "),(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))),BA.numberCast(double.class, _resta)}, "-",1, 0)),RemoteObject.createImmutable(" ")))); + BA.debugLineNum = 3230;BA.debugLine="Printer1.Justify = 0"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3231;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 3233;BA.debugLine="totalentrega = totalentrega + c.GetInt(\"total\")"; +Debug.ShouldStop(1); +_totalentrega = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_totalentrega,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("total"))),BA.numberCast(double.class, _resta)}, "++",2, 0));Debug.locals.put("totalentrega", _totalentrega); + BA.debugLineNum = 3234;BA.debugLine="totalrechazo = totalrechazo + c.GetInt(\"HVD_REC"; +Debug.ShouldStop(2); +_totalrechazo = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_totalrechazo,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))),BA.numberCast(double.class, _resta)}, "+-",2, 0));Debug.locals.put("totalrechazo", _totalrechazo); + BA.debugLineNum = 3235;BA.debugLine="totalpiezas = totalpiezas + c.GetInt(\"HVD_CANT\""; +Debug.ShouldStop(4); +_totalpiezas = RemoteObject.solve(new RemoteObject[] {_totalpiezas,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("HVD_CANT")))}, "+",1, 1);Debug.locals.put("totalpiezas", _totalpiezas); + if (true) break; +if (true) break; + +case 51: +//C +this.state = 52; +Debug.locals.put("i", _i); +; + if (true) break; + +case 52: +//C +this.state = -1; +; + BA.debugLineNum = 3240;BA.debugLine="c.Close"; +Debug.ShouldStop(128); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 3241;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +Debug.ShouldStop(256); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 3242;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +Debug.ShouldStop(512); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 3243;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +Debug.ShouldStop(1024); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 3245;BA.debugLine="Printer1.WriteString(\"Total Piezas: \"& totalpiez"; +Debug.ShouldStop(4096); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Total Piezas: "),_totalpiezas,parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 3246;BA.debugLine="Printer1.WriteString(\"Total Entrega: \"& totalent"; +Debug.ShouldStop(8192); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Total Entrega: "),_totalentrega,parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 3247;BA.debugLine="Printer1.WriteString(\"Total Rechazo: \"& totalrec"; +Debug.ShouldStop(16384); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Total Rechazo: "),_totalrechazo,parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 3250;BA.debugLine="Printer1.WriteString(\"---------------------------"; +Debug.ShouldStop(131072); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("------------------------------"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 3251;BA.debugLine="Printer1.WriteString(\"---------------------------"; +Debug.ShouldStop(262144); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("------------------------------"),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 3252;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +Debug.ShouldStop(524288); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 3253;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 3254;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),parent.__c.getField(true,"CRLF")))); + BA.debugLineNum = 3255;BA.debugLine="Sleep(1000)"; +Debug.ShouldStop(4194304); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_principal", "b_impresion_rec_click"),BA.numberCast(int.class, 1000)); +this.state = 59; +return; +case 59: +//C +this.state = -1; +; + BA.debugLineNum = 3256;BA.debugLine="Printer1.DisConnect"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_disconnect" /*RemoteObject*/ ); + BA.debugLineNum = 3258;BA.debugLine="ProgressDialogHide"; +Debug.ShouldStop(33554432); +parent.__c.runVoidMethod ("ProgressDialogHide"); + BA.debugLineNum = 3259;BA.debugLine="End Sub"; +Debug.ShouldStop(67108864); +if (true) break; + + } + } + } +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",11,__ref.getField(false, "ba"),__ref,2270); +if (RapidSub.canDelegate("b_mapa_click")) { return __ref.runUserSub(false, "c_principal","b_mapa_click", __ref);} + BA.debugLineNum = 2270;BA.debugLine="Sub b_mapa_Click"; +Debug.ShouldStop(536870912); + BA.debugLineNum = 2272;BA.debugLine="B4XPages.ShowPage(\"mapas\")"; +Debug.ShouldStop(-2147483648); +c_principal._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("mapas"))); + BA.debugLineNum = 2273;BA.debugLine="End Sub"; +Debug.ShouldStop(1); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_pc_env_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B_PC_ENV_Click (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,3499); +if (RapidSub.canDelegate("b_pc_env_click")) { return __ref.runUserSub(false, "c_principal","b_pc_env_click", __ref);} +RemoteObject _sdate = RemoteObject.createImmutable(""); +RemoteObject _stime = RemoteObject.createImmutable(""); +int _i = 0; +RemoteObject _itempanel = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _innerpanel = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _edittext = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _inputtext = RemoteObject.createImmutable(""); +RemoteObject _labelcant = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _cantidadrestar = RemoteObject.createImmutable(""); +RemoteObject _idlabel = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _idtext = RemoteObject.createImmutable(""); +RemoteObject _idparts = null; +RemoteObject _k = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _fechatabulador = null; +RemoteObject _fechatabulador3 = RemoteObject.createImmutable(""); +RemoteObject _restado = RemoteObject.createImmutable(0); + BA.debugLineNum = 3499;BA.debugLine="Private Sub B_PC_ENV_Click"; +Debug.ShouldStop(1024); + BA.debugLineNum = 3500;BA.debugLine="Dim sDate, sTime As String"; +Debug.ShouldStop(2048); +_sdate = RemoteObject.createImmutable("");Debug.locals.put("sDate", _sdate); +_stime = RemoteObject.createImmutable("");Debug.locals.put("sTime", _stime); + BA.debugLineNum = 3501;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; +Debug.ShouldStop(4096); +c_principal.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("dd/MM/yyyy")); + BA.debugLineNum = 3502;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; +Debug.ShouldStop(8192); +c_principal.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HH:mm:ss")); + BA.debugLineNum = 3503;BA.debugLine="sDate = DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(16384); +_sdate = c_principal.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(c_principal.__c.getField(false,"DateTime").runMethod(true,"getNow")));Debug.locals.put("sDate", _sdate); + BA.debugLineNum = 3504;BA.debugLine="sTime = DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(32768); +_stime = c_principal.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(c_principal.__c.getField(false,"DateTime").runMethod(true,"getNow")));Debug.locals.put("sTime", _stime); + BA.debugLineNum = 3507;BA.debugLine="For i = 0 To CLV_PICK_CIEGO.Size - 1"; +Debug.ShouldStop(262144); +{ +final int step6 = 1; +final int limit6 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_clv_pick_ciego" /*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 = 3509;BA.debugLine="Dim itemPanel As B4XView = CLV_PICK_CIEGO.GetPan"; +Debug.ShouldStop(1048576); +_itempanel = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_itempanel = __ref.getField(false,"_clv_pick_ciego" /*RemoteObject*/ ).runMethod(false,"_getpanel",(Object)(BA.numberCast(int.class, _i)));Debug.locals.put("itemPanel", _itempanel);Debug.locals.put("itemPanel", _itempanel); + BA.debugLineNum = 3510;BA.debugLine="Dim innerPanel As B4XView = itemPanel.GetView(0)"; +Debug.ShouldStop(2097152); +_innerpanel = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_innerpanel = _itempanel.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 0)));Debug.locals.put("innerPanel", _innerpanel);Debug.locals.put("innerPanel", _innerpanel); + BA.debugLineNum = 3511;BA.debugLine="Dim editText As B4XView = innerPanel.GetView(1)"; +Debug.ShouldStop(4194304); +_edittext = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_edittext = _innerpanel.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 1)));Debug.locals.put("editText", _edittext);Debug.locals.put("editText", _edittext); + BA.debugLineNum = 3512;BA.debugLine="Dim inputText As String = editText.As(EditText)."; +Debug.ShouldStop(8388608); +_inputtext = (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.EditTextWrapper"), _edittext.getObject())).runMethod(true,"getText");Debug.locals.put("inputText", _inputtext);Debug.locals.put("inputText", _inputtext); + BA.debugLineNum = 3513;BA.debugLine="Dim labelcant As B4XView = innerPanel.GetView(2)"; +Debug.ShouldStop(16777216); +_labelcant = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_labelcant = _innerpanel.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 2)));Debug.locals.put("labelcant", _labelcant);Debug.locals.put("labelcant", _labelcant); + BA.debugLineNum = 3514;BA.debugLine="Dim cantidadrestar As String = labelcant.As(Labe"; +Debug.ShouldStop(33554432); +_cantidadrestar = (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.LabelWrapper"), _labelcant.getObject())).runMethod(true,"getText");Debug.locals.put("cantidadrestar", _cantidadrestar);Debug.locals.put("cantidadrestar", _cantidadrestar); + BA.debugLineNum = 3517;BA.debugLine="If Regex.IsMatch(\"^[0]+$\", inputText) Or inputTe"; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean(".",c_principal.__c.getField(false,"Regex").runMethod(true,"IsMatch",(Object)(BA.ObjectToString("^[0]+$")),(Object)(_inputtext))) || RemoteObject.solveBoolean("=",_inputtext,BA.ObjectToString(""))) { + BA.debugLineNum = 3518;BA.debugLine="inputText = \"0\""; +Debug.ShouldStop(536870912); +_inputtext = BA.ObjectToString("0");Debug.locals.put("inputText", _inputtext); + }; + BA.debugLineNum = 3522;BA.debugLine="Dim idLabel As B4XView = innerPanel.GetView(0)"; +Debug.ShouldStop(2); +_idlabel = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_idlabel = _innerpanel.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 0)));Debug.locals.put("idLabel", _idlabel);Debug.locals.put("idLabel", _idlabel); + BA.debugLineNum = 3523;BA.debugLine="Dim idText As String = idLabel.As(Label).Text"; +Debug.ShouldStop(4); +_idtext = (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.LabelWrapper"), _idlabel.getObject())).runMethod(true,"getText");Debug.locals.put("idText", _idtext);Debug.locals.put("idText", _idtext); + BA.debugLineNum = 3524;BA.debugLine="Dim idParts() As String = Regex.Split(CRLF, idTe"; +Debug.ShouldStop(8); +_idparts = c_principal.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(c_principal.__c.getField(true,"CRLF")),(Object)(_idtext));Debug.locals.put("idParts", _idparts);Debug.locals.put("idParts", _idparts); + BA.debugLineNum = 3526;BA.debugLine="f=Starter.skmt.ExecQuery(\"select RUTAA from RUTA"; +Debug.ShouldStop(32); +__ref.getField(false,"_f" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select RUTAA from RUTAA")))); + BA.debugLineNum = 3527;BA.debugLine="f.Position=0"; +Debug.ShouldStop(64); +__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3529;BA.debugLine="a=Starter.skmt.ExecQuery(\"select ID_ALMACEN from"; +Debug.ShouldStop(256); +__ref.getField(false,"_a" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select ID_ALMACEN from CAT_ALMACEN")))); + BA.debugLineNum = 3530;BA.debugLine="If a.RowCount>0 Then"; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_a" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 3531;BA.debugLine="a.Position=0"; +Debug.ShouldStop(1024); +__ref.getField(false,"_a" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + }; + BA.debugLineNum = 3533;BA.debugLine="Dim k As Cursor = Starter.skmt.ExecQuery(\"SELECT"; +Debug.ShouldStop(4096); +_k = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_k = 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 HVD_FECHA FROM HIST_VENTAS"))));Debug.locals.put("k", _k);Debug.locals.put("k", _k); + BA.debugLineNum = 3534;BA.debugLine="k.Position = 0"; +Debug.ShouldStop(8192); +_k.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3535;BA.debugLine="Dim fechatabulador() As String = Regex.Split(\" \""; +Debug.ShouldStop(16384); +_fechatabulador = c_principal.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString(" ")),(Object)(_k.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_FECHA")))));Debug.locals.put("fechatabulador", _fechatabulador);Debug.locals.put("fechatabulador", _fechatabulador); + BA.debugLineNum = 3537;BA.debugLine="Dim fechatabulador3 As String = fechatabulador(0"; +Debug.ShouldStop(65536); +_fechatabulador3 = _fechatabulador.getArrayElement(true,BA.numberCast(int.class, 0));Debug.locals.put("fechatabulador3", _fechatabulador3);Debug.locals.put("fechatabulador3", _fechatabulador3); + BA.debugLineNum = 3538;BA.debugLine="k.Close"; +Debug.ShouldStop(131072); +_k.runVoidMethod ("Close"); + BA.debugLineNum = 3539;BA.debugLine="If inputText <> \"\" Then"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean("!",_inputtext,BA.ObjectToString(""))) { + BA.debugLineNum = 3540;BA.debugLine="Log(idParts(0))"; +Debug.ShouldStop(524288); +c_principal.__c.runVoidMethod ("LogImpl","816711721",_idparts.getArrayElement(true,BA.numberCast(int.class, 0)),0); + BA.debugLineNum = 3541;BA.debugLine="Log(cantidadrestar)"; +Debug.ShouldStop(1048576); +c_principal.__c.runVoidMethod ("LogImpl","816711722",_cantidadrestar,0); + BA.debugLineNum = 3542;BA.debugLine="Log(inputText)"; +Debug.ShouldStop(2097152); +c_principal.__c.runVoidMethod ("LogImpl","816711723",_inputtext,0); + BA.debugLineNum = 3543;BA.debugLine="Dim restado As Int = cantidadrestar - inputText"; +Debug.ShouldStop(4194304); +_restado = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cantidadrestar),BA.numberCast(double.class, _inputtext)}, "-",1, 0));Debug.locals.put("restado", _restado);Debug.locals.put("restado", _restado); + BA.debugLineNum = 3544;BA.debugLine="Log(cantidadrestar - inputText)"; +Debug.ShouldStop(8388608); +c_principal.__c.runVoidMethod ("LogImpl","816711725",BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cantidadrestar),BA.numberCast(double.class, _inputtext)}, "-",1, 0)),0); + BA.debugLineNum = 3545;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM PICK"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT * FROM PICK_CIEGO where PC_ID_PROD = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {_idparts.getArrayElement(true,BA.numberCast(int.class, 0))})))); + BA.debugLineNum = 3546;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 = 3550;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PICK_C"; +Debug.ShouldStop(536870912); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO PICK_CIEGO(PC_ID_PROD, PC_NOM_PROD, PC_CANT, PC_ALMACEN, PC_RUTA, PC_FECHA, RESTA) VALUES(?,?,?,?,?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {7},new Object[] {_idparts.getArrayElement(true,BA.numberCast(int.class, 0)),_idparts.getArrayElement(true,BA.numberCast(int.class, 1)),_inputtext,__ref.getField(false,"_a" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ID_ALMACEN"))),__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("RUTAA"))),RemoteObject.concat(_fechatabulador3,RemoteObject.createImmutable(" "),_stime),BA.NumberToString(_restado)}))))); + }else { + BA.debugLineNum = 3555;BA.debugLine="Starter.skmt.ExecNonQuery2(\"Update PICK_CIEGO"; +Debug.ShouldStop(4); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("Update PICK_CIEGO set PC_CANT = ?, RESTA = ? WHERE PC_ID_PROD = ?")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {3},new Object[] {_inputtext,BA.NumberToString(_restado),_idparts.getArrayElement(true,BA.numberCast(int.class, 0))}))))); + }; + }; + BA.debugLineNum = 3559;BA.debugLine="f.Close"; +Debug.ShouldStop(64); +__ref.getField(false,"_f" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 3560;BA.debugLine="a.Close"; +Debug.ShouldStop(128); +__ref.getField(false,"_a" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 3561;BA.debugLine="Log(\"Processed item \" & i)"; +Debug.ShouldStop(256); +c_principal.__c.runVoidMethod ("LogImpl","816711742",RemoteObject.concat(RemoteObject.createImmutable("Processed item "),RemoteObject.createImmutable(_i)),0); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 3564;BA.debugLine="End Sub"; +Debug.ShouldStop(2048); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_rechazos_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_rechazos_Click (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,2621); +if (RapidSub.canDelegate("b_rechazos_click")) { return __ref.runUserSub(false, "c_principal","b_rechazos_click", __ref);} +RemoteObject _label1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +int _i = 0; +RemoteObject _itemtext = RemoteObject.createImmutable(""); +RemoteObject _c3 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _resta = RemoteObject.createImmutable(""); + BA.debugLineNum = 2621;BA.debugLine="Private Sub b_rechazos_Click"; +Debug.ShouldStop(268435456); + BA.debugLineNum = 2622;BA.debugLine="Dim label1 As Label"; +Debug.ShouldStop(536870912); +_label1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label1", _label1); + BA.debugLineNum = 2623;BA.debugLine="label1 = lv_prod_Prin.SingleLineLayout.Label"; +Debug.ShouldStop(1073741824); +_label1 = __ref.getField(false,"_lv_prod_prin" /*RemoteObject*/ ).runMethod(false,"getSingleLineLayout").getField(false,"Label");Debug.locals.put("label1", _label1); + BA.debugLineNum = 2624;BA.debugLine="label1.TextSize = 14"; +Debug.ShouldStop(-2147483648); +_label1.runMethod(true,"setTextSize",BA.numberCast(float.class, 14)); + BA.debugLineNum = 2625;BA.debugLine="p_prod.Width = Root.Width"; +Debug.ShouldStop(1); +__ref.getField(false,"_p_prod" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth")); + BA.debugLineNum = 2626;BA.debugLine="p_prod.Height = Root.Height"; +Debug.ShouldStop(2); +__ref.getField(false,"_p_prod" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight")); + BA.debugLineNum = 2629;BA.debugLine="b_regreso.Top = p_prod.Height - b_regreso.Height"; +Debug.ShouldStop(16); +__ref.getField(false,"_b_regreso" /*RemoteObject*/ ).runMethod(true,"setTop",RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_p_prod" /*RemoteObject*/ ).runMethod(true,"getHeight"),__ref.getField(false,"_b_regreso" /*RemoteObject*/ ).runMethod(true,"getHeight")}, "-",1, 1)); + BA.debugLineNum = 2630;BA.debugLine="b_impresion_rec.Top = p_prod.Height - b_impresion"; +Debug.ShouldStop(32); +__ref.getField(false,"_b_impresion_rec" /*RemoteObject*/ ).runMethod(true,"setTop",RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_p_prod" /*RemoteObject*/ ).runMethod(true,"getHeight"),__ref.getField(false,"_b_impresion_rec" /*RemoteObject*/ ).runMethod(true,"getHeight")}, "-",1, 1)); + BA.debugLineNum = 2632;BA.debugLine="p_prod.Visible = True"; +Debug.ShouldStop(128); +__ref.getField(false,"_p_prod" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 2633;BA.debugLine="p_prod.BringToFront"; +Debug.ShouldStop(256); +__ref.getField(false,"_p_prod" /*RemoteObject*/ ).runVoidMethod ("BringToFront"); + BA.debugLineNum = 2635;BA.debugLine="If l_ctast.Text = \"0\" Then"; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_l_ctast" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("0"))) { + BA.debugLineNum = 2636;BA.debugLine="b_impresion_rec.Enabled = True"; +Debug.ShouldStop(2048); +__ref.getField(false,"_b_impresion_rec" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_principal.__c.getField(true,"True")); + }else +{ BA.debugLineNum = 2637;BA.debugLine="Else If l_ctast.Text <> \"0\" Then"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean("!",__ref.getField(false,"_l_ctast" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("0"))) { + BA.debugLineNum = 2638;BA.debugLine="b_impresion_rec.Enabled = False"; +Debug.ShouldStop(8192); +__ref.getField(false,"_b_impresion_rec" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_principal.__c.getField(true,"False")); + }} +; + BA.debugLineNum = 2642;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery(\"sel"; +Debug.ShouldStop(131072); +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 HVD_PRONOMBRE, IFNULL(SUM(HVD_RECHAZOCANT), 0) AS HVD_RECHAZOCANT, HVD_PROID from HIST_VENTAS WHERE hvd_rechazo <> 2 and HVD_RECHAZOCANT > 0 GROUP BY HVD_PROID order by HVD_PRONOMBRE asc"))));__ref.setField("_c",c_principal._c); + BA.debugLineNum = 2644;BA.debugLine="lv_prod_Prin.SingleLineLayout.Label.TextColor = C"; +Debug.ShouldStop(524288); +__ref.getField(false,"_lv_prod_prin" /*RemoteObject*/ ).runMethod(false,"getSingleLineLayout").getField(false,"Label").runMethod(true,"setTextColor",c_principal.__c.getField(false,"Colors").getField(true,"Black")); + BA.debugLineNum = 2645;BA.debugLine="lv_prod_Prin.Clear"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_lv_prod_prin" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 2646;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2647;BA.debugLine="For i = 0 To c.RowCount - 1"; +Debug.ShouldStop(4194304); +{ +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 = 2648;BA.debugLine="c.Position = i"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 2649;BA.debugLine="Dim itemText As String"; +Debug.ShouldStop(16777216); +_itemtext = RemoteObject.createImmutable("");Debug.locals.put("itemText", _itemtext); + BA.debugLineNum = 2651;BA.debugLine="Private c3 As Cursor=Starter.skmt.ExecQuery($\"s"; +Debug.ShouldStop(67108864); +_c3 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c3 = 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 Ifnull(sum(PE_CANT),0) AS PE_CANT from PEDIDO WHERE PE_PROID ='"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID")))))),RemoteObject.createImmutable("' "))))));Debug.locals.put("c3", _c3);Debug.locals.put("c3", _c3); + BA.debugLineNum = 2652;BA.debugLine="Private resta As String = 0"; +Debug.ShouldStop(134217728); +_resta = BA.NumberToString(0);Debug.locals.put("resta", _resta);Debug.locals.put("resta", _resta); + BA.debugLineNum = 2654;BA.debugLine="If c3.RowCount > 0 Then"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean(">",_c3.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2655;BA.debugLine="c3.Position = 0"; +Debug.ShouldStop(1073741824); +_c3.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2656;BA.debugLine="resta = c3.GetString(\"PE_CANT\")"; +Debug.ShouldStop(-2147483648); +_resta = _c3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")));Debug.locals.put("resta", _resta); + }else { + BA.debugLineNum = 2658;BA.debugLine="resta = 0"; +Debug.ShouldStop(2); +_resta = BA.NumberToString(0);Debug.locals.put("resta", _resta); + }; + BA.debugLineNum = 2660;BA.debugLine="If ( c.GetInt(\"HVD_RECHAZOCANT\") - resta) <= 0"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean("k",(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))),BA.numberCast(double.class, _resta)}, "-",1, 0)),BA.numberCast(double.class, 0))) { + }else { + BA.debugLineNum = 2663;BA.debugLine="itemText = $\"${c.GetString(\"HVD_PRONOMBRE\")} $"; +Debug.ShouldStop(64); +_itemtext = (RemoteObject.concat(RemoteObject.createImmutable(""),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PRONOMBRE")))))),RemoteObject.createImmutable(" "),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_principal.__c.getField(true,"CRLF")))),RemoteObject.createImmutable("Inventario: "),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(((RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))),BA.numberCast(double.class, _resta)}, "-",1, 0))))),RemoteObject.createImmutable("")));Debug.locals.put("itemText", _itemtext); + BA.debugLineNum = 2664;BA.debugLine="lv_prod_Prin.AddSingleLine(itemText)"; +Debug.ShouldStop(128); +__ref.getField(false,"_lv_prod_prin" /*RemoteObject*/ ).runVoidMethod ("AddSingleLine",(Object)(BA.ObjectToCharSequence(_itemtext))); + }; + } +}Debug.locals.put("i", _i); +; + }else { + BA.debugLineNum = 2670;BA.debugLine="lv_prod_Prin.AddSingleLine(\"No hay datos disponi"; +Debug.ShouldStop(8192); +__ref.getField(false,"_lv_prod_prin" /*RemoteObject*/ ).runVoidMethod ("AddSingleLine",(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("No hay datos disponibles.")))); + }; + BA.debugLineNum = 2672;BA.debugLine="c.Close"; +Debug.ShouldStop(32768); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 2675;BA.debugLine="End Sub"; +Debug.ShouldStop(262144); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_regresa_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B_REGRESA_Click (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,2574); +if (RapidSub.canDelegate("b_regresa_click")) { return __ref.runUserSub(false, "c_principal","b_regresa_click", __ref);} + BA.debugLineNum = 2574;BA.debugLine="Sub B_REGRESA_Click"; +Debug.ShouldStop(8192); + BA.debugLineNum = 2575;BA.debugLine="Log(\"B_REGRESA_Click\")"; +Debug.ShouldStop(16384); +c_principal.__c.runVoidMethod ("LogImpl","815466497",RemoteObject.createImmutable("B_REGRESA_Click"),0); + BA.debugLineNum = 2576;BA.debugLine="BUSCA.Visible = False"; +Debug.ShouldStop(32768); +__ref.getField(false,"_busca" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 2577;BA.debugLine="connecta.Visible = True"; +Debug.ShouldStop(65536); +__ref.getField(false,"_connecta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 2578;BA.debugLine="trabajar.Visible = True"; +Debug.ShouldStop(131072); +__ref.getField(false,"_trabajar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 2579;BA.debugLine="B_CLIEPROD.Visible = True"; +Debug.ShouldStop(262144); +__ref.getField(false,"_b_clieprod" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 2580;BA.debugLine="Panel1.Visible = False"; +Debug.ShouldStop(524288); +__ref.getField(false,"_panel1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 2581;BA.debugLine="Btn_Ubicar_Ru.Visible=True"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_btn_ubicar_ru" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 2582;BA.debugLine="End Sub"; +Debug.ShouldStop(2097152); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_regreso_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_regreso_Click (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,2677); +if (RapidSub.canDelegate("b_regreso_click")) { return __ref.runUserSub(false, "c_principal","b_regreso_click", __ref);} + BA.debugLineNum = 2677;BA.debugLine="Private Sub b_regreso_Click"; +Debug.ShouldStop(1048576); + BA.debugLineNum = 2678;BA.debugLine="p_prod.Visible = False"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_p_prod" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 2679;BA.debugLine="End Sub"; +Debug.ShouldStop(4194304); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_tabulador_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_tabulador_Click (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,2595); +if (RapidSub.canDelegate("b_tabulador_click")) { return __ref.runUserSub(false, "c_principal","b_tabulador_click", __ref);} + BA.debugLineNum = 2595;BA.debugLine="Private Sub b_tabulador_Click"; +Debug.ShouldStop(4); + BA.debugLineNum = 2596;BA.debugLine="If b_check.Visible = True Then"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_b_check" /*RemoteObject*/ ).runMethod(true,"getVisible"),c_principal.__c.getField(true,"True"))) { + BA.debugLineNum = 2597;BA.debugLine="MsgboxAsync(\"Favor de hacer el checklist.\",\"Aten"; +Debug.ShouldStop(16); +c_principal.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Favor de hacer el checklist.")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + }else { + BA.debugLineNum = 2599;BA.debugLine="B4XPages.ShowPage(\"tabulador\")"; +Debug.ShouldStop(64); +c_principal._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("tabulador"))); + }; + BA.debugLineNum = 2601;BA.debugLine="End Sub"; +Debug.ShouldStop(256); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_terpc_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_terpc_Click (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,3263); +if (RapidSub.canDelegate("b_terpc_click")) { return __ref.runUserSub(false, "c_principal","b_terpc_click", __ref);} +RemoteObject _sdate = RemoteObject.createImmutable(""); +RemoteObject _stime = RemoteObject.createImmutable(""); +RemoteObject _consecutivo = RemoteObject.createImmutable(0); +int _i = 0; +RemoteObject _itempanel = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _innerpanel = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _edittext = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _inputtext = RemoteObject.createImmutable(""); +RemoteObject _labelcant = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _cantidadrestar = RemoteObject.createImmutable(""); +RemoteObject _idlabel = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _idtext = RemoteObject.createImmutable(""); +RemoteObject _idparts = null; +RemoteObject _k = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _fechatabulador = null; +RemoteObject _fechatabulador3 = RemoteObject.createImmutable(""); +RemoteObject _restado = RemoteObject.createImmutable(0); +RemoteObject _preciocat = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _preciofull = RemoteObject.createImmutable(""); +RemoteObject _faltantes = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _restadoanterior = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _sobrantes = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); + BA.debugLineNum = 3263;BA.debugLine="Private Sub b_terpc_Click"; +Debug.ShouldStop(1073741824); + BA.debugLineNum = 3265;BA.debugLine="Dim sDate, sTime As String"; +Debug.ShouldStop(1); +_sdate = RemoteObject.createImmutable("");Debug.locals.put("sDate", _sdate); +_stime = RemoteObject.createImmutable("");Debug.locals.put("sTime", _stime); + BA.debugLineNum = 3266;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; +Debug.ShouldStop(2); +c_principal.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("dd/MM/yyyy")); + BA.debugLineNum = 3267;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; +Debug.ShouldStop(4); +c_principal.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HH:mm:ss")); + BA.debugLineNum = 3268;BA.debugLine="sDate = DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(8); +_sdate = c_principal.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(c_principal.__c.getField(false,"DateTime").runMethod(true,"getNow")));Debug.locals.put("sDate", _sdate); + BA.debugLineNum = 3269;BA.debugLine="sTime = DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(16); +_stime = c_principal.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(c_principal.__c.getField(false,"DateTime").runMethod(true,"getNow")));Debug.locals.put("sTime", _stime); + BA.debugLineNum = 3271;BA.debugLine="Dim consecutivo As Int = 1000"; +Debug.ShouldStop(64); +_consecutivo = BA.numberCast(int.class, 1000);Debug.locals.put("consecutivo", _consecutivo);Debug.locals.put("consecutivo", _consecutivo); + BA.debugLineNum = 3272;BA.debugLine="For i = 0 To CLV_PICK_CIEGO.Size - 1"; +Debug.ShouldStop(128); +{ +final int step7 = 1; +final int limit7 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_clv_pick_ciego" /*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 = 3274;BA.debugLine="Dim itemPanel As B4XView = CLV_PICK_CIEGO.GetPan"; +Debug.ShouldStop(512); +_itempanel = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_itempanel = __ref.getField(false,"_clv_pick_ciego" /*RemoteObject*/ ).runMethod(false,"_getpanel",(Object)(BA.numberCast(int.class, _i)));Debug.locals.put("itemPanel", _itempanel);Debug.locals.put("itemPanel", _itempanel); + BA.debugLineNum = 3275;BA.debugLine="Dim innerPanel As B4XView = itemPanel.GetView(0)"; +Debug.ShouldStop(1024); +_innerpanel = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_innerpanel = _itempanel.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 0)));Debug.locals.put("innerPanel", _innerpanel);Debug.locals.put("innerPanel", _innerpanel); + BA.debugLineNum = 3276;BA.debugLine="Dim editText As B4XView = innerPanel.GetView(1)"; +Debug.ShouldStop(2048); +_edittext = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_edittext = _innerpanel.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 1)));Debug.locals.put("editText", _edittext);Debug.locals.put("editText", _edittext); + BA.debugLineNum = 3277;BA.debugLine="Dim inputText As String = editText.As(EditText)."; +Debug.ShouldStop(4096); +_inputtext = (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.EditTextWrapper"), _edittext.getObject())).runMethod(true,"getText");Debug.locals.put("inputText", _inputtext);Debug.locals.put("inputText", _inputtext); + BA.debugLineNum = 3278;BA.debugLine="Dim labelcant As B4XView = innerPanel.GetView(2)"; +Debug.ShouldStop(8192); +_labelcant = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_labelcant = _innerpanel.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 2)));Debug.locals.put("labelcant", _labelcant);Debug.locals.put("labelcant", _labelcant); + BA.debugLineNum = 3279;BA.debugLine="Dim cantidadrestar As String = labelcant.As(Labe"; +Debug.ShouldStop(16384); +_cantidadrestar = (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.LabelWrapper"), _labelcant.getObject())).runMethod(true,"getText");Debug.locals.put("cantidadrestar", _cantidadrestar);Debug.locals.put("cantidadrestar", _cantidadrestar); + BA.debugLineNum = 3282;BA.debugLine="If Regex.IsMatch(\"^[0]+$\", inputText) Or inputTe"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean(".",c_principal.__c.getField(false,"Regex").runMethod(true,"IsMatch",(Object)(BA.ObjectToString("^[0]+$")),(Object)(_inputtext))) || RemoteObject.solveBoolean("=",_inputtext,BA.ObjectToString(""))) { + BA.debugLineNum = 3283;BA.debugLine="inputText = \"0\""; +Debug.ShouldStop(262144); +_inputtext = BA.ObjectToString("0");Debug.locals.put("inputText", _inputtext); + }; + BA.debugLineNum = 3287;BA.debugLine="Dim idLabel As B4XView = innerPanel.GetView(0)"; +Debug.ShouldStop(4194304); +_idlabel = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_idlabel = _innerpanel.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 0)));Debug.locals.put("idLabel", _idlabel);Debug.locals.put("idLabel", _idlabel); + BA.debugLineNum = 3288;BA.debugLine="Dim idText As String = idLabel.As(Label).Text"; +Debug.ShouldStop(8388608); +_idtext = (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.LabelWrapper"), _idlabel.getObject())).runMethod(true,"getText");Debug.locals.put("idText", _idtext);Debug.locals.put("idText", _idtext); + BA.debugLineNum = 3289;BA.debugLine="Dim idParts() As String = Regex.Split(CRLF, idTe"; +Debug.ShouldStop(16777216); +_idparts = c_principal.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(c_principal.__c.getField(true,"CRLF")),(Object)(_idtext));Debug.locals.put("idParts", _idparts);Debug.locals.put("idParts", _idparts); + BA.debugLineNum = 3291;BA.debugLine="f=Starter.skmt.ExecQuery(\"select RUTAA from RUTA"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_f" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select RUTAA from RUTAA")))); + BA.debugLineNum = 3292;BA.debugLine="f.Position=0"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3294;BA.debugLine="a=Starter.skmt.ExecQuery(\"select ID_ALMACEN from"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_a" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select ID_ALMACEN from CAT_ALMACEN")))); + BA.debugLineNum = 3295;BA.debugLine="If a.RowCount>0 Then"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_a" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 3296;BA.debugLine="a.Position=0"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_a" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + }; + BA.debugLineNum = 3298;BA.debugLine="Dim k As Cursor = Starter.skmt.ExecQuery(\"SELECT"; +Debug.ShouldStop(2); +_k = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_k = 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 HVD_FECHA FROM HIST_VENTAS"))));Debug.locals.put("k", _k);Debug.locals.put("k", _k); + BA.debugLineNum = 3299;BA.debugLine="k.Position = 0"; +Debug.ShouldStop(4); +_k.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3300;BA.debugLine="Dim fechatabulador() As String = Regex.Split(\" \""; +Debug.ShouldStop(8); +_fechatabulador = c_principal.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString(" ")),(Object)(_k.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_FECHA")))));Debug.locals.put("fechatabulador", _fechatabulador);Debug.locals.put("fechatabulador", _fechatabulador); + BA.debugLineNum = 3302;BA.debugLine="Dim fechatabulador3 As String = fechatabulador(0"; +Debug.ShouldStop(32); +_fechatabulador3 = _fechatabulador.getArrayElement(true,BA.numberCast(int.class, 0));Debug.locals.put("fechatabulador3", _fechatabulador3);Debug.locals.put("fechatabulador3", _fechatabulador3); + BA.debugLineNum = 3303;BA.debugLine="k.Close"; +Debug.ShouldStop(64); +_k.runVoidMethod ("Close"); + BA.debugLineNum = 3304;BA.debugLine="If inputText <> \"\" And inputText <> 0 Then"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean("!",_inputtext,BA.ObjectToString("")) && RemoteObject.solveBoolean("!",_inputtext,BA.NumberToString(0))) { + BA.debugLineNum = 3305;BA.debugLine="Log(\"IMPUT DIFERENTE DE CERO\")"; +Debug.ShouldStop(256); +c_principal.__c.runVoidMethod ("LogImpl","816646186",RemoteObject.createImmutable("IMPUT DIFERENTE DE CERO"),0); + BA.debugLineNum = 3306;BA.debugLine="Log(idParts(0))"; +Debug.ShouldStop(512); +c_principal.__c.runVoidMethod ("LogImpl","816646187",_idparts.getArrayElement(true,BA.numberCast(int.class, 0)),0); + BA.debugLineNum = 3307;BA.debugLine="Log(cantidadrestar)"; +Debug.ShouldStop(1024); +c_principal.__c.runVoidMethod ("LogImpl","816646188",_cantidadrestar,0); + BA.debugLineNum = 3308;BA.debugLine="Log(inputText)"; +Debug.ShouldStop(2048); +c_principal.__c.runVoidMethod ("LogImpl","816646189",_inputtext,0); + BA.debugLineNum = 3309;BA.debugLine="Dim restado As Int = cantidadrestar - inputText"; +Debug.ShouldStop(4096); +_restado = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cantidadrestar),BA.numberCast(double.class, _inputtext)}, "-",1, 0));Debug.locals.put("restado", _restado);Debug.locals.put("restado", _restado); + BA.debugLineNum = 3310;BA.debugLine="Log(cantidadrestar - inputText)"; +Debug.ShouldStop(8192); +c_principal.__c.runVoidMethod ("LogImpl","816646191",BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cantidadrestar),BA.numberCast(double.class, _inputtext)}, "-",1, 0)),0); + BA.debugLineNum = 3311;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM PICK"; +Debug.ShouldStop(16384); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT * FROM PICK_CIEGO where PC_ID_PROD = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {_idparts.getArrayElement(true,BA.numberCast(int.class, 0))})))); + BA.debugLineNum = 3313;BA.debugLine="If c.RowCount = 0 Then"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 3318;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PICK_C"; +Debug.ShouldStop(2097152); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO PICK_CIEGO(PC_ID_PROD, PC_NOM_PROD, PC_CANT, PC_ALMACEN, PC_RUTA, PC_FECHA, RESTA) VALUES(?,?,?,?,?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {7},new Object[] {_idparts.getArrayElement(true,BA.numberCast(int.class, 0)),_idparts.getArrayElement(true,BA.numberCast(int.class, 1)),_inputtext,__ref.getField(false,"_a" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ID_ALMACEN"))),__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("RUTAA"))),RemoteObject.concat(_fechatabulador3,RemoteObject.createImmutable(" "),_stime),BA.NumberToString(_restado)}))))); + BA.debugLineNum = 3319;BA.debugLine="If restado > 0 And inputText <> 0 Then"; +Debug.ShouldStop(4194304); +if (RemoteObject.solveBoolean(">",_restado,BA.numberCast(double.class, 0)) && RemoteObject.solveBoolean("!",_inputtext,BA.NumberToString(0))) { + BA.debugLineNum = 3321;BA.debugLine="Dim preciocat As Cursor = Starter.skmt.ExecQu"; +Debug.ShouldStop(16777216); +_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_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select IFNULL(CAT_GP_PRECIO,0) AS CAT_GP_PRECIO from CAT_GUNAPROD WHERE CAT_GP_ID = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_idparts.getArrayElement(true,BA.numberCast(int.class, 0))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("preciocat", _preciocat);Debug.locals.put("preciocat", _preciocat); + BA.debugLineNum = 3322;BA.debugLine="If preciocat.RowCount > 0 Then"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean(">",_preciocat.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 3323;BA.debugLine="preciocat.Position = 0"; +Debug.ShouldStop(67108864); +_preciocat.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3324;BA.debugLine="Dim preciofull As String = preciocat.GetStri"; +Debug.ShouldStop(134217728); +_preciofull = _preciocat.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_PRECIO")));Debug.locals.put("preciofull", _preciofull);Debug.locals.put("preciofull", _preciofull); + }; + BA.debugLineNum = 3326;BA.debugLine="preciocat.Close"; +Debug.ShouldStop(536870912); +_preciocat.runVoidMethod ("Close"); + BA.debugLineNum = 3327;BA.debugLine="Log(\"MAYOR A CERO\")"; +Debug.ShouldStop(1073741824); +c_principal.__c.runVoidMethod ("LogImpl","816646208",RemoteObject.createImmutable("MAYOR A CERO"),0); + BA.debugLineNum = 3328;BA.debugLine="consecutivo = consecutivo + 1"; +Debug.ShouldStop(-2147483648); +_consecutivo = RemoteObject.solve(new RemoteObject[] {_consecutivo,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("consecutivo", _consecutivo); + BA.debugLineNum = 3329;BA.debugLine="Dim faltantes As Cursor = Starter.skmt.ExecQu"; +Debug.ShouldStop(1); +_faltantes = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_faltantes = 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 PEDIDO WHERE PE_PROID = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_idparts.getArrayElement(true,BA.numberCast(int.class, 0))))),RemoteObject.createImmutable("' AND PE_TIPO = 'FALTANTE'"))))));Debug.locals.put("faltantes", _faltantes);Debug.locals.put("faltantes", _faltantes); + BA.debugLineNum = 3330;BA.debugLine="If faltantes.RowCount > 0 Then"; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean(">",_faltantes.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 3331;BA.debugLine="faltantes.Position = 0"; +Debug.ShouldStop(4); +_faltantes.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3332;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO se"; +Debug.ShouldStop(8); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update PEDIDO set PE_CANT = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_restado))),RemoteObject.createImmutable("', PE_COSTO_TOT= '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_restado))),RemoteObject.createImmutable("'*'"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_preciofull))),RemoteObject.createImmutable("', PE_TIPO = 'FALTANTE' WHERE PE_PROID = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_idparts.getArrayElement(true,BA.numberCast(int.class, 0))))),RemoteObject.createImmutable("' and PE_CLIENTE = '63403' AND CONSECUTIVO = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_faltantes.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CONSECUTIVO")))))),RemoteObject.createImmutable("'"))))); + }else { + BA.debugLineNum = 3334;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PEDI"; +Debug.ShouldStop(32); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO PEDIDO(PE_PROID,PE_PRONOMBRE,PE_CANT,PE_CLIENTEOR,PE_CLIENTE,PE_COSTOU,PE_COSTO_TOT,PE_CAJAS,PE_BCAJAS,CONSECUTIVO,PE_RUTA, PE_TIPO,PE_CEDIS,PE_FECHA,PE_USUARIO,FECHA_PREV,RUTA_REP,PE_REGALO) VALUES (?,?,?,?,?,?,?,0,0,?,?,?,?,?,?,?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {16},new Object[] {_idparts.getArrayElement(true,BA.numberCast(int.class, 0)),_idparts.getArrayElement(true,BA.numberCast(int.class, 1)),BA.NumberToString(_restado),BA.ObjectToString(""),c_principal._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba")),_preciofull,BA.NumberToString((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _preciofull),_restado}, "*",0, 0))),BA.NumberToString(_consecutivo),BA.NumberToString(1000),BA.ObjectToString("FALTANTE"),c_principal._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")),RemoteObject.concat(_sdate,RemoteObject.createImmutable(" "),_stime),c_principal._subs.runMethod(true,"_traeusuario" /*RemoteObject*/ ,__ref.getField(false, "ba")),c_principal._subs.runMethod(true,"_traefechaprev" /*RemoteObject*/ ,__ref.getField(false, "ba")),c_principal._subs.runMethod(true,"_traerutareparto" /*RemoteObject*/ ,__ref.getField(false, "ba")),BA.NumberToString(0)}))))); + }; + }else +{ BA.debugLineNum = 3336;BA.debugLine="Else If restado < 0 And inputText <> 0 Then"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean("<",_restado,BA.numberCast(double.class, 0)) && RemoteObject.solveBoolean("!",_inputtext,BA.NumberToString(0))) { + BA.debugLineNum = 3338;BA.debugLine="Dim preciocat As Cursor = Starter.skmt.ExecQu"; +Debug.ShouldStop(512); +_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_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select IFNULL(CAT_GP_PRECIO,0) AS CAT_GP_PRECIO from CAT_GUNAPROD WHERE CAT_GP_ID = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_idparts.getArrayElement(true,BA.numberCast(int.class, 0))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("preciocat", _preciocat);Debug.locals.put("preciocat", _preciocat); + BA.debugLineNum = 3339;BA.debugLine="If preciocat.RowCount > 0 Then"; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean(">",_preciocat.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 3340;BA.debugLine="preciocat.Position = 0"; +Debug.ShouldStop(2048); +_preciocat.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3341;BA.debugLine="Dim preciofull As String = preciocat.GetStri"; +Debug.ShouldStop(4096); +_preciofull = _preciocat.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_PRECIO")));Debug.locals.put("preciofull", _preciofull);Debug.locals.put("preciofull", _preciofull); + }; + BA.debugLineNum = 3343;BA.debugLine="preciocat.Close"; +Debug.ShouldStop(16384); +_preciocat.runVoidMethod ("Close"); + BA.debugLineNum = 3344;BA.debugLine="Log(\"MENOR A CERO\")"; +Debug.ShouldStop(32768); +c_principal.__c.runVoidMethod ("LogImpl","816646225",RemoteObject.createImmutable("MENOR A CERO"),0); + BA.debugLineNum = 3345;BA.debugLine="consecutivo = consecutivo + 1"; +Debug.ShouldStop(65536); +_consecutivo = RemoteObject.solve(new RemoteObject[] {_consecutivo,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("consecutivo", _consecutivo); + BA.debugLineNum = 3346;BA.debugLine="Dim faltantes As Cursor = Starter.skmt.ExecQu"; +Debug.ShouldStop(131072); +_faltantes = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_faltantes = 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 PEDIDO WHERE PE_PROID = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_idparts.getArrayElement(true,BA.numberCast(int.class, 0))))),RemoteObject.createImmutable("' AND PE_TIPO = 'FALTANTE'"))))));Debug.locals.put("faltantes", _faltantes);Debug.locals.put("faltantes", _faltantes); + BA.debugLineNum = 3347;BA.debugLine="If faltantes.RowCount > 0 Then"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean(">",_faltantes.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 3348;BA.debugLine="faltantes.Position = 0"; +Debug.ShouldStop(524288); +_faltantes.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3349;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO se"; +Debug.ShouldStop(1048576); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update PEDIDO set PE_CANT = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(RemoteObject.createImmutable(((-(double) (0 + 1)*(double) (0 + _restado.get().intValue())))))),RemoteObject.createImmutable("', PE_COSTO_TOT= "),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(RemoteObject.createImmutable(((-(double) (0 + 1)*(double) (0 + _restado.get().intValue())))))),RemoteObject.createImmutable("*"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_preciofull))),RemoteObject.createImmutable(", PE_TIPO = 'SOBRANTE' WHERE PE_PROID = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_idparts.getArrayElement(true,BA.numberCast(int.class, 0))))),RemoteObject.createImmutable("' and PE_CLIENTE = '63403' AND CONSECUTIVO = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_faltantes.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CONSECUTIVO")))))),RemoteObject.createImmutable("'"))))); + }else { + BA.debugLineNum = 3351;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PEDI"; +Debug.ShouldStop(4194304); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO PEDIDO(PE_PROID,PE_PRONOMBRE,PE_CANT,PE_CLIENTEOR,PE_CLIENTE,PE_COSTOU,PE_COSTO_TOT,PE_CAJAS,PE_BCAJAS,CONSECUTIVO,PE_RUTA, PE_TIPO,PE_CEDIS,PE_FECHA,PE_USUARIO,FECHA_PREV,RUTA_REP,PE_REGALO) VALUES (?,?,?,?,?,?,?,0,0,?,?,?,?,?,?,?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {16},new Object[] {_idparts.getArrayElement(true,BA.numberCast(int.class, 0)),_idparts.getArrayElement(true,BA.numberCast(int.class, 1)),BA.NumberToString((-(double) (0 + 1)*(double) (0 + _restado.get().intValue()))),BA.ObjectToString(""),c_principal._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba")),_preciofull,BA.NumberToString((-(double) (0 + 1)*(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _preciofull),_restado}, "*",0, 0)).get().doubleValue())),BA.NumberToString(_consecutivo),BA.NumberToString(1000),BA.ObjectToString("SOBRANTE"),c_principal._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")),RemoteObject.concat(_sdate,RemoteObject.createImmutable(" "),_stime),c_principal._subs.runMethod(true,"_traeusuario" /*RemoteObject*/ ,__ref.getField(false, "ba")),c_principal._subs.runMethod(true,"_traefechaprev" /*RemoteObject*/ ,__ref.getField(false, "ba")),c_principal._subs.runMethod(true,"_traerutareparto" /*RemoteObject*/ ,__ref.getField(false, "ba")),BA.NumberToString(0)}))))); + }; + }} +; + }else { + BA.debugLineNum = 3357;BA.debugLine="Dim restadoanterior As Cursor = Starter.skmt.E"; +Debug.ShouldStop(268435456); +_restadoanterior = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_restadoanterior = 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 RESTA from PICK_CIEGO WHERE PC_ID_PROD = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_idparts.getArrayElement(true,BA.numberCast(int.class, 0))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("restadoanterior", _restadoanterior);Debug.locals.put("restadoanterior", _restadoanterior); + BA.debugLineNum = 3358;BA.debugLine="restadoanterior.Position = 0"; +Debug.ShouldStop(536870912); +_restadoanterior.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3361;BA.debugLine="If restadoanterior.GetInt(\"RESTA\") > 0 And res"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean(">",_restadoanterior.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("RESTA"))),BA.numberCast(double.class, 0)) && RemoteObject.solveBoolean("!",_restadoanterior.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("RESTA"))),BA.numberCast(double.class, _restado))) { + BA.debugLineNum = 3364;BA.debugLine="Dim faltantes As Cursor = Starter.skmt.ExecQu"; +Debug.ShouldStop(8); +_faltantes = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_faltantes = 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 PEDIDO WHERE PE_PROID = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_idparts.getArrayElement(true,BA.numberCast(int.class, 0))))),RemoteObject.createImmutable("' AND PE_TIPO = 'FALTANTE'"))))));Debug.locals.put("faltantes", _faltantes);Debug.locals.put("faltantes", _faltantes); + BA.debugLineNum = 3366;BA.debugLine="If faltantes.RowCount > 0 Then"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean(">",_faltantes.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 3367;BA.debugLine="faltantes.Position = 0"; +Debug.ShouldStop(64); +_faltantes.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3368;BA.debugLine="Dim preciocat As Cursor = Starter.skmt.ExecQ"; +Debug.ShouldStop(128); +_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_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select IFNULL(CAT_GP_PRECIO,0) AS CAT_GP_PRECIO from CAT_GUNAPROD WHERE CAT_GP_ID = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_idparts.getArrayElement(true,BA.numberCast(int.class, 0))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("preciocat", _preciocat);Debug.locals.put("preciocat", _preciocat); + BA.debugLineNum = 3369;BA.debugLine="If preciocat.RowCount > 0 Then"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean(">",_preciocat.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 3370;BA.debugLine="preciocat.Position = 0"; +Debug.ShouldStop(512); +_preciocat.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3371;BA.debugLine="Dim preciofull As String = preciocat.GetStr"; +Debug.ShouldStop(1024); +_preciofull = _preciocat.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_PRECIO")));Debug.locals.put("preciofull", _preciofull);Debug.locals.put("preciofull", _preciofull); + }; + BA.debugLineNum = 3373;BA.debugLine="preciocat.Close"; +Debug.ShouldStop(4096); +_preciocat.runVoidMethod ("Close"); + BA.debugLineNum = 3375;BA.debugLine="Log(\"MAYOR A CERO UPDATE\")"; +Debug.ShouldStop(16384); +c_principal.__c.runVoidMethod ("LogImpl","816646256",RemoteObject.createImmutable("MAYOR A CERO UPDATE"),0); + BA.debugLineNum = 3376;BA.debugLine="Starter.skmt.ExecNonQuery2(\"Update PICK_CIEG"; +Debug.ShouldStop(32768); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("Update PICK_CIEGO set PC_CANT = ?, RESTA = ? WHERE PC_ID_PROD = ?")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {3},new Object[] {_inputtext,BA.NumberToString(_restado),_idparts.getArrayElement(true,BA.numberCast(int.class, 0))}))))); + BA.debugLineNum = 3377;BA.debugLine="If restado > 0 Then"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean(">",_restado,BA.numberCast(double.class, 0))) { + BA.debugLineNum = 3378;BA.debugLine="Log(\"AQUI ES FALTANTE\")"; +Debug.ShouldStop(131072); +c_principal.__c.runVoidMethod ("LogImpl","816646259",RemoteObject.createImmutable("AQUI ES FALTANTE"),0); + BA.debugLineNum = 3380;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO s"; +Debug.ShouldStop(524288); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update PEDIDO set PE_CANT = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_restado))),RemoteObject.createImmutable("', PE_COSTO_TOT= '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_restado))),RemoteObject.createImmutable("'*'"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_preciofull))),RemoteObject.createImmutable("', PE_TIPO = 'FALTANTE' WHERE PE_PROID = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_idparts.getArrayElement(true,BA.numberCast(int.class, 0))))),RemoteObject.createImmutable("' and PE_CLIENTE = '63403' AND CONSECUTIVO = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_faltantes.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CONSECUTIVO")))))),RemoteObject.createImmutable("'"))))); + }else +{ BA.debugLineNum = 3381;BA.debugLine="Else If restado < 0 Then"; +Debug.ShouldStop(1048576); +if (RemoteObject.solveBoolean("<",_restado,BA.numberCast(double.class, 0))) { + BA.debugLineNum = 3382;BA.debugLine="Log(\"AQUI ES SOBRANTE\")"; +Debug.ShouldStop(2097152); +c_principal.__c.runVoidMethod ("LogImpl","816646263",RemoteObject.createImmutable("AQUI ES SOBRANTE"),0); + BA.debugLineNum = 3384;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO s"; +Debug.ShouldStop(8388608); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update PEDIDO set PE_CANT = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(RemoteObject.createImmutable(((-(double) (0 + 1)*(double) (0 + _restado.get().intValue())))))),RemoteObject.createImmutable("', PE_COSTO_TOT= "),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(RemoteObject.createImmutable(((-(double) (0 + 1)*(double) (0 + _restado.get().intValue())))))),RemoteObject.createImmutable("*"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_preciofull))),RemoteObject.createImmutable(", PE_TIPO = 'SOBRANTE' WHERE PE_PROID = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_idparts.getArrayElement(true,BA.numberCast(int.class, 0))))),RemoteObject.createImmutable("' and PE_CLIENTE = '63403' AND CONSECUTIVO = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_faltantes.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CONSECUTIVO")))))),RemoteObject.createImmutable("'"))))); + }else +{ BA.debugLineNum = 3385;BA.debugLine="Else If restado = 0 Then"; +Debug.ShouldStop(16777216); +if (RemoteObject.solveBoolean("=",_restado,BA.numberCast(double.class, 0))) { + BA.debugLineNum = 3386;BA.debugLine="Log(\"AQUI ES SOBRANTE\")"; +Debug.ShouldStop(33554432); +c_principal.__c.runVoidMethod ("LogImpl","816646267",RemoteObject.createImmutable("AQUI ES SOBRANTE"),0); + BA.debugLineNum = 3387;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from PED"; +Debug.ShouldStop(67108864); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("delete from PEDIDO where PE_PROID = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_idparts.getArrayElement(true,BA.numberCast(int.class, 0))))),RemoteObject.createImmutable("' and PE_CLIENTE = '63403' AND CONSECUTIVO = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_faltantes.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CONSECUTIVO")))))),RemoteObject.createImmutable("'"))))); + }}} +; + }; + }else +{ BA.debugLineNum = 3392;BA.debugLine="Else If restadoanterior.GetInt(\"RESTA\") < 0 An"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean("<",_restadoanterior.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("RESTA"))),BA.numberCast(double.class, 0)) && RemoteObject.solveBoolean("!",_restadoanterior.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("RESTA"))),BA.numberCast(double.class, _restado))) { + BA.debugLineNum = 3393;BA.debugLine="Log(\"es sobrante\")"; +Debug.ShouldStop(1); +c_principal.__c.runVoidMethod ("LogImpl","816646274",RemoteObject.createImmutable("es sobrante"),0); + BA.debugLineNum = 3394;BA.debugLine="Dim sobrantes As Cursor = Starter.skmt.ExecQu"; +Debug.ShouldStop(2); +_sobrantes = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_sobrantes = 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 PEDIDO WHERE PE_PROID = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_idparts.getArrayElement(true,BA.numberCast(int.class, 0))))),RemoteObject.createImmutable("' AND PE_TIPO = 'SOBRANTE'"))))));Debug.locals.put("sobrantes", _sobrantes);Debug.locals.put("sobrantes", _sobrantes); + BA.debugLineNum = 3395;BA.debugLine="If sobrantes.RowCount > 0 Then"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean(">",_sobrantes.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 3396;BA.debugLine="sobrantes.Position = 0"; +Debug.ShouldStop(8); +_sobrantes.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3398;BA.debugLine="Dim preciocat As Cursor = Starter.skmt.ExecQ"; +Debug.ShouldStop(32); +_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_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select IFNULL(CAT_GP_PRECIO,0) AS CAT_GP_PRECIO from CAT_GUNAPROD WHERE CAT_GP_ID = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_idparts.getArrayElement(true,BA.numberCast(int.class, 0))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("preciocat", _preciocat);Debug.locals.put("preciocat", _preciocat); + BA.debugLineNum = 3399;BA.debugLine="If preciocat.RowCount > 0 Then"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean(">",_preciocat.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 3400;BA.debugLine="preciocat.Position = 0"; +Debug.ShouldStop(128); +_preciocat.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3401;BA.debugLine="Dim preciofull As String = preciocat.GetStr"; +Debug.ShouldStop(256); +_preciofull = _preciocat.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_PRECIO")));Debug.locals.put("preciofull", _preciofull);Debug.locals.put("preciofull", _preciofull); + }; + BA.debugLineNum = 3403;BA.debugLine="preciocat.Close"; +Debug.ShouldStop(1024); +_preciocat.runVoidMethod ("Close"); + BA.debugLineNum = 3405;BA.debugLine="Log(\"MENOR A CERO UPDATE\")"; +Debug.ShouldStop(4096); +c_principal.__c.runVoidMethod ("LogImpl","816646286",RemoteObject.createImmutable("MENOR A CERO UPDATE"),0); + BA.debugLineNum = 3406;BA.debugLine="Starter.skmt.ExecNonQuery2(\"Update PICK_CIEG"; +Debug.ShouldStop(8192); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("Update PICK_CIEGO set PC_CANT = ?, RESTA = ? WHERE PC_ID_PROD = ?")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {3},new Object[] {_inputtext,BA.NumberToString(_restado),_idparts.getArrayElement(true,BA.numberCast(int.class, 0))}))))); + BA.debugLineNum = 3407;BA.debugLine="If restado > 0 Then"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean(">",_restado,BA.numberCast(double.class, 0))) { + BA.debugLineNum = 3410;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO s"; +Debug.ShouldStop(131072); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update PEDIDO set PE_CANT = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_restado))),RemoteObject.createImmutable("', PE_COSTO_TOT= '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_restado))),RemoteObject.createImmutable("'*'"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_preciofull))),RemoteObject.createImmutable("', PE_TIPO = 'FALTANTE' WHERE PE_PROID = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_idparts.getArrayElement(true,BA.numberCast(int.class, 0))))),RemoteObject.createImmutable("' and PE_CLIENTE = '63403' AND CONSECUTIVO = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_sobrantes.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CONSECUTIVO")))))),RemoteObject.createImmutable("'"))))); + }else +{ BA.debugLineNum = 3411;BA.debugLine="Else If restado < 0 Then"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean("<",_restado,BA.numberCast(double.class, 0))) { + BA.debugLineNum = 3414;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO s"; +Debug.ShouldStop(2097152); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update PEDIDO set PE_CANT = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(RemoteObject.createImmutable((-(double) (0 + 1)*(double) (0 + _restado.get().intValue()))))),RemoteObject.createImmutable("', PE_COSTO_TOT= '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(RemoteObject.createImmutable((-(double) (0 + 1)*(double) (0 + _restado.get().intValue()))))),RemoteObject.createImmutable("'*'"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_preciofull))),RemoteObject.createImmutable("', PE_TIPO = 'SOBRANTE' WHERE PE_PROID = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_idparts.getArrayElement(true,BA.numberCast(int.class, 0))))),RemoteObject.createImmutable("' and PE_CLIENTE = '63403' AND CONSECUTIVO = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_sobrantes.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CONSECUTIVO")))))),RemoteObject.createImmutable("'"))))); + }else +{ BA.debugLineNum = 3415;BA.debugLine="Else If restado = 0 Then"; +Debug.ShouldStop(4194304); +if (RemoteObject.solveBoolean("=",_restado,BA.numberCast(double.class, 0))) { + BA.debugLineNum = 3416;BA.debugLine="Log(\"a eliminar\")"; +Debug.ShouldStop(8388608); +c_principal.__c.runVoidMethod ("LogImpl","816646297",RemoteObject.createImmutable("a eliminar"),0); + BA.debugLineNum = 3417;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from PED"; +Debug.ShouldStop(16777216); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("delete from PEDIDO where PE_PROID = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_idparts.getArrayElement(true,BA.numberCast(int.class, 0))))),RemoteObject.createImmutable("' and PE_CLIENTE = '63403' AND CONSECUTIVO = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_sobrantes.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CONSECUTIVO")))))),RemoteObject.createImmutable("'"))))); + }}} +; + }; + }else +{ BA.debugLineNum = 3421;BA.debugLine="Else If restadoanterior.GetInt(\"RESTA\") = 0 An"; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean("=",_restadoanterior.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("RESTA"))),BA.numberCast(double.class, 0)) && RemoteObject.solveBoolean("!",_restadoanterior.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("RESTA"))),BA.numberCast(double.class, _restado))) { + BA.debugLineNum = 3422;BA.debugLine="Starter.skmt.ExecNonQuery2(\"Update PICK_CIEGO"; +Debug.ShouldStop(536870912); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("Update PICK_CIEGO set PC_CANT = ?, RESTA = ? WHERE PC_ID_PROD = ?")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {3},new Object[] {_inputtext,BA.NumberToString(_restado),_idparts.getArrayElement(true,BA.numberCast(int.class, 0))}))))); + BA.debugLineNum = 3423;BA.debugLine="If restado > 0 And inputText <> 0 Then"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean(">",_restado,BA.numberCast(double.class, 0)) && RemoteObject.solveBoolean("!",_inputtext,BA.NumberToString(0))) { + BA.debugLineNum = 3425;BA.debugLine="Dim preciocat As Cursor = Starter.skmt.ExecQ"; +Debug.ShouldStop(1); +_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_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select IFNULL(CAT_GP_PRECIO,0) AS CAT_GP_PRECIO from CAT_GUNAPROD WHERE CAT_GP_ID = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_idparts.getArrayElement(true,BA.numberCast(int.class, 0))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("preciocat", _preciocat);Debug.locals.put("preciocat", _preciocat); + BA.debugLineNum = 3426;BA.debugLine="If preciocat.RowCount > 0 Then"; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean(">",_preciocat.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 3427;BA.debugLine="preciocat.Position = 0"; +Debug.ShouldStop(4); +_preciocat.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3428;BA.debugLine="Dim preciofull As String = preciocat.GetStr"; +Debug.ShouldStop(8); +_preciofull = _preciocat.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_PRECIO")));Debug.locals.put("preciofull", _preciofull);Debug.locals.put("preciofull", _preciofull); + }; + BA.debugLineNum = 3430;BA.debugLine="preciocat.Close"; +Debug.ShouldStop(32); +_preciocat.runVoidMethod ("Close"); + BA.debugLineNum = 3431;BA.debugLine="Log(\"MAYOR A CERO\")"; +Debug.ShouldStop(64); +c_principal.__c.runVoidMethod ("LogImpl","816646312",RemoteObject.createImmutable("MAYOR A CERO"),0); + BA.debugLineNum = 3432;BA.debugLine="consecutivo = consecutivo + 1"; +Debug.ShouldStop(128); +_consecutivo = RemoteObject.solve(new RemoteObject[] {_consecutivo,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("consecutivo", _consecutivo); + BA.debugLineNum = 3433;BA.debugLine="Dim faltantes As Cursor = Starter.skmt.ExecQ"; +Debug.ShouldStop(256); +_faltantes = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_faltantes = 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 PEDIDO WHERE PE_PROID = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_idparts.getArrayElement(true,BA.numberCast(int.class, 0))))),RemoteObject.createImmutable("' AND PE_TIPO = 'FALTANTE'"))))));Debug.locals.put("faltantes", _faltantes);Debug.locals.put("faltantes", _faltantes); + BA.debugLineNum = 3434;BA.debugLine="If faltantes.RowCount > 0 Then"; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean(">",_faltantes.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 3435;BA.debugLine="faltantes.Position = 0"; +Debug.ShouldStop(1024); +_faltantes.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3436;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO s"; +Debug.ShouldStop(2048); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update PEDIDO set PE_CANT = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_restado))),RemoteObject.createImmutable("', PE_COSTO_TOT= '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_restado))),RemoteObject.createImmutable("'*'"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_preciofull))),RemoteObject.createImmutable("', PE_TIPO = 'FALTANTE' WHERE PE_PROID = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_idparts.getArrayElement(true,BA.numberCast(int.class, 0))))),RemoteObject.createImmutable("' and PE_CLIENTE = '63403' AND CONSECUTIVO = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_faltantes.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CONSECUTIVO")))))),RemoteObject.createImmutable("'"))))); + }else { + BA.debugLineNum = 3438;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PED"; +Debug.ShouldStop(8192); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO PEDIDO(PE_PROID,PE_PRONOMBRE,PE_CANT,PE_CLIENTEOR,PE_CLIENTE,PE_COSTOU,PE_COSTO_TOT,PE_CAJAS,PE_BCAJAS,CONSECUTIVO,PE_RUTA, PE_TIPO,PE_CEDIS,PE_FECHA,PE_USUARIO,FECHA_PREV,RUTA_REP,PE_REGALO) VALUES (?,?,?,?,?,?,?,0,0,?,?,?,?,?,?,?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {16},new Object[] {_idparts.getArrayElement(true,BA.numberCast(int.class, 0)),_idparts.getArrayElement(true,BA.numberCast(int.class, 1)),BA.NumberToString(_restado),BA.ObjectToString(""),c_principal._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba")),_preciofull,BA.NumberToString((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _preciofull),_restado}, "*",0, 0))),BA.NumberToString(_consecutivo),BA.NumberToString(1000),BA.ObjectToString("FALTANTE"),c_principal._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")),RemoteObject.concat(_sdate,RemoteObject.createImmutable(" "),_stime),c_principal._subs.runMethod(true,"_traeusuario" /*RemoteObject*/ ,__ref.getField(false, "ba")),c_principal._subs.runMethod(true,"_traefechaprev" /*RemoteObject*/ ,__ref.getField(false, "ba")),c_principal._subs.runMethod(true,"_traerutareparto" /*RemoteObject*/ ,__ref.getField(false, "ba")),BA.NumberToString(0)}))))); + }; + }else +{ BA.debugLineNum = 3440;BA.debugLine="Else If restado < 0 And inputText <> 0 Then"; +Debug.ShouldStop(32768); +if (RemoteObject.solveBoolean("<",_restado,BA.numberCast(double.class, 0)) && RemoteObject.solveBoolean("!",_inputtext,BA.NumberToString(0))) { + BA.debugLineNum = 3442;BA.debugLine="Dim preciocat As Cursor = Starter.skmt.ExecQ"; +Debug.ShouldStop(131072); +_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_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select IFNULL(CAT_GP_PRECIO,0) AS CAT_GP_PRECIO from CAT_GUNAPROD WHERE CAT_GP_ID = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_idparts.getArrayElement(true,BA.numberCast(int.class, 0))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("preciocat", _preciocat);Debug.locals.put("preciocat", _preciocat); + BA.debugLineNum = 3443;BA.debugLine="If preciocat.RowCount > 0 Then"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean(">",_preciocat.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 3444;BA.debugLine="preciocat.Position = 0"; +Debug.ShouldStop(524288); +_preciocat.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3445;BA.debugLine="Dim preciofull As String = preciocat.GetStr"; +Debug.ShouldStop(1048576); +_preciofull = _preciocat.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_PRECIO")));Debug.locals.put("preciofull", _preciofull);Debug.locals.put("preciofull", _preciofull); + }; + BA.debugLineNum = 3447;BA.debugLine="preciocat.Close"; +Debug.ShouldStop(4194304); +_preciocat.runVoidMethod ("Close"); + BA.debugLineNum = 3448;BA.debugLine="Log(\"MENOR A CERO\")"; +Debug.ShouldStop(8388608); +c_principal.__c.runVoidMethod ("LogImpl","816646329",RemoteObject.createImmutable("MENOR A CERO"),0); + BA.debugLineNum = 3449;BA.debugLine="consecutivo = consecutivo + 1"; +Debug.ShouldStop(16777216); +_consecutivo = RemoteObject.solve(new RemoteObject[] {_consecutivo,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("consecutivo", _consecutivo); + BA.debugLineNum = 3450;BA.debugLine="Dim faltantes As Cursor = Starter.skmt.ExecQ"; +Debug.ShouldStop(33554432); +_faltantes = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_faltantes = 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 PEDIDO WHERE PE_PROID = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_idparts.getArrayElement(true,BA.numberCast(int.class, 0))))),RemoteObject.createImmutable("' AND PE_TIPO = 'FALTANTE'"))))));Debug.locals.put("faltantes", _faltantes);Debug.locals.put("faltantes", _faltantes); + BA.debugLineNum = 3451;BA.debugLine="If faltantes.RowCount > 0 Then"; +Debug.ShouldStop(67108864); +if (RemoteObject.solveBoolean(">",_faltantes.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 3452;BA.debugLine="faltantes.Position = 0"; +Debug.ShouldStop(134217728); +_faltantes.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3453;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO s"; +Debug.ShouldStop(268435456); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update PEDIDO set PE_CANT = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(RemoteObject.createImmutable(((-(double) (0 + 1)*(double) (0 + _restado.get().intValue())))))),RemoteObject.createImmutable("', PE_COSTO_TOT= "),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(RemoteObject.createImmutable(((-(double) (0 + 1)*(double) (0 + _restado.get().intValue())))))),RemoteObject.createImmutable("*"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_preciofull))),RemoteObject.createImmutable(", PE_TIPO = 'SOBRANTE' WHERE PE_PROID = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_idparts.getArrayElement(true,BA.numberCast(int.class, 0))))),RemoteObject.createImmutable("' and PE_CLIENTE = '63403' AND CONSECUTIVO = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_faltantes.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CONSECUTIVO")))))),RemoteObject.createImmutable("'"))))); + }else { + BA.debugLineNum = 3455;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PED"; +Debug.ShouldStop(1073741824); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO PEDIDO(PE_PROID,PE_PRONOMBRE,PE_CANT,PE_CLIENTEOR,PE_CLIENTE,PE_COSTOU,PE_COSTO_TOT,PE_CAJAS,PE_BCAJAS,CONSECUTIVO,PE_RUTA, PE_TIPO,PE_CEDIS,PE_FECHA,PE_USUARIO,FECHA_PREV,RUTA_REP,PE_REGALO) VALUES (?,?,?,?,?,?,?,0,0,?,?,?,?,?,?,?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {16},new Object[] {_idparts.getArrayElement(true,BA.numberCast(int.class, 0)),_idparts.getArrayElement(true,BA.numberCast(int.class, 1)),BA.NumberToString((-(double) (0 + 1)*(double) (0 + _restado.get().intValue()))),BA.ObjectToString(""),c_principal._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba")),_preciofull,BA.NumberToString((-(double) (0 + 1)*(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _preciofull),_restado}, "*",0, 0)).get().doubleValue())),BA.NumberToString(_consecutivo),BA.NumberToString(1000),BA.ObjectToString("SOBRANTE"),c_principal._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")),RemoteObject.concat(_sdate,RemoteObject.createImmutable(" "),_stime),c_principal._subs.runMethod(true,"_traeusuario" /*RemoteObject*/ ,__ref.getField(false, "ba")),c_principal._subs.runMethod(true,"_traefechaprev" /*RemoteObject*/ ,__ref.getField(false, "ba")),c_principal._subs.runMethod(true,"_traerutareparto" /*RemoteObject*/ ,__ref.getField(false, "ba")),BA.NumberToString(0)}))))); + }; + }} +; + }else +{ BA.debugLineNum = 3458;BA.debugLine="Else If restadoanterior.GetInt(\"RESTA\") = 0 An"; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean("=",_restadoanterior.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("RESTA"))),BA.numberCast(double.class, 0)) && RemoteObject.solveBoolean("=",_restado,BA.numberCast(double.class, 0))) { + BA.debugLineNum = 3459;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from PEDID"; +Debug.ShouldStop(4); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("delete from PEDIDO where PE_PROID = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_idparts.getArrayElement(true,BA.numberCast(int.class, 0))))),RemoteObject.createImmutable("' and PE_CLIENTE = '63403' AND PE_TIPO NOT IN ('DANADO') "))))); + }}}} +; + }; + }else +{ BA.debugLineNum = 3462;BA.debugLine="Else If inputText = \"\" Or inputText = 0 Then"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean("=",_inputtext,BA.ObjectToString("")) || RemoteObject.solveBoolean("=",_inputtext,BA.NumberToString(0))) { + BA.debugLineNum = 3463;BA.debugLine="Log(\"IMPUT IGUAL DE CERO\")"; +Debug.ShouldStop(64); +c_principal.__c.runVoidMethod ("LogImpl","816646344",RemoteObject.createImmutable("IMPUT IGUAL DE CERO"),0); + BA.debugLineNum = 3464;BA.debugLine="Log(idParts(0))"; +Debug.ShouldStop(128); +c_principal.__c.runVoidMethod ("LogImpl","816646345",_idparts.getArrayElement(true,BA.numberCast(int.class, 0)),0); + BA.debugLineNum = 3465;BA.debugLine="Log(cantidadrestar)"; +Debug.ShouldStop(256); +c_principal.__c.runVoidMethod ("LogImpl","816646346",_cantidadrestar,0); + BA.debugLineNum = 3466;BA.debugLine="Log(inputText)"; +Debug.ShouldStop(512); +c_principal.__c.runVoidMethod ("LogImpl","816646347",_inputtext,0); + BA.debugLineNum = 3467;BA.debugLine="Dim restado As Int = cantidadrestar - inputText"; +Debug.ShouldStop(1024); +_restado = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cantidadrestar),BA.numberCast(double.class, _inputtext)}, "-",1, 0));Debug.locals.put("restado", _restado);Debug.locals.put("restado", _restado); + BA.debugLineNum = 3468;BA.debugLine="Log(cantidadrestar - inputText)"; +Debug.ShouldStop(2048); +c_principal.__c.runVoidMethod ("LogImpl","816646349",BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cantidadrestar),BA.numberCast(double.class, _inputtext)}, "-",1, 0)),0); + BA.debugLineNum = 3469;BA.debugLine="Dim faltantes As Cursor = Starter.skmt.ExecQuer"; +Debug.ShouldStop(4096); +_faltantes = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_faltantes = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT * FROM PICK_CIEGO where PC_ID_PROD = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {_idparts.getArrayElement(true,BA.numberCast(int.class, 0))}))));Debug.locals.put("faltantes", _faltantes);Debug.locals.put("faltantes", _faltantes); + BA.debugLineNum = 3470;BA.debugLine="If faltantes.RowCount > 0 Then"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean(">",_faltantes.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 3471;BA.debugLine="faltantes.Position = 0"; +Debug.ShouldStop(16384); +_faltantes.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3472;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from PICK_C"; +Debug.ShouldStop(32768); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("delete from PICK_CIEGO where PC_ID_PROD = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_idparts.getArrayElement(true,BA.numberCast(int.class, 0))))),RemoteObject.createImmutable("'"))))); + }; + BA.debugLineNum = 3475;BA.debugLine="Dim sobrantes As Cursor = Starter.skmt.ExecQuer"; +Debug.ShouldStop(262144); +_sobrantes = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_sobrantes = 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 PEDIDO WHERE PE_PROID = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_idparts.getArrayElement(true,BA.numberCast(int.class, 0))))),RemoteObject.createImmutable("' and PE_CLIENTE = '63403'"))))));Debug.locals.put("sobrantes", _sobrantes);Debug.locals.put("sobrantes", _sobrantes); + BA.debugLineNum = 3476;BA.debugLine="If sobrantes.RowCount > 0 Then"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean(">",_sobrantes.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 3477;BA.debugLine="sobrantes.Position = 0"; +Debug.ShouldStop(1048576); +_sobrantes.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3478;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from PEDIDO"; +Debug.ShouldStop(2097152); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("delete from PEDIDO where PE_PROID = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_idparts.getArrayElement(true,BA.numberCast(int.class, 0))))),RemoteObject.createImmutable("' and PE_CLIENTE = '63403' AND CONSECUTIVO = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_sobrantes.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CONSECUTIVO")))))),RemoteObject.createImmutable("'"))))); + }; + BA.debugLineNum = 3481;BA.debugLine="Dim preciocat As Cursor = Starter.skmt.ExecQuer"; +Debug.ShouldStop(16777216); +_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_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select IFNULL(CAT_GP_PRECIO,0) AS CAT_GP_PRECIO from CAT_GUNAPROD WHERE CAT_GP_ID = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_idparts.getArrayElement(true,BA.numberCast(int.class, 0))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("preciocat", _preciocat);Debug.locals.put("preciocat", _preciocat); + BA.debugLineNum = 3482;BA.debugLine="If preciocat.RowCount > 0 Then"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean(">",_preciocat.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 3483;BA.debugLine="preciocat.Position = 0"; +Debug.ShouldStop(67108864); +_preciocat.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3484;BA.debugLine="Dim preciofull As String = preciocat.GetString"; +Debug.ShouldStop(134217728); +_preciofull = _preciocat.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_PRECIO")));Debug.locals.put("preciofull", _preciofull);Debug.locals.put("preciofull", _preciofull); + }; + BA.debugLineNum = 3486;BA.debugLine="preciocat.Close"; +Debug.ShouldStop(536870912); +_preciocat.runVoidMethod ("Close"); + BA.debugLineNum = 3487;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PEDIDO("; +Debug.ShouldStop(1073741824); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO PEDIDO(PE_PROID,PE_PRONOMBRE,PE_CANT,PE_CLIENTEOR,PE_CLIENTE,PE_COSTOU,PE_COSTO_TOT,PE_CAJAS,PE_BCAJAS,CONSECUTIVO,PE_RUTA, PE_TIPO,PE_CEDIS,PE_FECHA,PE_USUARIO,FECHA_PREV,RUTA_REP,PE_REGALO) VALUES (?,?,?,?,?,?,?,0,0,?,?,?,?,?,?,?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {16},new Object[] {_idparts.getArrayElement(true,BA.numberCast(int.class, 0)),_idparts.getArrayElement(true,BA.numberCast(int.class, 1)),BA.NumberToString(_restado),BA.ObjectToString(""),c_principal._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba")),_preciofull,BA.NumberToString((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _preciofull),_restado}, "*",0, 0))),BA.NumberToString(_consecutivo),BA.NumberToString(1000),BA.ObjectToString("FALTANTE"),c_principal._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")),RemoteObject.concat(_sdate,RemoteObject.createImmutable(" "),_stime),c_principal._subs.runMethod(true,"_traeusuario" /*RemoteObject*/ ,__ref.getField(false, "ba")),c_principal._subs.runMethod(true,"_traefechaprev" /*RemoteObject*/ ,__ref.getField(false, "ba")),c_principal._subs.runMethod(true,"_traerutareparto" /*RemoteObject*/ ,__ref.getField(false, "ba")),BA.NumberToString(0)}))))); + }} +; + BA.debugLineNum = 3490;BA.debugLine="f.Close"; +Debug.ShouldStop(2); +__ref.getField(false,"_f" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 3491;BA.debugLine="a.Close"; +Debug.ShouldStop(4); +__ref.getField(false,"_a" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 3492;BA.debugLine="Log(\"Processed item \" & i)"; +Debug.ShouldStop(8); +c_principal.__c.runVoidMethod ("LogImpl","816646373",RemoteObject.concat(RemoteObject.createImmutable("Processed item "),RemoteObject.createImmutable(_i)),0); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 3495;BA.debugLine="P_CIEGO.Visible = False"; +Debug.ShouldStop(64); +__ref.getField(false,"_p_ciego" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 3496;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +Debug.ShouldStop(128); +c_principal._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Cliente"))); + BA.debugLineNum = 3497;BA.debugLine="End Sub"; +Debug.ShouldStop(256); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_venta_emp_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_venta_emp_Click (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,2685); +if (RapidSub.canDelegate("b_venta_emp_click")) { return __ref.runUserSub(false, "c_principal","b_venta_emp_click", __ref);} +int _i = 0; +RemoteObject _c3 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _resta = RemoteObject.createImmutable(""); + BA.debugLineNum = 2685;BA.debugLine="Private Sub b_venta_emp_Click"; +Debug.ShouldStop(268435456); + BA.debugLineNum = 2686;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 = 2687;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CUENTAA V"; +Debug.ShouldStop(1073741824); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CUENTAA VALUES (?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(RemoteObject.createImmutable("63403"))}))))); + BA.debugLineNum = 2689;BA.debugLine="Subs.panelVisible(P_CIEGO,0,0)"; +Debug.ShouldStop(1); +c_principal._subs.runVoidMethod ("_panelvisible" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_p_ciego" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 2690;BA.debugLine="P_CIEGO.Width = Root.Width"; +Debug.ShouldStop(2); +__ref.getField(false,"_p_ciego" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth")); + BA.debugLineNum = 2691;BA.debugLine="P_CIEGO.Height = Root.Height"; +Debug.ShouldStop(4); +__ref.getField(false,"_p_ciego" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight")); + BA.debugLineNum = 2693;BA.debugLine="CLV_PICK_CIEGO.Clear"; +Debug.ShouldStop(16); +__ref.getField(false,"_clv_pick_ciego" /*RemoteObject*/ ).runVoidMethod ("_clear"); + BA.debugLineNum = 2695;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery(\"sel"; +Debug.ShouldStop(64); +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 HVD_PRONOMBRE, IFNULL(SUM(HVD_RECHAZOCANT), 0) AS HVD_RECHAZOCANT, HVD_PROID, ifnull(PC_CANT,0) AS PC_CAN from HIST_VENTAS INNER JOIN PICK_CIEGO ON PC_ID_PROD = HVD_PROID WHERE hvd_rechazo <> 2 and HVD_RECHAZOCANT > 0 GROUP BY HVD_PROID order by HVD_PRONOMBRE asc"))));__ref.setField("_c",c_principal._c); + BA.debugLineNum = 2696;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 = 2699;BA.debugLine="For i = 0 To c.RowCount - 1"; +Debug.ShouldStop(1024); +{ +final int step9 = 1; +final int limit9 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*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 = 2700;BA.debugLine="c.Position = i"; +Debug.ShouldStop(2048); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 2703;BA.debugLine="Private c3 As Cursor=Starter.skmt.ExecQuery($\"s"; +Debug.ShouldStop(16384); +_c3 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c3 = 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 Ifnull(sum(PE_CANT),0) AS PE_CANT from PEDIDO WHERE PE_PROID ='"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID")))))),RemoteObject.createImmutable("' and PE_TIPO NOT IN ('DANADO','FALTANTE','SOBRANTE')"))))));Debug.locals.put("c3", _c3);Debug.locals.put("c3", _c3); + BA.debugLineNum = 2704;BA.debugLine="Private resta As String = 0"; +Debug.ShouldStop(32768); +_resta = BA.NumberToString(0);Debug.locals.put("resta", _resta);Debug.locals.put("resta", _resta); + BA.debugLineNum = 2706;BA.debugLine="If c3.RowCount > 0 Then"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean(">",_c3.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2707;BA.debugLine="c3.Position = 0"; +Debug.ShouldStop(262144); +_c3.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2708;BA.debugLine="resta = c3.GetString(\"PE_CANT\")"; +Debug.ShouldStop(524288); +_resta = _c3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")));Debug.locals.put("resta", _resta); + }else { + BA.debugLineNum = 2710;BA.debugLine="resta = 0"; +Debug.ShouldStop(2097152); +_resta = BA.NumberToString(0);Debug.locals.put("resta", _resta); + }; + BA.debugLineNum = 2712;BA.debugLine="If ( c.GetInt(\"HVD_RECHAZOCANT\") - resta) <= 0"; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean("k",(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))),BA.numberCast(double.class, _resta)}, "-",1, 0)),BA.numberCast(double.class, 0))) { + }else { + BA.debugLineNum = 2715;BA.debugLine="CLV_PICK_CIEGO.Add(CreateListItem(c.GetString("; +Debug.ShouldStop(67108864); +__ref.getField(false,"_clv_pick_ciego" /*RemoteObject*/ ).runVoidMethod ("_add",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), __ref.runClassMethod (reparto_izca.keymon.lat.c_principal.class, "_createlistitem" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID")))),(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PRONOMBRE")))),(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_CAN")))),(Object)(BA.NumberToString((RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))),BA.numberCast(double.class, _resta)}, "-",1, 0))))).getObject()),(Object)(RemoteObject.createImmutable((_i)))); + }; + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 2721;BA.debugLine="d = Starter.skmt.ExecQuery(\"select HVD_PRONOMBRE"; +Debug.ShouldStop(1); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select HVD_PRONOMBRE, IFNULL(SUM(HVD_RECHAZOCANT), 0) AS HVD_RECHAZOCANT, HVD_PROID from HIST_VENTAS WHERE hvd_rechazo <> 2 and HVD_RECHAZOCANT > 0 and HVD_PROID NOT IN (SELECT PC_ID_PROD FROM PICK_CIEGO) GROUP BY HVD_PROID order by HVD_PRONOMBRE asc")))); + BA.debugLineNum = 2723;BA.debugLine="For i = 0 To d.RowCount - 1"; +Debug.ShouldStop(4); +{ +final int step25 = 1; +final int limit25 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step25 > 0 && _i <= limit25) || (step25 < 0 && _i >= limit25) ;_i = ((int)(0 + _i + step25)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 2724;BA.debugLine="d.Position = i"; +Debug.ShouldStop(8); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 2727;BA.debugLine="Private c3 As Cursor=Starter.skmt.ExecQuery($\"s"; +Debug.ShouldStop(64); +_c3 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c3 = 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 Ifnull(sum(PE_CANT),0) AS PE_CANT from PEDIDO WHERE PE_PROID ='"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID")))))),RemoteObject.createImmutable("' and PE_TIPO NOT IN ('DANADO','FALTANTE','SOBRANTE')"))))));Debug.locals.put("c3", _c3);Debug.locals.put("c3", _c3); + BA.debugLineNum = 2728;BA.debugLine="Private resta As String = 0"; +Debug.ShouldStop(128); +_resta = BA.NumberToString(0);Debug.locals.put("resta", _resta);Debug.locals.put("resta", _resta); + BA.debugLineNum = 2730;BA.debugLine="If c3.RowCount > 0 Then"; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean(">",_c3.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2731;BA.debugLine="c3.Position = 0"; +Debug.ShouldStop(1024); +_c3.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2732;BA.debugLine="resta = c3.GetString(\"PE_CANT\")"; +Debug.ShouldStop(2048); +_resta = _c3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")));Debug.locals.put("resta", _resta); + }else { + BA.debugLineNum = 2734;BA.debugLine="resta = 0"; +Debug.ShouldStop(8192); +_resta = BA.NumberToString(0);Debug.locals.put("resta", _resta); + }; + BA.debugLineNum = 2736;BA.debugLine="If ( d.GetInt(\"HVD_RECHAZOCANT\") - resta) <= 0"; +Debug.ShouldStop(32768); +if (RemoteObject.solveBoolean("k",(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))),BA.numberCast(double.class, _resta)}, "-",1, 0)),BA.numberCast(double.class, 0))) { + }else { + BA.debugLineNum = 2739;BA.debugLine="CLV_PICK_CIEGO.Add(CreateListItem2(d.GetString"; +Debug.ShouldStop(262144); +__ref.getField(false,"_clv_pick_ciego" /*RemoteObject*/ ).runVoidMethod ("_add",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), __ref.runClassMethod (reparto_izca.keymon.lat.c_principal.class, "_createlistitem2" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID")))),(Object)(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PRONOMBRE")))),(Object)(BA.NumberToString((RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))),BA.numberCast(double.class, _resta)}, "-",1, 0))))).getObject()),(Object)(RemoteObject.createImmutable((_i)))); + }; + } +}Debug.locals.put("i", _i); +; + }else +{ BA.debugLineNum = 2745;BA.debugLine="Else 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 = 2746;BA.debugLine="d = Starter.skmt.ExecQuery(\"select HVD_PRONOMBRE"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select HVD_PRONOMBRE, IFNULL(SUM(HVD_RECHAZOCANT), 0) AS HVD_RECHAZOCANT, HVD_PROID from HIST_VENTAS WHERE hvd_rechazo <> 2 and HVD_RECHAZOCANT > 0 GROUP BY HVD_PROID order by HVD_PRONOMBRE asc")))); + BA.debugLineNum = 2748;BA.debugLine="For i = 0 To d.RowCount - 1"; +Debug.ShouldStop(134217728); +{ +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 = 2749;BA.debugLine="d.Position = i"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 2752;BA.debugLine="Private c3 As Cursor=Starter.skmt.ExecQuery($\"s"; +Debug.ShouldStop(-2147483648); +_c3 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c3 = 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 Ifnull(sum(PE_CANT),0) AS PE_CANT from PEDIDO WHERE PE_PROID ='"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID")))))),RemoteObject.createImmutable("'and PE_TIPO NOT IN ('DANADO','FALTANTE','SOBRANTE')"))))));Debug.locals.put("c3", _c3);Debug.locals.put("c3", _c3); + BA.debugLineNum = 2753;BA.debugLine="Private resta As String = 0"; +Debug.ShouldStop(1); +_resta = BA.NumberToString(0);Debug.locals.put("resta", _resta);Debug.locals.put("resta", _resta); + BA.debugLineNum = 2755;BA.debugLine="If c3.RowCount > 0 Then"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean(">",_c3.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2756;BA.debugLine="c3.Position = 0"; +Debug.ShouldStop(8); +_c3.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2757;BA.debugLine="resta = c3.GetString(\"PE_CANT\")"; +Debug.ShouldStop(16); +_resta = _c3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")));Debug.locals.put("resta", _resta); + }else { + BA.debugLineNum = 2759;BA.debugLine="resta = 0"; +Debug.ShouldStop(64); +_resta = BA.NumberToString(0);Debug.locals.put("resta", _resta); + }; + BA.debugLineNum = 2761;BA.debugLine="If ( d.GetInt(\"HVD_RECHAZOCANT\") - resta) <= 0"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean("k",(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))),BA.numberCast(double.class, _resta)}, "-",1, 0)),BA.numberCast(double.class, 0))) { + }else { + BA.debugLineNum = 2764;BA.debugLine="CLV_PICK_CIEGO.Add(CreateListItem2(d.GetString"; +Debug.ShouldStop(2048); +__ref.getField(false,"_clv_pick_ciego" /*RemoteObject*/ ).runVoidMethod ("_add",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), __ref.runClassMethod (reparto_izca.keymon.lat.c_principal.class, "_createlistitem2" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID")))),(Object)(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PRONOMBRE")))),(Object)(BA.NumberToString((RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))),BA.numberCast(double.class, _resta)}, "-",1, 0))))).getObject()),(Object)(RemoteObject.createImmutable((_i)))); + }; + } +}Debug.locals.put("i", _i); +; + }} +; + BA.debugLineNum = 2771;BA.debugLine="End Sub"; +Debug.ShouldStop(262144); +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",11,__ref.getField(false, "ba"),__ref,204); +if (RapidSub.canDelegate("b4xpage_appear")) { return __ref.runUserSub(false, "c_principal","b4xpage_appear", __ref);} +int _i = 0; +RemoteObject _numticks = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _monto_rec_dia = RemoteObject.createImmutable(""); +RemoteObject _rc = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +int _i3 = 0; +RemoteObject _vc = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +int _i4 = 0; +RemoteObject _entmap = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _rechmap = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _vendmap = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _cancelrecha = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +int _h54 = 0; +RemoteObject _r5 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _rescant = RemoteObject.createImmutable(""); +int _j4 = 0; +RemoteObject _r6 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _totalcantped = RemoteObject.createImmutable(""); +RemoteObject _rescant2 = RemoteObject.createImmutable(0); +int _j5 = 0; +RemoteObject _r5r = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _rescantr = RemoteObject.createImmutable(""); +int _j4r = 0; +RemoteObject _r6r = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _rescant2r = RemoteObject.createImmutable(""); +int _j5r = 0; +RemoteObject _r55 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _rescant3 = RemoteObject.createImmutable(0); +int _r75 = 0; +RemoteObject _rescant4 = RemoteObject.createImmutable(0); +RemoteObject _rescant5 = RemoteObject.createImmutable(0); +RemoteObject _rescant6 = RemoteObject.createImmutable(0); +RemoteObject _rescant7 = RemoteObject.createImmutable(0); +RemoteObject _rescant10 = RemoteObject.createImmutable(0); +RemoteObject _pztotal = RemoteObject.createImmutable(0); +RemoteObject _pztotal2 = RemoteObject.createImmutable(0); +RemoteObject _rescant11 = RemoteObject.createImmutable(0); +RemoteObject _pztotal3 = RemoteObject.createImmutable(0); +RemoteObject _rescant12 = RemoteObject.createImmutable(0); +RemoteObject _restafaltante = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _rescant8 = RemoteObject.createImmutable(0); +RemoteObject _g8 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _g11 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _g12 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _g13 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); + BA.debugLineNum = 204;BA.debugLine="Sub B4XPage_Appear"; +Debug.ShouldStop(2048); + BA.debugLineNum = 206;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery(\"SEL"; +Debug.ShouldStop(8192); +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 * FROM NOVENTA WHERE NV_MOTIVO = 'ENTREGA' AND NV_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))));__ref.setField("_c",c_principal._c); + BA.debugLineNum = 207;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 = 208;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from NOVENTA w"; +Debug.ShouldStop(32768); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from NOVENTA where NV_MOTIVO <> 'ENTREGA' AND NV_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))); + }; + BA.debugLineNum = 211;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery(\"SEL"; +Debug.ShouldStop(262144); +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 * FROM NOVENTA"))));__ref.setField("_c",c_principal._c); + BA.debugLineNum = 212;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 = 213;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update kmt_info set g"; +Debug.ShouldStop(1048576); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("Update kmt_info set gestion = 2 WHERE CAT_CL_CODIGO IN (SELECT NV_CLIENTE FROM NOVENTA WHERE NV_MOTIVO = 'ENTREGA')"))); + }; + BA.debugLineNum = 215;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery(\"SEL"; +Debug.ShouldStop(4194304); +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 = 216;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 = 217;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update kmt_info set g"; +Debug.ShouldStop(16777216); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("Update kmt_info set gestion = 3 WHERE CAT_CL_CODIGO IN (SELECT NV_CLIENTE FROM NOVENTA WHERE NV_MOTIVO <> 'ENTREGA')"))); + }; + BA.debugLineNum = 220;BA.debugLine="b_check.visible = False"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_b_check" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 221;BA.debugLine="Subs.centraPanel(p_principal, Root.Width)"; +Debug.ShouldStop(268435456); +c_principal._subs.runVoidMethod ("_centrapanel" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_p_principal" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"))); + BA.debugLineNum = 234;BA.debugLine="If EJECUTANDO = 0 Then"; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_ejecutando" /*RemoteObject*/ ),BA.NumberToString(0))) { + BA.debugLineNum = 235;BA.debugLine="Listo1 = 0"; +Debug.ShouldStop(1024); +__ref.setField ("_listo1" /*RemoteObject*/ ,BA.NumberToString(0)); + BA.debugLineNum = 236;BA.debugLine="Listo2 = 0"; +Debug.ShouldStop(2048); +__ref.setField ("_listo2" /*RemoteObject*/ ,BA.NumberToString(0)); + BA.debugLineNum = 237;BA.debugLine="Listo3 = 0"; +Debug.ShouldStop(4096); +__ref.setField ("_listo3" /*RemoteObject*/ ,BA.NumberToString(0)); + BA.debugLineNum = 238;BA.debugLine="Listo4 = 0"; +Debug.ShouldStop(8192); +__ref.setField ("_listo4" /*RemoteObject*/ ,BA.NumberToString(0)); + BA.debugLineNum = 239;BA.debugLine="Listo5 = 0"; +Debug.ShouldStop(16384); +__ref.setField ("_listo5" /*RemoteObject*/ ,BA.NumberToString(0)); + BA.debugLineNum = 240;BA.debugLine="inve = 0"; +Debug.ShouldStop(32768); +__ref.setField ("_inve" /*RemoteObject*/ ,BA.NumberToString(0)); + BA.debugLineNum = 241;BA.debugLine="img2.Visible =False"; +Debug.ShouldStop(65536); +__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + }; + BA.debugLineNum = 243;BA.debugLine="l_ruta.Text = 0"; +Debug.ShouldStop(262144); +__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + BA.debugLineNum = 244;BA.debugLine="f=Starter.skmt.ExecQuery(\"select rutaa from rutaa"; +Debug.ShouldStop(524288); +__ref.getField(false,"_f" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select rutaa from rutaa")))); + BA.debugLineNum = 245;BA.debugLine="If f.RowCount > 0 Then"; +Debug.ShouldStop(1048576); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 246;BA.debugLine="f.Position = 0"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 247;BA.debugLine="l_ruta.Text = f.GetString(\"RUTAA\")"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("RUTAA"))))); + }; + BA.debugLineNum = 249;BA.debugLine="f.Close"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_f" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 250;BA.debugLine="If l_ruta.Text = 0 Then"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"getText"),BA.NumberToString(0))) { + BA.debugLineNum = 251;BA.debugLine="l_ruta.Text = 0"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + BA.debugLineNum = 252;BA.debugLine="l_rutasP.Text = 0"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_l_rutasp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + BA.debugLineNum = 253;BA.debugLine="l_numtickets.Text = 0"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_l_numtickets" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + }else { + BA.debugLineNum = 255;BA.debugLine="f=Starter.skmt.ExecQuery(\"select distinct CAT_CL"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_f" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select distinct CAT_CL_RUTA from kmt_info WHERE CAT_CL_RUTA <> 1000 order by CAT_CL_RUTA")))); + BA.debugLineNum = 257;BA.debugLine="l_rutasP.Text = \"\""; +Debug.ShouldStop(1); +__ref.getField(false,"_l_rutasp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 258;BA.debugLine="For i = 0 To f.RowCount - 1"; +Debug.ShouldStop(2); +{ +final int step38 = 1; +final int limit38 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step38 > 0 && _i <= limit38) || (step38 < 0 && _i >= limit38) ;_i = ((int)(0 + _i + step38)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 259;BA.debugLine="f.Position = i"; +Debug.ShouldStop(4); +__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 260;BA.debugLine="If i = 0 Then"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean("=",RemoteObject.createImmutable(_i),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 261;BA.debugLine="l_rutasP.Text = f.GetString(\"CAT_CL_RUTA\")"; +Debug.ShouldStop(16); +__ref.getField(false,"_l_rutasp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA"))))); + }else { + BA.debugLineNum = 263;BA.debugLine="l_rutasP.Text = l_rutasP.Text & \", \" & f.GetSt"; +Debug.ShouldStop(64); +__ref.getField(false,"_l_rutasp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(RemoteObject.concat(__ref.getField(false,"_l_rutasp" /*RemoteObject*/ ).runMethod(true,"getText"),RemoteObject.createImmutable(", "),__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA")))))); + }; + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 266;BA.debugLine="f.Close"; +Debug.ShouldStop(512); +__ref.getField(false,"_f" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 268;BA.debugLine="Dim numticks As Cursor = Starter.skmt.ExecQuery("; +Debug.ShouldStop(2048); +_numticks = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_numticks = 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(distinct HVD_NUM_TICKET) AS TICKET from HIST_VENTAS"))));Debug.locals.put("numticks", _numticks);Debug.locals.put("numticks", _numticks); + BA.debugLineNum = 269;BA.debugLine="numticks.Position = 0"; +Debug.ShouldStop(4096); +_numticks.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 270;BA.debugLine="l_numtickets.Text = numticks.GetInt(\"TICKET\")"; +Debug.ShouldStop(8192); +__ref.getField(false,"_l_numtickets" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_numticks.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("TICKET"))))); + }; + BA.debugLineNum = 272;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(32768); +c_principal.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 273;BA.debugLine="fecha=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(65536); +__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 = 274;BA.debugLine="b=Starter.skmt.ExecQuery(\"Select count(*) as CUAN"; +Debug.ShouldStop(131072); +__ref.getField(false,"_b" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select count(*) as CUANTOS from kmt_info")))); + BA.debugLineNum = 275;BA.debugLine="b.Position=0"; +Debug.ShouldStop(262144); +__ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 276;BA.debugLine="If b.RowCount > 0 Then Cuantos = b.GetString(\"CUA"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +__ref.setField ("_cuantos" /*RemoteObject*/ ,__ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS"))));}; + BA.debugLineNum = 277;BA.debugLine="d=Starter.skmt.ExecQuery(\"select count(*) as TOTA"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select count(*) as TOTAL_VISITAR from kmt_info where gestion = 0 AND CAT_CL_RUTA <> 1000")))); + BA.debugLineNum = 278;BA.debugLine="D.Position=0"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 279;BA.debugLine="b.Close"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_b" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 280;BA.debugLine="e=Starter.skmt.ExecQuery(\"select count(*) as POR_"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_e" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select count(*) as POR_VISITAR from kmt_info WHERE CAT_CL_RUTA <> 1000")))); + BA.debugLineNum = 281;BA.debugLine="e.Position=0"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_e" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 292;BA.debugLine="cargar.Visible = False"; +Debug.ShouldStop(8); +__ref.getField(false,"_cargar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 293;BA.debugLine="Subir.Visible = False"; +Debug.ShouldStop(16); +__ref.getField(false,"_subir" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 294;BA.debugLine="connecta.Visible = True"; +Debug.ShouldStop(32); +__ref.getField(false,"_connecta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 296;BA.debugLine="If Cuantos = 0 Then"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_cuantos" /*RemoteObject*/ ),BA.NumberToString(0))) { + BA.debugLineNum = 297;BA.debugLine="l_aLiquidar.Text = 0"; +Debug.ShouldStop(256); +__ref.getField(false,"_l_aliquidar" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + BA.debugLineNum = 298;BA.debugLine="l_cuantosc.Text = 0"; +Debug.ShouldStop(512); +__ref.getField(false,"_l_cuantosc" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + BA.debugLineNum = 299;BA.debugLine="l_cuantosn.Text = 0"; +Debug.ShouldStop(1024); +__ref.getField(false,"_l_cuantosn" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + BA.debugLineNum = 300;BA.debugLine="drop = 0"; +Debug.ShouldStop(2048); +__ref.setField ("_drop" /*RemoteObject*/ ,BA.numberCast(double.class, 0)); + BA.debugLineNum = 301;BA.debugLine="l_montoSalida.Text = 0"; +Debug.ShouldStop(4096); +__ref.getField(false,"_l_montosalida" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + BA.debugLineNum = 302;BA.debugLine="efectiva = 0"; +Debug.ShouldStop(8192); +__ref.setField ("_efectiva" /*RemoteObject*/ ,BA.numberCast(double.class, 0)); + BA.debugLineNum = 305;BA.debugLine="L_MONTOE.Text = 0"; +Debug.ShouldStop(65536); +__ref.getField(false,"_l_montoe" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + BA.debugLineNum = 306;BA.debugLine="l_ctast.Text = 0"; +Debug.ShouldStop(131072); +__ref.getField(false,"_l_ctast" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + BA.debugLineNum = 307;BA.debugLine="If d.RowCount > 0 Then l_ctast.Text = d.GetStrin"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +__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 = 308;BA.debugLine="l_porvisitar.Text = 0"; +Debug.ShouldStop(524288); +__ref.getField(false,"_l_porvisitar" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + BA.debugLineNum = 309;BA.debugLine="If e.RowCount > 0 Then l_porvisitar.Text = e.Get"; +Debug.ShouldStop(1048576); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_e" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +__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 = 310;BA.debugLine="d.Close"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 311;BA.debugLine="e.Close"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_e" /*RemoteObject*/ ).runVoidMethod ("Close"); + }else { + BA.debugLineNum = 313;BA.debugLine="c=Starter.skmt.ExecQuery(\"select sum(hvd_costo_t"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select sum(hvd_costo_tot) as MONTO_DIA from hist_ventas where hvd_cliente in (select cat_cl_codigo from kmt_info ) AND HVD_ESTATUS = 1 ")))); + BA.debugLineNum = 314;BA.debugLine="f1=Starter.skmt.ExecQuery(\"select sum(hvd_costo_"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_f1" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select sum(hvd_costo_tot) as MONTO_TOTAL_DIA from hist_ventas2 where hvd_cliente in (select cat_cl_codigo from kmt_info ) AND HVD_RECHAZO = 0")))); + BA.debugLineNum = 315;BA.debugLine="f2=Starter.skmt.ExecQuery(\"select sum(REP_COSTO_"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_f2" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select sum(REP_COSTO_TOT) as MONTO_REC_DIA FROM REPARTO where REP_cliente in (Select cat_cl_codigo from kmt_info)")))); + BA.debugLineNum = 317;BA.debugLine="b=Starter.skmt.ExecQuery(\"select count(DISTINCT"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_b" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select count(DISTINCT NV_CLIENTE) as CUANTOS from noventa where nv_motivo <> 'ENTREGA' and NV_CLIENTE <> 63403")))); + BA.debugLineNum = 319;BA.debugLine="L=Starter.skmt.ExecQuery(\"select count(DISTINCT"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_l" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select count(DISTINCT NV_CLIENTE) as CLIENTES_DIA from noventa where nv_motivo = 'ENTREGA' and NV_CLIENTE <> 63403")))); + BA.debugLineNum = 320;BA.debugLine="f2.Position=0"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_f2" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 323;BA.debugLine="Private MONTO_REC_DIA = 0"; +Debug.ShouldStop(4); +_monto_rec_dia = BA.NumberToString(0);Debug.locals.put("MONTO_REC_DIA", _monto_rec_dia);Debug.locals.put("MONTO_REC_DIA", _monto_rec_dia); + BA.debugLineNum = 324;BA.debugLine="If f2.GetString(\"MONTO_REC_DIA\") <> Null Then MO"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean("N",__ref.getField(false,"_f2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("MONTO_REC_DIA"))))) { +_monto_rec_dia = __ref.getField(false,"_f2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("MONTO_REC_DIA")));Debug.locals.put("MONTO_REC_DIA", _monto_rec_dia);}; + BA.debugLineNum = 335;BA.debugLine="C.Position = 0"; +Debug.ShouldStop(16384); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 336;BA.debugLine="b.Position = 0"; +Debug.ShouldStop(32768); +__ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 337;BA.debugLine="L.Position = 0"; +Debug.ShouldStop(65536); +__ref.getField(false,"_l" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 338;BA.debugLine="f1.Position = 0"; +Debug.ShouldStop(131072); +__ref.getField(false,"_f1" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 339;BA.debugLine="l_aLiquidar.Text = 0"; +Debug.ShouldStop(262144); +__ref.getField(false,"_l_aliquidar" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + BA.debugLineNum = 340;BA.debugLine="If f1.RowCount > 0 Then l_aLiquidar.Text = to_nu"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_f1" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +__ref.getField(false,"_l_aliquidar" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.runClassMethod (reparto_izca.keymon.lat.c_principal.class, "_to_number_vb" /*RemoteObject*/ ,(Object)((__ref.getField(false,"_f1" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("MONTO_TOTAL_DIA"))))))));}; + BA.debugLineNum = 341;BA.debugLine="L_MONTOE.Text = 0"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_l_montoe" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + BA.debugLineNum = 343;BA.debugLine="l_cuantosc.Text = 0"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_l_cuantosc" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + BA.debugLineNum = 344;BA.debugLine="If L.RowCount > 0 Then l_cuantosc.Text = L.GetSt"; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_l" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +__ref.getField(false,"_l_cuantosc" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_l" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CLIENTES_DIA")))));}; + BA.debugLineNum = 345;BA.debugLine="l_cuantosn.Text = 0"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_l_cuantosn" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + BA.debugLineNum = 346;BA.debugLine="If b.RowCount > 0 Then l_cuantosn.Text = b.GetSt"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +__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 = 348;BA.debugLine="If f1.GetString(\"MONTO_TOTAL_DIA\") <> Null Then"; +Debug.ShouldStop(134217728); +if (RemoteObject.solveBoolean("N",__ref.getField(false,"_f1" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("MONTO_TOTAL_DIA"))))) { +__ref.getField(false,"_l_montosalida" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal.__c.runMethod(true,"Round2",(Object)(BA.numberCast(double.class, __ref.getField(false,"_f1" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("MONTO_TOTAL_DIA"))))),(Object)(BA.numberCast(int.class, 2)))));}; + BA.debugLineNum = 350;BA.debugLine="l_ctast.Text = 0"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_l_ctast" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + BA.debugLineNum = 351;BA.debugLine="If d.RowCount > 0 Then l_ctast.Text = d.GetStrin"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +__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 = 352;BA.debugLine="l_porvisitar.Text = 0"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_l_porvisitar" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + BA.debugLineNum = 353;BA.debugLine="If e.RowCount > 0 Then l_porvisitar.Text = e.Get"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_e" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +__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 = 354;BA.debugLine="c.Close"; +Debug.ShouldStop(2); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 355;BA.debugLine="b.Close"; +Debug.ShouldStop(4); +__ref.getField(false,"_b" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 366;BA.debugLine="c.Close"; +Debug.ShouldStop(8192); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + }; + BA.debugLineNum = 368;BA.debugLine="c=Starter.skmt.ExecQuery(\"select ID_ALMACEN from"; +Debug.ShouldStop(32768); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select ID_ALMACEN from CAT_ALMACEN")))); + BA.debugLineNum = 369;BA.debugLine="C.Position =0"; +Debug.ShouldStop(65536); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 370;BA.debugLine="ALMACEN = 0"; +Debug.ShouldStop(131072); +__ref.setField ("_almacen" /*RemoteObject*/ ,BA.NumberToString(0)); + BA.debugLineNum = 371;BA.debugLine="If C.RowCount > 0 Then ALMACEN = C.GetString(\"ID_"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +__ref.setField ("_almacen" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ID_ALMACEN"))));}; + BA.debugLineNum = 372;BA.debugLine="B4XPages.MainPage.almacen = ALMACEN"; +Debug.ShouldStop(524288); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_almacen" /*RemoteObject*/ ,__ref.getField(true,"_almacen" /*RemoteObject*/ )); + BA.debugLineNum = 373;BA.debugLine="C.Close"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 374;BA.debugLine="c=Starter.skmt.ExecQuery(\"select HGDATE, HGLAT, H"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select HGDATE, HGLAT, HGLON from HIST_GPS")))); + BA.debugLineNum = 376;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 = 377;BA.debugLine="For i=0 To c.RowCount -1"; +Debug.ShouldStop(16777216); +{ +final int step115 = 1; +final int limit115 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step115 > 0 && _i <= limit115) || (step115 < 0 && _i >= limit115) ;_i = ((int)(0 + _i + step115)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 378;BA.debugLine="c.Position=i"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 379;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(67108864); +c_principal._cmd = RemoteObject.createNew ("reparto_izca.keymon.lat.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd); + BA.debugLineNum = 380;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 381;BA.debugLine="cmd.Name = \"insert_gps_actual_REP\""; +Debug.ShouldStop(268435456); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_gps_actual_REP")); + BA.debugLineNum = 382;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\"h"; +Debug.ShouldStop(536870912); +__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("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")))),(__ref.getField(true,"_usuario" /*RemoteObject*/ ))})); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 386;BA.debugLine="bu.Initialize"; +Debug.ShouldStop(2); +__ref.getField(false,"_bu" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.batteryutilities.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 387;BA.debugLine="batterystatus = bu.BatteryInformation"; +Debug.ShouldStop(4); +__ref.setField ("_batterystatus" /*RemoteObject*/ ,__ref.getField(false,"_bu" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.batteryutilities.class, "_getbatteryinformation" /*RemoteObject*/ )); + BA.debugLineNum = 389;BA.debugLine="B4XPages.MainPage.batt = batterystatus(0)"; +Debug.ShouldStop(16); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_batt" /*RemoteObject*/ ,__ref.getField(false,"_batterystatus" /*RemoteObject*/ ).getArrayElement(true,BA.numberCast(int.class, 0))); + BA.debugLineNum = 390;BA.debugLine="c=Starter.skmt.ExecQuery(\"select usuario from usu"; +Debug.ShouldStop(32); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select usuario from usuarioa")))); + BA.debugLineNum = 391;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(64); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 392;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 = 393;BA.debugLine="c.Close"; +Debug.ShouldStop(256); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 394;BA.debugLine="c=Starter.skmt.ExecQuery(\"select RUTAA from RUTAA"; +Debug.ShouldStop(512); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select RUTAA from RUTAA")))); + BA.debugLineNum = 395;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(1024); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 396;BA.debugLine="RUTA_T = 0"; +Debug.ShouldStop(2048); +__ref.setField ("_ruta_t" /*RemoteObject*/ ,BA.NumberToString(0)); + BA.debugLineNum = 397;BA.debugLine="If c.RowCount > 0 Then RUTA_T = c.GetString(\"RUTA"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +__ref.setField ("_ruta_t" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("RUTAA"))));}; + BA.debugLineNum = 398;BA.debugLine="B4XPages.MainPage.rutaPreventa = RUTA_T"; +Debug.ShouldStop(8192); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_rutapreventa" /*RemoteObject*/ ,__ref.getField(true,"_ruta_t" /*RemoteObject*/ )); + BA.debugLineNum = 399;BA.debugLine="c.Close"; +Debug.ShouldStop(16384); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 400;BA.debugLine="reqs.Initialize"; +Debug.ShouldStop(32768); +__ref.getField(false,"_reqs" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 402;BA.debugLine="Private rc As Cursor = Starter.skmt.ExecQuery($\"s"; +Debug.ShouldStop(131072); +_rc = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_rc = 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 REPARTO where REP_RECHAZO = \"1\" and REP_CANT > 0")))));Debug.locals.put("rc", _rc);Debug.locals.put("rc", _rc); + BA.debugLineNum = 404;BA.debugLine="If rc.RowCount > 0 Then"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean(">",_rc.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 405;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from RECHAZOS"; +Debug.ShouldStop(1048576); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.createImmutable("delete from RECHAZOS")))); + BA.debugLineNum = 406;BA.debugLine="For i3=0 To rc.RowCount -1 'Copiamos los rechazo"; +Debug.ShouldStop(2097152); +{ +final int step140 = 1; +final int limit140 = RemoteObject.solve(new RemoteObject[] {_rc.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i3 = 0 ; +for (;(step140 > 0 && _i3 <= limit140) || (step140 < 0 && _i3 >= limit140) ;_i3 = ((int)(0 + _i3 + step140)) ) { +Debug.locals.put("i3", _i3); + BA.debugLineNum = 407;BA.debugLine="rc.Position = i3"; +Debug.ShouldStop(4194304); +_rc.runMethod(true,"setPosition",BA.numberCast(int.class, _i3)); + BA.debugLineNum = 410;BA.debugLine="Starter.skmt.ExecNonQuery($\"insert into RECHAZO"; +Debug.ShouldStop(33554432); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("insert into RECHAZOS(R_FECHA, R_CLIENTE, R_CLI_ORIG, R_PRODID, R_CANT, R_RECHAZO, R_PRECIO) select REP_FECHA, REP_CLIENTE, REP_CLI_ORIG, REP_PRODID, REP_CANT, REP_RECHAZO, REP_PRECIO from REPARTO where REP_CLIENTE = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_rc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("REP_CLIENTE")))))),RemoteObject.createImmutable("' and REP_CLI_ORIG = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_rc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("REP_CLI_ORIG")))))),RemoteObject.createImmutable("' and REP_PRODID = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_rc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("REP_PRODID")))))),RemoteObject.createImmutable("' and REP_RECHAZO = '1' and REP_CANT > 0"))))); + } +}Debug.locals.put("i3", _i3); +; + }; + BA.debugLineNum = 413;BA.debugLine="Private vc As Cursor = Starter.skmt.ExecQuery($\"s"; +Debug.ShouldStop(268435456); +_vc = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_vc = 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 REPARTO where REP_RECHAZO = \"0\" and REP_CANT > 0")))));Debug.locals.put("vc", _vc);Debug.locals.put("vc", _vc); + BA.debugLineNum = 415;BA.debugLine="If vc.RowCount > 0 Then"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean(">",_vc.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 416;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from VENTAS\"$"; +Debug.ShouldStop(-2147483648); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.createImmutable("delete from VENTAS")))); + BA.debugLineNum = 417;BA.debugLine="For i4=0 To vc.RowCount -1 'Copiamos las ventas"; +Debug.ShouldStop(1); +{ +final int step148 = 1; +final int limit148 = RemoteObject.solve(new RemoteObject[] {_vc.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i4 = 0 ; +for (;(step148 > 0 && _i4 <= limit148) || (step148 < 0 && _i4 >= limit148) ;_i4 = ((int)(0 + _i4 + step148)) ) { +Debug.locals.put("i4", _i4); + BA.debugLineNum = 418;BA.debugLine="vc.Position = i4"; +Debug.ShouldStop(2); +_vc.runMethod(true,"setPosition",BA.numberCast(int.class, _i4)); + BA.debugLineNum = 421;BA.debugLine="Starter.skmt.ExecNonQuery($\"insert into VENTAS("; +Debug.ShouldStop(16); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("insert into VENTAS(V_FECHA, V_CLIENTE, V_CLI_ORIG, V_PRODID, V_CANT, V_RECHAZO, V_PRECIO) select REP_FECHA, REP_CLIENTE, REP_CLI_ORIG, REP_PRODID, REP_CANT, REP_RECHAZO, REP_PRECIO from REPARTO where REP_CLIENTE = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_vc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("REP_CLIENTE")))))),RemoteObject.createImmutable("' and REP_CLI_ORIG = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_vc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("REP_CLI_ORIG")))))),RemoteObject.createImmutable("' and REP_PRODID = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_vc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("REP_PRODID")))))),RemoteObject.createImmutable("' and REP_RECHAZO = '0' and REP_CANT > 0"))))); + } +}Debug.locals.put("i4", _i4); +; + }; + BA.debugLineNum = 424;BA.debugLine="Starter.ENVIA_ULTIMA_GPS"; +Debug.ShouldStop(128); +c_principal._starter.runVoidMethod ("_envia_ultima_gps" /*RemoteObject*/ ); + BA.debugLineNum = 429;BA.debugLine="Dim entMap As Map = Subs.traeEntregados"; +Debug.ShouldStop(4096); +_entmap = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_entmap = c_principal._subs.runMethod(false,"_traeentregados" /*RemoteObject*/ ,__ref.getField(false, "ba"));Debug.locals.put("entMap", _entmap);Debug.locals.put("entMap", _entmap); + BA.debugLineNum = 430;BA.debugLine="Dim rechMap As Map = Subs.traeRechazados"; +Debug.ShouldStop(8192); +_rechmap = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_rechmap = c_principal._subs.runMethod(false,"_traerechazados" /*RemoteObject*/ ,__ref.getField(false, "ba"));Debug.locals.put("rechMap", _rechmap);Debug.locals.put("rechMap", _rechmap); + BA.debugLineNum = 431;BA.debugLine="Dim vendMap As Map = Subs.traeVendidos"; +Debug.ShouldStop(16384); +_vendmap = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_vendmap = c_principal._subs.runMethod(false,"_traevendidos" /*RemoteObject*/ ,__ref.getField(false, "ba"));Debug.locals.put("vendMap", _vendmap);Debug.locals.put("vendMap", _vendmap); + BA.debugLineNum = 432;BA.debugLine="l_aLiquidar.Text = entMap.Get(\"monto\") + vendMap."; +Debug.ShouldStop(32768); +__ref.getField(false,"_l_aliquidar" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _entmap.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("monto"))))),BA.numberCast(double.class, _vendmap.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("monto")))))}, "+",1, 0))); + BA.debugLineNum = 434;BA.debugLine="Dim cancelrecha As Cursor = Starter.skmt.ExecQuer"; +Debug.ShouldStop(131072); +_cancelrecha = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_cancelrecha = 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 ifnull(HVD_RECHAZOCANT,0), HVD_RECHAZO, CONSECUTIVO FROM HIST_VENTAS"))));Debug.locals.put("cancelrecha", _cancelrecha);Debug.locals.put("cancelrecha", _cancelrecha); + BA.debugLineNum = 435;BA.debugLine="If cancelrecha.RowCount > 0 Then"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean(">",_cancelrecha.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 436;BA.debugLine="For h54 = 0 To cancelrecha.RowCount - 1"; +Debug.ShouldStop(524288); +{ +final int step160 = 1; +final int limit160 = RemoteObject.solve(new RemoteObject[] {_cancelrecha.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_h54 = 0 ; +for (;(step160 > 0 && _h54 <= limit160) || (step160 < 0 && _h54 >= limit160) ;_h54 = ((int)(0 + _h54 + step160)) ) { +Debug.locals.put("h54", _h54); + BA.debugLineNum = 437;BA.debugLine="cancelrecha.Position = h54"; +Debug.ShouldStop(1048576); +_cancelrecha.runMethod(true,"setPosition",BA.numberCast(int.class, _h54)); + BA.debugLineNum = 438;BA.debugLine="Starter.skmt.ExecNonQuery2(\"Update HIST_VENTAS"; +Debug.ShouldStop(2097152); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("Update HIST_VENTAS set HVD_RECHAZO = '0' WHERE CONSECUTIVO = ? and (HVD_RECHAZOCANT = 0 OR HVD_RECHAZOCANT IS NULL)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {_cancelrecha.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CONSECUTIVO")))}))))); + } +}Debug.locals.put("h54", _h54); +; + }; + BA.debugLineNum = 441;BA.debugLine="cancelrecha.Close"; +Debug.ShouldStop(16777216); +_cancelrecha.runVoidMethod ("Close"); + BA.debugLineNum = 445;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s"; +Debug.ShouldStop(268435456); +_r5 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_r5 = 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 IFNULL(HVD_COSTO_TOT,0) AS HVD_COSTO_TOT, IFNULL(HVD_CANT,0) AS HVD_CANT, IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT, HVD_PROID, HVD_CLIENTE, CONSECUTIVO from HIST_VENTAS where HVD_RECHAZO = '1' and BCAJAS = '0' ORDER BY HVD_PROID ")))));Debug.locals.put("r5", _r5);Debug.locals.put("r5", _r5); + BA.debugLineNum = 447;BA.debugLine="Private rescant As String = 0"; +Debug.ShouldStop(1073741824); +_rescant = BA.NumberToString(0);Debug.locals.put("rescant", _rescant);Debug.locals.put("rescant", _rescant); + BA.debugLineNum = 448;BA.debugLine="If r5.RowCount > 0 Then"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean(">",_r5.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 449;BA.debugLine="For j4 = 0 To r5.RowCount -1"; +Debug.ShouldStop(1); +{ +final int step169 = 1; +final int limit169 = RemoteObject.solve(new RemoteObject[] {_r5.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_j4 = 0 ; +for (;(step169 > 0 && _j4 <= limit169) || (step169 < 0 && _j4 >= limit169) ;_j4 = ((int)(0 + _j4 + step169)) ) { +Debug.locals.put("j4", _j4); + BA.debugLineNum = 450;BA.debugLine="r5.Position = j4"; +Debug.ShouldStop(2); +_r5.runMethod(true,"setPosition",BA.numberCast(int.class, _j4)); + BA.debugLineNum = 451;BA.debugLine="Private r6 As Cursor = Starter.skmt.ExecQuery($"; +Debug.ShouldStop(4); +_r6 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_r6 = 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 IFNULL(SUM(PE_CANT),0) AS PE_CANT from PEDIDO where PE_CLIENTEOR = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CLIENTE")))))),RemoteObject.createImmutable("' AND PE_PROID = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID")))))),RemoteObject.createImmutable("' AND CONSECUTIVO = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CONSECUTIVO")))))),RemoteObject.createImmutable("' AND PE_TIPO NOT IN ('DANADO','FALTANTE','SOBRANTE')"))))));Debug.locals.put("r6", _r6);Debug.locals.put("r6", _r6); + BA.debugLineNum = 452;BA.debugLine="Dim totalcantped As String"; +Debug.ShouldStop(8); +_totalcantped = RemoteObject.createImmutable("");Debug.locals.put("totalcantped", _totalcantped); + BA.debugLineNum = 453;BA.debugLine="If r6.RowCount > 0 Then"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean(">",_r6.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 454;BA.debugLine="r6.Position = 0"; +Debug.ShouldStop(32); +_r6.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 455;BA.debugLine="totalcantped = r6.GetString(\"PE_CANT\")"; +Debug.ShouldStop(64); +_totalcantped = _r6.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")));Debug.locals.put("totalcantped", _totalcantped); + }else { + BA.debugLineNum = 458;BA.debugLine="totalcantped = 0"; +Debug.ShouldStop(512); +_totalcantped = BA.NumberToString(0);Debug.locals.put("totalcantped", _totalcantped); + }; + BA.debugLineNum = 461;BA.debugLine="Log(r5.GetString(\"HVD_RECHAZOCANT\") &\" - \"& tot"; +Debug.ShouldStop(4096); +c_principal.__c.runVoidMethod ("LogImpl","814287105",RemoteObject.concat(_r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))),RemoteObject.createImmutable(" - "),_totalcantped),0); + BA.debugLineNum = 462;BA.debugLine="rescant = rescant + ((r5.GetString(\"HVD_COSTO_T"; +Debug.ShouldStop(8192); +_rescant = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _rescant),(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_COSTO_TOT")))),BA.numberCast(double.class, (_r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))))}, "/",0, 0)),((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT")))),BA.numberCast(double.class, _totalcantped)}, "-",1, 0)))}, "*",0, 0))}, "+",1, 0));Debug.locals.put("rescant", _rescant); + BA.debugLineNum = 464;BA.debugLine="r6.Close"; +Debug.ShouldStop(32768); +_r6.runVoidMethod ("Close"); + } +}Debug.locals.put("j4", _j4); +; + }; + BA.debugLineNum = 467;BA.debugLine="If rescant = \"NaN\" Then rescant = 0"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean("=",_rescant,BA.ObjectToString("NaN"))) { +_rescant = BA.NumberToString(0);Debug.locals.put("rescant", _rescant);}; + BA.debugLineNum = 468;BA.debugLine="LogColor(rescant,Colors.Red)"; +Debug.ShouldStop(524288); +c_principal.__c.runVoidMethod ("LogImpl","814287112",_rescant,c_principal.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 469;BA.debugLine="r5.Close"; +Debug.ShouldStop(1048576); +_r5.runVoidMethod ("Close"); + BA.debugLineNum = 473;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s"; +Debug.ShouldStop(16777216); +_r5 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_r5 = 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 IFNULL(HVD_COSTO_TOT,0) AS HVD_COSTO_TOT, IFNULL(HVD_CANT,0) AS HVD_CANT,IFNULL(CANTC,0) AS CANTC, IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT, HVD_PROID, HVD_CLIENTE, CONSECUTIVO from HIST_VENTAS where HVD_RECHAZO = '1' and BCAJAS = '1' ")))));Debug.locals.put("r5", _r5);Debug.locals.put("r5", _r5); + BA.debugLineNum = 477;BA.debugLine="Private rescant2 As Double = 0"; +Debug.ShouldStop(268435456); +_rescant2 = BA.numberCast(double.class, 0);Debug.locals.put("rescant2", _rescant2);Debug.locals.put("rescant2", _rescant2); + BA.debugLineNum = 478;BA.debugLine="If r5.RowCount > 0 Then"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean(">",_r5.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 479;BA.debugLine="For j5 = 0 To r5.RowCount -1"; +Debug.ShouldStop(1073741824); +{ +final int step190 = 1; +final int limit190 = RemoteObject.solve(new RemoteObject[] {_r5.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_j5 = 0 ; +for (;(step190 > 0 && _j5 <= limit190) || (step190 < 0 && _j5 >= limit190) ;_j5 = ((int)(0 + _j5 + step190)) ) { +Debug.locals.put("j5", _j5); + BA.debugLineNum = 480;BA.debugLine="r5.Position = j5"; +Debug.ShouldStop(-2147483648); +_r5.runMethod(true,"setPosition",BA.numberCast(int.class, _j5)); + BA.debugLineNum = 481;BA.debugLine="Private r6 As Cursor = Starter.skmt.ExecQuery($"; +Debug.ShouldStop(1); +_r6 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_r6 = 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 IFNULL(SUM(PE_CANT),0) AS PE_CANT from PEDIDO where PE_CLIENTEOR = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CLIENTE")))))),RemoteObject.createImmutable("' AND PE_PROID = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID")))))),RemoteObject.createImmutable("' AND CONSECUTIVO = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CONSECUTIVO")))))),RemoteObject.createImmutable("' AND PE_TIPO NOT IN ('DANADO','FALTANTE','SOBRANTE')"))))));Debug.locals.put("r6", _r6);Debug.locals.put("r6", _r6); + BA.debugLineNum = 482;BA.debugLine="r6.Position = 0"; +Debug.ShouldStop(2); +_r6.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 484;BA.debugLine="rescant2 = rescant2 + ((r5.GetString(\"HVD_COSTO"; +Debug.ShouldStop(8); +_rescant2 = RemoteObject.solve(new RemoteObject[] {_rescant2,(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_COSTO_TOT")))),BA.numberCast(double.class, (_r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CANTC")))))}, "/",0, 0)),(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT")))),BA.numberCast(double.class, _r6.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))))}, "-",1, 0)),BA.numberCast(double.class, c_principal._subs.runMethod(true,"_traeconversion" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID"))))))}, "/",0, 0))}, "*",0, 0))}, "+",1, 0);Debug.locals.put("rescant2", _rescant2); + BA.debugLineNum = 485;BA.debugLine="rescant2 = NumberFormat2(rescant2, 0, 2, 2, Fal"; +Debug.ShouldStop(16); +_rescant2 = BA.numberCast(double.class, c_principal.__c.runMethod(true,"NumberFormat2",(Object)(_rescant2),(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"))));Debug.locals.put("rescant2", _rescant2); + BA.debugLineNum = 486;BA.debugLine="r6.Close"; +Debug.ShouldStop(32); +_r6.runVoidMethod ("Close"); + } +}Debug.locals.put("j5", _j5); +; + }; + BA.debugLineNum = 489;BA.debugLine="If rescant2 = \"NaN\" Then rescant2 = 0"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean("=",_rescant2,BA.numberCast(double.class, "NaN"))) { +_rescant2 = BA.numberCast(double.class, 0);Debug.locals.put("rescant2", _rescant2);}; + BA.debugLineNum = 490;BA.debugLine="Log(rescant2)"; +Debug.ShouldStop(512); +c_principal.__c.runVoidMethod ("LogImpl","814287134",BA.NumberToString(_rescant2),0); + BA.debugLineNum = 491;BA.debugLine="r5.Close"; +Debug.ShouldStop(1024); +_r5.runVoidMethod ("Close"); + BA.debugLineNum = 496;BA.debugLine="Private r5r As Cursor = Starter.skmt.ExecQuery($\""; +Debug.ShouldStop(32768); +_r5r = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_r5r = 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 IFNULL(HVD_COSTO_TOT,0) AS HVD_COSTO_TOT, IFNULL(HVD_CANT,0) AS HVD_CANT, IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT, HVD_PROID, HVD_CLIENTE, CONSECUTIVO from HIST_VENTAS where HVD_RECHAZO = '1' and BCAJAS = '0' ")))));Debug.locals.put("r5r", _r5r);Debug.locals.put("r5r", _r5r); + BA.debugLineNum = 498;BA.debugLine="Private rescantr As String = 0"; +Debug.ShouldStop(131072); +_rescantr = BA.NumberToString(0);Debug.locals.put("rescantr", _rescantr);Debug.locals.put("rescantr", _rescantr); + BA.debugLineNum = 499;BA.debugLine="If r5r.RowCount > 0 Then"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean(">",_r5r.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 500;BA.debugLine="For j4r = 0 To r5r.RowCount -1"; +Debug.ShouldStop(524288); +{ +final int step205 = 1; +final int limit205 = RemoteObject.solve(new RemoteObject[] {_r5r.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_j4r = 0 ; +for (;(step205 > 0 && _j4r <= limit205) || (step205 < 0 && _j4r >= limit205) ;_j4r = ((int)(0 + _j4r + step205)) ) { +Debug.locals.put("j4r", _j4r); + BA.debugLineNum = 501;BA.debugLine="r5r.Position = j4r"; +Debug.ShouldStop(1048576); +_r5r.runMethod(true,"setPosition",BA.numberCast(int.class, _j4r)); + BA.debugLineNum = 502;BA.debugLine="Private r6r As Cursor = Starter.skmt.ExecQuery("; +Debug.ShouldStop(2097152); +_r6r = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_r6r = 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 IFNULL(SUM(PE_CANT),0) AS PE_CANT from PEDIDO where PE_CLIENTEOR = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_r5r.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CLIENTE")))))),RemoteObject.createImmutable("' AND PE_PROID = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_r5r.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID")))))),RemoteObject.createImmutable("' AND CONSECUTIVO = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_r5r.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CONSECUTIVO")))))),RemoteObject.createImmutable("' AND PE_TIPO NOT IN ('DANADO','FALTANTE','SOBRANTE') "))))));Debug.locals.put("r6r", _r6r);Debug.locals.put("r6r", _r6r); + BA.debugLineNum = 503;BA.debugLine="r6r.Position = 0"; +Debug.ShouldStop(4194304); +_r6r.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 506;BA.debugLine="rescantr = rescantr + ((r5r.GetString(\"HVD_COST"; +Debug.ShouldStop(33554432); +_rescantr = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _rescantr),(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _r5r.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_COSTO_TOT")))),BA.numberCast(double.class, (_r5r.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))))}, "/",0, 0)),BA.numberCast(double.class, (_r5r.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT")))))}, "*",0, 0))}, "+",1, 0));Debug.locals.put("rescantr", _rescantr); + BA.debugLineNum = 507;BA.debugLine="r6r.Close"; +Debug.ShouldStop(67108864); +_r6r.runVoidMethod ("Close"); + } +}Debug.locals.put("j4r", _j4r); +; + }; + BA.debugLineNum = 510;BA.debugLine="If rescantr = \"NaN\" Then rescantr = 0"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean("=",_rescantr,BA.ObjectToString("NaN"))) { +_rescantr = BA.NumberToString(0);Debug.locals.put("rescantr", _rescantr);}; + BA.debugLineNum = 512;BA.debugLine="r5r.Close"; +Debug.ShouldStop(-2147483648); +_r5r.runVoidMethod ("Close"); + BA.debugLineNum = 514;BA.debugLine="Log(rescantr)"; +Debug.ShouldStop(2); +c_principal.__c.runVoidMethod ("LogImpl","814287158",_rescantr,0); + BA.debugLineNum = 516;BA.debugLine="Private r5r As Cursor = Starter.skmt.ExecQuery($\""; +Debug.ShouldStop(8); +_r5r = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_r5r = 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 IFNULL(HVD_COSTO_TOT,0) AS HVD_COSTO_TOT, IFNULL(HVD_CANT,0) AS HVD_CANT,IFNULL(CANTC,0) AS CANTC, IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT, HVD_PROID, HVD_CLIENTE, CONSECUTIVO from HIST_VENTAS where HVD_RECHAZO = '1' and BCAJAS = '1' ")))));Debug.locals.put("r5r", _r5r);Debug.locals.put("r5r", _r5r); + BA.debugLineNum = 520;BA.debugLine="Private rescant2r As String = 0"; +Debug.ShouldStop(128); +_rescant2r = BA.NumberToString(0);Debug.locals.put("rescant2r", _rescant2r);Debug.locals.put("rescant2r", _rescant2r); + BA.debugLineNum = 521;BA.debugLine="If r5r.RowCount > 0 Then"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean(">",_r5r.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 522;BA.debugLine="For j5r = 0 To r5r.RowCount -1"; +Debug.ShouldStop(512); +{ +final int step219 = 1; +final int limit219 = RemoteObject.solve(new RemoteObject[] {_r5r.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_j5r = 0 ; +for (;(step219 > 0 && _j5r <= limit219) || (step219 < 0 && _j5r >= limit219) ;_j5r = ((int)(0 + _j5r + step219)) ) { +Debug.locals.put("j5r", _j5r); + BA.debugLineNum = 523;BA.debugLine="r5r.Position = j5r"; +Debug.ShouldStop(1024); +_r5r.runMethod(true,"setPosition",BA.numberCast(int.class, _j5r)); + BA.debugLineNum = 524;BA.debugLine="Private r6r As Cursor = Starter.skmt.ExecQuery("; +Debug.ShouldStop(2048); +_r6r = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_r6r = 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 IFNULL(SUM(PE_CANT),0) AS PE_CANT from PEDIDO where PE_CLIENTEOR = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_r5r.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CLIENTE")))))),RemoteObject.createImmutable("' AND PE_PROID = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_r5r.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID")))))),RemoteObject.createImmutable("' AND CONSECUTIVO = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_r5r.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CONSECUTIVO")))))),RemoteObject.createImmutable("' AND PE_TIPO NOT IN ('DANADO','FALTANTE','SOBRANTE')"))))));Debug.locals.put("r6r", _r6r);Debug.locals.put("r6r", _r6r); + BA.debugLineNum = 525;BA.debugLine="r6r.Position = 0"; +Debug.ShouldStop(4096); +_r6r.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 527;BA.debugLine="rescant2r = rescant2r + ((r5r.GetString(\"HVD_CO"; +Debug.ShouldStop(16384); +_rescant2r = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _rescant2r),(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _r5r.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_COSTO_TOT")))),BA.numberCast(double.class, (_r5r.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CANTC")))))}, "/",0, 0)),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, (_r5r.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))),BA.numberCast(double.class, c_principal._subs.runMethod(true,"_traeconversion" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_r5r.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID"))))))}, "/",0, 0))}, "*",0, 0))}, "+",1, 0));Debug.locals.put("rescant2r", _rescant2r); + BA.debugLineNum = 528;BA.debugLine="r6r.Close"; +Debug.ShouldStop(32768); +_r6r.runVoidMethod ("Close"); + } +}Debug.locals.put("j5r", _j5r); +; + }; + BA.debugLineNum = 531;BA.debugLine="If rescant2r = \"NaN\" Then rescant2r = 0"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean("=",_rescant2r,BA.ObjectToString("NaN"))) { +_rescant2r = BA.NumberToString(0);Debug.locals.put("rescant2r", _rescant2r);}; + BA.debugLineNum = 533;BA.debugLine="r5r.Close"; +Debug.ShouldStop(1048576); +_r5r.runVoidMethod ("Close"); + BA.debugLineNum = 534;BA.debugLine="Log(rescant2r)"; +Debug.ShouldStop(2097152); +c_principal.__c.runVoidMethod ("LogImpl","814287178",_rescant2r,0); + BA.debugLineNum = 535;BA.debugLine="Log(rescant2r+rescantr)"; +Debug.ShouldStop(4194304); +c_principal.__c.runVoidMethod ("LogImpl","814287179",BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _rescant2r),BA.numberCast(double.class, _rescantr)}, "+",1, 0)),0); + BA.debugLineNum = 551;BA.debugLine="Private r55 As Cursor = Starter.skmt.ExecQuery($\""; +Debug.ShouldStop(64); +_r55 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_r55 = 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 HVD_COSTO_TOT from HIST_VENTAS where HVD_RECHAZO = '0' and BCAJAS = '0' ")))));Debug.locals.put("r55", _r55);Debug.locals.put("r55", _r55); + BA.debugLineNum = 552;BA.debugLine="Private rescant3 As Double"; +Debug.ShouldStop(128); +_rescant3 = RemoteObject.createImmutable(0);Debug.locals.put("rescant3", _rescant3); + BA.debugLineNum = 553;BA.debugLine="If r55.RowCount > 0 Then"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean(">",_r55.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 554;BA.debugLine="For r75 = 0 To r55.RowCount -1"; +Debug.ShouldStop(512); +{ +final int step234 = 1; +final int limit234 = RemoteObject.solve(new RemoteObject[] {_r55.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_r75 = 0 ; +for (;(step234 > 0 && _r75 <= limit234) || (step234 < 0 && _r75 >= limit234) ;_r75 = ((int)(0 + _r75 + step234)) ) { +Debug.locals.put("r75", _r75); + BA.debugLineNum = 555;BA.debugLine="r55.Position = r75"; +Debug.ShouldStop(1024); +_r55.runMethod(true,"setPosition",BA.numberCast(int.class, _r75)); + BA.debugLineNum = 556;BA.debugLine="rescant3 = rescant3 + r55.GetString(\"HVD_COSTO_"; +Debug.ShouldStop(2048); +_rescant3 = RemoteObject.solve(new RemoteObject[] {_rescant3,BA.numberCast(double.class, _r55.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_COSTO_TOT"))))}, "+",1, 0);Debug.locals.put("rescant3", _rescant3); + BA.debugLineNum = 557;BA.debugLine="rescant3 = NumberFormat2(rescant3, 0, 2, 2, Fal"; +Debug.ShouldStop(4096); +_rescant3 = BA.numberCast(double.class, c_principal.__c.runMethod(true,"NumberFormat2",(Object)(_rescant3),(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"))));Debug.locals.put("rescant3", _rescant3); + } +}Debug.locals.put("r75", _r75); +; + }; + BA.debugLineNum = 561;BA.debugLine="Log(rescant3)"; +Debug.ShouldStop(65536); +c_principal.__c.runVoidMethod ("LogImpl","814287205",BA.NumberToString(_rescant3),0); + BA.debugLineNum = 562;BA.debugLine="r55.Close"; +Debug.ShouldStop(131072); +_r55.runVoidMethod ("Close"); + BA.debugLineNum = 567;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s"; +Debug.ShouldStop(4194304); +_r5 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_r5 = 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 IFNULL(SUM(HVD_COSTO_TOT),0) AS HVD_COSTO_TOT from HIST_VENTAS where HVD_RECHAZO = '0' and BCAJAS = '1' ")))));Debug.locals.put("r5", _r5);Debug.locals.put("r5", _r5); + BA.debugLineNum = 568;BA.debugLine="Private rescant4 As Double"; +Debug.ShouldStop(8388608); +_rescant4 = RemoteObject.createImmutable(0);Debug.locals.put("rescant4", _rescant4); + BA.debugLineNum = 569;BA.debugLine="If r5.RowCount > 0 Then"; +Debug.ShouldStop(16777216); +if (RemoteObject.solveBoolean(">",_r5.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 570;BA.debugLine="r5.Position = 0"; +Debug.ShouldStop(33554432); +_r5.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 571;BA.debugLine="rescant4 = r5.GetString(\"HVD_COSTO_TOT\")"; +Debug.ShouldStop(67108864); +_rescant4 = BA.numberCast(double.class, _r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_COSTO_TOT"))));Debug.locals.put("rescant4", _rescant4); + }; + BA.debugLineNum = 573;BA.debugLine="Log(rescant4)"; +Debug.ShouldStop(268435456); +c_principal.__c.runVoidMethod ("LogImpl","814287217",BA.NumberToString(_rescant4),0); + BA.debugLineNum = 574;BA.debugLine="r5.Close"; +Debug.ShouldStop(536870912); +_r5.runVoidMethod ("Close"); + BA.debugLineNum = 576;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s"; +Debug.ShouldStop(-2147483648); +_r5 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_r5 = 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 IFNULL(SUM(PE_COSTO_TOT),0) AS PE_COSTO_TOT from PEDIDO WHERE PE_TIPO <> 'SOBRANTE' ")))));Debug.locals.put("r5", _r5);Debug.locals.put("r5", _r5); + BA.debugLineNum = 577;BA.debugLine="Private rescant5 As Double"; +Debug.ShouldStop(1); +_rescant5 = RemoteObject.createImmutable(0);Debug.locals.put("rescant5", _rescant5); + BA.debugLineNum = 578;BA.debugLine="If r5.RowCount > 0 Then"; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean(">",_r5.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 579;BA.debugLine="r5.Position = 0"; +Debug.ShouldStop(4); +_r5.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 580;BA.debugLine="rescant5 = r5.GetString(\"PE_COSTO_TOT\")"; +Debug.ShouldStop(8); +_rescant5 = BA.numberCast(double.class, _r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_TOT"))));Debug.locals.put("rescant5", _rescant5); + }; + BA.debugLineNum = 582;BA.debugLine="Log(rescant5)"; +Debug.ShouldStop(32); +c_principal.__c.runVoidMethod ("LogImpl","814287226",BA.NumberToString(_rescant5),0); + BA.debugLineNum = 583;BA.debugLine="r5.Close"; +Debug.ShouldStop(64); +_r5.runVoidMethod ("Close"); + BA.debugLineNum = 588;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s"; +Debug.ShouldStop(2048); +_r5 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_r5 = 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 IFNULL(HVD_COSTO_TOT,0) AS HVD_COSTO_TOT, IFNULL(HVD_CANT,0) AS HVD_CANT, IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT, HVD_PROID, HVD_CLIENTE, CONSECUTIVO from HIST_VENTAS where HVD_RECHAZO = '1' and BCAJAS = '0' ")))));Debug.locals.put("r5", _r5);Debug.locals.put("r5", _r5); + BA.debugLineNum = 589;BA.debugLine="Private rescant6 As Double"; +Debug.ShouldStop(4096); +_rescant6 = RemoteObject.createImmutable(0);Debug.locals.put("rescant6", _rescant6); + BA.debugLineNum = 590;BA.debugLine="If r5.RowCount > 0 Then"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean(">",_r5.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 591;BA.debugLine="For j4 = 0 To r5.RowCount -1"; +Debug.ShouldStop(16384); +{ +final int step261 = 1; +final int limit261 = RemoteObject.solve(new RemoteObject[] {_r5.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_j4 = 0 ; +for (;(step261 > 0 && _j4 <= limit261) || (step261 < 0 && _j4 >= limit261) ;_j4 = ((int)(0 + _j4 + step261)) ) { +Debug.locals.put("j4", _j4); + BA.debugLineNum = 592;BA.debugLine="r5.Position = j4"; +Debug.ShouldStop(32768); +_r5.runMethod(true,"setPosition",BA.numberCast(int.class, _j4)); + BA.debugLineNum = 593;BA.debugLine="Private r6 As Cursor = Starter.skmt.ExecQuery($"; +Debug.ShouldStop(65536); +_r6 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_r6 = 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 IFNULL(SUM(PE_CANT),0) AS PE_CANT from PEDIDO where PE_CLIENTEOR = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CLIENTE")))))),RemoteObject.createImmutable("' AND PE_PROID = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID")))))),RemoteObject.createImmutable("' AND CONSECUTIVO = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CONSECUTIVO")))))),RemoteObject.createImmutable("' AND PE_TIPO NOT IN ('DANADO','FALTANTE','SOBRANTE')"))))));Debug.locals.put("r6", _r6);Debug.locals.put("r6", _r6); + BA.debugLineNum = 594;BA.debugLine="r6.Position = 0"; +Debug.ShouldStop(131072); +_r6.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 597;BA.debugLine="rescant6 = rescant6 + ((r5.GetString(\"HVD_COSTO"; +Debug.ShouldStop(1048576); +_rescant6 = RemoteObject.solve(new RemoteObject[] {_rescant6,(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_COSTO_TOT")))),BA.numberCast(double.class, (_r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))))}, "/",0, 0)),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, _r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0))}, "*",0, 0))}, "+",1, 0);Debug.locals.put("rescant6", _rescant6); + BA.debugLineNum = 599;BA.debugLine="r6.Close"; +Debug.ShouldStop(4194304); +_r6.runVoidMethod ("Close"); + } +}Debug.locals.put("j4", _j4); +; + }; + BA.debugLineNum = 602;BA.debugLine="If rescant6 = \"NaN\" Then rescant6 = 0"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("=",_rescant6,BA.numberCast(double.class, "NaN"))) { +_rescant6 = BA.numberCast(double.class, 0);Debug.locals.put("rescant6", _rescant6);}; + BA.debugLineNum = 603;BA.debugLine="LogColor(rescant6,Colors.Red)"; +Debug.ShouldStop(67108864); +c_principal.__c.runVoidMethod ("LogImpl","814287247",BA.NumberToString(_rescant6),c_principal.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 604;BA.debugLine="r5.Close"; +Debug.ShouldStop(134217728); +_r5.runVoidMethod ("Close"); + BA.debugLineNum = 606;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s"; +Debug.ShouldStop(536870912); +_r5 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_r5 = 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 IFNULL(HVD_COSTO_TOT,0) AS HVD_COSTO_TOT, IFNULL(HVD_CANT,0) AS HVD_CANT,IFNULL(CANTC,0) AS CANTC, IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT, HVD_PROID, HVD_CLIENTE, CONSECUTIVO from HIST_VENTAS where HVD_RECHAZO = '1' and BCAJAS = '1' ")))));Debug.locals.put("r5", _r5);Debug.locals.put("r5", _r5); + BA.debugLineNum = 607;BA.debugLine="Private rescant7 As Double"; +Debug.ShouldStop(1073741824); +_rescant7 = RemoteObject.createImmutable(0);Debug.locals.put("rescant7", _rescant7); + BA.debugLineNum = 608;BA.debugLine="If r5.RowCount > 0 Then"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean(">",_r5.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 609;BA.debugLine="For j5 = 0 To r5.RowCount -1"; +Debug.ShouldStop(1); +{ +final int step275 = 1; +final int limit275 = RemoteObject.solve(new RemoteObject[] {_r5.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_j5 = 0 ; +for (;(step275 > 0 && _j5 <= limit275) || (step275 < 0 && _j5 >= limit275) ;_j5 = ((int)(0 + _j5 + step275)) ) { +Debug.locals.put("j5", _j5); + BA.debugLineNum = 610;BA.debugLine="r5.Position = j5"; +Debug.ShouldStop(2); +_r5.runMethod(true,"setPosition",BA.numberCast(int.class, _j5)); + BA.debugLineNum = 611;BA.debugLine="Private r6 As Cursor = Starter.skmt.ExecQuery($"; +Debug.ShouldStop(4); +_r6 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_r6 = 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 IFNULL(SUM(PE_CANT),0) AS PE_CANT from PEDIDO where PE_CLIENTEOR = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CLIENTE")))))),RemoteObject.createImmutable("' AND PE_PROID = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID")))))),RemoteObject.createImmutable("' AND CONSECUTIVO = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CONSECUTIVO")))))),RemoteObject.createImmutable("' PE_TIPO NOT IN ('DANADO','FALTANTE','SOBRANTE')"))))));Debug.locals.put("r6", _r6);Debug.locals.put("r6", _r6); + BA.debugLineNum = 612;BA.debugLine="r6.Position = 0"; +Debug.ShouldStop(8); +_r6.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 614;BA.debugLine="rescant7 = rescant7 + ((r5.GetString(\"HVD_COSTO"; +Debug.ShouldStop(32); +_rescant7 = RemoteObject.solve(new RemoteObject[] {_rescant7,(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_COSTO_TOT")))),BA.numberCast(double.class, (_r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CANTC")))))}, "/",0, 0)),(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, _r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0)),BA.numberCast(double.class, c_principal._subs.runMethod(true,"_traeconversion" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID"))))))}, "/",0, 0))}, "*",0, 0))}, "+",1, 0);Debug.locals.put("rescant7", _rescant7); + BA.debugLineNum = 615;BA.debugLine="r6.Close"; +Debug.ShouldStop(64); +_r6.runVoidMethod ("Close"); + } +}Debug.locals.put("j5", _j5); +; + }; + BA.debugLineNum = 618;BA.debugLine="If rescant7 = \"NaN\" Then rescant7 = 0"; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean("=",_rescant7,BA.numberCast(double.class, "NaN"))) { +_rescant7 = BA.numberCast(double.class, 0);Debug.locals.put("rescant7", _rescant7);}; + BA.debugLineNum = 619;BA.debugLine="Log(rescant7)"; +Debug.ShouldStop(1024); +c_principal.__c.runVoidMethod ("LogImpl","814287263",BA.NumberToString(_rescant7),0); + BA.debugLineNum = 620;BA.debugLine="r5.Close"; +Debug.ShouldStop(2048); +_r5.runVoidMethod ("Close"); + BA.debugLineNum = 623;BA.debugLine="Private r55 As Cursor = Starter.skmt.ExecQuery($\""; +Debug.ShouldStop(16384); +_r55 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_r55 = 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 HVD_COSTO_TOT, HVD_CANT from HIST_VENTAS where HVD_RECHAZO = '0' and BCAJAS = '0' AND HVD_CLIENTE IN (SELECT CAT_CL_CODIGO from kmt_info WHERE gestion = 2)")))));Debug.locals.put("r55", _r55);Debug.locals.put("r55", _r55); + BA.debugLineNum = 624;BA.debugLine="Private rescant10 As Double"; +Debug.ShouldStop(32768); +_rescant10 = RemoteObject.createImmutable(0);Debug.locals.put("rescant10", _rescant10); + BA.debugLineNum = 625;BA.debugLine="Private pztotal As Int"; +Debug.ShouldStop(65536); +_pztotal = RemoteObject.createImmutable(0);Debug.locals.put("pztotal", _pztotal); + BA.debugLineNum = 626;BA.debugLine="If r55.RowCount > 0 Then"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean(">",_r55.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 627;BA.debugLine="For r75 = 0 To r55.RowCount -1"; +Debug.ShouldStop(262144); +{ +final int step290 = 1; +final int limit290 = RemoteObject.solve(new RemoteObject[] {_r55.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_r75 = 0 ; +for (;(step290 > 0 && _r75 <= limit290) || (step290 < 0 && _r75 >= limit290) ;_r75 = ((int)(0 + _r75 + step290)) ) { +Debug.locals.put("r75", _r75); + BA.debugLineNum = 628;BA.debugLine="r55.Position = r75"; +Debug.ShouldStop(524288); +_r55.runMethod(true,"setPosition",BA.numberCast(int.class, _r75)); + BA.debugLineNum = 629;BA.debugLine="rescant10 = rescant10 + r55.GetString(\"HVD_COST"; +Debug.ShouldStop(1048576); +_rescant10 = RemoteObject.solve(new RemoteObject[] {_rescant10,BA.numberCast(double.class, _r55.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_COSTO_TOT"))))}, "+",1, 0);Debug.locals.put("rescant10", _rescant10); + BA.debugLineNum = 630;BA.debugLine="rescant10 = NumberFormat2(rescant10, 0, 2, 2, F"; +Debug.ShouldStop(2097152); +_rescant10 = BA.numberCast(double.class, c_principal.__c.runMethod(true,"NumberFormat2",(Object)(_rescant10),(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"))));Debug.locals.put("rescant10", _rescant10); + BA.debugLineNum = 631;BA.debugLine="pztotal = pztotal + r55.GetString(\"HVD_CANT\")"; +Debug.ShouldStop(4194304); +_pztotal = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_pztotal,BA.numberCast(double.class, _r55.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT"))))}, "+",1, 0));Debug.locals.put("pztotal", _pztotal); + } +}Debug.locals.put("r75", _r75); +; + }; + BA.debugLineNum = 634;BA.debugLine="Log(rescant10)"; +Debug.ShouldStop(33554432); +c_principal.__c.runVoidMethod ("LogImpl","814287278",BA.NumberToString(_rescant10),0); + BA.debugLineNum = 635;BA.debugLine="r55.Close"; +Debug.ShouldStop(67108864); +_r55.runVoidMethod ("Close"); + BA.debugLineNum = 648;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s"; +Debug.ShouldStop(128); +_r5 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_r5 = 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 IFNULL(SUM(PE_COSTO_TOT),0) AS PE_COSTO_TOT, IFNULL(SUM(PE_CANT),0) AS PE_CANT from PEDIDO ")))));Debug.locals.put("r5", _r5);Debug.locals.put("r5", _r5); + BA.debugLineNum = 649;BA.debugLine="Private pztotal2 As Int"; +Debug.ShouldStop(256); +_pztotal2 = RemoteObject.createImmutable(0);Debug.locals.put("pztotal2", _pztotal2); + BA.debugLineNum = 650;BA.debugLine="Private rescant11 As Double"; +Debug.ShouldStop(512); +_rescant11 = RemoteObject.createImmutable(0);Debug.locals.put("rescant11", _rescant11); + BA.debugLineNum = 651;BA.debugLine="If r5.RowCount > 0 Then"; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean(">",_r5.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 652;BA.debugLine="r5.Position = 0"; +Debug.ShouldStop(2048); +_r5.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 653;BA.debugLine="rescant11 = r5.GetString(\"PE_COSTO_TOT\")"; +Debug.ShouldStop(4096); +_rescant11 = BA.numberCast(double.class, _r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_TOT"))));Debug.locals.put("rescant11", _rescant11); + BA.debugLineNum = 654;BA.debugLine="pztotal2 = pztotal2 + r5.GetString(\"PE_CANT\")"; +Debug.ShouldStop(8192); +_pztotal2 = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_pztotal2,BA.numberCast(double.class, _r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))))}, "+",1, 0));Debug.locals.put("pztotal2", _pztotal2); + }; + BA.debugLineNum = 656;BA.debugLine="Log(rescant11)"; +Debug.ShouldStop(32768); +c_principal.__c.runVoidMethod ("LogImpl","814287300",BA.NumberToString(_rescant11),0); + BA.debugLineNum = 657;BA.debugLine="r5.Close"; +Debug.ShouldStop(65536); +_r5.runVoidMethod ("Close"); + BA.debugLineNum = 659;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s"; +Debug.ShouldStop(262144); +_r5 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_r5 = 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 IFNULL(HVD_COSTO_TOT,0) AS HVD_COSTO_TOT, IFNULL(HVD_CANT,0) AS HVD_CANT, IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT, HVD_PROID, HVD_CLIENTE, CONSECUTIVO from HIST_VENTAS where HVD_RECHAZO = '1' and BCAJAS = '0' AND HVD_CLIENTE IN (SELECT CAT_CL_CODIGO from kmt_info WHERE gestion = 2) ")))));Debug.locals.put("r5", _r5);Debug.locals.put("r5", _r5); + BA.debugLineNum = 660;BA.debugLine="Private pztotal3 As Int"; +Debug.ShouldStop(524288); +_pztotal3 = RemoteObject.createImmutable(0);Debug.locals.put("pztotal3", _pztotal3); + BA.debugLineNum = 661;BA.debugLine="Private rescant12 As Double"; +Debug.ShouldStop(1048576); +_rescant12 = RemoteObject.createImmutable(0);Debug.locals.put("rescant12", _rescant12); + BA.debugLineNum = 662;BA.debugLine="If r5.RowCount > 0 Then"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean(">",_r5.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 663;BA.debugLine="For j4 = 0 To r5.RowCount -1"; +Debug.ShouldStop(4194304); +{ +final int step313 = 1; +final int limit313 = RemoteObject.solve(new RemoteObject[] {_r5.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_j4 = 0 ; +for (;(step313 > 0 && _j4 <= limit313) || (step313 < 0 && _j4 >= limit313) ;_j4 = ((int)(0 + _j4 + step313)) ) { +Debug.locals.put("j4", _j4); + BA.debugLineNum = 664;BA.debugLine="r5.Position = j4"; +Debug.ShouldStop(8388608); +_r5.runMethod(true,"setPosition",BA.numberCast(int.class, _j4)); + BA.debugLineNum = 665;BA.debugLine="Private r6 As Cursor = Starter.skmt.ExecQuery($"; +Debug.ShouldStop(16777216); +_r6 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_r6 = 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 IFNULL(SUM(PE_CANT),0) AS PE_CANT from PEDIDO where PE_CLIENTEOR = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CLIENTE")))))),RemoteObject.createImmutable("' AND PE_PROID = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID")))))),RemoteObject.createImmutable("' AND CONSECUTIVO = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CONSECUTIVO")))))),RemoteObject.createImmutable("' "))))));Debug.locals.put("r6", _r6);Debug.locals.put("r6", _r6); + BA.debugLineNum = 666;BA.debugLine="r6.Position = 0"; +Debug.ShouldStop(33554432); +_r6.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 667;BA.debugLine="LogColor(r5.GetString(\"HVD_COSTO_TOT\")&\" / \"& r"; +Debug.ShouldStop(67108864); +c_principal.__c.runVoidMethod ("LogImpl","814287311",RemoteObject.concat(_r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_COSTO_TOT"))),RemoteObject.createImmutable(" / "),_r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT"))),RemoteObject.createImmutable(" * "),_r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))),RemoteObject.createImmutable(" - "),_r6.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))),c_principal.__c.getField(false,"Colors").getField(true,"Blue")); + BA.debugLineNum = 668;BA.debugLine="LogColor(r6.GetString(\"PE_CANT\"),Colors.Blue)"; +Debug.ShouldStop(134217728); +c_principal.__c.runVoidMethod ("LogImpl","814287312",_r6.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))),c_principal.__c.getField(false,"Colors").getField(true,"Blue")); + BA.debugLineNum = 669;BA.debugLine="rescant12 = rescant12 + ((r5.GetString(\"HVD_COS"; +Debug.ShouldStop(268435456); +_rescant12 = RemoteObject.solve(new RemoteObject[] {_rescant12,(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_COSTO_TOT")))),BA.numberCast(double.class, (_r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))))}, "/",0, 0)),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, _r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0))}, "*",0, 0))}, "+",1, 0);Debug.locals.put("rescant12", _rescant12); + BA.debugLineNum = 670;BA.debugLine="pztotal3 = pztotal3 + (r5.GetString(\"HVD_CANT\""; +Debug.ShouldStop(536870912); +_pztotal3 = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_pztotal3,(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, _r5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))}, "-",1, 0))}, "+",1, 0));Debug.locals.put("pztotal3", _pztotal3); + BA.debugLineNum = 671;BA.debugLine="Log(rescant12)"; +Debug.ShouldStop(1073741824); +c_principal.__c.runVoidMethod ("LogImpl","814287315",BA.NumberToString(_rescant12),0); + BA.debugLineNum = 672;BA.debugLine="r6.Close"; +Debug.ShouldStop(-2147483648); +_r6.runVoidMethod ("Close"); + } +}Debug.locals.put("j4", _j4); +; + }; + BA.debugLineNum = 675;BA.debugLine="If rescant12 = \"NaN\" Then rescant12 = 0"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean("=",_rescant12,BA.numberCast(double.class, "NaN"))) { +_rescant12 = BA.numberCast(double.class, 0);Debug.locals.put("rescant12", _rescant12);}; + BA.debugLineNum = 676;BA.debugLine="LogColor(rescant12,Colors.Red)"; +Debug.ShouldStop(8); +c_principal.__c.runVoidMethod ("LogImpl","814287320",BA.NumberToString(_rescant12),c_principal.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 677;BA.debugLine="r5.Close"; +Debug.ShouldStop(16); +_r5.runVoidMethod ("Close"); + BA.debugLineNum = 680;BA.debugLine="Private restafaltante As Cursor = Starter.skmt.Ex"; +Debug.ShouldStop(128); +_restafaltante = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_restafaltante = 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 IFNULL(SUM(PE_COSTO_TOT),0) AS PE_COSTO_TOT from PEDIDO where PE_CLIENTEOR = '' AND PE_TIPO = 'FALTANTE'")))));Debug.locals.put("restafaltante", _restafaltante);Debug.locals.put("restafaltante", _restafaltante); + BA.debugLineNum = 682;BA.debugLine="Private rescant8 As Double = 0"; +Debug.ShouldStop(512); +_rescant8 = BA.numberCast(double.class, 0);Debug.locals.put("rescant8", _rescant8);Debug.locals.put("rescant8", _rescant8); + BA.debugLineNum = 684;BA.debugLine="If restafaltante.RowCount > 0 Then"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean(">",_restafaltante.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 685;BA.debugLine="restafaltante.Position = 0"; +Debug.ShouldStop(4096); +_restafaltante.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 686;BA.debugLine="rescant8 = NumberFormat2(restafaltante.GetDouble"; +Debug.ShouldStop(8192); +_rescant8 = BA.numberCast(double.class, c_principal.__c.runMethod(true,"NumberFormat2",(Object)(_restafaltante.runMethod(true,"GetDouble",(Object)(RemoteObject.createImmutable("PE_COSTO_TOT")))),(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"))));Debug.locals.put("rescant8", _rescant8); + }; + BA.debugLineNum = 688;BA.debugLine="If rescant8 = \"NaN\" Then rescant8 = 0"; +Debug.ShouldStop(32768); +if (RemoteObject.solveBoolean("=",_rescant8,BA.numberCast(double.class, "NaN"))) { +_rescant8 = BA.numberCast(double.class, 0);Debug.locals.put("rescant8", _rescant8);}; + BA.debugLineNum = 689;BA.debugLine="Log(rescant8)"; +Debug.ShouldStop(65536); +c_principal.__c.runVoidMethod ("LogImpl","814287333",BA.NumberToString(_rescant8),0); + BA.debugLineNum = 690;BA.debugLine="r5.Close"; +Debug.ShouldStop(131072); +_r5.runVoidMethod ("Close"); + BA.debugLineNum = 692;BA.debugLine="l_rechazo.text = NumberFormat2((rescant + rescant"; +Debug.ShouldStop(524288); +__ref.getField(false,"_l_rechazo" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _rescant),_rescant2}, "+",1, 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"))))); + BA.debugLineNum = 693;BA.debugLine="L_MONTOE.Text = NumberFormat2((rescant3 + rescant"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_l_montoe" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {_rescant3,_rescant4,_rescant5,_rescant6,_rescant7}, "++++",4, 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"))))); + BA.debugLineNum = 694;BA.debugLine="Log((rescant3 &\" + \"& rescant4 &\" + \"& re"; +Debug.ShouldStop(2097152); +c_principal.__c.runVoidMethod ("LogImpl","814287338",(RemoteObject.concat(_rescant3,RemoteObject.createImmutable(" + "),_rescant4,RemoteObject.createImmutable(" + "),_rescant5,RemoteObject.createImmutable(" + "),_rescant6,RemoteObject.createImmutable(" + "),_rescant7)),0); + BA.debugLineNum = 697;BA.debugLine="Dim g8 As Cursor = Starter.skmt.ExecQuery(\"SELECT"; +Debug.ShouldStop(16777216); +_g8 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_g8 = 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 IFNULL(SUM(HVD_COSTO_TOT),0) AS HVD_COSTO_TOT FROM HIST_VENTAS"))));Debug.locals.put("g8", _g8);Debug.locals.put("g8", _g8); + BA.debugLineNum = 698;BA.debugLine="g8.Position = 0"; +Debug.ShouldStop(33554432); +_g8.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 699;BA.debugLine="Dim g11 As Cursor = Starter.skmt.ExecQuery(\"SELEC"; +Debug.ShouldStop(67108864); +_g11 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_g11 = 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_info where gestion <> 0"))));Debug.locals.put("g11", _g11);Debug.locals.put("g11", _g11); + BA.debugLineNum = 700;BA.debugLine="g11.Position = 0"; +Debug.ShouldStop(134217728); +_g11.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 701;BA.debugLine="Dim g12 As Cursor = Starter.skmt.ExecQuery(\"SELEC"; +Debug.ShouldStop(268435456); +_g12 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_g12 = 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_info where gestion = 2"))));Debug.locals.put("g12", _g12);Debug.locals.put("g12", _g12); + BA.debugLineNum = 702;BA.debugLine="g12.Position = 0"; +Debug.ShouldStop(536870912); +_g12.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 703;BA.debugLine="Dim g13 As Cursor = Starter.skmt.ExecQuery(\"SELEC"; +Debug.ShouldStop(1073741824); +_g13 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_g13 = 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_info where gestion = 3"))));Debug.locals.put("g13", _g13);Debug.locals.put("g13", _g13); + BA.debugLineNum = 704;BA.debugLine="g13.Position = 0"; +Debug.ShouldStop(-2147483648); +_g13.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 706;BA.debugLine="B4XPages.MainPage.monto_entregadoactual = Number"; +Debug.ShouldStop(2); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_monto_entregadoactual" /*RemoteObject*/ ,c_principal.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {_rescant10,_rescant11,_rescant12}, "++",2, 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")))); + BA.debugLineNum = 708;BA.debugLine="B4XPages.MainPage.clientesVisitados = L_MONTOE.Te"; +Debug.ShouldStop(8); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_clientesvisitados" /*RemoteObject*/ ,__ref.getField(false,"_l_montoe" /*RemoteObject*/ ).runMethod(true,"getText")); + BA.debugLineNum = 709;BA.debugLine="B4XPages.MainPage.clientesVenta = l_cuantosc.Text"; +Debug.ShouldStop(16); +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 = 710;BA.debugLine="B4XPages.MainPage.clientesRechazo = l_cuantosn.Te"; +Debug.ShouldStop(32); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_clientesrechazo" /*RemoteObject*/ ,__ref.getField(false,"_l_cuantosn" /*RemoteObject*/ ).runMethod(true,"getText")); + BA.debugLineNum = 711;BA.debugLine="B4XPages.MainPage.clientestotal = l_porvisitar.Te"; +Debug.ShouldStop(64); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_clientestotal" /*RemoteObject*/ ,__ref.getField(false,"_l_porvisitar" /*RemoteObject*/ ).runMethod(true,"getText")); + BA.debugLineNum = 712;BA.debugLine="B4XPages.MainPage.montoActual = Round2(g8.GetStr"; +Debug.ShouldStop(128); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_montoactual" /*RemoteObject*/ ,BA.NumberToString(c_principal.__c.runMethod(true,"Round2",(Object)(BA.numberCast(double.class, _g8.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_COSTO_TOT"))))),(Object)(BA.numberCast(int.class, 2))))); + BA.debugLineNum = 713;BA.debugLine="B4XPages.MainPage.porVisitar = l_ctast.text"; +Debug.ShouldStop(256); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_porvisitar" /*RemoteObject*/ ,__ref.getField(false,"_l_ctast" /*RemoteObject*/ ).runMethod(true,"getText")); + BA.debugLineNum = 714;BA.debugLine="B4XPages.MainPage.visitadostotales = g11.GetStrin"; +Debug.ShouldStop(512); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_visitadostotales" /*RemoteObject*/ ,_g11.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("cuenta")))); + BA.debugLineNum = 716;BA.debugLine="B4XPages.MainPage.entregas = g12.GetString(\"cuent"; +Debug.ShouldStop(2048); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_entregas" /*RemoteObject*/ ,_g12.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("cuenta")))); + BA.debugLineNum = 717;BA.debugLine="B4XPages.MainPage.rechazos = g13.GetString(\"cuent"; +Debug.ShouldStop(4096); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_rechazos" /*RemoteObject*/ ,_g13.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("cuenta")))); + BA.debugLineNum = 718;BA.debugLine="B4XPages.MainPage.montoEntregado = L_MONTOE.text"; +Debug.ShouldStop(8192); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_montoentregado" /*RemoteObject*/ ,__ref.getField(false,"_l_montoe" /*RemoteObject*/ ).runMethod(true,"getText")); + BA.debugLineNum = 719;BA.debugLine="B4XPages.MainPage.montoRechazado = l_rechazo.text"; +Debug.ShouldStop(16384); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_montorechazado" /*RemoteObject*/ ,__ref.getField(false,"_l_rechazo" /*RemoteObject*/ ).runMethod(true,"getText")); + BA.debugLineNum = 721;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.serve"; +Debug.ShouldStop(65536); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref),(Object)(c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_server" /*RemoteObject*/ ))); + BA.debugLineNum = 724;BA.debugLine="If l_ctast.Text = 0 And l_porvisitar.Text <> 0 Th"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_l_ctast" /*RemoteObject*/ ).runMethod(true,"getText"),BA.NumberToString(0)) && RemoteObject.solveBoolean("!",__ref.getField(false,"_l_porvisitar" /*RemoteObject*/ ).runMethod(true,"getText"),BA.NumberToString(0))) { + BA.debugLineNum = 725;BA.debugLine="Label9.Visible = True"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_label9" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 726;BA.debugLine="L_MONTOE.Visible = True"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_l_montoe" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 735;BA.debugLine="b_venta_emp.Visible = True"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_b_venta_emp" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + }else { + BA.debugLineNum = 737;BA.debugLine="Label9.Visible = False '''' PRUEBAS MOVER A FAL"; +Debug.ShouldStop(1); +__ref.getField(false,"_label9" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 738;BA.debugLine="L_MONTOE.Visible = False"; +Debug.ShouldStop(2); +__ref.getField(false,"_l_montoe" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 739;BA.debugLine="b_venta_emp.Visible = False"; +Debug.ShouldStop(4); +__ref.getField(false,"_b_venta_emp" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + }; + BA.debugLineNum = 742;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 = 743;BA.debugLine="b_imp_inventario.Visible = False"; +Debug.ShouldStop(64); +__ref.getField(false,"_b_imp_inventario" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + }else { + BA.debugLineNum = 745;BA.debugLine="b_imp_inventario.Visible = True"; +Debug.ShouldStop(256); +__ref.getField(false,"_b_imp_inventario" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + }; + BA.debugLineNum = 753;BA.debugLine="c = Starter.skmt.ExecQuery2(\"select CAT_VA_VALOR"; +Debug.ShouldStop(65536); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._starter._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 = 754;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 = 755;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(262144); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 756;BA.debugLine="Starter.MAC_IMPRESORA = c.GetString(\"CAT_VA_VALO"; +Debug.ShouldStop(524288); +c_principal._starter._mac_impresora /*RemoteObject*/ = __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_VA_VALOR"))); + }; + BA.debugLineNum = 758;BA.debugLine="If Starter.MAC_IMPRESORA = \"\" Then Starter.MAC_IM"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean("=",c_principal._starter._mac_impresora /*RemoteObject*/ ,BA.ObjectToString(""))) { +c_principal._starter._mac_impresora /*RemoteObject*/ = BA.ObjectToString("0");}; + BA.debugLineNum = 760;BA.debugLine="Printer1.Initialize(Me, \"Printer1\")"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref),(Object)(RemoteObject.createImmutable("Printer1"))); + BA.debugLineNum = 761;BA.debugLine="If Printer1.IsConnected = False Then"; +Debug.ShouldStop(16777216); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_isconnected" /*RemoteObject*/ ),c_principal.__c.getField(true,"False"))) { + }else { + BA.debugLineNum = 765;BA.debugLine="Printer1.DisConnect"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_disconnect" /*RemoteObject*/ ); + BA.debugLineNum = 766;BA.debugLine="Printer1.Connect"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_connect" /*RemoteObject*/ ); + BA.debugLineNum = 767;BA.debugLine="Log(\"2\")"; +Debug.ShouldStop(1073741824); +c_principal.__c.runVoidMethod ("LogImpl","814287411",RemoteObject.createImmutable("2"),0); + }; + BA.debugLineNum = 771;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_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,2218); +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(reparto_izca.keymon.lat.c_principal parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +reparto_izca.keymon.lat.c_principal parent; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_CloseRequest (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,2218); +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 = 2220;BA.debugLine="If Panel1.visible Then"; +Debug.ShouldStop(2048); +if (true) break; + +case 1: +//if +this.state = 10; +if (__ref.getField(false,"_panel1" /*RemoteObject*/ ).runMethod(true,"getVisible").get().booleanValue()) { +this.state = 3; +}else +{ BA.debugLineNum = 2223;BA.debugLine="Else If P_CIEGO.Visible Then"; +Debug.ShouldStop(16384); +if (__ref.getField(false,"_p_ciego" /*RemoteObject*/ ).runMethod(true,"getVisible").get().booleanValue()) { +this.state = 5; +}else +{ BA.debugLineNum = 2225;BA.debugLine="Else If p_prod.Visible Then"; +Debug.ShouldStop(65536); +if (__ref.getField(false,"_p_prod" /*RemoteObject*/ ).runMethod(true,"getVisible").get().booleanValue()) { +this.state = 7; +}else { +this.state = 9; +}}} +if (true) break; + +case 3: +//C +this.state = 10; + BA.debugLineNum = 2221;BA.debugLine="Log(\"PANEL1 VISIBLE\")"; +Debug.ShouldStop(4096); +parent.__c.runVoidMethod ("LogImpl","814942211",RemoteObject.createImmutable("PANEL1 VISIBLE"),0); + BA.debugLineNum = 2222;BA.debugLine="B_REGRESA_Click"; +Debug.ShouldStop(8192); +__ref.runClassMethod (reparto_izca.keymon.lat.c_principal.class, "_b_regresa_click" /*RemoteObject*/ ); + if (true) break; + +case 5: +//C +this.state = 10; + BA.debugLineNum = 2224;BA.debugLine="P_CIEGO.Visible = False"; +Debug.ShouldStop(32768); +__ref.getField(false,"_p_ciego" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + if (true) break; + +case 7: +//C +this.state = 10; + BA.debugLineNum = 2226;BA.debugLine="p_prod.Visible = False"; +Debug.ShouldStop(131072); +__ref.getField(false,"_p_prod" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + if (true) break; + +case 9: +//C +this.state = 10; + BA.debugLineNum = 2228;BA.debugLine="B4XPages.ShowPage(\"Login\")"; +Debug.ShouldStop(524288); +parent._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Login"))); + if (true) break; + +case 10: +//C +this.state = -1; +; + BA.debugLineNum = 2231;BA.debugLine="Return False"; +Debug.ShouldStop(4194304); +if (true) { +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(parent.__c.getField(true,"False")));return;}; + BA.debugLineNum = 2232;BA.debugLine="End Sub"; +Debug.ShouldStop(8388608); +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",11,__ref.getField(false, "ba"),__ref,140); +if (RapidSub.canDelegate("b4xpage_created")) { return __ref.runUserSub(false, "c_principal","b4xpage_created", __ref, _root1);} +Debug.locals.put("Root1", _root1); + BA.debugLineNum = 140;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +Debug.ShouldStop(2048); + BA.debugLineNum = 141;BA.debugLine="Root = Root1"; +Debug.ShouldStop(4096); +__ref.setField ("_root" /*RemoteObject*/ ,_root1); + BA.debugLineNum = 143;BA.debugLine="Root.LoadLayout(\"principal\")"; +Debug.ShouldStop(16384); +__ref.getField(false,"_root" /*RemoteObject*/ ).runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("principal")),__ref.getField(false, "ba")); + BA.debugLineNum = 144;BA.debugLine="EJECUTANDO=1"; +Debug.ShouldStop(32768); +__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(1)); + BA.debugLineNum = 145;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.serve"; +Debug.ShouldStop(65536); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref),(Object)(c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_server" /*RemoteObject*/ ))); + BA.debugLineNum = 148;BA.debugLine="img2.Visible =False"; +Debug.ShouldStop(524288); +__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 149;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(1048576); +c_principal.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 150;BA.debugLine="fecha=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(2097152); +__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 = 152;BA.debugLine="b=Starter.skmt.ExecQuery(\"Select count(*) as CUAN"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_b" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select count(*) as CUANTOS from pedido_cliente")))); + BA.debugLineNum = 153;BA.debugLine="b.Position=0"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 154;BA.debugLine="Cuantos = b.GetString(\"CUANTOS\")"; +Debug.ShouldStop(33554432); +__ref.setField ("_cuantos" /*RemoteObject*/ ,__ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS")))); + BA.debugLineNum = 155;BA.debugLine="d=Starter.skmt.ExecQuery(\"select count(*) as TOTA"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select count(*) as TOTAL_VISITAR from kmt_info where gestion = 0 AND CAT_CL_RUTA <> 1000")))); + BA.debugLineNum = 156;BA.debugLine="D.Position=0"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 157;BA.debugLine="b.Close"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_b" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 158;BA.debugLine="e=Starter.skmt.ExecQuery(\"select count(*) as POR_"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_e" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select count(*) as POR_VISITAR from kmt_info WHERE CAT_CL_RUTA <> 1000")))); + BA.debugLineNum = 159;BA.debugLine="e.Position=0"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_e" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 160;BA.debugLine="If Cuantos = 0 Then"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_cuantos" /*RemoteObject*/ ),BA.NumberToString(0))) { + BA.debugLineNum = 161;BA.debugLine="l_aLiquidar.Text = 0"; +Debug.ShouldStop(1); +__ref.getField(false,"_l_aliquidar" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + BA.debugLineNum = 162;BA.debugLine="l_cuantosc.Text = 0"; +Debug.ShouldStop(2); +__ref.getField(false,"_l_cuantosc" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + BA.debugLineNum = 163;BA.debugLine="l_cuantosn.Text = 0"; +Debug.ShouldStop(4); +__ref.getField(false,"_l_cuantosn" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + BA.debugLineNum = 164;BA.debugLine="drop = 0"; +Debug.ShouldStop(8); +__ref.setField ("_drop" /*RemoteObject*/ ,BA.numberCast(double.class, 0)); + BA.debugLineNum = 165;BA.debugLine="l_montoSalida.Text = 0"; +Debug.ShouldStop(16); +__ref.getField(false,"_l_montosalida" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + BA.debugLineNum = 166;BA.debugLine="efectiva = 0"; +Debug.ShouldStop(32); +__ref.setField ("_efectiva" /*RemoteObject*/ ,BA.numberCast(double.class, 0)); + BA.debugLineNum = 168;BA.debugLine="l_ctast.Text = d.GetString(\"TOTAL_VISITAR\")"; +Debug.ShouldStop(128); +__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 = 169;BA.debugLine="l_porvisitar.Text = e.GetString(\"POR_VISITAR\")"; +Debug.ShouldStop(256); +__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 = 188;BA.debugLine="b=Starter.skmt.ExecQuery(\"select id_almacen from"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_b" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select id_almacen from CAT_ALMACEN")))); + BA.debugLineNum = 189;BA.debugLine="If b.RowCount > 0 Then"; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 191;BA.debugLine="b.Position = 0"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 193;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(1); +c_principal._cmd = RemoteObject.createNew ("reparto_izca.keymon.lat.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd); + BA.debugLineNum = 194;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(2); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 195;BA.debugLine="cmd.Name = \"select_coords_almacen_mards\""; +Debug.ShouldStop(4); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_coords_almacen_mards")); + BA.debugLineNum = 196;BA.debugLine="cmd.Parameters = Array As Object(b.GetString(\"ID"; +Debug.ShouldStop(8); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ID_ALMACEN"))))})); + BA.debugLineNum = 197;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"coords_almacen"; +Debug.ShouldStop(16); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("coords_almacen")))); + }; + BA.debugLineNum = 199;BA.debugLine="B4XPages.MainPage.usuario=Subs.dameUsuarioDeDB"; +Debug.ShouldStop(64); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_usuario" /*RemoteObject*/ ,c_principal._subs.runMethod(true,"_dameusuariodedb" /*RemoteObject*/ ,__ref.getField(false, "ba"))); + BA.debugLineNum = 200;BA.debugLine="btAdmin.Initialize(\"BlueTeeth\")"; +Debug.ShouldStop(128); +__ref.getField(false,"_btadmin" /*RemoteObject*/ ).runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("BlueTeeth"))); + BA.debugLineNum = 201;BA.debugLine="cmp20.Initialize(\"Printer\")"; +Debug.ShouldStop(256); +__ref.getField(false,"_cmp20" /*RemoteObject*/ ).runVoidMethod ("Initialize",(Object)(RemoteObject.createImmutable("Printer"))); + 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 _btn_ubicar_ru_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Btn_Ubicar_Ru_Click (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,2585); +if (RapidSub.canDelegate("btn_ubicar_ru_click")) { return __ref.runUserSub(false, "c_principal","btn_ubicar_ru_click", __ref);} + BA.debugLineNum = 2585;BA.debugLine="Sub Btn_Ubicar_Ru_Click"; +Debug.ShouldStop(16777216); + BA.debugLineNum = 2586;BA.debugLine="If b_check.Visible = True Then"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_b_check" /*RemoteObject*/ ).runMethod(true,"getVisible"),c_principal.__c.getField(true,"True"))) { + BA.debugLineNum = 2587;BA.debugLine="MsgboxAsync(\"Favor de hacer el checklist.\",\"Aten"; +Debug.ShouldStop(67108864); +c_principal.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Favor de hacer el checklist.")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + }else { + BA.debugLineNum = 2590;BA.debugLine="StartActivity(MAPA_RUTAS)"; +Debug.ShouldStop(536870912); +c_principal.__c.runVoidMethod ("StartActivity",__ref.getField(false, "ba"),(Object)((c_principal._mapa_rutas.getObject()))); + }; + BA.debugLineNum = 2592;BA.debugLine="End Sub"; +Debug.ShouldStop(-2147483648); +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",11,__ref.getField(false, "ba"),__ref,2261); +if (RapidSub.canDelegate("busca_click")) { return __ref.runUserSub(false, "c_principal","busca_click", __ref);} + BA.debugLineNum = 2261;BA.debugLine="Sub BUSCA_Click"; +Debug.ShouldStop(1048576); + BA.debugLineNum = 2262;BA.debugLine="If b_check.Visible = True Then"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_b_check" /*RemoteObject*/ ).runMethod(true,"getVisible"),c_principal.__c.getField(true,"True"))) { + BA.debugLineNum = 2263;BA.debugLine="MsgboxAsync(\"Favor de hacer el checklist.\",\"Aten"; +Debug.ShouldStop(4194304); +c_principal.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Favor de hacer el checklist.")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + }else { + BA.debugLineNum = 2266;BA.debugLine="B4XPages.ShowPage(\"Buscar\")"; +Debug.ShouldStop(33554432); +c_principal._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Buscar"))); + }; + BA.debugLineNum = 2268;BA.debugLine="End Sub"; +Debug.ShouldStop(134217728); +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",11,__ref.getField(false, "ba"),__ref,1402); +if (RapidSub.canDelegate("cargar____click")) { return __ref.runUserSub(false, "c_principal","cargar____click", __ref);} +RemoteObject _pedidodiaanterior = RemoteObject.createImmutable(false); +RemoteObject _fecha2 = null; +RemoteObject _fecha3 = null; +RemoteObject _dia = RemoteObject.createImmutable(""); +RemoteObject _dia2 = RemoteObject.createImmutable(""); + BA.debugLineNum = 1402;BA.debugLine="Sub cargar____Click"; +Debug.ShouldStop(33554432); + BA.debugLineNum = 1403;BA.debugLine="Dim pedidodiaanterior As Boolean = False"; +Debug.ShouldStop(67108864); +_pedidodiaanterior = c_principal.__c.getField(true,"False");Debug.locals.put("pedidodiaanterior", _pedidodiaanterior);Debug.locals.put("pedidodiaanterior", _pedidodiaanterior); + BA.debugLineNum = 1404;BA.debugLine="Dim cp As Cursor = Starter.skmt.ExecQuery(\"select"; +Debug.ShouldStop(134217728); +c_principal._cp = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +c_principal._cp = 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 NOVENTA"))));__ref.setField("_cp",c_principal._cp); + BA.debugLineNum = 1405;BA.debugLine="If cp.RowCount > 0 Then"; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_cp" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1406;BA.debugLine="cp.Position = 0"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_cp" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1407;BA.debugLine="Private fecha As String = cp.GetString(\"NV_FECHA"; +Debug.ShouldStop(1073741824); +c_principal._fecha = __ref.getField(false,"_cp" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("NV_FECHA")));__ref.setField("_fecha",c_principal._fecha); + BA.debugLineNum = 1408;BA.debugLine="Log(cp.GetString(\"NV_FECHA\"))"; +Debug.ShouldStop(-2147483648); +c_principal.__c.runVoidMethod ("LogImpl","814811142",__ref.getField(false,"_cp" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("NV_FECHA"))),0); + BA.debugLineNum = 1409;BA.debugLine="Dim fecha2() As String = Regex.Split(\" \",fecha)"; +Debug.ShouldStop(1); +_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 = 1410;BA.debugLine="Log(fecha2(0))"; +Debug.ShouldStop(2); +c_principal.__c.runVoidMethod ("LogImpl","814811144",_fecha2.getArrayElement(true,BA.numberCast(int.class, 0)),0); + BA.debugLineNum = 1411;BA.debugLine="Dim fecha3() As String = Regex.Split(\"/\",fecha2("; +Debug.ShouldStop(4); +_fecha3 = c_principal.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString("/")),(Object)(_fecha2.getArrayElement(true,BA.numberCast(int.class, 0))));Debug.locals.put("fecha3", _fecha3);Debug.locals.put("fecha3", _fecha3); + BA.debugLineNum = 1412;BA.debugLine="DateTime.DateFormat = \"yyyyMMdd\""; +Debug.ShouldStop(8); +c_principal.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("yyyyMMdd")); + BA.debugLineNum = 1413;BA.debugLine="DateTime.TimeFormat = \"\""; +Debug.ShouldStop(16); +c_principal.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("")); + BA.debugLineNum = 1414;BA.debugLine="Dim dia As String = fecha3(2)&fecha3(0)&fecha3(1"; +Debug.ShouldStop(32); +_dia = RemoteObject.concat(_fecha3.getArrayElement(true,BA.numberCast(int.class, 2)),_fecha3.getArrayElement(true,BA.numberCast(int.class, 0)),_fecha3.getArrayElement(true,BA.numberCast(int.class, 1)));Debug.locals.put("dia", _dia);Debug.locals.put("dia", _dia); + BA.debugLineNum = 1415;BA.debugLine="Log(dia)"; +Debug.ShouldStop(64); +c_principal.__c.runVoidMethod ("LogImpl","814811149",_dia,0); + BA.debugLineNum = 1416;BA.debugLine="Dim dia2 As String = DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(128); +_dia2 = c_principal.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(c_principal.__c.getField(false,"DateTime").runMethod(true,"getNow")));Debug.locals.put("dia2", _dia2);Debug.locals.put("dia2", _dia2); + BA.debugLineNum = 1417;BA.debugLine="Log(dia & \" , \" & dia2)"; +Debug.ShouldStop(256); +c_principal.__c.runVoidMethod ("LogImpl","814811151",RemoteObject.concat(_dia,RemoteObject.createImmutable(" , "),_dia2),0); + BA.debugLineNum = 1418;BA.debugLine="If dia < dia2 Then"; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean("<",BA.numberCast(double.class, _dia),BA.numberCast(double.class, _dia2))) { + BA.debugLineNum = 1419;BA.debugLine="pedidodiaanterior = True"; +Debug.ShouldStop(1024); +_pedidodiaanterior = c_principal.__c.getField(true,"True");Debug.locals.put("pedidodiaanterior", _pedidodiaanterior); + }; + }; + BA.debugLineNum = 1422;BA.debugLine="If Not (pedidodiaanterior) Then"; +Debug.ShouldStop(8192); +if (c_principal.__c.runMethod(true,"Not",(Object)(_pedidodiaanterior)).get().booleanValue()) { + BA.debugLineNum = 1423;BA.debugLine="Log(\"CUMPLE\")"; +Debug.ShouldStop(16384); +c_principal.__c.runVoidMethod ("LogImpl","814811157",RemoteObject.createImmutable("CUMPLE"),0); + BA.debugLineNum = 1424;BA.debugLine="EJECUTANDO = 1"; +Debug.ShouldStop(32768); +__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(1)); + BA.debugLineNum = 1425;BA.debugLine="reqs.Initialize"; +Debug.ShouldStop(65536); +__ref.getField(false,"_reqs" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1426;BA.debugLine="TOPE = 0"; +Debug.ShouldStop(131072); +__ref.setField ("_tope" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 1427;BA.debugLine="LogColor($\"ReqServer = ${B4XPages.MainPage.serve"; +Debug.ShouldStop(262144); +c_principal.__c.runVoidMethod ("LogImpl","814811161",(RemoteObject.concat(RemoteObject.createImmutable("ReqServer = "),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_server" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))),c_principal.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 1428;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.serv"; +Debug.ShouldStop(524288); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref),(Object)(c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_server" /*RemoteObject*/ ))); + BA.debugLineNum = 1430;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(2097152); +c_principal._cmd = RemoteObject.createNew ("reparto_izca.keymon.lat.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd); + BA.debugLineNum = 1431;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1432;BA.debugLine="cmd.Name = \"insert_drop_rep_IZCA2\""; +Debug.ShouldStop(8388608); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_drop_rep_IZCA2")); + BA.debugLineNum = 1433;BA.debugLine="cmd.Parameters = Array As Object(Subs.dameUsuari"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {8},new Object[] {(c_principal._subs.runMethod(true,"_dameusuariodedb" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_l_ctast" /*RemoteObject*/ ).runMethod(true,"getText")),(c_principal._subs.runMethod(false,"_traeentregados" /*RemoteObject*/ ,__ref.getField(false, "ba")).getObject()),(c_principal._subs.runMethod(false,"_traerechazados" /*RemoteObject*/ ,__ref.getField(false, "ba")).getObject()),RemoteObject.createImmutable(("CARGA")),(c_principal.__c.getField(false,"Application").runMethod(true,"getVersionName"))})); + BA.debugLineNum = 1434;BA.debugLine="reqManager.ExecuteCommand(cmd , \"inst_drop\")"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("inst_drop")))); + BA.debugLineNum = 1437;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from kmt_info\""; +Debug.ShouldStop(268435456); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from kmt_info"))); + BA.debugLineNum = 1438;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cod_resul"; +Debug.ShouldStop(536870912); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from cod_result"))); + BA.debugLineNum = 1439;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from hist_gest"; +Debug.ShouldStop(1073741824); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from hist_gest"))); + BA.debugLineNum = 1440;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CAT_DETAL"; +Debug.ShouldStop(-2147483648); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from CAT_DETALLES_PAQ"))); + BA.debugLineNum = 1441;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from telefonos"; +Debug.ShouldStop(1); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from telefonos"))); + BA.debugLineNum = 1443;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from PUNTEO_GP"; +Debug.ShouldStop(4); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from PUNTEO_GPS"))); + BA.debugLineNum = 1444;BA.debugLine="If l_ruta.Text = \"0\" Then '"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("0"))) { + BA.debugLineNum = 1445;BA.debugLine="Log(\"********************* No hay ruta, BORRAM"; +Debug.ShouldStop(16); +c_principal.__c.runVoidMethod ("LogImpl","814811179",RemoteObject.createImmutable("********************* No hay ruta, BORRAMOS TODO"),0); + BA.debugLineNum = 1446;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_guna"; +Debug.ShouldStop(32); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from cat_gunaprod"))); + BA.debugLineNum = 1447;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_guna"; +Debug.ShouldStop(64); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from cat_gunaprod3"))); + BA.debugLineNum = 1448;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from REPARTO\""; +Debug.ShouldStop(128); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from REPARTO"))); + BA.debugLineNum = 1449;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from HIST_VEN"; +Debug.ShouldStop(256); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from HIST_VENTAS"))); + BA.debugLineNum = 1450;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from HIST_VEN"; +Debug.ShouldStop(512); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from HIST_VENTAS2"))); + BA.debugLineNum = 1451;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from NOVENTA\""; +Debug.ShouldStop(1024); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from NOVENTA"))); + }else { + BA.debugLineNum = 1453;BA.debugLine="Log(\"********************* Hay ruta, NO BORRAM"; +Debug.ShouldStop(4096); +c_principal.__c.runVoidMethod ("LogImpl","814811187",RemoteObject.createImmutable("********************* Hay ruta, NO BORRAMOS TODO"),0); + }; + BA.debugLineNum = 1457;BA.debugLine="c=Starter.skmt.ExecQuery(\"select usuario from us"; +Debug.ShouldStop(65536); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select usuario from usuarioa")))); + BA.debugLineNum = 1458;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(131072); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1459;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 = 1461;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1462;BA.debugLine="cmd.Name = \"select_punteo_mards_re_REPG\""; +Debug.ShouldStop(2097152); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_punteo_mards_re_REPG")); + BA.debugLineNum = 1463;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(true,"_almacen" /*RemoteObject*/ ))})); + BA.debugLineNum = 1464;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"punteo\")"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("punteo")))); + BA.debugLineNum = 1465;BA.debugLine="Log($\"Pedimos Punteo\"$)"; +Debug.ShouldStop(16777216); +c_principal.__c.runVoidMethod ("LogImpl","814811199",(RemoteObject.createImmutable("Pedimos Punteo")),0); + BA.debugLineNum = 1466;BA.debugLine="reqs.Add(\"punteo\")"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_reqs" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("punteo")))); + BA.debugLineNum = 1469;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1470;BA.debugLine="cmd.Name = \"select_almacen_mards_re_REPG\""; +Debug.ShouldStop(536870912); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_almacen_mards_re_REPG")); + BA.debugLineNum = 1471;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 = 1472;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"gunaprod\")"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("gunaprod")))); + BA.debugLineNum = 1473;BA.debugLine="Log($\"Pedimos gunaprod - ${ALMACEN}, ${e_ruta.te"; +Debug.ShouldStop(1); +c_principal.__c.runVoidMethod ("LogImpl","814811207",(RemoteObject.concat(RemoteObject.createImmutable("Pedimos gunaprod - "),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_almacen" /*RemoteObject*/ )))),RemoteObject.createImmutable(", "),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText")))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 1474;BA.debugLine="reqs.Add(\"gunaprod\")"; +Debug.ShouldStop(2); +__ref.getField(false,"_reqs" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("gunaprod")))); + BA.debugLineNum = 1478;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(32); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1479;BA.debugLine="cmd.Name = \"select_cliente_mards_re_REPG\""; +Debug.ShouldStop(64); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cliente_mards_re_REPG")); + BA.debugLineNum = 1480;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[] {5},new Object[] {(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_almacen" /*RemoteObject*/ ))})); + BA.debugLineNum = 1481;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"kmt_datos\")"; +Debug.ShouldStop(256); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("kmt_datos")))); + BA.debugLineNum = 1482;BA.debugLine="Log($\"Pedimos kmt_datos\"$)"; +Debug.ShouldStop(512); +c_principal.__c.runVoidMethod ("LogImpl","814811216",(RemoteObject.createImmutable("Pedimos kmt_datos")),0); + BA.debugLineNum = 1483;BA.debugLine="reqs.Add(\"kmt_datos\")"; +Debug.ShouldStop(1024); +__ref.getField(false,"_reqs" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("kmt_datos")))); + BA.debugLineNum = 1485;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(4096); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1486;BA.debugLine="cmd.Name = \"select_ventad_mards_re_REPG\""; +Debug.ShouldStop(8192); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_ventad_mards_re_REPG")); + BA.debugLineNum = 1487;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; +Debug.ShouldStop(16384); +__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 = 1488;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"hist_datos\")"; +Debug.ShouldStop(32768); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("hist_datos")))); + BA.debugLineNum = 1489;BA.debugLine="Log($\"Pedimos hist_datos\"$)"; +Debug.ShouldStop(65536); +c_principal.__c.runVoidMethod ("LogImpl","814811223",(RemoteObject.createImmutable("Pedimos hist_datos")),0); + BA.debugLineNum = 1490;BA.debugLine="reqs.Add(\"hist_datos\")"; +Debug.ShouldStop(131072); +__ref.getField(false,"_reqs" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("hist_datos")))); + BA.debugLineNum = 1507;BA.debugLine="If ALMACEN = \"32\" Then"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_almacen" /*RemoteObject*/ ),BA.ObjectToString("32"))) { + BA.debugLineNum = 1508;BA.debugLine="ALMACEN = \"33\""; +Debug.ShouldStop(8); +__ref.setField ("_almacen" /*RemoteObject*/ ,BA.ObjectToString("33")); + BA.debugLineNum = 1509;BA.debugLine="cargo = 2"; +Debug.ShouldStop(16); +__ref.setField ("_cargo" /*RemoteObject*/ ,BA.NumberToString(2)); + BA.debugLineNum = 1510;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(32); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1511;BA.debugLine="cmd.Name = \"select_punteo_mards_re_REPG\""; +Debug.ShouldStop(64); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_punteo_mards_re_REPG")); + BA.debugLineNum = 1512;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, A"; +Debug.ShouldStop(128); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(true,"_almacen" /*RemoteObject*/ ))})); + BA.debugLineNum = 1513;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"punteo\")"; +Debug.ShouldStop(256); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("punteo")))); + BA.debugLineNum = 1514;BA.debugLine="reqs.Add(\"punteo\")"; +Debug.ShouldStop(512); +__ref.getField(false,"_reqs" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("punteo")))); + 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_almacen_mards_re_REPG\""; +Debug.ShouldStop(4096); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_almacen_mards_re_REPG")); + BA.debugLineNum = 1518;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_rut"; +Debug.ShouldStop(8192); +__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,"_almacen" /*RemoteObject*/ ))})); + BA.debugLineNum = 1519;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"gunaprod\")"; +Debug.ShouldStop(16384); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("gunaprod")))); + BA.debugLineNum = 1520;BA.debugLine="reqs.Add(\"gunaprod\")"; +Debug.ShouldStop(32768); +__ref.getField(false,"_reqs" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("gunaprod")))); + 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_cliente_mards_re_REPG\""; +Debug.ShouldStop(262144); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cliente_mards_re_REPG")); + BA.debugLineNum = 1524;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, A"; +Debug.ShouldStop(524288); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {5},new Object[] {(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_almacen" /*RemoteObject*/ ))})); + BA.debugLineNum = 1525;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"kmt_datos\")"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("kmt_datos")))); + BA.debugLineNum = 1526;BA.debugLine="reqs.Add(\"kmt_datos\")"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_reqs" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("kmt_datos")))); + BA.debugLineNum = 1528;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1529;BA.debugLine="cmd.Name = \"select_ventad_mards_re_REPG\""; +Debug.ShouldStop(16777216); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_ventad_mards_re_REPG")); + BA.debugLineNum = 1530;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, A"; +Debug.ShouldStop(33554432); +__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 = 1531;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"hist_datos\")"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("hist_datos")))); + BA.debugLineNum = 1532;BA.debugLine="reqs.Add(\"hist_datos\")"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_reqs" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("hist_datos")))); + }; + BA.debugLineNum = 1566;BA.debugLine="D=Starter.skmt.ExecQuery(\"SELECT COUNT(*) AS CUA"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT COUNT(*) AS CUANTOS_NOVENTA FROM NOVENTA")))); + BA.debugLineNum = 1567;BA.debugLine="d.Position=0"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1568;BA.debugLine="cuantos_noventa = D.GetString(\"CUANTOS_NOVENTA\")"; +Debug.ShouldStop(-2147483648); +__ref.setField ("_cuantos_noventa" /*RemoteObject*/ ,__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS_NOVENTA")))); + BA.debugLineNum = 1569;BA.debugLine="d.Close"; +Debug.ShouldStop(1); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1570;BA.debugLine="cargar.Visible = False"; +Debug.ShouldStop(2); +__ref.getField(false,"_cargar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 1571;BA.debugLine="Subir.Visible = False"; +Debug.ShouldStop(4); +__ref.getField(false,"_subir" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 1572;BA.debugLine="connecta.Visible = True"; +Debug.ShouldStop(8); +__ref.getField(false,"_connecta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 1573;BA.debugLine="inv.Visible = False"; +Debug.ShouldStop(16); +__ref.getField(false,"_inv" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 1574;BA.debugLine="ToastMessageShow(\"Se actualizarán los datos, est"; +Debug.ShouldStop(32); +c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Se actualizarán los datos, este proceso podria tardar hasta un minuto, gracias")),(Object)(c_principal.__c.getField(true,"True"))); + BA.debugLineNum = 1575;BA.debugLine="ProgressDialogShow2(\"Descargando rutas, espere u"; +Debug.ShouldStop(64); +c_principal.__c.runVoidMethod ("ProgressDialogShow2",__ref.getField(false, "ba"),(Object)(BA.ObjectToCharSequence("Descargando rutas, espere un momento.")),(Object)(c_principal.__c.getField(true,"False"))); + BA.debugLineNum = 1576;BA.debugLine="If Not(IsConnectedToInternet) Then MsgboxAsync(\""; +Debug.ShouldStop(128); +if (c_principal.__c.runMethod(true,"Not",(Object)(__ref.runClassMethod (reparto_izca.keymon.lat.c_principal.class, "_isconnectedtointernet" /*RemoteObject*/ ))).get().booleanValue()) { +c_principal.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("No hay conexión a Internet")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Revisa tu conexión"))),__ref.getField(false, "ba"));}; + }else { + BA.debugLineNum = 1580;BA.debugLine="Log(\"XXXX\")"; +Debug.ShouldStop(2048); +c_principal.__c.runVoidMethod ("LogImpl","814811314",RemoteObject.createImmutable("XXXX"),0); + BA.debugLineNum = 1581;BA.debugLine="MsgboxAsync(\"Para poder cargar día no puedes ten"; +Debug.ShouldStop(4096); +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 = 1584;BA.debugLine="End Sub"; +Debug.ShouldStop(32768); +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",11,__ref.getField(false, "ba"),__ref,1237); +if (RapidSub.canDelegate("cargar_click")) { return __ref.runUserSub(false, "c_principal","cargar_click", __ref);} +RemoteObject _pedidodiaanterior = RemoteObject.createImmutable(false); +RemoteObject _fecha2 = null; +RemoteObject _fecha3 = null; +RemoteObject _dia = RemoteObject.createImmutable(""); +RemoteObject _dia2 = RemoteObject.createImmutable(""); + BA.debugLineNum = 1237;BA.debugLine="Sub cargar_Click"; +Debug.ShouldStop(1048576); + BA.debugLineNum = 1238;BA.debugLine="Dim pedidodiaanterior As Boolean = False"; +Debug.ShouldStop(2097152); +_pedidodiaanterior = c_principal.__c.getField(true,"False");Debug.locals.put("pedidodiaanterior", _pedidodiaanterior);Debug.locals.put("pedidodiaanterior", _pedidodiaanterior); + BA.debugLineNum = 1239;BA.debugLine="Dim cp As Cursor = Starter.skmt.ExecQuery(\"select"; +Debug.ShouldStop(4194304); +c_principal._cp = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +c_principal._cp = 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 NOVENTA"))));__ref.setField("_cp",c_principal._cp); + BA.debugLineNum = 1240;BA.debugLine="If cp.RowCount > 0 Then"; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_cp" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1241;BA.debugLine="cp.Position = 0"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_cp" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1242;BA.debugLine="Private fecha As String = cp.GetString(\"NV_FECHA"; +Debug.ShouldStop(33554432); +c_principal._fecha = __ref.getField(false,"_cp" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("NV_FECHA")));__ref.setField("_fecha",c_principal._fecha); + BA.debugLineNum = 1243;BA.debugLine="Log(cp.GetString(\"NV_FECHA\"))"; +Debug.ShouldStop(67108864); +c_principal.__c.runVoidMethod ("LogImpl","814745606",__ref.getField(false,"_cp" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("NV_FECHA"))),0); + BA.debugLineNum = 1244;BA.debugLine="Dim fecha2() As String = Regex.Split(\" \",fecha)"; +Debug.ShouldStop(134217728); +_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 = 1245;BA.debugLine="Log(fecha2(0))"; +Debug.ShouldStop(268435456); +c_principal.__c.runVoidMethod ("LogImpl","814745608",_fecha2.getArrayElement(true,BA.numberCast(int.class, 0)),0); + BA.debugLineNum = 1246;BA.debugLine="Dim fecha3() As String = Regex.Split(\"/\",fecha2("; +Debug.ShouldStop(536870912); +_fecha3 = c_principal.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString("/")),(Object)(_fecha2.getArrayElement(true,BA.numberCast(int.class, 0))));Debug.locals.put("fecha3", _fecha3);Debug.locals.put("fecha3", _fecha3); + BA.debugLineNum = 1247;BA.debugLine="DateTime.DateFormat = \"yyyyMMdd\""; +Debug.ShouldStop(1073741824); +c_principal.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("yyyyMMdd")); + BA.debugLineNum = 1248;BA.debugLine="DateTime.TimeFormat = \"\""; +Debug.ShouldStop(-2147483648); +c_principal.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("")); + BA.debugLineNum = 1249;BA.debugLine="Dim dia As String = fecha3(2)&fecha3(0)&fecha3(1"; +Debug.ShouldStop(1); +_dia = RemoteObject.concat(_fecha3.getArrayElement(true,BA.numberCast(int.class, 2)),_fecha3.getArrayElement(true,BA.numberCast(int.class, 0)),_fecha3.getArrayElement(true,BA.numberCast(int.class, 1)));Debug.locals.put("dia", _dia);Debug.locals.put("dia", _dia); + BA.debugLineNum = 1250;BA.debugLine="Log(dia)"; +Debug.ShouldStop(2); +c_principal.__c.runVoidMethod ("LogImpl","814745613",_dia,0); + BA.debugLineNum = 1251;BA.debugLine="Dim dia2 As String = DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(4); +_dia2 = c_principal.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(c_principal.__c.getField(false,"DateTime").runMethod(true,"getNow")));Debug.locals.put("dia2", _dia2);Debug.locals.put("dia2", _dia2); + BA.debugLineNum = 1252;BA.debugLine="Log(dia & \" , \" & dia2)"; +Debug.ShouldStop(8); +c_principal.__c.runVoidMethod ("LogImpl","814745615",RemoteObject.concat(_dia,RemoteObject.createImmutable(" , "),_dia2),0); + BA.debugLineNum = 1253;BA.debugLine="If dia < dia2 Then"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean("<",BA.numberCast(double.class, _dia),BA.numberCast(double.class, _dia2))) { + BA.debugLineNum = 1254;BA.debugLine="pedidodiaanterior = True"; +Debug.ShouldStop(32); +_pedidodiaanterior = c_principal.__c.getField(true,"True");Debug.locals.put("pedidodiaanterior", _pedidodiaanterior); + }; + }; + BA.debugLineNum = 1257;BA.debugLine="If Not (pedidodiaanterior) Then"; +Debug.ShouldStop(256); +if (c_principal.__c.runMethod(true,"Not",(Object)(_pedidodiaanterior)).get().booleanValue()) { + BA.debugLineNum = 1258;BA.debugLine="P_carga.Visible = True"; +Debug.ShouldStop(512); +__ref.getField(false,"_p_carga" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 1259;BA.debugLine="P_carga.Width = Root.Width"; +Debug.ShouldStop(1024); +__ref.getField(false,"_p_carga" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth")); + BA.debugLineNum = 1260;BA.debugLine="P_carga.Height = Root.Height"; +Debug.ShouldStop(2048); +__ref.getField(false,"_p_carga" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight")); + BA.debugLineNum = 1261;BA.debugLine="l_carga2.Text = \"CARGANDO\""; +Debug.ShouldStop(4096); +__ref.getField(false,"_l_carga2" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("CARGANDO")); + BA.debugLineNum = 1262;BA.debugLine="L_carga.Text = \"CARGANDO\""; +Debug.ShouldStop(8192); +__ref.getField(false,"_l_carga" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("CARGANDO")); + BA.debugLineNum = 1263;BA.debugLine="PB_carga.Progress = 0"; +Debug.ShouldStop(16384); +__ref.getField(false,"_pb_carga" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1264;BA.debugLine="PB_carga2.Progress = 0"; +Debug.ShouldStop(32768); +__ref.getField(false,"_pb_carga2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1265;BA.debugLine="Log(\"CUMPLE\")"; +Debug.ShouldStop(65536); +c_principal.__c.runVoidMethod ("LogImpl","814745628",RemoteObject.createImmutable("CUMPLE"),0); + BA.debugLineNum = 1266;BA.debugLine="EJECUTANDO = 1"; +Debug.ShouldStop(131072); +__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(1)); + BA.debugLineNum = 1267;BA.debugLine="reqs.Initialize"; +Debug.ShouldStop(262144); +__ref.getField(false,"_reqs" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1268;BA.debugLine="TOPE = 0"; +Debug.ShouldStop(524288); +__ref.setField ("_tope" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 1269;BA.debugLine="LogColor($\"ReqServer = ${B4XPages.MainPage.serve"; +Debug.ShouldStop(1048576); +c_principal.__c.runVoidMethod ("LogImpl","814745632",(RemoteObject.concat(RemoteObject.createImmutable("ReqServer = "),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_server" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))),c_principal.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 1270;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.serv"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref),(Object)(c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_server" /*RemoteObject*/ ))); + BA.debugLineNum = 1272;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(8388608); +c_principal._cmd = RemoteObject.createNew ("reparto_izca.keymon.lat.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd); + BA.debugLineNum = 1273;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1274;BA.debugLine="cmd.Name = \"insert_drop_rep_IZCA2\""; +Debug.ShouldStop(33554432); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_drop_rep_IZCA2")); + BA.debugLineNum = 1275;BA.debugLine="cmd.Parameters = Array As Object(Subs.dameUsuari"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {8},new Object[] {(c_principal._subs.runMethod(true,"_dameusuariodedb" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_l_ctast" /*RemoteObject*/ ).runMethod(true,"getText")),(c_principal._subs.runMethod(false,"_traeentregados" /*RemoteObject*/ ,__ref.getField(false, "ba")).getObject()),(c_principal._subs.runMethod(false,"_traerechazados" /*RemoteObject*/ ,__ref.getField(false, "ba")).getObject()),RemoteObject.createImmutable(("CARGA")),(c_principal.__c.getField(false,"Application").runMethod(true,"getVersionName"))})); + BA.debugLineNum = 1276;BA.debugLine="reqManager.ExecuteCommand(cmd , \"inst_drop\")"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("inst_drop")))); + BA.debugLineNum = 1279;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from kmt_info\""; +Debug.ShouldStop(1073741824); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from kmt_info"))); + BA.debugLineNum = 1280;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cod_resul"; +Debug.ShouldStop(-2147483648); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from cod_result"))); + BA.debugLineNum = 1281;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from hist_gest"; +Debug.ShouldStop(1); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from hist_gest"))); + BA.debugLineNum = 1282;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CAT_DETAL"; +Debug.ShouldStop(2); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from CAT_DETALLES_PAQ"))); + BA.debugLineNum = 1283;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from telefonos"; +Debug.ShouldStop(4); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from telefonos"))); + BA.debugLineNum = 1284;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_gunap"; +Debug.ShouldStop(8); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from cat_gunaprod"))); + BA.debugLineNum = 1285;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_gunap"; +Debug.ShouldStop(16); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from cat_gunaprod3"))); + BA.debugLineNum = 1287;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from PUNTEO_GP"; +Debug.ShouldStop(64); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from PUNTEO_GPS"))); + BA.debugLineNum = 1288;BA.debugLine="If l_ruta.Text = \"0\" Then '"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("0"))) { + BA.debugLineNum = 1289;BA.debugLine="Log(\"********************* No hay ruta, BORRAM"; +Debug.ShouldStop(256); +c_principal.__c.runVoidMethod ("LogImpl","814745652",RemoteObject.createImmutable("********************* No hay ruta, BORRAMOS TODO"),0); + BA.debugLineNum = 1290;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from REPARTO\""; +Debug.ShouldStop(512); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from REPARTO"))); + BA.debugLineNum = 1291;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from HIST_VEN"; +Debug.ShouldStop(1024); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from HIST_VENTAS"))); + BA.debugLineNum = 1292;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from HIST_VEN"; +Debug.ShouldStop(2048); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from HIST_VENTAS2"))); + BA.debugLineNum = 1293;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from NOVENTA\""; +Debug.ShouldStop(4096); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from NOVENTA"))); + BA.debugLineNum = 1294;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM ABONOSP\""; +Debug.ShouldStop(8192); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM ABONOSP"))); + }else { + BA.debugLineNum = 1296;BA.debugLine="Log(\"********************* Hay ruta, NO BORRAM"; +Debug.ShouldStop(32768); +c_principal.__c.runVoidMethod ("LogImpl","814745659",RemoteObject.createImmutable("********************* Hay ruta, NO BORRAMOS TODO"),0); + }; + BA.debugLineNum = 1300;BA.debugLine="c=Starter.skmt.ExecQuery(\"select usuario from us"; +Debug.ShouldStop(524288); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select usuario from usuarioa")))); + BA.debugLineNum = 1301;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1302;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 = 1304;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1305;BA.debugLine="cmd.Name = \"select_punteo_re_REPG_IZCA\""; +Debug.ShouldStop(16777216); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_punteo_re_REPG_IZCA")); + BA.debugLineNum = 1306;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(true,"_almacen" /*RemoteObject*/ ))})); + BA.debugLineNum = 1307;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"punteo\")"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("punteo")))); + BA.debugLineNum = 1308;BA.debugLine="Log($\"Pedimos Punteo\"$)"; +Debug.ShouldStop(134217728); +c_principal.__c.runVoidMethod ("LogImpl","814745671",(RemoteObject.createImmutable("Pedimos Punteo")),0); + BA.debugLineNum = 1309;BA.debugLine="reqs.Add(\"punteo\")"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_reqs" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("punteo")))); + BA.debugLineNum = 1311;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1312;BA.debugLine="cmd.Name = \"select_almacen_IZCA_re_REPG2\""; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_almacen_IZCA_re_REPG2")); + BA.debugLineNum = 1313;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 = 1314;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"gunaprod\")"; +Debug.ShouldStop(2); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("gunaprod")))); + BA.debugLineNum = 1315;BA.debugLine="Log($\"Pedimos gunaprod - ${ALMACEN}, ${e_ruta.te"; +Debug.ShouldStop(4); +c_principal.__c.runVoidMethod ("LogImpl","814745678",(RemoteObject.concat(RemoteObject.createImmutable("Pedimos gunaprod - "),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_almacen" /*RemoteObject*/ )))),RemoteObject.createImmutable(", "),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText")))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 1316;BA.debugLine="reqs.Add(\"gunaprod\")"; +Debug.ShouldStop(8); +__ref.getField(false,"_reqs" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("gunaprod")))); + BA.debugLineNum = 1323;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(1024); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1324;BA.debugLine="cmd.Name = \"select_cliente_IZCA_re_REPG\""; +Debug.ShouldStop(2048); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cliente_IZCA_re_REPG")); + BA.debugLineNum = 1325;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; +Debug.ShouldStop(4096); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {5},new Object[] {(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_almacen" /*RemoteObject*/ ))})); + BA.debugLineNum = 1326;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"kmt_datos\")"; +Debug.ShouldStop(8192); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("kmt_datos")))); + BA.debugLineNum = 1327;BA.debugLine="Log($\"Pedimos kmt_datos\"$)"; +Debug.ShouldStop(16384); +c_principal.__c.runVoidMethod ("LogImpl","814745690",(RemoteObject.createImmutable("Pedimos kmt_datos")),0); + BA.debugLineNum = 1328;BA.debugLine="reqs.Add(\"kmt_datos\")"; +Debug.ShouldStop(32768); +__ref.getField(false,"_reqs" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("kmt_datos")))); + BA.debugLineNum = 1330;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(131072); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1331;BA.debugLine="cmd.Name = \"select_ventad2_IZCA_re_REPG\""; +Debug.ShouldStop(262144); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_ventad2_IZCA_re_REPG")); + BA.debugLineNum = 1332;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; +Debug.ShouldStop(524288); +__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 = 1333;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"hist_datos\")"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("hist_datos")))); + BA.debugLineNum = 1334;BA.debugLine="Log($\"Pedimos hist_datos\"$)"; +Debug.ShouldStop(2097152); +c_principal.__c.runVoidMethod ("LogImpl","814745697",(RemoteObject.createImmutable("Pedimos hist_datos")),0); + BA.debugLineNum = 1335;BA.debugLine="reqs.Add(\"hist_datos\")"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_reqs" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("hist_datos")))); + BA.debugLineNum = 1337;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1338;BA.debugLine="cmd.Name = \"select_coords_almacen_IZCA\""; +Debug.ShouldStop(33554432); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_coords_almacen_IZCA")); + BA.debugLineNum = 1339;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 = 1340;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"coords_almacen"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("coords_almacen")))); + BA.debugLineNum = 1342;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1343;BA.debugLine="cmd.Name = \"select_cat_gunaprod3_IZCA\""; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cat_gunaprod3_IZCA")); + BA.debugLineNum = 1344;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ ))})); + BA.debugLineNum = 1345;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"gunaprod3\")"; +Debug.ShouldStop(1); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("gunaprod3")))); + BA.debugLineNum = 1382;BA.debugLine="D=Starter.skmt.ExecQuery(\"SELECT COUNT(*) AS CUA"; +Debug.ShouldStop(32); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT COUNT(*) AS CUANTOS_NOVENTA FROM NOVENTA")))); + BA.debugLineNum = 1383;BA.debugLine="d.Position=0"; +Debug.ShouldStop(64); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1384;BA.debugLine="cuantos_noventa = D.GetString(\"CUANTOS_NOVENTA\")"; +Debug.ShouldStop(128); +__ref.setField ("_cuantos_noventa" /*RemoteObject*/ ,__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS_NOVENTA")))); + BA.debugLineNum = 1385;BA.debugLine="d.Close"; +Debug.ShouldStop(256); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1386;BA.debugLine="cargar.Visible = False"; +Debug.ShouldStop(512); +__ref.getField(false,"_cargar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 1387;BA.debugLine="Subir.Visible = False"; +Debug.ShouldStop(1024); +__ref.getField(false,"_subir" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 1388;BA.debugLine="connecta.Visible = True"; +Debug.ShouldStop(2048); +__ref.getField(false,"_connecta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 1389;BA.debugLine="inv.Visible = False"; +Debug.ShouldStop(4096); +__ref.getField(false,"_inv" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 1390;BA.debugLine="ToastMessageShow(\"Se actualizarán los datos, est"; +Debug.ShouldStop(8192); +c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Se actualizarán los datos, este proceso podria tardar hasta un minuto, gracias")),(Object)(c_principal.__c.getField(true,"True"))); + BA.debugLineNum = 1392;BA.debugLine="If Not(IsConnectedToInternet) Then MsgboxAsync(\""; +Debug.ShouldStop(32768); +if (c_principal.__c.runMethod(true,"Not",(Object)(__ref.runClassMethod (reparto_izca.keymon.lat.c_principal.class, "_isconnectedtointernet" /*RemoteObject*/ ))).get().booleanValue()) { +c_principal.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("No hay conexión a Internet")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Revisa tu conexión"))),__ref.getField(false, "ba"));}; + }else { + BA.debugLineNum = 1396;BA.debugLine="Log(\"XXXX\")"; +Debug.ShouldStop(524288); +c_principal.__c.runVoidMethod ("LogImpl","814745759",RemoteObject.createImmutable("XXXX"),0); + BA.debugLineNum = 1397;BA.debugLine="MsgboxAsync(\"Para poder cargar día no puedes ten"; +Debug.ShouldStop(1048576); +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 = 1400;BA.debugLine="End Sub"; +Debug.ShouldStop(8388608); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _checachek(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("checachek (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,773); +if (RapidSub.canDelegate("checachek")) { return __ref.runUserSub(false, "c_principal","checachek", __ref);} + BA.debugLineNum = 773;BA.debugLine="Sub checachek"; +Debug.ShouldStop(16); + BA.debugLineNum = 774;BA.debugLine="b = Starter.skmt.ExecQuery(\"SELECT CHECADO FROM"; +Debug.ShouldStop(32); +__ref.getField(false,"_b" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT CHECADO FROM CHECADO_CHECK")))); + BA.debugLineNum = 775;BA.debugLine="If b.RowCount > 0 Then"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 776;BA.debugLine="b.Position = 0"; +Debug.ShouldStop(128); +__ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 777;BA.debugLine="If b.GetString(\"CHECADO\") = 0 Then"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CHECADO"))),BA.NumberToString(0))) { + BA.debugLineNum = 778;BA.debugLine="b_check.Visible = True"; +Debug.ShouldStop(512); +__ref.getField(false,"_b_check" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + }else +{ BA.debugLineNum = 779;BA.debugLine="Else If b.GetString(\"CHECADO\") = 1 Then"; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CHECADO"))),BA.NumberToString(1))) { + BA.debugLineNum = 780;BA.debugLine="b_check.Visible =False"; +Debug.ShouldStop(2048); +__ref.getField(false,"_b_check" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + }} +; + BA.debugLineNum = 782;BA.debugLine="b.Close"; +Debug.ShouldStop(8192); +__ref.getField(false,"_b" /*RemoteObject*/ ).runVoidMethod ("Close"); + }; + 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 _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 reqManager As DBRequestManager"; +c_principal._reqmanager = RemoteObject.createNew ("reparto_izca.keymon.lat.dbrequestmanager");__ref.setField("_reqmanager",c_principal._reqmanager); + //BA.debugLineNum = 5;BA.debugLine="Dim conectado As String"; +c_principal._conectado = RemoteObject.createImmutable("");__ref.setField("_conectado",c_principal._conectado); + //BA.debugLineNum = 6;BA.debugLine="Dim t1 As Timer"; +c_principal._t1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.Timer");__ref.setField("_t1",c_principal._t1); + //BA.debugLineNum = 7;BA.debugLine="Dim sb As StringBuilder"; +c_principal._sb = RemoteObject.createNew ("anywheresoftware.b4a.keywords.StringBuilderWrapper");__ref.setField("_sb",c_principal._sb); + //BA.debugLineNum = 8;BA.debugLine="Dim PHONE As Phone"; +c_principal._phone = RemoteObject.createNew ("anywheresoftware.b4a.phone.Phone");__ref.setField("_phone",c_principal._phone); + //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 = 10;BA.debugLine="Dim c, a As Cursor"; +c_principal._c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_c",c_principal._c); +c_principal._a = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_a",c_principal._a); + //BA.debugLineNum = 11;BA.debugLine="Dim d As Cursor"; +c_principal._d = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_d",c_principal._d); + //BA.debugLineNum = 12;BA.debugLine="Dim b As Cursor"; +c_principal._b = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_b",c_principal._b); + //BA.debugLineNum = 13;BA.debugLine="Dim e As Cursor"; +c_principal._e = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_e",c_principal._e); + //BA.debugLineNum = 14;BA.debugLine="Dim f As Cursor"; +c_principal._f = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_f",c_principal._f); + //BA.debugLineNum = 15;BA.debugLine="Dim f1 As Cursor"; +c_principal._f1 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_f1",c_principal._f1); + //BA.debugLineNum = 16;BA.debugLine="Dim f2 As Cursor"; +c_principal._f2 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_f2",c_principal._f2); + //BA.debugLineNum = 17;BA.debugLine="Dim f3 As Cursor"; +c_principal._f3 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_f3",c_principal._f3); + //BA.debugLineNum = 18;BA.debugLine="Dim F4 As Cursor"; +c_principal._f4 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_f4",c_principal._f4); + //BA.debugLineNum = 19;BA.debugLine="Dim lv As ListView"; +c_principal._lv = RemoteObject.createNew ("anywheresoftware.b4a.objects.ListViewWrapper");__ref.setField("_lv",c_principal._lv); + //BA.debugLineNum = 20;BA.debugLine="Dim cargar As Button"; +c_principal._cargar = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_cargar",c_principal._cargar); + //BA.debugLineNum = 21;BA.debugLine="Dim pendiente As Button"; +c_principal._pendiente = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_pendiente",c_principal._pendiente); + //BA.debugLineNum = 22;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 = 23;BA.debugLine="Dim usuario As String"; +c_principal._usuario = RemoteObject.createImmutable("");__ref.setField("_usuario",c_principal._usuario); + //BA.debugLineNum = 24;BA.debugLine="Dim connecta As Button"; +c_principal._connecta = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_connecta",c_principal._connecta); + //BA.debugLineNum = 25;BA.debugLine="Dim conn As String"; +c_principal._conn = RemoteObject.createImmutable("");__ref.setField("_conn",c_principal._conn); + //BA.debugLineNum = 26;BA.debugLine="Dim Subir As Button"; +c_principal._subir = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_subir",c_principal._subir); + //BA.debugLineNum = 27;BA.debugLine="Dim cmd As DBCommand"; +c_principal._cmd = RemoteObject.createNew ("reparto_izca.keymon.lat.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd); + //BA.debugLineNum = 28;BA.debugLine="Dim TOPE As Int"; +c_principal._tope = RemoteObject.createImmutable(0);__ref.setField("_tope",c_principal._tope); + //BA.debugLineNum = 29;BA.debugLine="Dim COUNT_CLIE As Int"; +c_principal._count_clie = RemoteObject.createImmutable(0);__ref.setField("_count_clie",c_principal._count_clie); + //BA.debugLineNum = 30;BA.debugLine="Dim fecha As String"; +c_principal._fecha = RemoteObject.createImmutable("");__ref.setField("_fecha",c_principal._fecha); + //BA.debugLineNum = 31;BA.debugLine="Dim drop As Double"; +c_principal._drop = RemoteObject.createImmutable(0);__ref.setField("_drop",c_principal._drop); + //BA.debugLineNum = 32;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 As Cursor"; +c_principal._l = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_l",c_principal._l); + //BA.debugLineNum = 34;BA.debugLine="Dim l_aLiquidar As Label"; +c_principal._l_aliquidar = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_aliquidar",c_principal._l_aliquidar); + //BA.debugLineNum = 35;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 = 36;BA.debugLine="Dim l_montoSalida As Label"; +c_principal._l_montosalida = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_montosalida",c_principal._l_montosalida); + //BA.debugLineNum = 38;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 = 39;BA.debugLine="Dim BUSCA As Button"; +c_principal._busca = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_busca",c_principal._busca); + //BA.debugLineNum = 40;BA.debugLine="Dim Cuantos As String"; +c_principal._cuantos = RemoteObject.createImmutable("");__ref.setField("_cuantos",c_principal._cuantos); + //BA.debugLineNum = 41;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 = 42;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 = 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 = 63;BA.debugLine="Private inv As Button"; +c_principal._inv = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_inv",c_principal._inv); + //BA.debugLineNum = 65;BA.debugLine="Private L_MONTOE As Label"; +c_principal._l_montoe = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_montoe",c_principal._l_montoe); + //BA.debugLineNum = 66;BA.debugLine="Private B_CLIEPROD As Button"; +c_principal._b_clieprod = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_clieprod",c_principal._b_clieprod); + //BA.debugLineNum = 67;BA.debugLine="Private ListView1 As ListView"; +c_principal._listview1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ListViewWrapper");__ref.setField("_listview1",c_principal._listview1); + //BA.debugLineNum = 68;BA.debugLine="Private B_REGRESA As Button"; +c_principal._b_regresa = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_regresa",c_principal._b_regresa); + //BA.debugLineNum = 69;BA.debugLine="Private Panel1 As Panel"; +c_principal._panel1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_panel1",c_principal._panel1); + //BA.debugLineNum = 70;BA.debugLine="Dim ESTATUS As String"; +c_principal._estatus = RemoteObject.createImmutable("");__ref.setField("_estatus",c_principal._estatus); + //BA.debugLineNum = 71;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 = 72;BA.debugLine="Private bu As BatteryUtilities"; +c_principal._bu = RemoteObject.createNew ("reparto_izca.keymon.lat.batteryutilities");__ref.setField("_bu",c_principal._bu); + //BA.debugLineNum = 73;BA.debugLine="Dim RUTA_T As String"; +c_principal._ruta_t = RemoteObject.createImmutable("");__ref.setField("_ruta_t",c_principal._ruta_t); + //BA.debugLineNum = 74;BA.debugLine="Dim reqs As List"; +c_principal._reqs = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");__ref.setField("_reqs",c_principal._reqs); + //BA.debugLineNum = 76;BA.debugLine="Private Btn_Ubicar_Ru As Button"; +c_principal._btn_ubicar_ru = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_btn_ubicar_ru",c_principal._btn_ubicar_ru); + //BA.debugLineNum = 77;BA.debugLine="Dim cargo As String"; +c_principal._cargo = RemoteObject.createImmutable("");__ref.setField("_cargo",c_principal._cargo); + //BA.debugLineNum = 78;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 = 79;BA.debugLine="Dim ime As IME"; +c_principal._ime = RemoteObject.createNew ("anywheresoftware.b4a.objects.IME");__ref.setField("_ime",c_principal._ime); + //BA.debugLineNum = 80;BA.debugLine="Private b_tabulador As Button"; +c_principal._b_tabulador = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_tabulador",c_principal._b_tabulador); + //BA.debugLineNum = 82;BA.debugLine="Private l_rutasP As Label"; +c_principal._l_rutasp = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_rutasp",c_principal._l_rutasp); + //BA.debugLineNum = 83;BA.debugLine="Private l_rechazo As Label"; +c_principal._l_rechazo = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_rechazo",c_principal._l_rechazo); + //BA.debugLineNum = 84;BA.debugLine="Private Label9 As Label"; +c_principal._label9 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_label9",c_principal._label9); + //BA.debugLineNum = 85;BA.debugLine="Dim cp As Cursor"; +c_principal._cp = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_cp",c_principal._cp); + //BA.debugLineNum = 86;BA.debugLine="Private b_check As Button"; +c_principal._b_check = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_check",c_principal._b_check); + //BA.debugLineNum = 87;BA.debugLine="Private b_rechazos As Button"; +c_principal._b_rechazos = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_rechazos",c_principal._b_rechazos); + //BA.debugLineNum = 88;BA.debugLine="Private p_prod As Panel"; +c_principal._p_prod = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_prod",c_principal._p_prod); + //BA.debugLineNum = 89;BA.debugLine="Private b_regreso As Button"; +c_principal._b_regreso = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_regreso",c_principal._b_regreso); + //BA.debugLineNum = 90;BA.debugLine="Private lv_prod_Prin As ListView"; +c_principal._lv_prod_prin = RemoteObject.createNew ("anywheresoftware.b4a.objects.ListViewWrapper");__ref.setField("_lv_prod_prin",c_principal._lv_prod_prin); + //BA.debugLineNum = 91;BA.debugLine="Private b_venta_emp As Button"; +c_principal._b_venta_emp = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_venta_emp",c_principal._b_venta_emp); + //BA.debugLineNum = 94;BA.debugLine="Dim t8 As Timer"; +c_principal._t8 = RemoteObject.createNew ("anywheresoftware.b4a.objects.Timer");__ref.setField("_t8",c_principal._t8); + //BA.debugLineNum = 95;BA.debugLine="Private B_carga As Button"; +c_principal._b_carga = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_carga",c_principal._b_carga); + //BA.debugLineNum = 96;BA.debugLine="Private P_carga As Panel"; +c_principal._p_carga = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_carga",c_principal._p_carga); + //BA.debugLineNum = 97;BA.debugLine="Private L_carga As Label"; +c_principal._l_carga = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_carga",c_principal._l_carga); + //BA.debugLineNum = 98;BA.debugLine="Private PB_carga As ProgressBar"; +c_principal._pb_carga = RemoteObject.createNew ("anywheresoftware.b4a.objects.ProgressBarWrapper");__ref.setField("_pb_carga",c_principal._pb_carga); + //BA.debugLineNum = 99;BA.debugLine="Private PB_carga2 As ProgressBar"; +c_principal._pb_carga2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ProgressBarWrapper");__ref.setField("_pb_carga2",c_principal._pb_carga2); + //BA.debugLineNum = 100;BA.debugLine="Private l_carga2 As Label"; +c_principal._l_carga2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_carga2",c_principal._l_carga2); + //BA.debugLineNum = 103;BA.debugLine="Dim btAdmin As BluetoothAdmin"; +c_principal._btadmin = RemoteObject.createNew ("anywheresoftware.b4a.objects.Serial.BluetoothAdmin");__ref.setField("_btadmin",c_principal._btadmin); + //BA.debugLineNum = 104;BA.debugLine="Dim cmp20 As Serial"; +c_principal._cmp20 = RemoteObject.createNew ("anywheresoftware.b4a.objects.Serial");__ref.setField("_cmp20",c_principal._cmp20); + //BA.debugLineNum = 105;BA.debugLine="Dim printer As TextWriter"; +c_principal._printer = RemoteObject.createNew ("anywheresoftware.b4a.objects.streams.File.TextWriterWrapper");__ref.setField("_printer",c_principal._printer); + //BA.debugLineNum = 106;BA.debugLine="Dim TAMANO As Int"; +c_principal._tamano = RemoteObject.createImmutable(0);__ref.setField("_tamano",c_principal._tamano); + //BA.debugLineNum = 107;BA.debugLine="Dim ESPACIO As Int"; +c_principal._espacio = RemoteObject.createImmutable(0);__ref.setField("_espacio",c_principal._espacio); + //BA.debugLineNum = 108;BA.debugLine="Dim BLANCO As String"; +c_principal._blanco = RemoteObject.createImmutable("");__ref.setField("_blanco",c_principal._blanco); + //BA.debugLineNum = 109;BA.debugLine="Dim Printer1 As EscPosPrinter"; +c_principal._printer1 = RemoteObject.createNew ("reparto_izca.keymon.lat.escposprinter");__ref.setField("_printer1",c_principal._printer1); + //BA.debugLineNum = 110;BA.debugLine="Dim impresoraConectada As Boolean = False"; +c_principal._impresoraconectada = c_principal.__c.getField(true,"False");__ref.setField("_impresoraconectada",c_principal._impresoraconectada); + //BA.debugLineNum = 111;BA.debugLine="Dim errorImpresora As Int = 0"; +c_principal._errorimpresora = BA.numberCast(int.class, 0);__ref.setField("_errorimpresora",c_principal._errorimpresora); + //BA.debugLineNum = 112;BA.debugLine="Private inventario As ImageView"; +c_principal._inventario = RemoteObject.createNew ("anywheresoftware.b4a.objects.ImageViewWrapper");__ref.setField("_inventario",c_principal._inventario); + //BA.debugLineNum = 113;BA.debugLine="Dim PASA_IMP As String"; +c_principal._pasa_imp = RemoteObject.createImmutable("");__ref.setField("_pasa_imp",c_principal._pasa_imp); + //BA.debugLineNum = 114;BA.debugLine="Private b_imp_inventario As Button"; +c_principal._b_imp_inventario = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_imp_inventario",c_principal._b_imp_inventario); + //BA.debugLineNum = 116;BA.debugLine="Dim s As Cursor"; +c_principal._s = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_s",c_principal._s); + //BA.debugLineNum = 117;BA.debugLine="Private PrinterIsReady As Boolean = False"; +c_principal._printerisready = c_principal.__c.getField(true,"False");__ref.setField("_printerisready",c_principal._printerisready); + //BA.debugLineNum = 118;BA.debugLine="Private LastConnectionAttempt As Long = 0"; +c_principal._lastconnectionattempt = BA.numberCast(long.class, 0);__ref.setField("_lastconnectionattempt",c_principal._lastconnectionattempt); + //BA.debugLineNum = 119;BA.debugLine="Private b_impresion_rec As Button"; +c_principal._b_impresion_rec = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_impresion_rec",c_principal._b_impresion_rec); + //BA.debugLineNum = 120;BA.debugLine="Private L_clientes_visit As Label"; +c_principal._l_clientes_visit = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_clientes_visit",c_principal._l_clientes_visit); + //BA.debugLineNum = 121;BA.debugLine="Private l_clientes_recha As Label"; +c_principal._l_clientes_recha = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_clientes_recha",c_principal._l_clientes_recha); + //BA.debugLineNum = 122;BA.debugLine="Private l_clientes_visitados As Label"; +c_principal._l_clientes_visitados = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_clientes_visitados",c_principal._l_clientes_visitados); + //BA.debugLineNum = 123;BA.debugLine="Private l_numtickets As Label"; +c_principal._l_numtickets = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_numtickets",c_principal._l_numtickets); + //BA.debugLineNum = 124;BA.debugLine="Private P_CIEGO As Panel"; +c_principal._p_ciego = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_ciego",c_principal._p_ciego); + //BA.debugLineNum = 125;BA.debugLine="Private B_PC_ENV As Button"; +c_principal._b_pc_env = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_pc_env",c_principal._b_pc_env); + //BA.debugLineNum = 126;BA.debugLine="Private b_terpc As Button"; +c_principal._b_terpc = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_terpc",c_principal._b_terpc); + //BA.debugLineNum = 127;BA.debugLine="Private CLV_PICK_CIEGO As CustomListView"; +c_principal._clv_pick_ciego = RemoteObject.createNew ("b4a.example3.customlistview");__ref.setField("_clv_pick_ciego",c_principal._clv_pick_ciego); + //BA.debugLineNum = 128;BA.debugLine="Private L_PICK_CIEGO As Label"; +c_principal._l_pick_ciego = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_pick_ciego",c_principal._l_pick_ciego); + //BA.debugLineNum = 129;BA.debugLine="Private ET_PICK_CIEGO As EditText"; +c_principal._et_pick_ciego = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_pick_ciego",c_principal._et_pick_ciego); + //BA.debugLineNum = 130;BA.debugLine="Private P_PICK_CIEGO As Panel"; +c_principal._p_pick_ciego = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_pick_ciego",c_principal._p_pick_ciego); + //BA.debugLineNum = 131;BA.debugLine="Private L_CANT_PCIK As Label"; +c_principal._l_cant_pcik = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_cant_pcik",c_principal._l_cant_pcik); + //BA.debugLineNum = 132;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _connecta_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("connecta_Click (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,2234); +if (RapidSub.canDelegate("connecta_click")) { return __ref.runUserSub(false, "c_principal","connecta_click", __ref);} + BA.debugLineNum = 2234;BA.debugLine="Sub connecta_Click"; +Debug.ShouldStop(33554432); + BA.debugLineNum = 2235;BA.debugLine="LogColor($\"ReqServer = ${B4XPages.MainPage.server"; +Debug.ShouldStop(67108864); +c_principal.__c.runVoidMethod ("LogImpl","815007745",(RemoteObject.concat(RemoteObject.createImmutable("ReqServer = "),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_server" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))),c_principal.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 2236;BA.debugLine="If Not(IsConnectedToInternet) Then MsgboxAsync(\"N"; +Debug.ShouldStop(134217728); +if (c_principal.__c.runMethod(true,"Not",(Object)(__ref.runClassMethod (reparto_izca.keymon.lat.c_principal.class, "_isconnectedtointernet" /*RemoteObject*/ ))).get().booleanValue()) { +c_principal.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("No hay conexión a conexión a Internet")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Revisa tu conexión"))),__ref.getField(false, "ba"));}; + BA.debugLineNum = 2237;BA.debugLine="If e_ruta.Text <> \"\" Then"; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean("!",__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(""))) { + BA.debugLineNum = 2238;BA.debugLine="imei = \"\" 'p.GetDeviceId"; +Debug.ShouldStop(536870912); +__ref.setField ("_imei" /*RemoteObject*/ ,BA.ObjectToString("")); + BA.debugLineNum = 2239;BA.debugLine="conn = \"1\""; +Debug.ShouldStop(1073741824); +__ref.setField ("_conn" /*RemoteObject*/ ,BA.ObjectToString("1")); + BA.debugLineNum = 2240;BA.debugLine="ime.HideKeyboard"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_ime" /*RemoteObject*/ ).runVoidMethod ("HideKeyboard",__ref.getField(false, "ba")); + BA.debugLineNum = 2241;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(1); +c_principal._cmd = RemoteObject.createNew ("reparto_izca.keymon.lat.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd); + BA.debugLineNum = 2242;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(2); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 2243;BA.debugLine="cmd.Name = \"select_version_IZCA\""; +Debug.ShouldStop(4); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_version_IZCA")); + BA.debugLineNum = 2244;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"version\")"; +Debug.ShouldStop(8); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("version")))); + BA.debugLineNum = 2245;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(16); +c_principal._cmd = RemoteObject.createNew ("reparto_izca.keymon.lat.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd); + BA.debugLineNum = 2246;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(32); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 2249;BA.debugLine="cmd.Name = \"select_ruta_re_REPG_IZCA2\""; +Debug.ShouldStop(256); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_ruta_re_REPG_IZCA2")); + BA.debugLineNum = 2250;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_ruta"; +Debug.ShouldStop(512); +__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 = 2251;BA.debugLine="Log($\"${ALMACEN}, ${e_ruta.text}, ${usuario}\"$)"; +Debug.ShouldStop(1024); +c_principal.__c.runVoidMethod ("LogImpl","815007761",(RemoteObject.concat(RemoteObject.createImmutable(""),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_almacen" /*RemoteObject*/ )))),RemoteObject.createImmutable(", "),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText")))),RemoteObject.createImmutable(", "),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_usuario" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 2252;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"ruta\")"; +Debug.ShouldStop(2048); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("ruta")))); + BA.debugLineNum = 2254;BA.debugLine="ToastMessageShow(\"Validando Conexión.\" , True)"; +Debug.ShouldStop(8192); +c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Validando Conexión.")),(Object)(c_principal.__c.getField(true,"True"))); + BA.debugLineNum = 2255;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM RUTAA\")"; +Debug.ShouldStop(16384); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM RUTAA"))); + BA.debugLineNum = 2256;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO RUTAA(RU"; +Debug.ShouldStop(32768); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO RUTAA(RUTAA) VALUES (?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText"))}))))); + BA.debugLineNum = 2257;BA.debugLine="B4XPages.MainPage.rutaPreventa = e_ruta.TEXT"; +Debug.ShouldStop(65536); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_rutapreventa" /*RemoteObject*/ ,__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText")); + }; + BA.debugLineNum = 2259;BA.debugLine="End Sub"; +Debug.ShouldStop(262144); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _createlistitem(RemoteObject __ref,RemoteObject _id_prod,RemoteObject _prod,RemoteObject _cant,RemoteObject _cantreal) throws Exception{ +try { + Debug.PushSubsStack("CreateListItem (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,3570); +if (RapidSub.canDelegate("createlistitem")) { return __ref.runUserSub(false, "c_principal","createlistitem", __ref, _id_prod, _prod, _cant, _cantreal);} +RemoteObject _pa = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +Debug.locals.put("Id_prod", _id_prod); +Debug.locals.put("Prod", _prod); +Debug.locals.put("cant", _cant); +Debug.locals.put("cantreal", _cantreal); + BA.debugLineNum = 3570;BA.debugLine="Sub CreateListItem(Id_prod As String, Prod As Stri"; +Debug.ShouldStop(131072); + BA.debugLineNum = 3571;BA.debugLine="Dim pa As B4XView = xui.CreatePanel(\"\")"; +Debug.ShouldStop(262144); +_pa = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_pa = __ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(false,"CreatePanel",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("")));Debug.locals.put("pa", _pa);Debug.locals.put("pa", _pa); + BA.debugLineNum = 3572;BA.debugLine="pa.SetLayoutAnimated(0, 0, 0, 1, 10)"; +Debug.ShouldStop(524288); +_pa.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, 1)),(Object)(BA.numberCast(int.class, 10))); + BA.debugLineNum = 3573;BA.debugLine="pa.LoadLayout(\"PANEL_PICK_CIEGO\")"; +Debug.ShouldStop(1048576); +_pa.runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("PANEL_PICK_CIEGO")),__ref.getField(false, "ba")); + BA.debugLineNum = 3574;BA.debugLine="pa.Height = 55dip"; +Debug.ShouldStop(2097152); +_pa.runMethod(true,"setHeight",c_principal.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 55)))); + BA.debugLineNum = 3575;BA.debugLine="pa.Width = 298dip"; +Debug.ShouldStop(4194304); +_pa.runMethod(true,"setWidth",c_principal.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 298)))); + BA.debugLineNum = 3577;BA.debugLine="L_PICK_CIEGO.Text = Id_prod & CRLF & Prod"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_l_pick_ciego" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(RemoteObject.concat(_id_prod,c_principal.__c.getField(true,"CRLF"),_prod))); + BA.debugLineNum = 3578;BA.debugLine="L_PICK_CIEGO.TextSize = 12"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_l_pick_ciego" /*RemoteObject*/ ).runMethod(true,"setTextSize",BA.numberCast(float.class, 12)); + BA.debugLineNum = 3579;BA.debugLine="L_PICK_CIEGO.Gravity = Bit.Or(Gravity.CENTER_VERT"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_l_pick_ciego" /*RemoteObject*/ ).runMethod(true,"setGravity",c_principal.__c.getField(false,"Bit").runMethod(true,"Or",(Object)(c_principal.__c.getField(false,"Gravity").getField(true,"CENTER_VERTICAL")),(Object)(c_principal.__c.getField(false,"Gravity").getField(true,"CENTER_HORIZONTAL")))); + BA.debugLineNum = 3580;BA.debugLine="ET_PICK_CIEGO.Text = cant"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_et_pick_ciego" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(_cant)); + BA.debugLineNum = 3581;BA.debugLine="L_CANT_PCIK.Text = cantreal"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_l_cant_pcik" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_cantreal)); + BA.debugLineNum = 3584;BA.debugLine="Return pa"; +Debug.ShouldStop(-2147483648); +if (true) return RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.PanelWrapper"), _pa.getObject()); + BA.debugLineNum = 3585;BA.debugLine="End Sub"; +Debug.ShouldStop(1); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _createlistitem2(RemoteObject __ref,RemoteObject _id_prod,RemoteObject _prod,RemoteObject _cantreal) throws Exception{ +try { + Debug.PushSubsStack("CreateListItem2 (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,3587); +if (RapidSub.canDelegate("createlistitem2")) { return __ref.runUserSub(false, "c_principal","createlistitem2", __ref, _id_prod, _prod, _cantreal);} +RemoteObject _pa = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +Debug.locals.put("Id_prod", _id_prod); +Debug.locals.put("Prod", _prod); +Debug.locals.put("cantreal", _cantreal); + BA.debugLineNum = 3587;BA.debugLine="Sub CreateListItem2(Id_prod As String, Prod As Str"; +Debug.ShouldStop(4); + BA.debugLineNum = 3588;BA.debugLine="Dim pa As B4XView = xui.CreatePanel(\"\")"; +Debug.ShouldStop(8); +_pa = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_pa = __ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(false,"CreatePanel",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("")));Debug.locals.put("pa", _pa);Debug.locals.put("pa", _pa); + BA.debugLineNum = 3589;BA.debugLine="pa.SetLayoutAnimated(0, 0, 0, 1, 10)"; +Debug.ShouldStop(16); +_pa.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, 1)),(Object)(BA.numberCast(int.class, 10))); + BA.debugLineNum = 3590;BA.debugLine="pa.LoadLayout(\"PANEL_PICK_CIEGO\")"; +Debug.ShouldStop(32); +_pa.runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("PANEL_PICK_CIEGO")),__ref.getField(false, "ba")); + BA.debugLineNum = 3591;BA.debugLine="pa.Height = 55dip"; +Debug.ShouldStop(64); +_pa.runMethod(true,"setHeight",c_principal.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 55)))); + BA.debugLineNum = 3592;BA.debugLine="pa.Width = 298dip"; +Debug.ShouldStop(128); +_pa.runMethod(true,"setWidth",c_principal.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 298)))); + BA.debugLineNum = 3594;BA.debugLine="L_PICK_CIEGO.Text = Id_prod & CRLF & Prod"; +Debug.ShouldStop(512); +__ref.getField(false,"_l_pick_ciego" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(RemoteObject.concat(_id_prod,c_principal.__c.getField(true,"CRLF"),_prod))); + BA.debugLineNum = 3595;BA.debugLine="L_PICK_CIEGO.TextSize = 12"; +Debug.ShouldStop(1024); +__ref.getField(false,"_l_pick_ciego" /*RemoteObject*/ ).runMethod(true,"setTextSize",BA.numberCast(float.class, 12)); + BA.debugLineNum = 3596;BA.debugLine="L_PICK_CIEGO.Gravity = Bit.Or(Gravity.CENTER_VERT"; +Debug.ShouldStop(2048); +__ref.getField(false,"_l_pick_ciego" /*RemoteObject*/ ).runMethod(true,"setGravity",c_principal.__c.getField(false,"Bit").runMethod(true,"Or",(Object)(c_principal.__c.getField(false,"Gravity").getField(true,"CENTER_VERTICAL")),(Object)(c_principal.__c.getField(false,"Gravity").getField(true,"CENTER_HORIZONTAL")))); + BA.debugLineNum = 3597;BA.debugLine="L_CANT_PCIK.Text = cantreal"; +Debug.ShouldStop(4096); +__ref.getField(false,"_l_cant_pcik" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_cantreal)); + BA.debugLineNum = 3600;BA.debugLine="Return pa"; +Debug.ShouldStop(32768); +if (true) return RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.PanelWrapper"), _pa.getObject()); + BA.debugLineNum = 3601;BA.debugLine="End Sub"; +Debug.ShouldStop(65536); +return RemoteObject.createImmutable(null); +} +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",11,__ref.getField(false, "ba"),__ref,2275); +if (RapidSub.canDelegate("e_ruta_enterpressed")) { return __ref.runUserSub(false, "c_principal","e_ruta_enterpressed", __ref);} + BA.debugLineNum = 2275;BA.debugLine="Sub e_ruta_EnterPressed"; +Debug.ShouldStop(4); + BA.debugLineNum = 2276;BA.debugLine="If e_ruta.Text = \"FIN DIA\" Then"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("FIN DIA"))) { + BA.debugLineNum = 2277;BA.debugLine="RES = Msgbox2(\"Seguro que desea hacer el cierre"; +Debug.ShouldStop(16); +__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 borraran?")),(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 = 2278;BA.debugLine="If RES = DialogResponse.POSITIVE Then"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_res" /*RemoteObject*/ ),BA.NumberToString(c_principal.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { + BA.debugLineNum = 2280;BA.debugLine="e_ruta.Text = \"\""; +Debug.ShouldStop(128); +__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 2281;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from PICK_CIE"; +Debug.ShouldStop(256); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from PICK_CIEGO"))); + BA.debugLineNum = 2282;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from REPARTO_"; +Debug.ShouldStop(512); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from REPARTO_GEO"))); + BA.debugLineNum = 2283;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from pedido_c"; +Debug.ShouldStop(1024); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from pedido_cliente"))); + BA.debugLineNum = 2284;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from PAGARES\""; +Debug.ShouldStop(2048); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from PAGARES"))); + BA.debugLineNum = 2285;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CHECADO_"; +Debug.ShouldStop(4096); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from CHECADO_CHECK"))); + BA.debugLineNum = 2286;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CHECKLIS"; +Debug.ShouldStop(8192); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from CHECKLIST2"))); + BA.debugLineNum = 2287;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from pedido\")"; +Debug.ShouldStop(16384); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from pedido"))); + BA.debugLineNum = 2288;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from noventa\""; +Debug.ShouldStop(32768); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from noventa"))); + BA.debugLineNum = 2289;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from clie_act"; +Debug.ShouldStop(65536); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from clie_act"))); + BA.debugLineNum = 2290;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from kmt_info"; +Debug.ShouldStop(131072); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from kmt_info"))); + BA.debugLineNum = 2291;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_guna"; +Debug.ShouldStop(262144); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from cat_gunaprod"))); + BA.debugLineNum = 2292;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_guna"; +Debug.ShouldStop(524288); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from cat_gunaprod3"))); + BA.debugLineNum = 2293;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CAT_DETA"; +Debug.ShouldStop(1048576); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from CAT_DETALLES_PAQ"))); + BA.debugLineNum = 2294;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from HIST_VEN"; +Debug.ShouldStop(2097152); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from HIST_VENTAS"))); + BA.debugLineNum = 2295;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from REPARTO\""; +Debug.ShouldStop(4194304); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from REPARTO"))); + BA.debugLineNum = 2296;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM TABULADO"; +Debug.ShouldStop(8388608); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM TABULADOR_MONEDAS"))); + BA.debugLineNum = 2297;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM TABULADO"; +Debug.ShouldStop(16777216); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM TABULADOR_BILLETES"))); + BA.debugLineNum = 2298;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM RUTAA\")"; +Debug.ShouldStop(33554432); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM RUTAA"))); + BA.debugLineNum = 2299;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM ABONOSP\""; +Debug.ShouldStop(67108864); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM ABONOSP"))); + BA.debugLineNum = 2300;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM ABONOS\")"; +Debug.ShouldStop(134217728); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM ABONOS"))); + BA.debugLineNum = 2301;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM BLOCKENV"; +Debug.ShouldStop(268435456); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM BLOCKENVIO"))); + BA.debugLineNum = 2302;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(536870912); +__ref.runClassMethod (reparto_izca.keymon.lat.c_principal.class, "_b4xpage_appear" /*RemoteObject*/ ); + }; + BA.debugLineNum = 2305;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from waypoints"; +Debug.ShouldStop(1); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from waypoints"))); + }; + BA.debugLineNum = 2307;BA.debugLine="End Sub"; +Debug.ShouldStop(4); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _envioinfo(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("envioinfo (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,843); +if (RapidSub.canDelegate("envioinfo")) { return __ref.runUserSub(false, "c_principal","envioinfo", __ref);} +int _i = 0; +RemoteObject _r = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +int _rx = 0; +RemoteObject _o = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _pa = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +int _pag = 0; +RemoteObject _fechaenvio = null; +RemoteObject _fechacap = null; +RemoteObject _ab = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _ab1 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _fechatabulador = null; +RemoteObject _fechatabulador3 = RemoteObject.createImmutable(""); +RemoteObject _d4 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _d5 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _restacant = RemoteObject.createImmutable(""); +RemoteObject _fecha1 = null; +RemoteObject _fecha3 = RemoteObject.createImmutable(""); +RemoteObject _hora = RemoteObject.createImmutable(""); +RemoteObject _sdate = RemoteObject.createImmutable(""); +RemoteObject _stime = RemoteObject.createImmutable(""); + BA.debugLineNum = 843;BA.debugLine="Sub envioinfo"; +Debug.ShouldStop(1024); + BA.debugLineNum = 848;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT NV_CLIENTE,NV_"; +Debug.ShouldStop(32768); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT NV_CLIENTE,NV_FECHA,NV_USER,NV_MOTIVO,NV_COMM,NV_LAT,NV_LON, NV_FOTO, NV_REPROGRAMAR FROM NOVENTA")))); + BA.debugLineNum = 849;BA.debugLine="D=Starter.skmt.ExecQuery(\"SELECT COUNT(*) AS CUAN"; +Debug.ShouldStop(65536); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT COUNT(*) AS CUANTOS_NOVENTA FROM NOVENTA")))); + BA.debugLineNum = 850;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 = 851;BA.debugLine="For i=0 To c.RowCount -1"; +Debug.ShouldStop(262144); +{ +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 = 852;BA.debugLine="c.Position=i"; +Debug.ShouldStop(524288); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 853;BA.debugLine="foto1 = c.GetBlob(\"NV_FOTO\")"; +Debug.ShouldStop(1048576); +__ref.setField ("_foto1" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(false,"GetBlob",(Object)(RemoteObject.createImmutable("NV_FOTO")))); + BA.debugLineNum = 854;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(2097152); +c_principal._cmd = RemoteObject.createNew ("reparto_izca.keymon.lat.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd); + BA.debugLineNum = 855;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 856;BA.debugLine="cmd.Name = \"insert_reparto_REPG_IZCA\""; +Debug.ShouldStop(8388608); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_reparto_REPG_IZCA")); + BA.debugLineNum = 857;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\"N"; +Debug.ShouldStop(16777216); +__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("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")),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("NV_REPROGRAMAR"))))})); + BA.debugLineNum = 858;BA.debugLine="reqManager.ExecuteCommand(cmd , \"inst_noventa_"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("inst_noventa_")))); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 860;BA.debugLine="c.Close"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + }; + BA.debugLineNum = 862;BA.debugLine="d.Position=0"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 863;BA.debugLine="cuantos_noventa = D.GetString(\"CUANTOS_NOVENTA\")"; +Debug.ShouldStop(1073741824); +__ref.setField ("_cuantos_noventa" /*RemoteObject*/ ,__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS_NOVENTA")))); + BA.debugLineNum = 864;BA.debugLine="d.Close"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 867;BA.debugLine="Dim r As Cursor =Starter.skmt.ExecQuery(\"select *"; +Debug.ShouldStop(4); +_r = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_r = 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 noventa where nv_reprogramar = 1"))));Debug.locals.put("r", _r);Debug.locals.put("r", _r); + BA.debugLineNum = 868;BA.debugLine="If r.RowCount > 0 Then"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean(">",_r.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 869;BA.debugLine="For rx = 0 To r.RowCount - 1"; +Debug.ShouldStop(16); +{ +final int step20 = 1; +final int limit20 = RemoteObject.solve(new RemoteObject[] {_r.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_rx = 0 ; +for (;(step20 > 0 && _rx <= limit20) || (step20 < 0 && _rx >= limit20) ;_rx = ((int)(0 + _rx + step20)) ) { +Debug.locals.put("rx", _rx); + BA.debugLineNum = 870;BA.debugLine="r.Position = rx"; +Debug.ShouldStop(32); +_r.runMethod(true,"setPosition",BA.numberCast(int.class, _rx)); + BA.debugLineNum = 871;BA.debugLine="Dim o As Cursor = Starter.skmt.ExecQuery2(\"sele"; +Debug.ShouldStop(64); +_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_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select HVD_FECHA, CAT_CL_RUTA FROM HIST_VENTAS INNER JOIN kmt_info on HVD_CLIENTE = cat_cl_codigo WHERE HVD_CLIENTE = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {_r.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("NV_CLIENTE")))}))));Debug.locals.put("o", _o);Debug.locals.put("o", _o); + BA.debugLineNum = 872;BA.debugLine="If o.RowCount > 0 Then"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean(">",_o.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 873;BA.debugLine="o.Position = 0"; +Debug.ShouldStop(256); +_o.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 874;BA.debugLine="Log(\"Enviamos reprogramados: \" & r.RowCount)"; +Debug.ShouldStop(512); +c_principal.__c.runVoidMethod ("LogImpl","814680095",RemoteObject.concat(RemoteObject.createImmutable("Enviamos reprogramados: "),_r.runMethod(true,"getRowCount")),0); + BA.debugLineNum = 876;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(2048); +c_principal._cmd = RemoteObject.createNew ("reparto_izca.keymon.lat.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd); + BA.debugLineNum = 877;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(4096); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 878;BA.debugLine="cmd.Name = \"insert_reparto_reprogramar3_IZCA\""; +Debug.ShouldStop(8192); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_reparto_reprogramar3_IZCA")); + BA.debugLineNum = 879;BA.debugLine="cmd.Parameters = Array As Object(r.GetString(\""; +Debug.ShouldStop(16384); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {5},new Object[] {(_r.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("NV_CLIENTE")))),(_r.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("NV_REPROGRAMAR")))),(_o.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_FECHA")))),(_o.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA")))),(__ref.getField(true,"_almacen" /*RemoteObject*/ ))})); + BA.debugLineNum = 880;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_reprogram"; +Debug.ShouldStop(32768); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("ins_reprogramar")))); + }; + } +}Debug.locals.put("rx", _rx); +; + }; + BA.debugLineNum = 884;BA.debugLine="r.Close"; +Debug.ShouldStop(524288); +_r.runVoidMethod ("Close"); + BA.debugLineNum = 941;BA.debugLine="Dim pa As Cursor =Starter.skmt.ExecQuery(\"select"; +Debug.ShouldStop(4096); +_pa = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_pa = 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 PA_ALMACEN,PA_RUTA_REP,PA_RUTAPREV,PA_FECHA_PREV,PA_CAPTURA,PA_MONTO,PA_USUARIO,PA_CLIENTE from PAGARES"))));Debug.locals.put("pa", _pa);Debug.locals.put("pa", _pa); + BA.debugLineNum = 942;BA.debugLine="If pa.RowCount > 0 Then"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean(">",_pa.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 943;BA.debugLine="For pag = 0 To pa.RowCount - 1"; +Debug.ShouldStop(16384); +{ +final int step37 = 1; +final int limit37 = RemoteObject.solve(new RemoteObject[] {_pa.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_pag = 0 ; +for (;(step37 > 0 && _pag <= limit37) || (step37 < 0 && _pag >= limit37) ;_pag = ((int)(0 + _pag + step37)) ) { +Debug.locals.put("pag", _pag); + BA.debugLineNum = 944;BA.debugLine="pa.Position = pag"; +Debug.ShouldStop(32768); +_pa.runMethod(true,"setPosition",BA.numberCast(int.class, _pag)); + BA.debugLineNum = 945;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(65536); +c_principal._cmd = RemoteObject.createNew ("reparto_izca.keymon.lat.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd); + BA.debugLineNum = 946;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(131072); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 947;BA.debugLine="cmd.Name = \"insert_reparto_PAGARES_IZCA_VN\""; +Debug.ShouldStop(262144); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_reparto_PAGARES_IZCA_VN")); + BA.debugLineNum = 948;BA.debugLine="Dim fechaenvio() As String"; +Debug.ShouldStop(524288); +_fechaenvio = RemoteObject.createNewArray ("String", new int[] {0}, new Object[]{});Debug.locals.put("fechaenvio", _fechaenvio); + BA.debugLineNum = 949;BA.debugLine="fechaenvio = Regex.Split(\" \",pa.GetString(\"PA_F"; +Debug.ShouldStop(1048576); +_fechaenvio = c_principal.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString(" ")),(Object)(_pa.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PA_FECHA_PREV")))));Debug.locals.put("fechaenvio", _fechaenvio); + BA.debugLineNum = 956;BA.debugLine="Dim fechacap() As String"; +Debug.ShouldStop(134217728); +_fechacap = RemoteObject.createNewArray ("String", new int[] {0}, new Object[]{});Debug.locals.put("fechacap", _fechacap); + BA.debugLineNum = 957;BA.debugLine="fechacap = Regex.Split(\"/\",pa.GetString(\"PA_CAP"; +Debug.ShouldStop(268435456); +_fechacap = c_principal.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString("/")),(Object)(_pa.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PA_CAPTURA")))));Debug.locals.put("fechacap", _fechacap); + BA.debugLineNum = 963;BA.debugLine="cmd.Parameters = Array As Object(pa.GetString("; +Debug.ShouldStop(4); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {9},new Object[] {(_pa.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PA_CLIENTE")))),(_pa.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PA_MONTO")))),(_fechaenvio.getArrayElement(true,BA.numberCast(int.class, 0))),(_pa.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PA_ALMACEN")))),(_pa.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PA_RUTAPREV")))),(_pa.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PA_RUTA_REP")))),(_pa.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PA_CAPTURA")))),(_pa.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PA_USUARIO")))),(RemoteObject.createImmutable(""))})); + BA.debugLineNum = 965;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_pagares\")"; +Debug.ShouldStop(16); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("ins_pagares")))); + } +}Debug.locals.put("pag", _pag); +; + }; + BA.debugLineNum = 968;BA.debugLine="pa.Close"; +Debug.ShouldStop(128); +_pa.runVoidMethod ("Close"); + BA.debugLineNum = 971;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT RUTAA FROM RUT"; +Debug.ShouldStop(1024); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT RUTAA FROM RUTAA")))); + BA.debugLineNum = 972;BA.debugLine="d.Position = 0"; +Debug.ShouldStop(2048); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 973;BA.debugLine="Dim ab As Cursor = Starter.skmt.ExecQuery($\"SELEC"; +Debug.ShouldStop(4096); +_ab = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_ab = 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 ABONOS where a_enviado is null and a_tipoabono IS NULL")))));Debug.locals.put("ab", _ab);Debug.locals.put("ab", _ab); + BA.debugLineNum = 974;BA.debugLine="Log(ab.RowCount)"; +Debug.ShouldStop(8192); +c_principal.__c.runVoidMethod ("LogImpl","814680195",BA.NumberToString(_ab.runMethod(true,"getRowCount")),0); + BA.debugLineNum = 975;BA.debugLine="If ab.RowCount > 0 Then"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean(">",_ab.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 976;BA.debugLine="For i=0 To ab.RowCount -1"; +Debug.ShouldStop(32768); +{ +final int step56 = 1; +final int limit56 = RemoteObject.solve(new RemoteObject[] {_ab.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step56 > 0 && _i <= limit56) || (step56 < 0 && _i >= limit56) ;_i = ((int)(0 + _i + step56)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 977;BA.debugLine="ab.Position = i"; +Debug.ShouldStop(65536); +_ab.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 979;BA.debugLine="Dim ab1 As Cursor = Starter.skmt.ExecQuery($\"SE"; +Debug.ShouldStop(262144); +_ab1 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_ab1 = 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 a_abono from ABONOS where a_cliente = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_ab.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("a_cliente")))))),RemoteObject.createImmutable("' and a_tipoabono IS NULL"))))));Debug.locals.put("ab1", _ab1);Debug.locals.put("ab1", _ab1); + BA.debugLineNum = 980;BA.debugLine="ab1.Position = 0"; +Debug.ShouldStop(524288); +_ab1.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 982;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(2097152); +c_principal._cmd = RemoteObject.createNew ("reparto_izca.keymon.lat.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd); + BA.debugLineNum = 983;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 984;BA.debugLine="cmd.Name = \"insert_abono_REP_IZCA_VN2\""; +Debug.ShouldStop(8388608); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_abono_REP_IZCA_VN2")); + BA.debugLineNum = 985;BA.debugLine="cmd.Parameters = Array As Object( ab.GetString("; +Debug.ShouldStop(16777216); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {12},new Object[] {(_ab.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("a_usuario")))),(_ab.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("a_ruta")))),(_ab.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("a_cliente")))),(_ab.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("a_abono")))),(_ab.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("a_fecha")))),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),RemoteObject.createImmutable(("REPARTO")),(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("RUTAA")))),RemoteObject.createImmutable(("")),(_ab.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TIPO_PAGO")))),(_ab.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("a_ticket")))),(_ab.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("a_numpago"))))})); + BA.debugLineNum = 986;BA.debugLine="reqManager.ExecuteCommand(cmd , $\"ins_abonosPen"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(((RemoteObject.concat(RemoteObject.createImmutable("ins_abonosPendientes_"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_ab.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("a_cliente")))))),RemoteObject.createImmutable("")))))); + BA.debugLineNum = 987;BA.debugLine="ab1.Close"; +Debug.ShouldStop(67108864); +_ab1.runVoidMethod ("Close"); + BA.debugLineNum = 988;BA.debugLine="Log($\"ins_abonosPendientes_${ab.GetString(\"a_cl"; +Debug.ShouldStop(134217728); +c_principal.__c.runVoidMethod ("LogImpl","814680209",(RemoteObject.concat(RemoteObject.createImmutable("ins_abonosPendientes_"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_ab.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("a_cliente")))))),RemoteObject.createImmutable(""))),0); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 991;BA.debugLine="ab.Close"; +Debug.ShouldStop(1073741824); +_ab.runVoidMethod ("Close"); + BA.debugLineNum = 992;BA.debugLine="d.Close"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 996;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT RUTAA FROM RUT"; +Debug.ShouldStop(8); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT RUTAA FROM RUTAA")))); + BA.debugLineNum = 997;BA.debugLine="d.Position = 0"; +Debug.ShouldStop(16); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 998;BA.debugLine="Dim ab As Cursor = Starter.skmt.ExecQuery($\"SELEC"; +Debug.ShouldStop(32); +_ab = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_ab = 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 ABONOS where a_enviado is null and a_tipoabono IS NOT NULL")))));Debug.locals.put("ab", _ab);Debug.locals.put("ab", _ab); + BA.debugLineNum = 999;BA.debugLine="Log(ab.RowCount)"; +Debug.ShouldStop(64); +c_principal.__c.runVoidMethod ("LogImpl","814680220",BA.NumberToString(_ab.runMethod(true,"getRowCount")),0); + BA.debugLineNum = 1000;BA.debugLine="If ab.RowCount > 0 Then"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean(">",_ab.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1001;BA.debugLine="For i=0 To ab.RowCount -1"; +Debug.ShouldStop(256); +{ +final int step76 = 1; +final int limit76 = RemoteObject.solve(new RemoteObject[] {_ab.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step76 > 0 && _i <= limit76) || (step76 < 0 && _i >= limit76) ;_i = ((int)(0 + _i + step76)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 1002;BA.debugLine="ab.Position = i"; +Debug.ShouldStop(512); +_ab.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 1004;BA.debugLine="Dim ab1 As Cursor = Starter.skmt.ExecQuery($\"SE"; +Debug.ShouldStop(2048); +_ab1 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_ab1 = 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 a_abono from ABONOS where a_cliente = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_ab.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("a_cliente")))))),RemoteObject.createImmutable("' and a_tipoabono IS NOT NULL"))))));Debug.locals.put("ab1", _ab1);Debug.locals.put("ab1", _ab1); + BA.debugLineNum = 1005;BA.debugLine="ab1.Position = 0"; +Debug.ShouldStop(4096); +_ab1.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1007;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(16384); +c_principal._cmd = RemoteObject.createNew ("reparto_izca.keymon.lat.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd); + BA.debugLineNum = 1008;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(32768); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1009;BA.debugLine="cmd.Name = \"insert_abono_REP_IZCA_VN2\""; +Debug.ShouldStop(65536); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_abono_REP_IZCA_VN2")); + BA.debugLineNum = 1010;BA.debugLine="cmd.Parameters = Array As Object( ab.GetString("; +Debug.ShouldStop(131072); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {12},new Object[] {(_ab.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("a_usuario")))),(_ab.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("a_ruta")))),(_ab.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("a_cliente")))),(_ab.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("a_abono")))),(_ab.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("a_fecha")))),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),RemoteObject.createImmutable(("REPARTO")),(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("RUTAA")))),RemoteObject.createImmutable(("1")),(_ab.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TIPO_PAGO")))),(_ab.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("a_ticket")))),(_ab.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("a_numpago"))))})); + BA.debugLineNum = 1011;BA.debugLine="reqManager.ExecuteCommand(cmd , $\"ins_abonosPen"; +Debug.ShouldStop(262144); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(((RemoteObject.concat(RemoteObject.createImmutable("ins_abonosPendientes_"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_ab.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("a_cliente")))))),RemoteObject.createImmutable("")))))); + BA.debugLineNum = 1012;BA.debugLine="ab1.Close"; +Debug.ShouldStop(524288); +_ab1.runVoidMethod ("Close"); + BA.debugLineNum = 1013;BA.debugLine="Log($\"ins_abonosPendientes_${ab.GetString(\"a_cl"; +Debug.ShouldStop(1048576); +c_principal.__c.runVoidMethod ("LogImpl","814680234",(RemoteObject.concat(RemoteObject.createImmutable("ins_abonosPendientes_"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_ab.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("a_cliente")))))),RemoteObject.createImmutable(""))),0); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 1016;BA.debugLine="ab.Close"; +Debug.ShouldStop(8388608); +_ab.runVoidMethod ("Close"); + BA.debugLineNum = 1017;BA.debugLine="d.Close"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1041;BA.debugLine="c=Starter.skmt.ExecQuery(\"SELECT PE_TIPO, PE_RUTA"; +Debug.ShouldStop(65536); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT PE_TIPO, PE_RUTA, PE_CEDIS, PE_COSTO_TOT, PE_COSTOU, PE_CANT, PE_PRONOMBRE, PE_PROID, PE_CLIENTE, PE_FECHA, PE_USUARIO, PE_CLIENTEOR, PE_CAJAS, PE_BCAJAS, CONSECUTIVO, FECHA_PREV, RUTA_REP, PE_REGALO FROM PEDIDO")))); + BA.debugLineNum = 1042;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 = 1043;BA.debugLine="For i=0 To c.RowCount -1"; +Debug.ShouldStop(262144); +{ +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 = 1044;BA.debugLine="c.Position=i"; +Debug.ShouldStop(524288); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 1045;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(1048576); +c_principal._cmd = RemoteObject.createNew ("reparto_izca.keymon.lat.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd); + BA.debugLineNum = 1046;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1047;BA.debugLine="cmd.Name = \"insert_pedido_REP_IZCA\""; +Debug.ShouldStop(4194304); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_pedido_REP_IZCA")); + BA.debugLineNum = 1048;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\"P"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {18},new Object[] {(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_TIPO")))),(__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_CEDIS")))),(__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_CLIENTEOR")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CAJAS")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_BCAJAS")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CONSECUTIVO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("FECHA_PREV")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("RUTA_REP")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_REGALO"))))})); + BA.debugLineNum = 1049;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_pedido_Inm"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("ins_pedido_Inmtex")))); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 1051;BA.debugLine="c.Close"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + }; + BA.debugLineNum = 1115;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT PC_ID_PROD, PC"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT PC_ID_PROD, PC_ALMACEN, PC_RUTA, PC_FECHA FROM PICK_CIEGO")))); + BA.debugLineNum = 1116;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 = 1117;BA.debugLine="For i = 0 To c.RowCount - 1"; +Debug.ShouldStop(268435456); +{ +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 = 1118;BA.debugLine="c.Position = i"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 1119;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(1073741824); +c_principal._cmd = RemoteObject.createNew ("reparto_izca.keymon.lat.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd); + BA.debugLineNum = 1120;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1121;BA.debugLine="cmd.Name = \"select_HIST_PICKCIEGO_IZCA\" '"; +Debug.ShouldStop(1); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_HIST_PICKCIEGO_IZCA")); + BA.debugLineNum = 1122;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\"P"; +Debug.ShouldStop(2); +__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("PC_ID_PROD")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_ALMACEN")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_RUTA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_FECHA")))),(RemoteObject.createImmutable("REPARTO"))})); + BA.debugLineNum = 1123;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, $\"PICK_C_${c.G"; +Debug.ShouldStop(4); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)(((RemoteObject.concat(RemoteObject.createImmutable("PICK_C_"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_ID_PROD")))))),RemoteObject.createImmutable("")))))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 1126;BA.debugLine="c.close"; +Debug.ShouldStop(32); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1129;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT VEINTE, DIEZ,"; +Debug.ShouldStop(256); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT VEINTE, DIEZ, CINCO, DOS, PESO, CENTAVO, TOTAL FROM TABULADOR_MONEDAS")))); + BA.debugLineNum = 1130;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT RUTAA FROM RUT"; +Debug.ShouldStop(512); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT RUTAA FROM RUTAA")))); + BA.debugLineNum = 1131;BA.debugLine="b = Starter.skmt.ExecQuery(\"SELECT ID_ALMACEN FRO"; +Debug.ShouldStop(1024); +__ref.getField(false,"_b" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT ID_ALMACEN FROM CAT_ALMACEN")))); + BA.debugLineNum = 1132;BA.debugLine="f = Starter.skmt.ExecQuery(\"SELECT HVD_FECHA FROM"; +Debug.ShouldStop(2048); +__ref.getField(false,"_f" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT HVD_FECHA FROM HIST_VENTAS")))); + BA.debugLineNum = 1133;BA.debugLine="d.Position = 0"; +Debug.ShouldStop(4096); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1134;BA.debugLine="b.Position = 0"; +Debug.ShouldStop(8192); +__ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1135;BA.debugLine="f.Position = 0"; +Debug.ShouldStop(16384); +__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1136;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 = 1137;BA.debugLine="For i = 0 To c.RowCount - 1"; +Debug.ShouldStop(65536); +{ +final int step123 = 1; +final int limit123 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step123 > 0 && _i <= limit123) || (step123 < 0 && _i >= limit123) ;_i = ((int)(0 + _i + step123)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 1138;BA.debugLine="c.Position=i"; +Debug.ShouldStop(131072); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 1139;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(262144); +c_principal._cmd = RemoteObject.createNew ("reparto_izca.keymon.lat.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd); + BA.debugLineNum = 1140;BA.debugLine="Dim fechatabulador() As String = Regex.Split(\""; +Debug.ShouldStop(524288); +_fechatabulador = c_principal.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString(" ")),(Object)(__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_FECHA")))));Debug.locals.put("fechatabulador", _fechatabulador);Debug.locals.put("fechatabulador", _fechatabulador); + BA.debugLineNum = 1142;BA.debugLine="Dim fechatabulador3 As String = fechatabulador("; +Debug.ShouldStop(2097152); +_fechatabulador3 = _fechatabulador.getArrayElement(true,BA.numberCast(int.class, 0));Debug.locals.put("fechatabulador3", _fechatabulador3);Debug.locals.put("fechatabulador3", _fechatabulador3); + BA.debugLineNum = 1143;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1144;BA.debugLine="cmd.Name = \"insert_tabulador_monedas_IZCA\""; +Debug.ShouldStop(8388608); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_tabulador_monedas_IZCA")); + BA.debugLineNum = 1145;BA.debugLine="cmd.Parameters = Array As Object(d.GetString(\"R"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {9},new Object[] {(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("RUTAA")))),(__ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ID_ALMACEN")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("VEINTE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("DIEZ")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CINCO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("DOS")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PESO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CENTAVO")))),(_fechatabulador3)})); + BA.debugLineNum = 1146;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_tabulador_"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("ins_tabulador_mon")))); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 1148;BA.debugLine="c.Close"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1149;BA.debugLine="d.Close"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1150;BA.debugLine="b.Close"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_b" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1151;BA.debugLine="f.Close"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_f" /*RemoteObject*/ ).runVoidMethod ("Close"); + }; + BA.debugLineNum = 1154;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT IFNULL(HVD_REC"; +Debug.ShouldStop(2); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT, HVD_CLIENTE, HVD_PROID, HVD_FECHA, HVD_CODPROMO, HVD_NUM_TICKET, HVD_CANT, CONSECUTIVO, BCAJAS, CANTC FROM HIST_VENTAS")))); + BA.debugLineNum = 1155;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1156;BA.debugLine="For i=0 To c.RowCount -1"; +Debug.ShouldStop(8); +{ +final int step140 = 1; +final int limit140 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step140 > 0 && _i <= limit140) || (step140 < 0 && _i >= limit140) ;_i = ((int)(0 + _i + step140)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 1157;BA.debugLine="c.Position = i"; +Debug.ShouldStop(16); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 1158;BA.debugLine="Log(c.GetString(\"HVD_CLIENTE\"))"; +Debug.ShouldStop(32); +c_principal.__c.runVoidMethod ("LogImpl","814680379",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CLIENTE"))),0); + BA.debugLineNum = 1159;BA.debugLine="Private d4 As Cursor = Starter.skmt.ExecQuery($"; +Debug.ShouldStop(64); +_d4 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_d4 = 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 CAT_CL_RUTA FROM kmt_info WHERE CAT_CL_CODIGO = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CLIENTE")))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("d4", _d4);Debug.locals.put("d4", _d4); + BA.debugLineNum = 1160;BA.debugLine="d4.Position = 0"; +Debug.ShouldStop(128); +_d4.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1161;BA.debugLine="Log(d4.GetString(\"CAT_CL_RUTA\"))"; +Debug.ShouldStop(256); +c_principal.__c.runVoidMethod ("LogImpl","814680382",_d4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA"))),0); + BA.debugLineNum = 1162;BA.debugLine="Private d5 As Cursor = Starter.skmt.ExecQuery("; +Debug.ShouldStop(512); +_d5 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_d5 = 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 IFNULL(Sum(PE_CANT),0) AS PE_CANT FROM PEDIDO WHERE PE_CLIENTEOR = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CLIENTE")))))),RemoteObject.createImmutable("' AND PE_PROID = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID")))))),RemoteObject.createImmutable("' AND CONSECUTIVO = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CONSECUTIVO")))))),RemoteObject.createImmutable("' and PE_TIPO NOT IN ('DANADO','FALTANTE','SOBRANTE') "))))));Debug.locals.put("d5", _d5);Debug.locals.put("d5", _d5); + BA.debugLineNum = 1163;BA.debugLine="d5.Position = 0"; +Debug.ShouldStop(1024); +_d5.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1164;BA.debugLine="Private restacant As String = d5.GetString(\"PE_"; +Debug.ShouldStop(2048); +_restacant = _d5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")));Debug.locals.put("restacant", _restacant);Debug.locals.put("restacant", _restacant); + BA.debugLineNum = 1165;BA.debugLine="d5.Close"; +Debug.ShouldStop(4096); +_d5.runVoidMethod ("Close"); + BA.debugLineNum = 1167;BA.debugLine="Dim fecha1() As String = Regex.Split(\" \", c.Get"; +Debug.ShouldStop(16384); +_fecha1 = c_principal.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString(" ")),(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_FECHA")))));Debug.locals.put("fecha1", _fecha1);Debug.locals.put("fecha1", _fecha1); + BA.debugLineNum = 1169;BA.debugLine="Dim fecha3 As String = fecha1(0)"; +Debug.ShouldStop(65536); +_fecha3 = _fecha1.getArrayElement(true,BA.numberCast(int.class, 0));Debug.locals.put("fecha3", _fecha3);Debug.locals.put("fecha3", _fecha3); + BA.debugLineNum = 1170;BA.debugLine="Log(fecha3)"; +Debug.ShouldStop(131072); +c_principal.__c.runVoidMethod ("LogImpl","814680391",_fecha3,0); + BA.debugLineNum = 1171;BA.debugLine="Dim hora As String = fecha1(1)"; +Debug.ShouldStop(262144); +_hora = _fecha1.getArrayElement(true,BA.numberCast(int.class, 1));Debug.locals.put("hora", _hora);Debug.locals.put("hora", _hora); + BA.debugLineNum = 1174;BA.debugLine="Dim sDate, sTime As String"; +Debug.ShouldStop(2097152); +_sdate = RemoteObject.createImmutable("");Debug.locals.put("sDate", _sdate); +_stime = RemoteObject.createImmutable("");Debug.locals.put("sTime", _stime); + BA.debugLineNum = 1175;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; +Debug.ShouldStop(4194304); +c_principal.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("dd/MM/yyyy")); + BA.debugLineNum = 1176;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; +Debug.ShouldStop(8388608); +c_principal.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HH:mm:ss")); + BA.debugLineNum = 1177;BA.debugLine="sDate = DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(16777216); +_sdate = c_principal.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(c_principal.__c.getField(false,"DateTime").runMethod(true,"getNow")));Debug.locals.put("sDate", _sdate); + BA.debugLineNum = 1178;BA.debugLine="sTime = DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(33554432); +_stime = c_principal.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(c_principal.__c.getField(false,"DateTime").runMethod(true,"getNow")));Debug.locals.put("sTime", _stime); + BA.debugLineNum = 1179;BA.debugLine="If c.GetString(\"HVD_RECHAZOCANT\") <> \"0\" Then"; +Debug.ShouldStop(67108864); +if (RemoteObject.solveBoolean("!",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))),BA.ObjectToString("0"))) { + BA.debugLineNum = 1180;BA.debugLine="Log((c.GetString(\"HVD_RECHAZOCANT\")-restacant)"; +Debug.ShouldStop(134217728); +c_principal.__c.runVoidMethod ("LogImpl","814680401",BA.NumberToString((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT")))),BA.numberCast(double.class, _restacant)}, "-",1, 0))),0); + BA.debugLineNum = 1181;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1182;BA.debugLine="cmd.Name = \"update_HVD_izcarep2\""; +Debug.ShouldStop(536870912); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("update_HVD_izcarep2")); + BA.debugLineNum = 1183;BA.debugLine="cmd.Parameters = Array As String(c.GetString(\""; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,(RemoteObject.createNewArray("String",new int[] {12},new Object[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))),RemoteObject.concat(_sdate,RemoteObject.createImmutable(" "),_stime),BA.NumberToString(1),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CLIENTE"))),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID"))),RemoteObject.concat(_fecha3,RemoteObject.createImmutable(" "),_hora),_d4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA"))),__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("HVD_CODPROMO"))),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_NUM_TICKET"))),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))}))); + BA.debugLineNum = 1184;BA.debugLine="reqManager.ExecuteCommand(cmd, \"update_hvd\")"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("update_hvd")))); + }else { + BA.debugLineNum = 1186;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(2); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1187;BA.debugLine="cmd.Name = \"update_HVD_izcarep2\""; +Debug.ShouldStop(4); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("update_HVD_izcarep2")); + BA.debugLineNum = 1188;BA.debugLine="Log( c.GetString(\"CANTC\")& c.GetString(\"HVD_CL"; +Debug.ShouldStop(8); +c_principal.__c.runVoidMethod ("LogImpl","814680409",RemoteObject.concat(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CANTC"))),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CLIENTE"))),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID"))),_fecha3,RemoteObject.createImmutable(" "),_hora,_d4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA"))),__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("HVD_CODPROMO"))),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_NUM_TICKET"))),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),0); + BA.debugLineNum = 1189;BA.debugLine="cmd.Parameters = Array As String(\"\",\"\",\"\", c.G"; +Debug.ShouldStop(16); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,(RemoteObject.createNewArray("String",new int[] {12},new Object[] {BA.ObjectToString(""),BA.ObjectToString(""),BA.ObjectToString(""),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CLIENTE"))),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID"))),RemoteObject.concat(_fecha3,RemoteObject.createImmutable(" "),_hora),_d4.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA"))),__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("HVD_CODPROMO"))),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_NUM_TICKET"))),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))}))); + BA.debugLineNum = 1190;BA.debugLine="reqManager.ExecuteCommand(cmd, \"update_hvd\")"; +Debug.ShouldStop(32); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("update_hvd")))); + }; + BA.debugLineNum = 1192;BA.debugLine="d4.Close"; +Debug.ShouldStop(128); +_d4.runVoidMethod ("Close"); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 1195;BA.debugLine="c.Close"; +Debug.ShouldStop(1024); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1198;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT MIL, QUINIENTO"; +Debug.ShouldStop(8192); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT MIL, QUINIENTOS, DOCIENTOS, CIEN, CINCUENTA, VEINTE FROM TABULADOR_BILLETES")))); + BA.debugLineNum = 1199;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT RUTAA FROM RUT"; +Debug.ShouldStop(16384); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT RUTAA FROM RUTAA")))); + BA.debugLineNum = 1200;BA.debugLine="b = Starter.skmt.ExecQuery(\"SELECT ID_ALMACEN FRO"; +Debug.ShouldStop(32768); +__ref.getField(false,"_b" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT ID_ALMACEN FROM CAT_ALMACEN")))); + BA.debugLineNum = 1201;BA.debugLine="f = Starter.skmt.ExecQuery(\"SELECT HVD_FECHA FROM"; +Debug.ShouldStop(65536); +__ref.getField(false,"_f" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT HVD_FECHA FROM HIST_VENTAS")))); + BA.debugLineNum = 1202;BA.debugLine="d.Position = 0"; +Debug.ShouldStop(131072); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1203;BA.debugLine="b.Position = 0"; +Debug.ShouldStop(262144); +__ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1204;BA.debugLine="f.Position = 0"; +Debug.ShouldStop(524288); +__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1205;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 = 1206;BA.debugLine="For i = 0 To c.RowCount - 1"; +Debug.ShouldStop(2097152); +{ +final int step184 = 1; +final int limit184 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step184 > 0 && _i <= limit184) || (step184 < 0 && _i >= limit184) ;_i = ((int)(0 + _i + step184)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 1207;BA.debugLine="c.Position=i"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 1208;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(8388608); +c_principal._cmd = RemoteObject.createNew ("reparto_izca.keymon.lat.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd); + BA.debugLineNum = 1213;BA.debugLine="Dim fechatabulador() As String = Regex.Split(\""; +Debug.ShouldStop(268435456); +_fechatabulador = c_principal.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString(" ")),(Object)(__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_FECHA")))));Debug.locals.put("fechatabulador", _fechatabulador);Debug.locals.put("fechatabulador", _fechatabulador); + BA.debugLineNum = 1215;BA.debugLine="Dim fechatabulador3 As String = fechatabulador("; +Debug.ShouldStop(1073741824); +_fechatabulador3 = _fechatabulador.getArrayElement(true,BA.numberCast(int.class, 0));Debug.locals.put("fechatabulador3", _fechatabulador3);Debug.locals.put("fechatabulador3", _fechatabulador3); + BA.debugLineNum = 1217;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(1); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1218;BA.debugLine="cmd.Name = \"insert_tabulador_billetes_IZCA\""; +Debug.ShouldStop(2); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_tabulador_billetes_IZCA")); + BA.debugLineNum = 1219;BA.debugLine="cmd.Parameters = Array As Object(b.GetString(\"I"; +Debug.ShouldStop(4); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {9},new Object[] {(__ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ID_ALMACEN")))),(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("RUTAA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("MIL")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("QUINIENTOS")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("DOCIENTOS")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CIEN")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CINCUENTA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("VEINTE")))),(_fechatabulador3)})); + BA.debugLineNum = 1220;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_tabulador_"; +Debug.ShouldStop(8); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("ins_tabulador_bill")))); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 1222;BA.debugLine="c.Close"; +Debug.ShouldStop(32); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1223;BA.debugLine="d.Close"; +Debug.ShouldStop(64); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1224;BA.debugLine="b.Close"; +Debug.ShouldStop(128); +__ref.getField(false,"_b" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1225;BA.debugLine="f.Close"; +Debug.ShouldStop(256); +__ref.getField(false,"_f" /*RemoteObject*/ ).runVoidMethod ("Close"); + }; + BA.debugLineNum = 1229;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(4096); +c_principal._cmd = RemoteObject.createNew ("reparto_izca.keymon.lat.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd); + BA.debugLineNum = 1230;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(8192); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1231;BA.debugLine="cmd.Name = \"insert_drop_rep_IZCA2\""; +Debug.ShouldStop(16384); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_drop_rep_IZCA2")); + BA.debugLineNum = 1232;BA.debugLine="cmd.Parameters = Array As Object(Subs.dameUsuario"; +Debug.ShouldStop(32768); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {8},new Object[] {(c_principal._subs.runMethod(true,"_dameusuariodedb" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_l_ctast" /*RemoteObject*/ ).runMethod(true,"getText")),(c_principal._subs.runMethod(false,"_traeentregados" /*RemoteObject*/ ,__ref.getField(false, "ba")).getObject()),(c_principal._subs.runMethod(false,"_traerechazados" /*RemoteObject*/ ,__ref.getField(false, "ba")).getObject()),RemoteObject.createImmutable(("ENVIO")),(c_principal.__c.getField(false,"Application").runMethod(true,"getVersionName"))})); + BA.debugLineNum = 1233;BA.debugLine="reqManager.ExecuteCommand(cmd , \"inst_drop\")"; +Debug.ShouldStop(65536); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("inst_drop")))); + BA.debugLineNum = 1234;BA.debugLine="ToastMessageShow(\"Se Actualizaran los datos, Este"; +Debug.ShouldStop(131072); +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 = 1235;BA.debugLine="End Sub"; +Debug.ShouldStop(262144); +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",11,__ref.getField(false, "ba"),__ref,135); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "c_principal","initialize", __ref, _ba);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); + BA.debugLineNum = 135;BA.debugLine="Public Sub Initialize As Object"; +Debug.ShouldStop(64); + BA.debugLineNum = 136;BA.debugLine="Return Me"; +Debug.ShouldStop(128); +if (true) return __ref; + BA.debugLineNum = 137;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",11,__ref.getField(false, "ba"),__ref,2309); +if (RapidSub.canDelegate("inv_click")) { return __ref.runUserSub(false, "c_principal","inv_click", __ref);} + BA.debugLineNum = 2309;BA.debugLine="Sub inv_Click"; +Debug.ShouldStop(16); + BA.debugLineNum = 2310;BA.debugLine="ToastMessageShow(\"Se Actualizaran los datos, Este"; +Debug.ShouldStop(32); +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 = 2311;BA.debugLine="End Sub"; +Debug.ShouldStop(64); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _isconnectedtointernet(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("IsConnectedToInternet (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,786); +if (RapidSub.canDelegate("isconnectedtointernet")) { return __ref.runUserSub(false, "c_principal","isconnectedtointernet", __ref);} +RemoteObject _r = RemoteObject.declareNull("anywheresoftware.b4a.agraham.reflection.Reflection"); + BA.debugLineNum = 786;BA.debugLine="Sub IsConnectedToInternet As Boolean 'ignore"; +Debug.ShouldStop(131072); + BA.debugLineNum = 787;BA.debugLine="Dim r As Reflector"; +Debug.ShouldStop(262144); +_r = RemoteObject.createNew ("anywheresoftware.b4a.agraham.reflection.Reflection");Debug.locals.put("r", _r); + BA.debugLineNum = 788;BA.debugLine="r.Target = r.GetContext"; +Debug.ShouldStop(524288); +_r.setField ("Target",(_r.runMethod(false,"GetContext",__ref.getField(false, "ba")))); + BA.debugLineNum = 789;BA.debugLine="r.Target = r.RunMethod2(\"getSystemService\", \"conn"; +Debug.ShouldStop(1048576); +_r.setField ("Target",_r.runMethod(false,"RunMethod2",(Object)(BA.ObjectToString("getSystemService")),(Object)(BA.ObjectToString("connectivity")),(Object)(RemoteObject.createImmutable("java.lang.String")))); + BA.debugLineNum = 790;BA.debugLine="r.Target = r.RunMethod(\"getActiveNetworkInfo\")"; +Debug.ShouldStop(2097152); +_r.setField ("Target",_r.runMethod(false,"RunMethod",(Object)(RemoteObject.createImmutable("getActiveNetworkInfo")))); + BA.debugLineNum = 791;BA.debugLine="If r.Target <> Null Then"; +Debug.ShouldStop(4194304); +if (RemoteObject.solveBoolean("N",_r.getField(false,"Target"))) { + BA.debugLineNum = 792;BA.debugLine="Return r.RunMethod(\"isConnectedOrConnecting\")"; +Debug.ShouldStop(8388608); +if (true) return BA.ObjectToBoolean(_r.runMethod(false,"RunMethod",(Object)(RemoteObject.createImmutable("isConnectedOrConnecting")))); + }; + BA.debugLineNum = 794;BA.debugLine="Return False"; +Debug.ShouldStop(33554432); +if (true) return c_principal.__c.getField(true,"False"); + BA.debugLineNum = 795;BA.debugLine="End Sub"; +Debug.ShouldStop(67108864); +return RemoteObject.createImmutable(false); +} +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",11,__ref.getField(false, "ba"),__ref,1586); +if (RapidSub.canDelegate("jobdone")) { return __ref.runUserSub(false, "c_principal","jobdone", __ref, _job);} +RemoteObject _result = RemoteObject.declareNull("reparto_izca.keymon.lat.dbrequestmanager._dbresult"); +RemoteObject _records = null; +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_bcredito = RemoteObject.createImmutable(""); +RemoteObject _nota = RemoteObject.createImmutable(""); +RemoteObject _cliente = RemoteObject.createImmutable(""); +RemoteObject _saldo_pendiente = RemoteObject.createImmutable(""); +RemoteObject _detalle = RemoteObject.createImmutable(""); +RemoteObject _conteo_cat = RemoteObject.createImmutable(""); +RemoteObject _clientes = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _detalleventa = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _id = RemoteObject.createImmutable(""); +RemoteObject _cuenta = 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_tipoprod = RemoteObject.createImmutable(0); +RemoteObject _cat_gp_iniciativa = RemoteObject.createImmutable(0); +RemoteObject _cat_dp_precio4 = RemoteObject.createImmutable(0f); +RemoteObject _cat_dp_conversion1 = RemoteObject.createImmutable(0); +RemoteObject _conversion = RemoteObject.createImmutable(""); +RemoteObject _precioconver = 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 _hvd_estatus = RemoteObject.createImmutable(""); +RemoteObject _hv_cliente = RemoteObject.createImmutable(""); +RemoteObject _hv_long = RemoteObject.createImmutable(""); +RemoteObject _hv_lat = RemoteObject.createImmutable(""); +RemoteObject _consecutivo = 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 _hvd_codpromo = RemoteObject.createImmutable(""); +RemoteObject _hvd_proid = RemoteObject.createImmutable(""); +RemoteObject _hvd_num_ticket = RemoteObject.createImmutable(""); +RemoteObject _hvd_num_registro = RemoteObject.createImmutable(""); +RemoteObject _hvd_rechazo = RemoteObject.createImmutable(""); +RemoteObject _hvd_bcredito = RemoteObject.createImmutable(""); +RemoteObject _bcajas = RemoteObject.createImmutable(""); +RemoteObject _cantc = RemoteObject.createImmutable(""); +RemoteObject _tc = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _cat_va_descripcion = RemoteObject.createImmutable(""); +RemoteObject _cat_va_valor = RemoteObject.createImmutable(""); +RemoteObject _tmp_monto_pagare = RemoteObject.createImmutable(""); +RemoteObject _tmp_cliente = 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 _lat = RemoteObject.createImmutable(0); +RemoteObject _lon = RemoteObject.createImmutable(0); +RemoteObject _k = RemoteObject.createImmutable(""); +Debug.locals.put("Job", _job); + BA.debugLineNum = 1586;BA.debugLine="Sub JobDone(Job As HttpJob)"; +Debug.ShouldStop(131072); + BA.debugLineNum = 1588;BA.debugLine="If Job.Success = False Then"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_success" /*RemoteObject*/ ),c_principal.__c.getField(true,"False"))) { + BA.debugLineNum = 1589;BA.debugLine="LogColor(\"** \" & Job.Tag & \" Error: \" & Job.Erro"; +Debug.ShouldStop(1048576); +c_principal.__c.runVoidMethod ("LogImpl","814876675",RemoteObject.concat(RemoteObject.createImmutable("** "),_job.getField(false,"_tag" /*RemoteObject*/ ),RemoteObject.createImmutable(" Error: "),_job.getField(true,"_errormessage" /*RemoteObject*/ )),c_principal.__c.getField(false,"Colors").getField(true,"Red")); + }else { + BA.debugLineNum = 1592;BA.debugLine="LogColor(\"JobDone: '\" & reqManager.HandleJob(Job"; +Debug.ShouldStop(8388608); +c_principal.__c.runVoidMethod ("LogImpl","814876678",RemoteObject.concat(RemoteObject.createImmutable("JobDone: '"),__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job)).getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable("' - Registros: "),__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job)).getField(false,"Rows" /*RemoteObject*/ ).runMethod(true,"getSize")),c_principal.__c.getField(false,"Colors").getField(true,"Green")); + BA.debugLineNum = 1593;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(16777216); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 1594;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +Debug.ShouldStop(33554432); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result); + BA.debugLineNum = 1595;BA.debugLine="If result.Tag = \"kmt_datos\" Then 'query tag"; +Debug.ShouldStop(67108864); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("kmt_datos")))) { + BA.debugLineNum = 1596;BA.debugLine="If reqs.IndexOf(\"kmt_datos\") > -1 Then"; +Debug.ShouldStop(134217728); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_reqs" /*RemoteObject*/ ).runMethod(true,"IndexOf",(Object)((RemoteObject.createImmutable("kmt_datos")))),BA.numberCast(double.class, -(double) (0 + 1)))) { + BA.debugLineNum = 1597;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"kmt_datos\"))"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_reqs" /*RemoteObject*/ ).runVoidMethod ("RemoveAt",(Object)(__ref.getField(false,"_reqs" /*RemoteObject*/ ).runMethod(true,"IndexOf",(Object)((RemoteObject.createImmutable("kmt_datos")))))); + }; + BA.debugLineNum = 1600;BA.debugLine="Starter.skmt.BeginTransaction"; +Debug.ShouldStop(-2147483648); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("BeginTransaction"); + BA.debugLineNum = 1602;BA.debugLine="For Each records() As Object In result.Rows"; +Debug.ShouldStop(2); +{ +final RemoteObject group12 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen12 = group12.runMethod(true,"getSize").get() +;int index12 = 0; +; +for (; index12 < groupLen12;index12++){ +_records = (group12.runMethod(false,"Get",index12));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 1603;BA.debugLine="Dim CAT_CL_CODIGO As String = records(result."; +Debug.ShouldStop(4); +_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 = 1604;BA.debugLine="Dim CAT_CL_RUTA As String = records(result.Co"; +Debug.ShouldStop(8); +_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 = 1605;BA.debugLine="Dim CAT_CL_NOMBRE As String = records(result."; +Debug.ShouldStop(16); +_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 = 1606;BA.debugLine="Dim CAT_CL_ATIENDE1 As String = records(resul"; +Debug.ShouldStop(32); +_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 = 1607;BA.debugLine="Dim CAT_CL_ATIENTE2 As String = records(resul"; +Debug.ShouldStop(64); +_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 = 1608;BA.debugLine="Dim CAT_CL_TELEFONO As String = records(resul"; +Debug.ShouldStop(128); +_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 = 1609;BA.debugLine="Dim CAT_CL_EMAIL As String = records(result.C"; +Debug.ShouldStop(256); +_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 = 1610;BA.debugLine="Dim CAT_CL_CALLE As String = records(result.C"; +Debug.ShouldStop(512); +_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 = 1611;BA.debugLine="Dim CAT_CL_NOEXT As String = records(result.C"; +Debug.ShouldStop(1024); +_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 = 1612;BA.debugLine="Dim CAT_CL_NOINT As String = records(result.C"; +Debug.ShouldStop(2048); +_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 = 1613;BA.debugLine="Dim CAT_CL_CALLE1 As String = records(result."; +Debug.ShouldStop(4096); +_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 = 1614;BA.debugLine="Dim CAT_CL_CALLE2 As String = records(result."; +Debug.ShouldStop(8192); +_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 = 1615;BA.debugLine="Dim CAT_CL_COLONIA As String = records(result"; +Debug.ShouldStop(16384); +_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 = 1616;BA.debugLine="Dim CAT_CL_MUNI As String = records(result.Co"; +Debug.ShouldStop(32768); +_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 = 1617;BA.debugLine="Dim CAT_CL_EDO As String = records(result.Col"; +Debug.ShouldStop(65536); +_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 = 1618;BA.debugLine="Dim CAT_CL_CP As String = records(result.Colu"; +Debug.ShouldStop(131072); +_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 = 1619;BA.debugLine="Dim CAT_CL_LONG As String = records(result.Co"; +Debug.ShouldStop(262144); +_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 = 1620;BA.debugLine="Dim CAT_CL_LAT As String = records(result.Col"; +Debug.ShouldStop(524288); +_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 = 1621;BA.debugLine="Dim CAT_CL_BCREDITO As String = records(resul"; +Debug.ShouldStop(1048576); +_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 = 1624;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO kmt_i"; +Debug.ShouldStop(8388608); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO kmt_info(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_BCREDITO, gestion) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,0)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {19},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_bcredito)}))))); + } +}Debug.locals.put("records", _records); +; + BA.debugLineNum = 1626;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO kmt_in"; +Debug.ShouldStop(33554432); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO kmt_info(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_BCREDITO, gestion,SECUENCIA) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,0,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {20},new Object[] {RemoteObject.createImmutable((63403)),RemoteObject.createImmutable((1000)),RemoteObject.createImmutable(("PRODUCTO DAÑADO")),RemoteObject.createImmutable(("")),RemoteObject.createImmutable(("")),RemoteObject.createImmutable(("")),RemoteObject.createImmutable(("")),RemoteObject.createImmutable(("")),RemoteObject.createImmutable(("")),RemoteObject.createImmutable(("")),RemoteObject.createImmutable(("")),RemoteObject.createImmutable(("")),RemoteObject.createImmutable(("")),RemoteObject.createImmutable(("")),RemoteObject.createImmutable(("")),RemoteObject.createImmutable(("")),RemoteObject.createImmutable(("-98.8357694")),RemoteObject.createImmutable(("19.6906052")),RemoteObject.createImmutable(("0")),(RemoteObject.createImmutable("1"))}))))); + BA.debugLineNum = 1628;BA.debugLine="Starter.skmt.TransactionSuccessful"; +Debug.ShouldStop(134217728); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("TransactionSuccessful"); + BA.debugLineNum = 1629;BA.debugLine="Starter.skmt.EndTransaction"; +Debug.ShouldStop(268435456); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("EndTransaction"); + BA.debugLineNum = 1630;BA.debugLine="Listo1 = 1"; +Debug.ShouldStop(536870912); +__ref.setField ("_listo1" /*RemoteObject*/ ,BA.NumberToString(1)); + BA.debugLineNum = 1631;BA.debugLine="If Listo1 = 1 And Listo3 = 1 Then"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_listo1" /*RemoteObject*/ ),BA.NumberToString(1)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_listo3" /*RemoteObject*/ ),BA.NumberToString(1))) { + BA.debugLineNum = 1632;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True"; +Debug.ShouldStop(-2147483648); +c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Datos Actualizados.")),(Object)(c_principal.__c.getField(true,"True"))); + BA.debugLineNum = 1633;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(1); +__ref.runClassMethod (reparto_izca.keymon.lat.c_principal.class, "_b4xpage_appear" /*RemoteObject*/ ); + BA.debugLineNum = 1634;BA.debugLine="img2.Visible = False"; +Debug.ShouldStop(2); +__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 1635;BA.debugLine="EJECUTANDO=0"; +Debug.ShouldStop(4); +__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(0)); + }; + BA.debugLineNum = 1639;BA.debugLine="t8.Initialize(\"t8\", 20000) ' 1000 = 1 second"; +Debug.ShouldStop(64); +__ref.getField(false,"_t8" /*RemoteObject*/ ).runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(BA.ObjectToString("t8")),(Object)(BA.numberCast(long.class, 20000))); + BA.debugLineNum = 1640;BA.debugLine="t8.Enabled = True"; +Debug.ShouldStop(128); +__ref.getField(false,"_t8" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_principal.__c.getField(true,"True")); + }; + }; + BA.debugLineNum = 1645;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 1646;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +Debug.ShouldStop(8192); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result); + BA.debugLineNum = 1647;BA.debugLine="If result.Tag = \"select_abonosp\" Then 'query ta"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("select_abonosp")))) { + BA.debugLineNum = 1648;BA.debugLine="For Each records() As Object In result.Rows"; +Debug.ShouldStop(32768); +{ +final RemoteObject group51 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen51 = group51.runMethod(true,"getSize").get() +;int index51 = 0; +; +for (; index51 < groupLen51;index51++){ +_records = (group51.runMethod(false,"Get",index51));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 1649;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 = 1650;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 = 1651;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 = 1653;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO ABONO"; +Debug.ShouldStop(1048576); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO ABONOSP(NOTA,CLIENTE,SALDO_PENDIENTE) VALUES (?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(_nota),(_cliente),(_saldo_pendiente)}))))); + } +}Debug.locals.put("records", _records); +; + }; + }; + BA.debugLineNum = 1658;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 1659;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +Debug.ShouldStop(67108864); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result); + BA.debugLineNum = 1660;BA.debugLine="If result.Tag = \"CONTEO_DATOS\" Then 'query tag"; +Debug.ShouldStop(134217728); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("CONTEO_DATOS")))) { + BA.debugLineNum = 1661;BA.debugLine="For Each records() As Object In result.Rows"; +Debug.ShouldStop(268435456); +{ +final RemoteObject group62 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen62 = group62.runMethod(true,"getSize").get() +;int index62 = 0; +; +for (; index62 < groupLen62;index62++){ +_records = (group62.runMethod(false,"Get",index62));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 1662;BA.debugLine="Dim DETALLE As String = records(result.Column"; +Debug.ShouldStop(536870912); +_detalle = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("DETALE")))))));Debug.locals.put("DETALLE", _detalle);Debug.locals.put("DETALLE", _detalle); + BA.debugLineNum = 1663;BA.debugLine="Dim CONTEO_CAT As String = records(result.Col"; +Debug.ShouldStop(1073741824); +_conteo_cat = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CONTEO_CAT")))))));Debug.locals.put("CONTEO_CAT", _conteo_cat);Debug.locals.put("CONTEO_CAT", _conteo_cat); + } +}Debug.locals.put("records", _records); +; + BA.debugLineNum = 1668;BA.debugLine="Dim clientes As Cursor = Starter.skmt.ExecQuer"; +Debug.ShouldStop(8); +_clientes = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_clientes = 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 clientes from kmt_info WHERE CAT_CL_CODIGO <> 63403"))));Debug.locals.put("clientes", _clientes);Debug.locals.put("clientes", _clientes); + BA.debugLineNum = 1669;BA.debugLine="clientes.Position = 0"; +Debug.ShouldStop(16); +_clientes.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1671;BA.debugLine="Dim detalleventa As Cursor = Starter.skmt.Exec"; +Debug.ShouldStop(64); +_detalleventa = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_detalleventa = 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 detalle from hist_ventas"))));Debug.locals.put("detalleventa", _detalleventa);Debug.locals.put("detalleventa", _detalleventa); + BA.debugLineNum = 1672;BA.debugLine="detalleventa.Position = 0"; +Debug.ShouldStop(128); +_detalleventa.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1674;BA.debugLine="Log(CONTEO_CAT)"; +Debug.ShouldStop(512); +c_principal.__c.runVoidMethod ("LogImpl","814876760",_conteo_cat,0); + BA.debugLineNum = 1675;BA.debugLine="Log(clientes.GetString(\"clientes\"))"; +Debug.ShouldStop(1024); +c_principal.__c.runVoidMethod ("LogImpl","814876761",_clientes.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("clientes"))),0); + BA.debugLineNum = 1676;BA.debugLine="If clientes.GetString(\"clientes\") = CONTEO_CAT"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean("=",_clientes.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("clientes"))),_conteo_cat)) { + BA.debugLineNum = 1677;BA.debugLine="PB_carga2.Progress = 100"; +Debug.ShouldStop(4096); +__ref.getField(false,"_pb_carga2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 100)); + BA.debugLineNum = 1678;BA.debugLine="l_carga2.Text = \"LISTO\""; +Debug.ShouldStop(8192); +__ref.getField(false,"_l_carga2" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("LISTO")); + }else { + }; + BA.debugLineNum = 1683;BA.debugLine="Log(DETALLE)"; +Debug.ShouldStop(262144); +c_principal.__c.runVoidMethod ("LogImpl","814876769",_detalle,0); + BA.debugLineNum = 1684;BA.debugLine="Log(detalleventa.GetString(\"detalle\"))"; +Debug.ShouldStop(524288); +c_principal.__c.runVoidMethod ("LogImpl","814876770",_detalleventa.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("detalle"))),0); + BA.debugLineNum = 1685;BA.debugLine="If detalleventa.GetString(\"detalle\") = DETALLE"; +Debug.ShouldStop(1048576); +if (RemoteObject.solveBoolean("=",_detalleventa.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("detalle"))),_detalle)) { + BA.debugLineNum = 1686;BA.debugLine="PB_carga.Progress = 100"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_pb_carga" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 100)); + BA.debugLineNum = 1687;BA.debugLine="L_carga.Text = \"LISTO\""; +Debug.ShouldStop(4194304); +__ref.getField(false,"_l_carga" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("LISTO")); + }else { + }; + BA.debugLineNum = 1692;BA.debugLine="clientes.Close"; +Debug.ShouldStop(134217728); +_clientes.runVoidMethod ("Close"); + BA.debugLineNum = 1693;BA.debugLine="detalleventa.Close"; +Debug.ShouldStop(268435456); +_detalleventa.runVoidMethod ("Close"); + }; + }; + BA.debugLineNum = 1698;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 1699;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +Debug.ShouldStop(4); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result); + BA.debugLineNum = 1700;BA.debugLine="If result.Tag.As(String).IndexOf(\"PICK_C_\") > -"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean(">",(BA.ObjectToString(_result.getField(false,"Tag" /*RemoteObject*/ ))).runMethod(true,"indexOf",(Object)(RemoteObject.createImmutable("PICK_C_"))),BA.numberCast(double.class, -(double) (0 + 1)))) { + BA.debugLineNum = 1702;BA.debugLine="Private id As String= result.Tag"; +Debug.ShouldStop(32); +_id = BA.ObjectToString(_result.getField(false,"Tag" /*RemoteObject*/ ));Debug.locals.put("id", _id);Debug.locals.put("id", _id); + BA.debugLineNum = 1703;BA.debugLine="id = id.SubString(id.IndexOf(\"_\")+3)"; +Debug.ShouldStop(64); +_id = _id.runMethod(true,"substring",(Object)(RemoteObject.solve(new RemoteObject[] {_id.runMethod(true,"indexOf",(Object)(RemoteObject.createImmutable("_"))),RemoteObject.createImmutable(3)}, "+",1, 1)));Debug.locals.put("id", _id); + BA.debugLineNum = 1704;BA.debugLine="For Each records() As Object In result.Rows"; +Debug.ShouldStop(128); +{ +final RemoteObject group93 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen93 = group93.runMethod(true,"getSize").get() +;int index93 = 0; +; +for (; index93 < groupLen93;index93++){ +_records = (group93.runMethod(false,"Get",index93));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 1705;BA.debugLine="Dim CUENTA As String = records(result.Columns"; +Debug.ShouldStop(256); +_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); + BA.debugLineNum = 1706;BA.debugLine="Log(CUENTA)"; +Debug.ShouldStop(512); +c_principal.__c.runVoidMethod ("LogImpl","814876792",_cuenta,0); + BA.debugLineNum = 1707;BA.debugLine="Log(id)"; +Debug.ShouldStop(1024); +c_principal.__c.runVoidMethod ("LogImpl","814876793",_id,0); + BA.debugLineNum = 1708;BA.debugLine="If CUENTA = 0 Then"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean("=",_cuenta,BA.NumberToString(0))) { + BA.debugLineNum = 1709;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM P"; +Debug.ShouldStop(4096); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT * FROM PICK_CIEGO WHERE PC_ID_PROD = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {_id})))); + BA.debugLineNum = 1710;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 = 1712;BA.debugLine="c.Position=0"; +Debug.ShouldStop(32768); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1713;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(65536); +c_principal._cmd = RemoteObject.createNew ("reparto_izca.keymon.lat.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd); + BA.debugLineNum = 1714;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(131072); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1715;BA.debugLine="cmd.Name = \"insert_PICKCIEGO_IZCA\""; +Debug.ShouldStop(262144); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_PICKCIEGO_IZCA")); + BA.debugLineNum = 1716;BA.debugLine="cmd.Parameters = Array As Object(c.GetStrin"; +Debug.ShouldStop(524288); +__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("PC_ID_PROD")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_NOM_PROD")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_CANT")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_ALMACEN")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_RUTA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_FECHA")))),(RemoteObject.createImmutable("REPARTO"))})); + BA.debugLineNum = 1717;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_PC\")"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("ins_PC")))); + }; + BA.debugLineNum = 1720;BA.debugLine="c.Close"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + }else +{ BA.debugLineNum = 1721;BA.debugLine="Else if CUENTA > 0 Then"; +Debug.ShouldStop(16777216); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, _cuenta),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1722;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM P"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT * FROM PICK_CIEGO WHERE PC_ID_PROD= ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {_id})))); + BA.debugLineNum = 1723;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 = 1725;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1726;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(536870912); +c_principal._cmd = RemoteObject.createNew ("reparto_izca.keymon.lat.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd); + BA.debugLineNum = 1727;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1728;BA.debugLine="cmd.Name = \"update_PICKCIEGO_IZCA\""; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("update_PICKCIEGO_IZCA")); + BA.debugLineNum = 1729;BA.debugLine="Log(\"FECHA\" & c.GetString(\"PC_FECHA\"))"; +Debug.ShouldStop(1); +c_principal.__c.runVoidMethod ("LogImpl","814876815",RemoteObject.concat(RemoteObject.createImmutable("FECHA"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_FECHA")))),0); + BA.debugLineNum = 1730;BA.debugLine="cmd.Parameters = Array As Object(c.GetStrin"; +Debug.ShouldStop(2); +__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("PC_CANT")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_ID_PROD")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_ALMACEN")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_RUTA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_FECHA")))),(RemoteObject.createImmutable("REPARTO"))})); + BA.debugLineNum = 1731;BA.debugLine="reqManager.ExecuteCommand(cmd, \"update_PC\")"; +Debug.ShouldStop(4); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("update_PC")))); + }; + BA.debugLineNum = 1734;BA.debugLine="c.Close"; +Debug.ShouldStop(32); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + }} +; + } +}Debug.locals.put("records", _records); +; + }; + }; + BA.debugLineNum = 1742;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 1743;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +Debug.ShouldStop(16384); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result); + BA.debugLineNum = 1744;BA.debugLine="If result.Tag = \"gunaprod3\" Then 'query tag"; +Debug.ShouldStop(32768); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("gunaprod3")))) { + BA.debugLineNum = 1745;BA.debugLine="If reqs.IndexOf(\"gunaprod3\") > -1 Then"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_reqs" /*RemoteObject*/ ).runMethod(true,"IndexOf",(Object)((RemoteObject.createImmutable("gunaprod3")))),BA.numberCast(double.class, -(double) (0 + 1)))) { + BA.debugLineNum = 1746;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"gunaprod3\"))"; +Debug.ShouldStop(131072); +__ref.getField(false,"_reqs" /*RemoteObject*/ ).runVoidMethod ("RemoveAt",(Object)(__ref.getField(false,"_reqs" /*RemoteObject*/ ).runMethod(true,"IndexOf",(Object)((RemoteObject.createImmutable("gunaprod3")))))); + BA.debugLineNum = 1747;BA.debugLine="Log(reqs.Size)"; +Debug.ShouldStop(262144); +c_principal.__c.runVoidMethod ("LogImpl","814876833",BA.NumberToString(__ref.getField(false,"_reqs" /*RemoteObject*/ ).runMethod(true,"getSize")),0); + }; + BA.debugLineNum = 1749;BA.debugLine="Starter.skmt.BeginTransaction"; +Debug.ShouldStop(1048576); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("BeginTransaction"); + BA.debugLineNum = 1750;BA.debugLine="For Each records() As Object In result.Rows"; +Debug.ShouldStop(2097152); +{ +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 = 1751;BA.debugLine="Dim CAT_GP_ID As String = records(result.Colu"; +Debug.ShouldStop(4194304); +_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 = 1752;BA.debugLine="Dim CAT_GP_NOMBRE As String = records(result."; +Debug.ShouldStop(8388608); +_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 = 1753;BA.debugLine="Dim CAT_GP_IMP1 As String = records(result.Co"; +Debug.ShouldStop(16777216); +_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 = 1754;BA.debugLine="Dim CAT_GP_IMP2 As String = records(result.Co"; +Debug.ShouldStop(33554432); +_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 = 1755;BA.debugLine="Dim CAT_GP_PRECIO As String = records(result."; +Debug.ShouldStop(67108864); +_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 = 1756;BA.debugLine="Dim CAT_GP_CLASIF As String = records(result."; +Debug.ShouldStop(134217728); +_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 = 1757;BA.debugLine="Dim CAT_GP_STS As String = records(result.Col"; +Debug.ShouldStop(268435456); +_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 = 1758;BA.debugLine="Dim CAT_GP_TIPO As String = records(result.Co"; +Debug.ShouldStop(536870912); +_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 = 1759;BA.debugLine="Dim CAT_GP_SUBTIPO As String = records(result"; +Debug.ShouldStop(1073741824); +_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 = 1760;BA.debugLine="Dim CAT_GP_IMG() As Byte = records(result.Col"; +Debug.ShouldStop(-2147483648); +_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 = 1761;BA.debugLine="Dim CAT_GP_ALMACEN As Int = records(result.Co"; +Debug.ShouldStop(1); +_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 = 1763;BA.debugLine="Dim CAT_GP_TIPOPROD As Int = records(result.C"; +Debug.ShouldStop(4); +_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 = 1764;BA.debugLine="Dim CAT_GP_INICIATIVA As Int = records(result"; +Debug.ShouldStop(8); +_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 = 1765;BA.debugLine="Dim CAT_DP_PRECIO4 As Float = records(result."; +Debug.ShouldStop(16); +_cat_dp_precio4 = BA.numberCast(float.class, _records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRECIO4")))))));Debug.locals.put("CAT_DP_PRECIO4", _cat_dp_precio4);Debug.locals.put("CAT_DP_PRECIO4", _cat_dp_precio4); + BA.debugLineNum = 1766;BA.debugLine="Dim CAT_DP_CONVERSION1 As Int = records(resul"; +Debug.ShouldStop(32); +_cat_dp_conversion1 = BA.numberCast(int.class, _records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_CONVERSION1")))))));Debug.locals.put("CAT_DP_CONVERSION1", _cat_dp_conversion1);Debug.locals.put("CAT_DP_CONVERSION1", _cat_dp_conversion1); + BA.debugLineNum = 1770;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_G"; +Debug.ShouldStop(512); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_GUNAPROD3(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_DP_PRECIO4,CAT_DP_CONVERSION1) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {15},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_dp_precio4),(_cat_dp_conversion1)}))))); + } +}Debug.locals.put("records", _records); +; + BA.debugLineNum = 1772;BA.debugLine="Starter.skmt.TransactionSuccessful"; +Debug.ShouldStop(2048); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("TransactionSuccessful"); + BA.debugLineNum = 1773;BA.debugLine="Starter.skmt.EndTransaction"; +Debug.ShouldStop(4096); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("EndTransaction"); + BA.debugLineNum = 1774;BA.debugLine="Listo2=1"; +Debug.ShouldStop(8192); +__ref.setField ("_listo2" /*RemoteObject*/ ,BA.NumberToString(1)); + BA.debugLineNum = 1775;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 = 1776;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True"; +Debug.ShouldStop(32768); +c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Datos Actualizados.")),(Object)(c_principal.__c.getField(true,"True"))); + BA.debugLineNum = 1777;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(65536); +__ref.runClassMethod (reparto_izca.keymon.lat.c_principal.class, "_b4xpage_appear" /*RemoteObject*/ ); + BA.debugLineNum = 1778;BA.debugLine="img2.Visible = False"; +Debug.ShouldStop(131072); +__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 1779;BA.debugLine="EJECUTANDO=0"; +Debug.ShouldStop(262144); +__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(0)); + }; + }; + }; + BA.debugLineNum = 1784;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 1785;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +Debug.ShouldStop(16777216); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result); + BA.debugLineNum = 1786;BA.debugLine="If result.Tag = \"gunaprod\" Then 'query tag"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("gunaprod")))) { + BA.debugLineNum = 1787;BA.debugLine="Log(\"Entramos a GUNA_PROD<--------------------"; +Debug.ShouldStop(67108864); +c_principal.__c.runVoidMethod ("LogImpl","814876873",RemoteObject.createImmutable("Entramos a GUNA_PROD<---------------------------------"),0); + BA.debugLineNum = 1788;BA.debugLine="If reqs.IndexOf(\"gunaprod\") > -1 Then"; +Debug.ShouldStop(134217728); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_reqs" /*RemoteObject*/ ).runMethod(true,"IndexOf",(Object)((RemoteObject.createImmutable("gunaprod")))),BA.numberCast(double.class, -(double) (0 + 1)))) { + BA.debugLineNum = 1789;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"gunaprod\"))"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_reqs" /*RemoteObject*/ ).runVoidMethod ("RemoveAt",(Object)(__ref.getField(false,"_reqs" /*RemoteObject*/ ).runMethod(true,"IndexOf",(Object)((RemoteObject.createImmutable("gunaprod")))))); + BA.debugLineNum = 1790;BA.debugLine="Log(reqs.Size)"; +Debug.ShouldStop(536870912); +c_principal.__c.runVoidMethod ("LogImpl","814876876",BA.NumberToString(__ref.getField(false,"_reqs" /*RemoteObject*/ ).runMethod(true,"getSize")),0); + }; + BA.debugLineNum = 1792;BA.debugLine="Starter.skmt.BeginTransaction"; +Debug.ShouldStop(-2147483648); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("BeginTransaction"); + BA.debugLineNum = 1793;BA.debugLine="For Each records() As Object In result.Rows"; +Debug.ShouldStop(1); +{ +final RemoteObject group170 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen170 = group170.runMethod(true,"getSize").get() +;int index170 = 0; +; +for (; index170 < groupLen170;index170++){ +_records = (group170.runMethod(false,"Get",index170));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 1794;BA.debugLine="Dim CAT_GP_ID As String = records(result.Colu"; +Debug.ShouldStop(2); +_cat_gp_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_GP_ID", _cat_gp_id);Debug.locals.put("CAT_GP_ID", _cat_gp_id); + BA.debugLineNum = 1795;BA.debugLine="Dim CAT_GP_NOMBRE As String = records(result."; +Debug.ShouldStop(4); +_cat_gp_nombre = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_NOMBRE")))))));Debug.locals.put("CAT_GP_NOMBRE", _cat_gp_nombre);Debug.locals.put("CAT_GP_NOMBRE", _cat_gp_nombre); + BA.debugLineNum = 1796;BA.debugLine="Dim CAT_GP_IMP1 As String = records(result.Co"; +Debug.ShouldStop(8); +_cat_gp_imp1 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_IMP1")))))));Debug.locals.put("CAT_GP_IMP1", _cat_gp_imp1);Debug.locals.put("CAT_GP_IMP1", _cat_gp_imp1); + BA.debugLineNum = 1797;BA.debugLine="Dim CAT_GP_IMP2 As String = records(result.Co"; +Debug.ShouldStop(16); +_cat_gp_imp2 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_IMP2")))))));Debug.locals.put("CAT_GP_IMP2", _cat_gp_imp2);Debug.locals.put("CAT_GP_IMP2", _cat_gp_imp2); + BA.debugLineNum = 1798;BA.debugLine="Dim CAT_GP_PRECIO As String = records(result."; +Debug.ShouldStop(32); +_cat_gp_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_GP_PRECIO", _cat_gp_precio);Debug.locals.put("CAT_GP_PRECIO", _cat_gp_precio); + BA.debugLineNum = 1799;BA.debugLine="Dim CAT_GP_CLASIF As String = records(result."; +Debug.ShouldStop(64); +_cat_gp_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_GP_CLASIF", _cat_gp_clasif);Debug.locals.put("CAT_GP_CLASIF", _cat_gp_clasif); + BA.debugLineNum = 1800;BA.debugLine="Dim CAT_GP_STS As String = records(result.Col"; +Debug.ShouldStop(128); +_cat_gp_sts = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_STS")))))));Debug.locals.put("CAT_GP_STS", _cat_gp_sts);Debug.locals.put("CAT_GP_STS", _cat_gp_sts); + BA.debugLineNum = 1801;BA.debugLine="Dim CAT_GP_TIPO As String = records(result.Co"; +Debug.ShouldStop(256); +_cat_gp_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_GP_TIPO", _cat_gp_tipo);Debug.locals.put("CAT_GP_TIPO", _cat_gp_tipo); + BA.debugLineNum = 1802;BA.debugLine="Dim CAT_GP_SUBTIPO As String = records(result"; +Debug.ShouldStop(512); +_cat_gp_subtipo = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_SUBTIPO")))))));Debug.locals.put("CAT_GP_SUBTIPO", _cat_gp_subtipo);Debug.locals.put("CAT_GP_SUBTIPO", _cat_gp_subtipo); + BA.debugLineNum = 1803;BA.debugLine="Dim CONVERSION As String = 0'records(result.C"; +Debug.ShouldStop(1024); +_conversion = BA.NumberToString(0);Debug.locals.put("CONVERSION", _conversion);Debug.locals.put("CONVERSION", _conversion); + BA.debugLineNum = 1804;BA.debugLine="Dim PRECIOCONVER As String = 0' records(resul"; +Debug.ShouldStop(2048); +_precioconver = BA.NumberToString(0);Debug.locals.put("PRECIOCONVER", _precioconver);Debug.locals.put("PRECIOCONVER", _precioconver); + BA.debugLineNum = 1805;BA.debugLine="Dim CAT_GP_IMG() As Byte = records(result.Col"; +Debug.ShouldStop(4096); +_cat_gp_img = (_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_IMG")))))));Debug.locals.put("CAT_GP_IMG", _cat_gp_img);Debug.locals.put("CAT_GP_IMG", _cat_gp_img); + BA.debugLineNum = 1810;BA.debugLine="Log(CAT_GP_NOMBRE & \"<-----------------------"; +Debug.ShouldStop(131072); +c_principal.__c.runVoidMethod ("LogImpl","814876896",RemoteObject.concat(_cat_gp_nombre,RemoteObject.createImmutable("<-------------------------------------")),0); + BA.debugLineNum = 1811;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_G"; +Debug.ShouldStop(262144); +c_principal._starter._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,CONVERSION,PRECIOCONVER) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {13},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),RemoteObject.createImmutable((0)),(_conversion),(_precioconver)}))))); + } +}Debug.locals.put("records", _records); +; + BA.debugLineNum = 1813;BA.debugLine="Starter.skmt.TransactionSuccessful"; +Debug.ShouldStop(1048576); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("TransactionSuccessful"); + BA.debugLineNum = 1814;BA.debugLine="Starter.skmt.EndTransaction"; +Debug.ShouldStop(2097152); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("EndTransaction"); + BA.debugLineNum = 1815;BA.debugLine="Listo2=1"; +Debug.ShouldStop(4194304); +__ref.setField ("_listo2" /*RemoteObject*/ ,BA.NumberToString(1)); + BA.debugLineNum = 1816;BA.debugLine="If Listo1 = 1 And Listo2 =1 And Listo3 = 1 And"; +Debug.ShouldStop(8388608); +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 = 1817;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True"; +Debug.ShouldStop(16777216); +c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Datos Actualizados.")),(Object)(c_principal.__c.getField(true,"True"))); + BA.debugLineNum = 1818;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(33554432); +__ref.runClassMethod (reparto_izca.keymon.lat.c_principal.class, "_b4xpage_appear" /*RemoteObject*/ ); + BA.debugLineNum = 1819;BA.debugLine="img2.Visible = False"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 1820;BA.debugLine="EJECUTANDO=0"; +Debug.ShouldStop(134217728); +__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(0)); + }; + }; + }; + BA.debugLineNum = 1825;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 1826;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +Debug.ShouldStop(2); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result); + BA.debugLineNum = 1827;BA.debugLine="If result.Tag = \"gunaprodp\" Then 'query tag"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("gunaprodp")))) { + BA.debugLineNum = 1828;BA.debugLine="If reqs.IndexOf(\"gunaprodp\") > -1 Then"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_reqs" /*RemoteObject*/ ).runMethod(true,"IndexOf",(Object)((RemoteObject.createImmutable("gunaprodp")))),BA.numberCast(double.class, -(double) (0 + 1)))) { + BA.debugLineNum = 1829;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"gunaprodp\"))"; +Debug.ShouldStop(16); +__ref.getField(false,"_reqs" /*RemoteObject*/ ).runVoidMethod ("RemoveAt",(Object)(__ref.getField(false,"_reqs" /*RemoteObject*/ ).runMethod(true,"IndexOf",(Object)((RemoteObject.createImmutable("gunaprodp")))))); + BA.debugLineNum = 1830;BA.debugLine="Log(reqs.Size)"; +Debug.ShouldStop(32); +c_principal.__c.runVoidMethod ("LogImpl","814876916",BA.NumberToString(__ref.getField(false,"_reqs" /*RemoteObject*/ ).runMethod(true,"getSize")),0); + }; + BA.debugLineNum = 1832;BA.debugLine="For Each records() As Object In result.Rows"; +Debug.ShouldStop(128); +{ +final RemoteObject group204 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen204 = group204.runMethod(true,"getSize").get() +;int index204 = 0; +; +for (; index204 < groupLen204;index204++){ +_records = (group204.runMethod(false,"Get",index204));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 1833;BA.debugLine="Dim CAT_GP_ID As String = records(result.Colu"; +Debug.ShouldStop(256); +_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 = 1834;BA.debugLine="Dim CAT_GP_NOMBRE As String = records(result."; +Debug.ShouldStop(512); +_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 = 1835;BA.debugLine="Dim CAT_GP_IMP1 As String = records(result.Co"; +Debug.ShouldStop(1024); +_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 = 1836;BA.debugLine="Dim CAT_GP_IMP2 As String = records(result.Co"; +Debug.ShouldStop(2048); +_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 = 1837;BA.debugLine="Dim CAT_GP_PRECIO As String = records(result."; +Debug.ShouldStop(4096); +_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 = 1838;BA.debugLine="Dim CAT_GP_CLASIF As String = records(result."; +Debug.ShouldStop(8192); +_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 = 1839;BA.debugLine="Dim CAT_GP_STS As String = records(result.Col"; +Debug.ShouldStop(16384); +_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 = 1840;BA.debugLine="Dim CAT_GP_TIPO As String = records(result.Co"; +Debug.ShouldStop(32768); +_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 = 1841;BA.debugLine="Dim CAT_GP_SUBTIPO As String = records(result"; +Debug.ShouldStop(65536); +_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 = 1842;BA.debugLine="Dim CAT_GP_IMG() As Byte = records(result.Col"; +Debug.ShouldStop(131072); +_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 = 1845;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_G"; +Debug.ShouldStop(1048576); +c_principal._starter._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) VALUES (?,?,?,?,?,?,?,?,?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {11},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),RemoteObject.createImmutable((0))}))))); + } +}Debug.locals.put("records", _records); +; + BA.debugLineNum = 1847;BA.debugLine="Listo4=1"; +Debug.ShouldStop(4194304); +__ref.setField ("_listo4" /*RemoteObject*/ ,BA.NumberToString(1)); + BA.debugLineNum = 1848;BA.debugLine="If Listo1 = 1 And Listo2 =1 And Listo3 = 1 And"; +Debug.ShouldStop(8388608); +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 = 1849;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True"; +Debug.ShouldStop(16777216); +c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Datos Actualizados.")),(Object)(c_principal.__c.getField(true,"True"))); + BA.debugLineNum = 1850;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(33554432); +__ref.runClassMethod (reparto_izca.keymon.lat.c_principal.class, "_b4xpage_appear" /*RemoteObject*/ ); + BA.debugLineNum = 1851;BA.debugLine="img2.Visible = False"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 1852;BA.debugLine="EJECUTANDO=0"; +Debug.ShouldStop(134217728); +__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(0)); + }else +{ BA.debugLineNum = 1853;BA.debugLine="Else If Listo4 = 1 And Listo3 = 1 And inve = 1"; +Debug.ShouldStop(268435456); +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 = 1854;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True"; +Debug.ShouldStop(536870912); +c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Datos Actualizados.")),(Object)(c_principal.__c.getField(true,"True"))); + BA.debugLineNum = 1855;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(1073741824); +__ref.runClassMethod (reparto_izca.keymon.lat.c_principal.class, "_b4xpage_appear" /*RemoteObject*/ ); + BA.debugLineNum = 1856;BA.debugLine="img2.Visible = False"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 1857;BA.debugLine="EJECUTANDO=0"; +Debug.ShouldStop(1); +__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(0)); + }} +; + }; + }; + BA.debugLineNum = 1862;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 1863;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +Debug.ShouldStop(64); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result); + BA.debugLineNum = 1864;BA.debugLine="If result.Tag = \"detallepaq\" Then 'query tag"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("detallepaq")))) { + BA.debugLineNum = 1865;BA.debugLine="If reqs.IndexOf(\"detallepaq\") > -1 Then"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_reqs" /*RemoteObject*/ ).runMethod(true,"IndexOf",(Object)((RemoteObject.createImmutable("detallepaq")))),BA.numberCast(double.class, -(double) (0 + 1)))) { + BA.debugLineNum = 1866;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"detallepaq\"))"; +Debug.ShouldStop(512); +__ref.getField(false,"_reqs" /*RemoteObject*/ ).runVoidMethod ("RemoveAt",(Object)(__ref.getField(false,"_reqs" /*RemoteObject*/ ).runMethod(true,"IndexOf",(Object)((RemoteObject.createImmutable("detallepaq")))))); + BA.debugLineNum = 1867;BA.debugLine="Log(reqs.Size)"; +Debug.ShouldStop(1024); +c_principal.__c.runVoidMethod ("LogImpl","814876953",BA.NumberToString(__ref.getField(false,"_reqs" /*RemoteObject*/ ).runMethod(true,"getSize")),0); + }; + BA.debugLineNum = 1869;BA.debugLine="For Each records() As Object In result.Rows"; +Debug.ShouldStop(4096); +{ +final RemoteObject group238 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen238 = group238.runMethod(true,"getSize").get() +;int index238 = 0; +; +for (; index238 < groupLen238;index238++){ +_records = (group238.runMethod(false,"Get",index238));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 1870;BA.debugLine="Dim CAT_DP_ALMACEN As String = records(resul"; +Debug.ShouldStop(8192); +_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 = 1871;BA.debugLine="Dim CAT_DP_ID As String = records(result.Colu"; +Debug.ShouldStop(16384); +_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 = 1872;BA.debugLine="Dim CAT_DP_IDPROD As String = records(result."; +Debug.ShouldStop(32768); +_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 = 1873;BA.debugLine="Dim CAT_DP_TIPO As String = records(result.Co"; +Debug.ShouldStop(65536); +_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 = 1874;BA.debugLine="Dim CAT_DP_PZAS As String = records(result.Co"; +Debug.ShouldStop(131072); +_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 = 1875;BA.debugLine="Dim CAT_DP_USUARIO As String = records(resul"; +Debug.ShouldStop(262144); +_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 = 1876;BA.debugLine="Dim CAT_DP_FECHA As String = records(result.C"; +Debug.ShouldStop(524288); +_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 = 1877;BA.debugLine="Dim CAT_DP_REGALO As String = records(result"; +Debug.ShouldStop(1048576); +_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 = 1878;BA.debugLine="Dim CAT_DP_CLASIF As String = records(result"; +Debug.ShouldStop(2097152); +_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 = 1879;BA.debugLine="Dim CAT_DP_PRECIO As String = records(result."; +Debug.ShouldStop(4194304); +_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 = 1880;BA.debugLine="Dim CAT_DP_PRECIO_SIMPTOS As String = records"; +Debug.ShouldStop(8388608); +_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 = 1882;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_D"; +Debug.ShouldStop(33554432); +c_principal._starter._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 = 1884;BA.debugLine="Listo3 =1"; +Debug.ShouldStop(134217728); +__ref.setField ("_listo3" /*RemoteObject*/ ,BA.NumberToString(1)); + BA.debugLineNum = 1885;BA.debugLine="If Listo1 = 1 And Listo2 = 1 And Listo3 = 1 An"; +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 = 1886;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True"; +Debug.ShouldStop(536870912); +c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Datos Actualizados.")),(Object)(c_principal.__c.getField(true,"True"))); + BA.debugLineNum = 1887;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(1073741824); +__ref.runClassMethod (reparto_izca.keymon.lat.c_principal.class, "_b4xpage_appear" /*RemoteObject*/ ); + BA.debugLineNum = 1888;BA.debugLine="img2.Visible=False"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 1889;BA.debugLine="EJECUTANDO = 0"; +Debug.ShouldStop(1); +__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(0)); + }else +{ BA.debugLineNum = 1890;BA.debugLine="Else If Listo4 = 1 And Listo3 = 1 And inve = 1"; +Debug.ShouldStop(2); +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 = 1891;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True"; +Debug.ShouldStop(4); +c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Datos Actualizados.")),(Object)(c_principal.__c.getField(true,"True"))); + BA.debugLineNum = 1892;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(8); +__ref.runClassMethod (reparto_izca.keymon.lat.c_principal.class, "_b4xpage_appear" /*RemoteObject*/ ); + BA.debugLineNum = 1893;BA.debugLine="img2.Visible = False"; +Debug.ShouldStop(16); +__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 1894;BA.debugLine="EJECUTANDO = 0"; +Debug.ShouldStop(32); +__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(0)); + }} +; + }; + }; + BA.debugLineNum = 1899;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 1900;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +Debug.ShouldStop(2048); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result); + BA.debugLineNum = 1901;BA.debugLine="If result.Tag = \"estatus\" Then 'query tag"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("estatus")))) { + BA.debugLineNum = 1902;BA.debugLine="For Each records() As Object In result.Rows"; +Debug.ShouldStop(8192); +{ +final RemoteObject group269 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen269 = group269.runMethod(true,"getSize").get() +;int index269 = 0; +; +for (; index269 < groupLen269;index269++){ +_records = (group269.runMethod(false,"Get",index269));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 1903;BA.debugLine="Dim hvd_estatus As String = records(result.Co"; +Debug.ShouldStop(16384); +_hvd_estatus = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HVD_ESTATUS")))))));Debug.locals.put("hvd_estatus", _hvd_estatus);Debug.locals.put("hvd_estatus", _hvd_estatus); + BA.debugLineNum = 1904;BA.debugLine="If hvd_estatus = \"Liquidado\" Then"; +Debug.ShouldStop(32768); +if (RemoteObject.solveBoolean("=",_hvd_estatus,BA.ObjectToString("Liquidado"))) { + BA.debugLineNum = 1906;BA.debugLine="MsgboxAsync(\"La venta ya fue liquidada\",\"Ate"; +Debug.ShouldStop(131072); +c_principal.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("La venta ya fue liquidada")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + }else { + BA.debugLineNum = 1908;BA.debugLine="envioinfo"; +Debug.ShouldStop(524288); +__ref.runClassMethod (reparto_izca.keymon.lat.c_principal.class, "_envioinfo" /*RemoteObject*/ ); + }; + } +}Debug.locals.put("records", _records); +; + }; + }; + BA.debugLineNum = 1914;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 1915;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +Debug.ShouldStop(67108864); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result); + BA.debugLineNum = 1916;BA.debugLine="If result.Tag = \"punteo\" Then 'query tag"; +Debug.ShouldStop(134217728); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("punteo")))) { + BA.debugLineNum = 1917;BA.debugLine="If reqs.IndexOf(\"punteo\") > -1 Then"; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_reqs" /*RemoteObject*/ ).runMethod(true,"IndexOf",(Object)((RemoteObject.createImmutable("punteo")))),BA.numberCast(double.class, -(double) (0 + 1)))) { + BA.debugLineNum = 1918;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"punteo\"))"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_reqs" /*RemoteObject*/ ).runVoidMethod ("RemoveAt",(Object)(__ref.getField(false,"_reqs" /*RemoteObject*/ ).runMethod(true,"IndexOf",(Object)((RemoteObject.createImmutable("punteo")))))); + }; + BA.debugLineNum = 1921;BA.debugLine="If reqs.IndexOf(\"punteo\") > 0 Then"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_reqs" /*RemoteObject*/ ).runMethod(true,"IndexOf",(Object)((RemoteObject.createImmutable("punteo")))),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1922;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"punteo\"))"; +Debug.ShouldStop(2); +__ref.getField(false,"_reqs" /*RemoteObject*/ ).runVoidMethod ("RemoveAt",(Object)(__ref.getField(false,"_reqs" /*RemoteObject*/ ).runMethod(true,"IndexOf",(Object)((RemoteObject.createImmutable("punteo")))))); + BA.debugLineNum = 1923;BA.debugLine="Log(reqs.Size)"; +Debug.ShouldStop(4); +c_principal.__c.runVoidMethod ("LogImpl","814877009",BA.NumberToString(__ref.getField(false,"_reqs" /*RemoteObject*/ ).runMethod(true,"getSize")),0); + }; + BA.debugLineNum = 1925;BA.debugLine="Starter.skmt.BeginTransaction"; +Debug.ShouldStop(16); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("BeginTransaction"); + BA.debugLineNum = 1926;BA.debugLine="For Each records() As Object In result.Rows"; +Debug.ShouldStop(32); +{ +final RemoteObject group290 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen290 = group290.runMethod(true,"getSize").get() +;int index290 = 0; +; +for (; index290 < groupLen290;index290++){ +_records = (group290.runMethod(false,"Get",index290));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 1927;BA.debugLine="Dim HV_CLIENTE As String = records(result.Col"; +Debug.ShouldStop(64); +_hv_cliente = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HV_CLIENTE")))))));Debug.locals.put("HV_CLIENTE", _hv_cliente);Debug.locals.put("HV_CLIENTE", _hv_cliente); + BA.debugLineNum = 1928;BA.debugLine="Dim HV_LONG As String = records(result.Column"; +Debug.ShouldStop(128); +_hv_long = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HV_LONG")))))));Debug.locals.put("HV_LONG", _hv_long);Debug.locals.put("HV_LONG", _hv_long); + BA.debugLineNum = 1929;BA.debugLine="Dim HV_LAT As String = records(result.Columns"; +Debug.ShouldStop(256); +_hv_lat = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HV_LAT")))))));Debug.locals.put("HV_LAT", _hv_lat);Debug.locals.put("HV_LAT", _hv_lat); + BA.debugLineNum = 1931;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PUNTE"; +Debug.ShouldStop(1024); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO PUNTEO_GPS(HV_CLIENTE, HV_LONG, HV_LAT) VALUES (?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(_hv_cliente),(_hv_long),(_hv_lat)}))))); + } +}Debug.locals.put("records", _records); +; + BA.debugLineNum = 1933;BA.debugLine="Starter.skmt.TransactionSuccessful"; +Debug.ShouldStop(4096); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("TransactionSuccessful"); + BA.debugLineNum = 1934;BA.debugLine="Starter.skmt.EndTransaction"; +Debug.ShouldStop(8192); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("EndTransaction"); + }; + }; + BA.debugLineNum = 1938;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 1939;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +Debug.ShouldStop(262144); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result); + BA.debugLineNum = 1940;BA.debugLine="If result.Tag = \"hist_datos\" Then 'query tag"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("hist_datos")))) { + BA.debugLineNum = 1941;BA.debugLine="If reqs.IndexOf(\"hist_datos\") > -1 Then"; +Debug.ShouldStop(1048576); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_reqs" /*RemoteObject*/ ).runMethod(true,"IndexOf",(Object)((RemoteObject.createImmutable("hist_datos")))),BA.numberCast(double.class, -(double) (0 + 1)))) { + BA.debugLineNum = 1942;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"hist_datos\"))"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_reqs" /*RemoteObject*/ ).runVoidMethod ("RemoveAt",(Object)(__ref.getField(false,"_reqs" /*RemoteObject*/ ).runMethod(true,"IndexOf",(Object)((RemoteObject.createImmutable("hist_datos")))))); + }; + BA.debugLineNum = 1945;BA.debugLine="Log(l_ruta.text)"; +Debug.ShouldStop(16777216); +c_principal.__c.runVoidMethod ("LogImpl","814877031",__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"getText"),0); + BA.debugLineNum = 1946;BA.debugLine="Log($\"******** Insertamos HV - ${result.Rows."; +Debug.ShouldStop(33554432); +c_principal.__c.runVoidMethod ("LogImpl","814877032",(RemoteObject.concat(RemoteObject.createImmutable("******** Insertamos HV - "),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_result.getField(false,"Rows" /*RemoteObject*/ ).runMethod(true,"getSize")))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 1947;BA.debugLine="Starter.skmt.BeginTransaction"; +Debug.ShouldStop(67108864); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("BeginTransaction"); + BA.debugLineNum = 1948;BA.debugLine="Dim consecutivo As Int= 0"; +Debug.ShouldStop(134217728); +_consecutivo = BA.numberCast(int.class, 0);Debug.locals.put("consecutivo", _consecutivo);Debug.locals.put("consecutivo", _consecutivo); + BA.debugLineNum = 1949;BA.debugLine="For Each records() As Object In result.Rows"; +Debug.ShouldStop(268435456); +{ +final RemoteObject group310 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen310 = group310.runMethod(true,"getSize").get() +;int index310 = 0; +; +for (; index310 < groupLen310;index310++){ +_records = (group310.runMethod(false,"Get",index310));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 1950;BA.debugLine="Dim HVD_CLIENTE As String = records(result.Co"; +Debug.ShouldStop(536870912); +_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 = 1951;BA.debugLine="Dim HVD_PRONOMBRE As String = records(result."; +Debug.ShouldStop(1073741824); +_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 = 1952;BA.debugLine="Dim HVD_CANT As String = records(result.Colum"; +Debug.ShouldStop(-2147483648); +_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 = 1953;BA.debugLine="Dim HVD_COSTO_TOT As String = records(result."; +Debug.ShouldStop(1); +_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 = 1954;BA.debugLine="Dim HVD_FECHA As String = records(result.Colu"; +Debug.ShouldStop(2); +_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 = 1955;BA.debugLine="Dim HVD_CODPROMO As String = records(result.C"; +Debug.ShouldStop(4); +_hvd_codpromo = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HVD_CODPROMO")))))));Debug.locals.put("HVD_CODPROMO", _hvd_codpromo);Debug.locals.put("HVD_CODPROMO", _hvd_codpromo); + BA.debugLineNum = 1956;BA.debugLine="Dim HVD_PROID As String = records(result.Colu"; +Debug.ShouldStop(8); +_hvd_proid = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HVD_PROID")))))));Debug.locals.put("HVD_PROID", _hvd_proid);Debug.locals.put("HVD_PROID", _hvd_proid); + BA.debugLineNum = 1957;BA.debugLine="Dim HVD_NUM_TICKET As String = records(result"; +Debug.ShouldStop(16); +_hvd_num_ticket = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HVD_NUM_TICKET")))))));Debug.locals.put("HVD_NUM_TICKET", _hvd_num_ticket);Debug.locals.put("HVD_NUM_TICKET", _hvd_num_ticket); + BA.debugLineNum = 1958;BA.debugLine="Dim HVD_NUM_REGISTRO As String = records(resu"; +Debug.ShouldStop(32); +_hvd_num_registro = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HVD_NUM_REGISTRO")))))));Debug.locals.put("HVD_NUM_REGISTRO", _hvd_num_registro);Debug.locals.put("HVD_NUM_REGISTRO", _hvd_num_registro); + BA.debugLineNum = 1959;BA.debugLine="Dim HVD_RECHAZO As String = records(result.Co"; +Debug.ShouldStop(64); +_hvd_rechazo = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HVD_RECHAZO")))))));Debug.locals.put("HVD_RECHAZO", _hvd_rechazo);Debug.locals.put("HVD_RECHAZO", _hvd_rechazo); + BA.debugLineNum = 1960;BA.debugLine="Dim HVD_BCREDITO As String = records(result.C"; +Debug.ShouldStop(128); +_hvd_bcredito = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HVD_BCREDITO")))))));Debug.locals.put("HVD_BCREDITO", _hvd_bcredito);Debug.locals.put("HVD_BCREDITO", _hvd_bcredito); + BA.debugLineNum = 1962;BA.debugLine="Dim bcajas As String = 0 ' records(result.Col"; +Debug.ShouldStop(512); +_bcajas = BA.NumberToString(0);Debug.locals.put("bcajas", _bcajas);Debug.locals.put("bcajas", _bcajas); + BA.debugLineNum = 1963;BA.debugLine="Dim cantc As String = 0 'records(result.Colum"; +Debug.ShouldStop(1024); +_cantc = BA.NumberToString(0);Debug.locals.put("cantc", _cantc);Debug.locals.put("cantc", _cantc); + BA.debugLineNum = 1965;BA.debugLine="consecutivo = consecutivo +1"; +Debug.ShouldStop(4096); +_consecutivo = RemoteObject.solve(new RemoteObject[] {_consecutivo,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("consecutivo", _consecutivo); + BA.debugLineNum = 1966;BA.debugLine="Log(HVD_PRONOMBRE & \", \" & HVD_CANT & \", \" &H"; +Debug.ShouldStop(8192); +c_principal.__c.runVoidMethod ("LogImpl","814877052",RemoteObject.concat(_hvd_pronombre,RemoteObject.createImmutable(", "),_hvd_cant,RemoteObject.createImmutable(", "),_hvd_cliente),0); + BA.debugLineNum = 1967;BA.debugLine="If l_ruta.Text = \"0\" Then 'Si no hay ruta car"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("0"))) { + BA.debugLineNum = 1968;BA.debugLine="Log(\"No hay ruta, guardamos todos\")"; +Debug.ShouldStop(32768); +c_principal.__c.runVoidMethod ("LogImpl","814877054",RemoteObject.createImmutable("No hay ruta, guardamos todos"),0); + BA.debugLineNum = 1969;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO HIST"; +Debug.ShouldStop(65536); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO HIST_VENTAS(HVD_CLIENTE, HVD_PRONOMBRE, HVD_CANT,HVD_COSTO_TOT, HVD_FECHA, HVD_CODPROMO, HVD_PROID,HVD_NUM_TICKET, HVD_NUM_REGISTRO, HVD_RECHAZO, HVD_ESTATUS, HVD_PARCIAL, BCAJAS,CANTC,CONSECUTIVO,BCAJAS_OR,CANTC_OR,HVD_BCREDITO) VALUES (?,?,?,?,?,?,?,?,?,?,0,0,?,?,?,?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {16},new Object[] {(_hvd_cliente),(_hvd_pronombre),(_hvd_cant),(_hvd_costo_tot),(_hvd_fecha),(_hvd_codpromo),(_hvd_proid),(_hvd_num_ticket),(_hvd_num_registro),(_hvd_rechazo),(_bcajas),(_cantc),(_consecutivo),(_bcajas),(_cantc),(_hvd_bcredito)}))))); + BA.debugLineNum = 1970;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO HIST"; +Debug.ShouldStop(131072); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO HIST_VENTAS2(HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT, HVD_FECHA, HVD_CODPROMO, HVD_PROID,HVD_NUM_TICKET, HVD_NUM_REGISTRO, HVD_RECHAZO, HVD_ESTATUS, HVD_PARCIAL) VALUES (?,?,?,?,?,?,?,?,?,?,0,0)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {10},new Object[] {(_hvd_cliente),(_hvd_pronombre),(_hvd_cant),(_hvd_costo_tot),(_hvd_fecha),(_hvd_codpromo),(_hvd_proid),(_hvd_num_ticket),(_hvd_num_registro),(_hvd_rechazo)}))))); + }else { + BA.debugLineNum = 1973;BA.debugLine="Private tc As Cursor = Starter.skmt.ExecQuer"; +Debug.ShouldStop(1048576); +_tc = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_tc = 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 HVD_CLIENTE from HIST_VENTAS where HVD_CLIENTE = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_hvd_cliente))),RemoteObject.createImmutable("' and HVD_PROID = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_hvd_proid))),RemoteObject.createImmutable("' AND HVD_CANT = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_hvd_cant))),RemoteObject.createImmutable("' AND HVD_CODPROMO = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_hvd_codpromo))),RemoteObject.createImmutable("' "))))));Debug.locals.put("tc", _tc);Debug.locals.put("tc", _tc); + BA.debugLineNum = 1974;BA.debugLine="If tc.RowCount = 0 Then"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean("=",_tc.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1975;BA.debugLine="Log($\"Guardamos ${HVD_CLIENTE}\"$)"; +Debug.ShouldStop(4194304); +c_principal.__c.runVoidMethod ("LogImpl","814877061",(RemoteObject.concat(RemoteObject.createImmutable("Guardamos "),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_hvd_cliente))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 1976;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO HIS"; +Debug.ShouldStop(8388608); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO HIST_VENTAS(HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT, HVD_FECHA, HVD_CODPROMO, HVD_PROID,HVD_NUM_TICKET, HVD_NUM_REGISTRO, HVD_RECHAZO, HVD_ESTATUS, HVD_PARCIAL, BCAJAS,CANTC,CONSECUTIVO,BCAJAS_OR,CANTC_OR,HVD_BCREDITO) VALUES (?,?,?,?,?,?,?,?,?,?,0,0,?,?,?,?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {16},new Object[] {(_hvd_cliente),(_hvd_pronombre),(_hvd_cant),(_hvd_costo_tot),(_hvd_fecha),(_hvd_codpromo),(_hvd_proid),(_hvd_num_ticket),(_hvd_num_registro),(_hvd_rechazo),(_bcajas),(_cantc),(_consecutivo),(_bcajas),(_cantc),(_hvd_bcredito)}))))); + BA.debugLineNum = 1977;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO HIS"; +Debug.ShouldStop(16777216); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO HIST_VENTAS2(HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT, HVD_FECHA, HVD_CODPROMO, HVD_PROID,HVD_NUM_TICKET, HVD_NUM_REGISTRO, HVD_RECHAZO, HVD_ESTATUS, HVD_PARCIAL) VALUES (?,?,?,?,?,?,?,?,?,?,0,0)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {10},new Object[] {(_hvd_cliente),(_hvd_pronombre),(_hvd_cant),(_hvd_costo_tot),(_hvd_fecha),(_hvd_codpromo),(_hvd_proid),(_hvd_num_ticket),(_hvd_num_registro),(_hvd_rechazo)}))))); + }; + }; + } +}Debug.locals.put("records", _records); +; + BA.debugLineNum = 1981;BA.debugLine="Starter.skmt.TransactionSuccessful"; +Debug.ShouldStop(268435456); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("TransactionSuccessful"); + BA.debugLineNum = 1982;BA.debugLine="Starter.skmt.EndTransaction"; +Debug.ShouldStop(536870912); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("EndTransaction"); + BA.debugLineNum = 1983;BA.debugLine="Log($\"******** Terminamos HV - ${result.Rows."; +Debug.ShouldStop(1073741824); +c_principal.__c.runVoidMethod ("LogImpl","814877069",(RemoteObject.concat(RemoteObject.createImmutable("******** Terminamos HV - "),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_result.getField(false,"Rows" /*RemoteObject*/ ).runMethod(true,"getSize")))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 1997;BA.debugLine="Listo3 =1"; +Debug.ShouldStop(4096); +__ref.setField ("_listo3" /*RemoteObject*/ ,BA.NumberToString(1)); + BA.debugLineNum = 1998;BA.debugLine="If Listo1 = 1 And Listo3 = 1 Then"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_listo1" /*RemoteObject*/ ),BA.NumberToString(1)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_listo3" /*RemoteObject*/ ),BA.NumberToString(1))) { + BA.debugLineNum = 1999;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True"; +Debug.ShouldStop(16384); +c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Datos Actualizados.")),(Object)(c_principal.__c.getField(true,"True"))); + BA.debugLineNum = 2000;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(32768); +__ref.runClassMethod (reparto_izca.keymon.lat.c_principal.class, "_b4xpage_appear" /*RemoteObject*/ ); + BA.debugLineNum = 2001;BA.debugLine="img2.Visible = False"; +Debug.ShouldStop(65536); +__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 2002;BA.debugLine="EJECUTANDO = 0"; +Debug.ShouldStop(131072); +__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(0)); + }; + }; + }; + BA.debugLineNum = 2008;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 2009;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +Debug.ShouldStop(16777216); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result); + BA.debugLineNum = 2010;BA.debugLine="If result.Tag = \"variables\" Then 'query tag"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("variables")))) { + BA.debugLineNum = 2011;BA.debugLine="For Each records() As Object In result.Rows"; +Debug.ShouldStop(67108864); +{ +final RemoteObject group354 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen354 = group354.runMethod(true,"getSize").get() +;int index354 = 0; +; +for (; index354 < groupLen354;index354++){ +_records = (group354.runMethod(false,"Get",index354));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 2012;BA.debugLine="Dim Cat_Va_Descripcion As String = records(re"; +Debug.ShouldStop(134217728); +_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 = 2013;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_VA_VALOR")))))));Debug.locals.put("Cat_Va_Valor", _cat_va_valor);Debug.locals.put("Cat_Va_Valor", _cat_va_valor); + BA.debugLineNum = 2015;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_V"; +Debug.ShouldStop(1073741824); +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[] {(_cat_va_descripcion),(_cat_va_valor)}))))); + } +}Debug.locals.put("records", _records); +; + }; + }; + BA.debugLineNum = 2021;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 2022;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +Debug.ShouldStop(32); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result); + BA.debugLineNum = 2023;BA.debugLine="If result.Tag = \"PAGARES\" Then 'query tag"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("PAGARES")))) { + BA.debugLineNum = 2024;BA.debugLine="For Each records() As Object In result.Rows"; +Debug.ShouldStop(128); +{ +final RemoteObject group364 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen364 = group364.runMethod(true,"getSize").get() +;int index364 = 0; +; +for (; index364 < groupLen364;index364++){ +_records = (group364.runMethod(false,"Get",index364));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 2026;BA.debugLine="Dim TMP_MONTO_PAGARE As String = records(resu"; +Debug.ShouldStop(512); +_tmp_monto_pagare = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("TMP_MONTO_PAGARE")))))));Debug.locals.put("TMP_MONTO_PAGARE", _tmp_monto_pagare);Debug.locals.put("TMP_MONTO_PAGARE", _tmp_monto_pagare); + BA.debugLineNum = 2027;BA.debugLine="Dim TMP_CLIENTE As String = records(result.Co"; +Debug.ShouldStop(1024); +_tmp_cliente = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("TMP_CLIENTE")))))));Debug.locals.put("TMP_CLIENTE", _tmp_cliente);Debug.locals.put("TMP_CLIENTE", _tmp_cliente); + BA.debugLineNum = 2029;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PAGAR"; +Debug.ShouldStop(4096); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO PAGARES(TMP_MONTO_PAGARE, TMP_CLIENTE) VALUES (?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(_tmp_monto_pagare),(_tmp_cliente)}))))); + } +}Debug.locals.put("records", _records); +; + }; + }; + BA.debugLineNum = 2034;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 2035;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +Debug.ShouldStop(262144); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result); + BA.debugLineNum = 2036;BA.debugLine="If result.Tag = \"valida_pedido\" Then 'query tag"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("valida_pedido")))) { + BA.debugLineNum = 2037;BA.debugLine="For Each records() As Object In result.Rows"; +Debug.ShouldStop(1048576); +{ +final RemoteObject group374 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen374 = group374.runMethod(true,"getSize").get() +;int index374 = 0; +; +for (; index374 < groupLen374;index374++){ +_records = (group374.runMethod(false,"Get",index374));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 2038;BA.debugLine="Dim CUANTOSP As Int = records(result.Columns."; +Debug.ShouldStop(2097152); +_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 = 2039;BA.debugLine="If cuantos_pedido = CUANTOSP Then"; +Debug.ShouldStop(4194304); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_cuantos_pedido" /*RemoteObject*/ ),BA.NumberToString(_cuantosp))) { + BA.debugLineNum = 2041;BA.debugLine="datos_iguales = \"ok\""; +Debug.ShouldStop(16777216); +__ref.setField ("_datos_iguales" /*RemoteObject*/ ,BA.ObjectToString("ok")); + }else { + BA.debugLineNum = 2043;BA.debugLine="ToastMessageShow(\"No se cargo bien la info P"; +Debug.ShouldStop(67108864); +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"))); + }; + } +}Debug.locals.put("records", _records); +; + }; + }; + BA.debugLineNum = 2051;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 2052;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +Debug.ShouldStop(8); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result); + BA.debugLineNum = 2053;BA.debugLine="If result.Tag = \"valida_pedidoc\" Then 'query ta"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("valida_pedidoc")))) { + BA.debugLineNum = 2054;BA.debugLine="For Each records() As Object In result.Rows"; +Debug.ShouldStop(32); +{ +final RemoteObject group387 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen387 = group387.runMethod(true,"getSize").get() +;int index387 = 0; +; +for (; index387 < groupLen387;index387++){ +_records = (group387.runMethod(false,"Get",index387));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 2055;BA.debugLine="Dim CUANTOSC As Int = records(result.Columns."; +Debug.ShouldStop(64); +_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 = 2056;BA.debugLine="If cuantos_pedidosc = CUANTOSC Then"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_cuantos_pedidosc" /*RemoteObject*/ ),BA.NumberToString(_cuantosc))) { + BA.debugLineNum = 2058;BA.debugLine="datos_iguales = \"ok\""; +Debug.ShouldStop(512); +__ref.setField ("_datos_iguales" /*RemoteObject*/ ,BA.ObjectToString("ok")); + }else { + BA.debugLineNum = 2060;BA.debugLine="ToastMessageShow(\"No se cargo bien la info C"; +Debug.ShouldStop(2048); +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 = 2066;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 2067;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +Debug.ShouldStop(262144); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result); + BA.debugLineNum = 2068;BA.debugLine="If result.Tag = \"valida_noventa\" Then 'query ta"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("valida_noventa")))) { + BA.debugLineNum = 2069;BA.debugLine="For Each records() As Object In result.Rows"; +Debug.ShouldStop(1048576); +{ +final RemoteObject group400 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen400 = group400.runMethod(true,"getSize").get() +;int index400 = 0; +; +for (; index400 < groupLen400;index400++){ +_records = (group400.runMethod(false,"Get",index400));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 2070;BA.debugLine="Dim CUANTOSN As Int = records(result.Columns."; +Debug.ShouldStop(2097152); +_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 = 2071;BA.debugLine="If cuantos_noventa = CUANTOSN Then"; +Debug.ShouldStop(4194304); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_cuantos_noventa" /*RemoteObject*/ ),BA.NumberToString(_cuantosn))) { + BA.debugLineNum = 2073;BA.debugLine="datos_iguales = \"ok\""; +Debug.ShouldStop(16777216); +__ref.setField ("_datos_iguales" /*RemoteObject*/ ,BA.ObjectToString("ok")); + }else { + BA.debugLineNum = 2075;BA.debugLine="ToastMessageShow(\"No se cargo bien la info N"; +Debug.ShouldStop(67108864); +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 = 2081;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 2082;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +Debug.ShouldStop(2); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result); + BA.debugLineNum = 2083;BA.debugLine="If result.Tag = \"insert_pedido\" Then 'query tag"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("insert_pedido")))) { + BA.debugLineNum = 2084;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True)"; +Debug.ShouldStop(8); +c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Datos Actualizados.")),(Object)(c_principal.__c.getField(true,"True"))); + }; + }; + BA.debugLineNum = 2088;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 2089;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +Debug.ShouldStop(256); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result); + BA.debugLineNum = 2090;BA.debugLine="If result.Tag = \"version\" Then 'query tag"; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("version")))) { + BA.debugLineNum = 2091;BA.debugLine="For Each records() As Object In result.Rows"; +Debug.ShouldStop(1024); +{ +final RemoteObject group419 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen419 = group419.runMethod(true,"getSize").get() +;int index419 = 0; +; +for (; index419 < groupLen419;index419++){ +_records = (group419.runMethod(false,"Get",index419));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 2092;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from VERSIO"; +Debug.ShouldStop(2048); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from VERSION"))); + BA.debugLineNum = 2093;BA.debugLine="Dim CAT_VE_VERSION As String = records(result"; +Debug.ShouldStop(4096); +_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 = 2095;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO VERSI"; +Debug.ShouldStop(16384); +c_principal._starter._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 = 2100;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 2101;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +Debug.ShouldStop(1048576); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result); + BA.debugLineNum = 2102;BA.debugLine="If result.Tag = \"count_cli\" Then 'query tag"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("count_cli")))) { + BA.debugLineNum = 2103;BA.debugLine="For Each records() As Object In result.Rows"; +Debug.ShouldStop(4194304); +{ +final RemoteObject group429 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen429 = group429.runMethod(true,"getSize").get() +;int index429 = 0; +; +for (; index429 < groupLen429;index429++){ +_records = (group429.runMethod(false,"Get",index429));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 2104;BA.debugLine="COUNT_CLIE = records(result.Columns.Get(\"COUN"; +Debug.ShouldStop(8388608); +__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 = 2109;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 2110;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +Debug.ShouldStop(536870912); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result); + BA.debugLineNum = 2111;BA.debugLine="If result.Tag = \"ruta\" Then 'query tag"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("ruta")))) { + BA.debugLineNum = 2112;BA.debugLine="If reqs.IndexOf(\"ruta\") > -1 Then"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_reqs" /*RemoteObject*/ ).runMethod(true,"IndexOf",(Object)((RemoteObject.createImmutable("ruta")))),BA.numberCast(double.class, -(double) (0 + 1)))) { + BA.debugLineNum = 2113;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"ruta\"))"; +Debug.ShouldStop(1); +__ref.getField(false,"_reqs" /*RemoteObject*/ ).runVoidMethod ("RemoveAt",(Object)(__ref.getField(false,"_reqs" /*RemoteObject*/ ).runMethod(true,"IndexOf",(Object)((RemoteObject.createImmutable("ruta")))))); + BA.debugLineNum = 2114;BA.debugLine="Log(reqs.Size)"; +Debug.ShouldStop(2); +c_principal.__c.runVoidMethod ("LogImpl","814877200",BA.NumberToString(__ref.getField(false,"_reqs" /*RemoteObject*/ ).runMethod(true,"getSize")),0); + }; + BA.debugLineNum = 2116;BA.debugLine="For Each records() As Object In result.Rows"; +Debug.ShouldStop(8); +{ +final RemoteObject group441 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen441 = group441.runMethod(true,"getSize").get() +;int index441 = 0; +; +for (; index441 < groupLen441;index441++){ +_records = (group441.runMethod(false,"Get",index441));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 2117;BA.debugLine="Dim VALIDO As String = records(result.Columns"; +Debug.ShouldStop(16); +_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 = 2119;BA.debugLine="If VALIDO = \"OK\" Then"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean("=",_valido,BA.ObjectToString("OK"))) { + BA.debugLineNum = 2120;BA.debugLine="If l_ctast.Text = \"0\" Then"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_l_ctast" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("0"))) { + BA.debugLineNum = 2121;BA.debugLine="Subir.Visible = True"; +Debug.ShouldStop(256); +__ref.getField(false,"_subir" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + }else +{ BA.debugLineNum = 2122;BA.debugLine="Else If l_ctast.Text <> \"0\" Then"; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean("!",__ref.getField(false,"_l_ctast" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("0"))) { + BA.debugLineNum = 2123;BA.debugLine="Subir.Visible = False"; +Debug.ShouldStop(1024); +__ref.getField(false,"_subir" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + }} +; + BA.debugLineNum = 2125;BA.debugLine="cargar.Visible = True"; +Debug.ShouldStop(4096); +__ref.getField(false,"_cargar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 2126;BA.debugLine="If Subs.dameUsuarioDeDB = \"ROOT\" Then"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean("=",c_principal._subs.runMethod(true,"_dameusuariodedb" /*RemoteObject*/ ,__ref.getField(false, "ba")),BA.ObjectToString("ROOT"))) { + BA.debugLineNum = 2127;BA.debugLine="Subir.Visible = True"; +Debug.ShouldStop(16384); +__ref.getField(false,"_subir" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + }; + BA.debugLineNum = 2129;BA.debugLine="connecta.Visible = False"; +Debug.ShouldStop(65536); +__ref.getField(false,"_connecta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 2130;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM RUTAA"; +Debug.ShouldStop(131072); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM RUTAA"))); + BA.debugLineNum = 2133;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO RUTA"; +Debug.ShouldStop(1048576); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO RUTAA(RUTAA) VALUES (?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText"))}))))); + BA.debugLineNum = 2135;BA.debugLine="B4XPages.MainPage.rutaPreventa = e_ruta.TEXT"; +Debug.ShouldStop(4194304); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_rutapreventa" /*RemoteObject*/ ,__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText")); + BA.debugLineNum = 2137;BA.debugLine="If conn = \"1\" Then"; +Debug.ShouldStop(16777216); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_conn" /*RemoteObject*/ ),BA.ObjectToString("1"))) { + BA.debugLineNum = 2138;BA.debugLine="ToastMessageShow(\"Existe Conexión con el Se"; +Debug.ShouldStop(33554432); +c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Existe Conexión con el Servidor.")),(Object)(c_principal.__c.getField(true,"True"))); + }; + }else { + BA.debugLineNum = 2141;BA.debugLine="MsgboxAsync(\"La ruta no esta asignada a este"; +Debug.ShouldStop(268435456); +c_principal.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("La ruta no esta asignada a este usuario")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + BA.debugLineNum = 2142;BA.debugLine="cargar.Visible = False"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_cargar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 2143;BA.debugLine="Subir.Visible = False"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_subir" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 2144;BA.debugLine="inv.Visible = False"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_inv" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 2145;BA.debugLine="connecta.Visible = False"; +Debug.ShouldStop(1); +__ref.getField(false,"_connecta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + }; + } +}Debug.locals.put("records", _records); +; + }; + }; + BA.debugLineNum = 2151;BA.debugLine="If Job.JobName = \"DBRequest\" Then 'Traemos las c"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 2152;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +Debug.ShouldStop(128); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result); + BA.debugLineNum = 2153;BA.debugLine="If result.Tag = \"coords_almacen\" Then 'query ta"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("coords_almacen")))) { + BA.debugLineNum = 2154;BA.debugLine="For Each records() As Object In result.Rows"; +Debug.ShouldStop(512); +{ +final RemoteObject group473 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen473 = group473.runMethod(true,"getSize").get() +;int index473 = 0; +; +for (; index473 < groupLen473;index473++){ +_records = (group473.runMethod(false,"Get",index473));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 2155;BA.debugLine="Log(\"Coordenadas del almacen: \" & records(res"; +Debug.ShouldStop(1024); +c_principal.__c.runVoidMethod ("LogImpl","814877241",RemoteObject.concat(RemoteObject.createImmutable("Coordenadas del almacen: "),_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_AL_LATITUD")))))),RemoteObject.createImmutable(","),_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_AL_LONGITUD"))))))),0); + BA.debugLineNum = 2156;BA.debugLine="Private lat, lon As Double"; +Debug.ShouldStop(2048); +_lat = RemoteObject.createImmutable(0);Debug.locals.put("lat", _lat); +_lon = RemoteObject.createImmutable(0);Debug.locals.put("lon", _lon); + BA.debugLineNum = 2157;BA.debugLine="lat = 0.0"; +Debug.ShouldStop(4096); +_lat = BA.numberCast(double.class, 0.0);Debug.locals.put("lat", _lat); + BA.debugLineNum = 2158;BA.debugLine="lon = 0.0"; +Debug.ShouldStop(8192); +_lon = BA.numberCast(double.class, 0.0);Debug.locals.put("lon", _lon); + BA.debugLineNum = 2159;BA.debugLine="If IsNumber(records(result.Columns.Get(\"CAT_A"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean(".",c_principal.__c.runMethod(true,"IsNumber",(Object)(BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_AL_LATITUD")))))))))) && RemoteObject.solveBoolean(".",c_principal.__c.runMethod(true,"IsNumber",(Object)(BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_AL_LONGITUD"))))))))))) { + BA.debugLineNum = 2160;BA.debugLine="lat = records(result.Columns.Get(\"CAT_AL_LAT"; +Debug.ShouldStop(32768); +_lat = BA.numberCast(double.class, _records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_AL_LATITUD")))))));Debug.locals.put("lat", _lat); + BA.debugLineNum = 2161;BA.debugLine="lon = records(result.Columns.Get(\"CAT_AL_LON"; +Debug.ShouldStop(65536); +_lon = BA.numberCast(double.class, _records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_AL_LONGITUD")))))));Debug.locals.put("lon", _lon); + }; + BA.debugLineNum = 2163;BA.debugLine="Starter.cedisLocation.Latitude = lat"; +Debug.ShouldStop(262144); +c_principal._starter._cedislocation /*RemoteObject*/ .runMethod(true,"setLatitude",_lat); + BA.debugLineNum = 2164;BA.debugLine="Starter.cedisLocation.Longitude = lon"; +Debug.ShouldStop(524288); +c_principal._starter._cedislocation /*RemoteObject*/ .runMethod(true,"setLongitude",_lon); + BA.debugLineNum = 2165;BA.debugLine="Starter.skmt.ExecNonQuery2(\"delete from CAT_V"; +Debug.ShouldStop(1048576); +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("COORDS_ALMACEN"))}))))); + BA.debugLineNum = 2166;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_V"; +Debug.ShouldStop(2097152); +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(("COORDS_ALMACEN")),(RemoteObject.concat(_lon,RemoteObject.createImmutable(","),_lat))}))))); + } +}Debug.locals.put("records", _records); +; + }; + }; + BA.debugLineNum = 2172;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(134217728); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 2173;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +Debug.ShouldStop(268435456); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result); + BA.debugLineNum = 2174;BA.debugLine="If result.Tag = \"ins_reparto\" Then 'query tag"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("ins_reparto")))) { + BA.debugLineNum = 2175;BA.debugLine="For Each records() As Object In result.Rows"; +Debug.ShouldStop(1073741824); +{ +final RemoteObject group492 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen492 = group492.runMethod(true,"getSize").get() +;int index492 = 0; +; +for (; index492 < groupLen492;index492++){ +_records = (group492.runMethod(false,"Get",index492));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 2176;BA.debugLine="For Each k As String In result.Columns.Keys"; +Debug.ShouldStop(-2147483648); +{ +final RemoteObject group493 = _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Keys"); +final int groupLen493 = group493.runMethod(true,"getSize").get() +;int index493 = 0; +; +for (; index493 < groupLen493;index493++){ +_k = BA.ObjectToString(group493.runMethod(false,"Get",index493));Debug.locals.put("k", _k); +Debug.locals.put("k", _k); + BA.debugLineNum = 2177;BA.debugLine="Log(k & \": \" & records(result.Columns.Get(k)"; +Debug.ShouldStop(1); +c_principal.__c.runVoidMethod ("LogImpl","814877263",RemoteObject.concat(_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 = 2183;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 2184;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +Debug.ShouldStop(128); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result); + BA.debugLineNum = 2185;BA.debugLine="If result.Tag = \"ins_rechazos\" Then 'query tag"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("ins_rechazos")))) { + BA.debugLineNum = 2186;BA.debugLine="For Each records() As Object In result.Rows"; +Debug.ShouldStop(512); +{ +final RemoteObject group502 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen502 = group502.runMethod(true,"getSize").get() +;int index502 = 0; +; +for (; index502 < groupLen502;index502++){ +_records = (group502.runMethod(false,"Get",index502));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 2187;BA.debugLine="For Each k As String In result.Columns.Keys"; +Debug.ShouldStop(1024); +{ +final RemoteObject group503 = _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Keys"); +final int groupLen503 = group503.runMethod(true,"getSize").get() +;int index503 = 0; +; +for (; index503 < groupLen503;index503++){ +_k = BA.ObjectToString(group503.runMethod(false,"Get",index503));Debug.locals.put("k", _k); +Debug.locals.put("k", _k); + BA.debugLineNum = 2188;BA.debugLine="Log(k & \": \" & records(result.Columns.Get(k)"; +Debug.ShouldStop(2048); +c_principal.__c.runVoidMethod ("LogImpl","814877274",RemoteObject.concat(_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 = 2193;BA.debugLine="Job.Release"; +Debug.ShouldStop(65536); +_job.runClassMethod (reparto_izca.keymon.lat.httpjob.class, "_release" /*RemoteObject*/ ); + }; + BA.debugLineNum = 2196;BA.debugLine="If reqs.Size = 0 Then"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_reqs" /*RemoteObject*/ ).runMethod(true,"getSize"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2202;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT COUNT(*) AS C"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT COUNT(*) AS CUANTOS FROM CHECADO_CHECK")))); + BA.debugLineNum = 2203;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2204;BA.debugLine="If c.GetString(\"CUANTOS\") = 0 Then"; +Debug.ShouldStop(134217728); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS"))),BA.NumberToString(0))) { + BA.debugLineNum = 2205;BA.debugLine="Starter.skmt.ExecNonQuery2(\"insert into CHECADO"; +Debug.ShouldStop(268435456); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("insert into CHECADO_CHECK (CHECADO) VALUES(?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("0")}))))); + }else +{ BA.debugLineNum = 2207;BA.debugLine="Else If c.GetString(\"CUANTOS\") = 1 Then"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS"))),BA.NumberToString(1))) { + }} +; + BA.debugLineNum = 2210;BA.debugLine="c.Close"; +Debug.ShouldStop(2); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + }; + BA.debugLineNum = 2216;BA.debugLine="End Sub"; +Debug.ShouldStop(128); +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_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,2609); +if (RapidSub.canDelegate("listview1_itemclick")) { return __ref.runUserSub(false, "c_principal","listview1_itemclick", __ref, _position, _value);} +RemoteObject _clieasing = null; +Debug.locals.put("Position", _position); +Debug.locals.put("Value", _value); + BA.debugLineNum = 2609;BA.debugLine="Private Sub ListView1_ItemClick (Position As Int,"; +Debug.ShouldStop(65536); + BA.debugLineNum = 2610;BA.debugLine="Log(Value)"; +Debug.ShouldStop(131072); +c_principal.__c.runVoidMethod ("LogImpl","815728641",BA.ObjectToString(_value),0); + BA.debugLineNum = 2612;BA.debugLine="Dim clieasing() As String = Regex.Split(\" \", Valu"; +Debug.ShouldStop(524288); +_clieasing = c_principal.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString(" ")),(Object)(BA.ObjectToString(_value)));Debug.locals.put("clieasing", _clieasing);Debug.locals.put("clieasing", _clieasing); + BA.debugLineNum = 2613;BA.debugLine="Log(clieasing(0))"; +Debug.ShouldStop(1048576); +c_principal.__c.runVoidMethod ("LogImpl","815728644",_clieasing.getArrayElement(true,BA.numberCast(int.class, 0)),0); + BA.debugLineNum = 2615;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CUENTAA\")"; +Debug.ShouldStop(4194304); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from CUENTAA"))); + BA.debugLineNum = 2616;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CUENTAA V"; +Debug.ShouldStop(8388608); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CUENTAA VALUES (?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(_clieasing.getArrayElement(true,BA.numberCast(int.class, 0)))}))))); + BA.debugLineNum = 2617;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +Debug.ShouldStop(16777216); +c_principal._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Cliente"))); + BA.debugLineNum = 2618;BA.debugLine="Panel1.Visible = False"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_panel1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 2619;BA.debugLine="End Sub"; +Debug.ShouldStop(67108864); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _p_carga_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("P_carga_Click (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,2813); +if (RapidSub.canDelegate("p_carga_click")) { return __ref.runUserSub(false, "c_principal","p_carga_click", __ref);} + BA.debugLineNum = 2813;BA.debugLine="Private Sub P_carga_Click"; +Debug.ShouldStop(268435456); + BA.debugLineNum = 2815;BA.debugLine="End Sub"; +Debug.ShouldStop(1073741824); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _p_ciego_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("P_CIEGO_Click (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,3566); +if (RapidSub.canDelegate("p_ciego_click")) { return __ref.runUserSub(false, "c_principal","p_ciego_click", __ref);} + BA.debugLineNum = 3566;BA.debugLine="Private Sub P_CIEGO_Click"; +Debug.ShouldStop(8192); + BA.debugLineNum = 3568;BA.debugLine="End Sub"; +Debug.ShouldStop(32768); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _p_prod_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("p_prod_Click (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,2681); +if (RapidSub.canDelegate("p_prod_click")) { return __ref.runUserSub(false, "c_principal","p_prod_click", __ref);} + BA.debugLineNum = 2681;BA.debugLine="Private Sub p_prod_Click"; +Debug.ShouldStop(16777216); + BA.debugLineNum = 2683;BA.debugLine="End Sub"; +Debug.ShouldStop(67108864); +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_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,2954); +if (RapidSub.canDelegate("printer_connected")) { return __ref.runUserSub(false, "c_principal","printer_connected", __ref, _success);} +Debug.locals.put("Success", _success); + BA.debugLineNum = 2954;BA.debugLine="Sub Printer_Connected (Success As Boolean)"; +Debug.ShouldStop(512); + BA.debugLineNum = 2955;BA.debugLine="If Success Then"; +Debug.ShouldStop(1024); +if (_success.get().booleanValue()) { + BA.debugLineNum = 2957;BA.debugLine="PASA_IMP = \"1\""; +Debug.ShouldStop(4096); +__ref.setField ("_pasa_imp" /*RemoteObject*/ ,BA.ObjectToString("1")); + }else { + BA.debugLineNum = 2960;BA.debugLine="If Msgbox2(\"\", \"Printer Error\",\"Reprint\",\"Cancel"; +Debug.ShouldStop(32768); +if (RemoteObject.solveBoolean("=",c_principal.__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_principal.__c.getField(false,"Null"))),__ref.getField(false, "ba")),BA.numberCast(double.class, c_principal.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { + BA.debugLineNum = 2961;BA.debugLine="StartPrinter"; +Debug.ShouldStop(65536); +__ref.runClassMethod (reparto_izca.keymon.lat.c_principal.class, "_startprinter" /*RemoteObject*/ ); + }; + }; + BA.debugLineNum = 2964;BA.debugLine="End Sub"; +Debug.ShouldStop(524288); +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_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,2929); +if (RapidSub.canDelegate("printer1_connected")) { return __ref.runUserSub(false, "c_principal","printer1_connected", __ref, _success);} +Debug.locals.put("Success", _success); + BA.debugLineNum = 2929;BA.debugLine="Sub Printer1_Connected (Success As Boolean)"; +Debug.ShouldStop(65536); + BA.debugLineNum = 2931;BA.debugLine="If Success Then"; +Debug.ShouldStop(262144); +if (_success.get().booleanValue()) { + BA.debugLineNum = 2932;BA.debugLine="ToastMessageShow(\"Impresora conectada\", False)"; +Debug.ShouldStop(524288); +c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Impresora conectada")),(Object)(c_principal.__c.getField(true,"False"))); + BA.debugLineNum = 2933;BA.debugLine="Starter.skmt.ExecNonQuery2(\"delete from CAT_VARI"; +Debug.ShouldStop(1048576); +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("MACIMP"))}))))); + BA.debugLineNum = 2934;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_VARI"; +Debug.ShouldStop(2097152); +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(("MACIMP")),(c_principal._starter._mac_impresora /*RemoteObject*/ )}))))); + BA.debugLineNum = 2937;BA.debugLine="impresoraConectada = True"; +Debug.ShouldStop(16777216); +__ref.setField ("_impresoraconectada" /*RemoteObject*/ ,c_principal.__c.getField(true,"True")); + }else { + BA.debugLineNum = 2941;BA.debugLine="LogColor(\"Error conectando la impresora\", Colors"; +Debug.ShouldStop(268435456); +c_principal.__c.runVoidMethod ("LogImpl","816252940",BA.ObjectToString("Error conectando la impresora"),c_principal.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 2942;BA.debugLine="errorImpresora = errorImpresora + 1"; +Debug.ShouldStop(536870912); +__ref.setField ("_errorimpresora" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_errorimpresora" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "+",1, 1)); + BA.debugLineNum = 2943;BA.debugLine="If errorImpresora > 1 Then"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean(">",__ref.getField(true,"_errorimpresora" /*RemoteObject*/ ),BA.numberCast(double.class, 1))) { + BA.debugLineNum = 2944;BA.debugLine="Starter.MAC_IMPRESORA = \"0\""; +Debug.ShouldStop(-2147483648); +c_principal._starter._mac_impresora /*RemoteObject*/ = BA.ObjectToString("0"); + BA.debugLineNum = 2945;BA.debugLine="errorImpresora = 0"; +Debug.ShouldStop(1); +__ref.setField ("_errorimpresora" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + }; + }; + BA.debugLineNum = 2948;BA.debugLine="End Sub"; +Debug.ShouldStop(8); +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_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,2950); +if (RapidSub.canDelegate("printer1_error")) { return __ref.runUserSub(false, "c_principal","printer1_error", __ref);} + BA.debugLineNum = 2950;BA.debugLine="Sub Printer1_Error"; +Debug.ShouldStop(32); + BA.debugLineNum = 2951;BA.debugLine="Log(\"error printer\")"; +Debug.ShouldStop(64); +c_principal.__c.runVoidMethod ("LogImpl","816318465",RemoteObject.createImmutable("error printer"),0); + 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 _startprinter(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("StartPrinter (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,2966); +if (RapidSub.canDelegate("startprinter")) { return __ref.runUserSub(false, "c_principal","startprinter", __ref);} +RemoteObject _paireddevices = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _l1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _resimp = RemoteObject.createImmutable(0); +int _i = 0; + BA.debugLineNum = 2966;BA.debugLine="Sub StartPrinter"; +Debug.ShouldStop(2097152); + BA.debugLineNum = 2967;BA.debugLine="Dim PairedDevices As Map"; +Debug.ShouldStop(4194304); +_paireddevices = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");Debug.locals.put("PairedDevices", _paireddevices); + BA.debugLineNum = 2968;BA.debugLine="Dim L1 As List"; +Debug.ShouldStop(8388608); +_l1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");Debug.locals.put("L1", _l1); + BA.debugLineNum = 2969;BA.debugLine="Dim resimp As Int"; +Debug.ShouldStop(16777216); +_resimp = RemoteObject.createImmutable(0);Debug.locals.put("resimp", _resimp); + BA.debugLineNum = 2970;BA.debugLine="ToastMessageShow(\"Printing.....\",True)"; +Debug.ShouldStop(33554432); +c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Printing.....")),(Object)(c_principal.__c.getField(true,"True"))); + BA.debugLineNum = 2971;BA.debugLine="PairedDevices.Initialize"; +Debug.ShouldStop(67108864); +_paireddevices.runVoidMethod ("Initialize"); + BA.debugLineNum = 2972;BA.debugLine="Try"; +Debug.ShouldStop(134217728); +try { BA.debugLineNum = 2973;BA.debugLine="PairedDevices = cmp20.GetPairedDevices"; +Debug.ShouldStop(268435456); +_paireddevices = __ref.getField(false,"_cmp20" /*RemoteObject*/ ).runMethod(false,"GetPairedDevices");Debug.locals.put("PairedDevices", _paireddevices); + Debug.CheckDeviceExceptions(); +} + catch (Exception e9) { + BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e9.toString()); BA.debugLineNum = 2975;BA.debugLine="Msgbox(\"Getting Paired Devices\",\"Printer Error\")"; +Debug.ShouldStop(1073741824); +c_principal.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("Getting Paired Devices")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Printer Error"))),__ref.getField(false, "ba")); + BA.debugLineNum = 2976;BA.debugLine="printer.Close"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_printer" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 2977;BA.debugLine="cmp20.Disconnect"; +Debug.ShouldStop(1); +__ref.getField(false,"_cmp20" /*RemoteObject*/ ).runVoidMethod ("Disconnect"); + }; + BA.debugLineNum = 2980;BA.debugLine="If PairedDevices.Size = 0 Then"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean("=",_paireddevices.runMethod(true,"getSize"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2981;BA.debugLine="Msgbox(\"Error Connecting to Printer - Printer No"; +Debug.ShouldStop(16); +c_principal.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("Error Connecting to Printer - Printer Not Found")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable(""))),__ref.getField(false, "ba")); + BA.debugLineNum = 2982;BA.debugLine="Return"; +Debug.ShouldStop(32); +if (true) return RemoteObject.createImmutable(""); + }; + BA.debugLineNum = 2985;BA.debugLine="If PairedDevices.Size = 1 Then"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean("=",_paireddevices.runMethod(true,"getSize"),BA.numberCast(double.class, 1))) { + BA.debugLineNum = 2986;BA.debugLine="Try"; +Debug.ShouldStop(512); +try { BA.debugLineNum = 2987;BA.debugLine="cmp20.Connect(PairedDevices.Get(PairedDevices.G"; +Debug.ShouldStop(1024); +__ref.getField(false,"_cmp20" /*RemoteObject*/ ).runVoidMethod ("Connect",__ref.getField(false, "ba"),(Object)(BA.ObjectToString(_paireddevices.runMethod(false,"Get",(Object)(_paireddevices.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 = 2989;BA.debugLine="Msgbox(\"Connecting\",\"Printer Error\") 'ignore"; +Debug.ShouldStop(4096); +c_principal.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("Connecting")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Printer Error"))),__ref.getField(false, "ba")); + BA.debugLineNum = 2990;BA.debugLine="printer.Close"; +Debug.ShouldStop(8192); +__ref.getField(false,"_printer" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 2991;BA.debugLine="cmp20.Disconnect"; +Debug.ShouldStop(16384); +__ref.getField(false,"_cmp20" /*RemoteObject*/ ).runVoidMethod ("Disconnect"); + }; + }else { + BA.debugLineNum = 2994;BA.debugLine="L1.Initialize"; +Debug.ShouldStop(131072); +_l1.runVoidMethod ("Initialize"); + BA.debugLineNum = 2995;BA.debugLine="For i = 0 To PairedDevices.Size - 1"; +Debug.ShouldStop(262144); +{ +final int step27 = 1; +final int limit27 = RemoteObject.solve(new RemoteObject[] {_paireddevices.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 = 2996;BA.debugLine="L1.Add(PairedDevices.GetKeyAt(i))"; +Debug.ShouldStop(524288); +_l1.runVoidMethod ("Add",(Object)(_paireddevices.runMethod(false,"GetKeyAt",(Object)(BA.numberCast(int.class, _i))))); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 2998;BA.debugLine="resimp = InputList(L1, \"Choose device\", -1) 'ign"; +Debug.ShouldStop(2097152); +_resimp = c_principal.__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 = 2999;BA.debugLine="If resimp <> DialogResponse.CANCEL Then"; +Debug.ShouldStop(4194304); +if (RemoteObject.solveBoolean("!",_resimp,BA.numberCast(double.class, c_principal.__c.getField(false,"DialogResponse").getField(true,"CANCEL")))) { + BA.debugLineNum = 3000;BA.debugLine="cmp20.Connect(PairedDevices.Get(L1.Get(resimp))"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_cmp20" /*RemoteObject*/ ).runVoidMethod ("Connect",__ref.getField(false, "ba"),(Object)(BA.ObjectToString(_paireddevices.runMethod(false,"Get",(Object)(_l1.runMethod(false,"Get",(Object)(_resimp))))))); + }; + }; + BA.debugLineNum = 3003;BA.debugLine="End Sub"; +Debug.ShouldStop(67108864); +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",11,__ref.getField(false, "ba"),__ref,819); +if (RapidSub.canDelegate("subir_click")) { return __ref.runUserSub(false, "c_principal","subir_click", __ref);} + BA.debugLineNum = 819;BA.debugLine="Sub Subir_Click"; +Debug.ShouldStop(262144); + BA.debugLineNum = 820;BA.debugLine="If Not(IsConnectedToInternet) Then MsgboxAsync(\"N"; +Debug.ShouldStop(524288); +if (c_principal.__c.runMethod(true,"Not",(Object)(__ref.runClassMethod (reparto_izca.keymon.lat.c_principal.class, "_isconnectedtointernet" /*RemoteObject*/ ))).get().booleanValue()) { +c_principal.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("No hay conexión a conexión a Internet")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Revisa tu conexión"))),__ref.getField(false, "ba"));}; + BA.debugLineNum = 821;BA.debugLine="c=Starter.skmt.ExecQuery(\"select usuario from usu"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select usuario from usuarioa")))); + BA.debugLineNum = 822;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 823;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 = 824;BA.debugLine="c.Close"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 826;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT * FROM BLOCKEN"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT * FROM BLOCKENVIO")))); + BA.debugLineNum = 827;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 = 828;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO BLOCKENV"; +Debug.ShouldStop(134217728); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO BLOCKENVIO(ENVIADO) VALUES (?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {RemoteObject.createImmutable((1))}))))); + BA.debugLineNum = 829;BA.debugLine="envioinfo"; +Debug.ShouldStop(268435456); +__ref.runClassMethod (reparto_izca.keymon.lat.c_principal.class, "_envioinfo" /*RemoteObject*/ ); + }else { + BA.debugLineNum = 831;BA.debugLine="envioinfo"; +Debug.ShouldStop(1073741824); +__ref.runClassMethod (reparto_izca.keymon.lat.c_principal.class, "_envioinfo" /*RemoteObject*/ ); + }; + BA.debugLineNum = 833;BA.debugLine="c.Close"; +Debug.ShouldStop(1); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 839;BA.debugLine="End Sub"; +Debug.ShouldStop(64); +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",11,__ref.getField(false, "ba"),__ref,2313); +if (RapidSub.canDelegate("t1_tick")) { return __ref.runUserSub(false, "c_principal","t1_tick", __ref);} + BA.debugLineNum = 2313;BA.debugLine="Sub t1_tick"; +Debug.ShouldStop(256); + BA.debugLineNum = 2314;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(512); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 2315;BA.debugLine="cmd.Name = \"select_cuantos_pedido\""; +Debug.ShouldStop(1024); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cuantos_pedido")); + BA.debugLineNum = 2316;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,l_ruta.t"; +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,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"getText"))})); + BA.debugLineNum = 2317;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"valida_pedido\")"; +Debug.ShouldStop(4096); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("valida_pedido")))); + BA.debugLineNum = 2319;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(16384); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 2320;BA.debugLine="cmd.Name = \"select_cuantos_noventa_mards\""; +Debug.ShouldStop(32768); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cuantos_noventa_mards")); + BA.debugLineNum = 2321;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,l_ruta.t"; +Debug.ShouldStop(65536); +__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 = 2322;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"valida_noventa\""; +Debug.ShouldStop(131072); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("valida_noventa")))); + BA.debugLineNum = 2324;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(524288); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 2325;BA.debugLine="cmd.Name = \"select_cuantos_pedidoc\""; +Debug.ShouldStop(1048576); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cuantos_pedidoc")); + BA.debugLineNum = 2326;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 = 2327;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"valida_pedidoc\""; +Debug.ShouldStop(4194304); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("valida_pedidoc")))); + BA.debugLineNum = 2328;BA.debugLine="img2.Visible=False"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 2329;BA.debugLine="t1.Enabled = False"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_t1" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 2330;BA.debugLine="End Sub"; +Debug.ShouldStop(33554432); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _t8_tick(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("t8_tick (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,2801); +if (RapidSub.canDelegate("t8_tick")) { return __ref.runUserSub(false, "c_principal","t8_tick", __ref);} + BA.debugLineNum = 2801;BA.debugLine="Sub t8_tick"; +Debug.ShouldStop(65536); + BA.debugLineNum = 2802;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(131072); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 2803;BA.debugLine="cmd.Name = \"select_conteo_izca\""; +Debug.ShouldStop(262144); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_conteo_izca")); + BA.debugLineNum = 2804;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, ALM"; +Debug.ShouldStop(524288); +__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 = 2805;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"CONTEO_DATOS\")"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("CONTEO_DATOS")))); + BA.debugLineNum = 2806;BA.debugLine="l_carga2.Text = \"VALIDANDO\""; +Debug.ShouldStop(2097152); +__ref.getField(false,"_l_carga2" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("VALIDANDO")); + BA.debugLineNum = 2807;BA.debugLine="L_carga.Text = \"VALIDANDO\""; +Debug.ShouldStop(4194304); +__ref.getField(false,"_l_carga" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("VALIDANDO")); + BA.debugLineNum = 2808;BA.debugLine="PB_carga.Progress = 50"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_pb_carga" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 50)); + BA.debugLineNum = 2809;BA.debugLine="PB_carga2.Progress = 50"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_pb_carga2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 50)); + BA.debugLineNum = 2810;BA.debugLine="t8.Enabled = False"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_t8" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_principal.__c.getField(true,"False")); + 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 _to_number_vb(RemoteObject __ref,RemoteObject _valor) throws Exception{ +try { + Debug.PushSubsStack("to_number_vb (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,797); +if (RapidSub.canDelegate("to_number_vb")) { return __ref.runUserSub(false, "c_principal","to_number_vb", __ref, _valor);} +RemoteObject _valstring = RemoteObject.createImmutable(0); +RemoteObject _valstring2 = RemoteObject.createImmutable(""); +Debug.locals.put("valor", _valor); + BA.debugLineNum = 797;BA.debugLine="Sub to_number_vb (valor As Object) As String"; +Debug.ShouldStop(268435456); + BA.debugLineNum = 798;BA.debugLine="Dim valstring As Int"; +Debug.ShouldStop(536870912); +_valstring = RemoteObject.createImmutable(0);Debug.locals.put("valstring", _valstring); + BA.debugLineNum = 799;BA.debugLine="Dim valstring2 As String = valor"; +Debug.ShouldStop(1073741824); +_valstring2 = BA.ObjectToString(_valor);Debug.locals.put("valstring2", _valstring2);Debug.locals.put("valstring2", _valstring2); + BA.debugLineNum = 800;BA.debugLine="valstring2.Replace(\":\",\"\")"; +Debug.ShouldStop(-2147483648); +_valstring2.runVoidMethod ("replace",(Object)(BA.ObjectToString(":")),(Object)(RemoteObject.createImmutable(""))); + BA.debugLineNum = 801;BA.debugLine="Try"; +Debug.ShouldStop(1); +try { BA.debugLineNum = 802;BA.debugLine="valstring =valstring2.Replace(\":\",\"\")"; +Debug.ShouldStop(2); +_valstring = BA.numberCast(int.class, _valstring2.runMethod(true,"replace",(Object)(BA.ObjectToString(":")),(Object)(RemoteObject.createImmutable(""))));Debug.locals.put("valstring", _valstring); + BA.debugLineNum = 803;BA.debugLine="Return valstring"; +Debug.ShouldStop(4); +Debug.CheckDeviceExceptions();if (true) return BA.NumberToString(_valstring); + Debug.CheckDeviceExceptions(); +} + catch (Exception e8) { + BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e8.toString()); BA.debugLineNum = 805;BA.debugLine="Return 0"; +Debug.ShouldStop(16); +if (true) return BA.NumberToString(0); + }; + BA.debugLineNum = 807;BA.debugLine="End Sub"; +Debug.ShouldStop(64); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _trabajar_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("trabajar_Click (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,809); +if (RapidSub.canDelegate("trabajar_click")) { return __ref.runUserSub(false, "c_principal","trabajar_click", __ref);} + BA.debugLineNum = 809;BA.debugLine="Sub trabajar_Click"; +Debug.ShouldStop(256); + BA.debugLineNum = 810;BA.debugLine="If b_check.Visible = True Then"; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_b_check" /*RemoteObject*/ ).runMethod(true,"getVisible"),c_principal.__c.getField(true,"True"))) { + BA.debugLineNum = 811;BA.debugLine="MsgboxAsync(\"Favor de hacer el checklist.\",\"Atenc"; +Debug.ShouldStop(1024); +c_principal.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Favor de hacer el checklist.")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + }else { + BA.debugLineNum = 814;BA.debugLine="B4XPages.ShowPage(\"Clientes\")"; +Debug.ShouldStop(8192); +c_principal._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Clientes"))); + }; + BA.debugLineNum = 817;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/reparto_izca/keymon/lat/c_productos.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_productos.java new file mode 100644 index 0000000..709b0c5 --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_productos.java @@ -0,0 +1,79 @@ + +package reparto_izca.keymon.lat; + +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 _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 _b_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 _b_borra = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _existe = RemoteObject.createImmutable(""); +public static RemoteObject _result = RemoteObject.createImmutable(""); +public static RemoteObject _cuantos = RemoteObject.createImmutable(""); +public static RemoteObject _nombre_prod = RemoteObject.createImmutable(""); +public static RemoteObject _cuantos_pedido = RemoteObject.createImmutable(""); +public static RemoteObject _titulo = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _p1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _lv2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.ListViewWrapper"); +public static RemoteObject _p_principal = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _clv_pedido = RemoteObject.declareNull("b4a.example3.customlistview"); +public static RemoteObject _p_prods = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _l_prodx = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +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 _bmp = RemoteObject.declareNull("anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper"); +public static RemoteObject _etcanthasfocus = RemoteObject.createImmutable(false); +public static RemoteObject _totalprods = RemoteObject.createImmutable(0); +public static RemoteObject _totalcompra = RemoteObject.createImmutable(0); +public static RemoteObject _prodsmap = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +public static RemoteObject _reconstruirpedido = RemoteObject.createImmutable(false); +public static RemoteObject _promoaborrar = RemoteObject.createImmutable(""); +public static RemoteObject _b_guardar = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _b_prodmas = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _b_prodmenos = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _b_prodmenosc = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _l_pcantc = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _et_pcantc = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _b_prodmasc = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _p_botmasmenc = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _p_botmasmen = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _b_revversar = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _label2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _label3 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_piezas = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_cajas = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static reparto_izca.keymon.lat.main _main = null; +public static reparto_izca.keymon.lat.appupdater _appupdater = null; +public static reparto_izca.keymon.lat.subs _subs = null; +public static reparto_izca.keymon.lat.foto _foto = null; +public static reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public static reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public static reparto_izca.keymon.lat.starter _starter = null; +public static reparto_izca.keymon.lat.tracker _tracker = null; +public static reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public static reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public static reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public static reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public static reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"b_borra",_ref.getField(false, "_b_borra"),"b_guardar",_ref.getField(false, "_b_guardar"),"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_regresar",_ref.getField(false, "_b_regresar"),"b_revversar",_ref.getField(false, "_b_revversar"),"bmp",_ref.getField(false, "_bmp"),"c",_ref.getField(false, "_c"),"clie_id",_ref.getField(false, "_clie_id"),"clv_pedido",_ref.getField(false, "_clv_pedido"),"cuantos",_ref.getField(false, "_cuantos"),"cuantos_pedido",_ref.getField(false, "_cuantos_pedido"),"DateUtils",_ref.getField(false, "_dateutils"),"et_pCant",_ref.getField(false, "_et_pcant"),"et_pCantC",_ref.getField(false, "_et_pcantc"),"etCantHasFocus",_ref.getField(false, "_etcanthasfocus"),"Existe",_ref.getField(false, "_existe"),"g",_ref.getField(false, "_g"),"l_cajas",_ref.getField(false, "_l_cajas"),"L_CANT",_ref.getField(false, "_l_cant"),"l_pCant",_ref.getField(false, "_l_pcant"),"l_pCantC",_ref.getField(false, "_l_pcantc"),"l_piezas",_ref.getField(false, "_l_piezas"),"l_prodX",_ref.getField(false, "_l_prodx"),"L_TOTAL",_ref.getField(false, "_l_total"),"Label2",_ref.getField(false, "_label2"),"Label3",_ref.getField(false, "_label3"),"ListView1",_ref.getField(false, "_listview1"),"lv2",_ref.getField(false, "_lv2"),"nombre_prod",_ref.getField(false, "_nombre_prod"),"p_botMasMen",_ref.getField(false, "_p_botmasmen"),"p_botMasMenC",_ref.getField(false, "_p_botmasmenc"),"p_principal",_ref.getField(false, "_p_principal"),"p_prods",_ref.getField(false, "_p_prods"),"P1",_ref.getField(false, "_p1"),"prodsMap",_ref.getField(false, "_prodsmap"),"promoABorrar",_ref.getField(false, "_promoaborrar"),"reconstruirPedido",_ref.getField(false, "_reconstruirpedido"),"result",_ref.getField(false, "_result"),"Root",_ref.getField(false, "_root"),"sDate",_ref.getField(false, "_sdate"),"sTime",_ref.getField(false, "_stime"),"Titulo",_ref.getField(false, "_titulo"),"totalCompra",_ref.getField(false, "_totalcompra"),"totalProds",_ref.getField(false, "_totalprods"),"usuario",_ref.getField(false, "_usuario"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_productos_subs_0.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_productos_subs_0.java new file mode 100644 index 0000000..067d3f9 --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_productos_subs_0.java @@ -0,0 +1,1847 @@ +package reparto_izca.keymon.lat; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class c_productos_subs_0 { + + +public static RemoteObject _b_guardar_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_guardar_Click (c_productos) ","c_productos",18,__ref.getField(false, "ba"),__ref,1107); +if (RapidSub.canDelegate("b_guardar_click")) { return __ref.runUserSub(false, "c_productos","b_guardar_click", __ref);} + BA.debugLineNum = 1107;BA.debugLine="Private Sub b_guardar_Click"; +Debug.ShouldStop(262144); + BA.debugLineNum = 1109;BA.debugLine="End Sub"; +Debug.ShouldStop(1048576); +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",18,__ref.getField(false, "ba"),__ref,672); +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 _estetag = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _maxprods = RemoteObject.createImmutable(""); +RemoteObject _minimoadesc = RemoteObject.createImmutable(""); +RemoteObject _minimos = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _c2 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _preciocat = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _preciofull = RemoteObject.createImmutable(""); +RemoteObject _pup = RemoteObject.createImmutable(""); +RemoteObject _precioreg = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _precioregalo = RemoteObject.createImmutable(""); +RemoteObject _esregalo = RemoteObject.createImmutable(""); + BA.debugLineNum = 672;BA.debugLine="Sub b_prodMas_Click"; +Debug.ShouldStop(-2147483648); + BA.debugLineNum = 673;BA.debugLine="etCantHasFocus = False"; +Debug.ShouldStop(1); +__ref.setField ("_etcanthasfocus" /*RemoteObject*/ ,c_productos.__c.getField(true,"False")); + BA.debugLineNum = 674;BA.debugLine="Dim sDate, sTime As String"; +Debug.ShouldStop(2); +c_productos._sdate = RemoteObject.createImmutable("");__ref.setField("_sdate",c_productos._sdate); +c_productos._stime = RemoteObject.createImmutable("");__ref.setField("_stime",c_productos._stime); + BA.debugLineNum = 675;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; +Debug.ShouldStop(4); +c_productos.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("dd/MM/yyyy")); + BA.debugLineNum = 676;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; +Debug.ShouldStop(8); +c_productos.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HH:mm:ss")); + BA.debugLineNum = 677;BA.debugLine="sDate = DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(16); +__ref.setField ("_sdate" /*RemoteObject*/ ,c_productos.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(c_productos.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 678;BA.debugLine="sTime = DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(32); +__ref.setField ("_stime" /*RemoteObject*/ ,c_productos.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(c_productos.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 680;BA.debugLine="LogColor(\"b_prodMas_Click\", Colors.Magenta)"; +Debug.ShouldStop(128); +c_productos.__c.runVoidMethod ("LogImpl","824969224",BA.ObjectToString("b_prodMas_Click"),c_productos.__c.getField(false,"Colors").getField(true,"Magenta")); + BA.debugLineNum = 681;BA.debugLine="Dim index As Int = clv_pedido.GetItemFromView(Sen"; +Debug.ShouldStop(256); +_index = __ref.getField(false,"_clv_pedido" /*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 = 682;BA.debugLine="Dim pnl0 As B4XView = clv_pedido.GetPanel(index)"; +Debug.ShouldStop(512); +_pnl0 = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_pnl0 = __ref.getField(false,"_clv_pedido" /*RemoteObject*/ ).runMethod(false,"_getpanel",(Object)(_index));Debug.locals.put("pnl0", _pnl0);Debug.locals.put("pnl0", _pnl0); + BA.debugLineNum = 683;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 = 684;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(3)"; +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, 3)));Debug.locals.put("laCant", _lacant);Debug.locals.put("laCant", _lacant); + BA.debugLineNum = 688;BA.debugLine="Dim esteTag As List = Regex.Split(\"\\|\", laCant.Ta"; +Debug.ShouldStop(32768); +_estetag = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +_estetag = c_productos.__c.runMethod(false, "ArrayToList", (Object)(c_productos.__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 = 689;BA.debugLine="Log(\"LC_TEXT:\"&laCant.Text&\"|LC_TAG:\"&laCant.Tag&"; +Debug.ShouldStop(65536); +c_productos.__c.runVoidMethod ("LogImpl","824969233",RemoteObject.concat(RemoteObject.createImmutable("LC_TEXT:"),_lacant.runMethod(true,"getText"),RemoteObject.createImmutable("|LC_TAG:"),_lacant.runMethod(false,"getTag"),RemoteObject.createImmutable("|ET:"),_estetag),0); + BA.debugLineNum = 690;BA.debugLine="If laCant.Text = \"\" Then laCant.Text = 0"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean("=",_lacant.runMethod(true,"getText"),BA.ObjectToString(""))) { +_lacant.runMethod(true,"setText",BA.ObjectToCharSequence(0));}; + BA.debugLineNum = 692;BA.debugLine="Private maxProds = esteTag.Get(1) + esteTag.Get(4"; +Debug.ShouldStop(524288); +_maxprods = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 1)))),BA.numberCast(double.class, _estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 4))))}, "+",1, 0));Debug.locals.put("maxProds", _maxprods);Debug.locals.put("maxProds", _maxprods); + BA.debugLineNum = 694;BA.debugLine="Private minimoadesc As String"; +Debug.ShouldStop(2097152); +_minimoadesc = RemoteObject.createImmutable("");Debug.locals.put("minimoadesc", _minimoadesc); + BA.debugLineNum = 695;BA.debugLine="Dim minimos As Cursor = Starter.skmt.ExecQuery2(\""; +Debug.ShouldStop(4194304); +_minimos = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_minimos = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_productos._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT * FROM CAT_GUNAPROD3 WHERE CAT_GP_ID = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2))))}))));Debug.locals.put("minimos", _minimos);Debug.locals.put("minimos", _minimos); + BA.debugLineNum = 696;BA.debugLine="If minimos.RowCount > 0 Then"; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean(">",_minimos.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 697;BA.debugLine="minimos.Position = 0"; +Debug.ShouldStop(16777216); +_minimos.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 698;BA.debugLine="minimoadesc = minimos.GetString(\"CAT_DP_CANT_MIN"; +Debug.ShouldStop(33554432); +_minimoadesc = _minimos.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_CANT_MIN_VENTA")));Debug.locals.put("minimoadesc", _minimoadesc); + }else { + BA.debugLineNum = 700;BA.debugLine="minimoadesc = \"1\""; +Debug.ShouldStop(134217728); +_minimoadesc = BA.ObjectToString("1");Debug.locals.put("minimoadesc", _minimoadesc); + }; + BA.debugLineNum = 702;BA.debugLine="minimos.Close"; +Debug.ShouldStop(536870912); +_minimos.runVoidMethod ("Close"); + BA.debugLineNum = 703;BA.debugLine="minimoadesc = \"1\""; +Debug.ShouldStop(1073741824); +_minimoadesc = BA.ObjectToString("1");Debug.locals.put("minimoadesc", _minimoadesc); + BA.debugLineNum = 706;BA.debugLine="LogColor($\"++++++++++++++++++++++++++ ${esteTag"; +Debug.ShouldStop(2); +c_productos.__c.runVoidMethod ("LogImpl","824969250",(RemoteObject.concat(RemoteObject.createImmutable("++++++++++++++++++++++++++ "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_estetag.getObject()))),RemoteObject.createImmutable(""))),c_productos.__c.getField(false,"Colors").getField(true,"Green")); + BA.debugLineNum = 707;BA.debugLine="Log(esteTag.get(4))"; +Debug.ShouldStop(4); +c_productos.__c.runVoidMethod ("LogImpl","824969251",BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 4)))),0); + BA.debugLineNum = 708;BA.debugLine="If esteTag.Get(4) = \"0\" Then"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean("=",_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 4))),RemoteObject.createImmutable(("0")))) { + }else { + BA.debugLineNum = 711;BA.debugLine="If laCant.Text + 1 <= maxProds Then"; +Debug.ShouldStop(64); +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, _maxprods))) { + BA.debugLineNum = 712;BA.debugLine="Log($\"NuevaCant = ${laCant.Text + 1}\"$)"; +Debug.ShouldStop(128); +c_productos.__c.runVoidMethod ("LogImpl","824969256",(RemoteObject.concat(RemoteObject.createImmutable("NuevaCant = "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _lacant.runMethod(true,"getText")),RemoteObject.createImmutable(1)}, "+",1, 0)))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 713;BA.debugLine="laCant.Text = $\"$1.0{laCant.Text + 1}\"$"; +Debug.ShouldStop(256); +_lacant.runMethod(true,"setText",BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable(""),c_productos.__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 = 714;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update cat_gunaprod"; +Debug.ShouldStop(512); +c_productos._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen - 1 where cat_gp_id = ?")),(Object)(c_productos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2))))}))))); + BA.debugLineNum = 715;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM PEDI"; +Debug.ShouldStop(1024); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_productos._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT * FROM PEDIDO WHERE PE_PROID = ? and PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND CONSECUTIVO = ? ")),(Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2)))),BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 6))))})))); + BA.debugLineNum = 716;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 = 717;BA.debugLine="Private c2 As Cursor = Starter.skmt.ExecQuery2"; +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_productos._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT * FROM HIST_VENTAS WHERE HVD_PROID = ? AND CONSECUTIVO = ? ")),(Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2)))),BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 6))))}))));Debug.locals.put("c2", _c2);Debug.locals.put("c2", _c2); + BA.debugLineNum = 718;BA.debugLine="If c2.RowCount > 0 Then"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean(">",_c2.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 719;BA.debugLine="c2.Position = 0"; +Debug.ShouldStop(16384); +_c2.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 721;BA.debugLine="Dim preciocat As Cursor = Starter.skmt.ExecQu"; +Debug.ShouldStop(65536); +_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 IFNULL(CAT_GP_PRECIO,0) AS CAT_GP_PRECIO from CAT_GUNAPROD WHERE CAT_GP_ID = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_c2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID")))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("preciocat", _preciocat);Debug.locals.put("preciocat", _preciocat); + BA.debugLineNum = 722;BA.debugLine="If preciocat.RowCount > 0 Then"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean(">",_preciocat.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 723;BA.debugLine="preciocat.Position = 0"; +Debug.ShouldStop(262144); +_preciocat.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 724;BA.debugLine="Dim preciofull As String = preciocat.GetStri"; +Debug.ShouldStop(524288); +_preciofull = _preciocat.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_PRECIO")));Debug.locals.put("preciofull", _preciofull);Debug.locals.put("preciofull", _preciofull); + }; + BA.debugLineNum = 726;BA.debugLine="preciocat.Close"; +Debug.ShouldStop(2097152); +_preciocat.runVoidMethod ("Close"); + BA.debugLineNum = 728;BA.debugLine="If c2.GetString(\"HVD_CODPROMO\") = Subs.traeAl"; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean("=",_c2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CODPROMO"))),c_productos._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")))) { + BA.debugLineNum = 729;BA.debugLine="Private pup As String = c2.GetString(\"HVD_CO"; +Debug.ShouldStop(16777216); +_pup = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _c2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_COSTO_TOT")))),BA.numberCast(double.class, _c2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT"))))}, "/",0, 0));Debug.locals.put("pup", _pup);Debug.locals.put("pup", _pup); + BA.debugLineNum = 731;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO se"; +Debug.ShouldStop(67108864); +c_productos._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update PEDIDO set PE_CANT = IFNULL(PE_CANT,0)+(1*'"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_minimoadesc))),RemoteObject.createImmutable("'), PE_COSTO_TOT= ((IFNULL(PE_CANT,0)+(1*'"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_minimoadesc))),RemoteObject.createImmutable("'))*'"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_pup))),RemoteObject.createImmutable("') WHERE PE_PROID = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2))))),RemoteObject.createImmutable("' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 6))))),RemoteObject.createImmutable("'"))))); + }else { + BA.debugLineNum = 733;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO se"; +Debug.ShouldStop(268435456); +c_productos._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update PEDIDO set PE_CANT = IFNULL(PE_CANT,0)+(1*'"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_minimoadesc))),RemoteObject.createImmutable("'), PE_COSTO_TOT= ((IFNULL(PE_CANT,0)+(1*'"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_minimoadesc))),RemoteObject.createImmutable("'))*'"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_preciofull))),RemoteObject.createImmutable("') WHERE PE_PROID = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2))))),RemoteObject.createImmutable("' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 6))))),RemoteObject.createImmutable("'"))))); + }; + }; + }else { + BA.debugLineNum = 738;BA.debugLine="Private c2 As Cursor = Starter.skmt.ExecQuery2"; +Debug.ShouldStop(2); +_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_productos._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT * FROM HIST_VENTAS WHERE HVD_PROID = ? AND CONSECUTIVO = ? ")),(Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2)))),BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 6))))}))));Debug.locals.put("c2", _c2);Debug.locals.put("c2", _c2); + BA.debugLineNum = 739;BA.debugLine="If c2.RowCount > 0 Then"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean(">",_c2.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 740;BA.debugLine="c2.Position = 0"; +Debug.ShouldStop(8); +_c2.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 742;BA.debugLine="Dim preciocat As Cursor = Starter.skmt.ExecQu"; +Debug.ShouldStop(32); +_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 IFNULL(CAT_GP_PRECIO,0) AS CAT_GP_PRECIO from CAT_GUNAPROD WHERE CAT_GP_ID = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_c2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID")))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("preciocat", _preciocat);Debug.locals.put("preciocat", _preciocat); + BA.debugLineNum = 743;BA.debugLine="If preciocat.RowCount > 0 Then"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean(">",_preciocat.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 744;BA.debugLine="preciocat.Position = 0"; +Debug.ShouldStop(128); +_preciocat.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 745;BA.debugLine="Dim preciofull As String = preciocat.GetStri"; +Debug.ShouldStop(256); +_preciofull = _preciocat.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_PRECIO")));Debug.locals.put("preciofull", _preciofull);Debug.locals.put("preciofull", _preciofull); + }; + BA.debugLineNum = 747;BA.debugLine="preciocat.Close"; +Debug.ShouldStop(1024); +_preciocat.runVoidMethod ("Close"); + BA.debugLineNum = 749;BA.debugLine="Dim precioreg As Cursor = Starter.skmt.ExecQu"; +Debug.ShouldStop(4096); +_precioreg = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_precioreg = 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 IFNULL(HVD_COSTO_TOT,0) AS HVD_COSTO_TOT, HVD_CANT from HIST_VENTAS WHERE HVD_PROID = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_c2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID")))))),RemoteObject.createImmutable("' AND CONSECUTIVO = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 6))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("precioreg", _precioreg);Debug.locals.put("precioreg", _precioreg); + BA.debugLineNum = 750;BA.debugLine="If precioreg.RowCount > 0 Then"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean(">",_precioreg.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 751;BA.debugLine="precioreg.Position = 0"; +Debug.ShouldStop(16384); +_precioreg.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 752;BA.debugLine="Dim precioregalo As String = precioreg.GetSt"; +Debug.ShouldStop(32768); +_precioregalo = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _precioreg.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_COSTO_TOT")))),BA.numberCast(double.class, _precioreg.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT"))))}, "/",0, 0));Debug.locals.put("precioregalo", _precioregalo);Debug.locals.put("precioregalo", _precioregalo); + BA.debugLineNum = 753;BA.debugLine="If precioregalo < 1 Then"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean("<",BA.numberCast(double.class, _precioregalo),BA.numberCast(double.class, 1))) { + BA.debugLineNum = 754;BA.debugLine="Dim esregalo As String = 1"; +Debug.ShouldStop(131072); +_esregalo = BA.NumberToString(1);Debug.locals.put("esregalo", _esregalo);Debug.locals.put("esregalo", _esregalo); + }else { + BA.debugLineNum = 756;BA.debugLine="Dim esregalo As String = 0"; +Debug.ShouldStop(524288); +_esregalo = BA.NumberToString(0);Debug.locals.put("esregalo", _esregalo);Debug.locals.put("esregalo", _esregalo); + }; + }; + BA.debugLineNum = 759;BA.debugLine="precioreg.Close"; +Debug.ShouldStop(4194304); +_precioreg.runVoidMethod ("Close"); + BA.debugLineNum = 761;BA.debugLine="If c2.GetString(\"HVD_CODPROMO\") = Subs.traeAl"; +Debug.ShouldStop(16777216); +if (RemoteObject.solveBoolean("=",_c2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CODPROMO"))),c_productos._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")))) { + BA.debugLineNum = 762;BA.debugLine="Private pup As String = c2.GetString(\"HVD_CO"; +Debug.ShouldStop(33554432); +_pup = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _c2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_COSTO_TOT")))),BA.numberCast(double.class, _c2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT"))))}, "/",0, 0));Debug.locals.put("pup", _pup);Debug.locals.put("pup", _pup); + BA.debugLineNum = 765;BA.debugLine="Log(\"algo1\")"; +Debug.ShouldStop(268435456); +c_productos.__c.runVoidMethod ("LogImpl","824969309",RemoteObject.createImmutable("algo1"),0); + BA.debugLineNum = 766;BA.debugLine="If Subs.traeCliente = \"63403\" Then"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean("=",c_productos._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba")),BA.ObjectToString("63403"))) { + BA.debugLineNum = 767;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PED"; +Debug.ShouldStop(1073741824); +c_productos._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO PEDIDO(PE_PROID,PE_PRONOMBRE,PE_CANT,PE_CLIENTEOR,PE_CLIENTE,PE_COSTOU,PE_COSTO_TOT,PE_CAJAS,PE_BCAJAS,CONSECUTIVO,PE_RUTA, PE_TIPO,PE_CEDIS,PE_FECHA,PE_USUARIO,FECHA_PREV,RUTA_REP,PE_REGALO) VALUES (?,?,?,?,?,?,?,0,0,?,?,?,?,?,?,?,?,?)")),(Object)(c_productos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {16},new Object[] {BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2)))),_c2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PRONOMBRE"))),BA.NumberToString(RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(1),BA.numberCast(double.class, _minimoadesc)}, "*",0, 0)),BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 5)))),c_productos._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba")),BA.NumberToString((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _pup),BA.numberCast(double.class, _minimoadesc)}, "*",0, 0))),BA.NumberToString((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _pup),BA.numberCast(double.class, _minimoadesc)}, "*",0, 0))),BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 6)))),c_productos._subs.runMethod(true,"_traerutaprev" /*RemoteObject*/ ,__ref.getField(false, "ba")),BA.ObjectToString("DANADO"),c_productos._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")),RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__ref.getField(true,"_stime" /*RemoteObject*/ )),c_productos._subs.runMethod(true,"_traeusuario" /*RemoteObject*/ ,__ref.getField(false, "ba")),c_productos._subs.runMethod(true,"_traefechaprev" /*RemoteObject*/ ,__ref.getField(false, "ba")),c_productos._subs.runMethod(true,"_traerutareparto" /*RemoteObject*/ ,__ref.getField(false, "ba")),_esregalo}))))); + }else { + BA.debugLineNum = 769;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PED"; +Debug.ShouldStop(1); +c_productos._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO PEDIDO(PE_PROID,PE_PRONOMBRE,PE_CANT,PE_CLIENTEOR,PE_CLIENTE,PE_COSTOU,PE_COSTO_TOT,PE_CAJAS,PE_BCAJAS,CONSECUTIVO,PE_RUTA, PE_TIPO,PE_CEDIS,PE_FECHA,PE_USUARIO,FECHA_PREV,RUTA_REP,PE_REGALO) VALUES (?,?,?,?,?,?,?,0,0,?,?,?,?,?,?,?,?,?)")),(Object)(c_productos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {16},new Object[] {BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2)))),_c2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PRONOMBRE"))),BA.NumberToString(RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(1),BA.numberCast(double.class, _minimoadesc)}, "*",0, 0)),BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 5)))),c_productos._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba")),BA.NumberToString((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _pup),BA.numberCast(double.class, _minimoadesc)}, "*",0, 0))),BA.NumberToString((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _pup),BA.numberCast(double.class, _minimoadesc)}, "*",0, 0))),BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 6)))),c_productos._subs.runMethod(true,"_traerutaprev" /*RemoteObject*/ ,__ref.getField(false, "ba")),BA.ObjectToString("PREVENTA"),c_productos._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")),RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__ref.getField(true,"_stime" /*RemoteObject*/ )),c_productos._subs.runMethod(true,"_traeusuario" /*RemoteObject*/ ,__ref.getField(false, "ba")),c_productos._subs.runMethod(true,"_traefechaprev" /*RemoteObject*/ ,__ref.getField(false, "ba")),c_productos._subs.runMethod(true,"_traerutareparto" /*RemoteObject*/ ,__ref.getField(false, "ba")),_esregalo}))))); + }; + }else { + BA.debugLineNum = 772;BA.debugLine="Log(\"|\" & preciofull& \"|\")"; +Debug.ShouldStop(8); +c_productos.__c.runVoidMethod ("LogImpl","824969316",RemoteObject.concat(RemoteObject.createImmutable("|"),_preciofull,RemoteObject.createImmutable("|")),0); + BA.debugLineNum = 773;BA.debugLine="Log(\"|\" & minimoadesc& \"|\")"; +Debug.ShouldStop(16); +c_productos.__c.runVoidMethod ("LogImpl","824969317",RemoteObject.concat(RemoteObject.createImmutable("|"),_minimoadesc,RemoteObject.createImmutable("|")),0); + BA.debugLineNum = 777;BA.debugLine="Log(esteTag.Get(2))"; +Debug.ShouldStop(256); +c_productos.__c.runVoidMethod ("LogImpl","824969321",BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2)))),0); + BA.debugLineNum = 778;BA.debugLine="Log(c2.GetString(\"HVD_PRONOMBRE\"))"; +Debug.ShouldStop(512); +c_productos.__c.runVoidMethod ("LogImpl","824969322",_c2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PRONOMBRE"))),0); + BA.debugLineNum = 779;BA.debugLine="Log((1*minimoadesc))"; +Debug.ShouldStop(1024); +c_productos.__c.runVoidMethod ("LogImpl","824969323",BA.NumberToString((RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(1),BA.numberCast(double.class, _minimoadesc)}, "*",0, 0))),0); + BA.debugLineNum = 780;BA.debugLine="Log(esteTag.Get(5))"; +Debug.ShouldStop(2048); +c_productos.__c.runVoidMethod ("LogImpl","824969324",BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 5)))),0); + BA.debugLineNum = 781;BA.debugLine="Log(Subs.traeCliente)"; +Debug.ShouldStop(4096); +c_productos.__c.runVoidMethod ("LogImpl","824969325",c_productos._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba")),0); + BA.debugLineNum = 782;BA.debugLine="Log((preciofull*minimoadesc))"; +Debug.ShouldStop(8192); +c_productos.__c.runVoidMethod ("LogImpl","824969326",BA.NumberToString((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _preciofull),BA.numberCast(double.class, _minimoadesc)}, "*",0, 0))),0); + BA.debugLineNum = 783;BA.debugLine="Log(esteTag.Get(6))"; +Debug.ShouldStop(16384); +c_productos.__c.runVoidMethod ("LogImpl","824969327",BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 6)))),0); + BA.debugLineNum = 784;BA.debugLine="Log(Subs.traerUTAPREV)"; +Debug.ShouldStop(32768); +c_productos.__c.runVoidMethod ("LogImpl","824969328",c_productos._subs.runMethod(true,"_traerutaprev" /*RemoteObject*/ ,__ref.getField(false, "ba")),0); + BA.debugLineNum = 785;BA.debugLine="Log(Subs.traeAlmacen)"; +Debug.ShouldStop(65536); +c_productos.__c.runVoidMethod ("LogImpl","824969329",c_productos._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")),0); + BA.debugLineNum = 786;BA.debugLine="Log(sDate & \" \" & sTime)"; +Debug.ShouldStop(131072); +c_productos.__c.runVoidMethod ("LogImpl","824969330",RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__ref.getField(true,"_stime" /*RemoteObject*/ )),0); + BA.debugLineNum = 787;BA.debugLine="Log(Subs.traeUsuario)"; +Debug.ShouldStop(262144); +c_productos.__c.runVoidMethod ("LogImpl","824969331",c_productos._subs.runMethod(true,"_traeusuario" /*RemoteObject*/ ,__ref.getField(false, "ba")),0); + BA.debugLineNum = 788;BA.debugLine="Log(Subs.traefECHAPREV)"; +Debug.ShouldStop(524288); +c_productos.__c.runVoidMethod ("LogImpl","824969332",c_productos._subs.runMethod(true,"_traefechaprev" /*RemoteObject*/ ,__ref.getField(false, "ba")),0); + BA.debugLineNum = 789;BA.debugLine="Log(Subs.traeRutaReparto)"; +Debug.ShouldStop(1048576); +c_productos.__c.runVoidMethod ("LogImpl","824969333",c_productos._subs.runMethod(true,"_traerutareparto" /*RemoteObject*/ ,__ref.getField(false, "ba")),0); + BA.debugLineNum = 790;BA.debugLine="Log(esregalo)"; +Debug.ShouldStop(2097152); +c_productos.__c.runVoidMethod ("LogImpl","824969334",_esregalo,0); + BA.debugLineNum = 793;BA.debugLine="If Subs.traeCliente = \"63403\" Then"; +Debug.ShouldStop(16777216); +if (RemoteObject.solveBoolean("=",c_productos._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba")),BA.ObjectToString("63403"))) { + BA.debugLineNum = 794;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PED"; +Debug.ShouldStop(33554432); +c_productos._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO PEDIDO(PE_PROID,PE_PRONOMBRE,PE_CANT,PE_CLIENTEOR,PE_CLIENTE,PE_COSTOU,PE_COSTO_TOT,PE_CAJAS,PE_BCAJAS,CONSECUTIVO,PE_RUTA, PE_TIPO,PE_CEDIS,PE_FECHA,PE_USUARIO,FECHA_PREV,RUTA_REP,PE_REGALO) VALUES (?,?,?,?,?,?,?,0,0,?,?,?,?,?,?,?,?,?)")),(Object)(c_productos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {16},new Object[] {BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2)))),_c2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PRONOMBRE"))),BA.NumberToString(RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(1),BA.numberCast(double.class, _minimoadesc)}, "*",0, 0)),BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 5)))),c_productos._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba")),BA.NumberToString((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _preciofull),BA.numberCast(double.class, _minimoadesc)}, "*",0, 0))),BA.NumberToString((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _preciofull),BA.numberCast(double.class, _minimoadesc)}, "*",0, 0))),BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 6)))),c_productos._subs.runMethod(true,"_traerutaprev" /*RemoteObject*/ ,__ref.getField(false, "ba")),BA.ObjectToString("DANADO"),c_productos._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")),RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__ref.getField(true,"_stime" /*RemoteObject*/ )),c_productos._subs.runMethod(true,"_traeusuario" /*RemoteObject*/ ,__ref.getField(false, "ba")),c_productos._subs.runMethod(true,"_traefechaprev" /*RemoteObject*/ ,__ref.getField(false, "ba")),c_productos._subs.runMethod(true,"_traerutareparto" /*RemoteObject*/ ,__ref.getField(false, "ba")),_esregalo}))))); + }else { + BA.debugLineNum = 796;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PED"; +Debug.ShouldStop(134217728); +c_productos._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO PEDIDO(PE_PROID,PE_PRONOMBRE,PE_CANT,PE_CLIENTEOR,PE_CLIENTE,PE_COSTOU,PE_COSTO_TOT,PE_CAJAS,PE_BCAJAS,CONSECUTIVO,PE_RUTA, PE_TIPO,PE_CEDIS,PE_FECHA,PE_USUARIO,FECHA_PREV,RUTA_REP,PE_REGALO) VALUES (?,?,?,?,?,?,?,0,0,?,?,?,?,?,?,?,?,?)")),(Object)(c_productos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {16},new Object[] {BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2)))),_c2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PRONOMBRE"))),BA.NumberToString(RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(1),BA.numberCast(double.class, _minimoadesc)}, "*",0, 0)),BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 5)))),c_productos._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba")),BA.NumberToString((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _preciofull),BA.numberCast(double.class, _minimoadesc)}, "*",0, 0))),BA.NumberToString((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _preciofull),BA.numberCast(double.class, _minimoadesc)}, "*",0, 0))),BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 6)))),c_productos._subs.runMethod(true,"_traerutaprev" /*RemoteObject*/ ,__ref.getField(false, "ba")),BA.ObjectToString("PREVENTA"),c_productos._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")),RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__ref.getField(true,"_stime" /*RemoteObject*/ )),c_productos._subs.runMethod(true,"_traeusuario" /*RemoteObject*/ ,__ref.getField(false, "ba")),c_productos._subs.runMethod(true,"_traefechaprev" /*RemoteObject*/ ,__ref.getField(false, "ba")),c_productos._subs.runMethod(true,"_traerutareparto" /*RemoteObject*/ ,__ref.getField(false, "ba")),_esregalo}))))); + }; + }; + }; + }; + BA.debugLineNum = 804;BA.debugLine="Subs.prodVenta(esteTag.Get(5), esteTag.Get(2))"; +Debug.ShouldStop(8); +c_productos._subs.runVoidMethod ("_prodventa" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 5))))),(Object)(BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2)))))); + BA.debugLineNum = 809;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(256); +__ref.runClassMethod (reparto_izca.keymon.lat.c_productos.class, "_b4xpage_appear" /*RemoteObject*/ ); + }; + }; + BA.debugLineNum = 826;BA.debugLine="End Sub"; +Debug.ShouldStop(33554432); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_prodmasc_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_prodMasC_Click (c_productos) ","c_productos",18,__ref.getField(false, "ba"),__ref,829); +if (RapidSub.canDelegate("b_prodmasc_click")) { return __ref.runUserSub(false, "c_productos","b_prodmasc_click", __ref);} +RemoteObject _index = RemoteObject.createImmutable(0); +RemoteObject _pnl0 = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _pnl = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _lacantc = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _estetag = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _maxprods = RemoteObject.createImmutable(""); +RemoteObject _c2 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _puc = RemoteObject.createImmutable(""); + BA.debugLineNum = 829;BA.debugLine="Private Sub b_prodMasC_Click"; +Debug.ShouldStop(268435456); + BA.debugLineNum = 830;BA.debugLine="etCantHasFocus = False"; +Debug.ShouldStop(536870912); +__ref.setField ("_etcanthasfocus" /*RemoteObject*/ ,c_productos.__c.getField(true,"False")); + BA.debugLineNum = 832;BA.debugLine="LogColor(\"b_prodMas_Click\", Colors.Magenta)"; +Debug.ShouldStop(-2147483648); +c_productos.__c.runVoidMethod ("LogImpl","825034755",BA.ObjectToString("b_prodMas_Click"),c_productos.__c.getField(false,"Colors").getField(true,"Magenta")); + BA.debugLineNum = 833;BA.debugLine="Dim index As Int = clv_pedido.GetItemFromView(Sen"; +Debug.ShouldStop(1); +_index = __ref.getField(false,"_clv_pedido" /*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 = 834;BA.debugLine="Dim pnl0 As B4XView = clv_pedido.GetPanel(index)"; +Debug.ShouldStop(2); +_pnl0 = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_pnl0 = __ref.getField(false,"_clv_pedido" /*RemoteObject*/ ).runMethod(false,"_getpanel",(Object)(_index));Debug.locals.put("pnl0", _pnl0);Debug.locals.put("pnl0", _pnl0); + BA.debugLineNum = 835;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; +Debug.ShouldStop(4); +_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 = 836;BA.debugLine="Dim laCantc As B4XView = pnl.GetView(3).GetView(3"; +Debug.ShouldStop(8); +_lacantc = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_lacantc = _pnl.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 3))).runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 3)));Debug.locals.put("laCantc", _lacantc);Debug.locals.put("laCantc", _lacantc); + BA.debugLineNum = 837;BA.debugLine="LogColor(laCantc.Text&\"--------------------------"; +Debug.ShouldStop(16); +c_productos.__c.runVoidMethod ("LogImpl","825034760",RemoteObject.concat(_lacantc.runMethod(true,"getText"),RemoteObject.createImmutable("-----------------------------")),c_productos.__c.getField(false,"Colors").getField(true,"Blue")); + BA.debugLineNum = 841;BA.debugLine="Dim esteTag As List = Regex.Split(\"\\|\", laCantc.T"; +Debug.ShouldStop(256); +_estetag = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +_estetag = c_productos.__c.runMethod(false, "ArrayToList", (Object)(c_productos.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString("\\|")),(Object)(BA.ObjectToString(_lacantc.runMethod(false,"getTag"))))));Debug.locals.put("esteTag", _estetag);Debug.locals.put("esteTag", _estetag); + BA.debugLineNum = 842;BA.debugLine="Log(\"LC_TEXT:\"&laCantc.Text&\"|LC_TAG:\"&laCantc.Ta"; +Debug.ShouldStop(512); +c_productos.__c.runVoidMethod ("LogImpl","825034765",RemoteObject.concat(RemoteObject.createImmutable("LC_TEXT:"),_lacantc.runMethod(true,"getText"),RemoteObject.createImmutable("|LC_TAG:"),_lacantc.runMethod(false,"getTag"),RemoteObject.createImmutable("|ET:"),_estetag),0); + BA.debugLineNum = 843;BA.debugLine="If laCantc.Text = \"\" Then laCantc.Text = 0"; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean("=",_lacantc.runMethod(true,"getText"),BA.ObjectToString(""))) { +_lacantc.runMethod(true,"setText",BA.ObjectToCharSequence(0));}; + BA.debugLineNum = 845;BA.debugLine="Private maxProds As String = (esteTag.Get(1) + es"; +Debug.ShouldStop(4096); +_maxprods = BA.NumberToString((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 1)))),BA.numberCast(double.class, _estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 4))))}, "+",1, 0)));Debug.locals.put("maxProds", _maxprods);Debug.locals.put("maxProds", _maxprods); + BA.debugLineNum = 846;BA.debugLine="LogColor(esteTag.Get(1),Colors.Red)"; +Debug.ShouldStop(8192); +c_productos.__c.runVoidMethod ("LogImpl","825034769",BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 1)))),c_productos.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 847;BA.debugLine="LogColor(esteTag.Get(4),Colors.Red)"; +Debug.ShouldStop(16384); +c_productos.__c.runVoidMethod ("LogImpl","825034770",BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 4)))),c_productos.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 848;BA.debugLine="LogColor($\"++++++++++++++++++++++++++ ${esteTag"; +Debug.ShouldStop(32768); +c_productos.__c.runVoidMethod ("LogImpl","825034771",(RemoteObject.concat(RemoteObject.createImmutable("++++++++++++++++++++++++++ "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_estetag.getObject()))),RemoteObject.createImmutable(""))),c_productos.__c.getField(false,"Colors").getField(true,"Green")); + BA.debugLineNum = 850;BA.debugLine="Log(maxProds)"; +Debug.ShouldStop(131072); +c_productos.__c.runVoidMethod ("LogImpl","825034773",_maxprods,0); + BA.debugLineNum = 853;BA.debugLine="Log(esteTag.Get(4))"; +Debug.ShouldStop(1048576); +c_productos.__c.runVoidMethod ("LogImpl","825034776",BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 4)))),0); + BA.debugLineNum = 854;BA.debugLine="If esteTag.Get(4) = \"0\" Then"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean("=",_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 4))),RemoteObject.createImmutable(("0")))) { + }else { + BA.debugLineNum = 857;BA.debugLine="If laCantc.Text + 1 <= maxProds Then"; +Debug.ShouldStop(16777216); +if (RemoteObject.solveBoolean("k",RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _lacantc.runMethod(true,"getText")),RemoteObject.createImmutable(1)}, "+",1, 0),BA.numberCast(double.class, _maxprods))) { + BA.debugLineNum = 858;BA.debugLine="Log($\"NuevaCant = ${laCantc.Text + 1}\"$)"; +Debug.ShouldStop(33554432); +c_productos.__c.runVoidMethod ("LogImpl","825034781",(RemoteObject.concat(RemoteObject.createImmutable("NuevaCant = "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _lacantc.runMethod(true,"getText")),RemoteObject.createImmutable(1)}, "+",1, 0)))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 860;BA.debugLine="laCantc.Text = $\"$1.0{laCantc.Text + 1}\"$"; +Debug.ShouldStop(134217728); +_lacantc.runMethod(true,"setText",BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable(""),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("1.0")),(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _lacantc.runMethod(true,"getText")),RemoteObject.createImmutable(1)}, "+",1, 0)))),RemoteObject.createImmutable(""))))); + BA.debugLineNum = 861;BA.debugLine="LogColor(esteTag,Colors.Magenta)"; +Debug.ShouldStop(268435456); +c_productos.__c.runVoidMethod ("LogImpl","825034784",BA.ObjectToString(_estetag),c_productos.__c.getField(false,"Colors").getField(true,"Magenta")); + BA.debugLineNum = 863;BA.debugLine="LogColor(laCantc.Text,Colors.Red)"; +Debug.ShouldStop(1073741824); +c_productos.__c.runVoidMethod ("LogImpl","825034786",_lacantc.runMethod(true,"getText"),c_productos.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 866;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM PEDI"; +Debug.ShouldStop(2); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_productos._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT * FROM PEDIDO WHERE PE_PROID = ? and PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND CONSECUTIVO = ? ")),(Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2)))),BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 6))))})))); + BA.debugLineNum = 867;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 868;BA.debugLine="Private c2 As Cursor = Starter.skmt.ExecQuery2"; +Debug.ShouldStop(8); +_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_productos._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT * FROM HIST_VENTAS WHERE HVD_PROID = ? AND CONSECUTIVO = ? ")),(Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2)))),BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 6))))}))));Debug.locals.put("c2", _c2);Debug.locals.put("c2", _c2); + BA.debugLineNum = 869;BA.debugLine="If c2.RowCount > 0 Then"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean(">",_c2.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 870;BA.debugLine="c2.Position = 0"; +Debug.ShouldStop(32); +_c2.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 871;BA.debugLine="Private puc As String = c2.GetString(\"HVD_COS"; +Debug.ShouldStop(64); +_puc = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _c2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_COSTO_TOT")))),BA.numberCast(double.class, _c2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CANTC"))))}, "/",0, 0));Debug.locals.put("puc", _puc);Debug.locals.put("puc", _puc); + BA.debugLineNum = 873;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO set"; +Debug.ShouldStop(256); +c_productos._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update PEDIDO set PE_CANT = (IFNULL(PE_CANT,0)+(1 * '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_productos._subs.runMethod(true,"_traeconversion" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2))))))))),RemoteObject.createImmutable("')), PE_COSTO_TOT= (IFNULL(PE_CAJAS,0)+1)*'"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_puc))),RemoteObject.createImmutable("', PE_CAJAS= IFNULL(PE_CAJAS,0) + 1 WHERE PE_PROID = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2))))),RemoteObject.createImmutable("' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 6))))),RemoteObject.createImmutable("'"))))); + BA.debugLineNum = 874;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(512); +__ref.runClassMethod (reparto_izca.keymon.lat.c_productos.class, "_b4xpage_appear" /*RemoteObject*/ ); + BA.debugLineNum = 875;BA.debugLine="Log(\"aqui2\")"; +Debug.ShouldStop(1024); +c_productos.__c.runVoidMethod ("LogImpl","825034798",RemoteObject.createImmutable("aqui2"),0); + }; + }else { + BA.debugLineNum = 878;BA.debugLine="Private c2 As Cursor = Starter.skmt.ExecQuery2"; +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"), c_productos._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT * FROM HIST_VENTAS WHERE HVD_PROID = ? AND CONSECUTIVO = ? ")),(Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2)))),BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 6))))}))));Debug.locals.put("c2", _c2);Debug.locals.put("c2", _c2); + BA.debugLineNum = 879;BA.debugLine="If c2.RowCount > 0 Then"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean(">",_c2.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 880;BA.debugLine="c2.Position = 0"; +Debug.ShouldStop(32768); +_c2.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 881;BA.debugLine="Private puc As String = c2.GetString(\"HVD_COS"; +Debug.ShouldStop(65536); +_puc = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _c2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_COSTO_TOT")))),BA.numberCast(double.class, _c2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CANTC"))))}, "/",0, 0));Debug.locals.put("puc", _puc);Debug.locals.put("puc", _puc); + BA.debugLineNum = 882;BA.debugLine="Log(puc)"; +Debug.ShouldStop(131072); +c_productos.__c.runVoidMethod ("LogImpl","825034805",_puc,0); + BA.debugLineNum = 885;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PEDID"; +Debug.ShouldStop(1048576); +c_productos._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO PEDIDO(PE_PROID,PE_PRONOMBRE,PE_CANT,PE_CLIENTEOR,PE_CLIENTE,PE_COSTOU,PE_COSTO_TOT,PE_CAJAS,PE_BCAJAS,CONSECUTIVO,PE_RUTA, PE_TIPO,PE_CEDIS,PE_FECHA,PE_USUARIO,FECHA_PREV,RUTA_REP,PE_REGALO) VALUES (?,?,?,?,?,?,?,1,1,?,?,?,?,?,?,?,?,?)")),(Object)(c_productos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {16},new Object[] {BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2)))),_c2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PRONOMBRE"))),c_productos._subs.runMethod(true,"_traeconversion" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2)))))),BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 5)))),c_productos._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba")),_puc,_puc,BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 6)))),c_productos._subs.runMethod(true,"_traerutaprev" /*RemoteObject*/ ,__ref.getField(false, "ba")),BA.ObjectToString("PREVENTA"),c_productos._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")),RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__ref.getField(true,"_stime" /*RemoteObject*/ )),c_productos._subs.runMethod(true,"_traeusuario" /*RemoteObject*/ ,__ref.getField(false, "ba")),c_productos._subs.runMethod(true,"_traefechaprev" /*RemoteObject*/ ,__ref.getField(false, "ba")),c_productos._subs.runMethod(true,"_traerutareparto" /*RemoteObject*/ ,__ref.getField(false, "ba")),BA.NumberToString(0)}))))); + BA.debugLineNum = 886;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(2097152); +__ref.runClassMethod (reparto_izca.keymon.lat.c_productos.class, "_b4xpage_appear" /*RemoteObject*/ ); + }; + }; + }; + }; + BA.debugLineNum = 892;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_productos) ","c_productos",18,__ref.getField(false, "ba"),__ref,566); +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 _estetag = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _minimoadesc = RemoteObject.createImmutable(""); +RemoteObject _minimos = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _c3 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _c2 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _preciou = RemoteObject.createImmutable(0f); + BA.debugLineNum = 566;BA.debugLine="Sub b_prodMenos_Click"; +Debug.ShouldStop(2097152); + BA.debugLineNum = 567;BA.debugLine="etCantHasFocus = False"; +Debug.ShouldStop(4194304); +__ref.setField ("_etcanthasfocus" /*RemoteObject*/ ,c_productos.__c.getField(true,"False")); + BA.debugLineNum = 568;BA.debugLine="Log(\"etCantHasFocus=\" & etCantHasFocus)"; +Debug.ShouldStop(8388608); +c_productos.__c.runVoidMethod ("LogImpl","824903682",RemoteObject.concat(RemoteObject.createImmutable("etCantHasFocus="),__ref.getField(true,"_etcanthasfocus" /*RemoteObject*/ )),0); + BA.debugLineNum = 569;BA.debugLine="LogColor(\"b_prodMenos_Click\", Colors.Magenta)"; +Debug.ShouldStop(16777216); +c_productos.__c.runVoidMethod ("LogImpl","824903683",BA.ObjectToString("b_prodMenos_Click"),c_productos.__c.getField(false,"Colors").getField(true,"Magenta")); + BA.debugLineNum = 570;BA.debugLine="Dim index As Int = clv_pedido.GetItemFromView(Sen"; +Debug.ShouldStop(33554432); +_index = __ref.getField(false,"_clv_pedido" /*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 = 571;BA.debugLine="Dim pnl0 As B4XView = clv_pedido.GetPanel(index)"; +Debug.ShouldStop(67108864); +_pnl0 = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_pnl0 = __ref.getField(false,"_clv_pedido" /*RemoteObject*/ ).runMethod(false,"_getpanel",(Object)(_index));Debug.locals.put("pnl0", _pnl0);Debug.locals.put("pnl0", _pnl0); + BA.debugLineNum = 572;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 = 573;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(3)"; +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, 3)));Debug.locals.put("laCant", _lacant);Debug.locals.put("laCant", _lacant); + BA.debugLineNum = 575;BA.debugLine="Dim esteTag As List = Regex.Split(\"\\|\", laCant.Ta"; +Debug.ShouldStop(1073741824); +_estetag = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +_estetag = c_productos.__c.runMethod(false, "ArrayToList", (Object)(c_productos.__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 = 576;BA.debugLine="Log(\"LC_TEXT:\"&laCant.Text&\"|PROMO:\"&esteTag.Get("; +Debug.ShouldStop(-2147483648); +c_productos.__c.runVoidMethod ("LogImpl","824903690",RemoteObject.concat(RemoteObject.createImmutable("LC_TEXT:"),_lacant.runMethod(true,"getText"),RemoteObject.createImmutable("|PROMO:"),_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 3))),RemoteObject.createImmutable("|LC_TAG:"),_lacant.runMethod(false,"getTag"),RemoteObject.createImmutable("|ET:"),_estetag),0); + BA.debugLineNum = 578;BA.debugLine="Private minimoadesc As String"; +Debug.ShouldStop(2); +_minimoadesc = RemoteObject.createImmutable("");Debug.locals.put("minimoadesc", _minimoadesc); + BA.debugLineNum = 579;BA.debugLine="Dim minimos As Cursor = Starter.skmt.ExecQuery2(\""; +Debug.ShouldStop(4); +_minimos = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_minimos = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_productos._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT * FROM CAT_GUNAPROD3 WHERE CAT_GP_ID = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2))))}))));Debug.locals.put("minimos", _minimos);Debug.locals.put("minimos", _minimos); + BA.debugLineNum = 580;BA.debugLine="If minimos.RowCount > 0 Then"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean(">",_minimos.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 581;BA.debugLine="minimos.Position = 0"; +Debug.ShouldStop(16); +_minimos.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 582;BA.debugLine="minimoadesc = minimos.GetString(\"CAT_DP_CANT_MIN"; +Debug.ShouldStop(32); +_minimoadesc = _minimos.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_CANT_MIN_VENTA")));Debug.locals.put("minimoadesc", _minimoadesc); + }else { + BA.debugLineNum = 584;BA.debugLine="minimoadesc = \"1\""; +Debug.ShouldStop(128); +_minimoadesc = BA.ObjectToString("1");Debug.locals.put("minimoadesc", _minimoadesc); + }; + BA.debugLineNum = 586;BA.debugLine="minimos.Close"; +Debug.ShouldStop(512); +_minimos.runVoidMethod ("Close"); + BA.debugLineNum = 588;BA.debugLine="minimoadesc = \"1\""; +Debug.ShouldStop(2048); +_minimoadesc = BA.ObjectToString("1");Debug.locals.put("minimoadesc", _minimoadesc); + BA.debugLineNum = 589;BA.debugLine="If laCant.Text > 0 Then"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, _lacant.runMethod(true,"getText")),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 624;BA.debugLine="If laCant.Text = \"\" Then laCant.Text = 0"; +Debug.ShouldStop(32768); +if (RemoteObject.solveBoolean("=",_lacant.runMethod(true,"getText"),BA.ObjectToString(""))) { +_lacant.runMethod(true,"setText",BA.ObjectToCharSequence(0));}; + BA.debugLineNum = 625;BA.debugLine="laCant.Text = $\"$1.0{laCant.Text-(1*minimoadesc)"; +Debug.ShouldStop(65536); +_lacant.runMethod(true,"setText",BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable(""),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("1.0")),(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _lacant.runMethod(true,"getText")),(RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(1),BA.numberCast(double.class, _minimoadesc)}, "*",0, 0))}, "-",1, 0)))),RemoteObject.createImmutable(""))))); + BA.debugLineNum = 626;BA.debugLine="If laCant.Text < 0 Then laCant.Text = 0"; +Debug.ShouldStop(131072); +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 = 627;BA.debugLine="Log(\"NO ES promo\")"; +Debug.ShouldStop(262144); +c_productos.__c.runVoidMethod ("LogImpl","824903741",RemoteObject.createImmutable("NO ES promo"),0); + BA.debugLineNum = 632;BA.debugLine="Private c3 As Cursor = Starter.skmt.ExecQuery2(\""; +Debug.ShouldStop(8388608); +_c3 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c3 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_productos._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT PE_CANT FROM PEDIDO WHERE PE_PROID = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND CONSECUTIVO = ? ")),(Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2)))),BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 6))))}))));Debug.locals.put("c3", _c3);Debug.locals.put("c3", _c3); + BA.debugLineNum = 633;BA.debugLine="If c3.RowCount > 0 Then"; +Debug.ShouldStop(16777216); +if (RemoteObject.solveBoolean(">",_c3.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 634;BA.debugLine="c3.Position = 0"; +Debug.ShouldStop(33554432); +_c3.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 635;BA.debugLine="If c3.GetString(\"PE_CANT\")> minimoadesc Then"; +Debug.ShouldStop(67108864); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, _c3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))),BA.numberCast(double.class, _minimoadesc))) { + BA.debugLineNum = 636;BA.debugLine="Private c2 As Cursor = Starter.skmt.ExecQuery2"; +Debug.ShouldStop(134217728); +_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_productos._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT * FROM CAT_GUNAPROD WHERE CAT_GP_ID = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2))))}))));Debug.locals.put("c2", _c2);Debug.locals.put("c2", _c2); + BA.debugLineNum = 637;BA.debugLine="If c2.RowCount > 0 Then"; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean(">",_c2.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 638;BA.debugLine="c2.Position = 0"; +Debug.ShouldStop(536870912); +_c2.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 640;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO set"; +Debug.ShouldStop(-2147483648); +c_productos._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update PEDIDO set PE_CANT = IFNULL(PE_CANT,0)-(1*'"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_minimoadesc))),RemoteObject.createImmutable("'), PE_COSTO_TOT= ((IFNULL(PE_CANT,0) -(1*'"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_minimoadesc))),RemoteObject.createImmutable("'))*'"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_c2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_PRECIO")))))),RemoteObject.createImmutable("') WHERE PE_PROID = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2))))),RemoteObject.createImmutable("' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 6))))),RemoteObject.createImmutable("'"))))); + }; + }else +{ BA.debugLineNum = 642;BA.debugLine="Else If c3.GetString(\"PE_CANT\") = minimoadesc T"; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean("=",_c3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))),_minimoadesc)) { + BA.debugLineNum = 643;BA.debugLine="Private c2 As Cursor = Starter.skmt.ExecQuery2"; +Debug.ShouldStop(4); +_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_productos._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT * FROM CAT_GUNAPROD WHERE CAT_GP_ID = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2))))}))));Debug.locals.put("c2", _c2);Debug.locals.put("c2", _c2); + BA.debugLineNum = 644;BA.debugLine="If c2.RowCount > 0 Then"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean(">",_c2.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 645;BA.debugLine="c2.Position = 0"; +Debug.ShouldStop(16); +_c2.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 648;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from PEDID"; +Debug.ShouldStop(128); +c_productos._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("delete from PEDIDO where PE_PROID = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2))))),RemoteObject.createImmutable("' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 6))))),RemoteObject.createImmutable("'"))))); + }; + }} +; + }; + BA.debugLineNum = 655;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(16384); +__ref.runClassMethod (reparto_izca.keymon.lat.c_productos.class, "_b4xpage_appear" /*RemoteObject*/ ); + }; + BA.debugLineNum = 658;BA.debugLine="Dim preciou As Float = esteTag.Get(0)/esteTag.Get"; +Debug.ShouldStop(131072); +_preciou = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 0)))),BA.numberCast(double.class, _estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 1))))}, "/",0, 0));Debug.locals.put("preciou", _preciou);Debug.locals.put("preciou", _preciou); + BA.debugLineNum = 659;BA.debugLine="Log(\"PU: \" & preciou)"; +Debug.ShouldStop(262144); +c_productos.__c.runVoidMethod ("LogImpl","824903773",RemoteObject.concat(RemoteObject.createImmutable("PU: "),_preciou),0); + BA.debugLineNum = 670;BA.debugLine="End Sub"; +Debug.ShouldStop(536870912); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_prodmenosc_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_prodMenosC_Click (c_productos) ","c_productos",18,__ref.getField(false, "ba"),__ref,894); +if (RapidSub.canDelegate("b_prodmenosc_click")) { return __ref.runUserSub(false, "c_productos","b_prodmenosc_click", __ref);} +RemoteObject _index = RemoteObject.createImmutable(0); +RemoteObject _pnl0 = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _pnl = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _lacantc = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _estetag = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _c3 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _preciou = RemoteObject.createImmutable(0f); + BA.debugLineNum = 894;BA.debugLine="Private Sub b_prodMenosC_Click"; +Debug.ShouldStop(536870912); + BA.debugLineNum = 895;BA.debugLine="etCantHasFocus = False"; +Debug.ShouldStop(1073741824); +__ref.setField ("_etcanthasfocus" /*RemoteObject*/ ,c_productos.__c.getField(true,"False")); + BA.debugLineNum = 896;BA.debugLine="Log(\"etCantHasFocus=\" & etCantHasFocus)"; +Debug.ShouldStop(-2147483648); +c_productos.__c.runVoidMethod ("LogImpl","825100290",RemoteObject.concat(RemoteObject.createImmutable("etCantHasFocus="),__ref.getField(true,"_etcanthasfocus" /*RemoteObject*/ )),0); + BA.debugLineNum = 897;BA.debugLine="LogColor(\"b_prodMenos_Click\", Colors.Magenta)"; +Debug.ShouldStop(1); +c_productos.__c.runVoidMethod ("LogImpl","825100291",BA.ObjectToString("b_prodMenos_Click"),c_productos.__c.getField(false,"Colors").getField(true,"Magenta")); + BA.debugLineNum = 898;BA.debugLine="Dim index As Int = clv_pedido.GetItemFromView(Sen"; +Debug.ShouldStop(2); +_index = __ref.getField(false,"_clv_pedido" /*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 = 899;BA.debugLine="Dim pnl0 As B4XView = clv_pedido.GetPanel(index)"; +Debug.ShouldStop(4); +_pnl0 = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_pnl0 = __ref.getField(false,"_clv_pedido" /*RemoteObject*/ ).runMethod(false,"_getpanel",(Object)(_index));Debug.locals.put("pnl0", _pnl0);Debug.locals.put("pnl0", _pnl0); + BA.debugLineNum = 900;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 = 901;BA.debugLine="Dim laCantc As B4XView = pnl.GetView(3).GetView(3"; +Debug.ShouldStop(16); +_lacantc = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_lacantc = _pnl.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 3))).runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 3)));Debug.locals.put("laCantc", _lacantc);Debug.locals.put("laCantc", _lacantc); + BA.debugLineNum = 903;BA.debugLine="Dim esteTag As List = Regex.Split(\"\\|\", laCantc.T"; +Debug.ShouldStop(64); +_estetag = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +_estetag = c_productos.__c.runMethod(false, "ArrayToList", (Object)(c_productos.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString("\\|")),(Object)(BA.ObjectToString(_lacantc.runMethod(false,"getTag"))))));Debug.locals.put("esteTag", _estetag);Debug.locals.put("esteTag", _estetag); + BA.debugLineNum = 904;BA.debugLine="Log(\"LC_TEXT:\"&laCantc.Text&\"|PROMO:\"&esteTag.Get"; +Debug.ShouldStop(128); +c_productos.__c.runVoidMethod ("LogImpl","825100298",RemoteObject.concat(RemoteObject.createImmutable("LC_TEXT:"),_lacantc.runMethod(true,"getText"),RemoteObject.createImmutable("|PROMO:"),_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 3))),RemoteObject.createImmutable("|LC_TAG:"),_lacantc.runMethod(false,"getTag"),RemoteObject.createImmutable("|ET:"),_estetag),0); + BA.debugLineNum = 908;BA.debugLine="If laCantc.Text > 0 Then"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, _lacantc.runMethod(true,"getText")),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 911;BA.debugLine="Private c3 As Cursor = Starter.skmt.ExecQuery2(\""; +Debug.ShouldStop(16384); +_c3 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c3 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_productos._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT PE_CAJAS FROM PEDIDO WHERE PE_PROID = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND CONSECUTIVO = ? ")),(Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2)))),BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 6))))}))));Debug.locals.put("c3", _c3);Debug.locals.put("c3", _c3); + BA.debugLineNum = 912;BA.debugLine="If c3.RowCount > 0 Then"; +Debug.ShouldStop(32768); +if (RemoteObject.solveBoolean(">",_c3.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 913;BA.debugLine="c3.Position = 0"; +Debug.ShouldStop(65536); +_c3.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 914;BA.debugLine="If c3.GetString(\"PE_CAJAS\") > 1 Then"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, _c3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CAJAS")))),BA.numberCast(double.class, 1))) { + BA.debugLineNum = 915;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO set"; +Debug.ShouldStop(262144); +c_productos._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update PEDIDO set PE_CANT = (IFNULL(PE_CANT,0)-(1 * '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_productos._subs.runMethod(true,"_traeconversion" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2))))))))),RemoteObject.createImmutable("')), PE_COSTO_TOT= ((IFNULL(PE_CAJAS,0)-1) *'"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_productos._subs.runMethod(true,"_traeprecioc" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2))))))))),RemoteObject.createImmutable("'), PE_CAJAS = IFNULL(PE_CAJAS,0) - 1 WHERE PE_PROID = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2))))),RemoteObject.createImmutable("' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 6))))),RemoteObject.createImmutable("'"))))); + }else +{ BA.debugLineNum = 916;BA.debugLine="Else If c3.GetString(\"PE_CAJAS\") = 1 Then"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean("=",_c3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CAJAS"))),BA.NumberToString(1))) { + BA.debugLineNum = 917;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from PEDIDO"; +Debug.ShouldStop(1048576); +c_productos._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("delete from PEDIDO where PE_PROID = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2))))),RemoteObject.createImmutable("' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 6))))),RemoteObject.createImmutable("'"))))); + }} +; + }; + BA.debugLineNum = 920;BA.debugLine="Log(\"entre al if o algo asi \")"; +Debug.ShouldStop(8388608); +c_productos.__c.runVoidMethod ("LogImpl","825100314",RemoteObject.createImmutable("entre al if o algo asi "),0); + BA.debugLineNum = 921;BA.debugLine="If laCantc.Text = \"\" Then laCantc.Text = 0"; +Debug.ShouldStop(16777216); +if (RemoteObject.solveBoolean("=",_lacantc.runMethod(true,"getText"),BA.ObjectToString(""))) { +_lacantc.runMethod(true,"setText",BA.ObjectToCharSequence(0));}; + BA.debugLineNum = 922;BA.debugLine="laCantc.Text = laCantc.Text - 1"; +Debug.ShouldStop(33554432); +_lacantc.runMethod(true,"setText",BA.ObjectToCharSequence(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _lacantc.runMethod(true,"getText")),RemoteObject.createImmutable(1)}, "-",1, 0))); + BA.debugLineNum = 923;BA.debugLine="If laCantc.Text < 0 Then laCantc.Text = 0"; +Debug.ShouldStop(67108864); +if (RemoteObject.solveBoolean("<",BA.numberCast(double.class, _lacantc.runMethod(true,"getText")),BA.numberCast(double.class, 0))) { +_lacantc.runMethod(true,"setText",BA.ObjectToCharSequence(0));}; + BA.debugLineNum = 924;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(134217728); +__ref.runClassMethod (reparto_izca.keymon.lat.c_productos.class, "_b4xpage_appear" /*RemoteObject*/ ); + }else +{ BA.debugLineNum = 926;BA.debugLine="Else If laCantc.Text = 0 Then"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean("=",_lacantc.runMethod(true,"getText"),BA.NumberToString(0))) { + }} +; + BA.debugLineNum = 930;BA.debugLine="Dim preciou As Float = esteTag.Get(0)/esteTag.Get"; +Debug.ShouldStop(2); +_preciou = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 0)))),BA.numberCast(double.class, _estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 1))))}, "/",0, 0));Debug.locals.put("preciou", _preciou);Debug.locals.put("preciou", _preciou); + BA.debugLineNum = 931;BA.debugLine="Log(\"PU: \" & preciou)"; +Debug.ShouldStop(4); +c_productos.__c.runVoidMethod ("LogImpl","825100325",RemoteObject.concat(RemoteObject.createImmutable("PU: "),_preciou),0); + 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 _b_regresar_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_regresar_Click (c_productos) ","c_productos",18,__ref.getField(false, "ba"),__ref,375); +if (RapidSub.canDelegate("b_regresar_click")) { return __ref.runUserSub(false, "c_productos","b_regresar_click", __ref);} + BA.debugLineNum = 375;BA.debugLine="Sub b_regresar_Click"; +Debug.ShouldStop(4194304); + BA.debugLineNum = 376;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +Debug.ShouldStop(8388608); +c_productos._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Cliente"))); + BA.debugLineNum = 377;BA.debugLine="End Sub"; +Debug.ShouldStop(16777216); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_revversar_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_revversar_Click (c_productos) ","c_productos",18,__ref.getField(false, "ba"),__ref,938); +if (RapidSub.canDelegate("b_revversar_click")) { return __ref.runUserSub(false, "c_productos","b_revversar_click", __ref);} + BA.debugLineNum = 938;BA.debugLine="Private Sub b_revversar_Click"; +Debug.ShouldStop(512); + BA.debugLineNum = 939;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENTAS se"; +Debug.ShouldStop(1024); +c_productos._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.createImmutable("update HIST_VENTAS set HVD_RECHAZO = 0, HVD_RECHAZOCANT = 0 WHERE HVD_cliente in (Select CUENTA from cuentaa)")))); + BA.debugLineNum = 940;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(2048); +__ref.runClassMethod (reparto_izca.keymon.lat.c_productos.class, "_b4xpage_appear" /*RemoteObject*/ ); + BA.debugLineNum = 941;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_productos) ","c_productos",18,__ref.getField(false, "ba"),__ref,74); +if (RapidSub.canDelegate("b4xpage_appear")) { return __ref.runUserSub(false, "c_productos","b4xpage_appear", __ref);} +int _i = 0; +RemoteObject _label1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +RemoteObject _bgcolor = RemoteObject.createImmutable(0); +RemoteObject _textcolor = RemoteObject.createImmutable(0); +RemoteObject _c2 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _d5 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _restacant = RemoteObject.createImmutable(""); +RemoteObject _c3 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _resta = RemoteObject.createImmutable(""); +RemoteObject _preciocat = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _preciofull = RemoteObject.createImmutable(""); +RemoteObject _oc = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _cant2 = RemoteObject.createImmutable(0); +RemoteObject _puc = RemoteObject.createImmutable(""); + BA.debugLineNum = 74;BA.debugLine="Sub B4XPage_Appear"; +Debug.ShouldStop(512); + BA.debugLineNum = 75;BA.debugLine="Label2.Visible = False"; +Debug.ShouldStop(1024); +__ref.getField(false,"_label2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_productos.__c.getField(true,"False")); + BA.debugLineNum = 76;BA.debugLine="Label3.Visible = False"; +Debug.ShouldStop(2048); +__ref.getField(false,"_label3" /*RemoteObject*/ ).runMethod(true,"setVisible",c_productos.__c.getField(true,"False")); + BA.debugLineNum = 77;BA.debugLine="L_TOTAL.Visible = False"; +Debug.ShouldStop(4096); +__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"setVisible",c_productos.__c.getField(true,"False")); + BA.debugLineNum = 78;BA.debugLine="L_CANT.Visible = False"; +Debug.ShouldStop(8192); +__ref.getField(false,"_l_cant" /*RemoteObject*/ ).runMethod(true,"setVisible",c_productos.__c.getField(true,"False")); + BA.debugLineNum = 79;BA.debugLine="b_revversar.Visible = False"; +Debug.ShouldStop(16384); +__ref.getField(false,"_b_revversar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_productos.__c.getField(true,"False")); + BA.debugLineNum = 80;BA.debugLine="Subs.centraPanel(p_principal, Root.Width)"; +Debug.ShouldStop(32768); +c_productos._subs.runVoidMethod ("_centrapanel" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_p_principal" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"))); + BA.debugLineNum = 84;BA.debugLine="L_CANT.Text =\"\""; +Debug.ShouldStop(524288); +__ref.getField(false,"_l_cant" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 85;BA.debugLine="L_TOTAL.Text=\"\""; +Debug.ShouldStop(1048576); +__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 86;BA.debugLine="c=Starter.skmt.ExecQuery(\"select count(*) as EXIS"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_productos._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select count(*) as EXISTE from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) and HVD_RECHAZO = 0 ")))); + BA.debugLineNum = 87;BA.debugLine="C.Position=0"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 88;BA.debugLine="Existe = C.GetString(\"EXISTE\")"; +Debug.ShouldStop(8388608); +__ref.setField ("_existe" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("EXISTE")))); + BA.debugLineNum = 89;BA.debugLine="C.Close"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 93;BA.debugLine="c=Starter.skmt.ExecQuery(\"select * from HIST_VENT"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_productos._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select * from HIST_VENTAS WHERE hvd_rechazo <> 2 and HVD_RECHAZOCANT > 0 order by HVD_CODPROMO desc, HVD_PRONOMBRE asc")))); + BA.debugLineNum = 96;BA.debugLine="ListView1.Clear"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 97;BA.debugLine="clv_pedido.Clear"; +Debug.ShouldStop(1); +__ref.getField(false,"_clv_pedido" /*RemoteObject*/ ).runVoidMethod ("_clear"); + BA.debugLineNum = 98;BA.debugLine="Subs.SetDivider(ListView1, Colors.LightGray, 2)"; +Debug.ShouldStop(2); +c_productos._subs.runVoidMethod ("_setdivider" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_listview1" /*RemoteObject*/ )),(Object)(c_productos.__c.getField(false,"Colors").getField(true,"LightGray")),(Object)(BA.numberCast(int.class, 2))); + BA.debugLineNum = 99;BA.debugLine="clv_pedido.GetBase.SetLayoutAnimated(100, 0dip, 6"; +Debug.ShouldStop(4); +__ref.getField(false,"_clv_pedido" /*RemoteObject*/ ).runMethod(false,"_getbase").runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 100)),(Object)(c_productos.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 0)))),(Object)(c_productos.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 60)))),(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(50)}, "-",1, 1)),(Object)(BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight"),RemoteObject.createImmutable(0.62)}, "*",0, 0)))); + BA.debugLineNum = 100;BA.debugLine="clv_pedido.Base_Resize(clv_pedido.GetBase.Width,"; +Debug.ShouldStop(8); +__ref.getField(false,"_clv_pedido" /*RemoteObject*/ ).runVoidMethod ("_base_resize",(Object)(BA.numberCast(double.class, __ref.getField(false,"_clv_pedido" /*RemoteObject*/ ).runMethod(false,"_getbase").runMethod(true,"getWidth"))),(Object)(BA.numberCast(double.class, __ref.getField(false,"_clv_pedido" /*RemoteObject*/ ).runMethod(false,"_getbase").runMethod(true,"getHeight")))); + BA.debugLineNum = 102;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 = 105;BA.debugLine="For i=0 To c.RowCount -1"; +Debug.ShouldStop(256); +{ +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 = 106;BA.debugLine="c.Position=i"; +Debug.ShouldStop(512); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 108;BA.debugLine="If c.GetString(\"BCAJAS\") = \"0\" Then"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("BCAJAS"))),BA.ObjectToString("0"))) { + 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="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 = 121;BA.debugLine="label1.TextSize = 12"; +Debug.ShouldStop(16777216); +_label1.runMethod(true,"setTextSize",BA.numberCast(float.class, 12)); + BA.debugLineNum = 122;BA.debugLine="label1.TextColor = Colors.black"; +Debug.ShouldStop(33554432); +_label1.runMethod(true,"setTextColor",c_productos.__c.getField(false,"Colors").getField(true,"Black")); + BA.debugLineNum = 123;BA.debugLine="Dim Label2 As Label"; +Debug.ShouldStop(67108864); +c_productos._label2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_label2",c_productos._label2); + BA.debugLineNum = 124;BA.debugLine="Label2 = ListView1.TwoLinesLayout.SecondLabel"; +Debug.ShouldStop(134217728); +__ref.setField ("_label2" /*RemoteObject*/ ,__ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"SecondLabel")); + BA.debugLineNum = 125;BA.debugLine="Label2.TextSize = 12"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_label2" /*RemoteObject*/ ).runMethod(true,"setTextSize",BA.numberCast(float.class, 12)); + BA.debugLineNum = 126;BA.debugLine="Label2.TextColor = Colors.black"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_label2" /*RemoteObject*/ ).runMethod(true,"setTextColor",c_productos.__c.getField(false,"Colors").getField(true,"Black")); + BA.debugLineNum = 127;BA.debugLine="Private bgColor, textColor As Int"; +Debug.ShouldStop(1073741824); +_bgcolor = RemoteObject.createImmutable(0);Debug.locals.put("bgColor", _bgcolor); +_textcolor = RemoteObject.createImmutable(0);Debug.locals.put("textColor", _textcolor); + BA.debugLineNum = 128;BA.debugLine="bgColor = Colors.RGB(177, 200, 249)'azul"; +Debug.ShouldStop(-2147483648); +_bgcolor = 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)));Debug.locals.put("bgColor", _bgcolor); + BA.debugLineNum = 129;BA.debugLine="textColor = Colors.black"; +Debug.ShouldStop(1); +_textcolor = c_productos.__c.getField(false,"Colors").getField(true,"Black");Debug.locals.put("textColor", _textcolor); + BA.debugLineNum = 130;BA.debugLine="If c.GetString(\"HVD_CODPROMO\") <> Subs.traeAlm"; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean("!",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CODPROMO"))),c_productos._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")))) { + BA.debugLineNum = 132;BA.debugLine="bgColor = Colors.White"; +Debug.ShouldStop(8); +_bgcolor = c_productos.__c.getField(false,"Colors").getField(true,"White");Debug.locals.put("bgColor", _bgcolor); + }; + BA.debugLineNum = 138;BA.debugLine="Private c2 As Cursor=Starter.skmt.ExecQuery($\""; +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"), c_productos._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select IFNULL(PE_CANT,0) AS PE_CANT, CONSECUTIVO, PE_BCAJAS from PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND PE_PROID ='"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID")))))),RemoteObject.createImmutable("' AND CONSECUTIVO = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CONSECUTIVO")))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("c2", _c2);Debug.locals.put("c2", _c2); + BA.debugLineNum = 141;BA.debugLine="Private d5 As Cursor = Starter.skmt.ExecQuery"; +Debug.ShouldStop(4096); +_d5 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_d5 = 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 IFNULL(Sum(PE_CANT),0) AS PE_CANT FROM PEDIDO WHERE PE_CLIENTEOR = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CLIENTE")))))),RemoteObject.createImmutable("' AND PE_PROID = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID")))))),RemoteObject.createImmutable("' AND CONSECUTIVO = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CONSECUTIVO")))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("d5", _d5);Debug.locals.put("d5", _d5); + BA.debugLineNum = 142;BA.debugLine="d5.Position = 0"; +Debug.ShouldStop(8192); +_d5.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 143;BA.debugLine="Private restacant As String = d5.GetString(\"PE"; +Debug.ShouldStop(16384); +_restacant = _d5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")));Debug.locals.put("restacant", _restacant);Debug.locals.put("restacant", _restacant); + BA.debugLineNum = 144;BA.debugLine="d5.Close"; +Debug.ShouldStop(32768); +_d5.runVoidMethod ("Close"); + BA.debugLineNum = 146;BA.debugLine="If (c.GetString(\"HVD_RECHAZOCANT\")-restacant)"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean("!",(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT")))),BA.numberCast(double.class, _restacant)}, "-",1, 0)),BA.numberCast(double.class, "0"))) { + BA.debugLineNum = 147;BA.debugLine="If c2.RowCount > 0 Then"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean(">",_c2.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 148;BA.debugLine="c2.Position = 0"; +Debug.ShouldStop(524288); +_c2.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 150;BA.debugLine="Private c3 As Cursor=Starter.skmt.ExecQuery("; +Debug.ShouldStop(2097152); +_c3 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c3 = 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 Ifnull(sum(PE_CANT),0) AS PE_CANT from PEDIDO WHERE PE_CLIENTE NOT IN (SELECT CUENTA FROM CUENTAA) AND PE_CLIENTEOR = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CLIENTE")))))),RemoteObject.createImmutable("' AND PE_PROID ='"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID")))))),RemoteObject.createImmutable("' AND CONSECUTIVO = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CONSECUTIVO")))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("c3", _c3);Debug.locals.put("c3", _c3); + BA.debugLineNum = 151;BA.debugLine="Private resta As String = 0"; +Debug.ShouldStop(4194304); +_resta = BA.NumberToString(0);Debug.locals.put("resta", _resta);Debug.locals.put("resta", _resta); + BA.debugLineNum = 153;BA.debugLine="If c3.RowCount > 0 Then"; +Debug.ShouldStop(16777216); +if (RemoteObject.solveBoolean(">",_c3.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 155;BA.debugLine="Log(1)"; +Debug.ShouldStop(67108864); +c_productos.__c.runVoidMethod ("LogImpl","824379473",BA.NumberToString(1),0); + BA.debugLineNum = 156;BA.debugLine="c3.Position = 0"; +Debug.ShouldStop(134217728); +_c3.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 157;BA.debugLine="resta = c3.GetString(\"PE_CANT\")"; +Debug.ShouldStop(268435456); +_resta = _c3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")));Debug.locals.put("resta", _resta); + }else { + BA.debugLineNum = 160;BA.debugLine="Log(2)"; +Debug.ShouldStop(-2147483648); +c_productos.__c.runVoidMethod ("LogImpl","824379478",BA.NumberToString(2),0); + BA.debugLineNum = 161;BA.debugLine="resta = 0"; +Debug.ShouldStop(1); +_resta = BA.NumberToString(0);Debug.locals.put("resta", _resta); + }; + BA.debugLineNum = 164;BA.debugLine="Dim preciocat As Cursor = Starter.skmt.ExecQ"; +Debug.ShouldStop(8); +_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 IFNULL(CAT_GP_PRECIO,0) AS CAT_GP_PRECIO from CAT_GUNAPROD 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("HVD_PROID")))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("preciocat", _preciocat);Debug.locals.put("preciocat", _preciocat); + BA.debugLineNum = 165;BA.debugLine="If preciocat.RowCount > 0 Then"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean(">",_preciocat.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 166;BA.debugLine="preciocat.Position = 0"; +Debug.ShouldStop(32); +_preciocat.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 167;BA.debugLine="Dim preciofull As String = preciocat.GetStr"; +Debug.ShouldStop(64); +_preciofull = _preciocat.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_PRECIO")));Debug.locals.put("preciofull", _preciofull);Debug.locals.put("preciofull", _preciofull); + }; + BA.debugLineNum = 169;BA.debugLine="preciocat.Close"; +Debug.ShouldStop(256); +_preciocat.runVoidMethod ("Close"); + BA.debugLineNum = 170;BA.debugLine="Log(c.GetString(\"HVD_CODPROMO\"))"; +Debug.ShouldStop(512); +c_productos.__c.runVoidMethod ("LogImpl","824379488",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CODPROMO"))),0); + BA.debugLineNum = 171;BA.debugLine="Log(Subs.traeAlmacen)"; +Debug.ShouldStop(1024); +c_productos.__c.runVoidMethod ("LogImpl","824379489",c_productos._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")),0); + BA.debugLineNum = 174;BA.debugLine="If c.GetString(\"HVD_CODPROMO\") = Subs.traeAl"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CODPROMO"))),c_productos._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")))) { + BA.debugLineNum = 175;BA.debugLine="clv_pedido.Add(CreateListItem(c.GetString(\""; +Debug.ShouldStop(16384); +__ref.getField(false,"_clv_pedido" /*RemoteObject*/ ).runVoidMethod ("_add",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), __ref.runClassMethod (reparto_izca.keymon.lat.c_productos.class, "_createlistitem" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PRONOMBRE")))),(Object)(c_productos._subs.runMethod(true,"_traeprecio2" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID")))),(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CODPROMO")))),(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CONSECUTIVO")))))),(Object)(BA.numberCast(int.class, _c2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))))),(Object)(BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT")))),BA.numberCast(double.class, _c2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))),BA.numberCast(double.class, _resta)}, "--",2, 0))),(Object)(__ref.getField(false,"_clv_pedido" /*RemoteObject*/ ).runMethod(false,"_asview").runMethod(true,"getWidth")),(Object)(c_productos.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 118)))),(Object)(__ref.getField(false,"_bmp" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID")))),(Object)(_bgcolor),(Object)(_textcolor),(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CODPROMO")))),(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CLIENTE")))),(Object)(BA.numberCast(int.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CONSECUTIVO")))))).getObject()),(Object)(RemoteObject.createImmutable((_i)))); + }else { + BA.debugLineNum = 177;BA.debugLine="Log(\"aqui arriba\")"; +Debug.ShouldStop(65536); +c_productos.__c.runVoidMethod ("LogImpl","824379495",RemoteObject.createImmutable("aqui arriba"),0); + BA.debugLineNum = 178;BA.debugLine="clv_pedido.Add(CreateListItem(c.GetString(\""; +Debug.ShouldStop(131072); +__ref.getField(false,"_clv_pedido" /*RemoteObject*/ ).runVoidMethod ("_add",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), __ref.runClassMethod (reparto_izca.keymon.lat.c_productos.class, "_createlistitem" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PRONOMBRE")))),(Object)(_preciofull),(Object)(BA.numberCast(int.class, _c2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))))),(Object)(BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT")))),BA.numberCast(double.class, _c2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))),BA.numberCast(double.class, _resta)}, "--",2, 0))),(Object)(__ref.getField(false,"_clv_pedido" /*RemoteObject*/ ).runMethod(false,"_asview").runMethod(true,"getWidth")),(Object)(c_productos.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 118)))),(Object)(__ref.getField(false,"_bmp" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID")))),(Object)(_bgcolor),(Object)(_textcolor),(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CODPROMO")))),(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CLIENTE")))),(Object)(BA.numberCast(int.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CONSECUTIVO")))))).getObject()),(Object)(RemoteObject.createImmutable((_i)))); + }; + }else +{ BA.debugLineNum = 182;BA.debugLine="Else iF c2.RowCount = 0 Then"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean("=",_c2.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 183;BA.debugLine="Private c3 As Cursor=Starter.skmt.ExecQuery("; +Debug.ShouldStop(4194304); +_c3 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c3 = 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 Ifnull(sum(PE_CANT),0) AS PE_CANT from PEDIDO WHERE PE_CLIENTE NOT IN (SELECT CUENTA FROM CUENTAA) AND PE_CLIENTEOR = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CLIENTE")))))),RemoteObject.createImmutable("' AND PE_PROID ='"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID")))))),RemoteObject.createImmutable("' AND CONSECUTIVO = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CONSECUTIVO")))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("c3", _c3);Debug.locals.put("c3", _c3); + BA.debugLineNum = 184;BA.debugLine="Private resta As String = 0"; +Debug.ShouldStop(8388608); +_resta = BA.NumberToString(0);Debug.locals.put("resta", _resta);Debug.locals.put("resta", _resta); + BA.debugLineNum = 186;BA.debugLine="If c3.RowCount > 0 Then"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean(">",_c3.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 188;BA.debugLine="Log(3)"; +Debug.ShouldStop(134217728); +c_productos.__c.runVoidMethod ("LogImpl","824379506",BA.NumberToString(3),0); + BA.debugLineNum = 189;BA.debugLine="c3.Position = 0"; +Debug.ShouldStop(268435456); +_c3.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 190;BA.debugLine="resta = c3.GetString(\"PE_CANT\")"; +Debug.ShouldStop(536870912); +_resta = _c3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")));Debug.locals.put("resta", _resta); + }else { + BA.debugLineNum = 193;BA.debugLine="Log(4)"; +Debug.ShouldStop(1); +c_productos.__c.runVoidMethod ("LogImpl","824379511",BA.NumberToString(4),0); + BA.debugLineNum = 194;BA.debugLine="resta = 0"; +Debug.ShouldStop(2); +_resta = BA.NumberToString(0);Debug.locals.put("resta", _resta); + }; + BA.debugLineNum = 198;BA.debugLine="Dim preciocat As Cursor = Starter.skmt.ExecQ"; +Debug.ShouldStop(32); +_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 IFNULL(CAT_GP_PRECIO,0) AS CAT_GP_PRECIO from CAT_GUNAPROD 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("HVD_PROID")))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("preciocat", _preciocat);Debug.locals.put("preciocat", _preciocat); + BA.debugLineNum = 199;BA.debugLine="If preciocat.RowCount > 0 Then"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean(">",_preciocat.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 200;BA.debugLine="preciocat.Position = 0"; +Debug.ShouldStop(128); +_preciocat.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 201;BA.debugLine="Dim preciofull As String = preciocat.GetStr"; +Debug.ShouldStop(256); +_preciofull = _preciocat.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_PRECIO")));Debug.locals.put("preciofull", _preciofull);Debug.locals.put("preciofull", _preciofull); + }; + BA.debugLineNum = 203;BA.debugLine="preciocat.Close"; +Debug.ShouldStop(1024); +_preciocat.runVoidMethod ("Close"); + BA.debugLineNum = 204;BA.debugLine="Log(c.GetString(\"HVD_CODPROMO\"))"; +Debug.ShouldStop(2048); +c_productos.__c.runVoidMethod ("LogImpl","824379522",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CODPROMO"))),0); + BA.debugLineNum = 205;BA.debugLine="Log(Subs.traeAlmacen)"; +Debug.ShouldStop(4096); +c_productos.__c.runVoidMethod ("LogImpl","824379523",c_productos._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")),0); + BA.debugLineNum = 207;BA.debugLine="If c.GetString(\"HVD_CODPROMO\") = Subs.traeAl"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CODPROMO"))),c_productos._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")))) { + BA.debugLineNum = 208;BA.debugLine="clv_pedido.Add(CreateListItem(c.GetString(\""; +Debug.ShouldStop(32768); +__ref.getField(false,"_clv_pedido" /*RemoteObject*/ ).runVoidMethod ("_add",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), __ref.runClassMethod (reparto_izca.keymon.lat.c_productos.class, "_createlistitem" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PRONOMBRE")))),(Object)(c_productos._subs.runMethod(true,"_traeprecio2" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID")))),(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CODPROMO")))),(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CONSECUTIVO")))))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT")))),BA.numberCast(double.class, _resta)}, "-",1, 0))),(Object)(__ref.getField(false,"_clv_pedido" /*RemoteObject*/ ).runMethod(false,"_asview").runMethod(true,"getWidth")),(Object)(c_productos.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 118)))),(Object)(__ref.getField(false,"_bmp" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID")))),(Object)(_bgcolor),(Object)(_textcolor),(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CODPROMO")))),(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CLIENTE")))),(Object)(BA.numberCast(int.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CONSECUTIVO")))))).getObject()),(Object)(RemoteObject.createImmutable((_i)))); + }else { + BA.debugLineNum = 210;BA.debugLine="Log(\"aqui abajo\")"; +Debug.ShouldStop(131072); +c_productos.__c.runVoidMethod ("LogImpl","824379528",RemoteObject.createImmutable("aqui abajo"),0); + BA.debugLineNum = 211;BA.debugLine="clv_pedido.Add(CreateListItem(c.GetString(\""; +Debug.ShouldStop(262144); +__ref.getField(false,"_clv_pedido" /*RemoteObject*/ ).runVoidMethod ("_add",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), __ref.runClassMethod (reparto_izca.keymon.lat.c_productos.class, "_createlistitem" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PRONOMBRE")))),(Object)(_preciofull),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT")))),BA.numberCast(double.class, _resta)}, "-",1, 0))),(Object)(__ref.getField(false,"_clv_pedido" /*RemoteObject*/ ).runMethod(false,"_asview").runMethod(true,"getWidth")),(Object)(c_productos.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 118)))),(Object)(__ref.getField(false,"_bmp" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID")))),(Object)(_bgcolor),(Object)(_textcolor),(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CODPROMO")))),(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CLIENTE")))),(Object)(BA.numberCast(int.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CONSECUTIVO")))))).getObject()),(Object)(RemoteObject.createImmutable((_i)))); + }; + }} +; + }; + BA.debugLineNum = 218;BA.debugLine="c2.Close"; +Debug.ShouldStop(33554432); +_c2.runVoidMethod ("Close"); + }else +{ BA.debugLineNum = 221;BA.debugLine="Else If c.GetString(\"BCAJAS\") = \"1\" Then"; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("BCAJAS"))),BA.ObjectToString("1"))) { + BA.debugLineNum = 222;BA.debugLine="Log(\"AQUI1\")"; +Debug.ShouldStop(536870912); +c_productos.__c.runVoidMethod ("LogImpl","824379540",RemoteObject.createImmutable("AQUI1"),0); + BA.debugLineNum = 225;BA.debugLine="Private oc As Cursor = Starter.skmt.ExecQuery("; +Debug.ShouldStop(1); +_oc = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_oc = 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 HVD_CANT from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) and hvd_proid = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID")))))),RemoteObject.createImmutable("' and HVD_NUM_REGISTRO = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_NUM_REGISTRO")))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("oc", _oc);Debug.locals.put("oc", _oc); + BA.debugLineNum = 226;BA.debugLine="Private cant2 As Int = 0"; +Debug.ShouldStop(2); +_cant2 = BA.numberCast(int.class, 0);Debug.locals.put("cant2", _cant2);Debug.locals.put("cant2", _cant2); + BA.debugLineNum = 227;BA.debugLine="If oc.RowCount > 0 Then"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean(">",_oc.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 228;BA.debugLine="oc.Position = 0"; +Debug.ShouldStop(8); +_oc.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 229;BA.debugLine="cant2 = oc.GetString(\"HVD_CANT\")"; +Debug.ShouldStop(16); +_cant2 = BA.numberCast(int.class, _oc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT"))));Debug.locals.put("cant2", _cant2); + }; + BA.debugLineNum = 231;BA.debugLine="oc.Close"; +Debug.ShouldStop(64); +_oc.runVoidMethod ("Close"); + BA.debugLineNum = 232;BA.debugLine="Dim label1 As Label"; +Debug.ShouldStop(128); +_label1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label1", _label1); + BA.debugLineNum = 233;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 = 234;BA.debugLine="label1.TextSize = 12"; +Debug.ShouldStop(512); +_label1.runMethod(true,"setTextSize",BA.numberCast(float.class, 12)); + BA.debugLineNum = 235;BA.debugLine="label1.TextColor = Colors.black"; +Debug.ShouldStop(1024); +_label1.runMethod(true,"setTextColor",c_productos.__c.getField(false,"Colors").getField(true,"Black")); + BA.debugLineNum = 236;BA.debugLine="Dim Label2 As Label"; +Debug.ShouldStop(2048); +c_productos._label2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_label2",c_productos._label2); + BA.debugLineNum = 237;BA.debugLine="Label2 = ListView1.TwoLinesLayout.SecondLabel"; +Debug.ShouldStop(4096); +__ref.setField ("_label2" /*RemoteObject*/ ,__ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"SecondLabel")); + BA.debugLineNum = 238;BA.debugLine="Label2.TextSize = 12"; +Debug.ShouldStop(8192); +__ref.getField(false,"_label2" /*RemoteObject*/ ).runMethod(true,"setTextSize",BA.numberCast(float.class, 12)); + BA.debugLineNum = 239;BA.debugLine="Label2.TextColor = Colors.black"; +Debug.ShouldStop(16384); +__ref.getField(false,"_label2" /*RemoteObject*/ ).runMethod(true,"setTextColor",c_productos.__c.getField(false,"Colors").getField(true,"Black")); + BA.debugLineNum = 240;BA.debugLine="Private bgColor, textColor As Int"; +Debug.ShouldStop(32768); +_bgcolor = RemoteObject.createImmutable(0);Debug.locals.put("bgColor", _bgcolor); +_textcolor = RemoteObject.createImmutable(0);Debug.locals.put("textColor", _textcolor); + BA.debugLineNum = 241;BA.debugLine="bgColor = Colors.RGB(177, 200, 249)'azul"; +Debug.ShouldStop(65536); +_bgcolor = 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)));Debug.locals.put("bgColor", _bgcolor); + BA.debugLineNum = 242;BA.debugLine="textColor = Colors.black"; +Debug.ShouldStop(131072); +_textcolor = c_productos.__c.getField(false,"Colors").getField(true,"Black");Debug.locals.put("textColor", _textcolor); + BA.debugLineNum = 243;BA.debugLine="If c.GetString(\"HVD_CODPROMO\") <> Subs.traeAlm"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean("!",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CODPROMO"))),c_productos._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")))) { + BA.debugLineNum = 245;BA.debugLine="bgColor = Colors.White"; +Debug.ShouldStop(1048576); +_bgcolor = c_productos.__c.getField(false,"Colors").getField(true,"White");Debug.locals.put("bgColor", _bgcolor); + }; + BA.debugLineNum = 250;BA.debugLine="Private c2 As Cursor=Starter.skmt.ExecQuery($\""; +Debug.ShouldStop(33554432); +_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_productos._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.createImmutable("select * from PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA)")))));Debug.locals.put("c2", _c2);Debug.locals.put("c2", _c2); + BA.debugLineNum = 252;BA.debugLine="Private d5 As Cursor = Starter.skmt.ExecQuery"; +Debug.ShouldStop(134217728); +_d5 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_d5 = 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 IFNULL(Sum(PE_CANT),0) AS PE_CANT FROM PEDIDO WHERE PE_CLIENTEOR = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CLIENTE")))))),RemoteObject.createImmutable("' AND PE_PROID = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID")))))),RemoteObject.createImmutable("' AND CONSECUTIVO = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CONSECUTIVO")))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("d5", _d5);Debug.locals.put("d5", _d5); + BA.debugLineNum = 253;BA.debugLine="d5.Position = 0"; +Debug.ShouldStop(268435456); +_d5.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 254;BA.debugLine="Private restacant As String = d5.GetString(\"PE"; +Debug.ShouldStop(536870912); +_restacant = _d5.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")));Debug.locals.put("restacant", _restacant);Debug.locals.put("restacant", _restacant); + BA.debugLineNum = 255;BA.debugLine="d5.Close"; +Debug.ShouldStop(1073741824); +_d5.runVoidMethod ("Close"); + BA.debugLineNum = 257;BA.debugLine="If (c.GetString(\"HVD_RECHAZOCANT\")-restacant)"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean("!",(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT")))),BA.numberCast(double.class, _restacant)}, "-",1, 0)),BA.numberCast(double.class, "0"))) { + BA.debugLineNum = 258;BA.debugLine="If c2.RowCount > 0 Then"; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean(">",_c2.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 259;BA.debugLine="c2.Position = 0"; +Debug.ShouldStop(4); +_c2.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 260;BA.debugLine="Log(\"SI ENTRO A PONER CAJAS BIEN \")"; +Debug.ShouldStop(8); +c_productos.__c.runVoidMethod ("LogImpl","824379578",RemoteObject.createImmutable("SI ENTRO A PONER CAJAS BIEN "),0); + BA.debugLineNum = 261;BA.debugLine="Log(c2.GetString(\"PE_CAJAS\"))"; +Debug.ShouldStop(16); +c_productos.__c.runVoidMethod ("LogImpl","824379579",_c2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CAJAS"))),0); + BA.debugLineNum = 262;BA.debugLine="Private c3 As Cursor=Starter.skmt.ExecQuery("; +Debug.ShouldStop(32); +_c3 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c3 = 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 Ifnull(sum(PE_CANT),0) AS PE_CANT from PEDIDO WHERE PE_CLIENTE NOT IN (SELECT CUENTA FROM CUENTAA) AND PE_CLIENTEOR = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CLIENTE")))))),RemoteObject.createImmutable("' AND PE_PROID ='"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID")))))),RemoteObject.createImmutable("' AND CONSECUTIVO = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CONSECUTIVO")))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("c3", _c3);Debug.locals.put("c3", _c3); + BA.debugLineNum = 263;BA.debugLine="Private resta As String = 0"; +Debug.ShouldStop(64); +_resta = BA.NumberToString(0);Debug.locals.put("resta", _resta);Debug.locals.put("resta", _resta); + BA.debugLineNum = 265;BA.debugLine="If c3.RowCount > 0 Then"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean(">",_c3.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 267;BA.debugLine="Log(5)"; +Debug.ShouldStop(1024); +c_productos.__c.runVoidMethod ("LogImpl","824379585",BA.NumberToString(5),0); + BA.debugLineNum = 268;BA.debugLine="c3.Position = 0"; +Debug.ShouldStop(2048); +_c3.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 269;BA.debugLine="resta = c3.GetString(\"PE_CANT\")"; +Debug.ShouldStop(4096); +_resta = _c3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")));Debug.locals.put("resta", _resta); + }else { + BA.debugLineNum = 272;BA.debugLine="Log(6)"; +Debug.ShouldStop(32768); +c_productos.__c.runVoidMethod ("LogImpl","824379590",BA.NumberToString(6),0); + BA.debugLineNum = 273;BA.debugLine="resta = 0"; +Debug.ShouldStop(65536); +_resta = BA.NumberToString(0);Debug.locals.put("resta", _resta); + }; + BA.debugLineNum = 275;BA.debugLine="Private puc As String = c.GetString(\"HVD_COS"; +Debug.ShouldStop(262144); +_puc = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_COSTO_TOT")))),BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CANTC"))))}, "/",0, 0));Debug.locals.put("puc", _puc);Debug.locals.put("puc", _puc); + BA.debugLineNum = 276;BA.debugLine="LogColor((restacant/Subs.traeConversion(c.Ge"; +Debug.ShouldStop(524288); +c_productos.__c.runVoidMethod ("LogImpl","824379594",BA.NumberToString((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _restacant),BA.numberCast(double.class, c_productos._subs.runMethod(true,"_traeconversion" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID"))))))}, "/",0, 0))),c_productos.__c.getField(false,"Colors").getField(true,"Green")); + BA.debugLineNum = 277;BA.debugLine="clv_pedido.Add(CreateListItem2(c.GetString(\""; +Debug.ShouldStop(1048576); +__ref.getField(false,"_clv_pedido" /*RemoteObject*/ ).runVoidMethod ("_add",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), __ref.runClassMethod (reparto_izca.keymon.lat.c_productos.class, "_createlistitem2" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PRONOMBRE")))),(Object)(_puc),(Object)(BA.numberCast(int.class, (RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _restacant),BA.numberCast(double.class, c_productos._subs.runMethod(true,"_traeconversion" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID"))))))}, "/",0, 0)))),(Object)(BA.numberCast(int.class, (RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT")))),BA.numberCast(double.class, _restacant),BA.numberCast(double.class, _resta)}, "--",2, 0)),BA.numberCast(double.class, c_productos._subs.runMethod(true,"_traeconversion" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID"))))))}, "/",0, 0)))),(Object)(__ref.getField(false,"_clv_pedido" /*RemoteObject*/ ).runMethod(false,"_asview").runMethod(true,"getWidth")),(Object)(c_productos.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 118)))),(Object)(__ref.getField(false,"_bmp" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID")))),(Object)(_bgcolor),(Object)(_textcolor),(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CODPROMO")))),(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CLIENTE")))),(Object)(BA.numberCast(int.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CONSECUTIVO")))))).getObject()),(Object)(RemoteObject.createImmutable((_i)))); + }else { + BA.debugLineNum = 279;BA.debugLine="Log(\"NO ENTRO A PONER CAJAS BIEN \")"; +Debug.ShouldStop(4194304); +c_productos.__c.runVoidMethod ("LogImpl","824379597",RemoteObject.createImmutable("NO ENTRO A PONER CAJAS BIEN "),0); + BA.debugLineNum = 280;BA.debugLine="Private c3 As Cursor=Starter.skmt.ExecQuery("; +Debug.ShouldStop(8388608); +_c3 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c3 = 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 Ifnull(sum(PE_CANT),0) AS PE_CANT from PEDIDO WHERE PE_CLIENTE NOT IN (SELECT CUENTA FROM CUENTAA) AND PE_CLIENTEOR = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CLIENTE")))))),RemoteObject.createImmutable("' AND PE_PROID ='"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID")))))),RemoteObject.createImmutable("' AND CONSECUTIVO = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CONSECUTIVO")))))),RemoteObject.createImmutable("'"))))));Debug.locals.put("c3", _c3);Debug.locals.put("c3", _c3); + BA.debugLineNum = 281;BA.debugLine="Private resta As String = 0"; +Debug.ShouldStop(16777216); +_resta = BA.NumberToString(0);Debug.locals.put("resta", _resta);Debug.locals.put("resta", _resta); + BA.debugLineNum = 283;BA.debugLine="If c3.RowCount > 0 Then"; +Debug.ShouldStop(67108864); +if (RemoteObject.solveBoolean(">",_c3.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 285;BA.debugLine="Log(7)"; +Debug.ShouldStop(268435456); +c_productos.__c.runVoidMethod ("LogImpl","824379603",BA.NumberToString(7),0); + BA.debugLineNum = 286;BA.debugLine="c3.Position = 0"; +Debug.ShouldStop(536870912); +_c3.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 287;BA.debugLine="resta = c3.GetString(\"PE_CANT\")"; +Debug.ShouldStop(1073741824); +_resta = _c3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")));Debug.locals.put("resta", _resta); + }else { + BA.debugLineNum = 290;BA.debugLine="Log(1)"; +Debug.ShouldStop(2); +c_productos.__c.runVoidMethod ("LogImpl","824379608",BA.NumberToString(1),0); + BA.debugLineNum = 291;BA.debugLine="resta = 0"; +Debug.ShouldStop(4); +_resta = BA.NumberToString(0);Debug.locals.put("resta", _resta); + }; + BA.debugLineNum = 293;BA.debugLine="LogColor(resta,Colors.Green)"; +Debug.ShouldStop(16); +c_productos.__c.runVoidMethod ("LogImpl","824379611",_resta,c_productos.__c.getField(false,"Colors").getField(true,"Green")); + BA.debugLineNum = 294;BA.debugLine="Private puc As String = c.GetString(\"HVD_COS"; +Debug.ShouldStop(32); +_puc = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_COSTO_TOT")))),BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CANTC"))))}, "/",0, 0));Debug.locals.put("puc", _puc);Debug.locals.put("puc", _puc); + BA.debugLineNum = 296;BA.debugLine="clv_pedido.Add(CreateListItem2(c.GetString(\""; +Debug.ShouldStop(128); +__ref.getField(false,"_clv_pedido" /*RemoteObject*/ ).runVoidMethod ("_add",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), __ref.runClassMethod (reparto_izca.keymon.lat.c_productos.class, "_createlistitem2" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PRONOMBRE")))),(Object)(_puc),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, (RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT")))),BA.numberCast(double.class, _resta)}, "-",1, 0)),BA.numberCast(double.class, c_productos._subs.runMethod(true,"_traeconversion" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID"))))))}, "/",0, 0)))),(Object)(__ref.getField(false,"_clv_pedido" /*RemoteObject*/ ).runMethod(false,"_asview").runMethod(true,"getWidth")),(Object)(c_productos.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 118)))),(Object)(__ref.getField(false,"_bmp" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID")))),(Object)(_bgcolor),(Object)(_textcolor),(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CODPROMO")))),(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CLIENTE")))),(Object)(BA.numberCast(int.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CONSECUTIVO")))))).getObject()),(Object)(RemoteObject.createImmutable((_i)))); + }; + }; + BA.debugLineNum = 299;BA.debugLine="c2.Close"; +Debug.ShouldStop(1024); +_c2.runVoidMethod ("Close"); + }} +; + } +}Debug.locals.put("i", _i); +; + }; + 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 _b4xpage_closerequest(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_CloseRequest (c_productos) ","c_productos",18,__ref.getField(false, "ba"),__ref,379); +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(reparto_izca.keymon.lat.c_productos parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +reparto_izca.keymon.lat.c_productos parent; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_CloseRequest (c_productos) ","c_productos",18,__ref.getField(false, "ba"),__ref,379); +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 = 382;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +Debug.ShouldStop(536870912); +parent._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Cliente"))); + BA.debugLineNum = 384;BA.debugLine="Return False"; +Debug.ShouldStop(-2147483648); +if (true) { +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(parent.__c.getField(true,"False")));return;}; + BA.debugLineNum = 385;BA.debugLine="End Sub"; +Debug.ShouldStop(1); +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",18,__ref.getField(false, "ba"),__ref,62); +if (RapidSub.canDelegate("b4xpage_created")) { return __ref.runUserSub(false, "c_productos","b4xpage_created", __ref, _root1);} +Debug.locals.put("Root1", _root1); + BA.debugLineNum = 62;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +Debug.ShouldStop(536870912); + BA.debugLineNum = 63;BA.debugLine="Root = Root1"; +Debug.ShouldStop(1073741824); +__ref.setField ("_root" /*RemoteObject*/ ,_root1); + BA.debugLineNum = 64;BA.debugLine="B4XPages.SetTitle(Me, \"Productos\")"; +Debug.ShouldStop(-2147483648); +c_productos._b4xpages.runVoidMethod ("_settitle" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref),(Object)((RemoteObject.createImmutable("Productos")))); + BA.debugLineNum = 66;BA.debugLine="g.Initialize(\"GPS\")"; +Debug.ShouldStop(2); +__ref.getField(false,"_g" /*RemoteObject*/ ).runVoidMethod ("Initialize",(Object)(RemoteObject.createImmutable("GPS"))); + BA.debugLineNum = 67;BA.debugLine="Root.LoadLayout(\"detalleVenta\")"; +Debug.ShouldStop(4); +__ref.getField(false,"_root" /*RemoteObject*/ ).runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("detalleVenta")),__ref.getField(false, "ba")); + BA.debugLineNum = 68;BA.debugLine="b_borra.Visible = False"; +Debug.ShouldStop(8); +__ref.getField(false,"_b_borra" /*RemoteObject*/ ).runMethod(true,"setVisible",c_productos.__c.getField(true,"False")); + BA.debugLineNum = 69;BA.debugLine="Titulo.Text = \"Pedido\""; +Debug.ShouldStop(16); +__ref.getField(false,"_titulo" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("Pedido")); + 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 _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 g As GPS"; +c_productos._g = RemoteObject.createNew ("anywheresoftware.b4a.gps.GPS");__ref.setField("_g",c_productos._g); + //BA.debugLineNum = 5;BA.debugLine="Dim clie_id As String"; +c_productos._clie_id = RemoteObject.createImmutable("");__ref.setField("_clie_id",c_productos._clie_id); + //BA.debugLineNum = 6;BA.debugLine="Dim sDate,sTime As String"; +c_productos._sdate = RemoteObject.createImmutable("");__ref.setField("_sdate",c_productos._sdate); +c_productos._stime = RemoteObject.createImmutable("");__ref.setField("_stime",c_productos._stime); + //BA.debugLineNum = 7;BA.debugLine="Dim usuario As String"; +c_productos._usuario = RemoteObject.createImmutable("");__ref.setField("_usuario",c_productos._usuario); + //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 = 10;BA.debugLine="Dim b_regresar As Button"; +c_productos._b_regresar = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_regresar",c_productos._b_regresar); + //BA.debugLineNum = 11;BA.debugLine="Dim ListView1 As ListView"; +c_productos._listview1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ListViewWrapper");__ref.setField("_listview1",c_productos._listview1); + //BA.debugLineNum = 12;BA.debugLine="Dim L_CANT As Label"; +c_productos._l_cant = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_cant",c_productos._l_cant); + //BA.debugLineNum = 13;BA.debugLine="Dim L_TOTAL As Label"; +c_productos._l_total = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_total",c_productos._l_total); + //BA.debugLineNum = 14;BA.debugLine="Dim b_borra As Button"; +c_productos._b_borra = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_borra",c_productos._b_borra); + //BA.debugLineNum = 15;BA.debugLine="Dim Existe As String"; +c_productos._existe = RemoteObject.createImmutable("");__ref.setField("_existe",c_productos._existe); + //BA.debugLineNum = 16;BA.debugLine="Dim result As String"; +c_productos._result = RemoteObject.createImmutable("");__ref.setField("_result",c_productos._result); + //BA.debugLineNum = 18;BA.debugLine="Dim cuantos As String"; +c_productos._cuantos = RemoteObject.createImmutable("");__ref.setField("_cuantos",c_productos._cuantos); + //BA.debugLineNum = 19;BA.debugLine="Dim nombre_prod As String"; +c_productos._nombre_prod = RemoteObject.createImmutable("");__ref.setField("_nombre_prod",c_productos._nombre_prod); + //BA.debugLineNum = 20;BA.debugLine="Dim cuantos_pedido As String"; +c_productos._cuantos_pedido = RemoteObject.createImmutable("");__ref.setField("_cuantos_pedido",c_productos._cuantos_pedido); + //BA.debugLineNum = 21;BA.debugLine="Private Titulo As Label"; +c_productos._titulo = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_titulo",c_productos._titulo); + //BA.debugLineNum = 22;BA.debugLine="Private P1 As Panel"; +c_productos._p1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p1",c_productos._p1); + //BA.debugLineNum = 23;BA.debugLine="Private lv2 As ListView"; +c_productos._lv2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ListViewWrapper");__ref.setField("_lv2",c_productos._lv2); + //BA.debugLineNum = 24;BA.debugLine="Private p_principal As Panel"; +c_productos._p_principal = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_principal",c_productos._p_principal); + //BA.debugLineNum = 25;BA.debugLine="Dim clv_pedido As CustomListView"; +c_productos._clv_pedido = RemoteObject.createNew ("b4a.example3.customlistview");__ref.setField("_clv_pedido",c_productos._clv_pedido); + //BA.debugLineNum = 26;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 = 27;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 = 28;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 = 29;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 = 30;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 = 31;BA.debugLine="Dim etCantHasFocus As Boolean = False"; +c_productos._etcanthasfocus = c_productos.__c.getField(true,"False");__ref.setField("_etcanthasfocus",c_productos._etcanthasfocus); + //BA.debugLineNum = 32;BA.debugLine="Dim totalProds As Int = 0"; +c_productos._totalprods = BA.numberCast(int.class, 0);__ref.setField("_totalprods",c_productos._totalprods); + //BA.debugLineNum = 33;BA.debugLine="Dim totalCompra As Int = 0"; +c_productos._totalcompra = BA.numberCast(int.class, 0);__ref.setField("_totalcompra",c_productos._totalcompra); + //BA.debugLineNum = 34;BA.debugLine="Dim prodsMap As Map"; +c_productos._prodsmap = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");__ref.setField("_prodsmap",c_productos._prodsmap); + //BA.debugLineNum = 35;BA.debugLine="Dim reconstruirPedido As Boolean = False"; +c_productos._reconstruirpedido = c_productos.__c.getField(true,"False");__ref.setField("_reconstruirpedido",c_productos._reconstruirpedido); + //BA.debugLineNum = 36;BA.debugLine="Dim promoABorrar As String"; +c_productos._promoaborrar = RemoteObject.createImmutable("");__ref.setField("_promoaborrar",c_productos._promoaborrar); + //BA.debugLineNum = 37;BA.debugLine="Private b_guardar As Button"; +c_productos._b_guardar = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_guardar",c_productos._b_guardar); + //BA.debugLineNum = 38;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 = 39;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 = 40;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 = 41;BA.debugLine="Private l_pCantC As Label"; +c_productos._l_pcantc = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_pcantc",c_productos._l_pcantc); + //BA.debugLineNum = 42;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 = 43;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 = 44;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 = 45;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 = 46;BA.debugLine="Private b_revversar As Button"; +c_productos._b_revversar = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_revversar",c_productos._b_revversar); + //BA.debugLineNum = 47;BA.debugLine="Private Label2 As Label"; +c_productos._label2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_label2",c_productos._label2); + //BA.debugLineNum = 48;BA.debugLine="Private Label3 As Label"; +c_productos._label3 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_label3",c_productos._label3); + //BA.debugLineNum = 49;BA.debugLine="Private l_piezas As Label"; +c_productos._l_piezas = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_piezas",c_productos._l_piezas); + //BA.debugLineNum = 50;BA.debugLine="Private l_cajas As Label"; +c_productos._l_cajas = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_cajas",c_productos._l_cajas); + //BA.debugLineNum = 52;BA.debugLine="Private l_cajas As Label"; +c_productos._l_cajas = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_cajas",c_productos._l_cajas); + //BA.debugLineNum = 53;BA.debugLine="Private l_piezas As Label"; +c_productos._l_piezas = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_piezas",c_productos._l_piezas); + //BA.debugLineNum = 54;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _createlistitem(RemoteObject __ref,RemoteObject _text,RemoteObject _preciou,RemoteObject _inv,RemoteObject _inv2,RemoteObject _width,RemoteObject _height,RemoteObject _img,RemoteObject _prodid,RemoteObject _bc,RemoteObject _tc,RemoteObject _promo,RemoteObject _cliente_original,RemoteObject _consecutivo) throws Exception{ +try { + Debug.PushSubsStack("CreateListItem (c_productos) ","c_productos",18,__ref.getField(false, "ba"),__ref,500); +if (RapidSub.canDelegate("createlistitem")) { return __ref.runUserSub(false, "c_productos","createlistitem", __ref, _text, _preciou, _inv, _inv2, _width, _height, _img, _prodid, _bc, _tc, _promo, _cliente_original, _consecutivo);} +RemoteObject _p = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _cs = RemoteObject.declareNull("anywheresoftware.b4a.objects.CSBuilder"); +Debug.locals.put("Text", _text); +Debug.locals.put("precioU", _preciou); +Debug.locals.put("inv", _inv); +Debug.locals.put("inv2", _inv2); +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); +Debug.locals.put("promo", _promo); +Debug.locals.put("cliente_original", _cliente_original); +Debug.locals.put("consecutivo", _consecutivo); + BA.debugLineNum = 500;BA.debugLine="Sub CreateListItem(Text As String, precioU As Stri"; +Debug.ShouldStop(524288); + BA.debugLineNum = 501;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")"; +Debug.ShouldStop(1048576); +_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 = 502;BA.debugLine="Private cs As CSBuilder"; +Debug.ShouldStop(2097152); +_cs = RemoteObject.createNew ("anywheresoftware.b4a.objects.CSBuilder");Debug.locals.put("cs", _cs); + BA.debugLineNum = 503;BA.debugLine="cs.Initialize"; +Debug.ShouldStop(4194304); +_cs.runVoidMethod ("Initialize"); + BA.debugLineNum = 504;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, Width, Height)"; +Debug.ShouldStop(8388608); +_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 = 505;BA.debugLine="p.LoadLayout(\"prodItem2\")"; +Debug.ShouldStop(16777216); +_p.runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("prodItem2")),__ref.getField(false, "ba")); + BA.debugLineNum = 506;BA.debugLine="p_prods.Color = bc"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_p_prods" /*RemoteObject*/ ).runVoidMethod ("setColor",_bc); + BA.debugLineNum = 507;BA.debugLine="l_prodX.TextColor = tc"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_l_prodx" /*RemoteObject*/ ).runMethod(true,"setTextColor",_tc); + BA.debugLineNum = 508;BA.debugLine="precioU = $\"$1.2{precioU}\"$"; +Debug.ShouldStop(134217728); +_preciou = (RemoteObject.concat(RemoteObject.createImmutable(""),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("1.2")),(Object)((_preciou))),RemoteObject.createImmutable("")));Debug.locals.put("precioU", _preciou); + BA.debugLineNum = 509;BA.debugLine="l_prodX.Text = Text&CRLF&\"Cant: \" & inv2 & \" $\""; +Debug.ShouldStop(268435456); +__ref.getField(false,"_l_prodx" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(RemoteObject.concat(_text,c_productos.__c.getField(true,"CRLF"),RemoteObject.createImmutable("Cant: "),_inv2,RemoteObject.createImmutable(" $"),_preciou))); + BA.debugLineNum = 510;BA.debugLine="If promo <> \"1\" And precioU = 0 Then"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean("!",_promo,BA.ObjectToString("1")) && RemoteObject.solveBoolean("=",_preciou,BA.NumberToString(0))) { + BA.debugLineNum = 511;BA.debugLine="l_prodX.Text = cs.Color(Colors.RGB(123,0,0)).app"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_l_prodx" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_cs.runMethod(false,"Color",(Object)(c_productos.__c.getField(false,"Colors").runMethod(true,"RGB",(Object)(BA.numberCast(int.class, 123)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0))))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(_text,c_productos.__c.getField(true,"CRLF"),RemoteObject.createImmutable("Cant: "),_inv2,RemoteObject.createImmutable(" $"),_preciou)))).runMethod(false,"PopAll").getObject())); + }; + BA.debugLineNum = 513;BA.debugLine="l_prodX.Tag = $\"ID: ${prodId}${CRLF}${Text}${CRLF"; +Debug.ShouldStop(1); +__ref.getField(false,"_l_prodx" /*RemoteObject*/ ).runMethod(false,"setTag",((RemoteObject.concat(RemoteObject.createImmutable("ID: "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_prodid))),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)((_text))),RemoteObject.createImmutable(""),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_productos.__c.getField(true,"CRLF")))),RemoteObject.createImmutable("Precio: $"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("1.2")),(Object)((_preciou))),RemoteObject.createImmutable(""),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_productos.__c.getField(true,"CRLF")))),RemoteObject.createImmutable("Inv: "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_inv))),RemoteObject.createImmutable(" pzs"))))); + BA.debugLineNum = 516;BA.debugLine="l_pCant.Tag = Round2(precioU.Replace(\",\",\"\"),2)&\""; +Debug.ShouldStop(8); +__ref.getField(false,"_l_pcant" /*RemoteObject*/ ).runMethod(false,"setTag",(RemoteObject.concat(c_productos.__c.runMethod(true,"Round2",(Object)(BA.numberCast(double.class, _preciou.runMethod(true,"replace",(Object)(BA.ObjectToString(",")),(Object)(RemoteObject.createImmutable(""))))),(Object)(BA.numberCast(int.class, 2))),RemoteObject.createImmutable("|"),_inv,RemoteObject.createImmutable("|"),_prodid,RemoteObject.createImmutable("|"),_promo,RemoteObject.createImmutable("|"),_inv2,RemoteObject.createImmutable("|"),_cliente_original,RemoteObject.createImmutable("|"),_consecutivo))); + BA.debugLineNum = 517;BA.debugLine="et_pCant.Tag = Round2(precioU.Replace(\",\",\"\"),2)&"; +Debug.ShouldStop(16); +__ref.getField(false,"_et_pcant" /*RemoteObject*/ ).runMethod(false,"setTag",(RemoteObject.concat(c_productos.__c.runMethod(true,"Round2",(Object)(BA.numberCast(double.class, _preciou.runMethod(true,"replace",(Object)(BA.ObjectToString(",")),(Object)(RemoteObject.createImmutable(""))))),(Object)(BA.numberCast(int.class, 2))),RemoteObject.createImmutable("|"),_inv,RemoteObject.createImmutable("|"),_prodid,RemoteObject.createImmutable("|"),_promo,RemoteObject.createImmutable("|"),_inv2,RemoteObject.createImmutable("|"),_cliente_original,RemoteObject.createImmutable("|"),_consecutivo))); + BA.debugLineNum = 518;BA.debugLine="p_prods.Tag = l_pCant.tag"; +Debug.ShouldStop(32); +__ref.getField(false,"_p_prods" /*RemoteObject*/ ).runMethod(false,"setTag",__ref.getField(false,"_l_pcant" /*RemoteObject*/ ).runMethod(false,"getTag")); + BA.debugLineNum = 520;BA.debugLine="l_pCant.Text = inv"; +Debug.ShouldStop(128); +__ref.getField(false,"_l_pcant" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_inv)); + BA.debugLineNum = 524;BA.debugLine="l_pCant.BringToFront"; +Debug.ShouldStop(2048); +__ref.getField(false,"_l_pcant" /*RemoteObject*/ ).runVoidMethod ("BringToFront"); + BA.debugLineNum = 525;BA.debugLine="et_pCant.SendToBack"; +Debug.ShouldStop(4096); +__ref.getField(false,"_et_pcant" /*RemoteObject*/ ).runVoidMethod ("SendToBack"); + BA.debugLineNum = 526;BA.debugLine="p_botMasMenC.Visible = False"; +Debug.ShouldStop(8192); +__ref.getField(false,"_p_botmasmenc" /*RemoteObject*/ ).runMethod(true,"setVisible",c_productos.__c.getField(true,"False")); + BA.debugLineNum = 527;BA.debugLine="l_cajas.Visible = False"; +Debug.ShouldStop(16384); +__ref.getField(false,"_l_cajas" /*RemoteObject*/ ).runMethod(true,"setVisible",c_productos.__c.getField(true,"False")); + BA.debugLineNum = 529;BA.debugLine="Return p"; +Debug.ShouldStop(65536); +if (true) return RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.PanelWrapper"), _p.getObject()); + BA.debugLineNum = 530;BA.debugLine="End Sub"; +Debug.ShouldStop(131072); +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 _inv2,RemoteObject _width,RemoteObject _height,RemoteObject _img,RemoteObject _prodid,RemoteObject _bc,RemoteObject _tc,RemoteObject _promo,RemoteObject _cliente_original,RemoteObject _consecutivo) throws Exception{ +try { + Debug.PushSubsStack("CreateListItem2 (c_productos) ","c_productos",18,__ref.getField(false, "ba"),__ref,532); +if (RapidSub.canDelegate("createlistitem2")) { return __ref.runUserSub(false, "c_productos","createlistitem2", __ref, _text, _preciou, _inv, _inv2, _width, _height, _img, _prodid, _bc, _tc, _promo, _cliente_original, _consecutivo);} +RemoteObject _p = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _cs = RemoteObject.declareNull("anywheresoftware.b4a.objects.CSBuilder"); +Debug.locals.put("Text", _text); +Debug.locals.put("precioU", _preciou); +Debug.locals.put("inv", _inv); +Debug.locals.put("inv2", _inv2); +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); +Debug.locals.put("promo", _promo); +Debug.locals.put("cliente_original", _cliente_original); +Debug.locals.put("consecutivo", _consecutivo); + BA.debugLineNum = 532;BA.debugLine="Sub CreateListItem2(Text As String, precioU As Str"; +Debug.ShouldStop(524288); + BA.debugLineNum = 533;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")"; +Debug.ShouldStop(1048576); +_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 = 534;BA.debugLine="Private cs As CSBuilder"; +Debug.ShouldStop(2097152); +_cs = RemoteObject.createNew ("anywheresoftware.b4a.objects.CSBuilder");Debug.locals.put("cs", _cs); + BA.debugLineNum = 535;BA.debugLine="cs.Initialize"; +Debug.ShouldStop(4194304); +_cs.runVoidMethod ("Initialize"); + BA.debugLineNum = 536;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, Width, Height)"; +Debug.ShouldStop(8388608); +_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 = 537;BA.debugLine="p.LoadLayout(\"prodItem2\")"; +Debug.ShouldStop(16777216); +_p.runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("prodItem2")),__ref.getField(false, "ba")); + BA.debugLineNum = 538;BA.debugLine="p_prods.Color = bc"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_p_prods" /*RemoteObject*/ ).runVoidMethod ("setColor",_bc); + BA.debugLineNum = 539;BA.debugLine="l_prodX.TextColor = tc"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_l_prodx" /*RemoteObject*/ ).runMethod(true,"setTextColor",_tc); + BA.debugLineNum = 540;BA.debugLine="precioU = $\"$1.2{precioU}\"$"; +Debug.ShouldStop(134217728); +_preciou = (RemoteObject.concat(RemoteObject.createImmutable(""),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("1.2")),(Object)((_preciou))),RemoteObject.createImmutable("")));Debug.locals.put("precioU", _preciou); + BA.debugLineNum = 541;BA.debugLine="l_prodX.Text = Text&CRLF&\"Cant: \" & inv2 & \" $\""; +Debug.ShouldStop(268435456); +__ref.getField(false,"_l_prodx" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(RemoteObject.concat(_text,c_productos.__c.getField(true,"CRLF"),RemoteObject.createImmutable("Cant: "),_inv2,RemoteObject.createImmutable(" $"),_preciou))); + BA.debugLineNum = 542;BA.debugLine="If promo <> \"1\" And precioU = 0 Then"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean("!",_promo,BA.ObjectToString("1")) && RemoteObject.solveBoolean("=",_preciou,BA.NumberToString(0))) { + BA.debugLineNum = 543;BA.debugLine="l_prodX.Text = cs.Color(Colors.RGB(123,0,0)).app"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_l_prodx" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_cs.runMethod(false,"Color",(Object)(c_productos.__c.getField(false,"Colors").runMethod(true,"RGB",(Object)(BA.numberCast(int.class, 123)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0))))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(_text,c_productos.__c.getField(true,"CRLF"),RemoteObject.createImmutable("Cant: "),_inv2,RemoteObject.createImmutable(" $"),_preciou)))).runMethod(false,"PopAll").getObject())); + }; + BA.debugLineNum = 546;BA.debugLine="Log(inv&\" inventario 1\")"; +Debug.ShouldStop(2); +c_productos.__c.runVoidMethod ("LogImpl","824838158",RemoteObject.concat(_inv,RemoteObject.createImmutable(" inventario 1")),0); + BA.debugLineNum = 547;BA.debugLine="Log(inv2&\" inventario 2\")"; +Debug.ShouldStop(4); +c_productos.__c.runVoidMethod ("LogImpl","824838159",RemoteObject.concat(_inv2,RemoteObject.createImmutable(" inventario 2")),0); + BA.debugLineNum = 548;BA.debugLine="l_prodX.Tag = $\"ID: ${prodId}${CRLF}${Text}${CRLF"; +Debug.ShouldStop(8); +__ref.getField(false,"_l_prodx" /*RemoteObject*/ ).runMethod(false,"setTag",((RemoteObject.concat(RemoteObject.createImmutable("ID: "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_prodid))),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)((_text))),RemoteObject.createImmutable(""),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_productos.__c.getField(true,"CRLF")))),RemoteObject.createImmutable("Precio: $"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("1.2")),(Object)((_preciou))),RemoteObject.createImmutable(""),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_productos.__c.getField(true,"CRLF")))),RemoteObject.createImmutable("Inv: "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_inv))),RemoteObject.createImmutable(" pzs"))))); + BA.debugLineNum = 550;BA.debugLine="l_pCantC.Tag = Round2(precioU.Replace(\",\",\"\"),2)&"; +Debug.ShouldStop(32); +__ref.getField(false,"_l_pcantc" /*RemoteObject*/ ).runMethod(false,"setTag",(RemoteObject.concat(c_productos.__c.runMethod(true,"Round2",(Object)(BA.numberCast(double.class, _preciou.runMethod(true,"replace",(Object)(BA.ObjectToString(",")),(Object)(RemoteObject.createImmutable(""))))),(Object)(BA.numberCast(int.class, 2))),RemoteObject.createImmutable("|"),_inv,RemoteObject.createImmutable("|"),_prodid,RemoteObject.createImmutable("|"),_promo,RemoteObject.createImmutable("|"),_inv2,RemoteObject.createImmutable("|"),_cliente_original,RemoteObject.createImmutable("|"),_consecutivo))); + BA.debugLineNum = 551;BA.debugLine="et_pCantC.Tag = Round2(precioU.Replace(\",\",\"\"),2)"; +Debug.ShouldStop(64); +__ref.getField(false,"_et_pcantc" /*RemoteObject*/ ).runMethod(false,"setTag",(RemoteObject.concat(c_productos.__c.runMethod(true,"Round2",(Object)(BA.numberCast(double.class, _preciou.runMethod(true,"replace",(Object)(BA.ObjectToString(",")),(Object)(RemoteObject.createImmutable(""))))),(Object)(BA.numberCast(int.class, 2))),RemoteObject.createImmutable("|"),_inv,RemoteObject.createImmutable("|"),_prodid,RemoteObject.createImmutable("|"),_promo,RemoteObject.createImmutable("|"),_inv2,RemoteObject.createImmutable("|"),_cliente_original,RemoteObject.createImmutable("|"),_consecutivo))); + BA.debugLineNum = 552;BA.debugLine="p_prods.Tag = l_pCantC.tag"; +Debug.ShouldStop(128); +__ref.getField(false,"_p_prods" /*RemoteObject*/ ).runMethod(false,"setTag",__ref.getField(false,"_l_pcantc" /*RemoteObject*/ ).runMethod(false,"getTag")); + BA.debugLineNum = 554;BA.debugLine="l_pCantC.Text = NumberFormat2(inv,0,0,0,False)"; +Debug.ShouldStop(512); +__ref.getField(false,"_l_pcantc" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_productos.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _inv)),(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 = 558;BA.debugLine="l_pCantC.BringToFront"; +Debug.ShouldStop(8192); +__ref.getField(false,"_l_pcantc" /*RemoteObject*/ ).runVoidMethod ("BringToFront"); + BA.debugLineNum = 559;BA.debugLine="et_pCantC.SendToBack"; +Debug.ShouldStop(16384); +__ref.getField(false,"_et_pcantc" /*RemoteObject*/ ).runVoidMethod ("SendToBack"); + BA.debugLineNum = 560;BA.debugLine="p_botMasMen.Visible = False"; +Debug.ShouldStop(32768); +__ref.getField(false,"_p_botmasmen" /*RemoteObject*/ ).runMethod(true,"setVisible",c_productos.__c.getField(true,"False")); + BA.debugLineNum = 561;BA.debugLine="l_piezas.Visible = False"; +Debug.ShouldStop(65536); +__ref.getField(false,"_l_piezas" /*RemoteObject*/ ).runMethod(true,"setVisible",c_productos.__c.getField(true,"False")); + BA.debugLineNum = 563;BA.debugLine="Return p"; +Debug.ShouldStop(262144); +if (true) return RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.PanelWrapper"), _p.getObject()); + BA.debugLineNum = 564;BA.debugLine="End Sub"; +Debug.ShouldStop(524288); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _cuentaprods(RemoteObject __ref,RemoteObject _accion) throws Exception{ +try { + Debug.PushSubsStack("cuentaProds (c_productos) ","c_productos",18,__ref.getField(false, "ba"),__ref,943); +if (RapidSub.canDelegate("cuentaprods")) { return __ref.runUserSub(false, "c_productos","cuentaprods", __ref, _accion);} +Debug.locals.put("accion", _accion); + BA.debugLineNum = 943;BA.debugLine="Sub cuentaProds(accion As String)"; +Debug.ShouldStop(16384); + BA.debugLineNum = 1105;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_productos) ","c_productos",18,__ref.getField(false, "ba"),__ref,370); +if (RapidSub.canDelegate("gps_locationchanged")) { return __ref.runUserSub(false, "c_productos","gps_locationchanged", __ref, _location1);} +Debug.locals.put("Location1", _location1); + BA.debugLineNum = 370;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; +Debug.ShouldStop(131072); + BA.debugLineNum = 373;BA.debugLine="End Sub"; +Debug.ShouldStop(1048576); +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",18,__ref.getField(false, "ba"),__ref,57); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "c_productos","initialize", __ref, _ba);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); + BA.debugLineNum = 57;BA.debugLine="Public Sub Initialize As Object"; +Debug.ShouldStop(16777216); + BA.debugLineNum = 58;BA.debugLine="Return Me"; +Debug.ShouldStop(33554432); +if (true) return __ref; + BA.debugLineNum = 59;BA.debugLine="End Sub"; +Debug.ShouldStop(67108864); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _l_pcant_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("l_pCant_Click (c_productos) ","c_productos",18,__ref.getField(false, "ba"),__ref,1112); +if (RapidSub.canDelegate("l_pcant_click")) { return __ref.runUserSub(false, "c_productos","l_pcant_click", __ref);} + BA.debugLineNum = 1112;BA.debugLine="Private Sub l_pCant_Click"; +Debug.ShouldStop(8388608); + BA.debugLineNum = 1114;BA.debugLine="End Sub"; +Debug.ShouldStop(33554432); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _l_pcantc_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("l_pCantC_Click (c_productos) ","c_productos",18,__ref.getField(false, "ba"),__ref,934); +if (RapidSub.canDelegate("l_pcantc_click")) { return __ref.runUserSub(false, "c_productos","l_pcantc_click", __ref);} + BA.debugLineNum = 934;BA.debugLine="Private Sub l_pCantC_Click"; +Debug.ShouldStop(32); + BA.debugLineNum = 936;BA.debugLine="End Sub"; +Debug.ShouldStop(128); +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_productos) ","c_productos",18,__ref.getField(false, "ba"),__ref,387); +if (RapidSub.canDelegate("listview1_itemlongclick")) { return __ref.runUserSub(false, "c_productos","listview1_itemlongclick", __ref, _position, _value);} +Debug.locals.put("Position", _position); +Debug.locals.put("Value", _value); + BA.debugLineNum = 387;BA.debugLine="Sub ListView1_ItemLongClick (Position As Int, Valu"; +Debug.ShouldStop(4); + BA.debugLineNum = 431;BA.debugLine="End Sub"; +Debug.ShouldStop(16384); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _lv2_itemclick(RemoteObject __ref,RemoteObject _position,RemoteObject _value) throws Exception{ +try { + Debug.PushSubsStack("lv2_ItemClick (c_productos) ","c_productos",18,__ref.getField(false, "ba"),__ref,433); +if (RapidSub.canDelegate("lv2_itemclick")) { return __ref.runUserSub(false, "c_productos","lv2_itemclick", __ref, _position, _value);} +Debug.locals.put("Position", _position); +Debug.locals.put("Value", _value); + BA.debugLineNum = 433;BA.debugLine="Sub lv2_ItemClick (Position As Int, Value As Objec"; +Debug.ShouldStop(65536); + BA.debugLineNum = 494;BA.debugLine="End Sub"; +Debug.ShouldStop(8192); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _p_prods_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("p_prods_Click (c_productos) ","c_productos",18,__ref.getField(false, "ba"),__ref,1116); +if (RapidSub.canDelegate("p_prods_click")) { return __ref.runUserSub(false, "c_productos","p_prods_click", __ref);} + BA.debugLineNum = 1116;BA.debugLine="Sub p_prods_Click"; +Debug.ShouldStop(134217728); + BA.debugLineNum = 1117;BA.debugLine="Log(Sender.As(Panel).tag)"; +Debug.ShouldStop(268435456); +c_productos.__c.runVoidMethod ("LogImpl","825493505",BA.ObjectToString((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.PanelWrapper"), c_productos.__c.runMethod(false,"Sender",__ref.getField(false, "ba")))).runMethod(false,"getTag")),0); + BA.debugLineNum = 1118;BA.debugLine="End Sub"; +Debug.ShouldStop(536870912); +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/reparto_izca/keymon/lat/c_tabulador.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_tabulador.java new file mode 100644 index 0000000..5b72b35 --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_tabulador.java @@ -0,0 +1,53 @@ + +package reparto_izca.keymon.lat; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class c_tabulador { + public static RemoteObject myClass; + public c_tabulador() { + } + public static PCBA staticBA = new PCBA(null, c_tabulador.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 _et_mil = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _et_quinientos = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _et_docientos = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _et_cien = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _et_cincuenta = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _et_veinte = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _et_m_veinte = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _et_m_diez = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _et_m_cinco = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _et_m_dos = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _et_m_peso = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _et_m_centavo = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _b_calcular = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _b_guardar = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _l_total = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _sum_billetes = RemoteObject.createImmutable(0); +public static RemoteObject _sum_monedas = RemoteObject.createImmutable(0f); +public static RemoteObject _total = RemoteObject.createImmutable(0f); +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 _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static reparto_izca.keymon.lat.main _main = null; +public static reparto_izca.keymon.lat.appupdater _appupdater = null; +public static reparto_izca.keymon.lat.subs _subs = null; +public static reparto_izca.keymon.lat.foto _foto = null; +public static reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public static reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public static reparto_izca.keymon.lat.starter _starter = null; +public static reparto_izca.keymon.lat.tracker _tracker = null; +public static reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public static reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public static reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public static reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public static reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"b_calcular",_ref.getField(false, "_b_calcular"),"b_guardar",_ref.getField(false, "_b_guardar"),"c",_ref.getField(false, "_c"),"d",_ref.getField(false, "_d"),"DateUtils",_ref.getField(false, "_dateutils"),"et_cien",_ref.getField(false, "_et_cien"),"et_cincuenta",_ref.getField(false, "_et_cincuenta"),"et_docientos",_ref.getField(false, "_et_docientos"),"et_m_centavo",_ref.getField(false, "_et_m_centavo"),"et_m_cinco",_ref.getField(false, "_et_m_cinco"),"et_m_diez",_ref.getField(false, "_et_m_diez"),"et_m_dos",_ref.getField(false, "_et_m_dos"),"et_m_peso",_ref.getField(false, "_et_m_peso"),"et_m_veinte",_ref.getField(false, "_et_m_veinte"),"et_mil",_ref.getField(false, "_et_mil"),"et_quinientos",_ref.getField(false, "_et_quinientos"),"et_veinte",_ref.getField(false, "_et_veinte"),"l_total",_ref.getField(false, "_l_total"),"Root",_ref.getField(false, "_root"),"sum_billetes",_ref.getField(false, "_sum_billetes"),"sum_monedas",_ref.getField(false, "_sum_monedas"),"total",_ref.getField(false, "_total"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_tabulador_subs_0.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_tabulador_subs_0.java new file mode 100644 index 0000000..a2621ea --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_tabulador_subs_0.java @@ -0,0 +1,375 @@ +package reparto_izca.keymon.lat; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class c_tabulador_subs_0 { + + +public static RemoteObject _b_calcular_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_calcular_Click (c_tabulador) ","c_tabulador",19,__ref.getField(false, "ba"),__ref,87); +if (RapidSub.canDelegate("b_calcular_click")) { return __ref.runUserSub(false, "c_tabulador","b_calcular_click", __ref);} + BA.debugLineNum = 87;BA.debugLine="Private Sub b_calcular_Click"; +Debug.ShouldStop(4194304); + BA.debugLineNum = 88;BA.debugLine="If et_mil.Text = \"\" Then"; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_et_mil" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(""))) { + BA.debugLineNum = 89;BA.debugLine="et_mil.Text = 0"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_et_mil" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(0)); + }; + BA.debugLineNum = 91;BA.debugLine="If et_quinientos.Text = \"\" Then"; +Debug.ShouldStop(67108864); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_et_quinientos" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(""))) { + BA.debugLineNum = 92;BA.debugLine="et_quinientos.Text = 0"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_et_quinientos" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(0)); + }; + BA.debugLineNum = 94;BA.debugLine="If et_docientos.Text = \"\" Then"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_et_docientos" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(""))) { + BA.debugLineNum = 95;BA.debugLine="et_docientos.Text = 0"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_et_docientos" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(0)); + }; + BA.debugLineNum = 97;BA.debugLine="If et_cien.Text = \"\" Then"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_et_cien" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(""))) { + BA.debugLineNum = 98;BA.debugLine="et_cien.Text = 0"; +Debug.ShouldStop(2); +__ref.getField(false,"_et_cien" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(0)); + }; + BA.debugLineNum = 100;BA.debugLine="If et_cincuenta.Text = \"\" Then"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_et_cincuenta" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(""))) { + BA.debugLineNum = 101;BA.debugLine="et_cincuenta.Text = 0"; +Debug.ShouldStop(16); +__ref.getField(false,"_et_cincuenta" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(0)); + }; + BA.debugLineNum = 103;BA.debugLine="If et_veinte.Text = \"\" Then"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_et_veinte" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(""))) { + BA.debugLineNum = 104;BA.debugLine="et_veinte.Text = 0"; +Debug.ShouldStop(128); +__ref.getField(false,"_et_veinte" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(0)); + }; + BA.debugLineNum = 106;BA.debugLine="If et_m_veinte.Text = \"\" Then"; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_et_m_veinte" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(""))) { + BA.debugLineNum = 107;BA.debugLine="et_m_veinte.Text = 0"; +Debug.ShouldStop(1024); +__ref.getField(false,"_et_m_veinte" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(0)); + }; + BA.debugLineNum = 109;BA.debugLine="If et_m_diez.Text = \"\" Then"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_et_m_diez" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(""))) { + BA.debugLineNum = 110;BA.debugLine="et_m_diez.Text = 0"; +Debug.ShouldStop(8192); +__ref.getField(false,"_et_m_diez" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(0)); + }; + BA.debugLineNum = 112;BA.debugLine="If et_m_cinco.Text = \"\" Then"; +Debug.ShouldStop(32768); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_et_m_cinco" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(""))) { + BA.debugLineNum = 113;BA.debugLine="et_m_cinco.Text = 0"; +Debug.ShouldStop(65536); +__ref.getField(false,"_et_m_cinco" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(0)); + }; + BA.debugLineNum = 115;BA.debugLine="If et_m_dos.Text = \"\" Then"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_et_m_dos" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(""))) { + BA.debugLineNum = 116;BA.debugLine="et_m_dos.Text = 0"; +Debug.ShouldStop(524288); +__ref.getField(false,"_et_m_dos" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(0)); + }; + BA.debugLineNum = 118;BA.debugLine="If et_m_peso.Text = \"\" Then"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_et_m_peso" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(""))) { + BA.debugLineNum = 119;BA.debugLine="et_m_peso.Text = 0"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_et_m_peso" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(0)); + }; + BA.debugLineNum = 121;BA.debugLine="If et_m_centavo.Text = \"\" Then"; +Debug.ShouldStop(16777216); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_et_m_centavo" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(""))) { + BA.debugLineNum = 122;BA.debugLine="et_m_centavo.Text = 0"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_et_m_centavo" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(0)); + }; + BA.debugLineNum = 124;BA.debugLine="sum_billetes = (et_mil.Text * 1000) + (et_quinien"; +Debug.ShouldStop(134217728); +__ref.setField ("_sum_billetes" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_et_mil" /*RemoteObject*/ ).runMethod(true,"getText")),RemoteObject.createImmutable(1000)}, "*",0, 0)),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_et_quinientos" /*RemoteObject*/ ).runMethod(true,"getText")),RemoteObject.createImmutable(500)}, "*",0, 0)),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_et_docientos" /*RemoteObject*/ ).runMethod(true,"getText")),RemoteObject.createImmutable(200)}, "*",0, 0)),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_et_cien" /*RemoteObject*/ ).runMethod(true,"getText")),RemoteObject.createImmutable(100)}, "*",0, 0)),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_et_cincuenta" /*RemoteObject*/ ).runMethod(true,"getText")),RemoteObject.createImmutable(50)}, "*",0, 0)),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_et_veinte" /*RemoteObject*/ ).runMethod(true,"getText")),RemoteObject.createImmutable(20)}, "*",0, 0))}, "+++++",5, 0))); + BA.debugLineNum = 125;BA.debugLine="sum_monedas = (et_m_veinte.Text * 20) + ( et_m_di"; +Debug.ShouldStop(268435456); +__ref.setField ("_sum_monedas" /*RemoteObject*/ ,BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_et_m_veinte" /*RemoteObject*/ ).runMethod(true,"getText")),RemoteObject.createImmutable(20)}, "*",0, 0)),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_et_m_diez" /*RemoteObject*/ ).runMethod(true,"getText")),RemoteObject.createImmutable(10)}, "*",0, 0)),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_et_m_cinco" /*RemoteObject*/ ).runMethod(true,"getText")),RemoteObject.createImmutable(5)}, "*",0, 0)),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_et_m_dos" /*RemoteObject*/ ).runMethod(true,"getText")),RemoteObject.createImmutable(2)}, "*",0, 0)),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_et_m_peso" /*RemoteObject*/ ).runMethod(true,"getText")),RemoteObject.createImmutable(1)}, "*",0, 0)),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_et_m_centavo" /*RemoteObject*/ ).runMethod(true,"getText")),RemoteObject.createImmutable(0.50)}, "*",0, 0))}, "+++++",5, 0))); + BA.debugLineNum = 126;BA.debugLine="total = sum_billetes + sum_monedas"; +Debug.ShouldStop(536870912); +__ref.setField ("_total" /*RemoteObject*/ ,BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_sum_billetes" /*RemoteObject*/ ),__ref.getField(true,"_sum_monedas" /*RemoteObject*/ )}, "+",1, 0))); + BA.debugLineNum = 127;BA.debugLine="l_total.Text = Round2(total, 2)"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_tabulador.__c.runMethod(true,"Round2",(Object)(BA.numberCast(double.class, __ref.getField(true,"_total" /*RemoteObject*/ ))),(Object)(BA.numberCast(int.class, 2))))); + BA.debugLineNum = 128;BA.debugLine="End Sub"; +Debug.ShouldStop(-2147483648); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_guardar_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_guardar_Click (c_tabulador) ","c_tabulador",19,__ref.getField(false, "ba"),__ref,78); +if (RapidSub.canDelegate("b_guardar_click")) { return __ref.runUserSub(false, "c_tabulador","b_guardar_click", __ref);} + BA.debugLineNum = 78;BA.debugLine="Private Sub b_guardar_Click"; +Debug.ShouldStop(8192); + BA.debugLineNum = 79;BA.debugLine="b_calcular_Click"; +Debug.ShouldStop(16384); +__ref.runClassMethod (reparto_izca.keymon.lat.c_tabulador.class, "_b_calcular_click" /*RemoteObject*/ ); + BA.debugLineNum = 80;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM TABULADOR_"; +Debug.ShouldStop(32768); +c_tabulador._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM TABULADOR_MONEDAS"))); + BA.debugLineNum = 81;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM TABULADOR_"; +Debug.ShouldStop(65536); +c_tabulador._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM TABULADOR_BILLETES"))); + BA.debugLineNum = 82;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO TABULADOR"; +Debug.ShouldStop(131072); +c_tabulador._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO TABULADOR_BILLETES (MIL, QUINIENTOS, DOCIENTOS, CIEN, CINCUENTA, VEINTE) VALUES (?,?,?,?,?,?)")),(Object)(c_tabulador.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {6},new Object[] {(__ref.getField(false,"_et_mil" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_et_quinientos" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_et_docientos" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_et_cien" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_et_cincuenta" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_et_veinte" /*RemoteObject*/ ).runMethod(true,"getText"))}))))); + BA.debugLineNum = 83;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO TABULADOR"; +Debug.ShouldStop(262144); +c_tabulador._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO TABULADOR_MONEDAS (VEINTE, DIEZ, CINCO, DOS, PESO, CENTAVO, TOTAL) VALUES (?,?,?,?,?,?,?)")),(Object)(c_tabulador.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {7},new Object[] {(__ref.getField(false,"_et_m_veinte" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_et_m_diez" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_et_m_cinco" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_et_m_dos" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_et_m_peso" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_et_m_centavo" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"getText"))}))))); + BA.debugLineNum = 84;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +Debug.ShouldStop(524288); +c_tabulador._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Principal"))); + BA.debugLineNum = 85;BA.debugLine="End Sub"; +Debug.ShouldStop(1048576); +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_tabulador) ","c_tabulador",19,__ref.getField(false, "ba"),__ref,38); +if (RapidSub.canDelegate("b4xpage_appear")) { return __ref.runUserSub(false, "c_tabulador","b4xpage_appear", __ref);} + BA.debugLineNum = 38;BA.debugLine="Sub B4XPage_Appear"; +Debug.ShouldStop(32); + BA.debugLineNum = 39;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT VEINTE, DIEZ,"; +Debug.ShouldStop(64); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_tabulador._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT VEINTE, DIEZ, CINCO, DOS, PESO, CENTAVO, TOTAL FROM TABULADOR_MONEDAS")))); + BA.debugLineNum = 40;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT MIL, QUINIENTO"; +Debug.ShouldStop(128); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_tabulador._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT MIL, QUINIENTOS, DOCIENTOS, CIEN, CINCUENTA, VEINTE FROM TABULADOR_BILLETES")))); + BA.debugLineNum = 41;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(256); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 42;BA.debugLine="d.Position = 0"; +Debug.ShouldStop(512); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 43;BA.debugLine="If c.RowCount > 0 And d.RowCount > 0 Then"; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0)) && RemoteObject.solveBoolean(">",__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 44;BA.debugLine="Log(\"TABULADR CON RESUKTADO\")"; +Debug.ShouldStop(2048); +c_tabulador.__c.runVoidMethod ("LogImpl","825755654",RemoteObject.createImmutable("TABULADR CON RESUKTADO"),0); + BA.debugLineNum = 45;BA.debugLine="et_mil.Text = c.GetString(\"MIL\")"; +Debug.ShouldStop(4096); +__ref.getField(false,"_et_mil" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("MIL"))))); + BA.debugLineNum = 46;BA.debugLine="et_quinientos.Text = c.GetString(\"QUINIENTOS\")"; +Debug.ShouldStop(8192); +__ref.getField(false,"_et_quinientos" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("QUINIENTOS"))))); + BA.debugLineNum = 47;BA.debugLine="et_docientos.Text = c.GetString(\"DOCIENTOS\")"; +Debug.ShouldStop(16384); +__ref.getField(false,"_et_docientos" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("DOCIENTOS"))))); + BA.debugLineNum = 48;BA.debugLine="et_cien.Text = c.GetString(\"CIEN\")"; +Debug.ShouldStop(32768); +__ref.getField(false,"_et_cien" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CIEN"))))); + BA.debugLineNum = 49;BA.debugLine="et_cincuenta.Text = c.GetString(\"CINCUENTA\")"; +Debug.ShouldStop(65536); +__ref.getField(false,"_et_cincuenta" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CINCUENTA"))))); + BA.debugLineNum = 50;BA.debugLine="et_veinte.Text = c.GetString(\"VEINTE\")"; +Debug.ShouldStop(131072); +__ref.getField(false,"_et_veinte" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("VEINTE"))))); + BA.debugLineNum = 51;BA.debugLine="et_m_veinte.Text = d.GetString(\"VEINTE\")"; +Debug.ShouldStop(262144); +__ref.getField(false,"_et_m_veinte" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("VEINTE"))))); + BA.debugLineNum = 52;BA.debugLine="et_m_diez.Text = d.GetString(\"DIEZ\")"; +Debug.ShouldStop(524288); +__ref.getField(false,"_et_m_diez" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("DIEZ"))))); + BA.debugLineNum = 53;BA.debugLine="et_m_cinco.Text = d.GetString(\"CINCO\")"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_et_m_cinco" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CINCO"))))); + BA.debugLineNum = 54;BA.debugLine="et_m_dos.Text = d.GetString(\"DOS\")"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_et_m_dos" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("DOS"))))); + BA.debugLineNum = 55;BA.debugLine="et_m_peso.Text = d.GetString(\"PESO\")"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_et_m_peso" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PESO"))))); + BA.debugLineNum = 56;BA.debugLine="et_m_centavo.Text = d.GetString(\"CENTAVO\")"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_et_m_centavo" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CENTAVO"))))); + BA.debugLineNum = 57;BA.debugLine="l_total.Text = d.GetString(\"TOTAL\")"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL"))))); + }else +{ BA.debugLineNum = 58;BA.debugLine="else If c.RowCount = 0 And d.RowCount = 0 Then"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0)) && RemoteObject.solveBoolean("=",__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 59;BA.debugLine="Log(\"TABULADR SIN RESUKTADO\")"; +Debug.ShouldStop(67108864); +c_tabulador.__c.runVoidMethod ("LogImpl","825755669",RemoteObject.createImmutable("TABULADR SIN RESUKTADO"),0); + BA.debugLineNum = 60;BA.debugLine="et_mil.Text = \"\""; +Debug.ShouldStop(134217728); +__ref.getField(false,"_et_mil" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 61;BA.debugLine="et_quinientos.Text = \"\""; +Debug.ShouldStop(268435456); +__ref.getField(false,"_et_quinientos" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 62;BA.debugLine="et_docientos.Text = \"\""; +Debug.ShouldStop(536870912); +__ref.getField(false,"_et_docientos" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 63;BA.debugLine="et_cien.Text = \"\""; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_et_cien" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 64;BA.debugLine="et_cincuenta.Text = \"\""; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_et_cincuenta" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 65;BA.debugLine="et_veinte.Text = \"\""; +Debug.ShouldStop(1); +__ref.getField(false,"_et_veinte" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 66;BA.debugLine="et_m_veinte.Text = \"\""; +Debug.ShouldStop(2); +__ref.getField(false,"_et_m_veinte" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 67;BA.debugLine="et_m_diez.Text = \"\""; +Debug.ShouldStop(4); +__ref.getField(false,"_et_m_diez" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 68;BA.debugLine="et_m_cinco.Text = \"\""; +Debug.ShouldStop(8); +__ref.getField(false,"_et_m_cinco" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 69;BA.debugLine="et_m_dos.Text = \"\""; +Debug.ShouldStop(16); +__ref.getField(false,"_et_m_dos" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 70;BA.debugLine="et_m_peso.Text = \"\""; +Debug.ShouldStop(32); +__ref.getField(false,"_et_m_peso" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 71;BA.debugLine="et_m_centavo.Text = \"\""; +Debug.ShouldStop(64); +__ref.getField(false,"_et_m_centavo" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 72;BA.debugLine="l_total.Text = \"\""; +Debug.ShouldStop(128); +__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("")); + }} +; + BA.debugLineNum = 74;BA.debugLine="c.Close"; +Debug.ShouldStop(512); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 75;BA.debugLine="d.Close"; +Debug.ShouldStop(1024); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + 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 _b4xpage_created(RemoteObject __ref,RemoteObject _root1) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_Created (c_tabulador) ","c_tabulador",19,__ref.getField(false, "ba"),__ref,32); +if (RapidSub.canDelegate("b4xpage_created")) { return __ref.runUserSub(false, "c_tabulador","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="Root.LoadLayout(\"tabulador\")"; +Debug.ShouldStop(4); +__ref.getField(false,"_root" /*RemoteObject*/ ).runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("tabulador")),__ref.getField(false, "ba")); + 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 _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_tabulador._root = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_root",c_tabulador._root); + //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore"; +c_tabulador._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",c_tabulador._xui); + //BA.debugLineNum = 4;BA.debugLine="Private et_mil As EditText"; +c_tabulador._et_mil = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_mil",c_tabulador._et_mil); + //BA.debugLineNum = 5;BA.debugLine="Private et_quinientos As EditText"; +c_tabulador._et_quinientos = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_quinientos",c_tabulador._et_quinientos); + //BA.debugLineNum = 6;BA.debugLine="Private et_docientos As EditText"; +c_tabulador._et_docientos = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_docientos",c_tabulador._et_docientos); + //BA.debugLineNum = 7;BA.debugLine="Private et_cien As EditText"; +c_tabulador._et_cien = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_cien",c_tabulador._et_cien); + //BA.debugLineNum = 8;BA.debugLine="Private et_cincuenta As EditText"; +c_tabulador._et_cincuenta = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_cincuenta",c_tabulador._et_cincuenta); + //BA.debugLineNum = 9;BA.debugLine="Private et_veinte As EditText"; +c_tabulador._et_veinte = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_veinte",c_tabulador._et_veinte); + //BA.debugLineNum = 10;BA.debugLine="Private et_m_veinte As EditText"; +c_tabulador._et_m_veinte = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_m_veinte",c_tabulador._et_m_veinte); + //BA.debugLineNum = 11;BA.debugLine="Private et_m_diez As EditText"; +c_tabulador._et_m_diez = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_m_diez",c_tabulador._et_m_diez); + //BA.debugLineNum = 12;BA.debugLine="Private et_m_cinco As EditText"; +c_tabulador._et_m_cinco = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_m_cinco",c_tabulador._et_m_cinco); + //BA.debugLineNum = 13;BA.debugLine="Private et_m_dos As EditText"; +c_tabulador._et_m_dos = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_m_dos",c_tabulador._et_m_dos); + //BA.debugLineNum = 14;BA.debugLine="Private et_m_peso As EditText"; +c_tabulador._et_m_peso = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_m_peso",c_tabulador._et_m_peso); + //BA.debugLineNum = 15;BA.debugLine="Private et_m_centavo As EditText"; +c_tabulador._et_m_centavo = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_m_centavo",c_tabulador._et_m_centavo); + //BA.debugLineNum = 16;BA.debugLine="Private b_calcular As Button"; +c_tabulador._b_calcular = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_calcular",c_tabulador._b_calcular); + //BA.debugLineNum = 17;BA.debugLine="Private b_guardar As Button"; +c_tabulador._b_guardar = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_guardar",c_tabulador._b_guardar); + //BA.debugLineNum = 18;BA.debugLine="Private l_total As Label"; +c_tabulador._l_total = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_total",c_tabulador._l_total); + //BA.debugLineNum = 19;BA.debugLine="Dim sum_billetes As Int"; +c_tabulador._sum_billetes = RemoteObject.createImmutable(0);__ref.setField("_sum_billetes",c_tabulador._sum_billetes); + //BA.debugLineNum = 20;BA.debugLine="Dim sum_monedas As Float"; +c_tabulador._sum_monedas = RemoteObject.createImmutable(0f);__ref.setField("_sum_monedas",c_tabulador._sum_monedas); + //BA.debugLineNum = 21;BA.debugLine="Dim total As Float"; +c_tabulador._total = RemoteObject.createImmutable(0f);__ref.setField("_total",c_tabulador._total); + //BA.debugLineNum = 22;BA.debugLine="Dim c As Cursor"; +c_tabulador._c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_c",c_tabulador._c); + //BA.debugLineNum = 23;BA.debugLine="Dim d As Cursor"; +c_tabulador._d = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_d",c_tabulador._d); + //BA.debugLineNum = 24;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("Initialize (c_tabulador) ","c_tabulador",19,__ref.getField(false, "ba"),__ref,27); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "c_tabulador","initialize", __ref, _ba);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); + BA.debugLineNum = 27;BA.debugLine="Public Sub Initialize As Object"; +Debug.ShouldStop(67108864); + 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(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_ticketsdia.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_ticketsdia.java new file mode 100644 index 0000000..613ed6b --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_ticketsdia.java @@ -0,0 +1,33 @@ + +package reparto_izca.keymon.lat; + +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 _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static reparto_izca.keymon.lat.main _main = null; +public static reparto_izca.keymon.lat.appupdater _appupdater = null; +public static reparto_izca.keymon.lat.subs _subs = null; +public static reparto_izca.keymon.lat.foto _foto = null; +public static reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public static reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public static reparto_izca.keymon.lat.starter _starter = null; +public static reparto_izca.keymon.lat.tracker _tracker = null; +public static reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public static reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public static reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public static reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public static reparto_izca.keymon.lat.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/reparto_izca/keymon/lat/c_ticketsdia_subs_0.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_ticketsdia_subs_0.java new file mode 100644 index 0000000..eb51c2f --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_ticketsdia_subs_0.java @@ -0,0 +1,59 @@ +package reparto_izca.keymon.lat; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class c_ticketsdia_subs_0 { + + +public static RemoteObject _b4xpage_created(RemoteObject __ref,RemoteObject _root1) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_Created (c_ticketsdia) ","c_ticketsdia",20,__ref.getField(false, "ba"),__ref,12); +if (RapidSub.canDelegate("b4xpage_created")) { return __ref.runUserSub(false, "c_ticketsdia","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_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="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("Initialize (c_ticketsdia) ","c_ticketsdia",20,__ref.getField(false, "ba"),__ref,7); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "c_ticketsdia","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/reparto_izca/keymon/lat/c_updateavailable.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_updateavailable.java new file mode 100644 index 0000000..38866b7 --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_updateavailable.java @@ -0,0 +1,33 @@ + +package reparto_izca.keymon.lat; + +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 reparto_izca.keymon.lat.main _main = null; +public static reparto_izca.keymon.lat.appupdater _appupdater = null; +public static reparto_izca.keymon.lat.subs _subs = null; +public static reparto_izca.keymon.lat.foto _foto = null; +public static reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public static reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public static reparto_izca.keymon.lat.starter _starter = null; +public static reparto_izca.keymon.lat.tracker _tracker = null; +public static reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public static reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public static reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public static reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public static reparto_izca.keymon.lat.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/reparto_izca/keymon/lat/c_updateavailable_subs_0.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_updateavailable_subs_0.java new file mode 100644 index 0000000..cfaefb6 --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/c_updateavailable_subs_0.java @@ -0,0 +1,319 @@ +package reparto_izca.keymon.lat; + +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",21,__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(reparto_izca.keymon.lat.c_updateavailable parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +reparto_izca.keymon.lat.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",21,__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 (reparto_izca.keymon.lat.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","826345482",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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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",21,__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",21,__ref.getField(false, "ba"),__ref,43); +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 = 43;BA.debugLine="public Sub CanRequestPackageInstalls As Boolean"; +Debug.ShouldStop(1024); + BA.debugLineNum = 45;BA.debugLine="Dim ctxt As JavaObject"; +Debug.ShouldStop(4096); +_ctxt = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject");Debug.locals.put("ctxt", _ctxt); + BA.debugLineNum = 46;BA.debugLine="ctxt.InitializeContext"; +Debug.ShouldStop(8192); +_ctxt.runVoidMethod ("InitializeContext",__ref.getField(false, "ba")); + BA.debugLineNum = 47;BA.debugLine="Dim PackageManager As JavaObject = ctxt.RunMethod"; +Debug.ShouldStop(16384); +_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 = 48;BA.debugLine="Return PackageManager.RunMethod(\"canRequestPackag"; +Debug.ShouldStop(32768); +if (true) return BA.ObjectToBoolean(_packagemanager.runMethod(false,"RunMethod",(Object)(BA.ObjectToString("canRequestPackageInstalls")),(Object)((c_updateavailable.__c.getField(false,"Null"))))); + BA.debugLineNum = 49;BA.debugLine="End Sub"; +Debug.ShouldStop(65536); +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",21,__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",21,__ref.getField(false, "ba"),__ref,51); +if (RapidSub.canDelegate("ofreceactualizacion")) { return __ref.runUserSub(false, "c_updateavailable","ofreceactualizacion", __ref);} + BA.debugLineNum = 51;BA.debugLine="Sub ofreceActualizacion"; +Debug.ShouldStop(262144); + BA.debugLineNum = 52;BA.debugLine="If Msgbox2(appUpdater.newApp.newMsg,\"Actualizació"; +Debug.ShouldStop(524288); +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 = 54;BA.debugLine="CallSubDelayed(appUpdater, \"download_newApk\")"; +Debug.ShouldStop(2097152); +c_updateavailable.__c.runVoidMethod ("CallSubDelayed",__ref.getField(false, "ba"),(Object)((c_updateavailable._appupdater.getObject())),(Object)(RemoteObject.createImmutable("download_newApk"))); + }; + BA.debugLineNum = 57;BA.debugLine="B4XPages.MainPage.ocultaProgreso"; +Debug.ShouldStop(16777216); +c_updateavailable._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).runClassMethod (reparto_izca.keymon.lat.b4xmainpage.class, "_ocultaprogreso" /*RemoteObject*/ ); + BA.debugLineNum = 58;BA.debugLine="StartActivity(Main)"; +Debug.ShouldStop(33554432); +c_updateavailable.__c.runVoidMethod ("StartActivity",__ref.getField(false, "ba"),(Object)((c_updateavailable._main.getObject()))); + BA.debugLineNum = 60;BA.debugLine="B4XPages.ShowPage(\"Login\")"; +Debug.ShouldStop(134217728); +c_updateavailable._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Login"))); + 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",21,__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 = 64;BA.debugLine="Msgbox(appUpdater.newApp.okMsg, \"Aplicación al co"; +Debug.ShouldStop(-2147483648); +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 = 66;BA.debugLine="B4XPages.MainPage.ocultaProgreso"; +Debug.ShouldStop(2); +c_updateavailable._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).runClassMethod (reparto_izca.keymon.lat.b4xmainpage.class, "_ocultaprogreso" /*RemoteObject*/ ); + BA.debugLineNum = 67;BA.debugLine="B4XPages.ShowPage(\"Login\")"; +Debug.ShouldStop(4); +c_updateavailable._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Login"))); + BA.debugLineNum = 68;BA.debugLine="End Sub"; +Debug.ShouldStop(8); +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/reparto_izca/keymon/lat/cameraexclass.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/cameraexclass.java new file mode 100644 index 0000000..d2e7666 --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/cameraexclass.java @@ -0,0 +1,38 @@ + +package reparto_izca.keymon.lat; + +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 reparto_izca.keymon.lat.main _main = null; +public static reparto_izca.keymon.lat.appupdater _appupdater = null; +public static reparto_izca.keymon.lat.subs _subs = null; +public static reparto_izca.keymon.lat.foto _foto = null; +public static reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public static reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public static reparto_izca.keymon.lat.starter _starter = null; +public static reparto_izca.keymon.lat.tracker _tracker = null; +public static reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public static reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public static reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public static reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public static reparto_izca.keymon.lat.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/reparto_izca/keymon/lat/cameraexclass_subs_0.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/cameraexclass_subs_0.java new file mode 100644 index 0000000..ccfc289 --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/cameraexclass_subs_0.java @@ -0,0 +1,1083 @@ +package reparto_izca.keymon.lat; + +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",22,__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 (reparto_izca.keymon.lat.cameraexclass.class, "_takepicture" /*RemoteObject*/ ); + }else { + BA.debugLineNum = 279;BA.debugLine="Log(\"AutoFocus error.\")"; +Debug.ShouldStop(4194304); +cameraexclass.__c.runVoidMethod ("LogImpl","864421892",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",22,__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",22,__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",22,__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 (reparto_izca.keymon.lat.cameraexclass.class, "_setdisplayorientation" /*RemoteObject*/ ); + }else { + BA.debugLineNum = 90;BA.debugLine="Log(\"success = false, \" & LastException)"; +Debug.ShouldStop(33554432); +cameraexclass.__c.runVoidMethod ("LogImpl","862521352",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",22,__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",22,__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","863176710",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",22,__ref.getField(false, "ba"),__ref,36); +if (RapidSub.canDelegate("findcamera")) { return __ref.runUserSub(false, "cameraexclass","findcamera", __ref, _frontcamera);} +RemoteObject _ci = RemoteObject.declareNull("reparto_izca.keymon.lat.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 ("reparto_izca.keymon.lat.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",22,__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",22,__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 (reparto_izca.keymon.lat.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",22,__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",22,__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",22,__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",22,__ref.getField(false, "ba"),__ref,206); +if (RapidSub.canDelegate("getpicturesize")) { return __ref.runUserSub(false, "cameraexclass","getpicturesize", __ref);} +RemoteObject _cs = RemoteObject.declareNull("reparto_izca.keymon.lat.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 ("reparto_izca.keymon.lat.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",22,__ref.getField(false, "ba"),__ref,197); +if (RapidSub.canDelegate("getpreviewsize")) { return __ref.runUserSub(false, "cameraexclass","getpreviewsize", __ref);} +RemoteObject _cs = RemoteObject.declareNull("reparto_izca.keymon.lat.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 ("reparto_izca.keymon.lat.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",22,__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",22,__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",22,__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",22,__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 ("reparto_izca.keymon.lat.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",22,__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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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",22,__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",22,__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",22,__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",22,__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 (reparto_izca.keymon.lat.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",22,__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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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","864094215",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",22,__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("reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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","862455824",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 (reparto_izca.keymon.lat.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",22,__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",22,__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",22,__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",22,__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",22,__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",22,__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",22,__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",22,__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/reparto_izca/keymon/lat/cl_appupdate.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/cl_appupdate.java new file mode 100644 index 0000000..22b7565 --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/cl_appupdate.java @@ -0,0 +1,67 @@ + +package reparto_izca.keymon.lat; + +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 reparto_izca.keymon.lat.main _main = null; +public static reparto_izca.keymon.lat.appupdater _appupdater = null; +public static reparto_izca.keymon.lat.subs _subs = null; +public static reparto_izca.keymon.lat.foto _foto = null; +public static reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public static reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public static reparto_izca.keymon.lat.starter _starter = null; +public static reparto_izca.keymon.lat.tracker _tracker = null; +public static reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public static reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public static reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public static reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public static reparto_izca.keymon.lat.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/reparto_izca/keymon/lat/cl_appupdate_subs_0.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/cl_appupdate_subs_0.java new file mode 100644 index 0000000..559f536 --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/cl_appupdate_subs_0.java @@ -0,0 +1,2449 @@ +package reparto_izca.keymon.lat; + +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",31,__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",31,__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",31,__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(reparto_izca.keymon.lat.cl_appupdate parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +reparto_izca.keymon.lat.cl_appupdate parent; +RemoteObject _j = RemoteObject.declareNull("reparto_izca.keymon.lat.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",31,__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","927656193",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","927656197",(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 (reparto_izca.keymon.lat.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 ("reparto_izca.keymon.lat.httpjob");Debug.locals.put("j", _j); + BA.debugLineNum = 169;BA.debugLine="j.Initialize(\"\", Me)"; +Debug.JustUpdateDeviceLine(); +_j.runClassMethod (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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","927656208",(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 (reparto_izca.keymon.lat.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","927656215",(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","927656217",(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","927656219",(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","927656221",(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 (reparto_izca.keymon.lat.httpjob.class, "_release" /*RemoteObject*/ ); + BA.debugLineNum = 191;BA.debugLine="Finito"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (reparto_izca.keymon.lat.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",31,__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",31,__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",31,__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",31,__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",31,__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 (reparto_izca.keymon.lat.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",31,__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",31,__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",31,__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",31,__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",31,__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",31,__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",31,__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",31,__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",31,__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",31,__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",31,__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","926673173",(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",31,__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","927721729",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 (reparto_izca.keymon.lat.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","927721733",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","927721736",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 (reparto_izca.keymon.lat.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",31,__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","927983876",(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","927983881",(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",31,__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(reparto_izca.keymon.lat.cl_appupdate parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +reparto_izca.keymon.lat.cl_appupdate parent; +RemoteObject _j = RemoteObject.declareNull("reparto_izca.keymon.lat.httpjob"); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("IsvalidWV (cl_appupdate) ","cl_appupdate",31,__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","928049409",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","928049413",(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 ("reparto_izca.keymon.lat.httpjob");Debug.locals.put("j", _j); + BA.debugLineNum = 321;BA.debugLine="j.Initialize(\"\", Me)"; +Debug.JustUpdateDeviceLine(); +_j.runClassMethod (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.httpjob.class, "_download" /*RemoteObject*/ ,(Object)(__ref.getField(true,"_snewvertxt" /*RemoteObject*/ ))); + BA.debugLineNum = 325;BA.debugLine="Log(\"before\")"; +Debug.JustUpdateDeviceLine(); +parent.__c.runVoidMethod ("LogImpl","928049421",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","928049423",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","928049425",(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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.cl_appupdate.class, "_extractvn" /*RemoteObject*/ ,(Object)(_j.runClassMethod (reparto_izca.keymon.lat.httpjob.class, "_getstring" /*RemoteObject*/ )))); + BA.debugLineNum = 332;BA.debugLine="webclog = ExtractCL(J.GetString) 'optional"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_webclog" /*RemoteObject*/ ,__ref.runClassMethod (reparto_izca.keymon.lat.cl_appupdate.class, "_extractcl" /*RemoteObject*/ ,(Object)(_j.runClassMethod (reparto_izca.keymon.lat.httpjob.class, "_getstring" /*RemoteObject*/ )))); + BA.debugLineNum = 333;BA.debugLine="webfsize = ExtractSZ(J.GetString) 'optiona"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_webfsize" /*RemoteObject*/ ,__ref.runClassMethod (reparto_izca.keymon.lat.cl_appupdate.class, "_extractsz" /*RemoteObject*/ ,(Object)(_j.runClassMethod (reparto_izca.keymon.lat.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","928049432",(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","928049435",(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","928049439",(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","928049442",(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","928049444",(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 (reparto_izca.keymon.lat.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",31,__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","927525121",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 (reparto_izca.keymon.lat.cl_appupdate.class, "_isvalidcv" /*RemoteObject*/ ); + BA.debugLineNum = 146;BA.debugLine="Finito"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (reparto_izca.keymon.lat.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",31,__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(reparto_izca.keymon.lat.cl_appupdate parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +reparto_izca.keymon.lat.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",31,__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","927590657",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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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",31,__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 (reparto_izca.keymon.lat.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",31,__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",31,__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",31,__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 (reparto_izca.keymon.lat.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",31,__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",31,__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",31,__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",31,__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",31,__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",31,__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(reparto_izca.keymon.lat.cl_appupdate parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +reparto_izca.keymon.lat.cl_appupdate parent; +RemoteObject _j = RemoteObject.declareNull("reparto_izca.keymon.lat.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",31,__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","927852801",(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 ("reparto_izca.keymon.lat.httpjob");Debug.locals.put("j", _j); + BA.debugLineNum = 251;BA.debugLine="j.Initialize(\"\", Me)"; +Debug.JustUpdateDeviceLine(); +_j.runClassMethod (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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","927852811",(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 (reparto_izca.keymon.lat.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","927852819",(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","927852821",(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","927852823",(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","927852825",(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","927852829",(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","927852831",(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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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","927852838",(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 (reparto_izca.keymon.lat.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",31,__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(reparto_izca.keymon.lat.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; +reparto_izca.keymon.lat.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",31,__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","927787265",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","927787268",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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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","927787278",(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","927787283",(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","927787286",(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","927787291",(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 (reparto_izca.keymon.lat.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/reparto_izca/keymon/lat/dbrequestmanager.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/dbrequestmanager.java new file mode 100644 index 0000000..982e9cf --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/dbrequestmanager.java @@ -0,0 +1,46 @@ + +package reparto_izca.keymon.lat; + +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 _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static reparto_izca.keymon.lat.main _main = null; +public static reparto_izca.keymon.lat.appupdater _appupdater = null; +public static reparto_izca.keymon.lat.subs _subs = null; +public static reparto_izca.keymon.lat.foto _foto = null; +public static reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public static reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public static reparto_izca.keymon.lat.starter _starter = null; +public static reparto_izca.keymon.lat.tracker _tracker = null; +public static reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public static reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public static reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public static reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public static reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"bc",_ref.getField(false, "_bc"),"DateUtils",_ref.getField(false, "_dateutils"),"jobTagAnterior",_ref.getField(false, "_jobtaganterior"),"link",_ref.getField(false, "_link"),"mTarget",_ref.getField(false, "_mtarget"),"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"),"VERSION",_ref.getField(false, "_version")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/reparto_izca/keymon/lat/dbrequestmanager_subs_0.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/dbrequestmanager_subs_0.java new file mode 100644 index 0000000..9f606b1 --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/dbrequestmanager_subs_0.java @@ -0,0 +1,987 @@ +package reparto_izca.keymon.lat; + +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",23,__ref.getField(false, "ba"),__ref,239); +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 = 239;BA.debugLine="Public Sub BytesToImage(bytes() As Byte) As Bitmap"; +Debug.ShouldStop(16384); + BA.debugLineNum = 240;BA.debugLine="Dim In As InputStream"; +Debug.ShouldStop(32768); +_in = RemoteObject.createNew ("anywheresoftware.b4a.objects.streams.File.InputStreamWrapper");Debug.locals.put("In", _in); + BA.debugLineNum = 241;BA.debugLine="In.InitializeFromBytesArray(bytes, 0, bytes.Lengt"; +Debug.ShouldStop(65536); +_in.runVoidMethod ("InitializeFromBytesArray",(Object)(_bytes),(Object)(BA.numberCast(int.class, 0)),(Object)(_bytes.getField(true,"length"))); + BA.debugLineNum = 242;BA.debugLine="Dim bmp As Bitmap"; +Debug.ShouldStop(131072); +_bmp = RemoteObject.createNew ("anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper");Debug.locals.put("bmp", _bmp); + BA.debugLineNum = 243;BA.debugLine="bmp.Initialize2(In)"; +Debug.ShouldStop(262144); +_bmp.runVoidMethod ("Initialize2",(Object)((_in.getObject()))); + BA.debugLineNum = 244;BA.debugLine="Return bmp"; +Debug.ShouldStop(524288); +if (true) return _bmp; + 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 _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="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _executebatch(RemoteObject __ref,RemoteObject _listofcommands,RemoteObject _tag) throws Exception{ +try { + Debug.PushSubsStack("ExecuteBatch (dbrequestmanager) ","dbrequestmanager",23,__ref.getField(false, "ba"),__ref,41); +if (RapidSub.canDelegate("executebatch")) { return __ref.runUserSub(false, "dbrequestmanager","executebatch", __ref, _listofcommands, _tag);} +RemoteObject _j = RemoteObject.declareNull("reparto_izca.keymon.lat.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("reparto_izca.keymon.lat.dbrequestmanager._dbcommand"); +Debug.locals.put("ListOfCommands", _listofcommands); +Debug.locals.put("Tag", _tag); + BA.debugLineNum = 41;BA.debugLine="Public Sub ExecuteBatch(ListOfCommands As List, Ta"; +Debug.ShouldStop(256); + BA.debugLineNum = 42;BA.debugLine="Dim j As HttpJob"; +Debug.ShouldStop(512); +_j = RemoteObject.createNew ("reparto_izca.keymon.lat.httpjob");Debug.locals.put("j", _j); + BA.debugLineNum = 43;BA.debugLine="Dim ms As OutputStream"; +Debug.ShouldStop(1024); +_ms = RemoteObject.createNew ("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper");Debug.locals.put("ms", _ms); + BA.debugLineNum = 44;BA.debugLine="Dim out2 As OutputStream = StartJob(j,ms, Tag)"; +Debug.ShouldStop(2048); +_out2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper"); +_out2 = __ref.runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_startjob" /*RemoteObject*/ ,(Object)(_j),(Object)(_ms),(Object)(_tag));Debug.locals.put("out2", _out2);Debug.locals.put("out2", _out2); + BA.debugLineNum = 45;BA.debugLine="WriteInt(ListOfCommands.Size, out2)"; +Debug.ShouldStop(4096); +__ref.runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_writeint" /*RemoteObject*/ ,(Object)(_listofcommands.runMethod(true,"getSize")),(Object)(_out2)); + BA.debugLineNum = 46;BA.debugLine="For Each Command As DBCommand In ListOfCommands"; +Debug.ShouldStop(8192); +{ +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 = 47;BA.debugLine="WriteObject(Command.Name, out2)"; +Debug.ShouldStop(16384); +__ref.runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_writeobject" /*RemoteObject*/ ,(Object)((_command.getField(true,"Name" /*RemoteObject*/ ))),(Object)(_out2)); + BA.debugLineNum = 48;BA.debugLine="WriteList(Command.Parameters, out2)"; +Debug.ShouldStop(32768); +__ref.runClassMethod (reparto_izca.keymon.lat.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 = 50;BA.debugLine="out2.Close"; +Debug.ShouldStop(131072); +_out2.runVoidMethod ("Close"); + BA.debugLineNum = 51;BA.debugLine="j.PostBytes(link & \"?method=batch\", ms.ToBytesArr"; +Debug.ShouldStop(262144); +_j.runClassMethod (reparto_izca.keymon.lat.httpjob.class, "_postbytes" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_link" /*RemoteObject*/ ),RemoteObject.createImmutable("?method=batch"))),(Object)(_ms.runMethod(false,"ToBytesArray"))); + BA.debugLineNum = 52;BA.debugLine="End Sub"; +Debug.ShouldStop(524288); +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",23,__ref.getField(false, "ba"),__ref,55); +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 = 55;BA.debugLine="Public Sub ExecuteCommand(Command As DBCommand, Ta"; +Debug.ShouldStop(4194304); + BA.debugLineNum = 56;BA.debugLine="ExecuteBatch(Array As DBCommand(Command), Tag)"; +Debug.ShouldStop(8388608); +__ref.runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_executebatch" /*RemoteObject*/ ,(Object)(dbrequestmanager.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("reparto_izca.keymon.lat.dbrequestmanager._dbcommand",new int[] {1},new Object[] {_command})))),(Object)(_tag)); + BA.debugLineNum = 57;BA.debugLine="End Sub"; +Debug.ShouldStop(16777216); +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",23,__ref.getField(false, "ba"),__ref,26); +if (RapidSub.canDelegate("executequery")) { return __ref.runUserSub(false, "dbrequestmanager","executequery", __ref, _command, _limit, _tag);} +RemoteObject _j = RemoteObject.declareNull("reparto_izca.keymon.lat.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 = 26;BA.debugLine="Public Sub ExecuteQuery(Command As DBCommand, Limi"; +Debug.ShouldStop(33554432); + BA.debugLineNum = 27;BA.debugLine="Dim j As HttpJob"; +Debug.ShouldStop(67108864); +_j = RemoteObject.createNew ("reparto_izca.keymon.lat.httpjob");Debug.locals.put("j", _j); + BA.debugLineNum = 28;BA.debugLine="Dim ms As OutputStream"; +Debug.ShouldStop(134217728); +_ms = RemoteObject.createNew ("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper");Debug.locals.put("ms", _ms); + BA.debugLineNum = 29;BA.debugLine="Dim out2 As OutputStream = StartJob(j,ms, Tag)"; +Debug.ShouldStop(268435456); +_out2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper"); +_out2 = __ref.runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_startjob" /*RemoteObject*/ ,(Object)(_j),(Object)(_ms),(Object)(_tag));Debug.locals.put("out2", _out2);Debug.locals.put("out2", _out2); + BA.debugLineNum = 31;BA.debugLine="WriteObject(Command.Name, out2)"; +Debug.ShouldStop(1073741824); +__ref.runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_writeobject" /*RemoteObject*/ ,(Object)((_command.getField(true,"Name" /*RemoteObject*/ ))),(Object)(_out2)); + BA.debugLineNum = 32;BA.debugLine="WriteInt(Limit, out2)"; +Debug.ShouldStop(-2147483648); +__ref.runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_writeint" /*RemoteObject*/ ,(Object)(_limit),(Object)(_out2)); + BA.debugLineNum = 33;BA.debugLine="WriteList(Command.Parameters, out2)"; +Debug.ShouldStop(1); +__ref.runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_writelist" /*RemoteObject*/ ,(Object)(dbrequestmanager.__c.runMethod(false, "ArrayToList", (Object)(_command.getField(false,"Parameters" /*RemoteObject*/ )))),(Object)(_out2)); + BA.debugLineNum = 34;BA.debugLine="out2.Close"; +Debug.ShouldStop(2); +_out2.runVoidMethod ("Close"); + BA.debugLineNum = 35;BA.debugLine="j.PostBytes(link & \"?method=query\", ms.ToBytesArr"; +Debug.ShouldStop(4); +_j.runClassMethod (reparto_izca.keymon.lat.httpjob.class, "_postbytes" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_link" /*RemoteObject*/ ),RemoteObject.createImmutable("?method=query"))),(Object)(_ms.runMethod(false,"ToBytesArray"))); + 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 _filetobytes(RemoteObject __ref,RemoteObject _dir,RemoteObject _filename) throws Exception{ +try { + Debug.PushSubsStack("FileToBytes (dbrequestmanager) ","dbrequestmanager",23,__ref.getField(false, "ba"),__ref,221); +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 = 221;BA.debugLine="Public Sub FileToBytes(Dir As String, FileName As"; +Debug.ShouldStop(268435456); + BA.debugLineNum = 222;BA.debugLine="Dim out As OutputStream"; +Debug.ShouldStop(536870912); +_out = RemoteObject.createNew ("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper");Debug.locals.put("out", _out); + BA.debugLineNum = 223;BA.debugLine="out.InitializeToBytesArray(0)"; +Debug.ShouldStop(1073741824); +_out.runVoidMethod ("InitializeToBytesArray",(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 224;BA.debugLine="Dim In As InputStream = File.OpenInput(Dir, FileN"; +Debug.ShouldStop(-2147483648); +_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 = 225;BA.debugLine="File.Copy2(In, out)"; +Debug.ShouldStop(1); +dbrequestmanager.__c.getField(false,"File").runVoidMethod ("Copy2",(Object)((_in.getObject())),(Object)((_out.getObject()))); + BA.debugLineNum = 226;BA.debugLine="out.Close"; +Debug.ShouldStop(2); +_out.runVoidMethod ("Close"); + BA.debugLineNum = 227;BA.debugLine="Return out.ToBytesArray"; +Debug.ShouldStop(4); +if (true) return _out.runMethod(false,"ToBytesArray"); + BA.debugLineNum = 228;BA.debugLine="End Sub"; +Debug.ShouldStop(8); +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",23,__ref.getField(false, "ba"),__ref,182); +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("reparto_izca.keymon.lat.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 = 182;BA.debugLine="Public Sub HandleJob(Job As HttpJob) As DBResult"; +Debug.ShouldStop(2097152); + BA.debugLineNum = 184;BA.debugLine="Dim In As InputStream = Job.GetInputStream"; +Debug.ShouldStop(8388608); +_in = RemoteObject.createNew ("anywheresoftware.b4a.objects.streams.File.InputStreamWrapper"); +_in = _job.runClassMethod (reparto_izca.keymon.lat.httpjob.class, "_getinputstream" /*RemoteObject*/ );Debug.locals.put("In", _in);Debug.locals.put("In", _in); + BA.debugLineNum = 185;BA.debugLine="Dim cs As CompressedStreams"; +Debug.ShouldStop(16777216); +_cs = RemoteObject.createNew ("anywheresoftware.b4a.randomaccessfile.CompressedStreams");Debug.locals.put("cs", _cs); + BA.debugLineNum = 186;BA.debugLine="In = cs.WrapInputStream(In, \"gzip\")"; +Debug.ShouldStop(33554432); +_in = _cs.runMethod(false,"WrapInputStream",(Object)((_in.getObject())),(Object)(RemoteObject.createImmutable("gzip")));Debug.locals.put("In", _in); + BA.debugLineNum = 187;BA.debugLine="Dim serverVersion As Float = ReadObject(In) 'igno"; +Debug.ShouldStop(67108864); +_serverversion = BA.numberCast(float.class, __ref.runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_readobject" /*RemoteObject*/ ,(Object)(_in)));Debug.locals.put("serverVersion", _serverversion);Debug.locals.put("serverVersion", _serverversion); + BA.debugLineNum = 188;BA.debugLine="Dim method As String = ReadObject(In)"; +Debug.ShouldStop(134217728); +_method = BA.ObjectToString(__ref.runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_readobject" /*RemoteObject*/ ,(Object)(_in)));Debug.locals.put("method", _method);Debug.locals.put("method", _method); + BA.debugLineNum = 189;BA.debugLine="Dim table As DBResult"; +Debug.ShouldStop(268435456); +_table = RemoteObject.createNew ("reparto_izca.keymon.lat.dbrequestmanager._dbresult");Debug.locals.put("table", _table); + BA.debugLineNum = 190;BA.debugLine="table.Initialize"; +Debug.ShouldStop(536870912); +_table.runVoidMethod ("Initialize"); + BA.debugLineNum = 191;BA.debugLine="table.Columns.Initialize"; +Debug.ShouldStop(1073741824); +_table.getField(false,"Columns" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 192;BA.debugLine="table.rows.Initialize"; +Debug.ShouldStop(-2147483648); +_table.getField(false,"Rows" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 193;BA.debugLine="table.Tag = Job.Tag"; +Debug.ShouldStop(1); +_table.setField ("Tag" /*RemoteObject*/ ,_job.getField(false,"_tag" /*RemoteObject*/ )); + BA.debugLineNum = 194;BA.debugLine="If jobTagAnterior <> Job.Tag Then LogColor(\"Handl"; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean("!",__ref.getField(true,"_jobtaganterior" /*RemoteObject*/ ),BA.ObjectToString(_job.getField(false,"_tag" /*RemoteObject*/ )))) { +dbrequestmanager.__c.runVoidMethod ("LogImpl","865339404",RemoteObject.concat(RemoteObject.createImmutable("HandleJob: '"),_job.getField(false,"_tag" /*RemoteObject*/ ),RemoteObject.createImmutable("'")),dbrequestmanager.__c.getField(false,"Colors").getField(true,"Blue"));}; + BA.debugLineNum = 195;BA.debugLine="jobTagAnterior = Job.Tag 'Mod por CHV - 211023"; +Debug.ShouldStop(4); +__ref.setField ("_jobtaganterior" /*RemoteObject*/ ,BA.ObjectToString(_job.getField(false,"_tag" /*RemoteObject*/ ))); + BA.debugLineNum = 196;BA.debugLine="If method = \"query\" Then"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean("=",_method,BA.ObjectToString("query"))) { + BA.debugLineNum = 197;BA.debugLine="Dim numberOfColumns As Int = ReadInt(In)"; +Debug.ShouldStop(16); +_numberofcolumns = __ref.runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_readint" /*RemoteObject*/ ,(Object)(_in));Debug.locals.put("numberOfColumns", _numberofcolumns);Debug.locals.put("numberOfColumns", _numberofcolumns); + BA.debugLineNum = 198;BA.debugLine="For i = 0 To numberOfColumns - 1"; +Debug.ShouldStop(32); +{ +final int step15 = 1; +final int limit15 = RemoteObject.solve(new RemoteObject[] {_numberofcolumns,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 = 199;BA.debugLine="table.Columns.Put(ReadObject(In), i)"; +Debug.ShouldStop(64); +_table.getField(false,"Columns" /*RemoteObject*/ ).runVoidMethod ("Put",(Object)(__ref.runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_readobject" /*RemoteObject*/ ,(Object)(_in))),(Object)(RemoteObject.createImmutable((_i)))); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 201;BA.debugLine="Do While ReadByte(In) = 1"; +Debug.ShouldStop(256); +while (RemoteObject.solveBoolean("=",__ref.runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_readbyte" /*RemoteObject*/ ,(Object)(_in)),BA.numberCast(double.class, 1))) { + BA.debugLineNum = 202;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 = 203;BA.debugLine="table.rows.Add(rowObjects)"; +Debug.ShouldStop(1024); +_table.getField(false,"Rows" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)((_rowobjects))); + BA.debugLineNum = 204;BA.debugLine="For col = 0 To numberOfColumns - 1"; +Debug.ShouldStop(2048); +{ +final int step21 = 1; +final int limit21 = RemoteObject.solve(new RemoteObject[] {_numberofcolumns,RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_col = 0 ; +for (;(step21 > 0 && _col <= limit21) || (step21 < 0 && _col >= limit21) ;_col = ((int)(0 + _col + step21)) ) { +Debug.locals.put("col", _col); + BA.debugLineNum = 205;BA.debugLine="Dim o As Object = ReadObject(In)"; +Debug.ShouldStop(4096); +_o = __ref.runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_readobject" /*RemoteObject*/ ,(Object)(_in));Debug.locals.put("o", _o);Debug.locals.put("o", _o); + BA.debugLineNum = 206;BA.debugLine="rowObjects(col) = o"; +Debug.ShouldStop(8192); +_rowobjects.setArrayElement (_o,BA.numberCast(int.class, _col)); + } +}Debug.locals.put("col", _col); +; + } +; + }else +{ BA.debugLineNum = 209;BA.debugLine="Else If method = \"batch\" Then"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean("=",_method,BA.ObjectToString("batch"))) { + BA.debugLineNum = 210;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 = 211;BA.debugLine="Dim rows As Int = ReadInt(In)"; +Debug.ShouldStop(262144); +_rows = __ref.runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_readint" /*RemoteObject*/ ,(Object)(_in));Debug.locals.put("rows", _rows);Debug.locals.put("rows", _rows); + BA.debugLineNum = 212;BA.debugLine="For i = 0 To rows - 1"; +Debug.ShouldStop(524288); +{ +final int step29 = 1; +final int limit29 = RemoteObject.solve(new RemoteObject[] {_rows,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 = 213;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 (reparto_izca.keymon.lat.dbrequestmanager.class, "_readint" /*RemoteObject*/ ,(Object)(_in)))})))); + } +}Debug.locals.put("i", _i); +; + }} +; + BA.debugLineNum = 216;BA.debugLine="In.Close"; +Debug.ShouldStop(8388608); +_in.runVoidMethod ("Close"); + BA.debugLineNum = 217;BA.debugLine="Return table"; +Debug.ShouldStop(16777216); +if (true) return _table; + BA.debugLineNum = 218;BA.debugLine="End Sub"; +Debug.ShouldStop(33554432); +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",23,__ref.getField(false, "ba"),__ref,231); +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 = 231;BA.debugLine="Public Sub ImageToBytes(Image As Bitmap) As Byte()"; +Debug.ShouldStop(64); + BA.debugLineNum = 232;BA.debugLine="Dim out As OutputStream"; +Debug.ShouldStop(128); +_out = RemoteObject.createNew ("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper");Debug.locals.put("out", _out); + BA.debugLineNum = 233;BA.debugLine="out.InitializeToBytesArray(0)"; +Debug.ShouldStop(256); +_out.runVoidMethod ("InitializeToBytesArray",(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 234;BA.debugLine="Image.WriteToStream(out, 100, \"JPEG\")"; +Debug.ShouldStop(512); +_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 = 235;BA.debugLine="out.Close"; +Debug.ShouldStop(1024); +_out.runVoidMethod ("Close"); + BA.debugLineNum = 236;BA.debugLine="Return out.ToBytesArray"; +Debug.ShouldStop(2048); +if (true) return _out.runMethod(false,"ToBytesArray"); + 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 _initialize(RemoteObject __ref,RemoteObject _ba,RemoteObject _target,RemoteObject _connectorlink) throws Exception{ +try { + Debug.PushSubsStack("Initialize (dbrequestmanager) ","dbrequestmanager",23,__ref.getField(false, "ba"),__ref,17); +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 = 17;BA.debugLine="Public Sub Initialize (Target As Object, Connector"; +Debug.ShouldStop(65536); + BA.debugLineNum = 18;BA.debugLine="mTarget = Target"; +Debug.ShouldStop(131072); +__ref.setField ("_mtarget" /*RemoteObject*/ ,_target); + BA.debugLineNum = 19;BA.debugLine="link = ConnectorLink"; +Debug.ShouldStop(262144); +__ref.setField ("_link" /*RemoteObject*/ ,_connectorlink); + BA.debugLineNum = 20;BA.debugLine="End Sub"; +Debug.ShouldStop(524288); +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",23,__ref.getField(false, "ba"),__ref,248); +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 = 248;BA.debugLine="Public Sub PrintTable(Table As DBResult)"; +Debug.ShouldStop(8388608); + BA.debugLineNum = 249;BA.debugLine="Log(\"Tag: \" & Table.Tag & \", Columns: \" & Table.C"; +Debug.ShouldStop(16777216); +dbrequestmanager.__c.runVoidMethod ("LogImpl","865601537",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 = 250;BA.debugLine="Dim sb As StringBuilder"; +Debug.ShouldStop(33554432); +_sb = RemoteObject.createNew ("anywheresoftware.b4a.keywords.StringBuilderWrapper");Debug.locals.put("sb", _sb); + BA.debugLineNum = 251;BA.debugLine="sb.Initialize"; +Debug.ShouldStop(67108864); +_sb.runVoidMethod ("Initialize"); + BA.debugLineNum = 252;BA.debugLine="For Each col In Table.Columns.Keys"; +Debug.ShouldStop(134217728); +{ +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 = 253;BA.debugLine="sb.Append(col).Append(TAB)"; +Debug.ShouldStop(268435456); +_sb.runMethod(false,"Append",(Object)(BA.ObjectToString(_col))).runVoidMethod ("Append",(Object)(dbrequestmanager.__c.getField(true,"TAB"))); + } +}Debug.locals.put("col", _col); +; + BA.debugLineNum = 255;BA.debugLine="Log(sb.ToString)"; +Debug.ShouldStop(1073741824); +dbrequestmanager.__c.runVoidMethod ("LogImpl","865601543",_sb.runMethod(true,"ToString"),0); + BA.debugLineNum = 256;BA.debugLine="For Each row() As Object In Table.Rows"; +Debug.ShouldStop(-2147483648); +{ +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 = 257;BA.debugLine="Dim sb As StringBuilder"; +Debug.ShouldStop(1); +_sb = RemoteObject.createNew ("anywheresoftware.b4a.keywords.StringBuilderWrapper");Debug.locals.put("sb", _sb); + BA.debugLineNum = 258;BA.debugLine="sb.Initialize"; +Debug.ShouldStop(2); +_sb.runVoidMethod ("Initialize"); + BA.debugLineNum = 259;BA.debugLine="For Each record As Object In row"; +Debug.ShouldStop(4); +{ +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 = 260;BA.debugLine="sb.Append(record).Append(TAB)"; +Debug.ShouldStop(8); +_sb.runMethod(false,"Append",(Object)(BA.ObjectToString(_record))).runVoidMethod ("Append",(Object)(dbrequestmanager.__c.getField(true,"TAB"))); + } +}Debug.locals.put("record", _record); +; + BA.debugLineNum = 262;BA.debugLine="ToastMessageShow(sb.ToString, True)"; +Debug.ShouldStop(32); +dbrequestmanager.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence(_sb.runMethod(true,"ToString"))),(Object)(dbrequestmanager.__c.getField(true,"True"))); + } +}Debug.locals.put("row", _row); +; + BA.debugLineNum = 264;BA.debugLine="End Sub"; +Debug.ShouldStop(128); +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",23,__ref.getField(false, "ba"),__ref,175); +if (RapidSub.canDelegate("readbyte")) { return __ref.runUserSub(false, "dbrequestmanager","readbyte", __ref, _in);} +RemoteObject _data = null; +Debug.locals.put("In", _in); + BA.debugLineNum = 175;BA.debugLine="Private Sub ReadByte(In As InputStream) As Byte"; +Debug.ShouldStop(16384); + BA.debugLineNum = 176;BA.debugLine="Dim data(1) As Byte"; +Debug.ShouldStop(32768); +_data = RemoteObject.createNewArray ("byte", new int[] {1}, new Object[]{});Debug.locals.put("data", _data); + BA.debugLineNum = 177;BA.debugLine="In.ReadBytes(data, 0, 1)"; +Debug.ShouldStop(65536); +_in.runVoidMethod ("ReadBytes",(Object)(_data),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 1))); + BA.debugLineNum = 178;BA.debugLine="Return data(0)"; +Debug.ShouldStop(131072); +if (true) return _data.getArrayElement(true,BA.numberCast(int.class, 0)); + BA.debugLineNum = 179;BA.debugLine="End Sub"; +Debug.ShouldStop(262144); +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",23,__ref.getField(false, "ba"),__ref,155); +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 = 155;BA.debugLine="Private Sub ReadBytesFully(In As InputStream, Data"; +Debug.ShouldStop(67108864); + BA.debugLineNum = 156;BA.debugLine="Dim count = 0, read As Int"; +Debug.ShouldStop(134217728); +_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 = 157;BA.debugLine="Do While count < Len And read > -1"; +Debug.ShouldStop(268435456); +while (RemoteObject.solveBoolean("<",_count,BA.numberCast(double.class, _len)) && RemoteObject.solveBoolean(">",_read,BA.numberCast(double.class, -(double) (0 + 1)))) { + BA.debugLineNum = 158;BA.debugLine="read = In.ReadBytes(Data, count, Len - count)"; +Debug.ShouldStop(536870912); +_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 = 159;BA.debugLine="count = count + read"; +Debug.ShouldStop(1073741824); +_count = RemoteObject.solve(new RemoteObject[] {_count,_read}, "+",1, 1);Debug.locals.put("count", _count); + } +; + BA.debugLineNum = 161;BA.debugLine="Return Data"; +Debug.ShouldStop(1); +if (true) return _data; + BA.debugLineNum = 162;BA.debugLine="End Sub"; +Debug.ShouldStop(2); +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",23,__ref.getField(false, "ba"),__ref,170); +if (RapidSub.canDelegate("readint")) { return __ref.runUserSub(false, "dbrequestmanager","readint", __ref, _in);} +RemoteObject _data = null; +Debug.locals.put("In", _in); + BA.debugLineNum = 170;BA.debugLine="Private Sub ReadInt(In As InputStream) As Int"; +Debug.ShouldStop(512); + BA.debugLineNum = 171;BA.debugLine="Dim data(4) As Byte"; +Debug.ShouldStop(1024); +_data = RemoteObject.createNewArray ("byte", new int[] {4}, new Object[]{});Debug.locals.put("data", _data); + BA.debugLineNum = 172;BA.debugLine="Return bc.IntsFromBytes(ReadBytesFully(In, data,"; +Debug.ShouldStop(2048); +if (true) return __ref.getField(false,"_bc" /*RemoteObject*/ ).runMethod(false,"IntsFromBytes",(Object)(__ref.runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_readbytesfully" /*RemoteObject*/ ,(Object)(_in),(Object)(_data),(Object)(_data.getField(true,"length"))))).getArrayElement(true,BA.numberCast(int.class, 0)); + BA.debugLineNum = 173;BA.debugLine="End Sub"; +Debug.ShouldStop(4096); +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",23,__ref.getField(false, "ba"),__ref,119); +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 = 119;BA.debugLine="Private Sub ReadObject(In As InputStream) As Objec"; +Debug.ShouldStop(4194304); + BA.debugLineNum = 120;BA.debugLine="Dim data(1) As Byte"; +Debug.ShouldStop(8388608); +_data = RemoteObject.createNewArray ("byte", new int[] {1}, new Object[]{});Debug.locals.put("data", _data); + BA.debugLineNum = 121;BA.debugLine="In.ReadBytes(data, 0, 1)"; +Debug.ShouldStop(16777216); +_in.runVoidMethod ("ReadBytes",(Object)(_data),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 1))); + BA.debugLineNum = 122;BA.debugLine="Select data(0)"; +Debug.ShouldStop(33554432); +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 = 124;BA.debugLine="Return Null"; +Debug.ShouldStop(134217728); +if (true) return dbrequestmanager.__c.getField(false,"Null"); + break; } +case 1: { + BA.debugLineNum = 126;BA.debugLine="Dim data(2) As Byte"; +Debug.ShouldStop(536870912); +_data = RemoteObject.createNewArray ("byte", new int[] {2}, new Object[]{});Debug.locals.put("data", _data); + BA.debugLineNum = 127;BA.debugLine="Return bc.ShortsFromBytes(ReadBytesFully(In, da"; +Debug.ShouldStop(1073741824); +if (true) return (__ref.getField(false,"_bc" /*RemoteObject*/ ).runMethod(false,"ShortsFromBytes",(Object)(__ref.runClassMethod (reparto_izca.keymon.lat.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 = 129;BA.debugLine="Dim data(4) As Byte"; +Debug.ShouldStop(1); +_data = RemoteObject.createNewArray ("byte", new int[] {4}, new Object[]{});Debug.locals.put("data", _data); + BA.debugLineNum = 130;BA.debugLine="Return bc.IntsFromBytes(ReadBytesFully(In, data"; +Debug.ShouldStop(2); +if (true) return (__ref.getField(false,"_bc" /*RemoteObject*/ ).runMethod(false,"IntsFromBytes",(Object)(__ref.runClassMethod (reparto_izca.keymon.lat.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 = 132;BA.debugLine="Dim data(8) As Byte"; +Debug.ShouldStop(8); +_data = RemoteObject.createNewArray ("byte", new int[] {8}, new Object[]{});Debug.locals.put("data", _data); + BA.debugLineNum = 133;BA.debugLine="Return bc.LongsFromBytes(ReadBytesFully(In, dat"; +Debug.ShouldStop(16); +if (true) return (__ref.getField(false,"_bc" /*RemoteObject*/ ).runMethod(false,"LongsFromBytes",(Object)(__ref.runClassMethod (reparto_izca.keymon.lat.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 = 135;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 = 136;BA.debugLine="Return bc.FloatsFromBytes(ReadBytesFully(In, da"; +Debug.ShouldStop(128); +if (true) return (__ref.getField(false,"_bc" /*RemoteObject*/ ).runMethod(false,"FloatsFromBytes",(Object)(__ref.runClassMethod (reparto_izca.keymon.lat.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 = 138;BA.debugLine="Dim data(8) As Byte"; +Debug.ShouldStop(512); +_data = RemoteObject.createNewArray ("byte", new int[] {8}, new Object[]{});Debug.locals.put("data", _data); + BA.debugLineNum = 139;BA.debugLine="Return bc.DoublesFromBytes(ReadBytesFully(In, d"; +Debug.ShouldStop(1024); +if (true) return (__ref.getField(false,"_bc" /*RemoteObject*/ ).runMethod(false,"DoublesFromBytes",(Object)(__ref.runClassMethod (reparto_izca.keymon.lat.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 = 141;BA.debugLine="Dim b As Byte = ReadByte(In)"; +Debug.ShouldStop(4096); +_b = __ref.runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_readbyte" /*RemoteObject*/ ,(Object)(_in));Debug.locals.put("b", _b);Debug.locals.put("b", _b); + BA.debugLineNum = 142;BA.debugLine="Return b = 1"; +Debug.ShouldStop(8192); +if (true) return RemoteObject.createImmutable((RemoteObject.solveBoolean("=",_b,BA.numberCast(double.class, 1)))); + break; } +case 7: { + BA.debugLineNum = 144;BA.debugLine="Dim len As Int = ReadInt(In)"; +Debug.ShouldStop(32768); +_len = __ref.runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_readint" /*RemoteObject*/ ,(Object)(_in));Debug.locals.put("len", _len);Debug.locals.put("len", _len); + BA.debugLineNum = 145;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 = 146;BA.debugLine="Return ReadBytesFully(In, data, data.Length)"; +Debug.ShouldStop(131072); +if (true) return (__ref.runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_readbytesfully" /*RemoteObject*/ ,(Object)(_in),(Object)(_data),(Object)(_data.getField(true,"length")))); + break; } +default: { + BA.debugLineNum = 148;BA.debugLine="Dim len As Int = ReadInt(In)"; +Debug.ShouldStop(524288); +_len = __ref.runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_readint" /*RemoteObject*/ ,(Object)(_in));Debug.locals.put("len", _len);Debug.locals.put("len", _len); + BA.debugLineNum = 149;BA.debugLine="Dim data(len) As Byte"; +Debug.ShouldStop(1048576); +_data = RemoteObject.createNewArray ("byte", new int[] {_len.get().intValue()}, new Object[]{});Debug.locals.put("data", _data); + BA.debugLineNum = 150;BA.debugLine="ReadBytesFully(In, data, data.Length)"; +Debug.ShouldStop(2097152); +__ref.runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_readbytesfully" /*RemoteObject*/ ,(Object)(_in),(Object)(_data),(Object)(_data.getField(true,"length"))); + BA.debugLineNum = 151;BA.debugLine="Return BytesToString(data, 0, data.Length, \"UTF"; +Debug.ShouldStop(4194304); +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 = 153;BA.debugLine="End Sub"; +Debug.ShouldStop(16777216); +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",23,__ref.getField(false, "ba"),__ref,59); +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 = 59;BA.debugLine="Private Sub StartJob(j As HttpJob, MemoryStream As"; +Debug.ShouldStop(67108864); + BA.debugLineNum = 60;BA.debugLine="j.Initialize(\"DBRequest\", mTarget)"; +Debug.ShouldStop(134217728); +_j.runClassMethod (reparto_izca.keymon.lat.httpjob.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("DBRequest")),(Object)(__ref.getField(false,"_mtarget" /*RemoteObject*/ ))); + BA.debugLineNum = 61;BA.debugLine="j.Tag = Tag"; +Debug.ShouldStop(268435456); +_j.setField ("_tag" /*RemoteObject*/ ,_tag); + BA.debugLineNum = 62;BA.debugLine="MemoryStream.InitializeToBytesArray(0)"; +Debug.ShouldStop(536870912); +_memorystream.runVoidMethod ("InitializeToBytesArray",(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 63;BA.debugLine="Dim compress As CompressedStreams"; +Debug.ShouldStop(1073741824); +_compress = RemoteObject.createNew ("anywheresoftware.b4a.randomaccessfile.CompressedStreams");Debug.locals.put("compress", _compress); + BA.debugLineNum = 64;BA.debugLine="Dim out As OutputStream = compress.WrapOutputStre"; +Debug.ShouldStop(-2147483648); +_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 = 65;BA.debugLine="WriteObject(VERSION, out)"; +Debug.ShouldStop(1); +__ref.runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_writeobject" /*RemoteObject*/ ,(Object)((__ref.getField(true,"_version" /*RemoteObject*/ ))),(Object)(_out)); + BA.debugLineNum = 66;BA.debugLine="Return out"; +Debug.ShouldStop(2); +if (true) return _out; + BA.debugLineNum = 67;BA.debugLine="End Sub"; +Debug.ShouldStop(4); +return RemoteObject.createImmutable(null); +} +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",23,__ref.getField(false, "ba"),__ref,164); +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 = 164;BA.debugLine="Private Sub WriteInt(i As Int, out As OutputStream"; +Debug.ShouldStop(8); + BA.debugLineNum = 165;BA.debugLine="Dim data() As Byte"; +Debug.ShouldStop(16); +_data = RemoteObject.createNewArray ("byte", new int[] {0}, new Object[]{});Debug.locals.put("data", _data); + BA.debugLineNum = 166;BA.debugLine="data = bc.IntsToBytes(Array As Int(i))"; +Debug.ShouldStop(32); +_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 = 167;BA.debugLine="out.WriteBytes(data, 0, data.Length)"; +Debug.ShouldStop(64); +_out.runVoidMethod ("WriteBytes",(Object)(_data),(Object)(BA.numberCast(int.class, 0)),(Object)(_data.getField(true,"length"))); + BA.debugLineNum = 168;BA.debugLine="End Sub"; +Debug.ShouldStop(128); +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",23,__ref.getField(false, "ba"),__ref,69); +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 = 69;BA.debugLine="Private Sub WriteList(Parameters As List, out As O"; +Debug.ShouldStop(16); + BA.debugLineNum = 70;BA.debugLine="Dim data() As Byte"; +Debug.ShouldStop(32); +_data = RemoteObject.createNewArray ("byte", new int[] {0}, new Object[]{});Debug.locals.put("data", _data); + BA.debugLineNum = 71;BA.debugLine="If Parameters = Null Or Parameters.IsInitialized"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean("n",_parameters) || RemoteObject.solveBoolean("=",_parameters.runMethod(true,"IsInitialized"),dbrequestmanager.__c.getField(true,"False"))) { + BA.debugLineNum = 72;BA.debugLine="Dim Parameters As List"; +Debug.ShouldStop(128); +_parameters = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");Debug.locals.put("Parameters", _parameters); + BA.debugLineNum = 73;BA.debugLine="Parameters.Initialize"; +Debug.ShouldStop(256); +_parameters.runVoidMethod ("Initialize"); + }; + BA.debugLineNum = 75;BA.debugLine="data = bc.IntsToBytes(Array As Int(Parameters.Siz"; +Debug.ShouldStop(1024); +_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 = 76;BA.debugLine="out.WriteBytes(data, 0, data.Length)"; +Debug.ShouldStop(2048); +_out.runVoidMethod ("WriteBytes",(Object)(_data),(Object)(BA.numberCast(int.class, 0)),(Object)(_data.getField(true,"length"))); + BA.debugLineNum = 77;BA.debugLine="For Each o As Object In Parameters"; +Debug.ShouldStop(4096); +{ +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 = 78;BA.debugLine="WriteObject(o, out)"; +Debug.ShouldStop(8192); +__ref.runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_writeobject" /*RemoteObject*/ ,(Object)(_o),(Object)(_out)); + } +}Debug.locals.put("o", _o); +; + 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 _writeobject(RemoteObject __ref,RemoteObject _o,RemoteObject _out) throws Exception{ +try { + Debug.PushSubsStack("WriteObject (dbrequestmanager) ","dbrequestmanager",23,__ref.getField(false, "ba"),__ref,82); +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 = 82;BA.debugLine="Private Sub WriteObject(o As Object, out As Output"; +Debug.ShouldStop(131072); + BA.debugLineNum = 83;BA.debugLine="Dim data() As Byte"; +Debug.ShouldStop(262144); +_data = RemoteObject.createNewArray ("byte", new int[] {0}, new Object[]{});Debug.locals.put("data", _data); + BA.debugLineNum = 84;BA.debugLine="tempArray(0) = o"; +Debug.ShouldStop(524288); +__ref.getField(false,"_temparray" /*RemoteObject*/ ).setArrayElement (_o,BA.numberCast(int.class, 0)); + BA.debugLineNum = 85;BA.debugLine="If tempArray(0) = Null Then"; +Debug.ShouldStop(1048576); +if (RemoteObject.solveBoolean("n",__ref.getField(false,"_temparray" /*RemoteObject*/ ).getArrayElement(false,BA.numberCast(int.class, 0)))) { + BA.debugLineNum = 86;BA.debugLine="out.WriteBytes(Array As Byte(T_NULL), 0, 1)"; +Debug.ShouldStop(2097152); +_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 = 87;BA.debugLine="Else If tempArray(0) Is Short Then"; +Debug.ShouldStop(4194304); +if (RemoteObject.solveBoolean("i",__ref.getField(false,"_temparray" /*RemoteObject*/ ).getArrayElement(false,BA.numberCast(int.class, 0)), RemoteObject.createImmutable("Short"))) { + BA.debugLineNum = 88;BA.debugLine="out.WriteBytes(Array As Byte(T_SHORT), 0, 1)"; +Debug.ShouldStop(8388608); +_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 = 89;BA.debugLine="data = bc.ShortsToBytes(Array As Short(o))"; +Debug.ShouldStop(16777216); +_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 = 90;BA.debugLine="Else If tempArray(0) Is Int Then"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("i",__ref.getField(false,"_temparray" /*RemoteObject*/ ).getArrayElement(false,BA.numberCast(int.class, 0)), RemoteObject.createImmutable("Integer"))) { + BA.debugLineNum = 91;BA.debugLine="out.WriteBytes(Array As Byte(T_INT), 0, 1)"; +Debug.ShouldStop(67108864); +_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 = 92;BA.debugLine="data = bc.IntsToBytes(Array As Int(o))"; +Debug.ShouldStop(134217728); +_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 = 93;BA.debugLine="Else If tempArray(0) Is Float Then"; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean("i",__ref.getField(false,"_temparray" /*RemoteObject*/ ).getArrayElement(false,BA.numberCast(int.class, 0)), RemoteObject.createImmutable("Float"))) { + BA.debugLineNum = 94;BA.debugLine="out.WriteBytes(Array As Byte(T_FLOAT), 0, 1)"; +Debug.ShouldStop(536870912); +_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 = 95;BA.debugLine="data = bc.FloatsToBytes(Array As Float(o))"; +Debug.ShouldStop(1073741824); +_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 = 96;BA.debugLine="Else If tempArray(0) Is Double Then"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean("i",__ref.getField(false,"_temparray" /*RemoteObject*/ ).getArrayElement(false,BA.numberCast(int.class, 0)), RemoteObject.createImmutable("Double"))) { + BA.debugLineNum = 97;BA.debugLine="out.WriteBytes(Array As Byte(T_DOUBLE), 0, 1)"; +Debug.ShouldStop(1); +_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 = 98;BA.debugLine="data = bc.DoublesToBytes(Array As Double(o))"; +Debug.ShouldStop(2); +_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 = 99;BA.debugLine="Else If tempArray(0) Is Long Then"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean("i",__ref.getField(false,"_temparray" /*RemoteObject*/ ).getArrayElement(false,BA.numberCast(int.class, 0)), RemoteObject.createImmutable("Long"))) { + BA.debugLineNum = 100;BA.debugLine="out.WriteBytes(Array As Byte(T_LONG), 0, 1)"; +Debug.ShouldStop(8); +_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 = 101;BA.debugLine="data = bc.LongsToBytes(Array As Long(o))"; +Debug.ShouldStop(16); +_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 = 102;BA.debugLine="Else If tempArray(0) Is Boolean Then"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean("i",__ref.getField(false,"_temparray" /*RemoteObject*/ ).getArrayElement(false,BA.numberCast(int.class, 0)), RemoteObject.createImmutable("Boolean"))) { + BA.debugLineNum = 103;BA.debugLine="out.WriteBytes(Array As Byte(T_BOOLEAN), 0, 1)"; +Debug.ShouldStop(64); +_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 = 104;BA.debugLine="Dim b As Boolean = 0"; +Debug.ShouldStop(128); +_b = BA.ObjectToBoolean(0);Debug.locals.put("b", _b);Debug.locals.put("b", _b); + BA.debugLineNum = 105;BA.debugLine="Dim data(1) As Byte"; +Debug.ShouldStop(256); +_data = RemoteObject.createNewArray ("byte", new int[] {1}, new Object[]{});Debug.locals.put("data", _data); + BA.debugLineNum = 106;BA.debugLine="If b Then data(0) = 1 Else data(0) = 0"; +Debug.ShouldStop(512); +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 = 107;BA.debugLine="Else If GetType(tempArray(0)) = \"[B\" Then"; +Debug.ShouldStop(1024); +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 = 108;BA.debugLine="data = o"; +Debug.ShouldStop(2048); +_data = (_o);Debug.locals.put("data", _data); + BA.debugLineNum = 109;BA.debugLine="out.WriteBytes(Array As Byte(T_BLOB), 0, 1)"; +Debug.ShouldStop(4096); +_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 = 110;BA.debugLine="WriteInt(data.Length, out)"; +Debug.ShouldStop(8192); +__ref.runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_writeint" /*RemoteObject*/ ,(Object)(_data.getField(true,"length")),(Object)(_out)); + }else { + BA.debugLineNum = 112;BA.debugLine="out.WriteBytes(Array As Byte(T_STRING), 0, 1)"; +Debug.ShouldStop(32768); +_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 = 113;BA.debugLine="data = bc.StringToBytes(o, \"UTF8\")"; +Debug.ShouldStop(65536); +_data = __ref.getField(false,"_bc" /*RemoteObject*/ ).runMethod(false,"StringToBytes",(Object)(BA.ObjectToString(_o)),(Object)(RemoteObject.createImmutable("UTF8")));Debug.locals.put("data", _data); + BA.debugLineNum = 114;BA.debugLine="WriteInt(data.Length, out)"; +Debug.ShouldStop(131072); +__ref.runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_writeint" /*RemoteObject*/ ,(Object)(_data.getField(true,"length")),(Object)(_out)); + }}}}}}}} +; + BA.debugLineNum = 116;BA.debugLine="If data.Length > 0 Then out.WriteBytes(data, 0, d"; +Debug.ShouldStop(524288); +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 = 117;BA.debugLine="End Sub"; +Debug.ShouldStop(1048576); +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/reparto_izca/keymon/lat/escposprinter.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/escposprinter.java new file mode 100644 index 0000000..53cbfcd --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/escposprinter.java @@ -0,0 +1,65 @@ + +package reparto_izca.keymon.lat; + +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 reparto_izca.keymon.lat.main _main = null; +public static reparto_izca.keymon.lat.appupdater _appupdater = null; +public static reparto_izca.keymon.lat.subs _subs = null; +public static reparto_izca.keymon.lat.foto _foto = null; +public static reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public static reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public static reparto_izca.keymon.lat.starter _starter = null; +public static reparto_izca.keymon.lat.tracker _tracker = null; +public static reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public static reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public static reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public static reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public static reparto_izca.keymon.lat.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/reparto_izca/keymon/lat/escposprinter_subs_0.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/escposprinter_subs_0.java new file mode 100644 index 0000000..cf34e45 --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/escposprinter_subs_0.java @@ -0,0 +1,3239 @@ +package reparto_izca.keymon.lat; + +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",24,__ref.getField(false, "ba"),__ref,2285); +if (RapidSub.canDelegate("astream_error")) { return __ref.runUserSub(false, "escposprinter","astream_error", __ref);} + BA.debugLineNum = 2285;BA.debugLine="Private Sub AStream_Error"; +Debug.ShouldStop(4096); + BA.debugLineNum = 2286;BA.debugLine="If SubExists(CallBack, EventName & \"_Error\") Then"; +Debug.ShouldStop(8192); +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 = 2287;BA.debugLine="CallSub(CallBack, EventName & \"_Error\")"; +Debug.ShouldStop(16384); +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 = 2289;BA.debugLine="End Sub"; +Debug.ShouldStop(65536); +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",24,__ref.getField(false, "ba"),__ref,2278); +if (RapidSub.canDelegate("astream_newdata")) { return __ref.runUserSub(false, "escposprinter","astream_newdata", __ref, _buffer);} +Debug.locals.put("Buffer", _buffer); + BA.debugLineNum = 2278;BA.debugLine="Private Sub AStream_NewData (Buffer() As Byte)"; +Debug.ShouldStop(32); + BA.debugLineNum = 2279;BA.debugLine="If SubExists(CallBack, EventName & \"_NewData\") Th"; +Debug.ShouldStop(64); +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 = 2280;BA.debugLine="CallSub2(CallBack, EventName & \"_NewData\", Buffe"; +Debug.ShouldStop(128); +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 = 2282;BA.debugLine="Log(\"Data \" & Buffer(0))"; +Debug.ShouldStop(512); +escposprinter.__c.runVoidMethod ("LogImpl","869140484",RemoteObject.concat(RemoteObject.createImmutable("Data "),_buffer.getArrayElement(true,BA.numberCast(int.class, 0))),0); + BA.debugLineNum = 2283;BA.debugLine="End Sub"; +Debug.ShouldStop(1024); +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",24,__ref.getField(false, "ba"),__ref,2291); +if (RapidSub.canDelegate("astream_terminated")) { return __ref.runUserSub(false, "escposprinter","astream_terminated", __ref);} + BA.debugLineNum = 2291;BA.debugLine="Private Sub AStream_Terminated"; +Debug.ShouldStop(262144); + BA.debugLineNum = 2292;BA.debugLine="Connected = False"; +Debug.ShouldStop(524288); +__ref.setField ("_connected" /*RemoteObject*/ ,escposprinter.__c.getField(true,"False")); + BA.debugLineNum = 2293;BA.debugLine="If SubExists(CallBack, EventName & \"_Terminated\")"; +Debug.ShouldStop(1048576); +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 = 2294;BA.debugLine="CallSub(CallBack, EventName & \"_Terminated\")"; +Debug.ShouldStop(2097152); +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 = 2296;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 = 1158;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 1165;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 = 1167;BA.debugLine="Type AnImage(Width As Int, Height As Int, Data()"; +; + //BA.debugLineNum = 1169;BA.debugLine="Private EventName As String 'ignore"; +escposprinter._eventname = RemoteObject.createImmutable("");__ref.setField("_eventname",escposprinter._eventname); + //BA.debugLineNum = 1170;BA.debugLine="Private CallBack As Object 'ignore"; +escposprinter._callback = RemoteObject.createNew ("Object");__ref.setField("_callback",escposprinter._callback); + //BA.debugLineNum = 1172;BA.debugLine="Private Serial1 As Serial"; +escposprinter._serial1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.Serial");__ref.setField("_serial1",escposprinter._serial1); + //BA.debugLineNum = 1173;BA.debugLine="Private Astream As AsyncStreams"; +escposprinter._astream = RemoteObject.createNew ("anywheresoftware.b4a.randomaccessfile.AsyncStreams");__ref.setField("_astream",escposprinter._astream); + //BA.debugLineNum = 1174;BA.debugLine="Private Connected As Boolean"; +escposprinter._connected = RemoteObject.createImmutable(false);__ref.setField("_connected",escposprinter._connected); + //BA.debugLineNum = 1175;BA.debugLine="Private ConnectedError As String"; +escposprinter._connectederror = RemoteObject.createImmutable("");__ref.setField("_connectederror",escposprinter._connectederror); + //BA.debugLineNum = 1177;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 = 1178;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 = 1179;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 = 1182;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 = 1183;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 = 1186;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 = 1187;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 = 1190;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 = 1191;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 = 1194;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 = 1197;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 = 1198;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 = 1199;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 = 1202;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 = 1203;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 = 1206;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 = 1207;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 = 1208;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 = 1209;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 = 1212;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 = 1213;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 = 1214;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 = 1215;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 = 1216;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 = 1217;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 = 1218;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 = 1219;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 = 1222;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _connect(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Connect (escposprinter) ","escposprinter",24,__ref.getField(false, "ba"),__ref,1254); +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 = 1254;BA.debugLine="Public Sub Connect As Boolean"; +Debug.ShouldStop(32); + BA.debugLineNum = 1258;BA.debugLine="Try"; +Debug.ShouldStop(512); +try { BA.debugLineNum = 1259;BA.debugLine="If Starter.MAC_IMPRESORA = \"0\" Then"; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean("=",escposprinter._starter._mac_impresora /*RemoteObject*/ ,BA.ObjectToString("0"))) { + BA.debugLineNum = 1260;BA.debugLine="Dim PairedDevices As Map"; +Debug.ShouldStop(2048); +_paireddevices = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");Debug.locals.put("PairedDevices", _paireddevices); + BA.debugLineNum = 1261;BA.debugLine="PairedDevices = Serial1.GetPairedDevices"; +Debug.ShouldStop(4096); +_paireddevices = __ref.getField(false,"_serial1" /*RemoteObject*/ ).runMethod(false,"GetPairedDevices");Debug.locals.put("PairedDevices", _paireddevices); + BA.debugLineNum = 1262;BA.debugLine="Dim l As List"; +Debug.ShouldStop(8192); +_l = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");Debug.locals.put("l", _l); + BA.debugLineNum = 1263;BA.debugLine="l.Initialize"; +Debug.ShouldStop(16384); +_l.runVoidMethod ("Initialize"); + BA.debugLineNum = 1264;BA.debugLine="For i = 0 To PairedDevices.Size - 1"; +Debug.ShouldStop(32768); +{ +final int step7 = 1; +final int limit7 = RemoteObject.solve(new RemoteObject[] {_paireddevices.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 = 1265;BA.debugLine="l.Add(PairedDevices.GetKeyAt(i))"; +Debug.ShouldStop(65536); +_l.runVoidMethod ("Add",(Object)(_paireddevices.runMethod(false,"GetKeyAt",(Object)(BA.numberCast(int.class, _i))))); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 1267;BA.debugLine="Dim Res As Int"; +Debug.ShouldStop(262144); +_res = RemoteObject.createImmutable(0);Debug.locals.put("Res", _res); + BA.debugLineNum = 1268;BA.debugLine="Res = InputList(l, \"Choose a printer\", -1) 'sho"; +Debug.ShouldStop(524288); +_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 = 1269;BA.debugLine="If Res <> DialogResponse.CANCEL Then"; +Debug.ShouldStop(1048576); +if (RemoteObject.solveBoolean("!",_res,BA.numberCast(double.class, escposprinter.__c.getField(false,"DialogResponse").getField(true,"CANCEL")))) { + BA.debugLineNum = 1270;BA.debugLine="Serial1.Connect(PairedDevices.Get(l.Get(Res)))"; +Debug.ShouldStop(2097152); +__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 = 1272;BA.debugLine="Starter.mac_impresora = PairedDevices.Get(l.Ge"; +Debug.ShouldStop(8388608); +escposprinter._starter._mac_impresora /*RemoteObject*/ = BA.ObjectToString(_paireddevices.runMethod(false,"Get",(Object)(_l.runMethod(false,"Get",(Object)(_res))))); + BA.debugLineNum = 1273;BA.debugLine="Return True"; +Debug.ShouldStop(16777216); +Debug.CheckDeviceExceptions();if (true) return escposprinter.__c.getField(true,"True"); + }; + BA.debugLineNum = 1275;BA.debugLine="Return False"; +Debug.ShouldStop(67108864); +Debug.CheckDeviceExceptions();if (true) return escposprinter.__c.getField(true,"False"); + }else { + BA.debugLineNum = 1277;BA.debugLine="Serial1.Connect(Starter.mac_impresora)"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_serial1" /*RemoteObject*/ ).runVoidMethod ("Connect",__ref.getField(false, "ba"),(Object)(escposprinter._starter._mac_impresora /*RemoteObject*/ )); + BA.debugLineNum = 1279;BA.debugLine="Return True"; +Debug.ShouldStop(1073741824); +Debug.CheckDeviceExceptions();if (true) return escposprinter.__c.getField(true,"True"); + }; + Debug.CheckDeviceExceptions(); +} + catch (Exception e23) { + BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e23.toString()); BA.debugLineNum = 1282;BA.debugLine="Log(LastException)"; +Debug.ShouldStop(2); +escposprinter.__c.runVoidMethod ("LogImpl","865994780",BA.ObjectToString(escposprinter.__c.runMethod(false,"LastException",__ref.runMethod(false,"getActivityBA"))),0); + }; + BA.debugLineNum = 1284;BA.debugLine="End Sub"; +Debug.ShouldStop(8); +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",24,__ref.getField(false, "ba"),__ref,1238); +if (RapidSub.canDelegate("connectederrormsg")) { return __ref.runUserSub(false, "escposprinter","connectederrormsg", __ref);} + BA.debugLineNum = 1238;BA.debugLine="Public Sub ConnectedErrorMsg As String"; +Debug.ShouldStop(2097152); + BA.debugLineNum = 1239;BA.debugLine="Return ConnectedError"; +Debug.ShouldStop(4194304); +if (true) return __ref.getField(true,"_connectederror" /*RemoteObject*/ ); + BA.debugLineNum = 1240;BA.debugLine="End Sub"; +Debug.ShouldStop(8388608); +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",24,__ref.getField(false, "ba"),__ref,1664); +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 = 1664;BA.debugLine="Public Sub CreateBox(x0 As Int, y0 As Int, x1 As I"; +Debug.ShouldStop(-2147483648); + BA.debugLineNum = 1665;BA.debugLine="Dim box As Int = 0x10000000"; +Debug.ShouldStop(1); +_box = BA.numberCast(int.class, ((int)0x10000000));Debug.locals.put("box", _box);Debug.locals.put("box", _box); + BA.debugLineNum = 1666;BA.debugLine="If fill Then box = box + 0x80000000"; +Debug.ShouldStop(2); +if (_fill.get().booleanValue()) { +_box = RemoteObject.solve(new RemoteObject[] {_box,RemoteObject.createImmutable(((int)0x80000000))}, "+",1, 1);Debug.locals.put("box", _box);}; + BA.debugLineNum = 1667;BA.debugLine="box = box + Bit.ShiftLeft(Bit.And(0xf,x0), 24)"; +Debug.ShouldStop(4); +_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 = 1668;BA.debugLine="box = box + Bit.ShiftLeft(Bit.And(0x1f,y0), 16)"; +Debug.ShouldStop(8); +_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 = 1669;BA.debugLine="box = box + Bit.ShiftLeft(Bit.And(0xf,x1), 8)"; +Debug.ShouldStop(16); +_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 = 1670;BA.debugLine="box = box + Bit.And(0x1f,y1)"; +Debug.ShouldStop(32); +_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 = 1671;BA.debugLine="Return box"; +Debug.ShouldStop(64); +if (true) return _box; + BA.debugLineNum = 1672;BA.debugLine="End Sub"; +Debug.ShouldStop(128); +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",24,__ref.getField(false, "ba"),__ref,1634); +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 = 1634;BA.debugLine="Public Sub CreateCircle(radius As Int, quadrants A"; +Debug.ShouldStop(2); + BA.debugLineNum = 1635;BA.debugLine="Dim circle As Int = 0x20000000"; +Debug.ShouldStop(4); +_circle = BA.numberCast(int.class, ((int)0x20000000));Debug.locals.put("circle", _circle);Debug.locals.put("circle", _circle); + BA.debugLineNum = 1636;BA.debugLine="If fill Then circle = circle + 0x80000000"; +Debug.ShouldStop(8); +if (_fill.get().booleanValue()) { +_circle = RemoteObject.solve(new RemoteObject[] {_circle,RemoteObject.createImmutable(((int)0x80000000))}, "+",1, 1);Debug.locals.put("circle", _circle);}; + BA.debugLineNum = 1637;BA.debugLine="circle = circle + Bit.ShiftLeft(radius, 24)"; +Debug.ShouldStop(16); +_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 = 1638;BA.debugLine="circle = circle + Bit.ShiftLeft(quadrants, 16)"; +Debug.ShouldStop(32); +_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 = 1639;BA.debugLine="circle = circle + Bit.ShiftLeft(x1, 8)"; +Debug.ShouldStop(64); +_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 = 1640;BA.debugLine="circle = circle + y1"; +Debug.ShouldStop(128); +_circle = RemoteObject.solve(new RemoteObject[] {_circle,_y1}, "+",1, 1);Debug.locals.put("circle", _circle); + BA.debugLineNum = 1641;BA.debugLine="Return circle"; +Debug.ShouldStop(256); +if (true) return _circle; + BA.debugLineNum = 1642;BA.debugLine="End Sub"; +Debug.ShouldStop(512); +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",24,__ref.getField(false, "ba"),__ref,1548); +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 = 1548;BA.debugLine="Public Sub CreateCustomCharacter(shapes() As Int,"; +Debug.ShouldStop(2048); + BA.debugLineNum = 1549;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 = 1550;BA.debugLine="masks(0) = 0x80"; +Debug.ShouldStop(8192); +_masks.setArrayElement (BA.numberCast(byte.class, ((int)0x80)),BA.numberCast(int.class, 0)); + BA.debugLineNum = 1551;BA.debugLine="masks(1) = 0x40"; +Debug.ShouldStop(16384); +_masks.setArrayElement (BA.numberCast(byte.class, ((int)0x40)),BA.numberCast(int.class, 1)); + BA.debugLineNum = 1552;BA.debugLine="masks(2) = 0x20"; +Debug.ShouldStop(32768); +_masks.setArrayElement (BA.numberCast(byte.class, ((int)0x20)),BA.numberCast(int.class, 2)); + BA.debugLineNum = 1553;BA.debugLine="masks(3) = 0x10"; +Debug.ShouldStop(65536); +_masks.setArrayElement (BA.numberCast(byte.class, ((int)0x10)),BA.numberCast(int.class, 3)); + BA.debugLineNum = 1554;BA.debugLine="masks(4) = 0x08"; +Debug.ShouldStop(131072); +_masks.setArrayElement (BA.numberCast(byte.class, ((int)0x08)),BA.numberCast(int.class, 4)); + BA.debugLineNum = 1555;BA.debugLine="masks(5) = 0x04"; +Debug.ShouldStop(262144); +_masks.setArrayElement (BA.numberCast(byte.class, ((int)0x04)),BA.numberCast(int.class, 5)); + BA.debugLineNum = 1556;BA.debugLine="masks(6) = 0x02"; +Debug.ShouldStop(524288); +_masks.setArrayElement (BA.numberCast(byte.class, ((int)0x02)),BA.numberCast(int.class, 6)); + BA.debugLineNum = 1557;BA.debugLine="masks(7) = 0x01"; +Debug.ShouldStop(1048576); +_masks.setArrayElement (BA.numberCast(byte.class, ((int)0x01)),BA.numberCast(int.class, 7)); + BA.debugLineNum = 1560;BA.debugLine="Dim points(16,32) As Byte"; +Debug.ShouldStop(8388608); +_points = RemoteObject.createNewArray ("byte", new int[] {16,32}, new Object[]{});Debug.locals.put("points", _points); + BA.debugLineNum = 1562;BA.debugLine="For x = 0 To 15"; +Debug.ShouldStop(33554432); +{ +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 = 1563;BA.debugLine="For y = 0 To 31"; +Debug.ShouldStop(67108864); +{ +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 = 1564;BA.debugLine="points(x,y) = 0"; +Debug.ShouldStop(134217728); +_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 = 1567;BA.debugLine="Dim size As Int = 12"; +Debug.ShouldStop(1073741824); +_size = BA.numberCast(int.class, 12);Debug.locals.put("size", _size);Debug.locals.put("size", _size); + BA.debugLineNum = 1568;BA.debugLine="If characterfont = 1 Then size = 9"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean("=",_characterfont,BA.numberCast(double.class, 1))) { +_size = BA.numberCast(int.class, 9);Debug.locals.put("size", _size);}; + BA.debugLineNum = 1569;BA.debugLine="Dim charbyes(size * 3) As Byte"; +Debug.ShouldStop(1); +_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 = 1570;BA.debugLine="For c = 0 To charbyes.Length - 1"; +Debug.ShouldStop(2); +{ +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 = 1571;BA.debugLine="charbyes(c) = 0"; +Debug.ShouldStop(4); +_charbyes.setArrayElement (BA.numberCast(byte.class, 0),BA.numberCast(int.class, _c)); + } +}Debug.locals.put("c", _c); +; + BA.debugLineNum = 1574;BA.debugLine="For i = 0 To shapes.Length -1"; +Debug.ShouldStop(32); +{ +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 = 1575;BA.debugLine="Dim fill As Int = Bit.UnsignedShiftRight(Bit.An"; +Debug.ShouldStop(64); +_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 = 1576;BA.debugLine="Dim shape As Int = Bit.UnsignedShiftRight(Bit.An"; +Debug.ShouldStop(128); +_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 = 1577;BA.debugLine="Dim x0 As Int = Bit.UnsignedShiftRight(Bit.And(0"; +Debug.ShouldStop(256); +_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 = 1578;BA.debugLine="Dim y0 As Int = Bit.UnsignedShiftRight(Bit.And(0"; +Debug.ShouldStop(512); +_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 = 1579;BA.debugLine="Dim x1 As Int = Bit.UnsignedShiftRight(Bit.And(0"; +Debug.ShouldStop(1024); +_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 = 1580;BA.debugLine="Dim y1 As Int = Bit.And(0x0000001f, shapes(i))"; +Debug.ShouldStop(2048); +_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 = 1581;BA.debugLine="Dim x2 As Int = Bit.UnsignedShiftRight(Bit.And(0"; +Debug.ShouldStop(4096); +_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 = 1582;BA.debugLine="Dim y2 As Int = Bit.UnsignedShiftRight(Bit.And(0"; +Debug.ShouldStop(8192); +_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 = 1588;BA.debugLine="Dim logmsg As String = \": Fill=\" & fill & \" : Po"; +Debug.ShouldStop(524288); +_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 = 1589;BA.debugLine="If shape = 3 Then"; +Debug.ShouldStop(1048576); +if (RemoteObject.solveBoolean("=",_shape,BA.numberCast(double.class, 3))) { + BA.debugLineNum = 1590;BA.debugLine="Log(\"Triangle \" & logmsg)"; +Debug.ShouldStop(2097152); +escposprinter.__c.runVoidMethod ("LogImpl","867305514",RemoteObject.concat(RemoteObject.createImmutable("Triangle "),_logmsg),0); + BA.debugLineNum = 1591;BA.debugLine="PlotTriangle(x0, y0, x1, y1, x2, y2, points, fi"; +Debug.ShouldStop(4194304); +__ref.runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_plottriangle" /*RemoteObject*/ ,(Object)(_x0),(Object)(_y0),(Object)(_x1),(Object)(_y1),(Object)(_x2),(Object)(_y2),(Object)(_points),(Object)(_fill)); + }else +{ BA.debugLineNum = 1592;BA.debugLine="else If shape = 2 Then"; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean("=",_shape,BA.numberCast(double.class, 2))) { + BA.debugLineNum = 1593;BA.debugLine="Log(\"Circle \" & logmsg)"; +Debug.ShouldStop(16777216); +escposprinter.__c.runVoidMethod ("LogImpl","867305517",RemoteObject.concat(RemoteObject.createImmutable("Circle "),_logmsg),0); + BA.debugLineNum = 1594;BA.debugLine="PlotCircle(x0, y0, x1, y1, points, fill)"; +Debug.ShouldStop(33554432); +__ref.runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_plotcircle" /*RemoteObject*/ ,(Object)(_x0),(Object)(_y0),(Object)(_x1),(Object)(_y1),(Object)(_points),(Object)(_fill)); + }else +{ BA.debugLineNum = 1595;BA.debugLine="Else If shape = 1 Then"; +Debug.ShouldStop(67108864); +if (RemoteObject.solveBoolean("=",_shape,BA.numberCast(double.class, 1))) { + BA.debugLineNum = 1596;BA.debugLine="Log(\"Box \" & logmsg)"; +Debug.ShouldStop(134217728); +escposprinter.__c.runVoidMethod ("LogImpl","867305520",RemoteObject.concat(RemoteObject.createImmutable("Box "),_logmsg),0); + BA.debugLineNum = 1597;BA.debugLine="PlotBox(x0, y0, x1, y1, points, fill)"; +Debug.ShouldStop(268435456); +__ref.runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_plotbox" /*RemoteObject*/ ,(Object)(_x0),(Object)(_y0),(Object)(_x1),(Object)(_y1),(Object)(_points),(Object)(_fill)); + }else { + BA.debugLineNum = 1599;BA.debugLine="Log(\"Line \" & logmsg)"; +Debug.ShouldStop(1073741824); +escposprinter.__c.runVoidMethod ("LogImpl","867305523",RemoteObject.concat(RemoteObject.createImmutable("Line "),_logmsg),0); + BA.debugLineNum = 1600;BA.debugLine="PlotLine(x0, y0, x1, y1, points)"; +Debug.ShouldStop(-2147483648); +__ref.runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_plotline" /*RemoteObject*/ ,(Object)(_x0),(Object)(_y0),(Object)(_x1),(Object)(_y1),(Object)(_points)); + }}} +; + BA.debugLineNum = 1603;BA.debugLine="For x = 0 To size -1 ' 9 or 12 horizontal bytes"; +Debug.ShouldStop(4); +{ +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 = 1604;BA.debugLine="For y = 0 To 2 ' 3 vertical bytes"; +Debug.ShouldStop(8); +{ +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 = 1605;BA.debugLine="Dim bits As Byte = 0"; +Debug.ShouldStop(16); +_bits = BA.numberCast(byte.class, 0);Debug.locals.put("bits", _bits);Debug.locals.put("bits", _bits); + BA.debugLineNum = 1606;BA.debugLine="For b = 0 To 7 ' 8 vertical bits"; +Debug.ShouldStop(32); +{ +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 = 1607;BA.debugLine="If points(x, y*8+b) <> 0 Then"; +Debug.ShouldStop(64); +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 = 1608;BA.debugLine="bits = Bit.Or(bits, masks(b))"; +Debug.ShouldStop(128); +_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 = 1611;BA.debugLine="charbyes(x*3+y) = bits"; +Debug.ShouldStop(1024); +_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 = 1615;BA.debugLine="Return charbyes"; +Debug.ShouldStop(16384); +if (true) return _charbyes; + BA.debugLineNum = 1616;BA.debugLine="End Sub"; +Debug.ShouldStop(32768); +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",24,__ref.getField(false, "ba"),__ref,1621); +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 = 1621;BA.debugLine="Public Sub CreateLine(x0 As Int, y0 As Int, x1 As"; +Debug.ShouldStop(1048576); + BA.debugLineNum = 1622;BA.debugLine="Dim line As Int = 0"; +Debug.ShouldStop(2097152); +_line = BA.numberCast(int.class, 0);Debug.locals.put("line", _line);Debug.locals.put("line", _line); + BA.debugLineNum = 1623;BA.debugLine="line = line + Bit.ShiftLeft(Bit.And(0xf,x0), 24)"; +Debug.ShouldStop(4194304); +_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 = 1624;BA.debugLine="line = line + Bit.ShiftLeft(Bit.And(0x1f,y0), 16)"; +Debug.ShouldStop(8388608); +_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 = 1625;BA.debugLine="line = line + Bit.ShiftLeft(Bit.And(0xf,x1), 8)"; +Debug.ShouldStop(16777216); +_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 = 1626;BA.debugLine="line = line + Bit.And(0x1f,y1)"; +Debug.ShouldStop(33554432); +_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 = 1627;BA.debugLine="Return line"; +Debug.ShouldStop(67108864); +if (true) return _line; + BA.debugLineNum = 1628;BA.debugLine="End Sub"; +Debug.ShouldStop(134217728); +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",24,__ref.getField(false, "ba"),__ref,1648); +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 = 1648;BA.debugLine="Public Sub CreateTriangle(x0 As Int, y0 As Int, x1"; +Debug.ShouldStop(32768); + BA.debugLineNum = 1649;BA.debugLine="Dim triangle As Int = 0x30000000"; +Debug.ShouldStop(65536); +_triangle = BA.numberCast(int.class, ((int)0x30000000));Debug.locals.put("triangle", _triangle);Debug.locals.put("triangle", _triangle); + BA.debugLineNum = 1650;BA.debugLine="If fill Then triangle = triangle + 0x80000000"; +Debug.ShouldStop(131072); +if (_fill.get().booleanValue()) { +_triangle = RemoteObject.solve(new RemoteObject[] {_triangle,RemoteObject.createImmutable(((int)0x80000000))}, "+",1, 1);Debug.locals.put("triangle", _triangle);}; + BA.debugLineNum = 1651;BA.debugLine="triangle = triangle + Bit.ShiftLeft(Bit.And(0xf,x"; +Debug.ShouldStop(262144); +_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 = 1652;BA.debugLine="triangle = triangle + Bit.ShiftLeft(Bit.And(0x1f,"; +Debug.ShouldStop(524288); +_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 = 1653;BA.debugLine="triangle = triangle + Bit.ShiftLeft(Bit.And(0xf,x"; +Debug.ShouldStop(1048576); +_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 = 1654;BA.debugLine="triangle = triangle + Bit.And(0x1f,y1)"; +Debug.ShouldStop(2097152); +_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 = 1655;BA.debugLine="triangle = triangle + Bit.ShiftLeft(Bit.And(0xf,x"; +Debug.ShouldStop(4194304); +_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 = 1656;BA.debugLine="triangle = triangle + Bit.ShiftLeft(Bit.And(0x7,y"; +Debug.ShouldStop(8388608); +_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 = 1657;BA.debugLine="triangle = triangle + Bit.ShiftLeft(Bit.And(0x18,"; +Debug.ShouldStop(16777216); +_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 = 1658;BA.debugLine="Return triangle"; +Debug.ShouldStop(33554432); +if (true) return _triangle; + BA.debugLineNum = 1659;BA.debugLine="End Sub"; +Debug.ShouldStop(67108864); +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",24,__ref.getField(false, "ba"),__ref,1496); +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 = 1496;BA.debugLine="Public Sub DefineCustomCharacter(charcode As Int,"; +Debug.ShouldStop(8388608); + BA.debugLineNum = 1497;BA.debugLine="Dim excess As Int = bitdata.Length Mod 3"; +Debug.ShouldStop(16777216); +_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 = 1498;BA.debugLine="If excess <> 0 Then Return -1"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("!",_excess,BA.numberCast(double.class, 0))) { +if (true) return BA.numberCast(int.class, -(double) (0 + 1));}; + BA.debugLineNum = 1499;BA.debugLine="Dim size As Int = bitdata.Length / 3"; +Debug.ShouldStop(67108864); +_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 = 1500;BA.debugLine="WriteString(ESC & \"&\")"; +Debug.ShouldStop(134217728); +__ref.runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_esc" /*RemoteObject*/ ),RemoteObject.createImmutable("&")))); + BA.debugLineNum = 1501;BA.debugLine="Dim params(4) As Byte"; +Debug.ShouldStop(268435456); +_params = RemoteObject.createNewArray ("byte", new int[] {4}, new Object[]{});Debug.locals.put("params", _params); + BA.debugLineNum = 1502;BA.debugLine="params(0) = 3"; +Debug.ShouldStop(536870912); +_params.setArrayElement (BA.numberCast(byte.class, 3),BA.numberCast(int.class, 0)); + BA.debugLineNum = 1503;BA.debugLine="params(1) = charcode"; +Debug.ShouldStop(1073741824); +_params.setArrayElement (BA.numberCast(byte.class, _charcode),BA.numberCast(int.class, 1)); + BA.debugLineNum = 1504;BA.debugLine="params(2) = charcode"; +Debug.ShouldStop(-2147483648); +_params.setArrayElement (BA.numberCast(byte.class, _charcode),BA.numberCast(int.class, 2)); + BA.debugLineNum = 1505;BA.debugLine="params(3) = size"; +Debug.ShouldStop(1); +_params.setArrayElement (BA.numberCast(byte.class, _size),BA.numberCast(int.class, 3)); + BA.debugLineNum = 1506;BA.debugLine="WriteBytes(params)"; +Debug.ShouldStop(2); +__ref.runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writebytes" /*RemoteObject*/ ,(Object)(_params)); + BA.debugLineNum = 1507;BA.debugLine="WriteBytes(bitdata)"; +Debug.ShouldStop(4); +__ref.runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writebytes" /*RemoteObject*/ ,(Object)(_bitdata)); + BA.debugLineNum = 1508;BA.debugLine="Return 0"; +Debug.ShouldStop(8); +if (true) return BA.numberCast(int.class, 0); + BA.debugLineNum = 1509;BA.debugLine="End Sub"; +Debug.ShouldStop(16); +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",24,__ref.getField(false, "ba"),__ref,1461); +if (RapidSub.canDelegate("deletecustomcharacter")) { return __ref.runUserSub(false, "escposprinter","deletecustomcharacter", __ref, _charcode);} +RemoteObject _params = null; +Debug.locals.put("charcode", _charcode); + BA.debugLineNum = 1461;BA.debugLine="Public Sub DeleteCustomCharacter(charcode As Int)"; +Debug.ShouldStop(1048576); + BA.debugLineNum = 1462;BA.debugLine="WriteString(ESC & \"?\")"; +Debug.ShouldStop(2097152); +__ref.runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_esc" /*RemoteObject*/ ),RemoteObject.createImmutable("?")))); + BA.debugLineNum = 1463;BA.debugLine="Dim params(1) As Byte"; +Debug.ShouldStop(4194304); +_params = RemoteObject.createNewArray ("byte", new int[] {1}, new Object[]{});Debug.locals.put("params", _params); + BA.debugLineNum = 1464;BA.debugLine="params(0) = charcode"; +Debug.ShouldStop(8388608); +_params.setArrayElement (BA.numberCast(byte.class, _charcode),BA.numberCast(int.class, 0)); + BA.debugLineNum = 1465;BA.debugLine="WriteBytes(params)"; +Debug.ShouldStop(16777216); +__ref.runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writebytes" /*RemoteObject*/ ,(Object)(_params)); + BA.debugLineNum = 1466;BA.debugLine="End Sub"; +Debug.ShouldStop(33554432); +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",24,__ref.getField(false, "ba"),__ref,1287); +if (RapidSub.canDelegate("disconnect")) { return __ref.runUserSub(false, "escposprinter","disconnect", __ref);} + BA.debugLineNum = 1287;BA.debugLine="Public Sub DisConnect"; +Debug.ShouldStop(64); + BA.debugLineNum = 1288;BA.debugLine="Serial1.Disconnect"; +Debug.ShouldStop(128); +__ref.getField(false,"_serial1" /*RemoteObject*/ ).runVoidMethod ("Disconnect"); + BA.debugLineNum = 1289;BA.debugLine="Connected = False"; +Debug.ShouldStop(256); +__ref.setField ("_connected" /*RemoteObject*/ ,escposprinter.__c.getField(true,"False")); + BA.debugLineNum = 1290;BA.debugLine="End Sub"; +Debug.ShouldStop(512); +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",24,__ref.getField(false, "ba"),__ref,1907); +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("reparto_izca.keymon.lat.escposprinter._animage"); +Debug.locals.put("img", _img); +Debug.locals.put("threshold", _threshold); + BA.debugLineNum = 1907;BA.debugLine="Sub DitherImage1D(img As AnImage, threshold As Int"; +Debug.ShouldStop(262144); + BA.debugLineNum = 1908;BA.debugLine="Dim pixels(img.Data.Length) As Byte"; +Debug.ShouldStop(524288); +_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 = 1909;BA.debugLine="Dim error As Int"; +Debug.ShouldStop(1048576); +_error = RemoteObject.createImmutable(0);Debug.locals.put("error", _error); + BA.debugLineNum = 1910;BA.debugLine="For y = 0 To img.Height - 1"; +Debug.ShouldStop(2097152); +{ +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 = 1911;BA.debugLine="error = 0 ' reset on each new line"; +Debug.ShouldStop(4194304); +_error = BA.numberCast(int.class, 0);Debug.locals.put("error", _error); + BA.debugLineNum = 1912;BA.debugLine="For x = 0 To img.Width - 1"; +Debug.ShouldStop(8388608); +{ +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 = 1913;BA.debugLine="Dim lum As Int = Bit.And(img.Data(y*img.Width +"; +Debug.ShouldStop(16777216); +_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 = 1914;BA.debugLine="lum = lum + error"; +Debug.ShouldStop(33554432); +_lum = RemoteObject.solve(new RemoteObject[] {_lum,_error}, "+",1, 1);Debug.locals.put("lum", _lum); + BA.debugLineNum = 1915;BA.debugLine="If lum < threshold Then"; +Debug.ShouldStop(67108864); +if (RemoteObject.solveBoolean("<",_lum,BA.numberCast(double.class, _threshold))) { + BA.debugLineNum = 1916;BA.debugLine="error = lum"; +Debug.ShouldStop(134217728); +_error = _lum;Debug.locals.put("error", _error); + BA.debugLineNum = 1917;BA.debugLine="lum = 1"; +Debug.ShouldStop(268435456); +_lum = BA.numberCast(int.class, 1);Debug.locals.put("lum", _lum); + }else { + BA.debugLineNum = 1919;BA.debugLine="error = lum - 255"; +Debug.ShouldStop(1073741824); +_error = RemoteObject.solve(new RemoteObject[] {_lum,RemoteObject.createImmutable(255)}, "-",1, 1);Debug.locals.put("error", _error); + BA.debugLineNum = 1920;BA.debugLine="lum = 0"; +Debug.ShouldStop(-2147483648); +_lum = BA.numberCast(int.class, 0);Debug.locals.put("lum", _lum); + }; + BA.debugLineNum = 1922;BA.debugLine="pixels(y*img.Width + x) = lum"; +Debug.ShouldStop(2); +_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 = 1925;BA.debugLine="Dim ret As AnImage"; +Debug.ShouldStop(16); +_ret = RemoteObject.createNew ("reparto_izca.keymon.lat.escposprinter._animage");Debug.locals.put("ret", _ret); + BA.debugLineNum = 1926;BA.debugLine="ret.Width = img.Width"; +Debug.ShouldStop(32); +_ret.setField ("Width" /*RemoteObject*/ ,_img.getField(true,"Width" /*RemoteObject*/ )); + BA.debugLineNum = 1927;BA.debugLine="ret.Height = img.Height"; +Debug.ShouldStop(64); +_ret.setField ("Height" /*RemoteObject*/ ,_img.getField(true,"Height" /*RemoteObject*/ )); + BA.debugLineNum = 1928;BA.debugLine="ret.Data = pixels"; +Debug.ShouldStop(128); +_ret.setField ("Data" /*RemoteObject*/ ,_pixels); + BA.debugLineNum = 1929;BA.debugLine="Return ret"; +Debug.ShouldStop(256); +if (true) return _ret; + BA.debugLineNum = 1930;BA.debugLine="End Sub"; +Debug.ShouldStop(512); +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",24,__ref.getField(false, "ba"),__ref,1938); +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("reparto_izca.keymon.lat.escposprinter._animage"); +Debug.locals.put("img", _img); +Debug.locals.put("threshold", _threshold); + BA.debugLineNum = 1938;BA.debugLine="Sub DitherImage2D(img As AnImage, threshold As Int"; +Debug.ShouldStop(131072); + BA.debugLineNum = 1939;BA.debugLine="Dim pixels(img.Data.Length) As Byte"; +Debug.ShouldStop(262144); +_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 = 1940;BA.debugLine="Dim xerror As Int"; +Debug.ShouldStop(524288); +_xerror = RemoteObject.createImmutable(0);Debug.locals.put("xerror", _xerror); + BA.debugLineNum = 1941;BA.debugLine="Dim yerrors(img.Width) As Int"; +Debug.ShouldStop(1048576); +_yerrors = RemoteObject.createNewArray ("int", new int[] {_img.getField(true,"Width" /*RemoteObject*/ ).get().intValue()}, new Object[]{});Debug.locals.put("yerrors", _yerrors); + BA.debugLineNum = 1942;BA.debugLine="For i = 0 To yerrors.Length -1"; +Debug.ShouldStop(2097152); +{ +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 = 1943;BA.debugLine="yerrors(0) = 0"; +Debug.ShouldStop(4194304); +_yerrors.setArrayElement (BA.numberCast(int.class, 0),BA.numberCast(int.class, 0)); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 1945;BA.debugLine="For y = 0 To img.Height - 1"; +Debug.ShouldStop(16777216); +{ +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 = 1946;BA.debugLine="xerror = 0 ' reset on each new line"; +Debug.ShouldStop(33554432); +_xerror = BA.numberCast(int.class, 0);Debug.locals.put("xerror", _xerror); + BA.debugLineNum = 1947;BA.debugLine="For x = 0 To img.Width - 1"; +Debug.ShouldStop(67108864); +{ +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 = 1948;BA.debugLine="Dim lum As Int = Bit.And(img.Data(y*img.Width +"; +Debug.ShouldStop(134217728); +_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 = 1949;BA.debugLine="lum = lum + xerror + yerrors(x)"; +Debug.ShouldStop(268435456); +_lum = RemoteObject.solve(new RemoteObject[] {_lum,_xerror,_yerrors.getArrayElement(true,BA.numberCast(int.class, _x))}, "++",2, 1);Debug.locals.put("lum", _lum); + BA.debugLineNum = 1950;BA.debugLine="If lum < threshold Then"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean("<",_lum,BA.numberCast(double.class, _threshold))) { + BA.debugLineNum = 1951;BA.debugLine="xerror = lum/2"; +Debug.ShouldStop(1073741824); +_xerror = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_lum,RemoteObject.createImmutable(2)}, "/",0, 0));Debug.locals.put("xerror", _xerror); + BA.debugLineNum = 1952;BA.debugLine="yerrors(x) = xerror"; +Debug.ShouldStop(-2147483648); +_yerrors.setArrayElement (_xerror,BA.numberCast(int.class, _x)); + BA.debugLineNum = 1953;BA.debugLine="lum = 1"; +Debug.ShouldStop(1); +_lum = BA.numberCast(int.class, 1);Debug.locals.put("lum", _lum); + }else { + BA.debugLineNum = 1955;BA.debugLine="xerror = (lum - 255)/2"; +Debug.ShouldStop(4); +_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 = 1956;BA.debugLine="yerrors(x) = xerror"; +Debug.ShouldStop(8); +_yerrors.setArrayElement (_xerror,BA.numberCast(int.class, _x)); + BA.debugLineNum = 1957;BA.debugLine="lum = 0"; +Debug.ShouldStop(16); +_lum = BA.numberCast(int.class, 0);Debug.locals.put("lum", _lum); + }; + BA.debugLineNum = 1959;BA.debugLine="pixels(y*img.Width + x) = lum"; +Debug.ShouldStop(64); +_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 = 1962;BA.debugLine="Dim ret As AnImage"; +Debug.ShouldStop(512); +_ret = RemoteObject.createNew ("reparto_izca.keymon.lat.escposprinter._animage");Debug.locals.put("ret", _ret); + BA.debugLineNum = 1963;BA.debugLine="ret.Width = img.Width"; +Debug.ShouldStop(1024); +_ret.setField ("Width" /*RemoteObject*/ ,_img.getField(true,"Width" /*RemoteObject*/ )); + BA.debugLineNum = 1964;BA.debugLine="ret.Height = img.Height"; +Debug.ShouldStop(2048); +_ret.setField ("Height" /*RemoteObject*/ ,_img.getField(true,"Height" /*RemoteObject*/ )); + BA.debugLineNum = 1965;BA.debugLine="ret.Data = pixels"; +Debug.ShouldStop(4096); +_ret.setField ("Data" /*RemoteObject*/ ,_pixels); + BA.debugLineNum = 1966;BA.debugLine="Return ret"; +Debug.ShouldStop(8192); +if (true) return _ret; + BA.debugLineNum = 1967;BA.debugLine="End Sub"; +Debug.ShouldStop(16384); +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",24,__ref.getField(false, "ba"),__ref,1688); +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 = 1688;BA.debugLine="Private Sub FillTriangle(x0 As Int, y0 As Int, x1"; +Debug.ShouldStop(8388608); + BA.debugLineNum = 1690;BA.debugLine="Dim tx, ty As Int"; +Debug.ShouldStop(33554432); +_tx = RemoteObject.createImmutable(0);Debug.locals.put("tx", _tx); +_ty = RemoteObject.createImmutable(0);Debug.locals.put("ty", _ty); + BA.debugLineNum = 1691;BA.debugLine="If y0 > y1 Then"; +Debug.ShouldStop(67108864); +if (RemoteObject.solveBoolean(">",_y0,BA.numberCast(double.class, _y1))) { + BA.debugLineNum = 1692;BA.debugLine="tx = x0 : ty = y0"; +Debug.ShouldStop(134217728); +_tx = _x0;Debug.locals.put("tx", _tx); + BA.debugLineNum = 1692;BA.debugLine="tx = x0 : ty = y0"; +Debug.ShouldStop(134217728); +_ty = _y0;Debug.locals.put("ty", _ty); + BA.debugLineNum = 1693;BA.debugLine="x0 = x1 : y0 = y1"; +Debug.ShouldStop(268435456); +_x0 = _x1;Debug.locals.put("x0", _x0); + BA.debugLineNum = 1693;BA.debugLine="x0 = x1 : y0 = y1"; +Debug.ShouldStop(268435456); +_y0 = _y1;Debug.locals.put("y0", _y0); + BA.debugLineNum = 1694;BA.debugLine="x1 = tx : y1 = ty"; +Debug.ShouldStop(536870912); +_x1 = _tx;Debug.locals.put("x1", _x1); + BA.debugLineNum = 1694;BA.debugLine="x1 = tx : y1 = ty"; +Debug.ShouldStop(536870912); +_y1 = _ty;Debug.locals.put("y1", _y1); + }; + BA.debugLineNum = 1696;BA.debugLine="If y0 > y2 Then"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean(">",_y0,BA.numberCast(double.class, _y2))) { + BA.debugLineNum = 1697;BA.debugLine="tx = x0 : ty = y0"; +Debug.ShouldStop(1); +_tx = _x0;Debug.locals.put("tx", _tx); + BA.debugLineNum = 1697;BA.debugLine="tx = x0 : ty = y0"; +Debug.ShouldStop(1); +_ty = _y0;Debug.locals.put("ty", _ty); + BA.debugLineNum = 1698;BA.debugLine="x0 = x2 : y0 = y2"; +Debug.ShouldStop(2); +_x0 = _x2;Debug.locals.put("x0", _x0); + BA.debugLineNum = 1698;BA.debugLine="x0 = x2 : y0 = y2"; +Debug.ShouldStop(2); +_y0 = _y2;Debug.locals.put("y0", _y0); + BA.debugLineNum = 1699;BA.debugLine="x2 = tx : y2 = ty"; +Debug.ShouldStop(4); +_x2 = _tx;Debug.locals.put("x2", _x2); + BA.debugLineNum = 1699;BA.debugLine="x2 = tx : y2 = ty"; +Debug.ShouldStop(4); +_y2 = _ty;Debug.locals.put("y2", _y2); + }; + BA.debugLineNum = 1701;BA.debugLine="If y1 > y2 Then"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean(">",_y1,BA.numberCast(double.class, _y2))) { + BA.debugLineNum = 1702;BA.debugLine="tx = x1 : ty = y1"; +Debug.ShouldStop(32); +_tx = _x1;Debug.locals.put("tx", _tx); + BA.debugLineNum = 1702;BA.debugLine="tx = x1 : ty = y1"; +Debug.ShouldStop(32); +_ty = _y1;Debug.locals.put("ty", _ty); + BA.debugLineNum = 1703;BA.debugLine="x1 = x2 : y1 = y2"; +Debug.ShouldStop(64); +_x1 = _x2;Debug.locals.put("x1", _x1); + BA.debugLineNum = 1703;BA.debugLine="x1 = x2 : y1 = y2"; +Debug.ShouldStop(64); +_y1 = _y2;Debug.locals.put("y1", _y1); + BA.debugLineNum = 1704;BA.debugLine="x2 = tx : y2 = ty"; +Debug.ShouldStop(128); +_x2 = _tx;Debug.locals.put("x2", _x2); + BA.debugLineNum = 1704;BA.debugLine="x2 = tx : y2 = ty"; +Debug.ShouldStop(128); +_y2 = _ty;Debug.locals.put("y2", _y2); + }; + BA.debugLineNum = 1707;BA.debugLine="Dim dx0, dx1, dx2 As Double"; +Debug.ShouldStop(1024); +_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 = 1708;BA.debugLine="Dim x3, x4, y3, y4 As Double"; +Debug.ShouldStop(2048); +_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 = 1709;BA.debugLine="Dim inc As Int"; +Debug.ShouldStop(4096); +_inc = RemoteObject.createImmutable(0);Debug.locals.put("inc", _inc); + BA.debugLineNum = 1711;BA.debugLine="If y1 - y0 > 0 Then dx0=(x1-x0)/(y1-y0) Else dx0="; +Debug.ShouldStop(16384); +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 = 1712;BA.debugLine="If y2 - y0 > 0 Then dx1=(x2-x0)/(y2-y0) Else dx1="; +Debug.ShouldStop(32768); +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 = 1713;BA.debugLine="If y2 - y1 > 0 Then dx2=(x2-x1)/(y2-y1) Else dx2="; +Debug.ShouldStop(65536); +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 = 1714;BA.debugLine="x3 = x0 : x4 = x0"; +Debug.ShouldStop(131072); +_x3 = BA.numberCast(double.class, _x0);Debug.locals.put("x3", _x3); + BA.debugLineNum = 1714;BA.debugLine="x3 = x0 : x4 = x0"; +Debug.ShouldStop(131072); +_x4 = BA.numberCast(double.class, _x0);Debug.locals.put("x4", _x4); + BA.debugLineNum = 1715;BA.debugLine="y3 = y0 : y4 = y0"; +Debug.ShouldStop(262144); +_y3 = BA.numberCast(double.class, _y0);Debug.locals.put("y3", _y3); + BA.debugLineNum = 1715;BA.debugLine="y3 = y0 : y4 = y0"; +Debug.ShouldStop(262144); +_y4 = BA.numberCast(double.class, _y0);Debug.locals.put("y4", _y4); + BA.debugLineNum = 1716;BA.debugLine="If dx0 > dx1 Then"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean(">",_dx0,_dx1)) { + BA.debugLineNum = 1717;BA.debugLine="While"; +Debug.ShouldStop(1048576); +escposprinter.__c.runVoidMethod ("While"); + BA.debugLineNum = 1718;BA.debugLine="Do While y3 <= y1"; +Debug.ShouldStop(2097152); +while (RemoteObject.solveBoolean("k",_y3,BA.numberCast(double.class, _y1))) { + BA.debugLineNum = 1719;BA.debugLine="If x3 > x4 Then inc = -1 Else inc = 1"; +Debug.ShouldStop(4194304); +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 = 1720;BA.debugLine="For x = x3 To x4 Step inc"; +Debug.ShouldStop(8388608); +{ +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 = 1721;BA.debugLine="points(x, y3) = 1"; +Debug.ShouldStop(16777216); +_points.setArrayElement (BA.numberCast(byte.class, 1),BA.numberCast(int.class, _x),BA.numberCast(int.class, _y3)); + } +}Debug.locals.put("x", _x); +; + BA.debugLineNum = 1723;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; +Debug.ShouldStop(67108864); +_y3 = RemoteObject.solve(new RemoteObject[] {_y3,RemoteObject.createImmutable(1)}, "+",1, 0);Debug.locals.put("y3", _y3); + BA.debugLineNum = 1723;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; +Debug.ShouldStop(67108864); +_y4 = RemoteObject.solve(new RemoteObject[] {_y4,RemoteObject.createImmutable(1)}, "+",1, 0);Debug.locals.put("y4", _y4); + BA.debugLineNum = 1723;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; +Debug.ShouldStop(67108864); +_x3 = RemoteObject.solve(new RemoteObject[] {_x3,_dx1}, "+",1, 0);Debug.locals.put("x3", _x3); + BA.debugLineNum = 1723;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; +Debug.ShouldStop(67108864); +_x4 = RemoteObject.solve(new RemoteObject[] {_x4,_dx0}, "+",1, 0);Debug.locals.put("x4", _x4); + } +; + BA.debugLineNum = 1725;BA.debugLine="x4=x1"; +Debug.ShouldStop(268435456); +_x4 = BA.numberCast(double.class, _x1);Debug.locals.put("x4", _x4); + BA.debugLineNum = 1726;BA.debugLine="y4=y1"; +Debug.ShouldStop(536870912); +_y4 = BA.numberCast(double.class, _y1);Debug.locals.put("y4", _y4); + BA.debugLineNum = 1727;BA.debugLine="Do While y3 <= y2"; +Debug.ShouldStop(1073741824); +while (RemoteObject.solveBoolean("k",_y3,BA.numberCast(double.class, _y2))) { + BA.debugLineNum = 1728;BA.debugLine="If x3 > x4 Then inc = -1 Else inc = 1"; +Debug.ShouldStop(-2147483648); +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 = 1729;BA.debugLine="For x = x3 To x4 Step inc"; +Debug.ShouldStop(1); +{ +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 = 1730;BA.debugLine="points(x ,y3) = 1"; +Debug.ShouldStop(2); +_points.setArrayElement (BA.numberCast(byte.class, 1),BA.numberCast(int.class, _x),BA.numberCast(int.class, _y3)); + } +}Debug.locals.put("x", _x); +; + BA.debugLineNum = 1732;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; +Debug.ShouldStop(8); +_y3 = RemoteObject.solve(new RemoteObject[] {_y3,RemoteObject.createImmutable(1)}, "+",1, 0);Debug.locals.put("y3", _y3); + BA.debugLineNum = 1732;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; +Debug.ShouldStop(8); +_y4 = RemoteObject.solve(new RemoteObject[] {_y4,RemoteObject.createImmutable(1)}, "+",1, 0);Debug.locals.put("y4", _y4); + BA.debugLineNum = 1732;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; +Debug.ShouldStop(8); +_x3 = RemoteObject.solve(new RemoteObject[] {_x3,_dx1}, "+",1, 0);Debug.locals.put("x3", _x3); + BA.debugLineNum = 1732;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; +Debug.ShouldStop(8); +_x4 = RemoteObject.solve(new RemoteObject[] {_x4,_dx2}, "+",1, 0);Debug.locals.put("x4", _x4); + } +; + }else { + BA.debugLineNum = 1735;BA.debugLine="While"; +Debug.ShouldStop(64); +escposprinter.__c.runVoidMethod ("While"); + BA.debugLineNum = 1736;BA.debugLine="Do While y3 <= y1"; +Debug.ShouldStop(128); +while (RemoteObject.solveBoolean("k",_y3,BA.numberCast(double.class, _y1))) { + BA.debugLineNum = 1737;BA.debugLine="If x3 > x4 Then inc = -1 Else inc = 1"; +Debug.ShouldStop(256); +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 = 1738;BA.debugLine="For x = x3 To x4 Step inc"; +Debug.ShouldStop(512); +{ +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 = 1739;BA.debugLine="points(x, y3) = 1"; +Debug.ShouldStop(1024); +_points.setArrayElement (BA.numberCast(byte.class, 1),BA.numberCast(int.class, _x),BA.numberCast(int.class, _y3)); + } +}Debug.locals.put("x", _x); +; + BA.debugLineNum = 1741;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx0 : x4"; +Debug.ShouldStop(4096); +_y3 = RemoteObject.solve(new RemoteObject[] {_y3,RemoteObject.createImmutable(1)}, "+",1, 0);Debug.locals.put("y3", _y3); + BA.debugLineNum = 1741;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx0 : x4"; +Debug.ShouldStop(4096); +_y4 = RemoteObject.solve(new RemoteObject[] {_y4,RemoteObject.createImmutable(1)}, "+",1, 0);Debug.locals.put("y4", _y4); + BA.debugLineNum = 1741;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx0 : x4"; +Debug.ShouldStop(4096); +_x3 = RemoteObject.solve(new RemoteObject[] {_x3,_dx0}, "+",1, 0);Debug.locals.put("x3", _x3); + BA.debugLineNum = 1741;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx0 : x4"; +Debug.ShouldStop(4096); +_x4 = RemoteObject.solve(new RemoteObject[] {_x4,_dx1}, "+",1, 0);Debug.locals.put("x4", _x4); + } +; + BA.debugLineNum = 1743;BA.debugLine="x3=x1"; +Debug.ShouldStop(16384); +_x3 = BA.numberCast(double.class, _x1);Debug.locals.put("x3", _x3); + BA.debugLineNum = 1744;BA.debugLine="y3=y1"; +Debug.ShouldStop(32768); +_y3 = BA.numberCast(double.class, _y1);Debug.locals.put("y3", _y3); + BA.debugLineNum = 1745;BA.debugLine="Do While y3<=y2"; +Debug.ShouldStop(65536); +while (RemoteObject.solveBoolean("k",_y3,BA.numberCast(double.class, _y2))) { + BA.debugLineNum = 1746;BA.debugLine="If x3 > x4 Then inc = -1 Else inc = 1"; +Debug.ShouldStop(131072); +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 = 1747;BA.debugLine="For x = x3 To x4 Step inc"; +Debug.ShouldStop(262144); +{ +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 = 1748;BA.debugLine="points(x, y3) = 1"; +Debug.ShouldStop(524288); +_points.setArrayElement (BA.numberCast(byte.class, 1),BA.numberCast(int.class, _x),BA.numberCast(int.class, _y3)); + } +}Debug.locals.put("x", _x); +; + BA.debugLineNum = 1750;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx2 : x4"; +Debug.ShouldStop(2097152); +_y3 = RemoteObject.solve(new RemoteObject[] {_y3,RemoteObject.createImmutable(1)}, "+",1, 0);Debug.locals.put("y3", _y3); + BA.debugLineNum = 1750;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx2 : x4"; +Debug.ShouldStop(2097152); +_y4 = RemoteObject.solve(new RemoteObject[] {_y4,RemoteObject.createImmutable(1)}, "+",1, 0);Debug.locals.put("y4", _y4); + BA.debugLineNum = 1750;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx2 : x4"; +Debug.ShouldStop(2097152); +_x3 = RemoteObject.solve(new RemoteObject[] {_x3,_dx2}, "+",1, 0);Debug.locals.put("x3", _x3); + BA.debugLineNum = 1750;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx2 : x4"; +Debug.ShouldStop(2097152); +_x4 = RemoteObject.solve(new RemoteObject[] {_x4,_dx1}, "+",1, 0);Debug.locals.put("x4", _x4); + } +; + }; + BA.debugLineNum = 1753;BA.debugLine="End Sub"; +Debug.ShouldStop(16777216); +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",24,__ref.getField(false, "ba"),__ref,1857); +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("reparto_izca.keymon.lat.escposprinter._animage"); +Debug.locals.put("bmp", _bmp); + BA.debugLineNum = 1857;BA.debugLine="Sub ImageToBWIMage(bmp As Bitmap) As AnImage"; +Debug.ShouldStop(1); + BA.debugLineNum = 1858;BA.debugLine="Dim BC As BitmapCreator 'ignore"; +Debug.ShouldStop(2); +_bc = RemoteObject.createNew ("b4a.example.bitmapcreator");Debug.locals.put("BC", _bc); + BA.debugLineNum = 1859;BA.debugLine="Dim W As Int = bmp.Width"; +Debug.ShouldStop(4); +_w = _bmp.runMethod(true,"getWidth");Debug.locals.put("W", _w);Debug.locals.put("W", _w); + BA.debugLineNum = 1860;BA.debugLine="Dim H As Int = bmp.Height"; +Debug.ShouldStop(8); +_h = _bmp.runMethod(true,"getHeight");Debug.locals.put("H", _h);Debug.locals.put("H", _h); + BA.debugLineNum = 1861;BA.debugLine="Dim pixels(W * H) As Byte"; +Debug.ShouldStop(16); +_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 = 1863;BA.debugLine="For y = 0 To H - 1"; +Debug.ShouldStop(64); +{ +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 = 1864;BA.debugLine="For x = 0 To W - 1"; +Debug.ShouldStop(128); +{ +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 = 1865;BA.debugLine="Dim j As Int = bmp.GetPixel(x, y)"; +Debug.ShouldStop(256); +_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 = 1867;BA.debugLine="Dim col As ARGBColor"; +Debug.ShouldStop(1024); +_col = RemoteObject.createNew ("b4a.example.bitmapcreator._argbcolor");Debug.locals.put("col", _col); + BA.debugLineNum = 1868;BA.debugLine="BC.ColorToARGB(j, col )"; +Debug.ShouldStop(2048); +_bc.runVoidMethod ("_colortoargb",(Object)(_j),(Object)(_col)); + BA.debugLineNum = 1869;BA.debugLine="Dim lum As Int = col.r * 0.2 + col.b*0.1 + col."; +Debug.ShouldStop(4096); +_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 = 1870;BA.debugLine="If lum> 255 Then lum = 255"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean(">",_lum,BA.numberCast(double.class, 255))) { +_lum = BA.numberCast(int.class, 255);Debug.locals.put("lum", _lum);}; + BA.debugLineNum = 1872;BA.debugLine="pixels(y*W + x) = lum"; +Debug.ShouldStop(32768); +_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 = 1875;BA.debugLine="Dim ret As AnImage"; +Debug.ShouldStop(262144); +_ret = RemoteObject.createNew ("reparto_izca.keymon.lat.escposprinter._animage");Debug.locals.put("ret", _ret); + BA.debugLineNum = 1876;BA.debugLine="ret.Width = bmp.Width"; +Debug.ShouldStop(524288); +_ret.setField ("Width" /*RemoteObject*/ ,_bmp.runMethod(true,"getWidth")); + BA.debugLineNum = 1877;BA.debugLine="ret.Height = bmp.Height"; +Debug.ShouldStop(1048576); +_ret.setField ("Height" /*RemoteObject*/ ,_bmp.runMethod(true,"getHeight")); + BA.debugLineNum = 1878;BA.debugLine="ret.Data = pixels"; +Debug.ShouldStop(2097152); +_ret.setField ("Data" /*RemoteObject*/ ,_pixels); + BA.debugLineNum = 1879;BA.debugLine="Return ret"; +Debug.ShouldStop(4194304); +if (true) return _ret; + BA.debugLineNum = 1880;BA.debugLine="End Sub"; +Debug.ShouldStop(8388608); +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",24,__ref.getField(false, "ba"),__ref,1229); +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 = 1229;BA.debugLine="Public Sub Initialize(vCallback As Object, vEventN"; +Debug.ShouldStop(4096); + BA.debugLineNum = 1230;BA.debugLine="EventName = vEventName"; +Debug.ShouldStop(8192); +__ref.setField ("_eventname" /*RemoteObject*/ ,_veventname); + BA.debugLineNum = 1231;BA.debugLine="CallBack = vCallback"; +Debug.ShouldStop(16384); +__ref.setField ("_callback" /*RemoteObject*/ ,_vcallback); + BA.debugLineNum = 1232;BA.debugLine="Serial1.Initialize(\"Serial1\")"; +Debug.ShouldStop(32768); +__ref.getField(false,"_serial1" /*RemoteObject*/ ).runVoidMethod ("Initialize",(Object)(RemoteObject.createImmutable("Serial1"))); + BA.debugLineNum = 1233;BA.debugLine="Connected = False"; +Debug.ShouldStop(65536); +__ref.setField ("_connected" /*RemoteObject*/ ,escposprinter.__c.getField(true,"False")); + BA.debugLineNum = 1234;BA.debugLine="ConnectedError = \"\""; +Debug.ShouldStop(131072); +__ref.setField ("_connectederror" /*RemoteObject*/ ,BA.ObjectToString("")); + BA.debugLineNum = 1235;BA.debugLine="End Sub"; +Debug.ShouldStop(262144); +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",24,__ref.getField(false, "ba"),__ref,1248); +if (RapidSub.canDelegate("isbluetoothon")) { return __ref.runUserSub(false, "escposprinter","isbluetoothon", __ref);} + BA.debugLineNum = 1248;BA.debugLine="Public Sub IsBluetoothOn As Boolean"; +Debug.ShouldStop(-2147483648); + BA.debugLineNum = 1249;BA.debugLine="Return Serial1.IsEnabled"; +Debug.ShouldStop(1); +if (true) return __ref.getField(false,"_serial1" /*RemoteObject*/ ).runMethod(true,"IsEnabled"); + BA.debugLineNum = 1250;BA.debugLine="End Sub"; +Debug.ShouldStop(2); +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",24,__ref.getField(false, "ba"),__ref,1243); +if (RapidSub.canDelegate("isconnected")) { return __ref.runUserSub(false, "escposprinter","isconnected", __ref);} + BA.debugLineNum = 1243;BA.debugLine="Public Sub IsConnected As Boolean"; +Debug.ShouldStop(67108864); + BA.debugLineNum = 1244;BA.debugLine="Return Connected"; +Debug.ShouldStop(134217728); +if (true) return __ref.getField(true,"_connected" /*RemoteObject*/ ); + BA.debugLineNum = 1245;BA.debugLine="End Sub"; +Debug.ShouldStop(268435456); +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",24,__ref.getField(false, "ba"),__ref,2009); +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("reparto_izca.keymon.lat.escposprinter._animage"); +Debug.locals.put("imagedata", _imagedata); + BA.debugLineNum = 2009;BA.debugLine="Public Sub PackImage(imagedata As AnImage) As AnIm"; +Debug.ShouldStop(16777216); + BA.debugLineNum = 2010;BA.debugLine="Dim xbytes As Int = imagedata.width/8"; +Debug.ShouldStop(33554432); +_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 = 2011;BA.debugLine="Dim pixels(xbytes * imagedata.height) As Byte"; +Debug.ShouldStop(67108864); +_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 = 2012;BA.debugLine="Dim masks(8) As Byte"; +Debug.ShouldStop(134217728); +_masks = RemoteObject.createNewArray ("byte", new int[] {8}, new Object[]{});Debug.locals.put("masks", _masks); + BA.debugLineNum = 2013;BA.debugLine="masks(0) = 0x80"; +Debug.ShouldStop(268435456); +_masks.setArrayElement (BA.numberCast(byte.class, ((int)0x80)),BA.numberCast(int.class, 0)); + BA.debugLineNum = 2014;BA.debugLine="masks(1) = 0x40"; +Debug.ShouldStop(536870912); +_masks.setArrayElement (BA.numberCast(byte.class, ((int)0x40)),BA.numberCast(int.class, 1)); + BA.debugLineNum = 2015;BA.debugLine="masks(2) = 0x20"; +Debug.ShouldStop(1073741824); +_masks.setArrayElement (BA.numberCast(byte.class, ((int)0x20)),BA.numberCast(int.class, 2)); + BA.debugLineNum = 2016;BA.debugLine="masks(3) = 0x10"; +Debug.ShouldStop(-2147483648); +_masks.setArrayElement (BA.numberCast(byte.class, ((int)0x10)),BA.numberCast(int.class, 3)); + BA.debugLineNum = 2017;BA.debugLine="masks(4) = 0x08"; +Debug.ShouldStop(1); +_masks.setArrayElement (BA.numberCast(byte.class, ((int)0x08)),BA.numberCast(int.class, 4)); + BA.debugLineNum = 2018;BA.debugLine="masks(5) = 0x04"; +Debug.ShouldStop(2); +_masks.setArrayElement (BA.numberCast(byte.class, ((int)0x04)),BA.numberCast(int.class, 5)); + BA.debugLineNum = 2019;BA.debugLine="masks(6) = 0x02"; +Debug.ShouldStop(4); +_masks.setArrayElement (BA.numberCast(byte.class, ((int)0x02)),BA.numberCast(int.class, 6)); + BA.debugLineNum = 2020;BA.debugLine="masks(7) = 0x01"; +Debug.ShouldStop(8); +_masks.setArrayElement (BA.numberCast(byte.class, ((int)0x01)),BA.numberCast(int.class, 7)); + BA.debugLineNum = 2021;BA.debugLine="Dim index As Int = 0"; +Debug.ShouldStop(16); +_index = BA.numberCast(int.class, 0);Debug.locals.put("index", _index);Debug.locals.put("index", _index); + BA.debugLineNum = 2022;BA.debugLine="For y = 0 To imagedata.Height - 1"; +Debug.ShouldStop(32); +{ +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 = 2023;BA.debugLine="For x = 0 To xbytes - 1"; +Debug.ShouldStop(64); +{ +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 = 2024;BA.debugLine="Dim xbyte As Byte = 0"; +Debug.ShouldStop(128); +_xbyte = BA.numberCast(byte.class, 0);Debug.locals.put("xbyte", _xbyte);Debug.locals.put("xbyte", _xbyte); + BA.debugLineNum = 2025;BA.debugLine="For b = 0 To 7"; +Debug.ShouldStop(256); +{ +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 = 2027;BA.debugLine="Dim pix As Byte = imagedata.Data(index)"; +Debug.ShouldStop(1024); +_pix = _imagedata.getField(false,"Data" /*RemoteObject*/ ).getArrayElement(true,_index);Debug.locals.put("pix", _pix);Debug.locals.put("pix", _pix); + BA.debugLineNum = 2028;BA.debugLine="If pix <> 0 Then"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean("!",_pix,BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2029;BA.debugLine="xbyte = xbyte + masks(b)"; +Debug.ShouldStop(4096); +_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 = 2031;BA.debugLine="index = index + 1"; +Debug.ShouldStop(16384); +_index = RemoteObject.solve(new RemoteObject[] {_index,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("index", _index); + } +}Debug.locals.put("b", _b); +; + BA.debugLineNum = 2033;BA.debugLine="pixels(y*xbytes + x) = xbyte"; +Debug.ShouldStop(65536); +_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 = 2036;BA.debugLine="Dim ret As AnImage"; +Debug.ShouldStop(524288); +_ret = RemoteObject.createNew ("reparto_izca.keymon.lat.escposprinter._animage");Debug.locals.put("ret", _ret); + BA.debugLineNum = 2037;BA.debugLine="ret.Width = xbytes"; +Debug.ShouldStop(1048576); +_ret.setField ("Width" /*RemoteObject*/ ,_xbytes); + BA.debugLineNum = 2038;BA.debugLine="ret.Height = imagedata.Height"; +Debug.ShouldStop(2097152); +_ret.setField ("Height" /*RemoteObject*/ ,_imagedata.getField(true,"Height" /*RemoteObject*/ )); + BA.debugLineNum = 2039;BA.debugLine="ret.Data = pixels"; +Debug.ShouldStop(4194304); +_ret.setField ("Data" /*RemoteObject*/ ,_pixels); + BA.debugLineNum = 2040;BA.debugLine="Return ret"; +Debug.ShouldStop(8388608); +if (true) return _ret; + BA.debugLineNum = 2041;BA.debugLine="End Sub"; +Debug.ShouldStop(16777216); +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",24,__ref.getField(false, "ba"),__ref,2107); +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 = 2107;BA.debugLine="Public Sub PackImageSlice(img As AnImage, slice As"; +Debug.ShouldStop(67108864); + BA.debugLineNum = 2108;BA.debugLine="Dim bytes As Int = img.width"; +Debug.ShouldStop(134217728); +_bytes = _img.getField(true,"Width" /*RemoteObject*/ );Debug.locals.put("bytes", _bytes);Debug.locals.put("bytes", _bytes); + BA.debugLineNum = 2109;BA.debugLine="If dots24 Then"; +Debug.ShouldStop(268435456); +if (_dots24.get().booleanValue()) { + BA.debugLineNum = 2110;BA.debugLine="Dim pixels(bytes * 3) As Byte"; +Debug.ShouldStop(536870912); +_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 = 2111;BA.debugLine="Dim slicestart As Int = slice * bytes * 8 * 3"; +Debug.ShouldStop(1073741824); +_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 = 2113;BA.debugLine="Dim pixels(bytes) As Byte"; +Debug.ShouldStop(1); +_pixels = RemoteObject.createNewArray ("byte", new int[] {_bytes.get().intValue()}, new Object[]{});Debug.locals.put("pixels", _pixels); + BA.debugLineNum = 2114;BA.debugLine="Dim slicestart As Int = slice * bytes * 8"; +Debug.ShouldStop(2); +_slicestart = RemoteObject.solve(new RemoteObject[] {_slice,_bytes,RemoteObject.createImmutable(8)}, "**",0, 1);Debug.locals.put("slicestart", _slicestart);Debug.locals.put("slicestart", _slicestart); + }; + BA.debugLineNum = 2117;BA.debugLine="Dim masks(8) As Byte"; +Debug.ShouldStop(16); +_masks = RemoteObject.createNewArray ("byte", new int[] {8}, new Object[]{});Debug.locals.put("masks", _masks); + BA.debugLineNum = 2118;BA.debugLine="masks(0) = 0x80"; +Debug.ShouldStop(32); +_masks.setArrayElement (BA.numberCast(byte.class, ((int)0x80)),BA.numberCast(int.class, 0)); + BA.debugLineNum = 2119;BA.debugLine="masks(1) = 0x40"; +Debug.ShouldStop(64); +_masks.setArrayElement (BA.numberCast(byte.class, ((int)0x40)),BA.numberCast(int.class, 1)); + BA.debugLineNum = 2120;BA.debugLine="masks(2) = 0x20"; +Debug.ShouldStop(128); +_masks.setArrayElement (BA.numberCast(byte.class, ((int)0x20)),BA.numberCast(int.class, 2)); + BA.debugLineNum = 2121;BA.debugLine="masks(3) = 0x10"; +Debug.ShouldStop(256); +_masks.setArrayElement (BA.numberCast(byte.class, ((int)0x10)),BA.numberCast(int.class, 3)); + BA.debugLineNum = 2122;BA.debugLine="masks(4) = 0x08"; +Debug.ShouldStop(512); +_masks.setArrayElement (BA.numberCast(byte.class, ((int)0x08)),BA.numberCast(int.class, 4)); + BA.debugLineNum = 2123;BA.debugLine="masks(5) = 0x04"; +Debug.ShouldStop(1024); +_masks.setArrayElement (BA.numberCast(byte.class, ((int)0x04)),BA.numberCast(int.class, 5)); + BA.debugLineNum = 2124;BA.debugLine="masks(6) = 0x02"; +Debug.ShouldStop(2048); +_masks.setArrayElement (BA.numberCast(byte.class, ((int)0x02)),BA.numberCast(int.class, 6)); + BA.debugLineNum = 2125;BA.debugLine="masks(7) = 0x01"; +Debug.ShouldStop(4096); +_masks.setArrayElement (BA.numberCast(byte.class, ((int)0x01)),BA.numberCast(int.class, 7)); + BA.debugLineNum = 2127;BA.debugLine="If dots24 Then"; +Debug.ShouldStop(16384); +if (_dots24.get().booleanValue()) { + BA.debugLineNum = 2128;BA.debugLine="For x = 0 To bytes - 1"; +Debug.ShouldStop(32768); +{ +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 = 2129;BA.debugLine="For s = 0 To 2"; +Debug.ShouldStop(65536); +{ +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 = 2130;BA.debugLine="Dim xbyte As Byte = 0"; +Debug.ShouldStop(131072); +_xbyte = BA.numberCast(byte.class, 0);Debug.locals.put("xbyte", _xbyte);Debug.locals.put("xbyte", _xbyte); + BA.debugLineNum = 2131;BA.debugLine="For b = 0 To 7"; +Debug.ShouldStop(262144); +{ +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 = 2133;BA.debugLine="Dim pix As Byte = img.Data(slicestart + ((b +"; +Debug.ShouldStop(1048576); +_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 = 2134;BA.debugLine="If pix <> 0 Then"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean("!",_pix,BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2135;BA.debugLine="xbyte = xbyte + masks(b)"; +Debug.ShouldStop(4194304); +_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 = 2138;BA.debugLine="pixels(x*3+s) = xbyte"; +Debug.ShouldStop(33554432); +_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 = 2142;BA.debugLine="For x = 0 To bytes - 1"; +Debug.ShouldStop(536870912); +{ +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 = 2143;BA.debugLine="Dim xbyte As Byte = 0"; +Debug.ShouldStop(1073741824); +_xbyte = BA.numberCast(byte.class, 0);Debug.locals.put("xbyte", _xbyte);Debug.locals.put("xbyte", _xbyte); + BA.debugLineNum = 2144;BA.debugLine="For b = 0 To 7"; +Debug.ShouldStop(-2147483648); +{ +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 = 2146;BA.debugLine="Dim pix As Byte = img.Data(slicestart + (b * b"; +Debug.ShouldStop(2); +_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 = 2147;BA.debugLine="If pix <> 0 Then"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean("!",_pix,BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2148;BA.debugLine="xbyte = xbyte + masks(b)"; +Debug.ShouldStop(8); +_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 = 2151;BA.debugLine="pixels(x) = xbyte"; +Debug.ShouldStop(64); +_pixels.setArrayElement (_xbyte,BA.numberCast(int.class, _x)); + } +}Debug.locals.put("x", _x); +; + }; + BA.debugLineNum = 2154;BA.debugLine="Return pixels"; +Debug.ShouldStop(512); +if (true) return _pixels; + BA.debugLineNum = 2155;BA.debugLine="End Sub"; +Debug.ShouldStop(1024); +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",24,__ref.getField(false, "ba"),__ref,1755); +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 = 1755;BA.debugLine="Private Sub PlotBox(x0 As Int, y0 As Int, x1 As In"; +Debug.ShouldStop(67108864); + BA.debugLineNum = 1757;BA.debugLine="PlotLine(x0, y0, x0, y1, points)"; +Debug.ShouldStop(268435456); +__ref.runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_plotline" /*RemoteObject*/ ,(Object)(_x0),(Object)(_y0),(Object)(_x0),(Object)(_y1),(Object)(_points)); + BA.debugLineNum = 1758;BA.debugLine="PlotLine(x0, y0, x1, y0, points)"; +Debug.ShouldStop(536870912); +__ref.runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_plotline" /*RemoteObject*/ ,(Object)(_x0),(Object)(_y0),(Object)(_x1),(Object)(_y0),(Object)(_points)); + BA.debugLineNum = 1759;BA.debugLine="PlotLine(x1, y0, x1, y1, points)"; +Debug.ShouldStop(1073741824); +__ref.runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_plotline" /*RemoteObject*/ ,(Object)(_x1),(Object)(_y0),(Object)(_x1),(Object)(_y1),(Object)(_points)); + BA.debugLineNum = 1760;BA.debugLine="PlotLine(x0, y1, x1, y1, points)"; +Debug.ShouldStop(-2147483648); +__ref.runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_plotline" /*RemoteObject*/ ,(Object)(_x0),(Object)(_y1),(Object)(_x1),(Object)(_y1),(Object)(_points)); + BA.debugLineNum = 1761;BA.debugLine="If Fill > 0 Then"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean(">",_fill,BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1762;BA.debugLine="For x = x0 To x1"; +Debug.ShouldStop(2); +{ +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 = 1763;BA.debugLine="PlotLine(x, y0, x, y1, points)"; +Debug.ShouldStop(4); +__ref.runClassMethod (reparto_izca.keymon.lat.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 = 1766;BA.debugLine="End Sub"; +Debug.ShouldStop(32); +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",24,__ref.getField(false, "ba"),__ref,1769); +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 = 1769;BA.debugLine="Private Sub PlotCircle(radius As Int, quadrants As"; +Debug.ShouldStop(256); + BA.debugLineNum = 1771;BA.debugLine="Dim mask As Int = 1"; +Debug.ShouldStop(1024); +_mask = BA.numberCast(int.class, 1);Debug.locals.put("mask", _mask);Debug.locals.put("mask", _mask); + BA.debugLineNum = 1772;BA.debugLine="For q = 3 To 0 Step -1"; +Debug.ShouldStop(2048); +{ +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 = 1773;BA.debugLine="If Bit.And(quadrants, mask) <> 0 Then"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean("!",escposprinter.__c.getField(false,"Bit").runMethod(true,"And",(Object)(_quadrants),(Object)(_mask)),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1774;BA.debugLine="For i = q*90 To q*90+90 Step 1"; +Debug.ShouldStop(8192); +{ +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 = 1775;BA.debugLine="Dim x,y As Double"; +Debug.ShouldStop(16384); +_x = RemoteObject.createImmutable(0);Debug.locals.put("x", _x); +_y = RemoteObject.createImmutable(0);Debug.locals.put("y", _y); + BA.debugLineNum = 1776;BA.debugLine="x = x1 - SinD(i)*radius"; +Debug.ShouldStop(32768); +_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 = 1777;BA.debugLine="y = y1 - CosD(i)*radius"; +Debug.ShouldStop(65536); +_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 = 1778;BA.debugLine="If fill > 0 Then"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean(">",_fill,BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1779;BA.debugLine="PlotLine(x1, y1, x, y, points)"; +Debug.ShouldStop(262144); +__ref.runClassMethod (reparto_izca.keymon.lat.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 = 1781;BA.debugLine="points(Round(x), Round(y)) = 1"; +Debug.ShouldStop(1048576); +_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 = 1785;BA.debugLine="mask = Bit.ShiftLeft(mask, 1)"; +Debug.ShouldStop(16777216); +_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 = 1787;BA.debugLine="End Sub"; +Debug.ShouldStop(67108864); +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",24,__ref.getField(false, "ba"),__ref,1790); +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 = 1790;BA.debugLine="Private Sub PlotLine(x0 As Int, y0 As Int, x1 As I"; +Debug.ShouldStop(536870912); + BA.debugLineNum = 1791;BA.debugLine="If Abs(y1 - y0) < Abs(x1 - x0) Then"; +Debug.ShouldStop(1073741824); +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 = 1792;BA.debugLine="If x0 > x1 Then"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean(">",_x0,BA.numberCast(double.class, _x1))) { + BA.debugLineNum = 1793;BA.debugLine="PlotLineLow(x1, y1, x0, y0, points)"; +Debug.ShouldStop(1); +__ref.runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_plotlinelow" /*RemoteObject*/ ,(Object)(_x1),(Object)(_y1),(Object)(_x0),(Object)(_y0),(Object)(_points)); + }else { + BA.debugLineNum = 1795;BA.debugLine="PlotLineLow(x0, y0, x1, y1, points)"; +Debug.ShouldStop(4); +__ref.runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_plotlinelow" /*RemoteObject*/ ,(Object)(_x0),(Object)(_y0),(Object)(_x1),(Object)(_y1),(Object)(_points)); + }; + }else { + BA.debugLineNum = 1798;BA.debugLine="If y0 > y1 Then"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean(">",_y0,BA.numberCast(double.class, _y1))) { + BA.debugLineNum = 1799;BA.debugLine="PlotLineHigh(x1, y1, x0, y0, points)"; +Debug.ShouldStop(64); +__ref.runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_plotlinehigh" /*RemoteObject*/ ,(Object)(_x1),(Object)(_y1),(Object)(_x0),(Object)(_y0),(Object)(_points)); + }else { + BA.debugLineNum = 1801;BA.debugLine="PlotLineHigh(x0, y0, x1, y1, points)"; +Debug.ShouldStop(256); +__ref.runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_plotlinehigh" /*RemoteObject*/ ,(Object)(_x0),(Object)(_y0),(Object)(_x1),(Object)(_y1),(Object)(_points)); + }; + }; + BA.debugLineNum = 1804;BA.debugLine="End Sub"; +Debug.ShouldStop(2048); +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",24,__ref.getField(false, "ba"),__ref,1806); +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 = 1806;BA.debugLine="Private Sub PlotLineHigh(x0 As Int, y0 As Int, x1"; +Debug.ShouldStop(8192); + BA.debugLineNum = 1807;BA.debugLine="Dim dx As Int = x1 - x0"; +Debug.ShouldStop(16384); +_dx = RemoteObject.solve(new RemoteObject[] {_x1,_x0}, "-",1, 1);Debug.locals.put("dx", _dx);Debug.locals.put("dx", _dx); + BA.debugLineNum = 1808;BA.debugLine="Dim dy As Int = y1 - y0"; +Debug.ShouldStop(32768); +_dy = RemoteObject.solve(new RemoteObject[] {_y1,_y0}, "-",1, 1);Debug.locals.put("dy", _dy);Debug.locals.put("dy", _dy); + BA.debugLineNum = 1809;BA.debugLine="Dim xi As Int = 1"; +Debug.ShouldStop(65536); +_xi = BA.numberCast(int.class, 1);Debug.locals.put("xi", _xi);Debug.locals.put("xi", _xi); + BA.debugLineNum = 1810;BA.debugLine="If dx < 0 Then"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean("<",_dx,BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1811;BA.debugLine="xi = -1"; +Debug.ShouldStop(262144); +_xi = BA.numberCast(int.class, -(double) (0 + 1));Debug.locals.put("xi", _xi); + BA.debugLineNum = 1812;BA.debugLine="dx = -dx"; +Debug.ShouldStop(524288); +_dx = BA.numberCast(int.class, -(double) (0 + _dx.get().intValue()));Debug.locals.put("dx", _dx); + }; + BA.debugLineNum = 1814;BA.debugLine="Dim D As Int = 2*dx - dy"; +Debug.ShouldStop(2097152); +_d = RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(2),_dx,_dy}, "*-",1, 1);Debug.locals.put("D", _d);Debug.locals.put("D", _d); + BA.debugLineNum = 1815;BA.debugLine="Dim x As Int = x0"; +Debug.ShouldStop(4194304); +_x = _x0;Debug.locals.put("x", _x);Debug.locals.put("x", _x); + BA.debugLineNum = 1816;BA.debugLine="For y = y0 To y1"; +Debug.ShouldStop(8388608); +{ +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 = 1817;BA.debugLine="points(x,y) = 1"; +Debug.ShouldStop(16777216); +_points.setArrayElement (BA.numberCast(byte.class, 1),_x,BA.numberCast(int.class, _y)); + BA.debugLineNum = 1818;BA.debugLine="If D > 0 Then"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean(">",_d,BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1819;BA.debugLine="x = x + xi"; +Debug.ShouldStop(67108864); +_x = RemoteObject.solve(new RemoteObject[] {_x,_xi}, "+",1, 1);Debug.locals.put("x", _x); + BA.debugLineNum = 1820;BA.debugLine="D = D - 2*dy"; +Debug.ShouldStop(134217728); +_d = RemoteObject.solve(new RemoteObject[] {_d,RemoteObject.createImmutable(2),_dy}, "-*",1, 1);Debug.locals.put("D", _d); + }; + BA.debugLineNum = 1822;BA.debugLine="D = D + 2*dx"; +Debug.ShouldStop(536870912); +_d = RemoteObject.solve(new RemoteObject[] {_d,RemoteObject.createImmutable(2),_dx}, "+*",1, 1);Debug.locals.put("D", _d); + } +}Debug.locals.put("y", _y); +; + BA.debugLineNum = 1824;BA.debugLine="End Sub"; +Debug.ShouldStop(-2147483648); +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",24,__ref.getField(false, "ba"),__ref,1826); +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 = 1826;BA.debugLine="Private Sub PlotLineLow(x0 As Int, y0 As Int, x1 A"; +Debug.ShouldStop(2); + BA.debugLineNum = 1827;BA.debugLine="Dim dx As Int = x1 - x0"; +Debug.ShouldStop(4); +_dx = RemoteObject.solve(new RemoteObject[] {_x1,_x0}, "-",1, 1);Debug.locals.put("dx", _dx);Debug.locals.put("dx", _dx); + BA.debugLineNum = 1828;BA.debugLine="Dim dy As Int = y1 - y0"; +Debug.ShouldStop(8); +_dy = RemoteObject.solve(new RemoteObject[] {_y1,_y0}, "-",1, 1);Debug.locals.put("dy", _dy);Debug.locals.put("dy", _dy); + BA.debugLineNum = 1829;BA.debugLine="Dim yi As Int = 1"; +Debug.ShouldStop(16); +_yi = BA.numberCast(int.class, 1);Debug.locals.put("yi", _yi);Debug.locals.put("yi", _yi); + BA.debugLineNum = 1830;BA.debugLine="If dy < 0 Then"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean("<",_dy,BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1831;BA.debugLine="yi = -1"; +Debug.ShouldStop(64); +_yi = BA.numberCast(int.class, -(double) (0 + 1));Debug.locals.put("yi", _yi); + BA.debugLineNum = 1832;BA.debugLine="dy = -dy"; +Debug.ShouldStop(128); +_dy = BA.numberCast(int.class, -(double) (0 + _dy.get().intValue()));Debug.locals.put("dy", _dy); + }; + BA.debugLineNum = 1834;BA.debugLine="Dim D As Int = 2*dy - dx"; +Debug.ShouldStop(512); +_d = RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(2),_dy,_dx}, "*-",1, 1);Debug.locals.put("D", _d);Debug.locals.put("D", _d); + BA.debugLineNum = 1835;BA.debugLine="Dim y As Int = y0"; +Debug.ShouldStop(1024); +_y = _y0;Debug.locals.put("y", _y);Debug.locals.put("y", _y); + BA.debugLineNum = 1836;BA.debugLine="For x = x0 To x1"; +Debug.ShouldStop(2048); +{ +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 = 1837;BA.debugLine="points(x,y) = 1"; +Debug.ShouldStop(4096); +_points.setArrayElement (BA.numberCast(byte.class, 1),BA.numberCast(int.class, _x),_y); + BA.debugLineNum = 1838;BA.debugLine="If D > 0 Then"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean(">",_d,BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1839;BA.debugLine="y = y + yi"; +Debug.ShouldStop(16384); +_y = RemoteObject.solve(new RemoteObject[] {_y,_yi}, "+",1, 1);Debug.locals.put("y", _y); + BA.debugLineNum = 1840;BA.debugLine="D = D - 2*dx"; +Debug.ShouldStop(32768); +_d = RemoteObject.solve(new RemoteObject[] {_d,RemoteObject.createImmutable(2),_dx}, "-*",1, 1);Debug.locals.put("D", _d); + }; + BA.debugLineNum = 1842;BA.debugLine="D = D + 2*dy"; +Debug.ShouldStop(131072); +_d = RemoteObject.solve(new RemoteObject[] {_d,RemoteObject.createImmutable(2),_dy}, "+*",1, 1);Debug.locals.put("D", _d); + } +}Debug.locals.put("x", _x); +; + BA.debugLineNum = 1844;BA.debugLine="End Sub"; +Debug.ShouldStop(524288); +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",24,__ref.getField(false, "ba"),__ref,1678); +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 = 1678;BA.debugLine="Private Sub PlotTriangle(x0 As Int, y0 As Int, x1"; +Debug.ShouldStop(8192); + BA.debugLineNum = 1680;BA.debugLine="PlotLine(x0, y0, x1, y1, points)"; +Debug.ShouldStop(32768); +__ref.runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_plotline" /*RemoteObject*/ ,(Object)(_x0),(Object)(_y0),(Object)(_x1),(Object)(_y1),(Object)(_points)); + BA.debugLineNum = 1681;BA.debugLine="PlotLine(x1, y1, x2, y2, points)"; +Debug.ShouldStop(65536); +__ref.runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_plotline" /*RemoteObject*/ ,(Object)(_x1),(Object)(_y1),(Object)(_x2),(Object)(_y2),(Object)(_points)); + BA.debugLineNum = 1682;BA.debugLine="PlotLine(x2, y2, x0, y0, points)"; +Debug.ShouldStop(131072); +__ref.runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_plotline" /*RemoteObject*/ ,(Object)(_x2),(Object)(_y2),(Object)(_x0),(Object)(_y0),(Object)(_points)); + BA.debugLineNum = 1683;BA.debugLine="If Fill > 0 Then"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean(">",_fill,BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1684;BA.debugLine="FillTriangle(x0, y0, x1, y1, x2, y2, points)"; +Debug.ShouldStop(524288); +__ref.runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_filltriangle" /*RemoteObject*/ ,(Object)(_x0),(Object)(_y0),(Object)(_x1),(Object)(_y1),(Object)(_x2),(Object)(_y2),(Object)(_points)); + }; + BA.debugLineNum = 1686;BA.debugLine="End Sub"; +Debug.ShouldStop(2097152); +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",24,__ref.getField(false, "ba"),__ref,1304); +if (RapidSub.canDelegate("printandfeedpaper")) { return __ref.runUserSub(false, "escposprinter","printandfeedpaper", __ref, _units);} +RemoteObject _params = null; +Debug.locals.put("units", _units); + BA.debugLineNum = 1304;BA.debugLine="Public Sub PrintAndFeedPaper(units As Int)"; +Debug.ShouldStop(8388608); + BA.debugLineNum = 1305;BA.debugLine="WriteString(ESC & \"J\")"; +Debug.ShouldStop(16777216); +__ref.runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_esc" /*RemoteObject*/ ),RemoteObject.createImmutable("J")))); + BA.debugLineNum = 1306;BA.debugLine="Dim params(1) As Byte"; +Debug.ShouldStop(33554432); +_params = RemoteObject.createNewArray ("byte", new int[] {1}, new Object[]{});Debug.locals.put("params", _params); + BA.debugLineNum = 1307;BA.debugLine="params(0) = units"; +Debug.ShouldStop(67108864); +_params.setArrayElement (BA.numberCast(byte.class, _units),BA.numberCast(int.class, 0)); + BA.debugLineNum = 1308;BA.debugLine="WriteBytes(params)"; +Debug.ShouldStop(134217728); +__ref.runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writebytes" /*RemoteObject*/ ,(Object)(_params)); + BA.debugLineNum = 1309;BA.debugLine="End Sub"; +Debug.ShouldStop(268435456); +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",24,__ref.getField(false, "ba"),__ref,1981); +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 = 1981;BA.debugLine="Public Sub PrintImage(img As AnImage) As Int"; +Debug.ShouldStop(268435456); + BA.debugLineNum = 1984;BA.debugLine="If img.width > 72 Then Return -1"; +Debug.ShouldStop(-2147483648); +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 = 1985;BA.debugLine="If img.height > 512 Then Return -2"; +Debug.ShouldStop(1); +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 = 1986;BA.debugLine="If img.data.Length < img.width * img.height Then"; +Debug.ShouldStop(2); +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 = 1987;BA.debugLine="Dim xh As Int = img.width / 256"; +Debug.ShouldStop(4); +_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 = 1988;BA.debugLine="Dim xl As Int = img.width - xh * 256"; +Debug.ShouldStop(8); +_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 = 1989;BA.debugLine="Dim yh As Int = img.height / 256"; +Debug.ShouldStop(16); +_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 = 1990;BA.debugLine="Dim yl As Int = img.height - yh * 256"; +Debug.ShouldStop(32); +_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 = 1991;BA.debugLine="Dim params(5) As Byte"; +Debug.ShouldStop(64); +_params = RemoteObject.createNewArray ("byte", new int[] {5}, new Object[]{});Debug.locals.put("params", _params); + BA.debugLineNum = 1992;BA.debugLine="params(0) = 0 '"; +Debug.ShouldStop(128); +_params.setArrayElement (BA.numberCast(byte.class, 0),BA.numberCast(int.class, 0)); + BA.debugLineNum = 1993;BA.debugLine="params(1) = xl"; +Debug.ShouldStop(256); +_params.setArrayElement (BA.numberCast(byte.class, _xl),BA.numberCast(int.class, 1)); + BA.debugLineNum = 1994;BA.debugLine="params(2) = xh"; +Debug.ShouldStop(512); +_params.setArrayElement (BA.numberCast(byte.class, _xh),BA.numberCast(int.class, 2)); + BA.debugLineNum = 1995;BA.debugLine="params(3) = yl"; +Debug.ShouldStop(1024); +_params.setArrayElement (BA.numberCast(byte.class, _yl),BA.numberCast(int.class, 3)); + BA.debugLineNum = 1996;BA.debugLine="params(4) = yh"; +Debug.ShouldStop(2048); +_params.setArrayElement (BA.numberCast(byte.class, _yh),BA.numberCast(int.class, 4)); + BA.debugLineNum = 1997;BA.debugLine="WriteString(GS & \"v0\")"; +Debug.ShouldStop(4096); +__ref.runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_gs" /*RemoteObject*/ ),RemoteObject.createImmutable("v0")))); + BA.debugLineNum = 1998;BA.debugLine="WriteBytes(params)"; +Debug.ShouldStop(8192); +__ref.runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writebytes" /*RemoteObject*/ ,(Object)(_params)); + BA.debugLineNum = 1999;BA.debugLine="WriteBytes(img.data)"; +Debug.ShouldStop(16384); +__ref.runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writebytes" /*RemoteObject*/ ,(Object)(_img.getField(false,"Data" /*RemoteObject*/ ))); + BA.debugLineNum = 2000;BA.debugLine="WriteString(CRLF)"; +Debug.ShouldStop(32768); +__ref.runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(escposprinter.__c.getField(true,"CRLF"))); + BA.debugLineNum = 2001;BA.debugLine="Return 0"; +Debug.ShouldStop(65536); +if (true) return BA.numberCast(int.class, 0); + BA.debugLineNum = 2002;BA.debugLine="End Sub"; +Debug.ShouldStop(131072); +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",24,__ref.getField(false, "ba"),__ref,2071); +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 = 2071;BA.debugLine="Public Sub PrintImage2(width As Int, data() As Byt"; +Debug.ShouldStop(4194304); + BA.debugLineNum = 2072;BA.debugLine="Dim d As String = Chr(0)"; +Debug.ShouldStop(8388608); +_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 = 2073;BA.debugLine="If Not(highdensity) And Not(dotds24 ) Then"; +Debug.ShouldStop(16777216); +if (RemoteObject.solveBoolean(".",escposprinter.__c.runMethod(true,"Not",(Object)(_highdensity))) && RemoteObject.solveBoolean(".",escposprinter.__c.runMethod(true,"Not",(Object)(_dotds24)))) { + BA.debugLineNum = 2074;BA.debugLine="d = Chr(0)"; +Debug.ShouldStop(33554432); +_d = BA.ObjectToString(escposprinter.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 0))));Debug.locals.put("d", _d); + BA.debugLineNum = 2075;BA.debugLine="If width > 288 Then Return -1"; +Debug.ShouldStop(67108864); +if (RemoteObject.solveBoolean(">",_width,BA.numberCast(double.class, 288))) { +if (true) return BA.numberCast(int.class, -(double) (0 + 1));}; + BA.debugLineNum = 2076;BA.debugLine="If data.Length <> width Then Return -3"; +Debug.ShouldStop(134217728); +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 = 2077;BA.debugLine="Else If highdensity And Not(dotds24) Then"; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean(".",_highdensity) && RemoteObject.solveBoolean(".",escposprinter.__c.runMethod(true,"Not",(Object)(_dotds24)))) { + BA.debugLineNum = 2078;BA.debugLine="d = Chr(1)"; +Debug.ShouldStop(536870912); +_d = BA.ObjectToString(escposprinter.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 1))));Debug.locals.put("d", _d); + BA.debugLineNum = 2079;BA.debugLine="If width > 576 Then Return -1"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean(">",_width,BA.numberCast(double.class, 576))) { +if (true) return BA.numberCast(int.class, -(double) (0 + 1));}; + BA.debugLineNum = 2080;BA.debugLine="If data.Length <> width Then Return -3"; +Debug.ShouldStop(-2147483648); +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 = 2081;BA.debugLine="Else If Not(highdensity) And dotds24 Then"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean(".",escposprinter.__c.runMethod(true,"Not",(Object)(_highdensity))) && RemoteObject.solveBoolean(".",_dotds24)) { + BA.debugLineNum = 2082;BA.debugLine="d = Chr(32)"; +Debug.ShouldStop(2); +_d = BA.ObjectToString(escposprinter.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 32))));Debug.locals.put("d", _d); + BA.debugLineNum = 2083;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 = 2084;BA.debugLine="If data.Length <> width*3 Then Return -3"; +Debug.ShouldStop(8); +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 = 2086;BA.debugLine="d = Chr(33)"; +Debug.ShouldStop(32); +_d = BA.ObjectToString(escposprinter.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 33))));Debug.locals.put("d", _d); + BA.debugLineNum = 2087;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 = 2088;BA.debugLine="If data.Length <> width*3 Then Return -3"; +Debug.ShouldStop(128); +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 = 2090;BA.debugLine="Dim xh As Int = width / 256"; +Debug.ShouldStop(512); +_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 = 2091;BA.debugLine="Dim xl As Int = width - xh * 256"; +Debug.ShouldStop(1024); +_xl = RemoteObject.solve(new RemoteObject[] {_width,_xh,RemoteObject.createImmutable(256)}, "-*",1, 1);Debug.locals.put("xl", _xl);Debug.locals.put("xl", _xl); + BA.debugLineNum = 2092;BA.debugLine="Dim params(2) As Byte"; +Debug.ShouldStop(2048); +_params = RemoteObject.createNewArray ("byte", new int[] {2}, new Object[]{});Debug.locals.put("params", _params); + BA.debugLineNum = 2093;BA.debugLine="params(0) = xl"; +Debug.ShouldStop(4096); +_params.setArrayElement (BA.numberCast(byte.class, _xl),BA.numberCast(int.class, 0)); + BA.debugLineNum = 2094;BA.debugLine="params(1) = xh"; +Debug.ShouldStop(8192); +_params.setArrayElement (BA.numberCast(byte.class, _xh),BA.numberCast(int.class, 1)); + BA.debugLineNum = 2095;BA.debugLine="WriteString(ESC & \"*\" & d)"; +Debug.ShouldStop(16384); +__ref.runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_esc" /*RemoteObject*/ ),RemoteObject.createImmutable("*"),_d))); + BA.debugLineNum = 2096;BA.debugLine="WriteBytes(params)"; +Debug.ShouldStop(32768); +__ref.runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writebytes" /*RemoteObject*/ ,(Object)(_params)); + BA.debugLineNum = 2097;BA.debugLine="WriteBytes(data)"; +Debug.ShouldStop(65536); +__ref.runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writebytes" /*RemoteObject*/ ,(Object)(_data)); + BA.debugLineNum = 2098;BA.debugLine="WriteString(CRLF)"; +Debug.ShouldStop(131072); +__ref.runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(escposprinter.__c.getField(true,"CRLF"))); + BA.debugLineNum = 2099;BA.debugLine="Return 0"; +Debug.ShouldStop(262144); +if (true) return BA.numberCast(int.class, 0); + BA.debugLineNum = 2100;BA.debugLine="End Sub"; +Debug.ShouldStop(524288); +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",24,__ref.getField(false, "ba"),__ref,1293); +if (RapidSub.canDelegate("reset")) { return __ref.runUserSub(false, "escposprinter","reset", __ref);} + BA.debugLineNum = 1293;BA.debugLine="Public Sub Reset"; +Debug.ShouldStop(4096); + BA.debugLineNum = 1294;BA.debugLine="WriteString(ESC & \"@\")"; +Debug.ShouldStop(8192); +__ref.runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_esc" /*RemoteObject*/ ),RemoteObject.createImmutable("@")))); + BA.debugLineNum = 1295;BA.debugLine="End Sub"; +Debug.ShouldStop(16384); +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",24,__ref.getField(false, "ba"),__ref,2259); +if (RapidSub.canDelegate("serial1_connected")) { return __ref.runUserSub(false, "escposprinter","serial1_connected", __ref, _success);} +Debug.locals.put("Success", _success); + BA.debugLineNum = 2259;BA.debugLine="Private Sub Serial1_Connected (Success As Boolean)"; +Debug.ShouldStop(262144); + BA.debugLineNum = 2260;BA.debugLine="If Success Then"; +Debug.ShouldStop(524288); +if (_success.get().booleanValue()) { + BA.debugLineNum = 2261;BA.debugLine="Astream.Initialize(Serial1.InputStream, Serial1."; +Debug.ShouldStop(1048576); +__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 = 2262;BA.debugLine="Connected = True"; +Debug.ShouldStop(2097152); +__ref.setField ("_connected" /*RemoteObject*/ ,escposprinter.__c.getField(true,"True")); + BA.debugLineNum = 2263;BA.debugLine="ConnectedError = \"\""; +Debug.ShouldStop(4194304); +__ref.setField ("_connectederror" /*RemoteObject*/ ,BA.ObjectToString("")); + BA.debugLineNum = 2264;BA.debugLine="Serial1.Listen"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_serial1" /*RemoteObject*/ ).runVoidMethod ("Listen",__ref.getField(false, "ba")); + }else { + BA.debugLineNum = 2266;BA.debugLine="Connected = False"; +Debug.ShouldStop(33554432); +__ref.setField ("_connected" /*RemoteObject*/ ,escposprinter.__c.getField(true,"False")); + BA.debugLineNum = 2267;BA.debugLine="ConnectedError = LastException.Message"; +Debug.ShouldStop(67108864); +__ref.setField ("_connectederror" /*RemoteObject*/ ,escposprinter.__c.runMethod(false,"LastException",__ref.runMethod(false,"getActivityBA")).runMethod(true,"getMessage")); + }; + BA.debugLineNum = 2269;BA.debugLine="If SubExists(CallBack, EventName & \"_Connected\")"; +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("_Connected")))).get().booleanValue()) { + BA.debugLineNum = 2270;BA.debugLine="CallSub2(CallBack, EventName & \"_Connected\", Suc"; +Debug.ShouldStop(536870912); +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 = 2272;BA.debugLine="End Sub"; +Debug.ShouldStop(-2147483648); +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",24,__ref.getField(false, "ba"),__ref,2163); +if (RapidSub.canDelegate("setbarcodeheight")) { return __ref.runUserSub(false, "escposprinter","setbarcodeheight", __ref, _height);} +RemoteObject _params = null; +Debug.locals.put("height", _height); + BA.debugLineNum = 2163;BA.debugLine="Public Sub setBarCodeHeight(height As Int)"; +Debug.ShouldStop(262144); + BA.debugLineNum = 2164;BA.debugLine="WriteString(GS & \"h\")"; +Debug.ShouldStop(524288); +__ref.runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_gs" /*RemoteObject*/ ),RemoteObject.createImmutable("h")))); + BA.debugLineNum = 2165;BA.debugLine="Dim params(1) As Byte"; +Debug.ShouldStop(1048576); +_params = RemoteObject.createNewArray ("byte", new int[] {1}, new Object[]{});Debug.locals.put("params", _params); + BA.debugLineNum = 2166;BA.debugLine="params(0) = height"; +Debug.ShouldStop(2097152); +_params.setArrayElement (BA.numberCast(byte.class, _height),BA.numberCast(int.class, 0)); + BA.debugLineNum = 2167;BA.debugLine="WriteBytes(params)"; +Debug.ShouldStop(4194304); +__ref.runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writebytes" /*RemoteObject*/ ,(Object)(_params)); + BA.debugLineNum = 2168;BA.debugLine="End Sub"; +Debug.ShouldStop(8388608); +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",24,__ref.getField(false, "ba"),__ref,2172); +if (RapidSub.canDelegate("setbarcodeleft")) { return __ref.runUserSub(false, "escposprinter","setbarcodeleft", __ref, _left);} +RemoteObject _params = null; +Debug.locals.put("left", _left); + BA.debugLineNum = 2172;BA.debugLine="Public Sub setBarCodeLeft(left As Int)"; +Debug.ShouldStop(134217728); + BA.debugLineNum = 2173;BA.debugLine="WriteString(GS & \"x\")"; +Debug.ShouldStop(268435456); +__ref.runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_gs" /*RemoteObject*/ ),RemoteObject.createImmutable("x")))); + BA.debugLineNum = 2174;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 = 2175;BA.debugLine="params(0) = left"; +Debug.ShouldStop(1073741824); +_params.setArrayElement (BA.numberCast(byte.class, _left),BA.numberCast(int.class, 0)); + BA.debugLineNum = 2176;BA.debugLine="WriteBytes(params)"; +Debug.ShouldStop(-2147483648); +__ref.runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writebytes" /*RemoteObject*/ ,(Object)(_params)); + BA.debugLineNum = 2177;BA.debugLine="End Sub"; +Debug.ShouldStop(1); +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",24,__ref.getField(false, "ba"),__ref,2182); +if (RapidSub.canDelegate("setbarcodewidth")) { return __ref.runUserSub(false, "escposprinter","setbarcodewidth", __ref, _width);} +RemoteObject _params = null; +Debug.locals.put("width", _width); + BA.debugLineNum = 2182;BA.debugLine="Public Sub setBarCodeWidth(width As Int)"; +Debug.ShouldStop(32); + BA.debugLineNum = 2183;BA.debugLine="WriteString(GS & \"w\")"; +Debug.ShouldStop(64); +__ref.runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_gs" /*RemoteObject*/ ),RemoteObject.createImmutable("w")))); + BA.debugLineNum = 2184;BA.debugLine="Dim params(1) As Byte"; +Debug.ShouldStop(128); +_params = RemoteObject.createNewArray ("byte", new int[] {1}, new Object[]{});Debug.locals.put("params", _params); + BA.debugLineNum = 2185;BA.debugLine="params(0) = width"; +Debug.ShouldStop(256); +_params.setArrayElement (BA.numberCast(byte.class, _width),BA.numberCast(int.class, 0)); + BA.debugLineNum = 2186;BA.debugLine="WriteBytes(params)"; +Debug.ShouldStop(512); +__ref.runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writebytes" /*RemoteObject*/ ,(Object)(_params)); + BA.debugLineNum = 2187;BA.debugLine="End Sub"; +Debug.ShouldStop(1024); +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",24,__ref.getField(false, "ba"),__ref,1391); +if (RapidSub.canDelegate("setcharacterfont")) { return __ref.runUserSub(false, "escposprinter","setcharacterfont", __ref, _font);} +Debug.locals.put("font", _font); + BA.debugLineNum = 1391;BA.debugLine="Public Sub setCharacterFont(font As Int)"; +Debug.ShouldStop(16384); + BA.debugLineNum = 1392;BA.debugLine="WriteString(ESC & \"M\" & Chr(Bit.And(1,font)))"; +Debug.ShouldStop(32768); +__ref.runClassMethod (reparto_izca.keymon.lat.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 = 1393;BA.debugLine="End Sub"; +Debug.ShouldStop(65536); +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",24,__ref.getField(false, "ba"),__ref,1312); +if (RapidSub.canDelegate("setcharacterspacing")) { return __ref.runUserSub(false, "escposprinter","setcharacterspacing", __ref, _spacing);} +RemoteObject _params = null; +Debug.locals.put("spacing", _spacing); + BA.debugLineNum = 1312;BA.debugLine="Public Sub setCharacterSpacing(spacing As Int)"; +Debug.ShouldStop(-2147483648); + BA.debugLineNum = 1313;BA.debugLine="WriteString(ESC & \" \")"; +Debug.ShouldStop(1); +__ref.runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_esc" /*RemoteObject*/ ),RemoteObject.createImmutable(" ")))); + BA.debugLineNum = 1314;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 = 1315;BA.debugLine="params(0) = spacing"; +Debug.ShouldStop(4); +_params.setArrayElement (BA.numberCast(byte.class, _spacing),BA.numberCast(int.class, 0)); + BA.debugLineNum = 1316;BA.debugLine="WriteBytes(params)"; +Debug.ShouldStop(8); +__ref.runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writebytes" /*RemoteObject*/ ,(Object)(_params)); + BA.debugLineNum = 1317;BA.debugLine="End Sub"; +Debug.ShouldStop(16); +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",24,__ref.getField(false, "ba"),__ref,1380); +if (RapidSub.canDelegate("setcodepage")) { return __ref.runUserSub(false, "escposprinter","setcodepage", __ref, _codepage);} +RemoteObject _params = null; +Debug.locals.put("codepage", _codepage); + BA.debugLineNum = 1380;BA.debugLine="Public Sub setCodePage(codepage As Int)"; +Debug.ShouldStop(8); + BA.debugLineNum = 1381;BA.debugLine="WriteString(ESC & \"t\")"; +Debug.ShouldStop(16); +__ref.runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_esc" /*RemoteObject*/ ),RemoteObject.createImmutable("t")))); + BA.debugLineNum = 1382;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 = 1383;BA.debugLine="params(0) = codepage"; +Debug.ShouldStop(64); +_params.setArrayElement (BA.numberCast(byte.class, _codepage),BA.numberCast(int.class, 0)); + BA.debugLineNum = 1384;BA.debugLine="WriteBytes(params)"; +Debug.ShouldStop(128); +__ref.runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writebytes" /*RemoteObject*/ ,(Object)(_params)); + BA.debugLineNum = 1385;BA.debugLine="End Sub"; +Debug.ShouldStop(256); +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",24,__ref.getField(false, "ba"),__ref,2204); +if (RapidSub.canDelegate("sethrifont")) { return __ref.runUserSub(false, "escposprinter","sethrifont", __ref, _font);} +Debug.locals.put("font", _font); + BA.debugLineNum = 2204;BA.debugLine="Public Sub setHriFont(font As Int)"; +Debug.ShouldStop(134217728); + BA.debugLineNum = 2205;BA.debugLine="WriteString(GS & \"f\" & Chr(font))"; +Debug.ShouldStop(268435456); +__ref.runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_gs" /*RemoteObject*/ ),RemoteObject.createImmutable("f"),escposprinter.__c.runMethod(true,"Chr",(Object)(_font))))); + BA.debugLineNum = 2206;BA.debugLine="End Sub"; +Debug.ShouldStop(536870912); +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",24,__ref.getField(false, "ba"),__ref,2193); +if (RapidSub.canDelegate("sethriposn")) { return __ref.runUserSub(false, "escposprinter","sethriposn", __ref, _posn);} +RemoteObject _params = null; +Debug.locals.put("posn", _posn); + BA.debugLineNum = 2193;BA.debugLine="Public Sub setHriPosn(posn As Int)"; +Debug.ShouldStop(65536); + BA.debugLineNum = 2194;BA.debugLine="WriteString(GS & \"H\")"; +Debug.ShouldStop(131072); +__ref.runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_gs" /*RemoteObject*/ ),RemoteObject.createImmutable("H")))); + BA.debugLineNum = 2195;BA.debugLine="Dim params(1) As Byte"; +Debug.ShouldStop(262144); +_params = RemoteObject.createNewArray ("byte", new int[] {1}, new Object[]{});Debug.locals.put("params", _params); + BA.debugLineNum = 2196;BA.debugLine="params(0) = posn"; +Debug.ShouldStop(524288); +_params.setArrayElement (BA.numberCast(byte.class, _posn),BA.numberCast(int.class, 0)); + BA.debugLineNum = 2197;BA.debugLine="WriteBytes(params)"; +Debug.ShouldStop(1048576); +__ref.runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writebytes" /*RemoteObject*/ ,(Object)(_params)); + BA.debugLineNum = 2198;BA.debugLine="End Sub"; +Debug.ShouldStop(2097152); +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",24,__ref.getField(false, "ba"),__ref,1374); +if (RapidSub.canDelegate("setjustify")) { return __ref.runUserSub(false, "escposprinter","setjustify", __ref, _justify);} +Debug.locals.put("justify", _justify); + BA.debugLineNum = 1374;BA.debugLine="Public Sub setJustify(justify As Int)"; +Debug.ShouldStop(536870912); + BA.debugLineNum = 1375;BA.debugLine="WriteString(ESC & \"a\" & Chr(justify + 48))"; +Debug.ShouldStop(1073741824); +__ref.runClassMethod (reparto_izca.keymon.lat.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 = 1376;BA.debugLine="End Sub"; +Debug.ShouldStop(-2147483648); +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",24,__ref.getField(false, "ba"),__ref,1322); +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 = 1322;BA.debugLine="Public Sub setLeftInset(inset As Int)"; +Debug.ShouldStop(512); + BA.debugLineNum = 1323;BA.debugLine="Dim dh As Int = inset / 256"; +Debug.ShouldStop(1024); +_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 = 1324;BA.debugLine="Dim dl As Int = inset - dh"; +Debug.ShouldStop(2048); +_dl = RemoteObject.solve(new RemoteObject[] {_inset,_dh}, "-",1, 1);Debug.locals.put("dl", _dl);Debug.locals.put("dl", _dl); + BA.debugLineNum = 1325;BA.debugLine="WriteString(ESC & \"$\" & Chr(dl) & Chr(dh))"; +Debug.ShouldStop(4096); +__ref.runClassMethod (reparto_izca.keymon.lat.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 = 1326;BA.debugLine="Dim params(2) As Byte"; +Debug.ShouldStop(8192); +_params = RemoteObject.createNewArray ("byte", new int[] {2}, new Object[]{});Debug.locals.put("params", _params); + BA.debugLineNum = 1327;BA.debugLine="params(0) = dl"; +Debug.ShouldStop(16384); +_params.setArrayElement (BA.numberCast(byte.class, _dl),BA.numberCast(int.class, 0)); + BA.debugLineNum = 1328;BA.debugLine="params(1) = dh"; +Debug.ShouldStop(32768); +_params.setArrayElement (BA.numberCast(byte.class, _dh),BA.numberCast(int.class, 1)); + BA.debugLineNum = 1329;BA.debugLine="WriteBytes(params)"; +Debug.ShouldStop(65536); +__ref.runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writebytes" /*RemoteObject*/ ,(Object)(_params)); + BA.debugLineNum = 1330;BA.debugLine="End Sub"; +Debug.ShouldStop(131072); +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",24,__ref.getField(false, "ba"),__ref,1335); +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 = 1335;BA.debugLine="Public Sub setLeftMargin(margin As Int)"; +Debug.ShouldStop(4194304); + BA.debugLineNum = 1336;BA.debugLine="Dim dh As Int = margin / 256"; +Debug.ShouldStop(8388608); +_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 = 1337;BA.debugLine="Dim dl As Int = margin - dh"; +Debug.ShouldStop(16777216); +_dl = RemoteObject.solve(new RemoteObject[] {_margin,_dh}, "-",1, 1);Debug.locals.put("dl", _dl);Debug.locals.put("dl", _dl); + BA.debugLineNum = 1338;BA.debugLine="WriteString(GS & \"L\")"; +Debug.ShouldStop(33554432); +__ref.runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_gs" /*RemoteObject*/ ),RemoteObject.createImmutable("L")))); + BA.debugLineNum = 1339;BA.debugLine="Dim params(2) As Byte"; +Debug.ShouldStop(67108864); +_params = RemoteObject.createNewArray ("byte", new int[] {2}, new Object[]{});Debug.locals.put("params", _params); + BA.debugLineNum = 1340;BA.debugLine="params(0) = dl"; +Debug.ShouldStop(134217728); +_params.setArrayElement (BA.numberCast(byte.class, _dl),BA.numberCast(int.class, 0)); + BA.debugLineNum = 1341;BA.debugLine="params(1) = dh"; +Debug.ShouldStop(268435456); +_params.setArrayElement (BA.numberCast(byte.class, _dh),BA.numberCast(int.class, 1)); + BA.debugLineNum = 1342;BA.debugLine="WriteBytes(params)"; +Debug.ShouldStop(536870912); +__ref.runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writebytes" /*RemoteObject*/ ,(Object)(_params)); + BA.debugLineNum = 1343;BA.debugLine="End Sub"; +Debug.ShouldStop(1073741824); +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",24,__ref.getField(false, "ba"),__ref,1361); +if (RapidSub.canDelegate("setlinespacing")) { return __ref.runUserSub(false, "escposprinter","setlinespacing", __ref, _spacing);} +RemoteObject _params = null; +Debug.locals.put("spacing", _spacing); + BA.debugLineNum = 1361;BA.debugLine="Public Sub setLineSpacing(spacing As Int)"; +Debug.ShouldStop(65536); + BA.debugLineNum = 1362;BA.debugLine="If spacing < 0 Then"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean("<",_spacing,BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1363;BA.debugLine="WriteString(ESC & \"2\")"; +Debug.ShouldStop(262144); +__ref.runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_esc" /*RemoteObject*/ ),RemoteObject.createImmutable("2")))); + }else { + BA.debugLineNum = 1365;BA.debugLine="WriteString(ESC & \"3\")"; +Debug.ShouldStop(1048576); +__ref.runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_esc" /*RemoteObject*/ ),RemoteObject.createImmutable("3")))); + BA.debugLineNum = 1366;BA.debugLine="Dim params(1) As Byte"; +Debug.ShouldStop(2097152); +_params = RemoteObject.createNewArray ("byte", new int[] {1}, new Object[]{});Debug.locals.put("params", _params); + BA.debugLineNum = 1367;BA.debugLine="params(0) = spacing"; +Debug.ShouldStop(4194304); +_params.setArrayElement (BA.numberCast(byte.class, _spacing),BA.numberCast(int.class, 0)); + BA.debugLineNum = 1368;BA.debugLine="WriteBytes(params)"; +Debug.ShouldStop(8388608); +__ref.runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writebytes" /*RemoteObject*/ ,(Object)(_params)); + }; + BA.debugLineNum = 1370;BA.debugLine="End Sub"; +Debug.ShouldStop(33554432); +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",24,__ref.getField(false, "ba"),__ref,1349); +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 = 1349;BA.debugLine="Public Sub setPrintWidth(width As Int)"; +Debug.ShouldStop(16); + BA.debugLineNum = 1350;BA.debugLine="Dim dh As Int = width / 256"; +Debug.ShouldStop(32); +_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 = 1351;BA.debugLine="Dim dl As Int = width - dh"; +Debug.ShouldStop(64); +_dl = RemoteObject.solve(new RemoteObject[] {_width,_dh}, "-",1, 1);Debug.locals.put("dl", _dl);Debug.locals.put("dl", _dl); + BA.debugLineNum = 1352;BA.debugLine="WriteString(GS & \"W\")"; +Debug.ShouldStop(128); +__ref.runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_gs" /*RemoteObject*/ ),RemoteObject.createImmutable("W")))); + BA.debugLineNum = 1353;BA.debugLine="Dim params(2) As Byte"; +Debug.ShouldStop(256); +_params = RemoteObject.createNewArray ("byte", new int[] {2}, new Object[]{});Debug.locals.put("params", _params); + BA.debugLineNum = 1354;BA.debugLine="params(0) = dl"; +Debug.ShouldStop(512); +_params.setArrayElement (BA.numberCast(byte.class, _dl),BA.numberCast(int.class, 0)); + BA.debugLineNum = 1355;BA.debugLine="params(1) = dh"; +Debug.ShouldStop(1024); +_params.setArrayElement (BA.numberCast(byte.class, _dh),BA.numberCast(int.class, 1)); + BA.debugLineNum = 1356;BA.debugLine="WriteBytes(params)"; +Debug.ShouldStop(2048); +__ref.runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writebytes" /*RemoteObject*/ ,(Object)(_params)); + BA.debugLineNum = 1357;BA.debugLine="End Sub"; +Debug.ShouldStop(4096); +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",24,__ref.getField(false, "ba"),__ref,1413); +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 = 1413;BA.debugLine="Public Sub setRelativePrintPosn(relposn As Int)"; +Debug.ShouldStop(16); + BA.debugLineNum = 1414;BA.debugLine="Dim dh As Int = relposn / 256"; +Debug.ShouldStop(32); +_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 = 1415;BA.debugLine="Dim dl As Int = relposn - dh"; +Debug.ShouldStop(64); +_dl = RemoteObject.solve(new RemoteObject[] {_relposn,_dh}, "-",1, 1);Debug.locals.put("dl", _dl);Debug.locals.put("dl", _dl); + BA.debugLineNum = 1416;BA.debugLine="WriteString(ESC & \"\\\")"; +Debug.ShouldStop(128); +__ref.runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_esc" /*RemoteObject*/ ),RemoteObject.createImmutable("\\")))); + BA.debugLineNum = 1417;BA.debugLine="Dim params(2) As Byte"; +Debug.ShouldStop(256); +_params = RemoteObject.createNewArray ("byte", new int[] {2}, new Object[]{});Debug.locals.put("params", _params); + BA.debugLineNum = 1418;BA.debugLine="params(0) = dl"; +Debug.ShouldStop(512); +_params.setArrayElement (BA.numberCast(byte.class, _dl),BA.numberCast(int.class, 0)); + BA.debugLineNum = 1419;BA.debugLine="params(1) = dh"; +Debug.ShouldStop(1024); +_params.setArrayElement (BA.numberCast(byte.class, _dh),BA.numberCast(int.class, 1)); + BA.debugLineNum = 1420;BA.debugLine="WriteBytes(params)"; +Debug.ShouldStop(2048); +__ref.runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writebytes" /*RemoteObject*/ ,(Object)(_params)); + BA.debugLineNum = 1421;BA.debugLine="End Sub"; +Debug.ShouldStop(4096); +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",24,__ref.getField(false, "ba"),__ref,1399); +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 = 1399;BA.debugLine="Public Sub setTabPositions(tabs() As Int)"; +Debug.ShouldStop(4194304); + BA.debugLineNum = 1400;BA.debugLine="WriteString(ESC & \"D\")"; +Debug.ShouldStop(8388608); +__ref.runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_esc" /*RemoteObject*/ ),RemoteObject.createImmutable("D")))); + BA.debugLineNum = 1401;BA.debugLine="Dim data(tabs.Length+1) As Byte"; +Debug.ShouldStop(16777216); +_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 = 1402;BA.debugLine="For i = 0 To tabs.Length - 1"; +Debug.ShouldStop(33554432); +{ +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 = 1403;BA.debugLine="data(i) = tabs(i)"; +Debug.ShouldStop(67108864); +_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 = 1405;BA.debugLine="data(tabs.Length) = 0"; +Debug.ShouldStop(268435456); +_data.setArrayElement (BA.numberCast(byte.class, 0),_tabs.getField(true,"length")); + BA.debugLineNum = 1406;BA.debugLine="WriteBytes(data)"; +Debug.ShouldStop(536870912); +__ref.runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writebytes" /*RemoteObject*/ ,(Object)(_data)); + BA.debugLineNum = 1407;BA.debugLine="End Sub"; +Debug.ShouldStop(1073741824); +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",24,__ref.getField(false, "ba"),__ref,1473); +if (RapidSub.canDelegate("setusecustomcharacters")) { return __ref.runUserSub(false, "escposprinter","setusecustomcharacters", __ref, _custom);} +Debug.locals.put("custom", _custom); + BA.debugLineNum = 1473;BA.debugLine="Public Sub setUseCustomCharacters(custom As Boolea"; +Debug.ShouldStop(1); + BA.debugLineNum = 1474;BA.debugLine="If custom Then"; +Debug.ShouldStop(2); +if (_custom.get().booleanValue()) { + BA.debugLineNum = 1475;BA.debugLine="WriteString(ESC & \"%1\")"; +Debug.ShouldStop(4); +__ref.runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_esc" /*RemoteObject*/ ),RemoteObject.createImmutable("%1")))); + }else { + BA.debugLineNum = 1477;BA.debugLine="WriteString(ESC & \"%0\")"; +Debug.ShouldStop(16); +__ref.runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_esc" /*RemoteObject*/ ),RemoteObject.createImmutable("%0")))); + }; + 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 _thresholdimage(RemoteObject __ref,RemoteObject _img,RemoteObject _threshold) throws Exception{ +try { + Debug.PushSubsStack("ThresholdImage (escposprinter) ","escposprinter",24,__ref.getField(false, "ba"),__ref,1884); +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("reparto_izca.keymon.lat.escposprinter._animage"); +Debug.locals.put("img", _img); +Debug.locals.put("threshold", _threshold); + BA.debugLineNum = 1884;BA.debugLine="Sub ThresholdImage(img As AnImage, threshold As In"; +Debug.ShouldStop(134217728); + BA.debugLineNum = 1885;BA.debugLine="Dim pixels(img.Data.Length) As Byte"; +Debug.ShouldStop(268435456); +_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 = 1886;BA.debugLine="For i = 0 To pixels.Length - 1"; +Debug.ShouldStop(536870912); +{ +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 = 1887;BA.debugLine="Dim lum As Int = Bit.And(img.Data(i), 0xff) ' by"; +Debug.ShouldStop(1073741824); +_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 = 1888;BA.debugLine="If lum < threshold Then"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean("<",_lum,BA.numberCast(double.class, _threshold))) { + BA.debugLineNum = 1889;BA.debugLine="lum = 1"; +Debug.ShouldStop(1); +_lum = BA.numberCast(int.class, 1);Debug.locals.put("lum", _lum); + }else { + BA.debugLineNum = 1891;BA.debugLine="lum = 0"; +Debug.ShouldStop(4); +_lum = BA.numberCast(int.class, 0);Debug.locals.put("lum", _lum); + }; + BA.debugLineNum = 1893;BA.debugLine="pixels(i) = lum"; +Debug.ShouldStop(16); +_pixels.setArrayElement (BA.numberCast(byte.class, _lum),BA.numberCast(int.class, _i)); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 1895;BA.debugLine="Dim ret As AnImage"; +Debug.ShouldStop(64); +_ret = RemoteObject.createNew ("reparto_izca.keymon.lat.escposprinter._animage");Debug.locals.put("ret", _ret); + BA.debugLineNum = 1896;BA.debugLine="ret.Width = img.Width"; +Debug.ShouldStop(128); +_ret.setField ("Width" /*RemoteObject*/ ,_img.getField(true,"Width" /*RemoteObject*/ )); + BA.debugLineNum = 1897;BA.debugLine="ret.Height = img.Height"; +Debug.ShouldStop(256); +_ret.setField ("Height" /*RemoteObject*/ ,_img.getField(true,"Height" /*RemoteObject*/ )); + BA.debugLineNum = 1898;BA.debugLine="ret.Data = pixels"; +Debug.ShouldStop(512); +_ret.setField ("Data" /*RemoteObject*/ ,_pixels); + BA.debugLineNum = 1899;BA.debugLine="Return ret"; +Debug.ShouldStop(1024); +if (true) return _ret; + BA.debugLineNum = 1900;BA.debugLine="End Sub"; +Debug.ShouldStop(2048); +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",24,__ref.getField(false, "ba"),__ref,2220); +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 = 2220;BA.debugLine="Public Sub WriteBarCode(bartype As String, data As"; +Debug.ShouldStop(2048); + BA.debugLineNum = 2221;BA.debugLine="Dim databytes() As Byte = data.GetBytes(\"ASCII\")"; +Debug.ShouldStop(4096); +_databytes = _data.runMethod(false,"getBytes",(Object)(RemoteObject.createImmutable("ASCII")));Debug.locals.put("databytes", _databytes);Debug.locals.put("databytes", _databytes); + BA.debugLineNum = 2222;BA.debugLine="Dim dlow As Int = databytes.Length"; +Debug.ShouldStop(8192); +_dlow = _databytes.getField(true,"length");Debug.locals.put("dlow", _dlow);Debug.locals.put("dlow", _dlow); + BA.debugLineNum = 2223;BA.debugLine="Log(\"Barcode \" & bartype & \", Size \" & dlow & \","; +Debug.ShouldStop(16384); +escposprinter.__c.runVoidMethod ("LogImpl","868943875",RemoteObject.concat(RemoteObject.createImmutable("Barcode "),_bartype,RemoteObject.createImmutable(", Size "),_dlow,RemoteObject.createImmutable(", "),_data),0); + BA.debugLineNum = 2224;BA.debugLine="WriteString(GS & \"k\" & bartype.ToUpperCase.CharAt"; +Debug.ShouldStop(32768); +__ref.runClassMethod (reparto_izca.keymon.lat.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 = 2225;BA.debugLine="Dim params(1) As Byte"; +Debug.ShouldStop(65536); +_params = RemoteObject.createNewArray ("byte", new int[] {1}, new Object[]{});Debug.locals.put("params", _params); + BA.debugLineNum = 2226;BA.debugLine="params(0) = dlow"; +Debug.ShouldStop(131072); +_params.setArrayElement (BA.numberCast(byte.class, _dlow),BA.numberCast(int.class, 0)); + BA.debugLineNum = 2227;BA.debugLine="WriteBytes(params)"; +Debug.ShouldStop(262144); +__ref.runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writebytes" /*RemoteObject*/ ,(Object)(_params)); + BA.debugLineNum = 2228;BA.debugLine="WriteBytes(databytes)"; +Debug.ShouldStop(524288); +__ref.runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writebytes" /*RemoteObject*/ ,(Object)(_databytes)); + BA.debugLineNum = 2229;BA.debugLine="End Sub"; +Debug.ShouldStop(1048576); +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",24,__ref.getField(false, "ba"),__ref,1425); +if (RapidSub.canDelegate("writebytes")) { return __ref.runUserSub(false, "escposprinter","writebytes", __ref, _data);} +Debug.locals.put("data", _data); + BA.debugLineNum = 1425;BA.debugLine="Public Sub WriteBytes(data() As Byte)"; +Debug.ShouldStop(65536); + BA.debugLineNum = 1426;BA.debugLine="If Connected Then"; +Debug.ShouldStop(131072); +if (__ref.getField(true,"_connected" /*RemoteObject*/ ).get().booleanValue()) { + BA.debugLineNum = 1427;BA.debugLine="Astream.Write(data)"; +Debug.ShouldStop(262144); +__ref.getField(false,"_astream" /*RemoteObject*/ ).runVoidMethod ("Write",(Object)(_data)); + }; + BA.debugLineNum = 1429;BA.debugLine="End Sub"; +Debug.ShouldStop(1048576); +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",24,__ref.getField(false, "ba"),__ref,2236); +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 = 2236;BA.debugLine="Public Sub WriteQRCode(size As Int, EC As String,"; +Debug.ShouldStop(134217728); + BA.debugLineNum = 2237;BA.debugLine="Dim databytes() As Byte = data.GetBytes(\"ISO-8859"; +Debug.ShouldStop(268435456); +_databytes = _data.runMethod(false,"getBytes",(Object)(RemoteObject.createImmutable("ISO-8859-1")));Debug.locals.put("databytes", _databytes);Debug.locals.put("databytes", _databytes); + BA.debugLineNum = 2238;BA.debugLine="Dim dhigh As Int = databytes.Length / 256"; +Debug.ShouldStop(536870912); +_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 = 2239;BA.debugLine="Dim dlow As Int = databytes.Length - dhigh*256"; +Debug.ShouldStop(1073741824); +_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 = 2240;BA.debugLine="Log(\"QR Code : Size \" & size & \", EC \" & EC & \","; +Debug.ShouldStop(-2147483648); +escposprinter.__c.runVoidMethod ("LogImpl","869009412",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 = 2241;BA.debugLine="Dim params(3) As Byte"; +Debug.ShouldStop(1); +_params = RemoteObject.createNewArray ("byte", new int[] {3}, new Object[]{});Debug.locals.put("params", _params); + BA.debugLineNum = 2242;BA.debugLine="params(0) = scale"; +Debug.ShouldStop(2); +_params.setArrayElement (BA.numberCast(byte.class, _scale),BA.numberCast(int.class, 0)); + BA.debugLineNum = 2243;BA.debugLine="params(1) = dlow"; +Debug.ShouldStop(4); +_params.setArrayElement (BA.numberCast(byte.class, _dlow),BA.numberCast(int.class, 1)); + BA.debugLineNum = 2244;BA.debugLine="params(2) = dhigh"; +Debug.ShouldStop(8); +_params.setArrayElement (BA.numberCast(byte.class, _dhigh),BA.numberCast(int.class, 2)); + BA.debugLineNum = 2245;BA.debugLine="WriteString(ESC & \"Z\" & Chr(size) & EC.ToUpperCas"; +Debug.ShouldStop(16); +__ref.runClassMethod (reparto_izca.keymon.lat.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 = 2246;BA.debugLine="WriteBytes(params)"; +Debug.ShouldStop(32); +__ref.runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writebytes" /*RemoteObject*/ ,(Object)(_params)); + BA.debugLineNum = 2247;BA.debugLine="WriteBytes(databytes)"; +Debug.ShouldStop(64); +__ref.runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writebytes" /*RemoteObject*/ ,(Object)(_databytes)); + BA.debugLineNum = 2248;BA.debugLine="End Sub"; +Debug.ShouldStop(128); +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",24,__ref.getField(false, "ba"),__ref,1435); +if (RapidSub.canDelegate("writestring")) { return __ref.runUserSub(false, "escposprinter","writestring", __ref, _data);} +Debug.locals.put("data", _data); + BA.debugLineNum = 1435;BA.debugLine="Public Sub WriteString(data As String)"; +Debug.ShouldStop(67108864); + BA.debugLineNum = 1436;BA.debugLine="WriteString2(data, \"IBM437\")"; +Debug.ShouldStop(134217728); +__ref.runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_writestring2" /*RemoteObject*/ ,(Object)(_data),(Object)(RemoteObject.createImmutable("IBM437"))); + BA.debugLineNum = 1437;BA.debugLine="End Sub"; +Debug.ShouldStop(268435456); +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",24,__ref.getField(false, "ba"),__ref,1443); +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 = 1443;BA.debugLine="Public Sub WriteString2(data As String, encoding A"; +Debug.ShouldStop(4); + BA.debugLineNum = 1444;BA.debugLine="Try"; +Debug.ShouldStop(8); +try { BA.debugLineNum = 1445;BA.debugLine="If Connected Then"; +Debug.ShouldStop(16); +if (__ref.getField(true,"_connected" /*RemoteObject*/ ).get().booleanValue()) { + BA.debugLineNum = 1446;BA.debugLine="Astream.Write(data.GetBytes(encoding))"; +Debug.ShouldStop(32); +__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 = 1449;BA.debugLine="Log(\"Printer error : \" & LastException.Message)"; +Debug.ShouldStop(256); +escposprinter.__c.runVoidMethod ("LogImpl","867043334",RemoteObject.concat(RemoteObject.createImmutable("Printer error : "),escposprinter.__c.runMethod(false,"LastException",__ref.runMethod(false,"getActivityBA")).runMethod(true,"getMessage")),0); + BA.debugLineNum = 1450;BA.debugLine="AStream_Error"; +Debug.ShouldStop(512); +__ref.runClassMethod (reparto_izca.keymon.lat.escposprinter.class, "_astream_error" /*RemoteObject*/ ); + }; + BA.debugLineNum = 1452;BA.debugLine="End Sub"; +Debug.ShouldStop(2048); +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/reparto_izca/keymon/lat/fileprovider.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/fileprovider.java new file mode 100644 index 0000000..cfd47da --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/fileprovider.java @@ -0,0 +1,34 @@ + +package reparto_izca.keymon.lat; + +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 reparto_izca.keymon.lat.main _main = null; +public static reparto_izca.keymon.lat.appupdater _appupdater = null; +public static reparto_izca.keymon.lat.subs _subs = null; +public static reparto_izca.keymon.lat.foto _foto = null; +public static reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public static reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public static reparto_izca.keymon.lat.starter _starter = null; +public static reparto_izca.keymon.lat.tracker _tracker = null; +public static reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public static reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public static reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public static reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public static reparto_izca.keymon.lat.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/reparto_izca/keymon/lat/fileprovider_subs_0.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/fileprovider_subs_0.java new file mode 100644 index 0000000..2de0841 --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/fileprovider_subs_0.java @@ -0,0 +1,147 @@ +package reparto_izca.keymon.lat; + +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",43,__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",43,__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","938076426",(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",43,__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 (reparto_izca.keymon.lat.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/reparto_izca/keymon/lat/foto.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/foto.java new file mode 100644 index 0000000..d3d0f48 --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/foto.java @@ -0,0 +1,84 @@ + +package reparto_izca.keymon.lat; + +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 foto implements IRemote{ + public static foto mostCurrent; + public static RemoteObject processBA; + public static boolean processGlobalsRun; + public static RemoteObject myClass; + public static RemoteObject remoteMe; + public foto() { + 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("foto"), "reparto_izca.keymon.lat.foto"); + } + +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, foto.class); + main_subs_0.initializeProcessGlobals(); + return pcBA; + } +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _frontcamera = RemoteObject.createImmutable(false); +public static RemoteObject _g = RemoteObject.declareNull("anywheresoftware.b4a.gps.GPS"); +public static RemoteObject _p_camara = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _camex = RemoteObject.declareNull("reparto_izca.keymon.lat.cameraexclass"); +public static RemoteObject _btntakepicture = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _cuenta = RemoteObject.createImmutable(""); +public static RemoteObject _lat_gps = RemoteObject.createImmutable(""); +public static RemoteObject _usuario = RemoteObject.createImmutable(""); +public static RemoteObject _motivo = RemoteObject.createImmutable(""); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static reparto_izca.keymon.lat.main _main = null; +public static reparto_izca.keymon.lat.appupdater _appupdater = null; +public static reparto_izca.keymon.lat.subs _subs = null; +public static reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public static reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public static reparto_izca.keymon.lat.starter _starter = null; +public static reparto_izca.keymon.lat.tracker _tracker = null; +public static reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public static reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public static reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public static reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public static reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; + public Object[] GetGlobals() { + return new Object[] {"Activity",foto.mostCurrent._activity,"appUpdater",Debug.moduleToString(reparto_izca.keymon.lat.appupdater.class),"B4XCollections",Debug.moduleToString(reparto_izca.keymon.lat.b4xcollections.class),"B4XPages",Debug.moduleToString(reparto_izca.keymon.lat.b4xpages.class),"btnTakePicture",foto.mostCurrent._btntakepicture,"c",foto.mostCurrent._c,"camEx",foto.mostCurrent._camex,"cuenta",foto.mostCurrent._cuenta,"DateUtils",foto.mostCurrent._dateutils,"frontCamera",foto._frontcamera,"g",foto._g,"HttpUtils2Service",Debug.moduleToString(reparto_izca.keymon.lat.httputils2service.class),"lat_gps",foto.mostCurrent._lat_gps,"Main",Debug.moduleToString(reparto_izca.keymon.lat.main.class),"MAPA_CLIENTE",Debug.moduleToString(reparto_izca.keymon.lat.mapa_cliente.class),"MAPA_RUTAS",Debug.moduleToString(reparto_izca.keymon.lat.mapa_rutas.class),"MOTIVO",foto.mostCurrent._motivo,"newinst2",Debug.moduleToString(reparto_izca.keymon.lat.newinst2.class),"p_camara",foto.mostCurrent._p_camara,"Starter",Debug.moduleToString(reparto_izca.keymon.lat.starter.class),"Subs",Debug.moduleToString(reparto_izca.keymon.lat.subs.class),"Tracker",Debug.moduleToString(reparto_izca.keymon.lat.tracker.class),"USUARIO",foto.mostCurrent._usuario,"XUIViewsUtils",Debug.moduleToString(reparto_izca.keymon.lat.xuiviewsutils.class)}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/reparto_izca/keymon/lat/foto_subs_0.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/foto_subs_0.java new file mode 100644 index 0000000..030066f --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/foto_subs_0.java @@ -0,0 +1,554 @@ +package reparto_izca.keymon.lat; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class foto_subs_0 { + + +public static RemoteObject _activity_create(RemoteObject _firsttime) throws Exception{ +try { + Debug.PushSubsStack("Activity_Create (foto) ","foto",25,foto.mostCurrent.activityBA,foto.mostCurrent,27); +if (RapidSub.canDelegate("activity_create")) { return reparto_izca.keymon.lat.foto.remoteMe.runUserSub(false, "foto","activity_create", _firsttime);} +Debug.locals.put("FirstTime", _firsttime); + BA.debugLineNum = 27;BA.debugLine="Sub Activity_Create(FirstTime As Boolean)"; +Debug.ShouldStop(67108864); + BA.debugLineNum = 28;BA.debugLine="If(FirstTime) Then"; +Debug.ShouldStop(134217728); +if ((_firsttime).get().booleanValue()) { + BA.debugLineNum = 29;BA.debugLine="g.Initialize(\"GPS\")"; +Debug.ShouldStop(268435456); +foto._g.runVoidMethod ("Initialize",(Object)(RemoteObject.createImmutable("GPS"))); + }; + BA.debugLineNum = 31;BA.debugLine="Activity.LoadLayout(\"foto\")"; +Debug.ShouldStop(1073741824); +foto.mostCurrent._activity.runMethodAndSync(false,"LoadLayout",(Object)(RemoteObject.createImmutable("foto")),foto.mostCurrent.activityBA); + BA.debugLineNum = 32;BA.debugLine="c=Starter.skmt.ExecQuery(\"select cuenta from cuen"; +Debug.ShouldStop(-2147483648); +foto.mostCurrent._c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), foto.mostCurrent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select cuenta from cuentaa")))); + BA.debugLineNum = 33;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(1); +foto.mostCurrent._c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 34;BA.debugLine="cuenta = c.GetString(\"CUENTA\")"; +Debug.ShouldStop(2); +foto.mostCurrent._cuenta = foto.mostCurrent._c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA"))); + 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 _activity_keypress(RemoteObject _key) throws Exception{ +try { + Debug.PushSubsStack("Activity_KeyPress (foto) ","foto",25,foto.mostCurrent.activityBA,foto.mostCurrent,174); +if (RapidSub.canDelegate("activity_keypress")) { return reparto_izca.keymon.lat.foto.remoteMe.runUserSub(false, "foto","activity_keypress", _key);} +Debug.locals.put("key", _key); + BA.debugLineNum = 174;BA.debugLine="Sub Activity_KeyPress (key As Int) As Boolean"; +Debug.ShouldStop(8192); + BA.debugLineNum = 176;BA.debugLine="If key=KeyCodes.KEYCODE_BACK Then"; +Debug.ShouldStop(32768); +if (RemoteObject.solveBoolean("=",_key,BA.numberCast(double.class, foto.mostCurrent.__c.getField(false,"KeyCodes").getField(true,"KEYCODE_BACK")))) { + BA.debugLineNum = 178;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +Debug.ShouldStop(131072); +foto.mostCurrent._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,foto.mostCurrent.activityBA,(Object)(RemoteObject.createImmutable("Principal"))); + }; + BA.debugLineNum = 182;BA.debugLine="Return False"; +Debug.ShouldStop(2097152); +if (true) return foto.mostCurrent.__c.getField(true,"False"); + BA.debugLineNum = 183;BA.debugLine="End Sub"; +Debug.ShouldStop(4194304); +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 (foto) ","foto",25,foto.mostCurrent.activityBA,foto.mostCurrent,46); +if (RapidSub.canDelegate("activity_pause")) { return reparto_izca.keymon.lat.foto.remoteMe.runUserSub(false, "foto","activity_pause", _userclosed);} +Debug.locals.put("UserClosed", _userclosed); + BA.debugLineNum = 46;BA.debugLine="Sub Activity_Pause (UserClosed As Boolean)"; +Debug.ShouldStop(8192); + BA.debugLineNum = 47;BA.debugLine="camEx.Release"; +Debug.ShouldStop(16384); +foto.mostCurrent._camex.runClassMethod (reparto_izca.keymon.lat.cameraexclass.class, "_release" /*RemoteObject*/ ); + 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 _activity_resume() throws Exception{ +try { + Debug.PushSubsStack("Activity_Resume (foto) ","foto",25,foto.mostCurrent.activityBA,foto.mostCurrent,37); +if (RapidSub.canDelegate("activity_resume")) { return reparto_izca.keymon.lat.foto.remoteMe.runUserSub(false, "foto","activity_resume");} + BA.debugLineNum = 37;BA.debugLine="Sub Activity_Resume"; +Debug.ShouldStop(16); + BA.debugLineNum = 38;BA.debugLine="InitializeCamera"; +Debug.ShouldStop(32); +_initializecamera(); + 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 _btneffect_click() throws Exception{ +try { + Debug.PushSubsStack("btnEffect_Click (foto) ","foto",25,foto.mostCurrent.activityBA,foto.mostCurrent,138); +if (RapidSub.canDelegate("btneffect_click")) { return reparto_izca.keymon.lat.foto.remoteMe.runUserSub(false, "foto","btneffect_click");} +RemoteObject _effects = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _effect = RemoteObject.createImmutable(""); + BA.debugLineNum = 138;BA.debugLine="Sub btnEffect_Click"; +Debug.ShouldStop(512); + BA.debugLineNum = 139;BA.debugLine="Dim effects As List = camEx.GetSupportedColorEffe"; +Debug.ShouldStop(1024); +_effects = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +_effects = foto.mostCurrent._camex.runClassMethod (reparto_izca.keymon.lat.cameraexclass.class, "_getsupportedcoloreffects" /*RemoteObject*/ );Debug.locals.put("effects", _effects);Debug.locals.put("effects", _effects); + BA.debugLineNum = 140;BA.debugLine="If effects.IsInitialized = False Then"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean("=",_effects.runMethod(true,"IsInitialized"),foto.mostCurrent.__c.getField(true,"False"))) { + BA.debugLineNum = 141;BA.debugLine="ToastMessageShow(\"Effects not supported.\", False"; +Debug.ShouldStop(4096); +foto.mostCurrent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Effects not supported.")),(Object)(foto.mostCurrent.__c.getField(true,"False"))); + BA.debugLineNum = 142;BA.debugLine="Return"; +Debug.ShouldStop(8192); +if (true) return RemoteObject.createImmutable(""); + }; + BA.debugLineNum = 144;BA.debugLine="Dim effect As String = effects.Get((effects.Index"; +Debug.ShouldStop(32768); +_effect = BA.ObjectToString(_effects.runMethod(false,"Get",(Object)(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {_effects.runMethod(true,"IndexOf",(Object)((foto.mostCurrent._camex.runClassMethod (reparto_izca.keymon.lat.cameraexclass.class, "_getcoloreffect" /*RemoteObject*/ )))),RemoteObject.createImmutable(1)}, "+",1, 1)),_effects.runMethod(true,"getSize")}, "%",0, 1))));Debug.locals.put("effect", _effect);Debug.locals.put("effect", _effect); + BA.debugLineNum = 145;BA.debugLine="camEx.SetColorEffect(effect)"; +Debug.ShouldStop(65536); +foto.mostCurrent._camex.runClassMethod (reparto_izca.keymon.lat.cameraexclass.class, "_setcoloreffect" /*RemoteObject*/ ,(Object)(_effect)); + BA.debugLineNum = 146;BA.debugLine="ToastMessageShow(effect, False)"; +Debug.ShouldStop(131072); +foto.mostCurrent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence(_effect)),(Object)(foto.mostCurrent.__c.getField(true,"False"))); + BA.debugLineNum = 147;BA.debugLine="camEx.CommitParameters"; +Debug.ShouldStop(262144); +foto.mostCurrent._camex.runClassMethod (reparto_izca.keymon.lat.cameraexclass.class, "_commitparameters" /*RemoteObject*/ ); + 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 _btnflash_click() throws Exception{ +try { + Debug.PushSubsStack("btnFlash_Click (foto) ","foto",25,foto.mostCurrent.activityBA,foto.mostCurrent,150); +if (RapidSub.canDelegate("btnflash_click")) { return reparto_izca.keymon.lat.foto.remoteMe.runUserSub(false, "foto","btnflash_click");} +RemoteObject _f = null; +RemoteObject _flashmodes = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _flash = RemoteObject.createImmutable(""); + BA.debugLineNum = 150;BA.debugLine="Sub btnFlash_Click"; +Debug.ShouldStop(2097152); + BA.debugLineNum = 151;BA.debugLine="Dim f() As Float = camEx.GetFocusDistances"; +Debug.ShouldStop(4194304); +_f = foto.mostCurrent._camex.runClassMethod (reparto_izca.keymon.lat.cameraexclass.class, "_getfocusdistances" /*RemoteObject*/ );Debug.locals.put("f", _f);Debug.locals.put("f", _f); + BA.debugLineNum = 152;BA.debugLine="Log(f(0) & \", \" & f(1) & \", \" & f(2))"; +Debug.ShouldStop(8388608); +foto.mostCurrent.__c.runVoidMethod ("LogImpl","870189058",RemoteObject.concat(_f.getArrayElement(true,BA.numberCast(int.class, 0)),RemoteObject.createImmutable(", "),_f.getArrayElement(true,BA.numberCast(int.class, 1)),RemoteObject.createImmutable(", "),_f.getArrayElement(true,BA.numberCast(int.class, 2))),0); + BA.debugLineNum = 153;BA.debugLine="Dim flashModes As List = camEx.GetSupportedFlashM"; +Debug.ShouldStop(16777216); +_flashmodes = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +_flashmodes = foto.mostCurrent._camex.runClassMethod (reparto_izca.keymon.lat.cameraexclass.class, "_getsupportedflashmodes" /*RemoteObject*/ );Debug.locals.put("flashModes", _flashmodes);Debug.locals.put("flashModes", _flashmodes); + BA.debugLineNum = 154;BA.debugLine="If flashModes.IsInitialized = False Then"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("=",_flashmodes.runMethod(true,"IsInitialized"),foto.mostCurrent.__c.getField(true,"False"))) { + BA.debugLineNum = 155;BA.debugLine="ToastMessageShow(\"Flash not supported.\", False)"; +Debug.ShouldStop(67108864); +foto.mostCurrent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Flash not supported.")),(Object)(foto.mostCurrent.__c.getField(true,"False"))); + BA.debugLineNum = 156;BA.debugLine="Return"; +Debug.ShouldStop(134217728); +if (true) return RemoteObject.createImmutable(""); + }; + BA.debugLineNum = 158;BA.debugLine="Dim flash As String = flashModes.Get((flashModes."; +Debug.ShouldStop(536870912); +_flash = BA.ObjectToString(_flashmodes.runMethod(false,"Get",(Object)(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {_flashmodes.runMethod(true,"IndexOf",(Object)((foto.mostCurrent._camex.runClassMethod (reparto_izca.keymon.lat.cameraexclass.class, "_getflashmode" /*RemoteObject*/ )))),RemoteObject.createImmutable(1)}, "+",1, 1)),_flashmodes.runMethod(true,"getSize")}, "%",0, 1))));Debug.locals.put("flash", _flash);Debug.locals.put("flash", _flash); + BA.debugLineNum = 159;BA.debugLine="camEx.SetFlashMode(flash)"; +Debug.ShouldStop(1073741824); +foto.mostCurrent._camex.runClassMethod (reparto_izca.keymon.lat.cameraexclass.class, "_setflashmode" /*RemoteObject*/ ,(Object)(_flash)); + BA.debugLineNum = 160;BA.debugLine="ToastMessageShow(flash, False)"; +Debug.ShouldStop(-2147483648); +foto.mostCurrent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence(_flash)),(Object)(foto.mostCurrent.__c.getField(true,"False"))); + BA.debugLineNum = 161;BA.debugLine="camEx.CommitParameters"; +Debug.ShouldStop(1); +foto.mostCurrent._camex.runClassMethod (reparto_izca.keymon.lat.cameraexclass.class, "_commitparameters" /*RemoteObject*/ ); + BA.debugLineNum = 162;BA.debugLine="End Sub"; +Debug.ShouldStop(2); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _btnfocus_click() throws Exception{ +try { + Debug.PushSubsStack("btnFocus_Click (foto) ","foto",25,foto.mostCurrent.activityBA,foto.mostCurrent,78); +if (RapidSub.canDelegate("btnfocus_click")) { return reparto_izca.keymon.lat.foto.remoteMe.runUserSub(false, "foto","btnfocus_click");} + BA.debugLineNum = 78;BA.debugLine="Sub btnFocus_Click"; +Debug.ShouldStop(8192); + BA.debugLineNum = 79;BA.debugLine="camEx.FocusAndTakePicture"; +Debug.ShouldStop(16384); +foto.mostCurrent._camex.runClassMethod (reparto_izca.keymon.lat.cameraexclass.class, "_focusandtakepicture" /*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 _btnpicturesize_click() throws Exception{ +try { + Debug.PushSubsStack("btnPictureSize_Click (foto) ","foto",25,foto.mostCurrent.activityBA,foto.mostCurrent,163); +if (RapidSub.canDelegate("btnpicturesize_click")) { return reparto_izca.keymon.lat.foto.remoteMe.runUserSub(false, "foto","btnpicturesize_click");} +RemoteObject _picturesizes = null; +RemoteObject _current = RemoteObject.declareNull("reparto_izca.keymon.lat.cameraexclass._camerasize"); +int _i = 0; +RemoteObject _ps = RemoteObject.declareNull("reparto_izca.keymon.lat.cameraexclass._camerasize"); + BA.debugLineNum = 163;BA.debugLine="Sub btnPictureSize_Click"; +Debug.ShouldStop(4); + BA.debugLineNum = 164;BA.debugLine="Dim pictureSizes() As CameraSize = camEx.GetSuppo"; +Debug.ShouldStop(8); +_picturesizes = foto.mostCurrent._camex.runClassMethod (reparto_izca.keymon.lat.cameraexclass.class, "_getsupportedpicturessizes" /*RemoteObject*/ );Debug.locals.put("pictureSizes", _picturesizes);Debug.locals.put("pictureSizes", _picturesizes); + BA.debugLineNum = 165;BA.debugLine="Dim current As CameraSize = camEx.GetPictureSize"; +Debug.ShouldStop(16); +_current = foto.mostCurrent._camex.runClassMethod (reparto_izca.keymon.lat.cameraexclass.class, "_getpicturesize" /*RemoteObject*/ );Debug.locals.put("current", _current);Debug.locals.put("current", _current); + BA.debugLineNum = 166;BA.debugLine="For i = 0 To pictureSizes.Length - 1"; +Debug.ShouldStop(32); +{ +final int step3 = 1; +final int limit3 = RemoteObject.solve(new RemoteObject[] {_picturesizes.getField(true,"length" /*RemoteObject*/ ),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 = 167;BA.debugLine="If pictureSizes(i).Width = current.Width And pic"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean("=",_picturesizes.getArrayElement(false, /*RemoteObject*/ BA.numberCast(int.class, _i)).getField(true,"Width" /*RemoteObject*/ ),BA.numberCast(double.class, _current.getField(true,"Width" /*RemoteObject*/ ))) && RemoteObject.solveBoolean("=",_picturesizes.getArrayElement(false, /*RemoteObject*/ BA.numberCast(int.class, _i)).getField(true,"Height" /*RemoteObject*/ ),BA.numberCast(double.class, _current.getField(true,"Height" /*RemoteObject*/ )))) { +if (true) break;}; + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 169;BA.debugLine="Dim ps As CameraSize = pictureSizes((i + 1) Mod p"; +Debug.ShouldStop(256); +_ps = _picturesizes.getArrayElement(false, /*RemoteObject*/ RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_i),RemoteObject.createImmutable(1)}, "+",1, 1)),_picturesizes.getField(true,"length" /*RemoteObject*/ )}, "%",0, 1));Debug.locals.put("ps", _ps);Debug.locals.put("ps", _ps); + BA.debugLineNum = 170;BA.debugLine="camEx.SetPictureSize(ps.Width, ps.Height)"; +Debug.ShouldStop(512); +foto.mostCurrent._camex.runClassMethod (reparto_izca.keymon.lat.cameraexclass.class, "_setpicturesize" /*RemoteObject*/ ,(Object)(_ps.getField(true,"Width" /*RemoteObject*/ )),(Object)(_ps.getField(true,"Height" /*RemoteObject*/ ))); + BA.debugLineNum = 171;BA.debugLine="ToastMessageShow(ps.Width & \"x\" & ps.Height & i,"; +Debug.ShouldStop(1024); +foto.mostCurrent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(_ps.getField(true,"Width" /*RemoteObject*/ ),RemoteObject.createImmutable("x"),_ps.getField(true,"Height" /*RemoteObject*/ ),RemoteObject.createImmutable(_i)))),(Object)(foto.mostCurrent.__c.getField(true,"False"))); + BA.debugLineNum = 172;BA.debugLine="camEx.CommitParameters"; +Debug.ShouldStop(2048); +foto.mostCurrent._camex.runClassMethod (reparto_izca.keymon.lat.cameraexclass.class, "_commitparameters" /*RemoteObject*/ ); + 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 _btntakepicture_click() throws Exception{ +try { + Debug.PushSubsStack("btnTakePicture_Click (foto) ","foto",25,foto.mostCurrent.activityBA,foto.mostCurrent,68); +if (RapidSub.canDelegate("btntakepicture_click")) { return reparto_izca.keymon.lat.foto.remoteMe.runUserSub(false, "foto","btntakepicture_click");} +RemoteObject _ps = RemoteObject.declareNull("reparto_izca.keymon.lat.cameraexclass._camerasize"); + BA.debugLineNum = 68;BA.debugLine="Sub btnTakePicture_Click"; +Debug.ShouldStop(8); + BA.debugLineNum = 69;BA.debugLine="Dim ps As CameraSize"; +Debug.ShouldStop(16); +_ps = RemoteObject.createNew ("reparto_izca.keymon.lat.cameraexclass._camerasize");Debug.locals.put("ps", _ps); + BA.debugLineNum = 70;BA.debugLine="ps.Width =640"; +Debug.ShouldStop(32); +_ps.setField ("Width" /*RemoteObject*/ ,BA.numberCast(int.class, 640)); + BA.debugLineNum = 71;BA.debugLine="ps.Height =480"; +Debug.ShouldStop(64); +_ps.setField ("Height" /*RemoteObject*/ ,BA.numberCast(int.class, 480)); + BA.debugLineNum = 72;BA.debugLine="camEx.SetPictureSize(ps.Width, ps.Height)"; +Debug.ShouldStop(128); +foto.mostCurrent._camex.runClassMethod (reparto_izca.keymon.lat.cameraexclass.class, "_setpicturesize" /*RemoteObject*/ ,(Object)(_ps.getField(true,"Width" /*RemoteObject*/ )),(Object)(_ps.getField(true,"Height" /*RemoteObject*/ ))); + BA.debugLineNum = 74;BA.debugLine="camEx.CommitParameters"; +Debug.ShouldStop(512); +foto.mostCurrent._camex.runClassMethod (reparto_izca.keymon.lat.cameraexclass.class, "_commitparameters" /*RemoteObject*/ ); + BA.debugLineNum = 75;BA.debugLine="camEx.TakePicture"; +Debug.ShouldStop(1024); +foto.mostCurrent._camex.runClassMethod (reparto_izca.keymon.lat.cameraexclass.class, "_takepicture" /*RemoteObject*/ ); + 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 _camera1_picturetaken(RemoteObject _data) throws Exception{ +try { + Debug.PushSubsStack("Camera1_PictureTaken (foto) ","foto",25,foto.mostCurrent.activityBA,foto.mostCurrent,82); +if (RapidSub.canDelegate("camera1_picturetaken")) { return reparto_izca.keymon.lat.foto.remoteMe.runUserSub(false, "foto","camera1_picturetaken", _data);} +RemoteObject _filename = RemoteObject.createImmutable(""); +RemoteObject _dir = RemoteObject.createImmutable(""); +RemoteObject _sdate = RemoteObject.createImmutable(""); +RemoteObject _stime = RemoteObject.createImmutable(""); +int _i = 0; +Debug.locals.put("Data", _data); + BA.debugLineNum = 82;BA.debugLine="Sub Camera1_PictureTaken (Data() As Byte)"; +Debug.ShouldStop(131072); + BA.debugLineNum = 83;BA.debugLine="Dim filename As String = \"1.jpg\""; +Debug.ShouldStop(262144); +_filename = BA.ObjectToString("1.jpg");Debug.locals.put("filename", _filename);Debug.locals.put("filename", _filename); + BA.debugLineNum = 84;BA.debugLine="Dim dir As String = File.DirInternal"; +Debug.ShouldStop(524288); +_dir = foto.mostCurrent.__c.getField(false,"File").runMethod(true,"getDirInternal");Debug.locals.put("dir", _dir);Debug.locals.put("dir", _dir); + BA.debugLineNum = 86;BA.debugLine="camEx.SavePictureToFile(Data, dir, filename)"; +Debug.ShouldStop(2097152); +foto.mostCurrent._camex.runClassMethod (reparto_izca.keymon.lat.cameraexclass.class, "_savepicturetofile" /*RemoteObject*/ ,(Object)(_data),(Object)(_dir),(Object)(_filename)); + BA.debugLineNum = 87;BA.debugLine="camEx.StartPreview 'restart preview"; +Debug.ShouldStop(4194304); +foto.mostCurrent._camex.runClassMethod (reparto_izca.keymon.lat.cameraexclass.class, "_startpreview" /*RemoteObject*/ ); + BA.debugLineNum = 91;BA.debugLine="Dim sDate,sTime As String"; +Debug.ShouldStop(67108864); +_sdate = RemoteObject.createImmutable("");Debug.locals.put("sDate", _sdate); +_stime = RemoteObject.createImmutable("");Debug.locals.put("sTime", _stime); + BA.debugLineNum = 94;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(536870912); +foto.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 95;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(1073741824); +_sdate = foto.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(foto.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"getNow")));Debug.locals.put("sDate", _sdate); + BA.debugLineNum = 96;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(-2147483648); +_stime = foto.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(foto.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"getNow")));Debug.locals.put("sTime", _stime); + BA.debugLineNum = 97;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CUENTA from cuen"; +Debug.ShouldStop(1); +foto.mostCurrent._c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), foto.mostCurrent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CUENTA from cuentaa")))); + BA.debugLineNum = 98;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(2); +foto.mostCurrent._c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 99;BA.debugLine="cuenta = c.GetString(\"CUENTA\")"; +Debug.ShouldStop(4); +foto.mostCurrent._cuenta = foto.mostCurrent._c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA"))); + BA.debugLineNum = 100;BA.debugLine="c=Starter.skmt.ExecQuery(\"select USUARIO from usu"; +Debug.ShouldStop(8); +foto.mostCurrent._c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), foto.mostCurrent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select USUARIO from usuarioa")))); + BA.debugLineNum = 101;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(16); +foto.mostCurrent._c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 102;BA.debugLine="USUARIO = c.GetString(\"USUARIO\")"; +Debug.ShouldStop(32); +foto.mostCurrent._usuario = foto.mostCurrent._c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO"))); + BA.debugLineNum = 103;BA.debugLine="c.Close"; +Debug.ShouldStop(64); +foto.mostCurrent._c.runVoidMethod ("Close"); + BA.debugLineNum = 104;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM NOVENTA WH"; +Debug.ShouldStop(128); +foto.mostCurrent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM NOVENTA WHERE NV_CLIENTE IN (select cuenta from cuentaa)"))); + BA.debugLineNum = 106;BA.debugLine="c=Starter.skmt.ExecQuery(\"select HVD_CLIENTE,HVD_"; +Debug.ShouldStop(512); +foto.mostCurrent._c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), foto.mostCurrent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) order by HVD_PRONOMBRE asc")))); + BA.debugLineNum = 108;BA.debugLine="If c.RowCount>0 Then"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean(">",foto.mostCurrent._c.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 109;BA.debugLine="For i=0 To c.RowCount -1"; +Debug.ShouldStop(4096); +{ +final int step19 = 1; +final int limit19 = RemoteObject.solve(new RemoteObject[] {foto.mostCurrent._c.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 = 110;BA.debugLine="c.Position=i"; +Debug.ShouldStop(8192); +foto.mostCurrent._c.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 111;BA.debugLine="Starter.skmt.ExecNonQuery2(\"insert into reparto"; +Debug.ShouldStop(16384); +foto.mostCurrent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("insert into reparto(REP_CLIENTE, REP_PRONOMBRE, REP_CANT, REP_COSTO_TOT) select HVD_CLIENTE, HVD_PRONOMBRE, HVD_CANT, HVD_COSTO_TOT from hist_ventas where HVD_PRONOMBRE = ? and HVD_cliente in (Select CUENTA from cuentaa) ")),(Object)(foto.mostCurrent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {foto.mostCurrent._c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PRONOMBRE")))}))))); + BA.debugLineNum = 113;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update cat_gunaprod"; +Debug.ShouldStop(65536); +foto.mostCurrent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen + ? where cat_gp_nombre = ?")),(Object)(foto.mostCurrent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(foto.mostCurrent._c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),(foto.mostCurrent._c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PRONOMBRE"))))}))))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 124;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO NOVENTA"; +Debug.ShouldStop(134217728); +foto.mostCurrent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO NOVENTA (NV_CLIENTE,NV_FECHA,NV_USER,NV_MOTIVO,NV_COMM,NV_LAT,NV_LON, NV_FOTO) VALUES(?,?,?,?,?,?,?,?) ")),(Object)(foto.mostCurrent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {8},new Object[] {(foto.mostCurrent._cuenta),(RemoteObject.concat(_sdate,_stime)),(foto.mostCurrent._usuario),RemoteObject.createImmutable(("CERRADO")),(foto.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,foto.mostCurrent.activityBA).getField(false,"_noventa" /*RemoteObject*/ ).getField(true,"_comentario" /*RemoteObject*/ )),(foto.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,foto.mostCurrent.activityBA).getField(true,"_lat_gps" /*RemoteObject*/ )),(foto.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,foto.mostCurrent.activityBA).getField(true,"_lon_gps" /*RemoteObject*/ )),(_data)}))))); + BA.debugLineNum = 125;BA.debugLine="Starter.skmt.ExecNonQuery($\"UPDATE kmt_info set g"; +Debug.ShouldStop(268435456); +foto.mostCurrent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("UPDATE kmt_info set gestion = 3, HORAENT = '"),foto.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((RemoteObject.concat(_sdate,RemoteObject.createImmutable(" "),_stime)))),RemoteObject.createImmutable("' where CAT_CL_CODIGO In (select cuenta from cuentaa)"))))); + BA.debugLineNum = 126;BA.debugLine="Starter.skmt.ExecNonQuery(\"update HIST_VENTAS SET"; +Debug.ShouldStop(536870912); +foto.mostCurrent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("update HIST_VENTAS SET HVD_RECHAZO = 1 WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))); + BA.debugLineNum = 127;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +Debug.ShouldStop(1073741824); +foto.mostCurrent._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,foto.mostCurrent.activityBA,(Object)(RemoteObject.createImmutable("Principal"))); + 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 _camera1_ready(RemoteObject _success) throws Exception{ +try { + Debug.PushSubsStack("Camera1_Ready (foto) ","foto",25,foto.mostCurrent.activityBA,foto.mostCurrent,57); +if (RapidSub.canDelegate("camera1_ready")) { return reparto_izca.keymon.lat.foto.remoteMe.runUserSub(false, "foto","camera1_ready", _success);} +Debug.locals.put("Success", _success); + BA.debugLineNum = 57;BA.debugLine="Sub Camera1_Ready (Success As Boolean)"; +Debug.ShouldStop(16777216); + BA.debugLineNum = 58;BA.debugLine="If Success Then"; +Debug.ShouldStop(33554432); +if (_success.get().booleanValue()) { + BA.debugLineNum = 59;BA.debugLine="camEx.SetJpegQuality(90)"; +Debug.ShouldStop(67108864); +foto.mostCurrent._camex.runClassMethod (reparto_izca.keymon.lat.cameraexclass.class, "_setjpegquality" /*RemoteObject*/ ,(Object)(BA.numberCast(int.class, 90))); + BA.debugLineNum = 60;BA.debugLine="camEx.CommitParameters"; +Debug.ShouldStop(134217728); +foto.mostCurrent._camex.runClassMethod (reparto_izca.keymon.lat.cameraexclass.class, "_commitparameters" /*RemoteObject*/ ); + BA.debugLineNum = 61;BA.debugLine="camEx.StartPreview"; +Debug.ShouldStop(268435456); +foto.mostCurrent._camex.runClassMethod (reparto_izca.keymon.lat.cameraexclass.class, "_startpreview" /*RemoteObject*/ ); + BA.debugLineNum = 62;BA.debugLine="Log(camEx.GetPreviewSize)"; +Debug.ShouldStop(536870912); +foto.mostCurrent.__c.runVoidMethod ("LogImpl","869795845",BA.ObjectToString(foto.mostCurrent._camex.runClassMethod (reparto_izca.keymon.lat.cameraexclass.class, "_getpreviewsize" /*RemoteObject*/ )),0); + }else { + BA.debugLineNum = 64;BA.debugLine="ToastMessageShow(\"Cannot open camera.\", True)"; +Debug.ShouldStop(-2147483648); +foto.mostCurrent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Cannot open camera.")),(Object)(foto.mostCurrent.__c.getField(true,"True"))); + }; + 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 _changecamera_click() throws Exception{ +try { + Debug.PushSubsStack("ChangeCamera_Click (foto) ","foto",25,foto.mostCurrent.activityBA,foto.mostCurrent,132); +if (RapidSub.canDelegate("changecamera_click")) { return reparto_izca.keymon.lat.foto.remoteMe.runUserSub(false, "foto","changecamera_click");} + BA.debugLineNum = 132;BA.debugLine="Sub ChangeCamera_Click"; +Debug.ShouldStop(8); + BA.debugLineNum = 133;BA.debugLine="camEx.Release"; +Debug.ShouldStop(16); +foto.mostCurrent._camex.runClassMethod (reparto_izca.keymon.lat.cameraexclass.class, "_release" /*RemoteObject*/ ); + BA.debugLineNum = 134;BA.debugLine="frontCamera = Not(frontCamera)"; +Debug.ShouldStop(32); +foto._frontcamera = foto.mostCurrent.__c.runMethod(true,"Not",(Object)(foto._frontcamera)); + BA.debugLineNum = 135;BA.debugLine="InitializeCamera"; +Debug.ShouldStop(64); +_initializecamera(); + BA.debugLineNum = 136;BA.debugLine="End Sub"; +Debug.ShouldStop(128); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _globals() throws Exception{ + //BA.debugLineNum = 14;BA.debugLine="Sub Globals"; + //BA.debugLineNum = 15;BA.debugLine="Private p_camara As Panel"; +foto.mostCurrent._p_camara = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper"); + //BA.debugLineNum = 16;BA.debugLine="Private camEx As CameraExClass"; +foto.mostCurrent._camex = RemoteObject.createNew ("reparto_izca.keymon.lat.cameraexclass"); + //BA.debugLineNum = 17;BA.debugLine="Dim btnTakePicture As Button"; +foto.mostCurrent._btntakepicture = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper"); + //BA.debugLineNum = 19;BA.debugLine="Dim c As Cursor"; +foto.mostCurrent._c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); + //BA.debugLineNum = 20;BA.debugLine="Dim cuenta As String"; +foto.mostCurrent._cuenta = RemoteObject.createImmutable(""); + //BA.debugLineNum = 21;BA.debugLine="Dim lat_gps As String"; +foto.mostCurrent._lat_gps = RemoteObject.createImmutable(""); + //BA.debugLineNum = 23;BA.debugLine="Dim USUARIO As String"; +foto.mostCurrent._usuario = RemoteObject.createImmutable(""); + //BA.debugLineNum = 24;BA.debugLine="Dim MOTIVO As String"; +foto.mostCurrent._motivo = RemoteObject.createImmutable(""); + //BA.debugLineNum = 25;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _gps_locationchanged(RemoteObject _location1) throws Exception{ +try { + Debug.PushSubsStack("GPS_LocationChanged (foto) ","foto",25,foto.mostCurrent.activityBA,foto.mostCurrent,50); +if (RapidSub.canDelegate("gps_locationchanged")) { return reparto_izca.keymon.lat.foto.remoteMe.runUserSub(false, "foto","gps_locationchanged", _location1);} +Debug.locals.put("Location1", _location1); + BA.debugLineNum = 50;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; +Debug.ShouldStop(131072); + 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 _initializecamera() throws Exception{ +try { + Debug.PushSubsStack("InitializeCamera (foto) ","foto",25,foto.mostCurrent.activityBA,foto.mostCurrent,41); +if (RapidSub.canDelegate("initializecamera")) { return reparto_izca.keymon.lat.foto.remoteMe.runUserSub(false, "foto","initializecamera");} + BA.debugLineNum = 41;BA.debugLine="Private Sub InitializeCamera"; +Debug.ShouldStop(256); + BA.debugLineNum = 42;BA.debugLine="camEx.Initialize(p_camara, frontCamera, Me, \"Came"; +Debug.ShouldStop(512); +foto.mostCurrent._camex.runClassMethod (reparto_izca.keymon.lat.cameraexclass.class, "_initialize" /*RemoteObject*/ ,foto.mostCurrent.activityBA,(Object)(foto.mostCurrent._p_camara),(Object)(foto._frontcamera),(Object)(foto.getObject()),(Object)(RemoteObject.createImmutable("Camera1"))); + BA.debugLineNum = 43;BA.debugLine="frontCamera = camEx.Front"; +Debug.ShouldStop(1024); +foto._frontcamera = foto.mostCurrent._camex.getField(true,"_front" /*RemoteObject*/ ); + BA.debugLineNum = 44;BA.debugLine="End Sub"; +Debug.ShouldStop(2048); +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="Private frontCamera As Boolean = False"; +foto._frontcamera = foto.mostCurrent.__c.getField(true,"False"); + //BA.debugLineNum = 10;BA.debugLine="Dim g As GPS"; +foto._g = RemoteObject.createNew ("anywheresoftware.b4a.gps.GPS"); + //BA.debugLineNum = 12;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/reparto_izca/keymon/lat/httpjob.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/httpjob.java new file mode 100644 index 0000000..30845c8 --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/httpjob.java @@ -0,0 +1,44 @@ + +package reparto_izca.keymon.lat; + +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 _out = RemoteObject.declareNull("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper"); +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 reparto_izca.keymon.lat.main _main = null; +public static reparto_izca.keymon.lat.appupdater _appupdater = null; +public static reparto_izca.keymon.lat.subs _subs = null; +public static reparto_izca.keymon.lat.foto _foto = null; +public static reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public static reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public static reparto_izca.keymon.lat.starter _starter = null; +public static reparto_izca.keymon.lat.tracker _tracker = null; +public static reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public static reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public static reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public static reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public static reparto_izca.keymon.lat.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"),"Out",_ref.getField(false, "_out"),"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/reparto_izca/keymon/lat/httpjob_subs_0.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/httpjob_subs_0.java new file mode 100644 index 0000000..f77353b --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/httpjob_subs_0.java @@ -0,0 +1,970 @@ +package reparto_izca.keymon.lat; + +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",45,__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 = 10;BA.debugLine="Public taskId As String"; +httpjob._taskid = RemoteObject.createImmutable("");__ref.setField("_taskid",httpjob._taskid); + //BA.debugLineNum = 11;BA.debugLine="Public Out As OutputStream"; +httpjob._out = RemoteObject.createNew ("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper");__ref.setField("_out",httpjob._out); + //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",45,__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",45,__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 (reparto_izca.keymon.lat.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","939976965",(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",45,__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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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","940042501",(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 (reparto_izca.keymon.lat.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",45,__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 (reparto_izca.keymon.lat.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","939780357",(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",45,__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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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","939845893",(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 (reparto_izca.keymon.lat.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",45,__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",45,__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",45,__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",45,__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",45,__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",45,__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",45,__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 (reparto_izca.keymon.lat.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",45,__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",45,__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 (reparto_izca.keymon.lat.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","939518213",(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",45,__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",45,__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",45,__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 (reparto_izca.keymon.lat.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","939452684",(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",45,__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 (reparto_izca.keymon.lat.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",45,__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 (reparto_izca.keymon.lat.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","939190533",(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",45,__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"); +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 (reparto_izca.keymon.lat.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","939714824",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(); +httpjob._out = RemoteObject.createNew ("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper");__ref.setField("_out",httpjob._out); + BA.debugLineNum = 208;BA.debugLine="out.InitializeToBytesArray(length)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_out" /*RemoteObject*/ ).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)((__ref.getField(false,"_out" /*RemoteObject*/ ).getObject()))); + BA.debugLineNum = 210;BA.debugLine="PostBytes(Link, out.ToBytesArray)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (reparto_izca.keymon.lat.httpjob.class, "_postbytes" /*RemoteObject*/ ,(Object)(_link),(Object)(__ref.getField(false,"_out" /*RemoteObject*/ ).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",45,__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("reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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",45,__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 (reparto_izca.keymon.lat.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",45,__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 (reparto_izca.keymon.lat.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","939321605",(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",45,__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 (reparto_izca.keymon.lat.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",45,__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/reparto_izca/keymon/lat/httputils2service.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/httputils2service.java new file mode 100644 index 0000000..80ed3b3 --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/httputils2service.java @@ -0,0 +1,69 @@ + +package reparto_izca.keymon.lat; + +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"), "reparto_izca.keymon.lat.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("reparto_izca.keymon.lat.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 reparto_izca.keymon.lat.main _main = null; +public static reparto_izca.keymon.lat.appupdater _appupdater = null; +public static reparto_izca.keymon.lat.subs _subs = null; +public static reparto_izca.keymon.lat.foto _foto = null; +public static reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public static reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public static reparto_izca.keymon.lat.starter _starter = null; +public static reparto_izca.keymon.lat.tracker _tracker = null; +public static reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public static reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public static reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public static reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; + public Object[] GetGlobals() { + return new Object[] {"appUpdater",Debug.moduleToString(reparto_izca.keymon.lat.appupdater.class),"B4XCollections",Debug.moduleToString(reparto_izca.keymon.lat.b4xcollections.class),"B4XPages",Debug.moduleToString(reparto_izca.keymon.lat.b4xpages.class),"DateUtils",httputils2service.mostCurrent._dateutils,"foto",Debug.moduleToString(reparto_izca.keymon.lat.foto.class),"hc",httputils2service._hc,"Main",Debug.moduleToString(reparto_izca.keymon.lat.main.class),"MAPA_CLIENTE",Debug.moduleToString(reparto_izca.keymon.lat.mapa_cliente.class),"MAPA_RUTAS",Debug.moduleToString(reparto_izca.keymon.lat.mapa_rutas.class),"newinst2",Debug.moduleToString(reparto_izca.keymon.lat.newinst2.class),"Receiver",httputils2service.mostCurrent._receiver,"Starter",Debug.moduleToString(reparto_izca.keymon.lat.starter.class),"Subs",Debug.moduleToString(reparto_izca.keymon.lat.subs.class),"taskCounter",httputils2service._taskcounter,"TaskIdToJob",httputils2service._taskidtojob,"TempFolder",httputils2service._tempfolder,"Tracker",Debug.moduleToString(reparto_izca.keymon.lat.tracker.class),"XUIViewsUtils",Debug.moduleToString(reparto_izca.keymon.lat.xuiviewsutils.class)}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/reparto_izca/keymon/lat/httputils2service_subs_0.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/httputils2service_subs_0.java new file mode 100644 index 0000000..59158d2 --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/httputils2service_subs_0.java @@ -0,0 +1,346 @@ +package reparto_izca.keymon.lat; + +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",44,httputils2service.processBA,httputils2service.mostCurrent,152); +if (RapidSub.canDelegate("completejob")) { return reparto_izca.keymon.lat.httputils2service.remoteMe.runUserSub(false, "httputils2service","completejob", _taskid, _success, _errormessage);} +RemoteObject _job = RemoteObject.declareNull("reparto_izca.keymon.lat.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","838862854",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 (reparto_izca.keymon.lat.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",44,httputils2service.processBA,httputils2service.mostCurrent,115); +if (RapidSub.canDelegate("hc_responseerror")) { return reparto_izca.keymon.lat.httputils2service.remoteMe.runUserSub(false, "httputils2service","hc_responseerror", _response, _reason, _statuscode, _taskid);} +RemoteObject _job = RemoteObject.declareNull("reparto_izca.keymon.lat.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","838797314",(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","838797319",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",44,httputils2service.processBA,httputils2service.mostCurrent,92); +if (RapidSub.canDelegate("hc_responsesuccess")) { return reparto_izca.keymon.lat.httputils2service.remoteMe.runUserSub(false, "httputils2service","hc_responsesuccess", _response, _taskid);} +RemoteObject _job = RemoteObject.declareNull("reparto_izca.keymon.lat.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","838666243",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 = 101;BA.debugLine="job.Out = out"; +Debug.ShouldStop(16); +_job.setField ("_out" /*RemoteObject*/ ,_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 = 5;BA.debugLine="Public hc As OkHttpClient"; +httputils2service._hc = RemoteObject.createNew ("anywheresoftware.b4h.okhttp.OkHttpClientWrapper"); + //BA.debugLineNum = 9;BA.debugLine="Public 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",44,httputils2service.processBA,httputils2service.mostCurrent,58); +if (RapidSub.canDelegate("receiver_receive")) { return reparto_izca.keymon.lat.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",44,httputils2service.processBA,httputils2service.mostCurrent,107); +if (RapidSub.canDelegate("response_streamfinish")) { return reparto_izca.keymon.lat.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",44,httputils2service.processBA,httputils2service.mostCurrent,27); +if (RapidSub.canDelegate("service_create")) { return reparto_izca.keymon.lat.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","838338567",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","838338568",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",44,httputils2service.processBA,httputils2service.mostCurrent,68); +if (RapidSub.canDelegate("service_destroy")) { return reparto_izca.keymon.lat.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",44,httputils2service.processBA,httputils2service.mostCurrent,64); +if (RapidSub.canDelegate("service_start")) { return reparto_izca.keymon.lat.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",44,httputils2service.processBA,httputils2service.mostCurrent,74); +if (RapidSub.canDelegate("submitjob")) { return reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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/reparto_izca/keymon/lat/madewithlove.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/madewithlove.java new file mode 100644 index 0000000..f6174a1 --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/madewithlove.java @@ -0,0 +1,36 @@ + +package reparto_izca.keymon.lat; + +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 reparto_izca.keymon.lat.main _main = null; +public static reparto_izca.keymon.lat.appupdater _appupdater = null; +public static reparto_izca.keymon.lat.subs _subs = null; +public static reparto_izca.keymon.lat.foto _foto = null; +public static reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public static reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public static reparto_izca.keymon.lat.starter _starter = null; +public static reparto_izca.keymon.lat.tracker _tracker = null; +public static reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public static reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public static reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public static reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public static reparto_izca.keymon.lat.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/reparto_izca/keymon/lat/madewithlove_subs_0.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/madewithlove_subs_0.java new file mode 100644 index 0000000..d8b7a1c --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/madewithlove_subs_0.java @@ -0,0 +1,120 @@ +package reparto_izca.keymon.lat; + +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",66,__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",66,__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",66,__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/reparto_izca/keymon/lat/main.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/main.java new file mode 100644 index 0000000..a5f1957 --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/main.java @@ -0,0 +1,75 @@ + +package reparto_izca.keymon.lat; + +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"), "reparto_izca.keymon.lat.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 reparto_izca.keymon.lat.appupdater _appupdater = null; +public static reparto_izca.keymon.lat.subs _subs = null; +public static reparto_izca.keymon.lat.foto _foto = null; +public static reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public static reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public static reparto_izca.keymon.lat.starter _starter = null; +public static reparto_izca.keymon.lat.tracker _tracker = null; +public static reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public static reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public static reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public static reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public static reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; + public Object[] GetGlobals() { + return new Object[] {"ActionBarHomeClicked",main._actionbarhomeclicked,"Activity",main.mostCurrent._activity,"appUpdater",Debug.moduleToString(reparto_izca.keymon.lat.appupdater.class),"B4XCollections",Debug.moduleToString(reparto_izca.keymon.lat.b4xcollections.class),"B4XPages",Debug.moduleToString(reparto_izca.keymon.lat.b4xpages.class),"DateUtils",main.mostCurrent._dateutils,"foto",Debug.moduleToString(reparto_izca.keymon.lat.foto.class),"HttpUtils2Service",Debug.moduleToString(reparto_izca.keymon.lat.httputils2service.class),"MAPA_CLIENTE",Debug.moduleToString(reparto_izca.keymon.lat.mapa_cliente.class),"MAPA_RUTAS",Debug.moduleToString(reparto_izca.keymon.lat.mapa_rutas.class),"newinst2",Debug.moduleToString(reparto_izca.keymon.lat.newinst2.class),"Starter",Debug.moduleToString(reparto_izca.keymon.lat.starter.class),"Subs",Debug.moduleToString(reparto_izca.keymon.lat.subs.class),"Tracker",Debug.moduleToString(reparto_izca.keymon.lat.tracker.class),"XUIViewsUtils",Debug.moduleToString(reparto_izca.keymon.lat.xuiviewsutils.class)}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/reparto_izca/keymon/lat/main_subs_0.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/main_subs_0.java new file mode 100644 index 0000000..5019f13 --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/main_subs_0.java @@ -0,0 +1,266 @@ +package reparto_izca.keymon.lat; + +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,34); +if (RapidSub.canDelegate("activity_actionbarhomeclick")) { return reparto_izca.keymon.lat.main.remoteMe.runUserSub(false, "main","activity_actionbarhomeclick");} + BA.debugLineNum = 34;BA.debugLine="Sub Activity_ActionBarHomeClick"; +Debug.ShouldStop(2); + BA.debugLineNum = 35;BA.debugLine="ActionBarHomeClicked = True"; +Debug.ShouldStop(4); +main._actionbarhomeclicked = main.mostCurrent.__c.getField(true,"True"); + BA.debugLineNum = 36;BA.debugLine="B4XPages.Delegate.Activity_ActionBarHomeClick"; +Debug.ShouldStop(8); +main.mostCurrent._b4xpages._delegate /*RemoteObject*/ .runClassMethod (reparto_izca.keymon.lat.b4xpagesdelegator.class, "_activity_actionbarhomeclick" /*RemoteObject*/ ); + BA.debugLineNum = 37;BA.debugLine="ActionBarHomeClicked = False"; +Debug.ShouldStop(16); +main._actionbarhomeclicked = main.mostCurrent.__c.getField(true,"False"); + BA.debugLineNum = 38;BA.debugLine="End Sub"; +Debug.ShouldStop(32); +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,26); +if (RapidSub.canDelegate("activity_create")) { return reparto_izca.keymon.lat.main.remoteMe.runUserSub(false, "main","activity_create", _firsttime);} +RemoteObject _pm = RemoteObject.declareNull("reparto_izca.keymon.lat.b4xpagesmanager"); +Debug.locals.put("FirstTime", _firsttime); + BA.debugLineNum = 26;BA.debugLine="Sub Activity_Create(FirstTime As Boolean)"; +Debug.ShouldStop(33554432); + BA.debugLineNum = 27;BA.debugLine="Dim pm As B4XPagesManager"; +Debug.ShouldStop(67108864); +_pm = RemoteObject.createNew ("reparto_izca.keymon.lat.b4xpagesmanager");Debug.locals.put("pm", _pm); + BA.debugLineNum = 28;BA.debugLine="pm.Initialize(Activity)"; +Debug.ShouldStop(134217728); +_pm.runClassMethod (reparto_izca.keymon.lat.b4xpagesmanager.class, "_initialize" /*RemoteObject*/ ,main.mostCurrent.activityBA,(Object)(main.mostCurrent._activity)); + BA.debugLineNum = 29;BA.debugLine="End Sub"; +Debug.ShouldStop(268435456); +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,40); +if (RapidSub.canDelegate("activity_keypress")) { return reparto_izca.keymon.lat.main.remoteMe.runUserSub(false, "main","activity_keypress", _keycode);} +Debug.locals.put("KeyCode", _keycode); + BA.debugLineNum = 40;BA.debugLine="Sub Activity_KeyPress (KeyCode As Int) As Boolean"; +Debug.ShouldStop(128); + BA.debugLineNum = 41;BA.debugLine="Return B4XPages.Delegate.Activity_KeyPress(KeyCod"; +Debug.ShouldStop(256); +if (true) return main.mostCurrent._b4xpages._delegate /*RemoteObject*/ .runClassMethod (reparto_izca.keymon.lat.b4xpagesdelegator.class, "_activity_keypress" /*RemoteObject*/ ,(Object)(_keycode)); + BA.debugLineNum = 42;BA.debugLine="End Sub"; +Debug.ShouldStop(512); +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,48); +if (RapidSub.canDelegate("activity_pause")) { return reparto_izca.keymon.lat.main.remoteMe.runUserSub(false, "main","activity_pause", _userclosed);} +Debug.locals.put("UserClosed", _userclosed); + BA.debugLineNum = 48;BA.debugLine="Sub Activity_Pause (UserClosed As Boolean)"; +Debug.ShouldStop(32768); + BA.debugLineNum = 49;BA.debugLine="B4XPages.Delegate.Activity_Pause"; +Debug.ShouldStop(65536); +main.mostCurrent._b4xpages._delegate /*RemoteObject*/ .runClassMethod (reparto_izca.keymon.lat.b4xpagesdelegator.class, "_activity_pause" /*RemoteObject*/ ); + 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 _activity_permissionresult(RemoteObject _permission,RemoteObject _result) throws Exception{ +try { + Debug.PushSubsStack("Activity_PermissionResult (main) ","main",0,main.mostCurrent.activityBA,main.mostCurrent,52); +if (RapidSub.canDelegate("activity_permissionresult")) { return reparto_izca.keymon.lat.main.remoteMe.runUserSub(false, "main","activity_permissionresult", _permission, _result);} +Debug.locals.put("Permission", _permission); +Debug.locals.put("Result", _result); + BA.debugLineNum = 52;BA.debugLine="Sub Activity_PermissionResult (Permission As Strin"; +Debug.ShouldStop(524288); + BA.debugLineNum = 53;BA.debugLine="B4XPages.Delegate.Activity_PermissionResult(Permi"; +Debug.ShouldStop(1048576); +main.mostCurrent._b4xpages._delegate /*RemoteObject*/ .runClassMethod (reparto_izca.keymon.lat.b4xpagesdelegator.class, "_activity_permissionresult" /*RemoteObject*/ ,(Object)(_permission),(Object)(_result)); + 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 _activity_resume() throws Exception{ +try { + Debug.PushSubsStack("Activity_Resume (main) ","main",0,main.mostCurrent.activityBA,main.mostCurrent,44); +if (RapidSub.canDelegate("activity_resume")) { return reparto_izca.keymon.lat.main.remoteMe.runUserSub(false, "main","activity_resume");} + BA.debugLineNum = 44;BA.debugLine="Sub Activity_Resume"; +Debug.ShouldStop(2048); + BA.debugLineNum = 45;BA.debugLine="B4XPages.Delegate.Activity_Resume"; +Debug.ShouldStop(4096); +main.mostCurrent._b4xpages._delegate /*RemoteObject*/ .runClassMethod (reparto_izca.keymon.lat.b4xpagesdelegator.class, "_activity_resume" /*RemoteObject*/ ); + BA.debugLineNum = 46;BA.debugLine="End Sub"; +Debug.ShouldStop(8192); +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,56); +if (RapidSub.canDelegate("create_menu")) { return reparto_izca.keymon.lat.main.remoteMe.runUserSub(false, "main","create_menu", _menu);} +Debug.locals.put("Menu", _menu); + BA.debugLineNum = 56;BA.debugLine="Sub Create_Menu (Menu As Object)"; +Debug.ShouldStop(8388608); + BA.debugLineNum = 57;BA.debugLine="B4XPages.Delegate.Create_Menu(Menu)"; +Debug.ShouldStop(16777216); +main.mostCurrent._b4xpages._delegate /*RemoteObject*/ .runClassMethod (reparto_izca.keymon.lat.b4xpagesdelegator.class, "_create_menu" /*RemoteObject*/ ,(Object)(_menu)); + 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 _globals() throws Exception{ + //BA.debugLineNum = 22;BA.debugLine="Sub Globals"; + //BA.debugLineNum = 24;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} + +public static void initializeProcessGlobals() { + + if (main.processGlobalsRun == false) { + main.processGlobalsRun = true; + try { + main_subs_0._process_globals(); +appupdater_subs_0._process_globals(); +subs_subs_0._process_globals(); +foto_subs_0._process_globals(); +mapa_cliente_subs_0._process_globals(); +mapa_rutas_subs_0._process_globals(); +starter_subs_0._process_globals(); +tracker_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 ("reparto_izca.keymon.lat.main"); +appupdater.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.appupdater"); +b4xmainpage.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.b4xmainpage"); +batteryutilities.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.batteryutilities"); +c_buscar.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.c_buscar"); +c_cheklist.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.c_cheklist"); +c_cliente.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.c_cliente"); +c_clientes.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.c_clientes"); +c_detalle_promo.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.c_detalle_promo"); +c_detalleventa.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.c_detalleventa"); +c_foto.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.c_foto"); +c_principal.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.c_principal"); +subs.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.subs"); +c_historico.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.c_historico"); +c_mapas.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.c_mapas"); +c_noventa.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.c_noventa"); +c_nuevocliente.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.c_nuevocliente"); +c_pedidos.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.c_pedidos"); +c_productos.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.c_productos"); +c_tabulador.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.c_tabulador"); +c_ticketsdia.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.c_ticketsdia"); +c_updateavailable.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.c_updateavailable"); +cameraexclass.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.cameraexclass"); +dbrequestmanager.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.dbrequestmanager"); +escposprinter.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.escposprinter"); +foto.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.foto"); +manageexternalstorage.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.manageexternalstorage"); +mapa_cliente.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.mapa_cliente"); +mapa_rutas.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.mapa_rutas"); +starter.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.starter"); +tracker.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.tracker"); +cl_appupdate.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.cl_appupdate"); +newinst2.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.newinst2"); +b4xpages.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.b4xpages"); +b4xbitset.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.b4xbitset"); +b4xbytesbuilder.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.b4xbytesbuilder"); +b4xcache.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.b4xcache"); +b4xcollections.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.b4xcollections"); +b4xcomparatorsort.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.b4xcomparatorsort"); +b4xorderedmap.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.b4xorderedmap"); +b4xset.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.b4xset"); +b4xpagesdelegator.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.b4xpagesdelegator"); +b4xpagesmanager.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.b4xpagesmanager"); +fileprovider.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.fileprovider"); +httputils2service.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.httputils2service"); +httpjob.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.httpjob"); +animatedcounter.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.animatedcounter"); +anotherprogressbar.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.anotherprogressbar"); +b4xbreadcrumb.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.b4xbreadcrumb"); +b4xcolortemplate.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.b4xcolortemplate"); +b4xcombobox.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.b4xcombobox"); +b4xdatetemplate.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.b4xdatetemplate"); +b4xdialog.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.b4xdialog"); +b4xfloattextfield.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.b4xfloattextfield"); +b4ximageview.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.b4ximageview"); +b4xinputtemplate.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.b4xinputtemplate"); +b4xlisttemplate.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.b4xlisttemplate"); +b4xloadingindicator.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.b4xloadingindicator"); +b4xlongtexttemplate.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.b4xlongtexttemplate"); +b4xplusminus.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.b4xplusminus"); +b4xradiobutton.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.b4xradiobutton"); +b4xsearchtemplate.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.b4xsearchtemplate"); +b4xseekbar.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.b4xseekbar"); +b4xsignaturetemplate.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.b4xsignaturetemplate"); +b4xswitch.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.b4xswitch"); +b4xtimedtemplate.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.b4xtimedtemplate"); +madewithlove.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.madewithlove"); +b4xformatter.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.b4xformatter"); +roundslider.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.roundslider"); +scrollinglabel.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.scrollinglabel"); +swiftbutton.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.swiftbutton"); +xuiviewsutils.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.xuiviewsutils"); + + } catch (Exception e) { + throw new RuntimeException(e); + } + } +}public static RemoteObject _process_globals() throws Exception{ + //BA.debugLineNum = 18;BA.debugLine="Sub Process_Globals"; + //BA.debugLineNum = 19;BA.debugLine="Public ActionBarHomeClicked As Boolean"; +main._actionbarhomeclicked = RemoteObject.createImmutable(false); + //BA.debugLineNum = 20;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/reparto_izca/keymon/lat/manageexternalstorage.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/manageexternalstorage.java new file mode 100644 index 0000000..722d23b --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/manageexternalstorage.java @@ -0,0 +1,34 @@ + +package reparto_izca.keymon.lat; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class manageexternalstorage { + public static RemoteObject myClass; + public manageexternalstorage() { + } + public static PCBA staticBA = new PCBA(null, manageexternalstorage.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _ion = RemoteObject.declareNull("Object"); +public static RemoteObject _mcallback = RemoteObject.declareNull("Object"); +public static RemoteObject _meventname = RemoteObject.createImmutable(""); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static reparto_izca.keymon.lat.main _main = null; +public static reparto_izca.keymon.lat.appupdater _appupdater = null; +public static reparto_izca.keymon.lat.subs _subs = null; +public static reparto_izca.keymon.lat.foto _foto = null; +public static reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public static reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public static reparto_izca.keymon.lat.starter _starter = null; +public static reparto_izca.keymon.lat.tracker _tracker = null; +public static reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public static reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public static reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public static reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public static reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"DateUtils",_ref.getField(false, "_dateutils"),"ion",_ref.getField(false, "_ion"),"mCallback",_ref.getField(false, "_mcallback"),"mEventName",_ref.getField(false, "_meventname")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/reparto_izca/keymon/lat/manageexternalstorage_subs_0.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/manageexternalstorage_subs_0.java new file mode 100644 index 0000000..856224a --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/manageexternalstorage_subs_0.java @@ -0,0 +1,213 @@ +package reparto_izca.keymon.lat; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class manageexternalstorage_subs_0 { + + +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 3;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 4;BA.debugLine="Private ion As Object"; +manageexternalstorage._ion = RemoteObject.createNew ("Object");__ref.setField("_ion",manageexternalstorage._ion); + //BA.debugLineNum = 5;BA.debugLine="Private mCallback As Object"; +manageexternalstorage._mcallback = RemoteObject.createNew ("Object");__ref.setField("_mcallback",manageexternalstorage._mcallback); + //BA.debugLineNum = 6;BA.debugLine="Private mEventName As String"; +manageexternalstorage._meventname = RemoteObject.createImmutable("");__ref.setField("_meventname",manageexternalstorage._meventname); + //BA.debugLineNum = 8;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _getba(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("GetBA (manageexternalstorage) ","manageexternalstorage",26,__ref.getField(false, "ba"),__ref,71); +if (RapidSub.canDelegate("getba")) { return __ref.runUserSub(false, "manageexternalstorage","getba", __ref);} +RemoteObject _jo = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); + BA.debugLineNum = 71;BA.debugLine="Private Sub GetBA As Object"; +Debug.ShouldStop(64); + BA.debugLineNum = 72;BA.debugLine="Dim jo As JavaObject = Me"; +Debug.ShouldStop(128); +_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="Return jo.RunMethod(\"getBA\", Null)"; +Debug.ShouldStop(256); +if (true) return _jo.runMethod(false,"RunMethod",(Object)(BA.ObjectToString("getBA")),(Object)((manageexternalstorage.__c.getField(false,"Null")))); + BA.debugLineNum = 74;BA.debugLine="End Sub"; +Debug.ShouldStop(512); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getpermission(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("GetPermission (manageexternalstorage) ","manageexternalstorage",26,__ref.getField(false, "ba"),__ref,41); +if (RapidSub.canDelegate("getpermission")) { return __ref.runUserSub(false, "manageexternalstorage","getpermission", __ref);} +RemoteObject _in = RemoteObject.declareNull("anywheresoftware.b4a.objects.IntentWrapper"); + BA.debugLineNum = 41;BA.debugLine="Public Sub GetPermission"; +Debug.ShouldStop(256); + BA.debugLineNum = 42;BA.debugLine="If HasPermission Then"; +Debug.ShouldStop(512); +if (__ref.runClassMethod (reparto_izca.keymon.lat.manageexternalstorage.class, "_haspermission" /*RemoteObject*/ ).get().booleanValue()) { + BA.debugLineNum = 43;BA.debugLine="RaiseEvent"; +Debug.ShouldStop(1024); +__ref.runClassMethod (reparto_izca.keymon.lat.manageexternalstorage.class, "_raiseevent" /*RemoteObject*/ ); + BA.debugLineNum = 44;BA.debugLine="Return"; +Debug.ShouldStop(2048); +if (true) return RemoteObject.createImmutable(""); + }; + BA.debugLineNum = 46;BA.debugLine="Dim in As Intent"; +Debug.ShouldStop(8192); +_in = RemoteObject.createNew ("anywheresoftware.b4a.objects.IntentWrapper");Debug.locals.put("in", _in); + BA.debugLineNum = 48;BA.debugLine="in.Initialize(\"android.settings.MANAGE_APP_ALL_FI"; +Debug.ShouldStop(32768); +_in.runVoidMethod ("Initialize",(Object)(BA.ObjectToString("android.settings.MANAGE_APP_ALL_FILES_ACCESS_PERMISSION")),(Object)((RemoteObject.concat(RemoteObject.createImmutable("package:"),manageexternalstorage.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((manageexternalstorage.__c.getField(false,"Application").runMethod(true,"getPackageName")))),RemoteObject.createImmutable(""))))); + BA.debugLineNum = 49;BA.debugLine="StartActivityForResult(in)"; +Debug.ShouldStop(65536); +__ref.runClassMethod (reparto_izca.keymon.lat.manageexternalstorage.class, "_startactivityforresult" /*RemoteObject*/ ,(Object)(_in)); + 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 _haspermission(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("HasPermission (manageexternalstorage) ","manageexternalstorage",26,__ref.getField(false, "ba"),__ref,30); +if (RapidSub.canDelegate("haspermission")) { return __ref.runUserSub(false, "manageexternalstorage","haspermission", __ref);} +RemoteObject _has = RemoteObject.createImmutable(false); +RemoteObject _jo = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); + BA.debugLineNum = 30;BA.debugLine="Public Sub HasPermission As Boolean"; +Debug.ShouldStop(536870912); + BA.debugLineNum = 31;BA.debugLine="Dim has As Boolean"; +Debug.ShouldStop(1073741824); +_has = RemoteObject.createImmutable(false);Debug.locals.put("has", _has); + BA.debugLineNum = 32;BA.debugLine="Dim jo As JavaObject"; +Debug.ShouldStop(-2147483648); +_jo = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject");Debug.locals.put("jo", _jo); + BA.debugLineNum = 33;BA.debugLine="jo.InitializeStatic(\"android.os.Environment\")"; +Debug.ShouldStop(1); +_jo.runVoidMethod ("InitializeStatic",(Object)(RemoteObject.createImmutable("android.os.Environment"))); + BA.debugLineNum = 34;BA.debugLine="has = jo.RunMethod(\"isExternalStorageManager\", Nu"; +Debug.ShouldStop(2); +_has = BA.ObjectToBoolean(_jo.runMethod(false,"RunMethod",(Object)(BA.ObjectToString("isExternalStorageManager")),(Object)((manageexternalstorage.__c.getField(false,"Null")))));Debug.locals.put("has", _has); + BA.debugLineNum = 35;BA.debugLine="Return has"; +Debug.ShouldStop(4); +if (true) return _has; + BA.debugLineNum = 36;BA.debugLine="End Sub"; +Debug.ShouldStop(8); +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 (manageexternalstorage) ","manageexternalstorage",26,__ref.getField(false, "ba"),__ref,22); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "manageexternalstorage","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.ShouldStop(2097152); + BA.debugLineNum = 23;BA.debugLine="mCallback = Callback"; +Debug.ShouldStop(4194304); +__ref.setField ("_mcallback" /*RemoteObject*/ ,_callback); + BA.debugLineNum = 24;BA.debugLine="mEventName = EventName"; +Debug.ShouldStop(8388608); +__ref.setField ("_meventname" /*RemoteObject*/ ,_eventname); + 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 _ion_event(RemoteObject __ref,RemoteObject _methodname,RemoteObject _args) throws Exception{ +try { + Debug.PushSubsStack("ion_Event (manageexternalstorage) ","manageexternalstorage",26,__ref.getField(false, "ba"),__ref,59); +if (RapidSub.canDelegate("ion_event")) { return __ref.runUserSub(false, "manageexternalstorage","ion_event", __ref, _methodname, _args);} +Debug.locals.put("MethodName", _methodname); +Debug.locals.put("Args", _args); + BA.debugLineNum = 59;BA.debugLine="Private Sub ion_Event (MethodName As String, Args("; +Debug.ShouldStop(67108864); + BA.debugLineNum = 60;BA.debugLine="RaiseEvent"; +Debug.ShouldStop(134217728); +__ref.runClassMethod (reparto_izca.keymon.lat.manageexternalstorage.class, "_raiseevent" /*RemoteObject*/ ); + BA.debugLineNum = 61;BA.debugLine="Return Null"; +Debug.ShouldStop(268435456); +if (true) return manageexternalstorage.__c.getField(false,"Null"); + 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 _raiseevent(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("RaiseEvent (manageexternalstorage) ","manageexternalstorage",26,__ref.getField(false, "ba"),__ref,53); +if (RapidSub.canDelegate("raiseevent")) { return __ref.runUserSub(false, "manageexternalstorage","raiseevent", __ref);} + BA.debugLineNum = 53;BA.debugLine="Private Sub RaiseEvent"; +Debug.ShouldStop(1048576); + BA.debugLineNum = 54;BA.debugLine="Log(\"Calling : \" & mEventName & \"_StorageAvailab"; +Debug.ShouldStop(2097152); +manageexternalstorage.__c.runVoidMethod ("LogImpl","870647809",RemoteObject.concat(RemoteObject.createImmutable("Calling : "),__ref.getField(true,"_meventname" /*RemoteObject*/ ),RemoteObject.createImmutable("_StorageAvailable")),0); + BA.debugLineNum = 55;BA.debugLine="CallSubDelayed(mCallback, mEventName & \"_StorageA"; +Debug.ShouldStop(4194304); +manageexternalstorage.__c.runVoidMethod ("CallSubDelayed",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_mcallback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_meventname" /*RemoteObject*/ ),RemoteObject.createImmutable("_StorageAvailable")))); + 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 _startactivityforresult(RemoteObject __ref,RemoteObject _i) throws Exception{ +try { + Debug.PushSubsStack("StartActivityForResult (manageexternalstorage) ","manageexternalstorage",26,__ref.getField(false, "ba"),__ref,65); +if (RapidSub.canDelegate("startactivityforresult")) { return __ref.runUserSub(false, "manageexternalstorage","startactivityforresult", __ref, _i);} +RemoteObject _jo = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +Debug.locals.put("i", _i); + BA.debugLineNum = 65;BA.debugLine="Private Sub StartActivityForResult(i As Intent)"; +Debug.ShouldStop(1); + BA.debugLineNum = 66;BA.debugLine="Dim jo As JavaObject = GetBA"; +Debug.ShouldStop(2); +_jo = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject"); +_jo = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4j.object.JavaObject"), __ref.runClassMethod (reparto_izca.keymon.lat.manageexternalstorage.class, "_getba" /*RemoteObject*/ ));Debug.locals.put("jo", _jo);Debug.locals.put("jo", _jo); + BA.debugLineNum = 67;BA.debugLine="ion = jo.CreateEvent(\"anywheresoftware.b4a.IOnAct"; +Debug.ShouldStop(4); +__ref.setField ("_ion" /*RemoteObject*/ ,_jo.runMethod(false,"CreateEvent",__ref.getField(false, "ba"),(Object)(BA.ObjectToString("anywheresoftware.b4a.IOnActivityResult")),(Object)(BA.ObjectToString("ion")),(Object)(manageexternalstorage.__c.getField(false,"Null")))); + BA.debugLineNum = 68;BA.debugLine="jo.RunMethod(\"startActivityForResult\", Array As O"; +Debug.ShouldStop(8); +_jo.runVoidMethod ("RunMethod",(Object)(BA.ObjectToString("startActivityForResult")),(Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {__ref.getField(false,"_ion" /*RemoteObject*/ ),(_i.getObject())}))); + BA.debugLineNum = 69;BA.debugLine="End Sub"; +Debug.ShouldStop(16); +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/reparto_izca/keymon/lat/mapa_cliente.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/mapa_cliente.java new file mode 100644 index 0000000..82811ac --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/mapa_cliente.java @@ -0,0 +1,96 @@ + +package reparto_izca.keymon.lat; + +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_cliente implements IRemote{ + public static mapa_cliente mostCurrent; + public static RemoteObject processBA; + public static boolean processGlobalsRun; + public static RemoteObject myClass; + public static RemoteObject remoteMe; + public mapa_cliente() { + 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_cliente"), "reparto_izca.keymon.lat.mapa_cliente"); + } + +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_cliente.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 _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 _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _latmarker = RemoteObject.createImmutable(""); +public static RemoteObject _longmarker = RemoteObject.createImmutable(""); +public static RemoteObject _l_long = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_lat = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _nombre_tienda = RemoteObject.createImmutable(""); +public static RemoteObject _p_principal = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _b_regresar = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static reparto_izca.keymon.lat.main _main = null; +public static reparto_izca.keymon.lat.appupdater _appupdater = null; +public static reparto_izca.keymon.lat.subs _subs = null; +public static reparto_izca.keymon.lat.foto _foto = null; +public static reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public static reparto_izca.keymon.lat.starter _starter = null; +public static reparto_izca.keymon.lat.tracker _tracker = null; +public static reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public static reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public static reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public static reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public static reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; + public Object[] GetGlobals() { + return new Object[] {"Activity",mapa_cliente.mostCurrent._activity,"appUpdater",Debug.moduleToString(reparto_izca.keymon.lat.appupdater.class),"b_regresar",mapa_cliente.mostCurrent._b_regresar,"B4XCollections",Debug.moduleToString(reparto_izca.keymon.lat.b4xcollections.class),"B4XPages",Debug.moduleToString(reparto_izca.keymon.lat.b4xpages.class),"boton1",mapa_cliente.mostCurrent._boton1,"c",mapa_cliente.mostCurrent._c,"DateUtils",mapa_cliente.mostCurrent._dateutils,"Distance",mapa_cliente._distance,"foto",Debug.moduleToString(reparto_izca.keymon.lat.foto.class),"gmap",mapa_cliente.mostCurrent._gmap,"GPS",mapa_cliente._gps,"HttpUtils2Service",Debug.moduleToString(reparto_izca.keymon.lat.httputils2service.class),"l_lat",mapa_cliente.mostCurrent._l_lat,"l_long",mapa_cliente.mostCurrent._l_long,"Lat2",mapa_cliente._lat2,"Latitud",mapa_cliente._latitud,"latmarker",mapa_cliente.mostCurrent._latmarker,"Lon2",mapa_cliente._lon2,"Longitud",mapa_cliente._longitud,"longmarker",mapa_cliente.mostCurrent._longmarker,"Main",Debug.moduleToString(reparto_izca.keymon.lat.main.class),"MAPA_RUTAS",Debug.moduleToString(reparto_izca.keymon.lat.mapa_rutas.class),"MapFragment1",mapa_cliente.mostCurrent._mapfragment1,"newinst2",Debug.moduleToString(reparto_izca.keymon.lat.newinst2.class),"NOMBRE_TIENDA",mapa_cliente.mostCurrent._nombre_tienda,"p_principal",mapa_cliente.mostCurrent._p_principal,"p1",mapa_cliente.mostCurrent._p1,"p2",mapa_cliente.mostCurrent._p2,"rp",mapa_cliente._rp,"ruta",mapa_cliente._ruta,"skmt",mapa_cliente._skmt,"Starter",Debug.moduleToString(reparto_izca.keymon.lat.starter.class),"Subs",Debug.moduleToString(reparto_izca.keymon.lat.subs.class),"Tracker",Debug.moduleToString(reparto_izca.keymon.lat.tracker.class),"XUIViewsUtils",Debug.moduleToString(reparto_izca.keymon.lat.xuiviewsutils.class)}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/reparto_izca/keymon/lat/mapa_cliente_subs_0.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/mapa_cliente_subs_0.java new file mode 100644 index 0000000..5f7cea9 --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/mapa_cliente_subs_0.java @@ -0,0 +1,321 @@ +package reparto_izca.keymon.lat; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class mapa_cliente_subs_0 { + + +public static RemoteObject _activity_create(RemoteObject _firsttime) throws Exception{ +try { + Debug.PushSubsStack("Activity_Create (mapa_cliente) ","mapa_cliente",27,mapa_cliente.mostCurrent.activityBA,mapa_cliente.mostCurrent,34); +if (RapidSub.canDelegate("activity_create")) { return reparto_izca.keymon.lat.mapa_cliente.remoteMe.runUserSub(false, "mapa_cliente","activity_create", _firsttime);} +Debug.locals.put("FirstTime", _firsttime); + BA.debugLineNum = 34;BA.debugLine="Sub Activity_Create(FirstTime As Boolean)"; +Debug.ShouldStop(2); + BA.debugLineNum = 35;BA.debugLine="Activity.LoadLayout(\"mapa_cliente\")"; +Debug.ShouldStop(4); +mapa_cliente.mostCurrent._activity.runMethodAndSync(false,"LoadLayout",(Object)(RemoteObject.createImmutable("mapa_cliente")),mapa_cliente.mostCurrent.activityBA); + BA.debugLineNum = 36;BA.debugLine="If MapFragment1.IsGooglePlayServicesAvailable = F"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean("=",mapa_cliente.mostCurrent._mapfragment1.runMethod(true,"IsGooglePlayServicesAvailable",mapa_cliente.mostCurrent.activityBA),mapa_cliente.mostCurrent.__c.getField(true,"False"))) { + BA.debugLineNum = 37;BA.debugLine="ToastMessageShow(\"Please install Google Play Ser"; +Debug.ShouldStop(16); +mapa_cliente.mostCurrent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Please install Google Play Services.")),(Object)(mapa_cliente.mostCurrent.__c.getField(true,"True"))); + }; + 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_pause(RemoteObject _userclosed) throws Exception{ +try { + Debug.PushSubsStack("Activity_Pause (mapa_cliente) ","mapa_cliente",27,mapa_cliente.mostCurrent.activityBA,mapa_cliente.mostCurrent,96); +if (RapidSub.canDelegate("activity_pause")) { return reparto_izca.keymon.lat.mapa_cliente.remoteMe.runUserSub(false, "mapa_cliente","activity_pause", _userclosed);} +Debug.locals.put("UserClosed", _userclosed); + BA.debugLineNum = 96;BA.debugLine="Sub Activity_Pause (UserClosed As Boolean)"; +Debug.ShouldStop(-2147483648); + BA.debugLineNum = 97;BA.debugLine="GPS.Stop"; +Debug.ShouldStop(1); +mapa_cliente._gps.runVoidMethod ("Stop"); + 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 _activity_resume() throws Exception{ +try { + Debug.PushSubsStack("Activity_Resume (mapa_cliente) ","mapa_cliente",27,mapa_cliente.mostCurrent.activityBA,mapa_cliente.mostCurrent,80); +if (RapidSub.canDelegate("activity_resume")) { return reparto_izca.keymon.lat.mapa_cliente.remoteMe.runUserSub(false, "mapa_cliente","activity_resume");} + BA.debugLineNum = 80;BA.debugLine="Sub Activity_Resume"; +Debug.ShouldStop(32768); + BA.debugLineNum = 81;BA.debugLine="Subs.centraBoton(b_regresar, Activity.Width)"; +Debug.ShouldStop(65536); +mapa_cliente.mostCurrent._subs.runVoidMethod ("_centraboton" /*RemoteObject*/ ,mapa_cliente.mostCurrent.activityBA,(Object)(mapa_cliente.mostCurrent._b_regresar),(Object)(mapa_cliente.mostCurrent._activity.runMethod(true,"getWidth"))); + BA.debugLineNum = 82;BA.debugLine="GPS.Initialize(\"GPS\")"; +Debug.ShouldStop(131072); +mapa_cliente._gps.runVoidMethod ("Initialize",(Object)(RemoteObject.createImmutable("GPS"))); + BA.debugLineNum = 83;BA.debugLine="If GPS.GPSEnabled = False Then"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean("=",mapa_cliente._gps.runMethod(true,"getGPSEnabled"),mapa_cliente.mostCurrent.__c.getField(true,"False"))) { + BA.debugLineNum = 84;BA.debugLine="ToastMessageShow(\"Debe Activar el GPS del Equipo"; +Debug.ShouldStop(524288); +mapa_cliente.mostCurrent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Debe Activar el GPS del Equipo.")),(Object)(mapa_cliente.mostCurrent.__c.getField(true,"True"))); + BA.debugLineNum = 85;BA.debugLine="StartActivity(GPS.LocationSettingsIntent)"; +Debug.ShouldStop(1048576); +mapa_cliente.mostCurrent.__c.runVoidMethod ("StartActivity",mapa_cliente.processBA,(Object)((mapa_cliente._gps.runMethod(false,"getLocationSettingsIntent")))); + }else { + BA.debugLineNum = 87;BA.debugLine="GPS.Start(0, 0)"; +Debug.ShouldStop(4194304); +mapa_cliente._gps.runVoidMethodAndSync ("Start",mapa_cliente.processBA,(Object)(BA.numberCast(long.class, 0)),(Object)(BA.numberCast(float.class, 0))); + }; + BA.debugLineNum = 89;BA.debugLine="Subs.centraPanel(p_principal, Activity.Width)"; +Debug.ShouldStop(16777216); +mapa_cliente.mostCurrent._subs.runVoidMethod ("_centrapanel" /*RemoteObject*/ ,mapa_cliente.mostCurrent.activityBA,(Object)(mapa_cliente.mostCurrent._p_principal),(Object)(mapa_cliente.mostCurrent._activity.runMethod(true,"getWidth"))); + BA.debugLineNum = 90;BA.debugLine="p_principal.Height = Activity.Height * 0.95"; +Debug.ShouldStop(33554432); +mapa_cliente.mostCurrent._p_principal.runMethod(true,"setHeight",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {mapa_cliente.mostCurrent._activity.runMethod(true,"getHeight"),RemoteObject.createImmutable(0.95)}, "*",0, 0))); + BA.debugLineNum = 91;BA.debugLine="latmarker = B4XPages.MainPage.cliente.LATITUD"; +Debug.ShouldStop(67108864); +mapa_cliente.mostCurrent._latmarker = mapa_cliente.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,mapa_cliente.mostCurrent.activityBA).getField(false,"_cliente" /*RemoteObject*/ ).getField(true,"_latitud" /*RemoteObject*/ ); + BA.debugLineNum = 92;BA.debugLine="longmarker = B4XPages.MainPage.cliente.LONGITUD"; +Debug.ShouldStop(134217728); +mapa_cliente.mostCurrent._longmarker = mapa_cliente.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,mapa_cliente.mostCurrent.activityBA).getField(false,"_cliente" /*RemoteObject*/ ).getField(true,"_longitud" /*RemoteObject*/ ); + BA.debugLineNum = 93;BA.debugLine="NOMBRE_TIENDA = B4XPages.MainPage.cliente.NOMBRE"; +Debug.ShouldStop(268435456); +mapa_cliente.mostCurrent._nombre_tienda = mapa_cliente.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,mapa_cliente.mostCurrent.activityBA).getField(false,"_cliente" /*RemoteObject*/ ).getField(true,"_nombre" /*RemoteObject*/ ); + BA.debugLineNum = 94;BA.debugLine="End Sub"; +Debug.ShouldStop(536870912); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_regresar_click() throws Exception{ +try { + Debug.PushSubsStack("b_regresar_Click (mapa_cliente) ","mapa_cliente",27,mapa_cliente.mostCurrent.activityBA,mapa_cliente.mostCurrent,105); +if (RapidSub.canDelegate("b_regresar_click")) { return reparto_izca.keymon.lat.mapa_cliente.remoteMe.runUserSub(false, "mapa_cliente","b_regresar_click");} + BA.debugLineNum = 105;BA.debugLine="Private Sub b_regresar_Click"; +Debug.ShouldStop(256); + BA.debugLineNum = 106;BA.debugLine="Log(\"Pressed\")"; +Debug.ShouldStop(512); +mapa_cliente.mostCurrent.__c.runVoidMethod ("LogImpl","871434241",RemoteObject.createImmutable("Pressed"),0); + BA.debugLineNum = 107;BA.debugLine="Activity.Finish"; +Debug.ShouldStop(1024); +mapa_cliente.mostCurrent._activity.runVoidMethod ("Finish"); + BA.debugLineNum = 108;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +Debug.ShouldStop(2048); +mapa_cliente.mostCurrent._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,mapa_cliente.mostCurrent.activityBA,(Object)(RemoteObject.createImmutable("Cliente"))); + 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 _globals() throws Exception{ + //BA.debugLineNum = 14;BA.debugLine="Sub Globals"; + //BA.debugLineNum = 15;BA.debugLine="Private gmap As GoogleMap"; +mapa_cliente.mostCurrent._gmap = RemoteObject.createNew ("anywheresoftware.b4a.objects.MapFragmentWrapper.GoogleMapWrapper"); + //BA.debugLineNum = 16;BA.debugLine="Private MapFragment1 As MapFragment"; +mapa_cliente.mostCurrent._mapfragment1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.MapFragmentWrapper"); + //BA.debugLineNum = 17;BA.debugLine="Dim Latitud As Double = 0"; +mapa_cliente._latitud = BA.numberCast(double.class, 0); + //BA.debugLineNum = 18;BA.debugLine="Dim Longitud As Double = 0"; +mapa_cliente._longitud = BA.numberCast(double.class, 0); + //BA.debugLineNum = 19;BA.debugLine="Dim Lat2 As Double = 0"; +mapa_cliente._lat2 = BA.numberCast(double.class, 0); + //BA.debugLineNum = 20;BA.debugLine="Dim Lon2 As Double = 0"; +mapa_cliente._lon2 = BA.numberCast(double.class, 0); + //BA.debugLineNum = 21;BA.debugLine="Dim p1, p2 As Location"; +mapa_cliente.mostCurrent._p1 = RemoteObject.createNew ("anywheresoftware.b4a.gps.LocationWrapper"); +mapa_cliente.mostCurrent._p2 = RemoteObject.createNew ("anywheresoftware.b4a.gps.LocationWrapper"); + //BA.debugLineNum = 22;BA.debugLine="Dim Distance As Float"; +mapa_cliente._distance = RemoteObject.createImmutable(0f); + //BA.debugLineNum = 23;BA.debugLine="Dim boton1 As Button"; +mapa_cliente.mostCurrent._boton1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper"); + //BA.debugLineNum = 24;BA.debugLine="Dim c As Cursor"; +mapa_cliente.mostCurrent._c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); + //BA.debugLineNum = 25;BA.debugLine="Dim latmarker As String"; +mapa_cliente.mostCurrent._latmarker = RemoteObject.createImmutable(""); + //BA.debugLineNum = 26;BA.debugLine="Dim longmarker As String"; +mapa_cliente.mostCurrent._longmarker = RemoteObject.createImmutable(""); + //BA.debugLineNum = 27;BA.debugLine="Private l_long As Label"; +mapa_cliente.mostCurrent._l_long = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper"); + //BA.debugLineNum = 28;BA.debugLine="Private l_lat As Label"; +mapa_cliente.mostCurrent._l_lat = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper"); + //BA.debugLineNum = 29;BA.debugLine="Private NOMBRE_TIENDA As String"; +mapa_cliente.mostCurrent._nombre_tienda = RemoteObject.createImmutable(""); + //BA.debugLineNum = 30;BA.debugLine="Private p_principal As Panel"; +mapa_cliente.mostCurrent._p_principal = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper"); + //BA.debugLineNum = 31;BA.debugLine="Private b_regresar As Button"; +mapa_cliente.mostCurrent._b_regresar = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper"); + //BA.debugLineNum = 32;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _gps_locationchanged(RemoteObject _parametro) throws Exception{ +try { + Debug.PushSubsStack("GPS_LocationChanged (mapa_cliente) ","mapa_cliente",27,mapa_cliente.mostCurrent.activityBA,mapa_cliente.mostCurrent,59); +if (RapidSub.canDelegate("gps_locationchanged")) { return reparto_izca.keymon.lat.mapa_cliente.remoteMe.runUserSub(false, "mapa_cliente","gps_locationchanged", _parametro);} +Debug.locals.put("Parametro", _parametro); + BA.debugLineNum = 59;BA.debugLine="Sub GPS_LocationChanged (Parametro As Location)"; +Debug.ShouldStop(67108864); + 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 void _mapfragment1_ready() throws Exception{ +try { + Debug.PushSubsStack("MapFragment1_Ready (mapa_cliente) ","mapa_cliente",27,mapa_cliente.mostCurrent.activityBA,mapa_cliente.mostCurrent,41); +if (RapidSub.canDelegate("mapfragment1_ready")) { reparto_izca.keymon.lat.mapa_cliente.remoteMe.runUserSub(false, "mapa_cliente","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(reparto_izca.keymon.lat.mapa_cliente parent) { +this.parent = parent; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +reparto_izca.keymon.lat.mapa_cliente parent; +RemoteObject _permission = RemoteObject.createImmutable(""); +RemoteObject _result = RemoteObject.createImmutable(false); +RemoteObject _javamapsobject = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +RemoteObject _marcador1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.MapFragmentWrapper.MarkerWrapper"); +RemoteObject _aa = RemoteObject.declareNull("anywheresoftware.b4a.objects.MapFragmentWrapper.CameraPositionWrapper"); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("MapFragment1_Ready (mapa_cliente) ","mapa_cliente",27,mapa_cliente.mostCurrent.activityBA,mapa_cliente.mostCurrent,41); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = -1; + BA.debugLineNum = 42;BA.debugLine="gmap = MapFragment1.GetMap"; +Debug.ShouldStop(512); +parent.mostCurrent._gmap = parent.mostCurrent._mapfragment1.runMethod(false,"GetMap"); + BA.debugLineNum = 44;BA.debugLine="rp.CheckAndRequest(rp.PERMISSION_ACCESS_FINE_LOCA"; +Debug.ShouldStop(2048); +parent._rp.runVoidMethod ("CheckAndRequest",mapa_cliente.processBA,(Object)(parent._rp.getField(true,"PERMISSION_ACCESS_FINE_LOCATION"))); + BA.debugLineNum = 45;BA.debugLine="Wait For Activity_PermissionResult (Permission As"; +Debug.ShouldStop(4096); +parent.mostCurrent.__c.runVoidMethod ("WaitFor","activity_permissionresult", mapa_cliente.processBA, anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "mapa_cliente", "mapfragment1_ready"), null); +this.state = 1; +return; +case 1: +//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 = 46;BA.debugLine="gmap.MyLocationEnabled = Result"; +Debug.ShouldStop(8192); +parent.mostCurrent._gmap.runMethod(true,"setMyLocationEnabled",_result); + BA.debugLineNum = 48;BA.debugLine="Dim JavaMapsObject As JavaObject"; +Debug.ShouldStop(32768); +_javamapsobject = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject");Debug.locals.put("JavaMapsObject", _javamapsobject); + BA.debugLineNum = 49;BA.debugLine="JavaMapsObject = gmap.GetUiSettings"; +Debug.ShouldStop(65536); +_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 = 50;BA.debugLine="JavaMapsObject.RunMethod(\"setMapToolbarEnabled\","; +Debug.ShouldStop(131072); +_javamapsobject.runVoidMethod ("RunMethod",(Object)(BA.ObjectToString("setMapToolbarEnabled")),(Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(parent.mostCurrent.__c.getField(true,"True"))}))); + BA.debugLineNum = 51;BA.debugLine="Dim marcador1 As Marker = gmap.AddMarker (latmark"; +Debug.ShouldStop(262144); +_marcador1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.MapFragmentWrapper.MarkerWrapper"); +_marcador1 = parent.mostCurrent._gmap.runMethod(false,"AddMarker",(Object)(BA.numberCast(double.class, parent.mostCurrent._latmarker)),(Object)(BA.numberCast(double.class, parent.mostCurrent._longmarker)),(Object)(RemoteObject.createImmutable("TIENDA")));Debug.locals.put("marcador1", _marcador1);Debug.locals.put("marcador1", _marcador1); + BA.debugLineNum = 52;BA.debugLine="marcador1.Snippet = B4XPages.MainPage.cliente.NOM"; +Debug.ShouldStop(524288); +_marcador1.runMethod(true,"setSnippet",parent.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,mapa_cliente.mostCurrent.activityBA).getField(false,"_cliente" /*RemoteObject*/ ).getField(true,"_nombre" /*RemoteObject*/ )); + BA.debugLineNum = 54;BA.debugLine="Dim aa As CameraPosition"; +Debug.ShouldStop(2097152); +_aa = RemoteObject.createNew ("anywheresoftware.b4a.objects.MapFragmentWrapper.CameraPositionWrapper");Debug.locals.put("aa", _aa); + BA.debugLineNum = 55;BA.debugLine="aa.Initialize(latmarker,longmarker,15)''' RECOMEN"; +Debug.ShouldStop(4194304); +_aa.runVoidMethod ("Initialize",(Object)(BA.numberCast(double.class, parent.mostCurrent._latmarker)),(Object)(BA.numberCast(double.class, parent.mostCurrent._longmarker)),(Object)(BA.numberCast(float.class, 15))); + BA.debugLineNum = 56;BA.debugLine="gmap.AnimateCamera(aa)"; +Debug.ShouldStop(8388608); +parent.mostCurrent._gmap.runVoidMethod ("AnimateCamera",(Object)((_aa.getObject()))); + BA.debugLineNum = 57;BA.debugLine="End Sub"; +Debug.ShouldStop(16777216); +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 _process_globals() throws Exception{ + //BA.debugLineNum = 7;BA.debugLine="Sub Process_Globals"; + //BA.debugLineNum = 8;BA.debugLine="Dim GPS As GPS"; +mapa_cliente._gps = RemoteObject.createNew ("anywheresoftware.b4a.gps.GPS"); + //BA.debugLineNum = 9;BA.debugLine="Dim rp As RuntimePermissions"; +mapa_cliente._rp = RemoteObject.createNew ("anywheresoftware.b4a.objects.RuntimePermissions"); + //BA.debugLineNum = 10;BA.debugLine="Dim ruta As String"; +mapa_cliente._ruta = RemoteObject.createImmutable(""); + //BA.debugLineNum = 11;BA.debugLine="Dim skmt As SQL"; +mapa_cliente._skmt = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL"); + //BA.debugLineNum = 12;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _reg_click() throws Exception{ +try { + Debug.PushSubsStack("reg_Click (mapa_cliente) ","mapa_cliente",27,mapa_cliente.mostCurrent.activityBA,mapa_cliente.mostCurrent,100); +if (RapidSub.canDelegate("reg_click")) { return reparto_izca.keymon.lat.mapa_cliente.remoteMe.runUserSub(false, "mapa_cliente","reg_click");} + BA.debugLineNum = 100;BA.debugLine="Sub reg_Click"; +Debug.ShouldStop(8); + BA.debugLineNum = 102;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +Debug.ShouldStop(32); +mapa_cliente.mostCurrent._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,mapa_cliente.mostCurrent.activityBA,(Object)(RemoteObject.createImmutable("Cliente"))); + BA.debugLineNum = 103;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/reparto_izca/keymon/lat/mapa_rutas.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/mapa_rutas.java new file mode 100644 index 0000000..bb5d08a --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/mapa_rutas.java @@ -0,0 +1,118 @@ + +package reparto_izca.keymon.lat; + +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"), "reparto_izca.keymon.lat.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 _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 _ruta = RemoteObject.createImmutable(""); +public static RemoteObject _rutaant = 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 reparto_izca.keymon.lat.main _main = null; +public static reparto_izca.keymon.lat.appupdater _appupdater = null; +public static reparto_izca.keymon.lat.subs _subs = null; +public static reparto_izca.keymon.lat.foto _foto = null; +public static reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public static reparto_izca.keymon.lat.starter _starter = null; +public static reparto_izca.keymon.lat.tracker _tracker = null; +public static reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public static reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public static reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public static reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public static reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; + public Object[] GetGlobals() { + return new Object[] {"Activity",mapa_rutas.mostCurrent._activity,"appUpdater",Debug.moduleToString(reparto_izca.keymon.lat.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(reparto_izca.keymon.lat.b4xcollections.class),"B4XPages",Debug.moduleToString(reparto_izca.keymon.lat.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,"foto",Debug.moduleToString(reparto_izca.keymon.lat.foto.class),"gmap",mapa_rutas.mostCurrent._gmap,"GoogleMapEXTRA",mapa_rutas.mostCurrent._googlemapextra,"GPS",mapa_rutas._gps,"HttpUtils2Service",Debug.moduleToString(reparto_izca.keymon.lat.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(reparto_izca.keymon.lat.main.class),"MAPA_CLIENTE",Debug.moduleToString(reparto_izca.keymon.lat.mapa_cliente.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(reparto_izca.keymon.lat.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.mostCurrent._ruta,"rutaAnt",mapa_rutas.mostCurrent._rutaant,"SEMANA",mapa_rutas.mostCurrent._semana,"Starter",Debug.moduleToString(reparto_izca.keymon.lat.starter.class),"Subs",Debug.moduleToString(reparto_izca.keymon.lat.subs.class),"Tienda",mapa_rutas.mostCurrent._tienda,"todos",mapa_rutas.mostCurrent._todos,"Tracker",Debug.moduleToString(reparto_izca.keymon.lat.tracker.class),"verde",mapa_rutas.mostCurrent._verde,"XUIViewsUtils",Debug.moduleToString(reparto_izca.keymon.lat.xuiviewsutils.class)}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/reparto_izca/keymon/lat/mapa_rutas_subs_0.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/mapa_rutas_subs_0.java new file mode 100644 index 0000000..8b07da3 --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/mapa_rutas_subs_0.java @@ -0,0 +1,1380 @@ +package reparto_izca.keymon.lat; + +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",28,mapa_rutas.mostCurrent.activityBA,mapa_rutas.mostCurrent,57); +if (RapidSub.canDelegate("activity_create")) { return reparto_izca.keymon.lat.mapa_rutas.remoteMe.runUserSub(false, "mapa_rutas","activity_create", _firsttime);} +Debug.locals.put("FirstTime", _firsttime); + BA.debugLineNum = 57;BA.debugLine="Sub Activity_Create(FirstTime As Boolean)"; +Debug.ShouldStop(16777216); + BA.debugLineNum = 59;BA.debugLine="Activity.LoadLayout(\"MAPA_RUTAS\")"; +Debug.ShouldStop(67108864); +mapa_rutas.mostCurrent._activity.runMethodAndSync(false,"LoadLayout",(Object)(RemoteObject.createImmutable("MAPA_RUTAS")),mapa_rutas.mostCurrent.activityBA); + BA.debugLineNum = 70;BA.debugLine="If MapFragment1.IsGooglePlayServicesAvailable = F"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean("=",mapa_rutas.mostCurrent._mapfragment1.runMethod(true,"IsGooglePlayServicesAvailable",mapa_rutas.mostCurrent.activityBA),mapa_rutas.mostCurrent.__c.getField(true,"False"))) { + BA.debugLineNum = 71;BA.debugLine="ToastMessageShow(\"Please install Google Play Ser"; +Debug.ShouldStop(64); +mapa_rutas.mostCurrent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Please install Google Play Services.")),(Object)(mapa_rutas.mostCurrent.__c.getField(true,"True"))); + }; + BA.debugLineNum = 82;BA.debugLine="MARK_AZUL.IsInitialized"; +Debug.ShouldStop(131072); +mapa_rutas.mostCurrent._mark_azul.runVoidMethod ("IsInitialized"); + BA.debugLineNum = 83;BA.debugLine="MARK_ROJO.IsInitialized"; +Debug.ShouldStop(262144); +mapa_rutas.mostCurrent._mark_rojo.runVoidMethod ("IsInitialized"); + BA.debugLineNum = 84;BA.debugLine="MARK_VERDE.IsInitialized"; +Debug.ShouldStop(524288); +mapa_rutas.mostCurrent._mark_verde.runVoidMethod ("IsInitialized"); + BA.debugLineNum = 86;BA.debugLine="LIST_AZUL.Initialize"; +Debug.ShouldStop(2097152); +mapa_rutas.mostCurrent._list_azul.runVoidMethod ("Initialize"); + BA.debugLineNum = 87;BA.debugLine="LIST_ROJO.Initialize"; +Debug.ShouldStop(4194304); +mapa_rutas.mostCurrent._list_rojo.runVoidMethod ("Initialize"); + BA.debugLineNum = 88;BA.debugLine="LIST_VERDE.Initialize"; +Debug.ShouldStop(8388608); +mapa_rutas.mostCurrent._list_verde.runVoidMethod ("Initialize"); + BA.debugLineNum = 90;BA.debugLine="verde = 0"; +Debug.ShouldStop(33554432); +mapa_rutas.mostCurrent._verde = BA.NumberToString(0); + BA.debugLineNum = 91;BA.debugLine="azul = 0"; +Debug.ShouldStop(67108864); +mapa_rutas.mostCurrent._azul = BA.NumberToString(0); + BA.debugLineNum = 92;BA.debugLine="rojo = 0"; +Debug.ShouldStop(134217728); +mapa_rutas.mostCurrent._rojo = BA.NumberToString(0); + BA.debugLineNum = 93;BA.debugLine="todos = 1"; +Debug.ShouldStop(268435456); +mapa_rutas.mostCurrent._todos = BA.NumberToString(1); + 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 _activity_keypress(RemoteObject _key) throws Exception{ +try { + Debug.PushSubsStack("Activity_KeyPress (mapa_rutas) ","mapa_rutas",28,mapa_rutas.mostCurrent.activityBA,mapa_rutas.mostCurrent,352); +if (RapidSub.canDelegate("activity_keypress")) { return reparto_izca.keymon.lat.mapa_rutas.remoteMe.runUserSub(false, "mapa_rutas","activity_keypress", _key);} +Debug.locals.put("key", _key); + BA.debugLineNum = 352;BA.debugLine="Sub Activity_KeyPress (key As Int) As Boolean 'ign"; +Debug.ShouldStop(-2147483648); + BA.debugLineNum = 354;BA.debugLine="If key=KeyCodes.KEYCODE_BACK Then"; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean("=",_key,BA.numberCast(double.class, mapa_rutas.mostCurrent.__c.getField(false,"KeyCodes").getField(true,"KEYCODE_BACK")))) { + BA.debugLineNum = 356;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +Debug.ShouldStop(8); +mapa_rutas.mostCurrent._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,mapa_rutas.mostCurrent.activityBA,(Object)(RemoteObject.createImmutable("Principal"))); + BA.debugLineNum = 357;BA.debugLine="Return False"; +Debug.ShouldStop(16); +if (true) return mapa_rutas.mostCurrent.__c.getField(true,"False"); + }; + BA.debugLineNum = 361;BA.debugLine="End Sub"; +Debug.ShouldStop(256); +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 (mapa_rutas) ","mapa_rutas",28,mapa_rutas.mostCurrent.activityBA,mapa_rutas.mostCurrent,312); +if (RapidSub.canDelegate("activity_pause")) { return reparto_izca.keymon.lat.mapa_rutas.remoteMe.runUserSub(false, "mapa_rutas","activity_pause", _userclosed);} +Debug.locals.put("UserClosed", _userclosed); + BA.debugLineNum = 312;BA.debugLine="Sub Activity_Pause (UserClosed As Boolean)"; +Debug.ShouldStop(8388608); + BA.debugLineNum = 313;BA.debugLine="GPS.Stop"; +Debug.ShouldStop(16777216); +mapa_rutas._gps.runVoidMethod ("Stop"); + 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 _activity_resume() throws Exception{ +try { + Debug.PushSubsStack("Activity_Resume (mapa_rutas) ","mapa_rutas",28,mapa_rutas.mostCurrent.activityBA,mapa_rutas.mostCurrent,303); +if (RapidSub.canDelegate("activity_resume")) { return reparto_izca.keymon.lat.mapa_rutas.remoteMe.runUserSub(false, "mapa_rutas","activity_resume");} + BA.debugLineNum = 303;BA.debugLine="Sub Activity_Resume"; +Debug.ShouldStop(16384); + BA.debugLineNum = 310;BA.debugLine="End Sub"; +Debug.ShouldStop(2097152); +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",28,mapa_rutas.mostCurrent.activityBA,mapa_rutas.mostCurrent,342); +if (RapidSub.canDelegate("b_azul_click")) { return reparto_izca.keymon.lat.mapa_rutas.remoteMe.runUserSub(false, "mapa_rutas","b_azul_click");} + BA.debugLineNum = 342;BA.debugLine="Sub B_AZUL_Click"; +Debug.ShouldStop(2097152); + BA.debugLineNum = 343;BA.debugLine="azul = 1"; +Debug.ShouldStop(4194304); +mapa_rutas.mostCurrent._azul = BA.NumberToString(1); + BA.debugLineNum = 344;BA.debugLine="verde = 0"; +Debug.ShouldStop(8388608); +mapa_rutas.mostCurrent._verde = BA.NumberToString(0); + BA.debugLineNum = 345;BA.debugLine="rojo = 0"; +Debug.ShouldStop(16777216); +mapa_rutas.mostCurrent._rojo = BA.NumberToString(0); + BA.debugLineNum = 346;BA.debugLine="todos = 0"; +Debug.ShouldStop(33554432); +mapa_rutas.mostCurrent._todos = BA.NumberToString(0); + BA.debugLineNum = 347;BA.debugLine="gmap.Clear"; +Debug.ShouldStop(67108864); +mapa_rutas.mostCurrent._gmap.runVoidMethod ("Clear"); + BA.debugLineNum = 348;BA.debugLine="MapFragment1_Ready"; +Debug.ShouldStop(134217728); +_mapfragment1_ready(); + BA.debugLineNum = 349;BA.debugLine="End Sub"; +Debug.ShouldStop(268435456); +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",28,mapa_rutas.mostCurrent.activityBA,mapa_rutas.mostCurrent,333); +if (RapidSub.canDelegate("b_rojo_click")) { return reparto_izca.keymon.lat.mapa_rutas.remoteMe.runUserSub(false, "mapa_rutas","b_rojo_click");} + BA.debugLineNum = 333;BA.debugLine="Sub B_ROJO_Click"; +Debug.ShouldStop(4096); + BA.debugLineNum = 334;BA.debugLine="rojo = 1"; +Debug.ShouldStop(8192); +mapa_rutas.mostCurrent._rojo = BA.NumberToString(1); + BA.debugLineNum = 335;BA.debugLine="verde = 0"; +Debug.ShouldStop(16384); +mapa_rutas.mostCurrent._verde = BA.NumberToString(0); + BA.debugLineNum = 336;BA.debugLine="azul = 0"; +Debug.ShouldStop(32768); +mapa_rutas.mostCurrent._azul = BA.NumberToString(0); + BA.debugLineNum = 337;BA.debugLine="todos = 0"; +Debug.ShouldStop(65536); +mapa_rutas.mostCurrent._todos = BA.NumberToString(0); + BA.debugLineNum = 338;BA.debugLine="gmap.Clear"; +Debug.ShouldStop(131072); +mapa_rutas.mostCurrent._gmap.runVoidMethod ("Clear"); + BA.debugLineNum = 339;BA.debugLine="MapFragment1_Ready"; +Debug.ShouldStop(262144); +_mapfragment1_ready(); + BA.debugLineNum = 340;BA.debugLine="End Sub"; +Debug.ShouldStop(524288); +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",28,mapa_rutas.mostCurrent.activityBA,mapa_rutas.mostCurrent,316); +if (RapidSub.canDelegate("b_todos_click")) { return reparto_izca.keymon.lat.mapa_rutas.remoteMe.runUserSub(false, "mapa_rutas","b_todos_click");} + BA.debugLineNum = 316;BA.debugLine="Sub B_TODOS_Click"; +Debug.ShouldStop(134217728); + BA.debugLineNum = 317;BA.debugLine="todos =1"; +Debug.ShouldStop(268435456); +mapa_rutas.mostCurrent._todos = BA.NumberToString(1); + BA.debugLineNum = 318;BA.debugLine="verde = 0"; +Debug.ShouldStop(536870912); +mapa_rutas.mostCurrent._verde = BA.NumberToString(0); + BA.debugLineNum = 319;BA.debugLine="azul = 0"; +Debug.ShouldStop(1073741824); +mapa_rutas.mostCurrent._azul = BA.NumberToString(0); + BA.debugLineNum = 320;BA.debugLine="rojo = 0"; +Debug.ShouldStop(-2147483648); +mapa_rutas.mostCurrent._rojo = BA.NumberToString(0); + BA.debugLineNum = 321;BA.debugLine="MapFragment1_Ready"; +Debug.ShouldStop(1); +_mapfragment1_ready(); + 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 _b_verde_click() throws Exception{ +try { + Debug.PushSubsStack("B_VERDE_Click (mapa_rutas) ","mapa_rutas",28,mapa_rutas.mostCurrent.activityBA,mapa_rutas.mostCurrent,324); +if (RapidSub.canDelegate("b_verde_click")) { return reparto_izca.keymon.lat.mapa_rutas.remoteMe.runUserSub(false, "mapa_rutas","b_verde_click");} + BA.debugLineNum = 324;BA.debugLine="Sub B_VERDE_Click"; +Debug.ShouldStop(8); + BA.debugLineNum = 325;BA.debugLine="verde = 1"; +Debug.ShouldStop(16); +mapa_rutas.mostCurrent._verde = BA.NumberToString(1); + BA.debugLineNum = 326;BA.debugLine="azul = 0"; +Debug.ShouldStop(32); +mapa_rutas.mostCurrent._azul = BA.NumberToString(0); + BA.debugLineNum = 327;BA.debugLine="rojo = 0"; +Debug.ShouldStop(64); +mapa_rutas.mostCurrent._rojo = BA.NumberToString(0); + BA.debugLineNum = 328;BA.debugLine="todos = 0"; +Debug.ShouldStop(128); +mapa_rutas.mostCurrent._todos = BA.NumberToString(0); + BA.debugLineNum = 329;BA.debugLine="gmap.Clear"; +Debug.ShouldStop(256); +mapa_rutas.mostCurrent._gmap.runVoidMethod ("Clear"); + BA.debugLineNum = 330;BA.debugLine="MapFragment1_Ready"; +Debug.ShouldStop(512); +_mapfragment1_ready(); + BA.debugLineNum = 331;BA.debugLine="End Sub"; +Debug.ShouldStop(1024); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _globals() throws Exception{ + //BA.debugLineNum = 17;BA.debugLine="Sub Globals"; + //BA.debugLineNum = 18;BA.debugLine="Private gmap As GoogleMap"; +mapa_rutas.mostCurrent._gmap = RemoteObject.createNew ("anywheresoftware.b4a.objects.MapFragmentWrapper.GoogleMapWrapper"); + //BA.debugLineNum = 19;BA.debugLine="Private MapFragment1 As MapFragment"; +mapa_rutas.mostCurrent._mapfragment1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.MapFragmentWrapper"); + //BA.debugLineNum = 20;BA.debugLine="Dim Latitud As Double = 0"; +mapa_rutas._latitud = BA.numberCast(double.class, 0); + //BA.debugLineNum = 21;BA.debugLine="Dim Longitud As Double = 0"; +mapa_rutas._longitud = BA.numberCast(double.class, 0); + //BA.debugLineNum = 22;BA.debugLine="Dim Lat2 As Double = 0"; +mapa_rutas._lat2 = BA.numberCast(double.class, 0); + //BA.debugLineNum = 23;BA.debugLine="Dim Lon2 As Double = 0"; +mapa_rutas._lon2 = BA.numberCast(double.class, 0); + //BA.debugLineNum = 24;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 = 25;BA.debugLine="Dim Distance As Float"; +mapa_rutas._distance = RemoteObject.createImmutable(0f); + //BA.debugLineNum = 26;BA.debugLine="Dim boton1 As Button"; +mapa_rutas.mostCurrent._boton1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper"); + //BA.debugLineNum = 27;BA.debugLine="Dim HUE_BLUE As Float"; +mapa_rutas._hue_blue = RemoteObject.createImmutable(0f); + //BA.debugLineNum = 28;BA.debugLine="Dim HUE_RED As Float"; +mapa_rutas._hue_red = RemoteObject.createImmutable(0f); + //BA.debugLineNum = 29;BA.debugLine="Dim HUE_GREEN As Float"; +mapa_rutas._hue_green = RemoteObject.createImmutable(0f); + //BA.debugLineNum = 30;BA.debugLine="Private B_AZUL As Button"; +mapa_rutas.mostCurrent._b_azul = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper"); + //BA.debugLineNum = 31;BA.debugLine="Private B_ROJO As Button"; +mapa_rutas.mostCurrent._b_rojo = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper"); + //BA.debugLineNum = 32;BA.debugLine="Private B_VERDE As Button"; +mapa_rutas.mostCurrent._b_verde = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper"); + //BA.debugLineNum = 33;BA.debugLine="Private B_TODOS As Button"; +mapa_rutas.mostCurrent._b_todos = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper"); + //BA.debugLineNum = 34;BA.debugLine="Dim Tienda As String"; +mapa_rutas.mostCurrent._tienda = RemoteObject.createImmutable(""); + //BA.debugLineNum = 35;BA.debugLine="Dim ruta, rutaAnt As String"; +mapa_rutas.mostCurrent._ruta = RemoteObject.createImmutable(""); +mapa_rutas.mostCurrent._rutaant = 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 = 55;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",28,mapa_rutas.mostCurrent.activityBA,mapa_rutas.mostCurrent,282); +if (RapidSub.canDelegate("gps_locationchanged")) { return reparto_izca.keymon.lat.mapa_rutas.remoteMe.runUserSub(false, "mapa_rutas","gps_locationchanged", _parametro);} +Debug.locals.put("Parametro", _parametro); + BA.debugLineNum = 282;BA.debugLine="Sub GPS_LocationChanged (Parametro As Location)"; +Debug.ShouldStop(33554432); + BA.debugLineNum = 301;BA.debugLine="End Sub"; +Debug.ShouldStop(4096); +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",28,mapa_rutas.mostCurrent.activityBA,mapa_rutas.mostCurrent,109); +if (RapidSub.canDelegate("mapfragment1_ready")) { reparto_izca.keymon.lat.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(reparto_izca.keymon.lat.mapa_rutas parent) { +this.parent = parent; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +reparto_izca.keymon.lat.mapa_rutas parent; +RemoteObject _permission = RemoteObject.createImmutable(""); +RemoteObject _result = RemoteObject.createImmutable(false); +RemoteObject _javamapsobject = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +RemoteObject _esteazul = RemoteObject.createImmutable(0); +RemoteObject _esteazul2 = RemoteObject.createImmutable(""); +int _i = 0; +RemoteObject _s = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _esterojo = RemoteObject.createImmutable(0); +RemoteObject _esterojo2 = RemoteObject.createImmutable(""); +RemoteObject _aa = RemoteObject.declareNull("anywheresoftware.b4a.objects.MapFragmentWrapper.CameraPositionWrapper"); +int step15; +int limit15; +int step49; +int limit49; +int step74; +int limit74; +int step94; +int limit94; +int step119; +int limit119; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("MapFragment1_Ready (mapa_rutas) ","mapa_rutas",28,mapa_rutas.mostCurrent.activityBA,mapa_rutas.mostCurrent,109); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; + BA.debugLineNum = 110;BA.debugLine="gmap = MapFragment1.GetMap"; +Debug.ShouldStop(8192); +parent.mostCurrent._gmap = parent.mostCurrent._mapfragment1.runMethod(false,"GetMap"); + BA.debugLineNum = 111;BA.debugLine="gmap.IsInitialized"; +Debug.ShouldStop(16384); +parent.mostCurrent._gmap.runVoidMethod ("IsInitialized"); + BA.debugLineNum = 112;BA.debugLine="rp.CheckAndRequest(rp.PERMISSION_ACCESS_FINE_LOCA"; +Debug.ShouldStop(32768); +parent._rp.runVoidMethod ("CheckAndRequest",mapa_rutas.processBA,(Object)(parent._rp.getField(true,"PERMISSION_ACCESS_FINE_LOCATION"))); + BA.debugLineNum = 113;BA.debugLine="Wait For Activity_PermissionResult (Permission As"; +Debug.ShouldStop(65536); +parent.mostCurrent.__c.runVoidMethod ("WaitFor","activity_permissionresult", mapa_rutas.processBA, anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "mapa_rutas", "mapfragment1_ready"), null); +this.state = 126; +return; +case 126: +//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 = 114;BA.debugLine="gmap.MyLocationEnabled = Result"; +Debug.ShouldStop(131072); +parent.mostCurrent._gmap.runMethod(true,"setMyLocationEnabled",_result); + BA.debugLineNum = 116;BA.debugLine="Dim JavaMapsObject As JavaObject"; +Debug.ShouldStop(524288); +_javamapsobject = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject");Debug.locals.put("JavaMapsObject", _javamapsobject); + BA.debugLineNum = 117;BA.debugLine="JavaMapsObject = gmap.GetUiSettings"; +Debug.ShouldStop(1048576); +_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 = 118;BA.debugLine="JavaMapsObject.RunMethod(\"setMapToolbarEnabled\","; +Debug.ShouldStop(2097152); +_javamapsobject.runVoidMethod ("RunMethod",(Object)(BA.ObjectToString("setMapToolbarEnabled")),(Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(parent.mostCurrent.__c.getField(true,"True"))}))); + BA.debugLineNum = 120;BA.debugLine="Private esteAzul As Int = 0"; +Debug.ShouldStop(8388608); +_esteazul = BA.numberCast(int.class, 0);Debug.locals.put("esteAzul", _esteazul);Debug.locals.put("esteAzul", _esteazul); + BA.debugLineNum = 121;BA.debugLine="Private esteAzul2 As String"; +Debug.ShouldStop(16777216); +_esteazul2 = RemoteObject.createImmutable("");Debug.locals.put("esteAzul2", _esteazul2); + BA.debugLineNum = 122;BA.debugLine="If azul = 1 Or todos = 1 Then"; +Debug.ShouldStop(33554432); +if (true) break; + +case 1: +//if +this.state = 59; +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 = 123;BA.debugLine="c.IsInitialized"; +Debug.ShouldStop(67108864); +parent._c.runVoidMethod ("IsInitialized"); + BA.debugLineNum = 124;BA.debugLine="c = Starter.skmt.ExecQuery(\"select CAT_CL_CODIGO"; +Debug.ShouldStop(134217728); +parent._c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent.mostCurrent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_CL_CODIGO, IFNULL(SECUENCIA,0) AS SECUENCIA, CAT_CL_NOMBRE, CAT_CL_LAT, CAT_CL_LONG, CAT_CL_RUTA from kmt_info 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_CODIGO <> 63403 order by CAT_CL_RUTA")))); + BA.debugLineNum = 125;BA.debugLine="rutaAnt = \"\""; +Debug.ShouldStop(268435456); +parent.mostCurrent._rutaant = BA.ObjectToString(""); + BA.debugLineNum = 126;BA.debugLine="For i = 0 To c.RowCount -1"; +Debug.ShouldStop(536870912); +if (true) break; + +case 4: +//for +this.state = 52; +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 = 127; +if (true) break; + +case 127: +//C +this.state = 52; +if ((step15 > 0 && _i <= limit15) || (step15 < 0 && _i >= limit15)) this.state = 6; +if (true) break; + +case 128: +//C +this.state = 127; +_i = ((int)(0 + _i + step15)) ; +Debug.locals.put("i", _i); +if (true) break; + +case 6: +//C +this.state = 7; + BA.debugLineNum = 127;BA.debugLine="c.Position = i"; +Debug.ShouldStop(1073741824); +parent._c.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 128;BA.debugLine="LatitudRu = c.GetString(\"CAT_CL_LAT\")"; +Debug.ShouldStop(-2147483648); +parent._latitudru = BA.numberCast(double.class, parent._c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_LAT")))); + BA.debugLineNum = 129;BA.debugLine="LongitudRU = c.GetString(\"CAT_CL_LONG\")"; +Debug.ShouldStop(1); +parent._longitudru = BA.numberCast(double.class, parent._c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_LONG")))); + BA.debugLineNum = 130;BA.debugLine="CODIGO=c.GetString(\"CAT_CL_CODIGO\")"; +Debug.ShouldStop(2); +parent.mostCurrent._codigo = parent._c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO"))); + BA.debugLineNum = 131;BA.debugLine="Tienda= c.GetString(\"CAT_CL_NOMBRE\")"; +Debug.ShouldStop(4); +parent.mostCurrent._tienda = parent._c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_NOMBRE"))); + BA.debugLineNum = 132;BA.debugLine="ruta = c.GetString(\"CAT_CL_RUTA\")"; +Debug.ShouldStop(8); +parent.mostCurrent._ruta = parent._c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA"))); + BA.debugLineNum = 133;BA.debugLine="If c.GetString(\"SECUENCIA\") = \"null\" Then"; +Debug.ShouldStop(16); +if (true) break; + +case 7: +//if +this.state = 12; +if (RemoteObject.solveBoolean("=",parent._c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("SECUENCIA"))),BA.ObjectToString("null"))) { +this.state = 9; +}else { +this.state = 11; +}if (true) break; + +case 9: +//C +this.state = 12; + BA.debugLineNum = 134;BA.debugLine="NumSerie = 0"; +Debug.ShouldStop(32); +parent._numserie = BA.numberCast(int.class, 0); + if (true) break; + +case 11: +//C +this.state = 12; + BA.debugLineNum = 136;BA.debugLine="NumSerie = c.GetString(\"SECUENCIA\")"; +Debug.ShouldStop(128); +parent._numserie = BA.numberCast(int.class, parent._c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("SECUENCIA")))); + if (true) break; + +case 12: +//C +this.state = 13; +; + BA.debugLineNum = 138;BA.debugLine="Private s As Cursor = Starter.skmt.ExecQuery($\""; +Debug.ShouldStop(512); +_s = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_s = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent.mostCurrent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select indice from waypoints where codigo = '"),parent.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent.mostCurrent._codigo))),RemoteObject.createImmutable("'"))))));Debug.locals.put("s", _s);Debug.locals.put("s", _s); + BA.debugLineNum = 139;BA.debugLine="If s.RowCount > 0 Then"; +Debug.ShouldStop(1024); +if (true) break; + +case 13: +//if +this.state = 16; +if (RemoteObject.solveBoolean(">",_s.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 15; +}if (true) break; + +case 15: +//C +this.state = 16; + BA.debugLineNum = 140;BA.debugLine="s.Position = 0"; +Debug.ShouldStop(2048); +_s.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 141;BA.debugLine="NumSerie = s.GetString(\"indice\")"; +Debug.ShouldStop(4096); +parent._numserie = BA.numberCast(int.class, _s.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("indice")))); + if (true) break; +; + BA.debugLineNum = 143;BA.debugLine="If rutaAnt <> ruta Then esteAzul = esteAzul + 1"; +Debug.ShouldStop(16384); + +case 16: +//if +this.state = 21; +if (RemoteObject.solveBoolean("!",parent.mostCurrent._rutaant,parent.mostCurrent._ruta)) { +this.state = 18; +;}if (true) break; + +case 18: +//C +this.state = 21; +_esteazul = RemoteObject.solve(new RemoteObject[] {_esteazul,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("esteAzul", _esteazul); +if (true) break; + +case 21: +//C +this.state = 22; +; + BA.debugLineNum = 150;BA.debugLine="If esteAzul = 1 Then esteAzul2= \"marker-azul.pn"; +Debug.ShouldStop(2097152); +if (true) break; + +case 22: +//if +this.state = 27; +if (RemoteObject.solveBoolean("=",_esteazul,BA.numberCast(double.class, 1))) { +this.state = 24; +;}if (true) break; + +case 24: +//C +this.state = 27; +_esteazul2 = BA.ObjectToString("marker-azul.png");Debug.locals.put("esteAzul2", _esteazul2); +if (true) break; + +case 27: +//C +this.state = 28; +; + BA.debugLineNum = 151;BA.debugLine="If esteAzul = 2 Then esteAzul2= \"marker-azul1.p"; +Debug.ShouldStop(4194304); +if (true) break; + +case 28: +//if +this.state = 33; +if (RemoteObject.solveBoolean("=",_esteazul,BA.numberCast(double.class, 2))) { +this.state = 30; +;}if (true) break; + +case 30: +//C +this.state = 33; +_esteazul2 = BA.ObjectToString("marker-azul1.png");Debug.locals.put("esteAzul2", _esteazul2); +if (true) break; + +case 33: +//C +this.state = 34; +; + BA.debugLineNum = 152;BA.debugLine="If esteAzul = 3 Then esteAzul2= \"marker-azul2.p"; +Debug.ShouldStop(8388608); +if (true) break; + +case 34: +//if +this.state = 39; +if (RemoteObject.solveBoolean("=",_esteazul,BA.numberCast(double.class, 3))) { +this.state = 36; +;}if (true) break; + +case 36: +//C +this.state = 39; +_esteazul2 = BA.ObjectToString("marker-azul2.png");Debug.locals.put("esteAzul2", _esteazul2); +if (true) break; + +case 39: +//C +this.state = 40; +; + BA.debugLineNum = 153;BA.debugLine="If esteAzul = 4 Then esteAzul2= \"marker-azul3.p"; +Debug.ShouldStop(16777216); +if (true) break; + +case 40: +//if +this.state = 45; +if (RemoteObject.solveBoolean("=",_esteazul,BA.numberCast(double.class, 4))) { +this.state = 42; +;}if (true) break; + +case 42: +//C +this.state = 45; +_esteazul2 = BA.ObjectToString("marker-azul3.png");Debug.locals.put("esteAzul2", _esteazul2); +if (true) break; + +case 45: +//C +this.state = 46; +; + BA.debugLineNum = 154;BA.debugLine="If esteAzul = 5 Then esteAzul2= \"marker-azul4.p"; +Debug.ShouldStop(33554432); +if (true) break; + +case 46: +//if +this.state = 51; +if (RemoteObject.solveBoolean("=",_esteazul,BA.numberCast(double.class, 5))) { +this.state = 48; +;}if (true) break; + +case 48: +//C +this.state = 51; +_esteazul2 = BA.ObjectToString("marker-azul4.png");Debug.locals.put("esteAzul2", _esteazul2); +if (true) break; + +case 51: +//C +this.state = 128; +; + BA.debugLineNum = 159;BA.debugLine="MARK_AZUL = gmap.AddMarker3(LatitudRu,LongitudR"; +Debug.ShouldStop(1073741824); +parent.mostCurrent._mark_azul = parent.mostCurrent._gmap.runMethod(false,"AddMarker3",(Object)(parent._latitudru),(Object)(parent._longitudru),(Object)(parent.mostCurrent._codigo),(Object)((parent.mostCurrent._subs.runMethod(false,"_createbitmapwithnumber" /*RemoteObject*/ ,mapa_rutas.mostCurrent.activityBA,(Object)(parent.mostCurrent.__c.runMethod(false,"LoadBitmap",(Object)(parent.mostCurrent.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(_esteazul2))),(Object)(parent._numserie)).getObject()))); + BA.debugLineNum = 160;BA.debugLine="MARK_AZUL.Snippet = \"R: \" & ruta & \" - \" & Tien"; +Debug.ShouldStop(-2147483648); +parent.mostCurrent._mark_azul.runMethod(true,"setSnippet",RemoteObject.concat(RemoteObject.createImmutable("R: "),parent.mostCurrent._ruta,RemoteObject.createImmutable(" - "),parent.mostCurrent._tienda)); + BA.debugLineNum = 161;BA.debugLine="rutaAnt = ruta"; +Debug.ShouldStop(1); +parent.mostCurrent._rutaant = parent.mostCurrent._ruta; + if (true) break; +if (true) break; + +case 52: +//C +this.state = 53; +Debug.locals.put("i", _i); +; + BA.debugLineNum = 163;BA.debugLine="c .Close"; +Debug.ShouldStop(4); +parent._c.runVoidMethod ("Close"); + BA.debugLineNum = 164;BA.debugLine="If MARK_AZUL.IsInitialized Then LIST_AZUL.Add(MA"; +Debug.ShouldStop(8); +if (true) break; + +case 53: +//if +this.state = 58; +if (parent.mostCurrent._mark_azul.runMethod(true,"IsInitialized").get().booleanValue()) { +this.state = 55; +;}if (true) break; + +case 55: +//C +this.state = 58; +parent.mostCurrent._list_azul.runVoidMethod ("Add",(Object)((parent.mostCurrent._mark_azul.getObject()))); +if (true) break; + +case 58: +//C +this.state = 59; +; + if (true) break; +; + BA.debugLineNum = 167;BA.debugLine="If verde = 1 Or todos = 1 Then"; +Debug.ShouldStop(64); + +case 59: +//if +this.state = 92; +if (RemoteObject.solveBoolean("=",parent.mostCurrent._verde,BA.NumberToString(1)) || RemoteObject.solveBoolean("=",parent.mostCurrent._todos,BA.NumberToString(1))) { +this.state = 61; +}else { +this.state = 77; +}if (true) break; + +case 61: +//C +this.state = 62; + BA.debugLineNum = 168;BA.debugLine="rutaAnt = \"\""; +Debug.ShouldStop(128); +parent.mostCurrent._rutaant = BA.ObjectToString(""); + BA.debugLineNum = 169;BA.debugLine="c2.IsInitialized"; +Debug.ShouldStop(256); +parent._c2.runVoidMethod ("IsInitialized"); + BA.debugLineNum = 170;BA.debugLine="c2=Starter.skmt.ExecQuery(\"select CAT_CL_CODIGO,"; +Debug.ShouldStop(512); +parent._c2 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent.mostCurrent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_CL_CODIGO, IFNULL(SECUENCIA,0) AS SECUENCIA, CAT_CL_NOMBRE, CAT_CL_LONG, CAT_CL_LAT, CAT_CL_RUTA from kmt_info 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 AND CAT_CL_CODIGO <> 63403 order by CAT_CL_RUTA")))); + BA.debugLineNum = 171;BA.debugLine="For i = 0 To c2.RowCount -1"; +Debug.ShouldStop(1024); +if (true) break; + +case 62: +//for +this.state = 75; +step49 = 1; +limit49 = 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 = 129; +if (true) break; + +case 129: +//C +this.state = 75; +if ((step49 > 0 && _i <= limit49) || (step49 < 0 && _i >= limit49)) this.state = 64; +if (true) break; + +case 130: +//C +this.state = 129; +_i = ((int)(0 + _i + step49)) ; +Debug.locals.put("i", _i); +if (true) break; + +case 64: +//C +this.state = 65; + BA.debugLineNum = 172;BA.debugLine="c2.Position = i"; +Debug.ShouldStop(2048); +parent._c2.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 173;BA.debugLine="LongitudRU = c2.GetString(\"CAT_CL_LONG\")"; +Debug.ShouldStop(4096); +parent._longitudru = BA.numberCast(double.class, parent._c2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_LONG")))); + BA.debugLineNum = 174;BA.debugLine="LatitudRu = c2.GetString(\"CAT_CL_LAT\")"; +Debug.ShouldStop(8192); +parent._latitudru = BA.numberCast(double.class, parent._c2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_LAT")))); + BA.debugLineNum = 175;BA.debugLine="CODIGO=c2.GetString(\"CAT_CL_CODIGO\")"; +Debug.ShouldStop(16384); +parent.mostCurrent._codigo = parent._c2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO"))); + BA.debugLineNum = 176;BA.debugLine="Tienda= c2.GetString(\"CAT_CL_NOMBRE\")"; +Debug.ShouldStop(32768); +parent.mostCurrent._tienda = parent._c2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_NOMBRE"))); + BA.debugLineNum = 177;BA.debugLine="ruta = c2.GetString(\"CAT_CL_RUTA\")"; +Debug.ShouldStop(65536); +parent.mostCurrent._ruta = parent._c2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA"))); + BA.debugLineNum = 178;BA.debugLine="If c2.GetString(\"SECUENCIA\") = \"null\" Then"; +Debug.ShouldStop(131072); +if (true) break; + +case 65: +//if +this.state = 70; +if (RemoteObject.solveBoolean("=",parent._c2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("SECUENCIA"))),BA.ObjectToString("null"))) { +this.state = 67; +}else { +this.state = 69; +}if (true) break; + +case 67: +//C +this.state = 70; + BA.debugLineNum = 179;BA.debugLine="NumSerie = 0"; +Debug.ShouldStop(262144); +parent._numserie = BA.numberCast(int.class, 0); + if (true) break; + +case 69: +//C +this.state = 70; + BA.debugLineNum = 181;BA.debugLine="NumSerie = c2.GetString(\"SECUENCIA\")"; +Debug.ShouldStop(1048576); +parent._numserie = BA.numberCast(int.class, parent._c2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("SECUENCIA")))); + if (true) break; + +case 70: +//C +this.state = 71; +; + BA.debugLineNum = 183;BA.debugLine="Private s As Cursor = Starter.skmt.ExecQuery($\""; +Debug.ShouldStop(4194304); +_s = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_s = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent.mostCurrent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select indice from waypoints where codigo = '"),parent.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent.mostCurrent._codigo))),RemoteObject.createImmutable("'"))))));Debug.locals.put("s", _s);Debug.locals.put("s", _s); + BA.debugLineNum = 184;BA.debugLine="If s.RowCount > 0 Then"; +Debug.ShouldStop(8388608); +if (true) break; + +case 71: +//if +this.state = 74; +if (RemoteObject.solveBoolean(">",_s.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 73; +}if (true) break; + +case 73: +//C +this.state = 74; + BA.debugLineNum = 185;BA.debugLine="s.Position = 0"; +Debug.ShouldStop(16777216); +_s.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 186;BA.debugLine="NumSerie = s.GetString(\"indice\")"; +Debug.ShouldStop(33554432); +parent._numserie = BA.numberCast(int.class, _s.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("indice")))); + if (true) break; + +case 74: +//C +this.state = 130; +; + BA.debugLineNum = 188;BA.debugLine="MARK_VERDE = gmap.AddMarker3(LatitudRu,Longitud"; +Debug.ShouldStop(134217728); +parent.mostCurrent._mark_verde = parent.mostCurrent._gmap.runMethod(false,"AddMarker3",(Object)(parent._latitudru),(Object)(parent._longitudru),(Object)(parent.mostCurrent._codigo),(Object)((parent.mostCurrent._subs.runMethod(false,"_createbitmapwithnumber" /*RemoteObject*/ ,mapa_rutas.mostCurrent.activityBA,(Object)(parent.mostCurrent.__c.runMethod(false,"LoadBitmap",(Object)(parent.mostCurrent.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(RemoteObject.createImmutable("marker-verde.png")))),(Object)(parent._numserie)).getObject()))); + BA.debugLineNum = 190;BA.debugLine="MARK_VERDE.Snippet = \"R:\" & ruta & \", \" & Tiend"; +Debug.ShouldStop(536870912); +parent.mostCurrent._mark_verde.runMethod(true,"setSnippet",RemoteObject.concat(RemoteObject.createImmutable("R:"),parent.mostCurrent._ruta,RemoteObject.createImmutable(", "),parent.mostCurrent._tienda)); + if (true) break; +if (true) break; + +case 75: +//C +this.state = 92; +Debug.locals.put("i", _i); +; + if (true) break; + +case 77: +//C +this.state = 78; + BA.debugLineNum = 193;BA.debugLine="If verde = 1 Or todos = 1 Then"; +Debug.ShouldStop(1); +if (true) break; + +case 78: +//if +this.state = 91; +if (RemoteObject.solveBoolean("=",parent.mostCurrent._verde,BA.NumberToString(1)) || RemoteObject.solveBoolean("=",parent.mostCurrent._todos,BA.NumberToString(1))) { +this.state = 80; +}if (true) break; + +case 80: +//C +this.state = 81; + BA.debugLineNum = 194;BA.debugLine="rutaAnt = \"\""; +Debug.ShouldStop(2); +parent.mostCurrent._rutaant = BA.ObjectToString(""); + BA.debugLineNum = 195;BA.debugLine="c2.IsInitialized"; +Debug.ShouldStop(4); +parent._c2.runVoidMethod ("IsInitialized"); + BA.debugLineNum = 196;BA.debugLine="c2=Starter.skmt.ExecQuery(\"select CAT_CL_CODIGO"; +Debug.ShouldStop(8); +parent._c2 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent.mostCurrent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_CL_CODIGO, CAT_CL_NOMBRE, CAT_CL_LONG, CAT_CL_LAT, CAT_CL_RUTA from kmt_info 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 AND CAT_CL_CODIGO <> 63403 order by CAT_CL_RUTA")))); + BA.debugLineNum = 197;BA.debugLine="For i = 0 To c2.RowCount -1"; +Debug.ShouldStop(16); +if (true) break; + +case 81: +//for +this.state = 84; +step74 = 1; +limit74 = 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 = 131; +if (true) break; + +case 131: +//C +this.state = 84; +if ((step74 > 0 && _i <= limit74) || (step74 < 0 && _i >= limit74)) this.state = 83; +if (true) break; + +case 132: +//C +this.state = 131; +_i = ((int)(0 + _i + step74)) ; +Debug.locals.put("i", _i); +if (true) break; + +case 83: +//C +this.state = 132; + BA.debugLineNum = 198;BA.debugLine="c2.Position = i"; +Debug.ShouldStop(32); +parent._c2.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 199;BA.debugLine="LongitudRU = c2.GetString(\"CAT_CL_LONG\")"; +Debug.ShouldStop(64); +parent._longitudru = BA.numberCast(double.class, parent._c2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_LONG")))); + BA.debugLineNum = 200;BA.debugLine="LatitudRu = c2.GetString(\"CAT_CL_LAT\")"; +Debug.ShouldStop(128); +parent._latitudru = BA.numberCast(double.class, parent._c2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_LAT")))); + BA.debugLineNum = 201;BA.debugLine="CODIGO=c2.GetString(\"CAT_CL_CODIGO\")"; +Debug.ShouldStop(256); +parent.mostCurrent._codigo = parent._c2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO"))); + BA.debugLineNum = 202;BA.debugLine="Tienda= c2.GetString(\"CAT_CL_NOMBRE\")"; +Debug.ShouldStop(512); +parent.mostCurrent._tienda = parent._c2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_NOMBRE"))); + BA.debugLineNum = 203;BA.debugLine="ruta = c2.GetString(\"CAT_CL_RUTA\")"; +Debug.ShouldStop(1024); +parent.mostCurrent._ruta = parent._c2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA"))); + BA.debugLineNum = 204;BA.debugLine="MARK_VERDE = gmap.AddMarker2(LatitudRu,Longitu"; +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 = 205;BA.debugLine="MARK_VERDE.Snippet = \"R:\" & ruta & \", \" & Tien"; +Debug.ShouldStop(4096); +parent.mostCurrent._mark_verde.runMethod(true,"setSnippet",RemoteObject.concat(RemoteObject.createImmutable("R:"),parent.mostCurrent._ruta,RemoteObject.createImmutable(", "),parent.mostCurrent._tienda)); + if (true) break; +if (true) break; + +case 84: +//C +this.state = 85; +Debug.locals.put("i", _i); +; + BA.debugLineNum = 207;BA.debugLine="c2 .Close"; +Debug.ShouldStop(16384); +parent._c2.runVoidMethod ("Close"); + BA.debugLineNum = 208;BA.debugLine="If MARK_VERDE.IsInitialized Then LIST_VERDE.Add"; +Debug.ShouldStop(32768); +if (true) break; + +case 85: +//if +this.state = 90; +if (parent.mostCurrent._mark_verde.runMethod(true,"IsInitialized").get().booleanValue()) { +this.state = 87; +;}if (true) break; + +case 87: +//C +this.state = 90; +parent.mostCurrent._list_verde.runVoidMethod ("Add",(Object)((parent.mostCurrent._mark_verde.getObject()))); +if (true) break; + +case 90: +//C +this.state = 91; +; + if (true) break; + +case 91: +//C +this.state = 92; +; + if (true) break; + +case 92: +//C +this.state = 93; +; + BA.debugLineNum = 212;BA.debugLine="Private esteRojo As Int = 0"; +Debug.ShouldStop(524288); +_esterojo = BA.numberCast(int.class, 0);Debug.locals.put("esteRojo", _esterojo);Debug.locals.put("esteRojo", _esterojo); + BA.debugLineNum = 213;BA.debugLine="Private esteRojo2 As String"; +Debug.ShouldStop(1048576); +_esterojo2 = RemoteObject.createImmutable("");Debug.locals.put("esteRojo2", _esterojo2); + BA.debugLineNum = 214;BA.debugLine="If rojo = 1 Or todos = 1 Then"; +Debug.ShouldStop(2097152); +if (true) break; + +case 93: +//if +this.state = 125; +if (RemoteObject.solveBoolean("=",parent.mostCurrent._rojo,BA.NumberToString(1)) || RemoteObject.solveBoolean("=",parent.mostCurrent._todos,BA.NumberToString(1))) { +this.state = 95; +}else { +this.state = 111; +}if (true) break; + +case 95: +//C +this.state = 96; + BA.debugLineNum = 215;BA.debugLine="rutaAnt = \"\""; +Debug.ShouldStop(4194304); +parent.mostCurrent._rutaant = BA.ObjectToString(""); + BA.debugLineNum = 216;BA.debugLine="c3.IsInitialized"; +Debug.ShouldStop(8388608); +parent._c3.runVoidMethod ("IsInitialized"); + BA.debugLineNum = 217;BA.debugLine="c3=Starter.skmt.ExecQuery(\"select CAT_CL_CODIGO,"; +Debug.ShouldStop(16777216); +parent._c3 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent.mostCurrent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_CL_CODIGO, IFNULL(SECUENCIA,0) AS SECUENCIA, CAT_CL_NOMBRE, CAT_CL_LONG, CAT_CL_LAT, CAT_CL_RUTA from kmt_info 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 AND CAT_CL_CODIGO <> 63403 order by CAT_CL_RUTA")))); + BA.debugLineNum = 218;BA.debugLine="For i = 0 To c3.RowCount -1"; +Debug.ShouldStop(33554432); +if (true) break; + +case 96: +//for +this.state = 109; +step94 = 1; +limit94 = 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 = 133; +if (true) break; + +case 133: +//C +this.state = 109; +if ((step94 > 0 && _i <= limit94) || (step94 < 0 && _i >= limit94)) this.state = 98; +if (true) break; + +case 134: +//C +this.state = 133; +_i = ((int)(0 + _i + step94)) ; +Debug.locals.put("i", _i); +if (true) break; + +case 98: +//C +this.state = 99; + BA.debugLineNum = 219;BA.debugLine="c3.Position = i"; +Debug.ShouldStop(67108864); +parent._c3.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 220;BA.debugLine="LongitudRU = c3.GetDouble(\"CAT_CL_LONG\")"; +Debug.ShouldStop(134217728); +parent._longitudru = parent._c3.runMethod(true,"GetDouble",(Object)(RemoteObject.createImmutable("CAT_CL_LONG"))); + BA.debugLineNum = 221;BA.debugLine="LatitudRu = c3.GetDouble(\"CAT_CL_LAT\")"; +Debug.ShouldStop(268435456); +parent._latitudru = parent._c3.runMethod(true,"GetDouble",(Object)(RemoteObject.createImmutable("CAT_CL_LAT"))); + BA.debugLineNum = 222;BA.debugLine="Tienda= c3.GetString(\"CAT_CL_NOMBRE\")"; +Debug.ShouldStop(536870912); +parent.mostCurrent._tienda = parent._c3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_NOMBRE"))); + BA.debugLineNum = 223;BA.debugLine="ruta = c3.GetString(\"CAT_CL_RUTA\")"; +Debug.ShouldStop(1073741824); +parent.mostCurrent._ruta = parent._c3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA"))); + BA.debugLineNum = 224;BA.debugLine="CODIGO=c3.GetString(\"CAT_CL_CODIGO\")"; +Debug.ShouldStop(-2147483648); +parent.mostCurrent._codigo = parent._c3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO"))); + BA.debugLineNum = 225;BA.debugLine="If c3.GetString(\"SECUENCIA\") = \"null\" Then"; +Debug.ShouldStop(1); +if (true) break; + +case 99: +//if +this.state = 104; +if (RemoteObject.solveBoolean("=",parent._c3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("SECUENCIA"))),BA.ObjectToString("null"))) { +this.state = 101; +}else { +this.state = 103; +}if (true) break; + +case 101: +//C +this.state = 104; + BA.debugLineNum = 226;BA.debugLine="NumSerie = 0"; +Debug.ShouldStop(2); +parent._numserie = BA.numberCast(int.class, 0); + if (true) break; + +case 103: +//C +this.state = 104; + BA.debugLineNum = 228;BA.debugLine="NumSerie = c3.GetString(\"SECUENCIA\")"; +Debug.ShouldStop(8); +parent._numserie = BA.numberCast(int.class, parent._c3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("SECUENCIA")))); + if (true) break; + +case 104: +//C +this.state = 105; +; + BA.debugLineNum = 230;BA.debugLine="Private s As Cursor = Starter.skmt.ExecQuery($\""; +Debug.ShouldStop(32); +_s = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_s = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent.mostCurrent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select indice from waypoints where codigo = '"),parent.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent.mostCurrent._codigo))),RemoteObject.createImmutable("'"))))));Debug.locals.put("s", _s);Debug.locals.put("s", _s); + BA.debugLineNum = 231;BA.debugLine="If s.RowCount > 0 Then"; +Debug.ShouldStop(64); +if (true) break; + +case 105: +//if +this.state = 108; +if (RemoteObject.solveBoolean(">",_s.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 107; +}if (true) break; + +case 107: +//C +this.state = 108; + BA.debugLineNum = 232;BA.debugLine="s.Position = 0"; +Debug.ShouldStop(128); +_s.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 233;BA.debugLine="NumSerie = s.GetString(\"indice\")"; +Debug.ShouldStop(256); +parent._numserie = BA.numberCast(int.class, _s.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("indice")))); + if (true) break; + +case 108: +//C +this.state = 134; +; + BA.debugLineNum = 235;BA.debugLine="MARK_ROJO = gmap.AddMarker3(LatitudRu,LongitudR"; +Debug.ShouldStop(1024); +parent.mostCurrent._mark_rojo = parent.mostCurrent._gmap.runMethod(false,"AddMarker3",(Object)(parent._latitudru),(Object)(parent._longitudru),(Object)(parent.mostCurrent._codigo),(Object)((parent.mostCurrent._subs.runMethod(false,"_createbitmapwithnumber" /*RemoteObject*/ ,mapa_rutas.mostCurrent.activityBA,(Object)(parent.mostCurrent.__c.runMethod(false,"LoadBitmap",(Object)(parent.mostCurrent.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(RemoteObject.createImmutable("marker-rojo.png")))),(Object)(parent._numserie)).getObject()))); + BA.debugLineNum = 238;BA.debugLine="MARK_ROJO.Snippet= \"R:\" & ruta & \", \" & Tienda"; +Debug.ShouldStop(8192); +parent.mostCurrent._mark_rojo.runMethod(true,"setSnippet",RemoteObject.concat(RemoteObject.createImmutable("R:"),parent.mostCurrent._ruta,RemoteObject.createImmutable(", "),parent.mostCurrent._tienda)); + if (true) break; +if (true) break; + +case 109: +//C +this.state = 125; +Debug.locals.put("i", _i); +; + if (true) break; + +case 111: +//C +this.state = 112; + BA.debugLineNum = 241;BA.debugLine="If rojo = 1 Or todos = 1 Then"; +Debug.ShouldStop(65536); +if (true) break; + +case 112: +//if +this.state = 124; +if (RemoteObject.solveBoolean("=",parent.mostCurrent._rojo,BA.NumberToString(1)) || RemoteObject.solveBoolean("=",parent.mostCurrent._todos,BA.NumberToString(1))) { +this.state = 114; +}if (true) break; + +case 114: +//C +this.state = 115; + BA.debugLineNum = 242;BA.debugLine="rutaAnt = \"\""; +Debug.ShouldStop(131072); +parent.mostCurrent._rutaant = BA.ObjectToString(""); + BA.debugLineNum = 243;BA.debugLine="c3.IsInitialized"; +Debug.ShouldStop(262144); +parent._c3.runVoidMethod ("IsInitialized"); + BA.debugLineNum = 244;BA.debugLine="c3=Starter.skmt.ExecQuery(\"select CAT_CL_CODIGO"; +Debug.ShouldStop(524288); +parent._c3 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent.mostCurrent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_CL_CODIGO, CAT_CL_NOMBRE, CAT_CL_LONG, CAT_CL_LAT, CAT_CL_RUTA from kmt_info 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 AND CAT_CL_CODIGO <> 63403 order by CAT_CL_RUTA")))); + BA.debugLineNum = 245;BA.debugLine="For i = 0 To c3.RowCount -1"; +Debug.ShouldStop(1048576); +if (true) break; + +case 115: +//for +this.state = 118; +step119 = 1; +limit119 = 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 = 135; +if (true) break; + +case 135: +//C +this.state = 118; +if ((step119 > 0 && _i <= limit119) || (step119 < 0 && _i >= limit119)) this.state = 117; +if (true) break; + +case 136: +//C +this.state = 135; +_i = ((int)(0 + _i + step119)) ; +Debug.locals.put("i", _i); +if (true) break; + +case 117: +//C +this.state = 136; + BA.debugLineNum = 246;BA.debugLine="c3.Position = i"; +Debug.ShouldStop(2097152); +parent._c3.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 247;BA.debugLine="LongitudRU = c3.GetDouble(\"CAT_CL_LONG\")"; +Debug.ShouldStop(4194304); +parent._longitudru = parent._c3.runMethod(true,"GetDouble",(Object)(RemoteObject.createImmutable("CAT_CL_LONG"))); + BA.debugLineNum = 248;BA.debugLine="LatitudRu = c3.GetDouble(\"CAT_CL_LAT\")"; +Debug.ShouldStop(8388608); +parent._latitudru = parent._c3.runMethod(true,"GetDouble",(Object)(RemoteObject.createImmutable("CAT_CL_LAT"))); + BA.debugLineNum = 249;BA.debugLine="Tienda= c3.GetString(\"CAT_CL_NOMBRE\")"; +Debug.ShouldStop(16777216); +parent.mostCurrent._tienda = parent._c3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_NOMBRE"))); + BA.debugLineNum = 250;BA.debugLine="ruta = c2.GetString(\"CAT_CL_RUTA\")"; +Debug.ShouldStop(33554432); +parent.mostCurrent._ruta = parent._c2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA"))); + BA.debugLineNum = 251;BA.debugLine="CODIGO=c3.GetString(\"CAT_CL_CODIGO\")"; +Debug.ShouldStop(67108864); +parent.mostCurrent._codigo = parent._c3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO"))); + BA.debugLineNum = 252;BA.debugLine="MARK_ROJO = gmap.AddMarker2(LatitudRu,Longitud"; +Debug.ShouldStop(134217728); +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 = 253;BA.debugLine="MARK_ROJO.Snippet= \"R:\" & ruta & \", \" & Tienda"; +Debug.ShouldStop(268435456); +parent.mostCurrent._mark_rojo.runMethod(true,"setSnippet",RemoteObject.concat(RemoteObject.createImmutable("R:"),parent.mostCurrent._ruta,RemoteObject.createImmutable(", "),parent.mostCurrent._tienda)); + if (true) break; +if (true) break; +Debug.locals.put("i", _i); +; + BA.debugLineNum = 255;BA.debugLine="If MARK_ROJO.IsInitialized Then LIST_ROJO.Add(M"; +Debug.ShouldStop(1073741824); + +case 118: +//if +this.state = 123; +if (parent.mostCurrent._mark_rojo.runMethod(true,"IsInitialized").get().booleanValue()) { +this.state = 120; +;}if (true) break; + +case 120: +//C +this.state = 123; +parent.mostCurrent._list_rojo.runVoidMethod ("Add",(Object)((parent.mostCurrent._mark_rojo.getObject()))); +if (true) break; + +case 123: +//C +this.state = 124; +; + BA.debugLineNum = 256;BA.debugLine="c3.Close"; +Debug.ShouldStop(-2147483648); +parent._c3.runVoidMethod ("Close"); + if (true) break; + +case 124: +//C +this.state = 125; +; + if (true) break; + +case 125: +//C +this.state = -1; +; + BA.debugLineNum = 264;BA.debugLine="Dim aa As CameraPosition"; +Debug.ShouldStop(128); +_aa = RemoteObject.createNew ("anywheresoftware.b4a.objects.MapFragmentWrapper.CameraPositionWrapper");Debug.locals.put("aa", _aa); + BA.debugLineNum = 265;BA.debugLine="aa.Initialize(LatitudRu,LongitudRU,15)''' RECOMEN"; +Debug.ShouldStop(256); +_aa.runVoidMethod ("Initialize",(Object)(parent._latitudru),(Object)(parent._longitudru),(Object)(BA.numberCast(float.class, 15))); + BA.debugLineNum = 266;BA.debugLine="gmap.AnimateCamera(aa)"; +Debug.ShouldStop(512); +parent.mostCurrent._gmap.runVoidMethod ("AnimateCamera",(Object)((_aa.getObject()))); + BA.debugLineNum = 269;BA.debugLine="Dim OnInfoWindowClickListener1 As OnInfoWindowCli"; +Debug.ShouldStop(4096); +parent.mostCurrent._oninfowindowclicklistener1 = RemoteObject.createNew ("uk.co.martinpearman.b4a.com.google.android.gms.maps.googlemap.OnInfoWindowClickListener"); + BA.debugLineNum = 270;BA.debugLine="OnInfoWindowClickListener1.Initialize(\"OnInfoWind"; +Debug.ShouldStop(8192); +parent.mostCurrent._oninfowindowclicklistener1.runVoidMethod ("Initialize",mapa_rutas.mostCurrent.activityBA,(Object)(RemoteObject.createImmutable("OnInfoWindowClickListener1"))); + BA.debugLineNum = 271;BA.debugLine="GoogleMapEXTRA.SetOnInfoWindowClickListener(gmap,"; +Debug.ShouldStop(16384); +parent.mostCurrent._googlemapextra.runVoidMethod ("SetOnInfoWindowClickListener",(Object)((parent.mostCurrent._gmap.getObject())),(Object)((parent.mostCurrent._oninfowindowclicklistener1.getObject()))); + BA.debugLineNum = 272;BA.debugLine="End Sub"; +Debug.ShouldStop(32768); +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",28,mapa_rutas.mostCurrent.activityBA,mapa_rutas.mostCurrent,275); +if (RapidSub.canDelegate("oninfowindowclicklistener1_click")) { return reparto_izca.keymon.lat.mapa_rutas.remoteMe.runUserSub(false, "mapa_rutas","oninfowindowclicklistener1_click", _marker1);} +Debug.locals.put("Marker1", _marker1); + BA.debugLineNum = 275;BA.debugLine="Sub OnInfoWindowClickListener1_click(Marker1 As Ma"; +Debug.ShouldStop(262144); + BA.debugLineNum = 276;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CUENTAA\")"; +Debug.ShouldStop(524288); +mapa_rutas.mostCurrent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from CUENTAA"))); + BA.debugLineNum = 277;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CUENTAA V"; +Debug.ShouldStop(1048576); +mapa_rutas.mostCurrent._starter._skmt /*RemoteObject*/ .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 = 278;BA.debugLine="Activity.Finish"; +Debug.ShouldStop(2097152); +mapa_rutas.mostCurrent._activity.runVoidMethod ("Finish"); + BA.debugLineNum = 279;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +Debug.ShouldStop(4194304); +mapa_rutas.mostCurrent._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,mapa_rutas.mostCurrent.activityBA,(Object)(RemoteObject.createImmutable("Cliente"))); + BA.debugLineNum = 280;BA.debugLine="End Sub"; +Debug.ShouldStop(8388608); +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 = 11;BA.debugLine="Dim c As Cursor"; +mapa_rutas._c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); + //BA.debugLineNum = 12;BA.debugLine="Dim c2 As Cursor"; +mapa_rutas._c2 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); + //BA.debugLineNum = 13;BA.debugLine="Dim c22 As Cursor"; +mapa_rutas._c22 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); + //BA.debugLineNum = 14;BA.debugLine="Dim c3 As Cursor"; +mapa_rutas._c3 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); + //BA.debugLineNum = 15;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/reparto_izca/keymon/lat/newinst2.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/newinst2.java new file mode 100644 index 0000000..31a7f71 --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/newinst2.java @@ -0,0 +1,68 @@ + +package reparto_izca.keymon.lat; + +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"), "reparto_izca.keymon.lat.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("reparto_izca.keymon.lat.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 reparto_izca.keymon.lat.main _main = null; +public static reparto_izca.keymon.lat.appupdater _appupdater = null; +public static reparto_izca.keymon.lat.subs _subs = null; +public static reparto_izca.keymon.lat.foto _foto = null; +public static reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public static reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public static reparto_izca.keymon.lat.starter _starter = null; +public static reparto_izca.keymon.lat.tracker _tracker = null; +public static reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public static reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public static reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public static reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; + public Object[] GetGlobals() { + return new Object[] {"appUpdater",Debug.moduleToString(reparto_izca.keymon.lat.appupdater.class),"B4XCollections",Debug.moduleToString(reparto_izca.keymon.lat.b4xcollections.class),"B4XPages",Debug.moduleToString(reparto_izca.keymon.lat.b4xpages.class),"DateUtils",newinst2.mostCurrent._dateutils,"foto",Debug.moduleToString(reparto_izca.keymon.lat.foto.class),"HttpUtils2Service",Debug.moduleToString(reparto_izca.keymon.lat.httputils2service.class),"LogColor1",newinst2._logcolor1,"Main",Debug.moduleToString(reparto_izca.keymon.lat.main.class),"MAPA_CLIENTE",Debug.moduleToString(reparto_izca.keymon.lat.mapa_cliente.class),"MAPA_RUTAS",Debug.moduleToString(reparto_izca.keymon.lat.mapa_rutas.class),"pkg",newinst2._pkg,"Service",newinst2.mostCurrent._service,"Starter",Debug.moduleToString(reparto_izca.keymon.lat.starter.class),"Subs",Debug.moduleToString(reparto_izca.keymon.lat.subs.class),"svcVerbose",newinst2._svcverbose,"Tracker",Debug.moduleToString(reparto_izca.keymon.lat.tracker.class),"XUIViewsUtils",Debug.moduleToString(reparto_izca.keymon.lat.xuiviewsutils.class)}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/reparto_izca/keymon/lat/newinst2_subs_0.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/newinst2_subs_0.java new file mode 100644 index 0000000..cb30006 --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/newinst2_subs_0.java @@ -0,0 +1,165 @@ +package reparto_izca.keymon.lat; + +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",32,newinst2.processBA,newinst2.mostCurrent,38); +if (RapidSub.canDelegate("getpackagename")) { return reparto_izca.keymon.lat.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",32,newinst2.processBA,newinst2.mostCurrent,43); +if (RapidSub.canDelegate("myappreload")) { return reparto_izca.keymon.lat.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","829294593",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",32,newinst2.processBA,newinst2.mostCurrent,13); +if (RapidSub.canDelegate("service_create")) { return reparto_izca.keymon.lat.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","829032449",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",32,newinst2.processBA,newinst2.mostCurrent,35); +if (RapidSub.canDelegate("service_destroy")) { return reparto_izca.keymon.lat.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",32,newinst2.processBA,newinst2.mostCurrent,19); +if (RapidSub.canDelegate("service_start")) { return reparto_izca.keymon.lat.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","829097985",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","829097987",(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","829097988",(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","829097989",(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","829097990",(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","829097993",(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","829097995",(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/reparto_izca/keymon/lat/roundslider.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/roundslider.java new file mode 100644 index 0000000..6fb1a4e --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/roundslider.java @@ -0,0 +1,52 @@ + +package reparto_izca.keymon.lat; + +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 reparto_izca.keymon.lat.main _main = null; +public static reparto_izca.keymon.lat.appupdater _appupdater = null; +public static reparto_izca.keymon.lat.subs _subs = null; +public static reparto_izca.keymon.lat.foto _foto = null; +public static reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public static reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public static reparto_izca.keymon.lat.starter _starter = null; +public static reparto_izca.keymon.lat.tracker _tracker = null; +public static reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public static reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public static reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public static reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public static reparto_izca.keymon.lat.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/reparto_izca/keymon/lat/roundslider_subs_0.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/roundslider_subs_0.java new file mode 100644 index 0000000..48f2eb9 --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/roundslider_subs_0.java @@ -0,0 +1,576 @@ +package reparto_izca.keymon.lat; + +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",68,__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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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",68,__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",68,__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 (reparto_izca.keymon.lat.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",68,__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",68,__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",68,__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",68,__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 (reparto_izca.keymon.lat.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",68,__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 (reparto_izca.keymon.lat.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",68,__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 (reparto_izca.keymon.lat.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",68,__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 (reparto_izca.keymon.lat.roundslider.class, "_createthumb" /*RemoteObject*/ ); + BA.debugLineNum = 61;BA.debugLine="Draw"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (reparto_izca.keymon.lat.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",68,__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 (reparto_izca.keymon.lat.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/reparto_izca/keymon/lat/scrollinglabel.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/scrollinglabel.java new file mode 100644 index 0000000..40eaf56 --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/scrollinglabel.java @@ -0,0 +1,43 @@ + +package reparto_izca.keymon.lat; + +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 reparto_izca.keymon.lat.main _main = null; +public static reparto_izca.keymon.lat.appupdater _appupdater = null; +public static reparto_izca.keymon.lat.subs _subs = null; +public static reparto_izca.keymon.lat.foto _foto = null; +public static reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public static reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public static reparto_izca.keymon.lat.starter _starter = null; +public static reparto_izca.keymon.lat.tracker _tracker = null; +public static reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public static reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public static reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public static reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public static reparto_izca.keymon.lat.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/reparto_izca/keymon/lat/scrollinglabel_subs_0.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/scrollinglabel_subs_0.java new file mode 100644 index 0000000..8c98782 --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/scrollinglabel_subs_0.java @@ -0,0 +1,582 @@ +package reparto_izca.keymon.lat; + +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",69,__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 (reparto_izca.keymon.lat.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",69,__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 (reparto_izca.keymon.lat.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",69,__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",69,__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",69,__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",69,__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",69,__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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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",69,__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 (reparto_izca.keymon.lat.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",69,__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(reparto_izca.keymon.lat.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; +reparto_izca.keymon.lat.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",69,__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",69,__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/reparto_izca/keymon/lat/starter.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/starter.java new file mode 100644 index 0000000..1e2b332 --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/starter.java @@ -0,0 +1,90 @@ + +package reparto_izca.keymon.lat; + +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"), "reparto_izca.keymon.lat.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("reparto_izca.keymon.lat.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 _rp = RemoteObject.declareNull("anywheresoftware.b4a.objects.RuntimePermissions"); +public static RemoteObject _flp = RemoteObject.declareNull("uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper"); +public static RemoteObject _flpstarted = RemoteObject.createImmutable(false); +public static RemoteObject _skmt = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL"); +public static RemoteObject _ruta = RemoteObject.createImmutable(""); +public static RemoteObject _btadmin = RemoteObject.declareNull("anywheresoftware.b4a.objects.Serial.BluetoothAdmin"); +public static RemoteObject _bluetoothstate = RemoteObject.createImmutable(false); +public static RemoteObject _timer1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.Timer"); +public static RemoteObject _interval = RemoteObject.createImmutable(0); +public static RemoteObject _trackeractividad = RemoteObject.createImmutable(""); +public static RemoteObject _pushserviceactividad = RemoteObject.createImmutable(""); +public static RemoteObject _mac_impresora = 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 _sharedfolder = RemoteObject.createImmutable(""); +public static RemoteObject _cedislocation = RemoteObject.declareNull("anywheresoftware.b4a.gps.LocationWrapper"); +public static RemoteObject _reqmanager = RemoteObject.declareNull("reparto_izca.keymon.lat.dbrequestmanager"); +public static RemoteObject _server = RemoteObject.createImmutable(""); +public static RemoteObject _muestraprogreso = RemoteObject.createImmutable(""); +public static RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static reparto_izca.keymon.lat.main _main = null; +public static reparto_izca.keymon.lat.appupdater _appupdater = null; +public static reparto_izca.keymon.lat.subs _subs = null; +public static reparto_izca.keymon.lat.foto _foto = null; +public static reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public static reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public static reparto_izca.keymon.lat.tracker _tracker = null; +public static reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public static reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public static reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public static reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public static reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; + public Object[] GetGlobals() { + return new Object[] {"appUpdater",Debug.moduleToString(reparto_izca.keymon.lat.appupdater.class),"B4XCollections",Debug.moduleToString(reparto_izca.keymon.lat.b4xcollections.class),"B4XPages",Debug.moduleToString(reparto_izca.keymon.lat.b4xpages.class),"BluetoothState",starter._bluetoothstate,"BTAdmin",starter._btadmin,"c",starter._c,"cedisLocation",starter._cedislocation,"DateUtils",starter.mostCurrent._dateutils,"FLP",starter._flp,"flpStarted",starter._flpstarted,"foto",Debug.moduleToString(reparto_izca.keymon.lat.foto.class),"HttpUtils2Service",Debug.moduleToString(reparto_izca.keymon.lat.httputils2service.class),"Interval",starter._interval,"logcat",starter._logcat,"logs",starter._logs,"MAC_IMPRESORA",starter._mac_impresora,"Main",Debug.moduleToString(reparto_izca.keymon.lat.main.class),"MAPA_CLIENTE",Debug.moduleToString(reparto_izca.keymon.lat.mapa_cliente.class),"MAPA_RUTAS",Debug.moduleToString(reparto_izca.keymon.lat.mapa_rutas.class),"muestraProgreso",starter._muestraprogreso,"newinst2",Debug.moduleToString(reparto_izca.keymon.lat.newinst2.class),"pushServiceActividad",starter._pushserviceactividad,"reqManager",starter._reqmanager,"rp",starter._rp,"ruta",starter._ruta,"server",starter._server,"Service",starter.mostCurrent._service,"SharedFolder",starter._sharedfolder,"skmt",starter._skmt,"Subs",Debug.moduleToString(reparto_izca.keymon.lat.subs.class),"Timer1",starter._timer1,"Tracker",Debug.moduleToString(reparto_izca.keymon.lat.tracker.class),"trackerActividad",starter._trackeractividad,"XUIViewsUtils",Debug.moduleToString(reparto_izca.keymon.lat.xuiviewsutils.class)}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/reparto_izca/keymon/lat/starter_subs_0.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/starter_subs_0.java new file mode 100644 index 0000000..187ae60 --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/starter_subs_0.java @@ -0,0 +1,360 @@ +package reparto_izca.keymon.lat; + +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",29,starter.processBA,starter.mostCurrent,81); +if (RapidSub.canDelegate("application_error")) { return reparto_izca.keymon.lat.starter.remoteMe.runUserSub(false, "starter","application_error", _error, _stacktrace);} +Debug.locals.put("Error", _error); +Debug.locals.put("StackTrace", _stacktrace); + BA.debugLineNum = 81;BA.debugLine="Sub Application_Error (Error As Exception, StackTr"; +Debug.ShouldStop(65536); + BA.debugLineNum = 82;BA.debugLine="Return True"; +Debug.ShouldStop(131072); +if (true) return starter.mostCurrent.__c.getField(true,"True"); + BA.debugLineNum = 83;BA.debugLine="End Sub"; +Debug.ShouldStop(262144); +return RemoteObject.createImmutable(false); +} +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",29,starter.processBA,starter.mostCurrent,95); +if (RapidSub.canDelegate("envia_ultima_gps")) { return reparto_izca.keymon.lat.starter.remoteMe.runUserSub(false, "starter","envia_ultima_gps");} +RemoteObject _cmd = RemoteObject.declareNull("reparto_izca.keymon.lat.dbrequestmanager._dbcommand"); + BA.debugLineNum = 95;BA.debugLine="Sub ENVIA_ULTIMA_GPS"; +Debug.ShouldStop(1073741824); + BA.debugLineNum = 96;BA.debugLine="If IsConnectedToInternet Then"; +Debug.ShouldStop(-2147483648); +if (_isconnectedtointernet().get().booleanValue()) { + BA.debugLineNum = 97;BA.debugLine="Log(\"Con internet, enviamos UTR!\")"; +Debug.ShouldStop(1); +starter.mostCurrent.__c.runVoidMethod ("LogImpl","872810498",RemoteObject.createImmutable("Con internet, enviamos UTR!"),0); + BA.debugLineNum = 98;BA.debugLine="Dim skmt As SQL"; +Debug.ShouldStop(2); +starter._skmt = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL"); + BA.debugLineNum = 99;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(4); +_cmd = RemoteObject.createNew ("reparto_izca.keymon.lat.dbrequestmanager._dbcommand");Debug.locals.put("cmd", _cmd); + BA.debugLineNum = 100;BA.debugLine="Dim reqManager As DBRequestManager"; +Debug.ShouldStop(8); +starter._reqmanager = RemoteObject.createNew ("reparto_izca.keymon.lat.dbrequestmanager"); + BA.debugLineNum = 101;BA.debugLine="reqManager.Initialize(Me, server)"; +Debug.ShouldStop(16); +starter._reqmanager.runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_initialize" /*RemoteObject*/ ,starter.processBA,(Object)(starter.getObject()),(Object)(starter._server)); + BA.debugLineNum = 103;BA.debugLine="skmt.Initialize(ruta,\"kmt.db\", True)"; +Debug.ShouldStop(64); +starter._skmt.runVoidMethod ("Initialize",(Object)(starter._ruta),(Object)(BA.ObjectToString("kmt.db")),(Object)(starter.mostCurrent.__c.getField(true,"True"))); + 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 = 113;BA.debugLine="If B4XPages.MainPage.logger Then LogColor(\"Inici"; +Debug.ShouldStop(65536); +if (starter.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,starter.processBA).getField(true,"_logger" /*RemoteObject*/ ).get().booleanValue()) { +starter.mostCurrent.__c.runVoidMethod ("LogImpl","872810514",BA.ObjectToString("Iniciamos ENVIA_ULTIMA_GPS"),starter.mostCurrent.__c.getField(false,"Colors").getField(true,"Red"));}; + BA.debugLineNum = 114;BA.debugLine="DateTime.TimeFormat = \"HHmmss\""; +Debug.ShouldStop(131072); +starter.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HHmmss")); + BA.debugLineNum = 115;BA.debugLine="B4XPages.MainPage.ultimaActualizacionGPS = DateT"; +Debug.ShouldStop(262144); +starter.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,starter.processBA).setField ("_ultimaactualizaciongps" /*RemoteObject*/ ,starter.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(starter.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 116;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(524288); +_cmd.runVoidMethod ("Initialize"); + BA.debugLineNum = 117;BA.debugLine="cmd.Name = \"select_fechat\""; +Debug.ShouldStop(1048576); +_cmd.setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_fechat")); + BA.debugLineNum = 118;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"fechat\")"; +Debug.ShouldStop(2097152); +starter._reqmanager.runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(_cmd),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("fechat")))); + BA.debugLineNum = 120;BA.debugLine="Log(B4XPages.MainPage.montoActual&\" , \" &B4XPa"; +Debug.ShouldStop(8388608); +starter.mostCurrent.__c.runVoidMethod ("LogImpl","872810521",RemoteObject.concat(starter.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,starter.processBA).getField(true,"_montoactual" /*RemoteObject*/ ),RemoteObject.createImmutable(" , "),starter.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,starter.processBA).getField(true,"_clientestotal" /*RemoteObject*/ ),RemoteObject.createImmutable(" , "),starter.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,starter.processBA).getField(true,"_visitadostotales" /*RemoteObject*/ ),RemoteObject.createImmutable(" , "),starter.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,starter.processBA).getField(true,"_monto_entregadoactual" /*RemoteObject*/ ),RemoteObject.createImmutable(" , "),starter.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,starter.processBA).getField(true,"_entregas" /*RemoteObject*/ ),RemoteObject.createImmutable(" , "),starter.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,starter.processBA).getField(true,"_porvisitar" /*RemoteObject*/ ),RemoteObject.createImmutable(" , "),starter.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,starter.processBA).getField(true,"_rechazos" /*RemoteObject*/ ),RemoteObject.createImmutable(" , "),starter.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,starter.processBA).getField(true,"_lat_gps" /*RemoteObject*/ ),RemoteObject.createImmutable(" , "),starter.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,starter.processBA).getField(true,"_lon_gps" /*RemoteObject*/ ),RemoteObject.createImmutable(" , "),starter.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,starter.processBA).getField(true,"_batt" /*RemoteObject*/ ),RemoteObject.createImmutable(" , "),starter.mostCurrent.__c.getField(false,"Application").runMethod(true,"getVersionName"),RemoteObject.createImmutable(" , "),starter.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,starter.processBA).getField(true,"_almacen" /*RemoteObject*/ ),RemoteObject.createImmutable(" , "),starter.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,starter.processBA).getField(true,"_rutapreventa" /*RemoteObject*/ )),0); + BA.debugLineNum = 121;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(16777216); +_cmd = RemoteObject.createNew ("reparto_izca.keymon.lat.dbrequestmanager._dbcommand");Debug.locals.put("cmd", _cmd); + BA.debugLineNum = 122;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(33554432); +_cmd.runVoidMethod ("Initialize"); + BA.debugLineNum = 123;BA.debugLine="cmd.Name = \"UPDATE_IZCA_ACTUALR2_GPS\""; +Debug.ShouldStop(67108864); +_cmd.setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("UPDATE_IZCA_ACTUALR2_GPS")); + BA.debugLineNum = 125;BA.debugLine="cmd.Parameters = Array As Object(B4XPages.MainPa"; +Debug.ShouldStop(268435456); +_cmd.setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {13},new Object[] {(starter.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,starter.processBA).getField(true,"_montoactual" /*RemoteObject*/ )),(starter.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,starter.processBA).getField(true,"_clientestotal" /*RemoteObject*/ )),(starter.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,starter.processBA).getField(true,"_visitadostotales" /*RemoteObject*/ )),(starter.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,starter.processBA).getField(true,"_monto_entregadoactual" /*RemoteObject*/ )),(starter.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,starter.processBA).getField(true,"_entregas" /*RemoteObject*/ )),(starter.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,starter.processBA).getField(true,"_porvisitar" /*RemoteObject*/ )),(starter.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,starter.processBA).getField(true,"_rechazos" /*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*/ )),(starter.mostCurrent.__c.getField(false,"Application").runMethod(true,"getVersionName")),(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 = 126;BA.debugLine="If B4XPages.MainPage.logger Then Log($\"montoActu"; +Debug.ShouldStop(536870912); +if (starter.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,starter.processBA).getField(true,"_logger" /*RemoteObject*/ ).get().booleanValue()) { +starter.mostCurrent.__c.runVoidMethod ("LogImpl","872810527",(RemoteObject.concat(RemoteObject.createImmutable("montoActual: "),starter.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((starter.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,starter.processBA).getField(true,"_montoactual" /*RemoteObject*/ )))),RemoteObject.createImmutable(", cTotal: "),starter.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((starter.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,starter.processBA).getField(true,"_clientestotal" /*RemoteObject*/ )))),RemoteObject.createImmutable(", cVenta: "),starter.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((starter.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,starter.processBA).getField(true,"_clientesventa" /*RemoteObject*/ )))),RemoteObject.createImmutable(", cVisitados: "),starter.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((starter.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,starter.processBA).getField(true,"_clientesvisitados" /*RemoteObject*/ )))),RemoteObject.createImmutable(", "),starter.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((starter.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,starter.processBA).getField(true,"_lat_gps" /*RemoteObject*/ )))),RemoteObject.createImmutable(", "),starter.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((starter.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,starter.processBA).getField(true,"_lon_gps" /*RemoteObject*/ )))),RemoteObject.createImmutable(", Batt: "),starter.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((starter.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,starter.processBA).getField(true,"_batt" /*RemoteObject*/ )))),RemoteObject.createImmutable(", montoRechazado: "),starter.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((starter.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,starter.processBA).getField(true,"_montorechazado" /*RemoteObject*/ )))),RemoteObject.createImmutable(", montoEntregado: "),starter.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((starter.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,starter.processBA).getField(true,"_montoentregado" /*RemoteObject*/ )))),RemoteObject.createImmutable(", porVisitar: "),starter.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((starter.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,starter.processBA).getField(true,"_porvisitar" /*RemoteObject*/ )))),RemoteObject.createImmutable(", entregas: "),starter.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((starter.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,starter.processBA).getField(true,"_entregas" /*RemoteObject*/ )))),RemoteObject.createImmutable(", rechazos: "),starter.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((starter.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,starter.processBA).getField(true,"_rechazos" /*RemoteObject*/ )))),RemoteObject.createImmutable(", Almacen: "),starter.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((starter.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,starter.processBA).getField(true,"_almacen" /*RemoteObject*/ )))),RemoteObject.createImmutable(", Ruta: "),starter.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((starter.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,starter.processBA).getField(true,"_rutapreventa" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))),0);}; + BA.debugLineNum = 128;BA.debugLine="reqManager.ExecuteCommand(cmd, \"inst_visitas\")"; +Debug.ShouldStop(-2147483648); +starter._reqmanager.runClassMethod (reparto_izca.keymon.lat.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(_cmd),(Object)((RemoteObject.createImmutable("inst_visitas")))); + BA.debugLineNum = 129;BA.debugLine="skmt.ExecNonQuery2(\"Update cat_variables set CAT"; +Debug.ShouldStop(1); +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 = 132;BA.debugLine="Timer1.Enabled = False"; +Debug.ShouldStop(8); +starter._timer1.runMethod(true,"setEnabled",starter.mostCurrent.__c.getField(true,"False")); + BA.debugLineNum = 133;BA.debugLine="Timer1.Interval = Interval * 1000"; +Debug.ShouldStop(16); +starter._timer1.runMethod(true,"setInterval",BA.numberCast(long.class, RemoteObject.solve(new RemoteObject[] {starter._interval,RemoteObject.createImmutable(1000)}, "*",0, 1))); + BA.debugLineNum = 134;BA.debugLine="Timer1.Enabled = True"; +Debug.ShouldStop(32); +starter._timer1.runMethod(true,"setEnabled",starter.mostCurrent.__c.getField(true,"True")); + }else { + BA.debugLineNum = 136;BA.debugLine="Log(\"Sin conexión a internet, no se envió UTR!\")"; +Debug.ShouldStop(128); +starter.mostCurrent.__c.runVoidMethod ("LogImpl","872810537",RemoteObject.createImmutable("Sin conexión a internet, no se envió UTR!"),0); + }; + 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 _isconnectedtointernet() throws Exception{ +try { + Debug.PushSubsStack("IsConnectedToInternet (starter) ","starter",29,starter.processBA,starter.mostCurrent,145); +if (RapidSub.canDelegate("isconnectedtointernet")) { return reparto_izca.keymon.lat.starter.remoteMe.runUserSub(false, "starter","isconnectedtointernet");} +RemoteObject _r = RemoteObject.declareNull("anywheresoftware.b4a.agraham.reflection.Reflection"); + BA.debugLineNum = 145;BA.debugLine="Sub IsConnectedToInternet As Boolean 'ignore"; +Debug.ShouldStop(65536); + BA.debugLineNum = 146;BA.debugLine="Dim r As Reflector"; +Debug.ShouldStop(131072); +_r = RemoteObject.createNew ("anywheresoftware.b4a.agraham.reflection.Reflection");Debug.locals.put("r", _r); + BA.debugLineNum = 147;BA.debugLine="r.Target = r.GetContext"; +Debug.ShouldStop(262144); +_r.setField ("Target",(_r.runMethod(false,"GetContext",starter.processBA))); + BA.debugLineNum = 148;BA.debugLine="r.Target = r.RunMethod2(\"getSystemService\", \"conn"; +Debug.ShouldStop(524288); +_r.setField ("Target",_r.runMethod(false,"RunMethod2",(Object)(BA.ObjectToString("getSystemService")),(Object)(BA.ObjectToString("connectivity")),(Object)(RemoteObject.createImmutable("java.lang.String")))); + BA.debugLineNum = 149;BA.debugLine="r.Target = r.RunMethod(\"getActiveNetworkInfo\")"; +Debug.ShouldStop(1048576); +_r.setField ("Target",_r.runMethod(false,"RunMethod",(Object)(RemoteObject.createImmutable("getActiveNetworkInfo")))); + BA.debugLineNum = 150;BA.debugLine="If r.Target <> Null Then"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean("N",_r.getField(false,"Target"))) { + BA.debugLineNum = 151;BA.debugLine="Return r.RunMethod(\"isConnectedOrConnecting\")"; +Debug.ShouldStop(4194304); +if (true) return BA.ObjectToBoolean(_r.runMethod(false,"RunMethod",(Object)(RemoteObject.createImmutable("isConnectedOrConnecting")))); + }; + BA.debugLineNum = 153;BA.debugLine="Return False"; +Debug.ShouldStop(16777216); +if (true) return starter.mostCurrent.__c.getField(true,"False"); + BA.debugLineNum = 154;BA.debugLine="End Sub"; +Debug.ShouldStop(33554432); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _jobdone(RemoteObject _job) throws Exception{ +try { + Debug.PushSubsStack("JobDone (starter) ","starter",29,starter.processBA,starter.mostCurrent,156); +if (RapidSub.canDelegate("jobdone")) { return reparto_izca.keymon.lat.starter.remoteMe.runUserSub(false, "starter","jobdone", _job);} +Debug.locals.put("Job", _job); + BA.debugLineNum = 156;BA.debugLine="Sub JobDone(Job As HttpJob)"; +Debug.ShouldStop(134217728); + BA.debugLineNum = 160;BA.debugLine="If Job.Success = False Then"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_success" /*RemoteObject*/ ),starter.mostCurrent.__c.getField(true,"False"))) { + BA.debugLineNum = 162;BA.debugLine="If Job.ErrorMessage.Contains(\"failed to connect\""; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean(".",_job.getField(true,"_errormessage" /*RemoteObject*/ ).runMethod(true,"contains",(Object)(RemoteObject.createImmutable("failed to connect")))) || RemoteObject.solveBoolean(".",_job.getField(true,"_errormessage" /*RemoteObject*/ ).runMethod(true,"contains",(Object)(RemoteObject.createImmutable("Failed to connect"))))) { + BA.debugLineNum = 163;BA.debugLine="ToastMessageShow(\"!Hubo un error contactando al"; +Debug.ShouldStop(4); +starter.mostCurrent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("!Hubo un error contactando al servidor, por favor revise su conexión!")),(Object)(starter.mostCurrent.__c.getField(true,"True"))); + }; + }else { + }; + 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 _process_globals() throws Exception{ + //BA.debugLineNum = 6;BA.debugLine="Sub Process_Globals"; + //BA.debugLineNum = 9;BA.debugLine="Public rp As RuntimePermissions"; +starter._rp = RemoteObject.createNew ("anywheresoftware.b4a.objects.RuntimePermissions"); + //BA.debugLineNum = 10;BA.debugLine="Public FLP As FusedLocationProvider"; +starter._flp = RemoteObject.createNew ("uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper"); + //BA.debugLineNum = 11;BA.debugLine="Private flpStarted As Boolean"; +starter._flpstarted = RemoteObject.createImmutable(false); + //BA.debugLineNum = 12;BA.debugLine="Dim skmt As SQL"; +starter._skmt = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL"); + //BA.debugLineNum = 13;BA.debugLine="Dim ruta As String"; +starter._ruta = RemoteObject.createImmutable(""); + //BA.debugLineNum = 14;BA.debugLine="Private BTAdmin As BluetoothAdmin"; +starter._btadmin = RemoteObject.createNew ("anywheresoftware.b4a.objects.Serial.BluetoothAdmin"); + //BA.debugLineNum = 15;BA.debugLine="Public BluetoothState As Boolean"; +starter._bluetoothstate = RemoteObject.createImmutable(false); + //BA.debugLineNum = 16;BA.debugLine="Dim Timer1 As Timer"; +starter._timer1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.Timer"); + //BA.debugLineNum = 17;BA.debugLine="Dim Interval As Int = 300"; +starter._interval = BA.numberCast(int.class, 300); + //BA.debugLineNum = 21;BA.debugLine="Dim trackerActividad As String = \"501231235959\""; +starter._trackeractividad = BA.ObjectToString("501231235959"); + //BA.debugLineNum = 22;BA.debugLine="Dim pushServiceActividad As String = \"50123123595"; +starter._pushserviceactividad = BA.ObjectToString("501231235959"); + //BA.debugLineNum = 24;BA.debugLine="Dim MAC_IMPRESORA As String"; +starter._mac_impresora = RemoteObject.createImmutable(""); + //BA.debugLineNum = 25;BA.debugLine="Private logs As StringBuilder"; +starter._logs = RemoteObject.createNew ("anywheresoftware.b4a.keywords.StringBuilderWrapper"); + //BA.debugLineNum = 26;BA.debugLine="Private logcat As LogCat"; +starter._logcat = RemoteObject.createNew ("anywheresoftware.b4a.phone.Phone.LogCat"); + //BA.debugLineNum = 27;BA.debugLine="Public SharedFolder As String 'Para actualizar ap"; +starter._sharedfolder = RemoteObject.createImmutable(""); + //BA.debugLineNum = 28;BA.debugLine="Dim cedisLocation As Location"; +starter._cedislocation = RemoteObject.createNew ("anywheresoftware.b4a.gps.LocationWrapper"); + //BA.debugLineNum = 29;BA.debugLine="Dim reqManager As DBRequestManager"; +starter._reqmanager = RemoteObject.createNew ("reparto_izca.keymon.lat.dbrequestmanager"); + //BA.debugLineNum = 30;BA.debugLine="Dim server As String = \"http://keymon.net:1781\""; +starter._server = BA.ObjectToString("http://keymon.net:1781"); + //BA.debugLineNum = 34;BA.debugLine="Dim muestraProgreso = 0"; +starter._muestraprogreso = BA.NumberToString(0); + //BA.debugLineNum = 35;BA.debugLine="Dim c As Cursor"; +starter._c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); + //BA.debugLineNum = 36;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _service_create() throws Exception{ +try { + Debug.PushSubsStack("Service_Create (starter) ","starter",29,starter.processBA,starter.mostCurrent,38); +if (RapidSub.canDelegate("service_create")) { return reparto_izca.keymon.lat.starter.remoteMe.runUserSub(false, "starter","service_create");} + BA.debugLineNum = 38;BA.debugLine="Sub Service_Create"; +Debug.ShouldStop(32); + BA.debugLineNum = 41;BA.debugLine="ruta = File.DirInternal 'Ruta de la base de datos"; +Debug.ShouldStop(256); +starter._ruta = starter.mostCurrent.__c.getField(false,"File").runMethod(true,"getDirInternal"); + BA.debugLineNum = 43;BA.debugLine="If Not(File.Exists(ruta, \"kmt.db\")) Then File.Cop"; +Debug.ShouldStop(1024); +if (starter.mostCurrent.__c.runMethod(true,"Not",(Object)(starter.mostCurrent.__c.getField(false,"File").runMethod(true,"Exists",(Object)(starter._ruta),(Object)(RemoteObject.createImmutable("kmt.db"))))).get().booleanValue()) { +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._ruta),(Object)(RemoteObject.createImmutable("kmt.db")));}; + BA.debugLineNum = 44;BA.debugLine="Log(ruta)"; +Debug.ShouldStop(2048); +starter.mostCurrent.__c.runVoidMethod ("LogImpl","872417286",starter._ruta,0); + BA.debugLineNum = 45;BA.debugLine="skmt.Initialize(ruta,\"kmt.db\", True)"; +Debug.ShouldStop(4096); +starter._skmt.runVoidMethod ("Initialize",(Object)(starter._ruta),(Object)(BA.ObjectToString("kmt.db")),(Object)(starter.mostCurrent.__c.getField(true,"True"))); + BA.debugLineNum = 59;BA.debugLine="Timer1.Initialize(\"Timer1\", Interval * 1000)"; +Debug.ShouldStop(67108864); +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 = 60;BA.debugLine="Timer1.Enabled = True"; +Debug.ShouldStop(134217728); +starter._timer1.runMethod(true,"setEnabled",starter.mostCurrent.__c.getField(true,"True")); + BA.debugLineNum = 61;BA.debugLine="SharedFolder = rp.GetSafeDirDefaultExternal(\"\")"; +Debug.ShouldStop(268435456); +starter._sharedfolder = starter._rp.runMethod(true,"GetSafeDirDefaultExternal",(Object)(RemoteObject.createImmutable(""))); + BA.debugLineNum = 62;BA.debugLine="cedisLocation.Initialize"; +Debug.ShouldStop(536870912); +starter._cedislocation.runVoidMethod ("Initialize"); + BA.debugLineNum = 65;BA.debugLine="cedisLocation.Latitude = \"0\""; +Debug.ShouldStop(1); +starter._cedislocation.runMethod(true,"setLatitude",BA.numberCast(double.class, "0")); + BA.debugLineNum = 66;BA.debugLine="cedisLocation.Longitude = \"0\""; +Debug.ShouldStop(2); +starter._cedislocation.runMethod(true,"setLongitude",BA.numberCast(double.class, "0")); + 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 _service_destroy() throws Exception{ +try { + Debug.PushSubsStack("Service_Destroy (starter) ","starter",29,starter.processBA,starter.mostCurrent,85); +if (RapidSub.canDelegate("service_destroy")) { return reparto_izca.keymon.lat.starter.remoteMe.runUserSub(false, "starter","service_destroy");} + BA.debugLineNum = 85;BA.debugLine="Sub Service_Destroy"; +Debug.ShouldStop(1048576); + BA.debugLineNum = 87;BA.debugLine="End Sub"; +Debug.ShouldStop(4194304); +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",29,starter.processBA,starter.mostCurrent,69); +if (RapidSub.canDelegate("service_start")) { return reparto_izca.keymon.lat.starter.remoteMe.runUserSub(false, "starter","service_start", _startingintent);} +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 = 74;BA.debugLine="End Sub"; +Debug.ShouldStop(512); +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",29,starter.processBA,starter.mostCurrent,76); +if (RapidSub.canDelegate("service_taskremoved")) { return reparto_izca.keymon.lat.starter.remoteMe.runUserSub(false, "starter","service_taskremoved");} + BA.debugLineNum = 76;BA.debugLine="Sub Service_TaskRemoved"; +Debug.ShouldStop(2048); + 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 _timer1_tick() throws Exception{ +try { + Debug.PushSubsStack("Timer1_Tick (starter) ","starter",29,starter.processBA,starter.mostCurrent,89); +if (RapidSub.canDelegate("timer1_tick")) { return reparto_izca.keymon.lat.starter.remoteMe.runUserSub(false, "starter","timer1_tick");} + BA.debugLineNum = 89;BA.debugLine="Private Sub Timer1_Tick"; +Debug.ShouldStop(16777216); + BA.debugLineNum = 92;BA.debugLine="ENVIA_ULTIMA_GPS"; +Debug.ShouldStop(134217728); +_envia_ultima_gps(); + BA.debugLineNum = 93;BA.debugLine="End Sub"; +Debug.ShouldStop(268435456); +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/reparto_izca/keymon/lat/subs.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/subs.java new file mode 100644 index 0000000..b61215f --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/subs.java @@ -0,0 +1,73 @@ + +package reparto_izca.keymon.lat; + +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("reparto_izca.keymon.lat.subs"); + anywheresoftware.b4a.pc.RapidSub.moduleToObject.put(new B4XClass("subs"), "reparto_izca.keymon.lat.subs"); + RDebug.INSTANCE.eventTargets.put(new DeviceClass("reparto_izca.keymon.lat.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 _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static reparto_izca.keymon.lat.main _main = null; +public static reparto_izca.keymon.lat.appupdater _appupdater = null; +public static reparto_izca.keymon.lat.foto _foto = null; +public static reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public static reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public static reparto_izca.keymon.lat.starter _starter = null; +public static reparto_izca.keymon.lat.tracker _tracker = null; +public static reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public static reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public static reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public static reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public static reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; + public Object[] GetGlobals() { + return new Object[] {"appUpdater",Debug.moduleToString(reparto_izca.keymon.lat.appupdater.class),"B4XCollections",Debug.moduleToString(reparto_izca.keymon.lat.b4xcollections.class),"B4XPages",Debug.moduleToString(reparto_izca.keymon.lat.b4xpages.class),"DateUtils",subs.mostCurrent._dateutils,"devModel",subs._devmodel,"errorLog",subs._errorlog,"foto",Debug.moduleToString(reparto_izca.keymon.lat.foto.class),"GZip",subs._gzip,"HttpUtils2Service",Debug.moduleToString(reparto_izca.keymon.lat.httputils2service.class),"kmt",subs._kmt,"Main",Debug.moduleToString(reparto_izca.keymon.lat.main.class),"MAPA_CLIENTE",Debug.moduleToString(reparto_izca.keymon.lat.mapa_cliente.class),"MAPA_RUTAS",Debug.moduleToString(reparto_izca.keymon.lat.mapa_rutas.class),"newinst2",Debug.moduleToString(reparto_izca.keymon.lat.newinst2.class),"phn",subs._phn,"rutaHrsAtras",subs._rutahrsatras,"rutaMaxPoints",subs._rutamaxpoints,"ssid",subs._ssid,"Starter",Debug.moduleToString(reparto_izca.keymon.lat.starter.class),"su",subs._su,"Tracker",Debug.moduleToString(reparto_izca.keymon.lat.tracker.class),"XUIViewsUtils",Debug.moduleToString(reparto_izca.keymon.lat.xuiviewsutils.class)}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/reparto_izca/keymon/lat/subs_subs_0.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/subs_subs_0.java new file mode 100644 index 0000000..e66dc1b --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/subs_subs_0.java @@ -0,0 +1,3164 @@ +package reparto_izca.keymon.lat; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class subs_subs_0 { + + +public static RemoteObject _agregacolumna(RemoteObject _ba,RemoteObject _tabla,RemoteObject _columna,RemoteObject _tipo) throws Exception{ +try { + Debug.PushSubsStack("agregaColumna (subs) ","subs",12,_ba,subs.mostCurrent,966); +if (RapidSub.canDelegate("agregacolumna")) { return reparto_izca.keymon.lat.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 = 966;BA.debugLine="Sub agregaColumna(tabla As String, columna As Stri"; +Debug.ShouldStop(32); + BA.debugLineNum = 967;BA.debugLine="Try 'Intentamos usar \"pragma_table_info\" para rev"; +Debug.ShouldStop(64); +try { BA.debugLineNum = 968;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery($\"S"; +Debug.ShouldStop(128); +_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 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 = 969;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(256); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 970;BA.debugLine="If c.GetString(\"fCol\") = 0 Then 'Si no esta la c"; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean("=",_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("fCol"))),BA.NumberToString(0))) { + BA.debugLineNum = 971;BA.debugLine="Starter.skmt.ExecNonQuery($\"ALTER TABLE ${tabla"; +Debug.ShouldStop(1024); +subs.mostCurrent._starter._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 = 972;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a"; +Debug.ShouldStop(2048); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","821037062",(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 = 975;BA.debugLine="Try"; +Debug.ShouldStop(16384); +try { BA.debugLineNum = 976;BA.debugLine="Starter.skmt.ExecNonQuery($\"ALTER TABLE ${tabla"; +Debug.ShouldStop(32768); +subs.mostCurrent._starter._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 = 977;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a"; +Debug.ShouldStop(65536); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","821037067",(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 = 979;BA.debugLine="Log(LastException)"; +Debug.ShouldStop(262144); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","821037069",BA.ObjectToString(subs.mostCurrent.__c.runMethod(false,"LastException",_ba)),0); + }; + }; + BA.debugLineNum = 982;BA.debugLine="End Sub"; +Debug.ShouldStop(2097152); +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",12,_ba,subs.mostCurrent,441); +if (RapidSub.canDelegate("borraarribade100errores")) { return reparto_izca.keymon.lat.subs.remoteMe.runUserSub(false, "subs","borraarribade100errores", _ba);} +; + BA.debugLineNum = 441;BA.debugLine="Sub borraArribaDe100Errores 'ignore"; +Debug.ShouldStop(16777216); + BA.debugLineNum = 442;BA.debugLine="If Not(errorLog.IsInitialized) Then revisaBD"; +Debug.ShouldStop(33554432); +if (subs.mostCurrent.__c.runMethod(true,"Not",(Object)(subs._errorlog.runMethod(true,"IsInitialized"))).get().booleanValue()) { +_revisabd(_ba);}; + BA.debugLineNum = 443;BA.debugLine="LogColor(\"Recortamos la tabla de Errores, limite"; +Debug.ShouldStop(67108864); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","818874370",BA.ObjectToString("Recortamos la tabla de Errores, limite de 100"),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Magenta")); + BA.debugLineNum = 444;BA.debugLine="errorLog.ExecNonQuery(\"DELETE FROM errores WHERE"; +Debug.ShouldStop(134217728); +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 = 445;BA.debugLine="errorLog.ExecNonQuery(\"vacuum;\")"; +Debug.ShouldStop(268435456); +subs._errorlog.runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("vacuum;"))); + 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 _borraarribade600renglonesbitacora(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("borraArribaDe600RenglonesBitacora (subs) ","subs",12,_ba,subs.mostCurrent,450); +if (RapidSub.canDelegate("borraarribade600renglonesbitacora")) { return reparto_izca.keymon.lat.subs.remoteMe.runUserSub(false, "subs","borraarribade600renglonesbitacora", _ba);} +RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +; + BA.debugLineNum = 450;BA.debugLine="Sub borraArribaDe600RenglonesBitacora 'ignore"; +Debug.ShouldStop(2); + BA.debugLineNum = 451;BA.debugLine="revisaBD"; +Debug.ShouldStop(4); +_revisabd(_ba); + BA.debugLineNum = 452;BA.debugLine="LogColor(\"Recortamos la tabla de la Bitacora, lim"; +Debug.ShouldStop(8); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","818939906",BA.ObjectToString("Recortamos la tabla de la Bitacora, limite de 600"),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Magenta")); + BA.debugLineNum = 453;BA.debugLine="Private c As Cursor"; +Debug.ShouldStop(16); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");Debug.locals.put("c", _c); + BA.debugLineNum = 454;BA.debugLine="c = kmt.ExecQuery(\"select fecha from bitacora\")"; +Debug.ShouldStop(32); +_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 fecha from bitacora"))));Debug.locals.put("c", _c); + BA.debugLineNum = 455;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(64); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 456;BA.debugLine="If c.RowCount > 650 Then"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean(">",_c.runMethod(true,"getRowCount"),BA.numberCast(double.class, 650))) { + BA.debugLineNum = 457;BA.debugLine="kmt.ExecNonQuery(\"DELETE FROM bitacora WHERE fec"; +Debug.ShouldStop(256); +subs._kmt.runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM bitacora WHERE fecha NOT in (SELECT fecha FROM bitacora ORDER BY fecha desc LIMIT 599 )"))); + BA.debugLineNum = 458;BA.debugLine="kmt.ExecNonQuery(\"vacuum;\")"; +Debug.ShouldStop(512); +subs._kmt.runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("vacuum;"))); + }; + BA.debugLineNum = 461;BA.debugLine="c.Close"; +Debug.ShouldStop(4096); +_c.runVoidMethod ("Close"); + BA.debugLineNum = 462;BA.debugLine="End Sub"; +Debug.ShouldStop(8192); +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",12,_ba,subs.mostCurrent,329); +if (RapidSub.canDelegate("borralogdb")) { return reparto_izca.keymon.lat.subs.remoteMe.runUserSub(false, "subs","borralogdb", _ba);} +; + BA.debugLineNum = 329;BA.debugLine="Sub borraLogDB 'ignore"; +Debug.ShouldStop(256); + BA.debugLineNum = 330;BA.debugLine="LogColor(\"Borramos BD de log\", Colors.Magenta)"; +Debug.ShouldStop(512); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","818546689",BA.ObjectToString("Borramos BD de log"),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Magenta")); + BA.debugLineNum = 331;BA.debugLine="kmt.ExecNonQuery(\"delete from bitacora\")"; +Debug.ShouldStop(1024); +subs._kmt.runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from bitacora"))); + BA.debugLineNum = 332;BA.debugLine="kmt.ExecNonQuery(\"vacuum;\")"; +Debug.ShouldStop(2048); +subs._kmt.runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("vacuum;"))); + BA.debugLineNum = 333;BA.debugLine="End Sub"; +Debug.ShouldStop(4096); +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",12,_ba,subs.mostCurrent,186); +if (RapidSub.canDelegate("borramosarchivogps")) { return reparto_izca.keymon.lat.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 = 186;BA.debugLine="Sub borramosArchivoGPS 'ignore"; +Debug.ShouldStop(33554432); + BA.debugLineNum = 187;BA.debugLine="Dim out As OutputStream = File.OpenOutput(File.Di"; +Debug.ShouldStop(67108864); +_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,"getDirInternal")),(Object)(BA.ObjectToString("gps.txt")),(Object)(subs.mostCurrent.__c.getField(true,"False")));Debug.locals.put("out", _out);Debug.locals.put("out", _out); + BA.debugLineNum = 188;BA.debugLine="Dim s As String = \"\""; +Debug.ShouldStop(134217728); +_s = BA.ObjectToString("");Debug.locals.put("s", _s);Debug.locals.put("s", _s); + BA.debugLineNum = 189;BA.debugLine="Dim t() As Byte = s.GetBytes(\"UTF-8\")"; +Debug.ShouldStop(268435456); +_t = _s.runMethod(false,"getBytes",(Object)(RemoteObject.createImmutable("UTF-8")));Debug.locals.put("t", _t);Debug.locals.put("t", _t); + BA.debugLineNum = 190;BA.debugLine="out.WriteBytes(t, 0, t.Length)"; +Debug.ShouldStop(536870912); +_out.runVoidMethod ("WriteBytes",(Object)(_t),(Object)(BA.numberCast(int.class, 0)),(Object)(_t.getField(true,"length"))); + BA.debugLineNum = 191;BA.debugLine="out.Close"; +Debug.ShouldStop(1073741824); +_out.runVoidMethod ("Close"); + BA.debugLineNum = 192;BA.debugLine="End Sub"; +Debug.ShouldStop(-2147483648); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _centraboton(RemoteObject _ba,RemoteObject _elemento,RemoteObject _anchoelementosuperior) throws Exception{ +try { + Debug.PushSubsStack("centraBoton (subs) ","subs",12,_ba,subs.mostCurrent,619); +if (RapidSub.canDelegate("centraboton")) { return reparto_izca.keymon.lat.subs.remoteMe.runUserSub(false, "subs","centraboton", _ba, _elemento, _anchoelementosuperior);} +; +Debug.locals.put("elemento", _elemento); +Debug.locals.put("anchoElementoSuperior", _anchoelementosuperior); + BA.debugLineNum = 619;BA.debugLine="Sub centraBoton(elemento As Button, anchoElementoS"; +Debug.ShouldStop(1024); + BA.debugLineNum = 620;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 = 621;BA.debugLine="End Sub"; +Debug.ShouldStop(4096); +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",12,_ba,subs.mostCurrent,614); +if (RapidSub.canDelegate("centraetiqueta")) { return reparto_izca.keymon.lat.subs.remoteMe.runUserSub(false, "subs","centraetiqueta", _ba, _elemento, _anchoelementosuperior);} +; +Debug.locals.put("elemento", _elemento); +Debug.locals.put("anchoElementoSuperior", _anchoelementosuperior); + BA.debugLineNum = 614;BA.debugLine="Sub centraEtiqueta(elemento As Label, anchoElement"; +Debug.ShouldStop(32); + BA.debugLineNum = 615;BA.debugLine="elemento.Left = Round(anchoElementoSuperior/2)-(e"; +Debug.ShouldStop(64); +_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 = 616;BA.debugLine="End Sub"; +Debug.ShouldStop(128); +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",12,_ba,subs.mostCurrent,604); +if (RapidSub.canDelegate("centralistview")) { return reparto_izca.keymon.lat.subs.remoteMe.runUserSub(false, "subs","centralistview", _ba, _elemento, _anchoelementosuperior);} +; +Debug.locals.put("elemento", _elemento); +Debug.locals.put("anchoElementoSuperior", _anchoelementosuperior); + BA.debugLineNum = 604;BA.debugLine="Sub centraListView(elemento As ListView, anchoElem"; +Debug.ShouldStop(134217728); + BA.debugLineNum = 605;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 = 606;BA.debugLine="End Sub"; +Debug.ShouldStop(536870912); +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",12,_ba,subs.mostCurrent,609); +if (RapidSub.canDelegate("centrapanel")) { return reparto_izca.keymon.lat.subs.remoteMe.runUserSub(false, "subs","centrapanel", _ba, _elemento, _anchoelementosuperior);} +; +Debug.locals.put("elemento", _elemento); +Debug.locals.put("anchoElementoSuperior", _anchoelementosuperior); + BA.debugLineNum = 609;BA.debugLine="Sub centraPanel(elemento As Panel, anchoElementoSu"; +Debug.ShouldStop(1); + BA.debugLineNum = 610;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 = 611;BA.debugLine="End Sub"; +Debug.ShouldStop(4); +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",12,_ba,subs.mostCurrent,39); +if (RapidSub.canDelegate("compress")) { return reparto_izca.keymon.lat.subs.remoteMe.runUserSub(false, "subs","compress", _ba, _str);} +RemoteObject _compressed = null; +RemoteObject _base64 = RemoteObject.createImmutable(""); +; +Debug.locals.put("str", _str); + BA.debugLineNum = 39;BA.debugLine="Sub compress(str As String) As String 'ignore"; +Debug.ShouldStop(64); + BA.debugLineNum = 41;BA.debugLine="Dim compressed() As Byte = GZip.compress(str)"; +Debug.ShouldStop(256); +_compressed = subs._gzip.runMethod(false,"compress",(Object)(_str));Debug.locals.put("compressed", _compressed);Debug.locals.put("compressed", _compressed); + BA.debugLineNum = 44;BA.debugLine="Dim base64 As String = su.EncodeBase64(compressed"; +Debug.ShouldStop(2048); +_base64 = subs._su.runMethod(true,"EncodeBase64",(Object)(_compressed));Debug.locals.put("base64", _base64);Debug.locals.put("base64", _base64); + BA.debugLineNum = 45;BA.debugLine="Log($\"Comprimido: ${base64.Length}\"$)"; +Debug.ShouldStop(4096); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","817104902",(RemoteObject.concat(RemoteObject.createImmutable("Comprimido: "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_base64.runMethod(true,"length")))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 47;BA.debugLine="Return base64"; +Debug.ShouldStop(16384); +if (true) return _base64; + 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 _copiadb(RemoteObject _ba,RemoteObject _result) throws Exception{ +try { + Debug.PushSubsStack("copiaDB (subs) ","subs",12,_ba,subs.mostCurrent,538); +if (RapidSub.canDelegate("copiadb")) { return reparto_izca.keymon.lat.subs.remoteMe.runUserSub(false, "subs","copiadb", _ba, _result);} +RemoteObject _p = RemoteObject.createImmutable(""); +RemoteObject _thedir = RemoteObject.createImmutable(""); +; +Debug.locals.put("result", _result); + BA.debugLineNum = 538;BA.debugLine="Sub copiaDB(result As Boolean) 'ignore"; +Debug.ShouldStop(33554432); + BA.debugLineNum = 539;BA.debugLine="If result Then"; +Debug.ShouldStop(67108864); +if (_result.get().booleanValue()) { + BA.debugLineNum = 540;BA.debugLine="Dim p As String"; +Debug.ShouldStop(134217728); +_p = RemoteObject.createImmutable("");Debug.locals.put("p", _p); + BA.debugLineNum = 541;BA.debugLine="If File.ExternalWritable Then"; +Debug.ShouldStop(268435456); +if (subs.mostCurrent.__c.getField(false,"File").runMethod(true,"getExternalWritable").get().booleanValue()) { + BA.debugLineNum = 542;BA.debugLine="p = File.DirInternal"; +Debug.ShouldStop(536870912); +_p = subs.mostCurrent.__c.getField(false,"File").runMethod(true,"getDirInternal");Debug.locals.put("p", _p); + }else { + BA.debugLineNum = 545;BA.debugLine="p = File.DirInternal"; +Debug.ShouldStop(1); +_p = subs.mostCurrent.__c.getField(false,"File").runMethod(true,"getDirInternal");Debug.locals.put("p", _p); + }; + BA.debugLineNum = 548;BA.debugLine="Dim theDir As String"; +Debug.ShouldStop(8); +_thedir = RemoteObject.createImmutable("");Debug.locals.put("theDir", _thedir); + BA.debugLineNum = 549;BA.debugLine="Try"; +Debug.ShouldStop(16); +try { BA.debugLineNum = 550;BA.debugLine="File.MakeDir(File.DirInternal,\"kmts\")"; +Debug.ShouldStop(32); +subs.mostCurrent.__c.getField(false,"File").runVoidMethod ("MakeDir",(Object)(subs.mostCurrent.__c.getField(false,"File").runMethod(true,"getDirInternal")),(Object)(RemoteObject.createImmutable("kmts"))); + BA.debugLineNum = 551;BA.debugLine="theDir = \"/kmts\""; +Debug.ShouldStop(64); +_thedir = BA.ObjectToString("/kmts");Debug.locals.put("theDir", _thedir); + Debug.CheckDeviceExceptions(); +} + catch (Exception e13) { + BA.rdebugUtils.runVoidMethod("setLastException",BA.rdebugUtils.runMethod(false, "processBAFromBA", _ba), e13.toString()); BA.debugLineNum = 553;BA.debugLine="theDir = \"\""; +Debug.ShouldStop(256); +_thedir = BA.ObjectToString("");Debug.locals.put("theDir", _thedir); + }; + BA.debugLineNum = 555;BA.debugLine="Try"; +Debug.ShouldStop(1024); +try { BA.debugLineNum = 556;BA.debugLine="File.Copy(File.DirInternal,\"kmt.db\",File.DirInt"; +Debug.ShouldStop(2048); +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,"getDirInternal"),_thedir)),(Object)(RemoteObject.createImmutable("guna_rep_kmt.db"))); + BA.debugLineNum = 557;BA.debugLine="ToastMessageShow(\"BD copiada!\", False)"; +Debug.ShouldStop(4096); +subs.mostCurrent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("BD copiada!")),(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 = 559;BA.debugLine="ToastMessageShow(\"No se pudo hacer la copia: \"&"; +Debug.ShouldStop(16384); +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 = 561;BA.debugLine="Log(\"rootExternal=\"&p)"; +Debug.ShouldStop(65536); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","819267607",RemoteObject.concat(RemoteObject.createImmutable("rootExternal="),_p),0); + BA.debugLineNum = 562;BA.debugLine="Log(\"File.DirInternal=\"&File.DirInternal)"; +Debug.ShouldStop(131072); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","819267608",RemoteObject.concat(RemoteObject.createImmutable("File.DirInternal="),subs.mostCurrent.__c.getField(false,"File").runMethod(true,"getDirInternal")),0); + BA.debugLineNum = 563;BA.debugLine="Log(\"File.DirInternal=\"&File.DirInternal)"; +Debug.ShouldStop(262144); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","819267609",RemoteObject.concat(RemoteObject.createImmutable("File.DirInternal="),subs.mostCurrent.__c.getField(false,"File").runMethod(true,"getDirInternal")),0); + }else { + BA.debugLineNum = 565;BA.debugLine="ToastMessageShow(\"Sin permisos\", False)"; +Debug.ShouldStop(1048576); +subs.mostCurrent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Sin permisos")),(Object)(subs.mostCurrent.__c.getField(true,"False"))); + }; + BA.debugLineNum = 567;BA.debugLine="End Sub"; +Debug.ShouldStop(4194304); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _createbitmapwithnumber(RemoteObject _ba,RemoteObject _originalbitmap,RemoteObject _number) throws Exception{ +try { + Debug.PushSubsStack("CreateBitmapWithNumber (subs) ","subs",12,_ba,subs.mostCurrent,1058); +if (RapidSub.canDelegate("createbitmapwithnumber")) { return reparto_izca.keymon.lat.subs.remoteMe.runUserSub(false, "subs","createbitmapwithnumber", _ba, _originalbitmap, _number);} +RemoteObject _newbitmap = RemoteObject.declareNull("anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper"); +RemoteObject _canvas = RemoteObject.declareNull("anywheresoftware.b4a.objects.drawable.CanvasWrapper"); +RemoteObject _destrect = RemoteObject.declareNull("anywheresoftware.b4a.objects.drawable.CanvasWrapper.RectWrapper"); +; +Debug.locals.put("OriginalBitmap", _originalbitmap); +Debug.locals.put("Number", _number); + BA.debugLineNum = 1058;BA.debugLine="Sub CreateBitmapWithNumber(OriginalBitmap As Bitma"; +Debug.ShouldStop(2); + BA.debugLineNum = 1059;BA.debugLine="Dim NewBitmap As Bitmap"; +Debug.ShouldStop(4); +_newbitmap = RemoteObject.createNew ("anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper");Debug.locals.put("NewBitmap", _newbitmap); + BA.debugLineNum = 1060;BA.debugLine="NewBitmap.InitializeMutable(OriginalBitmap.Width,"; +Debug.ShouldStop(8); +_newbitmap.runVoidMethod ("InitializeMutable",(Object)(_originalbitmap.runMethod(true,"getWidth")),(Object)(_originalbitmap.runMethod(true,"getHeight"))); + BA.debugLineNum = 1062;BA.debugLine="Dim Canvas As Canvas"; +Debug.ShouldStop(32); +_canvas = RemoteObject.createNew ("anywheresoftware.b4a.objects.drawable.CanvasWrapper");Debug.locals.put("Canvas", _canvas); + BA.debugLineNum = 1063;BA.debugLine="Canvas.Initialize2(NewBitmap)"; +Debug.ShouldStop(64); +_canvas.runVoidMethod ("Initialize2",(Object)((_newbitmap.getObject()))); + BA.debugLineNum = 1066;BA.debugLine="Dim DestRect As Rect"; +Debug.ShouldStop(512); +_destrect = RemoteObject.createNew ("anywheresoftware.b4a.objects.drawable.CanvasWrapper.RectWrapper");Debug.locals.put("DestRect", _destrect); + BA.debugLineNum = 1067;BA.debugLine="DestRect.Initialize(0, 0, OriginalBitmap.Width, O"; +Debug.ShouldStop(1024); +_destrect.runVoidMethod ("Initialize",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(_originalbitmap.runMethod(true,"getWidth")),(Object)(_originalbitmap.runMethod(true,"getHeight"))); + BA.debugLineNum = 1070;BA.debugLine="Canvas.DrawBitmap(OriginalBitmap, Null, DestRect)"; +Debug.ShouldStop(8192); +_canvas.runVoidMethod ("DrawBitmap",(Object)((_originalbitmap.getObject())),(Object)((subs.mostCurrent.__c.getField(false,"Null"))),(Object)((_destrect.getObject()))); + BA.debugLineNum = 1073;BA.debugLine="Canvas.DrawText(Number, (OriginalBitmap.Width / 2"; +Debug.ShouldStop(65536); +_canvas.runVoidMethod ("DrawText",_ba,(Object)(BA.NumberToString(_number)),(Object)(BA.numberCast(float.class, (RemoteObject.solve(new RemoteObject[] {_originalbitmap.runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0)))),(Object)(BA.numberCast(float.class, (RemoteObject.solve(new RemoteObject[] {_originalbitmap.runMethod(true,"getHeight"),RemoteObject.createImmutable(2.4)}, "/",0, 0)))),(Object)(subs.mostCurrent.__c.getField(false,"Typeface").getField(false,"DEFAULT")),(Object)(BA.numberCast(float.class, 20)),(Object)(subs.mostCurrent.__c.getField(false,"Colors").getField(true,"White")),(Object)(BA.getEnumFromString(BA.getDeviceClass("android.graphics.Paint.Align"),RemoteObject.createImmutable("CENTER")))); + BA.debugLineNum = 1075;BA.debugLine="Return NewBitmap"; +Debug.ShouldStop(262144); +if (true) return _newbitmap; + BA.debugLineNum = 1076;BA.debugLine="End Sub"; +Debug.ShouldStop(524288); +return RemoteObject.createImmutable(null); +} +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",12,_ba,subs.mostCurrent,475); +if (RapidSub.canDelegate("dameerroresjson")) { return reparto_izca.keymon.lat.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 = 475;BA.debugLine="Sub dameErroresJSON(SQL As SQL, maxErrores As Int,"; +Debug.ShouldStop(67108864); + BA.debugLineNum = 476;BA.debugLine="Log(\"dameErroresJSON\")"; +Debug.ShouldStop(134217728); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","819070977",RemoteObject.createImmutable("dameErroresJSON"),0); + BA.debugLineNum = 477;BA.debugLine="Private j As JSONGenerator"; +Debug.ShouldStop(268435456); +_j = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.JSONParser.JSONGenerator");Debug.locals.put("j", _j); + BA.debugLineNum = 478;BA.debugLine="Private lim As String"; +Debug.ShouldStop(536870912); +_lim = RemoteObject.createImmutable("");Debug.locals.put("lim", _lim); + BA.debugLineNum = 479;BA.debugLine="Private cur As ResultSet"; +Debug.ShouldStop(1073741824); +_cur = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.ResultSetWrapper");Debug.locals.put("cur", _cur); + BA.debugLineNum = 480;BA.debugLine="Private l As List"; +Debug.ShouldStop(-2147483648); +_l = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");Debug.locals.put("l", _l); + BA.debugLineNum = 481;BA.debugLine="Private i As Int = 0"; +Debug.ShouldStop(1); +_i = BA.numberCast(int.class, 0);Debug.locals.put("i", _i);Debug.locals.put("i", _i); + BA.debugLineNum = 482;BA.debugLine="l.Initialize"; +Debug.ShouldStop(2); +_l.runVoidMethod ("Initialize"); + BA.debugLineNum = 483;BA.debugLine="Dim m, m2 As Map"; +Debug.ShouldStop(4); +_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 = 484;BA.debugLine="m2.Initialize"; +Debug.ShouldStop(8); +_m2.runVoidMethod ("Initialize"); + BA.debugLineNum = 485;BA.debugLine="If maxErrores = 0 Then lim = \"\" Else lim = \"limit"; +Debug.ShouldStop(16); +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 = 486;BA.debugLine="cur = SQL.ExecQuery(\"select * from errores order"; +Debug.ShouldStop(32); +_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 = 487;BA.debugLine="Do While cur.NextRow"; +Debug.ShouldStop(64); +while (_cur.runMethod(true,"NextRow").get().booleanValue()) { + BA.debugLineNum = 488;BA.debugLine="m.Initialize"; +Debug.ShouldStop(128); +_m.runVoidMethod ("Initialize"); + BA.debugLineNum = 489;BA.debugLine="m.Put(\"fecha\", cur.GetString(\"fecha\"))"; +Debug.ShouldStop(256); +_m.runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("fecha"))),(Object)((_cur.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("fecha")))))); + BA.debugLineNum = 490;BA.debugLine="m.Put(\"error\", cur.GetString(\"error\"))"; +Debug.ShouldStop(512); +_m.runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("error"))),(Object)((_cur.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("error")))))); + BA.debugLineNum = 491;BA.debugLine="m2.Put(i,m)"; +Debug.ShouldStop(1024); +_m2.runVoidMethod ("Put",(Object)((_i)),(Object)((_m.getObject()))); + BA.debugLineNum = 492;BA.debugLine="i = i + 1"; +Debug.ShouldStop(2048); +_i = RemoteObject.solve(new RemoteObject[] {_i,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("i", _i); + } +; + BA.debugLineNum = 494;BA.debugLine="cur.Close"; +Debug.ShouldStop(8192); +_cur.runVoidMethod ("Close"); + BA.debugLineNum = 495;BA.debugLine="j.Initialize(m2)"; +Debug.ShouldStop(16384); +_j.runVoidMethod ("Initialize",(Object)(_m2)); + BA.debugLineNum = 496;BA.debugLine="Log(j.ToString)"; +Debug.ShouldStop(32768); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","819070997",_j.runMethod(true,"ToString"),0); + BA.debugLineNum = 497;BA.debugLine="If comprimido Then"; +Debug.ShouldStop(65536); +if (_comprimido.get().booleanValue()) { + BA.debugLineNum = 498;BA.debugLine="Return compress(j.ToString)"; +Debug.ShouldStop(131072); +if (true) return _compress(_ba,_j.runMethod(true,"ToString")); + }else { + BA.debugLineNum = 500;BA.debugLine="Return j.ToString"; +Debug.ShouldStop(524288); +if (true) return _j.runMethod(true,"ToString"); + }; + BA.debugLineNum = 502;BA.debugLine="End Sub"; +Debug.ShouldStop(2097152); +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",12,_ba,subs.mostCurrent,142); +if (RapidSub.canDelegate("dameruta")) { return reparto_izca.keymon.lat.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 = 142;BA.debugLine="Sub dameRuta(inicioRuta As String, origenRuta As S"; +Debug.ShouldStop(8192); + BA.debugLineNum = 144;BA.debugLine="Dim fechaInicio As String"; +Debug.ShouldStop(32768); +_fechainicio = RemoteObject.createImmutable("");Debug.locals.put("fechaInicio", _fechainicio); + BA.debugLineNum = 145;BA.debugLine="Try 'incioRuta es numero"; +Debug.ShouldStop(65536); +try { BA.debugLineNum = 146;BA.debugLine="inicioRuta = inicioRuta * 1"; +Debug.ShouldStop(131072); +_inicioruta = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _inicioruta),RemoteObject.createImmutable(1)}, "*",0, 0));Debug.locals.put("inicioRuta", _inicioruta); + BA.debugLineNum = 148;BA.debugLine="fechaInicio = fechaKMT(DateTime.Now - (DateTime."; +Debug.ShouldStop(524288); +_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 = 150;BA.debugLine="fechaInicio = fechaInicioHoy"; +Debug.ShouldStop(2097152); +_fechainicio = _fechainiciohoy(_ba);Debug.locals.put("fechaInicio", _fechainicio); + }; + BA.debugLineNum = 153;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"fechaInicio"; +Debug.ShouldStop(16777216); +if (subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(true,"_logger" /*RemoteObject*/ ).get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","817629195",RemoteObject.concat(RemoteObject.createImmutable("fechaInicio: "),_fechainicio,RemoteObject.createImmutable(" | rutaHrsAtras="),subs._rutahrsatras),0);}; + BA.debugLineNum = 154;BA.debugLine="Dim c As Cursor"; +Debug.ShouldStop(33554432); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");Debug.locals.put("c", _c); + BA.debugLineNum = 155;BA.debugLine="If kmt.IsInitialized = False Then kmt.Initialize("; +Debug.ShouldStop(67108864); +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 = 156;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"select FECH"; +Debug.ShouldStop(134217728); +if (subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(true,"_logger" /*RemoteObject*/ ).get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","817629198",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 = 157;BA.debugLine="c = kmt.ExecQuery(\"select FECHA, LAT, LON from \"&"; +Debug.ShouldStop(268435456); +_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 = 158;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(536870912); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 159;BA.debugLine="Dim ruta2 As String = \"\""; +Debug.ShouldStop(1073741824); +_ruta2 = BA.ObjectToString("");Debug.locals.put("ruta2", _ruta2);Debug.locals.put("ruta2", _ruta2); + BA.debugLineNum = 160;BA.debugLine="If c.RowCount>0 Then"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean(">",_c.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 161;BA.debugLine="For i=0 To c.RowCount -1"; +Debug.ShouldStop(1); +{ +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 = 162;BA.debugLine="c.Position=i"; +Debug.ShouldStop(2); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 163;BA.debugLine="ruta2=ruta2&CRLF&c.GetString(\"LAT\")&\",\"&c.GetSt"; +Debug.ShouldStop(4); +_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 = 164;BA.debugLine="B4XPages.MainPage.fechaRuta = c.GetString(\"FECH"; +Debug.ShouldStop(8); +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 = 167;BA.debugLine="c.Close"; +Debug.ShouldStop(64); +_c.runVoidMethod ("Close"); + BA.debugLineNum = 168;BA.debugLine="Return compress(ruta2)"; +Debug.ShouldStop(128); +if (true) return _compress(_ba,_ruta2); + 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 _dameusuariodedb(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("dameUsuarioDeDB (subs) ","subs",12,_ba,subs.mostCurrent,583); +if (RapidSub.canDelegate("dameusuariodedb")) { return reparto_izca.keymon.lat.subs.remoteMe.runUserSub(false, "subs","dameusuariodedb", _ba);} +RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _u = RemoteObject.createImmutable(""); +; + BA.debugLineNum = 583;BA.debugLine="Sub dameUsuarioDeDB As String 'ignore"; +Debug.ShouldStop(64); + BA.debugLineNum = 584;BA.debugLine="Private c As Cursor"; +Debug.ShouldStop(128); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");Debug.locals.put("c", _c); + BA.debugLineNum = 585;BA.debugLine="Private u As String = \"SinUsuario\""; +Debug.ShouldStop(256); +_u = BA.ObjectToString("SinUsuario");Debug.locals.put("u", _u);Debug.locals.put("u", _u); + BA.debugLineNum = 586;BA.debugLine="If Not(kmt.IsInitialized) Then revisaBD"; +Debug.ShouldStop(512); +if (subs.mostCurrent.__c.runMethod(true,"Not",(Object)(subs._kmt.runMethod(true,"IsInitialized"))).get().booleanValue()) { +_revisabd(_ba);}; + BA.debugLineNum = 587;BA.debugLine="c=kmt.ExecQuery(\"select USUARIO from usuarioa\")"; +Debug.ShouldStop(1024); +_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 = 588;BA.debugLine="c.Position=0"; +Debug.ShouldStop(2048); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 589;BA.debugLine="If c.RowCount > 0 Then u = c.GetString(\"USUARIO\")"; +Debug.ShouldStop(4096); +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 = 590;BA.debugLine="c.Close"; +Debug.ShouldStop(8192); +_c.runVoidMethod ("Close"); + BA.debugLineNum = 591;BA.debugLine="Return u"; +Debug.ShouldStop(16384); +if (true) return _u; + BA.debugLineNum = 592;BA.debugLine="End Sub"; +Debug.ShouldStop(32768); +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",12,_ba,subs.mostCurrent,51); +if (RapidSub.canDelegate("decompress")) { return reparto_izca.keymon.lat.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 = 51;BA.debugLine="Sub decompress(base64 As String) As String 'ignore"; +Debug.ShouldStop(262144); + BA.debugLineNum = 52;BA.debugLine="Dim decompressedbytes() As Byte = su.DecodeBase64"; +Debug.ShouldStop(524288); +_decompressedbytes = subs._su.runMethod(false,"DecodeBase64",(Object)(_base64));Debug.locals.put("decompressedbytes", _decompressedbytes);Debug.locals.put("decompressedbytes", _decompressedbytes); + BA.debugLineNum = 54;BA.debugLine="Dim bc As ByteConverter"; +Debug.ShouldStop(2097152); +_bc = RemoteObject.createNew ("anywheresoftware.b4a.agraham.byteconverter.ByteConverter");Debug.locals.put("bc", _bc); + BA.debugLineNum = 55;BA.debugLine="Dim uncompressed As String = bc.StringFromBytes(d"; +Debug.ShouldStop(4194304); +_uncompressed = _bc.runMethod(true,"StringFromBytes",(Object)(_decompressedbytes),(Object)(RemoteObject.createImmutable("UTF8")));Debug.locals.put("uncompressed", _uncompressed);Debug.locals.put("uncompressed", _uncompressed); + BA.debugLineNum = 56;BA.debugLine="Log($\"Descomprimido: ${uncompressed.Length}\"$)"; +Debug.ShouldStop(8388608); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","817170437",(RemoteObject.concat(RemoteObject.createImmutable("Descomprimido: "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_uncompressed.runMethod(true,"length")))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 58;BA.debugLine="Return uncompressed"; +Debug.ShouldStop(33554432); +if (true) return _uncompressed; + 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 _deleteerrorlog_db(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("deleteErrorLog_DB (subs) ","subs",12,_ba,subs.mostCurrent,178); +if (RapidSub.canDelegate("deleteerrorlog_db")) { return reparto_izca.keymon.lat.subs.remoteMe.runUserSub(false, "subs","deleteerrorlog_db", _ba);} +; + BA.debugLineNum = 178;BA.debugLine="Sub deleteErrorLog_DB 'ignore"; +Debug.ShouldStop(131072); + BA.debugLineNum = 179;BA.debugLine="If Not(errorLog.IsInitialized) Then revisaBD"; +Debug.ShouldStop(262144); +if (subs.mostCurrent.__c.runMethod(true,"Not",(Object)(subs._errorlog.runMethod(true,"IsInitialized"))).get().booleanValue()) { +_revisabd(_ba);}; + BA.debugLineNum = 180;BA.debugLine="errorLog.ExecNonQuery(\"delete from errores\")"; +Debug.ShouldStop(524288); +subs._errorlog.runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from errores"))); + BA.debugLineNum = 181;BA.debugLine="errorLog.ExecNonQuery(\"vacuum;\")"; +Debug.ShouldStop(1048576); +subs._errorlog.runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("vacuum;"))); + BA.debugLineNum = 182;BA.debugLine="ToastMessageShow(\"Borrada\", False)"; +Debug.ShouldStop(2097152); +subs.mostCurrent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Borrada")),(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 _deletegps_db(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("deleteGPS_DB (subs) ","subs",12,_ba,subs.mostCurrent,172); +if (RapidSub.canDelegate("deletegps_db")) { return reparto_izca.keymon.lat.subs.remoteMe.runUserSub(false, "subs","deletegps_db", _ba);} +; + BA.debugLineNum = 172;BA.debugLine="Sub deleteGPS_DB 'ignore"; +Debug.ShouldStop(2048); + BA.debugLineNum = 173;BA.debugLine="kmt.ExecNonQuery(\"delete from RUTA_GPS\")"; +Debug.ShouldStop(4096); +subs._kmt.runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from RUTA_GPS"))); + BA.debugLineNum = 174;BA.debugLine="kmt.ExecNonQuery(\"vacuum;\")"; +Debug.ShouldStop(8192); +subs._kmt.runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("vacuum;"))); + 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 _fechainiciohoy(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("fechaInicioHoy (subs) ","subs",12,_ba,subs.mostCurrent,288); +if (RapidSub.canDelegate("fechainiciohoy")) { return reparto_izca.keymon.lat.subs.remoteMe.runUserSub(false, "subs","fechainiciohoy", _ba);} +RemoteObject _origformat = RemoteObject.createImmutable(""); +RemoteObject _h = RemoteObject.createImmutable(""); +; + BA.debugLineNum = 288;BA.debugLine="Sub fechaInicioHoy As String 'ignore"; +Debug.ShouldStop(-2147483648); + BA.debugLineNum = 289;BA.debugLine="Dim OrigFormat As String = DateTime.DateFormat"; +Debug.ShouldStop(1); +_origformat = subs.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"getDateFormat");Debug.locals.put("OrigFormat", _origformat);Debug.locals.put("OrigFormat", _origformat); + BA.debugLineNum = 290;BA.debugLine="DateTime.DateFormat=\"yyMMdd\""; +Debug.ShouldStop(2); +subs.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("yyMMdd")); + BA.debugLineNum = 291;BA.debugLine="Private h As String = DateTime.Date(DateTime.Now"; +Debug.ShouldStop(4); +_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 = 292;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig"; +Debug.ShouldStop(8); +subs.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",_origformat); + BA.debugLineNum = 293;BA.debugLine="Log(\"Hoy=\"&h)"; +Debug.ShouldStop(16); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","818284549",RemoteObject.concat(RemoteObject.createImmutable("Hoy="),_h),0); + BA.debugLineNum = 294;BA.debugLine="Return h"; +Debug.ShouldStop(32); +if (true) return _h; + BA.debugLineNum = 295;BA.debugLine="End Sub"; +Debug.ShouldStop(64); +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",12,_ba,subs.mostCurrent,62); +if (RapidSub.canDelegate("fechakmt")) { return reparto_izca.keymon.lat.subs.remoteMe.runUserSub(false, "subs","fechakmt", _ba, _fecha);} +RemoteObject _origformat = RemoteObject.createImmutable(""); +RemoteObject _nuevafecha = RemoteObject.createImmutable(""); +; +Debug.locals.put("fecha", _fecha); + BA.debugLineNum = 62;BA.debugLine="Sub fechaKMT(fecha As String) As String 'ignore"; +Debug.ShouldStop(536870912); + BA.debugLineNum = 64;BA.debugLine="Dim OrigFormat As String = DateTime.DateFormat '"; +Debug.ShouldStop(-2147483648); +_origformat = subs.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"getDateFormat");Debug.locals.put("OrigFormat", _origformat);Debug.locals.put("OrigFormat", _origformat); + BA.debugLineNum = 65;BA.debugLine="DateTime.DateFormat=\"yyMMddHHmmss\""; +Debug.ShouldStop(1); +subs.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("yyMMddHHmmss")); + BA.debugLineNum = 66;BA.debugLine="Dim nuevaFecha As String=DateTime.Date(fecha)"; +Debug.ShouldStop(2); +_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 = 67;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig d"; +Debug.ShouldStop(4); +subs.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",_origformat); + BA.debugLineNum = 69;BA.debugLine="Return nuevaFecha"; +Debug.ShouldStop(16); +if (true) return _nuevafecha; + 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 _fechakmt2ticks(RemoteObject _ba,RemoteObject _fkmt) throws Exception{ +try { + Debug.PushSubsStack("fechaKMT2Ticks (subs) ","subs",12,_ba,subs.mostCurrent,505); +if (RapidSub.canDelegate("fechakmt2ticks")) { return reparto_izca.keymon.lat.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 = 505;BA.debugLine="Sub fechaKMT2Ticks(fKMT As String) As Long 'ignore"; +Debug.ShouldStop(16777216); + BA.debugLineNum = 506;BA.debugLine="Try"; +Debug.ShouldStop(33554432); +try { BA.debugLineNum = 507;BA.debugLine="If fKMT.Length = 12 Then"; +Debug.ShouldStop(67108864); +if (RemoteObject.solveBoolean("=",_fkmt.runMethod(true,"length"),BA.numberCast(double.class, 12))) { + BA.debugLineNum = 508;BA.debugLine="Private parteFecha As String = fKMT.SubString2("; +Debug.ShouldStop(134217728); +_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 = 509;BA.debugLine="Private parteHora As String = fKMT.SubString(6)"; +Debug.ShouldStop(268435456); +_partehora = _fkmt.runMethod(true,"substring",(Object)(BA.numberCast(int.class, 6)));Debug.locals.put("parteHora", _partehora);Debug.locals.put("parteHora", _partehora); + BA.debugLineNum = 510;BA.debugLine="Private OrigFormat As String = DateTime.DateFor"; +Debug.ShouldStop(536870912); +_origformat = subs.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"getDateFormat");Debug.locals.put("OrigFormat", _origformat);Debug.locals.put("OrigFormat", _origformat); + BA.debugLineNum = 511;BA.debugLine="DateTime.DateFormat=\"yyMMdd\""; +Debug.ShouldStop(1073741824); +subs.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("yyMMdd")); + BA.debugLineNum = 512;BA.debugLine="DateTime.TimeFormat=\"HHmmss\""; +Debug.ShouldStop(-2147483648); +subs.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HHmmss")); + BA.debugLineNum = 513;BA.debugLine="Private ticks As Long = DateTime.DateTimeParse("; +Debug.ShouldStop(1); +_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 = 515;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig"; +Debug.ShouldStop(4); +subs.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",_origformat); + BA.debugLineNum = 516;BA.debugLine="Return ticks"; +Debug.ShouldStop(8); +Debug.CheckDeviceExceptions();if (true) return _ticks; + }else { + BA.debugLineNum = 518;BA.debugLine="Log(\"Formato de fecha incorrecto, debe de ser '"; +Debug.ShouldStop(32); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","819136525",RemoteObject.concat(RemoteObject.createImmutable("Formato de fecha incorrecto, debe de ser 'YYMMDDHHMMSS', no '"),_fkmt,RemoteObject.createImmutable("' largo="),_fkmt.runMethod(true,"length")),0); + BA.debugLineNum = 519;BA.debugLine="Return 0"; +Debug.ShouldStop(64); +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 = 522;BA.debugLine="Log(LastException)"; +Debug.ShouldStop(512); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","819136529",BA.ObjectToString(subs.mostCurrent.__c.runMethod(false,"LastException",_ba)),0); + BA.debugLineNum = 523;BA.debugLine="LogColor($\"Fecha dada: ${fKMT}, Parte Fecha: ${p"; +Debug.ShouldStop(1024); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","819136530",(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 = 524;BA.debugLine="Return 0"; +Debug.ShouldStop(2048); +if (true) return BA.numberCast(long.class, 0); + }; + BA.debugLineNum = 526;BA.debugLine="End Sub"; +Debug.ShouldStop(8192); +return RemoteObject.createImmutable(0L); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getphnid(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("getPhnId (subs) ","subs",12,_ba,subs.mostCurrent,19); +if (RapidSub.canDelegate("getphnid")) { return reparto_izca.keymon.lat.subs.remoteMe.runUserSub(false, "subs","getphnid", _ba);} +RemoteObject _t = RemoteObject.createImmutable(""); +RemoteObject _s = RemoteObject.createImmutable(""); +; + BA.debugLineNum = 19;BA.debugLine="Sub getPhnId As String 'ignore"; +Debug.ShouldStop(262144); + BA.debugLineNum = 21;BA.debugLine="devModel = phn.Model"; +Debug.ShouldStop(1048576); +subs._devmodel = subs._phn.runMethod(true,"getModel"); + BA.debugLineNum = 22;BA.debugLine="If devModel.Length <= 3 Then 'Si phn.Model esta e"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean("k",subs._devmodel.runMethod(true,"length"),BA.numberCast(double.class, 3))) { + BA.debugLineNum = 23;BA.debugLine="Dim t As String = phn.GetSettings(\"android_id\")"; +Debug.ShouldStop(4194304); +_t = subs._phn.runMethod(true,"GetSettings",(Object)(RemoteObject.createImmutable("android_id")));Debug.locals.put("t", _t);Debug.locals.put("t", _t); + BA.debugLineNum = 24;BA.debugLine="devModel = t"; +Debug.ShouldStop(8388608); +subs._devmodel = _t; + }; + BA.debugLineNum = 26;BA.debugLine="If devModel.Length >= 3 Then 'Si tenemos valor pa"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("g",subs._devmodel.runMethod(true,"length"),BA.numberCast(double.class, 3))) { + BA.debugLineNum = 27;BA.debugLine="File.WriteString(File.DirInternal, \"phnId.txt\","; +Debug.ShouldStop(67108864); +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 = 29;BA.debugLine="Else If devModel.Length < 3 Then ' Si no tenemos"; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean("<",subs._devmodel.runMethod(true,"length"),BA.numberCast(double.class, 3))) { + BA.debugLineNum = 30;BA.debugLine="Dim s As String = File.ReadString(File.DirIntern"; +Debug.ShouldStop(536870912); +_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 = 31;BA.debugLine="devModel = s"; +Debug.ShouldStop(1073741824); +subs._devmodel = _s; + }} +; + BA.debugLineNum = 35;BA.debugLine="Return devModel"; +Debug.ShouldStop(4); +if (true) return subs._devmodel; + 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 _getssid(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("getSSID (subs) ","subs",12,_ba,subs.mostCurrent,224); +if (RapidSub.canDelegate("getssid")) { return reparto_izca.keymon.lat.subs.remoteMe.runUserSub(false, "subs","getssid", _ba);} +; + BA.debugLineNum = 224;BA.debugLine="Sub getSSID 'ignore"; +Debug.ShouldStop(-2147483648); + BA.debugLineNum = 229;BA.debugLine="End Sub"; +Debug.ShouldStop(16); +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",12,_ba,subs.mostCurrent,112); +if (RapidSub.canDelegate("guardainfoenarchivo")) { return reparto_izca.keymon.lat.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 = 112;BA.debugLine="Sub guardaInfoEnArchivo(coords As String) 'ignore"; +Debug.ShouldStop(32768); + BA.debugLineNum = 114;BA.debugLine="Dim OrigFormat As String=DateTime.DateFormat 'sa"; +Debug.ShouldStop(131072); +_origformat = subs.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"getDateFormat");Debug.locals.put("OrigFormat", _origformat);Debug.locals.put("OrigFormat", _origformat); + BA.debugLineNum = 115;BA.debugLine="DateTime.DateFormat=\"MMM-dd HH:mm:ss\""; +Debug.ShouldStop(262144); +subs.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MMM-dd HH:mm:ss")); + BA.debugLineNum = 116;BA.debugLine="Dim lastUpdate As String=DateTime.Date(DateTime.N"; +Debug.ShouldStop(524288); +_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 = 117;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig d"; +Debug.ShouldStop(1048576); +subs.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",_origformat); + BA.debugLineNum = 119;BA.debugLine="Dim ubic As String = coords&\",\"&lastUpdate"; +Debug.ShouldStop(4194304); +_ubic = RemoteObject.concat(_coords,RemoteObject.createImmutable(","),_lastupdate);Debug.locals.put("ubic", _ubic);Debug.locals.put("ubic", _ubic); + BA.debugLineNum = 120;BA.debugLine="Dim out As OutputStream = File.OpenOutput(File.Di"; +Debug.ShouldStop(8388608); +_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,"getDirInternal")),(Object)(BA.ObjectToString("gps.txt")),(Object)(subs.mostCurrent.__c.getField(true,"True")));Debug.locals.put("out", _out);Debug.locals.put("out", _out); + BA.debugLineNum = 121;BA.debugLine="Dim s As String = ubic & CRLF"; +Debug.ShouldStop(16777216); +_s = RemoteObject.concat(_ubic,subs.mostCurrent.__c.getField(true,"CRLF"));Debug.locals.put("s", _s);Debug.locals.put("s", _s); + BA.debugLineNum = 122;BA.debugLine="Dim t() As Byte = s.GetBytes(\"UTF-8\")"; +Debug.ShouldStop(33554432); +_t = _s.runMethod(false,"getBytes",(Object)(RemoteObject.createImmutable("UTF-8")));Debug.locals.put("t", _t);Debug.locals.put("t", _t); + BA.debugLineNum = 123;BA.debugLine="out.WriteBytes(t, 0, t.Length)"; +Debug.ShouldStop(67108864); +_out.runVoidMethod ("WriteBytes",(Object)(_t),(Object)(BA.numberCast(int.class, 0)),(Object)(_t.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 _guardainfoenbd(RemoteObject _ba,RemoteObject _coords) throws Exception{ +try { + Debug.PushSubsStack("guardaInfoEnBD (subs) ","subs",12,_ba,subs.mostCurrent,128); +if (RapidSub.canDelegate("guardainfoenbd")) { return reparto_izca.keymon.lat.subs.remoteMe.runUserSub(false, "subs","guardainfoenbd", _ba, _coords);} +RemoteObject _latlon = null; +; +Debug.locals.put("coords", _coords); + BA.debugLineNum = 128;BA.debugLine="Sub guardaInfoEnBD(coords As String) 'ignore"; +Debug.ShouldStop(-2147483648); + BA.debugLineNum = 129;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"Guardamos u"; +Debug.ShouldStop(1); +if (subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(true,"_logger" /*RemoteObject*/ ).get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","817563649",RemoteObject.concat(RemoteObject.createImmutable("Guardamos ubicacion en BD - "),_coords),0);}; + BA.debugLineNum = 130;BA.debugLine="Try"; +Debug.ShouldStop(2); +try { BA.debugLineNum = 131;BA.debugLine="Dim latlon() As String = Regex.Split(\"\\|\", coord"; +Debug.ShouldStop(4); +_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 = 132;BA.debugLine="If latlon.Length < 2 Then latlon = Regex.Split(\""; +Debug.ShouldStop(8); +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 = 134;BA.debugLine="If Not(kmt.IsInitialized) Then revisaBD"; +Debug.ShouldStop(32); +if (subs.mostCurrent.__c.runMethod(true,"Not",(Object)(subs._kmt.runMethod(true,"IsInitialized"))).get().booleanValue()) { +_revisabd(_ba);}; + BA.debugLineNum = 135;BA.debugLine="kmt.ExecNonQuery2(\"INSERT INTO RUTA_GPS(fecha, l"; +Debug.ShouldStop(64); +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 = 137;BA.debugLine="Log(LastException)"; +Debug.ShouldStop(256); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","817563657",BA.ObjectToString(subs.mostCurrent.__c.runMethod(false,"LastException",_ba)),0); + }; + 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 _hmskmt(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("hmsKMT (subs) ","subs",12,_ba,subs.mostCurrent,73); +if (RapidSub.canDelegate("hmskmt")) { return reparto_izca.keymon.lat.subs.remoteMe.runUserSub(false, "subs","hmskmt", _ba);} +RemoteObject _origformat = RemoteObject.createImmutable(""); +RemoteObject _nuevahora = RemoteObject.createImmutable(""); +; + BA.debugLineNum = 73;BA.debugLine="Sub hmsKMT As String 'ignore"; +Debug.ShouldStop(256); + BA.debugLineNum = 75;BA.debugLine="Dim OrigFormat As String = DateTime.DateFormat '"; +Debug.ShouldStop(1024); +_origformat = subs.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"getDateFormat");Debug.locals.put("OrigFormat", _origformat);Debug.locals.put("OrigFormat", _origformat); + BA.debugLineNum = 76;BA.debugLine="DateTime.DateFormat=\"HHmmss\""; +Debug.ShouldStop(2048); +subs.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("HHmmss")); + BA.debugLineNum = 77;BA.debugLine="Private nuevaHora As String=DateTime.Date(DateTim"; +Debug.ShouldStop(4096); +_nuevahora = subs.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(subs.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"getNow")));Debug.locals.put("nuevaHora", _nuevahora);Debug.locals.put("nuevaHora", _nuevahora); + BA.debugLineNum = 78;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig d"; +Debug.ShouldStop(8192); +subs.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",_origformat); + BA.debugLineNum = 80;BA.debugLine="Return nuevaHora"; +Debug.ShouldStop(32768); +if (true) return _nuevahora; + 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 _insertaenerrores(RemoteObject _ba,RemoteObject _error) throws Exception{ +try { + Debug.PushSubsStack("insertaEnErrores (subs) ","subs",12,_ba,subs.mostCurrent,577); +if (RapidSub.canDelegate("insertaenerrores")) { return reparto_izca.keymon.lat.subs.remoteMe.runUserSub(false, "subs","insertaenerrores", _ba, _error);} +; +Debug.locals.put("error", _error); + BA.debugLineNum = 577;BA.debugLine="Sub insertaEnErrores(error As String) 'ignore"; +Debug.ShouldStop(1); + BA.debugLineNum = 578;BA.debugLine="If Not(errorLog.IsInitialized) Then revisaBD"; +Debug.ShouldStop(2); +if (subs.mostCurrent.__c.runMethod(true,"Not",(Object)(subs._errorlog.runMethod(true,"IsInitialized"))).get().booleanValue()) { +_revisabd(_ba);}; + BA.debugLineNum = 579;BA.debugLine="errorLog.ExecNonQuery2(\"INSERT INTO errores(fecha"; +Debug.ShouldStop(4); +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")))),(_error)}))))); + 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 _insertarenglonespruebaenerrorlog(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("insertaRenglonesPruebaEnErrorLog (subs) ","subs",12,_ba,subs.mostCurrent,465); +if (RapidSub.canDelegate("insertarenglonespruebaenerrorlog")) { return reparto_izca.keymon.lat.subs.remoteMe.runUserSub(false, "subs","insertarenglonespruebaenerrorlog", _ba);} +int _x = 0; +; + BA.debugLineNum = 465;BA.debugLine="Sub insertaRenglonesPruebaEnErrorLog 'ignore"; +Debug.ShouldStop(65536); + BA.debugLineNum = 466;BA.debugLine="If Not(errorLog.IsInitialized) Then revisaBD"; +Debug.ShouldStop(131072); +if (subs.mostCurrent.__c.runMethod(true,"Not",(Object)(subs._errorlog.runMethod(true,"IsInitialized"))).get().booleanValue()) { +_revisabd(_ba);}; + BA.debugLineNum = 467;BA.debugLine="Log(\"insertamos 50 renglones a errorLog\")"; +Debug.ShouldStop(262144); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","819005442",RemoteObject.createImmutable("insertamos 50 renglones a errorLog"),0); + BA.debugLineNum = 468;BA.debugLine="For x = 1 To 50"; +Debug.ShouldStop(524288); +{ +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 = 469;BA.debugLine="errorLog.ExecNonQuery2(\"INSERT INTO errores(fech"; +Debug.ShouldStop(1048576); +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 = 470;BA.debugLine="Log(x)"; +Debug.ShouldStop(2097152); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","819005445",BA.NumberToString(_x),0); + } +}Debug.locals.put("x", _x); +; + BA.debugLineNum = 472;BA.debugLine="End Sub"; +Debug.ShouldStop(8388608); +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",12,_ba,subs.mostCurrent,528); +if (RapidSub.canDelegate("installapk")) { return reparto_izca.keymon.lat.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 = 528;BA.debugLine="Sub InstallAPK(dir As String, apk As String) 'igno"; +Debug.ShouldStop(32768); + BA.debugLineNum = 529;BA.debugLine="If File.Exists(dir, apk) Then"; +Debug.ShouldStop(65536); +if (subs.mostCurrent.__c.getField(false,"File").runMethod(true,"Exists",(Object)(_dir),(Object)(_apk)).get().booleanValue()) { + BA.debugLineNum = 530;BA.debugLine="Dim i As Intent"; +Debug.ShouldStop(131072); +_i = RemoteObject.createNew ("anywheresoftware.b4a.objects.IntentWrapper");Debug.locals.put("i", _i); + BA.debugLineNum = 531;BA.debugLine="i.Initialize(i.ACTION_VIEW, \"file://\" & File.Com"; +Debug.ShouldStop(262144); +_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 = 532;BA.debugLine="i.SetType(\"application/vnd.android.package-archi"; +Debug.ShouldStop(524288); +_i.runVoidMethod ("SetType",(Object)(RemoteObject.createImmutable("application/vnd.android.package-archive"))); + BA.debugLineNum = 533;BA.debugLine="StartActivity(i)"; +Debug.ShouldStop(1048576); +subs.mostCurrent.__c.runVoidMethod ("StartActivity",BA.rdebugUtils.runMethod(false, "processBAFromBA", _ba),(Object)((_i.getObject()))); + }; + BA.debugLineNum = 535;BA.debugLine="End Sub"; +Debug.ShouldStop(4194304); +return RemoteObject.createImmutable(""); +} +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",12,_ba,subs.mostCurrent,232); +if (RapidSub.canDelegate("json2map")) { return reparto_izca.keymon.lat.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 = 232;BA.debugLine="Sub JSON2Map(theJson As String) As Map 'ignore"; +Debug.ShouldStop(128); + BA.debugLineNum = 234;BA.debugLine="Try"; +Debug.ShouldStop(512); +try { BA.debugLineNum = 235;BA.debugLine="Private json As JSONParser"; +Debug.ShouldStop(1024); +_json = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.JSONParser");Debug.locals.put("json", _json); + BA.debugLineNum = 236;BA.debugLine="json.Initialize(theJson)"; +Debug.ShouldStop(2048); +_json.runVoidMethod ("Initialize",(Object)(_thejson)); + BA.debugLineNum = 237;BA.debugLine="Return json.NextObject"; +Debug.ShouldStop(4096); +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 = 239;BA.debugLine="Log(LastException)"; +Debug.ShouldStop(16384); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","818022407",BA.ObjectToString(subs.mostCurrent.__c.runMethod(false,"LastException",_ba)),0); + BA.debugLineNum = 240;BA.debugLine="log2DB(\"JSON2Map: \"&LastException)"; +Debug.ShouldStop(32768); +_log2db(_ba,RemoteObject.concat(RemoteObject.createImmutable("JSON2Map: "),subs.mostCurrent.__c.runMethod(false,"LastException",_ba))); + BA.debugLineNum = 241;BA.debugLine="Private m As Map = CreateMap(\"title\":\"Error gene"; +Debug.ShouldStop(65536); +_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 = 242;BA.debugLine="Return m"; +Debug.ShouldStop(131072); +if (true) return _m; + }; + BA.debugLineNum = 244;BA.debugLine="End Sub"; +Debug.ShouldStop(524288); +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",12,_ba,subs.mostCurrent,298); +if (RapidSub.canDelegate("log2db")) { return reparto_izca.keymon.lat.subs.remoteMe.runUserSub(false, "subs","log2db", _ba, _texto);} +; +Debug.locals.put("texto", _texto); + BA.debugLineNum = 298;BA.debugLine="Sub log2DB(texto As String) 'ignore"; +Debug.ShouldStop(512); + BA.debugLineNum = 299;BA.debugLine="LogColor(fechaKMT(DateTime.Now)&\" - log2BD: '\"&te"; +Debug.ShouldStop(1024); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","818350081",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,"Magenta")); + BA.debugLineNum = 300;BA.debugLine="If kmt.IsInitialized Then kmt.ExecNonQuery2(\"INSE"; +Debug.ShouldStop(2048); +if (subs._kmt.runMethod(true,"IsInitialized").get().booleanValue()) { +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 = 301;BA.debugLine="End Sub"; +Debug.ShouldStop(4096); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _mandamosloc(RemoteObject _ba,RemoteObject _coords) throws Exception{ +try { + Debug.PushSubsStack("mandamosLoc (subs) ","subs",12,_ba,subs.mostCurrent,269); +if (RapidSub.canDelegate("mandamosloc")) { return reparto_izca.keymon.lat.subs.remoteMe.runUserSub(false, "subs","mandamosloc", _ba, _coords);} +; +Debug.locals.put("coords", _coords); + BA.debugLineNum = 269;BA.debugLine="Sub mandamosLoc(coords As String) 'ignore"; +Debug.ShouldStop(4096); + 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 _map2json(RemoteObject _ba,RemoteObject _m) throws Exception{ +try { + Debug.PushSubsStack("map2JSON (subs) ","subs",12,_ba,subs.mostCurrent,247); +if (RapidSub.canDelegate("map2json")) { return reparto_izca.keymon.lat.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 = 247;BA.debugLine="Sub map2JSON(m As Map) As String 'ignore"; +Debug.ShouldStop(4194304); + BA.debugLineNum = 250;BA.debugLine="Dim jg As JSONGenerator"; +Debug.ShouldStop(33554432); +_jg = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.JSONParser.JSONGenerator");Debug.locals.put("jg", _jg); + BA.debugLineNum = 251;BA.debugLine="jg.Initialize(m)"; +Debug.ShouldStop(67108864); +_jg.runVoidMethod ("Initialize",(Object)(_m)); + BA.debugLineNum = 252;BA.debugLine="Dim t As String = jg.ToString"; +Debug.ShouldStop(134217728); +_t = _jg.runMethod(true,"ToString");Debug.locals.put("t", _t);Debug.locals.put("t", _t); + BA.debugLineNum = 253;BA.debugLine="Return t"; +Debug.ShouldStop(268435456); +if (true) return _t; + BA.debugLineNum = 254;BA.debugLine="End Sub"; +Debug.ShouldStop(536870912); +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",12,_ba,subs.mostCurrent,304); +if (RapidSub.canDelegate("masdexxmins")) { return reparto_izca.keymon.lat.subs.remoteMe.runUserSub(false, "subs","masdexxmins", _ba, _hora, _mins);} +; +Debug.locals.put("hora", _hora); +Debug.locals.put("mins", _mins); + BA.debugLineNum = 304;BA.debugLine="Sub masDeXXMins(hora As Int, mins As Int) As Boole"; +Debug.ShouldStop(32768); + BA.debugLineNum = 305;BA.debugLine="If (hora + mins * DateTime.TicksPerMinute) < Date"; +Debug.ShouldStop(65536); +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 = 306;BA.debugLine="Return True"; +Debug.ShouldStop(131072); +if (true) return subs.mostCurrent.__c.getField(true,"True"); + }else { + BA.debugLineNum = 308;BA.debugLine="Return False"; +Debug.ShouldStop(524288); +if (true) return subs.mostCurrent.__c.getField(true,"False"); + }; + BA.debugLineNum = 310;BA.debugLine="End Sub"; +Debug.ShouldStop(2097152); +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",12,_ba,subs.mostCurrent,313); +if (RapidSub.canDelegate("masdexxminskmt")) { return reparto_izca.keymon.lat.subs.remoteMe.runUserSub(false, "subs","masdexxminskmt", _ba, _hora, _mins);} +; +Debug.locals.put("hora", _hora); +Debug.locals.put("mins", _mins); + BA.debugLineNum = 313;BA.debugLine="Sub masDeXXMinsKMT(hora As String, mins As Int) As"; +Debug.ShouldStop(16777216); + BA.debugLineNum = 314;BA.debugLine="Try"; +Debug.ShouldStop(33554432); +try { BA.debugLineNum = 316;BA.debugLine="If fechaKMT2Ticks(hora) + mins * DateTime.TicksP"; +Debug.ShouldStop(134217728); +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 = 318;BA.debugLine="Return True"; +Debug.ShouldStop(536870912); +Debug.CheckDeviceExceptions();if (true) return subs.mostCurrent.__c.getField(true,"True"); + }else { + BA.debugLineNum = 321;BA.debugLine="Return False"; +Debug.ShouldStop(1); +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 = 324;BA.debugLine="Log(LastException)"; +Debug.ShouldStop(8); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","818481163",BA.ObjectToString(subs.mostCurrent.__c.runMethod(false,"LastException",_ba)),0); + }; + BA.debugLineNum = 326;BA.debugLine="End Sub"; +Debug.ShouldStop(32); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _monitor(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("Monitor (subs) ","subs",12,_ba,subs.mostCurrent,336); +if (RapidSub.canDelegate("monitor")) { return reparto_izca.keymon.lat.subs.remoteMe.runUserSub(false, "subs","monitor", _ba);} +; + BA.debugLineNum = 336;BA.debugLine="Sub Monitor 'ignore"; +Debug.ShouldStop(32768); + 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 _notihigh(RemoteObject _ba,RemoteObject _title,RemoteObject _body,RemoteObject _activity) throws Exception{ +try { + Debug.PushSubsStack("notiHigh (subs) ","subs",12,_ba,subs.mostCurrent,84); +if (RapidSub.canDelegate("notihigh")) { return reparto_izca.keymon.lat.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 = 84;BA.debugLine="Sub notiHigh(title As String, body As String, acti"; +Debug.ShouldStop(524288); + BA.debugLineNum = 85;BA.debugLine="Private notif As Notification"; +Debug.ShouldStop(1048576); +_notif = RemoteObject.createNew ("anywheresoftware.b4a.objects.NotificationWrapper");Debug.locals.put("notif", _notif); + BA.debugLineNum = 86;BA.debugLine="notif.Initialize2(notif.IMPORTANCE_HIGH)"; +Debug.ShouldStop(2097152); +_notif.runVoidMethod ("Initialize2",(Object)(_notif.getField(true,"IMPORTANCE_HIGH"))); + BA.debugLineNum = 87;BA.debugLine="notif.Icon = \"icon\""; +Debug.ShouldStop(4194304); +_notif.runVoidMethod ("setIcon",BA.ObjectToString("icon")); + BA.debugLineNum = 88;BA.debugLine="notif.Vibrate = False"; +Debug.ShouldStop(8388608); +_notif.runVoidMethod ("setVibrate",subs.mostCurrent.__c.getField(true,"False")); + BA.debugLineNum = 89;BA.debugLine="notif.Sound = False"; +Debug.ShouldStop(16777216); +_notif.runVoidMethod ("setSound",subs.mostCurrent.__c.getField(true,"False")); + BA.debugLineNum = 90;BA.debugLine="notif.AutoCancel = True"; +Debug.ShouldStop(33554432); +_notif.runVoidMethod ("setAutoCancel",subs.mostCurrent.__c.getField(true,"True")); + BA.debugLineNum = 91;BA.debugLine="Log(\"notiHigh: \"&title)"; +Debug.ShouldStop(67108864); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","817367047",RemoteObject.concat(RemoteObject.createImmutable("notiHigh: "),_title),0); + BA.debugLineNum = 92;BA.debugLine="notif.SetInfo(title, body, activity)"; +Debug.ShouldStop(134217728); +_notif.runVoidMethod ("SetInfoNew",BA.rdebugUtils.runMethod(false, "processBAFromBA", _ba),(Object)(BA.ObjectToCharSequence(_title)),(Object)(BA.ObjectToCharSequence(_body)),(Object)(_activity)); + BA.debugLineNum = 94;BA.debugLine="notif.Notify(777)"; +Debug.ShouldStop(536870912); +_notif.runVoidMethod ("Notify",(Object)(BA.numberCast(int.class, 777))); + 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 _notilowreturn(RemoteObject _ba,RemoteObject _title,RemoteObject _body,RemoteObject _id) throws Exception{ +try { + Debug.PushSubsStack("notiLowReturn (subs) ","subs",12,_ba,subs.mostCurrent,98); +if (RapidSub.canDelegate("notilowreturn")) { return reparto_izca.keymon.lat.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 = 98;BA.debugLine="Sub notiLowReturn(title As String, Body As String,"; +Debug.ShouldStop(2); + BA.debugLineNum = 99;BA.debugLine="Private notification As Notification"; +Debug.ShouldStop(4); +_notification = RemoteObject.createNew ("anywheresoftware.b4a.objects.NotificationWrapper");Debug.locals.put("notification", _notification); + BA.debugLineNum = 100;BA.debugLine="notification.Initialize2(notification.IMPORTANCE_"; +Debug.ShouldStop(8); +_notification.runVoidMethod ("Initialize2",(Object)(_notification.getField(true,"IMPORTANCE_LOW"))); + BA.debugLineNum = 101;BA.debugLine="Log(\"notiLowReturn: \"&title)"; +Debug.ShouldStop(16); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","817432579",RemoteObject.concat(RemoteObject.createImmutable("notiLowReturn: "),_title),0); + BA.debugLineNum = 102;BA.debugLine="notification.Icon = \"icon\""; +Debug.ShouldStop(32); +_notification.runVoidMethod ("setIcon",BA.ObjectToString("icon")); + BA.debugLineNum = 103;BA.debugLine="notification.Sound = False"; +Debug.ShouldStop(64); +_notification.runVoidMethod ("setSound",subs.mostCurrent.__c.getField(true,"False")); + BA.debugLineNum = 104;BA.debugLine="notification.Vibrate = False"; +Debug.ShouldStop(128); +_notification.runVoidMethod ("setVibrate",subs.mostCurrent.__c.getField(true,"False")); + BA.debugLineNum = 105;BA.debugLine="notification.SetInfo(title, Body, Main)"; +Debug.ShouldStop(256); +_notification.runVoidMethod ("SetInfoNew",BA.rdebugUtils.runMethod(false, "processBAFromBA", _ba),(Object)(BA.ObjectToCharSequence(_title)),(Object)(BA.ObjectToCharSequence(_body)),(Object)((subs.mostCurrent._main.getObject()))); + BA.debugLineNum = 106;BA.debugLine="notification.Notify(id)"; +Debug.ShouldStop(512); +_notification.runVoidMethod ("Notify",(Object)(_id)); + BA.debugLineNum = 108;BA.debugLine="Return notification"; +Debug.ShouldStop(2048); +if (true) return _notification; + BA.debugLineNum = 109;BA.debugLine="End Sub"; +Debug.ShouldStop(4096); +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",12,_ba,subs.mostCurrent,570); +if (RapidSub.canDelegate("panelvisible")) { return reparto_izca.keymon.lat.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 = 570;BA.debugLine="Sub panelVisible(panel As Panel, top As Int, left"; +Debug.ShouldStop(33554432); + BA.debugLineNum = 571;BA.debugLine="panel.BringToFront"; +Debug.ShouldStop(67108864); +_panel.runVoidMethod ("BringToFront"); + BA.debugLineNum = 572;BA.debugLine="panel.Visible = True"; +Debug.ShouldStop(134217728); +_panel.runMethod(true,"setVisible",subs.mostCurrent.__c.getField(true,"True")); + BA.debugLineNum = 573;BA.debugLine="panel.Top = top"; +Debug.ShouldStop(268435456); +_panel.runMethod(true,"setTop",_top); + BA.debugLineNum = 574;BA.debugLine="panel.Left = left"; +Debug.ShouldStop(536870912); +_panel.runMethod(true,"setLeft",_left); + 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 _process_globals() throws Exception{ + //BA.debugLineNum = 3;BA.debugLine="Sub Process_Globals"; + //BA.debugLineNum = 6;BA.debugLine="Public GZip As GZipStrings"; +subs._gzip = RemoteObject.createNew ("de.donmanfred.GZipStringswrapper"); + //BA.debugLineNum = 7;BA.debugLine="Private su As StringUtils"; +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="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _prodrechazo(RemoteObject _ba,RemoteObject _clienteoriginal,RemoteObject _prodid) throws Exception{ +try { + Debug.PushSubsStack("prodRechazo (subs) ","subs",12,_ba,subs.mostCurrent,824); +if (RapidSub.canDelegate("prodrechazo")) { return reparto_izca.keymon.lat.subs.remoteMe.runUserSub(false, "subs","prodrechazo", _ba, _clienteoriginal, _prodid);} +RemoteObject _rr = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _chv = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _precio = RemoteObject.createImmutable(""); +; +Debug.locals.put("clienteOriginal", _clienteoriginal); +Debug.locals.put("prodId", _prodid); + BA.debugLineNum = 824;BA.debugLine="Sub prodRechazo(clienteOriginal As String, prodId"; +Debug.ShouldStop(8388608); + BA.debugLineNum = 825;BA.debugLine="Log(\"RECHAZO DEVOLUCION\")"; +Debug.ShouldStop(16777216); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","820643841",RemoteObject.createImmutable("RECHAZO DEVOLUCION"),0); + BA.debugLineNum = 826;BA.debugLine="Private rr As Cursor = Starter.skmt.ExecQuery($\"s"; +Debug.ShouldStop(33554432); +_rr = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_rr = 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 count(REP_CLIENTE) as hayRechazo from REPARTO where rep_prodid = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_prodid))),RemoteObject.createImmutable("' and REP_CLIENTE in (Select CUENTA from cuentaa)"))))));Debug.locals.put("rr", _rr);Debug.locals.put("rr", _rr); + BA.debugLineNum = 827;BA.debugLine="rr.Position = 0"; +Debug.ShouldStop(67108864); +_rr.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 828;BA.debugLine="If rr.GetString(\"hayRechazo\") = 0 Then"; +Debug.ShouldStop(134217728); +if (RemoteObject.solveBoolean("=",_rr.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("hayRechazo"))),BA.NumberToString(0))) { + BA.debugLineNum = 829;BA.debugLine="Log(\"INSERTAMOS EN REPARTO\")"; +Debug.ShouldStop(268435456); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","820643845",RemoteObject.createImmutable("INSERTAMOS EN REPARTO"),0); + BA.debugLineNum = 831;BA.debugLine="Private chv As Cursor = Starter.skmt.ExecQuery($"; +Debug.ShouldStop(1073741824); +_chv = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_chv = 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 hist_ventas where hvd_cliente in (select cuenta from cuentaa) and hvd_proid = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_prodid))),RemoteObject.createImmutable("'"))))));Debug.locals.put("chv", _chv);Debug.locals.put("chv", _chv); + BA.debugLineNum = 833;BA.debugLine="If chv.RowCount > 0 Then"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean(">",_chv.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 834;BA.debugLine="chv.Position = 0"; +Debug.ShouldStop(2); +_chv.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 836;BA.debugLine="Private precio As String = traePrecio(prodId, t"; +Debug.ShouldStop(8); +_precio = _traeprecio(_ba,_prodid,_traealmacen(_ba));Debug.locals.put("precio", _precio);Debug.locals.put("precio", _precio); + BA.debugLineNum = 837;BA.debugLine="Starter.skmt.ExecNonQuery2(\"insert into reparto"; +Debug.ShouldStop(16); +subs.mostCurrent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("insert into reparto(REP_CLIENTE, REP_PRONOMBRE, REP_CANT, REP_COSTO_TOT, REP_FECHA, REP_RECHAZO, REP_PRODID, REP_PRECIO, REP_CLI_ORIG) VALUES (?,?,?,?,?,1,?,?,?) ")),(Object)(subs.mostCurrent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {8},new Object[] {_traecliente(_ba),_chv.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PRONOMBRE"))),BA.NumberToString(1),_precio,_chv.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_FECHA"))),_prodid,_precio,_traecliente(_ba)}))))); + BA.debugLineNum = 838;BA.debugLine="Starter.skmt.ExecNonQuery2(\"insert into reparto"; +Debug.ShouldStop(32); +subs.mostCurrent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("insert into reparto(REP_CLIENTE, REP_PRONOMBRE, REP_CANT, REP_COSTO_TOT, REP_FECHA, REP_RECHAZO, REP_PRODID, REP_PRECIO, REP_CLI_ORIG) VALUES (?,?,?,?,?,0,?,?,?) ")),(Object)(subs.mostCurrent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {8},new Object[] {_traecliente(_ba),_chv.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PRONOMBRE"))),BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _chv.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),RemoteObject.createImmutable(1)}, "-",1, 0)),BA.NumberToString(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _chv.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),RemoteObject.createImmutable(1)}, "-",1, 0)),BA.numberCast(double.class, _precio)}, "*",0, 0)),_chv.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_FECHA"))),_prodid,_precio,_traecliente(_ba)}))))); + BA.debugLineNum = 839;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENTAS"; +Debug.ShouldStop(64); +subs.mostCurrent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update HIST_VENTAS set HVD_PARCIAL = 1, HVD_CANT = 0, HVD_COSTO_TOT = '0' where HVD_PROID = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_prodid))),RemoteObject.createImmutable("' and HVD_CLIENTE in (Select CUENTA from cuentaa)"))))); + }; + }else { + BA.debugLineNum = 842;BA.debugLine="Log($\"ACTUALIZAMOS REPARTO\"$)"; +Debug.ShouldStop(512); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","820643858",(RemoteObject.createImmutable("ACTUALIZAMOS REPARTO")),0); + BA.debugLineNum = 843;BA.debugLine="Private precio As String = traePrecio(prodId, tr"; +Debug.ShouldStop(1024); +_precio = _traeprecio(_ba,_prodid,_traealmacen(_ba));Debug.locals.put("precio", _precio);Debug.locals.put("precio", _precio); + BA.debugLineNum = 844;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update HIST_VENTAS s"; +Debug.ShouldStop(2048); +subs.mostCurrent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("update HIST_VENTAS set HVD_PARCIAL = 1, HVD_CANT = 0, HVD_COSTO_TOT = '0' WHERE HVD_PROID = ? and HVD_CLIENTE in (Select CUENTA from cuentaa)")),(Object)(subs.mostCurrent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {_prodid}))))); + BA.debugLineNum = 845;BA.debugLine="Starter.skmt.ExecNonQuery($\"update reparto set R"; +Debug.ShouldStop(4096); +subs.mostCurrent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update reparto set REP_CANT = REP_CANT + 1 where REP_CLIENTE = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_clienteoriginal))),RemoteObject.createImmutable("' and REP_CLI_ORIG = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_clienteoriginal))),RemoteObject.createImmutable("' and REP_RECHAZO = 1 and REP_PRODID = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_prodid))),RemoteObject.createImmutable("'"))))); + BA.debugLineNum = 846;BA.debugLine="Starter.skmt.ExecNonQuery($\"update reparto set R"; +Debug.ShouldStop(8192); +subs.mostCurrent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update reparto set REP_CANT = REP_CANT - 1 where REP_CLIENTE in (Select CUENTA from cuentaa) and REP_CLI_ORIG = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_clienteoriginal))),RemoteObject.createImmutable("' and REP_RECHAZO = 0 and REP_PRODID = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_prodid))),RemoteObject.createImmutable("'"))))); + BA.debugLineNum = 849;BA.debugLine="Starter.skmt.ExecNonQuery($\"update reparto set R"; +Debug.ShouldStop(65536); +subs.mostCurrent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update reparto set REP_COSTO_TOT = REP_CANT * "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_precio))),RemoteObject.createImmutable(", REP_PRECIO = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_precio))),RemoteObject.createImmutable("' where REP_CLIENTE in (Select CUENTA from cuentaa) and REP_CLI_ORIG = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_clienteoriginal))),RemoteObject.createImmutable("' and REP_PRODID = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_prodid))),RemoteObject.createImmutable("'"))))); + }; + BA.debugLineNum = 851;BA.debugLine="End Sub"; +Debug.ShouldStop(262144); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _prodventa(RemoteObject _ba,RemoteObject _clienteoriginal,RemoteObject _prodid) throws Exception{ +try { + Debug.PushSubsStack("prodVenta (subs) ","subs",12,_ba,subs.mostCurrent,793); +if (RapidSub.canDelegate("prodventa")) { return reparto_izca.keymon.lat.subs.remoteMe.runUserSub(false, "subs","prodventa", _ba, _clienteoriginal, _prodid);} +RemoteObject _precio = RemoteObject.createImmutable(""); +; +Debug.locals.put("clienteOriginal", _clienteoriginal); +Debug.locals.put("prodId", _prodid); + BA.debugLineNum = 793;BA.debugLine="Sub prodVenta(clienteOriginal As String, prodId As"; +Debug.ShouldStop(16777216); + BA.debugLineNum = 795;BA.debugLine="Private precio As String = traePrecio(prodId, tra"; +Debug.ShouldStop(67108864); +_precio = _traeprecio(_ba,_prodid,_traealmacen(_ba));Debug.locals.put("precio", _precio);Debug.locals.put("precio", _precio); + BA.debugLineNum = 796;BA.debugLine="Starter.skmt.ExecNonQuery($\"update reparto set RE"; +Debug.ShouldStop(134217728); +subs.mostCurrent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update reparto set REP_CANT = REP_CANT - 1 where REP_CLIENTE = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_clienteoriginal))),RemoteObject.createImmutable("' and REP_CLI_ORIG = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_clienteoriginal))),RemoteObject.createImmutable("' and REP_RECHAZO = 1 and REP_PRODID = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_prodid))),RemoteObject.createImmutable("'"))))); + BA.debugLineNum = 797;BA.debugLine="Starter.skmt.ExecNonQuery($\"update reparto set RE"; +Debug.ShouldStop(268435456); +subs.mostCurrent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update reparto set REP_CANT = REP_CANT + 1 where REP_CLIENTE in (Select CUENTA from cuentaa) and REP_CLI_ORIG = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_clienteoriginal))),RemoteObject.createImmutable("' and REP_RECHAZO = 0 and REP_PRODID = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_prodid))),RemoteObject.createImmutable("'"))))); + BA.debugLineNum = 798;BA.debugLine="Log($\"update reparto set REP_CANT = REP_CANT - 1"; +Debug.ShouldStop(536870912); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","820578309",(RemoteObject.concat(RemoteObject.createImmutable("update reparto set REP_CANT = REP_CANT - 1 where REP_CLIENTE = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_clienteoriginal))),RemoteObject.createImmutable("' and REP_CLI_ORIG = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_clienteoriginal))),RemoteObject.createImmutable("' and REP_RECHAZO = 1 and REP_PRODID = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_prodid))),RemoteObject.createImmutable("'"))),0); + BA.debugLineNum = 799;BA.debugLine="Log($\"update reparto set REP_CANT = REP_CANT + 1"; +Debug.ShouldStop(1073741824); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","820578310",(RemoteObject.concat(RemoteObject.createImmutable("update reparto set REP_CANT = REP_CANT + 1 where REP_CLIENTE in (Select CUENTA from cuentaa) and REP_CLI_ORIG = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_clienteoriginal))),RemoteObject.createImmutable("' and REP_RECHAZO = 0 and REP_PRODID = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_prodid))),RemoteObject.createImmutable("'"))),0); + BA.debugLineNum = 800;BA.debugLine="Starter.skmt.ExecNonQuery($\"update reparto set RE"; +Debug.ShouldStop(-2147483648); +subs.mostCurrent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update reparto set REP_COSTO_TOT = REP_CANT * "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_precio))),RemoteObject.createImmutable(", REP_PRECIO = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_precio))),RemoteObject.createImmutable("' where REP_CLIENTE in (Select CUENTA from cuentaa) and REP_CLI_ORIG = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_clienteoriginal))),RemoteObject.createImmutable("' and REP_RECHAZO = 0 and REP_PRODID = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_prodid))),RemoteObject.createImmutable("'"))))); + BA.debugLineNum = 821;BA.debugLine="End Sub"; +Debug.ShouldStop(1048576); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _revisabd(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("revisaBD (subs) ","subs",12,_ba,subs.mostCurrent,195); +if (RapidSub.canDelegate("revisabd")) { return reparto_izca.keymon.lat.subs.remoteMe.runUserSub(false, "subs","revisabd", _ba);} +RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +; + BA.debugLineNum = 195;BA.debugLine="Sub revisaBD 'ignore"; +Debug.ShouldStop(4); + BA.debugLineNum = 196;BA.debugLine="If Not(File.Exists(Starter.ruta, \"kmt.db\")) Then"; +Debug.ShouldStop(8); +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 = 197;BA.debugLine="If Not(kmt.IsInitialized) Then kmt.Initialize(Sta"; +Debug.ShouldStop(16); +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 = 198;BA.debugLine="kmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS RUTA"; +Debug.ShouldStop(32); +subs._kmt.runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS RUTA_GPS(FECHA INTEGER, LAT TEXT, LON TEXT)"))); + BA.debugLineNum = 200;BA.debugLine="kmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS bita"; +Debug.ShouldStop(128); +subs._kmt.runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS bitacora(fecha INTEGER, texto TEXT)"))); + BA.debugLineNum = 202;BA.debugLine="kmt.ExecNonQuery(\"DROP TABLE IF EXISTS CAT_FOLIOS"; +Debug.ShouldStop(512); +subs._kmt.runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DROP TABLE IF EXISTS CAT_FOLIOS"))); + BA.debugLineNum = 203;BA.debugLine="kmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS REPA"; +Debug.ShouldStop(1024); +subs._kmt.runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS REPARTO_GEO (CLIENTE TEXT, USUARIO TEXT, FECHA_PUNTEO TEXT, LATITUD TEXT, LONGITUD TEXT, ALMACEN TEXT, RUTA_REPARTO TEXT, RUTA_PREV TEXT, FECHA_PREVENTA TEXT, MOTIVO TEXT, COMENTARIO TEXT, TIPO TEXT, ENVIO TEXT)"))); + BA.debugLineNum = 205;BA.debugLine="If Not(errorLog.IsInitialized) Then errorLog.Init"; +Debug.ShouldStop(4096); +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 = 206;BA.debugLine="errorLog.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS"; +Debug.ShouldStop(8192); +subs._errorlog.runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS errores(fecha INTEGER, error TEXT)"))); + BA.debugLineNum = 208;BA.debugLine="Try 'Intentamos usar \"pragma_table_info\" para rev"; +Debug.ShouldStop(32768); +try { BA.debugLineNum = 209;BA.debugLine="Dim c As Cursor=kmt.ExecQuery(\"SELECT COUNT(*) A"; +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"), subs._kmt.runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT COUNT(*) AS fCol FROM pragma_table_info('noventa') WHERE name='NV_REPROGRAMAR'"))));Debug.locals.put("c", _c);Debug.locals.put("c", _c); + BA.debugLineNum = 210;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(131072); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 211;BA.debugLine="If c.GetString(\"fCol\") = 0 Then 'Si no esta la c"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean("=",_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("fCol"))),BA.NumberToString(0))) { + BA.debugLineNum = 212;BA.debugLine="kmt.ExecNonQuery(\"ALTER TABLE noventa ADD COLUM"; +Debug.ShouldStop(524288); +subs._kmt.runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("ALTER TABLE noventa ADD COLUMN NV_REPROGRAMAR TEXT"))); + }; + Debug.CheckDeviceExceptions(); +} + catch (Exception e16) { + BA.rdebugUtils.runVoidMethod("setLastException",BA.rdebugUtils.runMethod(false, "processBAFromBA", _ba), e16.toString()); BA.debugLineNum = 215;BA.debugLine="Try"; +Debug.ShouldStop(4194304); +try { BA.debugLineNum = 216;BA.debugLine="kmt.ExecNonQuery(\"ALTER TABLE noventa ADD COLUM"; +Debug.ShouldStop(8388608); +subs._kmt.runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("ALTER TABLE noventa ADD COLUMN NV_REPROGRAMAR TEXT"))); + Debug.CheckDeviceExceptions(); +} + catch (Exception e19) { + BA.rdebugUtils.runVoidMethod("setLastException",BA.rdebugUtils.runMethod(false, "processBAFromBA", _ba), e19.toString()); BA.debugLineNum = 218;BA.debugLine="Log(LastException)"; +Debug.ShouldStop(33554432); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","817891351",BA.ObjectToString(subs.mostCurrent.__c.runMethod(false,"LastException",_ba)),0); + }; + }; + BA.debugLineNum = 221;BA.debugLine="End Sub"; +Debug.ShouldStop(268435456); +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",12,_ba,subs.mostCurrent,372); +if (RapidSub.canDelegate("revisaflp")) { return reparto_izca.keymon.lat.subs.remoteMe.runUserSub(false, "subs","revisaflp", _ba);} +RemoteObject _todobienflp = RemoteObject.createImmutable(false); +; + BA.debugLineNum = 372;BA.debugLine="Sub revisaFLP 'ignore"; +Debug.ShouldStop(524288); + BA.debugLineNum = 373;BA.debugLine="LogColor($\"**** **** Revisamos FLP - ${fechaKMT(D"; +Debug.ShouldStop(1048576); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","818743297",(RemoteObject.concat(RemoteObject.createImmutable("**** **** Revisamos FLP - "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_fechakmt(_ba,BA.NumberToString(subs.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"getNow")))))),RemoteObject.createImmutable("**** ****"))),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 = 374;BA.debugLine="Private todoBienFLP As Boolean = True"; +Debug.ShouldStop(2097152); +_todobienflp = subs.mostCurrent.__c.getField(true,"True");Debug.locals.put("todoBienFLP", _todobienflp);Debug.locals.put("todoBienFLP", _todobienflp); + BA.debugLineNum = 375;BA.debugLine="If Not(Tracker.FLP.IsInitialized) Then"; +Debug.ShouldStop(4194304); +if (subs.mostCurrent.__c.runMethod(true,"Not",(Object)(subs.mostCurrent._tracker._flp /*RemoteObject*/ .runMethod(true,"IsInitialized"))).get().booleanValue()) { + BA.debugLineNum = 376;BA.debugLine="log2DB(\"revisaFLP: No esta inicializado ... 'Rei"; +Debug.ShouldStop(8388608); +_log2db(_ba,RemoteObject.createImmutable("revisaFLP: No esta inicializado ... 'Reinicializando FLP'")); + BA.debugLineNum = 377;BA.debugLine="Tracker.FLP.Initialize(\"flp\")"; +Debug.ShouldStop(16777216); +subs.mostCurrent._tracker._flp /*RemoteObject*/ .runVoidMethod ("Initialize",BA.rdebugUtils.runMethod(false, "processBAFromBA", _ba),(Object)(RemoteObject.createImmutable("flp"))); + BA.debugLineNum = 378;BA.debugLine="todoBienFLP = False"; +Debug.ShouldStop(33554432); +_todobienflp = subs.mostCurrent.__c.getField(true,"False");Debug.locals.put("todoBienFLP", _todobienflp); + }; + BA.debugLineNum = 380;BA.debugLine="If Tracker.FLP.IsInitialized Then"; +Debug.ShouldStop(134217728); +if (subs.mostCurrent._tracker._flp /*RemoteObject*/ .runMethod(true,"IsInitialized").get().booleanValue()) { + BA.debugLineNum = 381;BA.debugLine="If Not(Tracker.FLP.IsConnected) Then"; +Debug.ShouldStop(268435456); +if (subs.mostCurrent.__c.runMethod(true,"Not",(Object)(subs.mostCurrent._tracker._flp /*RemoteObject*/ .runMethod(true,"IsConnected"))).get().booleanValue()) { + BA.debugLineNum = 382;BA.debugLine="log2DB(\"revisaFLP: No esta conectado ... 'Recon"; +Debug.ShouldStop(536870912); +_log2db(_ba,RemoteObject.createImmutable("revisaFLP: No esta conectado ... 'Reconectando FLP'")); + BA.debugLineNum = 384;BA.debugLine="CallSubDelayed(Tracker,\"StartFLP\")"; +Debug.ShouldStop(-2147483648); +subs.mostCurrent.__c.runVoidMethod ("CallSubDelayed",BA.rdebugUtils.runMethod(false, "processBAFromBA", _ba),(Object)((subs.mostCurrent._tracker.getObject())),(Object)(RemoteObject.createImmutable("StartFLP"))); + BA.debugLineNum = 385;BA.debugLine="todoBienFLP = False"; +Debug.ShouldStop(1); +_todobienflp = subs.mostCurrent.__c.getField(true,"False");Debug.locals.put("todoBienFLP", _todobienflp); + }; + BA.debugLineNum = 387;BA.debugLine="If Tracker.FLP.IsConnected And _ Tracker.FLP."; +Debug.ShouldStop(4); +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 = 390;BA.debugLine="log2DB(\"revisaFLP: 'No se esta actualizando, lo"; +Debug.ShouldStop(32); +_log2db(_ba,RemoteObject.createImmutable("revisaFLP: 'No se esta actualizando, lo reiniciamos ...'")); + BA.debugLineNum = 391;BA.debugLine="StartService(Tracker)"; +Debug.ShouldStop(64); +subs.mostCurrent.__c.runVoidMethod ("StartService",BA.rdebugUtils.runMethod(false, "processBAFromBA", _ba),(Object)((subs.mostCurrent._tracker.getObject()))); + BA.debugLineNum = 392;BA.debugLine="todoBienFLP = False"; +Debug.ShouldStop(128); +_todobienflp = subs.mostCurrent.__c.getField(true,"False");Debug.locals.put("todoBienFLP", _todobienflp); + }; + }; + BA.debugLineNum = 395;BA.debugLine="If todoBienFLP Then LogColor(\" +++ +++ Sin errore"; +Debug.ShouldStop(1024); +if (_todobienflp.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","818743319",BA.ObjectToString(" +++ +++ Sin errores en FLP"),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Green"));}; + BA.debugLineNum = 397;BA.debugLine="End Sub"; +Debug.ShouldStop(4096); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _revisapushservice(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("revisaPushService (subs) ","subs",12,_ba,subs.mostCurrent,400); +if (RapidSub.canDelegate("revisapushservice")) { return reparto_izca.keymon.lat.subs.remoteMe.runUserSub(false, "subs","revisapushservice", _ba);} +; + BA.debugLineNum = 400;BA.debugLine="Sub revisaPushService 'ignore"; +Debug.ShouldStop(32768); + 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 _revisauug(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("revisaUUG (subs) ","subs",12,_ba,subs.mostCurrent,358); +if (RapidSub.canDelegate("revisauug")) { return reparto_izca.keymon.lat.subs.remoteMe.runUserSub(false, "subs","revisauug", _ba);} +RemoteObject _daa = RemoteObject.createImmutable(0); +; + BA.debugLineNum = 358;BA.debugLine="Sub revisaUUG 'ignore"; +Debug.ShouldStop(32); + BA.debugLineNum = 359;BA.debugLine="revisaFLP"; +Debug.ShouldStop(64); +_revisaflp(_ba); + BA.debugLineNum = 360;BA.debugLine="If Tracker.FLP.GetLastKnownLocation.IsInitialized"; +Debug.ShouldStop(128); +if (subs.mostCurrent._tracker._flp /*RemoteObject*/ .runMethod(false,"GetLastKnownLocation").runMethod(true,"IsInitialized").get().booleanValue()) { + BA.debugLineNum = 361;BA.debugLine="Dim daa As Int = Tracker.UUGCoords.DistanceTo(Tr"; +Debug.ShouldStop(256); +_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 = 362;BA.debugLine="If B4XPages.MainPage.Logger Then LogColor($\"****"; +Debug.ShouldStop(512); +if (subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(true,"_logger" /*RemoteObject*/ ).get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","818677764",(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 = 363;BA.debugLine="If daa > 40 And Tracker.FLP.GetLastKnownLocation"; +Debug.ShouldStop(1024); +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 = 364;BA.debugLine="kmt.ExecNonQuery2(\"INSERT INTO RUTA_GPS(fecha,"; +Debug.ShouldStop(2048); +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 = 365;BA.debugLine="If B4XPages.MainPage.Logger Then Log(\"++++ Dist"; +Debug.ShouldStop(4096); +if (subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(true,"_logger" /*RemoteObject*/ ).get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","818677767",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 = 367;BA.debugLine="Tracker.UUGCoords = Tracker.FLP.GetLastKnownLoca"; +Debug.ShouldStop(16384); +subs.mostCurrent._tracker._uugcoords /*RemoteObject*/ = subs.mostCurrent._tracker._flp /*RemoteObject*/ .runMethod(false,"GetLastKnownLocation"); + }; + BA.debugLineNum = 369;BA.debugLine="End Sub"; +Debug.ShouldStop(65536); +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",12,_ba,subs.mostCurrent,594); +if (RapidSub.canDelegate("setdivider")) { return reparto_izca.keymon.lat.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 = 594;BA.debugLine="Sub SetDivider(lv As ListView, Color As Int, Heigh"; +Debug.ShouldStop(131072); + BA.debugLineNum = 595;BA.debugLine="Dim r As Reflector"; +Debug.ShouldStop(262144); +_r = RemoteObject.createNew ("anywheresoftware.b4a.agraham.reflection.Reflection");Debug.locals.put("r", _r); + BA.debugLineNum = 596;BA.debugLine="r.Target = lv"; +Debug.ShouldStop(524288); +_r.setField ("Target",(_lv.getObject())); + BA.debugLineNum = 597;BA.debugLine="Dim CD As ColorDrawable"; +Debug.ShouldStop(1048576); +_cd = RemoteObject.createNew ("anywheresoftware.b4a.objects.drawable.ColorDrawable");Debug.locals.put("CD", _cd); + BA.debugLineNum = 598;BA.debugLine="CD.Initialize(Color, 0)"; +Debug.ShouldStop(2097152); +_cd.runVoidMethod ("Initialize",(Object)(_color),(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 599;BA.debugLine="r.RunMethod4(\"setDivider\", Array As Object(CD), A"; +Debug.ShouldStop(4194304); +_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 = 600;BA.debugLine="r.RunMethod2(\"setDividerHeight\", Height, \"java.la"; +Debug.ShouldStop(8388608); +_r.runVoidMethod ("RunMethod2",(Object)(BA.ObjectToString("setDividerHeight")),(Object)(BA.NumberToString(_height)),(Object)(RemoteObject.createImmutable("java.lang.int"))); + BA.debugLineNum = 601;BA.debugLine="End Sub"; +Debug.ShouldStop(16777216); +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",12,_ba,subs.mostCurrent,999); +if (RapidSub.canDelegate("traealmacen")) { return reparto_izca.keymon.lat.subs.remoteMe.runUserSub(false, "subs","traealmacen", _ba);} +RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _a = RemoteObject.createImmutable(""); +; + BA.debugLineNum = 999;BA.debugLine="Sub traeAlmacen As String 'ignore"; +Debug.ShouldStop(64); + BA.debugLineNum = 1000;BA.debugLine="Private c As Cursor"; +Debug.ShouldStop(128); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");Debug.locals.put("c", _c); + BA.debugLineNum = 1001;BA.debugLine="Private a As String"; +Debug.ShouldStop(256); +_a = RemoteObject.createImmutable("");Debug.locals.put("a", _a); + BA.debugLineNum = 1002;BA.debugLine="c = Starter.skmt.ExecQuery(\"select ID_ALMACEN fro"; +Debug.ShouldStop(512); +_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 ID_ALMACEN from CAT_ALMACEN"))));Debug.locals.put("c", _c); + BA.debugLineNum = 1003;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(1024); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1004;BA.debugLine="a = C.GetString(\"ID_ALMACEN\")"; +Debug.ShouldStop(2048); +_a = _c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ID_ALMACEN")));Debug.locals.put("a", _a); + BA.debugLineNum = 1005;BA.debugLine="c.Close"; +Debug.ShouldStop(4096); +_c.runVoidMethod ("Close"); + BA.debugLineNum = 1006;BA.debugLine="Return a"; +Debug.ShouldStop(8192); +if (true) return _a; + BA.debugLineNum = 1007;BA.debugLine="End Sub"; +Debug.ShouldStop(16384); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _traecantidadrechazada(RemoteObject _ba,RemoteObject _cliente,RemoteObject _prodid) throws Exception{ +try { + Debug.PushSubsStack("traeCantidadRechazada (subs) ","subs",12,_ba,subs.mostCurrent,757); +if (RapidSub.canDelegate("traecantidadrechazada")) { return reparto_izca.keymon.lat.subs.remoteMe.runUserSub(false, "subs","traecantidadrechazada", _ba, _cliente, _prodid);} +RemoteObject _cant = RemoteObject.createImmutable(0); +RemoteObject _cr = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +; +Debug.locals.put("cliente", _cliente); +Debug.locals.put("prodId", _prodid); + BA.debugLineNum = 757;BA.debugLine="Sub traeCantidadRechazada(cliente As String, prodI"; +Debug.ShouldStop(1048576); + BA.debugLineNum = 758;BA.debugLine="Private cant As Int = 0"; +Debug.ShouldStop(2097152); +_cant = BA.numberCast(int.class, 0);Debug.locals.put("cant", _cant);Debug.locals.put("cant", _cant); + BA.debugLineNum = 759;BA.debugLine="Private cr As Cursor = Starter.skmt.ExecQuery($\"S"; +Debug.ShouldStop(4194304); +_cr = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_cr = 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 rep_cliente, rep_prodid, REP_CANT, REP_RECHAZO from reparto where rep_cliente = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cliente))),RemoteObject.createImmutable("' and rep_prodid = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_prodid))),RemoteObject.createImmutable("' and REP_RECHAZO = 1"))))));Debug.locals.put("cr", _cr);Debug.locals.put("cr", _cr); + BA.debugLineNum = 760;BA.debugLine="If cr.RowCount > 0 Then"; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean(">",_cr.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 761;BA.debugLine="cr.Position = 0"; +Debug.ShouldStop(16777216); +_cr.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 762;BA.debugLine="cant = cr.GetString(\"REP_CANT\")"; +Debug.ShouldStop(33554432); +_cant = BA.numberCast(int.class, _cr.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("REP_CANT"))));Debug.locals.put("cant", _cant); + }; + BA.debugLineNum = 764;BA.debugLine="Log($\"${cliente}, ${prodId}, rowcont:${cr.RowCoun"; +Debug.ShouldStop(134217728); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","820381703",(RemoteObject.concat(RemoteObject.createImmutable(""),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cliente))),RemoteObject.createImmutable(", "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_prodid))),RemoteObject.createImmutable(", rowcont:"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cr.runMethod(true,"getRowCount")))),RemoteObject.createImmutable(", cant: "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cant))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 765;BA.debugLine="Return cant"; +Debug.ShouldStop(268435456); +if (true) return _cant; + BA.debugLineNum = 766;BA.debugLine="End Sub"; +Debug.ShouldStop(536870912); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _traecantidadvendida(RemoteObject _ba,RemoteObject _cliente,RemoteObject _prodid) throws Exception{ +try { + Debug.PushSubsStack("traeCantidadVendida (subs) ","subs",12,_ba,subs.mostCurrent,769); +if (RapidSub.canDelegate("traecantidadvendida")) { return reparto_izca.keymon.lat.subs.remoteMe.runUserSub(false, "subs","traecantidadvendida", _ba, _cliente, _prodid);} +RemoteObject _cant = RemoteObject.createImmutable(0); +RemoteObject _cr = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +; +Debug.locals.put("cliente", _cliente); +Debug.locals.put("prodId", _prodid); + BA.debugLineNum = 769;BA.debugLine="Sub traeCantidadVendida(cliente As String, prodId"; +Debug.ShouldStop(1); + BA.debugLineNum = 770;BA.debugLine="Private cant As Int = 0"; +Debug.ShouldStop(2); +_cant = BA.numberCast(int.class, 0);Debug.locals.put("cant", _cant);Debug.locals.put("cant", _cant); + BA.debugLineNum = 771;BA.debugLine="Private cr As Cursor = Starter.skmt.ExecQuery($\"S"; +Debug.ShouldStop(4); +_cr = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_cr = 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 rep_cliente, rep_prodid, REP_CANT, REP_RECHAZO from reparto where rep_cli_orig = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cliente))),RemoteObject.createImmutable("' and rep_prodid = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_prodid))),RemoteObject.createImmutable("' and REP_RECHAZO = 0 and REP_CANT > 0"))))));Debug.locals.put("cr", _cr);Debug.locals.put("cr", _cr); + BA.debugLineNum = 773;BA.debugLine="If cr.RowCount > 0 Then"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean(">",_cr.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 774;BA.debugLine="cr.Position = 0"; +Debug.ShouldStop(32); +_cr.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 775;BA.debugLine="cant = cr.GetString(\"REP_CANT\")"; +Debug.ShouldStop(64); +_cant = BA.numberCast(int.class, _cr.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("REP_CANT"))));Debug.locals.put("cant", _cant); + }; + BA.debugLineNum = 777;BA.debugLine="Return cant"; +Debug.ShouldStop(256); +if (true) return _cant; + BA.debugLineNum = 778;BA.debugLine="End Sub"; +Debug.ShouldStop(512); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _traecantymonto2(RemoteObject _ba,RemoteObject _cliente) throws Exception{ +try { + Debug.PushSubsStack("traeCantYMonto2 (subs) ","subs",12,_ba,subs.mostCurrent,881); +if (RapidSub.canDelegate("traecantymonto2")) { return reparto_izca.keymon.lat.subs.remoteMe.runUserSub(false, "subs","traecantymonto2", _ba, _cliente);} +RemoteObject _cant = RemoteObject.createImmutable(0); +RemoteObject _monto = RemoteObject.createImmutable(0f); +RemoteObject _ccym = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +int _i = 0; +; +Debug.locals.put("cliente", _cliente); + BA.debugLineNum = 881;BA.debugLine="Sub traeCantYMonto2(cliente As String) As Map"; +Debug.ShouldStop(65536); + BA.debugLineNum = 883;BA.debugLine="Private cant As Int = 0"; +Debug.ShouldStop(262144); +_cant = BA.numberCast(int.class, 0);Debug.locals.put("cant", _cant);Debug.locals.put("cant", _cant); + BA.debugLineNum = 884;BA.debugLine="Private monto As Float = 0"; +Debug.ShouldStop(524288); +_monto = BA.numberCast(float.class, 0);Debug.locals.put("monto", _monto);Debug.locals.put("monto", _monto); + BA.debugLineNum = 885;BA.debugLine="Private ccym As Cursor = Starter.skmt.ExecQuery($"; +Debug.ShouldStop(1048576); +_ccym = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_ccym = 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 hvd_codpromo, hvd_proid, HVD_CANT, (Select CAT_GP_PRECIO from cat_gunaprod where cat_gp_id = hvd_proid) As precio from HIST_VENTAS where HVD_CLIENTE = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cliente))),RemoteObject.createImmutable("'"))))));Debug.locals.put("ccym", _ccym);Debug.locals.put("ccym", _ccym); + BA.debugLineNum = 886;BA.debugLine="If ccym.RowCount > 0 Then"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean(">",_ccym.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 887;BA.debugLine="For i=0 To ccym.RowCount -1"; +Debug.ShouldStop(4194304); +{ +final int step5 = 1; +final int limit5 = RemoteObject.solve(new RemoteObject[] {_ccym.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 = 888;BA.debugLine="ccym.Position = i"; +Debug.ShouldStop(8388608); +_ccym.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 889;BA.debugLine="If ccym.GetString(\"HVD_CODPROMO\") <> ccym.GetSt"; +Debug.ShouldStop(16777216); +if (RemoteObject.solveBoolean("!",_ccym.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CODPROMO"))),_ccym.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID")))) && RemoteObject.solveBoolean("N",_ccym.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("precio"))))) { + BA.debugLineNum = 890;BA.debugLine="cant = cant + ccym.GetString(\"HVD_CANT\")"; +Debug.ShouldStop(33554432); +_cant = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_cant,BA.numberCast(double.class, _ccym.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT"))))}, "+",1, 0));Debug.locals.put("cant", _cant); + BA.debugLineNum = 892;BA.debugLine="monto = monto + (ccym.GetString(\"HVD_CANT\") *"; +Debug.ShouldStop(134217728); +_monto = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_monto,(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _ccym.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT")))),BA.numberCast(double.class, _traeprecio(_ba,_ccym.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PROID"))),_ccym.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CODPROMO")))))}, "*",0, 0))}, "+",1, 0));Debug.locals.put("monto", _monto); + }; + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 898;BA.debugLine="ccym = Starter.skmt.ExecQuery($\"Select rep_prodid"; +Debug.ShouldStop(2); +_ccym = 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 rep_prodid, iFNULL(REP_CANT, 0) AS REP_CANT, iFNULL((Select CAT_GP_PRECIO from cat_gunaprod where cat_gp_id = rep_prodid),0) As precio from REPARTO where REP_CLIENTE in (Select cuenta from cuentaa) And REP_RECHAZO = '0' and REP_CANT > 0")))));Debug.locals.put("ccym", _ccym); + BA.debugLineNum = 899;BA.debugLine="If ccym.RowCount > 0 Then"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean(">",_ccym.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 900;BA.debugLine="For i=0 To ccym.RowCount -1"; +Debug.ShouldStop(8); +{ +final int step15 = 1; +final int limit15 = RemoteObject.solve(new RemoteObject[] {_ccym.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 = 901;BA.debugLine="ccym.Position = i"; +Debug.ShouldStop(16); +_ccym.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 902;BA.debugLine="If ccym.GetString(\"REP_CANT\") <> Null Then cant"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean("N",_ccym.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("REP_CANT"))))) { +_cant = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_cant,BA.numberCast(double.class, _ccym.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("REP_CANT"))))}, "+",1, 0));Debug.locals.put("cant", _cant);}; + BA.debugLineNum = 903;BA.debugLine="monto = monto + (ccym.GetString(\"REP_CANT\") * c"; +Debug.ShouldStop(64); +_monto = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_monto,(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _ccym.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("REP_CANT")))),BA.numberCast(double.class, _ccym.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("precio"))))}, "*",0, 0))}, "+",1, 0));Debug.locals.put("monto", _monto); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 905;BA.debugLine="Log($\"CANT=${cant}, MONTO=${monto}\"$)"; +Debug.ShouldStop(256); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","820774936",(RemoteObject.concat(RemoteObject.createImmutable("CANT="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cant))),RemoteObject.createImmutable(", MONTO="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_monto))),RemoteObject.createImmutable(""))),0); + }; + BA.debugLineNum = 908;BA.debugLine="ccym.Close"; +Debug.ShouldStop(2048); +_ccym.runVoidMethod ("Close"); + BA.debugLineNum = 909;BA.debugLine="Return CreateMap(\"cantidad\":cant, \"monto\":monto)"; +Debug.ShouldStop(4096); +if (true) return subs.mostCurrent.__c.runMethod(false, "createMap", (Object)(new RemoteObject[] {RemoteObject.createImmutable(("cantidad")),(_cant),RemoteObject.createImmutable(("monto")),(_monto)})); + BA.debugLineNum = 910;BA.debugLine="End Sub"; +Debug.ShouldStop(8192); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _traecliente(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("traeCliente (subs) ","subs",12,_ba,subs.mostCurrent,722); +if (RapidSub.canDelegate("traecliente")) { return reparto_izca.keymon.lat.subs.remoteMe.runUserSub(false, "subs","traecliente", _ba);} +RemoteObject _cli = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _cl = RemoteObject.createImmutable(""); +; + BA.debugLineNum = 722;BA.debugLine="Sub traeCliente As String 'ignore"; +Debug.ShouldStop(131072); + BA.debugLineNum = 723;BA.debugLine="Private cli As Cursor = Starter.skmt.ExecQuery(\"S"; +Debug.ShouldStop(262144); +_cli = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_cli = 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("cli", _cli);Debug.locals.put("cli", _cli); + BA.debugLineNum = 724;BA.debugLine="cli.Position = 0"; +Debug.ShouldStop(524288); +_cli.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 725;BA.debugLine="Private cl As String = cli.GetString(\"CUENTA\")"; +Debug.ShouldStop(1048576); +_cl = _cli.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA")));Debug.locals.put("cl", _cl);Debug.locals.put("cl", _cl); + BA.debugLineNum = 726;BA.debugLine="cli.Close"; +Debug.ShouldStop(2097152); +_cli.runVoidMethod ("Close"); + BA.debugLineNum = 727;BA.debugLine="Log(\"Algo paso...\"& cl)"; +Debug.ShouldStop(4194304); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","820185093",RemoteObject.concat(RemoteObject.createImmutable("Algo paso..."),_cl),0); + BA.debugLineNum = 728;BA.debugLine="Return cl"; +Debug.ShouldStop(8388608); +if (true) return _cl; + BA.debugLineNum = 729;BA.debugLine="End Sub"; +Debug.ShouldStop(16777216); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _traeconversion(RemoteObject _ba,RemoteObject _id) throws Exception{ +try { + Debug.PushSubsStack("traeConversion (subs) ","subs",12,_ba,subs.mostCurrent,706); +if (RapidSub.canDelegate("traeconversion")) { return reparto_izca.keymon.lat.subs.remoteMe.runUserSub(false, "subs","traeconversion", _ba, _id);} +RemoteObject _pu = RemoteObject.createImmutable(""); +RemoteObject _idc = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +; +Debug.locals.put("id", _id); + BA.debugLineNum = 706;BA.debugLine="Sub traeConversion(id As String) As String"; +Debug.ShouldStop(2); + BA.debugLineNum = 707;BA.debugLine="Private pu As String = \"0\""; +Debug.ShouldStop(4); +_pu = BA.ObjectToString("0");Debug.locals.put("pu", _pu);Debug.locals.put("pu", _pu); + BA.debugLineNum = 709;BA.debugLine="Private idc As Cursor = kmt.ExecQuery($\"select C"; +Debug.ShouldStop(16); +_idc = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_idc = 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 CONVERSION from CAT_GUNAPROD where CAT_GP_ID = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_id))),RemoteObject.createImmutable("'"))))));Debug.locals.put("idc", _idc);Debug.locals.put("idc", _idc); + BA.debugLineNum = 710;BA.debugLine="If idc.RowCount > 0 Then"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean(">",_idc.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 711;BA.debugLine="idc.Position=0"; +Debug.ShouldStop(64); +_idc.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 712;BA.debugLine="If idc.RowCount > 0 And IsNumber(idc.GetString("; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean(">",_idc.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0)) && RemoteObject.solveBoolean(".",subs.mostCurrent.__c.runMethod(true,"IsNumber",(Object)(_idc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CONVERSION"))))))) { +_pu = _idc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CONVERSION")));Debug.locals.put("pu", _pu);}; + }; + BA.debugLineNum = 715;BA.debugLine="idc.Close"; +Debug.ShouldStop(1024); +_idc.runVoidMethod ("Close"); + BA.debugLineNum = 717;BA.debugLine="Return pu"; +Debug.ShouldStop(4096); +if (true) return _pu; + BA.debugLineNum = 718;BA.debugLine="End Sub"; +Debug.ShouldStop(8192); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _traeentregados(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("traeEntregados (subs) ","subs",12,_ba,subs.mostCurrent,913); +if (RapidSub.canDelegate("traeentregados")) { return reparto_izca.keymon.lat.subs.remoteMe.runUserSub(false, "subs","traeentregados", _ba);} +RemoteObject _m = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _cant = RemoteObject.createImmutable(0); +RemoteObject _monto = RemoteObject.createImmutable(""); +RemoteObject _rc = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +; + BA.debugLineNum = 913;BA.debugLine="Sub traeEntregados As Map"; +Debug.ShouldStop(65536); + BA.debugLineNum = 914;BA.debugLine="Private m As Map"; +Debug.ShouldStop(131072); +_m = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");Debug.locals.put("m", _m); + BA.debugLineNum = 915;BA.debugLine="Private cant As Int = 0"; +Debug.ShouldStop(262144); +_cant = BA.numberCast(int.class, 0);Debug.locals.put("cant", _cant);Debug.locals.put("cant", _cant); + BA.debugLineNum = 916;BA.debugLine="Private monto As String = 0"; +Debug.ShouldStop(524288); +_monto = BA.NumberToString(0);Debug.locals.put("monto", _monto);Debug.locals.put("monto", _monto); + BA.debugLineNum = 917;BA.debugLine="Private rc As Cursor = Starter.skmt.ExecQuery($\"s"; +Debug.ShouldStop(1048576); +_rc = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_rc = 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(HVD_CANT) as CUANTOS, sum(HVD_COSTO_TOT) as CUANTO from HIST_VENTAS where HVD_ESTATUS = '1' and HVD_COSTO_TOT <> '0'")))));Debug.locals.put("rc", _rc);Debug.locals.put("rc", _rc); + BA.debugLineNum = 918;BA.debugLine="If rc.RowCount > 0 Then"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean(">",_rc.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 919;BA.debugLine="rc.Position = 0"; +Debug.ShouldStop(4194304); +_rc.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 920;BA.debugLine="If rc.GetString(\"CUANTOS\") <> Null Then"; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean("N",_rc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS"))))) { + BA.debugLineNum = 921;BA.debugLine="cant = cant + rc.GetString(\"CUANTOS\")"; +Debug.ShouldStop(16777216); +_cant = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_cant,BA.numberCast(double.class, _rc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS"))))}, "+",1, 0));Debug.locals.put("cant", _cant); + BA.debugLineNum = 922;BA.debugLine="monto = monto + rc.GetString(\"CUANTO\")"; +Debug.ShouldStop(33554432); +_monto = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _monto),BA.numberCast(double.class, _rc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTO"))))}, "+",1, 0));Debug.locals.put("monto", _monto); + }; + }; + BA.debugLineNum = 926;BA.debugLine="Return CreateMap(\"cantidad\": cant, \"monto\": monto"; +Debug.ShouldStop(536870912); +if (true) return subs.mostCurrent.__c.runMethod(false, "createMap", (Object)(new RemoteObject[] {RemoteObject.createImmutable(("cantidad")),(_cant),RemoteObject.createImmutable(("monto")),(_monto)})); + BA.debugLineNum = 927;BA.debugLine="End Sub"; +Debug.ShouldStop(1073741824); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _traefechaprev(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("traefECHAPREV (subs) ","subs",12,_ba,subs.mostCurrent,1020); +if (RapidSub.canDelegate("traefechaprev")) { return reparto_izca.keymon.lat.subs.remoteMe.runUserSub(false, "subs","traefechaprev", _ba);} +RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _a = RemoteObject.createImmutable(""); +RemoteObject _clienteasing = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _fecha = null; +RemoteObject _fecha3 = RemoteObject.createImmutable(""); +RemoteObject _hora = null; +; + BA.debugLineNum = 1020;BA.debugLine="Sub traefECHAPREV As String 'ignore"; +Debug.ShouldStop(134217728); + BA.debugLineNum = 1021;BA.debugLine="Private c As Cursor"; +Debug.ShouldStop(268435456); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");Debug.locals.put("c", _c); + BA.debugLineNum = 1022;BA.debugLine="Private a As String"; +Debug.ShouldStop(536870912); +_a = RemoteObject.createImmutable("");Debug.locals.put("a", _a); + BA.debugLineNum = 1023;BA.debugLine="Private clienteasing As Cursor = Starter.skmt.Exe"; +Debug.ShouldStop(1073741824); +_clienteasing = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_clienteasing = 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("clienteasing", _clienteasing);Debug.locals.put("clienteasing", _clienteasing); + BA.debugLineNum = 1024;BA.debugLine="clienteasing.Position = 0"; +Debug.ShouldStop(-2147483648); +_clienteasing.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1025;BA.debugLine="If clienteasing.GetString(\"CUENTA\") <> \"63403\" Th"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean("!",_clienteasing.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA"))),BA.ObjectToString("63403"))) { + BA.debugLineNum = 1026;BA.debugLine="c = Starter.skmt.ExecQuery(\"select HVD_FECHA fro"; +Debug.ShouldStop(2); +_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 HVD_FECHA from HIST_VENTAS where HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))));Debug.locals.put("c", _c); + BA.debugLineNum = 1027;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(4); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1028;BA.debugLine="Dim fecha() As String = Regex.Split(\" \", c.GetSt"; +Debug.ShouldStop(8); +_fecha = subs.mostCurrent.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString(" ")),(Object)(_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_FECHA")))));Debug.locals.put("fecha", _fecha);Debug.locals.put("fecha", _fecha); + BA.debugLineNum = 1029;BA.debugLine="Dim fecha3 As String = fecha(0)"; +Debug.ShouldStop(16); +_fecha3 = _fecha.getArrayElement(true,BA.numberCast(int.class, 0));Debug.locals.put("fecha3", _fecha3);Debug.locals.put("fecha3", _fecha3); + BA.debugLineNum = 1030;BA.debugLine="Log(fecha3)"; +Debug.ShouldStop(32); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","821299210",_fecha3,0); + BA.debugLineNum = 1031;BA.debugLine="Dim hora() As String = Regex.Split(\"\\.\", fecha(1"; +Debug.ShouldStop(64); +_hora = subs.mostCurrent.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString("\\.")),(Object)(_fecha.getArrayElement(true,BA.numberCast(int.class, 1))));Debug.locals.put("hora", _hora);Debug.locals.put("hora", _hora); + BA.debugLineNum = 1032;BA.debugLine="a = fecha3 & \" \" & hora(0)"; +Debug.ShouldStop(128); +_a = RemoteObject.concat(_fecha3,RemoteObject.createImmutable(" "),_hora.getArrayElement(true,BA.numberCast(int.class, 0)));Debug.locals.put("a", _a); + BA.debugLineNum = 1033;BA.debugLine="c.Close"; +Debug.ShouldStop(256); +_c.runVoidMethod ("Close"); + }else +{ BA.debugLineNum = 1034;BA.debugLine="Else If clienteasing.GetString(\"CUENTA\") = \"63403"; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean("=",_clienteasing.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA"))),BA.ObjectToString("63403"))) { + BA.debugLineNum = 1035;BA.debugLine="c = Starter.skmt.ExecQuery(\"select HVD_FECHA fro"; +Debug.ShouldStop(1024); +_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 HVD_FECHA from HIST_VENTAS"))));Debug.locals.put("c", _c); + BA.debugLineNum = 1036;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(2048); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1037;BA.debugLine="Dim fecha() As String = Regex.Split(\" \", c.GetSt"; +Debug.ShouldStop(4096); +_fecha = subs.mostCurrent.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString(" ")),(Object)(_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_FECHA")))));Debug.locals.put("fecha", _fecha);Debug.locals.put("fecha", _fecha); + BA.debugLineNum = 1038;BA.debugLine="Dim fecha3 As String = fecha(0)"; +Debug.ShouldStop(8192); +_fecha3 = _fecha.getArrayElement(true,BA.numberCast(int.class, 0));Debug.locals.put("fecha3", _fecha3);Debug.locals.put("fecha3", _fecha3); + BA.debugLineNum = 1039;BA.debugLine="Log(fecha3)"; +Debug.ShouldStop(16384); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","821299219",_fecha3,0); + BA.debugLineNum = 1040;BA.debugLine="Dim hora() As String = Regex.Split(\"\\.\", fecha(1"; +Debug.ShouldStop(32768); +_hora = subs.mostCurrent.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString("\\.")),(Object)(_fecha.getArrayElement(true,BA.numberCast(int.class, 1))));Debug.locals.put("hora", _hora);Debug.locals.put("hora", _hora); + BA.debugLineNum = 1041;BA.debugLine="a = fecha3 & \" \" & hora(0)"; +Debug.ShouldStop(65536); +_a = RemoteObject.concat(_fecha3,RemoteObject.createImmutable(" "),_hora.getArrayElement(true,BA.numberCast(int.class, 0)));Debug.locals.put("a", _a); + BA.debugLineNum = 1042;BA.debugLine="c.Close"; +Debug.ShouldStop(131072); +_c.runVoidMethod ("Close"); + }} +; + BA.debugLineNum = 1044;BA.debugLine="Return a"; +Debug.ShouldStop(524288); +if (true) return _a; + BA.debugLineNum = 1045;BA.debugLine="End Sub"; +Debug.ShouldStop(1048576); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _traefechareparto(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("traeFechaReparto (subs) ","subs",12,_ba,subs.mostCurrent,731); +if (RapidSub.canDelegate("traefechareparto")) { return reparto_izca.keymon.lat.subs.remoteMe.runUserSub(false, "subs","traefechareparto", _ba);} +RemoteObject _fe = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _f = RemoteObject.createImmutable(""); +; + BA.debugLineNum = 731;BA.debugLine="Sub traeFechaReparto As String"; +Debug.ShouldStop(67108864); + BA.debugLineNum = 732;BA.debugLine="Private fe As Cursor = Starter.skmt.ExecQuery(\"se"; +Debug.ShouldStop(134217728); +_fe = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_fe = 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 HVD_FECHA from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa)"))));Debug.locals.put("fe", _fe);Debug.locals.put("fe", _fe); + BA.debugLineNum = 733;BA.debugLine="Private f As String = \"-\""; +Debug.ShouldStop(268435456); +_f = BA.ObjectToString("-");Debug.locals.put("f", _f);Debug.locals.put("f", _f); + BA.debugLineNum = 734;BA.debugLine="If fe.RowCount > 0 Then"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean(">",_fe.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 735;BA.debugLine="fe.Position = 0"; +Debug.ShouldStop(1073741824); +_fe.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 736;BA.debugLine="f = fe.GetString(\"HVD_FECHA\")"; +Debug.ShouldStop(-2147483648); +_f = _fe.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_FECHA")));Debug.locals.put("f", _f); + }; + BA.debugLineNum = 738;BA.debugLine="fe.Close"; +Debug.ShouldStop(2); +_fe.runVoidMethod ("Close"); + BA.debugLineNum = 739;BA.debugLine="Return f"; +Debug.ShouldStop(4); +if (true) return _f; + BA.debugLineNum = 740;BA.debugLine="End Sub"; +Debug.ShouldStop(8); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _traemaxcantidad(RemoteObject _ba,RemoteObject _cliente,RemoteObject _prodid) throws Exception{ +try { + Debug.PushSubsStack("traeMaxCantidad (subs) ","subs",12,_ba,subs.mostCurrent,781); +if (RapidSub.canDelegate("traemaxcantidad")) { return reparto_izca.keymon.lat.subs.remoteMe.runUserSub(false, "subs","traemaxcantidad", _ba, _cliente, _prodid);} +RemoteObject _cant = RemoteObject.createImmutable(0); +RemoteObject _cr = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +; +Debug.locals.put("cliente", _cliente); +Debug.locals.put("prodId", _prodid); + BA.debugLineNum = 781;BA.debugLine="Sub traeMaxCantidad(cliente As String, prodId As S"; +Debug.ShouldStop(4096); + BA.debugLineNum = 782;BA.debugLine="Private cant As Int = 0"; +Debug.ShouldStop(8192); +_cant = BA.numberCast(int.class, 0);Debug.locals.put("cant", _cant);Debug.locals.put("cant", _cant); + BA.debugLineNum = 783;BA.debugLine="Private cr As Cursor = Starter.skmt.ExecQuery($\"S"; +Debug.ShouldStop(16384); +_cr = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_cr = 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 hvd_cant from hist_ventas2 where hvd_cliente = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cliente))),RemoteObject.createImmutable("' and hvd_proid = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_prodid))),RemoteObject.createImmutable("'"))))));Debug.locals.put("cr", _cr);Debug.locals.put("cr", _cr); + BA.debugLineNum = 785;BA.debugLine="If cr.RowCount > 0 Then"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean(">",_cr.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 786;BA.debugLine="cr.Position = 0"; +Debug.ShouldStop(131072); +_cr.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 787;BA.debugLine="cant = cr.GetString(\"HVD_CANT\")"; +Debug.ShouldStop(262144); +_cant = BA.numberCast(int.class, _cr.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT"))));Debug.locals.put("cant", _cant); + }; + BA.debugLineNum = 789;BA.debugLine="Return cant"; +Debug.ShouldStop(1048576); +if (true) return _cant; + BA.debugLineNum = 790;BA.debugLine="End Sub"; +Debug.ShouldStop(2097152); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _traemoscantymonto(RemoteObject _ba,RemoteObject _clv) throws Exception{ +try { + Debug.PushSubsStack("traemosCantYMonto (subs) ","subs",12,_ba,subs.mostCurrent,853); +if (RapidSub.canDelegate("traemoscantymonto")) { return reparto_izca.keymon.lat.subs.remoteMe.runUserSub(false, "subs","traemoscantymonto", _ba, _clv);} +RemoteObject _cant = RemoteObject.createImmutable(0); +RemoteObject _monto = RemoteObject.createImmutable(0f); +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 _cant2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _estetag = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +; +Debug.locals.put("clv", _clv); + BA.debugLineNum = 853;BA.debugLine="Sub traemosCantYMonto(clv As CustomListView) As Ma"; +Debug.ShouldStop(1048576); + BA.debugLineNum = 855;BA.debugLine="Private cant As Int = 0"; +Debug.ShouldStop(4194304); +_cant = BA.numberCast(int.class, 0);Debug.locals.put("cant", _cant);Debug.locals.put("cant", _cant); + BA.debugLineNum = 856;BA.debugLine="Private monto As Float = 0"; +Debug.ShouldStop(8388608); +_monto = BA.numberCast(float.class, 0);Debug.locals.put("monto", _monto);Debug.locals.put("monto", _monto); + BA.debugLineNum = 857;BA.debugLine="For i = 0 To clv.GetSize - 1"; +Debug.ShouldStop(16777216); +{ +final int step3 = 1; +final int limit3 = RemoteObject.solve(new RemoteObject[] {_clv.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 = 858;BA.debugLine="Private p0 As B4XView = clv.GetPanel(i)"; +Debug.ShouldStop(33554432); +_p0 = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_p0 = _clv.runMethod(false,"_getpanel",(Object)(BA.numberCast(int.class, _i)));Debug.locals.put("p0", _p0);Debug.locals.put("p0", _p0); + BA.debugLineNum = 859;BA.debugLine="Private p As B4XView = p0.GetView(0)"; +Debug.ShouldStop(67108864); +_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 = 860;BA.debugLine="Private cant1 As B4XView = p.GetView(2).GetView("; +Debug.ShouldStop(134217728); +_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, 3)));Debug.locals.put("cant1", _cant1);Debug.locals.put("cant1", _cant1); + BA.debugLineNum = 861;BA.debugLine="Private cant2 As B4XView = p.GetView(3).GetView("; +Debug.ShouldStop(268435456); +_cant2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_cant2 = _p.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 3))).runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 3)));Debug.locals.put("cant2", _cant2);Debug.locals.put("cant2", _cant2); + BA.debugLineNum = 863;BA.debugLine="If cant1.text <> \"\" Then"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean("!",_cant1.runMethod(true,"getText"),BA.ObjectToString(""))) { + BA.debugLineNum = 864;BA.debugLine="If cant1.Text = \"\" Then cant1.Text = 0"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean("=",_cant1.runMethod(true,"getText"),BA.ObjectToString(""))) { +_cant1.runMethod(true,"setText",BA.ObjectToCharSequence(0));}; + BA.debugLineNum = 865;BA.debugLine="Private esteTag As List = Regex.Split(\"\\|\", can"; +Debug.ShouldStop(1); +_estetag = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +_estetag = subs.mostCurrent.__c.runMethod(false, "ArrayToList", (Object)(subs.mostCurrent.__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 = 867;BA.debugLine="If esteTag.Get(2) <> esteTag.Get(3) Then cant ="; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean("!",_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2))),_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 3))))) { +_cant = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_cant,BA.numberCast(double.class, _cant1.runMethod(true,"getText"))}, "+",1, 0));Debug.locals.put("cant", _cant);}; + BA.debugLineNum = 868;BA.debugLine="monto = monto + (esteTag.Get(0) * cant1.Text)"; +Debug.ShouldStop(8); +_monto = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_monto,(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));Debug.locals.put("monto", _monto); + }else { + BA.debugLineNum = 870;BA.debugLine="If cant2.Text = \"\" Then cant2.Text = 0"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean("=",_cant2.runMethod(true,"getText"),BA.ObjectToString(""))) { +_cant2.runMethod(true,"setText",BA.ObjectToCharSequence(0));}; + BA.debugLineNum = 871;BA.debugLine="Private esteTag As List = Regex.Split(\"\\|\", can"; +Debug.ShouldStop(64); +_estetag = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +_estetag = subs.mostCurrent.__c.runMethod(false, "ArrayToList", (Object)(subs.mostCurrent.__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 = 873;BA.debugLine="If esteTag.Get(2) <> esteTag.Get(3) Then cant ="; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean("!",_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2))),_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 3))))) { +_cant = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_cant,BA.numberCast(double.class, _cant2.runMethod(true,"getText"))}, "+",1, 0));Debug.locals.put("cant", _cant);}; + BA.debugLineNum = 874;BA.debugLine="monto = monto + (esteTag.Get(0) * cant2.Text)"; +Debug.ShouldStop(512); +_monto = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_monto,(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));Debug.locals.put("monto", _monto); + }; + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 878;BA.debugLine="Return CreateMap(\"cantidad\":cant, \"monto\":monto)"; +Debug.ShouldStop(8192); +if (true) return subs.mostCurrent.__c.runMethod(false, "createMap", (Object)(new RemoteObject[] {RemoteObject.createImmutable(("cantidad")),(_cant),RemoteObject.createImmutable(("monto")),(_monto)})); + BA.debugLineNum = 879;BA.debugLine="End Sub"; +Debug.ShouldStop(16384); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _traenombre(RemoteObject _ba,RemoteObject _id) throws Exception{ +try { + Debug.PushSubsStack("traeNombre (subs) ","subs",12,_ba,subs.mostCurrent,624); +if (RapidSub.canDelegate("traenombre")) { return reparto_izca.keymon.lat.subs.remoteMe.runUserSub(false, "subs","traenombre", _ba, _id);} +RemoteObject _nombre = RemoteObject.createImmutable(""); +RemoteObject _idc = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +; +Debug.locals.put("id", _id); + BA.debugLineNum = 624;BA.debugLine="Sub traeNombre(id As String) As String"; +Debug.ShouldStop(32768); + BA.debugLineNum = 625;BA.debugLine="Private nombre As String"; +Debug.ShouldStop(65536); +_nombre = RemoteObject.createImmutable("");Debug.locals.put("nombre", _nombre); + BA.debugLineNum = 626;BA.debugLine="Private idc As Cursor = kmt.ExecQuery($\"select HV"; +Debug.ShouldStop(131072); +_idc = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_idc = 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 HVD_PRONOMBRE from HIST_VENTAS where HVD_PROID = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_id))),RemoteObject.createImmutable("'"))))));Debug.locals.put("idc", _idc);Debug.locals.put("idc", _idc); + BA.debugLineNum = 627;BA.debugLine="idc.Position=0"; +Debug.ShouldStop(262144); +_idc.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 628;BA.debugLine="If idc.RowCount > 0 Then nombre = idc.GetString(\""; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean(">",_idc.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +_nombre = _idc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PRONOMBRE")));Debug.locals.put("nombre", _nombre);}; + BA.debugLineNum = 629;BA.debugLine="idc.Close"; +Debug.ShouldStop(1048576); +_idc.runVoidMethod ("Close"); + BA.debugLineNum = 631;BA.debugLine="Return nombre"; +Debug.ShouldStop(4194304); +if (true) return _nombre; + BA.debugLineNum = 632;BA.debugLine="End Sub"; +Debug.ShouldStop(8388608); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _traeprecio(RemoteObject _ba,RemoteObject _id,RemoteObject _quepromo) throws Exception{ +try { + Debug.PushSubsStack("traePrecio (subs) ","subs",12,_ba,subs.mostCurrent,635); +if (RapidSub.canDelegate("traeprecio")) { return reparto_izca.keymon.lat.subs.remoteMe.runUserSub(false, "subs","traeprecio", _ba, _id, _quepromo);} +RemoteObject _pu = RemoteObject.createImmutable(""); +RemoteObject _idc = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _pc = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +; +Debug.locals.put("id", _id); +Debug.locals.put("quePromo", _quepromo); + BA.debugLineNum = 635;BA.debugLine="Sub traePrecio(id As String, quePromo As String) A"; +Debug.ShouldStop(67108864); + BA.debugLineNum = 636;BA.debugLine="Private pu As String = \"0\""; +Debug.ShouldStop(134217728); +_pu = BA.ObjectToString("0");Debug.locals.put("pu", _pu);Debug.locals.put("pu", _pu); + BA.debugLineNum = 638;BA.debugLine="If quePromo = traeAlmacen Then"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean("=",_quepromo,_traealmacen(_ba))) { + BA.debugLineNum = 639;BA.debugLine="Private idc As Cursor = kmt.ExecQuery($\"select C"; +Debug.ShouldStop(1073741824); +_idc = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_idc = 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 CAT_GP_PRECIO from CAT_GUNAPROD where CAT_GP_ID = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_id))),RemoteObject.createImmutable("'"))))));Debug.locals.put("idc", _idc);Debug.locals.put("idc", _idc); + BA.debugLineNum = 640;BA.debugLine="If idc.RowCount > 0 Then"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean(">",_idc.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 641;BA.debugLine="idc.Position=0"; +Debug.ShouldStop(1); +_idc.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 642;BA.debugLine="If idc.RowCount > 0 And IsNumber(idc.GetString("; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean(">",_idc.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0)) && RemoteObject.solveBoolean(".",subs.mostCurrent.__c.runMethod(true,"IsNumber",(Object)(_idc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_PRECIO"))))))) { +_pu = _idc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_PRECIO")));Debug.locals.put("pu", _pu);}; + }; + BA.debugLineNum = 645;BA.debugLine="idc.Close"; +Debug.ShouldStop(16); +_idc.runVoidMethod ("Close"); + }else { + BA.debugLineNum = 647;BA.debugLine="Private pc As Cursor = Starter.skmt.ExecQuery($\""; +Debug.ShouldStop(64); +_pc = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_pc = 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 HVD_CANT, HVD_COSTO_TOT from HIST_VENTAS2 where HVD_CLIENTE in (select cuenta from cuentaa) and HVD_PROID = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_id))),RemoteObject.createImmutable("' and HVD_CODPROMO = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_quepromo))),RemoteObject.createImmutable("'"))))));Debug.locals.put("pc", _pc);Debug.locals.put("pc", _pc); + BA.debugLineNum = 648;BA.debugLine="If pc.RowCount > 0 Then"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean(">",_pc.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 649;BA.debugLine="pc.Position = 0"; +Debug.ShouldStop(256); +_pc.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 651;BA.debugLine="If pc.GetString(\"HVD_COSTO_TOT\")<> Null And pc."; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean("N",_pc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_COSTO_TOT")))) && RemoteObject.solveBoolean("N",_pc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT"))))) { + BA.debugLineNum = 652;BA.debugLine="pu = pc.GetString(\"HVD_COSTO_TOT\") / pc.GetStr"; +Debug.ShouldStop(2048); +_pu = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _pc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_COSTO_TOT")))),BA.numberCast(double.class, _pc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT"))))}, "/",0, 0));Debug.locals.put("pu", _pu); + }; + }; + BA.debugLineNum = 656;BA.debugLine="pc.Close"; +Debug.ShouldStop(32768); +_pc.runVoidMethod ("Close"); + }; + BA.debugLineNum = 659;BA.debugLine="Return pu"; +Debug.ShouldStop(262144); +if (true) return _pu; + BA.debugLineNum = 661;BA.debugLine="End Sub"; +Debug.ShouldStop(1048576); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _traeprecio2(RemoteObject _ba,RemoteObject _id,RemoteObject _quepromo,RemoteObject _consecutivo) throws Exception{ +try { + Debug.PushSubsStack("traePrecio2 (subs) ","subs",12,_ba,subs.mostCurrent,664); +if (RapidSub.canDelegate("traeprecio2")) { return reparto_izca.keymon.lat.subs.remoteMe.runUserSub(false, "subs","traeprecio2", _ba, _id, _quepromo, _consecutivo);} +RemoteObject _pu = RemoteObject.createImmutable(""); +RemoteObject _idc = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _pc = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +; +Debug.locals.put("id", _id); +Debug.locals.put("quePromo", _quepromo); +Debug.locals.put("consecutivo", _consecutivo); + BA.debugLineNum = 664;BA.debugLine="Sub traePrecio2(id As String, quePromo As String,"; +Debug.ShouldStop(8388608); + BA.debugLineNum = 665;BA.debugLine="Private pu As String = \"0\""; +Debug.ShouldStop(16777216); +_pu = BA.ObjectToString("0");Debug.locals.put("pu", _pu);Debug.locals.put("pu", _pu); + BA.debugLineNum = 667;BA.debugLine="If quePromo = traeAlmacen Then"; +Debug.ShouldStop(67108864); +if (RemoteObject.solveBoolean("=",_quepromo,_traealmacen(_ba))) { + BA.debugLineNum = 668;BA.debugLine="Private idc As Cursor = kmt.ExecQuery($\"select C"; +Debug.ShouldStop(134217728); +_idc = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_idc = 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 CAT_GP_PRECIO from CAT_GUNAPROD where CAT_GP_ID = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_id))),RemoteObject.createImmutable("'"))))));Debug.locals.put("idc", _idc);Debug.locals.put("idc", _idc); + BA.debugLineNum = 669;BA.debugLine="If idc.RowCount > 0 Then"; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean(">",_idc.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 670;BA.debugLine="idc.Position=0"; +Debug.ShouldStop(536870912); +_idc.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 671;BA.debugLine="If idc.RowCount > 0 And IsNumber(idc.GetString("; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean(">",_idc.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0)) && RemoteObject.solveBoolean(".",subs.mostCurrent.__c.runMethod(true,"IsNumber",(Object)(_idc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_PRECIO"))))))) { +_pu = _idc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_PRECIO")));Debug.locals.put("pu", _pu);}; + }; + BA.debugLineNum = 674;BA.debugLine="idc.Close"; +Debug.ShouldStop(2); +_idc.runVoidMethod ("Close"); + }else { + BA.debugLineNum = 676;BA.debugLine="Private pc As Cursor = Starter.skmt.ExecQuery($\""; +Debug.ShouldStop(8); +_pc = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_pc = 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 HVD_CANT, HVD_COSTO_TOT from HIST_VENTAS where HVD_CLIENTE in (select cuenta from cuentaa) and HVD_PROID = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_id))),RemoteObject.createImmutable("' and HVD_CODPROMO = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_quepromo))),RemoteObject.createImmutable("' AND CONSECUTIVO = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_consecutivo))),RemoteObject.createImmutable("'"))))));Debug.locals.put("pc", _pc);Debug.locals.put("pc", _pc); + BA.debugLineNum = 677;BA.debugLine="If pc.RowCount > 0 Then"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean(">",_pc.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 678;BA.debugLine="pc.Position = 0"; +Debug.ShouldStop(32); +_pc.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 680;BA.debugLine="If pc.GetString(\"HVD_COSTO_TOT\")<> Null And pc."; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean("N",_pc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_COSTO_TOT")))) && RemoteObject.solveBoolean("N",_pc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT"))))) { + BA.debugLineNum = 681;BA.debugLine="pu = pc.GetString(\"HVD_COSTO_TOT\") / pc.GetStr"; +Debug.ShouldStop(256); +_pu = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _pc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_COSTO_TOT")))),BA.numberCast(double.class, _pc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT"))))}, "/",0, 0));Debug.locals.put("pu", _pu); + }; + }; + BA.debugLineNum = 685;BA.debugLine="pc.Close"; +Debug.ShouldStop(4096); +_pc.runVoidMethod ("Close"); + }; + BA.debugLineNum = 688;BA.debugLine="Return pu"; +Debug.ShouldStop(32768); +if (true) return _pu; + BA.debugLineNum = 690;BA.debugLine="End Sub"; +Debug.ShouldStop(131072); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _traeprecioc(RemoteObject _ba,RemoteObject _id) throws Exception{ +try { + Debug.PushSubsStack("traePrecioC (subs) ","subs",12,_ba,subs.mostCurrent,693); +if (RapidSub.canDelegate("traeprecioc")) { return reparto_izca.keymon.lat.subs.remoteMe.runUserSub(false, "subs","traeprecioc", _ba, _id);} +RemoteObject _pu = RemoteObject.createImmutable(""); +RemoteObject _idc = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +; +Debug.locals.put("id", _id); + BA.debugLineNum = 693;BA.debugLine="Sub traePrecioC(id As String) As String"; +Debug.ShouldStop(1048576); + BA.debugLineNum = 694;BA.debugLine="Private pu As String = \"0\""; +Debug.ShouldStop(2097152); +_pu = BA.ObjectToString("0");Debug.locals.put("pu", _pu);Debug.locals.put("pu", _pu); + BA.debugLineNum = 695;BA.debugLine="Private idc As Cursor = kmt.ExecQuery($\"select PR"; +Debug.ShouldStop(4194304); +_idc = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_idc = 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 PRECIOCONVER from CAT_GUNAPROD where CAT_GP_ID = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_id))),RemoteObject.createImmutable("'"))))));Debug.locals.put("idc", _idc);Debug.locals.put("idc", _idc); + BA.debugLineNum = 696;BA.debugLine="If idc.RowCount > 0 Then"; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean(">",_idc.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 697;BA.debugLine="idc.Position=0"; +Debug.ShouldStop(16777216); +_idc.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 698;BA.debugLine="If idc.RowCount > 0 And IsNumber(idc.GetString(\""; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean(">",_idc.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0)) && RemoteObject.solveBoolean(".",subs.mostCurrent.__c.runMethod(true,"IsNumber",(Object)(_idc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PRECIOCONVER"))))))) { +_pu = _idc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PRECIOCONVER")));Debug.locals.put("pu", _pu);}; + }; + BA.debugLineNum = 701;BA.debugLine="idc.Close"; +Debug.ShouldStop(268435456); +_idc.runVoidMethod ("Close"); + BA.debugLineNum = 702;BA.debugLine="Return pu"; +Debug.ShouldStop(536870912); +if (true) return _pu; + BA.debugLineNum = 703;BA.debugLine="End Sub"; +Debug.ShouldStop(1073741824); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _traerechazados(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("traeRechazados (subs) ","subs",12,_ba,subs.mostCurrent,930); +if (RapidSub.canDelegate("traerechazados")) { return reparto_izca.keymon.lat.subs.remoteMe.runUserSub(false, "subs","traerechazados", _ba);} +RemoteObject _m = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _cant = RemoteObject.createImmutable(0); +RemoteObject _monto = RemoteObject.createImmutable(""); +RemoteObject _rc = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +; + BA.debugLineNum = 930;BA.debugLine="Sub traeRechazados As Map"; +Debug.ShouldStop(2); + BA.debugLineNum = 931;BA.debugLine="Private m As Map"; +Debug.ShouldStop(4); +_m = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");Debug.locals.put("m", _m); + BA.debugLineNum = 932;BA.debugLine="Private cant As Int = 0"; +Debug.ShouldStop(8); +_cant = BA.numberCast(int.class, 0);Debug.locals.put("cant", _cant);Debug.locals.put("cant", _cant); + BA.debugLineNum = 933;BA.debugLine="Private monto As String = 0"; +Debug.ShouldStop(16); +_monto = BA.NumberToString(0);Debug.locals.put("monto", _monto);Debug.locals.put("monto", _monto); + BA.debugLineNum = 934;BA.debugLine="Private rc As Cursor = Starter.skmt.ExecQuery($\"s"; +Debug.ShouldStop(32); +_rc = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_rc = 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(REP_CANT) as CUANTOS, sum(REP_CANT * REP_PRECIO) as CUANTO from REPARTO where REP_RECHAZO = '1' and REP_CANT <> '0'")))));Debug.locals.put("rc", _rc);Debug.locals.put("rc", _rc); + BA.debugLineNum = 935;BA.debugLine="If rc.RowCount > 0 Then"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean(">",_rc.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 936;BA.debugLine="rc.Position = 0"; +Debug.ShouldStop(128); +_rc.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 937;BA.debugLine="If rc.GetString(\"CUANTOS\") <> Null Then"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean("N",_rc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS"))))) { + BA.debugLineNum = 938;BA.debugLine="cant = cant + rc.GetString(\"CUANTOS\")"; +Debug.ShouldStop(512); +_cant = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_cant,BA.numberCast(double.class, _rc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS"))))}, "+",1, 0));Debug.locals.put("cant", _cant); + BA.debugLineNum = 939;BA.debugLine="monto = monto + rc.GetString(\"CUANTO\")"; +Debug.ShouldStop(1024); +_monto = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _monto),BA.numberCast(double.class, _rc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTO"))))}, "+",1, 0));Debug.locals.put("monto", _monto); + }; + }; + BA.debugLineNum = 943;BA.debugLine="Return CreateMap(\"cantidad\": cant, \"monto\": monto"; +Debug.ShouldStop(16384); +if (true) return subs.mostCurrent.__c.runMethod(false, "createMap", (Object)(new RemoteObject[] {RemoteObject.createImmutable(("cantidad")),(_cant),RemoteObject.createImmutable(("monto")),(_monto)})); + BA.debugLineNum = 944;BA.debugLine="End Sub"; +Debug.ShouldStop(32768); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _traeruta(RemoteObject _ba,RemoteObject _cliente) throws Exception{ +try { + Debug.PushSubsStack("traeRuta (subs) ","subs",12,_ba,subs.mostCurrent,743); +if (RapidSub.canDelegate("traeruta")) { return reparto_izca.keymon.lat.subs.remoteMe.runUserSub(false, "subs","traeruta", _ba, _cliente);} +RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _r = RemoteObject.createImmutable(""); +; +Debug.locals.put("cliente", _cliente); + BA.debugLineNum = 743;BA.debugLine="Sub traeRuta (cliente As String) As String 'ignore"; +Debug.ShouldStop(64); + BA.debugLineNum = 744;BA.debugLine="Private c As Cursor"; +Debug.ShouldStop(128); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");Debug.locals.put("c", _c); + BA.debugLineNum = 745;BA.debugLine="Private r As String"; +Debug.ShouldStop(256); +_r = RemoteObject.createImmutable("");Debug.locals.put("r", _r); + BA.debugLineNum = 746;BA.debugLine="c=Starter.skmt.ExecQuery($\"select CAT_CL_RUTA fro"; +Debug.ShouldStop(512); +_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 CAT_CL_RUTA from kmt_info where CAT_CL_CODIGO = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cliente))),RemoteObject.createImmutable("'"))))));Debug.locals.put("c", _c); + BA.debugLineNum = 747;BA.debugLine="r = \"0\""; +Debug.ShouldStop(1024); +_r = BA.ObjectToString("0");Debug.locals.put("r", _r); + BA.debugLineNum = 748;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean(">",_c.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 749;BA.debugLine="c.Position=0"; +Debug.ShouldStop(4096); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 750;BA.debugLine="r = c.GetString(\"CAT_CL_RUTA\")"; +Debug.ShouldStop(8192); +_r = _c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA")));Debug.locals.put("r", _r); + }; + BA.debugLineNum = 752;BA.debugLine="c.Close"; +Debug.ShouldStop(32768); +_c.runVoidMethod ("Close"); + BA.debugLineNum = 753;BA.debugLine="Return r"; +Debug.ShouldStop(65536); +if (true) return _r; + BA.debugLineNum = 754;BA.debugLine="End Sub"; +Debug.ShouldStop(131072); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _traerutaprev(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("traerUTAPREV (subs) ","subs",12,_ba,subs.mostCurrent,1047); +if (RapidSub.canDelegate("traerutaprev")) { return reparto_izca.keymon.lat.subs.remoteMe.runUserSub(false, "subs","traerutaprev", _ba);} +RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _a = RemoteObject.createImmutable(""); +; + BA.debugLineNum = 1047;BA.debugLine="Sub traerUTAPREV As String 'ignore"; +Debug.ShouldStop(4194304); + BA.debugLineNum = 1048;BA.debugLine="Private c As Cursor"; +Debug.ShouldStop(8388608); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");Debug.locals.put("c", _c); + BA.debugLineNum = 1049;BA.debugLine="Private a As String"; +Debug.ShouldStop(16777216); +_a = RemoteObject.createImmutable("");Debug.locals.put("a", _a); + BA.debugLineNum = 1050;BA.debugLine="c = Starter.skmt.ExecQuery(\"select CAT_CL_RUTA fr"; +Debug.ShouldStop(33554432); +_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 CAT_CL_RUTA from kmt_info where CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))));Debug.locals.put("c", _c); + BA.debugLineNum = 1051;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(67108864); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1052;BA.debugLine="a = C.GetString(\"CAT_CL_RUTA\")"; +Debug.ShouldStop(134217728); +_a = _c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA")));Debug.locals.put("a", _a); + BA.debugLineNum = 1053;BA.debugLine="c.Close"; +Debug.ShouldStop(268435456); +_c.runVoidMethod ("Close"); + BA.debugLineNum = 1054;BA.debugLine="Return a"; +Debug.ShouldStop(536870912); +if (true) return _a; + BA.debugLineNum = 1055;BA.debugLine="End Sub"; +Debug.ShouldStop(1073741824); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _traerutareparto(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("traeRutaReparto (subs) ","subs",12,_ba,subs.mostCurrent,985); +if (RapidSub.canDelegate("traerutareparto")) { return reparto_izca.keymon.lat.subs.remoteMe.runUserSub(false, "subs","traerutareparto", _ba);} +RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _r = RemoteObject.createImmutable(""); +; + BA.debugLineNum = 985;BA.debugLine="Sub traeRutaReparto As String 'ignore"; +Debug.ShouldStop(16777216); + BA.debugLineNum = 986;BA.debugLine="Private c As Cursor"; +Debug.ShouldStop(33554432); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");Debug.locals.put("c", _c); + BA.debugLineNum = 987;BA.debugLine="Private r As String"; +Debug.ShouldStop(67108864); +_r = RemoteObject.createImmutable("");Debug.locals.put("r", _r); + BA.debugLineNum = 988;BA.debugLine="c=Starter.skmt.ExecQuery(\"select RUTAA from RUTAA"; +Debug.ShouldStop(134217728); +_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 RUTAA from RUTAA"))));Debug.locals.put("c", _c); + BA.debugLineNum = 989;BA.debugLine="r = \"0\""; +Debug.ShouldStop(268435456); +_r = BA.ObjectToString("0");Debug.locals.put("r", _r); + BA.debugLineNum = 990;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean(">",_c.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 991;BA.debugLine="c.Position=0"; +Debug.ShouldStop(1073741824); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 992;BA.debugLine="r = c.GetString(\"RUTAA\")"; +Debug.ShouldStop(-2147483648); +_r = _c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("RUTAA")));Debug.locals.put("r", _r); + }; + BA.debugLineNum = 994;BA.debugLine="c.Close"; +Debug.ShouldStop(2); +_c.runVoidMethod ("Close"); + BA.debugLineNum = 995;BA.debugLine="Return r"; +Debug.ShouldStop(4); +if (true) return _r; + BA.debugLineNum = 996;BA.debugLine="End Sub"; +Debug.ShouldStop(8); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _traeusuario(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("traeUsuario (subs) ","subs",12,_ba,subs.mostCurrent,1009); +if (RapidSub.canDelegate("traeusuario")) { return reparto_izca.keymon.lat.subs.remoteMe.runUserSub(false, "subs","traeusuario", _ba);} +RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _a = RemoteObject.createImmutable(""); +; + BA.debugLineNum = 1009;BA.debugLine="Sub traeUsuario As String 'ignore"; +Debug.ShouldStop(65536); + BA.debugLineNum = 1010;BA.debugLine="Private c As Cursor"; +Debug.ShouldStop(131072); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");Debug.locals.put("c", _c); + BA.debugLineNum = 1011;BA.debugLine="Private a As String"; +Debug.ShouldStop(262144); +_a = RemoteObject.createImmutable("");Debug.locals.put("a", _a); + BA.debugLineNum = 1012;BA.debugLine="c = Starter.skmt.ExecQuery(\"select USUARIO from U"; +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 USUARIO from USUARIOA"))));Debug.locals.put("c", _c); + BA.debugLineNum = 1013;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(1048576); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1014;BA.debugLine="a = C.GetString(\"USUARIO\")"; +Debug.ShouldStop(2097152); +_a = _c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO")));Debug.locals.put("a", _a); + BA.debugLineNum = 1015;BA.debugLine="c.Close"; +Debug.ShouldStop(4194304); +_c.runVoidMethod ("Close"); + BA.debugLineNum = 1016;BA.debugLine="Return a"; +Debug.ShouldStop(8388608); +if (true) return _a; + BA.debugLineNum = 1017;BA.debugLine="End Sub"; +Debug.ShouldStop(16777216); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _traeusuariodebd(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("traeUsuarioDeBD (subs) ","subs",12,_ba,subs.mostCurrent,257); +if (RapidSub.canDelegate("traeusuariodebd")) { return reparto_izca.keymon.lat.subs.remoteMe.runUserSub(false, "subs","traeusuariodebd", _ba);} +RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _u = RemoteObject.createImmutable(""); +; + BA.debugLineNum = 257;BA.debugLine="Sub traeUsuarioDeBD As String 'ignore"; +Debug.ShouldStop(1); + BA.debugLineNum = 258;BA.debugLine="Private c As Cursor"; +Debug.ShouldStop(2); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");Debug.locals.put("c", _c); + BA.debugLineNum = 259;BA.debugLine="Private u As String = \"SinUsuario\""; +Debug.ShouldStop(4); +_u = BA.ObjectToString("SinUsuario");Debug.locals.put("u", _u);Debug.locals.put("u", _u); + BA.debugLineNum = 260;BA.debugLine="If Not(kmt.IsInitialized) Then revisaBD"; +Debug.ShouldStop(8); +if (subs.mostCurrent.__c.runMethod(true,"Not",(Object)(subs._kmt.runMethod(true,"IsInitialized"))).get().booleanValue()) { +_revisabd(_ba);}; + BA.debugLineNum = 261;BA.debugLine="c=kmt.ExecQuery(\"select USUARIO from usuarioa\")"; +Debug.ShouldStop(16); +_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 = 262;BA.debugLine="c.Position=0"; +Debug.ShouldStop(32); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 263;BA.debugLine="If c.RowCount > 0 Then u = c.GetString(\"USUARIO\")"; +Debug.ShouldStop(64); +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 = 264;BA.debugLine="c.Close"; +Debug.ShouldStop(128); +_c.runVoidMethod ("Close"); + BA.debugLineNum = 265;BA.debugLine="Return u"; +Debug.ShouldStop(256); +if (true) return _u; + BA.debugLineNum = 266;BA.debugLine="End Sub"; +Debug.ShouldStop(512); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _traevendidos(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("traeVendidos (subs) ","subs",12,_ba,subs.mostCurrent,947); +if (RapidSub.canDelegate("traevendidos")) { return reparto_izca.keymon.lat.subs.remoteMe.runUserSub(false, "subs","traevendidos", _ba);} +RemoteObject _m = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _cant = RemoteObject.createImmutable(0); +RemoteObject _monto = RemoteObject.createImmutable(""); +RemoteObject _rc = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +; + BA.debugLineNum = 947;BA.debugLine="Sub traeVendidos As Map"; +Debug.ShouldStop(262144); + BA.debugLineNum = 948;BA.debugLine="Private m As Map"; +Debug.ShouldStop(524288); +_m = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");Debug.locals.put("m", _m); + BA.debugLineNum = 949;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 = 950;BA.debugLine="Private monto As String = 0"; +Debug.ShouldStop(2097152); +_monto = BA.NumberToString(0);Debug.locals.put("monto", _monto);Debug.locals.put("monto", _monto); + BA.debugLineNum = 951;BA.debugLine="Private rc As Cursor = Starter.skmt.ExecQuery($\"s"; +Debug.ShouldStop(4194304); +_rc = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_rc = 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(REP_CANT) as CUANTOS, sum(REP_CANT * REP_PRECIO) as CUANTO from REPARTO where REP_RECHAZO = '0' and REP_CANT <> '0'")))));Debug.locals.put("rc", _rc);Debug.locals.put("rc", _rc); + BA.debugLineNum = 952;BA.debugLine="If rc.RowCount > 0 Then"; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean(">",_rc.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 953;BA.debugLine="rc.Position = 0"; +Debug.ShouldStop(16777216); +_rc.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 954;BA.debugLine="If rc.GetString(\"CUANTOS\") <> Null Then"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("N",_rc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS"))))) { + BA.debugLineNum = 955;BA.debugLine="cant = cant + rc.GetString(\"CUANTOS\")"; +Debug.ShouldStop(67108864); +_cant = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_cant,BA.numberCast(double.class, _rc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS"))))}, "+",1, 0));Debug.locals.put("cant", _cant); + BA.debugLineNum = 956;BA.debugLine="monto = monto + rc.GetString(\"CUANTO\")"; +Debug.ShouldStop(134217728); +_monto = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _monto),BA.numberCast(double.class, _rc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTO"))))}, "+",1, 0));Debug.locals.put("monto", _monto); + }; + }; + BA.debugLineNum = 960;BA.debugLine="Return CreateMap(\"cantidad\": cant, \"monto\": monto"; +Debug.ShouldStop(-2147483648); +if (true) return subs.mostCurrent.__c.runMethod(false, "createMap", (Object)(new RemoteObject[] {RemoteObject.createImmutable(("cantidad")),(_cant),RemoteObject.createImmutable(("monto")),(_monto)})); + BA.debugLineNum = 961;BA.debugLine="End Sub"; +Debug.ShouldStop(1); +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/reparto_izca/keymon/lat/swiftbutton.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/swiftbutton.java new file mode 100644 index 0000000..d43e917 --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/swiftbutton.java @@ -0,0 +1,46 @@ + +package reparto_izca.keymon.lat; + +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 reparto_izca.keymon.lat.main _main = null; +public static reparto_izca.keymon.lat.appupdater _appupdater = null; +public static reparto_izca.keymon.lat.subs _subs = null; +public static reparto_izca.keymon.lat.foto _foto = null; +public static reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public static reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public static reparto_izca.keymon.lat.starter _starter = null; +public static reparto_izca.keymon.lat.tracker _tracker = null; +public static reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public static reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public static reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public static reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public static reparto_izca.keymon.lat.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/reparto_izca/keymon/lat/swiftbutton_subs_0.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/swiftbutton_subs_0.java new file mode 100644 index 0000000..9b2fc4c --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/swiftbutton_subs_0.java @@ -0,0 +1,466 @@ +package reparto_izca.keymon.lat; + +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",70,__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 (reparto_izca.keymon.lat.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",70,__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 (reparto_izca.keymon.lat.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",70,__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",70,__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",70,__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",70,__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 (reparto_izca.keymon.lat.swiftbutton.class, "_setpressedstate" /*RemoteObject*/ ,(Object)(swiftbutton.__c.getField(true,"True"))); + BA.debugLineNum = 78;BA.debugLine="Draw"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.swiftbutton.class, "_setpressedstate" /*RemoteObject*/ ,(Object)(_inside)); + BA.debugLineNum = 82;BA.debugLine="Draw"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (reparto_izca.keymon.lat.swiftbutton.class, "_draw" /*RemoteObject*/ ); + }; + break; } +case 2: +case 3: { + BA.debugLineNum = 85;BA.debugLine="SetPressedState(False)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (reparto_izca.keymon.lat.swiftbutton.class, "_setpressedstate" /*RemoteObject*/ ,(Object)(swiftbutton.__c.getField(true,"False"))); + BA.debugLineNum = 86;BA.debugLine="Draw"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (reparto_izca.keymon.lat.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",70,__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 (reparto_izca.keymon.lat.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",70,__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 (reparto_izca.keymon.lat.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",70,__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",70,__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 (reparto_izca.keymon.lat.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/reparto_izca/keymon/lat/tracker.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/tracker.java new file mode 100644 index 0000000..663267d --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/tracker.java @@ -0,0 +1,75 @@ + +package reparto_izca.keymon.lat; + +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"), "reparto_izca.keymon.lat.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("reparto_izca.keymon.lat.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 _locrequest = RemoteObject.createImmutable(""); +public static RemoteObject _uugcoords = RemoteObject.declareNull("anywheresoftware.b4a.gps.LocationWrapper"); +public static RemoteObject _trackeractividad = RemoteObject.createImmutable(""); +public static RemoteObject _pushserviceactividad = RemoteObject.createImmutable(""); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static reparto_izca.keymon.lat.main _main = null; +public static reparto_izca.keymon.lat.appupdater _appupdater = null; +public static reparto_izca.keymon.lat.subs _subs = null; +public static reparto_izca.keymon.lat.foto _foto = null; +public static reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public static reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public static reparto_izca.keymon.lat.starter _starter = null; +public static reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public static reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public static reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public static reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public static reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; + public Object[] GetGlobals() { + return new Object[] {"actualLR",tracker._actuallr,"appUpdater",Debug.moduleToString(reparto_izca.keymon.lat.appupdater.class),"B4XCollections",Debug.moduleToString(reparto_izca.keymon.lat.b4xcollections.class),"B4XPages",Debug.moduleToString(reparto_izca.keymon.lat.b4xpages.class),"DateUtils",tracker.mostCurrent._dateutils,"FLP",tracker._flp,"flpStarted",tracker._flpstarted,"foto",Debug.moduleToString(reparto_izca.keymon.lat.foto.class),"HttpUtils2Service",Debug.moduleToString(reparto_izca.keymon.lat.httputils2service.class),"lock",tracker._lock,"locRequest",tracker._locrequest,"Main",Debug.moduleToString(reparto_izca.keymon.lat.main.class),"MAPA_CLIENTE",Debug.moduleToString(reparto_izca.keymon.lat.mapa_cliente.class),"MAPA_RUTAS",Debug.moduleToString(reparto_izca.keymon.lat.mapa_rutas.class),"newinst2",Debug.moduleToString(reparto_izca.keymon.lat.newinst2.class),"nid",tracker._nid,"pushServiceActividad",tracker._pushserviceactividad,"Service",tracker.mostCurrent._service,"Starter",Debug.moduleToString(reparto_izca.keymon.lat.starter.class),"Subs",Debug.moduleToString(reparto_izca.keymon.lat.subs.class),"trackerActividad",tracker._trackeractividad,"Tracking",tracker._tracking,"UUGCoords",tracker._uugcoords,"XUIViewsUtils",Debug.moduleToString(reparto_izca.keymon.lat.xuiviewsutils.class)}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/reparto_izca/keymon/lat/tracker_subs_0.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/tracker_subs_0.java new file mode 100644 index 0000000..5a111d5 --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/tracker_subs_0.java @@ -0,0 +1,826 @@ +package reparto_izca.keymon.lat; + +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",30,tracker.processBA,tracker.mostCurrent,119); +if (RapidSub.canDelegate("createlocationrequest")) { return reparto_izca.keymon.lat.tracker.remoteMe.runUserSub(false, "tracker","createlocationrequest");} +RemoteObject _lr = RemoteObject.declareNull("uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest"); + BA.debugLineNum = 119;BA.debugLine="Private Sub CreateLocationRequest As LocationReque"; +Debug.ShouldStop(4194304); + BA.debugLineNum = 120;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"CreateLocat"; +Debug.ShouldStop(8388608); +if (tracker.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,tracker.processBA).getField(true,"_logger" /*RemoteObject*/ ).get().booleanValue()) { +tracker.mostCurrent.__c.runVoidMethod ("LogImpl","873596929",RemoteObject.createImmutable("CreateLocationRequest"),0);}; + BA.debugLineNum = 121;BA.debugLine="Dim lr As LocationRequest"; +Debug.ShouldStop(16777216); +_lr = RemoteObject.createNew ("uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest");Debug.locals.put("lr", _lr); + BA.debugLineNum = 122;BA.debugLine="lr.Initialize"; +Debug.ShouldStop(33554432); +_lr.runVoidMethod ("Initialize"); + BA.debugLineNum = 123;BA.debugLine="lr.SetInterval(10000) 'Intervalo deseado para act"; +Debug.ShouldStop(67108864); +_lr.runVoidMethod ("SetInterval",(Object)(BA.numberCast(long.class, 10000))); + BA.debugLineNum = 124;BA.debugLine="lr.SetFastestInterval(lr.GetInterval / 2) 'Interv"; +Debug.ShouldStop(134217728); +_lr.runVoidMethod ("SetFastestInterval",(Object)(BA.numberCast(long.class, RemoteObject.solve(new RemoteObject[] {_lr.runMethod(true,"GetInterval"),RemoteObject.createImmutable(2)}, "/",0, 0)))); + BA.debugLineNum = 125;BA.debugLine="lr.SetSmallestDisplacement(75) 'Solo registra cam"; +Debug.ShouldStop(268435456); +_lr.runVoidMethod ("SetSmallestDisplacement",(Object)(BA.numberCast(float.class, 75))); + BA.debugLineNum = 126;BA.debugLine="lr.SetPriority(lr.Priority.PRIORITY_HIGH_ACCURACY"; +Debug.ShouldStop(536870912); +_lr.runVoidMethod ("SetPriority",(Object)(_lr.getField(false,"Priority").getField(true,"PRIORITY_HIGH_ACCURACY"))); + BA.debugLineNum = 127;BA.debugLine="actualLR=lr"; +Debug.ShouldStop(1073741824); +tracker._actuallr = _lr; + BA.debugLineNum = 128;BA.debugLine="Return lr"; +Debug.ShouldStop(-2147483648); +if (true) return _lr; + BA.debugLineNum = 129;BA.debugLine="End Sub"; +Debug.ShouldStop(1); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _createlocationrequest2times() throws Exception{ +try { + Debug.PushSubsStack("CreateLocationRequest2times (tracker) ","tracker",30,tracker.processBA,tracker.mostCurrent,131); +if (RapidSub.canDelegate("createlocationrequest2times")) { return reparto_izca.keymon.lat.tracker.remoteMe.runUserSub(false, "tracker","createlocationrequest2times");} +RemoteObject _lr = RemoteObject.declareNull("uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest"); + BA.debugLineNum = 131;BA.debugLine="Private Sub CreateLocationRequest2times As Locatio"; +Debug.ShouldStop(4); + BA.debugLineNum = 132;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"Iniciamos C"; +Debug.ShouldStop(8); +if (tracker.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,tracker.processBA).getField(true,"_logger" /*RemoteObject*/ ).get().booleanValue()) { +tracker.mostCurrent.__c.runVoidMethod ("LogImpl","873662465",RemoteObject.createImmutable("Iniciamos CreateLocationRequest2times"),0);}; + BA.debugLineNum = 133;BA.debugLine="Dim lr As LocationRequest"; +Debug.ShouldStop(16); +_lr = RemoteObject.createNew ("uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest");Debug.locals.put("lr", _lr); + BA.debugLineNum = 134;BA.debugLine="lr.Initialize"; +Debug.ShouldStop(32); +_lr.runVoidMethod ("Initialize"); + BA.debugLineNum = 135;BA.debugLine="lr.SetInterval(2000) 'Intervalo deseado para actu"; +Debug.ShouldStop(64); +_lr.runVoidMethod ("SetInterval",(Object)(BA.numberCast(long.class, 2000))); + BA.debugLineNum = 136;BA.debugLine="lr.SetFastestInterval(lr.GetInterval / 2) 'Interv"; +Debug.ShouldStop(128); +_lr.runVoidMethod ("SetFastestInterval",(Object)(BA.numberCast(long.class, RemoteObject.solve(new RemoteObject[] {_lr.runMethod(true,"GetInterval"),RemoteObject.createImmutable(2)}, "/",0, 0)))); + BA.debugLineNum = 137;BA.debugLine="lr.setNumUpdates(2) 'Solicitamos solo 2 actualiza"; +Debug.ShouldStop(256); +_lr.runVoidMethod ("SetNumUpdates",(Object)(BA.numberCast(int.class, 2))); + BA.debugLineNum = 138;BA.debugLine="lr.SetSmallestDisplacement(10) 'Solo registra cam"; +Debug.ShouldStop(512); +_lr.runVoidMethod ("SetSmallestDisplacement",(Object)(BA.numberCast(float.class, 10))); + BA.debugLineNum = 139;BA.debugLine="lr.SetPriority(lr.Priority.PRIORITY_HIGH_ACCURACY"; +Debug.ShouldStop(1024); +_lr.runVoidMethod ("SetPriority",(Object)(_lr.getField(false,"Priority").getField(true,"PRIORITY_HIGH_ACCURACY"))); + BA.debugLineNum = 140;BA.debugLine="actualLR=lr"; +Debug.ShouldStop(2048); +tracker._actuallr = _lr; + BA.debugLineNum = 141;BA.debugLine="Return lr"; +Debug.ShouldStop(4096); +if (true) return _lr; + BA.debugLineNum = 142;BA.debugLine="End Sub"; +Debug.ShouldStop(8192); +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",30,tracker.processBA,tracker.mostCurrent,206); +if (RapidSub.canDelegate("createnotification")) { return reparto_izca.keymon.lat.tracker.remoteMe.runUserSub(false, "tracker","createnotification", _body);} +RemoteObject _notification = RemoteObject.declareNull("anywheresoftware.b4a.objects.NotificationWrapper"); +Debug.locals.put("Body", _body); + BA.debugLineNum = 206;BA.debugLine="Sub CreateNotification (Body As String) As Notific"; +Debug.ShouldStop(8192); + BA.debugLineNum = 207;BA.debugLine="Dim notification As Notification"; +Debug.ShouldStop(16384); +_notification = RemoteObject.createNew ("anywheresoftware.b4a.objects.NotificationWrapper");Debug.locals.put("notification", _notification); + BA.debugLineNum = 208;BA.debugLine="notification.Initialize2(notification.IMPORTANCE_"; +Debug.ShouldStop(32768); +_notification.runVoidMethod ("Initialize2",(Object)(_notification.getField(true,"IMPORTANCE_LOW"))); + BA.debugLineNum = 209;BA.debugLine="notification.Icon = \"icon\""; +Debug.ShouldStop(65536); +_notification.runVoidMethod ("setIcon",BA.ObjectToString("icon")); + BA.debugLineNum = 210;BA.debugLine="notification.SetInfo(\"IZCA REPARTO\", Body, Main)"; +Debug.ShouldStop(131072); +_notification.runVoidMethod ("SetInfoNew",tracker.processBA,(Object)(BA.ObjectToCharSequence("IZCA REPARTO")),(Object)(BA.ObjectToCharSequence(_body)),(Object)((tracker.mostCurrent._main.getObject()))); + BA.debugLineNum = 211;BA.debugLine="Return notification"; +Debug.ShouldStop(262144); +if (true) return _notification; + BA.debugLineNum = 212;BA.debugLine="End Sub"; +Debug.ShouldStop(524288); +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",30,tracker.processBA,tracker.mostCurrent,144); +if (RapidSub.canDelegate("dameultimaubicacionconocida")) { return reparto_izca.keymon.lat.tracker.remoteMe.runUserSub(false, "tracker","dameultimaubicacionconocida");} +RemoteObject _coords = RemoteObject.createImmutable(""); + BA.debugLineNum = 144;BA.debugLine="Sub dameUltimaUbicacionConocida"; +Debug.ShouldStop(32768); + BA.debugLineNum = 145;BA.debugLine="If FLP.GetLastKnownLocation.IsInitialized Then 'M"; +Debug.ShouldStop(65536); +if (tracker._flp.runMethod(false,"GetLastKnownLocation").runMethod(true,"IsInitialized").get().booleanValue()) { + BA.debugLineNum = 147;BA.debugLine="If B4XPages.MainPage.Logger Then LogColor($\"Mand"; +Debug.ShouldStop(262144); +if (tracker.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,tracker.processBA).getField(true,"_logger" /*RemoteObject*/ ).get().booleanValue()) { +tracker.mostCurrent.__c.runVoidMethod ("LogImpl","873728003",(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 = 148;BA.debugLine="Dim coords As String = FLP.GetLastKnownLocation."; +Debug.ShouldStop(524288); +_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 = 150;BA.debugLine="Subs.mandamosLoc(coords)"; +Debug.ShouldStop(2097152); +tracker.mostCurrent._subs.runVoidMethod ("_mandamosloc" /*RemoteObject*/ ,tracker.processBA,(Object)(_coords)); + }; + BA.debugLineNum = 152;BA.debugLine="End Sub"; +Debug.ShouldStop(8388608); +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",30,tracker.processBA,tracker.mostCurrent,59); +if (RapidSub.canDelegate("flp_connectionfailed")) { return reparto_izca.keymon.lat.tracker.remoteMe.runUserSub(false, "tracker","flp_connectionfailed", _connectionresult1);} +Debug.locals.put("ConnectionResult1", _connectionresult1); + BA.debugLineNum = 59;BA.debugLine="Sub flp_ConnectionFailed(ConnectionResult1 As Int)"; +Debug.ShouldStop(67108864); + BA.debugLineNum = 60;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"Failed to c"; +Debug.ShouldStop(134217728); +if (tracker.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,tracker.processBA).getField(true,"_logger" /*RemoteObject*/ ).get().booleanValue()) { +tracker.mostCurrent.__c.runVoidMethod ("LogImpl","873203713",RemoteObject.createImmutable("Failed to connect to location provider"),0);}; + 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 _flp_connectionsuccess() throws Exception{ +try { + Debug.PushSubsStack("flp_ConnectionSuccess (tracker) ","tracker",30,tracker.processBA,tracker.mostCurrent,54); +if (RapidSub.canDelegate("flp_connectionsuccess")) { return reparto_izca.keymon.lat.tracker.remoteMe.runUserSub(false, "tracker","flp_connectionsuccess");} + BA.debugLineNum = 54;BA.debugLine="Sub flp_ConnectionSuccess"; +Debug.ShouldStop(2097152); + BA.debugLineNum = 57;BA.debugLine="End Sub"; +Debug.ShouldStop(16777216); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _flp_connectionsuspended(RemoteObject _connectionresult1) throws Exception{ +try { + Debug.PushSubsStack("flp_ConnectionSuspended (tracker) ","tracker",30,tracker.processBA,tracker.mostCurrent,63); +if (RapidSub.canDelegate("flp_connectionsuspended")) { return reparto_izca.keymon.lat.tracker.remoteMe.runUserSub(false, "tracker","flp_connectionsuspended", _connectionresult1);} +Debug.locals.put("ConnectionResult1", _connectionresult1); + BA.debugLineNum = 63;BA.debugLine="Sub flp_ConnectionSuspended(ConnectionResult1 As I"; +Debug.ShouldStop(1073741824); + BA.debugLineNum = 64;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"FLP conecti"; +Debug.ShouldStop(-2147483648); +if (tracker.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,tracker.processBA).getField(true,"_logger" /*RemoteObject*/ ).get().booleanValue()) { +tracker.mostCurrent.__c.runVoidMethod ("LogImpl","873269249",RemoteObject.createImmutable("FLP conection suspended"),0);}; + BA.debugLineNum = 65;BA.debugLine="StartFLP"; +Debug.ShouldStop(1); +_startflp(); + 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 _flp_locationchanged(RemoteObject _location1) throws Exception{ +try { + Debug.PushSubsStack("flp_LocationChanged (tracker) ","tracker",30,tracker.processBA,tracker.mostCurrent,162); +if (RapidSub.canDelegate("flp_locationchanged")) { return reparto_izca.keymon.lat.tracker.remoteMe.runUserSub(false, "tracker","flp_locationchanged", _location1);} +RemoteObject _sdate = RemoteObject.createImmutable(""); +RemoteObject _stime = RemoteObject.createImmutable(""); +RemoteObject _coords = RemoteObject.createImmutable(""); +RemoteObject _origformat = RemoteObject.createImmutable(""); +RemoteObject _minsdif = RemoteObject.createImmutable(0); +Debug.locals.put("Location1", _location1); + BA.debugLineNum = 162;BA.debugLine="Sub flp_LocationChanged (Location1 As Location)"; +Debug.ShouldStop(2); + BA.debugLineNum = 163;BA.debugLine="Starter.trackerActividad = Subs.fechaKMT(DateTime"; +Debug.ShouldStop(4); +tracker.mostCurrent._starter._trackeractividad /*RemoteObject*/ = tracker.mostCurrent._subs.runMethod(true,"_fechakmt" /*RemoteObject*/ ,tracker.processBA,(Object)(BA.NumberToString(tracker.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 164;BA.debugLine="UUGCoords = Location1"; +Debug.ShouldStop(8); +tracker._uugcoords = _location1; + BA.debugLineNum = 166;BA.debugLine="CallSub2(Starter, \"GPS_LocationChanged\", Location"; +Debug.ShouldStop(32); +tracker.mostCurrent.__c.runMethodAndSync(false,"CallSubNew2",tracker.processBA,(Object)((tracker.mostCurrent._starter.getObject())),(Object)(BA.ObjectToString("GPS_LocationChanged")),(Object)((_location1))); + BA.debugLineNum = 169;BA.debugLine="B4XPages.MainPage.lat_gps = Location1.Latitude"; +Debug.ShouldStop(256); +tracker.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,tracker.processBA).setField ("_lat_gps" /*RemoteObject*/ ,BA.NumberToString(_location1.runMethod(true,"getLatitude"))); + BA.debugLineNum = 170;BA.debugLine="B4XPages.MainPage.lon_gps = Location1.Longitude"; +Debug.ShouldStop(512); +tracker.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,tracker.processBA).setField ("_lon_gps" /*RemoteObject*/ ,BA.NumberToString(_location1.runMethod(true,"getLongitude"))); + BA.debugLineNum = 172;BA.debugLine="Dim sDate,sTime As String"; +Debug.ShouldStop(2048); +_sdate = RemoteObject.createImmutable("");Debug.locals.put("sDate", _sdate); +_stime = RemoteObject.createImmutable("");Debug.locals.put("sTime", _stime); + BA.debugLineNum = 173;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(4096); +tracker.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 174;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(8192); +_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 = 175;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(16384); +_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 = 176;BA.debugLine="Try"; +Debug.ShouldStop(32768); +try { BA.debugLineNum = 177;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM HIST_GPS\""; +Debug.ShouldStop(65536); +tracker.mostCurrent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM HIST_GPS"))); + BA.debugLineNum = 178;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO HIST_GPS"; +Debug.ShouldStop(131072); +tracker.mostCurrent._starter._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*/ ))}))))); + Debug.CheckDeviceExceptions(); +} + catch (Exception e14) { + BA.rdebugUtils.runVoidMethod("setLastException",tracker.processBA, e14.toString()); BA.debugLineNum = 180;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"Error al b"; +Debug.ShouldStop(524288); +if (tracker.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,tracker.processBA).getField(true,"_logger" /*RemoteObject*/ ).get().booleanValue()) { +tracker.mostCurrent.__c.runVoidMethod ("LogImpl","873859090",RemoteObject.createImmutable("Error al borrar o insertar nuevas coordendas en HIST_GPS"),0);}; + }; + BA.debugLineNum = 183;BA.debugLine="Dim coords As String = Location1.Latitude&\",\"&Loc"; +Debug.ShouldStop(4194304); +_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 = 184;BA.debugLine="Log(\"Loc changed : \"&Location1.Latitude&\",\"&Locat"; +Debug.ShouldStop(8388608); +tracker.mostCurrent.__c.runVoidMethod ("LogImpl","873859094",RemoteObject.concat(RemoteObject.createImmutable("Loc changed : "),_location1.runMethod(true,"getLatitude"),RemoteObject.createImmutable(","),_location1.runMethod(true,"getLongitude")),0); + BA.debugLineNum = 185;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"Mandamos Ub"; +Debug.ShouldStop(16777216); +if (tracker.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,tracker.processBA).getField(true,"_logger" /*RemoteObject*/ ).get().booleanValue()) { +tracker.mostCurrent.__c.runVoidMethod ("LogImpl","873859095",RemoteObject.createImmutable("Mandamos Ubicacion"),0);}; + BA.debugLineNum = 186;BA.debugLine="If B4XPages.MainPage.logger Then Log(locRequest)"; +Debug.ShouldStop(33554432); +if (tracker.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,tracker.processBA).getField(true,"_logger" /*RemoteObject*/ ).get().booleanValue()) { +tracker.mostCurrent.__c.runVoidMethod ("LogImpl","873859096",tracker._locrequest,0);}; + BA.debugLineNum = 188;BA.debugLine="If Location1.Accuracy < 100 Then"; +Debug.ShouldStop(134217728); +if (RemoteObject.solveBoolean("<",_location1.runMethod(true,"getAccuracy"),BA.numberCast(double.class, 100))) { + BA.debugLineNum = 189;BA.debugLine="Subs.guardaInfoEnBD(coords)'Escribimos coordenad"; +Debug.ShouldStop(268435456); +tracker.mostCurrent._subs.runVoidMethod ("_guardainfoenbd" /*RemoteObject*/ ,tracker.processBA,(Object)(_coords)); + BA.debugLineNum = 191;BA.debugLine="Subs.mandamosLoc(coords)"; +Debug.ShouldStop(1073741824); +tracker.mostCurrent._subs.runVoidMethod ("_mandamosloc" /*RemoteObject*/ ,tracker.processBA,(Object)(_coords)); + }; + BA.debugLineNum = 193;BA.debugLine="Dim origFormat As String = DateTime.TimeFormat 'G"; +Debug.ShouldStop(1); +_origformat = tracker.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"getTimeFormat");Debug.locals.put("origFormat", _origformat);Debug.locals.put("origFormat", _origformat); + BA.debugLineNum = 194;BA.debugLine="DateTime.TimeFormat = \"HHmmss\" ' Modificamos form"; +Debug.ShouldStop(2); +tracker.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HHmmss")); + BA.debugLineNum = 195;BA.debugLine="Dim minsDif As Int = DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(4); +_minsdif = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, tracker.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(tracker.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"getNow")))),BA.numberCast(double.class, tracker.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,tracker.processBA).getField(true,"_ultimaactualizaciongps" /*RemoteObject*/ ))}, "-",1, 0));Debug.locals.put("minsDif", _minsdif);Debug.locals.put("minsDif", _minsdif); + BA.debugLineNum = 197;BA.debugLine="If Location1.Accuracy < 100 And minsDif > 240 The"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean("<",_location1.runMethod(true,"getAccuracy"),BA.numberCast(double.class, 100)) && RemoteObject.solveBoolean(">",_minsdif,BA.numberCast(double.class, 240))) { + BA.debugLineNum = 198;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"actualizam"; +Debug.ShouldStop(32); +if (tracker.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,tracker.processBA).getField(true,"_logger" /*RemoteObject*/ ).get().booleanValue()) { +tracker.mostCurrent.__c.runVoidMethod ("LogImpl","873859108",RemoteObject.createImmutable("actualizamos Ubicacion Web"),0);}; + BA.debugLineNum = 199;BA.debugLine="CallSubDelayed(Starter, \"ENVIA_ULTIMA_GPS\")"; +Debug.ShouldStop(64); +tracker.mostCurrent.__c.runVoidMethod ("CallSubDelayed",tracker.processBA,(Object)((tracker.mostCurrent._starter.getObject())),(Object)(RemoteObject.createImmutable("ENVIA_ULTIMA_GPS"))); + }; + BA.debugLineNum = 201;BA.debugLine="DateTime.TimeFormat = origFormat 'Regresamos form"; +Debug.ShouldStop(256); +tracker.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",_origformat); + BA.debugLineNum = 203;BA.debugLine="Subs.monitor"; +Debug.ShouldStop(1024); +tracker.mostCurrent._subs.runVoidMethod ("_monitor" /*RemoteObject*/ ,tracker.processBA); + BA.debugLineNum = 204;BA.debugLine="End Sub"; +Debug.ShouldStop(2048); +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",30,tracker.processBA,tracker.mostCurrent,222); +if (RapidSub.canDelegate("formatofecha")) { return reparto_izca.keymon.lat.tracker.remoteMe.runUserSub(false, "tracker","formatofecha", _fecha);} +RemoteObject _origformat = RemoteObject.createImmutable(""); +RemoteObject _lastupdate = RemoteObject.createImmutable(""); +Debug.locals.put("fecha", _fecha); + BA.debugLineNum = 222;BA.debugLine="Sub formatoFecha(fecha As String) As String 'Convi"; +Debug.ShouldStop(536870912); + BA.debugLineNum = 224;BA.debugLine="Dim OrigFormat As String = DateTime.DateFormat '"; +Debug.ShouldStop(-2147483648); +_origformat = tracker.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"getDateFormat");Debug.locals.put("OrigFormat", _origformat);Debug.locals.put("OrigFormat", _origformat); + BA.debugLineNum = 225;BA.debugLine="DateTime.DateFormat=\"yyMMddHHmmss\""; +Debug.ShouldStop(1); +tracker.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("yyMMddHHmmss")); + BA.debugLineNum = 226;BA.debugLine="Dim lastUpdate As String=DateTime.Date(fecha)"; +Debug.ShouldStop(2); +_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 = 227;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig d"; +Debug.ShouldStop(4); +tracker.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",_origformat); + BA.debugLineNum = 229;BA.debugLine="Return lastUpdate"; +Debug.ShouldStop(16); +if (true) return _lastupdate; + 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 _process_globals() throws Exception{ + //BA.debugLineNum = 29;BA.debugLine="Sub Process_Globals"; + //BA.debugLineNum = 30;BA.debugLine="Private nid As Int = 1"; +tracker._nid = BA.numberCast(int.class, 1); + //BA.debugLineNum = 31;BA.debugLine="dim Tracking As Boolean"; +tracker._tracking = RemoteObject.createImmutable(false); + //BA.debugLineNum = 32;BA.debugLine="Private lock As PhoneWakeState"; +tracker._lock = RemoteObject.createNew ("anywheresoftware.b4a.phone.Phone.PhoneWakeState"); + //BA.debugLineNum = 34;BA.debugLine="Public FLP As FusedLocationProvider"; +tracker._flp = RemoteObject.createNew ("uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper"); + //BA.debugLineNum = 35;BA.debugLine="Dim actualLR As LocationRequest"; +tracker._actuallr = RemoteObject.createNew ("uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest"); + //BA.debugLineNum = 36;BA.debugLine="Private flpStarted As Boolean"; +tracker._flpstarted = RemoteObject.createImmutable(false); + //BA.debugLineNum = 37;BA.debugLine="Dim locRequest As String"; +tracker._locrequest = RemoteObject.createImmutable(""); + //BA.debugLineNum = 38;BA.debugLine="Dim UUGCoords As Location 'Ultima Ubicacion Guard"; +tracker._uugcoords = RemoteObject.createNew ("anywheresoftware.b4a.gps.LocationWrapper"); + //BA.debugLineNum = 39;BA.debugLine="Dim trackerActividad, pushServiceActividad As Str"; +tracker._trackeractividad = RemoteObject.createImmutable(""); +tracker._pushserviceactividad = RemoteObject.createImmutable(""); + //BA.debugLineNum = 40;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _service_create() throws Exception{ +try { + Debug.PushSubsStack("Service_Create (tracker) ","tracker",30,tracker.processBA,tracker.mostCurrent,42); +if (RapidSub.canDelegate("service_create")) { return reparto_izca.keymon.lat.tracker.remoteMe.runUserSub(false, "tracker","service_create");} + BA.debugLineNum = 42;BA.debugLine="Sub Service_Create"; +Debug.ShouldStop(512); + BA.debugLineNum = 43;BA.debugLine="Service.AutomaticForegroundMode = Service.AUTOMAT"; +Debug.ShouldStop(1024); +tracker.mostCurrent._service.setField ("AutomaticForegroundMode",tracker.mostCurrent._service.getField(true,"AUTOMATIC_FOREGROUND_NEVER")); + BA.debugLineNum = 44;BA.debugLine="UUGCoords.Initialize"; +Debug.ShouldStop(2048); +tracker._uugcoords.runVoidMethod ("Initialize"); + BA.debugLineNum = 45;BA.debugLine="UUGCoords.Latitude = 0"; +Debug.ShouldStop(4096); +tracker._uugcoords.runMethod(true,"setLatitude",BA.numberCast(double.class, 0)); + BA.debugLineNum = 46;BA.debugLine="UUGCoords.Longitude = 0"; +Debug.ShouldStop(8192); +tracker._uugcoords.runMethod(true,"setLongitude",BA.numberCast(double.class, 0)); + BA.debugLineNum = 48;BA.debugLine="FLP.Initialize(\"flp\")"; +Debug.ShouldStop(32768); +tracker._flp.runVoidMethod ("Initialize",tracker.processBA,(Object)(RemoteObject.createImmutable("flp"))); + BA.debugLineNum = 49;BA.debugLine="FLP.Connect"; +Debug.ShouldStop(65536); +tracker._flp.runVoidMethod ("Connect"); + BA.debugLineNum = 50;BA.debugLine="lock.PartialLock"; +Debug.ShouldStop(131072); +tracker._lock.runVoidMethod ("PartialLock",tracker.processBA); + BA.debugLineNum = 51;BA.debugLine="StartFLP"; +Debug.ShouldStop(262144); +_startflp(); + BA.debugLineNum = 52;BA.debugLine="End Sub"; +Debug.ShouldStop(524288); +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",30,tracker.processBA,tracker.mostCurrent,214); +if (RapidSub.canDelegate("service_destroy")) { return reparto_izca.keymon.lat.tracker.remoteMe.runUserSub(false, "tracker","service_destroy");} + BA.debugLineNum = 214;BA.debugLine="Sub Service_Destroy"; +Debug.ShouldStop(2097152); + BA.debugLineNum = 215;BA.debugLine="If Tracking Then"; +Debug.ShouldStop(4194304); +if (tracker._tracking.get().booleanValue()) { + BA.debugLineNum = 216;BA.debugLine="StopFLP"; +Debug.ShouldStop(8388608); +_stopflp(); + }; + BA.debugLineNum = 218;BA.debugLine="Tracking = False"; +Debug.ShouldStop(33554432); +tracker._tracking = tracker.mostCurrent.__c.getField(true,"False"); + BA.debugLineNum = 219;BA.debugLine="lock.ReleasePartialLock"; +Debug.ShouldStop(67108864); +tracker._lock.runVoidMethod ("ReleasePartialLock"); + 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 _service_start(RemoteObject _startingintent) throws Exception{ +try { + Debug.PushSubsStack("Service_Start (tracker) ","tracker",30,tracker.processBA,tracker.mostCurrent,68); +if (RapidSub.canDelegate("service_start")) { return reparto_izca.keymon.lat.tracker.remoteMe.runUserSub(false, "tracker","service_start", _startingintent);} +Debug.locals.put("StartingIntent", _startingintent); + BA.debugLineNum = 68;BA.debugLine="Sub Service_Start (StartingIntent As Intent)"; +Debug.ShouldStop(8); + BA.debugLineNum = 69;BA.debugLine="LogColor(\"Iniciando Tracker ...\", Colors.Green)"; +Debug.ShouldStop(16); +tracker.mostCurrent.__c.runVoidMethod ("LogImpl","873334785",BA.ObjectToString("Iniciando Tracker ..."),tracker.mostCurrent.__c.getField(false,"Colors").getField(true,"Green")); + BA.debugLineNum = 70;BA.debugLine="Service.StopAutomaticForeground"; +Debug.ShouldStop(32); +tracker.mostCurrent._service.runVoidMethod ("StopAutomaticForeground"); + BA.debugLineNum = 72;BA.debugLine="StartServiceAt(Me, DateTime.Now + 10 * DateTime.T"; +Debug.ShouldStop(128); +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(10),tracker.mostCurrent.__c.getField(false,"DateTime").getField(true,"TicksPerMinute")}, "+*",1, 2)),(Object)(tracker.mostCurrent.__c.getField(true,"True"))); + BA.debugLineNum = 73;BA.debugLine="Track"; +Debug.ShouldStop(256); +_track(); + BA.debugLineNum = 74;BA.debugLine="Starter.trackerActividad = Subs.fechaKMT(DateTime"; +Debug.ShouldStop(512); +tracker.mostCurrent._starter._trackeractividad /*RemoteObject*/ = tracker.mostCurrent._subs.runMethod(true,"_fechakmt" /*RemoteObject*/ ,tracker.processBA,(Object)(BA.NumberToString(tracker.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + 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 void _startflp() throws Exception{ +try { + Debug.PushSubsStack("StartFLP (tracker) ","tracker",30,tracker.processBA,tracker.mostCurrent,92); +if (RapidSub.canDelegate("startflp")) { reparto_izca.keymon.lat.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(reparto_izca.keymon.lat.tracker parent) { +this.parent = parent; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +reparto_izca.keymon.lat.tracker parent; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("StartFLP (tracker) ","tracker",30,tracker.processBA,tracker.mostCurrent,92); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; + BA.debugLineNum = 94;BA.debugLine="Do While FLP.IsConnected = False"; +Debug.ShouldStop(536870912); +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 = 95;BA.debugLine="Sleep(500)"; +Debug.ShouldStop(1073741824); +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 = 100;BA.debugLine="FLP.RequestLocationUpdates(CreateLocationRequest"; +Debug.ShouldStop(8); +parent._flp.runVoidMethod ("RequestLocationUpdates",(Object)((_createlocationrequest().getObject()))); + BA.debugLineNum = 103;BA.debugLine="flpStarted = True"; +Debug.ShouldStop(64); +parent._flpstarted = parent.mostCurrent.__c.getField(true,"True"); + BA.debugLineNum = 105;BA.debugLine="End Sub"; +Debug.ShouldStop(256); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static void _startflp2reqs() throws Exception{ +try { + Debug.PushSubsStack("StartFLP2Reqs (tracker) ","tracker",30,tracker.processBA,tracker.mostCurrent,107); +if (RapidSub.canDelegate("startflp2reqs")) { reparto_izca.keymon.lat.tracker.remoteMe.runUserSub(false, "tracker","startflp2reqs"); return;} +ResumableSub_StartFLP2Reqs rsub = new ResumableSub_StartFLP2Reqs(null); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_StartFLP2Reqs extends BA.ResumableSub { +public ResumableSub_StartFLP2Reqs(reparto_izca.keymon.lat.tracker parent) { +this.parent = parent; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +reparto_izca.keymon.lat.tracker parent; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("StartFLP2Reqs (tracker) ","tracker",30,tracker.processBA,tracker.mostCurrent,107); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; + BA.debugLineNum = 108;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"StartFLP -"; +Debug.ShouldStop(2048); +if (true) break; + +case 1: +//if +this.state = 6; +if (parent.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,tracker.processBA).getField(true,"_logger" /*RemoteObject*/ ).get().booleanValue()) { +this.state = 3; +;}if (true) break; + +case 3: +//C +this.state = 6; +parent.mostCurrent.__c.runVoidMethod ("LogImpl","873531393",RemoteObject.concat(RemoteObject.createImmutable("StartFLP - flpStarted="),parent._flpstarted),0); +if (true) break; + +case 6: +//C +this.state = 7; +; + BA.debugLineNum = 109;BA.debugLine="Do While FLP.IsConnected = False"; +Debug.ShouldStop(4096); +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 = 110;BA.debugLine="Sleep(500)"; +Debug.ShouldStop(8192); +parent.mostCurrent.__c.runVoidMethod ("Sleep",tracker.processBA,anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "tracker", "startflp2reqs"),BA.numberCast(int.class, 500)); +this.state = 29; +return; +case 29: +//C +this.state = 10; +; + BA.debugLineNum = 111;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"sleeping G"; +Debug.ShouldStop(16384); +if (true) break; + +case 10: +//if +this.state = 15; +if (parent.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,tracker.processBA).getField(true,"_logger" /*RemoteObject*/ ).get().booleanValue()) { +this.state = 12; +;}if (true) break; + +case 12: +//C +this.state = 15; +parent.mostCurrent.__c.runVoidMethod ("LogImpl","873531396",RemoteObject.createImmutable("sleeping GR"),0); +if (true) break; + +case 15: +//C +this.state = 7; +; + if (true) break; + +case 16: +//C +this.state = 17; +; + BA.debugLineNum = 113;BA.debugLine="dameUltimaUbicacionConocida 'Regresamos ultima ub"; +Debug.ShouldStop(65536); +_dameultimaubicacionconocida(); + BA.debugLineNum = 114;BA.debugLine="FLP.RequestLocationUpdates(CreateLocationRequest2"; +Debug.ShouldStop(131072); +parent._flp.runVoidMethod ("RequestLocationUpdates",(Object)((_createlocationrequest2times().getObject()))); + BA.debugLineNum = 115;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"Buscamos ub"; +Debug.ShouldStop(262144); +if (true) break; + +case 17: +//if +this.state = 22; +if (parent.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,tracker.processBA).getField(true,"_logger" /*RemoteObject*/ ).get().booleanValue()) { +this.state = 19; +;}if (true) break; + +case 19: +//C +this.state = 22; +parent.mostCurrent.__c.runVoidMethod ("LogImpl","873531400",RemoteObject.createImmutable("Buscamos ubicacion 2 peticiones"),0); +if (true) break; + +case 22: +//C +this.state = 23; +; + BA.debugLineNum = 116;BA.debugLine="If B4XPages.MainPage.logger Then Log(actualLR.Get"; +Debug.ShouldStop(524288); +if (true) break; + +case 23: +//if +this.state = 28; +if (parent.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,tracker.processBA).getField(true,"_logger" /*RemoteObject*/ ).get().booleanValue()) { +this.state = 25; +;}if (true) break; + +case 25: +//C +this.state = 28; +parent.mostCurrent.__c.runVoidMethod ("LogImpl","873531401",BA.NumberToString(parent._actuallr.runMethod(true,"GetSmallestDisplacement")),0); +if (true) break; + +case 28: +//C +this.state = -1; +; + BA.debugLineNum = 117;BA.debugLine="End Sub"; +Debug.ShouldStop(1048576); +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",30,tracker.processBA,tracker.mostCurrent,154); +if (RapidSub.canDelegate("stopflp")) { return reparto_izca.keymon.lat.tracker.remoteMe.runUserSub(false, "tracker","stopflp");} + BA.debugLineNum = 154;BA.debugLine="Public Sub StopFLP"; +Debug.ShouldStop(33554432); + BA.debugLineNum = 156;BA.debugLine="If flpStarted Then"; +Debug.ShouldStop(134217728); +if (tracker._flpstarted.get().booleanValue()) { + BA.debugLineNum = 157;BA.debugLine="FLP.RemoveLocationUpdates 'Eliminamos todas las"; +Debug.ShouldStop(268435456); +tracker._flp.runVoidMethod ("RemoveLocationUpdates"); + BA.debugLineNum = 158;BA.debugLine="flpStarted = False"; +Debug.ShouldStop(536870912); +tracker._flpstarted = tracker.mostCurrent.__c.getField(true,"False"); + }; + 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 _track() throws Exception{ +try { + Debug.PushSubsStack("Track (tracker) ","tracker",30,tracker.processBA,tracker.mostCurrent,78); +if (RapidSub.canDelegate("track")) { return reparto_izca.keymon.lat.tracker.remoteMe.runUserSub(false, "tracker","track");} + BA.debugLineNum = 78;BA.debugLine="Public Sub Track"; +Debug.ShouldStop(8192); + BA.debugLineNum = 79;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"Inicia Trac"; +Debug.ShouldStop(16384); +if (tracker.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,tracker.processBA).getField(true,"_logger" /*RemoteObject*/ ).get().booleanValue()) { +tracker.mostCurrent.__c.runVoidMethod ("LogImpl","873400321",RemoteObject.concat(RemoteObject.createImmutable("Inicia Track - Tracking : "),tracker._tracking),0);}; + BA.debugLineNum = 80;BA.debugLine="If Tracking Then"; +Debug.ShouldStop(32768); +if (tracker._tracking.get().booleanValue()) { + BA.debugLineNum = 82;BA.debugLine="Return 'Si ya estamos \"rastreando\" no hacemos na"; +Debug.ShouldStop(131072); +if (true) return RemoteObject.createImmutable(""); + }; + BA.debugLineNum = 84;BA.debugLine="If Starter.rp.Check(Starter.rp.PERMISSION_ACCESS_"; +Debug.ShouldStop(524288); +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 = 85;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"No permiss"; +Debug.ShouldStop(1048576); +if (tracker.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,tracker.processBA).getField(true,"_logger" /*RemoteObject*/ ).get().booleanValue()) { +tracker.mostCurrent.__c.runVoidMethod ("LogImpl","873400327",RemoteObject.createImmutable("No permission"),0);}; + BA.debugLineNum = 86;BA.debugLine="Return"; +Debug.ShouldStop(2097152); +if (true) return RemoteObject.createImmutable(""); + }; + BA.debugLineNum = 88;BA.debugLine="StartFLP 'Iniciamos FusedLocationProvider"; +Debug.ShouldStop(8388608); +_startflp(); + BA.debugLineNum = 89;BA.debugLine="Tracking = True"; +Debug.ShouldStop(16777216); +tracker._tracking = tracker.mostCurrent.__c.getField(true,"True"); + BA.debugLineNum = 90;BA.debugLine="End Sub"; +Debug.ShouldStop(33554432); +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/reparto_izca/keymon/lat/xuiviewsutils.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/xuiviewsutils.java new file mode 100644 index 0000000..7256022 --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/xuiviewsutils.java @@ -0,0 +1,66 @@ + +package reparto_izca.keymon.lat; + +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("reparto_izca.keymon.lat.xuiviewsutils"); + anywheresoftware.b4a.pc.RapidSub.moduleToObject.put(new B4XClass("xuiviewsutils"), "reparto_izca.keymon.lat.xuiviewsutils"); + RDebug.INSTANCE.eventTargets.put(new DeviceClass("reparto_izca.keymon.lat.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 reparto_izca.keymon.lat.main _main = null; +public static reparto_izca.keymon.lat.appupdater _appupdater = null; +public static reparto_izca.keymon.lat.subs _subs = null; +public static reparto_izca.keymon.lat.foto _foto = null; +public static reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public static reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public static reparto_izca.keymon.lat.starter _starter = null; +public static reparto_izca.keymon.lat.tracker _tracker = null; +public static reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public static reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public static reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public static reparto_izca.keymon.lat.httputils2service _httputils2service = null; + public Object[] GetGlobals() { + return new Object[] {"appUpdater",Debug.moduleToString(reparto_izca.keymon.lat.appupdater.class),"B4XCollections",Debug.moduleToString(reparto_izca.keymon.lat.b4xcollections.class),"B4XPages",Debug.moduleToString(reparto_izca.keymon.lat.b4xpages.class),"DateUtils",xuiviewsutils.mostCurrent._dateutils,"foto",Debug.moduleToString(reparto_izca.keymon.lat.foto.class),"HttpUtils2Service",Debug.moduleToString(reparto_izca.keymon.lat.httputils2service.class),"Main",Debug.moduleToString(reparto_izca.keymon.lat.main.class),"MAPA_CLIENTE",Debug.moduleToString(reparto_izca.keymon.lat.mapa_cliente.class),"MAPA_RUTAS",Debug.moduleToString(reparto_izca.keymon.lat.mapa_rutas.class),"newinst2",Debug.moduleToString(reparto_izca.keymon.lat.newinst2.class),"Starter",Debug.moduleToString(reparto_izca.keymon.lat.starter.class),"Subs",Debug.moduleToString(reparto_izca.keymon.lat.subs.class),"Tracker",Debug.moduleToString(reparto_izca.keymon.lat.tracker.class),"UtilsInitialized",xuiviewsutils._utilsinitialized,"xui",xuiviewsutils._xui}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/reparto_izca/keymon/lat/xuiviewsutils_subs_0.java b/B4A/Objects/shell/src/reparto_izca/keymon/lat/xuiviewsutils_subs_0.java new file mode 100644 index 0000000..135ec4c --- /dev/null +++ b/B4A/Objects/shell/src/reparto_izca/keymon/lat/xuiviewsutils_subs_0.java @@ -0,0 +1,275 @@ +package reparto_izca.keymon.lat; + +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",71,_ba,xuiviewsutils.mostCurrent,34); +if (RapidSub.canDelegate("addstubtoclvifneeded")) { return reparto_izca.keymon.lat.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",71,_ba,xuiviewsutils.mostCurrent,85); +if (RapidSub.canDelegate("createb4ximageview")) { return reparto_izca.keymon.lat.xuiviewsutils.remoteMe.runUserSub(false, "xuiviewsutils","createb4ximageview", _ba);} +RemoteObject _iv = RemoteObject.declareNull("reparto_izca.keymon.lat.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 ("reparto_izca.keymon.lat.b4ximageview");Debug.locals.put("iv", _iv); + BA.debugLineNum = 87;BA.debugLine="iv.Initialize(Null, \"\")"; +Debug.JustUpdateDeviceLine(); +_iv.runClassMethod (reparto_izca.keymon.lat.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 (reparto_izca.keymon.lat.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",71,_ba,xuiviewsutils.mostCurrent,78); +if (RapidSub.canDelegate("createlabel")) { return reparto_izca.keymon.lat.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",71,_ba,xuiviewsutils.mostCurrent,10); +if (RapidSub.canDelegate("initialize")) { return reparto_izca.keymon.lat.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",71,_ba,xuiviewsutils.mostCurrent,21); +if (RapidSub.canDelegate("performhapticfeedback")) { return reparto_izca.keymon.lat.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",71,_ba,xuiviewsutils.mostCurrent,95); +if (RapidSub.canDelegate("setalpha")) { return reparto_izca.keymon.lat.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",71,_ba,xuiviewsutils.mostCurrent,65); +if (RapidSub.canDelegate("setbitmapandfill")) { return reparto_izca.keymon.lat.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",71,_ba,xuiviewsutils.mostCurrent,50); +if (RapidSub.canDelegate("settextorcsbuildertolabel")) { return reparto_izca.keymon.lat.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/reparto_izca/keymon/lat/animatedcounter.java b/B4A/Objects/src/reparto_izca/keymon/lat/animatedcounter.java new file mode 100644 index 0000000..398f226 --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/animatedcounter.java @@ -0,0 +1,479 @@ +package reparto_izca.keymon.lat; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.B4AClass; +import anywheresoftware.b4a.BALayout; +import anywheresoftware.b4a.debug.*; + +public class animatedcounter 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, "reparto_izca.keymon.lat.animatedcounter"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", reparto_izca.keymon.lat.animatedcounter.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 String _meventname = ""; +public Object _mcallback = null; +public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; +public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; +public anywheresoftware.b4a.objects.collections.List _imageviews = null; +public int _mdigits = 0; +public anywheresoftware.b4a.objects.B4XViewWrapper _lbltemplate = null; +public anywheresoftware.b4a.objects.collections.List _mvalue = null; +public int _digitheight = 0; +public int _digitwidth = 0; +public int _mduration = 0; +public anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _fade = null; +public anywheresoftware.b4a.objects.B4XViewWrapper _xfadeiv = null; +public Object _tag = null; +public b4a.example.dateutils _dateutils = null; +public reparto_izca.keymon.lat.main _main = null; +public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; +public reparto_izca.keymon.lat.foto _foto = null; +public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_izca.keymon.lat.starter _starter = null; +public reparto_izca.keymon.lat.tracker _tracker = null; +public reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public String _base_resize(reparto_izca.keymon.lat.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; +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="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=40960003; + //BA.debugLineNum = 40960003;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=40960004; + //BA.debugLineNum = 40960004;BA.debugLine="DigitHeight = Height"; +__ref._digitheight /*int*/ = (int) (_height); +RDebugUtils.currentLine=40960005; + //BA.debugLineNum = 40960005;BA.debugLine="Dim Columns As Int = mdigits"; +_columns = __ref._mdigits /*int*/ ; +RDebugUtils.currentLine=40960006; + //BA.debugLineNum = 40960006;BA.debugLine="DigitWidth = Width / Columns"; +__ref._digitwidth /*int*/ = (int) (_width/(double)_columns); +RDebugUtils.currentLine=40960007; + //BA.debugLineNum = 40960007;BA.debugLine="Dim bmp As B4XBitmap = CreateBitmap(lblTemplate)"; +_bmp = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(); +_bmp = __ref._createbitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ (null,__ref._lbltemplate /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ); +RDebugUtils.currentLine=40960008; + //BA.debugLineNum = 40960008;BA.debugLine="Dim left As Int = Width"; +_left = (int) (_width); +RDebugUtils.currentLine=40960009; + //BA.debugLineNum = 40960009;BA.debugLine="For i = 0 To ImageViews.Size - 1"; +{ +final int step9 = 1; +final int limit9 = (int) (__ref._imageviews /*anywheresoftware.b4a.objects.collections.List*/ .getSize()-1); +_i = (int) (0) ; +for (;_i <= limit9 ;_i = _i + step9 ) { +RDebugUtils.currentLine=40960010; + //BA.debugLineNum = 40960010;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)(__ref._imageviews /*anywheresoftware.b4a.objects.collections.List*/ .Get(_i))); +RDebugUtils.currentLine=40960012; + //BA.debugLineNum = 40960012;BA.debugLine="left = left - DigitWidth"; +_left = (int) (_left-__ref._digitwidth /*int*/ ); +RDebugUtils.currentLine=40960013; + //BA.debugLineNum = 40960013;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=40960014; + //BA.debugLineNum = 40960014;BA.debugLine="iv.SetBitmap(bmp)"; +_iv.SetBitmap((android.graphics.Bitmap)(_bmp.getObject())); + } +}; +RDebugUtils.currentLine=40960016; + //BA.debugLineNum = 40960016;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _createbitmap(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=41091072; + //BA.debugLineNum = 41091072;BA.debugLine="Private Sub CreateBitmap (lbl As B4XView) As B4XBi"; +RDebugUtils.currentLine=41091073; + //BA.debugLineNum = 41091073;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=41091074; + //BA.debugLineNum = 41091074;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=41091075; + //BA.debugLineNum = 41091075;BA.debugLine="Dim cvs As B4XCanvas"; +_cvs = new anywheresoftware.b4a.objects.B4XCanvas(); +RDebugUtils.currentLine=41091076; + //BA.debugLineNum = 41091076;BA.debugLine="cvs.Initialize(p)"; +_cvs.Initialize(_p); +RDebugUtils.currentLine=41091077; + //BA.debugLineNum = 41091077;BA.debugLine="Dim r As B4XRect = cvs.MeasureText(\"5\", lbl.Font)"; +_r = _cvs.MeasureText("5",_lbl.getFont()); +RDebugUtils.currentLine=41091078; + //BA.debugLineNum = 41091078;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=41091079; + //BA.debugLineNum = 41091079;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 ) { +RDebugUtils.currentLine=41091080; + //BA.debugLineNum = 41091080;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")); + } +}; +RDebugUtils.currentLine=41091082; + //BA.debugLineNum = 41091082;BA.debugLine="cvs.Invalidate"; +_cvs.Invalidate(); +RDebugUtils.currentLine=41091083; + //BA.debugLineNum = 41091083;BA.debugLine="Dim res As B4XBitmap = cvs.CreateBitmap"; +_res = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(); +_res = _cvs.CreateBitmap(); +RDebugUtils.currentLine=41091084; + //BA.debugLineNum = 41091084;BA.debugLine="cvs.Release"; +_cvs.Release(); +RDebugUtils.currentLine=41091085; + //BA.debugLineNum = 41091085;BA.debugLine="Return res"; +if (true) return _res; +RDebugUtils.currentLine=41091086; + //BA.debugLineNum = 41091086;BA.debugLine="End Sub"; +return null; +} +public int _topfromvalue(reparto_izca.keymon.lat.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=41025536; + //BA.debugLineNum = 41025536;BA.debugLine="Private Sub TopFromValue (Digit As Int) As Int"; +RDebugUtils.currentLine=41025537; + //BA.debugLineNum = 41025537;BA.debugLine="Dim d As Int = mValue.Get(Digit)"; +_d = (int)(BA.ObjectToNumber(__ref._mvalue /*anywheresoftware.b4a.objects.collections.List*/ .Get(_digit))); +RDebugUtils.currentLine=41025538; + //BA.debugLineNum = 41025538;BA.debugLine="Return -d * DigitHeight"; +if (true) return (int) (-_d*__ref._digitheight /*int*/ ); +RDebugUtils.currentLine=41025539; + //BA.debugLineNum = 41025539;BA.debugLine="End Sub"; +return 0; +} +public String _class_globals(reparto_izca.keymon.lat.animatedcounter __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="animatedcounter"; +RDebugUtils.currentLine=40697856; + //BA.debugLineNum = 40697856;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=40697857; + //BA.debugLineNum = 40697857;BA.debugLine="Private mEventName As String 'ignore"; +_meventname = ""; +RDebugUtils.currentLine=40697858; + //BA.debugLineNum = 40697858;BA.debugLine="Private mCallBack As Object 'ignore"; +_mcallback = new Object(); +RDebugUtils.currentLine=40697859; + //BA.debugLineNum = 40697859;BA.debugLine="Public mBase As B4XView 'ignore"; +_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=40697860; + //BA.debugLineNum = 40697860;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=40697861; + //BA.debugLineNum = 40697861;BA.debugLine="Private ImageViews As List"; +_imageviews = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=40697862; + //BA.debugLineNum = 40697862;BA.debugLine="Private mdigits As Int"; +_mdigits = 0; +RDebugUtils.currentLine=40697863; + //BA.debugLineNum = 40697863;BA.debugLine="Private lblTemplate As B4XView"; +_lbltemplate = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=40697864; + //BA.debugLineNum = 40697864;BA.debugLine="Private mValue As List"; +_mvalue = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=40697865; + //BA.debugLineNum = 40697865;BA.debugLine="Private DigitHeight, DigitWidth As Int"; +_digitheight = 0; +_digitwidth = 0; +RDebugUtils.currentLine=40697866; + //BA.debugLineNum = 40697866;BA.debugLine="Private mDuration As Int"; +_mduration = 0; +RDebugUtils.currentLine=40697867; + //BA.debugLineNum = 40697867;BA.debugLine="Private fade As B4XBitmap"; +_fade = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(); +RDebugUtils.currentLine=40697868; + //BA.debugLineNum = 40697868;BA.debugLine="Private xfadeIv As B4XView"; +_xfadeiv = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=40697869; + //BA.debugLineNum = 40697869;BA.debugLine="Public Tag As Object"; +_tag = new Object(); +RDebugUtils.currentLine=40697871; + //BA.debugLineNum = 40697871;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _createfadebitmap(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=40894464; + //BA.debugLineNum = 40894464;BA.debugLine="Private Sub CreateFadeBitmap (clr As Int) As B4XBi"; +RDebugUtils.currentLine=40894465; + //BA.debugLineNum = 40894465;BA.debugLine="Dim bc As BitmapCreator"; +_bc = new b4a.example.bitmapcreator(); +RDebugUtils.currentLine=40894466; + //BA.debugLineNum = 40894466;BA.debugLine="bc.Initialize(200, 50)"; +_bc._initialize(ba,(int) (200),(int) (50)); +RDebugUtils.currentLine=40894467; + //BA.debugLineNum = 40894467;BA.debugLine="Dim r As B4XRect"; +_r = new anywheresoftware.b4a.objects.B4XCanvas.B4XRect(); +RDebugUtils.currentLine=40894468; + //BA.debugLineNum = 40894468;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)); +RDebugUtils.currentLine=40894469; + //BA.debugLineNum = 40894469;BA.debugLine="Dim tclr As Int = Bit.And(0x00ffffff, clr)"; +_tclr = __c.Bit.And(((int)0x00ffffff),_clr); +RDebugUtils.currentLine=40894470; + //BA.debugLineNum = 40894470;BA.debugLine="bc.FillGradient(Array As Int(clr, tclr), r, \"TOP_"; +_bc._fillgradient(new int[]{_clr,_tclr},_r,"TOP_BOTTOM"); +RDebugUtils.currentLine=40894471; + //BA.debugLineNum = 40894471;BA.debugLine="r.Top = bc.mHeight * 2 / 3"; +_r.setTop((float) (_bc._mheight*2/(double)3)); +RDebugUtils.currentLine=40894472; + //BA.debugLineNum = 40894472;BA.debugLine="r.Bottom = bc.mHeight"; +_r.setBottom((float) (_bc._mheight)); +RDebugUtils.currentLine=40894473; + //BA.debugLineNum = 40894473;BA.debugLine="bc.FillGradient(Array As Int(clr, tclr), r, \"BOTT"; +_bc._fillgradient(new int[]{_clr,_tclr},_r,"BOTTOM_TOP"); +RDebugUtils.currentLine=40894474; + //BA.debugLineNum = 40894474;BA.debugLine="Return bc.Bitmap"; +if (true) return _bc._getbitmap(); +RDebugUtils.currentLine=40894475; + //BA.debugLineNum = 40894475;BA.debugLine="End Sub"; +return null; +} +public String _designercreateview(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=40828928; + //BA.debugLineNum = 40828928;BA.debugLine="Public Sub DesignerCreateView (Base As Object, lbl"; +RDebugUtils.currentLine=40828929; + //BA.debugLineNum = 40828929;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=40828930; + //BA.debugLineNum = 40828930;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._tag /*Object*/ = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTag(); +RDebugUtils.currentLine=40828930; + //BA.debugLineNum = 40828930;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag(this); +RDebugUtils.currentLine=40828931; + //BA.debugLineNum = 40828931;BA.debugLine="Dim pnl As B4XView = xui.CreatePanel(\"\") 'needed"; +_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_pnl = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,""); +RDebugUtils.currentLine=40828932; + //BA.debugLineNum = 40828932;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=40828933; + //BA.debugLineNum = 40828933;BA.debugLine="mdigits = Props.Get(\"Digits\")"; +__ref._mdigits /*int*/ = (int)(BA.ObjectToNumber(_props.Get((Object)("Digits")))); +RDebugUtils.currentLine=40828934; + //BA.debugLineNum = 40828934;BA.debugLine="mDuration = Props.Get(\"Duration\")"; +__ref._mduration /*int*/ = (int)(BA.ObjectToNumber(_props.Get((Object)("Duration")))); +RDebugUtils.currentLine=40828935; + //BA.debugLineNum = 40828935;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=40828936; + //BA.debugLineNum = 40828936;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=40828937; + //BA.debugLineNum = 40828937;BA.debugLine="For i = 0 To mdigits - 1"; +{ +final int step10 = 1; +final int limit10 = (int) (__ref._mdigits /*int*/ -1); +_i = (int) (0) ; +for (;_i <= limit10 ;_i = _i + step10 ) { +RDebugUtils.currentLine=40828938; + //BA.debugLineNum = 40828938;BA.debugLine="Dim iv As ImageView"; +_iv = new anywheresoftware.b4a.objects.ImageViewWrapper(); +RDebugUtils.currentLine=40828939; + //BA.debugLineNum = 40828939;BA.debugLine="iv.Initialize(\"\")"; +_iv.Initialize(ba,""); +RDebugUtils.currentLine=40828940; + //BA.debugLineNum = 40828940;BA.debugLine="ImageViews.Add(iv)"; +__ref._imageviews /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(_iv.getObject())); +RDebugUtils.currentLine=40828941; + //BA.debugLineNum = 40828941;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)); + } +}; +RDebugUtils.currentLine=40828943; + //BA.debugLineNum = 40828943;BA.debugLine="Dim fadeIv As ImageView"; +_fadeiv = new anywheresoftware.b4a.objects.ImageViewWrapper(); +RDebugUtils.currentLine=40828944; + //BA.debugLineNum = 40828944;BA.debugLine="fadeIv.Initialize(\"\")"; +_fadeiv.Initialize(ba,""); +RDebugUtils.currentLine=40828945; + //BA.debugLineNum = 40828945;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=40828946; + //BA.debugLineNum = 40828946;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=40828947; + //BA.debugLineNum = 40828947;BA.debugLine="setValue(0)"; +__ref._setvalue /*String*/ (null,(int) (0)); +RDebugUtils.currentLine=40828948; + //BA.debugLineNum = 40828948;BA.debugLine="If xui.IsB4A Then"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4A()) { +RDebugUtils.currentLine=40828949; + //BA.debugLineNum = 40828949;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=40828950; + //BA.debugLineNum = 40828950;BA.debugLine="setValue(getValue)"; +__ref._setvalue /*String*/ (null,__ref._getvalue /*int*/ (null)); + }; +RDebugUtils.currentLine=40828952; + //BA.debugLineNum = 40828952;BA.debugLine="End Sub"; +return ""; +} +public String _setvalue(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=41156608; + //BA.debugLineNum = 41156608;BA.debugLine="Public Sub setValue(v As Int)"; +RDebugUtils.currentLine=41156609; + //BA.debugLineNum = 41156609;BA.debugLine="mValue.Clear"; +__ref._mvalue /*anywheresoftware.b4a.objects.collections.List*/ .Clear(); +RDebugUtils.currentLine=41156610; + //BA.debugLineNum = 41156610;BA.debugLine="For i = 0 To mdigits - 1"; +{ +final int step2 = 1; +final int limit2 = (int) (__ref._mdigits /*int*/ -1); +_i = (int) (0) ; +for (;_i <= limit2 ;_i = _i + step2 ) { +RDebugUtils.currentLine=41156611; + //BA.debugLineNum = 41156611;BA.debugLine="mValue.Add(v Mod 10)"; +__ref._mvalue /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(_v%10)); +RDebugUtils.currentLine=41156612; + //BA.debugLineNum = 41156612;BA.debugLine="v = v / 10"; +_v = (int) (_v/(double)10); +RDebugUtils.currentLine=41156613; + //BA.debugLineNum = 41156613;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)(__ref._imageviews /*anywheresoftware.b4a.objects.collections.List*/ .Get(_i))); +RDebugUtils.currentLine=41156614; + //BA.debugLineNum = 41156614;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()))); + } +}; +RDebugUtils.currentLine=41156617; + //BA.debugLineNum = 41156617;BA.debugLine="End Sub"; +return ""; +} +public int _getvalue(reparto_izca.keymon.lat.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=41222144; + //BA.debugLineNum = 41222144;BA.debugLine="Public Sub getValue As Int"; +RDebugUtils.currentLine=41222145; + //BA.debugLineNum = 41222145;BA.debugLine="Dim res As Int"; +_res = 0; +RDebugUtils.currentLine=41222146; + //BA.debugLineNum = 41222146;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=41222147; + //BA.debugLineNum = 41222147;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=41222149; + //BA.debugLineNum = 41222149;BA.debugLine="Return res"; +if (true) return _res; +RDebugUtils.currentLine=41222150; + //BA.debugLineNum = 41222150;BA.debugLine="End Sub"; +return 0; +} +public String _initialize(reparto_izca.keymon.lat.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=40763392; + //BA.debugLineNum = 40763392;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +RDebugUtils.currentLine=40763393; + //BA.debugLineNum = 40763393;BA.debugLine="mEventName = EventName"; +__ref._meventname /*String*/ = _eventname; +RDebugUtils.currentLine=40763394; + //BA.debugLineNum = 40763394;BA.debugLine="mCallBack = Callback"; +__ref._mcallback /*Object*/ = _callback; +RDebugUtils.currentLine=40763395; + //BA.debugLineNum = 40763395;BA.debugLine="ImageViews.Initialize"; +__ref._imageviews /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=40763396; + //BA.debugLineNum = 40763396;BA.debugLine="mValue.Initialize"; +__ref._mvalue /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=40763397; + //BA.debugLineNum = 40763397;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/anotherprogressbar.java b/B4A/Objects/src/reparto_izca/keymon/lat/anotherprogressbar.java new file mode 100644 index 0000000..1cd1762 --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/anotherprogressbar.java @@ -0,0 +1,735 @@ +package reparto_izca.keymon.lat; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.B4AClass; +import anywheresoftware.b4a.BALayout; +import anywheresoftware.b4a.debug.*; + +public class anotherprogressbar 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, "reparto_izca.keymon.lat.anotherprogressbar"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", reparto_izca.keymon.lat.anotherprogressbar.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 String _meventname = ""; +public Object _mcallback = null; +public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; +public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; +public b4a.example.bcpath._bcbrush _busybrush = null; +public int _backgroundcolor = 0; +public int _busyindex = 0; +public b4a.example.bitmapcreator _bc = null; +public anywheresoftware.b4a.objects.B4XViewWrapper _miv = null; +public b4a.example.bcpath._bcbrush _transparentbrush = null; +public boolean _vertical = false; +public float _currentvalue = 0f; +public int _emptycolor = 0; +public b4a.example.bcpath._bcbrush _emptybrush = null; +public int _mvalue = 0; +public Object _tag = null; +public float _valuechangepersecond = 0f; +public int _cornerradius = 0; +public int _brushoffsetdelta = 0; +public b4a.example.dateutils _dateutils = null; +public reparto_izca.keymon.lat.main _main = null; +public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; +public reparto_izca.keymon.lat.foto _foto = null; +public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_izca.keymon.lat.starter _starter = null; +public reparto_izca.keymon.lat.tracker _tracker = null; +public reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public String _base_resize(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=41484288; + //BA.debugLineNum = 41484288;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; +RDebugUtils.currentLine=41484289; + //BA.debugLineNum = 41484289;BA.debugLine="For Each v As B4XView In mBase.GetAllViewsRecursi"; +_v = new anywheresoftware.b4a.objects.B4XViewWrapper(); +{ +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))); +RDebugUtils.currentLine=41484290; + //BA.debugLineNum = 41484290;BA.debugLine="v.SetLayoutAnimated(0, 0, 0, Width, Height)"; +_v.SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width),(int) (_height)); + } +}; +RDebugUtils.currentLine=41484292; + //BA.debugLineNum = 41484292;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=41484293; + //BA.debugLineNum = 41484293;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=41484294; + //BA.debugLineNum = 41484294;BA.debugLine="UpdateGraphics"; +__ref._updategraphics /*String*/ (null); +RDebugUtils.currentLine=41484296; + //BA.debugLineNum = 41484296;BA.debugLine="End Sub"; +return ""; +} +public String _updategraphics(reparto_izca.keymon.lat.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=41746432; + //BA.debugLineNum = 41746432;BA.debugLine="Public Sub UpdateGraphics"; +RDebugUtils.currentLine=41746433; + //BA.debugLineNum = 41746433;BA.debugLine="EmptyBrush = bc.CreateBrushFromColor(EmptyColor)"; +__ref._emptybrush /*b4a.example.bcpath._bcbrush*/ = __ref._bc /*b4a.example.bitmapcreator*/ ._createbrushfromcolor(__ref._emptycolor /*int*/ ); +RDebugUtils.currentLine=41746434; + //BA.debugLineNum = 41746434;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=41746435; + //BA.debugLineNum = 41746435;BA.debugLine="Dim Width As Int = 40"; +_width = (int) (40); +RDebugUtils.currentLine=41746436; + //BA.debugLineNum = 41746436;BA.debugLine="Dim Template As BitmapCreator"; +_template = new b4a.example.bitmapcreator(); +RDebugUtils.currentLine=41746437; + //BA.debugLineNum = 41746437;BA.debugLine="Dim bcolor As ARGBColor"; +_bcolor = new b4a.example.bitmapcreator._argbcolor(); +RDebugUtils.currentLine=41746438; + //BA.debugLineNum = 41746438;BA.debugLine="bc.ColorToARGB(BackgroundColor, bcolor)"; +__ref._bc /*b4a.example.bitmapcreator*/ ._colortoargb(__ref._backgroundcolor /*int*/ ,_bcolor); +RDebugUtils.currentLine=41746439; + //BA.debugLineNum = 41746439;BA.debugLine="bcolor.r = Min(255, bcolor.r * 1.5)"; +_bcolor.r = (int) (__c.Min(255,_bcolor.r*1.5)); +RDebugUtils.currentLine=41746440; + //BA.debugLineNum = 41746440;BA.debugLine="bcolor.g = Min(255, bcolor.g * 1.5)"; +_bcolor.g = (int) (__c.Min(255,_bcolor.g*1.5)); +RDebugUtils.currentLine=41746441; + //BA.debugLineNum = 41746441;BA.debugLine="bcolor.b = Min(255, bcolor.b * 1.5)"; +_bcolor.b = (int) (__c.Min(255,_bcolor.b*1.5)); +RDebugUtils.currentLine=41746442; + //BA.debugLineNum = 41746442;BA.debugLine="If Vertical Then"; +if (__ref._vertical /*boolean*/ ) { +RDebugUtils.currentLine=41746443; + //BA.debugLineNum = 41746443;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=41746445; + //BA.debugLineNum = 41746445;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=41746448; + //BA.debugLineNum = 41746448;BA.debugLine="Template.DrawRect(Template.TargetRect, Background"; +_template._drawrect(_template._targetrect,__ref._backgroundcolor /*int*/ ,__c.True,(int) (0)); +RDebugUtils.currentLine=41746449; + //BA.debugLineNum = 41746449;BA.debugLine="If Vertical Then"; +if (__ref._vertical /*boolean*/ ) { +RDebugUtils.currentLine=41746450; + //BA.debugLineNum = 41746450;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=41746452; + //BA.debugLineNum = 41746452;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=41746454; + //BA.debugLineNum = 41746454;BA.debugLine="BusyBrush = bc.CreateBrushFromBitmapCreator(Templ"; +__ref._busybrush /*b4a.example.bcpath._bcbrush*/ = __ref._bc /*b4a.example.bitmapcreator*/ ._createbrushfrombitmapcreator(_template); +RDebugUtils.currentLine=41746455; + //BA.debugLineNum = 41746455;BA.debugLine="If mValue = 100 Then"; +if (__ref._mvalue /*int*/ ==100) { +RDebugUtils.currentLine=41746456; + //BA.debugLineNum = 41746456;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=41746458; + //BA.debugLineNum = 41746458;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=41746460; + //BA.debugLineNum = 41746460;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=41746461; + //BA.debugLineNum = 41746461;BA.debugLine="setVisible(mBase.Visible)"; +__ref._setvisible /*String*/ (null,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getVisible()); +RDebugUtils.currentLine=41746462; + //BA.debugLineNum = 41746462;BA.debugLine="End Sub"; +return ""; +} +public void _busyloop(reparto_izca.keymon.lat.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(reparto_izca.keymon.lat.anotherprogressbar parent,reparto_izca.keymon.lat.anotherprogressbar __ref) { +this.parent = parent; +this.__ref = __ref; +this.__ref = parent; +} +reparto_izca.keymon.lat.anotherprogressbar __ref; +reparto_izca.keymon.lat.anotherprogressbar parent; +int _myindex = 0; +anywheresoftware.b4a.objects.B4XCanvas.B4XRect _r = null; +long _lasttime = 0L; +anywheresoftware.b4a.objects.collections.List _tasks = null; +float _delta = 0f; +float _change = 0f; +anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _bmp = null; + +@Override +public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="anotherprogressbar"; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +RDebugUtils.currentLine=41549825; + //BA.debugLineNum = 41549825;BA.debugLine="Dim MyIndex As Int = BusyIndex"; +_myindex = __ref._busyindex /*int*/ ; +RDebugUtils.currentLine=41549826; + //BA.debugLineNum = 41549826;BA.debugLine="Dim r As B4XRect"; +_r = new anywheresoftware.b4a.objects.B4XCanvas.B4XRect(); +RDebugUtils.currentLine=41549827; + //BA.debugLineNum = 41549827;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=41549828; + //BA.debugLineNum = 41549828;BA.debugLine="Dim LastTime As Long = DateTime.Now"; +_lasttime = parent.__c.DateTime.getNow(); +RDebugUtils.currentLine=41549829; + //BA.debugLineNum = 41549829;BA.debugLine="Do While MyIndex = BusyIndex"; +if (true) break; + +case 1: +//do while +this.state = 37; +while (_myindex==__ref._busyindex /*int*/ ) { +this.state = 3; +if (true) break; +} +if (true) break; + +case 3: +//C +this.state = 4; +RDebugUtils.currentLine=41549830; + //BA.debugLineNum = 41549830;BA.debugLine="If Vertical Then"; +if (true) break; + +case 4: +//if +this.state = 9; +if (__ref._vertical /*boolean*/ ) { +this.state = 6; +}else { +this.state = 8; +}if (true) break; + +case 6: +//C +this.state = 9; +RDebugUtils.currentLine=41549831; + //BA.debugLineNum = 41549831;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; +RDebugUtils.currentLine=41549833; + //BA.debugLineNum = 41549833;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; +; +RDebugUtils.currentLine=41549835; + //BA.debugLineNum = 41549835;BA.debugLine="Dim tasks As List"; +_tasks = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=41549836; + //BA.debugLineNum = 41549836;BA.debugLine="tasks.Initialize"; +_tasks.Initialize(); +RDebugUtils.currentLine=41549837; + //BA.debugLineNum = 41549837;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=41549838; + //BA.debugLineNum = 41549838;BA.debugLine="Dim delta As Float = mValue - CurrentValue"; +_delta = (float) (__ref._mvalue /*int*/ -__ref._currentvalue /*float*/ ); +RDebugUtils.currentLine=41549839; + //BA.debugLineNum = 41549839;BA.debugLine="If Abs(delta) <= 1 Then"; +if (true) break; + +case 10: +//if +this.state = 21; +if (parent.__c.Abs(_delta)<=1) { +this.state = 12; +}else { +this.state = 14; +}if (true) break; + +case 12: +//C +this.state = 21; +RDebugUtils.currentLine=41549840; + //BA.debugLineNum = 41549840;BA.debugLine="CurrentValue = mValue"; +__ref._currentvalue /*float*/ = (float) (__ref._mvalue /*int*/ ); + if (true) break; + +case 14: +//C +this.state = 15; +RDebugUtils.currentLine=41549842; + //BA.debugLineNum = 41549842;BA.debugLine="Dim change As Float = (DateTime.Now - LastTime)"; +_change = (float) ((parent.__c.DateTime.getNow()-_lasttime)/(double)1000*__ref._valuechangepersecond /*float*/ ); +RDebugUtils.currentLine=41549843; + //BA.debugLineNum = 41549843;BA.debugLine="If delta > 0 Then"; +if (true) break; + +case 15: +//if +this.state = 20; +if (_delta>0) { +this.state = 17; +}else { +this.state = 19; +}if (true) break; + +case 17: +//C +this.state = 20; +RDebugUtils.currentLine=41549844; + //BA.debugLineNum = 41549844;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; +RDebugUtils.currentLine=41549846; + //BA.debugLineNum = 41549846;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: +//C +this.state = 21; +; + if (true) break; + +case 21: +//C +this.state = 22; +; +RDebugUtils.currentLine=41549849; + //BA.debugLineNum = 41549849;BA.debugLine="LastTime = DateTime.Now"; +_lasttime = parent.__c.DateTime.getNow(); +RDebugUtils.currentLine=41549850; + //BA.debugLineNum = 41549850;BA.debugLine="If CurrentValue < 100 Then"; +if (true) break; + +case 22: +//if +this.state = 25; +if (__ref._currentvalue /*float*/ <100) { +this.state = 24; +}if (true) break; + +case 24: +//C +this.state = 25; +RDebugUtils.currentLine=41549851; + //BA.debugLineNum = 41549851;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; +; +RDebugUtils.currentLine=41549853; + //BA.debugLineNum = 41549853;BA.debugLine="If Vertical Then"; + +case 25: +//if +this.state = 30; +if (__ref._vertical /*boolean*/ ) { +this.state = 27; +}else { +this.state = 29; +}if (true) break; + +case 27: +//C +this.state = 30; +RDebugUtils.currentLine=41549854; + //BA.debugLineNum = 41549854;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; +RDebugUtils.currentLine=41549856; + //BA.debugLineNum = 41549856;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; +; +RDebugUtils.currentLine=41549859; + //BA.debugLineNum = 41549859;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=41549860; + //BA.debugLineNum = 41549860;BA.debugLine="bc.DrawBitmapCreatorsAsync(Me, \"BC\", tasks)"; +__ref._bc /*b4a.example.bitmapcreator*/ ._drawbitmapcreatorsasync(parent,"BC",_tasks); +RDebugUtils.currentLine=41549861; + //BA.debugLineNum = 41549861;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[1]; +; +RDebugUtils.currentLine=41549862; + //BA.debugLineNum = 41549862;BA.debugLine="If xui.IsB4J Then bmp = bc.Bitmap"; +if (true) break; + +case 31: +//if +this.state = 36; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4J()) { +this.state = 33; +;}if (true) break; + +case 33: +//C +this.state = 36; +_bmp = __ref._bc /*b4a.example.bitmapcreator*/ ._getbitmap(); +if (true) break; + +case 36: +//C +this.state = 1; +; +RDebugUtils.currentLine=41549863; + //BA.debugLineNum = 41549863;BA.debugLine="bc.SetBitmapToImageView(bmp, mIV)"; +__ref._bc /*b4a.example.bitmapcreator*/ ._setbitmaptoimageview(_bmp,__ref._miv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ); +RDebugUtils.currentLine=41549864; + //BA.debugLineNum = 41549864;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: +//C +this.state = 1; +; + if (true) break; + +case 37: +//C +this.state = -1; +; +RDebugUtils.currentLine=41549866; + //BA.debugLineNum = 41549866;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public String _class_globals(reparto_izca.keymon.lat.anotherprogressbar __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="anotherprogressbar"; +RDebugUtils.currentLine=41287680; + //BA.debugLineNum = 41287680;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=41287681; + //BA.debugLineNum = 41287681;BA.debugLine="Private mEventName As String 'ignore"; +_meventname = ""; +RDebugUtils.currentLine=41287682; + //BA.debugLineNum = 41287682;BA.debugLine="Private mCallBack As Object 'ignore"; +_mcallback = new Object(); +RDebugUtils.currentLine=41287683; + //BA.debugLineNum = 41287683;BA.debugLine="Public mBase As B4XView 'ignore"; +_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=41287684; + //BA.debugLineNum = 41287684;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=41287685; + //BA.debugLineNum = 41287685;BA.debugLine="Private BusyBrush As BCBrush"; +_busybrush = new b4a.example.bcpath._bcbrush(); +RDebugUtils.currentLine=41287686; + //BA.debugLineNum = 41287686;BA.debugLine="Private BackgroundColor As Int"; +_backgroundcolor = 0; +RDebugUtils.currentLine=41287687; + //BA.debugLineNum = 41287687;BA.debugLine="Private BusyIndex As Int"; +_busyindex = 0; +RDebugUtils.currentLine=41287688; + //BA.debugLineNum = 41287688;BA.debugLine="Private bc As BitmapCreator"; +_bc = new b4a.example.bitmapcreator(); +RDebugUtils.currentLine=41287689; + //BA.debugLineNum = 41287689;BA.debugLine="Private mIV As B4XView"; +_miv = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=41287690; + //BA.debugLineNum = 41287690;BA.debugLine="Private TransparentBrush As BCBrush"; +_transparentbrush = new b4a.example.bcpath._bcbrush(); +RDebugUtils.currentLine=41287691; + //BA.debugLineNum = 41287691;BA.debugLine="Private Vertical As Boolean"; +_vertical = false; +RDebugUtils.currentLine=41287692; + //BA.debugLineNum = 41287692;BA.debugLine="Private CurrentValue As Float"; +_currentvalue = 0f; +RDebugUtils.currentLine=41287693; + //BA.debugLineNum = 41287693;BA.debugLine="Public EmptyColor As Int = xui.Color_White"; +_emptycolor = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_White; +RDebugUtils.currentLine=41287694; + //BA.debugLineNum = 41287694;BA.debugLine="Private EmptyBrush As BCBrush"; +_emptybrush = new b4a.example.bcpath._bcbrush(); +RDebugUtils.currentLine=41287695; + //BA.debugLineNum = 41287695;BA.debugLine="Private mValue As Int"; +_mvalue = 0; +RDebugUtils.currentLine=41287696; + //BA.debugLineNum = 41287696;BA.debugLine="Public Tag As Object"; +_tag = new Object(); +RDebugUtils.currentLine=41287697; + //BA.debugLineNum = 41287697;BA.debugLine="Public ValueChangePerSecond As Float = 60"; +_valuechangepersecond = (float) (60); +RDebugUtils.currentLine=41287698; + //BA.debugLineNum = 41287698;BA.debugLine="Public CornerRadius As Int"; +_cornerradius = 0; +RDebugUtils.currentLine=41287699; + //BA.debugLineNum = 41287699;BA.debugLine="Public BrushOffsetDelta As Int = 3"; +_brushoffsetdelta = (int) (3); +RDebugUtils.currentLine=41287700; + //BA.debugLineNum = 41287700;BA.debugLine="End Sub"; +return ""; +} +public String _designercreateview(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=41418752; + //BA.debugLineNum = 41418752;BA.debugLine="Public Sub DesignerCreateView (Base As Object, lbl"; +RDebugUtils.currentLine=41418753; + //BA.debugLineNum = 41418753;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=41418754; + //BA.debugLineNum = 41418754;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._tag /*Object*/ = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTag(); +RDebugUtils.currentLine=41418754; + //BA.debugLineNum = 41418754;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag(this); +RDebugUtils.currentLine=41418755; + //BA.debugLineNum = 41418755;BA.debugLine="Dim iv As ImageView"; +_iv = new anywheresoftware.b4a.objects.ImageViewWrapper(); +RDebugUtils.currentLine=41418756; + //BA.debugLineNum = 41418756;BA.debugLine="iv.Initialize(\"\")"; +_iv.Initialize(ba,""); +RDebugUtils.currentLine=41418757; + //BA.debugLineNum = 41418757;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=41418758; + //BA.debugLineNum = 41418758;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=41418759; + //BA.debugLineNum = 41418759;BA.debugLine="setValue(Props.GetDefault(\"Value\", 100))"; +__ref._setvalue /*String*/ (null,(int)(BA.ObjectToNumber(_props.GetDefault((Object)("Value"),(Object)(100))))); +RDebugUtils.currentLine=41418760; + //BA.debugLineNum = 41418760;BA.debugLine="CurrentValue = mValue"; +__ref._currentvalue /*float*/ = (float) (__ref._mvalue /*int*/ ); +RDebugUtils.currentLine=41418761; + //BA.debugLineNum = 41418761;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=41418762; + //BA.debugLineNum = 41418762;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=41418763; + //BA.debugLineNum = 41418763;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=41418764; + //BA.debugLineNum = 41418764;BA.debugLine="BackgroundColor = xui.PaintOrColorToColor(Props.G"; +__ref._backgroundcolor /*int*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .PaintOrColorToColor(_props.Get((Object)("ProgressColor"))); +RDebugUtils.currentLine=41418765; + //BA.debugLineNum = 41418765;BA.debugLine="CornerRadius = Props.GetDefault(\"CornerRadius\", 1"; +__ref._cornerradius /*int*/ = (int)(BA.ObjectToNumber(_props.GetDefault((Object)("CornerRadius"),(Object)(15)))); +RDebugUtils.currentLine=41418766; + //BA.debugLineNum = 41418766;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=41418767; + //BA.debugLineNum = 41418767;BA.debugLine="End Sub"; +return ""; +} +public String _setvalue(reparto_izca.keymon.lat.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=42008576; + //BA.debugLineNum = 42008576;BA.debugLine="Public Sub setValue (v As Int)"; +RDebugUtils.currentLine=42008577; + //BA.debugLineNum = 42008577;BA.debugLine="mValue = Max(0, Min(100, v))"; +__ref._mvalue /*int*/ = (int) (__c.Max(0,__c.Min(100,_v))); +RDebugUtils.currentLine=42008578; + //BA.debugLineNum = 42008578;BA.debugLine="End Sub"; +return ""; +} +public int _getprogresscolor(reparto_izca.keymon.lat.anotherprogressbar __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="anotherprogressbar"; +if (Debug.shouldDelegate(ba, "getprogresscolor", true)) + {return ((Integer) Debug.delegate(ba, "getprogresscolor", null));} +RDebugUtils.currentLine=41615360; + //BA.debugLineNum = 41615360;BA.debugLine="Public Sub getProgressColor As Int"; +RDebugUtils.currentLine=41615361; + //BA.debugLineNum = 41615361;BA.debugLine="Return BackgroundColor"; +if (true) return __ref._backgroundcolor /*int*/ ; +RDebugUtils.currentLine=41615362; + //BA.debugLineNum = 41615362;BA.debugLine="End Sub"; +return 0; +} +public int _getvalue(reparto_izca.keymon.lat.anotherprogressbar __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="anotherprogressbar"; +if (Debug.shouldDelegate(ba, "getvalue", true)) + {return ((Integer) Debug.delegate(ba, "getvalue", null));} +RDebugUtils.currentLine=41943040; + //BA.debugLineNum = 41943040;BA.debugLine="Public Sub getValue As Int"; +RDebugUtils.currentLine=41943041; + //BA.debugLineNum = 41943041;BA.debugLine="Return mValue"; +if (true) return __ref._mvalue /*int*/ ; +RDebugUtils.currentLine=41943042; + //BA.debugLineNum = 41943042;BA.debugLine="End Sub"; +return 0; +} +public boolean _getvisible(reparto_izca.keymon.lat.anotherprogressbar __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="anotherprogressbar"; +if (Debug.shouldDelegate(ba, "getvisible", true)) + {return ((Boolean) Debug.delegate(ba, "getvisible", null));} +RDebugUtils.currentLine=41877504; + //BA.debugLineNum = 41877504;BA.debugLine="Public Sub getVisible As Boolean"; +RDebugUtils.currentLine=41877505; + //BA.debugLineNum = 41877505;BA.debugLine="Return mBase.Visible"; +if (true) return __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getVisible(); +RDebugUtils.currentLine=41877506; + //BA.debugLineNum = 41877506;BA.debugLine="End Sub"; +return false; +} +public String _initialize(reparto_izca.keymon.lat.anotherprogressbar __ref,anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="anotherprogressbar"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba,_callback,_eventname}));} +RDebugUtils.currentLine=41353216; + //BA.debugLineNum = 41353216;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +RDebugUtils.currentLine=41353217; + //BA.debugLineNum = 41353217;BA.debugLine="mEventName = EventName"; +__ref._meventname /*String*/ = _eventname; +RDebugUtils.currentLine=41353218; + //BA.debugLineNum = 41353218;BA.debugLine="mCallBack = Callback"; +__ref._mcallback /*Object*/ = _callback; +RDebugUtils.currentLine=41353219; + //BA.debugLineNum = 41353219;BA.debugLine="End Sub"; +return ""; +} +public String _setprogresscolor(reparto_izca.keymon.lat.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=41680896; + //BA.debugLineNum = 41680896;BA.debugLine="Public Sub setProgressColor (c As Int)"; +RDebugUtils.currentLine=41680897; + //BA.debugLineNum = 41680897;BA.debugLine="BackgroundColor = c"; +__ref._backgroundcolor /*int*/ = _c; +RDebugUtils.currentLine=41680898; + //BA.debugLineNum = 41680898;BA.debugLine="UpdateGraphics"; +__ref._updategraphics /*String*/ (null); +RDebugUtils.currentLine=41680899; + //BA.debugLineNum = 41680899;BA.debugLine="End Sub"; +return ""; +} +public String _setvaluenoanimation(reparto_izca.keymon.lat.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=42074112; + //BA.debugLineNum = 42074112;BA.debugLine="Public Sub SetValueNoAnimation (v As Int)"; +RDebugUtils.currentLine=42074113; + //BA.debugLineNum = 42074113;BA.debugLine="setValue(v)"; +__ref._setvalue /*String*/ (null,_v); +RDebugUtils.currentLine=42074114; + //BA.debugLineNum = 42074114;BA.debugLine="CurrentValue = mValue"; +__ref._currentvalue /*float*/ = (float) (__ref._mvalue /*int*/ ); +RDebugUtils.currentLine=42074115; + //BA.debugLineNum = 42074115;BA.debugLine="End Sub"; +return ""; +} +public String _setvisible(reparto_izca.keymon.lat.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=41811968; + //BA.debugLineNum = 41811968;BA.debugLine="Public Sub setVisible(b As Boolean)"; +RDebugUtils.currentLine=41811969; + //BA.debugLineNum = 41811969;BA.debugLine="BusyIndex = BusyIndex + 1"; +__ref._busyindex /*int*/ = (int) (__ref._busyindex /*int*/ +1); +RDebugUtils.currentLine=41811970; + //BA.debugLineNum = 41811970;BA.debugLine="If b Then"; +if (_b) { +RDebugUtils.currentLine=41811971; + //BA.debugLineNum = 41811971;BA.debugLine="BusyLoop"; +__ref._busyloop /*void*/ (null); + }; +RDebugUtils.currentLine=41811973; + //BA.debugLineNum = 41811973;BA.debugLine="mBase.Visible = b"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setVisible(_b); +RDebugUtils.currentLine=41811974; + //BA.debugLineNum = 41811974;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/appupdater.java b/B4A/Objects/src/reparto_izca/keymon/lat/appupdater.java new file mode 100644 index 0000000..f128e42 --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/appupdater.java @@ -0,0 +1,811 @@ +package reparto_izca.keymon.lat; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.objects.ServiceHelper; +import anywheresoftware.b4a.debug.*; + +public class appupdater extends android.app.Service{ + public static class appupdater_BR extends android.content.BroadcastReceiver { + + @Override + public void onReceive(android.content.Context context, android.content.Intent intent) { + BA.LogInfo("** Receiver (appupdater) OnReceive **"); + 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, anywheresoftware.b4a.ShellBA.class); + } + + } + static appupdater mostCurrent; + public static BA processBA; + private ServiceHelper _service; + public static Class getObject() { + return appupdater.class; + } + @Override + public void onCreate() { + super.onCreate(); + mostCurrent = this; + if (processBA == null) { + processBA = new anywheresoftware.b4a.ShellBA(this, null, null, "reparto_izca.keymon.lat", "reparto_izca.keymon.lat.appupdater"); + if (BA.isShellModeRuntimeCheck(processBA)) { + processBA.raiseEvent2(null, true, "SHELL", false); + } + try { + Class.forName(BA.applicationContext.getPackageName() + ".main").getMethod("initializeProcessGlobals").invoke(null, null); + } catch (Exception e) { + throw new RuntimeException(e); + } + processBA.loadHtSubs(this.getClass()); + ServiceHelper.init(); + } + _service = new ServiceHelper(this); + processBA.service = this; + + if (BA.isShellModeRuntimeCheck(processBA)) { + processBA.raiseEvent2(null, true, "CREATE", true, "reparto_izca.keymon.lat.appupdater", processBA, _service, anywheresoftware.b4a.keywords.Common.Density); + } + if (!false && ServiceHelper.StarterHelper.startFromServiceCreate(processBA, false) == false) { + + } + else { + processBA.setActivityPaused(false); + BA.LogInfo("*** Service (appupdater) Create ***"); + processBA.raiseEvent(null, "service_create"); + } + processBA.runHook("oncreate", this, null); + if (false) { + if (ServiceHelper.StarterHelper.runWaitForLayouts() == false) { + BA.LogInfo("stopping spontaneous created service"); + stopSelf(); + } + } + } + @Override + public void onStart(android.content.Intent intent, int startId) { + onStartCommand(intent, 0, 0); + } + @Override + public int onStartCommand(final android.content.Intent intent, int flags, int startId) { + if (ServiceHelper.StarterHelper.onStartCommand(processBA, new Runnable() { + public void run() { + handleStart(intent); + }})) + ; + else { + ServiceHelper.StarterHelper.addWaitForLayout (new Runnable() { + public void run() { + processBA.setActivityPaused(false); + BA.LogInfo("** Service (appupdater) Create **"); + processBA.raiseEvent(null, "service_create"); + handleStart(intent); + ServiceHelper.StarterHelper.removeWaitForLayout(); + } + }); + } + processBA.runHook("onstartcommand", this, new Object[] {intent, flags, startId}); + return android.app.Service.START_NOT_STICKY; + } + public void onTaskRemoved(android.content.Intent rootIntent) { + super.onTaskRemoved(rootIntent); + if (false) + processBA.raiseEvent(null, "service_taskremoved"); + + } + private void handleStart(android.content.Intent intent) { + BA.LogInfo("** Service (appupdater) Start **"); + java.lang.reflect.Method startEvent = processBA.htSubs.get("service_start"); + if (startEvent != null) { + if (startEvent.getParameterTypes().length > 0) { + anywheresoftware.b4a.objects.IntentWrapper iw = ServiceHelper.StarterHelper.handleStartIntent(intent, _service, processBA); + processBA.raiseEvent(null, "service_start", iw); + } + else { + processBA.raiseEvent(null, "service_start"); + } + } + } + + @Override + public void onDestroy() { + super.onDestroy(); + if (false) { + BA.LogInfo("** Service (appupdater) Destroy (ignored)**"); + } + else { + BA.LogInfo("** Service (appupdater) Destroy **"); + processBA.raiseEvent(null, "service_destroy"); + processBA.service = null; + mostCurrent = null; + processBA.setActivityPaused(true); + processBA.runHook("ondestroy", this, null); + } + } + +@Override + public android.os.IBinder onBind(android.content.Intent intent) { + return null; + } +public static class _mnewversion{ +public boolean IsInitialized; +public boolean update; +public boolean nonewAPP; +public boolean notifyUser; +public String version; +public String newMsg; +public String okMsg; +public String appLink; +public void Initialize() { +IsInitialized = true; +update = false; +nonewAPP = false; +notifyUser = false; +version = ""; +newMsg = ""; +okMsg = ""; +appLink = ""; +} +@Override + 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 reparto_izca.keymon.lat.appupdater._mnewversion _newapp = null; +public b4a.example.dateutils _dateutils = null; +public reparto_izca.keymon.lat.main _main = null; +public reparto_izca.keymon.lat.subs _subs = null; +public reparto_izca.keymon.lat.foto _foto = null; +public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_izca.keymon.lat.starter _starter = null; +public reparto_izca.keymon.lat.tracker _tracker = null; +public reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public static anywheresoftware.b4a.objects.NotificationWrapper _createnotification(String _title,String _content,String _icon,Object _targetactivity,boolean _sound,boolean _vibrate) throws Exception{ +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=851968; + //BA.debugLineNum = 851968;BA.debugLine="Private Sub CreateNotification(Title As String, Co"; +RDebugUtils.currentLine=851969; + //BA.debugLineNum = 851969;BA.debugLine="n2.Initialize"; +_n2.Initialize(); +RDebugUtils.currentLine=851970; + //BA.debugLineNum = 851970;BA.debugLine="n2.Light = False"; +_n2.setLight(anywheresoftware.b4a.keywords.Common.False); +RDebugUtils.currentLine=851971; + //BA.debugLineNum = 851971;BA.debugLine="n2.Vibrate = Vibrate"; +_n2.setVibrate(_vibrate); +RDebugUtils.currentLine=851972; + //BA.debugLineNum = 851972;BA.debugLine="n2.Sound = Sound"; +_n2.setSound(_sound); +RDebugUtils.currentLine=851973; + //BA.debugLineNum = 851973;BA.debugLine="n2.OnGoingEvent = True"; +_n2.setOnGoingEvent(anywheresoftware.b4a.keywords.Common.True); +RDebugUtils.currentLine=851974; + //BA.debugLineNum = 851974;BA.debugLine="n2.Icon = Icon"; +_n2.setIcon(_icon); +RDebugUtils.currentLine=851975; + //BA.debugLineNum = 851975;BA.debugLine="n2.SetInfo(Title, Content, TargetActivity)"; +_n2.SetInfoNew(processBA,BA.ObjectToCharSequence(_title),BA.ObjectToCharSequence(_content),_targetactivity); +RDebugUtils.currentLine=851976; + //BA.debugLineNum = 851976;BA.debugLine="n2.Notify(nNewAppnID)"; +_n2.Notify(_nnewappnid); +RDebugUtils.currentLine=851977; + //BA.debugLineNum = 851977;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{ +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=786432; + //BA.debugLineNum = 786432;BA.debugLine="Private Sub CreateNotification2(Title As String, C"; +RDebugUtils.currentLine=786435; + //BA.debugLineNum = 786435;BA.debugLine="pN.Initialize2(pN.IMPORTANCE_HIGH)"; +_pn.Initialize2(_pn.IMPORTANCE_HIGH); +RDebugUtils.currentLine=786438; + //BA.debugLineNum = 786438;BA.debugLine="pN.Vibrate = Vibrate"; +_pn.setVibrate(_vibrate); +RDebugUtils.currentLine=786439; + //BA.debugLineNum = 786439;BA.debugLine="pN.Sound = Sound"; +_pn.setSound(_sound); +RDebugUtils.currentLine=786441; + //BA.debugLineNum = 786441;BA.debugLine="pN.Icon = Icon"; +_pn.setIcon(_icon); +RDebugUtils.currentLine=786442; + //BA.debugLineNum = 786442;BA.debugLine="pN.AutoCancel = True"; +_pn.setAutoCancel(anywheresoftware.b4a.keywords.Common.True); +RDebugUtils.currentLine=786443; + //BA.debugLineNum = 786443;BA.debugLine="pN.SetInfo(Title, Content, TargetActivity)"; +_pn.SetInfoNew(processBA,BA.ObjectToCharSequence(_title),BA.ObjectToCharSequence(_content),_targetactivity); +RDebugUtils.currentLine=786444; + //BA.debugLineNum = 786444;BA.debugLine="pN.Notify(pNID)"; +_pn.Notify(_pnid); +RDebugUtils.currentLine=786445; + //BA.debugLineNum = 786445;BA.debugLine="Return pN"; +if (true) return _pn; +RDebugUtils.currentLine=786446; + //BA.debugLineNum = 786446;BA.debugLine="End Sub"; +return null; +} +public static reparto_izca.keymon.lat.httpjob _download(Object _callback,String _link) throws Exception{ +RDebugUtils.currentModule="appupdater"; +if (Debug.shouldDelegate(processBA, "download", false)) + {return ((reparto_izca.keymon.lat.httpjob) Debug.delegate(processBA, "download", new Object[] {_callback,_link}));} +reparto_izca.keymon.lat.httpjob _j = null; +RDebugUtils.currentLine=720896; + //BA.debugLineNum = 720896;BA.debugLine="Sub Download (Callback As Object, link As String)"; +RDebugUtils.currentLine=720897; + //BA.debugLineNum = 720897;BA.debugLine="Dim j As HttpJob"; +_j = new reparto_izca.keymon.lat.httpjob(); +RDebugUtils.currentLine=720898; + //BA.debugLineNum = 720898;BA.debugLine="j.Initialize(\"\", Callback)"; +_j._initialize /*String*/ (null,processBA,"",_callback); +RDebugUtils.currentLine=720899; + //BA.debugLineNum = 720899;BA.debugLine="j.Download(link)"; +_j._download /*String*/ (null,_link); +RDebugUtils.currentLine=720900; + //BA.debugLineNum = 720900;BA.debugLine="Return j"; +if (true) return _j; +RDebugUtils.currentLine=720901; + //BA.debugLineNum = 720901;BA.debugLine="End Sub"; +return null; +} +public static String _download_destroy() throws Exception{ +RDebugUtils.currentModule="appupdater"; +if (Debug.shouldDelegate(processBA, "download_destroy", false)) + {return ((String) Debug.delegate(processBA, "download_destroy", null));} +RDebugUtils.currentLine=655360; + //BA.debugLineNum = 655360;BA.debugLine="Sub download_Destroy"; +RDebugUtils.currentLine=655361; + //BA.debugLineNum = 655361;BA.debugLine="n2.Cancel(n2ID)"; +_n2.Cancel(_n2id); +RDebugUtils.currentLine=655362; + //BA.debugLineNum = 655362;BA.debugLine="Service.StopForeground(n2ID)"; +mostCurrent._service.StopForeground(_n2id); +RDebugUtils.currentLine=655363; + //BA.debugLineNum = 655363;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); +} +public static class ResumableSub_download_newApk extends BA.ResumableSub { +public ResumableSub_download_newApk(reparto_izca.keymon.lat.appupdater parent) { +this.parent = parent; +} +reparto_izca.keymon.lat.appupdater parent; +reparto_izca.keymon.lat.httpjob _job_newapp = null; +anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _outnewapk = null; +anywheresoftware.b4a.objects.IntentWrapper _in = null; + +@Override +public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="appupdater"; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +RDebugUtils.currentLine=589827; + //BA.debugLineNum = 589827;BA.debugLine="Log(\"Descargando actualización\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("8589827","Descargando actualización",0); +RDebugUtils.currentLine=589828; + //BA.debugLineNum = 589828;BA.debugLine="B4XPages.ShowPage(\"login\")"; +parent.mostCurrent._b4xpages._showpage /*String*/ (processBA,"login"); +RDebugUtils.currentLine=589829; + //BA.debugLineNum = 589829;BA.debugLine="B4XPages.MainPage.muestraProgreso(\"Descargando ac"; +parent.mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._muestraprogreso /*String*/ (null,"Descargando actualización"); +RDebugUtils.currentLine=589830; + //BA.debugLineNum = 589830;BA.debugLine="Starter.muestraProgreso = 1"; +parent.mostCurrent._starter._muestraprogreso /*String*/ = BA.NumberToString(1); +RDebugUtils.currentLine=589831; + //BA.debugLineNum = 589831;BA.debugLine="Dim job_newAPP As HttpJob"; +_job_newapp = new reparto_izca.keymon.lat.httpjob(); +RDebugUtils.currentLine=589832; + //BA.debugLineNum = 589832;BA.debugLine="job_newAPP.Initialize(\"job_newAPP\",Me)"; +_job_newapp._initialize /*String*/ (null,processBA,"job_newAPP",appupdater.getObject()); +RDebugUtils.currentLine=589833; + //BA.debugLineNum = 589833;BA.debugLine="job_newAPP.Download(newApp.appLink)"; +_job_newapp._download /*String*/ (null,parent._newapp.appLink /*String*/ ); +RDebugUtils.currentLine=589834; + //BA.debugLineNum = 589834;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 = 9; +return; +case 9: +//C +this.state = 1; +_job_newapp = (reparto_izca.keymon.lat.httpjob) result[0]; +; +RDebugUtils.currentLine=589835; + //BA.debugLineNum = 589835;BA.debugLine="If job_newAPP.Success = True Then"; +if (true) break; + +case 1: +//if +this.state = 8; +if (_job_newapp._success /*boolean*/ ==anywheresoftware.b4a.keywords.Common.True) { +this.state = 3; +}if (true) break; + +case 3: +//C +this.state = 4; +RDebugUtils.currentLine=589837; + //BA.debugLineNum = 589837;BA.debugLine="If File.Exists(SharedFolder,\"newapp.apk\") Then"; +if (true) break; + +case 4: +//if +this.state = 7; +if (anywheresoftware.b4a.keywords.Common.File.Exists(parent._sharedfolder,"newapp.apk")) { +this.state = 6; +}if (true) break; + +case 6: +//C +this.state = 7; +RDebugUtils.currentLine=589838; + //BA.debugLineNum = 589838;BA.debugLine="File.Delete(SharedFolder,\"newapp.apk\")"; +anywheresoftware.b4a.keywords.Common.File.Delete(parent._sharedfolder,"newapp.apk"); + if (true) break; + +case 7: +//C +this.state = 8; +; +RDebugUtils.currentLine=589841; + //BA.debugLineNum = 589841;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); +RDebugUtils.currentLine=589842; + //BA.debugLineNum = 589842;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=589843; + //BA.debugLineNum = 589843;BA.debugLine="outNewAPK.Close"; +_outnewapk.Close(); +RDebugUtils.currentLine=589845; + //BA.debugLineNum = 589845;BA.debugLine="B4XPages.MainPage.ocultaProgreso"; +parent.mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._ocultaprogreso /*String*/ (null); +RDebugUtils.currentLine=589846; + //BA.debugLineNum = 589846;BA.debugLine="Log(\"ocultamos prigreso DOWNLOAD APK\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("8589846","ocultamos prigreso DOWNLOAD APK",0); + if (true) break; + +case 8: +//C +this.state = -1; +; +RDebugUtils.currentLine=589848; + //BA.debugLineNum = 589848;BA.debugLine="job_newAPP.Release"; +_job_newapp._release /*String*/ (null); +RDebugUtils.currentLine=589850; + //BA.debugLineNum = 589850;BA.debugLine="Dim in As Intent"; +_in = new anywheresoftware.b4a.objects.IntentWrapper(); +RDebugUtils.currentLine=589851; + //BA.debugLineNum = 589851;BA.debugLine="in.Initialize(in.ACTION_VIEW,\"\" )"; +_in.Initialize(_in.ACTION_VIEW,""); +RDebugUtils.currentLine=589852; + //BA.debugLineNum = 589852;BA.debugLine="SetFileUriAsIntentData(in, \"newapp.apk\")"; +_setfileuriasintentdata(_in,"newapp.apk"); +RDebugUtils.currentLine=589854; + //BA.debugLineNum = 589854;BA.debugLine="in.SetType(\"application/vnd.android.package-archi"; +_in.SetType("application/vnd.android.package-archive"); +RDebugUtils.currentLine=589855; + //BA.debugLineNum = 589855;BA.debugLine="StartActivity(in)"; +anywheresoftware.b4a.keywords.Common.StartActivity(processBA,(Object)(_in.getObject())); +RDebugUtils.currentLine=589856; + //BA.debugLineNum = 589856;BA.debugLine="n2.Cancel(nNewAppnID)"; +parent._n2.Cancel(parent._nnewappnid); +RDebugUtils.currentLine=589858; + //BA.debugLineNum = 589858;BA.debugLine="StopService(Me)"; +anywheresoftware.b4a.keywords.Common.StopService(processBA,appupdater.getObject()); +RDebugUtils.currentLine=589860; + //BA.debugLineNum = 589860;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +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=1114112; + //BA.debugLineNum = 1114112;BA.debugLine="Sub SetFileUriAsIntentData (Intent As Intent, File"; +RDebugUtils.currentLine=1114113; + //BA.debugLineNum = 1114113;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=1114114; + //BA.debugLineNum = 1114114;BA.debugLine="jo.RunMethod(\"setData\", Array(GetFileUri(FileName"; +_jo.RunMethod("setData",new Object[]{_getfileuri(_filename)}); +RDebugUtils.currentLine=1114115; + //BA.debugLineNum = 1114115;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=1114116; + //BA.debugLineNum = 1114116;BA.debugLine="End Sub"; +return ""; +} +public static String _download_start(anywheresoftware.b4a.objects.IntentWrapper _startingintent) throws Exception{ +RDebugUtils.currentModule="appupdater"; +if (Debug.shouldDelegate(processBA, "download_start", false)) + {return ((String) Debug.delegate(processBA, "download_start", new Object[] {_startingintent}));} +RDebugUtils.currentLine=524288; + //BA.debugLineNum = 524288;BA.debugLine="Sub download_Start (StartingIntent As Intent)"; +RDebugUtils.currentLine=524289; + //BA.debugLineNum = 524289;BA.debugLine="download_newApk"; +_download_newapk(); +RDebugUtils.currentLine=524290; + //BA.debugLineNum = 524290;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; +RDebugUtils.currentLine=983040; + //BA.debugLineNum = 983040;BA.debugLine="Sub fileProvider_init"; +RDebugUtils.currentLine=983041; + //BA.debugLineNum = 983041;BA.debugLine="Dim p As Phone"; +_p = new anywheresoftware.b4a.phone.Phone(); +RDebugUtils.currentLine=983042; + //BA.debugLineNum = 983042;BA.debugLine="If p.SdkVersion >= 24 Or File.ExternalWritable ="; +if (_p.getSdkVersion()>=24 || anywheresoftware.b4a.keywords.Common.File.getExternalWritable()==anywheresoftware.b4a.keywords.Common.False) { +RDebugUtils.currentLine=983043; + //BA.debugLineNum = 983043;BA.debugLine="UseFileProvider = True"; +_usefileprovider = anywheresoftware.b4a.keywords.Common.True; +RDebugUtils.currentLine=983044; + //BA.debugLineNum = 983044;BA.debugLine="SharedFolder = File.Combine(File.DirInternal, \"s"; +_sharedfolder = anywheresoftware.b4a.keywords.Common.File.Combine(anywheresoftware.b4a.keywords.Common.File.getDirInternal(),"shared"); +RDebugUtils.currentLine=983045; + //BA.debugLineNum = 983045;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"))) { +RDebugUtils.currentLine=983046; + //BA.debugLineNum = 983046;BA.debugLine="File.MakeDir(\"\", SharedFolder)"; +anywheresoftware.b4a.keywords.Common.File.MakeDir("",_sharedfolder); + }; + }else { +RDebugUtils.currentLine=983049; + //BA.debugLineNum = 983049;BA.debugLine="UseFileProvider = False"; +_usefileprovider = anywheresoftware.b4a.keywords.Common.False; +RDebugUtils.currentLine=983050; + //BA.debugLineNum = 983050;BA.debugLine="SharedFolder = rp.GetSafeDirDefaultExternal(\"sha"; +_sharedfolder = _rp.GetSafeDirDefaultExternal("shared"); + }; +RDebugUtils.currentLine=983052; + //BA.debugLineNum = 983052;BA.debugLine="Log($\"Using FileProvider? - ${UseFileProvider}\"$)"; +anywheresoftware.b4a.keywords.Common.LogImpl("8983052",("Using FileProvider? - "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_usefileprovider))+""),0); +RDebugUtils.currentLine=983053; + //BA.debugLineNum = 983053;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; +RDebugUtils.currentLine=1048576; + //BA.debugLineNum = 1048576;BA.debugLine="Sub GetFileUri (FileName As String) As Object"; +RDebugUtils.currentLine=1048577; + //BA.debugLineNum = 1048577;BA.debugLine="Try"; +try {RDebugUtils.currentLine=1048578; + //BA.debugLineNum = 1048578;BA.debugLine="If Not(UseFileProvider) Then"; +if (anywheresoftware.b4a.keywords.Common.Not(_usefileprovider)) { +RDebugUtils.currentLine=1048579; + //BA.debugLineNum = 1048579;BA.debugLine="Dim uri As JavaObject"; +_uri = new anywheresoftware.b4j.object.JavaObject(); +RDebugUtils.currentLine=1048580; + //BA.debugLineNum = 1048580;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))}); + }; +RDebugUtils.currentLine=1048582; + //BA.debugLineNum = 1048582;BA.debugLine="Dim f As JavaObject"; +_f = new anywheresoftware.b4j.object.JavaObject(); +RDebugUtils.currentLine=1048583; + //BA.debugLineNum = 1048583;BA.debugLine="f.InitializeNewInstance(\"java.io.File\", Array(Sh"; +_f.InitializeNewInstance("java.io.File",new Object[]{(Object)(_sharedfolder),(Object)(_filename)}); +RDebugUtils.currentLine=1048584; + //BA.debugLineNum = 1048584;BA.debugLine="Dim fp As JavaObject"; +_fp = new anywheresoftware.b4j.object.JavaObject(); +RDebugUtils.currentLine=1048585; + //BA.debugLineNum = 1048585;BA.debugLine="Dim context As JavaObject"; +_context = new anywheresoftware.b4j.object.JavaObject(); +RDebugUtils.currentLine=1048586; + //BA.debugLineNum = 1048586;BA.debugLine="context.InitializeContext"; +_context.InitializeContext(processBA); +RDebugUtils.currentLine=1048587; + //BA.debugLineNum = 1048587;BA.debugLine="fp.InitializeStatic(\"android.support.v4.content."; +_fp.InitializeStatic("androidx.core.content.FileProvider"); +RDebugUtils.currentLine=1048588; + //BA.debugLineNum = 1048588;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);RDebugUtils.currentLine=1048590; + //BA.debugLineNum = 1048590;BA.debugLine="Log(\"FileProvider::GetFileUri - error - \" & Last"; +anywheresoftware.b4a.keywords.Common.LogImpl("81048590","FileProvider::GetFileUri - error - "+anywheresoftware.b4a.keywords.Common.LastException(processBA).getMessage(),0); +RDebugUtils.currentLine=1048591; + //BA.debugLineNum = 1048591;BA.debugLine="Return \"\""; +if (true) return (Object)(""); + }; +RDebugUtils.currentLine=1048593; + //BA.debugLineNum = 1048593;BA.debugLine="End Sub"; +return null; +} +public static String _service_create() throws Exception{ +RDebugUtils.currentModule="appupdater"; +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=393217; + //BA.debugLineNum = 393217;BA.debugLine="Log(\"appUpdater(), Service_Create\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("8393217","appUpdater(), Service_Create",0); +RDebugUtils.currentLine=393218; + //BA.debugLineNum = 393218;BA.debugLine="newApp.Initialize"; +_newapp.Initialize(); +RDebugUtils.currentLine=393219; + //BA.debugLineNum = 393219;BA.debugLine="Service.AutomaticForegroundMode = Service.AUTOMAT"; +mostCurrent._service.AutomaticForegroundMode = mostCurrent._service.AUTOMATIC_FOREGROUND_NEVER; +RDebugUtils.currentLine=393220; + //BA.debugLineNum = 393220;BA.debugLine="n2.Initialize"; +_n2.Initialize(); +RDebugUtils.currentLine=393221; + //BA.debugLineNum = 393221;BA.debugLine="nativeMe.InitializeContext"; +_nativeme.InitializeContext(processBA); +RDebugUtils.currentLine=393222; + //BA.debugLineNum = 393222;BA.debugLine="End Sub"; +return ""; +} +public static String _service_destroy() throws Exception{ +RDebugUtils.currentModule="appupdater"; +if (Debug.shouldDelegate(processBA, "service_destroy", false)) + {return ((String) Debug.delegate(processBA, "service_destroy", null));} +RDebugUtils.currentLine=917504; + //BA.debugLineNum = 917504;BA.debugLine="Sub Service_Destroy"; +RDebugUtils.currentLine=917505; + //BA.debugLineNum = 917505;BA.debugLine="Log(\"appUpdater(), Service_Destroy\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("8917505","appUpdater(), Service_Destroy",0); +RDebugUtils.currentLine=917506; + //BA.debugLineNum = 917506;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); +} +public static class ResumableSub_Service_Start extends BA.ResumableSub { +public ResumableSub_Service_Start(reparto_izca.keymon.lat.appupdater parent,anywheresoftware.b4a.objects.IntentWrapper _startingintent) { +this.parent = parent; +this._startingintent = _startingintent; +} +reparto_izca.keymon.lat.appupdater parent; +anywheresoftware.b4a.objects.IntentWrapper _startingintent; +reparto_izca.keymon.lat.httpjob _j = null; +String[] _app = null; + +@Override +public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="appupdater"; + + while (true) { +try { + + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +RDebugUtils.currentLine=458753; + //BA.debugLineNum = 458753;BA.debugLine="Log(\"appUpdater(), Service_Start\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("8458753","appUpdater(), Service_Start",0); +RDebugUtils.currentLine=458755; + //BA.debugLineNum = 458755;BA.debugLine="B4XPages.MainPage.muestraProgreso(\"Buscando actua"; +parent.mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._muestraprogreso /*String*/ (null,"Buscando actualización"); +RDebugUtils.currentLine=458756; + //BA.debugLineNum = 458756;BA.debugLine="Log(\"Buscando actualización\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("8458756","Buscando actualización",0); +RDebugUtils.currentLine=458757; + //BA.debugLineNum = 458757;BA.debugLine="fileProvider_init"; +_fileprovider_init(); +RDebugUtils.currentLine=458758; + //BA.debugLineNum = 458758;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: +//C +this.state = 1; +_j = (reparto_izca.keymon.lat.httpjob) result[0]; +; +RDebugUtils.currentLine=458759; + //BA.debugLineNum = 458759;BA.debugLine="If j.Success Then"; +if (true) break; + +case 1: +//if +this.state = 19; +if (_j._success /*boolean*/ ) { +this.state = 3; +}else { +this.state = 18; +}if (true) break; + +case 3: +//C +this.state = 4; +RDebugUtils.currentLine=458760; + //BA.debugLineNum = 458760;BA.debugLine="Try"; +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; +RDebugUtils.currentLine=458761; + //BA.debugLineNum = 458761;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=458763; + //BA.debugLineNum = 458763;BA.debugLine="newApp.appLink = app(3) 'Liga a nueva app"; +parent._newapp.appLink /*String*/ = _app[(int) (3)]; +RDebugUtils.currentLine=458764; + //BA.debugLineNum = 458764;BA.debugLine="newApp.newMsg = app(1) 'Texto de que hay actual"; +parent._newapp.newMsg /*String*/ = _app[(int) (1)]; +RDebugUtils.currentLine=458765; + //BA.debugLineNum = 458765;BA.debugLine="newApp.okMsg = app(2) 'Texto de app al corrient"; +parent._newapp.okMsg /*String*/ = _app[(int) (2)]; +RDebugUtils.currentLine=458766; + //BA.debugLineNum = 458766;BA.debugLine="newApp.version = app(0) 'Version actual"; +parent._newapp.version /*String*/ = _app[(int) (0)]; +RDebugUtils.currentLine=458768; + //BA.debugLineNum = 458768;BA.debugLine="Log($\"Application.VersionName=${Application.Ver"; +anywheresoftware.b4a.keywords.Common.LogImpl("8458768",("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=458771; + //BA.debugLineNum = 458771;BA.debugLine="If newApp.version = Application.VersionName Th"; +if (true) break; + +case 7: +//if +this.state = 10; +if ((parent._newapp.version /*String*/ ).equals(anywheresoftware.b4a.keywords.Common.Application.getVersionName())) { +this.state = 9; +}if (true) break; + +case 9: +//C +this.state = 10; +RDebugUtils.currentLine=458772; + //BA.debugLineNum = 458772;BA.debugLine="newApp.update = False"; +parent._newapp.update /*boolean*/ = anywheresoftware.b4a.keywords.Common.False; +RDebugUtils.currentLine=458773; + //BA.debugLineNum = 458773;BA.debugLine="Log(\"No new app\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("8458773","No new app",0); +RDebugUtils.currentLine=458774; + //BA.debugLineNum = 458774;BA.debugLine="B4XPages.ShowPage(\"updateAvailable\")"; +parent.mostCurrent._b4xpages._showpage /*String*/ (processBA,"updateAvailable"); +RDebugUtils.currentLine=458776; + //BA.debugLineNum = 458776;BA.debugLine="CreateNotification2(\"Aplicacion al corriente\","; +_createnotification2("Aplicacion al corriente","No hay actualizaciones disponibles","ic_file_download_white_24dp",(Object)(parent.mostCurrent._main.getObject()),anywheresoftware.b4a.keywords.Common.True,anywheresoftware.b4a.keywords.Common.True,parent._nnewapp,parent._nnewappnid); + if (true) break; +; +RDebugUtils.currentLine=458778; + //BA.debugLineNum = 458778;BA.debugLine="If newApp.version <> Application.VersionName T"; + +case 10: +//if +this.state = 13; +if ((parent._newapp.version /*String*/ ).equals(anywheresoftware.b4a.keywords.Common.Application.getVersionName()) == false) { +this.state = 12; +}if (true) break; + +case 12: +//C +this.state = 13; +RDebugUtils.currentLine=458779; + //BA.debugLineNum = 458779;BA.debugLine="newApp.update = True"; +parent._newapp.update /*boolean*/ = anywheresoftware.b4a.keywords.Common.True; +RDebugUtils.currentLine=458780; + //BA.debugLineNum = 458780;BA.debugLine="Log(\"New app true\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("8458780","New app true",0); +RDebugUtils.currentLine=458781; + //BA.debugLineNum = 458781;BA.debugLine="B4XPages.ShowPage(\"updateAvailable\")"; +parent.mostCurrent._b4xpages._showpage /*String*/ (processBA,"updateAvailable"); + if (true) break; + +case 13: +//C +this.state = 16; +; + if (true) break; + +case 15: +//C +this.state = 16; +this.catchState = 0; +RDebugUtils.currentLine=458786; + //BA.debugLineNum = 458786;BA.debugLine="Log(\"appUpdater(), Job Failed, error \" & LastE"; +anywheresoftware.b4a.keywords.Common.LogImpl("8458786","appUpdater(), Job Failed, error "+anywheresoftware.b4a.keywords.Common.LastException(processBA).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; +RDebugUtils.currentLine=458789; + //BA.debugLineNum = 458789;BA.debugLine="Log(\"appUpdater(), Job Failed \" & lnk)"; +anywheresoftware.b4a.keywords.Common.LogImpl("8458789","appUpdater(), Job Failed "+parent._lnk,0); + if (true) break; + +case 19: +//C +this.state = -1; +; +RDebugUtils.currentLine=458791; + //BA.debugLineNum = 458791;BA.debugLine="j.Release"; +_j._release /*String*/ (null); +RDebugUtils.currentLine=458793; + //BA.debugLineNum = 458793;BA.debugLine="End Sub"; +if (true) break; +}} + catch (Exception e0) { + +if (catchState == 0) + throw e0; +else { + state = catchState; +processBA.setLastException(e0);} + } + } + } +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/b4xbitset.java b/B4A/Objects/src/reparto_izca/keymon/lat/b4xbitset.java new file mode 100644 index 0000000..240d367 --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/b4xbitset.java @@ -0,0 +1,180 @@ +package reparto_izca.keymon.lat; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.B4AClass; +import anywheresoftware.b4a.BALayout; +import anywheresoftware.b4a.debug.*; + +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 anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "reparto_izca.keymon.lat.b4xbitset"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", reparto_izca.keymon.lat.b4xbitset.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 int[] _data = null; +public int _msize = 0; +public b4a.example.dateutils _dateutils = null; +public reparto_izca.keymon.lat.main _main = null; +public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; +public reparto_izca.keymon.lat.foto _foto = null; +public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_izca.keymon.lat.starter _starter = null; +public reparto_izca.keymon.lat.tracker _tracker = null; +public reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public String _class_globals(reparto_izca.keymon.lat.b4xbitset __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbitset"; +RDebugUtils.currentLine=30343168; + //BA.debugLineNum = 30343168;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=30343172; + //BA.debugLineNum = 30343172;BA.debugLine="Private data() As Int"; +_data = new int[(int) (0)]; +; +RDebugUtils.currentLine=30343174; + //BA.debugLineNum = 30343174;BA.debugLine="Private mSize As Int"; +_msize = 0; +RDebugUtils.currentLine=30343175; + //BA.debugLineNum = 30343175;BA.debugLine="End Sub"; +return ""; +} +public String _clear(reparto_izca.keymon.lat.b4xbitset __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbitset"; +if (Debug.shouldDelegate(ba, "clear", true)) + {return ((String) Debug.delegate(ba, "clear", null));} +RDebugUtils.currentLine=30670848; + //BA.debugLineNum = 30670848;BA.debugLine="Public Sub Clear"; +RDebugUtils.currentLine=30670852; + //BA.debugLineNum = 30670852;BA.debugLine="Dim data(Bit.ShiftRight(mSize, 5) + 1) As Int"; +_data = new int[(int) (__c.Bit.ShiftRight(__ref._msize /*int*/ ,(int) (5))+1)]; +; +RDebugUtils.currentLine=30670854; + //BA.debugLineNum = 30670854;BA.debugLine="End Sub"; +return ""; +} +public boolean _get(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=30539776; + //BA.debugLineNum = 30539776;BA.debugLine="Public Sub Get(Index As Int) As Boolean"; +RDebugUtils.currentLine=30539777; + //BA.debugLineNum = 30539777;BA.debugLine="Dim dindex As Int = Bit.ShiftRight(Index, 5)"; +_dindex = __c.Bit.ShiftRight(_index,(int) (5)); +RDebugUtils.currentLine=30539778; + //BA.debugLineNum = 30539778;BA.debugLine="Dim offset As Int = Bit.And(0x0000001f, Index)"; +_offset = __c.Bit.And(((int)0x0000001f),_index); +RDebugUtils.currentLine=30539782; + //BA.debugLineNum = 30539782;BA.debugLine="Dim BlockValue As Int = data(dindex)"; +_blockvalue = __ref._data /*int[]*/ [_dindex]; +RDebugUtils.currentLine=30539784; + //BA.debugLineNum = 30539784;BA.debugLine="Return Bit.And(BlockValue, Bit.ShiftLeft(1, offse"; +if (true) return __c.Bit.And(_blockvalue,__c.Bit.ShiftLeft((int) (1),_offset))!=0; +RDebugUtils.currentLine=30539785; + //BA.debugLineNum = 30539785;BA.debugLine="End Sub"; +return false; +} +public int _getsize(reparto_izca.keymon.lat.b4xbitset __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbitset"; +if (Debug.shouldDelegate(ba, "getsize", true)) + {return ((Integer) Debug.delegate(ba, "getsize", null));} +RDebugUtils.currentLine=30605312; + //BA.debugLineNum = 30605312;BA.debugLine="Public Sub getSize As Int"; +RDebugUtils.currentLine=30605313; + //BA.debugLineNum = 30605313;BA.debugLine="Return mSize"; +if (true) return __ref._msize /*int*/ ; +RDebugUtils.currentLine=30605314; + //BA.debugLineNum = 30605314;BA.debugLine="End Sub"; +return 0; +} +public String _initialize(reparto_izca.keymon.lat.b4xbitset __ref,anywheresoftware.b4a.BA _ba,int _size) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="b4xbitset"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba,_size}));} +RDebugUtils.currentLine=30408704; + //BA.debugLineNum = 30408704;BA.debugLine="Public Sub Initialize (Size As Int)"; +RDebugUtils.currentLine=30408705; + //BA.debugLineNum = 30408705;BA.debugLine="mSize = Size"; +__ref._msize /*int*/ = _size; +RDebugUtils.currentLine=30408706; + //BA.debugLineNum = 30408706;BA.debugLine="Clear"; +__ref._clear /*String*/ (null); +RDebugUtils.currentLine=30408707; + //BA.debugLineNum = 30408707;BA.debugLine="End Sub"; +return ""; +} +public String _set(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=30474240; + //BA.debugLineNum = 30474240;BA.debugLine="Public Sub Set(Index As Int, Value As Boolean)"; +RDebugUtils.currentLine=30474241; + //BA.debugLineNum = 30474241;BA.debugLine="Dim dindex As Int = Bit.ShiftRight(Index, 5)"; +_dindex = __c.Bit.ShiftRight(_index,(int) (5)); +RDebugUtils.currentLine=30474242; + //BA.debugLineNum = 30474242;BA.debugLine="Dim offset As Int = Bit.And(0x0000001f, Index)"; +_offset = __c.Bit.And(((int)0x0000001f),_index); +RDebugUtils.currentLine=30474246; + //BA.debugLineNum = 30474246;BA.debugLine="Dim BlockValue As Int = data(dindex)"; +_blockvalue = __ref._data /*int[]*/ [_dindex]; +RDebugUtils.currentLine=30474248; + //BA.debugLineNum = 30474248;BA.debugLine="Dim NewBlockValue As Int"; +_newblockvalue = 0; +RDebugUtils.currentLine=30474249; + //BA.debugLineNum = 30474249;BA.debugLine="If Value Then"; +if (_value) { +RDebugUtils.currentLine=30474250; + //BA.debugLineNum = 30474250;BA.debugLine="NewBlockValue = Bit.Or(BlockValue, Bit.ShiftLeft"; +_newblockvalue = __c.Bit.Or(_blockvalue,__c.Bit.ShiftLeft((int) (1),_offset)); + }else { +RDebugUtils.currentLine=30474252; + //BA.debugLineNum = 30474252;BA.debugLine="NewBlockValue = Bit.And(BlockValue, Bit.Not(Bit."; +_newblockvalue = __c.Bit.And(_blockvalue,__c.Bit.Not(__c.Bit.ShiftLeft((int) (1),_offset))); + }; +RDebugUtils.currentLine=30474257; + //BA.debugLineNum = 30474257;BA.debugLine="data(dindex) = NewBlockValue"; +__ref._data /*int[]*/ [_dindex] = _newblockvalue; +RDebugUtils.currentLine=30474259; + //BA.debugLineNum = 30474259;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/b4xbreadcrumb.java b/B4A/Objects/src/reparto_izca/keymon/lat/b4xbreadcrumb.java new file mode 100644 index 0000000..f44461a --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/b4xbreadcrumb.java @@ -0,0 +1,564 @@ +package reparto_izca.keymon.lat; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.B4AClass; +import anywheresoftware.b4a.BALayout; +import anywheresoftware.b4a.debug.*; + +public class b4xbreadcrumb 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, "reparto_izca.keymon.lat.b4xbreadcrumb"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", reparto_izca.keymon.lat.b4xbreadcrumb.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 String _meventname = ""; +public Object _mcallback = null; +public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; +public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; +public anywheresoftware.b4a.objects.B4XCanvas _cvs = null; +public anywheresoftware.b4a.objects.collections.List _mitems = null; +public anywheresoftware.b4a.objects.collections.List _rightpositions = null; +public int _textcolor = 0; +public anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont _fnt = null; +public int _offset = 0; +public b4a.example.bitmapcreator _bc = null; +public int _crumbcolor = 0; +public anywheresoftware.b4a.objects.B4XViewWrapper _touchpanel = null; +public int _presseditem = 0; +public Object _tag = null; +public boolean _mhaptic = false; +public b4a.example.dateutils _dateutils = null; +public reparto_izca.keymon.lat.main _main = null; +public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; +public reparto_izca.keymon.lat.foto _foto = null; +public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_izca.keymon.lat.starter _starter = null; +public reparto_izca.keymon.lat.tracker _tracker = null; +public reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public String _base_resize(reparto_izca.keymon.lat.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=42336256; + //BA.debugLineNum = 42336256;BA.debugLine="Public Sub Base_Resize (Width As Double, Height As"; +RDebugUtils.currentLine=42336257; + //BA.debugLineNum = 42336257;BA.debugLine="cvs.Resize(Width, Height)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Resize((float) (_width),(float) (_height)); +RDebugUtils.currentLine=42336258; + //BA.debugLineNum = 42336258;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=42336259; + //BA.debugLineNum = 42336259;BA.debugLine="Draw"; +__ref._draw /*String*/ (null); +RDebugUtils.currentLine=42336260; + //BA.debugLineNum = 42336260;BA.debugLine="End Sub"; +return ""; +} +public String _draw(reparto_izca.keymon.lat.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; +int _left = 0; +int _i = 0; +int _sc = 0; +int _width = 0; +RDebugUtils.currentLine=42401792; + //BA.debugLineNum = 42401792;BA.debugLine="Private Sub Draw"; +RDebugUtils.currentLine=42401793; + //BA.debugLineNum = 42401793;BA.debugLine="cvs.ClearRect(cvs.TargetRect)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClearRect(__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect()); +RDebugUtils.currentLine=42401794; + //BA.debugLineNum = 42401794;BA.debugLine="Dim bcolor As ARGBColor"; +_bcolor = new b4a.example.bitmapcreator._argbcolor(); +RDebugUtils.currentLine=42401795; + //BA.debugLineNum = 42401795;BA.debugLine="bc.ColorToARGB(CrumbColor, bcolor)"; +__ref._bc /*b4a.example.bitmapcreator*/ ._colortoargb(__ref._crumbcolor /*int*/ ,_bcolor); +RDebugUtils.currentLine=42401796; + //BA.debugLineNum = 42401796;BA.debugLine="bcolor.r = Min(255, bcolor.r * 2)"; +_bcolor.r = (int) (__c.Min(255,_bcolor.r*2)); +RDebugUtils.currentLine=42401797; + //BA.debugLineNum = 42401797;BA.debugLine="bcolor.g = Min(255, bcolor.g * 2)"; +_bcolor.g = (int) (__c.Min(255,_bcolor.g*2)); +RDebugUtils.currentLine=42401798; + //BA.debugLineNum = 42401798;BA.debugLine="bcolor.b = Min(255, bcolor.b * 2)"; +_bcolor.b = (int) (__c.Min(255,_bcolor.b*2)); +RDebugUtils.currentLine=42401799; + //BA.debugLineNum = 42401799;BA.debugLine="Dim strokeColor As Int = bc.ARGBToColor(bcolor)"; +_strokecolor = __ref._bc /*b4a.example.bitmapcreator*/ ._argbtocolor(_bcolor); +RDebugUtils.currentLine=42401801; + //BA.debugLineNum = 42401801;BA.debugLine="bc.ColorToARGB(CrumbColor, bcolor)"; +__ref._bc /*b4a.example.bitmapcreator*/ ._colortoargb(__ref._crumbcolor /*int*/ ,_bcolor); +RDebugUtils.currentLine=42401802; + //BA.debugLineNum = 42401802;BA.debugLine="bcolor.r = bcolor.r * 0.8"; +_bcolor.r = (int) (_bcolor.r*0.8); +RDebugUtils.currentLine=42401803; + //BA.debugLineNum = 42401803;BA.debugLine="bcolor.g = bcolor.g * 0.8"; +_bcolor.g = (int) (_bcolor.g*0.8); +RDebugUtils.currentLine=42401804; + //BA.debugLineNum = 42401804;BA.debugLine="bcolor.b = bcolor.b * 0.8"; +_bcolor.b = (int) (_bcolor.b*0.8); +RDebugUtils.currentLine=42401805; + //BA.debugLineNum = 42401805;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=42401807; + //BA.debugLineNum = 42401807;BA.debugLine="RightPositions.Clear"; +__ref._rightpositions /*anywheresoftware.b4a.objects.collections.List*/ .Clear(); +RDebugUtils.currentLine=42401808; + //BA.debugLineNum = 42401808;BA.debugLine="If mItems.Size = 0 Then Return"; +if (__ref._mitems /*anywheresoftware.b4a.objects.collections.List*/ .getSize()==0) { +if (true) return "";}; +RDebugUtils.currentLine=42401809; + //BA.debugLineNum = 42401809;BA.debugLine="Dim Left As Int = 0"; +_left = (int) (0); +RDebugUtils.currentLine=42401810; + //BA.debugLineNum = 42401810;BA.debugLine="For i = 0 To mItems.Size - 1"; +{ +final int step16 = 1; +final int limit16 = (int) (__ref._mitems /*anywheresoftware.b4a.objects.collections.List*/ .getSize()-1); +_i = (int) (0) ; +for (;_i <= limit16 ;_i = _i + step16 ) { +RDebugUtils.currentLine=42401811; + //BA.debugLineNum = 42401811;BA.debugLine="Dim sc As Int"; +_sc = 0; +RDebugUtils.currentLine=42401812; + //BA.debugLineNum = 42401812;BA.debugLine="If PressedItem = i Then sc = strokeColor Else sc"; +if (__ref._presseditem /*int*/ ==_i) { +_sc = _strokecolor;} +else { +_sc = (int) (0);}; +RDebugUtils.currentLine=42401813; + //BA.debugLineNum = 42401813;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=42401814; + //BA.debugLineNum = 42401814;BA.debugLine="Left = Left + width + offset + 2dip"; +_left = (int) (_left+_width+__ref._offset /*int*/ +__c.DipToCurrent((int) (2))); +RDebugUtils.currentLine=42401815; + //BA.debugLineNum = 42401815;BA.debugLine="RightPositions.Add(Left)"; +__ref._rightpositions /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(_left)); + } +}; +RDebugUtils.currentLine=42401817; + //BA.debugLineNum = 42401817;BA.debugLine="cvs.Invalidate"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Invalidate(); +RDebugUtils.currentLine=42401818; + //BA.debugLineNum = 42401818;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(reparto_izca.keymon.lat.b4xbreadcrumb __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbreadcrumb"; +RDebugUtils.currentLine=42139648; + //BA.debugLineNum = 42139648;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=42139649; + //BA.debugLineNum = 42139649;BA.debugLine="Private mEventName As String 'ignore"; +_meventname = ""; +RDebugUtils.currentLine=42139650; + //BA.debugLineNum = 42139650;BA.debugLine="Private mCallBack As Object 'ignore"; +_mcallback = new Object(); +RDebugUtils.currentLine=42139651; + //BA.debugLineNum = 42139651;BA.debugLine="Public mBase As B4XView 'ignore"; +_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=42139652; + //BA.debugLineNum = 42139652;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=42139653; + //BA.debugLineNum = 42139653;BA.debugLine="Private cvs As B4XCanvas"; +_cvs = new anywheresoftware.b4a.objects.B4XCanvas(); +RDebugUtils.currentLine=42139654; + //BA.debugLineNum = 42139654;BA.debugLine="Private mItems As List"; +_mitems = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=42139655; + //BA.debugLineNum = 42139655;BA.debugLine="Private RightPositions As List"; +_rightpositions = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=42139656; + //BA.debugLineNum = 42139656;BA.debugLine="Public TextColor As Int"; +_textcolor = 0; +RDebugUtils.currentLine=42139657; + //BA.debugLineNum = 42139657;BA.debugLine="Public fnt As B4XFont"; +_fnt = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont(); +RDebugUtils.currentLine=42139658; + //BA.debugLineNum = 42139658;BA.debugLine="Private offset As Int = 10dip"; +_offset = __c.DipToCurrent((int) (10)); +RDebugUtils.currentLine=42139659; + //BA.debugLineNum = 42139659;BA.debugLine="Private bc As BitmapCreator"; +_bc = new b4a.example.bitmapcreator(); +RDebugUtils.currentLine=42139660; + //BA.debugLineNum = 42139660;BA.debugLine="Public CrumbColor As Int"; +_crumbcolor = 0; +RDebugUtils.currentLine=42139661; + //BA.debugLineNum = 42139661;BA.debugLine="Private TouchPanel As B4XView"; +_touchpanel = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=42139662; + //BA.debugLineNum = 42139662;BA.debugLine="Private PressedItem As Int = -1"; +_presseditem = (int) (-1); +RDebugUtils.currentLine=42139663; + //BA.debugLineNum = 42139663;BA.debugLine="Public Tag As Object"; +_tag = new Object(); +RDebugUtils.currentLine=42139664; + //BA.debugLineNum = 42139664;BA.debugLine="Public mHaptic As Boolean"; +_mhaptic = false; +RDebugUtils.currentLine=42139665; + //BA.debugLineNum = 42139665;BA.debugLine="End Sub"; +return ""; +} +public String _designercreateview(reparto_izca.keymon.lat.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=42270720; + //BA.debugLineNum = 42270720;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; +RDebugUtils.currentLine=42270721; + //BA.debugLineNum = 42270721;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=42270722; + //BA.debugLineNum = 42270722;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._tag /*Object*/ = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTag(); +RDebugUtils.currentLine=42270722; + //BA.debugLineNum = 42270722;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag(this); +RDebugUtils.currentLine=42270723; + //BA.debugLineNum = 42270723;BA.debugLine="cvs.Initialize(mBase)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Initialize(__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ); +RDebugUtils.currentLine=42270724; + //BA.debugLineNum = 42270724;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=42270725; + //BA.debugLineNum = 42270725;BA.debugLine="fnt = xlbl.Font"; +__ref._fnt /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ = _xlbl.getFont(); +RDebugUtils.currentLine=42270726; + //BA.debugLineNum = 42270726;BA.debugLine="TextColor = xlbl.TextColor"; +__ref._textcolor /*int*/ = _xlbl.getTextColor(); +RDebugUtils.currentLine=42270727; + //BA.debugLineNum = 42270727;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=42270728; + //BA.debugLineNum = 42270728;BA.debugLine="mHaptic = Props.GetDefault(\"HapticFeedback\", Fals"; +__ref._mhaptic /*boolean*/ = BA.ObjectToBoolean(_props.GetDefault((Object)("HapticFeedback"),(Object)(__c.False))); +RDebugUtils.currentLine=42270729; + //BA.debugLineNum = 42270729;BA.debugLine="TouchPanel = xui.CreatePanel(\"Touch\")"; +__ref._touchpanel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,"Touch"); +RDebugUtils.currentLine=42270730; + //BA.debugLineNum = 42270730;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=42270731; + //BA.debugLineNum = 42270731;BA.debugLine="Dim items As String = Props.Get(\"Items\")"; +_items = BA.ObjectToString(_props.Get((Object)("Items"))); +RDebugUtils.currentLine=42270732; + //BA.debugLineNum = 42270732;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=42270733; + //BA.debugLineNum = 42270733;BA.debugLine="mItems.Add(s)"; +__ref._mitems /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(_s)); + } +}; +RDebugUtils.currentLine=42270735; + //BA.debugLineNum = 42270735;BA.debugLine="Draw"; +__ref._draw /*String*/ (null); +RDebugUtils.currentLine=42270736; + //BA.debugLineNum = 42270736;BA.debugLine="End Sub"; +return ""; +} +public int _drawitem(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=42467328; + //BA.debugLineNum = 42467328;BA.debugLine="Private Sub DrawItem(Left As Int, Text As String,"; +RDebugUtils.currentLine=42467329; + //BA.debugLineNum = 42467329;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=42467330; + //BA.debugLineNum = 42467330;BA.debugLine="Dim ItemWidth As Int = r.Width + 30dip"; +_itemwidth = (int) (_r.getWidth()+__c.DipToCurrent((int) (30))); +RDebugUtils.currentLine=42467331; + //BA.debugLineNum = 42467331;BA.debugLine="Dim ItemHeight As Int = cvs.TargetRect.Height"; +_itemheight = (int) (__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getHeight()); +RDebugUtils.currentLine=42467332; + //BA.debugLineNum = 42467332;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=42467333; + //BA.debugLineNum = 42467333;BA.debugLine="Dim p As B4XPath"; +_p = new anywheresoftware.b4a.objects.B4XCanvas.B4XPath(); +RDebugUtils.currentLine=42467334; + //BA.debugLineNum = 42467334;BA.debugLine="p.Initialize(Left, 0)"; +_p.Initialize((float) (_left),(float) (0)); +RDebugUtils.currentLine=42467335; + //BA.debugLineNum = 42467335;BA.debugLine="p.LineTo(Left + ItemWidth, 0)"; +_p.LineTo((float) (_left+_itemwidth),(float) (0)); +RDebugUtils.currentLine=42467336; + //BA.debugLineNum = 42467336;BA.debugLine="If Last = False Then"; +if (_last==__c.False) { +RDebugUtils.currentLine=42467337; + //BA.debugLineNum = 42467337;BA.debugLine="p.LineTo(Left + ItemWidth + offset, ItemHeight /"; +_p.LineTo((float) (_left+_itemwidth+__ref._offset /*int*/ ),(float) (_itemheight/(double)2)); + }; +RDebugUtils.currentLine=42467339; + //BA.debugLineNum = 42467339;BA.debugLine="p.LineTo(Left + ItemWidth, ItemHeight)"; +_p.LineTo((float) (_left+_itemwidth),(float) (_itemheight)); +RDebugUtils.currentLine=42467340; + //BA.debugLineNum = 42467340;BA.debugLine="If First = False Then"; +if (_first==__c.False) { +RDebugUtils.currentLine=42467341; + //BA.debugLineNum = 42467341;BA.debugLine="p.LineTo(Left - offset, ItemHeight)"; +_p.LineTo((float) (_left-__ref._offset /*int*/ ),(float) (_itemheight)); +RDebugUtils.currentLine=42467342; + //BA.debugLineNum = 42467342;BA.debugLine="p.LineTo(Left, ItemHeight / 2)"; +_p.LineTo((float) (_left),(float) (_itemheight/(double)2)); +RDebugUtils.currentLine=42467343; + //BA.debugLineNum = 42467343;BA.debugLine="p.LineTo(Left - offset, 0)"; +_p.LineTo((float) (_left-__ref._offset /*int*/ ),(float) (0)); + }else { +RDebugUtils.currentLine=42467345; + //BA.debugLineNum = 42467345;BA.debugLine="p.LineTo(Left, ItemHeight)"; +_p.LineTo((float) (_left),(float) (_itemheight)); + }; +RDebugUtils.currentLine=42467347; + //BA.debugLineNum = 42467347;BA.debugLine="p.LineTo(Left, 0)"; +_p.LineTo((float) (_left),(float) (0)); +RDebugUtils.currentLine=42467348; + //BA.debugLineNum = 42467348;BA.debugLine="cvs.DrawPath(p, clr, True, 0)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawPath(_p,_clr,__c.True,(float) (0)); +RDebugUtils.currentLine=42467349; + //BA.debugLineNum = 42467349;BA.debugLine="If strokeColor <> 0 Then"; +if (_strokecolor!=0) { +RDebugUtils.currentLine=42467350; + //BA.debugLineNum = 42467350;BA.debugLine="cvs.DrawPath(p, strokeColor, False, 3dip)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawPath(_p,_strokecolor,__c.False,(float) (__c.DipToCurrent((int) (3)))); + }; +RDebugUtils.currentLine=42467353; + //BA.debugLineNum = 42467353;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=42467354; + //BA.debugLineNum = 42467354;BA.debugLine="Return ItemWidth"; +if (true) return _itemwidth; +RDebugUtils.currentLine=42467355; + //BA.debugLineNum = 42467355;BA.debugLine="End Sub"; +return 0; +} +public int _finditem(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=42598400; + //BA.debugLineNum = 42598400;BA.debugLine="Private Sub FindItem (x As Int, y As Int) As Int"; +RDebugUtils.currentLine=42598401; + //BA.debugLineNum = 42598401;BA.debugLine="If RightPositions.Size = 0 Then Return -1"; +if (__ref._rightpositions /*anywheresoftware.b4a.objects.collections.List*/ .getSize()==0) { +if (true) return (int) (-1);}; +RDebugUtils.currentLine=42598402; + //BA.debugLineNum = 42598402;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);}; +RDebugUtils.currentLine=42598403; + //BA.debugLineNum = 42598403;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=42598404; + //BA.debugLineNum = 42598404;BA.debugLine="If x > r Then Return -1"; +if (_x>_r) { +if (true) return (int) (-1);}; +RDebugUtils.currentLine=42598405; + //BA.debugLineNum = 42598405;BA.debugLine="For i = RightPositions.Size - 2 To 0 Step -1"; +{ +final int step5 = -1; +final int limit5 = (int) (0); +_i = (int) (__ref._rightpositions /*anywheresoftware.b4a.objects.collections.List*/ .getSize()-2) ; +for (;_i >= limit5 ;_i = _i + step5 ) { +RDebugUtils.currentLine=42598406; + //BA.debugLineNum = 42598406;BA.debugLine="Dim r As Int = RightPositions.Get(i)"; +_r = (int)(BA.ObjectToNumber(__ref._rightpositions /*anywheresoftware.b4a.objects.collections.List*/ .Get(_i))); +RDebugUtils.currentLine=42598407; + //BA.debugLineNum = 42598407;BA.debugLine="If x > r Then Return i + 1"; +if (_x>_r) { +if (true) return (int) (_i+1);}; + } +}; +RDebugUtils.currentLine=42598409; + //BA.debugLineNum = 42598409;BA.debugLine="Return 0"; +if (true) return (int) (0); +RDebugUtils.currentLine=42598410; + //BA.debugLineNum = 42598410;BA.debugLine="End Sub"; +return 0; +} +public anywheresoftware.b4a.objects.collections.List _getitems(reparto_izca.keymon.lat.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=42729472; + //BA.debugLineNum = 42729472;BA.debugLine="Public Sub getItems As List"; +RDebugUtils.currentLine=42729473; + //BA.debugLineNum = 42729473;BA.debugLine="Return mItems"; +if (true) return __ref._mitems /*anywheresoftware.b4a.objects.collections.List*/ ; +RDebugUtils.currentLine=42729474; + //BA.debugLineNum = 42729474;BA.debugLine="End Sub"; +return null; +} +public String _initialize(reparto_izca.keymon.lat.b4xbreadcrumb __ref,anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="b4xbreadcrumb"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba,_callback,_eventname}));} +RDebugUtils.currentLine=42205184; + //BA.debugLineNum = 42205184;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +RDebugUtils.currentLine=42205185; + //BA.debugLineNum = 42205185;BA.debugLine="mEventName = EventName"; +__ref._meventname /*String*/ = _eventname; +RDebugUtils.currentLine=42205186; + //BA.debugLineNum = 42205186;BA.debugLine="mCallBack = Callback"; +__ref._mcallback /*Object*/ = _callback; +RDebugUtils.currentLine=42205187; + //BA.debugLineNum = 42205187;BA.debugLine="mItems.Initialize"; +__ref._mitems /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=42205188; + //BA.debugLineNum = 42205188;BA.debugLine="RightPositions.Initialize"; +__ref._rightpositions /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=42205189; + //BA.debugLineNum = 42205189;BA.debugLine="bc.Initialize(1, 1)"; +__ref._bc /*b4a.example.bitmapcreator*/ ._initialize(ba,(int) (1),(int) (1)); +RDebugUtils.currentLine=42205190; + //BA.debugLineNum = 42205190;BA.debugLine="End Sub"; +return ""; +} +public String _setitems(reparto_izca.keymon.lat.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=42663936; + //BA.debugLineNum = 42663936;BA.debugLine="Public Sub setItems (i As List)"; +RDebugUtils.currentLine=42663937; + //BA.debugLineNum = 42663937;BA.debugLine="mItems = i"; +__ref._mitems /*anywheresoftware.b4a.objects.collections.List*/ = _i; +RDebugUtils.currentLine=42663938; + //BA.debugLineNum = 42663938;BA.debugLine="Draw"; +__ref._draw /*String*/ (null); +RDebugUtils.currentLine=42663939; + //BA.debugLineNum = 42663939;BA.debugLine="End Sub"; +return ""; +} +public String _touch_touch(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=42532864; + //BA.debugLineNum = 42532864;BA.debugLine="Private Sub Touch_Touch (Action As Int, X As Float"; +RDebugUtils.currentLine=42532865; + //BA.debugLineNum = 42532865;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: { +RDebugUtils.currentLine=42532867; + //BA.debugLineNum = 42532867;BA.debugLine="Dim prev As Int = PressedItem"; +_prev = __ref._presseditem /*int*/ ; +RDebugUtils.currentLine=42532868; + //BA.debugLineNum = 42532868;BA.debugLine="PressedItem = FindItem(X, Y)"; +__ref._presseditem /*int*/ = __ref._finditem /*int*/ (null,(int) (_x),(int) (_y)); +RDebugUtils.currentLine=42532869; + //BA.debugLineNum = 42532869;BA.debugLine="If prev <> PressedItem Then Draw"; +if (_prev!=__ref._presseditem /*int*/ ) { +__ref._draw /*String*/ (null);}; + break; } +case 2: { +RDebugUtils.currentLine=42532871; + //BA.debugLineNum = 42532871;BA.debugLine="Dim index As Int = FindItem(X, Y)"; +_index = __ref._finditem /*int*/ (null,(int) (_x),(int) (_y)); +RDebugUtils.currentLine=42532872; + //BA.debugLineNum = 42532872;BA.debugLine="If index = PressedItem And index > -1 Then"; +if (_index==__ref._presseditem /*int*/ && _index>-1) { +RDebugUtils.currentLine=42532873; + //BA.debugLineNum = 42532873;BA.debugLine="Dim Items As List"; +_items = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=42532874; + //BA.debugLineNum = 42532874;BA.debugLine="Items.Initialize"; +_items.Initialize(); +RDebugUtils.currentLine=42532875; + //BA.debugLineNum = 42532875;BA.debugLine="For i = 0 To index"; +{ +final int step11 = 1; +final int limit11 = _index; +_i = (int) (0) ; +for (;_i <= limit11 ;_i = _i + step11 ) { +RDebugUtils.currentLine=42532876; + //BA.debugLineNum = 42532876;BA.debugLine="Items.Add(mItems.Get(i))"; +_items.Add(__ref._mitems /*anywheresoftware.b4a.objects.collections.List*/ .Get(_i)); + } +}; +RDebugUtils.currentLine=42532878; + //BA.debugLineNum = 42532878;BA.debugLine="If mHaptic Then XUIViewsUtils.PerformHapticFee"; +if (__ref._mhaptic /*boolean*/ ) { +_xuiviewsutils._performhapticfeedback /*String*/ (ba,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ );}; +RDebugUtils.currentLine=42532879; + //BA.debugLineNum = 42532879;BA.debugLine="CallSub2(mCallBack, mEventName & \"_CrumbClick\""; +__c.CallSubNew2(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_CrumbClick",(Object)(_items)); + }; +RDebugUtils.currentLine=42532881; + //BA.debugLineNum = 42532881;BA.debugLine="PressedItem = -1"; +__ref._presseditem /*int*/ = (int) (-1); +RDebugUtils.currentLine=42532882; + //BA.debugLineNum = 42532882;BA.debugLine="Draw"; +__ref._draw /*String*/ (null); + break; } +} +; +RDebugUtils.currentLine=42532884; + //BA.debugLineNum = 42532884;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/b4xbytesbuilder.java b/B4A/Objects/src/reparto_izca/keymon/lat/b4xbytesbuilder.java new file mode 100644 index 0000000..ae8bea7 --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/b4xbytesbuilder.java @@ -0,0 +1,422 @@ +package reparto_izca.keymon.lat; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.B4AClass; +import anywheresoftware.b4a.BALayout; +import anywheresoftware.b4a.debug.*; + +public class b4xbytesbuilder 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, "reparto_izca.keymon.lat.b4xbytesbuilder"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", reparto_izca.keymon.lat.b4xbytesbuilder.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 byte[] _mbuffer = null; +public int _mlength = 0; +public b4a.example.dateutils _dateutils = null; +public reparto_izca.keymon.lat.main _main = null; +public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; +public reparto_izca.keymon.lat.foto _foto = null; +public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_izca.keymon.lat.starter _starter = null; +public reparto_izca.keymon.lat.tracker _tracker = null; +public reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public reparto_izca.keymon.lat.b4xbytesbuilder _append(reparto_izca.keymon.lat.b4xbytesbuilder __ref,byte[] _data) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbytesbuilder"; +if (Debug.shouldDelegate(ba, "append", true)) + {return ((reparto_izca.keymon.lat.b4xbytesbuilder) Debug.delegate(ba, "append", new Object[] {_data}));} +RDebugUtils.currentLine=30932992; + //BA.debugLineNum = 30932992;BA.debugLine="Public Sub Append(Data() As Byte) As B4XBytesBuild"; +RDebugUtils.currentLine=30932993; + //BA.debugLineNum = 30932993;BA.debugLine="Return Append2(Data, 0, Data.Length)"; +if (true) return __ref._append2 /*reparto_izca.keymon.lat.b4xbytesbuilder*/ (null,_data,(int) (0),_data.length); +RDebugUtils.currentLine=30932994; + //BA.debugLineNum = 30932994;BA.debugLine="End Sub"; +return null; +} +public reparto_izca.keymon.lat.b4xbytesbuilder _append2(reparto_izca.keymon.lat.b4xbytesbuilder __ref,byte[] _data,int _startindex,int _length) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbytesbuilder"; +if (Debug.shouldDelegate(ba, "append2", true)) + {return ((reparto_izca.keymon.lat.b4xbytesbuilder) Debug.delegate(ba, "append2", new Object[] {_data,_startindex,_length}));} +int _oldlength = 0; +RDebugUtils.currentLine=30998528; + //BA.debugLineNum = 30998528;BA.debugLine="Public Sub Append2(Data() As Byte, StartIndex As I"; +RDebugUtils.currentLine=30998529; + //BA.debugLineNum = 30998529;BA.debugLine="Dim OldLength As Int = ChangeLength(mLength + Len"; +_oldlength = __ref._changelength /*int*/ (null,(int) (__ref._mlength /*int*/ +_length)); +RDebugUtils.currentLine=30998530; + //BA.debugLineNum = 30998530;BA.debugLine="Bit.ArrayCopy(Data, StartIndex, mBuffer, OldLengt"; +__c.Bit.ArrayCopy((Object)(_data),_startindex,(Object)(__ref._mbuffer /*byte[]*/ ),_oldlength,_length); +RDebugUtils.currentLine=30998531; + //BA.debugLineNum = 30998531;BA.debugLine="Return Me"; +if (true) return (reparto_izca.keymon.lat.b4xbytesbuilder)(this); +RDebugUtils.currentLine=30998532; + //BA.debugLineNum = 30998532;BA.debugLine="End Sub"; +return null; +} +public int _changelength(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=30867456; + //BA.debugLineNum = 30867456;BA.debugLine="Private Sub ChangeLength (NewLength As Int) As Int"; +RDebugUtils.currentLine=30867457; + //BA.debugLineNum = 30867457;BA.debugLine="Dim OldLength As Int = mLength"; +_oldlength = __ref._mlength /*int*/ ; +RDebugUtils.currentLine=30867458; + //BA.debugLineNum = 30867458;BA.debugLine="mLength = NewLength"; +__ref._mlength /*int*/ = _newlength; +RDebugUtils.currentLine=30867459; + //BA.debugLineNum = 30867459;BA.debugLine="If mBuffer.Length < mLength Then"; +if (__ref._mbuffer /*byte[]*/ .length<__ref._mlength /*int*/ ) { +RDebugUtils.currentLine=30867460; + //BA.debugLineNum = 30867460;BA.debugLine="Dim b(Max(mBuffer.Length * 2, NewLength)) As Byt"; +_b = new byte[(int) (__c.Max(__ref._mbuffer /*byte[]*/ .length*2,_newlength))]; +; +RDebugUtils.currentLine=30867461; + //BA.debugLineNum = 30867461;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=30867462; + //BA.debugLineNum = 30867462;BA.debugLine="mBuffer = b"; +__ref._mbuffer /*byte[]*/ = _b; + }; +RDebugUtils.currentLine=30867464; + //BA.debugLineNum = 30867464;BA.debugLine="Return OldLength"; +if (true) return _oldlength; +RDebugUtils.currentLine=30867465; + //BA.debugLineNum = 30867465;BA.debugLine="End Sub"; +return 0; +} +public String _class_globals(reparto_izca.keymon.lat.b4xbytesbuilder __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbytesbuilder"; +RDebugUtils.currentLine=30736384; + //BA.debugLineNum = 30736384;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=30736385; + //BA.debugLineNum = 30736385;BA.debugLine="Private mBuffer() As Byte"; +_mbuffer = new byte[(int) (0)]; +; +RDebugUtils.currentLine=30736386; + //BA.debugLineNum = 30736386;BA.debugLine="Private mLength As Int"; +_mlength = 0; +RDebugUtils.currentLine=30736387; + //BA.debugLineNum = 30736387;BA.debugLine="End Sub"; +return ""; +} +public String _clear(reparto_izca.keymon.lat.b4xbytesbuilder __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbytesbuilder"; +if (Debug.shouldDelegate(ba, "clear", true)) + {return ((String) Debug.delegate(ba, "clear", null));} +RDebugUtils.currentLine=31064064; + //BA.debugLineNum = 31064064;BA.debugLine="Public Sub Clear"; +RDebugUtils.currentLine=31064065; + //BA.debugLineNum = 31064065;BA.debugLine="ChangeLength(0)"; +__ref._changelength /*int*/ (null,(int) (0)); +RDebugUtils.currentLine=31064066; + //BA.debugLineNum = 31064066;BA.debugLine="End Sub"; +return ""; +} +public byte[] _getbuffer(reparto_izca.keymon.lat.b4xbytesbuilder __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbytesbuilder"; +if (Debug.shouldDelegate(ba, "getbuffer", true)) + {return ((byte[]) Debug.delegate(ba, "getbuffer", null));} +RDebugUtils.currentLine=31588352; + //BA.debugLineNum = 31588352;BA.debugLine="Private Sub getBuffer As Byte() 'ignore"; +RDebugUtils.currentLine=31588353; + //BA.debugLineNum = 31588353;BA.debugLine="End Sub"; +return null; +} +public byte[] _getinternalbuffer(reparto_izca.keymon.lat.b4xbytesbuilder __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbytesbuilder"; +if (Debug.shouldDelegate(ba, "getinternalbuffer", true)) + {return ((byte[]) Debug.delegate(ba, "getinternalbuffer", null));} +RDebugUtils.currentLine=31784960; + //BA.debugLineNum = 31784960;BA.debugLine="Public Sub getInternalBuffer As Byte()"; +RDebugUtils.currentLine=31784961; + //BA.debugLineNum = 31784961;BA.debugLine="Return mBuffer"; +if (true) return __ref._mbuffer /*byte[]*/ ; +RDebugUtils.currentLine=31784962; + //BA.debugLineNum = 31784962;BA.debugLine="End Sub"; +return null; +} +public int _getlength(reparto_izca.keymon.lat.b4xbytesbuilder __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbytesbuilder"; +if (Debug.shouldDelegate(ba, "getlength", true)) + {return ((Integer) Debug.delegate(ba, "getlength", null));} +RDebugUtils.currentLine=31457280; + //BA.debugLineNum = 31457280;BA.debugLine="Public Sub getLength As Int"; +RDebugUtils.currentLine=31457281; + //BA.debugLineNum = 31457281;BA.debugLine="Return mLength"; +if (true) return __ref._mlength /*int*/ ; +RDebugUtils.currentLine=31457282; + //BA.debugLineNum = 31457282;BA.debugLine="End Sub"; +return 0; +} +public int _indexof(reparto_izca.keymon.lat.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=31653888; + //BA.debugLineNum = 31653888;BA.debugLine="Public Sub IndexOf(SearchFor() As Byte) As Int"; +RDebugUtils.currentLine=31653889; + //BA.debugLineNum = 31653889;BA.debugLine="Return IndexOf2(SearchFor, 0)"; +if (true) return __ref._indexof2 /*int*/ (null,_searchfor,(int) (0)); +RDebugUtils.currentLine=31653890; + //BA.debugLineNum = 31653890;BA.debugLine="End Sub"; +return 0; +} +public int _indexof2(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=31719424; + //BA.debugLineNum = 31719424;BA.debugLine="Public Sub IndexOf2(SearchFor() As Byte, Index As"; +RDebugUtils.currentLine=31719425; + //BA.debugLineNum = 31719425;BA.debugLine="For i1 = Index To mLength - SearchFor.Length"; +{ +final int step1 = 1; +final int limit1 = (int) (__ref._mlength /*int*/ -_searchfor.length); +_i1 = _index ; +for (;_i1 <= limit1 ;_i1 = _i1 + step1 ) { +RDebugUtils.currentLine=31719426; + //BA.debugLineNum = 31719426;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 ) { +RDebugUtils.currentLine=31719427; + //BA.debugLineNum = 31719427;BA.debugLine="If SearchFor(i2) <> mBuffer(i1 + i2) Then"; +if (_searchfor[_i2]!=__ref._mbuffer /*byte[]*/ [(int) (_i1+_i2)]) { +RDebugUtils.currentLine=31719428; + //BA.debugLineNum = 31719428;BA.debugLine="Exit"; +if (true) break; + }; + } +}; +RDebugUtils.currentLine=31719431; + //BA.debugLineNum = 31719431;BA.debugLine="If i2 = SearchFor.Length Then"; +if (_i2==_searchfor.length) { +RDebugUtils.currentLine=31719432; + //BA.debugLineNum = 31719432;BA.debugLine="Return i1"; +if (true) return _i1; + }; + } +}; +RDebugUtils.currentLine=31719435; + //BA.debugLineNum = 31719435;BA.debugLine="Return -1"; +if (true) return (int) (-1); +RDebugUtils.currentLine=31719436; + //BA.debugLineNum = 31719436;BA.debugLine="End Sub"; +return 0; +} +public String _initialize(reparto_izca.keymon.lat.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=30801920; + //BA.debugLineNum = 30801920;BA.debugLine="Public Sub Initialize"; +RDebugUtils.currentLine=30801921; + //BA.debugLineNum = 30801921;BA.debugLine="Dim mBuffer(100) As Byte"; +_mbuffer = new byte[(int) (100)]; +; +RDebugUtils.currentLine=30801922; + //BA.debugLineNum = 30801922;BA.debugLine="mLength = 0"; +__ref._mlength /*int*/ = (int) (0); +RDebugUtils.currentLine=30801923; + //BA.debugLineNum = 30801923;BA.debugLine="End Sub"; +return ""; +} +public String _insert(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=31129600; + //BA.debugLineNum = 31129600;BA.debugLine="Public Sub Insert(Index As Int, Data() As Byte)"; +RDebugUtils.currentLine=31129601; + //BA.debugLineNum = 31129601;BA.debugLine="If Index >= mLength Then"; +if (_index>=__ref._mlength /*int*/ ) { +RDebugUtils.currentLine=31129602; + //BA.debugLineNum = 31129602;BA.debugLine="If Index > mLength Then Log(\"Index too large\")"; +if (_index>__ref._mlength /*int*/ ) { +__c.LogImpl("931129602","Index too large",0);}; +RDebugUtils.currentLine=31129603; + //BA.debugLineNum = 31129603;BA.debugLine="Append(Data)"; +__ref._append /*reparto_izca.keymon.lat.b4xbytesbuilder*/ (null,_data); + }else { +RDebugUtils.currentLine=31129605; + //BA.debugLineNum = 31129605;BA.debugLine="Dim AfterIndex() As Byte = SubArray(Index)"; +_afterindex = __ref._subarray /*byte[]*/ (null,_index); +RDebugUtils.currentLine=31129606; + //BA.debugLineNum = 31129606;BA.debugLine="ChangeLength(mLength + Data.Length)"; +__ref._changelength /*int*/ (null,(int) (__ref._mlength /*int*/ +_data.length)); +RDebugUtils.currentLine=31129607; + //BA.debugLineNum = 31129607;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=31129608; + //BA.debugLineNum = 31129608;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); + }; +RDebugUtils.currentLine=31129610; + //BA.debugLineNum = 31129610;BA.debugLine="End Sub"; +return ""; +} +public byte[] _subarray(reparto_izca.keymon.lat.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=31326208; + //BA.debugLineNum = 31326208;BA.debugLine="Public Sub SubArray(BeginIndex As Int) As Byte()"; +RDebugUtils.currentLine=31326209; + //BA.debugLineNum = 31326209;BA.debugLine="Return SubArray2(BeginIndex, mLength)"; +if (true) return __ref._subarray2 /*byte[]*/ (null,_beginindex,__ref._mlength /*int*/ ); +RDebugUtils.currentLine=31326210; + //BA.debugLineNum = 31326210;BA.debugLine="End Sub"; +return null; +} +public byte[] _remove(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=31260672; + //BA.debugLineNum = 31260672;BA.debugLine="Public Sub Remove(BeginIndex As Int, EndIndex As I"; +RDebugUtils.currentLine=31260673; + //BA.debugLineNum = 31260673;BA.debugLine="Dim res() As Byte = SubArray2(BeginIndex, EndInde"; +_res = __ref._subarray2 /*byte[]*/ (null,_beginindex,_endindex); +RDebugUtils.currentLine=31260674; + //BA.debugLineNum = 31260674;BA.debugLine="If EndIndex <= mLength Then"; +if (_endindex<=__ref._mlength /*int*/ ) { +RDebugUtils.currentLine=31260675; + //BA.debugLineNum = 31260675;BA.debugLine="Dim AfterEndIndex() As Byte = SubArray(EndIndex)"; +_afterendindex = __ref._subarray /*byte[]*/ (null,_endindex); +RDebugUtils.currentLine=31260676; + //BA.debugLineNum = 31260676;BA.debugLine="Bit.ArrayCopy(AfterEndIndex, 0, mBuffer, BeginIn"; +__c.Bit.ArrayCopy((Object)(_afterendindex),(int) (0),(Object)(__ref._mbuffer /*byte[]*/ ),_beginindex,_afterendindex.length); + }; +RDebugUtils.currentLine=31260678; + //BA.debugLineNum = 31260678;BA.debugLine="ChangeLength(mLength - (EndIndex - BeginIndex))"; +__ref._changelength /*int*/ (null,(int) (__ref._mlength /*int*/ -(_endindex-_beginindex))); +RDebugUtils.currentLine=31260679; + //BA.debugLineNum = 31260679;BA.debugLine="Return res"; +if (true) return _res; +RDebugUtils.currentLine=31260680; + //BA.debugLineNum = 31260680;BA.debugLine="End Sub"; +return null; +} +public byte[] _subarray2(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=31391744; + //BA.debugLineNum = 31391744;BA.debugLine="Public Sub SubArray2(BeginIndex As Int, EndIndex A"; +RDebugUtils.currentLine=31391745; + //BA.debugLineNum = 31391745;BA.debugLine="Dim b(EndIndex - BeginIndex) As Byte"; +_b = new byte[(int) (_endindex-_beginindex)]; +; +RDebugUtils.currentLine=31391746; + //BA.debugLineNum = 31391746;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=31391747; + //BA.debugLineNum = 31391747;BA.debugLine="Return b"; +if (true) return _b; +RDebugUtils.currentLine=31391748; + //BA.debugLineNum = 31391748;BA.debugLine="End Sub"; +return null; +} +public String _set(reparto_izca.keymon.lat.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=31195136; + //BA.debugLineNum = 31195136;BA.debugLine="Public Sub Set(Index As Int, Data() As Byte)"; +RDebugUtils.currentLine=31195137; + //BA.debugLineNum = 31195137;BA.debugLine="If Index >= mLength Then"; +if (_index>=__ref._mlength /*int*/ ) { +RDebugUtils.currentLine=31195138; + //BA.debugLineNum = 31195138;BA.debugLine="If Index > mLength Then Log(\"Index too large\")"; +if (_index>__ref._mlength /*int*/ ) { +__c.LogImpl("931195138","Index too large",0);}; +RDebugUtils.currentLine=31195139; + //BA.debugLineNum = 31195139;BA.debugLine="Append(Data)"; +__ref._append /*reparto_izca.keymon.lat.b4xbytesbuilder*/ (null,_data); + }else { +RDebugUtils.currentLine=31195141; + //BA.debugLineNum = 31195141;BA.debugLine="If Data.Length + Index > mLength Then"; +if (_data.length+_index>__ref._mlength /*int*/ ) { +RDebugUtils.currentLine=31195142; + //BA.debugLineNum = 31195142;BA.debugLine="ChangeLength(Data.Length + Index)"; +__ref._changelength /*int*/ (null,(int) (_data.length+_index)); + }; +RDebugUtils.currentLine=31195144; + //BA.debugLineNum = 31195144;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=31195146; + //BA.debugLineNum = 31195146;BA.debugLine="End Sub"; +return ""; +} +public byte[] _toarray(reparto_izca.keymon.lat.b4xbytesbuilder __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbytesbuilder"; +if (Debug.shouldDelegate(ba, "toarray", true)) + {return ((byte[]) Debug.delegate(ba, "toarray", null));} +RDebugUtils.currentLine=31522816; + //BA.debugLineNum = 31522816;BA.debugLine="Public Sub ToArray() As Byte()"; +RDebugUtils.currentLine=31522817; + //BA.debugLineNum = 31522817;BA.debugLine="Return SubArray(0)"; +if (true) return __ref._subarray /*byte[]*/ (null,(int) (0)); +RDebugUtils.currentLine=31522818; + //BA.debugLineNum = 31522818;BA.debugLine="End Sub"; +return null; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/b4xcache.java b/B4A/Objects/src/reparto_izca/keymon/lat/b4xcache.java new file mode 100644 index 0000000..b0cbd4c --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/b4xcache.java @@ -0,0 +1,413 @@ +package reparto_izca.keymon.lat; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.B4AClass; +import anywheresoftware.b4a.BALayout; +import anywheresoftware.b4a.debug.*; + +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 anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "reparto_izca.keymon.lat.b4xcache"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", reparto_izca.keymon.lat.b4xcache.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 static class _b4xcacheitem{ +public boolean IsInitialized; +public Object Value; +public long LastAccessedTime; +public String Key; +public boolean Eternal; +public void Initialize() { +IsInitialized = true; +Value = new Object(); +LastAccessedTime = 0L; +Key = ""; +Eternal = false; +} +@Override + public String toString() { + return BA.TypeToString(this, false); + }} +public anywheresoftware.b4a.keywords.Common __c = null; +public reparto_izca.keymon.lat.b4xorderedmap _data = null; +public int _mmaxsize = 0; +public float _removethreshold = 0f; +public int _eternalcounts = 0; +public b4a.example.dateutils _dateutils = null; +public reparto_izca.keymon.lat.main _main = null; +public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; +public reparto_izca.keymon.lat.foto _foto = null; +public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_izca.keymon.lat.starter _starter = null; +public reparto_izca.keymon.lat.tracker _tracker = null; +public reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public String _class_globals(reparto_izca.keymon.lat.b4xcache __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcache"; +RDebugUtils.currentLine=31850496; + //BA.debugLineNum = 31850496;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=31850497; + //BA.debugLineNum = 31850497;BA.debugLine="Type B4XCacheItem (Value As Object, LastAccessedT"; +; +RDebugUtils.currentLine=31850498; + //BA.debugLineNum = 31850498;BA.debugLine="Private Data As B4XOrderedMap"; +_data = new reparto_izca.keymon.lat.b4xorderedmap(); +RDebugUtils.currentLine=31850499; + //BA.debugLineNum = 31850499;BA.debugLine="Private mMaxSize As Int = 100"; +_mmaxsize = (int) (100); +RDebugUtils.currentLine=31850500; + //BA.debugLineNum = 31850500;BA.debugLine="Private RemoveThreshold As Float = 0.3"; +_removethreshold = (float) (0.3); +RDebugUtils.currentLine=31850501; + //BA.debugLineNum = 31850501;BA.debugLine="Private EternalCounts As Int"; +_eternalcounts = 0; +RDebugUtils.currentLine=31850502; + //BA.debugLineNum = 31850502;BA.debugLine="End Sub"; +return ""; +} +public boolean _containskey(reparto_izca.keymon.lat.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=32440320; + //BA.debugLineNum = 32440320;BA.debugLine="Public Sub ContainsKey(Key As String) As Boolean"; +RDebugUtils.currentLine=32440321; + //BA.debugLineNum = 32440321;BA.debugLine="Return Data.ContainsKey(Key)"; +if (true) return __ref._data /*reparto_izca.keymon.lat.b4xorderedmap*/ ._containskey /*boolean*/ (null,(Object)(_key)); +RDebugUtils.currentLine=32440322; + //BA.debugLineNum = 32440322;BA.debugLine="End Sub"; +return false; +} +public reparto_izca.keymon.lat.b4xcache._b4xcacheitem _createb4xcacheitem(reparto_izca.keymon.lat.b4xcache __ref,Object _value,String _key) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcache"; +if (Debug.shouldDelegate(ba, "createb4xcacheitem", true)) + {return ((reparto_izca.keymon.lat.b4xcache._b4xcacheitem) Debug.delegate(ba, "createb4xcacheitem", new Object[] {_value,_key}));} +reparto_izca.keymon.lat.b4xcache._b4xcacheitem _t1 = null; +RDebugUtils.currentLine=32768000; + //BA.debugLineNum = 32768000;BA.debugLine="Private Sub CreateB4XCacheItem (Value As Object, K"; +RDebugUtils.currentLine=32768001; + //BA.debugLineNum = 32768001;BA.debugLine="Dim t1 As B4XCacheItem"; +_t1 = new reparto_izca.keymon.lat.b4xcache._b4xcacheitem(); +RDebugUtils.currentLine=32768002; + //BA.debugLineNum = 32768002;BA.debugLine="t1.Initialize"; +_t1.Initialize(); +RDebugUtils.currentLine=32768003; + //BA.debugLineNum = 32768003;BA.debugLine="t1.Value = Value"; +_t1.Value /*Object*/ = _value; +RDebugUtils.currentLine=32768004; + //BA.debugLineNum = 32768004;BA.debugLine="t1.LastAccessedTime = DateTime.Now"; +_t1.LastAccessedTime /*long*/ = __c.DateTime.getNow(); +RDebugUtils.currentLine=32768005; + //BA.debugLineNum = 32768005;BA.debugLine="t1.Key = Key"; +_t1.Key /*String*/ = _key; +RDebugUtils.currentLine=32768006; + //BA.debugLineNum = 32768006;BA.debugLine="Return t1"; +if (true) return _t1; +RDebugUtils.currentLine=32768007; + //BA.debugLineNum = 32768007;BA.debugLine="End Sub"; +return null; +} +public Object _get(reparto_izca.keymon.lat.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}));} +reparto_izca.keymon.lat.b4xcache._b4xcacheitem _ci = null; +RDebugUtils.currentLine=32112640; + //BA.debugLineNum = 32112640;BA.debugLine="Public Sub Get (Key As String) As Object"; +RDebugUtils.currentLine=32112641; + //BA.debugLineNum = 32112641;BA.debugLine="Dim ci As B4XCacheItem = Data.Get(Key)"; +_ci = (reparto_izca.keymon.lat.b4xcache._b4xcacheitem)(__ref._data /*reparto_izca.keymon.lat.b4xorderedmap*/ ._get /*Object*/ (null,(Object)(_key))); +RDebugUtils.currentLine=32112642; + //BA.debugLineNum = 32112642;BA.debugLine="If ci <> Null Then"; +if (_ci!= null) { +RDebugUtils.currentLine=32112643; + //BA.debugLineNum = 32112643;BA.debugLine="If ci.Eternal = False Then ci.LastAccessedTime ="; +if (_ci.Eternal /*boolean*/ ==__c.False) { +_ci.LastAccessedTime /*long*/ = __c.DateTime.getNow();}; +RDebugUtils.currentLine=32112644; + //BA.debugLineNum = 32112644;BA.debugLine="Return ci.Value"; +if (true) return _ci.Value /*Object*/ ; + }; +RDebugUtils.currentLine=32112646; + //BA.debugLineNum = 32112646;BA.debugLine="Return Null"; +if (true) return __c.Null; +RDebugUtils.currentLine=32112647; + //BA.debugLineNum = 32112647;BA.debugLine="End Sub"; +return null; +} +public int _getmaxsize(reparto_izca.keymon.lat.b4xcache __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcache"; +if (Debug.shouldDelegate(ba, "getmaxsize", true)) + {return ((Integer) Debug.delegate(ba, "getmaxsize", null));} +RDebugUtils.currentLine=32047104; + //BA.debugLineNum = 32047104;BA.debugLine="Public Sub getMaxSize As Int"; +RDebugUtils.currentLine=32047105; + //BA.debugLineNum = 32047105;BA.debugLine="Return mMaxSize"; +if (true) return __ref._mmaxsize /*int*/ ; +RDebugUtils.currentLine=32047106; + //BA.debugLineNum = 32047106;BA.debugLine="End Sub"; +return 0; +} +public String _initialize(reparto_izca.keymon.lat.b4xcache __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="b4xcache"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=31916032; + //BA.debugLineNum = 31916032;BA.debugLine="Public Sub Initialize"; +RDebugUtils.currentLine=31916033; + //BA.debugLineNum = 31916033;BA.debugLine="Data.Initialize"; +__ref._data /*reparto_izca.keymon.lat.b4xorderedmap*/ ._initialize /*String*/ (null,ba); +RDebugUtils.currentLine=31916034; + //BA.debugLineNum = 31916034;BA.debugLine="End Sub"; +return ""; +} +public boolean _iseternal(reparto_izca.keymon.lat.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}));} +reparto_izca.keymon.lat.b4xcache._b4xcacheitem _ci = null; +RDebugUtils.currentLine=32374784; + //BA.debugLineNum = 32374784;BA.debugLine="Private Sub IsEternal(Key As String) As Boolean"; +RDebugUtils.currentLine=32374785; + //BA.debugLineNum = 32374785;BA.debugLine="Dim ci As B4XCacheItem = Data.Get(Key)"; +_ci = (reparto_izca.keymon.lat.b4xcache._b4xcacheitem)(__ref._data /*reparto_izca.keymon.lat.b4xorderedmap*/ ._get /*Object*/ (null,(Object)(_key))); +RDebugUtils.currentLine=32374786; + //BA.debugLineNum = 32374786;BA.debugLine="Return IIf(ci = Null, False, ci.Eternal)"; +if (true) return BA.ObjectToBoolean(((_ci== null) ? ((Object)(__c.False)) : ((Object)(_ci.Eternal /*boolean*/ )))); +RDebugUtils.currentLine=32374787; + //BA.debugLineNum = 32374787;BA.debugLine="End Sub"; +return false; +} +public anywheresoftware.b4a.objects.collections.List _keys(reparto_izca.keymon.lat.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=32702464; + //BA.debugLineNum = 32702464;BA.debugLine="Public Sub Keys As List"; +RDebugUtils.currentLine=32702465; + //BA.debugLineNum = 32702465;BA.debugLine="Return Data.Keys"; +if (true) return __ref._data /*reparto_izca.keymon.lat.b4xorderedmap*/ ._getkeys /*anywheresoftware.b4a.objects.collections.List*/ (null); +RDebugUtils.currentLine=32702466; + //BA.debugLineNum = 32702466;BA.debugLine="End Sub"; +return null; +} +public Object _put(reparto_izca.keymon.lat.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=32178176; + //BA.debugLineNum = 32178176;BA.debugLine="Public Sub Put (Key As String, Value As Object) As"; +RDebugUtils.currentLine=32178177; + //BA.debugLineNum = 32178177;BA.debugLine="If IsEternal(Key) Then EternalCounts = EternalCou"; +if (__ref._iseternal /*boolean*/ (null,_key)) { +__ref._eternalcounts /*int*/ = (int) (__ref._eternalcounts /*int*/ -1);}; +RDebugUtils.currentLine=32178178; + //BA.debugLineNum = 32178178;BA.debugLine="Data.Put(Key, CreateB4XCacheItem(Value, Key))"; +__ref._data /*reparto_izca.keymon.lat.b4xorderedmap*/ ._put /*String*/ (null,(Object)(_key),(Object)(__ref._createb4xcacheitem /*reparto_izca.keymon.lat.b4xcache._b4xcacheitem*/ (null,_value,_key))); +RDebugUtils.currentLine=32178179; + //BA.debugLineNum = 32178179;BA.debugLine="TrimIfOversize"; +__ref._trimifoversize /*String*/ (null); +RDebugUtils.currentLine=32178180; + //BA.debugLineNum = 32178180;BA.debugLine="Return Value"; +if (true) return _value; +RDebugUtils.currentLine=32178181; + //BA.debugLineNum = 32178181;BA.debugLine="End Sub"; +return null; +} +public String _trimifoversize(reparto_izca.keymon.lat.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=32505856; + //BA.debugLineNum = 32505856;BA.debugLine="Private Sub TrimIfOversize"; +RDebugUtils.currentLine=32505857; + //BA.debugLineNum = 32505857;BA.debugLine="If Data.Size - EternalCounts > mMaxSize Then"; +if (__ref._data /*reparto_izca.keymon.lat.b4xorderedmap*/ ._getsize /*int*/ (null)-__ref._eternalcounts /*int*/ >__ref._mmaxsize /*int*/ ) { +RDebugUtils.currentLine=32505858; + //BA.debugLineNum = 32505858;BA.debugLine="Dim values As List = Data.Values"; +_values = new anywheresoftware.b4a.objects.collections.List(); +_values = __ref._data /*reparto_izca.keymon.lat.b4xorderedmap*/ ._getvalues /*anywheresoftware.b4a.objects.collections.List*/ (null); +RDebugUtils.currentLine=32505859; + //BA.debugLineNum = 32505859;BA.debugLine="values.SortType(\"LastAccessedTime\", True)"; +_values.SortType("LastAccessedTime",__c.True); +RDebugUtils.currentLine=32505860; + //BA.debugLineNum = 32505860;BA.debugLine="Dim NumberOfItemsToRemove As Int = Ceil(mMaxSize"; +_numberofitemstoremove = (int) (__c.Ceil(__ref._mmaxsize /*int*/ *__ref._removethreshold /*float*/ )); +RDebugUtils.currentLine=32505861; + //BA.debugLineNum = 32505861;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=32505862; + //BA.debugLineNum = 32505862;BA.debugLine="Data.Remove(values.Get(i).As(B4XCacheItem).Key)"; +__ref._data /*reparto_izca.keymon.lat.b4xorderedmap*/ ._remove /*String*/ (null,(Object)(((reparto_izca.keymon.lat.b4xcache._b4xcacheitem)(_values.Get(_i))).Key /*String*/ )); + } +}; + }; +RDebugUtils.currentLine=32505865; + //BA.debugLineNum = 32505865;BA.debugLine="End Sub"; +return ""; +} +public Object _puteternal(reparto_izca.keymon.lat.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}));} +reparto_izca.keymon.lat.b4xcache._b4xcacheitem _ci = null; +RDebugUtils.currentLine=32243712; + //BA.debugLineNum = 32243712;BA.debugLine="Public Sub PutEternal (Key As String, Value As Obj"; +RDebugUtils.currentLine=32243713; + //BA.debugLineNum = 32243713;BA.debugLine="If IsEternal(Key) Then EternalCounts = EternalCou"; +if (__ref._iseternal /*boolean*/ (null,_key)) { +__ref._eternalcounts /*int*/ = (int) (__ref._eternalcounts /*int*/ -1);}; +RDebugUtils.currentLine=32243714; + //BA.debugLineNum = 32243714;BA.debugLine="Dim ci As B4XCacheItem = CreateB4XCacheItem(Value"; +_ci = __ref._createb4xcacheitem /*reparto_izca.keymon.lat.b4xcache._b4xcacheitem*/ (null,_value,_key); +RDebugUtils.currentLine=32243715; + //BA.debugLineNum = 32243715;BA.debugLine="ci.Eternal = True"; +_ci.Eternal /*boolean*/ = __c.True; +RDebugUtils.currentLine=32243716; + //BA.debugLineNum = 32243716;BA.debugLine="ci.LastAccessedTime = 9223372036854775807"; +_ci.LastAccessedTime /*long*/ = (long) (9223372036854775807L); +RDebugUtils.currentLine=32243717; + //BA.debugLineNum = 32243717;BA.debugLine="EternalCounts = EternalCounts + 1"; +__ref._eternalcounts /*int*/ = (int) (__ref._eternalcounts /*int*/ +1); +RDebugUtils.currentLine=32243718; + //BA.debugLineNum = 32243718;BA.debugLine="Data.Put(Key, ci)"; +__ref._data /*reparto_izca.keymon.lat.b4xorderedmap*/ ._put /*String*/ (null,(Object)(_key),(Object)(_ci)); +RDebugUtils.currentLine=32243719; + //BA.debugLineNum = 32243719;BA.debugLine="Return Value"; +if (true) return _value; +RDebugUtils.currentLine=32243720; + //BA.debugLineNum = 32243720;BA.debugLine="End Sub"; +return null; +} +public String _remove(reparto_izca.keymon.lat.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=32309248; + //BA.debugLineNum = 32309248;BA.debugLine="Public Sub Remove (Key As String)"; +RDebugUtils.currentLine=32309249; + //BA.debugLineNum = 32309249;BA.debugLine="If IsEternal(Key) Then EternalCounts = EternalCou"; +if (__ref._iseternal /*boolean*/ (null,_key)) { +__ref._eternalcounts /*int*/ = (int) (__ref._eternalcounts /*int*/ -1);}; +RDebugUtils.currentLine=32309250; + //BA.debugLineNum = 32309250;BA.debugLine="Data.Remove(Key)"; +__ref._data /*reparto_izca.keymon.lat.b4xorderedmap*/ ._remove /*String*/ (null,(Object)(_key)); +RDebugUtils.currentLine=32309251; + //BA.debugLineNum = 32309251;BA.debugLine="End Sub"; +return ""; +} +public String _removeolditems(reparto_izca.keymon.lat.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; +reparto_izca.keymon.lat.b4xcache._b4xcacheitem _ci = null; +RDebugUtils.currentLine=32571392; + //BA.debugLineNum = 32571392;BA.debugLine="Public Sub RemoveOldItems (AgeMs As Long)"; +RDebugUtils.currentLine=32571393; + //BA.debugLineNum = 32571393;BA.debugLine="Dim values As List = Data.Values"; +_values = new anywheresoftware.b4a.objects.collections.List(); +_values = __ref._data /*reparto_izca.keymon.lat.b4xorderedmap*/ ._getvalues /*anywheresoftware.b4a.objects.collections.List*/ (null); +RDebugUtils.currentLine=32571394; + //BA.debugLineNum = 32571394;BA.debugLine="Dim level As Long = DateTime.Now - AgeMs"; +_level = (long) (__c.DateTime.getNow()-_agems); +RDebugUtils.currentLine=32571395; + //BA.debugLineNum = 32571395;BA.debugLine="For Each ci As B4XCacheItem In values"; +{ +final anywheresoftware.b4a.BA.IterableList group3 = _values; +final int groupLen3 = group3.getSize() +;int index3 = 0; +; +for (; index3 < groupLen3;index3++){ +_ci = (reparto_izca.keymon.lat.b4xcache._b4xcacheitem)(group3.Get(index3)); +RDebugUtils.currentLine=32571396; + //BA.debugLineNum = 32571396;BA.debugLine="If ci.LastAccessedTime <= level Then"; +if (_ci.LastAccessedTime /*long*/ <=_level) { +RDebugUtils.currentLine=32571397; + //BA.debugLineNum = 32571397;BA.debugLine="Data.Remove(ci.Key)"; +__ref._data /*reparto_izca.keymon.lat.b4xorderedmap*/ ._remove /*String*/ (null,(Object)(_ci.Key /*String*/ )); + }; + } +}; +RDebugUtils.currentLine=32571400; + //BA.debugLineNum = 32571400;BA.debugLine="End Sub"; +return ""; +} +public String _setmaxsize(reparto_izca.keymon.lat.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=31981568; + //BA.debugLineNum = 31981568;BA.debugLine="Public Sub setMaxSize(s As Int)"; +RDebugUtils.currentLine=31981569; + //BA.debugLineNum = 31981569;BA.debugLine="mMaxSize = s"; +__ref._mmaxsize /*int*/ = _s; +RDebugUtils.currentLine=31981570; + //BA.debugLineNum = 31981570;BA.debugLine="TrimIfOversize"; +__ref._trimifoversize /*String*/ (null); +RDebugUtils.currentLine=31981571; + //BA.debugLineNum = 31981571;BA.debugLine="End Sub"; +return ""; +} +public int _size(reparto_izca.keymon.lat.b4xcache __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcache"; +if (Debug.shouldDelegate(ba, "size", true)) + {return ((Integer) Debug.delegate(ba, "size", null));} +RDebugUtils.currentLine=32636928; + //BA.debugLineNum = 32636928;BA.debugLine="Public Sub Size As Int"; +RDebugUtils.currentLine=32636929; + //BA.debugLineNum = 32636929;BA.debugLine="Return Data.Size"; +if (true) return __ref._data /*reparto_izca.keymon.lat.b4xorderedmap*/ ._getsize /*int*/ (null); +RDebugUtils.currentLine=32636930; + //BA.debugLineNum = 32636930;BA.debugLine="End Sub"; +return 0; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/b4xcollections.java b/B4A/Objects/src/reparto_izca/keymon/lat/b4xcollections.java new file mode 100644 index 0000000..51026bc --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/b4xcollections.java @@ -0,0 +1,150 @@ +package reparto_izca.keymon.lat; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.BALayout; +import anywheresoftware.b4a.debug.*; + +public class b4xcollections { +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 b4a.example.dateutils _dateutils = null; +public reparto_izca.keymon.lat.main _main = null; +public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; +public reparto_izca.keymon.lat.foto _foto = null; +public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_izca.keymon.lat.starter _starter = null; +public reparto_izca.keymon.lat.tracker _tracker = null; +public reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public static reparto_izca.keymon.lat.b4xbitset _createbitset(anywheresoftware.b4a.BA _ba,int _size) throws Exception{ +RDebugUtils.currentModule="b4xcollections"; +if (Debug.shouldDelegate(null, "createbitset", true)) + {return ((reparto_izca.keymon.lat.b4xbitset) Debug.delegate(null, "createbitset", new Object[] {_ba,_size}));} +reparto_izca.keymon.lat.b4xbitset _s = null; +RDebugUtils.currentLine=33161216; + //BA.debugLineNum = 33161216;BA.debugLine="Public Sub CreateBitSet (Size As Int) As B4XBitSet"; +RDebugUtils.currentLine=33161217; + //BA.debugLineNum = 33161217;BA.debugLine="Dim s As B4XBitSet"; +_s = new reparto_izca.keymon.lat.b4xbitset(); +RDebugUtils.currentLine=33161218; + //BA.debugLineNum = 33161218;BA.debugLine="s.Initialize(Size)"; +_s._initialize /*String*/ (null,(_ba.processBA == null ? _ba : _ba.processBA),_size); +RDebugUtils.currentLine=33161219; + //BA.debugLineNum = 33161219;BA.debugLine="Return s"; +if (true) return _s; +RDebugUtils.currentLine=33161220; + //BA.debugLineNum = 33161220;BA.debugLine="End Sub"; +return null; +} +public static reparto_izca.keymon.lat.b4xorderedmap _createorderedmap(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="b4xcollections"; +if (Debug.shouldDelegate(null, "createorderedmap", true)) + {return ((reparto_izca.keymon.lat.b4xorderedmap) Debug.delegate(null, "createorderedmap", new Object[] {_ba}));} +RDebugUtils.currentLine=33030144; + //BA.debugLineNum = 33030144;BA.debugLine="Public Sub CreateOrderedMap As B4XOrderedMap"; +RDebugUtils.currentLine=33030145; + //BA.debugLineNum = 33030145;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))); +RDebugUtils.currentLine=33030146; + //BA.debugLineNum = 33030146;BA.debugLine="End Sub"; +return null; +} +public static reparto_izca.keymon.lat.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 ((reparto_izca.keymon.lat.b4xorderedmap) Debug.delegate(null, "createorderedmap2", new Object[] {_ba,_keys,_values}));} +reparto_izca.keymon.lat.b4xorderedmap _m = null; +int _i = 0; +RDebugUtils.currentLine=33095680; + //BA.debugLineNum = 33095680;BA.debugLine="Public Sub CreateOrderedMap2 (Keys As List, Values"; +RDebugUtils.currentLine=33095681; + //BA.debugLineNum = 33095681;BA.debugLine="Dim m As B4XOrderedMap"; +_m = new reparto_izca.keymon.lat.b4xorderedmap(); +RDebugUtils.currentLine=33095682; + //BA.debugLineNum = 33095682;BA.debugLine="m.Initialize"; +_m._initialize /*String*/ (null,(_ba.processBA == null ? _ba : _ba.processBA)); +RDebugUtils.currentLine=33095683; + //BA.debugLineNum = 33095683;BA.debugLine="If Keys <> Null And Values <> Null And Keys.IsIni"; +if (_keys!= null && _values!= null && _keys.IsInitialized() && _values.IsInitialized()) { +RDebugUtils.currentLine=33095684; + //BA.debugLineNum = 33095684;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 ) { +RDebugUtils.currentLine=33095685; + //BA.debugLineNum = 33095685;BA.debugLine="m.Put(Keys.Get(i), Values.Get(i))"; +_m._put /*String*/ (null,_keys.Get(_i),_values.Get(_i)); + } +}; + }; +RDebugUtils.currentLine=33095688; + //BA.debugLineNum = 33095688;BA.debugLine="Return m"; +if (true) return _m; +RDebugUtils.currentLine=33095689; + //BA.debugLineNum = 33095689;BA.debugLine="End Sub"; +return null; +} +public static reparto_izca.keymon.lat.b4xset _createset(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="b4xcollections"; +if (Debug.shouldDelegate(null, "createset", true)) + {return ((reparto_izca.keymon.lat.b4xset) Debug.delegate(null, "createset", new Object[] {_ba}));} +RDebugUtils.currentLine=32899072; + //BA.debugLineNum = 32899072;BA.debugLine="Public Sub CreateSet As B4XSet"; +RDebugUtils.currentLine=32899073; + //BA.debugLineNum = 32899073;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))); +RDebugUtils.currentLine=32899074; + //BA.debugLineNum = 32899074;BA.debugLine="End Sub"; +return null; +} +public static reparto_izca.keymon.lat.b4xset _createset2(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.collections.List _values) throws Exception{ +RDebugUtils.currentModule="b4xcollections"; +if (Debug.shouldDelegate(null, "createset2", true)) + {return ((reparto_izca.keymon.lat.b4xset) Debug.delegate(null, "createset2", new Object[] {_ba,_values}));} +reparto_izca.keymon.lat.b4xset _s = null; +Object _v = null; +RDebugUtils.currentLine=32964608; + //BA.debugLineNum = 32964608;BA.debugLine="Public Sub CreateSet2 (Values As List) As B4XSet"; +RDebugUtils.currentLine=32964609; + //BA.debugLineNum = 32964609;BA.debugLine="Dim s As B4XSet"; +_s = new reparto_izca.keymon.lat.b4xset(); +RDebugUtils.currentLine=32964610; + //BA.debugLineNum = 32964610;BA.debugLine="s.Initialize"; +_s._initialize /*String*/ (null,(_ba.processBA == null ? _ba : _ba.processBA)); +RDebugUtils.currentLine=32964611; + //BA.debugLineNum = 32964611;BA.debugLine="If Values <> Null And Values.IsInitialized Then"; +if (_values!= null && _values.IsInitialized()) { +RDebugUtils.currentLine=32964612; + //BA.debugLineNum = 32964612;BA.debugLine="For Each v As Object In Values"; +{ +final anywheresoftware.b4a.BA.IterableList group4 = _values; +final int groupLen4 = group4.getSize() +;int index4 = 0; +; +for (; index4 < groupLen4;index4++){ +_v = group4.Get(index4); +RDebugUtils.currentLine=32964613; + //BA.debugLineNum = 32964613;BA.debugLine="s.Add(v)"; +_s._add /*String*/ (null,_v); + } +}; + }; +RDebugUtils.currentLine=32964616; + //BA.debugLineNum = 32964616;BA.debugLine="Return s"; +if (true) return _s; +RDebugUtils.currentLine=32964617; + //BA.debugLineNum = 32964617;BA.debugLine="End Sub"; +return null; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/b4xcolortemplate.java b/B4A/Objects/src/reparto_izca/keymon/lat/b4xcolortemplate.java new file mode 100644 index 0000000..938a7a5 --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/b4xcolortemplate.java @@ -0,0 +1,1019 @@ +package reparto_izca.keymon.lat; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.B4AClass; +import anywheresoftware.b4a.BALayout; +import anywheresoftware.b4a.debug.*; + +public class b4xcolortemplate 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, "reparto_izca.keymon.lat.b4xcolortemplate"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", reparto_izca.keymon.lat.b4xcolortemplate.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 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; +public b4a.example.bitmapcreator _bccolors = null; +public float _selectedh = 0f; +public float _selecteds = 0f; +public float _selectedv = 0f; +public float _devicescale = 0f; +public float _colorscale = 0f; +public b4a.example.bitmapcreator _tempbc = null; +public int _dont_change = 0; +public reparto_izca.keymon.lat.b4xcolortemplate._colorpickerpart _huebar = null; +public reparto_izca.keymon.lat.b4xcolortemplate._colorpickerpart _colorpicker = null; +public reparto_izca.keymon.lat.b4xcolortemplate._colorpickerpart _alphabar = null; +public int _borderscolor = 0; +public reparto_izca.keymon.lat.b4xdialog _xdialog = null; +public Object[] _initialcolor = null; +public b4a.example.dateutils _dateutils = null; +public reparto_izca.keymon.lat.main _main = null; +public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; +public reparto_izca.keymon.lat.foto _foto = null; +public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_izca.keymon.lat.starter _starter = null; +public reparto_izca.keymon.lat.tracker _tracker = null; +public reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public String _alpha_touch(reparto_izca.keymon.lat.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=44302336; + //BA.debugLineNum = 44302336;BA.debugLine="Private Sub Alpha_Touch (Action As Int, X As Float"; +RDebugUtils.currentLine=44302337; + //BA.debugLineNum = 44302337;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 "";}; +RDebugUtils.currentLine=44302338; + //BA.debugLineNum = 44302338;BA.debugLine="AlphaBarSelectedChange(x)"; +__ref._alphabarselectedchange /*String*/ (null,_x); +RDebugUtils.currentLine=44302339; + //BA.debugLineNum = 44302339;BA.debugLine="End Sub"; +return ""; +} +public String _alphabarselectedchange(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=43384832; + //BA.debugLineNum = 43384832;BA.debugLine="Private Sub AlphaBarSelectedChange(x As Float)"; +RDebugUtils.currentLine=43384833; + //BA.debugLineNum = 43384833;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 /*reparto_izca.keymon.lat.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()))); +RDebugUtils.currentLine=43384834; + //BA.debugLineNum = 43384834;BA.debugLine="x = SelectedAlpha / 255 * AlphaBar.pnl.Width"; +_x = (float) (__ref._selectedalpha /*int*/ /(double)255*__ref._alphabar /*reparto_izca.keymon.lat.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=43384835; + //BA.debugLineNum = 43384835;BA.debugLine="AlphaBar.cvs.ClearRect(AlphaBar.cvs.TargetRect)"; +__ref._alphabar /*reparto_izca.keymon.lat.b4xcolortemplate._colorpickerpart*/ .cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClearRect(__ref._alphabar /*reparto_izca.keymon.lat.b4xcolortemplate._colorpickerpart*/ .cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect()); +RDebugUtils.currentLine=43384836; + //BA.debugLineNum = 43384836;BA.debugLine="Dim r As B4XRect"; +_r = new anywheresoftware.b4a.objects.B4XCanvas.B4XRect(); +RDebugUtils.currentLine=43384837; + //BA.debugLineNum = 43384837;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 /*reparto_izca.keymon.lat.b4xcolortemplate._colorpickerpart*/ .cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getBottom()-__c.DipToCurrent((int) (1)))); +RDebugUtils.currentLine=43384838; + //BA.debugLineNum = 43384838;BA.debugLine="AlphaBar.cvs.DrawRect(r, xui.Color_Black, True, 2"; +__ref._alphabar /*reparto_izca.keymon.lat.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=43384839; + //BA.debugLineNum = 43384839;BA.debugLine="AlphaBar.cvs.Invalidate"; +__ref._alphabar /*reparto_izca.keymon.lat.b4xcolortemplate._colorpickerpart*/ .cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Invalidate(); +RDebugUtils.currentLine=43384840; + //BA.debugLineNum = 43384840;BA.debugLine="Update"; +__ref._update /*String*/ (null); +RDebugUtils.currentLine=43384841; + //BA.debugLineNum = 43384841;BA.debugLine="End Sub"; +return ""; +} +public String _update(reparto_izca.keymon.lat.b4xcolortemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcolortemplate"; +if (Debug.shouldDelegate(ba, "update", true)) + {return ((String) Debug.delegate(ba, "update", null));} +RDebugUtils.currentLine=43450368; + //BA.debugLineNum = 43450368;BA.debugLine="Private Sub Update"; +RDebugUtils.currentLine=43450369; + //BA.debugLineNum = 43450369;BA.debugLine="DrawColors"; +__ref._drawcolors /*String*/ (null); +RDebugUtils.currentLine=43450370; + //BA.debugLineNum = 43450370;BA.debugLine="HandleSelectedColorChanged(DONT_CHANGE, DONT_CHAN"; +__ref._handleselectedcolorchanged /*String*/ (null,__ref._dont_change /*int*/ ,__ref._dont_change /*int*/ ); +RDebugUtils.currentLine=43450371; + //BA.debugLineNum = 43450371;BA.debugLine="End Sub"; +return ""; +} +public String _base_resize(reparto_izca.keymon.lat.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; +reparto_izca.keymon.lat.b4xcolortemplate._colorpickerpart _cpp = null; +int _i = 0; +RDebugUtils.currentLine=42991616; + //BA.debugLineNum = 42991616;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; +RDebugUtils.currentLine=42991618; + //BA.debugLineNum = 42991618;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=42991619; + //BA.debugLineNum = 42991619;BA.debugLine="HueBar.pnl.SetLayoutAnimated(0, 1dip, 1dip, 30dip"; +__ref._huebar /*reparto_izca.keymon.lat.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=42991620; + //BA.debugLineNum = 42991620;BA.debugLine="Dim r As Int = HueBar.pnl.Width + HueBar.pnl.Left"; +_r = (int) (__ref._huebar /*reparto_izca.keymon.lat.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()+__ref._huebar /*reparto_izca.keymon.lat.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getLeft()+__c.DipToCurrent((int) (1))); +RDebugUtils.currentLine=42991621; + //BA.debugLineNum = 42991621;BA.debugLine="Dim w As Int = Width - r - 1dip"; +_w = (int) (_width-_r-__c.DipToCurrent((int) (1))); +RDebugUtils.currentLine=42991622; + //BA.debugLineNum = 42991622;BA.debugLine="If xui.IsB4i Then"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4i()) { +RDebugUtils.currentLine=42991623; + //BA.debugLineNum = 42991623;BA.debugLine="r = r - 1"; +_r = (int) (_r-1); +RDebugUtils.currentLine=42991624; + //BA.debugLineNum = 42991624;BA.debugLine="w = w + 1"; +_w = (int) (_w+1); + }; +RDebugUtils.currentLine=42991626; + //BA.debugLineNum = 42991626;BA.debugLine="AlphaBar.pnl.SetLayoutAnimated(0, r, Height - 31d"; +__ref._alphabar /*reparto_izca.keymon.lat.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),_r,(int) (_height-__c.DipToCurrent((int) (31))),_w,__c.DipToCurrent((int) (30))); +RDebugUtils.currentLine=42991627; + //BA.debugLineNum = 42991627;BA.debugLine="ColorPicker.pnl.SetLayoutAnimated(0, r, 1dip, w,"; +__ref._colorpicker /*reparto_izca.keymon.lat.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),_r,__c.DipToCurrent((int) (1)),_w,(int) (_height-__c.DipToCurrent((int) (3))-__ref._alphabar /*reparto_izca.keymon.lat.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight())); +RDebugUtils.currentLine=42991628; + //BA.debugLineNum = 42991628;BA.debugLine="bcColors.Initialize(ColorPicker.pnl.Width / Color"; +__ref._bccolors /*b4a.example.bitmapcreator*/ ._initialize(ba,(int) (__ref._colorpicker /*reparto_izca.keymon.lat.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()/(double)__ref._colorscale /*float*/ ),(int) (__ref._colorpicker /*reparto_izca.keymon.lat.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()/(double)__ref._colorscale /*float*/ )); +RDebugUtils.currentLine=42991629; + //BA.debugLineNum = 42991629;BA.debugLine="For Each cpp As ColorPickerPart In Array(HueBar,"; +{ +final Object[] group12 = new Object[]{(Object)(__ref._huebar /*reparto_izca.keymon.lat.b4xcolortemplate._colorpickerpart*/ ),(Object)(__ref._colorpicker /*reparto_izca.keymon.lat.b4xcolortemplate._colorpickerpart*/ ),(Object)(__ref._alphabar /*reparto_izca.keymon.lat.b4xcolortemplate._colorpickerpart*/ )}; +final int groupLen12 = group12.length +;int index12 = 0; +; +for (; index12 < groupLen12;index12++){ +_cpp = (reparto_izca.keymon.lat.b4xcolortemplate._colorpickerpart)(group12[index12]); +RDebugUtils.currentLine=42991630; + //BA.debugLineNum = 42991630;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 ) { +RDebugUtils.currentLine=42991631; + //BA.debugLineNum = 42991631;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()); + } +}; +RDebugUtils.currentLine=42991633; + //BA.debugLineNum = 42991633;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())); +RDebugUtils.currentLine=42991634; + //BA.debugLineNum = 42991634;BA.debugLine="If cpp.DrawCheckers Then"; +if (_cpp.DrawCheckers /*boolean*/ ) { +RDebugUtils.currentLine=42991635; + //BA.debugLineNum = 42991635;BA.debugLine="DrawCheckers(cpp)"; +__ref._drawcheckers /*String*/ (null,_cpp); + }; + } +}; +RDebugUtils.currentLine=42991638; + //BA.debugLineNum = 42991638;BA.debugLine="DrawHueBar"; +__ref._drawhuebar /*String*/ (null); +RDebugUtils.currentLine=42991639; + //BA.debugLineNum = 42991639;BA.debugLine="DrawAlphaBar"; +__ref._drawalphabar /*String*/ (null); +RDebugUtils.currentLine=42991640; + //BA.debugLineNum = 42991640;BA.debugLine="HueBarSelectedChanged (selectedH / 360 * HueBar.p"; +__ref._huebarselectedchanged /*String*/ (null,(float) (__ref._selectedh /*float*/ /(double)360*__ref._huebar /*reparto_izca.keymon.lat.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight())); +RDebugUtils.currentLine=42991641; + //BA.debugLineNum = 42991641;BA.debugLine="AlphaBarSelectedChange (SelectedAlpha / 255 * Alp"; +__ref._alphabarselectedchange /*String*/ (null,(float) (__ref._selectedalpha /*int*/ /(double)255*__ref._alphabar /*reparto_izca.keymon.lat.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth())); +RDebugUtils.currentLine=42991642; + //BA.debugLineNum = 42991642;BA.debugLine="End Sub"; +return ""; +} +public String _drawcheckers(reparto_izca.keymon.lat.b4xcolortemplate __ref,reparto_izca.keymon.lat.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=43057152; + //BA.debugLineNum = 43057152;BA.debugLine="Private Sub DrawCheckers (cpp As ColorPickerPart)"; +RDebugUtils.currentLine=43057153; + //BA.debugLineNum = 43057153;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=43057154; + //BA.debugLineNum = 43057154;BA.debugLine="cpp.checkersCanvas.ClearRect(cpp.checkersCanvas.T"; +_cpp.checkersCanvas /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClearRect(_cpp.checkersCanvas /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect()); +RDebugUtils.currentLine=43057155; + //BA.debugLineNum = 43057155;BA.debugLine="Dim size As Int = 10dip"; +_size = __c.DipToCurrent((int) (10)); +RDebugUtils.currentLine=43057156; + //BA.debugLineNum = 43057156;BA.debugLine="Dim clrs() As Int = Array As Int(0xFFC0C0C0, 0xFF"; +_clrs = new int[]{((int)0xffc0c0c0),((int)0xff757575)}; +RDebugUtils.currentLine=43057157; + //BA.debugLineNum = 43057157;BA.debugLine="Dim clr As Int = 0"; +_clr = (int) (0); +RDebugUtils.currentLine=43057158; + //BA.debugLineNum = 43057158;BA.debugLine="Dim r As B4XRect"; +_r = new anywheresoftware.b4a.objects.B4XCanvas.B4XRect(); +RDebugUtils.currentLine=43057159; + //BA.debugLineNum = 43057159;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=43057160; + //BA.debugLineNum = 43057160;BA.debugLine="Dim xx As Int = x / size"; +_xx = (int) (_x/(double)_size); +RDebugUtils.currentLine=43057161; + //BA.debugLineNum = 43057161;BA.debugLine="clr = xx Mod 2"; +_clr = (int) (_xx%2); +RDebugUtils.currentLine=43057162; + //BA.debugLineNum = 43057162;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=43057163; + //BA.debugLineNum = 43057163;BA.debugLine="clr = (clr + 1) Mod 2"; +_clr = (int) ((_clr+1)%2); +RDebugUtils.currentLine=43057164; + //BA.debugLineNum = 43057164;BA.debugLine="r.Initialize(x, y, x + size, y + size)"; +_r.Initialize((float) (_x),(float) (_y),(float) (_x+_size),(float) (_y+_size)); +RDebugUtils.currentLine=43057165; + //BA.debugLineNum = 43057165;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=43057168; + //BA.debugLineNum = 43057168;BA.debugLine="cpp.checkersCanvas.Invalidate"; +_cpp.checkersCanvas /*anywheresoftware.b4a.objects.B4XCanvas*/ .Invalidate(); +RDebugUtils.currentLine=43057169; + //BA.debugLineNum = 43057169;BA.debugLine="End Sub"; +return ""; +} +public String _drawhuebar(reparto_izca.keymon.lat.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=43122688; + //BA.debugLineNum = 43122688;BA.debugLine="Private Sub DrawHueBar"; +RDebugUtils.currentLine=43122689; + //BA.debugLineNum = 43122689;BA.debugLine="Dim bcHue As BitmapCreator"; +_bchue = new b4a.example.bitmapcreator(); +RDebugUtils.currentLine=43122690; + //BA.debugLineNum = 43122690;BA.debugLine="bcHue.Initialize(HueBar.pnl.Width / DeviceScale,"; +_bchue._initialize(ba,(int) (__ref._huebar /*reparto_izca.keymon.lat.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()/(double)__ref._devicescale /*float*/ ),(int) (__ref._huebar /*reparto_izca.keymon.lat.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()/(double)__ref._devicescale /*float*/ )); +RDebugUtils.currentLine=43122691; + //BA.debugLineNum = 43122691;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=43122692; + //BA.debugLineNum = 43122692;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=43122693; + //BA.debugLineNum = 43122693;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=43122696; + //BA.debugLineNum = 43122696;BA.debugLine="HueBar.iv.SetBitmap(bcHue.Bitmap)"; +__ref._huebar /*reparto_izca.keymon.lat.b4xcolortemplate._colorpickerpart*/ .iv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetBitmap((android.graphics.Bitmap)(_bchue._getbitmap().getObject())); +RDebugUtils.currentLine=43122697; + //BA.debugLineNum = 43122697;BA.debugLine="End Sub"; +return ""; +} +public String _drawalphabar(reparto_izca.keymon.lat.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=43188224; + //BA.debugLineNum = 43188224;BA.debugLine="Private Sub DrawAlphaBar"; +RDebugUtils.currentLine=43188225; + //BA.debugLineNum = 43188225;BA.debugLine="Dim bc As BitmapCreator"; +_bc = new b4a.example.bitmapcreator(); +RDebugUtils.currentLine=43188226; + //BA.debugLineNum = 43188226;BA.debugLine="bc.Initialize(AlphaBar.pnl.Width / DeviceScale, A"; +_bc._initialize(ba,(int) (__ref._alphabar /*reparto_izca.keymon.lat.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()/(double)__ref._devicescale /*float*/ ),(int) (__ref._alphabar /*reparto_izca.keymon.lat.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()/(double)__ref._devicescale /*float*/ )); +RDebugUtils.currentLine=43188227; + //BA.debugLineNum = 43188227;BA.debugLine="Dim argb As ARGBColor"; +_argb = new b4a.example.bitmapcreator._argbcolor(); +RDebugUtils.currentLine=43188228; + //BA.debugLineNum = 43188228;BA.debugLine="argb.r = 0xcc"; +_argb.r = ((int)0xcc); +RDebugUtils.currentLine=43188229; + //BA.debugLineNum = 43188229;BA.debugLine="argb.g = 0xcc"; +_argb.g = ((int)0xcc); +RDebugUtils.currentLine=43188230; + //BA.debugLineNum = 43188230;BA.debugLine="argb.b = 0xcc"; +_argb.b = ((int)0xcc); +RDebugUtils.currentLine=43188232; + //BA.debugLineNum = 43188232;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=43188233; + //BA.debugLineNum = 43188233;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=43188234; + //BA.debugLineNum = 43188234;BA.debugLine="argb.a = x / bc.mWidth * 255"; +_argb.a = (int) (_x/(double)_bc._mwidth*255); +RDebugUtils.currentLine=43188235; + //BA.debugLineNum = 43188235;BA.debugLine="bc.SetARGB(x, y, argb)"; +_bc._setargb(_x,_y,_argb); + } +}; + } +}; +RDebugUtils.currentLine=43188238; + //BA.debugLineNum = 43188238;BA.debugLine="AlphaBar.iv.SetBitmap(bc.Bitmap)"; +__ref._alphabar /*reparto_izca.keymon.lat.b4xcolortemplate._colorpickerpart*/ .iv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetBitmap((android.graphics.Bitmap)(_bc._getbitmap().getObject())); +RDebugUtils.currentLine=43188239; + //BA.debugLineNum = 43188239;BA.debugLine="End Sub"; +return ""; +} +public String _huebarselectedchanged(reparto_izca.keymon.lat.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=43319296; + //BA.debugLineNum = 43319296;BA.debugLine="Private Sub HueBarSelectedChanged (y As Float)"; +RDebugUtils.currentLine=43319297; + //BA.debugLineNum = 43319297;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 /*reparto_izca.keymon.lat.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()))); +RDebugUtils.currentLine=43319298; + //BA.debugLineNum = 43319298;BA.debugLine="y = selectedH * HueBar.pnl.Height / 360"; +_y = (float) (__ref._selectedh /*float*/ *__ref._huebar /*reparto_izca.keymon.lat.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()/(double)360); +RDebugUtils.currentLine=43319299; + //BA.debugLineNum = 43319299;BA.debugLine="HueBar.cvs.ClearRect(HueBar.cvs.TargetRect)"; +__ref._huebar /*reparto_izca.keymon.lat.b4xcolortemplate._colorpickerpart*/ .cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClearRect(__ref._huebar /*reparto_izca.keymon.lat.b4xcolortemplate._colorpickerpart*/ .cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect()); +RDebugUtils.currentLine=43319300; + //BA.debugLineNum = 43319300;BA.debugLine="Dim r As B4XRect"; +_r = new anywheresoftware.b4a.objects.B4XCanvas.B4XRect(); +RDebugUtils.currentLine=43319301; + //BA.debugLineNum = 43319301;BA.debugLine="r.Initialize(0, y - 3dip, HueBar.cvs.TargetRect.R"; +_r.Initialize((float) (0),(float) (_y-__c.DipToCurrent((int) (3))),__ref._huebar /*reparto_izca.keymon.lat.b4xcolortemplate._colorpickerpart*/ .cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getRight(),(float) (_y+__c.DipToCurrent((int) (3)))); +RDebugUtils.currentLine=43319302; + //BA.debugLineNum = 43319302;BA.debugLine="HueBar.cvs.DrawRect(r, xui.Color_White, False, 2d"; +__ref._huebar /*reparto_izca.keymon.lat.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=43319303; + //BA.debugLineNum = 43319303;BA.debugLine="HueBar.cvs.Invalidate"; +__ref._huebar /*reparto_izca.keymon.lat.b4xcolortemplate._colorpickerpart*/ .cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Invalidate(); +RDebugUtils.currentLine=43319304; + //BA.debugLineNum = 43319304;BA.debugLine="Update"; +__ref._update /*String*/ (null); +RDebugUtils.currentLine=43319305; + //BA.debugLineNum = 43319305;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(reparto_izca.keymon.lat.b4xcolortemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcolortemplate"; +RDebugUtils.currentLine=42795008; + //BA.debugLineNum = 42795008;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=42795009; + //BA.debugLineNum = 42795009;BA.debugLine="Public mBase As B4XView 'ignore"; +_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=42795010; + //BA.debugLineNum = 42795010;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=42795011; + //BA.debugLineNum = 42795011;BA.debugLine="Private SelectedAlpha As Int = 255"; +_selectedalpha = (int) (255); +RDebugUtils.currentLine=42795012; + //BA.debugLineNum = 42795012;BA.debugLine="Private bcColors As BitmapCreator"; +_bccolors = new b4a.example.bitmapcreator(); +RDebugUtils.currentLine=42795013; + //BA.debugLineNum = 42795013;BA.debugLine="Private selectedH = 60, selectedS = 0.5, selected"; +_selectedh = (float) (60); +_selecteds = (float) (0.5); +_selectedv = (float) (0.5); +RDebugUtils.currentLine=42795014; + //BA.debugLineNum = 42795014;BA.debugLine="Private DeviceScale, ColorScale As Float"; +_devicescale = 0f; +_colorscale = 0f; +RDebugUtils.currentLine=42795015; + //BA.debugLineNum = 42795015;BA.debugLine="Private tempBC As BitmapCreator"; +_tempbc = new b4a.example.bitmapcreator(); +RDebugUtils.currentLine=42795016; + //BA.debugLineNum = 42795016;BA.debugLine="Private const DONT_CHANGE As Int = -999999999"; +_dont_change = (int) (-999999999); +RDebugUtils.currentLine=42795017; + //BA.debugLineNum = 42795017;BA.debugLine="Type ColorPickerPart (cvs As B4XCanvas, pnl As B4"; +; +RDebugUtils.currentLine=42795018; + //BA.debugLineNum = 42795018;BA.debugLine="Private HueBar, ColorPicker, AlphaBar As ColorPic"; +_huebar = new reparto_izca.keymon.lat.b4xcolortemplate._colorpickerpart(); +_colorpicker = new reparto_izca.keymon.lat.b4xcolortemplate._colorpickerpart(); +_alphabar = new reparto_izca.keymon.lat.b4xcolortemplate._colorpickerpart(); +RDebugUtils.currentLine=42795019; + //BA.debugLineNum = 42795019;BA.debugLine="Private BordersColor As Int"; +_borderscolor = 0; +RDebugUtils.currentLine=42795020; + //BA.debugLineNum = 42795020;BA.debugLine="Private xDialog As B4XDialog"; +_xdialog = new reparto_izca.keymon.lat.b4xdialog(); +RDebugUtils.currentLine=42795021; + //BA.debugLineNum = 42795021;BA.debugLine="Private InitialColor() As Object"; +_initialcolor = new Object[(int) (0)]; +{ +int d0 = _initialcolor.length; +for (int i0 = 0;i0 < d0;i0++) { +_initialcolor[i0] = new Object(); +} +} +; +RDebugUtils.currentLine=42795022; + //BA.debugLineNum = 42795022;BA.debugLine="End Sub"; +return ""; +} +public String _colors_touch(reparto_izca.keymon.lat.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=44171264; + //BA.debugLineNum = 44171264;BA.debugLine="Private Sub Colors_Touch (Action As Int, X As Floa"; +RDebugUtils.currentLine=44171265; + //BA.debugLineNum = 44171265;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 "";}; +RDebugUtils.currentLine=44171266; + //BA.debugLineNum = 44171266;BA.debugLine="HandleSelectedColorChanged(X, Y)"; +__ref._handleselectedcolorchanged /*String*/ (null,(int) (_x),(int) (_y)); +RDebugUtils.currentLine=44171267; + //BA.debugLineNum = 44171267;BA.debugLine="End Sub"; +return ""; +} +public String _handleselectedcolorchanged(reparto_izca.keymon.lat.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=43515904; + //BA.debugLineNum = 43515904;BA.debugLine="Private Sub HandleSelectedColorChanged (x As Int,"; +RDebugUtils.currentLine=43515905; + //BA.debugLineNum = 43515905;BA.debugLine="If x <> DONT_CHANGE Then"; +if (_x!=__ref._dont_change /*int*/ ) { +RDebugUtils.currentLine=43515906; + //BA.debugLineNum = 43515906;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 /*reparto_izca.keymon.lat.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()))); +RDebugUtils.currentLine=43515907; + //BA.debugLineNum = 43515907;BA.debugLine="selectedV = Max(0, Min(1, (ColorPicker.pnl.Heigh"; +__ref._selectedv /*float*/ = (float) (__c.Max(0,__c.Min(1,(__ref._colorpicker /*reparto_izca.keymon.lat.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()-_y)/(double)__ref._colorpicker /*reparto_izca.keymon.lat.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()))); + }; +RDebugUtils.currentLine=43515909; + //BA.debugLineNum = 43515909;BA.debugLine="ColorPicker.cvs.ClearRect(ColorPicker.cvs.TargetR"; +__ref._colorpicker /*reparto_izca.keymon.lat.b4xcolortemplate._colorpickerpart*/ .cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClearRect(__ref._colorpicker /*reparto_izca.keymon.lat.b4xcolortemplate._colorpickerpart*/ .cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect()); +RDebugUtils.currentLine=43515910; + //BA.debugLineNum = 43515910;BA.debugLine="ColorPicker.cvs.DrawCircle(selectedS * ColorPicke"; +__ref._colorpicker /*reparto_izca.keymon.lat.b4xcolortemplate._colorpickerpart*/ .cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawCircle((float) (__ref._selecteds /*float*/ *__ref._colorpicker /*reparto_izca.keymon.lat.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()),(float) (__ref._colorpicker /*reparto_izca.keymon.lat.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()-__ref._selectedv /*float*/ *__ref._colorpicker /*reparto_izca.keymon.lat.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=43515912; + //BA.debugLineNum = 43515912;BA.debugLine="ColorPicker.cvs.Invalidate"; +__ref._colorpicker /*reparto_izca.keymon.lat.b4xcolortemplate._colorpickerpart*/ .cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Invalidate(); +RDebugUtils.currentLine=43515913; + //BA.debugLineNum = 43515913;BA.debugLine="UpdateBarColor"; +__ref._updatebarcolor /*String*/ (null); +RDebugUtils.currentLine=43515914; + //BA.debugLineNum = 43515914;BA.debugLine="End Sub"; +return ""; +} +public Object[] _colortohsv(reparto_izca.keymon.lat.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; +int _b = 0; +float _h = 0f; +float _s = 0f; +float _v = 0f; +int _cmax = 0; +int _cmin = 0; +float _rc = 0f; +float _gc = 0f; +float _bc = 0f; +RDebugUtils.currentLine=43843584; + //BA.debugLineNum = 43843584;BA.debugLine="Public Sub ColorToHSV(clr As Int) As Object()"; +RDebugUtils.currentLine=43843585; + //BA.debugLineNum = 43843585;BA.debugLine="Dim a As Int = Bit.And(0xff, Bit.UnsignedShiftRig"; +_a = __c.Bit.And(((int)0xff),__c.Bit.UnsignedShiftRight(_clr,(int) (24))); +RDebugUtils.currentLine=43843586; + //BA.debugLineNum = 43843586;BA.debugLine="Dim r As Int = Bit.And(0xff, Bit.UnsignedShiftRig"; +_r = __c.Bit.And(((int)0xff),__c.Bit.UnsignedShiftRight(_clr,(int) (16))); +RDebugUtils.currentLine=43843587; + //BA.debugLineNum = 43843587;BA.debugLine="Dim g As Int = Bit.And(0xff, Bit.UnsignedShiftRig"; +_g = __c.Bit.And(((int)0xff),__c.Bit.UnsignedShiftRight(_clr,(int) (8))); +RDebugUtils.currentLine=43843588; + //BA.debugLineNum = 43843588;BA.debugLine="Dim b As Int = Bit.And(0xff, Bit.UnsignedShiftRig"; +_b = __c.Bit.And(((int)0xff),__c.Bit.UnsignedShiftRight(_clr,(int) (0))); +RDebugUtils.currentLine=43843589; + //BA.debugLineNum = 43843589;BA.debugLine="Dim h, s, v As Float"; +_h = 0f; +_s = 0f; +_v = 0f; +RDebugUtils.currentLine=43843590; + //BA.debugLineNum = 43843590;BA.debugLine="Dim cmax As Int = Max(Max(r, g), b)"; +_cmax = (int) (__c.Max(__c.Max(_r,_g),_b)); +RDebugUtils.currentLine=43843591; + //BA.debugLineNum = 43843591;BA.debugLine="Dim cmin As Int = Min(Min(r, g), b)"; +_cmin = (int) (__c.Min(__c.Min(_r,_g),_b)); +RDebugUtils.currentLine=43843592; + //BA.debugLineNum = 43843592;BA.debugLine="v = cmax / 255"; +_v = (float) (_cmax/(double)255); +RDebugUtils.currentLine=43843593; + //BA.debugLineNum = 43843593;BA.debugLine="If cmax <> 0 Then"; +if (_cmax!=0) { +RDebugUtils.currentLine=43843594; + //BA.debugLineNum = 43843594;BA.debugLine="s = (cmax - cmin) / cmax"; +_s = (float) ((_cmax-_cmin)/(double)_cmax); + }; +RDebugUtils.currentLine=43843596; + //BA.debugLineNum = 43843596;BA.debugLine="If s = 0 Then"; +if (_s==0) { +RDebugUtils.currentLine=43843597; + //BA.debugLineNum = 43843597;BA.debugLine="h = 0"; +_h = (float) (0); + }else { +RDebugUtils.currentLine=43843599; + //BA.debugLineNum = 43843599;BA.debugLine="Dim rc As Float = (cmax - r) / (cmax - cmin)"; +_rc = (float) ((_cmax-_r)/(double)(_cmax-_cmin)); +RDebugUtils.currentLine=43843600; + //BA.debugLineNum = 43843600;BA.debugLine="Dim gc As Float = (cmax - g) / (cmax - cmin)"; +_gc = (float) ((_cmax-_g)/(double)(_cmax-_cmin)); +RDebugUtils.currentLine=43843601; + //BA.debugLineNum = 43843601;BA.debugLine="Dim bc As Float = (cmax - b) / (cmax - cmin)"; +_bc = (float) ((_cmax-_b)/(double)(_cmax-_cmin)); +RDebugUtils.currentLine=43843602; + //BA.debugLineNum = 43843602;BA.debugLine="If r = cmax Then"; +if (_r==_cmax) { +RDebugUtils.currentLine=43843603; + //BA.debugLineNum = 43843603;BA.debugLine="h = bc - gc"; +_h = (float) (_bc-_gc); + }else +{RDebugUtils.currentLine=43843604; + //BA.debugLineNum = 43843604;BA.debugLine="Else If g = cmax Then"; +if (_g==_cmax) { +RDebugUtils.currentLine=43843605; + //BA.debugLineNum = 43843605;BA.debugLine="h = 2 + rc - bc"; +_h = (float) (2+_rc-_bc); + }else { +RDebugUtils.currentLine=43843607; + //BA.debugLineNum = 43843607;BA.debugLine="h = 4 + gc - rc"; +_h = (float) (4+_gc-_rc); + }} +; +RDebugUtils.currentLine=43843609; + //BA.debugLineNum = 43843609;BA.debugLine="h = h / 6"; +_h = (float) (_h/(double)6); +RDebugUtils.currentLine=43843610; + //BA.debugLineNum = 43843610;BA.debugLine="If h < 0 Then h = h + 1"; +if (_h<0) { +_h = (float) (_h+1);}; + }; +RDebugUtils.currentLine=43843612; + //BA.debugLineNum = 43843612;BA.debugLine="Return Array (h * 360, s, v, a)"; +if (true) return new Object[]{(Object)(_h*360),(Object)(_s),(Object)(_v),(Object)(_a)}; +RDebugUtils.currentLine=43843613; + //BA.debugLineNum = 43843613;BA.debugLine="End Sub"; +return null; +} +public reparto_izca.keymon.lat.b4xcolortemplate._colorpickerpart _createpanelforbitmapcreator(reparto_izca.keymon.lat.b4xcolortemplate __ref,String _eventname,boolean _withcheckers) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcolortemplate"; +if (Debug.shouldDelegate(ba, "createpanelforbitmapcreator", true)) + {return ((reparto_izca.keymon.lat.b4xcolortemplate._colorpickerpart) Debug.delegate(ba, "createpanelforbitmapcreator", new Object[] {_eventname,_withcheckers}));} +reparto_izca.keymon.lat.b4xcolortemplate._colorpickerpart _cpp = null; +anywheresoftware.b4a.objects.ImageViewWrapper _iv = null; +anywheresoftware.b4a.objects.B4XViewWrapper _overlay = null; +RDebugUtils.currentLine=42926080; + //BA.debugLineNum = 42926080;BA.debugLine="Private Sub CreatePanelForBitmapCreator (EventName"; +RDebugUtils.currentLine=42926081; + //BA.debugLineNum = 42926081;BA.debugLine="Dim cpp As ColorPickerPart"; +_cpp = new reparto_izca.keymon.lat.b4xcolortemplate._colorpickerpart(); +RDebugUtils.currentLine=42926082; + //BA.debugLineNum = 42926082;BA.debugLine="cpp.Initialize"; +_cpp.Initialize(); +RDebugUtils.currentLine=42926083; + //BA.debugLineNum = 42926083;BA.debugLine="cpp.pnl = xui.CreatePanel(\"\")"; +_cpp.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,""); +RDebugUtils.currentLine=42926084; + //BA.debugLineNum = 42926084;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=42926085; + //BA.debugLineNum = 42926085;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))); +RDebugUtils.currentLine=42926086; + //BA.debugLineNum = 42926086;BA.debugLine="If WithCheckers Then"; +if (_withcheckers) { +RDebugUtils.currentLine=42926087; + //BA.debugLineNum = 42926087;BA.debugLine="cpp.checkersCanvas.Initialize(cpp.pnl)"; +_cpp.checkersCanvas /*anywheresoftware.b4a.objects.B4XCanvas*/ .Initialize(_cpp.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ); +RDebugUtils.currentLine=42926088; + //BA.debugLineNum = 42926088;BA.debugLine="cpp.DrawCheckers = True"; +_cpp.DrawCheckers /*boolean*/ = __c.True; + }; +RDebugUtils.currentLine=42926090; + //BA.debugLineNum = 42926090;BA.debugLine="Dim iv As ImageView"; +_iv = new anywheresoftware.b4a.objects.ImageViewWrapper(); +RDebugUtils.currentLine=42926091; + //BA.debugLineNum = 42926091;BA.debugLine="iv.Initialize(\"\")"; +_iv.Initialize(ba,""); +RDebugUtils.currentLine=42926092; + //BA.debugLineNum = 42926092;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())); +RDebugUtils.currentLine=42926093; + //BA.debugLineNum = 42926093;BA.debugLine="Dim overlay As B4XView = xui.CreatePanel(EventNam"; +_overlay = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_overlay = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,_eventname); +RDebugUtils.currentLine=42926094; + //BA.debugLineNum = 42926094;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)); +RDebugUtils.currentLine=42926095; + //BA.debugLineNum = 42926095;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))); +RDebugUtils.currentLine=42926096; + //BA.debugLineNum = 42926096;BA.debugLine="cpp.cvs.Initialize(overlay)"; +_cpp.cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Initialize(_overlay); +RDebugUtils.currentLine=42926097; + //BA.debugLineNum = 42926097;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=42926098; + //BA.debugLineNum = 42926098;BA.debugLine="Return cpp"; +if (true) return _cpp; +RDebugUtils.currentLine=42926099; + //BA.debugLineNum = 42926099;BA.debugLine="End Sub"; +return null; +} +public String _dialogclosed(reparto_izca.keymon.lat.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=44040192; + //BA.debugLineNum = 44040192;BA.debugLine="Private Sub DialogClosed(Result As Int)"; +RDebugUtils.currentLine=44040193; + //BA.debugLineNum = 44040193;BA.debugLine="If Result <> xui.DialogResponse_Positive Then"; +if (_result!=__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .DialogResponse_Positive) { +RDebugUtils.currentLine=44040194; + //BA.debugLineNum = 44040194;BA.debugLine="setSelectedHSVColor(InitialColor)"; +__ref._setselectedhsvcolor /*String*/ (null,__ref._initialcolor /*Object[]*/ ); + }; +RDebugUtils.currentLine=44040196; + //BA.debugLineNum = 44040196;BA.debugLine="End Sub"; +return ""; +} +public String _setselectedhsvcolor(reparto_izca.keymon.lat.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=43778048; + //BA.debugLineNum = 43778048;BA.debugLine="Public Sub setSelectedHSVColor (HSV() As Object)"; +RDebugUtils.currentLine=43778049; + //BA.debugLineNum = 43778049;BA.debugLine="selectedH = HSV(0)"; +__ref._selectedh /*float*/ = (float)(BA.ObjectToNumber(_hsv[(int) (0)])); +RDebugUtils.currentLine=43778050; + //BA.debugLineNum = 43778050;BA.debugLine="selectedS = HSV(1)"; +__ref._selecteds /*float*/ = (float)(BA.ObjectToNumber(_hsv[(int) (1)])); +RDebugUtils.currentLine=43778051; + //BA.debugLineNum = 43778051;BA.debugLine="selectedV = HSV(2)"; +__ref._selectedv /*float*/ = (float)(BA.ObjectToNumber(_hsv[(int) (2)])); +RDebugUtils.currentLine=43778052; + //BA.debugLineNum = 43778052;BA.debugLine="SelectedAlpha = HSV(3)"; +__ref._selectedalpha /*int*/ = (int)(BA.ObjectToNumber(_hsv[(int) (3)])); +RDebugUtils.currentLine=43778053; + //BA.debugLineNum = 43778053;BA.debugLine="HueBarSelectedChanged(selectedH / 360 * HueBar.pn"; +__ref._huebarselectedchanged /*String*/ (null,(float) (__ref._selectedh /*float*/ /(double)360*__ref._huebar /*reparto_izca.keymon.lat.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight())); +RDebugUtils.currentLine=43778054; + //BA.debugLineNum = 43778054;BA.debugLine="AlphaBarSelectedChange(SelectedAlpha / 255 * Alph"; +__ref._alphabarselectedchange /*String*/ (null,(float) (__ref._selectedalpha /*int*/ /(double)255*__ref._alphabar /*reparto_izca.keymon.lat.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth())); +RDebugUtils.currentLine=43778055; + //BA.debugLineNum = 43778055;BA.debugLine="End Sub"; +return ""; +} +public String _drawcolors(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=43253760; + //BA.debugLineNum = 43253760;BA.debugLine="Private Sub DrawColors"; +RDebugUtils.currentLine=43253761; + //BA.debugLineNum = 43253761;BA.debugLine="For x = 0 To bcColors.mWidth - 1"; +{ +final int step1 = 1; +final int limit1 = (int) (__ref._bccolors /*b4a.example.bitmapcreator*/ ._mwidth-1); +_x = (int) (0) ; +for (;_x <= limit1 ;_x = _x + step1 ) { +RDebugUtils.currentLine=43253762; + //BA.debugLineNum = 43253762;BA.debugLine="For y = 0 To bcColors.mHeight - 1"; +{ +final int step2 = 1; +final int limit2 = (int) (__ref._bccolors /*b4a.example.bitmapcreator*/ ._mheight-1); +_y = (int) (0) ; +for (;_y <= limit2 ;_y = _y + step2 ) { +RDebugUtils.currentLine=43253763; + //BA.debugLineNum = 43253763;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)); + } +}; + } +}; +RDebugUtils.currentLine=43253767; + //BA.debugLineNum = 43253767;BA.debugLine="ColorPicker.iv.SetBitmap(bcColors.Bitmap.Resize(C"; +__ref._colorpicker /*reparto_izca.keymon.lat.b4xcolortemplate._colorpickerpart*/ .iv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetBitmap((android.graphics.Bitmap)(__ref._bccolors /*b4a.example.bitmapcreator*/ ._getbitmap().Resize(__ref._colorpicker /*reparto_izca.keymon.lat.b4xcolortemplate._colorpickerpart*/ .iv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._colorpicker /*reparto_izca.keymon.lat.b4xcolortemplate._colorpickerpart*/ .iv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight(),__c.False).getObject())); +RDebugUtils.currentLine=43253768; + //BA.debugLineNum = 43253768;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.objects.B4XViewWrapper _getpanel(reparto_izca.keymon.lat.b4xcolortemplate __ref,reparto_izca.keymon.lat.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=43909120; + //BA.debugLineNum = 43909120;BA.debugLine="Public Sub GetPanel (Dialog As B4XDialog) As B4XVi"; +RDebugUtils.currentLine=43909121; + //BA.debugLineNum = 43909121;BA.debugLine="Return mBase"; +if (true) return __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ; +RDebugUtils.currentLine=43909122; + //BA.debugLineNum = 43909122;BA.debugLine="End Sub"; +return null; +} +public int _getselectedcolor(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=43581440; + //BA.debugLineNum = 43581440;BA.debugLine="Public Sub getSelectedColor As Int"; +RDebugUtils.currentLine=43581441; + //BA.debugLineNum = 43581441;BA.debugLine="Dim hsv() As Object = getSelectedHSVColor"; +_hsv = __ref._getselectedhsvcolor /*Object[]*/ (null); +RDebugUtils.currentLine=43581442; + //BA.debugLineNum = 43581442;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=43581443; + //BA.debugLineNum = 43581443;BA.debugLine="Return tempBC.GetColor(0, 0)"; +if (true) return __ref._tempbc /*b4a.example.bitmapcreator*/ ._getcolor((int) (0),(int) (0)); +RDebugUtils.currentLine=43581444; + //BA.debugLineNum = 43581444;BA.debugLine="End Sub"; +return 0; +} +public Object[] _getselectedhsvcolor(reparto_izca.keymon.lat.b4xcolortemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcolortemplate"; +if (Debug.shouldDelegate(ba, "getselectedhsvcolor", true)) + {return ((Object[]) Debug.delegate(ba, "getselectedhsvcolor", null));} +RDebugUtils.currentLine=43712512; + //BA.debugLineNum = 43712512;BA.debugLine="Public Sub getSelectedHSVColor As Object()"; +RDebugUtils.currentLine=43712513; + //BA.debugLineNum = 43712513;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=43712514; + //BA.debugLineNum = 43712514;BA.debugLine="End Sub"; +return null; +} +public String _updatebarcolor(reparto_izca.keymon.lat.b4xcolortemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcolortemplate"; +if (Debug.shouldDelegate(ba, "updatebarcolor", true)) + {return ((String) Debug.delegate(ba, "updatebarcolor", null));} +RDebugUtils.currentLine=44105728; + //BA.debugLineNum = 44105728;BA.debugLine="Private Sub UpdateBarColor"; +RDebugUtils.currentLine=44105729; + //BA.debugLineNum = 44105729;BA.debugLine="If xDialog.IsInitialized And xDialog.TitleBar.IsI"; +if (__ref._xdialog /*reparto_izca.keymon.lat.b4xdialog*/ .IsInitialized /*boolean*/ () && __ref._xdialog /*reparto_izca.keymon.lat.b4xdialog*/ ._titlebar /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .IsInitialized()) { +RDebugUtils.currentLine=44105730; + //BA.debugLineNum = 44105730;BA.debugLine="xDialog.TitleBar.Color = getSelectedColor"; +__ref._xdialog /*reparto_izca.keymon.lat.b4xdialog*/ ._titlebar /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setColor(__ref._getselectedcolor /*int*/ (null)); + }; +RDebugUtils.currentLine=44105732; + //BA.debugLineNum = 44105732;BA.debugLine="End Sub"; +return ""; +} +public String _huebar_touch(reparto_izca.keymon.lat.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=44236800; + //BA.debugLineNum = 44236800;BA.debugLine="Private Sub HueBar_Touch (Action As Int, X As Floa"; +RDebugUtils.currentLine=44236801; + //BA.debugLineNum = 44236801;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 "";}; +RDebugUtils.currentLine=44236802; + //BA.debugLineNum = 44236802;BA.debugLine="HueBarSelectedChanged(Y)"; +__ref._huebarselectedchanged /*String*/ (null,_y); +RDebugUtils.currentLine=44236803; + //BA.debugLineNum = 44236803;BA.debugLine="End Sub"; +return ""; +} +public String _initialize(reparto_izca.keymon.lat.b4xcolortemplate __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="b4xcolortemplate"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=42860544; + //BA.debugLineNum = 42860544;BA.debugLine="Public Sub Initialize"; +RDebugUtils.currentLine=42860545; + //BA.debugLineNum = 42860545;BA.debugLine="tempBC.Initialize(1, 1)"; +__ref._tempbc /*b4a.example.bitmapcreator*/ ._initialize(ba,(int) (1),(int) (1)); +RDebugUtils.currentLine=42860546; + //BA.debugLineNum = 42860546;BA.debugLine="DeviceScale = 100dip / 100"; +__ref._devicescale /*float*/ = (float) (__c.DipToCurrent((int) (100))/(double)100); +RDebugUtils.currentLine=42860547; + //BA.debugLineNum = 42860547;BA.debugLine="mBase = xui.CreatePanel(\"\")"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,""); +RDebugUtils.currentLine=42860548; + //BA.debugLineNum = 42860548;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=42860549; + //BA.debugLineNum = 42860549;BA.debugLine="BordersColor = xui.Color_Black"; +__ref._borderscolor /*int*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Black; +RDebugUtils.currentLine=42860550; + //BA.debugLineNum = 42860550;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=42860551; + //BA.debugLineNum = 42860551;BA.debugLine="HueBar = CreatePanelForBitmapCreator(\"hueBar\", Fa"; +__ref._huebar /*reparto_izca.keymon.lat.b4xcolortemplate._colorpickerpart*/ = __ref._createpanelforbitmapcreator /*reparto_izca.keymon.lat.b4xcolortemplate._colorpickerpart*/ (null,"hueBar",__c.False); +RDebugUtils.currentLine=42860552; + //BA.debugLineNum = 42860552;BA.debugLine="ColorPicker = CreatePanelForBitmapCreator(\"colors"; +__ref._colorpicker /*reparto_izca.keymon.lat.b4xcolortemplate._colorpickerpart*/ = __ref._createpanelforbitmapcreator /*reparto_izca.keymon.lat.b4xcolortemplate._colorpickerpart*/ (null,"colors",__c.True); +RDebugUtils.currentLine=42860553; + //BA.debugLineNum = 42860553;BA.debugLine="AlphaBar = CreatePanelForBitmapCreator(\"alpha\", T"; +__ref._alphabar /*reparto_izca.keymon.lat.b4xcolortemplate._colorpickerpart*/ = __ref._createpanelforbitmapcreator /*reparto_izca.keymon.lat.b4xcolortemplate._colorpickerpart*/ (null,"alpha",__c.True); +RDebugUtils.currentLine=42860554; + //BA.debugLineNum = 42860554;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=42860555; + //BA.debugLineNum = 42860555;BA.debugLine="End Sub"; +return ""; +} +public String _setselectedcolor(reparto_izca.keymon.lat.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=43646976; + //BA.debugLineNum = 43646976;BA.debugLine="Public Sub setSelectedColor(i As Int)"; +RDebugUtils.currentLine=43646977; + //BA.debugLineNum = 43646977;BA.debugLine="setSelectedHSVColor(ColorToHSV(i))"; +__ref._setselectedhsvcolor /*String*/ (null,__ref._colortohsv /*Object[]*/ (null,_i)); +RDebugUtils.currentLine=43646978; + //BA.debugLineNum = 43646978;BA.debugLine="End Sub"; +return ""; +} +public void _show(reparto_izca.keymon.lat.b4xcolortemplate __ref,reparto_izca.keymon.lat.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(reparto_izca.keymon.lat.b4xcolortemplate parent,reparto_izca.keymon.lat.b4xcolortemplate __ref,reparto_izca.keymon.lat.b4xdialog _dialog) { +this.parent = parent; +this.__ref = __ref; +this._dialog = _dialog; +this.__ref = parent; +} +reparto_izca.keymon.lat.b4xcolortemplate __ref; +reparto_izca.keymon.lat.b4xcolortemplate parent; +reparto_izca.keymon.lat.b4xdialog _dialog; + +@Override +public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="b4xcolortemplate"; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = -1; +RDebugUtils.currentLine=43974657; + //BA.debugLineNum = 43974657;BA.debugLine="InitialColor = getSelectedHSVColor"; +__ref._initialcolor /*Object[]*/ = __ref._getselectedhsvcolor /*Object[]*/ (null); +RDebugUtils.currentLine=43974658; + //BA.debugLineNum = 43974658;BA.debugLine="xDialog = Dialog"; +__ref._xdialog /*reparto_izca.keymon.lat.b4xdialog*/ = _dialog; +RDebugUtils.currentLine=43974659; + //BA.debugLineNum = 43974659;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; +; +RDebugUtils.currentLine=43974660; + //BA.debugLineNum = 43974660;BA.debugLine="UpdateBarColor"; +__ref._updatebarcolor /*String*/ (null); +RDebugUtils.currentLine=43974661; + //BA.debugLineNum = 43974661;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/b4xcombobox.java b/B4A/Objects/src/reparto_izca/keymon/lat/b4xcombobox.java new file mode 100644 index 0000000..280cc32 --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/b4xcombobox.java @@ -0,0 +1,444 @@ +package reparto_izca.keymon.lat; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.B4AClass; +import anywheresoftware.b4a.BALayout; +import anywheresoftware.b4a.debug.*; + +public class b4xcombobox 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, "reparto_izca.keymon.lat.b4xcombobox"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", reparto_izca.keymon.lat.b4xcombobox.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 String _meventname = ""; +public Object _mcallback = null; +public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; +public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; +public int _lastselectedindex = 0; +public anywheresoftware.b4a.objects.SpinnerWrapper _cmbbox = null; +public int _delaybeforechangeevent = 0; +public int _delayindex = 0; +public Object _tag = null; +public String _b4icancelbutton = ""; +public b4a.example.dateutils _dateutils = null; +public reparto_izca.keymon.lat.main _main = null; +public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; +public reparto_izca.keymon.lat.foto _foto = null; +public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_izca.keymon.lat.starter _starter = null; +public reparto_izca.keymon.lat.tracker _tracker = null; +public reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public String _setselectedindex(reparto_izca.keymon.lat.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=44892160; + //BA.debugLineNum = 44892160;BA.debugLine="Public Sub setSelectedIndex(i As Int)"; +RDebugUtils.currentLine=44892161; + //BA.debugLineNum = 44892161;BA.debugLine="LastSelectedIndex = i"; +__ref._lastselectedindex /*int*/ = _i; +RDebugUtils.currentLine=44892163; + //BA.debugLineNum = 44892163;BA.debugLine="cmbBox.SelectedIndex = i"; +__ref._cmbbox /*anywheresoftware.b4a.objects.SpinnerWrapper*/ .setSelectedIndex(_i); +RDebugUtils.currentLine=44892172; + //BA.debugLineNum = 44892172;BA.debugLine="End Sub"; +return ""; +} +public String _setitems(reparto_izca.keymon.lat.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=44630016; + //BA.debugLineNum = 44630016;BA.debugLine="Public Sub SetItems(Items As List)"; +RDebugUtils.currentLine=44630021; + //BA.debugLineNum = 44630021;BA.debugLine="cmbBox.Clear"; +__ref._cmbbox /*anywheresoftware.b4a.objects.SpinnerWrapper*/ .Clear(); +RDebugUtils.currentLine=44630022; + //BA.debugLineNum = 44630022;BA.debugLine="cmbBox.AddAll(Items)"; +__ref._cmbbox /*anywheresoftware.b4a.objects.SpinnerWrapper*/ .AddAll(_items); +RDebugUtils.currentLine=44630029; + //BA.debugLineNum = 44630029;BA.debugLine="If Items.Size > 0 Then setSelectedIndex(0)"; +if (_items.getSize()>0) { +__ref._setselectedindex /*String*/ (null,(int) (0));}; +RDebugUtils.currentLine=44630030; + //BA.debugLineNum = 44630030;BA.debugLine="End Sub"; +return ""; +} +public String _getselecteditem(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=44957696; + //BA.debugLineNum = 44957696;BA.debugLine="Public Sub getSelectedItem As String"; +RDebugUtils.currentLine=44957697; + //BA.debugLineNum = 44957697;BA.debugLine="Dim i As Int = getSelectedIndex"; +_i = __ref._getselectedindex /*int*/ (null); +RDebugUtils.currentLine=44957698; + //BA.debugLineNum = 44957698;BA.debugLine="If i = -1 Then Return \"\""; +if (_i==-1) { +if (true) return "";}; +RDebugUtils.currentLine=44957699; + //BA.debugLineNum = 44957699;BA.debugLine="Return GetItem(i)"; +if (true) return __ref._getitem /*String*/ (null,_i); +RDebugUtils.currentLine=44957700; + //BA.debugLineNum = 44957700;BA.debugLine="End Sub"; +return ""; +} +public String _base_resize(reparto_izca.keymon.lat.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=44564480; + //BA.debugLineNum = 44564480;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; +RDebugUtils.currentLine=44564481; + //BA.debugLineNum = 44564481;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=44564482; + //BA.debugLineNum = 44564482;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(reparto_izca.keymon.lat.b4xcombobox __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcombobox"; +RDebugUtils.currentLine=44367872; + //BA.debugLineNum = 44367872;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=44367873; + //BA.debugLineNum = 44367873;BA.debugLine="Private mEventName As String 'ignore"; +_meventname = ""; +RDebugUtils.currentLine=44367874; + //BA.debugLineNum = 44367874;BA.debugLine="Private mCallBack As Object 'ignore"; +_mcallback = new Object(); +RDebugUtils.currentLine=44367875; + //BA.debugLineNum = 44367875;BA.debugLine="Public mBase As B4XView"; +_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=44367876; + //BA.debugLineNum = 44367876;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=44367877; + //BA.debugLineNum = 44367877;BA.debugLine="Private LastSelectedIndex As Int"; +_lastselectedindex = 0; +RDebugUtils.currentLine=44367881; + //BA.debugLineNum = 44367881;BA.debugLine="Public cmbBox As Spinner"; +_cmbbox = new anywheresoftware.b4a.objects.SpinnerWrapper(); +RDebugUtils.currentLine=44367887; + //BA.debugLineNum = 44367887;BA.debugLine="Public DelayBeforeChangeEvent As Int"; +_delaybeforechangeevent = 0; +RDebugUtils.currentLine=44367889; + //BA.debugLineNum = 44367889;BA.debugLine="Private DelayIndex As Int"; +_delayindex = 0; +RDebugUtils.currentLine=44367890; + //BA.debugLineNum = 44367890;BA.debugLine="Public Tag As Object"; +_tag = new Object(); +RDebugUtils.currentLine=44367891; + //BA.debugLineNum = 44367891;BA.debugLine="Public B4iCancelButton As String = \"Cancel\""; +_b4icancelbutton = "Cancel"; +RDebugUtils.currentLine=44367892; + //BA.debugLineNum = 44367892;BA.debugLine="End Sub"; +return ""; +} +public String _cmbbox_itemclick(reparto_izca.keymon.lat.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=45154304; + //BA.debugLineNum = 45154304;BA.debugLine="Private Sub CmbBox_ItemClick (Position As Int, Val"; +RDebugUtils.currentLine=45154305; + //BA.debugLineNum = 45154305;BA.debugLine="RaiseEvent"; +__ref._raiseevent /*void*/ (null); +RDebugUtils.currentLine=45154306; + //BA.debugLineNum = 45154306;BA.debugLine="End Sub"; +return ""; +} +public void _raiseevent(reparto_izca.keymon.lat.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(reparto_izca.keymon.lat.b4xcombobox parent,reparto_izca.keymon.lat.b4xcombobox __ref) { +this.parent = parent; +this.__ref = __ref; +this.__ref = parent; +} +reparto_izca.keymon.lat.b4xcombobox __ref; +reparto_izca.keymon.lat.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) { + case -1: +return; + +case 0: +//C +this.state = 1; +RDebugUtils.currentLine=45088769; + //BA.debugLineNum = 45088769;BA.debugLine="Dim index As Int = getSelectedIndex"; +_index = __ref._getselectedindex /*int*/ (null); +RDebugUtils.currentLine=45088770; + //BA.debugLineNum = 45088770;BA.debugLine="If LastSelectedIndex = index Then Return"; +if (true) break; + +case 1: +//if +this.state = 6; +if (__ref._lastselectedindex /*int*/ ==_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; +; +RDebugUtils.currentLine=45088771; + //BA.debugLineNum = 45088771;BA.debugLine="If DelayBeforeChangeEvent > 0 Then"; +if (true) break; + +case 7: +//if +this.state = 16; +if (__ref._delaybeforechangeevent /*int*/ >0) { +this.state = 9; +}if (true) break; + +case 9: +//C +this.state = 10; +RDebugUtils.currentLine=45088772; + //BA.debugLineNum = 45088772;BA.debugLine="DelayIndex = DelayIndex + 1"; +__ref._delayindex /*int*/ = (int) (__ref._delayindex /*int*/ +1); +RDebugUtils.currentLine=45088773; + //BA.debugLineNum = 45088773;BA.debugLine="Dim MyIndex As Int = DelayIndex"; +_myindex = __ref._delayindex /*int*/ ; +RDebugUtils.currentLine=45088774; + //BA.debugLineNum = 45088774;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; +; +RDebugUtils.currentLine=45088775; + //BA.debugLineNum = 45088775;BA.debugLine="If MyIndex <> DelayIndex Then Return"; +if (true) break; + +case 10: +//if +this.state = 15; +if (_myindex!=__ref._delayindex /*int*/ ) { +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; +; +RDebugUtils.currentLine=45088777; + //BA.debugLineNum = 45088777;BA.debugLine="LastSelectedIndex = index"; +__ref._lastselectedindex /*int*/ = _index; +RDebugUtils.currentLine=45088778; + //BA.debugLineNum = 45088778;BA.debugLine="If xui.SubExists(mCallBack, mEventName & \"_Select"; +if (true) break; + +case 17: +//if +this.state = 20; +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; +RDebugUtils.currentLine=45088779; + //BA.debugLineNum = 45088779;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; +; +RDebugUtils.currentLine=45088781; + //BA.debugLineNum = 45088781;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public String _designercreateview(reparto_izca.keymon.lat.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=44498944; + //BA.debugLineNum = 44498944;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; +RDebugUtils.currentLine=44498945; + //BA.debugLineNum = 44498945;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=44498946; + //BA.debugLineNum = 44498946;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._tag /*Object*/ = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTag(); +RDebugUtils.currentLine=44498946; + //BA.debugLineNum = 44498946;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag(this); +RDebugUtils.currentLine=44498947; + //BA.debugLineNum = 44498947;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=44498954; + //BA.debugLineNum = 44498954;BA.debugLine="cmbBox.Initialize(\"cmbBox\")"; +__ref._cmbbox /*anywheresoftware.b4a.objects.SpinnerWrapper*/ .Initialize(ba,"cmbBox"); +RDebugUtils.currentLine=44498955; + //BA.debugLineNum = 44498955;BA.debugLine="cmbBox.TextSize = xlbl.TextSize"; +__ref._cmbbox /*anywheresoftware.b4a.objects.SpinnerWrapper*/ .setTextSize(_xlbl.getTextSize()); +RDebugUtils.currentLine=44498956; + //BA.debugLineNum = 44498956;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=44498965; + //BA.debugLineNum = 44498965;BA.debugLine="End Sub"; +return ""; +} +public String _getitem(reparto_izca.keymon.lat.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=45023232; + //BA.debugLineNum = 45023232;BA.debugLine="Public Sub GetItem(Index As Int) As String"; +RDebugUtils.currentLine=45023236; + //BA.debugLineNum = 45023236;BA.debugLine="Return cmbBox.GetItem(Index)"; +if (true) return __ref._cmbbox /*anywheresoftware.b4a.objects.SpinnerWrapper*/ .GetItem(_index); +RDebugUtils.currentLine=45023240; + //BA.debugLineNum = 45023240;BA.debugLine="End Sub"; +return ""; +} +public int _getselectedindex(reparto_izca.keymon.lat.b4xcombobox __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcombobox"; +if (Debug.shouldDelegate(ba, "getselectedindex", true)) + {return ((Integer) Debug.delegate(ba, "getselectedindex", null));} +RDebugUtils.currentLine=44826624; + //BA.debugLineNum = 44826624;BA.debugLine="Public Sub getSelectedIndex As Int"; +RDebugUtils.currentLine=44826626; + //BA.debugLineNum = 44826626;BA.debugLine="Return cmbBox.SelectedIndex"; +if (true) return __ref._cmbbox /*anywheresoftware.b4a.objects.SpinnerWrapper*/ .getSelectedIndex(); +RDebugUtils.currentLine=44826630; + //BA.debugLineNum = 44826630;BA.debugLine="End Sub"; +return 0; +} +public int _getsize(reparto_izca.keymon.lat.b4xcombobox __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcombobox"; +if (Debug.shouldDelegate(ba, "getsize", true)) + {return ((Integer) Debug.delegate(ba, "getsize", null));} +RDebugUtils.currentLine=44695552; + //BA.debugLineNum = 44695552;BA.debugLine="Public Sub getSize As Int"; +RDebugUtils.currentLine=44695556; + //BA.debugLineNum = 44695556;BA.debugLine="Return cmbBox.Size"; +if (true) return __ref._cmbbox /*anywheresoftware.b4a.objects.SpinnerWrapper*/ .getSize(); +RDebugUtils.currentLine=44695560; + //BA.debugLineNum = 44695560;BA.debugLine="End Sub"; +return 0; +} +public int _indexof(reparto_izca.keymon.lat.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=44761088; + //BA.debugLineNum = 44761088;BA.debugLine="Public Sub IndexOf(Item As String) As Int"; +RDebugUtils.currentLine=44761092; + //BA.debugLineNum = 44761092;BA.debugLine="Return cmbBox.IndexOf(Item)"; +if (true) return __ref._cmbbox /*anywheresoftware.b4a.objects.SpinnerWrapper*/ .IndexOf(_item); +RDebugUtils.currentLine=44761096; + //BA.debugLineNum = 44761096;BA.debugLine="End Sub"; +return 0; +} +public String _initialize(reparto_izca.keymon.lat.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=44433408; + //BA.debugLineNum = 44433408;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +RDebugUtils.currentLine=44433409; + //BA.debugLineNum = 44433409;BA.debugLine="mEventName = EventName"; +__ref._meventname /*String*/ = _eventname; +RDebugUtils.currentLine=44433410; + //BA.debugLineNum = 44433410;BA.debugLine="mCallBack = Callback"; +__ref._mcallback /*Object*/ = _callback; +RDebugUtils.currentLine=44433411; + //BA.debugLineNum = 44433411;BA.debugLine="LastSelectedIndex = -1"; +__ref._lastselectedindex /*int*/ = (int) (-1); +RDebugUtils.currentLine=44433412; + //BA.debugLineNum = 44433412;BA.debugLine="If xui.IsB4J Then DelayBeforeChangeEvent = 500"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4J()) { +__ref._delaybeforechangeevent /*int*/ = (int) (500);}; +RDebugUtils.currentLine=44433413; + //BA.debugLineNum = 44433413;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/b4xcomparatorsort.java b/B4A/Objects/src/reparto_izca/keymon/lat/b4xcomparatorsort.java new file mode 100644 index 0000000..a8f48ca --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/b4xcomparatorsort.java @@ -0,0 +1,181 @@ +package reparto_izca.keymon.lat; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.B4AClass; +import anywheresoftware.b4a.BALayout; +import anywheresoftware.b4a.debug.*; + +public class b4xcomparatorsort 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, "reparto_izca.keymon.lat.b4xcomparatorsort"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", reparto_izca.keymon.lat.b4xcomparatorsort.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 b4a.example.dateutils _dateutils = null; +public reparto_izca.keymon.lat.main _main = null; +public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; +public reparto_izca.keymon.lat.foto _foto = null; +public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_izca.keymon.lat.starter _starter = null; +public reparto_izca.keymon.lat.tracker _tracker = null; +public reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public String _class_globals(reparto_izca.keymon.lat.b4xcomparatorsort __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcomparatorsort"; +RDebugUtils.currentLine=33226752; + //BA.debugLineNum = 33226752;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=33226753; + //BA.debugLineNum = 33226753;BA.debugLine="End Sub"; +return ""; +} +public String _initialize(reparto_izca.keymon.lat.b4xcomparatorsort __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="b4xcomparatorsort"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=33292288; + //BA.debugLineNum = 33292288;BA.debugLine="Public Sub Initialize"; +RDebugUtils.currentLine=33292289; + //BA.debugLineNum = 33292289;BA.debugLine="End Sub"; +return ""; +} +public int _partition(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=33488896; + //BA.debugLineNum = 33488896;BA.debugLine="Private Sub Partition(Data As List, StartIndex As"; +RDebugUtils.currentLine=33488897; + //BA.debugLineNum = 33488897;BA.debugLine="Dim PivotValue As Object = Data.Get(StartIndex +"; +_pivotvalue = _data.Get((int) (_startindex+_pivotindex)); +RDebugUtils.currentLine=33488898; + //BA.debugLineNum = 33488898;BA.debugLine="Swap(Data, StartIndex, PivotIndex, Length - 1)"; +__ref._swap /*String*/ (null,_data,_startindex,_pivotindex,(int) (_length-1)); +RDebugUtils.currentLine=33488899; + //BA.debugLineNum = 33488899;BA.debugLine="Dim L As Int = 0"; +_l = (int) (0); +RDebugUtils.currentLine=33488900; + //BA.debugLineNum = 33488900;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 ) { +RDebugUtils.currentLine=33488901; + //BA.debugLineNum = 33488901;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=33488902; + //BA.debugLineNum = 33488902;BA.debugLine="L = L + 1"; +_l = (int) (_l+1); +RDebugUtils.currentLine=33488903; + //BA.debugLineNum = 33488903;BA.debugLine="Swap(Data, StartIndex, L - 1, i)"; +__ref._swap /*String*/ (null,_data,_startindex,(int) (_l-1),_i); + }; + } +}; +RDebugUtils.currentLine=33488906; + //BA.debugLineNum = 33488906;BA.debugLine="Swap(Data, StartIndex, Length - 1, L)"; +__ref._swap /*String*/ (null,_data,_startindex,(int) (_length-1),_l); +RDebugUtils.currentLine=33488907; + //BA.debugLineNum = 33488907;BA.debugLine="Return L"; +if (true) return _l; +RDebugUtils.currentLine=33488908; + //BA.debugLineNum = 33488908;BA.debugLine="End Sub"; +return 0; +} +public String _swap(reparto_izca.keymon.lat.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=33554432; + //BA.debugLineNum = 33554432;BA.debugLine="Private Sub Swap (Data As List, StartIndex As Int,"; +RDebugUtils.currentLine=33554433; + //BA.debugLineNum = 33554433;BA.debugLine="Dim o As Object = Data.Get(StartIndex + i1)"; +_o = _data.Get((int) (_startindex+_i1)); +RDebugUtils.currentLine=33554434; + //BA.debugLineNum = 33554434;BA.debugLine="Data.Set(StartIndex + i1, Data.Get(StartIndex + i"; +_data.Set((int) (_startindex+_i1),_data.Get((int) (_startindex+_i2))); +RDebugUtils.currentLine=33554435; + //BA.debugLineNum = 33554435;BA.debugLine="Data.Set(StartIndex + i2, o)"; +_data.Set((int) (_startindex+_i2),_o); +RDebugUtils.currentLine=33554436; + //BA.debugLineNum = 33554436;BA.debugLine="End Sub"; +return ""; +} +public String _quicksort(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=33423360; + //BA.debugLineNum = 33423360;BA.debugLine="Private Sub QuickSort (Data As List, StartIndex As"; +RDebugUtils.currentLine=33423361; + //BA.debugLineNum = 33423361;BA.debugLine="If Length > 1 Then"; +if (_length>1) { +RDebugUtils.currentLine=33423362; + //BA.debugLineNum = 33423362;BA.debugLine="Dim PivotIndex As Int = Rnd(0, Length)"; +_pivotindex = __c.Rnd((int) (0),_length); +RDebugUtils.currentLine=33423363; + //BA.debugLineNum = 33423363;BA.debugLine="Dim r As Int = Partition(Data, StartIndex, Lengt"; +_r = __ref._partition /*int*/ (null,_data,_startindex,_length,_pivotindex,_comparator); +RDebugUtils.currentLine=33423364; + //BA.debugLineNum = 33423364;BA.debugLine="QuickSort(Data, StartIndex, r, Comparator)"; +__ref._quicksort /*String*/ (null,_data,_startindex,_r,_comparator); +RDebugUtils.currentLine=33423365; + //BA.debugLineNum = 33423365;BA.debugLine="QuickSort(Data, StartIndex + r + 1, Length - r -"; +__ref._quicksort /*String*/ (null,_data,(int) (_startindex+_r+1),(int) (_length-_r-1),_comparator); + }; +RDebugUtils.currentLine=33423367; + //BA.debugLineNum = 33423367;BA.debugLine="End Sub"; +return ""; +} +public String _sort(reparto_izca.keymon.lat.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=33357824; + //BA.debugLineNum = 33357824;BA.debugLine="Public Sub Sort (Data As List, Comparator As Objec"; +RDebugUtils.currentLine=33357826; + //BA.debugLineNum = 33357826;BA.debugLine="QuickSort(Data, 0, Data.Size, Comparator)"; +__ref._quicksort /*String*/ (null,_data,(int) (0),_data.getSize(),_comparator); +RDebugUtils.currentLine=33357830; + //BA.debugLineNum = 33357830;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/b4xdatetemplate.java b/B4A/Objects/src/reparto_izca/keymon/lat/b4xdatetemplate.java new file mode 100644 index 0000000..704ea71 --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/b4xdatetemplate.java @@ -0,0 +1,767 @@ +package reparto_izca.keymon.lat; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.B4AClass; +import anywheresoftware.b4a.BALayout; +import anywheresoftware.b4a.debug.*; + +public class b4xdatetemplate 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, "reparto_izca.keymon.lat.b4xdatetemplate"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", reparto_izca.keymon.lat.b4xdatetemplate.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.XUI _xui = null; +public int _month = 0; +public int _year = 0; +public float _boxw = 0f; +public float _boxh = 0f; +public float _vcorrection = 0f; +public int _tempselectedday = 0; +public int _dayofweekoffset = 0; +public int _daysinmonth = 0; +public anywheresoftware.b4a.objects.B4XViewWrapper _dayspanebg = null; +public anywheresoftware.b4a.objects.B4XViewWrapper _dayspanefg = null; +public anywheresoftware.b4a.objects.B4XCanvas _cvs = null; +public anywheresoftware.b4a.objects.B4XCanvas _cvsbackground = null; +public long _selecteddate = 0L; +public long _previousselecteddate = 0L; +public int _selectedyear = 0; +public int _selectedmonth = 0; +public int _selectedday = 0; +public int _highlightedcolor = 0; +public int _selectedcolor = 0; +public int _daysinmonthcolor = 0; +public int _daysinweekcolor = 0; +public anywheresoftware.b4a.objects.B4XCanvas _cvsdays = null; +public anywheresoftware.b4a.objects.B4XViewWrapper _daystitlespane = null; +public int _firstday = 0; +public int _minyear = 0; +public int _maxyear = 0; +public anywheresoftware.b4a.objects.B4XViewWrapper _btnmonthleft = null; +public anywheresoftware.b4a.objects.B4XViewWrapper _btnmonthright = null; +public anywheresoftware.b4a.objects.B4XViewWrapper _btnyearleft = null; +public anywheresoftware.b4a.objects.B4XViewWrapper _btnyearright = null; +public anywheresoftware.b4a.objects.B4XViewWrapper _lblmonth = null; +public anywheresoftware.b4a.objects.B4XViewWrapper _lblyear = null; +public anywheresoftware.b4a.objects.B4XViewWrapper _pnldialog = null; +public anywheresoftware.b4a.objects.collections.List _months = null; +public reparto_izca.keymon.lat.b4xdialog _mdialog = null; +public boolean _closeonselection = false; +public anywheresoftware.b4a.objects.collections.List _daysofweeknames = null; +public b4a.example.dateutils _dateutils = null; +public reparto_izca.keymon.lat.main _main = null; +public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; +public reparto_izca.keymon.lat.foto _foto = null; +public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_izca.keymon.lat.starter _starter = null; +public reparto_izca.keymon.lat.tracker _tracker = null; +public reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public String _btnmonth_click(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=45940736; + //BA.debugLineNum = 45940736;BA.debugLine="Private Sub btnMonth_Click"; +RDebugUtils.currentLine=45940737; + //BA.debugLineNum = 45940737;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=45940738; + //BA.debugLineNum = 45940738;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=45940739; + //BA.debugLineNum = 45940739;BA.debugLine="month = (m Mod 12) + 1"; +__ref._month /*int*/ = (int) ((_m%12)+1); +RDebugUtils.currentLine=45940740; + //BA.debugLineNum = 45940740;BA.debugLine="DrawDays"; +__ref._drawdays /*String*/ (null); +RDebugUtils.currentLine=45940741; + //BA.debugLineNum = 45940741;BA.debugLine="End Sub"; +return ""; +} +public String _drawdays(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=45350912; + //BA.debugLineNum = 45350912;BA.debugLine="Private Sub DrawDays"; +RDebugUtils.currentLine=45350913; + //BA.debugLineNum = 45350913;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=45350914; + //BA.debugLineNum = 45350914;BA.debugLine="lblYear.Text = year"; +__ref._lblyear /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setText(BA.ObjectToCharSequence(__ref._year /*int*/ )); +RDebugUtils.currentLine=45350915; + //BA.debugLineNum = 45350915;BA.debugLine="SetYearsButtonState"; +__ref._setyearsbuttonstate /*String*/ (null); +RDebugUtils.currentLine=45350916; + //BA.debugLineNum = 45350916;BA.debugLine="cvs.ClearRect(cvs.TargetRect)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClearRect(__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect()); +RDebugUtils.currentLine=45350917; + //BA.debugLineNum = 45350917;BA.debugLine="cvsBackground.ClearRect(cvsBackground.TargetRect)"; +__ref._cvsbackground /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClearRect(__ref._cvsbackground /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect()); +RDebugUtils.currentLine=45350918; + //BA.debugLineNum = 45350918;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=45350919; + //BA.debugLineNum = 45350919;BA.debugLine="dayOfWeekOffset = (7 + DateTime.GetDayOfWeek(firs"; +__ref._dayofweekoffset /*int*/ = (int) ((7+__c.DateTime.GetDayOfWeek(_firstdayofmonth)-__ref._firstday /*int*/ )%7); +RDebugUtils.currentLine=45350920; + //BA.debugLineNum = 45350920;BA.debugLine="daysInMonth = DateUtils.NumberOfDaysInMonth(month"; +__ref._daysinmonth /*int*/ = _dateutils._numberofdaysinmonth(ba,__ref._month /*int*/ ,__ref._year /*int*/ ); +RDebugUtils.currentLine=45350921; + //BA.debugLineNum = 45350921;BA.debugLine="If year = selectedYear And month = selectedMonth"; +if (__ref._year /*int*/ ==__ref._selectedyear /*int*/ && __ref._month /*int*/ ==__ref._selectedmonth /*int*/ ) { +RDebugUtils.currentLine=45350923; + //BA.debugLineNum = 45350923;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)); + }; +RDebugUtils.currentLine=45350926; + //BA.debugLineNum = 45350926;BA.debugLine="Dim daysFont As B4XFont = xui.CreateDefaultBoldFo"; +_daysfont = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreateDefaultBoldFont((float) (14)); +RDebugUtils.currentLine=45350927; + //BA.debugLineNum = 45350927;BA.debugLine="For day = 1 To daysInMonth"; +{ +final int step13 = 1; +final int limit13 = __ref._daysinmonth /*int*/ ; +_day = (int) (1) ; +for (;_day <= limit13 ;_day = _day + step13 ) { +RDebugUtils.currentLine=45350928; + //BA.debugLineNum = 45350928;BA.debugLine="Dim row As Int = (day - 1 + dayOfWeekOffset) / 7"; +_row = (int) ((_day-1+__ref._dayofweekoffset /*int*/ )/(double)7); +RDebugUtils.currentLine=45350929; + //BA.debugLineNum = 45350929;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")); + } +}; +RDebugUtils.currentLine=45350932; + //BA.debugLineNum = 45350932;BA.debugLine="cvsBackground.Invalidate"; +__ref._cvsbackground /*anywheresoftware.b4a.objects.B4XCanvas*/ .Invalidate(); +RDebugUtils.currentLine=45350933; + //BA.debugLineNum = 45350933;BA.debugLine="cvs.Invalidate"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Invalidate(); +RDebugUtils.currentLine=45350934; + //BA.debugLineNum = 45350934;BA.debugLine="End Sub"; +return ""; +} +public String _btnyear_click(reparto_izca.keymon.lat.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=45875200; + //BA.debugLineNum = 45875200;BA.debugLine="Private Sub btnYear_Click"; +RDebugUtils.currentLine=45875201; + //BA.debugLineNum = 45875201;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=45875202; + //BA.debugLineNum = 45875202;BA.debugLine="year = year + btn.Tag"; +__ref._year /*int*/ = (int) (__ref._year /*int*/ +(double)(BA.ObjectToNumber(_btn.getTag()))); +RDebugUtils.currentLine=45875203; + //BA.debugLineNum = 45875203;BA.debugLine="DrawDays"; +__ref._drawdays /*String*/ (null); +RDebugUtils.currentLine=45875204; + //BA.debugLineNum = 45875204;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(reparto_izca.keymon.lat.b4xdatetemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdatetemplate"; +RDebugUtils.currentLine=45219840; + //BA.debugLineNum = 45219840;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=45219841; + //BA.debugLineNum = 45219841;BA.debugLine="Private xui As XUI"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=45219842; + //BA.debugLineNum = 45219842;BA.debugLine="Private month, year As Int"; +_month = 0; +_year = 0; +RDebugUtils.currentLine=45219843; + //BA.debugLineNum = 45219843;BA.debugLine="Private boxW, boxH As Float"; +_boxw = 0f; +_boxh = 0f; +RDebugUtils.currentLine=45219844; + //BA.debugLineNum = 45219844;BA.debugLine="Private vCorrection As Float"; +_vcorrection = 0f; +RDebugUtils.currentLine=45219845; + //BA.debugLineNum = 45219845;BA.debugLine="Private tempSelectedDay As Int"; +_tempselectedday = 0; +RDebugUtils.currentLine=45219846; + //BA.debugLineNum = 45219846;BA.debugLine="Private dayOfWeekOffset As Int"; +_dayofweekoffset = 0; +RDebugUtils.currentLine=45219847; + //BA.debugLineNum = 45219847;BA.debugLine="Private daysInMonth As Int"; +_daysinmonth = 0; +RDebugUtils.currentLine=45219848; + //BA.debugLineNum = 45219848;BA.debugLine="Private DaysPaneBg As B4XView"; +_dayspanebg = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=45219849; + //BA.debugLineNum = 45219849;BA.debugLine="Private DaysPaneFg As B4XView"; +_dayspanefg = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=45219850; + //BA.debugLineNum = 45219850;BA.debugLine="Private cvs As B4XCanvas"; +_cvs = new anywheresoftware.b4a.objects.B4XCanvas(); +RDebugUtils.currentLine=45219851; + //BA.debugLineNum = 45219851;BA.debugLine="Private cvsBackground As B4XCanvas"; +_cvsbackground = new anywheresoftware.b4a.objects.B4XCanvas(); +RDebugUtils.currentLine=45219852; + //BA.debugLineNum = 45219852;BA.debugLine="Private selectedDate As Long"; +_selecteddate = 0L; +RDebugUtils.currentLine=45219853; + //BA.debugLineNum = 45219853;BA.debugLine="Private PreviousSelectedDate As Long"; +_previousselecteddate = 0L; +RDebugUtils.currentLine=45219854; + //BA.debugLineNum = 45219854;BA.debugLine="Private selectedYear, selectedMonth, selectedDay"; +_selectedyear = 0; +_selectedmonth = 0; +_selectedday = 0; +RDebugUtils.currentLine=45219855; + //BA.debugLineNum = 45219855;BA.debugLine="Public HighlightedColor As Int = 0xFF001BBD"; +_highlightedcolor = ((int)0xff001bbd); +RDebugUtils.currentLine=45219856; + //BA.debugLineNum = 45219856;BA.debugLine="Public SelectedColor As Int = 0xFF0BA29B"; +_selectedcolor = ((int)0xff0ba29b); +RDebugUtils.currentLine=45219857; + //BA.debugLineNum = 45219857;BA.debugLine="Public DaysInMonthColor As Int = xui.Color_White"; +_daysinmonthcolor = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_White; +RDebugUtils.currentLine=45219858; + //BA.debugLineNum = 45219858;BA.debugLine="Public DaysInWeekColor As Int = xui.Color_Gray"; +_daysinweekcolor = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Gray; +RDebugUtils.currentLine=45219859; + //BA.debugLineNum = 45219859;BA.debugLine="Private cvsDays As B4XCanvas"; +_cvsdays = new anywheresoftware.b4a.objects.B4XCanvas(); +RDebugUtils.currentLine=45219860; + //BA.debugLineNum = 45219860;BA.debugLine="Private DaysTitlesPane As B4XView"; +_daystitlespane = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=45219861; + //BA.debugLineNum = 45219861;BA.debugLine="Public FirstDay As Int = 0"; +_firstday = (int) (0); +RDebugUtils.currentLine=45219862; + //BA.debugLineNum = 45219862;BA.debugLine="Public MinYear = 1970, MaxYear = 2030 As Int"; +_minyear = (int) (1970); +_maxyear = (int) (2030); +RDebugUtils.currentLine=45219863; + //BA.debugLineNum = 45219863;BA.debugLine="Public btnMonthLeft As B4XView"; +_btnmonthleft = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=45219864; + //BA.debugLineNum = 45219864;BA.debugLine="Public btnMonthRight As B4XView"; +_btnmonthright = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=45219865; + //BA.debugLineNum = 45219865;BA.debugLine="Public btnYearLeft As B4XView"; +_btnyearleft = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=45219866; + //BA.debugLineNum = 45219866;BA.debugLine="Public btnYearRight As B4XView"; +_btnyearright = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=45219867; + //BA.debugLineNum = 45219867;BA.debugLine="Public lblMonth As B4XView"; +_lblmonth = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=45219868; + //BA.debugLineNum = 45219868;BA.debugLine="Public lblYear As B4XView"; +_lblyear = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=45219869; + //BA.debugLineNum = 45219869;BA.debugLine="Private pnlDialog As B4XView"; +_pnldialog = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=45219870; + //BA.debugLineNum = 45219870;BA.debugLine="Private months As List"; +_months = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=45219871; + //BA.debugLineNum = 45219871;BA.debugLine="Private mDialog As B4XDialog"; +_mdialog = new reparto_izca.keymon.lat.b4xdialog(); +RDebugUtils.currentLine=45219872; + //BA.debugLineNum = 45219872;BA.debugLine="Public CloseOnSelection As Boolean = True"; +_closeonselection = __c.True; +RDebugUtils.currentLine=45219873; + //BA.debugLineNum = 45219873;BA.debugLine="Public DaysOfWeekNames As List"; +_daysofweeknames = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=45219874; + //BA.debugLineNum = 45219874;BA.debugLine="End Sub"; +return ""; +} +public String _dayspanefg_touch(reparto_izca.keymon.lat.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=46006272; + //BA.debugLineNum = 46006272;BA.debugLine="Private Sub DaysPaneFg_Touch (Action As Int, X As"; +RDebugUtils.currentLine=46006273; + //BA.debugLineNum = 46006273;BA.debugLine="Dim p As B4XView = DaysPaneFg"; +_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_p = __ref._dayspanefg /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ; +RDebugUtils.currentLine=46006274; + //BA.debugLineNum = 46006274;BA.debugLine="HandleMouse(X, Y, Action <> p.TOUCH_ACTION_UP)"; +__ref._handlemouse /*String*/ (null,_x,_y,_action!=_p.TOUCH_ACTION_UP); +RDebugUtils.currentLine=46006275; + //BA.debugLineNum = 46006275;BA.debugLine="End Sub"; +return ""; +} +public String _handlemouse(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=45744128; + //BA.debugLineNum = 45744128;BA.debugLine="Private Sub HandleMouse(x As Double, y As Double,"; +RDebugUtils.currentLine=45744129; + //BA.debugLineNum = 45744129;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=45744130; + //BA.debugLineNum = 45744130;BA.debugLine="Dim newSelectedDay As Int = boxY * 7 + boxX + 1 -"; +_newselectedday = (int) (_boxy*7+_boxx+1-__ref._dayofweekoffset /*int*/ ); +RDebugUtils.currentLine=45744131; + //BA.debugLineNum = 45744131;BA.debugLine="Dim validDay As Boolean = newSelectedDay > 0 And"; +_validday = _newselectedday>0 && _newselectedday<=__ref._daysinmonth /*int*/ ; +RDebugUtils.currentLine=45744132; + //BA.debugLineNum = 45744132;BA.debugLine="If move Then"; +if (_move) { +RDebugUtils.currentLine=45744133; + //BA.debugLineNum = 45744133;BA.debugLine="If newSelectedDay = tempSelectedDay Then Return"; +if (_newselectedday==__ref._tempselectedday /*int*/ ) { +if (true) return "";}; +RDebugUtils.currentLine=45744134; + //BA.debugLineNum = 45744134;BA.debugLine="cvsBackground.ClearRect(cvsBackground.TargetRect"; +__ref._cvsbackground /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClearRect(__ref._cvsbackground /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect()); +RDebugUtils.currentLine=45744135; + //BA.debugLineNum = 45744135;BA.debugLine="tempSelectedDay = newSelectedDay"; +__ref._tempselectedday /*int*/ = _newselectedday; +RDebugUtils.currentLine=45744136; + //BA.debugLineNum = 45744136;BA.debugLine="If validDay Then"; +if (_validday) { +RDebugUtils.currentLine=45744137; + //BA.debugLineNum = 45744137;BA.debugLine="DrawBox(cvsBackground, HighlightedColor, boxX,"; +__ref._drawbox /*String*/ (null,__ref._cvsbackground /*anywheresoftware.b4a.objects.B4XCanvas*/ ,__ref._highlightedcolor /*int*/ ,_boxx,_boxy); + }; + }else { +RDebugUtils.currentLine=45744140; + //BA.debugLineNum = 45744140;BA.debugLine="cvsBackground.ClearRect(cvsBackground.TargetRect"; +__ref._cvsbackground /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClearRect(__ref._cvsbackground /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect()); +RDebugUtils.currentLine=45744141; + //BA.debugLineNum = 45744141;BA.debugLine="If validDay Then"; +if (_validday) { +RDebugUtils.currentLine=45744142; + //BA.debugLineNum = 45744142;BA.debugLine="SelectDay(newSelectedDay)"; +__ref._selectday /*String*/ (null,_newselectedday); +RDebugUtils.currentLine=45744143; + //BA.debugLineNum = 45744143;BA.debugLine="If CloseOnSelection Then"; +if (__ref._closeonselection /*boolean*/ ) { +RDebugUtils.currentLine=45744144; + //BA.debugLineNum = 45744144;BA.debugLine="Hide"; +__ref._hide /*String*/ (null); + }else { +RDebugUtils.currentLine=45744146; + //BA.debugLineNum = 45744146;BA.debugLine="DrawDays"; +__ref._drawdays /*String*/ (null); + }; + }; + }; +RDebugUtils.currentLine=45744151; + //BA.debugLineNum = 45744151;BA.debugLine="cvsBackground.Invalidate"; +__ref._cvsbackground /*anywheresoftware.b4a.objects.B4XCanvas*/ .Invalidate(); +RDebugUtils.currentLine=45744152; + //BA.debugLineNum = 45744152;BA.debugLine="End Sub"; +return ""; +} +public String _dialogclosed(reparto_izca.keymon.lat.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=46202880; + //BA.debugLineNum = 46202880;BA.debugLine="Private Sub DialogClosed(Result As Int) 'ignore"; +RDebugUtils.currentLine=46202881; + //BA.debugLineNum = 46202881;BA.debugLine="If Result <> xui.DialogResponse_Positive Then"; +if (_result!=__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .DialogResponse_Positive) { +RDebugUtils.currentLine=46202882; + //BA.debugLineNum = 46202882;BA.debugLine="setDate(PreviousSelectedDate)"; +__ref._setdate /*String*/ (null,__ref._previousselecteddate /*long*/ ); + }; +RDebugUtils.currentLine=46202884; + //BA.debugLineNum = 46202884;BA.debugLine="End Sub"; +return ""; +} +public String _setdate(reparto_izca.keymon.lat.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=45613056; + //BA.debugLineNum = 45613056;BA.debugLine="Public Sub setDate(date As Long)"; +RDebugUtils.currentLine=45613058; + //BA.debugLineNum = 45613058;BA.debugLine="If lblYear.IsInitialized = False Then"; +if (__ref._lblyear /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .IsInitialized()==__c.False) { +RDebugUtils.currentLine=45613059; + //BA.debugLineNum = 45613059;BA.debugLine="selectedDate = date"; +__ref._selecteddate /*long*/ = _date; +RDebugUtils.currentLine=45613060; + //BA.debugLineNum = 45613060;BA.debugLine="Return 'the date will be set after the layout is"; +if (true) return ""; + }; +RDebugUtils.currentLine=45613062; + //BA.debugLineNum = 45613062;BA.debugLine="year = DateTime.GetYear(date)"; +__ref._year /*int*/ = __c.DateTime.GetYear(_date); +RDebugUtils.currentLine=45613063; + //BA.debugLineNum = 45613063;BA.debugLine="month = DateTime.GetMonth(date)"; +__ref._month /*int*/ = __c.DateTime.GetMonth(_date); +RDebugUtils.currentLine=45613064; + //BA.debugLineNum = 45613064;BA.debugLine="SelectDay(DateTime.GetDayOfMonth(date))"; +__ref._selectday /*String*/ (null,__c.DateTime.GetDayOfMonth(_date)); +RDebugUtils.currentLine=45613065; + //BA.debugLineNum = 45613065;BA.debugLine="lblYear.Text = year"; +__ref._lblyear /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setText(BA.ObjectToCharSequence(__ref._year /*int*/ )); +RDebugUtils.currentLine=45613066; + //BA.debugLineNum = 45613066;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=45613067; + //BA.debugLineNum = 45613067;BA.debugLine="End Sub"; +return ""; +} +public String _drawbox(reparto_izca.keymon.lat.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=45481984; + //BA.debugLineNum = 45481984;BA.debugLine="Private Sub DrawBox(c As B4XCanvas, clr As Int, x"; +RDebugUtils.currentLine=45481985; + //BA.debugLineNum = 45481985;BA.debugLine="Dim r As B4XRect"; +_r = new anywheresoftware.b4a.objects.B4XCanvas.B4XRect(); +RDebugUtils.currentLine=45481986; + //BA.debugLineNum = 45481986;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=45481987; + //BA.debugLineNum = 45481987;BA.debugLine="c.DrawRect(r, clr, True, 1dip)"; +_c.DrawRect(_r,_clr,__c.True,(float) (__c.DipToCurrent((int) (1)))); +RDebugUtils.currentLine=45481988; + //BA.debugLineNum = 45481988;BA.debugLine="End Sub"; +return ""; +} +public String _setyearsbuttonstate(reparto_izca.keymon.lat.b4xdatetemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdatetemplate"; +if (Debug.shouldDelegate(ba, "setyearsbuttonstate", true)) + {return ((String) Debug.delegate(ba, "setyearsbuttonstate", null));} +RDebugUtils.currentLine=45416448; + //BA.debugLineNum = 45416448;BA.debugLine="Private Sub SetYearsButtonState"; +RDebugUtils.currentLine=45416449; + //BA.debugLineNum = 45416449;BA.debugLine="btnYearLeft.Enabled = year > MinYear"; +__ref._btnyearleft /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setEnabled(__ref._year /*int*/ >__ref._minyear /*int*/ ); +RDebugUtils.currentLine=45416450; + //BA.debugLineNum = 45416450;BA.debugLine="btnYearRight.Enabled = year < MaxYear"; +__ref._btnyearright /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setEnabled(__ref._year /*int*/ <__ref._maxyear /*int*/ ); +RDebugUtils.currentLine=45416451; + //BA.debugLineNum = 45416451;BA.debugLine="End Sub"; +return ""; +} +public long _getdate(reparto_izca.keymon.lat.b4xdatetemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdatetemplate"; +if (Debug.shouldDelegate(ba, "getdate", true)) + {return ((Long) Debug.delegate(ba, "getdate", null));} +RDebugUtils.currentLine=45547520; + //BA.debugLineNum = 45547520;BA.debugLine="Public Sub getDate As Long"; +RDebugUtils.currentLine=45547521; + //BA.debugLineNum = 45547521;BA.debugLine="Return selectedDate"; +if (true) return __ref._selecteddate /*long*/ ; +RDebugUtils.currentLine=45547522; + //BA.debugLineNum = 45547522;BA.debugLine="End Sub"; +return 0L; +} +public anywheresoftware.b4a.objects.B4XViewWrapper _getpanel(reparto_izca.keymon.lat.b4xdatetemplate __ref,reparto_izca.keymon.lat.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=46071808; + //BA.debugLineNum = 46071808;BA.debugLine="Public Sub GetPanel (Dialog As B4XDialog) As B4XVi"; +RDebugUtils.currentLine=46071809; + //BA.debugLineNum = 46071809;BA.debugLine="Return pnlDialog"; +if (true) return __ref._pnldialog /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ; +RDebugUtils.currentLine=46071810; + //BA.debugLineNum = 46071810;BA.debugLine="End Sub"; +return null; +} +public String _selectday(reparto_izca.keymon.lat.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=45678592; + //BA.debugLineNum = 45678592;BA.debugLine="Private Sub SelectDay(day As Int)"; +RDebugUtils.currentLine=45678593; + //BA.debugLineNum = 45678593;BA.debugLine="selectedDate = DateUtils.setDate(year, month, day"; +__ref._selecteddate /*long*/ = _dateutils._setdate(ba,__ref._year /*int*/ ,__ref._month /*int*/ ,_day); +RDebugUtils.currentLine=45678594; + //BA.debugLineNum = 45678594;BA.debugLine="selectedDay = day"; +__ref._selectedday /*int*/ = _day; +RDebugUtils.currentLine=45678595; + //BA.debugLineNum = 45678595;BA.debugLine="selectedMonth = month"; +__ref._selectedmonth /*int*/ = __ref._month /*int*/ ; +RDebugUtils.currentLine=45678596; + //BA.debugLineNum = 45678596;BA.debugLine="selectedYear = year"; +__ref._selectedyear /*int*/ = __ref._year /*int*/ ; +RDebugUtils.currentLine=45678597; + //BA.debugLineNum = 45678597;BA.debugLine="End Sub"; +return ""; +} +public String _hide(reparto_izca.keymon.lat.b4xdatetemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdatetemplate"; +if (Debug.shouldDelegate(ba, "hide", true)) + {return ((String) Debug.delegate(ba, "hide", null));} +RDebugUtils.currentLine=45809664; + //BA.debugLineNum = 45809664;BA.debugLine="Private Sub Hide"; +RDebugUtils.currentLine=45809665; + //BA.debugLineNum = 45809665;BA.debugLine="mDialog.Close(xui.DialogResponse_Positive)"; +__ref._mdialog /*reparto_izca.keymon.lat.b4xdialog*/ ._close /*boolean*/ (null,__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .DialogResponse_Positive); +RDebugUtils.currentLine=45809666; + //BA.debugLineNum = 45809666;BA.debugLine="End Sub"; +return ""; +} +public String _initialize(reparto_izca.keymon.lat.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=45285376; + //BA.debugLineNum = 45285376;BA.debugLine="Public Sub Initialize"; +RDebugUtils.currentLine=45285377; + //BA.debugLineNum = 45285377;BA.debugLine="pnlDialog = xui.CreatePanel(\"\")"; +__ref._pnldialog /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,""); +RDebugUtils.currentLine=45285378; + //BA.debugLineNum = 45285378;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=45285379; + //BA.debugLineNum = 45285379;BA.debugLine="pnlDialog.LoadLayout(\"DateTemplate\")"; +__ref._pnldialog /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("DateTemplate",ba); +RDebugUtils.currentLine=45285380; + //BA.debugLineNum = 45285380;BA.debugLine="pnlDialog.Tag = Me"; +__ref._pnldialog /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag(this); +RDebugUtils.currentLine=45285381; + //BA.debugLineNum = 45285381;BA.debugLine="month = DateTime.GetMonth(DateTime.Now)"; +__ref._month /*int*/ = __c.DateTime.GetMonth(__c.DateTime.getNow()); +RDebugUtils.currentLine=45285382; + //BA.debugLineNum = 45285382;BA.debugLine="year = DateTime.GetYear(DateTime.Now)"; +__ref._year /*int*/ = __c.DateTime.GetYear(__c.DateTime.getNow()); +RDebugUtils.currentLine=45285383; + //BA.debugLineNum = 45285383;BA.debugLine="months = DateUtils.GetMonthsNames"; +__ref._months /*anywheresoftware.b4a.objects.collections.List*/ = _dateutils._getmonthsnames(ba); +RDebugUtils.currentLine=45285384; + //BA.debugLineNum = 45285384;BA.debugLine="selectedDate = DateTime.Now"; +__ref._selecteddate /*long*/ = __c.DateTime.getNow(); +RDebugUtils.currentLine=45285385; + //BA.debugLineNum = 45285385;BA.debugLine="setDate(selectedDate)"; +__ref._setdate /*String*/ (null,__ref._selecteddate /*long*/ ); +RDebugUtils.currentLine=45285386; + //BA.debugLineNum = 45285386;BA.debugLine="cvs.Initialize(DaysPaneFg)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Initialize(__ref._dayspanefg /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ); +RDebugUtils.currentLine=45285387; + //BA.debugLineNum = 45285387;BA.debugLine="cvsBackground.Initialize(DaysPaneBg)"; +__ref._cvsbackground /*anywheresoftware.b4a.objects.B4XCanvas*/ .Initialize(__ref._dayspanebg /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ); +RDebugUtils.currentLine=45285388; + //BA.debugLineNum = 45285388;BA.debugLine="boxW = cvs.TargetRect.Width / 7"; +__ref._boxw /*float*/ = (float) (__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getWidth()/(double)7); +RDebugUtils.currentLine=45285389; + //BA.debugLineNum = 45285389;BA.debugLine="boxH = cvs.TargetRect.Height / 6"; +__ref._boxh /*float*/ = (float) (__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getHeight()/(double)6); +RDebugUtils.currentLine=45285390; + //BA.debugLineNum = 45285390;BA.debugLine="vCorrection = 5dip"; +__ref._vcorrection /*float*/ = (float) (__c.DipToCurrent((int) (5))); +RDebugUtils.currentLine=45285391; + //BA.debugLineNum = 45285391;BA.debugLine="cvsDays.Initialize(DaysTitlesPane)"; +__ref._cvsdays /*anywheresoftware.b4a.objects.B4XCanvas*/ .Initialize(__ref._daystitlespane /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ); +RDebugUtils.currentLine=45285397; + //BA.debugLineNum = 45285397;BA.debugLine="DaysOfWeekNames.Initialize"; +__ref._daysofweeknames /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=45285398; + //BA.debugLineNum = 45285398;BA.debugLine="DaysOfWeekNames.AddAll(DateUtils.GetDaysNames)"; +__ref._daysofweeknames /*anywheresoftware.b4a.objects.collections.List*/ .AddAll(_dateutils._getdaysnames(ba)); +RDebugUtils.currentLine=45285399; + //BA.debugLineNum = 45285399;BA.debugLine="End Sub"; +return ""; +} +public void _show(reparto_izca.keymon.lat.b4xdatetemplate __ref,reparto_izca.keymon.lat.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(reparto_izca.keymon.lat.b4xdatetemplate parent,reparto_izca.keymon.lat.b4xdatetemplate __ref,reparto_izca.keymon.lat.b4xdialog _dialog) { +this.parent = parent; +this.__ref = __ref; +this._dialog = _dialog; +this.__ref = parent; +} +reparto_izca.keymon.lat.b4xdatetemplate __ref; +reparto_izca.keymon.lat.b4xdatetemplate parent; +reparto_izca.keymon.lat.b4xdialog _dialog; +anywheresoftware.b4a.objects.collections.List _days = null; +anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont _daysfont = null; +int _i = 0; +String _d = ""; +int step4; +int limit4; + +@Override +public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="b4xdatetemplate"; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +RDebugUtils.currentLine=46137345; + //BA.debugLineNum = 46137345;BA.debugLine="Dim days As List = DaysOfWeekNames"; +_days = new anywheresoftware.b4a.objects.collections.List(); +_days = __ref._daysofweeknames /*anywheresoftware.b4a.objects.collections.List*/ ; +RDebugUtils.currentLine=46137346; + //BA.debugLineNum = 46137346;BA.debugLine="Dim daysFont As B4XFont = xui.CreateDefaultBoldFo"; +_daysfont = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreateDefaultBoldFont((float) (14)); +RDebugUtils.currentLine=46137347; + //BA.debugLineNum = 46137347;BA.debugLine="cvsDays.ClearRect(cvsDays.TargetRect)"; +__ref._cvsdays /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClearRect(__ref._cvsdays /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect()); +RDebugUtils.currentLine=46137348; + //BA.debugLineNum = 46137348;BA.debugLine="For i = FirstDay To FirstDay + 7 - 1"; +if (true) break; + +case 1: +//for +this.state = 10; +step4 = 1; +limit4 = (int) (__ref._firstday /*int*/ +7-1); +_i = __ref._firstday /*int*/ ; +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)) ; +if (true) break; + +case 3: +//C +this.state = 4; +RDebugUtils.currentLine=46137349; + //BA.debugLineNum = 46137349;BA.debugLine="Dim d As String = days.Get(i Mod 7)"; +_d = BA.ObjectToString(_days.Get((int) (_i%7))); +RDebugUtils.currentLine=46137350; + //BA.debugLineNum = 46137350;BA.debugLine="If d.Length > 2 Then d = d.SubString2(0, 2)"; +if (true) break; + +case 4: +//if +this.state = 9; +if (_d.length()>2) { +this.state = 6; +;}if (true) break; + +case 6: +//C +this.state = 9; +_d = _d.substring((int) (0),(int) (2)); +if (true) break; + +case 9: +//C +this.state = 12; +; +RDebugUtils.currentLine=46137351; + //BA.debugLineNum = 46137351;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; + +case 10: +//C +this.state = -1; +; +RDebugUtils.currentLine=46137353; + //BA.debugLineNum = 46137353;BA.debugLine="cvsDays.Invalidate"; +__ref._cvsdays /*anywheresoftware.b4a.objects.B4XCanvas*/ .Invalidate(); +RDebugUtils.currentLine=46137354; + //BA.debugLineNum = 46137354;BA.debugLine="mDialog = Dialog"; +__ref._mdialog /*reparto_izca.keymon.lat.b4xdialog*/ = _dialog; +RDebugUtils.currentLine=46137355; + //BA.debugLineNum = 46137355;BA.debugLine="DrawDays"; +__ref._drawdays /*String*/ (null); +RDebugUtils.currentLine=46137356; + //BA.debugLineNum = 46137356;BA.debugLine="PreviousSelectedDate = selectedDate"; +__ref._previousselecteddate /*long*/ = __ref._selecteddate /*long*/ ; +RDebugUtils.currentLine=46137357; + //BA.debugLineNum = 46137357;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; +; +RDebugUtils.currentLine=46137358; + //BA.debugLineNum = 46137358;BA.debugLine="SetYearsButtonState"; +__ref._setyearsbuttonstate /*String*/ (null); +RDebugUtils.currentLine=46137359; + //BA.debugLineNum = 46137359;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/b4xdialog.java b/B4A/Objects/src/reparto_izca/keymon/lat/b4xdialog.java new file mode 100644 index 0000000..acf5213 --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/b4xdialog.java @@ -0,0 +1,1531 @@ +package reparto_izca.keymon.lat; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.B4AClass; +import anywheresoftware.b4a.BALayout; +import anywheresoftware.b4a.debug.*; + +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 anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "reparto_izca.keymon.lat.b4xdialog"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", reparto_izca.keymon.lat.b4xdialog.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.XUI _xui = null; +public int _buttonsheight = 0; +public int _titlebarheight = 0; +public int _buttonwidth = 0; +public anywheresoftware.b4a.objects.B4XViewWrapper _base = null; +public int _backgroundcolor = 0; +public int _overlaycolor = 0; +public int _bordercolor = 0; +public int _bordercornersradius = 0; +public int _borderwidth = 0; +public int _buttonscolor = 0; +public int _buttonstextcolor = 0; +public anywheresoftware.b4a.objects.B4XViewWrapper _background = null; +public anywheresoftware.b4a.objects.B4XViewWrapper _blurimageview = null; +public boolean _blurbackground = false; +public int _blurreducescale = 0; +public anywheresoftware.b4a.objects.B4XViewWrapper _mparent = null; +public Object _title = null; +public int _titlebarcolor = 0; +public int _titlebartextcolor = 0; +public int _bodytextcolor = 0; +public anywheresoftware.b4a.objects.B4XViewWrapper _titlebar = null; +public boolean _putattop = false; +public anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont _titlebarfont = null; +public anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont _buttonsfont = null; +public int _buttonstextcolordisabled = 0; +public int _visibleanimationduration = 0; +public int[] _buttonsorder = null; +public anywheresoftware.b4a.objects.collections.Map _buttonsstate = null; +public b4a.example.dateutils _dateutils = null; +public reparto_izca.keymon.lat.main _main = null; +public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; +public reparto_izca.keymon.lat.foto _foto = null; +public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_izca.keymon.lat.starter _starter = null; +public reparto_izca.keymon.lat.tracker _tracker = null; +public reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public boolean _close(reparto_izca.keymon.lat.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=46923776; + //BA.debugLineNum = 46923776;BA.debugLine="Public Sub Close (Result As Int) As Boolean"; +RDebugUtils.currentLine=46923777; + //BA.debugLineNum = 46923777;BA.debugLine="If getVisible Then"; +if (__ref._getvisible /*boolean*/ (null)) { +RDebugUtils.currentLine=46923778; + //BA.debugLineNum = 46923778;BA.debugLine="CallSubDelayed2(Me, \"CloseMessage\", Result)"; +__c.CallSubDelayed2(ba,this,"CloseMessage",(Object)(_result)); +RDebugUtils.currentLine=46923779; + //BA.debugLineNum = 46923779;BA.debugLine="Return True"; +if (true) return __c.True; + }; +RDebugUtils.currentLine=46923781; + //BA.debugLineNum = 46923781;BA.debugLine="Return False"; +if (true) return __c.False; +RDebugUtils.currentLine=46923782; + //BA.debugLineNum = 46923782;BA.debugLine="End Sub"; +return false; +} +public String _background_click(reparto_izca.keymon.lat.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=47054848; + //BA.debugLineNum = 47054848;BA.debugLine="Private Sub Background_Click"; +RDebugUtils.currentLine=47054850; + //BA.debugLineNum = 47054850;BA.debugLine="End Sub"; +return ""; +} +public String _background_touch(reparto_izca.keymon.lat.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=46989312; + //BA.debugLineNum = 46989312;BA.debugLine="Private Sub Background_Touch (Action As Int, X As"; +RDebugUtils.currentLine=46989314; + //BA.debugLineNum = 46989314;BA.debugLine="End Sub"; +return ""; +} +public b4a.example.bitmapcreator _blur(reparto_izca.keymon.lat.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; +b4a.example.bitmapcreator._argbcolor[] _clrs = null; +b4a.example.bitmapcreator._argbcolor _temp = null; +int _m = 0; +int _steps = 0; +int _y = 0; +int _x = 0; +RDebugUtils.currentLine=47251456; + //BA.debugLineNum = 47251456;BA.debugLine="Private Sub Blur (bmp As B4XBitmap) As BitmapCreat"; +RDebugUtils.currentLine=47251457; + //BA.debugLineNum = 47251457;BA.debugLine="Dim bc As BitmapCreator"; +_bc = new b4a.example.bitmapcreator(); +RDebugUtils.currentLine=47251458; + //BA.debugLineNum = 47251458;BA.debugLine="Dim ReduceScale As Int = BlurReduceScale"; +_reducescale = __ref._blurreducescale /*int*/ ; +RDebugUtils.currentLine=47251459; + //BA.debugLineNum = 47251459;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())); +RDebugUtils.currentLine=47251460; + //BA.debugLineNum = 47251460;BA.debugLine="bc.CopyPixelsFromBitmap(bmp)"; +_bc._copypixelsfrombitmap(_bmp); +RDebugUtils.currentLine=47251461; + //BA.debugLineNum = 47251461;BA.debugLine="Dim count As Int = 2"; +_count = (int) (2); +RDebugUtils.currentLine=47251462; + //BA.debugLineNum = 47251462;BA.debugLine="Dim clrs(3) As ARGBColor"; +_clrs = new b4a.example.bitmapcreator._argbcolor[(int) (3)]; +{ +int d0 = _clrs.length; +for (int i0 = 0;i0 < d0;i0++) { +_clrs[i0] = new b4a.example.bitmapcreator._argbcolor(); +} +} +; +RDebugUtils.currentLine=47251463; + //BA.debugLineNum = 47251463;BA.debugLine="Dim temp As ARGBColor"; +_temp = new b4a.example.bitmapcreator._argbcolor(); +RDebugUtils.currentLine=47251464; + //BA.debugLineNum = 47251464;BA.debugLine="Dim m As Int"; +_m = 0; +RDebugUtils.currentLine=47251465; + //BA.debugLineNum = 47251465;BA.debugLine="For steps = 1 To count"; +{ +final int step9 = 1; +final int limit9 = _count; +_steps = (int) (1) ; +for (;_steps <= limit9 ;_steps = _steps + step9 ) { +RDebugUtils.currentLine=47251466; + //BA.debugLineNum = 47251466;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 ) { +RDebugUtils.currentLine=47251467; + //BA.debugLineNum = 47251467;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 ) { +RDebugUtils.currentLine=47251468; + //BA.debugLineNum = 47251468;BA.debugLine="bc.GetARGB(x, y, clrs(x))"; +_bc._getargb(_x,_y,_clrs[_x]); + } +}; +RDebugUtils.currentLine=47251470; + //BA.debugLineNum = 47251470;BA.debugLine="SetAvg(bc, 1, y, clrs, temp)"; +__ref._setavg /*String*/ (null,_bc,(int) (1),_y,_clrs,_temp); +RDebugUtils.currentLine=47251471; + //BA.debugLineNum = 47251471;BA.debugLine="m = 0"; +_m = (int) (0); +RDebugUtils.currentLine=47251472; + //BA.debugLineNum = 47251472;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 ) { +RDebugUtils.currentLine=47251473; + //BA.debugLineNum = 47251473;BA.debugLine="bc.GetARGB(x + 1, y, clrs(m))"; +_bc._getargb((int) (_x+1),_y,_clrs[_m]); +RDebugUtils.currentLine=47251474; + //BA.debugLineNum = 47251474;BA.debugLine="m = (m + 1) Mod 3"; +_m = (int) ((_m+1)%3); +RDebugUtils.currentLine=47251475; + //BA.debugLineNum = 47251475;BA.debugLine="SetAvg(bc, x, y, clrs, temp)"; +__ref._setavg /*String*/ (null,_bc,_x,_y,_clrs,_temp); + } +}; + } +}; +RDebugUtils.currentLine=47251478; + //BA.debugLineNum = 47251478;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 ) { +RDebugUtils.currentLine=47251479; + //BA.debugLineNum = 47251479;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 ) { +RDebugUtils.currentLine=47251480; + //BA.debugLineNum = 47251480;BA.debugLine="bc.GetARGB(x, y, clrs(y))"; +_bc._getargb(_x,_y,_clrs[_y]); + } +}; +RDebugUtils.currentLine=47251482; + //BA.debugLineNum = 47251482;BA.debugLine="SetAvg(bc, x, 1, clrs, temp)"; +__ref._setavg /*String*/ (null,_bc,_x,(int) (1),_clrs,_temp); +RDebugUtils.currentLine=47251483; + //BA.debugLineNum = 47251483;BA.debugLine="m = 0"; +_m = (int) (0); +RDebugUtils.currentLine=47251484; + //BA.debugLineNum = 47251484;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 ) { +RDebugUtils.currentLine=47251485; + //BA.debugLineNum = 47251485;BA.debugLine="bc.GetARGB(x, y + 1, clrs(m))"; +_bc._getargb(_x,(int) (_y+1),_clrs[_m]); +RDebugUtils.currentLine=47251486; + //BA.debugLineNum = 47251486;BA.debugLine="m = (m + 1) Mod 3"; +_m = (int) ((_m+1)%3); +RDebugUtils.currentLine=47251487; + //BA.debugLineNum = 47251487;BA.debugLine="SetAvg(bc, x, y, clrs, temp)"; +__ref._setavg /*String*/ (null,_bc,_x,_y,_clrs,_temp); + } +}; + } +}; + } +}; +RDebugUtils.currentLine=47251491; + //BA.debugLineNum = 47251491;BA.debugLine="Return bc"; +if (true) return _bc; +RDebugUtils.currentLine=47251492; + //BA.debugLineNum = 47251492;BA.debugLine="End Sub"; +return null; +} +public String _setavg(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=47316992; + //BA.debugLineNum = 47316992;BA.debugLine="Private Sub SetAvg(bc As BitmapCreator, x As Int,"; +RDebugUtils.currentLine=47316993; + //BA.debugLineNum = 47316993;BA.debugLine="temp.Initialize"; +_temp.Initialize(); +RDebugUtils.currentLine=47316994; + //BA.debugLineNum = 47316994;BA.debugLine="For Each c As ARGBColor In clrs"; +{ +final b4a.example.bitmapcreator._argbcolor[] group2 = _clrs; +final int groupLen2 = group2.length +;int index2 = 0; +; +for (; index2 < groupLen2;index2++){ +_c = group2[index2]; +RDebugUtils.currentLine=47316995; + //BA.debugLineNum = 47316995;BA.debugLine="temp.r = temp.r + c.r"; +_temp.r = (int) (_temp.r+_c.r); +RDebugUtils.currentLine=47316996; + //BA.debugLineNum = 47316996;BA.debugLine="temp.g = temp.g + c.g"; +_temp.g = (int) (_temp.g+_c.g); +RDebugUtils.currentLine=47316997; + //BA.debugLineNum = 47316997;BA.debugLine="temp.b = temp.b + c.b"; +_temp.b = (int) (_temp.b+_c.b); + } +}; +RDebugUtils.currentLine=47316999; + //BA.debugLineNum = 47316999;BA.debugLine="temp.a = 255"; +_temp.a = (int) (255); +RDebugUtils.currentLine=47317000; + //BA.debugLineNum = 47317000;BA.debugLine="temp.r = temp.r / 3"; +_temp.r = (int) (_temp.r/(double)3); +RDebugUtils.currentLine=47317001; + //BA.debugLineNum = 47317001;BA.debugLine="temp.g = temp.g / 3"; +_temp.g = (int) (_temp.g/(double)3); +RDebugUtils.currentLine=47317002; + //BA.debugLineNum = 47317002;BA.debugLine="temp.b = temp.b / 3"; +_temp.b = (int) (_temp.b/(double)3); +RDebugUtils.currentLine=47317003; + //BA.debugLineNum = 47317003;BA.debugLine="bc.SetARGB(x, y, temp)"; +_bc._setargb(_x,_y,_temp); +RDebugUtils.currentLine=47317004; + //BA.debugLineNum = 47317004;BA.debugLine="End Sub"; +return ""; +} +public String _button_click(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=46858240; + //BA.debugLineNum = 46858240;BA.debugLine="Private Sub Button_Click"; +RDebugUtils.currentLine=46858241; + //BA.debugLineNum = 46858241;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))); +RDebugUtils.currentLine=46858242; + //BA.debugLineNum = 46858242;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=46858243; + //BA.debugLineNum = 46858243;BA.debugLine="Close(b.Tag)"; +__ref._close /*boolean*/ (null,(int)(BA.ObjectToNumber(_b.getTag()))); +RDebugUtils.currentLine=46858244; + //BA.debugLineNum = 46858244;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(reparto_izca.keymon.lat.b4xdialog __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdialog"; +RDebugUtils.currentLine=46268416; + //BA.debugLineNum = 46268416;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=46268417; + //BA.debugLineNum = 46268417;BA.debugLine="Private xui As XUI"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=46268418; + //BA.debugLineNum = 46268418;BA.debugLine="Public ButtonsHeight As Int = 40dip"; +_buttonsheight = __c.DipToCurrent((int) (40)); +RDebugUtils.currentLine=46268419; + //BA.debugLineNum = 46268419;BA.debugLine="Public TitleBarHeight As Int = 30dip"; +_titlebarheight = __c.DipToCurrent((int) (30)); +RDebugUtils.currentLine=46268420; + //BA.debugLineNum = 46268420;BA.debugLine="Private ButtonWidth As Int = 80dip"; +_buttonwidth = __c.DipToCurrent((int) (80)); +RDebugUtils.currentLine=46268421; + //BA.debugLineNum = 46268421;BA.debugLine="Public Base As B4XView"; +_base = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=46268422; + //BA.debugLineNum = 46268422;BA.debugLine="Public BackgroundColor As Int = 0xFF555555 'base"; +_backgroundcolor = ((int)0xff555555); +RDebugUtils.currentLine=46268423; + //BA.debugLineNum = 46268423;BA.debugLine="Public OverlayColor As Int = 0xaa000000"; +_overlaycolor = ((int)0xaa000000); +RDebugUtils.currentLine=46268424; + //BA.debugLineNum = 46268424;BA.debugLine="Public BorderColor As Int = 0xff000000"; +_bordercolor = ((int)0xff000000); +RDebugUtils.currentLine=46268425; + //BA.debugLineNum = 46268425;BA.debugLine="Public BorderCornersRadius As Int = 2dip"; +_bordercornersradius = __c.DipToCurrent((int) (2)); +RDebugUtils.currentLine=46268426; + //BA.debugLineNum = 46268426;BA.debugLine="Public BorderWidth As Int = 2dip"; +_borderwidth = __c.DipToCurrent((int) (2)); +RDebugUtils.currentLine=46268427; + //BA.debugLineNum = 46268427;BA.debugLine="Public ButtonsColor As Int = 0xFF555555"; +_buttonscolor = ((int)0xff555555); +RDebugUtils.currentLine=46268428; + //BA.debugLineNum = 46268428;BA.debugLine="Public ButtonsTextColor As Int = 0xFF89D5FF"; +_buttonstextcolor = ((int)0xff89d5ff); +RDebugUtils.currentLine=46268429; + //BA.debugLineNum = 46268429;BA.debugLine="Private Background As B4XView"; +_background = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=46268430; + //BA.debugLineNum = 46268430;BA.debugLine="Private BlurImageView As B4XView"; +_blurimageview = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=46268431; + //BA.debugLineNum = 46268431;BA.debugLine="Public BlurBackground As Boolean"; +_blurbackground = false; +RDebugUtils.currentLine=46268432; + //BA.debugLineNum = 46268432;BA.debugLine="Private BlurReduceScale As Int"; +_blurreducescale = 0; +RDebugUtils.currentLine=46268433; + //BA.debugLineNum = 46268433;BA.debugLine="Public mParent As B4XView"; +_mparent = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=46268434; + //BA.debugLineNum = 46268434;BA.debugLine="Public Title As Object = \"\""; +_title = (Object)(""); +RDebugUtils.currentLine=46268435; + //BA.debugLineNum = 46268435;BA.debugLine="Public TitleBarColor As Int = 0xFF0083B8"; +_titlebarcolor = ((int)0xff0083b8); +RDebugUtils.currentLine=46268436; + //BA.debugLineNum = 46268436;BA.debugLine="Public TitleBarTextColor As Int"; +_titlebartextcolor = 0; +RDebugUtils.currentLine=46268437; + //BA.debugLineNum = 46268437;BA.debugLine="Public BodyTextColor As Int = xui.Color_White"; +_bodytextcolor = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_White; +RDebugUtils.currentLine=46268438; + //BA.debugLineNum = 46268438;BA.debugLine="Public TitleBar As B4XView"; +_titlebar = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=46268439; + //BA.debugLineNum = 46268439;BA.debugLine="Public PutAtTop As Boolean"; +_putattop = false; +RDebugUtils.currentLine=46268440; + //BA.debugLineNum = 46268440;BA.debugLine="Public TitleBarFont As B4XFont"; +_titlebarfont = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont(); +RDebugUtils.currentLine=46268441; + //BA.debugLineNum = 46268441;BA.debugLine="Public ButtonsFont As B4XFont"; +_buttonsfont = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont(); +RDebugUtils.currentLine=46268442; + //BA.debugLineNum = 46268442;BA.debugLine="Public ButtonsTextColorDisabled As Int = 0xFF8080"; +_buttonstextcolordisabled = ((int)0xff808080); +RDebugUtils.currentLine=46268443; + //BA.debugLineNum = 46268443;BA.debugLine="Public VisibleAnimationDuration As Int = 100"; +_visibleanimationduration = (int) (100); +RDebugUtils.currentLine=46268444; + //BA.debugLineNum = 46268444;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=46268445; + //BA.debugLineNum = 46268445;BA.debugLine="Public ButtonsState As Map"; +_buttonsstate = new anywheresoftware.b4a.objects.collections.Map(); +RDebugUtils.currentLine=46268446; + //BA.debugLineNum = 46268446;BA.debugLine="End Sub"; +return ""; +} +public boolean _getvisible(reparto_izca.keymon.lat.b4xdialog __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdialog"; +if (Debug.shouldDelegate(ba, "getvisible", true)) + {return ((Boolean) Debug.delegate(ba, "getvisible", null));} +RDebugUtils.currentLine=46596096; + //BA.debugLineNum = 46596096;BA.debugLine="Public Sub getVisible As Boolean"; +RDebugUtils.currentLine=46596097; + //BA.debugLineNum = 46596097;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=46596098; + //BA.debugLineNum = 46596098;BA.debugLine="End Sub"; +return false; +} +public String _createbutton(reparto_izca.keymon.lat.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=46661632; + //BA.debugLineNum = 46661632;BA.debugLine="Private Sub CreateButton (Text As Object, Code As"; +RDebugUtils.currentLine=46661633; + //BA.debugLineNum = 46661633;BA.debugLine="If Text = \"\" Then Return"; +if ((_text).equals((Object)(""))) { +if (true) return "";}; +RDebugUtils.currentLine=46661637; + //BA.debugLineNum = 46661637;BA.debugLine="Dim btn As Label"; +_btn = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=46661639; + //BA.debugLineNum = 46661639;BA.debugLine="btn.Initialize(\"Button\")"; +_btn.Initialize(ba,"Button"); +RDebugUtils.currentLine=46661640; + //BA.debugLineNum = 46661640;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=46661641; + //BA.debugLineNum = 46661641;BA.debugLine="XUIViewsUtils.SetTextOrCSBuilderToLabel(xbtn, Tex"; +_xuiviewsutils._settextorcsbuildertolabel /*String*/ (ba,_xbtn,_text); +RDebugUtils.currentLine=46661642; + //BA.debugLineNum = 46661642;BA.debugLine="xbtn.Tag = Code"; +_xbtn.setTag((Object)(_code)); +RDebugUtils.currentLine=46661643; + //BA.debugLineNum = 46661643;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=46661644; + //BA.debugLineNum = 46661644;BA.debugLine="xbtn.SetTextAlignment(\"CENTER\", \"CENTER\")"; +_xbtn.SetTextAlignment("CENTER","CENTER"); +RDebugUtils.currentLine=46661645; + //BA.debugLineNum = 46661645;BA.debugLine="xbtn.TextColor = ButtonsTextColor"; +_xbtn.setTextColor(__ref._buttonstextcolor /*int*/ ); +RDebugUtils.currentLine=46661646; + //BA.debugLineNum = 46661646;BA.debugLine="xbtn.Font = ButtonsFont"; +_xbtn.setFont(__ref._buttonsfont /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ ); +RDebugUtils.currentLine=46661647; + //BA.debugLineNum = 46661647;BA.debugLine="Dim numberOfButtons As Int = Base.NumberOfViews '"; +_numberofbuttons = __ref._base /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getNumberOfViews(); +RDebugUtils.currentLine=46661648; + //BA.debugLineNum = 46661648;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=46661650; + //BA.debugLineNum = 46661650;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=46661651; + //BA.debugLineNum = 46661651;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.objects.B4XViewWrapper _getbutton(reparto_izca.keymon.lat.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=46727168; + //BA.debugLineNum = 46727168;BA.debugLine="Public Sub GetButton (ResultCode As Int) As B4XVie"; +RDebugUtils.currentLine=46727169; + //BA.debugLineNum = 46727169;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=46727170; + //BA.debugLineNum = 46727170;BA.debugLine="If b.Tag = ResultCode Then Return b 'ignore"; +if ((_b.getTag()).equals((Object)(_resultcode))) { +if (true) return _b;}; + } +}; +RDebugUtils.currentLine=46727172; + //BA.debugLineNum = 46727172;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=46727173; + //BA.debugLineNum = 46727173;BA.debugLine="End Sub"; +return null; +} +public String _initialize(reparto_izca.keymon.lat.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=46333952; + //BA.debugLineNum = 46333952;BA.debugLine="Public Sub Initialize (Parent As B4XView)"; +RDebugUtils.currentLine=46333953; + //BA.debugLineNum = 46333953;BA.debugLine="BlurBackground = False"; +__ref._blurbackground /*boolean*/ = __c.False; +RDebugUtils.currentLine=46333954; + //BA.debugLineNum = 46333954;BA.debugLine="If xui.IsB4i Then"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4i()) { +RDebugUtils.currentLine=46333955; + //BA.debugLineNum = 46333955;BA.debugLine="BlurReduceScale = 3"; +__ref._blurreducescale /*int*/ = (int) (3); + }else +{RDebugUtils.currentLine=46333956; + //BA.debugLineNum = 46333956;BA.debugLine="Else If xui.IsB4J Then"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4J()) { +RDebugUtils.currentLine=46333957; + //BA.debugLineNum = 46333957;BA.debugLine="BlurReduceScale = 1"; +__ref._blurreducescale /*int*/ = (int) (1); + }else +{RDebugUtils.currentLine=46333958; + //BA.debugLineNum = 46333958;BA.debugLine="Else if xui.IsB4A Then"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4A()) { +RDebugUtils.currentLine=46333959; + //BA.debugLineNum = 46333959;BA.debugLine="BlurReduceScale = 3"; +__ref._blurreducescale /*int*/ = (int) (3); + }}} +; +RDebugUtils.currentLine=46333961; + //BA.debugLineNum = 46333961;BA.debugLine="mParent = Parent"; +__ref._mparent /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _parent; +RDebugUtils.currentLine=46333967; + //BA.debugLineNum = 46333967;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=46333968; + //BA.debugLineNum = 46333968;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=46333969; + //BA.debugLineNum = 46333969;BA.debugLine="TitleBarTextColor = xui.Color_White"; +__ref._titlebartextcolor /*int*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_White; +RDebugUtils.currentLine=46333970; + //BA.debugLineNum = 46333970;BA.debugLine="ButtonsState.Initialize"; +__ref._buttonsstate /*anywheresoftware.b4a.objects.collections.Map*/ .Initialize(); +RDebugUtils.currentLine=46333971; + //BA.debugLineNum = 46333971;BA.debugLine="End Sub"; +return ""; +} +public String _internaladdstubtoclvifneeded(reparto_izca.keymon.lat.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=47448064; + //BA.debugLineNum = 47448064;BA.debugLine="Public Sub InternalAddStubToCLVIfNeeded(CustomList"; +RDebugUtils.currentLine=47448065; + //BA.debugLineNum = 47448065;BA.debugLine="XUIViewsUtils.AddStubToCLVIfNeeded(CustomListView"; +_xuiviewsutils._addstubtoclvifneeded /*String*/ (ba,_customlistview1,_color); +RDebugUtils.currentLine=47448066; + //BA.debugLineNum = 47448066;BA.debugLine="End Sub"; +return ""; +} +public String _internalsettextorcsbuildertolabel(reparto_izca.keymon.lat.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=47382528; + //BA.debugLineNum = 47382528;BA.debugLine="Public Sub InternalSetTextOrCSBuilderToLabel(xlbl"; +RDebugUtils.currentLine=47382529; + //BA.debugLineNum = 47382529;BA.debugLine="XUIViewsUtils.SetTextOrCSBuilderToLabel(xlbl, Tex"; +_xuiviewsutils._settextorcsbuildertolabel /*String*/ (ba,_xlbl,_text); +RDebugUtils.currentLine=47382530; + //BA.debugLineNum = 47382530;BA.debugLine="End Sub"; +return ""; +} +public String _resize(reparto_izca.keymon.lat.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=47120384; + //BA.debugLineNum = 47120384;BA.debugLine="Public Sub Resize (Width As Int, Height As Int)"; +RDebugUtils.currentLine=47120386; + //BA.debugLineNum = 47120386;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=47120387; + //BA.debugLineNum = 47120387;BA.debugLine="If PutAtTop Then Top = 20dip"; +if (__ref._putattop /*boolean*/ ) { +_top = __c.DipToCurrent((int) (20));}; +RDebugUtils.currentLine=47120388; + //BA.debugLineNum = 47120388;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=47120389; + //BA.debugLineNum = 47120389;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=47120390; + //BA.debugLineNum = 47120390;BA.debugLine="If xui.IsB4J Then"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4J()) { +RDebugUtils.currentLine=47120391; + //BA.debugLineNum = 47120391;BA.debugLine="UpdateBlur"; +__ref._updateblur /*String*/ (null); + }; +RDebugUtils.currentLine=47120393; + //BA.debugLineNum = 47120393;BA.debugLine="End Sub"; +return ""; +} +public String _updateblur(reparto_izca.keymon.lat.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=47185920; + //BA.debugLineNum = 47185920;BA.debugLine="Private Sub UpdateBlur"; +RDebugUtils.currentLine=47185921; + //BA.debugLineNum = 47185921;BA.debugLine="If BlurBackground = False Then Return"; +if (__ref._blurbackground /*boolean*/ ==__c.False) { +if (true) return "";}; +RDebugUtils.currentLine=47185922; + //BA.debugLineNum = 47185922;BA.debugLine="Background.Visible = False"; +__ref._background /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=47185923; + //BA.debugLineNum = 47185923;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=47185924; + //BA.debugLineNum = 47185924;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=47185925; + //BA.debugLineNum = 47185925;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=47185927; + //BA.debugLineNum = 47185927;BA.debugLine="Background.Visible = True"; +__ref._background /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=47185928; + //BA.debugLineNum = 47185928;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=47185929; + //BA.debugLineNum = 47185929;BA.debugLine="Dim blurred As BitmapCreator = Blur(source)"; +_blurred = __ref._blur /*b4a.example.bitmapcreator*/ (null,_source); +RDebugUtils.currentLine=47185930; + //BA.debugLineNum = 47185930;BA.debugLine="blurred.SetBitmapToImageView(blurred.Bitmap, Blur"; +_blurred._setbitmaptoimageview(_blurred._getbitmap(),__ref._blurimageview /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ); +RDebugUtils.currentLine=47185931; + //BA.debugLineNum = 47185931;BA.debugLine="End Sub"; +return ""; +} +public String _setbuttonstate(reparto_izca.keymon.lat.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=46792704; + //BA.debugLineNum = 46792704;BA.debugLine="Public Sub SetButtonState (ResultCode As Int, Enab"; +RDebugUtils.currentLine=46792705; + //BA.debugLineNum = 46792705;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=46792706; + //BA.debugLineNum = 46792706;BA.debugLine="If b.IsInitialized Then"; +if (_b.IsInitialized()) { +RDebugUtils.currentLine=46792707; + //BA.debugLineNum = 46792707;BA.debugLine="b.Enabled = Enabled"; +_b.setEnabled(_enabled); +RDebugUtils.currentLine=46792708; + //BA.debugLineNum = 46792708;BA.debugLine="If Enabled Then b.TextColor = ButtonsTextColor E"; +if (_enabled) { +_b.setTextColor(__ref._buttonstextcolor /*int*/ );} +else { +_b.setTextColor(__ref._buttonstextcolordisabled /*int*/ );}; +RDebugUtils.currentLine=46792709; + //BA.debugLineNum = 46792709;BA.debugLine="ButtonsState.Put(ResultCode, Enabled)"; +__ref._buttonsstate /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)(_resultcode),(Object)(_enabled)); + }; +RDebugUtils.currentLine=46792711; + //BA.debugLineNum = 46792711;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _show(reparto_izca.keymon.lat.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(reparto_izca.keymon.lat.b4xdialog parent,reparto_izca.keymon.lat.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; +} +reparto_izca.keymon.lat.b4xdialog __ref; +reparto_izca.keymon.lat.b4xdialog parent; +Object _text; +Object _yes; +Object _no; +Object _cancel; +anywheresoftware.b4a.objects.B4XViewWrapper _p = null; +anywheresoftware.b4a.objects.LabelWrapper _lbl = null; +anywheresoftware.b4a.objects.B4XViewWrapper _xlbl = null; +int _result = 0; + +@Override +public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="b4xdialog"; + + while (true) { + switch (state) { + case -1: +{ +parent.__c.ReturnFromResumableSub(this,null);return;} +case 0: +//C +this.state = -1; +RDebugUtils.currentLine=46465025; + //BA.debugLineNum = 46465025;BA.debugLine="Dim p As B4XView"; +_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=46465026; + //BA.debugLineNum = 46465026;BA.debugLine="p = xui.CreatePanel(\"\")"; +_p = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,""); +RDebugUtils.currentLine=46465027; + //BA.debugLineNum = 46465027;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))); +RDebugUtils.currentLine=46465028; + //BA.debugLineNum = 46465028;BA.debugLine="Dim lbl As Label"; +_lbl = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=46465029; + //BA.debugLineNum = 46465029;BA.debugLine="lbl.Initialize(\"\")"; +_lbl.Initialize(ba,""); +RDebugUtils.currentLine=46465033; + //BA.debugLineNum = 46465033;BA.debugLine="lbl.SingleLine = False"; +_lbl.setSingleLine(parent.__c.False); +RDebugUtils.currentLine=46465037; + //BA.debugLineNum = 46465037;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=46465038; + //BA.debugLineNum = 46465038;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()); +RDebugUtils.currentLine=46465039; + //BA.debugLineNum = 46465039;BA.debugLine="xlbl.TextColor = BodyTextColor"; +_xlbl.setTextColor(__ref._bodytextcolor /*int*/ ); +RDebugUtils.currentLine=46465040; + //BA.debugLineNum = 46465040;BA.debugLine="xlbl.Font = TitleBarFont"; +_xlbl.setFont(__ref._titlebarfont /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ ); +RDebugUtils.currentLine=46465041; + //BA.debugLineNum = 46465041;BA.debugLine="XUIViewsUtils.SetTextOrCSBuilderToLabel(xlbl, Tex"; +parent._xuiviewsutils._settextorcsbuildertolabel /*String*/ (ba,_xlbl,_text); +RDebugUtils.currentLine=46465042; + //BA.debugLineNum = 46465042;BA.debugLine="xlbl.SetTextAlignment(\"CENTER\", \"LEFT\")"; +_xlbl.SetTextAlignment("CENTER","LEFT"); +RDebugUtils.currentLine=46465043; + //BA.debugLineNum = 46465043;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[1]; +; +RDebugUtils.currentLine=46465044; + //BA.debugLineNum = 46465044;BA.debugLine="Return Result"; +if (true) { +parent.__c.ReturnFromResumableSub(this,(Object)(_result));return;}; +RDebugUtils.currentLine=46465045; + //BA.debugLineNum = 46465045;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _showcustom(reparto_izca.keymon.lat.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(reparto_izca.keymon.lat.b4xdialog parent,reparto_izca.keymon.lat.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; +} +reparto_izca.keymon.lat.b4xdialog __ref; +reparto_izca.keymon.lat.b4xdialog parent; +anywheresoftware.b4a.objects.B4XViewWrapper _content; +Object _yes; +Object _no; +Object _cancel; +anywheresoftware.b4a.objects.B4XViewWrapper _v = null; +anywheresoftware.b4a.objects.ImageViewWrapper _iv = null; +anywheresoftware.b4a.objects.PanelWrapper _p = null; +boolean _includetitle = false; +int _temptitlebarheight = 0; +int _height = 0; +int _width = 0; +int _top = 0; +boolean _removetitle = false; +int _i = 0; +int _btype = 0; +anywheresoftware.b4a.objects.LabelWrapper _lbl = null; +anywheresoftware.b4a.objects.B4XViewWrapper _xlbl = null; +int _result = 0; +anywheresoftware.b4a.BA.IterableList group1; +int index1; +int groupLen1; +int step46; +int limit46; +anywheresoftware.b4a.BA.IterableList group74; +int index74; +int groupLen74; +anywheresoftware.b4a.BA.IterableList group78; +int index78; +int groupLen78; + +@Override +public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="b4xdialog"; + + while (true) { + switch (state) { + case -1: +{ +parent.__c.ReturnFromResumableSub(this,null);return;} +case 0: +//C +this.state = 1; +RDebugUtils.currentLine=46530561; + //BA.debugLineNum = 46530561;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 = __ref._mparent /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .GetAllViewsRecursive(); +index1 = 0; +groupLen1 = group1.getSize(); +this.state = 60; +if (true) break; + +case 60: +//C +this.state = 8; +if (index1 < groupLen1) { +this.state = 3; +_v = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(group1.Get(index1)));} +if (true) break; + +case 61: +//C +this.state = 60; +index1++; +if (true) break; + +case 3: +//C +this.state = 4; +RDebugUtils.currentLine=46530562; + //BA.debugLineNum = 46530562;BA.debugLine="If v.Tag <> Null And v.Tag = \"b4xdialog_backgrou"; +if (true) break; + +case 4: +//if +this.state = 7; +if (_v.getTag()!= null && (_v.getTag()).equals((Object)("b4xdialog_background"))) { +this.state = 6; +}if (true) break; + +case 6: +//C +this.state = 7; +RDebugUtils.currentLine=46530563; + //BA.debugLineNum = 46530563;BA.debugLine="v.RemoveViewFromParent"; +_v.RemoveViewFromParent(); +RDebugUtils.currentLine=46530564; + //BA.debugLineNum = 46530564;BA.debugLine="Exit"; +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; +; +RDebugUtils.currentLine=46530567; + //BA.debugLineNum = 46530567;BA.debugLine="ButtonsState.Clear"; +__ref._buttonsstate /*anywheresoftware.b4a.objects.collections.Map*/ .Clear(); +RDebugUtils.currentLine=46530568; + //BA.debugLineNum = 46530568;BA.debugLine="Dim Background As B4XView = xui.CreatePanel(\"back"; +parent._background = new anywheresoftware.b4a.objects.B4XViewWrapper(); +parent._background = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,"background"); +RDebugUtils.currentLine=46530569; + //BA.debugLineNum = 46530569;BA.debugLine="Background.Tag = \"b4xdialog_background\""; +__ref._background /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag((Object)("b4xdialog_background")); +RDebugUtils.currentLine=46530570; + //BA.debugLineNum = 46530570;BA.debugLine="If BlurBackground Then"; +if (true) break; + +case 9: +//if +this.state = 14; +if (__ref._blurbackground /*boolean*/ ) { +this.state = 11; +}else { +this.state = 13; +}if (true) break; + +case 11: +//C +this.state = 14; +RDebugUtils.currentLine=46530571; + //BA.debugLineNum = 46530571;BA.debugLine="Dim iv As ImageView"; +_iv = new anywheresoftware.b4a.objects.ImageViewWrapper(); +RDebugUtils.currentLine=46530572; + //BA.debugLineNum = 46530572;BA.debugLine="iv.Initialize(\"\")"; +_iv.Initialize(ba,""); +RDebugUtils.currentLine=46530573; + //BA.debugLineNum = 46530573;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=46530574; + //BA.debugLineNum = 46530574;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=46530575; + //BA.debugLineNum = 46530575;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; +RDebugUtils.currentLine=46530577; + //BA.debugLineNum = 46530577;BA.debugLine="Background.Color = OverlayColor"; +__ref._background /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setColor(__ref._overlaycolor /*int*/ ); + if (true) break; + +case 14: +//C +this.state = 15; +; +RDebugUtils.currentLine=46530580; + //BA.debugLineNum = 46530580;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)(__ref._background /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject())); +RDebugUtils.currentLine=46530581; + //BA.debugLineNum = 46530581;BA.debugLine="p.Elevation = 4dip"; +_p.setElevation((float) (parent.__c.DipToCurrent((int) (4)))); +RDebugUtils.currentLine=46530583; + //BA.debugLineNum = 46530583;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=46530584; + //BA.debugLineNum = 46530584;BA.debugLine="UpdateBlur"; +__ref._updateblur /*String*/ (null); +RDebugUtils.currentLine=46530585; + //BA.debugLineNum = 46530585;BA.debugLine="Base = xui.CreatePanel(\"\")"; +__ref._base /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,""); +RDebugUtils.currentLine=46530586; + //BA.debugLineNum = 46530586;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=46530587; + //BA.debugLineNum = 46530587;BA.debugLine="Base.RequestFocus"; +__ref._base /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .RequestFocus(); +RDebugUtils.currentLine=46530588; + //BA.debugLineNum = 46530588;BA.debugLine="Dim IncludeTitle As Boolean = Title <> \"\""; +_includetitle = (__ref._title /*Object*/ ).equals((Object)("")) == false; +RDebugUtils.currentLine=46530589; + //BA.debugLineNum = 46530589;BA.debugLine="Dim TempTitleBarHeight As Int = 0"; +_temptitlebarheight = (int) (0); +RDebugUtils.currentLine=46530590; + //BA.debugLineNum = 46530590;BA.debugLine="If IncludeTitle Then"; +if (true) break; + +case 15: +//if +this.state = 18; +if (_includetitle) { +this.state = 17; +}if (true) break; + +case 17: +//C +this.state = 18; +RDebugUtils.currentLine=46530591; + //BA.debugLineNum = 46530591;BA.debugLine="TempTitleBarHeight = TitleBarHeight"; +_temptitlebarheight = __ref._titlebarheight /*int*/ ; + if (true) break; + +case 18: +//C +this.state = 19; +; +RDebugUtils.currentLine=46530593; + //BA.debugLineNum = 46530593;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=46530594; + //BA.debugLineNum = 46530594;BA.debugLine="Dim width As Int = Content.Width + 4dip"; +_width = (int) (_content.getWidth()+parent.__c.DipToCurrent((int) (4))); +RDebugUtils.currentLine=46530595; + //BA.debugLineNum = 46530595;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=46530596; + //BA.debugLineNum = 46530596;BA.debugLine="Dim RemoveTitle As Boolean"; +_removetitle = false; +RDebugUtils.currentLine=46530597; + //BA.debugLineNum = 46530597;BA.debugLine="If PutAtTop Then"; +if (true) break; + +case 19: +//if +this.state = 28; +if (__ref._putattop /*boolean*/ ) { +this.state = 21; +}if (true) break; + +case 21: +//C +this.state = 22; +RDebugUtils.currentLine=46530598; + //BA.debugLineNum = 46530598;BA.debugLine="Top = 20dip"; +_top = parent.__c.DipToCurrent((int) (20)); +RDebugUtils.currentLine=46530599; + //BA.debugLineNum = 46530599;BA.debugLine="If Background.Height - Top - height < 200dip The"; +if (true) break; + +case 22: +//if +this.state = 27; +if (__ref._background /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()-_top-_height 0 && _i <= limit46) || (step46 < 0 && _i >= limit46)) this.state = 34; +if (true) break; + +case 63: +//C +this.state = 62; +_i = ((int)(0 + _i + step46)) ; +if (true) break; + +case 34: +//C +this.state = 35; +RDebugUtils.currentLine=46530610; + //BA.debugLineNum = 46530610;BA.debugLine="Dim btype As Int = ButtonsOrder(i)"; +_btype = __ref._buttonsorder /*int[]*/ [_i]; +RDebugUtils.currentLine=46530611; + //BA.debugLineNum = 46530611;BA.debugLine="Select btype"; +if (true) break; + +case 35: +//select +this.state = 42; +switch (BA.switchObjectToInt(_btype,__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .DialogResponse_Cancel,__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .DialogResponse_Negative,__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .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; +RDebugUtils.currentLine=46530613; + //BA.debugLineNum = 46530613;BA.debugLine="CreateButton(Cancel, btype)"; +__ref._createbutton /*String*/ (null,_cancel,_btype); + if (true) break; + +case 39: +//C +this.state = 42; +RDebugUtils.currentLine=46530615; + //BA.debugLineNum = 46530615;BA.debugLine="CreateButton(No, btype)"; +__ref._createbutton /*String*/ (null,_no,_btype); + if (true) break; + +case 41: +//C +this.state = 42; +RDebugUtils.currentLine=46530617; + //BA.debugLineNum = 46530617;BA.debugLine="CreateButton(Yes, btype)"; +__ref._createbutton /*String*/ (null,_yes,_btype); + if (true) break; + +case 42: +//C +this.state = 63; +; + if (true) break; +if (true) break; + +case 43: +//C +this.state = 44; +; +RDebugUtils.currentLine=46530620; + //BA.debugLineNum = 46530620;BA.debugLine="Base.Visible = False"; +__ref._base /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=46530621; + //BA.debugLineNum = 46530621;BA.debugLine="If IncludeTitle Then"; +if (true) break; + +case 44: +//if +this.state = 47; +if (_includetitle) { +this.state = 46; +}if (true) break; + +case 46: +//C +this.state = 47; +RDebugUtils.currentLine=46530622; + //BA.debugLineNum = 46530622;BA.debugLine="TitleBar = xui.CreatePanel(\"TitleBar\")"; +__ref._titlebar /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,"TitleBar"); +RDebugUtils.currentLine=46530623; + //BA.debugLineNum = 46530623;BA.debugLine="TitleBar.Color = TitleBarColor"; +__ref._titlebar /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setColor(__ref._titlebarcolor /*int*/ ); +RDebugUtils.currentLine=46530624; + //BA.debugLineNum = 46530624;BA.debugLine="Base.AddView(TitleBar, 2dip, 2dip, Content.Width"; +__ref._base /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(__ref._titlebar /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject()),parent.__c.DipToCurrent((int) (2)),parent.__c.DipToCurrent((int) (2)),_content.getWidth(),_temptitlebarheight); +RDebugUtils.currentLine=46530625; + //BA.debugLineNum = 46530625;BA.debugLine="Dim lbl As Label"; +_lbl = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=46530626; + //BA.debugLineNum = 46530626;BA.debugLine="lbl.Initialize(\"\")"; +_lbl.Initialize(ba,""); +RDebugUtils.currentLine=46530627; + //BA.debugLineNum = 46530627;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=46530628; + //BA.debugLineNum = 46530628;BA.debugLine="XUIViewsUtils.SetTextOrCSBuilderToLabel(xlbl, Ti"; +parent._xuiviewsutils._settextorcsbuildertolabel /*String*/ (ba,_xlbl,__ref._title /*Object*/ ); +RDebugUtils.currentLine=46530629; + //BA.debugLineNum = 46530629;BA.debugLine="xlbl.TextColor = TitleBarTextColor"; +_xlbl.setTextColor(__ref._titlebartextcolor /*int*/ ); +RDebugUtils.currentLine=46530630; + //BA.debugLineNum = 46530630;BA.debugLine="xlbl.Font = TitleBarFont"; +_xlbl.setFont(__ref._titlebarfont /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ ); +RDebugUtils.currentLine=46530631; + //BA.debugLineNum = 46530631;BA.debugLine="xlbl.SetTextAlignment(\"CENTER\", \"CENTER\")"; +_xlbl.SetTextAlignment("CENTER","CENTER"); +RDebugUtils.currentLine=46530632; + //BA.debugLineNum = 46530632;BA.debugLine="TitleBar.AddView(xlbl, 0, 0, TitleBar.Width, Tit"; +__ref._titlebar /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(_xlbl.getObject()),(int) (0),(int) (0),__ref._titlebar /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._titlebar /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); + if (true) break; + +case 47: +//C +this.state = 48; +; +RDebugUtils.currentLine=46530634; + //BA.debugLineNum = 46530634;BA.debugLine="Content.RemoveViewFromParent"; +_content.RemoveViewFromParent(); +RDebugUtils.currentLine=46530635; + //BA.debugLineNum = 46530635;BA.debugLine="Base.AddView(Content, 2dip, 2dip + TempTitleBarHe"; +__ref._base /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(_content.getObject()),parent.__c.DipToCurrent((int) (2)),(int) (parent.__c.DipToCurrent((int) (2))+_temptitlebarheight),_content.getWidth(),_content.getHeight()); +RDebugUtils.currentLine=46530636; + //BA.debugLineNum = 46530636;BA.debugLine="Base.SetVisibleAnimated(VisibleAnimationDuration,"; +__ref._base /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetVisibleAnimated(__ref._visibleanimationduration /*int*/ ,parent.__c.True); +RDebugUtils.currentLine=46530637; + //BA.debugLineNum = 46530637;BA.debugLine="For Each v As B4XView In Background.GetAllViewsRe"; +if (true) break; + +case 48: +//for +this.state = 51; +_v = new anywheresoftware.b4a.objects.B4XViewWrapper(); +group74 = __ref._background /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .GetAllViewsRecursive(); +index74 = 0; +groupLen74 = group74.getSize(); +this.state = 64; +if (true) break; + +case 64: +//C +this.state = 51; +if (index74 < groupLen74) { +this.state = 50; +_v = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(group74.Get(index74)));} +if (true) break; + +case 65: +//C +this.state = 64; +index74++; +if (true) break; + +case 50: +//C +this.state = 65; +RDebugUtils.currentLine=46530638; + //BA.debugLineNum = 46530638;BA.debugLine="v.Enabled = True"; +_v.setEnabled(parent.__c.True); + if (true) break; +if (true) break; + +case 51: +//C +this.state = 52; +; +RDebugUtils.currentLine=46530640; + //BA.debugLineNum = 46530640;BA.debugLine="Wait For CloseMessage (Result As Int)"; +parent.__c.WaitFor("closemessage", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "b4xdialog", "showcustom"), null); +this.state = 66; +return; +case 66: +//C +this.state = 52; +_result = (Integer) result[1]; +; +RDebugUtils.currentLine=46530641; + //BA.debugLineNum = 46530641;BA.debugLine="For Each v As B4XView In Background.GetAllViewsRe"; +if (true) break; + +case 52: +//for +this.state = 55; +_v = new anywheresoftware.b4a.objects.B4XViewWrapper(); +group78 = __ref._background /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .GetAllViewsRecursive(); +index78 = 0; +groupLen78 = group78.getSize(); +this.state = 67; +if (true) break; + +case 67: +//C +this.state = 55; +if (index78 < groupLen78) { +this.state = 54; +_v = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(group78.Get(index78)));} +if (true) break; + +case 68: +//C +this.state = 67; +index78++; +if (true) break; + +case 54: +//C +this.state = 68; +RDebugUtils.currentLine=46530642; + //BA.debugLineNum = 46530642;BA.debugLine="v.Enabled = False"; +_v.setEnabled(parent.__c.False); + if (true) break; +if (true) break; + +case 55: +//C +this.state = 56; +; +RDebugUtils.currentLine=46530644; + //BA.debugLineNum = 46530644;BA.debugLine="Base.SetVisibleAnimated(VisibleAnimationDuration,"; +__ref._base /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetVisibleAnimated(__ref._visibleanimationduration /*int*/ ,parent.__c.False); +RDebugUtils.currentLine=46530645; + //BA.debugLineNum = 46530645;BA.debugLine="If VisibleAnimationDuration > 0 Then"; +if (true) break; + +case 56: +//if +this.state = 59; +if (__ref._visibleanimationduration /*int*/ >0) { +this.state = 58; +}if (true) break; + +case 58: +//C +this.state = 59; +RDebugUtils.currentLine=46530646; + //BA.debugLineNum = 46530646;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: +//C +this.state = 59; +; + if (true) break; + +case 59: +//C +this.state = -1; +; +RDebugUtils.currentLine=46530648; + //BA.debugLineNum = 46530648;BA.debugLine="Background.RemoveViewFromParent"; +__ref._background /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .RemoveViewFromParent(); +RDebugUtils.currentLine=46530649; + //BA.debugLineNum = 46530649;BA.debugLine="Return Result"; +if (true) { +parent.__c.ReturnFromResumableSub(this,(Object)(_result));return;}; +RDebugUtils.currentLine=46530650; + //BA.debugLineNum = 46530650;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _showtemplate(reparto_izca.keymon.lat.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(reparto_izca.keymon.lat.b4xdialog parent,reparto_izca.keymon.lat.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; +} +reparto_izca.keymon.lat.b4xdialog __ref; +reparto_izca.keymon.lat.b4xdialog parent; +Object _dialogtemplate; +Object _yes; +Object _no; +Object _cancel; +anywheresoftware.b4a.objects.B4XViewWrapper _content = null; +int _result = 0; + +@Override +public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="b4xdialog"; + + while (true) { + switch (state) { + case -1: +{ +parent.__c.ReturnFromResumableSub(this,null);return;} +case 0: +//C +this.state = -1; +RDebugUtils.currentLine=46399489; + //BA.debugLineNum = 46399489;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.CallSubDebug2(ba,_dialogtemplate,"GetPanel",parent))); +RDebugUtils.currentLine=46399490; + //BA.debugLineNum = 46399490;BA.debugLine="CallSub2(DialogTemplate, \"Show\", Me)"; +parent.__c.CallSubDebug2(ba,_dialogtemplate,"Show",parent); +RDebugUtils.currentLine=46399491; + //BA.debugLineNum = 46399491;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[1]; +; +RDebugUtils.currentLine=46399492; + //BA.debugLineNum = 46399492;BA.debugLine="CallSub2(DialogTemplate, \"DialogClosed\", Result)"; +parent.__c.CallSubDebug2(ba,_dialogtemplate,"DialogClosed",(Object)(_result)); +RDebugUtils.currentLine=46399493; + //BA.debugLineNum = 46399493;BA.debugLine="PutAtTop = False"; +__ref._putattop /*boolean*/ = parent.__c.False; +RDebugUtils.currentLine=46399494; + //BA.debugLineNum = 46399494;BA.debugLine="Return Result"; +if (true) { +parent.__c.ReturnFromResumableSub(this,(Object)(_result));return;}; +RDebugUtils.currentLine=46399495; + //BA.debugLineNum = 46399495;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public String _stub_click(reparto_izca.keymon.lat.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=47513600; + //BA.debugLineNum = 47513600;BA.debugLine="Private Sub Stub_Click"; +RDebugUtils.currentLine=47513602; + //BA.debugLineNum = 47513602;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/b4xfloattextfield.java b/B4A/Objects/src/reparto_izca/keymon/lat/b4xfloattextfield.java new file mode 100644 index 0000000..375d770 --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/b4xfloattextfield.java @@ -0,0 +1,1251 @@ +package reparto_izca.keymon.lat; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.B4AClass; +import anywheresoftware.b4a.BALayout; +import anywheresoftware.b4a.debug.*; + +public class b4xfloattextfield 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, "reparto_izca.keymon.lat.b4xfloattextfield"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", reparto_izca.keymon.lat.b4xfloattextfield.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 String _meventname = ""; +public Object _mcallback = null; +public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; +public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; +public anywheresoftware.b4a.objects.B4XViewWrapper _mtextfield = null; +public int _animationduration = 0; +public float _largelabeltextsize = 0f; +public float _smalllabeltextsize = 0f; +public boolean _largelabel = false; +public anywheresoftware.b4a.objects.B4XCanvas _measuringcanvas = null; +public int _hintcolor = 0; +public int _nonfocusedhintcolor = 0; +public anywheresoftware.b4a.objects.B4XViewWrapper _hintimageview = null; +public String _hinttext = ""; +public anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont _hintfont = null; +public anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _largefocused = null; +public anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _largenotfocused = null; +public anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _smallfocused = null; +public anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _smallnotfocused = null; +public boolean _focused = false; +public anywheresoftware.b4a.objects.B4XViewWrapper _lblclear = null; +public anywheresoftware.b4a.objects.B4XViewWrapper _lblv = null; +public anywheresoftware.b4a.objects.collections.Map _mprops = null; +public Object _tag = null; +public String _keyboardtype = ""; +public boolean _multiline = false; +public reparto_izca.keymon.lat.b4xfloattextfield _mnexttextfield = null; +public anywheresoftware.b4a.objects.IME _ime = null; +public int _hintlabellargeoffsetx = 0; +public int _hintlabelsmalloffsety = 0; +public int _hintlabelsmalloffsetx = 0; +public long _lastswitchtextfieldtime = 0L; +public b4a.example.dateutils _dateutils = null; +public reparto_izca.keymon.lat.main _main = null; +public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; +public reparto_izca.keymon.lat.foto _foto = null; +public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_izca.keymon.lat.starter _starter = null; +public reparto_izca.keymon.lat.tracker _tracker = null; +public reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public String _base_resize(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=48168960; + //BA.debugLineNum = 48168960;BA.debugLine="Public Sub Base_Resize (Width As Double, Height As"; +RDebugUtils.currentLine=48168961; + //BA.debugLineNum = 48168961;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=48168962; + //BA.debugLineNum = 48168962;BA.debugLine="Dim FirstDistance As Int = 2dip"; +_firstdistance = __c.DipToCurrent((int) (2)); +RDebugUtils.currentLine=48168963; + //BA.debugLineNum = 48168963;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));}; +RDebugUtils.currentLine=48168964; + //BA.debugLineNum = 48168964;BA.debugLine="If lblV.IsInitialized Then"; +if (__ref._lblv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .IsInitialized()) { +RDebugUtils.currentLine=48168965; + //BA.debugLineNum = 48168965;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=48168966; + //BA.debugLineNum = 48168966;BA.debugLine="FirstDistance = FirstDistance + lblV.Width + 2di"; +_firstdistance = (int) (_firstdistance+__ref._lblv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()+__c.DipToCurrent((int) (2))); + }; +RDebugUtils.currentLine=48168968; + //BA.debugLineNum = 48168968;BA.debugLine="If lblClear.IsInitialized Then"; +if (__ref._lblclear /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .IsInitialized()) { +RDebugUtils.currentLine=48168969; + //BA.debugLineNum = 48168969;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)); + }; +RDebugUtils.currentLine=48168971; + //BA.debugLineNum = 48168971;BA.debugLine="UpdateLabel(mTextField.Text, True)"; +__ref._updatelabel /*String*/ (null,__ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getText(),__c.True); +RDebugUtils.currentLine=48168972; + //BA.debugLineNum = 48168972;BA.debugLine="End Sub"; +return ""; +} +public String _updatelabel(reparto_izca.keymon.lat.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=48234496; + //BA.debugLineNum = 48234496;BA.debugLine="Private Sub UpdateLabel (txt As String, force As B"; +RDebugUtils.currentLine=48234497; + //BA.debugLineNum = 48234497;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=48234498; + //BA.debugLineNum = 48234498;BA.debugLine="If lbl.IsInitialized Then lbl.Visible = Focused"; +if (_lbl.IsInitialized()) { +_lbl.setVisible(__ref._focused /*boolean*/ && _txt.length()>0);}; + } +}; +RDebugUtils.currentLine=48234501; + //BA.debugLineNum = 48234501;BA.debugLine="Dim GoingToLarge As Boolean = txt.Length = 0"; +_goingtolarge = _txt.length()==0; +RDebugUtils.currentLine=48234502; + //BA.debugLineNum = 48234502;BA.debugLine="If GoingToLarge = LargeLabel And force = False Th"; +if (_goingtolarge==__ref._largelabel /*boolean*/ && _force==__c.False) { +if (true) return "";}; +RDebugUtils.currentLine=48234503; + //BA.debugLineNum = 48234503;BA.debugLine="Dim b As B4XBitmap"; +_b = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(); +RDebugUtils.currentLine=48234504; + //BA.debugLineNum = 48234504;BA.debugLine="If Focused Then"; +if (__ref._focused /*boolean*/ ) { +RDebugUtils.currentLine=48234505; + //BA.debugLineNum = 48234505;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=48234507; + //BA.debugLineNum = 48234507;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=48234509; + //BA.debugLineNum = 48234509;BA.debugLine="If b.IsInitialized = False Then Return"; +if (_b.IsInitialized()==__c.False) { +if (true) return "";}; +RDebugUtils.currentLine=48234510; + //BA.debugLineNum = 48234510;BA.debugLine="HintImageView.SetBitmap(b)"; +__ref._hintimageview /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetBitmap((android.graphics.Bitmap)(_b.getObject())); +RDebugUtils.currentLine=48234511; + //BA.debugLineNum = 48234511;BA.debugLine="If GoingToLarge Then"; +if (_goingtolarge) { +RDebugUtils.currentLine=48234512; + //BA.debugLineNum = 48234512;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=48234513; + //BA.debugLineNum = 48234513;BA.debugLine="LargeLabel = True"; +__ref._largelabel /*boolean*/ = __c.True; + }else { +RDebugUtils.currentLine=48234515; + //BA.debugLineNum = 48234515;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=48234516; + //BA.debugLineNum = 48234516;BA.debugLine="LargeLabel = False"; +__ref._largelabel /*boolean*/ = __c.False; + }; +RDebugUtils.currentLine=48234518; + //BA.debugLineNum = 48234518;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(reparto_izca.keymon.lat.b4xfloattextfield __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +RDebugUtils.currentLine=47579136; + //BA.debugLineNum = 47579136;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=47579137; + //BA.debugLineNum = 47579137;BA.debugLine="Private mEventName As String 'ignore"; +_meventname = ""; +RDebugUtils.currentLine=47579138; + //BA.debugLineNum = 47579138;BA.debugLine="Private mCallBack As Object 'ignore"; +_mcallback = new Object(); +RDebugUtils.currentLine=47579139; + //BA.debugLineNum = 47579139;BA.debugLine="Public mBase As B4XView 'ignore"; +_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=47579140; + //BA.debugLineNum = 47579140;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=47579141; + //BA.debugLineNum = 47579141;BA.debugLine="Private mTextField As B4XView"; +_mtextfield = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=47579142; + //BA.debugLineNum = 47579142;BA.debugLine="Public AnimationDuration As Int = 200"; +_animationduration = (int) (200); +RDebugUtils.currentLine=47579143; + //BA.debugLineNum = 47579143;BA.debugLine="Public LargeLabelTextSize = 18, SmallLabelTextSiz"; +_largelabeltextsize = (float) (18); +_smalllabeltextsize = (float) (14); +RDebugUtils.currentLine=47579144; + //BA.debugLineNum = 47579144;BA.debugLine="Private LargeLabel As Boolean"; +_largelabel = false; +RDebugUtils.currentLine=47579145; + //BA.debugLineNum = 47579145;BA.debugLine="Private MeasuringCanvas As B4XCanvas"; +_measuringcanvas = new anywheresoftware.b4a.objects.B4XCanvas(); +RDebugUtils.currentLine=47579146; + //BA.debugLineNum = 47579146;BA.debugLine="Public HintColor As Int"; +_hintcolor = 0; +RDebugUtils.currentLine=47579147; + //BA.debugLineNum = 47579147;BA.debugLine="Public NonFocusedHintColor As Int"; +_nonfocusedhintcolor = 0; +RDebugUtils.currentLine=47579148; + //BA.debugLineNum = 47579148;BA.debugLine="Private HintImageView As B4XView"; +_hintimageview = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=47579149; + //BA.debugLineNum = 47579149;BA.debugLine="Public HintText As String"; +_hinttext = ""; +RDebugUtils.currentLine=47579150; + //BA.debugLineNum = 47579150;BA.debugLine="Public HintFont As B4XFont"; +_hintfont = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont(); +RDebugUtils.currentLine=47579151; + //BA.debugLineNum = 47579151;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(); +RDebugUtils.currentLine=47579152; + //BA.debugLineNum = 47579152;BA.debugLine="Public Focused As Boolean"; +_focused = false; +RDebugUtils.currentLine=47579153; + //BA.debugLineNum = 47579153;BA.debugLine="Public lblClear As B4XView"; +_lblclear = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=47579154; + //BA.debugLineNum = 47579154;BA.debugLine="Public lblV As B4XView"; +_lblv = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=47579155; + //BA.debugLineNum = 47579155;BA.debugLine="Private mProps As Map"; +_mprops = new anywheresoftware.b4a.objects.collections.Map(); +RDebugUtils.currentLine=47579156; + //BA.debugLineNum = 47579156;BA.debugLine="Public Tag As Object"; +_tag = new Object(); +RDebugUtils.currentLine=47579157; + //BA.debugLineNum = 47579157;BA.debugLine="Private KeyboardType As String 'ignore"; +_keyboardtype = ""; +RDebugUtils.currentLine=47579158; + //BA.debugLineNum = 47579158;BA.debugLine="Private Multiline As Boolean"; +_multiline = false; +RDebugUtils.currentLine=47579159; + //BA.debugLineNum = 47579159;BA.debugLine="Private mNextTextField As B4XFloatTextField"; +_mnexttextfield = new reparto_izca.keymon.lat.b4xfloattextfield(); +RDebugUtils.currentLine=47579161; + //BA.debugLineNum = 47579161;BA.debugLine="Private IME As IME"; +_ime = new anywheresoftware.b4a.objects.IME(); +RDebugUtils.currentLine=47579166; + //BA.debugLineNum = 47579166;BA.debugLine="Public HintLabelLargeOffsetX, HintLabelSmallOffse"; +_hintlabellargeoffsetx = 0; +_hintlabelsmalloffsety = __c.DipToCurrent((int) (2)); +_hintlabelsmalloffsetx = __c.DipToCurrent((int) (2)); +RDebugUtils.currentLine=47579167; + //BA.debugLineNum = 47579167;BA.debugLine="Private LastSwitchTextFieldTime As Long"; +_lastswitchtextfieldtime = 0L; +RDebugUtils.currentLine=47579168; + //BA.debugLineNum = 47579168;BA.debugLine="End Sub"; +return ""; +} +public String _createacceptbutton(reparto_izca.keymon.lat.b4xfloattextfield __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "createacceptbutton", true)) + {return ((String) Debug.delegate(ba, "createacceptbutton", null));} +RDebugUtils.currentLine=47906816; + //BA.debugLineNum = 47906816;BA.debugLine="Private Sub CreateAcceptButton"; +RDebugUtils.currentLine=47906817; + //BA.debugLineNum = 47906817;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 "";}; +RDebugUtils.currentLine=47906818; + //BA.debugLineNum = 47906818;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=47906819; + //BA.debugLineNum = 47906819;BA.debugLine="lblV.Tag = \"v\""; +__ref._lblv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag((Object)("v")); +RDebugUtils.currentLine=47906820; + //BA.debugLineNum = 47906820;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.objects.B4XViewWrapper _createbutton(reparto_izca.keymon.lat.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=48103424; + //BA.debugLineNum = 48103424;BA.debugLine="Private Sub CreateButton (Text As String) As B4XVi"; +RDebugUtils.currentLine=48103425; + //BA.debugLineNum = 48103425;BA.debugLine="Dim lc As Label"; +_lc = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=48103426; + //BA.debugLineNum = 48103426;BA.debugLine="lc.Initialize(\"lc\")"; +_lc.Initialize(ba,"lc"); +RDebugUtils.currentLine=48103427; + //BA.debugLineNum = 48103427;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=48103428; + //BA.debugLineNum = 48103428;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=48103429; + //BA.debugLineNum = 48103429;BA.debugLine="x.Font = xui.CreateMaterialIcons(20)"; +_x.setFont(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreateMaterialIcons((float) (20))); +RDebugUtils.currentLine=48103430; + //BA.debugLineNum = 48103430;BA.debugLine="x.Text = Text"; +_x.setText(BA.ObjectToCharSequence(_text)); +RDebugUtils.currentLine=48103431; + //BA.debugLineNum = 48103431;BA.debugLine="x.TextColor = mTextField.TextColor"; +_x.setTextColor(__ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTextColor()); +RDebugUtils.currentLine=48103432; + //BA.debugLineNum = 48103432;BA.debugLine="x.Visible = False"; +_x.setVisible(__c.False); +RDebugUtils.currentLine=48103433; + //BA.debugLineNum = 48103433;BA.debugLine="x.SetTextAlignment(\"CENTER\", \"CENTER\")"; +_x.SetTextAlignment("CENTER","CENTER"); +RDebugUtils.currentLine=48103434; + //BA.debugLineNum = 48103434;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=48103435; + //BA.debugLineNum = 48103435;BA.debugLine="Return x"; +if (true) return _x; +RDebugUtils.currentLine=48103436; + //BA.debugLineNum = 48103436;BA.debugLine="End Sub"; +return null; +} +public anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _createbitmap(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=48431104; + //BA.debugLineNum = 48431104;BA.debugLine="Private Sub CreateBitmap(r As B4XRect, Color As In"; +RDebugUtils.currentLine=48431105; + //BA.debugLineNum = 48431105;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=48431106; + //BA.debugLineNum = 48431106;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))))); +RDebugUtils.currentLine=48431107; + //BA.debugLineNum = 48431107;BA.debugLine="Dim c As B4XCanvas"; +_c = new anywheresoftware.b4a.objects.B4XCanvas(); +RDebugUtils.currentLine=48431108; + //BA.debugLineNum = 48431108;BA.debugLine="c.Initialize(p)"; +_c.Initialize(_p); +RDebugUtils.currentLine=48431109; + //BA.debugLineNum = 48431109;BA.debugLine="Dim BaseLine As Int = p.Height / 2 - r.Height / 2"; +_baseline = (int) (_p.getHeight()/(double)2-_r.getHeight()/(double)2-_r.getTop()); +RDebugUtils.currentLine=48431110; + //BA.debugLineNum = 48431110;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=48431111; + //BA.debugLineNum = 48431111;BA.debugLine="Dim bmp As B4XBitmap = c.CreateBitmap"; +_bmp = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(); +_bmp = _c.CreateBitmap(); +RDebugUtils.currentLine=48431112; + //BA.debugLineNum = 48431112;BA.debugLine="c.Release"; +_c.Release(); +RDebugUtils.currentLine=48431113; + //BA.debugLineNum = 48431113;BA.debugLine="Return bmp"; +if (true) return _bmp; +RDebugUtils.currentLine=48431114; + //BA.debugLineNum = 48431114;BA.debugLine="End Sub"; +return null; +} +public String _createclearbutton(reparto_izca.keymon.lat.b4xfloattextfield __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "createclearbutton", true)) + {return ((String) Debug.delegate(ba, "createclearbutton", null));} +RDebugUtils.currentLine=47841280; + //BA.debugLineNum = 47841280;BA.debugLine="Private Sub CreateClearButton"; +RDebugUtils.currentLine=47841281; + //BA.debugLineNum = 47841281;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 "";}; +RDebugUtils.currentLine=47841282; + //BA.debugLineNum = 47841282;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=47841283; + //BA.debugLineNum = 47841283;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=47841284; + //BA.debugLineNum = 47841284;BA.debugLine="lblClear.Tag = \"clear\""; +__ref._lblclear /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag((Object)("clear")); +RDebugUtils.currentLine=47841286; + //BA.debugLineNum = 47841286;BA.debugLine="End Sub"; +return ""; +} +public String _createrevealbutton(reparto_izca.keymon.lat.b4xfloattextfield __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "createrevealbutton", true)) + {return ((String) Debug.delegate(ba, "createrevealbutton", null));} +RDebugUtils.currentLine=47972352; + //BA.debugLineNum = 47972352;BA.debugLine="Private Sub CreateRevealButton"; +RDebugUtils.currentLine=47972353; + //BA.debugLineNum = 47972353;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=47972354; + //BA.debugLineNum = 47972354;BA.debugLine="lblClear.Tag = \"reveal\""; +__ref._lblclear /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag((Object)("reveal")); +RDebugUtils.currentLine=47972355; + //BA.debugLineNum = 47972355;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.objects.B4XViewWrapper _createtextfield(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=49020928; + //BA.debugLineNum = 49020928;BA.debugLine="Private Sub CreateTextField (Password As Boolean)"; +RDebugUtils.currentLine=49020944; + //BA.debugLineNum = 49020944;BA.debugLine="Dim tf As EditText"; +_tf = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=49020945; + //BA.debugLineNum = 49020945;BA.debugLine="tf.Initialize(\"tf\")"; +_tf.Initialize(ba,"tf"); +RDebugUtils.currentLine=49020946; + //BA.debugLineNum = 49020946;BA.debugLine="tf.SingleLine = Not(Multiline)"; +_tf.setSingleLine(__c.Not(__ref._multiline /*boolean*/ )); +RDebugUtils.currentLine=49020947; + //BA.debugLineNum = 49020947;BA.debugLine="tf.PasswordMode = Password"; +_tf.setPasswordMode(_password); +RDebugUtils.currentLine=49020948; + //BA.debugLineNum = 49020948;BA.debugLine="If Password Then"; +if (_password) { +RDebugUtils.currentLine=49020949; + //BA.debugLineNum = 49020949;BA.debugLine="If KeyboardType <> \"Text\" Then"; +if ((__ref._keyboardtype /*String*/ ).equals("Text") == false) { +RDebugUtils.currentLine=49020950; + //BA.debugLineNum = 49020950;BA.debugLine="tf.InputType = Bit.Or(tf.INPUT_TYPE_NUMBERS, 16"; +_tf.setInputType(__c.Bit.Or(_tf.INPUT_TYPE_NUMBERS,(int) (16))); + }else { +RDebugUtils.currentLine=49020952; + //BA.debugLineNum = 49020952;BA.debugLine="tf.InputType = Bit.Or(0x00000080, 0x00080000) '"; +_tf.setInputType(__c.Bit.Or(((int)0x00000080),((int)0x00080000))); + }; + }else { +RDebugUtils.currentLine=49020955; + //BA.debugLineNum = 49020955;BA.debugLine="Select KeyboardType"; +switch (BA.switchObjectToInt(__ref._keyboardtype /*String*/ ,"Numbers","Decimal")) { +case 0: { +RDebugUtils.currentLine=49020957; + //BA.debugLineNum = 49020957;BA.debugLine="tf.InputType = tf.INPUT_TYPE_NUMBERS"; +_tf.setInputType(_tf.INPUT_TYPE_NUMBERS); + break; } +case 1: { +RDebugUtils.currentLine=49020959; + //BA.debugLineNum = 49020959;BA.debugLine="tf.InputType = tf.INPUT_TYPE_DECIMAL_NUMBERS"; +_tf.setInputType(_tf.INPUT_TYPE_DECIMAL_NUMBERS); + break; } +} +; + }; +RDebugUtils.currentLine=49020962; + //BA.debugLineNum = 49020962;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())); +RDebugUtils.currentLine=49020986; + //BA.debugLineNum = 49020986;BA.debugLine="End Sub"; +return null; +} +public String _createtextfieldall(reparto_izca.keymon.lat.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=47775744; + //BA.debugLineNum = 47775744;BA.debugLine="Private Sub CreateTextFieldAll (PasswordMode As Bo"; +RDebugUtils.currentLine=47775745; + //BA.debugLineNum = 47775745;BA.debugLine="mTextField = CreateTextField (PasswordMode)"; +__ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._createtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ (null,_passwordmode); +RDebugUtils.currentLine=47775746; + //BA.debugLineNum = 47775746;BA.debugLine="mTextField.Font = Font1"; +__ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setFont(_font1); +RDebugUtils.currentLine=47775747; + //BA.debugLineNum = 47775747;BA.debugLine="mTextField.TextColor = TextColor"; +__ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTextColor(_textcolor); +RDebugUtils.currentLine=47775748; + //BA.debugLineNum = 47775748;BA.debugLine="setNextField(mNextTextField)"; +__ref._setnextfield /*String*/ (null,__ref._mnexttextfield /*reparto_izca.keymon.lat.b4xfloattextfield*/ ); +RDebugUtils.currentLine=47775749; + //BA.debugLineNum = 47775749;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=47775750; + //BA.debugLineNum = 47775750;BA.debugLine="End Sub"; +return ""; +} +public String _setnextfield(reparto_izca.keymon.lat.b4xfloattextfield __ref,reparto_izca.keymon.lat.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=48824320; + //BA.debugLineNum = 48824320;BA.debugLine="Public Sub setNextField (Field As B4XFloatTextFiel"; +RDebugUtils.currentLine=48824321; + //BA.debugLineNum = 48824321;BA.debugLine="If Field.IsInitialized = False Then Return"; +if (_field.IsInitialized /*boolean*/ ()==__c.False) { +if (true) return "";}; +RDebugUtils.currentLine=48824323; + //BA.debugLineNum = 48824323;BA.debugLine="If Multiline = False Then"; +if (__ref._multiline /*boolean*/ ==__c.False) { +RDebugUtils.currentLine=48824324; + //BA.debugLineNum = 48824324;BA.debugLine="If Field <> Me Then"; +if ((_field).equals((reparto_izca.keymon.lat.b4xfloattextfield)(this)) == false) { +RDebugUtils.currentLine=48824325; + //BA.debugLineNum = 48824325;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=48824327; + //BA.debugLineNum = 48824327;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=48824328; + //BA.debugLineNum = 48824328;BA.debugLine="et.ForceDoneButton = True"; +_et.setForceDoneButton(__c.True); + }; +RDebugUtils.currentLine=48824331; + //BA.debugLineNum = 48824331;BA.debugLine="Dim o As Object = Field"; +_o = (Object)(_field); +RDebugUtils.currentLine=48824332; + //BA.debugLineNum = 48824332;BA.debugLine="mNextTextField = o"; +__ref._mnexttextfield /*reparto_izca.keymon.lat.b4xfloattextfield*/ = (reparto_izca.keymon.lat.b4xfloattextfield)(_o); +RDebugUtils.currentLine=48824333; + //BA.debugLineNum = 48824333;BA.debugLine="End Sub"; +return ""; +} +public String _designercreateview(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=47710208; + //BA.debugLineNum = 47710208;BA.debugLine="Public Sub DesignerCreateView (Base As Object, lbl"; +RDebugUtils.currentLine=47710209; + //BA.debugLineNum = 47710209;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=47710210; + //BA.debugLineNum = 47710210;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._tag /*Object*/ = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTag(); +RDebugUtils.currentLine=47710210; + //BA.debugLineNum = 47710210;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag(this); +RDebugUtils.currentLine=47710211; + //BA.debugLineNum = 47710211;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=47710212; + //BA.debugLineNum = 47710212;BA.debugLine="mProps = Props"; +__ref._mprops /*anywheresoftware.b4a.objects.collections.Map*/ = _props; +RDebugUtils.currentLine=47710213; + //BA.debugLineNum = 47710213;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())); +RDebugUtils.currentLine=47710214; + //BA.debugLineNum = 47710214;BA.debugLine="Dim iv As ImageView"; +_iv = new anywheresoftware.b4a.objects.ImageViewWrapper(); +RDebugUtils.currentLine=47710215; + //BA.debugLineNum = 47710215;BA.debugLine="iv.Initialize(\"HintImageView\")"; +_iv.Initialize(ba,"HintImageView"); +RDebugUtils.currentLine=47710216; + //BA.debugLineNum = 47710216;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=47710217; + //BA.debugLineNum = 47710217;BA.debugLine="KeyboardType = Props.GetDefault(\"KeyboardType\", \""; +__ref._keyboardtype /*String*/ = BA.ObjectToString(_props.GetDefault((Object)("KeyboardType"),(Object)("Text"))); +RDebugUtils.currentLine=47710223; + //BA.debugLineNum = 47710223;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=47710224; + //BA.debugLineNum = 47710224;BA.debugLine="NonFocusedHintColor = xui.PaintOrColorToColor(Pro"; +__ref._nonfocusedhintcolor /*int*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .PaintOrColorToColor(_props.Get((Object)("NonFocusedHintColor"))); +RDebugUtils.currentLine=47710226; + //BA.debugLineNum = 47710226;BA.debugLine="HintText = Props.Get(\"Hint\")"; +__ref._hinttext /*String*/ = BA.ObjectToString(_props.Get((Object)("Hint"))); +RDebugUtils.currentLine=47710227; + //BA.debugLineNum = 47710227;BA.debugLine="HintFont = PassedLabel.Font"; +__ref._hintfont /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ = _passedlabel.getFont(); +RDebugUtils.currentLine=47710228; + //BA.debugLineNum = 47710228;BA.debugLine="Dim PasswordMode As Boolean = Props.GetDefault(\"P"; +_passwordmode = BA.ObjectToBoolean(_props.GetDefault((Object)("PasswordField"),(Object)(__c.False))); +RDebugUtils.currentLine=47710229; + //BA.debugLineNum = 47710229;BA.debugLine="Multiline = Props.GetDefault(\"Multiline\", False)"; +__ref._multiline /*boolean*/ = BA.ObjectToBoolean(_props.GetDefault((Object)("Multiline"),(Object)(__c.False))); +RDebugUtils.currentLine=47710230; + //BA.debugLineNum = 47710230;BA.debugLine="If PasswordMode And Multiline Then"; +if (_passwordmode && __ref._multiline /*boolean*/ ) { +RDebugUtils.currentLine=47710231; + //BA.debugLineNum = 47710231;BA.debugLine="Multiline = False"; +__ref._multiline /*boolean*/ = __c.False; +RDebugUtils.currentLine=47710232; + //BA.debugLineNum = 47710232;BA.debugLine="Log(\"Multiline not supported with password mode."; +__c.LogImpl("947710232","Multiline not supported with password mode.",0); + }; +RDebugUtils.currentLine=47710234; + //BA.debugLineNum = 47710234;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=47710236; + //BA.debugLineNum = 47710236;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=47710237; + //BA.debugLineNum = 47710237;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=47710238; + //BA.debugLineNum = 47710238;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=47710239; + //BA.debugLineNum = 47710239;BA.debugLine="MeasuringCanvas.Initialize(p)"; +__ref._measuringcanvas /*anywheresoftware.b4a.objects.B4XCanvas*/ .Initialize(_p); +RDebugUtils.currentLine=47710240; + //BA.debugLineNum = 47710240;BA.debugLine="Update"; +__ref._update /*String*/ (null); +RDebugUtils.currentLine=47710241; + //BA.debugLineNum = 47710241;BA.debugLine="If PasswordMode And Props.GetDefault(\"ShowRevealB"; +if (_passwordmode && BA.ObjectToBoolean(_props.GetDefault((Object)("ShowRevealButton"),(Object)(__c.False)))) { +RDebugUtils.currentLine=47710242; + //BA.debugLineNum = 47710242;BA.debugLine="CreateRevealButton"; +__ref._createrevealbutton /*String*/ (null); + }else { +RDebugUtils.currentLine=47710244; + //BA.debugLineNum = 47710244;BA.debugLine="CreateClearButton"; +__ref._createclearbutton /*String*/ (null); + }; +RDebugUtils.currentLine=47710246; + //BA.debugLineNum = 47710246;BA.debugLine="CreateAcceptButton"; +__ref._createacceptbutton /*String*/ (null); +RDebugUtils.currentLine=47710247; + //BA.debugLineNum = 47710247;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=47710248; + //BA.debugLineNum = 47710248;BA.debugLine="End Sub"; +return ""; +} +public String _update(reparto_izca.keymon.lat.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=48365568; + //BA.debugLineNum = 48365568;BA.debugLine="Public Sub Update"; +RDebugUtils.currentLine=48365569; + //BA.debugLineNum = 48365569;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=48365570; + //BA.debugLineNum = 48365570;BA.debugLine="Dim r As B4XRect = MeasuringCanvas.MeasureText(Hi"; +_r = __ref._measuringcanvas /*anywheresoftware.b4a.objects.B4XCanvas*/ .MeasureText(__ref._hinttext /*String*/ ,_f); +RDebugUtils.currentLine=48365571; + //BA.debugLineNum = 48365571;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=48365572; + //BA.debugLineNum = 48365572;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=48365573; + //BA.debugLineNum = 48365573;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=48365574; + //BA.debugLineNum = 48365574;BA.debugLine="Dim r As B4XRect = MeasuringCanvas.MeasureText(Hi"; +_r = __ref._measuringcanvas /*anywheresoftware.b4a.objects.B4XCanvas*/ .MeasureText(__ref._hinttext /*String*/ ,_f); +RDebugUtils.currentLine=48365575; + //BA.debugLineNum = 48365575;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=48365576; + //BA.debugLineNum = 48365576;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=48365577; + //BA.debugLineNum = 48365577;BA.debugLine="UpdateLabel(mTextField.Text, True)"; +__ref._updatelabel /*String*/ (null,__ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getText(),__c.True); +RDebugUtils.currentLine=48365578; + //BA.debugLineNum = 48365578;BA.debugLine="End Sub"; +return ""; +} +public reparto_izca.keymon.lat.b4xfloattextfield _getnextfield(reparto_izca.keymon.lat.b4xfloattextfield __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "getnextfield", true)) + {return ((reparto_izca.keymon.lat.b4xfloattextfield) Debug.delegate(ba, "getnextfield", null));} +RDebugUtils.currentLine=48758784; + //BA.debugLineNum = 48758784;BA.debugLine="Public Sub getNextField As B4XFloatTextField"; +RDebugUtils.currentLine=48758785; + //BA.debugLineNum = 48758785;BA.debugLine="Return mNextTextField"; +if (true) return __ref._mnexttextfield /*reparto_izca.keymon.lat.b4xfloattextfield*/ ; +RDebugUtils.currentLine=48758786; + //BA.debugLineNum = 48758786;BA.debugLine="End Sub"; +return null; +} +public String _gettext(reparto_izca.keymon.lat.b4xfloattextfield __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "gettext", true)) + {return ((String) Debug.delegate(ba, "gettext", null));} +RDebugUtils.currentLine=49086464; + //BA.debugLineNum = 49086464;BA.debugLine="Public Sub getText As String"; +RDebugUtils.currentLine=49086465; + //BA.debugLineNum = 49086465;BA.debugLine="Return mTextField.Text"; +if (true) return __ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getText(); +RDebugUtils.currentLine=49086466; + //BA.debugLineNum = 49086466;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.objects.B4XViewWrapper _gettextfield(reparto_izca.keymon.lat.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=49283072; + //BA.debugLineNum = 49283072;BA.debugLine="Public Sub getTextField As B4XView"; +RDebugUtils.currentLine=49283073; + //BA.debugLineNum = 49283073;BA.debugLine="Return mTextField"; +if (true) return __ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ; +RDebugUtils.currentLine=49283074; + //BA.debugLineNum = 49283074;BA.debugLine="End Sub"; +return null; +} +public boolean _ime_handleaction(reparto_izca.keymon.lat.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=48889856; + //BA.debugLineNum = 48889856;BA.debugLine="Private Sub ime_HandleAction As Boolean"; +RDebugUtils.currentLine=48889857; + //BA.debugLineNum = 48889857;BA.debugLine="tf_EnterPressed"; +__ref._tf_enterpressed /*String*/ (null); +RDebugUtils.currentLine=48889858; + //BA.debugLineNum = 48889858;BA.debugLine="If mNextTextField.IsInitialized Then Return True"; +if (__ref._mnexttextfield /*reparto_izca.keymon.lat.b4xfloattextfield*/ .IsInitialized /*boolean*/ ()) { +if (true) return __c.True;}; +RDebugUtils.currentLine=48889859; + //BA.debugLineNum = 48889859;BA.debugLine="Return False"; +if (true) return __c.False; +RDebugUtils.currentLine=48889860; + //BA.debugLineNum = 48889860;BA.debugLine="End Sub"; +return false; +} +public String _tf_enterpressed(reparto_izca.keymon.lat.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=48955392; + //BA.debugLineNum = 48955392;BA.debugLine="Private Sub tf_EnterPressed"; +RDebugUtils.currentLine=48955393; + //BA.debugLineNum = 48955393;BA.debugLine="tf_Action"; +__ref._tf_action /*String*/ (null); +RDebugUtils.currentLine=48955398; + //BA.debugLineNum = 48955398;BA.debugLine="End Sub"; +return ""; +} +public String _initialize(reparto_izca.keymon.lat.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=47644672; + //BA.debugLineNum = 47644672;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +RDebugUtils.currentLine=47644673; + //BA.debugLineNum = 47644673;BA.debugLine="mEventName = EventName"; +__ref._meventname /*String*/ = _eventname; +RDebugUtils.currentLine=47644674; + //BA.debugLineNum = 47644674;BA.debugLine="mCallBack = Callback"; +__ref._mcallback /*Object*/ = _callback; +RDebugUtils.currentLine=47644675; + //BA.debugLineNum = 47644675;BA.debugLine="If xui.IsB4A Then"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4A()) { +RDebugUtils.currentLine=47644676; + //BA.debugLineNum = 47644676;BA.debugLine="HintLabelLargeOffsetX = 6dip"; +__ref._hintlabellargeoffsetx /*int*/ = __c.DipToCurrent((int) (6)); + }else { +RDebugUtils.currentLine=47644678; + //BA.debugLineNum = 47644678;BA.debugLine="HintLabelLargeOffsetX = 12dip"; +__ref._hintlabellargeoffsetx /*int*/ = __c.DipToCurrent((int) (12)); + }; +RDebugUtils.currentLine=47644681; + //BA.debugLineNum = 47644681;BA.debugLine="IME.Initialize(\"ime\")"; +__ref._ime /*anywheresoftware.b4a.objects.IME*/ .Initialize("ime"); +RDebugUtils.currentLine=47644687; + //BA.debugLineNum = 47644687;BA.debugLine="End Sub"; +return ""; +} +public String _lc_click(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=49217536; + //BA.debugLineNum = 49217536;BA.debugLine="Private Sub lc_Click"; +RDebugUtils.currentLine=49217537; + //BA.debugLineNum = 49217537;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=49217538; + //BA.debugLineNum = 49217538;BA.debugLine="Select btn.Tag"; +switch (BA.switchObjectToInt(_btn.getTag(),(Object)("clear"),(Object)("reveal"),(Object)("hide"),(Object)("v"))) { +case 0: { +RDebugUtils.currentLine=49217540; + //BA.debugLineNum = 49217540;BA.debugLine="setText(\"\")"; +__ref._settext /*String*/ (null,""); + break; } +case 1: { +RDebugUtils.currentLine=49217542; + //BA.debugLineNum = 49217542;BA.debugLine="SwitchFromPasswordToRegular (True)"; +__ref._switchfrompasswordtoregular /*void*/ (null,__c.True); + break; } +case 2: { +RDebugUtils.currentLine=49217544; + //BA.debugLineNum = 49217544;BA.debugLine="SwitchFromPasswordToRegular(False)"; +__ref._switchfrompasswordtoregular /*void*/ (null,__c.False); + break; } +case 3: { +RDebugUtils.currentLine=49217546; + //BA.debugLineNum = 49217546;BA.debugLine="tf_EnterPressed"; +__ref._tf_enterpressed /*String*/ (null); +RDebugUtils.currentLine=49217547; + //BA.debugLineNum = 49217547;BA.debugLine="If mNextTextField.IsInitialized = False Or mNex"; +if (__ref._mnexttextfield /*reparto_izca.keymon.lat.b4xfloattextfield*/ .IsInitialized /*boolean*/ ()==__c.False || (__ref._mnexttextfield /*reparto_izca.keymon.lat.b4xfloattextfield*/ ).equals((reparto_izca.keymon.lat.b4xfloattextfield)(this))) { +RDebugUtils.currentLine=49217549; + //BA.debugLineNum = 49217549;BA.debugLine="IME.HideKeyboard"; +__ref._ime /*anywheresoftware.b4a.objects.IME*/ .HideKeyboard(ba); + }; + break; } +} +; +RDebugUtils.currentLine=49217555; + //BA.debugLineNum = 49217555;BA.debugLine="End Sub"; +return ""; +} +public String _settext(reparto_izca.keymon.lat.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 = ""; +RDebugUtils.currentLine=49152000; + //BA.debugLineNum = 49152000;BA.debugLine="Public Sub setText(s As String)"; +RDebugUtils.currentLine=49152001; + //BA.debugLineNum = 49152001;BA.debugLine="Dim old As String = mTextField.Text 'ignore"; +_old = __ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getText(); +RDebugUtils.currentLine=49152002; + //BA.debugLineNum = 49152002;BA.debugLine="mTextField.Text = s"; +__ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setText(BA.ObjectToCharSequence(_s)); +RDebugUtils.currentLine=49152004; + //BA.debugLineNum = 49152004;BA.debugLine="If IsPaused(Me) Then tf_TextChanged(old, s)"; +if (__c.IsPaused(ba,this)) { +__ref._tf_textchanged /*String*/ (null,_old,_s);}; +RDebugUtils.currentLine=49152008; + //BA.debugLineNum = 49152008;BA.debugLine="End Sub"; +return ""; +} +public void _switchfrompasswordtoregular(reparto_izca.keymon.lat.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(reparto_izca.keymon.lat.b4xfloattextfield parent,reparto_izca.keymon.lat.b4xfloattextfield __ref,boolean _toregular) { +this.parent = parent; +this.__ref = __ref; +this._toregular = _toregular; +this.__ref = parent; +} +reparto_izca.keymon.lat.b4xfloattextfield __ref; +reparto_izca.keymon.lat.b4xfloattextfield parent; +boolean _toregular; +String _text = ""; +int _textcolor = 0; +anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont _font1 = null; +anywheresoftware.b4a.objects.B4XViewWrapper _oldfield = null; +anywheresoftware.b4a.objects.EditTextWrapper _et = null; + +@Override +public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="b4xfloattextfield"; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +RDebugUtils.currentLine=48037889; + //BA.debugLineNum = 48037889;BA.debugLine="Dim text As String = mTextField.Text"; +_text = __ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getText(); +RDebugUtils.currentLine=48037890; + //BA.debugLineNum = 48037890;BA.debugLine="Dim textcolor As Int = mTextField.TextColor"; +_textcolor = __ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTextColor(); +RDebugUtils.currentLine=48037891; + //BA.debugLineNum = 48037891;BA.debugLine="Dim Font1 As B4XFont = mTextField.Font"; +_font1 = __ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getFont(); +RDebugUtils.currentLine=48037892; + //BA.debugLineNum = 48037892;BA.debugLine="Dim oldfield As B4XView = mTextField"; +_oldfield = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_oldfield = __ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ; +RDebugUtils.currentLine=48037894; + //BA.debugLineNum = 48037894;BA.debugLine="CreateTextFieldAll(Not(ToRegular), Font1, textcol"; +__ref._createtextfieldall /*String*/ (null,parent.__c.Not(_toregular),_font1,_textcolor); +RDebugUtils.currentLine=48037895; + //BA.debugLineNum = 48037895;BA.debugLine="mTextField.Text = text"; +__ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setText(BA.ObjectToCharSequence(_text)); +RDebugUtils.currentLine=48037896; + //BA.debugLineNum = 48037896;BA.debugLine="If lblClear.IsInitialized Then"; +if (true) break; + +case 1: +//if +this.state = 10; +if (__ref._lblclear /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .IsInitialized()) { +this.state = 3; +}if (true) break; + +case 3: +//C +this.state = 4; +RDebugUtils.currentLine=48037897; + //BA.debugLineNum = 48037897;BA.debugLine="If ToRegular = False Then"; +if (true) break; + +case 4: +//if +this.state = 9; +if (_toregular==parent.__c.False) { +this.state = 6; +}else { +this.state = 8; +}if (true) break; + +case 6: +//C +this.state = 9; +RDebugUtils.currentLine=48037898; + //BA.debugLineNum = 48037898;BA.debugLine="lblClear.Text = Chr(0xE8F4)"; +__ref._lblclear /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setText(BA.ObjectToCharSequence(parent.__c.Chr(((int)0xe8f4)))); +RDebugUtils.currentLine=48037899; + //BA.debugLineNum = 48037899;BA.debugLine="lblClear.Tag = \"reveal\""; +__ref._lblclear /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag((Object)("reveal")); + if (true) break; + +case 8: +//C +this.state = 9; +RDebugUtils.currentLine=48037901; + //BA.debugLineNum = 48037901;BA.debugLine="lblClear.Tag = \"hide\""; +__ref._lblclear /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag((Object)("hide")); +RDebugUtils.currentLine=48037902; + //BA.debugLineNum = 48037902;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; +; +RDebugUtils.currentLine=48037904; + //BA.debugLineNum = 48037904;BA.debugLine="lblClear.BringToFront"; +__ref._lblclear /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .BringToFront(); + if (true) break; +; +RDebugUtils.currentLine=48037906; + //BA.debugLineNum = 48037906;BA.debugLine="If lblV.IsInitialized Then lblV.BringToFront"; + +case 10: +//if +this.state = 15; +if (__ref._lblv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .IsInitialized()) { +this.state = 12; +;}if (true) break; + +case 12: +//C +this.state = 15; +__ref._lblv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .BringToFront(); +if (true) break; + +case 15: +//C +this.state = 16; +; +RDebugUtils.currentLine=48037907; + //BA.debugLineNum = 48037907;BA.debugLine="HintImageView.BringToFront"; +__ref._hintimageview /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .BringToFront(); +RDebugUtils.currentLine=48037908; + //BA.debugLineNum = 48037908;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=48037913; + //BA.debugLineNum = 48037913;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=48037914; + //BA.debugLineNum = 48037914;BA.debugLine="et.SelectionStart = mTextField.Text.Length"; +_et.setSelectionStart(__ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getText().length()); +RDebugUtils.currentLine=48037916; + //BA.debugLineNum = 48037916;BA.debugLine="LastSwitchTextFieldTime = DateTime.Now"; +__ref._lastswitchtextfieldtime /*long*/ = parent.__c.DateTime.getNow(); +RDebugUtils.currentLine=48037917; + //BA.debugLineNum = 48037917;BA.debugLine="mTextField.RequestFocus"; +__ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .RequestFocus(); +RDebugUtils.currentLine=48037918; + //BA.debugLineNum = 48037918;BA.debugLine="oldfield.RemoveViewFromParent"; +_oldfield.RemoveViewFromParent(); +RDebugUtils.currentLine=48037920; + //BA.debugLineNum = 48037920;BA.debugLine="LastSwitchTextFieldTime = DateTime.Now + 200"; +__ref._lastswitchtextfieldtime /*long*/ = (long) (parent.__c.DateTime.getNow()+200); +RDebugUtils.currentLine=48037921; + //BA.debugLineNum = 48037921;BA.debugLine="et.Enabled = False"; +_et.setEnabled(parent.__c.False); +RDebugUtils.currentLine=48037922; + //BA.debugLineNum = 48037922;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; +; +RDebugUtils.currentLine=48037923; + //BA.debugLineNum = 48037923;BA.debugLine="et.Enabled = True"; +_et.setEnabled(parent.__c.True); +RDebugUtils.currentLine=48037924; + //BA.debugLineNum = 48037924;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; +; +RDebugUtils.currentLine=48037925; + //BA.debugLineNum = 48037925;BA.debugLine="et.RequestFocus"; +_et.RequestFocus(); +RDebugUtils.currentLine=48037926; + //BA.debugLineNum = 48037926;BA.debugLine="IME.ShowKeyboard(mTextField)"; +__ref._ime /*anywheresoftware.b4a.objects.IME*/ .ShowKeyboard((android.view.View)(__ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject())); +RDebugUtils.currentLine=48037928; + //BA.debugLineNum = 48037928;BA.debugLine="If xui.SubExists(mCallBack, mEventName & \"_Passwo"; +if (true) break; + +case 16: +//if +this.state = 19; +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; +RDebugUtils.currentLine=48037929; + //BA.debugLineNum = 48037929;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; +; +RDebugUtils.currentLine=48037931; + //BA.debugLineNum = 48037931;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public String _requestfocusandshowkeyboard(reparto_izca.keymon.lat.b4xfloattextfield __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "requestfocusandshowkeyboard", true)) + {return ((String) Debug.delegate(ba, "requestfocusandshowkeyboard", null));} +RDebugUtils.currentLine=49348608; + //BA.debugLineNum = 49348608;BA.debugLine="Public Sub RequestFocusAndShowKeyboard"; +RDebugUtils.currentLine=49348609; + //BA.debugLineNum = 49348609;BA.debugLine="mTextField.RequestFocus"; +__ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .RequestFocus(); +RDebugUtils.currentLine=49348611; + //BA.debugLineNum = 49348611;BA.debugLine="IME.ShowKeyboard(mTextField)"; +__ref._ime /*anywheresoftware.b4a.objects.IME*/ .ShowKeyboard((android.view.View)(__ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject())); +RDebugUtils.currentLine=49348613; + //BA.debugLineNum = 49348613;BA.debugLine="End Sub"; +return ""; +} +public String _tf_textchanged(reparto_izca.keymon.lat.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=48693248; + //BA.debugLineNum = 48693248;BA.debugLine="Private Sub tf_TextChanged (Old As String, New As"; +RDebugUtils.currentLine=48693249; + //BA.debugLineNum = 48693249;BA.debugLine="UpdateLabel(New, False)"; +__ref._updatelabel /*String*/ (null,_new,__c.False); +RDebugUtils.currentLine=48693250; + //BA.debugLineNum = 48693250;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=48693251; + //BA.debugLineNum = 48693251;BA.debugLine="CallSub3(mCallBack, mEventName & \"_TextChanged\","; +__c.CallSubNew3(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_TextChanged",(Object)(_old),(Object)(_new)); + }; +RDebugUtils.currentLine=48693253; + //BA.debugLineNum = 48693253;BA.debugLine="End Sub"; +return ""; +} +public String _tf_action(reparto_izca.keymon.lat.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=48627712; + //BA.debugLineNum = 48627712;BA.debugLine="Private Sub tf_Action"; +RDebugUtils.currentLine=48627713; + //BA.debugLineNum = 48627713;BA.debugLine="If mNextTextField.IsInitialized And mNextTextFiel"; +if (__ref._mnexttextfield /*reparto_izca.keymon.lat.b4xfloattextfield*/ .IsInitialized /*boolean*/ () && (__ref._mnexttextfield /*reparto_izca.keymon.lat.b4xfloattextfield*/ ).equals((reparto_izca.keymon.lat.b4xfloattextfield)(this)) == false) { +RDebugUtils.currentLine=48627714; + //BA.debugLineNum = 48627714;BA.debugLine="mNextTextField.TextField.RequestFocus"; +__ref._mnexttextfield /*reparto_izca.keymon.lat.b4xfloattextfield*/ ._gettextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ (null).RequestFocus(); + }; +RDebugUtils.currentLine=48627716; + //BA.debugLineNum = 48627716;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=48627717; + //BA.debugLineNum = 48627717;BA.debugLine="CallSubDelayed(mCallBack, mEventName & \"_EnterPr"; +__c.CallSubDelayed(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_EnterPressed"); + }; +RDebugUtils.currentLine=48627719; + //BA.debugLineNum = 48627719;BA.debugLine="End Sub"; +return ""; +} +public String _tf_beginedit(reparto_izca.keymon.lat.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=48496640; + //BA.debugLineNum = 48496640;BA.debugLine="Private Sub tf_BeginEdit"; +RDebugUtils.currentLine=48496641; + //BA.debugLineNum = 48496641;BA.debugLine="tf_FocusChanged(True)"; +__ref._tf_focuschanged /*String*/ (null,__c.True); +RDebugUtils.currentLine=48496642; + //BA.debugLineNum = 48496642;BA.debugLine="End Sub"; +return ""; +} +public String _tf_focuschanged(reparto_izca.keymon.lat.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=48300032; + //BA.debugLineNum = 48300032;BA.debugLine="Private Sub tf_FocusChanged (HasFocus As Boolean)"; +RDebugUtils.currentLine=48300033; + //BA.debugLineNum = 48300033;BA.debugLine="Focused = HasFocus"; +__ref._focused /*boolean*/ = _hasfocus; +RDebugUtils.currentLine=48300034; + //BA.debugLineNum = 48300034;BA.debugLine="UpdateLabel(mTextField.Text, True)"; +__ref._updatelabel /*String*/ (null,__ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getText(),__c.True); +RDebugUtils.currentLine=48300035; + //BA.debugLineNum = 48300035;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=48300036; + //BA.debugLineNum = 48300036;BA.debugLine="If LastSwitchTextFieldTime + 100 < DateTime.Now"; +if (__ref._lastswitchtextfieldtime /*long*/ +100<__c.DateTime.getNow()) { +RDebugUtils.currentLine=48300037; + //BA.debugLineNum = 48300037;BA.debugLine="CallSubDelayed2(mCallBack, mEventName & \"_Focus"; +__c.CallSubDelayed2(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_FocusChanged",(Object)(__ref._focused /*boolean*/ )); + }; + }; +RDebugUtils.currentLine=48300040; + //BA.debugLineNum = 48300040;BA.debugLine="End Sub"; +return ""; +} +public String _tf_endedit(reparto_izca.keymon.lat.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=48562176; + //BA.debugLineNum = 48562176;BA.debugLine="Private Sub tf_EndEdit"; +RDebugUtils.currentLine=48562177; + //BA.debugLineNum = 48562177;BA.debugLine="tf_FocusChanged(False)"; +__ref._tf_focuschanged /*String*/ (null,__c.False); +RDebugUtils.currentLine=48562178; + //BA.debugLineNum = 48562178;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("tf_focuschanged"); +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/b4xformatter.java b/B4A/Objects/src/reparto_izca/keymon/lat/b4xformatter.java new file mode 100644 index 0000000..7424de1 --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/b4xformatter.java @@ -0,0 +1,537 @@ +package reparto_izca.keymon.lat; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.B4AClass; +import anywheresoftware.b4a.BALayout; +import anywheresoftware.b4a.debug.*; + +public class b4xformatter 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, "reparto_izca.keymon.lat.b4xformatter"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", reparto_izca.keymon.lat.b4xformatter.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 static class _b4xformatdata{ +public boolean IsInitialized; +public String Prefix; +public String Postfix; +public int MinimumIntegers; +public int MinimumFractions; +public int MaximumFractions; +public String GroupingCharacter; +public String DecimalPoint; +public int TextColor; +public anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont FormatFont; +public double RangeStart; +public double RangeEnd; +public boolean RemoveMinusSign; +public String IntegerPaddingChar; +public String FractionPaddingChar; +public void Initialize() { +IsInitialized = true; +Prefix = ""; +Postfix = ""; +MinimumIntegers = 0; +MinimumFractions = 0; +MaximumFractions = 0; +GroupingCharacter = ""; +DecimalPoint = ""; +TextColor = 0; +FormatFont = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont(); +RangeStart = 0; +RangeEnd = 0; +RemoveMinusSign = false; +IntegerPaddingChar = ""; +FractionPaddingChar = ""; +} +@Override + public String toString() { + return BA.TypeToString(this, 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 reparto_izca.keymon.lat.main _main = null; +public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; +public reparto_izca.keymon.lat.foto _foto = null; +public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_izca.keymon.lat.starter _starter = null; +public reparto_izca.keymon.lat.tracker _tracker = null; +public reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public reparto_izca.keymon.lat.b4xformatter._b4xformatdata _getdefaultformat(reparto_izca.keymon.lat.b4xformatter __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xformatter"; +if (Debug.shouldDelegate(ba, "getdefaultformat", true)) + {return ((reparto_izca.keymon.lat.b4xformatter._b4xformatdata) Debug.delegate(ba, "getdefaultformat", null));} +RDebugUtils.currentLine=58916864; + //BA.debugLineNum = 58916864;BA.debugLine="Public Sub GetDefaultFormat As B4XFormatData"; +RDebugUtils.currentLine=58916865; + //BA.debugLineNum = 58916865;BA.debugLine="Return formats.Get(0)"; +if (true) return (reparto_izca.keymon.lat.b4xformatter._b4xformatdata)(__ref._formats /*anywheresoftware.b4a.objects.collections.List*/ .Get((int) (0))); +RDebugUtils.currentLine=58916866; + //BA.debugLineNum = 58916866;BA.debugLine="End Sub"; +return null; +} +public String _format(reparto_izca.keymon.lat.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}));} +reparto_izca.keymon.lat.b4xformatter._b4xformatdata _data = null; +anywheresoftware.b4a.keywords.StringBuilderWrapper _sb = null; +int _numberstartindex = 0; +double _factor = 0; +int _whole = 0; +double _frac = 0; +int _g = 0; +int _fracstartindex = 0; +int _lastzerocount = 0; +int _multipler = 0; +int _w = 0; +RDebugUtils.currentLine=59047936; + //BA.debugLineNum = 59047936;BA.debugLine="Public Sub Format (Number As Double) As String"; +RDebugUtils.currentLine=59047937; + //BA.debugLineNum = 59047937;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";}; +RDebugUtils.currentLine=59047938; + //BA.debugLineNum = 59047938;BA.debugLine="Dim data As B4XFormatData = GetFormatData (Number"; +_data = __ref._getformatdata /*reparto_izca.keymon.lat.b4xformatter._b4xformatdata*/ (null,_number); +RDebugUtils.currentLine=59047939; + //BA.debugLineNum = 59047939;BA.debugLine="Dim sb As StringBuilder"; +_sb = new anywheresoftware.b4a.keywords.StringBuilderWrapper(); +RDebugUtils.currentLine=59047940; + //BA.debugLineNum = 59047940;BA.debugLine="sb.Initialize"; +_sb.Initialize(); +RDebugUtils.currentLine=59047941; + //BA.debugLineNum = 59047941;BA.debugLine="sb.Append(data.Prefix)"; +_sb.Append(_data.Prefix /*String*/ ); +RDebugUtils.currentLine=59047942; + //BA.debugLineNum = 59047942;BA.debugLine="Dim NumberStartIndex As Int = sb.Length"; +_numberstartindex = _sb.getLength(); +RDebugUtils.currentLine=59047943; + //BA.debugLineNum = 59047943;BA.debugLine="Dim factor As Double = Power(10, -data.MaximumFra"; +_factor = __c.Power(10,-_data.MaximumFractions /*int*/ -1)*5; +RDebugUtils.currentLine=59047944; + //BA.debugLineNum = 59047944;BA.debugLine="If Number < -factor And data.RemoveMinusSign = Fa"; +if (_number<-_factor && _data.RemoveMinusSign /*boolean*/ ==__c.False) { +RDebugUtils.currentLine=59047945; + //BA.debugLineNum = 59047945;BA.debugLine="sb.Append(\"-\")"; +_sb.Append("-"); +RDebugUtils.currentLine=59047946; + //BA.debugLineNum = 59047946;BA.debugLine="NumberStartIndex = NumberStartIndex + 1"; +_numberstartindex = (int) (_numberstartindex+1); + }; +RDebugUtils.currentLine=59047948; + //BA.debugLineNum = 59047948;BA.debugLine="Number = Abs(Number) + factor"; +_number = __c.Abs(_number)+_factor; +RDebugUtils.currentLine=59047949; + //BA.debugLineNum = 59047949;BA.debugLine="Dim whole As Int = Number"; +_whole = (int) (_number); +RDebugUtils.currentLine=59047950; + //BA.debugLineNum = 59047950;BA.debugLine="Dim frac As Double = Number - whole"; +_frac = _number-_whole; +RDebugUtils.currentLine=59047951; + //BA.debugLineNum = 59047951;BA.debugLine="Dim g As Int"; +_g = 0; +RDebugUtils.currentLine=59047952; + //BA.debugLineNum = 59047952;BA.debugLine="Do While whole > 0"; +while (_whole>0) { +RDebugUtils.currentLine=59047953; + //BA.debugLineNum = 59047953;BA.debugLine="If g > 0 And g Mod 3 = 0 And data.GroupingCharac"; +if (_g>0 && _g%3==0 && _data.GroupingCharacter /*String*/ .length()>0) { +RDebugUtils.currentLine=59047954; + //BA.debugLineNum = 59047954;BA.debugLine="sb.Insert(NumberStartIndex, data.GroupingCharac"; +_sb.Insert(_numberstartindex,_data.GroupingCharacter /*String*/ ); + }; +RDebugUtils.currentLine=59047956; + //BA.debugLineNum = 59047956;BA.debugLine="g = g + 1"; +_g = (int) (_g+1); +RDebugUtils.currentLine=59047957; + //BA.debugLineNum = 59047957;BA.debugLine="sb.Insert(NumberStartIndex, whole Mod 10)"; +_sb.Insert(_numberstartindex,BA.NumberToString(_whole%10)); +RDebugUtils.currentLine=59047958; + //BA.debugLineNum = 59047958;BA.debugLine="whole = whole / 10"; +_whole = (int) (_whole/(double)10); + } +; +RDebugUtils.currentLine=59047960; + //BA.debugLineNum = 59047960;BA.debugLine="Do While sb.Length - NumberStartIndex < data.Mini"; +while (_sb.getLength()-_numberstartindex<_data.MinimumIntegers /*int*/ ) { +RDebugUtils.currentLine=59047961; + //BA.debugLineNum = 59047961;BA.debugLine="sb.Insert(NumberStartIndex, data.IntegerPaddingC"; +_sb.Insert(_numberstartindex,_data.IntegerPaddingChar /*String*/ ); + } +; +RDebugUtils.currentLine=59047963; + //BA.debugLineNum = 59047963;BA.debugLine="If data.MaximumFractions > 0 And (data.MinimumFra"; +if (_data.MaximumFractions /*int*/ >0 && (_data.MinimumFractions /*int*/ >0 || _frac>0)) { +RDebugUtils.currentLine=59047964; + //BA.debugLineNum = 59047964;BA.debugLine="Dim FracStartIndex As Int = sb.Length"; +_fracstartindex = _sb.getLength(); +RDebugUtils.currentLine=59047965; + //BA.debugLineNum = 59047965;BA.debugLine="Dim LastZeroCount As Int"; +_lastzerocount = 0; +RDebugUtils.currentLine=59047966; + //BA.debugLineNum = 59047966;BA.debugLine="Dim Multipler As Int = 10"; +_multipler = (int) (10); +RDebugUtils.currentLine=59047967; + //BA.debugLineNum = 59047967;BA.debugLine="Do While frac >= 2 * factor And sb.Length - Frac"; +while (_frac>=2*_factor && _sb.getLength()-_fracstartindex<_data.MaximumFractions /*int*/ ) { +RDebugUtils.currentLine=59047968; + //BA.debugLineNum = 59047968;BA.debugLine="Dim w As Int = (frac * Multipler)"; +_w = (int) ((_frac*_multipler)); +RDebugUtils.currentLine=59047969; + //BA.debugLineNum = 59047969;BA.debugLine="w = w Mod 10"; +_w = (int) (_w%10); +RDebugUtils.currentLine=59047970; + //BA.debugLineNum = 59047970;BA.debugLine="If w = 0 Then LastZeroCount = LastZeroCount + 1"; +if (_w==0) { +_lastzerocount = (int) (_lastzerocount+1);} +else { +_lastzerocount = (int) (0);}; +RDebugUtils.currentLine=59047971; + //BA.debugLineNum = 59047971;BA.debugLine="sb.Append(w)"; +_sb.Append(BA.NumberToString(_w)); +RDebugUtils.currentLine=59047972; + //BA.debugLineNum = 59047972;BA.debugLine="Multipler = Multipler * 10"; +_multipler = (int) (_multipler*10); + } +; +RDebugUtils.currentLine=59047974; + //BA.debugLineNum = 59047974;BA.debugLine="If data.FractionPaddingChar <> \"0\" And LastZeroC"; +if ((_data.FractionPaddingChar /*String*/ ).equals("0") == false && _lastzerocount>0) { +RDebugUtils.currentLine=59047975; + //BA.debugLineNum = 59047975;BA.debugLine="sb.Remove(sb.Length - LastZeroCount, sb.Length)"; +_sb.Remove((int) (_sb.getLength()-_lastzerocount),_sb.getLength()); +RDebugUtils.currentLine=59047976; + //BA.debugLineNum = 59047976;BA.debugLine="LastZeroCount = 0"; +_lastzerocount = (int) (0); + }; +RDebugUtils.currentLine=59047978; + //BA.debugLineNum = 59047978;BA.debugLine="Do While sb.Length - FracStartIndex < data.Minim"; +while (_sb.getLength()-_fracstartindex<_data.MinimumFractions /*int*/ ) { +RDebugUtils.currentLine=59047979; + //BA.debugLineNum = 59047979;BA.debugLine="sb.Append(data.FractionPaddingChar)"; +_sb.Append(_data.FractionPaddingChar /*String*/ ); +RDebugUtils.currentLine=59047980; + //BA.debugLineNum = 59047980;BA.debugLine="LastZeroCount = 0"; +_lastzerocount = (int) (0); + } +; +RDebugUtils.currentLine=59047982; + //BA.debugLineNum = 59047982;BA.debugLine="LastZeroCount = Min(LastZeroCount, sb.Length - F"; +_lastzerocount = (int) (__c.Min(_lastzerocount,_sb.getLength()-_fracstartindex-_data.MinimumFractions /*int*/ )); +RDebugUtils.currentLine=59047983; + //BA.debugLineNum = 59047983;BA.debugLine="If LastZeroCount > 0 Then"; +if (_lastzerocount>0) { +RDebugUtils.currentLine=59047984; + //BA.debugLineNum = 59047984;BA.debugLine="sb.Remove(sb.Length - LastZeroCount, sb.Length)"; +_sb.Remove((int) (_sb.getLength()-_lastzerocount),_sb.getLength()); + }; +RDebugUtils.currentLine=59047986; + //BA.debugLineNum = 59047986;BA.debugLine="If sb.Length > FracStartIndex Then sb.Insert(Fra"; +if (_sb.getLength()>_fracstartindex) { +_sb.Insert(_fracstartindex,_data.DecimalPoint /*String*/ );}; + }; +RDebugUtils.currentLine=59047988; + //BA.debugLineNum = 59047988;BA.debugLine="sb.Append(data.Postfix)"; +_sb.Append(_data.Postfix /*String*/ ); +RDebugUtils.currentLine=59047989; + //BA.debugLineNum = 59047989;BA.debugLine="Return sb.ToString"; +if (true) return _sb.ToString(); +RDebugUtils.currentLine=59047990; + //BA.debugLineNum = 59047990;BA.debugLine="End Sub"; +return ""; +} +public String _initialize(reparto_izca.keymon.lat.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}));} +reparto_izca.keymon.lat.b4xformatter._b4xformatdata _d = null; +RDebugUtils.currentLine=58589184; + //BA.debugLineNum = 58589184;BA.debugLine="Public Sub Initialize"; +RDebugUtils.currentLine=58589185; + //BA.debugLineNum = 58589185;BA.debugLine="formats.Initialize"; +__ref._formats /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=58589186; + //BA.debugLineNum = 58589186;BA.debugLine="Dim d As B4XFormatData = CreateDefaultFormat"; +_d = __ref._createdefaultformat /*reparto_izca.keymon.lat.b4xformatter._b4xformatdata*/ (null); +RDebugUtils.currentLine=58589187; + //BA.debugLineNum = 58589187;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=58589188; + //BA.debugLineNum = 58589188;BA.debugLine="End Sub"; +return ""; +} +public String _addformatdata(reparto_izca.keymon.lat.b4xformatter __ref,reparto_izca.keymon.lat.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=58851328; + //BA.debugLineNum = 58851328;BA.debugLine="Public Sub AddFormatData (Data As B4XFormatData, R"; +RDebugUtils.currentLine=58851329; + //BA.debugLineNum = 58851329;BA.debugLine="Dim factor As Double = Power(10, -Data.MaximumFra"; +_factor = __c.Power(10,-_data.MaximumFractions /*int*/ ); +RDebugUtils.currentLine=58851330; + //BA.debugLineNum = 58851330;BA.debugLine="If IncludeEdges = False Then"; +if (_includeedges==__c.False) { +RDebugUtils.currentLine=58851331; + //BA.debugLineNum = 58851331;BA.debugLine="RangeStart = RangeStart + factor"; +_rangestart = _rangestart+_factor; +RDebugUtils.currentLine=58851332; + //BA.debugLineNum = 58851332;BA.debugLine="RangeEnd = RangeEnd - factor"; +_rangeend = _rangeend-_factor; + }; +RDebugUtils.currentLine=58851334; + //BA.debugLineNum = 58851334;BA.debugLine="RangeStart = RangeStart - factor / 2"; +_rangestart = _rangestart-_factor/(double)2; +RDebugUtils.currentLine=58851335; + //BA.debugLineNum = 58851335;BA.debugLine="RangeEnd = RangeEnd + factor / 2"; +_rangeend = _rangeend+_factor/(double)2; +RDebugUtils.currentLine=58851336; + //BA.debugLineNum = 58851336;BA.debugLine="Data.RangeStart = RangeStart"; +_data.RangeStart /*double*/ = _rangestart; +RDebugUtils.currentLine=58851337; + //BA.debugLineNum = 58851337;BA.debugLine="Data.RangeEnd = RangeEnd"; +_data.RangeEnd /*double*/ = _rangeend; +RDebugUtils.currentLine=58851338; + //BA.debugLineNum = 58851338;BA.debugLine="formats.Add(Data)"; +__ref._formats /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(_data)); +RDebugUtils.currentLine=58851339; + //BA.debugLineNum = 58851339;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(reparto_izca.keymon.lat.b4xformatter __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xformatter"; +RDebugUtils.currentLine=58523648; + //BA.debugLineNum = 58523648;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=58523649; + //BA.debugLineNum = 58523649;BA.debugLine="Type B4XFormatData (Prefix As String, Postfix As"; +; +RDebugUtils.currentLine=58523653; + //BA.debugLineNum = 58523653;BA.debugLine="Private formats As List"; +_formats = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=58523654; + //BA.debugLineNum = 58523654;BA.debugLine="Public Const MAX_VALUE = 0x7fffffff, MIN_VALUE ="; +_max_value = ((int)0x7fffffff); +_min_value = ((int)0x80000000); +RDebugUtils.currentLine=58523656; + //BA.debugLineNum = 58523656;BA.debugLine="Private xui As XUI"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=58523658; + //BA.debugLineNum = 58523658;BA.debugLine="End Sub"; +return ""; +} +public reparto_izca.keymon.lat.b4xformatter._b4xformatdata _copyformatdata(reparto_izca.keymon.lat.b4xformatter __ref,reparto_izca.keymon.lat.b4xformatter._b4xformatdata _data) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xformatter"; +if (Debug.shouldDelegate(ba, "copyformatdata", true)) + {return ((reparto_izca.keymon.lat.b4xformatter._b4xformatdata) Debug.delegate(ba, "copyformatdata", new Object[] {_data}));} +reparto_izca.keymon.lat.b4xformatter._b4xformatdata _d = null; +RDebugUtils.currentLine=58785792; + //BA.debugLineNum = 58785792;BA.debugLine="Public Sub CopyFormatData (Data As B4XFormatData)"; +RDebugUtils.currentLine=58785793; + //BA.debugLineNum = 58785793;BA.debugLine="Dim d As B4XFormatData"; +_d = new reparto_izca.keymon.lat.b4xformatter._b4xformatdata(); +RDebugUtils.currentLine=58785794; + //BA.debugLineNum = 58785794;BA.debugLine="d.Initialize"; +_d.Initialize(); +RDebugUtils.currentLine=58785795; + //BA.debugLineNum = 58785795;BA.debugLine="d.DecimalPoint = Data.DecimalPoint"; +_d.DecimalPoint /*String*/ = _data.DecimalPoint /*String*/ ; +RDebugUtils.currentLine=58785796; + //BA.debugLineNum = 58785796;BA.debugLine="If Data.FormatFont.IsInitialized Then"; +if (_data.FormatFont /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ .getIsInitialized()) { +RDebugUtils.currentLine=58785798; + //BA.debugLineNum = 58785798;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=58785801; + //BA.debugLineNum = 58785801;BA.debugLine="d.GroupingCharacter = Data.GroupingCharacter"; +_d.GroupingCharacter /*String*/ = _data.GroupingCharacter /*String*/ ; +RDebugUtils.currentLine=58785802; + //BA.debugLineNum = 58785802;BA.debugLine="d.MaximumFractions = Data.MaximumFractions"; +_d.MaximumFractions /*int*/ = _data.MaximumFractions /*int*/ ; +RDebugUtils.currentLine=58785803; + //BA.debugLineNum = 58785803;BA.debugLine="d.MinimumFractions = Data.MinimumFractions"; +_d.MinimumFractions /*int*/ = _data.MinimumFractions /*int*/ ; +RDebugUtils.currentLine=58785804; + //BA.debugLineNum = 58785804;BA.debugLine="d.MinimumIntegers = Data.MinimumIntegers"; +_d.MinimumIntegers /*int*/ = _data.MinimumIntegers /*int*/ ; +RDebugUtils.currentLine=58785805; + //BA.debugLineNum = 58785805;BA.debugLine="d.Postfix = Data.Postfix"; +_d.Postfix /*String*/ = _data.Postfix /*String*/ ; +RDebugUtils.currentLine=58785806; + //BA.debugLineNum = 58785806;BA.debugLine="d.Prefix = Data.Prefix"; +_d.Prefix /*String*/ = _data.Prefix /*String*/ ; +RDebugUtils.currentLine=58785807; + //BA.debugLineNum = 58785807;BA.debugLine="d.RangeEnd = Data.RangeEnd"; +_d.RangeEnd /*double*/ = _data.RangeEnd /*double*/ ; +RDebugUtils.currentLine=58785808; + //BA.debugLineNum = 58785808;BA.debugLine="d.RangeStart = Data.RangeStart"; +_d.RangeStart /*double*/ = _data.RangeStart /*double*/ ; +RDebugUtils.currentLine=58785809; + //BA.debugLineNum = 58785809;BA.debugLine="d.RemoveMinusSign = Data.RemoveMinusSign"; +_d.RemoveMinusSign /*boolean*/ = _data.RemoveMinusSign /*boolean*/ ; +RDebugUtils.currentLine=58785810; + //BA.debugLineNum = 58785810;BA.debugLine="d.TextColor = Data.TextColor"; +_d.TextColor /*int*/ = _data.TextColor /*int*/ ; +RDebugUtils.currentLine=58785811; + //BA.debugLineNum = 58785811;BA.debugLine="d.FractionPaddingChar = Data.FractionPaddingChar"; +_d.FractionPaddingChar /*String*/ = _data.FractionPaddingChar /*String*/ ; +RDebugUtils.currentLine=58785812; + //BA.debugLineNum = 58785812;BA.debugLine="d.IntegerPaddingChar = Data.IntegerPaddingChar"; +_d.IntegerPaddingChar /*String*/ = _data.IntegerPaddingChar /*String*/ ; +RDebugUtils.currentLine=58785813; + //BA.debugLineNum = 58785813;BA.debugLine="Return d"; +if (true) return _d; +RDebugUtils.currentLine=58785814; + //BA.debugLineNum = 58785814;BA.debugLine="End Sub"; +return null; +} +public reparto_izca.keymon.lat.b4xformatter._b4xformatdata _createdefaultformat(reparto_izca.keymon.lat.b4xformatter __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xformatter"; +if (Debug.shouldDelegate(ba, "createdefaultformat", true)) + {return ((reparto_izca.keymon.lat.b4xformatter._b4xformatdata) Debug.delegate(ba, "createdefaultformat", null));} +reparto_izca.keymon.lat.b4xformatter._b4xformatdata _d = null; +RDebugUtils.currentLine=58654720; + //BA.debugLineNum = 58654720;BA.debugLine="Private Sub CreateDefaultFormat As B4XFormatData"; +RDebugUtils.currentLine=58654721; + //BA.debugLineNum = 58654721;BA.debugLine="Dim d As B4XFormatData"; +_d = new reparto_izca.keymon.lat.b4xformatter._b4xformatdata(); +RDebugUtils.currentLine=58654722; + //BA.debugLineNum = 58654722;BA.debugLine="d.Initialize"; +_d.Initialize(); +RDebugUtils.currentLine=58654723; + //BA.debugLineNum = 58654723;BA.debugLine="d.GroupingCharacter = \",\""; +_d.GroupingCharacter /*String*/ = ","; +RDebugUtils.currentLine=58654724; + //BA.debugLineNum = 58654724;BA.debugLine="d.DecimalPoint = \".\""; +_d.DecimalPoint /*String*/ = "."; +RDebugUtils.currentLine=58654725; + //BA.debugLineNum = 58654725;BA.debugLine="d.MaximumFractions = 3"; +_d.MaximumFractions /*int*/ = (int) (3); +RDebugUtils.currentLine=58654726; + //BA.debugLineNum = 58654726;BA.debugLine="d.MinimumIntegers = 1"; +_d.MinimumIntegers /*int*/ = (int) (1); +RDebugUtils.currentLine=58654727; + //BA.debugLineNum = 58654727;BA.debugLine="d.IntegerPaddingChar = \"0\""; +_d.IntegerPaddingChar /*String*/ = "0"; +RDebugUtils.currentLine=58654728; + //BA.debugLineNum = 58654728;BA.debugLine="d.FractionPaddingChar = \"0\""; +_d.FractionPaddingChar /*String*/ = "0"; +RDebugUtils.currentLine=58654729; + //BA.debugLineNum = 58654729;BA.debugLine="Return d"; +if (true) return _d; +RDebugUtils.currentLine=58654730; + //BA.debugLineNum = 58654730;BA.debugLine="End Sub"; +return null; +} +public reparto_izca.keymon.lat.b4xformatter._b4xformatdata _getformatdata(reparto_izca.keymon.lat.b4xformatter __ref,double _number) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xformatter"; +if (Debug.shouldDelegate(ba, "getformatdata", true)) + {return ((reparto_izca.keymon.lat.b4xformatter._b4xformatdata) Debug.delegate(ba, "getformatdata", new Object[] {_number}));} +int _i = 0; +reparto_izca.keymon.lat.b4xformatter._b4xformatdata _d = null; +RDebugUtils.currentLine=58982400; + //BA.debugLineNum = 58982400;BA.debugLine="Public Sub GetFormatData (Number As Double) As B4X"; +RDebugUtils.currentLine=58982401; + //BA.debugLineNum = 58982401;BA.debugLine="For i = formats.Size - 1 To 1 Step - 1"; +{ +final int step1 = -1; +final int limit1 = (int) (1); +_i = (int) (__ref._formats /*anywheresoftware.b4a.objects.collections.List*/ .getSize()-1) ; +for (;_i >= limit1 ;_i = _i + step1 ) { +RDebugUtils.currentLine=58982402; + //BA.debugLineNum = 58982402;BA.debugLine="Dim d As B4XFormatData = formats.Get(i)"; +_d = (reparto_izca.keymon.lat.b4xformatter._b4xformatdata)(__ref._formats /*anywheresoftware.b4a.objects.collections.List*/ .Get(_i)); +RDebugUtils.currentLine=58982403; + //BA.debugLineNum = 58982403;BA.debugLine="If Number <= d.RangeEnd And Number >= d.RangeSta"; +if (_number<=_d.RangeEnd /*double*/ && _number>=_d.RangeStart /*double*/ ) { +if (true) return _d;}; + } +}; +RDebugUtils.currentLine=58982405; + //BA.debugLineNum = 58982405;BA.debugLine="Return formats.Get(0)"; +if (true) return (reparto_izca.keymon.lat.b4xformatter._b4xformatdata)(__ref._formats /*anywheresoftware.b4a.objects.collections.List*/ .Get((int) (0))); +RDebugUtils.currentLine=58982406; + //BA.debugLineNum = 58982406;BA.debugLine="End Sub"; +return null; +} +public String _formatlabel(reparto_izca.keymon.lat.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}));} +reparto_izca.keymon.lat.b4xformatter._b4xformatdata _data = null; +RDebugUtils.currentLine=59113472; + //BA.debugLineNum = 59113472;BA.debugLine="Public Sub FormatLabel (Number As Double, Label As"; +RDebugUtils.currentLine=59113473; + //BA.debugLineNum = 59113473;BA.debugLine="Label.Text = Format(Number)"; +_label.setText(BA.ObjectToCharSequence(__ref._format /*String*/ (null,_number))); +RDebugUtils.currentLine=59113474; + //BA.debugLineNum = 59113474;BA.debugLine="Dim data As B4XFormatData = GetFormatData(Number)"; +_data = __ref._getformatdata /*reparto_izca.keymon.lat.b4xformatter._b4xformatdata*/ (null,_number); +RDebugUtils.currentLine=59113475; + //BA.debugLineNum = 59113475;BA.debugLine="If data.TextColor <> 0 Then Label.TextColor = dat"; +if (_data.TextColor /*int*/ !=0) { +_label.setTextColor(_data.TextColor /*int*/ );}; +RDebugUtils.currentLine=59113476; + //BA.debugLineNum = 59113476;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=59113477; + //BA.debugLineNum = 59113477;BA.debugLine="End Sub"; +return ""; +} +public reparto_izca.keymon.lat.b4xformatter._b4xformatdata _newformatdata(reparto_izca.keymon.lat.b4xformatter __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xformatter"; +if (Debug.shouldDelegate(ba, "newformatdata", true)) + {return ((reparto_izca.keymon.lat.b4xformatter._b4xformatdata) Debug.delegate(ba, "newformatdata", null));} +RDebugUtils.currentLine=58720256; + //BA.debugLineNum = 58720256;BA.debugLine="Public Sub NewFormatData As B4XFormatData"; +RDebugUtils.currentLine=58720257; + //BA.debugLineNum = 58720257;BA.debugLine="Return CopyFormatData(GetDefaultFormat)"; +if (true) return __ref._copyformatdata /*reparto_izca.keymon.lat.b4xformatter._b4xformatdata*/ (null,__ref._getdefaultformat /*reparto_izca.keymon.lat.b4xformatter._b4xformatdata*/ (null)); +RDebugUtils.currentLine=58720258; + //BA.debugLineNum = 58720258;BA.debugLine="End Sub"; +return null; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/b4ximageview.java b/B4A/Objects/src/reparto_izca/keymon/lat/b4ximageview.java new file mode 100644 index 0000000..598449f --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/b4ximageview.java @@ -0,0 +1,473 @@ +package reparto_izca.keymon.lat; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.B4AClass; +import anywheresoftware.b4a.BALayout; +import anywheresoftware.b4a.debug.*; + +public class b4ximageview 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, "reparto_izca.keymon.lat.b4ximageview"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", reparto_izca.keymon.lat.b4ximageview.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 String _meventname = ""; +public Object _mcallback = null; +public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; +public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; +public Object _tag = null; +public anywheresoftware.b4a.objects.B4XViewWrapper _iv = null; +public String _mresizemode = ""; +public boolean _mround = false; +public anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _mbitmap = null; +public int _mbackgroundcolor = 0; +public int _mcornersradius = 0; +public b4a.example.dateutils _dateutils = null; +public reparto_izca.keymon.lat.main _main = null; +public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; +public reparto_izca.keymon.lat.foto _foto = null; +public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_izca.keymon.lat.starter _starter = null; +public reparto_izca.keymon.lat.tracker _tracker = null; +public reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public String _base_resize(reparto_izca.keymon.lat.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=49610752; + //BA.debugLineNum = 49610752;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; +RDebugUtils.currentLine=49610753; + //BA.debugLineNum = 49610753;BA.debugLine="Update"; +__ref._update /*String*/ (null); +RDebugUtils.currentLine=49610754; + //BA.debugLineNum = 49610754;BA.debugLine="End Sub"; +return ""; +} +public String _update(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=50069504; + //BA.debugLineNum = 50069504;BA.debugLine="Public Sub Update"; +RDebugUtils.currentLine=50069505; + //BA.debugLineNum = 50069505;BA.debugLine="If mBitmap.IsInitialized = False Then Return"; +if (__ref._mbitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .IsInitialized()==__c.False) { +if (true) return "";}; +RDebugUtils.currentLine=50069506; + //BA.debugLineNum = 50069506;BA.debugLine="UpdateClip"; +__ref._updateclip /*String*/ (null); +RDebugUtils.currentLine=50069507; + //BA.debugLineNum = 50069507;BA.debugLine="Dim ImageViewWidth, ImageViewHeight As Float"; +_imageviewwidth = 0f; +_imageviewheight = 0f; +RDebugUtils.currentLine=50069508; + //BA.debugLineNum = 50069508;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=50069509; + //BA.debugLineNum = 50069509;BA.debugLine="Select mResizeMode"; +switch (BA.switchObjectToInt(__ref._mresizemode /*String*/ ,"FILL","FIT","FILL_WIDTH","FILL_HEIGHT","FILL_NO_DISTORTIONS","NONE")) { +case 0: { +RDebugUtils.currentLine=50069511; + //BA.debugLineNum = 50069511;BA.debugLine="ImageViewWidth = mBase.Width"; +_imageviewwidth = (float) (__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=50069512; + //BA.debugLineNum = 50069512;BA.debugLine="ImageViewHeight = mBase.Height"; +_imageviewheight = (float) (__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); + break; } +case 1: { +RDebugUtils.currentLine=50069514; + //BA.debugLineNum = 50069514;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=50069515; + //BA.debugLineNum = 50069515;BA.debugLine="ImageViewWidth = mBitmap.Width * r"; +_imageviewwidth = (float) (__ref._mbitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .getWidth()*_r); +RDebugUtils.currentLine=50069516; + //BA.debugLineNum = 50069516;BA.debugLine="ImageViewHeight = mBitmap.Height * r"; +_imageviewheight = (float) (__ref._mbitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .getHeight()*_r); + break; } +case 2: { +RDebugUtils.currentLine=50069518; + //BA.debugLineNum = 50069518;BA.debugLine="ImageViewWidth = mBase.Width"; +_imageviewwidth = (float) (__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=50069519; + //BA.debugLineNum = 50069519;BA.debugLine="ImageViewHeight = ImageViewWidth / bmpRatio"; +_imageviewheight = (float) (_imageviewwidth/(double)_bmpratio); + break; } +case 3: { +RDebugUtils.currentLine=50069521; + //BA.debugLineNum = 50069521;BA.debugLine="ImageViewHeight = mBase.Height"; +_imageviewheight = (float) (__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=50069522; + //BA.debugLineNum = 50069522;BA.debugLine="ImageViewWidth = ImageViewHeight * bmpRatio"; +_imageviewwidth = (float) (_imageviewheight*_bmpratio); + break; } +case 4: { +RDebugUtils.currentLine=50069524; + //BA.debugLineNum = 50069524;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=50069525; + //BA.debugLineNum = 50069525;BA.debugLine="ImageViewWidth = mBitmap.Width * r"; +_imageviewwidth = (float) (__ref._mbitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .getWidth()*_r); +RDebugUtils.currentLine=50069526; + //BA.debugLineNum = 50069526;BA.debugLine="ImageViewHeight = mBitmap.Height * r"; +_imageviewheight = (float) (__ref._mbitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .getHeight()*_r); + break; } +case 5: { +RDebugUtils.currentLine=50069528; + //BA.debugLineNum = 50069528;BA.debugLine="ImageViewWidth = mBitmap.Width"; +_imageviewwidth = (float) (__ref._mbitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .getWidth()); +RDebugUtils.currentLine=50069529; + //BA.debugLineNum = 50069529;BA.debugLine="ImageViewHeight = mBitmap.Height"; +_imageviewheight = (float) (__ref._mbitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .getHeight()); + break; } +default: { +RDebugUtils.currentLine=50069531; + //BA.debugLineNum = 50069531;BA.debugLine="Log(\"Invalid resize mode: \" & mResizeMode)"; +__c.LogImpl("950069531","Invalid resize mode: "+__ref._mresizemode /*String*/ ,0); + break; } +} +; +RDebugUtils.currentLine=50069533; + //BA.debugLineNum = 50069533;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=50069534; + //BA.debugLineNum = 50069534;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(reparto_izca.keymon.lat.b4ximageview __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4ximageview"; +RDebugUtils.currentLine=49414144; + //BA.debugLineNum = 49414144;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=49414145; + //BA.debugLineNum = 49414145;BA.debugLine="Private mEventName As String 'ignore"; +_meventname = ""; +RDebugUtils.currentLine=49414146; + //BA.debugLineNum = 49414146;BA.debugLine="Private mCallBack As Object 'ignore"; +_mcallback = new Object(); +RDebugUtils.currentLine=49414147; + //BA.debugLineNum = 49414147;BA.debugLine="Public mBase As B4XView"; +_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=49414148; + //BA.debugLineNum = 49414148;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=49414149; + //BA.debugLineNum = 49414149;BA.debugLine="Public Tag As Object"; +_tag = new Object(); +RDebugUtils.currentLine=49414150; + //BA.debugLineNum = 49414150;BA.debugLine="Private iv As B4XView"; +_iv = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=49414151; + //BA.debugLineNum = 49414151;BA.debugLine="Private mResizeMode As String"; +_mresizemode = ""; +RDebugUtils.currentLine=49414152; + //BA.debugLineNum = 49414152;BA.debugLine="Private mRound As Boolean"; +_mround = false; +RDebugUtils.currentLine=49414153; + //BA.debugLineNum = 49414153;BA.debugLine="Private mBitmap As B4XBitmap"; +_mbitmap = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(); +RDebugUtils.currentLine=49414154; + //BA.debugLineNum = 49414154;BA.debugLine="Public mBackgroundColor As Int"; +_mbackgroundcolor = 0; +RDebugUtils.currentLine=49414155; + //BA.debugLineNum = 49414155;BA.debugLine="Private mCornersRadius As Int"; +_mcornersradius = 0; +RDebugUtils.currentLine=49414156; + //BA.debugLineNum = 49414156;BA.debugLine="End Sub"; +return ""; +} +public String _clear(reparto_izca.keymon.lat.b4ximageview __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4ximageview"; +if (Debug.shouldDelegate(ba, "clear", true)) + {return ((String) Debug.delegate(ba, "clear", null));} +RDebugUtils.currentLine=50200576; + //BA.debugLineNum = 50200576;BA.debugLine="Public Sub Clear"; +RDebugUtils.currentLine=50200577; + //BA.debugLineNum = 50200577;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=50200578; + //BA.debugLineNum = 50200578;BA.debugLine="iv.SetBitmap(Null)"; +__ref._iv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetBitmap((android.graphics.Bitmap)(__c.Null)); +RDebugUtils.currentLine=50200579; + //BA.debugLineNum = 50200579;BA.debugLine="End Sub"; +return ""; +} +public String _designercreateview(reparto_izca.keymon.lat.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=49545216; + //BA.debugLineNum = 49545216;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; +RDebugUtils.currentLine=49545217; + //BA.debugLineNum = 49545217;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=49545218; + //BA.debugLineNum = 49545218;BA.debugLine="Tag = mBase.Tag"; +__ref._tag /*Object*/ = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTag(); +RDebugUtils.currentLine=49545219; + //BA.debugLineNum = 49545219;BA.debugLine="mBase.Tag = Me"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag(this); +RDebugUtils.currentLine=49545220; + //BA.debugLineNum = 49545220;BA.debugLine="Dim iiv As ImageView"; +_iiv = new anywheresoftware.b4a.objects.ImageViewWrapper(); +RDebugUtils.currentLine=49545221; + //BA.debugLineNum = 49545221;BA.debugLine="iiv.Initialize(\"\")"; +_iiv.Initialize(ba,""); +RDebugUtils.currentLine=49545222; + //BA.debugLineNum = 49545222;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=49545223; + //BA.debugLineNum = 49545223;BA.debugLine="mRound =Props.Get(\"Round\")"; +__ref._mround /*boolean*/ = BA.ObjectToBoolean(_props.Get((Object)("Round"))); +RDebugUtils.currentLine=49545224; + //BA.debugLineNum = 49545224;BA.debugLine="mResizeMode = Props.Get(\"ResizeMode\")"; +__ref._mresizemode /*String*/ = BA.ObjectToString(_props.Get((Object)("ResizeMode"))); +RDebugUtils.currentLine=49545225; + //BA.debugLineNum = 49545225;BA.debugLine="mBackgroundColor = xui.PaintOrColorToColor(Props."; +__ref._mbackgroundcolor /*int*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .PaintOrColorToColor(_props.Get((Object)("BackgroundColor"))); +RDebugUtils.currentLine=49545226; + //BA.debugLineNum = 49545226;BA.debugLine="mCornersRadius = DipToCurrent(Props.GetDefault(\"C"; +__ref._mcornersradius /*int*/ = __c.DipToCurrent((int)(BA.ObjectToNumber(_props.GetDefault((Object)("CornersRadius"),(Object)(0))))); +RDebugUtils.currentLine=49545227; + //BA.debugLineNum = 49545227;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=49545228; + //BA.debugLineNum = 49545228;BA.debugLine="Update"; +__ref._update /*String*/ (null); +RDebugUtils.currentLine=49545229; + //BA.debugLineNum = 49545229;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _getbitmap(reparto_izca.keymon.lat.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=50331648; + //BA.debugLineNum = 50331648;BA.debugLine="Public Sub getBitmap As B4XBitmap"; +RDebugUtils.currentLine=50331649; + //BA.debugLineNum = 50331649;BA.debugLine="Return mBitmap"; +if (true) return __ref._mbitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ ; +RDebugUtils.currentLine=50331650; + //BA.debugLineNum = 50331650;BA.debugLine="End Sub"; +return null; +} +public int _getcornersradius(reparto_izca.keymon.lat.b4ximageview __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4ximageview"; +if (Debug.shouldDelegate(ba, "getcornersradius", true)) + {return ((Integer) Debug.delegate(ba, "getcornersradius", null));} +RDebugUtils.currentLine=49807360; + //BA.debugLineNum = 49807360;BA.debugLine="Public Sub getCornersRadius As Int"; +RDebugUtils.currentLine=49807361; + //BA.debugLineNum = 49807361;BA.debugLine="Return mCornersRadius"; +if (true) return __ref._mcornersradius /*int*/ ; +RDebugUtils.currentLine=49807362; + //BA.debugLineNum = 49807362;BA.debugLine="End Sub"; +return 0; +} +public String _getresizemode(reparto_izca.keymon.lat.b4ximageview __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4ximageview"; +if (Debug.shouldDelegate(ba, "getresizemode", true)) + {return ((String) Debug.delegate(ba, "getresizemode", null));} +RDebugUtils.currentLine=49938432; + //BA.debugLineNum = 49938432;BA.debugLine="Public Sub getResizeMode As String"; +RDebugUtils.currentLine=49938433; + //BA.debugLineNum = 49938433;BA.debugLine="Return mResizeMode"; +if (true) return __ref._mresizemode /*String*/ ; +RDebugUtils.currentLine=49938434; + //BA.debugLineNum = 49938434;BA.debugLine="End Sub"; +return ""; +} +public boolean _getroundedimage(reparto_izca.keymon.lat.b4ximageview __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4ximageview"; +if (Debug.shouldDelegate(ba, "getroundedimage", true)) + {return ((Boolean) Debug.delegate(ba, "getroundedimage", null));} +RDebugUtils.currentLine=49676288; + //BA.debugLineNum = 49676288;BA.debugLine="Public Sub getRoundedImage As Boolean"; +RDebugUtils.currentLine=49676289; + //BA.debugLineNum = 49676289;BA.debugLine="Return mRound"; +if (true) return __ref._mround /*boolean*/ ; +RDebugUtils.currentLine=49676290; + //BA.debugLineNum = 49676290;BA.debugLine="End Sub"; +return false; +} +public String _initialize(reparto_izca.keymon.lat.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=49479680; + //BA.debugLineNum = 49479680;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +RDebugUtils.currentLine=49479681; + //BA.debugLineNum = 49479681;BA.debugLine="mEventName = EventName"; +__ref._meventname /*String*/ = _eventname; +RDebugUtils.currentLine=49479682; + //BA.debugLineNum = 49479682;BA.debugLine="mCallBack = Callback"; +__ref._mcallback /*Object*/ = _callback; +RDebugUtils.currentLine=49479683; + //BA.debugLineNum = 49479683;BA.debugLine="End Sub"; +return ""; +} +public String _load(reparto_izca.keymon.lat.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=50135040; + //BA.debugLineNum = 50135040;BA.debugLine="Public Sub Load (Dir As String, FileName As String"; +RDebugUtils.currentLine=50135042; + //BA.debugLineNum = 50135042;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=50135046; + //BA.debugLineNum = 50135046;BA.debugLine="End Sub"; +return ""; +} +public String _setbitmap(reparto_izca.keymon.lat.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=50266112; + //BA.debugLineNum = 50266112;BA.debugLine="Public Sub setBitmap(Bmp As B4XBitmap)"; +RDebugUtils.currentLine=50266113; + //BA.debugLineNum = 50266113;BA.debugLine="mBitmap = Bmp"; +__ref._mbitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ = _bmp; +RDebugUtils.currentLine=50266114; + //BA.debugLineNum = 50266114;BA.debugLine="XUIViewsUtils.SetBitmapAndFill(iv, Bmp)"; +_xuiviewsutils._setbitmapandfill /*String*/ (ba,__ref._iv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ,_bmp); +RDebugUtils.currentLine=50266115; + //BA.debugLineNum = 50266115;BA.debugLine="Update"; +__ref._update /*String*/ (null); +RDebugUtils.currentLine=50266116; + //BA.debugLineNum = 50266116;BA.debugLine="End Sub"; +return ""; +} +public String _setcornersradius(reparto_izca.keymon.lat.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=49872896; + //BA.debugLineNum = 49872896;BA.debugLine="Public Sub setCornersRadius (i As Int)"; +RDebugUtils.currentLine=49872897; + //BA.debugLineNum = 49872897;BA.debugLine="mCornersRadius = i"; +__ref._mcornersradius /*int*/ = _i; +RDebugUtils.currentLine=49872898; + //BA.debugLineNum = 49872898;BA.debugLine="UpdateClip"; +__ref._updateclip /*String*/ (null); +RDebugUtils.currentLine=49872899; + //BA.debugLineNum = 49872899;BA.debugLine="End Sub"; +return ""; +} +public String _updateclip(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=50397184; + //BA.debugLineNum = 50397184;BA.debugLine="Private Sub UpdateClip"; +RDebugUtils.currentLine=50397185; + //BA.debugLineNum = 50397185;BA.debugLine="If mRound Then"; +if (__ref._mround /*boolean*/ ) { +RDebugUtils.currentLine=50397186; + //BA.debugLineNum = 50397186;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 { +RDebugUtils.currentLine=50397188; + //BA.debugLineNum = 50397188;BA.debugLine="mBase.SetColorAndBorder(mBackgroundColor, 0, 0,"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetColorAndBorder(__ref._mbackgroundcolor /*int*/ ,(int) (0),(int) (0),__ref._mcornersradius /*int*/ ); + }; +RDebugUtils.currentLine=50397210; + //BA.debugLineNum = 50397210;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)(__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject())); +RDebugUtils.currentLine=50397211; + //BA.debugLineNum = 50397211;BA.debugLine="jo.RunMethod(\"setClipToOutline\", Array(mRound Or"; +_jo.RunMethod("setClipToOutline",new Object[]{(Object)(__ref._mround /*boolean*/ || __ref._mcornersradius /*int*/ >0)}); +RDebugUtils.currentLine=50397213; + //BA.debugLineNum = 50397213;BA.debugLine="End Sub"; +return ""; +} +public String _setresizemode(reparto_izca.keymon.lat.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=50003968; + //BA.debugLineNum = 50003968;BA.debugLine="Public Sub setResizeMode(s As String)"; +RDebugUtils.currentLine=50003969; + //BA.debugLineNum = 50003969;BA.debugLine="If s = mResizeMode Then Return"; +if ((_s).equals(__ref._mresizemode /*String*/ )) { +if (true) return "";}; +RDebugUtils.currentLine=50003970; + //BA.debugLineNum = 50003970;BA.debugLine="mResizeMode = s"; +__ref._mresizemode /*String*/ = _s; +RDebugUtils.currentLine=50003971; + //BA.debugLineNum = 50003971;BA.debugLine="Update"; +__ref._update /*String*/ (null); +RDebugUtils.currentLine=50003972; + //BA.debugLineNum = 50003972;BA.debugLine="End Sub"; +return ""; +} +public String _setroundedimage(reparto_izca.keymon.lat.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=49741824; + //BA.debugLineNum = 49741824;BA.debugLine="Public Sub setRoundedImage (b As Boolean)"; +RDebugUtils.currentLine=49741825; + //BA.debugLineNum = 49741825;BA.debugLine="If b = mRound Then Return"; +if (_b==__ref._mround /*boolean*/ ) { +if (true) return "";}; +RDebugUtils.currentLine=49741826; + //BA.debugLineNum = 49741826;BA.debugLine="mRound = b"; +__ref._mround /*boolean*/ = _b; +RDebugUtils.currentLine=49741827; + //BA.debugLineNum = 49741827;BA.debugLine="UpdateClip"; +__ref._updateclip /*String*/ (null); +RDebugUtils.currentLine=49741828; + //BA.debugLineNum = 49741828;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/b4xinputtemplate.java b/B4A/Objects/src/reparto_izca/keymon/lat/b4xinputtemplate.java new file mode 100644 index 0000000..cc07d87 --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/b4xinputtemplate.java @@ -0,0 +1,449 @@ +package reparto_izca.keymon.lat; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.B4AClass; +import anywheresoftware.b4a.BALayout; +import anywheresoftware.b4a.debug.*; + +public class b4xinputtemplate 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, "reparto_izca.keymon.lat.b4xinputtemplate"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", reparto_izca.keymon.lat.b4xinputtemplate.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.XUI _xui = null; +public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; +public String _text = ""; +public reparto_izca.keymon.lat.b4xdialog _xdialog = null; +public String _regexpattern = ""; +public anywheresoftware.b4a.objects.B4XViewWrapper _textfield1 = null; +public anywheresoftware.b4a.objects.B4XViewWrapper _lbltitle = null; +public anywheresoftware.b4a.objects.IME _ime = null; +public boolean _mallowdecimals = false; +public int _bordercolor = 0; +public int _bordercolorinvalid = 0; +public b4a.example.dateutils _dateutils = null; +public reparto_izca.keymon.lat.main _main = null; +public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; +public reparto_izca.keymon.lat.foto _foto = null; +public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_izca.keymon.lat.starter _starter = null; +public reparto_izca.keymon.lat.tracker _tracker = null; +public reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public anywheresoftware.b4a.objects.B4XViewWrapper _getpanel(reparto_izca.keymon.lat.b4xinputtemplate __ref,reparto_izca.keymon.lat.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=51118080; + //BA.debugLineNum = 51118080;BA.debugLine="Public Sub GetPanel (Dialog As B4XDialog) As B4XVi"; +RDebugUtils.currentLine=51118081; + //BA.debugLineNum = 51118081;BA.debugLine="Return mBase"; +if (true) return __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ; +RDebugUtils.currentLine=51118082; + //BA.debugLineNum = 51118082;BA.debugLine="End Sub"; +return null; +} +public void _show(reparto_izca.keymon.lat.b4xinputtemplate __ref,reparto_izca.keymon.lat.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(reparto_izca.keymon.lat.b4xinputtemplate parent,reparto_izca.keymon.lat.b4xinputtemplate __ref,reparto_izca.keymon.lat.b4xdialog _dialog) { +this.parent = parent; +this.__ref = __ref; +this._dialog = _dialog; +this.__ref = parent; +} +reparto_izca.keymon.lat.b4xinputtemplate __ref; +reparto_izca.keymon.lat.b4xinputtemplate parent; +reparto_izca.keymon.lat.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) { + case -1: +return; + +case 0: +//C +this.state = -1; +RDebugUtils.currentLine=51183617; + //BA.debugLineNum = 51183617;BA.debugLine="xDialog = Dialog"; +__ref._xdialog /*reparto_izca.keymon.lat.b4xdialog*/ = _dialog; +RDebugUtils.currentLine=51183618; + //BA.debugLineNum = 51183618;BA.debugLine="xDialog.PutAtTop = xui.IsB4A Or xui.IsB4i"; +__ref._xdialog /*reparto_izca.keymon.lat.b4xdialog*/ ._putattop /*boolean*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4A() || __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4i(); +RDebugUtils.currentLine=51183619; + //BA.debugLineNum = 51183619;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; +; +RDebugUtils.currentLine=51183620; + //BA.debugLineNum = 51183620;BA.debugLine="TextField1.Text = Text"; +__ref._textfield1 /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setText(BA.ObjectToCharSequence(__ref._text /*String*/ )); +RDebugUtils.currentLine=51183621; + //BA.debugLineNum = 51183621;BA.debugLine="Validate(Text)"; +__ref._validate /*String*/ (null,__ref._text /*String*/ ); +RDebugUtils.currentLine=51183622; + //BA.debugLineNum = 51183622;BA.debugLine="TextField1.RequestFocus"; +__ref._textfield1 /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .RequestFocus(); +RDebugUtils.currentLine=51183624; + //BA.debugLineNum = 51183624;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)(__ref._textfield1 /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject())); +RDebugUtils.currentLine=51183625; + //BA.debugLineNum = 51183625;BA.debugLine="tf.SelectAll"; +_tf.SelectAll(); +RDebugUtils.currentLine=51183626; + //BA.debugLineNum = 51183626;BA.debugLine="IME.ShowKeyboard(TextField1)"; +__ref._ime /*anywheresoftware.b4a.objects.IME*/ .ShowKeyboard((android.view.View)(__ref._textfield1 /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject())); +RDebugUtils.currentLine=51183631; + //BA.debugLineNum = 51183631;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public String _dialogclosed(reparto_izca.keymon.lat.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=51249152; + //BA.debugLineNum = 51249152;BA.debugLine="Private Sub DialogClosed(Result As Int)"; +RDebugUtils.currentLine=51249153; + //BA.debugLineNum = 51249153;BA.debugLine="If Result = xui.DialogResponse_Positive Then"; +if (_result==__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .DialogResponse_Positive) { +RDebugUtils.currentLine=51249154; + //BA.debugLineNum = 51249154;BA.debugLine="Text = TextField1.Text"; +__ref._text /*String*/ = __ref._textfield1 /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getText(); + }; +RDebugUtils.currentLine=51249156; + //BA.debugLineNum = 51249156;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(reparto_izca.keymon.lat.b4xinputtemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xinputtemplate"; +RDebugUtils.currentLine=50462720; + //BA.debugLineNum = 50462720;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=50462721; + //BA.debugLineNum = 50462721;BA.debugLine="Private xui As XUI"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=50462722; + //BA.debugLineNum = 50462722;BA.debugLine="Public mBase As B4XView"; +_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=50462723; + //BA.debugLineNum = 50462723;BA.debugLine="Public Text As String"; +_text = ""; +RDebugUtils.currentLine=50462724; + //BA.debugLineNum = 50462724;BA.debugLine="Private xDialog As B4XDialog"; +_xdialog = new reparto_izca.keymon.lat.b4xdialog(); +RDebugUtils.currentLine=50462725; + //BA.debugLineNum = 50462725;BA.debugLine="Public RegexPattern As String"; +_regexpattern = ""; +RDebugUtils.currentLine=50462726; + //BA.debugLineNum = 50462726;BA.debugLine="Public TextField1 As B4XView"; +_textfield1 = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=50462727; + //BA.debugLineNum = 50462727;BA.debugLine="Public lblTitle As B4XView"; +_lbltitle = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=50462729; + //BA.debugLineNum = 50462729;BA.debugLine="Private IME As IME"; +_ime = new anywheresoftware.b4a.objects.IME(); +RDebugUtils.currentLine=50462731; + //BA.debugLineNum = 50462731;BA.debugLine="Private mAllowDecimals As Boolean"; +_mallowdecimals = false; +RDebugUtils.currentLine=50462732; + //BA.debugLineNum = 50462732;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=50462733; + //BA.debugLineNum = 50462733;BA.debugLine="End Sub"; +return ""; +} +public String _configurefornumbers(reparto_izca.keymon.lat.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=50659328; + //BA.debugLineNum = 50659328;BA.debugLine="Public Sub ConfigureForNumbers (AllowDecimals As B"; +RDebugUtils.currentLine=50659330; + //BA.debugLineNum = 50659330;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=50659331; + //BA.debugLineNum = 50659331;BA.debugLine="If AllowDecimals Or AllowNegative Then"; +if (_allowdecimals || _allownegative) { +RDebugUtils.currentLine=50659332; + //BA.debugLineNum = 50659332;BA.debugLine="et.InputType = et.INPUT_TYPE_DECIMAL_NUMBERS"; +_et.setInputType(_et.INPUT_TYPE_DECIMAL_NUMBERS); + }else { +RDebugUtils.currentLine=50659334; + //BA.debugLineNum = 50659334;BA.debugLine="et.InputType = et.INPUT_TYPE_NUMBERS"; +_et.setInputType(_et.INPUT_TYPE_NUMBERS); + }; +RDebugUtils.currentLine=50659347; + //BA.debugLineNum = 50659347;BA.debugLine="If AllowDecimals And AllowNegative Then"; +if (_allowdecimals && _allownegative) { +RDebugUtils.currentLine=50659348; + //BA.debugLineNum = 50659348;BA.debugLine="RegexPattern = \"^-?(0|[1-9]\\d*)?(\\.\\d+)?(?<=\\d)$"; +__ref._regexpattern /*String*/ = "^-?(0|[1-9]\\d*)?(\\.\\d+)?(?<=\\d)$"; + }else +{RDebugUtils.currentLine=50659349; + //BA.debugLineNum = 50659349;BA.debugLine="Else If AllowDecimals And AllowNegative = False T"; +if (_allowdecimals && _allownegative==__c.False) { +RDebugUtils.currentLine=50659350; + //BA.debugLineNum = 50659350;BA.debugLine="RegexPattern = \"^(0|[1-9]\\d*)?(\\.\\d+)?(?<=\\d)$\""; +__ref._regexpattern /*String*/ = "^(0|[1-9]\\d*)?(\\.\\d+)?(?<=\\d)$"; + }else +{RDebugUtils.currentLine=50659351; + //BA.debugLineNum = 50659351;BA.debugLine="Else If AllowDecimals = False And AllowNegative ="; +if (_allowdecimals==__c.False && _allownegative==__c.True) { +RDebugUtils.currentLine=50659352; + //BA.debugLineNum = 50659352;BA.debugLine="RegexPattern = \"^-?(0|[1-9]\\d*)$\""; +__ref._regexpattern /*String*/ = "^-?(0|[1-9]\\d*)$"; + }else +{RDebugUtils.currentLine=50659353; + //BA.debugLineNum = 50659353;BA.debugLine="Else If AllowDecimals = False And AllowNegative ="; +if (_allowdecimals==__c.False && _allownegative==__c.False) { +RDebugUtils.currentLine=50659354; + //BA.debugLineNum = 50659354;BA.debugLine="RegexPattern = \"^(0|[1-9]\\d*)$\""; +__ref._regexpattern /*String*/ = "^(0|[1-9]\\d*)$"; + }}}} +; +RDebugUtils.currentLine=50659356; + //BA.debugLineNum = 50659356;BA.debugLine="mAllowDecimals = AllowDecimals"; +__ref._mallowdecimals /*boolean*/ = _allowdecimals; +RDebugUtils.currentLine=50659357; + //BA.debugLineNum = 50659357;BA.debugLine="End Sub"; +return ""; +} +public String _initialize(reparto_izca.keymon.lat.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=50528256; + //BA.debugLineNum = 50528256;BA.debugLine="Public Sub Initialize"; +RDebugUtils.currentLine=50528257; + //BA.debugLineNum = 50528257;BA.debugLine="mBase = xui.CreatePanel(\"mBase\")"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,"mBase"); +RDebugUtils.currentLine=50528258; + //BA.debugLineNum = 50528258;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=50528259; + //BA.debugLineNum = 50528259;BA.debugLine="mBase.LoadLayout(\"B4XInputTemplate\")"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("B4XInputTemplate",ba); +RDebugUtils.currentLine=50528260; + //BA.debugLineNum = 50528260;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=50528262; + //BA.debugLineNum = 50528262;BA.debugLine="IME.Initialize(\"\")"; +__ref._ime /*anywheresoftware.b4a.objects.IME*/ .Initialize(""); +RDebugUtils.currentLine=50528263; + //BA.debugLineNum = 50528263;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=50528264; + //BA.debugLineNum = 50528264;BA.debugLine="jo.RunMethod(\"setImeOptions\", Array(Bit.Or(335544"; +_jo.RunMethod("setImeOptions",new Object[]{(Object)(__c.Bit.Or((int) (33554432),(int) (6)))}); +RDebugUtils.currentLine=50528266; + //BA.debugLineNum = 50528266;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=50528267; + //BA.debugLineNum = 50528267;BA.debugLine="jo.RunMethod(\"RemoveWarning\", Null)"; +_jo.RunMethod("RemoveWarning",(Object[])(__c.Null)); +RDebugUtils.currentLine=50528270; + //BA.debugLineNum = 50528270;BA.debugLine="SetBorder(BorderColor)"; +__ref._setborder /*String*/ (null,__ref._bordercolor /*int*/ ); +RDebugUtils.currentLine=50528271; + //BA.debugLineNum = 50528271;BA.debugLine="End Sub"; +return ""; +} +public String _setborder(reparto_izca.keymon.lat.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=50855936; + //BA.debugLineNum = 50855936;BA.debugLine="Private Sub SetBorder(bc As Int)"; +RDebugUtils.currentLine=50855937; + //BA.debugLineNum = 50855937;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=50855938; + //BA.debugLineNum = 50855938;BA.debugLine="End Sub"; +return ""; +} +public boolean _isvalid(reparto_izca.keymon.lat.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=50921472; + //BA.debugLineNum = 50921472;BA.debugLine="Private Sub IsValid(New As String) As Boolean"; +RDebugUtils.currentLine=50921473; + //BA.debugLineNum = 50921473;BA.debugLine="Return RegexPattern = \"\" Or Regex.IsMatch(RegexPa"; +if (true) return (__ref._regexpattern /*String*/ ).equals("") || __c.Regex.IsMatch(__ref._regexpattern /*String*/ ,_new); +RDebugUtils.currentLine=50921474; + //BA.debugLineNum = 50921474;BA.debugLine="End Sub"; +return false; +} +public String _setbordercolor(reparto_izca.keymon.lat.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=50593792; + //BA.debugLineNum = 50593792;BA.debugLine="Public Sub SetBorderColor(Valid As Int, Invalid As"; +RDebugUtils.currentLine=50593793; + //BA.debugLineNum = 50593793;BA.debugLine="BorderColor = Valid"; +__ref._bordercolor /*int*/ = _valid; +RDebugUtils.currentLine=50593794; + //BA.debugLineNum = 50593794;BA.debugLine="BorderColorInvalid = Invalid"; +__ref._bordercolorinvalid /*int*/ = _invalid; +RDebugUtils.currentLine=50593795; + //BA.debugLineNum = 50593795;BA.debugLine="SetBorder(BorderColor)"; +__ref._setborder /*String*/ (null,__ref._bordercolor /*int*/ ); +RDebugUtils.currentLine=50593796; + //BA.debugLineNum = 50593796;BA.debugLine="End Sub"; +return ""; +} +public String _validate(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=50790400; + //BA.debugLineNum = 50790400;BA.debugLine="Private Sub Validate (New As String)"; +RDebugUtils.currentLine=50790401; + //BA.debugLineNum = 50790401;BA.debugLine="Dim bc As Int = BorderColor"; +_bc = __ref._bordercolor /*int*/ ; +RDebugUtils.currentLine=50790402; + //BA.debugLineNum = 50790402;BA.debugLine="Dim enabled As Boolean = True"; +_enabled = __c.True; +RDebugUtils.currentLine=50790403; + //BA.debugLineNum = 50790403;BA.debugLine="If IsValid(New) = False Then"; +if (__ref._isvalid /*boolean*/ (null,_new)==__c.False) { +RDebugUtils.currentLine=50790404; + //BA.debugLineNum = 50790404;BA.debugLine="If New.Length > 0 Then"; +if (_new.length()>0) { +RDebugUtils.currentLine=50790405; + //BA.debugLineNum = 50790405;BA.debugLine="bc = BorderColorInvalid"; +_bc = __ref._bordercolorinvalid /*int*/ ; + }; +RDebugUtils.currentLine=50790407; + //BA.debugLineNum = 50790407;BA.debugLine="enabled = False"; +_enabled = __c.False; + }; +RDebugUtils.currentLine=50790409; + //BA.debugLineNum = 50790409;BA.debugLine="xDialog.SetButtonState(xui.DialogResponse_Positiv"; +__ref._xdialog /*reparto_izca.keymon.lat.b4xdialog*/ ._setbuttonstate /*String*/ (null,__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .DialogResponse_Positive,_enabled); +RDebugUtils.currentLine=50790410; + //BA.debugLineNum = 50790410;BA.debugLine="SetBorder(bc)"; +__ref._setborder /*String*/ (null,_bc); +RDebugUtils.currentLine=50790411; + //BA.debugLineNum = 50790411;BA.debugLine="End Sub"; +return ""; +} +public String _textfield1_action(reparto_izca.keymon.lat.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=50987008; + //BA.debugLineNum = 50987008;BA.debugLine="Private Sub TextField1_Action"; +RDebugUtils.currentLine=50987009; + //BA.debugLineNum = 50987009;BA.debugLine="TextField1_EnterPressed"; +__ref._textfield1_enterpressed /*String*/ (null); +RDebugUtils.currentLine=50987010; + //BA.debugLineNum = 50987010;BA.debugLine="End Sub"; +return ""; +} +public String _textfield1_enterpressed(reparto_izca.keymon.lat.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=51052544; + //BA.debugLineNum = 51052544;BA.debugLine="Private Sub TextField1_EnterPressed"; +RDebugUtils.currentLine=51052545; + //BA.debugLineNum = 51052545;BA.debugLine="If IsValid(TextField1.Text) Then xDialog.Close(xu"; +if (__ref._isvalid /*boolean*/ (null,__ref._textfield1 /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getText())) { +__ref._xdialog /*reparto_izca.keymon.lat.b4xdialog*/ ._close /*boolean*/ (null,__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .DialogResponse_Positive);}; +RDebugUtils.currentLine=51052546; + //BA.debugLineNum = 51052546;BA.debugLine="End Sub"; +return ""; +} +public String _textfield1_textchanged(reparto_izca.keymon.lat.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=50724864; + //BA.debugLineNum = 50724864;BA.debugLine="Private Sub TextField1_TextChanged (Old As String,"; +RDebugUtils.currentLine=50724876; + //BA.debugLineNum = 50724876;BA.debugLine="Validate (New)"; +__ref._validate /*String*/ (null,_new); +RDebugUtils.currentLine=50724877; + //BA.debugLineNum = 50724877;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/reparto_izca/keymon/lat/b4xlisttemplate.java b/B4A/Objects/src/reparto_izca/keymon/lat/b4xlisttemplate.java new file mode 100644 index 0000000..a744630 --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/b4xlisttemplate.java @@ -0,0 +1,433 @@ +package reparto_izca.keymon.lat; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.B4AClass; +import anywheresoftware.b4a.BALayout; +import anywheresoftware.b4a.debug.*; + +public class b4xlisttemplate 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, "reparto_izca.keymon.lat.b4xlisttemplate"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", reparto_izca.keymon.lat.b4xlisttemplate.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.XUI _xui = null; +public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; +public b4a.example3.customlistview _customlistview1 = null; +public anywheresoftware.b4a.objects.collections.List _options = null; +public String _selecteditem = ""; +public reparto_izca.keymon.lat.b4xdialog _xdialog = null; +public boolean _allowmultiselection = false; +public int _selectioncolor = 0; +public anywheresoftware.b4a.objects.collections.List _selecteditems = null; +public int _multiselectionminimum = 0; +public b4a.example.dateutils _dateutils = null; +public reparto_izca.keymon.lat.main _main = null; +public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; +public reparto_izca.keymon.lat.foto _foto = null; +public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_izca.keymon.lat.starter _starter = null; +public reparto_izca.keymon.lat.tracker _tracker = null; +public reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public anywheresoftware.b4a.objects.B4XViewWrapper _getpanel(reparto_izca.keymon.lat.b4xlisttemplate __ref,reparto_izca.keymon.lat.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=51511296; + //BA.debugLineNum = 51511296;BA.debugLine="Public Sub GetPanel (Dialog As B4XDialog) As B4XVi"; +RDebugUtils.currentLine=51511297; + //BA.debugLineNum = 51511297;BA.debugLine="Return mBase"; +if (true) return __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ; +RDebugUtils.currentLine=51511298; + //BA.debugLineNum = 51511298;BA.debugLine="End Sub"; +return null; +} +public void _show(reparto_izca.keymon.lat.b4xlisttemplate __ref,reparto_izca.keymon.lat.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(reparto_izca.keymon.lat.b4xlisttemplate parent,reparto_izca.keymon.lat.b4xlisttemplate __ref,reparto_izca.keymon.lat.b4xdialog _dialog) { +this.parent = parent; +this.__ref = __ref; +this._dialog = _dialog; +this.__ref = parent; +} +reparto_izca.keymon.lat.b4xlisttemplate __ref; +reparto_izca.keymon.lat.b4xlisttemplate parent; +reparto_izca.keymon.lat.b4xdialog _dialog; +Object _opt = null; +int _i = 0; +b4a.example3.customlistview._clvitem _item = null; +anywheresoftware.b4a.BA.IterableList group3; +int index3; +int groupLen3; +int step8; +int limit8; + +@Override +public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="b4xlisttemplate"; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +RDebugUtils.currentLine=51576833; + //BA.debugLineNum = 51576833;BA.debugLine="xDialog = Dialog"; +__ref._xdialog /*reparto_izca.keymon.lat.b4xdialog*/ = _dialog; +RDebugUtils.currentLine=51576834; + //BA.debugLineNum = 51576834;BA.debugLine="CustomListView1.Clear"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._clear(); +RDebugUtils.currentLine=51576835; + //BA.debugLineNum = 51576835;BA.debugLine="For Each opt As Object In Options"; +if (true) break; + +case 1: +//for +this.state = 4; +group3 = __ref._options /*anywheresoftware.b4a.objects.collections.List*/ ; +index3 = 0; +groupLen3 = group3.getSize(); +this.state = 12; +if (true) break; + +case 12: +//C +this.state = 4; +if (index3 < groupLen3) { +this.state = 3; +_opt = group3.Get(index3);} +if (true) break; + +case 13: +//C +this.state = 12; +index3++; +if (true) break; + +case 3: +//C +this.state = 13; +RDebugUtils.currentLine=51576836; + //BA.debugLineNum = 51576836;BA.debugLine="CustomListView1.AddTextItem(opt, opt)"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._addtextitem(_opt,_opt); + if (true) break; +if (true) break; +; +RDebugUtils.currentLine=51576838; + //BA.debugLineNum = 51576838;BA.debugLine="If AllowMultiSelection Then"; + +case 4: +//if +this.state = 11; +if (__ref._allowmultiselection /*boolean*/ ) { +this.state = 6; +}if (true) break; + +case 6: +//C +this.state = 7; +RDebugUtils.currentLine=51576839; + //BA.debugLineNum = 51576839;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; +; +RDebugUtils.currentLine=51576840; + //BA.debugLineNum = 51576840;BA.debugLine="For i = 0 To CustomListView1.Size - 1"; +if (true) break; + +case 7: +//for +this.state = 10; +step8 = 1; +limit8 = (int) (__ref._customlistview1 /*b4a.example3.customlistview*/ ._getsize()-1); +_i = (int) (0) ; +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)) ; +if (true) break; + +case 9: +//C +this.state = 16; +RDebugUtils.currentLine=51576841; + //BA.debugLineNum = 51576841;BA.debugLine="Dim item As CLVItem = CustomListView1.GetRawLis"; +_item = __ref._customlistview1 /*b4a.example3.customlistview*/ ._getrawlistitem(_i); +RDebugUtils.currentLine=51576842; + //BA.debugLineNum = 51576842;BA.debugLine="SelectItem (item, False)"; +__ref._selectitem /*String*/ (null,_item,parent.__c.False); + if (true) break; +if (true) break; + +case 10: +//C +this.state = 11; +; + if (true) break; + +case 11: +//C +this.state = -1; +; +RDebugUtils.currentLine=51576845; + //BA.debugLineNum = 51576845;BA.debugLine="XUIViewsUtils.AddStubToCLVIfNeeded(CustomListView"; +parent._xuiviewsutils._addstubtoclvifneeded /*String*/ (ba,__ref._customlistview1 /*b4a.example3.customlistview*/ ,__ref._customlistview1 /*b4a.example3.customlistview*/ ._defaulttextbackgroundcolor); +RDebugUtils.currentLine=51576846; + //BA.debugLineNum = 51576846;BA.debugLine="SelectedItem = \"\""; +__ref._selecteditem /*String*/ = ""; +RDebugUtils.currentLine=51576848; + //BA.debugLineNum = 51576848;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public String _dialogclosed(reparto_izca.keymon.lat.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=51773440; + //BA.debugLineNum = 51773440;BA.debugLine="Private Sub DialogClosed(Result As Int) 'ignore"; +RDebugUtils.currentLine=51773442; + //BA.debugLineNum = 51773442;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(reparto_izca.keymon.lat.b4xlisttemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xlisttemplate"; +RDebugUtils.currentLine=51314688; + //BA.debugLineNum = 51314688;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=51314689; + //BA.debugLineNum = 51314689;BA.debugLine="Private xui As XUI"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=51314690; + //BA.debugLineNum = 51314690;BA.debugLine="Public mBase As B4XView"; +_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=51314691; + //BA.debugLineNum = 51314691;BA.debugLine="Public CustomListView1 As CustomListView"; +_customlistview1 = new b4a.example3.customlistview(); +RDebugUtils.currentLine=51314692; + //BA.debugLineNum = 51314692;BA.debugLine="Public Options As List"; +_options = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=51314693; + //BA.debugLineNum = 51314693;BA.debugLine="Public SelectedItem As String"; +_selecteditem = ""; +RDebugUtils.currentLine=51314694; + //BA.debugLineNum = 51314694;BA.debugLine="Private xDialog As B4XDialog"; +_xdialog = new reparto_izca.keymon.lat.b4xdialog(); +RDebugUtils.currentLine=51314695; + //BA.debugLineNum = 51314695;BA.debugLine="Public AllowMultiSelection As Boolean"; +_allowmultiselection = false; +RDebugUtils.currentLine=51314696; + //BA.debugLineNum = 51314696;BA.debugLine="Public SelectionColor As Int = 0xAA0086FF"; +_selectioncolor = ((int)0xaa0086ff); +RDebugUtils.currentLine=51314697; + //BA.debugLineNum = 51314697;BA.debugLine="Public SelectedItems As List"; +_selecteditems = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=51314698; + //BA.debugLineNum = 51314698;BA.debugLine="Public MultiSelectionMinimum As Int = 0"; +_multiselectionminimum = (int) (0); +RDebugUtils.currentLine=51314699; + //BA.debugLineNum = 51314699;BA.debugLine="End Sub"; +return ""; +} +public String _customlistview1_itemclick(reparto_izca.keymon.lat.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=51707904; + //BA.debugLineNum = 51707904;BA.debugLine="Private Sub CustomListView1_ItemClick (Index As In"; +RDebugUtils.currentLine=51707905; + //BA.debugLineNum = 51707905;BA.debugLine="If Value = \"\" Then Return"; +if ((_value).equals((Object)(""))) { +if (true) return "";}; +RDebugUtils.currentLine=51707906; + //BA.debugLineNum = 51707906;BA.debugLine="If AllowMultiSelection Then"; +if (__ref._allowmultiselection /*boolean*/ ) { +RDebugUtils.currentLine=51707907; + //BA.debugLineNum = 51707907;BA.debugLine="Dim Item As CLVItem = CustomListView1.GetRawList"; +_item = __ref._customlistview1 /*b4a.example3.customlistview*/ ._getrawlistitem(_index); +RDebugUtils.currentLine=51707908; + //BA.debugLineNum = 51707908;BA.debugLine="SelectItem (Item, True)"; +__ref._selectitem /*String*/ (null,_item,__c.True); + }else { +RDebugUtils.currentLine=51707910; + //BA.debugLineNum = 51707910;BA.debugLine="SelectedItem = Value"; +__ref._selecteditem /*String*/ = BA.ObjectToString(_value); +RDebugUtils.currentLine=51707911; + //BA.debugLineNum = 51707911;BA.debugLine="SelectedItems.Clear"; +__ref._selecteditems /*anywheresoftware.b4a.objects.collections.List*/ .Clear(); +RDebugUtils.currentLine=51707912; + //BA.debugLineNum = 51707912;BA.debugLine="SelectedItems.Add(Value)"; +__ref._selecteditems /*anywheresoftware.b4a.objects.collections.List*/ .Add(_value); +RDebugUtils.currentLine=51707913; + //BA.debugLineNum = 51707913;BA.debugLine="xDialog.Close(xui.DialogResponse_Positive)"; +__ref._xdialog /*reparto_izca.keymon.lat.b4xdialog*/ ._close /*boolean*/ (null,__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .DialogResponse_Positive); + }; +RDebugUtils.currentLine=51707915; + //BA.debugLineNum = 51707915;BA.debugLine="End Sub"; +return ""; +} +public String _selectitem(reparto_izca.keymon.lat.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=51642368; + //BA.debugLineNum = 51642368;BA.debugLine="Private Sub SelectItem (Item As CLVItem, Toggle As"; +RDebugUtils.currentLine=51642369; + //BA.debugLineNum = 51642369;BA.debugLine="Dim index As Int = SelectedItems.IndexOf(Item.Val"; +_index = __ref._selecteditems /*anywheresoftware.b4a.objects.collections.List*/ .IndexOf(_item.Value); +RDebugUtils.currentLine=51642370; + //BA.debugLineNum = 51642370;BA.debugLine="Dim Selected As Boolean = index > -1"; +_selected = _index>-1; +RDebugUtils.currentLine=51642371; + //BA.debugLineNum = 51642371;BA.debugLine="If Toggle Then Selected = Not(Selected)"; +if (_toggle) { +_selected = __c.Not(_selected);}; +RDebugUtils.currentLine=51642372; + //BA.debugLineNum = 51642372;BA.debugLine="If Selected Then"; +if (_selected) { +RDebugUtils.currentLine=51642373; + //BA.debugLineNum = 51642373;BA.debugLine="If Not(Toggle) Then Item.Panel.Color = Selection"; +if (__c.Not(_toggle)) { +_item.Panel.setColor(__ref._selectioncolor /*int*/ );}; +RDebugUtils.currentLine=51642374; + //BA.debugLineNum = 51642374;BA.debugLine="Item.Color = CustomListView1.DefaultTextBackgrou"; +_item.Color = __ref._customlistview1 /*b4a.example3.customlistview*/ ._defaulttextbackgroundcolor; +RDebugUtils.currentLine=51642375; + //BA.debugLineNum = 51642375;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=51642377; + //BA.debugLineNum = 51642377;BA.debugLine="Item.Color = SelectionColor"; +_item.Color = __ref._selectioncolor /*int*/ ; +RDebugUtils.currentLine=51642378; + //BA.debugLineNum = 51642378;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=51642379; + //BA.debugLineNum = 51642379;BA.debugLine="If index > -1 Then SelectedItems.RemoveAt(index)"; +if (_index>-1) { +__ref._selecteditems /*anywheresoftware.b4a.objects.collections.List*/ .RemoveAt(_index);}; + }; +RDebugUtils.currentLine=51642381; + //BA.debugLineNum = 51642381;BA.debugLine="xDialog.SetButtonState(xui.DialogResponse_Positiv"; +__ref._xdialog /*reparto_izca.keymon.lat.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=51642382; + //BA.debugLineNum = 51642382;BA.debugLine="End Sub"; +return ""; +} +public String _initialize(reparto_izca.keymon.lat.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=51380224; + //BA.debugLineNum = 51380224;BA.debugLine="Public Sub Initialize"; +RDebugUtils.currentLine=51380225; + //BA.debugLineNum = 51380225;BA.debugLine="mBase = xui.CreatePanel(\"mBase\")"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,"mBase"); +RDebugUtils.currentLine=51380226; + //BA.debugLineNum = 51380226;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=51380227; + //BA.debugLineNum = 51380227;BA.debugLine="mBase.LoadLayout(\"ListTemplate\")"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("ListTemplate",ba); +RDebugUtils.currentLine=51380228; + //BA.debugLineNum = 51380228;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=51380229; + //BA.debugLineNum = 51380229;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=51380230; + //BA.debugLineNum = 51380230;BA.debugLine="CustomListView1.DefaultTextBackgroundColor = 0xFF"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._defaulttextbackgroundcolor = ((int)0xff555555); +RDebugUtils.currentLine=51380231; + //BA.debugLineNum = 51380231;BA.debugLine="CustomListView1.DefaultTextColor = xui.Color_Whit"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._defaulttextcolor = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_White; +RDebugUtils.currentLine=51380236; + //BA.debugLineNum = 51380236;BA.debugLine="Options.Initialize"; +__ref._options /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=51380237; + //BA.debugLineNum = 51380237;BA.debugLine="SelectedItems.Initialize"; +__ref._selecteditems /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=51380238; + //BA.debugLineNum = 51380238;BA.debugLine="End Sub"; +return ""; +} +public String _resize(reparto_izca.keymon.lat.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=51445760; + //BA.debugLineNum = 51445760;BA.debugLine="Public Sub Resize(Width As Int, Height As Int)"; +RDebugUtils.currentLine=51445761; + //BA.debugLineNum = 51445761;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=51445762; + //BA.debugLineNum = 51445762;BA.debugLine="CustomListView1.Base_Resize(Width, Height)"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._base_resize(_width,_height); +RDebugUtils.currentLine=51445763; + //BA.debugLineNum = 51445763;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/b4xloadingindicator.java b/B4A/Objects/src/reparto_izca/keymon/lat/b4xloadingindicator.java new file mode 100644 index 0000000..86e5aaf --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/b4xloadingindicator.java @@ -0,0 +1,585 @@ +package reparto_izca.keymon.lat; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.B4AClass; +import anywheresoftware.b4a.BALayout; +import anywheresoftware.b4a.debug.*; + +public class b4xloadingindicator 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, "reparto_izca.keymon.lat.b4xloadingindicator"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", reparto_izca.keymon.lat.b4xloadingindicator.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 String _meventname = ""; +public Object _mcallback = null; +public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; +public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; +public int _clr = 0; +public int _index = 0; +public anywheresoftware.b4a.objects.B4XCanvas _cvs = null; +public int _duration = 0; +public String _drawingsubname = ""; +public Object _tag = null; +public b4a.example.dateutils _dateutils = null; +public reparto_izca.keymon.lat.main _main = null; +public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; +public reparto_izca.keymon.lat.foto _foto = null; +public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_izca.keymon.lat.starter _starter = null; +public reparto_izca.keymon.lat.tracker _tracker = null; +public reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public String _base_resize(reparto_izca.keymon.lat.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=52035584; + //BA.debugLineNum = 52035584;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; +RDebugUtils.currentLine=52035585; + //BA.debugLineNum = 52035585;BA.debugLine="cvs.Resize(Width, Height)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Resize((float) (_width),(float) (_height)); +RDebugUtils.currentLine=52035586; + //BA.debugLineNum = 52035586;BA.debugLine="MainLoop"; +__ref._mainloop /*void*/ (null); +RDebugUtils.currentLine=52035587; + //BA.debugLineNum = 52035587;BA.debugLine="End Sub"; +return ""; +} +public void _mainloop(reparto_izca.keymon.lat.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(reparto_izca.keymon.lat.b4xloadingindicator parent,reparto_izca.keymon.lat.b4xloadingindicator __ref) { +this.parent = parent; +this.__ref = __ref; +this.__ref = parent; +} +reparto_izca.keymon.lat.b4xloadingindicator __ref; +reparto_izca.keymon.lat.b4xloadingindicator parent; +int _myindex = 0; +long _n = 0L; +float _progress = 0f; + +@Override +public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="b4xloadingindicator"; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +RDebugUtils.currentLine=52101121; + //BA.debugLineNum = 52101121;BA.debugLine="index = index + 1"; +__ref._index /*int*/ = (int) (__ref._index /*int*/ +1); +RDebugUtils.currentLine=52101122; + //BA.debugLineNum = 52101122;BA.debugLine="Dim MyIndex As Int = index"; +_myindex = __ref._index /*int*/ ; +RDebugUtils.currentLine=52101123; + //BA.debugLineNum = 52101123;BA.debugLine="Dim n As Long = DateTime.Now"; +_n = parent.__c.DateTime.getNow(); +RDebugUtils.currentLine=52101124; + //BA.debugLineNum = 52101124;BA.debugLine="Do While MyIndex = index"; +if (true) break; + +case 1: +//do while +this.state = 4; +while (_myindex==__ref._index /*int*/ ) { +this.state = 3; +if (true) break; +} +if (true) break; + +case 3: +//C +this.state = 1; +RDebugUtils.currentLine=52101125; + //BA.debugLineNum = 52101125;BA.debugLine="Dim progress As Float = (DateTime.Now - n) / dur"; +_progress = (float) ((parent.__c.DateTime.getNow()-_n)/(double)__ref._duration /*int*/ ); +RDebugUtils.currentLine=52101126; + //BA.debugLineNum = 52101126;BA.debugLine="progress = progress - Floor(progress)"; +_progress = (float) (_progress-parent.__c.Floor(_progress)); +RDebugUtils.currentLine=52101127; + //BA.debugLineNum = 52101127;BA.debugLine="cvs.ClearRect(cvs.TargetRect)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClearRect(__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect()); +RDebugUtils.currentLine=52101128; + //BA.debugLineNum = 52101128;BA.debugLine="CallSub2(Me, DrawingSubName, progress)"; +parent.__c.CallSubDebug2(ba,parent,__ref._drawingsubname /*String*/ ,(Object)(_progress)); +RDebugUtils.currentLine=52101129; + //BA.debugLineNum = 52101129;BA.debugLine="cvs.Invalidate"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Invalidate(); +RDebugUtils.currentLine=52101130; + //BA.debugLineNum = 52101130;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: +//C +this.state = 1; +; + if (true) break; + +case 4: +//C +this.state = -1; +; +RDebugUtils.currentLine=52101132; + //BA.debugLineNum = 52101132;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public String _class_globals(reparto_izca.keymon.lat.b4xloadingindicator __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xloadingindicator"; +RDebugUtils.currentLine=51838976; + //BA.debugLineNum = 51838976;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=51838977; + //BA.debugLineNum = 51838977;BA.debugLine="Private mEventName As String 'ignore"; +_meventname = ""; +RDebugUtils.currentLine=51838978; + //BA.debugLineNum = 51838978;BA.debugLine="Private mCallBack As Object 'ignore"; +_mcallback = new Object(); +RDebugUtils.currentLine=51838979; + //BA.debugLineNum = 51838979;BA.debugLine="Public mBase As B4XView 'ignore"; +_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=51838980; + //BA.debugLineNum = 51838980;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=51838981; + //BA.debugLineNum = 51838981;BA.debugLine="Private clr As Int"; +_clr = 0; +RDebugUtils.currentLine=51838982; + //BA.debugLineNum = 51838982;BA.debugLine="Private index As Int"; +_index = 0; +RDebugUtils.currentLine=51838983; + //BA.debugLineNum = 51838983;BA.debugLine="Private cvs As B4XCanvas"; +_cvs = new anywheresoftware.b4a.objects.B4XCanvas(); +RDebugUtils.currentLine=51838984; + //BA.debugLineNum = 51838984;BA.debugLine="Private duration As Int"; +_duration = 0; +RDebugUtils.currentLine=51838985; + //BA.debugLineNum = 51838985;BA.debugLine="Private DrawingSubName As String"; +_drawingsubname = ""; +RDebugUtils.currentLine=51838986; + //BA.debugLineNum = 51838986;BA.debugLine="Public Tag As Object"; +_tag = new Object(); +RDebugUtils.currentLine=51838987; + //BA.debugLineNum = 51838987;BA.debugLine="End Sub"; +return ""; +} +public String _designercreateview(reparto_izca.keymon.lat.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=51970048; + //BA.debugLineNum = 51970048;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; +RDebugUtils.currentLine=51970049; + //BA.debugLineNum = 51970049;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=51970050; + //BA.debugLineNum = 51970050;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._tag /*Object*/ = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTag(); +RDebugUtils.currentLine=51970050; + //BA.debugLineNum = 51970050;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag(this); +RDebugUtils.currentLine=51970051; + //BA.debugLineNum = 51970051;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=51970052; + //BA.debugLineNum = 51970052;BA.debugLine="Dim style As String= Props.Get(\"IndicatorStyle\")"; +_style = BA.ObjectToString(_props.Get((Object)("IndicatorStyle"))); +RDebugUtils.currentLine=51970053; + //BA.debugLineNum = 51970053;BA.debugLine="Dim duration As Int = Props.Get(\"Duration\")"; +_duration = (int)(BA.ObjectToNumber(_props.Get((Object)("Duration")))); +RDebugUtils.currentLine=51970054; + //BA.debugLineNum = 51970054;BA.debugLine="DrawingSubName = \"Draw_\" & style.Replace(\" \", \"\")"; +__ref._drawingsubname /*String*/ = "Draw_"+_style.replace(" ",""); +RDebugUtils.currentLine=51970055; + //BA.debugLineNum = 51970055;BA.debugLine="cvs.Initialize(mBase)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Initialize(__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ); +RDebugUtils.currentLine=51970056; + //BA.debugLineNum = 51970056;BA.debugLine="MainLoop"; +__ref._mainloop /*void*/ (null); +RDebugUtils.currentLine=51970057; + //BA.debugLineNum = 51970057;BA.debugLine="End Sub"; +return ""; +} +public String _draw_arc1(reparto_izca.keymon.lat.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=52625408; + //BA.debugLineNum = 52625408;BA.debugLine="Private Sub Draw_Arc1 (Progress As Float)"; +RDebugUtils.currentLine=52625409; + //BA.debugLineNum = 52625409;BA.debugLine="Dim p As B4XPath"; +_p = new anywheresoftware.b4a.objects.B4XCanvas.B4XPath(); +RDebugUtils.currentLine=52625410; + //BA.debugLineNum = 52625410;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=52625411; + //BA.debugLineNum = 52625411;BA.debugLine="If Progress < 0.5 Then"; +if (_progress<0.5) { +RDebugUtils.currentLine=52625412; + //BA.debugLineNum = 52625412;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=52625414; + //BA.debugLineNum = 52625414;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=52625416; + //BA.debugLineNum = 52625416;BA.debugLine="cvs.ClipPath(p)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClipPath(_p); +RDebugUtils.currentLine=52625417; + //BA.debugLineNum = 52625417;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=52625418; + //BA.debugLineNum = 52625418;BA.debugLine="cvs.RemoveClip"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .RemoveClip(); +RDebugUtils.currentLine=52625419; + //BA.debugLineNum = 52625419;BA.debugLine="End Sub"; +return ""; +} +public String _draw_arc2(reparto_izca.keymon.lat.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=52690944; + //BA.debugLineNum = 52690944;BA.debugLine="Private Sub Draw_Arc2 (Progress As Float)"; +RDebugUtils.currentLine=52690945; + //BA.debugLineNum = 52690945;BA.debugLine="Dim p As B4XPath"; +_p = new anywheresoftware.b4a.objects.B4XCanvas.B4XPath(); +RDebugUtils.currentLine=52690946; + //BA.debugLineNum = 52690946;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=52690947; + //BA.debugLineNum = 52690947;BA.debugLine="If Progress < 0.5 Then"; +if (_progress<0.5) { +RDebugUtils.currentLine=52690948; + //BA.debugLineNum = 52690948;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=52690950; + //BA.debugLineNum = 52690950;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=52690952; + //BA.debugLineNum = 52690952;BA.debugLine="cvs.ClipPath(p)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClipPath(_p); +RDebugUtils.currentLine=52690953; + //BA.debugLineNum = 52690953;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=52690954; + //BA.debugLineNum = 52690954;BA.debugLine="cvs.RemoveClip"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .RemoveClip(); +RDebugUtils.currentLine=52690955; + //BA.debugLineNum = 52690955;BA.debugLine="End Sub"; +return ""; +} +public String _draw_fivelines1(reparto_izca.keymon.lat.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=52559872; + //BA.debugLineNum = 52559872;BA.debugLine="Private Sub Draw_FiveLines1(Progress As Float)"; +RDebugUtils.currentLine=52559873; + //BA.debugLineNum = 52559873;BA.debugLine="Dim MinR As Int = 10dip"; +_minr = __c.DipToCurrent((int) (10)); +RDebugUtils.currentLine=52559874; + //BA.debugLineNum = 52559874;BA.debugLine="Dim MaxR As Int = cvs.TargetRect.Height / 2"; +_maxr = (int) (__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getHeight()/(double)2); +RDebugUtils.currentLine=52559875; + //BA.debugLineNum = 52559875;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=52559876; + //BA.debugLineNum = 52559876;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=52559877; + //BA.debugLineNum = 52559877;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=52559878; + //BA.debugLineNum = 52559878;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=52559880; + //BA.debugLineNum = 52559880;BA.debugLine="End Sub"; +return ""; +} +public String _draw_pacman(reparto_izca.keymon.lat.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=52756480; + //BA.debugLineNum = 52756480;BA.debugLine="Private Sub Draw_PacMan(Progress As Float)"; +RDebugUtils.currentLine=52756481; + //BA.debugLineNum = 52756481;BA.debugLine="Dim DotR As Int = 5dip"; +_dotr = __c.DipToCurrent((int) (5)); +RDebugUtils.currentLine=52756482; + //BA.debugLineNum = 52756482;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=52756483; + //BA.debugLineNum = 52756483;BA.debugLine="Dim p As B4XPath"; +_p = new anywheresoftware.b4a.objects.B4XCanvas.B4XPath(); +RDebugUtils.currentLine=52756484; + //BA.debugLineNum = 52756484;BA.debugLine="Dim angle As Int = 70 * SinD(Progress * 180)"; +_angle = (int) (70*__c.SinD(_progress*180)); +RDebugUtils.currentLine=52756485; + //BA.debugLineNum = 52756485;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=52756486; + //BA.debugLineNum = 52756486;BA.debugLine="Dim cy As Int = cvs.TargetRect.CenterY"; +_cy = (int) (__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getCenterY()); +RDebugUtils.currentLine=52756487; + //BA.debugLineNum = 52756487;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=52756488; + //BA.debugLineNum = 52756488;BA.debugLine="If angle = 0 Then"; +if (_angle==0) { +RDebugUtils.currentLine=52756489; + //BA.debugLineNum = 52756489;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=52756491; + //BA.debugLineNum = 52756491;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=52756492; + //BA.debugLineNum = 52756492;BA.debugLine="cvs.ClipPath(p)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClipPath(_p); +RDebugUtils.currentLine=52756493; + //BA.debugLineNum = 52756493;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=52756494; + //BA.debugLineNum = 52756494;BA.debugLine="cvs.RemoveClip"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .RemoveClip(); + }; +RDebugUtils.currentLine=52756497; + //BA.debugLineNum = 52756497;BA.debugLine="End Sub"; +return ""; +} +public int _setalpha(reparto_izca.keymon.lat.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=52494336; + //BA.debugLineNum = 52494336;BA.debugLine="Private Sub SetAlpha (c As Int, alpha As Int) As I"; +RDebugUtils.currentLine=52494337; + //BA.debugLineNum = 52494337;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=52494338; + //BA.debugLineNum = 52494338;BA.debugLine="End Sub"; +return 0; +} +public String _draw_singlecircle(reparto_izca.keymon.lat.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=52428800; + //BA.debugLineNum = 52428800;BA.debugLine="Private Sub Draw_SingleCircle(Progress As Float)"; +RDebugUtils.currentLine=52428801; + //BA.debugLineNum = 52428801;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=52428802; + //BA.debugLineNum = 52428802;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=52428804; + //BA.debugLineNum = 52428804;BA.debugLine="End Sub"; +return ""; +} +public String _draw_threecircles1(reparto_izca.keymon.lat.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=52297728; + //BA.debugLineNum = 52297728;BA.debugLine="Private Sub Draw_ThreeCircles1 (Progress As Float)"; +RDebugUtils.currentLine=52297729; + //BA.debugLineNum = 52297729;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=52297730; + //BA.debugLineNum = 52297730;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=52297731; + //BA.debugLineNum = 52297731;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=52297732; + //BA.debugLineNum = 52297732;BA.debugLine="Dim alpha As Int = i * 120 + Progress * 360"; +_alpha = (int) (_i*120+_progress*360); +RDebugUtils.currentLine=52297734; + //BA.debugLineNum = 52297734;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=52297736; + //BA.debugLineNum = 52297736;BA.debugLine="End Sub"; +return ""; +} +public String _draw_threecircles2(reparto_izca.keymon.lat.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=52363264; + //BA.debugLineNum = 52363264;BA.debugLine="Private Sub Draw_ThreeCircles2 (Progress As Float)"; +RDebugUtils.currentLine=52363265; + //BA.debugLineNum = 52363265;BA.debugLine="Dim MinR As Int = 5dip"; +_minr = __c.DipToCurrent((int) (5)); +RDebugUtils.currentLine=52363266; + //BA.debugLineNum = 52363266;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=52363267; + //BA.debugLineNum = 52363267;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=52363268; + //BA.debugLineNum = 52363268;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=52363269; + //BA.debugLineNum = 52363269;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=52363271; + //BA.debugLineNum = 52363271;BA.debugLine="End Sub"; +return ""; +} +public String _hide(reparto_izca.keymon.lat.b4xloadingindicator __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xloadingindicator"; +if (Debug.shouldDelegate(ba, "hide", true)) + {return ((String) Debug.delegate(ba, "hide", null));} +RDebugUtils.currentLine=52232192; + //BA.debugLineNum = 52232192;BA.debugLine="Public Sub Hide"; +RDebugUtils.currentLine=52232193; + //BA.debugLineNum = 52232193;BA.debugLine="mBase.Visible = False"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=52232194; + //BA.debugLineNum = 52232194;BA.debugLine="index = index + 1"; +__ref._index /*int*/ = (int) (__ref._index /*int*/ +1); +RDebugUtils.currentLine=52232195; + //BA.debugLineNum = 52232195;BA.debugLine="End Sub"; +return ""; +} +public String _initialize(reparto_izca.keymon.lat.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=51904512; + //BA.debugLineNum = 51904512;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +RDebugUtils.currentLine=51904513; + //BA.debugLineNum = 51904513;BA.debugLine="mEventName = EventName"; +__ref._meventname /*String*/ = _eventname; +RDebugUtils.currentLine=51904514; + //BA.debugLineNum = 51904514;BA.debugLine="mCallBack = Callback"; +__ref._mcallback /*Object*/ = _callback; +RDebugUtils.currentLine=51904515; + //BA.debugLineNum = 51904515;BA.debugLine="End Sub"; +return ""; +} +public String _show(reparto_izca.keymon.lat.b4xloadingindicator __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xloadingindicator"; +if (Debug.shouldDelegate(ba, "show", true)) + {return ((String) Debug.delegate(ba, "show", null));} +RDebugUtils.currentLine=52166656; + //BA.debugLineNum = 52166656;BA.debugLine="Public Sub Show"; +RDebugUtils.currentLine=52166657; + //BA.debugLineNum = 52166657;BA.debugLine="mBase.Visible = True"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=52166658; + //BA.debugLineNum = 52166658;BA.debugLine="MainLoop"; +__ref._mainloop /*void*/ (null); +RDebugUtils.currentLine=52166659; + //BA.debugLineNum = 52166659;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/b4xlongtexttemplate.java b/B4A/Objects/src/reparto_izca/keymon/lat/b4xlongtexttemplate.java new file mode 100644 index 0000000..a2b86a6 --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/b4xlongtexttemplate.java @@ -0,0 +1,177 @@ +package reparto_izca.keymon.lat; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.B4AClass; +import anywheresoftware.b4a.BALayout; +import anywheresoftware.b4a.debug.*; + +public class b4xlongtexttemplate 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, "reparto_izca.keymon.lat.b4xlongtexttemplate"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", reparto_izca.keymon.lat.b4xlongtexttemplate.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.XUI _xui = null; +public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; +public b4a.example3.customlistview _customlistview1 = null; +public Object _text = null; +public b4a.example.dateutils _dateutils = null; +public reparto_izca.keymon.lat.main _main = null; +public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; +public reparto_izca.keymon.lat.foto _foto = null; +public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_izca.keymon.lat.starter _starter = null; +public reparto_izca.keymon.lat.tracker _tracker = null; +public reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public anywheresoftware.b4a.objects.B4XViewWrapper _getpanel(reparto_izca.keymon.lat.b4xlongtexttemplate __ref,reparto_izca.keymon.lat.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=53018624; + //BA.debugLineNum = 53018624;BA.debugLine="Public Sub GetPanel (Dialog As B4XDialog) As B4XVi"; +RDebugUtils.currentLine=53018625; + //BA.debugLineNum = 53018625;BA.debugLine="Return mBase"; +if (true) return __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ; +RDebugUtils.currentLine=53018626; + //BA.debugLineNum = 53018626;BA.debugLine="End Sub"; +return null; +} +public String _show(reparto_izca.keymon.lat.b4xlongtexttemplate __ref,reparto_izca.keymon.lat.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=53084160; + //BA.debugLineNum = 53084160;BA.debugLine="Private Sub Show (Dialog As B4XDialog) 'ignore"; +RDebugUtils.currentLine=53084161; + //BA.debugLineNum = 53084161;BA.debugLine="CustomListView1.Clear"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._clear(); +RDebugUtils.currentLine=53084162; + //BA.debugLineNum = 53084162;BA.debugLine="CustomListView1.AddTextItem(Text, \"\")"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._addtextitem(__ref._text /*Object*/ ,(Object)("")); +RDebugUtils.currentLine=53084163; + //BA.debugLineNum = 53084163;BA.debugLine="CustomListView1.GetPanel(0).GetView(0).SetTextAli"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._getpanel((int) (0)).GetView((int) (0)).SetTextAlignment("TOP","LEFT"); +RDebugUtils.currentLine=53084164; + //BA.debugLineNum = 53084164;BA.debugLine="XUIViewsUtils.AddStubToCLVIfNeeded(CustomListView"; +_xuiviewsutils._addstubtoclvifneeded /*String*/ (ba,__ref._customlistview1 /*b4a.example3.customlistview*/ ,__ref._customlistview1 /*b4a.example3.customlistview*/ ._defaulttextbackgroundcolor); +RDebugUtils.currentLine=53084165; + //BA.debugLineNum = 53084165;BA.debugLine="End Sub"; +return ""; +} +public String _dialogclosed(reparto_izca.keymon.lat.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=53149696; + //BA.debugLineNum = 53149696;BA.debugLine="Private Sub DialogClosed(Result As Int) 'ignore"; +RDebugUtils.currentLine=53149698; + //BA.debugLineNum = 53149698;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(reparto_izca.keymon.lat.b4xlongtexttemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xlongtexttemplate"; +RDebugUtils.currentLine=52822016; + //BA.debugLineNum = 52822016;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=52822017; + //BA.debugLineNum = 52822017;BA.debugLine="Private xui As XUI"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=52822018; + //BA.debugLineNum = 52822018;BA.debugLine="Public mBase As B4XView"; +_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=52822019; + //BA.debugLineNum = 52822019;BA.debugLine="Public CustomListView1 As CustomListView"; +_customlistview1 = new b4a.example3.customlistview(); +RDebugUtils.currentLine=52822020; + //BA.debugLineNum = 52822020;BA.debugLine="Public Text As Object"; +_text = new Object(); +RDebugUtils.currentLine=52822021; + //BA.debugLineNum = 52822021;BA.debugLine="End Sub"; +return ""; +} +public String _initialize(reparto_izca.keymon.lat.b4xlongtexttemplate __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="b4xlongtexttemplate"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=52887552; + //BA.debugLineNum = 52887552;BA.debugLine="Public Sub Initialize"; +RDebugUtils.currentLine=52887553; + //BA.debugLineNum = 52887553;BA.debugLine="mBase = xui.CreatePanel(\"mBase\")"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,"mBase"); +RDebugUtils.currentLine=52887554; + //BA.debugLineNum = 52887554;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=52887555; + //BA.debugLineNum = 52887555;BA.debugLine="mBase.LoadLayout(\"LongTextTemplate\")"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("LongTextTemplate",ba); +RDebugUtils.currentLine=52887556; + //BA.debugLineNum = 52887556;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=52887557; + //BA.debugLineNum = 52887557;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=52887558; + //BA.debugLineNum = 52887558;BA.debugLine="CustomListView1.DefaultTextBackgroundColor = 0xFF"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._defaulttextbackgroundcolor = ((int)0xff555555); +RDebugUtils.currentLine=52887559; + //BA.debugLineNum = 52887559;BA.debugLine="CustomListView1.DefaultTextColor = xui.Color_Whit"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._defaulttextcolor = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_White; +RDebugUtils.currentLine=52887560; + //BA.debugLineNum = 52887560;BA.debugLine="CustomListView1.sv.Color = 0xFF464646"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._sv.setColor(((int)0xff464646)); +RDebugUtils.currentLine=52887565; + //BA.debugLineNum = 52887565;BA.debugLine="End Sub"; +return ""; +} +public String _resize(reparto_izca.keymon.lat.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=52953088; + //BA.debugLineNum = 52953088;BA.debugLine="Public Sub Resize(Width As Int, Height As Int)"; +RDebugUtils.currentLine=52953089; + //BA.debugLineNum = 52953089;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=52953090; + //BA.debugLineNum = 52953090;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=52953091; + //BA.debugLineNum = 52953091;BA.debugLine="CustomListView1.Base_Resize(Width, Height)"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._base_resize(_width,_height); +RDebugUtils.currentLine=52953092; + //BA.debugLineNum = 52953092;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/b4xmainpage.java b/B4A/Objects/src/reparto_izca/keymon/lat/b4xmainpage.java new file mode 100644 index 0000000..d9dafa8 --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/b4xmainpage.java @@ -0,0 +1,2752 @@ +package reparto_izca.keymon.lat; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.B4AClass; +import anywheresoftware.b4a.BALayout; +import anywheresoftware.b4a.debug.*; + +public class b4xmainpage 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, "reparto_izca.keymon.lat.b4xmainpage"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", reparto_izca.keymon.lat.b4xmainpage.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.RuntimePermissions _rp = null; +public anywheresoftware.b4a.objects.B4XViewWrapper _root = null; +public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; +public reparto_izca.keymon.lat.b4xmainpage _login = null; +public reparto_izca.keymon.lat.c_principal _principal = null; +public reparto_izca.keymon.lat.c_clientes _clientes = null; +public reparto_izca.keymon.lat.c_cliente _cliente = null; +public reparto_izca.keymon.lat.c_productos _productos = null; +public reparto_izca.keymon.lat.c_updateavailable _updateavailable = null; +public reparto_izca.keymon.lat.c_mapas _mapas = null; +public reparto_izca.keymon.lat.c_nuevocliente _nuevocliente = null; +public reparto_izca.keymon.lat.c_ticketsdia _ticketsdia = null; +public reparto_izca.keymon.lat.c_noventa _noventa = null; +public reparto_izca.keymon.lat.c_pedidos _pedidos = null; +public reparto_izca.keymon.lat.c_buscar _buscar = null; +public reparto_izca.keymon.lat.c_detalleventa _detalleventa = null; +public reparto_izca.keymon.lat.c_detalle_promo _detalle_promo = null; +public reparto_izca.keymon.lat.dbrequestmanager _reqmanager = null; +public String _usuario = ""; +public boolean _logger = false; +public String _lat_gps = ""; +public String _lon_gps = ""; +public String _server = ""; +public String _montoactual = ""; +public String _clientestotal = ""; +public String _clientesventa = ""; +public String _clientesrechazo = ""; +public String _clientesvisitados = ""; +public String _almacen = ""; +public String _rutapreventa = ""; +public String _cantidadprod = ""; +public String _ultimaactualizaciongps = ""; +public String _fecharuta = ""; +public String _srvip = ""; +public anywheresoftware.b4a.phone.Phone _phn = null; +public anywheresoftware.b4a.objects.EditTextWrapper _user = null; +public anywheresoftware.b4a.objects.EditTextWrapper _pass = null; +public anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; +public String _existe = ""; +public String _paso1 = ""; +public anywheresoftware.b4a.objects.LabelWrapper _imen = null; +public String _imei = ""; +public anywheresoftware.b4a.objects.LabelWrapper _label1 = null; +public anywheresoftware.b4a.objects.PanelWrapper _p_principal = null; +public anywheresoftware.b4a.objects.ButtonWrapper _entrar = null; +public reparto_izca.keymon.lat.c_cheklist _checklist = null; +public reparto_izca.keymon.lat.c_tabulador _tabulador = null; +public int _batt = 0; +public String _porvisitar = ""; +public String _entregas = ""; +public String _rechazos = ""; +public String _montoentregado = ""; +public String _montorechazado = ""; +public String _visitadostotales = ""; +public anywheresoftware.b4a.objects.PanelWrapper _p_appupdate = null; +public anywheresoftware.b4a.objects.ImageViewWrapper _i_engrane = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_server = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_apk = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_enviobd = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_regesar = null; +public anywheresoftware.b4a.objects.EditTextWrapper _et_server = null; +public anywheresoftware.b4a.objects.PanelWrapper _p_serverlist = null; +public anywheresoftware.b4a.objects.ListViewWrapper _lv_server = null; +public reparto_izca.keymon.lat.fileprovider _provider = null; +public String _rutabdbackup = ""; +public anywheresoftware.b4a.objects.ButtonWrapper _b_can_monto = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_aceptar_monto = null; +public anywheresoftware.b4a.objects.EditTextWrapper _et_add_monto = null; +public anywheresoftware.b4a.objects.PanelWrapper _p_add_monto = null; +public String _sdate = ""; +public String _stime = ""; +public anywheresoftware.b4a.objects.PanelWrapper _p_validacion = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_cancelarcodigo = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_aceptar = null; +public anywheresoftware.b4a.objects.EditTextWrapper _et_codigo = null; +public anywheresoftware.b4a.objects.PanelWrapper _p_ciego = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_terpc = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_pc_env = null; +public b4a.example3.customlistview _clv_pick_ciego = null; +public anywheresoftware.b4a.objects.EditTextWrapper _et_buspc = null; +public String _q_buscar = ""; +public anywheresoftware.b4a.sql.SQL.CursorWrapper _d = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_pick_ciego = null; +public anywheresoftware.b4a.objects.EditTextWrapper _et_pick_ciego = null; +public anywheresoftware.b4a.sql.SQL.CursorWrapper _a = null; +public anywheresoftware.b4a.sql.SQL.CursorWrapper _f = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_abono = null; +public String _monto_entregadoactual = ""; +public b4a.example.dateutils _dateutils = null; +public reparto_izca.keymon.lat.main _main = null; +public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; +public reparto_izca.keymon.lat.foto _foto = null; +public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_izca.keymon.lat.starter _starter = null; +public reparto_izca.keymon.lat.tracker _tracker = null; +public reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public String _muestraprogreso(reparto_izca.keymon.lat.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=2097152; + //BA.debugLineNum = 2097152;BA.debugLine="Sub muestraProgreso(mensaje As String)"; +RDebugUtils.currentLine=2097153; + //BA.debugLineNum = 2097153;BA.debugLine="ProgressDialogShow(mensaje)"; +__c.ProgressDialogShow(ba,BA.ObjectToCharSequence(_mensaje)); +RDebugUtils.currentLine=2097154; + //BA.debugLineNum = 2097154;BA.debugLine="End Sub"; +return ""; +} +public String _ocultaprogreso(reparto_izca.keymon.lat.b4xmainpage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "ocultaprogreso", false)) + {return ((String) Debug.delegate(ba, "ocultaprogreso", null));} +RDebugUtils.currentLine=2162688; + //BA.debugLineNum = 2162688;BA.debugLine="Sub ocultaProgreso"; +RDebugUtils.currentLine=2162689; + //BA.debugLineNum = 2162689;BA.debugLine="ProgressDialogHide"; +__c.ProgressDialogHide(); +RDebugUtils.currentLine=2162690; + //BA.debugLineNum = 2162690;BA.debugLine="End Sub"; +return ""; +} +public String _b_aceptar_click(reparto_izca.keymon.lat.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));} +RDebugUtils.currentLine=2818048; + //BA.debugLineNum = 2818048;BA.debugLine="Private Sub b_aceptar_Click"; +RDebugUtils.currentLine=2818049; + //BA.debugLineNum = 2818049;BA.debugLine="Private f As Cursor=Starter.skmt.ExecQuery(\"selec"; +_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 RUTAA from RUTAA"))); +RDebugUtils.currentLine=2818050; + //BA.debugLineNum = 2818050;BA.debugLine="f.Position=0"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=2818051; + //BA.debugLineNum = 2818051;BA.debugLine="Private a As Cursor =Starter.skmt.ExecQuery(\"sele"; +_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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select ID_ALMACEN from CAT_ALMACEN"))); +RDebugUtils.currentLine=2818052; + //BA.debugLineNum = 2818052;BA.debugLine="a.Position = 0"; +__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=2818058; + //BA.debugLineNum = 2818058;BA.debugLine="f.Close"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=2818059; + //BA.debugLineNum = 2818059;BA.debugLine="a.Close"; +__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=2818064; + //BA.debugLineNum = 2818064;BA.debugLine="End Sub"; +return ""; +} +public String _b_apk_click(reparto_izca.keymon.lat.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=1835008; + //BA.debugLineNum = 1835008;BA.debugLine="Private Sub b_apk_Click"; +RDebugUtils.currentLine=1835009; + //BA.debugLineNum = 1835009;BA.debugLine="StartService(appUpdater)"; +__c.StartService(ba,(Object)(_appupdater.getObject())); +RDebugUtils.currentLine=1835010; + //BA.debugLineNum = 1835010;BA.debugLine="End Sub"; +return ""; +} +public String _b_arqueocieego_click(reparto_izca.keymon.lat.b4xmainpage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "b_arqueocieego_click", false)) + {return ((String) Debug.delegate(ba, "b_arqueocieego_click", null));} +RDebugUtils.currentLine=2490368; + //BA.debugLineNum = 2490368;BA.debugLine="Private Sub b_arqueocieego_Click"; +RDebugUtils.currentLine=2490369; + //BA.debugLineNum = 2490369;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT * FROM CAT_GU"; +__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 CAT_GUNAPROD3"))); +RDebugUtils.currentLine=2490370; + //BA.debugLineNum = 2490370;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=2490371; + //BA.debugLineNum = 2490371;BA.debugLine="Subs.panelVisible(p_validacion,0,0)"; +_subs._panelvisible /*String*/ (ba,__ref._p_validacion /*anywheresoftware.b4a.objects.PanelWrapper*/ ,(int) (0),(int) (0)); + }else { +RDebugUtils.currentLine=2490373; + //BA.debugLineNum = 2490373;BA.debugLine="MsgboxAsync(\"No hay ruta cargada, favor de carga"; +__c.MsgboxAsync(BA.ObjectToCharSequence("No hay ruta cargada, favor de cargar día"),BA.ObjectToCharSequence("Atención"),ba); + }; +RDebugUtils.currentLine=2490375; + //BA.debugLineNum = 2490375;BA.debugLine="End Sub"; +return ""; +} +public String _b_can_monto_click(reparto_izca.keymon.lat.b4xmainpage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "b_can_monto_click", false)) + {return ((String) Debug.delegate(ba, "b_can_monto_click", null));} +RDebugUtils.currentLine=2424832; + //BA.debugLineNum = 2424832;BA.debugLine="Private Sub B_Can_Monto_Click"; +RDebugUtils.currentLine=2424833; + //BA.debugLineNum = 2424833;BA.debugLine="p_add_monto.Visible = False"; +__ref._p_add_monto /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=2424834; + //BA.debugLineNum = 2424834;BA.debugLine="End Sub"; +return ""; +} +public String _b_cancelarcodigo_click(reparto_izca.keymon.lat.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=2949120; + //BA.debugLineNum = 2949120;BA.debugLine="Private Sub b_cancelarcodigo_Click"; +RDebugUtils.currentLine=2949121; + //BA.debugLineNum = 2949121;BA.debugLine="p_validacion.Visible = False"; +__ref._p_validacion /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=2949122; + //BA.debugLineNum = 2949122;BA.debugLine="End Sub"; +return ""; +} +public String _b_cargarmonto_click(reparto_izca.keymon.lat.b4xmainpage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "b_cargarmonto_click", false)) + {return ((String) Debug.delegate(ba, "b_cargarmonto_click", null));} +RDebugUtils.currentLine=2228224; + //BA.debugLineNum = 2228224;BA.debugLine="Private Sub b_CargarMonto_Click"; +RDebugUtils.currentLine=2228226; + //BA.debugLineNum = 2228226;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT * FROM kmt_in"; +__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 kmt_info"))); +RDebugUtils.currentLine=2228227; + //BA.debugLineNum = 2228227;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=2228228; + //BA.debugLineNum = 2228228;BA.debugLine="If c.RowCount < 0 Or c.RowCount = 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()<0 || __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()==0) { +RDebugUtils.currentLine=2228229; + //BA.debugLineNum = 2228229;BA.debugLine="MsgboxAsync(\"No hay ruta cargada, favor de carga"; +__c.MsgboxAsync(BA.ObjectToCharSequence("No hay ruta cargada, favor de cargar día"),BA.ObjectToCharSequence("Atención"),ba); + }else { +RDebugUtils.currentLine=2228231; + //BA.debugLineNum = 2228231;BA.debugLine="Subs.panelVisible(p_add_monto,0,0)"; +_subs._panelvisible /*String*/ (ba,__ref._p_add_monto /*anywheresoftware.b4a.objects.PanelWrapper*/ ,(int) (0),(int) (0)); + }; +RDebugUtils.currentLine=2228233; + //BA.debugLineNum = 2228233;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=2228235; + //BA.debugLineNum = 2228235;BA.debugLine="End Sub"; +return ""; +} +public void _b_enviobd_click(reparto_izca.keymon.lat.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(reparto_izca.keymon.lat.b4xmainpage parent,reparto_izca.keymon.lat.b4xmainpage __ref) { +this.parent = parent; +this.__ref = __ref; +this.__ref = parent; +} +reparto_izca.keymon.lat.b4xmainpage __ref; +reparto_izca.keymon.lat.b4xmainpage parent; +String _filename = ""; +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="b4xmainpage"; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = -1; +RDebugUtils.currentLine=1769475; + //BA.debugLineNum = 1769475;BA.debugLine="Dim FileName As String = \"kmt.db\""; +_filename = "kmt.db"; +RDebugUtils.currentLine=1769477; + //BA.debugLineNum = 1769477;BA.debugLine="Log(\"xxxxxx:\"&Provider.SharedFolder)"; +parent.__c.LogImpl("81769477","xxxxxx:"+__ref._provider /*reparto_izca.keymon.lat.fileprovider*/ ._sharedfolder /*String*/ ,0); +RDebugUtils.currentLine=1769478; + //BA.debugLineNum = 1769478;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; +; +RDebugUtils.currentLine=1769479; + //BA.debugLineNum = 1769479;BA.debugLine="File.Copy(File.DirInternal, FileName, Provider.Sh"; +parent.__c.File.Copy(parent.__c.File.getDirInternal(),_filename,__ref._provider /*reparto_izca.keymon.lat.fileprovider*/ ._sharedfolder /*String*/ ,_filename); +RDebugUtils.currentLine=1769480; + //BA.debugLineNum = 1769480;BA.debugLine="Dim email As Email"; +_email = new anywheresoftware.b4a.phone.Phone.Email(); +RDebugUtils.currentLine=1769481; + //BA.debugLineNum = 1769481;BA.debugLine="email.To.Add(\"soporte@keymonsoft.com\")"; +_email.To.Add((Object)("soporte@keymonsoft.com")); +RDebugUtils.currentLine=1769482; + //BA.debugLineNum = 1769482;BA.debugLine="email.Subject = \"Base de datos para revisión\""; +_email.Subject = "Base de datos para revisión"; +RDebugUtils.currentLine=1769483; + //BA.debugLineNum = 1769483;BA.debugLine="email.Attachments.Add(Provider.GetFileUri(FileNam"; +_email.Attachments.Add(__ref._provider /*reparto_izca.keymon.lat.fileprovider*/ ._getfileuri /*Object*/ (null,_filename)); +RDebugUtils.currentLine=1769485; + //BA.debugLineNum = 1769485;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=1769486; + //BA.debugLineNum = 1769486;BA.debugLine="in.Flags = 1 'FLAG_GRANT_READ_URI_PERMISSION"; +_in.setFlags((int) (1)); +RDebugUtils.currentLine=1769487; + //BA.debugLineNum = 1769487;BA.debugLine="StartActivity(in)"; +parent.__c.StartActivity(ba,(Object)(_in.getObject())); +RDebugUtils.currentLine=1769488; + //BA.debugLineNum = 1769488;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public String _b_pc_env_click(reparto_izca.keymon.lat.b4xmainpage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "b_pc_env_click", false)) + {return ((String) Debug.delegate(ba, "b_pc_env_click", null));} +int _i = 0; +anywheresoftware.b4a.objects.B4XViewWrapper _itempanel = null; +anywheresoftware.b4a.objects.B4XViewWrapper _innerpanel = null; +anywheresoftware.b4a.objects.B4XViewWrapper _edittext = null; +String _inputtext = ""; +anywheresoftware.b4a.objects.B4XViewWrapper _idlabel = null; +String _idtext = ""; +String[] _idparts = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _k = null; +String[] _fechatabulador = null; +String[] _fechatabulador2 = null; +String _fechatabulador3 = ""; +RDebugUtils.currentLine=2621440; + //BA.debugLineNum = 2621440;BA.debugLine="Private Sub B_PC_ENV_Click"; +RDebugUtils.currentLine=2621441; + //BA.debugLineNum = 2621441;BA.debugLine="Dim sDate, sTime As String"; +_sdate = ""; +_stime = ""; +RDebugUtils.currentLine=2621442; + //BA.debugLineNum = 2621442;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; +__c.DateTime.setDateFormat("dd/MM/yyyy"); +RDebugUtils.currentLine=2621443; + //BA.debugLineNum = 2621443;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; +__c.DateTime.setTimeFormat("HH:mm:ss"); +RDebugUtils.currentLine=2621444; + //BA.debugLineNum = 2621444;BA.debugLine="sDate = DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=2621445; + //BA.debugLineNum = 2621445;BA.debugLine="sTime = DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=2621448; + //BA.debugLineNum = 2621448;BA.debugLine="For i = 0 To CLV_PICK_CIEGO.Size - 1"; +{ +final int step6 = 1; +final int limit6 = (int) (__ref._clv_pick_ciego /*b4a.example3.customlistview*/ ._getsize()-1); +_i = (int) (0) ; +for (;_i <= limit6 ;_i = _i + step6 ) { +RDebugUtils.currentLine=2621450; + //BA.debugLineNum = 2621450;BA.debugLine="Dim itemPanel As B4XView = CLV_PICK_CIEGO.GetPan"; +_itempanel = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_itempanel = __ref._clv_pick_ciego /*b4a.example3.customlistview*/ ._getpanel(_i); +RDebugUtils.currentLine=2621451; + //BA.debugLineNum = 2621451;BA.debugLine="Dim innerPanel As B4XView = itemPanel.GetView(0)"; +_innerpanel = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_innerpanel = _itempanel.GetView((int) (0)); +RDebugUtils.currentLine=2621452; + //BA.debugLineNum = 2621452;BA.debugLine="Dim editText As B4XView = innerPanel.GetView(1)"; +_edittext = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_edittext = _innerpanel.GetView((int) (1)); +RDebugUtils.currentLine=2621453; + //BA.debugLineNum = 2621453;BA.debugLine="Dim inputText As String = editText.As(EditText)."; +_inputtext = ((anywheresoftware.b4a.objects.EditTextWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.EditTextWrapper(), (android.widget.EditText)(_edittext.getObject()))).getText(); +RDebugUtils.currentLine=2621456; + //BA.debugLineNum = 2621456;BA.debugLine="If Regex.IsMatch(\"^[0]+$\", inputText) Or inputTe"; +if (__c.Regex.IsMatch("^[0]+$",_inputtext) || (_inputtext).equals("")) { +RDebugUtils.currentLine=2621457; + //BA.debugLineNum = 2621457;BA.debugLine="inputText = \"0\""; +_inputtext = "0"; + }; +RDebugUtils.currentLine=2621461; + //BA.debugLineNum = 2621461;BA.debugLine="Dim idLabel As B4XView = innerPanel.GetView(0)"; +_idlabel = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_idlabel = _innerpanel.GetView((int) (0)); +RDebugUtils.currentLine=2621462; + //BA.debugLineNum = 2621462;BA.debugLine="Dim idText As String = idLabel.As(Label).Text"; +_idtext = ((anywheresoftware.b4a.objects.LabelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.LabelWrapper(), (android.widget.TextView)(_idlabel.getObject()))).getText(); +RDebugUtils.currentLine=2621463; + //BA.debugLineNum = 2621463;BA.debugLine="Dim idParts() As String = Regex.Split(CRLF, idTe"; +_idparts = __c.Regex.Split(__c.CRLF,_idtext); +RDebugUtils.currentLine=2621465; + //BA.debugLineNum = 2621465;BA.debugLine="f=Starter.skmt.ExecQuery(\"select RUTAA from RUTA"; +__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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select RUTAA from RUTAA"))); +RDebugUtils.currentLine=2621466; + //BA.debugLineNum = 2621466;BA.debugLine="f.Position=0"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=2621467; + //BA.debugLineNum = 2621467;BA.debugLine="Log(f.GetString(\"RUTAA\"))"; +__c.LogImpl("82621467",__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("RUTAA"),0); +RDebugUtils.currentLine=2621468; + //BA.debugLineNum = 2621468;BA.debugLine="a=Starter.skmt.ExecQuery(\"select ID_ALMACEN from"; +__ref._a /*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=2621469; + //BA.debugLineNum = 2621469;BA.debugLine="If a.RowCount>0 Then"; +if (__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=2621470; + //BA.debugLineNum = 2621470;BA.debugLine="a.Position=0"; +__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); + }; +RDebugUtils.currentLine=2621472; + //BA.debugLineNum = 2621472;BA.debugLine="Dim k As Cursor = Starter.skmt.ExecQuery(\"SELECT"; +_k = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_k = (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 HVD_FECHA FROM HIST_VENTAS"))); +RDebugUtils.currentLine=2621473; + //BA.debugLineNum = 2621473;BA.debugLine="k.Position = 0"; +_k.setPosition((int) (0)); +RDebugUtils.currentLine=2621474; + //BA.debugLineNum = 2621474;BA.debugLine="Dim fechatabulador() As String = Regex.Split(\" \""; +_fechatabulador = __c.Regex.Split(" ",_k.GetString("HVD_FECHA")); +RDebugUtils.currentLine=2621475; + //BA.debugLineNum = 2621475;BA.debugLine="Dim fechatabulador2() As String = Regex.Split(\"-"; +_fechatabulador2 = __c.Regex.Split("-",_fechatabulador[(int) (0)]); +RDebugUtils.currentLine=2621476; + //BA.debugLineNum = 2621476;BA.debugLine="Dim fechatabulador3 As String = fechatabulador2("; +_fechatabulador3 = _fechatabulador2[(int) (2)]+"/"+_fechatabulador2[(int) (1)]+"/"+_fechatabulador2[(int) (0)]; +RDebugUtils.currentLine=2621477; + //BA.debugLineNum = 2621477;BA.debugLine="k.Close"; +_k.Close(); +RDebugUtils.currentLine=2621478; + //BA.debugLineNum = 2621478;BA.debugLine="If inputText <> \"\" Then"; +if ((_inputtext).equals("") == false) { +RDebugUtils.currentLine=2621479; + //BA.debugLineNum = 2621479;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM PICK"; +__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*/ .ExecQuery2("SELECT * FROM PICK_CIEGO where PC_ID_PROD = ?",new String[]{_idparts[(int) (0)]}))); +RDebugUtils.currentLine=2621480; + //BA.debugLineNum = 2621480;BA.debugLine="If c.RowCount = 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()==0) { +RDebugUtils.currentLine=2621482; + //BA.debugLineNum = 2621482;BA.debugLine="Log(f.GetString(\"RUTAA\"))"; +__c.LogImpl("82621482",__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("RUTAA"),0); +RDebugUtils.currentLine=2621483; + //BA.debugLineNum = 2621483;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PICK_C"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PICK_CIEGO(PC_ID_PROD, PC_NOM_PROD, PC_CANT, PC_ALMACEN, PC_RUTA, PC_FECHA) VALUES(?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_idparts[(int) (0)],_idparts[(int) (1)],_inputtext,__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("ID_ALMACEN"),__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("RUTAA"),_fechatabulador3+" "+__ref._stime /*String*/ })); + }else { +RDebugUtils.currentLine=2621486; + //BA.debugLineNum = 2621486;BA.debugLine="Log(f.GetString(\"RUTAA\"))"; +__c.LogImpl("82621486",__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("RUTAA"),0); +RDebugUtils.currentLine=2621487; + //BA.debugLineNum = 2621487;BA.debugLine="Starter.skmt.ExecNonQuery2(\"Update PICK_CIEGO"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("Update PICK_CIEGO set PC_CANT = ? WHERE PC_ID_PROD = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_inputtext,_idparts[(int) (0)]})); + }; + }; +RDebugUtils.currentLine=2621491; + //BA.debugLineNum = 2621491;BA.debugLine="f.Close"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=2621492; + //BA.debugLineNum = 2621492;BA.debugLine="a.Close"; +__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=2621493; + //BA.debugLineNum = 2621493;BA.debugLine="Log(\"Processed item \" & i)"; +__c.LogImpl("82621493","Processed item "+BA.NumberToString(_i),0); + } +}; +RDebugUtils.currentLine=2621495; + //BA.debugLineNum = 2621495;BA.debugLine="et_buspc.Text = \"\""; +__ref._et_buspc /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=2621496; + //BA.debugLineNum = 2621496;BA.debugLine="CLV_PICK_CIEGO.Clear"; +__ref._clv_pick_ciego /*b4a.example3.customlistview*/ ._clear(); +RDebugUtils.currentLine=2621497; + //BA.debugLineNum = 2621497;BA.debugLine="End Sub"; +return ""; +} +public String _b_regesar_click(reparto_izca.keymon.lat.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=1703936; + //BA.debugLineNum = 1703936;BA.debugLine="Private Sub b_regesar_Click"; +RDebugUtils.currentLine=1703937; + //BA.debugLineNum = 1703937;BA.debugLine="p_principal.Visible = True"; +__ref._p_principal /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=1703938; + //BA.debugLineNum = 1703938;BA.debugLine="p_appUpdate.Visible = False"; +__ref._p_appupdate /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=1703939; + //BA.debugLineNum = 1703939;BA.debugLine="End Sub"; +return ""; +} +public String _b_server_click(reparto_izca.keymon.lat.b4xmainpage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "b_server_click", false)) + {return ((String) Debug.delegate(ba, "b_server_click", null));} +RDebugUtils.currentLine=1900544; + //BA.debugLineNum = 1900544;BA.debugLine="Private Sub b_server_Click"; +RDebugUtils.currentLine=1900545; + //BA.debugLineNum = 1900545;BA.debugLine="Log(\"Guardar servidor\")"; +__c.LogImpl("81900545","Guardar servidor",0); +RDebugUtils.currentLine=1900546; + //BA.debugLineNum = 1900546;BA.debugLine="Starter.skmt.ExecNonQuery2(\"delete from CAT_VARIA"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("SERVER")})); +RDebugUtils.currentLine=1900547; + //BA.debugLineNum = 1900547;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_VARIA"; +_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)("SERVER"),(Object)(__ref._et_server /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())})); +RDebugUtils.currentLine=1900548; + //BA.debugLineNum = 1900548;BA.debugLine="B4XPages.MainPage.server = et_server.text"; +_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ = __ref._et_server /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText(); +RDebugUtils.currentLine=1900549; + //BA.debugLineNum = 1900549;BA.debugLine="Starter.server = B4XPages.MainPage.server"; +_starter._server /*String*/ = _b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ; +RDebugUtils.currentLine=1900550; + //BA.debugLineNum = 1900550;BA.debugLine="If logger Then Log(\"Inicializamos reqManager con"; +if (__ref._logger /*boolean*/ ) { +__c.LogImpl("81900550","Inicializamos reqManager con "+_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ,0);}; +RDebugUtils.currentLine=1900551; + //BA.debugLineNum = 1900551;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.serve"; +__ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._initialize /*String*/ (null,ba,this,_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ); +RDebugUtils.currentLine=1900552; + //BA.debugLineNum = 1900552;BA.debugLine="LogColor($\"ReqServer = ${B4XPages.MainPage.server"; +__c.LogImpl("81900552",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ))+""),__c.Colors.Red); +RDebugUtils.currentLine=1900553; + //BA.debugLineNum = 1900553;BA.debugLine="reinicializaReqManager"; +__ref._reinicializareqmanager /*String*/ (null); +RDebugUtils.currentLine=1900554; + //BA.debugLineNum = 1900554;BA.debugLine="p_appUpdate.Visible = False"; +__ref._p_appupdate /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=1900556; + //BA.debugLineNum = 1900556;BA.debugLine="End Sub"; +return ""; +} +public String _reinicializareqmanager(reparto_izca.keymon.lat.b4xmainpage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "reinicializareqmanager", false)) + {return ((String) Debug.delegate(ba, "reinicializareqmanager", null));} +RDebugUtils.currentLine=2031616; + //BA.debugLineNum = 2031616;BA.debugLine="Sub reinicializaReqManager"; +RDebugUtils.currentLine=2031617; + //BA.debugLineNum = 2031617;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.serve"; +__ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._initialize /*String*/ (null,ba,this,_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ); +RDebugUtils.currentLine=2031618; + //BA.debugLineNum = 2031618;BA.debugLine="If logger Then Log(B4XPages.MainPage.server)"; +if (__ref._logger /*boolean*/ ) { +__c.LogImpl("82031618",_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ,0);}; +RDebugUtils.currentLine=2031619; + //BA.debugLineNum = 2031619;BA.debugLine="LogColor($\"ReqServer = ${B4XPages.MainPage.server"; +__c.LogImpl("82031619",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ))+""),__c.Colors.Red); +RDebugUtils.currentLine=2031620; + //BA.debugLineNum = 2031620;BA.debugLine="End Sub"; +return ""; +} +public void _b_terpc_click(reparto_izca.keymon.lat.b4xmainpage __ref) throws Exception{ +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "b_terpc_click", false)) + {Debug.delegate(ba, "b_terpc_click", null); return;} +ResumableSub_b_terpc_Click rsub = new ResumableSub_b_terpc_Click(this,__ref); +rsub.resume(ba, null); +} +public static class ResumableSub_b_terpc_Click extends BA.ResumableSub { +public ResumableSub_b_terpc_Click(reparto_izca.keymon.lat.b4xmainpage parent,reparto_izca.keymon.lat.b4xmainpage __ref) { +this.parent = parent; +this.__ref = __ref; +this.__ref = parent; +} +reparto_izca.keymon.lat.b4xmainpage __ref; +reparto_izca.keymon.lat.b4xmainpage parent; +int _resultado = 0; +int _i = 0; +anywheresoftware.b4a.objects.B4XViewWrapper _itempanel = null; +anywheresoftware.b4a.objects.B4XViewWrapper _innerpanel = null; +anywheresoftware.b4a.objects.B4XViewWrapper _edittext = null; +String _inputtext = ""; +anywheresoftware.b4a.objects.B4XViewWrapper _idlabel = null; +String _idtext = ""; +String[] _idparts = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _k = null; +String[] _fechatabulador = null; +String[] _fechatabulador2 = null; +String _fechatabulador3 = ""; +int step12; +int limit12; + +@Override +public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="b4xmainpage"; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +RDebugUtils.currentLine=2686977; + //BA.debugLineNum = 2686977;BA.debugLine="Msgbox2Async(\"Una vez enviada la información no p"; +parent.__c.Msgbox2Async(BA.ObjectToCharSequence("Una vez enviada la información no podras hacer modificaciones"),BA.ObjectToCharSequence("Atención"),"SI","","",parent.__c.LoadBitmap(parent.__c.File.getDirAssets(),"alert2.png"),ba,parent.__c.False); +RDebugUtils.currentLine=2686978; + //BA.debugLineNum = 2686978;BA.debugLine="Wait For Msgbox_Result (resultado As Int)"; +parent.__c.WaitFor("msgbox_result", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "b4xmainpage", "b_terpc_click"), null); +this.state = 33; +return; +case 33: +//C +this.state = 1; +_resultado = (Integer) result[1]; +; +RDebugUtils.currentLine=2686979; + //BA.debugLineNum = 2686979;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; +if (true) break; + +case 1: +//if +this.state = 32; +if (_resultado==parent.__c.DialogResponse.POSITIVE) { +this.state = 3; +}if (true) break; + +case 3: +//C +this.state = 4; +RDebugUtils.currentLine=2686980; + //BA.debugLineNum = 2686980;BA.debugLine="Msgbox2Async(\"Estas seguro de enviar la informac"; +parent.__c.Msgbox2Async(BA.ObjectToCharSequence("Estas seguro de enviar la información?"),BA.ObjectToCharSequence("Atención"),"SI","","NO",parent.__c.LoadBitmap(parent.__c.File.getDirAssets(),"alert2.png"),ba,parent.__c.False); +RDebugUtils.currentLine=2686981; + //BA.debugLineNum = 2686981;BA.debugLine="Wait For Msgbox_Result (resultado As Int)"; +parent.__c.WaitFor("msgbox_result", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "b4xmainpage", "b_terpc_click"), null); +this.state = 34; +return; +case 34: +//C +this.state = 4; +_resultado = (Integer) result[1]; +; +RDebugUtils.currentLine=2686982; + //BA.debugLineNum = 2686982;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; +if (true) break; + +case 4: +//if +this.state = 31; +if (_resultado==parent.__c.DialogResponse.POSITIVE) { +this.state = 6; +}else { +this.state = 30; +}if (true) break; + +case 6: +//C +this.state = 7; +RDebugUtils.currentLine=2686984; + //BA.debugLineNum = 2686984;BA.debugLine="Dim sDate, sTime As String"; +parent._sdate = ""; +parent._stime = ""; +RDebugUtils.currentLine=2686985; + //BA.debugLineNum = 2686985;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; +parent.__c.DateTime.setDateFormat("dd/MM/yyyy"); +RDebugUtils.currentLine=2686986; + //BA.debugLineNum = 2686986;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; +parent.__c.DateTime.setTimeFormat("HH:mm:ss"); +RDebugUtils.currentLine=2686987; + //BA.debugLineNum = 2686987;BA.debugLine="sDate = DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = parent.__c.DateTime.Date(parent.__c.DateTime.getNow()); +RDebugUtils.currentLine=2686988; + //BA.debugLineNum = 2686988;BA.debugLine="sTime = DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = parent.__c.DateTime.Time(parent.__c.DateTime.getNow()); +RDebugUtils.currentLine=2686990; + //BA.debugLineNum = 2686990;BA.debugLine="For i = 0 To CLV_PICK_CIEGO.Size - 1"; +if (true) break; + +case 7: +//for +this.state = 28; +step12 = 1; +limit12 = (int) (__ref._clv_pick_ciego /*b4a.example3.customlistview*/ ._getsize()-1); +_i = (int) (0) ; +this.state = 35; +if (true) break; + +case 35: +//C +this.state = 28; +if ((step12 > 0 && _i <= limit12) || (step12 < 0 && _i >= limit12)) this.state = 9; +if (true) break; + +case 36: +//C +this.state = 35; +_i = ((int)(0 + _i + step12)) ; +if (true) break; + +case 9: +//C +this.state = 10; +RDebugUtils.currentLine=2686992; + //BA.debugLineNum = 2686992;BA.debugLine="Dim itemPanel As B4XView = CLV_PICK_CIEGO.GetP"; +_itempanel = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_itempanel = __ref._clv_pick_ciego /*b4a.example3.customlistview*/ ._getpanel(_i); +RDebugUtils.currentLine=2686993; + //BA.debugLineNum = 2686993;BA.debugLine="Dim innerPanel As B4XView = itemPanel.GetView("; +_innerpanel = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_innerpanel = _itempanel.GetView((int) (0)); +RDebugUtils.currentLine=2686994; + //BA.debugLineNum = 2686994;BA.debugLine="Dim editText As B4XView = innerPanel.GetView(1"; +_edittext = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_edittext = _innerpanel.GetView((int) (1)); +RDebugUtils.currentLine=2686995; + //BA.debugLineNum = 2686995;BA.debugLine="Dim inputText As String = editText.As(EditText"; +_inputtext = ((anywheresoftware.b4a.objects.EditTextWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.EditTextWrapper(), (android.widget.EditText)(_edittext.getObject()))).getText(); +RDebugUtils.currentLine=2686998; + //BA.debugLineNum = 2686998;BA.debugLine="If Regex.IsMatch(\"^[0]+$\", inputText) Or input"; +if (true) break; + +case 10: +//if +this.state = 13; +if (parent.__c.Regex.IsMatch("^[0]+$",_inputtext) || (_inputtext).equals("")) { +this.state = 12; +}if (true) break; + +case 12: +//C +this.state = 13; +RDebugUtils.currentLine=2686999; + //BA.debugLineNum = 2686999;BA.debugLine="inputText = \"0\""; +_inputtext = "0"; + if (true) break; + +case 13: +//C +this.state = 14; +; +RDebugUtils.currentLine=2687003; + //BA.debugLineNum = 2687003;BA.debugLine="Dim idLabel As B4XView = innerPanel.GetView(0)"; +_idlabel = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_idlabel = _innerpanel.GetView((int) (0)); +RDebugUtils.currentLine=2687004; + //BA.debugLineNum = 2687004;BA.debugLine="Dim idText As String = idLabel.As(Label).Text"; +_idtext = ((anywheresoftware.b4a.objects.LabelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.LabelWrapper(), (android.widget.TextView)(_idlabel.getObject()))).getText(); +RDebugUtils.currentLine=2687005; + //BA.debugLineNum = 2687005;BA.debugLine="Dim idParts() As String = Regex.Split(CRLF, id"; +_idparts = parent.__c.Regex.Split(parent.__c.CRLF,_idtext); +RDebugUtils.currentLine=2687007; + //BA.debugLineNum = 2687007;BA.debugLine="f=Starter.skmt.ExecQuery(\"select RUTAA from RU"; +__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)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select RUTAA from RUTAA"))); +RDebugUtils.currentLine=2687008; + //BA.debugLineNum = 2687008;BA.debugLine="f.Position=0"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=2687009; + //BA.debugLineNum = 2687009;BA.debugLine="Log(f.GetString(\"RUTAA\"))"; +parent.__c.LogImpl("82687009",__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("RUTAA"),0); +RDebugUtils.currentLine=2687011; + //BA.debugLineNum = 2687011;BA.debugLine="a=Starter.skmt.ExecQuery(\"select ID_ALMACEN fr"; +__ref._a /*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 ID_ALMACEN from CAT_ALMACEN"))); +RDebugUtils.currentLine=2687012; + //BA.debugLineNum = 2687012;BA.debugLine="If a.RowCount>0 Then"; +if (true) break; + +case 14: +//if +this.state = 17; +if (__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +this.state = 16; +}if (true) break; + +case 16: +//C +this.state = 17; +RDebugUtils.currentLine=2687013; + //BA.debugLineNum = 2687013;BA.debugLine="a.Position=0"; +__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); + if (true) break; + +case 17: +//C +this.state = 18; +; +RDebugUtils.currentLine=2687015; + //BA.debugLineNum = 2687015;BA.debugLine="Log(a.GetString(\"ID_ALMACEN\"))"; +parent.__c.LogImpl("82687015",__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("ID_ALMACEN"),0); +RDebugUtils.currentLine=2687017; + //BA.debugLineNum = 2687017;BA.debugLine="Dim k As Cursor = Starter.skmt.ExecQuery(\"SELE"; +_k = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_k = (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 HVD_FECHA FROM HIST_VENTAS"))); +RDebugUtils.currentLine=2687018; + //BA.debugLineNum = 2687018;BA.debugLine="k.Position = 0"; +_k.setPosition((int) (0)); +RDebugUtils.currentLine=2687019; + //BA.debugLineNum = 2687019;BA.debugLine="Dim fechatabulador() As String = Regex.Split(\""; +_fechatabulador = parent.__c.Regex.Split(" ",_k.GetString("HVD_FECHA")); +RDebugUtils.currentLine=2687020; + //BA.debugLineNum = 2687020;BA.debugLine="Dim fechatabulador2() As String = Regex.Split("; +_fechatabulador2 = parent.__c.Regex.Split("-",_fechatabulador[(int) (0)]); +RDebugUtils.currentLine=2687021; + //BA.debugLineNum = 2687021;BA.debugLine="Dim fechatabulador3 As String = fechatabulador"; +_fechatabulador3 = _fechatabulador2[(int) (2)]+"/"+_fechatabulador2[(int) (1)]+"/"+_fechatabulador2[(int) (0)]; +RDebugUtils.currentLine=2687022; + //BA.debugLineNum = 2687022;BA.debugLine="k.Close"; +_k.Close(); +RDebugUtils.currentLine=2687023; + //BA.debugLineNum = 2687023;BA.debugLine="If inputText <> \"\" Then"; +if (true) break; + +case 18: +//if +this.state = 27; +if ((_inputtext).equals("") == false) { +this.state = 20; +}if (true) break; + +case 20: +//C +this.state = 21; +RDebugUtils.currentLine=2687024; + //BA.debugLineNum = 2687024;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM PI"; +__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*/ .ExecQuery2("SELECT * FROM PICK_CIEGO where PC_ID_PROD = ?",new String[]{_idparts[(int) (0)]}))); +RDebugUtils.currentLine=2687025; + //BA.debugLineNum = 2687025;BA.debugLine="If c.RowCount = 0 Then"; +if (true) break; + +case 21: +//if +this.state = 26; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()==0) { +this.state = 23; +}else { +this.state = 25; +}if (true) break; + +case 23: +//C +this.state = 26; +RDebugUtils.currentLine=2687027; + //BA.debugLineNum = 2687027;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PICK"; +parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PICK_CIEGO(PC_ID_PROD, PC_NOM_PROD, PC_CANT, PC_ALMACEN, PC_RUTA, PC_FECHA) VALUES(?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_idparts[(int) (0)],_idparts[(int) (1)],_inputtext,__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("ID_ALMACEN"),__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("RUTAA"),_fechatabulador3+" "+__ref._stime /*String*/ })); + if (true) break; + +case 25: +//C +this.state = 26; +RDebugUtils.currentLine=2687029; + //BA.debugLineNum = 2687029;BA.debugLine="Starter.skmt.ExecNonQuery2(\"Update PICK_CIEG"; +parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("Update PICK_CIEGO set PC_CANT = ? WHERE PC_ID_PROD = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_inputtext,_idparts[(int) (0)]})); + if (true) break; + +case 26: +//C +this.state = 27; +; + if (true) break; + +case 27: +//C +this.state = 36; +; +RDebugUtils.currentLine=2687032; + //BA.debugLineNum = 2687032;BA.debugLine="f.Close"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=2687033; + //BA.debugLineNum = 2687033;BA.debugLine="a.Close"; +__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=2687034; + //BA.debugLineNum = 2687034;BA.debugLine="Log(\"Processed item \" & i)"; +parent.__c.LogImpl("82687034","Processed item "+BA.NumberToString(_i),0); + if (true) break; +if (true) break; + +case 28: +//C +this.state = 31; +; +RDebugUtils.currentLine=2687036; + //BA.debugLineNum = 2687036;BA.debugLine="Log(\"Finished processing all items\")"; +parent.__c.LogImpl("82687036","Finished processing all items",0); +RDebugUtils.currentLine=2687037; + //BA.debugLineNum = 2687037;BA.debugLine="P_CIEGO.Visible = False"; +__ref._p_ciego /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=2687038; + //BA.debugLineNum = 2687038;BA.debugLine="et_buspc.Text = \"\""; +__ref._et_buspc /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=2687039; + //BA.debugLineNum = 2687039;BA.debugLine="CLV_PICK_CIEGO.Clear"; +__ref._clv_pick_ciego /*b4a.example3.customlistview*/ ._clear(); +RDebugUtils.currentLine=2687040; + //BA.debugLineNum = 2687040;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT PC_ID_PROD,"; +__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 PC_ID_PROD, PC_ALMACEN, PC_RUTA, PC_FECHA FROM PICK_CIEGO"))); +RDebugUtils.currentLine=2687051; + //BA.debugLineNum = 2687051;BA.debugLine="c.close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + if (true) break; + +case 30: +//C +this.state = 31; + if (true) break; + +case 31: +//C +this.state = 32; +; + if (true) break; + +case 32: +//C +this.state = -1; +; +RDebugUtils.currentLine=2687056; + //BA.debugLineNum = 2687056;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public void _b4xpage_appear(reparto_izca.keymon.lat.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(reparto_izca.keymon.lat.b4xmainpage parent,reparto_izca.keymon.lat.b4xmainpage __ref) { +this.parent = parent; +this.__ref = __ref; +this.__ref = parent; +} +reparto_izca.keymon.lat.b4xmainpage __ref; +reparto_izca.keymon.lat.b4xmainpage parent; +String _permission = ""; +boolean _result = false; + +@Override +public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="b4xmainpage"; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +RDebugUtils.currentLine=1376257; + //BA.debugLineNum = 1376257;BA.debugLine="If Starter.muestraProgreso = 1 Then"; +if (true) break; + +case 1: +//if +this.state = 4; +if ((parent._starter._muestraprogreso /*String*/ ).equals(BA.NumberToString(1))) { +this.state = 3; +}if (true) break; + +case 3: +//C +this.state = 4; +RDebugUtils.currentLine=1376258; + //BA.debugLineNum = 1376258;BA.debugLine="muestraProgreso(\"Descargando actualización\")"; +__ref._muestraprogreso /*String*/ (null,"Descargando actualización"); +RDebugUtils.currentLine=1376259; + //BA.debugLineNum = 1376259;BA.debugLine="Starter.muestraProgreso = 0"; +parent._starter._muestraprogreso /*String*/ = BA.NumberToString(0); + if (true) break; + +case 4: +//C +this.state = 5; +; +RDebugUtils.currentLine=1376261; + //BA.debugLineNum = 1376261;BA.debugLine="Subs.centraPanel(p_principal, Root.Width)"; +parent._subs._centrapanel /*String*/ (ba,__ref._p_principal /*anywheresoftware.b4a.objects.PanelWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=1376262; + //BA.debugLineNum = 1376262;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); +RDebugUtils.currentLine=1376264; + //BA.debugLineNum = 1376264;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 = 21; +return; +case 21: +//C +this.state = 5; +_permission = (String) result[1]; +_result = (Boolean) result[2]; +; +RDebugUtils.currentLine=1376265; + //BA.debugLineNum = 1376265;BA.debugLine="If Result Then"; +if (true) break; + +case 5: +//if +this.state = 16; +if (_result) { +this.state = 7; +}else { +this.state = 15; +}if (true) break; + +case 7: +//C +this.state = 8; +RDebugUtils.currentLine=1376266; + //BA.debugLineNum = 1376266;BA.debugLine="If Not(Tracker.Tracking) Then StartService(Track"; +if (true) break; + +case 8: +//if +this.state = 13; +if (parent.__c.Not(parent._tracker._tracking /*boolean*/ )) { +this.state = 10; +;}if (true) break; + +case 10: +//C +this.state = 13; +parent.__c.StartService(ba,(Object)(parent._tracker.getObject())); +if (true) break; + +case 13: +//C +this.state = 16; +; + if (true) break; + +case 15: +//C +this.state = 16; +RDebugUtils.currentLine=1376269; + //BA.debugLineNum = 1376269;BA.debugLine="ToastMessageShow(\"No permission\", True)"; +parent.__c.ToastMessageShow(BA.ObjectToCharSequence("No permission"),parent.__c.True); +RDebugUtils.currentLine=1376270; + //BA.debugLineNum = 1376270;BA.debugLine="Log(\"Sin permisos\")"; +parent.__c.LogImpl("81376270","Sin permisos",0); + if (true) break; + +case 16: +//C +this.state = 17; +; +RDebugUtils.currentLine=1376273; + //BA.debugLineNum = 1376273;BA.debugLine="c=Starter.skmt.ExecQuery(\"select USUARIO from 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)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); +RDebugUtils.currentLine=1376274; + //BA.debugLineNum = 1376274;BA.debugLine="If c.RowCount > 0 Then"; +if (true) break; + +case 17: +//if +this.state = 20; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +this.state = 19; +}if (true) break; + +case 19: +//C +this.state = 20; +RDebugUtils.currentLine=1376277; + //BA.debugLineNum = 1376277;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=1376278; + //BA.debugLineNum = 1376278;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); + if (true) break; + +case 20: +//C +this.state = -1; +; +RDebugUtils.currentLine=1376280; + //BA.debugLineNum = 1376280;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=1376292; + //BA.debugLineNum = 1376292;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _b4xpage_closerequest(reparto_izca.keymon.lat.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(reparto_izca.keymon.lat.b4xmainpage parent,reparto_izca.keymon.lat.b4xmainpage __ref) { +this.parent = parent; +this.__ref = __ref; +this.__ref = parent; +} +reparto_izca.keymon.lat.b4xmainpage __ref; +reparto_izca.keymon.lat.b4xmainpage parent; + +@Override +public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="b4xmainpage"; + + while (true) { + switch (state) { + case -1: +{ +parent.__c.ReturnFromResumableSub(this,null);return;} +case 0: +//C +this.state = 1; +RDebugUtils.currentLine=1638402; + //BA.debugLineNum = 1638402;BA.debugLine="If p_appUpdate.Visible Then"; +if (true) break; + +case 1: +//if +this.state = 6; +if (__ref._p_appupdate /*anywheresoftware.b4a.objects.PanelWrapper*/ .getVisible()) { +this.state = 3; +}else { +this.state = 5; +}if (true) break; + +case 3: +//C +this.state = 6; +RDebugUtils.currentLine=1638403; + //BA.debugLineNum = 1638403;BA.debugLine="p_appUpdate.Visible = False"; +__ref._p_appupdate /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.False); + if (true) break; + +case 5: +//C +this.state = 6; +RDebugUtils.currentLine=1638405; + //BA.debugLineNum = 1638405;BA.debugLine="Sleep(0)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "b4xmainpage", "b4xpage_closerequest"),(int) (0)); +this.state = 7; +return; +case 7: +//C +this.state = 6; +; +RDebugUtils.currentLine=1638406; + //BA.debugLineNum = 1638406;BA.debugLine="ExitApplication"; +parent.__c.ExitApplication(); + if (true) break; + +case 6: +//C +this.state = -1; +; +RDebugUtils.currentLine=1638408; + //BA.debugLineNum = 1638408;BA.debugLine="Return False"; +if (true) { +parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; +RDebugUtils.currentLine=1638409; + //BA.debugLineNum = 1638409;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public String _b4xpage_created(reparto_izca.keymon.lat.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=1310720; + //BA.debugLineNum = 1310720;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +RDebugUtils.currentLine=1310721; + //BA.debugLineNum = 1310721;BA.debugLine="Root = Root1"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _root1; +RDebugUtils.currentLine=1310722; + //BA.debugLineNum = 1310722;BA.debugLine="B4XPages.GetManager.LogEvents = True"; +_b4xpages._getmanager /*reparto_izca.keymon.lat.b4xpagesmanager*/ (ba)._logevents /*boolean*/ = __c.True; +RDebugUtils.currentLine=1310723; + //BA.debugLineNum = 1310723;BA.debugLine="Root.LoadLayout(\"login\")"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("login",ba); +RDebugUtils.currentLine=1310724; + //BA.debugLineNum = 1310724;BA.debugLine="B4XPages.SetTitle(Me, \"Izca Reparto\")"; +_b4xpages._settitle /*String*/ (ba,this,(Object)("Izca Reparto")); +RDebugUtils.currentLine=1310725; + //BA.debugLineNum = 1310725;BA.debugLine="login.Initialize"; +__ref._login /*reparto_izca.keymon.lat.b4xmainpage*/ ._initialize /*String*/ (null,ba); +RDebugUtils.currentLine=1310726; + //BA.debugLineNum = 1310726;BA.debugLine="B4XPages.AddPage(\"Login\", login)"; +_b4xpages._addpage /*String*/ (ba,"Login",(Object)(__ref._login /*reparto_izca.keymon.lat.b4xmainpage*/ )); +RDebugUtils.currentLine=1310727; + //BA.debugLineNum = 1310727;BA.debugLine="principal.Initialize"; +__ref._principal /*reparto_izca.keymon.lat.c_principal*/ ._initialize /*Object*/ (null,ba); +RDebugUtils.currentLine=1310728; + //BA.debugLineNum = 1310728;BA.debugLine="B4XPages.AddPage(\"Principal\", principal)"; +_b4xpages._addpage /*String*/ (ba,"Principal",(Object)(__ref._principal /*reparto_izca.keymon.lat.c_principal*/ )); +RDebugUtils.currentLine=1310729; + //BA.debugLineNum = 1310729;BA.debugLine="clientes.Initialize"; +__ref._clientes /*reparto_izca.keymon.lat.c_clientes*/ ._initialize /*Object*/ (null,ba); +RDebugUtils.currentLine=1310730; + //BA.debugLineNum = 1310730;BA.debugLine="B4XPages.AddPage(\"Clientes\", clientes)"; +_b4xpages._addpage /*String*/ (ba,"Clientes",(Object)(__ref._clientes /*reparto_izca.keymon.lat.c_clientes*/ )); +RDebugUtils.currentLine=1310731; + //BA.debugLineNum = 1310731;BA.debugLine="cliente.Initialize"; +__ref._cliente /*reparto_izca.keymon.lat.c_cliente*/ ._initialize /*Object*/ (null,ba); +RDebugUtils.currentLine=1310732; + //BA.debugLineNum = 1310732;BA.debugLine="B4XPages.AddPage(\"Cliente\", cliente)"; +_b4xpages._addpage /*String*/ (ba,"Cliente",(Object)(__ref._cliente /*reparto_izca.keymon.lat.c_cliente*/ )); +RDebugUtils.currentLine=1310735; + //BA.debugLineNum = 1310735;BA.debugLine="productos.Initialize"; +__ref._productos /*reparto_izca.keymon.lat.c_productos*/ ._initialize /*Object*/ (null,ba); +RDebugUtils.currentLine=1310736; + //BA.debugLineNum = 1310736;BA.debugLine="B4XPages.AddPage(\"Productos\", productos)"; +_b4xpages._addpage /*String*/ (ba,"Productos",(Object)(__ref._productos /*reparto_izca.keymon.lat.c_productos*/ )); +RDebugUtils.currentLine=1310737; + //BA.debugLineNum = 1310737;BA.debugLine="updateAvailable.Initialize"; +__ref._updateavailable /*reparto_izca.keymon.lat.c_updateavailable*/ ._initialize /*Object*/ (null,ba); +RDebugUtils.currentLine=1310738; + //BA.debugLineNum = 1310738;BA.debugLine="B4XPages.AddPage(\"updateAvailable\", updateAvailab"; +_b4xpages._addpage /*String*/ (ba,"updateAvailable",(Object)(__ref._updateavailable /*reparto_izca.keymon.lat.c_updateavailable*/ )); +RDebugUtils.currentLine=1310739; + //BA.debugLineNum = 1310739;BA.debugLine="mapas.Initialize"; +__ref._mapas /*reparto_izca.keymon.lat.c_mapas*/ ._initialize /*Object*/ (null,ba); +RDebugUtils.currentLine=1310740; + //BA.debugLineNum = 1310740;BA.debugLine="B4XPages.AddPage(\"Mapas\", mapas)"; +_b4xpages._addpage /*String*/ (ba,"Mapas",(Object)(__ref._mapas /*reparto_izca.keymon.lat.c_mapas*/ )); +RDebugUtils.currentLine=1310741; + //BA.debugLineNum = 1310741;BA.debugLine="nuevoCliente.Initialize"; +__ref._nuevocliente /*reparto_izca.keymon.lat.c_nuevocliente*/ ._initialize /*Object*/ (null,ba); +RDebugUtils.currentLine=1310742; + //BA.debugLineNum = 1310742;BA.debugLine="B4XPages.AddPage(\"NuevoCliente\", nuevoCliente)"; +_b4xpages._addpage /*String*/ (ba,"NuevoCliente",(Object)(__ref._nuevocliente /*reparto_izca.keymon.lat.c_nuevocliente*/ )); +RDebugUtils.currentLine=1310743; + //BA.debugLineNum = 1310743;BA.debugLine="ticketsDia.Initialize"; +__ref._ticketsdia /*reparto_izca.keymon.lat.c_ticketsdia*/ ._initialize /*Object*/ (null,ba); +RDebugUtils.currentLine=1310744; + //BA.debugLineNum = 1310744;BA.debugLine="B4XPages.AddPage(\"TicketsDia\", ticketsDia)"; +_b4xpages._addpage /*String*/ (ba,"TicketsDia",(Object)(__ref._ticketsdia /*reparto_izca.keymon.lat.c_ticketsdia*/ )); +RDebugUtils.currentLine=1310745; + //BA.debugLineNum = 1310745;BA.debugLine="noVenta.Initialize"; +__ref._noventa /*reparto_izca.keymon.lat.c_noventa*/ ._initialize /*Object*/ (null,ba); +RDebugUtils.currentLine=1310746; + //BA.debugLineNum = 1310746;BA.debugLine="B4XPages.AddPage(\"NoVenta\", noVenta)"; +_b4xpages._addpage /*String*/ (ba,"NoVenta",(Object)(__ref._noventa /*reparto_izca.keymon.lat.c_noventa*/ )); +RDebugUtils.currentLine=1310747; + //BA.debugLineNum = 1310747;BA.debugLine="pedidos.Initialize"; +__ref._pedidos /*reparto_izca.keymon.lat.c_pedidos*/ ._initialize /*Object*/ (null,ba); +RDebugUtils.currentLine=1310748; + //BA.debugLineNum = 1310748;BA.debugLine="B4XPages.AddPage(\"Pedidos\", pedidos)"; +_b4xpages._addpage /*String*/ (ba,"Pedidos",(Object)(__ref._pedidos /*reparto_izca.keymon.lat.c_pedidos*/ )); +RDebugUtils.currentLine=1310749; + //BA.debugLineNum = 1310749;BA.debugLine="buscar.Initialize"; +__ref._buscar /*reparto_izca.keymon.lat.c_buscar*/ ._initialize /*Object*/ (null,ba); +RDebugUtils.currentLine=1310750; + //BA.debugLineNum = 1310750;BA.debugLine="B4XPages.AddPage(\"Buscar\", buscar)"; +_b4xpages._addpage /*String*/ (ba,"Buscar",(Object)(__ref._buscar /*reparto_izca.keymon.lat.c_buscar*/ )); +RDebugUtils.currentLine=1310753; + //BA.debugLineNum = 1310753;BA.debugLine="detalleVenta.Initialize"; +__ref._detalleventa /*reparto_izca.keymon.lat.c_detalleventa*/ ._initialize /*Object*/ (null,ba); +RDebugUtils.currentLine=1310754; + //BA.debugLineNum = 1310754;BA.debugLine="B4XPages.AddPage(\"DetalleVenta\", detalleVenta)"; +_b4xpages._addpage /*String*/ (ba,"DetalleVenta",(Object)(__ref._detalleventa /*reparto_izca.keymon.lat.c_detalleventa*/ )); +RDebugUtils.currentLine=1310755; + //BA.debugLineNum = 1310755;BA.debugLine="detalle_promo.Initialize"; +__ref._detalle_promo /*reparto_izca.keymon.lat.c_detalle_promo*/ ._initialize /*Object*/ (null,ba); +RDebugUtils.currentLine=1310756; + //BA.debugLineNum = 1310756;BA.debugLine="B4XPages.AddPage(\"Detalle_Promo\", detalle_promo)"; +_b4xpages._addpage /*String*/ (ba,"Detalle_Promo",(Object)(__ref._detalle_promo /*reparto_izca.keymon.lat.c_detalle_promo*/ )); +RDebugUtils.currentLine=1310757; + //BA.debugLineNum = 1310757;BA.debugLine="tabulador.Initialize"; +__ref._tabulador /*reparto_izca.keymon.lat.c_tabulador*/ ._initialize /*Object*/ (null,ba); +RDebugUtils.currentLine=1310758; + //BA.debugLineNum = 1310758;BA.debugLine="B4XPages.AddPage(\"tabulador\", tabulador)"; +_b4xpages._addpage /*String*/ (ba,"tabulador",(Object)(__ref._tabulador /*reparto_izca.keymon.lat.c_tabulador*/ )); +RDebugUtils.currentLine=1310759; + //BA.debugLineNum = 1310759;BA.debugLine="checklist.Initialize"; +__ref._checklist /*reparto_izca.keymon.lat.c_cheklist*/ ._initialize /*Object*/ (null,ba); +RDebugUtils.currentLine=1310760; + //BA.debugLineNum = 1310760;BA.debugLine="B4XPages.AddPage(\"checklist\",checklist)"; +_b4xpages._addpage /*String*/ (ba,"checklist",(Object)(__ref._checklist /*reparto_izca.keymon.lat.c_cheklist*/ )); +RDebugUtils.currentLine=1310761; + //BA.debugLineNum = 1310761;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS CAT_GUNAPROD3 (CAT_GP_INICIATIVA TEXT, CAT_GP_TIPOPROD TEXT, CAT_GP_DEV TEXT, CAT_GP_ALMACEN NUMERIC, 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 BLOB)"); +RDebugUtils.currentLine=1310762; + //BA.debugLineNum = 1310762;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD3\", \"CAT_DP_CONVE"; +_subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD3","CAT_DP_CONVERSION1","TEXT"); +RDebugUtils.currentLine=1310763; + //BA.debugLineNum = 1310763;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD3\", \"CAT_DP_PRECI"; +_subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD3","CAT_DP_PRECIO4","TEXT"); +RDebugUtils.currentLine=1310764; + //BA.debugLineNum = 1310764;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD3\", \"CAT_DP_CANT_"; +_subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD3","CAT_DP_CANT_MIN_VENTA","TEXT"); +RDebugUtils.currentLine=1310765; + //BA.debugLineNum = 1310765;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS ABONOS (a_usuario TEXT, a_ruta TEXT, a_cliente TEXT, a_abono TEXT, a_fecha TEXT, a_enviado TEXT)"); +RDebugUtils.currentLine=1310766; + //BA.debugLineNum = 1310766;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS PAGARES (PA_ALMACEN TEXT, PA_RUTA_REP TEXT, PA_RUTAPREV TEXT, PA_FECHA_PREV TEXT, PA_CAPTURA TEXT, PA_MONTO TEXT, PA_USUARIO TEXT, PA_CLIENTE TEXT)"); +RDebugUtils.currentLine=1310769; + //BA.debugLineNum = 1310769;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS PICK_CIEGO (PC_ID_PROD TEXT, PC_NOM_PROD TEXT, PC_CANT TEXT, PC_ALMACEN TEXT, PC_RUTA TEXT, PC_FECHA TEXT)"); +RDebugUtils.currentLine=1310770; + //BA.debugLineNum = 1310770;BA.debugLine="Subs.agregaColumna(\"PICK_CIEGO\", \"RESTA\", \"INT\")"; +_subs._agregacolumna /*String*/ (ba,"PICK_CIEGO","RESTA","INT"); +RDebugUtils.currentLine=1310772; + //BA.debugLineNum = 1310772;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS ENV_MONTO_LIQ (EML_MONTO TEXT, EML_ALMACEN TEXT, EML_RUTA TEXT, EML_USUARIO TEXT, EML_FECHA_PED TEXT)"); +RDebugUtils.currentLine=1310773; + //BA.debugLineNum = 1310773;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS TABULADOR_MONEDAS(VEINTE TEXT, DIEZ TEXT, CINCO TEXT, DOS TEXT, PESO TEXT, CENTAVO TEXT, TOTAL TEXT)"); +RDebugUtils.currentLine=1310774; + //BA.debugLineNum = 1310774;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS TABULADOR_BILLETES(MIL TEXT, QUINIENTOS TEXT, DOCIENTOS TEXT, CIEN TEXT, CINCUENTA TEXT, VEINTE TEXT)"); +RDebugUtils.currentLine=1310775; + //BA.debugLineNum = 1310775;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_VENTAS2 (HVD_PARCIAL TEXT, HVD_RECHAZO TEXT, HVD_NUM_REGISTRO TEXT, HVD_NUM_TICKET TEXT, HVD_PROID TEXT, HVD_CODPROMO TEXT, HVD_FECHA TEXT, HVD_ESTATUS TEXT, HVD_CLIENTE TEXT, HVD_PRONOMBRE TEXT, HVD_CANT TEXT, HVD_COSTO_TOT TEXT)"); +RDebugUtils.currentLine=1310777; + //BA.debugLineNum = 1310777;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS RECHAZOS (R_FECHA TEXT, R_CLIENTE TEXT, R_CLI_ORIG TEXT, R_PRODID TEXT, R_CANT TEXT, R_RECHAZO INT)"); +RDebugUtils.currentLine=1310778; + //BA.debugLineNum = 1310778;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS VENTAS (V_FECHA TEXT, V_CLIENTE TEXT, V_CLI_ORIG TEXT, V_PRODID TEXT, V_CANT TEXT, V_RECHAZO INT)"); +RDebugUtils.currentLine=1310779; + //BA.debugLineNum = 1310779;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS ABONOSP(NOTA TEXT, CLIENTE TEXT, SALDO_PENDIENTE TEXT)"); +RDebugUtils.currentLine=1310781; + //BA.debugLineNum = 1310781;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS CHECADO_CHECK(CHECADO TEXT)"); +RDebugUtils.currentLine=1310782; + //BA.debugLineNum = 1310782;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS BLOCKENVIO(ENVIADO TEXT)"); +RDebugUtils.currentLine=1310784; + //BA.debugLineNum = 1310784;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS CHECKLIST(USUARIO TEXT, PLACA TEXT, FECHA_CAPTURA TEXT, TARJETA_CIRCULACION TEXT , POLIZA_SEGURO TEXT, LICENCIA_CONDUCIR TEXT, LIMPIA_EXTERNA TEXT, LIMPIA_INTERNA TEXT, TRIANGULO TEXT, GATO TEXT, LLANTA_REFACCION TEXT, CARROCERIA_BUENESTADO TEXT, CARROCERIA_MALESTADO TEXT, CARROCERIA_COMENTARIOS TEXT, LUCES_CORRECTO TEXT, LUCES_INCORRECTO TEXT, LUCES_COMENTARIOS TEXT, CONDICION_PLACAS_CORRECTO TEXT, CONDICION_PLACAS_INCORRECTO TEXT, CONDICION_PLACAS_COMENTARIOS TEXT, CONDICION_LLANTAS_DEL_DER TEXT, CONDICION_LLANTAS_DEL_IZQ TEXT, CONDICION_LLANTAS_TRASERA_DER TEXT, CONDICION_LLANTAS_TRASERA_IZQ TEXT, ACEITE TEXT, ANTICONGELANTE TEXT, FRENOS TEXT, AIRE TEXT, FUGAS TEXT, COMETARIOS_FUGAS TEXT, FOTO1 BLOB, FOTO12 BLOB, FOTO3 BLOB, FOTO4 BLOB)"); +RDebugUtils.currentLine=1310785; + //BA.debugLineNum = 1310785;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS CHECKLIST2(USUARIO TEXT, PLACA TEXT, FECHA_CAPTURA TEXT, TARJETA_CIRCULACION TEXT, POLIZA_SEGURO TEXT, LICENCIA_CONDUCIR TEXT, LIMPIA_EXTERNA TEXT, LIMPIA_INTERNA TEXT, TRIANGULO TEXT, GATO TEXT, LLANTA_REFACCION TEXT, CARROCERIA TEXT, CARROCERIA_COMENTARIOS TEXT, LUCES TEXT, LUCES_COMENTARIOS TEXT, CONDICION_PLACAS TEXT, CONDICION_PLACAS_COMENTARIOS TEXT, CONDICION_LLANTAS_DEL_DER TEXT, CONDICION_LLANTAS_DEL_IZQ TEXT, CONDICION_LLANTAS_TRASERA_DER TEXT, CONDICION_LLANTAS_TRASERA_IZQ TEXT, ACEITE TEXT, ANTICONGELANTE TEXT, FRENOS TEXT, AIRE TEXT, FUGAS TEXT, COMETARIOS_FUGAS TEXT, FOTO1 BLOB, FOTO12 BLOB, FOTO3 BLOB, FOTO4 BLOB, KILIMETRAJE TEXT, RUTA TEXT)"); +RDebugUtils.currentLine=1310786; + //BA.debugLineNum = 1310786;BA.debugLine="Subs.agregaColumna(\"REPARTO\", \"REP_PRODREGISTRO\","; +_subs._agregacolumna /*String*/ (ba,"REPARTO","REP_PRODREGISTRO","TEXT"); +RDebugUtils.currentLine=1310787; + //BA.debugLineNum = 1310787;BA.debugLine="Subs.agregaColumna(\"PAGARES\", \"PA_TICKET\", \"TEXT\""; +_subs._agregacolumna /*String*/ (ba,"PAGARES","PA_TICKET","TEXT"); +RDebugUtils.currentLine=1310788; + //BA.debugLineNum = 1310788;BA.debugLine="Subs.agregaColumna(\"ABONOS\", \"a_tipoabono\", \"TEXT"; +_subs._agregacolumna /*String*/ (ba,"ABONOS","a_tipoabono","TEXT"); +RDebugUtils.currentLine=1310789; + //BA.debugLineNum = 1310789;BA.debugLine="Subs.agregaColumna(\"ABONOS\",\"TIPO_PAGO\",\"TEXT\")"; +_subs._agregacolumna /*String*/ (ba,"ABONOS","TIPO_PAGO","TEXT"); +RDebugUtils.currentLine=1310790; + //BA.debugLineNum = 1310790;BA.debugLine="Subs.agregaColumna(\"ABONOS\",\"a_ticket\",\"TEXT\")"; +_subs._agregacolumna /*String*/ (ba,"ABONOS","a_ticket","TEXT"); +RDebugUtils.currentLine=1310791; + //BA.debugLineNum = 1310791;BA.debugLine="Subs.agregaColumna(\"ABONOS\",\"a_numpago\",\"TEXT\")"; +_subs._agregacolumna /*String*/ (ba,"ABONOS","a_numpago","TEXT"); +RDebugUtils.currentLine=1310792; + //BA.debugLineNum = 1310792;BA.debugLine="Subs.agregaColumna(\"ABONOS\",\"CONSECUTIVO\",\"TEXT\")"; +_subs._agregacolumna /*String*/ (ba,"ABONOS","CONSECUTIVO","TEXT"); +RDebugUtils.currentLine=1310793; + //BA.debugLineNum = 1310793;BA.debugLine="Subs.agregaColumna(\"ABONOS\",\"NUM_TICKET\",\"TEXT\")"; +_subs._agregacolumna /*String*/ (ba,"ABONOS","NUM_TICKET","TEXT"); +RDebugUtils.currentLine=1310794; + //BA.debugLineNum = 1310794;BA.debugLine="Subs.agregaColumna(\"ABONOS\",\"RUTA_REP\",\"TEXT\")"; +_subs._agregacolumna /*String*/ (ba,"ABONOS","RUTA_REP","TEXT"); +RDebugUtils.currentLine=1310795; + //BA.debugLineNum = 1310795;BA.debugLine="Subs.agregaColumna(\"NOVENTA\", \"NV_RUTA\", \"TEXT\")"; +_subs._agregacolumna /*String*/ (ba,"NOVENTA","NV_RUTA","TEXT"); +RDebugUtils.currentLine=1310796; + //BA.debugLineNum = 1310796;BA.debugLine="Subs.agregaColumna(\"kmt_info\", \"SECUENCIA\", \"INT\""; +_subs._agregacolumna /*String*/ (ba,"kmt_info","SECUENCIA","INT"); +RDebugUtils.currentLine=1310797; + //BA.debugLineNum = 1310797;BA.debugLine="Subs.agregaColumna(\"kmt_info\", \"HORAENT\", \"TEXT\")"; +_subs._agregacolumna /*String*/ (ba,"kmt_info","HORAENT","TEXT"); +RDebugUtils.currentLine=1310798; + //BA.debugLineNum = 1310798;BA.debugLine="Subs.agregaColumna(\"REPARTO\", \"REP_PRODID\", \"TEXT"; +_subs._agregacolumna /*String*/ (ba,"REPARTO","REP_PRODID","TEXT"); +RDebugUtils.currentLine=1310799; + //BA.debugLineNum = 1310799;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_CLIENTEOR\", \"TEX"; +_subs._agregacolumna /*String*/ (ba,"PEDIDO","PE_CLIENTEOR","TEXT"); +RDebugUtils.currentLine=1310800; + //BA.debugLineNum = 1310800;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_CAJAS\", \"TEXT\")"; +_subs._agregacolumna /*String*/ (ba,"PEDIDO","PE_CAJAS","TEXT"); +RDebugUtils.currentLine=1310801; + //BA.debugLineNum = 1310801;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_REGALO\", \"TEXT\")"; +_subs._agregacolumna /*String*/ (ba,"PEDIDO","PE_REGALO","TEXT"); +RDebugUtils.currentLine=1310802; + //BA.debugLineNum = 1310802;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_BCAJAS\", \"TEXT\")"; +_subs._agregacolumna /*String*/ (ba,"PEDIDO","PE_BCAJAS","TEXT"); +RDebugUtils.currentLine=1310803; + //BA.debugLineNum = 1310803;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"CONSECUTIVO\", \"TEXT"; +_subs._agregacolumna /*String*/ (ba,"PEDIDO","CONSECUTIVO","TEXT"); +RDebugUtils.currentLine=1310804; + //BA.debugLineNum = 1310804;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"FECHA_PREV\", \"TEXT\""; +_subs._agregacolumna /*String*/ (ba,"PEDIDO","FECHA_PREV","TEXT"); +RDebugUtils.currentLine=1310805; + //BA.debugLineNum = 1310805;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"RUTA_REP\", \"TEXT\")"; +_subs._agregacolumna /*String*/ (ba,"PEDIDO","RUTA_REP","TEXT"); +RDebugUtils.currentLine=1310806; + //BA.debugLineNum = 1310806;BA.debugLine="Subs.agregaColumna(\"REPARTO\", \"REP_CLI_ORIG\", \"TE"; +_subs._agregacolumna /*String*/ (ba,"REPARTO","REP_CLI_ORIG","TEXT"); +RDebugUtils.currentLine=1310807; + //BA.debugLineNum = 1310807;BA.debugLine="Subs.agregaColumna(\"REPARTO\", \"REP_PRECIO\", \"TEXT"; +_subs._agregacolumna /*String*/ (ba,"REPARTO","REP_PRECIO","TEXT"); +RDebugUtils.currentLine=1310808; + //BA.debugLineNum = 1310808;BA.debugLine="Subs.agregaColumna(\"REPARTO\", \"REP_RECHAZO\", \"INT"; +_subs._agregacolumna /*String*/ (ba,"REPARTO","REP_RECHAZO","INTEGER"); +RDebugUtils.currentLine=1310809; + //BA.debugLineNum = 1310809;BA.debugLine="Subs.agregaColumna(\"RECHAZOS\", \"R_PRECIO\", \"TEXT\""; +_subs._agregacolumna /*String*/ (ba,"RECHAZOS","R_PRECIO","TEXT"); +RDebugUtils.currentLine=1310810; + //BA.debugLineNum = 1310810;BA.debugLine="Subs.agregaColumna(\"VENTAS\", \"V_PRECIO\", \"TEXT\")"; +_subs._agregacolumna /*String*/ (ba,"VENTAS","V_PRECIO","TEXT"); +RDebugUtils.currentLine=1310811; + //BA.debugLineNum = 1310811;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"PLACA\",\"TEXT\")"; +_subs._agregacolumna /*String*/ (ba,"HIST_VENTAS","PLACA","TEXT"); +RDebugUtils.currentLine=1310812; + //BA.debugLineNum = 1310812;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"HVD_BCREDITO\",\""; +_subs._agregacolumna /*String*/ (ba,"HIST_VENTAS","HVD_BCREDITO","TEXT"); +RDebugUtils.currentLine=1310813; + //BA.debugLineNum = 1310813;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"HVD_RECHAZOCANT"; +_subs._agregacolumna /*String*/ (ba,"HIST_VENTAS","HVD_RECHAZOCANT","TEXT"); +RDebugUtils.currentLine=1310814; + //BA.debugLineNum = 1310814;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"CONSECUTIVO\",\"T"; +_subs._agregacolumna /*String*/ (ba,"HIST_VENTAS","CONSECUTIVO","TEXT"); +RDebugUtils.currentLine=1310815; + //BA.debugLineNum = 1310815;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"HVD_RECHAZOCANT"; +_subs._agregacolumna /*String*/ (ba,"HIST_VENTAS","HVD_RECHAZOCANT","TEXT"); +RDebugUtils.currentLine=1310816; + //BA.debugLineNum = 1310816;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"ESPROMO\",\"TEXT\""; +_subs._agregacolumna /*String*/ (ba,"HIST_VENTAS","ESPROMO","TEXT"); +RDebugUtils.currentLine=1310817; + //BA.debugLineNum = 1310817;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"HVD_RECHAZOCANT"; +_subs._agregacolumna /*String*/ (ba,"HIST_VENTAS","HVD_RECHAZOCANTC","TEXT"); +RDebugUtils.currentLine=1310818; + //BA.debugLineNum = 1310818;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"BCAJAS\",\"TEXT\")"; +_subs._agregacolumna /*String*/ (ba,"HIST_VENTAS","BCAJAS","TEXT"); +RDebugUtils.currentLine=1310819; + //BA.debugLineNum = 1310819;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"CANTC\",\"TEXT\")"; +_subs._agregacolumna /*String*/ (ba,"HIST_VENTAS","CANTC","TEXT"); +RDebugUtils.currentLine=1310820; + //BA.debugLineNum = 1310820;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"BCAJAS_OR\",\"TEX"; +_subs._agregacolumna /*String*/ (ba,"HIST_VENTAS","BCAJAS_OR","TEXT"); +RDebugUtils.currentLine=1310821; + //BA.debugLineNum = 1310821;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"CANTC_OR\",\"TEXT"; +_subs._agregacolumna /*String*/ (ba,"HIST_VENTAS","CANTC_OR","TEXT"); +RDebugUtils.currentLine=1310822; + //BA.debugLineNum = 1310822;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\",\"CONVERSION\",\"T"; +_subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD","CONVERSION","TEXT"); +RDebugUtils.currentLine=1310823; + //BA.debugLineNum = 1310823;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\",\"PRECIOCONVER\","; +_subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD","PRECIOCONVER","TEXT"); +RDebugUtils.currentLine=1310824; + //BA.debugLineNum = 1310824;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS RUTAA (RUTAA TEXT)"); +RDebugUtils.currentLine=1310825; + //BA.debugLineNum = 1310825;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS wayPoints (codigo TEXT, indice INT)"); +RDebugUtils.currentLine=1310826; + //BA.debugLineNum = 1310826;BA.debugLine="Dim server As String = \"http://keymon.net:1781\""; +_server = "http://keymon.net:1781"; +RDebugUtils.currentLine=1310832; + //BA.debugLineNum = 1310832;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.serve"; +__ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._initialize /*String*/ (null,ba,this,_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ); +RDebugUtils.currentLine=1310833; + //BA.debugLineNum = 1310833;BA.debugLine="LogColor($\"ReqServer = ${B4XPages.MainPage.server"; +__c.LogImpl("81310833",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ))+""),__c.Colors.Red); +RDebugUtils.currentLine=1310834; + //BA.debugLineNum = 1310834;BA.debugLine="Label1.Text = Application.VersionName"; +__ref._label1 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.Application.getVersionName())); +RDebugUtils.currentLine=1310836; + //BA.debugLineNum = 1310836;BA.debugLine="Log(\"provider\")"; +__c.LogImpl("81310836","provider",0); +RDebugUtils.currentLine=1310837; + //BA.debugLineNum = 1310837;BA.debugLine="Provider.Initialize"; +__ref._provider /*reparto_izca.keymon.lat.fileprovider*/ ._initialize /*String*/ (null,ba); +RDebugUtils.currentLine=1310845; + //BA.debugLineNum = 1310845;BA.debugLine="End Sub"; +return ""; +} +public String _initialize(reparto_izca.keymon.lat.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=1245184; + //BA.debugLineNum = 1245184;BA.debugLine="Public Sub Initialize"; +RDebugUtils.currentLine=1245186; + //BA.debugLineNum = 1245186;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(reparto_izca.keymon.lat.b4xmainpage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +RDebugUtils.currentLine=1179648; + //BA.debugLineNum = 1179648;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=1179649; + //BA.debugLineNum = 1179649;BA.debugLine="Dim rp As RuntimePermissions"; +_rp = new anywheresoftware.b4a.objects.RuntimePermissions(); +RDebugUtils.currentLine=1179650; + //BA.debugLineNum = 1179650;BA.debugLine="Private Root As B4XView"; +_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=1179651; + //BA.debugLineNum = 1179651;BA.debugLine="Private xui As XUI"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=1179652; + //BA.debugLineNum = 1179652;BA.debugLine="Private Root As B4XView"; +_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=1179653; + //BA.debugLineNum = 1179653;BA.debugLine="Public rp As RuntimePermissions"; +_rp = new anywheresoftware.b4a.objects.RuntimePermissions(); +RDebugUtils.currentLine=1179654; + //BA.debugLineNum = 1179654;BA.debugLine="Public login As B4XMainPage"; +_login = new reparto_izca.keymon.lat.b4xmainpage(); +RDebugUtils.currentLine=1179655; + //BA.debugLineNum = 1179655;BA.debugLine="Public principal As C_Principal"; +_principal = new reparto_izca.keymon.lat.c_principal(); +RDebugUtils.currentLine=1179656; + //BA.debugLineNum = 1179656;BA.debugLine="Public clientes As C_Clientes"; +_clientes = new reparto_izca.keymon.lat.c_clientes(); +RDebugUtils.currentLine=1179657; + //BA.debugLineNum = 1179657;BA.debugLine="Public cliente As C_Cliente"; +_cliente = new reparto_izca.keymon.lat.c_cliente(); +RDebugUtils.currentLine=1179659; + //BA.debugLineNum = 1179659;BA.debugLine="Public productos As C_Productos"; +_productos = new reparto_izca.keymon.lat.c_productos(); +RDebugUtils.currentLine=1179660; + //BA.debugLineNum = 1179660;BA.debugLine="Public updateAvailable As C_UpdateAvailable"; +_updateavailable = new reparto_izca.keymon.lat.c_updateavailable(); +RDebugUtils.currentLine=1179661; + //BA.debugLineNum = 1179661;BA.debugLine="Public mapas As C_Mapas"; +_mapas = new reparto_izca.keymon.lat.c_mapas(); +RDebugUtils.currentLine=1179662; + //BA.debugLineNum = 1179662;BA.debugLine="Public nuevoCliente As C_NuevoCliente"; +_nuevocliente = new reparto_izca.keymon.lat.c_nuevocliente(); +RDebugUtils.currentLine=1179663; + //BA.debugLineNum = 1179663;BA.debugLine="Public ticketsDia As C_TicketsDia"; +_ticketsdia = new reparto_izca.keymon.lat.c_ticketsdia(); +RDebugUtils.currentLine=1179664; + //BA.debugLineNum = 1179664;BA.debugLine="Public noVenta As C_NoVenta"; +_noventa = new reparto_izca.keymon.lat.c_noventa(); +RDebugUtils.currentLine=1179665; + //BA.debugLineNum = 1179665;BA.debugLine="Public pedidos As C_Pedidos"; +_pedidos = new reparto_izca.keymon.lat.c_pedidos(); +RDebugUtils.currentLine=1179666; + //BA.debugLineNum = 1179666;BA.debugLine="Public buscar As C_Buscar"; +_buscar = new reparto_izca.keymon.lat.c_buscar(); +RDebugUtils.currentLine=1179668; + //BA.debugLineNum = 1179668;BA.debugLine="Public detalleVenta As C_DetalleVenta"; +_detalleventa = new reparto_izca.keymon.lat.c_detalleventa(); +RDebugUtils.currentLine=1179669; + //BA.debugLineNum = 1179669;BA.debugLine="Public detalle_promo As C_Detalle_Promo"; +_detalle_promo = new reparto_izca.keymon.lat.c_detalle_promo(); +RDebugUtils.currentLine=1179670; + //BA.debugLineNum = 1179670;BA.debugLine="Dim reqManager As DBRequestManager"; +_reqmanager = new reparto_izca.keymon.lat.dbrequestmanager(); +RDebugUtils.currentLine=1179672; + //BA.debugLineNum = 1179672;BA.debugLine="Dim usuario As String"; +_usuario = ""; +RDebugUtils.currentLine=1179673; + //BA.debugLineNum = 1179673;BA.debugLine="Dim logger As Boolean = True"; +_logger = __c.True; +RDebugUtils.currentLine=1179674; + //BA.debugLineNum = 1179674;BA.debugLine="Dim lat_gps, lon_gps As String"; +_lat_gps = ""; +_lon_gps = ""; +RDebugUtils.currentLine=1179676; + //BA.debugLineNum = 1179676;BA.debugLine="Dim usuario As String"; +_usuario = ""; +RDebugUtils.currentLine=1179677; + //BA.debugLineNum = 1179677;BA.debugLine="Dim server As String"; +_server = ""; +RDebugUtils.currentLine=1179678; + //BA.debugLineNum = 1179678;BA.debugLine="Dim montoActual, clientesTotal, clientesVenta, cl"; +_montoactual = ""; +_clientestotal = ""; +_clientesventa = ""; +_clientesrechazo = ""; +_clientesvisitados = ""; +_almacen = ""; +_rutapreventa = ""; +_cantidadprod = ""; +RDebugUtils.currentLine=1179679; + //BA.debugLineNum = 1179679;BA.debugLine="Dim ultimaActualizacionGPS As String = 235959"; +_ultimaactualizaciongps = BA.NumberToString(235959); +RDebugUtils.currentLine=1179680; + //BA.debugLineNum = 1179680;BA.debugLine="Dim fechaRuta As String"; +_fecharuta = ""; +RDebugUtils.currentLine=1179683; + //BA.debugLineNum = 1179683;BA.debugLine="Dim srvIp As String"; +_srvip = ""; +RDebugUtils.currentLine=1179684; + //BA.debugLineNum = 1179684;BA.debugLine="Dim phn As Phone"; +_phn = new anywheresoftware.b4a.phone.Phone(); +RDebugUtils.currentLine=1179685; + //BA.debugLineNum = 1179685;BA.debugLine="Dim user As EditText"; +_user = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=1179686; + //BA.debugLineNum = 1179686;BA.debugLine="Dim pass As EditText"; +_pass = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=1179687; + //BA.debugLineNum = 1179687;BA.debugLine="Dim c As Cursor"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=1179688; + //BA.debugLineNum = 1179688;BA.debugLine="Dim existe As String"; +_existe = ""; +RDebugUtils.currentLine=1179689; + //BA.debugLineNum = 1179689;BA.debugLine="Dim paso1 As String"; +_paso1 = ""; +RDebugUtils.currentLine=1179690; + //BA.debugLineNum = 1179690;BA.debugLine="Private IMEN As Label"; +_imen = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=1179691; + //BA.debugLineNum = 1179691;BA.debugLine="Dim IMEI As String"; +_imei = ""; +RDebugUtils.currentLine=1179692; + //BA.debugLineNum = 1179692;BA.debugLine="Private Label1 As Label"; +_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=1179693; + //BA.debugLineNum = 1179693;BA.debugLine="Dim server As String"; +_server = ""; +RDebugUtils.currentLine=1179694; + //BA.debugLineNum = 1179694;BA.debugLine="Private p_principal As Panel"; +_p_principal = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=1179695; + //BA.debugLineNum = 1179695;BA.debugLine="Private Entrar As Button"; +_entrar = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=1179696; + //BA.debugLineNum = 1179696;BA.debugLine="Public checklist As C_Cheklist"; +_checklist = new reparto_izca.keymon.lat.c_cheklist(); +RDebugUtils.currentLine=1179697; + //BA.debugLineNum = 1179697;BA.debugLine="Public tabulador As C_tabulador"; +_tabulador = new reparto_izca.keymon.lat.c_tabulador(); +RDebugUtils.currentLine=1179698; + //BA.debugLineNum = 1179698;BA.debugLine="Dim batt As Int"; +_batt = 0; +RDebugUtils.currentLine=1179699; + //BA.debugLineNum = 1179699;BA.debugLine="Dim porVisitar, entregas, rechazos, montoEntregad"; +_porvisitar = ""; +_entregas = ""; +_rechazos = ""; +_montoentregado = ""; +_montorechazado = ""; +_visitadostotales = ""; +RDebugUtils.currentLine=1179700; + //BA.debugLineNum = 1179700;BA.debugLine="Private p_appUpdate As Panel"; +_p_appupdate = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=1179701; + //BA.debugLineNum = 1179701;BA.debugLine="Private i_engrane As ImageView"; +_i_engrane = new anywheresoftware.b4a.objects.ImageViewWrapper(); +RDebugUtils.currentLine=1179702; + //BA.debugLineNum = 1179702;BA.debugLine="Private b_server As Button"; +_b_server = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=1179703; + //BA.debugLineNum = 1179703;BA.debugLine="Private b_apk As Button"; +_b_apk = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=1179704; + //BA.debugLineNum = 1179704;BA.debugLine="Private b_envioBD As Button"; +_b_enviobd = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=1179705; + //BA.debugLineNum = 1179705;BA.debugLine="Private b_regesar As Button"; +_b_regesar = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=1179706; + //BA.debugLineNum = 1179706;BA.debugLine="Private et_server As EditText"; +_et_server = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=1179707; + //BA.debugLineNum = 1179707;BA.debugLine="Private p_serverList As Panel"; +_p_serverlist = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=1179708; + //BA.debugLineNum = 1179708;BA.debugLine="Private lv_server As ListView"; +_lv_server = new anywheresoftware.b4a.objects.ListViewWrapper(); +RDebugUtils.currentLine=1179709; + //BA.debugLineNum = 1179709;BA.debugLine="Public Provider As FileProvider"; +_provider = new reparto_izca.keymon.lat.fileprovider(); +RDebugUtils.currentLine=1179710; + //BA.debugLineNum = 1179710;BA.debugLine="Public rutaBDBackup As String = \"\""; +_rutabdbackup = ""; +RDebugUtils.currentLine=1179711; + //BA.debugLineNum = 1179711;BA.debugLine="Private B_Can_Monto As Button"; +_b_can_monto = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=1179712; + //BA.debugLineNum = 1179712;BA.debugLine="Private B_Aceptar_Monto As Button"; +_b_aceptar_monto = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=1179713; + //BA.debugLineNum = 1179713;BA.debugLine="Private ET_Add_Monto As EditText"; +_et_add_monto = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=1179714; + //BA.debugLineNum = 1179714;BA.debugLine="Private p_add_monto As Panel"; +_p_add_monto = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=1179715; + //BA.debugLineNum = 1179715;BA.debugLine="Dim sDate, sTime As String"; +_sdate = ""; +_stime = ""; +RDebugUtils.currentLine=1179716; + //BA.debugLineNum = 1179716;BA.debugLine="Private p_validacion As Panel"; +_p_validacion = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=1179717; + //BA.debugLineNum = 1179717;BA.debugLine="Private b_cancelarcodigo As Button"; +_b_cancelarcodigo = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=1179718; + //BA.debugLineNum = 1179718;BA.debugLine="Private b_aceptar As Button"; +_b_aceptar = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=1179719; + //BA.debugLineNum = 1179719;BA.debugLine="Private et_codigo As EditText"; +_et_codigo = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=1179720; + //BA.debugLineNum = 1179720;BA.debugLine="Private P_CIEGO As Panel"; +_p_ciego = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=1179721; + //BA.debugLineNum = 1179721;BA.debugLine="Private b_terpc As Button"; +_b_terpc = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=1179722; + //BA.debugLineNum = 1179722;BA.debugLine="Private B_PC_ENV As Button"; +_b_pc_env = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=1179723; + //BA.debugLineNum = 1179723;BA.debugLine="Private CLV_PICK_CIEGO As CustomListView"; +_clv_pick_ciego = new b4a.example3.customlistview(); +RDebugUtils.currentLine=1179724; + //BA.debugLineNum = 1179724;BA.debugLine="Private et_buspc As EditText"; +_et_buspc = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=1179725; + //BA.debugLineNum = 1179725;BA.debugLine="Dim q_buscar As String"; +_q_buscar = ""; +RDebugUtils.currentLine=1179726; + //BA.debugLineNum = 1179726;BA.debugLine="Dim d As Cursor"; +_d = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=1179727; + //BA.debugLineNum = 1179727;BA.debugLine="Private L_PICK_CIEGO As Label"; +_l_pick_ciego = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=1179728; + //BA.debugLineNum = 1179728;BA.debugLine="Private ET_PICK_CIEGO As EditText"; +_et_pick_ciego = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=1179729; + //BA.debugLineNum = 1179729;BA.debugLine="Dim a As Cursor"; +_a = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=1179730; + //BA.debugLineNum = 1179730;BA.debugLine="Dim f As Cursor"; +_f = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=1179731; + //BA.debugLineNum = 1179731;BA.debugLine="Private b_abono As Button"; +_b_abono = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=1179732; + //BA.debugLineNum = 1179732;BA.debugLine="Dim monto_entregadoactual As String"; +_monto_entregadoactual = ""; +RDebugUtils.currentLine=1179733; + //BA.debugLineNum = 1179733;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.objects.PanelWrapper _createlistitem(reparto_izca.keymon.lat.b4xmainpage __ref,String _id_prod,String _prod,String _cant) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "createlistitem", false)) + {return ((anywheresoftware.b4a.objects.PanelWrapper) Debug.delegate(ba, "createlistitem", new Object[] {_id_prod,_prod,_cant}));} +anywheresoftware.b4a.objects.B4XViewWrapper _pa = null; +RDebugUtils.currentLine=3080192; + //BA.debugLineNum = 3080192;BA.debugLine="Sub CreateListItem(Id_prod As String, Prod As Stri"; +RDebugUtils.currentLine=3080193; + //BA.debugLineNum = 3080193;BA.debugLine="Dim pa As B4XView = xui.CreatePanel(\"\")"; +_pa = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_pa = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,""); +RDebugUtils.currentLine=3080194; + //BA.debugLineNum = 3080194;BA.debugLine="pa.SetLayoutAnimated(0, 0, 0, 1, 10)"; +_pa.SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (1),(int) (10)); +RDebugUtils.currentLine=3080195; + //BA.debugLineNum = 3080195;BA.debugLine="pa.LoadLayout(\"PANEL_PICK_CIEGO\")"; +_pa.LoadLayout("PANEL_PICK_CIEGO",ba); +RDebugUtils.currentLine=3080196; + //BA.debugLineNum = 3080196;BA.debugLine="pa.Height = 55dip"; +_pa.setHeight(__c.DipToCurrent((int) (55))); +RDebugUtils.currentLine=3080197; + //BA.debugLineNum = 3080197;BA.debugLine="pa.Width = 298dip"; +_pa.setWidth(__c.DipToCurrent((int) (298))); +RDebugUtils.currentLine=3080199; + //BA.debugLineNum = 3080199;BA.debugLine="L_PICK_CIEGO.Text = Id_prod & CRLF & Prod"; +__ref._l_pick_ciego /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_id_prod+__c.CRLF+_prod)); +RDebugUtils.currentLine=3080200; + //BA.debugLineNum = 3080200;BA.debugLine="L_PICK_CIEGO.TextSize = 12"; +__ref._l_pick_ciego /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextSize((float) (12)); +RDebugUtils.currentLine=3080201; + //BA.debugLineNum = 3080201;BA.debugLine="L_PICK_CIEGO.Gravity = Bit.Or(Gravity.CENTER_VERT"; +__ref._l_pick_ciego /*anywheresoftware.b4a.objects.LabelWrapper*/ .setGravity(__c.Bit.Or(__c.Gravity.CENTER_VERTICAL,__c.Gravity.CENTER_HORIZONTAL)); +RDebugUtils.currentLine=3080202; + //BA.debugLineNum = 3080202;BA.debugLine="ET_PICK_CIEGO.Text = cant"; +__ref._et_pick_ciego /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(_cant)); +RDebugUtils.currentLine=3080205; + //BA.debugLineNum = 3080205;BA.debugLine="Return pa"; +if (true) return (anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(_pa.getObject())); +RDebugUtils.currentLine=3080206; + //BA.debugLineNum = 3080206;BA.debugLine="End Sub"; +return null; +} +public anywheresoftware.b4a.objects.PanelWrapper _createlistitem2(reparto_izca.keymon.lat.b4xmainpage __ref,String _id_prod,String _prod) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "createlistitem2", false)) + {return ((anywheresoftware.b4a.objects.PanelWrapper) Debug.delegate(ba, "createlistitem2", new Object[] {_id_prod,_prod}));} +anywheresoftware.b4a.objects.B4XViewWrapper _pa = null; +RDebugUtils.currentLine=3145728; + //BA.debugLineNum = 3145728;BA.debugLine="Sub CreateListItem2(Id_prod As String, Prod As Str"; +RDebugUtils.currentLine=3145729; + //BA.debugLineNum = 3145729;BA.debugLine="Dim pa As B4XView = xui.CreatePanel(\"\")"; +_pa = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_pa = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,""); +RDebugUtils.currentLine=3145730; + //BA.debugLineNum = 3145730;BA.debugLine="pa.SetLayoutAnimated(0, 0, 0, 1, 10)"; +_pa.SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (1),(int) (10)); +RDebugUtils.currentLine=3145731; + //BA.debugLineNum = 3145731;BA.debugLine="pa.LoadLayout(\"PANEL_PICK_CIEGO\")"; +_pa.LoadLayout("PANEL_PICK_CIEGO",ba); +RDebugUtils.currentLine=3145732; + //BA.debugLineNum = 3145732;BA.debugLine="pa.Height = 55dip"; +_pa.setHeight(__c.DipToCurrent((int) (55))); +RDebugUtils.currentLine=3145733; + //BA.debugLineNum = 3145733;BA.debugLine="pa.Width = 298dip"; +_pa.setWidth(__c.DipToCurrent((int) (298))); +RDebugUtils.currentLine=3145735; + //BA.debugLineNum = 3145735;BA.debugLine="L_PICK_CIEGO.Text = Id_prod & CRLF & Prod"; +__ref._l_pick_ciego /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_id_prod+__c.CRLF+_prod)); +RDebugUtils.currentLine=3145736; + //BA.debugLineNum = 3145736;BA.debugLine="L_PICK_CIEGO.TextSize = 12"; +__ref._l_pick_ciego /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextSize((float) (12)); +RDebugUtils.currentLine=3145737; + //BA.debugLineNum = 3145737;BA.debugLine="L_PICK_CIEGO.Gravity = Bit.Or(Gravity.CENTER_VERT"; +__ref._l_pick_ciego /*anywheresoftware.b4a.objects.LabelWrapper*/ .setGravity(__c.Bit.Or(__c.Gravity.CENTER_VERTICAL,__c.Gravity.CENTER_HORIZONTAL)); +RDebugUtils.currentLine=3145740; + //BA.debugLineNum = 3145740;BA.debugLine="Return pa"; +if (true) return (anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(_pa.getObject())); +RDebugUtils.currentLine=3145741; + //BA.debugLineNum = 3145741;BA.debugLine="End Sub"; +return null; +} +public String _entrar_click(reparto_izca.keymon.lat.b4xmainpage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "entrar_click", false)) + {return ((String) Debug.delegate(ba, "entrar_click", null));} +reparto_izca.keymon.lat.dbrequestmanager._dbcommand _cmd = null; +RDebugUtils.currentLine=1441792; + //BA.debugLineNum = 1441792;BA.debugLine="Sub Entrar_Click"; +RDebugUtils.currentLine=1441793; + //BA.debugLineNum = 1441793;BA.debugLine="If pass.Text = \"YA\" Then"; +if ((__ref._pass /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("YA")) { +RDebugUtils.currentLine=1441794; + //BA.debugLineNum = 1441794;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from usuarioa\""; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from usuarioa"); +RDebugUtils.currentLine=1441795; + //BA.debugLineNum = 1441795;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from VERSION\")"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from VERSION"); +RDebugUtils.currentLine=1441796; + //BA.debugLineNum = 1441796;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO USUARIOA"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO USUARIOA VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("ROOT"),(Object)("ROOT")})); +RDebugUtils.currentLine=1441797; + //BA.debugLineNum = 1441797;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_almac"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_almacen"); +RDebugUtils.currentLine=1441798; + //BA.debugLineNum = 1441798;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_ALMA"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_ALMACEN(ID_ALMACEN) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._user /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())})); +RDebugUtils.currentLine=1441799; + //BA.debugLineNum = 1441799;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO VERSION("; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO VERSION(NOVERSION) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("2.1")})); +RDebugUtils.currentLine=1441802; + //BA.debugLineNum = 1441802;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +_b4xpages._showpage /*String*/ (ba,"Principal"); + }else { +RDebugUtils.currentLine=1441804; + //BA.debugLineNum = 1441804;BA.debugLine="c=Starter.skmt.ExecQuery2(\"select count(*) as EX"; +__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*/ .ExecQuery2("select count(*) as EXISTE1 from usuarioa where usuario = ?",new String[]{__ref._user /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()}))); +RDebugUtils.currentLine=1441805; + //BA.debugLineNum = 1441805;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=1441806; + //BA.debugLineNum = 1441806;BA.debugLine="existe = c.GetString(\"EXISTE1\")"; +__ref._existe /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("EXISTE1"); +RDebugUtils.currentLine=1441807; + //BA.debugLineNum = 1441807;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=1441809; + //BA.debugLineNum = 1441809;BA.debugLine="If existe = 0 Then"; +if ((__ref._existe /*String*/ ).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=1441811; + //BA.debugLineNum = 1441811;BA.debugLine="Dim cmd As DBCommand"; +_cmd = new reparto_izca.keymon.lat.dbrequestmanager._dbcommand(); +RDebugUtils.currentLine=1441812; + //BA.debugLineNum = 1441812;BA.debugLine="cmd.Initialize"; +_cmd.Initialize(); +RDebugUtils.currentLine=1441813; + //BA.debugLineNum = 1441813;BA.debugLine="cmd.Name = \"select_usuario_IZCA_REPG\""; +_cmd.Name /*String*/ = "select_usuario_IZCA_REPG"; +RDebugUtils.currentLine=1441814; + //BA.debugLineNum = 1441814;BA.debugLine="cmd.Parameters = Array As Object(user.Text, pas"; +_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(__ref._user /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._pass /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())}; +RDebugUtils.currentLine=1441815; + //BA.debugLineNum = 1441815;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"usuario\")"; +__ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._executequery /*String*/ (null,_cmd,(int) (0),(Object)("usuario")); +RDebugUtils.currentLine=1441817; + //BA.debugLineNum = 1441817;BA.debugLine="Dim cmd As DBCommand"; +_cmd = new reparto_izca.keymon.lat.dbrequestmanager._dbcommand(); +RDebugUtils.currentLine=1441818; + //BA.debugLineNum = 1441818;BA.debugLine="cmd.Initialize"; +_cmd.Initialize(); +RDebugUtils.currentLine=1441819; + //BA.debugLineNum = 1441819;BA.debugLine="cmd.Name = \"select_version_IZCA\""; +_cmd.Name /*String*/ = "select_version_IZCA"; +RDebugUtils.currentLine=1441820; + //BA.debugLineNum = 1441820;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"version\")"; +__ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._executequery /*String*/ (null,_cmd,(int) (0),(Object)("version")); + }else { +RDebugUtils.currentLine=1441823; + //BA.debugLineNum = 1441823;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +_b4xpages._showpage /*String*/ (ba,"Principal"); + }; + }; +RDebugUtils.currentLine=1441826; + //BA.debugLineNum = 1441826;BA.debugLine="End Sub"; +return ""; +} +public String _enviarmonto(reparto_izca.keymon.lat.b4xmainpage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "enviarmonto", false)) + {return ((String) Debug.delegate(ba, "enviarmonto", null));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _a2 = null; +String[] _fecha = null; +String[] _fecha2 = null; +String _fecha3 = ""; +String[] _hora = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _ci = null; +String _u = ""; +anywheresoftware.b4a.sql.SQL.CursorWrapper _g = null; +RDebugUtils.currentLine=2359296; + //BA.debugLineNum = 2359296;BA.debugLine="Sub enviarmonto"; +RDebugUtils.currentLine=2359298; + //BA.debugLineNum = 2359298;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +__c.DateTime.setDateFormat("MM/dd/yyyy"); +RDebugUtils.currentLine=2359299; + //BA.debugLineNum = 2359299;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=2359300; + //BA.debugLineNum = 2359300;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=2359302; + //BA.debugLineNum = 2359302;BA.debugLine="Private f As Cursor=Starter.skmt.ExecQuery(\"selec"; +_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 RUTAA from RUTAA"))); +RDebugUtils.currentLine=2359303; + //BA.debugLineNum = 2359303;BA.debugLine="f.Position=0"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=2359305; + //BA.debugLineNum = 2359305;BA.debugLine="Private a As Cursor=Starter.skmt.ExecQuery(\"selec"; +_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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select ID_ALMACEN from CAT_ALMACEN"))); +RDebugUtils.currentLine=2359306; + //BA.debugLineNum = 2359306;BA.debugLine="If a.RowCount>0 Then"; +if (__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=2359307; + //BA.debugLineNum = 2359307;BA.debugLine="a.Position=0"; +__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); + }; +RDebugUtils.currentLine=2359310; + //BA.debugLineNum = 2359310;BA.debugLine="Private a2 As Cursor = Starter.skmt.ExecQuery(\"SE"; +_a2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_a2 = (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 HVD_FECHA FROM HIST_VENTAS"))); +RDebugUtils.currentLine=2359311; + //BA.debugLineNum = 2359311;BA.debugLine="If a2.RowCount>0 Then"; +if (_a2.getRowCount()>0) { +RDebugUtils.currentLine=2359312; + //BA.debugLineNum = 2359312;BA.debugLine="a2.Position=0"; +_a2.setPosition((int) (0)); +RDebugUtils.currentLine=2359313; + //BA.debugLineNum = 2359313;BA.debugLine="Dim fecha() As String = Regex.Split(\" \", a2.GetS"; +_fecha = __c.Regex.Split(" ",_a2.GetString("HVD_FECHA")); +RDebugUtils.currentLine=2359314; + //BA.debugLineNum = 2359314;BA.debugLine="Dim fecha2() As String = Regex.Split(\"-\", fecha("; +_fecha2 = __c.Regex.Split("-",_fecha[(int) (0)]); +RDebugUtils.currentLine=2359315; + //BA.debugLineNum = 2359315;BA.debugLine="Dim fecha3 As String = fecha2(2)&\"/\"&fecha2(1)&\""; +_fecha3 = _fecha2[(int) (2)]+"/"+_fecha2[(int) (1)]+"/"+_fecha2[(int) (0)]; +RDebugUtils.currentLine=2359316; + //BA.debugLineNum = 2359316;BA.debugLine="Log(fecha3)"; +__c.LogImpl("82359316",_fecha3,0); +RDebugUtils.currentLine=2359317; + //BA.debugLineNum = 2359317;BA.debugLine="Dim hora() As String = Regex.Split(\"\\.\", fecha(1"; +_hora = __c.Regex.Split("\\.",_fecha[(int) (1)]); +RDebugUtils.currentLine=2359318; + //BA.debugLineNum = 2359318;BA.debugLine="Log(hora(0))"; +__c.LogImpl("82359318",_hora[(int) (0)],0); + }; +RDebugUtils.currentLine=2359323; + //BA.debugLineNum = 2359323;BA.debugLine="Private cI As Cursor"; +_ci = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=2359324; + //BA.debugLineNum = 2359324;BA.debugLine="Private u As String = \"SinUsuario\""; +_u = "SinUsuario"; +RDebugUtils.currentLine=2359325; + //BA.debugLineNum = 2359325;BA.debugLine="cI=Starter.skmt.ExecQuery(\"select USUARIO from us"; +_ci = (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=2359326; + //BA.debugLineNum = 2359326;BA.debugLine="cI.Position=0"; +_ci.setPosition((int) (0)); +RDebugUtils.currentLine=2359327; + //BA.debugLineNum = 2359327;BA.debugLine="If cI.RowCount > 0 Then u = cI.GetString(\"USUARIO"; +if (_ci.getRowCount()>0) { +_u = _ci.GetString("USUARIO");}; +RDebugUtils.currentLine=2359328; + //BA.debugLineNum = 2359328;BA.debugLine="Private g As Cursor = Starter.skmt.ExecQuery(\"sel"; +_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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select * from ENV_MONTO_LIQ"))); +RDebugUtils.currentLine=2359361; + //BA.debugLineNum = 2359361;BA.debugLine="p_add_monto.Visible = False"; +__ref._p_add_monto /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=2359363; + //BA.debugLineNum = 2359363;BA.debugLine="End Sub"; +return ""; +} +public String _et_buspc_textchanged(reparto_izca.keymon.lat.b4xmainpage __ref,String _old,String _new) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "et_buspc_textchanged", false)) + {return ((String) Debug.delegate(ba, "et_buspc_textchanged", new Object[] {_old,_new}));} +int _i = 0; +RDebugUtils.currentLine=2555904; + //BA.debugLineNum = 2555904;BA.debugLine="Private Sub et_buspc_TextChanged (Old As String, N"; +RDebugUtils.currentLine=2555905; + //BA.debugLineNum = 2555905;BA.debugLine="If New = \"\" Then"; +if ((_new).equals("")) { +RDebugUtils.currentLine=2555906; + //BA.debugLineNum = 2555906;BA.debugLine="CLV_PICK_CIEGO.Clear"; +__ref._clv_pick_ciego /*b4a.example3.customlistview*/ ._clear(); + }else +{RDebugUtils.currentLine=2555907; + //BA.debugLineNum = 2555907;BA.debugLine="Else If New.Length >= 3 Then"; +if (_new.length()>=3) { +RDebugUtils.currentLine=2555908; + //BA.debugLineNum = 2555908;BA.debugLine="CLV_PICK_CIEGO.Clear"; +__ref._clv_pick_ciego /*b4a.example3.customlistview*/ ._clear(); +RDebugUtils.currentLine=2555910; + //BA.debugLineNum = 2555910;BA.debugLine="q_buscar = \"%\" & et_buspc.Text & \"%\""; +__ref._q_buscar /*String*/ = "%"+__ref._et_buspc /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()+"%"; +RDebugUtils.currentLine=2555911; + //BA.debugLineNum = 2555911;BA.debugLine="Log(q_buscar)"; +__c.LogImpl("82555911",__ref._q_buscar /*String*/ ,0); +RDebugUtils.currentLine=2555912; + //BA.debugLineNum = 2555912;BA.debugLine="c=Starter.skmt.ExecQuery2($\"select CAT_GP_NOMBRE"; +__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*/ .ExecQuery2(("select CAT_GP_NOMBRE, CAT_GP_ID , ifnull(PC_CANT,0) AS PC_CANT FROM CAT_GUNAPROD3 INNER JOIN PICK_CIEGO ON PC_ID_PROD = CAT_GP_ID AND PC_NOM_PROD = CAT_GP_NOMBRE WHERE (CAT_GP_NOMBRE LIKE ? OR CAT_GP_ID LIKE ? ) and CAT_GP_CLASIF <> 'PROMOS'"),new String[]{__ref._q_buscar /*String*/ ,__ref._q_buscar /*String*/ }))); +RDebugUtils.currentLine=2555913; + //BA.debugLineNum = 2555913;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=2555916; + //BA.debugLineNum = 2555916;BA.debugLine="For i = 0 To c.RowCount - 1"; +{ +final int step9 = 1; +final int limit9 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit9 ;_i = _i + step9 ) { +RDebugUtils.currentLine=2555917; + //BA.debugLineNum = 2555917;BA.debugLine="c.Position = i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=2555918; + //BA.debugLineNum = 2555918;BA.debugLine="CLV_PICK_CIEGO.Add(CreateListItem(c.GetString("; +__ref._clv_pick_ciego /*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,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_ID"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_NOMBRE"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_CANT")).getObject())),(Object)(_i)); + } +}; +RDebugUtils.currentLine=2555921; + //BA.debugLineNum = 2555921;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=2555923; + //BA.debugLineNum = 2555923;BA.debugLine="d=Starter.skmt.ExecQuery2($\"select CAT_GP_NOMBR"; +__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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("select CAT_GP_NOMBRE, CAT_GP_ID FROM CAT_GUNAPROD3 WHERE (CAT_GP_NOMBRE LIKE ? OR CAT_GP_ID LIKE ? ) and CAT_GP_CLASIF <> 'PROMOS'AND CAT_GP_ID NOT IN (SELECT PC_ID_PROD FROM PICK_CIEGO)"),new String[]{__ref._q_buscar /*String*/ ,__ref._q_buscar /*String*/ }))); +RDebugUtils.currentLine=2555925; + //BA.debugLineNum = 2555925;BA.debugLine="For i = 0 To d.RowCount - 1"; +{ +final int step15 = 1; +final int limit15 = (int) (__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit15 ;_i = _i + step15 ) { +RDebugUtils.currentLine=2555926; + //BA.debugLineNum = 2555926;BA.debugLine="d.Position = i"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=2555927; + //BA.debugLineNum = 2555927;BA.debugLine="CLV_PICK_CIEGO.Add(CreateListItem2(d.GetString"; +__ref._clv_pick_ciego /*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,__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_ID"),__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_NOMBRE")).getObject())),(Object)(_i)); + } +}; +RDebugUtils.currentLine=2555930; + //BA.debugLineNum = 2555930;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }else +{RDebugUtils.currentLine=2555932; + //BA.debugLineNum = 2555932;BA.debugLine="Else If c.RowCount = 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()==0) { +RDebugUtils.currentLine=2555933; + //BA.debugLineNum = 2555933;BA.debugLine="d=Starter.skmt.ExecQuery2($\"select CAT_GP_NOMBR"; +__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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("select CAT_GP_NOMBRE, CAT_GP_ID FROM CAT_GUNAPROD3 WHERE (CAT_GP_NOMBRE LIKE ? OR CAT_GP_ID LIKE ? ) and CAT_GP_CLASIF <> 'PROMOS'"),new String[]{__ref._q_buscar /*String*/ ,__ref._q_buscar /*String*/ }))); +RDebugUtils.currentLine=2555935; + //BA.debugLineNum = 2555935;BA.debugLine="For i = 0 To d.RowCount - 1"; +{ +final int step22 = 1; +final int limit22 = (int) (__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit22 ;_i = _i + step22 ) { +RDebugUtils.currentLine=2555936; + //BA.debugLineNum = 2555936;BA.debugLine="d.Position = i"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=2555937; + //BA.debugLineNum = 2555937;BA.debugLine="CLV_PICK_CIEGO.Add(CreateListItem2(d.GetString"; +__ref._clv_pick_ciego /*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,__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_ID"),__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_NOMBRE")).getObject())),(Object)(_i)); + } +}; +RDebugUtils.currentLine=2555940; + //BA.debugLineNum = 2555940;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }} +; + }} +; +RDebugUtils.currentLine=2555943; + //BA.debugLineNum = 2555943;BA.debugLine="End Sub"; +return ""; +} +public String _i_engrane_click(reparto_izca.keymon.lat.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=1572864; + //BA.debugLineNum = 1572864;BA.debugLine="Private Sub i_engrane_Click"; +RDebugUtils.currentLine=1572865; + //BA.debugLineNum = 1572865;BA.debugLine="p_appUpdate.Width = Root.Width"; +__ref._p_appupdate /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=1572866; + //BA.debugLineNum = 1572866;BA.debugLine="p_appUpdate.Height = Root.Height"; +__ref._p_appupdate /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=1572867; + //BA.debugLineNum = 1572867;BA.debugLine="Subs.centraPanel(p_serverList, Root.Width)"; +_subs._centrapanel /*String*/ (ba,__ref._p_serverlist /*anywheresoftware.b4a.objects.PanelWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=1572868; + //BA.debugLineNum = 1572868;BA.debugLine="Subs.centraBoton(b_server, Root.Width)"; +_subs._centraboton /*String*/ (ba,__ref._b_server /*anywheresoftware.b4a.objects.ButtonWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=1572869; + //BA.debugLineNum = 1572869;BA.debugLine="Subs.centraBoton(b_apk, Root.Width)"; +_subs._centraboton /*String*/ (ba,__ref._b_apk /*anywheresoftware.b4a.objects.ButtonWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=1572870; + //BA.debugLineNum = 1572870;BA.debugLine="Subs.centraBoton(b_envioBD, Root.Width)"; +_subs._centraboton /*String*/ (ba,__ref._b_enviobd /*anywheresoftware.b4a.objects.ButtonWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=1572871; + //BA.debugLineNum = 1572871;BA.debugLine="Subs.centraBoton(b_regesar, Root.Width)"; +_subs._centraboton /*String*/ (ba,__ref._b_regesar /*anywheresoftware.b4a.objects.ButtonWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=1572872; + //BA.debugLineNum = 1572872;BA.debugLine="Subs.centraBoton(b_server, p_serverList.Width)"; +_subs._centraboton /*String*/ (ba,__ref._b_server /*anywheresoftware.b4a.objects.ButtonWrapper*/ ,__ref._p_serverlist /*anywheresoftware.b4a.objects.PanelWrapper*/ .getWidth()); +RDebugUtils.currentLine=1572873; + //BA.debugLineNum = 1572873;BA.debugLine="lv_server.Clear"; +__ref._lv_server /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=1572874; + //BA.debugLineNum = 1572874;BA.debugLine="lv_server.AddSingleLine(\"http://keymon.net:1781\")"; +__ref._lv_server /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddSingleLine(BA.ObjectToCharSequence("http://keymon.net:1781")); +RDebugUtils.currentLine=1572875; + //BA.debugLineNum = 1572875;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=1572877; + //BA.debugLineNum = 1572877;BA.debugLine="et_server.Text = server"; +__ref._et_server /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(__ref._server /*String*/ )); +RDebugUtils.currentLine=1572878; + //BA.debugLineNum = 1572878;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=1572879; + //BA.debugLineNum = 1572879;BA.debugLine="End Sub"; +return ""; +} +public String _imageview1_longclick(reparto_izca.keymon.lat.b4xmainpage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "imageview1_longclick", false)) + {return ((String) Debug.delegate(ba, "imageview1_longclick", null));} +RDebugUtils.currentLine=3211264; + //BA.debugLineNum = 3211264;BA.debugLine="Private Sub ImageView1_LongClick"; +RDebugUtils.currentLine=3211266; + //BA.debugLineNum = 3211266;BA.debugLine="End Sub"; +return ""; +} +public String _jobdone(reparto_izca.keymon.lat.b4xmainpage __ref,reparto_izca.keymon.lat.httpjob _job) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "jobdone", false)) + {return ((String) Debug.delegate(ba, "jobdone", new Object[] {_job}));} +reparto_izca.keymon.lat.dbrequestmanager._dbresult _result = null; +Object[] _records = null; +String _cat_ve_version = ""; +String _id_almacen = ""; +double _lat = 0; +double _lon = 0; +String _name = ""; +String _imei_base = ""; +String _cat_pa_pass = ""; +String _hvd_estatus = ""; +String _cuenta = ""; +anywheresoftware.b4a.sql.SQL.CursorWrapper _c2 = null; +RDebugUtils.currentLine=1507328; + //BA.debugLineNum = 1507328;BA.debugLine="Sub JobDone(Job As HttpJob)"; +RDebugUtils.currentLine=1507329; + //BA.debugLineNum = 1507329;BA.debugLine="If Job.Success = False Then"; +if (_job._success /*boolean*/ ==__c.False) { +RDebugUtils.currentLine=1507330; + //BA.debugLineNum = 1507330;BA.debugLine="ToastMessageShow(\"Error: \" & Job.ErrorMessage, T"; +__c.ToastMessageShow(BA.ObjectToCharSequence("Error: "+_job._errormessage /*String*/ ),__c.True); + }else { +RDebugUtils.currentLine=1507332; + //BA.debugLineNum = 1507332;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=1507333; + //BA.debugLineNum = 1507333;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=1507334; + //BA.debugLineNum = 1507334;BA.debugLine="If result.Tag = \"version\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("version"))) { +RDebugUtils.currentLine=1507335; + //BA.debugLineNum = 1507335;BA.debugLine="For Each records() As Object In result.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group7 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen7 = group7.getSize() +;int index7 = 0; +; +for (; index7 < groupLen7;index7++){ +_records = (Object[])(group7.Get(index7)); +RDebugUtils.currentLine=1507336; + //BA.debugLineNum = 1507336;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from VERSIO"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from VERSION"); +RDebugUtils.currentLine=1507337; + //BA.debugLineNum = 1507337;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=1507338; + //BA.debugLineNum = 1507338;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO VERSI"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO VERSION(NOVERSION) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_ve_version)})); + } +}; + }; + }; +RDebugUtils.currentLine=1507343; + //BA.debugLineNum = 1507343;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=1507344; + //BA.debugLineNum = 1507344;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=1507345; + //BA.debugLineNum = 1507345;BA.debugLine="If result.Tag = \"agencia\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("agencia"))) { +RDebugUtils.currentLine=1507346; + //BA.debugLineNum = 1507346;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() +;int index17 = 0; +; +for (; index17 < groupLen17;index17++){ +_records = (Object[])(group17.Get(index17)); +RDebugUtils.currentLine=1507348; + //BA.debugLineNum = 1507348;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"))))]); + } +}; + }; + }; +RDebugUtils.currentLine=1507353; + //BA.debugLineNum = 1507353;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=1507354; + //BA.debugLineNum = 1507354;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=1507355; + //BA.debugLineNum = 1507355;BA.debugLine="If result.Tag = \"coords_almacen\" Then 'query ta"; +if ((_result.Tag /*Object*/ ).equals((Object)("coords_almacen"))) { +RDebugUtils.currentLine=1507356; + //BA.debugLineNum = 1507356;BA.debugLine="For Each records() As Object In result.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group25 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen25 = group25.getSize() +;int index25 = 0; +; +for (; index25 < groupLen25;index25++){ +_records = (Object[])(group25.Get(index25)); +RDebugUtils.currentLine=1507357; + //BA.debugLineNum = 1507357;BA.debugLine="Log(\"Coordenadas del almacen: \" & records(res"; +__c.LogImpl("81507357","Coordenadas del almacen: "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_LATITUD"))))])+","+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_LONGITUD"))))]),0); +RDebugUtils.currentLine=1507358; + //BA.debugLineNum = 1507358;BA.debugLine="Private lat, lon As Double"; +_lat = 0; +_lon = 0; +RDebugUtils.currentLine=1507359; + //BA.debugLineNum = 1507359;BA.debugLine="lat = 0.0"; +_lat = 0.0; +RDebugUtils.currentLine=1507360; + //BA.debugLineNum = 1507360;BA.debugLine="lon = 0.0"; +_lon = 0.0; +RDebugUtils.currentLine=1507361; + //BA.debugLineNum = 1507361;BA.debugLine="If IsNumber(records(result.Columns.Get(\"CAT_A"; +if (__c.IsNumber(BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_LATITUD"))))])) && __c.IsNumber(BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_LONGITUD"))))]))) { +RDebugUtils.currentLine=1507362; + //BA.debugLineNum = 1507362;BA.debugLine="lat = records(result.Columns.Get(\"CAT_AL_LAT"; +_lat = (double)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_LATITUD"))))])); +RDebugUtils.currentLine=1507363; + //BA.debugLineNum = 1507363;BA.debugLine="lon = records(result.Columns.Get(\"CAT_AL_LON"; +_lon = (double)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_LONGITUD"))))])); + }; +RDebugUtils.currentLine=1507365; + //BA.debugLineNum = 1507365;BA.debugLine="Starter.cedisLocation.Latitude = lat"; +_starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .setLatitude(_lat); +RDebugUtils.currentLine=1507366; + //BA.debugLineNum = 1507366;BA.debugLine="Starter.cedisLocation.Longitude = lon"; +_starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .setLongitude(_lon); +RDebugUtils.currentLine=1507367; + //BA.debugLineNum = 1507367;BA.debugLine="Starter.skmt.ExecNonQuery2(\"delete from CAT_V"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("COORDS_ALMACEN")})); +RDebugUtils.currentLine=1507368; + //BA.debugLineNum = 1507368;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_V"; +_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)("COORDS_ALMACEN"),(Object)(BA.NumberToString(_lon)+","+BA.NumberToString(_lat))})); + } +}; + }; + }; +RDebugUtils.currentLine=1507374; + //BA.debugLineNum = 1507374;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=1507375; + //BA.debugLineNum = 1507375;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=1507376; + //BA.debugLineNum = 1507376;BA.debugLine="If result.Tag = \"usuario\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("usuario"))) { +RDebugUtils.currentLine=1507377; + //BA.debugLineNum = 1507377;BA.debugLine="For Each records() As Object In result.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group44 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen44 = group44.getSize() +;int index44 = 0; +; +for (; index44 < groupLen44;index44++){ +_records = (Object[])(group44.Get(index44)); +RDebugUtils.currentLine=1507378; + //BA.debugLineNum = 1507378;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"))))]); +RDebugUtils.currentLine=1507379; + //BA.debugLineNum = 1507379;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"))))]); +RDebugUtils.currentLine=1507380; + //BA.debugLineNum = 1507380;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"))))]); + } +}; +RDebugUtils.currentLine=1507382; + //BA.debugLineNum = 1507382;BA.debugLine="paso1 = 1"; +__ref._paso1 /*String*/ = BA.NumberToString(1); + }; + }; +RDebugUtils.currentLine=1507386; + //BA.debugLineNum = 1507386;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=1507387; + //BA.debugLineNum = 1507387;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=1507388; + //BA.debugLineNum = 1507388;BA.debugLine="If result.Tag = \"contrasena\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("contrasena"))) { +RDebugUtils.currentLine=1507389; + //BA.debugLineNum = 1507389;BA.debugLine="For Each records() As Object In result.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group55 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen55 = group55.getSize() +;int index55 = 0; +; +for (; index55 < groupLen55;index55++){ +_records = (Object[])(group55.Get(index55)); +RDebugUtils.currentLine=1507390; + //BA.debugLineNum = 1507390;BA.debugLine="Dim CAT_PA_PASS As String = records(result.Co"; +_cat_pa_pass = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_PA_PASS"))))]); +RDebugUtils.currentLine=1507391; + //BA.debugLineNum = 1507391;BA.debugLine="If CAT_PA_PASS = et_codigo.Text Then"; +if ((_cat_pa_pass).equals(__ref._et_codigo /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())) { +RDebugUtils.currentLine=1507392; + //BA.debugLineNum = 1507392;BA.debugLine="Log(CAT_PA_PASS)"; +__c.LogImpl("81507392",_cat_pa_pass,0); +RDebugUtils.currentLine=1507393; + //BA.debugLineNum = 1507393;BA.debugLine="p_validacion.Visible = False"; +__ref._p_validacion /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=1507394; + //BA.debugLineNum = 1507394;BA.debugLine="et_codigo.Text = \"\""; +__ref._et_codigo /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=1507396; + //BA.debugLineNum = 1507396;BA.debugLine="Subs.panelVisible(P_CIEGO,0,0)"; +_subs._panelvisible /*String*/ (ba,__ref._p_ciego /*anywheresoftware.b4a.objects.PanelWrapper*/ ,(int) (0),(int) (0)); + }else { +RDebugUtils.currentLine=1507399; + //BA.debugLineNum = 1507399;BA.debugLine="MsgboxAsync(\"Contraseña incorrecta\",\"Atenció"; +__c.MsgboxAsync(BA.ObjectToCharSequence("Contraseña incorrecta"),BA.ObjectToCharSequence("Atención"),ba); + }; + } +}; + }; + }; +RDebugUtils.currentLine=1507448; + //BA.debugLineNum = 1507448;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=1507449; + //BA.debugLineNum = 1507449;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=1507450; + //BA.debugLineNum = 1507450;BA.debugLine="If result.Tag = \"estatus\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("estatus"))) { +RDebugUtils.currentLine=1507451; + //BA.debugLineNum = 1507451;BA.debugLine="For Each records() As Object In result.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group71 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen71 = group71.getSize() +;int index71 = 0; +; +for (; index71 < groupLen71;index71++){ +_records = (Object[])(group71.Get(index71)); +RDebugUtils.currentLine=1507452; + //BA.debugLineNum = 1507452;BA.debugLine="Dim hvd_estatus As String = records(result.Co"; +_hvd_estatus = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_ESTATUS"))))]); +RDebugUtils.currentLine=1507453; + //BA.debugLineNum = 1507453;BA.debugLine="If hvd_estatus = \"Liquidado\" Then"; +if ((_hvd_estatus).equals("Liquidado")) { +RDebugUtils.currentLine=1507455; + //BA.debugLineNum = 1507455;BA.debugLine="MsgboxAsync(\"La venta ya fue liquidada\",\"Ate"; +__c.MsgboxAsync(BA.ObjectToCharSequence("La venta ya fue liquidada"),BA.ObjectToCharSequence("Atención"),ba); + }else { +RDebugUtils.currentLine=1507457; + //BA.debugLineNum = 1507457;BA.debugLine="enviarmonto"; +__ref._enviarmonto /*String*/ (null); + }; + } +}; + }; + }; +RDebugUtils.currentLine=1507463; + //BA.debugLineNum = 1507463;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=1507464; + //BA.debugLineNum = 1507464;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=1507465; + //BA.debugLineNum = 1507465;BA.debugLine="If result.Tag = \"estatus2\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("estatus2"))) { +RDebugUtils.currentLine=1507466; + //BA.debugLineNum = 1507466;BA.debugLine="For Each records() As Object In result.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group84 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen84 = group84.getSize() +;int index84 = 0; +; +for (; index84 < groupLen84;index84++){ +_records = (Object[])(group84.Get(index84)); +RDebugUtils.currentLine=1507467; + //BA.debugLineNum = 1507467;BA.debugLine="Dim hvd_estatus As String = records(result.Co"; +_hvd_estatus = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_ESTATUS"))))]); +RDebugUtils.currentLine=1507468; + //BA.debugLineNum = 1507468;BA.debugLine="If hvd_estatus = \"Liquidado\" Then"; +if ((_hvd_estatus).equals("Liquidado")) { +RDebugUtils.currentLine=1507470; + //BA.debugLineNum = 1507470;BA.debugLine="MsgboxAsync(\"La venta ya fue liquidada\",\"Ate"; +__c.MsgboxAsync(BA.ObjectToCharSequence("La venta ya fue liquidada"),BA.ObjectToCharSequence("Atención"),ba); + }else { +RDebugUtils.currentLine=1507472; + //BA.debugLineNum = 1507472;BA.debugLine="passaquci"; +__ref._passaquci /*String*/ (null); + }; + } +}; + }; + }; +RDebugUtils.currentLine=1507478; + //BA.debugLineNum = 1507478;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=1507479; + //BA.debugLineNum = 1507479;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=1507480; + //BA.debugLineNum = 1507480;BA.debugLine="If result.Tag = \"SelectMontoLiq\" Then"; +if ((_result.Tag /*Object*/ ).equals((Object)("SelectMontoLiq"))) { +RDebugUtils.currentLine=1507481; + //BA.debugLineNum = 1507481;BA.debugLine="For Each records() As Object In result.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group97 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen97 = group97.getSize() +;int index97 = 0; +; +for (; index97 < groupLen97;index97++){ +_records = (Object[])(group97.Get(index97)); +RDebugUtils.currentLine=1507482; + //BA.debugLineNum = 1507482;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"))))]); +RDebugUtils.currentLine=1507484; + //BA.debugLineNum = 1507484;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +__c.DateTime.setDateFormat("MM/dd/yyyy"); +RDebugUtils.currentLine=1507485; + //BA.debugLineNum = 1507485;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=1507486; + //BA.debugLineNum = 1507486;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=1507487; + //BA.debugLineNum = 1507487;BA.debugLine="Private f As Cursor=Starter.skmt.ExecQuery(\"s"; +_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 RUTAA from RUTAA"))); +RDebugUtils.currentLine=1507488; + //BA.debugLineNum = 1507488;BA.debugLine="f.Position=0"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=1507489; + //BA.debugLineNum = 1507489;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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select ID_ALMACEN from CAT_ALMACEN"))); +RDebugUtils.currentLine=1507490; + //BA.debugLineNum = 1507490;BA.debugLine="a.Position = 0"; +__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=1507492; + //BA.debugLineNum = 1507492;BA.debugLine="Private c2 As Cursor"; +_c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=1507493; + //BA.debugLineNum = 1507493;BA.debugLine="c2=Starter.skmt.ExecQuery(\"select USUARIO fro"; +_c2 = (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=1507494; + //BA.debugLineNum = 1507494;BA.debugLine="c2.Position=0"; +_c2.setPosition((int) (0)); +RDebugUtils.currentLine=1507495; + //BA.debugLineNum = 1507495;BA.debugLine="If c2.RowCount > 0 Then c2.GetString(\"USUARIO"; +if (_c2.getRowCount()>0) { +_c2.GetString("USUARIO");}; +RDebugUtils.currentLine=1507497; + //BA.debugLineNum = 1507497;BA.debugLine="Log(CUENTA & \"----------------------!!\")"; +__c.LogImpl("81507497",_cuenta+"----------------------!!",0); +RDebugUtils.currentLine=1507498; + //BA.debugLineNum = 1507498;BA.debugLine="If CUENTA = \"0\" Then"; +if ((_cuenta).equals("0")) { + }else +{RDebugUtils.currentLine=1507513; + //BA.debugLineNum = 1507513;BA.debugLine="Else if CUENTA > \"0\" Then"; +if ((double)(Double.parseDouble(_cuenta))>(double)(Double.parseDouble("0"))) { + }} +; +RDebugUtils.currentLine=1507531; + //BA.debugLineNum = 1507531;BA.debugLine="f.Close"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=1507532; + //BA.debugLineNum = 1507532;BA.debugLine="a.Close"; +__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + } +}; + }; + }; +RDebugUtils.currentLine=1507537; + //BA.debugLineNum = 1507537;BA.debugLine="Job.Release"; +_job._release /*String*/ (null); + }; +RDebugUtils.currentLine=1507540; + //BA.debugLineNum = 1507540;BA.debugLine="If paso1 = 1 Then"; +if ((__ref._paso1 /*String*/ ).equals(BA.NumberToString(1))) { +RDebugUtils.currentLine=1507541; + //BA.debugLineNum = 1507541;BA.debugLine="If name = \"OKActivo\" Then"; +if ((_name).equals("OKActivo")) { +RDebugUtils.currentLine=1507542; + //BA.debugLineNum = 1507542;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from usuarioa"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from usuarioa"); +RDebugUtils.currentLine=1507543; + //BA.debugLineNum = 1507543;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO USUARIO"; +_starter._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=1507544; + //BA.debugLineNum = 1507544;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_alma"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_almacen"); +RDebugUtils.currentLine=1507545; + //BA.debugLineNum = 1507545;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_ALM"; +_starter._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=1507546; + //BA.debugLineNum = 1507546;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +_b4xpages._showpage /*String*/ (ba,"Principal"); + }else +{RDebugUtils.currentLine=1507547; + //BA.debugLineNum = 1507547;BA.debugLine="Else If name = \"OKExpirado\"& IMEI Then"; +if ((_name).equals("OKExpirado"+__ref._imei /*String*/ )) { +RDebugUtils.currentLine=1507548; + //BA.debugLineNum = 1507548;BA.debugLine="Msgbox(\"Usuario Expirado llamar al administrado"; +__c.Msgbox(BA.ObjectToCharSequence("Usuario Expirado llamar al administrador"),BA.ObjectToCharSequence(""),ba); + }else +{RDebugUtils.currentLine=1507549; + //BA.debugLineNum = 1507549;BA.debugLine="Else If name = \"OKCancelado\"& IMEI Then"; +if ((_name).equals("OKCancelado"+__ref._imei /*String*/ )) { +RDebugUtils.currentLine=1507550; + //BA.debugLineNum = 1507550;BA.debugLine="Msgbox(\"Usuario Cancelado llamar al administrad"; +__c.Msgbox(BA.ObjectToCharSequence("Usuario Cancelado llamar al administrador"),BA.ObjectToCharSequence(""),ba); + }else { +RDebugUtils.currentLine=1507552; + //BA.debugLineNum = 1507552;BA.debugLine="Msgbox(\"Usuario o password No validos\",\"\") 'ign"; +__c.Msgbox(BA.ObjectToCharSequence("Usuario o password No validos"),BA.ObjectToCharSequence(""),ba); + }}} +; +RDebugUtils.currentLine=1507554; + //BA.debugLineNum = 1507554;BA.debugLine="paso1 = 0"; +__ref._paso1 /*String*/ = BA.NumberToString(0); + }; +RDebugUtils.currentLine=1507556; + //BA.debugLineNum = 1507556;BA.debugLine="End Sub"; +return ""; +} +public String _passaquci(reparto_izca.keymon.lat.b4xmainpage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "passaquci", false)) + {return ((String) Debug.delegate(ba, "passaquci", null));} +RDebugUtils.currentLine=2883584; + //BA.debugLineNum = 2883584;BA.debugLine="Sub passaquci"; +RDebugUtils.currentLine=2883585; + //BA.debugLineNum = 2883585;BA.debugLine="f=Starter.skmt.ExecQuery(\"select CAT_CL_RUTA from"; +__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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_RUTA from kmt_info"))); +RDebugUtils.currentLine=2883586; + //BA.debugLineNum = 2883586;BA.debugLine="f.Position=0"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=2883588; + //BA.debugLineNum = 2883588;BA.debugLine="a=Starter.skmt.ExecQuery(\"select ID_ALMACEN from"; +__ref._a /*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=2883589; + //BA.debugLineNum = 2883589;BA.debugLine="If a.RowCount>0 Then"; +if (__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=2883590; + //BA.debugLineNum = 2883590;BA.debugLine="a.Position=0"; +__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); + }; +RDebugUtils.currentLine=2883592; + //BA.debugLineNum = 2883592;BA.debugLine="Log(a.GetString(\"ID_ALMACEN\"))"; +__c.LogImpl("82883592",__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("ID_ALMACEN"),0); +RDebugUtils.currentLine=2883593; + //BA.debugLineNum = 2883593;BA.debugLine="Log(f.GetString(\"CAT_CL_RUTA\"))"; +__c.LogImpl("82883593",__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_RUTA"),0); +RDebugUtils.currentLine=2883608; + //BA.debugLineNum = 2883608;BA.debugLine="End Sub"; +return ""; +} +public String _lv_server_itemclick(reparto_izca.keymon.lat.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=1966080; + //BA.debugLineNum = 1966080;BA.debugLine="Private Sub lv_server_ItemClick (Position As Int,"; +RDebugUtils.currentLine=1966081; + //BA.debugLineNum = 1966081;BA.debugLine="server = Value"; +__ref._server /*String*/ = BA.ObjectToString(_value); +RDebugUtils.currentLine=1966083; + //BA.debugLineNum = 1966083;BA.debugLine="et_server.Text = Value"; +__ref._et_server /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(_value)); +RDebugUtils.currentLine=1966084; + //BA.debugLineNum = 1966084;BA.debugLine="reqManager.Initialize(Me, Value)"; +__ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._initialize /*String*/ (null,ba,this,BA.ObjectToString(_value)); +RDebugUtils.currentLine=1966085; + //BA.debugLineNum = 1966085;BA.debugLine="LogColor($\"ReqServer = ${Value}\"$, Colors.red)"; +__c.LogImpl("81966085",("ReqServer = "+__c.SmartStringFormatter("",_value)+""),__c.Colors.Red); +RDebugUtils.currentLine=1966086; + //BA.debugLineNum = 1966086;BA.debugLine="ToastMessageShow(\"Servidor modificado\", False)"; +__c.ToastMessageShow(BA.ObjectToCharSequence("Servidor modificado"),__c.False); +RDebugUtils.currentLine=1966087; + //BA.debugLineNum = 1966087;BA.debugLine="End Sub"; +return ""; +} +public String _p_add_monto_click(reparto_izca.keymon.lat.b4xmainpage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "p_add_monto_click", false)) + {return ((String) Debug.delegate(ba, "p_add_monto_click", null));} +RDebugUtils.currentLine=2293760; + //BA.debugLineNum = 2293760;BA.debugLine="Private Sub p_add_monto_Click"; +RDebugUtils.currentLine=2293762; + //BA.debugLineNum = 2293762;BA.debugLine="End Sub"; +return ""; +} +public String _p_ciego_click(reparto_izca.keymon.lat.b4xmainpage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "p_ciego_click", false)) + {return ((String) Debug.delegate(ba, "p_ciego_click", null));} +RDebugUtils.currentLine=2752512; + //BA.debugLineNum = 2752512;BA.debugLine="Private Sub P_CIEGO_Click"; +RDebugUtils.currentLine=2752514; + //BA.debugLineNum = 2752514;BA.debugLine="End Sub"; +return ""; +} +public String _p_validacion_click(reparto_izca.keymon.lat.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=3014656; + //BA.debugLineNum = 3014656;BA.debugLine="Private Sub p_validacion_Click"; +RDebugUtils.currentLine=3014658; + //BA.debugLineNum = 3014658;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/b4xorderedmap.java b/B4A/Objects/src/reparto_izca/keymon/lat/b4xorderedmap.java new file mode 100644 index 0000000..7864407 --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/b4xorderedmap.java @@ -0,0 +1,283 @@ +package reparto_izca.keymon.lat; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.B4AClass; +import anywheresoftware.b4a.BALayout; +import anywheresoftware.b4a.debug.*; + +public class b4xorderedmap 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, "reparto_izca.keymon.lat.b4xorderedmap"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", reparto_izca.keymon.lat.b4xorderedmap.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.collections.Map _map = null; +public anywheresoftware.b4a.objects.collections.List _list = null; +public b4a.example.dateutils _dateutils = null; +public reparto_izca.keymon.lat.main _main = null; +public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; +public reparto_izca.keymon.lat.foto _foto = null; +public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_izca.keymon.lat.starter _starter = null; +public reparto_izca.keymon.lat.tracker _tracker = null; +public reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public anywheresoftware.b4a.objects.collections.List _getkeys(reparto_izca.keymon.lat.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=33947648; + //BA.debugLineNum = 33947648;BA.debugLine="Public Sub getKeys As List"; +RDebugUtils.currentLine=33947649; + //BA.debugLineNum = 33947649;BA.debugLine="Return list"; +if (true) return __ref._list /*anywheresoftware.b4a.objects.collections.List*/ ; +RDebugUtils.currentLine=33947650; + //BA.debugLineNum = 33947650;BA.debugLine="End Sub"; +return null; +} +public Object _get(reparto_izca.keymon.lat.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=34013184; + //BA.debugLineNum = 34013184;BA.debugLine="Public Sub Get (Key As Object) As Object"; +RDebugUtils.currentLine=34013185; + //BA.debugLineNum = 34013185;BA.debugLine="Return map.Get(Key)"; +if (true) return __ref._map /*anywheresoftware.b4a.objects.collections.Map*/ .Get(_key); +RDebugUtils.currentLine=34013186; + //BA.debugLineNum = 34013186;BA.debugLine="End Sub"; +return null; +} +public String _put(reparto_izca.keymon.lat.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=33751040; + //BA.debugLineNum = 33751040;BA.debugLine="Public Sub Put (Key As Object, Value As Object)"; +RDebugUtils.currentLine=33751041; + //BA.debugLineNum = 33751041;BA.debugLine="If map.ContainsKey(Key) = False Then"; +if (__ref._map /*anywheresoftware.b4a.objects.collections.Map*/ .ContainsKey(_key)==__c.False) { +RDebugUtils.currentLine=33751042; + //BA.debugLineNum = 33751042;BA.debugLine="list.Add(Key)"; +__ref._list /*anywheresoftware.b4a.objects.collections.List*/ .Add(_key); + }; +RDebugUtils.currentLine=33751044; + //BA.debugLineNum = 33751044;BA.debugLine="map.Put(Key, Value)"; +__ref._map /*anywheresoftware.b4a.objects.collections.Map*/ .Put(_key,_value); +RDebugUtils.currentLine=33751045; + //BA.debugLineNum = 33751045;BA.debugLine="End Sub"; +return ""; +} +public String _initialize(reparto_izca.keymon.lat.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=33685504; + //BA.debugLineNum = 33685504;BA.debugLine="Public Sub Initialize"; +RDebugUtils.currentLine=33685505; + //BA.debugLineNum = 33685505;BA.debugLine="map.Initialize"; +__ref._map /*anywheresoftware.b4a.objects.collections.Map*/ .Initialize(); +RDebugUtils.currentLine=33685506; + //BA.debugLineNum = 33685506;BA.debugLine="list.Initialize"; +__ref._list /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=33685507; + //BA.debugLineNum = 33685507;BA.debugLine="End Sub"; +return ""; +} +public String _clear(reparto_izca.keymon.lat.b4xorderedmap __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xorderedmap"; +if (Debug.shouldDelegate(ba, "clear", true)) + {return ((String) Debug.delegate(ba, "clear", null));} +RDebugUtils.currentLine=33882112; + //BA.debugLineNum = 33882112;BA.debugLine="Public Sub Clear"; +RDebugUtils.currentLine=33882113; + //BA.debugLineNum = 33882113;BA.debugLine="list.Clear"; +__ref._list /*anywheresoftware.b4a.objects.collections.List*/ .Clear(); +RDebugUtils.currentLine=33882114; + //BA.debugLineNum = 33882114;BA.debugLine="map.Clear"; +__ref._map /*anywheresoftware.b4a.objects.collections.Map*/ .Clear(); +RDebugUtils.currentLine=33882115; + //BA.debugLineNum = 33882115;BA.debugLine="End Sub"; +return ""; +} +public boolean _containskey(reparto_izca.keymon.lat.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=34144256; + //BA.debugLineNum = 34144256;BA.debugLine="Public Sub ContainsKey (Key As Object) As Boolean"; +RDebugUtils.currentLine=34144257; + //BA.debugLineNum = 34144257;BA.debugLine="Return map.ContainsKey(Key)"; +if (true) return __ref._map /*anywheresoftware.b4a.objects.collections.Map*/ .ContainsKey(_key); +RDebugUtils.currentLine=34144258; + //BA.debugLineNum = 34144258;BA.debugLine="End Sub"; +return false; +} +public int _getsize(reparto_izca.keymon.lat.b4xorderedmap __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xorderedmap"; +if (Debug.shouldDelegate(ba, "getsize", true)) + {return ((Integer) Debug.delegate(ba, "getsize", null));} +RDebugUtils.currentLine=34209792; + //BA.debugLineNum = 34209792;BA.debugLine="Public Sub getSize As Int"; +RDebugUtils.currentLine=34209793; + //BA.debugLineNum = 34209793;BA.debugLine="Return map.Size"; +if (true) return __ref._map /*anywheresoftware.b4a.objects.collections.Map*/ .getSize(); +RDebugUtils.currentLine=34209794; + //BA.debugLineNum = 34209794;BA.debugLine="End Sub"; +return 0; +} +public String _remove(reparto_izca.keymon.lat.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=33816576; + //BA.debugLineNum = 33816576;BA.debugLine="Public Sub Remove (Key As Object)"; +RDebugUtils.currentLine=33816577; + //BA.debugLineNum = 33816577;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=33816578; + //BA.debugLineNum = 33816578;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=33816579; + //BA.debugLineNum = 33816579;BA.debugLine="map.Remove(Key)"; +__ref._map /*anywheresoftware.b4a.objects.collections.Map*/ .Remove(_key); +RDebugUtils.currentLine=33816580; + //BA.debugLineNum = 33816580;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.objects.collections.List _getvalues(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=34275328; + //BA.debugLineNum = 34275328;BA.debugLine="Public Sub getValues As List"; +RDebugUtils.currentLine=34275329; + //BA.debugLineNum = 34275329;BA.debugLine="Dim res As List"; +_res = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=34275330; + //BA.debugLineNum = 34275330;BA.debugLine="res.Initialize"; +_res.Initialize(); +RDebugUtils.currentLine=34275331; + //BA.debugLineNum = 34275331;BA.debugLine="For Each key As Object In 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); +RDebugUtils.currentLine=34275332; + //BA.debugLineNum = 34275332;BA.debugLine="res.Add(map.Get(key))"; +_res.Add(__ref._map /*anywheresoftware.b4a.objects.collections.Map*/ .Get(_key)); + } +}; +RDebugUtils.currentLine=34275334; + //BA.debugLineNum = 34275334;BA.debugLine="Return res"; +if (true) return _res; +RDebugUtils.currentLine=34275335; + //BA.debugLineNum = 34275335;BA.debugLine="End Sub"; +return null; +} +public String _class_globals(reparto_izca.keymon.lat.b4xorderedmap __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xorderedmap"; +RDebugUtils.currentLine=33619968; + //BA.debugLineNum = 33619968;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=33619969; + //BA.debugLineNum = 33619969;BA.debugLine="Private map As Map"; +_map = new anywheresoftware.b4a.objects.collections.Map(); +RDebugUtils.currentLine=33619970; + //BA.debugLineNum = 33619970;BA.debugLine="Private list As List"; +_list = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=33619971; + //BA.debugLineNum = 33619971;BA.debugLine="End Sub"; +return ""; +} +public Object _getdataforserializator(reparto_izca.keymon.lat.b4xorderedmap __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xorderedmap"; +if (Debug.shouldDelegate(ba, "getdataforserializator", true)) + {return ((Object) Debug.delegate(ba, "getdataforserializator", null));} +RDebugUtils.currentLine=34340864; + //BA.debugLineNum = 34340864;BA.debugLine="Public Sub GetDataForSerializator As Object"; +RDebugUtils.currentLine=34340865; + //BA.debugLineNum = 34340865;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=34340866; + //BA.debugLineNum = 34340866;BA.debugLine="End Sub"; +return null; +} +public Object _getdefault(reparto_izca.keymon.lat.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=34078720; + //BA.debugLineNum = 34078720;BA.debugLine="Public Sub GetDefault (Key As Object, DefaultValue"; +RDebugUtils.currentLine=34078721; + //BA.debugLineNum = 34078721;BA.debugLine="Return map.GetDefault(Key, DefaultValue)"; +if (true) return __ref._map /*anywheresoftware.b4a.objects.collections.Map*/ .GetDefault(_key,_defaultvalue); +RDebugUtils.currentLine=34078722; + //BA.debugLineNum = 34078722;BA.debugLine="End Sub"; +return null; +} +public String _setdatafromserializator(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=34406400; + //BA.debugLineNum = 34406400;BA.debugLine="Public Sub SetDataFromSerializator (Data As Object"; +RDebugUtils.currentLine=34406401; + //BA.debugLineNum = 34406401;BA.debugLine="Dim o() As Object = Data"; +_o = (Object[])(_data); +RDebugUtils.currentLine=34406402; + //BA.debugLineNum = 34406402;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=34406403; + //BA.debugLineNum = 34406403;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=34406404; + //BA.debugLineNum = 34406404;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/b4xpages.java b/B4A/Objects/src/reparto_izca/keymon/lat/b4xpages.java new file mode 100644 index 0000000..f498587 --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/b4xpages.java @@ -0,0 +1,216 @@ +package reparto_izca.keymon.lat; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.BALayout; +import anywheresoftware.b4a.debug.*; + +public class b4xpages { +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 static Object _mpm = null; +public static reparto_izca.keymon.lat.b4xpagesdelegator _delegate = null; +public static Object _globalcontext = null; +public b4a.example.dateutils _dateutils = null; +public reparto_izca.keymon.lat.main _main = null; +public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; +public reparto_izca.keymon.lat.foto _foto = null; +public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_izca.keymon.lat.starter _starter = null; +public reparto_izca.keymon.lat.tracker _tracker = null; +public reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public static String _showpage(anywheresoftware.b4a.BA _ba,String _id) throws Exception{ +RDebugUtils.currentModule="b4xpages"; +if (Debug.shouldDelegate(null, "showpage", true)) + {return ((String) Debug.delegate(null, "showpage", new Object[] {_ba,_id}));} +RDebugUtils.currentLine=29884416; + //BA.debugLineNum = 29884416;BA.debugLine="Public Sub ShowPage (Id As String)"; +RDebugUtils.currentLine=29884417; + //BA.debugLineNum = 29884417;BA.debugLine="GetManager.ShowPage(Id)"; +_getmanager(_ba)._showpage /*String*/ (null,_id); +RDebugUtils.currentLine=29884418; + //BA.debugLineNum = 29884418;BA.debugLine="End Sub"; +return ""; +} +public static reparto_izca.keymon.lat.b4xmainpage _mainpage(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="b4xpages"; +if (Debug.shouldDelegate(null, "mainpage", true)) + {return ((reparto_izca.keymon.lat.b4xmainpage) Debug.delegate(null, "mainpage", new Object[] {_ba}));} +RDebugUtils.currentLine=30146560; + //BA.debugLineNum = 30146560;BA.debugLine="Public Sub MainPage As B4XMainPage"; +RDebugUtils.currentLine=30146561; + //BA.debugLineNum = 30146561;BA.debugLine="Return GetManager.MainPage"; +if (true) return _getmanager(_ba)._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ ; +RDebugUtils.currentLine=30146562; + //BA.debugLineNum = 30146562;BA.debugLine="End Sub"; +return null; +} +public static reparto_izca.keymon.lat.b4xpagesmanager _getmanager(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="b4xpages"; +if (Debug.shouldDelegate(null, "getmanager", true)) + {return ((reparto_izca.keymon.lat.b4xpagesmanager) Debug.delegate(null, "getmanager", new Object[] {_ba}));} +RDebugUtils.currentLine=29491200; + //BA.debugLineNum = 29491200;BA.debugLine="Public Sub GetManager As B4XPagesManager"; +RDebugUtils.currentLine=29491201; + //BA.debugLineNum = 29491201;BA.debugLine="Return mPM"; +if (true) return (reparto_izca.keymon.lat.b4xpagesmanager)(_mpm); +RDebugUtils.currentLine=29491202; + //BA.debugLineNum = 29491202;BA.debugLine="End Sub"; +return null; +} +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=30081024; + //BA.debugLineNum = 30081024;BA.debugLine="Public Sub SetTitle (B4XPage As Object, Title As O"; +RDebugUtils.currentLine=30081025; + //BA.debugLineNum = 30081025;BA.debugLine="GetManager.SetTitle(B4XPage, Title)"; +_getmanager(_ba)._settitle /*String*/ (null,_b4xpage,_title); +RDebugUtils.currentLine=30081026; + //BA.debugLineNum = 30081026;BA.debugLine="End Sub"; +return ""; +} +public static String _addpage(anywheresoftware.b4a.BA _ba,String _id,Object _b4xpage) throws Exception{ +RDebugUtils.currentModule="b4xpages"; +if (Debug.shouldDelegate(null, "addpage", true)) + {return ((String) Debug.delegate(null, "addpage", new Object[] {_ba,_id,_b4xpage}));} +RDebugUtils.currentLine=29753344; + //BA.debugLineNum = 29753344;BA.debugLine="Public Sub AddPage (Id As String, B4XPage As Objec"; +RDebugUtils.currentLine=29753345; + //BA.debugLineNum = 29753345;BA.debugLine="GetManager.AddPage(Id, B4XPage)"; +_getmanager(_ba)._addpage /*String*/ (null,_id,_b4xpage); +RDebugUtils.currentLine=29753346; + //BA.debugLineNum = 29753346;BA.debugLine="End Sub"; +return ""; +} +public static reparto_izca.keymon.lat.b4xpagesmanager._b4amenuitem _addmenuitem(anywheresoftware.b4a.BA _ba,Object _b4xpage,Object _title) throws Exception{ +RDebugUtils.currentModule="b4xpages"; +if (Debug.shouldDelegate(null, "addmenuitem", true)) + {return ((reparto_izca.keymon.lat.b4xpagesmanager._b4amenuitem) Debug.delegate(null, "addmenuitem", new Object[] {_ba,_b4xpage,_title}));} +RDebugUtils.currentLine=30277632; + //BA.debugLineNum = 30277632;BA.debugLine="Public Sub AddMenuItem(B4XPage As Object, Title As"; +RDebugUtils.currentLine=30277633; + //BA.debugLineNum = 30277633;BA.debugLine="Return GetManager.AddMenuItem(B4XPage, Title)"; +if (true) return _getmanager(_ba)._addmenuitem /*reparto_izca.keymon.lat.b4xpagesmanager._b4amenuitem*/ (null,_b4xpage,_title); +RDebugUtils.currentLine=30277634; + //BA.debugLineNum = 30277634;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=29818880; + //BA.debugLineNum = 29818880;BA.debugLine="Public Sub AddPageAndCreate (Id As String, B4XPage"; +RDebugUtils.currentLine=29818881; + //BA.debugLineNum = 29818881;BA.debugLine="GetManager.AddPageAndCreate(Id, B4XPage)"; +_getmanager(_ba)._addpageandcreate /*String*/ (null,_id,_b4xpage); +RDebugUtils.currentLine=29818882; + //BA.debugLineNum = 29818882;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=30015488; + //BA.debugLineNum = 30015488;BA.debugLine="Public Sub ClosePage (B4XPage As Object)"; +RDebugUtils.currentLine=30015489; + //BA.debugLineNum = 30015489;BA.debugLine="GetManager.ClosePage (B4XPage)"; +_getmanager(_ba)._closepage /*String*/ (null,_b4xpage); +RDebugUtils.currentLine=30015490; + //BA.debugLineNum = 30015490;BA.debugLine="End Sub"; +return ""; +} +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=30212096; + //BA.debugLineNum = 30212096;BA.debugLine="Public Sub GetNativeParent (B4XPage As Object) As"; +RDebugUtils.currentLine=30212104; + //BA.debugLineNum = 30212104;BA.debugLine="Return GetManager.FindPIFromB4XPage(B4XPage).Pare"; +if (true) return _getmanager(_ba)._findpifromb4xpage /*reparto_izca.keymon.lat.b4xpagesmanager._b4xpageinfo*/ (null,_b4xpage).Parent /*reparto_izca.keymon.lat.b4xpagesmanager._b4xpageparent*/ .NativeType /*anywheresoftware.b4a.objects.ActivityWrapper*/ ; +RDebugUtils.currentLine=30212105; + //BA.debugLineNum = 30212105;BA.debugLine="End Sub"; +return null; +} +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=29622272; + //BA.debugLineNum = 29622272;BA.debugLine="Public Sub GetPage (Id As String) As Object"; +RDebugUtils.currentLine=29622273; + //BA.debugLineNum = 29622273;BA.debugLine="Return GetManager.GetPage(Id)"; +if (true) return _getmanager(_ba)._getpage /*Object*/ (null,_id); +RDebugUtils.currentLine=29622274; + //BA.debugLineNum = 29622274;BA.debugLine="End Sub"; +return null; +} +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=29687808; + //BA.debugLineNum = 29687808;BA.debugLine="Public Sub GetPageId (B4XPage As Object) As String"; +RDebugUtils.currentLine=29687809; + //BA.debugLineNum = 29687809;BA.debugLine="Return GetManager.FindPIFromB4XPage(B4XPage).Id"; +if (true) return _getmanager(_ba)._findpifromb4xpage /*reparto_izca.keymon.lat.b4xpagesmanager._b4xpageinfo*/ (null,_b4xpage).Id /*String*/ ; +RDebugUtils.currentLine=29687810; + //BA.debugLineNum = 29687810;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=29556736; + //BA.debugLineNum = 29556736;BA.debugLine="Public Sub InternalSetPagesManager(PM As Object)"; +RDebugUtils.currentLine=29556737; + //BA.debugLineNum = 29556737;BA.debugLine="Delegate.Initialize"; +_delegate._initialize /*String*/ (null,(_ba.processBA == null ? _ba : _ba.processBA)); +RDebugUtils.currentLine=29556738; + //BA.debugLineNum = 29556738;BA.debugLine="mPM = PM"; +_mpm = _pm; +RDebugUtils.currentLine=29556739; + //BA.debugLineNum = 29556739;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=29425664; + //BA.debugLineNum = 29425664;BA.debugLine="Public Sub IsInitialized As Boolean"; +RDebugUtils.currentLine=29425665; + //BA.debugLineNum = 29425665;BA.debugLine="Return mPM Is B4XPagesManager"; +if (true) return _mpm instanceof reparto_izca.keymon.lat.b4xpagesmanager; +RDebugUtils.currentLine=29425666; + //BA.debugLineNum = 29425666;BA.debugLine="End Sub"; +return false; +} +public static String _showpageandremovepreviouspages(anywheresoftware.b4a.BA _ba,String _id) throws Exception{ +RDebugUtils.currentModule="b4xpages"; +if (Debug.shouldDelegate(null, "showpageandremovepreviouspages", true)) + {return ((String) Debug.delegate(null, "showpageandremovepreviouspages", new Object[] {_ba,_id}));} +RDebugUtils.currentLine=29949952; + //BA.debugLineNum = 29949952;BA.debugLine="Public Sub ShowPageAndRemovePreviousPages (Id As S"; +RDebugUtils.currentLine=29949953; + //BA.debugLineNum = 29949953;BA.debugLine="GetManager.ShowPageAndRemovePreviousPages (Id)"; +_getmanager(_ba)._showpageandremovepreviouspages /*String*/ (null,_id); +RDebugUtils.currentLine=29949954; + //BA.debugLineNum = 29949954;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/b4xpagesdelegator.java b/B4A/Objects/src/reparto_izca/keymon/lat/b4xpagesdelegator.java new file mode 100644 index 0000000..c2152f0 --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/b4xpagesdelegator.java @@ -0,0 +1,165 @@ +package reparto_izca.keymon.lat; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.B4AClass; +import anywheresoftware.b4a.BALayout; +import anywheresoftware.b4a.debug.*; + +public class b4xpagesdelegator 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, "reparto_izca.keymon.lat.b4xpagesdelegator"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", reparto_izca.keymon.lat.b4xpagesdelegator.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 b4a.example.dateutils _dateutils = null; +public reparto_izca.keymon.lat.main _main = null; +public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; +public reparto_izca.keymon.lat.foto _foto = null; +public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_izca.keymon.lat.starter _starter = null; +public reparto_izca.keymon.lat.tracker _tracker = null; +public reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public String _activity_actionbarhomeclick(reparto_izca.keymon.lat.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=35258368; + //BA.debugLineNum = 35258368;BA.debugLine="Public Sub Activity_ActionBarHomeClick"; +RDebugUtils.currentLine=35258369; + //BA.debugLineNum = 35258369;BA.debugLine="B4XPages.GetManager.Activity_ActionBarHomeClick"; +_b4xpages._getmanager /*reparto_izca.keymon.lat.b4xpagesmanager*/ (getActivityBA())._activity_actionbarhomeclick /*String*/ (null); +RDebugUtils.currentLine=35258370; + //BA.debugLineNum = 35258370;BA.debugLine="End Sub"; +return ""; +} +public boolean _activity_keypress(reparto_izca.keymon.lat.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=35127296; + //BA.debugLineNum = 35127296;BA.debugLine="Public Sub Activity_KeyPress (KeyCode As Int) As B"; +RDebugUtils.currentLine=35127297; + //BA.debugLineNum = 35127297;BA.debugLine="Return B4XPages.GetManager.Activity_KeyPress (Key"; +if (true) return _b4xpages._getmanager /*reparto_izca.keymon.lat.b4xpagesmanager*/ (getActivityBA())._activity_keypress /*boolean*/ (null,_keycode); +RDebugUtils.currentLine=35127298; + //BA.debugLineNum = 35127298;BA.debugLine="End Sub"; +return false; +} +public String _activity_pause(reparto_izca.keymon.lat.b4xpagesdelegator __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesdelegator"; +RDebugUtils.currentLine=35520512; + //BA.debugLineNum = 35520512;BA.debugLine="Public Sub Activity_Pause"; +RDebugUtils.currentLine=35520513; + //BA.debugLineNum = 35520513;BA.debugLine="B4XPages.GetManager.Activity_Pause"; +_b4xpages._getmanager /*reparto_izca.keymon.lat.b4xpagesmanager*/ (getActivityBA())._activity_pause /*String*/ (null); +RDebugUtils.currentLine=35520514; + //BA.debugLineNum = 35520514;BA.debugLine="End Sub"; +return ""; +} +public String _activity_permissionresult(reparto_izca.keymon.lat.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=35192832; + //BA.debugLineNum = 35192832;BA.debugLine="Sub Activity_PermissionResult (Permission As Strin"; +RDebugUtils.currentLine=35192833; + //BA.debugLineNum = 35192833;BA.debugLine="B4XPages.GetManager.RaiseEvent(B4XPages.GetManage"; +_b4xpages._getmanager /*reparto_izca.keymon.lat.b4xpagesmanager*/ (getActivityBA())._raiseevent /*String*/ (null,_b4xpages._getmanager /*reparto_izca.keymon.lat.b4xpagesmanager*/ (getActivityBA())._gettoppage /*reparto_izca.keymon.lat.b4xpagesmanager._b4xpageinfo*/ (null),"B4XPage_PermissionResult",new Object[]{(Object)(_permission),(Object)(_result)}); +RDebugUtils.currentLine=35192834; + //BA.debugLineNum = 35192834;BA.debugLine="End Sub"; +return ""; +} +public String _activity_resume(reparto_izca.keymon.lat.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=35454976; + //BA.debugLineNum = 35454976;BA.debugLine="Public Sub Activity_Resume"; +RDebugUtils.currentLine=35454977; + //BA.debugLineNum = 35454977;BA.debugLine="B4XPages.GetManager.Activity_Resume"; +_b4xpages._getmanager /*reparto_izca.keymon.lat.b4xpagesmanager*/ (getActivityBA())._activity_resume /*String*/ (null); +RDebugUtils.currentLine=35454978; + //BA.debugLineNum = 35454978;BA.debugLine="End Sub"; +return ""; +} +public String _create_menu(reparto_izca.keymon.lat.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=35323904; + //BA.debugLineNum = 35323904;BA.debugLine="Public Sub Create_Menu (Menu As Object)"; +RDebugUtils.currentLine=35323905; + //BA.debugLineNum = 35323905;BA.debugLine="B4XPages.GetManager.CreateMenu(Menu)"; +_b4xpages._getmanager /*reparto_izca.keymon.lat.b4xpagesmanager*/ (getActivityBA())._createmenu /*String*/ (null,_menu); +RDebugUtils.currentLine=35323906; + //BA.debugLineNum = 35323906;BA.debugLine="End Sub"; +return ""; +} +public String _initialize(reparto_izca.keymon.lat.b4xpagesdelegator __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="b4xpagesdelegator"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=35061760; + //BA.debugLineNum = 35061760;BA.debugLine="Public Sub Initialize"; +RDebugUtils.currentLine=35061762; + //BA.debugLineNum = 35061762;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(reparto_izca.keymon.lat.b4xpagesdelegator __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesdelegator"; +RDebugUtils.currentLine=34996224; + //BA.debugLineNum = 34996224;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=34996225; + //BA.debugLineNum = 34996225;BA.debugLine="End Sub"; +return ""; +} +public String _mainform_resize(reparto_izca.keymon.lat.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=35389440; + //BA.debugLineNum = 35389440;BA.debugLine="Public Sub MainForm_Resize(Width As Double, Height"; +RDebugUtils.currentLine=35389441; + //BA.debugLineNum = 35389441;BA.debugLine="B4XPages.GetManager.MainForm_Resize(Width, Height"; +_b4xpages._getmanager /*reparto_izca.keymon.lat.b4xpagesmanager*/ (getActivityBA())._mainform_resize /*String*/ (null,_width,_height); +RDebugUtils.currentLine=35389442; + //BA.debugLineNum = 35389442;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/b4xpagesmanager.java b/B4A/Objects/src/reparto_izca/keymon/lat/b4xpagesmanager.java new file mode 100644 index 0000000..644675f --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/b4xpagesmanager.java @@ -0,0 +1,1560 @@ +package reparto_izca.keymon.lat; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.B4AClass; +import anywheresoftware.b4a.BALayout; +import anywheresoftware.b4a.debug.*; + +public class b4xpagesmanager 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, "reparto_izca.keymon.lat.b4xpagesmanager"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", reparto_izca.keymon.lat.b4xpagesmanager.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 static class _b4xpageparent{ +public boolean IsInitialized; +public anywheresoftware.b4a.objects.ActivityWrapper NativeType; +public anywheresoftware.b4a.objects.collections.List MenuItems; +public void Initialize() { +IsInitialized = true; +NativeType = new anywheresoftware.b4a.objects.ActivityWrapper(); +MenuItems = new anywheresoftware.b4a.objects.collections.List(); +} +@Override + public String toString() { + return BA.TypeToString(this, false); + }} +public static class _b4amenuitem{ +public boolean IsInitialized; +public Object Title; +public anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper Bitmap; +public String Tag; +public boolean AddToBar; +public anywheresoftware.b4j.object.JavaObject NativeMenuItem; +public void Initialize() { +IsInitialized = true; +Title = new Object(); +Bitmap = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(); +Tag = ""; +AddToBar = false; +NativeMenuItem = new anywheresoftware.b4j.object.JavaObject(); +} +@Override + public String toString() { + return BA.TypeToString(this, false); + }} +public static class _b4xpageinfo{ +public boolean IsInitialized; +public Object B4XPage; +public String Id; +public boolean Created; +public Object Title; +public anywheresoftware.b4a.objects.B4XViewWrapper Root; +public boolean IsFirst; +public reparto_izca.keymon.lat.b4xpagesmanager._b4xpageparent Parent; +public void Initialize() { +IsInitialized = true; +B4XPage = new Object(); +Id = ""; +Created = false; +Title = new Object(); +Root = new anywheresoftware.b4a.objects.B4XViewWrapper(); +IsFirst = false; +Parent = new reparto_izca.keymon.lat.b4xpagesmanager._b4xpageparent(); +} +@Override + public String toString() { + return BA.TypeToString(this, false); + }} +public anywheresoftware.b4a.keywords.Common __c = null; +public reparto_izca.keymon.lat.b4xorderedmap _idtob4xpage = null; +public reparto_izca.keymon.lat.b4xorderedmap _rootb4xtopage = null; +public anywheresoftware.b4j.object.JavaObject _context = null; +public reparto_izca.keymon.lat.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 reparto_izca.keymon.lat.b4xmainpage _mainpage = null; +public String _stackstring = ""; +public boolean _logevents = false; +public b4a.example.dateutils _dateutils = null; +public reparto_izca.keymon.lat.main _main = null; +public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; +public reparto_izca.keymon.lat.foto _foto = null; +public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_izca.keymon.lat.starter _starter = null; +public reparto_izca.keymon.lat.tracker _tracker = null; +public reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public String _initialize(reparto_izca.keymon.lat.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=35651584; + //BA.debugLineNum = 35651584;BA.debugLine="Public Sub Initialize (Activity As Activity)"; +RDebugUtils.currentLine=35651588; + //BA.debugLineNum = 35651588;BA.debugLine="IdToB4XPage.Initialize"; +__ref._idtob4xpage /*reparto_izca.keymon.lat.b4xorderedmap*/ ._initialize /*String*/ (null,ba); +RDebugUtils.currentLine=35651589; + //BA.debugLineNum = 35651589;BA.debugLine="RootB4XToPage.Initialize"; +__ref._rootb4xtopage /*reparto_izca.keymon.lat.b4xorderedmap*/ ._initialize /*String*/ (null,ba); +RDebugUtils.currentLine=35651590; + //BA.debugLineNum = 35651590;BA.debugLine="mStackOfPageIds.Initialize"; +__ref._mstackofpageids /*reparto_izca.keymon.lat.b4xset*/ ._initialize /*String*/ (null,ba); +RDebugUtils.currentLine=35651594; + //BA.debugLineNum = 35651594;BA.debugLine="Context.InitializeContext"; +__ref._context /*anywheresoftware.b4j.object.JavaObject*/ .InitializeContext(ba); +RDebugUtils.currentLine=35651595; + //BA.debugLineNum = 35651595;BA.debugLine="mMainForm = Activity"; +__ref._mmainform /*anywheresoftware.b4a.objects.ActivityWrapper*/ = _activity; +RDebugUtils.currentLine=35651596; + //BA.debugLineNum = 35651596;BA.debugLine="CheckMainActivityOrientations"; +__ref._checkmainactivityorientations /*String*/ (null); +RDebugUtils.currentLine=35651597; + //BA.debugLineNum = 35651597;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=35651598; + //BA.debugLineNum = 35651598;BA.debugLine="Dim module As JavaObject"; +_module = new anywheresoftware.b4j.object.JavaObject(); +RDebugUtils.currentLine=35651599; + //BA.debugLineNum = 35651599;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=35651603; + //BA.debugLineNum = 35651603;BA.debugLine="B4XPages.InternalSetPagesManager(Me)"; +_b4xpages._internalsetpagesmanager /*String*/ (ba,this); +RDebugUtils.currentLine=35651604; + //BA.debugLineNum = 35651604;BA.debugLine="MainPage.Initialize"; +__ref._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ ._initialize /*String*/ (null,ba); +RDebugUtils.currentLine=35651605; + //BA.debugLineNum = 35651605;BA.debugLine="Dim NonMainPageWasAdded As Boolean = IdToB4XPage."; +_nonmainpagewasadded = __ref._idtob4xpage /*reparto_izca.keymon.lat.b4xorderedmap*/ ._getsize /*int*/ (null)>0; +RDebugUtils.currentLine=35651606; + //BA.debugLineNum = 35651606;BA.debugLine="IdToB4XPage.Put(\"~~~~~temp~~~~\", CreateB4XPageInf"; +__ref._idtob4xpage /*reparto_izca.keymon.lat.b4xorderedmap*/ ._put /*String*/ (null,(Object)("~~~~~temp~~~~"),(Object)(__ref._createb4xpageinfo /*reparto_izca.keymon.lat.b4xpagesmanager._b4xpageinfo*/ (null,(Object)(__ref._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ ),"",__c.False,(Object)("")))); +RDebugUtils.currentLine=35651607; + //BA.debugLineNum = 35651607;BA.debugLine="BackgroundStateChanged(True)"; +__ref._backgroundstatechanged /*String*/ (null,__c.True); +RDebugUtils.currentLine=35651608; + //BA.debugLineNum = 35651608;BA.debugLine="IdToB4XPage.Remove(\"~~~~~temp~~~~\")"; +__ref._idtob4xpage /*reparto_izca.keymon.lat.b4xorderedmap*/ ._remove /*String*/ (null,(Object)("~~~~~temp~~~~")); +RDebugUtils.currentLine=35651609; + //BA.debugLineNum = 35651609;BA.debugLine="AddPageAndCreate(\"MainPage\", MainPage)"; +__ref._addpageandcreate /*String*/ (null,"MainPage",(Object)(__ref._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ )); +RDebugUtils.currentLine=35651610; + //BA.debugLineNum = 35651610;BA.debugLine="If LogEvents = False Then"; +if (__ref._logevents /*boolean*/ ==__c.False) { +RDebugUtils.currentLine=35651611; + //BA.debugLineNum = 35651611;BA.debugLine="Log(\"Call B4XPages.GetManager.LogEvents = True t"; +__c.LogImpl("935651611","Call B4XPages.GetManager.LogEvents = True to enable logging B4XPages events.",0); + }; +RDebugUtils.currentLine=35651613; + //BA.debugLineNum = 35651613;BA.debugLine="If NonMainPageWasAdded Then"; +if (_nonmainpagewasadded) { +RDebugUtils.currentLine=35651614; + //BA.debugLineNum = 35651614;BA.debugLine="If Not(xui.IsB4i) Then"; +if (__c.Not(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4i())) { +RDebugUtils.currentLine=35651615; + //BA.debugLineNum = 35651615;BA.debugLine="RaiseEvent(GetTopPage, \"B4XPage_Appear\", Null)"; +__ref._raiseevent /*String*/ (null,__ref._gettoppage /*reparto_izca.keymon.lat.b4xpagesmanager._b4xpageinfo*/ (null),"B4XPage_Appear",(Object[])(__c.Null)); + }; + }; +RDebugUtils.currentLine=35651618; + //BA.debugLineNum = 35651618;BA.debugLine="End Sub"; +return ""; +} +public reparto_izca.keymon.lat.b4xpagesmanager._b4amenuitem _addmenuitem(reparto_izca.keymon.lat.b4xpagesmanager __ref,Object _b4xpage,Object _title) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "addmenuitem", true)) + {return ((reparto_izca.keymon.lat.b4xpagesmanager._b4amenuitem) Debug.delegate(ba, "addmenuitem", new Object[] {_b4xpage,_title}));} +reparto_izca.keymon.lat.b4xpagesmanager._b4amenuitem _mi = null; +RDebugUtils.currentLine=37027840; + //BA.debugLineNum = 37027840;BA.debugLine="Public Sub AddMenuItem (B4XPage As Object, Title A"; +RDebugUtils.currentLine=37027841; + //BA.debugLineNum = 37027841;BA.debugLine="Dim mi As B4AMenuItem"; +_mi = new reparto_izca.keymon.lat.b4xpagesmanager._b4amenuitem(); +RDebugUtils.currentLine=37027842; + //BA.debugLineNum = 37027842;BA.debugLine="mi.Initialize"; +_mi.Initialize(); +RDebugUtils.currentLine=37027843; + //BA.debugLineNum = 37027843;BA.debugLine="mi.Title = Title"; +_mi.Title /*Object*/ = _title; +RDebugUtils.currentLine=37027844; + //BA.debugLineNum = 37027844;BA.debugLine="mi.Tag = Title"; +_mi.Tag /*String*/ = BA.ObjectToString(_title); +RDebugUtils.currentLine=37027845; + //BA.debugLineNum = 37027845;BA.debugLine="FindPIFromB4XPage(B4XPage).Parent.MenuItems.Add(m"; +__ref._findpifromb4xpage /*reparto_izca.keymon.lat.b4xpagesmanager._b4xpageinfo*/ (null,_b4xpage).Parent /*reparto_izca.keymon.lat.b4xpagesmanager._b4xpageparent*/ .MenuItems /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(_mi)); +RDebugUtils.currentLine=37027846; + //BA.debugLineNum = 37027846;BA.debugLine="Return mi"; +if (true) return _mi; +RDebugUtils.currentLine=37027847; + //BA.debugLineNum = 37027847;BA.debugLine="End Sub"; +return null; +} +public String _addpage(reparto_izca.keymon.lat.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 = ""; +RDebugUtils.currentLine=35848192; + //BA.debugLineNum = 35848192;BA.debugLine="Public Sub AddPage (Id As String, B4XPage As Objec"; +RDebugUtils.currentLine=35848193; + //BA.debugLineNum = 35848193;BA.debugLine="Dim IdToLower As String = Id.ToLowerCase"; +_idtolower = _id.toLowerCase(); +RDebugUtils.currentLine=35848194; + //BA.debugLineNum = 35848194;BA.debugLine="If IdToB4XPage.ContainsKey(IdToLower) Then"; +if (__ref._idtob4xpage /*reparto_izca.keymon.lat.b4xorderedmap*/ ._containskey /*boolean*/ (null,(Object)(_idtolower))) { +RDebugUtils.currentLine=35848195; + //BA.debugLineNum = 35848195;BA.debugLine="Log($\"Page with this id already exists: ${IdToLo"; +__c.LogImpl("935848195",("Page with this id already exists: "+__c.SmartStringFormatter("",(Object)(_idtolower))+"!"),0); +RDebugUtils.currentLine=35848196; + //BA.debugLineNum = 35848196;BA.debugLine="Return"; +if (true) return ""; + }; +RDebugUtils.currentLine=35848198; + //BA.debugLineNum = 35848198;BA.debugLine="IdToB4XPage.Put(IdToLower, CreateB4XPageInfo(B4XP"; +__ref._idtob4xpage /*reparto_izca.keymon.lat.b4xorderedmap*/ ._put /*String*/ (null,(Object)(_idtolower),(Object)(__ref._createb4xpageinfo /*reparto_izca.keymon.lat.b4xpagesmanager._b4xpageinfo*/ (null,_b4xpage,_idtolower,__c.False,(Object)(_id)))); +RDebugUtils.currentLine=35848199; + //BA.debugLineNum = 35848199;BA.debugLine="If IdToB4XPage.Size = 1 Then ShowPage(IdToLower)"; +if (__ref._idtob4xpage /*reparto_izca.keymon.lat.b4xorderedmap*/ ._getsize /*int*/ (null)==1) { +__ref._showpage /*String*/ (null,_idtolower);}; +RDebugUtils.currentLine=35848200; + //BA.debugLineNum = 35848200;BA.debugLine="End Sub"; +return ""; +} +public String _addpageandcreate(reparto_izca.keymon.lat.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=35913728; + //BA.debugLineNum = 35913728;BA.debugLine="Public Sub AddPageAndCreate (Id As String, B4XPage"; +RDebugUtils.currentLine=35913729; + //BA.debugLineNum = 35913729;BA.debugLine="AddPage (Id, B4XPage)"; +__ref._addpage /*String*/ (null,_id,_b4xpage); +RDebugUtils.currentLine=35913730; + //BA.debugLineNum = 35913730;BA.debugLine="CreatePageIfNeeded(GetPageFromId(Id))"; +__ref._createpageifneeded /*String*/ (null,__ref._getpagefromid /*reparto_izca.keymon.lat.b4xpagesmanager._b4xpageinfo*/ (null,_id)); +RDebugUtils.currentLine=35913731; + //BA.debugLineNum = 35913731;BA.debugLine="End Sub"; +return ""; +} +public String _closepage(reparto_izca.keymon.lat.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}));} +reparto_izca.keymon.lat.b4xpagesmanager._b4xpageinfo _pi = null; +boolean _isclosingtoppage = false; +RDebugUtils.currentLine=36110336; + //BA.debugLineNum = 36110336;BA.debugLine="Public Sub ClosePage (B4XPage As Object)"; +RDebugUtils.currentLine=36110337; + //BA.debugLineNum = 36110337;BA.debugLine="Dim pi As B4XPageInfo = FindPIFromB4XPage(B4XPage"; +_pi = __ref._findpifromb4xpage /*reparto_izca.keymon.lat.b4xpagesmanager._b4xpageinfo*/ (null,_b4xpage); +RDebugUtils.currentLine=36110338; + //BA.debugLineNum = 36110338;BA.debugLine="If mStackOfPageIds.Contains(pi.Id) = False Then R"; +if (__ref._mstackofpageids /*reparto_izca.keymon.lat.b4xset*/ ._contains /*boolean*/ (null,(Object)(_pi.Id /*String*/ ))==__c.False) { +if (true) return "";}; +RDebugUtils.currentLine=36110339; + //BA.debugLineNum = 36110339;BA.debugLine="If xui.IsB4i And GetTopPage <> pi Then"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4i() && (__ref._gettoppage /*reparto_izca.keymon.lat.b4xpagesmanager._b4xpageinfo*/ (null)).equals(_pi) == false) { +RDebugUtils.currentLine=36110340; + //BA.debugLineNum = 36110340;BA.debugLine="Log(\"Only top page can be closed\")"; +__c.LogImpl("936110340","Only top page can be closed",0); +RDebugUtils.currentLine=36110341; + //BA.debugLineNum = 36110341;BA.debugLine="Return"; +if (true) return ""; + }else +{RDebugUtils.currentLine=36110342; + //BA.debugLineNum = 36110342;BA.debugLine="Else If xui.IsB4i And mStackOfPageIds.Size = 1 Th"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4i() && __ref._mstackofpageids /*reparto_izca.keymon.lat.b4xset*/ ._getsize /*int*/ (null)==1) { +RDebugUtils.currentLine=36110343; + //BA.debugLineNum = 36110343;BA.debugLine="Log(\"First page cannot be closed\")"; +__c.LogImpl("936110343","First page cannot be closed",0); +RDebugUtils.currentLine=36110344; + //BA.debugLineNum = 36110344;BA.debugLine="Return"; +if (true) return ""; + }} +; +RDebugUtils.currentLine=36110346; + //BA.debugLineNum = 36110346;BA.debugLine="Dim IsClosingTopPage As Boolean = GetTopPage = pi"; +_isclosingtoppage = (__ref._gettoppage /*reparto_izca.keymon.lat.b4xpagesmanager._b4xpageinfo*/ (null)).equals(_pi); +RDebugUtils.currentLine=36110347; + //BA.debugLineNum = 36110347;BA.debugLine="ClosePageImpl(pi)"; +__ref._closepageimpl /*String*/ (null,_pi); +RDebugUtils.currentLine=36110348; + //BA.debugLineNum = 36110348;BA.debugLine="If IsClosingTopPage Then"; +if (_isclosingtoppage) { +RDebugUtils.currentLine=36110349; + //BA.debugLineNum = 36110349;BA.debugLine="TopPageDisappear"; +__ref._toppagedisappear /*String*/ (null); + }; +RDebugUtils.currentLine=36110351; + //BA.debugLineNum = 36110351;BA.debugLine="If xui.IsB4A And mStackOfPageIds.Size = 1 Then Re"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4A() && __ref._mstackofpageids /*reparto_izca.keymon.lat.b4xset*/ ._getsize /*int*/ (null)==1) { +if (true) return "";}; +RDebugUtils.currentLine=36110352; + //BA.debugLineNum = 36110352;BA.debugLine="mStackOfPageIds.Remove(pi.Id)"; +__ref._mstackofpageids /*reparto_izca.keymon.lat.b4xset*/ ._remove /*String*/ (null,(Object)(_pi.Id /*String*/ )); +RDebugUtils.currentLine=36110353; + //BA.debugLineNum = 36110353;BA.debugLine="If IsClosingTopPage Then"; +if (_isclosingtoppage) { +RDebugUtils.currentLine=36110354; + //BA.debugLineNum = 36110354;BA.debugLine="If xui.IsB4A Then ShowPageImpl(GetTopPage)"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4A()) { +__ref._showpageimpl /*String*/ (null,__ref._gettoppage /*reparto_izca.keymon.lat.b4xpagesmanager._b4xpageinfo*/ (null));}; +RDebugUtils.currentLine=36110355; + //BA.debugLineNum = 36110355;BA.debugLine="TopPageAppear"; +__ref._toppageappear /*String*/ (null); + }; +RDebugUtils.currentLine=36110357; + //BA.debugLineNum = 36110357;BA.debugLine="End Sub"; +return ""; +} +public reparto_izca.keymon.lat.b4xpagesmanager._b4xpageinfo _findpifromb4xpage(reparto_izca.keymon.lat.b4xpagesmanager __ref,Object _page) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "findpifromb4xpage", true)) + {return ((reparto_izca.keymon.lat.b4xpagesmanager._b4xpageinfo) Debug.delegate(ba, "findpifromb4xpage", new Object[] {_page}));} +reparto_izca.keymon.lat.b4xpagesmanager._b4xpageinfo _pi = null; +RDebugUtils.currentLine=36306944; + //BA.debugLineNum = 36306944;BA.debugLine="Public Sub FindPIFromB4XPage (Page As Object) As B"; +RDebugUtils.currentLine=36306945; + //BA.debugLineNum = 36306945;BA.debugLine="For Each pi As B4XPageInfo In IdToB4XPage.Values"; +{ +final anywheresoftware.b4a.BA.IterableList group1 = __ref._idtob4xpage /*reparto_izca.keymon.lat.b4xorderedmap*/ ._getvalues /*anywheresoftware.b4a.objects.collections.List*/ (null); +final int groupLen1 = group1.getSize() +;int index1 = 0; +; +for (; index1 < groupLen1;index1++){ +_pi = (reparto_izca.keymon.lat.b4xpagesmanager._b4xpageinfo)(group1.Get(index1)); +RDebugUtils.currentLine=36306946; + //BA.debugLineNum = 36306946;BA.debugLine="If pi.B4XPage = Page Then"; +if ((_pi.B4XPage /*Object*/ ).equals(_page)) { +RDebugUtils.currentLine=36306947; + //BA.debugLineNum = 36306947;BA.debugLine="Return pi"; +if (true) return _pi; + }; + } +}; +RDebugUtils.currentLine=36306950; + //BA.debugLineNum = 36306950;BA.debugLine="Return Null"; +if (true) return (reparto_izca.keymon.lat.b4xpagesmanager._b4xpageinfo)(__c.Null); +RDebugUtils.currentLine=36306951; + //BA.debugLineNum = 36306951;BA.debugLine="End Sub"; +return null; +} +public Object _getpage(reparto_izca.keymon.lat.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=36700160; + //BA.debugLineNum = 36700160;BA.debugLine="Public Sub GetPage (Id As String) As Object"; +RDebugUtils.currentLine=36700161; + //BA.debugLineNum = 36700161;BA.debugLine="Return GetPageFromId(Id).B4XPage"; +if (true) return __ref._getpagefromid /*reparto_izca.keymon.lat.b4xpagesmanager._b4xpageinfo*/ (null,_id).B4XPage /*Object*/ ; +RDebugUtils.currentLine=36700162; + //BA.debugLineNum = 36700162;BA.debugLine="End Sub"; +return null; +} +public String _settitle(reparto_izca.keymon.lat.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}));} +reparto_izca.keymon.lat.b4xpagesmanager._b4xpageinfo _pi = null; +RDebugUtils.currentLine=36569088; + //BA.debugLineNum = 36569088;BA.debugLine="Public Sub SetTitle (B4XPage As Object, Title As O"; +RDebugUtils.currentLine=36569089; + //BA.debugLineNum = 36569089;BA.debugLine="Dim pi As B4XPageInfo = FindPIFromB4XPage(B4XPage"; +_pi = __ref._findpifromb4xpage /*reparto_izca.keymon.lat.b4xpagesmanager._b4xpageinfo*/ (null,_b4xpage); +RDebugUtils.currentLine=36569090; + //BA.debugLineNum = 36569090;BA.debugLine="pi.Title = Title"; +_pi.Title /*Object*/ = _title; +RDebugUtils.currentLine=36569091; + //BA.debugLineNum = 36569091;BA.debugLine="pi.Parent.NativeType.Title = Title"; +_pi.Parent /*reparto_izca.keymon.lat.b4xpagesmanager._b4xpageparent*/ .NativeType /*anywheresoftware.b4a.objects.ActivityWrapper*/ .setTitle(BA.ObjectToCharSequence(_title)); +RDebugUtils.currentLine=36569092; + //BA.debugLineNum = 36569092;BA.debugLine="End Sub"; +return ""; +} +public String _showpage(reparto_izca.keymon.lat.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}));} +reparto_izca.keymon.lat.b4xpagesmanager._b4xpageinfo _pi = null; +reparto_izca.keymon.lat.b4xpagesmanager._b4xpageinfo _top = null; +RDebugUtils.currentLine=35979264; + //BA.debugLineNum = 35979264;BA.debugLine="Public Sub ShowPage (Id As String)"; +RDebugUtils.currentLine=35979265; + //BA.debugLineNum = 35979265;BA.debugLine="Dim pi As B4XPageInfo = GetPageFromId(Id)"; +_pi = __ref._getpagefromid /*reparto_izca.keymon.lat.b4xpagesmanager._b4xpageinfo*/ (null,_id); +RDebugUtils.currentLine=35979266; + //BA.debugLineNum = 35979266;BA.debugLine="If pi = GetTopPage Then Return"; +if ((_pi).equals(__ref._gettoppage /*reparto_izca.keymon.lat.b4xpagesmanager._b4xpageinfo*/ (null))) { +if (true) return "";}; +RDebugUtils.currentLine=35979267; + //BA.debugLineNum = 35979267;BA.debugLine="CreatePageIfNeeded(pi)"; +__ref._createpageifneeded /*String*/ (null,_pi); +RDebugUtils.currentLine=35979268; + //BA.debugLineNum = 35979268;BA.debugLine="TopPageDisappear"; +__ref._toppagedisappear /*String*/ (null); +RDebugUtils.currentLine=35979270; + //BA.debugLineNum = 35979270;BA.debugLine="Dim Top As B4XPageInfo = GetTopPage"; +_top = __ref._gettoppage /*reparto_izca.keymon.lat.b4xpagesmanager._b4xpageinfo*/ (null); +RDebugUtils.currentLine=35979271; + //BA.debugLineNum = 35979271;BA.debugLine="If Top <> Null Then"; +if (_top!= null) { +RDebugUtils.currentLine=35979272; + //BA.debugLineNum = 35979272;BA.debugLine="Top.Root.RemoveViewFromParent"; +_top.Root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .RemoveViewFromParent(); + }; +RDebugUtils.currentLine=35979282; + //BA.debugLineNum = 35979282;BA.debugLine="mStackOfPageIds.Remove(pi.Id)"; +__ref._mstackofpageids /*reparto_izca.keymon.lat.b4xset*/ ._remove /*String*/ (null,(Object)(_pi.Id /*String*/ )); +RDebugUtils.currentLine=35979283; + //BA.debugLineNum = 35979283;BA.debugLine="ShowPageImpl(pi)"; +__ref._showpageimpl /*String*/ (null,_pi); +RDebugUtils.currentLine=35979284; + //BA.debugLineNum = 35979284;BA.debugLine="mStackOfPageIds.Add(pi.Id)"; +__ref._mstackofpageids /*reparto_izca.keymon.lat.b4xset*/ ._add /*String*/ (null,(Object)(_pi.Id /*String*/ )); +RDebugUtils.currentLine=35979285; + //BA.debugLineNum = 35979285;BA.debugLine="TopPageAppear"; +__ref._toppageappear /*String*/ (null); +RDebugUtils.currentLine=35979286; + //BA.debugLineNum = 35979286;BA.debugLine="End Sub"; +return ""; +} +public String _showpageandremovepreviouspages(reparto_izca.keymon.lat.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}));} +reparto_izca.keymon.lat.b4xpagesmanager._b4xpageinfo _pi = null; +reparto_izca.keymon.lat.b4xpagesmanager._b4xpageinfo _pagetoremove = null; +RDebugUtils.currentLine=36044800; + //BA.debugLineNum = 36044800;BA.debugLine="Public Sub ShowPageAndRemovePreviousPages (Id As S"; +RDebugUtils.currentLine=36044801; + //BA.debugLineNum = 36044801;BA.debugLine="If GetTopPage = Null Then"; +if (__ref._gettoppage /*reparto_izca.keymon.lat.b4xpagesmanager._b4xpageinfo*/ (null)== null) { +RDebugUtils.currentLine=36044802; + //BA.debugLineNum = 36044802;BA.debugLine="ShowPage(Id)"; +__ref._showpage /*String*/ (null,_id); +RDebugUtils.currentLine=36044803; + //BA.debugLineNum = 36044803;BA.debugLine="Return"; +if (true) return ""; + }; +RDebugUtils.currentLine=36044805; + //BA.debugLineNum = 36044805;BA.debugLine="Dim pi As B4XPageInfo = GetPageFromId(Id)"; +_pi = __ref._getpagefromid /*reparto_izca.keymon.lat.b4xpagesmanager._b4xpageinfo*/ (null,_id); +RDebugUtils.currentLine=36044806; + //BA.debugLineNum = 36044806;BA.debugLine="CreatePageIfNeeded(pi)"; +__ref._createpageifneeded /*String*/ (null,_pi); +RDebugUtils.currentLine=36044807; + //BA.debugLineNum = 36044807;BA.debugLine="TopPageDisappear"; +__ref._toppagedisappear /*String*/ (null); +RDebugUtils.currentLine=36044811; + //BA.debugLineNum = 36044811;BA.debugLine="For Each Id As String In mStackOfPageIds.AsList"; +{ +final anywheresoftware.b4a.BA.IterableList group8 = __ref._mstackofpageids /*reparto_izca.keymon.lat.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=36044812; + //BA.debugLineNum = 36044812;BA.debugLine="Dim PageToRemove As B4XPageInfo = GetPageFromId("; +_pagetoremove = __ref._getpagefromid /*reparto_izca.keymon.lat.b4xpagesmanager._b4xpageinfo*/ (null,_id); +RDebugUtils.currentLine=36044814; + //BA.debugLineNum = 36044814;BA.debugLine="PageToRemove.Root.RemoveViewFromParent"; +_pagetoremove.Root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .RemoveViewFromParent(); + } +}; +RDebugUtils.currentLine=36044821; + //BA.debugLineNum = 36044821;BA.debugLine="mStackOfPageIds.Clear"; +__ref._mstackofpageids /*reparto_izca.keymon.lat.b4xset*/ ._clear /*String*/ (null); +RDebugUtils.currentLine=36044822; + //BA.debugLineNum = 36044822;BA.debugLine="mStackOfPageIds.Add(pi.Id)"; +__ref._mstackofpageids /*reparto_izca.keymon.lat.b4xset*/ ._add /*String*/ (null,(Object)(_pi.Id /*String*/ )); +RDebugUtils.currentLine=36044823; + //BA.debugLineNum = 36044823;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=36044824; + //BA.debugLineNum = 36044824;BA.debugLine="ShowPageImpl(pi)"; +__ref._showpageimpl /*String*/ (null,_pi); + }; +RDebugUtils.currentLine=36044826; + //BA.debugLineNum = 36044826;BA.debugLine="TopPageAppear"; +__ref._toppageappear /*String*/ (null); +RDebugUtils.currentLine=36044827; + //BA.debugLineNum = 36044827;BA.debugLine="End Sub"; +return ""; +} +public String _activity_actionbarhomeclick(reparto_izca.keymon.lat.b4xpagesmanager __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "activity_actionbarhomeclick", true)) + {return ((String) Debug.delegate(ba, "activity_actionbarhomeclick", null));} +reparto_izca.keymon.lat.b4xpagesmanager._b4xpageinfo _pi = null; +RDebugUtils.currentLine=35782656; + //BA.debugLineNum = 35782656;BA.debugLine="Public Sub Activity_ActionBarHomeClick"; +RDebugUtils.currentLine=35782657; + //BA.debugLineNum = 35782657;BA.debugLine="Dim pi As B4XPageInfo = GetTopPage"; +_pi = __ref._gettoppage /*reparto_izca.keymon.lat.b4xpagesmanager._b4xpageinfo*/ (null); +RDebugUtils.currentLine=35782658; + //BA.debugLineNum = 35782658;BA.debugLine="If pi <> Null Then"; +if (_pi!= null) { +RDebugUtils.currentLine=35782659; + //BA.debugLineNum = 35782659;BA.debugLine="If CloseRequestExists (pi) Then"; +if (__ref._closerequestexists /*boolean*/ (null,_pi)) { +RDebugUtils.currentLine=35782660; + //BA.debugLineNum = 35782660;BA.debugLine="HandleCloseRequest(pi)"; +__ref._handlecloserequest /*void*/ (null,_pi); + }else { +RDebugUtils.currentLine=35782662; + //BA.debugLineNum = 35782662;BA.debugLine="ClosePage(pi.B4XPage)"; +__ref._closepage /*String*/ (null,_pi.B4XPage /*Object*/ ); + }; + }; +RDebugUtils.currentLine=35782665; + //BA.debugLineNum = 35782665;BA.debugLine="End Sub"; +return ""; +} +public boolean _activity_keypress(reparto_izca.keymon.lat.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}));} +reparto_izca.keymon.lat.b4xpagesmanager._b4xpageinfo _pi = null; +RDebugUtils.currentLine=36962304; + //BA.debugLineNum = 36962304;BA.debugLine="Public Sub Activity_KeyPress (KeyCode As Int) As B"; +RDebugUtils.currentLine=36962305; + //BA.debugLineNum = 36962305;BA.debugLine="If KeyCode = KeyCodes.KEYCODE_BACK Then"; +if (_keycode==__c.KeyCodes.KEYCODE_BACK) { +RDebugUtils.currentLine=36962306; + //BA.debugLineNum = 36962306;BA.debugLine="Dim pi As B4XPageInfo = GetTopPage"; +_pi = __ref._gettoppage /*reparto_izca.keymon.lat.b4xpagesmanager._b4xpageinfo*/ (null); +RDebugUtils.currentLine=36962307; + //BA.debugLineNum = 36962307;BA.debugLine="If CloseRequestExists(pi) Then"; +if (__ref._closerequestexists /*boolean*/ (null,_pi)) { +RDebugUtils.currentLine=36962308; + //BA.debugLineNum = 36962308;BA.debugLine="HandleCloseRequest(pi)"; +__ref._handlecloserequest /*void*/ (null,_pi); + }else { +RDebugUtils.currentLine=36962310; + //BA.debugLineNum = 36962310;BA.debugLine="ClosePage(pi.B4XPage)"; +__ref._closepage /*String*/ (null,_pi.B4XPage /*Object*/ ); + }; +RDebugUtils.currentLine=36962312; + //BA.debugLineNum = 36962312;BA.debugLine="Return True"; +if (true) return __c.True; + }; +RDebugUtils.currentLine=36962314; + //BA.debugLineNum = 36962314;BA.debugLine="Return False"; +if (true) return __c.False; +RDebugUtils.currentLine=36962315; + //BA.debugLineNum = 36962315;BA.debugLine="End Sub"; +return false; +} +public String _activity_pause(reparto_izca.keymon.lat.b4xpagesmanager __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +RDebugUtils.currentLine=37814272; + //BA.debugLineNum = 37814272;BA.debugLine="Public Sub Activity_Pause"; +RDebugUtils.currentLine=37814273; + //BA.debugLineNum = 37814273;BA.debugLine="RaiseEventWithResult(GetTopPage, \"B4XPage_Disappe"; +__ref._raiseeventwithresult /*Object*/ (null,__ref._gettoppage /*reparto_izca.keymon.lat.b4xpagesmanager._b4xpageinfo*/ (null),"B4XPage_Disappear",(Object[])(__c.Null)); +RDebugUtils.currentLine=37814274; + //BA.debugLineNum = 37814274;BA.debugLine="BackgroundStateChanged(False)"; +__ref._backgroundstatechanged /*String*/ (null,__c.False); +RDebugUtils.currentLine=37814275; + //BA.debugLineNum = 37814275;BA.debugLine="End Sub"; +return ""; +} +public String _raiseevent(reparto_izca.keymon.lat.b4xpagesmanager __ref,reparto_izca.keymon.lat.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=37355520; + //BA.debugLineNum = 37355520;BA.debugLine="Public Sub RaiseEvent (TargetPage As B4XPageInfo,"; +RDebugUtils.currentLine=37355521; + //BA.debugLineNum = 37355521;BA.debugLine="If TargetPage = Null Then Return"; +if (_targetpage== null) { +if (true) return "";}; +RDebugUtils.currentLine=37355522; + //BA.debugLineNum = 37355522;BA.debugLine="Dim length As Int"; +_length = 0; +RDebugUtils.currentLine=37355523; + //BA.debugLineNum = 37355523;BA.debugLine="If Params = Null Then length = 0 Else length = Pa"; +if (_params== null) { +_length = (int) (0);} +else { +_length = _params.length;}; +RDebugUtils.currentLine=37355524; + //BA.debugLineNum = 37355524;BA.debugLine="LogEvent(TargetPage, SubName)"; +__ref._logevent /*String*/ (null,_targetpage,_subname); +RDebugUtils.currentLine=37355525; + //BA.debugLineNum = 37355525;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=37355526; + //BA.debugLineNum = 37355526;BA.debugLine="Select length"; +switch (_length) { +case 0: { +RDebugUtils.currentLine=37355528; + //BA.debugLineNum = 37355528;BA.debugLine="CallSubDelayed(TargetPage.B4XPage, SubName)"; +__c.CallSubDelayed(ba,_targetpage.B4XPage /*Object*/ ,_subname); + break; } +case 1: { +RDebugUtils.currentLine=37355530; + //BA.debugLineNum = 37355530;BA.debugLine="CallSubDelayed2(TargetPage.B4XPage, SubName, Pa"; +__c.CallSubDelayed2(ba,_targetpage.B4XPage /*Object*/ ,_subname,_params[(int) (0)]); + break; } +case 2: { +RDebugUtils.currentLine=37355532; + //BA.debugLineNum = 37355532;BA.debugLine="CallSubDelayed3(TargetPage.B4XPage, SubName, Pa"; +__c.CallSubDelayed3(ba,_targetpage.B4XPage /*Object*/ ,_subname,_params[(int) (0)],_params[(int) (1)]); + break; } +default: { +RDebugUtils.currentLine=37355534; + //BA.debugLineNum = 37355534;BA.debugLine="Log(\"Too many parameters\")"; +__c.LogImpl("937355534","Too many parameters",0); + break; } +} +; +RDebugUtils.currentLine=37355536; + //BA.debugLineNum = 37355536;BA.debugLine="End Sub"; +return ""; +} +public reparto_izca.keymon.lat.b4xpagesmanager._b4xpageinfo _gettoppage(reparto_izca.keymon.lat.b4xpagesmanager __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "gettoppage", true)) + {return ((reparto_izca.keymon.lat.b4xpagesmanager._b4xpageinfo) Debug.delegate(ba, "gettoppage", null));} +RDebugUtils.currentLine=37552128; + //BA.debugLineNum = 37552128;BA.debugLine="Public Sub GetTopPage As B4XPageInfo"; +RDebugUtils.currentLine=37552129; + //BA.debugLineNum = 37552129;BA.debugLine="If mStackOfPageIds.Size = 0 Then Return Null"; +if (__ref._mstackofpageids /*reparto_izca.keymon.lat.b4xset*/ ._getsize /*int*/ (null)==0) { +if (true) return (reparto_izca.keymon.lat.b4xpagesmanager._b4xpageinfo)(__c.Null);}; +RDebugUtils.currentLine=37552130; + //BA.debugLineNum = 37552130;BA.debugLine="Return IdToB4XPage.Get(mStackOfPageIds.AsList.Get"; +if (true) return (reparto_izca.keymon.lat.b4xpagesmanager._b4xpageinfo)(__ref._idtob4xpage /*reparto_izca.keymon.lat.b4xorderedmap*/ ._get /*Object*/ (null,__ref._mstackofpageids /*reparto_izca.keymon.lat.b4xset*/ ._aslist /*anywheresoftware.b4a.objects.collections.List*/ (null).Get((int) (__ref._mstackofpageids /*reparto_izca.keymon.lat.b4xset*/ ._getsize /*int*/ (null)-1)))); +RDebugUtils.currentLine=37552131; + //BA.debugLineNum = 37552131;BA.debugLine="End Sub"; +return null; +} +public String _activity_resume(reparto_izca.keymon.lat.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=37683200; + //BA.debugLineNum = 37683200;BA.debugLine="Public Sub Activity_Resume"; +RDebugUtils.currentLine=37683201; + //BA.debugLineNum = 37683201;BA.debugLine="Dim ShouldRaise As Boolean = IsForeground = False"; +_shouldraise = __ref._isforeground /*boolean*/ ==__c.False; +RDebugUtils.currentLine=37683202; + //BA.debugLineNum = 37683202;BA.debugLine="BackgroundStateChanged(True)"; +__ref._backgroundstatechanged /*String*/ (null,__c.True); +RDebugUtils.currentLine=37683203; + //BA.debugLineNum = 37683203;BA.debugLine="If ShouldRaise Then"; +if (_shouldraise) { +RDebugUtils.currentLine=37683204; + //BA.debugLineNum = 37683204;BA.debugLine="RaiseEvent(GetTopPage, \"B4XPage_Appear\", Null)"; +__ref._raiseevent /*String*/ (null,__ref._gettoppage /*reparto_izca.keymon.lat.b4xpagesmanager._b4xpageinfo*/ (null),"B4XPage_Appear",(Object[])(__c.Null)); + }; +RDebugUtils.currentLine=37683206; + //BA.debugLineNum = 37683206;BA.debugLine="End Sub"; +return ""; +} +public String _createmenu(reparto_izca.keymon.lat.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}));} +reparto_izca.keymon.lat.b4xpagesmanager._b4xpageinfo _pi = null; +anywheresoftware.b4j.object.JavaObject _jo = null; +reparto_izca.keymon.lat.b4xpagesmanager._b4amenuitem _mi = null; +anywheresoftware.b4j.object.JavaObject _nativemenuitem = null; +anywheresoftware.b4a.objects.drawable.BitmapDrawable _bd = null; +anywheresoftware.b4j.object.JavaObject _listener = null; +RDebugUtils.currentLine=37158912; + //BA.debugLineNum = 37158912;BA.debugLine="Public Sub CreateMenu (Menu As Object)"; +RDebugUtils.currentLine=37158913; + //BA.debugLineNum = 37158913;BA.debugLine="Dim pi As B4XPageInfo = GetTopPage"; +_pi = __ref._gettoppage /*reparto_izca.keymon.lat.b4xpagesmanager._b4xpageinfo*/ (null); +RDebugUtils.currentLine=37158914; + //BA.debugLineNum = 37158914;BA.debugLine="If pi = Null Then Return"; +if (_pi== null) { +if (true) return "";}; +RDebugUtils.currentLine=37158915; + //BA.debugLineNum = 37158915;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)); +RDebugUtils.currentLine=37158916; + //BA.debugLineNum = 37158916;BA.debugLine="For Each mi As B4AMenuItem In pi.Parent.MenuItems"; +{ +final anywheresoftware.b4a.BA.IterableList group4 = _pi.Parent /*reparto_izca.keymon.lat.b4xpagesmanager._b4xpageparent*/ .MenuItems /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen4 = group4.getSize() +;int index4 = 0; +; +for (; index4 < groupLen4;index4++){ +_mi = (reparto_izca.keymon.lat.b4xpagesmanager._b4amenuitem)(group4.Get(index4)); +RDebugUtils.currentLine=37158917; + //BA.debugLineNum = 37158917;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*/ }))); +RDebugUtils.currentLine=37158918; + //BA.debugLineNum = 37158918;BA.debugLine="If mi.Bitmap.IsInitialized Then"; +if (_mi.Bitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .IsInitialized()) { +RDebugUtils.currentLine=37158919; + //BA.debugLineNum = 37158919;BA.debugLine="Dim bd As BitmapDrawable"; +_bd = new anywheresoftware.b4a.objects.drawable.BitmapDrawable(); +RDebugUtils.currentLine=37158920; + //BA.debugLineNum = 37158920;BA.debugLine="bd.Initialize(mi.Bitmap)"; +_bd.Initialize((android.graphics.Bitmap)(_mi.Bitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .getObject())); +RDebugUtils.currentLine=37158921; + //BA.debugLineNum = 37158921;BA.debugLine="NativeMenuItem.RunMethod(\"setIcon\", Array(bd))"; +_nativemenuitem.RunMethod("setIcon",new Object[]{(Object)(_bd.getObject())}); + }; +RDebugUtils.currentLine=37158923; + //BA.debugLineNum = 37158923;BA.debugLine="If mi.AddToBar Then"; +if (_mi.AddToBar /*boolean*/ ) { +RDebugUtils.currentLine=37158924; + //BA.debugLineNum = 37158924;BA.debugLine="NativeMenuItem.RunMethod(\"setShowAsAction\", Arr"; +_nativemenuitem.RunMethod("setShowAsAction",new Object[]{(Object)(1)}); + }; +RDebugUtils.currentLine=37158926; + //BA.debugLineNum = 37158926;BA.debugLine="Dim listener As JavaObject"; +_listener = new anywheresoftware.b4j.object.JavaObject(); +RDebugUtils.currentLine=37158927; + //BA.debugLineNum = 37158927;BA.debugLine="listener.InitializeNewInstance(Application.Packa"; +_listener.InitializeNewInstance(__c.Application.getPackageName()+".b4xpagesmanager$PagesMenuListener",new Object[]{_pi.B4XPage /*Object*/ ,(Object)(_mi.Tag /*String*/ )}); +RDebugUtils.currentLine=37158928; + //BA.debugLineNum = 37158928;BA.debugLine="NativeMenuItem.RunMethod(\"setOnMenuItemClickList"; +_nativemenuitem.RunMethod("setOnMenuItemClickListener",new Object[]{(Object)(_listener.getObject())}); + } +}; +RDebugUtils.currentLine=37158930; + //BA.debugLineNum = 37158930;BA.debugLine="End Sub"; +return ""; +} +public String _mainform_resize(reparto_izca.keymon.lat.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=37486592; + //BA.debugLineNum = 37486592;BA.debugLine="Public Sub MainForm_Resize(Width As Double, Height"; +RDebugUtils.currentLine=37486593; + //BA.debugLineNum = 37486593;BA.debugLine="Dim w As Int = Width"; +_w = (int) (_width); +RDebugUtils.currentLine=37486594; + //BA.debugLineNum = 37486594;BA.debugLine="Dim h As Int = Height"; +_h = (int) (_height); +RDebugUtils.currentLine=37486595; + //BA.debugLineNum = 37486595;BA.debugLine="RaiseEvent(GetPageInfoFromRoot(Sender), \"B4XPage_"; +__ref._raiseevent /*String*/ (null,__ref._getpageinfofromroot /*reparto_izca.keymon.lat.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=37486596; + //BA.debugLineNum = 37486596;BA.debugLine="End Sub"; +return ""; +} +public boolean _closerequestexists(reparto_izca.keymon.lat.b4xpagesmanager __ref,reparto_izca.keymon.lat.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=37224448; + //BA.debugLineNum = 37224448;BA.debugLine="Private Sub CloseRequestExists (pi As B4XPageInfo)"; +RDebugUtils.currentLine=37224449; + //BA.debugLineNum = 37224449;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=37224450; + //BA.debugLineNum = 37224450;BA.debugLine="End Sub"; +return false; +} +public void _handlecloserequest(reparto_izca.keymon.lat.b4xpagesmanager __ref,reparto_izca.keymon.lat.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(reparto_izca.keymon.lat.b4xpagesmanager parent,reparto_izca.keymon.lat.b4xpagesmanager __ref,reparto_izca.keymon.lat.b4xpagesmanager._b4xpageinfo _pi) { +this.parent = parent; +this.__ref = __ref; +this._pi = _pi; +this.__ref = parent; +} +reparto_izca.keymon.lat.b4xpagesmanager __ref; +reparto_izca.keymon.lat.b4xpagesmanager parent; +reparto_izca.keymon.lat.b4xpagesmanager._b4xpageinfo _pi; +anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _rs = null; +boolean _shouldclose = false; + +@Override +public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="b4xpagesmanager"; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +RDebugUtils.currentLine=37289985; + //BA.debugLineNum = 37289985;BA.debugLine="LogEvent(pi, \"B4XPage_CloseRequest\")"; +__ref._logevent /*String*/ (null,_pi,"B4XPage_CloseRequest"); +RDebugUtils.currentLine=37289986; + //BA.debugLineNum = 37289986;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.CallSubDebug(ba,_pi.B4XPage /*Object*/ ,"B4XPage_CloseRequest"))); +RDebugUtils.currentLine=37289987; + //BA.debugLineNum = 37289987;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[1]; +; +RDebugUtils.currentLine=37289988; + //BA.debugLineNum = 37289988;BA.debugLine="If ShouldClose Then"; +if (true) break; + +case 1: +//if +this.state = 4; +if (_shouldclose) { +this.state = 3; +}if (true) break; + +case 3: +//C +this.state = 4; +RDebugUtils.currentLine=37289989; + //BA.debugLineNum = 37289989;BA.debugLine="ClosePage(pi.B4XPage)"; +__ref._closepage /*String*/ (null,_pi.B4XPage /*Object*/ ); + if (true) break; + +case 4: +//C +this.state = -1; +; +RDebugUtils.currentLine=37289991; + //BA.debugLineNum = 37289991;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public Object _raiseeventwithresult(reparto_izca.keymon.lat.b4xpagesmanager __ref,reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=37421056; + //BA.debugLineNum = 37421056;BA.debugLine="Public Sub RaiseEventWithResult (TargetPage As B4X"; +RDebugUtils.currentLine=37421057; + //BA.debugLineNum = 37421057;BA.debugLine="If TargetPage = Null Then Return Null"; +if (_targetpage== null) { +if (true) return __c.Null;}; +RDebugUtils.currentLine=37421058; + //BA.debugLineNum = 37421058;BA.debugLine="Dim length As Int"; +_length = 0; +RDebugUtils.currentLine=37421059; + //BA.debugLineNum = 37421059;BA.debugLine="If Params = Null Then length = 0 Else length = Pa"; +if (_params== null) { +_length = (int) (0);} +else { +_length = _params.length;}; +RDebugUtils.currentLine=37421060; + //BA.debugLineNum = 37421060;BA.debugLine="LogEvent(TargetPage, SubName)"; +__ref._logevent /*String*/ (null,_targetpage,_subname); +RDebugUtils.currentLine=37421061; + //BA.debugLineNum = 37421061;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=37421062; + //BA.debugLineNum = 37421062;BA.debugLine="Select length"; +switch (_length) { +case 0: { +RDebugUtils.currentLine=37421064; + //BA.debugLineNum = 37421064;BA.debugLine="Return CallSub(TargetPage.B4XPage, SubName)"; +if (true) return __c.CallSubNew(ba,_targetpage.B4XPage /*Object*/ ,_subname); + break; } +case 1: { +RDebugUtils.currentLine=37421066; + //BA.debugLineNum = 37421066;BA.debugLine="Return CallSub2(TargetPage.B4XPage, SubName, Pa"; +if (true) return __c.CallSubNew2(ba,_targetpage.B4XPage /*Object*/ ,_subname,_params[(int) (0)]); + break; } +case 2: { +RDebugUtils.currentLine=37421068; + //BA.debugLineNum = 37421068;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: { +RDebugUtils.currentLine=37421070; + //BA.debugLineNum = 37421070;BA.debugLine="Log(\"Too many parameters\")"; +__c.LogImpl("937421070","Too many parameters",0); + break; } +} +; +RDebugUtils.currentLine=37421072; + //BA.debugLineNum = 37421072;BA.debugLine="Return Null"; +if (true) return __c.Null; +RDebugUtils.currentLine=37421073; + //BA.debugLineNum = 37421073;BA.debugLine="End Sub"; +return null; +} +public String _backgroundstatechanged(reparto_izca.keymon.lat.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 = ""; +reparto_izca.keymon.lat.b4xpagesmanager._b4xpageinfo _pi = null; +RDebugUtils.currentLine=37748736; + //BA.debugLineNum = 37748736;BA.debugLine="Private Sub BackgroundStateChanged (NewState As Bo"; +RDebugUtils.currentLine=37748737; + //BA.debugLineNum = 37748737;BA.debugLine="If IsForeground = NewState Then Return"; +if (__ref._isforeground /*boolean*/ ==_newstate) { +if (true) return "";}; +RDebugUtils.currentLine=37748738; + //BA.debugLineNum = 37748738;BA.debugLine="IsForeground = NewState"; +__ref._isforeground /*boolean*/ = _newstate; +RDebugUtils.currentLine=37748739; + //BA.debugLineNum = 37748739;BA.debugLine="Dim ev As String"; +_ev = ""; +RDebugUtils.currentLine=37748740; + //BA.debugLineNum = 37748740;BA.debugLine="If IsForeground Then ev = \"B4XPage_Foreground\" El"; +if (__ref._isforeground /*boolean*/ ) { +_ev = "B4XPage_Foreground";} +else { +_ev = "B4XPage_Background";}; +RDebugUtils.currentLine=37748741; + //BA.debugLineNum = 37748741;BA.debugLine="For Each pi As B4XPageInfo In IdToB4XPage.Values"; +{ +final anywheresoftware.b4a.BA.IterableList group5 = __ref._idtob4xpage /*reparto_izca.keymon.lat.b4xorderedmap*/ ._getvalues /*anywheresoftware.b4a.objects.collections.List*/ (null); +final int groupLen5 = group5.getSize() +;int index5 = 0; +; +for (; index5 < groupLen5;index5++){ +_pi = (reparto_izca.keymon.lat.b4xpagesmanager._b4xpageinfo)(group5.Get(index5)); +RDebugUtils.currentLine=37748742; + //BA.debugLineNum = 37748742;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=37748743; + //BA.debugLineNum = 37748743;BA.debugLine="LogEvent(pi, ev)"; +__ref._logevent /*String*/ (null,_pi,_ev); +RDebugUtils.currentLine=37748744; + //BA.debugLineNum = 37748744;BA.debugLine="If IsForeground Then"; +if (__ref._isforeground /*boolean*/ ) { +RDebugUtils.currentLine=37748745; + //BA.debugLineNum = 37748745;BA.debugLine="CallSubDelayed(pi.B4XPage, ev)"; +__c.CallSubDelayed(ba,_pi.B4XPage /*Object*/ ,_ev); + }else { +RDebugUtils.currentLine=37748747; + //BA.debugLineNum = 37748747;BA.debugLine="CallSub(pi.B4XPage, ev)"; +__c.CallSubNew(ba,_pi.B4XPage /*Object*/ ,_ev); + }; + }; + } +}; +RDebugUtils.currentLine=37748751; + //BA.debugLineNum = 37748751;BA.debugLine="End Sub"; +return ""; +} +public reparto_izca.keymon.lat.b4xpagesmanager._b4xpageinfo _createb4xpageinfo(reparto_izca.keymon.lat.b4xpagesmanager __ref,Object _b4xpage,String _id,boolean _created,Object _title) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "createb4xpageinfo", true)) + {return ((reparto_izca.keymon.lat.b4xpagesmanager._b4xpageinfo) Debug.delegate(ba, "createb4xpageinfo", new Object[] {_b4xpage,_id,_created,_title}));} +reparto_izca.keymon.lat.b4xpagesmanager._b4xpageinfo _t1 = null; +RDebugUtils.currentLine=36896768; + //BA.debugLineNum = 36896768;BA.debugLine="Private Sub CreateB4XPageInfo (B4XPage As Object,"; +RDebugUtils.currentLine=36896769; + //BA.debugLineNum = 36896769;BA.debugLine="Dim t1 As B4XPageInfo"; +_t1 = new reparto_izca.keymon.lat.b4xpagesmanager._b4xpageinfo(); +RDebugUtils.currentLine=36896770; + //BA.debugLineNum = 36896770;BA.debugLine="t1.Initialize"; +_t1.Initialize(); +RDebugUtils.currentLine=36896771; + //BA.debugLineNum = 36896771;BA.debugLine="t1.B4XPage = B4XPage"; +_t1.B4XPage /*Object*/ = _b4xpage; +RDebugUtils.currentLine=36896772; + //BA.debugLineNum = 36896772;BA.debugLine="t1.Id = Id"; +_t1.Id /*String*/ = _id; +RDebugUtils.currentLine=36896773; + //BA.debugLineNum = 36896773;BA.debugLine="t1.Created = Created"; +_t1.Created /*boolean*/ = _created; +RDebugUtils.currentLine=36896774; + //BA.debugLineNum = 36896774;BA.debugLine="t1.Title = Title"; +_t1.Title /*Object*/ = _title; +RDebugUtils.currentLine=36896775; + //BA.debugLineNum = 36896775;BA.debugLine="Return t1"; +if (true) return _t1; +RDebugUtils.currentLine=36896776; + //BA.debugLineNum = 36896776;BA.debugLine="End Sub"; +return null; +} +public String _createpageifneeded(reparto_izca.keymon.lat.b4xpagesmanager __ref,reparto_izca.keymon.lat.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=36503552; + //BA.debugLineNum = 36503552;BA.debugLine="Private Sub CreatePageIfNeeded(pi As B4XPageInfo)"; +RDebugUtils.currentLine=36503553; + //BA.debugLineNum = 36503553;BA.debugLine="If pi.Created Then Return"; +if (_pi.Created /*boolean*/ ) { +if (true) return "";}; +RDebugUtils.currentLine=36503554; + //BA.debugLineNum = 36503554;BA.debugLine="pi.IsFirst = IdToB4XPage.Size = 1"; +_pi.IsFirst /*boolean*/ = __ref._idtob4xpage /*reparto_izca.keymon.lat.b4xorderedmap*/ ._getsize /*int*/ (null)==1; +RDebugUtils.currentLine=36503555; + //BA.debugLineNum = 36503555;BA.debugLine="CreatePageImpl (pi)"; +__ref._createpageimpl /*String*/ (null,_pi); +RDebugUtils.currentLine=36503556; + //BA.debugLineNum = 36503556;BA.debugLine="pi.Created = True"; +_pi.Created /*boolean*/ = __c.True; +RDebugUtils.currentLine=36503557; + //BA.debugLineNum = 36503557;BA.debugLine="RootB4XToPage.Put(pi.Root, pi)"; +__ref._rootb4xtopage /*reparto_izca.keymon.lat.b4xorderedmap*/ ._put /*String*/ (null,(Object)(_pi.Root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject()),(Object)(_pi)); +RDebugUtils.currentLine=36503558; + //BA.debugLineNum = 36503558;BA.debugLine="LogEvent(pi, \"B4XPage_Created\")"; +__ref._logevent /*String*/ (null,_pi,"B4XPage_Created"); +RDebugUtils.currentLine=36503559; + //BA.debugLineNum = 36503559;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=36503561; + //BA.debugLineNum = 36503561;BA.debugLine="End Sub"; +return ""; +} +public reparto_izca.keymon.lat.b4xpagesmanager._b4xpageinfo _getpagefromid(reparto_izca.keymon.lat.b4xpagesmanager __ref,String _id) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "getpagefromid", true)) + {return ((reparto_izca.keymon.lat.b4xpagesmanager._b4xpageinfo) Debug.delegate(ba, "getpagefromid", new Object[] {_id}));} +reparto_izca.keymon.lat.b4xpagesmanager._b4xpageinfo _pi = null; +RDebugUtils.currentLine=36765696; + //BA.debugLineNum = 36765696;BA.debugLine="Private Sub GetPageFromId (id As String) As B4XPag"; +RDebugUtils.currentLine=36765697; + //BA.debugLineNum = 36765697;BA.debugLine="Dim pi As B4XPageInfo = IdToB4XPage.Get(id.ToLowe"; +_pi = (reparto_izca.keymon.lat.b4xpagesmanager._b4xpageinfo)(__ref._idtob4xpage /*reparto_izca.keymon.lat.b4xorderedmap*/ ._get /*Object*/ (null,(Object)(_id.toLowerCase()))); +RDebugUtils.currentLine=36765698; + //BA.debugLineNum = 36765698;BA.debugLine="If pi = Null Then"; +if (_pi== null) { +RDebugUtils.currentLine=36765699; + //BA.debugLineNum = 36765699;BA.debugLine="Log(\"Error: page id not found: \" & id)"; +__c.LogImpl("936765699","Error: page id not found: "+_id,0); +RDebugUtils.currentLine=36765700; + //BA.debugLineNum = 36765700;BA.debugLine="Log(\"Ids: \" & IdToB4XPage.Keys) 'ignore"; +__c.LogImpl("936765700","Ids: "+BA.ObjectToString(__ref._idtob4xpage /*reparto_izca.keymon.lat.b4xorderedmap*/ ._getkeys /*anywheresoftware.b4a.objects.collections.List*/ (null)),0); + }; +RDebugUtils.currentLine=36765702; + //BA.debugLineNum = 36765702;BA.debugLine="Return pi"; +if (true) return _pi; +RDebugUtils.currentLine=36765703; + //BA.debugLineNum = 36765703;BA.debugLine="End Sub"; +return null; +} +public String _logevent(reparto_izca.keymon.lat.b4xpagesmanager __ref,reparto_izca.keymon.lat.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=37879808; + //BA.debugLineNum = 37879808;BA.debugLine="Private Sub LogEvent (pi As B4XPageInfo, ev As Str"; +RDebugUtils.currentLine=37879809; + //BA.debugLineNum = 37879809;BA.debugLine="If LogEvents Then"; +if (__ref._logevents /*boolean*/ ) { +RDebugUtils.currentLine=37879810; + //BA.debugLineNum = 37879810;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=37879811; + //BA.debugLineNum = 37879811;BA.debugLine="Log(msg)"; +__c.LogImpl("937879811",_msg,0); + }; +RDebugUtils.currentLine=37879813; + //BA.debugLineNum = 37879813;BA.debugLine="End Sub"; +return ""; +} +public String _checkmainactivityorientations(reparto_izca.keymon.lat.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=35717120; + //BA.debugLineNum = 35717120;BA.debugLine="Private Sub CheckMainActivityOrientations"; +RDebugUtils.currentLine=35717122; + //BA.debugLineNum = 35717122;BA.debugLine="Dim jo As JavaObject"; +_jo = new anywheresoftware.b4j.object.JavaObject(); +RDebugUtils.currentLine=35717123; + //BA.debugLineNum = 35717123;BA.debugLine="jo.InitializeContext"; +_jo.InitializeContext(ba); +RDebugUtils.currentLine=35717125; + //BA.debugLineNum = 35717125;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=35717126; + //BA.debugLineNum = 35717126;BA.debugLine="If ActionBar.IsInitialized = False Then"; +if (__ref._actionbar /*anywheresoftware.b4j.object.JavaObject*/ .IsInitialized()==__c.False) { +RDebugUtils.currentLine=35717127; + //BA.debugLineNum = 35717127;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=35717128; + //BA.debugLineNum = 35717128;BA.debugLine="Dim IsAppCompat As Boolean = jme.RunMethod(\"chec"; +_isappcompat = BA.ObjectToBoolean(_jme.RunMethod("checkIfAppCompat",new Object[]{(Object)(_jo.getObject())})); +RDebugUtils.currentLine=35717129; + //BA.debugLineNum = 35717129;BA.debugLine="If IsAppCompat Then"; +if (_isappcompat) { +RDebugUtils.currentLine=35717130; + //BA.debugLineNum = 35717130;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=35717134; + //BA.debugLineNum = 35717134;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=35717135; + //BA.debugLineNum = 35717135;BA.debugLine="Dim activities() As Object = pi.GetField(\"activit"; +_activities = (Object[])(_pi.GetField("activities")); +RDebugUtils.currentLine=35717136; + //BA.debugLineNum = 35717136;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=35717137; + //BA.debugLineNum = 35717137;BA.debugLine="Dim name As String = Act.GetField(\"name\")"; +_name = BA.ObjectToString(_act.GetField("name")); +RDebugUtils.currentLine=35717138; + //BA.debugLineNum = 35717138;BA.debugLine="If name.EndsWith(\".main\") Then"; +if (_name.endsWith(".main")) { +RDebugUtils.currentLine=35717139; + //BA.debugLineNum = 35717139;BA.debugLine="Dim screenOrientation As Int = Act.GetField(\"sc"; +_screenorientation = (int)(BA.ObjectToNumber(_act.GetField("screenOrientation"))); +RDebugUtils.currentLine=35717140; + //BA.debugLineNum = 35717140;BA.debugLine="If screenOrientation = -1 Then"; +if (_screenorientation==-1) { +RDebugUtils.currentLine=35717141; + //BA.debugLineNum = 35717141;BA.debugLine="LogColor(\"#SupportedOrientations attribute mus"; +__c.LogImpl("935717141","#SupportedOrientations attribute must be set to landscape or portrait.",__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Red); + }; + }; + } +}; +RDebugUtils.currentLine=35717145; + //BA.debugLineNum = 35717145;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(reparto_izca.keymon.lat.b4xpagesmanager __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +RDebugUtils.currentLine=35586048; + //BA.debugLineNum = 35586048;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=35586049; + //BA.debugLineNum = 35586049;BA.debugLine="Private IdToB4XPage As B4XOrderedMap"; +_idtob4xpage = new reparto_izca.keymon.lat.b4xorderedmap(); +RDebugUtils.currentLine=35586050; + //BA.debugLineNum = 35586050;BA.debugLine="Private RootB4XToPage As B4XOrderedMap"; +_rootb4xtopage = new reparto_izca.keymon.lat.b4xorderedmap(); +RDebugUtils.currentLine=35586052; + //BA.debugLineNum = 35586052;BA.debugLine="Private Context As JavaObject"; +_context = new anywheresoftware.b4j.object.JavaObject(); +RDebugUtils.currentLine=35586053; + //BA.debugLineNum = 35586053;BA.debugLine="Type B4XPageParent (NativeType As Activity, MenuI"; +; +RDebugUtils.currentLine=35586054; + //BA.debugLineNum = 35586054;BA.debugLine="Type B4AMenuItem (Title As Object, Bitmap As B4XB"; +; +RDebugUtils.currentLine=35586060; + //BA.debugLineNum = 35586060;BA.debugLine="Type B4XPageInfo (B4XPage As Object, Id As String"; +; +RDebugUtils.currentLine=35586064; + //BA.debugLineNum = 35586064;BA.debugLine="Public mStackOfPageIds As B4XSet"; +_mstackofpageids = new reparto_izca.keymon.lat.b4xset(); +RDebugUtils.currentLine=35586065; + //BA.debugLineNum = 35586065;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=35586069; + //BA.debugLineNum = 35586069;BA.debugLine="Private mMainForm As Activity"; +_mmainform = new anywheresoftware.b4a.objects.ActivityWrapper(); +RDebugUtils.currentLine=35586070; + //BA.debugLineNum = 35586070;BA.debugLine="Public ShowUpIndicator As Boolean = True"; +_showupindicator = __c.True; +RDebugUtils.currentLine=35586071; + //BA.debugLineNum = 35586071;BA.debugLine="Public ActionBar As JavaObject"; +_actionbar = new anywheresoftware.b4j.object.JavaObject(); +RDebugUtils.currentLine=35586075; + //BA.debugLineNum = 35586075;BA.debugLine="Public IsForeground As Boolean"; +_isforeground = false; +RDebugUtils.currentLine=35586076; + //BA.debugLineNum = 35586076;BA.debugLine="Public TransitionAnimationDuration As Int = 100"; +_transitionanimationduration = (int) (100); +RDebugUtils.currentLine=35586077; + //BA.debugLineNum = 35586077;BA.debugLine="Public MainPage As B4XMainPage"; +_mainpage = new reparto_izca.keymon.lat.b4xmainpage(); +RDebugUtils.currentLine=35586078; + //BA.debugLineNum = 35586078;BA.debugLine="Private StackString As String"; +_stackstring = ""; +RDebugUtils.currentLine=35586079; + //BA.debugLineNum = 35586079;BA.debugLine="Public LogEvents As Boolean = False"; +_logevents = __c.False; +RDebugUtils.currentLine=35586080; + //BA.debugLineNum = 35586080;BA.debugLine="End Sub"; +return ""; +} +public String _closepageimpl(reparto_izca.keymon.lat.b4xpagesmanager __ref,reparto_izca.keymon.lat.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=36372480; + //BA.debugLineNum = 36372480;BA.debugLine="Private Sub ClosePageImpl (pi As B4XPageInfo) 'ign"; +RDebugUtils.currentLine=36372482; + //BA.debugLineNum = 36372482;BA.debugLine="If mStackOfPageIds.Size = 1 Then"; +if (__ref._mstackofpageids /*reparto_izca.keymon.lat.b4xset*/ ._getsize /*int*/ (null)==1) { +RDebugUtils.currentLine=36372483; + //BA.debugLineNum = 36372483;BA.debugLine="Dim i As Intent"; +_i = new anywheresoftware.b4a.objects.IntentWrapper(); +RDebugUtils.currentLine=36372484; + //BA.debugLineNum = 36372484;BA.debugLine="i.Initialize(i.ACTION_MAIN, \"\")"; +_i.Initialize(_i.ACTION_MAIN,""); +RDebugUtils.currentLine=36372485; + //BA.debugLineNum = 36372485;BA.debugLine="i.AddCategory(\"android.intent.category.HOME\")"; +_i.AddCategory("android.intent.category.HOME"); +RDebugUtils.currentLine=36372486; + //BA.debugLineNum = 36372486;BA.debugLine="i.Flags = 0x10000000"; +_i.setFlags(((int)0x10000000)); +RDebugUtils.currentLine=36372487; + //BA.debugLineNum = 36372487;BA.debugLine="StartActivity(i)"; +__c.StartActivity(ba,(Object)(_i.getObject())); + }else { +RDebugUtils.currentLine=36372489; + //BA.debugLineNum = 36372489;BA.debugLine="pi.Root.RemoveViewFromParent"; +_pi.Root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .RemoveViewFromParent(); + }; +RDebugUtils.currentLine=36372496; + //BA.debugLineNum = 36372496;BA.debugLine="End Sub"; +return ""; +} +public String _toppagedisappear(reparto_izca.keymon.lat.b4xpagesmanager __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "toppagedisappear", true)) + {return ((String) Debug.delegate(ba, "toppagedisappear", null));} +reparto_izca.keymon.lat.b4xpagesmanager._b4xpageinfo _pi = null; +RDebugUtils.currentLine=36175872; + //BA.debugLineNum = 36175872;BA.debugLine="Private Sub TopPageDisappear"; +RDebugUtils.currentLine=36175873; + //BA.debugLineNum = 36175873;BA.debugLine="If xui.IsB4J Then Return"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4J()) { +if (true) return "";}; +RDebugUtils.currentLine=36175874; + //BA.debugLineNum = 36175874;BA.debugLine="Dim pi As B4XPageInfo = GetTopPage"; +_pi = __ref._gettoppage /*reparto_izca.keymon.lat.b4xpagesmanager._b4xpageinfo*/ (null); +RDebugUtils.currentLine=36175875; + //BA.debugLineNum = 36175875;BA.debugLine="If pi = Null Then Return"; +if (_pi== null) { +if (true) return "";}; +RDebugUtils.currentLine=36175876; + //BA.debugLineNum = 36175876;BA.debugLine="If Not(xui.IsB4i) Then"; +if (__c.Not(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4i())) { +RDebugUtils.currentLine=36175877; + //BA.debugLineNum = 36175877;BA.debugLine="If IsForeground Then"; +if (__ref._isforeground /*boolean*/ ) { +RDebugUtils.currentLine=36175878; + //BA.debugLineNum = 36175878;BA.debugLine="RaiseEventWithResult(pi, \"B4XPage_Disappear\", N"; +__ref._raiseeventwithresult /*Object*/ (null,_pi,"B4XPage_Disappear",(Object[])(__c.Null)); + }; + }; +RDebugUtils.currentLine=36175881; + //BA.debugLineNum = 36175881;BA.debugLine="End Sub"; +return ""; +} +public String _showpageimpl(reparto_izca.keymon.lat.b4xpagesmanager __ref,reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=36438016; + //BA.debugLineNum = 36438016;BA.debugLine="Private Sub ShowPageImpl (pi As B4XPageInfo)"; +RDebugUtils.currentLine=36438022; + //BA.debugLineNum = 36438022;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();}; +RDebugUtils.currentLine=36438023; + //BA.debugLineNum = 36438023;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())); +RDebugUtils.currentLine=36438024; + //BA.debugLineNum = 36438024;BA.debugLine="If TransitionAnimationDuration > 0 Then"; +if (__ref._transitionanimationduration /*int*/ >0) { +RDebugUtils.currentLine=36438025; + //BA.debugLineNum = 36438025;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=36438026; + //BA.debugLineNum = 36438026;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 { +RDebugUtils.currentLine=36438028; + //BA.debugLineNum = 36438028;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)); + }; +RDebugUtils.currentLine=36438033; + //BA.debugLineNum = 36438033;BA.debugLine="End Sub"; +return ""; +} +public String _toppageappear(reparto_izca.keymon.lat.b4xpagesmanager __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "toppageappear", true)) + {return ((String) Debug.delegate(ba, "toppageappear", null));} +reparto_izca.keymon.lat.b4xpagesmanager._b4xpageinfo _pi = null; +RDebugUtils.currentLine=36241408; + //BA.debugLineNum = 36241408;BA.debugLine="Private Sub TopPageAppear"; +RDebugUtils.currentLine=36241409; + //BA.debugLineNum = 36241409;BA.debugLine="Dim pi As B4XPageInfo = GetTopPage"; +_pi = __ref._gettoppage /*reparto_izca.keymon.lat.b4xpagesmanager._b4xpageinfo*/ (null); +RDebugUtils.currentLine=36241410; + //BA.debugLineNum = 36241410;BA.debugLine="If pi = Null Then Return"; +if (_pi== null) { +if (true) return "";}; +RDebugUtils.currentLine=36241411; + //BA.debugLineNum = 36241411;BA.debugLine="pi.Parent.NativeType.Title = pi.Title"; +_pi.Parent /*reparto_izca.keymon.lat.b4xpagesmanager._b4xpageparent*/ .NativeType /*anywheresoftware.b4a.objects.ActivityWrapper*/ .setTitle(BA.ObjectToCharSequence(_pi.Title /*Object*/ )); +RDebugUtils.currentLine=36241412; + //BA.debugLineNum = 36241412;BA.debugLine="If Not(xui.IsB4i) Then"; +if (__c.Not(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4i())) { +RDebugUtils.currentLine=36241413; + //BA.debugLineNum = 36241413;BA.debugLine="If IsForeground Then"; +if (__ref._isforeground /*boolean*/ ) { +RDebugUtils.currentLine=36241414; + //BA.debugLineNum = 36241414;BA.debugLine="RaiseEvent(pi, \"B4XPage_Appear\", Null)"; +__ref._raiseevent /*String*/ (null,_pi,"B4XPage_Appear",(Object[])(__c.Null)); + }; + }; +RDebugUtils.currentLine=36241418; + //BA.debugLineNum = 36241418;BA.debugLine="If ShowUpIndicator And ActionBar.IsInitialized Th"; +if (__ref._showupindicator /*boolean*/ && __ref._actionbar /*anywheresoftware.b4j.object.JavaObject*/ .IsInitialized()) { +RDebugUtils.currentLine=36241419; + //BA.debugLineNum = 36241419;BA.debugLine="ActionBar.RunMethod(\"setDisplayHomeAsUpEnabled\","; +__ref._actionbar /*anywheresoftware.b4j.object.JavaObject*/ .RunMethod("setDisplayHomeAsUpEnabled",new Object[]{(Object)(__ref._mstackofpageids /*reparto_izca.keymon.lat.b4xset*/ ._getsize /*int*/ (null)>1)}); + }; +RDebugUtils.currentLine=36241421; + //BA.debugLineNum = 36241421;BA.debugLine="UpdateMenuItems"; +__ref._updatemenuitems /*String*/ (null); +RDebugUtils.currentLine=36241423; + //BA.debugLineNum = 36241423;BA.debugLine="UpdateStackString"; +__ref._updatestackstring /*String*/ (null); +RDebugUtils.currentLine=36241424; + //BA.debugLineNum = 36241424;BA.debugLine="End Sub"; +return ""; +} +public reparto_izca.keymon.lat.b4xpagesmanager._b4xpageparent _createb4xpageparent(reparto_izca.keymon.lat.b4xpagesmanager __ref,Object _nativetype) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "createb4xpageparent", true)) + {return ((reparto_izca.keymon.lat.b4xpagesmanager._b4xpageparent) Debug.delegate(ba, "createb4xpageparent", new Object[] {_nativetype}));} +reparto_izca.keymon.lat.b4xpagesmanager._b4xpageparent _t1 = null; +RDebugUtils.currentLine=37617664; + //BA.debugLineNum = 37617664;BA.debugLine="Private Sub CreateB4XPageParent (NativeType As Obj"; +RDebugUtils.currentLine=37617670; + //BA.debugLineNum = 37617670;BA.debugLine="Dim t1 As B4XPageParent"; +_t1 = new reparto_izca.keymon.lat.b4xpagesmanager._b4xpageparent(); +RDebugUtils.currentLine=37617671; + //BA.debugLineNum = 37617671;BA.debugLine="t1.Initialize"; +_t1.Initialize(); +RDebugUtils.currentLine=37617672; + //BA.debugLineNum = 37617672;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=37617673; + //BA.debugLineNum = 37617673;BA.debugLine="Return t1"; +if (true) return _t1; +RDebugUtils.currentLine=37617674; + //BA.debugLineNum = 37617674;BA.debugLine="End Sub"; +return null; +} +public String _createpageimpl(reparto_izca.keymon.lat.b4xpagesmanager __ref,reparto_izca.keymon.lat.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=36634624; + //BA.debugLineNum = 36634624;BA.debugLine="Private Sub CreatePageImpl (pi As B4XPageInfo)"; +RDebugUtils.currentLine=36634636; + //BA.debugLineNum = 36634636;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=36634637; + //BA.debugLineNum = 36634637;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=36634638; + //BA.debugLineNum = 36634638;BA.debugLine="pi.Parent = CreateB4XPageParent(mMainForm)"; +_pi.Parent /*reparto_izca.keymon.lat.b4xpagesmanager._b4xpageparent*/ = __ref._createb4xpageparent /*reparto_izca.keymon.lat.b4xpagesmanager._b4xpageparent*/ (null,(Object)(__ref._mmainform /*anywheresoftware.b4a.objects.ActivityWrapper*/ .getObject())); +RDebugUtils.currentLine=36634639; + //BA.debugLineNum = 36634639;BA.debugLine="pi.Parent.MenuItems.Initialize"; +_pi.Parent /*reparto_izca.keymon.lat.b4xpagesmanager._b4xpageparent*/ .MenuItems /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=36634647; + //BA.debugLineNum = 36634647;BA.debugLine="End Sub"; +return ""; +} +public reparto_izca.keymon.lat.b4xpagesmanager._b4xpageinfo _getpageinfofromroot(reparto_izca.keymon.lat.b4xpagesmanager __ref,anywheresoftware.b4a.objects.B4XViewWrapper _root) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "getpageinfofromroot", true)) + {return ((reparto_izca.keymon.lat.b4xpagesmanager._b4xpageinfo) Debug.delegate(ba, "getpageinfofromroot", new Object[] {_root}));} +RDebugUtils.currentLine=36831232; + //BA.debugLineNum = 36831232;BA.debugLine="Public Sub GetPageInfoFromRoot (Root As B4XView) A"; +RDebugUtils.currentLine=36831233; + //BA.debugLineNum = 36831233;BA.debugLine="Return RootB4XToPage.Get(Root)"; +if (true) return (reparto_izca.keymon.lat.b4xpagesmanager._b4xpageinfo)(__ref._rootb4xtopage /*reparto_izca.keymon.lat.b4xorderedmap*/ ._get /*Object*/ (null,(Object)(_root.getObject()))); +RDebugUtils.currentLine=36831234; + //BA.debugLineNum = 36831234;BA.debugLine="End Sub"; +return null; +} +public String _updatemenuitems(reparto_izca.keymon.lat.b4xpagesmanager __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "updatemenuitems", true)) + {return ((String) Debug.delegate(ba, "updatemenuitems", null));} +RDebugUtils.currentLine=37093376; + //BA.debugLineNum = 37093376;BA.debugLine="Private Sub UpdateMenuItems"; +RDebugUtils.currentLine=37093377; + //BA.debugLineNum = 37093377;BA.debugLine="Context.RunMethod(\"invalidateOptionsMenu\", Null)"; +__ref._context /*anywheresoftware.b4j.object.JavaObject*/ .RunMethod("invalidateOptionsMenu",(Object[])(__c.Null)); +RDebugUtils.currentLine=37093378; + //BA.debugLineNum = 37093378;BA.debugLine="End Sub"; +return ""; +} +public String _updatestackstring(reparto_izca.keymon.lat.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 = ""; +RDebugUtils.currentLine=37945344; + //BA.debugLineNum = 37945344;BA.debugLine="Public Sub UpdateStackString"; +RDebugUtils.currentLine=37945345; + //BA.debugLineNum = 37945345;BA.debugLine="Dim sb As StringBuilder"; +_sb = new anywheresoftware.b4a.keywords.StringBuilderWrapper(); +RDebugUtils.currentLine=37945346; + //BA.debugLineNum = 37945346;BA.debugLine="sb.Initialize"; +_sb.Initialize(); +RDebugUtils.currentLine=37945347; + //BA.debugLineNum = 37945347;BA.debugLine="sb.Append(\"[\")"; +_sb.Append("["); +RDebugUtils.currentLine=37945348; + //BA.debugLineNum = 37945348;BA.debugLine="If mStackOfPageIds.Size > 0 Then"; +if (__ref._mstackofpageids /*reparto_izca.keymon.lat.b4xset*/ ._getsize /*int*/ (null)>0) { +RDebugUtils.currentLine=37945349; + //BA.debugLineNum = 37945349;BA.debugLine="For Each id As String In mStackOfPageIds.AsList"; +{ +final anywheresoftware.b4a.BA.IterableList group5 = __ref._mstackofpageids /*reparto_izca.keymon.lat.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)); +RDebugUtils.currentLine=37945350; + //BA.debugLineNum = 37945350;BA.debugLine="sb.Append(id).Append(\", \")"; +_sb.Append(_id).Append(", "); + } +}; +RDebugUtils.currentLine=37945352; + //BA.debugLineNum = 37945352;BA.debugLine="sb.Remove(sb.Length - 2, sb.Length)"; +_sb.Remove((int) (_sb.getLength()-2),_sb.getLength()); + }; +RDebugUtils.currentLine=37945354; + //BA.debugLineNum = 37945354;BA.debugLine="sb.Append(\"]\")"; +_sb.Append("]"); +RDebugUtils.currentLine=37945355; + //BA.debugLineNum = 37945355;BA.debugLine="StackString = sb.ToString"; +__ref._stackstring /*String*/ = _sb.ToString(); +RDebugUtils.currentLine=37945356; + //BA.debugLineNum = 37945356;BA.debugLine="End Sub"; +return ""; +} +public boolean checkIfAppCompat(android.app.Activity act) { + return act.getClass().getSuperclass().getName().equals("androidx.appcompat.app.AppCompatActivity"); +} +public static class PagesMenuListener implements android.view.MenuItem.OnMenuItemClickListener { + private B4AClass target; + private String tag; + public PagesMenuListener(B4AClass target, String tag) { + this.target = target; + this.tag = tag; + } + public boolean onMenuItemClick(android.view.MenuItem item) { + target.getBA().raiseEventFromUI(null, "b4xpage_menuclick", tag); + return true; + } +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/b4xplusminus.java b/B4A/Objects/src/reparto_izca/keymon/lat/b4xplusminus.java new file mode 100644 index 0000000..98de151 --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/b4xplusminus.java @@ -0,0 +1,848 @@ +package reparto_izca.keymon.lat; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.B4AClass; +import anywheresoftware.b4a.BALayout; +import anywheresoftware.b4a.debug.*; + +public class b4xplusminus 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, "reparto_izca.keymon.lat.b4xplusminus"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", reparto_izca.keymon.lat.b4xplusminus.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 String _meventname = ""; +public Object _mcallback = null; +public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; +public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; +public Object _tag = null; +public anywheresoftware.b4a.objects.B4XViewWrapper _pnlplus = null; +public anywheresoftware.b4a.objects.B4XViewWrapper _pnlminus = null; +public anywheresoftware.b4a.objects.B4XViewWrapper _lblplus = null; +public anywheresoftware.b4a.objects.B4XViewWrapper _lblminus = null; +public String _formation = ""; +public boolean _mcyclic = false; +public boolean _mrapid = false; +public anywheresoftware.b4a.objects.B4XViewWrapper _mainlabel = null; +public int _arrowssize = 0; +public anywheresoftware.b4a.objects.collections.List _mstringitems = null; +public double _mstartrange = 0; +public double _minterval = 0; +public double _mendrange = 0; +public int _mselectedindex = 0; +public int _loopindex = 0; +public int _rapidperiod1 = 0; +public int _rapidperiod2 = 0; +public reparto_izca.keymon.lat.b4xformatter _formatter = null; +public boolean _stringmode = false; +public int _size = 0; +public boolean _mhaptic = false; +public b4a.example.dateutils _dateutils = null; +public reparto_izca.keymon.lat.main _main = null; +public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; +public reparto_izca.keymon.lat.foto _foto = null; +public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_izca.keymon.lat.starter _starter = null; +public reparto_izca.keymon.lat.tracker _tracker = null; +public reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public String _base_resize(reparto_izca.keymon.lat.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=53411840; + //BA.debugLineNum = 53411840;BA.debugLine="Public Sub Base_Resize (Width As Double, Height As"; +RDebugUtils.currentLine=53411841; + //BA.debugLineNum = 53411841;BA.debugLine="If Formation = \"Horizontal\" Then"; +if ((__ref._formation /*String*/ ).equals("Horizontal")) { +RDebugUtils.currentLine=53411842; + //BA.debugLineNum = 53411842;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=53411843; + //BA.debugLineNum = 53411843;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=53411844; + //BA.debugLineNum = 53411844;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=53411845; + //BA.debugLineNum = 53411845;BA.debugLine="Else if Formation = \"Vertical\" Then"; +if ((__ref._formation /*String*/ ).equals("Vertical")) { +RDebugUtils.currentLine=53411846; + //BA.debugLineNum = 53411846;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=53411847; + //BA.debugLineNum = 53411847;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=53411848; + //BA.debugLineNum = 53411848;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=53411850; + //BA.debugLineNum = 53411850;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=53411851; + //BA.debugLineNum = 53411851;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=53411852; + //BA.debugLineNum = 53411852;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=53411854; + //BA.debugLineNum = 53411854;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=53411855; + //BA.debugLineNum = 53411855;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=53411856; + //BA.debugLineNum = 53411856;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(reparto_izca.keymon.lat.b4xplusminus __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xplusminus"; +RDebugUtils.currentLine=53215232; + //BA.debugLineNum = 53215232;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=53215233; + //BA.debugLineNum = 53215233;BA.debugLine="Private mEventName As String 'ignore"; +_meventname = ""; +RDebugUtils.currentLine=53215234; + //BA.debugLineNum = 53215234;BA.debugLine="Private mCallBack As Object 'ignore"; +_mcallback = new Object(); +RDebugUtils.currentLine=53215235; + //BA.debugLineNum = 53215235;BA.debugLine="Public mBase As B4XView 'ignore"; +_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=53215236; + //BA.debugLineNum = 53215236;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=53215237; + //BA.debugLineNum = 53215237;BA.debugLine="Public Tag As Object"; +_tag = new Object(); +RDebugUtils.currentLine=53215238; + //BA.debugLineNum = 53215238;BA.debugLine="Public pnlPlus, pnlMinus As B4XView"; +_pnlplus = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_pnlminus = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=53215239; + //BA.debugLineNum = 53215239;BA.debugLine="Public lblPlus, lblMinus As B4XView"; +_lblplus = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_lblminus = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=53215240; + //BA.debugLineNum = 53215240;BA.debugLine="Public Formation As String"; +_formation = ""; +RDebugUtils.currentLine=53215241; + //BA.debugLineNum = 53215241;BA.debugLine="Public mCyclic As Boolean"; +_mcyclic = false; +RDebugUtils.currentLine=53215242; + //BA.debugLineNum = 53215242;BA.debugLine="Public mRapid As Boolean"; +_mrapid = false; +RDebugUtils.currentLine=53215243; + //BA.debugLineNum = 53215243;BA.debugLine="Public MainLabel As B4XView"; +_mainlabel = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=53215244; + //BA.debugLineNum = 53215244;BA.debugLine="Public ArrowsSize As Int = 30dip"; +_arrowssize = __c.DipToCurrent((int) (30)); +RDebugUtils.currentLine=53215245; + //BA.debugLineNum = 53215245;BA.debugLine="Private mStringItems As List"; +_mstringitems = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=53215246; + //BA.debugLineNum = 53215246;BA.debugLine="Private mStartRange, mInterval, mEndRange As Doub"; +_mstartrange = 0; +_minterval = 0; +_mendrange = 0; +RDebugUtils.currentLine=53215247; + //BA.debugLineNum = 53215247;BA.debugLine="Private mSelectedIndex As Int = -1"; +_mselectedindex = (int) (-1); +RDebugUtils.currentLine=53215248; + //BA.debugLineNum = 53215248;BA.debugLine="Private LoopIndex As Int"; +_loopindex = 0; +RDebugUtils.currentLine=53215249; + //BA.debugLineNum = 53215249;BA.debugLine="Public RapidPeriod1 As Int = 1000"; +_rapidperiod1 = (int) (1000); +RDebugUtils.currentLine=53215250; + //BA.debugLineNum = 53215250;BA.debugLine="Public RapidPeriod2 As Int = 30"; +_rapidperiod2 = (int) (30); +RDebugUtils.currentLine=53215251; + //BA.debugLineNum = 53215251;BA.debugLine="Public Formatter As B4XFormatter"; +_formatter = new reparto_izca.keymon.lat.b4xformatter(); +RDebugUtils.currentLine=53215252; + //BA.debugLineNum = 53215252;BA.debugLine="Private StringMode As Boolean"; +_stringmode = false; +RDebugUtils.currentLine=53215253; + //BA.debugLineNum = 53215253;BA.debugLine="Private Size As Int"; +_size = 0; +RDebugUtils.currentLine=53215254; + //BA.debugLineNum = 53215254;BA.debugLine="Public mHaptic As Boolean"; +_mhaptic = false; +RDebugUtils.currentLine=53215255; + //BA.debugLineNum = 53215255;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.objects.B4XViewWrapper _createlabel(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=54198272; + //BA.debugLineNum = 54198272;BA.debugLine="Private Sub CreateLabel (text As String) As B4XVie"; +RDebugUtils.currentLine=54198273; + //BA.debugLineNum = 54198273;BA.debugLine="Dim lbl As Label"; +_lbl = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=54198274; + //BA.debugLineNum = 54198274;BA.debugLine="lbl.Initialize(\"\")"; +_lbl.Initialize(ba,""); +RDebugUtils.currentLine=54198275; + //BA.debugLineNum = 54198275;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=54198276; + //BA.debugLineNum = 54198276;BA.debugLine="xlbl.Font = xui.CreateMaterialIcons(30)"; +_xlbl.setFont(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreateMaterialIcons((float) (30))); +RDebugUtils.currentLine=54198277; + //BA.debugLineNum = 54198277;BA.debugLine="xlbl.Text = text"; +_xlbl.setText(BA.ObjectToCharSequence(_text)); +RDebugUtils.currentLine=54198278; + //BA.debugLineNum = 54198278;BA.debugLine="xlbl.TextColor = MainLabel.TextColor"; +_xlbl.setTextColor(__ref._mainlabel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTextColor()); +RDebugUtils.currentLine=54198279; + //BA.debugLineNum = 54198279;BA.debugLine="Return xlbl"; +if (true) return _xlbl; +RDebugUtils.currentLine=54198280; + //BA.debugLineNum = 54198280;BA.debugLine="End Sub"; +return null; +} +public String _decrement(reparto_izca.keymon.lat.b4xplusminus __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xplusminus"; +if (Debug.shouldDelegate(ba, "decrement", true)) + {return ((String) Debug.delegate(ba, "decrement", null));} +RDebugUtils.currentLine=53936128; + //BA.debugLineNum = 53936128;BA.debugLine="Public Sub Decrement"; +RDebugUtils.currentLine=53936129; + //BA.debugLineNum = 53936129;BA.debugLine="If mSelectedIndex <= 0 Then"; +if (__ref._mselectedindex /*int*/ <=0) { +RDebugUtils.currentLine=53936130; + //BA.debugLineNum = 53936130;BA.debugLine="If mCyclic Then"; +if (__ref._mcyclic /*boolean*/ ) { +RDebugUtils.currentLine=53936131; + //BA.debugLineNum = 53936131;BA.debugLine="mSelectedIndex = Size"; +__ref._mselectedindex /*int*/ = __ref._size /*int*/ ; + }else { +RDebugUtils.currentLine=53936133; + //BA.debugLineNum = 53936133;BA.debugLine="mSelectedIndex = 0"; +__ref._mselectedindex /*int*/ = (int) (0); +RDebugUtils.currentLine=53936134; + //BA.debugLineNum = 53936134;BA.debugLine="LoopIndex = LoopIndex + 1"; +__ref._loopindex /*int*/ = (int) (__ref._loopindex /*int*/ +1); +RDebugUtils.currentLine=53936135; + //BA.debugLineNum = 53936135;BA.debugLine="Return"; +if (true) return ""; + }; + }; +RDebugUtils.currentLine=53936138; + //BA.debugLineNum = 53936138;BA.debugLine="SetIndex(mSelectedIndex - 1, True)"; +__ref._setindex /*String*/ (null,(int) (__ref._mselectedindex /*int*/ -1),__c.True); +RDebugUtils.currentLine=53936139; + //BA.debugLineNum = 53936139;BA.debugLine="End Sub"; +return ""; +} +public String _setindex(reparto_izca.keymon.lat.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=53805056; + //BA.debugLineNum = 53805056;BA.debugLine="Private Sub SetIndex(i As Int, RaiseEvent As Boole"; +RDebugUtils.currentLine=53805057; + //BA.debugLineNum = 53805057;BA.debugLine="If i >= Size Then i = -1"; +if (_i>=__ref._size /*int*/ ) { +_i = (int) (-1);}; +RDebugUtils.currentLine=53805058; + //BA.debugLineNum = 53805058;BA.debugLine="mSelectedIndex = i"; +__ref._mselectedindex /*int*/ = _i; +RDebugUtils.currentLine=53805059; + //BA.debugLineNum = 53805059;BA.debugLine="If mSelectedIndex = -1 Then"; +if (__ref._mselectedindex /*int*/ ==-1) { +RDebugUtils.currentLine=53805060; + //BA.debugLineNum = 53805060;BA.debugLine="MainLabel.Text = \"\""; +__ref._mainlabel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setText(BA.ObjectToCharSequence("")); + }else { +RDebugUtils.currentLine=53805062; + //BA.debugLineNum = 53805062;BA.debugLine="Dim value As Object = GetValueImpl (mSelectedInd"; +_value = __ref._getvalueimpl /*Object*/ (null,__ref._mselectedindex /*int*/ ); +RDebugUtils.currentLine=53805063; + //BA.debugLineNum = 53805063;BA.debugLine="If StringMode Then"; +if (__ref._stringmode /*boolean*/ ) { +RDebugUtils.currentLine=53805064; + //BA.debugLineNum = 53805064;BA.debugLine="InternalSetTextOrCSBuilderToLabel(MainLabel, va"; +__ref._internalsettextorcsbuildertolabel /*String*/ (null,__ref._mainlabel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ,_value); + }else { +RDebugUtils.currentLine=53805066; + //BA.debugLineNum = 53805066;BA.debugLine="MainLabel.Text = Formatter.Format(value)"; +__ref._mainlabel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setText(BA.ObjectToCharSequence(__ref._formatter /*reparto_izca.keymon.lat.b4xformatter*/ ._format /*String*/ (null,(double)(BA.ObjectToNumber(_value))))); + }; +RDebugUtils.currentLine=53805068; + //BA.debugLineNum = 53805068;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=53805069; + //BA.debugLineNum = 53805069;BA.debugLine="CallSub2(mCallBack, mEventName & \"_valuechanged"; +__c.CallSubNew2(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_valuechanged",_value); + }; + }; +RDebugUtils.currentLine=53805072; + //BA.debugLineNum = 53805072;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=53805073; + //BA.debugLineNum = 53805073;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=53805074; + //BA.debugLineNum = 53805074;BA.debugLine="End Sub"; +return ""; +} +public String _designercreateview(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=53346304; + //BA.debugLineNum = 53346304;BA.debugLine="Public Sub DesignerCreateView (Base As Object, lbl"; +RDebugUtils.currentLine=53346305; + //BA.debugLineNum = 53346305;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=53346306; + //BA.debugLineNum = 53346306;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._tag /*Object*/ = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTag(); +RDebugUtils.currentLine=53346306; + //BA.debugLineNum = 53346306;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag(this); +RDebugUtils.currentLine=53346307; + //BA.debugLineNum = 53346307;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=53346308; + //BA.debugLineNum = 53346308;BA.debugLine="MainLabel.SetTextAlignment(\"CENTER\", \"CENTER\")"; +__ref._mainlabel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetTextAlignment("CENTER","CENTER"); +RDebugUtils.currentLine=53346309; + //BA.debugLineNum = 53346309;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")))); +RDebugUtils.currentLine=53346319; + //BA.debugLineNum = 53346319;BA.debugLine="pnlPlus = xui.CreatePanel(\"pnlArrow\")"; +__ref._pnlplus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,"pnlArrow"); +RDebugUtils.currentLine=53346320; + //BA.debugLineNum = 53346320;BA.debugLine="pnlMinus = xui.CreatePanel(\"pnlArrow\")"; +__ref._pnlminus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,"pnlArrow"); +RDebugUtils.currentLine=53346322; + //BA.debugLineNum = 53346322;BA.debugLine="pnlPlus.Tag = True"; +__ref._pnlplus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag((Object)(__c.True)); +RDebugUtils.currentLine=53346323; + //BA.debugLineNum = 53346323;BA.debugLine="pnlMinus.Tag = False"; +__ref._pnlminus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag((Object)(__c.False)); +RDebugUtils.currentLine=53346324; + //BA.debugLineNum = 53346324;BA.debugLine="Formation = Props.Get(\"Orientation\")"; +__ref._formation /*String*/ = BA.ObjectToString(_props.Get((Object)("Orientation"))); +RDebugUtils.currentLine=53346325; + //BA.debugLineNum = 53346325;BA.debugLine="mCyclic = Props.Get(\"Cyclic\")"; +__ref._mcyclic /*boolean*/ = BA.ObjectToBoolean(_props.Get((Object)("Cyclic"))); +RDebugUtils.currentLine=53346326; + //BA.debugLineNum = 53346326;BA.debugLine="mRapid = Props.Get(\"Rapid\")"; +__ref._mrapid /*boolean*/ = BA.ObjectToBoolean(_props.Get((Object)("Rapid"))); +RDebugUtils.currentLine=53346327; + //BA.debugLineNum = 53346327;BA.debugLine="mHaptic = Props.GetDefault(\"HapticFeedback\", Fals"; +__ref._mhaptic /*boolean*/ = BA.ObjectToBoolean(_props.GetDefault((Object)("HapticFeedback"),(Object)(__c.False))); +RDebugUtils.currentLine=53346328; + //BA.debugLineNum = 53346328;BA.debugLine="Formatter.GetDefaultFormat.FormatFont = MainLabel"; +__ref._formatter /*reparto_izca.keymon.lat.b4xformatter*/ ._getdefaultformat /*reparto_izca.keymon.lat.b4xformatter._b4xformatdata*/ (null).FormatFont /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ = __ref._mainlabel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getFont(); +RDebugUtils.currentLine=53346329; + //BA.debugLineNum = 53346329;BA.debugLine="Formatter.GetDefaultFormat.TextColor = MainLabel."; +__ref._formatter /*reparto_izca.keymon.lat.b4xformatter*/ ._getdefaultformat /*reparto_izca.keymon.lat.b4xformatter._b4xformatdata*/ (null).TextColor /*int*/ = __ref._mainlabel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTextColor(); +RDebugUtils.currentLine=53346330; + //BA.debugLineNum = 53346330;BA.debugLine="If Formation = \"Horizontal\" Then"; +if ((__ref._formation /*String*/ ).equals("Horizontal")) { +RDebugUtils.currentLine=53346331; + //BA.debugLineNum = 53346331;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=53346332; + //BA.debugLineNum = 53346332;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 { +RDebugUtils.currentLine=53346334; + //BA.debugLineNum = 53346334;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=53346335; + //BA.debugLineNum = 53346335;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)))); + }; +RDebugUtils.currentLine=53346337; + //BA.debugLineNum = 53346337;BA.debugLine="lblMinus.SetTextAlignment(\"CENTER\", \"CENTER\")"; +__ref._lblminus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetTextAlignment("CENTER","CENTER"); +RDebugUtils.currentLine=53346338; + //BA.debugLineNum = 53346338;BA.debugLine="lblPlus.SetTextAlignment(\"CENTER\", \"CENTER\")"; +__ref._lblplus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetTextAlignment("CENTER","CENTER"); +RDebugUtils.currentLine=53346339; + //BA.debugLineNum = 53346339;BA.debugLine="MainLabel.SetTextAlignment(\"CENTER\", \"CENTER\")"; +__ref._mainlabel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetTextAlignment("CENTER","CENTER"); +RDebugUtils.currentLine=53346340; + //BA.debugLineNum = 53346340;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=53346341; + //BA.debugLineNum = 53346341;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=53346342; + //BA.debugLineNum = 53346342;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=53346343; + //BA.debugLineNum = 53346343;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=53346344; + //BA.debugLineNum = 53346344;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=53346345; + //BA.debugLineNum = 53346345;BA.debugLine="SetIndex(-1, False)"; +__ref._setindex /*String*/ (null,(int) (-1),__c.False); +RDebugUtils.currentLine=53346346; + //BA.debugLineNum = 53346346;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=53346347; + //BA.debugLineNum = 53346347;BA.debugLine="End Sub"; +return ""; +} +public Object _getselectedvalue(reparto_izca.keymon.lat.b4xplusminus __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xplusminus"; +if (Debug.shouldDelegate(ba, "getselectedvalue", true)) + {return ((Object) Debug.delegate(ba, "getselectedvalue", null));} +RDebugUtils.currentLine=53608448; + //BA.debugLineNum = 53608448;BA.debugLine="Public Sub getSelectedValue As Object"; +RDebugUtils.currentLine=53608449; + //BA.debugLineNum = 53608449;BA.debugLine="Return GetValueImpl (mSelectedIndex)"; +if (true) return __ref._getvalueimpl /*Object*/ (null,__ref._mselectedindex /*int*/ ); +RDebugUtils.currentLine=53608450; + //BA.debugLineNum = 53608450;BA.debugLine="End Sub"; +return null; +} +public Object _getvalueimpl(reparto_izca.keymon.lat.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=53739520; + //BA.debugLineNum = 53739520;BA.debugLine="Private Sub GetValueImpl (Index As Int) As Object"; +RDebugUtils.currentLine=53739521; + //BA.debugLineNum = 53739521;BA.debugLine="If StringMode Then"; +if (__ref._stringmode /*boolean*/ ) { +RDebugUtils.currentLine=53739522; + //BA.debugLineNum = 53739522;BA.debugLine="Return mStringItems.Get(Index)"; +if (true) return __ref._mstringitems /*anywheresoftware.b4a.objects.collections.List*/ .Get(_index); + }else { +RDebugUtils.currentLine=53739524; + //BA.debugLineNum = 53739524;BA.debugLine="If Index = Size - 1 Then"; +if (_index==__ref._size /*int*/ -1) { +RDebugUtils.currentLine=53739525; + //BA.debugLineNum = 53739525;BA.debugLine="Return mEndRange"; +if (true) return (Object)(__ref._mendrange /*double*/ ); + }else { +RDebugUtils.currentLine=53739527; + //BA.debugLineNum = 53739527;BA.debugLine="Return mStartRange + Index * mInterval"; +if (true) return (Object)(__ref._mstartrange /*double*/ +_index*__ref._minterval /*double*/ ); + }; + }; +RDebugUtils.currentLine=53739530; + //BA.debugLineNum = 53739530;BA.debugLine="End Sub"; +return null; +} +public String _increment(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=53870592; + //BA.debugLineNum = 53870592;BA.debugLine="Public Sub Increment"; +RDebugUtils.currentLine=53870593; + //BA.debugLineNum = 53870593;BA.debugLine="If mSelectedIndex = Size - 3 And StringMode = Fal"; +if (__ref._mselectedindex /*int*/ ==__ref._size /*int*/ -3 && __ref._stringmode /*boolean*/ ==__c.False) { +RDebugUtils.currentLine=53870594; + //BA.debugLineNum = 53870594;BA.debugLine="Dim v1 As Double = GetValueImpl(mSelectedIndex +"; +_v1 = (double)(BA.ObjectToNumber(__ref._getvalueimpl /*Object*/ (null,(int) (__ref._mselectedindex /*int*/ +1)))); +RDebugUtils.currentLine=53870595; + //BA.debugLineNum = 53870595;BA.debugLine="Dim v2 As Double = GetValueImpl(mSelectedIndex +"; +_v2 = (double)(BA.ObjectToNumber(__ref._getvalueimpl /*Object*/ (null,(int) (__ref._mselectedindex /*int*/ +2)))); +RDebugUtils.currentLine=53870596; + //BA.debugLineNum = 53870596;BA.debugLine="If Formatter.Format(v1) = Formatter.Format(v2) T"; +if ((__ref._formatter /*reparto_izca.keymon.lat.b4xformatter*/ ._format /*String*/ (null,_v1)).equals(__ref._formatter /*reparto_izca.keymon.lat.b4xformatter*/ ._format /*String*/ (null,_v2))) { +RDebugUtils.currentLine=53870597; + //BA.debugLineNum = 53870597;BA.debugLine="mSelectedIndex = mSelectedIndex + 1"; +__ref._mselectedindex /*int*/ = (int) (__ref._mselectedindex /*int*/ +1); + }; + }; +RDebugUtils.currentLine=53870600; + //BA.debugLineNum = 53870600;BA.debugLine="If mSelectedIndex >= Size - 1 Then"; +if (__ref._mselectedindex /*int*/ >=__ref._size /*int*/ -1) { +RDebugUtils.currentLine=53870601; + //BA.debugLineNum = 53870601;BA.debugLine="If mCyclic Then"; +if (__ref._mcyclic /*boolean*/ ) { +RDebugUtils.currentLine=53870602; + //BA.debugLineNum = 53870602;BA.debugLine="mSelectedIndex = -1"; +__ref._mselectedindex /*int*/ = (int) (-1); + }else { +RDebugUtils.currentLine=53870604; + //BA.debugLineNum = 53870604;BA.debugLine="mSelectedIndex = Size - 1"; +__ref._mselectedindex /*int*/ = (int) (__ref._size /*int*/ -1); +RDebugUtils.currentLine=53870605; + //BA.debugLineNum = 53870605;BA.debugLine="LoopIndex = LoopIndex + 1"; +__ref._loopindex /*int*/ = (int) (__ref._loopindex /*int*/ +1); +RDebugUtils.currentLine=53870606; + //BA.debugLineNum = 53870606;BA.debugLine="Return"; +if (true) return ""; + }; + }; +RDebugUtils.currentLine=53870609; + //BA.debugLineNum = 53870609;BA.debugLine="SetIndex(mSelectedIndex + 1, True)"; +__ref._setindex /*String*/ (null,(int) (__ref._mselectedindex /*int*/ +1),__c.True); +RDebugUtils.currentLine=53870610; + //BA.debugLineNum = 53870610;BA.debugLine="End Sub"; +return ""; +} +public String _initialize(reparto_izca.keymon.lat.b4xplusminus __ref,anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="b4xplusminus"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba,_callback,_eventname}));} +RDebugUtils.currentLine=53280768; + //BA.debugLineNum = 53280768;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +RDebugUtils.currentLine=53280769; + //BA.debugLineNum = 53280769;BA.debugLine="mEventName = EventName"; +__ref._meventname /*String*/ = _eventname; +RDebugUtils.currentLine=53280770; + //BA.debugLineNum = 53280770;BA.debugLine="mCallBack = Callback"; +__ref._mcallback /*Object*/ = _callback; +RDebugUtils.currentLine=53280771; + //BA.debugLineNum = 53280771;BA.debugLine="Formatter.Initialize"; +__ref._formatter /*reparto_izca.keymon.lat.b4xformatter*/ ._initialize /*String*/ (null,ba); +RDebugUtils.currentLine=53280772; + //BA.debugLineNum = 53280772;BA.debugLine="End Sub"; +return ""; +} +public String _internalsettextorcsbuildertolabel(reparto_izca.keymon.lat.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=54263808; + //BA.debugLineNum = 54263808;BA.debugLine="Private Sub InternalSetTextOrCSBuilderToLabel(xlbl"; +RDebugUtils.currentLine=54263810; + //BA.debugLineNum = 54263810;BA.debugLine="xlbl.Text = Text"; +_xlbl.setText(BA.ObjectToCharSequence(_text)); +RDebugUtils.currentLine=54263820; + //BA.debugLineNum = 54263820;BA.debugLine="End Sub"; +return ""; +} +public String _pnlarrow_touch(reparto_izca.keymon.lat.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=54001664; + //BA.debugLineNum = 54001664;BA.debugLine="Private Sub pnlArrow_Touch (Action As Int, X As Fl"; +RDebugUtils.currentLine=54001665; + //BA.debugLineNum = 54001665;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=54001666; + //BA.debugLineNum = 54001666;BA.debugLine="End Sub"; +return ""; +} +public String _touch(reparto_izca.keymon.lat.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=54067200; + //BA.debugLineNum = 54067200;BA.debugLine="Private Sub Touch (Start As Boolean, Stop As Boole"; +RDebugUtils.currentLine=54067201; + //BA.debugLineNum = 54067201;BA.debugLine="If pnl.GetView(0).Enabled = False Then Return"; +if (_pnl.GetView((int) (0)).getEnabled()==__c.False) { +if (true) return "";}; +RDebugUtils.currentLine=54067202; + //BA.debugLineNum = 54067202;BA.debugLine="If Start Then"; +if (_start) { +RDebugUtils.currentLine=54067203; + //BA.debugLineNum = 54067203;BA.debugLine="If mHaptic Then XUIViewsUtils.PerformHapticFeedb"; +if (__ref._mhaptic /*boolean*/ ) { +_xuiviewsutils._performhapticfeedback /*String*/ (ba,_pnl);}; +RDebugUtils.currentLine=54067204; + //BA.debugLineNum = 54067204;BA.debugLine="If pnl.Tag = True Then"; +if ((_pnl.getTag()).equals((Object)(__c.True))) { +RDebugUtils.currentLine=54067205; + //BA.debugLineNum = 54067205;BA.debugLine="Increment"; +__ref._increment /*String*/ (null); +RDebugUtils.currentLine=54067206; + //BA.debugLineNum = 54067206;BA.debugLine="StartDownLoop(True)"; +__ref._startdownloop /*void*/ (null,__c.True); + }else { +RDebugUtils.currentLine=54067208; + //BA.debugLineNum = 54067208;BA.debugLine="Decrement"; +__ref._decrement /*String*/ (null); +RDebugUtils.currentLine=54067209; + //BA.debugLineNum = 54067209;BA.debugLine="StartDownLoop(False)"; +__ref._startdownloop /*void*/ (null,__c.False); + }; + }else +{RDebugUtils.currentLine=54067211; + //BA.debugLineNum = 54067211;BA.debugLine="Else If Stop Then"; +if (_stop) { +RDebugUtils.currentLine=54067212; + //BA.debugLineNum = 54067212;BA.debugLine="LoopIndex = LoopIndex + 1"; +__ref._loopindex /*int*/ = (int) (__ref._loopindex /*int*/ +1); + }} +; +RDebugUtils.currentLine=54067214; + //BA.debugLineNum = 54067214;BA.debugLine="End Sub"; +return ""; +} +public String _setnumericrange(reparto_izca.keymon.lat.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=53542912; + //BA.debugLineNum = 53542912;BA.debugLine="Public Sub SetNumericRange (StartRange As Double,"; +RDebugUtils.currentLine=53542913; + //BA.debugLineNum = 53542913;BA.debugLine="Size = Ceil((EndRange - StartRange) / Interval) +"; +__ref._size /*int*/ = (int) (__c.Ceil((_endrange-_startrange)/(double)_interval)+1); +RDebugUtils.currentLine=53542914; + //BA.debugLineNum = 53542914;BA.debugLine="mStartRange = StartRange"; +__ref._mstartrange /*double*/ = _startrange; +RDebugUtils.currentLine=53542915; + //BA.debugLineNum = 53542915;BA.debugLine="mEndRange = EndRange"; +__ref._mendrange /*double*/ = _endrange; +RDebugUtils.currentLine=53542916; + //BA.debugLineNum = 53542916;BA.debugLine="mInterval = Interval"; +__ref._minterval /*double*/ = _interval; +RDebugUtils.currentLine=53542917; + //BA.debugLineNum = 53542917;BA.debugLine="StringMode = False"; +__ref._stringmode /*boolean*/ = __c.False; +RDebugUtils.currentLine=53542918; + //BA.debugLineNum = 53542918;BA.debugLine="SetIndex(0, False)"; +__ref._setindex /*String*/ (null,(int) (0),__c.False); +RDebugUtils.currentLine=53542919; + //BA.debugLineNum = 53542919;BA.debugLine="End Sub"; +return ""; +} +public String _setselectedvalue(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=53673984; + //BA.debugLineNum = 53673984;BA.debugLine="Public Sub setSelectedValue (v As Object)"; +RDebugUtils.currentLine=53673985; + //BA.debugLineNum = 53673985;BA.debugLine="If StringMode Then"; +if (__ref._stringmode /*boolean*/ ) { +RDebugUtils.currentLine=53673986; + //BA.debugLineNum = 53673986;BA.debugLine="SetIndex(mStringItems.IndexOf(v), False)"; +__ref._setindex /*String*/ (null,__ref._mstringitems /*anywheresoftware.b4a.objects.collections.List*/ .IndexOf(_v),__c.False); + }else { +RDebugUtils.currentLine=53673988; + //BA.debugLineNum = 53673988;BA.debugLine="Dim n As Double = v"; +_n = (double)(BA.ObjectToNumber(_v)); +RDebugUtils.currentLine=53673989; + //BA.debugLineNum = 53673989;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); + }; +RDebugUtils.currentLine=53673991; + //BA.debugLineNum = 53673991;BA.debugLine="End Sub"; +return ""; +} +public String _setstringitems(reparto_izca.keymon.lat.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=53477376; + //BA.debugLineNum = 53477376;BA.debugLine="Public Sub SetStringItems (list As List)"; +RDebugUtils.currentLine=53477377; + //BA.debugLineNum = 53477377;BA.debugLine="mStringItems = list"; +__ref._mstringitems /*anywheresoftware.b4a.objects.collections.List*/ = _list; +RDebugUtils.currentLine=53477378; + //BA.debugLineNum = 53477378;BA.debugLine="StringMode = True"; +__ref._stringmode /*boolean*/ = __c.True; +RDebugUtils.currentLine=53477379; + //BA.debugLineNum = 53477379;BA.debugLine="Size = mStringItems.Size"; +__ref._size /*int*/ = __ref._mstringitems /*anywheresoftware.b4a.objects.collections.List*/ .getSize(); +RDebugUtils.currentLine=53477380; + //BA.debugLineNum = 53477380;BA.debugLine="SetIndex(-1, False)"; +__ref._setindex /*String*/ (null,(int) (-1),__c.False); +RDebugUtils.currentLine=53477381; + //BA.debugLineNum = 53477381;BA.debugLine="End Sub"; +return ""; +} +public void _startdownloop(reparto_izca.keymon.lat.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(reparto_izca.keymon.lat.b4xplusminus parent,reparto_izca.keymon.lat.b4xplusminus __ref,boolean _up) { +this.parent = parent; +this.__ref = __ref; +this._up = _up; +this.__ref = parent; +} +reparto_izca.keymon.lat.b4xplusminus __ref; +reparto_izca.keymon.lat.b4xplusminus parent; +boolean _up; +int _myindex = 0; + +@Override +public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="b4xplusminus"; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +RDebugUtils.currentLine=54132737; + //BA.debugLineNum = 54132737;BA.debugLine="LoopIndex = LoopIndex + 1"; +__ref._loopindex /*int*/ = (int) (__ref._loopindex /*int*/ +1); +RDebugUtils.currentLine=54132738; + //BA.debugLineNum = 54132738;BA.debugLine="If mRapid = False Then Return"; +if (true) break; + +case 1: +//if +this.state = 6; +if (__ref._mrapid /*boolean*/ ==parent.__c.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; +; +RDebugUtils.currentLine=54132739; + //BA.debugLineNum = 54132739;BA.debugLine="Dim MyIndex As Int = LoopIndex"; +_myindex = __ref._loopindex /*int*/ ; +RDebugUtils.currentLine=54132740; + //BA.debugLineNum = 54132740;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; +; +RDebugUtils.currentLine=54132741; + //BA.debugLineNum = 54132741;BA.debugLine="Do While MyIndex = LoopIndex"; +if (true) break; + +case 7: +//do while +this.state = 18; +while (_myindex==__ref._loopindex /*int*/ ) { +this.state = 9; +if (true) break; +} +if (true) break; + +case 9: +//C +this.state = 10; +RDebugUtils.currentLine=54132742; + //BA.debugLineNum = 54132742;BA.debugLine="If Up Then Increment Else Decrement"; +if (true) break; + +case 10: +//if +this.state = 17; +if (_up) { +this.state = 12; +;} +else { +this.state = 14; +;}if (true) break; + +case 12: +//C +this.state = 17; +__ref._increment /*String*/ (null); +if (true) break; + +case 14: +//C +this.state = 17; +__ref._decrement /*String*/ (null); +if (true) break; + +case 17: +//C +this.state = 7; +; +RDebugUtils.currentLine=54132743; + //BA.debugLineNum = 54132743;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: +//C +this.state = 7; +; + if (true) break; + +case 18: +//C +this.state = -1; +; +RDebugUtils.currentLine=54132745; + //BA.debugLineNum = 54132745;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/b4xradiobutton.java b/B4A/Objects/src/reparto_izca/keymon/lat/b4xradiobutton.java new file mode 100644 index 0000000..54e1e7d --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/b4xradiobutton.java @@ -0,0 +1,791 @@ +package reparto_izca.keymon.lat; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.B4AClass; +import anywheresoftware.b4a.BALayout; +import anywheresoftware.b4a.debug.*; + +public class b4xradiobutton 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, "reparto_izca.keymon.lat.b4xradiobutton"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", reparto_izca.keymon.lat.b4xradiobutton.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 String _meventname = ""; +public Object _mcallback = null; +public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; +public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; +public int _oncolor = 0; +public int _offcolor = 0; +public b4a.example.bitmapcreator _bc = null; +public anywheresoftware.b4a.objects.B4XViewWrapper _iv = null; +public boolean _mvalue = false; +public b4a.example.bcpath._bcbrush _transparent = null; +public int _loopindex = 0; +public Object _tag = null; +public b4a.example.bcpath._bcbrush _onbrush = null; +public b4a.example.bcpath._bcbrush _offbrush = null; +public boolean _menabled = false; +public boolean _mhaptic = false; +public int _size = 0; +public anywheresoftware.b4a.objects.B4XViewWrapper _mlabel = null; +public anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; +public float _scale = 0f; +public b4a.example.dateutils _dateutils = null; +public reparto_izca.keymon.lat.main _main = null; +public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; +public reparto_izca.keymon.lat.foto _foto = null; +public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_izca.keymon.lat.starter _starter = null; +public reparto_izca.keymon.lat.tracker _tracker = null; +public reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public String _base_resize(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=54525952; + //BA.debugLineNum = 54525952;BA.debugLine="Private Sub Base_Resize (Width1 As Double, Height1"; +RDebugUtils.currentLine=54525953; + //BA.debugLineNum = 54525953;BA.debugLine="Dim NewSize As Int = Max(5dip, Height1)"; +_newsize = (int) (__c.Max(__c.DipToCurrent((int) (5)),_height1)); +RDebugUtils.currentLine=54525954; + //BA.debugLineNum = 54525954;BA.debugLine="If NewSize = Size Then Return"; +if (_newsize==__ref._size /*int*/ ) { +if (true) return "";}; +RDebugUtils.currentLine=54525955; + //BA.debugLineNum = 54525955;BA.debugLine="Size = NewSize"; +__ref._size /*int*/ = _newsize; +RDebugUtils.currentLine=54525956; + //BA.debugLineNum = 54525956;BA.debugLine="Dim gap As Int = 3dip"; +_gap = __c.DipToCurrent((int) (3)); +RDebugUtils.currentLine=54525958; + //BA.debugLineNum = 54525958;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=54525959; + //BA.debugLineNum = 54525959;BA.debugLine="Scale = xui.Scale"; +__ref._scale /*float*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getScale(); +RDebugUtils.currentLine=54525964; + //BA.debugLineNum = 54525964;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=54525965; + //BA.debugLineNum = 54525965;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=54525966; + //BA.debugLineNum = 54525966;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=54525967; + //BA.debugLineNum = 54525967;BA.debugLine="OnBrush = bc.CreateBrushFromColor(OnColor)"; +__ref._onbrush /*b4a.example.bcpath._bcbrush*/ = __ref._bc /*b4a.example.bitmapcreator*/ ._createbrushfromcolor(__ref._oncolor /*int*/ ); +RDebugUtils.currentLine=54525968; + //BA.debugLineNum = 54525968;BA.debugLine="OffBrush = bc.CreateBrushFromColor(OffColor)"; +__ref._offbrush /*b4a.example.bcpath._bcbrush*/ = __ref._bc /*b4a.example.bitmapcreator*/ ._createbrushfromcolor(__ref._offcolor /*int*/ ); +RDebugUtils.currentLine=54525969; + //BA.debugLineNum = 54525969;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=54525970; + //BA.debugLineNum = 54525970;BA.debugLine="SetValueImpl(mValue, True)"; +__ref._setvalueimpl /*void*/ (null,__ref._mvalue /*boolean*/ ,__c.True); +RDebugUtils.currentLine=54525971; + //BA.debugLineNum = 54525971;BA.debugLine="End Sub"; +return ""; +} +public void _setvalueimpl(reparto_izca.keymon.lat.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(reparto_izca.keymon.lat.b4xradiobutton parent,reparto_izca.keymon.lat.b4xradiobutton __ref,boolean _b,boolean _immediate) { +this.parent = parent; +this.__ref = __ref; +this._b = _b; +this._immediate = _immediate; +this.__ref = parent; +} +reparto_izca.keymon.lat.b4xradiobutton __ref; +reparto_izca.keymon.lat.b4xradiobutton parent; +boolean _b; +boolean _immediate; +int _i = 0; +anywheresoftware.b4a.objects.B4XViewWrapper _v = null; +reparto_izca.keymon.lat.b4xradiobutton _rb = null; +int _myindex = 0; +long _start = 0L; +int _duration = 0; +float _state1 = 0f; +int step3; +int limit3; + +@Override +public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="b4xradiobutton"; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +RDebugUtils.currentLine=54657025; + //BA.debugLineNum = 54657025;BA.debugLine="mValue = b"; +__ref._mvalue /*boolean*/ = _b; +RDebugUtils.currentLine=54657026; + //BA.debugLineNum = 54657026;BA.debugLine="If b = True Then"; +if (true) break; + +case 1: +//if +this.state = 12; +if (_b==parent.__c.True) { +this.state = 3; +}if (true) break; + +case 3: +//C +this.state = 4; +RDebugUtils.currentLine=54657027; + //BA.debugLineNum = 54657027;BA.debugLine="For i = 0 To mBase.Parent.NumberOfViews - 1"; +if (true) break; + +case 4: +//for +this.state = 11; +step3 = 1; +limit3 = (int) (__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getParent().getNumberOfViews()-1); +_i = (int) (0) ; +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)) ; +if (true) break; + +case 6: +//C +this.state = 7; +RDebugUtils.currentLine=54657028; + //BA.debugLineNum = 54657028;BA.debugLine="Dim v As B4XView = mBase.Parent.GetView(i)"; +_v = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_v = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getParent().GetView(_i); +RDebugUtils.currentLine=54657029; + //BA.debugLineNum = 54657029;BA.debugLine="If v <> mBase And v.Tag Is B4XRadioButton Then"; +if (true) break; + +case 7: +//if +this.state = 10; +if ((_v).equals(__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ) == false && _v.getTag() instanceof reparto_izca.keymon.lat.b4xradiobutton) { +this.state = 9; +}if (true) break; + +case 9: +//C +this.state = 10; +RDebugUtils.currentLine=54657030; + //BA.debugLineNum = 54657030;BA.debugLine="Dim rb As B4XRadioButton = v.Tag"; +_rb = (reparto_izca.keymon.lat.b4xradiobutton)(_v.getTag()); +RDebugUtils.currentLine=54657031; + //BA.debugLineNum = 54657031;BA.debugLine="rb.Checked = False"; +_rb._setchecked /*boolean*/ (null,parent.__c.False); + if (true) break; + +case 10: +//C +this.state = 60; +; + if (true) break; +if (true) break; + +case 11: +//C +this.state = 12; +; + if (true) break; + +case 12: +//C +this.state = 13; +; +RDebugUtils.currentLine=54657035; + //BA.debugLineNum = 54657035;BA.debugLine="LoopIndex = LoopIndex + 1"; +__ref._loopindex /*int*/ = (int) (__ref._loopindex /*int*/ +1); +RDebugUtils.currentLine=54657036; + //BA.debugLineNum = 54657036;BA.debugLine="If Immediate Then"; +if (true) break; + +case 13: +//if +this.state = 53; +if (_immediate) { +this.state = 15; +}else { +this.state = 25; +}if (true) break; + +case 15: +//C +this.state = 16; +RDebugUtils.currentLine=54657037; + //BA.debugLineNum = 54657037;BA.debugLine="If mValue Then Draw(1) Else Draw(0)"; +if (true) break; + +case 16: +//if +this.state = 23; +if (__ref._mvalue /*boolean*/ ) { +this.state = 18; +;} +else { +this.state = 20; +;}if (true) break; + +case 18: +//C +this.state = 23; +__ref._draw /*String*/ (null,(float) (1)); +if (true) break; + +case 20: +//C +this.state = 23; +__ref._draw /*String*/ (null,(float) (0)); +if (true) break; + +case 23: +//C +this.state = 53; +; + if (true) break; + +case 25: +//C +this.state = 26; +RDebugUtils.currentLine=54657039; + //BA.debugLineNum = 54657039;BA.debugLine="Dim MyIndex As Int = LoopIndex"; +_myindex = __ref._loopindex /*int*/ ; +RDebugUtils.currentLine=54657040; + //BA.debugLineNum = 54657040;BA.debugLine="Dim start As Long = DateTime.Now"; +_start = parent.__c.DateTime.getNow(); +RDebugUtils.currentLine=54657041; + //BA.debugLineNum = 54657041;BA.debugLine="Dim duration As Int = 200"; +_duration = (int) (200); +RDebugUtils.currentLine=54657042; + //BA.debugLineNum = 54657042;BA.debugLine="Do While DateTime.Now < start + duration"; +if (true) break; + +case 26: +//do while +this.state = 41; +while (parent.__c.DateTime.getNow()<_start+_duration) { +this.state = 28; +if (true) break; +} +if (true) break; + +case 28: +//C +this.state = 29; +RDebugUtils.currentLine=54657043; + //BA.debugLineNum = 54657043;BA.debugLine="Dim state1 As Float = (DateTime.Now - start) /"; +_state1 = (float) ((parent.__c.DateTime.getNow()-_start)/(double)_duration); +RDebugUtils.currentLine=54657044; + //BA.debugLineNum = 54657044;BA.debugLine="If mValue = False Then state1 = 1 - state1"; +if (true) break; + +case 29: +//if +this.state = 34; +if (__ref._mvalue /*boolean*/ ==parent.__c.False) { +this.state = 31; +;}if (true) break; + +case 31: +//C +this.state = 34; +_state1 = (float) (1-_state1); +if (true) break; + +case 34: +//C +this.state = 35; +; +RDebugUtils.currentLine=54657045; + //BA.debugLineNum = 54657045;BA.debugLine="Draw(state1)"; +__ref._draw /*String*/ (null,_state1); +RDebugUtils.currentLine=54657046; + //BA.debugLineNum = 54657046;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; +; +RDebugUtils.currentLine=54657047; + //BA.debugLineNum = 54657047;BA.debugLine="If MyIndex <> LoopIndex Then Exit"; +if (true) break; + +case 35: +//if +this.state = 40; +if (_myindex!=__ref._loopindex /*int*/ ) { +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; +; +RDebugUtils.currentLine=54657049; + //BA.debugLineNum = 54657049;BA.debugLine="If MyIndex = LoopIndex Then"; + +case 41: +//if +this.state = 52; +if (_myindex==__ref._loopindex /*int*/ ) { +this.state = 43; +}if (true) break; + +case 43: +//C +this.state = 44; +RDebugUtils.currentLine=54657050; + //BA.debugLineNum = 54657050;BA.debugLine="If mValue Then Draw(1) Else Draw(0)"; +if (true) break; + +case 44: +//if +this.state = 51; +if (__ref._mvalue /*boolean*/ ) { +this.state = 46; +;} +else { +this.state = 48; +;}if (true) break; + +case 46: +//C +this.state = 51; +__ref._draw /*String*/ (null,(float) (1)); +if (true) break; + +case 48: +//C +this.state = 51; +__ref._draw /*String*/ (null,(float) (0)); +if (true) break; + +case 51: +//C +this.state = 52; +; + if (true) break; + +case 52: +//C +this.state = 53; +; + if (true) break; +; +RDebugUtils.currentLine=54657053; + //BA.debugLineNum = 54657053;BA.debugLine="If mEnabled Then"; + +case 53: +//if +this.state = 58; +if (__ref._menabled /*boolean*/ ) { +this.state = 55; +}else { +this.state = 57; +}if (true) break; + +case 55: +//C +this.state = 58; +RDebugUtils.currentLine=54657054; + //BA.debugLineNum = 54657054;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; +RDebugUtils.currentLine=54657056; + //BA.debugLineNum = 54657056;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; +; +RDebugUtils.currentLine=54657059; + //BA.debugLineNum = 54657059;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public String _class_globals(reparto_izca.keymon.lat.b4xradiobutton __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xradiobutton"; +RDebugUtils.currentLine=54329344; + //BA.debugLineNum = 54329344;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=54329345; + //BA.debugLineNum = 54329345;BA.debugLine="Private mEventName As String 'ignore"; +_meventname = ""; +RDebugUtils.currentLine=54329346; + //BA.debugLineNum = 54329346;BA.debugLine="Private mCallBack As Object 'ignore"; +_mcallback = new Object(); +RDebugUtils.currentLine=54329347; + //BA.debugLineNum = 54329347;BA.debugLine="Public mBase As B4XView 'ignore"; +_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=54329348; + //BA.debugLineNum = 54329348;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=54329349; + //BA.debugLineNum = 54329349;BA.debugLine="Public OnColor, OffColor As Int"; +_oncolor = 0; +_offcolor = 0; +RDebugUtils.currentLine=54329350; + //BA.debugLineNum = 54329350;BA.debugLine="Private bc As BitmapCreator"; +_bc = new b4a.example.bitmapcreator(); +RDebugUtils.currentLine=54329351; + //BA.debugLineNum = 54329351;BA.debugLine="Private iv As B4XView"; +_iv = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=54329352; + //BA.debugLineNum = 54329352;BA.debugLine="Private mValue As Boolean"; +_mvalue = false; +RDebugUtils.currentLine=54329353; + //BA.debugLineNum = 54329353;BA.debugLine="Private transparent As BCBrush"; +_transparent = new b4a.example.bcpath._bcbrush(); +RDebugUtils.currentLine=54329354; + //BA.debugLineNum = 54329354;BA.debugLine="Private LoopIndex As Int"; +_loopindex = 0; +RDebugUtils.currentLine=54329355; + //BA.debugLineNum = 54329355;BA.debugLine="Public Tag As Object"; +_tag = new Object(); +RDebugUtils.currentLine=54329356; + //BA.debugLineNum = 54329356;BA.debugLine="Private OnBrush, OffBrush As BCBrush"; +_onbrush = new b4a.example.bcpath._bcbrush(); +_offbrush = new b4a.example.bcpath._bcbrush(); +RDebugUtils.currentLine=54329357; + //BA.debugLineNum = 54329357;BA.debugLine="Private mEnabled As Boolean = True"; +_menabled = __c.True; +RDebugUtils.currentLine=54329358; + //BA.debugLineNum = 54329358;BA.debugLine="Public mHaptic As Boolean"; +_mhaptic = false; +RDebugUtils.currentLine=54329359; + //BA.debugLineNum = 54329359;BA.debugLine="Private Size As Int"; +_size = 0; +RDebugUtils.currentLine=54329360; + //BA.debugLineNum = 54329360;BA.debugLine="Public mLabel As B4XView"; +_mlabel = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=54329361; + //BA.debugLineNum = 54329361;BA.debugLine="Private pnl As B4XView"; +_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=54329362; + //BA.debugLineNum = 54329362;BA.debugLine="Private Scale As Float 'ignore"; +_scale = 0f; +RDebugUtils.currentLine=54329363; + //BA.debugLineNum = 54329363;BA.debugLine="End Sub"; +return ""; +} +public String _designercreateview(reparto_izca.keymon.lat.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=54460416; + //BA.debugLineNum = 54460416;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; +RDebugUtils.currentLine=54460417; + //BA.debugLineNum = 54460417;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=54460418; + //BA.debugLineNum = 54460418;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._tag /*Object*/ = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTag(); +RDebugUtils.currentLine=54460418; + //BA.debugLineNum = 54460418;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag(this); +RDebugUtils.currentLine=54460419; + //BA.debugLineNum = 54460419;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=54460420; + //BA.debugLineNum = 54460420;BA.debugLine="pnl = xui.CreatePanel(\"pnl\")"; +__ref._pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,"pnl"); +RDebugUtils.currentLine=54460421; + //BA.debugLineNum = 54460421;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=54460422; + //BA.debugLineNum = 54460422;BA.debugLine="Dim iiv As ImageView"; +_iiv = new anywheresoftware.b4a.objects.ImageViewWrapper(); +RDebugUtils.currentLine=54460423; + //BA.debugLineNum = 54460423;BA.debugLine="iiv.Initialize(\"\")"; +_iiv.Initialize(ba,""); +RDebugUtils.currentLine=54460424; + //BA.debugLineNum = 54460424;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=54460425; + //BA.debugLineNum = 54460425;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=54460426; + //BA.debugLineNum = 54460426;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=54460427; + //BA.debugLineNum = 54460427;BA.debugLine="mLabel.SetTextAlignment(\"CENTER\", \"LEFT\")"; +__ref._mlabel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetTextAlignment("CENTER","LEFT"); +RDebugUtils.currentLine=54460428; + //BA.debugLineNum = 54460428;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=54460429; + //BA.debugLineNum = 54460429;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=54460431; + //BA.debugLineNum = 54460431;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=54460432; + //BA.debugLineNum = 54460432;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=54460433; + //BA.debugLineNum = 54460433;BA.debugLine="mHaptic = Props.GetDefault(\"HapticFeedback\", Fals"; +__ref._mhaptic /*boolean*/ = BA.ObjectToBoolean(_props.GetDefault((Object)("HapticFeedback"),(Object)(__c.False))); +RDebugUtils.currentLine=54460435; + //BA.debugLineNum = 54460435;BA.debugLine="mEnabled = mBase.Enabled"; +__ref._menabled /*boolean*/ = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getEnabled(); +RDebugUtils.currentLine=54460436; + //BA.debugLineNum = 54460436;BA.debugLine="mBase.Enabled = True"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setEnabled(__c.True); +RDebugUtils.currentLine=54460437; + //BA.debugLineNum = 54460437;BA.debugLine="mValue = Props.Get(\"Value\")"; +__ref._mvalue /*boolean*/ = BA.ObjectToBoolean(_props.Get((Object)("Value"))); +RDebugUtils.currentLine=54460438; + //BA.debugLineNum = 54460438;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=54460439; + //BA.debugLineNum = 54460439;BA.debugLine="End Sub"; +return ""; +} +public String _draw(reparto_izca.keymon.lat.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=54984704; + //BA.debugLineNum = 54984704;BA.debugLine="Private Sub Draw (State As Float)"; +RDebugUtils.currentLine=54984705; + //BA.debugLineNum = 54984705;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=54984706; + //BA.debugLineNum = 54984706;BA.debugLine="Dim r As Float = Floor(bc.mHeight / 2)"; +_r = (float) (__c.Floor(__ref._bc /*b4a.example.bitmapcreator*/ ._mheight/(double)2)); +RDebugUtils.currentLine=54984707; + //BA.debugLineNum = 54984707;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=54984708; + //BA.debugLineNum = 54984708;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=54984709; + //BA.debugLineNum = 54984709;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=54984710; + //BA.debugLineNum = 54984710;BA.debugLine="End Sub"; +return ""; +} +public boolean _getchecked(reparto_izca.keymon.lat.b4xradiobutton __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xradiobutton"; +if (Debug.shouldDelegate(ba, "getchecked", true)) + {return ((Boolean) Debug.delegate(ba, "getchecked", null));} +RDebugUtils.currentLine=54788096; + //BA.debugLineNum = 54788096;BA.debugLine="Public Sub getChecked As Boolean"; +RDebugUtils.currentLine=54788097; + //BA.debugLineNum = 54788097;BA.debugLine="Return mValue"; +if (true) return __ref._mvalue /*boolean*/ ; +RDebugUtils.currentLine=54788098; + //BA.debugLineNum = 54788098;BA.debugLine="End Sub"; +return false; +} +public boolean _getenabled(reparto_izca.keymon.lat.b4xradiobutton __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xradiobutton"; +if (Debug.shouldDelegate(ba, "getenabled", true)) + {return ((Boolean) Debug.delegate(ba, "getenabled", null));} +RDebugUtils.currentLine=54919168; + //BA.debugLineNum = 54919168;BA.debugLine="Public Sub getEnabled As Boolean"; +RDebugUtils.currentLine=54919169; + //BA.debugLineNum = 54919169;BA.debugLine="Return mEnabled"; +if (true) return __ref._menabled /*boolean*/ ; +RDebugUtils.currentLine=54919170; + //BA.debugLineNum = 54919170;BA.debugLine="End Sub"; +return false; +} +public Object _gettext(reparto_izca.keymon.lat.b4xradiobutton __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xradiobutton"; +if (Debug.shouldDelegate(ba, "gettext", true)) + {return ((Object) Debug.delegate(ba, "gettext", null));} +RDebugUtils.currentLine=55115776; + //BA.debugLineNum = 55115776;BA.debugLine="Public Sub getText As Object"; +RDebugUtils.currentLine=55115777; + //BA.debugLineNum = 55115777;BA.debugLine="Return mLabel.Text"; +if (true) return (Object)(__ref._mlabel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getText()); +RDebugUtils.currentLine=55115778; + //BA.debugLineNum = 55115778;BA.debugLine="End Sub"; +return null; +} +public String _initialize(reparto_izca.keymon.lat.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=54394880; + //BA.debugLineNum = 54394880;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +RDebugUtils.currentLine=54394881; + //BA.debugLineNum = 54394881;BA.debugLine="mEventName = EventName"; +__ref._meventname /*String*/ = _eventname; +RDebugUtils.currentLine=54394882; + //BA.debugLineNum = 54394882;BA.debugLine="mCallBack = Callback"; +__ref._mcallback /*Object*/ = _callback; +RDebugUtils.currentLine=54394883; + //BA.debugLineNum = 54394883;BA.debugLine="End Sub"; +return ""; +} +public String _pnl_click(reparto_izca.keymon.lat.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=54591488; + //BA.debugLineNum = 54591488;BA.debugLine="Private Sub pnl_Click"; +RDebugUtils.currentLine=54591490; + //BA.debugLineNum = 54591490;BA.debugLine="If mValue Then Return"; +if (__ref._mvalue /*boolean*/ ) { +if (true) return "";}; +RDebugUtils.currentLine=54591491; + //BA.debugLineNum = 54591491;BA.debugLine="If mEnabled Then"; +if (__ref._menabled /*boolean*/ ) { +RDebugUtils.currentLine=54591492; + //BA.debugLineNum = 54591492;BA.debugLine="If mHaptic Then XUIViewsUtils.PerformHapticFeedb"; +if (__ref._mhaptic /*boolean*/ ) { +_xuiviewsutils._performhapticfeedback /*String*/ (ba,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ );}; +RDebugUtils.currentLine=54591493; + //BA.debugLineNum = 54591493;BA.debugLine="SetValueImpl(Not(mValue), False)"; +__ref._setvalueimpl /*void*/ (null,__c.Not(__ref._mvalue /*boolean*/ ),__c.False); +RDebugUtils.currentLine=54591494; + //BA.debugLineNum = 54591494;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=54591495; + //BA.debugLineNum = 54591495;BA.debugLine="CallSubDelayed(mCallBack, mEventName & \"_Checke"; +__c.CallSubDelayed(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_Checked"); + }; + }; +RDebugUtils.currentLine=54591498; + //BA.debugLineNum = 54591498;BA.debugLine="End Sub"; +return ""; +} +public String _setchecked(reparto_izca.keymon.lat.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=54722560; + //BA.debugLineNum = 54722560;BA.debugLine="Public Sub setChecked(b As Boolean)"; +RDebugUtils.currentLine=54722561; + //BA.debugLineNum = 54722561;BA.debugLine="If b = mValue Then Return"; +if (_b==__ref._mvalue /*boolean*/ ) { +if (true) return "";}; +RDebugUtils.currentLine=54722562; + //BA.debugLineNum = 54722562;BA.debugLine="SetValueImpl(b, False)"; +__ref._setvalueimpl /*void*/ (null,_b,__c.False); +RDebugUtils.currentLine=54722563; + //BA.debugLineNum = 54722563;BA.debugLine="End Sub"; +return ""; +} +public String _setenabled(reparto_izca.keymon.lat.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=54853632; + //BA.debugLineNum = 54853632;BA.debugLine="Public Sub setEnabled (b As Boolean)"; +RDebugUtils.currentLine=54853633; + //BA.debugLineNum = 54853633;BA.debugLine="mEnabled = b"; +__ref._menabled /*boolean*/ = _b; +RDebugUtils.currentLine=54853634; + //BA.debugLineNum = 54853634;BA.debugLine="SetValueImpl(mValue, True)"; +__ref._setvalueimpl /*void*/ (null,__ref._mvalue /*boolean*/ ,__c.True); +RDebugUtils.currentLine=54853635; + //BA.debugLineNum = 54853635;BA.debugLine="End Sub"; +return ""; +} +public String _settext(reparto_izca.keymon.lat.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=55050240; + //BA.debugLineNum = 55050240;BA.debugLine="Public Sub setText (t As Object)"; +RDebugUtils.currentLine=55050241; + //BA.debugLineNum = 55050241;BA.debugLine="XUIViewsUtils.SetTextOrCSBuilderToLabel(mLabel, t"; +_xuiviewsutils._settextorcsbuildertolabel /*String*/ (ba,__ref._mlabel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ,_t); +RDebugUtils.currentLine=55050242; + //BA.debugLineNum = 55050242;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/b4xsearchtemplate.java b/B4A/Objects/src/reparto_izca/keymon/lat/b4xsearchtemplate.java new file mode 100644 index 0000000..4ae9dc6 --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/b4xsearchtemplate.java @@ -0,0 +1,749 @@ +package reparto_izca.keymon.lat; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.B4AClass; +import anywheresoftware.b4a.BALayout; +import anywheresoftware.b4a.debug.*; + +public class b4xsearchtemplate 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, "reparto_izca.keymon.lat.b4xsearchtemplate"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", reparto_izca.keymon.lat.b4xsearchtemplate.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.XUI _xui = null; +public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; +public b4a.example3.customlistview _customlistview1 = null; +public reparto_izca.keymon.lat.b4xdialog _xdialog = null; +public reparto_izca.keymon.lat.b4xfloattextfield _searchfield = null; +public anywheresoftware.b4a.objects.collections.Map _prefixlist = null; +public anywheresoftware.b4a.objects.collections.Map _substringlist = null; +public int _texthighlightcolor = 0; +public int _itemhightlightcolor = 0; +public int _max_limit = 0; +public int _maxnumberofitemstoshow = 0; +public anywheresoftware.b4a.objects.collections.List _itemscache = null; +public anywheresoftware.b4a.objects.collections.List _allitems = null; +public String _selecteditem = ""; +public String _lastterm = ""; +public anywheresoftware.b4a.objects.IME _ime = null; +public boolean _allowunlistedtext = false; +public boolean _prefixonly = false; +public b4a.example.dateutils _dateutils = null; +public reparto_izca.keymon.lat.main _main = null; +public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; +public reparto_izca.keymon.lat.foto _foto = null; +public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_izca.keymon.lat.starter _starter = null; +public reparto_izca.keymon.lat.tracker _tracker = null; +public reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public anywheresoftware.b4a.objects.B4XViewWrapper _getpanel(reparto_izca.keymon.lat.b4xsearchtemplate __ref,reparto_izca.keymon.lat.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=55377920; + //BA.debugLineNum = 55377920;BA.debugLine="Public Sub GetPanel (Dialog As B4XDialog) As B4XVi"; +RDebugUtils.currentLine=55377921; + //BA.debugLineNum = 55377921;BA.debugLine="Return mBase"; +if (true) return __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ; +RDebugUtils.currentLine=55377922; + //BA.debugLineNum = 55377922;BA.debugLine="End Sub"; +return null; +} +public void _show(reparto_izca.keymon.lat.b4xsearchtemplate __ref,reparto_izca.keymon.lat.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(reparto_izca.keymon.lat.b4xsearchtemplate parent,reparto_izca.keymon.lat.b4xsearchtemplate __ref,reparto_izca.keymon.lat.b4xdialog _dialog) { +this.parent = parent; +this.__ref = __ref; +this._dialog = _dialog; +this.__ref = parent; +} +reparto_izca.keymon.lat.b4xsearchtemplate __ref; +reparto_izca.keymon.lat.b4xsearchtemplate parent; +reparto_izca.keymon.lat.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=55443457; + //BA.debugLineNum = 55443457;BA.debugLine="xDialog = Dialog"; +__ref._xdialog /*reparto_izca.keymon.lat.b4xdialog*/ = _dialog; +RDebugUtils.currentLine=55443458; + //BA.debugLineNum = 55443458;BA.debugLine="xDialog.PutAtTop = xui.IsB4A Or xui.IsB4i"; +__ref._xdialog /*reparto_izca.keymon.lat.b4xdialog*/ ._putattop /*boolean*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4A() || __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4i(); +RDebugUtils.currentLine=55443459; + //BA.debugLineNum = 55443459;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=55443460; + //BA.debugLineNum = 55443460;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=55443461; + //BA.debugLineNum = 55443461;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=55443462; + //BA.debugLineNum = 55443462;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=55443463; + //BA.debugLineNum = 55443463;BA.debugLine="Update(\"\", True)"; +__ref._update /*String*/ (null,"",parent.__c.True); +RDebugUtils.currentLine=55443464; + //BA.debugLineNum = 55443464;BA.debugLine="CustomListView1.JumpToItem(0)"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._jumptoitem((int) (0)); +RDebugUtils.currentLine=55443465; + //BA.debugLineNum = 55443465;BA.debugLine="SearchField.Text = \"\""; +__ref._searchfield /*reparto_izca.keymon.lat.b4xfloattextfield*/ ._settext /*String*/ (null,""); +RDebugUtils.currentLine=55443466; + //BA.debugLineNum = 55443466;BA.debugLine="SearchField.TextField.RequestFocus"; +__ref._searchfield /*reparto_izca.keymon.lat.b4xfloattextfield*/ ._gettextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ (null).RequestFocus(); +RDebugUtils.currentLine=55443468; + //BA.debugLineNum = 55443468;BA.debugLine="IME.ShowKeyboard(SearchField.TextField)"; +__ref._ime /*anywheresoftware.b4a.objects.IME*/ .ShowKeyboard((android.view.View)(__ref._searchfield /*reparto_izca.keymon.lat.b4xfloattextfield*/ ._gettextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ (null).getObject())); +RDebugUtils.currentLine=55443470; + //BA.debugLineNum = 55443470;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public String _dialogclosed(reparto_izca.keymon.lat.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=55967744; + //BA.debugLineNum = 55967744;BA.debugLine="Private Sub DialogClosed(Result As Int) 'ignore"; +RDebugUtils.currentLine=55967746; + //BA.debugLineNum = 55967746;BA.debugLine="End Sub"; +return ""; +} +public String _additemstolist(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=55771136; + //BA.debugLineNum = 55771136;BA.debugLine="Private Sub AddItemsToList(li As List, full As Str"; +RDebugUtils.currentLine=55771137; + //BA.debugLineNum = 55771137;BA.debugLine="If li.IsInitialized = False Then Return"; +if (_li.IsInitialized()==__c.False) { +if (true) return "";}; +RDebugUtils.currentLine=55771142; + //BA.debugLineNum = 55771142;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 ) { +RDebugUtils.currentLine=55771143; + //BA.debugLineNum = 55771143;BA.debugLine="If CustomListView1.Size >= MaxNumberOfItemsToSho"; +if (__ref._customlistview1 /*b4a.example3.customlistview*/ ._getsize()>=__ref._maxnumberofitemstoshow /*int*/ ) { +if (true) return "";}; +RDebugUtils.currentLine=55771144; + //BA.debugLineNum = 55771144;BA.debugLine="Dim item As String = li.Get(i)"; +_item = BA.ObjectToString(_li.Get(_i)); +RDebugUtils.currentLine=55771145; + //BA.debugLineNum = 55771145;BA.debugLine="Dim x As Int = item.ToLowerCase.IndexOf(full)"; +_x = _item.toLowerCase().indexOf(_full); +RDebugUtils.currentLine=55771146; + //BA.debugLineNum = 55771146;BA.debugLine="If x = -1 Then"; +if (_x==-1) { +RDebugUtils.currentLine=55771147; + //BA.debugLineNum = 55771147;BA.debugLine="Continue"; +if (true) continue; + }; +RDebugUtils.currentLine=55771149; + //BA.debugLineNum = 55771149;BA.debugLine="Dim pnlColor As Int"; +_pnlcolor = 0; +RDebugUtils.currentLine=55771150; + //BA.debugLineNum = 55771150;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=55771151; + //BA.debugLineNum = 55771151;BA.debugLine="pnlColor = ItemHightlightColor"; +_pnlcolor = __ref._itemhightlightcolor /*int*/ ; + }else { +RDebugUtils.currentLine=55771153; + //BA.debugLineNum = 55771153;BA.debugLine="pnlColor = CustomListView1.DefaultTextBackgroun"; +_pnlcolor = __ref._customlistview1 /*b4a.example3.customlistview*/ ._defaulttextbackgroundcolor; + }; +RDebugUtils.currentLine=55771156; + //BA.debugLineNum = 55771156;BA.debugLine="Dim cs As CSBuilder"; +_cs = new anywheresoftware.b4a.objects.CSBuilder(); +RDebugUtils.currentLine=55771157; + //BA.debugLineNum = 55771157;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=55771158; + //BA.debugLineNum = 55771158;BA.debugLine="cs.Append(item.SubString(x + full.Length))"; +_cs.Append(BA.ObjectToCharSequence(_item.substring((int) (_x+_full.length())))); +RDebugUtils.currentLine=55771159; + //BA.debugLineNum = 55771159;BA.debugLine="If ItemsCache.Size > 0 Then"; +if (__ref._itemscache /*anywheresoftware.b4a.objects.collections.List*/ .getSize()>0) { +RDebugUtils.currentLine=55771160; + //BA.debugLineNum = 55771160;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)(__ref._itemscache /*anywheresoftware.b4a.objects.collections.List*/ .Get((int) (__ref._itemscache /*anywheresoftware.b4a.objects.collections.List*/ .getSize()-1)))); +RDebugUtils.currentLine=55771161; + //BA.debugLineNum = 55771161;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=55771163; + //BA.debugLineNum = 55771163;BA.debugLine="p.GetView(0).Text = cs"; +_p.GetView((int) (0)).setText(BA.ObjectToCharSequence(_cs.getObject())); +RDebugUtils.currentLine=55771168; + //BA.debugLineNum = 55771168;BA.debugLine="p.Color = pnlColor"; +_p.setColor(_pnlcolor); +RDebugUtils.currentLine=55771169; + //BA.debugLineNum = 55771169;BA.debugLine="CustomListView1.Add(p, item)"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._add(_p,(Object)(_item)); + }else { +RDebugUtils.currentLine=55771171; + //BA.debugLineNum = 55771171;BA.debugLine="CustomListView1.AddTextItem(cs, item)"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._addtextitem((Object)(_cs.getObject()),(Object)(_item)); + }; + } +}; +RDebugUtils.currentLine=55771192; + //BA.debugLineNum = 55771192;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 ) { +RDebugUtils.currentLine=55771193; + //BA.debugLineNum = 55771193;BA.debugLine="Dim item As String = li.Get(i)"; +_item = BA.ObjectToString(_li.Get(_i)); +RDebugUtils.currentLine=55771194; + //BA.debugLineNum = 55771194;BA.debugLine="Dim x As Int = item.ToLowerCase.IndexOf(full)"; +_x = _item.toLowerCase().indexOf(_full); +RDebugUtils.currentLine=55771195; + //BA.debugLineNum = 55771195;BA.debugLine="If x = -1 Then"; +if (_x==-1) { +RDebugUtils.currentLine=55771196; + //BA.debugLineNum = 55771196;BA.debugLine="Continue"; +if (true) continue; + }; + } +}; +RDebugUtils.currentLine=55771199; + //BA.debugLineNum = 55771199;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(reparto_izca.keymon.lat.b4xsearchtemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xsearchtemplate"; +RDebugUtils.currentLine=55181312; + //BA.debugLineNum = 55181312;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=55181313; + //BA.debugLineNum = 55181313;BA.debugLine="Private xui As XUI"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=55181314; + //BA.debugLineNum = 55181314;BA.debugLine="Public mBase As B4XView"; +_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=55181315; + //BA.debugLineNum = 55181315;BA.debugLine="Public CustomListView1 As CustomListView"; +_customlistview1 = new b4a.example3.customlistview(); +RDebugUtils.currentLine=55181316; + //BA.debugLineNum = 55181316;BA.debugLine="Private xDialog As B4XDialog"; +_xdialog = new reparto_izca.keymon.lat.b4xdialog(); +RDebugUtils.currentLine=55181317; + //BA.debugLineNum = 55181317;BA.debugLine="Public SearchField As B4XFloatTextField"; +_searchfield = new reparto_izca.keymon.lat.b4xfloattextfield(); +RDebugUtils.currentLine=55181318; + //BA.debugLineNum = 55181318;BA.debugLine="Private prefixList As Map"; +_prefixlist = new anywheresoftware.b4a.objects.collections.Map(); +RDebugUtils.currentLine=55181319; + //BA.debugLineNum = 55181319;BA.debugLine="Private substringList As Map"; +_substringlist = new anywheresoftware.b4a.objects.collections.Map(); +RDebugUtils.currentLine=55181320; + //BA.debugLineNum = 55181320;BA.debugLine="Public TextHighlightColor As Int = 0xFFFD5C5C"; +_texthighlightcolor = ((int)0xfffd5c5c); +RDebugUtils.currentLine=55181321; + //BA.debugLineNum = 55181321;BA.debugLine="Public ItemHightlightColor As Int = 0x7E008EFF"; +_itemhightlightcolor = ((int)0x7e008eff); +RDebugUtils.currentLine=55181322; + //BA.debugLineNum = 55181322;BA.debugLine="Private MAX_LIMIT = 4 As Int"; +_max_limit = (int) (4); +RDebugUtils.currentLine=55181323; + //BA.debugLineNum = 55181323;BA.debugLine="Public MaxNumberOfItemsToShow As Int = 100"; +_maxnumberofitemstoshow = (int) (100); +RDebugUtils.currentLine=55181324; + //BA.debugLineNum = 55181324;BA.debugLine="Private ItemsCache As List"; +_itemscache = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=55181325; + //BA.debugLineNum = 55181325;BA.debugLine="Private AllItems As List"; +_allitems = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=55181326; + //BA.debugLineNum = 55181326;BA.debugLine="Public SelectedItem As String"; +_selecteditem = ""; +RDebugUtils.currentLine=55181327; + //BA.debugLineNum = 55181327;BA.debugLine="Private LastTerm As String"; +_lastterm = ""; +RDebugUtils.currentLine=55181329; + //BA.debugLineNum = 55181329;BA.debugLine="Private IME As IME"; +_ime = new anywheresoftware.b4a.objects.IME(); +RDebugUtils.currentLine=55181331; + //BA.debugLineNum = 55181331;BA.debugLine="Public AllowUnlistedText As Boolean"; +_allowunlistedtext = false; +RDebugUtils.currentLine=55181332; + //BA.debugLineNum = 55181332;BA.debugLine="Public PrefixOnly As Boolean"; +_prefixonly = false; +RDebugUtils.currentLine=55181333; + //BA.debugLineNum = 55181333;BA.debugLine="End Sub"; +return ""; +} +public String _customlistview1_itemclick(reparto_izca.keymon.lat.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=55705600; + //BA.debugLineNum = 55705600;BA.debugLine="Private Sub CustomListView1_ItemClick (Index As In"; +RDebugUtils.currentLine=55705601; + //BA.debugLineNum = 55705601;BA.debugLine="If Value = \"\" Then Return"; +if ((_value).equals((Object)(""))) { +if (true) return "";}; +RDebugUtils.currentLine=55705602; + //BA.debugLineNum = 55705602;BA.debugLine="SelectedItem = Value"; +__ref._selecteditem /*String*/ = BA.ObjectToString(_value); +RDebugUtils.currentLine=55705603; + //BA.debugLineNum = 55705603;BA.debugLine="xDialog.Close(xui.DialogResponse_Positive)"; +__ref._xdialog /*reparto_izca.keymon.lat.b4xdialog*/ ._close /*boolean*/ (null,__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .DialogResponse_Positive); +RDebugUtils.currentLine=55705604; + //BA.debugLineNum = 55705604;BA.debugLine="End Sub"; +return ""; +} +public String _initialize(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=55246848; + //BA.debugLineNum = 55246848;BA.debugLine="Public Sub Initialize"; +RDebugUtils.currentLine=55246849; + //BA.debugLineNum = 55246849;BA.debugLine="mBase = xui.CreatePanel(\"mBase\")"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,"mBase"); +RDebugUtils.currentLine=55246851; + //BA.debugLineNum = 55246851;BA.debugLine="Dim height As Int"; +_height = 0; +RDebugUtils.currentLine=55246852; + //BA.debugLineNum = 55246852;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));}; +RDebugUtils.currentLine=55246853; + //BA.debugLineNum = 55246853;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=55246854; + //BA.debugLineNum = 55246854;BA.debugLine="mBase.LoadLayout(\"SearchTemplate\")"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("SearchTemplate",ba); +RDebugUtils.currentLine=55246855; + //BA.debugLineNum = 55246855;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=55246856; + //BA.debugLineNum = 55246856;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=55246857; + //BA.debugLineNum = 55246857;BA.debugLine="CustomListView1.DefaultTextBackgroundColor = 0xFF"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._defaulttextbackgroundcolor = ((int)0xff555555); +RDebugUtils.currentLine=55246858; + //BA.debugLineNum = 55246858;BA.debugLine="CustomListView1.DefaultTextColor = xui.Color_Whit"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._defaulttextcolor = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_White; +RDebugUtils.currentLine=55246868; + //BA.debugLineNum = 55246868;BA.debugLine="ItemsCache.Initialize"; +__ref._itemscache /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=55246869; + //BA.debugLineNum = 55246869;BA.debugLine="prefixList.Initialize"; +__ref._prefixlist /*anywheresoftware.b4a.objects.collections.Map*/ .Initialize(); +RDebugUtils.currentLine=55246870; + //BA.debugLineNum = 55246870;BA.debugLine="substringList.Initialize"; +__ref._substringlist /*anywheresoftware.b4a.objects.collections.Map*/ .Initialize(); +RDebugUtils.currentLine=55246872; + //BA.debugLineNum = 55246872;BA.debugLine="IME.Initialize(\"\")"; +__ref._ime /*anywheresoftware.b4a.objects.IME*/ .Initialize(""); +RDebugUtils.currentLine=55246873; + //BA.debugLineNum = 55246873;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)(__ref._searchfield /*reparto_izca.keymon.lat.b4xfloattextfield*/ ._gettextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ (null).getObject())); +RDebugUtils.currentLine=55246874; + //BA.debugLineNum = 55246874;BA.debugLine="jo.RunMethod(\"setImeOptions\", Array(Bit.Or(335544"; +_jo.RunMethod("setImeOptions",new Object[]{(Object)(__c.Bit.Or((int) (33554432),(int) (6)))}); +RDebugUtils.currentLine=55246876; + //BA.debugLineNum = 55246876;BA.debugLine="End Sub"; +return ""; +} +public String _resize(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=55312384; + //BA.debugLineNum = 55312384;BA.debugLine="Public Sub Resize(Width As Int, Height As Int)"; +RDebugUtils.currentLine=55312385; + //BA.debugLineNum = 55312385;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=55312386; + //BA.debugLineNum = 55312386;BA.debugLine="Dim c As B4XView = CustomListView1.AsView"; +_c = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_c = __ref._customlistview1 /*b4a.example3.customlistview*/ ._asview(); +RDebugUtils.currentLine=55312387; + //BA.debugLineNum = 55312387;BA.debugLine="c.SetLayoutAnimated(0, 0, c.Top, Width, Height -"; +_c.SetLayoutAnimated((int) (0),(int) (0),_c.getTop(),_width,(int) (_height-_c.getTop())); +RDebugUtils.currentLine=55312388; + //BA.debugLineNum = 55312388;BA.debugLine="CustomListView1.Base_Resize(Width, c.Height)"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._base_resize(_width,_c.getHeight()); +RDebugUtils.currentLine=55312389; + //BA.debugLineNum = 55312389;BA.debugLine="End Sub"; +return ""; +} +public String _searchfield_enterpressed(reparto_izca.keymon.lat.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=55640064; + //BA.debugLineNum = 55640064;BA.debugLine="Private Sub SearchField_EnterPressed"; +RDebugUtils.currentLine=55640065; + //BA.debugLineNum = 55640065;BA.debugLine="If AllowUnlistedText Then"; +if (__ref._allowunlistedtext /*boolean*/ ) { +RDebugUtils.currentLine=55640066; + //BA.debugLineNum = 55640066;BA.debugLine="SelectedItem = LastTerm"; +__ref._selecteditem /*String*/ = __ref._lastterm /*String*/ ; +RDebugUtils.currentLine=55640067; + //BA.debugLineNum = 55640067;BA.debugLine="xDialog.Close(xui.DialogResponse_Positive)"; +__ref._xdialog /*reparto_izca.keymon.lat.b4xdialog*/ ._close /*boolean*/ (null,__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .DialogResponse_Positive); + }else +{RDebugUtils.currentLine=55640068; + //BA.debugLineNum = 55640068;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=55640069; + //BA.debugLineNum = 55640069;BA.debugLine="CustomListView1_ItemClick(0, CustomListView1.Get"; +__ref._customlistview1_itemclick /*String*/ (null,(int) (0),__ref._customlistview1 /*b4a.example3.customlistview*/ ._getvalue((int) (0))); + }} +; +RDebugUtils.currentLine=55640071; + //BA.debugLineNum = 55640071;BA.debugLine="End Sub"; +return ""; +} +public String _searchfield_textchanged(reparto_izca.keymon.lat.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=55508992; + //BA.debugLineNum = 55508992;BA.debugLine="Private Sub SearchField_TextChanged (Old As String"; +RDebugUtils.currentLine=55508993; + //BA.debugLineNum = 55508993;BA.debugLine="Update(New, False)"; +__ref._update /*String*/ (null,_new,__c.False); +RDebugUtils.currentLine=55508994; + //BA.debugLineNum = 55508994;BA.debugLine="End Sub"; +return ""; +} +public String _update(reparto_izca.keymon.lat.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=55574528; + //BA.debugLineNum = 55574528;BA.debugLine="Private Sub Update(Term As String, Force As Boolea"; +RDebugUtils.currentLine=55574529; + //BA.debugLineNum = 55574529;BA.debugLine="If Term = LastTerm And Force = False Then Return"; +if ((_term).equals(__ref._lastterm /*String*/ ) && _force==__c.False) { +if (true) return "";}; +RDebugUtils.currentLine=55574530; + //BA.debugLineNum = 55574530;BA.debugLine="LastTerm = Term"; +__ref._lastterm /*String*/ = _term; +RDebugUtils.currentLine=55574531; + //BA.debugLineNum = 55574531;BA.debugLine="If xui.IsB4J = False Then"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4J()==__c.False) { +RDebugUtils.currentLine=55574532; + //BA.debugLineNum = 55574532;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=55574533; + //BA.debugLineNum = 55574533;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=55574534; + //BA.debugLineNum = 55574534;BA.debugLine="p.RemoveViewFromParent"; +_p.RemoveViewFromParent(); +RDebugUtils.currentLine=55574535; + //BA.debugLineNum = 55574535;BA.debugLine="ItemsCache.Add(p)"; +__ref._itemscache /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(_p.getObject())); + } +}; + }; +RDebugUtils.currentLine=55574538; + //BA.debugLineNum = 55574538;BA.debugLine="CustomListView1.Clear"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._clear(); +RDebugUtils.currentLine=55574540; + //BA.debugLineNum = 55574540;BA.debugLine="Dim str1, str2 As String"; +_str1 = ""; +_str2 = ""; +RDebugUtils.currentLine=55574541; + //BA.debugLineNum = 55574541;BA.debugLine="str1 = Term.ToLowerCase"; +_str1 = _term.toLowerCase(); +RDebugUtils.currentLine=55574542; + //BA.debugLineNum = 55574542;BA.debugLine="If Term = \"\" Then"; +if ((_term).equals("")) { +RDebugUtils.currentLine=55574543; + //BA.debugLineNum = 55574543;BA.debugLine="AddItemsToList(AllItems, str1)"; +__ref._additemstolist /*String*/ (null,__ref._allitems /*anywheresoftware.b4a.objects.collections.List*/ ,_str1); + }else { +RDebugUtils.currentLine=55574545; + //BA.debugLineNum = 55574545;BA.debugLine="If str1.Length > MAX_LIMIT Then"; +if (_str1.length()>__ref._max_limit /*int*/ ) { +RDebugUtils.currentLine=55574546; + //BA.debugLineNum = 55574546;BA.debugLine="str2 = str1.SubString2(0, MAX_LIMIT)"; +_str2 = _str1.substring((int) (0),__ref._max_limit /*int*/ ); + }else { +RDebugUtils.currentLine=55574548; + //BA.debugLineNum = 55574548;BA.debugLine="str2 = str1"; +_str2 = _str1; + }; +RDebugUtils.currentLine=55574550; + //BA.debugLineNum = 55574550;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=55574551; + //BA.debugLineNum = 55574551;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=55574553; + //BA.debugLineNum = 55574553;BA.debugLine="End Sub"; +return ""; +} +public String _setindex(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=55902208; + //BA.debugLineNum = 55902208;BA.debugLine="Public Sub SetIndex(Index As Object)"; +RDebugUtils.currentLine=55902209; + //BA.debugLineNum = 55902209;BA.debugLine="Dim obj() As Object"; +_obj = new Object[(int) (0)]; +{ +int d0 = _obj.length; +for (int i0 = 0;i0 < d0;i0++) { +_obj[i0] = new Object(); +} +} +; +RDebugUtils.currentLine=55902210; + //BA.debugLineNum = 55902210;BA.debugLine="obj = Index"; +_obj = (Object[])(_index); +RDebugUtils.currentLine=55902211; + //BA.debugLineNum = 55902211;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=55902212; + //BA.debugLineNum = 55902212;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=55902213; + //BA.debugLineNum = 55902213;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)])); +RDebugUtils.currentLine=55902214; + //BA.debugLineNum = 55902214;BA.debugLine="End Sub"; +return ""; +} +public Object _setitems(reparto_izca.keymon.lat.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; +anywheresoftware.b4a.objects.collections.List _li = null; +int _i = 0; +String _itemnotlower = ""; +String _itemtolower = ""; +int _start = 0; +int _count = 0; +String _str = ""; +RDebugUtils.currentLine=55836672; + //BA.debugLineNum = 55836672;BA.debugLine="Public Sub SetItems(Items As List) As Object"; +RDebugUtils.currentLine=55836673; + //BA.debugLineNum = 55836673;BA.debugLine="Dim startTime As Long"; +_starttime = 0L; +RDebugUtils.currentLine=55836674; + //BA.debugLineNum = 55836674;BA.debugLine="startTime = DateTime.Now"; +_starttime = __c.DateTime.getNow(); +RDebugUtils.currentLine=55836675; + //BA.debugLineNum = 55836675;BA.debugLine="Dim noDuplicates As Map"; +_noduplicates = new anywheresoftware.b4a.objects.collections.Map(); +RDebugUtils.currentLine=55836676; + //BA.debugLineNum = 55836676;BA.debugLine="noDuplicates.Initialize"; +_noduplicates.Initialize(); +RDebugUtils.currentLine=55836677; + //BA.debugLineNum = 55836677;BA.debugLine="prefixList.Clear"; +__ref._prefixlist /*anywheresoftware.b4a.objects.collections.Map*/ .Clear(); +RDebugUtils.currentLine=55836678; + //BA.debugLineNum = 55836678;BA.debugLine="substringList.Clear"; +__ref._substringlist /*anywheresoftware.b4a.objects.collections.Map*/ .Clear(); +RDebugUtils.currentLine=55836679; + //BA.debugLineNum = 55836679;BA.debugLine="Dim m As Map"; +_m = new anywheresoftware.b4a.objects.collections.Map(); +RDebugUtils.currentLine=55836680; + //BA.debugLineNum = 55836680;BA.debugLine="Dim li As List"; +_li = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=55836681; + //BA.debugLineNum = 55836681;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 ) { +RDebugUtils.currentLine=55836682; + //BA.debugLineNum = 55836682;BA.debugLine="Dim itemNotLower As String = Items.Get(i)"; +_itemnotlower = BA.ObjectToString(_items.Get(_i)); +RDebugUtils.currentLine=55836683; + //BA.debugLineNum = 55836683;BA.debugLine="Dim itemToLower As String = itemNotLower.ToLower"; +_itemtolower = _itemnotlower.toLowerCase(); +RDebugUtils.currentLine=55836684; + //BA.debugLineNum = 55836684;BA.debugLine="noDuplicates.Clear"; +_noduplicates.Clear(); +RDebugUtils.currentLine=55836685; + //BA.debugLineNum = 55836685;BA.debugLine="For start = 0 To IIf(PrefixOnly, 0, itemToLower."; +{ +final int step13 = 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 ) { +RDebugUtils.currentLine=55836686; + //BA.debugLineNum = 55836686;BA.debugLine="Dim count As Int = 1"; +_count = (int) (1); +RDebugUtils.currentLine=55836687; + //BA.debugLineNum = 55836687;BA.debugLine="Do While count <= MAX_LIMIT And start + count <"; +while (_count<=__ref._max_limit /*int*/ && _start+_count<=_itemtolower.length()) { +RDebugUtils.currentLine=55836688; + //BA.debugLineNum = 55836688;BA.debugLine="Dim str As String = itemToLower.SubString2(sta"; +_str = _itemtolower.substring(_start,(int) (_start+_count)); +RDebugUtils.currentLine=55836689; + //BA.debugLineNum = 55836689;BA.debugLine="If noDuplicates.ContainsKey(str) = False Then"; +if (_noduplicates.ContainsKey((Object)(_str))==__c.False) { +RDebugUtils.currentLine=55836690; + //BA.debugLineNum = 55836690;BA.debugLine="noDuplicates.Put(str, \"\")"; +_noduplicates.Put((Object)(_str),(Object)("")); +RDebugUtils.currentLine=55836691; + //BA.debugLineNum = 55836691;BA.debugLine="If start = 0 Then m = prefixList Else m = sub"; +if (_start==0) { +_m = __ref._prefixlist /*anywheresoftware.b4a.objects.collections.Map*/ ;} +else { +_m = __ref._substringlist /*anywheresoftware.b4a.objects.collections.Map*/ ;}; +RDebugUtils.currentLine=55836692; + //BA.debugLineNum = 55836692;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)))); +RDebugUtils.currentLine=55836693; + //BA.debugLineNum = 55836693;BA.debugLine="If li.IsInitialized = False Then"; +if (_li.IsInitialized()==__c.False) { +RDebugUtils.currentLine=55836694; + //BA.debugLineNum = 55836694;BA.debugLine="li.Initialize"; +_li.Initialize(); +RDebugUtils.currentLine=55836695; + //BA.debugLineNum = 55836695;BA.debugLine="m.Put(str, li)"; +_m.Put((Object)(_str),(Object)(_li.getObject())); + }; +RDebugUtils.currentLine=55836697; + //BA.debugLineNum = 55836697;BA.debugLine="li.Add(itemNotLower)"; +_li.Add((Object)(_itemnotlower)); + }; +RDebugUtils.currentLine=55836699; + //BA.debugLineNum = 55836699;BA.debugLine="count = count + 1"; +_count = (int) (_count+1); + } +; + } +}; + } +}; +RDebugUtils.currentLine=55836703; + //BA.debugLineNum = 55836703;BA.debugLine="Log(\"Index time: \" & (DateTime.Now - startTime) &"; +__c.LogImpl("955836703","Index time: "+BA.NumberToString((__c.DateTime.getNow()-_starttime))+" ms ("+BA.NumberToString(_items.getSize())+" Items)",0); +RDebugUtils.currentLine=55836704; + //BA.debugLineNum = 55836704;BA.debugLine="AllItems = Items"; +__ref._allitems /*anywheresoftware.b4a.objects.collections.List*/ = _items; +RDebugUtils.currentLine=55836705; + //BA.debugLineNum = 55836705;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=55836706; + //BA.debugLineNum = 55836706;BA.debugLine="End Sub"; +return null; +} +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/reparto_izca/keymon/lat/b4xseekbar.java b/B4A/Objects/src/reparto_izca/keymon/lat/b4xseekbar.java new file mode 100644 index 0000000..d70df0d --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/b4xseekbar.java @@ -0,0 +1,445 @@ +package reparto_izca.keymon.lat; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.B4AClass; +import anywheresoftware.b4a.BALayout; +import anywheresoftware.b4a.debug.*; + +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 anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "reparto_izca.keymon.lat.b4xseekbar"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", reparto_izca.keymon.lat.b4xseekbar.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 String _meventname = ""; +public Object _mcallback = null; +public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; +public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; +public int _color1 = 0; +public int _color2 = 0; +public int _thumbcolor = 0; +public anywheresoftware.b4a.objects.B4XCanvas _cvs = null; +public Object _tag = null; +public anywheresoftware.b4a.objects.B4XViewWrapper _touchpanel = null; +public int _mvalue = 0; +public int _minvalue = 0; +public int _maxvalue = 0; +public int _interval = 0; +public boolean _vertical = false; +public int _size1 = 0; +public int _size2 = 0; +public int _radius1 = 0; +public int _radius2 = 0; +public boolean _pressed = false; +public int _size = 0; +public b4a.example.dateutils _dateutils = null; +public reparto_izca.keymon.lat.main _main = null; +public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; +public reparto_izca.keymon.lat.foto _foto = null; +public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_izca.keymon.lat.starter _starter = null; +public reparto_izca.keymon.lat.tracker _tracker = null; +public reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public String _base_resize(reparto_izca.keymon.lat.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=56229888; + //BA.debugLineNum = 56229888;BA.debugLine="Public Sub Base_Resize (Width As Double, Height As"; +RDebugUtils.currentLine=56229889; + //BA.debugLineNum = 56229889;BA.debugLine="cvs.Resize(Width, Height)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Resize((float) (_width),(float) (_height)); +RDebugUtils.currentLine=56229890; + //BA.debugLineNum = 56229890;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=56229891; + //BA.debugLineNum = 56229891;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=56229892; + //BA.debugLineNum = 56229892;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=56229893; + //BA.debugLineNum = 56229893;BA.debugLine="Update"; +__ref._update /*String*/ (null); +RDebugUtils.currentLine=56229894; + //BA.debugLineNum = 56229894;BA.debugLine="End Sub"; +return ""; +} +public String _update(reparto_izca.keymon.lat.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=56295424; + //BA.debugLineNum = 56295424;BA.debugLine="Public Sub Update"; +RDebugUtils.currentLine=56295426; + //BA.debugLineNum = 56295426;BA.debugLine="cvs.ClearRect(cvs.TargetRect)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClearRect(__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect()); +RDebugUtils.currentLine=56295427; + //BA.debugLineNum = 56295427;BA.debugLine="If size > 0 Then"; +if (__ref._size /*int*/ >0) { +RDebugUtils.currentLine=56295428; + //BA.debugLineNum = 56295428;BA.debugLine="If Vertical = False Then"; +if (__ref._vertical /*boolean*/ ==__c.False) { +RDebugUtils.currentLine=56295429; + //BA.debugLineNum = 56295429;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=56295430; + //BA.debugLineNum = 56295430;BA.debugLine="Dim y As Int = mBase.Height / 2"; +_y = (int) (__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()/(double)2); +RDebugUtils.currentLine=56295431; + //BA.debugLineNum = 56295431;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=56295432; + //BA.debugLineNum = 56295432;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=56295433; + //BA.debugLineNum = 56295433;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=56295434; + //BA.debugLineNum = 56295434;BA.debugLine="If Pressed Then"; +if (__ref._pressed /*boolean*/ ) { +RDebugUtils.currentLine=56295435; + //BA.debugLineNum = 56295435;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=56295438; + //BA.debugLineNum = 56295438;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=56295439; + //BA.debugLineNum = 56295439;BA.debugLine="Dim x As Int = mBase.Width / 2"; +_x = (int) (__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()/(double)2); +RDebugUtils.currentLine=56295440; + //BA.debugLineNum = 56295440;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=56295441; + //BA.debugLineNum = 56295441;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=56295442; + //BA.debugLineNum = 56295442;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=56295443; + //BA.debugLineNum = 56295443;BA.debugLine="If Pressed Then"; +if (__ref._pressed /*boolean*/ ) { +RDebugUtils.currentLine=56295444; + //BA.debugLineNum = 56295444;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=56295448; + //BA.debugLineNum = 56295448;BA.debugLine="cvs.Invalidate"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Invalidate(); +RDebugUtils.currentLine=56295449; + //BA.debugLineNum = 56295449;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(reparto_izca.keymon.lat.b4xseekbar __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xseekbar"; +RDebugUtils.currentLine=56033280; + //BA.debugLineNum = 56033280;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=56033281; + //BA.debugLineNum = 56033281;BA.debugLine="Private mEventName As String 'ignore"; +_meventname = ""; +RDebugUtils.currentLine=56033282; + //BA.debugLineNum = 56033282;BA.debugLine="Private mCallBack As Object 'ignore"; +_mcallback = new Object(); +RDebugUtils.currentLine=56033283; + //BA.debugLineNum = 56033283;BA.debugLine="Public mBase As B4XView 'ignore"; +_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=56033284; + //BA.debugLineNum = 56033284;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=56033285; + //BA.debugLineNum = 56033285;BA.debugLine="Public Color1, Color2, ThumbColor As Int"; +_color1 = 0; +_color2 = 0; +_thumbcolor = 0; +RDebugUtils.currentLine=56033286; + //BA.debugLineNum = 56033286;BA.debugLine="Private cvs As B4XCanvas"; +_cvs = new anywheresoftware.b4a.objects.B4XCanvas(); +RDebugUtils.currentLine=56033287; + //BA.debugLineNum = 56033287;BA.debugLine="Public Tag As Object"; +_tag = new Object(); +RDebugUtils.currentLine=56033288; + //BA.debugLineNum = 56033288;BA.debugLine="Private TouchPanel As B4XView"; +_touchpanel = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=56033289; + //BA.debugLineNum = 56033289;BA.debugLine="Private mValue As Int"; +_mvalue = 0; +RDebugUtils.currentLine=56033290; + //BA.debugLineNum = 56033290;BA.debugLine="Public MinValue, MaxValue As Int"; +_minvalue = 0; +_maxvalue = 0; +RDebugUtils.currentLine=56033291; + //BA.debugLineNum = 56033291;BA.debugLine="Public Interval As Int = 1"; +_interval = (int) (1); +RDebugUtils.currentLine=56033292; + //BA.debugLineNum = 56033292;BA.debugLine="Private Vertical As Boolean"; +_vertical = false; +RDebugUtils.currentLine=56033293; + //BA.debugLineNum = 56033293;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)); +RDebugUtils.currentLine=56033294; + //BA.debugLineNum = 56033294;BA.debugLine="Private Pressed As Boolean"; +_pressed = false; +RDebugUtils.currentLine=56033295; + //BA.debugLineNum = 56033295;BA.debugLine="Private size As Int"; +_size = 0; +RDebugUtils.currentLine=56033296; + //BA.debugLineNum = 56033296;BA.debugLine="End Sub"; +return ""; +} +public String _designercreateview(reparto_izca.keymon.lat.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=56164352; + //BA.debugLineNum = 56164352;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; +RDebugUtils.currentLine=56164353; + //BA.debugLineNum = 56164353;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=56164354; + //BA.debugLineNum = 56164354;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._tag /*Object*/ = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTag(); +RDebugUtils.currentLine=56164354; + //BA.debugLineNum = 56164354;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag(this); +RDebugUtils.currentLine=56164355; + //BA.debugLineNum = 56164355;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=56164356; + //BA.debugLineNum = 56164356;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=56164357; + //BA.debugLineNum = 56164357;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=56164358; + //BA.debugLineNum = 56164358;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=56164359; + //BA.debugLineNum = 56164359;BA.debugLine="MinValue = Props.Get(\"Min\")"; +__ref._minvalue /*int*/ = (int)(BA.ObjectToNumber(_props.Get((Object)("Min")))); +RDebugUtils.currentLine=56164360; + //BA.debugLineNum = 56164360;BA.debugLine="MaxValue = Props.Get(\"Max\")"; +__ref._maxvalue /*int*/ = (int)(BA.ObjectToNumber(_props.Get((Object)("Max")))); +RDebugUtils.currentLine=56164361; + //BA.debugLineNum = 56164361;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=56164362; + //BA.debugLineNum = 56164362;BA.debugLine="cvs.Initialize(mBase)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Initialize(__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ); +RDebugUtils.currentLine=56164363; + //BA.debugLineNum = 56164363;BA.debugLine="TouchPanel = xui.CreatePanel(\"TouchPanel\")"; +__ref._touchpanel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,"TouchPanel"); +RDebugUtils.currentLine=56164364; + //BA.debugLineNum = 56164364;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=56164365; + //BA.debugLineNum = 56164365;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=56164366; + //BA.debugLineNum = 56164366;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=56164367; + //BA.debugLineNum = 56164367;BA.debugLine="End Sub"; +return ""; +} +public int _getvalue(reparto_izca.keymon.lat.b4xseekbar __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xseekbar"; +if (Debug.shouldDelegate(ba, "getvalue", true)) + {return ((Integer) Debug.delegate(ba, "getvalue", null));} +RDebugUtils.currentLine=56623104; + //BA.debugLineNum = 56623104;BA.debugLine="Public Sub getValue As Int"; +RDebugUtils.currentLine=56623105; + //BA.debugLineNum = 56623105;BA.debugLine="Return mValue"; +if (true) return __ref._mvalue /*int*/ ; +RDebugUtils.currentLine=56623106; + //BA.debugLineNum = 56623106;BA.debugLine="End Sub"; +return 0; +} +public String _initialize(reparto_izca.keymon.lat.b4xseekbar __ref,anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="b4xseekbar"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba,_callback,_eventname}));} +RDebugUtils.currentLine=56098816; + //BA.debugLineNum = 56098816;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +RDebugUtils.currentLine=56098817; + //BA.debugLineNum = 56098817;BA.debugLine="mEventName = EventName"; +__ref._meventname /*String*/ = _eventname; +RDebugUtils.currentLine=56098818; + //BA.debugLineNum = 56098818;BA.debugLine="mCallBack = Callback"; +__ref._mcallback /*Object*/ = _callback; +RDebugUtils.currentLine=56098819; + //BA.debugLineNum = 56098819;BA.debugLine="End Sub"; +return ""; +} +public String _raisetouchstateevent(reparto_izca.keymon.lat.b4xseekbar __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xseekbar"; +if (Debug.shouldDelegate(ba, "raisetouchstateevent", true)) + {return ((String) Debug.delegate(ba, "raisetouchstateevent", null));} +RDebugUtils.currentLine=56426496; + //BA.debugLineNum = 56426496;BA.debugLine="Private Sub RaiseTouchStateEvent"; +RDebugUtils.currentLine=56426497; + //BA.debugLineNum = 56426497;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=56426498; + //BA.debugLineNum = 56426498;BA.debugLine="CallSubDelayed2(mCallBack, mEventName & \"_TouchS"; +__c.CallSubDelayed2(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_TouchStateChanged",(Object)(__ref._pressed /*boolean*/ )); + }; +RDebugUtils.currentLine=56426500; + //BA.debugLineNum = 56426500;BA.debugLine="End Sub"; +return ""; +} +public String _setvalue(reparto_izca.keymon.lat.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=56557568; + //BA.debugLineNum = 56557568;BA.debugLine="Public Sub setValue(v As Int)"; +RDebugUtils.currentLine=56557569; + //BA.debugLineNum = 56557569;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=56557570; + //BA.debugLineNum = 56557570;BA.debugLine="Update"; +__ref._update /*String*/ (null); +RDebugUtils.currentLine=56557571; + //BA.debugLineNum = 56557571;BA.debugLine="End Sub"; +return ""; +} +public String _setvaluebasedontouch(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=56492032; + //BA.debugLineNum = 56492032;BA.debugLine="Private Sub SetValueBasedOnTouch(x As Int, y As In"; +RDebugUtils.currentLine=56492033; + //BA.debugLineNum = 56492033;BA.debugLine="Dim v As Int"; +_v = 0; +RDebugUtils.currentLine=56492034; + //BA.debugLineNum = 56492034;BA.debugLine="If Vertical Then"; +if (__ref._vertical /*boolean*/ ) { +RDebugUtils.currentLine=56492035; + //BA.debugLineNum = 56492035;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 { +RDebugUtils.currentLine=56492037; + //BA.debugLineNum = 56492037;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*/ ); + }; +RDebugUtils.currentLine=56492039; + //BA.debugLineNum = 56492039;BA.debugLine="v = Round (v / Interval) * Interval"; +_v = (int) (__c.Round(_v/(double)__ref._interval /*int*/ )*__ref._interval /*int*/ ); +RDebugUtils.currentLine=56492040; + //BA.debugLineNum = 56492040;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=56492041; + //BA.debugLineNum = 56492041;BA.debugLine="If NewValue <> mValue Then"; +if (_newvalue!=__ref._mvalue /*int*/ ) { +RDebugUtils.currentLine=56492042; + //BA.debugLineNum = 56492042;BA.debugLine="mValue = NewValue"; +__ref._mvalue /*int*/ = _newvalue; +RDebugUtils.currentLine=56492043; + //BA.debugLineNum = 56492043;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=56492044; + //BA.debugLineNum = 56492044;BA.debugLine="CallSubDelayed2(mCallBack, mEventName & \"_Value"; +__c.CallSubDelayed2(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_ValueChanged",(Object)(__ref._mvalue /*int*/ )); + }; + }; +RDebugUtils.currentLine=56492047; + //BA.debugLineNum = 56492047;BA.debugLine="End Sub"; +return ""; +} +public String _touchpanel_touch(reparto_izca.keymon.lat.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=56360960; + //BA.debugLineNum = 56360960;BA.debugLine="Private Sub TouchPanel_Touch (Action As Int, X As"; +RDebugUtils.currentLine=56360961; + //BA.debugLineNum = 56360961;BA.debugLine="If Action = TouchPanel.TOUCH_ACTION_DOWN Then"; +if (_action==__ref._touchpanel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .TOUCH_ACTION_DOWN) { +RDebugUtils.currentLine=56360962; + //BA.debugLineNum = 56360962;BA.debugLine="Pressed = True"; +__ref._pressed /*boolean*/ = __c.True; +RDebugUtils.currentLine=56360963; + //BA.debugLineNum = 56360963;BA.debugLine="RaiseTouchStateEvent"; +__ref._raisetouchstateevent /*String*/ (null); +RDebugUtils.currentLine=56360964; + //BA.debugLineNum = 56360964;BA.debugLine="SetValueBasedOnTouch(X, Y)"; +__ref._setvaluebasedontouch /*String*/ (null,(int) (_x),(int) (_y)); + }else +{RDebugUtils.currentLine=56360965; + //BA.debugLineNum = 56360965;BA.debugLine="Else If Action = TouchPanel.TOUCH_ACTION_MOVE The"; +if (_action==__ref._touchpanel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .TOUCH_ACTION_MOVE) { +RDebugUtils.currentLine=56360966; + //BA.debugLineNum = 56360966;BA.debugLine="SetValueBasedOnTouch(X, Y)"; +__ref._setvaluebasedontouch /*String*/ (null,(int) (_x),(int) (_y)); + }else +{RDebugUtils.currentLine=56360967; + //BA.debugLineNum = 56360967;BA.debugLine="Else If Action = TouchPanel.TOUCH_ACTION_UP Then"; +if (_action==__ref._touchpanel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .TOUCH_ACTION_UP) { +RDebugUtils.currentLine=56360968; + //BA.debugLineNum = 56360968;BA.debugLine="Pressed = False"; +__ref._pressed /*boolean*/ = __c.False; +RDebugUtils.currentLine=56360969; + //BA.debugLineNum = 56360969;BA.debugLine="RaiseTouchStateEvent"; +__ref._raisetouchstateevent /*String*/ (null); + }}} +; +RDebugUtils.currentLine=56360971; + //BA.debugLineNum = 56360971;BA.debugLine="Update"; +__ref._update /*String*/ (null); +RDebugUtils.currentLine=56360972; + //BA.debugLineNum = 56360972;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/b4xset.java b/B4A/Objects/src/reparto_izca/keymon/lat/b4xset.java new file mode 100644 index 0000000..cbb5dd0 --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/b4xset.java @@ -0,0 +1,160 @@ +package reparto_izca.keymon.lat; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.B4AClass; +import anywheresoftware.b4a.BALayout; +import anywheresoftware.b4a.debug.*; + +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 anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "reparto_izca.keymon.lat.b4xset"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", reparto_izca.keymon.lat.b4xset.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 reparto_izca.keymon.lat.b4xorderedmap _map = null; +public b4a.example.dateutils _dateutils = null; +public reparto_izca.keymon.lat.main _main = null; +public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; +public reparto_izca.keymon.lat.foto _foto = null; +public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_izca.keymon.lat.starter _starter = null; +public reparto_izca.keymon.lat.tracker _tracker = null; +public reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public String _initialize(reparto_izca.keymon.lat.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=34537472; + //BA.debugLineNum = 34537472;BA.debugLine="Public Sub Initialize"; +RDebugUtils.currentLine=34537473; + //BA.debugLineNum = 34537473;BA.debugLine="map.Initialize"; +__ref._map /*reparto_izca.keymon.lat.b4xorderedmap*/ ._initialize /*String*/ (null,ba); +RDebugUtils.currentLine=34537474; + //BA.debugLineNum = 34537474;BA.debugLine="End Sub"; +return ""; +} +public String _add(reparto_izca.keymon.lat.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=34603008; + //BA.debugLineNum = 34603008;BA.debugLine="Public Sub Add(Value As Object)"; +RDebugUtils.currentLine=34603009; + //BA.debugLineNum = 34603009;BA.debugLine="map.Put(Value, \"\")"; +__ref._map /*reparto_izca.keymon.lat.b4xorderedmap*/ ._put /*String*/ (null,_value,(Object)("")); +RDebugUtils.currentLine=34603010; + //BA.debugLineNum = 34603010;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.objects.collections.List _aslist(reparto_izca.keymon.lat.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=34930688; + //BA.debugLineNum = 34930688;BA.debugLine="Public Sub AsList As List"; +RDebugUtils.currentLine=34930689; + //BA.debugLineNum = 34930689;BA.debugLine="Return map.Keys"; +if (true) return __ref._map /*reparto_izca.keymon.lat.b4xorderedmap*/ ._getkeys /*anywheresoftware.b4a.objects.collections.List*/ (null); +RDebugUtils.currentLine=34930690; + //BA.debugLineNum = 34930690;BA.debugLine="End Sub"; +return null; +} +public String _class_globals(reparto_izca.keymon.lat.b4xset __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xset"; +RDebugUtils.currentLine=34471936; + //BA.debugLineNum = 34471936;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=34471937; + //BA.debugLineNum = 34471937;BA.debugLine="Private map As B4XOrderedMap"; +_map = new reparto_izca.keymon.lat.b4xorderedmap(); +RDebugUtils.currentLine=34471938; + //BA.debugLineNum = 34471938;BA.debugLine="End Sub"; +return ""; +} +public String _clear(reparto_izca.keymon.lat.b4xset __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xset"; +if (Debug.shouldDelegate(ba, "clear", true)) + {return ((String) Debug.delegate(ba, "clear", null));} +RDebugUtils.currentLine=34865152; + //BA.debugLineNum = 34865152;BA.debugLine="Public Sub Clear"; +RDebugUtils.currentLine=34865153; + //BA.debugLineNum = 34865153;BA.debugLine="map.Clear"; +__ref._map /*reparto_izca.keymon.lat.b4xorderedmap*/ ._clear /*String*/ (null); +RDebugUtils.currentLine=34865154; + //BA.debugLineNum = 34865154;BA.debugLine="End Sub"; +return ""; +} +public boolean _contains(reparto_izca.keymon.lat.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=34734080; + //BA.debugLineNum = 34734080;BA.debugLine="Public Sub Contains (Value As Object) As Boolean"; +RDebugUtils.currentLine=34734081; + //BA.debugLineNum = 34734081;BA.debugLine="Return map.ContainsKey(Value)"; +if (true) return __ref._map /*reparto_izca.keymon.lat.b4xorderedmap*/ ._containskey /*boolean*/ (null,_value); +RDebugUtils.currentLine=34734082; + //BA.debugLineNum = 34734082;BA.debugLine="End Sub"; +return false; +} +public int _getsize(reparto_izca.keymon.lat.b4xset __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xset"; +if (Debug.shouldDelegate(ba, "getsize", true)) + {return ((Integer) Debug.delegate(ba, "getsize", null));} +RDebugUtils.currentLine=34799616; + //BA.debugLineNum = 34799616;BA.debugLine="Public Sub getSize As Int"; +RDebugUtils.currentLine=34799617; + //BA.debugLineNum = 34799617;BA.debugLine="Return map.Size"; +if (true) return __ref._map /*reparto_izca.keymon.lat.b4xorderedmap*/ ._getsize /*int*/ (null); +RDebugUtils.currentLine=34799618; + //BA.debugLineNum = 34799618;BA.debugLine="End Sub"; +return 0; +} +public String _remove(reparto_izca.keymon.lat.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=34668544; + //BA.debugLineNum = 34668544;BA.debugLine="Public Sub Remove(Value As Object)"; +RDebugUtils.currentLine=34668545; + //BA.debugLineNum = 34668545;BA.debugLine="map.Remove(Value)"; +__ref._map /*reparto_izca.keymon.lat.b4xorderedmap*/ ._remove /*String*/ (null,_value); +RDebugUtils.currentLine=34668546; + //BA.debugLineNum = 34668546;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/b4xsignaturetemplate.java b/B4A/Objects/src/reparto_izca/keymon/lat/b4xsignaturetemplate.java new file mode 100644 index 0000000..5b43ba4 --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/b4xsignaturetemplate.java @@ -0,0 +1,259 @@ +package reparto_izca.keymon.lat; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.B4AClass; +import anywheresoftware.b4a.BALayout; +import anywheresoftware.b4a.debug.*; + +public class b4xsignaturetemplate 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, "reparto_izca.keymon.lat.b4xsignaturetemplate"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", reparto_izca.keymon.lat.b4xsignaturetemplate.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.XUI _xui = null; +public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; +public anywheresoftware.b4a.objects.B4XCanvas _cvs = null; +public float _lastx = 0f; +public float _lasty = 0f; +public float _strokewidth = 0f; +public int _strokecolor = 0; +public int _textcolor = 0; +public int _backgroundcolor = 0; +public boolean _adddateandtime = false; +public anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont _textfont = null; +public int _numberofpoints = 0; +public b4a.example.dateutils _dateutils = null; +public reparto_izca.keymon.lat.main _main = null; +public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; +public reparto_izca.keymon.lat.foto _foto = null; +public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_izca.keymon.lat.starter _starter = null; +public reparto_izca.keymon.lat.tracker _tracker = null; +public reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public anywheresoftware.b4a.objects.B4XViewWrapper _getpanel(reparto_izca.keymon.lat.b4xsignaturetemplate __ref,reparto_izca.keymon.lat.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=56885248; + //BA.debugLineNum = 56885248;BA.debugLine="Public Sub GetPanel (Dialog As B4XDialog) As B4XVi"; +RDebugUtils.currentLine=56885249; + //BA.debugLineNum = 56885249;BA.debugLine="Return mBase"; +if (true) return __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ; +RDebugUtils.currentLine=56885250; + //BA.debugLineNum = 56885250;BA.debugLine="End Sub"; +return null; +} +public String _show(reparto_izca.keymon.lat.b4xsignaturetemplate __ref,reparto_izca.keymon.lat.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=56950784; + //BA.debugLineNum = 56950784;BA.debugLine="Private Sub Show (Dialog As B4XDialog) 'ignore"; +RDebugUtils.currentLine=56950785; + //BA.debugLineNum = 56950785;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=56950786; + //BA.debugLineNum = 56950786;BA.debugLine="cvs.Invalidate"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Invalidate(); +RDebugUtils.currentLine=56950787; + //BA.debugLineNum = 56950787;BA.debugLine="NumberOfPoints = 0"; +__ref._numberofpoints /*int*/ = (int) (0); +RDebugUtils.currentLine=56950788; + //BA.debugLineNum = 56950788;BA.debugLine="End Sub"; +return ""; +} +public String _dialogclosed(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=57147392; + //BA.debugLineNum = 57147392;BA.debugLine="Private Sub DialogClosed (Result As Int)"; +RDebugUtils.currentLine=57147393; + //BA.debugLineNum = 57147393;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=57147394; + //BA.debugLineNum = 57147394;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=57147395; + //BA.debugLineNum = 57147395;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=57147396; + //BA.debugLineNum = 57147396;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")); + }; +RDebugUtils.currentLine=57147398; + //BA.debugLineNum = 57147398;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(reparto_izca.keymon.lat.b4xsignaturetemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xsignaturetemplate"; +RDebugUtils.currentLine=56688640; + //BA.debugLineNum = 56688640;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=56688641; + //BA.debugLineNum = 56688641;BA.debugLine="Private xui As XUI"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=56688642; + //BA.debugLineNum = 56688642;BA.debugLine="Public mBase As B4XView"; +_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=56688643; + //BA.debugLineNum = 56688643;BA.debugLine="Private cvs As B4XCanvas"; +_cvs = new anywheresoftware.b4a.objects.B4XCanvas(); +RDebugUtils.currentLine=56688644; + //BA.debugLineNum = 56688644;BA.debugLine="Private LastX, LastY As Float"; +_lastx = 0f; +_lasty = 0f; +RDebugUtils.currentLine=56688645; + //BA.debugLineNum = 56688645;BA.debugLine="Public StrokeWidth As Float = 2dip"; +_strokewidth = (float) (__c.DipToCurrent((int) (2))); +RDebugUtils.currentLine=56688646; + //BA.debugLineNum = 56688646;BA.debugLine="Public StrokeColor As Int = xui.Color_Black"; +_strokecolor = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Black; +RDebugUtils.currentLine=56688647; + //BA.debugLineNum = 56688647;BA.debugLine="Public TextColor As Int = 0xFFFF8800"; +_textcolor = ((int)0xffff8800); +RDebugUtils.currentLine=56688648; + //BA.debugLineNum = 56688648;BA.debugLine="Public BackgroundColor As Int = xui.Color_White"; +_backgroundcolor = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_White; +RDebugUtils.currentLine=56688649; + //BA.debugLineNum = 56688649;BA.debugLine="Public AddDateAndTime As Boolean = True"; +_adddateandtime = __c.True; +RDebugUtils.currentLine=56688650; + //BA.debugLineNum = 56688650;BA.debugLine="Public TextFont As B4XFont"; +_textfont = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont(); +RDebugUtils.currentLine=56688651; + //BA.debugLineNum = 56688651;BA.debugLine="Public NumberOfPoints As Int"; +_numberofpoints = 0; +RDebugUtils.currentLine=56688652; + //BA.debugLineNum = 56688652;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _getbitmap(reparto_izca.keymon.lat.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=57081856; + //BA.debugLineNum = 57081856;BA.debugLine="Public Sub getBitmap As B4XBitmap"; +RDebugUtils.currentLine=57081857; + //BA.debugLineNum = 57081857;BA.debugLine="Return cvs.CreateBitmap"; +if (true) return __ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .CreateBitmap(); +RDebugUtils.currentLine=57081858; + //BA.debugLineNum = 57081858;BA.debugLine="End Sub"; +return null; +} +public String _initialize(reparto_izca.keymon.lat.b4xsignaturetemplate __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="b4xsignaturetemplate"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=56754176; + //BA.debugLineNum = 56754176;BA.debugLine="Public Sub Initialize"; +RDebugUtils.currentLine=56754177; + //BA.debugLineNum = 56754177;BA.debugLine="mBase = xui.CreatePanel(\"mBase\")"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,"mBase"); +RDebugUtils.currentLine=56754178; + //BA.debugLineNum = 56754178;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=56754179; + //BA.debugLineNum = 56754179;BA.debugLine="cvs.Initialize(mBase)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Initialize(__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ); +RDebugUtils.currentLine=56754180; + //BA.debugLineNum = 56754180;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=56754181; + //BA.debugLineNum = 56754181;BA.debugLine="End Sub"; +return ""; +} +public String _mbase_touch(reparto_izca.keymon.lat.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=57016320; + //BA.debugLineNum = 57016320;BA.debugLine="Private Sub mBase_Touch (Action As Int, X As Float"; +RDebugUtils.currentLine=57016321; + //BA.debugLineNum = 57016321;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: { +RDebugUtils.currentLine=57016323; + //BA.debugLineNum = 57016323;BA.debugLine="LastX = X"; +__ref._lastx /*float*/ = _x; +RDebugUtils.currentLine=57016324; + //BA.debugLineNum = 57016324;BA.debugLine="LastY = Y"; +__ref._lasty /*float*/ = _y; + break; } +case 1: { +RDebugUtils.currentLine=57016326; + //BA.debugLineNum = 57016326;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=57016327; + //BA.debugLineNum = 57016327;BA.debugLine="LastX = X"; +__ref._lastx /*float*/ = _x; +RDebugUtils.currentLine=57016328; + //BA.debugLineNum = 57016328;BA.debugLine="LastY = Y"; +__ref._lasty /*float*/ = _y; +RDebugUtils.currentLine=57016329; + //BA.debugLineNum = 57016329;BA.debugLine="cvs.Invalidate"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Invalidate(); +RDebugUtils.currentLine=57016330; + //BA.debugLineNum = 57016330;BA.debugLine="NumberOfPoints = NumberOfPoints + 1"; +__ref._numberofpoints /*int*/ = (int) (__ref._numberofpoints /*int*/ +1); + break; } +} +; +RDebugUtils.currentLine=57016332; + //BA.debugLineNum = 57016332;BA.debugLine="End Sub"; +return ""; +} +public String _resize(reparto_izca.keymon.lat.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=56819712; + //BA.debugLineNum = 56819712;BA.debugLine="Public Sub Resize(Width As Int, Height As Int)"; +RDebugUtils.currentLine=56819713; + //BA.debugLineNum = 56819713;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=56819714; + //BA.debugLineNum = 56819714;BA.debugLine="cvs.Resize(Width, Height)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Resize((float) (_width),(float) (_height)); +RDebugUtils.currentLine=56819715; + //BA.debugLineNum = 56819715;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/b4xswitch.java b/B4A/Objects/src/reparto_izca/keymon/lat/b4xswitch.java new file mode 100644 index 0000000..97b01ef --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/b4xswitch.java @@ -0,0 +1,664 @@ +package reparto_izca.keymon.lat; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.B4AClass; +import anywheresoftware.b4a.BALayout; +import anywheresoftware.b4a.debug.*; + +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 anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "reparto_izca.keymon.lat.b4xswitch"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", reparto_izca.keymon.lat.b4xswitch.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 String _meventname = ""; +public Object _mcallback = null; +public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; +public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; +public b4a.example.bcpath._bcbrush _oncolor = null; +public b4a.example.bcpath._bcbrush _offcolor = null; +public b4a.example.bitmapcreator _bc = null; +public int _width = 0; +public int _height = 0; +public b4a.example.bcpath._bcbrush _thumbcolor = null; +public anywheresoftware.b4a.objects.ImageViewWrapper _iv = null; +public boolean _mvalue = false; +public b4a.example.bcpath._bcbrush _transparent = null; +public int _loopindex = 0; +public Object _tag = null; +public float _scale = 0f; +public boolean _menabled = false; +public boolean _mhaptic = false; +public b4a.example.dateutils _dateutils = null; +public reparto_izca.keymon.lat.main _main = null; +public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; +public reparto_izca.keymon.lat.foto _foto = null; +public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_izca.keymon.lat.starter _starter = null; +public reparto_izca.keymon.lat.tracker _tracker = null; +public reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public String _base_resize(reparto_izca.keymon.lat.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=57868288; + //BA.debugLineNum = 57868288;BA.debugLine="Private Sub Base_Resize (Width1 As Double, Height1"; +RDebugUtils.currentLine=57868290; + //BA.debugLineNum = 57868290;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(reparto_izca.keymon.lat.b4xswitch __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xswitch"; +RDebugUtils.currentLine=57212928; + //BA.debugLineNum = 57212928;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=57212929; + //BA.debugLineNum = 57212929;BA.debugLine="Private mEventName As String 'ignore"; +_meventname = ""; +RDebugUtils.currentLine=57212930; + //BA.debugLineNum = 57212930;BA.debugLine="Private mCallBack As Object 'ignore"; +_mcallback = new Object(); +RDebugUtils.currentLine=57212931; + //BA.debugLineNum = 57212931;BA.debugLine="Public mBase As B4XView 'ignore"; +_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=57212932; + //BA.debugLineNum = 57212932;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=57212933; + //BA.debugLineNum = 57212933;BA.debugLine="Private OnColor, OffColor As BCBrush"; +_oncolor = new b4a.example.bcpath._bcbrush(); +_offcolor = new b4a.example.bcpath._bcbrush(); +RDebugUtils.currentLine=57212934; + //BA.debugLineNum = 57212934;BA.debugLine="Private bc As BitmapCreator"; +_bc = new b4a.example.bitmapcreator(); +RDebugUtils.currentLine=57212935; + //BA.debugLineNum = 57212935;BA.debugLine="Private Width As Int = 55dip"; +_width = __c.DipToCurrent((int) (55)); +RDebugUtils.currentLine=57212936; + //BA.debugLineNum = 57212936;BA.debugLine="Private Height As Int = 31dip"; +_height = __c.DipToCurrent((int) (31)); +RDebugUtils.currentLine=57212937; + //BA.debugLineNum = 57212937;BA.debugLine="Private ThumbColor As BCBrush"; +_thumbcolor = new b4a.example.bcpath._bcbrush(); +RDebugUtils.currentLine=57212938; + //BA.debugLineNum = 57212938;BA.debugLine="Private iv As ImageView"; +_iv = new anywheresoftware.b4a.objects.ImageViewWrapper(); +RDebugUtils.currentLine=57212939; + //BA.debugLineNum = 57212939;BA.debugLine="Private mValue As Boolean"; +_mvalue = false; +RDebugUtils.currentLine=57212940; + //BA.debugLineNum = 57212940;BA.debugLine="Private transparent As BCBrush"; +_transparent = new b4a.example.bcpath._bcbrush(); +RDebugUtils.currentLine=57212941; + //BA.debugLineNum = 57212941;BA.debugLine="Private LoopIndex As Int"; +_loopindex = 0; +RDebugUtils.currentLine=57212942; + //BA.debugLineNum = 57212942;BA.debugLine="Public Tag As Object"; +_tag = new Object(); +RDebugUtils.currentLine=57212943; + //BA.debugLineNum = 57212943;BA.debugLine="Private Scale As Float"; +_scale = 0f; +RDebugUtils.currentLine=57212944; + //BA.debugLineNum = 57212944;BA.debugLine="Private mEnabled As Boolean = True"; +_menabled = __c.True; +RDebugUtils.currentLine=57212945; + //BA.debugLineNum = 57212945;BA.debugLine="Public mHaptic As Boolean"; +_mhaptic = false; +RDebugUtils.currentLine=57212946; + //BA.debugLineNum = 57212946;BA.debugLine="End Sub"; +return ""; +} +public String _designercreateview(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=57344000; + //BA.debugLineNum = 57344000;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; +RDebugUtils.currentLine=57344001; + //BA.debugLineNum = 57344001;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=57344002; + //BA.debugLineNum = 57344002;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._tag /*Object*/ = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTag(); +RDebugUtils.currentLine=57344002; + //BA.debugLineNum = 57344002;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag(this); +RDebugUtils.currentLine=57344003; + //BA.debugLineNum = 57344003;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=57344004; + //BA.debugLineNum = 57344004;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=57344005; + //BA.debugLineNum = 57344005;BA.debugLine="Dim pnl As B4XView = xui.CreatePanel(\"pnl\")"; +_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_pnl = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,"pnl"); +RDebugUtils.currentLine=57344006; + //BA.debugLineNum = 57344006;BA.debugLine="pnl.Color = xui.Color_Transparent"; +_pnl.setColor(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Transparent); +RDebugUtils.currentLine=57344007; + //BA.debugLineNum = 57344007;BA.debugLine="iv.Initialize(\"\")"; +__ref._iv /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .Initialize(ba,""); +RDebugUtils.currentLine=57344008; + //BA.debugLineNum = 57344008;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=57344009; + //BA.debugLineNum = 57344009;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=57344011; + //BA.debugLineNum = 57344011;BA.debugLine="bc.Initialize(Width, Height)"; +__ref._bc /*b4a.example.bitmapcreator*/ ._initialize(ba,__ref._width /*int*/ ,__ref._height /*int*/ ); +RDebugUtils.currentLine=57344012; + //BA.debugLineNum = 57344012;BA.debugLine="Scale = xui.Scale"; +__ref._scale /*float*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getScale(); +RDebugUtils.currentLine=57344017; + //BA.debugLineNum = 57344017;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=57344018; + //BA.debugLineNum = 57344018;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=57344019; + //BA.debugLineNum = 57344019;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=57344020; + //BA.debugLineNum = 57344020;BA.debugLine="mHaptic = Props.GetDefault(\"HapticFeedback\", Fals"; +__ref._mhaptic /*boolean*/ = BA.ObjectToBoolean(_props.GetDefault((Object)("HapticFeedback"),(Object)(__c.False))); +RDebugUtils.currentLine=57344021; + //BA.debugLineNum = 57344021;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=57344022; + //BA.debugLineNum = 57344022;BA.debugLine="mEnabled = mBase.Enabled"; +__ref._menabled /*boolean*/ = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getEnabled(); +RDebugUtils.currentLine=57344023; + //BA.debugLineNum = 57344023;BA.debugLine="mBase.Enabled = True"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setEnabled(__c.True); +RDebugUtils.currentLine=57344024; + //BA.debugLineNum = 57344024;BA.debugLine="SetValueImpl(Props.Get(\"Value\"), True)"; +__ref._setvalueimpl /*void*/ (null,BA.ObjectToBoolean(_props.Get((Object)("Value"))),__c.True); +RDebugUtils.currentLine=57344025; + //BA.debugLineNum = 57344025;BA.debugLine="End Sub"; +return ""; +} +public void _setvalueimpl(reparto_izca.keymon.lat.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(reparto_izca.keymon.lat.b4xswitch parent,reparto_izca.keymon.lat.b4xswitch __ref,boolean _b,boolean _immediate) { +this.parent = parent; +this.__ref = __ref; +this._b = _b; +this._immediate = _immediate; +this.__ref = parent; +} +reparto_izca.keymon.lat.b4xswitch __ref; +reparto_izca.keymon.lat.b4xswitch parent; +boolean _b; +boolean _immediate; +int _myindex = 0; +long _start = 0L; +int _duration = 0; +float _state1 = 0f; + +@Override +public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="b4xswitch"; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +RDebugUtils.currentLine=57475073; + //BA.debugLineNum = 57475073;BA.debugLine="mValue = b"; +__ref._mvalue /*boolean*/ = _b; +RDebugUtils.currentLine=57475074; + //BA.debugLineNum = 57475074;BA.debugLine="LoopIndex = LoopIndex + 1"; +__ref._loopindex /*int*/ = (int) (__ref._loopindex /*int*/ +1); +RDebugUtils.currentLine=57475075; + //BA.debugLineNum = 57475075;BA.debugLine="If Immediate Then"; +if (true) break; + +case 1: +//if +this.state = 41; +if (_immediate) { +this.state = 3; +}else { +this.state = 13; +}if (true) break; + +case 3: +//C +this.state = 4; +RDebugUtils.currentLine=57475076; + //BA.debugLineNum = 57475076;BA.debugLine="If mValue Then Draw(1) Else Draw(0)"; +if (true) break; + +case 4: +//if +this.state = 11; +if (__ref._mvalue /*boolean*/ ) { +this.state = 6; +;} +else { +this.state = 8; +;}if (true) break; + +case 6: +//C +this.state = 11; +__ref._draw /*String*/ (null,(float) (1)); +if (true) break; + +case 8: +//C +this.state = 11; +__ref._draw /*String*/ (null,(float) (0)); +if (true) break; + +case 11: +//C +this.state = 41; +; + if (true) break; + +case 13: +//C +this.state = 14; +RDebugUtils.currentLine=57475078; + //BA.debugLineNum = 57475078;BA.debugLine="Dim MyIndex As Int = LoopIndex"; +_myindex = __ref._loopindex /*int*/ ; +RDebugUtils.currentLine=57475079; + //BA.debugLineNum = 57475079;BA.debugLine="Dim start As Long = DateTime.Now"; +_start = parent.__c.DateTime.getNow(); +RDebugUtils.currentLine=57475080; + //BA.debugLineNum = 57475080;BA.debugLine="Dim duration As Int = 200"; +_duration = (int) (200); +RDebugUtils.currentLine=57475081; + //BA.debugLineNum = 57475081;BA.debugLine="Do While DateTime.Now < start + duration"; +if (true) break; + +case 14: +//do while +this.state = 29; +while (parent.__c.DateTime.getNow()<_start+_duration) { +this.state = 16; +if (true) break; +} +if (true) break; + +case 16: +//C +this.state = 17; +RDebugUtils.currentLine=57475082; + //BA.debugLineNum = 57475082;BA.debugLine="Dim state1 As Float = (DateTime.Now - start) /"; +_state1 = (float) ((parent.__c.DateTime.getNow()-_start)/(double)_duration); +RDebugUtils.currentLine=57475083; + //BA.debugLineNum = 57475083;BA.debugLine="If mValue = False Then state1 = 1 - state1"; +if (true) break; + +case 17: +//if +this.state = 22; +if (__ref._mvalue /*boolean*/ ==parent.__c.False) { +this.state = 19; +;}if (true) break; + +case 19: +//C +this.state = 22; +_state1 = (float) (1-_state1); +if (true) break; + +case 22: +//C +this.state = 23; +; +RDebugUtils.currentLine=57475084; + //BA.debugLineNum = 57475084;BA.debugLine="Draw(state1)"; +__ref._draw /*String*/ (null,_state1); +RDebugUtils.currentLine=57475085; + //BA.debugLineNum = 57475085;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; +; +RDebugUtils.currentLine=57475086; + //BA.debugLineNum = 57475086;BA.debugLine="If MyIndex <> LoopIndex Then Exit"; +if (true) break; + +case 23: +//if +this.state = 28; +if (_myindex!=__ref._loopindex /*int*/ ) { +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; +; +RDebugUtils.currentLine=57475088; + //BA.debugLineNum = 57475088;BA.debugLine="If MyIndex = LoopIndex Then"; + +case 29: +//if +this.state = 40; +if (_myindex==__ref._loopindex /*int*/ ) { +this.state = 31; +}if (true) break; + +case 31: +//C +this.state = 32; +RDebugUtils.currentLine=57475089; + //BA.debugLineNum = 57475089;BA.debugLine="If mValue Then Draw(1) Else Draw(0)"; +if (true) break; + +case 32: +//if +this.state = 39; +if (__ref._mvalue /*boolean*/ ) { +this.state = 34; +;} +else { +this.state = 36; +;}if (true) break; + +case 34: +//C +this.state = 39; +__ref._draw /*String*/ (null,(float) (1)); +if (true) break; + +case 36: +//C +this.state = 39; +__ref._draw /*String*/ (null,(float) (0)); +if (true) break; + +case 39: +//C +this.state = 40; +; + if (true) break; + +case 40: +//C +this.state = 41; +; + if (true) break; +; +RDebugUtils.currentLine=57475092; + //BA.debugLineNum = 57475092;BA.debugLine="If mEnabled Then"; + +case 41: +//if +this.state = 46; +if (__ref._menabled /*boolean*/ ) { +this.state = 43; +}else { +this.state = 45; +}if (true) break; + +case 43: +//C +this.state = 46; +RDebugUtils.currentLine=57475093; + //BA.debugLineNum = 57475093;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; +RDebugUtils.currentLine=57475095; + //BA.debugLineNum = 57475095;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; +; +RDebugUtils.currentLine=57475097; + //BA.debugLineNum = 57475097;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public String _draw(reparto_izca.keymon.lat.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=57802752; + //BA.debugLineNum = 57802752;BA.debugLine="Private Sub Draw (State As Float)"; +RDebugUtils.currentLine=57802753; + //BA.debugLineNum = 57802753;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=57802754; + //BA.debugLineNum = 57802754;BA.debugLine="Dim r As Float = Round(bc.mHeight / 2)"; +_r = (float) (__c.Round(__ref._bc /*b4a.example.bitmapcreator*/ ._mheight/(double)2)); +RDebugUtils.currentLine=57802755; + //BA.debugLineNum = 57802755;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=57802756; + //BA.debugLineNum = 57802756;BA.debugLine="If State = 0 Then"; +if (_state==0) { +RDebugUtils.currentLine=57802757; + //BA.debugLineNum = 57802757;BA.debugLine="cx = r"; +_cx = _r; + }else +{RDebugUtils.currentLine=57802758; + //BA.debugLineNum = 57802758;BA.debugLine="Else If State = 1 Then"; +if (_state==1) { +RDebugUtils.currentLine=57802759; + //BA.debugLineNum = 57802759;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=57802761; + //BA.debugLineNum = 57802761;BA.debugLine="Dim cy As Int = bc.mHeight / 2"; +_cy = (int) (__ref._bc /*b4a.example.bitmapcreator*/ ._mheight/(double)2); +RDebugUtils.currentLine=57802762; + //BA.debugLineNum = 57802762;BA.debugLine="Dim smallrect As B4XRect"; +_smallrect = new anywheresoftware.b4a.objects.B4XCanvas.B4XRect(); +RDebugUtils.currentLine=57802763; + //BA.debugLineNum = 57802763;BA.debugLine="Dim w As Float = State * bc.mWidth"; +_w = (float) (_state*__ref._bc /*b4a.example.bitmapcreator*/ ._mwidth); +RDebugUtils.currentLine=57802764; + //BA.debugLineNum = 57802764;BA.debugLine="Dim h As Float = State * bc.mHeight"; +_h = (float) (_state*__ref._bc /*b4a.example.bitmapcreator*/ ._mheight); +RDebugUtils.currentLine=57802765; + //BA.debugLineNum = 57802765;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=57802766; + //BA.debugLineNum = 57802766;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=57802767; + //BA.debugLineNum = 57802767;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=57802768; + //BA.debugLineNum = 57802768;BA.debugLine="If mEnabled Then"; +if (__ref._menabled /*boolean*/ ) { +RDebugUtils.currentLine=57802769; + //BA.debugLineNum = 57802769;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=57802771; + //BA.debugLineNum = 57802771;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=57802772; + //BA.debugLineNum = 57802772;BA.debugLine="End Sub"; +return ""; +} +public boolean _getenabled(reparto_izca.keymon.lat.b4xswitch __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xswitch"; +if (Debug.shouldDelegate(ba, "getenabled", true)) + {return ((Boolean) Debug.delegate(ba, "getenabled", null));} +RDebugUtils.currentLine=57737216; + //BA.debugLineNum = 57737216;BA.debugLine="Public Sub getEnabled As Boolean"; +RDebugUtils.currentLine=57737217; + //BA.debugLineNum = 57737217;BA.debugLine="Return mEnabled"; +if (true) return __ref._menabled /*boolean*/ ; +RDebugUtils.currentLine=57737218; + //BA.debugLineNum = 57737218;BA.debugLine="End Sub"; +return false; +} +public boolean _getvalue(reparto_izca.keymon.lat.b4xswitch __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xswitch"; +if (Debug.shouldDelegate(ba, "getvalue", true)) + {return ((Boolean) Debug.delegate(ba, "getvalue", null));} +RDebugUtils.currentLine=57606144; + //BA.debugLineNum = 57606144;BA.debugLine="Public Sub getValue As Boolean"; +RDebugUtils.currentLine=57606145; + //BA.debugLineNum = 57606145;BA.debugLine="Return mValue"; +if (true) return __ref._mvalue /*boolean*/ ; +RDebugUtils.currentLine=57606146; + //BA.debugLineNum = 57606146;BA.debugLine="End Sub"; +return false; +} +public String _initialize(reparto_izca.keymon.lat.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=57278464; + //BA.debugLineNum = 57278464;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +RDebugUtils.currentLine=57278465; + //BA.debugLineNum = 57278465;BA.debugLine="mEventName = EventName"; +__ref._meventname /*String*/ = _eventname; +RDebugUtils.currentLine=57278466; + //BA.debugLineNum = 57278466;BA.debugLine="mCallBack = Callback"; +__ref._mcallback /*Object*/ = _callback; +RDebugUtils.currentLine=57278467; + //BA.debugLineNum = 57278467;BA.debugLine="End Sub"; +return ""; +} +public String _pnl_click(reparto_izca.keymon.lat.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=57409536; + //BA.debugLineNum = 57409536;BA.debugLine="Private Sub pnl_Click"; +RDebugUtils.currentLine=57409538; + //BA.debugLineNum = 57409538;BA.debugLine="If mEnabled Then"; +if (__ref._menabled /*boolean*/ ) { +RDebugUtils.currentLine=57409539; + //BA.debugLineNum = 57409539;BA.debugLine="If mHaptic Then XUIViewsUtils.PerformHapticFeedb"; +if (__ref._mhaptic /*boolean*/ ) { +_xuiviewsutils._performhapticfeedback /*String*/ (ba,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ );}; +RDebugUtils.currentLine=57409540; + //BA.debugLineNum = 57409540;BA.debugLine="SetValueImpl(Not(mValue), False)"; +__ref._setvalueimpl /*void*/ (null,__c.Not(__ref._mvalue /*boolean*/ ),__c.False); +RDebugUtils.currentLine=57409541; + //BA.debugLineNum = 57409541;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=57409542; + //BA.debugLineNum = 57409542;BA.debugLine="CallSubDelayed2(mCallBack, mEventName & \"_Value"; +__c.CallSubDelayed2(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_ValueChanged",(Object)(__ref._mvalue /*boolean*/ )); + }; + }; +RDebugUtils.currentLine=57409545; + //BA.debugLineNum = 57409545;BA.debugLine="End Sub"; +return ""; +} +public String _setenabled(reparto_izca.keymon.lat.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=57671680; + //BA.debugLineNum = 57671680;BA.debugLine="Public Sub setEnabled (b As Boolean)"; +RDebugUtils.currentLine=57671681; + //BA.debugLineNum = 57671681;BA.debugLine="mEnabled = b"; +__ref._menabled /*boolean*/ = _b; +RDebugUtils.currentLine=57671682; + //BA.debugLineNum = 57671682;BA.debugLine="SetValueImpl(mValue, True)"; +__ref._setvalueimpl /*void*/ (null,__ref._mvalue /*boolean*/ ,__c.True); +RDebugUtils.currentLine=57671683; + //BA.debugLineNum = 57671683;BA.debugLine="End Sub"; +return ""; +} +public String _setvalue(reparto_izca.keymon.lat.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=57540608; + //BA.debugLineNum = 57540608;BA.debugLine="Public Sub setValue(b As Boolean)"; +RDebugUtils.currentLine=57540609; + //BA.debugLineNum = 57540609;BA.debugLine="If b = mValue Then Return"; +if (_b==__ref._mvalue /*boolean*/ ) { +if (true) return "";}; +RDebugUtils.currentLine=57540610; + //BA.debugLineNum = 57540610;BA.debugLine="SetValueImpl(b, False)"; +__ref._setvalueimpl /*void*/ (null,_b,__c.False); +RDebugUtils.currentLine=57540611; + //BA.debugLineNum = 57540611;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/b4xtimedtemplate.java b/B4A/Objects/src/reparto_izca/keymon/lat/b4xtimedtemplate.java new file mode 100644 index 0000000..8367df3 --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/b4xtimedtemplate.java @@ -0,0 +1,244 @@ +package reparto_izca.keymon.lat; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.B4AClass; +import anywheresoftware.b4a.BALayout; +import anywheresoftware.b4a.debug.*; + +public class b4xtimedtemplate 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, "reparto_izca.keymon.lat.b4xtimedtemplate"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", reparto_izca.keymon.lat.b4xtimedtemplate.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.XUI _xui = null; +public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; +public reparto_izca.keymon.lat.anotherprogressbar _anotherprogressbar1 = null; +public Object _mtemplate = null; +public int _timeoutmilliseconds = 0; +public int _index = 0; +public b4a.example.dateutils _dateutils = null; +public reparto_izca.keymon.lat.main _main = null; +public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; +public reparto_izca.keymon.lat.foto _foto = null; +public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_izca.keymon.lat.starter _starter = null; +public reparto_izca.keymon.lat.tracker _tracker = null; +public reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public anywheresoftware.b4a.objects.B4XViewWrapper _getpanel(reparto_izca.keymon.lat.b4xtimedtemplate __ref,reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=58064896; + //BA.debugLineNum = 58064896;BA.debugLine="Public Sub GetPanel (Dialog As B4XDialog) As B4XVi"; +RDebugUtils.currentLine=58064897; + //BA.debugLineNum = 58064897;BA.debugLine="If mBase.NumberOfViews = 0 Then"; +if (__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getNumberOfViews()==0) { +RDebugUtils.currentLine=58064898; + //BA.debugLineNum = 58064898;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.CallSubDebug2(ba,__ref._mtemplate /*Object*/ ,"GetPanel",(Object)(_dialog)))); +RDebugUtils.currentLine=58064899; + //BA.debugLineNum = 58064899;BA.debugLine="If InnerPanel.Parent.IsInitialized Then InnerPan"; +if (_innerpanel.getParent().IsInitialized()) { +_innerpanel.RemoveViewFromParent();}; +RDebugUtils.currentLine=58064900; + //BA.debugLineNum = 58064900;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=58064901; + //BA.debugLineNum = 58064901;BA.debugLine="mBase.LoadLayout(\"TimedDialogTemplate\")"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("TimedDialogTemplate",ba); +RDebugUtils.currentLine=58064902; + //BA.debugLineNum = 58064902;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=58064903; + //BA.debugLineNum = 58064903;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()); + }; +RDebugUtils.currentLine=58064905; + //BA.debugLineNum = 58064905;BA.debugLine="Return mBase"; +if (true) return __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ; +RDebugUtils.currentLine=58064906; + //BA.debugLineNum = 58064906;BA.debugLine="End Sub"; +return null; +} +public void _show(reparto_izca.keymon.lat.b4xtimedtemplate __ref,reparto_izca.keymon.lat.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(reparto_izca.keymon.lat.b4xtimedtemplate parent,reparto_izca.keymon.lat.b4xtimedtemplate __ref,reparto_izca.keymon.lat.b4xdialog _dialog) { +this.parent = parent; +this.__ref = __ref; +this._dialog = _dialog; +this.__ref = parent; +} +reparto_izca.keymon.lat.b4xtimedtemplate __ref; +reparto_izca.keymon.lat.b4xtimedtemplate parent; +reparto_izca.keymon.lat.b4xdialog _dialog; +int _myindex = 0; + +@Override +public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="b4xtimedtemplate"; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +RDebugUtils.currentLine=58130433; + //BA.debugLineNum = 58130433;BA.debugLine="CallSub2(mTemplate, \"Show\", Dialog)"; +parent.__c.CallSubDebug2(ba,__ref._mtemplate /*Object*/ ,"Show",(Object)(_dialog)); +RDebugUtils.currentLine=58130434; + //BA.debugLineNum = 58130434;BA.debugLine="AnotherProgressBar1.SetValueNoAnimation(0)"; +__ref._anotherprogressbar1 /*reparto_izca.keymon.lat.anotherprogressbar*/ ._setvaluenoanimation /*String*/ (null,(int) (0)); +RDebugUtils.currentLine=58130435; + //BA.debugLineNum = 58130435;BA.debugLine="AnotherProgressBar1.ValueChangePerSecond = 100 /"; +__ref._anotherprogressbar1 /*reparto_izca.keymon.lat.anotherprogressbar*/ ._valuechangepersecond /*float*/ = (float) (100/(double)(__ref._timeoutmilliseconds /*int*/ /(double)1000)); +RDebugUtils.currentLine=58130436; + //BA.debugLineNum = 58130436;BA.debugLine="AnotherProgressBar1.Value = 100"; +__ref._anotherprogressbar1 /*reparto_izca.keymon.lat.anotherprogressbar*/ ._setvalue /*int*/ (null,(int) (100)); +RDebugUtils.currentLine=58130437; + //BA.debugLineNum = 58130437;BA.debugLine="Index = Index + 1"; +__ref._index /*int*/ = (int) (__ref._index /*int*/ +1); +RDebugUtils.currentLine=58130438; + //BA.debugLineNum = 58130438;BA.debugLine="Dim MyIndex As Int = Index"; +_myindex = __ref._index /*int*/ ; +RDebugUtils.currentLine=58130439; + //BA.debugLineNum = 58130439;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; +; +RDebugUtils.currentLine=58130440; + //BA.debugLineNum = 58130440;BA.debugLine="If MyIndex = Index Then"; +if (true) break; + +case 1: +//if +this.state = 4; +if (_myindex==__ref._index /*int*/ ) { +this.state = 3; +}if (true) break; + +case 3: +//C +this.state = 4; +RDebugUtils.currentLine=58130441; + //BA.debugLineNum = 58130441;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; +; +RDebugUtils.currentLine=58130443; + //BA.debugLineNum = 58130443;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public String _dialogclosed(reparto_izca.keymon.lat.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=58195968; + //BA.debugLineNum = 58195968;BA.debugLine="Private Sub DialogClosed(Result As Int)"; +RDebugUtils.currentLine=58195969; + //BA.debugLineNum = 58195969;BA.debugLine="Index = Index + 1"; +__ref._index /*int*/ = (int) (__ref._index /*int*/ +1); +RDebugUtils.currentLine=58195970; + //BA.debugLineNum = 58195970;BA.debugLine="CallSub2(mTemplate, \"DialogClosed\", Result)"; +__c.CallSubDebug2(ba,__ref._mtemplate /*Object*/ ,"DialogClosed",(Object)(_result)); +RDebugUtils.currentLine=58195971; + //BA.debugLineNum = 58195971;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(reparto_izca.keymon.lat.b4xtimedtemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xtimedtemplate"; +RDebugUtils.currentLine=57933824; + //BA.debugLineNum = 57933824;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=57933825; + //BA.debugLineNum = 57933825;BA.debugLine="Private xui As XUI"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=57933826; + //BA.debugLineNum = 57933826;BA.debugLine="Public mBase As B4XView"; +_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=57933827; + //BA.debugLineNum = 57933827;BA.debugLine="Private AnotherProgressBar1 As AnotherProgressBar"; +_anotherprogressbar1 = new reparto_izca.keymon.lat.anotherprogressbar(); +RDebugUtils.currentLine=57933828; + //BA.debugLineNum = 57933828;BA.debugLine="Private mTemplate As Object"; +_mtemplate = new Object(); +RDebugUtils.currentLine=57933829; + //BA.debugLineNum = 57933829;BA.debugLine="Public TimeoutMilliseconds As Int = 10000"; +_timeoutmilliseconds = (int) (10000); +RDebugUtils.currentLine=57933830; + //BA.debugLineNum = 57933830;BA.debugLine="Private Index As Int"; +_index = 0; +RDebugUtils.currentLine=57933831; + //BA.debugLineNum = 57933831;BA.debugLine="End Sub"; +return ""; +} +public String _initialize(reparto_izca.keymon.lat.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=57999360; + //BA.debugLineNum = 57999360;BA.debugLine="Public Sub Initialize (InnerTemplate As Object)"; +RDebugUtils.currentLine=57999361; + //BA.debugLineNum = 57999361;BA.debugLine="mBase = xui.CreatePanel(\"mBase\")"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,"mBase"); +RDebugUtils.currentLine=57999362; + //BA.debugLineNum = 57999362;BA.debugLine="mTemplate = InnerTemplate"; +__ref._mtemplate /*Object*/ = _innertemplate; +RDebugUtils.currentLine=57999364; + //BA.debugLineNum = 57999364;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/batteryutilities.java b/B4A/Objects/src/reparto_izca/keymon/lat/batteryutilities.java new file mode 100644 index 0000000..8372bcb --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/batteryutilities.java @@ -0,0 +1,198 @@ +package reparto_izca.keymon.lat; + +import android.os.BatteryManager; +import android.os.Bundle; +import android.app.Activity; +import android.content.BroadcastReceiver; +import android.content.Context; +import android.content.Intent; +import android.content.IntentFilter; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.B4AClass; +import anywheresoftware.b4a.BALayout; +import anywheresoftware.b4a.debug.*; + +public class batteryutilities 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, "reparto_izca.keymon.lat.batteryutilities"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", reparto_izca.keymon.lat.batteryutilities.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.b4j.object.JavaObject _nativeme = null; +public b4a.example.dateutils _dateutils = null; +public reparto_izca.keymon.lat.main _main = null; +public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; +public reparto_izca.keymon.lat.foto _foto = null; +public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_izca.keymon.lat.starter _starter = null; +public reparto_izca.keymon.lat.tracker _tracker = null; +public reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public String _class_globals(reparto_izca.keymon.lat.batteryutilities __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="batteryutilities"; +RDebugUtils.currentLine=3276800; + //BA.debugLineNum = 3276800;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=3276801; + //BA.debugLineNum = 3276801;BA.debugLine="Private nativeMe As JavaObject"; +_nativeme = new anywheresoftware.b4j.object.JavaObject(); +RDebugUtils.currentLine=3276802; + //BA.debugLineNum = 3276802;BA.debugLine="End Sub"; +return ""; +} +public int[] _getbatteryinformation(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=3407872; + //BA.debugLineNum = 3407872;BA.debugLine="Public Sub getBatteryInformation () As Int()"; +RDebugUtils.currentLine=3407874; + //BA.debugLineNum = 3407874;BA.debugLine="Dim batteryInfo(11) As Int"; +_batteryinfo = new int[(int) (11)]; +; +RDebugUtils.currentLine=3407875; + //BA.debugLineNum = 3407875;BA.debugLine="batteryInfo = nativeMe.RunMethod(\"getBatteryInfor"; +_batteryinfo = (int[])(__ref._nativeme /*anywheresoftware.b4j.object.JavaObject*/ .RunMethod("getBatteryInformation",(Object[])(__c.Null))); +RDebugUtils.currentLine=3407876; + //BA.debugLineNum = 3407876;BA.debugLine="Return batteryInfo"; +if (true) return _batteryinfo; +RDebugUtils.currentLine=3407877; + //BA.debugLineNum = 3407877;BA.debugLine="End Sub"; +return null; +} +public String _getbatterytechnolgy(reparto_izca.keymon.lat.batteryutilities __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="batteryutilities"; +if (Debug.shouldDelegate(ba, "getbatterytechnolgy", false)) + {return ((String) Debug.delegate(ba, "getbatterytechnolgy", null));} +String _batterytech = ""; +RDebugUtils.currentLine=3473408; + //BA.debugLineNum = 3473408;BA.debugLine="Public Sub getBatteryTechnolgy() As String"; +RDebugUtils.currentLine=3473410; + //BA.debugLineNum = 3473410;BA.debugLine="Dim batterytech As String"; +_batterytech = ""; +RDebugUtils.currentLine=3473411; + //BA.debugLineNum = 3473411;BA.debugLine="batterytech = nativeMe.RunMethod(\"getBatteryTechn"; +_batterytech = BA.ObjectToString(__ref._nativeme /*anywheresoftware.b4j.object.JavaObject*/ .RunMethod("getBatteryTechnology",(Object[])(__c.Null))); +RDebugUtils.currentLine=3473412; + //BA.debugLineNum = 3473412;BA.debugLine="Return batterytech"; +if (true) return _batterytech; +RDebugUtils.currentLine=3473414; + //BA.debugLineNum = 3473414;BA.debugLine="End Sub"; +return ""; +} +public String _initialize(reparto_izca.keymon.lat.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=3342336; + //BA.debugLineNum = 3342336;BA.debugLine="Public Sub Initialize"; +RDebugUtils.currentLine=3342337; + //BA.debugLineNum = 3342337;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=3342338; + //BA.debugLineNum = 3342338;BA.debugLine="End Sub"; +return ""; +} + + + public int[] getBatteryInformation() { + + int[] mybat = new int[11]; + + Intent batteryIntent = ba.context.getApplicationContext().registerReceiver(null, new IntentFilter(Intent.ACTION_BATTERY_CHANGED)); + + int level = batteryIntent.getIntExtra(BatteryManager.EXTRA_LEVEL, -1); + mybat[0] = level; + int scale = batteryIntent.getIntExtra(BatteryManager.EXTRA_SCALE, -1); + mybat[1] = scale; + int health = batteryIntent.getIntExtra(BatteryManager.EXTRA_HEALTH,-1); + mybat[2] = health; + int icon_small = batteryIntent.getIntExtra(BatteryManager.EXTRA_ICON_SMALL,-1); + mybat[3] = icon_small; + int plugged = batteryIntent.getIntExtra(BatteryManager.EXTRA_PLUGGED,-1); + mybat[4] = plugged; +// boolean present = batteryIntent.getExtras().getBoolean(BatteryManager.EXTRA_PRESENT); + int status = batteryIntent.getIntExtra(BatteryManager.EXTRA_STATUS,-1); + mybat[5] = status; +// String technology = batteryIntent.getExtras().getString(BatteryManager.EXTRA_TECHNOLOGY); +// BA.Log("Technology = " + technology); + int temperature = batteryIntent.getIntExtra(BatteryManager.EXTRA_TEMPERATURE,-1); + mybat[6] = temperature; + int voltage = batteryIntent.getIntExtra(BatteryManager.EXTRA_VOLTAGE,-1); + mybat[7] = voltage; +// int ac = batteryIntent.getIntExtra("plugged",BatteryManager.BATTERY_PLUGGED_AC); +// mybat[8] = ac; +// int usb = batteryIntent.getIntExtra("plugged",BatteryManager.BATTERY_PLUGGED_USB); +// mybat[9] = usb; + + boolean isCharging = status == BatteryManager.BATTERY_STATUS_CHARGING || + status == BatteryManager.BATTERY_STATUS_FULL; + mybat[8] = 0; + if (isCharging == true) { + mybat[8] = 1; + } + + // How are we charging? + mybat[9] = 0; + mybat[10] = 0; + int chargePlug = batteryIntent.getIntExtra(BatteryManager.EXTRA_PLUGGED, -1); + boolean usbCharge = chargePlug == BatteryManager.BATTERY_PLUGGED_USB; + if (usbCharge == true) { + mybat[9] = 2; + } + + boolean acCharge = chargePlug == BatteryManager.BATTERY_PLUGGED_AC; + if (acCharge == true) { + mybat[10] = 1; + } + + return mybat; + } + + + public String getBatteryTechnology() { + + Intent batteryIntent = ba.context.getApplicationContext().registerReceiver(null, new IntentFilter(Intent.ACTION_BATTERY_CHANGED)); + + String technology = batteryIntent.getExtras().getString(BatteryManager.EXTRA_TECHNOLOGY); + + return technology; + } + + + + + + + +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/c_buscar.java b/B4A/Objects/src/reparto_izca/keymon/lat/c_buscar.java new file mode 100644 index 0000000..a54fe0d --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/c_buscar.java @@ -0,0 +1,384 @@ +package reparto_izca.keymon.lat; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.B4AClass; +import anywheresoftware.b4a.BALayout; +import anywheresoftware.b4a.debug.*; + +public class c_buscar 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, "reparto_izca.keymon.lat.c_buscar"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", reparto_izca.keymon.lat.c_buscar.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.sql.SQL.CursorWrapper _c = null; +public anywheresoftware.b4a.objects.ListViewWrapper _listview1 = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_noventa = null; +public anywheresoftware.b4a.objects.PanelWrapper _p_principal = null; +public b4a.example.dateutils _dateutils = null; +public reparto_izca.keymon.lat.main _main = null; +public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; +public reparto_izca.keymon.lat.foto _foto = null; +public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_izca.keymon.lat.starter _starter = null; +public reparto_izca.keymon.lat.tracker _tracker = null; +public reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public Object _initialize(reparto_izca.keymon.lat.c_buscar __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="c_buscar"; +if (Debug.shouldDelegate(ba, "initialize", false)) + {return ((Object) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=3604480; + //BA.debugLineNum = 3604480;BA.debugLine="Public Sub Initialize As Object"; +RDebugUtils.currentLine=3604481; + //BA.debugLineNum = 3604481;BA.debugLine="Return Me"; +if (true) return this; +RDebugUtils.currentLine=3604482; + //BA.debugLineNum = 3604482;BA.debugLine="End Sub"; +return null; +} +public String _b_noventa_click(reparto_izca.keymon.lat.c_buscar __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_buscar"; +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; +RDebugUtils.currentLine=3997696; + //BA.debugLineNum = 3997696;BA.debugLine="Sub b_noventa_Click"; +RDebugUtils.currentLine=3997697; + //BA.debugLineNum = 3997697;BA.debugLine="c=Starter.skmt.ExecQuery(\"select NV_CLIENTE,NV_MO"; +__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 NV_CLIENTE,NV_MOTIVO,NV_COMM FROM NOVENTA ORDER BY NV_CLIENTE asc"))); +RDebugUtils.currentLine=3997698; + //BA.debugLineNum = 3997698;BA.debugLine="ListView1.Clear"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=3997700; + //BA.debugLineNum = 3997700;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=3997701; + //BA.debugLineNum = 3997701;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=3997702; + //BA.debugLineNum = 3997702;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=3997703; + //BA.debugLineNum = 3997703;BA.debugLine="Dim label1 As Label"; +_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=3997704; + //BA.debugLineNum = 3997704;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; +_label1 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().Label; +RDebugUtils.currentLine=3997705; + //BA.debugLineNum = 3997705;BA.debugLine="label1.TextSize = 10"; +_label1.setTextSize((float) (10)); +RDebugUtils.currentLine=3997706; + //BA.debugLineNum = 3997706;BA.debugLine="label1.TextColor = Colors.Black"; +_label1.setTextColor(__c.Colors.Black); +RDebugUtils.currentLine=3997707; + //BA.debugLineNum = 3997707;BA.debugLine="Dim label2 As Label"; +_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=3997708; + //BA.debugLineNum = 3997708;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; +_label2 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().SecondLabel; +RDebugUtils.currentLine=3997709; + //BA.debugLineNum = 3997709;BA.debugLine="label2.TextSize = 10"; +_label2.setTextSize((float) (10)); +RDebugUtils.currentLine=3997710; + //BA.debugLineNum = 3997710;BA.debugLine="label2.TextColor = Colors.Blue"; +_label2.setTextColor(__c.Colors.Blue); +RDebugUtils.currentLine=3997711; + //BA.debugLineNum = 3997711;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("Motivo #"+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("NV_MOTIVO")+" Comentario $"+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("NV_COMM"))); + } +}; + }; +RDebugUtils.currentLine=3997714; + //BA.debugLineNum = 3997714;BA.debugLine="End Sub"; +return ""; +} +public String _b4xpage_appear(reparto_izca.keymon.lat.c_buscar __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_buscar"; +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; +RDebugUtils.currentLine=3735552; + //BA.debugLineNum = 3735552;BA.debugLine="Sub B4XPage_Appear"; +RDebugUtils.currentLine=3735553; + //BA.debugLineNum = 3735553;BA.debugLine="p_principal.Width = Root.Width"; +__ref._p_principal /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=3735554; + //BA.debugLineNum = 3735554;BA.debugLine="p_principal.Height = Root.Height"; +__ref._p_principal /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=3735555; + //BA.debugLineNum = 3735555;BA.debugLine="Subs.centraPanel(p_principal, Root.Width)"; +_subs._centrapanel /*String*/ (ba,__ref._p_principal /*anywheresoftware.b4a.objects.PanelWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=3735557; + //BA.debugLineNum = 3735557;BA.debugLine="c=Starter.skmt.ExecQuery(\"select REP_CLIENTE, REP"; +__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 REP_CLIENTE, REP_PRONOMBRE, REP_CANT, REP_COSTO_TOT FROM REPARTO"))); +RDebugUtils.currentLine=3735558; + //BA.debugLineNum = 3735558;BA.debugLine="ListView1.Clear"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=3735560; + //BA.debugLineNum = 3735560;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=3735561; + //BA.debugLineNum = 3735561;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=3735562; + //BA.debugLineNum = 3735562;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=3735563; + //BA.debugLineNum = 3735563;BA.debugLine="Dim label1 As Label"; +_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=3735564; + //BA.debugLineNum = 3735564;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; +_label1 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().Label; +RDebugUtils.currentLine=3735565; + //BA.debugLineNum = 3735565;BA.debugLine="label1.TextSize = 10"; +_label1.setTextSize((float) (10)); +RDebugUtils.currentLine=3735566; + //BA.debugLineNum = 3735566;BA.debugLine="label1.TextColor = Colors.Black"; +_label1.setTextColor(__c.Colors.Black); +RDebugUtils.currentLine=3735567; + //BA.debugLineNum = 3735567;BA.debugLine="Dim label2 As Label"; +_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=3735568; + //BA.debugLineNum = 3735568;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; +_label2 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().SecondLabel; +RDebugUtils.currentLine=3735569; + //BA.debugLineNum = 3735569;BA.debugLine="label2.TextSize = 10"; +_label2.setTextSize((float) (10)); +RDebugUtils.currentLine=3735570; + //BA.debugLineNum = 3735570;BA.debugLine="label2.TextColor = Colors.Blue"; +_label2.setTextColor(__c.Colors.Blue); +RDebugUtils.currentLine=3735571; + //BA.debugLineNum = 3735571;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"REP_CLIENTE\""; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddTwoLines(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("REP_CLIENTE")),BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("REP_PRONOMBRE")+" Cantidad #"+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("REP_CANT")+" SubTotal $"+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("REP_COSTO_TOT"))); + } +}; + }; +RDebugUtils.currentLine=3735574; + //BA.debugLineNum = 3735574;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=3735575; + //BA.debugLineNum = 3735575;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _b4xpage_closerequest(reparto_izca.keymon.lat.c_buscar __ref) throws Exception{ +RDebugUtils.currentModule="c_buscar"; +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(reparto_izca.keymon.lat.c_buscar parent,reparto_izca.keymon.lat.c_buscar __ref) { +this.parent = parent; +this.__ref = __ref; +this.__ref = parent; +} +reparto_izca.keymon.lat.c_buscar __ref; +reparto_izca.keymon.lat.c_buscar parent; + +@Override +public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="c_buscar"; + + while (true) { + switch (state) { + case -1: +{ +parent.__c.ReturnFromResumableSub(this,null);return;} +case 0: +//C +this.state = -1; +RDebugUtils.currentLine=3866627; + //BA.debugLineNum = 3866627;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +parent._b4xpages._showpage /*String*/ (ba,"Principal"); +RDebugUtils.currentLine=3866630; + //BA.debugLineNum = 3866630;BA.debugLine="Return False"; +if (true) { +parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; +RDebugUtils.currentLine=3866631; + //BA.debugLineNum = 3866631;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public String _b4xpage_created(reparto_izca.keymon.lat.c_buscar __ref,anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_buscar"; +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=3670016; + //BA.debugLineNum = 3670016;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +RDebugUtils.currentLine=3670017; + //BA.debugLineNum = 3670017;BA.debugLine="Root = Root1"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _root1; +RDebugUtils.currentLine=3670019; + //BA.debugLineNum = 3670019;BA.debugLine="Root.LoadLayout(\"buscar\")"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("buscar",ba); +RDebugUtils.currentLine=3670020; + //BA.debugLineNum = 3670020;BA.debugLine="c=Starter.skmt.ExecQuery(\"select REP_CLIENTE, REP"; +__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 REP_CLIENTE, REP_PRONOMBRE, REP_CANT, REP_COSTO_TOT FROM REPARTO"))); +RDebugUtils.currentLine=3670021; + //BA.debugLineNum = 3670021;BA.debugLine="ListView1.Clear"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=3670022; + //BA.debugLineNum = 3670022;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=3670023; + //BA.debugLineNum = 3670023;BA.debugLine="For i=0 To c.RowCount -1"; +{ +final int step6 = 1; +final int limit6 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit6 ;_i = _i + step6 ) { +RDebugUtils.currentLine=3670024; + //BA.debugLineNum = 3670024;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=3670025; + //BA.debugLineNum = 3670025;BA.debugLine="Dim label1 As Label"; +_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=3670026; + //BA.debugLineNum = 3670026;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; +_label1 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().Label; +RDebugUtils.currentLine=3670027; + //BA.debugLineNum = 3670027;BA.debugLine="label1.TextSize = 10"; +_label1.setTextSize((float) (10)); +RDebugUtils.currentLine=3670028; + //BA.debugLineNum = 3670028;BA.debugLine="label1.TextColor = Colors.Black"; +_label1.setTextColor(__c.Colors.Black); +RDebugUtils.currentLine=3670029; + //BA.debugLineNum = 3670029;BA.debugLine="Dim label2 As Label"; +_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=3670030; + //BA.debugLineNum = 3670030;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; +_label2 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().SecondLabel; +RDebugUtils.currentLine=3670031; + //BA.debugLineNum = 3670031;BA.debugLine="label2.TextSize = 10"; +_label2.setTextSize((float) (10)); +RDebugUtils.currentLine=3670032; + //BA.debugLineNum = 3670032;BA.debugLine="label2.TextColor = Colors.Blue"; +_label2.setTextColor(__c.Colors.Blue); +RDebugUtils.currentLine=3670033; + //BA.debugLineNum = 3670033;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"REP_CLIENTE\""; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddTwoLines(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("REP_CLIENTE")),BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("REP_PRONOMBRE")+" Cantidad #"+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("REP_CANT")+" SubTotal $"+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("REP_COSTO_TOT"))); + } +}; + }; +RDebugUtils.currentLine=3670036; + //BA.debugLineNum = 3670036;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=3670037; + //BA.debugLineNum = 3670037;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(reparto_izca.keymon.lat.c_buscar __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_buscar"; +RDebugUtils.currentLine=3538944; + //BA.debugLineNum = 3538944;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=3538945; + //BA.debugLineNum = 3538945;BA.debugLine="Private Root As B4XView 'ignore"; +_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=3538946; + //BA.debugLineNum = 3538946;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=3538947; + //BA.debugLineNum = 3538947;BA.debugLine="Dim c As Cursor"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=3538948; + //BA.debugLineNum = 3538948;BA.debugLine="Dim ListView1 As ListView"; +_listview1 = new anywheresoftware.b4a.objects.ListViewWrapper(); +RDebugUtils.currentLine=3538949; + //BA.debugLineNum = 3538949;BA.debugLine="Dim b_noventa As Button"; +_b_noventa = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=3538950; + //BA.debugLineNum = 3538950;BA.debugLine="Private p_principal As Panel"; +_p_principal = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=3538951; + //BA.debugLineNum = 3538951;BA.debugLine="End Sub"; +return ""; +} +public String _listview1_itemlongclick(reparto_izca.keymon.lat.c_buscar __ref,int _position,Object _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_buscar"; +if (Debug.shouldDelegate(ba, "listview1_itemlongclick", false)) + {return ((String) Debug.delegate(ba, "listview1_itemlongclick", new Object[] {_position,_value}));} +RDebugUtils.currentLine=3932160; + //BA.debugLineNum = 3932160;BA.debugLine="Sub ListView1_ItemLongClick (Position As Int, Valu"; +RDebugUtils.currentLine=3932161; + //BA.debugLineNum = 3932161;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CUENTAA\")"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CUENTAA"); +RDebugUtils.currentLine=3932162; + //BA.debugLineNum = 3932162;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CUENTAA V"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CUENTAA VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{_value})); +RDebugUtils.currentLine=3932163; + //BA.debugLineNum = 3932163;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +_b4xpages._showpage /*String*/ (ba,"Cliente"); +RDebugUtils.currentLine=3932164; + //BA.debugLineNum = 3932164;BA.debugLine="End Sub"; +return ""; +} +public String _regresar_click(reparto_izca.keymon.lat.c_buscar __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_buscar"; +if (Debug.shouldDelegate(ba, "regresar_click", false)) + {return ((String) Debug.delegate(ba, "regresar_click", null));} +RDebugUtils.currentLine=3801088; + //BA.debugLineNum = 3801088;BA.debugLine="Sub Regresar_Click"; +RDebugUtils.currentLine=3801089; + //BA.debugLineNum = 3801089;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +_b4xpages._showpage /*String*/ (ba,"Cliente"); +RDebugUtils.currentLine=3801090; + //BA.debugLineNum = 3801090;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/c_cheklist.java b/B4A/Objects/src/reparto_izca/keymon/lat/c_cheklist.java new file mode 100644 index 0000000..a1e0a38 --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/c_cheklist.java @@ -0,0 +1,2491 @@ +package reparto_izca.keymon.lat; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.B4AClass; +import anywheresoftware.b4a.BALayout; +import anywheresoftware.b4a.debug.*; + +public class c_cheklist 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, "reparto_izca.keymon.lat.c_cheklist"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", reparto_izca.keymon.lat.c_cheklist.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.PanelWrapper _p_check = null; +public anywheresoftware.b4a.objects.ScrollViewWrapper _sv_datos = null; +public reparto_izca.keymon.lat.cameraexclass _camex = null; +public boolean _frontcamera = false; +public anywheresoftware.b4a.objects.PanelWrapper _p_cam = null; +public String _nombrefoto = ""; +public String _nombrefoto1 = ""; +public String _nombrefoto2 = ""; +public String _nombrefoto3 = ""; +public anywheresoftware.b4a.objects.PanelWrapper _p_camara = null; +public anywheresoftware.b4a.objects.IME _teclado = null; +public String _fototomada = ""; +public anywheresoftware.b4a.objects.ImageViewWrapper _imageview1 = null; +public anywheresoftware.b4a.objects.ImageViewWrapper _imageview3 = null; +public anywheresoftware.b4a.objects.ImageViewWrapper _imageview2 = null; +public anywheresoftware.b4a.objects.ImageViewWrapper _imageview4 = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_foto = null; +public anywheresoftware.b4a.phone.Phone _device = null; +public reparto_izca.keymon.lat.manageexternalstorage _mes1 = null; +public int _x = 0; +public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_docsi1 = null; +public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_docno1 = null; +public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_docsi2 = null; +public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_docno2 = null; +public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_docsi3 = null; +public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_docno3 = null; +public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_docsi4 = null; +public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_docno4 = null; +public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_docsi5 = null; +public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_docno5 = null; +public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_docsi6 = null; +public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_docno6 = null; +public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_docsi7 = null; +public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_docno7 = null; +public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_docsi8 = null; +public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_docno8 = null; +public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_docsi9 = null; +public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_docno9 = null; +public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_docsi10 = null; +public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_docno10 = null; +public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_docsi11 = null; +public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_docno11 = null; +public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_docsi12 = null; +public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_docno12 = null; +public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_docsi13 = null; +public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_docno13 = null; +public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_docsi14 = null; +public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_docno14 = null; +public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_docsi15 = null; +public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_docno15 = null; +public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_docsi16 = null; +public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_docno16 = null; +public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_docsi17 = null; +public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_docno17 = null; +public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_docsi18 = null; +public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_docno18 = null; +public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_docsi19 = null; +public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_docno19 = null; +public anywheresoftware.b4a.objects.EditTextWrapper _et_carroceria = null; +public anywheresoftware.b4a.objects.EditTextWrapper _et_luces = null; +public anywheresoftware.b4a.objects.EditTextWrapper _et_placas = null; +public anywheresoftware.b4a.objects.EditTextWrapper _et_liquidos = null; +public String _p1 = ""; +public String _p2 = ""; +public String _p3 = ""; +public String _p4 = ""; +public String _p5 = ""; +public String _p6 = ""; +public String _p7 = ""; +public String _p8 = ""; +public String _p9 = ""; +public String _p10 = ""; +public String _p11 = ""; +public String _p12 = ""; +public String _p13 = ""; +public String _p14 = ""; +public String _p15 = ""; +public String _p16 = ""; +public String _p17 = ""; +public String _p18 = ""; +public String _p19 = ""; +public reparto_izca.keymon.lat.b4xcombobox _cb_izqdel = null; +public reparto_izca.keymon.lat.b4xcombobox _cb_derdel = null; +public reparto_izca.keymon.lat.b4xcombobox _cb_izqatras = null; +public reparto_izca.keymon.lat.b4xcombobox _cb_deratras = null; +public String _itemselect1 = ""; +public String _itemselect2 = ""; +public String _itemselect3 = ""; +public String _itemselect4 = ""; +public byte[] _foto1 = null; +public byte[] _foto2 = null; +public byte[] _foto3 = null; +public byte[] _foto4 = null; +public anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; +public reparto_izca.keymon.lat.dbrequestmanager _reqmanager = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_placa = null; +public anywheresoftware.b4a.objects.EditTextWrapper _et_km = null; +public b4a.example.dateutils _dateutils = null; +public reparto_izca.keymon.lat.main _main = null; +public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; +public reparto_izca.keymon.lat.foto _foto = null; +public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_izca.keymon.lat.starter _starter = null; +public reparto_izca.keymon.lat.tracker _tracker = null; +public reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public Object _initialize(reparto_izca.keymon.lat.c_cheklist __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "initialize", false)) + {return ((Object) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=4128768; + //BA.debugLineNum = 4128768;BA.debugLine="Public Sub Initialize As Object"; +RDebugUtils.currentLine=4128769; + //BA.debugLineNum = 4128769;BA.debugLine="Return Me"; +if (true) return this; +RDebugUtils.currentLine=4128770; + //BA.debugLineNum = 4128770;BA.debugLine="End Sub"; +return null; +} +public String _b_foto_click(reparto_izca.keymon.lat.c_cheklist __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "b_foto_click", false)) + {return ((String) Debug.delegate(ba, "b_foto_click", null));} +RDebugUtils.currentLine=4653056; + //BA.debugLineNum = 4653056;BA.debugLine="Private Sub b_foto_Click"; +RDebugUtils.currentLine=4653057; + //BA.debugLineNum = 4653057;BA.debugLine="camEx.TakePicture"; +__ref._camex /*reparto_izca.keymon.lat.cameraexclass*/ ._takepicture /*String*/ (null); +RDebugUtils.currentLine=4653058; + //BA.debugLineNum = 4653058;BA.debugLine="p_camara.Visible = False"; +__ref._p_camara /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=4653060; + //BA.debugLineNum = 4653060;BA.debugLine="End Sub"; +return ""; +} +public String _b_guardar_click(reparto_izca.keymon.lat.c_cheklist __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "b_guardar_click", false)) + {return ((String) Debug.delegate(ba, "b_guardar_click", null));} +String _dirp = ""; +String _dir = ""; +String _dir2 = ""; +String _checkdate = ""; +String _checktime = ""; +String _rutacheck = ""; +RDebugUtils.currentLine=7405568; + //BA.debugLineNum = 7405568;BA.debugLine="Private Sub b_guardar_Click"; +RDebugUtils.currentLine=7405570; + //BA.debugLineNum = 7405570;BA.debugLine="Dim Dirp As String = File.DirInternal"; +_dirp = __c.File.getDirInternal(); +RDebugUtils.currentLine=7405571; + //BA.debugLineNum = 7405571;BA.debugLine="Dim Dir As String"; +_dir = ""; +RDebugUtils.currentLine=7405572; + //BA.debugLineNum = 7405572;BA.debugLine="Dim Dir2 As String"; +_dir2 = ""; +RDebugUtils.currentLine=7405573; + //BA.debugLineNum = 7405573;BA.debugLine="Try"; +try {RDebugUtils.currentLine=7405574; + //BA.debugLineNum = 7405574;BA.debugLine="File.MakeDir(Dirp,\"/md\")"; +__c.File.MakeDir(_dirp,"/md"); +RDebugUtils.currentLine=7405575; + //BA.debugLineNum = 7405575;BA.debugLine="Dir = \"/md\""; +_dir = "/md"; +RDebugUtils.currentLine=7405576; + //BA.debugLineNum = 7405576;BA.debugLine="Log(\"creado en promotoria \" & Dirp & Dir)"; +__c.LogImpl("87405576","creado en promotoria "+_dirp+_dir,0); + } + catch (Exception e9) { + ba.setLastException(e9);RDebugUtils.currentLine=7405578; + //BA.debugLineNum = 7405578;BA.debugLine="Dir = \"\""; +_dir = ""; +RDebugUtils.currentLine=7405579; + //BA.debugLineNum = 7405579;BA.debugLine="Log(\"creado en raiz\")"; +__c.LogImpl("87405579","creado en raiz",0); + }; +RDebugUtils.currentLine=7405582; + //BA.debugLineNum = 7405582;BA.debugLine="Try"; +try {RDebugUtils.currentLine=7405583; + //BA.debugLineNum = 7405583;BA.debugLine="File.MakeDir(Dirp & Dir,\"/reduccion\")"; +__c.File.MakeDir(_dirp+_dir,"/reduccion"); +RDebugUtils.currentLine=7405584; + //BA.debugLineNum = 7405584;BA.debugLine="Dir2 = \"/reduccion\""; +_dir2 = "/reduccion"; +RDebugUtils.currentLine=7405585; + //BA.debugLineNum = 7405585;BA.debugLine="Log(\"creado en promotoria \" & Dirp & Dir & Dir2)"; +__c.LogImpl("87405585","creado en promotoria "+_dirp+_dir+_dir2,0); + } + catch (Exception e17) { + ba.setLastException(e17);RDebugUtils.currentLine=7405587; + //BA.debugLineNum = 7405587;BA.debugLine="Dir = \"\""; +_dir = ""; +RDebugUtils.currentLine=7405588; + //BA.debugLineNum = 7405588;BA.debugLine="Log(\"creado en raiz\")"; +__c.LogImpl("87405588","creado en raiz",0); + }; +RDebugUtils.currentLine=7405591; + //BA.debugLineNum = 7405591;BA.debugLine="DateTime.TimeFormat=\"HH:mm:ss\""; +__c.DateTime.setTimeFormat("HH:mm:ss"); +RDebugUtils.currentLine=7405592; + //BA.debugLineNum = 7405592;BA.debugLine="DateTime.DateFormat=\"dd/MM/yyyy\""; +__c.DateTime.setDateFormat("dd/MM/yyyy"); +RDebugUtils.currentLine=7405593; + //BA.debugLineNum = 7405593;BA.debugLine="Dim checkdate As String = DateTime.Date(DateTime."; +_checkdate = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=7405594; + //BA.debugLineNum = 7405594;BA.debugLine="Dim checktime As String = DateTime.Time(DateTime."; +_checktime = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=7405595; + //BA.debugLineNum = 7405595;BA.debugLine="If et_km.Text <> \"\" Then"; +if ((__ref._et_km /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("") == false) { +RDebugUtils.currentLine=7405596; + //BA.debugLineNum = 7405596;BA.debugLine="If rb_docno1.Checked Or rb_docsi1.Checked Then"; +if (__ref._rb_docno1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked() || __ref._rb_docsi1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +RDebugUtils.currentLine=7405597; + //BA.debugLineNum = 7405597;BA.debugLine="If rb_docno2.Checked Or rb_docsi2.Checked Then"; +if (__ref._rb_docno2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked() || __ref._rb_docsi2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +RDebugUtils.currentLine=7405598; + //BA.debugLineNum = 7405598;BA.debugLine="If rb_docno3.Checked Or rb_docsi3.Checked Then"; +if (__ref._rb_docno3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked() || __ref._rb_docsi3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +RDebugUtils.currentLine=7405599; + //BA.debugLineNum = 7405599;BA.debugLine="If rb_docno4.Checked Or rb_docsi4.Checked The"; +if (__ref._rb_docno4 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked() || __ref._rb_docsi4 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +RDebugUtils.currentLine=7405600; + //BA.debugLineNum = 7405600;BA.debugLine="If rb_docno5.Checked Or rb_docsi5.Checked Th"; +if (__ref._rb_docno5 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked() || __ref._rb_docsi5 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +RDebugUtils.currentLine=7405601; + //BA.debugLineNum = 7405601;BA.debugLine="If rb_docno6.Checked Or rb_docsi6.Checked T"; +if (__ref._rb_docno6 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked() || __ref._rb_docsi6 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +RDebugUtils.currentLine=7405602; + //BA.debugLineNum = 7405602;BA.debugLine="If rb_docno7.Checked Or rb_docsi7.Checked"; +if (__ref._rb_docno7 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked() || __ref._rb_docsi7 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +RDebugUtils.currentLine=7405603; + //BA.debugLineNum = 7405603;BA.debugLine="If rb_docno8.Checked Or rb_docsi8.Checked"; +if (__ref._rb_docno8 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked() || __ref._rb_docsi8 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +RDebugUtils.currentLine=7405604; + //BA.debugLineNum = 7405604;BA.debugLine="If rb_docno9.Checked Or rb_docsi9.Checke"; +if (__ref._rb_docno9 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked() || __ref._rb_docsi9 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +RDebugUtils.currentLine=7405605; + //BA.debugLineNum = 7405605;BA.debugLine="If (rb_docno9.Checked And et_carroceria"; +if ((__ref._rb_docno9 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked() && (__ref._et_carroceria /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("") == false) || (__ref._rb_docsi9 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked() && (__ref._et_carroceria /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals(""))) { +RDebugUtils.currentLine=7405606; + //BA.debugLineNum = 7405606;BA.debugLine="If rb_docno11.Checked Or rb_docsi11.Ch"; +if (__ref._rb_docno11 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked() || __ref._rb_docsi11 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +RDebugUtils.currentLine=7405607; + //BA.debugLineNum = 7405607;BA.debugLine="If (rb_docno11.Checked And et_luces.T"; +if ((__ref._rb_docno11 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked() && (__ref._et_luces /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("") == false) || (__ref._rb_docsi11 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked() && (__ref._et_luces /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals(""))) { +RDebugUtils.currentLine=7405608; + //BA.debugLineNum = 7405608;BA.debugLine="If rb_docno13.Checked Or rb_docsi13."; +if (__ref._rb_docno13 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked() || __ref._rb_docsi13 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +RDebugUtils.currentLine=7405609; + //BA.debugLineNum = 7405609;BA.debugLine="If (rb_docno12.Checked And et_placa"; +if ((__ref._rb_docno12 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked() && (__ref._et_placas /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("") == false) || (__ref._rb_docsi13 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked() && (__ref._et_placas /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals(""))) { +RDebugUtils.currentLine=7405610; + //BA.debugLineNum = 7405610;BA.debugLine="If rb_docno15.Checked Or rb_docsi1"; +if (__ref._rb_docno15 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked() || __ref._rb_docsi15 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +RDebugUtils.currentLine=7405611; + //BA.debugLineNum = 7405611;BA.debugLine="If rb_docno16.Checked Or rb_docsi"; +if (__ref._rb_docno16 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked() || __ref._rb_docsi16 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +RDebugUtils.currentLine=7405612; + //BA.debugLineNum = 7405612;BA.debugLine="If rb_docno17.Checked Or rb_docs"; +if (__ref._rb_docno17 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked() || __ref._rb_docsi17 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +RDebugUtils.currentLine=7405613; + //BA.debugLineNum = 7405613;BA.debugLine="If rb_docno18.Checked Or rb_doc"; +if (__ref._rb_docno18 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked() || __ref._rb_docsi18 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +RDebugUtils.currentLine=7405614; + //BA.debugLineNum = 7405614;BA.debugLine="If rb_docno19.Checked Or rb_do"; +if (__ref._rb_docno19 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked() || __ref._rb_docsi19 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +RDebugUtils.currentLine=7405615; + //BA.debugLineNum = 7405615;BA.debugLine="If et_liquidos.Text <> \"\" An"; +if ((__ref._et_liquidos /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("") == false && (__ref._rb_docno15 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked() || __ref._rb_docno16 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked() || __ref._rb_docno17 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked() || __ref._rb_docno18 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked() || __ref._rb_docno19 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) || (__ref._et_liquidos /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("") && (__ref._rb_docsi15 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked() && __ref._rb_docsi16 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked() && __ref._rb_docsi17 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked() && __ref._rb_docsi18 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked() && __ref._rb_docsi19 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked())) { +RDebugUtils.currentLine=7405616; + //BA.debugLineNum = 7405616;BA.debugLine="If nombrefoto <> \"0\" And nom"; +if ((__ref._nombrefoto /*String*/ ).equals("0") == false && (__ref._nombrefoto1 /*String*/ ).equals("0") == false && (__ref._nombrefoto2 /*String*/ ).equals("0") == false && (__ref._nombrefoto3 /*String*/ ).equals("0") == false) { +RDebugUtils.currentLine=7405617; + //BA.debugLineNum = 7405617;BA.debugLine="c = Starter.skmt.ExecQuery("; +__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 RUTAA FROM RUTAA"))); +RDebugUtils.currentLine=7405618; + //BA.debugLineNum = 7405618;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=7405619; + //BA.debugLineNum = 7405619;BA.debugLine="Private rutacheck As String"; +_rutacheck = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("RUTAA"); +RDebugUtils.currentLine=7405620; + //BA.debugLineNum = 7405620;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=7405621; + //BA.debugLineNum = 7405621;BA.debugLine="Starter.skmt.ExecNonQuery(\""; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM CHECKLIST2"); +RDebugUtils.currentLine=7405622; + //BA.debugLineNum = 7405622;BA.debugLine="Starter.skmt.ExecNonQuery2("; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CHECKLIST2(USUARIO, PLACA, FECHA_CAPTURA, TARJETA_CIRCULACION , POLIZA_SEGURO, LICENCIA_CONDUCIR, LIMPIA_EXTERNA, LIMPIA_INTERNA, TRIANGULO, GATO, LLANTA_REFACCION, CARROCERIA, CARROCERIA_COMENTARIOS, LUCES, LUCES_COMENTARIOS, CONDICION_PLACAS, CONDICION_PLACAS_COMENTARIOS, CONDICION_LLANTAS_DEL_DER, CONDICION_LLANTAS_DEL_IZQ, CONDICION_LLANTAS_TRASERA_DER, CONDICION_LLANTAS_TRASERA_IZQ, ACEITE, ANTICONGELANTE, FRENOS, AIRE, FUGAS, COMETARIOS_FUGAS, FOTO1, FOTO12, FOTO3, FOTO4, KILIMETRAJE,RUTA) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._usuario /*String*/ ),(Object)(__ref._l_placa /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(_checkdate+" "+_checktime),(Object)(__ref._p1 /*String*/ ),(Object)(__ref._p2 /*String*/ ),(Object)(__ref._p3 /*String*/ ),(Object)(__ref._p4 /*String*/ ),(Object)(__ref._p5 /*String*/ ),(Object)(__ref._p6 /*String*/ ),(Object)(__ref._p7 /*String*/ ),(Object)(__ref._p8 /*String*/ ),(Object)(__ref._p9 /*String*/ ),(Object)(__ref._et_carroceria /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._p11 /*String*/ ),(Object)(__ref._et_luces /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._p13 /*String*/ ),(Object)(__ref._et_placas /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._itemselect1 /*String*/ ),(Object)(__ref._itemselect2 /*String*/ ),(Object)(__ref._itemselect3 /*String*/ ),(Object)(__ref._itemselect4 /*String*/ ),(Object)(__ref._p15 /*String*/ ),(Object)(__ref._p16 /*String*/ ),(Object)(__ref._p17 /*String*/ ),(Object)(__ref._p18 /*String*/ ),(Object)(__ref._p19 /*String*/ ),(Object)(__ref._et_liquidos /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__c.File.ReadBytes(__c.File.getDirInternal()+_dir+_dir2,__ref._nombrefoto /*String*/ )),(Object)(__c.File.ReadBytes(__c.File.getDirInternal()+_dir+_dir2,__ref._nombrefoto1 /*String*/ )),(Object)(__c.File.ReadBytes(__c.File.getDirInternal()+_dir+_dir2,__ref._nombrefoto2 /*String*/ )),(Object)(__c.File.ReadBytes(__c.File.getDirInternal()+_dir+_dir2,__ref._nombrefoto3 /*String*/ )),(Object)(__ref._et_km /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(_rutacheck)})); +RDebugUtils.currentLine=7405625; + //BA.debugLineNum = 7405625;BA.debugLine="mandaPendientes"; +__ref._mandapendientes /*String*/ (null); +RDebugUtils.currentLine=7405627; + //BA.debugLineNum = 7405627;BA.debugLine="rb_docno1.Checked = False"; +__ref._rb_docno1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=7405628; + //BA.debugLineNum = 7405628;BA.debugLine="rb_docno2.Checked = False"; +__ref._rb_docno2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=7405629; + //BA.debugLineNum = 7405629;BA.debugLine="rb_docno3.Checked = False"; +__ref._rb_docno3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=7405630; + //BA.debugLineNum = 7405630;BA.debugLine="rb_docno4.Checked = False"; +__ref._rb_docno4 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=7405631; + //BA.debugLineNum = 7405631;BA.debugLine="rb_docno5.Checked = False"; +__ref._rb_docno5 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=7405632; + //BA.debugLineNum = 7405632;BA.debugLine="rb_docno6.Checked = False"; +__ref._rb_docno6 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=7405633; + //BA.debugLineNum = 7405633;BA.debugLine="rb_docno7.Checked = False"; +__ref._rb_docno7 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=7405634; + //BA.debugLineNum = 7405634;BA.debugLine="rb_docno8.Checked = False"; +__ref._rb_docno8 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=7405635; + //BA.debugLineNum = 7405635;BA.debugLine="rb_docno9.Checked = False"; +__ref._rb_docno9 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=7405636; + //BA.debugLineNum = 7405636;BA.debugLine="rb_docno11.Checked = False"; +__ref._rb_docno11 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=7405637; + //BA.debugLineNum = 7405637;BA.debugLine="rb_docno13.Checked = False"; +__ref._rb_docno13 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=7405638; + //BA.debugLineNum = 7405638;BA.debugLine="rb_docno15.Checked = False"; +__ref._rb_docno15 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=7405639; + //BA.debugLineNum = 7405639;BA.debugLine="rb_docno16.Checked = False"; +__ref._rb_docno16 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=7405640; + //BA.debugLineNum = 7405640;BA.debugLine="rb_docno17.Checked = False"; +__ref._rb_docno17 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=7405641; + //BA.debugLineNum = 7405641;BA.debugLine="rb_docno18.Checked = False"; +__ref._rb_docno18 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=7405642; + //BA.debugLineNum = 7405642;BA.debugLine="rb_docno19.Checked = False"; +__ref._rb_docno19 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=7405644; + //BA.debugLineNum = 7405644;BA.debugLine="rb_docsi1.Checked = False"; +__ref._rb_docsi1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=7405645; + //BA.debugLineNum = 7405645;BA.debugLine="rb_docsi2.Checked = False"; +__ref._rb_docsi2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=7405646; + //BA.debugLineNum = 7405646;BA.debugLine="rb_docsi3.Checked = False"; +__ref._rb_docsi3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=7405647; + //BA.debugLineNum = 7405647;BA.debugLine="rb_docsi4.Checked = False"; +__ref._rb_docsi4 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=7405648; + //BA.debugLineNum = 7405648;BA.debugLine="rb_docsi5.Checked = False"; +__ref._rb_docsi5 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=7405649; + //BA.debugLineNum = 7405649;BA.debugLine="rb_docsi6.Checked = False"; +__ref._rb_docsi6 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=7405650; + //BA.debugLineNum = 7405650;BA.debugLine="rb_docsi7.Checked = False"; +__ref._rb_docsi7 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=7405651; + //BA.debugLineNum = 7405651;BA.debugLine="rb_docsi8.Checked = False"; +__ref._rb_docsi8 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=7405652; + //BA.debugLineNum = 7405652;BA.debugLine="rb_docsi9.Checked = False"; +__ref._rb_docsi9 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=7405653; + //BA.debugLineNum = 7405653;BA.debugLine="rb_docsi11.Checked = False"; +__ref._rb_docsi11 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=7405654; + //BA.debugLineNum = 7405654;BA.debugLine="rb_docsi13.Checked = False"; +__ref._rb_docsi13 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=7405655; + //BA.debugLineNum = 7405655;BA.debugLine="rb_docsi15.Checked = False"; +__ref._rb_docsi15 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=7405656; + //BA.debugLineNum = 7405656;BA.debugLine="rb_docsi16.Checked = False"; +__ref._rb_docsi16 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=7405657; + //BA.debugLineNum = 7405657;BA.debugLine="rb_docsi17.Checked = False"; +__ref._rb_docsi17 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=7405658; + //BA.debugLineNum = 7405658;BA.debugLine="rb_docsi18.Checked = False"; +__ref._rb_docsi18 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=7405659; + //BA.debugLineNum = 7405659;BA.debugLine="rb_docsi19.Checked = False"; +__ref._rb_docsi19 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=7405661; + //BA.debugLineNum = 7405661;BA.debugLine="cb_deratras.SelectedIndex ="; +__ref._cb_deratras /*reparto_izca.keymon.lat.b4xcombobox*/ ._setselectedindex /*int*/ (null,(int) (0)); +RDebugUtils.currentLine=7405662; + //BA.debugLineNum = 7405662;BA.debugLine="cb_derdel.SelectedIndex = 0"; +__ref._cb_derdel /*reparto_izca.keymon.lat.b4xcombobox*/ ._setselectedindex /*int*/ (null,(int) (0)); +RDebugUtils.currentLine=7405663; + //BA.debugLineNum = 7405663;BA.debugLine="cb_izqatras.SelectedIndex ="; +__ref._cb_izqatras /*reparto_izca.keymon.lat.b4xcombobox*/ ._setselectedindex /*int*/ (null,(int) (0)); +RDebugUtils.currentLine=7405664; + //BA.debugLineNum = 7405664;BA.debugLine="cb_izqdel.SelectedIndex = 0"; +__ref._cb_izqdel /*reparto_izca.keymon.lat.b4xcombobox*/ ._setselectedindex /*int*/ (null,(int) (0)); +RDebugUtils.currentLine=7405666; + //BA.debugLineNum = 7405666;BA.debugLine="et_carroceria.Text = \"\""; +__ref._et_carroceria /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=7405667; + //BA.debugLineNum = 7405667;BA.debugLine="et_liquidos.Text = \"\""; +__ref._et_liquidos /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=7405668; + //BA.debugLineNum = 7405668;BA.debugLine="et_luces.Text = \"\""; +__ref._et_luces /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=7405669; + //BA.debugLineNum = 7405669;BA.debugLine="et_placas.Text = \"\""; +__ref._et_placas /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=7405671; + //BA.debugLineNum = 7405671;BA.debugLine="ImageView1.Bitmap = LoadBit"; +__ref._imageview1 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setBitmap((android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"frontal1.png").getObject())); +RDebugUtils.currentLine=7405672; + //BA.debugLineNum = 7405672;BA.debugLine="ImageView2.Bitmap = LoadBit"; +__ref._imageview2 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setBitmap((android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"derecha1.png").getObject())); +RDebugUtils.currentLine=7405673; + //BA.debugLineNum = 7405673;BA.debugLine="ImageView3.Bitmap = LoadBit"; +__ref._imageview3 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setBitmap((android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"atras1.png").getObject())); +RDebugUtils.currentLine=7405674; + //BA.debugLineNum = 7405674;BA.debugLine="ImageView4.Bitmap = LoadBit"; +__ref._imageview4 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setBitmap((android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"izquierda1.png").getObject())); +RDebugUtils.currentLine=7405676; + //BA.debugLineNum = 7405676;BA.debugLine="nombrefoto = \"0\""; +__ref._nombrefoto /*String*/ = "0"; +RDebugUtils.currentLine=7405677; + //BA.debugLineNum = 7405677;BA.debugLine="nombrefoto1 = \"0\""; +__ref._nombrefoto1 /*String*/ = "0"; +RDebugUtils.currentLine=7405678; + //BA.debugLineNum = 7405678;BA.debugLine="nombrefoto2 = \"0\""; +__ref._nombrefoto2 /*String*/ = "0"; +RDebugUtils.currentLine=7405679; + //BA.debugLineNum = 7405679;BA.debugLine="nombrefoto3 = \"0\""; +__ref._nombrefoto3 /*String*/ = "0"; +RDebugUtils.currentLine=7405681; + //BA.debugLineNum = 7405681;BA.debugLine="B4XPages.ShowPage(\"Principa"; +_b4xpages._showpage /*String*/ (ba,"Principal"); + }else { +RDebugUtils.currentLine=7405683; + //BA.debugLineNum = 7405683;BA.debugLine="MsgboxAsync(\"Favor de tomar"; +__c.MsgboxAsync(BA.ObjectToCharSequence("Favor de tomar todas las fotos"),BA.ObjectToCharSequence("Atención"),ba); + }; + }else { +RDebugUtils.currentLine=7405686; + //BA.debugLineNum = 7405686;BA.debugLine="MsgboxAsync(\"Especifica Fuga"; +__c.MsgboxAsync(BA.ObjectToCharSequence("Especifica Fugas o detallaes en los liquidos"),BA.ObjectToCharSequence("Atención"),ba); + }; + }else { +RDebugUtils.currentLine=7405689; + //BA.debugLineNum = 7405689;BA.debugLine="MsgboxAsync(\"Seleeciona una o"; +__c.MsgboxAsync(BA.ObjectToCharSequence("Seleeciona una opción en Niveles de Liquidos y aire de Fugas"),BA.ObjectToCharSequence("Atención"),ba); + }; + }else { +RDebugUtils.currentLine=7405692; + //BA.debugLineNum = 7405692;BA.debugLine="MsgboxAsync(\"Seleeciona una op"; +__c.MsgboxAsync(BA.ObjectToCharSequence("Seleeciona una opción en Niveles de Liquidos y aire de Aire"),BA.ObjectToCharSequence("Atención"),ba); + }; + }else { +RDebugUtils.currentLine=7405695; + //BA.debugLineNum = 7405695;BA.debugLine="MsgboxAsync(\"Seleeciona una opc"; +__c.MsgboxAsync(BA.ObjectToCharSequence("Seleeciona una opción en Niveles de Liquidos y aire de Frenos"),BA.ObjectToCharSequence("Atención"),ba); + }; + }else { +RDebugUtils.currentLine=7405698; + //BA.debugLineNum = 7405698;BA.debugLine="MsgboxAsync(\"Seleeciona una opci"; +__c.MsgboxAsync(BA.ObjectToCharSequence("Seleeciona una opción en Niveles de Liquidos y aire de Anticongelante"),BA.ObjectToCharSequence("Atención"),ba); + }; + }else { +RDebugUtils.currentLine=7405701; + //BA.debugLineNum = 7405701;BA.debugLine="MsgboxAsync(\"Seleeciona una opció"; +__c.MsgboxAsync(BA.ObjectToCharSequence("Seleeciona una opción en Niveles de Liquidos y aire de Aceite"),BA.ObjectToCharSequence("Atención"),ba); + }; + }else { +RDebugUtils.currentLine=7405704; + //BA.debugLineNum = 7405704;BA.debugLine="MsgboxAsync(\"Especifica daños en l"; +__c.MsgboxAsync(BA.ObjectToCharSequence("Especifica daños en las condiciones de placas"),BA.ObjectToCharSequence("Atención"),ba); + }; + }else { +RDebugUtils.currentLine=7405707; + //BA.debugLineNum = 7405707;BA.debugLine="MsgboxAsync(\"Seleeciona una opción"; +__c.MsgboxAsync(BA.ObjectToCharSequence("Seleeciona una opción en Conciciones de placas de Correcto"),BA.ObjectToCharSequence("Atención"),ba); + }; + }else { +RDebugUtils.currentLine=7405710; + //BA.debugLineNum = 7405710;BA.debugLine="MsgboxAsync(\"Especifica daños en las"; +__c.MsgboxAsync(BA.ObjectToCharSequence("Especifica daños en las luces"),BA.ObjectToCharSequence("Atención"),ba); + }; + }else { +RDebugUtils.currentLine=7405713; + //BA.debugLineNum = 7405713;BA.debugLine="MsgboxAsync(\"Seleeciona una opción en"; +__c.MsgboxAsync(BA.ObjectToCharSequence("Seleeciona una opción en Funcionamiento de luces de Correcto"),BA.ObjectToCharSequence("Atención"),ba); + }; + }else { +RDebugUtils.currentLine=7405716; + //BA.debugLineNum = 7405716;BA.debugLine="MsgboxAsync(\"Especifica daños en la ca"; +__c.MsgboxAsync(BA.ObjectToCharSequence("Especifica daños en la carrocería"),BA.ObjectToCharSequence("Atención"),ba); + }; + }else { +RDebugUtils.currentLine=7405719; + //BA.debugLineNum = 7405719;BA.debugLine="MsgboxAsync(\"Seleeciona una opción en C"; +__c.MsgboxAsync(BA.ObjectToCharSequence("Seleeciona una opción en Carrocería de Buen estado"),BA.ObjectToCharSequence("Atención"),ba); + }; + }else { +RDebugUtils.currentLine=7405722; + //BA.debugLineNum = 7405722;BA.debugLine="MsgboxAsync(\"Seleeciona una opción en Se"; +__c.MsgboxAsync(BA.ObjectToCharSequence("Seleeciona una opción en Seguridad y refación de Llanta de refacción"),BA.ObjectToCharSequence("Atención"),ba); + }; + }else { +RDebugUtils.currentLine=7405725; + //BA.debugLineNum = 7405725;BA.debugLine="MsgboxAsync(\"Seleeciona una opción en Seg"; +__c.MsgboxAsync(BA.ObjectToCharSequence("Seleeciona una opción en Seguridad y refación de gato"),BA.ObjectToCharSequence("Atención"),ba); + }; + }else { +RDebugUtils.currentLine=7405728; + //BA.debugLineNum = 7405728;BA.debugLine="MsgboxAsync(\"Seleeciona una opción en Segu"; +__c.MsgboxAsync(BA.ObjectToCharSequence("Seleeciona una opción en Seguridad y refación de Triagulo reflectante"),BA.ObjectToCharSequence("Atención"),ba); + }; + }else { +RDebugUtils.currentLine=7405731; + //BA.debugLineNum = 7405731;BA.debugLine="MsgboxAsync(\"Seleeciona una opción en Limpi"; +__c.MsgboxAsync(BA.ObjectToCharSequence("Seleeciona una opción en Limpieza unidad interna"),BA.ObjectToCharSequence("Atención"),ba); + }; + }else { +RDebugUtils.currentLine=7405734; + //BA.debugLineNum = 7405734;BA.debugLine="MsgboxAsync(\"Seleeciona una opción en Limpie"; +__c.MsgboxAsync(BA.ObjectToCharSequence("Seleeciona una opción en Limpieza unidad externa"),BA.ObjectToCharSequence("Atención"),ba); + }; + }else { +RDebugUtils.currentLine=7405737; + //BA.debugLineNum = 7405737;BA.debugLine="MsgboxAsync(\"Seleeciona una opción en Documen"; +__c.MsgboxAsync(BA.ObjectToCharSequence("Seleeciona una opción en Documentación viegnte de Licencia de conducir"),BA.ObjectToCharSequence("Atención"),ba); + }; + }else { +RDebugUtils.currentLine=7405740; + //BA.debugLineNum = 7405740;BA.debugLine="MsgboxAsync(\"Seleeciona una opción en Document"; +__c.MsgboxAsync(BA.ObjectToCharSequence("Seleeciona una opción en Documentación viegnte de Póliza de seguro"),BA.ObjectToCharSequence("Atención"),ba); + }; + }else { +RDebugUtils.currentLine=7405743; + //BA.debugLineNum = 7405743;BA.debugLine="MsgboxAsync(\"Seleeciona una opción en Documenta"; +__c.MsgboxAsync(BA.ObjectToCharSequence("Seleeciona una opción en Documentación viegnte de tarjeta de circulación"),BA.ObjectToCharSequence("Atención"),ba); + }; + }else { +RDebugUtils.currentLine=7405746; + //BA.debugLineNum = 7405746;BA.debugLine="MsgboxAsync(\"Captura el kilometraje inicial.\",\"A"; +__c.MsgboxAsync(BA.ObjectToCharSequence("Captura el kilometraje inicial."),BA.ObjectToCharSequence("Atención"),ba); + }; +RDebugUtils.currentLine=7405749; + //BA.debugLineNum = 7405749;BA.debugLine="End Sub"; +return ""; +} +public String _mandapendientes(reparto_izca.keymon.lat.c_cheklist __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "mandapendientes", false)) + {return ((String) Debug.delegate(ba, "mandapendientes", null));} +int _i = 0; +reparto_izca.keymon.lat.dbrequestmanager._dbcommand _cmd = null; +RDebugUtils.currentLine=7471104; + //BA.debugLineNum = 7471104;BA.debugLine="Sub mandaPendientes"; +RDebugUtils.currentLine=7471105; + //BA.debugLineNum = 7471105;BA.debugLine="Log(\"MandaPendientes\")"; +__c.LogImpl("87471105","MandaPendientes",0); +RDebugUtils.currentLine=7471107; + //BA.debugLineNum = 7471107;BA.debugLine="c=Starter.skmt.ExecQuery(\"SELECT USUARIO, PLACA,"; +__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, PLACA, FECHA_CAPTURA, TARJETA_CIRCULACION , POLIZA_SEGURO, LICENCIA_CONDUCIR, LIMPIA_EXTERNA, LIMPIA_INTERNA, TRIANGULO, GATO, LLANTA_REFACCION, CARROCERIA, CARROCERIA_COMENTARIOS, LUCES, LUCES_COMENTARIOS, CONDICION_PLACAS, CONDICION_PLACAS_COMENTARIOS, CONDICION_LLANTAS_DEL_DER, CONDICION_LLANTAS_DEL_IZQ, CONDICION_LLANTAS_TRASERA_DER, CONDICION_LLANTAS_TRASERA_IZQ, ACEITE, ANTICONGELANTE, FRENOS, AIRE, FUGAS, COMETARIOS_FUGAS, FOTO1, FOTO12, FOTO3, FOTO4 FROM CHECKLIST2"))); +RDebugUtils.currentLine=7471108; + //BA.debugLineNum = 7471108;BA.debugLine="Log($\"Pedido PENDIENTE: ${c.RowCount}\"$)"; +__c.LogImpl("87471108",("Pedido PENDIENTE: "+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()))+""),0); +RDebugUtils.currentLine=7471109; + //BA.debugLineNum = 7471109;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=7471110; + //BA.debugLineNum = 7471110;BA.debugLine="For i = 0 To c.RowCount -1"; +{ +final int step5 = 1; +final int limit5 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit5 ;_i = _i + step5 ) { +RDebugUtils.currentLine=7471111; + //BA.debugLineNum = 7471111;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=7471112; + //BA.debugLineNum = 7471112;BA.debugLine="Dim cmd As DBCommand"; +_cmd = new reparto_izca.keymon.lat.dbrequestmanager._dbcommand(); +RDebugUtils.currentLine=7471114; + //BA.debugLineNum = 7471114;BA.debugLine="foto1 = c.GetBlob(\"FOTO1\")"; +__ref._foto1 /*byte[]*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetBlob("FOTO1"); +RDebugUtils.currentLine=7471115; + //BA.debugLineNum = 7471115;BA.debugLine="foto2 = c.GetBlob(\"FOTO12\")"; +__ref._foto2 /*byte[]*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetBlob("FOTO12"); +RDebugUtils.currentLine=7471116; + //BA.debugLineNum = 7471116;BA.debugLine="foto3 = c.GetBlob(\"FOTO3\")"; +__ref._foto3 /*byte[]*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetBlob("FOTO3"); +RDebugUtils.currentLine=7471117; + //BA.debugLineNum = 7471117;BA.debugLine="foto4 = c.GetBlob(\"FOTO4\")"; +__ref._foto4 /*byte[]*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetBlob("FOTO4"); +RDebugUtils.currentLine=7471119; + //BA.debugLineNum = 7471119;BA.debugLine="cmd.Initialize"; +_cmd.Initialize(); +RDebugUtils.currentLine=7471120; + //BA.debugLineNum = 7471120;BA.debugLine="cmd.Name = \"insert_CHECK_MARDS\""; +_cmd.Name /*String*/ = "insert_CHECK_MARDS"; +RDebugUtils.currentLine=7471121; + //BA.debugLineNum = 7471121;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\"U"; +_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PLACA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("FECHA_CAPTURA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TARJETA_CIRCULACION")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("POLIZA_SEGURO")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("LICENCIA_CONDUCIR")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("LIMPIA_EXTERNA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("LIMPIA_INTERNA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TRIANGULO")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("GATO")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("LLANTA_REFACCION")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CARROCERIA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CARROCERIA_COMENTARIOS")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("LUCES")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("LUCES_COMENTARIOS")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CONDICION_PLACAS")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CONDICION_PLACAS_COMENTARIOS"))}; +RDebugUtils.currentLine=7471122; + //BA.debugLineNum = 7471122;BA.debugLine="reqManager.ExecuteCommand(cmd , $\"ins_checkliPe"; +__ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._executecommand /*String*/ (null,_cmd,(Object)(("ins_checkliPendientes_head_"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO")))+""))); + } +}; + }; +RDebugUtils.currentLine=7471125; + //BA.debugLineNum = 7471125;BA.debugLine="End Sub"; +return ""; +} +public void _b4xpage_appear(reparto_izca.keymon.lat.c_cheklist __ref) throws Exception{ +RDebugUtils.currentModule="c_cheklist"; +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(reparto_izca.keymon.lat.c_cheklist parent,reparto_izca.keymon.lat.c_cheklist __ref) { +this.parent = parent; +this.__ref = __ref; +this.__ref = parent; +} +reparto_izca.keymon.lat.c_cheklist __ref; +reparto_izca.keymon.lat.c_cheklist parent; +String _permission = ""; +boolean _result = false; +int _sdkversion = 0; +anywheresoftware.b4a.objects.RuntimePermissions _rp = null; +int _res = 0; + +@Override +public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="c_cheklist"; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +RDebugUtils.currentLine=4259841; + //BA.debugLineNum = 4259841;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT PLACA FROM HIS"; +__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 PLACA FROM HIST_VENTAS"))); +RDebugUtils.currentLine=4259842; + //BA.debugLineNum = 4259842;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=4259843; + //BA.debugLineNum = 4259843;BA.debugLine="Log(c.GetString(\"PLACA\"))"; +parent.__c.LogImpl("84259843",__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PLACA"),0); +RDebugUtils.currentLine=4259844; + //BA.debugLineNum = 4259844;BA.debugLine="l_placa.Text = c.GetString(\"PLACA\")"; +__ref._l_placa /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PLACA"))); +RDebugUtils.currentLine=4259845; + //BA.debugLineNum = 4259845;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=4259846; + //BA.debugLineNum = 4259846;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); +RDebugUtils.currentLine=4259847; + //BA.debugLineNum = 4259847;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As"; +parent.__c.WaitFor("b4xpage_permissionresult", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cheklist", "b4xpage_appear"), null); +this.state = 17; +return; +case 17: +//C +this.state = 1; +_permission = (String) result[1]; +_result = (Boolean) result[2]; +; +RDebugUtils.currentLine=4259848; + //BA.debugLineNum = 4259848;BA.debugLine="If Result Then"; +if (true) break; + +case 1: +//if +this.state = 6; +if (_result) { +this.state = 3; +}else { +this.state = 5; +}if (true) break; + +case 3: +//C +this.state = 6; +RDebugUtils.currentLine=4259851; + //BA.debugLineNum = 4259851;BA.debugLine="Log(\"inicializamos Camara\")"; +parent.__c.LogImpl("84259851","inicializamos Camara",0); + if (true) break; + +case 5: +//C +this.state = 6; +RDebugUtils.currentLine=4259853; + //BA.debugLineNum = 4259853;BA.debugLine="ToastMessageShow(\"No permission Camara!!!\", True"; +parent.__c.ToastMessageShow(BA.ObjectToCharSequence("No permission Camara!!!"),parent.__c.True); + if (true) break; + +case 6: +//C +this.state = 7; +; +RDebugUtils.currentLine=4259855; + //BA.debugLineNum = 4259855;BA.debugLine="MES1.Initialize(Me, \"MES1\")"; +__ref._mes1 /*reparto_izca.keymon.lat.manageexternalstorage*/ ._initialize /*String*/ (null,ba,parent,"MES1"); +RDebugUtils.currentLine=4259858; + //BA.debugLineNum = 4259858;BA.debugLine="Dim SdkVersion As Int = device.SdkVersion"; +_sdkversion = __ref._device /*anywheresoftware.b4a.phone.Phone*/ .getSdkVersion(); +RDebugUtils.currentLine=4259861; + //BA.debugLineNum = 4259861;BA.debugLine="If SdkVersion < 30 Then"; +if (true) break; + +case 7: +//if +this.state = 16; +if (_sdkversion<30) { +this.state = 9; +}else { +this.state = 11; +}if (true) break; + +case 9: +//C +this.state = 16; +RDebugUtils.currentLine=4259862; + //BA.debugLineNum = 4259862;BA.debugLine="Log(\"SDK = \" & SdkVersion & \" : Requesting WRITE"; +parent.__c.LogImpl("84259862","SDK = "+BA.NumberToString(_sdkversion)+" : Requesting WRITE_EXTERNAL_STORAGE permission",0); +RDebugUtils.currentLine=4259863; + //BA.debugLineNum = 4259863;BA.debugLine="Dim rp As RuntimePermissions"; +_rp = new anywheresoftware.b4a.objects.RuntimePermissions(); +RDebugUtils.currentLine=4259864; + //BA.debugLineNum = 4259864;BA.debugLine="rp.CheckAndRequest(rp.PERMISSION_WRITE_EXTERNAL_"; +_rp.CheckAndRequest(ba,_rp.PERMISSION_WRITE_EXTERNAL_STORAGE); +RDebugUtils.currentLine=4259865; + //BA.debugLineNum = 4259865;BA.debugLine="Wait For Activity_PermissionResult (Permission A"; +parent.__c.WaitFor("activity_permissionresult", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cheklist", "b4xpage_appear"), null); +this.state = 18; +return; +case 18: +//C +this.state = 16; +_permission = (String) result[1]; +_result = (Boolean) result[2]; +; +RDebugUtils.currentLine=4259866; + //BA.debugLineNum = 4259866;BA.debugLine="Log($\"PERMISSION_WRITE_EXTERNAL_STORAGE = ${Resu"; +parent.__c.LogImpl("84259866",("PERMISSION_WRITE_EXTERNAL_STORAGE = "+parent.__c.SmartStringFormatter("",(Object)(_result))+""),0); + if (true) break; + +case 11: +//C +this.state = 12; +RDebugUtils.currentLine=4259868; + //BA.debugLineNum = 4259868;BA.debugLine="Log(\"SDK = \" & SdkVersion & \" : Requesting MANAG"; +parent.__c.LogImpl("84259868","SDK = "+BA.NumberToString(_sdkversion)+" : Requesting MANAGE_EXTERNAL_STORAGE permission",0); +RDebugUtils.currentLine=4259869; + //BA.debugLineNum = 4259869;BA.debugLine="Log(\"On Entry MANAGE_EXTERNAL_STORAGE = \" & MES1"; +parent.__c.LogImpl("84259869","On Entry MANAGE_EXTERNAL_STORAGE = "+BA.ObjectToString(__ref._mes1 /*reparto_izca.keymon.lat.manageexternalstorage*/ ._haspermission /*boolean*/ (null)),0); +RDebugUtils.currentLine=4259870; + //BA.debugLineNum = 4259870;BA.debugLine="If Not(MES1.HasPermission) Then"; +if (true) break; + +case 12: +//if +this.state = 15; +if (parent.__c.Not(__ref._mes1 /*reparto_izca.keymon.lat.manageexternalstorage*/ ._haspermission /*boolean*/ (null))) { +this.state = 14; +}if (true) break; + +case 14: +//C +this.state = 15; +RDebugUtils.currentLine=4259871; + //BA.debugLineNum = 4259871;BA.debugLine="MsgboxAsync(\"Esta aplicación requiere acceso a"; +parent.__c.MsgboxAsync(BA.ObjectToCharSequence("Esta aplicación requiere acceso a todos los archivos, habilite la opción"),BA.ObjectToCharSequence("Administrar todos los archivos"),ba); +RDebugUtils.currentLine=4259872; + //BA.debugLineNum = 4259872;BA.debugLine="Wait For Msgbox_Result(Res As Int)"; +parent.__c.WaitFor("msgbox_result", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cheklist", "b4xpage_appear"), null); +this.state = 19; +return; +case 19: +//C +this.state = 15; +_res = (Integer) result[1]; +; +RDebugUtils.currentLine=4259873; + //BA.debugLineNum = 4259873;BA.debugLine="Log(\"Getting permission\")"; +parent.__c.LogImpl("84259873","Getting permission",0); +RDebugUtils.currentLine=4259874; + //BA.debugLineNum = 4259874;BA.debugLine="MES1.GetPermission"; +__ref._mes1 /*reparto_izca.keymon.lat.manageexternalstorage*/ ._getpermission /*String*/ (null); +RDebugUtils.currentLine=4259875; + //BA.debugLineNum = 4259875;BA.debugLine="Wait For MES_StorageAvailable"; +parent.__c.WaitFor("mes_storageavailable", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cheklist", "b4xpage_appear"), null); +this.state = 20; +return; +case 20: +//C +this.state = 15; +; + if (true) break; + +case 15: +//C +this.state = 16; +; + if (true) break; + +case 16: +//C +this.state = -1; +; +RDebugUtils.currentLine=4259878; + //BA.debugLineNum = 4259878;BA.debugLine="p_camara.Visible = False"; +__ref._p_camara /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=4259896; + //BA.debugLineNum = 4259896;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _b4xpage_closerequest(reparto_izca.keymon.lat.c_cheklist __ref) throws Exception{ +RDebugUtils.currentModule="c_cheklist"; +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(reparto_izca.keymon.lat.c_cheklist parent,reparto_izca.keymon.lat.c_cheklist __ref) { +this.parent = parent; +this.__ref = __ref; +this.__ref = parent; +} +reparto_izca.keymon.lat.c_cheklist __ref; +reparto_izca.keymon.lat.c_cheklist parent; + +@Override +public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="c_cheklist"; + + while (true) { + switch (state) { + case -1: +{ +parent.__c.ReturnFromResumableSub(this,null);return;} +case 0: +//C +this.state = 1; +RDebugUtils.currentLine=4325378; + //BA.debugLineNum = 4325378;BA.debugLine="If p_camara.visible Then"; +if (true) break; + +case 1: +//if +this.state = 6; +if (__ref._p_camara /*anywheresoftware.b4a.objects.PanelWrapper*/ .getVisible()) { +this.state = 3; +}else { +this.state = 5; +}if (true) break; + +case 3: +//C +this.state = 6; +RDebugUtils.currentLine=4325379; + //BA.debugLineNum = 4325379;BA.debugLine="p_camara.visible = False"; +__ref._p_camara /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=4325380; + //BA.debugLineNum = 4325380;BA.debugLine="StopCamera2"; +__ref._stopcamera2 /*String*/ (null); + if (true) break; + +case 5: +//C +this.state = 6; +RDebugUtils.currentLine=4325382; + //BA.debugLineNum = 4325382;BA.debugLine="B4XPages.ShowPage(\"principal\")"; +parent._b4xpages._showpage /*String*/ (ba,"principal"); + if (true) break; + +case 6: +//C +this.state = -1; +; +RDebugUtils.currentLine=4325385; + //BA.debugLineNum = 4325385;BA.debugLine="Return False"; +if (true) { +parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; +RDebugUtils.currentLine=4325386; + //BA.debugLineNum = 4325386;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public String _stopcamera2(reparto_izca.keymon.lat.c_cheklist __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "stopcamera2", false)) + {return ((String) Debug.delegate(ba, "stopcamera2", null));} +RDebugUtils.currentLine=4718592; + //BA.debugLineNum = 4718592;BA.debugLine="Private Sub StopCamera2"; +RDebugUtils.currentLine=4718594; + //BA.debugLineNum = 4718594;BA.debugLine="If camEx.IsInitialized Then"; +if (__ref._camex /*reparto_izca.keymon.lat.cameraexclass*/ .IsInitialized /*boolean*/ ()) { +RDebugUtils.currentLine=4718595; + //BA.debugLineNum = 4718595;BA.debugLine="camEx.Release"; +__ref._camex /*reparto_izca.keymon.lat.cameraexclass*/ ._release /*String*/ (null); + }; +RDebugUtils.currentLine=4718597; + //BA.debugLineNum = 4718597;BA.debugLine="End Sub"; +return ""; +} +public String _b4xpage_created(reparto_izca.keymon.lat.c_cheklist __ref,anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "b4xpage_created", false)) + {return ((String) Debug.delegate(ba, "b4xpage_created", new Object[] {_root1}));} +anywheresoftware.b4a.objects.collections.List _items = null; +RDebugUtils.currentLine=4194304; + //BA.debugLineNum = 4194304;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +RDebugUtils.currentLine=4194305; + //BA.debugLineNum = 4194305;BA.debugLine="Root = Root1"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _root1; +RDebugUtils.currentLine=4194306; + //BA.debugLineNum = 4194306;BA.debugLine="Root.LoadLayout(\"checklist\")"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("checklist",ba); +RDebugUtils.currentLine=4194308; + //BA.debugLineNum = 4194308;BA.debugLine="sv_datos.Height = Root.Height"; +__ref._sv_datos /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .setHeight(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=4194309; + //BA.debugLineNum = 4194309;BA.debugLine="sv_datos.Width = Root.Width"; +__ref._sv_datos /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=4194310; + //BA.debugLineNum = 4194310;BA.debugLine="sv_datos.Panel.LoadLayout(\"check\")"; +__ref._sv_datos /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .getPanel().LoadLayout("check",ba); +RDebugUtils.currentLine=4194311; + //BA.debugLineNum = 4194311;BA.debugLine="sv_datos.Panel.Height = p_check.Height"; +__ref._sv_datos /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .getPanel().setHeight(__ref._p_check /*anywheresoftware.b4a.objects.PanelWrapper*/ .getHeight()); +RDebugUtils.currentLine=4194312; + //BA.debugLineNum = 4194312;BA.debugLine="p_check.Width = Root.Width"; +__ref._p_check /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=4194313; + //BA.debugLineNum = 4194313;BA.debugLine="p_camara.Width = Root.Width"; +__ref._p_camara /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=4194314; + //BA.debugLineNum = 4194314;BA.debugLine="p_camara.Height = Root.Height"; +__ref._p_camara /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=4194317; + //BA.debugLineNum = 4194317;BA.debugLine="Dim items As List"; +_items = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=4194318; + //BA.debugLineNum = 4194318;BA.debugLine="items.Initialize"; +_items.Initialize(); +RDebugUtils.currentLine=4194319; + //BA.debugLineNum = 4194319;BA.debugLine="items.Add(\"100%\")"; +_items.Add((Object)("100%")); +RDebugUtils.currentLine=4194320; + //BA.debugLineNum = 4194320;BA.debugLine="items.Add(\"75%\")"; +_items.Add((Object)("75%")); +RDebugUtils.currentLine=4194321; + //BA.debugLineNum = 4194321;BA.debugLine="items.Add(\"50%\")"; +_items.Add((Object)("50%")); +RDebugUtils.currentLine=4194322; + //BA.debugLineNum = 4194322;BA.debugLine="items.Add(\"25%\")"; +_items.Add((Object)("25%")); +RDebugUtils.currentLine=4194323; + //BA.debugLineNum = 4194323;BA.debugLine="cb_deratras.SetItems(items)"; +__ref._cb_deratras /*reparto_izca.keymon.lat.b4xcombobox*/ ._setitems /*String*/ (null,_items); +RDebugUtils.currentLine=4194324; + //BA.debugLineNum = 4194324;BA.debugLine="cb_izqatras.SetItems(items)"; +__ref._cb_izqatras /*reparto_izca.keymon.lat.b4xcombobox*/ ._setitems /*String*/ (null,_items); +RDebugUtils.currentLine=4194325; + //BA.debugLineNum = 4194325;BA.debugLine="cb_derdel.SetItems(items)"; +__ref._cb_derdel /*reparto_izca.keymon.lat.b4xcombobox*/ ._setitems /*String*/ (null,_items); +RDebugUtils.currentLine=4194326; + //BA.debugLineNum = 4194326;BA.debugLine="cb_izqdel.SetItems(items)"; +__ref._cb_izqdel /*reparto_izca.keymon.lat.b4xcombobox*/ ._setitems /*String*/ (null,_items); +RDebugUtils.currentLine=4194327; + //BA.debugLineNum = 4194327;BA.debugLine="itemselect1 = \"100%\""; +__ref._itemselect1 /*String*/ = "100%"; +RDebugUtils.currentLine=4194328; + //BA.debugLineNum = 4194328;BA.debugLine="itemselect2 = \"100%\""; +__ref._itemselect2 /*String*/ = "100%"; +RDebugUtils.currentLine=4194329; + //BA.debugLineNum = 4194329;BA.debugLine="itemselect3 = \"100%\""; +__ref._itemselect3 /*String*/ = "100%"; +RDebugUtils.currentLine=4194330; + //BA.debugLineNum = 4194330;BA.debugLine="itemselect4 = \"100%\""; +__ref._itemselect4 /*String*/ = "100%"; +RDebugUtils.currentLine=4194332; + //BA.debugLineNum = 4194332;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.serve"; +__ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._initialize /*String*/ (null,ba,this,_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ); +RDebugUtils.currentLine=4194333; + //BA.debugLineNum = 4194333;BA.debugLine="End Sub"; +return ""; +} +public String _camera1_picturetaken(reparto_izca.keymon.lat.c_cheklist __ref,byte[] _data) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +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=4521984; + //BA.debugLineNum = 4521984;BA.debugLine="Sub Camera1_PictureTaken (Data()As Byte)"; +RDebugUtils.currentLine=4521985; + //BA.debugLineNum = 4521985;BA.debugLine="If x = 1 Then"; +if (__ref._x /*int*/ ==1) { +RDebugUtils.currentLine=4521986; + //BA.debugLineNum = 4521986;BA.debugLine="DateTime.DateFormat=\"ddMMyyyyHHmmss\""; +__c.DateTime.setDateFormat("ddMMyyyyHHmmss"); +RDebugUtils.currentLine=4521987; + //BA.debugLineNum = 4521987;BA.debugLine="nombrefoto = DateTime.Now & \"_FOTO1.jpg\""; +__ref._nombrefoto /*String*/ = BA.NumberToString(__c.DateTime.getNow())+"_FOTO1.jpg"; +RDebugUtils.currentLine=4521988; + //BA.debugLineNum = 4521988;BA.debugLine="teclado.HideKeyboard"; +__ref._teclado /*anywheresoftware.b4a.objects.IME*/ .HideKeyboard(ba); +RDebugUtils.currentLine=4521989; + //BA.debugLineNum = 4521989;BA.debugLine="fototomada = nombrefoto"; +__ref._fototomada /*String*/ = __ref._nombrefoto /*String*/ ; + }else +{RDebugUtils.currentLine=4521991; + //BA.debugLineNum = 4521991;BA.debugLine="Else If x = 2 Then"; +if (__ref._x /*int*/ ==2) { +RDebugUtils.currentLine=4521992; + //BA.debugLineNum = 4521992;BA.debugLine="DateTime.DateFormat=\"ddMMyyyyHHmmss\""; +__c.DateTime.setDateFormat("ddMMyyyyHHmmss"); +RDebugUtils.currentLine=4521993; + //BA.debugLineNum = 4521993;BA.debugLine="nombrefoto1 = DateTime.Now & \"_FOTO2.jpg\""; +__ref._nombrefoto1 /*String*/ = BA.NumberToString(__c.DateTime.getNow())+"_FOTO2.jpg"; +RDebugUtils.currentLine=4521994; + //BA.debugLineNum = 4521994;BA.debugLine="teclado.HideKeyboard"; +__ref._teclado /*anywheresoftware.b4a.objects.IME*/ .HideKeyboard(ba); +RDebugUtils.currentLine=4521995; + //BA.debugLineNum = 4521995;BA.debugLine="fototomada = nombrefoto1"; +__ref._fototomada /*String*/ = __ref._nombrefoto1 /*String*/ ; + }else +{RDebugUtils.currentLine=4521997; + //BA.debugLineNum = 4521997;BA.debugLine="Else If x = 3 Then"; +if (__ref._x /*int*/ ==3) { +RDebugUtils.currentLine=4521998; + //BA.debugLineNum = 4521998;BA.debugLine="DateTime.DateFormat=\"ddMMyyyyHHmmss\""; +__c.DateTime.setDateFormat("ddMMyyyyHHmmss"); +RDebugUtils.currentLine=4521999; + //BA.debugLineNum = 4521999;BA.debugLine="nombrefoto2 = DateTime.Now & \"_FOTO3.jpg\""; +__ref._nombrefoto2 /*String*/ = BA.NumberToString(__c.DateTime.getNow())+"_FOTO3.jpg"; +RDebugUtils.currentLine=4522000; + //BA.debugLineNum = 4522000;BA.debugLine="teclado.HideKeyboard"; +__ref._teclado /*anywheresoftware.b4a.objects.IME*/ .HideKeyboard(ba); +RDebugUtils.currentLine=4522001; + //BA.debugLineNum = 4522001;BA.debugLine="fototomada = nombrefoto2"; +__ref._fototomada /*String*/ = __ref._nombrefoto2 /*String*/ ; + }else +{RDebugUtils.currentLine=4522003; + //BA.debugLineNum = 4522003;BA.debugLine="Else If x = 4 Then"; +if (__ref._x /*int*/ ==4) { +RDebugUtils.currentLine=4522004; + //BA.debugLineNum = 4522004;BA.debugLine="DateTime.DateFormat=\"ddMMyyyyHHmmss\""; +__c.DateTime.setDateFormat("ddMMyyyyHHmmss"); +RDebugUtils.currentLine=4522005; + //BA.debugLineNum = 4522005;BA.debugLine="nombrefoto3 = DateTime.Now & \"_FOTO4.jpg\""; +__ref._nombrefoto3 /*String*/ = BA.NumberToString(__c.DateTime.getNow())+"_FOTO4.jpg"; +RDebugUtils.currentLine=4522006; + //BA.debugLineNum = 4522006;BA.debugLine="teclado.HideKeyboard"; +__ref._teclado /*anywheresoftware.b4a.objects.IME*/ .HideKeyboard(ba); +RDebugUtils.currentLine=4522007; + //BA.debugLineNum = 4522007;BA.debugLine="fototomada = nombrefoto3"; +__ref._fototomada /*String*/ = __ref._nombrefoto3 /*String*/ ; + }}}} +; +RDebugUtils.currentLine=4522011; + //BA.debugLineNum = 4522011;BA.debugLine="Log(\"tome foto\")"; +__c.LogImpl("84522011","tome foto",0); +RDebugUtils.currentLine=4522012; + //BA.debugLineNum = 4522012;BA.debugLine="Dim filename As String = fototomada"; +_filename = __ref._fototomada /*String*/ ; +RDebugUtils.currentLine=4522013; + //BA.debugLineNum = 4522013;BA.debugLine="Dim Dirp As String = File.DirInternal"; +_dirp = __c.File.getDirInternal(); +RDebugUtils.currentLine=4522014; + //BA.debugLineNum = 4522014;BA.debugLine="Dim Dir As String"; +_dir = ""; +RDebugUtils.currentLine=4522015; + //BA.debugLineNum = 4522015;BA.debugLine="Dim Dir2 As String"; +_dir2 = ""; +RDebugUtils.currentLine=4522016; + //BA.debugLineNum = 4522016;BA.debugLine="Try"; +try {RDebugUtils.currentLine=4522017; + //BA.debugLineNum = 4522017;BA.debugLine="File.MakeDir(Dirp,\"/md\")"; +__c.File.MakeDir(_dirp,"/md"); +RDebugUtils.currentLine=4522018; + //BA.debugLineNum = 4522018;BA.debugLine="Dir = \"/md\""; +_dir = "/md"; +RDebugUtils.currentLine=4522019; + //BA.debugLineNum = 4522019;BA.debugLine="Log(\"creado en promotoria \" & Dirp & Dir)"; +__c.LogImpl("84522019","creado en promotoria "+_dirp+_dir,0); + } + catch (Exception e32) { + ba.setLastException(e32);RDebugUtils.currentLine=4522021; + //BA.debugLineNum = 4522021;BA.debugLine="Dir = \"\""; +_dir = ""; +RDebugUtils.currentLine=4522022; + //BA.debugLineNum = 4522022;BA.debugLine="Log(\"creado en raiz\")"; +__c.LogImpl("84522022","creado en raiz",0); + }; +RDebugUtils.currentLine=4522025; + //BA.debugLineNum = 4522025;BA.debugLine="Try"; +try {RDebugUtils.currentLine=4522026; + //BA.debugLineNum = 4522026;BA.debugLine="File.MakeDir(Dirp & Dir,\"/reduccion\")"; +__c.File.MakeDir(_dirp+_dir,"/reduccion"); +RDebugUtils.currentLine=4522027; + //BA.debugLineNum = 4522027;BA.debugLine="Dir2 = \"/reduccion\""; +_dir2 = "/reduccion"; +RDebugUtils.currentLine=4522028; + //BA.debugLineNum = 4522028;BA.debugLine="Log(\"creado en promotoria \" & Dirp & Dir & Dir2)"; +__c.LogImpl("84522028","creado en promotoria "+_dirp+_dir+_dir2,0); + } + catch (Exception e40) { + ba.setLastException(e40);RDebugUtils.currentLine=4522030; + //BA.debugLineNum = 4522030;BA.debugLine="Dir = \"\""; +_dir = ""; +RDebugUtils.currentLine=4522031; + //BA.debugLineNum = 4522031;BA.debugLine="Log(\"creado en raiz\")"; +__c.LogImpl("84522031","creado en raiz",0); + }; +RDebugUtils.currentLine=4522034; + //BA.debugLineNum = 4522034;BA.debugLine="camEx.SavePictureToFile(Data, Dirp&Dir, filename)"; +__ref._camex /*reparto_izca.keymon.lat.cameraexclass*/ ._savepicturetofile /*String*/ (null,_data,_dirp+_dir,_filename); +RDebugUtils.currentLine=4522035; + //BA.debugLineNum = 4522035;BA.debugLine="camEx.StartPreview 'restart preview"; +__ref._camex /*reparto_izca.keymon.lat.cameraexclass*/ ._startpreview /*String*/ (null); +RDebugUtils.currentLine=4522037; + //BA.debugLineNum = 4522037;BA.debugLine="Log(\"Picture saved.\" & CRLF & \"File size: \" & Fi"; +__c.LogImpl("84522037","Picture saved."+__c.CRLF+"File size: "+BA.NumberToString(__c.File.Size(_dir,_filename))+_dir+","+_filename,0); +RDebugUtils.currentLine=4522038; + //BA.debugLineNum = 4522038;BA.debugLine="p_camara.Visible = False"; +__ref._p_camara /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=4522040; + //BA.debugLineNum = 4522040;BA.debugLine="Log(nombrefoto)"; +__c.LogImpl("84522040",__ref._nombrefoto /*String*/ ,0); +RDebugUtils.currentLine=4522041; + //BA.debugLineNum = 4522041;BA.debugLine="Log(nombrefoto1)"; +__c.LogImpl("84522041",__ref._nombrefoto1 /*String*/ ,0); +RDebugUtils.currentLine=4522042; + //BA.debugLineNum = 4522042;BA.debugLine="Log(nombrefoto2)"; +__c.LogImpl("84522042",__ref._nombrefoto2 /*String*/ ,0); +RDebugUtils.currentLine=4522043; + //BA.debugLineNum = 4522043;BA.debugLine="Log(nombrefoto3)"; +__c.LogImpl("84522043",__ref._nombrefoto3 /*String*/ ,0); +RDebugUtils.currentLine=4522045; + //BA.debugLineNum = 4522045;BA.debugLine="If nombrefoto <> \"0\" Then"; +if ((__ref._nombrefoto /*String*/ ).equals("0") == false) { +RDebugUtils.currentLine=4522046; + //BA.debugLineNum = 4522046;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) (450),(int) (600),__c.True); +RDebugUtils.currentLine=4522047; + //BA.debugLineNum = 4522047;BA.debugLine="Dim out As OutputStream = File.OpenOutput(File.D"; +_out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); +_out = __c.File.OpenOutput(__c.File.getDirInternal()+_dir+_dir2,_filename,__c.True); +RDebugUtils.currentLine=4522048; + //BA.debugLineNum = 4522048;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=4522051; + //BA.debugLineNum = 4522051;BA.debugLine="out.Close"; +_out.Close(); +RDebugUtils.currentLine=4522052; + //BA.debugLineNum = 4522052;BA.debugLine="ImageView1.Bitmap = LoadBitmap(File.DirInternal"; +__ref._imageview1 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setBitmap((android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirInternal()+_dir+_dir2,__ref._nombrefoto /*String*/ ).getObject())); + }; +RDebugUtils.currentLine=4522056; + //BA.debugLineNum = 4522056;BA.debugLine="If nombrefoto1 <> \"0\" Then"; +if ((__ref._nombrefoto1 /*String*/ ).equals("0") == false) { +RDebugUtils.currentLine=4522057; + //BA.debugLineNum = 4522057;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) (450),(int) (600),__c.True); +RDebugUtils.currentLine=4522058; + //BA.debugLineNum = 4522058;BA.debugLine="Dim out As OutputStream = File.OpenOutput(File.D"; +_out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); +_out = __c.File.OpenOutput(__c.File.getDirInternal()+_dir+_dir2,_filename,__c.False); +RDebugUtils.currentLine=4522059; + //BA.debugLineNum = 4522059;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=4522062; + //BA.debugLineNum = 4522062;BA.debugLine="out.Close"; +_out.Close(); +RDebugUtils.currentLine=4522063; + //BA.debugLineNum = 4522063;BA.debugLine="ImageView2.Bitmap = LoadBitmap(File.DirInternal"; +__ref._imageview2 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setBitmap((android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirInternal()+_dir+_dir2,__ref._nombrefoto1 /*String*/ ).getObject())); + }; +RDebugUtils.currentLine=4522066; + //BA.debugLineNum = 4522066;BA.debugLine="If nombrefoto2 <> \"0\" Then"; +if ((__ref._nombrefoto2 /*String*/ ).equals("0") == false) { +RDebugUtils.currentLine=4522067; + //BA.debugLineNum = 4522067;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) (450),(int) (600),__c.True); +RDebugUtils.currentLine=4522068; + //BA.debugLineNum = 4522068;BA.debugLine="Dim out As OutputStream = File.OpenOutput(File.D"; +_out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); +_out = __c.File.OpenOutput(__c.File.getDirInternal()+_dir+_dir2,_filename,__c.False); +RDebugUtils.currentLine=4522069; + //BA.debugLineNum = 4522069;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=4522072; + //BA.debugLineNum = 4522072;BA.debugLine="out.Close"; +_out.Close(); +RDebugUtils.currentLine=4522073; + //BA.debugLineNum = 4522073;BA.debugLine="ImageView3.Bitmap = LoadBitmap(File.DirInternal"; +__ref._imageview3 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setBitmap((android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirInternal()+_dir+_dir2,__ref._nombrefoto2 /*String*/ ).getObject())); + }; +RDebugUtils.currentLine=4522076; + //BA.debugLineNum = 4522076;BA.debugLine="If nombrefoto3 <> \"0\" Then"; +if ((__ref._nombrefoto3 /*String*/ ).equals("0") == false) { +RDebugUtils.currentLine=4522077; + //BA.debugLineNum = 4522077;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) (450),(int) (600),__c.True); +RDebugUtils.currentLine=4522078; + //BA.debugLineNum = 4522078;BA.debugLine="Dim out As OutputStream = File.OpenOutput(File.D"; +_out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); +_out = __c.File.OpenOutput(__c.File.getDirInternal()+_dir+_dir2,_filename,__c.False); +RDebugUtils.currentLine=4522079; + //BA.debugLineNum = 4522079;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=4522082; + //BA.debugLineNum = 4522082;BA.debugLine="out.Close"; +_out.Close(); +RDebugUtils.currentLine=4522083; + //BA.debugLineNum = 4522083;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._nombrefoto3 /*String*/ ).getObject())); + }; +RDebugUtils.currentLine=4522086; + //BA.debugLineNum = 4522086;BA.debugLine="StopCamera2"; +__ref._stopcamera2 /*String*/ (null); +RDebugUtils.currentLine=4522088; + //BA.debugLineNum = 4522088;BA.debugLine="End Sub"; +return ""; +} +public String _camera1_ready(reparto_izca.keymon.lat.c_cheklist __ref,boolean _success) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "camera1_ready", false)) + {return ((String) Debug.delegate(ba, "camera1_ready", new Object[] {_success}));} +RDebugUtils.currentLine=4456448; + //BA.debugLineNum = 4456448;BA.debugLine="Sub Camera1_Ready (Success As Boolean)"; +RDebugUtils.currentLine=4456449; + //BA.debugLineNum = 4456449;BA.debugLine="Log(\"Camara ready\")"; +__c.LogImpl("84456449","Camara ready",0); +RDebugUtils.currentLine=4456450; + //BA.debugLineNum = 4456450;BA.debugLine="If Success Then"; +if (_success) { +RDebugUtils.currentLine=4456451; + //BA.debugLineNum = 4456451;BA.debugLine="camEx.SetJpegQuality(90)"; +__ref._camex /*reparto_izca.keymon.lat.cameraexclass*/ ._setjpegquality /*String*/ (null,(int) (90)); +RDebugUtils.currentLine=4456452; + //BA.debugLineNum = 4456452;BA.debugLine="camEx.SetContinuousAutoFocus"; +__ref._camex /*reparto_izca.keymon.lat.cameraexclass*/ ._setcontinuousautofocus /*String*/ (null); +RDebugUtils.currentLine=4456453; + //BA.debugLineNum = 4456453;BA.debugLine="camEx.CommitParameters"; +__ref._camex /*reparto_izca.keymon.lat.cameraexclass*/ ._commitparameters /*String*/ (null); +RDebugUtils.currentLine=4456454; + //BA.debugLineNum = 4456454;BA.debugLine="camEx.StartPreview"; +__ref._camex /*reparto_izca.keymon.lat.cameraexclass*/ ._startpreview /*String*/ (null); +RDebugUtils.currentLine=4456455; + //BA.debugLineNum = 4456455;BA.debugLine="Log(camEx.GetPreviewSize)"; +__c.LogImpl("84456455",BA.ObjectToString(__ref._camex /*reparto_izca.keymon.lat.cameraexclass*/ ._getpreviewsize /*reparto_izca.keymon.lat.cameraexclass._camerasize*/ (null)),0); + }else { +RDebugUtils.currentLine=4456457; + //BA.debugLineNum = 4456457;BA.debugLine="ToastMessageShow(\"Cannot open camera.\", True)"; +__c.ToastMessageShow(BA.ObjectToCharSequence("Cannot open camera."),__c.True); +RDebugUtils.currentLine=4456458; + //BA.debugLineNum = 4456458;BA.debugLine="Log(\"Cannot open camera\")"; +__c.LogImpl("84456458","Cannot open camera",0); + }; +RDebugUtils.currentLine=4456460; + //BA.debugLineNum = 4456460;BA.debugLine="End Sub"; +return ""; +} +public String _cb_deratras_selectedindexchanged(reparto_izca.keymon.lat.c_cheklist __ref,int _index) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "cb_deratras_selectedindexchanged", false)) + {return ((String) Debug.delegate(ba, "cb_deratras_selectedindexchanged", new Object[] {_index}));} +RDebugUtils.currentLine=7340032; + //BA.debugLineNum = 7340032;BA.debugLine="Private Sub cb_deratras_SelectedIndexChanged (Inde"; +RDebugUtils.currentLine=7340033; + //BA.debugLineNum = 7340033;BA.debugLine="itemselect4 = cb_deratras.SelectedItem"; +__ref._itemselect4 /*String*/ = __ref._cb_deratras /*reparto_izca.keymon.lat.b4xcombobox*/ ._getselecteditem /*String*/ (null); +RDebugUtils.currentLine=7340034; + //BA.debugLineNum = 7340034;BA.debugLine="Log(itemselect4)"; +__c.LogImpl("87340034",__ref._itemselect4 /*String*/ ,0); +RDebugUtils.currentLine=7340035; + //BA.debugLineNum = 7340035;BA.debugLine="End Sub"; +return ""; +} +public String _cb_derdel_selectedindexchanged(reparto_izca.keymon.lat.c_cheklist __ref,int _index) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "cb_derdel_selectedindexchanged", false)) + {return ((String) Debug.delegate(ba, "cb_derdel_selectedindexchanged", new Object[] {_index}));} +RDebugUtils.currentLine=7274496; + //BA.debugLineNum = 7274496;BA.debugLine="Private Sub cb_derdel_SelectedIndexChanged (Index"; +RDebugUtils.currentLine=7274497; + //BA.debugLineNum = 7274497;BA.debugLine="itemselect3 = cb_derdel.SelectedItem"; +__ref._itemselect3 /*String*/ = __ref._cb_derdel /*reparto_izca.keymon.lat.b4xcombobox*/ ._getselecteditem /*String*/ (null); +RDebugUtils.currentLine=7274498; + //BA.debugLineNum = 7274498;BA.debugLine="Log(itemselect3)"; +__c.LogImpl("87274498",__ref._itemselect3 /*String*/ ,0); +RDebugUtils.currentLine=7274499; + //BA.debugLineNum = 7274499;BA.debugLine="End Sub"; +return ""; +} +public String _cb_izqatras_selectedindexchanged(reparto_izca.keymon.lat.c_cheklist __ref,int _index) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "cb_izqatras_selectedindexchanged", false)) + {return ((String) Debug.delegate(ba, "cb_izqatras_selectedindexchanged", new Object[] {_index}));} +RDebugUtils.currentLine=7208960; + //BA.debugLineNum = 7208960;BA.debugLine="Private Sub cb_izqatras_SelectedIndexChanged (Inde"; +RDebugUtils.currentLine=7208961; + //BA.debugLineNum = 7208961;BA.debugLine="itemselect2 = cb_izqatras.SelectedItem"; +__ref._itemselect2 /*String*/ = __ref._cb_izqatras /*reparto_izca.keymon.lat.b4xcombobox*/ ._getselecteditem /*String*/ (null); +RDebugUtils.currentLine=7208962; + //BA.debugLineNum = 7208962;BA.debugLine="Log(itemselect2)"; +__c.LogImpl("87208962",__ref._itemselect2 /*String*/ ,0); +RDebugUtils.currentLine=7208963; + //BA.debugLineNum = 7208963;BA.debugLine="End Sub"; +return ""; +} +public String _cb_izqdel_selectedindexchanged(reparto_izca.keymon.lat.c_cheklist __ref,int _index) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "cb_izqdel_selectedindexchanged", false)) + {return ((String) Debug.delegate(ba, "cb_izqdel_selectedindexchanged", new Object[] {_index}));} +RDebugUtils.currentLine=7143424; + //BA.debugLineNum = 7143424;BA.debugLine="Private Sub cb_izqdel_SelectedIndexChanged (Index"; +RDebugUtils.currentLine=7143425; + //BA.debugLineNum = 7143425;BA.debugLine="itemselect1 = cb_izqdel.SelectedItem"; +__ref._itemselect1 /*String*/ = __ref._cb_izqdel /*reparto_izca.keymon.lat.b4xcombobox*/ ._getselecteditem /*String*/ (null); +RDebugUtils.currentLine=7143426; + //BA.debugLineNum = 7143426;BA.debugLine="Log(itemselect1)"; +__c.LogImpl("87143426",__ref._itemselect1 /*String*/ ,0); +RDebugUtils.currentLine=7143427; + //BA.debugLineNum = 7143427;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(reparto_izca.keymon.lat.c_cheklist __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +RDebugUtils.currentLine=4063232; + //BA.debugLineNum = 4063232;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=4063233; + //BA.debugLineNum = 4063233;BA.debugLine="Private Root As B4XView 'ignore"; +_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=4063234; + //BA.debugLineNum = 4063234;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=4063235; + //BA.debugLineNum = 4063235;BA.debugLine="Private p_check As Panel"; +_p_check = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=4063236; + //BA.debugLineNum = 4063236;BA.debugLine="Private sv_datos As ScrollView"; +_sv_datos = new anywheresoftware.b4a.objects.ScrollViewWrapper(); +RDebugUtils.currentLine=4063238; + //BA.debugLineNum = 4063238;BA.debugLine="Private camEx As CameraExClass"; +_camex = new reparto_izca.keymon.lat.cameraexclass(); +RDebugUtils.currentLine=4063239; + //BA.debugLineNum = 4063239;BA.debugLine="Dim frontCamera As Boolean = False"; +_frontcamera = __c.False; +RDebugUtils.currentLine=4063240; + //BA.debugLineNum = 4063240;BA.debugLine="Private p_cam As Panel"; +_p_cam = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=4063241; + //BA.debugLineNum = 4063241;BA.debugLine="Dim nombrefoto As String = \"0\""; +_nombrefoto = "0"; +RDebugUtils.currentLine=4063242; + //BA.debugLineNum = 4063242;BA.debugLine="Dim nombrefoto1 As String = \"0\""; +_nombrefoto1 = "0"; +RDebugUtils.currentLine=4063243; + //BA.debugLineNum = 4063243;BA.debugLine="Dim nombrefoto2 As String = \"0\""; +_nombrefoto2 = "0"; +RDebugUtils.currentLine=4063244; + //BA.debugLineNum = 4063244;BA.debugLine="Dim nombrefoto3 As String = \"0\""; +_nombrefoto3 = "0"; +RDebugUtils.currentLine=4063245; + //BA.debugLineNum = 4063245;BA.debugLine="Private p_camara As Panel"; +_p_camara = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=4063246; + //BA.debugLineNum = 4063246;BA.debugLine="Private teclado As IME"; +_teclado = new anywheresoftware.b4a.objects.IME(); +RDebugUtils.currentLine=4063247; + //BA.debugLineNum = 4063247;BA.debugLine="Dim fototomada As String"; +_fototomada = ""; +RDebugUtils.currentLine=4063248; + //BA.debugLineNum = 4063248;BA.debugLine="Private ImageView1 As ImageView"; +_imageview1 = new anywheresoftware.b4a.objects.ImageViewWrapper(); +RDebugUtils.currentLine=4063249; + //BA.debugLineNum = 4063249;BA.debugLine="Private ImageView3 As ImageView"; +_imageview3 = new anywheresoftware.b4a.objects.ImageViewWrapper(); +RDebugUtils.currentLine=4063250; + //BA.debugLineNum = 4063250;BA.debugLine="Private ImageView2 As ImageView"; +_imageview2 = new anywheresoftware.b4a.objects.ImageViewWrapper(); +RDebugUtils.currentLine=4063251; + //BA.debugLineNum = 4063251;BA.debugLine="Private ImageView4 As ImageView"; +_imageview4 = new anywheresoftware.b4a.objects.ImageViewWrapper(); +RDebugUtils.currentLine=4063252; + //BA.debugLineNum = 4063252;BA.debugLine="Private b_foto As Button"; +_b_foto = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=4063253; + //BA.debugLineNum = 4063253;BA.debugLine="Dim device As Phone"; +_device = new anywheresoftware.b4a.phone.Phone(); +RDebugUtils.currentLine=4063254; + //BA.debugLineNum = 4063254;BA.debugLine="Dim MES1 As ManageExternalStorage"; +_mes1 = new reparto_izca.keymon.lat.manageexternalstorage(); +RDebugUtils.currentLine=4063255; + //BA.debugLineNum = 4063255;BA.debugLine="Dim x As Int = 0"; +_x = (int) (0); +RDebugUtils.currentLine=4063256; + //BA.debugLineNum = 4063256;BA.debugLine="Private rb_docsi1 As RadioButton"; +_rb_docsi1 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=4063257; + //BA.debugLineNum = 4063257;BA.debugLine="Private rb_docno1 As RadioButton"; +_rb_docno1 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=4063258; + //BA.debugLineNum = 4063258;BA.debugLine="Private rb_docsi2 As RadioButton"; +_rb_docsi2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=4063259; + //BA.debugLineNum = 4063259;BA.debugLine="Private rb_docno2 As RadioButton"; +_rb_docno2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=4063260; + //BA.debugLineNum = 4063260;BA.debugLine="Private rb_docsi3 As RadioButton"; +_rb_docsi3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=4063261; + //BA.debugLineNum = 4063261;BA.debugLine="Private rb_docno3 As RadioButton"; +_rb_docno3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=4063262; + //BA.debugLineNum = 4063262;BA.debugLine="Private rb_docsi4 As RadioButton"; +_rb_docsi4 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=4063263; + //BA.debugLineNum = 4063263;BA.debugLine="Private rb_docno4 As RadioButton"; +_rb_docno4 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=4063264; + //BA.debugLineNum = 4063264;BA.debugLine="Private rb_docsi5 As RadioButton"; +_rb_docsi5 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=4063265; + //BA.debugLineNum = 4063265;BA.debugLine="Private rb_docno5 As RadioButton"; +_rb_docno5 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=4063266; + //BA.debugLineNum = 4063266;BA.debugLine="Private rb_docsi6 As RadioButton"; +_rb_docsi6 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=4063267; + //BA.debugLineNum = 4063267;BA.debugLine="Private rb_docno6 As RadioButton"; +_rb_docno6 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=4063268; + //BA.debugLineNum = 4063268;BA.debugLine="Private rb_docsi7 As RadioButton"; +_rb_docsi7 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=4063269; + //BA.debugLineNum = 4063269;BA.debugLine="Private rb_docno7 As RadioButton"; +_rb_docno7 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=4063270; + //BA.debugLineNum = 4063270;BA.debugLine="Private rb_docsi8 As RadioButton"; +_rb_docsi8 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=4063271; + //BA.debugLineNum = 4063271;BA.debugLine="Private rb_docno8 As RadioButton"; +_rb_docno8 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=4063272; + //BA.debugLineNum = 4063272;BA.debugLine="Private rb_docsi9 As RadioButton"; +_rb_docsi9 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=4063273; + //BA.debugLineNum = 4063273;BA.debugLine="Private rb_docno9 As RadioButton"; +_rb_docno9 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=4063274; + //BA.debugLineNum = 4063274;BA.debugLine="Private rb_docsi10 As RadioButton"; +_rb_docsi10 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=4063275; + //BA.debugLineNum = 4063275;BA.debugLine="Private rb_docno10 As RadioButton"; +_rb_docno10 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=4063276; + //BA.debugLineNum = 4063276;BA.debugLine="Private rb_docsi11 As RadioButton"; +_rb_docsi11 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=4063277; + //BA.debugLineNum = 4063277;BA.debugLine="Private rb_docno11 As RadioButton"; +_rb_docno11 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=4063278; + //BA.debugLineNum = 4063278;BA.debugLine="Private rb_docsi12 As RadioButton"; +_rb_docsi12 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=4063279; + //BA.debugLineNum = 4063279;BA.debugLine="Private rb_docno12 As RadioButton"; +_rb_docno12 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=4063280; + //BA.debugLineNum = 4063280;BA.debugLine="Private rb_docsi13 As RadioButton"; +_rb_docsi13 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=4063281; + //BA.debugLineNum = 4063281;BA.debugLine="Private rb_docno13 As RadioButton"; +_rb_docno13 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=4063282; + //BA.debugLineNum = 4063282;BA.debugLine="Private rb_docsi14 As RadioButton"; +_rb_docsi14 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=4063283; + //BA.debugLineNum = 4063283;BA.debugLine="Private rb_docno14 As RadioButton"; +_rb_docno14 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=4063284; + //BA.debugLineNum = 4063284;BA.debugLine="Private rb_docsi15 As RadioButton"; +_rb_docsi15 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=4063285; + //BA.debugLineNum = 4063285;BA.debugLine="Private rb_docno15 As RadioButton"; +_rb_docno15 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=4063286; + //BA.debugLineNum = 4063286;BA.debugLine="Private rb_docsi16 As RadioButton"; +_rb_docsi16 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=4063287; + //BA.debugLineNum = 4063287;BA.debugLine="Private rb_docno16 As RadioButton"; +_rb_docno16 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=4063288; + //BA.debugLineNum = 4063288;BA.debugLine="Private rb_docsi17 As RadioButton"; +_rb_docsi17 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=4063289; + //BA.debugLineNum = 4063289;BA.debugLine="Private rb_docno17 As RadioButton"; +_rb_docno17 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=4063290; + //BA.debugLineNum = 4063290;BA.debugLine="Private rb_docsi18 As RadioButton"; +_rb_docsi18 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=4063291; + //BA.debugLineNum = 4063291;BA.debugLine="Private rb_docno18 As RadioButton"; +_rb_docno18 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=4063292; + //BA.debugLineNum = 4063292;BA.debugLine="Private rb_docsi19 As RadioButton"; +_rb_docsi19 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=4063293; + //BA.debugLineNum = 4063293;BA.debugLine="Private rb_docno19 As RadioButton"; +_rb_docno19 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=4063294; + //BA.debugLineNum = 4063294;BA.debugLine="Private et_carroceria As EditText"; +_et_carroceria = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=4063295; + //BA.debugLineNum = 4063295;BA.debugLine="Private et_luces As EditText"; +_et_luces = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=4063296; + //BA.debugLineNum = 4063296;BA.debugLine="Private et_placas As EditText"; +_et_placas = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=4063297; + //BA.debugLineNum = 4063297;BA.debugLine="Private et_liquidos As EditText"; +_et_liquidos = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=4063299; + //BA.debugLineNum = 4063299;BA.debugLine="Dim p1 As String"; +_p1 = ""; +RDebugUtils.currentLine=4063300; + //BA.debugLineNum = 4063300;BA.debugLine="Dim p2 As String"; +_p2 = ""; +RDebugUtils.currentLine=4063301; + //BA.debugLineNum = 4063301;BA.debugLine="Dim p3 As String"; +_p3 = ""; +RDebugUtils.currentLine=4063302; + //BA.debugLineNum = 4063302;BA.debugLine="Dim p4 As String"; +_p4 = ""; +RDebugUtils.currentLine=4063303; + //BA.debugLineNum = 4063303;BA.debugLine="Dim p5 As String"; +_p5 = ""; +RDebugUtils.currentLine=4063304; + //BA.debugLineNum = 4063304;BA.debugLine="Dim p6 As String"; +_p6 = ""; +RDebugUtils.currentLine=4063305; + //BA.debugLineNum = 4063305;BA.debugLine="Dim p7 As String"; +_p7 = ""; +RDebugUtils.currentLine=4063306; + //BA.debugLineNum = 4063306;BA.debugLine="Dim p8 As String"; +_p8 = ""; +RDebugUtils.currentLine=4063307; + //BA.debugLineNum = 4063307;BA.debugLine="Dim p9 As String"; +_p9 = ""; +RDebugUtils.currentLine=4063308; + //BA.debugLineNum = 4063308;BA.debugLine="Dim p10 As String"; +_p10 = ""; +RDebugUtils.currentLine=4063309; + //BA.debugLineNum = 4063309;BA.debugLine="Dim p11 As String"; +_p11 = ""; +RDebugUtils.currentLine=4063310; + //BA.debugLineNum = 4063310;BA.debugLine="Dim p12 As String"; +_p12 = ""; +RDebugUtils.currentLine=4063311; + //BA.debugLineNum = 4063311;BA.debugLine="Dim p13 As String"; +_p13 = ""; +RDebugUtils.currentLine=4063312; + //BA.debugLineNum = 4063312;BA.debugLine="Dim p14 As String"; +_p14 = ""; +RDebugUtils.currentLine=4063313; + //BA.debugLineNum = 4063313;BA.debugLine="Dim p15 As String"; +_p15 = ""; +RDebugUtils.currentLine=4063314; + //BA.debugLineNum = 4063314;BA.debugLine="Dim p16 As String"; +_p16 = ""; +RDebugUtils.currentLine=4063315; + //BA.debugLineNum = 4063315;BA.debugLine="Dim p17 As String"; +_p17 = ""; +RDebugUtils.currentLine=4063316; + //BA.debugLineNum = 4063316;BA.debugLine="Dim p18 As String"; +_p18 = ""; +RDebugUtils.currentLine=4063317; + //BA.debugLineNum = 4063317;BA.debugLine="Dim p19 As String"; +_p19 = ""; +RDebugUtils.currentLine=4063318; + //BA.debugLineNum = 4063318;BA.debugLine="Private cb_izqdel As B4XComboBox"; +_cb_izqdel = new reparto_izca.keymon.lat.b4xcombobox(); +RDebugUtils.currentLine=4063319; + //BA.debugLineNum = 4063319;BA.debugLine="Private cb_derdel As B4XComboBox"; +_cb_derdel = new reparto_izca.keymon.lat.b4xcombobox(); +RDebugUtils.currentLine=4063320; + //BA.debugLineNum = 4063320;BA.debugLine="Private cb_izqatras As B4XComboBox"; +_cb_izqatras = new reparto_izca.keymon.lat.b4xcombobox(); +RDebugUtils.currentLine=4063321; + //BA.debugLineNum = 4063321;BA.debugLine="Private cb_deratras As B4XComboBox"; +_cb_deratras = new reparto_izca.keymon.lat.b4xcombobox(); +RDebugUtils.currentLine=4063322; + //BA.debugLineNum = 4063322;BA.debugLine="Dim itemselect1 As String"; +_itemselect1 = ""; +RDebugUtils.currentLine=4063323; + //BA.debugLineNum = 4063323;BA.debugLine="Dim itemselect2 As String"; +_itemselect2 = ""; +RDebugUtils.currentLine=4063324; + //BA.debugLineNum = 4063324;BA.debugLine="Dim itemselect3 As String"; +_itemselect3 = ""; +RDebugUtils.currentLine=4063325; + //BA.debugLineNum = 4063325;BA.debugLine="Dim itemselect4 As String"; +_itemselect4 = ""; +RDebugUtils.currentLine=4063326; + //BA.debugLineNum = 4063326;BA.debugLine="Dim foto1() As Byte"; +_foto1 = new byte[(int) (0)]; +; +RDebugUtils.currentLine=4063327; + //BA.debugLineNum = 4063327;BA.debugLine="Dim foto2() As Byte"; +_foto2 = new byte[(int) (0)]; +; +RDebugUtils.currentLine=4063328; + //BA.debugLineNum = 4063328;BA.debugLine="Dim foto3() As Byte"; +_foto3 = new byte[(int) (0)]; +; +RDebugUtils.currentLine=4063329; + //BA.debugLineNum = 4063329;BA.debugLine="Dim foto4() As Byte"; +_foto4 = new byte[(int) (0)]; +; +RDebugUtils.currentLine=4063330; + //BA.debugLineNum = 4063330;BA.debugLine="Dim c As Cursor"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=4063331; + //BA.debugLineNum = 4063331;BA.debugLine="Dim reqManager As DBRequestManager"; +_reqmanager = new reparto_izca.keymon.lat.dbrequestmanager(); +RDebugUtils.currentLine=4063332; + //BA.debugLineNum = 4063332;BA.debugLine="Private l_placa As Label"; +_l_placa = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=4063333; + //BA.debugLineNum = 4063333;BA.debugLine="Private et_km As EditText"; +_et_km = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=4063334; + //BA.debugLineNum = 4063334;BA.debugLine="End Sub"; +return ""; +} +public String _imageview1_click(reparto_izca.keymon.lat.c_cheklist __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "imageview1_click", false)) + {return ((String) Debug.delegate(ba, "imageview1_click", null));} +RDebugUtils.currentLine=4784128; + //BA.debugLineNum = 4784128;BA.debugLine="Private Sub ImageView1_Click"; +RDebugUtils.currentLine=4784130; + //BA.debugLineNum = 4784130;BA.debugLine="x = 1"; +__ref._x /*int*/ = (int) (1); +RDebugUtils.currentLine=4784131; + //BA.debugLineNum = 4784131;BA.debugLine="InitializeCamera2"; +__ref._initializecamera2 /*void*/ (null); +RDebugUtils.currentLine=4784132; + //BA.debugLineNum = 4784132;BA.debugLine="p_camara.Visible = True"; +__ref._p_camara /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=4784134; + //BA.debugLineNum = 4784134;BA.debugLine="End Sub"; +return ""; +} +public void _initializecamera2(reparto_izca.keymon.lat.c_cheklist __ref) throws Exception{ +RDebugUtils.currentModule="c_cheklist"; +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(reparto_izca.keymon.lat.c_cheklist parent,reparto_izca.keymon.lat.c_cheklist __ref) { +this.parent = parent; +this.__ref = __ref; +this.__ref = parent; +} +reparto_izca.keymon.lat.c_cheklist __ref; +reparto_izca.keymon.lat.c_cheklist parent; +String _permission = ""; +boolean _result = false; + +@Override +public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="c_cheklist"; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +RDebugUtils.currentLine=4390913; + //BA.debugLineNum = 4390913;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); +RDebugUtils.currentLine=4390914; + //BA.debugLineNum = 4390914;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As"; +parent.__c.WaitFor("b4xpage_permissionresult", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cheklist", "initializecamera2"), null); +this.state = 7; +return; +case 7: +//C +this.state = 1; +_permission = (String) result[1]; +_result = (Boolean) result[2]; +; +RDebugUtils.currentLine=4390915; + //BA.debugLineNum = 4390915;BA.debugLine="If Result Then"; +if (true) break; + +case 1: +//if +this.state = 6; +if (_result) { +this.state = 3; +}else { +this.state = 5; +}if (true) break; + +case 3: +//C +this.state = 6; +RDebugUtils.currentLine=4390916; + //BA.debugLineNum = 4390916;BA.debugLine="camEx.Initialize(p_cam, frontCamera, Me, \"Camera"; +__ref._camex /*reparto_izca.keymon.lat.cameraexclass*/ ._initialize /*String*/ (null,ba,__ref._p_cam /*anywheresoftware.b4a.objects.PanelWrapper*/ ,__ref._frontcamera /*boolean*/ ,parent,"Camera1"); +RDebugUtils.currentLine=4390917; + //BA.debugLineNum = 4390917;BA.debugLine="frontCamera = camEx.Front"; +__ref._frontcamera /*boolean*/ = __ref._camex /*reparto_izca.keymon.lat.cameraexclass*/ ._front /*boolean*/ ; +RDebugUtils.currentLine=4390918; + //BA.debugLineNum = 4390918;BA.debugLine="Log(\"inicializamos Camara\")"; +parent.__c.LogImpl("84390918","inicializamos Camara",0); + if (true) break; + +case 5: +//C +this.state = 6; +RDebugUtils.currentLine=4390920; + //BA.debugLineNum = 4390920;BA.debugLine="ToastMessageShow(\"No permission Camara!!!\", True"; +parent.__c.ToastMessageShow(BA.ObjectToCharSequence("No permission Camara!!!"),parent.__c.True); + if (true) break; + +case 6: +//C +this.state = -1; +; +RDebugUtils.currentLine=4390922; + //BA.debugLineNum = 4390922;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public String _imageview2_click(reparto_izca.keymon.lat.c_cheklist __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "imageview2_click", false)) + {return ((String) Debug.delegate(ba, "imageview2_click", null));} +RDebugUtils.currentLine=4849664; + //BA.debugLineNum = 4849664;BA.debugLine="Private Sub ImageView2_Click"; +RDebugUtils.currentLine=4849666; + //BA.debugLineNum = 4849666;BA.debugLine="x = 2"; +__ref._x /*int*/ = (int) (2); +RDebugUtils.currentLine=4849667; + //BA.debugLineNum = 4849667;BA.debugLine="InitializeCamera2"; +__ref._initializecamera2 /*void*/ (null); +RDebugUtils.currentLine=4849668; + //BA.debugLineNum = 4849668;BA.debugLine="p_camara.Visible = True"; +__ref._p_camara /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=4849670; + //BA.debugLineNum = 4849670;BA.debugLine="End Sub"; +return ""; +} +public String _imageview3_click(reparto_izca.keymon.lat.c_cheklist __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "imageview3_click", false)) + {return ((String) Debug.delegate(ba, "imageview3_click", null));} +RDebugUtils.currentLine=4915200; + //BA.debugLineNum = 4915200;BA.debugLine="Private Sub ImageView3_Click"; +RDebugUtils.currentLine=4915202; + //BA.debugLineNum = 4915202;BA.debugLine="x = 3"; +__ref._x /*int*/ = (int) (3); +RDebugUtils.currentLine=4915203; + //BA.debugLineNum = 4915203;BA.debugLine="InitializeCamera2"; +__ref._initializecamera2 /*void*/ (null); +RDebugUtils.currentLine=4915204; + //BA.debugLineNum = 4915204;BA.debugLine="p_camara.Visible = True"; +__ref._p_camara /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=4915206; + //BA.debugLineNum = 4915206;BA.debugLine="End Sub"; +return ""; +} +public String _imageview4_click(reparto_izca.keymon.lat.c_cheklist __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "imageview4_click", false)) + {return ((String) Debug.delegate(ba, "imageview4_click", null));} +RDebugUtils.currentLine=4980736; + //BA.debugLineNum = 4980736;BA.debugLine="Private Sub ImageView4_Click"; +RDebugUtils.currentLine=4980738; + //BA.debugLineNum = 4980738;BA.debugLine="x = 4"; +__ref._x /*int*/ = (int) (4); +RDebugUtils.currentLine=4980739; + //BA.debugLineNum = 4980739;BA.debugLine="InitializeCamera2"; +__ref._initializecamera2 /*void*/ (null); +RDebugUtils.currentLine=4980740; + //BA.debugLineNum = 4980740;BA.debugLine="p_camara.Visible = True"; +__ref._p_camara /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=4980742; + //BA.debugLineNum = 4980742;BA.debugLine="End Sub"; +return ""; +} +public String _jobdone(reparto_izca.keymon.lat.c_cheklist __ref,reparto_izca.keymon.lat.httpjob _job) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "jobdone", false)) + {return ((String) Debug.delegate(ba, "jobdone", new Object[] {_job}));} +reparto_izca.keymon.lat.dbrequestmanager._dbresult _resultado = null; +String _cliente = ""; +int _i = 0; +reparto_izca.keymon.lat.dbrequestmanager._dbcommand _cmd = null; +Object[] _records = null; +String _k = ""; +RDebugUtils.currentLine=7536640; + //BA.debugLineNum = 7536640;BA.debugLine="Sub JobDone(Job As HttpJob)"; +RDebugUtils.currentLine=7536641; + //BA.debugLineNum = 7536641;BA.debugLine="Log(\"JOBDONE CLIENTE . \" & Job.Success)"; +__c.LogImpl("87536641","JOBDONE CLIENTE . "+BA.ObjectToString(_job._success /*boolean*/ ),0); +RDebugUtils.currentLine=7536642; + //BA.debugLineNum = 7536642;BA.debugLine="If Job.Success = False Then"; +if (_job._success /*boolean*/ ==__c.False) { +RDebugUtils.currentLine=7536645; + //BA.debugLineNum = 7536645;BA.debugLine="LogColor(\"Error: \" & Job.tag & \" : \" & Job.Error"; +__c.LogImpl("87536645","Error: "+BA.ObjectToString(_job._tag /*Object*/ )+" : "+_job._errormessage /*String*/ ,__c.Colors.Blue); + }else { +RDebugUtils.currentLine=7536647; + //BA.debugLineNum = 7536647;BA.debugLine="LogColor(\"JobDone: '\" & reqManager.HandleJob(Job"; +__c.LogImpl("87536647","JobDone: '"+BA.ObjectToString(__ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (null,_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(__ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (null,_job).Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),__c.Colors.Green); +RDebugUtils.currentLine=7536648; + //BA.debugLineNum = 7536648;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=7536649; + //BA.debugLineNum = 7536649;BA.debugLine="Dim resultado As DBResult = reqManager.HandleJo"; +_resultado = __ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=7536650; + //BA.debugLineNum = 7536650;BA.debugLine="If resultado.Tag.As(String).IndexOf(\"ins_checkl"; +if ((BA.ObjectToString(_resultado.Tag /*Object*/ )).indexOf("ins_checkliPendientes_head_")>-1) { +RDebugUtils.currentLine=7536651; + //BA.debugLineNum = 7536651;BA.debugLine="Private cliente As String= resultado.Tag"; +_cliente = BA.ObjectToString(_resultado.Tag /*Object*/ ); +RDebugUtils.currentLine=7536652; + //BA.debugLineNum = 7536652;BA.debugLine="cliente = cliente.SubString(cliente.IndexOf(\"_"; +_cliente = _cliente.substring((int) (_cliente.indexOf("_")+24)); +RDebugUtils.currentLine=7536653; + //BA.debugLineNum = 7536653;BA.debugLine="Log($\"Cliente1:${cliente}\"$)"; +__c.LogImpl("87536653",("Cliente1:"+__c.SmartStringFormatter("",(Object)(_cliente))+""),0); +RDebugUtils.currentLine=7536655; + //BA.debugLineNum = 7536655;BA.debugLine="c=Starter.skmt.ExecQuery(\"SELECT USUARIO, PLAC"; +__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, PLACA, FECHA_CAPTURA, TARJETA_CIRCULACION , POLIZA_SEGURO, LICENCIA_CONDUCIR, LIMPIA_EXTERNA, LIMPIA_INTERNA, TRIANGULO, GATO, LLANTA_REFACCION, CARROCERIA, CARROCERIA_COMENTARIOS, LUCES, LUCES_COMENTARIOS, CONDICION_PLACAS, CONDICION_PLACAS_COMENTARIOS, CONDICION_LLANTAS_DEL_DER, CONDICION_LLANTAS_DEL_IZQ, CONDICION_LLANTAS_TRASERA_DER, CONDICION_LLANTAS_TRASERA_IZQ, ACEITE, ANTICONGELANTE, FRENOS, AIRE, FUGAS, COMETARIOS_FUGAS, FOTO1, FOTO12, FOTO3, FOTO4, KILIMETRAJE, RUTA FROM CHECKLIST2"))); +RDebugUtils.currentLine=7536656; + //BA.debugLineNum = 7536656;BA.debugLine="Log($\"Pedido PENDIENTE: ${c.RowCount}\"$)"; +__c.LogImpl("87536656",("Pedido PENDIENTE: "+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()))+""),0); +RDebugUtils.currentLine=7536657; + //BA.debugLineNum = 7536657;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=7536658; + //BA.debugLineNum = 7536658;BA.debugLine="For i = 0 To c.RowCount -1"; +{ +final int step15 = 1; +final int limit15 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit15 ;_i = _i + step15 ) { +RDebugUtils.currentLine=7536659; + //BA.debugLineNum = 7536659;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=7536660; + //BA.debugLineNum = 7536660;BA.debugLine="Dim cmd As DBCommand"; +_cmd = new reparto_izca.keymon.lat.dbrequestmanager._dbcommand(); +RDebugUtils.currentLine=7536662; + //BA.debugLineNum = 7536662;BA.debugLine="foto1 = c.GetBlob(\"FOTO1\")"; +__ref._foto1 /*byte[]*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetBlob("FOTO1"); +RDebugUtils.currentLine=7536663; + //BA.debugLineNum = 7536663;BA.debugLine="foto2 = c.GetBlob(\"FOTO12\")"; +__ref._foto2 /*byte[]*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetBlob("FOTO12"); +RDebugUtils.currentLine=7536664; + //BA.debugLineNum = 7536664;BA.debugLine="foto3 = c.GetBlob(\"FOTO3\")"; +__ref._foto3 /*byte[]*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetBlob("FOTO3"); +RDebugUtils.currentLine=7536665; + //BA.debugLineNum = 7536665;BA.debugLine="foto4 = c.GetBlob(\"FOTO4\")"; +__ref._foto4 /*byte[]*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetBlob("FOTO4"); +RDebugUtils.currentLine=7536667; + //BA.debugLineNum = 7536667;BA.debugLine="cmd.Initialize"; +_cmd.Initialize(); +RDebugUtils.currentLine=7536668; + //BA.debugLineNum = 7536668;BA.debugLine="cmd.Name = \"update_CHECK_MARDS\""; +_cmd.Name /*String*/ = "update_CHECK_MARDS"; +RDebugUtils.currentLine=7536669; + //BA.debugLineNum = 7536669;BA.debugLine="cmd.Parameters = Array As Object(c.GetString"; +_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CONDICION_LLANTAS_DEL_DER")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CONDICION_LLANTAS_DEL_IZQ")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CONDICION_LLANTAS_TRASERA_DER")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CONDICION_LLANTAS_TRASERA_IZQ")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("ACEITE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("ANTICONGELANTE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("FRENOS")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("AIRE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("FUGAS")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("COMETARIOS_FUGAS")),(Object)(__ref._foto1 /*byte[]*/ ),(Object)(__ref._foto2 /*byte[]*/ ),(Object)(__ref._foto3 /*byte[]*/ ),(Object)(__ref._foto4 /*byte[]*/ ),(Object)(_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._principal /*reparto_izca.keymon.lat.c_principal*/ ._almacen /*String*/ ),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("KILIMETRAJE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("RUTA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PLACA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("FECHA_CAPTURA"))}; +RDebugUtils.currentLine=7536670; + //BA.debugLineNum = 7536670;BA.debugLine="reqManager.ExecuteCommand(cmd , \"update\")"; +__ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._executecommand /*String*/ (null,_cmd,(Object)("update")); + } +}; + }; +RDebugUtils.currentLine=7536674; + //BA.debugLineNum = 7536674;BA.debugLine="For Each records() As Object In resultado.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group28 = _resultado.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen28 = group28.getSize() +;int index28 = 0; +; +for (; index28 < groupLen28;index28++){ +_records = (Object[])(group28.Get(index28)); +RDebugUtils.currentLine=7536675; + //BA.debugLineNum = 7536675;BA.debugLine="For Each k As String In resultado.Columns.Key"; +{ +final anywheresoftware.b4a.BA.IterableList group29 = _resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Keys(); +final int groupLen29 = group29.getSize() +;int index29 = 0; +; +for (; index29 < groupLen29;index29++){ +_k = BA.ObjectToString(group29.Get(index29)); +RDebugUtils.currentLine=7536676; + //BA.debugLineNum = 7536676;BA.debugLine="Log(resultado.Tag & \": \" & k & \": \" & record"; +__c.LogImpl("87536676",BA.ObjectToString(_resultado.Tag /*Object*/ )+": "+_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0); + } +}; + } +}; +RDebugUtils.currentLine=7536679; + //BA.debugLineNum = 7536679;BA.debugLine="Starter.skmt.ExecNonQuery(\"UPDATE CHECADO_CHEC"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("UPDATE CHECADO_CHECK set CHECADO = 1 "); +RDebugUtils.currentLine=7536680; + //BA.debugLineNum = 7536680;BA.debugLine="B4XPages.MainPage.principal.checachek"; +_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._principal /*reparto_izca.keymon.lat.c_principal*/ ._checachek /*String*/ (null); + }; + }; +RDebugUtils.currentLine=7536684; + //BA.debugLineNum = 7536684;BA.debugLine="Job.Release"; +_job._release /*String*/ (null); + }; +RDebugUtils.currentLine=7536687; + //BA.debugLineNum = 7536687;BA.debugLine="End Sub"; +return ""; +} +public String _p_camara_click(reparto_izca.keymon.lat.c_cheklist __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "p_camara_click", false)) + {return ((String) Debug.delegate(ba, "p_camara_click", null));} +RDebugUtils.currentLine=4587520; + //BA.debugLineNum = 4587520;BA.debugLine="Private Sub p_camara_Click"; +RDebugUtils.currentLine=4587522; + //BA.debugLineNum = 4587522;BA.debugLine="End Sub"; +return ""; +} +public String _rb_docno1_checkedchange(reparto_izca.keymon.lat.c_cheklist __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "rb_docno1_checkedchange", false)) + {return ((String) Debug.delegate(ba, "rb_docno1_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=5046272; + //BA.debugLineNum = 5046272;BA.debugLine="Private Sub rb_docno1_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=5046273; + //BA.debugLineNum = 5046273;BA.debugLine="p1 = \"No\""; +__ref._p1 /*String*/ = "No"; +RDebugUtils.currentLine=5046274; + //BA.debugLineNum = 5046274;BA.debugLine="End Sub"; +return ""; +} +public String _rb_docno11_checkedchange(reparto_izca.keymon.lat.c_cheklist __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "rb_docno11_checkedchange", false)) + {return ((String) Debug.delegate(ba, "rb_docno11_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=6225920; + //BA.debugLineNum = 6225920;BA.debugLine="Private Sub rb_docno11_CheckedChange(Checked As Bo"; +RDebugUtils.currentLine=6225921; + //BA.debugLineNum = 6225921;BA.debugLine="p11 = \"Incorrecto\""; +__ref._p11 /*String*/ = "Incorrecto"; +RDebugUtils.currentLine=6225922; + //BA.debugLineNum = 6225922;BA.debugLine="End Sub"; +return ""; +} +public String _rb_docno13_checkedchange(reparto_izca.keymon.lat.c_cheklist __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "rb_docno13_checkedchange", false)) + {return ((String) Debug.delegate(ba, "rb_docno13_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=6356992; + //BA.debugLineNum = 6356992;BA.debugLine="Private Sub rb_docno13_CheckedChange(Checked As Bo"; +RDebugUtils.currentLine=6356993; + //BA.debugLineNum = 6356993;BA.debugLine="p13 = \"Incorrecto\""; +__ref._p13 /*String*/ = "Incorrecto"; +RDebugUtils.currentLine=6356994; + //BA.debugLineNum = 6356994;BA.debugLine="End Sub"; +return ""; +} +public String _rb_docno15_checkedchange(reparto_izca.keymon.lat.c_cheklist __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "rb_docno15_checkedchange", false)) + {return ((String) Debug.delegate(ba, "rb_docno15_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=6488064; + //BA.debugLineNum = 6488064;BA.debugLine="Private Sub rb_docno15_CheckedChange(Checked As Bo"; +RDebugUtils.currentLine=6488065; + //BA.debugLineNum = 6488065;BA.debugLine="p15 = \"Incorrecto\""; +__ref._p15 /*String*/ = "Incorrecto"; +RDebugUtils.currentLine=6488066; + //BA.debugLineNum = 6488066;BA.debugLine="End Sub"; +return ""; +} +public String _rb_docno16_checkedchange(reparto_izca.keymon.lat.c_cheklist __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "rb_docno16_checkedchange", false)) + {return ((String) Debug.delegate(ba, "rb_docno16_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=6619136; + //BA.debugLineNum = 6619136;BA.debugLine="Private Sub rb_docno16_CheckedChange(Checked As Bo"; +RDebugUtils.currentLine=6619137; + //BA.debugLineNum = 6619137;BA.debugLine="p16 = \"Incorrecto\""; +__ref._p16 /*String*/ = "Incorrecto"; +RDebugUtils.currentLine=6619138; + //BA.debugLineNum = 6619138;BA.debugLine="End Sub"; +return ""; +} +public String _rb_docno17_checkedchange(reparto_izca.keymon.lat.c_cheklist __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "rb_docno17_checkedchange", false)) + {return ((String) Debug.delegate(ba, "rb_docno17_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=6750208; + //BA.debugLineNum = 6750208;BA.debugLine="Private Sub rb_docno17_CheckedChange(Checked As Bo"; +RDebugUtils.currentLine=6750209; + //BA.debugLineNum = 6750209;BA.debugLine="p17 = \"Incorrecto\""; +__ref._p17 /*String*/ = "Incorrecto"; +RDebugUtils.currentLine=6750210; + //BA.debugLineNum = 6750210;BA.debugLine="End Sub"; +return ""; +} +public String _rb_docno18_checkedchange(reparto_izca.keymon.lat.c_cheklist __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "rb_docno18_checkedchange", false)) + {return ((String) Debug.delegate(ba, "rb_docno18_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=6881280; + //BA.debugLineNum = 6881280;BA.debugLine="Private Sub rb_docno18_CheckedChange(Checked As Bo"; +RDebugUtils.currentLine=6881281; + //BA.debugLineNum = 6881281;BA.debugLine="p18 = \"Incorrecto\""; +__ref._p18 /*String*/ = "Incorrecto"; +RDebugUtils.currentLine=6881282; + //BA.debugLineNum = 6881282;BA.debugLine="End Sub"; +return ""; +} +public String _rb_docno19_checkedchange(reparto_izca.keymon.lat.c_cheklist __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "rb_docno19_checkedchange", false)) + {return ((String) Debug.delegate(ba, "rb_docno19_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=7012352; + //BA.debugLineNum = 7012352;BA.debugLine="Private Sub rb_docno19_CheckedChange(Checked As Bo"; +RDebugUtils.currentLine=7012353; + //BA.debugLineNum = 7012353;BA.debugLine="p19 = \"Incorrecto\""; +__ref._p19 /*String*/ = "Incorrecto"; +RDebugUtils.currentLine=7012354; + //BA.debugLineNum = 7012354;BA.debugLine="End Sub"; +return ""; +} +public String _rb_docno2_checkedchange(reparto_izca.keymon.lat.c_cheklist __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "rb_docno2_checkedchange", false)) + {return ((String) Debug.delegate(ba, "rb_docno2_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=5177344; + //BA.debugLineNum = 5177344;BA.debugLine="Private Sub rb_docno2_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=5177345; + //BA.debugLineNum = 5177345;BA.debugLine="p2 = \"No\""; +__ref._p2 /*String*/ = "No"; +RDebugUtils.currentLine=5177346; + //BA.debugLineNum = 5177346;BA.debugLine="End Sub"; +return ""; +} +public String _rb_docno3_checkedchange(reparto_izca.keymon.lat.c_cheklist __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "rb_docno3_checkedchange", false)) + {return ((String) Debug.delegate(ba, "rb_docno3_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=5308416; + //BA.debugLineNum = 5308416;BA.debugLine="Private Sub rb_docno3_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=5308417; + //BA.debugLineNum = 5308417;BA.debugLine="p3 = \"No\""; +__ref._p3 /*String*/ = "No"; +RDebugUtils.currentLine=5308418; + //BA.debugLineNum = 5308418;BA.debugLine="End Sub"; +return ""; +} +public String _rb_docno4_checkedchange(reparto_izca.keymon.lat.c_cheklist __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "rb_docno4_checkedchange", false)) + {return ((String) Debug.delegate(ba, "rb_docno4_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=5439488; + //BA.debugLineNum = 5439488;BA.debugLine="Private Sub rb_docno4_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=5439489; + //BA.debugLineNum = 5439489;BA.debugLine="p4 = \"No\""; +__ref._p4 /*String*/ = "No"; +RDebugUtils.currentLine=5439490; + //BA.debugLineNum = 5439490;BA.debugLine="End Sub"; +return ""; +} +public String _rb_docno5_checkedchange(reparto_izca.keymon.lat.c_cheklist __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "rb_docno5_checkedchange", false)) + {return ((String) Debug.delegate(ba, "rb_docno5_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=5570560; + //BA.debugLineNum = 5570560;BA.debugLine="Private Sub rb_docno5_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=5570561; + //BA.debugLineNum = 5570561;BA.debugLine="p5 = \"No\""; +__ref._p5 /*String*/ = "No"; +RDebugUtils.currentLine=5570562; + //BA.debugLineNum = 5570562;BA.debugLine="End Sub"; +return ""; +} +public String _rb_docno6_checkedchange(reparto_izca.keymon.lat.c_cheklist __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "rb_docno6_checkedchange", false)) + {return ((String) Debug.delegate(ba, "rb_docno6_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=5701632; + //BA.debugLineNum = 5701632;BA.debugLine="Private Sub rb_docno6_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=5701633; + //BA.debugLineNum = 5701633;BA.debugLine="p6 = \"No\""; +__ref._p6 /*String*/ = "No"; +RDebugUtils.currentLine=5701634; + //BA.debugLineNum = 5701634;BA.debugLine="End Sub"; +return ""; +} +public String _rb_docno7_checkedchange(reparto_izca.keymon.lat.c_cheklist __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "rb_docno7_checkedchange", false)) + {return ((String) Debug.delegate(ba, "rb_docno7_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=5832704; + //BA.debugLineNum = 5832704;BA.debugLine="Private Sub rb_docno7_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=5832705; + //BA.debugLineNum = 5832705;BA.debugLine="p7 = \"No\""; +__ref._p7 /*String*/ = "No"; +RDebugUtils.currentLine=5832706; + //BA.debugLineNum = 5832706;BA.debugLine="End Sub"; +return ""; +} +public String _rb_docno8_checkedchange(reparto_izca.keymon.lat.c_cheklist __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "rb_docno8_checkedchange", false)) + {return ((String) Debug.delegate(ba, "rb_docno8_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=5963776; + //BA.debugLineNum = 5963776;BA.debugLine="Private Sub rb_docno8_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=5963777; + //BA.debugLineNum = 5963777;BA.debugLine="p8 = \"No\""; +__ref._p8 /*String*/ = "No"; +RDebugUtils.currentLine=5963778; + //BA.debugLineNum = 5963778;BA.debugLine="End Sub"; +return ""; +} +public String _rb_docno9_checkedchange(reparto_izca.keymon.lat.c_cheklist __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "rb_docno9_checkedchange", false)) + {return ((String) Debug.delegate(ba, "rb_docno9_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=6094848; + //BA.debugLineNum = 6094848;BA.debugLine="Private Sub rb_docno9_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=6094849; + //BA.debugLineNum = 6094849;BA.debugLine="p9 = \"Incorrecto\""; +__ref._p9 /*String*/ = "Incorrecto"; +RDebugUtils.currentLine=6094850; + //BA.debugLineNum = 6094850;BA.debugLine="End Sub"; +return ""; +} +public String _rb_docsi1_checkedchange(reparto_izca.keymon.lat.c_cheklist __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "rb_docsi1_checkedchange", false)) + {return ((String) Debug.delegate(ba, "rb_docsi1_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=5111808; + //BA.debugLineNum = 5111808;BA.debugLine="Private Sub rb_docsi1_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=5111809; + //BA.debugLineNum = 5111809;BA.debugLine="p1 = \"Si\""; +__ref._p1 /*String*/ = "Si"; +RDebugUtils.currentLine=5111810; + //BA.debugLineNum = 5111810;BA.debugLine="End Sub"; +return ""; +} +public String _rb_docsi11_checkedchange(reparto_izca.keymon.lat.c_cheklist __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "rb_docsi11_checkedchange", false)) + {return ((String) Debug.delegate(ba, "rb_docsi11_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=6291456; + //BA.debugLineNum = 6291456;BA.debugLine="Private Sub rb_docsi11_CheckedChange(Checked As Bo"; +RDebugUtils.currentLine=6291457; + //BA.debugLineNum = 6291457;BA.debugLine="p11 = \"Correcto\""; +__ref._p11 /*String*/ = "Correcto"; +RDebugUtils.currentLine=6291458; + //BA.debugLineNum = 6291458;BA.debugLine="End Sub"; +return ""; +} +public String _rb_docsi13_checkedchange(reparto_izca.keymon.lat.c_cheklist __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "rb_docsi13_checkedchange", false)) + {return ((String) Debug.delegate(ba, "rb_docsi13_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=6422528; + //BA.debugLineNum = 6422528;BA.debugLine="Private Sub rb_docsi13_CheckedChange(Checked As Bo"; +RDebugUtils.currentLine=6422529; + //BA.debugLineNum = 6422529;BA.debugLine="p13 = \"Correcto\""; +__ref._p13 /*String*/ = "Correcto"; +RDebugUtils.currentLine=6422530; + //BA.debugLineNum = 6422530;BA.debugLine="End Sub"; +return ""; +} +public String _rb_docsi15_checkedchange(reparto_izca.keymon.lat.c_cheklist __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "rb_docsi15_checkedchange", false)) + {return ((String) Debug.delegate(ba, "rb_docsi15_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=6553600; + //BA.debugLineNum = 6553600;BA.debugLine="Private Sub rb_docsi15_CheckedChange(Checked As Bo"; +RDebugUtils.currentLine=6553601; + //BA.debugLineNum = 6553601;BA.debugLine="p15 = \"Correcto\""; +__ref._p15 /*String*/ = "Correcto"; +RDebugUtils.currentLine=6553602; + //BA.debugLineNum = 6553602;BA.debugLine="End Sub"; +return ""; +} +public String _rb_docsi16_checkedchange(reparto_izca.keymon.lat.c_cheklist __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "rb_docsi16_checkedchange", false)) + {return ((String) Debug.delegate(ba, "rb_docsi16_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=6684672; + //BA.debugLineNum = 6684672;BA.debugLine="Private Sub rb_docsi16_CheckedChange(Checked As Bo"; +RDebugUtils.currentLine=6684673; + //BA.debugLineNum = 6684673;BA.debugLine="p16 = \"Correcto\""; +__ref._p16 /*String*/ = "Correcto"; +RDebugUtils.currentLine=6684674; + //BA.debugLineNum = 6684674;BA.debugLine="End Sub"; +return ""; +} +public String _rb_docsi17_checkedchange(reparto_izca.keymon.lat.c_cheklist __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "rb_docsi17_checkedchange", false)) + {return ((String) Debug.delegate(ba, "rb_docsi17_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=6815744; + //BA.debugLineNum = 6815744;BA.debugLine="Private Sub rb_docsi17_CheckedChange(Checked As Bo"; +RDebugUtils.currentLine=6815745; + //BA.debugLineNum = 6815745;BA.debugLine="p17 = \"Correcto\""; +__ref._p17 /*String*/ = "Correcto"; +RDebugUtils.currentLine=6815746; + //BA.debugLineNum = 6815746;BA.debugLine="End Sub"; +return ""; +} +public String _rb_docsi18_checkedchange(reparto_izca.keymon.lat.c_cheklist __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "rb_docsi18_checkedchange", false)) + {return ((String) Debug.delegate(ba, "rb_docsi18_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=6946816; + //BA.debugLineNum = 6946816;BA.debugLine="Private Sub rb_docsi18_CheckedChange(Checked As Bo"; +RDebugUtils.currentLine=6946817; + //BA.debugLineNum = 6946817;BA.debugLine="p18 = \"Correcto\""; +__ref._p18 /*String*/ = "Correcto"; +RDebugUtils.currentLine=6946818; + //BA.debugLineNum = 6946818;BA.debugLine="End Sub"; +return ""; +} +public String _rb_docsi19_checkedchange(reparto_izca.keymon.lat.c_cheklist __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "rb_docsi19_checkedchange", false)) + {return ((String) Debug.delegate(ba, "rb_docsi19_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=7077888; + //BA.debugLineNum = 7077888;BA.debugLine="Private Sub rb_docsi19_CheckedChange(Checked As Bo"; +RDebugUtils.currentLine=7077889; + //BA.debugLineNum = 7077889;BA.debugLine="p19 = \"Correcto\""; +__ref._p19 /*String*/ = "Correcto"; +RDebugUtils.currentLine=7077890; + //BA.debugLineNum = 7077890;BA.debugLine="End Sub"; +return ""; +} +public String _rb_docsi2_checkedchange(reparto_izca.keymon.lat.c_cheklist __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "rb_docsi2_checkedchange", false)) + {return ((String) Debug.delegate(ba, "rb_docsi2_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=5242880; + //BA.debugLineNum = 5242880;BA.debugLine="Private Sub rb_docsi2_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=5242881; + //BA.debugLineNum = 5242881;BA.debugLine="p2 = \"Si\""; +__ref._p2 /*String*/ = "Si"; +RDebugUtils.currentLine=5242882; + //BA.debugLineNum = 5242882;BA.debugLine="End Sub"; +return ""; +} +public String _rb_docsi3_checkedchange(reparto_izca.keymon.lat.c_cheklist __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "rb_docsi3_checkedchange", false)) + {return ((String) Debug.delegate(ba, "rb_docsi3_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=5373952; + //BA.debugLineNum = 5373952;BA.debugLine="Private Sub rb_docsi3_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=5373953; + //BA.debugLineNum = 5373953;BA.debugLine="p3 = \"Si\""; +__ref._p3 /*String*/ = "Si"; +RDebugUtils.currentLine=5373954; + //BA.debugLineNum = 5373954;BA.debugLine="End Sub"; +return ""; +} +public String _rb_docsi4_checkedchange(reparto_izca.keymon.lat.c_cheklist __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "rb_docsi4_checkedchange", false)) + {return ((String) Debug.delegate(ba, "rb_docsi4_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=5505024; + //BA.debugLineNum = 5505024;BA.debugLine="Private Sub rb_docsi4_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=5505025; + //BA.debugLineNum = 5505025;BA.debugLine="p4 = \"Si\""; +__ref._p4 /*String*/ = "Si"; +RDebugUtils.currentLine=5505026; + //BA.debugLineNum = 5505026;BA.debugLine="End Sub"; +return ""; +} +public String _rb_docsi5_checkedchange(reparto_izca.keymon.lat.c_cheklist __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "rb_docsi5_checkedchange", false)) + {return ((String) Debug.delegate(ba, "rb_docsi5_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=5636096; + //BA.debugLineNum = 5636096;BA.debugLine="Private Sub rb_docsi5_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=5636097; + //BA.debugLineNum = 5636097;BA.debugLine="p5 = \"Si\""; +__ref._p5 /*String*/ = "Si"; +RDebugUtils.currentLine=5636098; + //BA.debugLineNum = 5636098;BA.debugLine="End Sub"; +return ""; +} +public String _rb_docsi6_checkedchange(reparto_izca.keymon.lat.c_cheklist __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "rb_docsi6_checkedchange", false)) + {return ((String) Debug.delegate(ba, "rb_docsi6_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=5767168; + //BA.debugLineNum = 5767168;BA.debugLine="Private Sub rb_docsi6_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=5767169; + //BA.debugLineNum = 5767169;BA.debugLine="p6 = \"Si\""; +__ref._p6 /*String*/ = "Si"; +RDebugUtils.currentLine=5767170; + //BA.debugLineNum = 5767170;BA.debugLine="End Sub"; +return ""; +} +public String _rb_docsi7_checkedchange(reparto_izca.keymon.lat.c_cheklist __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "rb_docsi7_checkedchange", false)) + {return ((String) Debug.delegate(ba, "rb_docsi7_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=5898240; + //BA.debugLineNum = 5898240;BA.debugLine="Private Sub rb_docsi7_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=5898241; + //BA.debugLineNum = 5898241;BA.debugLine="p7 = \"Si\""; +__ref._p7 /*String*/ = "Si"; +RDebugUtils.currentLine=5898242; + //BA.debugLineNum = 5898242;BA.debugLine="End Sub"; +return ""; +} +public String _rb_docsi8_checkedchange(reparto_izca.keymon.lat.c_cheklist __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "rb_docsi8_checkedchange", false)) + {return ((String) Debug.delegate(ba, "rb_docsi8_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=6029312; + //BA.debugLineNum = 6029312;BA.debugLine="Private Sub rb_docsi8_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=6029313; + //BA.debugLineNum = 6029313;BA.debugLine="p8 = \"Si\""; +__ref._p8 /*String*/ = "Si"; +RDebugUtils.currentLine=6029314; + //BA.debugLineNum = 6029314;BA.debugLine="End Sub"; +return ""; +} +public String _rb_docsi9_checkedchange(reparto_izca.keymon.lat.c_cheklist __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cheklist"; +if (Debug.shouldDelegate(ba, "rb_docsi9_checkedchange", false)) + {return ((String) Debug.delegate(ba, "rb_docsi9_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=6160384; + //BA.debugLineNum = 6160384;BA.debugLine="Private Sub rb_docsi9_CheckedChange(Checked As Boo"; +RDebugUtils.currentLine=6160385; + //BA.debugLineNum = 6160385;BA.debugLine="p9 = \"Correcto\""; +__ref._p9 /*String*/ = "Correcto"; +RDebugUtils.currentLine=6160386; + //BA.debugLineNum = 6160386;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/c_cliente.java b/B4A/Objects/src/reparto_izca/keymon/lat/c_cliente.java new file mode 100644 index 0000000..1ecbef3 --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/c_cliente.java @@ -0,0 +1,8874 @@ +package reparto_izca.keymon.lat; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.B4AClass; +import anywheresoftware.b4a.BALayout; +import anywheresoftware.b4a.debug.*; + +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 anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "reparto_izca.keymon.lat.c_cliente"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", reparto_izca.keymon.lat.c_cliente.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.gps.GPS _g = null; +public String _clie_id = ""; +public String _sdate = ""; +public String _stime = ""; +public String _usuario = ""; +public String _cuenta = ""; +public anywheresoftware.b4a.objects.Serial.BluetoothAdmin _btadmin = null; +public anywheresoftware.b4a.objects.Serial _cmp20 = null; +public anywheresoftware.b4a.objects.streams.File.TextWriterWrapper _printer = null; +public anywheresoftware.b4a.objects.collections.Map _paireddevices = null; +public anywheresoftware.b4a.objects.collections.List _l = null; +public int _tamano = 0; +public int _espacio = 0; +public String _blanco = ""; +public boolean _impresoraconectada = false; +public String _longitud = ""; +public String _latitud = ""; +public String _nombre = ""; +public anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; +public anywheresoftware.b4a.sql.SQL.CursorWrapper _s = null; +public anywheresoftware.b4a.objects.ListViewWrapper _listview1 = 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_numero = null; +public anywheresoftware.b4a.objects.LabelWrapper _la_nint = null; +public anywheresoftware.b4a.objects.LabelWrapper _la_edo = null; +public anywheresoftware.b4a.objects.LabelWrapper _la_pob = null; +public anywheresoftware.b4a.objects.LabelWrapper _la_col = null; +public anywheresoftware.b4a.objects.LabelWrapper _la_cp = null; +public anywheresoftware.b4a.objects.LabelWrapper _la_zona = null; +public anywheresoftware.b4a.objects.ButtonWrapper _gest = null; +public anywheresoftware.b4a.objects.LabelWrapper _la_saldotot = null; +public anywheresoftware.b4a.objects.LabelWrapper _la_saldooper = null; +public reparto_izca.keymon.lat.dbrequestmanager _reqmanager = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_noentrega = null; +public anywheresoftware.b4a.objects.LabelWrapper _label10 = null; +public anywheresoftware.b4a.objects.LabelWrapper _label11 = null; +public anywheresoftware.b4a.sql.SQL.CursorWrapper _d = null; +public anywheresoftware.b4a.objects.IME _ime = null; +public anywheresoftware.b4a.objects.ButtonWrapper _tar = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_qr = null; +public anywheresoftware.b4a.objects.ButtonWrapper _bt_qr = null; +public reparto_izca.keymon.lat.escposprinter _printer1 = null; +public anywheresoftware.b4a.objects.LabelWrapper _la_comm = null; +public anywheresoftware.b4a.objects.LabelWrapper _la_actdte = null; +public anywheresoftware.b4a.objects.LabelWrapper _la_usuario = null; +public anywheresoftware.b4a.objects.LabelWrapper _la_resultado = 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 _l_atiende2 = null; +public anywheresoftware.b4a.objects.ButtonWrapper _datos = null; +public anywheresoftware.b4a.objects.ButtonWrapper _guardar = null; +public anywheresoftware.b4a.objects.ButtonWrapper _nuevo = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_total = null; +public anywheresoftware.b4a.objects.ButtonWrapper _hist = null; +public String _pasa_imp = ""; +public anywheresoftware.b4a.objects.ButtonWrapper _b_imp = null; +public String _total_cliente = ""; +public String _credito = ""; +public anywheresoftware.b4a.objects.PanelWrapper _p_principal = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_paso2 = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_cant = null; +public int _errorimpresora = 0; +public int _banderaimp = 0; +public anywheresoftware.b4a.objects.LabelWrapper _l_credi = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_pagare = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_montopag = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_efectivo = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_montoefec = null; +public anywheresoftware.b4a.objects.PanelWrapper _p_credito = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_acred = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_cancred = null; +public anywheresoftware.b4a.objects.EditTextWrapper _et_montoacredito = null; +public anywheresoftware.b4a.objects.LabelWrapper _label16 = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_limite = null; +public String _almacen = ""; +public String _fechaprev = ""; +public String _rutaprev = ""; +public String _rutarep = ""; +public String _montopagare = ""; +public anywheresoftware.b4a.objects.PanelWrapper _p_abono = null; +public b4a.example3.customlistview _clv_abonos = null; +public anywheresoftware.b4a.objects.EditTextWrapper _et_abono = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_cancelar = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_abono = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_montoabonostotal = null; +public anywheresoftware.b4a.sql.SQL.CursorWrapper _h = null; +public anywheresoftware.b4a.sql.SQL.CursorWrapper _j = null; +public anywheresoftware.b4a.sql.SQL.CursorWrapper _b = null; +public anywheresoftware.b4a.sql.SQL.CursorWrapper _f = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_folio = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_saldo = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_cxc = null; +public reparto_izca.keymon.lat.b4xcombobox _cb_tipopago = null; +public String _itemselect = ""; +public String _tipo_abonox = ""; +public anywheresoftware.b4a.objects.ButtonWrapper _b_cancel_pagare = null; +public String _nota = ""; +public b4a.example.dateutils _dateutils = null; +public reparto_izca.keymon.lat.main _main = null; +public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; +public reparto_izca.keymon.lat.foto _foto = null; +public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_izca.keymon.lat.starter _starter = null; +public reparto_izca.keymon.lat.tracker _tracker = null; +public reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public Object _initialize(reparto_izca.keymon.lat.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=7667712; + //BA.debugLineNum = 7667712;BA.debugLine="Public Sub Initialize As Object"; +RDebugUtils.currentLine=7667713; + //BA.debugLineNum = 7667713;BA.debugLine="Return Me"; +if (true) return this; +RDebugUtils.currentLine=7667714; + //BA.debugLineNum = 7667714;BA.debugLine="End Sub"; +return null; +} +public String _activity_pause(reparto_izca.keymon.lat.c_cliente __ref,boolean _userclosed) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +RDebugUtils.currentLine=7864320; + //BA.debugLineNum = 7864320;BA.debugLine="Sub Activity_Pause (UserClosed As Boolean)"; +RDebugUtils.currentLine=7864322; + //BA.debugLineNum = 7864322;BA.debugLine="End Sub"; +return ""; +} +public void _b_abono_click(reparto_izca.keymon.lat.c_cliente __ref) throws Exception{ +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b_abono_click", false)) + {Debug.delegate(ba, "b_abono_click", null); return;} +ResumableSub_b_abono_Click rsub = new ResumableSub_b_abono_Click(this,__ref); +rsub.resume(ba, null); +} +public static class ResumableSub_b_abono_Click extends BA.ResumableSub { +public ResumableSub_b_abono_Click(reparto_izca.keymon.lat.c_cliente parent,reparto_izca.keymon.lat.c_cliente __ref) { +this.parent = parent; +this.__ref = __ref; +this.__ref = parent; +} +reparto_izca.keymon.lat.c_cliente __ref; +reparto_izca.keymon.lat.c_cliente parent; +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=9764866; + //BA.debugLineNum = 9764866;BA.debugLine="If et_abono.Text <> \"\" Then"; +if (true) break; + +case 1: +//if +this.state = 24; +if ((__ref._et_abono /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("") == false) { +this.state = 3; +}if (true) break; + +case 3: +//C +this.state = 4; +RDebugUtils.currentLine=9764867; + //BA.debugLineNum = 9764867;BA.debugLine="If et_abono.text > l_montoabonostotal.text Then"; +if (true) break; + +case 4: +//if +this.state = 23; +if ((double)(Double.parseDouble(__ref._et_abono /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))>(double)(Double.parseDouble(__ref._l_montoabonostotal /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()))) { +this.state = 6; +}else { +this.state = 8; +}if (true) break; + +case 6: +//C +this.state = 23; +RDebugUtils.currentLine=9764868; + //BA.debugLineNum = 9764868;BA.debugLine="MsgboxAsync(\"El monto a abonar no puede ser may"; +parent.__c.MsgboxAsync(BA.ObjectToCharSequence("El monto a abonar no puede ser mayor que el monto total"),BA.ObjectToCharSequence("Atención"),ba); + if (true) break; + +case 8: +//C +this.state = 9; +RDebugUtils.currentLine=9764870; + //BA.debugLineNum = 9764870;BA.debugLine="If et_abono.Text <> \"\" And et_abono.Text > 0 Th"; +if (true) break; + +case 9: +//if +this.state = 22; +if ((__ref._et_abono /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("") == false && (double)(Double.parseDouble(__ref._et_abono /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))>0) { +this.state = 11; +}if (true) break; + +case 11: +//C +this.state = 12; +RDebugUtils.currentLine=9764871; + //BA.debugLineNum = 9764871;BA.debugLine="If itemselect <> \"SELECCIONA UNA OPCION\" Then"; +if (true) break; + +case 12: +//if +this.state = 21; +if ((__ref._itemselect /*String*/ ).equals("SELECCIONA UNA OPCION") == false) { +this.state = 14; +}else { +this.state = 20; +}if (true) break; + +case 14: +//C +this.state = 15; +RDebugUtils.currentLine=9764879; + //BA.debugLineNum = 9764879;BA.debugLine="Msgbox2Async($\"¿Seguro que quieres realizar u"; +parent.__c.Msgbox2Async(BA.ObjectToCharSequence(("¿Seguro que quieres realizar un abono de $"+parent.__c.SmartStringFormatter("",(Object)(__ref._et_abono /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))+" para este cliente?")),BA.ObjectToCharSequence("Guardar Abono"),"Guardar","Cancelar","",(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.True); +RDebugUtils.currentLine=9764880; + //BA.debugLineNum = 9764880;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_abono_click"), null); +this.state = 25; +return; +case 25: +//C +this.state = 15; +_resultado = (Integer) result[1]; +; +RDebugUtils.currentLine=9764881; + //BA.debugLineNum = 9764881;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; +if (true) break; + +case 15: +//if +this.state = 18; +if (_resultado==parent.__c.DialogResponse.POSITIVE) { +this.state = 17; +}if (true) break; + +case 17: +//C +this.state = 18; +RDebugUtils.currentLine=9764882; + //BA.debugLineNum = 9764882;BA.debugLine="imprime_abonopagare"; +__ref._imprime_abonopagare /*void*/ (null); + if (true) break; + +case 18: +//C +this.state = 21; +; + if (true) break; + +case 20: +//C +this.state = 21; +RDebugUtils.currentLine=9764899; + //BA.debugLineNum = 9764899;BA.debugLine="MsgboxAsync(\"Por favor selecciona un metodo d"; +parent.__c.MsgboxAsync(BA.ObjectToCharSequence("Por favor selecciona un metodo de pago"),BA.ObjectToCharSequence("Atención"),ba); + if (true) break; + +case 21: +//C +this.state = 22; +; + if (true) break; + +case 22: +//C +this.state = 23; +; + if (true) break; + +case 23: +//C +this.state = 24; +; + if (true) break; + +case 24: +//C +this.state = -1; +; +RDebugUtils.currentLine=9764904; + //BA.debugLineNum = 9764904;BA.debugLine="ime.HideKeyboard"; +__ref._ime /*anywheresoftware.b4a.objects.IME*/ .HideKeyboard(ba); +RDebugUtils.currentLine=9764905; + //BA.debugLineNum = 9764905;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public void _imprime_abonopagare(reparto_izca.keymon.lat.c_cliente __ref) throws Exception{ +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "imprime_abonopagare", false)) + {Debug.delegate(ba, "imprime_abonopagare", null); return;} +ResumableSub_imprime_abonopagare rsub = new ResumableSub_imprime_abonopagare(this,__ref); +rsub.resume(ba, null); +} +public static class ResumableSub_imprime_abonopagare extends BA.ResumableSub { +public ResumableSub_imprime_abonopagare(reparto_izca.keymon.lat.c_cliente parent,reparto_izca.keymon.lat.c_cliente __ref) { +this.parent = parent; +this.__ref = __ref; +this.__ref = parent; +} +reparto_izca.keymon.lat.c_cliente __ref; +reparto_izca.keymon.lat.c_cliente parent; +int _cont = 0; +String _telefono = ""; +anywheresoftware.b4a.sql.SQL.CursorWrapper _c7 = null; +String _notaabono = ""; +double _saldopendiente = 0; +double _saldopendiente1 = 0; +anywheresoftware.b4a.sql.SQL.CursorWrapper _c4 = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _c5 = null; +int _numpago = 0; +String _tipopagotick = ""; +int _resultado = 0; +String _rutaactualizar = ""; +anywheresoftware.b4a.sql.SQL.CursorWrapper _rut = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _c3 = null; +double _textedit = 0; +double _sumaresta = 0; +String _ruta = ""; +String _rutapre = ""; + +@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=9437185; + //BA.debugLineNum = 9437185;BA.debugLine="c=Starter.skmt.ExecQuery(\"select USUARIO from 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)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); +RDebugUtils.currentLine=9437186; + //BA.debugLineNum = 9437186;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=9437187; + //BA.debugLineNum = 9437187;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=9437188; + //BA.debugLineNum = 9437188;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +parent.__c.DateTime.setDateFormat("MM/dd/yyyy"); +RDebugUtils.currentLine=9437189; + //BA.debugLineNum = 9437189;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; +parent.__c.DateTime.setTimeFormat("HH:mm:ss"); +RDebugUtils.currentLine=9437190; + //BA.debugLineNum = 9437190;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = parent.__c.DateTime.Date(parent.__c.DateTime.getNow()); +RDebugUtils.currentLine=9437191; + //BA.debugLineNum = 9437191;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = parent.__c.DateTime.Time(parent.__c.DateTime.getNow()); +RDebugUtils.currentLine=9437192; + //BA.debugLineNum = 9437192;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=9437223; + //BA.debugLineNum = 9437223;BA.debugLine="ProgressDialogShow(\"Imprimiendo, un momento ...\")"; +parent.__c.ProgressDialogShow(ba,BA.ObjectToCharSequence("Imprimiendo, un momento ...")); +RDebugUtils.currentLine=9437224; + //BA.debugLineNum = 9437224;BA.debugLine="Printer1.DisConnect"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._disconnect /*String*/ (null); +RDebugUtils.currentLine=9437225; + //BA.debugLineNum = 9437225;BA.debugLine="If Not(Printer1.IsConnected) Then"; +if (true) break; + +case 1: +//if +this.state = 38; +if (parent.__c.Not(__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._isconnected /*boolean*/ (null))) { +this.state = 3; +}else { +this.state = 21; +}if (true) break; + +case 3: +//C +this.state = 4; +RDebugUtils.currentLine=9437227; + //BA.debugLineNum = 9437227;BA.debugLine="Printer1.Connect"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._connect /*boolean*/ (null); +RDebugUtils.currentLine=9437228; + //BA.debugLineNum = 9437228;BA.debugLine="Private cont As Int = 0"; +_cont = (int) (0); +RDebugUtils.currentLine=9437229; + //BA.debugLineNum = 9437229;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=9437230; + //BA.debugLineNum = 9437230;BA.debugLine="Sleep(1000)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "imprime_abonopagare"),(int) (1000)); +this.state = 145; +return; +case 145: +//C +this.state = 7; +; +RDebugUtils.currentLine=9437231; + //BA.debugLineNum = 9437231;BA.debugLine="cont = cont + 1"; +_cont = (int) (_cont+1); +RDebugUtils.currentLine=9437232; + //BA.debugLineNum = 9437232;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 /*reparto_izca.keymon.lat.escposprinter*/ ._connect /*boolean*/ (null); +if (true) break; + +case 12: +//C +this.state = 13; +; +RDebugUtils.currentLine=9437233; + //BA.debugLineNum = 9437233;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=9437235; + //BA.debugLineNum = 9437235;BA.debugLine="Sleep(500)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "imprime_abonopagare"),(int) (500)); +this.state = 146; +return; +case 146: +//C +this.state = 38; +; +RDebugUtils.currentLine=9437236; + //BA.debugLineNum = 9437236;BA.debugLine="impresoraConectada = False"; +__ref._impresoraconectada /*boolean*/ = parent.__c.False; + if (true) break; + +case 21: +//C +this.state = 22; +RDebugUtils.currentLine=9437239; + //BA.debugLineNum = 9437239;BA.debugLine="Printer1.Connect"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._connect /*boolean*/ (null); +RDebugUtils.currentLine=9437240; + //BA.debugLineNum = 9437240;BA.debugLine="Private cont As Int = 0"; +_cont = (int) (0); +RDebugUtils.currentLine=9437241; + //BA.debugLineNum = 9437241;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 /*reparto_izca.keymon.lat.escposprinter*/ ._isconnected /*boolean*/ (null))) { +this.state = 24; +if (true) break; +} +if (true) break; + +case 24: +//C +this.state = 25; +RDebugUtils.currentLine=9437242; + //BA.debugLineNum = 9437242;BA.debugLine="Sleep(1000)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "imprime_abonopagare"),(int) (1000)); +this.state = 147; +return; +case 147: +//C +this.state = 25; +; +RDebugUtils.currentLine=9437243; + //BA.debugLineNum = 9437243;BA.debugLine="cont = cont + 1"; +_cont = (int) (_cont+1); +RDebugUtils.currentLine=9437244; + //BA.debugLineNum = 9437244;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 /*reparto_izca.keymon.lat.escposprinter*/ ._connect /*boolean*/ (null); +if (true) break; + +case 30: +//C +this.state = 31; +; +RDebugUtils.currentLine=9437245; + //BA.debugLineNum = 9437245;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=9437247; + //BA.debugLineNum = 9437247;BA.debugLine="Sleep(500)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "imprime_abonopagare"),(int) (500)); +this.state = 148; +return; +case 148: +//C +this.state = 38; +; +RDebugUtils.currentLine=9437248; + //BA.debugLineNum = 9437248;BA.debugLine="impresoraConectada = False"; +__ref._impresoraconectada /*boolean*/ = parent.__c.False; + if (true) break; + +case 38: +//C +this.state = 39; +; +RDebugUtils.currentLine=9437250; + //BA.debugLineNum = 9437250;BA.debugLine="TAMANO = 0"; +__ref._tamano /*int*/ = (int) (0); +RDebugUtils.currentLine=9437251; + //BA.debugLineNum = 9437251;BA.debugLine="ESPACIO = 22"; +__ref._espacio /*int*/ = (int) (22); +RDebugUtils.currentLine=9437252; + //BA.debugLineNum = 9437252;BA.debugLine="BLANCO = \" \""; +__ref._blanco /*String*/ = " "; +RDebugUtils.currentLine=9437262; + //BA.debugLineNum = 9437262;BA.debugLine="Dim telefono As String = \"\""; +_telefono = ""; +RDebugUtils.currentLine=9437263; + //BA.debugLineNum = 9437263;BA.debugLine="Dim c7 As Cursor = Starter.skmt.ExecQuery(\"select"; +_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)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(CAT_CL_TELEFONO,' ') AS CAT_CL_TELEFONO FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))); +RDebugUtils.currentLine=9437264; + //BA.debugLineNum = 9437264;BA.debugLine="If c7.RowCount > 0 Then"; +if (true) break; + +case 39: +//if +this.state = 42; +if (_c7.getRowCount()>0) { +this.state = 41; +}if (true) break; + +case 41: +//C +this.state = 42; +RDebugUtils.currentLine=9437265; + //BA.debugLineNum = 9437265;BA.debugLine="c7.Position = 0"; +_c7.setPosition((int) (0)); +RDebugUtils.currentLine=9437266; + //BA.debugLineNum = 9437266;BA.debugLine="telefono = c7.GetString(\"CAT_CL_TELEFONO\")"; +_telefono = _c7.GetString("CAT_CL_TELEFONO"); + if (true) break; + +case 42: +//C +this.state = 43; +; +RDebugUtils.currentLine=9437268; + //BA.debugLineNum = 9437268;BA.debugLine="c7.Close"; +_c7.Close(); +RDebugUtils.currentLine=9437272; + //BA.debugLineNum = 9437272;BA.debugLine="Printer1.WriteString(\"Izca Distribuciones\" & CRL"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"Izca Distribuciones"+parent.__c.CRLF); +RDebugUtils.currentLine=9437274; + //BA.debugLineNum = 9437274;BA.debugLine="Printer1.WriteString(sDate & CRLF)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,__ref._sdate /*String*/ +parent.__c.CRLF); +RDebugUtils.currentLine=9437275; + //BA.debugLineNum = 9437275;BA.debugLine="Printer1.WriteString(sTime & CRLF)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,__ref._stime /*String*/ +parent.__c.CRLF); +RDebugUtils.currentLine=9437276; + //BA.debugLineNum = 9437276;BA.debugLine="Printer1.WriteString(\"Reparto:\" & usuario & CRLF"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"Reparto:"+__ref._usuario /*String*/ +parent.__c.CRLF); +RDebugUtils.currentLine=9437277; + //BA.debugLineNum = 9437277;BA.debugLine="Printer1.WriteString(\"Tienda: \" & La_nombre.Text"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"Tienda: "+__ref._la_nombre /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+parent.__c.CRLF); +RDebugUtils.currentLine=9437278; + //BA.debugLineNum = 9437278;BA.debugLine="Printer1.WriteString(\"ID.Cliente: \" & la_cuenta."; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"ID.Cliente: "+__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+parent.__c.CRLF); +RDebugUtils.currentLine=9437279; + //BA.debugLineNum = 9437279;BA.debugLine="Printer1.WriteString(\"Calle: \" & la_Calle.Text &"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"Calle: "+__ref._la_calle /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+parent.__c.CRLF); +RDebugUtils.currentLine=9437280; + //BA.debugLineNum = 9437280;BA.debugLine="Printer1.WriteString(\"Colonia: \" & la_col.Text &"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"Colonia: "+__ref._la_col /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+parent.__c.CRLF); +RDebugUtils.currentLine=9437281; + //BA.debugLineNum = 9437281;BA.debugLine="Printer1.WriteString(\"Telefono: \" & telefono & C"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"Telefono: "+_telefono+parent.__c.CRLF); +RDebugUtils.currentLine=9437282; + //BA.debugLineNum = 9437282;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null," "+parent.__c.CRLF); +RDebugUtils.currentLine=9437283; + //BA.debugLineNum = 9437283;BA.debugLine="Dim notaabono As String"; +_notaabono = ""; +RDebugUtils.currentLine=9437284; + //BA.debugLineNum = 9437284;BA.debugLine="Dim saldopendiente As Double"; +_saldopendiente = 0; +RDebugUtils.currentLine=9437286; + //BA.debugLineNum = 9437286;BA.debugLine="If tipo_abonox = \"abono\" Then"; +if (true) break; + +case 43: +//if +this.state = 68; +if ((__ref._tipo_abonox /*String*/ ).equals("abono")) { +this.state = 45; +}else +{RDebugUtils.currentLine=9437316; + //BA.debugLineNum = 9437316;BA.debugLine="Else If tipo_abonox = \"cxc\" Then"; +if ((__ref._tipo_abonox /*String*/ ).equals("cxc")) { +this.state = 59; +}} +if (true) break; + +case 45: +//C +this.state = 46; +RDebugUtils.currentLine=9437289; + //BA.debugLineNum = 9437289;BA.debugLine="c = Starter.skmt.ExecQuery($\"select distinct hvd"; +__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 distinct hvd_num_ticket from hist_ventas where hvd_cliente = '"+parent.__c.SmartStringFormatter("",(Object)(__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()))+"'")))); +RDebugUtils.currentLine=9437290; + //BA.debugLineNum = 9437290;BA.debugLine="If c.RowCount > 0 Then"; +if (true) break; + +case 46: +//if +this.state = 49; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +this.state = 48; +}if (true) break; + +case 48: +//C +this.state = 49; +RDebugUtils.currentLine=9437291; + //BA.debugLineNum = 9437291;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=9437292; + //BA.debugLineNum = 9437292;BA.debugLine="notaabono = c.GetString(\"HVD_NUM_TICKET\")"; +_notaabono = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_NUM_TICKET"); + if (true) break; + +case 49: +//C +this.state = 50; +; +RDebugUtils.currentLine=9437294; + //BA.debugLineNum = 9437294;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=9437296; + //BA.debugLineNum = 9437296;BA.debugLine="c = Starter.skmt.ExecQuery($\"select iFNULL(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)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select iFNULL(sum(PA_MONTO),0) AS SALDO_PENDIENTE from PAGARES where PA_CLIENTE = '"+parent.__c.SmartStringFormatter("",(Object)(__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()))+"'")))); +RDebugUtils.currentLine=9437297; + //BA.debugLineNum = 9437297;BA.debugLine="If c.RowCount > 0 Then"; +if (true) break; + +case 50: +//if +this.state = 53; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +this.state = 52; +}if (true) break; + +case 52: +//C +this.state = 53; +RDebugUtils.currentLine=9437298; + //BA.debugLineNum = 9437298;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=9437299; + //BA.debugLineNum = 9437299;BA.debugLine="saldopendiente = c.GetDouble(\"SALDO_PENDIENTE\")"; +_saldopendiente = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetDouble("SALDO_PENDIENTE"); +RDebugUtils.currentLine=9437300; + //BA.debugLineNum = 9437300;BA.debugLine="Log(c.GetString(\"SALDO_PENDIENTE\"))"; +parent.__c.LogImpl("89437300",__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("SALDO_PENDIENTE"),0); + if (true) break; + +case 53: +//C +this.state = 54; +; +RDebugUtils.currentLine=9437302; + //BA.debugLineNum = 9437302;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=9437305; + //BA.debugLineNum = 9437305;BA.debugLine="Dim saldopendiente1 As Double = 0"; +_saldopendiente1 = 0; +RDebugUtils.currentLine=9437306; + //BA.debugLineNum = 9437306;BA.debugLine="Dim c4 As Cursor= Starter.skmt.ExecQuery(\"SELECT"; +_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._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT Ifnull(SUM(a_abono),0) AS SALDO_PENDIENTE FROM ABONOS WHERE a_cliente IN (SELECT CUENTA FROM CUENTAA) and a_tipoabono is not null"))); +RDebugUtils.currentLine=9437307; + //BA.debugLineNum = 9437307;BA.debugLine="If c4.RowCount > 0 Then"; +if (true) break; + +case 54: +//if +this.state = 57; +if (_c4.getRowCount()>0) { +this.state = 56; +}if (true) break; + +case 56: +//C +this.state = 57; +RDebugUtils.currentLine=9437308; + //BA.debugLineNum = 9437308;BA.debugLine="c4.Position = 0"; +_c4.setPosition((int) (0)); +RDebugUtils.currentLine=9437309; + //BA.debugLineNum = 9437309;BA.debugLine="Dim c5 As Cursor= Starter.skmt.ExecQuery(\"SELEC"; +_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._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT Ifnull(a_abono,0) AS SALDO_PENDIENTE FROM ABONOS WHERE a_cliente IN (SELECT CUENTA FROM CUENTAA) and a_tipoabono is not null"))); +RDebugUtils.currentLine=9437310; + //BA.debugLineNum = 9437310;BA.debugLine="saldopendiente1 = c4.GetDouble(\"SALDO_PENDIENTE"; +_saldopendiente1 = _c4.GetDouble("SALDO_PENDIENTE"); + if (true) break; + +case 57: +//C +this.state = 68; +; +RDebugUtils.currentLine=9437314; + //BA.debugLineNum = 9437314;BA.debugLine="c4.Close"; +_c4.Close(); + if (true) break; + +case 59: +//C +this.state = 60; +RDebugUtils.currentLine=9437317; + //BA.debugLineNum = 9437317;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT NOTA, SUM(SAL"; +__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 NOTA, SUM(SALDO_PENDIENTE) AS SALDO_PENDIENTE FROM ABONOSP WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))); +RDebugUtils.currentLine=9437318; + //BA.debugLineNum = 9437318;BA.debugLine="If c.RowCount > 0 Then"; +if (true) break; + +case 60: +//if +this.state = 63; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +this.state = 62; +}if (true) break; + +case 62: +//C +this.state = 63; +RDebugUtils.currentLine=9437319; + //BA.debugLineNum = 9437319;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=9437320; + //BA.debugLineNum = 9437320;BA.debugLine="notaabono = c.GetString(\"NOTA\")"; +_notaabono = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("NOTA"); +RDebugUtils.currentLine=9437321; + //BA.debugLineNum = 9437321;BA.debugLine="saldopendiente = c.GetDouble(\"SALDO_PENDIENTE\")"; +_saldopendiente = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetDouble("SALDO_PENDIENTE"); + if (true) break; + +case 63: +//C +this.state = 64; +; +RDebugUtils.currentLine=9437323; + //BA.debugLineNum = 9437323;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=9437325; + //BA.debugLineNum = 9437325;BA.debugLine="Dim saldopendiente1 As Double = 0"; +_saldopendiente1 = 0; +RDebugUtils.currentLine=9437326; + //BA.debugLineNum = 9437326;BA.debugLine="Dim c4 As Cursor= Starter.skmt.ExecQuery(\"SELECT"; +_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._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT Ifnull(SUM(a_abono),0) AS SALDO_PENDIENTE FROM ABONOS WHERE a_cliente IN (SELECT CUENTA FROM CUENTAA) and a_tipoabono is null"))); +RDebugUtils.currentLine=9437327; + //BA.debugLineNum = 9437327;BA.debugLine="If c4.RowCount > 0 Then"; +if (true) break; + +case 64: +//if +this.state = 67; +if (_c4.getRowCount()>0) { +this.state = 66; +}if (true) break; + +case 66: +//C +this.state = 67; +RDebugUtils.currentLine=9437328; + //BA.debugLineNum = 9437328;BA.debugLine="c4.Position = 0"; +_c4.setPosition((int) (0)); +RDebugUtils.currentLine=9437329; + //BA.debugLineNum = 9437329;BA.debugLine="Dim c5 As Cursor= Starter.skmt.ExecQuery(\"SELEC"; +_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._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT Ifnull(a_abono,0) AS SALDO_PENDIENTE FROM ABONOS WHERE a_cliente IN (SELECT CUENTA FROM CUENTAA) and a_tipoabono is null"))); +RDebugUtils.currentLine=9437330; + //BA.debugLineNum = 9437330;BA.debugLine="saldopendiente1 = c4.GetDouble(\"SALDO_PENDIENTE"; +_saldopendiente1 = _c4.GetDouble("SALDO_PENDIENTE"); + if (true) break; + +case 67: +//C +this.state = 68; +; +RDebugUtils.currentLine=9437335; + //BA.debugLineNum = 9437335;BA.debugLine="c4.Close"; +_c4.Close(); + if (true) break; + +case 68: +//C +this.state = 69; +; +RDebugUtils.currentLine=9437345; + //BA.debugLineNum = 9437345;BA.debugLine="Dim numpago As Int = c5.RowCount + 1"; +_numpago = (int) (_c5.getRowCount()+1); +RDebugUtils.currentLine=9437346; + //BA.debugLineNum = 9437346;BA.debugLine="Log(notaabono)"; +parent.__c.LogImpl("89437346",_notaabono,0); +RDebugUtils.currentLine=9437347; + //BA.debugLineNum = 9437347;BA.debugLine="Log(et_abono.Text)"; +parent.__c.LogImpl("89437347",__ref._et_abono /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText(),0); +RDebugUtils.currentLine=9437348; + //BA.debugLineNum = 9437348;BA.debugLine="Printer1.WriteString(\"Comprobante de pago del pag"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"Comprobante de pago del pagare"+parent.__c.CRLF); +RDebugUtils.currentLine=9437349; + //BA.debugLineNum = 9437349;BA.debugLine="Printer1.WriteString(\"Folio: \" & notaabono &\"-\"&"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"Folio: "+_notaabono+"-"+BA.NumberToString((_numpago))+parent.__c.CRLF); +RDebugUtils.currentLine=9437350; + //BA.debugLineNum = 9437350;BA.debugLine="Printer1.WriteString(\"Monto deuda: \" & (NumberFo"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"Monto deuda: "+(parent.__c.NumberFormat(_saldopendiente-_saldopendiente1,(int) (0),(int) (2)))+parent.__c.CRLF); +RDebugUtils.currentLine=9437351; + //BA.debugLineNum = 9437351;BA.debugLine="Printer1.WriteString(\"Monto abono: \" & (NumberFo"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"Monto abono: "+(parent.__c.NumberFormat((double)(Double.parseDouble(__ref._et_abono /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())),(int) (0),(int) (2)))+parent.__c.CRLF); +RDebugUtils.currentLine=9437352; + //BA.debugLineNum = 9437352;BA.debugLine="Printer1.WriteString(\"Restante: \" &(NumberFormat("; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"Restante: "+(parent.__c.NumberFormat(_saldopendiente-(double)(Double.parseDouble(__ref._et_abono /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))-_saldopendiente1,(int) (0),(int) (2)))+parent.__c.CRLF); +RDebugUtils.currentLine=9437353; + //BA.debugLineNum = 9437353;BA.debugLine="Printer1.WriteString(\"Fecha Abono: \" & sDate & C"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"Fecha Abono: "+__ref._sdate /*String*/ +parent.__c.CRLF); +RDebugUtils.currentLine=9437354; + //BA.debugLineNum = 9437354;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null," "+parent.__c.CRLF); +RDebugUtils.currentLine=9437355; + //BA.debugLineNum = 9437355;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null," "+parent.__c.CRLF); +RDebugUtils.currentLine=9437356; + //BA.debugLineNum = 9437356;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null," "+parent.__c.CRLF); +RDebugUtils.currentLine=9437357; + //BA.debugLineNum = 9437357;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null," "+parent.__c.CRLF); +RDebugUtils.currentLine=9437358; + //BA.debugLineNum = 9437358;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null," "+parent.__c.CRLF); +RDebugUtils.currentLine=9437359; + //BA.debugLineNum = 9437359;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null," "+parent.__c.CRLF); +RDebugUtils.currentLine=9437360; + //BA.debugLineNum = 9437360;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null," "+parent.__c.CRLF); +RDebugUtils.currentLine=9437361; + //BA.debugLineNum = 9437361;BA.debugLine="Printer1.WriteString(\"---------------------------"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"------------------------------"+parent.__c.CRLF); +RDebugUtils.currentLine=9437362; + //BA.debugLineNum = 9437362;BA.debugLine="Printer1.WriteString(\"-------------FIRMA---------"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"-------------FIRMA------------"+parent.__c.CRLF); +RDebugUtils.currentLine=9437363; + //BA.debugLineNum = 9437363;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null," "+parent.__c.CRLF); +RDebugUtils.currentLine=9437364; + //BA.debugLineNum = 9437364;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null," "+parent.__c.CRLF); +RDebugUtils.currentLine=9437365; + //BA.debugLineNum = 9437365;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null," "+parent.__c.CRLF); +RDebugUtils.currentLine=9437366; + //BA.debugLineNum = 9437366;BA.debugLine="DateTime.DateFormat = \"ddMMyyyy\""; +parent.__c.DateTime.setDateFormat("ddMMyyyy"); +RDebugUtils.currentLine=9437367; + //BA.debugLineNum = 9437367;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = parent.__c.DateTime.Date(parent.__c.DateTime.getNow()); +RDebugUtils.currentLine=9437373; + //BA.debugLineNum = 9437373;BA.debugLine="Dim tipopagotick As String = \"\""; +_tipopagotick = ""; +RDebugUtils.currentLine=9437374; + //BA.debugLineNum = 9437374;BA.debugLine="If itemselect = \"TRANSFERENCIA\" Then"; +if (true) break; + +case 69: +//if +this.state = 76; +if ((__ref._itemselect /*String*/ ).equals("TRANSFERENCIA")) { +this.state = 71; +}else +{RDebugUtils.currentLine=9437376; + //BA.debugLineNum = 9437376;BA.debugLine="Else If itemselect = \"EFECTIVO\" Then"; +if ((__ref._itemselect /*String*/ ).equals("EFECTIVO")) { +this.state = 73; +}else +{RDebugUtils.currentLine=9437378; + //BA.debugLineNum = 9437378;BA.debugLine="Else If itemselect = \"CHEQUE\" Then"; +if ((__ref._itemselect /*String*/ ).equals("CHEQUE")) { +this.state = 75; +}}} +if (true) break; + +case 71: +//C +this.state = 76; +RDebugUtils.currentLine=9437375; + //BA.debugLineNum = 9437375;BA.debugLine="tipopagotick = \"T\""; +_tipopagotick = "T"; + if (true) break; + +case 73: +//C +this.state = 76; +RDebugUtils.currentLine=9437377; + //BA.debugLineNum = 9437377;BA.debugLine="tipopagotick = \"E\""; +_tipopagotick = "E"; + if (true) break; + +case 75: +//C +this.state = 76; +RDebugUtils.currentLine=9437379; + //BA.debugLineNum = 9437379;BA.debugLine="tipopagotick = \"C\""; +_tipopagotick = "C"; + if (true) break; + +case 76: +//C +this.state = 77; +; +RDebugUtils.currentLine=9437382; + //BA.debugLineNum = 9437382;BA.debugLine="Printer1.WriteBarCode(\"I\",notaabono&sDate&tipopag"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writebarcode /*String*/ (null,"I",_notaabono+__ref._sdate /*String*/ +_tipopagotick+BA.NumberToString(_numpago)); +RDebugUtils.currentLine=9437383; + //BA.debugLineNum = 9437383;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null," "+parent.__c.CRLF); +RDebugUtils.currentLine=9437384; + //BA.debugLineNum = 9437384;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null," "+parent.__c.CRLF); +RDebugUtils.currentLine=9437385; + //BA.debugLineNum = 9437385;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null," "+parent.__c.CRLF); +RDebugUtils.currentLine=9437386; + //BA.debugLineNum = 9437386;BA.debugLine="Sleep(1000)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "imprime_abonopagare"),(int) (1000)); +this.state = 149; +return; +case 149: +//C +this.state = 77; +; +RDebugUtils.currentLine=9437387; + //BA.debugLineNum = 9437387;BA.debugLine="Printer1.DisConnect"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._disconnect /*String*/ (null); +RDebugUtils.currentLine=9437388; + //BA.debugLineNum = 9437388;BA.debugLine="ProgressDialogHide"; +parent.__c.ProgressDialogHide(); +RDebugUtils.currentLine=9437391; + //BA.debugLineNum = 9437391;BA.debugLine="If tipo_abonox = \"abono\" Then"; +if (true) break; + +case 77: +//if +this.state = 144; +if ((__ref._tipo_abonox /*String*/ ).equals("abono")) { +this.state = 79; +}else +{RDebugUtils.currentLine=9437404; + //BA.debugLineNum = 9437404;BA.debugLine="Else If tipo_abonox = \"cxc\" Then"; +if ((__ref._tipo_abonox /*String*/ ).equals("cxc")) { +this.state = 87; +}} +if (true) break; + +case 79: +//C +this.state = 80; +RDebugUtils.currentLine=9437392; + //BA.debugLineNum = 9437392;BA.debugLine="Msgbox2Async(\"Deseas imprimir de nuevo el ticket"; +parent.__c.Msgbox2Async(BA.ObjectToCharSequence("Deseas imprimir de nuevo el ticket?"),BA.ObjectToCharSequence("ATENCION"),"SI","","NO",parent.__c.LoadBitmap(parent.__c.File.getDirAssets(),"alert2.png"),ba,parent.__c.False); +RDebugUtils.currentLine=9437394; + //BA.debugLineNum = 9437394;BA.debugLine="Wait For Msgbox_Result (resultado As Int)"; +parent.__c.WaitFor("msgbox_result", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "imprime_abonopagare"), null); +this.state = 150; +return; +case 150: +//C +this.state = 80; +_resultado = (Integer) result[1]; +; +RDebugUtils.currentLine=9437395; + //BA.debugLineNum = 9437395;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; +if (true) break; + +case 80: +//if +this.state = 85; +if (_resultado==parent.__c.DialogResponse.POSITIVE) { +this.state = 82; +}else { +this.state = 84; +}if (true) break; + +case 82: +//C +this.state = 85; +RDebugUtils.currentLine=9437396; + //BA.debugLineNum = 9437396;BA.debugLine="imprime_abonopagare"; +__ref._imprime_abonopagare /*void*/ (null); + if (true) break; + +case 84: +//C +this.state = 85; +RDebugUtils.currentLine=9437398; + //BA.debugLineNum = 9437398;BA.debugLine="p_abono.Visible = False"; +__ref._p_abono /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=9437400; + //BA.debugLineNum = 9437400;BA.debugLine="Starter.skmt.ExecNonQuery($\"INSERT INTO ABONOS("; +parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("INSERT INTO ABONOS(a_usuario, a_ruta, a_cliente, a_abono, a_fecha,a_tipoabono,TIPO_PAGO,a_ticket,a_numpago) VALUES ('"+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traeusuariodebd /*String*/ (ba)))+"', '"+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traeruta /*String*/ (ba,parent._subs._traecliente /*String*/ (ba))))+"', '"+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traecliente /*String*/ (ba)))+"' ,'"+parent.__c.SmartStringFormatter("",(Object)(__ref._et_abono /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))+"', '"+parent.__c.SmartStringFormatter("",(Object)(parent._subs._fechakmt /*String*/ (ba,BA.NumberToString(parent.__c.DateTime.getNow()))))+"', 1,'"+parent.__c.SmartStringFormatter("",(Object)(__ref._itemselect /*String*/ ))+"','"+parent.__c.SmartStringFormatter("",(Object)(_notaabono))+"','"+parent.__c.SmartStringFormatter("",(Object)(_numpago))+"')")); +RDebugUtils.currentLine=9437401; + //BA.debugLineNum = 9437401;BA.debugLine="ToastMessageShow(\"Abono guardado\", False)"; +parent.__c.ToastMessageShow(BA.ObjectToCharSequence("Abono guardado"),parent.__c.False); + if (true) break; + +case 85: +//C +this.state = 144; +; + if (true) break; + +case 87: +//C +this.state = 88; +RDebugUtils.currentLine=9437405; + //BA.debugLineNum = 9437405;BA.debugLine="Msgbox2Async(\"Deseas imprimir de nuevo el ticket"; +parent.__c.Msgbox2Async(BA.ObjectToCharSequence("Deseas imprimir de nuevo el ticket?"),BA.ObjectToCharSequence("ATENCION"),"SI","","NO",parent.__c.LoadBitmap(parent.__c.File.getDirAssets(),"alert2.png"),ba,parent.__c.False); +RDebugUtils.currentLine=9437406; + //BA.debugLineNum = 9437406;BA.debugLine="Wait For Msgbox_Result (resultado As Int)"; +parent.__c.WaitFor("msgbox_result", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "imprime_abonopagare"), null); +this.state = 151; +return; +case 151: +//C +this.state = 88; +_resultado = (Integer) result[1]; +; +RDebugUtils.currentLine=9437407; + //BA.debugLineNum = 9437407;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; +if (true) break; + +case 88: +//if +this.state = 143; +if (_resultado==parent.__c.DialogResponse.POSITIVE) { +this.state = 90; +}else { +this.state = 92; +}if (true) break; + +case 90: +//C +this.state = 143; +RDebugUtils.currentLine=9437408; + //BA.debugLineNum = 9437408;BA.debugLine="imprime_abonopagare"; +__ref._imprime_abonopagare /*void*/ (null); + if (true) break; + +case 92: +//C +this.state = 93; +RDebugUtils.currentLine=9437414; + //BA.debugLineNum = 9437414;BA.debugLine="h = Starter.skmt.ExecQuery(\"SELECT CUENTA from"; +__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)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CUENTA from CUENTAA"))); +RDebugUtils.currentLine=9437415; + //BA.debugLineNum = 9437415;BA.debugLine="h.Position = 0"; +__ref._h /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=9437416; + //BA.debugLineNum = 9437416;BA.debugLine="Log(h.GetString(\"CUENTA\"))"; +parent.__c.LogImpl("89437416",__ref._h /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUENTA"),0); +RDebugUtils.currentLine=9437417; + //BA.debugLineNum = 9437417;BA.debugLine="j = Starter.skmt.ExecQuery2(\"SELECT a_abono FRO"; +__ref._j /*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*/ .ExecQuery2("SELECT a_abono FROM ABONOS WHERE a_cliente = ?",new String[]{__ref._h /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUENTA")}))); +RDebugUtils.currentLine=9437418; + //BA.debugLineNum = 9437418;BA.debugLine="j.position = 0"; +__ref._j /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=9437419; + //BA.debugLineNum = 9437419;BA.debugLine="If j.RowCount = 0 Then"; +if (true) break; + +case 93: +//if +this.state = 142; +if (__ref._j /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()==0) { +this.state = 95; +}else { +this.state = 119; +}if (true) break; + +case 95: +//C +this.state = 96; +RDebugUtils.currentLine=9437420; + //BA.debugLineNum = 9437420;BA.debugLine="p_abono.Visible = False"; +__ref._p_abono /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=9437421; + //BA.debugLineNum = 9437421;BA.debugLine="Starter.skmt.ExecNonQuery($\"INSERT INTO ABONOS"; +parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("INSERT INTO ABONOS(a_usuario, a_ruta, a_cliente, a_abono, a_fecha,TIPO_PAGO,a_ticket,a_numpago) VALUES ('"+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traeusuariodebd /*String*/ (ba)))+"', '"+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traeruta /*String*/ (ba,parent._subs._traecliente /*String*/ (ba))))+"', '"+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traecliente /*String*/ (ba)))+"' ,'"+parent.__c.SmartStringFormatter("",(Object)(__ref._et_abono /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))+"', '"+parent.__c.SmartStringFormatter("",(Object)(parent._subs._fechakmt /*String*/ (ba,BA.NumberToString(parent.__c.DateTime.getNow()))))+"','"+parent.__c.SmartStringFormatter("",(Object)(__ref._itemselect /*String*/ ))+"','"+parent.__c.SmartStringFormatter("",(Object)(_notaabono))+"','"+parent.__c.SmartStringFormatter("",(Object)(_numpago))+"')")); +RDebugUtils.currentLine=9437422; + //BA.debugLineNum = 9437422;BA.debugLine="ToastMessageShow(\"Abono guardado\", False)"; +parent.__c.ToastMessageShow(BA.ObjectToCharSequence("Abono guardado"),parent.__c.False); +RDebugUtils.currentLine=9437423; + //BA.debugLineNum = 9437423;BA.debugLine="Dim rutaactualizar As String"; +_rutaactualizar = ""; +RDebugUtils.currentLine=9437424; + //BA.debugLineNum = 9437424;BA.debugLine="Dim rut As Cursor = Starter.skmt.ExecQuery(\"SE"; +_rut = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_rut = (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_CL_RUTA FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))); +RDebugUtils.currentLine=9437425; + //BA.debugLineNum = 9437425;BA.debugLine="If rut.RowCount > 0 Then"; +if (true) break; + +case 96: +//if +this.state = 99; +if (_rut.getRowCount()>0) { +this.state = 98; +}if (true) break; + +case 98: +//C +this.state = 99; +RDebugUtils.currentLine=9437426; + //BA.debugLineNum = 9437426;BA.debugLine="rut.Position = 0"; +_rut.setPosition((int) (0)); +RDebugUtils.currentLine=9437427; + //BA.debugLineNum = 9437427;BA.debugLine="rutaactualizar = rut.GetString(\"CAT_CL_RUTA\")"; +_rutaactualizar = _rut.GetString("CAT_CL_RUTA"); + if (true) break; + +case 99: +//C +this.state = 100; +; +RDebugUtils.currentLine=9437429; + //BA.debugLineNum = 9437429;BA.debugLine="Starter.skmt.ExecNonQuery($\"UPDATE kmt_info se"; +parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("UPDATE kmt_info set gestion = 0, HORAENT = '"+parent.__c.SmartStringFormatter("",(Object)(__ref._sdate /*String*/ +" "+__ref._stime /*String*/ ))+"' where CAT_CL_CODIGO In (select cuenta from cuentaa) and CAT_CL_RUTA = '"+parent.__c.SmartStringFormatter("",(Object)(_rutaactualizar))+"'")); +RDebugUtils.currentLine=9437430; + //BA.debugLineNum = 9437430;BA.debugLine="Starter.skmt.ExecNonQuery($\"DELETE FROM NOVENT"; +parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("DELETE FROM NOVENTA WHERE NV_CLIENTE IN (select cuenta from cuentaa)")); +RDebugUtils.currentLine=9437431; + //BA.debugLineNum = 9437431;BA.debugLine="Private c3 As Cursor = Starter.skmt.ExecQuery("; +_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._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM PEDIDO WHERE PE_CLIENTEOR IN (SELECT CUENTA FROM CUENTAA)"))); +RDebugUtils.currentLine=9437432; + //BA.debugLineNum = 9437432;BA.debugLine="If c3.RowCount = 0 Then"; +if (true) break; + +case 100: +//if +this.state = 105; +if (_c3.getRowCount()==0) { +this.state = 102; +}else { +this.state = 104; +}if (true) break; + +case 102: +//C +this.state = 105; +RDebugUtils.currentLine=9437433; + //BA.debugLineNum = 9437433;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENTA"; +parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update HIST_VENTAS set HVD_RECHAZO = 0, HVD_RECHAZOCANT = 0, BCAJAS = BCAJAS_OR, CANTC = CANTC_OR WHERE HVD_cliente in (Select CUENTA from cuentaa)")); +RDebugUtils.currentLine=9437434; + //BA.debugLineNum = 9437434;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); + if (true) break; + +case 104: +//C +this.state = 105; +RDebugUtils.currentLine=9437436; + //BA.debugLineNum = 9437436;BA.debugLine="MsgboxAsync(\"Hay productos que ya se vendiero"; +parent.__c.MsgboxAsync(BA.ObjectToCharSequence("Hay productos que ya se vendieron, no se puede regresar la venta"),BA.ObjectToCharSequence("Atención"),ba); + if (true) break; + +case 105: +//C +this.state = 106; +; +RDebugUtils.currentLine=9437438; + //BA.debugLineNum = 9437438;BA.debugLine="Dim textedit As Double = et_abono.Text"; +_textedit = (double)(Double.parseDouble(__ref._et_abono /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())); +RDebugUtils.currentLine=9437439; + //BA.debugLineNum = 9437439;BA.debugLine="Dim sumaresta As Double = saldopendiente-texte"; +_sumaresta = _saldopendiente-_textedit-_saldopendiente1; +RDebugUtils.currentLine=9437440; + //BA.debugLineNum = 9437440;BA.debugLine="Log(NumberFormat2(sumaresta,0,2,2,False))"; +parent.__c.LogImpl("89437440",parent.__c.NumberFormat2(_sumaresta,(int) (0),(int) (2),(int) (2),parent.__c.False),0); +RDebugUtils.currentLine=9437441; + //BA.debugLineNum = 9437441;BA.debugLine="If NumberFormat2(sumaresta,0,2,2,False) <> \"-."; +if (true) break; + +case 106: +//if +this.state = 117; +if ((parent.__c.NumberFormat2(_sumaresta,(int) (0),(int) (2),(int) (2),parent.__c.False)).equals("-.00") == false) { +this.state = 108; +}if (true) break; + +case 108: +//C +this.state = 109; +RDebugUtils.currentLine=9437442; + //BA.debugLineNum = 9437442;BA.debugLine="If NumberFormat2(sumaresta,0,2,2,False) <> \"."; +if (true) break; + +case 109: +//if +this.state = 116; +if ((parent.__c.NumberFormat2(_sumaresta,(int) (0),(int) (2),(int) (2),parent.__c.False)).equals(".00") == false) { +this.state = 111; +}if (true) break; + +case 111: +//C +this.state = 112; +RDebugUtils.currentLine=9437443; + //BA.debugLineNum = 9437443;BA.debugLine="Dim rutaactualizar As String"; +_rutaactualizar = ""; +RDebugUtils.currentLine=9437444; + //BA.debugLineNum = 9437444;BA.debugLine="Dim rut As Cursor = Starter.skmt.ExecQuery(\""; +_rut = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_rut = (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_CL_RUTA FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))); +RDebugUtils.currentLine=9437445; + //BA.debugLineNum = 9437445;BA.debugLine="If rut.RowCount > 0 Then"; +if (true) break; + +case 112: +//if +this.state = 115; +if (_rut.getRowCount()>0) { +this.state = 114; +}if (true) break; + +case 114: +//C +this.state = 115; +RDebugUtils.currentLine=9437446; + //BA.debugLineNum = 9437446;BA.debugLine="rut.Position = 0"; +_rut.setPosition((int) (0)); +RDebugUtils.currentLine=9437447; + //BA.debugLineNum = 9437447;BA.debugLine="rutaactualizar = rut.GetString(\"CAT_CL_RUTA"; +_rutaactualizar = _rut.GetString("CAT_CL_RUTA"); + if (true) break; + +case 115: +//C +this.state = 116; +; +RDebugUtils.currentLine=9437449; + //BA.debugLineNum = 9437449;BA.debugLine="Starter.skmt.ExecNonQuery($\"UPDATE kmt_info"; +parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("UPDATE kmt_info set gestion = 3, HORAENT = '"+parent.__c.SmartStringFormatter("",(Object)(__ref._sdate /*String*/ +" "+__ref._stime /*String*/ ))+"' where CAT_CL_CODIGO In (select cuenta from cuentaa) and CAT_CL_RUTA = '"+parent.__c.SmartStringFormatter("",(Object)(_rutaactualizar))+"'")); +RDebugUtils.currentLine=9437450; + //BA.debugLineNum = 9437450;BA.debugLine="Starter.skmt.ExecNonQuery($\"DELETE FROM NOVE"; +parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("DELETE FROM NOVENTA WHERE NV_CLIENTE IN (select cuenta from cuentaa)")); +RDebugUtils.currentLine=9437451; + //BA.debugLineNum = 9437451;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO NOVE"; +parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO NOVENTA (NV_CLIENTE,NV_FECHA,NV_USER,NV_MOTIVO,NV_COMM,NV_LAT,NV_LON,NV_FOTO,NV_REPROGRAMAR) VALUES(?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._sdate /*String*/ +__ref._stime /*String*/ ),(Object)(__ref._usuario /*String*/ ),(Object)("PAGO INCOMPLETO"),(Object)("PAGO INCOMPLETO"),(Object)(parent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(parent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_rutaactualizar),(Object)(0)})); +RDebugUtils.currentLine=9437452; + //BA.debugLineNum = 9437452;BA.debugLine="Starter.skmt.ExecNonQuery(\"update HIST_VENTA"; +parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("update HIST_VENTAS SET HVD_RECHAZO = 1, HVD_RECHAZOCANT = HVD_CANT, HVD_RECHAZOCANTC = CANTC, BCAJAS = 0 , CANTC = 0 WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"); +RDebugUtils.currentLine=9437453; + //BA.debugLineNum = 9437453;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENT"; +parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update HIST_VENTAS set HVD_RECHAZO = 2, HVD_RECHAZOCANT = HVD_RECHAZOCANT WHERE HVD_PROID = HVD_CODPROMO and HVD_CLIENTE in (Select CUENTA from cuentaa)")); +RDebugUtils.currentLine=9437454; + //BA.debugLineNum = 9437454;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM PEDID"; +parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"); +RDebugUtils.currentLine=9437455; + //BA.debugLineNum = 9437455;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT RUTAA FRO"; +__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)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT RUTAA FROM RUTAA"))); +RDebugUtils.currentLine=9437456; + //BA.debugLineNum = 9437456;BA.debugLine="d.Position = 0"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=9437457; + //BA.debugLineNum = 9437457;BA.debugLine="Dim ruta As String = d.GetString(\"RUTAA\")"; +_ruta = __ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("RUTAA"); +RDebugUtils.currentLine=9437458; + //BA.debugLineNum = 9437458;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=9437459; + //BA.debugLineNum = 9437459;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT CAT_CL_RU"; +__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)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CAT_CL_RUTA FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))); +RDebugUtils.currentLine=9437460; + //BA.debugLineNum = 9437460;BA.debugLine="d.Position = 0"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=9437461; + //BA.debugLineNum = 9437461;BA.debugLine="Dim rutapre As String = d.GetString(\"CAT_CL_"; +_rutapre = __ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_RUTA"); +RDebugUtils.currentLine=9437462; + //BA.debugLineNum = 9437462;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=9437463; + //BA.debugLineNum = 9437463;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT HVD_FECHA"; +__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)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT HVD_FECHA FROM HIST_VENTAS WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))); +RDebugUtils.currentLine=9437464; + //BA.debugLineNum = 9437464;BA.debugLine="d.Position = 0"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=9437465; + //BA.debugLineNum = 9437465;BA.debugLine="Dim fechaprev As String = d.GetString(\"HVD_F"; +parent._fechaprev = __ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_FECHA"); +RDebugUtils.currentLine=9437466; + //BA.debugLineNum = 9437466;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=9437467; + //BA.debugLineNum = 9437467;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT CUENTA FR"; +__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)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CUENTA FROM CUENTAA"))); +RDebugUtils.currentLine=9437468; + //BA.debugLineNum = 9437468;BA.debugLine="d.Position = 0"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=9437469; + //BA.debugLineNum = 9437469;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO REPA"; +parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO REPARTO_GEO (CLIENTE, USUARIO, FECHA_PUNTEO, LATITUD, LONGITUD, ALMACEN, RUTA_REPARTO, RUTA_PREV, FECHA_PREVENTA, MOTIVO, COMENTARIO,TIPO,ENVIO) VALUES(?,?,?,?,?,?,?,?,?,?,?,?,0)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{__ref._cuenta /*String*/ ,__ref._usuario /*String*/ ,__ref._sdate /*String*/ +" "+__ref._stime /*String*/ ,parent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._lat_gps /*String*/ ,parent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._lon_gps /*String*/ ,parent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._almacen /*String*/ ,_ruta,_rutapre,__ref._fechaprev /*String*/ ,"PAGO INCOMPLETO","PAGO INCOMPLETO","NO ENTREGADO"})); +RDebugUtils.currentLine=9437470; + //BA.debugLineNum = 9437470;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +parent._b4xpages._showpage /*String*/ (ba,"Principal"); + if (true) break; + +case 116: +//C +this.state = 117; +; + if (true) break; + +case 117: +//C +this.state = 142; +; + if (true) break; + +case 119: +//C +this.state = 120; +RDebugUtils.currentLine=9437474; + //BA.debugLineNum = 9437474;BA.debugLine="p_abono.Visible = False"; +__ref._p_abono /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=9437475; + //BA.debugLineNum = 9437475;BA.debugLine="Starter.skmt.ExecNonQuery($\"INSERT INTO ABONOS"; +parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("INSERT INTO ABONOS(a_usuario, a_ruta, a_cliente, a_abono, a_fecha,TIPO_PAGO,a_ticket,a_numpago) VALUES ('"+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traeusuariodebd /*String*/ (ba)))+"', '"+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traeruta /*String*/ (ba,parent._subs._traecliente /*String*/ (ba))))+"', '"+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traecliente /*String*/ (ba)))+"' ,'"+parent.__c.SmartStringFormatter("",(Object)(__ref._et_abono /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))+"', '"+parent.__c.SmartStringFormatter("",(Object)(parent._subs._fechakmt /*String*/ (ba,BA.NumberToString(parent.__c.DateTime.getNow()))))+"','"+parent.__c.SmartStringFormatter("",(Object)(__ref._itemselect /*String*/ ))+"','"+parent.__c.SmartStringFormatter("",(Object)(_notaabono))+"','"+parent.__c.SmartStringFormatter("",(Object)(_numpago))+"')")); +RDebugUtils.currentLine=9437476; + //BA.debugLineNum = 9437476;BA.debugLine="ToastMessageShow(\"Abono guardado\", False)"; +parent.__c.ToastMessageShow(BA.ObjectToCharSequence("Abono guardado"),parent.__c.False); +RDebugUtils.currentLine=9437477; + //BA.debugLineNum = 9437477;BA.debugLine="Dim rutaactualizar As String"; +_rutaactualizar = ""; +RDebugUtils.currentLine=9437478; + //BA.debugLineNum = 9437478;BA.debugLine="Dim rut As Cursor = Starter.skmt.ExecQuery(\"SE"; +_rut = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_rut = (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_CL_RUTA FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))); +RDebugUtils.currentLine=9437479; + //BA.debugLineNum = 9437479;BA.debugLine="If rut.RowCount > 0 Then"; +if (true) break; + +case 120: +//if +this.state = 123; +if (_rut.getRowCount()>0) { +this.state = 122; +}if (true) break; + +case 122: +//C +this.state = 123; +RDebugUtils.currentLine=9437480; + //BA.debugLineNum = 9437480;BA.debugLine="rut.Position = 0"; +_rut.setPosition((int) (0)); +RDebugUtils.currentLine=9437481; + //BA.debugLineNum = 9437481;BA.debugLine="rutaactualizar = rut.GetString(\"CAT_CL_RUTA\")"; +_rutaactualizar = _rut.GetString("CAT_CL_RUTA"); + if (true) break; + +case 123: +//C +this.state = 124; +; +RDebugUtils.currentLine=9437483; + //BA.debugLineNum = 9437483;BA.debugLine="Starter.skmt.ExecNonQuery($\"UPDATE kmt_info se"; +parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("UPDATE kmt_info set gestion = 0, HORAENT = '"+parent.__c.SmartStringFormatter("",(Object)(__ref._sdate /*String*/ +" "+__ref._stime /*String*/ ))+"' where CAT_CL_CODIGO In (select cuenta from cuentaa) and CAT_CL_RUTA = '"+parent.__c.SmartStringFormatter("",(Object)(_rutaactualizar))+"'")); +RDebugUtils.currentLine=9437484; + //BA.debugLineNum = 9437484;BA.debugLine="Starter.skmt.ExecNonQuery($\"DELETE FROM NOVENT"; +parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("DELETE FROM NOVENTA WHERE NV_CLIENTE IN (select cuenta from cuentaa)")); +RDebugUtils.currentLine=9437485; + //BA.debugLineNum = 9437485;BA.debugLine="Private c3 As Cursor = Starter.skmt.ExecQuery("; +_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._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM PEDIDO WHERE PE_CLIENTEOR IN (SELECT CUENTA FROM CUENTAA)"))); +RDebugUtils.currentLine=9437486; + //BA.debugLineNum = 9437486;BA.debugLine="If c3.RowCount = 0 Then"; +if (true) break; + +case 124: +//if +this.state = 129; +if (_c3.getRowCount()==0) { +this.state = 126; +}else { +this.state = 128; +}if (true) break; + +case 126: +//C +this.state = 129; +RDebugUtils.currentLine=9437487; + //BA.debugLineNum = 9437487;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENTA"; +parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update HIST_VENTAS set HVD_RECHAZO = 0, HVD_RECHAZOCANT = 0, BCAJAS = BCAJAS_OR, CANTC = CANTC_OR WHERE HVD_cliente in (Select CUENTA from cuentaa)")); +RDebugUtils.currentLine=9437488; + //BA.debugLineNum = 9437488;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); + if (true) break; + +case 128: +//C +this.state = 129; +RDebugUtils.currentLine=9437490; + //BA.debugLineNum = 9437490;BA.debugLine="MsgboxAsync(\"Hay productos que ya se vendiero"; +parent.__c.MsgboxAsync(BA.ObjectToCharSequence("Hay productos que ya se vendieron, no se puede regresar la venta"),BA.ObjectToCharSequence("Atención"),ba); + if (true) break; + +case 129: +//C +this.state = 130; +; +RDebugUtils.currentLine=9437492; + //BA.debugLineNum = 9437492;BA.debugLine="Dim textedit As Double = et_abono.Text"; +_textedit = (double)(Double.parseDouble(__ref._et_abono /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())); +RDebugUtils.currentLine=9437493; + //BA.debugLineNum = 9437493;BA.debugLine="Dim sumaresta As Double = saldopendiente-texte"; +_sumaresta = _saldopendiente-_textedit-_saldopendiente1; +RDebugUtils.currentLine=9437495; + //BA.debugLineNum = 9437495;BA.debugLine="If NumberFormat2(sumaresta,0,2,2,False) <> \"-."; +if (true) break; + +case 130: +//if +this.state = 141; +if ((parent.__c.NumberFormat2(_sumaresta,(int) (0),(int) (2),(int) (2),parent.__c.False)).equals("-.00") == false) { +this.state = 132; +}if (true) break; + +case 132: +//C +this.state = 133; +RDebugUtils.currentLine=9437496; + //BA.debugLineNum = 9437496;BA.debugLine="If NumberFormat2(sumaresta,0,2,2,False) <> \"."; +if (true) break; + +case 133: +//if +this.state = 140; +if ((parent.__c.NumberFormat2(_sumaresta,(int) (0),(int) (2),(int) (2),parent.__c.False)).equals(".00") == false) { +this.state = 135; +}if (true) break; + +case 135: +//C +this.state = 136; +RDebugUtils.currentLine=9437497; + //BA.debugLineNum = 9437497;BA.debugLine="Dim rutaactualizar As String"; +_rutaactualizar = ""; +RDebugUtils.currentLine=9437498; + //BA.debugLineNum = 9437498;BA.debugLine="Dim rut As Cursor = Starter.skmt.ExecQuery(\""; +_rut = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_rut = (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_CL_RUTA FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))); +RDebugUtils.currentLine=9437499; + //BA.debugLineNum = 9437499;BA.debugLine="If rut.RowCount > 0 Then"; +if (true) break; + +case 136: +//if +this.state = 139; +if (_rut.getRowCount()>0) { +this.state = 138; +}if (true) break; + +case 138: +//C +this.state = 139; +RDebugUtils.currentLine=9437500; + //BA.debugLineNum = 9437500;BA.debugLine="rut.Position = 0"; +_rut.setPosition((int) (0)); +RDebugUtils.currentLine=9437501; + //BA.debugLineNum = 9437501;BA.debugLine="rutaactualizar = rut.GetString(\"CAT_CL_RUTA"; +_rutaactualizar = _rut.GetString("CAT_CL_RUTA"); + if (true) break; + +case 139: +//C +this.state = 140; +; +RDebugUtils.currentLine=9437503; + //BA.debugLineNum = 9437503;BA.debugLine="Starter.skmt.ExecNonQuery($\"UPDATE kmt_info"; +parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("UPDATE kmt_info set gestion = 3, HORAENT = '"+parent.__c.SmartStringFormatter("",(Object)(__ref._sdate /*String*/ +" "+__ref._stime /*String*/ ))+"' where CAT_CL_CODIGO In (select cuenta from cuentaa) and CAT_CL_RUTA = '"+parent.__c.SmartStringFormatter("",(Object)(_rutaactualizar))+"'")); +RDebugUtils.currentLine=9437504; + //BA.debugLineNum = 9437504;BA.debugLine="Starter.skmt.ExecNonQuery($\"DELETE FROM NOVE"; +parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("DELETE FROM NOVENTA WHERE NV_CLIENTE IN (select cuenta from cuentaa)")); +RDebugUtils.currentLine=9437505; + //BA.debugLineNum = 9437505;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO NOVE"; +parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO NOVENTA (NV_CLIENTE,NV_FECHA,NV_USER,NV_MOTIVO,NV_COMM,NV_LAT,NV_LON,NV_FOTO,NV_REPROGRAMAR) VALUES(?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._sdate /*String*/ +__ref._stime /*String*/ ),(Object)(__ref._usuario /*String*/ ),(Object)("PAGO INCOMPLETO"),(Object)("PAGO INCOMPLETO"),(Object)(parent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(parent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_rutaactualizar),(Object)(0)})); +RDebugUtils.currentLine=9437506; + //BA.debugLineNum = 9437506;BA.debugLine="Starter.skmt.ExecNonQuery(\"update HIST_VENTA"; +parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("update HIST_VENTAS SET HVD_RECHAZO = 1, HVD_RECHAZOCANT = HVD_CANT, HVD_RECHAZOCANTC = CANTC, BCAJAS = 0 , CANTC = 0 WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"); +RDebugUtils.currentLine=9437507; + //BA.debugLineNum = 9437507;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENT"; +parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update HIST_VENTAS set HVD_RECHAZO = 2, HVD_RECHAZOCANT = HVD_RECHAZOCANT WHERE HVD_PROID = HVD_CODPROMO and HVD_CLIENTE in (Select CUENTA from cuentaa)")); +RDebugUtils.currentLine=9437508; + //BA.debugLineNum = 9437508;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM PEDID"; +parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"); +RDebugUtils.currentLine=9437509; + //BA.debugLineNum = 9437509;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT RUTAA FRO"; +__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)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT RUTAA FROM RUTAA"))); +RDebugUtils.currentLine=9437510; + //BA.debugLineNum = 9437510;BA.debugLine="d.Position = 0"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=9437511; + //BA.debugLineNum = 9437511;BA.debugLine="Dim ruta As String = d.GetString(\"RUTAA\")"; +_ruta = __ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("RUTAA"); +RDebugUtils.currentLine=9437512; + //BA.debugLineNum = 9437512;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=9437513; + //BA.debugLineNum = 9437513;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT CAT_CL_RU"; +__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)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CAT_CL_RUTA FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))); +RDebugUtils.currentLine=9437514; + //BA.debugLineNum = 9437514;BA.debugLine="d.Position = 0"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=9437515; + //BA.debugLineNum = 9437515;BA.debugLine="Dim rutapre As String = d.GetString(\"CAT_CL_"; +_rutapre = __ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_RUTA"); +RDebugUtils.currentLine=9437516; + //BA.debugLineNum = 9437516;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=9437517; + //BA.debugLineNum = 9437517;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT HVD_FECHA"; +__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)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT HVD_FECHA FROM HIST_VENTAS WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))); +RDebugUtils.currentLine=9437518; + //BA.debugLineNum = 9437518;BA.debugLine="d.Position = 0"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=9437519; + //BA.debugLineNum = 9437519;BA.debugLine="Dim fechaprev As String = d.GetString(\"HVD_F"; +parent._fechaprev = __ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_FECHA"); +RDebugUtils.currentLine=9437520; + //BA.debugLineNum = 9437520;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=9437521; + //BA.debugLineNum = 9437521;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT CUENTA FR"; +__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)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CUENTA FROM CUENTAA"))); +RDebugUtils.currentLine=9437522; + //BA.debugLineNum = 9437522;BA.debugLine="d.Position = 0"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=9437523; + //BA.debugLineNum = 9437523;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO REPA"; +parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO REPARTO_GEO (CLIENTE, USUARIO, FECHA_PUNTEO, LATITUD, LONGITUD, ALMACEN, RUTA_REPARTO, RUTA_PREV, FECHA_PREVENTA, MOTIVO, COMENTARIO,TIPO,ENVIO) VALUES(?,?,?,?,?,?,?,?,?,?,?,?,0)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{__ref._cuenta /*String*/ ,__ref._usuario /*String*/ ,__ref._sdate /*String*/ +" "+__ref._stime /*String*/ ,parent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._lat_gps /*String*/ ,parent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._lon_gps /*String*/ ,parent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._almacen /*String*/ ,_ruta,_rutapre,__ref._fechaprev /*String*/ ,"PAGO INCOMPLETO","PAGO INCOMPLETO","NO ENTREGADO"})); +RDebugUtils.currentLine=9437524; + //BA.debugLineNum = 9437524;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +parent._b4xpages._showpage /*String*/ (ba,"Principal"); + if (true) break; + +case 140: +//C +this.state = 141; +; + if (true) break; + +case 141: +//C +this.state = 142; +; + if (true) break; + +case 142: +//C +this.state = 143; +; + if (true) break; + +case 143: +//C +this.state = 144; +; + if (true) break; + +case 144: +//C +this.state = -1; +; +RDebugUtils.currentLine=9437534; + //BA.debugLineNum = 9437534;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public String _b_acred_click(reparto_izca.keymon.lat.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b_acred_click", false)) + {return ((String) Debug.delegate(ba, "b_acred_click", null));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _pagacheca = null; +RDebugUtils.currentLine=9175040; + //BA.debugLineNum = 9175040;BA.debugLine="Private Sub b_acred_Click"; +RDebugUtils.currentLine=9175044; + //BA.debugLineNum = 9175044;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; +__c.DateTime.setDateFormat("dd/MM/yyyy"); +RDebugUtils.currentLine=9175045; + //BA.debugLineNum = 9175045;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; +__c.DateTime.setTimeFormat("HH:mm:ss"); +RDebugUtils.currentLine=9175046; + //BA.debugLineNum = 9175046;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=9175047; + //BA.debugLineNum = 9175047;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=9175049; + //BA.debugLineNum = 9175049;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CUENTA from 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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CUENTA from cuentaa"))); +RDebugUtils.currentLine=9175050; + //BA.debugLineNum = 9175050;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=9175051; + //BA.debugLineNum = 9175051;BA.debugLine="cuenta = c.GetString(\"CUENTA\")"; +__ref._cuenta /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUENTA"); +RDebugUtils.currentLine=9175052; + //BA.debugLineNum = 9175052;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=9175054; + //BA.debugLineNum = 9175054;BA.debugLine="c=Starter.skmt.ExecQuery(\"select usuario from 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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select usuario from usuarioa"))); +RDebugUtils.currentLine=9175055; + //BA.debugLineNum = 9175055;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=9175056; + //BA.debugLineNum = 9175056;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=9175057; + //BA.debugLineNum = 9175057;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=9175059; + //BA.debugLineNum = 9175059;BA.debugLine="c=Starter.skmt.ExecQuery(\"select ID_ALMACEN from"; +__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=9175060; + //BA.debugLineNum = 9175060;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=9175061; + //BA.debugLineNum = 9175061;BA.debugLine="almacen = c.GetString(\"ID_ALMACEN\")"; +__ref._almacen /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("ID_ALMACEN"); +RDebugUtils.currentLine=9175062; + //BA.debugLineNum = 9175062;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=9175064; + //BA.debugLineNum = 9175064;BA.debugLine="c=Starter.skmt.ExecQuery(\"select HVD_FECHA from"; +__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 HVD_FECHA from HIST_VENTAS WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))); +RDebugUtils.currentLine=9175065; + //BA.debugLineNum = 9175065;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=9175066; + //BA.debugLineNum = 9175066;BA.debugLine="fechaprev = c.GetString(\"HVD_FECHA\")"; +__ref._fechaprev /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_FECHA"); +RDebugUtils.currentLine=9175067; + //BA.debugLineNum = 9175067;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=9175069; + //BA.debugLineNum = 9175069;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CAT_CL_RUTA 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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_RUTA from kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))); +RDebugUtils.currentLine=9175070; + //BA.debugLineNum = 9175070;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=9175071; + //BA.debugLineNum = 9175071;BA.debugLine="rutaprev = c.GetString(\"CAT_CL_RUTA\")"; +__ref._rutaprev /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_RUTA"); +RDebugUtils.currentLine=9175072; + //BA.debugLineNum = 9175072;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=9175074; + //BA.debugLineNum = 9175074;BA.debugLine="c=Starter.skmt.ExecQuery(\"select RUTAA from RUTA"; +__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 RUTAA from RUTAA"))); +RDebugUtils.currentLine=9175075; + //BA.debugLineNum = 9175075;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=9175076; + //BA.debugLineNum = 9175076;BA.debugLine="rutarep = c.GetString(\"RUTAA\")"; +__ref._rutarep /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("RUTAA"); +RDebugUtils.currentLine=9175077; + //BA.debugLineNum = 9175077;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=9175079; + //BA.debugLineNum = 9175079;BA.debugLine="c = Starter.skmt.ExecQuery($\"select distinct hvd_"; +__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 distinct hvd_num_ticket from hist_ventas where hvd_cliente = '"+__c.SmartStringFormatter("",(Object)(__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()))+"' AND HVD_BCREDITO = '1'")))); +RDebugUtils.currentLine=9175080; + //BA.debugLineNum = 9175080;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=9175081; + //BA.debugLineNum = 9175081;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=9175082; + //BA.debugLineNum = 9175082;BA.debugLine="NOTA = c.GetString(\"HVD_NUM_TICKET\")"; +__ref._nota /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_NUM_TICKET"); + }; +RDebugUtils.currentLine=9175084; + //BA.debugLineNum = 9175084;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=9175086; + //BA.debugLineNum = 9175086;BA.debugLine="Dim pagacheca As Cursor = Starter.skmt.ExecQuery("; +_pagacheca = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_pagacheca = (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 PAGARES WHERE PA_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))); +RDebugUtils.currentLine=9175088; + //BA.debugLineNum = 9175088;BA.debugLine="If pagacheca.RowCount > 0 Then"; +if (_pagacheca.getRowCount()>0) { +RDebugUtils.currentLine=9175091; + //BA.debugLineNum = 9175091;BA.debugLine="Guardado"; +__ref._guardado /*String*/ (null); + }else { +RDebugUtils.currentLine=9175094; + //BA.debugLineNum = 9175094;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PAGARES"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PAGARES (PA_ALMACEN, PA_RUTA_REP, PA_RUTAPREV, PA_FECHA_PREV, PA_CAPTURA, PA_MONTO, PA_USUARIO, PA_CLIENTE,PA_TICKET) VALUES(?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._almacen /*String*/ ),(Object)(__ref._rutarep /*String*/ ),(Object)(__ref._rutaprev /*String*/ ),(Object)(__ref._fechaprev /*String*/ ),(Object)((__ref._sdate /*String*/ )),(Object)(__ref._l_montopag /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._usuario /*String*/ ),(Object)(__ref._cuenta /*String*/ ),(Object)(__ref._nota /*String*/ )})); +RDebugUtils.currentLine=9175097; + //BA.debugLineNum = 9175097;BA.debugLine="Guardado"; +__ref._guardado /*String*/ (null); + }; +RDebugUtils.currentLine=9175105; + //BA.debugLineNum = 9175105;BA.debugLine="End Sub"; +return ""; +} +public String _guardado(reparto_izca.keymon.lat.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "guardado", false)) + {return ((String) Debug.delegate(ba, "guardado", null));} +String _ruta = ""; +String _rutapre = ""; +String _rutaactualizar = ""; +anywheresoftware.b4a.sql.SQL.CursorWrapper _rut = null; +RDebugUtils.currentLine=8126464; + //BA.debugLineNum = 8126464;BA.debugLine="Sub Guardado"; +RDebugUtils.currentLine=8126465; + //BA.debugLineNum = 8126465;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +__c.DateTime.setDateFormat("MM/dd/yyyy"); +RDebugUtils.currentLine=8126466; + //BA.debugLineNum = 8126466;BA.debugLine="DateTime.TimeFormat=\"HHmmss\""; +__c.DateTime.setTimeFormat("HHmmss"); +RDebugUtils.currentLine=8126467; + //BA.debugLineNum = 8126467;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=8126468; + //BA.debugLineNum = 8126468;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=8126469; + //BA.debugLineNum = 8126469;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CUENTA from cuen"; +__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 CUENTA from cuentaa"))); +RDebugUtils.currentLine=8126470; + //BA.debugLineNum = 8126470;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=8126471; + //BA.debugLineNum = 8126471;BA.debugLine="cuenta = c.GetString(\"CUENTA\")"; +__ref._cuenta /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUENTA"); +RDebugUtils.currentLine=8126472; + //BA.debugLineNum = 8126472;BA.debugLine="c=Starter.skmt.ExecQuery(\"select usuario from 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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select usuario from usuarioa"))); +RDebugUtils.currentLine=8126473; + //BA.debugLineNum = 8126473;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=8126474; + //BA.debugLineNum = 8126474;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=8126475; + //BA.debugLineNum = 8126475;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=8126476; + //BA.debugLineNum = 8126476;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT RUTAA FROM RUT"; +__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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT RUTAA FROM RUTAA"))); +RDebugUtils.currentLine=8126477; + //BA.debugLineNum = 8126477;BA.debugLine="d.Position = 0"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=8126478; + //BA.debugLineNum = 8126478;BA.debugLine="Dim ruta As String = d.GetString(\"RUTAA\")"; +_ruta = __ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("RUTAA"); +RDebugUtils.currentLine=8126479; + //BA.debugLineNum = 8126479;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=8126480; + //BA.debugLineNum = 8126480;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT CAT_CL_RUTA FR"; +__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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CAT_CL_RUTA FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))); +RDebugUtils.currentLine=8126481; + //BA.debugLineNum = 8126481;BA.debugLine="d.Position = 0"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=8126482; + //BA.debugLineNum = 8126482;BA.debugLine="Dim rutapre As String = d.GetString(\"CAT_CL_RUTA\""; +_rutapre = __ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_RUTA"); +RDebugUtils.currentLine=8126483; + //BA.debugLineNum = 8126483;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=8126487; + //BA.debugLineNum = 8126487;BA.debugLine="Dim fechaprev As String = Subs.traefECHAPREV"; +_fechaprev = _subs._traefechaprev /*String*/ (ba); +RDebugUtils.currentLine=8126490; + //BA.debugLineNum = 8126490;BA.debugLine="Dim rutaactualizar As String"; +_rutaactualizar = ""; +RDebugUtils.currentLine=8126491; + //BA.debugLineNum = 8126491;BA.debugLine="Dim rut As Cursor = Starter.skmt.ExecQuery(\"SELEC"; +_rut = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_rut = (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_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))); +RDebugUtils.currentLine=8126492; + //BA.debugLineNum = 8126492;BA.debugLine="If rut.RowCount > 0 Then"; +if (_rut.getRowCount()>0) { +RDebugUtils.currentLine=8126493; + //BA.debugLineNum = 8126493;BA.debugLine="rut.Position = 0"; +_rut.setPosition((int) (0)); +RDebugUtils.currentLine=8126494; + //BA.debugLineNum = 8126494;BA.debugLine="rutaactualizar = rut.GetString(\"CAT_CL_RUTA\")"; +_rutaactualizar = _rut.GetString("CAT_CL_RUTA"); + }; +RDebugUtils.currentLine=8126497; + //BA.debugLineNum = 8126497;BA.debugLine="Starter.skmt.ExecNonQuery($\"DELETE FROM NOVENTA W"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("DELETE FROM NOVENTA WHERE NV_CLIENTE IN (select cuenta from cuentaa) AND NV_RUTA ='"+__c.SmartStringFormatter("",(Object)(_rutaactualizar))+"' ")); +RDebugUtils.currentLine=8126498; + //BA.debugLineNum = 8126498;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO NOVENTA ("; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO NOVENTA (NV_CLIENTE,NV_FECHA,NV_USER,NV_MOTIVO,NV_COMM,NV_LAT,NV_LON,NV_RUTA) VALUES(?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._cuenta /*String*/ ),(Object)(__ref._sdate /*String*/ +" "+__ref._stime /*String*/ ),(Object)(__ref._usuario /*String*/ ),(Object)("ENTREGA"),(Object)("ENTREGA COMPLETA"),(Object)(_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_rutaactualizar)})); +RDebugUtils.currentLine=8126499; + //BA.debugLineNum = 8126499;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO REPARTO_G"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO REPARTO_GEO (CLIENTE, USUARIO, FECHA_PUNTEO, LATITUD, LONGITUD, ALMACEN, RUTA_REPARTO, RUTA_PREV, FECHA_PREVENTA, TIPO,ENVIO) VALUES(?,?,?,?,?,?,?,?,?,?,0)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText(),__ref._usuario /*String*/ ,__ref._sdate /*String*/ +" "+__ref._stime /*String*/ ,_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._lat_gps /*String*/ ,_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._lon_gps /*String*/ ,_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._almacen /*String*/ ,_ruta,_rutapre,__ref._fechaprev /*String*/ ,"ENTREGADO"})); +RDebugUtils.currentLine=8126500; + //BA.debugLineNum = 8126500;BA.debugLine="Starter.skmt.ExecNonQuery($\"UPDATE kmt_info set g"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("UPDATE kmt_info set gestion = 2, HORAENT = '"+__c.SmartStringFormatter("",(Object)(__ref._sdate /*String*/ +" "+__ref._stime /*String*/ ))+"' where CAT_CL_CODIGO In (select cuenta from cuentaa) and CAT_CL_RUTA = '"+__c.SmartStringFormatter("",(Object)(_rutaactualizar))+"' ")); +RDebugUtils.currentLine=8126501; + //BA.debugLineNum = 8126501;BA.debugLine="Starter.skmt.ExecNonQuery(\"update HIST_VENTAS SET"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("update HIST_VENTAS SET HVD_ESTATUS = 1 WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"); +RDebugUtils.currentLine=8126502; + //BA.debugLineNum = 8126502;BA.debugLine="mandaPendientesreparto"; +__ref._mandapendientesreparto /*String*/ (null); +RDebugUtils.currentLine=8126509; + //BA.debugLineNum = 8126509;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +_b4xpages._showpage /*String*/ (ba,"Principal"); +RDebugUtils.currentLine=8126511; + //BA.debugLineNum = 8126511;BA.debugLine="End Sub"; +return ""; +} +public String _b_cancel_pagare_click(reparto_izca.keymon.lat.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b_cancel_pagare_click", false)) + {return ((String) Debug.delegate(ba, "b_cancel_pagare_click", null));} +anywheresoftware.b4a.objects.collections.List _items = null; +double _total = 0; +int _i = 0; +RDebugUtils.currentLine=9502720; + //BA.debugLineNum = 9502720;BA.debugLine="Private Sub b_cancel_pagare_Click"; +RDebugUtils.currentLine=9502721; + //BA.debugLineNum = 9502721;BA.debugLine="tipo_abonox = \"abono\""; +__ref._tipo_abonox /*String*/ = "abono"; +RDebugUtils.currentLine=9502723; + //BA.debugLineNum = 9502723;BA.debugLine="Dim Items As List"; +_items = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=9502724; + //BA.debugLineNum = 9502724;BA.debugLine="Items.Initialize"; +_items.Initialize(); +RDebugUtils.currentLine=9502726; + //BA.debugLineNum = 9502726;BA.debugLine="Items.Add(\"SELECCIONA UNA OPCION\")"; +_items.Add((Object)("SELECCIONA UNA OPCION")); +RDebugUtils.currentLine=9502727; + //BA.debugLineNum = 9502727;BA.debugLine="Items.Add(\"TRANSFERENCIA\")"; +_items.Add((Object)("TRANSFERENCIA")); +RDebugUtils.currentLine=9502728; + //BA.debugLineNum = 9502728;BA.debugLine="Items.Add(\"EFECTIVO\")"; +_items.Add((Object)("EFECTIVO")); +RDebugUtils.currentLine=9502729; + //BA.debugLineNum = 9502729;BA.debugLine="Items.Add(\"CHEQUE\")"; +_items.Add((Object)("CHEQUE")); +RDebugUtils.currentLine=9502731; + //BA.debugLineNum = 9502731;BA.debugLine="cb_tipopago.SetItems(Items)"; +__ref._cb_tipopago /*reparto_izca.keymon.lat.b4xcombobox*/ ._setitems /*String*/ (null,_items); +RDebugUtils.currentLine=9502733; + //BA.debugLineNum = 9502733;BA.debugLine="itemselect= \"SELECCIONA UNA OPCION\""; +__ref._itemselect /*String*/ = "SELECCIONA UNA OPCION"; +RDebugUtils.currentLine=9502735; + //BA.debugLineNum = 9502735;BA.debugLine="h = Starter.skmt.ExecQuery(\"SELECT CUENTA from CU"; +__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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CUENTA from CUENTAA"))); +RDebugUtils.currentLine=9502736; + //BA.debugLineNum = 9502736;BA.debugLine="h.Position = 0"; +__ref._h /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=9502737; + //BA.debugLineNum = 9502737;BA.debugLine="Log(h.GetString(\"CUENTA\"))"; +__c.LogImpl("89502737",__ref._h /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUENTA"),0); +RDebugUtils.currentLine=9502738; + //BA.debugLineNum = 9502738;BA.debugLine="j = Starter.skmt.ExecQuery2(\"SELECT a_abono FROM"; +__ref._j /*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*/ .ExecQuery2("SELECT a_abono FROM ABONOS WHERE a_cliente = ? and a_tipoabono is null",new String[]{__ref._h /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUENTA")}))); +RDebugUtils.currentLine=9502739; + //BA.debugLineNum = 9502739;BA.debugLine="j.position = 0"; +__ref._j /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=9502740; + //BA.debugLineNum = 9502740;BA.debugLine="Log(j.RowCount)"; +__c.LogImpl("89502740",BA.NumberToString(__ref._j /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()),0); +RDebugUtils.currentLine=9502741; + //BA.debugLineNum = 9502741;BA.debugLine="If j.RowCount = 0 Then"; +if (__ref._j /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()==0) { +RDebugUtils.currentLine=9502742; + //BA.debugLineNum = 9502742;BA.debugLine="p_abono.Visible = True"; +__ref._p_abono /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=9502743; + //BA.debugLineNum = 9502743;BA.debugLine="p_abono.Width = Root.Width"; +__ref._p_abono /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=9502744; + //BA.debugLineNum = 9502744;BA.debugLine="p_abono.Height = Root.Height"; +__ref._p_abono /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=9502745; + //BA.debugLineNum = 9502745;BA.debugLine="et_abono.text = \"\""; +__ref._et_abono /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=9502746; + //BA.debugLineNum = 9502746;BA.debugLine="Dim total As Double = 0"; +_total = 0; +RDebugUtils.currentLine=9502747; + //BA.debugLineNum = 9502747;BA.debugLine="f = Starter.skmt.ExecQuery(\"SELECT CUENTA FROM C"; +__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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CUENTA FROM CUENTAA"))); +RDebugUtils.currentLine=9502748; + //BA.debugLineNum = 9502748;BA.debugLine="f.Position = 0"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=9502749; + //BA.debugLineNum = 9502749;BA.debugLine="d = Starter.skmt.ExecQuery2(\"SELECT distinct PA_"; +__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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT distinct PA_TICKET, PA_MONTO FROM PAGARES WHERE PA_CLIENTE = ?",new String[]{__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUENTA")}))); +RDebugUtils.currentLine=9502750; + //BA.debugLineNum = 9502750;BA.debugLine="clv_abonos.Clear"; +__ref._clv_abonos /*b4a.example3.customlistview*/ ._clear(); +RDebugUtils.currentLine=9502751; + //BA.debugLineNum = 9502751;BA.debugLine="For i = 0 To d.RowCount - 1"; +{ +final int step26 = 1; +final int limit26 = (int) (__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit26 ;_i = _i + step26 ) { +RDebugUtils.currentLine=9502752; + //BA.debugLineNum = 9502752;BA.debugLine="d.Position = i"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=9502753; + //BA.debugLineNum = 9502753;BA.debugLine="clv_abonos.Add(CreateListItem(d.GetString(\"PA_T"; +__ref._clv_abonos /*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,__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PA_TICKET"),"$ "+__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PA_MONTO")).getObject())),(Object)(_i)); +RDebugUtils.currentLine=9502755; + //BA.debugLineNum = 9502755;BA.debugLine="total = total + d.GetString(\"PA_MONTO\")"; +_total = _total+(double)(Double.parseDouble(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PA_MONTO"))); +RDebugUtils.currentLine=9502756; + //BA.debugLineNum = 9502756;BA.debugLine="Log(total)"; +__c.LogImpl("89502756",BA.NumberToString(_total),0); + } +}; +RDebugUtils.currentLine=9502758; + //BA.debugLineNum = 9502758;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=9502759; + //BA.debugLineNum = 9502759;BA.debugLine="d = Starter.skmt.ExecQuery2(\"SELECT a_abono FRO"; +__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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT a_abono FROM ABONOS WHERE a_cliente = ? and a_tipoabono is not null ",new String[]{__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUENTA")}))); +RDebugUtils.currentLine=9502760; + //BA.debugLineNum = 9502760;BA.debugLine="If d.RowCount > 0 Then"; +if (__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=9502761; + //BA.debugLineNum = 9502761;BA.debugLine="For i = 0 To d.RowCount - 1"; +{ +final int step35 = 1; +final int limit35 = (int) (__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit35 ;_i = _i + step35 ) { +RDebugUtils.currentLine=9502762; + //BA.debugLineNum = 9502762;BA.debugLine="d.Position = i"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=9502763; + //BA.debugLineNum = 9502763;BA.debugLine="clv_abonos.Add(CreateListItem(\"ABONO\",\"$ \" & d"; +__ref._clv_abonos /*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,"ABONO","$ "+__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("a_abono")).getObject())),(Object)(_i)); +RDebugUtils.currentLine=9502764; + //BA.debugLineNum = 9502764;BA.debugLine="total = total - d.GetString(\"a_abono\")"; +_total = _total-(double)(Double.parseDouble(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("a_abono"))); +RDebugUtils.currentLine=9502765; + //BA.debugLineNum = 9502765;BA.debugLine="Log(total)"; +__c.LogImpl("89502765",BA.NumberToString(_total),0); + } +}; + }; +RDebugUtils.currentLine=9502768; + //BA.debugLineNum = 9502768;BA.debugLine="l_montoabonostotal.Text = NumberFormat2(total,0,"; +__ref._l_montoabonostotal /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.NumberFormat2(_total,(int) (0),(int) (2),(int) (2),__c.False))); +RDebugUtils.currentLine=9502769; + //BA.debugLineNum = 9502769;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=9502770; + //BA.debugLineNum = 9502770;BA.debugLine="f.Close"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }else +{RDebugUtils.currentLine=9502771; + //BA.debugLineNum = 9502771;BA.debugLine="Else If j.RowCount > 0 Then"; +if (__ref._j /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=9502772; + //BA.debugLineNum = 9502772;BA.debugLine="p_abono.Visible = True"; +__ref._p_abono /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=9502773; + //BA.debugLineNum = 9502773;BA.debugLine="p_abono.Width = Root.Width"; +__ref._p_abono /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=9502774; + //BA.debugLineNum = 9502774;BA.debugLine="p_abono.Height = Root.Height"; +__ref._p_abono /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=9502775; + //BA.debugLineNum = 9502775;BA.debugLine="et_abono.text = \"\""; +__ref._et_abono /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=9502776; + //BA.debugLineNum = 9502776;BA.debugLine="Dim total As Double = 0"; +_total = 0; +RDebugUtils.currentLine=9502777; + //BA.debugLineNum = 9502777;BA.debugLine="f = Starter.skmt.ExecQuery(\"SELECT CUENTA FROM C"; +__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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CUENTA FROM CUENTAA"))); +RDebugUtils.currentLine=9502778; + //BA.debugLineNum = 9502778;BA.debugLine="f.Position = 0"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=9502779; + //BA.debugLineNum = 9502779;BA.debugLine="d = Starter.skmt.ExecQuery2(\"SELECT distinct PA_"; +__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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT distinct PA_TICKET, PA_MONTO FROM PAGARES WHERE PA_CLIENTE = ? ",new String[]{__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUENTA")}))); +RDebugUtils.currentLine=9502780; + //BA.debugLineNum = 9502780;BA.debugLine="clv_abonos.Clear"; +__ref._clv_abonos /*b4a.example3.customlistview*/ ._clear(); +RDebugUtils.currentLine=9502781; + //BA.debugLineNum = 9502781;BA.debugLine="For i = 0 To d.RowCount - 1"; +{ +final int step55 = 1; +final int limit55 = (int) (__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit55 ;_i = _i + step55 ) { +RDebugUtils.currentLine=9502782; + //BA.debugLineNum = 9502782;BA.debugLine="d.Position = i"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=9502783; + //BA.debugLineNum = 9502783;BA.debugLine="clv_abonos.Add(CreateListItem(d.GetString(\"PA_T"; +__ref._clv_abonos /*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,__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PA_TICKET"),"$ "+__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PA_MONTO")).getObject())),(Object)(_i)); +RDebugUtils.currentLine=9502785; + //BA.debugLineNum = 9502785;BA.debugLine="total = total + d.GetString(\"PA_MONTO\").Replace"; +_total = _total+(double)(Double.parseDouble(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PA_MONTO").replace(",",""))); +RDebugUtils.currentLine=9502786; + //BA.debugLineNum = 9502786;BA.debugLine="Log(total)"; +__c.LogImpl("89502786",BA.NumberToString(_total),0); + } +}; +RDebugUtils.currentLine=9502788; + //BA.debugLineNum = 9502788;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=9502789; + //BA.debugLineNum = 9502789;BA.debugLine="d = Starter.skmt.ExecQuery2(\"SELECT a_abono FRO"; +__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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT a_abono FROM ABONOS WHERE a_cliente = ? and a_tipoabono is not null ",new String[]{__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUENTA")}))); +RDebugUtils.currentLine=9502790; + //BA.debugLineNum = 9502790;BA.debugLine="If d.RowCount > 0 Then"; +if (__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=9502791; + //BA.debugLineNum = 9502791;BA.debugLine="For i = 0 To d.RowCount - 1"; +{ +final int step64 = 1; +final int limit64 = (int) (__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit64 ;_i = _i + step64 ) { +RDebugUtils.currentLine=9502792; + //BA.debugLineNum = 9502792;BA.debugLine="d.Position = i"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=9502793; + //BA.debugLineNum = 9502793;BA.debugLine="clv_abonos.Add(CreateListItem(\"ABONO\",\"$ \" & d"; +__ref._clv_abonos /*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,"ABONO","$ "+__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("a_abono")).getObject())),(Object)(_i)); +RDebugUtils.currentLine=9502794; + //BA.debugLineNum = 9502794;BA.debugLine="total = total - d.GetString(\"a_abono\")"; +_total = _total-(double)(Double.parseDouble(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("a_abono"))); +RDebugUtils.currentLine=9502795; + //BA.debugLineNum = 9502795;BA.debugLine="Log(total)"; +__c.LogImpl("89502795",BA.NumberToString(_total),0); + } +}; + }; +RDebugUtils.currentLine=9502798; + //BA.debugLineNum = 9502798;BA.debugLine="l_montoabonostotal.Text = NumberFormat2(total,0,"; +__ref._l_montoabonostotal /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.NumberFormat2(_total,(int) (0),(int) (2),(int) (2),__c.False))); +RDebugUtils.currentLine=9502799; + //BA.debugLineNum = 9502799;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=9502800; + //BA.debugLineNum = 9502800;BA.debugLine="f.Close"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }} +; +RDebugUtils.currentLine=9502803; + //BA.debugLineNum = 9502803;BA.debugLine="h.Close"; +__ref._h /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=9502804; + //BA.debugLineNum = 9502804;BA.debugLine="j.Close"; +__ref._j /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=9502811; + //BA.debugLineNum = 9502811;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.objects.PanelWrapper _createlistitem(reparto_izca.keymon.lat.c_cliente __ref,String _mostrar,String _mostrar1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "createlistitem", false)) + {return ((anywheresoftware.b4a.objects.PanelWrapper) Debug.delegate(ba, "createlistitem", new Object[] {_mostrar,_mostrar1}));} +anywheresoftware.b4a.objects.B4XViewWrapper _p = null; +RDebugUtils.currentLine=9633792; + //BA.debugLineNum = 9633792;BA.debugLine="Sub CreateListItem(mostrar As String, mostrar1 As"; +RDebugUtils.currentLine=9633793; + //BA.debugLineNum = 9633793;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=9633794; + //BA.debugLineNum = 9633794;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, 1, 10)"; +_p.SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (1),(int) (10)); +RDebugUtils.currentLine=9633795; + //BA.debugLineNum = 9633795;BA.debugLine="p.LoadLayout(\"folioabono\")"; +_p.LoadLayout("folioabono",ba); +RDebugUtils.currentLine=9633796; + //BA.debugLineNum = 9633796;BA.debugLine="p.Height= 32dip"; +_p.setHeight(__c.DipToCurrent((int) (32))); +RDebugUtils.currentLine=9633797; + //BA.debugLineNum = 9633797;BA.debugLine="p.Width = 80dip"; +_p.setWidth(__c.DipToCurrent((int) (80))); +RDebugUtils.currentLine=9633799; + //BA.debugLineNum = 9633799;BA.debugLine="l_folio.Text = mostrar"; +__ref._l_folio /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_mostrar)); +RDebugUtils.currentLine=9633800; + //BA.debugLineNum = 9633800;BA.debugLine="l_saldo.Text = mostrar1"; +__ref._l_saldo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_mostrar1)); +RDebugUtils.currentLine=9633803; + //BA.debugLineNum = 9633803;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=9633804; + //BA.debugLineNum = 9633804;BA.debugLine="End Sub"; +return null; +} +public String _b_cancelar_click(reparto_izca.keymon.lat.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b_cancelar_click", false)) + {return ((String) Debug.delegate(ba, "b_cancelar_click", null));} +RDebugUtils.currentLine=9699328; + //BA.debugLineNum = 9699328;BA.debugLine="Private Sub b_cancelar_Click"; +RDebugUtils.currentLine=9699329; + //BA.debugLineNum = 9699329;BA.debugLine="et_abono.Text = \"\""; +__ref._et_abono /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=9699330; + //BA.debugLineNum = 9699330;BA.debugLine="p_abono.Visible = False"; +__ref._p_abono /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=9699331; + //BA.debugLineNum = 9699331;BA.debugLine="ime.HideKeyboard"; +__ref._ime /*anywheresoftware.b4a.objects.IME*/ .HideKeyboard(ba); +RDebugUtils.currentLine=9699332; + //BA.debugLineNum = 9699332;BA.debugLine="End Sub"; +return ""; +} +public String _b_cancred_click(reparto_izca.keymon.lat.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b_cancred_click", false)) + {return ((String) Debug.delegate(ba, "b_cancred_click", null));} +RDebugUtils.currentLine=9240576; + //BA.debugLineNum = 9240576;BA.debugLine="Private Sub b_cancred_Click"; +RDebugUtils.currentLine=9240577; + //BA.debugLineNum = 9240577;BA.debugLine="et_montoacredito.Text = \"\""; +__ref._et_montoacredito /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=9240578; + //BA.debugLineNum = 9240578;BA.debugLine="p_credito.Visible = False"; +__ref._p_credito /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=9240579; + //BA.debugLineNum = 9240579;BA.debugLine="End Sub"; +return ""; +} +public String _b_cxc_click(reparto_izca.keymon.lat.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b_cxc_click", false)) + {return ((String) Debug.delegate(ba, "b_cxc_click", null));} +anywheresoftware.b4a.objects.collections.List _items = null; +double _total = 0; +int _i = 0; +RDebugUtils.currentLine=9371648; + //BA.debugLineNum = 9371648;BA.debugLine="Private Sub b_cxc_Click"; +RDebugUtils.currentLine=9371649; + //BA.debugLineNum = 9371649;BA.debugLine="tipo_abonox = \"cxc\""; +__ref._tipo_abonox /*String*/ = "cxc"; +RDebugUtils.currentLine=9371650; + //BA.debugLineNum = 9371650;BA.debugLine="h = Starter.skmt.ExecQuery(\"SELECT CUENTA from CU"; +__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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CUENTA from CUENTAA"))); +RDebugUtils.currentLine=9371651; + //BA.debugLineNum = 9371651;BA.debugLine="h.Position = 0"; +__ref._h /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=9371652; + //BA.debugLineNum = 9371652;BA.debugLine="Log(h.GetString(\"CUENTA\"))"; +__c.LogImpl("89371652",__ref._h /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUENTA"),0); +RDebugUtils.currentLine=9371654; + //BA.debugLineNum = 9371654;BA.debugLine="Dim Items As List"; +_items = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=9371655; + //BA.debugLineNum = 9371655;BA.debugLine="Items.Initialize"; +_items.Initialize(); +RDebugUtils.currentLine=9371657; + //BA.debugLineNum = 9371657;BA.debugLine="Items.Add(\"SELECCIONA UNA OPCION\")"; +_items.Add((Object)("SELECCIONA UNA OPCION")); +RDebugUtils.currentLine=9371658; + //BA.debugLineNum = 9371658;BA.debugLine="Items.Add(\"TRANSFERENCIA\")"; +_items.Add((Object)("TRANSFERENCIA")); +RDebugUtils.currentLine=9371659; + //BA.debugLineNum = 9371659;BA.debugLine="Items.Add(\"EFECTIVO\")"; +_items.Add((Object)("EFECTIVO")); +RDebugUtils.currentLine=9371660; + //BA.debugLineNum = 9371660;BA.debugLine="Items.Add(\"CHEQUE\")"; +_items.Add((Object)("CHEQUE")); +RDebugUtils.currentLine=9371662; + //BA.debugLineNum = 9371662;BA.debugLine="cb_tipopago.SetItems(Items)"; +__ref._cb_tipopago /*reparto_izca.keymon.lat.b4xcombobox*/ ._setitems /*String*/ (null,_items); +RDebugUtils.currentLine=9371664; + //BA.debugLineNum = 9371664;BA.debugLine="itemselect= \"SELECCIONA UNA OPCION\""; +__ref._itemselect /*String*/ = "SELECCIONA UNA OPCION"; +RDebugUtils.currentLine=9371666; + //BA.debugLineNum = 9371666;BA.debugLine="j = Starter.skmt.ExecQuery2(\"SELECT a_abono FROM"; +__ref._j /*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*/ .ExecQuery2("SELECT a_abono FROM ABONOS WHERE a_cliente = ?",new String[]{__ref._h /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUENTA")}))); +RDebugUtils.currentLine=9371667; + //BA.debugLineNum = 9371667;BA.debugLine="j.position = 0"; +__ref._j /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=9371668; + //BA.debugLineNum = 9371668;BA.debugLine="Log(j.RowCount)"; +__c.LogImpl("89371668",BA.NumberToString(__ref._j /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()),0); +RDebugUtils.currentLine=9371669; + //BA.debugLineNum = 9371669;BA.debugLine="If j.RowCount = 0 Then"; +if (__ref._j /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()==0) { +RDebugUtils.currentLine=9371670; + //BA.debugLineNum = 9371670;BA.debugLine="p_abono.Visible = True"; +__ref._p_abono /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=9371671; + //BA.debugLineNum = 9371671;BA.debugLine="p_abono.Width = Root.Width"; +__ref._p_abono /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=9371672; + //BA.debugLineNum = 9371672;BA.debugLine="p_abono.Height = Root.Height"; +__ref._p_abono /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=9371673; + //BA.debugLineNum = 9371673;BA.debugLine="et_abono.text = \"\""; +__ref._et_abono /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=9371674; + //BA.debugLineNum = 9371674;BA.debugLine="Dim total As Double = 0"; +_total = 0; +RDebugUtils.currentLine=9371675; + //BA.debugLineNum = 9371675;BA.debugLine="f = Starter.skmt.ExecQuery(\"SELECT CUENTA FROM C"; +__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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CUENTA FROM CUENTAA"))); +RDebugUtils.currentLine=9371676; + //BA.debugLineNum = 9371676;BA.debugLine="f.Position = 0"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=9371677; + //BA.debugLineNum = 9371677;BA.debugLine="d = Starter.skmt.ExecQuery2(\"SELECT NOTA, SALDO_"; +__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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT NOTA, SALDO_PENDIENTE FROM ABONOSP WHERE CLIENTE = ? AND SALDO_PENDIENTE <> 0",new String[]{__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUENTA")}))); +RDebugUtils.currentLine=9371678; + //BA.debugLineNum = 9371678;BA.debugLine="clv_abonos.Clear"; +__ref._clv_abonos /*b4a.example3.customlistview*/ ._clear(); +RDebugUtils.currentLine=9371679; + //BA.debugLineNum = 9371679;BA.debugLine="For i = 0 To d.RowCount - 1"; +{ +final int step26 = 1; +final int limit26 = (int) (__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit26 ;_i = _i + step26 ) { +RDebugUtils.currentLine=9371680; + //BA.debugLineNum = 9371680;BA.debugLine="d.Position = i"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=9371681; + //BA.debugLineNum = 9371681;BA.debugLine="clv_abonos.Add(CreateListItem(d.GetString(\"NOTA"; +__ref._clv_abonos /*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,__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("NOTA"),"$ "+__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("SALDO_PENDIENTE")).getObject())),(Object)(_i)); +RDebugUtils.currentLine=9371682; + //BA.debugLineNum = 9371682;BA.debugLine="Log(d.GetString(\"NOTA\"))"; +__c.LogImpl("89371682",__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("NOTA"),0); +RDebugUtils.currentLine=9371683; + //BA.debugLineNum = 9371683;BA.debugLine="Log(d.GetString(\"SALDO_PENDIENTE\"))"; +__c.LogImpl("89371683",__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("SALDO_PENDIENTE"),0); +RDebugUtils.currentLine=9371684; + //BA.debugLineNum = 9371684;BA.debugLine="total = total + d.GetString(\"SALDO_PENDIENTE\")"; +_total = _total+(double)(Double.parseDouble(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("SALDO_PENDIENTE"))); +RDebugUtils.currentLine=9371685; + //BA.debugLineNum = 9371685;BA.debugLine="Log(total)"; +__c.LogImpl("89371685",BA.NumberToString(_total),0); + } +}; +RDebugUtils.currentLine=9371687; + //BA.debugLineNum = 9371687;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=9371688; + //BA.debugLineNum = 9371688;BA.debugLine="d = Starter.skmt.ExecQuery2(\"SELECT a_abono FRO"; +__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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT a_abono FROM ABONOS WHERE a_cliente = ? and a_tipoabono is null",new String[]{__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUENTA")}))); +RDebugUtils.currentLine=9371689; + //BA.debugLineNum = 9371689;BA.debugLine="If d.RowCount > 0 Then"; +if (__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=9371690; + //BA.debugLineNum = 9371690;BA.debugLine="For i = 0 To d.RowCount - 1"; +{ +final int step37 = 1; +final int limit37 = (int) (__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit37 ;_i = _i + step37 ) { +RDebugUtils.currentLine=9371691; + //BA.debugLineNum = 9371691;BA.debugLine="d.Position = i"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=9371692; + //BA.debugLineNum = 9371692;BA.debugLine="clv_abonos.Add(CreateListItem(\"ABONO\",\"$ \" & d"; +__ref._clv_abonos /*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,"ABONO","$ "+__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("a_abono")).getObject())),(Object)(_i)); +RDebugUtils.currentLine=9371693; + //BA.debugLineNum = 9371693;BA.debugLine="total = total - d.GetString(\"a_abono\")"; +_total = _total-(double)(Double.parseDouble(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("a_abono"))); +RDebugUtils.currentLine=9371694; + //BA.debugLineNum = 9371694;BA.debugLine="Log(total)"; +__c.LogImpl("89371694",BA.NumberToString(_total),0); + } +}; + }; +RDebugUtils.currentLine=9371697; + //BA.debugLineNum = 9371697;BA.debugLine="l_montoabonostotal.Text = NumberFormat2(total,0,"; +__ref._l_montoabonostotal /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.NumberFormat2(_total,(int) (0),(int) (2),(int) (2),__c.False))); +RDebugUtils.currentLine=9371698; + //BA.debugLineNum = 9371698;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=9371699; + //BA.debugLineNum = 9371699;BA.debugLine="f.Close"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }else +{RDebugUtils.currentLine=9371700; + //BA.debugLineNum = 9371700;BA.debugLine="Else If j.RowCount > 0 Then"; +if (__ref._j /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=9371701; + //BA.debugLineNum = 9371701;BA.debugLine="p_abono.Visible = True"; +__ref._p_abono /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=9371702; + //BA.debugLineNum = 9371702;BA.debugLine="p_abono.Width = Root.Width"; +__ref._p_abono /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=9371703; + //BA.debugLineNum = 9371703;BA.debugLine="p_abono.Height = Root.Height"; +__ref._p_abono /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=9371704; + //BA.debugLineNum = 9371704;BA.debugLine="et_abono.text = \"\""; +__ref._et_abono /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=9371705; + //BA.debugLineNum = 9371705;BA.debugLine="Dim total As Double = 0"; +_total = 0; +RDebugUtils.currentLine=9371706; + //BA.debugLineNum = 9371706;BA.debugLine="f = Starter.skmt.ExecQuery(\"SELECT CUENTA FROM C"; +__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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CUENTA FROM CUENTAA"))); +RDebugUtils.currentLine=9371707; + //BA.debugLineNum = 9371707;BA.debugLine="f.Position = 0"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=9371708; + //BA.debugLineNum = 9371708;BA.debugLine="d = Starter.skmt.ExecQuery2(\"SELECT NOTA, SALDO_"; +__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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT NOTA, SALDO_PENDIENTE FROM ABONOSP WHERE CLIENTE = ? AND SALDO_PENDIENTE <> 0",new String[]{__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUENTA")}))); +RDebugUtils.currentLine=9371709; + //BA.debugLineNum = 9371709;BA.debugLine="clv_abonos.Clear"; +__ref._clv_abonos /*b4a.example3.customlistview*/ ._clear(); +RDebugUtils.currentLine=9371710; + //BA.debugLineNum = 9371710;BA.debugLine="For i = 0 To d.RowCount - 1"; +{ +final int step57 = 1; +final int limit57 = (int) (__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit57 ;_i = _i + step57 ) { +RDebugUtils.currentLine=9371711; + //BA.debugLineNum = 9371711;BA.debugLine="d.Position = i"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=9371712; + //BA.debugLineNum = 9371712;BA.debugLine="clv_abonos.Add(CreateListItem(d.GetString(\"NOTA"; +__ref._clv_abonos /*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,__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("NOTA"),"$ "+__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("SALDO_PENDIENTE")).getObject())),(Object)(_i)); +RDebugUtils.currentLine=9371713; + //BA.debugLineNum = 9371713;BA.debugLine="Log(d.GetString(\"NOTA\"))"; +__c.LogImpl("89371713",__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("NOTA"),0); +RDebugUtils.currentLine=9371714; + //BA.debugLineNum = 9371714;BA.debugLine="Log(d.GetString(\"SALDO_PENDIENTE\"))"; +__c.LogImpl("89371714",__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("SALDO_PENDIENTE"),0); +RDebugUtils.currentLine=9371715; + //BA.debugLineNum = 9371715;BA.debugLine="total = total + d.GetString(\"SALDO_PENDIENTE\")"; +_total = _total+(double)(Double.parseDouble(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("SALDO_PENDIENTE"))); +RDebugUtils.currentLine=9371716; + //BA.debugLineNum = 9371716;BA.debugLine="Log(total)"; +__c.LogImpl("89371716",BA.NumberToString(_total),0); + } +}; +RDebugUtils.currentLine=9371718; + //BA.debugLineNum = 9371718;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=9371719; + //BA.debugLineNum = 9371719;BA.debugLine="d = Starter.skmt.ExecQuery2(\"SELECT a_abono FRO"; +__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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT a_abono FROM ABONOS WHERE a_cliente = ? and a_tipoabono is null",new String[]{__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUENTA")}))); +RDebugUtils.currentLine=9371720; + //BA.debugLineNum = 9371720;BA.debugLine="If d.RowCount > 0 Then"; +if (__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=9371721; + //BA.debugLineNum = 9371721;BA.debugLine="For i = 0 To d.RowCount - 1"; +{ +final int step68 = 1; +final int limit68 = (int) (__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit68 ;_i = _i + step68 ) { +RDebugUtils.currentLine=9371722; + //BA.debugLineNum = 9371722;BA.debugLine="d.Position = i"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=9371723; + //BA.debugLineNum = 9371723;BA.debugLine="clv_abonos.Add(CreateListItem(\"ABONO\",\"$ \" & d"; +__ref._clv_abonos /*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,"ABONO","$ "+__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("a_abono")).getObject())),(Object)(_i)); +RDebugUtils.currentLine=9371724; + //BA.debugLineNum = 9371724;BA.debugLine="total = total - d.GetString(\"a_abono\")"; +_total = _total-(double)(Double.parseDouble(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("a_abono"))); +RDebugUtils.currentLine=9371725; + //BA.debugLineNum = 9371725;BA.debugLine="Log(total)"; +__c.LogImpl("89371725",BA.NumberToString(_total),0); + } +}; + }; +RDebugUtils.currentLine=9371728; + //BA.debugLineNum = 9371728;BA.debugLine="l_montoabonostotal.Text = NumberFormat2(total,0,"; +__ref._l_montoabonostotal /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.NumberFormat2(_total,(int) (0),(int) (2),(int) (2),__c.False))); +RDebugUtils.currentLine=9371729; + //BA.debugLineNum = 9371729;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=9371730; + //BA.debugLineNum = 9371730;BA.debugLine="f.Close"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }} +; +RDebugUtils.currentLine=9371733; + //BA.debugLineNum = 9371733;BA.debugLine="h.Close"; +__ref._h /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=9371734; + //BA.debugLineNum = 9371734;BA.debugLine="j.Close"; +__ref._j /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=9371735; + //BA.debugLineNum = 9371735;BA.debugLine="End Sub"; +return ""; +} +public void _b_imp_click(reparto_izca.keymon.lat.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_B_IMP_Click extends BA.ResumableSub { +public ResumableSub_B_IMP_Click(reparto_izca.keymon.lat.c_cliente parent,reparto_izca.keymon.lat.c_cliente __ref) { +this.parent = parent; +this.__ref = __ref; +this.__ref = parent; +} +reparto_izca.keymon.lat.c_cliente __ref; +reparto_izca.keymon.lat.c_cliente parent; +int _cont = 0; +anywheresoftware.b4a.sql.SQL.CursorWrapper _c2 = null; +int _i = 0; +String _punit = ""; +String _ptot = ""; +int _e = 0; +anywheresoftware.b4a.sql.SQL.CursorWrapper _vc5 = null; +int _resultado = 0; +float _totalcredito = 0f; +int step57; +int limit57; +int step69; +int limit69; +int step92; +int limit92; +int step118; +int limit118; +int step133; +int limit133; +int step164; +int limit164; +int step176; +int limit176; +int step199; +int limit199; +int step225; +int limit225; +int step240; +int limit240; +int step265; +int limit265; +int step275; +int limit275; + +@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=8650753; + //BA.debugLineNum = 8650753;BA.debugLine="c=Starter.skmt.ExecQuery(\"select USUARIO from 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)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); +RDebugUtils.currentLine=8650754; + //BA.debugLineNum = 8650754;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=8650755; + //BA.debugLineNum = 8650755;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=8650757; + //BA.debugLineNum = 8650757;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +parent.__c.DateTime.setDateFormat("MM/dd/yyyy"); +RDebugUtils.currentLine=8650758; + //BA.debugLineNum = 8650758;BA.debugLine="DateTime.TimeFormat=\"HH:mm:ss\""; +parent.__c.DateTime.setTimeFormat("HH:mm:ss"); +RDebugUtils.currentLine=8650759; + //BA.debugLineNum = 8650759;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = parent.__c.DateTime.Date(parent.__c.DateTime.getNow()); +RDebugUtils.currentLine=8650760; + //BA.debugLineNum = 8650760;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = parent.__c.DateTime.Time(parent.__c.DateTime.getNow()); +RDebugUtils.currentLine=8650761; + //BA.debugLineNum = 8650761;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=8650767; + //BA.debugLineNum = 8650767;BA.debugLine="ProgressDialogShow(\"Imprimiendo, un momento ...\")"; +parent.__c.ProgressDialogShow(ba,BA.ObjectToCharSequence("Imprimiendo, un momento ...")); +RDebugUtils.currentLine=8650768; + //BA.debugLineNum = 8650768;BA.debugLine="Printer1.DisConnect"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._disconnect /*String*/ (null); +RDebugUtils.currentLine=8650769; + //BA.debugLineNum = 8650769;BA.debugLine="If Not(Printer1.IsConnected) Then"; +if (true) break; + +case 1: +//if +this.state = 38; +if (parent.__c.Not(__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._isconnected /*boolean*/ (null))) { +this.state = 3; +}else { +this.state = 21; +}if (true) break; + +case 3: +//C +this.state = 4; +RDebugUtils.currentLine=8650771; + //BA.debugLineNum = 8650771;BA.debugLine="Printer1.Connect"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._connect /*boolean*/ (null); +RDebugUtils.currentLine=8650772; + //BA.debugLineNum = 8650772;BA.debugLine="Private cont As Int = 0"; +_cont = (int) (0); +RDebugUtils.currentLine=8650773; + //BA.debugLineNum = 8650773;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=8650774; + //BA.debugLineNum = 8650774;BA.debugLine="Sleep(1000)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "b_imp_click"),(int) (1000)); +this.state = 197; +return; +case 197: +//C +this.state = 7; +; +RDebugUtils.currentLine=8650776; + //BA.debugLineNum = 8650776;BA.debugLine="cont = cont + 1"; +_cont = (int) (_cont+1); +RDebugUtils.currentLine=8650777; + //BA.debugLineNum = 8650777;BA.debugLine="If cont = 2 Then Printer1.Connect 'Tratamos de"; +if (true) break; + +case 7: +//if +this.state = 12; +if (_cont==2) { +this.state = 9; +;}if (true) break; + +case 9: +//C +this.state = 12; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._connect /*boolean*/ (null); +if (true) break; + +case 12: +//C +this.state = 13; +; +RDebugUtils.currentLine=8650778; + //BA.debugLineNum = 8650778;BA.debugLine="If cont > 3 Then impresoraConectada = True"; +if (true) break; + +case 13: +//if +this.state = 18; +if (_cont>3) { +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=8650780; + //BA.debugLineNum = 8650780;BA.debugLine="Sleep(500)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "b_imp_click"),(int) (500)); +this.state = 198; +return; +case 198: +//C +this.state = 38; +; +RDebugUtils.currentLine=8650781; + //BA.debugLineNum = 8650781;BA.debugLine="impresoraConectada = False"; +__ref._impresoraconectada /*boolean*/ = parent.__c.False; + if (true) break; + +case 21: +//C +this.state = 22; +RDebugUtils.currentLine=8650784; + //BA.debugLineNum = 8650784;BA.debugLine="Printer1.Connect"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._connect /*boolean*/ (null); +RDebugUtils.currentLine=8650785; + //BA.debugLineNum = 8650785;BA.debugLine="Private cont As Int = 0"; +_cont = (int) (0); +RDebugUtils.currentLine=8650786; + //BA.debugLineNum = 8650786;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 /*reparto_izca.keymon.lat.escposprinter*/ ._isconnected /*boolean*/ (null))) { +this.state = 24; +if (true) break; +} +if (true) break; + +case 24: +//C +this.state = 25; +RDebugUtils.currentLine=8650787; + //BA.debugLineNum = 8650787;BA.debugLine="Sleep(1000)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "b_imp_click"),(int) (1000)); +this.state = 199; +return; +case 199: +//C +this.state = 25; +; +RDebugUtils.currentLine=8650789; + //BA.debugLineNum = 8650789;BA.debugLine="cont = cont + 1"; +_cont = (int) (_cont+1); +RDebugUtils.currentLine=8650790; + //BA.debugLineNum = 8650790;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 /*reparto_izca.keymon.lat.escposprinter*/ ._connect /*boolean*/ (null); +if (true) break; + +case 30: +//C +this.state = 31; +; +RDebugUtils.currentLine=8650791; + //BA.debugLineNum = 8650791;BA.debugLine="If cont > 3 Then impresoraConectada = True"; +if (true) break; + +case 31: +//if +this.state = 36; +if (_cont>3) { +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=8650793; + //BA.debugLineNum = 8650793;BA.debugLine="Sleep(500)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "b_imp_click"),(int) (500)); +this.state = 200; +return; +case 200: +//C +this.state = 38; +; +RDebugUtils.currentLine=8650794; + //BA.debugLineNum = 8650794;BA.debugLine="impresoraConectada = False"; +__ref._impresoraconectada /*boolean*/ = parent.__c.False; + if (true) break; + +case 38: +//C +this.state = 39; +; +RDebugUtils.currentLine=8650797; + //BA.debugLineNum = 8650797;BA.debugLine="TAMANO = 0"; +__ref._tamano /*int*/ = (int) (0); +RDebugUtils.currentLine=8650798; + //BA.debugLineNum = 8650798;BA.debugLine="ESPACIO = 28"; +__ref._espacio /*int*/ = (int) (28); +RDebugUtils.currentLine=8650799; + //BA.debugLineNum = 8650799;BA.debugLine="BLANCO = \" \""; +__ref._blanco /*String*/ = " "; +RDebugUtils.currentLine=8650816; + //BA.debugLineNum = 8650816;BA.debugLine="Printer1.WriteString(\"Izca Distribuciones\" & CRL"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"Izca Distribuciones"+parent.__c.CRLF); +RDebugUtils.currentLine=8650818; + //BA.debugLineNum = 8650818;BA.debugLine="Printer1.WriteString(sDate & CRLF)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,__ref._sdate /*String*/ +parent.__c.CRLF); +RDebugUtils.currentLine=8650819; + //BA.debugLineNum = 8650819;BA.debugLine="Printer1.WriteString(sTime & CRLF)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,__ref._stime /*String*/ +parent.__c.CRLF); +RDebugUtils.currentLine=8650820; + //BA.debugLineNum = 8650820;BA.debugLine="Printer1.WriteString(\"Vendedor:\" & usuario & CRL"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"Vendedor:"+__ref._usuario /*String*/ +parent.__c.CRLF); +RDebugUtils.currentLine=8650821; + //BA.debugLineNum = 8650821;BA.debugLine="Printer1.WriteString(\"Tienda: \" & La_nombre.Text"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"Tienda: "+__ref._la_nombre /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+parent.__c.CRLF); +RDebugUtils.currentLine=8650822; + //BA.debugLineNum = 8650822;BA.debugLine="Printer1.WriteString(\"ID.Cliente: \" & la_cuenta."; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"ID.Cliente: "+__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+parent.__c.CRLF); +RDebugUtils.currentLine=8650823; + //BA.debugLineNum = 8650823;BA.debugLine="Printer1.WriteString(\"Calle: \" & la_Calle.Text &"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"Calle: "+__ref._la_calle /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+parent.__c.CRLF); +RDebugUtils.currentLine=8650824; + //BA.debugLineNum = 8650824;BA.debugLine="Printer1.WriteString(\"Colonia: \" & la_col.Text &"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"Colonia: "+__ref._la_col /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+parent.__c.CRLF); +RDebugUtils.currentLine=8650828; + //BA.debugLineNum = 8650828;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null," "+parent.__c.CRLF); +RDebugUtils.currentLine=8650830; + //BA.debugLineNum = 8650830;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT * FROM HIST_VE"; +__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 * FROM HIST_VENTAS WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA) and HVD_BCREDITO = '1' "))); +RDebugUtils.currentLine=8650831; + //BA.debugLineNum = 8650831;BA.debugLine="If c.RowCount > 0 Then"; +if (true) break; + +case 39: +//if +this.state = 72; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +this.state = 41; +}if (true) break; + +case 41: +//C +this.state = 42; +RDebugUtils.currentLine=8650833; + //BA.debugLineNum = 8650833;BA.debugLine="Dim c2 As Cursor= Starter.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)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT iFNULL(SUM(HVD_CANT),0) AS HVD_CANT, iFNULL(SUM(HVD_RECHAZOCANT),0) AS HVD_RECHAZOCANT FROM HIST_VENTAS WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA) and HVD_BCREDITO = '1' "))); +RDebugUtils.currentLine=8650834; + //BA.debugLineNum = 8650834;BA.debugLine="c2.Position = 0"; +_c2.setPosition((int) (0)); +RDebugUtils.currentLine=8650835; + //BA.debugLineNum = 8650835;BA.debugLine="If c2.GetInt(\"HVD_CANT\") - c2.GetInt(\"HVD_RECHAZ"; +if (true) break; + +case 42: +//if +this.state = 45; +if (_c2.GetInt("HVD_CANT")-_c2.GetInt("HVD_RECHAZOCANT")>0) { +this.state = 44; +}if (true) break; + +case 44: +//C +this.state = 45; +RDebugUtils.currentLine=8650836; + //BA.debugLineNum = 8650836;BA.debugLine="Printer1.WriteString(\"--------ENTREGA CREDITO--"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"--------ENTREGA CREDITO-------"+parent.__c.CRLF); +RDebugUtils.currentLine=8650839; + //BA.debugLineNum = 8650839;BA.debugLine="Printer1.WriteString(\"Cant. Precio"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"Cant. Precio Importe"+parent.__c.CRLF); +RDebugUtils.currentLine=8650841; + //BA.debugLineNum = 8650841;BA.debugLine="Printer1.WriteString(\"-------------------------"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"------------------------------"+parent.__c.CRLF); + if (true) break; + +case 45: +//C +this.state = 46; +; +RDebugUtils.currentLine=8650845; + //BA.debugLineNum = 8650845;BA.debugLine="s=Starter.skmt.ExecQuery($\"select HVD_PRONOMBRE,"; +__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._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select HVD_PRONOMBRE, HVD_CANT, length(HVD_CANT) as L_CANT, HVD_COSTO_TOT, length(HVD_COSTO_TOT) as L_COSTOU,HVD_PROID, HVD_CODPROMO,IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT, HVD_RECHAZO FROM HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) and HVD_BCREDITO = '1' order by HVD_PROID")))); +RDebugUtils.currentLine=8650846; + //BA.debugLineNum = 8650846;BA.debugLine="If S.RowCount>0 Then"; +if (true) break; + +case 46: +//if +this.state = 71; +if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +this.state = 48; +}if (true) break; + +case 48: +//C +this.state = 49; +RDebugUtils.currentLine=8650847; + //BA.debugLineNum = 8650847;BA.debugLine="For i=0 To S.RowCount -1"; +if (true) break; + +case 49: +//for +this.state = 70; +step57 = 1; +limit57 = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +this.state = 201; +if (true) break; + +case 201: +//C +this.state = 70; +if ((step57 > 0 && _i <= limit57) || (step57 < 0 && _i >= limit57)) this.state = 51; +if (true) break; + +case 202: +//C +this.state = 201; +_i = ((int)(0 + _i + step57)) ; +if (true) break; + +case 51: +//C +this.state = 52; +RDebugUtils.currentLine=8650848; + //BA.debugLineNum = 8650848;BA.debugLine="S.Position=i"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=8650849; + //BA.debugLineNum = 8650849;BA.debugLine="Log(s.GetString(\"HVD_RECHAZO\"))"; +parent.__c.LogImpl("88650849",__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_RECHAZO"),0); +RDebugUtils.currentLine=8650850; + //BA.debugLineNum = 8650850;BA.debugLine="If s.GetString(\"HVD_CANT\") - s.GetString(\"HVD_"; +if (true) break; + +case 52: +//if +this.state = 69; +if ((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CANT")))-(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_RECHAZOCANT")))>0) { +this.state = 54; +}if (true) break; + +case 54: +//C +this.state = 55; +RDebugUtils.currentLine=8650853; + //BA.debugLineNum = 8650853;BA.debugLine="If s.GetString(\"HVD_CODPROMO\") = Subs.traeAlm"; +if (true) break; + +case 55: +//if +this.state = 68; +if ((__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CODPROMO")).equals(parent._subs._traealmacen /*String*/ (ba))) { +this.state = 57; +}else +{RDebugUtils.currentLine=8650881; + //BA.debugLineNum = 8650881;BA.debugLine="Else If s.GetString(\"HVD_RECHAZO\") = 1 Then"; +if ((__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_RECHAZO")).equals(BA.NumberToString(1))) { +this.state = 63; +}} +if (true) break; + +case 57: +//C +this.state = 58; +RDebugUtils.currentLine=8650855; + //BA.debugLineNum = 8650855;BA.debugLine="Printer1.Justify = 0"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._setjustify(null,(int) (0)); +RDebugUtils.currentLine=8650856; + //BA.debugLineNum = 8650856;BA.debugLine="Printer1.WriteString(s.GetString(\"HVD_PRONOM"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PRONOMBRE")+parent.__c.CRLF); +RDebugUtils.currentLine=8650859; + //BA.debugLineNum = 8650859;BA.debugLine="Dim punit As String = NumberFormat2((s.GETST"; +_punit = parent.__c.NumberFormat2(((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CANT")))),(int) (0),(int) (2),(int) (2),parent.__c.False); +RDebugUtils.currentLine=8650860; + //BA.debugLineNum = 8650860;BA.debugLine="TAMANO = punit.Length + TAMANO"; +__ref._tamano /*int*/ = (int) (_punit.length()+__ref._tamano /*int*/ ); +RDebugUtils.currentLine=8650863; + //BA.debugLineNum = 8650863;BA.debugLine="Private ptot As String = NumberFormat2(( (s."; +_ptot = parent.__c.NumberFormat2((((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CANT")))-(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_RECHAZOCANT"))))*(double)(Double.parseDouble(_punit))),(int) (0),(int) (2),(int) (2),parent.__c.False); +RDebugUtils.currentLine=8650864; + //BA.debugLineNum = 8650864;BA.debugLine="TAMANO = ptot.Length + TAMANO"; +__ref._tamano /*int*/ = (int) (_ptot.length()+__ref._tamano /*int*/ ); +RDebugUtils.currentLine=8650866; + //BA.debugLineNum = 8650866;BA.debugLine="ESPACIO = (ESPACIO - TAMANO)/2"; +__ref._espacio /*int*/ = (int) ((__ref._espacio /*int*/ -__ref._tamano /*int*/ )/(double)2); +RDebugUtils.currentLine=8650868; + //BA.debugLineNum = 8650868;BA.debugLine="For E=0 To ESPACIO -1"; +if (true) break; + +case 58: +//for +this.state = 61; +step69 = 1; +limit69 = (int) (__ref._espacio /*int*/ -1); +_e = (int) (0) ; +this.state = 203; +if (true) break; + +case 203: +//C +this.state = 61; +if ((step69 > 0 && _e <= limit69) || (step69 < 0 && _e >= limit69)) this.state = 60; +if (true) break; + +case 204: +//C +this.state = 203; +_e = ((int)(0 + _e + step69)) ; +if (true) break; + +case 60: +//C +this.state = 204; +RDebugUtils.currentLine=8650869; + //BA.debugLineNum = 8650869;BA.debugLine="BLANCO = \" \" & BLANCO"; +__ref._blanco /*String*/ = " "+__ref._blanco /*String*/ ; + if (true) break; +if (true) break; + +case 61: +//C +this.state = 68; +; +RDebugUtils.currentLine=8650871; + //BA.debugLineNum = 8650871;BA.debugLine="Printer1.Justify = 0"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._setjustify(null,(int) (0)); +RDebugUtils.currentLine=8650872; + //BA.debugLineNum = 8650872;BA.debugLine="Printer1.WriteString( (s.GetString(\"HVD_CANT"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,BA.NumberToString(((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CANT")))-(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_RECHAZOCANT")))))+__ref._blanco /*String*/ ); +RDebugUtils.currentLine=8650873; + //BA.debugLineNum = 8650873;BA.debugLine="Printer1.Justify = 1"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._setjustify(null,(int) (1)); +RDebugUtils.currentLine=8650874; + //BA.debugLineNum = 8650874;BA.debugLine="Printer1.WriteString( punit & BLANCO)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,_punit+__ref._blanco /*String*/ ); +RDebugUtils.currentLine=8650875; + //BA.debugLineNum = 8650875;BA.debugLine="Printer1.Justify = 2"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._setjustify(null,(int) (2)); +RDebugUtils.currentLine=8650876; + //BA.debugLineNum = 8650876;BA.debugLine="Printer1.WriteString( ptot & CRLF )"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,_ptot+parent.__c.CRLF); +RDebugUtils.currentLine=8650877; + //BA.debugLineNum = 8650877;BA.debugLine="TAMANO = 0"; +__ref._tamano /*int*/ = (int) (0); +RDebugUtils.currentLine=8650878; + //BA.debugLineNum = 8650878;BA.debugLine="ESPACIO = 29"; +__ref._espacio /*int*/ = (int) (29); +RDebugUtils.currentLine=8650879; + //BA.debugLineNum = 8650879;BA.debugLine="BLANCO = \" \""; +__ref._blanco /*String*/ = " "; + if (true) break; + +case 63: +//C +this.state = 64; +RDebugUtils.currentLine=8650883; + //BA.debugLineNum = 8650883;BA.debugLine="Printer1.Justify = 0"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._setjustify(null,(int) (0)); +RDebugUtils.currentLine=8650884; + //BA.debugLineNum = 8650884;BA.debugLine="Printer1.WriteString(s.GetString(\"HVD_PRONOM"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PRONOMBRE")+parent.__c.CRLF); +RDebugUtils.currentLine=8650886; + //BA.debugLineNum = 8650886;BA.debugLine="Private vc5 As Cursor = Starter.skmt.ExecQue"; +_vc5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_vc5 = (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(CAT_GP_PRECIO,0) AS CAT_GP_PRECIO from CAT_GUNAPROD where CAT_GP_ID = '"+parent.__c.SmartStringFormatter("",(Object)(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID")))+"'")))); +RDebugUtils.currentLine=8650887; + //BA.debugLineNum = 8650887;BA.debugLine="vc5.Position = 0"; +_vc5.setPosition((int) (0)); +RDebugUtils.currentLine=8650888; + //BA.debugLineNum = 8650888;BA.debugLine="Dim punit As String = NumberFormat2((vc5.Get"; +_punit = parent.__c.NumberFormat2((double)(Double.parseDouble((_vc5.GetString("CAT_GP_PRECIO")))),(int) (0),(int) (2),(int) (2),parent.__c.False); +RDebugUtils.currentLine=8650889; + //BA.debugLineNum = 8650889;BA.debugLine="TAMANO = punit.Length + TAMANO"; +__ref._tamano /*int*/ = (int) (_punit.length()+__ref._tamano /*int*/ ); +RDebugUtils.currentLine=8650890; + //BA.debugLineNum = 8650890;BA.debugLine="vc5.Close"; +_vc5.Close(); +RDebugUtils.currentLine=8650892; + //BA.debugLineNum = 8650892;BA.debugLine="Private ptot As String = NumberFormat2(( (s."; +_ptot = parent.__c.NumberFormat2((((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CANT")))-(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_RECHAZOCANT"))))*(double)(Double.parseDouble(_punit))),(int) (0),(int) (2),(int) (2),parent.__c.False); +RDebugUtils.currentLine=8650893; + //BA.debugLineNum = 8650893;BA.debugLine="TAMANO = ptot.Length + TAMANO"; +__ref._tamano /*int*/ = (int) (_ptot.length()+__ref._tamano /*int*/ ); +RDebugUtils.currentLine=8650895; + //BA.debugLineNum = 8650895;BA.debugLine="ESPACIO = (ESPACIO - TAMANO)/2"; +__ref._espacio /*int*/ = (int) ((__ref._espacio /*int*/ -__ref._tamano /*int*/ )/(double)2); +RDebugUtils.currentLine=8650897; + //BA.debugLineNum = 8650897;BA.debugLine="For E=0 To ESPACIO -1"; +if (true) break; + +case 64: +//for +this.state = 67; +step92 = 1; +limit92 = (int) (__ref._espacio /*int*/ -1); +_e = (int) (0) ; +this.state = 205; +if (true) break; + +case 205: +//C +this.state = 67; +if ((step92 > 0 && _e <= limit92) || (step92 < 0 && _e >= limit92)) this.state = 66; +if (true) break; + +case 206: +//C +this.state = 205; +_e = ((int)(0 + _e + step92)) ; +if (true) break; + +case 66: +//C +this.state = 206; +RDebugUtils.currentLine=8650898; + //BA.debugLineNum = 8650898;BA.debugLine="BLANCO = \" \" & BLANCO"; +__ref._blanco /*String*/ = " "+__ref._blanco /*String*/ ; + if (true) break; +if (true) break; + +case 67: +//C +this.state = 68; +; +RDebugUtils.currentLine=8650900; + //BA.debugLineNum = 8650900;BA.debugLine="Printer1.Justify = 0"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._setjustify(null,(int) (0)); +RDebugUtils.currentLine=8650901; + //BA.debugLineNum = 8650901;BA.debugLine="Printer1.WriteString( (s.GetString(\"HVD_CANT"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,BA.NumberToString(((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CANT")))-(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_RECHAZOCANT")))))+__ref._blanco /*String*/ ); +RDebugUtils.currentLine=8650902; + //BA.debugLineNum = 8650902;BA.debugLine="Printer1.Justify = 1"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._setjustify(null,(int) (1)); +RDebugUtils.currentLine=8650903; + //BA.debugLineNum = 8650903;BA.debugLine="Printer1.WriteString( punit & BLANCO)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,_punit+__ref._blanco /*String*/ ); +RDebugUtils.currentLine=8650904; + //BA.debugLineNum = 8650904;BA.debugLine="Printer1.Justify = 2"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._setjustify(null,(int) (2)); +RDebugUtils.currentLine=8650905; + //BA.debugLineNum = 8650905;BA.debugLine="Printer1.WriteString(ptot& CRLF )"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,_ptot+parent.__c.CRLF); +RDebugUtils.currentLine=8650906; + //BA.debugLineNum = 8650906;BA.debugLine="TAMANO = 0"; +__ref._tamano /*int*/ = (int) (0); +RDebugUtils.currentLine=8650907; + //BA.debugLineNum = 8650907;BA.debugLine="ESPACIO = 29"; +__ref._espacio /*int*/ = (int) (29); +RDebugUtils.currentLine=8650908; + //BA.debugLineNum = 8650908;BA.debugLine="BLANCO = \" \""; +__ref._blanco /*String*/ = " "; +RDebugUtils.currentLine=8650909; + //BA.debugLineNum = 8650909;BA.debugLine="Printer1.Justify = 0"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._setjustify(null,(int) (0)); + if (true) break; + +case 68: +//C +this.state = 69; +; + if (true) break; + +case 69: +//C +this.state = 202; +; + if (true) break; +if (true) break; + +case 70: +//C +this.state = 71; +; +RDebugUtils.currentLine=8650913; + //BA.debugLineNum = 8650913;BA.debugLine="Printer1.Justify = 0"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._setjustify(null,(int) (0)); +RDebugUtils.currentLine=8650914; + //BA.debugLineNum = 8650914;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null," "+parent.__c.CRLF); + if (true) break; + +case 71: +//C +this.state = 72; +; + if (true) break; + +case 72: +//C +this.state = 73; +; +RDebugUtils.currentLine=8650918; + //BA.debugLineNum = 8650918;BA.debugLine="s.Close"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=8650919; + //BA.debugLineNum = 8650919;BA.debugLine="s=Starter.skmt.ExecQuery($\"select HVD_PRONOMBRE,"; +__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._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select HVD_PRONOMBRE, HVD_CANT, length(HVD_CANT) as L_CANT, HVD_COSTO_TOT, length(HVD_COSTO_TOT) as L_COSTOU,HVD_PROID, HVD_CODPROMO,IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT FROM HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) AND HVD_RECHAZO = 0 AND HVD_CODPROMO <> '"+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traealmacen /*String*/ (ba)))+"' and HVD_BCREDITO = '1' order by HVD_CODPROMO, ESPROMO DESC, HVD_PROID")))); +RDebugUtils.currentLine=8650921; + //BA.debugLineNum = 8650921;BA.debugLine="If S.RowCount>0 Then"; +if (true) break; + +case 73: +//if +this.state = 100; +if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +this.state = 75; +}if (true) break; + +case 75: +//C +this.state = 76; +RDebugUtils.currentLine=8650922; + //BA.debugLineNum = 8650922;BA.debugLine="Printer1.WriteString(\"---PROMOS ENTREGA CREDITO-"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"---PROMOS ENTREGA CREDITO----"+parent.__c.CRLF); +RDebugUtils.currentLine=8650923; + //BA.debugLineNum = 8650923;BA.debugLine="Printer1.WriteString(\"Cant. Precio I"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"Cant. Precio Importe"+parent.__c.CRLF); +RDebugUtils.currentLine=8650924; + //BA.debugLineNum = 8650924;BA.debugLine="Printer1.WriteString(\"--------------------------"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"------------------------------"+parent.__c.CRLF); +RDebugUtils.currentLine=8650926; + //BA.debugLineNum = 8650926;BA.debugLine="For i=0 To S.RowCount -1"; +if (true) break; + +case 76: +//for +this.state = 99; +step118 = 1; +limit118 = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +this.state = 207; +if (true) break; + +case 207: +//C +this.state = 99; +if ((step118 > 0 && _i <= limit118) || (step118 < 0 && _i >= limit118)) this.state = 78; +if (true) break; + +case 208: +//C +this.state = 207; +_i = ((int)(0 + _i + step118)) ; +if (true) break; + +case 78: +//C +this.state = 79; +RDebugUtils.currentLine=8650927; + //BA.debugLineNum = 8650927;BA.debugLine="S.Position=i"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=8650928; + //BA.debugLineNum = 8650928;BA.debugLine="If s.GetString(\"HVD_CANT\") - s.GetString(\"HVD_R"; +if (true) break; + +case 79: +//if +this.state = 98; +if ((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CANT")))-(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_RECHAZOCANT")))>0) { +this.state = 81; +}if (true) break; + +case 81: +//C +this.state = 82; +RDebugUtils.currentLine=8650931; + //BA.debugLineNum = 8650931;BA.debugLine="If s.GetString(\"HVD_CODPROMO\") <> Subs.traeAlm"; +if (true) break; + +case 82: +//if +this.state = 97; +if ((__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CODPROMO")).equals(parent._subs._traealmacen /*String*/ (ba)) == false) { +this.state = 84; +}else { +this.state = 96; +}if (true) break; + +case 84: +//C +this.state = 85; +RDebugUtils.currentLine=8650933; + //BA.debugLineNum = 8650933;BA.debugLine="Printer1.Justify = 0"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._setjustify(null,(int) (0)); +RDebugUtils.currentLine=8650934; + //BA.debugLineNum = 8650934;BA.debugLine="If s.GetString(\"HVD_CODPROMO\") = s.GetString("; +if (true) break; + +case 85: +//if +this.state = 94; +if ((__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CODPROMO")).equals(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID"))) { +this.state = 87; +}else { +this.state = 89; +}if (true) break; + +case 87: +//C +this.state = 94; +RDebugUtils.currentLine=8650935; + //BA.debugLineNum = 8650935;BA.debugLine="Printer1.WriteString(\"* \"&s.GetString(\"HVD_P"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"* "+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PRONOMBRE")+parent.__c.CRLF); + if (true) break; + +case 89: +//C +this.state = 90; +RDebugUtils.currentLine=8650937; + //BA.debugLineNum = 8650937;BA.debugLine="Printer1.WriteString(s.GetString(\"HVD_PRONOM"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PRONOMBRE")+parent.__c.CRLF); +RDebugUtils.currentLine=8650939; + //BA.debugLineNum = 8650939;BA.debugLine="Dim punit As String =NumberFormat2((s.GETSTR"; +_punit = parent.__c.NumberFormat2(((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CANT")))),(int) (0),(int) (2),(int) (2),parent.__c.False); +RDebugUtils.currentLine=8650940; + //BA.debugLineNum = 8650940;BA.debugLine="TAMANO = punit.Length + TAMANO"; +__ref._tamano /*int*/ = (int) (_punit.length()+__ref._tamano /*int*/ ); +RDebugUtils.currentLine=8650943; + //BA.debugLineNum = 8650943;BA.debugLine="Private ptot As String = NumberFormat2((puni"; +_ptot = parent.__c.NumberFormat2(((double)(Double.parseDouble(_punit))*(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CANT")))),(int) (0),(int) (2),(int) (2),parent.__c.False); +RDebugUtils.currentLine=8650944; + //BA.debugLineNum = 8650944;BA.debugLine="TAMANO = ptot.Length + TAMANO"; +__ref._tamano /*int*/ = (int) (_ptot.length()+__ref._tamano /*int*/ ); +RDebugUtils.currentLine=8650947; + //BA.debugLineNum = 8650947;BA.debugLine="ESPACIO = (ESPACIO - TAMANO)/2"; +__ref._espacio /*int*/ = (int) ((__ref._espacio /*int*/ -__ref._tamano /*int*/ )/(double)2); +RDebugUtils.currentLine=8650948; + //BA.debugLineNum = 8650948;BA.debugLine="Log(ESPACIO)"; +parent.__c.LogImpl("88650948",BA.NumberToString(__ref._espacio /*int*/ ),0); +RDebugUtils.currentLine=8650949; + //BA.debugLineNum = 8650949;BA.debugLine="For E=0 To ESPACIO -1"; +if (true) break; + +case 90: +//for +this.state = 93; +step133 = 1; +limit133 = (int) (__ref._espacio /*int*/ -1); +_e = (int) (0) ; +this.state = 209; +if (true) break; + +case 209: +//C +this.state = 93; +if ((step133 > 0 && _e <= limit133) || (step133 < 0 && _e >= limit133)) this.state = 92; +if (true) break; + +case 210: +//C +this.state = 209; +_e = ((int)(0 + _e + step133)) ; +if (true) break; + +case 92: +//C +this.state = 210; +RDebugUtils.currentLine=8650950; + //BA.debugLineNum = 8650950;BA.debugLine="BLANCO = \" \" & BLANCO"; +__ref._blanco /*String*/ = " "+__ref._blanco /*String*/ ; + if (true) break; +if (true) break; + +case 93: +//C +this.state = 94; +; +RDebugUtils.currentLine=8650952; + //BA.debugLineNum = 8650952;BA.debugLine="Printer1.Justify = 0"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._setjustify(null,(int) (0)); +RDebugUtils.currentLine=8650953; + //BA.debugLineNum = 8650953;BA.debugLine="Printer1.WriteString( (s.GetString(\"HVD_CANT"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,BA.NumberToString(((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CANT")))-(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_RECHAZOCANT")))))+__ref._blanco /*String*/ ); +RDebugUtils.currentLine=8650954; + //BA.debugLineNum = 8650954;BA.debugLine="Printer1.Justify = 1"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._setjustify(null,(int) (1)); +RDebugUtils.currentLine=8650955; + //BA.debugLineNum = 8650955;BA.debugLine="Printer1.WriteString( punit & BLANCO)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,_punit+__ref._blanco /*String*/ ); +RDebugUtils.currentLine=8650956; + //BA.debugLineNum = 8650956;BA.debugLine="Printer1.Justify = 2"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._setjustify(null,(int) (2)); +RDebugUtils.currentLine=8650957; + //BA.debugLineNum = 8650957;BA.debugLine="Printer1.WriteString(ptot & CRLF )"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,_ptot+parent.__c.CRLF); +RDebugUtils.currentLine=8650958; + //BA.debugLineNum = 8650958;BA.debugLine="TAMANO = 0"; +__ref._tamano /*int*/ = (int) (0); +RDebugUtils.currentLine=8650959; + //BA.debugLineNum = 8650959;BA.debugLine="ESPACIO = 29"; +__ref._espacio /*int*/ = (int) (29); +RDebugUtils.currentLine=8650960; + //BA.debugLineNum = 8650960;BA.debugLine="BLANCO = \" \""; +__ref._blanco /*String*/ = " "; +RDebugUtils.currentLine=8650961; + //BA.debugLineNum = 8650961;BA.debugLine="Printer1.Justify = 0"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._setjustify(null,(int) (0)); + if (true) break; + +case 94: +//C +this.state = 97; +; + if (true) break; + +case 96: +//C +this.state = 97; + if (true) break; + +case 97: +//C +this.state = 98; +; + if (true) break; + +case 98: +//C +this.state = 208; +; + if (true) break; +if (true) break; + +case 99: +//C +this.state = 100; +; + if (true) break; + +case 100: +//C +this.state = 101; +; +RDebugUtils.currentLine=8650973; + //BA.debugLineNum = 8650973;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT * FROM HIST_VE"; +__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 * FROM HIST_VENTAS WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA) and HVD_BCREDITO <> '1' "))); +RDebugUtils.currentLine=8650974; + //BA.debugLineNum = 8650974;BA.debugLine="Log(c.RowCount&\"------------------\")"; +parent.__c.LogImpl("88650974",BA.NumberToString(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount())+"------------------",0); +RDebugUtils.currentLine=8650975; + //BA.debugLineNum = 8650975;BA.debugLine="If c.RowCount > 0 Then"; +if (true) break; + +case 101: +//if +this.state = 134; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +this.state = 103; +}if (true) break; + +case 103: +//C +this.state = 104; +RDebugUtils.currentLine=8650977; + //BA.debugLineNum = 8650977;BA.debugLine="Dim c2 As Cursor= Starter.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)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT iFNULL(SUM(HVD_CANT),0) AS HVD_CANT, iFNULL(SUM(HVD_RECHAZOCANT),0) AS HVD_RECHAZOCANT FROM HIST_VENTAS WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA) and HVD_BCREDITO <> '1' "))); +RDebugUtils.currentLine=8650978; + //BA.debugLineNum = 8650978;BA.debugLine="c2.Position = 0"; +_c2.setPosition((int) (0)); +RDebugUtils.currentLine=8650979; + //BA.debugLineNum = 8650979;BA.debugLine="If c2.GetInt(\"HVD_CANT\") - c2.GetInt(\"HVD_RECHAZ"; +if (true) break; + +case 104: +//if +this.state = 107; +if (_c2.GetInt("HVD_CANT")-_c2.GetInt("HVD_RECHAZOCANT")>0) { +this.state = 106; +}if (true) break; + +case 106: +//C +this.state = 107; +RDebugUtils.currentLine=8650980; + //BA.debugLineNum = 8650980;BA.debugLine="Printer1.WriteString(\"--------ENTREGA CONTADO--"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"--------ENTREGA CONTADO-------"+parent.__c.CRLF); +RDebugUtils.currentLine=8650983; + //BA.debugLineNum = 8650983;BA.debugLine="Printer1.WriteString(\"Cant. Precio"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"Cant. Precio Importe"+parent.__c.CRLF); +RDebugUtils.currentLine=8650984; + //BA.debugLineNum = 8650984;BA.debugLine="Printer1.WriteString(\"--------------------------"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"------------------------------"+parent.__c.CRLF); + if (true) break; + +case 107: +//C +this.state = 108; +; +RDebugUtils.currentLine=8650989; + //BA.debugLineNum = 8650989;BA.debugLine="s=Starter.skmt.ExecQuery($\"select HVD_PRONOMBRE,"; +__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._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select HVD_PRONOMBRE, HVD_CANT, length(HVD_CANT) as L_CANT, HVD_COSTO_TOT, length(HVD_COSTO_TOT) as L_COSTOU,HVD_PROID, HVD_CODPROMO,IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT, HVD_RECHAZO FROM HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) AND HVD_BCREDITO <> '1' order by HVD_PROID")))); +RDebugUtils.currentLine=8650990; + //BA.debugLineNum = 8650990;BA.debugLine="If S.RowCount>0 Then"; +if (true) break; + +case 108: +//if +this.state = 133; +if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +this.state = 110; +}if (true) break; + +case 110: +//C +this.state = 111; +RDebugUtils.currentLine=8650991; + //BA.debugLineNum = 8650991;BA.debugLine="For i=0 To S.RowCount -1"; +if (true) break; + +case 111: +//for +this.state = 132; +step164 = 1; +limit164 = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +this.state = 211; +if (true) break; + +case 211: +//C +this.state = 132; +if ((step164 > 0 && _i <= limit164) || (step164 < 0 && _i >= limit164)) this.state = 113; +if (true) break; + +case 212: +//C +this.state = 211; +_i = ((int)(0 + _i + step164)) ; +if (true) break; + +case 113: +//C +this.state = 114; +RDebugUtils.currentLine=8650992; + //BA.debugLineNum = 8650992;BA.debugLine="S.Position=i"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=8650993; + //BA.debugLineNum = 8650993;BA.debugLine="Log(s.GetString(\"HVD_RECHAZO\"))"; +parent.__c.LogImpl("88650993",__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_RECHAZO"),0); +RDebugUtils.currentLine=8650994; + //BA.debugLineNum = 8650994;BA.debugLine="If s.GetString(\"HVD_CANT\") - s.GetString(\"HVD_"; +if (true) break; + +case 114: +//if +this.state = 131; +if ((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CANT")))-(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_RECHAZOCANT")))>0) { +this.state = 116; +}if (true) break; + +case 116: +//C +this.state = 117; +RDebugUtils.currentLine=8650997; + //BA.debugLineNum = 8650997;BA.debugLine="If s.GetString(\"HVD_CODPROMO\") = Subs.traeAlm"; +if (true) break; + +case 117: +//if +this.state = 130; +if ((__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CODPROMO")).equals(parent._subs._traealmacen /*String*/ (ba))) { +this.state = 119; +}else +{RDebugUtils.currentLine=8651025; + //BA.debugLineNum = 8651025;BA.debugLine="Else If s.GetString(\"HVD_RECHAZO\") = 1 Then"; +if ((__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_RECHAZO")).equals(BA.NumberToString(1))) { +this.state = 125; +}} +if (true) break; + +case 119: +//C +this.state = 120; +RDebugUtils.currentLine=8650999; + //BA.debugLineNum = 8650999;BA.debugLine="Printer1.Justify = 0"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._setjustify(null,(int) (0)); +RDebugUtils.currentLine=8651000; + //BA.debugLineNum = 8651000;BA.debugLine="Printer1.WriteString(s.GetString(\"HVD_PRONOM"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PRONOMBRE")+parent.__c.CRLF); +RDebugUtils.currentLine=8651003; + //BA.debugLineNum = 8651003;BA.debugLine="Dim punit As String = NumberFormat2((s.GETST"; +_punit = parent.__c.NumberFormat2(((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CANT")))),(int) (0),(int) (2),(int) (2),parent.__c.False); +RDebugUtils.currentLine=8651004; + //BA.debugLineNum = 8651004;BA.debugLine="TAMANO = punit.Length + TAMANO"; +__ref._tamano /*int*/ = (int) (_punit.length()+__ref._tamano /*int*/ ); +RDebugUtils.currentLine=8651007; + //BA.debugLineNum = 8651007;BA.debugLine="Private ptot As String = NumberFormat2(( (s."; +_ptot = parent.__c.NumberFormat2((((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CANT")))-(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_RECHAZOCANT"))))*(double)(Double.parseDouble(_punit))),(int) (0),(int) (2),(int) (2),parent.__c.False); +RDebugUtils.currentLine=8651008; + //BA.debugLineNum = 8651008;BA.debugLine="TAMANO = ptot.Length + TAMANO"; +__ref._tamano /*int*/ = (int) (_ptot.length()+__ref._tamano /*int*/ ); +RDebugUtils.currentLine=8651010; + //BA.debugLineNum = 8651010;BA.debugLine="ESPACIO = (ESPACIO - TAMANO)/2"; +__ref._espacio /*int*/ = (int) ((__ref._espacio /*int*/ -__ref._tamano /*int*/ )/(double)2); +RDebugUtils.currentLine=8651012; + //BA.debugLineNum = 8651012;BA.debugLine="For E=0 To ESPACIO -1"; +if (true) break; + +case 120: +//for +this.state = 123; +step176 = 1; +limit176 = (int) (__ref._espacio /*int*/ -1); +_e = (int) (0) ; +this.state = 213; +if (true) break; + +case 213: +//C +this.state = 123; +if ((step176 > 0 && _e <= limit176) || (step176 < 0 && _e >= limit176)) this.state = 122; +if (true) break; + +case 214: +//C +this.state = 213; +_e = ((int)(0 + _e + step176)) ; +if (true) break; + +case 122: +//C +this.state = 214; +RDebugUtils.currentLine=8651013; + //BA.debugLineNum = 8651013;BA.debugLine="BLANCO = \" \" & BLANCO"; +__ref._blanco /*String*/ = " "+__ref._blanco /*String*/ ; + if (true) break; +if (true) break; + +case 123: +//C +this.state = 130; +; +RDebugUtils.currentLine=8651015; + //BA.debugLineNum = 8651015;BA.debugLine="Printer1.Justify = 0"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._setjustify(null,(int) (0)); +RDebugUtils.currentLine=8651016; + //BA.debugLineNum = 8651016;BA.debugLine="Printer1.WriteString( (s.GetString(\"HVD_CANT"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,BA.NumberToString(((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CANT")))-(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_RECHAZOCANT")))))+__ref._blanco /*String*/ ); +RDebugUtils.currentLine=8651017; + //BA.debugLineNum = 8651017;BA.debugLine="Printer1.Justify = 1"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._setjustify(null,(int) (1)); +RDebugUtils.currentLine=8651018; + //BA.debugLineNum = 8651018;BA.debugLine="Printer1.WriteString( punit & BLANCO)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,_punit+__ref._blanco /*String*/ ); +RDebugUtils.currentLine=8651019; + //BA.debugLineNum = 8651019;BA.debugLine="Printer1.Justify = 2"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._setjustify(null,(int) (2)); +RDebugUtils.currentLine=8651020; + //BA.debugLineNum = 8651020;BA.debugLine="Printer1.WriteString( ptot & CRLF )"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,_ptot+parent.__c.CRLF); +RDebugUtils.currentLine=8651021; + //BA.debugLineNum = 8651021;BA.debugLine="TAMANO = 0"; +__ref._tamano /*int*/ = (int) (0); +RDebugUtils.currentLine=8651022; + //BA.debugLineNum = 8651022;BA.debugLine="ESPACIO = 29"; +__ref._espacio /*int*/ = (int) (29); +RDebugUtils.currentLine=8651023; + //BA.debugLineNum = 8651023;BA.debugLine="BLANCO = \" \""; +__ref._blanco /*String*/ = " "; + if (true) break; + +case 125: +//C +this.state = 126; +RDebugUtils.currentLine=8651027; + //BA.debugLineNum = 8651027;BA.debugLine="Printer1.Justify = 0"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._setjustify(null,(int) (0)); +RDebugUtils.currentLine=8651028; + //BA.debugLineNum = 8651028;BA.debugLine="Printer1.WriteString(s.GetString(\"HVD_PRONOM"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PRONOMBRE")+parent.__c.CRLF); +RDebugUtils.currentLine=8651030; + //BA.debugLineNum = 8651030;BA.debugLine="Private vc5 As Cursor = Starter.skmt.ExecQue"; +_vc5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_vc5 = (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(CAT_GP_PRECIO,0) AS CAT_GP_PRECIO from CAT_GUNAPROD where CAT_GP_ID = '"+parent.__c.SmartStringFormatter("",(Object)(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID")))+"'")))); +RDebugUtils.currentLine=8651031; + //BA.debugLineNum = 8651031;BA.debugLine="vc5.Position = 0"; +_vc5.setPosition((int) (0)); +RDebugUtils.currentLine=8651032; + //BA.debugLineNum = 8651032;BA.debugLine="Dim punit As String = NumberFormat2((vc5.Get"; +_punit = parent.__c.NumberFormat2((double)(Double.parseDouble((_vc5.GetString("CAT_GP_PRECIO")))),(int) (0),(int) (2),(int) (2),parent.__c.False); +RDebugUtils.currentLine=8651033; + //BA.debugLineNum = 8651033;BA.debugLine="TAMANO = punit.Length + TAMANO"; +__ref._tamano /*int*/ = (int) (_punit.length()+__ref._tamano /*int*/ ); +RDebugUtils.currentLine=8651034; + //BA.debugLineNum = 8651034;BA.debugLine="vc5.Close"; +_vc5.Close(); +RDebugUtils.currentLine=8651036; + //BA.debugLineNum = 8651036;BA.debugLine="Private ptot As String = NumberFormat2(( (s."; +_ptot = parent.__c.NumberFormat2((((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CANT")))-(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_RECHAZOCANT"))))*(double)(Double.parseDouble(_punit))),(int) (0),(int) (2),(int) (2),parent.__c.False); +RDebugUtils.currentLine=8651037; + //BA.debugLineNum = 8651037;BA.debugLine="TAMANO = ptot.Length + TAMANO"; +__ref._tamano /*int*/ = (int) (_ptot.length()+__ref._tamano /*int*/ ); +RDebugUtils.currentLine=8651039; + //BA.debugLineNum = 8651039;BA.debugLine="ESPACIO = (ESPACIO - TAMANO)/2"; +__ref._espacio /*int*/ = (int) ((__ref._espacio /*int*/ -__ref._tamano /*int*/ )/(double)2); +RDebugUtils.currentLine=8651041; + //BA.debugLineNum = 8651041;BA.debugLine="For E=0 To ESPACIO -1"; +if (true) break; + +case 126: +//for +this.state = 129; +step199 = 1; +limit199 = (int) (__ref._espacio /*int*/ -1); +_e = (int) (0) ; +this.state = 215; +if (true) break; + +case 215: +//C +this.state = 129; +if ((step199 > 0 && _e <= limit199) || (step199 < 0 && _e >= limit199)) this.state = 128; +if (true) break; + +case 216: +//C +this.state = 215; +_e = ((int)(0 + _e + step199)) ; +if (true) break; + +case 128: +//C +this.state = 216; +RDebugUtils.currentLine=8651042; + //BA.debugLineNum = 8651042;BA.debugLine="BLANCO = \" \" & BLANCO"; +__ref._blanco /*String*/ = " "+__ref._blanco /*String*/ ; + if (true) break; +if (true) break; + +case 129: +//C +this.state = 130; +; +RDebugUtils.currentLine=8651044; + //BA.debugLineNum = 8651044;BA.debugLine="Printer1.Justify = 0"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._setjustify(null,(int) (0)); +RDebugUtils.currentLine=8651045; + //BA.debugLineNum = 8651045;BA.debugLine="Printer1.WriteString( (s.GetString(\"HVD_CANT"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,BA.NumberToString(((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CANT")))-(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_RECHAZOCANT")))))+__ref._blanco /*String*/ ); +RDebugUtils.currentLine=8651046; + //BA.debugLineNum = 8651046;BA.debugLine="Printer1.Justify = 1"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._setjustify(null,(int) (1)); +RDebugUtils.currentLine=8651047; + //BA.debugLineNum = 8651047;BA.debugLine="Printer1.WriteString( punit & BLANCO)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,_punit+__ref._blanco /*String*/ ); +RDebugUtils.currentLine=8651048; + //BA.debugLineNum = 8651048;BA.debugLine="Printer1.Justify = 2"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._setjustify(null,(int) (2)); +RDebugUtils.currentLine=8651049; + //BA.debugLineNum = 8651049;BA.debugLine="Printer1.WriteString(ptot& CRLF )"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,_ptot+parent.__c.CRLF); +RDebugUtils.currentLine=8651050; + //BA.debugLineNum = 8651050;BA.debugLine="TAMANO = 0"; +__ref._tamano /*int*/ = (int) (0); +RDebugUtils.currentLine=8651051; + //BA.debugLineNum = 8651051;BA.debugLine="ESPACIO = 29"; +__ref._espacio /*int*/ = (int) (29); +RDebugUtils.currentLine=8651052; + //BA.debugLineNum = 8651052;BA.debugLine="BLANCO = \" \""; +__ref._blanco /*String*/ = " "; +RDebugUtils.currentLine=8651053; + //BA.debugLineNum = 8651053;BA.debugLine="Printer1.Justify = 0"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._setjustify(null,(int) (0)); + if (true) break; + +case 130: +//C +this.state = 131; +; + if (true) break; + +case 131: +//C +this.state = 212; +; + if (true) break; +if (true) break; + +case 132: +//C +this.state = 133; +; +RDebugUtils.currentLine=8651057; + //BA.debugLineNum = 8651057;BA.debugLine="Printer1.Justify = 0"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._setjustify(null,(int) (0)); +RDebugUtils.currentLine=8651058; + //BA.debugLineNum = 8651058;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null," "+parent.__c.CRLF); + if (true) break; + +case 133: +//C +this.state = 134; +; + if (true) break; + +case 134: +//C +this.state = 135; +; +RDebugUtils.currentLine=8651062; + //BA.debugLineNum = 8651062;BA.debugLine="s.Close"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=8651063; + //BA.debugLineNum = 8651063;BA.debugLine="s=Starter.skmt.ExecQuery($\"select HVD_PRONOMBRE,"; +__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._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select HVD_PRONOMBRE, HVD_CANT, length(HVD_CANT) as L_CANT, HVD_COSTO_TOT, length(HVD_COSTO_TOT) as L_COSTOU,HVD_PROID, HVD_CODPROMO,IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT FROM HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) AND HVD_RECHAZO = 0 AND HVD_CODPROMO <> '"+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traealmacen /*String*/ (ba)))+"' and HVD_BCREDITO <> '1' order by HVD_CODPROMO, ESPROMO DESC, HVD_PROID")))); +RDebugUtils.currentLine=8651065; + //BA.debugLineNum = 8651065;BA.debugLine="If S.RowCount>0 Then"; +if (true) break; + +case 135: +//if +this.state = 162; +if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +this.state = 137; +}if (true) break; + +case 137: +//C +this.state = 138; +RDebugUtils.currentLine=8651066; + //BA.debugLineNum = 8651066;BA.debugLine="Printer1.WriteString(\"---PROMOS ENTREGA CONTADO-"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"---PROMOS ENTREGA CONTADO----"+parent.__c.CRLF); +RDebugUtils.currentLine=8651067; + //BA.debugLineNum = 8651067;BA.debugLine="Printer1.WriteString(\"Cant. Precio I"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"Cant. Precio Importe"+parent.__c.CRLF); +RDebugUtils.currentLine=8651068; + //BA.debugLineNum = 8651068;BA.debugLine="Printer1.WriteString(\"--------------------------"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"------------------------------"+parent.__c.CRLF); +RDebugUtils.currentLine=8651070; + //BA.debugLineNum = 8651070;BA.debugLine="For i=0 To S.RowCount -1"; +if (true) break; + +case 138: +//for +this.state = 161; +step225 = 1; +limit225 = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +this.state = 217; +if (true) break; + +case 217: +//C +this.state = 161; +if ((step225 > 0 && _i <= limit225) || (step225 < 0 && _i >= limit225)) this.state = 140; +if (true) break; + +case 218: +//C +this.state = 217; +_i = ((int)(0 + _i + step225)) ; +if (true) break; + +case 140: +//C +this.state = 141; +RDebugUtils.currentLine=8651071; + //BA.debugLineNum = 8651071;BA.debugLine="S.Position=i"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=8651072; + //BA.debugLineNum = 8651072;BA.debugLine="If s.GetString(\"HVD_CANT\") - s.GetString(\"HVD_R"; +if (true) break; + +case 141: +//if +this.state = 160; +if ((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CANT")))-(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_RECHAZOCANT")))>0) { +this.state = 143; +}if (true) break; + +case 143: +//C +this.state = 144; +RDebugUtils.currentLine=8651075; + //BA.debugLineNum = 8651075;BA.debugLine="If s.GetString(\"HVD_CODPROMO\") <> Subs.traeAlm"; +if (true) break; + +case 144: +//if +this.state = 159; +if ((__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CODPROMO")).equals(parent._subs._traealmacen /*String*/ (ba)) == false) { +this.state = 146; +}else { +this.state = 158; +}if (true) break; + +case 146: +//C +this.state = 147; +RDebugUtils.currentLine=8651077; + //BA.debugLineNum = 8651077;BA.debugLine="Printer1.Justify = 0"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._setjustify(null,(int) (0)); +RDebugUtils.currentLine=8651078; + //BA.debugLineNum = 8651078;BA.debugLine="If s.GetString(\"HVD_CODPROMO\") = s.GetString("; +if (true) break; + +case 147: +//if +this.state = 156; +if ((__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CODPROMO")).equals(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID"))) { +this.state = 149; +}else { +this.state = 151; +}if (true) break; + +case 149: +//C +this.state = 156; +RDebugUtils.currentLine=8651079; + //BA.debugLineNum = 8651079;BA.debugLine="Printer1.WriteString(\"* \"&s.GetString(\"HVD_P"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"* "+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PRONOMBRE")+parent.__c.CRLF); + if (true) break; + +case 151: +//C +this.state = 152; +RDebugUtils.currentLine=8651081; + //BA.debugLineNum = 8651081;BA.debugLine="Printer1.WriteString(s.GetString(\"HVD_PRONOM"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PRONOMBRE")+parent.__c.CRLF); +RDebugUtils.currentLine=8651083; + //BA.debugLineNum = 8651083;BA.debugLine="Dim punit As String =NumberFormat2((s.GETSTR"; +_punit = parent.__c.NumberFormat2(((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CANT")))),(int) (0),(int) (2),(int) (2),parent.__c.False); +RDebugUtils.currentLine=8651084; + //BA.debugLineNum = 8651084;BA.debugLine="TAMANO = punit.Length + TAMANO"; +__ref._tamano /*int*/ = (int) (_punit.length()+__ref._tamano /*int*/ ); +RDebugUtils.currentLine=8651087; + //BA.debugLineNum = 8651087;BA.debugLine="Private ptot As String = NumberFormat2((puni"; +_ptot = parent.__c.NumberFormat2(((double)(Double.parseDouble(_punit))*(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CANT")))),(int) (0),(int) (2),(int) (2),parent.__c.False); +RDebugUtils.currentLine=8651088; + //BA.debugLineNum = 8651088;BA.debugLine="TAMANO = ptot.Length + TAMANO"; +__ref._tamano /*int*/ = (int) (_ptot.length()+__ref._tamano /*int*/ ); +RDebugUtils.currentLine=8651091; + //BA.debugLineNum = 8651091;BA.debugLine="ESPACIO = (ESPACIO - TAMANO)/2"; +__ref._espacio /*int*/ = (int) ((__ref._espacio /*int*/ -__ref._tamano /*int*/ )/(double)2); +RDebugUtils.currentLine=8651092; + //BA.debugLineNum = 8651092;BA.debugLine="Log(ESPACIO)"; +parent.__c.LogImpl("88651092",BA.NumberToString(__ref._espacio /*int*/ ),0); +RDebugUtils.currentLine=8651093; + //BA.debugLineNum = 8651093;BA.debugLine="For E=0 To ESPACIO -1"; +if (true) break; + +case 152: +//for +this.state = 155; +step240 = 1; +limit240 = (int) (__ref._espacio /*int*/ -1); +_e = (int) (0) ; +this.state = 219; +if (true) break; + +case 219: +//C +this.state = 155; +if ((step240 > 0 && _e <= limit240) || (step240 < 0 && _e >= limit240)) this.state = 154; +if (true) break; + +case 220: +//C +this.state = 219; +_e = ((int)(0 + _e + step240)) ; +if (true) break; + +case 154: +//C +this.state = 220; +RDebugUtils.currentLine=8651094; + //BA.debugLineNum = 8651094;BA.debugLine="BLANCO = \" \" & BLANCO"; +__ref._blanco /*String*/ = " "+__ref._blanco /*String*/ ; + if (true) break; +if (true) break; + +case 155: +//C +this.state = 156; +; +RDebugUtils.currentLine=8651096; + //BA.debugLineNum = 8651096;BA.debugLine="Printer1.Justify = 0"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._setjustify(null,(int) (0)); +RDebugUtils.currentLine=8651097; + //BA.debugLineNum = 8651097;BA.debugLine="Printer1.WriteString( (s.GetString(\"HVD_CANT"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,BA.NumberToString(((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CANT")))-(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_RECHAZOCANT")))))+__ref._blanco /*String*/ ); +RDebugUtils.currentLine=8651098; + //BA.debugLineNum = 8651098;BA.debugLine="Printer1.Justify = 1"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._setjustify(null,(int) (1)); +RDebugUtils.currentLine=8651099; + //BA.debugLineNum = 8651099;BA.debugLine="Printer1.WriteString( punit & BLANCO)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,_punit+__ref._blanco /*String*/ ); +RDebugUtils.currentLine=8651100; + //BA.debugLineNum = 8651100;BA.debugLine="Printer1.Justify = 2"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._setjustify(null,(int) (2)); +RDebugUtils.currentLine=8651101; + //BA.debugLineNum = 8651101;BA.debugLine="Printer1.WriteString(ptot & CRLF )"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,_ptot+parent.__c.CRLF); +RDebugUtils.currentLine=8651102; + //BA.debugLineNum = 8651102;BA.debugLine="TAMANO = 0"; +__ref._tamano /*int*/ = (int) (0); +RDebugUtils.currentLine=8651103; + //BA.debugLineNum = 8651103;BA.debugLine="ESPACIO = 29"; +__ref._espacio /*int*/ = (int) (29); +RDebugUtils.currentLine=8651104; + //BA.debugLineNum = 8651104;BA.debugLine="BLANCO = \" \""; +__ref._blanco /*String*/ = " "; +RDebugUtils.currentLine=8651105; + //BA.debugLineNum = 8651105;BA.debugLine="Printer1.Justify = 0"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._setjustify(null,(int) (0)); + if (true) break; + +case 156: +//C +this.state = 159; +; + if (true) break; + +case 158: +//C +this.state = 159; + if (true) break; + +case 159: +//C +this.state = 160; +; + if (true) break; + +case 160: +//C +this.state = 218; +; + if (true) break; +if (true) break; + +case 161: +//C +this.state = 162; +; +RDebugUtils.currentLine=8651115; + //BA.debugLineNum = 8651115;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null," "+parent.__c.CRLF); + if (true) break; + +case 162: +//C +this.state = 163; +; +RDebugUtils.currentLine=8651118; + //BA.debugLineNum = 8651118;BA.debugLine="s=Starter.skmt.ExecQuery($\"select PE_PRONOMBRE, 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._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select PE_PRONOMBRE, PE_CANT, length(PE_CANT) as L_CANT, PE_COSTO_TOT, length(PE_COSTO_TOT) as L_COSTOU,PE_PROID FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) order BY PE_PROID")))); +RDebugUtils.currentLine=8651120; + //BA.debugLineNum = 8651120;BA.debugLine="If S.RowCount>0 Then"; +if (true) break; + +case 163: +//if +this.state = 174; +if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +this.state = 165; +}if (true) break; + +case 165: +//C +this.state = 166; +RDebugUtils.currentLine=8651121; + //BA.debugLineNum = 8651121;BA.debugLine="Printer1.WriteString(\"-----------VENTA----------"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"-----------VENTA------------"+parent.__c.CRLF); +RDebugUtils.currentLine=8651122; + //BA.debugLineNum = 8651122;BA.debugLine="Printer1.WriteString(\"Cant. Precio I"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"Cant. Precio Importe"+parent.__c.CRLF); +RDebugUtils.currentLine=8651123; + //BA.debugLineNum = 8651123;BA.debugLine="Printer1.WriteString(\"--------------------------"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"------------------------------"+parent.__c.CRLF); +RDebugUtils.currentLine=8651125; + //BA.debugLineNum = 8651125;BA.debugLine="For i=0 To S.RowCount -1"; +if (true) break; + +case 166: +//for +this.state = 173; +step265 = 1; +limit265 = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +this.state = 221; +if (true) break; + +case 221: +//C +this.state = 173; +if ((step265 > 0 && _i <= limit265) || (step265 < 0 && _i >= limit265)) this.state = 168; +if (true) break; + +case 222: +//C +this.state = 221; +_i = ((int)(0 + _i + step265)) ; +if (true) break; + +case 168: +//C +this.state = 169; +RDebugUtils.currentLine=8651126; + //BA.debugLineNum = 8651126;BA.debugLine="S.Position=i"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=8651128; + //BA.debugLineNum = 8651128;BA.debugLine="Printer1.Justify = 0"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._setjustify(null,(int) (0)); +RDebugUtils.currentLine=8651129; + //BA.debugLineNum = 8651129;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_PRONOMBRE\""; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")+parent.__c.CRLF); +RDebugUtils.currentLine=8651132; + //BA.debugLineNum = 8651132;BA.debugLine="Dim punit As String =NumberFormat2( (s.GETSTRIN"; +_punit = parent.__c.NumberFormat2(((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_TOT")))/(double)(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")))),(int) (0),(int) (2),(int) (2),parent.__c.False); +RDebugUtils.currentLine=8651133; + //BA.debugLineNum = 8651133;BA.debugLine="TAMANO = punit.Length + TAMANO"; +__ref._tamano /*int*/ = (int) (_punit.length()+__ref._tamano /*int*/ ); +RDebugUtils.currentLine=8651135; + //BA.debugLineNum = 8651135;BA.debugLine="Private ptot As String = NumberFormat2((punit*s"; +_ptot = parent.__c.NumberFormat2(((double)(Double.parseDouble(_punit))*(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")))),(int) (0),(int) (2),(int) (2),parent.__c.False); +RDebugUtils.currentLine=8651136; + //BA.debugLineNum = 8651136;BA.debugLine="TAMANO = ptot.Length + TAMANO"; +__ref._tamano /*int*/ = (int) (_ptot.length()+__ref._tamano /*int*/ ); +RDebugUtils.currentLine=8651139; + //BA.debugLineNum = 8651139;BA.debugLine="ESPACIO = (ESPACIO - TAMANO)/2"; +__ref._espacio /*int*/ = (int) ((__ref._espacio /*int*/ -__ref._tamano /*int*/ )/(double)2); +RDebugUtils.currentLine=8651140; + //BA.debugLineNum = 8651140;BA.debugLine="Log(ESPACIO)"; +parent.__c.LogImpl("88651140",BA.NumberToString(__ref._espacio /*int*/ ),0); +RDebugUtils.currentLine=8651141; + //BA.debugLineNum = 8651141;BA.debugLine="For E=0 To ESPACIO -1"; +if (true) break; + +case 169: +//for +this.state = 172; +step275 = 1; +limit275 = (int) (__ref._espacio /*int*/ -1); +_e = (int) (0) ; +this.state = 223; +if (true) break; + +case 223: +//C +this.state = 172; +if ((step275 > 0 && _e <= limit275) || (step275 < 0 && _e >= limit275)) this.state = 171; +if (true) break; + +case 224: +//C +this.state = 223; +_e = ((int)(0 + _e + step275)) ; +if (true) break; + +case 171: +//C +this.state = 224; +RDebugUtils.currentLine=8651142; + //BA.debugLineNum = 8651142;BA.debugLine="BLANCO = \" \" & BLANCO"; +__ref._blanco /*String*/ = " "+__ref._blanco /*String*/ ; + if (true) break; +if (true) break; + +case 172: +//C +this.state = 222; +; +RDebugUtils.currentLine=8651144; + //BA.debugLineNum = 8651144;BA.debugLine="Printer1.Justify = 0"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._setjustify(null,(int) (0)); +RDebugUtils.currentLine=8651145; + //BA.debugLineNum = 8651145;BA.debugLine="Printer1.WriteString( s.GetString(\"PE_CANT\") &"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")+__ref._blanco /*String*/ ); +RDebugUtils.currentLine=8651146; + //BA.debugLineNum = 8651146;BA.debugLine="Printer1.Justify = 1"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._setjustify(null,(int) (1)); +RDebugUtils.currentLine=8651147; + //BA.debugLineNum = 8651147;BA.debugLine="Printer1.WriteString( punit & BLANCO)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,_punit+__ref._blanco /*String*/ ); +RDebugUtils.currentLine=8651148; + //BA.debugLineNum = 8651148;BA.debugLine="Printer1.Justify = 2"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._setjustify(null,(int) (2)); +RDebugUtils.currentLine=8651149; + //BA.debugLineNum = 8651149;BA.debugLine="Printer1.WriteString(ptot & CRLF )"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,_ptot+parent.__c.CRLF); +RDebugUtils.currentLine=8651150; + //BA.debugLineNum = 8651150;BA.debugLine="TAMANO = 0"; +__ref._tamano /*int*/ = (int) (0); +RDebugUtils.currentLine=8651151; + //BA.debugLineNum = 8651151;BA.debugLine="ESPACIO = 29"; +__ref._espacio /*int*/ = (int) (29); +RDebugUtils.currentLine=8651152; + //BA.debugLineNum = 8651152;BA.debugLine="BLANCO = \" \""; +__ref._blanco /*String*/ = " "; +RDebugUtils.currentLine=8651153; + //BA.debugLineNum = 8651153;BA.debugLine="Printer1.Justify = 0"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._setjustify(null,(int) (0)); + if (true) break; +if (true) break; + +case 173: +//C +this.state = 174; +; +RDebugUtils.currentLine=8651156; + //BA.debugLineNum = 8651156;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null," "+parent.__c.CRLF); + if (true) break; + +case 174: +//C +this.state = 175; +; +RDebugUtils.currentLine=8651158; + //BA.debugLineNum = 8651158;BA.debugLine="Printer1.WriteString(\"---------------------------"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"------------------------------"+parent.__c.CRLF); +RDebugUtils.currentLine=8651161; + //BA.debugLineNum = 8651161;BA.debugLine="Printer1.WriteString(\"Total Articulos: \" & L_CA"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"Total Articulos: "+__ref._l_cant /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+parent.__c.CRLF); +RDebugUtils.currentLine=8651163; + //BA.debugLineNum = 8651163;BA.debugLine="Printer1.WriteString(\"Total credito: $\" & l_mon"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"Total credito: $"+__ref._l_montopag /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+parent.__c.CRLF); +RDebugUtils.currentLine=8651164; + //BA.debugLineNum = 8651164;BA.debugLine="Printer1.WriteString(\"Total contado: $\" & l_mon"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"Total contado: $"+__ref._l_montoefec /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+parent.__c.CRLF); +RDebugUtils.currentLine=8651165; + //BA.debugLineNum = 8651165;BA.debugLine="Printer1.WriteString(\"Total general: $\" & l_tot"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"Total general: $"+__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()); +RDebugUtils.currentLine=8651168; + //BA.debugLineNum = 8651168;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null," "+parent.__c.CRLF); +RDebugUtils.currentLine=8651169; + //BA.debugLineNum = 8651169;BA.debugLine="Printer1.WriteString(\"---------------------------"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"------------------------------"+parent.__c.CRLF); +RDebugUtils.currentLine=8651172; + //BA.debugLineNum = 8651172;BA.debugLine="Printer1.WriteString(\"----ESTE TICKET NO ES UN --"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"----ESTE TICKET NO ES UN -----"+parent.__c.CRLF); +RDebugUtils.currentLine=8651173; + //BA.debugLineNum = 8651173;BA.debugLine="Printer1.WriteString(\"--COMPROBANTE FISCAL, SOLO"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"--COMPROBANTE FISCAL, SOLO ES-"+parent.__c.CRLF); +RDebugUtils.currentLine=8651174; + //BA.debugLineNum = 8651174;BA.debugLine="Printer1.WriteString(\"--------INFORMATIVO--------"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"--------INFORMATIVO-----------"+parent.__c.CRLF); +RDebugUtils.currentLine=8651175; + //BA.debugLineNum = 8651175;BA.debugLine="Printer1.WriteString(\"---------------------------"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"------------------------------"+parent.__c.CRLF); +RDebugUtils.currentLine=8651176; + //BA.debugLineNum = 8651176;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null," "+parent.__c.CRLF); +RDebugUtils.currentLine=8651177; + //BA.debugLineNum = 8651177;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null," "+parent.__c.CRLF); +RDebugUtils.currentLine=8651178; + //BA.debugLineNum = 8651178;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null," "+parent.__c.CRLF); +RDebugUtils.currentLine=8651179; + //BA.debugLineNum = 8651179;BA.debugLine="Sleep(1000)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "b_imp_click"),(int) (1000)); +this.state = 225; +return; +case 225: +//C +this.state = 175; +; +RDebugUtils.currentLine=8651180; + //BA.debugLineNum = 8651180;BA.debugLine="Printer1.DisConnect"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._disconnect /*String*/ (null); +RDebugUtils.currentLine=8651182; + //BA.debugLineNum = 8651182;BA.debugLine="ProgressDialogHide"; +parent.__c.ProgressDialogHide(); +RDebugUtils.currentLine=8651184; + //BA.debugLineNum = 8651184;BA.debugLine="If banderaimp = 1 Then"; +if (true) break; + +case 175: +//if +this.state = 196; +if (__ref._banderaimp /*int*/ ==1) { +this.state = 177; +}else +{RDebugUtils.currentLine=8651201; + //BA.debugLineNum = 8651201;BA.debugLine="Else If banderaimp = 0 Then"; +if (__ref._banderaimp /*int*/ ==0) { +this.state = 191; +}} +if (true) break; + +case 177: +//C +this.state = 178; +RDebugUtils.currentLine=8651185; + //BA.debugLineNum = 8651185;BA.debugLine="Msgbox2Async(\"Deseas imprimir de nuevo el ticket"; +parent.__c.Msgbox2Async(BA.ObjectToCharSequence("Deseas imprimir de nuevo el ticket?"),BA.ObjectToCharSequence("ATENCION"),"SI","","NO",parent.__c.LoadBitmap(parent.__c.File.getDirAssets(),"alert2.png"),ba,parent.__c.False); +RDebugUtils.currentLine=8651186; + //BA.debugLineNum = 8651186;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 = 226; +return; +case 226: +//C +this.state = 178; +_resultado = (Integer) result[1]; +; +RDebugUtils.currentLine=8651187; + //BA.debugLineNum = 8651187;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; +if (true) break; + +case 178: +//if +this.state = 189; +if (_resultado==parent.__c.DialogResponse.POSITIVE) { +this.state = 180; +}else { +this.state = 182; +}if (true) break; + +case 180: +//C +this.state = 189; +RDebugUtils.currentLine=8651188; + //BA.debugLineNum = 8651188;BA.debugLine="B_IMP_Click"; +__ref._b_imp_click /*void*/ (null); + if (true) break; + +case 182: +//C +this.state = 183; +RDebugUtils.currentLine=8651190; + //BA.debugLineNum = 8651190;BA.debugLine="Dim totalcredito As Float = l_montopag.Text"; +_totalcredito = (float)(Double.parseDouble(__ref._l_montopag /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText())); +RDebugUtils.currentLine=8651191; + //BA.debugLineNum = 8651191;BA.debugLine="If totalcredito > 0 Then"; +if (true) break; + +case 183: +//if +this.state = 188; +if (_totalcredito>0) { +this.state = 185; +}else { +this.state = 187; +}if (true) break; + +case 185: +//C +this.state = 188; +RDebugUtils.currentLine=8651192; + //BA.debugLineNum = 8651192;BA.debugLine="imprime_pagare"; +__ref._imprime_pagare /*void*/ (null); + if (true) break; + +case 187: +//C +this.state = 188; +RDebugUtils.currentLine=8651195; + //BA.debugLineNum = 8651195;BA.debugLine="Guardado"; +__ref._guardado /*String*/ (null); + if (true) break; + +case 188: +//C +this.state = 189; +; + if (true) break; + +case 189: +//C +this.state = 196; +; + if (true) break; + +case 191: +//C +this.state = 192; +RDebugUtils.currentLine=8651202; + //BA.debugLineNum = 8651202;BA.debugLine="Msgbox2Async(\"Deseas imprimir de nuevo el ticket"; +parent.__c.Msgbox2Async(BA.ObjectToCharSequence("Deseas imprimir de nuevo el ticket?"),BA.ObjectToCharSequence("ATENCION"),"SI","","NO",parent.__c.LoadBitmap(parent.__c.File.getDirAssets(),"alert2.png"),ba,parent.__c.False); +RDebugUtils.currentLine=8651203; + //BA.debugLineNum = 8651203;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 = 227; +return; +case 227: +//C +this.state = 192; +_resultado = (Integer) result[1]; +; +RDebugUtils.currentLine=8651204; + //BA.debugLineNum = 8651204;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; +if (true) break; + +case 192: +//if +this.state = 195; +if (_resultado==parent.__c.DialogResponse.POSITIVE) { +this.state = 194; +}if (true) break; + +case 194: +//C +this.state = 195; +RDebugUtils.currentLine=8651205; + //BA.debugLineNum = 8651205;BA.debugLine="B_IMP_Click"; +__ref._b_imp_click /*void*/ (null); + if (true) break; + +case 195: +//C +this.state = 196; +; + if (true) break; + +case 196: +//C +this.state = -1; +; +RDebugUtils.currentLine=8651210; + //BA.debugLineNum = 8651210;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public void _imprime_pagare(reparto_izca.keymon.lat.c_cliente __ref) throws Exception{ +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "imprime_pagare", false)) + {Debug.delegate(ba, "imprime_pagare", null); return;} +ResumableSub_imprime_pagare rsub = new ResumableSub_imprime_pagare(this,__ref); +rsub.resume(ba, null); +} +public static class ResumableSub_imprime_pagare extends BA.ResumableSub { +public ResumableSub_imprime_pagare(reparto_izca.keymon.lat.c_cliente parent,reparto_izca.keymon.lat.c_cliente __ref) { +this.parent = parent; +this.__ref = __ref; +this.__ref = parent; +} +reparto_izca.keymon.lat.c_cliente __ref; +reparto_izca.keymon.lat.c_cliente parent; +int _cont = 0; +String _telefono = ""; +anywheresoftware.b4a.sql.SQL.CursorWrapper _c7 = null; +String _ticket = ""; +anywheresoftware.b4a.sql.SQL.CursorWrapper _c6 = null; +int _k = 0; +int _i = 0; +int _resultado = 0; +int step59; +int limit59; +int step76; +int limit76; +int step100; +int limit100; + +@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=9830401; + //BA.debugLineNum = 9830401;BA.debugLine="c=Starter.skmt.ExecQuery(\"select USUARIO from 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)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); +RDebugUtils.currentLine=9830402; + //BA.debugLineNum = 9830402;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=9830403; + //BA.debugLineNum = 9830403;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=9830404; + //BA.debugLineNum = 9830404;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +parent.__c.DateTime.setDateFormat("MM/dd/yyyy"); +RDebugUtils.currentLine=9830405; + //BA.debugLineNum = 9830405;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = parent.__c.DateTime.Date(parent.__c.DateTime.getNow()); +RDebugUtils.currentLine=9830406; + //BA.debugLineNum = 9830406;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = parent.__c.DateTime.Time(parent.__c.DateTime.getNow()); +RDebugUtils.currentLine=9830407; + //BA.debugLineNum = 9830407;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=9830438; + //BA.debugLineNum = 9830438;BA.debugLine="ProgressDialogShow(\"Imprimiendo, un momento ...\")"; +parent.__c.ProgressDialogShow(ba,BA.ObjectToCharSequence("Imprimiendo, un momento ...")); +RDebugUtils.currentLine=9830439; + //BA.debugLineNum = 9830439;BA.debugLine="Printer1.DisConnect"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._disconnect /*String*/ (null); +RDebugUtils.currentLine=9830440; + //BA.debugLineNum = 9830440;BA.debugLine="If Not(Printer1.IsConnected) Then"; +if (true) break; + +case 1: +//if +this.state = 38; +if (parent.__c.Not(__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._isconnected /*boolean*/ (null))) { +this.state = 3; +}else { +this.state = 21; +}if (true) break; + +case 3: +//C +this.state = 4; +RDebugUtils.currentLine=9830442; + //BA.debugLineNum = 9830442;BA.debugLine="Printer1.Connect"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._connect /*boolean*/ (null); +RDebugUtils.currentLine=9830443; + //BA.debugLineNum = 9830443;BA.debugLine="Private cont As Int = 0"; +_cont = (int) (0); +RDebugUtils.currentLine=9830444; + //BA.debugLineNum = 9830444;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=9830445; + //BA.debugLineNum = 9830445;BA.debugLine="Sleep(1000)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "imprime_pagare"),(int) (1000)); +this.state = 117; +return; +case 117: +//C +this.state = 7; +; +RDebugUtils.currentLine=9830446; + //BA.debugLineNum = 9830446;BA.debugLine="cont = cont + 1"; +_cont = (int) (_cont+1); +RDebugUtils.currentLine=9830447; + //BA.debugLineNum = 9830447;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 /*reparto_izca.keymon.lat.escposprinter*/ ._connect /*boolean*/ (null); +if (true) break; + +case 12: +//C +this.state = 13; +; +RDebugUtils.currentLine=9830448; + //BA.debugLineNum = 9830448;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=9830450; + //BA.debugLineNum = 9830450;BA.debugLine="Sleep(500)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "imprime_pagare"),(int) (500)); +this.state = 118; +return; +case 118: +//C +this.state = 38; +; +RDebugUtils.currentLine=9830451; + //BA.debugLineNum = 9830451;BA.debugLine="impresoraConectada = False"; +__ref._impresoraconectada /*boolean*/ = parent.__c.False; + if (true) break; + +case 21: +//C +this.state = 22; +RDebugUtils.currentLine=9830454; + //BA.debugLineNum = 9830454;BA.debugLine="Printer1.Connect"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._connect /*boolean*/ (null); +RDebugUtils.currentLine=9830455; + //BA.debugLineNum = 9830455;BA.debugLine="Private cont As Int = 0"; +_cont = (int) (0); +RDebugUtils.currentLine=9830456; + //BA.debugLineNum = 9830456;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 /*reparto_izca.keymon.lat.escposprinter*/ ._isconnected /*boolean*/ (null))) { +this.state = 24; +if (true) break; +} +if (true) break; + +case 24: +//C +this.state = 25; +RDebugUtils.currentLine=9830457; + //BA.debugLineNum = 9830457;BA.debugLine="Sleep(1000)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "imprime_pagare"),(int) (1000)); +this.state = 119; +return; +case 119: +//C +this.state = 25; +; +RDebugUtils.currentLine=9830458; + //BA.debugLineNum = 9830458;BA.debugLine="cont = cont + 1"; +_cont = (int) (_cont+1); +RDebugUtils.currentLine=9830459; + //BA.debugLineNum = 9830459;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 /*reparto_izca.keymon.lat.escposprinter*/ ._connect /*boolean*/ (null); +if (true) break; + +case 30: +//C +this.state = 31; +; +RDebugUtils.currentLine=9830460; + //BA.debugLineNum = 9830460;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=9830462; + //BA.debugLineNum = 9830462;BA.debugLine="Sleep(500)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "imprime_pagare"),(int) (500)); +this.state = 120; +return; +case 120: +//C +this.state = 38; +; +RDebugUtils.currentLine=9830463; + //BA.debugLineNum = 9830463;BA.debugLine="impresoraConectada = False"; +__ref._impresoraconectada /*boolean*/ = parent.__c.False; + if (true) break; + +case 38: +//C +this.state = 39; +; +RDebugUtils.currentLine=9830466; + //BA.debugLineNum = 9830466;BA.debugLine="TAMANO = 0"; +__ref._tamano /*int*/ = (int) (0); +RDebugUtils.currentLine=9830467; + //BA.debugLineNum = 9830467;BA.debugLine="ESPACIO = 28"; +__ref._espacio /*int*/ = (int) (28); +RDebugUtils.currentLine=9830468; + //BA.debugLineNum = 9830468;BA.debugLine="BLANCO = \" \""; +__ref._blanco /*String*/ = " "; +RDebugUtils.currentLine=9830470; + //BA.debugLineNum = 9830470;BA.debugLine="Dim telefono As String = \"\""; +_telefono = ""; +RDebugUtils.currentLine=9830471; + //BA.debugLineNum = 9830471;BA.debugLine="Dim c7 As Cursor = Starter.skmt.ExecQuery(\"select"; +_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)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(CAT_CL_TELEFONO,' ') AS CAT_CL_TELEFONO FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))); +RDebugUtils.currentLine=9830472; + //BA.debugLineNum = 9830472;BA.debugLine="If c7.RowCount > 0 Then"; +if (true) break; + +case 39: +//if +this.state = 42; +if (_c7.getRowCount()>0) { +this.state = 41; +}if (true) break; + +case 41: +//C +this.state = 42; +RDebugUtils.currentLine=9830473; + //BA.debugLineNum = 9830473;BA.debugLine="c7.Position = 0"; +_c7.setPosition((int) (0)); +RDebugUtils.currentLine=9830474; + //BA.debugLineNum = 9830474;BA.debugLine="telefono = c7.GetString(\"CAT_CL_TELEFONO\")"; +_telefono = _c7.GetString("CAT_CL_TELEFONO"); + if (true) break; + +case 42: +//C +this.state = 43; +; +RDebugUtils.currentLine=9830476; + //BA.debugLineNum = 9830476;BA.debugLine="c7.Close"; +_c7.Close(); +RDebugUtils.currentLine=9830495; + //BA.debugLineNum = 9830495;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; +parent.__c.DateTime.setDateFormat("dd/MM/yyyy"); +RDebugUtils.currentLine=9830496; + //BA.debugLineNum = 9830496;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; +parent.__c.DateTime.setTimeFormat("HH:mm:ss"); +RDebugUtils.currentLine=9830497; + //BA.debugLineNum = 9830497;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = parent.__c.DateTime.Date(parent.__c.DateTime.getNow()); +RDebugUtils.currentLine=9830498; + //BA.debugLineNum = 9830498;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = parent.__c.DateTime.Time(parent.__c.DateTime.getNow()); +RDebugUtils.currentLine=9830499; + //BA.debugLineNum = 9830499;BA.debugLine="Printer1.WriteString(\"Izca Distribuciones\" & CRL"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"Izca Distribuciones"+parent.__c.CRLF); +RDebugUtils.currentLine=9830500; + //BA.debugLineNum = 9830500;BA.debugLine="Printer1.WriteString(sDate & CRLF)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,__ref._sdate /*String*/ +parent.__c.CRLF); +RDebugUtils.currentLine=9830501; + //BA.debugLineNum = 9830501;BA.debugLine="Printer1.WriteString(sTime & CRLF)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,__ref._stime /*String*/ +parent.__c.CRLF); +RDebugUtils.currentLine=9830502; + //BA.debugLineNum = 9830502;BA.debugLine="Printer1.WriteString(\"Reparto:\" & usuario & CRLF"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"Reparto:"+__ref._usuario /*String*/ +parent.__c.CRLF); +RDebugUtils.currentLine=9830503; + //BA.debugLineNum = 9830503;BA.debugLine="Printer1.WriteString(\"Tienda: \" & La_nombre.Text"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"Tienda: "+__ref._la_nombre /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+parent.__c.CRLF); +RDebugUtils.currentLine=9830504; + //BA.debugLineNum = 9830504;BA.debugLine="Printer1.WriteString(\"ID.Cliente: \" & la_cuenta."; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"ID.Cliente: "+__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+parent.__c.CRLF); +RDebugUtils.currentLine=9830505; + //BA.debugLineNum = 9830505;BA.debugLine="Printer1.WriteString(\"Calle: \" & la_Calle.Text &"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"Calle: "+__ref._la_calle /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+parent.__c.CRLF); +RDebugUtils.currentLine=9830506; + //BA.debugLineNum = 9830506;BA.debugLine="Printer1.WriteString(\"Colonia: \" & la_col.Text &"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"Colonia: "+__ref._la_col /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+parent.__c.CRLF); +RDebugUtils.currentLine=9830507; + //BA.debugLineNum = 9830507;BA.debugLine="Printer1.WriteString(\"Telefono: \" & telefono & C"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"Telefono: "+_telefono+parent.__c.CRLF); +RDebugUtils.currentLine=9830508; + //BA.debugLineNum = 9830508;BA.debugLine="Dim Ticket As String = 0"; +_ticket = BA.NumberToString(0); +RDebugUtils.currentLine=9830509; + //BA.debugLineNum = 9830509;BA.debugLine="Dim c6 As Cursor = Starter.skmt.ExecQuery(\"select"; +_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._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select distinct HVD_NUM_TICKET FROM HIST_VENTAS WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND HVD_PRONOMBRE <> 'Cobranza Pendiente' and HVD_BCREDITO = '1'"))); +RDebugUtils.currentLine=9830510; + //BA.debugLineNum = 9830510;BA.debugLine="If c6.RowCount > 0 Then"; +if (true) break; + +case 43: +//if +this.state = 50; +if (_c6.getRowCount()>0) { +this.state = 45; +}if (true) break; + +case 45: +//C +this.state = 46; +RDebugUtils.currentLine=9830511; + //BA.debugLineNum = 9830511;BA.debugLine="For k = 0 To c6.RowCount -1"; +if (true) break; + +case 46: +//for +this.state = 49; +step59 = 1; +limit59 = (int) (_c6.getRowCount()-1); +_k = (int) (0) ; +this.state = 121; +if (true) break; + +case 121: +//C +this.state = 49; +if ((step59 > 0 && _k <= limit59) || (step59 < 0 && _k >= limit59)) this.state = 48; +if (true) break; + +case 122: +//C +this.state = 121; +_k = ((int)(0 + _k + step59)) ; +if (true) break; + +case 48: +//C +this.state = 122; +RDebugUtils.currentLine=9830512; + //BA.debugLineNum = 9830512;BA.debugLine="c6.Position = k"; +_c6.setPosition(_k); +RDebugUtils.currentLine=9830513; + //BA.debugLineNum = 9830513;BA.debugLine="Ticket = c6.GetString(\"HVD_NUM_TICKET\")"; +_ticket = _c6.GetString("HVD_NUM_TICKET"); +RDebugUtils.currentLine=9830514; + //BA.debugLineNum = 9830514;BA.debugLine="Printer1.WriteString(\"Num. Ticket \" & (k +1)&\":"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"Num. Ticket "+BA.NumberToString((_k+1))+": "+_ticket+parent.__c.CRLF); + if (true) break; +if (true) break; + +case 49: +//C +this.state = 50; +; + if (true) break; + +case 50: +//C +this.state = 51; +; +RDebugUtils.currentLine=9830517; + //BA.debugLineNum = 9830517;BA.debugLine="c6.Close"; +_c6.Close(); +RDebugUtils.currentLine=9830518; + //BA.debugLineNum = 9830518;BA.debugLine="Printer1.WriteString(\"Fecha: \" & sDate &\" \" & sT"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"Fecha: "+__ref._sdate /*String*/ +" "+__ref._stime /*String*/ +parent.__c.CRLF); +RDebugUtils.currentLine=9830519; + //BA.debugLineNum = 9830519;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null," "+parent.__c.CRLF); +RDebugUtils.currentLine=9830523; + //BA.debugLineNum = 9830523;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT * FROM HIST_VE"; +__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 * FROM HIST_VENTAS WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA) and HVD_BCREDITO = '1' "))); +RDebugUtils.currentLine=9830524; + //BA.debugLineNum = 9830524;BA.debugLine="If c.RowCount > 0 Then"; +if (true) break; + +case 51: +//if +this.state = 72; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +this.state = 53; +}if (true) break; + +case 53: +//C +this.state = 54; +RDebugUtils.currentLine=9830525; + //BA.debugLineNum = 9830525;BA.debugLine="Printer1.WriteString(\"------------PAGARE--------"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"------------PAGARE------------"+parent.__c.CRLF); +RDebugUtils.currentLine=9830526; + //BA.debugLineNum = 9830526;BA.debugLine="Printer1.WriteString(\"\" & CRLF)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,""+parent.__c.CRLF); +RDebugUtils.currentLine=9830527; + //BA.debugLineNum = 9830527;BA.debugLine="Printer1.WriteString(\"Pagare por los articulos\""; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"Pagare por los articulos"+parent.__c.CRLF); +RDebugUtils.currentLine=9830528; + //BA.debugLineNum = 9830528;BA.debugLine="Printer1.WriteString(\"--------------------------"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"------------------------------"+parent.__c.CRLF); +RDebugUtils.currentLine=9830531; + //BA.debugLineNum = 9830531;BA.debugLine="s=Starter.skmt.ExecQuery($\"select HVD_PRONOMBRE,"; +__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._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select HVD_PRONOMBRE, HVD_CANT, length(HVD_CANT) as L_CANT, HVD_COSTO_TOT, length(HVD_COSTO_TOT) as L_COSTOU,HVD_PROID, HVD_CODPROMO,IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT, HVD_RECHAZO FROM HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) and HVD_BCREDITO = '1' order by HVD_PROID")))); +RDebugUtils.currentLine=9830532; + //BA.debugLineNum = 9830532;BA.debugLine="If S.RowCount>0 Then"; +if (true) break; + +case 54: +//if +this.state = 71; +if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +this.state = 56; +}if (true) break; + +case 56: +//C +this.state = 57; +RDebugUtils.currentLine=9830533; + //BA.debugLineNum = 9830533;BA.debugLine="For i=0 To S.RowCount -1"; +if (true) break; + +case 57: +//for +this.state = 70; +step76 = 1; +limit76 = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +this.state = 123; +if (true) break; + +case 123: +//C +this.state = 70; +if ((step76 > 0 && _i <= limit76) || (step76 < 0 && _i >= limit76)) this.state = 59; +if (true) break; + +case 124: +//C +this.state = 123; +_i = ((int)(0 + _i + step76)) ; +if (true) break; + +case 59: +//C +this.state = 60; +RDebugUtils.currentLine=9830534; + //BA.debugLineNum = 9830534;BA.debugLine="S.Position=i"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=9830535; + //BA.debugLineNum = 9830535;BA.debugLine="Log(s.GetString(\"HVD_RECHAZO\"))"; +parent.__c.LogImpl("89830535",__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_RECHAZO"),0); +RDebugUtils.currentLine=9830536; + //BA.debugLineNum = 9830536;BA.debugLine="If s.GetString(\"HVD_CANT\") - s.GetString(\"HVD_"; +if (true) break; + +case 60: +//if +this.state = 69; +if ((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CANT")))-(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_RECHAZOCANT")))>0) { +this.state = 62; +}if (true) break; + +case 62: +//C +this.state = 63; +RDebugUtils.currentLine=9830537; + //BA.debugLineNum = 9830537;BA.debugLine="If s.GetString(\"HVD_CODPROMO\") = Subs.traeAlm"; +if (true) break; + +case 63: +//if +this.state = 68; +if ((__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CODPROMO")).equals(parent._subs._traealmacen /*String*/ (ba))) { +this.state = 65; +}else +{RDebugUtils.currentLine=9830561; + //BA.debugLineNum = 9830561;BA.debugLine="Else If s.GetString(\"HVD_RECHAZO\") = 1 Then"; +if ((__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_RECHAZO")).equals(BA.NumberToString(1))) { +this.state = 67; +}} +if (true) break; + +case 65: +//C +this.state = 68; +RDebugUtils.currentLine=9830538; + //BA.debugLineNum = 9830538;BA.debugLine="Printer1.Justify = 0"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._setjustify(null,(int) (0)); +RDebugUtils.currentLine=9830539; + //BA.debugLineNum = 9830539;BA.debugLine="Printer1.WriteString((s.GetString(\"HVD_CANT\""; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,BA.NumberToString(((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CANT")))-(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_RECHAZOCANT")))))+" "+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PRONOMBRE")+parent.__c.CRLF); + if (true) break; + +case 67: +//C +this.state = 68; +RDebugUtils.currentLine=9830562; + //BA.debugLineNum = 9830562;BA.debugLine="Printer1.Justify = 0"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._setjustify(null,(int) (0)); +RDebugUtils.currentLine=9830563; + //BA.debugLineNum = 9830563;BA.debugLine="Printer1.WriteString((s.GetString(\"HVD_CANT\""; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,BA.NumberToString(((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CANT")))-(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_RECHAZOCANT")))))+" "+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PRONOMBRE")+parent.__c.CRLF); +RDebugUtils.currentLine=9830588; + //BA.debugLineNum = 9830588;BA.debugLine="Printer1.Justify = 0"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._setjustify(null,(int) (0)); + if (true) break; + +case 68: +//C +this.state = 69; +; + if (true) break; + +case 69: +//C +this.state = 124; +; + if (true) break; +if (true) break; + +case 70: +//C +this.state = 71; +; + if (true) break; + +case 71: +//C +this.state = 72; +; + if (true) break; + +case 72: +//C +this.state = 73; +; +RDebugUtils.currentLine=9830594; + //BA.debugLineNum = 9830594;BA.debugLine="Printer1.Justify = 0"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._setjustify(null,(int) (0)); +RDebugUtils.currentLine=9830595; + //BA.debugLineNum = 9830595;BA.debugLine="s.Close"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=9830596; + //BA.debugLineNum = 9830596;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null," "+parent.__c.CRLF); +RDebugUtils.currentLine=9830598; + //BA.debugLineNum = 9830598;BA.debugLine="s=Starter.skmt.ExecQuery($\"select HVD_PRONOMBRE,"; +__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._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select HVD_PRONOMBRE, HVD_CANT, length(HVD_CANT) as L_CANT, HVD_COSTO_TOT, length(HVD_COSTO_TOT) as L_COSTOU,HVD_PROID, HVD_CODPROMO,IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT FROM HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) AND HVD_RECHAZO = 0 AND HVD_CODPROMO <> '"+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traealmacen /*String*/ (ba)))+"' and HVD_BCREDITO = '1' order by HVD_CODPROMO, ESPROMO DESC, HVD_PROID")))); +RDebugUtils.currentLine=9830599; + //BA.debugLineNum = 9830599;BA.debugLine="If S.RowCount>0 Then"; +if (true) break; + +case 73: +//if +this.state = 100; +if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +this.state = 75; +}if (true) break; + +case 75: +//C +this.state = 76; +RDebugUtils.currentLine=9830600; + //BA.debugLineNum = 9830600;BA.debugLine="Printer1.WriteString(\"-------PROMOS ENTREGA-----"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"-------PROMOS ENTREGA--------"+parent.__c.CRLF); +RDebugUtils.currentLine=9830601; + //BA.debugLineNum = 9830601;BA.debugLine="Printer1.WriteString(\"Cant. Precio I"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"Cant. Precio Importe"+parent.__c.CRLF); +RDebugUtils.currentLine=9830602; + //BA.debugLineNum = 9830602;BA.debugLine="Printer1.WriteString(\"--------------------------"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"------------------------------"+parent.__c.CRLF); +RDebugUtils.currentLine=9830603; + //BA.debugLineNum = 9830603;BA.debugLine="For i=0 To S.RowCount -1"; +if (true) break; + +case 76: +//for +this.state = 99; +step100 = 1; +limit100 = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +this.state = 125; +if (true) break; + +case 125: +//C +this.state = 99; +if ((step100 > 0 && _i <= limit100) || (step100 < 0 && _i >= limit100)) this.state = 78; +if (true) break; + +case 126: +//C +this.state = 125; +_i = ((int)(0 + _i + step100)) ; +if (true) break; + +case 78: +//C +this.state = 79; +RDebugUtils.currentLine=9830604; + //BA.debugLineNum = 9830604;BA.debugLine="S.Position=i"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=9830605; + //BA.debugLineNum = 9830605;BA.debugLine="If s.GetString(\"HVD_CANT\") - s.GetString(\"HVD_R"; +if (true) break; + +case 79: +//if +this.state = 98; +if ((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CANT")))-(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_RECHAZOCANT")))>0) { +this.state = 81; +}if (true) break; + +case 81: +//C +this.state = 82; +RDebugUtils.currentLine=9830606; + //BA.debugLineNum = 9830606;BA.debugLine="If s.GetString(\"HVD_CODPROMO\") <> Subs.traeAlm"; +if (true) break; + +case 82: +//if +this.state = 97; +if ((__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CODPROMO")).equals(parent._subs._traealmacen /*String*/ (ba)) == false) { +this.state = 84; +}else { +this.state = 96; +}if (true) break; + +case 84: +//C +this.state = 85; +RDebugUtils.currentLine=9830607; + //BA.debugLineNum = 9830607;BA.debugLine="Printer1.Justify = 0"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._setjustify(null,(int) (0)); +RDebugUtils.currentLine=9830608; + //BA.debugLineNum = 9830608;BA.debugLine="If s.GetString(\"HVD_CODPROMO\") = s.GetString("; +if (true) break; + +case 85: +//if +this.state = 94; +if ((__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CODPROMO")).equals(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID"))) { +this.state = 87; +}else { +this.state = 89; +}if (true) break; + +case 87: +//C +this.state = 94; + if (true) break; + +case 89: +//C +this.state = 90; +RDebugUtils.currentLine=9830611; + //BA.debugLineNum = 9830611;BA.debugLine="If s.GetString(\"HVD_PRONOMBRE\") <> \"Cobranza"; +if (true) break; + +case 90: +//if +this.state = 93; +if ((__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PRONOMBRE")).equals("Cobranza Pendiente") == false) { +this.state = 92; +}if (true) break; + +case 92: +//C +this.state = 93; +RDebugUtils.currentLine=9830613; + //BA.debugLineNum = 9830613;BA.debugLine="Printer1.WriteString((s.GetString(\"HVD_CANT"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,BA.NumberToString(((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CANT")))-(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_RECHAZOCANT")))))+" "+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PRONOMBRE")+parent.__c.CRLF); + if (true) break; + +case 93: +//C +this.state = 94; +; + if (true) break; + +case 94: +//C +this.state = 97; +; +RDebugUtils.currentLine=9830634; + //BA.debugLineNum = 9830634;BA.debugLine="Printer1.Justify = 0"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._setjustify(null,(int) (0)); + if (true) break; + +case 96: +//C +this.state = 97; + if (true) break; + +case 97: +//C +this.state = 98; +; + if (true) break; + +case 98: +//C +this.state = 126; +; + if (true) break; +if (true) break; + +case 99: +//C +this.state = 100; +; + if (true) break; + +case 100: +//C +this.state = 101; +; +RDebugUtils.currentLine=9830641; + //BA.debugLineNum = 9830641;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null," "+parent.__c.CRLF); +RDebugUtils.currentLine=9830642; + //BA.debugLineNum = 9830642;BA.debugLine="Printer1.WriteString(\"Por monto de $\" &l_montopag"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"Por monto de $"+__ref._l_montopag /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+parent.__c.CRLF); +RDebugUtils.currentLine=9830643; + //BA.debugLineNum = 9830643;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null," "+parent.__c.CRLF); +RDebugUtils.currentLine=9830644; + //BA.debugLineNum = 9830644;BA.debugLine="Printer1.WriteString(\"Debo(mos) y pagare(mos) inc"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"Debo(mos) y pagare(mos) incon"+parent.__c.CRLF); +RDebugUtils.currentLine=9830645; + //BA.debugLineNum = 9830645;BA.debugLine="Printer1.WriteString(\"dicionalmente en __________"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"dicionalmente en _____________"+parent.__c.CRLF); +RDebugUtils.currentLine=9830646; + //BA.debugLineNum = 9830646;BA.debugLine="Printer1.WriteString(\"o en el lugar donde se me \""; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"o en el lugar donde se me "+parent.__c.CRLF); +RDebugUtils.currentLine=9830647; + //BA.debugLineNum = 9830647;BA.debugLine="Printer1.WriteString(\"requiera por el presente pa"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"requiera por el presente pagare"+parent.__c.CRLF); +RDebugUtils.currentLine=9830648; + //BA.debugLineNum = 9830648;BA.debugLine="Printer1.WriteString(\"a Izca Distribuciones la \"&"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"a Izca Distribuciones la "+parent.__c.CRLF); +RDebugUtils.currentLine=9830649; + //BA.debugLineNum = 9830649;BA.debugLine="Printer1.WriteString(\"cantidad de $\"&l_montopag.T"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"cantidad de $"+__ref._l_montopag /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+parent.__c.CRLF); +RDebugUtils.currentLine=9830650; + //BA.debugLineNum = 9830650;BA.debugLine="Printer1.WriteString(\"valor recibido a entera \" &"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"valor recibido a entera "+parent.__c.CRLF); +RDebugUtils.currentLine=9830651; + //BA.debugLineNum = 9830651;BA.debugLine="Printer1.WriteString(\"satisfaccion. La falta de p"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"satisfaccion. La falta de pago"+parent.__c.CRLF); +RDebugUtils.currentLine=9830652; + //BA.debugLineNum = 9830652;BA.debugLine="Printer1.WriteString(\"a la fecha indicada causara"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"a la fecha indicada causara "+parent.__c.CRLF); +RDebugUtils.currentLine=9830653; + //BA.debugLineNum = 9830653;BA.debugLine="Printer1.WriteString(\"intereses moratorios a razo"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"intereses moratorios a razon "+parent.__c.CRLF); +RDebugUtils.currentLine=9830654; + //BA.debugLineNum = 9830654;BA.debugLine="Printer1.WriteString(\"de ______% mensual a la fec"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"de ______% mensual a la fecha."+parent.__c.CRLF); +RDebugUtils.currentLine=9830655; + //BA.debugLineNum = 9830655;BA.debugLine="Printer1.WriteString(\"\" & CRLF)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,""+parent.__c.CRLF); +RDebugUtils.currentLine=9830656; + //BA.debugLineNum = 9830656;BA.debugLine="Printer1.WriteString(\"\" & CRLF)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,""+parent.__c.CRLF); +RDebugUtils.currentLine=9830657; + //BA.debugLineNum = 9830657;BA.debugLine="Printer1.WriteString(\" Recibi"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null," Recibi "+parent.__c.CRLF); +RDebugUtils.currentLine=9830658; + //BA.debugLineNum = 9830658;BA.debugLine="Printer1.WriteString(\"\" & CRLF)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,""+parent.__c.CRLF); +RDebugUtils.currentLine=9830659; + //BA.debugLineNum = 9830659;BA.debugLine="Printer1.WriteString(\"\" & CRLF)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,""+parent.__c.CRLF); +RDebugUtils.currentLine=9830660; + //BA.debugLineNum = 9830660;BA.debugLine="Printer1.WriteString(\"___________________________"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"______________________________"+parent.__c.CRLF); +RDebugUtils.currentLine=9830662; + //BA.debugLineNum = 9830662;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null," "+parent.__c.CRLF); +RDebugUtils.currentLine=9830663; + //BA.debugLineNum = 9830663;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null," "+parent.__c.CRLF); +RDebugUtils.currentLine=9830664; + //BA.debugLineNum = 9830664;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null," "+parent.__c.CRLF); +RDebugUtils.currentLine=9830665; + //BA.debugLineNum = 9830665;BA.debugLine="DateTime.DateFormat = \"ddMMyyyy\""; +parent.__c.DateTime.setDateFormat("ddMMyyyy"); +RDebugUtils.currentLine=9830666; + //BA.debugLineNum = 9830666;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = parent.__c.DateTime.Date(parent.__c.DateTime.getNow()); +RDebugUtils.currentLine=9830668; + //BA.debugLineNum = 9830668;BA.debugLine="Printer1.WriteBarCode(\"I\",Ticket&sDate)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writebarcode /*String*/ (null,"I",_ticket+__ref._sdate /*String*/ ); +RDebugUtils.currentLine=9830670; + //BA.debugLineNum = 9830670;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null," "+parent.__c.CRLF); +RDebugUtils.currentLine=9830671; + //BA.debugLineNum = 9830671;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null," "+parent.__c.CRLF); +RDebugUtils.currentLine=9830672; + //BA.debugLineNum = 9830672;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null," "+parent.__c.CRLF); +RDebugUtils.currentLine=9830673; + //BA.debugLineNum = 9830673;BA.debugLine="Sleep(1000)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "imprime_pagare"),(int) (1000)); +this.state = 127; +return; +case 127: +//C +this.state = 101; +; +RDebugUtils.currentLine=9830674; + //BA.debugLineNum = 9830674;BA.debugLine="Printer1.DisConnect"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._disconnect /*String*/ (null); +RDebugUtils.currentLine=9830675; + //BA.debugLineNum = 9830675;BA.debugLine="ProgressDialogHide"; +parent.__c.ProgressDialogHide(); +RDebugUtils.currentLine=9830676; + //BA.debugLineNum = 9830676;BA.debugLine="If banderaimp = 1 Then"; +if (true) break; + +case 101: +//if +this.state = 116; +if (__ref._banderaimp /*int*/ ==1) { +this.state = 103; +}else +{RDebugUtils.currentLine=9830686; + //BA.debugLineNum = 9830686;BA.debugLine="Else If banderaimp = 0 Then"; +if (__ref._banderaimp /*int*/ ==0) { +this.state = 111; +}} +if (true) break; + +case 103: +//C +this.state = 104; +RDebugUtils.currentLine=9830677; + //BA.debugLineNum = 9830677;BA.debugLine="Msgbox2Async(\"Deseas imprimir de nuevo el PAGARE"; +parent.__c.Msgbox2Async(BA.ObjectToCharSequence("Deseas imprimir de nuevo el PAGARE?"),BA.ObjectToCharSequence("ATENCION"),"SI","","NO",parent.__c.LoadBitmap(parent.__c.File.getDirAssets(),"alert2.png"),ba,parent.__c.False); +RDebugUtils.currentLine=9830678; + //BA.debugLineNum = 9830678;BA.debugLine="Wait For Msgbox_Result (resultado As Int)"; +parent.__c.WaitFor("msgbox_result", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "imprime_pagare"), null); +this.state = 128; +return; +case 128: +//C +this.state = 104; +_resultado = (Integer) result[1]; +; +RDebugUtils.currentLine=9830679; + //BA.debugLineNum = 9830679;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; +if (true) break; + +case 104: +//if +this.state = 109; +if (_resultado==parent.__c.DialogResponse.POSITIVE) { +this.state = 106; +}else { +this.state = 108; +}if (true) break; + +case 106: +//C +this.state = 109; +RDebugUtils.currentLine=9830680; + //BA.debugLineNum = 9830680;BA.debugLine="imprime_pagare"; +__ref._imprime_pagare /*void*/ (null); + if (true) break; + +case 108: +//C +this.state = 109; +RDebugUtils.currentLine=9830682; + //BA.debugLineNum = 9830682;BA.debugLine="b_acred_Click"; +__ref._b_acred_click /*String*/ (null); + if (true) break; + +case 109: +//C +this.state = 116; +; + if (true) break; + +case 111: +//C +this.state = 112; +RDebugUtils.currentLine=9830687; + //BA.debugLineNum = 9830687;BA.debugLine="Msgbox2Async(\"Deseas imprimir de nuevo el PAGARE"; +parent.__c.Msgbox2Async(BA.ObjectToCharSequence("Deseas imprimir de nuevo el PAGARE?"),BA.ObjectToCharSequence("ATENCION"),"SI","","NO",parent.__c.LoadBitmap(parent.__c.File.getDirAssets(),"alert2.png"),ba,parent.__c.False); +RDebugUtils.currentLine=9830688; + //BA.debugLineNum = 9830688;BA.debugLine="Wait For Msgbox_Result (resultado As Int)"; +parent.__c.WaitFor("msgbox_result", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "imprime_pagare"), null); +this.state = 129; +return; +case 129: +//C +this.state = 112; +_resultado = (Integer) result[1]; +; +RDebugUtils.currentLine=9830689; + //BA.debugLineNum = 9830689;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; +if (true) break; + +case 112: +//if +this.state = 115; +if (_resultado==parent.__c.DialogResponse.POSITIVE) { +this.state = 114; +}if (true) break; + +case 114: +//C +this.state = 115; +RDebugUtils.currentLine=9830690; + //BA.debugLineNum = 9830690;BA.debugLine="imprime_pagare"; +__ref._imprime_pagare /*void*/ (null); + if (true) break; + +case 115: +//C +this.state = 116; +; + if (true) break; + +case 116: +//C +this.state = -1; +; +RDebugUtils.currentLine=9830694; + //BA.debugLineNum = 9830694;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public void _b_imp2_click(reparto_izca.keymon.lat.c_cliente __ref) throws Exception{ +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b_imp2_click", false)) + {Debug.delegate(ba, "b_imp2_click", null); return;} +ResumableSub_B_IMP2_Click rsub = new ResumableSub_B_IMP2_Click(this,__ref); +rsub.resume(ba, null); +} +public static class ResumableSub_B_IMP2_Click extends BA.ResumableSub { +public ResumableSub_B_IMP2_Click(reparto_izca.keymon.lat.c_cliente parent,reparto_izca.keymon.lat.c_cliente __ref) { +this.parent = parent; +this.__ref = __ref; +this.__ref = parent; +} +reparto_izca.keymon.lat.c_cliente __ref; +reparto_izca.keymon.lat.c_cliente parent; +int _cont = 0; +int _i = 0; +String _punit = ""; +String _ptot = ""; +int _e = 0; +anywheresoftware.b4a.sql.SQL.CursorWrapper _vc5 = null; +int _resultado = 0; +int step53; +int limit53; +int step65; +int limit65; +int step88; +int limit88; +int step114; +int limit114; +int step131; +int limit131; +int step156; +int limit156; +int step166; +int limit166; + +@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=9961595; + //BA.debugLineNum = 9961595;BA.debugLine="c=Starter.skmt.ExecQuery(\"select USUARIO from 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)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); +RDebugUtils.currentLine=9961596; + //BA.debugLineNum = 9961596;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=9961597; + //BA.debugLineNum = 9961597;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=9961599; + //BA.debugLineNum = 9961599;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +parent.__c.DateTime.setDateFormat("MM/dd/yyyy"); +RDebugUtils.currentLine=9961600; + //BA.debugLineNum = 9961600;BA.debugLine="DateTime.TimeFormat=\"HH:mm:ss\""; +parent.__c.DateTime.setTimeFormat("HH:mm:ss"); +RDebugUtils.currentLine=9961601; + //BA.debugLineNum = 9961601;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = parent.__c.DateTime.Date(parent.__c.DateTime.getNow()); +RDebugUtils.currentLine=9961602; + //BA.debugLineNum = 9961602;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = parent.__c.DateTime.Time(parent.__c.DateTime.getNow()); +RDebugUtils.currentLine=9961603; + //BA.debugLineNum = 9961603;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=9961609; + //BA.debugLineNum = 9961609;BA.debugLine="ProgressDialogShow(\"Imprimiendo, un momento ...\")"; +parent.__c.ProgressDialogShow(ba,BA.ObjectToCharSequence("Imprimiendo, un momento ...")); +RDebugUtils.currentLine=9961610; + //BA.debugLineNum = 9961610;BA.debugLine="Printer1.DisConnect"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._disconnect /*String*/ (null); +RDebugUtils.currentLine=9961611; + //BA.debugLineNum = 9961611;BA.debugLine="If Not(Printer1.IsConnected) Then"; +if (true) break; + +case 1: +//if +this.state = 38; +if (parent.__c.Not(__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._isconnected /*boolean*/ (null))) { +this.state = 3; +}else { +this.state = 21; +}if (true) break; + +case 3: +//C +this.state = 4; +RDebugUtils.currentLine=9961613; + //BA.debugLineNum = 9961613;BA.debugLine="Printer1.Connect"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._connect /*boolean*/ (null); +RDebugUtils.currentLine=9961614; + //BA.debugLineNum = 9961614;BA.debugLine="Private cont As Int = 0"; +_cont = (int) (0); +RDebugUtils.currentLine=9961615; + //BA.debugLineNum = 9961615;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=9961616; + //BA.debugLineNum = 9961616;BA.debugLine="Sleep(1000)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "b_imp2_click"),(int) (1000)); +this.state = 125; +return; +case 125: +//C +this.state = 7; +; +RDebugUtils.currentLine=9961618; + //BA.debugLineNum = 9961618;BA.debugLine="cont = cont + 1"; +_cont = (int) (_cont+1); +RDebugUtils.currentLine=9961619; + //BA.debugLineNum = 9961619;BA.debugLine="If cont = 2 Then Printer1.Connect 'Tratamos de"; +if (true) break; + +case 7: +//if +this.state = 12; +if (_cont==2) { +this.state = 9; +;}if (true) break; + +case 9: +//C +this.state = 12; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._connect /*boolean*/ (null); +if (true) break; + +case 12: +//C +this.state = 13; +; +RDebugUtils.currentLine=9961620; + //BA.debugLineNum = 9961620;BA.debugLine="If cont > 3 Then impresoraConectada = True"; +if (true) break; + +case 13: +//if +this.state = 18; +if (_cont>3) { +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=9961622; + //BA.debugLineNum = 9961622;BA.debugLine="Sleep(500)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "b_imp2_click"),(int) (500)); +this.state = 126; +return; +case 126: +//C +this.state = 38; +; +RDebugUtils.currentLine=9961623; + //BA.debugLineNum = 9961623;BA.debugLine="impresoraConectada = False"; +__ref._impresoraconectada /*boolean*/ = parent.__c.False; + if (true) break; + +case 21: +//C +this.state = 22; +RDebugUtils.currentLine=9961626; + //BA.debugLineNum = 9961626;BA.debugLine="Printer1.Connect"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._connect /*boolean*/ (null); +RDebugUtils.currentLine=9961627; + //BA.debugLineNum = 9961627;BA.debugLine="Private cont As Int = 0"; +_cont = (int) (0); +RDebugUtils.currentLine=9961628; + //BA.debugLineNum = 9961628;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 /*reparto_izca.keymon.lat.escposprinter*/ ._isconnected /*boolean*/ (null))) { +this.state = 24; +if (true) break; +} +if (true) break; + +case 24: +//C +this.state = 25; +RDebugUtils.currentLine=9961629; + //BA.debugLineNum = 9961629;BA.debugLine="Sleep(1000)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "b_imp2_click"),(int) (1000)); +this.state = 127; +return; +case 127: +//C +this.state = 25; +; +RDebugUtils.currentLine=9961631; + //BA.debugLineNum = 9961631;BA.debugLine="cont = cont + 1"; +_cont = (int) (_cont+1); +RDebugUtils.currentLine=9961632; + //BA.debugLineNum = 9961632;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 /*reparto_izca.keymon.lat.escposprinter*/ ._connect /*boolean*/ (null); +if (true) break; + +case 30: +//C +this.state = 31; +; +RDebugUtils.currentLine=9961633; + //BA.debugLineNum = 9961633;BA.debugLine="If cont > 3 Then impresoraConectada = True"; +if (true) break; + +case 31: +//if +this.state = 36; +if (_cont>3) { +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=9961635; + //BA.debugLineNum = 9961635;BA.debugLine="Sleep(500)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "b_imp2_click"),(int) (500)); +this.state = 128; +return; +case 128: +//C +this.state = 38; +; +RDebugUtils.currentLine=9961636; + //BA.debugLineNum = 9961636;BA.debugLine="impresoraConectada = False"; +__ref._impresoraconectada /*boolean*/ = parent.__c.False; + if (true) break; + +case 38: +//C +this.state = 39; +; +RDebugUtils.currentLine=9961639; + //BA.debugLineNum = 9961639;BA.debugLine="TAMANO = 0"; +__ref._tamano /*int*/ = (int) (0); +RDebugUtils.currentLine=9961640; + //BA.debugLineNum = 9961640;BA.debugLine="ESPACIO = 28"; +__ref._espacio /*int*/ = (int) (28); +RDebugUtils.currentLine=9961641; + //BA.debugLineNum = 9961641;BA.debugLine="BLANCO = \" \""; +__ref._blanco /*String*/ = " "; +RDebugUtils.currentLine=9961658; + //BA.debugLineNum = 9961658;BA.debugLine="Printer1.WriteString(\"Izca Distribuciones\" & CRL"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"Izca Distribuciones"+parent.__c.CRLF); +RDebugUtils.currentLine=9961660; + //BA.debugLineNum = 9961660;BA.debugLine="Printer1.WriteString(sDate & CRLF)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,__ref._sdate /*String*/ +parent.__c.CRLF); +RDebugUtils.currentLine=9961661; + //BA.debugLineNum = 9961661;BA.debugLine="Printer1.WriteString(sTime & CRLF)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,__ref._stime /*String*/ +parent.__c.CRLF); +RDebugUtils.currentLine=9961662; + //BA.debugLineNum = 9961662;BA.debugLine="Printer1.WriteString(\"Vendedor:\" & usuario & CRL"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"Vendedor:"+__ref._usuario /*String*/ +parent.__c.CRLF); +RDebugUtils.currentLine=9961663; + //BA.debugLineNum = 9961663;BA.debugLine="Printer1.WriteString(\"Tienda: \" & La_nombre.Text"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"Tienda: "+__ref._la_nombre /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+parent.__c.CRLF); +RDebugUtils.currentLine=9961664; + //BA.debugLineNum = 9961664;BA.debugLine="Printer1.WriteString(\"ID.Cliente: \" & la_cuenta."; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"ID.Cliente: "+__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+parent.__c.CRLF); +RDebugUtils.currentLine=9961665; + //BA.debugLineNum = 9961665;BA.debugLine="Printer1.WriteString(\"Calle: \" & la_Calle.Text &"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"Calle: "+__ref._la_calle /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+parent.__c.CRLF); +RDebugUtils.currentLine=9961666; + //BA.debugLineNum = 9961666;BA.debugLine="Printer1.WriteString(\"Colonia: \" & la_col.Text &"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"Colonia: "+__ref._la_col /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+parent.__c.CRLF); +RDebugUtils.currentLine=9961670; + //BA.debugLineNum = 9961670;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null," "+parent.__c.CRLF); +RDebugUtils.currentLine=9961671; + //BA.debugLineNum = 9961671;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT * FROM HIST_VE"; +__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 * FROM HIST_VENTAS WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))); +RDebugUtils.currentLine=9961672; + //BA.debugLineNum = 9961672;BA.debugLine="If c.RowCount > 0 Then"; +if (true) break; + +case 39: +//if +this.state = 68; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +this.state = 41; +}if (true) break; + +case 41: +//C +this.state = 42; +RDebugUtils.currentLine=9961673; + //BA.debugLineNum = 9961673;BA.debugLine="Printer1.WriteString(\"------------ENTREGA-------"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"------------ENTREGA-----------"+parent.__c.CRLF); +RDebugUtils.currentLine=9961676; + //BA.debugLineNum = 9961676;BA.debugLine="Printer1.WriteString(\"Cant. Precio I"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"Cant. Precio Importe"+parent.__c.CRLF); +RDebugUtils.currentLine=9961678; + //BA.debugLineNum = 9961678;BA.debugLine="Printer1.WriteString(\"--------------------------"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"------------------------------"+parent.__c.CRLF); +RDebugUtils.currentLine=9961680; + //BA.debugLineNum = 9961680;BA.debugLine="s=Starter.skmt.ExecQuery($\"select HVD_PRONOMBRE,"; +__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._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select HVD_PRONOMBRE, HVD_CANT, length(HVD_CANT) as L_CANT, HVD_COSTO_TOT, length(HVD_COSTO_TOT) as L_COSTOU,HVD_PROID, HVD_CODPROMO,IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT, HVD_RECHAZO FROM HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) order by HVD_PROID")))); +RDebugUtils.currentLine=9961681; + //BA.debugLineNum = 9961681;BA.debugLine="If S.RowCount>0 Then"; +if (true) break; + +case 42: +//if +this.state = 67; +if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +this.state = 44; +}if (true) break; + +case 44: +//C +this.state = 45; +RDebugUtils.currentLine=9961682; + //BA.debugLineNum = 9961682;BA.debugLine="For i=0 To S.RowCount -1"; +if (true) break; + +case 45: +//for +this.state = 66; +step53 = 1; +limit53 = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +this.state = 129; +if (true) break; + +case 129: +//C +this.state = 66; +if ((step53 > 0 && _i <= limit53) || (step53 < 0 && _i >= limit53)) this.state = 47; +if (true) break; + +case 130: +//C +this.state = 129; +_i = ((int)(0 + _i + step53)) ; +if (true) break; + +case 47: +//C +this.state = 48; +RDebugUtils.currentLine=9961683; + //BA.debugLineNum = 9961683;BA.debugLine="S.Position=i"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=9961684; + //BA.debugLineNum = 9961684;BA.debugLine="Log(s.GetString(\"HVD_RECHAZO\"))"; +parent.__c.LogImpl("89961684",__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_RECHAZO"),0); +RDebugUtils.currentLine=9961685; + //BA.debugLineNum = 9961685;BA.debugLine="If s.GetString(\"HVD_CANT\") - s.GetString(\"HVD_"; +if (true) break; + +case 48: +//if +this.state = 65; +if ((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CANT")))-(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_RECHAZOCANT")))>0) { +this.state = 50; +}if (true) break; + +case 50: +//C +this.state = 51; +RDebugUtils.currentLine=9961688; + //BA.debugLineNum = 9961688;BA.debugLine="If s.GetString(\"HVD_CODPROMO\") = Subs.traeAlm"; +if (true) break; + +case 51: +//if +this.state = 64; +if ((__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CODPROMO")).equals(parent._subs._traealmacen /*String*/ (ba))) { +this.state = 53; +}else +{RDebugUtils.currentLine=9961716; + //BA.debugLineNum = 9961716;BA.debugLine="Else If s.GetString(\"HVD_RECHAZO\") = 1 Then"; +if ((__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_RECHAZO")).equals(BA.NumberToString(1))) { +this.state = 59; +}} +if (true) break; + +case 53: +//C +this.state = 54; +RDebugUtils.currentLine=9961690; + //BA.debugLineNum = 9961690;BA.debugLine="Printer1.Justify = 0"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._setjustify(null,(int) (0)); +RDebugUtils.currentLine=9961691; + //BA.debugLineNum = 9961691;BA.debugLine="Printer1.WriteString(s.GetString(\"HVD_PRONOM"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PRONOMBRE")+parent.__c.CRLF); +RDebugUtils.currentLine=9961694; + //BA.debugLineNum = 9961694;BA.debugLine="Dim punit As String = NumberFormat2((s.GETST"; +_punit = parent.__c.NumberFormat2(((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CANT")))),(int) (0),(int) (2),(int) (2),parent.__c.False); +RDebugUtils.currentLine=9961695; + //BA.debugLineNum = 9961695;BA.debugLine="TAMANO = punit.Length + TAMANO"; +__ref._tamano /*int*/ = (int) (_punit.length()+__ref._tamano /*int*/ ); +RDebugUtils.currentLine=9961698; + //BA.debugLineNum = 9961698;BA.debugLine="Private ptot As String = NumberFormat2(( (s."; +_ptot = parent.__c.NumberFormat2((((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CANT")))-(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_RECHAZOCANT"))))*(double)(Double.parseDouble(_punit))),(int) (0),(int) (2),(int) (2),parent.__c.False); +RDebugUtils.currentLine=9961699; + //BA.debugLineNum = 9961699;BA.debugLine="TAMANO = ptot.Length + TAMANO"; +__ref._tamano /*int*/ = (int) (_ptot.length()+__ref._tamano /*int*/ ); +RDebugUtils.currentLine=9961701; + //BA.debugLineNum = 9961701;BA.debugLine="ESPACIO = (ESPACIO - TAMANO)/2"; +__ref._espacio /*int*/ = (int) ((__ref._espacio /*int*/ -__ref._tamano /*int*/ )/(double)2); +RDebugUtils.currentLine=9961703; + //BA.debugLineNum = 9961703;BA.debugLine="For E=0 To ESPACIO -1"; +if (true) break; + +case 54: +//for +this.state = 57; +step65 = 1; +limit65 = (int) (__ref._espacio /*int*/ -1); +_e = (int) (0) ; +this.state = 131; +if (true) break; + +case 131: +//C +this.state = 57; +if ((step65 > 0 && _e <= limit65) || (step65 < 0 && _e >= limit65)) this.state = 56; +if (true) break; + +case 132: +//C +this.state = 131; +_e = ((int)(0 + _e + step65)) ; +if (true) break; + +case 56: +//C +this.state = 132; +RDebugUtils.currentLine=9961704; + //BA.debugLineNum = 9961704;BA.debugLine="BLANCO = \" \" & BLANCO"; +__ref._blanco /*String*/ = " "+__ref._blanco /*String*/ ; + if (true) break; +if (true) break; + +case 57: +//C +this.state = 64; +; +RDebugUtils.currentLine=9961706; + //BA.debugLineNum = 9961706;BA.debugLine="Printer1.Justify = 0"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._setjustify(null,(int) (0)); +RDebugUtils.currentLine=9961707; + //BA.debugLineNum = 9961707;BA.debugLine="Printer1.WriteString( (s.GetString(\"HVD_CANT"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,BA.NumberToString(((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CANT")))-(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_RECHAZOCANT")))))+__ref._blanco /*String*/ ); +RDebugUtils.currentLine=9961708; + //BA.debugLineNum = 9961708;BA.debugLine="Printer1.Justify = 1"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._setjustify(null,(int) (1)); +RDebugUtils.currentLine=9961709; + //BA.debugLineNum = 9961709;BA.debugLine="Printer1.WriteString( punit & BLANCO)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,_punit+__ref._blanco /*String*/ ); +RDebugUtils.currentLine=9961710; + //BA.debugLineNum = 9961710;BA.debugLine="Printer1.Justify = 2"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._setjustify(null,(int) (2)); +RDebugUtils.currentLine=9961711; + //BA.debugLineNum = 9961711;BA.debugLine="Printer1.WriteString( ptot & CRLF )"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,_ptot+parent.__c.CRLF); +RDebugUtils.currentLine=9961712; + //BA.debugLineNum = 9961712;BA.debugLine="TAMANO = 0"; +__ref._tamano /*int*/ = (int) (0); +RDebugUtils.currentLine=9961713; + //BA.debugLineNum = 9961713;BA.debugLine="ESPACIO = 29"; +__ref._espacio /*int*/ = (int) (29); +RDebugUtils.currentLine=9961714; + //BA.debugLineNum = 9961714;BA.debugLine="BLANCO = \" \""; +__ref._blanco /*String*/ = " "; + if (true) break; + +case 59: +//C +this.state = 60; +RDebugUtils.currentLine=9961718; + //BA.debugLineNum = 9961718;BA.debugLine="Printer1.Justify = 0"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._setjustify(null,(int) (0)); +RDebugUtils.currentLine=9961719; + //BA.debugLineNum = 9961719;BA.debugLine="Printer1.WriteString(s.GetString(\"HVD_PRONOM"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PRONOMBRE")+parent.__c.CRLF); +RDebugUtils.currentLine=9961721; + //BA.debugLineNum = 9961721;BA.debugLine="Private vc5 As Cursor = Starter.skmt.ExecQue"; +_vc5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_vc5 = (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(CAT_GP_PRECIO,0) AS CAT_GP_PRECIO from CAT_GUNAPROD where CAT_GP_ID = '"+parent.__c.SmartStringFormatter("",(Object)(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID")))+"'")))); +RDebugUtils.currentLine=9961722; + //BA.debugLineNum = 9961722;BA.debugLine="vc5.Position = 0"; +_vc5.setPosition((int) (0)); +RDebugUtils.currentLine=9961723; + //BA.debugLineNum = 9961723;BA.debugLine="Dim punit As String = NumberFormat2((vc5.Get"; +_punit = parent.__c.NumberFormat2((double)(Double.parseDouble((_vc5.GetString("CAT_GP_PRECIO")))),(int) (0),(int) (2),(int) (2),parent.__c.False); +RDebugUtils.currentLine=9961724; + //BA.debugLineNum = 9961724;BA.debugLine="TAMANO = punit.Length + TAMANO"; +__ref._tamano /*int*/ = (int) (_punit.length()+__ref._tamano /*int*/ ); +RDebugUtils.currentLine=9961725; + //BA.debugLineNum = 9961725;BA.debugLine="vc5.Close"; +_vc5.Close(); +RDebugUtils.currentLine=9961727; + //BA.debugLineNum = 9961727;BA.debugLine="Private ptot As String = NumberFormat2(( (s."; +_ptot = parent.__c.NumberFormat2((((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CANT")))-(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_RECHAZOCANT"))))*(double)(Double.parseDouble(_punit))),(int) (0),(int) (2),(int) (2),parent.__c.False); +RDebugUtils.currentLine=9961728; + //BA.debugLineNum = 9961728;BA.debugLine="TAMANO = ptot.Length + TAMANO"; +__ref._tamano /*int*/ = (int) (_ptot.length()+__ref._tamano /*int*/ ); +RDebugUtils.currentLine=9961730; + //BA.debugLineNum = 9961730;BA.debugLine="ESPACIO = (ESPACIO - TAMANO)/2"; +__ref._espacio /*int*/ = (int) ((__ref._espacio /*int*/ -__ref._tamano /*int*/ )/(double)2); +RDebugUtils.currentLine=9961732; + //BA.debugLineNum = 9961732;BA.debugLine="For E=0 To ESPACIO -1"; +if (true) break; + +case 60: +//for +this.state = 63; +step88 = 1; +limit88 = (int) (__ref._espacio /*int*/ -1); +_e = (int) (0) ; +this.state = 133; +if (true) break; + +case 133: +//C +this.state = 63; +if ((step88 > 0 && _e <= limit88) || (step88 < 0 && _e >= limit88)) this.state = 62; +if (true) break; + +case 134: +//C +this.state = 133; +_e = ((int)(0 + _e + step88)) ; +if (true) break; + +case 62: +//C +this.state = 134; +RDebugUtils.currentLine=9961733; + //BA.debugLineNum = 9961733;BA.debugLine="BLANCO = \" \" & BLANCO"; +__ref._blanco /*String*/ = " "+__ref._blanco /*String*/ ; + if (true) break; +if (true) break; + +case 63: +//C +this.state = 64; +; +RDebugUtils.currentLine=9961735; + //BA.debugLineNum = 9961735;BA.debugLine="Printer1.Justify = 0"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._setjustify(null,(int) (0)); +RDebugUtils.currentLine=9961736; + //BA.debugLineNum = 9961736;BA.debugLine="Printer1.WriteString( (s.GetString(\"HVD_CANT"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,BA.NumberToString(((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CANT")))-(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_RECHAZOCANT")))))+__ref._blanco /*String*/ ); +RDebugUtils.currentLine=9961737; + //BA.debugLineNum = 9961737;BA.debugLine="Printer1.Justify = 1"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._setjustify(null,(int) (1)); +RDebugUtils.currentLine=9961738; + //BA.debugLineNum = 9961738;BA.debugLine="Printer1.WriteString( punit & BLANCO)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,_punit+__ref._blanco /*String*/ ); +RDebugUtils.currentLine=9961739; + //BA.debugLineNum = 9961739;BA.debugLine="Printer1.Justify = 2"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._setjustify(null,(int) (2)); +RDebugUtils.currentLine=9961740; + //BA.debugLineNum = 9961740;BA.debugLine="Printer1.WriteString(ptot& CRLF )"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,_ptot+parent.__c.CRLF); +RDebugUtils.currentLine=9961741; + //BA.debugLineNum = 9961741;BA.debugLine="TAMANO = 0"; +__ref._tamano /*int*/ = (int) (0); +RDebugUtils.currentLine=9961742; + //BA.debugLineNum = 9961742;BA.debugLine="ESPACIO = 29"; +__ref._espacio /*int*/ = (int) (29); +RDebugUtils.currentLine=9961743; + //BA.debugLineNum = 9961743;BA.debugLine="BLANCO = \" \""; +__ref._blanco /*String*/ = " "; +RDebugUtils.currentLine=9961744; + //BA.debugLineNum = 9961744;BA.debugLine="Printer1.Justify = 0"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._setjustify(null,(int) (0)); + if (true) break; + +case 64: +//C +this.state = 65; +; + if (true) break; + +case 65: +//C +this.state = 130; +; + if (true) break; +if (true) break; + +case 66: +//C +this.state = 67; +; + if (true) break; + +case 67: +//C +this.state = 68; +; + if (true) break; + +case 68: +//C +this.state = 69; +; +RDebugUtils.currentLine=9961750; + //BA.debugLineNum = 9961750;BA.debugLine="Printer1.Justify = 0"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._setjustify(null,(int) (0)); +RDebugUtils.currentLine=9961751; + //BA.debugLineNum = 9961751;BA.debugLine="s.Close"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=9961752; + //BA.debugLineNum = 9961752;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null," "+parent.__c.CRLF); +RDebugUtils.currentLine=9961753; + //BA.debugLineNum = 9961753;BA.debugLine="s=Starter.skmt.ExecQuery($\"select HVD_PRONOMBRE,"; +__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._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select HVD_PRONOMBRE, HVD_CANT, length(HVD_CANT) as L_CANT, HVD_COSTO_TOT, length(HVD_COSTO_TOT) as L_COSTOU,HVD_PROID, HVD_CODPROMO,IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT FROM HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) AND HVD_RECHAZO = 0 AND HVD_CODPROMO <> '"+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traealmacen /*String*/ (ba)))+"' order by HVD_CODPROMO, ESPROMO DESC, HVD_PROID")))); +RDebugUtils.currentLine=9961755; + //BA.debugLineNum = 9961755;BA.debugLine="If S.RowCount>0 Then"; +if (true) break; + +case 69: +//if +this.state = 96; +if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +this.state = 71; +}if (true) break; + +case 71: +//C +this.state = 72; +RDebugUtils.currentLine=9961756; + //BA.debugLineNum = 9961756;BA.debugLine="Printer1.WriteString(\"-------PROMOS ENTREGA-----"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"-------PROMOS ENTREGA--------"+parent.__c.CRLF); +RDebugUtils.currentLine=9961757; + //BA.debugLineNum = 9961757;BA.debugLine="Printer1.WriteString(\"Cant. Precio I"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"Cant. Precio Importe"+parent.__c.CRLF); +RDebugUtils.currentLine=9961758; + //BA.debugLineNum = 9961758;BA.debugLine="Printer1.WriteString(\"--------------------------"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"------------------------------"+parent.__c.CRLF); +RDebugUtils.currentLine=9961760; + //BA.debugLineNum = 9961760;BA.debugLine="For i=0 To S.RowCount -1"; +if (true) break; + +case 72: +//for +this.state = 95; +step114 = 1; +limit114 = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +this.state = 135; +if (true) break; + +case 135: +//C +this.state = 95; +if ((step114 > 0 && _i <= limit114) || (step114 < 0 && _i >= limit114)) this.state = 74; +if (true) break; + +case 136: +//C +this.state = 135; +_i = ((int)(0 + _i + step114)) ; +if (true) break; + +case 74: +//C +this.state = 75; +RDebugUtils.currentLine=9961761; + //BA.debugLineNum = 9961761;BA.debugLine="S.Position=i"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=9961762; + //BA.debugLineNum = 9961762;BA.debugLine="If s.GetString(\"HVD_CANT\") - s.GetString(\"HVD_R"; +if (true) break; + +case 75: +//if +this.state = 94; +if ((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CANT")))-(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_RECHAZOCANT")))>0) { +this.state = 77; +}if (true) break; + +case 77: +//C +this.state = 78; +RDebugUtils.currentLine=9961765; + //BA.debugLineNum = 9961765;BA.debugLine="If s.GetString(\"HVD_CODPROMO\") <> Subs.traeAlm"; +if (true) break; + +case 78: +//if +this.state = 93; +if ((__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CODPROMO")).equals(parent._subs._traealmacen /*String*/ (ba)) == false) { +this.state = 80; +}else { +this.state = 92; +}if (true) break; + +case 80: +//C +this.state = 81; +RDebugUtils.currentLine=9961767; + //BA.debugLineNum = 9961767;BA.debugLine="Printer1.Justify = 0"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._setjustify(null,(int) (0)); +RDebugUtils.currentLine=9961768; + //BA.debugLineNum = 9961768;BA.debugLine="If s.GetString(\"HVD_CODPROMO\") = s.GetString("; +if (true) break; + +case 81: +//if +this.state = 90; +if ((__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CODPROMO")).equals(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID"))) { +this.state = 83; +}else { +this.state = 85; +}if (true) break; + +case 83: +//C +this.state = 90; +RDebugUtils.currentLine=9961769; + //BA.debugLineNum = 9961769;BA.debugLine="Printer1.WriteString(\"* \"&s.GetString(\"HVD_P"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"* "+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PRONOMBRE")+parent.__c.CRLF); +RDebugUtils.currentLine=9961770; + //BA.debugLineNum = 9961770;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null," "+parent.__c.CRLF); +RDebugUtils.currentLine=9961771; + //BA.debugLineNum = 9961771;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null," "+parent.__c.CRLF); + if (true) break; + +case 85: +//C +this.state = 86; +RDebugUtils.currentLine=9961773; + //BA.debugLineNum = 9961773;BA.debugLine="Printer1.WriteString(s.GetString(\"HVD_PRONOM"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PRONOMBRE")+parent.__c.CRLF); +RDebugUtils.currentLine=9961775; + //BA.debugLineNum = 9961775;BA.debugLine="Dim punit As String =NumberFormat2((s.GETSTR"; +_punit = parent.__c.NumberFormat2(((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CANT")))),(int) (0),(int) (2),(int) (2),parent.__c.False); +RDebugUtils.currentLine=9961776; + //BA.debugLineNum = 9961776;BA.debugLine="TAMANO = punit.Length + TAMANO"; +__ref._tamano /*int*/ = (int) (_punit.length()+__ref._tamano /*int*/ ); +RDebugUtils.currentLine=9961779; + //BA.debugLineNum = 9961779;BA.debugLine="Private ptot As String = NumberFormat2((puni"; +_ptot = parent.__c.NumberFormat2(((double)(Double.parseDouble(_punit))*(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CANT")))),(int) (0),(int) (2),(int) (2),parent.__c.False); +RDebugUtils.currentLine=9961780; + //BA.debugLineNum = 9961780;BA.debugLine="TAMANO = ptot.Length + TAMANO"; +__ref._tamano /*int*/ = (int) (_ptot.length()+__ref._tamano /*int*/ ); +RDebugUtils.currentLine=9961783; + //BA.debugLineNum = 9961783;BA.debugLine="ESPACIO = (ESPACIO - TAMANO)/2"; +__ref._espacio /*int*/ = (int) ((__ref._espacio /*int*/ -__ref._tamano /*int*/ )/(double)2); +RDebugUtils.currentLine=9961784; + //BA.debugLineNum = 9961784;BA.debugLine="Log(ESPACIO)"; +parent.__c.LogImpl("89961784",BA.NumberToString(__ref._espacio /*int*/ ),0); +RDebugUtils.currentLine=9961785; + //BA.debugLineNum = 9961785;BA.debugLine="For E=0 To ESPACIO -1"; +if (true) break; + +case 86: +//for +this.state = 89; +step131 = 1; +limit131 = (int) (__ref._espacio /*int*/ -1); +_e = (int) (0) ; +this.state = 137; +if (true) break; + +case 137: +//C +this.state = 89; +if ((step131 > 0 && _e <= limit131) || (step131 < 0 && _e >= limit131)) this.state = 88; +if (true) break; + +case 138: +//C +this.state = 137; +_e = ((int)(0 + _e + step131)) ; +if (true) break; + +case 88: +//C +this.state = 138; +RDebugUtils.currentLine=9961786; + //BA.debugLineNum = 9961786;BA.debugLine="BLANCO = \" \" & BLANCO"; +__ref._blanco /*String*/ = " "+__ref._blanco /*String*/ ; + if (true) break; +if (true) break; + +case 89: +//C +this.state = 90; +; +RDebugUtils.currentLine=9961788; + //BA.debugLineNum = 9961788;BA.debugLine="Printer1.Justify = 0"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._setjustify(null,(int) (0)); +RDebugUtils.currentLine=9961789; + //BA.debugLineNum = 9961789;BA.debugLine="Printer1.WriteString( (s.GetString(\"HVD_CANT"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,BA.NumberToString(((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CANT")))-(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_RECHAZOCANT")))))+__ref._blanco /*String*/ ); +RDebugUtils.currentLine=9961790; + //BA.debugLineNum = 9961790;BA.debugLine="Printer1.Justify = 1"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._setjustify(null,(int) (1)); +RDebugUtils.currentLine=9961791; + //BA.debugLineNum = 9961791;BA.debugLine="Printer1.WriteString( punit & BLANCO)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,_punit+__ref._blanco /*String*/ ); +RDebugUtils.currentLine=9961792; + //BA.debugLineNum = 9961792;BA.debugLine="Printer1.Justify = 2"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._setjustify(null,(int) (2)); +RDebugUtils.currentLine=9961793; + //BA.debugLineNum = 9961793;BA.debugLine="Printer1.WriteString(ptot & CRLF )"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,_ptot+parent.__c.CRLF); +RDebugUtils.currentLine=9961794; + //BA.debugLineNum = 9961794;BA.debugLine="TAMANO = 0"; +__ref._tamano /*int*/ = (int) (0); +RDebugUtils.currentLine=9961795; + //BA.debugLineNum = 9961795;BA.debugLine="ESPACIO = 29"; +__ref._espacio /*int*/ = (int) (29); +RDebugUtils.currentLine=9961796; + //BA.debugLineNum = 9961796;BA.debugLine="BLANCO = \" \""; +__ref._blanco /*String*/ = " "; +RDebugUtils.currentLine=9961797; + //BA.debugLineNum = 9961797;BA.debugLine="Printer1.Justify = 0"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._setjustify(null,(int) (0)); + if (true) break; + +case 90: +//C +this.state = 93; +; + if (true) break; + +case 92: +//C +this.state = 93; + if (true) break; + +case 93: +//C +this.state = 94; +; + if (true) break; + +case 94: +//C +this.state = 136; +; + if (true) break; +if (true) break; + +case 95: +//C +this.state = 96; +; + if (true) break; + +case 96: +//C +this.state = 97; +; +RDebugUtils.currentLine=9961809; + //BA.debugLineNum = 9961809;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null," "+parent.__c.CRLF); +RDebugUtils.currentLine=9961810; + //BA.debugLineNum = 9961810;BA.debugLine="s=Starter.skmt.ExecQuery($\"select PE_PRONOMBRE, 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._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select PE_PRONOMBRE, PE_CANT, length(PE_CANT) as L_CANT, PE_COSTO_TOT, length(PE_COSTO_TOT) as L_COSTOU,PE_PROID FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) order BY PE_PROID")))); +RDebugUtils.currentLine=9961812; + //BA.debugLineNum = 9961812;BA.debugLine="If S.RowCount>0 Then"; +if (true) break; + +case 97: +//if +this.state = 108; +if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +this.state = 99; +}if (true) break; + +case 99: +//C +this.state = 100; +RDebugUtils.currentLine=9961813; + //BA.debugLineNum = 9961813;BA.debugLine="Printer1.WriteString(\"-----------VENTA----------"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"-----------VENTA------------"+parent.__c.CRLF); +RDebugUtils.currentLine=9961814; + //BA.debugLineNum = 9961814;BA.debugLine="Printer1.WriteString(\"Cant. Precio I"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"Cant. Precio Importe"+parent.__c.CRLF); +RDebugUtils.currentLine=9961815; + //BA.debugLineNum = 9961815;BA.debugLine="Printer1.WriteString(\"--------------------------"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"------------------------------"+parent.__c.CRLF); +RDebugUtils.currentLine=9961817; + //BA.debugLineNum = 9961817;BA.debugLine="For i=0 To S.RowCount -1"; +if (true) break; + +case 100: +//for +this.state = 107; +step156 = 1; +limit156 = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +this.state = 139; +if (true) break; + +case 139: +//C +this.state = 107; +if ((step156 > 0 && _i <= limit156) || (step156 < 0 && _i >= limit156)) this.state = 102; +if (true) break; + +case 140: +//C +this.state = 139; +_i = ((int)(0 + _i + step156)) ; +if (true) break; + +case 102: +//C +this.state = 103; +RDebugUtils.currentLine=9961818; + //BA.debugLineNum = 9961818;BA.debugLine="S.Position=i"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=9961820; + //BA.debugLineNum = 9961820;BA.debugLine="Printer1.Justify = 0"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._setjustify(null,(int) (0)); +RDebugUtils.currentLine=9961821; + //BA.debugLineNum = 9961821;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_PRONOMBRE\""; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")+parent.__c.CRLF); +RDebugUtils.currentLine=9961824; + //BA.debugLineNum = 9961824;BA.debugLine="Dim punit As String =NumberFormat2( (s.GETSTRIN"; +_punit = parent.__c.NumberFormat2(((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_TOT")))/(double)(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")))),(int) (0),(int) (2),(int) (2),parent.__c.False); +RDebugUtils.currentLine=9961825; + //BA.debugLineNum = 9961825;BA.debugLine="TAMANO = punit.Length + TAMANO"; +__ref._tamano /*int*/ = (int) (_punit.length()+__ref._tamano /*int*/ ); +RDebugUtils.currentLine=9961827; + //BA.debugLineNum = 9961827;BA.debugLine="Private ptot As String = NumberFormat2((punit*s"; +_ptot = parent.__c.NumberFormat2(((double)(Double.parseDouble(_punit))*(double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")))),(int) (0),(int) (2),(int) (2),parent.__c.False); +RDebugUtils.currentLine=9961828; + //BA.debugLineNum = 9961828;BA.debugLine="TAMANO = ptot.Length + TAMANO"; +__ref._tamano /*int*/ = (int) (_ptot.length()+__ref._tamano /*int*/ ); +RDebugUtils.currentLine=9961831; + //BA.debugLineNum = 9961831;BA.debugLine="ESPACIO = (ESPACIO - TAMANO)/2"; +__ref._espacio /*int*/ = (int) ((__ref._espacio /*int*/ -__ref._tamano /*int*/ )/(double)2); +RDebugUtils.currentLine=9961832; + //BA.debugLineNum = 9961832;BA.debugLine="Log(ESPACIO)"; +parent.__c.LogImpl("89961832",BA.NumberToString(__ref._espacio /*int*/ ),0); +RDebugUtils.currentLine=9961833; + //BA.debugLineNum = 9961833;BA.debugLine="For E=0 To ESPACIO -1"; +if (true) break; + +case 103: +//for +this.state = 106; +step166 = 1; +limit166 = (int) (__ref._espacio /*int*/ -1); +_e = (int) (0) ; +this.state = 141; +if (true) break; + +case 141: +//C +this.state = 106; +if ((step166 > 0 && _e <= limit166) || (step166 < 0 && _e >= limit166)) this.state = 105; +if (true) break; + +case 142: +//C +this.state = 141; +_e = ((int)(0 + _e + step166)) ; +if (true) break; + +case 105: +//C +this.state = 142; +RDebugUtils.currentLine=9961834; + //BA.debugLineNum = 9961834;BA.debugLine="BLANCO = \" \" & BLANCO"; +__ref._blanco /*String*/ = " "+__ref._blanco /*String*/ ; + if (true) break; +if (true) break; + +case 106: +//C +this.state = 140; +; +RDebugUtils.currentLine=9961836; + //BA.debugLineNum = 9961836;BA.debugLine="Printer1.Justify = 0"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._setjustify(null,(int) (0)); +RDebugUtils.currentLine=9961837; + //BA.debugLineNum = 9961837;BA.debugLine="Printer1.WriteString( s.GetString(\"PE_CANT\") &"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")+__ref._blanco /*String*/ ); +RDebugUtils.currentLine=9961838; + //BA.debugLineNum = 9961838;BA.debugLine="Printer1.Justify = 1"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._setjustify(null,(int) (1)); +RDebugUtils.currentLine=9961839; + //BA.debugLineNum = 9961839;BA.debugLine="Printer1.WriteString( punit & BLANCO)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,_punit+__ref._blanco /*String*/ ); +RDebugUtils.currentLine=9961840; + //BA.debugLineNum = 9961840;BA.debugLine="Printer1.Justify = 2"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._setjustify(null,(int) (2)); +RDebugUtils.currentLine=9961841; + //BA.debugLineNum = 9961841;BA.debugLine="Printer1.WriteString(ptot & CRLF )"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,_ptot+parent.__c.CRLF); +RDebugUtils.currentLine=9961842; + //BA.debugLineNum = 9961842;BA.debugLine="TAMANO = 0"; +__ref._tamano /*int*/ = (int) (0); +RDebugUtils.currentLine=9961843; + //BA.debugLineNum = 9961843;BA.debugLine="ESPACIO = 29"; +__ref._espacio /*int*/ = (int) (29); +RDebugUtils.currentLine=9961844; + //BA.debugLineNum = 9961844;BA.debugLine="BLANCO = \" \""; +__ref._blanco /*String*/ = " "; +RDebugUtils.currentLine=9961845; + //BA.debugLineNum = 9961845;BA.debugLine="Printer1.Justify = 0"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._setjustify(null,(int) (0)); + if (true) break; +if (true) break; + +case 107: +//C +this.state = 108; +; + if (true) break; + +case 108: +//C +this.state = 109; +; +RDebugUtils.currentLine=9961849; + //BA.debugLineNum = 9961849;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null," "+parent.__c.CRLF); +RDebugUtils.currentLine=9961850; + //BA.debugLineNum = 9961850;BA.debugLine="Printer1.WriteString(\"---------------------------"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"------------------------------"+parent.__c.CRLF); +RDebugUtils.currentLine=9961853; + //BA.debugLineNum = 9961853;BA.debugLine="Printer1.WriteString(\"Total Articulos: \" & L_CA"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"Total Articulos: "+__ref._l_cant /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+parent.__c.CRLF); +RDebugUtils.currentLine=9961854; + //BA.debugLineNum = 9961854;BA.debugLine="Printer1.WriteString(\"Total: $\" & l_total.Text)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"Total: $"+__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()); +RDebugUtils.currentLine=9961857; + //BA.debugLineNum = 9961857;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null," "+parent.__c.CRLF); +RDebugUtils.currentLine=9961858; + //BA.debugLineNum = 9961858;BA.debugLine="Printer1.WriteString(\"---------------------------"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"------------------------------"+parent.__c.CRLF); +RDebugUtils.currentLine=9961861; + //BA.debugLineNum = 9961861;BA.debugLine="Printer1.WriteString(\"----ESTE TICKET NO ES UN --"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"----ESTE TICKET NO ES UN -----"+parent.__c.CRLF); +RDebugUtils.currentLine=9961862; + //BA.debugLineNum = 9961862;BA.debugLine="Printer1.WriteString(\"--COMPROBANTE FISCAL, SOLO"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"--COMPROBANTE FISCAL, SOLO ES-"+parent.__c.CRLF); +RDebugUtils.currentLine=9961863; + //BA.debugLineNum = 9961863;BA.debugLine="Printer1.WriteString(\"--------INFORMATIVO--------"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"--------INFORMATIVO-----------"+parent.__c.CRLF); +RDebugUtils.currentLine=9961864; + //BA.debugLineNum = 9961864;BA.debugLine="Printer1.WriteString(\"---------------------------"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"------------------------------"+parent.__c.CRLF); +RDebugUtils.currentLine=9961865; + //BA.debugLineNum = 9961865;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null," "+parent.__c.CRLF); +RDebugUtils.currentLine=9961866; + //BA.debugLineNum = 9961866;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null," "+parent.__c.CRLF); +RDebugUtils.currentLine=9961867; + //BA.debugLineNum = 9961867;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null," "+parent.__c.CRLF); +RDebugUtils.currentLine=9961868; + //BA.debugLineNum = 9961868;BA.debugLine="Sleep(1000)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "b_imp2_click"),(int) (1000)); +this.state = 143; +return; +case 143: +//C +this.state = 109; +; +RDebugUtils.currentLine=9961869; + //BA.debugLineNum = 9961869;BA.debugLine="Printer1.DisConnect"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._disconnect /*String*/ (null); +RDebugUtils.currentLine=9961871; + //BA.debugLineNum = 9961871;BA.debugLine="ProgressDialogHide"; +parent.__c.ProgressDialogHide(); +RDebugUtils.currentLine=9961873; + //BA.debugLineNum = 9961873;BA.debugLine="If banderaimp = 1 Then"; +if (true) break; + +case 109: +//if +this.state = 124; +if (__ref._banderaimp /*int*/ ==1) { +this.state = 111; +}else +{RDebugUtils.currentLine=9961884; + //BA.debugLineNum = 9961884;BA.debugLine="Else If banderaimp = 0 Then"; +if (__ref._banderaimp /*int*/ ==0) { +this.state = 119; +}} +if (true) break; + +case 111: +//C +this.state = 112; +RDebugUtils.currentLine=9961874; + //BA.debugLineNum = 9961874;BA.debugLine="Msgbox2Async(\"Deseas imprimir de nuevo el ticket"; +parent.__c.Msgbox2Async(BA.ObjectToCharSequence("Deseas imprimir de nuevo el ticket?"),BA.ObjectToCharSequence("ATENCION"),"SI","","NO",parent.__c.LoadBitmap(parent.__c.File.getDirAssets(),"alert2.png"),ba,parent.__c.False); +RDebugUtils.currentLine=9961875; + //BA.debugLineNum = 9961875;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_imp2_click"), null); +this.state = 144; +return; +case 144: +//C +this.state = 112; +_resultado = (Integer) result[1]; +; +RDebugUtils.currentLine=9961876; + //BA.debugLineNum = 9961876;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; +if (true) break; + +case 112: +//if +this.state = 117; +if (_resultado==parent.__c.DialogResponse.POSITIVE) { +this.state = 114; +}else { +this.state = 116; +}if (true) break; + +case 114: +//C +this.state = 117; +RDebugUtils.currentLine=9961877; + //BA.debugLineNum = 9961877;BA.debugLine="B_IMP_Click"; +__ref._b_imp_click /*void*/ (null); + if (true) break; + +case 116: +//C +this.state = 117; + if (true) break; + +case 117: +//C +this.state = 124; +; + if (true) break; + +case 119: +//C +this.state = 120; +RDebugUtils.currentLine=9961885; + //BA.debugLineNum = 9961885;BA.debugLine="Msgbox2Async(\"Deseas imprimir de nuevo el ticket"; +parent.__c.Msgbox2Async(BA.ObjectToCharSequence("Deseas imprimir de nuevo el ticket?"),BA.ObjectToCharSequence("ATENCION"),"SI","","NO",parent.__c.LoadBitmap(parent.__c.File.getDirAssets(),"alert2.png"),ba,parent.__c.False); +RDebugUtils.currentLine=9961886; + //BA.debugLineNum = 9961886;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_imp2_click"), null); +this.state = 145; +return; +case 145: +//C +this.state = 120; +_resultado = (Integer) result[1]; +; +RDebugUtils.currentLine=9961887; + //BA.debugLineNum = 9961887;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; +if (true) break; + +case 120: +//if +this.state = 123; +if (_resultado==parent.__c.DialogResponse.POSITIVE) { +this.state = 122; +}if (true) break; + +case 122: +//C +this.state = 123; +RDebugUtils.currentLine=9961888; + //BA.debugLineNum = 9961888;BA.debugLine="B_IMP_Click"; +__ref._b_imp_click /*void*/ (null); + if (true) break; + +case 123: +//C +this.state = 124; +; + if (true) break; + +case 124: +//C +this.state = -1; +; +RDebugUtils.currentLine=9961893; + //BA.debugLineNum = 9961893;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public String _b_noentrega_click(reparto_izca.keymon.lat.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b_noentrega_click", false)) + {return ((String) Debug.delegate(ba, "b_noentrega_click", null));} +RDebugUtils.currentLine=8192000; + //BA.debugLineNum = 8192000;BA.debugLine="Sub b_noEntrega_Click"; +RDebugUtils.currentLine=8192002; + //BA.debugLineNum = 8192002;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT gestion FROM k"; +__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 gestion FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))); +RDebugUtils.currentLine=8192003; + //BA.debugLineNum = 8192003;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=8192004; + //BA.debugLineNum = 8192004;BA.debugLine="If c.GetInt(\"gestion\") = 2 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("gestion")==2) { +RDebugUtils.currentLine=8192005; + //BA.debugLineNum = 8192005;BA.debugLine="MsgboxAsync(\"El cliente ya fue entregado y no se"; +__c.MsgboxAsync(BA.ObjectToCharSequence("El cliente ya fue entregado y no se puede realizar modificación"),BA.ObjectToCharSequence("Atención"),ba); + }else { +RDebugUtils.currentLine=8192009; + //BA.debugLineNum = 8192009;BA.debugLine="B4XPages.ShowPage(\"noVenta\")"; +_b4xpages._showpage /*String*/ (ba,"noVenta"); + }; +RDebugUtils.currentLine=8192011; + //BA.debugLineNum = 8192011;BA.debugLine="End Sub"; +return ""; +} +public String _b_paso2_click(reparto_izca.keymon.lat.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b_paso2_click", false)) + {return ((String) Debug.delegate(ba, "b_paso2_click", null));} +RDebugUtils.currentLine=8978432; + //BA.debugLineNum = 8978432;BA.debugLine="Sub B_PASO2_Click"; +RDebugUtils.currentLine=8978433; + //BA.debugLineNum = 8978433;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +__c.DateTime.setDateFormat("MM/dd/yyyy"); +RDebugUtils.currentLine=8978434; + //BA.debugLineNum = 8978434;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=8978435; + //BA.debugLineNum = 8978435;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=8978436; + //BA.debugLineNum = 8978436;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CUENTA from cuen"; +__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 CUENTA from cuentaa"))); +RDebugUtils.currentLine=8978437; + //BA.debugLineNum = 8978437;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=8978438; + //BA.debugLineNum = 8978438;BA.debugLine="cuenta = c.GetString(\"CUENTA\")"; +__ref._cuenta /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUENTA"); +RDebugUtils.currentLine=8978439; + //BA.debugLineNum = 8978439;BA.debugLine="c=Starter.skmt.ExecQuery(\"select usuario from 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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select usuario from usuarioa"))); +RDebugUtils.currentLine=8978440; + //BA.debugLineNum = 8978440;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=8978441; + //BA.debugLineNum = 8978441;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=8978442; + //BA.debugLineNum = 8978442;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=8978443; + //BA.debugLineNum = 8978443;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM NOVENTA WH"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM NOVENTA WHERE NV_CLIENTE IN (select cuenta from cuentaa)"); +RDebugUtils.currentLine=8978444; + //BA.debugLineNum = 8978444;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO NOVENTA"; +_starter._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)("PASO"),(Object)("PASO ESPERA"),(Object)(_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._lon_gps /*String*/ )})); +RDebugUtils.currentLine=8978450; + //BA.debugLineNum = 8978450;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +_b4xpages._showpage /*String*/ (ba,"Principal"); +RDebugUtils.currentLine=8978452; + //BA.debugLineNum = 8978452;BA.debugLine="End Sub"; +return ""; +} +public String _b4xpage_appear(reparto_izca.keymon.lat.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b4xpage_appear", false)) + {return ((String) Debug.delegate(ba, "b4xpage_appear", null));} +anywheresoftware.b4a.objects.collections.Map _cym = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _vc = null; +String _cuenta0 = ""; +String _arti = ""; +int _i = 0; +anywheresoftware.b4a.sql.SQL.CursorWrapper _vc2 = null; +String _cuenta1 = ""; +String _arti1 = ""; +float _preu = 0f; +anywheresoftware.b4a.sql.SQL.CursorWrapper _vc3 = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _vc4 = null; +String _cuenta2 = ""; +String _arti2 = ""; +anywheresoftware.b4a.sql.SQL.CursorWrapper _vc5 = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _c4 = null; +String _cuenta3 = ""; +String _arti3 = ""; +anywheresoftware.b4a.sql.SQL.CursorWrapper _vcred4 = null; +float _cuentacred2 = 0f; +anywheresoftware.b4a.sql.SQL.CursorWrapper _vcred5 = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _vcred = null; +float _cuentacred0 = 0f; +anywheresoftware.b4a.sql.SQL.CursorWrapper _cp = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _x2 = null; +String _cabonos = ""; +RDebugUtils.currentLine=7798784; + //BA.debugLineNum = 7798784;BA.debugLine="Sub B4XPage_Appear"; +RDebugUtils.currentLine=7798785; + //BA.debugLineNum = 7798785;BA.debugLine="banderaimp = 0"; +__ref._banderaimp /*int*/ = (int) (0); +RDebugUtils.currentLine=7798786; + //BA.debugLineNum = 7798786;BA.debugLine="Subs.centraPanel(p_principal, Root.Width)"; +_subs._centrapanel /*String*/ (ba,__ref._p_principal /*anywheresoftware.b4a.objects.PanelWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=7798787; + //BA.debugLineNum = 7798787;BA.debugLine="Starter.skmt.Initialize(Starter.ruta,\"kmt.db\", Tr"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .Initialize(_starter._ruta /*String*/ ,"kmt.db",__c.True); +RDebugUtils.currentLine=7798788; + //BA.debugLineNum = 7798788;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.SERVE"; +__ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._initialize /*String*/ (null,ba,this,_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ); +RDebugUtils.currentLine=7798789; + //BA.debugLineNum = 7798789;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CAT_CL_CODIGO,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)(_starter._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_BCREDITO from kmt_info where CAT_CL_CODIGO In (Select cuenta from cuentaa)"))); +RDebugUtils.currentLine=7798790; + //BA.debugLineNum = 7798790;BA.debugLine="s=Starter.skmt.ExecQuery(\"select sum(pe_costo_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)(_starter._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) AND PE_TIPO NOT IN ('SOBRANTE','FALTANTE')"))); +RDebugUtils.currentLine=7798791; + //BA.debugLineNum = 7798791;BA.debugLine="s.Position=0"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=7798792; + //BA.debugLineNum = 7798792;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=7798793; + //BA.debugLineNum = 7798793;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=7798794; + //BA.debugLineNum = 7798794;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=7798795; + //BA.debugLineNum = 7798795;BA.debugLine="NOMBRE = c.GetString(\"CAT_CL_NOMBRE\")"; +__ref._nombre /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_NOMBRE"); +RDebugUtils.currentLine=7798796; + //BA.debugLineNum = 7798796;BA.debugLine="LONGITUD = c.GetString(\"CAT_CL_LONG\")"; +__ref._longitud /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_LONG"); +RDebugUtils.currentLine=7798797; + //BA.debugLineNum = 7798797;BA.debugLine="LATITUD = c.GetString(\"CAT_CL_LAT\")"; +__ref._latitud /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_LAT"); +RDebugUtils.currentLine=7798798; + //BA.debugLineNum = 7798798;BA.debugLine="la_Calle.Text = c.GetString(\"CAT_CL_CALLE\") & c.G"; +__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=7798799; + //BA.debugLineNum = 7798799;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=7798800; + //BA.debugLineNum = 7798800;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=7798801; + //BA.debugLineNum = 7798801;BA.debugLine="la_cp.Text = c.GetString(\"CAT_CL_CP\")"; +__ref._la_cp /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CP"))); +RDebugUtils.currentLine=7798802; + //BA.debugLineNum = 7798802;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=7798803; + //BA.debugLineNum = 7798803;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=7798804; + //BA.debugLineNum = 7798804;BA.debugLine="If c.GetString(\"CAT_CL_ATIENDE1\") <> Null And c.G"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_ATIENDE1")!= null && (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_ATIENDE1")).equals("null") == false) { +RDebugUtils.currentLine=7798805; + //BA.debugLineNum = 7798805;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"))); + }else { +RDebugUtils.currentLine=7798807; + //BA.debugLineNum = 7798807;BA.debugLine="l_atiende.Text = \" \""; +__ref._l_atiende /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(" ")); + }; +RDebugUtils.currentLine=7798809; + //BA.debugLineNum = 7798809;BA.debugLine="If c.GetString(\"CAT_CL_ATIENTE2\") <> Null And c.G"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_ATIENTE2")!= null && (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_ATIENTE2")).equals("NULL") == false) { +RDebugUtils.currentLine=7798810; + //BA.debugLineNum = 7798810;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"))); + }else { +RDebugUtils.currentLine=7798812; + //BA.debugLineNum = 7798812;BA.debugLine="l_atiende2.Text = \" \""; +__ref._l_atiende2 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(" ")); + }; +RDebugUtils.currentLine=7798814; + //BA.debugLineNum = 7798814;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=7798815; + //BA.debugLineNum = 7798815;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=7798817; + //BA.debugLineNum = 7798817;BA.debugLine="CREDITO = C.GetString(\"CAT_CL_BCREDITO\")"; +__ref._credito /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_BCREDITO"); +RDebugUtils.currentLine=7798820; + //BA.debugLineNum = 7798820;BA.debugLine="Private cym As Map = Subs.traeCantYMonto2(Subs.tr"; +_cym = new anywheresoftware.b4a.objects.collections.Map(); +_cym = _subs._traecantymonto2 /*anywheresoftware.b4a.objects.collections.Map*/ (ba,_subs._traecliente /*String*/ (ba)); +RDebugUtils.currentLine=7798821; + //BA.debugLineNum = 7798821;BA.debugLine="L_CANT.Text = cym.Get(\"cantidad\")"; +__ref._l_cant /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_cym.Get((Object)("cantidad")))); +RDebugUtils.currentLine=7798822; + //BA.debugLineNum = 7798822;BA.debugLine="l_total.Text = Round2(cym.Get(\"monto\"), 2)"; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.Round2((double)(BA.ObjectToNumber(_cym.Get((Object)("monto")))),(int) (2)))); +RDebugUtils.currentLine=7798830; + //BA.debugLineNum = 7798830;BA.debugLine="Starter.skmt.ExecNonQuery(\"UPDATE HIST_VENTAS set"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("UPDATE HIST_VENTAS set ESPROMO = 1 where HVD_CODPROMO = HVD_PROID AND HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"); +RDebugUtils.currentLine=7798831; + //BA.debugLineNum = 7798831;BA.debugLine="Private vc As Cursor = Starter.skmt.ExecQuery($\"s"; +_vc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_vc = (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 HVD_PROID,HVD_COSTO_TOT, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT from HIST_VENTAS where BCAJAS = 0 and HVD_CODPROMO ='"+__c.SmartStringFormatter("",(Object)(_subs._traealmacen /*String*/ (ba)))+"' and HVD_CLIENTE in (select cuenta from cuentaa)")))); +RDebugUtils.currentLine=7798833; + //BA.debugLineNum = 7798833;BA.debugLine="Private cuenta0 As String = 0"; +_cuenta0 = BA.NumberToString(0); +RDebugUtils.currentLine=7798834; + //BA.debugLineNum = 7798834;BA.debugLine="Private arti As String = 0"; +_arti = BA.NumberToString(0); +RDebugUtils.currentLine=7798835; + //BA.debugLineNum = 7798835;BA.debugLine="If vc.RowCount > 0 Then"; +if (_vc.getRowCount()>0) { +RDebugUtils.currentLine=7798836; + //BA.debugLineNum = 7798836;BA.debugLine="For i = 0 To vc.RowCount - 1"; +{ +final int step41 = 1; +final int limit41 = (int) (_vc.getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit41 ;_i = _i + step41 ) { +RDebugUtils.currentLine=7798837; + //BA.debugLineNum = 7798837;BA.debugLine="vc.Position = i"; +_vc.setPosition(_i); +RDebugUtils.currentLine=7798840; + //BA.debugLineNum = 7798840;BA.debugLine="cuenta0 = cuenta0 + ((vc.GetString(\"HVD_CANT\")"; +_cuenta0 = BA.NumberToString((double)(Double.parseDouble(_cuenta0))+(((double)(Double.parseDouble(_vc.GetString("HVD_CANT")))-(double)(Double.parseDouble(_vc.GetString("HVD_RECHAZOCANT"))))*((double)(Double.parseDouble(_vc.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(_vc.GetString("HVD_CANT")))))); +RDebugUtils.currentLine=7798845; + //BA.debugLineNum = 7798845;BA.debugLine="arti = arti + (vc.GetString(\"HVD_CANT\") - vc.Ge"; +_arti = BA.NumberToString((double)(Double.parseDouble(_arti))+((double)(Double.parseDouble(_vc.GetString("HVD_CANT")))-(double)(Double.parseDouble(_vc.GetString("HVD_RECHAZOCANT"))))); + } +}; + }; +RDebugUtils.currentLine=7798851; + //BA.debugLineNum = 7798851;BA.debugLine="Private vc2 As Cursor = Starter.skmt.ExecQuery(\"s"; +_vc2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_vc2 = (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 HVD_PROID, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT, CANTC,HVD_COSTO_TOT from HIST_VENTAS where HVD_CLIENTE in (select cuenta from cuentaa) AND BCAJAS = 1"))); +RDebugUtils.currentLine=7798852; + //BA.debugLineNum = 7798852;BA.debugLine="Private Cuenta1 As String = 0"; +_cuenta1 = BA.NumberToString(0); +RDebugUtils.currentLine=7798853; + //BA.debugLineNum = 7798853;BA.debugLine="Private arti1 As String = 0"; +_arti1 = BA.NumberToString(0); +RDebugUtils.currentLine=7798854; + //BA.debugLineNum = 7798854;BA.debugLine="If vc2.RowCount > 0 Then"; +if (_vc2.getRowCount()>0) { +RDebugUtils.currentLine=7798855; + //BA.debugLineNum = 7798855;BA.debugLine="For i = 0 To vc2.RowCount - 1"; +{ +final int step51 = 1; +final int limit51 = (int) (_vc2.getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit51 ;_i = _i + step51 ) { +RDebugUtils.currentLine=7798856; + //BA.debugLineNum = 7798856;BA.debugLine="vc2.Position = i"; +_vc2.setPosition(_i); +RDebugUtils.currentLine=7798857; + //BA.debugLineNum = 7798857;BA.debugLine="Dim preu As Float = NumberFormat2(vc2.GetString"; +_preu = (float)(Double.parseDouble(__c.NumberFormat2((double)(Double.parseDouble(_vc2.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(_vc2.GetString("CANTC"))),(int) (0),(int) (2),(int) (2),__c.False))); +RDebugUtils.currentLine=7798858; + //BA.debugLineNum = 7798858;BA.debugLine="Private vc3 As Cursor = Starter.skmt.ExecQuery("; +_vc3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_vc3 = (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 PRECIOCONVER, CONVERSION from CAT_GUNAPROD where CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_vc2.GetString("HVD_PROID")))+"'")))); +RDebugUtils.currentLine=7798859; + //BA.debugLineNum = 7798859;BA.debugLine="If vc3.RowCount > 0 Then"; +if (_vc3.getRowCount()>0) { +RDebugUtils.currentLine=7798860; + //BA.debugLineNum = 7798860;BA.debugLine="vc3.Position = 0"; +_vc3.setPosition((int) (0)); +RDebugUtils.currentLine=7798861; + //BA.debugLineNum = 7798861;BA.debugLine="Cuenta1 = Cuenta1 + ((vc2.GetString(\"CANTC\")-("; +_cuenta1 = BA.NumberToString((double)(Double.parseDouble(_cuenta1))+(((double)(Double.parseDouble(_vc2.GetString("CANTC")))-((double)(Double.parseDouble(_vc2.GetString("HVD_RECHAZOCANT")))/(double)(double)(Double.parseDouble(_vc3.GetString("CONVERSION")))))*_preu)); +RDebugUtils.currentLine=7798862; + //BA.debugLineNum = 7798862;BA.debugLine="arti1 = arti1 + (vc2.GetString(\"HVD_CANT\") - v"; +_arti1 = BA.NumberToString((double)(Double.parseDouble(_arti1))+((double)(Double.parseDouble(_vc2.GetString("HVD_CANT")))-(double)(Double.parseDouble(_vc2.GetString("HVD_RECHAZOCANT"))))); + }; + } +}; + }; +RDebugUtils.currentLine=7798868; + //BA.debugLineNum = 7798868;BA.debugLine="Private vc4 As Cursor = Starter.skmt.ExecQuery($\""; +_vc4 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_vc4 = (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 HVD_PROID,HVD_PRONOMBRE,HVD_COSTO_TOT, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT, CANTC,HVD_COSTO_TOT, HVD_RECHAZO, HVD_CODPROMO from HIST_VENTAS where HVD_CLIENTE in (select cuenta from cuentaa) AND BCAJAS = 0 and HVD_CODPROMO <> '"+__c.SmartStringFormatter("",(Object)(_subs._traealmacen /*String*/ (ba)))+"'")))); +RDebugUtils.currentLine=7798869; + //BA.debugLineNum = 7798869;BA.debugLine="Private Cuenta2 As String = 0"; +_cuenta2 = BA.NumberToString(0); +RDebugUtils.currentLine=7798870; + //BA.debugLineNum = 7798870;BA.debugLine="Private arti2 As String = 0"; +_arti2 = BA.NumberToString(0); +RDebugUtils.currentLine=7798871; + //BA.debugLineNum = 7798871;BA.debugLine="If vc4.RowCount > 0 Then"; +if (_vc4.getRowCount()>0) { +RDebugUtils.currentLine=7798873; + //BA.debugLineNum = 7798873;BA.debugLine="For i = 0 To vc4.RowCount - 1"; +{ +final int step66 = 1; +final int limit66 = (int) (_vc4.getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit66 ;_i = _i + step66 ) { +RDebugUtils.currentLine=7798874; + //BA.debugLineNum = 7798874;BA.debugLine="vc4.Position = i"; +_vc4.setPosition(_i); +RDebugUtils.currentLine=7798875; + //BA.debugLineNum = 7798875;BA.debugLine="If vc4.GetString(\"HVD_PROID\") <> vc4.GetString("; +if ((_vc4.GetString("HVD_PROID")).equals(_vc4.GetString("HVD_CODPROMO")) == false) { +RDebugUtils.currentLine=7798876; + //BA.debugLineNum = 7798876;BA.debugLine="If vc4.GetString(\"HVD_RECHAZO\") = 0 Then"; +if ((_vc4.GetString("HVD_RECHAZO")).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=7798877; + //BA.debugLineNum = 7798877;BA.debugLine="Cuenta2 = Cuenta2 + vc4.GetString(\"HVD_COSTO_"; +_cuenta2 = BA.NumberToString((double)(Double.parseDouble(_cuenta2))+(double)(Double.parseDouble(_vc4.GetString("HVD_COSTO_TOT")))); +RDebugUtils.currentLine=7798878; + //BA.debugLineNum = 7798878;BA.debugLine="arti2 = arti2 + vc4.GetString(\"HVD_CANT\")"; +_arti2 = BA.NumberToString((double)(Double.parseDouble(_arti2))+(double)(Double.parseDouble(_vc4.GetString("HVD_CANT")))); + }else { +RDebugUtils.currentLine=7798880; + //BA.debugLineNum = 7798880;BA.debugLine="Private vc5 As Cursor = Starter.skmt.ExecQuer"; +_vc5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_vc5 = (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_ID = '"+__c.SmartStringFormatter("",(Object)(_vc4.GetString("HVD_PROID")))+"'")))); +RDebugUtils.currentLine=7798881; + //BA.debugLineNum = 7798881;BA.debugLine="If vc5.RowCount > 0 Then"; +if (_vc5.getRowCount()>0) { +RDebugUtils.currentLine=7798882; + //BA.debugLineNum = 7798882;BA.debugLine="vc5.Position= 0"; +_vc5.setPosition((int) (0)); +RDebugUtils.currentLine=7798884; + //BA.debugLineNum = 7798884;BA.debugLine="Cuenta2 = Cuenta2 +((vc4.GetString(\"HVD_CANT"; +_cuenta2 = BA.NumberToString((double)(Double.parseDouble(_cuenta2))+(((double)(Double.parseDouble(_vc4.GetString("HVD_CANT")))-(double)(Double.parseDouble(_vc4.GetString("HVD_RECHAZOCANT"))))*((double)(Double.parseDouble(_vc4.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(_vc4.GetString("HVD_CANT")))))); +RDebugUtils.currentLine=7798885; + //BA.debugLineNum = 7798885;BA.debugLine="arti2 = arti2 +(vc4.GetString(\"HVD_CANT\")- v"; +_arti2 = BA.NumberToString((double)(Double.parseDouble(_arti2))+((double)(Double.parseDouble(_vc4.GetString("HVD_CANT")))-(double)(Double.parseDouble(_vc4.GetString("HVD_RECHAZOCANT"))))); + }; + }; + }; + } +}; + }; +RDebugUtils.currentLine=7798895; + //BA.debugLineNum = 7798895;BA.debugLine="Subs.centraPanel(p_credito, Root.Width)"; +_subs._centrapanel /*String*/ (ba,__ref._p_credito /*anywheresoftware.b4a.objects.PanelWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=7798896; + //BA.debugLineNum = 7798896;BA.debugLine="Private c4 As Cursor = Starter.skmt.ExecQuery($\"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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT IFNULL(PE_CANT,0) AS PE_CANT, iFNULL(PE_COSTO_TOT,0) AS PE_COSTO_TOT FROM PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND PE_TIPO NOT IN ('SOBRANTE','FALTANTE')")))); +RDebugUtils.currentLine=7798897; + //BA.debugLineNum = 7798897;BA.debugLine="Private Cuenta3 As String = 0"; +_cuenta3 = BA.NumberToString(0); +RDebugUtils.currentLine=7798898; + //BA.debugLineNum = 7798898;BA.debugLine="Private arti3 As String = 0"; +_arti3 = BA.NumberToString(0); +RDebugUtils.currentLine=7798899; + //BA.debugLineNum = 7798899;BA.debugLine="If c4.RowCount > 0 Then"; +if (_c4.getRowCount()>0) { +RDebugUtils.currentLine=7798900; + //BA.debugLineNum = 7798900;BA.debugLine="For i = 0 To c4.RowCount -1"; +{ +final int step88 = 1; +final int limit88 = (int) (_c4.getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit88 ;_i = _i + step88 ) { +RDebugUtils.currentLine=7798901; + //BA.debugLineNum = 7798901;BA.debugLine="c4.Position = i"; +_c4.setPosition(_i); +RDebugUtils.currentLine=7798902; + //BA.debugLineNum = 7798902;BA.debugLine="arti3 = arti3 + c4.GetString(\"PE_CANT\")"; +_arti3 = BA.NumberToString((double)(Double.parseDouble(_arti3))+(double)(Double.parseDouble(_c4.GetString("PE_CANT")))); +RDebugUtils.currentLine=7798903; + //BA.debugLineNum = 7798903;BA.debugLine="Cuenta3 = Cuenta3 + c4.GetString(\"PE_COSTO_TOT\""; +_cuenta3 = BA.NumberToString((double)(Double.parseDouble(_cuenta3))+(double)(Double.parseDouble(_c4.GetString("PE_COSTO_TOT")))); + } +}; + }; +RDebugUtils.currentLine=7798906; + //BA.debugLineNum = 7798906;BA.debugLine="Log(cuenta0)"; +__c.LogImpl("87798906",_cuenta0,0); +RDebugUtils.currentLine=7798907; + //BA.debugLineNum = 7798907;BA.debugLine="Log(Cuenta1)"; +__c.LogImpl("87798907",_cuenta1,0); +RDebugUtils.currentLine=7798908; + //BA.debugLineNum = 7798908;BA.debugLine="Log(Cuenta2)"; +__c.LogImpl("87798908",_cuenta2,0); +RDebugUtils.currentLine=7798909; + //BA.debugLineNum = 7798909;BA.debugLine="Log(Cuenta3)"; +__c.LogImpl("87798909",_cuenta3,0); +RDebugUtils.currentLine=7798911; + //BA.debugLineNum = 7798911;BA.debugLine="l_total.Text = NumberFormat2((cuenta0 + Cuenta1 +"; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.NumberFormat2(((double)(Double.parseDouble(_cuenta0))+(double)(Double.parseDouble(_cuenta1))+(double)(Double.parseDouble(_cuenta2))+(double)(Double.parseDouble(_cuenta3))),(int) (0),(int) (2),(int) (2),__c.True))); +RDebugUtils.currentLine=7798912; + //BA.debugLineNum = 7798912;BA.debugLine="L_CANT.Text = NumberFormat2((arti + arti1 +arti2"; +__ref._l_cant /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.NumberFormat2(((double)(Double.parseDouble(_arti))+(double)(Double.parseDouble(_arti1))+(double)(Double.parseDouble(_arti2))+(double)(Double.parseDouble(_arti3))),(int) (0),(int) (0),(int) (0),__c.True))); +RDebugUtils.currentLine=7798917; + //BA.debugLineNum = 7798917;BA.debugLine="c = Starter.skmt.ExecQuery2(\"select CAT_VA_VALOR"; +__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*/ .ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"MACIMP"}))); +RDebugUtils.currentLine=7798918; + //BA.debugLineNum = 7798918;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=7798919; + //BA.debugLineNum = 7798919;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=7798920; + //BA.debugLineNum = 7798920;BA.debugLine="Starter.MAC_IMPRESORA = c.GetString(\"CAT_VA_VALO"; +_starter._mac_impresora /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_VA_VALOR"); + }; +RDebugUtils.currentLine=7798922; + //BA.debugLineNum = 7798922;BA.debugLine="If Starter.MAC_IMPRESORA = \"\" Then Starter.MAC_IM"; +if ((_starter._mac_impresora /*String*/ ).equals("")) { +_starter._mac_impresora /*String*/ = "0";}; +RDebugUtils.currentLine=7798924; + //BA.debugLineNum = 7798924;BA.debugLine="Printer1.Initialize(Me, \"Printer1\")"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._initialize /*String*/ (null,ba,this,"Printer1"); +RDebugUtils.currentLine=7798926; + //BA.debugLineNum = 7798926;BA.debugLine="If Printer1.IsConnected = False Then"; +if (__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._isconnected /*boolean*/ (null)==__c.False) { + }else { +RDebugUtils.currentLine=7798930; + //BA.debugLineNum = 7798930;BA.debugLine="Printer1.DisConnect"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._disconnect /*String*/ (null); +RDebugUtils.currentLine=7798931; + //BA.debugLineNum = 7798931;BA.debugLine="Printer1.Connect"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._connect /*boolean*/ (null); +RDebugUtils.currentLine=7798932; + //BA.debugLineNum = 7798932;BA.debugLine="Log(\"2\")"; +__c.LogImpl("87798932","2",0); + }; +RDebugUtils.currentLine=7798963; + //BA.debugLineNum = 7798963;BA.debugLine="Private vcred4 As Cursor = Starter.skmt.ExecQuery"; +_vcred4 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_vcred4 = (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 HVD_PROID,HVD_PRONOMBRE,HVD_COSTO_TOT, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT, CANTC,HVD_COSTO_TOT, HVD_RECHAZO, HVD_CODPROMO from HIST_VENTAS where HVD_CLIENTE in (select cuenta from cuentaa) AND BCAJAS = 0 and HVD_CODPROMO <> '"+__c.SmartStringFormatter("",(Object)(_subs._traealmacen /*String*/ (ba)))+"' and HVD_BCREDITO = '1' ")))); +RDebugUtils.currentLine=7798964; + //BA.debugLineNum = 7798964;BA.debugLine="Private Cuentacred2 As Float = 0"; +_cuentacred2 = (float) (0); +RDebugUtils.currentLine=7798966; + //BA.debugLineNum = 7798966;BA.debugLine="If vcred4.RowCount > 0 Then"; +if (_vcred4.getRowCount()>0) { +RDebugUtils.currentLine=7798968; + //BA.debugLineNum = 7798968;BA.debugLine="For i = 0 To vcred4.RowCount - 1"; +{ +final int step116 = 1; +final int limit116 = (int) (_vcred4.getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit116 ;_i = _i + step116 ) { +RDebugUtils.currentLine=7798969; + //BA.debugLineNum = 7798969;BA.debugLine="vcred4.Position = i"; +_vcred4.setPosition(_i); +RDebugUtils.currentLine=7798970; + //BA.debugLineNum = 7798970;BA.debugLine="If vcred4.GetString(\"HVD_PROID\") <> vcred4.GetS"; +if ((_vcred4.GetString("HVD_PROID")).equals(_vcred4.GetString("HVD_CODPROMO")) == false) { +RDebugUtils.currentLine=7798971; + //BA.debugLineNum = 7798971;BA.debugLine="If vcred4.GetString(\"HVD_RECHAZO\") = 0 Then"; +if ((_vcred4.GetString("HVD_RECHAZO")).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=7798972; + //BA.debugLineNum = 7798972;BA.debugLine="Cuentacred2 = Cuentacred2 + vcred4.GetString("; +_cuentacred2 = (float) (_cuentacred2+(double)(Double.parseDouble(_vcred4.GetString("HVD_COSTO_TOT")))); + }else { +RDebugUtils.currentLine=7798975; + //BA.debugLineNum = 7798975;BA.debugLine="Private vcred5 As Cursor = Starter.skmt.ExecQ"; +_vcred5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_vcred5 = (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_ID = '"+__c.SmartStringFormatter("",(Object)(_vcred4.GetString("HVD_PROID")))+"'")))); +RDebugUtils.currentLine=7798976; + //BA.debugLineNum = 7798976;BA.debugLine="If vcred5.RowCount > 0 Then"; +if (_vcred5.getRowCount()>0) { +RDebugUtils.currentLine=7798977; + //BA.debugLineNum = 7798977;BA.debugLine="vc5.Position= 0"; +_vc5.setPosition((int) (0)); +RDebugUtils.currentLine=7798979; + //BA.debugLineNum = 7798979;BA.debugLine="Cuentacred2 = Cuentacred2 +((vcred4.GetStrin"; +_cuentacred2 = (float) (_cuentacred2+(((double)(Double.parseDouble(_vcred4.GetString("HVD_CANT")))-(double)(Double.parseDouble(_vcred4.GetString("HVD_RECHAZOCANT"))))*((double)(Double.parseDouble(_vcred4.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(_vcred4.GetString("HVD_CANT")))))); + }; + }; + }; + } +}; + }; +RDebugUtils.currentLine=7798988; + //BA.debugLineNum = 7798988;BA.debugLine="Private vcred As Cursor = Starter.skmt.ExecQuery("; +_vcred = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_vcred = (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 HVD_PROID,HVD_COSTO_TOT, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT from HIST_VENTAS where BCAJAS = 0 and HVD_CODPROMO ='"+__c.SmartStringFormatter("",(Object)(_subs._traealmacen /*String*/ (ba)))+"' and HVD_CLIENTE in (select cuenta from cuentaa) and HVD_BCREDITO = '1'")))); +RDebugUtils.currentLine=7798990; + //BA.debugLineNum = 7798990;BA.debugLine="Private cuentacred0 As Float = 0"; +_cuentacred0 = (float) (0); +RDebugUtils.currentLine=7798992; + //BA.debugLineNum = 7798992;BA.debugLine="If vcred.RowCount > 0 Then"; +if (_vcred.getRowCount()>0) { +RDebugUtils.currentLine=7798993; + //BA.debugLineNum = 7798993;BA.debugLine="For i = 0 To vcred.RowCount - 1"; +{ +final int step134 = 1; +final int limit134 = (int) (_vcred.getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit134 ;_i = _i + step134 ) { +RDebugUtils.currentLine=7798994; + //BA.debugLineNum = 7798994;BA.debugLine="vcred.Position = i"; +_vcred.setPosition(_i); +RDebugUtils.currentLine=7798997; + //BA.debugLineNum = 7798997;BA.debugLine="cuentacred0 = cuentacred0 + ((vcred.GetInt(\"HVD"; +_cuentacred0 = (float) (_cuentacred0+((_vcred.GetInt("HVD_CANT")-_vcred.GetInt("HVD_RECHAZOCANT"))*(_vcred.GetDouble("HVD_COSTO_TOT")/(double)_vcred.GetInt("HVD_CANT")))); + } +}; + }; +RDebugUtils.currentLine=7799006; + //BA.debugLineNum = 7799006;BA.debugLine="Log(cuentacred0)"; +__c.LogImpl("87799006",BA.NumberToString(_cuentacred0),0); +RDebugUtils.currentLine=7799007; + //BA.debugLineNum = 7799007;BA.debugLine="Log(Cuentacred2)"; +__c.LogImpl("87799007",BA.NumberToString(_cuentacred2),0); +RDebugUtils.currentLine=7799009; + //BA.debugLineNum = 7799009;BA.debugLine="l_montopag.Text = NumberFormat2((cuentacred0 + Cu"; +__ref._l_montopag /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.NumberFormat2((_cuentacred0+_cuentacred2),(int) (0),(int) (2),(int) (2),__c.False))); +RDebugUtils.currentLine=7799010; + //BA.debugLineNum = 7799010;BA.debugLine="l_montoefec.Text = NumberFormat2((NumberFormat2(("; +__ref._l_montoefec /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.NumberFormat2(((double)(Double.parseDouble(__c.NumberFormat2(((double)(Double.parseDouble(_cuenta0))+(double)(Double.parseDouble(_cuenta1))+(double)(Double.parseDouble(_cuenta2))+(double)(Double.parseDouble(_cuenta3))),(int) (0),(int) (2),(int) (2),__c.False)))-(double)(Double.parseDouble(__ref._l_montopag /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()))),(int) (0),(int) (2),(int) (2),__c.False))); +RDebugUtils.currentLine=7799014; + //BA.debugLineNum = 7799014;BA.debugLine="c=Starter.skmt.ExecQuery(\"select ID_ALMACEN from"; +__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=7799015; + //BA.debugLineNum = 7799015;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=7799016; + //BA.debugLineNum = 7799016;BA.debugLine="almacen = c.GetString(\"ID_ALMACEN\")"; +__ref._almacen /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("ID_ALMACEN"); +RDebugUtils.currentLine=7799017; + //BA.debugLineNum = 7799017;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=7799019; + //BA.debugLineNum = 7799019;BA.debugLine="Dim cp As Cursor = Starter.skmt.ExecQuery(\"SELECT"; +_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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM PAGARES WHERE PA_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))); +RDebugUtils.currentLine=7799020; + //BA.debugLineNum = 7799020;BA.debugLine="If cp.RowCount > 0 Then"; +if (_cp.getRowCount()>0) { +RDebugUtils.currentLine=7799022; + //BA.debugLineNum = 7799022;BA.debugLine="Dim x2 As Cursor =Starter.skmt.ExecQuery(\"SELECT"; +_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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT gestion FROM kmt_info where CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))); +RDebugUtils.currentLine=7799023; + //BA.debugLineNum = 7799023;BA.debugLine="x2.Position = 0"; +_x2.setPosition((int) (0)); +RDebugUtils.currentLine=7799024; + //BA.debugLineNum = 7799024;BA.debugLine="If x2.GetString(\"gestion\") = 2 Then"; +if ((_x2.GetString("gestion")).equals(BA.NumberToString(2))) { +RDebugUtils.currentLine=7799025; + //BA.debugLineNum = 7799025;BA.debugLine="b_cancel_pagare.Visible = True"; +__ref._b_cancel_pagare /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); + }else { +RDebugUtils.currentLine=7799027; + //BA.debugLineNum = 7799027;BA.debugLine="b_cancel_pagare.Visible = False"; +__ref._b_cancel_pagare /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); + }; + }else { +RDebugUtils.currentLine=7799031; + //BA.debugLineNum = 7799031;BA.debugLine="b_cancel_pagare.Visible = False"; +__ref._b_cancel_pagare /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); + }; +RDebugUtils.currentLine=7799036; + //BA.debugLineNum = 7799036;BA.debugLine="Log(\"SI AQUI\")"; +__c.LogImpl("87799036","SI AQUI",0); +RDebugUtils.currentLine=7799037; + //BA.debugLineNum = 7799037;BA.debugLine="b = Starter.skmt.ExecQuery(\"select COUNT(*) AS C"; +__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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select COUNT(*) AS CLIENTE FROM ABONOSP WHERE CLIENTE IN (Select CUENTA from cuentaa)"))); +RDebugUtils.currentLine=7799038; + //BA.debugLineNum = 7799038;BA.debugLine="b.Position = 0"; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=7799039; + //BA.debugLineNum = 7799039;BA.debugLine="Dim cabonos As String = b.GetString(\"CLIENTE\")"; +_cabonos = __ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CLIENTE"); +RDebugUtils.currentLine=7799040; + //BA.debugLineNum = 7799040;BA.debugLine="If cabonos = 0 Then"; +if ((_cabonos).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=7799041; + //BA.debugLineNum = 7799041;BA.debugLine="b_cxc.Visible = False"; +__ref._b_cxc /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); + }else { +RDebugUtils.currentLine=7799043; + //BA.debugLineNum = 7799043;BA.debugLine="b_cxc.Visible = True"; +__ref._b_cxc /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); + }; +RDebugUtils.currentLine=7799047; + //BA.debugLineNum = 7799047;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _b4xpage_closerequest(reparto_izca.keymon.lat.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(reparto_izca.keymon.lat.c_cliente parent,reparto_izca.keymon.lat.c_cliente __ref) { +this.parent = parent; +this.__ref = __ref; +this.__ref = parent; +} +reparto_izca.keymon.lat.c_cliente __ref; +reparto_izca.keymon.lat.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=8257539; + //BA.debugLineNum = 8257539;BA.debugLine="If p_credito.Visible Then"; +if (true) break; + +case 1: +//if +this.state = 8; +if (__ref._p_credito /*anywheresoftware.b4a.objects.PanelWrapper*/ .getVisible()) { +this.state = 3; +}else +{RDebugUtils.currentLine=8257543; + //BA.debugLineNum = 8257543;BA.debugLine="Else If la_cuenta.Text = \"63403\" Then"; +if ((__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("63403")) { +this.state = 5; +}else { +this.state = 7; +}} +if (true) break; + +case 3: +//C +this.state = 8; +RDebugUtils.currentLine=8257540; + //BA.debugLineNum = 8257540;BA.debugLine="et_montoacredito.Text = \"\""; +__ref._et_montoacredito /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=8257541; + //BA.debugLineNum = 8257541;BA.debugLine="p_credito.Visible = False"; +__ref._p_credito /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=8257542; + //BA.debugLineNum = 8257542;BA.debugLine="Return False"; +if (true) { +parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; + if (true) break; + +case 5: +//C +this.state = 8; +RDebugUtils.currentLine=8257544; + //BA.debugLineNum = 8257544;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +parent._b4xpages._showpage /*String*/ (ba,"Principal"); +RDebugUtils.currentLine=8257545; + //BA.debugLineNum = 8257545;BA.debugLine="Return False"; +if (true) { +parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; + if (true) break; + +case 7: +//C +this.state = 8; +RDebugUtils.currentLine=8257547; + //BA.debugLineNum = 8257547;BA.debugLine="B4XPages.ShowPage(\"Clientes\")"; +parent._b4xpages._showpage /*String*/ (ba,"Clientes"); +RDebugUtils.currentLine=8257548; + //BA.debugLineNum = 8257548;BA.debugLine="Return False"; +if (true) { +parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; + if (true) break; + +case 8: +//C +this.state = -1; +; +RDebugUtils.currentLine=8257551; + //BA.debugLineNum = 8257551;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public String _b4xpage_created(reparto_izca.keymon.lat.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=7733248; + //BA.debugLineNum = 7733248;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +RDebugUtils.currentLine=7733249; + //BA.debugLineNum = 7733249;BA.debugLine="Root = Root1"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _root1; +RDebugUtils.currentLine=7733251; + //BA.debugLineNum = 7733251;BA.debugLine="g.Initialize(\"GPS\")"; +__ref._g /*anywheresoftware.b4a.gps.GPS*/ .Initialize("GPS"); +RDebugUtils.currentLine=7733253; + //BA.debugLineNum = 7733253;BA.debugLine="Root.LoadLayout(\"cliente\")"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("cliente",ba); +RDebugUtils.currentLine=7733254; + //BA.debugLineNum = 7733254;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CAT_CL_CODIGO, 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_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 from kmt_info where CAT_CL_CODIGO In (Select cuenta from cuentaa)"))); +RDebugUtils.currentLine=7733255; + //BA.debugLineNum = 7733255;BA.debugLine="s=Starter.skmt.ExecQuery(\"select sum(pe_costo_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)(_starter._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=7733256; + //BA.debugLineNum = 7733256;BA.debugLine="s.Position=0"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=7733257; + //BA.debugLineNum = 7733257;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=7733258; + //BA.debugLineNum = 7733258;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=7733259; + //BA.debugLineNum = 7733259;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=7733260; + //BA.debugLineNum = 7733260;BA.debugLine="la_Calle.Text = c.GetString(\"CAT_CL_CALLE\") & c.G"; +__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=7733261; + //BA.debugLineNum = 7733261;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=7733262; + //BA.debugLineNum = 7733262;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=7733263; + //BA.debugLineNum = 7733263;BA.debugLine="la_cp.Text = c.GetString(\"CAT_CL_CP\")"; +__ref._la_cp /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CP"))); +RDebugUtils.currentLine=7733264; + //BA.debugLineNum = 7733264;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=7733265; + //BA.debugLineNum = 7733265;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=7733266; + //BA.debugLineNum = 7733266;BA.debugLine="If c.GetString(\"CAT_CL_ATIENDE1\") <> Null And c.G"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_ATIENDE1")!= null && (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_ATIENDE1")).equals("null") == false) { +RDebugUtils.currentLine=7733267; + //BA.debugLineNum = 7733267;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"))); + }else { +RDebugUtils.currentLine=7733269; + //BA.debugLineNum = 7733269;BA.debugLine="l_atiende.Text = \" \""; +__ref._l_atiende /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(" ")); + }; +RDebugUtils.currentLine=7733271; + //BA.debugLineNum = 7733271;BA.debugLine="If c.GetString(\"CAT_CL_ATIENTE2\") <> Null And c.G"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_ATIENTE2")!= null && (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_ATIENTE2")).equals("NULL") == false) { +RDebugUtils.currentLine=7733272; + //BA.debugLineNum = 7733272;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=7733273; + //BA.debugLineNum = 7733273;BA.debugLine="Log(\"|\"&c.GetString(\"CAT_CL_ATIENTE2\")&\"|\")"; +__c.LogImpl("87733273","|"+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_ATIENTE2")+"|",0); + }else { +RDebugUtils.currentLine=7733275; + //BA.debugLineNum = 7733275;BA.debugLine="l_atiende2.Text = \" \""; +__ref._l_atiende2 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(" ")); + }; +RDebugUtils.currentLine=7733277; + //BA.debugLineNum = 7733277;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=7733278; + //BA.debugLineNum = 7733278;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=7733280; + //BA.debugLineNum = 7733280;BA.debugLine="btAdmin.Initialize(\"BlueTeeth\")"; +__ref._btadmin /*anywheresoftware.b4a.objects.Serial.BluetoothAdmin*/ .Initialize(ba,"BlueTeeth"); +RDebugUtils.currentLine=7733281; + //BA.debugLineNum = 7733281;BA.debugLine="cmp20.Initialize(\"Printer\")"; +__ref._cmp20 /*anywheresoftware.b4a.objects.Serial*/ .Initialize("Printer"); +RDebugUtils.currentLine=7733282; + //BA.debugLineNum = 7733282;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.SERVE"; +__ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._initialize /*String*/ (null,ba,this,_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ); +RDebugUtils.currentLine=7733283; + //BA.debugLineNum = 7733283;BA.debugLine="End Sub"; +return ""; +} +public String _cb_tipopago_selectedindexchanged(reparto_izca.keymon.lat.c_cliente __ref,int _index) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "cb_tipopago_selectedindexchanged", false)) + {return ((String) Debug.delegate(ba, "cb_tipopago_selectedindexchanged", new Object[] {_index}));} +RDebugUtils.currentLine=9895936; + //BA.debugLineNum = 9895936;BA.debugLine="Private Sub cb_tipopago_SelectedIndexChanged (Inde"; +RDebugUtils.currentLine=9895937; + //BA.debugLineNum = 9895937;BA.debugLine="itemselect = cb_tipopago.SelectedItem"; +__ref._itemselect /*String*/ = __ref._cb_tipopago /*reparto_izca.keymon.lat.b4xcombobox*/ ._getselecteditem /*String*/ (null); +RDebugUtils.currentLine=9895938; + //BA.debugLineNum = 9895938;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(reparto_izca.keymon.lat.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +RDebugUtils.currentLine=7602176; + //BA.debugLineNum = 7602176;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=7602177; + //BA.debugLineNum = 7602177;BA.debugLine="Private Root As B4XView 'ignore"; +_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=7602178; + //BA.debugLineNum = 7602178;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=7602179; + //BA.debugLineNum = 7602179;BA.debugLine="Dim g As GPS"; +_g = new anywheresoftware.b4a.gps.GPS(); +RDebugUtils.currentLine=7602180; + //BA.debugLineNum = 7602180;BA.debugLine="Dim clie_id As String"; +_clie_id = ""; +RDebugUtils.currentLine=7602181; + //BA.debugLineNum = 7602181;BA.debugLine="Dim sDate,sTime As String"; +_sdate = ""; +_stime = ""; +RDebugUtils.currentLine=7602182; + //BA.debugLineNum = 7602182;BA.debugLine="Dim usuario As String"; +_usuario = ""; +RDebugUtils.currentLine=7602183; + //BA.debugLineNum = 7602183;BA.debugLine="Dim cuenta As String"; +_cuenta = ""; +RDebugUtils.currentLine=7602184; + //BA.debugLineNum = 7602184;BA.debugLine="Dim btAdmin As BluetoothAdmin"; +_btadmin = new anywheresoftware.b4a.objects.Serial.BluetoothAdmin(); +RDebugUtils.currentLine=7602185; + //BA.debugLineNum = 7602185;BA.debugLine="Dim cmp20 As Serial"; +_cmp20 = new anywheresoftware.b4a.objects.Serial(); +RDebugUtils.currentLine=7602186; + //BA.debugLineNum = 7602186;BA.debugLine="Dim printer As TextWriter"; +_printer = new anywheresoftware.b4a.objects.streams.File.TextWriterWrapper(); +RDebugUtils.currentLine=7602187; + //BA.debugLineNum = 7602187;BA.debugLine="Dim PairedDevices As Map"; +_paireddevices = new anywheresoftware.b4a.objects.collections.Map(); +RDebugUtils.currentLine=7602188; + //BA.debugLineNum = 7602188;BA.debugLine="Dim L As List"; +_l = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=7602189; + //BA.debugLineNum = 7602189;BA.debugLine="Dim TAMANO As Int"; +_tamano = 0; +RDebugUtils.currentLine=7602190; + //BA.debugLineNum = 7602190;BA.debugLine="Dim ESPACIO As Int"; +_espacio = 0; +RDebugUtils.currentLine=7602191; + //BA.debugLineNum = 7602191;BA.debugLine="Dim BLANCO As String"; +_blanco = ""; +RDebugUtils.currentLine=7602192; + //BA.debugLineNum = 7602192;BA.debugLine="Dim impresoraConectada As Boolean = False"; +_impresoraconectada = __c.False; +RDebugUtils.currentLine=7602193; + //BA.debugLineNum = 7602193;BA.debugLine="Dim LONGITUD As String"; +_longitud = ""; +RDebugUtils.currentLine=7602194; + //BA.debugLineNum = 7602194;BA.debugLine="Dim LATITUD As String"; +_latitud = ""; +RDebugUtils.currentLine=7602195; + //BA.debugLineNum = 7602195;BA.debugLine="Dim NOMBRE As String"; +_nombre = ""; +RDebugUtils.currentLine=7602196; + //BA.debugLineNum = 7602196;BA.debugLine="Dim c As Cursor"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=7602197; + //BA.debugLineNum = 7602197;BA.debugLine="Dim s As Cursor"; +_s = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=7602198; + //BA.debugLineNum = 7602198;BA.debugLine="Dim ListView1 As ListView"; +_listview1 = new anywheresoftware.b4a.objects.ListViewWrapper(); +RDebugUtils.currentLine=7602199; + //BA.debugLineNum = 7602199;BA.debugLine="Dim la_cuenta As Label"; +_la_cuenta = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=7602200; + //BA.debugLineNum = 7602200;BA.debugLine="Dim La_nombre As Label"; +_la_nombre = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=7602201; + //BA.debugLineNum = 7602201;BA.debugLine="Dim la_Calle As Label"; +_la_calle = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=7602202; + //BA.debugLineNum = 7602202;BA.debugLine="Dim la_numero As Label"; +_la_numero = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=7602203; + //BA.debugLineNum = 7602203;BA.debugLine="Dim la_nint As Label"; +_la_nint = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=7602204; + //BA.debugLineNum = 7602204;BA.debugLine="Dim la_edo As Label"; +_la_edo = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=7602205; + //BA.debugLineNum = 7602205;BA.debugLine="Dim la_pob As Label"; +_la_pob = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=7602206; + //BA.debugLineNum = 7602206;BA.debugLine="Dim la_col As Label"; +_la_col = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=7602207; + //BA.debugLineNum = 7602207;BA.debugLine="Dim la_cp As Label"; +_la_cp = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=7602208; + //BA.debugLineNum = 7602208;BA.debugLine="Dim la_zona As Label"; +_la_zona = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=7602209; + //BA.debugLineNum = 7602209;BA.debugLine="Dim gest As Button"; +_gest = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=7602210; + //BA.debugLineNum = 7602210;BA.debugLine="Dim la_saldotot As Label"; +_la_saldotot = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=7602211; + //BA.debugLineNum = 7602211;BA.debugLine="Dim la_saldooper As Label"; +_la_saldooper = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=7602212; + //BA.debugLineNum = 7602212;BA.debugLine="Dim reqManager As DBRequestManager"; +_reqmanager = new reparto_izca.keymon.lat.dbrequestmanager(); +RDebugUtils.currentLine=7602213; + //BA.debugLineNum = 7602213;BA.debugLine="Dim b_noEntrega As Button"; +_b_noentrega = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=7602214; + //BA.debugLineNum = 7602214;BA.debugLine="Dim Label10 As Label"; +_label10 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=7602215; + //BA.debugLineNum = 7602215;BA.debugLine="Dim Label11 As Label"; +_label11 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=7602216; + //BA.debugLineNum = 7602216;BA.debugLine="Dim d As Cursor"; +_d = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=7602217; + //BA.debugLineNum = 7602217;BA.debugLine="Dim ime As IME"; +_ime = new anywheresoftware.b4a.objects.IME(); +RDebugUtils.currentLine=7602218; + //BA.debugLineNum = 7602218;BA.debugLine="Dim Tar As Button"; +_tar = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=7602219; + //BA.debugLineNum = 7602219;BA.debugLine="Private L_QR As Label"; +_l_qr = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=7602220; + //BA.debugLineNum = 7602220;BA.debugLine="Private BT_QR As Button"; +_bt_qr = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=7602221; + //BA.debugLineNum = 7602221;BA.debugLine="Dim Printer1 As EscPosPrinter"; +_printer1 = new reparto_izca.keymon.lat.escposprinter(); +RDebugUtils.currentLine=7602222; + //BA.debugLineNum = 7602222;BA.debugLine="Dim la_comm As Label"; +_la_comm = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=7602223; + //BA.debugLineNum = 7602223;BA.debugLine="Dim la_actdte As Label"; +_la_actdte = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=7602224; + //BA.debugLineNum = 7602224;BA.debugLine="Dim la_usuario As Label"; +_la_usuario = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=7602225; + //BA.debugLineNum = 7602225;BA.debugLine="Dim la_resultado As Label"; +_la_resultado = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=7602226; + //BA.debugLineNum = 7602226;BA.debugLine="Dim l_entre1 As Label"; +_l_entre1 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=7602227; + //BA.debugLineNum = 7602227;BA.debugLine="Dim l_entre2 As Label"; +_l_entre2 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=7602228; + //BA.debugLineNum = 7602228;BA.debugLine="Dim l_atiende As Label"; +_l_atiende = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=7602229; + //BA.debugLineNum = 7602229;BA.debugLine="Dim l_atiende2 As Label"; +_l_atiende2 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=7602230; + //BA.debugLineNum = 7602230;BA.debugLine="Dim DATOS As Button"; +_datos = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=7602231; + //BA.debugLineNum = 7602231;BA.debugLine="Dim Guardar As Button"; +_guardar = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=7602232; + //BA.debugLineNum = 7602232;BA.debugLine="Dim NUEVO As Button"; +_nuevo = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=7602233; + //BA.debugLineNum = 7602233;BA.debugLine="Private l_total As Label"; +_l_total = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=7602234; + //BA.debugLineNum = 7602234;BA.debugLine="Private HIST As Button"; +_hist = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=7602235; + //BA.debugLineNum = 7602235;BA.debugLine="Dim PASA_IMP As String"; +_pasa_imp = ""; +RDebugUtils.currentLine=7602236; + //BA.debugLineNum = 7602236;BA.debugLine="Private B_IMP As Button"; +_b_imp = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=7602237; + //BA.debugLineNum = 7602237;BA.debugLine="Dim total_cliente As String"; +_total_cliente = ""; +RDebugUtils.currentLine=7602238; + //BA.debugLineNum = 7602238;BA.debugLine="Dim CREDITO As String"; +_credito = ""; +RDebugUtils.currentLine=7602239; + //BA.debugLineNum = 7602239;BA.debugLine="Private p_principal As Panel"; +_p_principal = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=7602240; + //BA.debugLineNum = 7602240;BA.debugLine="Private B_PASO2 As Button"; +_b_paso2 = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=7602241; + //BA.debugLineNum = 7602241;BA.debugLine="Private L_CANT As Label"; +_l_cant = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=7602242; + //BA.debugLineNum = 7602242;BA.debugLine="Dim errorImpresora As Int = 0"; +_errorimpresora = (int) (0); +RDebugUtils.currentLine=7602243; + //BA.debugLineNum = 7602243;BA.debugLine="Dim banderaimp As Int"; +_banderaimp = 0; +RDebugUtils.currentLine=7602244; + //BA.debugLineNum = 7602244;BA.debugLine="Private l_credi As Label"; +_l_credi = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=7602245; + //BA.debugLineNum = 7602245;BA.debugLine="Private l_pagare As Label"; +_l_pagare = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=7602246; + //BA.debugLineNum = 7602246;BA.debugLine="Private l_montopag As Label"; +_l_montopag = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=7602247; + //BA.debugLineNum = 7602247;BA.debugLine="Private l_efectivo As Label"; +_l_efectivo = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=7602248; + //BA.debugLineNum = 7602248;BA.debugLine="Private l_montoefec As Label"; +_l_montoefec = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=7602249; + //BA.debugLineNum = 7602249;BA.debugLine="Private p_credito As Panel"; +_p_credito = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=7602250; + //BA.debugLineNum = 7602250;BA.debugLine="Private b_acred As Button"; +_b_acred = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=7602251; + //BA.debugLineNum = 7602251;BA.debugLine="Private b_cancred As Button"; +_b_cancred = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=7602252; + //BA.debugLineNum = 7602252;BA.debugLine="Private et_montoacredito As EditText"; +_et_montoacredito = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=7602253; + //BA.debugLineNum = 7602253;BA.debugLine="Private Label16 As Label"; +_label16 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=7602254; + //BA.debugLineNum = 7602254;BA.debugLine="Private l_limite As Label"; +_l_limite = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=7602255; + //BA.debugLineNum = 7602255;BA.debugLine="Dim almacen As String"; +_almacen = ""; +RDebugUtils.currentLine=7602256; + //BA.debugLineNum = 7602256;BA.debugLine="Dim fechaprev As String"; +_fechaprev = ""; +RDebugUtils.currentLine=7602257; + //BA.debugLineNum = 7602257;BA.debugLine="Dim rutaprev As String"; +_rutaprev = ""; +RDebugUtils.currentLine=7602258; + //BA.debugLineNum = 7602258;BA.debugLine="Dim rutarep As String"; +_rutarep = ""; +RDebugUtils.currentLine=7602259; + //BA.debugLineNum = 7602259;BA.debugLine="Dim montopagare As String"; +_montopagare = ""; +RDebugUtils.currentLine=7602260; + //BA.debugLineNum = 7602260;BA.debugLine="Private p_abono As Panel"; +_p_abono = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=7602261; + //BA.debugLineNum = 7602261;BA.debugLine="Private clv_abonos As CustomListView"; +_clv_abonos = new b4a.example3.customlistview(); +RDebugUtils.currentLine=7602262; + //BA.debugLineNum = 7602262;BA.debugLine="Private et_abono As EditText"; +_et_abono = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=7602263; + //BA.debugLineNum = 7602263;BA.debugLine="Private b_cancelar As Button"; +_b_cancelar = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=7602264; + //BA.debugLineNum = 7602264;BA.debugLine="Private b_abono As Button"; +_b_abono = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=7602265; + //BA.debugLineNum = 7602265;BA.debugLine="Private l_montoabonostotal As Label"; +_l_montoabonostotal = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=7602266; + //BA.debugLineNum = 7602266;BA.debugLine="Dim h, j,b, f As Cursor"; +_h = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_j = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_b = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_f = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=7602267; + //BA.debugLineNum = 7602267;BA.debugLine="Private l_folio As Label"; +_l_folio = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=7602268; + //BA.debugLineNum = 7602268;BA.debugLine="Private l_saldo As Label"; +_l_saldo = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=7602269; + //BA.debugLineNum = 7602269;BA.debugLine="Private b_cxc As Button"; +_b_cxc = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=7602270; + //BA.debugLineNum = 7602270;BA.debugLine="Private cb_tipopago As B4XComboBox"; +_cb_tipopago = new reparto_izca.keymon.lat.b4xcombobox(); +RDebugUtils.currentLine=7602271; + //BA.debugLineNum = 7602271;BA.debugLine="Dim itemselect As String"; +_itemselect = ""; +RDebugUtils.currentLine=7602272; + //BA.debugLineNum = 7602272;BA.debugLine="Dim tipo_abonox As String"; +_tipo_abonox = ""; +RDebugUtils.currentLine=7602273; + //BA.debugLineNum = 7602273;BA.debugLine="Private b_cancel_pagare As Button"; +_b_cancel_pagare = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=7602274; + //BA.debugLineNum = 7602274;BA.debugLine="Dim NOTA As String"; +_nota = ""; +RDebugUtils.currentLine=7602275; + //BA.debugLineNum = 7602275;BA.debugLine="End Sub"; +return ""; +} +public String _datos_click(reparto_izca.keymon.lat.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=8388608; + //BA.debugLineNum = 8388608;BA.debugLine="Sub DATOS_Click"; +RDebugUtils.currentLine=8388610; + //BA.debugLineNum = 8388610;BA.debugLine="End Sub"; +return ""; +} +public void _gest_click(reparto_izca.keymon.lat.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(reparto_izca.keymon.lat.c_cliente parent,reparto_izca.keymon.lat.c_cliente __ref) { +this.parent = parent; +this.__ref = __ref; +this.__ref = parent; +} +reparto_izca.keymon.lat.c_cliente __ref; +reparto_izca.keymon.lat.c_cliente parent; +anywheresoftware.b4a.sql.SQL.CursorWrapper _x2 = null; +int _result = 0; +anywheresoftware.b4a.sql.SQL.CursorWrapper _k = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _y = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _u = 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=8060940; + //BA.debugLineNum = 8060940;BA.debugLine="Dim x2 As Cursor =Starter.skmt.ExecQuery(\"SELECT"; +_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)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT gestion FROM kmt_info where CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))); +RDebugUtils.currentLine=8060941; + //BA.debugLineNum = 8060941;BA.debugLine="x2.Position = 0"; +_x2.setPosition((int) (0)); +RDebugUtils.currentLine=8060942; + //BA.debugLineNum = 8060942;BA.debugLine="If x2.GetString(\"gestion\") = 2 Then"; +if (true) break; + +case 1: +//if +this.state = 34; +if ((_x2.GetString("gestion")).equals(BA.NumberToString(2))) { +this.state = 3; +}else { +this.state = 9; +}if (true) break; + +case 3: +//C +this.state = 4; +RDebugUtils.currentLine=8060943; + //BA.debugLineNum = 8060943;BA.debugLine="Msgbox2Async(\"Ya se gestiono el cliente, no se p"; +parent.__c.Msgbox2Async(BA.ObjectToCharSequence("Ya se gestiono el cliente, no se pueden hacer modificaciones"),BA.ObjectToCharSequence("Atención"),"","","Ok",parent.__c.LoadBitmap(parent.__c.File.getDirAssets(),"alert2.png"),ba,parent.__c.False); +RDebugUtils.currentLine=8060944; + //BA.debugLineNum = 8060944;BA.debugLine="Wait For Msgbox_Result (Result As Int)"; +parent.__c.WaitFor("msgbox_result", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "gest_click"), null); +this.state = 35; +return; +case 35: +//C +this.state = 4; +_result = (Integer) result[1]; +; +RDebugUtils.currentLine=8060945; + //BA.debugLineNum = 8060945;BA.debugLine="If Result= DialogResponse.NEGATIVE Then"; +if (true) break; + +case 4: +//if +this.state = 7; +if (_result==parent.__c.DialogResponse.NEGATIVE) { +this.state = 6; +}if (true) break; + +case 6: +//C +this.state = 7; +RDebugUtils.currentLine=8060946; + //BA.debugLineNum = 8060946;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +parent._b4xpages._showpage /*String*/ (ba,"Principal"); + if (true) break; + +case 7: +//C +this.state = 34; +; + if (true) break; + +case 9: +//C +this.state = 10; +RDebugUtils.currentLine=8060949; + //BA.debugLineNum = 8060949;BA.debugLine="Dim k As Cursor = Starter.skmt.ExecQuery(\"SELECT"; +_k = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_k = (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 CUENTA from CUENTAA"))); +RDebugUtils.currentLine=8060950; + //BA.debugLineNum = 8060950;BA.debugLine="k.Position = 0"; +_k.setPosition((int) (0)); +RDebugUtils.currentLine=8060951; + //BA.debugLineNum = 8060951;BA.debugLine="Log(k.GetString(\"CUENTA\"))"; +parent.__c.LogImpl("88060951",_k.GetString("CUENTA"),0); +RDebugUtils.currentLine=8060952; + //BA.debugLineNum = 8060952;BA.debugLine="Dim y As Cursor = Starter.skmt.ExecQuery2(\"SELEC"; +_y = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_y = (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*/ .ExecQuery2("SELECT IFNULL(SUM(a_abono),0) AS a_abono FROM ABONOS WHERE a_cliente = ?",new String[]{_k.GetString("CUENTA")}))); +RDebugUtils.currentLine=8060953; + //BA.debugLineNum = 8060953;BA.debugLine="y.position = 0"; +_y.setPosition((int) (0)); +RDebugUtils.currentLine=8060954; + //BA.debugLineNum = 8060954;BA.debugLine="Dim u As Cursor = Starter.skmt.ExecQuery2(\"SELEC"; +_u = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_u = (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*/ .ExecQuery2("SELECT IFNULL(SUM(SALDO_PENDIENTE),0) AS SALDO_PENDIENTE FROM ABONOSP WHERE CLIENTE = ?",new String[]{_k.GetString("CUENTA")}))); +RDebugUtils.currentLine=8060955; + //BA.debugLineNum = 8060955;BA.debugLine="u.Position = 0"; +_u.setPosition((int) (0)); +RDebugUtils.currentLine=8060956; + //BA.debugLineNum = 8060956;BA.debugLine="If u.RowCount > 0 Then"; +if (true) break; + +case 10: +//if +this.state = 33; +if (_u.getRowCount()>0) { +this.state = 12; +}else { +this.state = 32; +}if (true) break; + +case 12: +//C +this.state = 13; +RDebugUtils.currentLine=8060957; + //BA.debugLineNum = 8060957;BA.debugLine="If u.GetString(\"SALDO_PENDIENTE\") <> 0 Then"; +if (true) break; + +case 13: +//if +this.state = 30; +if ((_u.GetString("SALDO_PENDIENTE")).equals(BA.NumberToString(0)) == false) { +this.state = 15; +}else +{RDebugUtils.currentLine=8060968; + //BA.debugLineNum = 8060968;BA.debugLine="Else If u.GetString(\"SALDO_PENDIENTE\") = 0 Then"; +if ((_u.GetString("SALDO_PENDIENTE")).equals(BA.NumberToString(0))) { +this.state = 29; +}} +if (true) break; + +case 15: +//C +this.state = 16; +RDebugUtils.currentLine=8060958; + //BA.debugLineNum = 8060958;BA.debugLine="If y.RowCount > 0 Then"; +if (true) break; + +case 16: +//if +this.state = 27; +if (_y.getRowCount()>0) { +this.state = 18; +}else { +this.state = 26; +}if (true) break; + +case 18: +//C +this.state = 19; +RDebugUtils.currentLine=8060959; + //BA.debugLineNum = 8060959;BA.debugLine="If u.GetString(\"SALDO_PENDIENTE\") = y.GetStri"; +if (true) break; + +case 19: +//if +this.state = 24; +if ((_u.GetString("SALDO_PENDIENTE")).equals(_y.GetString("a_abono"))) { +this.state = 21; +}else { +this.state = 23; +}if (true) break; + +case 21: +//C +this.state = 24; +RDebugUtils.currentLine=8060960; + //BA.debugLineNum = 8060960;BA.debugLine="B_IMP_Click"; +__ref._b_imp_click /*void*/ (null); +RDebugUtils.currentLine=8060961; + //BA.debugLineNum = 8060961;BA.debugLine="banderaimp = 1"; +__ref._banderaimp /*int*/ = (int) (1); + if (true) break; + +case 23: +//C +this.state = 24; +RDebugUtils.currentLine=8060963; + //BA.debugLineNum = 8060963;BA.debugLine="MsgboxAsync(\"Para poder hacer una entrega se"; +parent.__c.MsgboxAsync(BA.ObjectToCharSequence("Para poder hacer una entrega se necesita liquidar el(los) pagare(s)"),BA.ObjectToCharSequence("Atención"),ba); + if (true) break; + +case 24: +//C +this.state = 27; +; + if (true) break; + +case 26: +//C +this.state = 27; +RDebugUtils.currentLine=8060966; + //BA.debugLineNum = 8060966;BA.debugLine="MsgboxAsync(\"Para poder hacer una entrega se"; +parent.__c.MsgboxAsync(BA.ObjectToCharSequence("Para poder hacer una entrega se necesita liquidar el(los) pagare(s)"),BA.ObjectToCharSequence("Atención"),ba); + if (true) break; + +case 27: +//C +this.state = 30; +; + if (true) break; + +case 29: +//C +this.state = 30; +RDebugUtils.currentLine=8060969; + //BA.debugLineNum = 8060969;BA.debugLine="B_IMP_Click"; +__ref._b_imp_click /*void*/ (null); +RDebugUtils.currentLine=8060970; + //BA.debugLineNum = 8060970;BA.debugLine="banderaimp = 1"; +__ref._banderaimp /*int*/ = (int) (1); + if (true) break; + +case 30: +//C +this.state = 33; +; + if (true) break; + +case 32: +//C +this.state = 33; +RDebugUtils.currentLine=8060973; + //BA.debugLineNum = 8060973;BA.debugLine="B_IMP_Click"; +__ref._b_imp_click /*void*/ (null); +RDebugUtils.currentLine=8060974; + //BA.debugLineNum = 8060974;BA.debugLine="banderaimp = 1"; +__ref._banderaimp /*int*/ = (int) (1); + if (true) break; + +case 33: +//C +this.state = 34; +; + if (true) break; + +case 34: +//C +this.state = -1; +; +RDebugUtils.currentLine=8060978; + //BA.debugLineNum = 8060978;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public String _gps_locationchanged(reparto_izca.keymon.lat.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}));} +RDebugUtils.currentLine=7929856; + //BA.debugLineNum = 7929856;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; +RDebugUtils.currentLine=7929859; + //BA.debugLineNum = 7929859;BA.debugLine="Dim sDate,sTime As String"; +_sdate = ""; +_stime = ""; +RDebugUtils.currentLine=7929860; + //BA.debugLineNum = 7929860;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +__c.DateTime.setDateFormat("MM/dd/yyyy"); +RDebugUtils.currentLine=7929861; + //BA.debugLineNum = 7929861;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=7929862; + //BA.debugLineNum = 7929862;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=7929863; + //BA.debugLineNum = 7929863;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM HIST_GPS\")"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM HIST_GPS"); +RDebugUtils.currentLine=7929864; + //BA.debugLineNum = 7929864;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO HIST_GPS"; +_starter._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 /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._lon_gps /*String*/ )})); +RDebugUtils.currentLine=7929865; + //BA.debugLineNum = 7929865;BA.debugLine="End Sub"; +return ""; +} +public String _mandapendientesreparto(reparto_izca.keymon.lat.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "mandapendientesreparto", false)) + {return ((String) Debug.delegate(ba, "mandapendientesreparto", null));} +RDebugUtils.currentLine=9043968; + //BA.debugLineNum = 9043968;BA.debugLine="Sub mandaPendientesreparto"; +RDebugUtils.currentLine=9043984; + //BA.debugLineNum = 9043984;BA.debugLine="End Sub"; +return ""; +} +public String _guardar_click(reparto_izca.keymon.lat.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));} +RDebugUtils.currentLine=8454144; + //BA.debugLineNum = 8454144;BA.debugLine="Sub Guardar_Click"; +RDebugUtils.currentLine=8454149; + //BA.debugLineNum = 8454149;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +_b4xpages._showpage /*String*/ (ba,"Principal"); +RDebugUtils.currentLine=8454151; + //BA.debugLineNum = 8454151;BA.debugLine="End Sub"; +return ""; +} +public void _hist_click(reparto_izca.keymon.lat.c_cliente __ref) throws Exception{ +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "hist_click", false)) + {Debug.delegate(ba, "hist_click", null); return;} +ResumableSub_HIST_Click rsub = new ResumableSub_HIST_Click(this,__ref); +rsub.resume(ba, null); +} +public static class ResumableSub_HIST_Click extends BA.ResumableSub { +public ResumableSub_HIST_Click(reparto_izca.keymon.lat.c_cliente parent,reparto_izca.keymon.lat.c_cliente __ref) { +this.parent = parent; +this.__ref = __ref; +this.__ref = parent; +} +reparto_izca.keymon.lat.c_cliente __ref; +reparto_izca.keymon.lat.c_cliente parent; +anywheresoftware.b4a.sql.SQL.CursorWrapper _x2 = null; +int _result = 0; +anywheresoftware.b4a.sql.SQL.CursorWrapper _pagacheca2 = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _k = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _y = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _u = 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=8585233; + //BA.debugLineNum = 8585233;BA.debugLine="Dim x2 As Cursor =Starter.skmt.ExecQuery(\"SELECT"; +_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)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT gestion FROM kmt_info where CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))); +RDebugUtils.currentLine=8585234; + //BA.debugLineNum = 8585234;BA.debugLine="x2.Position = 0"; +_x2.setPosition((int) (0)); +RDebugUtils.currentLine=8585235; + //BA.debugLineNum = 8585235;BA.debugLine="If x2.GetString(\"gestion\") = 2 Then"; +if (true) break; + +case 1: +//if +this.state = 44; +if ((_x2.GetString("gestion")).equals(BA.NumberToString(2))) { +this.state = 3; +}else { +this.state = 9; +}if (true) break; + +case 3: +//C +this.state = 4; +RDebugUtils.currentLine=8585236; + //BA.debugLineNum = 8585236;BA.debugLine="Msgbox2Async(\"Ya se gestiono el cliente, no se p"; +parent.__c.Msgbox2Async(BA.ObjectToCharSequence("Ya se gestiono el cliente, no se pueden hacer modificaciones"),BA.ObjectToCharSequence("Atención"),"","","Ok",parent.__c.LoadBitmap(parent.__c.File.getDirAssets(),"alert2.png"),ba,parent.__c.False); +RDebugUtils.currentLine=8585237; + //BA.debugLineNum = 8585237;BA.debugLine="Wait For Msgbox_Result (Result As Int)"; +parent.__c.WaitFor("msgbox_result", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "hist_click"), null); +this.state = 45; +return; +case 45: +//C +this.state = 4; +_result = (Integer) result[1]; +; +RDebugUtils.currentLine=8585238; + //BA.debugLineNum = 8585238;BA.debugLine="If Result= DialogResponse.NEGATIVE Then"; +if (true) break; + +case 4: +//if +this.state = 7; +if (_result==parent.__c.DialogResponse.NEGATIVE) { +this.state = 6; +}if (true) break; + +case 6: +//C +this.state = 7; +RDebugUtils.currentLine=8585239; + //BA.debugLineNum = 8585239;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +parent._b4xpages._showpage /*String*/ (ba,"Principal"); + if (true) break; + +case 7: +//C +this.state = 44; +; + if (true) break; + +case 9: +//C +this.state = 10; +RDebugUtils.currentLine=8585243; + //BA.debugLineNum = 8585243;BA.debugLine="Dim pagacheca2 As Cursor = Starter.skmt.ExecQuer"; +_pagacheca2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_pagacheca2 = (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 * FROM PAGARES WHERE PA_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))); +RDebugUtils.currentLine=8585245; + //BA.debugLineNum = 8585245;BA.debugLine="If pagacheca2.RowCount > 0 Then"; +if (true) break; + +case 10: +//if +this.state = 43; +if (_pagacheca2.getRowCount()>0) { +this.state = 12; +}else { +this.state = 18; +}if (true) break; + +case 12: +//C +this.state = 13; +RDebugUtils.currentLine=8585248; + //BA.debugLineNum = 8585248;BA.debugLine="Msgbox2Async(\"El pagare ya fue generdo, no se p"; +parent.__c.Msgbox2Async(BA.ObjectToCharSequence("El pagare ya fue generdo, no se puede realizar modificación."),BA.ObjectToCharSequence("Atención"),"","","Ok",parent.__c.LoadBitmap(parent.__c.File.getDirAssets(),"alert2.png"),ba,parent.__c.False); +RDebugUtils.currentLine=8585249; + //BA.debugLineNum = 8585249;BA.debugLine="Wait For Msgbox_Result (Result As Int)"; +parent.__c.WaitFor("msgbox_result", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "hist_click"), null); +this.state = 46; +return; +case 46: +//C +this.state = 13; +_result = (Integer) result[1]; +; +RDebugUtils.currentLine=8585250; + //BA.debugLineNum = 8585250;BA.debugLine="If Result= DialogResponse.POSITIVE Then"; +if (true) break; + +case 13: +//if +this.state = 16; +if (_result==parent.__c.DialogResponse.POSITIVE) { +this.state = 15; +}if (true) break; + +case 15: +//C +this.state = 16; +RDebugUtils.currentLine=8585251; + //BA.debugLineNum = 8585251;BA.debugLine="Log(\"Aqui\")"; +parent.__c.LogImpl("88585251","Aqui",0); + if (true) break; + +case 16: +//C +this.state = 43; +; + if (true) break; + +case 18: +//C +this.state = 19; +RDebugUtils.currentLine=8585256; + //BA.debugLineNum = 8585256;BA.debugLine="Dim k As Cursor = Starter.skmt.ExecQuery(\"SELEC"; +_k = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_k = (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 CUENTA from CUENTAA"))); +RDebugUtils.currentLine=8585257; + //BA.debugLineNum = 8585257;BA.debugLine="k.Position = 0"; +_k.setPosition((int) (0)); +RDebugUtils.currentLine=8585258; + //BA.debugLineNum = 8585258;BA.debugLine="Log(k.GetString(\"CUENTA\"))"; +parent.__c.LogImpl("88585258",_k.GetString("CUENTA"),0); +RDebugUtils.currentLine=8585259; + //BA.debugLineNum = 8585259;BA.debugLine="Dim y As Cursor = Starter.skmt.ExecQuery2(\"SELE"; +_y = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_y = (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*/ .ExecQuery2("SELECT IFNULL(SUM(a_abono),0) AS a_abono FROM ABONOS WHERE a_cliente = ?",new String[]{_k.GetString("CUENTA")}))); +RDebugUtils.currentLine=8585260; + //BA.debugLineNum = 8585260;BA.debugLine="y.position = 0"; +_y.setPosition((int) (0)); +RDebugUtils.currentLine=8585261; + //BA.debugLineNum = 8585261;BA.debugLine="Dim u As Cursor = Starter.skmt.ExecQuery2(\"SELE"; +_u = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_u = (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*/ .ExecQuery2("SELECT IFNULL(SUM(SALDO_PENDIENTE),0) AS SALDO_PENDIENTE FROM ABONOSP WHERE CLIENTE = ?",new String[]{_k.GetString("CUENTA")}))); +RDebugUtils.currentLine=8585262; + //BA.debugLineNum = 8585262;BA.debugLine="u.Position = 0"; +_u.setPosition((int) (0)); +RDebugUtils.currentLine=8585263; + //BA.debugLineNum = 8585263;BA.debugLine="If u.RowCount > 0 Then"; +if (true) break; + +case 19: +//if +this.state = 42; +if (_u.getRowCount()>0) { +this.state = 21; +}else { +this.state = 41; +}if (true) break; + +case 21: +//C +this.state = 22; +RDebugUtils.currentLine=8585264; + //BA.debugLineNum = 8585264;BA.debugLine="If u.GetString(\"SALDO_PENDIENTE\") <> 0 Then"; +if (true) break; + +case 22: +//if +this.state = 39; +if ((_u.GetString("SALDO_PENDIENTE")).equals(BA.NumberToString(0)) == false) { +this.state = 24; +}else +{RDebugUtils.currentLine=8585275; + //BA.debugLineNum = 8585275;BA.debugLine="Else If u.GetString(\"SALDO_PENDIENTE\") = 0 The"; +if ((_u.GetString("SALDO_PENDIENTE")).equals(BA.NumberToString(0))) { +this.state = 38; +}} +if (true) break; + +case 24: +//C +this.state = 25; +RDebugUtils.currentLine=8585265; + //BA.debugLineNum = 8585265;BA.debugLine="If y.RowCount > 0 Then"; +if (true) break; + +case 25: +//if +this.state = 36; +if (_y.getRowCount()>0) { +this.state = 27; +}else { +this.state = 35; +}if (true) break; + +case 27: +//C +this.state = 28; +RDebugUtils.currentLine=8585266; + //BA.debugLineNum = 8585266;BA.debugLine="If u.GetString(\"SALDO_PENDIENTE\") = y.GetStr"; +if (true) break; + +case 28: +//if +this.state = 33; +if ((_u.GetString("SALDO_PENDIENTE")).equals(_y.GetString("a_abono"))) { +this.state = 30; +}else { +this.state = 32; +}if (true) break; + +case 30: +//C +this.state = 33; +RDebugUtils.currentLine=8585267; + //BA.debugLineNum = 8585267;BA.debugLine="B4XPages.MainPage.detalleVenta.prodsMap.Ini"; +parent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._detalleventa /*reparto_izca.keymon.lat.c_detalleventa*/ ._prodsmap /*anywheresoftware.b4a.objects.collections.Map*/ .Initialize(); +RDebugUtils.currentLine=8585268; + //BA.debugLineNum = 8585268;BA.debugLine="B4XPages.ShowPage(\"DetalleVenta\")"; +parent._b4xpages._showpage /*String*/ (ba,"DetalleVenta"); + if (true) break; + +case 32: +//C +this.state = 33; +RDebugUtils.currentLine=8585270; + //BA.debugLineNum = 8585270;BA.debugLine="MsgboxAsync(\"Para poder hacer una entrega s"; +parent.__c.MsgboxAsync(BA.ObjectToCharSequence("Para poder hacer una entrega se necesita liquidar el(los) pagare(s)"),BA.ObjectToCharSequence("Atención"),ba); + if (true) break; + +case 33: +//C +this.state = 36; +; + if (true) break; + +case 35: +//C +this.state = 36; +RDebugUtils.currentLine=8585273; + //BA.debugLineNum = 8585273;BA.debugLine="MsgboxAsync(\"Para poder hacer una entrega se"; +parent.__c.MsgboxAsync(BA.ObjectToCharSequence("Para poder hacer una entrega se necesita liquidar el(los) pagare(s)"),BA.ObjectToCharSequence("Atención"),ba); + if (true) break; + +case 36: +//C +this.state = 39; +; + if (true) break; + +case 38: +//C +this.state = 39; +RDebugUtils.currentLine=8585276; + //BA.debugLineNum = 8585276;BA.debugLine="B4XPages.MainPage.detalleVenta.prodsMap.Initi"; +parent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._detalleventa /*reparto_izca.keymon.lat.c_detalleventa*/ ._prodsmap /*anywheresoftware.b4a.objects.collections.Map*/ .Initialize(); +RDebugUtils.currentLine=8585277; + //BA.debugLineNum = 8585277;BA.debugLine="B4XPages.ShowPage(\"DetalleVenta\")"; +parent._b4xpages._showpage /*String*/ (ba,"DetalleVenta"); + if (true) break; + +case 39: +//C +this.state = 42; +; + if (true) break; + +case 41: +//C +this.state = 42; +RDebugUtils.currentLine=8585280; + //BA.debugLineNum = 8585280;BA.debugLine="B4XPages.MainPage.detalleVenta.prodsMap.Initia"; +parent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._detalleventa /*reparto_izca.keymon.lat.c_detalleventa*/ ._prodsmap /*anywheresoftware.b4a.objects.collections.Map*/ .Initialize(); +RDebugUtils.currentLine=8585281; + //BA.debugLineNum = 8585281;BA.debugLine="B4XPages.ShowPage(\"DetalleVenta\")"; +parent._b4xpages._showpage /*String*/ (ba,"DetalleVenta"); + 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; +; +RDebugUtils.currentLine=8585285; + //BA.debugLineNum = 8585285;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public String _jobdone(reparto_izca.keymon.lat.c_cliente __ref,reparto_izca.keymon.lat.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}));} +reparto_izca.keymon.lat.dbrequestmanager._dbresult _resultado = null; +String _cliente = ""; +Object[] _records = null; +String _k = ""; +RDebugUtils.currentLine=9109504; + //BA.debugLineNum = 9109504;BA.debugLine="Sub JobDone(Job As HttpJob)"; +RDebugUtils.currentLine=9109505; + //BA.debugLineNum = 9109505;BA.debugLine="Log(Job.Success)"; +__c.LogImpl("89109505",BA.ObjectToString(_job._success /*boolean*/ ),0); +RDebugUtils.currentLine=9109506; + //BA.debugLineNum = 9109506;BA.debugLine="If Job.Success = False Then"; +if (_job._success /*boolean*/ ==__c.False) { + }else { +RDebugUtils.currentLine=9109509; + //BA.debugLineNum = 9109509;BA.debugLine="LogColor(\"JobDone: '\" & reqManager.HandleJob(Job"; +__c.LogImpl("89109509","JobDone: '"+BA.ObjectToString(__ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (null,_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(__ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (null,_job).Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),__c.Colors.Green); +RDebugUtils.currentLine=9109510; + //BA.debugLineNum = 9109510;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=9109511; + //BA.debugLineNum = 9109511;BA.debugLine="Dim resultado As DBResult = reqManager.HandleJo"; +_resultado = __ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=9109512; + //BA.debugLineNum = 9109512;BA.debugLine="If resultado.Tag.As(String).IndexOf(\"ins_REPART"; +if ((BA.ObjectToString(_resultado.Tag /*Object*/ )).indexOf("ins_REPARTOPendientes_head_")>-1) { +RDebugUtils.currentLine=9109513; + //BA.debugLineNum = 9109513;BA.debugLine="Private cliente As String= resultado.Tag"; +_cliente = BA.ObjectToString(_resultado.Tag /*Object*/ ); +RDebugUtils.currentLine=9109514; + //BA.debugLineNum = 9109514;BA.debugLine="cliente = cliente.SubString(cliente.IndexOf(\"_"; +_cliente = _cliente.substring((int) (_cliente.indexOf("_")+24)); +RDebugUtils.currentLine=9109515; + //BA.debugLineNum = 9109515;BA.debugLine="Log($\"Cliente1:${cliente}\"$)"; +__c.LogImpl("89109515",("Cliente1:"+__c.SmartStringFormatter("",(Object)(_cliente))+""),0); +RDebugUtils.currentLine=9109516; + //BA.debugLineNum = 9109516;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update REPARTO_GEO"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update REPARTO_GEO SET ENVIO = ? WHERE CLIENTE = ? AND ENVIO <> ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"1",_cliente,"1"})); +RDebugUtils.currentLine=9109517; + //BA.debugLineNum = 9109517;BA.debugLine="For Each records() As Object In resultado.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group12 = _resultado.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen12 = group12.getSize() +;int index12 = 0; +; +for (; index12 < groupLen12;index12++){ +_records = (Object[])(group12.Get(index12)); +RDebugUtils.currentLine=9109518; + //BA.debugLineNum = 9109518;BA.debugLine="For Each k As String In resultado.Columns.Key"; +{ +final anywheresoftware.b4a.BA.IterableList group13 = _resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Keys(); +final int groupLen13 = group13.getSize() +;int index13 = 0; +; +for (; index13 < groupLen13;index13++){ +_k = BA.ObjectToString(group13.Get(index13)); +RDebugUtils.currentLine=9109519; + //BA.debugLineNum = 9109519;BA.debugLine="Log(resultado.Tag & \": \" & k & \": \" & record"; +__c.LogImpl("89109519",BA.ObjectToString(_resultado.Tag /*Object*/ )+": "+_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0); + } +}; + } +}; + }; + }; +RDebugUtils.currentLine=9109524; + //BA.debugLineNum = 9109524;BA.debugLine="Job.Release"; +_job._release /*String*/ (null); + }; +RDebugUtils.currentLine=9109527; + //BA.debugLineNum = 9109527;BA.debugLine="End Sub"; +return ""; +} +public String _listview1_itemlongclick(reparto_izca.keymon.lat.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=7995392; + //BA.debugLineNum = 7995392;BA.debugLine="Sub ListView1_ItemLongClick (Position As Int, Valu"; +RDebugUtils.currentLine=7995394; + //BA.debugLineNum = 7995394;BA.debugLine="End Sub"; +return ""; +} +public String _nuevo_click(reparto_izca.keymon.lat.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=8519680; + //BA.debugLineNum = 8519680;BA.debugLine="Sub NUEVO_Click"; +RDebugUtils.currentLine=8519681; + //BA.debugLineNum = 8519681;BA.debugLine="StartActivity(MAPA_CLIENTE)"; +__c.StartActivity(ba,(Object)(_mapa_cliente.getObject())); +RDebugUtils.currentLine=8519682; + //BA.debugLineNum = 8519682;BA.debugLine="End Sub"; +return ""; +} +public String _p_abono_click(reparto_izca.keymon.lat.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "p_abono_click", false)) + {return ((String) Debug.delegate(ba, "p_abono_click", null));} +RDebugUtils.currentLine=9568256; + //BA.debugLineNum = 9568256;BA.debugLine="Private Sub p_abono_Click"; +RDebugUtils.currentLine=9568258; + //BA.debugLineNum = 9568258;BA.debugLine="End Sub"; +return ""; +} +public String _p_credito_click(reparto_izca.keymon.lat.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "p_credito_click", false)) + {return ((String) Debug.delegate(ba, "p_credito_click", null));} +RDebugUtils.currentLine=9306112; + //BA.debugLineNum = 9306112;BA.debugLine="Private Sub p_credito_Click"; +RDebugUtils.currentLine=9306114; + //BA.debugLineNum = 9306114;BA.debugLine="End Sub"; +return ""; +} +public String _printer_connected(reparto_izca.keymon.lat.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=8847360; + //BA.debugLineNum = 8847360;BA.debugLine="Sub Printer_Connected (Success As Boolean)"; +RDebugUtils.currentLine=8847361; + //BA.debugLineNum = 8847361;BA.debugLine="If Success Then"; +if (_success) { +RDebugUtils.currentLine=8847363; + //BA.debugLineNum = 8847363;BA.debugLine="PASA_IMP = \"1\""; +__ref._pasa_imp /*String*/ = "1"; + }else { +RDebugUtils.currentLine=8847366; + //BA.debugLineNum = 8847366;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=8847367; + //BA.debugLineNum = 8847367;BA.debugLine="StartPrinter"; +__ref._startprinter /*String*/ (null); + }; + }; +RDebugUtils.currentLine=8847370; + //BA.debugLineNum = 8847370;BA.debugLine="End Sub"; +return ""; +} +public String _startprinter(reparto_izca.keymon.lat.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=8912896; + //BA.debugLineNum = 8912896;BA.debugLine="Sub StartPrinter"; +RDebugUtils.currentLine=8912897; + //BA.debugLineNum = 8912897;BA.debugLine="Dim PairedDevices As Map"; +_paireddevices = new anywheresoftware.b4a.objects.collections.Map(); +RDebugUtils.currentLine=8912898; + //BA.debugLineNum = 8912898;BA.debugLine="Dim L1 As List"; +_l1 = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=8912899; + //BA.debugLineNum = 8912899;BA.debugLine="Dim resimp As Int"; +_resimp = 0; +RDebugUtils.currentLine=8912900; + //BA.debugLineNum = 8912900;BA.debugLine="ToastMessageShow(\"Printing.....\",True)"; +__c.ToastMessageShow(BA.ObjectToCharSequence("Printing....."),__c.True); +RDebugUtils.currentLine=8912901; + //BA.debugLineNum = 8912901;BA.debugLine="PairedDevices.Initialize"; +__ref._paireddevices /*anywheresoftware.b4a.objects.collections.Map*/ .Initialize(); +RDebugUtils.currentLine=8912902; + //BA.debugLineNum = 8912902;BA.debugLine="Try"; +try {RDebugUtils.currentLine=8912903; + //BA.debugLineNum = 8912903;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=8912905; + //BA.debugLineNum = 8912905;BA.debugLine="Msgbox(\"Getting Paired Devices\",\"Printer Error\")"; +__c.Msgbox(BA.ObjectToCharSequence("Getting Paired Devices"),BA.ObjectToCharSequence("Printer Error"),ba); +RDebugUtils.currentLine=8912906; + //BA.debugLineNum = 8912906;BA.debugLine="printer.Close"; +__ref._printer /*anywheresoftware.b4a.objects.streams.File.TextWriterWrapper*/ .Close(); +RDebugUtils.currentLine=8912907; + //BA.debugLineNum = 8912907;BA.debugLine="cmp20.Disconnect"; +__ref._cmp20 /*anywheresoftware.b4a.objects.Serial*/ .Disconnect(); + }; +RDebugUtils.currentLine=8912910; + //BA.debugLineNum = 8912910;BA.debugLine="If PairedDevices.Size = 0 Then"; +if (__ref._paireddevices /*anywheresoftware.b4a.objects.collections.Map*/ .getSize()==0) { +RDebugUtils.currentLine=8912911; + //BA.debugLineNum = 8912911;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=8912912; + //BA.debugLineNum = 8912912;BA.debugLine="Return"; +if (true) return ""; + }; +RDebugUtils.currentLine=8912915; + //BA.debugLineNum = 8912915;BA.debugLine="If PairedDevices.Size = 1 Then"; +if (__ref._paireddevices /*anywheresoftware.b4a.objects.collections.Map*/ .getSize()==1) { +RDebugUtils.currentLine=8912916; + //BA.debugLineNum = 8912916;BA.debugLine="Try"; +try {RDebugUtils.currentLine=8912917; + //BA.debugLineNum = 8912917;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=8912919; + //BA.debugLineNum = 8912919;BA.debugLine="Msgbox(\"Connecting\",\"Printer Error\") 'ignore"; +__c.Msgbox(BA.ObjectToCharSequence("Connecting"),BA.ObjectToCharSequence("Printer Error"),ba); +RDebugUtils.currentLine=8912920; + //BA.debugLineNum = 8912920;BA.debugLine="printer.Close"; +__ref._printer /*anywheresoftware.b4a.objects.streams.File.TextWriterWrapper*/ .Close(); +RDebugUtils.currentLine=8912921; + //BA.debugLineNum = 8912921;BA.debugLine="cmp20.Disconnect"; +__ref._cmp20 /*anywheresoftware.b4a.objects.Serial*/ .Disconnect(); + }; + }else { +RDebugUtils.currentLine=8912924; + //BA.debugLineNum = 8912924;BA.debugLine="L1.Initialize"; +_l1.Initialize(); +RDebugUtils.currentLine=8912925; + //BA.debugLineNum = 8912925;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=8912926; + //BA.debugLineNum = 8912926;BA.debugLine="L1.Add(PairedDevices.GetKeyAt(i))"; +_l1.Add(__ref._paireddevices /*anywheresoftware.b4a.objects.collections.Map*/ .GetKeyAt(_i)); + } +}; +RDebugUtils.currentLine=8912928; + //BA.debugLineNum = 8912928;BA.debugLine="resimp = InputList(L1, \"Choose device\", -1) 'ign"; +_resimp = __c.InputList(_l1,BA.ObjectToCharSequence("Choose device"),(int) (-1),ba); +RDebugUtils.currentLine=8912929; + //BA.debugLineNum = 8912929;BA.debugLine="If resimp <> DialogResponse.CANCEL Then"; +if (_resimp!=__c.DialogResponse.CANCEL) { +RDebugUtils.currentLine=8912930; + //BA.debugLineNum = 8912930;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=8912933; + //BA.debugLineNum = 8912933;BA.debugLine="End Sub"; +return ""; +} +public String _printer1_connected(reparto_izca.keymon.lat.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=8716288; + //BA.debugLineNum = 8716288;BA.debugLine="Sub Printer1_Connected (Success As Boolean)"; +RDebugUtils.currentLine=8716290; + //BA.debugLineNum = 8716290;BA.debugLine="If Success Then"; +if (_success) { +RDebugUtils.currentLine=8716291; + //BA.debugLineNum = 8716291;BA.debugLine="ToastMessageShow(\"Impresora conectada\", False)"; +__c.ToastMessageShow(BA.ObjectToCharSequence("Impresora conectada"),__c.False); +RDebugUtils.currentLine=8716292; + //BA.debugLineNum = 8716292;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=8716293; + //BA.debugLineNum = 8716293;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=8716296; + //BA.debugLineNum = 8716296;BA.debugLine="impresoraConectada = True"; +__ref._impresoraconectada /*boolean*/ = __c.True; + }else { +RDebugUtils.currentLine=8716300; + //BA.debugLineNum = 8716300;BA.debugLine="LogColor(\"Error conectando la impresora\", Colors"; +__c.LogImpl("88716300","Error conectando la impresora",__c.Colors.Red); +RDebugUtils.currentLine=8716301; + //BA.debugLineNum = 8716301;BA.debugLine="errorImpresora = errorImpresora + 1"; +__ref._errorimpresora /*int*/ = (int) (__ref._errorimpresora /*int*/ +1); +RDebugUtils.currentLine=8716302; + //BA.debugLineNum = 8716302;BA.debugLine="If errorImpresora > 1 Then"; +if (__ref._errorimpresora /*int*/ >1) { +RDebugUtils.currentLine=8716303; + //BA.debugLineNum = 8716303;BA.debugLine="Starter.MAC_IMPRESORA = \"0\""; +_starter._mac_impresora /*String*/ = "0"; +RDebugUtils.currentLine=8716304; + //BA.debugLineNum = 8716304;BA.debugLine="errorImpresora = 0"; +__ref._errorimpresora /*int*/ = (int) (0); + }; + }; +RDebugUtils.currentLine=8716307; + //BA.debugLineNum = 8716307;BA.debugLine="End Sub"; +return ""; +} +public String _printer1_error(reparto_izca.keymon.lat.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=8781824; + //BA.debugLineNum = 8781824;BA.debugLine="Sub Printer1_Error"; +RDebugUtils.currentLine=8781825; + //BA.debugLineNum = 8781825;BA.debugLine="Log(\"error printer\")"; +__c.LogImpl("88781825","error printer",0); +RDebugUtils.currentLine=8781826; + //BA.debugLineNum = 8781826;BA.debugLine="End Sub"; +return ""; +} +public String _tar_click(reparto_izca.keymon.lat.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=8323072; + //BA.debugLineNum = 8323072;BA.debugLine="Sub Tar_Click"; +RDebugUtils.currentLine=8323074; + //BA.debugLineNum = 8323074;BA.debugLine="B4XPages.ShowPage(\"Productos\")"; +_b4xpages._showpage /*String*/ (ba,"Productos"); +RDebugUtils.currentLine=8323075; + //BA.debugLineNum = 8323075;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/c_clientes.java b/B4A/Objects/src/reparto_izca/keymon/lat/c_clientes.java new file mode 100644 index 0000000..36907d8 --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/c_clientes.java @@ -0,0 +1,3131 @@ +package reparto_izca.keymon.lat; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.B4AClass; +import anywheresoftware.b4a.BALayout; +import anywheresoftware.b4a.debug.*; + +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 anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "reparto_izca.keymon.lat.c_clientes"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", reparto_izca.keymon.lat.c_clientes.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 String _entro = ""; +public anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; +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 anywheresoftware.b4a.objects.PanelWrapper _p_colonia = null; +public String _laruta = ""; +public anywheresoftware.b4a.objects.ButtonWrapper _b_getdirs = null; +public reparto_izca.keymon.lat.b4xorderedmap _distorderedmap = null; +public reparto_izca.keymon.lat.b4xorderedmap _clientesmapao = null; +public anywheresoftware.b4a.objects.ImageViewWrapper _img_getdirs = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_rutainfo = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_getrutainfo = null; +public boolean _conmapa = false; +public anywheresoftware.b4a.objects.collections.List _listawaypoints = null; +public String _lv1top = ""; +public anywheresoftware.b4a.objects.ButtonWrapper _b_limpiarruta = null; +public boolean _rutagenerada = false; +public String _rutaacambiar = ""; +public b4a.example.dateutils _dateutils = null; +public reparto_izca.keymon.lat.main _main = null; +public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; +public reparto_izca.keymon.lat.foto _foto = null; +public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_izca.keymon.lat.starter _starter = null; +public reparto_izca.keymon.lat.tracker _tracker = null; +public reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public Object _initialize(reparto_izca.keymon.lat.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=10092544; + //BA.debugLineNum = 10092544;BA.debugLine="Public Sub Initialize As Object"; +RDebugUtils.currentLine=10092545; + //BA.debugLineNum = 10092545;BA.debugLine="Return Me"; +if (true) return this; +RDebugUtils.currentLine=10092546; + //BA.debugLineNum = 10092546;BA.debugLine="End Sub"; +return null; +} +public boolean _activity_keypress(reparto_izca.keymon.lat.c_clientes __ref,int _key) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_clientes"; +if (Debug.shouldDelegate(ba, "activity_keypress", false)) + {return ((Boolean) Debug.delegate(ba, "activity_keypress", new Object[] {_key}));} +RDebugUtils.currentLine=10485760; + //BA.debugLineNum = 10485760;BA.debugLine="Sub Activity_KeyPress (key As Int) As Boolean 'ign"; +RDebugUtils.currentLine=10485762; + //BA.debugLineNum = 10485762;BA.debugLine="If key=KeyCodes.KEYCODE_BACK Then"; +if (_key==__c.KeyCodes.KEYCODE_BACK) { +RDebugUtils.currentLine=10485763; + //BA.debugLineNum = 10485763;BA.debugLine="If entro = 3 And Not(conMapa) Then"; +if ((__ref._entro /*String*/ ).equals(BA.NumberToString(3)) && __c.Not(__ref._conmapa /*boolean*/ )) { +RDebugUtils.currentLine=10485764; + //BA.debugLineNum = 10485764;BA.debugLine="b_GetDirs.Visible = False"; +__ref._b_getdirs /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=10485766; + //BA.debugLineNum = 10485766;BA.debugLine="B4XPage_Created(Root)"; +__ref._b4xpage_created /*String*/ (null,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ); +RDebugUtils.currentLine=10485767; + //BA.debugLineNum = 10485767;BA.debugLine="Return True"; +if (true) return __c.True; + }; +RDebugUtils.currentLine=10485769; + //BA.debugLineNum = 10485769;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +_b4xpages._showpage /*String*/ (ba,"Principal"); +RDebugUtils.currentLine=10485770; + //BA.debugLineNum = 10485770;BA.debugLine="Return False"; +if (true) return __c.False; + }; +RDebugUtils.currentLine=10485774; + //BA.debugLineNum = 10485774;BA.debugLine="End Sub"; +return false; +} +public String _b4xpage_created(reparto_izca.keymon.lat.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=10158080; + //BA.debugLineNum = 10158080;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +RDebugUtils.currentLine=10158081; + //BA.debugLineNum = 10158081;BA.debugLine="Root = Root1"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _root1; +RDebugUtils.currentLine=10158083; + //BA.debugLineNum = 10158083;BA.debugLine="Root.LoadLayout(\"clientes\")"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("clientes",ba); +RDebugUtils.currentLine=10158084; + //BA.debugLineNum = 10158084;BA.debugLine="entro =\"2\""; +__ref._entro /*String*/ = "2"; +RDebugUtils.currentLine=10158085; + //BA.debugLineNum = 10158085;BA.debugLine="lv1Top = ListView1.Top"; +__ref._lv1top /*String*/ = BA.NumberToString(__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTop()); +RDebugUtils.currentLine=10158086; + //BA.debugLineNum = 10158086;BA.debugLine="clientesMapaO.Initialize"; +__ref._clientesmapao /*reparto_izca.keymon.lat.b4xorderedmap*/ ._initialize /*String*/ (null,ba); +RDebugUtils.currentLine=10158087; + //BA.debugLineNum = 10158087;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from waypoints\""; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from waypoints"); +RDebugUtils.currentLine=10158088; + //BA.debugLineNum = 10158088;BA.debugLine="Log(\"Coordenadas del almacen: \" & Starter.cedisLo"; +__c.LogImpl("810158088","Coordenadas del almacen: "+BA.NumberToString(_starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLongitude())+","+BA.NumberToString(_starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLatitude()),0); +RDebugUtils.currentLine=10158089; + //BA.debugLineNum = 10158089;BA.debugLine="End Sub"; +return ""; +} +public void _b_getdirs_click(reparto_izca.keymon.lat.c_clientes __ref) throws Exception{ +RDebugUtils.currentModule="c_clientes"; +if (Debug.shouldDelegate(ba, "b_getdirs_click", false)) + {Debug.delegate(ba, "b_getdirs_click", null); return;} +ResumableSub_b_GetDirs_Click rsub = new ResumableSub_b_GetDirs_Click(this,__ref); +rsub.resume(ba, null); +} +public static class ResumableSub_b_GetDirs_Click extends BA.ResumableSub { +public ResumableSub_b_GetDirs_Click(reparto_izca.keymon.lat.c_clientes parent,reparto_izca.keymon.lat.c_clientes __ref) { +this.parent = parent; +this.__ref = __ref; +this.__ref = parent; +} +reparto_izca.keymon.lat.c_clientes __ref; +reparto_izca.keymon.lat.c_clientes parent; +anywheresoftware.b4a.objects.collections.Map _m2 = null; +int _f = 0; +Object _k = null; +String _distancia2 = ""; +String _thisloc1 = ""; +String _locactual = ""; +anywheresoftware.b4a.objects.collections.List _r = null; +int _tid = 0; +anywheresoftware.b4a.objects.collections.Map _tmap = null; +String _tempndd = ""; +int _indexd = 0; +anywheresoftware.b4a.objects.collections.Map _estecliente = null; +anywheresoftware.b4a.objects.collections.Map _m3 = null; +anywheresoftware.b4a.BA.IterableList group4; +int index4; +int groupLen4; +anywheresoftware.b4a.BA.IterableList group38; +int index38; +int groupLen38; + +@Override +public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="c_clientes"; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +RDebugUtils.currentLine=10747905; + //BA.debugLineNum = 10747905;BA.debugLine="ProgressDialogShow(\"Calculando distancias y tiemp"; +parent.__c.ProgressDialogShow(ba,BA.ObjectToCharSequence("Calculando distancias y tiempos ...")); +RDebugUtils.currentLine=10747906; + //BA.debugLineNum = 10747906;BA.debugLine="Private m2 As Map"; +_m2 = new anywheresoftware.b4a.objects.collections.Map(); +RDebugUtils.currentLine=10747907; + //BA.debugLineNum = 10747907;BA.debugLine="Private f As Int = 0"; +_f = (int) (0); +RDebugUtils.currentLine=10747908; + //BA.debugLineNum = 10747908;BA.debugLine="For Each k As Object In distOrderedMap.Keys 'Trae"; +if (true) break; + +case 1: +//for +this.state = 30; +group4 = __ref._distorderedmap /*reparto_izca.keymon.lat.b4xorderedmap*/ ._getkeys /*anywheresoftware.b4a.objects.collections.List*/ (null); +index4 = 0; +groupLen4 = group4.getSize(); +this.state = 31; +if (true) break; + +case 31: +//C +this.state = 30; +if (index4 < groupLen4) { +this.state = 3; +_k = group4.Get(index4);} +if (true) break; + +case 32: +//C +this.state = 31; +index4++; +if (true) break; + +case 3: +//C +this.state = 4; +RDebugUtils.currentLine=10747909; + //BA.debugLineNum = 10747909;BA.debugLine="m2 = distOrderedMap.Get(k)"; +_m2 = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._distorderedmap /*reparto_izca.keymon.lat.b4xorderedmap*/ ._get /*Object*/ (null,_k))); +RDebugUtils.currentLine=10747910; + //BA.debugLineNum = 10747910;BA.debugLine="Private distancia2 As String = m2.Get(\"distancia"; +_distancia2 = BA.ObjectToString(_m2.Get((Object)("distancia"))); +RDebugUtils.currentLine=10747911; + //BA.debugLineNum = 10747911;BA.debugLine="Private thisLoc1 As String = m2.Get(\"ubicacion\")"; +_thisloc1 = BA.ObjectToString(_m2.Get((Object)("ubicacion"))); +RDebugUtils.currentLine=10747912; + //BA.debugLineNum = 10747912;BA.debugLine="Private locActual As String = Tracker.UUGCoords."; +_locactual = BA.NumberToString(parent._tracker._uugcoords /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLongitude())+","+BA.NumberToString(parent._tracker._uugcoords /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLatitude()); +RDebugUtils.currentLine=10747913; + //BA.debugLineNum = 10747913;BA.debugLine="If locActual = \"0,0\" Then 'Si no tenemos ubicaci"; +if (true) break; + +case 4: +//if +this.state = 11; +if ((_locactual).equals("0,0")) { +this.state = 6; +}if (true) break; + +case 6: +//C +this.state = 7; +RDebugUtils.currentLine=10747914; + //BA.debugLineNum = 10747914;BA.debugLine="c = Starter.skmt.ExecQuery(\"select * from hist_"; +__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 * from hist_gps"))); +RDebugUtils.currentLine=10747915; + //BA.debugLineNum = 10747915;BA.debugLine="If c.RowCount > 0 Then"; +if (true) break; + +case 7: +//if +this.state = 10; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +this.state = 9; +}if (true) break; + +case 9: +//C +this.state = 10; +RDebugUtils.currentLine=10747916; + //BA.debugLineNum = 10747916;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=10747917; + //BA.debugLineNum = 10747917;BA.debugLine="locActual = c.GetString(\"hglon\") & \",\" & c.Get"; +_locactual = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("hglon")+","+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("hglat"); + if (true) break; + +case 10: +//C +this.state = 11; +; +RDebugUtils.currentLine=10747919; + //BA.debugLineNum = 10747919;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + if (true) break; + +case 11: +//C +this.state = 12; +; +RDebugUtils.currentLine=10747921; + //BA.debugLineNum = 10747921;BA.debugLine="f = f+1"; +_f = (int) (_f+1); +RDebugUtils.currentLine=10747922; + //BA.debugLineNum = 10747922;BA.debugLine="If f < 8 Then"; +if (true) break; + +case 12: +//if +this.state = 29; +if (_f<8) { +this.state = 14; +}if (true) break; + +case 14: +//C +this.state = 15; +RDebugUtils.currentLine=10747923; + //BA.debugLineNum = 10747923;BA.debugLine="If locActual = \"0,0\" Then 'Si todavia no tenemo"; +if (true) break; + +case 15: +//if +this.state = 18; +if ((_locactual).equals("0,0")) { +this.state = 17; +}if (true) break; + +case 17: +//C +this.state = 18; +RDebugUtils.currentLine=10747924; + //BA.debugLineNum = 10747924;BA.debugLine="ToastMessageShow(\"No se pudo obtener la ubicac"; +parent.__c.ToastMessageShow(BA.ObjectToCharSequence("No se pudo obtener la ubicacion actual!!"),parent.__c.True); +RDebugUtils.currentLine=10747925; + //BA.debugLineNum = 10747925;BA.debugLine="f = 8"; +_f = (int) (8); + if (true) break; + +case 18: +//C +this.state = 19; +; +RDebugUtils.currentLine=10747927; + //BA.debugLineNum = 10747927;BA.debugLine="Log($\"locActual: ${locActual}, thisLoc1: ${this"; +parent.__c.LogImpl("810747927",("locActual: "+parent.__c.SmartStringFormatter("",(Object)(_locactual))+", thisLoc1: "+parent.__c.SmartStringFormatter("",(Object)(_thisloc1))+""),0); +RDebugUtils.currentLine=10747928; + //BA.debugLineNum = 10747928;BA.debugLine="Wait For(distanciaEntreCoords(distancia2, locAc"; +parent.__c.WaitFor("complete", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_clientes", "b_getdirs_click"), __ref._distanciaentrecoords /*anywheresoftware.b4a.keywords.Common.ResumableSubWrapper*/ (null,_distancia2,_locactual,_thisloc1)); +this.state = 33; +return; +case 33: +//C +this.state = 19; +_r = (anywheresoftware.b4a.objects.collections.List) result[1]; +; +RDebugUtils.currentLine=10747929; + //BA.debugLineNum = 10747929;BA.debugLine="LogColor($\"R: ${r.Get(0)} - ${r.Get(1)} - ${r.G"; +parent.__c.LogImpl("810747929",("R: "+parent.__c.SmartStringFormatter("",_r.Get((int) (0)))+" - "+parent.__c.SmartStringFormatter("",_r.Get((int) (1)))+" - "+parent.__c.SmartStringFormatter("",_r.Get((int) (2)))+""),parent.__c.Colors.Green); +RDebugUtils.currentLine=10747930; + //BA.debugLineNum = 10747930;BA.debugLine="Private tId As Int = r.Get(0)"; +_tid = (int)(BA.ObjectToNumber(_r.Get((int) (0)))); +RDebugUtils.currentLine=10747931; + //BA.debugLineNum = 10747931;BA.debugLine="Private tMap As Map = distOrderedMap.Get(tId)"; +_tmap = new anywheresoftware.b4a.objects.collections.Map(); +_tmap = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._distorderedmap /*reparto_izca.keymon.lat.b4xorderedmap*/ ._get /*Object*/ (null,(Object)(_tid)))); +RDebugUtils.currentLine=10747932; + //BA.debugLineNum = 10747932;BA.debugLine="LogColor(\"|\" & tId & \"| - \" &distOrderedMap.Get"; +parent.__c.LogImpl("810747932","|"+BA.NumberToString(_tid)+"| - "+BA.ObjectToString(__ref._distorderedmap /*reparto_izca.keymon.lat.b4xorderedmap*/ ._get /*Object*/ (null,(Object)(_tid))),parent.__c.Colors.Blue); +RDebugUtils.currentLine=10747933; + //BA.debugLineNum = 10747933;BA.debugLine="Private tempNDD As String = tMap.Get(\"nomDirDis"; +_tempndd = BA.ObjectToString(_tmap.Get((Object)("nomDirDist"))); +RDebugUtils.currentLine=10747934; + //BA.debugLineNum = 10747934;BA.debugLine="Private indexD As Int = tempNDD.IndexOf(\"Distan"; +_indexd = _tempndd.indexOf("Distancia:"); +RDebugUtils.currentLine=10747935; + //BA.debugLineNum = 10747935;BA.debugLine="If indexD > -1 Then tempNDD = tempNDD.SubString"; +if (true) break; + +case 19: +//if +this.state = 24; +if (_indexd>-1) { +this.state = 21; +;}if (true) break; + +case 21: +//C +this.state = 24; +_tempndd = _tempndd.substring((int) (0),_indexd); +if (true) break; + +case 24: +//C +this.state = 25; +; +RDebugUtils.currentLine=10747936; + //BA.debugLineNum = 10747936;BA.debugLine="Log(tempNDD)"; +parent.__c.LogImpl("810747936",_tempndd,0); +RDebugUtils.currentLine=10747937; + //BA.debugLineNum = 10747937;BA.debugLine="tempNDD = tempNDD & $\"Dist: $1.1{(r.Get(1)/1000"; +_tempndd = _tempndd+("Dist: "+parent.__c.SmartStringFormatter("1.1",(Object)(((double)(BA.ObjectToNumber(_r.Get((int) (1))))/(double)1000)))+" kms, Tiempo aprox: "+parent.__c.SmartStringFormatter("1.0",(Object)((((double)(BA.ObjectToNumber(_r.Get((int) (2))))*2)/(double)60)))+" min."); +RDebugUtils.currentLine=10747938; + //BA.debugLineNum = 10747938;BA.debugLine="Private esteCliente As Map = CreateMap(\"distanc"; +_estecliente = new anywheresoftware.b4a.objects.collections.Map(); +_estecliente = parent.__c.createMap(new Object[] {(Object)("distancia"),(Object)(_distancia2),(Object)("ubicacion"),_tmap.Get((Object)("ubicacion")),(Object)("codigo"),_tmap.Get((Object)("codigo")),(Object)("nomDirDist"),(Object)(_tempndd)}); +RDebugUtils.currentLine=10747939; + //BA.debugLineNum = 10747939;BA.debugLine="distOrderedMap.Put(tId, esteCliente)"; +__ref._distorderedmap /*reparto_izca.keymon.lat.b4xorderedmap*/ ._put /*String*/ (null,(Object)(_tid),(Object)(_estecliente.getObject())); +RDebugUtils.currentLine=10747940; + //BA.debugLineNum = 10747940;BA.debugLine="ListView1.Clear"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=10747941; + //BA.debugLineNum = 10747941;BA.debugLine="Private m3 As Map"; +_m3 = new anywheresoftware.b4a.objects.collections.Map(); +RDebugUtils.currentLine=10747942; + //BA.debugLineNum = 10747942;BA.debugLine="For Each k As Object In distOrderedMap.Keys 'G"; +if (true) break; + +case 25: +//for +this.state = 28; +group38 = __ref._distorderedmap /*reparto_izca.keymon.lat.b4xorderedmap*/ ._getkeys /*anywheresoftware.b4a.objects.collections.List*/ (null); +index38 = 0; +groupLen38 = group38.getSize(); +this.state = 34; +if (true) break; + +case 34: +//C +this.state = 28; +if (index38 < groupLen38) { +this.state = 27; +_k = group38.Get(index38);} +if (true) break; + +case 35: +//C +this.state = 34; +index38++; +if (true) break; + +case 27: +//C +this.state = 35; +RDebugUtils.currentLine=10747943; + //BA.debugLineNum = 10747943;BA.debugLine="m3 = distOrderedMap.Get(k)"; +_m3 = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._distorderedmap /*reparto_izca.keymon.lat.b4xorderedmap*/ ._get /*Object*/ (null,_k))); +RDebugUtils.currentLine=10747944; + //BA.debugLineNum = 10747944;BA.debugLine="m3.Get(\"codigo\")"; +_m3.Get((Object)("codigo")); +RDebugUtils.currentLine=10747945; + //BA.debugLineNum = 10747945;BA.debugLine="ListView1.AddTwoLines(m3.Get(\"codigo\"), m3.Get"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddTwoLines(BA.ObjectToCharSequence(_m3.Get((Object)("codigo"))),BA.ObjectToCharSequence(_m3.Get((Object)("nomDirDist")))); + if (true) break; +if (true) break; + +case 28: +//C +this.state = 29; +; + if (true) break; + +case 29: +//C +this.state = 32; +; + if (true) break; +if (true) break; + +case 30: +//C +this.state = -1; +; +RDebugUtils.currentLine=10747949; + //BA.debugLineNum = 10747949;BA.debugLine="ProgressDialogHide"; +parent.__c.ProgressDialogHide(); +RDebugUtils.currentLine=10747950; + //BA.debugLineNum = 10747950;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _distanciaentrecoords(reparto_izca.keymon.lat.c_clientes __ref,String _id,String _coords1,String _coords2) throws Exception{ +RDebugUtils.currentModule="c_clientes"; +if (Debug.shouldDelegate(ba, "distanciaentrecoords", false)) + {return ((anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) Debug.delegate(ba, "distanciaentrecoords", new Object[] {_id,_coords1,_coords2}));} +ResumableSub_distanciaEntreCoords rsub = new ResumableSub_distanciaEntreCoords(this,__ref,_id,_coords1,_coords2); +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_distanciaEntreCoords extends BA.ResumableSub { +public ResumableSub_distanciaEntreCoords(reparto_izca.keymon.lat.c_clientes parent,reparto_izca.keymon.lat.c_clientes __ref,String _id,String _coords1,String _coords2) { +this.parent = parent; +this.__ref = __ref; +this._id = _id; +this._coords1 = _coords1; +this._coords2 = _coords2; +this.__ref = parent; +} +reparto_izca.keymon.lat.c_clientes __ref; +reparto_izca.keymon.lat.c_clientes parent; +String _id; +String _coords1; +String _coords2; +String _distanciatotal = ""; +String _tiempo = ""; +reparto_izca.keymon.lat.httpjob _j = null; +anywheresoftware.b4a.objects.collections.JSONParser _jp = null; +anywheresoftware.b4a.objects.collections.Map _m = null; +anywheresoftware.b4a.objects.collections.List _rutas = null; +anywheresoftware.b4a.objects.collections.Map _rutas2 = null; +anywheresoftware.b4a.objects.collections.List _r = null; + +@Override +public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="c_clientes"; + + while (true) { + switch (state) { + case -1: +{ +parent.__c.ReturnFromResumableSub(this,null);return;} +case 0: +//C +this.state = 1; +RDebugUtils.currentLine=10616833; + //BA.debugLineNum = 10616833;BA.debugLine="Sleep(1050)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_clientes", "distanciaentrecoords"),(int) (1050)); +this.state = 11; +return; +case 11: +//C +this.state = 1; +; +RDebugUtils.currentLine=10616834; + //BA.debugLineNum = 10616834;BA.debugLine="Private distanciaTotal As String = \"0\""; +_distanciatotal = "0"; +RDebugUtils.currentLine=10616835; + //BA.debugLineNum = 10616835;BA.debugLine="Private tiempo As String = \"0\""; +_tiempo = "0"; +RDebugUtils.currentLine=10616836; + //BA.debugLineNum = 10616836;BA.debugLine="Dim j As HttpJob"; +_j = new reparto_izca.keymon.lat.httpjob(); +RDebugUtils.currentLine=10616837; + //BA.debugLineNum = 10616837;BA.debugLine="j.Initialize(\"\", Me)"; +_j._initialize /*String*/ (null,ba,"",parent); +RDebugUtils.currentLine=10616838; + //BA.debugLineNum = 10616838;BA.debugLine="j.Download(\"https://router.project-osrm.org/route"; +_j._download /*String*/ (null,"https://router.project-osrm.org/route/v1/driving/"+_coords1+";"+_coords2+"?overview=false"); +RDebugUtils.currentLine=10616839; + //BA.debugLineNum = 10616839;BA.debugLine="Wait For (j) JobDone(j As HttpJob)"; +parent.__c.WaitFor("jobdone", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_clientes", "distanciaentrecoords"), (Object)(_j)); +this.state = 12; +return; +case 12: +//C +this.state = 1; +_j = (reparto_izca.keymon.lat.httpjob) result[1]; +; +RDebugUtils.currentLine=10616840; + //BA.debugLineNum = 10616840;BA.debugLine="If j.Success Then"; +if (true) break; + +case 1: +//if +this.state = 10; +if (_j._success /*boolean*/ ) { +this.state = 3; +}else { +this.state = 9; +}if (true) break; + +case 3: +//C +this.state = 4; +RDebugUtils.currentLine=10616841; + //BA.debugLineNum = 10616841;BA.debugLine="Dim jp As JSONParser"; +_jp = new anywheresoftware.b4a.objects.collections.JSONParser(); +RDebugUtils.currentLine=10616842; + //BA.debugLineNum = 10616842;BA.debugLine="jp.Initialize(j.GetString)"; +_jp.Initialize(_j._getstring /*String*/ (null)); +RDebugUtils.currentLine=10616843; + //BA.debugLineNum = 10616843;BA.debugLine="Dim m As Map = jp.NextObject"; +_m = new anywheresoftware.b4a.objects.collections.Map(); +_m = _jp.NextObject(); +RDebugUtils.currentLine=10616844; + //BA.debugLineNum = 10616844;BA.debugLine="Log($\"Respuesta: ${m.Get(\"code\")}\"$)"; +parent.__c.LogImpl("810616844",("Respuesta: "+parent.__c.SmartStringFormatter("",_m.Get((Object)("code")))+""),0); +RDebugUtils.currentLine=10616845; + //BA.debugLineNum = 10616845;BA.debugLine="If m.Get(\"code\") = \"Ok\" Then"; +if (true) break; + +case 4: +//if +this.state = 7; +if ((_m.Get((Object)("code"))).equals((Object)("Ok"))) { +this.state = 6; +}if (true) break; + +case 6: +//C +this.state = 7; +RDebugUtils.currentLine=10616847; + //BA.debugLineNum = 10616847;BA.debugLine="Dim rutas As List = m.Get(\"routes\")"; +_rutas = new anywheresoftware.b4a.objects.collections.List(); +_rutas = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_m.Get((Object)("routes")))); +RDebugUtils.currentLine=10616848; + //BA.debugLineNum = 10616848;BA.debugLine="Dim rutas2 As Map = rutas.Get(0)"; +_rutas2 = new anywheresoftware.b4a.objects.collections.Map(); +_rutas2 = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_rutas.Get((int) (0)))); +RDebugUtils.currentLine=10616852; + //BA.debugLineNum = 10616852;BA.debugLine="distanciaTotal = rutas2.Get(\"distance\")"; +_distanciatotal = BA.ObjectToString(_rutas2.Get((Object)("distance"))); +RDebugUtils.currentLine=10616853; + //BA.debugLineNum = 10616853;BA.debugLine="tiempo = rutas2.Get(\"duration\")"; +_tiempo = BA.ObjectToString(_rutas2.Get((Object)("duration"))); +RDebugUtils.currentLine=10616854; + //BA.debugLineNum = 10616854;BA.debugLine="Log($\"Distancia total: ${distanciaTotal}, Tiemp"; +parent.__c.LogImpl("810616854",("Distancia total: "+parent.__c.SmartStringFormatter("",(Object)(_distanciatotal))+", Tiempo: "+parent.__c.SmartStringFormatter("",(Object)(_tiempo))+""),0); + if (true) break; + +case 7: +//C +this.state = 10; +; + if (true) break; + +case 9: +//C +this.state = 10; +RDebugUtils.currentLine=10616857; + //BA.debugLineNum = 10616857;BA.debugLine="Log(\"Error!\")"; +parent.__c.LogImpl("810616857","Error!",0); + if (true) break; + +case 10: +//C +this.state = -1; +; +RDebugUtils.currentLine=10616859; + //BA.debugLineNum = 10616859;BA.debugLine="j.Release"; +_j._release /*String*/ (null); +RDebugUtils.currentLine=10616860; + //BA.debugLineNum = 10616860;BA.debugLine="Private r As List"; +_r = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=10616861; + //BA.debugLineNum = 10616861;BA.debugLine="r.Initialize"; +_r.Initialize(); +RDebugUtils.currentLine=10616862; + //BA.debugLineNum = 10616862;BA.debugLine="r.Add(id)"; +_r.Add((Object)(_id)); +RDebugUtils.currentLine=10616863; + //BA.debugLineNum = 10616863;BA.debugLine="r.Add(distanciaTotal)"; +_r.Add((Object)(_distanciatotal)); +RDebugUtils.currentLine=10616864; + //BA.debugLineNum = 10616864;BA.debugLine="r.Add(tiempo)"; +_r.Add((Object)(_tiempo)); +RDebugUtils.currentLine=10616865; + //BA.debugLineNum = 10616865;BA.debugLine="Return r"; +if (true) { +parent.__c.ReturnFromResumableSub(this,(Object)(_r));return;}; +RDebugUtils.currentLine=10616866; + //BA.debugLineNum = 10616866;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public String _b_getrutainfo_click(reparto_izca.keymon.lat.c_clientes __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_clientes"; +if (Debug.shouldDelegate(ba, "b_getrutainfo_click", false)) + {return ((String) Debug.delegate(ba, "b_getrutainfo_click", null));} +RDebugUtils.currentLine=10878976; + //BA.debugLineNum = 10878976;BA.debugLine="Private Sub b_getRutaInfo_Click"; +RDebugUtils.currentLine=10878978; + //BA.debugLineNum = 10878978;BA.debugLine="caculaRutaGPS(todosAVisitar)"; +__ref._cacularutagps /*void*/ (null,__ref._todosavisitar /*anywheresoftware.b4a.objects.collections.List*/ (null)); +RDebugUtils.currentLine=10878979; + //BA.debugLineNum = 10878979;BA.debugLine="End Sub"; +return ""; +} +public void _cacularutagps(reparto_izca.keymon.lat.c_clientes __ref,anywheresoftware.b4a.objects.collections.List _coords) throws Exception{ +RDebugUtils.currentModule="c_clientes"; +if (Debug.shouldDelegate(ba, "cacularutagps", false)) + {Debug.delegate(ba, "cacularutagps", new Object[] {_coords}); return;} +ResumableSub_caculaRutaGPS rsub = new ResumableSub_caculaRutaGPS(this,__ref,_coords); +rsub.resume(ba, null); +} +public static class ResumableSub_caculaRutaGPS extends BA.ResumableSub { +public ResumableSub_caculaRutaGPS(reparto_izca.keymon.lat.c_clientes parent,reparto_izca.keymon.lat.c_clientes __ref,anywheresoftware.b4a.objects.collections.List _coords) { +this.parent = parent; +this.__ref = __ref; +this._coords = _coords; +this.__ref = parent; +} +reparto_izca.keymon.lat.c_clientes __ref; +reparto_izca.keymon.lat.c_clientes parent; +anywheresoftware.b4a.objects.collections.List _coords; +anywheresoftware.b4a.objects.collections.List _tmplist = null; +anywheresoftware.b4a.objects.CSBuilder _cs = null; +anywheresoftware.b4a.objects.CSBuilder _cs2 = null; +String _coordsstr = ""; +anywheresoftware.b4a.objects.collections.List _tienda = null; +reparto_izca.keymon.lat.httpjob _j = null; +anywheresoftware.b4a.objects.collections.JSONParser _jp = null; +anywheresoftware.b4a.objects.collections.Map _m = null; +int _puntos = 0; +String _duration = ""; +String _distance = ""; +String _mensaje = ""; +int _i = 0; +anywheresoftware.b4a.objects.collections.Map _ti = null; +anywheresoftware.b4a.BA.IterableList group8; +int index8; +int groupLen8; +int step37; +int limit37; +int step49; +int limit49; + +@Override +public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="c_clientes"; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +RDebugUtils.currentLine=11075585; + //BA.debugLineNum = 11075585;BA.debugLine="Private tmpList As List"; +_tmplist = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=11075586; + //BA.debugLineNum = 11075586;BA.debugLine="Dim cs, cs2 As CSBuilder"; +_cs = new anywheresoftware.b4a.objects.CSBuilder(); +_cs2 = new anywheresoftware.b4a.objects.CSBuilder(); +RDebugUtils.currentLine=11075587; + //BA.debugLineNum = 11075587;BA.debugLine="tmpList.Initialize"; +_tmplist.Initialize(); +RDebugUtils.currentLine=11075588; + //BA.debugLineNum = 11075588;BA.debugLine="tmpList.AddAll(Array As String(\"ACTUAL\", Tracker."; +_tmplist.AddAll(anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"ACTUAL",BA.NumberToString(parent._tracker._uugcoords /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLongitude()),BA.NumberToString(parent._tracker._uugcoords /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLatitude())})); +RDebugUtils.currentLine=11075589; + //BA.debugLineNum = 11075589;BA.debugLine="coords.InsertAt(0,tmpList)"; +_coords.InsertAt((int) (0),(Object)(_tmplist.getObject())); +RDebugUtils.currentLine=11075590; + //BA.debugLineNum = 11075590;BA.debugLine="Log(\"=================================\")"; +parent.__c.LogImpl("811075590","=================================",0); +RDebugUtils.currentLine=11075592; + //BA.debugLineNum = 11075592;BA.debugLine="Private coordsStr As String = \"\""; +_coordsstr = ""; +RDebugUtils.currentLine=11075593; + //BA.debugLineNum = 11075593;BA.debugLine="For Each tienda As List In coords"; +if (true) break; + +case 1: +//for +this.state = 10; +_tienda = new anywheresoftware.b4a.objects.collections.List(); +group8 = _coords; +index8 = 0; +groupLen8 = group8.getSize(); +this.state = 33; +if (true) break; + +case 33: +//C +this.state = 10; +if (index8 < groupLen8) { +this.state = 3; +_tienda = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(group8.Get(index8)));} +if (true) break; + +case 34: +//C +this.state = 33; +index8++; +if (true) break; + +case 3: +//C +this.state = 4; +RDebugUtils.currentLine=11075595; + //BA.debugLineNum = 11075595;BA.debugLine="If coordsStr = \"\" Then"; +if (true) break; + +case 4: +//if +this.state = 9; +if ((_coordsstr).equals("")) { +this.state = 6; +}else { +this.state = 8; +}if (true) break; + +case 6: +//C +this.state = 9; +RDebugUtils.currentLine=11075596; + //BA.debugLineNum = 11075596;BA.debugLine="coordsStr = $\"${tienda.get(0)},${tienda.get(1)}"; +_coordsstr = (""+parent.__c.SmartStringFormatter("",_tienda.Get((int) (0)))+","+parent.__c.SmartStringFormatter("",_tienda.Get((int) (1)))+","+parent.__c.SmartStringFormatter("",_tienda.Get((int) (2)))+""); + if (true) break; + +case 8: +//C +this.state = 9; +RDebugUtils.currentLine=11075598; + //BA.debugLineNum = 11075598;BA.debugLine="coordsStr = $\"${coordsStr};${tienda.get(0)},${t"; +_coordsstr = (""+parent.__c.SmartStringFormatter("",(Object)(_coordsstr))+";"+parent.__c.SmartStringFormatter("",_tienda.Get((int) (0)))+","+parent.__c.SmartStringFormatter("",_tienda.Get((int) (1)))+","+parent.__c.SmartStringFormatter("",_tienda.Get((int) (2)))+""); + if (true) break; + +case 9: +//C +this.state = 34; +; + if (true) break; +if (true) break; + +case 10: +//C +this.state = 11; +; +RDebugUtils.currentLine=11075601; + //BA.debugLineNum = 11075601;BA.debugLine="Log(coordsStr)"; +parent.__c.LogImpl("811075601",_coordsstr,0); +RDebugUtils.currentLine=11075602; + //BA.debugLineNum = 11075602;BA.debugLine="ProgressDialogShow2(\"Calculando distancia y tiemp"; +parent.__c.ProgressDialogShow2(ba,BA.ObjectToCharSequence("Calculando distancia y tiempo, un momento por favor."),parent.__c.False); +RDebugUtils.currentLine=11075603; + //BA.debugLineNum = 11075603;BA.debugLine="Dim j As HttpJob"; +_j = new reparto_izca.keymon.lat.httpjob(); +RDebugUtils.currentLine=11075604; + //BA.debugLineNum = 11075604;BA.debugLine="j.Initialize(\"trip\", Me) 'Calculamos el resto de"; +_j._initialize /*String*/ (null,ba,"trip",parent); +RDebugUtils.currentLine=11075605; + //BA.debugLineNum = 11075605;BA.debugLine="j.Download($\"http://keymon.net:9002/ruteador?m=OS"; +_j._download /*String*/ (null,("http://keymon.net:9002/ruteador?m=OSRM&r="+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traerutareparto /*String*/ (ba)))+"&a="+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traealmacen /*String*/ (ba)))+"&f=CEDIS,"+parent.__c.SmartStringFormatter("",(Object)(parent._starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLongitude()))+","+parent.__c.SmartStringFormatter("",(Object)(parent._starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLatitude()))+"&c="+parent.__c.SmartStringFormatter("",(Object)(_coordsstr))+"")); +RDebugUtils.currentLine=11075606; + //BA.debugLineNum = 11075606;BA.debugLine="Log($\"http://keymon.net:9002/ruteador?m=OSRM&r=${"; +parent.__c.LogImpl("811075606",("http://keymon.net:9002/ruteador?m=OSRM&r="+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traerutareparto /*String*/ (ba)))+"&a="+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traealmacen /*String*/ (ba)))+"&f=CEDIS,"+parent.__c.SmartStringFormatter("",(Object)(parent._starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLongitude()))+","+parent.__c.SmartStringFormatter("",(Object)(parent._starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLatitude()))+"&c="+parent.__c.SmartStringFormatter("",(Object)(_coordsstr))+""),0); +RDebugUtils.currentLine=11075607; + //BA.debugLineNum = 11075607;BA.debugLine="Wait For (j) JobDone(j As HttpJob)"; +parent.__c.WaitFor("jobdone", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_clientes", "cacularutagps"), (Object)(_j)); +this.state = 35; +return; +case 35: +//C +this.state = 11; +_j = (reparto_izca.keymon.lat.httpjob) result[1]; +; +RDebugUtils.currentLine=11075608; + //BA.debugLineNum = 11075608;BA.debugLine="If j.Success Then"; +if (true) break; + +case 11: +//if +this.state = 32; +if (_j._success /*boolean*/ ) { +this.state = 13; +}else { +this.state = 31; +}if (true) break; + +case 13: +//C +this.state = 14; +RDebugUtils.currentLine=11075609; + //BA.debugLineNum = 11075609;BA.debugLine="Dim jp As JSONParser"; +_jp = new anywheresoftware.b4a.objects.collections.JSONParser(); +RDebugUtils.currentLine=11075610; + //BA.debugLineNum = 11075610;BA.debugLine="jp.Initialize(j.GetString)"; +_jp.Initialize(_j._getstring /*String*/ (null)); +RDebugUtils.currentLine=11075611; + //BA.debugLineNum = 11075611;BA.debugLine="Dim m As Map = jp.NextObject"; +_m = new anywheresoftware.b4a.objects.collections.Map(); +_m = _jp.NextObject(); +RDebugUtils.currentLine=11075612; + //BA.debugLineNum = 11075612;BA.debugLine="Log(m)"; +parent.__c.LogImpl("811075612",BA.ObjectToString(_m),0); +RDebugUtils.currentLine=11075613; + //BA.debugLineNum = 11075613;BA.debugLine="If m.Get(\"code\") = \"OK\" Then"; +if (true) break; + +case 14: +//if +this.state = 29; +if ((_m.Get((Object)("code"))).equals((Object)("OK"))) { +this.state = 16; +}if (true) break; + +case 16: +//C +this.state = 17; +RDebugUtils.currentLine=11075614; + //BA.debugLineNum = 11075614;BA.debugLine="Log(\"===== OK\")"; +parent.__c.LogImpl("811075614","===== OK",0); +RDebugUtils.currentLine=11075615; + //BA.debugLineNum = 11075615;BA.debugLine="rutaGenerada = True"; +__ref._rutagenerada /*boolean*/ = parent.__c.True; +RDebugUtils.currentLine=11075616; + //BA.debugLineNum = 11075616;BA.debugLine="Dim puntos As Int = m.Get(\"puntos\")"; +_puntos = (int)(BA.ObjectToNumber(_m.Get((Object)("puntos")))); +RDebugUtils.currentLine=11075617; + //BA.debugLineNum = 11075617;BA.debugLine="Private coords As List = m.Get(\"coords\")"; +_coords = new anywheresoftware.b4a.objects.collections.List(); +_coords = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_m.Get((Object)("coords")))); +RDebugUtils.currentLine=11075618; + //BA.debugLineNum = 11075618;BA.debugLine="Private duration As String = m.Get(\"duration\")"; +_duration = BA.ObjectToString(_m.Get((Object)("duration"))); +RDebugUtils.currentLine=11075619; + //BA.debugLineNum = 11075619;BA.debugLine="Private distance As String = m.Get(\"distance\")"; +_distance = BA.ObjectToString(_m.Get((Object)("distance"))); +RDebugUtils.currentLine=11075620; + //BA.debugLineNum = 11075620;BA.debugLine="Private mensaje As String = m.Get(\"mensaje\")"; +_mensaje = BA.ObjectToString(_m.Get((Object)("mensaje"))); +RDebugUtils.currentLine=11075621; + //BA.debugLineNum = 11075621;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from waypoint"; +parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from waypoints"); +RDebugUtils.currentLine=11075622; + //BA.debugLineNum = 11075622;BA.debugLine="Starter.skmt.ExecNonQuery(\"update kmt_info set"; +parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("update kmt_info set SECUENCIA = 0"); +RDebugUtils.currentLine=11075623; + //BA.debugLineNum = 11075623;BA.debugLine="For i = 0 To coords.Size - 1"; +if (true) break; + +case 17: +//for +this.state = 20; +step37 = 1; +limit37 = (int) (_coords.getSize()-1); +_i = (int) (0) ; +this.state = 36; +if (true) break; + +case 36: +//C +this.state = 20; +if ((step37 > 0 && _i <= limit37) || (step37 < 0 && _i >= limit37)) this.state = 19; +if (true) break; + +case 37: +//C +this.state = 36; +_i = ((int)(0 + _i + step37)) ; +if (true) break; + +case 19: +//C +this.state = 37; +RDebugUtils.currentLine=11075624; + //BA.debugLineNum = 11075624;BA.debugLine="Private ti As Map = coords.Get(i)"; +_ti = new anywheresoftware.b4a.objects.collections.Map(); +_ti = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_coords.Get(_i))); +RDebugUtils.currentLine=11075625; + //BA.debugLineNum = 11075625;BA.debugLine="Starter.skmt.ExecNonQuery($\"update kmt_info se"; +parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update kmt_info set SECUENCIA = "+parent.__c.SmartStringFormatter("",_ti.Get((Object)("pos")))+" where CAT_CL_CODIGO = '"+parent.__c.SmartStringFormatter("",(Object)((BA.ObjectToString(_ti.Get((Object)("id")))).substring((int) (1))))+"'")); +RDebugUtils.currentLine=11075626; + //BA.debugLineNum = 11075626;BA.debugLine="Starter.skmt.ExecNonQuery($\"insert into waypoi"; +parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("insert into waypoints (codigo, indice) values ('"+parent.__c.SmartStringFormatter("",(Object)((BA.ObjectToString(_ti.Get((Object)("id")))).substring((int) (1))))+"', '"+parent.__c.SmartStringFormatter("",_ti.Get((Object)("pos")))+"')")); + if (true) break; +if (true) break; + +case 20: +//C +this.state = 21; +; +RDebugUtils.currentLine=11075628; + //BA.debugLineNum = 11075628;BA.debugLine="c = Starter.skmt.ExecQuery(\"select codigo, indi"; +__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 codigo, indice, CAT_CL_NOMBRE, CAT_CL_CALLE, CAT_CL_NOEXT from waypoints inner join kmt_info on waypoints.codigo = kmt_info.CAT_CL_CODIGO where gestion = 0 AND CAT_CL_RUTA <> 1000 order by indice"))); +RDebugUtils.currentLine=11075629; + //BA.debugLineNum = 11075629;BA.debugLine="If c.RowCount > 0 Then 'Ya hay waypoints en la"; +if (true) break; + +case 21: +//if +this.state = 28; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +this.state = 23; +}if (true) break; + +case 23: +//C +this.state = 24; +RDebugUtils.currentLine=11075630; + //BA.debugLineNum = 11075630;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=11075631; + //BA.debugLineNum = 11075631;BA.debugLine="conMapa = True"; +__ref._conmapa /*boolean*/ = parent.__c.True; +RDebugUtils.currentLine=11075632; + //BA.debugLineNum = 11075632;BA.debugLine="ListView1.Clear"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=11075633; + //BA.debugLineNum = 11075633;BA.debugLine="Dim cs, cs2 As CSBuilder"; +_cs = new anywheresoftware.b4a.objects.CSBuilder(); +_cs2 = new anywheresoftware.b4a.objects.CSBuilder(); +RDebugUtils.currentLine=11075634; + //BA.debugLineNum = 11075634;BA.debugLine="entro = 3"; +__ref._entro /*String*/ = BA.NumberToString(3); +RDebugUtils.currentLine=11075635; + //BA.debugLineNum = 11075635;BA.debugLine="For i=0 To c.RowCount -1 'Generamos el listVie"; +if (true) break; + +case 24: +//for +this.state = 27; +step49 = 1; +limit49 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +this.state = 38; +if (true) break; + +case 38: +//C +this.state = 27; +if ((step49 > 0 && _i <= limit49) || (step49 < 0 && _i >= limit49)) this.state = 26; +if (true) break; + +case 39: +//C +this.state = 38; +_i = ((int)(0 + _i + step49)) ; +if (true) break; + +case 26: +//C +this.state = 39; +RDebugUtils.currentLine=11075636; + //BA.debugLineNum = 11075636;BA.debugLine="c.Position = i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=11075637; + //BA.debugLineNum = 11075637;BA.debugLine="cs.Initialize"; +_cs.Initialize(); +RDebugUtils.currentLine=11075638; + //BA.debugLineNum = 11075638;BA.debugLine="cs2.Initialize"; +_cs2.Initialize(); +RDebugUtils.currentLine=11075639; + //BA.debugLineNum = 11075639;BA.debugLine="ListView1.AddTwoLines(cs.Color(Colors.RGB(100"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddTwoLines(BA.ObjectToCharSequence(_cs.Color(parent.__c.Colors.RGB((int) (100),(int) (149),(int) (237))).Append(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("codigo"))).PopAll().getObject()),BA.ObjectToCharSequence(_cs2.Append(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_NOMBRE"))).Color(parent.__c.Colors.RGB((int) (100),(int) (149),(int) (237))).Append(BA.ObjectToCharSequence(" Calle: ")).Pop().Append(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CALLE").trim()+" "+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_NOEXT"))).PopAll().getObject())); + if (true) break; +if (true) break; + +case 27: +//C +this.state = 28; +; + if (true) break; + +case 28: +//C +this.state = 29; +; +RDebugUtils.currentLine=11075642; + //BA.debugLineNum = 11075642;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=11075643; + //BA.debugLineNum = 11075643;BA.debugLine="Log($\"Distancia total: $1.1{distance/1000} kms,"; +parent.__c.LogImpl("811075643",("Distancia total: "+parent.__c.SmartStringFormatter("1.1",(Object)((double)(Double.parseDouble(_distance))/(double)1000))+" kms, tiempo aprox: "+parent.__c.SmartStringFormatter("1.1",(Object)((double)(Double.parseDouble(_duration))/(double)60))+" mins. ("+parent.__c.SmartStringFormatter("1.1",(Object)((double)(Double.parseDouble(_duration))/(double)60/(double)60))+" hrs)"),0); +RDebugUtils.currentLine=11075644; + //BA.debugLineNum = 11075644;BA.debugLine="l_rutaInfo.Text = $\"Distancia: $1.1{distance/10"; +__ref._l_rutainfo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(("Distancia: "+parent.__c.SmartStringFormatter("1.1",(Object)((double)(Double.parseDouble(_distance))/(double)1000))+" kms, tiempo aprox: "+parent.__c.SmartStringFormatter("1.1",(Object)((double)(Double.parseDouble(_duration))/(double)60/(double)60))+" hrs"+parent.__c.SmartStringFormatter("",(Object)(parent.__c.CRLF))+"Visitas restantes: "+parent.__c.SmartStringFormatter("",(Object)(_puntos-1))+""))); +RDebugUtils.currentLine=11075645; + //BA.debugLineNum = 11075645;BA.debugLine="l_rutaInfo.Width = Root.Width * 0.9"; +__ref._l_rutainfo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setWidth((int) (__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()*0.9)); +RDebugUtils.currentLine=11075646; + //BA.debugLineNum = 11075646;BA.debugLine="Subs.centraEtiqueta(l_rutaInfo, Root.Width)"; +parent._subs._centraetiqueta /*String*/ (ba,__ref._l_rutainfo /*anywheresoftware.b4a.objects.LabelWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=11075647; + //BA.debugLineNum = 11075647;BA.debugLine="l_rutaInfo.Visible = True"; +__ref._l_rutainfo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(parent.__c.True); +RDebugUtils.currentLine=11075648; + //BA.debugLineNum = 11075648;BA.debugLine="l_rutaInfo.BringToFront"; +__ref._l_rutainfo /*anywheresoftware.b4a.objects.LabelWrapper*/ .BringToFront(); +RDebugUtils.currentLine=11075649; + //BA.debugLineNum = 11075649;BA.debugLine="ListView1.Top = lv1Top + 100"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setTop((int) ((double)(Double.parseDouble(__ref._lv1top /*String*/ ))+100)); + if (true) break; + +case 29: +//C +this.state = 32; +; + if (true) break; + +case 31: +//C +this.state = 32; +RDebugUtils.currentLine=11075652; + //BA.debugLineNum = 11075652;BA.debugLine="LogColor(\"**************** Error! ************"; +parent.__c.LogImpl("811075652","**************** Error! ******************",parent.__c.Colors.Red); + if (true) break; + +case 32: +//C +this.state = -1; +; +RDebugUtils.currentLine=11075654; + //BA.debugLineNum = 11075654;BA.debugLine="j.Release"; +_j._release /*String*/ (null); +RDebugUtils.currentLine=11075655; + //BA.debugLineNum = 11075655;BA.debugLine="ProgressDialogHide"; +parent.__c.ProgressDialogHide(); +RDebugUtils.currentLine=11075656; + //BA.debugLineNum = 11075656;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public anywheresoftware.b4a.objects.collections.List _todosavisitar(reparto_izca.keymon.lat.c_clientes __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_clientes"; +if (Debug.shouldDelegate(ba, "todosavisitar", false)) + {return ((anywheresoftware.b4a.objects.collections.List) Debug.delegate(ba, "todosavisitar", null));} +String _sqlderuta = ""; +anywheresoftware.b4a.objects.collections.List _avisitar = null; +anywheresoftware.b4a.objects.collections.List _tmplist = null; +anywheresoftware.b4a.sql.SQL.ResultSetWrapper _coords = null; +RDebugUtils.currentLine=11141120; + //BA.debugLineNum = 11141120;BA.debugLine="Sub todosAVisitar As List"; +RDebugUtils.currentLine=11141121; + //BA.debugLineNum = 11141121;BA.debugLine="Log(laRuta)"; +__c.LogImpl("811141121",__ref._laruta /*String*/ ,0); +RDebugUtils.currentLine=11141122; + //BA.debugLineNum = 11141122;BA.debugLine="Log(entro)"; +__c.LogImpl("811141122",__ref._entro /*String*/ ,0); +RDebugUtils.currentLine=11141123; + //BA.debugLineNum = 11141123;BA.debugLine="Private sqlDeRuta As String = \"\""; +_sqlderuta = ""; +RDebugUtils.currentLine=11141124; + //BA.debugLineNum = 11141124;BA.debugLine="If entro = 3 Then sqlDeRuta = $\"and CAT_CL_RUTA ="; +if ((__ref._entro /*String*/ ).equals(BA.NumberToString(3))) { +_sqlderuta = ("and CAT_CL_RUTA = '"+__c.SmartStringFormatter("",(Object)(__ref._laruta /*String*/ ))+"'");}; +RDebugUtils.currentLine=11141125; + //BA.debugLineNum = 11141125;BA.debugLine="Private aVisitar, tmpList As List"; +_avisitar = new anywheresoftware.b4a.objects.collections.List(); +_tmplist = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=11141126; + //BA.debugLineNum = 11141126;BA.debugLine="aVisitar.Initialize"; +_avisitar.Initialize(); +RDebugUtils.currentLine=11141127; + //BA.debugLineNum = 11141127;BA.debugLine="Private coords As ResultSet = Starter.skmt.ExecQu"; +_coords = new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(); +_coords = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_CL_CODIGO, CAT_CL_LAT, CAT_CL_LONG from kmt_info where gestion = 0 AND CAT_CL_RUTA <> 1000 "+__c.SmartStringFormatter("",(Object)(_sqlderuta))+"")))); +RDebugUtils.currentLine=11141128; + //BA.debugLineNum = 11141128;BA.debugLine="Do While coords.NextRow"; +while (_coords.NextRow()) { +RDebugUtils.currentLine=11141129; + //BA.debugLineNum = 11141129;BA.debugLine="tmpList.Initialize"; +_tmplist.Initialize(); +RDebugUtils.currentLine=11141130; + //BA.debugLineNum = 11141130;BA.debugLine="tmpList.AddAll(Array As String(coords.GetString("; +_tmplist.AddAll(anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_coords.GetString("CAT_CL_CODIGO"),_coords.GetString("CAT_CL_LONG"),_coords.GetString("CAT_CL_LAT")})); +RDebugUtils.currentLine=11141131; + //BA.debugLineNum = 11141131;BA.debugLine="aVisitar.Add(tmpList)"; +_avisitar.Add((Object)(_tmplist.getObject())); + } +; +RDebugUtils.currentLine=11141133; + //BA.debugLineNum = 11141133;BA.debugLine="Log(aVisitar)"; +__c.LogImpl("811141133",BA.ObjectToString(_avisitar),0); +RDebugUtils.currentLine=11141134; + //BA.debugLineNum = 11141134;BA.debugLine="Return aVisitar"; +if (true) return _avisitar; +RDebugUtils.currentLine=11141135; + //BA.debugLineNum = 11141135;BA.debugLine="End Sub"; +return null; +} +public String _b_getrutainfo_longclick(reparto_izca.keymon.lat.c_clientes __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_clientes"; +if (Debug.shouldDelegate(ba, "b_getrutainfo_longclick", false)) + {return ((String) Debug.delegate(ba, "b_getrutainfo_longclick", null));} +RDebugUtils.currentLine=10944512; + //BA.debugLineNum = 10944512;BA.debugLine="Private Sub b_getRutaInfo_LongClick"; +RDebugUtils.currentLine=10944513; + //BA.debugLineNum = 10944513;BA.debugLine="If b_limpiarRuta.Visible Then"; +if (__ref._b_limpiarruta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .getVisible()) { +RDebugUtils.currentLine=10944514; + //BA.debugLineNum = 10944514;BA.debugLine="b_limpiarRuta.Visible = False"; +__ref._b_limpiarruta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); + }else { +RDebugUtils.currentLine=10944516; + //BA.debugLineNum = 10944516;BA.debugLine="b_limpiarRuta.Visible = True"; +__ref._b_limpiarruta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); + }; +RDebugUtils.currentLine=10944518; + //BA.debugLineNum = 10944518;BA.debugLine="End Sub"; +return ""; +} +public String _b_limpiarruta_click(reparto_izca.keymon.lat.c_clientes __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_clientes"; +if (Debug.shouldDelegate(ba, "b_limpiarruta_click", false)) + {return ((String) Debug.delegate(ba, "b_limpiarruta_click", null));} +RDebugUtils.currentLine=11010048; + //BA.debugLineNum = 11010048;BA.debugLine="Private Sub b_limpiarRuta_Click"; +RDebugUtils.currentLine=11010049; + //BA.debugLineNum = 11010049;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from waypoints\""; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from waypoints"); +RDebugUtils.currentLine=11010050; + //BA.debugLineNum = 11010050;BA.debugLine="b_limpiarRuta.Visible = False"; +__ref._b_limpiarruta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=11010051; + //BA.debugLineNum = 11010051;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); +RDebugUtils.currentLine=11010052; + //BA.debugLineNum = 11010052;BA.debugLine="End Sub"; +return ""; +} +public String _b4xpage_appear(reparto_izca.keymon.lat.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));} +anywheresoftware.b4a.objects.CSBuilder _cs = null; +anywheresoftware.b4a.objects.CSBuilder _cs2 = null; +int _i = 0; +anywheresoftware.b4a.sql.SQL.CursorWrapper _x = null; +String[] _y = null; +RDebugUtils.currentLine=10223616; + //BA.debugLineNum = 10223616;BA.debugLine="Sub B4XPage_Appear"; +RDebugUtils.currentLine=10223617; + //BA.debugLineNum = 10223617;BA.debugLine="busca.Text = \"\""; +__ref._busca /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=10223618; + //BA.debugLineNum = 10223618;BA.debugLine="b_GetDirs.Visible = False"; +__ref._b_getdirs /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=10223620; + //BA.debugLineNum = 10223620;BA.debugLine="entro =\"2\""; +__ref._entro /*String*/ = "2"; +RDebugUtils.currentLine=10223624; + //BA.debugLineNum = 10223624;BA.debugLine="p_colonia.Width = Root.Width"; +__ref._p_colonia /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=10223625; + //BA.debugLineNum = 10223625;BA.debugLine="p_colonia.Height = Root.Height"; +__ref._p_colonia /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=10223626; + //BA.debugLineNum = 10223626;BA.debugLine="p_colonia.Top = 0"; +__ref._p_colonia /*anywheresoftware.b4a.objects.PanelWrapper*/ .setTop((int) (0)); +RDebugUtils.currentLine=10223627; + //BA.debugLineNum = 10223627;BA.debugLine="p_colonia.Left = 0"; +__ref._p_colonia /*anywheresoftware.b4a.objects.PanelWrapper*/ .setLeft((int) (0)); +RDebugUtils.currentLine=10223628; + //BA.debugLineNum = 10223628;BA.debugLine="Subs.centraListView(ListView1, p_colonia.Width)"; +_subs._centralistview /*String*/ (ba,__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ ,__ref._p_colonia /*anywheresoftware.b4a.objects.PanelWrapper*/ .getWidth()); +RDebugUtils.currentLine=10223629; + //BA.debugLineNum = 10223629;BA.debugLine="ListView1.Height = p_colonia.Height * 0.75"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setHeight((int) (__ref._p_colonia /*anywheresoftware.b4a.objects.PanelWrapper*/ .getHeight()*0.75)); +RDebugUtils.currentLine=10223630; + //BA.debugLineNum = 10223630;BA.debugLine="Subs.SetDivider(ListView1, Colors.LightGray, 2)"; +_subs._setdivider /*String*/ (ba,__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ ,__c.Colors.LightGray,(int) (2)); +RDebugUtils.currentLine=10223631; + //BA.debugLineNum = 10223631;BA.debugLine="If Not(l_rutaInfo.Visible) Then"; +if (__c.Not(__ref._l_rutainfo /*anywheresoftware.b4a.objects.LabelWrapper*/ .getVisible())) { +RDebugUtils.currentLine=10223632; + //BA.debugLineNum = 10223632;BA.debugLine="ListView1.Top = lv1Top"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setTop((int)(Double.parseDouble(__ref._lv1top /*String*/ ))); + }else { +RDebugUtils.currentLine=10223634; + //BA.debugLineNum = 10223634;BA.debugLine="ListView1.Top = lv1Top + 100"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setTop((int) ((double)(Double.parseDouble(__ref._lv1top /*String*/ ))+100)); + }; +RDebugUtils.currentLine=10223636; + //BA.debugLineNum = 10223636;BA.debugLine="c=Starter.skmt.ExecQuery(\"select codigo, indice,"; +__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 codigo, indice, CAT_CL_NOMBRE, CAT_CL_CALLE, CAT_CL_NOEXT from waypoints inner join kmt_info on waypoints.codigo = kmt_info.CAT_CL_CODIGO where gestion = 0 AND CAT_CL_RUTA <> 1000 order by indice"))); +RDebugUtils.currentLine=10223637; + //BA.debugLineNum = 10223637;BA.debugLine="If c.RowCount > 0 Then 'Ya hay waypoints en la ba"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=10223638; + //BA.debugLineNum = 10223638;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=10223640; + //BA.debugLineNum = 10223640;BA.debugLine="conMapa = True"; +__ref._conmapa /*boolean*/ = __c.True; +RDebugUtils.currentLine=10223642; + //BA.debugLineNum = 10223642;BA.debugLine="ListView1.Clear"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=10223643; + //BA.debugLineNum = 10223643;BA.debugLine="Dim cs, cs2 As CSBuilder"; +_cs = new anywheresoftware.b4a.objects.CSBuilder(); +_cs2 = new anywheresoftware.b4a.objects.CSBuilder(); +RDebugUtils.currentLine=10223644; + //BA.debugLineNum = 10223644;BA.debugLine="entro = 3"; +__ref._entro /*String*/ = BA.NumberToString(3); +RDebugUtils.currentLine=10223646; + //BA.debugLineNum = 10223646;BA.debugLine="For i=0 To c.RowCount -1 'Generamos el listView"; +{ +final int step23 = 1; +final int limit23 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit23 ;_i = _i + step23 ) { +RDebugUtils.currentLine=10223647; + //BA.debugLineNum = 10223647;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=10223648; + //BA.debugLineNum = 10223648;BA.debugLine="cs.Initialize"; +_cs.Initialize(); +RDebugUtils.currentLine=10223649; + //BA.debugLineNum = 10223649;BA.debugLine="cs2.Initialize"; +_cs2.Initialize(); +RDebugUtils.currentLine=10223653; + //BA.debugLineNum = 10223653;BA.debugLine="ListView1.AddTwoLines(cs.Color(Colors.RGB(100,1"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddTwoLines(BA.ObjectToCharSequence(_cs.Color(__c.Colors.RGB((int) (100),(int) (149),(int) (237))).Append(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("codigo"))).PopAll().getObject()),BA.ObjectToCharSequence(_cs2.Append(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_NOMBRE"))).Color(__c.Colors.RGB((int) (100),(int) (149),(int) (237))).Append(BA.ObjectToCharSequence(" Calle: ")).Pop().Append(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CALLE").trim()+" "+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_NOEXT"))).PopAll().getObject())); + } +}; + }else { +RDebugUtils.currentLine=10223656; + //BA.debugLineNum = 10223656;BA.debugLine="generaListViewRutas"; +__ref._generalistviewrutas /*void*/ (null); + }; +RDebugUtils.currentLine=10223658; + //BA.debugLineNum = 10223658;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=10223659; + //BA.debugLineNum = 10223659;BA.debugLine="p_colonia.Width = Root.Width"; +__ref._p_colonia /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=10223660; + //BA.debugLineNum = 10223660;BA.debugLine="p_colonia.Height = Root.Height"; +__ref._p_colonia /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=10223661; + //BA.debugLineNum = 10223661;BA.debugLine="Subs.centraEtiqueta(l_rutaInfo, Root.Width)"; +_subs._centraetiqueta /*String*/ (ba,__ref._l_rutainfo /*anywheresoftware.b4a.objects.LabelWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=10223662; + //BA.debugLineNum = 10223662;BA.debugLine="Subs.centraListView(ListView1, p_colonia.Width)"; +_subs._centralistview /*String*/ (ba,__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ ,__ref._p_colonia /*anywheresoftware.b4a.objects.PanelWrapper*/ .getWidth()); +RDebugUtils.currentLine=10223663; + //BA.debugLineNum = 10223663;BA.debugLine="ListView1.Height = p_colonia.Height * 0.70"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setHeight((int) (__ref._p_colonia /*anywheresoftware.b4a.objects.PanelWrapper*/ .getHeight()*0.70)); +RDebugUtils.currentLine=10223664; + //BA.debugLineNum = 10223664;BA.debugLine="Subs.centraEtiqueta(lfila, Root.Width)"; +_subs._centraetiqueta /*String*/ (ba,__ref._lfila /*anywheresoftware.b4a.objects.LabelWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=10223665; + //BA.debugLineNum = 10223665;BA.debugLine="b_getRutaInfo.Visible = True"; +__ref._b_getrutainfo /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=10223666; + //BA.debugLineNum = 10223666;BA.debugLine="b_getRutaInfo.BringToFront"; +__ref._b_getrutainfo /*anywheresoftware.b4a.objects.ButtonWrapper*/ .BringToFront(); +RDebugUtils.currentLine=10223667; + //BA.debugLineNum = 10223667;BA.debugLine="If Starter.cedisLocation.Latitude = \"0\" Then"; +if (_starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLatitude()==(double)(Double.parseDouble("0"))) { +RDebugUtils.currentLine=10223668; + //BA.debugLineNum = 10223668;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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select * from CAT_VARIABLES where CAT_VA_DESCRIPCION = 'COORDS_ALMACEN'"))); +RDebugUtils.currentLine=10223669; + //BA.debugLineNum = 10223669;BA.debugLine="If x.RowCount > 0 Then"; +if (_x.getRowCount()>0) { +RDebugUtils.currentLine=10223670; + //BA.debugLineNum = 10223670;BA.debugLine="x.Position = 0"; +_x.setPosition((int) (0)); +RDebugUtils.currentLine=10223671; + //BA.debugLineNum = 10223671;BA.debugLine="Private y() As String"; +_y = new String[(int) (0)]; +java.util.Arrays.fill(_y,""); +RDebugUtils.currentLine=10223672; + //BA.debugLineNum = 10223672;BA.debugLine="Starter.cedisLocation.Latitude = Regex.Split(\","; +_starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .setLatitude((double)(Double.parseDouble(__c.Regex.Split(",",_x.GetString("CAT_VA_VALOR"))[(int) (1)]))); +RDebugUtils.currentLine=10223673; + //BA.debugLineNum = 10223673;BA.debugLine="Starter.cedisLocation.Longitude = Regex.Split(\""; +_starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .setLongitude((double)(Double.parseDouble(__c.Regex.Split(",",_x.GetString("CAT_VA_VALOR"))[(int) (0)]))); + }; + }; +RDebugUtils.currentLine=10223676; + //BA.debugLineNum = 10223676;BA.debugLine="Log(Starter.cedisLocation)"; +__c.LogImpl("810223676",BA.ObjectToString(_starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ ),0); +RDebugUtils.currentLine=10223677; + //BA.debugLineNum = 10223677;BA.debugLine="End Sub"; +return ""; +} +public void _generalistviewrutas(reparto_izca.keymon.lat.c_clientes __ref) throws Exception{ +RDebugUtils.currentModule="c_clientes"; +if (Debug.shouldDelegate(ba, "generalistviewrutas", false)) + {Debug.delegate(ba, "generalistviewrutas", null); return;} +ResumableSub_generaListViewRutas rsub = new ResumableSub_generaListViewRutas(this,__ref); +rsub.resume(ba, null); +} +public static class ResumableSub_generaListViewRutas extends BA.ResumableSub { +public ResumableSub_generaListViewRutas(reparto_izca.keymon.lat.c_clientes parent,reparto_izca.keymon.lat.c_clientes __ref) { +this.parent = parent; +this.__ref = __ref; +this.__ref = parent; +} +reparto_izca.keymon.lat.c_clientes __ref; +reparto_izca.keymon.lat.c_clientes parent; +anywheresoftware.b4a.objects.LabelWrapper _label1 = null; +anywheresoftware.b4a.objects.LabelWrapper _label2 = null; +int _i = 0; +int step16; +int limit16; + +@Override +public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="c_clientes"; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +RDebugUtils.currentLine=10420225; + //BA.debugLineNum = 10420225;BA.debugLine="ListView1.Clear"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=10420226; + //BA.debugLineNum = 10420226;BA.debugLine="Sleep(110)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_clientes", "generalistviewrutas"),(int) (110)); +this.state = 9; +return; +case 9: +//C +this.state = 1; +; +RDebugUtils.currentLine=10420227; + //BA.debugLineNum = 10420227;BA.debugLine="lfila.Text = \"RUTA PREVENTA\""; +__ref._lfila /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("RUTA PREVENTA")); +RDebugUtils.currentLine=10420228; + //BA.debugLineNum = 10420228;BA.debugLine="Dim label1 As Label"; +_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=10420229; + //BA.debugLineNum = 10420229;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; +_label1 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().Label; +RDebugUtils.currentLine=10420230; + //BA.debugLineNum = 10420230;BA.debugLine="label1.TextSize = 15"; +_label1.setTextSize((float) (15)); +RDebugUtils.currentLine=10420231; + //BA.debugLineNum = 10420231;BA.debugLine="label1.TextColor = Colors.Black"; +_label1.setTextColor(parent.__c.Colors.Black); +RDebugUtils.currentLine=10420232; + //BA.debugLineNum = 10420232;BA.debugLine="Dim label2 As Label"; +_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=10420233; + //BA.debugLineNum = 10420233;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; +_label2 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().SecondLabel; +RDebugUtils.currentLine=10420234; + //BA.debugLineNum = 10420234;BA.debugLine="label2.TextSize = 15"; +_label2.setTextSize((float) (15)); +RDebugUtils.currentLine=10420235; + //BA.debugLineNum = 10420235;BA.debugLine="label2.TextColor = Colors.Black"; +_label2.setTextColor(parent.__c.Colors.Black); +RDebugUtils.currentLine=10420236; + //BA.debugLineNum = 10420236;BA.debugLine="ListView1.TwoLinesLayout.ItemHeight = 60dip"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().setItemHeight(parent.__c.DipToCurrent((int) (60))); +RDebugUtils.currentLine=10420237; + //BA.debugLineNum = 10420237;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CAT_CL_RUTA, 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._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_RUTA, count(*) as cuantos from kmt_info where gestion = 0 AND CAT_CL_RUTA <> 1000 group by CAT_CL_RUTA order by CAT_CL_RUTA asc"))); +RDebugUtils.currentLine=10420238; + //BA.debugLineNum = 10420238;BA.debugLine="If c.RowCount>0 Then"; +if (true) break; + +case 1: +//if +this.state = 8; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +this.state = 3; +}if (true) break; + +case 3: +//C +this.state = 4; +RDebugUtils.currentLine=10420239; + //BA.debugLineNum = 10420239;BA.debugLine="ListView1.Clear"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=10420240; + //BA.debugLineNum = 10420240;BA.debugLine="For i=0 To c.RowCount -1"; +if (true) break; + +case 4: +//for +this.state = 7; +step16 = 1; +limit16 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +this.state = 10; +if (true) break; + +case 10: +//C +this.state = 7; +if ((step16 > 0 && _i <= limit16) || (step16 < 0 && _i >= limit16)) this.state = 6; +if (true) break; + +case 11: +//C +this.state = 10; +_i = ((int)(0 + _i + step16)) ; +if (true) break; + +case 6: +//C +this.state = 11; +RDebugUtils.currentLine=10420241; + //BA.debugLineNum = 10420241;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=10420242; + //BA.debugLineNum = 10420242;BA.debugLine="ListView1.AddTwoLines(\"Ruta: \" & c.GetString(\"C"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddTwoLines(BA.ObjectToCharSequence("Ruta: "+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_RUTA")),BA.ObjectToCharSequence("Por visitar: "+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("cuantos"))); + if (true) break; +if (true) break; + +case 7: +//C +this.state = 8; +; + if (true) break; + +case 8: +//C +this.state = -1; +; +RDebugUtils.currentLine=10420245; + //BA.debugLineNum = 10420245;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=10420246; + //BA.debugLineNum = 10420246;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _b4xpage_closerequest(reparto_izca.keymon.lat.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(reparto_izca.keymon.lat.c_clientes parent,reparto_izca.keymon.lat.c_clientes __ref) { +this.parent = parent; +this.__ref = __ref; +this.__ref = parent; +} +reparto_izca.keymon.lat.c_clientes __ref; +reparto_izca.keymon.lat.c_clientes parent; + +@Override +public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="c_clientes"; + + while (true) { + switch (state) { + case -1: +{ +parent.__c.ReturnFromResumableSub(this,null);return;} +case 0: +//C +this.state = 1; +RDebugUtils.currentLine=10289155; + //BA.debugLineNum = 10289155;BA.debugLine="Log(entro)"; +parent.__c.LogImpl("810289155",__ref._entro /*String*/ ,0); +RDebugUtils.currentLine=10289156; + //BA.debugLineNum = 10289156;BA.debugLine="If rutaGenerada Or entro = 3 Then ' Si ya generam"; +if (true) break; + +case 1: +//if +this.state = 6; +if (__ref._rutagenerada /*boolean*/ || (__ref._entro /*String*/ ).equals(BA.NumberToString(3))) { +this.state = 3; +}else +{RDebugUtils.currentLine=10289160; + //BA.debugLineNum = 10289160;BA.debugLine="else if entro = 2 Then ' Si estamos mostrando las"; +if ((__ref._entro /*String*/ ).equals(BA.NumberToString(2))) { +this.state = 5; +}} +if (true) break; + +case 3: +//C +this.state = 6; +RDebugUtils.currentLine=10289157; + //BA.debugLineNum = 10289157;BA.debugLine="b_limpiarRuta_Click"; +__ref._b_limpiarruta_click /*String*/ (null); +RDebugUtils.currentLine=10289158; + //BA.debugLineNum = 10289158;BA.debugLine="l_rutaInfo.Text = \"\""; +__ref._l_rutainfo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=10289159; + //BA.debugLineNum = 10289159;BA.debugLine="rutaGenerada = False"; +__ref._rutagenerada /*boolean*/ = parent.__c.False; + if (true) break; + +case 5: +//C +this.state = 6; +RDebugUtils.currentLine=10289161; + //BA.debugLineNum = 10289161;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +parent._b4xpages._showpage /*String*/ (ba,"Principal"); + if (true) break; + +case 6: +//C +this.state = -1; +; +RDebugUtils.currentLine=10289163; + //BA.debugLineNum = 10289163;BA.debugLine="Return False"; +if (true) { +parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; +RDebugUtils.currentLine=10289164; + //BA.debugLineNum = 10289164;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public String _busca_textchanged(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=10551296; + //BA.debugLineNum = 10551296;BA.debugLine="Sub BUSCA_TextChanged (Old As String, New As Strin"; +RDebugUtils.currentLine=10551297; + //BA.debugLineNum = 10551297;BA.debugLine="q_buscar = \"%\" & busca.Text & \"%\""; +__ref._q_buscar /*String*/ = "%"+__ref._busca /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()+"%"; +RDebugUtils.currentLine=10551298; + //BA.debugLineNum = 10551298;BA.debugLine="c2=Starter.skmt.ExecQuery2(\"select CAT_CL_NOMBRE"; +__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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_CL_NOMBRE, CAT_CL_CALLE, CAT_CL_CODIGO from kmt_info where CAT_CL_NOMBRE like ? and gestion = 0 AND CAT_CL_RUTA <> 1000 order by CAT_CL_CODIGO ",new String[]{__ref._q_buscar /*String*/ }))); +RDebugUtils.currentLine=10551299; + //BA.debugLineNum = 10551299;BA.debugLine="ListView1.Clear"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=10551300; + //BA.debugLineNum = 10551300;BA.debugLine="lfila.text = \"Nombre y Calle\""; +__ref._lfila /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("Nombre y Calle")); +RDebugUtils.currentLine=10551301; + //BA.debugLineNum = 10551301;BA.debugLine="Subs.SetDivider(ListView1, Colors.LightGray, 2)"; +_subs._setdivider /*String*/ (ba,__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ ,__c.Colors.LightGray,(int) (2)); +RDebugUtils.currentLine=10551302; + //BA.debugLineNum = 10551302;BA.debugLine="If c2.RowCount>0 Then"; +if (__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=10551303; + //BA.debugLineNum = 10551303;BA.debugLine="For i=0 To c2.RowCount -1"; +{ +final int step7 = 1; +final int limit7 = (int) (__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit7 ;_i = _i + step7 ) { +RDebugUtils.currentLine=10551304; + //BA.debugLineNum = 10551304;BA.debugLine="c2.Position=i"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=10551305; + //BA.debugLineNum = 10551305;BA.debugLine="Dim label1 As Label"; +_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=10551306; + //BA.debugLineNum = 10551306;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; +_label1 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().Label; +RDebugUtils.currentLine=10551307; + //BA.debugLineNum = 10551307;BA.debugLine="label1.TextSize = 15"; +_label1.setTextSize((float) (15)); +RDebugUtils.currentLine=10551308; + //BA.debugLineNum = 10551308;BA.debugLine="label1.TextColor = Colors.Black"; +_label1.setTextColor(__c.Colors.Black); +RDebugUtils.currentLine=10551309; + //BA.debugLineNum = 10551309;BA.debugLine="Dim label2 As Label"; +_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=10551310; + //BA.debugLineNum = 10551310;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; +_label2 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().SecondLabel; +RDebugUtils.currentLine=10551311; + //BA.debugLineNum = 10551311;BA.debugLine="label2.TextSize = 15"; +_label2.setTextSize((float) (15)); +RDebugUtils.currentLine=10551312; + //BA.debugLineNum = 10551312;BA.debugLine="label2.TextColor = Colors.Black"; +_label2.setTextColor(__c.Colors.Black); +RDebugUtils.currentLine=10551313; + //BA.debugLineNum = 10551313;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")+" CALLE: "+__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CALLE"))); + } +}; + }; +RDebugUtils.currentLine=10551316; + //BA.debugLineNum = 10551316;BA.debugLine="entro = \"3\""; +__ref._entro /*String*/ = "3"; +RDebugUtils.currentLine=10551317; + //BA.debugLineNum = 10551317;BA.debugLine="c2.Close"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=10551318; + //BA.debugLineNum = 10551318;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(reparto_izca.keymon.lat.c_clientes __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_clientes"; +RDebugUtils.currentLine=10027008; + //BA.debugLineNum = 10027008;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=10027009; + //BA.debugLineNum = 10027009;BA.debugLine="Private Root As B4XView 'ignore"; +_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=10027010; + //BA.debugLineNum = 10027010;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=10027011; + //BA.debugLineNum = 10027011;BA.debugLine="Dim q_buscar As String"; +_q_buscar = ""; +RDebugUtils.currentLine=10027013; + //BA.debugLineNum = 10027013;BA.debugLine="Dim entro As String"; +_entro = ""; +RDebugUtils.currentLine=10027014; + //BA.debugLineNum = 10027014;BA.debugLine="Dim c As Cursor"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=10027015; + //BA.debugLineNum = 10027015;BA.debugLine="Dim c2 As Cursor"; +_c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=10027016; + //BA.debugLineNum = 10027016;BA.debugLine="Dim ListView1 As ListView"; +_listview1 = new anywheresoftware.b4a.objects.ListViewWrapper(); +RDebugUtils.currentLine=10027018; + //BA.debugLineNum = 10027018;BA.debugLine="Dim lfila As Label"; +_lfila = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=10027019; + //BA.debugLineNum = 10027019;BA.debugLine="Dim busca As EditText"; +_busca = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=10027020; + //BA.debugLineNum = 10027020;BA.debugLine="Private p_colonia As Panel"; +_p_colonia = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=10027023; + //BA.debugLineNum = 10027023;BA.debugLine="Dim laRuta As String"; +_laruta = ""; +RDebugUtils.currentLine=10027024; + //BA.debugLineNum = 10027024;BA.debugLine="Private b_GetDirs As Button"; +_b_getdirs = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=10027025; + //BA.debugLineNum = 10027025;BA.debugLine="Private distOrderedMap, clientesMapaO As B4XOrder"; +_distorderedmap = new reparto_izca.keymon.lat.b4xorderedmap(); +_clientesmapao = new reparto_izca.keymon.lat.b4xorderedmap(); +RDebugUtils.currentLine=10027026; + //BA.debugLineNum = 10027026;BA.debugLine="Private img_getDirs As ImageView"; +_img_getdirs = new anywheresoftware.b4a.objects.ImageViewWrapper(); +RDebugUtils.currentLine=10027027; + //BA.debugLineNum = 10027027;BA.debugLine="Private l_rutaInfo As Label"; +_l_rutainfo = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=10027028; + //BA.debugLineNum = 10027028;BA.debugLine="Private b_getRutaInfo As Button"; +_b_getrutainfo = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=10027029; + //BA.debugLineNum = 10027029;BA.debugLine="Private conMapa As Boolean = False"; +_conmapa = __c.False; +RDebugUtils.currentLine=10027030; + //BA.debugLineNum = 10027030;BA.debugLine="Dim listaWayPoints As List"; +_listawaypoints = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=10027031; + //BA.debugLineNum = 10027031;BA.debugLine="Dim lv1Top As String"; +_lv1top = ""; +RDebugUtils.currentLine=10027032; + //BA.debugLineNum = 10027032;BA.debugLine="Private b_limpiarRuta As Button"; +_b_limpiarruta = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=10027033; + //BA.debugLineNum = 10027033;BA.debugLine="Dim rutaGenerada As Boolean = False"; +_rutagenerada = __c.False; +RDebugUtils.currentLine=10027034; + //BA.debugLineNum = 10027034;BA.debugLine="Dim rutaacambiar As String"; +_rutaacambiar = ""; +RDebugUtils.currentLine=10027035; + //BA.debugLineNum = 10027035;BA.debugLine="End Sub"; +return ""; +} +public void _listview1_itemclick(reparto_izca.keymon.lat.c_clientes __ref,int _position,Object _value) throws Exception{ +RDebugUtils.currentModule="c_clientes"; +if (Debug.shouldDelegate(ba, "listview1_itemclick", false)) + {Debug.delegate(ba, "listview1_itemclick", new Object[] {_position,_value}); return;} +ResumableSub_ListView1_ItemClick rsub = new ResumableSub_ListView1_ItemClick(this,__ref,_position,_value); +rsub.resume(ba, null); +} +public static class ResumableSub_ListView1_ItemClick extends BA.ResumableSub { +public ResumableSub_ListView1_ItemClick(reparto_izca.keymon.lat.c_clientes parent,reparto_izca.keymon.lat.c_clientes __ref,int _position,Object _value) { +this.parent = parent; +this.__ref = __ref; +this._position = _position; +this._value = _value; +this.__ref = parent; +} +reparto_izca.keymon.lat.c_clientes __ref; +reparto_izca.keymon.lat.c_clientes parent; +int _position; +Object _value; +String _lrt = ""; +anywheresoftware.b4a.gps.LocationWrapper _thisloc = null; +anywheresoftware.b4a.objects.LabelWrapper _label1 = null; +anywheresoftware.b4a.objects.LabelWrapper _label2 = null; +int _i = 0; +int _distancia = 0; +anywheresoftware.b4a.objects.collections.Map _estecliente = null; +anywheresoftware.b4a.objects.collections.Map _m1 = null; +Object _k = null; +int step34; +int limit34; +anywheresoftware.b4a.BA.IterableList group45; +int index45; +int groupLen45; + +@Override +public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="c_clientes"; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +RDebugUtils.currentLine=10354690; + //BA.debugLineNum = 10354690;BA.debugLine="Log(Value)"; +parent.__c.LogImpl("810354690",BA.ObjectToString(_value),0); +RDebugUtils.currentLine=10354691; + //BA.debugLineNum = 10354691;BA.debugLine="ListView1.Clear"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=10354692; + //BA.debugLineNum = 10354692;BA.debugLine="Sleep(50)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_clientes", "listview1_itemclick"),(int) (50)); +this.state = 31; +return; +case 31: +//C +this.state = 1; +; +RDebugUtils.currentLine=10354693; + //BA.debugLineNum = 10354693;BA.debugLine="Subs.SetDivider(ListView1, Colors.LightGray, 2)"; +parent._subs._setdivider /*String*/ (ba,__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ ,parent.__c.Colors.LightGray,(int) (2)); +RDebugUtils.currentLine=10354694; + //BA.debugLineNum = 10354694;BA.debugLine="If Not(l_rutaInfo.Visible) Then"; +if (true) break; + +case 1: +//if +this.state = 6; +if (parent.__c.Not(__ref._l_rutainfo /*anywheresoftware.b4a.objects.LabelWrapper*/ .getVisible())) { +this.state = 3; +}else { +this.state = 5; +}if (true) break; + +case 3: +//C +this.state = 6; +RDebugUtils.currentLine=10354695; + //BA.debugLineNum = 10354695;BA.debugLine="ListView1.Top = lv1Top"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setTop((int)(Double.parseDouble(__ref._lv1top /*String*/ ))); + if (true) break; + +case 5: +//C +this.state = 6; +RDebugUtils.currentLine=10354697; + //BA.debugLineNum = 10354697;BA.debugLine="ListView1.Top = lv1Top + 100"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setTop((int) ((double)(Double.parseDouble(__ref._lv1top /*String*/ ))+100)); + if (true) break; + +case 6: +//C +this.state = 7; +; +RDebugUtils.currentLine=10354699; + //BA.debugLineNum = 10354699;BA.debugLine="l_rutaInfo.Visible = False"; +__ref._l_rutainfo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=10354700; + //BA.debugLineNum = 10354700;BA.debugLine="b_GetDirs.Visible = False"; +__ref._b_getdirs /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=10354701; + //BA.debugLineNum = 10354701;BA.debugLine="If entro = \"2\" Then"; +if (true) break; + +case 7: +//if +this.state = 30; +if ((__ref._entro /*String*/ ).equals("2")) { +this.state = 9; +}else +{RDebugUtils.currentLine=10354747; + //BA.debugLineNum = 10354747;BA.debugLine="Else If entro = \"3\" Then"; +if ((__ref._entro /*String*/ ).equals("3")) { +this.state = 29; +}} +if (true) break; + +case 9: +//C +this.state = 10; +RDebugUtils.currentLine=10354705; + //BA.debugLineNum = 10354705;BA.debugLine="Private lrt As String"; +_lrt = ""; +RDebugUtils.currentLine=10354706; + //BA.debugLineNum = 10354706;BA.debugLine="lrt = Value"; +_lrt = BA.ObjectToString(_value); +RDebugUtils.currentLine=10354707; + //BA.debugLineNum = 10354707;BA.debugLine="laRuta = lrt.SubString(6) 'Quitamos el texto \"Ru"; +__ref._laruta /*String*/ = _lrt.substring((int) (6)); +RDebugUtils.currentLine=10354708; + //BA.debugLineNum = 10354708;BA.debugLine="Log($\"Original: ${Value} - Mod: |${lrt.SubString"; +parent.__c.LogImpl("810354708",("Original: "+parent.__c.SmartStringFormatter("",_value)+" - Mod: |"+parent.__c.SmartStringFormatter("",(Object)(_lrt.substring((int) (6))))+"| - laRuta: "+parent.__c.SmartStringFormatter("",(Object)(__ref._laruta /*String*/ ))+""),0); +RDebugUtils.currentLine=10354709; + //BA.debugLineNum = 10354709;BA.debugLine="rutaacambiar = laRuta"; +__ref._rutaacambiar /*String*/ = __ref._laruta /*String*/ ; +RDebugUtils.currentLine=10354710; + //BA.debugLineNum = 10354710;BA.debugLine="c2 = Starter.skmt.ExecQuery2(\"select CAT_CL_NOMB"; +__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._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_CL_NOMBRE, CAT_CL_CALLE, CAT_CL_CODIGO, CAT_CL_LAT, CAT_CL_LONG from kmt_info where CAT_CL_RUTA = ? and gestion = 0 AND CAT_CL_RUTA <> 1000 order by CAT_CL_NOMBRE ",new String[]{__ref._laruta /*String*/ }))); +RDebugUtils.currentLine=10354711; + //BA.debugLineNum = 10354711;BA.debugLine="Private thisLoc As Location"; +_thisloc = new anywheresoftware.b4a.gps.LocationWrapper(); +RDebugUtils.currentLine=10354712; + //BA.debugLineNum = 10354712;BA.debugLine="Private label1 As Label"; +_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=10354713; + //BA.debugLineNum = 10354713;BA.debugLine="Private label2 As Label"; +_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=10354714; + //BA.debugLineNum = 10354714;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; +_label1 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().Label; +RDebugUtils.currentLine=10354715; + //BA.debugLineNum = 10354715;BA.debugLine="label1.TextSize = 15"; +_label1.setTextSize((float) (15)); +RDebugUtils.currentLine=10354716; + //BA.debugLineNum = 10354716;BA.debugLine="label1.TextColor = Colors.black"; +_label1.setTextColor(parent.__c.Colors.Black); +RDebugUtils.currentLine=10354717; + //BA.debugLineNum = 10354717;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; +_label2 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().SecondLabel; +RDebugUtils.currentLine=10354718; + //BA.debugLineNum = 10354718;BA.debugLine="label2.TextSize = 15"; +_label2.setTextSize((float) (15)); +RDebugUtils.currentLine=10354719; + //BA.debugLineNum = 10354719;BA.debugLine="label2.TextColor = Colors.black"; +_label2.setTextColor(parent.__c.Colors.Black); +RDebugUtils.currentLine=10354720; + //BA.debugLineNum = 10354720;BA.debugLine="label2.Height = 57dip"; +_label2.setHeight(parent.__c.DipToCurrent((int) (57))); +RDebugUtils.currentLine=10354721; + //BA.debugLineNum = 10354721;BA.debugLine="thisLoc.Initialize"; +_thisloc.Initialize(); +RDebugUtils.currentLine=10354722; + //BA.debugLineNum = 10354722;BA.debugLine="If entro = 2 Then ListView1.TwoLinesLayout.ItemH"; +if (true) break; + +case 10: +//if +this.state = 15; +if ((__ref._entro /*String*/ ).equals(BA.NumberToString(2))) { +this.state = 12; +;}if (true) break; + +case 12: +//C +this.state = 15; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().setItemHeight(parent.__c.DipToCurrent((int) (90))); +if (true) break; + +case 15: +//C +this.state = 16; +; +RDebugUtils.currentLine=10354723; + //BA.debugLineNum = 10354723;BA.debugLine="lfila.text = \"Nombre y Calle\""; +__ref._lfila /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("Nombre y Calle")); +RDebugUtils.currentLine=10354724; + //BA.debugLineNum = 10354724;BA.debugLine="distOrderedMap.Initialize"; +__ref._distorderedmap /*reparto_izca.keymon.lat.b4xorderedmap*/ ._initialize /*String*/ (null,ba); +RDebugUtils.currentLine=10354725; + //BA.debugLineNum = 10354725;BA.debugLine="If c2.RowCount > 0 Then"; +if (true) break; + +case 16: +//if +this.state = 27; +if (__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +this.state = 18; +}if (true) break; + +case 18: +//C +this.state = 19; +RDebugUtils.currentLine=10354726; + //BA.debugLineNum = 10354726;BA.debugLine="For i = 0 To c2.RowCount -1 'Generamos mapa de"; +if (true) break; + +case 19: +//for +this.state = 22; +step34 = 1; +limit34 = (int) (__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +this.state = 32; +if (true) break; + +case 32: +//C +this.state = 22; +if ((step34 > 0 && _i <= limit34) || (step34 < 0 && _i >= limit34)) this.state = 21; +if (true) break; + +case 33: +//C +this.state = 32; +_i = ((int)(0 + _i + step34)) ; +if (true) break; + +case 21: +//C +this.state = 33; +RDebugUtils.currentLine=10354727; + //BA.debugLineNum = 10354727;BA.debugLine="c2.Position = i"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=10354728; + //BA.debugLineNum = 10354728;BA.debugLine="thisLoc.Latitude = c2.GetString(\"CAT_CL_LAT\")"; +_thisloc.setLatitude((double)(Double.parseDouble(__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_LAT")))); +RDebugUtils.currentLine=10354729; + //BA.debugLineNum = 10354729;BA.debugLine="thisLoc.Longitude = c2.GetString(\"CAT_CL_LONG\""; +_thisloc.setLongitude((double)(Double.parseDouble(__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_LONG")))); +RDebugUtils.currentLine=10354731; + //BA.debugLineNum = 10354731;BA.debugLine="Private distancia As Int = Tracker.UUGCoords.D"; +_distancia = (int) (parent._tracker._uugcoords /*anywheresoftware.b4a.gps.LocationWrapper*/ .DistanceTo((android.location.Location)(_thisloc.getObject()))); +RDebugUtils.currentLine=10354732; + //BA.debugLineNum = 10354732;BA.debugLine="Private esteCliente As Map = CreateMap(\"distan"; +_estecliente = new anywheresoftware.b4a.objects.collections.Map(); +_estecliente = parent.__c.createMap(new Object[] {(Object)("distancia"),(Object)(_distancia),(Object)("ubicacion"),(Object)(BA.NumberToString(_thisloc.getLongitude())+","+BA.NumberToString(_thisloc.getLatitude())),(Object)("codigo"),(Object)(__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CODIGO")),(Object)("nomDirDist"),(Object)((""+parent.__c.SmartStringFormatter("",(Object)(__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_NOMBRE")))+" CALLE: "+parent.__c.SmartStringFormatter("",(Object)(__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CALLE")))+" "+parent.__c.SmartStringFormatter("",(Object)(parent.__c.CRLF))+"Distancia: "+parent.__c.SmartStringFormatter("1.1",(Object)((_distancia/(double)1000)))+" kms"))}); +RDebugUtils.currentLine=10354733; + //BA.debugLineNum = 10354733;BA.debugLine="distOrderedMap.Put(distancia, esteCliente)"; +__ref._distorderedmap /*reparto_izca.keymon.lat.b4xorderedmap*/ ._put /*String*/ (null,(Object)(_distancia),(Object)(_estecliente.getObject())); + if (true) break; +if (true) break; + +case 22: +//C +this.state = 23; +; +RDebugUtils.currentLine=10354735; + //BA.debugLineNum = 10354735;BA.debugLine="distOrderedMap.Keys.Sort(True) 'Ordenamos la ma"; +__ref._distorderedmap /*reparto_izca.keymon.lat.b4xorderedmap*/ ._getkeys /*anywheresoftware.b4a.objects.collections.List*/ (null).Sort(parent.__c.True); +RDebugUtils.currentLine=10354736; + //BA.debugLineNum = 10354736;BA.debugLine="ListView1.Clear"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=10354737; + //BA.debugLineNum = 10354737;BA.debugLine="Private m1 As Map"; +_m1 = new anywheresoftware.b4a.objects.collections.Map(); +RDebugUtils.currentLine=10354738; + //BA.debugLineNum = 10354738;BA.debugLine="For Each k As Object In distOrderedMap.Keys 'G"; +if (true) break; + +case 23: +//for +this.state = 26; +group45 = __ref._distorderedmap /*reparto_izca.keymon.lat.b4xorderedmap*/ ._getkeys /*anywheresoftware.b4a.objects.collections.List*/ (null); +index45 = 0; +groupLen45 = group45.getSize(); +this.state = 34; +if (true) break; + +case 34: +//C +this.state = 26; +if (index45 < groupLen45) { +this.state = 25; +_k = group45.Get(index45);} +if (true) break; + +case 35: +//C +this.state = 34; +index45++; +if (true) break; + +case 25: +//C +this.state = 35; +RDebugUtils.currentLine=10354739; + //BA.debugLineNum = 10354739;BA.debugLine="m1 = distOrderedMap.Get(k)"; +_m1 = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._distorderedmap /*reparto_izca.keymon.lat.b4xorderedmap*/ ._get /*Object*/ (null,_k))); +RDebugUtils.currentLine=10354740; + //BA.debugLineNum = 10354740;BA.debugLine="m1.Get(\"codigo\")"; +_m1.Get((Object)("codigo")); +RDebugUtils.currentLine=10354742; + //BA.debugLineNum = 10354742;BA.debugLine="ListView1.AddTwoLines(m1.Get(\"codigo\"), m1.Get"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddTwoLines(BA.ObjectToCharSequence(_m1.Get((Object)("codigo"))),BA.ObjectToCharSequence(_m1.Get((Object)("nomDirDist")))); + if (true) break; +if (true) break; + +case 26: +//C +this.state = 27; +; + if (true) break; + +case 27: +//C +this.state = 30; +; +RDebugUtils.currentLine=10354745; + //BA.debugLineNum = 10354745;BA.debugLine="c2.Close"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=10354746; + //BA.debugLineNum = 10354746;BA.debugLine="entro = \"3\""; +__ref._entro /*String*/ = "3"; + if (true) break; + +case 29: +//C +this.state = 30; +RDebugUtils.currentLine=10354749; + //BA.debugLineNum = 10354749;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CUENTAA\")"; +parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CUENTAA"); +RDebugUtils.currentLine=10354750; + //BA.debugLineNum = 10354750;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CUENTAA"; +parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CUENTAA VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{_value})); +RDebugUtils.currentLine=10354751; + //BA.debugLineNum = 10354751;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +parent._b4xpages._showpage /*String*/ (ba,"Cliente"); + if (true) break; + +case 30: +//C +this.state = -1; +; +RDebugUtils.currentLine=10354753; + //BA.debugLineNum = 10354753;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public void _traerutadia(reparto_izca.keymon.lat.c_clientes __ref,reparto_izca.keymon.lat.b4xorderedmap _avisitar) throws Exception{ +RDebugUtils.currentModule="c_clientes"; +if (Debug.shouldDelegate(ba, "traerutadia", false)) + {Debug.delegate(ba, "traerutadia", new Object[] {_avisitar}); return;} +ResumableSub_traeRutaDia rsub = new ResumableSub_traeRutaDia(this,__ref,_avisitar); +rsub.resume(ba, null); +} +public static class ResumableSub_traeRutaDia extends BA.ResumableSub { +public ResumableSub_traeRutaDia(reparto_izca.keymon.lat.c_clientes parent,reparto_izca.keymon.lat.c_clientes __ref,reparto_izca.keymon.lat.b4xorderedmap _avisitar) { +this.parent = parent; +this.__ref = __ref; +this._avisitar = _avisitar; +this.__ref = parent; +} +reparto_izca.keymon.lat.c_clientes __ref; +reparto_izca.keymon.lat.c_clientes parent; +reparto_izca.keymon.lat.b4xorderedmap _avisitar; +String _coordsinicio = ""; +String _rutacompleta = ""; +String _preruta = ""; +double _distanciatotal = 0; +double _distanciatotal0 = 0; +double _tiempo0 = 0; +double _tiempo = 0; +boolean _masde100 = false; +anywheresoftware.b4a.objects.collections.Map _m4 = null; +int _visitaactual = 0; +int _cuantosantes = 0; +Object _k = null; +double _tiempovisitas = 0; +reparto_izca.keymon.lat.httpjob _j0 = null; +anywheresoftware.b4a.objects.collections.JSONParser _jp0 = null; +anywheresoftware.b4a.objects.collections.Map _m0 = null; +anywheresoftware.b4a.objects.collections.List _puntos0 = null; +anywheresoftware.b4a.objects.collections.Map _estewaypoint0 = null; +int _p = 0; +anywheresoftware.b4a.objects.collections.List _rutas0 = null; +anywheresoftware.b4a.objects.collections.Map _rutas20 = null; +reparto_izca.keymon.lat.httpjob _j = null; +anywheresoftware.b4a.objects.collections.JSONParser _jp = null; +anywheresoftware.b4a.objects.collections.Map _m = null; +anywheresoftware.b4a.objects.collections.List _puntos = null; +anywheresoftware.b4a.objects.collections.Map _estewaypoint = null; +int _twpi = 0; +anywheresoftware.b4a.objects.collections.List _rutas = null; +anywheresoftware.b4a.objects.collections.Map _rutas2 = null; +int _r = 0; +anywheresoftware.b4a.objects.collections.Map _r1 = null; +anywheresoftware.b4a.objects.collections.Map _wps = null; +anywheresoftware.b4a.objects.LabelWrapper _label2 = null; +anywheresoftware.b4a.objects.CSBuilder _cs = null; +anywheresoftware.b4a.objects.CSBuilder _cs2 = null; +int _i = 0; +anywheresoftware.b4a.BA.IterableList group18; +int index18; +int groupLen18; +int step47; +int limit47; +int step78; +int limit78; +anywheresoftware.b4a.BA.IterableList group112; +int index112; +int groupLen112; +int step135; +int limit135; + +@Override +public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="c_clientes"; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +RDebugUtils.currentLine=10682369; + //BA.debugLineNum = 10682369;BA.debugLine="Private coordsInicio As String = $\"${Starter.cedi"; +_coordsinicio = (""+parent.__c.SmartStringFormatter("",(Object)(parent._starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLongitude()))+","+parent.__c.SmartStringFormatter("",(Object)(parent._starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLatitude()))+""); +RDebugUtils.currentLine=10682370; + //BA.debugLineNum = 10682370;BA.debugLine="Log($\"Coordenadas de inicio: ${Starter.cedisLocat"; +parent.__c.LogImpl("810682370",("Coordenadas de inicio: "+parent.__c.SmartStringFormatter("",(Object)(parent._starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLongitude()))+","+parent.__c.SmartStringFormatter("",(Object)(parent._starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLatitude()))+""),0); +RDebugUtils.currentLine=10682371; + //BA.debugLineNum = 10682371;BA.debugLine="Private rutaCompleta As String = coordsInicio"; +_rutacompleta = _coordsinicio; +RDebugUtils.currentLine=10682372; + //BA.debugLineNum = 10682372;BA.debugLine="Private preRuta As String = coordsInicio"; +_preruta = _coordsinicio; +RDebugUtils.currentLine=10682373; + //BA.debugLineNum = 10682373;BA.debugLine="Private distanciaTotal, distanciaTotal0, tiempo0,"; +_distanciatotal = 0; +_distanciatotal0 = 0; +_tiempo0 = 0; +_tiempo = 0; +RDebugUtils.currentLine=10682374; + //BA.debugLineNum = 10682374;BA.debugLine="Private masDe100 As Boolean"; +_masde100 = false; +RDebugUtils.currentLine=10682375; + //BA.debugLineNum = 10682375;BA.debugLine="Private m4 As Map"; +_m4 = new anywheresoftware.b4a.objects.collections.Map(); +RDebugUtils.currentLine=10682376; + //BA.debugLineNum = 10682376;BA.debugLine="Private visitaActual As Int = 0"; +_visitaactual = (int) (0); +RDebugUtils.currentLine=10682377; + //BA.debugLineNum = 10682377;BA.debugLine="Private cuantosAntes As Int = 0"; +_cuantosantes = (int) (0); +RDebugUtils.currentLine=10682378; + //BA.debugLineNum = 10682378;BA.debugLine="listaWayPoints.Initialize"; +__ref._listawaypoints /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=10682379; + //BA.debugLineNum = 10682379;BA.debugLine="If aVisitar.Keys.Size > 98 Then 'Si los clientes"; +if (true) break; + +case 1: +//if +this.state = 4; +if (_avisitar._getkeys /*anywheresoftware.b4a.objects.collections.List*/ (null).getSize()>98) { +this.state = 3; +}if (true) break; + +case 3: +//C +this.state = 4; +RDebugUtils.currentLine=10682380; + //BA.debugLineNum = 10682380;BA.debugLine="cuantosAntes = aVisitar.Keys.Size - 98 'Definimo"; +_cuantosantes = (int) (_avisitar._getkeys /*anywheresoftware.b4a.objects.collections.List*/ (null).getSize()-98); +RDebugUtils.currentLine=10682381; + //BA.debugLineNum = 10682381;BA.debugLine="preRuta = coordsInicio 'Ponemos las coordenadas"; +_preruta = _coordsinicio; +RDebugUtils.currentLine=10682382; + //BA.debugLineNum = 10682382;BA.debugLine="rutaCompleta = \"\""; +_rutacompleta = ""; +RDebugUtils.currentLine=10682383; + //BA.debugLineNum = 10682383;BA.debugLine="masDe100 = True"; +_masde100 = parent.__c.True; + if (true) break; + +case 4: +//C +this.state = 5; +; +RDebugUtils.currentLine=10682385; + //BA.debugLineNum = 10682385;BA.debugLine="Log($\"a visitar: ${aVisitar.Keys.Size}\"$)"; +parent.__c.LogImpl("810682385",("a visitar: "+parent.__c.SmartStringFormatter("",(Object)(_avisitar._getkeys /*anywheresoftware.b4a.objects.collections.List*/ (null).getSize()))+""),0); +RDebugUtils.currentLine=10682386; + //BA.debugLineNum = 10682386;BA.debugLine="For Each k As Object In aVisitar.Keys"; +if (true) break; + +case 5: +//for +this.state = 15; +group18 = _avisitar._getkeys /*anywheresoftware.b4a.objects.collections.List*/ (null); +index18 = 0; +groupLen18 = group18.getSize(); +this.state = 70; +if (true) break; + +case 70: +//C +this.state = 15; +if (index18 < groupLen18) { +this.state = 7; +_k = group18.Get(index18);} +if (true) break; + +case 71: +//C +this.state = 70; +index18++; +if (true) break; + +case 7: +//C +this.state = 8; +RDebugUtils.currentLine=10682387; + //BA.debugLineNum = 10682387;BA.debugLine="visitaActual = visitaActual + 1"; +_visitaactual = (int) (_visitaactual+1); +RDebugUtils.currentLine=10682388; + //BA.debugLineNum = 10682388;BA.debugLine="m4 = aVisitar.Get(k)"; +_m4 = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_avisitar._get /*Object*/ (null,_k))); +RDebugUtils.currentLine=10682390; + //BA.debugLineNum = 10682390;BA.debugLine="If visitaActual < cuantosAntes + 2 Then 'Si esta"; +if (true) break; + +case 8: +//if +this.state = 11; +if (_visitaactual<_cuantosantes+2) { +this.state = 10; +}if (true) break; + +case 10: +//C +this.state = 11; +RDebugUtils.currentLine=10682391; + //BA.debugLineNum = 10682391;BA.debugLine="preRuta = preRuta & \";\" & m4.Get(\"coords\")"; +_preruta = _preruta+";"+BA.ObjectToString(_m4.Get((Object)("coords"))); + if (true) break; +; +RDebugUtils.currentLine=10682394; + //BA.debugLineNum = 10682394;BA.debugLine="If visitaActual >= cuantosAntes + 2 Then 'Si est"; + +case 11: +//if +this.state = 14; +if (_visitaactual>=_cuantosantes+2) { +this.state = 13; +}if (true) break; + +case 13: +//C +this.state = 14; +RDebugUtils.currentLine=10682395; + //BA.debugLineNum = 10682395;BA.debugLine="rutaCompleta = rutaCompleta & \";\" & m4.Get(\"coo"; +_rutacompleta = _rutacompleta+";"+BA.ObjectToString(_m4.Get((Object)("coords"))); + if (true) break; + +case 14: +//C +this.state = 71; +; + if (true) break; +if (true) break; + +case 15: +//C +this.state = 16; +; +RDebugUtils.currentLine=10682399; + //BA.debugLineNum = 10682399;BA.debugLine="rutaCompleta = rutaCompleta & \";\" & coordsInicio"; +_rutacompleta = _rutacompleta+";"+_coordsinicio; +RDebugUtils.currentLine=10682401; + //BA.debugLineNum = 10682401;BA.debugLine="If rutaCompleta.StartsWith(\";\") Then rutaCompleta"; +if (true) break; + +case 16: +//if +this.state = 21; +if (_rutacompleta.startsWith(";")) { +this.state = 18; +;}if (true) break; + +case 18: +//C +this.state = 21; +_rutacompleta = _rutacompleta.substring((int) (1)); +if (true) break; + +case 21: +//C +this.state = 22; +; +RDebugUtils.currentLine=10682404; + //BA.debugLineNum = 10682404;BA.debugLine="ProgressDialogShow2(\"Calculando distancia y tiemp"; +parent.__c.ProgressDialogShow2(ba,BA.ObjectToCharSequence("Calculando distancia y tiempo, un momento por favor."),parent.__c.False); +RDebugUtils.currentLine=10682405; + //BA.debugLineNum = 10682405;BA.debugLine="Private tiempoVisitas As Double 'TIMEPO DE 4 MINU"; +_tiempovisitas = 0; +RDebugUtils.currentLine=10682406; + //BA.debugLineNum = 10682406;BA.debugLine="tiempoVisitas = aVisitar.Keys.Size * 4 * 60 'Aqui"; +_tiempovisitas = _avisitar._getkeys /*anywheresoftware.b4a.objects.collections.List*/ (null).getSize()*4*60; +RDebugUtils.currentLine=10682407; + //BA.debugLineNum = 10682407;BA.debugLine="tiempo0 = 0"; +_tiempo0 = 0; +RDebugUtils.currentLine=10682408; + //BA.debugLineNum = 10682408;BA.debugLine="distanciaTotal0 = 0"; +_distanciatotal0 = 0; +RDebugUtils.currentLine=10682409; + //BA.debugLineNum = 10682409;BA.debugLine="If masDe100 Then 'Si son mas de 100, entonces pri"; +if (true) break; + +case 22: +//if +this.state = 39; +if (_masde100) { +this.state = 24; +}if (true) break; + +case 24: +//C +this.state = 25; +RDebugUtils.currentLine=10682410; + //BA.debugLineNum = 10682410;BA.debugLine="Dim j0 As HttpJob"; +_j0 = new reparto_izca.keymon.lat.httpjob(); +RDebugUtils.currentLine=10682411; + //BA.debugLineNum = 10682411;BA.debugLine="j0.Initialize(\"trip0\", Me)"; +_j0._initialize /*String*/ (null,ba,"trip0",parent); +RDebugUtils.currentLine=10682412; + //BA.debugLineNum = 10682412;BA.debugLine="j0.Download(\"https://router.project-osrm.org/tri"; +_j0._download /*String*/ (null,"https://router.project-osrm.org/trip/v1/driving/"+_preruta+"?source=first&destination=last&roundtrip=false&geometries=geojson"); +RDebugUtils.currentLine=10682414; + //BA.debugLineNum = 10682414;BA.debugLine="Wait For (j0) JobDone(j0 As HttpJob)"; +parent.__c.WaitFor("jobdone", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_clientes", "traerutadia"), (Object)(_j0)); +this.state = 72; +return; +case 72: +//C +this.state = 25; +_j0 = (reparto_izca.keymon.lat.httpjob) result[1]; +; +RDebugUtils.currentLine=10682415; + //BA.debugLineNum = 10682415;BA.debugLine="If j0.Success Then"; +if (true) break; + +case 25: +//if +this.state = 38; +if (_j0._success /*boolean*/ ) { +this.state = 27; +}else { +this.state = 37; +}if (true) break; + +case 27: +//C +this.state = 28; +RDebugUtils.currentLine=10682416; + //BA.debugLineNum = 10682416;BA.debugLine="Dim jp0 As JSONParser"; +_jp0 = new anywheresoftware.b4a.objects.collections.JSONParser(); +RDebugUtils.currentLine=10682417; + //BA.debugLineNum = 10682417;BA.debugLine="jp0.Initialize(j0.GetString)"; +_jp0.Initialize(_j0._getstring /*String*/ (null)); +RDebugUtils.currentLine=10682418; + //BA.debugLineNum = 10682418;BA.debugLine="Dim m0 As Map = jp0.NextObject"; +_m0 = new anywheresoftware.b4a.objects.collections.Map(); +_m0 = _jp0.NextObject(); +RDebugUtils.currentLine=10682419; + //BA.debugLineNum = 10682419;BA.debugLine="If m0.Get(\"code\") = \"Ok\" Then"; +if (true) break; + +case 28: +//if +this.state = 35; +if ((_m0.Get((Object)("code"))).equals((Object)("Ok"))) { +this.state = 30; +}if (true) break; + +case 30: +//C +this.state = 31; +RDebugUtils.currentLine=10682420; + //BA.debugLineNum = 10682420;BA.debugLine="Dim puntos0 As List = m0.Get(\"waypoints\")"; +_puntos0 = new anywheresoftware.b4a.objects.collections.List(); +_puntos0 = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_m0.Get((Object)("waypoints")))); +RDebugUtils.currentLine=10682421; + //BA.debugLineNum = 10682421;BA.debugLine="Private esteWayPoint0 As Map"; +_estewaypoint0 = new anywheresoftware.b4a.objects.collections.Map(); +RDebugUtils.currentLine=10682422; + //BA.debugLineNum = 10682422;BA.debugLine="For p = 0 To puntos0.Size -1"; +if (true) break; + +case 31: +//for +this.state = 34; +step47 = 1; +limit47 = (int) (_puntos0.getSize()-1); +_p = (int) (0) ; +this.state = 73; +if (true) break; + +case 73: +//C +this.state = 34; +if ((step47 > 0 && _p <= limit47) || (step47 < 0 && _p >= limit47)) this.state = 33; +if (true) break; + +case 74: +//C +this.state = 73; +_p = ((int)(0 + _p + step47)) ; +if (true) break; + +case 33: +//C +this.state = 74; +RDebugUtils.currentLine=10682423; + //BA.debugLineNum = 10682423;BA.debugLine="esteWayPoint0 = puntos0.Get(p)"; +_estewaypoint0 = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_puntos0.Get(_p))); +RDebugUtils.currentLine=10682426; + //BA.debugLineNum = 10682426;BA.debugLine="esteWayPoint0.Remove(\"hint\")"; +_estewaypoint0.Remove((Object)("hint")); +RDebugUtils.currentLine=10682427; + //BA.debugLineNum = 10682427;BA.debugLine="esteWayPoint0.Remove(\"distance\")"; +_estewaypoint0.Remove((Object)("distance")); +RDebugUtils.currentLine=10682428; + //BA.debugLineNum = 10682428;BA.debugLine="esteWayPoint0.Remove(\"trips_index\")"; +_estewaypoint0.Remove((Object)("trips_index")); +RDebugUtils.currentLine=10682429; + //BA.debugLineNum = 10682429;BA.debugLine="listaWayPoints.Add(esteWayPoint0)"; +__ref._listawaypoints /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(_estewaypoint0.getObject())); + if (true) break; +if (true) break; + +case 34: +//C +this.state = 35; +; +RDebugUtils.currentLine=10682432; + //BA.debugLineNum = 10682432;BA.debugLine="Dim rutas0 As List = m0.Get(\"trips\")"; +_rutas0 = new anywheresoftware.b4a.objects.collections.List(); +_rutas0 = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_m0.Get((Object)("trips")))); +RDebugUtils.currentLine=10682433; + //BA.debugLineNum = 10682433;BA.debugLine="Dim rutas20 As Map = rutas0.Get(0)"; +_rutas20 = new anywheresoftware.b4a.objects.collections.Map(); +_rutas20 = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_rutas0.Get((int) (0)))); +RDebugUtils.currentLine=10682436; + //BA.debugLineNum = 10682436;BA.debugLine="distanciaTotal0 = rutas20.Get(\"distance\")"; +_distanciatotal0 = (double)(BA.ObjectToNumber(_rutas20.Get((Object)("distance")))); +RDebugUtils.currentLine=10682437; + //BA.debugLineNum = 10682437;BA.debugLine="tiempo0 = rutas20.Get(\"duration\")"; +_tiempo0 = (double)(BA.ObjectToNumber(_rutas20.Get((Object)("duration")))); +RDebugUtils.currentLine=10682438; + //BA.debugLineNum = 10682438;BA.debugLine="tiempo0 = ((tiempo0 * 2) ) 'Tiempo X 2 (es muy"; +_tiempo0 = ((_tiempo0*2)); +RDebugUtils.currentLine=10682439; + //BA.debugLineNum = 10682439;BA.debugLine="Log($\"Distancia total ruta inicial: $1.1{dista"; +parent.__c.LogImpl("810682439",("Distancia total ruta inicial: "+parent.__c.SmartStringFormatter("1.1",(Object)(_distanciatotal0/(double)1000))+" kms, tiempo aprox: "+parent.__c.SmartStringFormatter("1.1",(Object)(_tiempo0/(double)60))+" mins. ("+parent.__c.SmartStringFormatter("1.1",(Object)(_tiempo0/(double)60/(double)60))+" hrs)"),0); + if (true) break; + +case 35: +//C +this.state = 38; +; + if (true) break; + +case 37: +//C +this.state = 38; +RDebugUtils.currentLine=10682443; + //BA.debugLineNum = 10682443;BA.debugLine="Log(\"Error!\")"; +parent.__c.LogImpl("810682443","Error!",0); + if (true) break; + +case 38: +//C +this.state = 39; +; +RDebugUtils.currentLine=10682445; + //BA.debugLineNum = 10682445;BA.debugLine="j0.Release"; +_j0._release /*String*/ (null); + if (true) break; + +case 39: +//C +this.state = 40; +; +RDebugUtils.currentLine=10682448; + //BA.debugLineNum = 10682448;BA.debugLine="Dim j As HttpJob"; +_j = new reparto_izca.keymon.lat.httpjob(); +RDebugUtils.currentLine=10682449; + //BA.debugLineNum = 10682449;BA.debugLine="j.Initialize(\"trip\", Me) 'Calculamos el resto de"; +_j._initialize /*String*/ (null,ba,"trip",parent); +RDebugUtils.currentLine=10682450; + //BA.debugLineNum = 10682450;BA.debugLine="j.Download(\"https://router.project-osrm.org/trip/"; +_j._download /*String*/ (null,"https://router.project-osrm.org/trip/v1/driving/"+_rutacompleta+"?source=first&destination=last&roundtrip=false&geometries=geojson"); +RDebugUtils.currentLine=10682452; + //BA.debugLineNum = 10682452;BA.debugLine="Wait For (j) JobDone(j As HttpJob)"; +parent.__c.WaitFor("jobdone", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_clientes", "traerutadia"), (Object)(_j)); +this.state = 75; +return; +case 75: +//C +this.state = 40; +_j = (reparto_izca.keymon.lat.httpjob) result[1]; +; +RDebugUtils.currentLine=10682453; + //BA.debugLineNum = 10682453;BA.debugLine="If j.Success Then"; +if (true) break; + +case 40: +//if +this.state = 53; +if (_j._success /*boolean*/ ) { +this.state = 42; +}else { +this.state = 52; +}if (true) break; + +case 42: +//C +this.state = 43; +RDebugUtils.currentLine=10682454; + //BA.debugLineNum = 10682454;BA.debugLine="Dim jp As JSONParser"; +_jp = new anywheresoftware.b4a.objects.collections.JSONParser(); +RDebugUtils.currentLine=10682455; + //BA.debugLineNum = 10682455;BA.debugLine="jp.Initialize(j.GetString)"; +_jp.Initialize(_j._getstring /*String*/ (null)); +RDebugUtils.currentLine=10682456; + //BA.debugLineNum = 10682456;BA.debugLine="Dim m As Map = jp.NextObject"; +_m = new anywheresoftware.b4a.objects.collections.Map(); +_m = _jp.NextObject(); +RDebugUtils.currentLine=10682457; + //BA.debugLineNum = 10682457;BA.debugLine="If m.Get(\"code\") = \"Ok\" Then"; +if (true) break; + +case 43: +//if +this.state = 50; +if ((_m.Get((Object)("code"))).equals((Object)("Ok"))) { +this.state = 45; +}if (true) break; + +case 45: +//C +this.state = 46; +RDebugUtils.currentLine=10682458; + //BA.debugLineNum = 10682458;BA.debugLine="Dim puntos As List = m.Get(\"waypoints\")"; +_puntos = new anywheresoftware.b4a.objects.collections.List(); +_puntos = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_m.Get((Object)("waypoints")))); +RDebugUtils.currentLine=10682459; + //BA.debugLineNum = 10682459;BA.debugLine="Private esteWayPoint As Map"; +_estewaypoint = new anywheresoftware.b4a.objects.collections.Map(); +RDebugUtils.currentLine=10682460; + //BA.debugLineNum = 10682460;BA.debugLine="Dim twpi As Int"; +_twpi = 0; +RDebugUtils.currentLine=10682461; + //BA.debugLineNum = 10682461;BA.debugLine="For p = 0 To puntos.Size -1"; +if (true) break; + +case 46: +//for +this.state = 49; +step78 = 1; +limit78 = (int) (_puntos.getSize()-1); +_p = (int) (0) ; +this.state = 76; +if (true) break; + +case 76: +//C +this.state = 49; +if ((step78 > 0 && _p <= limit78) || (step78 < 0 && _p >= limit78)) this.state = 48; +if (true) break; + +case 77: +//C +this.state = 76; +_p = ((int)(0 + _p + step78)) ; +if (true) break; + +case 48: +//C +this.state = 77; +RDebugUtils.currentLine=10682462; + //BA.debugLineNum = 10682462;BA.debugLine="esteWayPoint = puntos.Get(p)"; +_estewaypoint = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_puntos.Get(_p))); +RDebugUtils.currentLine=10682465; + //BA.debugLineNum = 10682465;BA.debugLine="esteWayPoint.Remove(\"hint\")"; +_estewaypoint.Remove((Object)("hint")); +RDebugUtils.currentLine=10682466; + //BA.debugLineNum = 10682466;BA.debugLine="esteWayPoint.Remove(\"distance\")"; +_estewaypoint.Remove((Object)("distance")); +RDebugUtils.currentLine=10682467; + //BA.debugLineNum = 10682467;BA.debugLine="esteWayPoint.Remove(\"trips_index\")"; +_estewaypoint.Remove((Object)("trips_index")); +RDebugUtils.currentLine=10682468; + //BA.debugLineNum = 10682468;BA.debugLine="twpi = esteWayPoint.Get(\"waypoint_index\")"; +_twpi = (int)(BA.ObjectToNumber(_estewaypoint.Get((Object)("waypoint_index")))); +RDebugUtils.currentLine=10682469; + //BA.debugLineNum = 10682469;BA.debugLine="esteWayPoint.Remove(\"waypoint_index\")"; +_estewaypoint.Remove((Object)("waypoint_index")); +RDebugUtils.currentLine=10682470; + //BA.debugLineNum = 10682470;BA.debugLine="esteWayPoint.Put(\"waypoint_index\", (twpi + cua"; +_estewaypoint.Put((Object)("waypoint_index"),(Object)((_twpi+_cuantosantes+2))); +RDebugUtils.currentLine=10682471; + //BA.debugLineNum = 10682471;BA.debugLine="listaWayPoints.Add(esteWayPoint)"; +__ref._listawaypoints /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(_estewaypoint.getObject())); + if (true) break; +if (true) break; + +case 49: +//C +this.state = 50; +; +RDebugUtils.currentLine=10682474; + //BA.debugLineNum = 10682474;BA.debugLine="Dim rutas As List = m.Get(\"trips\")"; +_rutas = new anywheresoftware.b4a.objects.collections.List(); +_rutas = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_m.Get((Object)("trips")))); +RDebugUtils.currentLine=10682475; + //BA.debugLineNum = 10682475;BA.debugLine="Dim rutas2 As Map = rutas.Get(0)"; +_rutas2 = new anywheresoftware.b4a.objects.collections.Map(); +_rutas2 = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_rutas.Get((int) (0)))); +RDebugUtils.currentLine=10682476; + //BA.debugLineNum = 10682476;BA.debugLine="distanciaTotal = rutas2.Get(\"distance\")"; +_distanciatotal = (double)(BA.ObjectToNumber(_rutas2.Get((Object)("distance")))); +RDebugUtils.currentLine=10682477; + //BA.debugLineNum = 10682477;BA.debugLine="Log(\"distancia ruta 2:\" & (distanciaTotal) & \"|"; +parent.__c.LogImpl("810682477","distancia ruta 2:"+BA.NumberToString((_distanciatotal))+"|"+BA.ObjectToString(_rutas2.Get((Object)("distance"))),0); +RDebugUtils.currentLine=10682478; + //BA.debugLineNum = 10682478;BA.debugLine="distanciaTotal = distanciaTotal + distanciaTota"; +_distanciatotal = _distanciatotal+_distanciatotal0; +RDebugUtils.currentLine=10682479; + //BA.debugLineNum = 10682479;BA.debugLine="tiempo = rutas2.Get(\"duration\")"; +_tiempo = (double)(BA.ObjectToNumber(_rutas2.Get((Object)("duration")))); +RDebugUtils.currentLine=10682480; + //BA.debugLineNum = 10682480;BA.debugLine="tiempo = (((tiempo + tiempo0) * 2) + tiempoVisi"; +_tiempo = (((_tiempo+_tiempo0)*2)+_tiempovisitas); +RDebugUtils.currentLine=10682481; + //BA.debugLineNum = 10682481;BA.debugLine="Log($\"Distancia total: $1.1{distanciaTotal/1000"; +parent.__c.LogImpl("810682481",("Distancia total: "+parent.__c.SmartStringFormatter("1.1",(Object)(_distanciatotal/(double)1000))+" kms, tiempo aprox: "+parent.__c.SmartStringFormatter("1.1",(Object)(_tiempo/(double)60))+" mins. ("+parent.__c.SmartStringFormatter("1.1",(Object)(_tiempo/(double)60/(double)60))+" hrs)"),0); +RDebugUtils.currentLine=10682482; + //BA.debugLineNum = 10682482;BA.debugLine="l_rutaInfo.Text = $\"Distancia: $1.1{distanciaTo"; +__ref._l_rutainfo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(("Distancia: "+parent.__c.SmartStringFormatter("1.1",(Object)(_distanciatotal/(double)1000))+" kms, tiempo aprox: "+parent.__c.SmartStringFormatter("1.1",(Object)(_tiempo/(double)60/(double)60))+" hrs"+parent.__c.SmartStringFormatter("",(Object)(parent.__c.CRLF))+"Visitas restantes: "+parent.__c.SmartStringFormatter("",(Object)(_avisitar._getkeys /*anywheresoftware.b4a.objects.collections.List*/ (null).getSize()))+""))); +RDebugUtils.currentLine=10682483; + //BA.debugLineNum = 10682483;BA.debugLine="l_rutaInfo.Width = Root.Width * 0.9"; +__ref._l_rutainfo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setWidth((int) (__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()*0.9)); +RDebugUtils.currentLine=10682484; + //BA.debugLineNum = 10682484;BA.debugLine="Subs.centraEtiqueta(l_rutaInfo, Root.Width)"; +parent._subs._centraetiqueta /*String*/ (ba,__ref._l_rutainfo /*anywheresoftware.b4a.objects.LabelWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=10682485; + //BA.debugLineNum = 10682485;BA.debugLine="l_rutaInfo.Visible = True"; +__ref._l_rutainfo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(parent.__c.True); +RDebugUtils.currentLine=10682486; + //BA.debugLineNum = 10682486;BA.debugLine="l_rutaInfo.BringToFront"; +__ref._l_rutainfo /*anywheresoftware.b4a.objects.LabelWrapper*/ .BringToFront(); +RDebugUtils.currentLine=10682487; + //BA.debugLineNum = 10682487;BA.debugLine="ListView1.Top = lv1Top + 100"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setTop((int) ((double)(Double.parseDouble(__ref._lv1top /*String*/ ))+100)); + if (true) break; + +case 50: +//C +this.state = 53; +; + if (true) break; + +case 52: +//C +this.state = 53; +RDebugUtils.currentLine=10682490; + //BA.debugLineNum = 10682490;BA.debugLine="LogColor(\"**************** Error! ************"; +parent.__c.LogImpl("810682490","**************** Error! ******************",parent.__c.Colors.Red); + if (true) break; + +case 53: +//C +this.state = 54; +; +RDebugUtils.currentLine=10682492; + //BA.debugLineNum = 10682492;BA.debugLine="j.Release"; +_j._release /*String*/ (null); +RDebugUtils.currentLine=10682493; + //BA.debugLineNum = 10682493;BA.debugLine="ProgressDialogHide"; +parent.__c.ProgressDialogHide(); +RDebugUtils.currentLine=10682495; + //BA.debugLineNum = 10682495;BA.debugLine="Private r As Int = 1"; +_r = (int) (1); +RDebugUtils.currentLine=10682496; + //BA.debugLineNum = 10682496;BA.debugLine="Private r1, wps As Map"; +_r1 = new anywheresoftware.b4a.objects.collections.Map(); +_wps = new anywheresoftware.b4a.objects.collections.Map(); +RDebugUtils.currentLine=10682497; + //BA.debugLineNum = 10682497;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from waypoints\""; +parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from waypoints"); +RDebugUtils.currentLine=10682498; + //BA.debugLineNum = 10682498;BA.debugLine="Log(\"BORRAMOS WAYPOINTS\")"; +parent.__c.LogImpl("810682498","BORRAMOS WAYPOINTS",0); +RDebugUtils.currentLine=10682499; + //BA.debugLineNum = 10682499;BA.debugLine="For Each k As Object In clientesMapaO.Keys 'Guard"; +if (true) break; + +case 54: +//for +this.state = 61; +group112 = __ref._clientesmapao /*reparto_izca.keymon.lat.b4xorderedmap*/ ._getkeys /*anywheresoftware.b4a.objects.collections.List*/ (null); +index112 = 0; +groupLen112 = group112.getSize(); +this.state = 78; +if (true) break; + +case 78: +//C +this.state = 61; +if (index112 < groupLen112) { +this.state = 56; +_k = group112.Get(index112);} +if (true) break; + +case 79: +//C +this.state = 78; +index112++; +if (true) break; + +case 56: +//C +this.state = 57; +RDebugUtils.currentLine=10682500; + //BA.debugLineNum = 10682500;BA.debugLine="If listaWayPoints.Size > 0 Then"; +if (true) break; + +case 57: +//if +this.state = 60; +if (__ref._listawaypoints /*anywheresoftware.b4a.objects.collections.List*/ .getSize()>0) { +this.state = 59; +}if (true) break; + +case 59: +//C +this.state = 60; +RDebugUtils.currentLine=10682501; + //BA.debugLineNum = 10682501;BA.debugLine="r1 = clientesMapaO.Get(k)"; +_r1 = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clientesmapao /*reparto_izca.keymon.lat.b4xorderedmap*/ ._get /*Object*/ (null,_k))); +RDebugUtils.currentLine=10682502; + //BA.debugLineNum = 10682502;BA.debugLine="r1.Get(\"codigo\")"; +_r1.Get((Object)("codigo")); +RDebugUtils.currentLine=10682503; + //BA.debugLineNum = 10682503;BA.debugLine="Log(listaWayPoints.Get(r) & \"|\" & r1.Get(\"coord"; +parent.__c.LogImpl("810682503",BA.ObjectToString(__ref._listawaypoints /*anywheresoftware.b4a.objects.collections.List*/ .Get(_r))+"|"+BA.ObjectToString(_r1.Get((Object)("coords")))+"|"+BA.ObjectToString(_r1.Get((Object)("calle"))),0); +RDebugUtils.currentLine=10682504; + //BA.debugLineNum = 10682504;BA.debugLine="wps = listaWayPoints.Get(r)"; +_wps = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._listawaypoints /*anywheresoftware.b4a.objects.collections.List*/ .Get(_r))); +RDebugUtils.currentLine=10682505; + //BA.debugLineNum = 10682505;BA.debugLine="Starter.skmt.ExecNonQuery($\"update kmt_info set"; +parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update kmt_info set SECUENCIA = "+parent.__c.SmartStringFormatter("",_wps.Get((Object)("waypoint_index")))+" where CAT_CL_CODIGO = '"+parent.__c.SmartStringFormatter("",_r1.Get((Object)("codigo")))+"'")); +RDebugUtils.currentLine=10682506; + //BA.debugLineNum = 10682506;BA.debugLine="Starter.skmt.ExecNonQuery2(\"insert into waypoin"; +parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into waypoints values (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{_r1.Get((Object)("codigo")),_wps.Get((Object)("waypoint_index"))})); +RDebugUtils.currentLine=10682507; + //BA.debugLineNum = 10682507;BA.debugLine="r = r + 1"; +_r = (int) (_r+1); + if (true) break; + +case 60: +//C +this.state = 79; +; + if (true) break; +if (true) break; + +case 61: +//C +this.state = 62; +; +RDebugUtils.currentLine=10682510; + //BA.debugLineNum = 10682510;BA.debugLine="ListView1.Clear"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=10682511; + //BA.debugLineNum = 10682511;BA.debugLine="Sleep(100)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_clientes", "traerutadia"),(int) (100)); +this.state = 80; +return; +case 80: +//C +this.state = 62; +; +RDebugUtils.currentLine=10682512; + //BA.debugLineNum = 10682512;BA.debugLine="Dim label2 As Label"; +_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=10682513; + //BA.debugLineNum = 10682513;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; +_label2 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().SecondLabel; +RDebugUtils.currentLine=10682514; + //BA.debugLineNum = 10682514;BA.debugLine="label2.TextSize = 15"; +_label2.setTextSize((float) (15)); +RDebugUtils.currentLine=10682515; + //BA.debugLineNum = 10682515;BA.debugLine="label2.Height = 100dip"; +_label2.setHeight(parent.__c.DipToCurrent((int) (100))); +RDebugUtils.currentLine=10682516; + //BA.debugLineNum = 10682516;BA.debugLine="ListView1.TwoLinesLayout.ItemHeight = 70dip"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().setItemHeight(parent.__c.DipToCurrent((int) (70))); +RDebugUtils.currentLine=10682517; + //BA.debugLineNum = 10682517;BA.debugLine="Dim cs, cs2 As CSBuilder"; +_cs = new anywheresoftware.b4a.objects.CSBuilder(); +_cs2 = new anywheresoftware.b4a.objects.CSBuilder(); +RDebugUtils.currentLine=10682518; + //BA.debugLineNum = 10682518;BA.debugLine="entro = 3"; +__ref._entro /*String*/ = BA.NumberToString(3); +RDebugUtils.currentLine=10682519; + //BA.debugLineNum = 10682519;BA.debugLine="Log(\"Generamos ListView1 en traeRutaDia\")"; +parent.__c.LogImpl("810682519","Generamos ListView1 en traeRutaDia",0); +RDebugUtils.currentLine=10682521; + //BA.debugLineNum = 10682521;BA.debugLine="c=Starter.skmt.ExecQuery(\"select codigo, indice,"; +__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 codigo, indice, CAT_CL_NOMBRE, CAT_CL_CALLE, CAT_CL_NOEXT from waypoints inner join kmt_info on waypoints.codigo = kmt_info.CAT_CL_CODIGO where gestion = 0 AND CAT_CL_RUTA <> 1000 order by indice"))); +RDebugUtils.currentLine=10682522; + //BA.debugLineNum = 10682522;BA.debugLine="If c.RowCount > 0 Then"; +if (true) break; + +case 62: +//if +this.state = 69; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +this.state = 64; +}if (true) break; + +case 64: +//C +this.state = 65; +RDebugUtils.currentLine=10682523; + //BA.debugLineNum = 10682523;BA.debugLine="For i=0 To c.RowCount -1 'Generamos el listView"; +if (true) break; + +case 65: +//for +this.state = 68; +step135 = 1; +limit135 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +this.state = 81; +if (true) break; + +case 81: +//C +this.state = 68; +if ((step135 > 0 && _i <= limit135) || (step135 < 0 && _i >= limit135)) this.state = 67; +if (true) break; + +case 82: +//C +this.state = 81; +_i = ((int)(0 + _i + step135)) ; +if (true) break; + +case 67: +//C +this.state = 82; +RDebugUtils.currentLine=10682524; + //BA.debugLineNum = 10682524;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=10682525; + //BA.debugLineNum = 10682525;BA.debugLine="cs.Initialize"; +_cs.Initialize(); +RDebugUtils.currentLine=10682526; + //BA.debugLineNum = 10682526;BA.debugLine="cs2.Initialize"; +_cs2.Initialize(); +RDebugUtils.currentLine=10682527; + //BA.debugLineNum = 10682527;BA.debugLine="ListView1.AddTwoLines(cs.Color(Colors.RGB(100,1"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddTwoLines(BA.ObjectToCharSequence(_cs.Color(parent.__c.Colors.RGB((int) (100),(int) (149),(int) (237))).Append(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("codigo"))).PopAll().getObject()),BA.ObjectToCharSequence(_cs2.Append(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_NOMBRE"))).Color(parent.__c.Colors.RGB((int) (100),(int) (149),(int) (237))).Append(BA.ObjectToCharSequence(" Calle: ")).Pop().Append(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CALLE").trim()+" "+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_NOEXT"))).PopAll().getObject())); + if (true) break; +if (true) break; + +case 68: +//C +this.state = 69; +; + if (true) break; + +case 69: +//C +this.state = -1; +; +RDebugUtils.currentLine=10682530; + //BA.debugLineNum = 10682530;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=10682531; + //BA.debugLineNum = 10682531;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public reparto_izca.keymon.lat.b4xorderedmap _traetodosavisitar(reparto_izca.keymon.lat.c_clientes __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_clientes"; +if (Debug.shouldDelegate(ba, "traetodosavisitar", false)) + {return ((reparto_izca.keymon.lat.b4xorderedmap) Debug.delegate(ba, "traetodosavisitar", null));} +anywheresoftware.b4a.gps.LocationWrapper _thisloc = null; +anywheresoftware.b4a.gps.LocationWrapper _ubicacioninicial = null; +int _i = 0; +int _j = 0; +int _distancia = 0; +anywheresoftware.b4a.objects.collections.Map _estecliente = null; +RDebugUtils.currentLine=10813440; + //BA.debugLineNum = 10813440;BA.debugLine="Sub traeTodosAVisitar As B4XOrderedMap 'ignore"; +RDebugUtils.currentLine=10813441; + //BA.debugLineNum = 10813441;BA.debugLine="Log(\"Iniciamos traeTodosAVisitar\")"; +__c.LogImpl("810813441","Iniciamos traeTodosAVisitar",0); +RDebugUtils.currentLine=10813444; + //BA.debugLineNum = 10813444;BA.debugLine="Private thisLoc, ubicacionInicial As Location"; +_thisloc = new anywheresoftware.b4a.gps.LocationWrapper(); +_ubicacioninicial = new anywheresoftware.b4a.gps.LocationWrapper(); +RDebugUtils.currentLine=10813445; + //BA.debugLineNum = 10813445;BA.debugLine="ubicacionInicial = Starter.cedisLocation"; +_ubicacioninicial = _starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ ; +RDebugUtils.currentLine=10813446; + //BA.debugLineNum = 10813446;BA.debugLine="LogColor(ubicacionInicial, Colors.Gray)"; +__c.LogImpl("810813446",BA.ObjectToString(_ubicacioninicial),__c.Colors.Gray); +RDebugUtils.currentLine=10813447; + //BA.debugLineNum = 10813447;BA.debugLine="c=Starter.skmt.ExecQuery(\"select sum(gestion) as"; +__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 sum(gestion) as hayVisitados from kmt_info"))); +RDebugUtils.currentLine=10813448; + //BA.debugLineNum = 10813448;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=10813449; + //BA.debugLineNum = 10813449;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=10813451; + //BA.debugLineNum = 10813451;BA.debugLine="If c.GetString(\"hayVisitados\") > 0 Then ubicacio"; +if ((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("hayVisitados")))>0) { +_ubicacioninicial = _tracker._uugcoords /*anywheresoftware.b4a.gps.LocationWrapper*/ ;}; + }; +RDebugUtils.currentLine=10813453; + //BA.debugLineNum = 10813453;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=10813454; + //BA.debugLineNum = 10813454;BA.debugLine="LogColor(ubicacionInicial, Colors.Red)"; +__c.LogImpl("810813454",BA.ObjectToString(_ubicacioninicial),__c.Colors.Red); +RDebugUtils.currentLine=10813455; + //BA.debugLineNum = 10813455;BA.debugLine="thisLoc.Initialize"; +_thisloc.Initialize(); +RDebugUtils.currentLine=10813456; + //BA.debugLineNum = 10813456;BA.debugLine="clientesMapaO.Clear"; +__ref._clientesmapao /*reparto_izca.keymon.lat.b4xorderedmap*/ ._clear /*String*/ (null); +RDebugUtils.currentLine=10813458; + //BA.debugLineNum = 10813458;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CAT_CL_RUTA, 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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_RUTA, count(*) as cuantos from kmt_info where gestion = 0 AND CAT_CL_RUTA <> 1000 group by CAT_CL_RUTA order by CAT_CL_RUTA asc"))); +RDebugUtils.currentLine=10813459; + //BA.debugLineNum = 10813459;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=10813461; + //BA.debugLineNum = 10813461;BA.debugLine="For i=0 To c.RowCount -1"; +{ +final int step16 = 1; +final int limit16 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit16 ;_i = _i + step16 ) { +RDebugUtils.currentLine=10813462; + //BA.debugLineNum = 10813462;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=10813464; + //BA.debugLineNum = 10813464;BA.debugLine="c2=Starter.skmt.ExecQuery2(\"select CAT_CL_NOMB"; +__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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_CL_NOMBRE, CAT_CL_CALLE, CAT_CL_CODIGO, CAT_CL_LAT, CAT_CL_LONG from kmt_info where CAT_CL_RUTA = ? and gestion = 0 AND CAT_CL_RUTA <> 1000 order by CAT_CL_NOMBRE ",new String[]{__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_RUTA")}))); +RDebugUtils.currentLine=10813465; + //BA.debugLineNum = 10813465;BA.debugLine="If c2.RowCount>0 Then"; +if (__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=10813466; + //BA.debugLineNum = 10813466;BA.debugLine="For j=0 To c2.RowCount -1 'Generamos lista de"; +{ +final int step20 = 1; +final int limit20 = (int) (__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_j = (int) (0) ; +for (;_j <= limit20 ;_j = _j + step20 ) { +RDebugUtils.currentLine=10813467; + //BA.debugLineNum = 10813467;BA.debugLine="c2.Position=j"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_j); +RDebugUtils.currentLine=10813469; + //BA.debugLineNum = 10813469;BA.debugLine="thisLoc.Latitude = c2.GetString(\"CAT_CL_LAT\")"; +_thisloc.setLatitude((double)(Double.parseDouble(__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_LAT")))); +RDebugUtils.currentLine=10813470; + //BA.debugLineNum = 10813470;BA.debugLine="thisLoc.Longitude = c2.GetString(\"CAT_CL_LONG"; +_thisloc.setLongitude((double)(Double.parseDouble(__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_LONG")))); +RDebugUtils.currentLine=10813471; + //BA.debugLineNum = 10813471;BA.debugLine="If Not(thisLoc.Latitude = 0.0) And Not(thisLo"; +if (__c.Not(_thisloc.getLatitude()==0.0) && __c.Not(_thisloc.getLatitude()==0)) { +RDebugUtils.currentLine=10813472; + //BA.debugLineNum = 10813472;BA.debugLine="Private distancia As Int = ubicacionInicial."; +_distancia = (int) (_ubicacioninicial.DistanceTo((android.location.Location)(_thisloc.getObject()))); +RDebugUtils.currentLine=10813473; + //BA.debugLineNum = 10813473;BA.debugLine="If clientesMapaO.ContainsKey(distancia) Then"; +if (__ref._clientesmapao /*reparto_izca.keymon.lat.b4xorderedmap*/ ._containskey /*boolean*/ (null,(Object)(_distancia))) { +_distancia = (int) (_distancia+1);}; +RDebugUtils.currentLine=10813474; + //BA.debugLineNum = 10813474;BA.debugLine="Private esteCliente As Map = CreateMap(\"dist"; +_estecliente = new anywheresoftware.b4a.objects.collections.Map(); +_estecliente = __c.createMap(new Object[] {(Object)("distancia"),(Object)(_distancia),(Object)("ordenDist"),(Object)(_j),(Object)("coords"),(Object)(__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_LONG")+","+__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_LAT")),(Object)("codigo"),(Object)(__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CODIGO")),(Object)("nombre"),(Object)(__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_NOMBRE")),(Object)("calle"),(Object)(__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CALLE"))}); +RDebugUtils.currentLine=10813475; + //BA.debugLineNum = 10813475;BA.debugLine="clientesMapaO.Put(distancia, esteCliente)"; +__ref._clientesmapao /*reparto_izca.keymon.lat.b4xorderedmap*/ ._put /*String*/ (null,(Object)(_distancia),(Object)(_estecliente.getObject())); + }else { +RDebugUtils.currentLine=10813477; + //BA.debugLineNum = 10813477;BA.debugLine="ToastMessageShow(\"Hay tiendas SIN coordenada"; +__c.ToastMessageShow(BA.ObjectToCharSequence("Hay tiendas SIN coordenadas, fueron excluidas!!"),__c.False); + }; + } +}; + }; + } +}; + }; +RDebugUtils.currentLine=10813485; + //BA.debugLineNum = 10813485;BA.debugLine="clientesMapaO.Keys.Sort(True) 'Ordenamos la lista"; +__ref._clientesmapao /*reparto_izca.keymon.lat.b4xorderedmap*/ ._getkeys /*anywheresoftware.b4a.objects.collections.List*/ (null).Sort(__c.True); +RDebugUtils.currentLine=10813486; + //BA.debugLineNum = 10813486;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=10813487; + //BA.debugLineNum = 10813487;BA.debugLine="c2.Close"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=10813488; + //BA.debugLineNum = 10813488;BA.debugLine="Log(c.RowCount & \" rutas, \" & clientesMapaO.Size"; +__c.LogImpl("810813488",BA.NumberToString(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount())+" rutas, "+BA.NumberToString(__ref._clientesmapao /*reparto_izca.keymon.lat.b4xorderedmap*/ ._getsize /*int*/ (null))+" clientes",0); +RDebugUtils.currentLine=10813491; + //BA.debugLineNum = 10813491;BA.debugLine="Return clientesMapaO"; +if (true) return __ref._clientesmapao /*reparto_izca.keymon.lat.b4xorderedmap*/ ; +RDebugUtils.currentLine=10813492; + //BA.debugLineNum = 10813492;BA.debugLine="End Sub"; +return null; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/c_detalle_promo.java b/B4A/Objects/src/reparto_izca/keymon/lat/c_detalle_promo.java new file mode 100644 index 0000000..714b638 --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/c_detalle_promo.java @@ -0,0 +1,347 @@ +package reparto_izca.keymon.lat; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.B4AClass; +import anywheresoftware.b4a.BALayout; +import anywheresoftware.b4a.debug.*; + +public class c_detalle_promo 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, "reparto_izca.keymon.lat.c_detalle_promo"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", reparto_izca.keymon.lat.c_detalle_promo.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.sql.SQL.CursorWrapper _c = null; +public anywheresoftware.b4a.objects.ButtonWrapper _regresar = null; +public anywheresoftware.b4a.sql.SQL.CursorWrapper _b = null; +public String _regalo = ""; +public anywheresoftware.b4a.objects.ListViewWrapper _listview1 = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_cant = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_total = null; +public anywheresoftware.b4a.objects.ButtonWrapper _borra = null; +public String _existe = ""; +public b4a.example.dateutils _dateutils = null; +public reparto_izca.keymon.lat.main _main = null; +public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; +public reparto_izca.keymon.lat.foto _foto = null; +public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_izca.keymon.lat.starter _starter = null; +public reparto_izca.keymon.lat.tracker _tracker = null; +public reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public Object _initialize(reparto_izca.keymon.lat.c_detalle_promo __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="c_detalle_promo"; +if (Debug.shouldDelegate(ba, "initialize", false)) + {return ((Object) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=11272192; + //BA.debugLineNum = 11272192;BA.debugLine="Public Sub Initialize As Object"; +RDebugUtils.currentLine=11272193; + //BA.debugLineNum = 11272193;BA.debugLine="Return Me"; +if (true) return this; +RDebugUtils.currentLine=11272194; + //BA.debugLineNum = 11272194;BA.debugLine="End Sub"; +return null; +} +public boolean _activity_keypress(reparto_izca.keymon.lat.c_detalle_promo __ref,int _key) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_detalle_promo"; +if (Debug.shouldDelegate(ba, "activity_keypress", false)) + {return ((Boolean) Debug.delegate(ba, "activity_keypress", new Object[] {_key}));} +RDebugUtils.currentLine=11599872; + //BA.debugLineNum = 11599872;BA.debugLine="Sub Activity_KeyPress (key As Int) As Boolean"; +RDebugUtils.currentLine=11599874; + //BA.debugLineNum = 11599874;BA.debugLine="If key=KeyCodes.KEYCODE_BACK Then"; +if (_key==__c.KeyCodes.KEYCODE_BACK) { +RDebugUtils.currentLine=11599877; + //BA.debugLineNum = 11599877;BA.debugLine="B4XPages.ShowPage(\"\")"; +_b4xpages._showpage /*String*/ (ba,""); + }; +RDebugUtils.currentLine=11599881; + //BA.debugLineNum = 11599881;BA.debugLine="Return False"; +if (true) return __c.False; +RDebugUtils.currentLine=11599882; + //BA.debugLineNum = 11599882;BA.debugLine="End Sub"; +return false; +} +public String _activity_pause(reparto_izca.keymon.lat.c_detalle_promo __ref,boolean _userclosed) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_detalle_promo"; +RDebugUtils.currentLine=11468800; + //BA.debugLineNum = 11468800;BA.debugLine="Sub Activity_Pause (UserClosed As Boolean)"; +RDebugUtils.currentLine=11468802; + //BA.debugLineNum = 11468802;BA.debugLine="End Sub"; +return ""; +} +public String _b4xpage_appear(reparto_izca.keymon.lat.c_detalle_promo __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_detalle_promo"; +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; +RDebugUtils.currentLine=11403264; + //BA.debugLineNum = 11403264;BA.debugLine="Sub B4XPage_Appear"; +RDebugUtils.currentLine=11403265; + //BA.debugLineNum = 11403265;BA.debugLine="Starter.skmt.Initialize(Starter.ruta,\"kmt.db\", Tr"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .Initialize(_starter._ruta /*String*/ ,"kmt.db",__c.True); +RDebugUtils.currentLine=11403266; + //BA.debugLineNum = 11403266;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CAT_DP_IDPROD, 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_DP_IDPROD, CAT_DP_PZAS, CAT_DP_PRECIO FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID)"))); +RDebugUtils.currentLine=11403267; + //BA.debugLineNum = 11403267;BA.debugLine="ListView1.Clear"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=11403268; + //BA.debugLineNum = 11403268;BA.debugLine="Subs.SetDivider(ListView1, Colors.LightGray, 2)"; +_subs._setdivider /*String*/ (ba,__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ ,__c.Colors.LightGray,(int) (2)); +RDebugUtils.currentLine=11403269; + //BA.debugLineNum = 11403269;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=11403270; + //BA.debugLineNum = 11403270;BA.debugLine="For i=0 To c.RowCount -1"; +{ +final int step6 = 1; +final int limit6 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit6 ;_i = _i + step6 ) { +RDebugUtils.currentLine=11403271; + //BA.debugLineNum = 11403271;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=11403272; + //BA.debugLineNum = 11403272;BA.debugLine="b=Starter.skmt.ExecQuery2(\"select CAT_GP_NOMBRE"; +__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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_GP_NOMBRE from cat_gunaprod where CAT_GP_ID = ?",new String[]{__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_IDPROD")}))); +RDebugUtils.currentLine=11403273; + //BA.debugLineNum = 11403273;BA.debugLine="B.Position =0"; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=11403274; + //BA.debugLineNum = 11403274;BA.debugLine="Dim label1 As Label"; +_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=11403275; + //BA.debugLineNum = 11403275;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; +_label1 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().Label; +RDebugUtils.currentLine=11403276; + //BA.debugLineNum = 11403276;BA.debugLine="label1.TextSize = 10"; +_label1.setTextSize((float) (10)); +RDebugUtils.currentLine=11403277; + //BA.debugLineNum = 11403277;BA.debugLine="label1.TextColor = Colors.White"; +_label1.setTextColor(__c.Colors.White); +RDebugUtils.currentLine=11403278; + //BA.debugLineNum = 11403278;BA.debugLine="Dim label2 As Label"; +_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=11403279; + //BA.debugLineNum = 11403279;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; +_label2 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().SecondLabel; +RDebugUtils.currentLine=11403280; + //BA.debugLineNum = 11403280;BA.debugLine="label2.TextSize = 10"; +_label2.setTextSize((float) (10)); +RDebugUtils.currentLine=11403281; + //BA.debugLineNum = 11403281;BA.debugLine="label2.TextColor = Colors.White"; +_label2.setTextColor(__c.Colors.White); +RDebugUtils.currentLine=11403282; + //BA.debugLineNum = 11403282;BA.debugLine="If c.GetString(\"CAT_DP_PRECIO\") = 0 Then"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_PRECIO")).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=11403283; + //BA.debugLineNum = 11403283;BA.debugLine="regalo = \"SI\""; +__ref._regalo /*String*/ = "SI"; + }else { +RDebugUtils.currentLine=11403285; + //BA.debugLineNum = 11403285;BA.debugLine="regalo = \"NO\""; +__ref._regalo /*String*/ = "NO"; + }; +RDebugUtils.currentLine=11403287; + //BA.debugLineNum = 11403287;BA.debugLine="ListView1.AddTwoLines(B.GetString(\"CAT_GP_NOMBR"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddTwoLines(BA.ObjectToCharSequence(__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_NOMBRE")),BA.ObjectToCharSequence("Cantidad # "+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_PZAS")+" REGALO "+__ref._regalo /*String*/ )); +RDebugUtils.currentLine=11403288; + //BA.debugLineNum = 11403288;BA.debugLine="b.Close"; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + } +}; +RDebugUtils.currentLine=11403290; + //BA.debugLineNum = 11403290;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }; +RDebugUtils.currentLine=11403293; + //BA.debugLineNum = 11403293;BA.debugLine="End Sub"; +return ""; +} +public String _b4xpage_created(reparto_izca.keymon.lat.c_detalle_promo __ref,anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_detalle_promo"; +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=11337728; + //BA.debugLineNum = 11337728;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +RDebugUtils.currentLine=11337729; + //BA.debugLineNum = 11337729;BA.debugLine="Root = Root1"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _root1; +RDebugUtils.currentLine=11337731; + //BA.debugLineNum = 11337731;BA.debugLine="Root.LoadLayout(\"detalle_promo\")"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("detalle_promo",ba); +RDebugUtils.currentLine=11337732; + //BA.debugLineNum = 11337732;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CAT_DP_IDPROD, 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_DP_IDPROD, CAT_DP_PZAS, CAT_DP_PRECIO FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID)"))); +RDebugUtils.currentLine=11337733; + //BA.debugLineNum = 11337733;BA.debugLine="ListView1.Clear"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=11337734; + //BA.debugLineNum = 11337734;BA.debugLine="Subs.SetDivider(ListView1, Colors.LightGray, 2)"; +_subs._setdivider /*String*/ (ba,__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ ,__c.Colors.LightGray,(int) (2)); +RDebugUtils.currentLine=11337735; + //BA.debugLineNum = 11337735;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=11337736; + //BA.debugLineNum = 11337736;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=11337737; + //BA.debugLineNum = 11337737;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=11337738; + //BA.debugLineNum = 11337738;BA.debugLine="b=Starter.skmt.ExecQuery2(\"select CAT_GP_NOMBRE"; +__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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_GP_NOMBRE from cat_gunaprod where CAT_GP_ID = ?",new String[]{__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_IDPROD")}))); +RDebugUtils.currentLine=11337739; + //BA.debugLineNum = 11337739;BA.debugLine="B.Position =0"; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=11337740; + //BA.debugLineNum = 11337740;BA.debugLine="Dim label1 As Label"; +_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=11337741; + //BA.debugLineNum = 11337741;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; +_label1 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().Label; +RDebugUtils.currentLine=11337742; + //BA.debugLineNum = 11337742;BA.debugLine="label1.TextSize = 10"; +_label1.setTextSize((float) (10)); +RDebugUtils.currentLine=11337743; + //BA.debugLineNum = 11337743;BA.debugLine="label1.TextColor = Colors.White"; +_label1.setTextColor(__c.Colors.White); +RDebugUtils.currentLine=11337744; + //BA.debugLineNum = 11337744;BA.debugLine="Dim label2 As Label"; +_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=11337745; + //BA.debugLineNum = 11337745;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; +_label2 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().SecondLabel; +RDebugUtils.currentLine=11337746; + //BA.debugLineNum = 11337746;BA.debugLine="label2.TextSize = 10"; +_label2.setTextSize((float) (10)); +RDebugUtils.currentLine=11337747; + //BA.debugLineNum = 11337747;BA.debugLine="label2.TextColor = Colors.White"; +_label2.setTextColor(__c.Colors.White); +RDebugUtils.currentLine=11337748; + //BA.debugLineNum = 11337748;BA.debugLine="If c.GetString(\"CAT_DP_PRECIO\") = 0 Then"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_PRECIO")).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=11337749; + //BA.debugLineNum = 11337749;BA.debugLine="regalo = \"SI\""; +__ref._regalo /*String*/ = "SI"; + }else { +RDebugUtils.currentLine=11337751; + //BA.debugLineNum = 11337751;BA.debugLine="regalo = \"NO\""; +__ref._regalo /*String*/ = "NO"; + }; +RDebugUtils.currentLine=11337753; + //BA.debugLineNum = 11337753;BA.debugLine="ListView1.AddTwoLines(B.GetString(\"CAT_GP_NOMBR"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddTwoLines(BA.ObjectToCharSequence(__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_NOMBRE")),BA.ObjectToCharSequence("Cantidad # "+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_PZAS")+" REGALO "+__ref._regalo /*String*/ )); +RDebugUtils.currentLine=11337754; + //BA.debugLineNum = 11337754;BA.debugLine="b.Close"; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + } +}; +RDebugUtils.currentLine=11337756; + //BA.debugLineNum = 11337756;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }; +RDebugUtils.currentLine=11337758; + //BA.debugLineNum = 11337758;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(reparto_izca.keymon.lat.c_detalle_promo __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_detalle_promo"; +RDebugUtils.currentLine=11206656; + //BA.debugLineNum = 11206656;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=11206657; + //BA.debugLineNum = 11206657;BA.debugLine="Private Root As B4XView 'ignore"; +_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=11206658; + //BA.debugLineNum = 11206658;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=11206659; + //BA.debugLineNum = 11206659;BA.debugLine="Dim c As Cursor"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=11206661; + //BA.debugLineNum = 11206661;BA.debugLine="Dim Regresar As Button"; +_regresar = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=11206662; + //BA.debugLineNum = 11206662;BA.debugLine="Dim b As Cursor"; +_b = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=11206663; + //BA.debugLineNum = 11206663;BA.debugLine="Dim regalo As String"; +_regalo = ""; +RDebugUtils.currentLine=11206664; + //BA.debugLineNum = 11206664;BA.debugLine="Dim ListView1 As ListView"; +_listview1 = new anywheresoftware.b4a.objects.ListViewWrapper(); +RDebugUtils.currentLine=11206665; + //BA.debugLineNum = 11206665;BA.debugLine="Dim L_CANT As Label"; +_l_cant = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=11206666; + //BA.debugLineNum = 11206666;BA.debugLine="Dim L_TOTAL As Label"; +_l_total = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=11206667; + //BA.debugLineNum = 11206667;BA.debugLine="Dim borra As Button"; +_borra = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=11206668; + //BA.debugLineNum = 11206668;BA.debugLine="Dim Existe As String"; +_existe = ""; +RDebugUtils.currentLine=11206669; + //BA.debugLineNum = 11206669;BA.debugLine="End Sub"; +return ""; +} +public String _regresar_click(reparto_izca.keymon.lat.c_detalle_promo __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_detalle_promo"; +if (Debug.shouldDelegate(ba, "regresar_click", false)) + {return ((String) Debug.delegate(ba, "regresar_click", null));} +RDebugUtils.currentLine=11534336; + //BA.debugLineNum = 11534336;BA.debugLine="Sub Regresar_Click"; +RDebugUtils.currentLine=11534338; + //BA.debugLineNum = 11534338;BA.debugLine="B4XPages.ShowPage(\"\")"; +_b4xpages._showpage /*String*/ (ba,""); +RDebugUtils.currentLine=11534339; + //BA.debugLineNum = 11534339;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/c_detalleventa.java b/B4A/Objects/src/reparto_izca/keymon/lat/c_detalleventa.java new file mode 100644 index 0000000..e40fcce --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/c_detalleventa.java @@ -0,0 +1,1994 @@ +package reparto_izca.keymon.lat; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.B4AClass; +import anywheresoftware.b4a.BALayout; +import anywheresoftware.b4a.debug.*; + +public class c_detalleventa 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, "reparto_izca.keymon.lat.c_detalleventa"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", reparto_izca.keymon.lat.c_detalleventa.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.gps.GPS _g = null; +public String _clie_id = ""; +public String _sdate = ""; +public String _stime = ""; +public String _usuario = ""; +public anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_regresar = null; +public anywheresoftware.b4a.objects.ListViewWrapper _listview1 = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_cant = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_total = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_borra = null; +public String _existe = ""; +public String _result = ""; +public String _cuantos = ""; +public String _nombre_prod = ""; +public String _cuantos_pedido = ""; +public anywheresoftware.b4a.objects.LabelWrapper _titulo = null; +public anywheresoftware.b4a.objects.PanelWrapper _p1 = null; +public anywheresoftware.b4a.objects.ListViewWrapper _lv2 = null; +public anywheresoftware.b4a.objects.PanelWrapper _p_principal = null; +public b4a.example3.customlistview _clv_pedido = null; +public anywheresoftware.b4a.objects.PanelWrapper _p_prods = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_prodx = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_pcant = null; +public anywheresoftware.b4a.objects.EditTextWrapper _et_pcant = null; +public anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _bmp = null; +public boolean _etcanthasfocus = false; +public int _totalprods = 0; +public int _totalcompra = 0; +public anywheresoftware.b4a.objects.collections.Map _prodsmap = null; +public boolean _reconstruirpedido = false; +public String _promoaborrar = ""; +public anywheresoftware.b4a.objects.ButtonWrapper _b_guardar = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_prodmas = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_prodmenos = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_prodmenosc = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_pcantc = null; +public anywheresoftware.b4a.objects.EditTextWrapper _et_pcantc = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_prodmasc = null; +public anywheresoftware.b4a.objects.PanelWrapper _p_botmasmenc = null; +public anywheresoftware.b4a.objects.PanelWrapper _p_botmasmen = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_cajas = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_piezas = null; +public b4a.example.dateutils _dateutils = null; +public reparto_izca.keymon.lat.main _main = null; +public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; +public reparto_izca.keymon.lat.foto _foto = null; +public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_izca.keymon.lat.starter _starter = null; +public reparto_izca.keymon.lat.tracker _tracker = null; +public reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public Object _initialize(reparto_izca.keymon.lat.c_detalleventa __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="c_detalleventa"; +if (Debug.shouldDelegate(ba, "initialize", false)) + {return ((Object) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=11730944; + //BA.debugLineNum = 11730944;BA.debugLine="Public Sub Initialize As Object"; +RDebugUtils.currentLine=11730945; + //BA.debugLineNum = 11730945;BA.debugLine="Return Me"; +if (true) return this; +RDebugUtils.currentLine=11730946; + //BA.debugLineNum = 11730946;BA.debugLine="End Sub"; +return null; +} +public String _b_guardar_click(reparto_izca.keymon.lat.c_detalleventa __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_detalleventa"; +if (Debug.shouldDelegate(ba, "b_guardar_click", false)) + {return ((String) Debug.delegate(ba, "b_guardar_click", null));} +RDebugUtils.currentLine=12582912; + //BA.debugLineNum = 12582912;BA.debugLine="Private Sub b_guardar_Click"; +RDebugUtils.currentLine=12582914; + //BA.debugLineNum = 12582914;BA.debugLine="End Sub"; +return ""; +} +public String _b_prodmas_click(reparto_izca.keymon.lat.c_detalleventa __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_detalleventa"; +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 _maxprods = ""; +String _minimoadesc = ""; +anywheresoftware.b4a.sql.SQL.CursorWrapper _minimos = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _c2 = null; +RDebugUtils.currentLine=12451840; + //BA.debugLineNum = 12451840;BA.debugLine="Sub b_prodMas_Click"; +RDebugUtils.currentLine=12451841; + //BA.debugLineNum = 12451841;BA.debugLine="etCantHasFocus = False"; +__ref._etcanthasfocus /*boolean*/ = __c.False; +RDebugUtils.currentLine=12451843; + //BA.debugLineNum = 12451843;BA.debugLine="LogColor(\"b_prodMas_Click\", Colors.Magenta)"; +__c.LogImpl("812451843","b_prodMas_Click",__c.Colors.Magenta); +RDebugUtils.currentLine=12451844; + //BA.debugLineNum = 12451844;BA.debugLine="Dim index As Int = clv_pedido.GetItemFromView(Sen"; +_index = __ref._clv_pedido /*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=12451845; + //BA.debugLineNum = 12451845;BA.debugLine="Dim pnl0 As B4XView = clv_pedido.GetPanel(index)"; +_pnl0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_pnl0 = __ref._clv_pedido /*b4a.example3.customlistview*/ ._getpanel(_index); +RDebugUtils.currentLine=12451846; + //BA.debugLineNum = 12451846;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; +_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_pnl = _pnl0.GetView((int) (0)); +RDebugUtils.currentLine=12451847; + //BA.debugLineNum = 12451847;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(3)"; +_lacant = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_lacant = _pnl.GetView((int) (2)).GetView((int) (3)); +RDebugUtils.currentLine=12451851; + //BA.debugLineNum = 12451851;BA.debugLine="Dim esteTag As List = Regex.Split(\"\\|\", laCant.Ta"; +_estetag = new anywheresoftware.b4a.objects.collections.List(); +_estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(__c.Regex.Split("\\|",BA.ObjectToString(_lacant.getTag()))); +RDebugUtils.currentLine=12451852; + //BA.debugLineNum = 12451852;BA.debugLine="Log(\"LC_TEXT:\"&laCant.Text&\"|LC_TAG:\"&laCant.Tag&"; +__c.LogImpl("812451852","LC_TEXT:"+_lacant.getText()+"|LC_TAG:"+BA.ObjectToString(_lacant.getTag())+"|ET:"+BA.ObjectToString(_estetag),0); +RDebugUtils.currentLine=12451853; + //BA.debugLineNum = 12451853;BA.debugLine="If laCant.Text = \"\" Then laCant.Text = 0"; +if ((_lacant.getText()).equals("")) { +_lacant.setText(BA.ObjectToCharSequence(0));}; +RDebugUtils.currentLine=12451855; + //BA.debugLineNum = 12451855;BA.debugLine="Private maxProds = esteTag.Get(1) + esteTag.Get(4"; +_maxprods = BA.NumberToString((double)(BA.ObjectToNumber(_estetag.Get((int) (1))))+(double)(BA.ObjectToNumber(_estetag.Get((int) (4))))); +RDebugUtils.currentLine=12451857; + //BA.debugLineNum = 12451857;BA.debugLine="LogColor($\"++++++++++++++++++++++++++ ${esteTag"; +__c.LogImpl("812451857",("++++++++++++++++++++++++++ "+__c.SmartStringFormatter("",(Object)(_estetag.getObject()))+""),__c.Colors.Green); +RDebugUtils.currentLine=12451860; + //BA.debugLineNum = 12451860;BA.debugLine="Private minimoadesc As String"; +_minimoadesc = ""; +RDebugUtils.currentLine=12451861; + //BA.debugLineNum = 12451861;BA.debugLine="Dim minimos As Cursor = Starter.skmt.ExecQuery2(\""; +_minimos = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_minimos = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM CAT_GUNAPROD3 WHERE CAT_GP_ID = ?",new String[]{BA.ObjectToString(_estetag.Get((int) (2)))}))); +RDebugUtils.currentLine=12451862; + //BA.debugLineNum = 12451862;BA.debugLine="If minimos.RowCount > 0 Then"; +if (_minimos.getRowCount()>0) { +RDebugUtils.currentLine=12451863; + //BA.debugLineNum = 12451863;BA.debugLine="minimos.Position = 0"; +_minimos.setPosition((int) (0)); +RDebugUtils.currentLine=12451864; + //BA.debugLineNum = 12451864;BA.debugLine="minimoadesc = minimos.GetString(\"CAT_DP_CANT_MIN"; +_minimoadesc = _minimos.GetString("CAT_DP_CANT_MIN_VENTA"); + }else { +RDebugUtils.currentLine=12451866; + //BA.debugLineNum = 12451866;BA.debugLine="minimoadesc = \"1\""; +_minimoadesc = "1"; + }; +RDebugUtils.currentLine=12451868; + //BA.debugLineNum = 12451868;BA.debugLine="minimos.Close"; +_minimos.Close(); +RDebugUtils.currentLine=12451870; + //BA.debugLineNum = 12451870;BA.debugLine="minimoadesc = \"1\""; +_minimoadesc = "1"; +RDebugUtils.currentLine=12451871; + //BA.debugLineNum = 12451871;BA.debugLine="If esteTag.Get(7) <> \"1\" Then"; +if ((_estetag.Get((int) (7))).equals((Object)("1")) == false) { +RDebugUtils.currentLine=12451874; + //BA.debugLineNum = 12451874;BA.debugLine="If esteTag.Get(5) = esteTag.Get(6) Then"; +if ((_estetag.Get((int) (5))).equals(_estetag.Get((int) (6)))) { +RDebugUtils.currentLine=12451876; + //BA.debugLineNum = 12451876;BA.debugLine="If laCant.Text + 1 <= maxProds Then"; +if ((double)(Double.parseDouble(_lacant.getText()))+1<=(double)(Double.parseDouble(_maxprods))) { +RDebugUtils.currentLine=12451877; + //BA.debugLineNum = 12451877;BA.debugLine="Log($\"NuevaCant = ${laCant.Text + 1}\"$)"; +__c.LogImpl("812451877",("NuevaCant = "+__c.SmartStringFormatter("",(Object)((double)(Double.parseDouble(_lacant.getText()))+1))+""),0); +RDebugUtils.currentLine=12451878; + //BA.debugLineNum = 12451878;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=12451879; + //BA.debugLineNum = 12451879;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update cat_gunapro"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen - 1 where cat_gp_id = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{_estetag.Get((int) (2))})); +RDebugUtils.currentLine=12451882; + //BA.debugLineNum = 12451882;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENTAS"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update HIST_VENTAS set HVD_RECHAZO = 1, HVD_RECHAZOCANT = HVD_RECHAZOCANT - (1*'"+__c.SmartStringFormatter("",(Object)(_minimoadesc))+"') WHERE HVD_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and HVD_cliente in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (8)))+"'")); +RDebugUtils.currentLine=12451884; + //BA.debugLineNum = 12451884;BA.debugLine="Subs.prodVenta(esteTag.Get(5), esteTag.Get(2))"; +_subs._prodventa /*String*/ (ba,BA.ObjectToString(_estetag.Get((int) (5))),BA.ObjectToString(_estetag.Get((int) (2)))); +RDebugUtils.currentLine=12451889; + //BA.debugLineNum = 12451889;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); + }; + }else { +RDebugUtils.currentLine=12451893; + //BA.debugLineNum = 12451893;BA.debugLine="If laCant.Text + 1 <= maxProds Then"; +if ((double)(Double.parseDouble(_lacant.getText()))+1<=(double)(Double.parseDouble(_maxprods))) { +RDebugUtils.currentLine=12451894; + //BA.debugLineNum = 12451894;BA.debugLine="Log($\"NuevaCant = ${laCant.Text + 1}\"$)"; +__c.LogImpl("812451894",("NuevaCant = "+__c.SmartStringFormatter("",(Object)((double)(Double.parseDouble(_lacant.getText()))+1))+""),0); +RDebugUtils.currentLine=12451895; + //BA.debugLineNum = 12451895;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=12451896; + //BA.debugLineNum = 12451896;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update cat_gunapro"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen - 1 where cat_gp_id = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{BA.ObjectToString(_estetag.Get((int) (2)))})); +RDebugUtils.currentLine=12451897; + //BA.debugLineNum = 12451897;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM PED"; +__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*/ .ExecQuery2("SELECT * FROM PEDIDO WHERE PE_PROID = ? and PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND CONSECUTIVO = ?",new String[]{BA.ObjectToString(_estetag.Get((int) (2))),BA.ObjectToString(_estetag.Get((int) (8)))}))); +RDebugUtils.currentLine=12451898; + //BA.debugLineNum = 12451898;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=12451899; + //BA.debugLineNum = 12451899;BA.debugLine="Private c2 As Cursor = Starter.skmt.ExecQuery"; +_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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM CAT_GUNAPROD WHERE CAT_GP_ID = ?",new String[]{BA.ObjectToString(_estetag.Get((int) (2)))}))); +RDebugUtils.currentLine=12451900; + //BA.debugLineNum = 12451900;BA.debugLine="If c2.RowCount > 0 Then"; +if (_c2.getRowCount()>0) { +RDebugUtils.currentLine=12451901; + //BA.debugLineNum = 12451901;BA.debugLine="c2.Position = 0"; +_c2.setPosition((int) (0)); +RDebugUtils.currentLine=12451903; + //BA.debugLineNum = 12451903;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO se"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update PEDIDO set PE_CANT = IFNULL(PE_CANT,0)+(1*'"+__c.SmartStringFormatter("",(Object)(_minimoadesc))+"'), PE_COSTO_TOT= ((IFNULL(PE_CANT,0)+(1*'"+__c.SmartStringFormatter("",(Object)(_minimoadesc))+"'))*'"+__c.SmartStringFormatter("",(Object)(_c2.GetString("CAT_GP_PRECIO")))+"') WHERE PE_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (8)))+"'")); + }; + }else { +RDebugUtils.currentLine=12451906; + //BA.debugLineNum = 12451906;BA.debugLine="Private c2 As Cursor = Starter.skmt.ExecQuery"; +_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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM CAT_GUNAPROD WHERE CAT_GP_ID = ?",new String[]{BA.ObjectToString(_estetag.Get((int) (2)))}))); +RDebugUtils.currentLine=12451907; + //BA.debugLineNum = 12451907;BA.debugLine="If c2.RowCount > 0 Then"; +if (_c2.getRowCount()>0) { +RDebugUtils.currentLine=12451908; + //BA.debugLineNum = 12451908;BA.debugLine="c2.Position = 0"; +_c2.setPosition((int) (0)); +RDebugUtils.currentLine=12451910; + //BA.debugLineNum = 12451910;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PEDI"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO(PE_PROID,PE_PRONOMBRE,PE_CANT,PE_CLIENTEOR,PE_CLIENTE,PE_COSTOU,PE_COSTO_TOT,PE_CAJAS,PE_BCAJAS,CONSECUTIVO) VALUES (?,?,?,?,?,?,?,0,0,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{BA.ObjectToString(_estetag.Get((int) (2))),_c2.GetString("CAT_GP_NOMBRE"),BA.NumberToString(1*(double)(Double.parseDouble(_minimoadesc))),BA.ObjectToString(_estetag.Get((int) (5))),_subs._traecliente /*String*/ (ba),_c2.GetString("CAT_GP_PRECIO"),_c2.GetString("CAT_GP_PRECIO"),BA.ObjectToString(_estetag.Get((int) (8)))})); + }; + }; +RDebugUtils.currentLine=12451915; + //BA.debugLineNum = 12451915;BA.debugLine="Subs.prodVenta(esteTag.Get(5), esteTag.Get(2))"; +_subs._prodventa /*String*/ (ba,BA.ObjectToString(_estetag.Get((int) (5))),BA.ObjectToString(_estetag.Get((int) (2)))); +RDebugUtils.currentLine=12451920; + //BA.debugLineNum = 12451920;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); + }; + }; + }; +RDebugUtils.currentLine=12451939; + //BA.debugLineNum = 12451939;BA.debugLine="End Sub"; +return ""; +} +public String _b4xpage_appear(reparto_izca.keymon.lat.c_detalleventa __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_detalleventa"; +if (Debug.shouldDelegate(ba, "b4xpage_appear", false)) + {return ((String) Debug.delegate(ba, "b4xpage_appear", null));} +int _i = 0; +anywheresoftware.b4a.sql.SQL.CursorWrapper _c4 = null; +int _cantres = 0; +anywheresoftware.b4a.sql.SQL.CursorWrapper _oc = null; +int _cant2 = 0; +anywheresoftware.b4a.objects.LabelWrapper _label1 = null; +anywheresoftware.b4a.objects.LabelWrapper _label2 = null; +int _bgcolor = 0; +int _textcolor = 0; +anywheresoftware.b4a.sql.SQL.CursorWrapper _c3 = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _vc = null; +String _cuenta = ""; +String _arti = ""; +anywheresoftware.b4a.sql.SQL.CursorWrapper _vc2 = null; +String _cuenta1 = ""; +String _arti1 = ""; +float _preu = 0f; +anywheresoftware.b4a.sql.SQL.CursorWrapper _vc3 = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _vc4 = null; +String _cuenta2 = ""; +String _arti2 = ""; +anywheresoftware.b4a.sql.SQL.CursorWrapper _vc5 = null; +String _cuenta3 = ""; +String _arti3 = ""; +RDebugUtils.currentLine=11862016; + //BA.debugLineNum = 11862016;BA.debugLine="Sub B4XPage_Appear"; +RDebugUtils.currentLine=11862017; + //BA.debugLineNum = 11862017;BA.debugLine="Subs.centraPanel(p_principal, Root.Width)"; +_subs._centrapanel /*String*/ (ba,__ref._p_principal /*anywheresoftware.b4a.objects.PanelWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=11862021; + //BA.debugLineNum = 11862021;BA.debugLine="L_CANT.Text =\"\""; +__ref._l_cant /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=11862022; + //BA.debugLineNum = 11862022;BA.debugLine="L_TOTAL.Text=\"\""; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=11862023; + //BA.debugLineNum = 11862023;BA.debugLine="c=Starter.skmt.ExecQuery(\"select count(*) as EXIS"; +__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 count(*) as EXISTE from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) and HVD_RECHAZO = 0 "))); +RDebugUtils.currentLine=11862024; + //BA.debugLineNum = 11862024;BA.debugLine="C.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=11862025; + //BA.debugLineNum = 11862025;BA.debugLine="Existe = C.GetString(\"EXISTE\")"; +__ref._existe /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("EXISTE"); +RDebugUtils.currentLine=11862026; + //BA.debugLineNum = 11862026;BA.debugLine="C.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=11862028; + //BA.debugLineNum = 11862028;BA.debugLine="c=Starter.skmt.ExecQuery(\"select hvd_num_registro"; +__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 hvd_num_registro,CONSECUTIVO, HVD_CLIENTE, HVD_PRONOMBRE, HVD_PROID, HVD_CANT, HVD_COSTO_TOT, HVD_CODPROMO, BCAJAS, CANTC, IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) and hvd_rechazo <> 2 and hvd_cant > 0 order by HVD_CODPROMO desc, HVD_PRONOMBRE asc"))); +RDebugUtils.currentLine=11862029; + //BA.debugLineNum = 11862029;BA.debugLine="ListView1.Clear"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=11862030; + //BA.debugLineNum = 11862030;BA.debugLine="clv_pedido.Clear"; +__ref._clv_pedido /*b4a.example3.customlistview*/ ._clear(); +RDebugUtils.currentLine=11862031; + //BA.debugLineNum = 11862031;BA.debugLine="Subs.SetDivider(ListView1, Colors.LightGray, 2)"; +_subs._setdivider /*String*/ (ba,__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ ,__c.Colors.LightGray,(int) (2)); +RDebugUtils.currentLine=11862032; + //BA.debugLineNum = 11862032;BA.debugLine="clv_pedido.GetBase.SetLayoutAnimated(100, 0dip, 6"; +__ref._clv_pedido /*b4a.example3.customlistview*/ ._getbase().SetLayoutAnimated((int) (100),__c.DipToCurrent((int) (0)),__c.DipToCurrent((int) (60)),(int) (__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()-50),(int) (__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()*0.62)); +RDebugUtils.currentLine=11862033; + //BA.debugLineNum = 11862033;BA.debugLine="clv_pedido.Base_Resize(clv_pedido.GetBase.Width,"; +__ref._clv_pedido /*b4a.example3.customlistview*/ ._base_resize(__ref._clv_pedido /*b4a.example3.customlistview*/ ._getbase().getWidth(),__ref._clv_pedido /*b4a.example3.customlistview*/ ._getbase().getHeight()); +RDebugUtils.currentLine=11862035; + //BA.debugLineNum = 11862035;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=11862038; + //BA.debugLineNum = 11862038;BA.debugLine="For i=0 To c.RowCount -1"; +{ +final int step15 = 1; +final int limit15 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit15 ;_i = _i + step15 ) { +RDebugUtils.currentLine=11862039; + //BA.debugLineNum = 11862039;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=11862041; + //BA.debugLineNum = 11862041;BA.debugLine="Private c4 As Cursor = Starter.skmt.ExecQuery($"; +_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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT IFNULL(PE_CANT,0) AS PE_CANT FROM PEDIDO WHERE PE_PROID = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID")))+"' AND PE_CLIENTEOR IN (SELECT CUENTA FROM CUENTAA) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CONSECUTIVO")))+"'")))); +RDebugUtils.currentLine=11862042; + //BA.debugLineNum = 11862042;BA.debugLine="If c4.RowCount > 0 Then"; +if (_c4.getRowCount()>0) { +RDebugUtils.currentLine=11862043; + //BA.debugLineNum = 11862043;BA.debugLine="c4.Position = 0"; +_c4.setPosition((int) (0)); +RDebugUtils.currentLine=11862044; + //BA.debugLineNum = 11862044;BA.debugLine="Private cantres As Int = c4.GetString(\"PE_CANT"; +_cantres = (int)(Double.parseDouble(_c4.GetString("PE_CANT"))); + }else { +RDebugUtils.currentLine=11862046; + //BA.debugLineNum = 11862046;BA.debugLine="cantres = 0"; +_cantres = (int) (0); + }; +RDebugUtils.currentLine=11862049; + //BA.debugLineNum = 11862049;BA.debugLine="If c.GetString(\"BCAJAS\") = \"0\" Then"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("BCAJAS")).equals("0")) { +RDebugUtils.currentLine=11862050; + //BA.debugLineNum = 11862050;BA.debugLine="If c.GetString(\"HVD_CANT\") <> c.GetString(\"HVD"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CANT")).equals(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_RECHAZOCANT")) == false) { +RDebugUtils.currentLine=11862052; + //BA.debugLineNum = 11862052;BA.debugLine="Private oc As Cursor = Starter.skmt.ExecQuery"; +_oc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_oc = (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 HVD_CANT from HIST_VENTAS2 WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) and hvd_proid = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID")))+"' and HVD_NUM_REGISTRO = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_NUM_REGISTRO")))+"'")))); +RDebugUtils.currentLine=11862053; + //BA.debugLineNum = 11862053;BA.debugLine="Private cant2 As Int = 0"; +_cant2 = (int) (0); +RDebugUtils.currentLine=11862054; + //BA.debugLineNum = 11862054;BA.debugLine="If oc.RowCount > 0 Then"; +if (_oc.getRowCount()>0) { +RDebugUtils.currentLine=11862055; + //BA.debugLineNum = 11862055;BA.debugLine="oc.Position = 0"; +_oc.setPosition((int) (0)); +RDebugUtils.currentLine=11862056; + //BA.debugLineNum = 11862056;BA.debugLine="cant2 = oc.GetString(\"HVD_CANT\")"; +_cant2 = (int)(Double.parseDouble(_oc.GetString("HVD_CANT"))); + }; +RDebugUtils.currentLine=11862058; + //BA.debugLineNum = 11862058;BA.debugLine="oc.Close"; +_oc.Close(); +RDebugUtils.currentLine=11862059; + //BA.debugLineNum = 11862059;BA.debugLine="Dim label1 As Label"; +_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=11862060; + //BA.debugLineNum = 11862060;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; +_label1 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().Label; +RDebugUtils.currentLine=11862061; + //BA.debugLineNum = 11862061;BA.debugLine="label1.TextSize = 12"; +_label1.setTextSize((float) (12)); +RDebugUtils.currentLine=11862062; + //BA.debugLineNum = 11862062;BA.debugLine="label1.TextColor = Colors.black"; +_label1.setTextColor(__c.Colors.Black); +RDebugUtils.currentLine=11862063; + //BA.debugLineNum = 11862063;BA.debugLine="Dim label2 As Label"; +_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=11862064; + //BA.debugLineNum = 11862064;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; +_label2 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().SecondLabel; +RDebugUtils.currentLine=11862065; + //BA.debugLineNum = 11862065;BA.debugLine="label2.TextSize = 12"; +_label2.setTextSize((float) (12)); +RDebugUtils.currentLine=11862066; + //BA.debugLineNum = 11862066;BA.debugLine="label2.TextColor = Colors.black"; +_label2.setTextColor(__c.Colors.Black); +RDebugUtils.currentLine=11862067; + //BA.debugLineNum = 11862067;BA.debugLine="Private bgColor, textColor As Int"; +_bgcolor = 0; +_textcolor = 0; +RDebugUtils.currentLine=11862068; + //BA.debugLineNum = 11862068;BA.debugLine="bgColor = Colors.RGB(177, 200, 249)'azul"; +_bgcolor = __c.Colors.RGB((int) (177),(int) (200),(int) (249)); +RDebugUtils.currentLine=11862069; + //BA.debugLineNum = 11862069;BA.debugLine="textColor = Colors.black"; +_textcolor = __c.Colors.Black; +RDebugUtils.currentLine=11862070; + //BA.debugLineNum = 11862070;BA.debugLine="If c.GetString(\"HVD_CODPROMO\") <> Subs.traeAl"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CODPROMO")).equals(_subs._traealmacen /*String*/ (ba)) == false) { +RDebugUtils.currentLine=11862072; + //BA.debugLineNum = 11862072;BA.debugLine="bgColor = Colors.White"; +_bgcolor = __c.Colors.White; + }; +RDebugUtils.currentLine=11862076; + //BA.debugLineNum = 11862076;BA.debugLine="clv_pedido.Add(CreateListItem(c.GetString(\"HV"; +__ref._clv_pedido /*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,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PRONOMBRE"),_subs._traeprecio2 /*String*/ (ba,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CODPROMO"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CONSECUTIVO")),(int) (((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CANT")))-(double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_RECHAZOCANT"))))),(int) ((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_RECHAZOCANT")))-_cantres),__ref._clv_pedido /*b4a.example3.customlistview*/ ._asview().getWidth(),__c.DipToCurrent((int) (118)),__ref._bmp /*anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper*/ ,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID"),_bgcolor,_textcolor,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CODPROMO"),_subs._traecliente /*String*/ (ba),_subs._traecliente /*String*/ (ba),BA.NumberToString(0),(int)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CONSECUTIVO")))).getObject())),(Object)(_i)); + }; + }else +{RDebugUtils.currentLine=11862079; + //BA.debugLineNum = 11862079;BA.debugLine="Else If c.GetString(\"BCAJAS\") = \"1\" Then"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("BCAJAS")).equals("1")) { +RDebugUtils.currentLine=11862080; + //BA.debugLineNum = 11862080;BA.debugLine="If c.GetString(\"HVD_CANT\") <> c.GetString(\"HVD"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CANT")).equals(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_RECHAZOCANT")) == false) { +RDebugUtils.currentLine=11862082; + //BA.debugLineNum = 11862082;BA.debugLine="Private oc As Cursor = Starter.skmt.ExecQuery"; +_oc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_oc = (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 HVD_CANT from HIST_VENTAS2 WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) and hvd_proid = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID")))+"' and HVD_NUM_REGISTRO = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_NUM_REGISTRO")))+"'")))); +RDebugUtils.currentLine=11862083; + //BA.debugLineNum = 11862083;BA.debugLine="Private cant2 As Int = 0"; +_cant2 = (int) (0); +RDebugUtils.currentLine=11862084; + //BA.debugLineNum = 11862084;BA.debugLine="If oc.RowCount > 0 Then"; +if (_oc.getRowCount()>0) { +RDebugUtils.currentLine=11862085; + //BA.debugLineNum = 11862085;BA.debugLine="oc.Position = 0"; +_oc.setPosition((int) (0)); +RDebugUtils.currentLine=11862086; + //BA.debugLineNum = 11862086;BA.debugLine="cant2 = oc.GetString(\"HVD_CANT\")"; +_cant2 = (int)(Double.parseDouble(_oc.GetString("HVD_CANT"))); + }; +RDebugUtils.currentLine=11862088; + //BA.debugLineNum = 11862088;BA.debugLine="oc.Close"; +_oc.Close(); +RDebugUtils.currentLine=11862089; + //BA.debugLineNum = 11862089;BA.debugLine="Dim label1 As Label"; +_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=11862090; + //BA.debugLineNum = 11862090;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; +_label1 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().Label; +RDebugUtils.currentLine=11862091; + //BA.debugLineNum = 11862091;BA.debugLine="label1.TextSize = 12"; +_label1.setTextSize((float) (12)); +RDebugUtils.currentLine=11862092; + //BA.debugLineNum = 11862092;BA.debugLine="label1.TextColor = Colors.black"; +_label1.setTextColor(__c.Colors.Black); +RDebugUtils.currentLine=11862093; + //BA.debugLineNum = 11862093;BA.debugLine="Dim label2 As Label"; +_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=11862094; + //BA.debugLineNum = 11862094;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; +_label2 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().SecondLabel; +RDebugUtils.currentLine=11862095; + //BA.debugLineNum = 11862095;BA.debugLine="label2.TextSize = 12"; +_label2.setTextSize((float) (12)); +RDebugUtils.currentLine=11862096; + //BA.debugLineNum = 11862096;BA.debugLine="label2.TextColor = Colors.black"; +_label2.setTextColor(__c.Colors.Black); +RDebugUtils.currentLine=11862097; + //BA.debugLineNum = 11862097;BA.debugLine="Private bgColor, textColor As Int"; +_bgcolor = 0; +_textcolor = 0; +RDebugUtils.currentLine=11862098; + //BA.debugLineNum = 11862098;BA.debugLine="bgColor = Colors.RGB(177, 200, 249)'azul"; +_bgcolor = __c.Colors.RGB((int) (177),(int) (200),(int) (249)); +RDebugUtils.currentLine=11862099; + //BA.debugLineNum = 11862099;BA.debugLine="textColor = Colors.black"; +_textcolor = __c.Colors.Black; +RDebugUtils.currentLine=11862100; + //BA.debugLineNum = 11862100;BA.debugLine="If c.GetString(\"HVD_CODPROMO\") <> Subs.traeAl"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CODPROMO")).equals(_subs._traealmacen /*String*/ (ba)) == false) { +RDebugUtils.currentLine=11862102; + //BA.debugLineNum = 11862102;BA.debugLine="bgColor = Colors.White"; +_bgcolor = __c.Colors.White; + }; +RDebugUtils.currentLine=11862106; + //BA.debugLineNum = 11862106;BA.debugLine="clv_pedido.Add(CreateListItem(c.GetString(\"HV"; +__ref._clv_pedido /*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,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PRONOMBRE"),BA.NumberToString(((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CANTC"))))),(int) ((((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CANT")))-(double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_RECHAZOCANT")))))),(int)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_RECHAZOCANT"))),__ref._clv_pedido /*b4a.example3.customlistview*/ ._asview().getWidth(),__c.DipToCurrent((int) (118)),__ref._bmp /*anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper*/ ,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID"),_bgcolor,_textcolor,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CODPROMO"),_subs._traecliente /*String*/ (ba),_subs._traecliente /*String*/ (ba),BA.NumberToString(0),(int)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CONSECUTIVO")))).getObject())),(Object)(_i)); + }; + }} +; + } +}; + }; +RDebugUtils.currentLine=11862114; + //BA.debugLineNum = 11862114;BA.debugLine="Private c3 As Cursor=Starter.skmt.ExecQuery(\"Sele"; +_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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select * from PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) AND PE_TIPO NOT IN ('SOBRANTE','FALTANTE')"))); +RDebugUtils.currentLine=11862115; + //BA.debugLineNum = 11862115;BA.debugLine="If c3.RowCount>0 Then"; +if (_c3.getRowCount()>0) { +RDebugUtils.currentLine=11862116; + //BA.debugLineNum = 11862116;BA.debugLine="For i= 0 To c3.RowCount -1"; +{ +final int step79 = 1; +final int limit79 = (int) (_c3.getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit79 ;_i = _i + step79 ) { +RDebugUtils.currentLine=11862117; + //BA.debugLineNum = 11862117;BA.debugLine="c3.Position = i"; +_c3.setPosition(_i); +RDebugUtils.currentLine=11862118; + //BA.debugLineNum = 11862118;BA.debugLine="If c3.GetString(\"PE_BCAJAS\") = \"1\" Then"; +if ((_c3.GetString("PE_BCAJAS")).equals("1")) { +RDebugUtils.currentLine=11862119; + //BA.debugLineNum = 11862119;BA.debugLine="Private bgColor, textColor As Int"; +_bgcolor = 0; +_textcolor = 0; +RDebugUtils.currentLine=11862120; + //BA.debugLineNum = 11862120;BA.debugLine="bgColor = Colors.RGB(221, 132, 132)'rosa"; +_bgcolor = __c.Colors.RGB((int) (221),(int) (132),(int) (132)); +RDebugUtils.currentLine=11862121; + //BA.debugLineNum = 11862121;BA.debugLine="textColor = Colors.black"; +_textcolor = __c.Colors.Black; +RDebugUtils.currentLine=11862122; + //BA.debugLineNum = 11862122;BA.debugLine="clv_pedido.Add(CreateListItem2(c3.GetString(\"P"; +__ref._clv_pedido /*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,_c3.GetString("PE_PRONOMBRE"),_c3.GetString("PE_COSTOU"),(int)(Double.parseDouble(_c3.GetString("PE_CANT"))),(int) (0),__ref._clv_pedido /*b4a.example3.customlistview*/ ._asview().getWidth(),__c.DipToCurrent((int) (118)),__ref._bmp /*anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper*/ ,_c3.GetString("PE_PROID"),_bgcolor,_textcolor,_subs._traealmacen /*String*/ (ba),_subs._traecliente /*String*/ (ba),_c3.GetString("PE_CLIENTEOR"),BA.NumberToString(1),(int)(Double.parseDouble(_c3.GetString("CONSECUTIVO")))).getObject())),(Object)(_i)); +RDebugUtils.currentLine=11862123; + //BA.debugLineNum = 11862123;BA.debugLine="Log(\"#####################\"&c3.GetString(\"PE_P"; +__c.LogImpl("811862123","#####################"+_c3.GetString("PE_PRONOMBRE")+","+_c3.GetString("PE_CANT"),0); + }else { +RDebugUtils.currentLine=11862125; + //BA.debugLineNum = 11862125;BA.debugLine="Private bgColor, textColor As Int"; +_bgcolor = 0; +_textcolor = 0; +RDebugUtils.currentLine=11862126; + //BA.debugLineNum = 11862126;BA.debugLine="bgColor = Colors.RGB(221, 132, 132)'rosa"; +_bgcolor = __c.Colors.RGB((int) (221),(int) (132),(int) (132)); +RDebugUtils.currentLine=11862127; + //BA.debugLineNum = 11862127;BA.debugLine="textColor = Colors.black"; +_textcolor = __c.Colors.Black; +RDebugUtils.currentLine=11862128; + //BA.debugLineNum = 11862128;BA.debugLine="Log(\"#####################\"&c3.GetString(\"PE_P"; +__c.LogImpl("811862128","#####################"+_c3.GetString("PE_PRONOMBRE")+","+_c3.GetString("PE_CANT"),0); +RDebugUtils.currentLine=11862129; + //BA.debugLineNum = 11862129;BA.debugLine="clv_pedido.Add(CreateListItem(c3.GetString(\"PE"; +__ref._clv_pedido /*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,_c3.GetString("PE_PRONOMBRE"),_c3.GetString("PE_COSTOU"),(int)(Double.parseDouble(_c3.GetString("PE_CANT"))),(int) (0),__ref._clv_pedido /*b4a.example3.customlistview*/ ._asview().getWidth(),__c.DipToCurrent((int) (118)),__ref._bmp /*anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper*/ ,_c3.GetString("PE_PROID"),_bgcolor,_textcolor,_subs._traealmacen /*String*/ (ba),_subs._traecliente /*String*/ (ba),_c3.GetString("PE_CLIENTEOR"),BA.NumberToString(1),(int)(Double.parseDouble(_c3.GetString("CONSECUTIVO")))).getObject())),(Object)(_i)); + }; + } +}; + }; +RDebugUtils.currentLine=11862135; + //BA.debugLineNum = 11862135;BA.debugLine="Private vc As Cursor = Starter.skmt.ExecQuery($\"s"; +_vc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_vc = (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 HVD_PROID, HVD_CANT,HVD_COSTO_TOT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT from HIST_VENTAS where BCAJAS = 0 and HVD_CODPROMO ='"+__c.SmartStringFormatter("",(Object)(_subs._traealmacen /*String*/ (ba)))+"' and HVD_CLIENTE in (select cuenta from cuentaa)")))); +RDebugUtils.currentLine=11862137; + //BA.debugLineNum = 11862137;BA.debugLine="Private Cuenta As String = 0"; +_cuenta = BA.NumberToString(0); +RDebugUtils.currentLine=11862138; + //BA.debugLineNum = 11862138;BA.debugLine="Private arti As String = 0"; +_arti = BA.NumberToString(0); +RDebugUtils.currentLine=11862139; + //BA.debugLineNum = 11862139;BA.debugLine="If vc.RowCount > 0 Then"; +if (_vc.getRowCount()>0) { +RDebugUtils.currentLine=11862140; + //BA.debugLineNum = 11862140;BA.debugLine="For i = 0 To vc.RowCount - 1"; +{ +final int step100 = 1; +final int limit100 = (int) (_vc.getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit100 ;_i = _i + step100 ) { +RDebugUtils.currentLine=11862141; + //BA.debugLineNum = 11862141;BA.debugLine="vc.Position = i"; +_vc.setPosition(_i); +RDebugUtils.currentLine=11862142; + //BA.debugLineNum = 11862142;BA.debugLine="Private cantres As Int = 0"; +_cantres = (int) (0); +RDebugUtils.currentLine=11862143; + //BA.debugLineNum = 11862143;BA.debugLine="Private c4 As Cursor = Starter.skmt.ExecQuery($"; +_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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT IFNULL(PE_CANT,0) AS PE_CANT FROM PEDIDO WHERE PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_vc.GetString("HVD_PROID")))+"' AND PE_CLIENTEOR IN (SELECT CUENTA FROM CUENTAA)")))); +RDebugUtils.currentLine=11862144; + //BA.debugLineNum = 11862144;BA.debugLine="If c4.RowCount > 0 Then"; +if (_c4.getRowCount()>0) { +RDebugUtils.currentLine=11862145; + //BA.debugLineNum = 11862145;BA.debugLine="c4.Position = 0"; +_c4.setPosition((int) (0)); +RDebugUtils.currentLine=11862146; + //BA.debugLineNum = 11862146;BA.debugLine="cantres = c4.GetString(\"PE_CANT\")"; +_cantres = (int)(Double.parseDouble(_c4.GetString("PE_CANT"))); +RDebugUtils.currentLine=11862147; + //BA.debugLineNum = 11862147;BA.debugLine="Log(c4.GetString(\"PE_CANT\"))"; +__c.LogImpl("811862147",_c4.GetString("PE_CANT"),0); + }else { +RDebugUtils.currentLine=11862149; + //BA.debugLineNum = 11862149;BA.debugLine="cantres = 0"; +_cantres = (int) (0); + }; +RDebugUtils.currentLine=11862154; + //BA.debugLineNum = 11862154;BA.debugLine="arti = arti + (vc.GetString(\"HVD_CANT\") - vc.Ge"; +_arti = BA.NumberToString((double)(Double.parseDouble(_arti))+((double)(Double.parseDouble(_vc.GetString("HVD_CANT")))-(double)(Double.parseDouble(_vc.GetString("HVD_RECHAZOCANT"))))); +RDebugUtils.currentLine=11862155; + //BA.debugLineNum = 11862155;BA.debugLine="Cuenta = Cuenta + ((vc.GetString(\"HVD_CANT\") -"; +_cuenta = BA.NumberToString((double)(Double.parseDouble(_cuenta))+(((double)(Double.parseDouble(_vc.GetString("HVD_CANT")))-(double)(Double.parseDouble(_vc.GetString("HVD_RECHAZOCANT"))))*((double)(Double.parseDouble(_vc.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(_vc.GetString("HVD_CANT")))))); + } +}; + }; +RDebugUtils.currentLine=11862162; + //BA.debugLineNum = 11862162;BA.debugLine="Private vc2 As Cursor = Starter.skmt.ExecQuery(\"s"; +_vc2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_vc2 = (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 HVD_PROID, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT, CANTC,HVD_COSTO_TOT from HIST_VENTAS where HVD_CLIENTE in (select cuenta from cuentaa) AND BCAJAS = 1"))); +RDebugUtils.currentLine=11862163; + //BA.debugLineNum = 11862163;BA.debugLine="Private Cuenta1 As String = 0"; +_cuenta1 = BA.NumberToString(0); +RDebugUtils.currentLine=11862164; + //BA.debugLineNum = 11862164;BA.debugLine="Private arti1 As String = 0"; +_arti1 = BA.NumberToString(0); +RDebugUtils.currentLine=11862165; + //BA.debugLineNum = 11862165;BA.debugLine="If vc2.RowCount > 0 Then"; +if (_vc2.getRowCount()>0) { +RDebugUtils.currentLine=11862166; + //BA.debugLineNum = 11862166;BA.debugLine="For i = 0 To vc2.RowCount - 1"; +{ +final int step119 = 1; +final int limit119 = (int) (_vc2.getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit119 ;_i = _i + step119 ) { +RDebugUtils.currentLine=11862167; + //BA.debugLineNum = 11862167;BA.debugLine="vc2.Position = i"; +_vc2.setPosition(_i); +RDebugUtils.currentLine=11862168; + //BA.debugLineNum = 11862168;BA.debugLine="Dim preu As Float = NumberFormat2(vc2.GetString"; +_preu = (float)(Double.parseDouble(__c.NumberFormat2((double)(Double.parseDouble(_vc2.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(_vc2.GetString("CANTC"))),(int) (0),(int) (2),(int) (2),__c.False))); +RDebugUtils.currentLine=11862169; + //BA.debugLineNum = 11862169;BA.debugLine="Private vc3 As Cursor = Starter.skmt.ExecQuery("; +_vc3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_vc3 = (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 PRECIOCONVER, CONVERSION from CAT_GUNAPROD where CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_vc2.GetString("HVD_PROID")))+"'")))); +RDebugUtils.currentLine=11862170; + //BA.debugLineNum = 11862170;BA.debugLine="If vc3.RowCount > 0 Then"; +if (_vc3.getRowCount()>0) { +RDebugUtils.currentLine=11862171; + //BA.debugLineNum = 11862171;BA.debugLine="vc3.Position = 0"; +_vc3.setPosition((int) (0)); +RDebugUtils.currentLine=11862172; + //BA.debugLineNum = 11862172;BA.debugLine="Cuenta1 = Cuenta1 + ((vc2.GetString(\"CANTC\")-("; +_cuenta1 = BA.NumberToString((double)(Double.parseDouble(_cuenta1))+(((double)(Double.parseDouble(_vc2.GetString("CANTC")))-((double)(Double.parseDouble(_vc2.GetString("HVD_RECHAZOCANT")))/(double)(double)(Double.parseDouble(_vc3.GetString("CONVERSION")))))*_preu)); +RDebugUtils.currentLine=11862173; + //BA.debugLineNum = 11862173;BA.debugLine="arti1 = arti1 + (vc2.GetString(\"HVD_CANT\") - v"; +_arti1 = BA.NumberToString((double)(Double.parseDouble(_arti1))+((double)(Double.parseDouble(_vc2.GetString("HVD_CANT")))-(double)(Double.parseDouble(_vc2.GetString("HVD_RECHAZOCANT"))))); + }; + } +}; + }; +RDebugUtils.currentLine=11862179; + //BA.debugLineNum = 11862179;BA.debugLine="Private vc4 As Cursor = Starter.skmt.ExecQuery($\""; +_vc4 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_vc4 = (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 HVD_PROID, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT, CANTC,HVD_COSTO_TOT, HVD_RECHAZO, HVD_CODPROMO from HIST_VENTAS where HVD_CLIENTE in (select cuenta from cuentaa) AND BCAJAS = 0 and HVD_CODPROMO <> '"+__c.SmartStringFormatter("",(Object)(_subs._traealmacen /*String*/ (ba)))+"'")))); +RDebugUtils.currentLine=11862180; + //BA.debugLineNum = 11862180;BA.debugLine="Private Cuenta2 As String = 0"; +_cuenta2 = BA.NumberToString(0); +RDebugUtils.currentLine=11862181; + //BA.debugLineNum = 11862181;BA.debugLine="Private arti2 As String = 0"; +_arti2 = BA.NumberToString(0); +RDebugUtils.currentLine=11862182; + //BA.debugLineNum = 11862182;BA.debugLine="If vc4.RowCount > 0 Then"; +if (_vc4.getRowCount()>0) { +RDebugUtils.currentLine=11862184; + //BA.debugLineNum = 11862184;BA.debugLine="For i = 0 To vc4.RowCount - 1"; +{ +final int step134 = 1; +final int limit134 = (int) (_vc4.getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit134 ;_i = _i + step134 ) { +RDebugUtils.currentLine=11862185; + //BA.debugLineNum = 11862185;BA.debugLine="vc4.Position = i"; +_vc4.setPosition(_i); +RDebugUtils.currentLine=11862186; + //BA.debugLineNum = 11862186;BA.debugLine="If vc4.GetString(\"HVD_PROID\") <> vc4.GetString("; +if ((_vc4.GetString("HVD_PROID")).equals(_vc4.GetString("HVD_CODPROMO")) == false) { +RDebugUtils.currentLine=11862187; + //BA.debugLineNum = 11862187;BA.debugLine="If vc4.GetString(\"HVD_RECHAZO\") = 0 Then"; +if ((_vc4.GetString("HVD_RECHAZO")).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=11862188; + //BA.debugLineNum = 11862188;BA.debugLine="Cuenta2 = Cuenta2 + vc4.GetString(\"HVD_COSTO_"; +_cuenta2 = BA.NumberToString((double)(Double.parseDouble(_cuenta2))+(double)(Double.parseDouble(_vc4.GetString("HVD_COSTO_TOT")))); +RDebugUtils.currentLine=11862189; + //BA.debugLineNum = 11862189;BA.debugLine="arti2 = arti2 + vc4.GetString(\"HVD_CANT\")"; +_arti2 = BA.NumberToString((double)(Double.parseDouble(_arti2))+(double)(Double.parseDouble(_vc4.GetString("HVD_CANT")))); + }else { +RDebugUtils.currentLine=11862191; + //BA.debugLineNum = 11862191;BA.debugLine="Private vc5 As Cursor = Starter.skmt.ExecQuer"; +_vc5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_vc5 = (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_ID = '"+__c.SmartStringFormatter("",(Object)(_vc4.GetString("HVD_PROID")))+"'")))); +RDebugUtils.currentLine=11862192; + //BA.debugLineNum = 11862192;BA.debugLine="If vc5.RowCount > 0 Then"; +if (_vc5.getRowCount()>0) { +RDebugUtils.currentLine=11862193; + //BA.debugLineNum = 11862193;BA.debugLine="vc5.Position= 0"; +_vc5.setPosition((int) (0)); +RDebugUtils.currentLine=11862195; + //BA.debugLineNum = 11862195;BA.debugLine="Cuenta2 = Cuenta2 +((vc4.GetString(\"HVD_CANT"; +_cuenta2 = BA.NumberToString((double)(Double.parseDouble(_cuenta2))+(((double)(Double.parseDouble(_vc4.GetString("HVD_CANT")))-(double)(Double.parseDouble(_vc4.GetString("HVD_RECHAZOCANT"))))*(double)(Double.parseDouble(_vc5.GetString("CAT_GP_PRECIO"))))); +RDebugUtils.currentLine=11862196; + //BA.debugLineNum = 11862196;BA.debugLine="arti2 = arti2 +(vc4.GetString(\"HVD_CANT\")- v"; +_arti2 = BA.NumberToString((double)(Double.parseDouble(_arti2))+((double)(Double.parseDouble(_vc4.GetString("HVD_CANT")))-(double)(Double.parseDouble(_vc4.GetString("HVD_RECHAZOCANT"))))); + }; + }; + }; + } +}; + }; +RDebugUtils.currentLine=11862207; + //BA.debugLineNum = 11862207;BA.debugLine="Private c4 As Cursor = Starter.skmt.ExecQuery($\"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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT IFNULL(PE_CANT,0) AS PE_CANT, iFNULL(PE_COSTO_TOT,0) AS PE_COSTO_TOT FROM PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND PE_TIPO NOT IN ('SOBRANTE','FALTANTE')")))); +RDebugUtils.currentLine=11862208; + //BA.debugLineNum = 11862208;BA.debugLine="Private Cuenta3 As String = 0"; +_cuenta3 = BA.NumberToString(0); +RDebugUtils.currentLine=11862209; + //BA.debugLineNum = 11862209;BA.debugLine="Private arti3 As String = 0"; +_arti3 = BA.NumberToString(0); +RDebugUtils.currentLine=11862210; + //BA.debugLineNum = 11862210;BA.debugLine="If c4.RowCount > 0 Then"; +if (_c4.getRowCount()>0) { +RDebugUtils.currentLine=11862211; + //BA.debugLineNum = 11862211;BA.debugLine="For i = 0 To c4.RowCount -1"; +{ +final int step155 = 1; +final int limit155 = (int) (_c4.getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit155 ;_i = _i + step155 ) { +RDebugUtils.currentLine=11862212; + //BA.debugLineNum = 11862212;BA.debugLine="c4.Position = i"; +_c4.setPosition(_i); +RDebugUtils.currentLine=11862213; + //BA.debugLineNum = 11862213;BA.debugLine="arti3 = arti3 + c4.GetString(\"PE_CANT\")"; +_arti3 = BA.NumberToString((double)(Double.parseDouble(_arti3))+(double)(Double.parseDouble(_c4.GetString("PE_CANT")))); +RDebugUtils.currentLine=11862214; + //BA.debugLineNum = 11862214;BA.debugLine="Cuenta3 = Cuenta3 + c4.GetString(\"PE_COSTO_TOT\""; +_cuenta3 = BA.NumberToString((double)(Double.parseDouble(_cuenta3))+(double)(Double.parseDouble(_c4.GetString("PE_COSTO_TOT")))); + } +}; + }; +RDebugUtils.currentLine=11862218; + //BA.debugLineNum = 11862218;BA.debugLine="If Cuenta < 0 Then"; +if ((double)(Double.parseDouble(_cuenta))<0) { +RDebugUtils.currentLine=11862219; + //BA.debugLineNum = 11862219;BA.debugLine="Cuenta = 0"; +_cuenta = BA.NumberToString(0); + }; +RDebugUtils.currentLine=11862221; + //BA.debugLineNum = 11862221;BA.debugLine="If Cuenta1 < 0 Then"; +if ((double)(Double.parseDouble(_cuenta1))<0) { +RDebugUtils.currentLine=11862222; + //BA.debugLineNum = 11862222;BA.debugLine="Cuenta = 0"; +_cuenta = BA.NumberToString(0); + }; +RDebugUtils.currentLine=11862224; + //BA.debugLineNum = 11862224;BA.debugLine="If Cuenta2 < 0 Then"; +if ((double)(Double.parseDouble(_cuenta2))<0) { +RDebugUtils.currentLine=11862225; + //BA.debugLineNum = 11862225;BA.debugLine="Cuenta = 0"; +_cuenta = BA.NumberToString(0); + }; +RDebugUtils.currentLine=11862227; + //BA.debugLineNum = 11862227;BA.debugLine="If Cuenta3 < 0 Then"; +if ((double)(Double.parseDouble(_cuenta3))<0) { +RDebugUtils.currentLine=11862228; + //BA.debugLineNum = 11862228;BA.debugLine="Cuenta = 0"; +_cuenta = BA.NumberToString(0); + }; +RDebugUtils.currentLine=11862231; + //BA.debugLineNum = 11862231;BA.debugLine="If arti < 0 Then"; +if ((double)(Double.parseDouble(_arti))<0) { +RDebugUtils.currentLine=11862232; + //BA.debugLineNum = 11862232;BA.debugLine="arti = 0"; +_arti = BA.NumberToString(0); + }; +RDebugUtils.currentLine=11862234; + //BA.debugLineNum = 11862234;BA.debugLine="If arti1 < 0 Then"; +if ((double)(Double.parseDouble(_arti1))<0) { +RDebugUtils.currentLine=11862235; + //BA.debugLineNum = 11862235;BA.debugLine="arti = 0"; +_arti = BA.NumberToString(0); + }; +RDebugUtils.currentLine=11862237; + //BA.debugLineNum = 11862237;BA.debugLine="If arti2 < 0 Then"; +if ((double)(Double.parseDouble(_arti2))<0) { +RDebugUtils.currentLine=11862238; + //BA.debugLineNum = 11862238;BA.debugLine="arti = 0"; +_arti = BA.NumberToString(0); + }; +RDebugUtils.currentLine=11862240; + //BA.debugLineNum = 11862240;BA.debugLine="If arti3 < 0 Then"; +if ((double)(Double.parseDouble(_arti3))<0) { +RDebugUtils.currentLine=11862241; + //BA.debugLineNum = 11862241;BA.debugLine="arti = 0"; +_arti = BA.NumberToString(0); + }; +RDebugUtils.currentLine=11862244; + //BA.debugLineNum = 11862244;BA.debugLine="Log(Cuenta&\",\"&Cuenta1&\",\"&Cuenta2&\",\"&Cuenta3)"; +__c.LogImpl("811862244",_cuenta+","+_cuenta1+","+_cuenta2+","+_cuenta3,0); +RDebugUtils.currentLine=11862245; + //BA.debugLineNum = 11862245;BA.debugLine="Log(arti&\",\"&arti1&\",\"&arti2&\",\"&arti3)"; +__c.LogImpl("811862245",_arti+","+_arti1+","+_arti2+","+_arti3,0); +RDebugUtils.currentLine=11862246; + //BA.debugLineNum = 11862246;BA.debugLine="If Cuenta + Cuenta1 + Cuenta2 + Cuenta3 < 0 Then"; +if ((double)(Double.parseDouble(_cuenta))+(double)(Double.parseDouble(_cuenta1))+(double)(Double.parseDouble(_cuenta2))+(double)(Double.parseDouble(_cuenta3))<0) { +RDebugUtils.currentLine=11862247; + //BA.debugLineNum = 11862247;BA.debugLine="L_TOTAL.Text = 0"; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); + }else { +RDebugUtils.currentLine=11862249; + //BA.debugLineNum = 11862249;BA.debugLine="L_TOTAL.Text = NumberFormat2((Cuenta + Cuenta1 +"; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.NumberFormat2(((double)(Double.parseDouble(_cuenta))+(double)(Double.parseDouble(_cuenta1))+(double)(Double.parseDouble(_cuenta2))+(double)(Double.parseDouble(_cuenta3))),(int) (0),(int) (2),(int) (2),__c.True))); + }; +RDebugUtils.currentLine=11862251; + //BA.debugLineNum = 11862251;BA.debugLine="If arti + arti1 +arti2 + arti3 < 0 Then"; +if ((double)(Double.parseDouble(_arti))+(double)(Double.parseDouble(_arti1))+(double)(Double.parseDouble(_arti2))+(double)(Double.parseDouble(_arti3))<0) { +RDebugUtils.currentLine=11862252; + //BA.debugLineNum = 11862252;BA.debugLine="L_CANT.Text = 0"; +__ref._l_cant /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); + }else { +RDebugUtils.currentLine=11862254; + //BA.debugLineNum = 11862254;BA.debugLine="L_CANT.Text = NumberFormat2((arti + arti1 +arti2"; +__ref._l_cant /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.NumberFormat2(((double)(Double.parseDouble(_arti))+(double)(Double.parseDouble(_arti1))+(double)(Double.parseDouble(_arti2))+(double)(Double.parseDouble(_arti3))),(int) (0),(int) (0),(int) (0),__c.True))); + }; +RDebugUtils.currentLine=11862258; + //BA.debugLineNum = 11862258;BA.debugLine="End Sub"; +return ""; +} +public String _b_prodmasc_click(reparto_izca.keymon.lat.c_detalleventa __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_detalleventa"; +if (Debug.shouldDelegate(ba, "b_prodmasc_click", false)) + {return ((String) Debug.delegate(ba, "b_prodmasc_click", null));} +int _index = 0; +anywheresoftware.b4a.objects.B4XViewWrapper _pnl0 = null; +anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; +anywheresoftware.b4a.objects.B4XViewWrapper _lacantc = null; +anywheresoftware.b4a.objects.collections.List _estetag = null; +String _maxprods = ""; +RDebugUtils.currentLine=12779520; + //BA.debugLineNum = 12779520;BA.debugLine="Private Sub b_prodMasC_Click"; +RDebugUtils.currentLine=12779521; + //BA.debugLineNum = 12779521;BA.debugLine="etCantHasFocus = False"; +__ref._etcanthasfocus /*boolean*/ = __c.False; +RDebugUtils.currentLine=12779523; + //BA.debugLineNum = 12779523;BA.debugLine="LogColor(\"b_prodMas_Click\", Colors.Magenta)"; +__c.LogImpl("812779523","b_prodMas_Click",__c.Colors.Magenta); +RDebugUtils.currentLine=12779524; + //BA.debugLineNum = 12779524;BA.debugLine="Dim index As Int = clv_pedido.GetItemFromView(Sen"; +_index = __ref._clv_pedido /*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=12779525; + //BA.debugLineNum = 12779525;BA.debugLine="Dim pnl0 As B4XView = clv_pedido.GetPanel(index)"; +_pnl0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_pnl0 = __ref._clv_pedido /*b4a.example3.customlistview*/ ._getpanel(_index); +RDebugUtils.currentLine=12779526; + //BA.debugLineNum = 12779526;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; +_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_pnl = _pnl0.GetView((int) (0)); +RDebugUtils.currentLine=12779527; + //BA.debugLineNum = 12779527;BA.debugLine="Dim laCantc As B4XView = pnl.GetView(3).GetView(3"; +_lacantc = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_lacantc = _pnl.GetView((int) (3)).GetView((int) (3)); +RDebugUtils.currentLine=12779531; + //BA.debugLineNum = 12779531;BA.debugLine="Dim esteTag As List = Regex.Split(\"\\|\", laCantc.T"; +_estetag = new anywheresoftware.b4a.objects.collections.List(); +_estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(__c.Regex.Split("\\|",BA.ObjectToString(_lacantc.getTag()))); +RDebugUtils.currentLine=12779532; + //BA.debugLineNum = 12779532;BA.debugLine="Log(\"LC_TEXT:\"&laCantc.Text&\"|LC_TAG:\"&laCantc.Ta"; +__c.LogImpl("812779532","LC_TEXT:"+_lacantc.getText()+"|LC_TAG:"+BA.ObjectToString(_lacantc.getTag())+"|ET:"+BA.ObjectToString(_estetag),0); +RDebugUtils.currentLine=12779533; + //BA.debugLineNum = 12779533;BA.debugLine="If laCantc.Text = \"\" Then laCantc.Text = 0"; +if ((_lacantc.getText()).equals("")) { +_lacantc.setText(BA.ObjectToCharSequence(0));}; +RDebugUtils.currentLine=12779535; + //BA.debugLineNum = 12779535;BA.debugLine="Private maxProds As String = (esteTag.Get(1) + es"; +_maxprods = BA.NumberToString(((double)(BA.ObjectToNumber(_estetag.Get((int) (1))))+(double)(BA.ObjectToNumber(_estetag.Get((int) (4)))))); +RDebugUtils.currentLine=12779536; + //BA.debugLineNum = 12779536;BA.debugLine="LogColor(esteTag.Get(1),Colors.Red)"; +__c.LogImpl("812779536",BA.ObjectToString(_estetag.Get((int) (1))),__c.Colors.Red); +RDebugUtils.currentLine=12779537; + //BA.debugLineNum = 12779537;BA.debugLine="LogColor(esteTag.Get(4),Colors.Red)"; +__c.LogImpl("812779537",BA.ObjectToString(_estetag.Get((int) (4))),__c.Colors.Red); +RDebugUtils.currentLine=12779538; + //BA.debugLineNum = 12779538;BA.debugLine="LogColor($\"++++++++++++++++++++++++++ ${esteTag"; +__c.LogImpl("812779538",("++++++++++++++++++++++++++ "+__c.SmartStringFormatter("",(Object)(_estetag.getObject()))+""),__c.Colors.Green); +RDebugUtils.currentLine=12779540; + //BA.debugLineNum = 12779540;BA.debugLine="Log(maxProds)"; +__c.LogImpl("812779540",_maxprods,0); +RDebugUtils.currentLine=12779543; + //BA.debugLineNum = 12779543;BA.debugLine="If esteTag.Get(7) <> \"1\" Then"; +if ((_estetag.Get((int) (7))).equals((Object)("1")) == false) { +RDebugUtils.currentLine=12779546; + //BA.debugLineNum = 12779546;BA.debugLine="If laCantc.Text + 1 <= maxProds Then"; +if ((double)(Double.parseDouble(_lacantc.getText()))+1<=(double)(Double.parseDouble(_maxprods))) { +RDebugUtils.currentLine=12779547; + //BA.debugLineNum = 12779547;BA.debugLine="Log($\"NuevaCant = ${laCantc.Text + 1}\"$)"; +__c.LogImpl("812779547",("NuevaCant = "+__c.SmartStringFormatter("",(Object)((double)(Double.parseDouble(_lacantc.getText()))+1))+""),0); +RDebugUtils.currentLine=12779548; + //BA.debugLineNum = 12779548;BA.debugLine="laCantc.Text = $\"$1.0{laCantc.Text + 1}\"$"; +_lacantc.setText(BA.ObjectToCharSequence((""+__c.SmartStringFormatter("1.0",(Object)((double)(Double.parseDouble(_lacantc.getText()))+1))+""))); +RDebugUtils.currentLine=12779550; + //BA.debugLineNum = 12779550;BA.debugLine="Log(laCantc.Text)"; +__c.LogImpl("812779550",_lacantc.getText(),0); +RDebugUtils.currentLine=12779551; + //BA.debugLineNum = 12779551;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENTAS"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update HIST_VENTAS set HVD_RECHAZO = 1, HVD_RECHAZOCANT = IFNULL(HVD_RECHAZOCANT,0) -(1 * "+__c.SmartStringFormatter("",(Object)(_subs._traeconversion /*String*/ (ba,BA.ObjectToString(_estetag.Get((int) (2))))))+") WHERE HVD_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and HVD_cliente in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (8)))+"'")); +RDebugUtils.currentLine=12779559; + //BA.debugLineNum = 12779559;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); + }; + }; +RDebugUtils.currentLine=12779562; + //BA.debugLineNum = 12779562;BA.debugLine="End Sub"; +return ""; +} +public String _b_prodmenos_click(reparto_izca.keymon.lat.c_detalleventa __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_detalleventa"; +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; +anywheresoftware.b4a.objects.collections.List _estetag = null; +String _minimoadesc = ""; +anywheresoftware.b4a.sql.SQL.CursorWrapper _minimos = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _c3 = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _c2 = null; +float _preciou = 0f; +RDebugUtils.currentLine=12386304; + //BA.debugLineNum = 12386304;BA.debugLine="Sub b_prodMenos_Click"; +RDebugUtils.currentLine=12386305; + //BA.debugLineNum = 12386305;BA.debugLine="etCantHasFocus = False"; +__ref._etcanthasfocus /*boolean*/ = __c.False; +RDebugUtils.currentLine=12386306; + //BA.debugLineNum = 12386306;BA.debugLine="Log(\"etCantHasFocus=\" & etCantHasFocus)"; +__c.LogImpl("812386306","etCantHasFocus="+BA.ObjectToString(__ref._etcanthasfocus /*boolean*/ ),0); +RDebugUtils.currentLine=12386307; + //BA.debugLineNum = 12386307;BA.debugLine="LogColor(\"b_prodMenos_Click\", Colors.Magenta)"; +__c.LogImpl("812386307","b_prodMenos_Click",__c.Colors.Magenta); +RDebugUtils.currentLine=12386308; + //BA.debugLineNum = 12386308;BA.debugLine="Dim index As Int = clv_pedido.GetItemFromView(Sen"; +_index = __ref._clv_pedido /*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=12386309; + //BA.debugLineNum = 12386309;BA.debugLine="Dim pnl0 As B4XView = clv_pedido.GetPanel(index)"; +_pnl0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_pnl0 = __ref._clv_pedido /*b4a.example3.customlistview*/ ._getpanel(_index); +RDebugUtils.currentLine=12386310; + //BA.debugLineNum = 12386310;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; +_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_pnl = _pnl0.GetView((int) (0)); +RDebugUtils.currentLine=12386311; + //BA.debugLineNum = 12386311;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(3)"; +_lacant = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_lacant = _pnl.GetView((int) (2)).GetView((int) (3)); +RDebugUtils.currentLine=12386313; + //BA.debugLineNum = 12386313;BA.debugLine="Dim esteTag As List = Regex.Split(\"\\|\", laCant.Ta"; +_estetag = new anywheresoftware.b4a.objects.collections.List(); +_estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(__c.Regex.Split("\\|",BA.ObjectToString(_lacant.getTag()))); +RDebugUtils.currentLine=12386314; + //BA.debugLineNum = 12386314;BA.debugLine="Log(\"LC_TEXT:\"&laCant.Text&\"|PROMO:\"&esteTag.Get("; +__c.LogImpl("812386314","LC_TEXT:"+_lacant.getText()+"|PROMO:"+BA.ObjectToString(_estetag.Get((int) (3)))+"|LC_TAG:"+BA.ObjectToString(_lacant.getTag())+"|ET:"+BA.ObjectToString(_estetag),0); +RDebugUtils.currentLine=12386315; + //BA.debugLineNum = 12386315;BA.debugLine="Private minimoadesc As String"; +_minimoadesc = ""; +RDebugUtils.currentLine=12386316; + //BA.debugLineNum = 12386316;BA.debugLine="Dim minimos As Cursor = Starter.skmt.ExecQuery2(\""; +_minimos = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_minimos = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM CAT_GUNAPROD3 WHERE CAT_GP_ID = ?",new String[]{BA.ObjectToString(_estetag.Get((int) (2)))}))); +RDebugUtils.currentLine=12386317; + //BA.debugLineNum = 12386317;BA.debugLine="If minimos.RowCount > 0 Then"; +if (_minimos.getRowCount()>0) { +RDebugUtils.currentLine=12386318; + //BA.debugLineNum = 12386318;BA.debugLine="minimos.Position = 0"; +_minimos.setPosition((int) (0)); +RDebugUtils.currentLine=12386319; + //BA.debugLineNum = 12386319;BA.debugLine="minimoadesc = minimos.GetString(\"CAT_DP_CANT_MIN"; +_minimoadesc = _minimos.GetString("CAT_DP_CANT_MIN_VENTA"); + }else { +RDebugUtils.currentLine=12386321; + //BA.debugLineNum = 12386321;BA.debugLine="minimoadesc = \"1\""; +_minimoadesc = "1"; + }; +RDebugUtils.currentLine=12386323; + //BA.debugLineNum = 12386323;BA.debugLine="minimos.Close"; +_minimos.Close(); +RDebugUtils.currentLine=12386325; + //BA.debugLineNum = 12386325;BA.debugLine="minimoadesc = \"1\""; +_minimoadesc = "1"; +RDebugUtils.currentLine=12386326; + //BA.debugLineNum = 12386326;BA.debugLine="If esteTag.Get(7) = \"1\" Then"; +if ((_estetag.Get((int) (7))).equals((Object)("1"))) { +RDebugUtils.currentLine=12386327; + //BA.debugLineNum = 12386327;BA.debugLine="If laCant.Text = \"\" Then laCant.Text = 0"; +if ((_lacant.getText()).equals("")) { +_lacant.setText(BA.ObjectToCharSequence(0));}; +RDebugUtils.currentLine=12386328; + //BA.debugLineNum = 12386328;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=12386329; + //BA.debugLineNum = 12386329;BA.debugLine="If laCant.Text < 0 Then laCant.Text = 0"; +if ((double)(Double.parseDouble(_lacant.getText()))<0) { +_lacant.setText(BA.ObjectToCharSequence(0));}; +RDebugUtils.currentLine=12386330; + //BA.debugLineNum = 12386330;BA.debugLine="Private c3 As Cursor = Starter.skmt.ExecQuery2(\""; +_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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT PE_CANT FROM PEDIDO WHERE PE_PROID = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND CONSECUTIVO = ?",new String[]{BA.ObjectToString(_estetag.Get((int) (2))),BA.ObjectToString(_estetag.Get((int) (8)))}))); +RDebugUtils.currentLine=12386331; + //BA.debugLineNum = 12386331;BA.debugLine="If c3.RowCount > 0 Then"; +if (_c3.getRowCount()>0) { +RDebugUtils.currentLine=12386332; + //BA.debugLineNum = 12386332;BA.debugLine="c3.Position = 0"; +_c3.setPosition((int) (0)); +RDebugUtils.currentLine=12386333; + //BA.debugLineNum = 12386333;BA.debugLine="If c3.GetString(\"PE_CANT\") > minimoadesc Then"; +if ((double)(Double.parseDouble(_c3.GetString("PE_CANT")))>(double)(Double.parseDouble(_minimoadesc))) { +RDebugUtils.currentLine=12386334; + //BA.debugLineNum = 12386334;BA.debugLine="Private c2 As Cursor = Starter.skmt.ExecQuery2"; +_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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM CAT_GUNAPROD WHERE CAT_GP_ID = ?",new String[]{BA.ObjectToString(_estetag.Get((int) (2)))}))); +RDebugUtils.currentLine=12386335; + //BA.debugLineNum = 12386335;BA.debugLine="If c2.RowCount > 0 Then"; +if (_c2.getRowCount()>0) { +RDebugUtils.currentLine=12386336; + //BA.debugLineNum = 12386336;BA.debugLine="c2.Position = 0"; +_c2.setPosition((int) (0)); +RDebugUtils.currentLine=12386338; + //BA.debugLineNum = 12386338;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO set"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update PEDIDO set PE_CANT = IFNULL(PE_CANT,0)-(1*'"+__c.SmartStringFormatter("",(Object)(_minimoadesc))+"'), PE_COSTO_TOT= ((IFNULL(PE_CANT,0) -(1*'"+__c.SmartStringFormatter("",(Object)(_minimoadesc))+"'))*'"+__c.SmartStringFormatter("",(Object)(_c2.GetString("CAT_GP_PRECIO")))+"') WHERE PE_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and PE_CLIENTE in (Select CUENTA from cuentaa) and CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (8)))+"'")); + }; + }else +{RDebugUtils.currentLine=12386340; + //BA.debugLineNum = 12386340;BA.debugLine="Else If c3.GetString(\"PE_CANT\") = minimoadesc T"; +if ((_c3.GetString("PE_CANT")).equals(_minimoadesc)) { +RDebugUtils.currentLine=12386341; + //BA.debugLineNum = 12386341;BA.debugLine="Private c2 As Cursor = Starter.skmt.ExecQuery2"; +_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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM CAT_GUNAPROD WHERE CAT_GP_ID = ?",new String[]{BA.ObjectToString(_estetag.Get((int) (2)))}))); +RDebugUtils.currentLine=12386342; + //BA.debugLineNum = 12386342;BA.debugLine="If c2.RowCount > 0 Then"; +if (_c2.getRowCount()>0) { +RDebugUtils.currentLine=12386343; + //BA.debugLineNum = 12386343;BA.debugLine="c2.Position = 0"; +_c2.setPosition((int) (0)); +RDebugUtils.currentLine=12386346; + //BA.debugLineNum = 12386346;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from PEDID"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from PEDIDO where PE_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (8)))+"'")); + }; + }} +; + }; +RDebugUtils.currentLine=12386353; + //BA.debugLineNum = 12386353;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); + }else { +RDebugUtils.currentLine=12386356; + //BA.debugLineNum = 12386356;BA.debugLine="If esteTag.Get(5) = esteTag.Get(6) Then"; +if ((_estetag.Get((int) (5))).equals(_estetag.Get((int) (6)))) { +RDebugUtils.currentLine=12386357; + //BA.debugLineNum = 12386357;BA.debugLine="If laCant.Text > 0 Then"; +if ((double)(Double.parseDouble(_lacant.getText()))>0) { +RDebugUtils.currentLine=12386358; + //BA.debugLineNum = 12386358;BA.debugLine="If esteTag.Get(3) <> Subs.traeAlmacen Then 'Si"; +if ((_estetag.Get((int) (3))).equals((Object)(_subs._traealmacen /*String*/ (ba))) == false) { +RDebugUtils.currentLine=12386359; + //BA.debugLineNum = 12386359;BA.debugLine="Private c2 As Cursor =Starter.skmt.ExecQuery("; +_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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select HVD_RECHAZO FROM HIST_VENTAS WHERE HVD_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' AND HVD_CLIENTE IN (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (8)))+"'")))); +RDebugUtils.currentLine=12386360; + //BA.debugLineNum = 12386360;BA.debugLine="c2.Position = 0"; +_c2.setPosition((int) (0)); +RDebugUtils.currentLine=12386361; + //BA.debugLineNum = 12386361;BA.debugLine="If c2.GetString(\"HVD_RECHAZO\") = \"0\" Then"; +if ((_c2.GetString("HVD_RECHAZO")).equals("0")) { +RDebugUtils.currentLine=12386364; + //BA.debugLineNum = 12386364;BA.debugLine="Log(\"ES PROMO\")"; +__c.LogImpl("812386364","ES PROMO",0); +RDebugUtils.currentLine=12386365; + //BA.debugLineNum = 12386365;BA.debugLine="Log(esteTag.Get(3))"; +__c.LogImpl("812386365",BA.ObjectToString(_estetag.Get((int) (3))),0); +RDebugUtils.currentLine=12386366; + //BA.debugLineNum = 12386366;BA.debugLine="result = Msgbox2(\"Si se modifica una promoc"; +__ref._result /*String*/ = BA.NumberToString(__c.Msgbox2(BA.ObjectToCharSequence("Si se modifica una promoción, la promoción se rompe y solo quedarán los productos sueltos, ¿seguro que desea continuar?"),BA.ObjectToCharSequence("Modificar Promoción"),"Si","","No",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alert2.png").getObject()),ba)); +RDebugUtils.currentLine=12386367; + //BA.debugLineNum = 12386367;BA.debugLine="If result = DialogResponse.POSITIVE Then 'Qu"; +if ((__ref._result /*String*/ ).equals(BA.NumberToString(__c.DialogResponse.POSITIVE))) { +RDebugUtils.currentLine=12386368; + //BA.debugLineNum = 12386368;BA.debugLine="prodsMap.Remove(esteTag.Get(3))"; +__ref._prodsmap /*anywheresoftware.b4a.objects.collections.Map*/ .Remove(_estetag.Get((int) (3))); +RDebugUtils.currentLine=12386372; + //BA.debugLineNum = 12386372;BA.debugLine="LogColor(esteTag.Get(3),Colors.Blue)"; +__c.LogImpl("812386372",BA.ObjectToString(_estetag.Get((int) (3))),__c.Colors.Blue); +RDebugUtils.currentLine=12386375; + //BA.debugLineNum = 12386375;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VEN"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update HIST_VENTAS set HVD_RECHAZO = 1, HVD_RECHAZOCANT = HVD_CANT WHERE HVD_CODPROMO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (3)))+"' and HVD_CLIENTE in (Select CUENTA from cuentaa)")); +RDebugUtils.currentLine=12386376; + //BA.debugLineNum = 12386376;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VEN"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update HIST_VENTAS set HVD_RECHAZO = 2, HVD_RECHAZOCANT = HVD_CANT WHERE HVD_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (3)))+"' and HVD_CODPROMO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (3)))+"' and HVD_CLIENTE in (Select CUENTA from cuentaa)")); +RDebugUtils.currentLine=12386379; + //BA.debugLineNum = 12386379;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=12386380; + //BA.debugLineNum = 12386380;BA.debugLine="LogColor(prodsMap, Colors.red)"; +__c.LogImpl("812386380",BA.ObjectToString(__ref._prodsmap /*anywheresoftware.b4a.objects.collections.Map*/ ),__c.Colors.Red); +RDebugUtils.currentLine=12386381; + //BA.debugLineNum = 12386381;BA.debugLine="reconstruirPedido = True"; +__ref._reconstruirpedido /*boolean*/ = __c.True; +RDebugUtils.currentLine=12386382; + //BA.debugLineNum = 12386382;BA.debugLine="promoABorrar = esteTag.Get(3)"; +__ref._promoaborrar /*String*/ = BA.ObjectToString(_estetag.Get((int) (3))); +RDebugUtils.currentLine=12386383; + //BA.debugLineNum = 12386383;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); + }; + }else { +RDebugUtils.currentLine=12386386; + //BA.debugLineNum = 12386386;BA.debugLine="If laCant.Text = \"\" Then laCant.Text = 0"; +if ((_lacant.getText()).equals("")) { +_lacant.setText(BA.ObjectToCharSequence(0));}; +RDebugUtils.currentLine=12386387; + //BA.debugLineNum = 12386387;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=12386388; + //BA.debugLineNum = 12386388;BA.debugLine="If laCant.Text < 0 Then laCant.Text = 0"; +if ((double)(Double.parseDouble(_lacant.getText()))<0) { +_lacant.setText(BA.ObjectToCharSequence(0));}; +RDebugUtils.currentLine=12386389; + //BA.debugLineNum = 12386389;BA.debugLine="Log(\"NO ES promo\")"; +__c.LogImpl("812386389","NO ES promo",0); +RDebugUtils.currentLine=12386390; + //BA.debugLineNum = 12386390;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENT"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update HIST_VENTAS set HVD_RECHAZO = 1, HVD_RECHAZOCANT = IFNULL(HVD_RECHAZOCANT,0) + (1*'"+__c.SmartStringFormatter("",(Object)(_minimoadesc))+"') WHERE HVD_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and HVD_cliente in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (8)))+"'")); +RDebugUtils.currentLine=12386391; + //BA.debugLineNum = 12386391;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update cat_gunap"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen + 1 where cat_gp_id = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{_estetag.Get((int) (2))})); +RDebugUtils.currentLine=12386392; + //BA.debugLineNum = 12386392;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); + }; + }else { +RDebugUtils.currentLine=12386395; + //BA.debugLineNum = 12386395;BA.debugLine="If laCant.Text = \"\" Then laCant.Text = 0"; +if ((_lacant.getText()).equals("")) { +_lacant.setText(BA.ObjectToCharSequence(0));}; +RDebugUtils.currentLine=12386396; + //BA.debugLineNum = 12386396;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=12386397; + //BA.debugLineNum = 12386397;BA.debugLine="If laCant.Text < 0 Then laCant.Text = 0"; +if ((double)(Double.parseDouble(_lacant.getText()))<0) { +_lacant.setText(BA.ObjectToCharSequence(0));}; +RDebugUtils.currentLine=12386398; + //BA.debugLineNum = 12386398;BA.debugLine="Log(\"NO ES promo\")"; +__c.LogImpl("812386398","NO ES promo",0); +RDebugUtils.currentLine=12386399; + //BA.debugLineNum = 12386399;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENTA"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update HIST_VENTAS set HVD_RECHAZO = 1, HVD_RECHAZOCANT = IFNULL(HVD_RECHAZOCANT,0) + (1*'"+__c.SmartStringFormatter("",(Object)(_minimoadesc))+"'), BCAJAS = 0, CANTC = 0 WHERE HVD_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and HVD_cliente in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (8)))+"'")); +RDebugUtils.currentLine=12386400; + //BA.debugLineNum = 12386400;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update cat_gunapr"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen + 1 where cat_gp_id = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{_estetag.Get((int) (2))})); +RDebugUtils.currentLine=12386401; + //BA.debugLineNum = 12386401;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); + }; + }; + }else { +RDebugUtils.currentLine=12386406; + //BA.debugLineNum = 12386406;BA.debugLine="If laCant.Text = \"\" Then laCant.Text = 0"; +if ((_lacant.getText()).equals("")) { +_lacant.setText(BA.ObjectToCharSequence(0));}; +RDebugUtils.currentLine=12386407; + //BA.debugLineNum = 12386407;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=12386408; + //BA.debugLineNum = 12386408;BA.debugLine="If laCant.Text < 0 Then laCant.Text = 0"; +if ((double)(Double.parseDouble(_lacant.getText()))<0) { +_lacant.setText(BA.ObjectToCharSequence(0));}; +RDebugUtils.currentLine=12386409; + //BA.debugLineNum = 12386409;BA.debugLine="Log(\"NO ES promo\")"; +__c.LogImpl("812386409","NO ES promo",0); +RDebugUtils.currentLine=12386414; + //BA.debugLineNum = 12386414;BA.debugLine="Private c3 As Cursor = Starter.skmt.ExecQuery2("; +_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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT PE_CANT FROM PEDIDO WHERE PE_PROID = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND CONSECUTIVO = ?",new String[]{BA.ObjectToString(_estetag.Get((int) (2))),BA.ObjectToString(_estetag.Get((int) (8)))}))); +RDebugUtils.currentLine=12386415; + //BA.debugLineNum = 12386415;BA.debugLine="If c3.RowCount > 0 Then"; +if (_c3.getRowCount()>0) { +RDebugUtils.currentLine=12386416; + //BA.debugLineNum = 12386416;BA.debugLine="c3.Position = 0"; +_c3.setPosition((int) (0)); +RDebugUtils.currentLine=12386417; + //BA.debugLineNum = 12386417;BA.debugLine="If c3.GetString(\"PE_CANT\") > 1 Then"; +if ((double)(Double.parseDouble(_c3.GetString("PE_CANT")))>1) { +RDebugUtils.currentLine=12386418; + //BA.debugLineNum = 12386418;BA.debugLine="Private c2 As Cursor = Starter.skmt.ExecQuery"; +_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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM CAT_GUNAPROD WHERE CAT_GP_ID = ?",new String[]{BA.ObjectToString(_estetag.Get((int) (2)))}))); +RDebugUtils.currentLine=12386419; + //BA.debugLineNum = 12386419;BA.debugLine="If c2.RowCount > 0 Then"; +if (_c2.getRowCount()>0) { +RDebugUtils.currentLine=12386420; + //BA.debugLineNum = 12386420;BA.debugLine="c2.Position = 0"; +_c2.setPosition((int) (0)); +RDebugUtils.currentLine=12386421; + //BA.debugLineNum = 12386421;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO se"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update PEDIDO set PE_CANT = IFNULL(PE_CANT,0)-(1*'"+__c.SmartStringFormatter("",(Object)(_minimoadesc))+"'), PE_COSTO_TOT= ((IFNULL(PE_CANT,0) -(1*'"+__c.SmartStringFormatter("",(Object)(_minimoadesc))+"'))*'"+__c.SmartStringFormatter("",(Object)(_c2.GetString("CAT_GP_PRECIO")))+"') WHERE PE_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (8)))+"'")); + }; + }else +{RDebugUtils.currentLine=12386423; + //BA.debugLineNum = 12386423;BA.debugLine="Else If c3.GetString(\"PE_CANT\") = 1 Then"; +if ((_c3.GetString("PE_CANT")).equals(BA.NumberToString(1))) { +RDebugUtils.currentLine=12386424; + //BA.debugLineNum = 12386424;BA.debugLine="Private c2 As Cursor = Starter.skmt.ExecQuery"; +_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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM CAT_GUNAPROD WHERE CAT_GP_ID = ?",new String[]{BA.ObjectToString(_estetag.Get((int) (2)))}))); +RDebugUtils.currentLine=12386425; + //BA.debugLineNum = 12386425;BA.debugLine="If c2.RowCount > 0 Then"; +if (_c2.getRowCount()>0) { +RDebugUtils.currentLine=12386426; + //BA.debugLineNum = 12386426;BA.debugLine="c2.Position = 0"; +_c2.setPosition((int) (0)); +RDebugUtils.currentLine=12386427; + //BA.debugLineNum = 12386427;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from PEDI"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from PEDIDO where PE_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (8)))+"'")); + }; + }} +; + }; +RDebugUtils.currentLine=12386431; + //BA.debugLineNum = 12386431;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); + }; + }; +RDebugUtils.currentLine=12386434; + //BA.debugLineNum = 12386434;BA.debugLine="Dim preciou As Float = esteTag.Get(0)/esteTag.Get"; +_preciou = (float) ((double)(BA.ObjectToNumber(_estetag.Get((int) (0))))/(double)(double)(BA.ObjectToNumber(_estetag.Get((int) (1))))); +RDebugUtils.currentLine=12386435; + //BA.debugLineNum = 12386435;BA.debugLine="Log(\"PU: \" & preciou)"; +__c.LogImpl("812386435","PU: "+BA.NumberToString(_preciou),0); +RDebugUtils.currentLine=12386446; + //BA.debugLineNum = 12386446;BA.debugLine="End Sub"; +return ""; +} +public String _b_prodmenosc_click(reparto_izca.keymon.lat.c_detalleventa __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_detalleventa"; +if (Debug.shouldDelegate(ba, "b_prodmenosc_click", false)) + {return ((String) Debug.delegate(ba, "b_prodmenosc_click", null));} +int _index = 0; +anywheresoftware.b4a.objects.B4XViewWrapper _pnl0 = null; +anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; +anywheresoftware.b4a.objects.B4XViewWrapper _lacantc = null; +anywheresoftware.b4a.objects.collections.List _estetag = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _c3 = null; +float _preciou = 0f; +RDebugUtils.currentLine=12845056; + //BA.debugLineNum = 12845056;BA.debugLine="Private Sub b_prodMenosC_Click"; +RDebugUtils.currentLine=12845057; + //BA.debugLineNum = 12845057;BA.debugLine="etCantHasFocus = False"; +__ref._etcanthasfocus /*boolean*/ = __c.False; +RDebugUtils.currentLine=12845058; + //BA.debugLineNum = 12845058;BA.debugLine="Log(\"etCantHasFocus=\" & etCantHasFocus)"; +__c.LogImpl("812845058","etCantHasFocus="+BA.ObjectToString(__ref._etcanthasfocus /*boolean*/ ),0); +RDebugUtils.currentLine=12845059; + //BA.debugLineNum = 12845059;BA.debugLine="LogColor(\"b_prodMenos_Click\", Colors.Magenta)"; +__c.LogImpl("812845059","b_prodMenos_Click",__c.Colors.Magenta); +RDebugUtils.currentLine=12845060; + //BA.debugLineNum = 12845060;BA.debugLine="Dim index As Int = clv_pedido.GetItemFromView(Sen"; +_index = __ref._clv_pedido /*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=12845061; + //BA.debugLineNum = 12845061;BA.debugLine="Dim pnl0 As B4XView = clv_pedido.GetPanel(index)"; +_pnl0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_pnl0 = __ref._clv_pedido /*b4a.example3.customlistview*/ ._getpanel(_index); +RDebugUtils.currentLine=12845062; + //BA.debugLineNum = 12845062;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; +_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_pnl = _pnl0.GetView((int) (0)); +RDebugUtils.currentLine=12845063; + //BA.debugLineNum = 12845063;BA.debugLine="Dim laCantc As B4XView = pnl.GetView(3).GetView(3"; +_lacantc = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_lacantc = _pnl.GetView((int) (3)).GetView((int) (3)); +RDebugUtils.currentLine=12845065; + //BA.debugLineNum = 12845065;BA.debugLine="Dim esteTag As List = Regex.Split(\"\\|\", laCantc.T"; +_estetag = new anywheresoftware.b4a.objects.collections.List(); +_estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(__c.Regex.Split("\\|",BA.ObjectToString(_lacantc.getTag()))); +RDebugUtils.currentLine=12845066; + //BA.debugLineNum = 12845066;BA.debugLine="Log(\"LC_TEXT:\"&laCantc.Text&\"|PROMO:\"&esteTag.Get"; +__c.LogImpl("812845066","LC_TEXT:"+_lacantc.getText()+"|PROMO:"+BA.ObjectToString(_estetag.Get((int) (3)))+"|LC_TAG:"+BA.ObjectToString(_lacantc.getTag())+"|ET:"+BA.ObjectToString(_estetag),0); +RDebugUtils.currentLine=12845067; + //BA.debugLineNum = 12845067;BA.debugLine="Log(esteTag)"; +__c.LogImpl("812845067",BA.ObjectToString(_estetag),0); +RDebugUtils.currentLine=12845069; + //BA.debugLineNum = 12845069;BA.debugLine="If esteTag.Get(7) = \"1\" Then"; +if ((_estetag.Get((int) (7))).equals((Object)("1"))) { +RDebugUtils.currentLine=12845070; + //BA.debugLineNum = 12845070;BA.debugLine="Private c3 As Cursor = Starter.skmt.ExecQuery2(\""; +_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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT PE_CAJAS, CONSECUTIVO FROM PEDIDO WHERE PE_PROID = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND CONSECUTIVO = ? ",new String[]{BA.ObjectToString(_estetag.Get((int) (2))),BA.ObjectToString(_estetag.Get((int) (8)))}))); +RDebugUtils.currentLine=12845071; + //BA.debugLineNum = 12845071;BA.debugLine="Log(c3.RowCount)"; +__c.LogImpl("812845071",BA.NumberToString(_c3.getRowCount()),0); +RDebugUtils.currentLine=12845072; + //BA.debugLineNum = 12845072;BA.debugLine="Log(esteTag.Get(8))"; +__c.LogImpl("812845072",BA.ObjectToString(_estetag.Get((int) (8))),0); +RDebugUtils.currentLine=12845073; + //BA.debugLineNum = 12845073;BA.debugLine="If c3.RowCount > 0 Then"; +if (_c3.getRowCount()>0) { +RDebugUtils.currentLine=12845074; + //BA.debugLineNum = 12845074;BA.debugLine="Log(\"AQUI VEMOS SI ACTUALIZAMOS\")"; +__c.LogImpl("812845074","AQUI VEMOS SI ACTUALIZAMOS",0); +RDebugUtils.currentLine=12845075; + //BA.debugLineNum = 12845075;BA.debugLine="c3.Position = 0"; +_c3.setPosition((int) (0)); +RDebugUtils.currentLine=12845076; + //BA.debugLineNum = 12845076;BA.debugLine="If c3.GetString(\"PE_CAJAS\") > 1 Then"; +if ((double)(Double.parseDouble(_c3.GetString("PE_CAJAS")))>1) { +RDebugUtils.currentLine=12845077; + //BA.debugLineNum = 12845077;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO set"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update PEDIDO set PE_CANT = (IFNULL(PE_CANT,0)-(1 * '"+__c.SmartStringFormatter("",(Object)(_subs._traeconversion /*String*/ (ba,BA.ObjectToString(_estetag.Get((int) (2))))))+"')), PE_COSTO_TOT= ((IFNULL(PE_CAJAS,0)-1) *'"+__c.SmartStringFormatter("",(Object)(_subs._traeprecioc /*String*/ (ba,BA.ObjectToString(_estetag.Get((int) (2))))))+"'), PE_CAJAS = IFNULL(PE_CAJAS,0) - 1 WHERE PE_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_c3.GetString("CONSECUTIVO")))+"'")); + }else +{RDebugUtils.currentLine=12845078; + //BA.debugLineNum = 12845078;BA.debugLine="Else If c3.GetString(\"PE_CAJAS\") = 1 Then"; +if ((_c3.GetString("PE_CAJAS")).equals(BA.NumberToString(1))) { +RDebugUtils.currentLine=12845079; + //BA.debugLineNum = 12845079;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from PEDIDO"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from PEDIDO where PE_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_c3.GetString("CONSECUTIVO")))+"'")); + }} +; + }; +RDebugUtils.currentLine=12845082; + //BA.debugLineNum = 12845082;BA.debugLine="Log(\"entre al if o algo asi \")"; +__c.LogImpl("812845082","entre al if o algo asi ",0); +RDebugUtils.currentLine=12845083; + //BA.debugLineNum = 12845083;BA.debugLine="If laCantc.Text = \"\" Then laCantc.Text = 0"; +if ((_lacantc.getText()).equals("")) { +_lacantc.setText(BA.ObjectToCharSequence(0));}; +RDebugUtils.currentLine=12845084; + //BA.debugLineNum = 12845084;BA.debugLine="laCantc.Text = laCantc.Text - 1"; +_lacantc.setText(BA.ObjectToCharSequence((double)(Double.parseDouble(_lacantc.getText()))-1)); +RDebugUtils.currentLine=12845085; + //BA.debugLineNum = 12845085;BA.debugLine="If laCantc.Text < 0 Then laCantc.Text = 0"; +if ((double)(Double.parseDouble(_lacantc.getText()))<0) { +_lacantc.setText(BA.ObjectToCharSequence(0));}; +RDebugUtils.currentLine=12845086; + //BA.debugLineNum = 12845086;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); + }else { +RDebugUtils.currentLine=12845091; + //BA.debugLineNum = 12845091;BA.debugLine="If esteTag.Get(5) = esteTag.Get(6) Then"; +if ((_estetag.Get((int) (5))).equals(_estetag.Get((int) (6)))) { +RDebugUtils.currentLine=12845093; + //BA.debugLineNum = 12845093;BA.debugLine="If laCantc.Text > 0 Then"; +if ((double)(Double.parseDouble(_lacantc.getText()))>0) { +RDebugUtils.currentLine=12845094; + //BA.debugLineNum = 12845094;BA.debugLine="Log(\"entre al if o algo asi \")"; +__c.LogImpl("812845094","entre al if o algo asi ",0); +RDebugUtils.currentLine=12845095; + //BA.debugLineNum = 12845095;BA.debugLine="If laCantc.Text = \"\" Then laCantc.Text = 0"; +if ((_lacantc.getText()).equals("")) { +_lacantc.setText(BA.ObjectToCharSequence(0));}; +RDebugUtils.currentLine=12845096; + //BA.debugLineNum = 12845096;BA.debugLine="laCantc.Text = laCantc.Text - 1"; +_lacantc.setText(BA.ObjectToCharSequence((double)(Double.parseDouble(_lacantc.getText()))-1)); +RDebugUtils.currentLine=12845097; + //BA.debugLineNum = 12845097;BA.debugLine="If laCantc.Text < 0 Then laCantc.Text = 0"; +if ((double)(Double.parseDouble(_lacantc.getText()))<0) { +_lacantc.setText(BA.ObjectToCharSequence(0));}; +RDebugUtils.currentLine=12845098; + //BA.debugLineNum = 12845098;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENTAS"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update HIST_VENTAS set HVD_RECHAZO = 1, HVD_RECHAZOCANT = (IFNULL(HVD_RECHAZOCANT,0) +(1 * "+__c.SmartStringFormatter("",(Object)(_subs._traeconversion /*String*/ (ba,BA.ObjectToString(_estetag.Get((int) (2))))))+")) WHERE HVD_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and HVD_cliente in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (8)))+"'")); +RDebugUtils.currentLine=12845099; + //BA.debugLineNum = 12845099;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update cat_gunapro"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = (cat_gp_almacen + (1 * ?)) where cat_gp_id = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{_estetag.Get((int) (2)),(Object)(_subs._traeconversion /*String*/ (ba,BA.ObjectToString(_estetag.Get((int) (2)))))})); +RDebugUtils.currentLine=12845100; + //BA.debugLineNum = 12845100;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); + }else +{RDebugUtils.currentLine=12845101; + //BA.debugLineNum = 12845101;BA.debugLine="Else If laCantc.Text = 0 Then"; +if ((_lacantc.getText()).equals(BA.NumberToString(0))) { + }} +; + }else { +RDebugUtils.currentLine=12845107; + //BA.debugLineNum = 12845107;BA.debugLine="If laCantc.Text > 0 Then"; +if ((double)(Double.parseDouble(_lacantc.getText()))>0) { +RDebugUtils.currentLine=12845110; + //BA.debugLineNum = 12845110;BA.debugLine="Private c3 As Cursor = Starter.skmt.ExecQuery2"; +_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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT PE_CAJAS FROM PEDIDO WHERE PE_PROID = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) and CONSECUTIVO = ? ",new String[]{BA.ObjectToString(_estetag.Get((int) (2))),BA.ObjectToString(_estetag.Get((int) (8)))}))); +RDebugUtils.currentLine=12845111; + //BA.debugLineNum = 12845111;BA.debugLine="If c3.RowCount > 0 Then"; +if (_c3.getRowCount()>0) { +RDebugUtils.currentLine=12845112; + //BA.debugLineNum = 12845112;BA.debugLine="Log(\"AQUI VEMOS SI ACTUALIZAMOS\")"; +__c.LogImpl("812845112","AQUI VEMOS SI ACTUALIZAMOS",0); +RDebugUtils.currentLine=12845113; + //BA.debugLineNum = 12845113;BA.debugLine="c3.Position = 0"; +_c3.setPosition((int) (0)); +RDebugUtils.currentLine=12845114; + //BA.debugLineNum = 12845114;BA.debugLine="If c3.GetString(\"PE_CAJAS\") > 1 Then"; +if ((double)(Double.parseDouble(_c3.GetString("PE_CAJAS")))>1) { +RDebugUtils.currentLine=12845115; + //BA.debugLineNum = 12845115;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO se"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update PEDIDO set PE_CANT = (IFNULL(PE_CANT,0)-(1 * '"+__c.SmartStringFormatter("",(Object)(_subs._traeconversion /*String*/ (ba,BA.ObjectToString(_estetag.Get((int) (2))))))+"')), PE_COSTO_TOT= ((IFNULL(PE_CAJAS,0)-1) *'"+__c.SmartStringFormatter("",(Object)(_subs._traeprecioc /*String*/ (ba,BA.ObjectToString(_estetag.Get((int) (2))))))+"'), PE_CAJAS = IFNULL(PE_CAJAS,0) - 1 WHERE PE_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (8)))+"'")); + }else +{RDebugUtils.currentLine=12845116; + //BA.debugLineNum = 12845116;BA.debugLine="Else If c3.GetString(\"PE_CAJAS\") = 1 Then"; +if ((_c3.GetString("PE_CAJAS")).equals(BA.NumberToString(1))) { +RDebugUtils.currentLine=12845117; + //BA.debugLineNum = 12845117;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from PEDI"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from PEDIDO where PE_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (8)))+"'")); + }} +; + }; +RDebugUtils.currentLine=12845120; + //BA.debugLineNum = 12845120;BA.debugLine="Log(\"entre al if o algo asi \")"; +__c.LogImpl("812845120","entre al if o algo asi ",0); +RDebugUtils.currentLine=12845121; + //BA.debugLineNum = 12845121;BA.debugLine="If laCantc.Text = \"\" Then laCantc.Text = 0"; +if ((_lacantc.getText()).equals("")) { +_lacantc.setText(BA.ObjectToCharSequence(0));}; +RDebugUtils.currentLine=12845122; + //BA.debugLineNum = 12845122;BA.debugLine="laCantc.Text = laCantc.Text - 1"; +_lacantc.setText(BA.ObjectToCharSequence((double)(Double.parseDouble(_lacantc.getText()))-1)); +RDebugUtils.currentLine=12845123; + //BA.debugLineNum = 12845123;BA.debugLine="If laCantc.Text < 0 Then laCantc.Text = 0"; +if ((double)(Double.parseDouble(_lacantc.getText()))<0) { +_lacantc.setText(BA.ObjectToCharSequence(0));}; +RDebugUtils.currentLine=12845124; + //BA.debugLineNum = 12845124;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); + }else +{RDebugUtils.currentLine=12845126; + //BA.debugLineNum = 12845126;BA.debugLine="Else If laCantc.Text = 0 Then"; +if ((_lacantc.getText()).equals(BA.NumberToString(0))) { + }} +; + }; + }; +RDebugUtils.currentLine=12845132; + //BA.debugLineNum = 12845132;BA.debugLine="Dim preciou As Float = esteTag.Get(0)/esteTag.Get"; +_preciou = (float) ((double)(BA.ObjectToNumber(_estetag.Get((int) (0))))/(double)(double)(BA.ObjectToNumber(_estetag.Get((int) (1))))); +RDebugUtils.currentLine=12845133; + //BA.debugLineNum = 12845133;BA.debugLine="Log(\"PU: \" & preciou)"; +__c.LogImpl("812845133","PU: "+BA.NumberToString(_preciou),0); +RDebugUtils.currentLine=12845134; + //BA.debugLineNum = 12845134;BA.debugLine="End Sub"; +return ""; +} +public String _b_regresar_click(reparto_izca.keymon.lat.c_detalleventa __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_detalleventa"; +if (Debug.shouldDelegate(ba, "b_regresar_click", false)) + {return ((String) Debug.delegate(ba, "b_regresar_click", null));} +RDebugUtils.currentLine=11993088; + //BA.debugLineNum = 11993088;BA.debugLine="Sub b_regresar_Click"; +RDebugUtils.currentLine=11993089; + //BA.debugLineNum = 11993089;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +_b4xpages._showpage /*String*/ (ba,"Cliente"); +RDebugUtils.currentLine=11993090; + //BA.debugLineNum = 11993090;BA.debugLine="End Sub"; +return ""; +} +public String _b_revversar_click(reparto_izca.keymon.lat.c_detalleventa __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_detalleventa"; +if (Debug.shouldDelegate(ba, "b_revversar_click", false)) + {return ((String) Debug.delegate(ba, "b_revversar_click", null));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _c3 = null; +RDebugUtils.currentLine=12976128; + //BA.debugLineNum = 12976128;BA.debugLine="Private Sub b_revversar_Click"; +RDebugUtils.currentLine=12976129; + //BA.debugLineNum = 12976129;BA.debugLine="Private c3 As Cursor = Starter.skmt.ExecQuery(\"SE"; +_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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM PEDIDO WHERE PE_CLIENTEOR IN (SELECT CUENTA FROM CUENTAA)"))); +RDebugUtils.currentLine=12976130; + //BA.debugLineNum = 12976130;BA.debugLine="If c3.RowCount = 0 Then"; +if (_c3.getRowCount()==0) { +RDebugUtils.currentLine=12976131; + //BA.debugLineNum = 12976131;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENTAS s"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update HIST_VENTAS set HVD_RECHAZO = 0, HVD_RECHAZOCANT = 0, BCAJAS = BCAJAS_OR, CANTC = CANTC_OR WHERE HVD_cliente in (Select CUENTA from cuentaa)")); +RDebugUtils.currentLine=12976132; + //BA.debugLineNum = 12976132;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); + }else { +RDebugUtils.currentLine=12976134; + //BA.debugLineNum = 12976134;BA.debugLine="MsgboxAsync(\"Hay productos que ya se vendieron,"; +__c.MsgboxAsync(BA.ObjectToCharSequence("Hay productos que ya se vendieron, no se puede regresar la venta"),BA.ObjectToCharSequence("Atención"),ba); + }; +RDebugUtils.currentLine=12976138; + //BA.debugLineNum = 12976138;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.objects.PanelWrapper _createlistitem(reparto_izca.keymon.lat.c_detalleventa __ref,String _text,String _preciou,int _inv,int _inv2,int _width,int _height,anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _img,String _prodid,int _bc,int _tc,String _promo,String _cliente_original,String _clienterecha,String _bandera,int _consecutivo) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_detalleventa"; +if (Debug.shouldDelegate(ba, "createlistitem", false)) + {return ((anywheresoftware.b4a.objects.PanelWrapper) Debug.delegate(ba, "createlistitem", new Object[] {_text,_preciou,_inv,_inv2,_width,_height,_img,_prodid,_bc,_tc,_promo,_cliente_original,_clienterecha,_bandera,_consecutivo}));} +anywheresoftware.b4a.objects.B4XViewWrapper _p = null; +anywheresoftware.b4a.objects.CSBuilder _cs = null; +RDebugUtils.currentLine=12255232; + //BA.debugLineNum = 12255232;BA.debugLine="Sub CreateListItem(Text As String, precioU As Stri"; +RDebugUtils.currentLine=12255233; + //BA.debugLineNum = 12255233;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=12255234; + //BA.debugLineNum = 12255234;BA.debugLine="Private cs As CSBuilder"; +_cs = new anywheresoftware.b4a.objects.CSBuilder(); +RDebugUtils.currentLine=12255235; + //BA.debugLineNum = 12255235;BA.debugLine="cs.Initialize"; +_cs.Initialize(); +RDebugUtils.currentLine=12255236; + //BA.debugLineNum = 12255236;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, Width, Height)"; +_p.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_width,_height); +RDebugUtils.currentLine=12255237; + //BA.debugLineNum = 12255237;BA.debugLine="p.LoadLayout(\"prodItem2\")"; +_p.LoadLayout("prodItem2",ba); +RDebugUtils.currentLine=12255238; + //BA.debugLineNum = 12255238;BA.debugLine="p_prods.Color = bc"; +__ref._p_prods /*anywheresoftware.b4a.objects.PanelWrapper*/ .setColor(_bc); +RDebugUtils.currentLine=12255239; + //BA.debugLineNum = 12255239;BA.debugLine="l_prodX.TextColor = tc"; +__ref._l_prodx /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextColor(_tc); +RDebugUtils.currentLine=12255240; + //BA.debugLineNum = 12255240;BA.debugLine="precioU = $\"$1.2{precioU}\"$"; +_preciou = (""+__c.SmartStringFormatter("1.2",(Object)(_preciou))+""); +RDebugUtils.currentLine=12255241; + //BA.debugLineNum = 12255241;BA.debugLine="l_prodX.Text = Text&CRLF&\"Cant: \" & inv2 & \" $\""; +__ref._l_prodx /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_text+__c.CRLF+"Cant: "+BA.NumberToString(_inv2)+" $"+_preciou)); +RDebugUtils.currentLine=12255242; + //BA.debugLineNum = 12255242;BA.debugLine="If promo <> \"1\" And precioU = 0 Then"; +if ((_promo).equals("1") == false && (_preciou).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=12255243; + //BA.debugLineNum = 12255243;BA.debugLine="l_prodX.Text = cs.Color(Colors.RGB(123,0,0)).app"; +__ref._l_prodx /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_cs.Color(__c.Colors.RGB((int) (123),(int) (0),(int) (0))).Append(BA.ObjectToCharSequence(_text+__c.CRLF+"Cant: "+BA.NumberToString(_inv2)+" $"+_preciou)).PopAll().getObject())); + }; +RDebugUtils.currentLine=12255245; + //BA.debugLineNum = 12255245;BA.debugLine="l_prodX.Tag = $\"ID: ${prodId}${CRLF}${Text}${CRLF"; +__ref._l_prodx /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTag((Object)(("ID: "+__c.SmartStringFormatter("",(Object)(_prodid))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+""+__c.SmartStringFormatter("",(Object)(_text))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+"Precio: $"+__c.SmartStringFormatter("1.2",(Object)(_preciou))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+"Inv: "+__c.SmartStringFormatter("",(Object)(_inv))+" pzs"))); +RDebugUtils.currentLine=12255248; + //BA.debugLineNum = 12255248;BA.debugLine="l_pCant.Tag = Round2(precioU.Replace(\",\",\"\"),2)&\""; +__ref._l_pcant /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTag((Object)(BA.NumberToString(__c.Round2((double)(Double.parseDouble(_preciou.replace(",",""))),(int) (2)))+"|"+BA.NumberToString(_inv)+"|"+_prodid+"|"+_promo+"|"+BA.NumberToString(_inv2)+"|"+_cliente_original+"|"+_clienterecha+"|"+_bandera+"|"+BA.NumberToString(_consecutivo))); +RDebugUtils.currentLine=12255249; + //BA.debugLineNum = 12255249;BA.debugLine="et_pCant.Tag = Round2(precioU.Replace(\",\",\"\"),2)&"; +__ref._et_pcant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setTag((Object)(BA.NumberToString(__c.Round2((double)(Double.parseDouble(_preciou.replace(",",""))),(int) (2)))+"|"+BA.NumberToString(_inv)+"|"+_prodid+"|"+_promo+"|"+BA.NumberToString(_inv2)+"|"+_cliente_original+"|"+_clienterecha+"|"+_bandera+"|"+BA.NumberToString(_consecutivo))); +RDebugUtils.currentLine=12255250; + //BA.debugLineNum = 12255250;BA.debugLine="p_prods.Tag = l_pCant.tag"; +__ref._p_prods /*anywheresoftware.b4a.objects.PanelWrapper*/ .setTag(__ref._l_pcant /*anywheresoftware.b4a.objects.LabelWrapper*/ .getTag()); +RDebugUtils.currentLine=12255252; + //BA.debugLineNum = 12255252;BA.debugLine="l_pCant.Text = inv"; +__ref._l_pcant /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_inv)); +RDebugUtils.currentLine=12255256; + //BA.debugLineNum = 12255256;BA.debugLine="l_pCant.BringToFront"; +__ref._l_pcant /*anywheresoftware.b4a.objects.LabelWrapper*/ .BringToFront(); +RDebugUtils.currentLine=12255257; + //BA.debugLineNum = 12255257;BA.debugLine="et_pCant.SendToBack"; +__ref._et_pcant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .SendToBack(); +RDebugUtils.currentLine=12255258; + //BA.debugLineNum = 12255258;BA.debugLine="p_botMasMenC.Visible = False"; +__ref._p_botmasmenc /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=12255259; + //BA.debugLineNum = 12255259;BA.debugLine="l_cajas.Visible = False"; +__ref._l_cajas /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=12255261; + //BA.debugLineNum = 12255261;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=12255262; + //BA.debugLineNum = 12255262;BA.debugLine="End Sub"; +return null; +} +public anywheresoftware.b4a.objects.PanelWrapper _createlistitem2(reparto_izca.keymon.lat.c_detalleventa __ref,String _text,String _preciou,int _inv,int _inv2,int _width,int _height,anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _img,String _prodid,int _bc,int _tc,String _promo,String _cliente_original,String _clienterecha,String _bandera,int _consecutivo) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_detalleventa"; +if (Debug.shouldDelegate(ba, "createlistitem2", false)) + {return ((anywheresoftware.b4a.objects.PanelWrapper) Debug.delegate(ba, "createlistitem2", new Object[] {_text,_preciou,_inv,_inv2,_width,_height,_img,_prodid,_bc,_tc,_promo,_cliente_original,_clienterecha,_bandera,_consecutivo}));} +anywheresoftware.b4a.objects.B4XViewWrapper _p = null; +anywheresoftware.b4a.objects.CSBuilder _cs = null; +RDebugUtils.currentLine=12320768; + //BA.debugLineNum = 12320768;BA.debugLine="Sub CreateListItem2(Text As String, precioU As Str"; +RDebugUtils.currentLine=12320769; + //BA.debugLineNum = 12320769;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=12320770; + //BA.debugLineNum = 12320770;BA.debugLine="Private cs As CSBuilder"; +_cs = new anywheresoftware.b4a.objects.CSBuilder(); +RDebugUtils.currentLine=12320771; + //BA.debugLineNum = 12320771;BA.debugLine="cs.Initialize"; +_cs.Initialize(); +RDebugUtils.currentLine=12320772; + //BA.debugLineNum = 12320772;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, Width, Height)"; +_p.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_width,_height); +RDebugUtils.currentLine=12320773; + //BA.debugLineNum = 12320773;BA.debugLine="p.LoadLayout(\"prodItem2\")"; +_p.LoadLayout("prodItem2",ba); +RDebugUtils.currentLine=12320774; + //BA.debugLineNum = 12320774;BA.debugLine="p_prods.Color = bc"; +__ref._p_prods /*anywheresoftware.b4a.objects.PanelWrapper*/ .setColor(_bc); +RDebugUtils.currentLine=12320775; + //BA.debugLineNum = 12320775;BA.debugLine="l_prodX.TextColor = tc"; +__ref._l_prodx /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextColor(_tc); +RDebugUtils.currentLine=12320776; + //BA.debugLineNum = 12320776;BA.debugLine="precioU = $\"$1.2{precioU}\"$"; +_preciou = (""+__c.SmartStringFormatter("1.2",(Object)(_preciou))+""); +RDebugUtils.currentLine=12320777; + //BA.debugLineNum = 12320777;BA.debugLine="l_prodX.Text = Text&CRLF&\"Cant: \" & inv2 & \" $\""; +__ref._l_prodx /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_text+__c.CRLF+"Cant: "+BA.NumberToString(_inv2)+" $"+_preciou)); +RDebugUtils.currentLine=12320779; + //BA.debugLineNum = 12320779;BA.debugLine="If promo <> \"1\" And precioU = 0 Then"; +if ((_promo).equals("1") == false && (_preciou).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=12320780; + //BA.debugLineNum = 12320780;BA.debugLine="l_prodX.Text = cs.Color(Colors.RGB(123,0,0)).app"; +__ref._l_prodx /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_cs.Color(__c.Colors.RGB((int) (123),(int) (0),(int) (0))).Append(BA.ObjectToCharSequence(_text+__c.CRLF+"Cant: "+BA.NumberToString(_inv2)+" $"+_preciou)).PopAll().getObject())); + }; +RDebugUtils.currentLine=12320782; + //BA.debugLineNum = 12320782;BA.debugLine="l_prodX.Tag = $\"ID: ${prodId}${CRLF}${Text}${CRLF"; +__ref._l_prodx /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTag((Object)(("ID: "+__c.SmartStringFormatter("",(Object)(_prodid))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+""+__c.SmartStringFormatter("",(Object)(_text))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+"Precio: $"+__c.SmartStringFormatter("1.2",(Object)(_preciou))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+"Inv: "+__c.SmartStringFormatter("",(Object)(_inv))+" pzs"))); +RDebugUtils.currentLine=12320784; + //BA.debugLineNum = 12320784;BA.debugLine="l_pCantC.Tag = Round2(precioU.Replace(\",\",\"\"),2)&"; +__ref._l_pcantc /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTag((Object)(BA.NumberToString(__c.Round2((double)(Double.parseDouble(_preciou.replace(",",""))),(int) (2)))+"|"+BA.NumberToString(_inv)+"|"+_prodid+"|"+_promo+"|"+BA.NumberToString(_inv2)+"|"+_cliente_original+"|"+_clienterecha+"|"+_bandera+"|"+BA.NumberToString(_consecutivo))); +RDebugUtils.currentLine=12320785; + //BA.debugLineNum = 12320785;BA.debugLine="et_pCantC.Tag = Round2(precioU.Replace(\",\",\"\"),2)"; +__ref._et_pcantc /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setTag((Object)(BA.NumberToString(__c.Round2((double)(Double.parseDouble(_preciou.replace(",",""))),(int) (2)))+"|"+BA.NumberToString(_inv)+"|"+_prodid+"|"+_promo+"|"+BA.NumberToString(_inv2)+"|"+_cliente_original+"|"+_clienterecha+"|"+_bandera+"|"+BA.NumberToString(_consecutivo))); +RDebugUtils.currentLine=12320786; + //BA.debugLineNum = 12320786;BA.debugLine="p_prods.Tag = l_pCantC.tag"; +__ref._p_prods /*anywheresoftware.b4a.objects.PanelWrapper*/ .setTag(__ref._l_pcantc /*anywheresoftware.b4a.objects.LabelWrapper*/ .getTag()); +RDebugUtils.currentLine=12320788; + //BA.debugLineNum = 12320788;BA.debugLine="l_pCantC.Text = NumberFormat2(inv/Subs.traeConver"; +__ref._l_pcantc /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.NumberFormat2(_inv/(double)(double)(Double.parseDouble(_subs._traeconversion /*String*/ (ba,_prodid))),(int) (0),(int) (0),(int) (0),__c.False))); +RDebugUtils.currentLine=12320792; + //BA.debugLineNum = 12320792;BA.debugLine="l_pCantC.BringToFront"; +__ref._l_pcantc /*anywheresoftware.b4a.objects.LabelWrapper*/ .BringToFront(); +RDebugUtils.currentLine=12320793; + //BA.debugLineNum = 12320793;BA.debugLine="et_pCantC.SendToBack"; +__ref._et_pcantc /*anywheresoftware.b4a.objects.EditTextWrapper*/ .SendToBack(); +RDebugUtils.currentLine=12320794; + //BA.debugLineNum = 12320794;BA.debugLine="p_botMasMen.Visible = False"; +__ref._p_botmasmen /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=12320795; + //BA.debugLineNum = 12320795;BA.debugLine="l_piezas.Visible = False"; +__ref._l_piezas /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=12320797; + //BA.debugLineNum = 12320797;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=12320798; + //BA.debugLineNum = 12320798;BA.debugLine="End Sub"; +return null; +} +public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _b4xpage_closerequest(reparto_izca.keymon.lat.c_detalleventa __ref) throws Exception{ +RDebugUtils.currentModule="c_detalleventa"; +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(reparto_izca.keymon.lat.c_detalleventa parent,reparto_izca.keymon.lat.c_detalleventa __ref) { +this.parent = parent; +this.__ref = __ref; +this.__ref = parent; +} +reparto_izca.keymon.lat.c_detalleventa __ref; +reparto_izca.keymon.lat.c_detalleventa parent; + +@Override +public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="c_detalleventa"; + + while (true) { + switch (state) { + case -1: +{ +parent.__c.ReturnFromResumableSub(this,null);return;} +case 0: +//C +this.state = -1; +RDebugUtils.currentLine=12058627; + //BA.debugLineNum = 12058627;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +parent._b4xpages._showpage /*String*/ (ba,"Cliente"); +RDebugUtils.currentLine=12058629; + //BA.debugLineNum = 12058629;BA.debugLine="Return False"; +if (true) { +parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; +RDebugUtils.currentLine=12058630; + //BA.debugLineNum = 12058630;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public String _b4xpage_created(reparto_izca.keymon.lat.c_detalleventa __ref,anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_detalleventa"; +if (Debug.shouldDelegate(ba, "b4xpage_created", false)) + {return ((String) Debug.delegate(ba, "b4xpage_created", new Object[] {_root1}));} +RDebugUtils.currentLine=11796480; + //BA.debugLineNum = 11796480;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +RDebugUtils.currentLine=11796481; + //BA.debugLineNum = 11796481;BA.debugLine="Root = Root1"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _root1; +RDebugUtils.currentLine=11796482; + //BA.debugLineNum = 11796482;BA.debugLine="B4XPages.SetTitle(Me, \"Detalle de venta\")"; +_b4xpages._settitle /*String*/ (ba,this,(Object)("Detalle de venta")); +RDebugUtils.currentLine=11796484; + //BA.debugLineNum = 11796484;BA.debugLine="g.Initialize(\"GPS\")"; +__ref._g /*anywheresoftware.b4a.gps.GPS*/ .Initialize("GPS"); +RDebugUtils.currentLine=11796485; + //BA.debugLineNum = 11796485;BA.debugLine="Root.LoadLayout(\"detalleVenta\")"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("detalleVenta",ba); +RDebugUtils.currentLine=11796486; + //BA.debugLineNum = 11796486;BA.debugLine="b_borra.Visible = False"; +__ref._b_borra /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=11796487; + //BA.debugLineNum = 11796487;BA.debugLine="Titulo.Text = \"Pedido\""; +__ref._titulo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("Pedido")); +RDebugUtils.currentLine=11796488; + //BA.debugLineNum = 11796488;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(reparto_izca.keymon.lat.c_detalleventa __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_detalleventa"; +RDebugUtils.currentLine=11665408; + //BA.debugLineNum = 11665408;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=11665409; + //BA.debugLineNum = 11665409;BA.debugLine="Private Root As B4XView 'ignore"; +_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=11665410; + //BA.debugLineNum = 11665410;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=11665411; + //BA.debugLineNum = 11665411;BA.debugLine="Dim g As GPS"; +_g = new anywheresoftware.b4a.gps.GPS(); +RDebugUtils.currentLine=11665412; + //BA.debugLineNum = 11665412;BA.debugLine="Dim clie_id As String"; +_clie_id = ""; +RDebugUtils.currentLine=11665413; + //BA.debugLineNum = 11665413;BA.debugLine="Dim sDate,sTime As String"; +_sdate = ""; +_stime = ""; +RDebugUtils.currentLine=11665414; + //BA.debugLineNum = 11665414;BA.debugLine="Dim usuario As String"; +_usuario = ""; +RDebugUtils.currentLine=11665415; + //BA.debugLineNum = 11665415;BA.debugLine="Dim c As Cursor"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=11665417; + //BA.debugLineNum = 11665417;BA.debugLine="Dim b_regresar As Button"; +_b_regresar = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=11665418; + //BA.debugLineNum = 11665418;BA.debugLine="Dim ListView1 As ListView"; +_listview1 = new anywheresoftware.b4a.objects.ListViewWrapper(); +RDebugUtils.currentLine=11665419; + //BA.debugLineNum = 11665419;BA.debugLine="Dim L_CANT As Label"; +_l_cant = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=11665420; + //BA.debugLineNum = 11665420;BA.debugLine="Dim L_TOTAL As Label"; +_l_total = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=11665421; + //BA.debugLineNum = 11665421;BA.debugLine="Dim b_borra As Button"; +_b_borra = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=11665422; + //BA.debugLineNum = 11665422;BA.debugLine="Dim Existe As String"; +_existe = ""; +RDebugUtils.currentLine=11665423; + //BA.debugLineNum = 11665423;BA.debugLine="Dim result As String"; +_result = ""; +RDebugUtils.currentLine=11665425; + //BA.debugLineNum = 11665425;BA.debugLine="Dim cuantos As String"; +_cuantos = ""; +RDebugUtils.currentLine=11665426; + //BA.debugLineNum = 11665426;BA.debugLine="Dim nombre_prod As String"; +_nombre_prod = ""; +RDebugUtils.currentLine=11665427; + //BA.debugLineNum = 11665427;BA.debugLine="Dim cuantos_pedido As String"; +_cuantos_pedido = ""; +RDebugUtils.currentLine=11665428; + //BA.debugLineNum = 11665428;BA.debugLine="Private Titulo As Label"; +_titulo = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=11665429; + //BA.debugLineNum = 11665429;BA.debugLine="Private P1 As Panel"; +_p1 = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=11665430; + //BA.debugLineNum = 11665430;BA.debugLine="Private lv2 As ListView"; +_lv2 = new anywheresoftware.b4a.objects.ListViewWrapper(); +RDebugUtils.currentLine=11665431; + //BA.debugLineNum = 11665431;BA.debugLine="Private p_principal As Panel"; +_p_principal = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=11665432; + //BA.debugLineNum = 11665432;BA.debugLine="Dim clv_pedido As CustomListView"; +_clv_pedido = new b4a.example3.customlistview(); +RDebugUtils.currentLine=11665433; + //BA.debugLineNum = 11665433;BA.debugLine="Private p_prods As Panel"; +_p_prods = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=11665434; + //BA.debugLineNum = 11665434;BA.debugLine="Private l_prodX As Label"; +_l_prodx = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=11665435; + //BA.debugLineNum = 11665435;BA.debugLine="Private l_pCant As Label"; +_l_pcant = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=11665436; + //BA.debugLineNum = 11665436;BA.debugLine="Private et_pCant As EditText"; +_et_pcant = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=11665437; + //BA.debugLineNum = 11665437;BA.debugLine="Dim bmp As Bitmap"; +_bmp = new anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper(); +RDebugUtils.currentLine=11665438; + //BA.debugLineNum = 11665438;BA.debugLine="Dim etCantHasFocus As Boolean = False"; +_etcanthasfocus = __c.False; +RDebugUtils.currentLine=11665439; + //BA.debugLineNum = 11665439;BA.debugLine="Dim totalProds As Int = 0"; +_totalprods = (int) (0); +RDebugUtils.currentLine=11665440; + //BA.debugLineNum = 11665440;BA.debugLine="Dim totalCompra As Int = 0"; +_totalcompra = (int) (0); +RDebugUtils.currentLine=11665441; + //BA.debugLineNum = 11665441;BA.debugLine="Dim prodsMap As Map"; +_prodsmap = new anywheresoftware.b4a.objects.collections.Map(); +RDebugUtils.currentLine=11665442; + //BA.debugLineNum = 11665442;BA.debugLine="Dim reconstruirPedido As Boolean = False"; +_reconstruirpedido = __c.False; +RDebugUtils.currentLine=11665443; + //BA.debugLineNum = 11665443;BA.debugLine="Dim promoABorrar As String"; +_promoaborrar = ""; +RDebugUtils.currentLine=11665444; + //BA.debugLineNum = 11665444;BA.debugLine="Private b_guardar As Button"; +_b_guardar = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=11665445; + //BA.debugLineNum = 11665445;BA.debugLine="Private b_prodMas As Button"; +_b_prodmas = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=11665446; + //BA.debugLineNum = 11665446;BA.debugLine="Private b_prodMenos As Button"; +_b_prodmenos = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=11665447; + //BA.debugLineNum = 11665447;BA.debugLine="Private b_prodMenosC As Button"; +_b_prodmenosc = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=11665448; + //BA.debugLineNum = 11665448;BA.debugLine="Private l_pCantC As Label"; +_l_pcantc = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=11665449; + //BA.debugLineNum = 11665449;BA.debugLine="Private et_pCantC As EditText"; +_et_pcantc = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=11665450; + //BA.debugLineNum = 11665450;BA.debugLine="Private b_prodMasC As Button"; +_b_prodmasc = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=11665451; + //BA.debugLineNum = 11665451;BA.debugLine="Private p_botMasMenC As Panel"; +_p_botmasmenc = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=11665452; + //BA.debugLineNum = 11665452;BA.debugLine="Private p_botMasMen As Panel"; +_p_botmasmen = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=11665453; + //BA.debugLineNum = 11665453;BA.debugLine="Private l_cajas As Label"; +_l_cajas = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=11665454; + //BA.debugLineNum = 11665454;BA.debugLine="Private l_piezas As Label"; +_l_piezas = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=11665455; + //BA.debugLineNum = 11665455;BA.debugLine="End Sub"; +return ""; +} +public String _cuentaprods(reparto_izca.keymon.lat.c_detalleventa __ref,String _accion) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_detalleventa"; +if (Debug.shouldDelegate(ba, "cuentaprods", false)) + {return ((String) Debug.delegate(ba, "cuentaprods", new Object[] {_accion}));} +RDebugUtils.currentLine=12517376; + //BA.debugLineNum = 12517376;BA.debugLine="Sub cuentaProds(accion As String)"; +RDebugUtils.currentLine=12517538; + //BA.debugLineNum = 12517538;BA.debugLine="End Sub"; +return ""; +} +public String _gps_locationchanged(reparto_izca.keymon.lat.c_detalleventa __ref,anywheresoftware.b4a.gps.LocationWrapper _location1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_detalleventa"; +if (Debug.shouldDelegate(ba, "gps_locationchanged", false)) + {return ((String) Debug.delegate(ba, "gps_locationchanged", new Object[] {_location1}));} +RDebugUtils.currentLine=11927552; + //BA.debugLineNum = 11927552;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; +RDebugUtils.currentLine=11927555; + //BA.debugLineNum = 11927555;BA.debugLine="End Sub"; +return ""; +} +public String _l_pcant_click(reparto_izca.keymon.lat.c_detalleventa __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_detalleventa"; +if (Debug.shouldDelegate(ba, "l_pcant_click", false)) + {return ((String) Debug.delegate(ba, "l_pcant_click", null));} +RDebugUtils.currentLine=12648448; + //BA.debugLineNum = 12648448;BA.debugLine="Private Sub l_pCant_Click"; +RDebugUtils.currentLine=12648450; + //BA.debugLineNum = 12648450;BA.debugLine="End Sub"; +return ""; +} +public String _l_pcantc_click(reparto_izca.keymon.lat.c_detalleventa __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_detalleventa"; +if (Debug.shouldDelegate(ba, "l_pcantc_click", false)) + {return ((String) Debug.delegate(ba, "l_pcantc_click", null));} +RDebugUtils.currentLine=12910592; + //BA.debugLineNum = 12910592;BA.debugLine="Private Sub l_pCantC_Click"; +RDebugUtils.currentLine=12910594; + //BA.debugLineNum = 12910594;BA.debugLine="End Sub"; +return ""; +} +public String _listview1_itemlongclick(reparto_izca.keymon.lat.c_detalleventa __ref,int _position,Object _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_detalleventa"; +if (Debug.shouldDelegate(ba, "listview1_itemlongclick", false)) + {return ((String) Debug.delegate(ba, "listview1_itemlongclick", new Object[] {_position,_value}));} +RDebugUtils.currentLine=12124160; + //BA.debugLineNum = 12124160;BA.debugLine="Sub ListView1_ItemLongClick (Position As Int, Valu"; +RDebugUtils.currentLine=12124204; + //BA.debugLineNum = 12124204;BA.debugLine="End Sub"; +return ""; +} +public String _lv2_itemclick(reparto_izca.keymon.lat.c_detalleventa __ref,int _position,Object _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_detalleventa"; +if (Debug.shouldDelegate(ba, "lv2_itemclick", false)) + {return ((String) Debug.delegate(ba, "lv2_itemclick", new Object[] {_position,_value}));} +RDebugUtils.currentLine=12189696; + //BA.debugLineNum = 12189696;BA.debugLine="Sub lv2_ItemClick (Position As Int, Value As Objec"; +RDebugUtils.currentLine=12189757; + //BA.debugLineNum = 12189757;BA.debugLine="End Sub"; +return ""; +} +public String _p_prods_click(reparto_izca.keymon.lat.c_detalleventa __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_detalleventa"; +if (Debug.shouldDelegate(ba, "p_prods_click", false)) + {return ((String) Debug.delegate(ba, "p_prods_click", null));} +RDebugUtils.currentLine=12713984; + //BA.debugLineNum = 12713984;BA.debugLine="Sub p_prods_Click"; +RDebugUtils.currentLine=12713985; + //BA.debugLineNum = 12713985;BA.debugLine="Log(Sender.As(Panel).tag)"; +__c.LogImpl("812713985",BA.ObjectToString(((anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(__c.Sender(ba)))).getTag()),0); +RDebugUtils.currentLine=12713986; + //BA.debugLineNum = 12713986;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/c_foto.java b/B4A/Objects/src/reparto_izca/keymon/lat/c_foto.java new file mode 100644 index 0000000..1327157 --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/c_foto.java @@ -0,0 +1,572 @@ +package reparto_izca.keymon.lat; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.B4AClass; +import anywheresoftware.b4a.BALayout; +import anywheresoftware.b4a.debug.*; + +public class c_foto 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, "reparto_izca.keymon.lat.c_foto"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", reparto_izca.keymon.lat.c_foto.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 boolean _frontcamera = false; +public anywheresoftware.b4a.gps.GPS _g = null; +public anywheresoftware.b4a.objects.PanelWrapper _p_camara = null; +public reparto_izca.keymon.lat.cameraexclass _camex = null; +public anywheresoftware.b4a.objects.ButtonWrapper _btntakepicture = null; +public anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; +public String _cuenta = ""; +public String _lat_gps = ""; +public String _usuario = ""; +public String _motivo = ""; +public b4a.example.dateutils _dateutils = null; +public reparto_izca.keymon.lat.main _main = null; +public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; +public reparto_izca.keymon.lat.foto _foto = null; +public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_izca.keymon.lat.starter _starter = null; +public reparto_izca.keymon.lat.tracker _tracker = null; +public reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public String _activity_pause(reparto_izca.keymon.lat.c_foto __ref,boolean _userclosed) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_foto"; +RDebugUtils.currentLine=13369344; + //BA.debugLineNum = 13369344;BA.debugLine="Sub Activity_Pause (UserClosed As Boolean)"; +RDebugUtils.currentLine=13369346; + //BA.debugLineNum = 13369346;BA.debugLine="End Sub"; +return ""; +} +public String _b4xpage_appear(reparto_izca.keymon.lat.c_foto __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_foto"; +if (Debug.shouldDelegate(ba, "b4xpage_appear", false)) + {return ((String) Debug.delegate(ba, "b4xpage_appear", null));} +RDebugUtils.currentLine=13238272; + //BA.debugLineNum = 13238272;BA.debugLine="Sub B4XPage_Appear"; +RDebugUtils.currentLine=13238273; + //BA.debugLineNum = 13238273;BA.debugLine="InitializeCamera"; +__ref._initializecamera /*String*/ (null); +RDebugUtils.currentLine=13238274; + //BA.debugLineNum = 13238274;BA.debugLine="End Sub"; +return ""; +} +public String _initializecamera(reparto_izca.keymon.lat.c_foto __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_foto"; +if (Debug.shouldDelegate(ba, "initializecamera", false)) + {return ((String) Debug.delegate(ba, "initializecamera", null));} +RDebugUtils.currentLine=13303808; + //BA.debugLineNum = 13303808;BA.debugLine="Private Sub InitializeCamera"; +RDebugUtils.currentLine=13303809; + //BA.debugLineNum = 13303809;BA.debugLine="camEx.Initialize(p_camara, frontCamera, Me, \"Came"; +__ref._camex /*reparto_izca.keymon.lat.cameraexclass*/ ._initialize /*String*/ (null,ba,__ref._p_camara /*anywheresoftware.b4a.objects.PanelWrapper*/ ,__ref._frontcamera /*boolean*/ ,this,"Camera1"); +RDebugUtils.currentLine=13303810; + //BA.debugLineNum = 13303810;BA.debugLine="frontCamera = camEx.Front"; +__ref._frontcamera /*boolean*/ = __ref._camex /*reparto_izca.keymon.lat.cameraexclass*/ ._front /*boolean*/ ; +RDebugUtils.currentLine=13303811; + //BA.debugLineNum = 13303811;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _b4xpage_closerequest(reparto_izca.keymon.lat.c_foto __ref) throws Exception{ +RDebugUtils.currentModule="c_foto"; +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(reparto_izca.keymon.lat.c_foto parent,reparto_izca.keymon.lat.c_foto __ref) { +this.parent = parent; +this.__ref = __ref; +this.__ref = parent; +} +reparto_izca.keymon.lat.c_foto __ref; +reparto_izca.keymon.lat.c_foto parent; + +@Override +public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="c_foto"; + + while (true) { + switch (state) { + case -1: +{ +parent.__c.ReturnFromResumableSub(this,null);return;} +case 0: +//C +this.state = -1; +RDebugUtils.currentLine=14024707; + //BA.debugLineNum = 14024707;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +parent._b4xpages._showpage /*String*/ (ba,"Cliente"); +RDebugUtils.currentLine=14024709; + //BA.debugLineNum = 14024709;BA.debugLine="Return False"; +if (true) { +parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; +RDebugUtils.currentLine=14024710; + //BA.debugLineNum = 14024710;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public String _b4xpage_created(reparto_izca.keymon.lat.c_foto __ref,anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_foto"; +if (Debug.shouldDelegate(ba, "b4xpage_created", false)) + {return ((String) Debug.delegate(ba, "b4xpage_created", new Object[] {_root1}));} +RDebugUtils.currentLine=13172736; + //BA.debugLineNum = 13172736;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +RDebugUtils.currentLine=13172737; + //BA.debugLineNum = 13172737;BA.debugLine="Root = Root1"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _root1; +RDebugUtils.currentLine=13172739; + //BA.debugLineNum = 13172739;BA.debugLine="g.Initialize(\"GPS\")"; +__ref._g /*anywheresoftware.b4a.gps.GPS*/ .Initialize("GPS"); +RDebugUtils.currentLine=13172740; + //BA.debugLineNum = 13172740;BA.debugLine="Root.LoadLayout(\"foto\")"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("foto",ba); +RDebugUtils.currentLine=13172741; + //BA.debugLineNum = 13172741;BA.debugLine="c=Starter.skmt.ExecQuery(\"select cuenta from cuen"; +__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 cuenta from cuentaa"))); +RDebugUtils.currentLine=13172742; + //BA.debugLineNum = 13172742;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=13172743; + //BA.debugLineNum = 13172743;BA.debugLine="cuenta = c.GetString(\"CUENTA\")"; +__ref._cuenta /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUENTA"); +RDebugUtils.currentLine=13172744; + //BA.debugLineNum = 13172744;BA.debugLine="End Sub"; +return ""; +} +public String _btneffect_click(reparto_izca.keymon.lat.c_foto __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_foto"; +if (Debug.shouldDelegate(ba, "btneffect_click", false)) + {return ((String) Debug.delegate(ba, "btneffect_click", null));} +anywheresoftware.b4a.objects.collections.List _effects = null; +String _effect = ""; +RDebugUtils.currentLine=13828096; + //BA.debugLineNum = 13828096;BA.debugLine="Sub btnEffect_Click"; +RDebugUtils.currentLine=13828097; + //BA.debugLineNum = 13828097;BA.debugLine="Dim effects As List = camEx.GetSupportedColorEffe"; +_effects = new anywheresoftware.b4a.objects.collections.List(); +_effects = __ref._camex /*reparto_izca.keymon.lat.cameraexclass*/ ._getsupportedcoloreffects /*anywheresoftware.b4a.objects.collections.List*/ (null); +RDebugUtils.currentLine=13828098; + //BA.debugLineNum = 13828098;BA.debugLine="If effects.IsInitialized = False Then"; +if (_effects.IsInitialized()==__c.False) { +RDebugUtils.currentLine=13828099; + //BA.debugLineNum = 13828099;BA.debugLine="ToastMessageShow(\"Effects not supported.\", False"; +__c.ToastMessageShow(BA.ObjectToCharSequence("Effects not supported."),__c.False); +RDebugUtils.currentLine=13828100; + //BA.debugLineNum = 13828100;BA.debugLine="Return"; +if (true) return ""; + }; +RDebugUtils.currentLine=13828102; + //BA.debugLineNum = 13828102;BA.debugLine="Dim effect As String = effects.Get((effects.Index"; +_effect = BA.ObjectToString(_effects.Get((int) ((_effects.IndexOf((Object)(__ref._camex /*reparto_izca.keymon.lat.cameraexclass*/ ._getcoloreffect /*String*/ (null)))+1)%_effects.getSize()))); +RDebugUtils.currentLine=13828103; + //BA.debugLineNum = 13828103;BA.debugLine="camEx.SetColorEffect(effect)"; +__ref._camex /*reparto_izca.keymon.lat.cameraexclass*/ ._setcoloreffect /*String*/ (null,_effect); +RDebugUtils.currentLine=13828104; + //BA.debugLineNum = 13828104;BA.debugLine="ToastMessageShow(effect, False)"; +__c.ToastMessageShow(BA.ObjectToCharSequence(_effect),__c.False); +RDebugUtils.currentLine=13828105; + //BA.debugLineNum = 13828105;BA.debugLine="camEx.CommitParameters"; +__ref._camex /*reparto_izca.keymon.lat.cameraexclass*/ ._commitparameters /*String*/ (null); +RDebugUtils.currentLine=13828106; + //BA.debugLineNum = 13828106;BA.debugLine="End Sub"; +return ""; +} +public String _btnflash_click(reparto_izca.keymon.lat.c_foto __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_foto"; +if (Debug.shouldDelegate(ba, "btnflash_click", false)) + {return ((String) Debug.delegate(ba, "btnflash_click", null));} +float[] _f = null; +anywheresoftware.b4a.objects.collections.List _flashmodes = null; +String _flash = ""; +RDebugUtils.currentLine=13893632; + //BA.debugLineNum = 13893632;BA.debugLine="Sub btnFlash_Click"; +RDebugUtils.currentLine=13893633; + //BA.debugLineNum = 13893633;BA.debugLine="Dim f() As Float = camEx.GetFocusDistances"; +_f = __ref._camex /*reparto_izca.keymon.lat.cameraexclass*/ ._getfocusdistances /*float[]*/ (null); +RDebugUtils.currentLine=13893634; + //BA.debugLineNum = 13893634;BA.debugLine="Log(f(0) & \", \" & f(1) & \", \" & f(2))"; +__c.LogImpl("813893634",BA.NumberToString(_f[(int) (0)])+", "+BA.NumberToString(_f[(int) (1)])+", "+BA.NumberToString(_f[(int) (2)]),0); +RDebugUtils.currentLine=13893635; + //BA.debugLineNum = 13893635;BA.debugLine="Dim flashModes As List = camEx.GetSupportedFlashM"; +_flashmodes = new anywheresoftware.b4a.objects.collections.List(); +_flashmodes = __ref._camex /*reparto_izca.keymon.lat.cameraexclass*/ ._getsupportedflashmodes /*anywheresoftware.b4a.objects.collections.List*/ (null); +RDebugUtils.currentLine=13893636; + //BA.debugLineNum = 13893636;BA.debugLine="If flashModes.IsInitialized = False Then"; +if (_flashmodes.IsInitialized()==__c.False) { +RDebugUtils.currentLine=13893637; + //BA.debugLineNum = 13893637;BA.debugLine="ToastMessageShow(\"Flash not supported.\", False)"; +__c.ToastMessageShow(BA.ObjectToCharSequence("Flash not supported."),__c.False); +RDebugUtils.currentLine=13893638; + //BA.debugLineNum = 13893638;BA.debugLine="Return"; +if (true) return ""; + }; +RDebugUtils.currentLine=13893640; + //BA.debugLineNum = 13893640;BA.debugLine="Dim flash As String = flashModes.Get((flashModes."; +_flash = BA.ObjectToString(_flashmodes.Get((int) ((_flashmodes.IndexOf((Object)(__ref._camex /*reparto_izca.keymon.lat.cameraexclass*/ ._getflashmode /*String*/ (null)))+1)%_flashmodes.getSize()))); +RDebugUtils.currentLine=13893641; + //BA.debugLineNum = 13893641;BA.debugLine="camEx.SetFlashMode(flash)"; +__ref._camex /*reparto_izca.keymon.lat.cameraexclass*/ ._setflashmode /*String*/ (null,_flash); +RDebugUtils.currentLine=13893642; + //BA.debugLineNum = 13893642;BA.debugLine="ToastMessageShow(flash, False)"; +__c.ToastMessageShow(BA.ObjectToCharSequence(_flash),__c.False); +RDebugUtils.currentLine=13893643; + //BA.debugLineNum = 13893643;BA.debugLine="camEx.CommitParameters"; +__ref._camex /*reparto_izca.keymon.lat.cameraexclass*/ ._commitparameters /*String*/ (null); +RDebugUtils.currentLine=13893644; + //BA.debugLineNum = 13893644;BA.debugLine="End Sub"; +return ""; +} +public String _btnfocus_click(reparto_izca.keymon.lat.c_foto __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_foto"; +if (Debug.shouldDelegate(ba, "btnfocus_click", false)) + {return ((String) Debug.delegate(ba, "btnfocus_click", null));} +RDebugUtils.currentLine=13631488; + //BA.debugLineNum = 13631488;BA.debugLine="Sub btnFocus_Click"; +RDebugUtils.currentLine=13631489; + //BA.debugLineNum = 13631489;BA.debugLine="camEx.FocusAndTakePicture"; +__ref._camex /*reparto_izca.keymon.lat.cameraexclass*/ ._focusandtakepicture /*String*/ (null); +RDebugUtils.currentLine=13631490; + //BA.debugLineNum = 13631490;BA.debugLine="End Sub"; +return ""; +} +public String _btnpicturesize_click(reparto_izca.keymon.lat.c_foto __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_foto"; +if (Debug.shouldDelegate(ba, "btnpicturesize_click", false)) + {return ((String) Debug.delegate(ba, "btnpicturesize_click", null));} +reparto_izca.keymon.lat.cameraexclass._camerasize[] _picturesizes = null; +reparto_izca.keymon.lat.cameraexclass._camerasize _current = null; +int _i = 0; +reparto_izca.keymon.lat.cameraexclass._camerasize _ps = null; +RDebugUtils.currentLine=13959168; + //BA.debugLineNum = 13959168;BA.debugLine="Sub btnPictureSize_Click"; +RDebugUtils.currentLine=13959169; + //BA.debugLineNum = 13959169;BA.debugLine="Dim pictureSizes() As CameraSize = camEx.GetSuppo"; +_picturesizes = __ref._camex /*reparto_izca.keymon.lat.cameraexclass*/ ._getsupportedpicturessizes /*reparto_izca.keymon.lat.cameraexclass._camerasize[]*/ (null); +RDebugUtils.currentLine=13959170; + //BA.debugLineNum = 13959170;BA.debugLine="Dim current As CameraSize = camEx.GetPictureSize"; +_current = __ref._camex /*reparto_izca.keymon.lat.cameraexclass*/ ._getpicturesize /*reparto_izca.keymon.lat.cameraexclass._camerasize*/ (null); +RDebugUtils.currentLine=13959171; + //BA.debugLineNum = 13959171;BA.debugLine="For i = 0 To pictureSizes.Length - 1"; +{ +final int step3 = 1; +final int limit3 = (int) (_picturesizes.length /*int*/ -1); +_i = (int) (0) ; +for (;_i <= limit3 ;_i = _i + step3 ) { +RDebugUtils.currentLine=13959172; + //BA.debugLineNum = 13959172;BA.debugLine="If pictureSizes(i).Width = current.Width And pic"; +if (_picturesizes[_i].Width /*int*/ ==_current.Width /*int*/ && _picturesizes[_i].Height /*int*/ ==_current.Height /*int*/ ) { +if (true) break;}; + } +}; +RDebugUtils.currentLine=13959174; + //BA.debugLineNum = 13959174;BA.debugLine="Dim ps As CameraSize = pictureSizes((i + 1) Mod p"; +_ps = _picturesizes[(int) ((_i+1)%_picturesizes.length /*int*/ )]; +RDebugUtils.currentLine=13959175; + //BA.debugLineNum = 13959175;BA.debugLine="camEx.SetPictureSize(ps.Width, ps.Height)"; +__ref._camex /*reparto_izca.keymon.lat.cameraexclass*/ ._setpicturesize /*String*/ (null,_ps.Width /*int*/ ,_ps.Height /*int*/ ); +RDebugUtils.currentLine=13959176; + //BA.debugLineNum = 13959176;BA.debugLine="ToastMessageShow(ps.Width & \"x\" & ps.Height & i,"; +__c.ToastMessageShow(BA.ObjectToCharSequence(BA.NumberToString(_ps.Width /*int*/ )+"x"+BA.NumberToString(_ps.Height /*int*/ )+BA.NumberToString(_i)),__c.False); +RDebugUtils.currentLine=13959177; + //BA.debugLineNum = 13959177;BA.debugLine="camEx.CommitParameters"; +__ref._camex /*reparto_izca.keymon.lat.cameraexclass*/ ._commitparameters /*String*/ (null); +RDebugUtils.currentLine=13959178; + //BA.debugLineNum = 13959178;BA.debugLine="End Sub"; +return ""; +} +public String _btntakepicture_click(reparto_izca.keymon.lat.c_foto __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_foto"; +if (Debug.shouldDelegate(ba, "btntakepicture_click", false)) + {return ((String) Debug.delegate(ba, "btntakepicture_click", null));} +reparto_izca.keymon.lat.cameraexclass._camerasize _ps = null; +RDebugUtils.currentLine=13565952; + //BA.debugLineNum = 13565952;BA.debugLine="Sub btnTakePicture_Click"; +RDebugUtils.currentLine=13565953; + //BA.debugLineNum = 13565953;BA.debugLine="Dim ps As CameraSize"; +_ps = new reparto_izca.keymon.lat.cameraexclass._camerasize(); +RDebugUtils.currentLine=13565954; + //BA.debugLineNum = 13565954;BA.debugLine="ps.Width =640"; +_ps.Width /*int*/ = (int) (640); +RDebugUtils.currentLine=13565955; + //BA.debugLineNum = 13565955;BA.debugLine="ps.Height =480"; +_ps.Height /*int*/ = (int) (480); +RDebugUtils.currentLine=13565956; + //BA.debugLineNum = 13565956;BA.debugLine="camEx.SetPictureSize(ps.Width, ps.Height)"; +__ref._camex /*reparto_izca.keymon.lat.cameraexclass*/ ._setpicturesize /*String*/ (null,_ps.Width /*int*/ ,_ps.Height /*int*/ ); +RDebugUtils.currentLine=13565958; + //BA.debugLineNum = 13565958;BA.debugLine="camEx.CommitParameters"; +__ref._camex /*reparto_izca.keymon.lat.cameraexclass*/ ._commitparameters /*String*/ (null); +RDebugUtils.currentLine=13565959; + //BA.debugLineNum = 13565959;BA.debugLine="camEx.TakePicture"; +__ref._camex /*reparto_izca.keymon.lat.cameraexclass*/ ._takepicture /*String*/ (null); +RDebugUtils.currentLine=13565960; + //BA.debugLineNum = 13565960;BA.debugLine="End Sub"; +return ""; +} +public String _camera1_picturetaken(reparto_izca.keymon.lat.c_foto __ref,byte[] _data) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_foto"; +if (Debug.shouldDelegate(ba, "camera1_picturetaken", false)) + {return ((String) Debug.delegate(ba, "camera1_picturetaken", new Object[] {_data}));} +String _filename = ""; +String _dir = ""; +String _sdate = ""; +String _stime = ""; +int _i = 0; +RDebugUtils.currentLine=13697024; + //BA.debugLineNum = 13697024;BA.debugLine="Sub Camera1_PictureTaken (Data() As Byte)"; +RDebugUtils.currentLine=13697025; + //BA.debugLineNum = 13697025;BA.debugLine="Dim filename As String = \"1.jpg\""; +_filename = "1.jpg"; +RDebugUtils.currentLine=13697026; + //BA.debugLineNum = 13697026;BA.debugLine="Dim dir As String = File.DirInternal"; +_dir = __c.File.getDirInternal(); +RDebugUtils.currentLine=13697028; + //BA.debugLineNum = 13697028;BA.debugLine="camEx.SavePictureToFile(Data, dir, filename)"; +__ref._camex /*reparto_izca.keymon.lat.cameraexclass*/ ._savepicturetofile /*String*/ (null,_data,_dir,_filename); +RDebugUtils.currentLine=13697029; + //BA.debugLineNum = 13697029;BA.debugLine="camEx.StartPreview 'restart preview"; +__ref._camex /*reparto_izca.keymon.lat.cameraexclass*/ ._startpreview /*String*/ (null); +RDebugUtils.currentLine=13697031; + //BA.debugLineNum = 13697031;BA.debugLine="Dim sDate,sTime As String"; +_sdate = ""; +_stime = ""; +RDebugUtils.currentLine=13697032; + //BA.debugLineNum = 13697032;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +__c.DateTime.setDateFormat("MM/dd/yyyy"); +RDebugUtils.currentLine=13697033; + //BA.debugLineNum = 13697033;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +_sdate = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=13697034; + //BA.debugLineNum = 13697034;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +_stime = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=13697035; + //BA.debugLineNum = 13697035;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CUENTA from cuen"; +__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 CUENTA from cuentaa"))); +RDebugUtils.currentLine=13697036; + //BA.debugLineNum = 13697036;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=13697037; + //BA.debugLineNum = 13697037;BA.debugLine="cuenta = c.GetString(\"CUENTA\")"; +__ref._cuenta /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUENTA"); +RDebugUtils.currentLine=13697038; + //BA.debugLineNum = 13697038;BA.debugLine="c=Starter.skmt.ExecQuery(\"select USUARIO from 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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); +RDebugUtils.currentLine=13697039; + //BA.debugLineNum = 13697039;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=13697040; + //BA.debugLineNum = 13697040;BA.debugLine="USUARIO = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=13697041; + //BA.debugLineNum = 13697041;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=13697042; + //BA.debugLineNum = 13697042;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM NOVENTA WH"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM NOVENTA WHERE NV_CLIENTE IN (select cuenta from cuentaa)"); +RDebugUtils.currentLine=13697043; + //BA.debugLineNum = 13697043;BA.debugLine="c=Starter.skmt.ExecQuery(\"select HVD_CLIENTE,HVD_"; +__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 HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) order by HVD_PRONOMBRE asc"))); +RDebugUtils.currentLine=13697044; + //BA.debugLineNum = 13697044;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=13697045; + //BA.debugLineNum = 13697045;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=13697046; + //BA.debugLineNum = 13697046;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=13697047; + //BA.debugLineNum = 13697047;BA.debugLine="Starter.skmt.ExecNonQuery2(\"insert into reparto"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into reparto(REP_CLIENTE, REP_PRONOMBRE, REP_CANT, REP_COSTO_TOT) select HVD_CLIENTE, HVD_PRONOMBRE, HVD_CANT, HVD_COSTO_TOT from hist_ventas where HVD_PRONOMBRE = ? and HVD_cliente in (Select CUENTA from cuentaa) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PRONOMBRE")})); +RDebugUtils.currentLine=13697048; + //BA.debugLineNum = 13697048;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update cat_gunaprod"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen + ? where cat_gp_nombre = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CANT")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PRONOMBRE"))})); + } +}; + }; +RDebugUtils.currentLine=13697052; + //BA.debugLineNum = 13697052;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO NOVENTA"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO NOVENTA (NV_CLIENTE,NV_FECHA,NV_USER,NV_MOTIVO,NV_COMM,NV_LAT,NV_LON, NV_FOTO) VALUES(?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._cuenta /*String*/ ),(Object)(_sdate+_stime),(Object)(__ref._usuario /*String*/ ),(Object)("CERRADO"),(Object)(_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._noventa /*reparto_izca.keymon.lat.c_noventa*/ ._comentario /*String*/ ),(Object)(_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_data)})); +RDebugUtils.currentLine=13697053; + //BA.debugLineNum = 13697053;BA.debugLine="Starter.skmt.ExecNonQuery($\"UPDATE kmt_info set g"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("UPDATE kmt_info set gestion = 3, HORAENT = '"+__c.SmartStringFormatter("",(Object)(_sdate+" "+_stime))+"' where CAT_CL_CODIGO In (select cuenta from cuentaa)")); +RDebugUtils.currentLine=13697054; + //BA.debugLineNum = 13697054;BA.debugLine="Starter.skmt.ExecNonQuery(\"update HIST_VENTAS SET"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("update HIST_VENTAS SET HVD_RECHAZO = 1 WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"); +RDebugUtils.currentLine=13697055; + //BA.debugLineNum = 13697055;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +_b4xpages._showpage /*String*/ (ba,"Cliente"); +RDebugUtils.currentLine=13697056; + //BA.debugLineNum = 13697056;BA.debugLine="End Sub"; +return ""; +} +public String _camera1_ready(reparto_izca.keymon.lat.c_foto __ref,boolean _success) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_foto"; +if (Debug.shouldDelegate(ba, "camera1_ready", false)) + {return ((String) Debug.delegate(ba, "camera1_ready", new Object[] {_success}));} +RDebugUtils.currentLine=13500416; + //BA.debugLineNum = 13500416;BA.debugLine="Sub Camera1_Ready (Success As Boolean)"; +RDebugUtils.currentLine=13500417; + //BA.debugLineNum = 13500417;BA.debugLine="If Success Then"; +if (_success) { +RDebugUtils.currentLine=13500418; + //BA.debugLineNum = 13500418;BA.debugLine="camEx.SetJpegQuality(90)"; +__ref._camex /*reparto_izca.keymon.lat.cameraexclass*/ ._setjpegquality /*String*/ (null,(int) (90)); +RDebugUtils.currentLine=13500419; + //BA.debugLineNum = 13500419;BA.debugLine="camEx.CommitParameters"; +__ref._camex /*reparto_izca.keymon.lat.cameraexclass*/ ._commitparameters /*String*/ (null); +RDebugUtils.currentLine=13500420; + //BA.debugLineNum = 13500420;BA.debugLine="camEx.StartPreview"; +__ref._camex /*reparto_izca.keymon.lat.cameraexclass*/ ._startpreview /*String*/ (null); +RDebugUtils.currentLine=13500421; + //BA.debugLineNum = 13500421;BA.debugLine="Log(camEx.GetPreviewSize)"; +__c.LogImpl("813500421",BA.ObjectToString(__ref._camex /*reparto_izca.keymon.lat.cameraexclass*/ ._getpreviewsize /*reparto_izca.keymon.lat.cameraexclass._camerasize*/ (null)),0); + }else { +RDebugUtils.currentLine=13500423; + //BA.debugLineNum = 13500423;BA.debugLine="ToastMessageShow(\"Cannot open camera.\", True)"; +__c.ToastMessageShow(BA.ObjectToCharSequence("Cannot open camera."),__c.True); + }; +RDebugUtils.currentLine=13500425; + //BA.debugLineNum = 13500425;BA.debugLine="End Sub"; +return ""; +} +public String _changecamera_click(reparto_izca.keymon.lat.c_foto __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_foto"; +if (Debug.shouldDelegate(ba, "changecamera_click", false)) + {return ((String) Debug.delegate(ba, "changecamera_click", null));} +RDebugUtils.currentLine=13762560; + //BA.debugLineNum = 13762560;BA.debugLine="Sub ChangeCamera_Click"; +RDebugUtils.currentLine=13762561; + //BA.debugLineNum = 13762561;BA.debugLine="camEx.Release"; +__ref._camex /*reparto_izca.keymon.lat.cameraexclass*/ ._release /*String*/ (null); +RDebugUtils.currentLine=13762562; + //BA.debugLineNum = 13762562;BA.debugLine="frontCamera = Not(frontCamera)"; +__ref._frontcamera /*boolean*/ = __c.Not(__ref._frontcamera /*boolean*/ ); +RDebugUtils.currentLine=13762563; + //BA.debugLineNum = 13762563;BA.debugLine="InitializeCamera"; +__ref._initializecamera /*String*/ (null); +RDebugUtils.currentLine=13762564; + //BA.debugLineNum = 13762564;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(reparto_izca.keymon.lat.c_foto __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_foto"; +RDebugUtils.currentLine=13041664; + //BA.debugLineNum = 13041664;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=13041665; + //BA.debugLineNum = 13041665;BA.debugLine="Private Root As B4XView 'ignore"; +_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=13041666; + //BA.debugLineNum = 13041666;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=13041667; + //BA.debugLineNum = 13041667;BA.debugLine="Private frontCamera As Boolean = False"; +_frontcamera = __c.False; +RDebugUtils.currentLine=13041668; + //BA.debugLineNum = 13041668;BA.debugLine="Dim g As GPS"; +_g = new anywheresoftware.b4a.gps.GPS(); +RDebugUtils.currentLine=13041669; + //BA.debugLineNum = 13041669;BA.debugLine="Private p_camara As Panel"; +_p_camara = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=13041670; + //BA.debugLineNum = 13041670;BA.debugLine="Private camEx As CameraExClass"; +_camex = new reparto_izca.keymon.lat.cameraexclass(); +RDebugUtils.currentLine=13041671; + //BA.debugLineNum = 13041671;BA.debugLine="Dim btnTakePicture As Button"; +_btntakepicture = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=13041672; + //BA.debugLineNum = 13041672;BA.debugLine="Dim c As Cursor"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=13041673; + //BA.debugLineNum = 13041673;BA.debugLine="Dim cuenta As String"; +_cuenta = ""; +RDebugUtils.currentLine=13041674; + //BA.debugLineNum = 13041674;BA.debugLine="Dim lat_gps As String"; +_lat_gps = ""; +RDebugUtils.currentLine=13041675; + //BA.debugLineNum = 13041675;BA.debugLine="Dim USUARIO As String"; +_usuario = ""; +RDebugUtils.currentLine=13041676; + //BA.debugLineNum = 13041676;BA.debugLine="Dim MOTIVO As String"; +_motivo = ""; +RDebugUtils.currentLine=13041677; + //BA.debugLineNum = 13041677;BA.debugLine="End Sub"; +return ""; +} +public String _gps_locationchanged(reparto_izca.keymon.lat.c_foto __ref,anywheresoftware.b4a.gps.LocationWrapper _location1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_foto"; +if (Debug.shouldDelegate(ba, "gps_locationchanged", false)) + {return ((String) Debug.delegate(ba, "gps_locationchanged", new Object[] {_location1}));} +RDebugUtils.currentLine=13434880; + //BA.debugLineNum = 13434880;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; +RDebugUtils.currentLine=13434882; + //BA.debugLineNum = 13434882;BA.debugLine="End Sub"; +return ""; +} +public Object _initialize(reparto_izca.keymon.lat.c_foto __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="c_foto"; +if (Debug.shouldDelegate(ba, "initialize", false)) + {return ((Object) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=13107200; + //BA.debugLineNum = 13107200;BA.debugLine="Public Sub Initialize As Object"; +RDebugUtils.currentLine=13107201; + //BA.debugLineNum = 13107201;BA.debugLine="Return Me"; +if (true) return this; +RDebugUtils.currentLine=13107202; + //BA.debugLineNum = 13107202;BA.debugLine="End Sub"; +return null; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/c_historico.java b/B4A/Objects/src/reparto_izca/keymon/lat/c_historico.java new file mode 100644 index 0000000..965e41a --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/c_historico.java @@ -0,0 +1,1301 @@ +package reparto_izca.keymon.lat; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.B4AClass; +import anywheresoftware.b4a.BALayout; +import anywheresoftware.b4a.debug.*; + +public class c_historico 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, "reparto_izca.keymon.lat.c_historico"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", reparto_izca.keymon.lat.c_historico.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.gps.GPS _g = null; +public String _clie_id = ""; +public String _sdate = ""; +public String _stime = ""; +public String _usuario = ""; +public anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_regresar = null; +public anywheresoftware.b4a.objects.ListViewWrapper _listview1 = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_cant = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_total = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_borra = null; +public String _existe = ""; +public String _result = ""; +public String _cuantos = ""; +public String _nombre_prod = ""; +public String _cuantos_pedido = ""; +public anywheresoftware.b4a.objects.LabelWrapper _titulo = null; +public anywheresoftware.b4a.objects.PanelWrapper _p1 = null; +public anywheresoftware.b4a.objects.ListViewWrapper _lv2 = null; +public anywheresoftware.b4a.objects.PanelWrapper _p_principal = null; +public b4a.example3.customlistview _clv_pedido = null; +public anywheresoftware.b4a.objects.PanelWrapper _p_prods = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_prodx = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_pcant = null; +public anywheresoftware.b4a.objects.EditTextWrapper _et_pcant = null; +public anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _bmp = null; +public boolean _etcanthasfocus = false; +public int _totalprods = 0; +public int _totalcompra = 0; +public anywheresoftware.b4a.objects.collections.Map _prodsmap = null; +public boolean _reconstruirpedido = false; +public String _promoaborrar = ""; +public anywheresoftware.b4a.objects.ButtonWrapper _b_guardar = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_prodmas = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_prodmenos = null; +public b4a.example.dateutils _dateutils = null; +public reparto_izca.keymon.lat.main _main = null; +public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; +public reparto_izca.keymon.lat.foto _foto = null; +public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_izca.keymon.lat.starter _starter = null; +public reparto_izca.keymon.lat.tracker _tracker = null; +public reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public String _b_guardar_click(reparto_izca.keymon.lat.c_historico __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_historico"; +if (Debug.shouldDelegate(ba, "b_guardar_click", false)) + {return ((String) Debug.delegate(ba, "b_guardar_click", null));} +RDebugUtils.currentLine=22347776; + //BA.debugLineNum = 22347776;BA.debugLine="Private Sub b_guardar_Click"; +RDebugUtils.currentLine=22347778; + //BA.debugLineNum = 22347778;BA.debugLine="End Sub"; +return ""; +} +public String _b_prodmas_click(reparto_izca.keymon.lat.c_historico __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_historico"; +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 _maxprods = ""; +anywheresoftware.b4a.objects.collections.Map _cym = null; +RDebugUtils.currentLine=22216704; + //BA.debugLineNum = 22216704;BA.debugLine="Sub b_prodMas_Click"; +RDebugUtils.currentLine=22216705; + //BA.debugLineNum = 22216705;BA.debugLine="etCantHasFocus = False"; +__ref._etcanthasfocus /*boolean*/ = __c.False; +RDebugUtils.currentLine=22216707; + //BA.debugLineNum = 22216707;BA.debugLine="LogColor(\"b_prodMas_Click\", Colors.Magenta)"; +__c.LogImpl("822216707","b_prodMas_Click",__c.Colors.Magenta); +RDebugUtils.currentLine=22216708; + //BA.debugLineNum = 22216708;BA.debugLine="Dim index As Int = clv_pedido.GetItemFromView(Sen"; +_index = __ref._clv_pedido /*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=22216709; + //BA.debugLineNum = 22216709;BA.debugLine="Dim pnl0 As B4XView = clv_pedido.GetPanel(index)"; +_pnl0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_pnl0 = __ref._clv_pedido /*b4a.example3.customlistview*/ ._getpanel(_index); +RDebugUtils.currentLine=22216710; + //BA.debugLineNum = 22216710;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; +_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_pnl = _pnl0.GetView((int) (0)); +RDebugUtils.currentLine=22216711; + //BA.debugLineNum = 22216711;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(3)"; +_lacant = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_lacant = _pnl.GetView((int) (2)).GetView((int) (3)); +RDebugUtils.currentLine=22216715; + //BA.debugLineNum = 22216715;BA.debugLine="Dim esteTag As List = Regex.Split(\"\\|\", laCant.Ta"; +_estetag = new anywheresoftware.b4a.objects.collections.List(); +_estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(__c.Regex.Split("\\|",BA.ObjectToString(_lacant.getTag()))); +RDebugUtils.currentLine=22216716; + //BA.debugLineNum = 22216716;BA.debugLine="Log(\"LC_TEXT:\"&laCant.Text&\"|LC_TAG:\"&laCant.Tag&"; +__c.LogImpl("822216716","LC_TEXT:"+_lacant.getText()+"|LC_TAG:"+BA.ObjectToString(_lacant.getTag())+"|ET:"+BA.ObjectToString(_estetag),0); +RDebugUtils.currentLine=22216717; + //BA.debugLineNum = 22216717;BA.debugLine="If laCant.Text = \"\" Then laCant.Text = 0"; +if ((_lacant.getText()).equals("")) { +_lacant.setText(BA.ObjectToCharSequence(0));}; +RDebugUtils.currentLine=22216719; + //BA.debugLineNum = 22216719;BA.debugLine="Private maxProds as string = esteTag.Get(1) + est"; +_maxprods = BA.NumberToString((double)(BA.ObjectToNumber(_estetag.Get((int) (1))))+(double)(BA.ObjectToNumber(_estetag.Get((int) (4))))); +RDebugUtils.currentLine=22216721; + //BA.debugLineNum = 22216721;BA.debugLine="LogColor($\"++++++++++++++++++++++++++ ${esteTag"; +__c.LogImpl("822216721",("++++++++++++++++++++++++++ "+__c.SmartStringFormatter("",(Object)(_estetag.getObject()))+""),__c.Colors.Green); +RDebugUtils.currentLine=22216723; + //BA.debugLineNum = 22216723;BA.debugLine="If laCant.Text + 1 <= maxProds Then"; +if ((double)(Double.parseDouble(_lacant.getText()))+1<=(double)(Double.parseDouble(_maxprods))) { +RDebugUtils.currentLine=22216724; + //BA.debugLineNum = 22216724;BA.debugLine="Log($\"NuevaCant = ${laCant.Text + 1}\"$)"; +__c.LogImpl("822216724",("NuevaCant = "+__c.SmartStringFormatter("",(Object)((double)(Double.parseDouble(_lacant.getText()))+1))+""),0); +RDebugUtils.currentLine=22216725; + //BA.debugLineNum = 22216725;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=22216726; + //BA.debugLineNum = 22216726;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update cat_gunaprod"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen - 1 where cat_gp_id = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{_estetag.Get((int) (2))})); +RDebugUtils.currentLine=22216727; + //BA.debugLineNum = 22216727;BA.debugLine="Subs.prodVenta(esteTag.Get(5), esteTag.Get(2))"; +_subs._prodventa /*String*/ (ba,BA.ObjectToString(_estetag.Get((int) (5))),BA.ObjectToString(_estetag.Get((int) (2)))); +RDebugUtils.currentLine=22216728; + //BA.debugLineNum = 22216728;BA.debugLine="Private cym As Map = Subs.traemosCantYMonto(clv_"; +_cym = new anywheresoftware.b4a.objects.collections.Map(); +_cym = _subs._traemoscantymonto /*anywheresoftware.b4a.objects.collections.Map*/ (ba,__ref._clv_pedido /*b4a.example3.customlistview*/ ); +RDebugUtils.currentLine=22216729; + //BA.debugLineNum = 22216729;BA.debugLine="L_CANT.Text = cym.Get(\"cantidad\")"; +__ref._l_cant /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_cym.Get((Object)("cantidad")))); +RDebugUtils.currentLine=22216730; + //BA.debugLineNum = 22216730;BA.debugLine="L_TOTAL.Text = Round2(cym.Get(\"monto\"), 2)"; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.Round2((double)(BA.ObjectToNumber(_cym.Get((Object)("monto")))),(int) (2)))); + }; +RDebugUtils.currentLine=22216747; + //BA.debugLineNum = 22216747;BA.debugLine="End Sub"; +return ""; +} +public String _b_prodmenos_click(reparto_izca.keymon.lat.c_historico __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_historico"; +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; +anywheresoftware.b4a.objects.collections.List _estetag = null; +float _preciou = 0f; +anywheresoftware.b4a.objects.collections.Map _cym = null; +RDebugUtils.currentLine=22151168; + //BA.debugLineNum = 22151168;BA.debugLine="Sub b_prodMenos_Click"; +RDebugUtils.currentLine=22151169; + //BA.debugLineNum = 22151169;BA.debugLine="etCantHasFocus = False"; +__ref._etcanthasfocus /*boolean*/ = __c.False; +RDebugUtils.currentLine=22151170; + //BA.debugLineNum = 22151170;BA.debugLine="Log(\"etCantHasFocus=\" & etCantHasFocus)"; +__c.LogImpl("822151170","etCantHasFocus="+BA.ObjectToString(__ref._etcanthasfocus /*boolean*/ ),0); +RDebugUtils.currentLine=22151171; + //BA.debugLineNum = 22151171;BA.debugLine="LogColor(\"b_prodMenos_Click\", Colors.Magenta)"; +__c.LogImpl("822151171","b_prodMenos_Click",__c.Colors.Magenta); +RDebugUtils.currentLine=22151172; + //BA.debugLineNum = 22151172;BA.debugLine="Dim index As Int = clv_pedido.GetItemFromView(Sen"; +_index = __ref._clv_pedido /*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=22151173; + //BA.debugLineNum = 22151173;BA.debugLine="Dim pnl0 As B4XView = clv_pedido.GetPanel(index)"; +_pnl0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_pnl0 = __ref._clv_pedido /*b4a.example3.customlistview*/ ._getpanel(_index); +RDebugUtils.currentLine=22151174; + //BA.debugLineNum = 22151174;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; +_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_pnl = _pnl0.GetView((int) (0)); +RDebugUtils.currentLine=22151175; + //BA.debugLineNum = 22151175;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(3)"; +_lacant = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_lacant = _pnl.GetView((int) (2)).GetView((int) (3)); +RDebugUtils.currentLine=22151177; + //BA.debugLineNum = 22151177;BA.debugLine="Dim esteTag As List = Regex.Split(\"\\|\", laCant.Ta"; +_estetag = new anywheresoftware.b4a.objects.collections.List(); +_estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(__c.Regex.Split("\\|",BA.ObjectToString(_lacant.getTag()))); +RDebugUtils.currentLine=22151178; + //BA.debugLineNum = 22151178;BA.debugLine="Log(\"LC_TEXT:\"&laCant.Text&\"|PROMO:\"&esteTag.Get("; +__c.LogImpl("822151178","LC_TEXT:"+_lacant.getText()+"|PROMO:"+BA.ObjectToString(_estetag.Get((int) (3)))+"|LC_TAG:"+BA.ObjectToString(_lacant.getTag())+"|ET:"+BA.ObjectToString(_estetag),0); +RDebugUtils.currentLine=22151179; + //BA.debugLineNum = 22151179;BA.debugLine="If esteTag.Get(3) <> \"1\" Then 'Si es PROMO entonc"; +if ((_estetag.Get((int) (3))).equals((Object)("1")) == false) { +RDebugUtils.currentLine=22151180; + //BA.debugLineNum = 22151180;BA.debugLine="Log(\"ES PROMO\")"; +__c.LogImpl("822151180","ES PROMO",0); +RDebugUtils.currentLine=22151181; + //BA.debugLineNum = 22151181;BA.debugLine="result = Msgbox2(\"Si se modifica una promoción,"; +__ref._result /*String*/ = BA.NumberToString(__c.Msgbox2(BA.ObjectToCharSequence("Si se modifica una promoción, la promoción se rompe y solo quedarán los productos sueltos, ¿seguro que desea continuar?"),BA.ObjectToCharSequence("Modificar Promoción"),"Si","","No",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alert2.png").getObject()),ba)); +RDebugUtils.currentLine=22151182; + //BA.debugLineNum = 22151182;BA.debugLine="If result = DialogResponse.POSITIVE Then 'Quitam"; +if ((__ref._result /*String*/ ).equals(BA.NumberToString(__c.DialogResponse.POSITIVE))) { +RDebugUtils.currentLine=22151183; + //BA.debugLineNum = 22151183;BA.debugLine="prodsMap.Remove(esteTag.Get(3))"; +__ref._prodsmap /*anywheresoftware.b4a.objects.collections.Map*/ .Remove(_estetag.Get((int) (3))); +RDebugUtils.currentLine=22151184; + //BA.debugLineNum = 22151184;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENTAS"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update HIST_VENTAS set HVD_RECHAZO = 1 WHERE HVD_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (3)))+"' and HVD_cliente in (Select CUENTA from cuentaa)")); +RDebugUtils.currentLine=22151185; + //BA.debugLineNum = 22151185;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENTAS"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update HIST_VENTAS set HVD_CODPROMO = '"+__c.SmartStringFormatter("",(Object)(_subs._traealmacen /*String*/ (ba)))+"' WHERE HVD_cliente in (Select CUENTA from cuentaa) AND HVD_CODPROMO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (3)))+"'")); +RDebugUtils.currentLine=22151186; + //BA.debugLineNum = 22151186;BA.debugLine="LogColor(prodsMap, Colors.red)"; +__c.LogImpl("822151186",BA.ObjectToString(__ref._prodsmap /*anywheresoftware.b4a.objects.collections.Map*/ ),__c.Colors.Red); +RDebugUtils.currentLine=22151187; + //BA.debugLineNum = 22151187;BA.debugLine="reconstruirPedido = True"; +__ref._reconstruirpedido /*boolean*/ = __c.True; +RDebugUtils.currentLine=22151188; + //BA.debugLineNum = 22151188;BA.debugLine="promoABorrar = esteTag.Get(3)"; +__ref._promoaborrar /*String*/ = BA.ObjectToString(_estetag.Get((int) (3))); +RDebugUtils.currentLine=22151189; + //BA.debugLineNum = 22151189;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); + }; + }else { +RDebugUtils.currentLine=22151192; + //BA.debugLineNum = 22151192;BA.debugLine="If laCant.Text = \"\" Then laCant.Text = 0"; +if ((_lacant.getText()).equals("")) { +_lacant.setText(BA.ObjectToCharSequence(0));}; +RDebugUtils.currentLine=22151193; + //BA.debugLineNum = 22151193;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=22151194; + //BA.debugLineNum = 22151194;BA.debugLine="If laCant.Text < 0 Then laCant.Text = 0"; +if ((double)(Double.parseDouble(_lacant.getText()))<0) { +_lacant.setText(BA.ObjectToCharSequence(0));}; +RDebugUtils.currentLine=22151195; + //BA.debugLineNum = 22151195;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update cat_gunaprod"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen + 1 where cat_gp_id = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{_estetag.Get((int) (2))})); + }; +RDebugUtils.currentLine=22151197; + //BA.debugLineNum = 22151197;BA.debugLine="Dim preciou As Float = esteTag.Get(0)/esteTag.Get"; +_preciou = (float) ((double)(BA.ObjectToNumber(_estetag.Get((int) (0))))/(double)(double)(BA.ObjectToNumber(_estetag.Get((int) (1))))); +RDebugUtils.currentLine=22151198; + //BA.debugLineNum = 22151198;BA.debugLine="Log(\"PU: \" & preciou)"; +__c.LogImpl("822151198","PU: "+BA.NumberToString(_preciou),0); +RDebugUtils.currentLine=22151204; + //BA.debugLineNum = 22151204;BA.debugLine="Subs.prodRechazo(esteTag.Get(5), esteTag.Get(2))"; +_subs._prodrechazo /*String*/ (ba,BA.ObjectToString(_estetag.Get((int) (5))),BA.ObjectToString(_estetag.Get((int) (2)))); +RDebugUtils.currentLine=22151205; + //BA.debugLineNum = 22151205;BA.debugLine="Private cym As Map = Subs.traemosCantYMonto(clv_p"; +_cym = new anywheresoftware.b4a.objects.collections.Map(); +_cym = _subs._traemoscantymonto /*anywheresoftware.b4a.objects.collections.Map*/ (ba,__ref._clv_pedido /*b4a.example3.customlistview*/ ); +RDebugUtils.currentLine=22151206; + //BA.debugLineNum = 22151206;BA.debugLine="L_CANT.Text = cym.Get(\"cantidad\")"; +__ref._l_cant /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_cym.Get((Object)("cantidad")))); +RDebugUtils.currentLine=22151207; + //BA.debugLineNum = 22151207;BA.debugLine="L_TOTAL.Text = Round2(cym.Get(\"monto\"), 2)"; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.Round2((double)(BA.ObjectToNumber(_cym.Get((Object)("monto")))),(int) (2)))); +RDebugUtils.currentLine=22151209; + //BA.debugLineNum = 22151209;BA.debugLine="End Sub"; +return ""; +} +public String _b4xpage_appear(reparto_izca.keymon.lat.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.sql.SQL.CursorWrapper _oc = null; +int _cant2 = 0; +anywheresoftware.b4a.objects.LabelWrapper _label1 = null; +anywheresoftware.b4a.objects.LabelWrapper _label2 = null; +int _bgcolor = 0; +int _textcolor = 0; +anywheresoftware.b4a.sql.SQL.CursorWrapper _vc = null; +int _cantco = 0; +anywheresoftware.b4a.sql.SQL.CursorWrapper _cco = null; +anywheresoftware.b4a.objects.collections.Map _cym = null; +RDebugUtils.currentLine=21692416; + //BA.debugLineNum = 21692416;BA.debugLine="Sub B4XPage_Appear"; +RDebugUtils.currentLine=21692417; + //BA.debugLineNum = 21692417;BA.debugLine="Subs.centraPanel(p_principal, Root.Width)"; +_subs._centrapanel /*String*/ (ba,__ref._p_principal /*anywheresoftware.b4a.objects.PanelWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=21692421; + //BA.debugLineNum = 21692421;BA.debugLine="L_CANT.Text =\"\""; +__ref._l_cant /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=21692422; + //BA.debugLineNum = 21692422;BA.debugLine="L_TOTAL.Text=\"\""; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=21692423; + //BA.debugLineNum = 21692423;BA.debugLine="c=Starter.skmt.ExecQuery(\"select count(*) as EXIS"; +__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 count(*) as EXISTE from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) and HVD_RECHAZO = 0 "))); +RDebugUtils.currentLine=21692424; + //BA.debugLineNum = 21692424;BA.debugLine="C.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=21692425; + //BA.debugLineNum = 21692425;BA.debugLine="Existe = C.GetString(\"EXISTE\")"; +__ref._existe /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("EXISTE"); +RDebugUtils.currentLine=21692426; + //BA.debugLineNum = 21692426;BA.debugLine="C.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=21692428; + //BA.debugLineNum = 21692428;BA.debugLine="c=Starter.skmt.ExecQuery(\"select hvd_num_registro"; +__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 hvd_num_registro, HVD_CLIENTE, HVD_PRONOMBRE, HVD_PROID, HVD_CANT, HVD_COSTO_TOT, HVD_CODPROMO from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) and HVD_RECHAZO = 0 and hvd_cant > 0 order by HVD_CODPROMO desc, HVD_PRONOMBRE asc"))); +RDebugUtils.currentLine=21692429; + //BA.debugLineNum = 21692429;BA.debugLine="ListView1.Clear"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=21692430; + //BA.debugLineNum = 21692430;BA.debugLine="clv_pedido.Clear"; +__ref._clv_pedido /*b4a.example3.customlistview*/ ._clear(); +RDebugUtils.currentLine=21692431; + //BA.debugLineNum = 21692431;BA.debugLine="Subs.SetDivider(ListView1, Colors.LightGray, 2)"; +_subs._setdivider /*String*/ (ba,__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ ,__c.Colors.LightGray,(int) (2)); +RDebugUtils.currentLine=21692432; + //BA.debugLineNum = 21692432;BA.debugLine="clv_pedido.GetBase.SetLayoutAnimated(100, 0dip, 6"; +__ref._clv_pedido /*b4a.example3.customlistview*/ ._getbase().SetLayoutAnimated((int) (100),__c.DipToCurrent((int) (0)),__c.DipToCurrent((int) (60)),(int) (__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()-50),(int) (__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()*0.62)); +RDebugUtils.currentLine=21692433; + //BA.debugLineNum = 21692433;BA.debugLine="clv_pedido.Base_Resize(clv_pedido.GetBase.Width,"; +__ref._clv_pedido /*b4a.example3.customlistview*/ ._base_resize(__ref._clv_pedido /*b4a.example3.customlistview*/ ._getbase().getWidth(),__ref._clv_pedido /*b4a.example3.customlistview*/ ._getbase().getHeight()); +RDebugUtils.currentLine=21692435; + //BA.debugLineNum = 21692435;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=21692437; + //BA.debugLineNum = 21692437;BA.debugLine="For i=0 To c.RowCount -1"; +{ +final int step15 = 1; +final int limit15 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit15 ;_i = _i + step15 ) { +RDebugUtils.currentLine=21692438; + //BA.debugLineNum = 21692438;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=21692440; + //BA.debugLineNum = 21692440;BA.debugLine="Private oc As Cursor = Starter.skmt.ExecQuery($"; +_oc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_oc = (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 HVD_CANT from HIST_VENTAS2 WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) and hvd_proid = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID")))+"' and HVD_NUM_REGISTRO = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_NUM_REGISTRO")))+"'")))); +RDebugUtils.currentLine=21692441; + //BA.debugLineNum = 21692441;BA.debugLine="Private cant2 As Int = 0"; +_cant2 = (int) (0); +RDebugUtils.currentLine=21692442; + //BA.debugLineNum = 21692442;BA.debugLine="If oc.RowCount > 0 Then"; +if (_oc.getRowCount()>0) { +RDebugUtils.currentLine=21692443; + //BA.debugLineNum = 21692443;BA.debugLine="oc.Position = 0"; +_oc.setPosition((int) (0)); +RDebugUtils.currentLine=21692444; + //BA.debugLineNum = 21692444;BA.debugLine="cant2 = oc.GetString(\"HVD_CANT\")"; +_cant2 = (int)(Double.parseDouble(_oc.GetString("HVD_CANT"))); + }; +RDebugUtils.currentLine=21692446; + //BA.debugLineNum = 21692446;BA.debugLine="oc.Close"; +_oc.Close(); +RDebugUtils.currentLine=21692447; + //BA.debugLineNum = 21692447;BA.debugLine="Dim label1 As Label"; +_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=21692448; + //BA.debugLineNum = 21692448;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; +_label1 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().Label; +RDebugUtils.currentLine=21692449; + //BA.debugLineNum = 21692449;BA.debugLine="label1.TextSize = 12"; +_label1.setTextSize((float) (12)); +RDebugUtils.currentLine=21692450; + //BA.debugLineNum = 21692450;BA.debugLine="label1.TextColor = Colors.black"; +_label1.setTextColor(__c.Colors.Black); +RDebugUtils.currentLine=21692451; + //BA.debugLineNum = 21692451;BA.debugLine="Dim label2 As Label"; +_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=21692452; + //BA.debugLineNum = 21692452;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; +_label2 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().SecondLabel; +RDebugUtils.currentLine=21692453; + //BA.debugLineNum = 21692453;BA.debugLine="label2.TextSize = 12"; +_label2.setTextSize((float) (12)); +RDebugUtils.currentLine=21692454; + //BA.debugLineNum = 21692454;BA.debugLine="label2.TextColor = Colors.black"; +_label2.setTextColor(__c.Colors.Black); +RDebugUtils.currentLine=21692455; + //BA.debugLineNum = 21692455;BA.debugLine="Private bgColor, textColor As Int"; +_bgcolor = 0; +_textcolor = 0; +RDebugUtils.currentLine=21692456; + //BA.debugLineNum = 21692456;BA.debugLine="bgColor = Colors.RGB(177, 200, 249)'azul"; +_bgcolor = __c.Colors.RGB((int) (177),(int) (200),(int) (249)); +RDebugUtils.currentLine=21692457; + //BA.debugLineNum = 21692457;BA.debugLine="textColor = Colors.black"; +_textcolor = __c.Colors.Black; +RDebugUtils.currentLine=21692458; + //BA.debugLineNum = 21692458;BA.debugLine="If c.GetString(\"HVD_CODPROMO\") <> \"1\" Then"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CODPROMO")).equals("1") == false) { +RDebugUtils.currentLine=21692460; + //BA.debugLineNum = 21692460;BA.debugLine="bgColor = Colors.White"; +_bgcolor = __c.Colors.White; + }; +RDebugUtils.currentLine=21692464; + //BA.debugLineNum = 21692464;BA.debugLine="clv_pedido.Add(CreateListItem(c.GetString(\"HVD_"; +__ref._clv_pedido /*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,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PRONOMBRE"),_subs._traeprecio /*String*/ (ba,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CODPROMO")),(int)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CANT"))),(int) (0),__ref._clv_pedido /*b4a.example3.customlistview*/ ._asview().getWidth(),__c.DipToCurrent((int) (50)),__ref._bmp /*anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper*/ ,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID"),_bgcolor,_textcolor,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CODPROMO"),_subs._traecliente /*String*/ (ba)).getObject())),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PRONOMBRE"))); + } +}; + }; +RDebugUtils.currentLine=21692469; + //BA.debugLineNum = 21692469;BA.debugLine="Private vc As Cursor = Starter.skmt.ExecQuery(\"se"; +_vc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_vc = (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 REPARTO where REP_CLIENTE in (select cuenta from cuentaa) and REP_RECHAZO = '0' and REP_CANT > 0 order by REP_PRONOMBRE"))); +RDebugUtils.currentLine=21692470; + //BA.debugLineNum = 21692470;BA.debugLine="Log($\"VENTA: ${vc.RowCount}\"$)"; +__c.LogImpl("821692470",("VENTA: "+__c.SmartStringFormatter("",(Object)(_vc.getRowCount()))+""),0); +RDebugUtils.currentLine=21692471; + //BA.debugLineNum = 21692471;BA.debugLine="If vc.RowCount > 0 Then"; +if (_vc.getRowCount()>0) { +RDebugUtils.currentLine=21692474; + //BA.debugLineNum = 21692474;BA.debugLine="textColor = Colors.RGB(0,87,142)"; +_textcolor = __c.Colors.RGB((int) (0),(int) (87),(int) (142)); +RDebugUtils.currentLine=21692475; + //BA.debugLineNum = 21692475;BA.debugLine="For i=0 To vc.RowCount -1"; +{ +final int step45 = 1; +final int limit45 = (int) (_vc.getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit45 ;_i = _i + step45 ) { +RDebugUtils.currentLine=21692476; + //BA.debugLineNum = 21692476;BA.debugLine="vc.Position = i"; +_vc.setPosition(_i); +RDebugUtils.currentLine=21692477; + //BA.debugLineNum = 21692477;BA.debugLine="Private cantCO As Int = 0"; +_cantco = (int) (0); +RDebugUtils.currentLine=21692479; + //BA.debugLineNum = 21692479;BA.debugLine="Private cco As Cursor = Starter.skmt.ExecQuery("; +_cco = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_cco = (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 REPARTO where REP_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(_vc.GetString("REP_CLI_ORIG")))+"' and REP_CLI_ORIG = '"+__c.SmartStringFormatter("",(Object)(_vc.GetString("REP_CLI_ORIG")))+"' and REP_PRODID='"+__c.SmartStringFormatter("",(Object)(_vc.GetString("REP_PRODID")))+"' and REP_RECHAZO = '1' and REP_CANT > 0")))); +RDebugUtils.currentLine=21692481; + //BA.debugLineNum = 21692481;BA.debugLine="If cco.RowCount > 0 Then"; +if (_cco.getRowCount()>0) { +RDebugUtils.currentLine=21692482; + //BA.debugLineNum = 21692482;BA.debugLine="cco.Position = 0"; +_cco.setPosition((int) (0)); +RDebugUtils.currentLine=21692483; + //BA.debugLineNum = 21692483;BA.debugLine="cantCO = cco.GetString(\"REP_CANT\") + vc.GetStr"; +_cantco = (int) ((double)(Double.parseDouble(_cco.GetString("REP_CANT")))+(double)(Double.parseDouble(_vc.GetString("REP_CANT")))); + }; +RDebugUtils.currentLine=21692485; + //BA.debugLineNum = 21692485;BA.debugLine="cantCO = Subs.traeCantidadRechazada(vc.GetStrin"; +_cantco = _subs._traecantidadrechazada /*int*/ (ba,_vc.GetString("REP_CLI_ORIG"),_vc.GetString("REP_PRODID")); +RDebugUtils.currentLine=21692488; + //BA.debugLineNum = 21692488;BA.debugLine="clv_pedido.Add(CreateListItem(vc.GetString(\"REP"; +__ref._clv_pedido /*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,_vc.GetString("REP_PRONOMBRE"),_subs._traeprecio /*String*/ (ba,_vc.GetString("REP_PRODID"),_subs._traealmacen /*String*/ (ba)),(int)(Double.parseDouble(_vc.GetString("REP_CANT"))),_cantco,__ref._clv_pedido /*b4a.example3.customlistview*/ ._asview().getWidth(),__c.DipToCurrent((int) (50)),__ref._bmp /*anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper*/ ,_vc.GetString("REP_PRODID"),_bgcolor,_textcolor,BA.NumberToString(1),_vc.GetString("REP_CLI_ORIG")).getObject())),(Object)(_vc.GetString("REP_PRONOMBRE"))); + } +}; +RDebugUtils.currentLine=21692490; + //BA.debugLineNum = 21692490;BA.debugLine="cco.Close"; +_cco.Close(); +RDebugUtils.currentLine=21692491; + //BA.debugLineNum = 21692491;BA.debugLine="vc.Close"; +_vc.Close(); + }; +RDebugUtils.currentLine=21692494; + //BA.debugLineNum = 21692494;BA.debugLine="If Existe <> 0 Then"; +if ((__ref._existe /*String*/ ).equals(BA.NumberToString(0)) == false) { +RDebugUtils.currentLine=21692495; + //BA.debugLineNum = 21692495;BA.debugLine="c = Starter.skmt.ExecQuery(\"select SUM(HVD_CANT)"; +__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 SUM(HVD_CANT) AS PC_NOART, SUM(HVD_COSTO_TOT) AS PC_MONTO from HIST_VENTAS where HVD_CLIENTE in (Select CUENTA from cuentaa) and HVD_RECHAZO = 0 "))); +RDebugUtils.currentLine=21692496; + //BA.debugLineNum = 21692496;BA.debugLine="C.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=21692497; + //BA.debugLineNum = 21692497;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=21692498; + //BA.debugLineNum = 21692498;BA.debugLine="L_TOTAL.Text = Round2(c.GetString(\"PC_MONTO\"), 2"; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.Round2((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_MONTO"))),(int) (2)))); + }; +RDebugUtils.currentLine=21692500; + //BA.debugLineNum = 21692500;BA.debugLine="c=Starter.skmt.ExecQuery(\"select count(*) as EXIS"; +__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 count(*) as EXISTE from PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); +RDebugUtils.currentLine=21692501; + //BA.debugLineNum = 21692501;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=21692502; + //BA.debugLineNum = 21692502;BA.debugLine="Existe = C.GetString(\"EXISTE\")"; +__ref._existe /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("EXISTE"); +RDebugUtils.currentLine=21692503; + //BA.debugLineNum = 21692503;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=21692506; + //BA.debugLineNum = 21692506;BA.debugLine="Subs.SetDivider(ListView1, Colors.LightGray, 2)"; +_subs._setdivider /*String*/ (ba,__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ ,__c.Colors.LightGray,(int) (2)); +RDebugUtils.currentLine=21692524; + //BA.debugLineNum = 21692524;BA.debugLine="If Existe <> 0 Then"; +if ((__ref._existe /*String*/ ).equals(BA.NumberToString(0)) == false) { +RDebugUtils.currentLine=21692525; + //BA.debugLineNum = 21692525;BA.debugLine="c=Starter.skmt.ExecQuery(\"select SUM(PE_CANT) AS"; +__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 SUM(PE_CANT) AS PE_CANT, SUM(PE_COSTO_TOT) AS PE_COSTO_TOT FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); +RDebugUtils.currentLine=21692526; + //BA.debugLineNum = 21692526;BA.debugLine="C.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=21692527; + //BA.debugLineNum = 21692527;BA.debugLine="L_CANT.Text = L_CANT.Text + c.GetString(\"PE_CANT"; +__ref._l_cant /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence((double)(Double.parseDouble(__ref._l_cant /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()))+(double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT"))))); +RDebugUtils.currentLine=21692528; + //BA.debugLineNum = 21692528;BA.debugLine="L_TOTAL.Text = Round2(L_TOTAL.Text + c.GetStrin"; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.Round2((double)(Double.parseDouble(__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()))+(double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_TOT"))),(int) (2)))); + }; +RDebugUtils.currentLine=21692532; + //BA.debugLineNum = 21692532;BA.debugLine="Private cym As Map = Subs.traemosCantYMonto(clv_p"; +_cym = new anywheresoftware.b4a.objects.collections.Map(); +_cym = _subs._traemoscantymonto /*anywheresoftware.b4a.objects.collections.Map*/ (ba,__ref._clv_pedido /*b4a.example3.customlistview*/ ); +RDebugUtils.currentLine=21692533; + //BA.debugLineNum = 21692533;BA.debugLine="L_CANT.Text = cym.Get(\"cantidad\")"; +__ref._l_cant /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_cym.Get((Object)("cantidad")))); +RDebugUtils.currentLine=21692534; + //BA.debugLineNum = 21692534;BA.debugLine="L_TOTAL.Text = Round2(cym.Get(\"monto\"), 2)"; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.Round2((double)(BA.ObjectToNumber(_cym.Get((Object)("monto")))),(int) (2)))); +RDebugUtils.currentLine=21692535; + //BA.debugLineNum = 21692535;BA.debugLine="End Sub"; +return ""; +} +public String _b_regresar_click(reparto_izca.keymon.lat.c_historico __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_historico"; +if (Debug.shouldDelegate(ba, "b_regresar_click", false)) + {return ((String) Debug.delegate(ba, "b_regresar_click", null));} +RDebugUtils.currentLine=21823488; + //BA.debugLineNum = 21823488;BA.debugLine="Sub b_regresar_Click"; +RDebugUtils.currentLine=21823489; + //BA.debugLineNum = 21823489;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +_b4xpages._showpage /*String*/ (ba,"Cliente"); +RDebugUtils.currentLine=21823490; + //BA.debugLineNum = 21823490;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.objects.PanelWrapper _createlistitem(reparto_izca.keymon.lat.c_historico __ref,String _text,String _preciou,int _inv,int _inv2,int _width,int _height,anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _img,String _prodid,int _bc,int _tc,String _promo,String _cliente_original) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_historico"; +if (Debug.shouldDelegate(ba, "createlistitem", false)) + {return ((anywheresoftware.b4a.objects.PanelWrapper) Debug.delegate(ba, "createlistitem", new Object[] {_text,_preciou,_inv,_inv2,_width,_height,_img,_prodid,_bc,_tc,_promo,_cliente_original}));} +anywheresoftware.b4a.objects.B4XViewWrapper _p = null; +anywheresoftware.b4a.objects.CSBuilder _cs = null; +RDebugUtils.currentLine=22085632; + //BA.debugLineNum = 22085632;BA.debugLine="Sub CreateListItem(Text As String, precioU As Stri"; +RDebugUtils.currentLine=22085633; + //BA.debugLineNum = 22085633;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=22085634; + //BA.debugLineNum = 22085634;BA.debugLine="Private cs As CSBuilder"; +_cs = new anywheresoftware.b4a.objects.CSBuilder(); +RDebugUtils.currentLine=22085635; + //BA.debugLineNum = 22085635;BA.debugLine="cs.Initialize"; +_cs.Initialize(); +RDebugUtils.currentLine=22085636; + //BA.debugLineNum = 22085636;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, Width, Height)"; +_p.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_width,_height); +RDebugUtils.currentLine=22085637; + //BA.debugLineNum = 22085637;BA.debugLine="p.LoadLayout(\"prodItem\")"; +_p.LoadLayout("prodItem",ba); +RDebugUtils.currentLine=22085638; + //BA.debugLineNum = 22085638;BA.debugLine="p_prods.Color = bc"; +__ref._p_prods /*anywheresoftware.b4a.objects.PanelWrapper*/ .setColor(_bc); +RDebugUtils.currentLine=22085639; + //BA.debugLineNum = 22085639;BA.debugLine="l_prodX.TextColor = tc"; +__ref._l_prodx /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextColor(_tc); +RDebugUtils.currentLine=22085640; + //BA.debugLineNum = 22085640;BA.debugLine="precioU = $\"$1.2{precioU}\"$"; +_preciou = (""+__c.SmartStringFormatter("1.2",(Object)(_preciou))+""); +RDebugUtils.currentLine=22085641; + //BA.debugLineNum = 22085641;BA.debugLine="l_prodX.Text = Text&CRLF&\"Cant: \" & inv2 & \" $\""; +__ref._l_prodx /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_text+__c.CRLF+"Cant: "+BA.NumberToString(_inv2)+" $"+_preciou)); +RDebugUtils.currentLine=22085642; + //BA.debugLineNum = 22085642;BA.debugLine="If promo <> \"1\" And precioU = 0 Then"; +if ((_promo).equals("1") == false && (_preciou).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=22085643; + //BA.debugLineNum = 22085643;BA.debugLine="l_prodX.Text = cs.Color(Colors.RGB(123,0,0)).app"; +__ref._l_prodx /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_cs.Color(__c.Colors.RGB((int) (123),(int) (0),(int) (0))).Append(BA.ObjectToCharSequence(_text+__c.CRLF+"Cant: "+BA.NumberToString(_inv2)+" $"+_preciou)).PopAll().getObject())); + }; +RDebugUtils.currentLine=22085645; + //BA.debugLineNum = 22085645;BA.debugLine="l_prodX.Tag = $\"ID: ${prodId}${CRLF}${Text}${CRLF"; +__ref._l_prodx /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTag((Object)(("ID: "+__c.SmartStringFormatter("",(Object)(_prodid))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+""+__c.SmartStringFormatter("",(Object)(_text))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+"Precio: $"+__c.SmartStringFormatter("1.2",(Object)(_preciou))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+"Inv: "+__c.SmartStringFormatter("",(Object)(_inv))+" pzs"))); +RDebugUtils.currentLine=22085647; + //BA.debugLineNum = 22085647;BA.debugLine="l_pCant.Tag = Round2(precioU,2)&\"|\"&inv&\"|\"&prodI"; +__ref._l_pcant /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTag((Object)(BA.NumberToString(__c.Round2((double)(Double.parseDouble(_preciou)),(int) (2)))+"|"+BA.NumberToString(_inv)+"|"+_prodid+"|"+_promo+"|"+BA.NumberToString(_inv2)+"|"+_cliente_original)); +RDebugUtils.currentLine=22085648; + //BA.debugLineNum = 22085648;BA.debugLine="et_pCant.Tag = Round2(precioU,2)&\"|\"&inv&\"|\"&prod"; +__ref._et_pcant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setTag((Object)(BA.NumberToString(__c.Round2((double)(Double.parseDouble(_preciou)),(int) (2)))+"|"+BA.NumberToString(_inv)+"|"+_prodid+"|"+_promo+"|"+BA.NumberToString(_inv2)+"|"+_cliente_original)); +RDebugUtils.currentLine=22085649; + //BA.debugLineNum = 22085649;BA.debugLine="p_prods.Tag = l_pCant.tag"; +__ref._p_prods /*anywheresoftware.b4a.objects.PanelWrapper*/ .setTag(__ref._l_pcant /*anywheresoftware.b4a.objects.LabelWrapper*/ .getTag()); +RDebugUtils.currentLine=22085651; + //BA.debugLineNum = 22085651;BA.debugLine="l_pCant.Text = inv"; +__ref._l_pcant /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_inv)); +RDebugUtils.currentLine=22085655; + //BA.debugLineNum = 22085655;BA.debugLine="l_pCant.BringToFront"; +__ref._l_pcant /*anywheresoftware.b4a.objects.LabelWrapper*/ .BringToFront(); +RDebugUtils.currentLine=22085656; + //BA.debugLineNum = 22085656;BA.debugLine="et_pCant.SendToBack"; +__ref._et_pcant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .SendToBack(); +RDebugUtils.currentLine=22085659; + //BA.debugLineNum = 22085659;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=22085660; + //BA.debugLineNum = 22085660;BA.debugLine="End Sub"; +return null; +} +public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _b4xpage_closerequest(reparto_izca.keymon.lat.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(reparto_izca.keymon.lat.c_historico parent,reparto_izca.keymon.lat.c_historico __ref) { +this.parent = parent; +this.__ref = __ref; +this.__ref = parent; +} +reparto_izca.keymon.lat.c_historico __ref; +reparto_izca.keymon.lat.c_historico parent; + +@Override +public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="c_historico"; + + while (true) { + switch (state) { + case -1: +{ +parent.__c.ReturnFromResumableSub(this,null);return;} +case 0: +//C +this.state = -1; +RDebugUtils.currentLine=21889027; + //BA.debugLineNum = 21889027;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +parent._b4xpages._showpage /*String*/ (ba,"Cliente"); +RDebugUtils.currentLine=21889029; + //BA.debugLineNum = 21889029;BA.debugLine="Return False"; +if (true) { +parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; +RDebugUtils.currentLine=21889030; + //BA.debugLineNum = 21889030;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public String _b4xpage_created(reparto_izca.keymon.lat.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=21626880; + //BA.debugLineNum = 21626880;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +RDebugUtils.currentLine=21626881; + //BA.debugLineNum = 21626881;BA.debugLine="Root = Root1"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _root1; +RDebugUtils.currentLine=21626883; + //BA.debugLineNum = 21626883;BA.debugLine="g.Initialize(\"GPS\")"; +__ref._g /*anywheresoftware.b4a.gps.GPS*/ .Initialize("GPS"); +RDebugUtils.currentLine=21626884; + //BA.debugLineNum = 21626884;BA.debugLine="Root.LoadLayout(\"historico\")"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("historico",ba); +RDebugUtils.currentLine=21626885; + //BA.debugLineNum = 21626885;BA.debugLine="b_borra.Visible = False"; +__ref._b_borra /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=21626886; + //BA.debugLineNum = 21626886;BA.debugLine="Titulo.Text = \"Pedido\""; +__ref._titulo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("Pedido")); +RDebugUtils.currentLine=21626887; + //BA.debugLineNum = 21626887;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(reparto_izca.keymon.lat.c_historico __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_historico"; +RDebugUtils.currentLine=21495808; + //BA.debugLineNum = 21495808;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=21495809; + //BA.debugLineNum = 21495809;BA.debugLine="Private Root As B4XView 'ignore"; +_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=21495810; + //BA.debugLineNum = 21495810;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=21495811; + //BA.debugLineNum = 21495811;BA.debugLine="Dim g As GPS"; +_g = new anywheresoftware.b4a.gps.GPS(); +RDebugUtils.currentLine=21495812; + //BA.debugLineNum = 21495812;BA.debugLine="Dim clie_id As String"; +_clie_id = ""; +RDebugUtils.currentLine=21495813; + //BA.debugLineNum = 21495813;BA.debugLine="Dim sDate,sTime As String"; +_sdate = ""; +_stime = ""; +RDebugUtils.currentLine=21495814; + //BA.debugLineNum = 21495814;BA.debugLine="Dim usuario As String"; +_usuario = ""; +RDebugUtils.currentLine=21495815; + //BA.debugLineNum = 21495815;BA.debugLine="Dim c As Cursor"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=21495817; + //BA.debugLineNum = 21495817;BA.debugLine="Dim b_regresar As Button"; +_b_regresar = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=21495818; + //BA.debugLineNum = 21495818;BA.debugLine="Dim ListView1 As ListView"; +_listview1 = new anywheresoftware.b4a.objects.ListViewWrapper(); +RDebugUtils.currentLine=21495819; + //BA.debugLineNum = 21495819;BA.debugLine="Dim L_CANT As Label"; +_l_cant = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=21495820; + //BA.debugLineNum = 21495820;BA.debugLine="Dim L_TOTAL As Label"; +_l_total = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=21495821; + //BA.debugLineNum = 21495821;BA.debugLine="Dim b_borra As Button"; +_b_borra = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=21495822; + //BA.debugLineNum = 21495822;BA.debugLine="Dim Existe As String"; +_existe = ""; +RDebugUtils.currentLine=21495823; + //BA.debugLineNum = 21495823;BA.debugLine="Dim result As String"; +_result = ""; +RDebugUtils.currentLine=21495825; + //BA.debugLineNum = 21495825;BA.debugLine="Dim cuantos As String"; +_cuantos = ""; +RDebugUtils.currentLine=21495826; + //BA.debugLineNum = 21495826;BA.debugLine="Dim nombre_prod As String"; +_nombre_prod = ""; +RDebugUtils.currentLine=21495827; + //BA.debugLineNum = 21495827;BA.debugLine="Dim cuantos_pedido As String"; +_cuantos_pedido = ""; +RDebugUtils.currentLine=21495828; + //BA.debugLineNum = 21495828;BA.debugLine="Private Titulo As Label"; +_titulo = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=21495829; + //BA.debugLineNum = 21495829;BA.debugLine="Private P1 As Panel"; +_p1 = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=21495830; + //BA.debugLineNum = 21495830;BA.debugLine="Private lv2 As ListView"; +_lv2 = new anywheresoftware.b4a.objects.ListViewWrapper(); +RDebugUtils.currentLine=21495831; + //BA.debugLineNum = 21495831;BA.debugLine="Private p_principal As Panel"; +_p_principal = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=21495832; + //BA.debugLineNum = 21495832;BA.debugLine="Dim clv_pedido As CustomListView"; +_clv_pedido = new b4a.example3.customlistview(); +RDebugUtils.currentLine=21495833; + //BA.debugLineNum = 21495833;BA.debugLine="Private p_prods As Panel"; +_p_prods = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=21495834; + //BA.debugLineNum = 21495834;BA.debugLine="Private l_prodX As Label"; +_l_prodx = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=21495835; + //BA.debugLineNum = 21495835;BA.debugLine="Private l_pCant As Label"; +_l_pcant = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=21495836; + //BA.debugLineNum = 21495836;BA.debugLine="Private et_pCant As EditText"; +_et_pcant = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=21495837; + //BA.debugLineNum = 21495837;BA.debugLine="Dim bmp As Bitmap"; +_bmp = new anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper(); +RDebugUtils.currentLine=21495838; + //BA.debugLineNum = 21495838;BA.debugLine="Dim etCantHasFocus As Boolean = False"; +_etcanthasfocus = __c.False; +RDebugUtils.currentLine=21495839; + //BA.debugLineNum = 21495839;BA.debugLine="Dim totalProds As Int = 0"; +_totalprods = (int) (0); +RDebugUtils.currentLine=21495840; + //BA.debugLineNum = 21495840;BA.debugLine="Dim totalCompra As Int = 0"; +_totalcompra = (int) (0); +RDebugUtils.currentLine=21495841; + //BA.debugLineNum = 21495841;BA.debugLine="Dim prodsMap As Map"; +_prodsmap = new anywheresoftware.b4a.objects.collections.Map(); +RDebugUtils.currentLine=21495842; + //BA.debugLineNum = 21495842;BA.debugLine="Dim reconstruirPedido As Boolean = False"; +_reconstruirpedido = __c.False; +RDebugUtils.currentLine=21495843; + //BA.debugLineNum = 21495843;BA.debugLine="Dim promoABorrar As String"; +_promoaborrar = ""; +RDebugUtils.currentLine=21495844; + //BA.debugLineNum = 21495844;BA.debugLine="Private b_guardar As Button"; +_b_guardar = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=21495845; + //BA.debugLineNum = 21495845;BA.debugLine="Private b_prodMas As Button"; +_b_prodmas = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=21495846; + //BA.debugLineNum = 21495846;BA.debugLine="Private b_prodMenos As Button"; +_b_prodmenos = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=21495847; + //BA.debugLineNum = 21495847;BA.debugLine="End Sub"; +return ""; +} +public String _cuentaprods(reparto_izca.keymon.lat.c_historico __ref,String _accion) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_historico"; +if (Debug.shouldDelegate(ba, "cuentaprods", false)) + {return ((String) Debug.delegate(ba, "cuentaprods", new Object[] {_accion}));} +int _cantrechazada = 0; +int _i = 0; +anywheresoftware.b4a.objects.B4XViewWrapper _p0 = null; +anywheresoftware.b4a.objects.B4XViewWrapper _p = null; +anywheresoftware.b4a.objects.B4XViewWrapper _cant1 = null; +anywheresoftware.b4a.objects.collections.List _estetag = null; +String _esteprod = ""; +int _estacant = 0; +int _estacantoriginal = 0; +String _estecliente = ""; +String _esteprodnombre = ""; +int _esteclienteoriginal = 0; +String _fechareparto = ""; +String _maxprods = ""; +String _esteprecio = ""; +anywheresoftware.b4a.sql.SQL.CursorWrapper _rr = null; +anywheresoftware.b4a.objects.collections.Map _m = null; +int _bgcolor = 0; +int _textcolor = 0; +String _newpromo = ""; +String _newprecio = ""; +String _pr = ""; +anywheresoftware.b4a.objects.collections.Map _pr1 = null; +String _cantidad1 = ""; +String _totalfinal = ""; +anywheresoftware.b4a.sql.SQL.CursorWrapper _x = null; +String _cantidady = ""; +String _preciou = ""; +String _costototalhist = ""; +anywheresoftware.b4a.sql.SQL.CursorWrapper _z = null; +String _cantidad2 = ""; +RDebugUtils.currentLine=22282240; + //BA.debugLineNum = 22282240;BA.debugLine="Sub cuentaProds(accion As String)"; +RDebugUtils.currentLine=22282242; + //BA.debugLineNum = 22282242;BA.debugLine="Log(\"*********************************************"; +__c.LogImpl("822282242","*******************************************************",0); +RDebugUtils.currentLine=22282243; + //BA.debugLineNum = 22282243;BA.debugLine="Private cantRechazada As Int = 0"; +_cantrechazada = (int) (0); +RDebugUtils.currentLine=22282244; + //BA.debugLineNum = 22282244;BA.debugLine="If Not(reconstruirPedido) Then"; +if (__c.Not(__ref._reconstruirpedido /*boolean*/ )) { +RDebugUtils.currentLine=22282245; + //BA.debugLineNum = 22282245;BA.debugLine="Log(\"*********** CUENTAPRODS - NO RECONSTRUIR\")"; +__c.LogImpl("822282245","*********** CUENTAPRODS - NO RECONSTRUIR",0); +RDebugUtils.currentLine=22282246; + //BA.debugLineNum = 22282246;BA.debugLine="prodsMap.Initialize"; +__ref._prodsmap /*anywheresoftware.b4a.objects.collections.Map*/ .Initialize(); +RDebugUtils.currentLine=22282247; + //BA.debugLineNum = 22282247;BA.debugLine="For i = 0 To clv_pedido.GetSize - 1"; +{ +final int step6 = 1; +final int limit6 = (int) (__ref._clv_pedido /*b4a.example3.customlistview*/ ._getsize()-1); +_i = (int) (0) ; +for (;_i <= limit6 ;_i = _i + step6 ) { +RDebugUtils.currentLine=22282248; + //BA.debugLineNum = 22282248;BA.debugLine="Private p0 As B4XView = clv_pedido.GetPanel(i)"; +_p0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_p0 = __ref._clv_pedido /*b4a.example3.customlistview*/ ._getpanel(_i); +RDebugUtils.currentLine=22282249; + //BA.debugLineNum = 22282249;BA.debugLine="Private p As B4XView = p0.GetView(0)"; +_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_p = _p0.GetView((int) (0)); +RDebugUtils.currentLine=22282250; + //BA.debugLineNum = 22282250;BA.debugLine="Private cant1 As B4XView = p.GetView(2).GetView"; +_cant1 = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_cant1 = _p.GetView((int) (2)).GetView((int) (3)); +RDebugUtils.currentLine=22282251; + //BA.debugLineNum = 22282251;BA.debugLine="If cant1.Text = \"\" Then cant1.Text = 0"; +if ((_cant1.getText()).equals("")) { +_cant1.setText(BA.ObjectToCharSequence(0));}; +RDebugUtils.currentLine=22282253; + //BA.debugLineNum = 22282253;BA.debugLine="Private esteTag As List = Regex.Split(\"\\|\", can"; +_estetag = new anywheresoftware.b4a.objects.collections.List(); +_estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(__c.Regex.Split("\\|",BA.ObjectToString(_cant1.getTag()))); +RDebugUtils.currentLine=22282254; + //BA.debugLineNum = 22282254;BA.debugLine="Log(\"-------------------------------------\")"; +__c.LogImpl("822282254","-------------------------------------",0); +RDebugUtils.currentLine=22282255; + //BA.debugLineNum = 22282255;BA.debugLine="Log($\"ET: ${esteTag}\"$)"; +__c.LogImpl("822282255",("ET: "+__c.SmartStringFormatter("",(Object)(_estetag.getObject()))+""),0); +RDebugUtils.currentLine=22282256; + //BA.debugLineNum = 22282256;BA.debugLine="Private esteProd As String = esteTag.Get(2)"; +_esteprod = BA.ObjectToString(_estetag.Get((int) (2))); +RDebugUtils.currentLine=22282257; + //BA.debugLineNum = 22282257;BA.debugLine="Private estaCant As Int = cant1.Text"; +_estacant = (int)(Double.parseDouble(_cant1.getText())); +RDebugUtils.currentLine=22282258; + //BA.debugLineNum = 22282258;BA.debugLine="Private estaCantOriginal As Int = esteTag.Get(1"; +_estacantoriginal = (int)(BA.ObjectToNumber(_estetag.Get((int) (1)))); +RDebugUtils.currentLine=22282259; + //BA.debugLineNum = 22282259;BA.debugLine="Private esteCliente = Subs.traeCliente"; +_estecliente = _subs._traecliente /*String*/ (ba); +RDebugUtils.currentLine=22282260; + //BA.debugLineNum = 22282260;BA.debugLine="Private esteProdNombre = Subs.traeNombre(estePr"; +_esteprodnombre = _subs._traenombre /*String*/ (ba,_esteprod); +RDebugUtils.currentLine=22282261; + //BA.debugLineNum = 22282261;BA.debugLine="Private esteClienteOriginal As Int = esteTag.Ge"; +_esteclienteoriginal = (int)(BA.ObjectToNumber(_estetag.Get((int) (5)))); +RDebugUtils.currentLine=22282262; + //BA.debugLineNum = 22282262;BA.debugLine="Private fechaReparto As String = Subs.traeFecha"; +_fechareparto = _subs._traefechareparto /*String*/ (ba); +RDebugUtils.currentLine=22282263; + //BA.debugLineNum = 22282263;BA.debugLine="Private maxProds = Subs.traeMaxCantidad(esteTag"; +_maxprods = BA.NumberToString(_subs._traemaxcantidad /*int*/ (ba,BA.ObjectToString(_estetag.Get((int) (5))),BA.ObjectToString(_estetag.Get((int) (2))))); +RDebugUtils.currentLine=22282265; + //BA.debugLineNum = 22282265;BA.debugLine="If cant1.Text > maxProds Then cant1.Text = maxP"; +if ((double)(Double.parseDouble(_cant1.getText()))>(double)(Double.parseDouble(_maxprods))) { +_cant1.setText(BA.ObjectToCharSequence(_maxprods));}; +RDebugUtils.currentLine=22282267; + //BA.debugLineNum = 22282267;BA.debugLine="cantRechazada = esteTag.Get(4) - cant1.Text"; +_cantrechazada = (int) ((double)(BA.ObjectToNumber(_estetag.Get((int) (4))))-(double)(Double.parseDouble(_cant1.getText()))); +RDebugUtils.currentLine=22282270; + //BA.debugLineNum = 22282270;BA.debugLine="Log($\"${Subs.traeCantidadRechazada(esteClienteO"; +__c.LogImpl("822282270",(""+__c.SmartStringFormatter("",(Object)(_subs._traecantidadrechazada /*int*/ (ba,BA.NumberToString(_esteclienteoriginal),_esteprod)))+", "+__c.SmartStringFormatter("",(Object)(_subs._traecantidadvendida /*int*/ (ba,BA.NumberToString(_esteclienteoriginal),_esteprod)))+""),0); +RDebugUtils.currentLine=22282273; + //BA.debugLineNum = 22282273;BA.debugLine="LogColor($\"cantRechazada = ${cantRechazada}\"$,"; +__c.LogImpl("822282273",("cantRechazada = "+__c.SmartStringFormatter("",(Object)(_cantrechazada))+""),__c.Colors.Magenta); +RDebugUtils.currentLine=22282274; + //BA.debugLineNum = 22282274;BA.debugLine="Private estePrecio As String = 0"; +_esteprecio = BA.NumberToString(0); +RDebugUtils.currentLine=22282275; + //BA.debugLineNum = 22282275;BA.debugLine="If Subs.traePrecio(esteProd, 1) <> Null Then es"; +if (_subs._traeprecio /*String*/ (ba,_esteprod,BA.NumberToString(1))!= null) { +_esteprecio = BA.NumberToString((double)(Double.parseDouble(_subs._traeprecio /*String*/ (ba,_esteprod,_subs._traealmacen /*String*/ (ba))))*_cantrechazada);}; +RDebugUtils.currentLine=22282280; + //BA.debugLineNum = 22282280;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update HIST_VENTAS"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update HIST_VENTAS set HVD_PARCIAL = 1, HVD_CANT = ? WHERE HVD_PROID = ? and HVD_CLIENTE in (Select CUENTA from cuentaa)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_cant1.getText(),_esteprod})); +RDebugUtils.currentLine=22282281; + //BA.debugLineNum = 22282281;BA.debugLine="Private rr As Cursor = Starter.skmt.ExecQuery($"; +_rr = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_rr = (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(REP_CLIENTE) as hayRechazo from REPARTO where rep_prodid = '"+__c.SmartStringFormatter("",(Object)(_esteprod))+"' and REP_CLIENTE in (Select CUENTA from cuentaa)")))); +RDebugUtils.currentLine=22282282; + //BA.debugLineNum = 22282282;BA.debugLine="rr.Position = 0"; +_rr.setPosition((int) (0)); +RDebugUtils.currentLine=22282284; + //BA.debugLineNum = 22282284;BA.debugLine="If rr.GetString(\"hayRechazo\") = 0 Then"; +if ((_rr.GetString("hayRechazo")).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=22282285; + //BA.debugLineNum = 22282285;BA.debugLine="Log(\"INSERTAMOS EN REPARTO\")"; +__c.LogImpl("822282285","INSERTAMOS EN REPARTO",0); +RDebugUtils.currentLine=22282286; + //BA.debugLineNum = 22282286;BA.debugLine="Starter.skmt.ExecNonQuery2(\"insert into repart"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into reparto(REP_CLIENTE, REP_PRONOMBRE, REP_CANT, REP_COSTO_TOT, REP_FECHA, REP_RECHAZO, REP_PRODID, REP_PRECIO, REP_CLI_ORIG) VALUES (?,?,?,?,?,1,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_estecliente,_esteprodnombre,BA.NumberToString(0),_esteprecio,_fechareparto,_esteprod,_esteprecio,_estecliente})); +RDebugUtils.currentLine=22282287; + //BA.debugLineNum = 22282287;BA.debugLine="Starter.skmt.ExecNonQuery2(\"insert into repart"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into reparto(REP_CLIENTE, REP_PRONOMBRE, REP_CANT, REP_COSTO_TOT, REP_FECHA, REP_RECHAZO, REP_PRODID, REP_PRECIO, REP_CLI_ORIG) VALUES (?,?,?,?,?,0,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_estecliente,_esteprodnombre,BA.NumberToString(_cantrechazada),BA.NumberToString(0),_fechareparto,_esteprod,_esteprecio,_estecliente})); + }else +{RDebugUtils.currentLine=22282288; + //BA.debugLineNum = 22282288;BA.debugLine="Else if esteClienteOriginal = \"0\" Then 'Actuali"; +if (_esteclienteoriginal==(double)(Double.parseDouble("0"))) { + }else { +RDebugUtils.currentLine=22282292; + //BA.debugLineNum = 22282292;BA.debugLine="Log($\"Actualizamos REP_CANT RECHAZO = ${cantRe"; +__c.LogImpl("822282292",("Actualizamos REP_CANT RECHAZO = "+__c.SmartStringFormatter("",(Object)(_cantrechazada))+""),0); + }} +; +RDebugUtils.currentLine=22282297; + //BA.debugLineNum = 22282297;BA.debugLine="If cant1.Text > 0 Then"; +if ((double)(Double.parseDouble(_cant1.getText()))>0) { +RDebugUtils.currentLine=22282300; + //BA.debugLineNum = 22282300;BA.debugLine="Private m As Map"; +_m = new anywheresoftware.b4a.objects.collections.Map(); +RDebugUtils.currentLine=22282301; + //BA.debugLineNum = 22282301;BA.debugLine="m=CreateMap(\"cant\":cant1.Text, \"cant2\":esteTag"; +_m = __c.createMap(new Object[] {(Object)("cant"),(Object)(_cant1.getText()),(Object)("cant2"),_estetag.Get((int) (4)),(Object)("precio"),_estetag.Get((int) (0)),(Object)("promo"),_estetag.Get((int) (3)),(Object)("nombre"),(Object)(_subs._traenombre /*String*/ (ba,BA.ObjectToString(_estetag.Get((int) (2))))),(Object)("cli_orig"),_estetag.Get((int) (5))}); +RDebugUtils.currentLine=22282303; + //BA.debugLineNum = 22282303;BA.debugLine="prodsMap.Put(esteTag.Get(2), m)"; +__ref._prodsmap /*anywheresoftware.b4a.objects.collections.Map*/ .Put(_estetag.Get((int) (2)),(Object)(_m.getObject())); + }; +RDebugUtils.currentLine=22282305; + //BA.debugLineNum = 22282305;BA.debugLine="Log(\"-------------------------------------\")"; +__c.LogImpl("822282305","-------------------------------------",0); + } +}; + }; +RDebugUtils.currentLine=22282308; + //BA.debugLineNum = 22282308;BA.debugLine="Private bgColor, textColor As Int"; +_bgcolor = 0; +_textcolor = 0; +RDebugUtils.currentLine=22282310; + //BA.debugLineNum = 22282310;BA.debugLine="If reconstruirPedido Then"; +if (__ref._reconstruirpedido /*boolean*/ ) { +RDebugUtils.currentLine=22282311; + //BA.debugLineNum = 22282311;BA.debugLine="Log(\"*********** CUENTAPRODS - SI RECONSTRUIR\")"; +__c.LogImpl("822282311","*********** CUENTAPRODS - SI RECONSTRUIR",0); +RDebugUtils.currentLine=22282312; + //BA.debugLineNum = 22282312;BA.debugLine="Private newPromo, newPrecio As String"; +_newpromo = ""; +_newprecio = ""; +RDebugUtils.currentLine=22282313; + //BA.debugLineNum = 22282313;BA.debugLine="clv_pedido.Clear"; +__ref._clv_pedido /*b4a.example3.customlistview*/ ._clear(); +RDebugUtils.currentLine=22282314; + //BA.debugLineNum = 22282314;BA.debugLine="Log(\"Usamos PRODSMAP\")"; +__c.LogImpl("822282314","Usamos PRODSMAP",0); +RDebugUtils.currentLine=22282315; + //BA.debugLineNum = 22282315;BA.debugLine="For Each pr As String In prodsMap.Keys"; +{ +final anywheresoftware.b4a.BA.IterableList group53 = __ref._prodsmap /*anywheresoftware.b4a.objects.collections.Map*/ .Keys(); +final int groupLen53 = group53.getSize() +;int index53 = 0; +; +for (; index53 < groupLen53;index53++){ +_pr = BA.ObjectToString(group53.Get(index53)); +RDebugUtils.currentLine=22282316; + //BA.debugLineNum = 22282316;BA.debugLine="Private pr1 As Map = prodsMap.Get(pr)"; +_pr1 = new anywheresoftware.b4a.objects.collections.Map(); +_pr1 = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._prodsmap /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_pr)))); +RDebugUtils.currentLine=22282317; + //BA.debugLineNum = 22282317;BA.debugLine="Log(\"PPP: \" & pr & \"|PromoABorrar=\" & promoABor"; +__c.LogImpl("822282317","PPP: "+_pr+"|PromoABorrar="+__ref._promoaborrar /*String*/ +"|"+BA.ObjectToString(_pr1),0); +RDebugUtils.currentLine=22282318; + //BA.debugLineNum = 22282318;BA.debugLine="bgColor = Colors.RGB(177, 200, 249)'azul"; +_bgcolor = __c.Colors.RGB((int) (177),(int) (200),(int) (249)); +RDebugUtils.currentLine=22282319; + //BA.debugLineNum = 22282319;BA.debugLine="textColor = Colors.black"; +_textcolor = __c.Colors.Black; +RDebugUtils.currentLine=22282320; + //BA.debugLineNum = 22282320;BA.debugLine="newPromo = pr1.Get(\"promo\")"; +_newpromo = BA.ObjectToString(_pr1.Get((Object)("promo"))); +RDebugUtils.currentLine=22282321; + //BA.debugLineNum = 22282321;BA.debugLine="newPrecio = pr1.Get(\"precio\")"; +_newprecio = BA.ObjectToString(_pr1.Get((Object)("precio"))); +RDebugUtils.currentLine=22282322; + //BA.debugLineNum = 22282322;BA.debugLine="Log(\"AAA: \" & newPromo & \"|\" & promoABorrar)"; +__c.LogImpl("822282322","AAA: "+_newpromo+"|"+__ref._promoaborrar /*String*/ ,0); +RDebugUtils.currentLine=22282323; + //BA.debugLineNum = 22282323;BA.debugLine="If newPromo = promoABorrar Then"; +if ((_newpromo).equals(__ref._promoaborrar /*String*/ )) { +RDebugUtils.currentLine=22282324; + //BA.debugLineNum = 22282324;BA.debugLine="newPromo = 1"; +_newpromo = BA.NumberToString(1); +RDebugUtils.currentLine=22282325; + //BA.debugLineNum = 22282325;BA.debugLine="newPrecio = Subs.traePrecio(pr, False) * pr1.G"; +_newprecio = BA.NumberToString((double)(Double.parseDouble(_subs._traeprecio /*String*/ (ba,_pr,BA.ObjectToString(__c.False))))*(double)(BA.ObjectToNumber(_pr1.Get((Object)("cant"))))); +RDebugUtils.currentLine=22282327; + //BA.debugLineNum = 22282327;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENTAS"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update HIST_VENTAS set HVD_COSTO_TOT = "+__c.SmartStringFormatter("",(Object)(_newprecio))+", HVD_CODPROMO = '"+__c.SmartStringFormatter("",(Object)(_subs._traealmacen /*String*/ (ba)))+"' WHERE HVD_PRONOMBRE = '"+__c.SmartStringFormatter("",_pr1.Get((Object)("nombre")))+"' and HVD_cliente in (Select CUENTA from cuentaa)")); +RDebugUtils.currentLine=22282328; + //BA.debugLineNum = 22282328;BA.debugLine="LogColor(\"CAMBIAMOS PROMO: \" & newPromo, Color"; +__c.LogImpl("822282328","CAMBIAMOS PROMO: "+_newpromo,__c.Colors.Magenta); + }; +RDebugUtils.currentLine=22282330; + //BA.debugLineNum = 22282330;BA.debugLine="If newPromo <> \"1\" Then"; +if ((_newpromo).equals("1") == false) { +RDebugUtils.currentLine=22282332; + //BA.debugLineNum = 22282332;BA.debugLine="bgColor = Colors.White"; +_bgcolor = __c.Colors.White; + }; +RDebugUtils.currentLine=22282334; + //BA.debugLineNum = 22282334;BA.debugLine="Log($\"CLI: ${pr1.Get(\"nombre\")}, ${newPrecio},"; +__c.LogImpl("822282334",("CLI: "+__c.SmartStringFormatter("",_pr1.Get((Object)("nombre")))+", "+__c.SmartStringFormatter("",(Object)(_newprecio))+", "+__c.SmartStringFormatter("",_pr1.Get((Object)("cant")))+", "+__c.SmartStringFormatter("",_pr1.Get((Object)("cant2")))+""),0); +RDebugUtils.currentLine=22282335; + //BA.debugLineNum = 22282335;BA.debugLine="clv_pedido.Add(CreateListItem(pr1.Get(\"nombre\")"; +__ref._clv_pedido /*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,BA.ObjectToString(_pr1.Get((Object)("nombre"))),_newprecio,(int)(BA.ObjectToNumber(_pr1.Get((Object)("cant")))),(int)(BA.ObjectToNumber(_pr1.Get((Object)("cant2")))),__ref._clv_pedido /*b4a.example3.customlistview*/ ._asview().getWidth(),__c.DipToCurrent((int) (50)),__ref._bmp /*anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper*/ ,_pr,_bgcolor,_textcolor,_newpromo,BA.ObjectToString(_pr1.Get((Object)("cli_orig")))).getObject())),_pr1.Get((Object)("nombre"))); +RDebugUtils.currentLine=22282336; + //BA.debugLineNum = 22282336;BA.debugLine="reconstruirPedido = False"; +__ref._reconstruirpedido /*boolean*/ = __c.False; + } +}; +RDebugUtils.currentLine=22282338; + //BA.debugLineNum = 22282338;BA.debugLine="promoABorrar = \"\""; +__ref._promoaborrar /*String*/ = ""; + }; +RDebugUtils.currentLine=22282340; + //BA.debugLineNum = 22282340;BA.debugLine="Log($\"Total Prods: ${totalProds}, Total Compra: $"; +__c.LogImpl("822282340",("Total Prods: "+__c.SmartStringFormatter("",(Object)(__ref._totalprods /*int*/ ))+", Total Compra: $"+__c.SmartStringFormatter("1.2",(Object)(__ref._totalcompra /*int*/ ))+""),0); +RDebugUtils.currentLine=22282341; + //BA.debugLineNum = 22282341;BA.debugLine="LogColor(\"prodsMap=\" & prodsMap, Colors.Green)"; +__c.LogImpl("822282341","prodsMap="+BA.ObjectToString(__ref._prodsmap /*anywheresoftware.b4a.objects.collections.Map*/ ),__c.Colors.Green); +RDebugUtils.currentLine=22282344; + //BA.debugLineNum = 22282344;BA.debugLine="LogColor(prodsMap, Colors.Blue)"; +__c.LogImpl("822282344",BA.ObjectToString(__ref._prodsmap /*anywheresoftware.b4a.objects.collections.Map*/ ),__c.Colors.Blue); +RDebugUtils.currentLine=22282345; + //BA.debugLineNum = 22282345;BA.debugLine="c = Starter.skmt.ExecQuery($\"SELECT sum(HVD_CANT)"; +__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 sum(HVD_CANT) as CANTIDAD FROM HIST_VENTAS WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)")))); +RDebugUtils.currentLine=22282346; + //BA.debugLineNum = 22282346;BA.debugLine="Dim cantidad1 As String = 0"; +_cantidad1 = BA.NumberToString(0); +RDebugUtils.currentLine=22282347; + //BA.debugLineNum = 22282347;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=22282348; + //BA.debugLineNum = 22282348;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=22282349; + //BA.debugLineNum = 22282349;BA.debugLine="cantidad1 = c.GetString(\"CANTIDAD\")"; +_cantidad1 = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CANTIDAD"); +RDebugUtils.currentLine=22282350; + //BA.debugLineNum = 22282350;BA.debugLine="L_CANT.Text = Round(cantidad1)"; +__ref._l_cant /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.Round((double)(Double.parseDouble(_cantidad1))))); + }; +RDebugUtils.currentLine=22282352; + //BA.debugLineNum = 22282352;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=22282354; + //BA.debugLineNum = 22282354;BA.debugLine="Dim totalfinal As String = 0"; +_totalfinal = BA.NumberToString(0); +RDebugUtils.currentLine=22282355; + //BA.debugLineNum = 22282355;BA.debugLine="For Each pr As String In prodsMap.Keys"; +{ +final anywheresoftware.b4a.BA.IterableList group88 = __ref._prodsmap /*anywheresoftware.b4a.objects.collections.Map*/ .Keys(); +final int groupLen88 = group88.getSize() +;int index88 = 0; +; +for (; index88 < groupLen88;index88++){ +_pr = BA.ObjectToString(group88.Get(index88)); +RDebugUtils.currentLine=22282356; + //BA.debugLineNum = 22282356;BA.debugLine="Private pr1 As Map = prodsMap.Get(pr)"; +_pr1 = new anywheresoftware.b4a.objects.collections.Map(); +_pr1 = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._prodsmap /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_pr)))); +RDebugUtils.currentLine=22282358; + //BA.debugLineNum = 22282358;BA.debugLine="Dim x As Cursor = Starter.skmt.ExecQuery($\"SELEC"; +_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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT CAT_GP_PRECIO FROM CAT_GUNAPROD WHERE CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_pr))+"'")))); +RDebugUtils.currentLine=22282359; + //BA.debugLineNum = 22282359;BA.debugLine="c = Starter.skmt.ExecQuery($\"SELECT HVD_CANT 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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT HVD_CANT FROM HIST_VENTAS WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND HVD_PROID ='"+__c.SmartStringFormatter("",(Object)(_pr))+"' ")))); +RDebugUtils.currentLine=22282360; + //BA.debugLineNum = 22282360;BA.debugLine="Dim cantidady As String = 0"; +_cantidady = BA.NumberToString(0); +RDebugUtils.currentLine=22282361; + //BA.debugLineNum = 22282361;BA.debugLine="If c.RowCount >0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=22282362; + //BA.debugLineNum = 22282362;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=22282363; + //BA.debugLineNum = 22282363;BA.debugLine="cantidady = c.GetString(\"HVD_CANT\")"; +_cantidady = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CANT"); + }; +RDebugUtils.currentLine=22282366; + //BA.debugLineNum = 22282366;BA.debugLine="If x.RowCount > 0 Then"; +if (_x.getRowCount()>0) { +RDebugUtils.currentLine=22282367; + //BA.debugLineNum = 22282367;BA.debugLine="x.Position = 0"; +_x.setPosition((int) (0)); +RDebugUtils.currentLine=22282369; + //BA.debugLineNum = 22282369;BA.debugLine="Dim preciou As String = x.GetString(\"CAT_GP_PRE"; +_preciou = _x.GetString("CAT_GP_PRECIO"); +RDebugUtils.currentLine=22282370; + //BA.debugLineNum = 22282370;BA.debugLine="Dim costototalhist As String = preciou * canti"; +_costototalhist = BA.NumberToString((double)(Double.parseDouble(_preciou))*(double)(Double.parseDouble(_cantidady))); + }; +RDebugUtils.currentLine=22282373; + //BA.debugLineNum = 22282373;BA.debugLine="totalfinal = totalfinal + costototalhist"; +_totalfinal = BA.NumberToString((double)(Double.parseDouble(_totalfinal))+(double)(Double.parseDouble(_costototalhist))); +RDebugUtils.currentLine=22282374; + //BA.debugLineNum = 22282374;BA.debugLine="x.Close"; +_x.Close(); + } +}; +RDebugUtils.currentLine=22282376; + //BA.debugLineNum = 22282376;BA.debugLine="L_TOTAL.Text = Round2(totalfinal, 2)"; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.Round2((double)(Double.parseDouble(_totalfinal)),(int) (2)))); +RDebugUtils.currentLine=22282377; + //BA.debugLineNum = 22282377;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=22282379; + //BA.debugLineNum = 22282379;BA.debugLine="c = Starter.skmt.ExecQuery(\"select COUNT(*) AS 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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select COUNT(*) AS CUANTOS from REPARTO where REP_CLIENTE in (select cuenta from cuentaa) and REP_RECHAZO = '0' and REP_CANT > 0 order by REP_PRONOMBRE"))); +RDebugUtils.currentLine=22282380; + //BA.debugLineNum = 22282380;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=22282381; + //BA.debugLineNum = 22282381;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=22282382; + //BA.debugLineNum = 22282382;BA.debugLine="If c.GetString(\"CUANTOS\") > 0 Then"; +if ((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS")))>0) { +RDebugUtils.currentLine=22282384; + //BA.debugLineNum = 22282384;BA.debugLine="Dim z As Cursor = Starter.skmt.ExecQuery($\"sele"; +_z = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_z = (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 SUM(REP_CANT) AS CANTIDAD , SUM(REP_PRECIO) AS PRECIO from REPARTO where REP_CLIENTE in (select cuenta from cuentaa) and REP_RECHAZO = '0' and REP_CANT > 0 order by REP_PRONOMBRE")))); +RDebugUtils.currentLine=22282385; + //BA.debugLineNum = 22282385;BA.debugLine="Dim cantidad2 As String = 0"; +_cantidad2 = BA.NumberToString(0); +RDebugUtils.currentLine=22282387; + //BA.debugLineNum = 22282387;BA.debugLine="If z.RowCount > 0 Then"; +if (_z.getRowCount()>0) { +RDebugUtils.currentLine=22282388; + //BA.debugLineNum = 22282388;BA.debugLine="z.Position = 0"; +_z.setPosition((int) (0)); +RDebugUtils.currentLine=22282389; + //BA.debugLineNum = 22282389;BA.debugLine="cantidad2= z.GetString(\"CANTIDAD\")"; +_cantidad2 = _z.GetString("CANTIDAD"); +RDebugUtils.currentLine=22282392; + //BA.debugLineNum = 22282392;BA.debugLine="L_CANT.Text = Round((cantidad1 + cantidad2))"; +__ref._l_cant /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.Round(((double)(Double.parseDouble(_cantidad1))+(double)(Double.parseDouble(_cantidad2)))))); + }; +RDebugUtils.currentLine=22282394; + //BA.debugLineNum = 22282394;BA.debugLine="z.Close"; +_z.Close(); + }; + }; +RDebugUtils.currentLine=22282402; + //BA.debugLineNum = 22282402;BA.debugLine="End Sub"; +return ""; +} +public String _gps_locationchanged(reparto_izca.keymon.lat.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=21757952; + //BA.debugLineNum = 21757952;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; +RDebugUtils.currentLine=21757955; + //BA.debugLineNum = 21757955;BA.debugLine="End Sub"; +return ""; +} +public Object _initialize(reparto_izca.keymon.lat.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=21561344; + //BA.debugLineNum = 21561344;BA.debugLine="Public Sub Initialize As Object"; +RDebugUtils.currentLine=21561345; + //BA.debugLineNum = 21561345;BA.debugLine="Return Me"; +if (true) return this; +RDebugUtils.currentLine=21561346; + //BA.debugLineNum = 21561346;BA.debugLine="End Sub"; +return null; +} +public String _l_pcant_click(reparto_izca.keymon.lat.c_historico __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_historico"; +if (Debug.shouldDelegate(ba, "l_pcant_click", false)) + {return ((String) Debug.delegate(ba, "l_pcant_click", null));} +RDebugUtils.currentLine=22413312; + //BA.debugLineNum = 22413312;BA.debugLine="Private Sub l_pCant_Click"; +RDebugUtils.currentLine=22413314; + //BA.debugLineNum = 22413314;BA.debugLine="End Sub"; +return ""; +} +public String _listview1_itemlongclick(reparto_izca.keymon.lat.c_historico __ref,int _position,Object _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_historico"; +if (Debug.shouldDelegate(ba, "listview1_itemlongclick", false)) + {return ((String) Debug.delegate(ba, "listview1_itemlongclick", new Object[] {_position,_value}));} +RDebugUtils.currentLine=21954560; + //BA.debugLineNum = 21954560;BA.debugLine="Sub ListView1_ItemLongClick (Position As Int, Valu"; +RDebugUtils.currentLine=21954604; + //BA.debugLineNum = 21954604;BA.debugLine="End Sub"; +return ""; +} +public String _lv2_itemclick(reparto_izca.keymon.lat.c_historico __ref,int _position,Object _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_historico"; +if (Debug.shouldDelegate(ba, "lv2_itemclick", false)) + {return ((String) Debug.delegate(ba, "lv2_itemclick", new Object[] {_position,_value}));} +RDebugUtils.currentLine=22020096; + //BA.debugLineNum = 22020096;BA.debugLine="Sub lv2_ItemClick (Position As Int, Value As Objec"; +RDebugUtils.currentLine=22020157; + //BA.debugLineNum = 22020157;BA.debugLine="End Sub"; +return ""; +} +public String _p_prods_click(reparto_izca.keymon.lat.c_historico __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_historico"; +if (Debug.shouldDelegate(ba, "p_prods_click", false)) + {return ((String) Debug.delegate(ba, "p_prods_click", null));} +RDebugUtils.currentLine=22478848; + //BA.debugLineNum = 22478848;BA.debugLine="Sub p_prods_Click"; +RDebugUtils.currentLine=22478849; + //BA.debugLineNum = 22478849;BA.debugLine="Log(Sender.As(Panel).tag)"; +__c.LogImpl("822478849",BA.ObjectToString(((anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(__c.Sender(ba)))).getTag()),0); +RDebugUtils.currentLine=22478850; + //BA.debugLineNum = 22478850;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/c_mapas.java b/B4A/Objects/src/reparto_izca/keymon/lat/c_mapas.java new file mode 100644 index 0000000..cc7a411 --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/c_mapas.java @@ -0,0 +1,94 @@ +package reparto_izca.keymon.lat; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.B4AClass; +import anywheresoftware.b4a.BALayout; +import anywheresoftware.b4a.debug.*; + +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 anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "reparto_izca.keymon.lat.c_mapas"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", reparto_izca.keymon.lat.c_mapas.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 b4a.example.dateutils _dateutils = null; +public reparto_izca.keymon.lat.main _main = null; +public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; +public reparto_izca.keymon.lat.foto _foto = null; +public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_izca.keymon.lat.starter _starter = null; +public reparto_izca.keymon.lat.tracker _tracker = null; +public reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public Object _initialize(reparto_izca.keymon.lat.c_mapas __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="c_mapas"; +if (Debug.shouldDelegate(ba, "initialize", false)) + {return ((Object) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=22609920; + //BA.debugLineNum = 22609920;BA.debugLine="Public Sub Initialize As Object"; +RDebugUtils.currentLine=22609921; + //BA.debugLineNum = 22609921;BA.debugLine="Return Me"; +if (true) return this; +RDebugUtils.currentLine=22609922; + //BA.debugLineNum = 22609922;BA.debugLine="End Sub"; +return null; +} +public String _b4xpage_created(reparto_izca.keymon.lat.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=22675456; + //BA.debugLineNum = 22675456;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +RDebugUtils.currentLine=22675457; + //BA.debugLineNum = 22675457;BA.debugLine="Root = Root1"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _root1; +RDebugUtils.currentLine=22675460; + //BA.debugLineNum = 22675460;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(reparto_izca.keymon.lat.c_mapas __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_mapas"; +RDebugUtils.currentLine=22544384; + //BA.debugLineNum = 22544384;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=22544385; + //BA.debugLineNum = 22544385;BA.debugLine="Private Root As B4XView 'ignore"; +_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=22544386; + //BA.debugLineNum = 22544386;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=22544387; + //BA.debugLineNum = 22544387;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/c_noventa.java b/B4A/Objects/src/reparto_izca/keymon/lat/c_noventa.java new file mode 100644 index 0000000..b681b8b --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/c_noventa.java @@ -0,0 +1,1287 @@ +package reparto_izca.keymon.lat; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.B4AClass; +import anywheresoftware.b4a.BALayout; +import anywheresoftware.b4a.debug.*; + +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 anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "reparto_izca.keymon.lat.c_noventa"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", reparto_izca.keymon.lat.c_noventa.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.gps.GPS _g = null; +public anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; +public String _comentario = ""; +public anywheresoftware.b4a.objects.ButtonWrapper _cancela = null; +public anywheresoftware.b4a.objects.ButtonWrapper _guarda = null; +public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _r_1 = null; +public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _r_2 = null; +public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _r_3 = null; +public anywheresoftware.b4a.objects.EditTextWrapper _e_comm = null; +public String _motivo = ""; +public String _cuenta = ""; +public String _usuario = ""; +public String _sdate = ""; +public String _stime = ""; +public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _r_4 = null; +public anywheresoftware.b4a.objects.PanelWrapper _p_principal = null; +public anywheresoftware.b4a.sql.SQL.CursorWrapper _d = null; +public reparto_izca.keymon.lat.dbrequestmanager _reqmanager = null; +public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _cb_reprogramar = null; +public int _reprogramar = 0; +public String _pasa_imp = ""; +public reparto_izca.keymon.lat.escposprinter _printer1 = null; +public boolean _impresoraconectada = false; +public int _errorimpresora = 0; +public anywheresoftware.b4a.objects.Serial _cmp20 = null; +public anywheresoftware.b4a.objects.Serial.BluetoothAdmin _btadmin = null; +public anywheresoftware.b4a.objects.streams.File.TextWriterWrapper _printer = null; +public b4a.example.dateutils _dateutils = null; +public reparto_izca.keymon.lat.main _main = null; +public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; +public reparto_izca.keymon.lat.foto _foto = null; +public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_izca.keymon.lat.starter _starter = null; +public reparto_izca.keymon.lat.tracker _tracker = null; +public reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public Object _initialize(reparto_izca.keymon.lat.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=22806528; + //BA.debugLineNum = 22806528;BA.debugLine="Public Sub Initialize As Object"; +RDebugUtils.currentLine=22806529; + //BA.debugLineNum = 22806529;BA.debugLine="Return Me"; +if (true) return this; +RDebugUtils.currentLine=22806530; + //BA.debugLineNum = 22806530;BA.debugLine="End Sub"; +return null; +} +public void _b_imp_click(reparto_izca.keymon.lat.c_noventa __ref) throws Exception{ +RDebugUtils.currentModule="c_noventa"; +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_B_IMP_Click extends BA.ResumableSub { +public ResumableSub_B_IMP_Click(reparto_izca.keymon.lat.c_noventa parent,reparto_izca.keymon.lat.c_noventa __ref) { +this.parent = parent; +this.__ref = __ref; +this.__ref = parent; +} +reparto_izca.keymon.lat.c_noventa __ref; +reparto_izca.keymon.lat.c_noventa parent; +int _cont = 0; +anywheresoftware.b4a.sql.SQL.CursorWrapper _clientecur = null; +int _resultado = 0; + +@Override +public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="c_noventa"; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +RDebugUtils.currentLine=23396353; + //BA.debugLineNum = 23396353;BA.debugLine="c=Starter.skmt.ExecQuery(\"select USUARIO from 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)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); +RDebugUtils.currentLine=23396354; + //BA.debugLineNum = 23396354;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=23396355; + //BA.debugLineNum = 23396355;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=23396357; + //BA.debugLineNum = 23396357;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +parent.__c.DateTime.setDateFormat("MM/dd/yyyy"); +RDebugUtils.currentLine=23396358; + //BA.debugLineNum = 23396358;BA.debugLine="DateTime.TimeFormat=\"HH:mm:ss\""; +parent.__c.DateTime.setTimeFormat("HH:mm:ss"); +RDebugUtils.currentLine=23396359; + //BA.debugLineNum = 23396359;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = parent.__c.DateTime.Date(parent.__c.DateTime.getNow()); +RDebugUtils.currentLine=23396360; + //BA.debugLineNum = 23396360;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = parent.__c.DateTime.Time(parent.__c.DateTime.getNow()); +RDebugUtils.currentLine=23396361; + //BA.debugLineNum = 23396361;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=23396367; + //BA.debugLineNum = 23396367;BA.debugLine="ProgressDialogShow(\"Imprimiendo, un momento ...\")"; +parent.__c.ProgressDialogShow(ba,BA.ObjectToCharSequence("Imprimiendo, un momento ...")); +RDebugUtils.currentLine=23396368; + //BA.debugLineNum = 23396368;BA.debugLine="Printer1.DisConnect"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._disconnect /*String*/ (null); +RDebugUtils.currentLine=23396369; + //BA.debugLineNum = 23396369;BA.debugLine="If Not(Printer1.IsConnected) Then"; +if (true) break; + +case 1: +//if +this.state = 38; +if (parent.__c.Not(__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._isconnected /*boolean*/ (null))) { +this.state = 3; +}else { +this.state = 21; +}if (true) break; + +case 3: +//C +this.state = 4; +RDebugUtils.currentLine=23396371; + //BA.debugLineNum = 23396371;BA.debugLine="Printer1.Connect"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._connect /*boolean*/ (null); +RDebugUtils.currentLine=23396372; + //BA.debugLineNum = 23396372;BA.debugLine="Private cont As Int = 0"; +_cont = (int) (0); +RDebugUtils.currentLine=23396373; + //BA.debugLineNum = 23396373;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=23396374; + //BA.debugLineNum = 23396374;BA.debugLine="Sleep(1000)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_noventa", "b_imp_click"),(int) (1000)); +this.state = 55; +return; +case 55: +//C +this.state = 7; +; +RDebugUtils.currentLine=23396376; + //BA.debugLineNum = 23396376;BA.debugLine="cont = cont + 1"; +_cont = (int) (_cont+1); +RDebugUtils.currentLine=23396377; + //BA.debugLineNum = 23396377;BA.debugLine="If cont = 2 Then Printer1.Connect 'Tratamos de"; +if (true) break; + +case 7: +//if +this.state = 12; +if (_cont==2) { +this.state = 9; +;}if (true) break; + +case 9: +//C +this.state = 12; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._connect /*boolean*/ (null); +if (true) break; + +case 12: +//C +this.state = 13; +; +RDebugUtils.currentLine=23396378; + //BA.debugLineNum = 23396378;BA.debugLine="If cont > 3 Then impresoraConectada = True"; +if (true) break; + +case 13: +//if +this.state = 18; +if (_cont>3) { +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=23396380; + //BA.debugLineNum = 23396380;BA.debugLine="Sleep(500)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_noventa", "b_imp_click"),(int) (500)); +this.state = 56; +return; +case 56: +//C +this.state = 38; +; +RDebugUtils.currentLine=23396381; + //BA.debugLineNum = 23396381;BA.debugLine="impresoraConectada = False"; +__ref._impresoraconectada /*boolean*/ = parent.__c.False; + if (true) break; + +case 21: +//C +this.state = 22; +RDebugUtils.currentLine=23396384; + //BA.debugLineNum = 23396384;BA.debugLine="Printer1.Connect"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._connect /*boolean*/ (null); +RDebugUtils.currentLine=23396385; + //BA.debugLineNum = 23396385;BA.debugLine="Private cont As Int = 0"; +_cont = (int) (0); +RDebugUtils.currentLine=23396386; + //BA.debugLineNum = 23396386;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 /*reparto_izca.keymon.lat.escposprinter*/ ._isconnected /*boolean*/ (null))) { +this.state = 24; +if (true) break; +} +if (true) break; + +case 24: +//C +this.state = 25; +RDebugUtils.currentLine=23396387; + //BA.debugLineNum = 23396387;BA.debugLine="Sleep(1000)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_noventa", "b_imp_click"),(int) (1000)); +this.state = 57; +return; +case 57: +//C +this.state = 25; +; +RDebugUtils.currentLine=23396389; + //BA.debugLineNum = 23396389;BA.debugLine="cont = cont + 1"; +_cont = (int) (_cont+1); +RDebugUtils.currentLine=23396390; + //BA.debugLineNum = 23396390;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 /*reparto_izca.keymon.lat.escposprinter*/ ._connect /*boolean*/ (null); +if (true) break; + +case 30: +//C +this.state = 31; +; +RDebugUtils.currentLine=23396391; + //BA.debugLineNum = 23396391;BA.debugLine="If cont > 3 Then impresoraConectada = True"; +if (true) break; + +case 31: +//if +this.state = 36; +if (_cont>3) { +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=23396393; + //BA.debugLineNum = 23396393;BA.debugLine="Sleep(500)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_noventa", "b_imp_click"),(int) (500)); +this.state = 58; +return; +case 58: +//C +this.state = 38; +; +RDebugUtils.currentLine=23396394; + //BA.debugLineNum = 23396394;BA.debugLine="impresoraConectada = False"; +__ref._impresoraconectada /*boolean*/ = parent.__c.False; + if (true) break; + +case 38: +//C +this.state = 39; +; +RDebugUtils.currentLine=23396398; + //BA.debugLineNum = 23396398;BA.debugLine="Printer1.WriteString(\"Izca Distribuciones\" & CRL"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"Izca Distribuciones"+parent.__c.CRLF); +RDebugUtils.currentLine=23396400; + //BA.debugLineNum = 23396400;BA.debugLine="Printer1.WriteString(\"Vendedor:\" & usuario & CRL"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"Vendedor:"+__ref._usuario /*String*/ +parent.__c.CRLF); +RDebugUtils.currentLine=23396403; + //BA.debugLineNum = 23396403;BA.debugLine="Dim clientecur As Cursor = Starter.skmt.ExecQuery"; +_clientecur = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_clientecur = (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_CL_NOMBRE FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))); +RDebugUtils.currentLine=23396404; + //BA.debugLineNum = 23396404;BA.debugLine="clientecur.Position = 0"; +_clientecur.setPosition((int) (0)); +RDebugUtils.currentLine=23396406; + //BA.debugLineNum = 23396406;BA.debugLine="Printer1.WriteString(\"ID.Cliente: \" & Subs.traeC"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"ID.Cliente: "+parent._subs._traecliente /*String*/ (ba)+parent.__c.CRLF); +RDebugUtils.currentLine=23396408; + //BA.debugLineNum = 23396408;BA.debugLine="Printer1.WriteString(\"Tienda: \" & clientecur.GetS"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"Tienda: "+_clientecur.GetString("CAT_CL_NOMBRE")+parent.__c.CRLF); +RDebugUtils.currentLine=23396410; + //BA.debugLineNum = 23396410;BA.debugLine="Printer1.WriteString(sDate &\" \"& sTime & CRLF)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,__ref._sdate /*String*/ +" "+__ref._stime /*String*/ +parent.__c.CRLF); +RDebugUtils.currentLine=23396411; + //BA.debugLineNum = 23396411;BA.debugLine="If r_1.Checked Then"; +if (true) break; + +case 39: +//if +this.state = 48; +if (__ref._r_1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +this.state = 41; +}else +{RDebugUtils.currentLine=23396413; + //BA.debugLineNum = 23396413;BA.debugLine="Else If r_2.Checked Then"; +if (__ref._r_2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +this.state = 43; +}else +{RDebugUtils.currentLine=23396415; + //BA.debugLineNum = 23396415;BA.debugLine="Else If r_3.Checked Then"; +if (__ref._r_3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +this.state = 45; +}else { +this.state = 47; +}}} +if (true) break; + +case 41: +//C +this.state = 48; +RDebugUtils.currentLine=23396412; + //BA.debugLineNum = 23396412;BA.debugLine="motivo = \"CERRADO\""; +__ref._motivo /*String*/ = "CERRADO"; + if (true) break; + +case 43: +//C +this.state = 48; +RDebugUtils.currentLine=23396414; + //BA.debugLineNum = 23396414;BA.debugLine="motivo = \"NO PIDIO\""; +__ref._motivo /*String*/ = "NO PIDIO"; + if (true) break; + +case 45: +//C +this.state = 48; +RDebugUtils.currentLine=23396416; + //BA.debugLineNum = 23396416;BA.debugLine="motivo = \"CANCELA\""; +__ref._motivo /*String*/ = "CANCELA"; + if (true) break; + +case 47: +//C +this.state = 48; +RDebugUtils.currentLine=23396418; + //BA.debugLineNum = 23396418;BA.debugLine="motivo = \"NO ESTA EL ENCARGADO\""; +__ref._motivo /*String*/ = "NO ESTA EL ENCARGADO"; + if (true) break; + +case 48: +//C +this.state = 49; +; +RDebugUtils.currentLine=23396420; + //BA.debugLineNum = 23396420;BA.debugLine="Printer1.WriteString(motivo & CRLF)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,__ref._motivo /*String*/ +parent.__c.CRLF); +RDebugUtils.currentLine=23396424; + //BA.debugLineNum = 23396424;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null," "+parent.__c.CRLF); +RDebugUtils.currentLine=23396425; + //BA.debugLineNum = 23396425;BA.debugLine="Printer1.WriteString(\"--------INFORMATIVO--------"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"--------INFORMATIVO-----------"+parent.__c.CRLF); +RDebugUtils.currentLine=23396426; + //BA.debugLineNum = 23396426;BA.debugLine="Printer1.WriteString(\"---------------------------"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"------------------------------"+parent.__c.CRLF); +RDebugUtils.currentLine=23396427; + //BA.debugLineNum = 23396427;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null," "+parent.__c.CRLF); +RDebugUtils.currentLine=23396428; + //BA.debugLineNum = 23396428;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null," "+parent.__c.CRLF); +RDebugUtils.currentLine=23396429; + //BA.debugLineNum = 23396429;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null," "+parent.__c.CRLF); +RDebugUtils.currentLine=23396430; + //BA.debugLineNum = 23396430;BA.debugLine="Sleep(1000)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_noventa", "b_imp_click"),(int) (1000)); +this.state = 59; +return; +case 59: +//C +this.state = 49; +; +RDebugUtils.currentLine=23396431; + //BA.debugLineNum = 23396431;BA.debugLine="Printer1.DisConnect"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._disconnect /*String*/ (null); +RDebugUtils.currentLine=23396433; + //BA.debugLineNum = 23396433;BA.debugLine="ProgressDialogHide"; +parent.__c.ProgressDialogHide(); +RDebugUtils.currentLine=23396435; + //BA.debugLineNum = 23396435;BA.debugLine="Msgbox2Async(\"Deseas imprimir de nuevo el ticket?"; +parent.__c.Msgbox2Async(BA.ObjectToCharSequence("Deseas imprimir de nuevo el ticket?"),BA.ObjectToCharSequence("ATENCION"),"SI","","NO",parent.__c.LoadBitmap(parent.__c.File.getDirAssets(),"alert2.png"),ba,parent.__c.False); +RDebugUtils.currentLine=23396436; + //BA.debugLineNum = 23396436;BA.debugLine="Wait For Msgbox_Result (resultado As Int)"; +parent.__c.WaitFor("msgbox_result", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_noventa", "b_imp_click"), null); +this.state = 60; +return; +case 60: +//C +this.state = 49; +_resultado = (Integer) result[1]; +; +RDebugUtils.currentLine=23396437; + //BA.debugLineNum = 23396437;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; +if (true) break; + +case 49: +//if +this.state = 54; +if (_resultado==parent.__c.DialogResponse.POSITIVE) { +this.state = 51; +}else { +this.state = 53; +}if (true) break; + +case 51: +//C +this.state = 54; +RDebugUtils.currentLine=23396438; + //BA.debugLineNum = 23396438;BA.debugLine="B_IMP_Click"; +__ref._b_imp_click /*void*/ (null); + if (true) break; + +case 53: +//C +this.state = 54; +RDebugUtils.currentLine=23396440; + //BA.debugLineNum = 23396440;BA.debugLine="Guardado"; +__ref._guardado /*String*/ (null); + if (true) break; + +case 54: +//C +this.state = -1; +; +RDebugUtils.currentLine=23396442; + //BA.debugLineNum = 23396442;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public String _guardado(reparto_izca.keymon.lat.c_noventa __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_noventa"; +if (Debug.shouldDelegate(ba, "guardado", false)) + {return ((String) Debug.delegate(ba, "guardado", null));} +String _rutaactualizar = ""; +anywheresoftware.b4a.sql.SQL.CursorWrapper _rut = null; +String _estecliente = ""; +anywheresoftware.b4a.sql.SQL.CursorWrapper _rv = null; +int _i2 = 0; +int _i = 0; +String _ruta = ""; +String _rutapre = ""; +String _fechaprev = ""; +RDebugUtils.currentLine=23461888; + //BA.debugLineNum = 23461888;BA.debugLine="Sub Guardado"; +RDebugUtils.currentLine=23461890; + //BA.debugLineNum = 23461890;BA.debugLine="If r_1.Checked Then"; +if (__ref._r_1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +RDebugUtils.currentLine=23461891; + //BA.debugLineNum = 23461891;BA.debugLine="motivo = \"CERRADO\""; +__ref._motivo /*String*/ = "CERRADO"; + }else +{RDebugUtils.currentLine=23461892; + //BA.debugLineNum = 23461892;BA.debugLine="Else If r_2.Checked Then"; +if (__ref._r_2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +RDebugUtils.currentLine=23461893; + //BA.debugLineNum = 23461893;BA.debugLine="motivo = \"NO PIDIO\""; +__ref._motivo /*String*/ = "NO PIDIO"; + }else +{RDebugUtils.currentLine=23461894; + //BA.debugLineNum = 23461894;BA.debugLine="Else If r_3.Checked Then"; +if (__ref._r_3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +RDebugUtils.currentLine=23461895; + //BA.debugLineNum = 23461895;BA.debugLine="motivo = \"CANCELA\""; +__ref._motivo /*String*/ = "CANCELA"; + }else { +RDebugUtils.currentLine=23461897; + //BA.debugLineNum = 23461897;BA.debugLine="motivo = \"NO ESTA EL ENCARGADO\""; +__ref._motivo /*String*/ = "NO ESTA EL ENCARGADO"; + }}} +; +RDebugUtils.currentLine=23461900; + //BA.debugLineNum = 23461900;BA.debugLine="If motivo <> \"CERRADO\" Or motivo = \"CERRADO\" The"; +if ((__ref._motivo /*String*/ ).equals("CERRADO") == false || (__ref._motivo /*String*/ ).equals("CERRADO")) { +RDebugUtils.currentLine=23461901; + //BA.debugLineNum = 23461901;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +__c.DateTime.setDateFormat("MM/dd/yyyy"); +RDebugUtils.currentLine=23461902; + //BA.debugLineNum = 23461902;BA.debugLine="DateTime.TimeFormat=\"HHmmss\""; +__c.DateTime.setTimeFormat("HHmmss"); +RDebugUtils.currentLine=23461903; + //BA.debugLineNum = 23461903;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=23461904; + //BA.debugLineNum = 23461904;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=23461905; + //BA.debugLineNum = 23461905;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CUENTA from 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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CUENTA from cuentaa"))); +RDebugUtils.currentLine=23461906; + //BA.debugLineNum = 23461906;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=23461907; + //BA.debugLineNum = 23461907;BA.debugLine="cuenta = c.GetString(\"CUENTA\")"; +__ref._cuenta /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUENTA"); +RDebugUtils.currentLine=23461908; + //BA.debugLineNum = 23461908;BA.debugLine="c=Starter.skmt.ExecQuery(\"select usuario from 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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select usuario from usuarioa"))); +RDebugUtils.currentLine=23461909; + //BA.debugLineNum = 23461909;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=23461910; + //BA.debugLineNum = 23461910;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=23461911; + //BA.debugLineNum = 23461911;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=23461912; + //BA.debugLineNum = 23461912;BA.debugLine="Dim rutaactualizar As String"; +_rutaactualizar = ""; +RDebugUtils.currentLine=23461913; + //BA.debugLineNum = 23461913;BA.debugLine="Dim rut As Cursor = Starter.skmt.ExecQuery(\"SELE"; +_rut = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_rut = (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_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))); +RDebugUtils.currentLine=23461914; + //BA.debugLineNum = 23461914;BA.debugLine="If rut.RowCount > 0 Then"; +if (_rut.getRowCount()>0) { +RDebugUtils.currentLine=23461915; + //BA.debugLineNum = 23461915;BA.debugLine="rut.Position = 0"; +_rut.setPosition((int) (0)); +RDebugUtils.currentLine=23461916; + //BA.debugLineNum = 23461916;BA.debugLine="rutaactualizar = rut.GetString(\"CAT_CL_RUTA\")"; +_rutaactualizar = _rut.GetString("CAT_CL_RUTA"); + }; +RDebugUtils.currentLine=23461918; + //BA.debugLineNum = 23461918;BA.debugLine="Starter.skmt.ExecNonQuery($\"DELETE FROM NOVENTA"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("DELETE FROM NOVENTA WHERE NV_CLIENTE IN (select cuenta from cuentaa) AND NV_RUTA ='"+__c.SmartStringFormatter("",(Object)(_rutaactualizar))+"' ")); +RDebugUtils.currentLine=23461920; + //BA.debugLineNum = 23461920;BA.debugLine="c=Starter.skmt.ExecQuery(\"select HVD_NUM_REGISTR"; +__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 HVD_NUM_REGISTRO, HVD_CLIENTE, HVD_PRONOMBRE, HVD_CANT, HVD_COSTO_TOT, HVD_FECHA, HVD_PROID, CAT_GP_PRECIO from HIST_VENTAS2 join CAT_GUNAPROD on CAT_GP_ID = HVD_PROID WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) order by HVD_PRONOMBRE asc"))); +RDebugUtils.currentLine=23461921; + //BA.debugLineNum = 23461921;BA.debugLine="If c.RowCount > 0 Then 'Si hay pedido en HIST_V"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=23461924; + //BA.debugLineNum = 23461924;BA.debugLine="Private esteCliente As String = Subs.traeClient"; +_estecliente = _subs._traecliente /*String*/ (ba); +RDebugUtils.currentLine=23461925; + //BA.debugLineNum = 23461925;BA.debugLine="Private rv As Cursor = Starter.skmt.ExecQuery($"; +_rv = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_rv = (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 REPARTO where REP_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(_estecliente))+"' and REP_CLI_ORIG <> '"+__c.SmartStringFormatter("",(Object)(_estecliente))+"' and REP_RECHAZO = 0")))); +RDebugUtils.currentLine=23461926; + //BA.debugLineNum = 23461926;BA.debugLine="If rv.RowCount > 0 Then 'Si tenemos venta en el"; +if (_rv.getRowCount()>0) { +RDebugUtils.currentLine=23461927; + //BA.debugLineNum = 23461927;BA.debugLine="For i2=0 To rv.RowCount - 1"; +{ +final int step34 = 1; +final int limit34 = (int) (_rv.getRowCount()-1); +_i2 = (int) (0) ; +for (;_i2 <= limit34 ;_i2 = _i2 + step34 ) { +RDebugUtils.currentLine=23461928; + //BA.debugLineNum = 23461928;BA.debugLine="rv.Position = i2"; +_rv.setPosition(_i2); +RDebugUtils.currentLine=23461929; + //BA.debugLineNum = 23461929;BA.debugLine="Log($\"Actualizamos REPARTO - cliente=${rv.Get"; +__c.LogImpl("823461929",("Actualizamos REPARTO - cliente="+__c.SmartStringFormatter("",(Object)(_rv.GetString("REP_CLIENTE")))+", cliente orignal="+__c.SmartStringFormatter("",(Object)(_rv.GetString("REP_CLI_ORIG")))+", le agregamos "+__c.SmartStringFormatter("",(Object)(_rv.GetString("REP_CANT")))+""),0); +RDebugUtils.currentLine=23461930; + //BA.debugLineNum = 23461930;BA.debugLine="Starter.skmt.ExecNonQuery($\"update REPARTO se"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update REPARTO set REP_CANT = REP_CANT + "+__c.SmartStringFormatter("",(Object)(_rv.GetString("REP_CANT")))+" where REP_RECHAZO = '1' and REP_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(_rv.GetString("REP_CLI_ORIG")))+"' and REP_CLI_ORIG = '"+__c.SmartStringFormatter("",(Object)(_rv.GetString("REP_CLI_ORIG")))+"'")); + } +}; + }; +RDebugUtils.currentLine=23461934; + //BA.debugLineNum = 23461934;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from reparto"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from reparto where REP_CLIENTE IN (Select CUENTA from cuentaa)"); +RDebugUtils.currentLine=23461935; + //BA.debugLineNum = 23461935;BA.debugLine="For i=0 To c.RowCount - 1 'Insertamos los produ"; +{ +final int step41 = 1; +final int limit41 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit41 ;_i = _i + step41 ) { +RDebugUtils.currentLine=23461936; + //BA.debugLineNum = 23461936;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=23461937; + //BA.debugLineNum = 23461937;BA.debugLine="Log($\"REGISTRO= ${c.GetString(\"HVD_NUM_REGISTR"; +__c.LogImpl("823461937",("REGISTRO= "+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_NUM_REGISTRO")))+""),0); +RDebugUtils.currentLine=23461938; + //BA.debugLineNum = 23461938;BA.debugLine="Starter.skmt.ExecNonQuery2(\"insert into repart"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into reparto(REP_CLIENTE, REP_PRONOMBRE, REP_CANT, REP_COSTO_TOT, REP_FECHA, REP_RECHAZO, REP_PRODID, REP_PRECIO, REP_PRODREGISTRO, REP_CLI_ORIG) VALUES (?,?,?,?,?,1,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CLIENTE"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PRONOMBRE"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CANT"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_COSTO_TOT"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_FECHA"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_PRECIO"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_NUM_REGISTRO"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CLIENTE")})); +RDebugUtils.currentLine=23461939; + //BA.debugLineNum = 23461939;BA.debugLine="Starter.skmt.ExecNonQuery2(\"insert into repart"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into reparto(REP_CLIENTE, REP_PRONOMBRE, REP_CANT, REP_COSTO_TOT, REP_FECHA, REP_RECHAZO, REP_PRODID, REP_PRECIO, REP_PRODREGISTRO, REP_CLI_ORIG) VALUES (?,?,?,?,?,0,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CLIENTE"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PRONOMBRE"),BA.NumberToString(0),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_COSTO_TOT"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_FECHA"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_PRECIO"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_NUM_REGISTRO"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CLIENTE")})); +RDebugUtils.currentLine=23461940; + //BA.debugLineNum = 23461940;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update cat_gunapro"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen + ? where cat_gp_nombre = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CANT")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PRONOMBRE"))})); + } +}; + }; +RDebugUtils.currentLine=23461944; + //BA.debugLineNum = 23461944;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO NOVENTA"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO NOVENTA (NV_CLIENTE,NV_FECHA,NV_USER,NV_MOTIVO,NV_COMM,NV_LAT,NV_LON,NV_FOTO,NV_REPROGRAMAR) 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 /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_rutaactualizar),(Object)(__ref._reprogramar /*int*/ )})); +RDebugUtils.currentLine=23461945; + //BA.debugLineNum = 23461945;BA.debugLine="Starter.skmt.ExecNonQuery($\"UPDATE kmt_info set"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("UPDATE kmt_info set gestion = 3, HORAENT = '"+__c.SmartStringFormatter("",(Object)(__ref._sdate /*String*/ +" "+__ref._stime /*String*/ ))+"' where CAT_CL_CODIGO In (select cuenta from cuentaa) and CAT_CL_RUTA = '"+__c.SmartStringFormatter("",(Object)(_rutaactualizar))+"'")); +RDebugUtils.currentLine=23461946; + //BA.debugLineNum = 23461946;BA.debugLine="Starter.skmt.ExecNonQuery(\"update HIST_VENTAS SE"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("update HIST_VENTAS SET HVD_RECHAZO = 1, HVD_RECHAZOCANT = HVD_CANT, HVD_RECHAZOCANTC = CANTC, BCAJAS = 0 , CANTC = 0 WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"); +RDebugUtils.currentLine=23461947; + //BA.debugLineNum = 23461947;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENTAS s"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update HIST_VENTAS set HVD_RECHAZO = 2, HVD_RECHAZOCANT = HVD_RECHAZOCANT WHERE HVD_PROID = HVD_CODPROMO and HVD_CLIENTE in (Select CUENTA from cuentaa)")); +RDebugUtils.currentLine=23461948; + //BA.debugLineNum = 23461948;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM PEDIDO WH"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"); +RDebugUtils.currentLine=23461949; + //BA.debugLineNum = 23461949;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT RUTAA FROM RU"; +__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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT RUTAA FROM RUTAA"))); +RDebugUtils.currentLine=23461950; + //BA.debugLineNum = 23461950;BA.debugLine="d.Position = 0"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=23461951; + //BA.debugLineNum = 23461951;BA.debugLine="Dim ruta As String = d.GetString(\"RUTAA\")"; +_ruta = __ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("RUTAA"); +RDebugUtils.currentLine=23461952; + //BA.debugLineNum = 23461952;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=23461953; + //BA.debugLineNum = 23461953;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT CAT_CL_RUTA F"; +__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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CAT_CL_RUTA FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))); +RDebugUtils.currentLine=23461954; + //BA.debugLineNum = 23461954;BA.debugLine="d.Position = 0"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=23461955; + //BA.debugLineNum = 23461955;BA.debugLine="Dim rutapre As String = d.GetString(\"CAT_CL_RUTA"; +_rutapre = __ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_RUTA"); +RDebugUtils.currentLine=23461956; + //BA.debugLineNum = 23461956;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=23461957; + //BA.debugLineNum = 23461957;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT HVD_FECHA FRO"; +__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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT HVD_FECHA FROM HIST_VENTAS WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))); +RDebugUtils.currentLine=23461958; + //BA.debugLineNum = 23461958;BA.debugLine="d.Position = 0"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=23461959; + //BA.debugLineNum = 23461959;BA.debugLine="Dim fechaprev As String = d.GetString(\"HVD_FECHA"; +_fechaprev = __ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_FECHA"); +RDebugUtils.currentLine=23461960; + //BA.debugLineNum = 23461960;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=23461961; + //BA.debugLineNum = 23461961;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT CUENTA FROM C"; +__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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CUENTA FROM CUENTAA"))); +RDebugUtils.currentLine=23461962; + //BA.debugLineNum = 23461962;BA.debugLine="d.Position = 0"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=23461963; + //BA.debugLineNum = 23461963;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO REPARTO_"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO REPARTO_GEO (CLIENTE, USUARIO, FECHA_PUNTEO, LATITUD, LONGITUD, ALMACEN, RUTA_REPARTO, RUTA_PREV, FECHA_PREVENTA, MOTIVO, COMENTARIO,TIPO,ENVIO) VALUES(?,?,?,?,?,?,?,?,?,?,?,?,0)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{__ref._cuenta /*String*/ ,__ref._usuario /*String*/ ,__ref._sdate /*String*/ +" "+__ref._stime /*String*/ ,_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._lat_gps /*String*/ ,_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._lon_gps /*String*/ ,_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._almacen /*String*/ ,_ruta,_rutapre,_fechaprev,__ref._motivo /*String*/ ,__ref._e_comm /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText(),"NO ENTREGADO"})); +RDebugUtils.currentLine=23461970; + //BA.debugLineNum = 23461970;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +_b4xpages._showpage /*String*/ (ba,"Principal"); + }else { +RDebugUtils.currentLine=23461973; + //BA.debugLineNum = 23461973;BA.debugLine="COMENTARIO = e_comm.Text"; +__ref._comentario /*String*/ = __ref._e_comm /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText(); + }; +RDebugUtils.currentLine=23461978; + //BA.debugLineNum = 23461978;BA.debugLine="End Sub"; +return ""; +} +public String _b4xpage_appear(reparto_izca.keymon.lat.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=22937600; + //BA.debugLineNum = 22937600;BA.debugLine="Sub B4XPage_Appear"; +RDebugUtils.currentLine=22937601; + //BA.debugLineNum = 22937601;BA.debugLine="Printer1.Initialize(Me, \"Printer1\")"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._initialize /*String*/ (null,ba,this,"Printer1"); +RDebugUtils.currentLine=22937603; + //BA.debugLineNum = 22937603;BA.debugLine="If Printer1.IsConnected = False Then"; +if (__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._isconnected /*boolean*/ (null)==__c.False) { + }else { +RDebugUtils.currentLine=22937607; + //BA.debugLineNum = 22937607;BA.debugLine="Printer1.DisConnect"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._disconnect /*String*/ (null); +RDebugUtils.currentLine=22937608; + //BA.debugLineNum = 22937608;BA.debugLine="Printer1.Connect"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._connect /*boolean*/ (null); +RDebugUtils.currentLine=22937609; + //BA.debugLineNum = 22937609;BA.debugLine="Log(\"2\")"; +__c.LogImpl("822937609","2",0); + }; +RDebugUtils.currentLine=22937611; + //BA.debugLineNum = 22937611;BA.debugLine="btAdmin.Initialize(\"BlueTeeth\")"; +__ref._btadmin /*anywheresoftware.b4a.objects.Serial.BluetoothAdmin*/ .Initialize(ba,"BlueTeeth"); +RDebugUtils.currentLine=22937612; + //BA.debugLineNum = 22937612;BA.debugLine="cmp20.Initialize(\"Printer\")"; +__ref._cmp20 /*anywheresoftware.b4a.objects.Serial*/ .Initialize("Printer"); +RDebugUtils.currentLine=22937614; + //BA.debugLineNum = 22937614;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.SERVE"; +__ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._initialize /*String*/ (null,ba,this,_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ); +RDebugUtils.currentLine=22937615; + //BA.debugLineNum = 22937615;BA.debugLine="e_comm.Text=\"\""; +__ref._e_comm /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=22937616; + //BA.debugLineNum = 22937616;BA.debugLine="r_1.Checked = False"; +__ref._r_1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=22937617; + //BA.debugLineNum = 22937617;BA.debugLine="r_2.Checked = False"; +__ref._r_2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=22937618; + //BA.debugLineNum = 22937618;BA.debugLine="r_3.Checked = False"; +__ref._r_3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=22937619; + //BA.debugLineNum = 22937619;BA.debugLine="r_4.Checked = False"; +__ref._r_4 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=22937620; + //BA.debugLineNum = 22937620;BA.debugLine="cb_reprogramar.Checked = False"; +__ref._cb_reprogramar /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=22937621; + //BA.debugLineNum = 22937621;BA.debugLine="End Sub"; +return ""; +} +public String _b4xpage_created(reparto_izca.keymon.lat.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=22872064; + //BA.debugLineNum = 22872064;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +RDebugUtils.currentLine=22872065; + //BA.debugLineNum = 22872065;BA.debugLine="Root = Root1"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _root1; +RDebugUtils.currentLine=22872067; + //BA.debugLineNum = 22872067;BA.debugLine="Root.LoadLayout(\"no_venta\")"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("no_venta",ba); +RDebugUtils.currentLine=22872068; + //BA.debugLineNum = 22872068;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.SERVE"; +__ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._initialize /*String*/ (null,ba,this,_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ); +RDebugUtils.currentLine=22872069; + //BA.debugLineNum = 22872069;BA.debugLine="End Sub"; +return ""; +} +public String _cancela_click(reparto_izca.keymon.lat.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=23068672; + //BA.debugLineNum = 23068672;BA.debugLine="Sub CANCELA_Click"; +RDebugUtils.currentLine=23068673; + //BA.debugLineNum = 23068673;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +_b4xpages._showpage /*String*/ (ba,"Cliente"); +RDebugUtils.currentLine=23068674; + //BA.debugLineNum = 23068674;BA.debugLine="End Sub"; +return ""; +} +public String _cb_reprogramar_checkedchange(reparto_izca.keymon.lat.c_noventa __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_noventa"; +if (Debug.shouldDelegate(ba, "cb_reprogramar_checkedchange", false)) + {return ((String) Debug.delegate(ba, "cb_reprogramar_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=23330816; + //BA.debugLineNum = 23330816;BA.debugLine="Private Sub cb_reprogramar_CheckedChange(Checked A"; +RDebugUtils.currentLine=23330817; + //BA.debugLineNum = 23330817;BA.debugLine="If Checked Then"; +if (_checked) { +RDebugUtils.currentLine=23330818; + //BA.debugLineNum = 23330818;BA.debugLine="reprogramar = 1"; +__ref._reprogramar /*int*/ = (int) (1); + }else { +RDebugUtils.currentLine=23330820; + //BA.debugLineNum = 23330820;BA.debugLine="reprogramar = 0"; +__ref._reprogramar /*int*/ = (int) (0); + }; +RDebugUtils.currentLine=23330822; + //BA.debugLineNum = 23330822;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(reparto_izca.keymon.lat.c_noventa __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_noventa"; +RDebugUtils.currentLine=22740992; + //BA.debugLineNum = 22740992;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=22740993; + //BA.debugLineNum = 22740993;BA.debugLine="Private Root As B4XView 'ignore"; +_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=22740994; + //BA.debugLineNum = 22740994;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=22740995; + //BA.debugLineNum = 22740995;BA.debugLine="Dim g As GPS"; +_g = new anywheresoftware.b4a.gps.GPS(); +RDebugUtils.currentLine=22740996; + //BA.debugLineNum = 22740996;BA.debugLine="Dim c As Cursor"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=22740997; + //BA.debugLineNum = 22740997;BA.debugLine="Dim COMENTARIO As String"; +_comentario = ""; +RDebugUtils.currentLine=22740998; + //BA.debugLineNum = 22740998;BA.debugLine="Dim CANCELA As Button"; +_cancela = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=22740999; + //BA.debugLineNum = 22740999;BA.debugLine="Dim GUARDA As Button"; +_guarda = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=22741000; + //BA.debugLineNum = 22741000;BA.debugLine="Dim r_1 As RadioButton"; +_r_1 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=22741001; + //BA.debugLineNum = 22741001;BA.debugLine="Dim r_2 As RadioButton"; +_r_2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=22741002; + //BA.debugLineNum = 22741002;BA.debugLine="Dim r_3 As RadioButton"; +_r_3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=22741003; + //BA.debugLineNum = 22741003;BA.debugLine="Dim e_comm As EditText"; +_e_comm = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=22741004; + //BA.debugLineNum = 22741004;BA.debugLine="Dim motivo As String"; +_motivo = ""; +RDebugUtils.currentLine=22741005; + //BA.debugLineNum = 22741005;BA.debugLine="Dim cuenta As String"; +_cuenta = ""; +RDebugUtils.currentLine=22741006; + //BA.debugLineNum = 22741006;BA.debugLine="Dim usuario As String"; +_usuario = ""; +RDebugUtils.currentLine=22741007; + //BA.debugLineNum = 22741007;BA.debugLine="Dim sDate,sTime As String"; +_sdate = ""; +_stime = ""; +RDebugUtils.currentLine=22741008; + //BA.debugLineNum = 22741008;BA.debugLine="Dim r_4 As RadioButton"; +_r_4 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=22741009; + //BA.debugLineNum = 22741009;BA.debugLine="Private p_principal As Panel"; +_p_principal = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=22741010; + //BA.debugLineNum = 22741010;BA.debugLine="Dim d As Cursor"; +_d = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=22741011; + //BA.debugLineNum = 22741011;BA.debugLine="Dim reqManager As DBRequestManager"; +_reqmanager = new reparto_izca.keymon.lat.dbrequestmanager(); +RDebugUtils.currentLine=22741012; + //BA.debugLineNum = 22741012;BA.debugLine="Private cb_reprogramar As CheckBox"; +_cb_reprogramar = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=22741013; + //BA.debugLineNum = 22741013;BA.debugLine="Dim reprogramar As Int = 0"; +_reprogramar = (int) (0); +RDebugUtils.currentLine=22741014; + //BA.debugLineNum = 22741014;BA.debugLine="Dim PASA_IMP As String"; +_pasa_imp = ""; +RDebugUtils.currentLine=22741015; + //BA.debugLineNum = 22741015;BA.debugLine="Dim Printer1 As EscPosPrinter"; +_printer1 = new reparto_izca.keymon.lat.escposprinter(); +RDebugUtils.currentLine=22741016; + //BA.debugLineNum = 22741016;BA.debugLine="Dim impresoraConectada As Boolean = False"; +_impresoraconectada = __c.False; +RDebugUtils.currentLine=22741017; + //BA.debugLineNum = 22741017;BA.debugLine="Dim errorImpresora As Int = 0"; +_errorimpresora = (int) (0); +RDebugUtils.currentLine=22741018; + //BA.debugLineNum = 22741018;BA.debugLine="Dim cmp20 As Serial"; +_cmp20 = new anywheresoftware.b4a.objects.Serial(); +RDebugUtils.currentLine=22741019; + //BA.debugLineNum = 22741019;BA.debugLine="Dim btAdmin As BluetoothAdmin"; +_btadmin = new anywheresoftware.b4a.objects.Serial.BluetoothAdmin(); +RDebugUtils.currentLine=22741020; + //BA.debugLineNum = 22741020;BA.debugLine="Dim printer As TextWriter"; +_printer = new anywheresoftware.b4a.objects.streams.File.TextWriterWrapper(); +RDebugUtils.currentLine=22741021; + //BA.debugLineNum = 22741021;BA.debugLine="End Sub"; +return ""; +} +public String _gps_locationchanged(reparto_izca.keymon.lat.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=23003136; + //BA.debugLineNum = 23003136;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; +RDebugUtils.currentLine=23003139; + //BA.debugLineNum = 23003139;BA.debugLine="End Sub"; +return ""; +} +public String _guarda_click(reparto_izca.keymon.lat.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));} +RDebugUtils.currentLine=23134208; + //BA.debugLineNum = 23134208;BA.debugLine="Sub GUARDA_Click"; +RDebugUtils.currentLine=23134209; + //BA.debugLineNum = 23134209;BA.debugLine="If r_1.Checked = False And r_2.Checked = False An"; +if (__ref._r_1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()==__c.False && __ref._r_2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()==__c.False && __ref._r_3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()==__c.False && __ref._r_4 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()==__c.False) { +RDebugUtils.currentLine=23134210; + //BA.debugLineNum = 23134210;BA.debugLine="MsgboxAsync(\"Selecciona un motivo de rechazo\",\"A"; +__c.MsgboxAsync(BA.ObjectToCharSequence("Selecciona un motivo de rechazo"),BA.ObjectToCharSequence("Atención"),ba); + }else { +RDebugUtils.currentLine=23134212; + //BA.debugLineNum = 23134212;BA.debugLine="B_IMP_Click"; +__ref._b_imp_click /*void*/ (null); + }; +RDebugUtils.currentLine=23134215; + //BA.debugLineNum = 23134215;BA.debugLine="End Sub"; +return ""; +} +public String _jobdone(reparto_izca.keymon.lat.c_noventa __ref,reparto_izca.keymon.lat.httpjob _job) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_noventa"; +if (Debug.shouldDelegate(ba, "jobdone", false)) + {return ((String) Debug.delegate(ba, "jobdone", new Object[] {_job}));} +reparto_izca.keymon.lat.dbrequestmanager._dbresult _resultado = null; +String _cliente = ""; +Object[] _records = null; +String _k = ""; +RDebugUtils.currentLine=23265280; + //BA.debugLineNum = 23265280;BA.debugLine="Sub JobDone(Job As HttpJob)"; +RDebugUtils.currentLine=23265281; + //BA.debugLineNum = 23265281;BA.debugLine="Log(Job.Success)"; +__c.LogImpl("823265281",BA.ObjectToString(_job._success /*boolean*/ ),0); +RDebugUtils.currentLine=23265282; + //BA.debugLineNum = 23265282;BA.debugLine="If Job.Success = False Then"; +if (_job._success /*boolean*/ ==__c.False) { + }else { +RDebugUtils.currentLine=23265285; + //BA.debugLineNum = 23265285;BA.debugLine="LogColor(\"JobDone: '\" & reqManager.HandleJob(Job"; +__c.LogImpl("823265285","JobDone: '"+BA.ObjectToString(__ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (null,_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(__ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (null,_job).Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),__c.Colors.Green); +RDebugUtils.currentLine=23265286; + //BA.debugLineNum = 23265286;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=23265287; + //BA.debugLineNum = 23265287;BA.debugLine="Dim resultado As DBResult = reqManager.HandleJo"; +_resultado = __ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=23265288; + //BA.debugLineNum = 23265288;BA.debugLine="If resultado.Tag.As(String).IndexOf(\"ins_REPART"; +if ((BA.ObjectToString(_resultado.Tag /*Object*/ )).indexOf("ins_REPARTOPendientes_head_")>-1) { +RDebugUtils.currentLine=23265289; + //BA.debugLineNum = 23265289;BA.debugLine="Private cliente As String= resultado.Tag"; +_cliente = BA.ObjectToString(_resultado.Tag /*Object*/ ); +RDebugUtils.currentLine=23265290; + //BA.debugLineNum = 23265290;BA.debugLine="cliente = cliente.SubString(cliente.IndexOf(\"_"; +_cliente = _cliente.substring((int) (_cliente.indexOf("_")+24)); +RDebugUtils.currentLine=23265291; + //BA.debugLineNum = 23265291;BA.debugLine="Log($\"Cliente1:${cliente}\"$)"; +__c.LogImpl("823265291",("Cliente1:"+__c.SmartStringFormatter("",(Object)(_cliente))+""),0); +RDebugUtils.currentLine=23265292; + //BA.debugLineNum = 23265292;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update REPARTO_GEO"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update REPARTO_GEO SET ENVIO = ? WHERE CLIENTE = ? AND ENVIO <> ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"1",_cliente,"1"})); +RDebugUtils.currentLine=23265293; + //BA.debugLineNum = 23265293;BA.debugLine="For Each records() As Object In resultado.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group12 = _resultado.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen12 = group12.getSize() +;int index12 = 0; +; +for (; index12 < groupLen12;index12++){ +_records = (Object[])(group12.Get(index12)); +RDebugUtils.currentLine=23265294; + //BA.debugLineNum = 23265294;BA.debugLine="For Each k As String In resultado.Columns.Key"; +{ +final anywheresoftware.b4a.BA.IterableList group13 = _resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Keys(); +final int groupLen13 = group13.getSize() +;int index13 = 0; +; +for (; index13 < groupLen13;index13++){ +_k = BA.ObjectToString(group13.Get(index13)); +RDebugUtils.currentLine=23265295; + //BA.debugLineNum = 23265295;BA.debugLine="Log(resultado.Tag & \": \" & k & \": \" & record"; +__c.LogImpl("823265295",BA.ObjectToString(_resultado.Tag /*Object*/ )+": "+_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0); + } +}; + } +}; + }; + }; +RDebugUtils.currentLine=23265300; + //BA.debugLineNum = 23265300;BA.debugLine="Job.Release"; +_job._release /*String*/ (null); + }; +RDebugUtils.currentLine=23265303; + //BA.debugLineNum = 23265303;BA.debugLine="End Sub"; +return ""; +} +public String _mandapendientesreparto(reparto_izca.keymon.lat.c_noventa __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_noventa"; +if (Debug.shouldDelegate(ba, "mandapendientesreparto", false)) + {return ((String) Debug.delegate(ba, "mandapendientesreparto", null));} +RDebugUtils.currentLine=23199744; + //BA.debugLineNum = 23199744;BA.debugLine="Sub mandaPendientesreparto"; +RDebugUtils.currentLine=23199760; + //BA.debugLineNum = 23199760;BA.debugLine="End Sub"; +return ""; +} +public String _printer_connected(reparto_izca.keymon.lat.c_noventa __ref,boolean _success) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_noventa"; +if (Debug.shouldDelegate(ba, "printer_connected", false)) + {return ((String) Debug.delegate(ba, "printer_connected", new Object[] {_success}));} +RDebugUtils.currentLine=23658496; + //BA.debugLineNum = 23658496;BA.debugLine="Sub Printer_Connected (Success As Boolean)"; +RDebugUtils.currentLine=23658497; + //BA.debugLineNum = 23658497;BA.debugLine="If Success Then"; +if (_success) { +RDebugUtils.currentLine=23658499; + //BA.debugLineNum = 23658499;BA.debugLine="PASA_IMP = \"1\""; +__ref._pasa_imp /*String*/ = "1"; + }else { +RDebugUtils.currentLine=23658502; + //BA.debugLineNum = 23658502;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=23658503; + //BA.debugLineNum = 23658503;BA.debugLine="StartPrinter"; +__ref._startprinter /*String*/ (null); + }; + }; +RDebugUtils.currentLine=23658506; + //BA.debugLineNum = 23658506;BA.debugLine="End Sub"; +return ""; +} +public String _startprinter(reparto_izca.keymon.lat.c_noventa __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_noventa"; +if (Debug.shouldDelegate(ba, "startprinter", false)) + {return ((String) Debug.delegate(ba, "startprinter", null));} +anywheresoftware.b4a.objects.collections.Map _paireddevices = null; +anywheresoftware.b4a.objects.collections.List _l1 = null; +int _resimp = 0; +int _i = 0; +RDebugUtils.currentLine=23724032; + //BA.debugLineNum = 23724032;BA.debugLine="Sub StartPrinter"; +RDebugUtils.currentLine=23724033; + //BA.debugLineNum = 23724033;BA.debugLine="Dim PairedDevices As Map"; +_paireddevices = new anywheresoftware.b4a.objects.collections.Map(); +RDebugUtils.currentLine=23724034; + //BA.debugLineNum = 23724034;BA.debugLine="Dim L1 As List"; +_l1 = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=23724035; + //BA.debugLineNum = 23724035;BA.debugLine="Dim resimp As Int"; +_resimp = 0; +RDebugUtils.currentLine=23724036; + //BA.debugLineNum = 23724036;BA.debugLine="ToastMessageShow(\"Printing.....\",True)"; +__c.ToastMessageShow(BA.ObjectToCharSequence("Printing....."),__c.True); +RDebugUtils.currentLine=23724037; + //BA.debugLineNum = 23724037;BA.debugLine="PairedDevices.Initialize"; +_paireddevices.Initialize(); +RDebugUtils.currentLine=23724038; + //BA.debugLineNum = 23724038;BA.debugLine="Try"; +try {RDebugUtils.currentLine=23724039; + //BA.debugLineNum = 23724039;BA.debugLine="PairedDevices = cmp20.GetPairedDevices"; +_paireddevices = __ref._cmp20 /*anywheresoftware.b4a.objects.Serial*/ .GetPairedDevices(); + } + catch (Exception e9) { + ba.setLastException(e9);RDebugUtils.currentLine=23724041; + //BA.debugLineNum = 23724041;BA.debugLine="Msgbox(\"Getting Paired Devices\",\"Printer Error\")"; +__c.Msgbox(BA.ObjectToCharSequence("Getting Paired Devices"),BA.ObjectToCharSequence("Printer Error"),ba); +RDebugUtils.currentLine=23724042; + //BA.debugLineNum = 23724042;BA.debugLine="printer.Close"; +__ref._printer /*anywheresoftware.b4a.objects.streams.File.TextWriterWrapper*/ .Close(); +RDebugUtils.currentLine=23724043; + //BA.debugLineNum = 23724043;BA.debugLine="cmp20.Disconnect"; +__ref._cmp20 /*anywheresoftware.b4a.objects.Serial*/ .Disconnect(); + }; +RDebugUtils.currentLine=23724046; + //BA.debugLineNum = 23724046;BA.debugLine="If PairedDevices.Size = 0 Then"; +if (_paireddevices.getSize()==0) { +RDebugUtils.currentLine=23724047; + //BA.debugLineNum = 23724047;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=23724048; + //BA.debugLineNum = 23724048;BA.debugLine="Return"; +if (true) return ""; + }; +RDebugUtils.currentLine=23724051; + //BA.debugLineNum = 23724051;BA.debugLine="If PairedDevices.Size = 1 Then"; +if (_paireddevices.getSize()==1) { +RDebugUtils.currentLine=23724052; + //BA.debugLineNum = 23724052;BA.debugLine="Try"; +try {RDebugUtils.currentLine=23724053; + //BA.debugLineNum = 23724053;BA.debugLine="cmp20.Connect(PairedDevices.Get(PairedDevices.G"; +__ref._cmp20 /*anywheresoftware.b4a.objects.Serial*/ .Connect(ba,BA.ObjectToString(_paireddevices.Get(_paireddevices.GetKeyAt((int) (0))))); + } + catch (Exception e21) { + ba.setLastException(e21);RDebugUtils.currentLine=23724055; + //BA.debugLineNum = 23724055;BA.debugLine="Msgbox(\"Connecting\",\"Printer Error\") 'ignore"; +__c.Msgbox(BA.ObjectToCharSequence("Connecting"),BA.ObjectToCharSequence("Printer Error"),ba); +RDebugUtils.currentLine=23724056; + //BA.debugLineNum = 23724056;BA.debugLine="printer.Close"; +__ref._printer /*anywheresoftware.b4a.objects.streams.File.TextWriterWrapper*/ .Close(); +RDebugUtils.currentLine=23724057; + //BA.debugLineNum = 23724057;BA.debugLine="cmp20.Disconnect"; +__ref._cmp20 /*anywheresoftware.b4a.objects.Serial*/ .Disconnect(); + }; + }else { +RDebugUtils.currentLine=23724060; + //BA.debugLineNum = 23724060;BA.debugLine="L1.Initialize"; +_l1.Initialize(); +RDebugUtils.currentLine=23724061; + //BA.debugLineNum = 23724061;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 ) { +RDebugUtils.currentLine=23724062; + //BA.debugLineNum = 23724062;BA.debugLine="L1.Add(PairedDevices.GetKeyAt(i))"; +_l1.Add(_paireddevices.GetKeyAt(_i)); + } +}; +RDebugUtils.currentLine=23724064; + //BA.debugLineNum = 23724064;BA.debugLine="resimp = InputList(L1, \"Choose device\", -1) 'ign"; +_resimp = __c.InputList(_l1,BA.ObjectToCharSequence("Choose device"),(int) (-1),ba); +RDebugUtils.currentLine=23724065; + //BA.debugLineNum = 23724065;BA.debugLine="If resimp <> DialogResponse.CANCEL Then"; +if (_resimp!=__c.DialogResponse.CANCEL) { +RDebugUtils.currentLine=23724066; + //BA.debugLineNum = 23724066;BA.debugLine="cmp20.Connect(PairedDevices.Get(L1.Get(resimp))"; +__ref._cmp20 /*anywheresoftware.b4a.objects.Serial*/ .Connect(ba,BA.ObjectToString(_paireddevices.Get(_l1.Get(_resimp)))); + }; + }; +RDebugUtils.currentLine=23724069; + //BA.debugLineNum = 23724069;BA.debugLine="End Sub"; +return ""; +} +public String _printer1_connected(reparto_izca.keymon.lat.c_noventa __ref,boolean _success) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_noventa"; +if (Debug.shouldDelegate(ba, "printer1_connected", false)) + {return ((String) Debug.delegate(ba, "printer1_connected", new Object[] {_success}));} +RDebugUtils.currentLine=23527424; + //BA.debugLineNum = 23527424;BA.debugLine="Sub Printer1_Connected (Success As Boolean)"; +RDebugUtils.currentLine=23527426; + //BA.debugLineNum = 23527426;BA.debugLine="If Success Then"; +if (_success) { +RDebugUtils.currentLine=23527427; + //BA.debugLineNum = 23527427;BA.debugLine="ToastMessageShow(\"Impresora conectada\", False)"; +__c.ToastMessageShow(BA.ObjectToCharSequence("Impresora conectada"),__c.False); +RDebugUtils.currentLine=23527428; + //BA.debugLineNum = 23527428;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=23527429; + //BA.debugLineNum = 23527429;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=23527432; + //BA.debugLineNum = 23527432;BA.debugLine="impresoraConectada = True"; +__ref._impresoraconectada /*boolean*/ = __c.True; + }else { +RDebugUtils.currentLine=23527436; + //BA.debugLineNum = 23527436;BA.debugLine="LogColor(\"Error conectando la impresora\", Colors"; +__c.LogImpl("823527436","Error conectando la impresora",__c.Colors.Red); +RDebugUtils.currentLine=23527437; + //BA.debugLineNum = 23527437;BA.debugLine="errorImpresora = errorImpresora + 1"; +__ref._errorimpresora /*int*/ = (int) (__ref._errorimpresora /*int*/ +1); +RDebugUtils.currentLine=23527438; + //BA.debugLineNum = 23527438;BA.debugLine="If errorImpresora > 1 Then"; +if (__ref._errorimpresora /*int*/ >1) { +RDebugUtils.currentLine=23527439; + //BA.debugLineNum = 23527439;BA.debugLine="Starter.MAC_IMPRESORA = \"0\""; +_starter._mac_impresora /*String*/ = "0"; +RDebugUtils.currentLine=23527440; + //BA.debugLineNum = 23527440;BA.debugLine="errorImpresora = 0"; +__ref._errorimpresora /*int*/ = (int) (0); + }; + }; +RDebugUtils.currentLine=23527443; + //BA.debugLineNum = 23527443;BA.debugLine="End Sub"; +return ""; +} +public String _printer1_error(reparto_izca.keymon.lat.c_noventa __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_noventa"; +if (Debug.shouldDelegate(ba, "printer1_error", false)) + {return ((String) Debug.delegate(ba, "printer1_error", null));} +RDebugUtils.currentLine=23592960; + //BA.debugLineNum = 23592960;BA.debugLine="Sub Printer1_Error"; +RDebugUtils.currentLine=23592961; + //BA.debugLineNum = 23592961;BA.debugLine="Log(\"error printer\")"; +__c.LogImpl("823592961","error printer",0); +RDebugUtils.currentLine=23592962; + //BA.debugLineNum = 23592962;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/c_nuevocliente.java b/B4A/Objects/src/reparto_izca/keymon/lat/c_nuevocliente.java new file mode 100644 index 0000000..33c6b4f --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/c_nuevocliente.java @@ -0,0 +1,94 @@ +package reparto_izca.keymon.lat; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.B4AClass; +import anywheresoftware.b4a.BALayout; +import anywheresoftware.b4a.debug.*; + +public class c_nuevocliente 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, "reparto_izca.keymon.lat.c_nuevocliente"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", reparto_izca.keymon.lat.c_nuevocliente.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 b4a.example.dateutils _dateutils = null; +public reparto_izca.keymon.lat.main _main = null; +public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; +public reparto_izca.keymon.lat.foto _foto = null; +public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_izca.keymon.lat.starter _starter = null; +public reparto_izca.keymon.lat.tracker _tracker = null; +public reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public Object _initialize(reparto_izca.keymon.lat.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=23855104; + //BA.debugLineNum = 23855104;BA.debugLine="Public Sub Initialize As Object"; +RDebugUtils.currentLine=23855105; + //BA.debugLineNum = 23855105;BA.debugLine="Return Me"; +if (true) return this; +RDebugUtils.currentLine=23855106; + //BA.debugLineNum = 23855106;BA.debugLine="End Sub"; +return null; +} +public String _b4xpage_created(reparto_izca.keymon.lat.c_nuevocliente __ref,anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_nuevocliente"; +if (Debug.shouldDelegate(ba, "b4xpage_created", false)) + {return ((String) Debug.delegate(ba, "b4xpage_created", new Object[] {_root1}));} +RDebugUtils.currentLine=23920640; + //BA.debugLineNum = 23920640;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +RDebugUtils.currentLine=23920641; + //BA.debugLineNum = 23920641;BA.debugLine="Root = Root1"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _root1; +RDebugUtils.currentLine=23920644; + //BA.debugLineNum = 23920644;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(reparto_izca.keymon.lat.c_nuevocliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_nuevocliente"; +RDebugUtils.currentLine=23789568; + //BA.debugLineNum = 23789568;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=23789569; + //BA.debugLineNum = 23789569;BA.debugLine="Private Root As B4XView 'ignore"; +_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=23789570; + //BA.debugLineNum = 23789570;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=23789571; + //BA.debugLineNum = 23789571;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/c_pedidos.java b/B4A/Objects/src/reparto_izca/keymon/lat/c_pedidos.java new file mode 100644 index 0000000..e34b531 --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/c_pedidos.java @@ -0,0 +1,94 @@ +package reparto_izca.keymon.lat; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.B4AClass; +import anywheresoftware.b4a.BALayout; +import anywheresoftware.b4a.debug.*; + +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 anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "reparto_izca.keymon.lat.c_pedidos"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", reparto_izca.keymon.lat.c_pedidos.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 b4a.example.dateutils _dateutils = null; +public reparto_izca.keymon.lat.main _main = null; +public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; +public reparto_izca.keymon.lat.foto _foto = null; +public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_izca.keymon.lat.starter _starter = null; +public reparto_izca.keymon.lat.tracker _tracker = null; +public reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public Object _initialize(reparto_izca.keymon.lat.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=24051712; + //BA.debugLineNum = 24051712;BA.debugLine="Public Sub Initialize As Object"; +RDebugUtils.currentLine=24051713; + //BA.debugLineNum = 24051713;BA.debugLine="Return Me"; +if (true) return this; +RDebugUtils.currentLine=24051714; + //BA.debugLineNum = 24051714;BA.debugLine="End Sub"; +return null; +} +public String _b4xpage_created(reparto_izca.keymon.lat.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=24117248; + //BA.debugLineNum = 24117248;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +RDebugUtils.currentLine=24117249; + //BA.debugLineNum = 24117249;BA.debugLine="Root = Root1"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _root1; +RDebugUtils.currentLine=24117252; + //BA.debugLineNum = 24117252;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(reparto_izca.keymon.lat.c_pedidos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_pedidos"; +RDebugUtils.currentLine=23986176; + //BA.debugLineNum = 23986176;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=23986177; + //BA.debugLineNum = 23986177;BA.debugLine="Private Root As B4XView 'ignore"; +_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=23986178; + //BA.debugLineNum = 23986178;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=23986179; + //BA.debugLineNum = 23986179;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/c_principal.java b/B4A/Objects/src/reparto_izca/keymon/lat/c_principal.java new file mode 100644 index 0000000..e82b7cc --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/c_principal.java @@ -0,0 +1,8687 @@ +package reparto_izca.keymon.lat; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.B4AClass; +import anywheresoftware.b4a.BALayout; +import anywheresoftware.b4a.debug.*; + +public class c_principal 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, "reparto_izca.keymon.lat.c_principal"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", reparto_izca.keymon.lat.c_principal.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 reparto_izca.keymon.lat.dbrequestmanager _reqmanager = null; +public String _conectado = ""; +public anywheresoftware.b4a.objects.Timer _t1 = null; +public anywheresoftware.b4a.keywords.StringBuilderWrapper _sb = null; +public anywheresoftware.b4a.phone.Phone _phone = null; +public anywheresoftware.b4a.objects.ButtonWrapper _trabajar = null; +public anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; +public anywheresoftware.b4a.sql.SQL.CursorWrapper _a = null; +public anywheresoftware.b4a.sql.SQL.CursorWrapper _d = null; +public anywheresoftware.b4a.sql.SQL.CursorWrapper _b = null; +public anywheresoftware.b4a.sql.SQL.CursorWrapper _e = null; +public anywheresoftware.b4a.sql.SQL.CursorWrapper _f = null; +public anywheresoftware.b4a.sql.SQL.CursorWrapper _f1 = null; +public anywheresoftware.b4a.sql.SQL.CursorWrapper _f2 = null; +public anywheresoftware.b4a.sql.SQL.CursorWrapper _f3 = null; +public anywheresoftware.b4a.sql.SQL.CursorWrapper _f4 = null; +public anywheresoftware.b4a.objects.ListViewWrapper _lv = null; +public anywheresoftware.b4a.objects.ButtonWrapper _cargar = null; +public anywheresoftware.b4a.objects.ButtonWrapper _pendiente = null; +public byte[] _foto1 = null; +public String _usuario = ""; +public anywheresoftware.b4a.objects.ButtonWrapper _connecta = null; +public String _conn = ""; +public anywheresoftware.b4a.objects.ButtonWrapper _subir = null; +public reparto_izca.keymon.lat.dbrequestmanager._dbcommand _cmd = null; +public int _tope = 0; +public int _count_clie = 0; +public String _fecha = ""; +public double _drop = 0; +public double _efectiva = 0; +public anywheresoftware.b4a.sql.SQL.CursorWrapper _l = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_aliquidar = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_cuantosc = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_montosalida = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_ctast = null; +public anywheresoftware.b4a.objects.ButtonWrapper _busca = null; +public String _cuantos = ""; +public anywheresoftware.b4a.objects.LabelWrapper _l_cuantosn = null; +public anywheresoftware.b4a.objects.EditTextWrapper _e_ruta = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_porvisitar = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_mapa = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_ruta = null; +public String _almacen = ""; +public anywheresoftware.b4a.objects.ImageViewWrapper _img2 = null; +public String _listo1 = ""; +public String _listo2 = ""; +public String _listo3 = ""; +public String _listo4 = ""; +public String _listo5 = ""; +public String _ejecutando = ""; +public String _res = ""; +public String _inve = ""; +public String _cuantos_pedidosc = ""; +public String _cuantos_pedido = ""; +public String _cuantos_noventa = ""; +public String _datos_iguales = ""; +public anywheresoftware.b4a.phone.Phone.PhoneId _p = null; +public String _imei = ""; +public anywheresoftware.b4a.objects.ButtonWrapper _inv = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_montoe = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_clieprod = null; +public anywheresoftware.b4a.objects.ListViewWrapper _listview1 = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_regresa = null; +public anywheresoftware.b4a.objects.PanelWrapper _panel1 = null; +public String _estatus = ""; +public int[] _batterystatus = null; +public reparto_izca.keymon.lat.batteryutilities _bu = null; +public String _ruta_t = ""; +public anywheresoftware.b4a.objects.collections.List _reqs = null; +public anywheresoftware.b4a.objects.ButtonWrapper _btn_ubicar_ru = null; +public String _cargo = ""; +public anywheresoftware.b4a.objects.PanelWrapper _p_principal = null; +public anywheresoftware.b4a.objects.IME _ime = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_tabulador = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_rutasp = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_rechazo = null; +public anywheresoftware.b4a.objects.LabelWrapper _label9 = null; +public anywheresoftware.b4a.sql.SQL.CursorWrapper _cp = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_check = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_rechazos = null; +public anywheresoftware.b4a.objects.PanelWrapper _p_prod = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_regreso = null; +public anywheresoftware.b4a.objects.ListViewWrapper _lv_prod_prin = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_venta_emp = null; +public anywheresoftware.b4a.objects.Timer _t8 = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_carga = null; +public anywheresoftware.b4a.objects.PanelWrapper _p_carga = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_carga = null; +public anywheresoftware.b4a.objects.ProgressBarWrapper _pb_carga = null; +public anywheresoftware.b4a.objects.ProgressBarWrapper _pb_carga2 = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_carga2 = null; +public anywheresoftware.b4a.objects.Serial.BluetoothAdmin _btadmin = null; +public anywheresoftware.b4a.objects.Serial _cmp20 = null; +public anywheresoftware.b4a.objects.streams.File.TextWriterWrapper _printer = null; +public int _tamano = 0; +public int _espacio = 0; +public String _blanco = ""; +public reparto_izca.keymon.lat.escposprinter _printer1 = null; +public boolean _impresoraconectada = false; +public int _errorimpresora = 0; +public anywheresoftware.b4a.objects.ImageViewWrapper _inventario = null; +public String _pasa_imp = ""; +public anywheresoftware.b4a.objects.ButtonWrapper _b_imp_inventario = null; +public anywheresoftware.b4a.sql.SQL.CursorWrapper _s = null; +public boolean _printerisready = false; +public long _lastconnectionattempt = 0L; +public anywheresoftware.b4a.objects.ButtonWrapper _b_impresion_rec = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_clientes_visit = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_clientes_recha = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_clientes_visitados = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_numtickets = null; +public anywheresoftware.b4a.objects.PanelWrapper _p_ciego = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_pc_env = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_terpc = null; +public b4a.example3.customlistview _clv_pick_ciego = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_pick_ciego = null; +public anywheresoftware.b4a.objects.EditTextWrapper _et_pick_ciego = null; +public anywheresoftware.b4a.objects.PanelWrapper _p_pick_ciego = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_cant_pcik = null; +public b4a.example.dateutils _dateutils = null; +public reparto_izca.keymon.lat.main _main = null; +public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; +public reparto_izca.keymon.lat.foto _foto = null; +public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_izca.keymon.lat.starter _starter = null; +public reparto_izca.keymon.lat.tracker _tracker = null; +public reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public Object _initialize(reparto_izca.keymon.lat.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=14155776; + //BA.debugLineNum = 14155776;BA.debugLine="Public Sub Initialize As Object"; +RDebugUtils.currentLine=14155777; + //BA.debugLineNum = 14155777;BA.debugLine="Return Me"; +if (true) return this; +RDebugUtils.currentLine=14155778; + //BA.debugLineNum = 14155778;BA.debugLine="End Sub"; +return null; +} +public String _checachek(reparto_izca.keymon.lat.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "checachek", false)) + {return ((String) Debug.delegate(ba, "checachek", null));} +RDebugUtils.currentLine=14352384; + //BA.debugLineNum = 14352384;BA.debugLine="Sub checachek"; +RDebugUtils.currentLine=14352385; + //BA.debugLineNum = 14352385;BA.debugLine="b = Starter.skmt.ExecQuery(\"SELECT CHECADO FROM"; +__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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CHECADO FROM CHECADO_CHECK"))); +RDebugUtils.currentLine=14352386; + //BA.debugLineNum = 14352386;BA.debugLine="If b.RowCount > 0 Then"; +if (__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=14352387; + //BA.debugLineNum = 14352387;BA.debugLine="b.Position = 0"; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=14352388; + //BA.debugLineNum = 14352388;BA.debugLine="If b.GetString(\"CHECADO\") = 0 Then"; +if ((__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CHECADO")).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=14352389; + //BA.debugLineNum = 14352389;BA.debugLine="b_check.Visible = True"; +__ref._b_check /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); + }else +{RDebugUtils.currentLine=14352390; + //BA.debugLineNum = 14352390;BA.debugLine="Else If b.GetString(\"CHECADO\") = 1 Then"; +if ((__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CHECADO")).equals(BA.NumberToString(1))) { +RDebugUtils.currentLine=14352391; + //BA.debugLineNum = 14352391;BA.debugLine="b_check.Visible =False"; +__ref._b_check /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); + }} +; +RDebugUtils.currentLine=14352393; + //BA.debugLineNum = 14352393;BA.debugLine="b.Close"; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }; +RDebugUtils.currentLine=14352395; + //BA.debugLineNum = 14352395;BA.debugLine="End Sub"; +return ""; +} +public String _b_carga_click(reparto_izca.keymon.lat.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "b_carga_click", false)) + {return ((String) Debug.delegate(ba, "b_carga_click", null));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _checagestion = null; +RDebugUtils.currentLine=16187392; + //BA.debugLineNum = 16187392;BA.debugLine="Private Sub B_carga_Click"; +RDebugUtils.currentLine=16187393; + //BA.debugLineNum = 16187393;BA.debugLine="If L_carga.Text = \"LISTO\" And l_carga2.Text = \"LI"; +if ((__ref._l_carga /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("LISTO") && (__ref._l_carga2 /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("LISTO")) { +RDebugUtils.currentLine=16187394; + //BA.debugLineNum = 16187394;BA.debugLine="P_carga.Visible = False"; +__ref._p_carga /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); + }else { +RDebugUtils.currentLine=16187396; + //BA.debugLineNum = 16187396;BA.debugLine="Dim checagestion As Cursor = Starter.skmt.ExecQu"; +_checagestion = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_checagestion = (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 NOVENTA"))); +RDebugUtils.currentLine=16187397; + //BA.debugLineNum = 16187397;BA.debugLine="If checagestion.RowCount = 0 Then"; +if (_checagestion.getRowCount()==0) { +RDebugUtils.currentLine=16187398; + //BA.debugLineNum = 16187398;BA.debugLine="P_carga.Visible = False"; +__ref._p_carga /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=16187399; + //BA.debugLineNum = 16187399;BA.debugLine="e_ruta.Text = \"\""; +__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=16187400; + //BA.debugLineNum = 16187400;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from PICK_CIE"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from PICK_CIEGO"); +RDebugUtils.currentLine=16187401; + //BA.debugLineNum = 16187401;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from pedido_c"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente"); +RDebugUtils.currentLine=16187402; + //BA.debugLineNum = 16187402;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from PAGARES\""; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from PAGARES"); +RDebugUtils.currentLine=16187403; + //BA.debugLineNum = 16187403;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CHECADO_"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CHECADO_CHECK"); +RDebugUtils.currentLine=16187404; + //BA.debugLineNum = 16187404;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CHECKLIS"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CHECKLIST2"); +RDebugUtils.currentLine=16187405; + //BA.debugLineNum = 16187405;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from pedido\")"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido"); +RDebugUtils.currentLine=16187406; + //BA.debugLineNum = 16187406;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from noventa\""; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from noventa"); +RDebugUtils.currentLine=16187407; + //BA.debugLineNum = 16187407;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from clie_act"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from clie_act"); +RDebugUtils.currentLine=16187408; + //BA.debugLineNum = 16187408;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from kmt_info"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from kmt_info"); +RDebugUtils.currentLine=16187409; + //BA.debugLineNum = 16187409;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_guna"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_gunaprod"); +RDebugUtils.currentLine=16187410; + //BA.debugLineNum = 16187410;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_guna"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_gunaprod3"); +RDebugUtils.currentLine=16187411; + //BA.debugLineNum = 16187411;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CAT_DETA"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CAT_DETALLES_PAQ"); +RDebugUtils.currentLine=16187412; + //BA.debugLineNum = 16187412;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from HIST_VEN"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from HIST_VENTAS"); +RDebugUtils.currentLine=16187413; + //BA.debugLineNum = 16187413;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from REPARTO\""; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from REPARTO"); +RDebugUtils.currentLine=16187414; + //BA.debugLineNum = 16187414;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM TABULADO"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM TABULADOR_MONEDAS"); +RDebugUtils.currentLine=16187415; + //BA.debugLineNum = 16187415;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM TABULADO"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM TABULADOR_BILLETES"); +RDebugUtils.currentLine=16187416; + //BA.debugLineNum = 16187416;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM RUTAA\")"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM RUTAA"); +RDebugUtils.currentLine=16187417; + //BA.debugLineNum = 16187417;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM ABONOSP\""; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM ABONOSP"); +RDebugUtils.currentLine=16187418; + //BA.debugLineNum = 16187418;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM ABONOS\")"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM ABONOS"); +RDebugUtils.currentLine=16187419; + //BA.debugLineNum = 16187419;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM BLOCKENV"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM BLOCKENVIO"); +RDebugUtils.currentLine=16187420; + //BA.debugLineNum = 16187420;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); +RDebugUtils.currentLine=16187421; + //BA.debugLineNum = 16187421;BA.debugLine="MsgboxAsync(\"No se cargo bien la informacion, f"; +__c.MsgboxAsync(BA.ObjectToCharSequence("No se cargo bien la informacion, favor de cargar día nuevamente"),BA.ObjectToCharSequence("Atención"),ba); + }else { +RDebugUtils.currentLine=16187423; + //BA.debugLineNum = 16187423;BA.debugLine="MsgboxAsync(\"No se cargo bien la informacion, f"; +__c.MsgboxAsync(BA.ObjectToCharSequence("No se cargo bien la informacion, favor de cargar día nuevamente"),BA.ObjectToCharSequence("Atención"),ba); +RDebugUtils.currentLine=16187424; + //BA.debugLineNum = 16187424;BA.debugLine="P_carga.Visible = False"; +__ref._p_carga /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); + }; + }; +RDebugUtils.currentLine=16187427; + //BA.debugLineNum = 16187427;BA.debugLine="End Sub"; +return ""; +} +public String _b4xpage_appear(reparto_izca.keymon.lat.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));} +int _i = 0; +anywheresoftware.b4a.sql.SQL.CursorWrapper _numticks = null; +String _monto_rec_dia = ""; +anywheresoftware.b4a.sql.SQL.CursorWrapper _rc = null; +int _i3 = 0; +anywheresoftware.b4a.sql.SQL.CursorWrapper _vc = null; +int _i4 = 0; +anywheresoftware.b4a.objects.collections.Map _entmap = null; +anywheresoftware.b4a.objects.collections.Map _rechmap = null; +anywheresoftware.b4a.objects.collections.Map _vendmap = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _cancelrecha = null; +int _h54 = 0; +anywheresoftware.b4a.sql.SQL.CursorWrapper _r5 = null; +String _rescant = ""; +int _j4 = 0; +anywheresoftware.b4a.sql.SQL.CursorWrapper _r6 = null; +String _totalcantped = ""; +double _rescant2 = 0; +int _j5 = 0; +anywheresoftware.b4a.sql.SQL.CursorWrapper _r5r = null; +String _rescantr = ""; +int _j4r = 0; +anywheresoftware.b4a.sql.SQL.CursorWrapper _r6r = null; +String _rescant2r = ""; +int _j5r = 0; +anywheresoftware.b4a.sql.SQL.CursorWrapper _r55 = null; +double _rescant3 = 0; +int _r75 = 0; +double _rescant4 = 0; +double _rescant5 = 0; +double _rescant6 = 0; +double _rescant7 = 0; +double _rescant10 = 0; +int _pztotal = 0; +int _pztotal2 = 0; +double _rescant11 = 0; +int _pztotal3 = 0; +double _rescant12 = 0; +anywheresoftware.b4a.sql.SQL.CursorWrapper _restafaltante = null; +double _rescant8 = 0; +anywheresoftware.b4a.sql.SQL.CursorWrapper _g8 = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _g11 = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _g12 = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _g13 = null; +RDebugUtils.currentLine=14286848; + //BA.debugLineNum = 14286848;BA.debugLine="Sub B4XPage_Appear"; +RDebugUtils.currentLine=14286850; + //BA.debugLineNum = 14286850;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 * FROM NOVENTA WHERE NV_MOTIVO = 'ENTREGA' AND NV_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))); +RDebugUtils.currentLine=14286851; + //BA.debugLineNum = 14286851;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=14286852; + //BA.debugLineNum = 14286852;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from NOVENTA w"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from NOVENTA where NV_MOTIVO <> 'ENTREGA' AND NV_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"); + }; +RDebugUtils.currentLine=14286855; + //BA.debugLineNum = 14286855;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 * FROM NOVENTA"))); +RDebugUtils.currentLine=14286856; + //BA.debugLineNum = 14286856;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=14286857; + //BA.debugLineNum = 14286857;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update kmt_info set g"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("Update kmt_info set gestion = 2 WHERE CAT_CL_CODIGO IN (SELECT NV_CLIENTE FROM NOVENTA WHERE NV_MOTIVO = 'ENTREGA')"); + }; +RDebugUtils.currentLine=14286859; + //BA.debugLineNum = 14286859;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=14286860; + //BA.debugLineNum = 14286860;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=14286861; + //BA.debugLineNum = 14286861;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update kmt_info set g"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("Update kmt_info set gestion = 3 WHERE CAT_CL_CODIGO IN (SELECT NV_CLIENTE FROM NOVENTA WHERE NV_MOTIVO <> 'ENTREGA')"); + }; +RDebugUtils.currentLine=14286864; + //BA.debugLineNum = 14286864;BA.debugLine="b_check.visible = False"; +__ref._b_check /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=14286865; + //BA.debugLineNum = 14286865;BA.debugLine="Subs.centraPanel(p_principal, Root.Width)"; +_subs._centrapanel /*String*/ (ba,__ref._p_principal /*anywheresoftware.b4a.objects.PanelWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=14286878; + //BA.debugLineNum = 14286878;BA.debugLine="If EJECUTANDO = 0 Then"; +if ((__ref._ejecutando /*String*/ ).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=14286879; + //BA.debugLineNum = 14286879;BA.debugLine="Listo1 = 0"; +__ref._listo1 /*String*/ = BA.NumberToString(0); +RDebugUtils.currentLine=14286880; + //BA.debugLineNum = 14286880;BA.debugLine="Listo2 = 0"; +__ref._listo2 /*String*/ = BA.NumberToString(0); +RDebugUtils.currentLine=14286881; + //BA.debugLineNum = 14286881;BA.debugLine="Listo3 = 0"; +__ref._listo3 /*String*/ = BA.NumberToString(0); +RDebugUtils.currentLine=14286882; + //BA.debugLineNum = 14286882;BA.debugLine="Listo4 = 0"; +__ref._listo4 /*String*/ = BA.NumberToString(0); +RDebugUtils.currentLine=14286883; + //BA.debugLineNum = 14286883;BA.debugLine="Listo5 = 0"; +__ref._listo5 /*String*/ = BA.NumberToString(0); +RDebugUtils.currentLine=14286884; + //BA.debugLineNum = 14286884;BA.debugLine="inve = 0"; +__ref._inve /*String*/ = BA.NumberToString(0); +RDebugUtils.currentLine=14286885; + //BA.debugLineNum = 14286885;BA.debugLine="img2.Visible =False"; +__ref._img2 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setVisible(__c.False); + }; +RDebugUtils.currentLine=14286887; + //BA.debugLineNum = 14286887;BA.debugLine="l_ruta.Text = 0"; +__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=14286888; + //BA.debugLineNum = 14286888;BA.debugLine="f=Starter.skmt.ExecQuery(\"select rutaa from rutaa"; +__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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select rutaa from rutaa"))); +RDebugUtils.currentLine=14286889; + //BA.debugLineNum = 14286889;BA.debugLine="If f.RowCount > 0 Then"; +if (__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=14286890; + //BA.debugLineNum = 14286890;BA.debugLine="f.Position = 0"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=14286891; + //BA.debugLineNum = 14286891;BA.debugLine="l_ruta.Text = f.GetString(\"RUTAA\")"; +__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("RUTAA"))); + }; +RDebugUtils.currentLine=14286893; + //BA.debugLineNum = 14286893;BA.debugLine="f.Close"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=14286894; + //BA.debugLineNum = 14286894;BA.debugLine="If l_ruta.Text = 0 Then"; +if ((__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=14286895; + //BA.debugLineNum = 14286895;BA.debugLine="l_ruta.Text = 0"; +__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=14286896; + //BA.debugLineNum = 14286896;BA.debugLine="l_rutasP.Text = 0"; +__ref._l_rutasp /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=14286897; + //BA.debugLineNum = 14286897;BA.debugLine="l_numtickets.Text = 0"; +__ref._l_numtickets /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); + }else { +RDebugUtils.currentLine=14286899; + //BA.debugLineNum = 14286899;BA.debugLine="f=Starter.skmt.ExecQuery(\"select distinct CAT_CL"; +__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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select distinct CAT_CL_RUTA from kmt_info WHERE CAT_CL_RUTA <> 1000 order by CAT_CL_RUTA"))); +RDebugUtils.currentLine=14286901; + //BA.debugLineNum = 14286901;BA.debugLine="l_rutasP.Text = \"\""; +__ref._l_rutasp /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=14286902; + //BA.debugLineNum = 14286902;BA.debugLine="For i = 0 To f.RowCount - 1"; +{ +final int step38 = 1; +final int limit38 = (int) (__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit38 ;_i = _i + step38 ) { +RDebugUtils.currentLine=14286903; + //BA.debugLineNum = 14286903;BA.debugLine="f.Position = i"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=14286904; + //BA.debugLineNum = 14286904;BA.debugLine="If i = 0 Then"; +if (_i==0) { +RDebugUtils.currentLine=14286905; + //BA.debugLineNum = 14286905;BA.debugLine="l_rutasP.Text = f.GetString(\"CAT_CL_RUTA\")"; +__ref._l_rutasp /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_RUTA"))); + }else { +RDebugUtils.currentLine=14286907; + //BA.debugLineNum = 14286907;BA.debugLine="l_rutasP.Text = l_rutasP.Text & \", \" & f.GetSt"; +__ref._l_rutasp /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._l_rutasp /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+", "+__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_RUTA"))); + }; + } +}; +RDebugUtils.currentLine=14286910; + //BA.debugLineNum = 14286910;BA.debugLine="f.Close"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=14286912; + //BA.debugLineNum = 14286912;BA.debugLine="Dim numticks As Cursor = Starter.skmt.ExecQuery("; +_numticks = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_numticks = (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(distinct HVD_NUM_TICKET) AS TICKET from HIST_VENTAS"))); +RDebugUtils.currentLine=14286913; + //BA.debugLineNum = 14286913;BA.debugLine="numticks.Position = 0"; +_numticks.setPosition((int) (0)); +RDebugUtils.currentLine=14286914; + //BA.debugLineNum = 14286914;BA.debugLine="l_numtickets.Text = numticks.GetInt(\"TICKET\")"; +__ref._l_numtickets /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_numticks.GetInt("TICKET"))); + }; +RDebugUtils.currentLine=14286916; + //BA.debugLineNum = 14286916;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +__c.DateTime.setDateFormat("MM/dd/yyyy"); +RDebugUtils.currentLine=14286917; + //BA.debugLineNum = 14286917;BA.debugLine="fecha=DateTime.Date(DateTime.Now)"; +__ref._fecha /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=14286918; + //BA.debugLineNum = 14286918;BA.debugLine="b=Starter.skmt.ExecQuery(\"Select count(*) as CUAN"; +__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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select count(*) as CUANTOS from kmt_info"))); +RDebugUtils.currentLine=14286919; + //BA.debugLineNum = 14286919;BA.debugLine="b.Position=0"; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=14286920; + //BA.debugLineNum = 14286920;BA.debugLine="If b.RowCount > 0 Then Cuantos = b.GetString(\"CUA"; +if (__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +__ref._cuantos /*String*/ = __ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS");}; +RDebugUtils.currentLine=14286921; + //BA.debugLineNum = 14286921;BA.debugLine="d=Starter.skmt.ExecQuery(\"select count(*) as TOTA"; +__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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as TOTAL_VISITAR from kmt_info where gestion = 0 AND CAT_CL_RUTA <> 1000"))); +RDebugUtils.currentLine=14286922; + //BA.debugLineNum = 14286922;BA.debugLine="D.Position=0"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=14286923; + //BA.debugLineNum = 14286923;BA.debugLine="b.Close"; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=14286924; + //BA.debugLineNum = 14286924;BA.debugLine="e=Starter.skmt.ExecQuery(\"select count(*) as POR_"; +__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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as POR_VISITAR from kmt_info WHERE CAT_CL_RUTA <> 1000"))); +RDebugUtils.currentLine=14286925; + //BA.debugLineNum = 14286925;BA.debugLine="e.Position=0"; +__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=14286936; + //BA.debugLineNum = 14286936;BA.debugLine="cargar.Visible = False"; +__ref._cargar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=14286937; + //BA.debugLineNum = 14286937;BA.debugLine="Subir.Visible = False"; +__ref._subir /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=14286938; + //BA.debugLineNum = 14286938;BA.debugLine="connecta.Visible = True"; +__ref._connecta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=14286940; + //BA.debugLineNum = 14286940;BA.debugLine="If Cuantos = 0 Then"; +if ((__ref._cuantos /*String*/ ).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=14286941; + //BA.debugLineNum = 14286941;BA.debugLine="l_aLiquidar.Text = 0"; +__ref._l_aliquidar /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=14286942; + //BA.debugLineNum = 14286942;BA.debugLine="l_cuantosc.Text = 0"; +__ref._l_cuantosc /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=14286943; + //BA.debugLineNum = 14286943;BA.debugLine="l_cuantosn.Text = 0"; +__ref._l_cuantosn /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=14286944; + //BA.debugLineNum = 14286944;BA.debugLine="drop = 0"; +__ref._drop /*double*/ = 0; +RDebugUtils.currentLine=14286945; + //BA.debugLineNum = 14286945;BA.debugLine="l_montoSalida.Text = 0"; +__ref._l_montosalida /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=14286946; + //BA.debugLineNum = 14286946;BA.debugLine="efectiva = 0"; +__ref._efectiva /*double*/ = 0; +RDebugUtils.currentLine=14286949; + //BA.debugLineNum = 14286949;BA.debugLine="L_MONTOE.Text = 0"; +__ref._l_montoe /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=14286950; + //BA.debugLineNum = 14286950;BA.debugLine="l_ctast.Text = 0"; +__ref._l_ctast /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=14286951; + //BA.debugLineNum = 14286951;BA.debugLine="If d.RowCount > 0 Then l_ctast.Text = d.GetStrin"; +if (__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +__ref._l_ctast /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_VISITAR")));}; +RDebugUtils.currentLine=14286952; + //BA.debugLineNum = 14286952;BA.debugLine="l_porvisitar.Text = 0"; +__ref._l_porvisitar /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=14286953; + //BA.debugLineNum = 14286953;BA.debugLine="If e.RowCount > 0 Then l_porvisitar.Text = e.Get"; +if (__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +__ref._l_porvisitar /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("POR_VISITAR")));}; +RDebugUtils.currentLine=14286954; + //BA.debugLineNum = 14286954;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=14286955; + //BA.debugLineNum = 14286955;BA.debugLine="e.Close"; +__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }else { +RDebugUtils.currentLine=14286957; + //BA.debugLineNum = 14286957;BA.debugLine="c=Starter.skmt.ExecQuery(\"select sum(hvd_costo_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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(hvd_costo_tot) as MONTO_DIA from hist_ventas where hvd_cliente in (select cat_cl_codigo from kmt_info ) AND HVD_ESTATUS = 1 "))); +RDebugUtils.currentLine=14286958; + //BA.debugLineNum = 14286958;BA.debugLine="f1=Starter.skmt.ExecQuery(\"select sum(hvd_costo_"; +__ref._f1 /*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 sum(hvd_costo_tot) as MONTO_TOTAL_DIA from hist_ventas2 where hvd_cliente in (select cat_cl_codigo from kmt_info ) AND HVD_RECHAZO = 0"))); +RDebugUtils.currentLine=14286959; + //BA.debugLineNum = 14286959;BA.debugLine="f2=Starter.skmt.ExecQuery(\"select sum(REP_COSTO_"; +__ref._f2 /*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 sum(REP_COSTO_TOT) as MONTO_REC_DIA FROM REPARTO where REP_cliente in (Select cat_cl_codigo from kmt_info)"))); +RDebugUtils.currentLine=14286961; + //BA.debugLineNum = 14286961;BA.debugLine="b=Starter.skmt.ExecQuery(\"select count(DISTINCT"; +__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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(DISTINCT NV_CLIENTE) as CUANTOS from noventa where nv_motivo <> 'ENTREGA' and NV_CLIENTE <> 63403"))); +RDebugUtils.currentLine=14286963; + //BA.debugLineNum = 14286963;BA.debugLine="L=Starter.skmt.ExecQuery(\"select count(DISTINCT"; +__ref._l /*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 count(DISTINCT NV_CLIENTE) as CLIENTES_DIA from noventa where nv_motivo = 'ENTREGA' and NV_CLIENTE <> 63403"))); +RDebugUtils.currentLine=14286964; + //BA.debugLineNum = 14286964;BA.debugLine="f2.Position=0"; +__ref._f2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=14286967; + //BA.debugLineNum = 14286967;BA.debugLine="Private MONTO_REC_DIA = 0"; +_monto_rec_dia = BA.NumberToString(0); +RDebugUtils.currentLine=14286968; + //BA.debugLineNum = 14286968;BA.debugLine="If f2.GetString(\"MONTO_REC_DIA\") <> Null Then MO"; +if (__ref._f2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("MONTO_REC_DIA")!= null) { +_monto_rec_dia = __ref._f2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("MONTO_REC_DIA");}; +RDebugUtils.currentLine=14286979; + //BA.debugLineNum = 14286979;BA.debugLine="C.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=14286980; + //BA.debugLineNum = 14286980;BA.debugLine="b.Position = 0"; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=14286981; + //BA.debugLineNum = 14286981;BA.debugLine="L.Position = 0"; +__ref._l /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=14286982; + //BA.debugLineNum = 14286982;BA.debugLine="f1.Position = 0"; +__ref._f1 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=14286983; + //BA.debugLineNum = 14286983;BA.debugLine="l_aLiquidar.Text = 0"; +__ref._l_aliquidar /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=14286984; + //BA.debugLineNum = 14286984;BA.debugLine="If f1.RowCount > 0 Then l_aLiquidar.Text = to_nu"; +if (__ref._f1 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +__ref._l_aliquidar /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._to_number_vb /*String*/ (null,(Object)(__ref._f1 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("MONTO_TOTAL_DIA")))));}; +RDebugUtils.currentLine=14286985; + //BA.debugLineNum = 14286985;BA.debugLine="L_MONTOE.Text = 0"; +__ref._l_montoe /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=14286987; + //BA.debugLineNum = 14286987;BA.debugLine="l_cuantosc.Text = 0"; +__ref._l_cuantosc /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=14286988; + //BA.debugLineNum = 14286988;BA.debugLine="If L.RowCount > 0 Then l_cuantosc.Text = L.GetSt"; +if (__ref._l /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +__ref._l_cuantosc /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._l /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CLIENTES_DIA")));}; +RDebugUtils.currentLine=14286989; + //BA.debugLineNum = 14286989;BA.debugLine="l_cuantosn.Text = 0"; +__ref._l_cuantosn /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=14286990; + //BA.debugLineNum = 14286990;BA.debugLine="If b.RowCount > 0 Then l_cuantosn.Text = b.GetSt"; +if (__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +__ref._l_cuantosn /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS")));}; +RDebugUtils.currentLine=14286992; + //BA.debugLineNum = 14286992;BA.debugLine="If f1.GetString(\"MONTO_TOTAL_DIA\") <> Null Then"; +if (__ref._f1 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("MONTO_TOTAL_DIA")!= null) { +__ref._l_montosalida /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.Round2((double)(Double.parseDouble(__ref._f1 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("MONTO_TOTAL_DIA"))),(int) (2))));}; +RDebugUtils.currentLine=14286994; + //BA.debugLineNum = 14286994;BA.debugLine="l_ctast.Text = 0"; +__ref._l_ctast /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=14286995; + //BA.debugLineNum = 14286995;BA.debugLine="If d.RowCount > 0 Then l_ctast.Text = d.GetStrin"; +if (__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +__ref._l_ctast /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_VISITAR")));}; +RDebugUtils.currentLine=14286996; + //BA.debugLineNum = 14286996;BA.debugLine="l_porvisitar.Text = 0"; +__ref._l_porvisitar /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=14286997; + //BA.debugLineNum = 14286997;BA.debugLine="If e.RowCount > 0 Then l_porvisitar.Text = e.Get"; +if (__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +__ref._l_porvisitar /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("POR_VISITAR")));}; +RDebugUtils.currentLine=14286998; + //BA.debugLineNum = 14286998;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=14286999; + //BA.debugLineNum = 14286999;BA.debugLine="b.Close"; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=14287010; + //BA.debugLineNum = 14287010;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }; +RDebugUtils.currentLine=14287012; + //BA.debugLineNum = 14287012;BA.debugLine="c=Starter.skmt.ExecQuery(\"select ID_ALMACEN from"; +__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=14287013; + //BA.debugLineNum = 14287013;BA.debugLine="C.Position =0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=14287014; + //BA.debugLineNum = 14287014;BA.debugLine="ALMACEN = 0"; +__ref._almacen /*String*/ = BA.NumberToString(0); +RDebugUtils.currentLine=14287015; + //BA.debugLineNum = 14287015;BA.debugLine="If C.RowCount > 0 Then ALMACEN = C.GetString(\"ID_"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +__ref._almacen /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("ID_ALMACEN");}; +RDebugUtils.currentLine=14287016; + //BA.debugLineNum = 14287016;BA.debugLine="B4XPages.MainPage.almacen = ALMACEN"; +_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._almacen /*String*/ = __ref._almacen /*String*/ ; +RDebugUtils.currentLine=14287017; + //BA.debugLineNum = 14287017;BA.debugLine="C.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=14287018; + //BA.debugLineNum = 14287018;BA.debugLine="c=Starter.skmt.ExecQuery(\"select HGDATE, HGLAT, 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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select HGDATE, HGLAT, HGLON from HIST_GPS"))); +RDebugUtils.currentLine=14287020; + //BA.debugLineNum = 14287020;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=14287021; + //BA.debugLineNum = 14287021;BA.debugLine="For i=0 To c.RowCount -1"; +{ +final int step115 = 1; +final int limit115 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit115 ;_i = _i + step115 ) { +RDebugUtils.currentLine=14287022; + //BA.debugLineNum = 14287022;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=14287023; + //BA.debugLineNum = 14287023;BA.debugLine="Dim cmd As DBCommand"; +_cmd = new reparto_izca.keymon.lat.dbrequestmanager._dbcommand(); +RDebugUtils.currentLine=14287024; + //BA.debugLineNum = 14287024;BA.debugLine="cmd.Initialize"; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=14287025; + //BA.debugLineNum = 14287025;BA.debugLine="cmd.Name = \"insert_gps_actual_REP\""; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Name /*String*/ = "insert_gps_actual_REP"; +RDebugUtils.currentLine=14287026; + //BA.debugLineNum = 14287026;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\"h"; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(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")),(Object)(__ref._usuario /*String*/ )}; + } +}; + }; +RDebugUtils.currentLine=14287030; + //BA.debugLineNum = 14287030;BA.debugLine="bu.Initialize"; +__ref._bu /*reparto_izca.keymon.lat.batteryutilities*/ ._initialize /*String*/ (null,ba); +RDebugUtils.currentLine=14287031; + //BA.debugLineNum = 14287031;BA.debugLine="batterystatus = bu.BatteryInformation"; +__ref._batterystatus /*int[]*/ = __ref._bu /*reparto_izca.keymon.lat.batteryutilities*/ ._getbatteryinformation /*int[]*/ (null); +RDebugUtils.currentLine=14287033; + //BA.debugLineNum = 14287033;BA.debugLine="B4XPages.MainPage.batt = batterystatus(0)"; +_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._batt /*int*/ = __ref._batterystatus /*int[]*/ [(int) (0)]; +RDebugUtils.currentLine=14287034; + //BA.debugLineNum = 14287034;BA.debugLine="c=Starter.skmt.ExecQuery(\"select usuario from 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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select usuario from usuarioa"))); +RDebugUtils.currentLine=14287035; + //BA.debugLineNum = 14287035;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=14287036; + //BA.debugLineNum = 14287036;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=14287037; + //BA.debugLineNum = 14287037;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=14287038; + //BA.debugLineNum = 14287038;BA.debugLine="c=Starter.skmt.ExecQuery(\"select RUTAA from RUTAA"; +__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 RUTAA from RUTAA"))); +RDebugUtils.currentLine=14287039; + //BA.debugLineNum = 14287039;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=14287040; + //BA.debugLineNum = 14287040;BA.debugLine="RUTA_T = 0"; +__ref._ruta_t /*String*/ = BA.NumberToString(0); +RDebugUtils.currentLine=14287041; + //BA.debugLineNum = 14287041;BA.debugLine="If c.RowCount > 0 Then RUTA_T = c.GetString(\"RUTA"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +__ref._ruta_t /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("RUTAA");}; +RDebugUtils.currentLine=14287042; + //BA.debugLineNum = 14287042;BA.debugLine="B4XPages.MainPage.rutaPreventa = RUTA_T"; +_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._rutapreventa /*String*/ = __ref._ruta_t /*String*/ ; +RDebugUtils.currentLine=14287043; + //BA.debugLineNum = 14287043;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=14287044; + //BA.debugLineNum = 14287044;BA.debugLine="reqs.Initialize"; +__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=14287046; + //BA.debugLineNum = 14287046;BA.debugLine="Private rc As Cursor = Starter.skmt.ExecQuery($\"s"; +_rc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_rc = (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 REPARTO where REP_RECHAZO = \"1\" and REP_CANT > 0")))); +RDebugUtils.currentLine=14287048; + //BA.debugLineNum = 14287048;BA.debugLine="If rc.RowCount > 0 Then"; +if (_rc.getRowCount()>0) { +RDebugUtils.currentLine=14287049; + //BA.debugLineNum = 14287049;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from RECHAZOS"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from RECHAZOS")); +RDebugUtils.currentLine=14287050; + //BA.debugLineNum = 14287050;BA.debugLine="For i3=0 To rc.RowCount -1 'Copiamos los rechazo"; +{ +final int step140 = 1; +final int limit140 = (int) (_rc.getRowCount()-1); +_i3 = (int) (0) ; +for (;_i3 <= limit140 ;_i3 = _i3 + step140 ) { +RDebugUtils.currentLine=14287051; + //BA.debugLineNum = 14287051;BA.debugLine="rc.Position = i3"; +_rc.setPosition(_i3); +RDebugUtils.currentLine=14287054; + //BA.debugLineNum = 14287054;BA.debugLine="Starter.skmt.ExecNonQuery($\"insert into RECHAZO"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("insert into RECHAZOS(R_FECHA, R_CLIENTE, R_CLI_ORIG, R_PRODID, R_CANT, R_RECHAZO, R_PRECIO) select REP_FECHA, REP_CLIENTE, REP_CLI_ORIG, REP_PRODID, REP_CANT, REP_RECHAZO, REP_PRECIO from REPARTO where REP_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(_rc.GetString("REP_CLIENTE")))+"' and REP_CLI_ORIG = '"+__c.SmartStringFormatter("",(Object)(_rc.GetString("REP_CLI_ORIG")))+"' and REP_PRODID = '"+__c.SmartStringFormatter("",(Object)(_rc.GetString("REP_PRODID")))+"' and REP_RECHAZO = '1' and REP_CANT > 0")); + } +}; + }; +RDebugUtils.currentLine=14287057; + //BA.debugLineNum = 14287057;BA.debugLine="Private vc As Cursor = Starter.skmt.ExecQuery($\"s"; +_vc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_vc = (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 REPARTO where REP_RECHAZO = \"0\" and REP_CANT > 0")))); +RDebugUtils.currentLine=14287059; + //BA.debugLineNum = 14287059;BA.debugLine="If vc.RowCount > 0 Then"; +if (_vc.getRowCount()>0) { +RDebugUtils.currentLine=14287060; + //BA.debugLineNum = 14287060;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from VENTAS\"$"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from VENTAS")); +RDebugUtils.currentLine=14287061; + //BA.debugLineNum = 14287061;BA.debugLine="For i4=0 To vc.RowCount -1 'Copiamos las ventas"; +{ +final int step148 = 1; +final int limit148 = (int) (_vc.getRowCount()-1); +_i4 = (int) (0) ; +for (;_i4 <= limit148 ;_i4 = _i4 + step148 ) { +RDebugUtils.currentLine=14287062; + //BA.debugLineNum = 14287062;BA.debugLine="vc.Position = i4"; +_vc.setPosition(_i4); +RDebugUtils.currentLine=14287065; + //BA.debugLineNum = 14287065;BA.debugLine="Starter.skmt.ExecNonQuery($\"insert into VENTAS("; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("insert into VENTAS(V_FECHA, V_CLIENTE, V_CLI_ORIG, V_PRODID, V_CANT, V_RECHAZO, V_PRECIO) select REP_FECHA, REP_CLIENTE, REP_CLI_ORIG, REP_PRODID, REP_CANT, REP_RECHAZO, REP_PRECIO from REPARTO where REP_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(_vc.GetString("REP_CLIENTE")))+"' and REP_CLI_ORIG = '"+__c.SmartStringFormatter("",(Object)(_vc.GetString("REP_CLI_ORIG")))+"' and REP_PRODID = '"+__c.SmartStringFormatter("",(Object)(_vc.GetString("REP_PRODID")))+"' and REP_RECHAZO = '0' and REP_CANT > 0")); + } +}; + }; +RDebugUtils.currentLine=14287068; + //BA.debugLineNum = 14287068;BA.debugLine="Starter.ENVIA_ULTIMA_GPS"; +_starter._envia_ultima_gps /*String*/ (); +RDebugUtils.currentLine=14287073; + //BA.debugLineNum = 14287073;BA.debugLine="Dim entMap As Map = Subs.traeEntregados"; +_entmap = new anywheresoftware.b4a.objects.collections.Map(); +_entmap = _subs._traeentregados /*anywheresoftware.b4a.objects.collections.Map*/ (ba); +RDebugUtils.currentLine=14287074; + //BA.debugLineNum = 14287074;BA.debugLine="Dim rechMap As Map = Subs.traeRechazados"; +_rechmap = new anywheresoftware.b4a.objects.collections.Map(); +_rechmap = _subs._traerechazados /*anywheresoftware.b4a.objects.collections.Map*/ (ba); +RDebugUtils.currentLine=14287075; + //BA.debugLineNum = 14287075;BA.debugLine="Dim vendMap As Map = Subs.traeVendidos"; +_vendmap = new anywheresoftware.b4a.objects.collections.Map(); +_vendmap = _subs._traevendidos /*anywheresoftware.b4a.objects.collections.Map*/ (ba); +RDebugUtils.currentLine=14287076; + //BA.debugLineNum = 14287076;BA.debugLine="l_aLiquidar.Text = entMap.Get(\"monto\") + vendMap."; +__ref._l_aliquidar /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence((double)(BA.ObjectToNumber(_entmap.Get((Object)("monto"))))+(double)(BA.ObjectToNumber(_vendmap.Get((Object)("monto")))))); +RDebugUtils.currentLine=14287078; + //BA.debugLineNum = 14287078;BA.debugLine="Dim cancelrecha As Cursor = Starter.skmt.ExecQuer"; +_cancelrecha = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_cancelrecha = (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 ifnull(HVD_RECHAZOCANT,0), HVD_RECHAZO, CONSECUTIVO FROM HIST_VENTAS"))); +RDebugUtils.currentLine=14287079; + //BA.debugLineNum = 14287079;BA.debugLine="If cancelrecha.RowCount > 0 Then"; +if (_cancelrecha.getRowCount()>0) { +RDebugUtils.currentLine=14287080; + //BA.debugLineNum = 14287080;BA.debugLine="For h54 = 0 To cancelrecha.RowCount - 1"; +{ +final int step160 = 1; +final int limit160 = (int) (_cancelrecha.getRowCount()-1); +_h54 = (int) (0) ; +for (;_h54 <= limit160 ;_h54 = _h54 + step160 ) { +RDebugUtils.currentLine=14287081; + //BA.debugLineNum = 14287081;BA.debugLine="cancelrecha.Position = h54"; +_cancelrecha.setPosition(_h54); +RDebugUtils.currentLine=14287082; + //BA.debugLineNum = 14287082;BA.debugLine="Starter.skmt.ExecNonQuery2(\"Update HIST_VENTAS"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("Update HIST_VENTAS set HVD_RECHAZO = '0' WHERE CONSECUTIVO = ? and (HVD_RECHAZOCANT = 0 OR HVD_RECHAZOCANT IS NULL)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_cancelrecha.GetString("CONSECUTIVO")})); + } +}; + }; +RDebugUtils.currentLine=14287085; + //BA.debugLineNum = 14287085;BA.debugLine="cancelrecha.Close"; +_cancelrecha.Close(); +RDebugUtils.currentLine=14287089; + //BA.debugLineNum = 14287089;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s"; +_r5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_r5 = (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 IFNULL(HVD_COSTO_TOT,0) AS HVD_COSTO_TOT, IFNULL(HVD_CANT,0) AS HVD_CANT, IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT, HVD_PROID, HVD_CLIENTE, CONSECUTIVO from HIST_VENTAS where HVD_RECHAZO = '1' and BCAJAS = '0' ORDER BY HVD_PROID ")))); +RDebugUtils.currentLine=14287091; + //BA.debugLineNum = 14287091;BA.debugLine="Private rescant As String = 0"; +_rescant = BA.NumberToString(0); +RDebugUtils.currentLine=14287092; + //BA.debugLineNum = 14287092;BA.debugLine="If r5.RowCount > 0 Then"; +if (_r5.getRowCount()>0) { +RDebugUtils.currentLine=14287093; + //BA.debugLineNum = 14287093;BA.debugLine="For j4 = 0 To r5.RowCount -1"; +{ +final int step169 = 1; +final int limit169 = (int) (_r5.getRowCount()-1); +_j4 = (int) (0) ; +for (;_j4 <= limit169 ;_j4 = _j4 + step169 ) { +RDebugUtils.currentLine=14287094; + //BA.debugLineNum = 14287094;BA.debugLine="r5.Position = j4"; +_r5.setPosition(_j4); +RDebugUtils.currentLine=14287095; + //BA.debugLineNum = 14287095;BA.debugLine="Private r6 As Cursor = Starter.skmt.ExecQuery($"; +_r6 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_r6 = (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 IFNULL(SUM(PE_CANT),0) AS PE_CANT from PEDIDO where PE_CLIENTEOR = '"+__c.SmartStringFormatter("",(Object)(_r5.GetString("HVD_CLIENTE")))+"' AND PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_r5.GetString("HVD_PROID")))+"' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_r5.GetString("CONSECUTIVO")))+"' AND PE_TIPO NOT IN ('DANADO','FALTANTE','SOBRANTE')")))); +RDebugUtils.currentLine=14287096; + //BA.debugLineNum = 14287096;BA.debugLine="Dim totalcantped As String"; +_totalcantped = ""; +RDebugUtils.currentLine=14287097; + //BA.debugLineNum = 14287097;BA.debugLine="If r6.RowCount > 0 Then"; +if (_r6.getRowCount()>0) { +RDebugUtils.currentLine=14287098; + //BA.debugLineNum = 14287098;BA.debugLine="r6.Position = 0"; +_r6.setPosition((int) (0)); +RDebugUtils.currentLine=14287099; + //BA.debugLineNum = 14287099;BA.debugLine="totalcantped = r6.GetString(\"PE_CANT\")"; +_totalcantped = _r6.GetString("PE_CANT"); + }else { +RDebugUtils.currentLine=14287102; + //BA.debugLineNum = 14287102;BA.debugLine="totalcantped = 0"; +_totalcantped = BA.NumberToString(0); + }; +RDebugUtils.currentLine=14287105; + //BA.debugLineNum = 14287105;BA.debugLine="Log(r5.GetString(\"HVD_RECHAZOCANT\") &\" - \"& tot"; +__c.LogImpl("814287105",_r5.GetString("HVD_RECHAZOCANT")+" - "+_totalcantped,0); +RDebugUtils.currentLine=14287106; + //BA.debugLineNum = 14287106;BA.debugLine="rescant = rescant + ((r5.GetString(\"HVD_COSTO_T"; +_rescant = BA.NumberToString((double)(Double.parseDouble(_rescant))+(((double)(Double.parseDouble(_r5.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble((_r5.GetString("HVD_CANT")))))*(((double)(Double.parseDouble(_r5.GetString("HVD_RECHAZOCANT")))-(double)(Double.parseDouble(_totalcantped)))))); +RDebugUtils.currentLine=14287108; + //BA.debugLineNum = 14287108;BA.debugLine="r6.Close"; +_r6.Close(); + } +}; + }; +RDebugUtils.currentLine=14287111; + //BA.debugLineNum = 14287111;BA.debugLine="If rescant = \"NaN\" Then rescant = 0"; +if ((_rescant).equals("NaN")) { +_rescant = BA.NumberToString(0);}; +RDebugUtils.currentLine=14287112; + //BA.debugLineNum = 14287112;BA.debugLine="LogColor(rescant,Colors.Red)"; +__c.LogImpl("814287112",_rescant,__c.Colors.Red); +RDebugUtils.currentLine=14287113; + //BA.debugLineNum = 14287113;BA.debugLine="r5.Close"; +_r5.Close(); +RDebugUtils.currentLine=14287117; + //BA.debugLineNum = 14287117;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s"; +_r5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_r5 = (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 IFNULL(HVD_COSTO_TOT,0) AS HVD_COSTO_TOT, IFNULL(HVD_CANT,0) AS HVD_CANT,IFNULL(CANTC,0) AS CANTC, IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT, HVD_PROID, HVD_CLIENTE, CONSECUTIVO from HIST_VENTAS where HVD_RECHAZO = '1' and BCAJAS = '1' ")))); +RDebugUtils.currentLine=14287121; + //BA.debugLineNum = 14287121;BA.debugLine="Private rescant2 As Double = 0"; +_rescant2 = 0; +RDebugUtils.currentLine=14287122; + //BA.debugLineNum = 14287122;BA.debugLine="If r5.RowCount > 0 Then"; +if (_r5.getRowCount()>0) { +RDebugUtils.currentLine=14287123; + //BA.debugLineNum = 14287123;BA.debugLine="For j5 = 0 To r5.RowCount -1"; +{ +final int step190 = 1; +final int limit190 = (int) (_r5.getRowCount()-1); +_j5 = (int) (0) ; +for (;_j5 <= limit190 ;_j5 = _j5 + step190 ) { +RDebugUtils.currentLine=14287124; + //BA.debugLineNum = 14287124;BA.debugLine="r5.Position = j5"; +_r5.setPosition(_j5); +RDebugUtils.currentLine=14287125; + //BA.debugLineNum = 14287125;BA.debugLine="Private r6 As Cursor = Starter.skmt.ExecQuery($"; +_r6 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_r6 = (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 IFNULL(SUM(PE_CANT),0) AS PE_CANT from PEDIDO where PE_CLIENTEOR = '"+__c.SmartStringFormatter("",(Object)(_r5.GetString("HVD_CLIENTE")))+"' AND PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_r5.GetString("HVD_PROID")))+"' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_r5.GetString("CONSECUTIVO")))+"' AND PE_TIPO NOT IN ('DANADO','FALTANTE','SOBRANTE')")))); +RDebugUtils.currentLine=14287126; + //BA.debugLineNum = 14287126;BA.debugLine="r6.Position = 0"; +_r6.setPosition((int) (0)); +RDebugUtils.currentLine=14287128; + //BA.debugLineNum = 14287128;BA.debugLine="rescant2 = rescant2 + ((r5.GetString(\"HVD_COSTO"; +_rescant2 = _rescant2+(((double)(Double.parseDouble(_r5.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble((_r5.GetString("CANTC")))))*(((double)(Double.parseDouble(_r5.GetString("HVD_RECHAZOCANT")))-(double)(Double.parseDouble(_r6.GetString("PE_CANT"))))/(double)(double)(Double.parseDouble(_subs._traeconversion /*String*/ (ba,_r5.GetString("HVD_PROID")))))); +RDebugUtils.currentLine=14287129; + //BA.debugLineNum = 14287129;BA.debugLine="rescant2 = NumberFormat2(rescant2, 0, 2, 2, Fal"; +_rescant2 = (double)(Double.parseDouble(__c.NumberFormat2(_rescant2,(int) (0),(int) (2),(int) (2),__c.False))); +RDebugUtils.currentLine=14287130; + //BA.debugLineNum = 14287130;BA.debugLine="r6.Close"; +_r6.Close(); + } +}; + }; +RDebugUtils.currentLine=14287133; + //BA.debugLineNum = 14287133;BA.debugLine="If rescant2 = \"NaN\" Then rescant2 = 0"; +if (_rescant2==(double)(Double.parseDouble("NaN"))) { +_rescant2 = 0;}; +RDebugUtils.currentLine=14287134; + //BA.debugLineNum = 14287134;BA.debugLine="Log(rescant2)"; +__c.LogImpl("814287134",BA.NumberToString(_rescant2),0); +RDebugUtils.currentLine=14287135; + //BA.debugLineNum = 14287135;BA.debugLine="r5.Close"; +_r5.Close(); +RDebugUtils.currentLine=14287140; + //BA.debugLineNum = 14287140;BA.debugLine="Private r5r As Cursor = Starter.skmt.ExecQuery($\""; +_r5r = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_r5r = (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 IFNULL(HVD_COSTO_TOT,0) AS HVD_COSTO_TOT, IFNULL(HVD_CANT,0) AS HVD_CANT, IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT, HVD_PROID, HVD_CLIENTE, CONSECUTIVO from HIST_VENTAS where HVD_RECHAZO = '1' and BCAJAS = '0' ")))); +RDebugUtils.currentLine=14287142; + //BA.debugLineNum = 14287142;BA.debugLine="Private rescantr As String = 0"; +_rescantr = BA.NumberToString(0); +RDebugUtils.currentLine=14287143; + //BA.debugLineNum = 14287143;BA.debugLine="If r5r.RowCount > 0 Then"; +if (_r5r.getRowCount()>0) { +RDebugUtils.currentLine=14287144; + //BA.debugLineNum = 14287144;BA.debugLine="For j4r = 0 To r5r.RowCount -1"; +{ +final int step205 = 1; +final int limit205 = (int) (_r5r.getRowCount()-1); +_j4r = (int) (0) ; +for (;_j4r <= limit205 ;_j4r = _j4r + step205 ) { +RDebugUtils.currentLine=14287145; + //BA.debugLineNum = 14287145;BA.debugLine="r5r.Position = j4r"; +_r5r.setPosition(_j4r); +RDebugUtils.currentLine=14287146; + //BA.debugLineNum = 14287146;BA.debugLine="Private r6r As Cursor = Starter.skmt.ExecQuery("; +_r6r = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_r6r = (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 IFNULL(SUM(PE_CANT),0) AS PE_CANT from PEDIDO where PE_CLIENTEOR = '"+__c.SmartStringFormatter("",(Object)(_r5r.GetString("HVD_CLIENTE")))+"' AND PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_r5r.GetString("HVD_PROID")))+"' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_r5r.GetString("CONSECUTIVO")))+"' AND PE_TIPO NOT IN ('DANADO','FALTANTE','SOBRANTE') ")))); +RDebugUtils.currentLine=14287147; + //BA.debugLineNum = 14287147;BA.debugLine="r6r.Position = 0"; +_r6r.setPosition((int) (0)); +RDebugUtils.currentLine=14287150; + //BA.debugLineNum = 14287150;BA.debugLine="rescantr = rescantr + ((r5r.GetString(\"HVD_COST"; +_rescantr = BA.NumberToString((double)(Double.parseDouble(_rescantr))+(((double)(Double.parseDouble(_r5r.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble((_r5r.GetString("HVD_CANT")))))*(double)(Double.parseDouble((_r5r.GetString("HVD_RECHAZOCANT")))))); +RDebugUtils.currentLine=14287151; + //BA.debugLineNum = 14287151;BA.debugLine="r6r.Close"; +_r6r.Close(); + } +}; + }; +RDebugUtils.currentLine=14287154; + //BA.debugLineNum = 14287154;BA.debugLine="If rescantr = \"NaN\" Then rescantr = 0"; +if ((_rescantr).equals("NaN")) { +_rescantr = BA.NumberToString(0);}; +RDebugUtils.currentLine=14287156; + //BA.debugLineNum = 14287156;BA.debugLine="r5r.Close"; +_r5r.Close(); +RDebugUtils.currentLine=14287158; + //BA.debugLineNum = 14287158;BA.debugLine="Log(rescantr)"; +__c.LogImpl("814287158",_rescantr,0); +RDebugUtils.currentLine=14287160; + //BA.debugLineNum = 14287160;BA.debugLine="Private r5r As Cursor = Starter.skmt.ExecQuery($\""; +_r5r = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_r5r = (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 IFNULL(HVD_COSTO_TOT,0) AS HVD_COSTO_TOT, IFNULL(HVD_CANT,0) AS HVD_CANT,IFNULL(CANTC,0) AS CANTC, IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT, HVD_PROID, HVD_CLIENTE, CONSECUTIVO from HIST_VENTAS where HVD_RECHAZO = '1' and BCAJAS = '1' ")))); +RDebugUtils.currentLine=14287164; + //BA.debugLineNum = 14287164;BA.debugLine="Private rescant2r As String = 0"; +_rescant2r = BA.NumberToString(0); +RDebugUtils.currentLine=14287165; + //BA.debugLineNum = 14287165;BA.debugLine="If r5r.RowCount > 0 Then"; +if (_r5r.getRowCount()>0) { +RDebugUtils.currentLine=14287166; + //BA.debugLineNum = 14287166;BA.debugLine="For j5r = 0 To r5r.RowCount -1"; +{ +final int step219 = 1; +final int limit219 = (int) (_r5r.getRowCount()-1); +_j5r = (int) (0) ; +for (;_j5r <= limit219 ;_j5r = _j5r + step219 ) { +RDebugUtils.currentLine=14287167; + //BA.debugLineNum = 14287167;BA.debugLine="r5r.Position = j5r"; +_r5r.setPosition(_j5r); +RDebugUtils.currentLine=14287168; + //BA.debugLineNum = 14287168;BA.debugLine="Private r6r As Cursor = Starter.skmt.ExecQuery("; +_r6r = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_r6r = (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 IFNULL(SUM(PE_CANT),0) AS PE_CANT from PEDIDO where PE_CLIENTEOR = '"+__c.SmartStringFormatter("",(Object)(_r5r.GetString("HVD_CLIENTE")))+"' AND PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_r5r.GetString("HVD_PROID")))+"' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_r5r.GetString("CONSECUTIVO")))+"' AND PE_TIPO NOT IN ('DANADO','FALTANTE','SOBRANTE')")))); +RDebugUtils.currentLine=14287169; + //BA.debugLineNum = 14287169;BA.debugLine="r6r.Position = 0"; +_r6r.setPosition((int) (0)); +RDebugUtils.currentLine=14287171; + //BA.debugLineNum = 14287171;BA.debugLine="rescant2r = rescant2r + ((r5r.GetString(\"HVD_CO"; +_rescant2r = BA.NumberToString((double)(Double.parseDouble(_rescant2r))+(((double)(Double.parseDouble(_r5r.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble((_r5r.GetString("CANTC")))))*((double)(Double.parseDouble((_r5r.GetString("HVD_RECHAZOCANT"))))/(double)(double)(Double.parseDouble(_subs._traeconversion /*String*/ (ba,_r5r.GetString("HVD_PROID"))))))); +RDebugUtils.currentLine=14287172; + //BA.debugLineNum = 14287172;BA.debugLine="r6r.Close"; +_r6r.Close(); + } +}; + }; +RDebugUtils.currentLine=14287175; + //BA.debugLineNum = 14287175;BA.debugLine="If rescant2r = \"NaN\" Then rescant2r = 0"; +if ((_rescant2r).equals("NaN")) { +_rescant2r = BA.NumberToString(0);}; +RDebugUtils.currentLine=14287177; + //BA.debugLineNum = 14287177;BA.debugLine="r5r.Close"; +_r5r.Close(); +RDebugUtils.currentLine=14287178; + //BA.debugLineNum = 14287178;BA.debugLine="Log(rescant2r)"; +__c.LogImpl("814287178",_rescant2r,0); +RDebugUtils.currentLine=14287179; + //BA.debugLineNum = 14287179;BA.debugLine="Log(rescant2r+rescantr)"; +__c.LogImpl("814287179",BA.NumberToString((double)(Double.parseDouble(_rescant2r))+(double)(Double.parseDouble(_rescantr))),0); +RDebugUtils.currentLine=14287195; + //BA.debugLineNum = 14287195;BA.debugLine="Private r55 As Cursor = Starter.skmt.ExecQuery($\""; +_r55 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_r55 = (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 HVD_COSTO_TOT from HIST_VENTAS where HVD_RECHAZO = '0' and BCAJAS = '0' ")))); +RDebugUtils.currentLine=14287196; + //BA.debugLineNum = 14287196;BA.debugLine="Private rescant3 As Double"; +_rescant3 = 0; +RDebugUtils.currentLine=14287197; + //BA.debugLineNum = 14287197;BA.debugLine="If r55.RowCount > 0 Then"; +if (_r55.getRowCount()>0) { +RDebugUtils.currentLine=14287198; + //BA.debugLineNum = 14287198;BA.debugLine="For r75 = 0 To r55.RowCount -1"; +{ +final int step234 = 1; +final int limit234 = (int) (_r55.getRowCount()-1); +_r75 = (int) (0) ; +for (;_r75 <= limit234 ;_r75 = _r75 + step234 ) { +RDebugUtils.currentLine=14287199; + //BA.debugLineNum = 14287199;BA.debugLine="r55.Position = r75"; +_r55.setPosition(_r75); +RDebugUtils.currentLine=14287200; + //BA.debugLineNum = 14287200;BA.debugLine="rescant3 = rescant3 + r55.GetString(\"HVD_COSTO_"; +_rescant3 = _rescant3+(double)(Double.parseDouble(_r55.GetString("HVD_COSTO_TOT"))); +RDebugUtils.currentLine=14287201; + //BA.debugLineNum = 14287201;BA.debugLine="rescant3 = NumberFormat2(rescant3, 0, 2, 2, Fal"; +_rescant3 = (double)(Double.parseDouble(__c.NumberFormat2(_rescant3,(int) (0),(int) (2),(int) (2),__c.False))); + } +}; + }; +RDebugUtils.currentLine=14287205; + //BA.debugLineNum = 14287205;BA.debugLine="Log(rescant3)"; +__c.LogImpl("814287205",BA.NumberToString(_rescant3),0); +RDebugUtils.currentLine=14287206; + //BA.debugLineNum = 14287206;BA.debugLine="r55.Close"; +_r55.Close(); +RDebugUtils.currentLine=14287211; + //BA.debugLineNum = 14287211;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s"; +_r5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_r5 = (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 IFNULL(SUM(HVD_COSTO_TOT),0) AS HVD_COSTO_TOT from HIST_VENTAS where HVD_RECHAZO = '0' and BCAJAS = '1' ")))); +RDebugUtils.currentLine=14287212; + //BA.debugLineNum = 14287212;BA.debugLine="Private rescant4 As Double"; +_rescant4 = 0; +RDebugUtils.currentLine=14287213; + //BA.debugLineNum = 14287213;BA.debugLine="If r5.RowCount > 0 Then"; +if (_r5.getRowCount()>0) { +RDebugUtils.currentLine=14287214; + //BA.debugLineNum = 14287214;BA.debugLine="r5.Position = 0"; +_r5.setPosition((int) (0)); +RDebugUtils.currentLine=14287215; + //BA.debugLineNum = 14287215;BA.debugLine="rescant4 = r5.GetString(\"HVD_COSTO_TOT\")"; +_rescant4 = (double)(Double.parseDouble(_r5.GetString("HVD_COSTO_TOT"))); + }; +RDebugUtils.currentLine=14287217; + //BA.debugLineNum = 14287217;BA.debugLine="Log(rescant4)"; +__c.LogImpl("814287217",BA.NumberToString(_rescant4),0); +RDebugUtils.currentLine=14287218; + //BA.debugLineNum = 14287218;BA.debugLine="r5.Close"; +_r5.Close(); +RDebugUtils.currentLine=14287220; + //BA.debugLineNum = 14287220;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s"; +_r5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_r5 = (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 IFNULL(SUM(PE_COSTO_TOT),0) AS PE_COSTO_TOT from PEDIDO WHERE PE_TIPO <> 'SOBRANTE' ")))); +RDebugUtils.currentLine=14287221; + //BA.debugLineNum = 14287221;BA.debugLine="Private rescant5 As Double"; +_rescant5 = 0; +RDebugUtils.currentLine=14287222; + //BA.debugLineNum = 14287222;BA.debugLine="If r5.RowCount > 0 Then"; +if (_r5.getRowCount()>0) { +RDebugUtils.currentLine=14287223; + //BA.debugLineNum = 14287223;BA.debugLine="r5.Position = 0"; +_r5.setPosition((int) (0)); +RDebugUtils.currentLine=14287224; + //BA.debugLineNum = 14287224;BA.debugLine="rescant5 = r5.GetString(\"PE_COSTO_TOT\")"; +_rescant5 = (double)(Double.parseDouble(_r5.GetString("PE_COSTO_TOT"))); + }; +RDebugUtils.currentLine=14287226; + //BA.debugLineNum = 14287226;BA.debugLine="Log(rescant5)"; +__c.LogImpl("814287226",BA.NumberToString(_rescant5),0); +RDebugUtils.currentLine=14287227; + //BA.debugLineNum = 14287227;BA.debugLine="r5.Close"; +_r5.Close(); +RDebugUtils.currentLine=14287232; + //BA.debugLineNum = 14287232;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s"; +_r5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_r5 = (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 IFNULL(HVD_COSTO_TOT,0) AS HVD_COSTO_TOT, IFNULL(HVD_CANT,0) AS HVD_CANT, IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT, HVD_PROID, HVD_CLIENTE, CONSECUTIVO from HIST_VENTAS where HVD_RECHAZO = '1' and BCAJAS = '0' ")))); +RDebugUtils.currentLine=14287233; + //BA.debugLineNum = 14287233;BA.debugLine="Private rescant6 As Double"; +_rescant6 = 0; +RDebugUtils.currentLine=14287234; + //BA.debugLineNum = 14287234;BA.debugLine="If r5.RowCount > 0 Then"; +if (_r5.getRowCount()>0) { +RDebugUtils.currentLine=14287235; + //BA.debugLineNum = 14287235;BA.debugLine="For j4 = 0 To r5.RowCount -1"; +{ +final int step261 = 1; +final int limit261 = (int) (_r5.getRowCount()-1); +_j4 = (int) (0) ; +for (;_j4 <= limit261 ;_j4 = _j4 + step261 ) { +RDebugUtils.currentLine=14287236; + //BA.debugLineNum = 14287236;BA.debugLine="r5.Position = j4"; +_r5.setPosition(_j4); +RDebugUtils.currentLine=14287237; + //BA.debugLineNum = 14287237;BA.debugLine="Private r6 As Cursor = Starter.skmt.ExecQuery($"; +_r6 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_r6 = (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 IFNULL(SUM(PE_CANT),0) AS PE_CANT from PEDIDO where PE_CLIENTEOR = '"+__c.SmartStringFormatter("",(Object)(_r5.GetString("HVD_CLIENTE")))+"' AND PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_r5.GetString("HVD_PROID")))+"' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_r5.GetString("CONSECUTIVO")))+"' AND PE_TIPO NOT IN ('DANADO','FALTANTE','SOBRANTE')")))); +RDebugUtils.currentLine=14287238; + //BA.debugLineNum = 14287238;BA.debugLine="r6.Position = 0"; +_r6.setPosition((int) (0)); +RDebugUtils.currentLine=14287241; + //BA.debugLineNum = 14287241;BA.debugLine="rescant6 = rescant6 + ((r5.GetString(\"HVD_COSTO"; +_rescant6 = _rescant6+(((double)(Double.parseDouble(_r5.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble((_r5.GetString("HVD_CANT")))))*((double)(Double.parseDouble(_r5.GetString("HVD_CANT")))-(double)(Double.parseDouble(_r5.GetString("HVD_RECHAZOCANT"))))); +RDebugUtils.currentLine=14287243; + //BA.debugLineNum = 14287243;BA.debugLine="r6.Close"; +_r6.Close(); + } +}; + }; +RDebugUtils.currentLine=14287246; + //BA.debugLineNum = 14287246;BA.debugLine="If rescant6 = \"NaN\" Then rescant6 = 0"; +if (_rescant6==(double)(Double.parseDouble("NaN"))) { +_rescant6 = 0;}; +RDebugUtils.currentLine=14287247; + //BA.debugLineNum = 14287247;BA.debugLine="LogColor(rescant6,Colors.Red)"; +__c.LogImpl("814287247",BA.NumberToString(_rescant6),__c.Colors.Red); +RDebugUtils.currentLine=14287248; + //BA.debugLineNum = 14287248;BA.debugLine="r5.Close"; +_r5.Close(); +RDebugUtils.currentLine=14287250; + //BA.debugLineNum = 14287250;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s"; +_r5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_r5 = (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 IFNULL(HVD_COSTO_TOT,0) AS HVD_COSTO_TOT, IFNULL(HVD_CANT,0) AS HVD_CANT,IFNULL(CANTC,0) AS CANTC, IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT, HVD_PROID, HVD_CLIENTE, CONSECUTIVO from HIST_VENTAS where HVD_RECHAZO = '1' and BCAJAS = '1' ")))); +RDebugUtils.currentLine=14287251; + //BA.debugLineNum = 14287251;BA.debugLine="Private rescant7 As Double"; +_rescant7 = 0; +RDebugUtils.currentLine=14287252; + //BA.debugLineNum = 14287252;BA.debugLine="If r5.RowCount > 0 Then"; +if (_r5.getRowCount()>0) { +RDebugUtils.currentLine=14287253; + //BA.debugLineNum = 14287253;BA.debugLine="For j5 = 0 To r5.RowCount -1"; +{ +final int step275 = 1; +final int limit275 = (int) (_r5.getRowCount()-1); +_j5 = (int) (0) ; +for (;_j5 <= limit275 ;_j5 = _j5 + step275 ) { +RDebugUtils.currentLine=14287254; + //BA.debugLineNum = 14287254;BA.debugLine="r5.Position = j5"; +_r5.setPosition(_j5); +RDebugUtils.currentLine=14287255; + //BA.debugLineNum = 14287255;BA.debugLine="Private r6 As Cursor = Starter.skmt.ExecQuery($"; +_r6 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_r6 = (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 IFNULL(SUM(PE_CANT),0) AS PE_CANT from PEDIDO where PE_CLIENTEOR = '"+__c.SmartStringFormatter("",(Object)(_r5.GetString("HVD_CLIENTE")))+"' AND PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_r5.GetString("HVD_PROID")))+"' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_r5.GetString("CONSECUTIVO")))+"' PE_TIPO NOT IN ('DANADO','FALTANTE','SOBRANTE')")))); +RDebugUtils.currentLine=14287256; + //BA.debugLineNum = 14287256;BA.debugLine="r6.Position = 0"; +_r6.setPosition((int) (0)); +RDebugUtils.currentLine=14287258; + //BA.debugLineNum = 14287258;BA.debugLine="rescant7 = rescant7 + ((r5.GetString(\"HVD_COSTO"; +_rescant7 = _rescant7+(((double)(Double.parseDouble(_r5.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble((_r5.GetString("CANTC")))))*(((double)(Double.parseDouble(_r5.GetString("HVD_CANT")))-(double)(Double.parseDouble(_r5.GetString("HVD_RECHAZOCANT"))))/(double)(double)(Double.parseDouble(_subs._traeconversion /*String*/ (ba,_r5.GetString("HVD_PROID")))))); +RDebugUtils.currentLine=14287259; + //BA.debugLineNum = 14287259;BA.debugLine="r6.Close"; +_r6.Close(); + } +}; + }; +RDebugUtils.currentLine=14287262; + //BA.debugLineNum = 14287262;BA.debugLine="If rescant7 = \"NaN\" Then rescant7 = 0"; +if (_rescant7==(double)(Double.parseDouble("NaN"))) { +_rescant7 = 0;}; +RDebugUtils.currentLine=14287263; + //BA.debugLineNum = 14287263;BA.debugLine="Log(rescant7)"; +__c.LogImpl("814287263",BA.NumberToString(_rescant7),0); +RDebugUtils.currentLine=14287264; + //BA.debugLineNum = 14287264;BA.debugLine="r5.Close"; +_r5.Close(); +RDebugUtils.currentLine=14287267; + //BA.debugLineNum = 14287267;BA.debugLine="Private r55 As Cursor = Starter.skmt.ExecQuery($\""; +_r55 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_r55 = (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 HVD_COSTO_TOT, HVD_CANT from HIST_VENTAS where HVD_RECHAZO = '0' and BCAJAS = '0' AND HVD_CLIENTE IN (SELECT CAT_CL_CODIGO from kmt_info WHERE gestion = 2)")))); +RDebugUtils.currentLine=14287268; + //BA.debugLineNum = 14287268;BA.debugLine="Private rescant10 As Double"; +_rescant10 = 0; +RDebugUtils.currentLine=14287269; + //BA.debugLineNum = 14287269;BA.debugLine="Private pztotal As Int"; +_pztotal = 0; +RDebugUtils.currentLine=14287270; + //BA.debugLineNum = 14287270;BA.debugLine="If r55.RowCount > 0 Then"; +if (_r55.getRowCount()>0) { +RDebugUtils.currentLine=14287271; + //BA.debugLineNum = 14287271;BA.debugLine="For r75 = 0 To r55.RowCount -1"; +{ +final int step290 = 1; +final int limit290 = (int) (_r55.getRowCount()-1); +_r75 = (int) (0) ; +for (;_r75 <= limit290 ;_r75 = _r75 + step290 ) { +RDebugUtils.currentLine=14287272; + //BA.debugLineNum = 14287272;BA.debugLine="r55.Position = r75"; +_r55.setPosition(_r75); +RDebugUtils.currentLine=14287273; + //BA.debugLineNum = 14287273;BA.debugLine="rescant10 = rescant10 + r55.GetString(\"HVD_COST"; +_rescant10 = _rescant10+(double)(Double.parseDouble(_r55.GetString("HVD_COSTO_TOT"))); +RDebugUtils.currentLine=14287274; + //BA.debugLineNum = 14287274;BA.debugLine="rescant10 = NumberFormat2(rescant10, 0, 2, 2, F"; +_rescant10 = (double)(Double.parseDouble(__c.NumberFormat2(_rescant10,(int) (0),(int) (2),(int) (2),__c.False))); +RDebugUtils.currentLine=14287275; + //BA.debugLineNum = 14287275;BA.debugLine="pztotal = pztotal + r55.GetString(\"HVD_CANT\")"; +_pztotal = (int) (_pztotal+(double)(Double.parseDouble(_r55.GetString("HVD_CANT")))); + } +}; + }; +RDebugUtils.currentLine=14287278; + //BA.debugLineNum = 14287278;BA.debugLine="Log(rescant10)"; +__c.LogImpl("814287278",BA.NumberToString(_rescant10),0); +RDebugUtils.currentLine=14287279; + //BA.debugLineNum = 14287279;BA.debugLine="r55.Close"; +_r55.Close(); +RDebugUtils.currentLine=14287292; + //BA.debugLineNum = 14287292;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s"; +_r5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_r5 = (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 IFNULL(SUM(PE_COSTO_TOT),0) AS PE_COSTO_TOT, IFNULL(SUM(PE_CANT),0) AS PE_CANT from PEDIDO ")))); +RDebugUtils.currentLine=14287293; + //BA.debugLineNum = 14287293;BA.debugLine="Private pztotal2 As Int"; +_pztotal2 = 0; +RDebugUtils.currentLine=14287294; + //BA.debugLineNum = 14287294;BA.debugLine="Private rescant11 As Double"; +_rescant11 = 0; +RDebugUtils.currentLine=14287295; + //BA.debugLineNum = 14287295;BA.debugLine="If r5.RowCount > 0 Then"; +if (_r5.getRowCount()>0) { +RDebugUtils.currentLine=14287296; + //BA.debugLineNum = 14287296;BA.debugLine="r5.Position = 0"; +_r5.setPosition((int) (0)); +RDebugUtils.currentLine=14287297; + //BA.debugLineNum = 14287297;BA.debugLine="rescant11 = r5.GetString(\"PE_COSTO_TOT\")"; +_rescant11 = (double)(Double.parseDouble(_r5.GetString("PE_COSTO_TOT"))); +RDebugUtils.currentLine=14287298; + //BA.debugLineNum = 14287298;BA.debugLine="pztotal2 = pztotal2 + r5.GetString(\"PE_CANT\")"; +_pztotal2 = (int) (_pztotal2+(double)(Double.parseDouble(_r5.GetString("PE_CANT")))); + }; +RDebugUtils.currentLine=14287300; + //BA.debugLineNum = 14287300;BA.debugLine="Log(rescant11)"; +__c.LogImpl("814287300",BA.NumberToString(_rescant11),0); +RDebugUtils.currentLine=14287301; + //BA.debugLineNum = 14287301;BA.debugLine="r5.Close"; +_r5.Close(); +RDebugUtils.currentLine=14287303; + //BA.debugLineNum = 14287303;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s"; +_r5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_r5 = (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 IFNULL(HVD_COSTO_TOT,0) AS HVD_COSTO_TOT, IFNULL(HVD_CANT,0) AS HVD_CANT, IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT, HVD_PROID, HVD_CLIENTE, CONSECUTIVO from HIST_VENTAS where HVD_RECHAZO = '1' and BCAJAS = '0' AND HVD_CLIENTE IN (SELECT CAT_CL_CODIGO from kmt_info WHERE gestion = 2) ")))); +RDebugUtils.currentLine=14287304; + //BA.debugLineNum = 14287304;BA.debugLine="Private pztotal3 As Int"; +_pztotal3 = 0; +RDebugUtils.currentLine=14287305; + //BA.debugLineNum = 14287305;BA.debugLine="Private rescant12 As Double"; +_rescant12 = 0; +RDebugUtils.currentLine=14287306; + //BA.debugLineNum = 14287306;BA.debugLine="If r5.RowCount > 0 Then"; +if (_r5.getRowCount()>0) { +RDebugUtils.currentLine=14287307; + //BA.debugLineNum = 14287307;BA.debugLine="For j4 = 0 To r5.RowCount -1"; +{ +final int step313 = 1; +final int limit313 = (int) (_r5.getRowCount()-1); +_j4 = (int) (0) ; +for (;_j4 <= limit313 ;_j4 = _j4 + step313 ) { +RDebugUtils.currentLine=14287308; + //BA.debugLineNum = 14287308;BA.debugLine="r5.Position = j4"; +_r5.setPosition(_j4); +RDebugUtils.currentLine=14287309; + //BA.debugLineNum = 14287309;BA.debugLine="Private r6 As Cursor = Starter.skmt.ExecQuery($"; +_r6 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_r6 = (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 IFNULL(SUM(PE_CANT),0) AS PE_CANT from PEDIDO where PE_CLIENTEOR = '"+__c.SmartStringFormatter("",(Object)(_r5.GetString("HVD_CLIENTE")))+"' AND PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_r5.GetString("HVD_PROID")))+"' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_r5.GetString("CONSECUTIVO")))+"' ")))); +RDebugUtils.currentLine=14287310; + //BA.debugLineNum = 14287310;BA.debugLine="r6.Position = 0"; +_r6.setPosition((int) (0)); +RDebugUtils.currentLine=14287311; + //BA.debugLineNum = 14287311;BA.debugLine="LogColor(r5.GetString(\"HVD_COSTO_TOT\")&\" / \"& r"; +__c.LogImpl("814287311",_r5.GetString("HVD_COSTO_TOT")+" / "+_r5.GetString("HVD_CANT")+" * "+_r5.GetString("HVD_RECHAZOCANT")+" - "+_r6.GetString("PE_CANT"),__c.Colors.Blue); +RDebugUtils.currentLine=14287312; + //BA.debugLineNum = 14287312;BA.debugLine="LogColor(r6.GetString(\"PE_CANT\"),Colors.Blue)"; +__c.LogImpl("814287312",_r6.GetString("PE_CANT"),__c.Colors.Blue); +RDebugUtils.currentLine=14287313; + //BA.debugLineNum = 14287313;BA.debugLine="rescant12 = rescant12 + ((r5.GetString(\"HVD_COS"; +_rescant12 = _rescant12+(((double)(Double.parseDouble(_r5.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble((_r5.GetString("HVD_CANT")))))*((double)(Double.parseDouble(_r5.GetString("HVD_CANT")))-(double)(Double.parseDouble(_r5.GetString("HVD_RECHAZOCANT"))))); +RDebugUtils.currentLine=14287314; + //BA.debugLineNum = 14287314;BA.debugLine="pztotal3 = pztotal3 + (r5.GetString(\"HVD_CANT\""; +_pztotal3 = (int) (_pztotal3+((double)(Double.parseDouble(_r5.GetString("HVD_CANT")))-(double)(Double.parseDouble(_r5.GetString("HVD_RECHAZOCANT"))))); +RDebugUtils.currentLine=14287315; + //BA.debugLineNum = 14287315;BA.debugLine="Log(rescant12)"; +__c.LogImpl("814287315",BA.NumberToString(_rescant12),0); +RDebugUtils.currentLine=14287316; + //BA.debugLineNum = 14287316;BA.debugLine="r6.Close"; +_r6.Close(); + } +}; + }; +RDebugUtils.currentLine=14287319; + //BA.debugLineNum = 14287319;BA.debugLine="If rescant12 = \"NaN\" Then rescant12 = 0"; +if (_rescant12==(double)(Double.parseDouble("NaN"))) { +_rescant12 = 0;}; +RDebugUtils.currentLine=14287320; + //BA.debugLineNum = 14287320;BA.debugLine="LogColor(rescant12,Colors.Red)"; +__c.LogImpl("814287320",BA.NumberToString(_rescant12),__c.Colors.Red); +RDebugUtils.currentLine=14287321; + //BA.debugLineNum = 14287321;BA.debugLine="r5.Close"; +_r5.Close(); +RDebugUtils.currentLine=14287324; + //BA.debugLineNum = 14287324;BA.debugLine="Private restafaltante As Cursor = Starter.skmt.Ex"; +_restafaltante = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_restafaltante = (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 IFNULL(SUM(PE_COSTO_TOT),0) AS PE_COSTO_TOT from PEDIDO where PE_CLIENTEOR = '' AND PE_TIPO = 'FALTANTE'")))); +RDebugUtils.currentLine=14287326; + //BA.debugLineNum = 14287326;BA.debugLine="Private rescant8 As Double = 0"; +_rescant8 = 0; +RDebugUtils.currentLine=14287328; + //BA.debugLineNum = 14287328;BA.debugLine="If restafaltante.RowCount > 0 Then"; +if (_restafaltante.getRowCount()>0) { +RDebugUtils.currentLine=14287329; + //BA.debugLineNum = 14287329;BA.debugLine="restafaltante.Position = 0"; +_restafaltante.setPosition((int) (0)); +RDebugUtils.currentLine=14287330; + //BA.debugLineNum = 14287330;BA.debugLine="rescant8 = NumberFormat2(restafaltante.GetDouble"; +_rescant8 = (double)(Double.parseDouble(__c.NumberFormat2(_restafaltante.GetDouble("PE_COSTO_TOT"),(int) (0),(int) (2),(int) (2),__c.False))); + }; +RDebugUtils.currentLine=14287332; + //BA.debugLineNum = 14287332;BA.debugLine="If rescant8 = \"NaN\" Then rescant8 = 0"; +if (_rescant8==(double)(Double.parseDouble("NaN"))) { +_rescant8 = 0;}; +RDebugUtils.currentLine=14287333; + //BA.debugLineNum = 14287333;BA.debugLine="Log(rescant8)"; +__c.LogImpl("814287333",BA.NumberToString(_rescant8),0); +RDebugUtils.currentLine=14287334; + //BA.debugLineNum = 14287334;BA.debugLine="r5.Close"; +_r5.Close(); +RDebugUtils.currentLine=14287336; + //BA.debugLineNum = 14287336;BA.debugLine="l_rechazo.text = NumberFormat2((rescant + rescant"; +__ref._l_rechazo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.NumberFormat2(((double)(Double.parseDouble(_rescant))+_rescant2),(int) (0),(int) (2),(int) (2),__c.False))); +RDebugUtils.currentLine=14287337; + //BA.debugLineNum = 14287337;BA.debugLine="L_MONTOE.Text = NumberFormat2((rescant3 + rescant"; +__ref._l_montoe /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.NumberFormat2((_rescant3+_rescant4+_rescant5+_rescant6+_rescant7),(int) (0),(int) (2),(int) (2),__c.False))); +RDebugUtils.currentLine=14287338; + //BA.debugLineNum = 14287338;BA.debugLine="Log((rescant3 &\" + \"& rescant4 &\" + \"& re"; +__c.LogImpl("814287338",(BA.NumberToString(_rescant3)+" + "+BA.NumberToString(_rescant4)+" + "+BA.NumberToString(_rescant5)+" + "+BA.NumberToString(_rescant6)+" + "+BA.NumberToString(_rescant7)),0); +RDebugUtils.currentLine=14287341; + //BA.debugLineNum = 14287341;BA.debugLine="Dim g8 As Cursor = Starter.skmt.ExecQuery(\"SELECT"; +_g8 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_g8 = (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 IFNULL(SUM(HVD_COSTO_TOT),0) AS HVD_COSTO_TOT FROM HIST_VENTAS"))); +RDebugUtils.currentLine=14287342; + //BA.debugLineNum = 14287342;BA.debugLine="g8.Position = 0"; +_g8.setPosition((int) (0)); +RDebugUtils.currentLine=14287343; + //BA.debugLineNum = 14287343;BA.debugLine="Dim g11 As Cursor = Starter.skmt.ExecQuery(\"SELEC"; +_g11 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_g11 = (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_info where gestion <> 0"))); +RDebugUtils.currentLine=14287344; + //BA.debugLineNum = 14287344;BA.debugLine="g11.Position = 0"; +_g11.setPosition((int) (0)); +RDebugUtils.currentLine=14287345; + //BA.debugLineNum = 14287345;BA.debugLine="Dim g12 As Cursor = Starter.skmt.ExecQuery(\"SELEC"; +_g12 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_g12 = (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_info where gestion = 2"))); +RDebugUtils.currentLine=14287346; + //BA.debugLineNum = 14287346;BA.debugLine="g12.Position = 0"; +_g12.setPosition((int) (0)); +RDebugUtils.currentLine=14287347; + //BA.debugLineNum = 14287347;BA.debugLine="Dim g13 As Cursor = Starter.skmt.ExecQuery(\"SELEC"; +_g13 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_g13 = (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_info where gestion = 3"))); +RDebugUtils.currentLine=14287348; + //BA.debugLineNum = 14287348;BA.debugLine="g13.Position = 0"; +_g13.setPosition((int) (0)); +RDebugUtils.currentLine=14287350; + //BA.debugLineNum = 14287350;BA.debugLine="B4XPages.MainPage.monto_entregadoactual = Number"; +_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._monto_entregadoactual /*String*/ = __c.NumberFormat2((_rescant10+_rescant11+_rescant12),(int) (0),(int) (2),(int) (2),__c.False); +RDebugUtils.currentLine=14287352; + //BA.debugLineNum = 14287352;BA.debugLine="B4XPages.MainPage.clientesVisitados = L_MONTOE.Te"; +_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._clientesvisitados /*String*/ = __ref._l_montoe /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText(); +RDebugUtils.currentLine=14287353; + //BA.debugLineNum = 14287353;BA.debugLine="B4XPages.MainPage.clientesVenta = l_cuantosc.Text"; +_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._clientesventa /*String*/ = __ref._l_cuantosc /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText(); +RDebugUtils.currentLine=14287354; + //BA.debugLineNum = 14287354;BA.debugLine="B4XPages.MainPage.clientesRechazo = l_cuantosn.Te"; +_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._clientesrechazo /*String*/ = __ref._l_cuantosn /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText(); +RDebugUtils.currentLine=14287355; + //BA.debugLineNum = 14287355;BA.debugLine="B4XPages.MainPage.clientestotal = l_porvisitar.Te"; +_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._clientestotal /*String*/ = __ref._l_porvisitar /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText(); +RDebugUtils.currentLine=14287356; + //BA.debugLineNum = 14287356;BA.debugLine="B4XPages.MainPage.montoActual = Round2(g8.GetStr"; +_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._montoactual /*String*/ = BA.NumberToString(__c.Round2((double)(Double.parseDouble(_g8.GetString("HVD_COSTO_TOT"))),(int) (2))); +RDebugUtils.currentLine=14287357; + //BA.debugLineNum = 14287357;BA.debugLine="B4XPages.MainPage.porVisitar = l_ctast.text"; +_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._porvisitar /*String*/ = __ref._l_ctast /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText(); +RDebugUtils.currentLine=14287358; + //BA.debugLineNum = 14287358;BA.debugLine="B4XPages.MainPage.visitadostotales = g11.GetStrin"; +_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._visitadostotales /*String*/ = _g11.GetString("cuenta"); +RDebugUtils.currentLine=14287360; + //BA.debugLineNum = 14287360;BA.debugLine="B4XPages.MainPage.entregas = g12.GetString(\"cuent"; +_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._entregas /*String*/ = _g12.GetString("cuenta"); +RDebugUtils.currentLine=14287361; + //BA.debugLineNum = 14287361;BA.debugLine="B4XPages.MainPage.rechazos = g13.GetString(\"cuent"; +_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._rechazos /*String*/ = _g13.GetString("cuenta"); +RDebugUtils.currentLine=14287362; + //BA.debugLineNum = 14287362;BA.debugLine="B4XPages.MainPage.montoEntregado = L_MONTOE.text"; +_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._montoentregado /*String*/ = __ref._l_montoe /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText(); +RDebugUtils.currentLine=14287363; + //BA.debugLineNum = 14287363;BA.debugLine="B4XPages.MainPage.montoRechazado = l_rechazo.text"; +_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._montorechazado /*String*/ = __ref._l_rechazo /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText(); +RDebugUtils.currentLine=14287365; + //BA.debugLineNum = 14287365;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.serve"; +__ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._initialize /*String*/ (null,ba,this,_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ); +RDebugUtils.currentLine=14287368; + //BA.debugLineNum = 14287368;BA.debugLine="If l_ctast.Text = 0 And l_porvisitar.Text <> 0 Th"; +if ((__ref._l_ctast /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals(BA.NumberToString(0)) && (__ref._l_porvisitar /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals(BA.NumberToString(0)) == false) { +RDebugUtils.currentLine=14287369; + //BA.debugLineNum = 14287369;BA.debugLine="Label9.Visible = True"; +__ref._label9 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=14287370; + //BA.debugLineNum = 14287370;BA.debugLine="L_MONTOE.Visible = True"; +__ref._l_montoe /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=14287379; + //BA.debugLineNum = 14287379;BA.debugLine="b_venta_emp.Visible = True"; +__ref._b_venta_emp /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); + }else { +RDebugUtils.currentLine=14287381; + //BA.debugLineNum = 14287381;BA.debugLine="Label9.Visible = False '''' PRUEBAS MOVER A FAL"; +__ref._label9 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=14287382; + //BA.debugLineNum = 14287382;BA.debugLine="L_MONTOE.Visible = False"; +__ref._l_montoe /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=14287383; + //BA.debugLineNum = 14287383;BA.debugLine="b_venta_emp.Visible = False"; +__ref._b_venta_emp /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); + }; +RDebugUtils.currentLine=14287386; + //BA.debugLineNum = 14287386;BA.debugLine="If l_ruta.Text = 0 Then"; +if ((__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=14287387; + //BA.debugLineNum = 14287387;BA.debugLine="b_imp_inventario.Visible = False"; +__ref._b_imp_inventario /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); + }else { +RDebugUtils.currentLine=14287389; + //BA.debugLineNum = 14287389;BA.debugLine="b_imp_inventario.Visible = True"; +__ref._b_imp_inventario /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); + }; +RDebugUtils.currentLine=14287397; + //BA.debugLineNum = 14287397;BA.debugLine="c = Starter.skmt.ExecQuery2(\"select CAT_VA_VALOR"; +__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*/ .ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"MACIMP"}))); +RDebugUtils.currentLine=14287398; + //BA.debugLineNum = 14287398;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=14287399; + //BA.debugLineNum = 14287399;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=14287400; + //BA.debugLineNum = 14287400;BA.debugLine="Starter.MAC_IMPRESORA = c.GetString(\"CAT_VA_VALO"; +_starter._mac_impresora /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_VA_VALOR"); + }; +RDebugUtils.currentLine=14287402; + //BA.debugLineNum = 14287402;BA.debugLine="If Starter.MAC_IMPRESORA = \"\" Then Starter.MAC_IM"; +if ((_starter._mac_impresora /*String*/ ).equals("")) { +_starter._mac_impresora /*String*/ = "0";}; +RDebugUtils.currentLine=14287404; + //BA.debugLineNum = 14287404;BA.debugLine="Printer1.Initialize(Me, \"Printer1\")"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._initialize /*String*/ (null,ba,this,"Printer1"); +RDebugUtils.currentLine=14287405; + //BA.debugLineNum = 14287405;BA.debugLine="If Printer1.IsConnected = False Then"; +if (__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._isconnected /*boolean*/ (null)==__c.False) { + }else { +RDebugUtils.currentLine=14287409; + //BA.debugLineNum = 14287409;BA.debugLine="Printer1.DisConnect"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._disconnect /*String*/ (null); +RDebugUtils.currentLine=14287410; + //BA.debugLineNum = 14287410;BA.debugLine="Printer1.Connect"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._connect /*boolean*/ (null); +RDebugUtils.currentLine=14287411; + //BA.debugLineNum = 14287411;BA.debugLine="Log(\"2\")"; +__c.LogImpl("814287411","2",0); + }; +RDebugUtils.currentLine=14287415; + //BA.debugLineNum = 14287415;BA.debugLine="End Sub"; +return ""; +} +public String _b_check_click(reparto_izca.keymon.lat.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "b_check_click", false)) + {return ((String) Debug.delegate(ba, "b_check_click", null));} +RDebugUtils.currentLine=15663104; + //BA.debugLineNum = 15663104;BA.debugLine="Private Sub b_check_Click"; +RDebugUtils.currentLine=15663106; + //BA.debugLineNum = 15663106;BA.debugLine="B4XPages.ShowPage(\"checklist\")"; +_b4xpages._showpage /*String*/ (ba,"checklist"); +RDebugUtils.currentLine=15663108; + //BA.debugLineNum = 15663108;BA.debugLine="End Sub"; +return ""; +} +public String _b_clieprod_click(reparto_izca.keymon.lat.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "b_clieprod_click", false)) + {return ((String) Debug.delegate(ba, "b_clieprod_click", null));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _ch = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _ch1 = null; +anywheresoftware.b4a.objects.LabelWrapper _label1 = null; +anywheresoftware.b4a.objects.LabelWrapper _label2 = null; +int _i = 0; +anywheresoftware.b4a.sql.SQL.CursorWrapper _vc = null; +String _cuenta0 = ""; +String _arti = ""; +int _hjf = 0; +anywheresoftware.b4a.sql.SQL.CursorWrapper _vc2 = null; +String _cuenta1 = ""; +String _arti1 = ""; +int _h = 0; +float _preu = 0f; +anywheresoftware.b4a.sql.SQL.CursorWrapper _vc3 = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _vc4 = null; +String _cuenta2 = ""; +String _arti2 = ""; +int _k = 0; +anywheresoftware.b4a.sql.SQL.CursorWrapper _vc5 = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _c4 = null; +String _cuenta3 = ""; +String _arti3 = ""; +int _x = 0; +String _totalmonto = ""; +String _totalcantidad = ""; +RDebugUtils.currentLine=15400960; + //BA.debugLineNum = 15400960;BA.debugLine="Sub B_CLIEPROD_Click"; +RDebugUtils.currentLine=15400961; + //BA.debugLineNum = 15400961;BA.debugLine="If b_check.Visible = True Then"; +if (__ref._b_check /*anywheresoftware.b4a.objects.ButtonWrapper*/ .getVisible()==__c.True) { +RDebugUtils.currentLine=15400962; + //BA.debugLineNum = 15400962;BA.debugLine="MsgboxAsync(\"Favor de hacer el checklist.\",\"Aten"; +__c.MsgboxAsync(BA.ObjectToCharSequence("Favor de hacer el checklist."),BA.ObjectToCharSequence("Atención"),ba); + }else { +RDebugUtils.currentLine=15400964; + //BA.debugLineNum = 15400964;BA.debugLine="BUSCA.Visible = True"; +__ref._busca /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=15400965; + //BA.debugLineNum = 15400965;BA.debugLine="connecta.Visible = False"; +__ref._connecta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=15400966; + //BA.debugLineNum = 15400966;BA.debugLine="trabajar.Visible = True"; +__ref._trabajar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=15400967; + //BA.debugLineNum = 15400967;BA.debugLine="B_CLIEPROD.Visible = True"; +__ref._b_clieprod /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=15400968; + //BA.debugLineNum = 15400968;BA.debugLine="Panel1.Visible = True"; +__ref._panel1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=15400969; + //BA.debugLineNum = 15400969;BA.debugLine="Panel1.BringToFront"; +__ref._panel1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .BringToFront(); +RDebugUtils.currentLine=15400970; + //BA.debugLineNum = 15400970;BA.debugLine="Panel1.Width = Root.Width"; +__ref._panel1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=15400971; + //BA.debugLineNum = 15400971;BA.debugLine="Panel1.Height = Root.Height"; +__ref._panel1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=15400972; + //BA.debugLineNum = 15400972;BA.debugLine="B_REGRESA.Top = Panel1.Height - B_REGRESA.Height"; +__ref._b_regresa /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setTop((int) (__ref._panel1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .getHeight()-__ref._b_regresa /*anywheresoftware.b4a.objects.ButtonWrapper*/ .getHeight())); +RDebugUtils.currentLine=15400973; + //BA.debugLineNum = 15400973;BA.debugLine="Btn_Ubicar_Ru.Visible=True"; +__ref._btn_ubicar_ru /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=15400975; + //BA.debugLineNum = 15400975;BA.debugLine="Dim ch As Cursor = Starter.skmt.ExecQuery(\"selec"; +_ch = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_ch = (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 visit from kmt_info WHERE gestion = 2"))); +RDebugUtils.currentLine=15400976; + //BA.debugLineNum = 15400976;BA.debugLine="ch.Position = 0"; +_ch.setPosition((int) (0)); +RDebugUtils.currentLine=15400977; + //BA.debugLineNum = 15400977;BA.debugLine="L_clientes_visit.Text = ch.GetInt(\"visit\")"; +__ref._l_clientes_visit /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_ch.GetInt("visit"))); +RDebugUtils.currentLine=15400979; + //BA.debugLineNum = 15400979;BA.debugLine="Dim ch1 As Cursor = Starter.skmt.ExecQuery(\"sele"; +_ch1 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_ch1 = (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 rechazo from kmt_info WHERE gestion = 3"))); +RDebugUtils.currentLine=15400980; + //BA.debugLineNum = 15400980;BA.debugLine="ch1.Position = 0"; +_ch1.setPosition((int) (0)); +RDebugUtils.currentLine=15400981; + //BA.debugLineNum = 15400981;BA.debugLine="l_clientes_recha.Text = ch1.GetInt(\"rechazo\")"; +__ref._l_clientes_recha /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_ch1.GetInt("rechazo"))); +RDebugUtils.currentLine=15400982; + //BA.debugLineNum = 15400982;BA.debugLine="l_clientes_visitados.Text = ch1.GetInt(\"rechazo\""; +__ref._l_clientes_visitados /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_ch1.GetInt("rechazo")+_ch.GetInt("visit"))); +RDebugUtils.currentLine=15400984; + //BA.debugLineNum = 15400984;BA.debugLine="c=Starter.skmt.ExecQuery(\"select * from kmt_info"; +__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 kmt_info WHERE gestion <> 0 order by HORAENT"))); +RDebugUtils.currentLine=15400985; + //BA.debugLineNum = 15400985;BA.debugLine="Subs.SetDivider(ListView1, Colors.LightGray, 2)"; +_subs._setdivider /*String*/ (ba,__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ ,__c.Colors.LightGray,(int) (2)); +RDebugUtils.currentLine=15400986; + //BA.debugLineNum = 15400986;BA.debugLine="ListView1.Clear"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=15400987; + //BA.debugLineNum = 15400987;BA.debugLine="Dim label1 As Label"; +_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=15400988; + //BA.debugLineNum = 15400988;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; +_label1 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().Label; +RDebugUtils.currentLine=15400989; + //BA.debugLineNum = 15400989;BA.debugLine="label1.TextSize = 16"; +_label1.setTextSize((float) (16)); +RDebugUtils.currentLine=15400990; + //BA.debugLineNum = 15400990;BA.debugLine="label1.TextColor = Colors.Black"; +_label1.setTextColor(__c.Colors.Black); +RDebugUtils.currentLine=15400991; + //BA.debugLineNum = 15400991;BA.debugLine="Dim label2 As Label"; +_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=15400992; + //BA.debugLineNum = 15400992;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; +_label2 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().SecondLabel; +RDebugUtils.currentLine=15400993; + //BA.debugLineNum = 15400993;BA.debugLine="label2.TextSize = 16"; +_label2.setTextSize((float) (16)); +RDebugUtils.currentLine=15400994; + //BA.debugLineNum = 15400994;BA.debugLine="label2.TextColor = Colors.Black"; +_label2.setTextColor(__c.Colors.Black); +RDebugUtils.currentLine=15400996; + //BA.debugLineNum = 15400996;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=15400997; + //BA.debugLineNum = 15400997;BA.debugLine="For i=0 To c.RowCount -1"; +{ +final int step33 = 1; +final int limit33 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit33 ;_i = _i + step33 ) { +RDebugUtils.currentLine=15400998; + //BA.debugLineNum = 15400998;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=15400999; + //BA.debugLineNum = 15400999;BA.debugLine="If c.GetString(\"gestion\") = \"2\" Then"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("gestion")).equals("2")) { +RDebugUtils.currentLine=15401000; + //BA.debugLineNum = 15401000;BA.debugLine="ESTATUS = \"ENTREGADO\""; +__ref._estatus /*String*/ = "ENTREGADO"; +RDebugUtils.currentLine=15401001; + //BA.debugLineNum = 15401001;BA.debugLine="Log(\"entrega\")"; +__c.LogImpl("815401001","entrega",0); + }else +{RDebugUtils.currentLine=15401002; + //BA.debugLineNum = 15401002;BA.debugLine="ELSE IF c.GetString(\"gestion\") = \"3\" Then"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("gestion")).equals("3")) { +RDebugUtils.currentLine=15401003; + //BA.debugLineNum = 15401003;BA.debugLine="Log(\"no entrega\")"; +__c.LogImpl("815401003","no entrega",0); +RDebugUtils.currentLine=15401004; + //BA.debugLineNum = 15401004;BA.debugLine="ESTATUS = \"RECHAZADO\""; +__ref._estatus /*String*/ = "RECHAZADO"; + }else { +RDebugUtils.currentLine=15401006; + //BA.debugLineNum = 15401006;BA.debugLine="ESTATUS = \"SIN ESTATUS\""; +__ref._estatus /*String*/ = "SIN ESTATUS"; + }} +; +RDebugUtils.currentLine=15401011; + //BA.debugLineNum = 15401011;BA.debugLine="If ESTATUS = \"ENTREGADO\" Then"; +if ((__ref._estatus /*String*/ ).equals("ENTREGADO")) { +RDebugUtils.currentLine=15401012; + //BA.debugLineNum = 15401012;BA.debugLine="Private vc As Cursor = Starter.skmt.ExecQuery"; +_vc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_vc = (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 HVD_PROID,HVD_COSTO_TOT, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT, CAT_GP_PRECIO from HIST_VENTAS LEFT JOIN CAT_GUNAPROD ON CAT_GP_ID = HVD_PROID where BCAJAS = 0 and HVD_CODPROMO ='"+__c.SmartStringFormatter("",(Object)(_subs._traealmacen /*String*/ (ba)))+"' and HVD_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CODIGO")))+"'")))); +RDebugUtils.currentLine=15401014; + //BA.debugLineNum = 15401014;BA.debugLine="Private cuenta0 As String = 0"; +_cuenta0 = BA.NumberToString(0); +RDebugUtils.currentLine=15401015; + //BA.debugLineNum = 15401015;BA.debugLine="Private arti As String = 0"; +_arti = BA.NumberToString(0); +RDebugUtils.currentLine=15401016; + //BA.debugLineNum = 15401016;BA.debugLine="If vc.RowCount > 0 Then"; +if (_vc.getRowCount()>0) { +RDebugUtils.currentLine=15401017; + //BA.debugLineNum = 15401017;BA.debugLine="For hjf = 0 To vc.RowCount - 1"; +{ +final int step49 = 1; +final int limit49 = (int) (_vc.getRowCount()-1); +_hjf = (int) (0) ; +for (;_hjf <= limit49 ;_hjf = _hjf + step49 ) { +RDebugUtils.currentLine=15401018; + //BA.debugLineNum = 15401018;BA.debugLine="vc.Position = hjf"; +_vc.setPosition(_hjf); +RDebugUtils.currentLine=15401020; + //BA.debugLineNum = 15401020;BA.debugLine="arti = arti + (vc.GetString(\"HVD_CANT\") - v"; +_arti = BA.NumberToString((double)(Double.parseDouble(_arti))+((double)(Double.parseDouble(_vc.GetString("HVD_CANT")))-(double)(Double.parseDouble(_vc.GetString("HVD_RECHAZOCANT"))))); +RDebugUtils.currentLine=15401021; + //BA.debugLineNum = 15401021;BA.debugLine="cuenta0 = cuenta0 + ((vc.GetString(\"HVD_CAN"; +_cuenta0 = BA.NumberToString((double)(Double.parseDouble(_cuenta0))+(((double)(Double.parseDouble(_vc.GetString("HVD_CANT")))-(double)(Double.parseDouble(_vc.GetString("HVD_RECHAZOCANT"))))*((double)(Double.parseDouble(_vc.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(_vc.GetString("HVD_CANT")))))); + } +}; + }; +RDebugUtils.currentLine=15401026; + //BA.debugLineNum = 15401026;BA.debugLine="Private vc2 As Cursor = Starter.skmt.ExecQuer"; +_vc2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_vc2 = (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 HVD_PROID, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT, CANTC,HVD_COSTO_TOT from HIST_VENTAS where HVD_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CODIGO")))+"' AND BCAJAS = 1")))); +RDebugUtils.currentLine=15401027; + //BA.debugLineNum = 15401027;BA.debugLine="Private Cuenta1 As String = 0"; +_cuenta1 = BA.NumberToString(0); +RDebugUtils.currentLine=15401028; + //BA.debugLineNum = 15401028;BA.debugLine="Private arti1 As String = 0"; +_arti1 = BA.NumberToString(0); +RDebugUtils.currentLine=15401029; + //BA.debugLineNum = 15401029;BA.debugLine="If vc2.RowCount > 0 Then"; +if (_vc2.getRowCount()>0) { +RDebugUtils.currentLine=15401030; + //BA.debugLineNum = 15401030;BA.debugLine="For h = 0 To vc2.RowCount - 1"; +{ +final int step59 = 1; +final int limit59 = (int) (_vc2.getRowCount()-1); +_h = (int) (0) ; +for (;_h <= limit59 ;_h = _h + step59 ) { +RDebugUtils.currentLine=15401031; + //BA.debugLineNum = 15401031;BA.debugLine="vc2.Position = h"; +_vc2.setPosition(_h); +RDebugUtils.currentLine=15401032; + //BA.debugLineNum = 15401032;BA.debugLine="Dim preu As Float = NumberFormat2(vc2.GetSt"; +_preu = (float)(Double.parseDouble(__c.NumberFormat2((double)(Double.parseDouble(_vc2.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(_vc2.GetString("CANTC"))),(int) (0),(int) (2),(int) (2),__c.False))); +RDebugUtils.currentLine=15401033; + //BA.debugLineNum = 15401033;BA.debugLine="Private vc3 As Cursor = Starter.skmt.ExecQu"; +_vc3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_vc3 = (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 PRECIOCONVER, CONVERSION from CAT_GUNAPROD where CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_vc2.GetString("HVD_PROID")))+"'")))); +RDebugUtils.currentLine=15401034; + //BA.debugLineNum = 15401034;BA.debugLine="If vc3.RowCount > 0 Then"; +if (_vc3.getRowCount()>0) { +RDebugUtils.currentLine=15401035; + //BA.debugLineNum = 15401035;BA.debugLine="vc3.Position = 0"; +_vc3.setPosition((int) (0)); +RDebugUtils.currentLine=15401036; + //BA.debugLineNum = 15401036;BA.debugLine="Cuenta1 = Cuenta1 + ((vc2.GetString(\"CANTC"; +_cuenta1 = BA.NumberToString((double)(Double.parseDouble(_cuenta1))+(((double)(Double.parseDouble(_vc2.GetString("CANTC")))-((double)(Double.parseDouble(_vc2.GetString("HVD_RECHAZOCANT")))/(double)(double)(Double.parseDouble(_vc3.GetString("CONVERSION")))))*_preu)); +RDebugUtils.currentLine=15401037; + //BA.debugLineNum = 15401037;BA.debugLine="arti1 = arti1 + (vc2.GetString(\"HVD_CANT\")"; +_arti1 = BA.NumberToString((double)(Double.parseDouble(_arti1))+((double)(Double.parseDouble(_vc2.GetString("HVD_CANT")))-(double)(Double.parseDouble(_vc2.GetString("HVD_RECHAZOCANT"))))); + }; + } +}; + }; +RDebugUtils.currentLine=15401043; + //BA.debugLineNum = 15401043;BA.debugLine="Private vc4 As Cursor = Starter.skmt.ExecQuer"; +_vc4 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_vc4 = (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 HVD_PROID, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT, CANTC,HVD_COSTO_TOT, HVD_RECHAZO, HVD_CODPROMO from HIST_VENTAS where HVD_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CODIGO")))+"' AND BCAJAS = 0 and HVD_CODPROMO <> '"+__c.SmartStringFormatter("",(Object)(_subs._traealmacen /*String*/ (ba)))+"'")))); +RDebugUtils.currentLine=15401044; + //BA.debugLineNum = 15401044;BA.debugLine="Private Cuenta2 As String = 0"; +_cuenta2 = BA.NumberToString(0); +RDebugUtils.currentLine=15401045; + //BA.debugLineNum = 15401045;BA.debugLine="Private arti2 As String = 0"; +_arti2 = BA.NumberToString(0); +RDebugUtils.currentLine=15401046; + //BA.debugLineNum = 15401046;BA.debugLine="If vc4.RowCount > 0 Then"; +if (_vc4.getRowCount()>0) { +RDebugUtils.currentLine=15401048; + //BA.debugLineNum = 15401048;BA.debugLine="For k = 0 To vc4.RowCount - 1"; +{ +final int step74 = 1; +final int limit74 = (int) (_vc4.getRowCount()-1); +_k = (int) (0) ; +for (;_k <= limit74 ;_k = _k + step74 ) { +RDebugUtils.currentLine=15401049; + //BA.debugLineNum = 15401049;BA.debugLine="vc4.Position = k"; +_vc4.setPosition(_k); +RDebugUtils.currentLine=15401050; + //BA.debugLineNum = 15401050;BA.debugLine="If vc4.GetString(\"HVD_PROID\") <> vc4.GetStr"; +if ((_vc4.GetString("HVD_PROID")).equals(_vc4.GetString("HVD_CODPROMO")) == false) { +RDebugUtils.currentLine=15401051; + //BA.debugLineNum = 15401051;BA.debugLine="If vc4.GetString(\"HVD_RECHAZO\") = 0 Then"; +if ((_vc4.GetString("HVD_RECHAZO")).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=15401052; + //BA.debugLineNum = 15401052;BA.debugLine="Cuenta2 = Cuenta2 + vc4.GetString(\"HVD_CO"; +_cuenta2 = BA.NumberToString((double)(Double.parseDouble(_cuenta2))+(double)(Double.parseDouble(_vc4.GetString("HVD_COSTO_TOT")))); +RDebugUtils.currentLine=15401053; + //BA.debugLineNum = 15401053;BA.debugLine="arti2 = arti2 + vc4.GetString(\"HVD_CANT\")"; +_arti2 = BA.NumberToString((double)(Double.parseDouble(_arti2))+(double)(Double.parseDouble(_vc4.GetString("HVD_CANT")))); + }else { +RDebugUtils.currentLine=15401055; + //BA.debugLineNum = 15401055;BA.debugLine="Private vc5 As Cursor = Starter.skmt.Exec"; +_vc5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_vc5 = (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_ID = '"+__c.SmartStringFormatter("",(Object)(_vc4.GetString("HVD_PROID")))+"'")))); +RDebugUtils.currentLine=15401056; + //BA.debugLineNum = 15401056;BA.debugLine="If vc5.RowCount > 0 Then"; +if (_vc5.getRowCount()>0) { +RDebugUtils.currentLine=15401057; + //BA.debugLineNum = 15401057;BA.debugLine="vc5.Position= 0"; +_vc5.setPosition((int) (0)); +RDebugUtils.currentLine=15401059; + //BA.debugLineNum = 15401059;BA.debugLine="Cuenta2 = Cuenta2 +((vc4.GetString(\"HVD_"; +_cuenta2 = BA.NumberToString((double)(Double.parseDouble(_cuenta2))+(((double)(Double.parseDouble(_vc4.GetString("HVD_CANT")))-(double)(Double.parseDouble(_vc4.GetString("HVD_RECHAZOCANT"))))*(double)(Double.parseDouble(_vc5.GetString("CAT_GP_PRECIO"))))); +RDebugUtils.currentLine=15401060; + //BA.debugLineNum = 15401060;BA.debugLine="arti2 = arti2 +(vc4.GetString(\"HVD_CANT\""; +_arti2 = BA.NumberToString((double)(Double.parseDouble(_arti2))+((double)(Double.parseDouble(_vc4.GetString("HVD_CANT")))-(double)(Double.parseDouble(_vc4.GetString("HVD_RECHAZOCANT"))))); + }; + }; + }; + } +}; + }; +RDebugUtils.currentLine=15401069; + //BA.debugLineNum = 15401069;BA.debugLine="Private c4 As Cursor = Starter.skmt.ExecQuery"; +_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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT IFNULL(PE_CANT,0) AS PE_CANT, iFNULL(PE_COSTO_TOT,0) AS PE_COSTO_TOT FROM PEDIDO WHERE PE_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CODIGO")))+"'")))); +RDebugUtils.currentLine=15401070; + //BA.debugLineNum = 15401070;BA.debugLine="Private Cuenta3 As String = 0"; +_cuenta3 = BA.NumberToString(0); +RDebugUtils.currentLine=15401071; + //BA.debugLineNum = 15401071;BA.debugLine="Private arti3 As String = 0"; +_arti3 = BA.NumberToString(0); +RDebugUtils.currentLine=15401072; + //BA.debugLineNum = 15401072;BA.debugLine="If c4.RowCount > 0 Then"; +if (_c4.getRowCount()>0) { +RDebugUtils.currentLine=15401073; + //BA.debugLineNum = 15401073;BA.debugLine="For x = 0 To c4.RowCount -1"; +{ +final int step95 = 1; +final int limit95 = (int) (_c4.getRowCount()-1); +_x = (int) (0) ; +for (;_x <= limit95 ;_x = _x + step95 ) { +RDebugUtils.currentLine=15401074; + //BA.debugLineNum = 15401074;BA.debugLine="c4.Position = x"; +_c4.setPosition(_x); +RDebugUtils.currentLine=15401075; + //BA.debugLineNum = 15401075;BA.debugLine="arti3 = arti3 + c4.GetString(\"PE_CANT\")"; +_arti3 = BA.NumberToString((double)(Double.parseDouble(_arti3))+(double)(Double.parseDouble(_c4.GetString("PE_CANT")))); +RDebugUtils.currentLine=15401076; + //BA.debugLineNum = 15401076;BA.debugLine="Cuenta3 = Cuenta3 + c4.GetString(\"PE_COSTO_"; +_cuenta3 = BA.NumberToString((double)(Double.parseDouble(_cuenta3))+(double)(Double.parseDouble(_c4.GetString("PE_COSTO_TOT")))); + } +}; + }; +RDebugUtils.currentLine=15401081; + //BA.debugLineNum = 15401081;BA.debugLine="Private TOTALMONTO As String = cuenta0 + Cuen"; +_totalmonto = BA.NumberToString((double)(Double.parseDouble(_cuenta0))+(double)(Double.parseDouble(_cuenta1))+(double)(Double.parseDouble(_cuenta2))+(double)(Double.parseDouble(_cuenta3))); +RDebugUtils.currentLine=15401082; + //BA.debugLineNum = 15401082;BA.debugLine="Private TOTALcantidad As String = arti + arti"; +_totalcantidad = BA.NumberToString((double)(Double.parseDouble(_arti))+(double)(Double.parseDouble(_arti1))+(double)(Double.parseDouble(_arti2))+(double)(Double.parseDouble(_arti3))); +RDebugUtils.currentLine=15401084; + //BA.debugLineNum = 15401084;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"CAT_CL_COD"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddTwoLines(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CODIGO")+" - "+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_NOMBRE")),BA.ObjectToCharSequence("Articulos :"+_totalcantidad+" Monto :"+__c.NumberFormat2((double)(Double.parseDouble(_totalmonto)),(int) (0),(int) (2),(int) (2),__c.True)+" "+__ref._estatus /*String*/ )); +RDebugUtils.currentLine=15401085; + //BA.debugLineNum = 15401085;BA.debugLine="Log(\"si entre2\")"; +__c.LogImpl("815401085","si entre2",0); + }else +{RDebugUtils.currentLine=15401087; + //BA.debugLineNum = 15401087;BA.debugLine="Else If ESTATUS = \"RECHAZADO\" Then"; +if ((__ref._estatus /*String*/ ).equals("RECHAZADO")) { +RDebugUtils.currentLine=15401089; + //BA.debugLineNum = 15401089;BA.debugLine="Private vc As Cursor = Starter.skmt.ExecQuery"; +_vc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_vc = (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 HVD_PROID, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT, CAT_GP_PRECIO, HVD_COSTO_TOT from HIST_VENTAS LEFT JOIN CAT_GUNAPROD ON CAT_GP_ID = HVD_PROID where BCAJAS = 0 and HVD_CODPROMO ='"+__c.SmartStringFormatter("",(Object)(_subs._traealmacen /*String*/ (ba)))+"' and HVD_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CODIGO")))+"'")))); +RDebugUtils.currentLine=15401091; + //BA.debugLineNum = 15401091;BA.debugLine="Private cuenta0 As String = 0"; +_cuenta0 = BA.NumberToString(0); +RDebugUtils.currentLine=15401092; + //BA.debugLineNum = 15401092;BA.debugLine="Private arti As String = 0"; +_arti = BA.NumberToString(0); +RDebugUtils.currentLine=15401093; + //BA.debugLineNum = 15401093;BA.debugLine="If vc.RowCount > 0 Then"; +if (_vc.getRowCount()>0) { +RDebugUtils.currentLine=15401094; + //BA.debugLineNum = 15401094;BA.debugLine="For hjf = 0 To vc.RowCount - 1"; +{ +final int step110 = 1; +final int limit110 = (int) (_vc.getRowCount()-1); +_hjf = (int) (0) ; +for (;_hjf <= limit110 ;_hjf = _hjf + step110 ) { +RDebugUtils.currentLine=15401095; + //BA.debugLineNum = 15401095;BA.debugLine="vc.Position = hjf"; +_vc.setPosition(_hjf); +RDebugUtils.currentLine=15401096; + //BA.debugLineNum = 15401096;BA.debugLine="Dim preu As Float = NumberFormat2(vc.GetStr"; +_preu = (float)(Double.parseDouble(__c.NumberFormat2((double)(Double.parseDouble(_vc.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(_vc.GetString("HVD_CANT"))),(int) (0),(int) (2),(int) (2),__c.False))); +RDebugUtils.currentLine=15401098; + //BA.debugLineNum = 15401098;BA.debugLine="arti = arti + (vc.GetString(\"HVD_RECHAZOCAN"; +_arti = BA.NumberToString((double)(Double.parseDouble(_arti))+(double)(Double.parseDouble((_vc.GetString("HVD_RECHAZOCANT"))))); +RDebugUtils.currentLine=15401099; + //BA.debugLineNum = 15401099;BA.debugLine="cuenta0 = cuenta0 + ((vc.GetString(\"HVD_REC"; +_cuenta0 = BA.NumberToString((double)(Double.parseDouble(_cuenta0))+((double)(Double.parseDouble((_vc.GetString("HVD_RECHAZOCANT"))))*_preu)); + } +}; + }; +RDebugUtils.currentLine=15401104; + //BA.debugLineNum = 15401104;BA.debugLine="Private vc2 As Cursor = Starter.skmt.ExecQuer"; +_vc2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_vc2 = (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 HVD_PROID, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT, CANTC,HVD_COSTO_TOT from HIST_VENTAS where HVD_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CODIGO")))+"' AND BCAJAS = 1")))); +RDebugUtils.currentLine=15401105; + //BA.debugLineNum = 15401105;BA.debugLine="Private Cuenta1 As String = 0"; +_cuenta1 = BA.NumberToString(0); +RDebugUtils.currentLine=15401106; + //BA.debugLineNum = 15401106;BA.debugLine="Private arti1 As String = 0"; +_arti1 = BA.NumberToString(0); +RDebugUtils.currentLine=15401107; + //BA.debugLineNum = 15401107;BA.debugLine="If vc2.RowCount > 0 Then"; +if (_vc2.getRowCount()>0) { +RDebugUtils.currentLine=15401108; + //BA.debugLineNum = 15401108;BA.debugLine="For h = 0 To vc2.RowCount - 1"; +{ +final int step121 = 1; +final int limit121 = (int) (_vc2.getRowCount()-1); +_h = (int) (0) ; +for (;_h <= limit121 ;_h = _h + step121 ) { +RDebugUtils.currentLine=15401109; + //BA.debugLineNum = 15401109;BA.debugLine="vc2.Position = h"; +_vc2.setPosition(_h); +RDebugUtils.currentLine=15401110; + //BA.debugLineNum = 15401110;BA.debugLine="Dim preu As Float = NumberFormat2(vc2.GetSt"; +_preu = (float)(Double.parseDouble(__c.NumberFormat2((double)(Double.parseDouble(_vc2.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(_vc2.GetString("CANTC"))),(int) (0),(int) (2),(int) (2),__c.False))); +RDebugUtils.currentLine=15401111; + //BA.debugLineNum = 15401111;BA.debugLine="Private vc3 As Cursor = Starter.skmt.ExecQu"; +_vc3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_vc3 = (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 PRECIOCONVER, CONVERSION from CAT_GUNAPROD where CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_vc2.GetString("HVD_PROID")))+"'")))); +RDebugUtils.currentLine=15401112; + //BA.debugLineNum = 15401112;BA.debugLine="If vc3.RowCount > 0 Then"; +if (_vc3.getRowCount()>0) { +RDebugUtils.currentLine=15401113; + //BA.debugLineNum = 15401113;BA.debugLine="vc3.Position = 0"; +_vc3.setPosition((int) (0)); +RDebugUtils.currentLine=15401114; + //BA.debugLineNum = 15401114;BA.debugLine="Cuenta1 = Cuenta1 + ((vc2.GetString(\"HVD_R"; +_cuenta1 = BA.NumberToString((double)(Double.parseDouble(_cuenta1))+(((double)(Double.parseDouble(_vc2.GetString("HVD_RECHAZOCANT")))/(double)(double)(Double.parseDouble(_vc3.GetString("CONVERSION"))))*_preu)); +RDebugUtils.currentLine=15401115; + //BA.debugLineNum = 15401115;BA.debugLine="arti1 = arti1 + (vc2.GetString(\"HVD_RECHAZ"; +_arti1 = BA.NumberToString((double)(Double.parseDouble(_arti1))+(double)(Double.parseDouble((_vc2.GetString("HVD_RECHAZOCANT"))))); + }; + } +}; + }; +RDebugUtils.currentLine=15401121; + //BA.debugLineNum = 15401121;BA.debugLine="Private vc4 As Cursor = Starter.skmt.ExecQuer"; +_vc4 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_vc4 = (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 HVD_PROID, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT, CANTC,HVD_COSTO_TOT, HVD_RECHAZO, HVD_CODPROMO from HIST_VENTAS where HVD_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CODIGO")))+"' AND BCAJAS = 0 and HVD_CODPROMO <> '"+__c.SmartStringFormatter("",(Object)(_subs._traealmacen /*String*/ (ba)))+"'")))); +RDebugUtils.currentLine=15401122; + //BA.debugLineNum = 15401122;BA.debugLine="Private Cuenta2 As String = 0"; +_cuenta2 = BA.NumberToString(0); +RDebugUtils.currentLine=15401123; + //BA.debugLineNum = 15401123;BA.debugLine="Private arti2 As String = 0"; +_arti2 = BA.NumberToString(0); +RDebugUtils.currentLine=15401124; + //BA.debugLineNum = 15401124;BA.debugLine="If vc4.RowCount > 0 Then"; +if (_vc4.getRowCount()>0) { +RDebugUtils.currentLine=15401126; + //BA.debugLineNum = 15401126;BA.debugLine="For k = 0 To vc4.RowCount - 1"; +{ +final int step136 = 1; +final int limit136 = (int) (_vc4.getRowCount()-1); +_k = (int) (0) ; +for (;_k <= limit136 ;_k = _k + step136 ) { +RDebugUtils.currentLine=15401127; + //BA.debugLineNum = 15401127;BA.debugLine="vc4.Position = k"; +_vc4.setPosition(_k); +RDebugUtils.currentLine=15401128; + //BA.debugLineNum = 15401128;BA.debugLine="If vc4.GetString(\"HVD_PROID\") <> vc4.GetStr"; +if ((_vc4.GetString("HVD_PROID")).equals(_vc4.GetString("HVD_CODPROMO")) == false) { +RDebugUtils.currentLine=15401129; + //BA.debugLineNum = 15401129;BA.debugLine="If vc4.GetString(\"HVD_RECHAZO\") = 0 Then"; +if ((_vc4.GetString("HVD_RECHAZO")).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=15401130; + //BA.debugLineNum = 15401130;BA.debugLine="Cuenta2 = Cuenta2 + vc4.GetString(\"HVD_CO"; +_cuenta2 = BA.NumberToString((double)(Double.parseDouble(_cuenta2))+(double)(Double.parseDouble(_vc4.GetString("HVD_COSTO_TOT")))); +RDebugUtils.currentLine=15401131; + //BA.debugLineNum = 15401131;BA.debugLine="arti2 = arti2 + vc4.GetString(\"HVD_RECHAZ"; +_arti2 = BA.NumberToString((double)(Double.parseDouble(_arti2))+(double)(Double.parseDouble(_vc4.GetString("HVD_RECHAZOCANT")))); + }else { +RDebugUtils.currentLine=15401133; + //BA.debugLineNum = 15401133;BA.debugLine="Private vc5 As Cursor = Starter.skmt.Exec"; +_vc5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_vc5 = (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_ID = '"+__c.SmartStringFormatter("",(Object)(_vc4.GetString("HVD_PROID")))+"'")))); +RDebugUtils.currentLine=15401134; + //BA.debugLineNum = 15401134;BA.debugLine="If vc5.RowCount > 0 Then"; +if (_vc5.getRowCount()>0) { +RDebugUtils.currentLine=15401135; + //BA.debugLineNum = 15401135;BA.debugLine="vc5.Position= 0"; +_vc5.setPosition((int) (0)); +RDebugUtils.currentLine=15401137; + //BA.debugLineNum = 15401137;BA.debugLine="Cuenta2 = Cuenta2 +(( vc4.GetString(\"HVD"; +_cuenta2 = BA.NumberToString((double)(Double.parseDouble(_cuenta2))+((double)(Double.parseDouble((_vc4.GetString("HVD_RECHAZOCANT"))))*(double)(Double.parseDouble(_vc5.GetString("CAT_GP_PRECIO"))))); +RDebugUtils.currentLine=15401138; + //BA.debugLineNum = 15401138;BA.debugLine="arti2 = arti2 +(vc4.GetString(\"HVD_RECHA"; +_arti2 = BA.NumberToString((double)(Double.parseDouble(_arti2))+(double)(Double.parseDouble((_vc4.GetString("HVD_RECHAZOCANT"))))); + }; + }; + }; + } +}; + }; +RDebugUtils.currentLine=15401147; + //BA.debugLineNum = 15401147;BA.debugLine="Private c4 As Cursor = Starter.skmt.ExecQuery"; +_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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT IFNULL(PE_CANT,0) AS PE_CANT, iFNULL(PE_COSTO_TOT,0) AS PE_COSTO_TOT FROM PEDIDO WHERE PE_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CODIGO")))+"'")))); +RDebugUtils.currentLine=15401148; + //BA.debugLineNum = 15401148;BA.debugLine="Private Cuenta3 As String = 0"; +_cuenta3 = BA.NumberToString(0); +RDebugUtils.currentLine=15401149; + //BA.debugLineNum = 15401149;BA.debugLine="Private arti3 As String = 0"; +_arti3 = BA.NumberToString(0); +RDebugUtils.currentLine=15401150; + //BA.debugLineNum = 15401150;BA.debugLine="If c4.RowCount > 0 Then"; +if (_c4.getRowCount()>0) { +RDebugUtils.currentLine=15401151; + //BA.debugLineNum = 15401151;BA.debugLine="For x = 0 To c4.RowCount -1"; +{ +final int step157 = 1; +final int limit157 = (int) (_c4.getRowCount()-1); +_x = (int) (0) ; +for (;_x <= limit157 ;_x = _x + step157 ) { +RDebugUtils.currentLine=15401152; + //BA.debugLineNum = 15401152;BA.debugLine="c4.Position = x"; +_c4.setPosition(_x); +RDebugUtils.currentLine=15401153; + //BA.debugLineNum = 15401153;BA.debugLine="arti3 = arti3 + c4.GetString(\"PE_CANT\")"; +_arti3 = BA.NumberToString((double)(Double.parseDouble(_arti3))+(double)(Double.parseDouble(_c4.GetString("PE_CANT")))); +RDebugUtils.currentLine=15401154; + //BA.debugLineNum = 15401154;BA.debugLine="Cuenta3 = Cuenta3 + c4.GetString(\"PE_COSTO_"; +_cuenta3 = BA.NumberToString((double)(Double.parseDouble(_cuenta3))+(double)(Double.parseDouble(_c4.GetString("PE_COSTO_TOT")))); + } +}; + }; +RDebugUtils.currentLine=15401159; + //BA.debugLineNum = 15401159;BA.debugLine="Private TOTALMONTO As String = cuenta0 + Cuen"; +_totalmonto = BA.NumberToString((double)(Double.parseDouble(_cuenta0))+(double)(Double.parseDouble(_cuenta1))+(double)(Double.parseDouble(_cuenta2))+(double)(Double.parseDouble(_cuenta3))); +RDebugUtils.currentLine=15401160; + //BA.debugLineNum = 15401160;BA.debugLine="Private TOTALcantidad As String = arti + arti"; +_totalcantidad = BA.NumberToString((double)(Double.parseDouble(_arti))+(double)(Double.parseDouble(_arti1))+(double)(Double.parseDouble(_arti2))+(double)(Double.parseDouble(_arti3))); +RDebugUtils.currentLine=15401162; + //BA.debugLineNum = 15401162;BA.debugLine="Log(\"si entre\")"; +__c.LogImpl("815401162","si entre",0); +RDebugUtils.currentLine=15401163; + //BA.debugLineNum = 15401163;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"CAT_CL_COD"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddTwoLines(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CODIGO")+" - "+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_NOMBRE")),BA.ObjectToCharSequence("Articulos :"+_totalcantidad+" Monto :"+__c.NumberFormat2((double)(Double.parseDouble(_totalmonto)),(int) (0),(int) (2),(int) (2),__c.True)+" "+__ref._estatus /*String*/ )); + }} +; + } +}; + }; + }; +RDebugUtils.currentLine=15401200; + //BA.debugLineNum = 15401200;BA.debugLine="End Sub"; +return ""; +} +public void _b_imp_inventario_click(reparto_izca.keymon.lat.c_principal __ref) throws Exception{ +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "b_imp_inventario_click", false)) + {Debug.delegate(ba, "b_imp_inventario_click", null); return;} +ResumableSub_b_imp_inventario_Click rsub = new ResumableSub_b_imp_inventario_Click(this,__ref); +rsub.resume(ba, null); +} +public static class ResumableSub_b_imp_inventario_Click extends BA.ResumableSub { +public ResumableSub_b_imp_inventario_Click(reparto_izca.keymon.lat.c_principal parent,reparto_izca.keymon.lat.c_principal __ref) { +this.parent = parent; +this.__ref = __ref; +this.__ref = parent; +} +reparto_izca.keymon.lat.c_principal __ref; +reparto_izca.keymon.lat.c_principal parent; +int _cont = 0; +anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _bmp = null; +reparto_izca.keymon.lat.escposprinter._animage _myimage = null; +String _sdate = ""; +String _stime = ""; +int _i = 0; +String _firstchar = ""; +String _productoinven = ""; +anywheresoftware.b4a.sql.SQL.CursorWrapper _sumainv = null; +int step56; +int limit56; +int step62; +int limit62; + +@Override +public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="c_principal"; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +RDebugUtils.currentLine=16515103; + //BA.debugLineNum = 16515103;BA.debugLine="ProgressDialogShow(\"Imprimiendo, un momento ...\")"; +parent.__c.ProgressDialogShow(ba,BA.ObjectToCharSequence("Imprimiendo, un momento ...")); +RDebugUtils.currentLine=16515104; + //BA.debugLineNum = 16515104;BA.debugLine="Printer1.DisConnect"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._disconnect /*String*/ (null); +RDebugUtils.currentLine=16515105; + //BA.debugLineNum = 16515105;BA.debugLine="If Not(Printer1.IsConnected) Then"; +if (true) break; + +case 1: +//if +this.state = 38; +if (parent.__c.Not(__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._isconnected /*boolean*/ (null))) { +this.state = 3; +}else { +this.state = 21; +}if (true) break; + +case 3: +//C +this.state = 4; +RDebugUtils.currentLine=16515107; + //BA.debugLineNum = 16515107;BA.debugLine="Printer1.Connect"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._connect /*boolean*/ (null); +RDebugUtils.currentLine=16515108; + //BA.debugLineNum = 16515108;BA.debugLine="Private cont As Int = 0"; +_cont = (int) (0); +RDebugUtils.currentLine=16515109; + //BA.debugLineNum = 16515109;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=16515110; + //BA.debugLineNum = 16515110;BA.debugLine="Sleep(1000)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_principal", "b_imp_inventario_click"),(int) (1000)); +this.state = 57; +return; +case 57: +//C +this.state = 7; +; +RDebugUtils.currentLine=16515111; + //BA.debugLineNum = 16515111;BA.debugLine="cont = cont + 1"; +_cont = (int) (_cont+1); +RDebugUtils.currentLine=16515112; + //BA.debugLineNum = 16515112;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 /*reparto_izca.keymon.lat.escposprinter*/ ._connect /*boolean*/ (null); +if (true) break; + +case 12: +//C +this.state = 13; +; +RDebugUtils.currentLine=16515113; + //BA.debugLineNum = 16515113;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=16515115; + //BA.debugLineNum = 16515115;BA.debugLine="Sleep(500)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_principal", "b_imp_inventario_click"),(int) (500)); +this.state = 58; +return; +case 58: +//C +this.state = 38; +; +RDebugUtils.currentLine=16515116; + //BA.debugLineNum = 16515116;BA.debugLine="impresoraConectada = False"; +__ref._impresoraconectada /*boolean*/ = parent.__c.False; + if (true) break; + +case 21: +//C +this.state = 22; +RDebugUtils.currentLine=16515119; + //BA.debugLineNum = 16515119;BA.debugLine="Printer1.Connect"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._connect /*boolean*/ (null); +RDebugUtils.currentLine=16515120; + //BA.debugLineNum = 16515120;BA.debugLine="Private cont As Int = 0"; +_cont = (int) (0); +RDebugUtils.currentLine=16515121; + //BA.debugLineNum = 16515121;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 /*reparto_izca.keymon.lat.escposprinter*/ ._isconnected /*boolean*/ (null))) { +this.state = 24; +if (true) break; +} +if (true) break; + +case 24: +//C +this.state = 25; +RDebugUtils.currentLine=16515122; + //BA.debugLineNum = 16515122;BA.debugLine="Sleep(1000)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_principal", "b_imp_inventario_click"),(int) (1000)); +this.state = 59; +return; +case 59: +//C +this.state = 25; +; +RDebugUtils.currentLine=16515123; + //BA.debugLineNum = 16515123;BA.debugLine="cont = cont + 1"; +_cont = (int) (_cont+1); +RDebugUtils.currentLine=16515124; + //BA.debugLineNum = 16515124;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 /*reparto_izca.keymon.lat.escposprinter*/ ._connect /*boolean*/ (null); +if (true) break; + +case 30: +//C +this.state = 31; +; +RDebugUtils.currentLine=16515125; + //BA.debugLineNum = 16515125;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=16515127; + //BA.debugLineNum = 16515127;BA.debugLine="Sleep(500)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_principal", "b_imp_inventario_click"),(int) (500)); +this.state = 60; +return; +case 60: +//C +this.state = 38; +; +RDebugUtils.currentLine=16515128; + //BA.debugLineNum = 16515128;BA.debugLine="impresoraConectada = False"; +__ref._impresoraconectada /*boolean*/ = parent.__c.False; + if (true) break; + +case 38: +//C +this.state = 39; +; +RDebugUtils.currentLine=16515131; + //BA.debugLineNum = 16515131;BA.debugLine="TAMANO = 0"; +__ref._tamano /*int*/ = (int) (0); +RDebugUtils.currentLine=16515132; + //BA.debugLineNum = 16515132;BA.debugLine="ESPACIO = 28"; +__ref._espacio /*int*/ = (int) (28); +RDebugUtils.currentLine=16515133; + //BA.debugLineNum = 16515133;BA.debugLine="BLANCO = \" \""; +__ref._blanco /*String*/ = " "; +RDebugUtils.currentLine=16515134; + //BA.debugLineNum = 16515134;BA.debugLine="Dim bmp As Bitmap"; +_bmp = new anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper(); +RDebugUtils.currentLine=16515135; + //BA.debugLineNum = 16515135;BA.debugLine="Printer1.Justify= 1"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._setjustify(null,(int) (1)); +RDebugUtils.currentLine=16515136; + //BA.debugLineNum = 16515136;BA.debugLine="bmp.InitializeResize(File.DirAssets, \"inventarios"; +_bmp.InitializeResize(parent.__c.File.getDirAssets(),"inventarios.jpg",(int) (92),(int) (92),parent.__c.True); +RDebugUtils.currentLine=16515137; + //BA.debugLineNum = 16515137;BA.debugLine="Dim myimage As AnImage = Printer1.ImageToBWIMage("; +_myimage = __ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._imagetobwimage /*reparto_izca.keymon.lat.escposprinter._animage*/ (null,_bmp); +RDebugUtils.currentLine=16515138; + //BA.debugLineNum = 16515138;BA.debugLine="myimage = Printer1.DitherImage2D(myimage, 128)"; +_myimage = __ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._ditherimage2d /*reparto_izca.keymon.lat.escposprinter._animage*/ (null,_myimage,(int) (128)); +RDebugUtils.currentLine=16515139; + //BA.debugLineNum = 16515139;BA.debugLine="myimage= Printer1.PackImage(myimage)"; +_myimage = __ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._packimage /*reparto_izca.keymon.lat.escposprinter._animage*/ (null,_myimage); +RDebugUtils.currentLine=16515140; + //BA.debugLineNum = 16515140;BA.debugLine="Printer1.WriteString(CRLF) ' nudge the printer to"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,parent.__c.CRLF); +RDebugUtils.currentLine=16515141; + //BA.debugLineNum = 16515141;BA.debugLine="Printer1.WriteString(CRLF) ' nudge the printer to"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,parent.__c.CRLF); +RDebugUtils.currentLine=16515142; + //BA.debugLineNum = 16515142;BA.debugLine="Printer1.WriteString(Printer1.REVERSE)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._reverse /*String*/ ); +RDebugUtils.currentLine=16515143; + //BA.debugLineNum = 16515143;BA.debugLine="Printer1.PrintImage(myimage)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._printimage /*int*/ (null,_myimage); +RDebugUtils.currentLine=16515144; + //BA.debugLineNum = 16515144;BA.debugLine="Printer1.WriteString(Printer1.UNREVERSE)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._unreverse /*String*/ ); +RDebugUtils.currentLine=16515145; + //BA.debugLineNum = 16515145;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null," "+parent.__c.CRLF); +RDebugUtils.currentLine=16515146; + //BA.debugLineNum = 16515146;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery(\"sel"; +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._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select HVD_PRONOMBRE, IFNULL(SUM(HVD_CANT), 0) AS HVD_CANT, HVD_PROID from HIST_VENTAS WHERE HVD_PRONOMBRE <> 'Cobranza Pendiente' and HVD_PROID <> HVD_CODPROMO GROUP BY HVD_PROID order by HVD_PRONOMBRE asc"))); +RDebugUtils.currentLine=16515147; + //BA.debugLineNum = 16515147;BA.debugLine="lv_prod_Prin.SingleLineLayout.Label.TextColor = C"; +__ref._lv_prod_prin /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getSingleLineLayout().Label.setTextColor(parent.__c.Colors.White); +RDebugUtils.currentLine=16515148; + //BA.debugLineNum = 16515148;BA.debugLine="lv_prod_Prin.Clear"; +__ref._lv_prod_prin /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=16515149; + //BA.debugLineNum = 16515149;BA.debugLine="Printer1.Justify = 0"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._setjustify(null,(int) (0)); +RDebugUtils.currentLine=16515150; + //BA.debugLineNum = 16515150;BA.debugLine="Dim sDate, sTime As String"; +_sdate = ""; +_stime = ""; +RDebugUtils.currentLine=16515151; + //BA.debugLineNum = 16515151;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; +parent.__c.DateTime.setDateFormat("dd/MM/yyyy"); +RDebugUtils.currentLine=16515152; + //BA.debugLineNum = 16515152;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; +parent.__c.DateTime.setTimeFormat("HH:mm:ss"); +RDebugUtils.currentLine=16515153; + //BA.debugLineNum = 16515153;BA.debugLine="sDate = DateTime.Date(DateTime.Now)"; +_sdate = parent.__c.DateTime.Date(parent.__c.DateTime.getNow()); +RDebugUtils.currentLine=16515154; + //BA.debugLineNum = 16515154;BA.debugLine="sTime = DateTime.Time(DateTime.Now)"; +_stime = parent.__c.DateTime.Time(parent.__c.DateTime.getNow()); +RDebugUtils.currentLine=16515155; + //BA.debugLineNum = 16515155;BA.debugLine="Printer1.WriteString(\"Fecha: \" &sDate & CRLF)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"Fecha: "+_sdate+parent.__c.CRLF); +RDebugUtils.currentLine=16515156; + //BA.debugLineNum = 16515156;BA.debugLine="Printer1.WriteString(\"Hora: \" &sTime & CRLF)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"Hora: "+_stime+parent.__c.CRLF); +RDebugUtils.currentLine=16515157; + //BA.debugLineNum = 16515157;BA.debugLine="Printer1.WriteString(\"Ruta: \" & l_ruta.Text & CRL"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"Ruta: "+__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+parent.__c.CRLF); +RDebugUtils.currentLine=16515158; + //BA.debugLineNum = 16515158;BA.debugLine="Printer1.WriteString(\"Usuario: \" & Subs.dameUsuar"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"Usuario: "+parent._subs._dameusuariodedb /*String*/ (ba)+parent.__c.CRLF); +RDebugUtils.currentLine=16515160; + //BA.debugLineNum = 16515160;BA.debugLine="Printer1.WriteString(\"---------------------------"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"--------------------------------"+parent.__c.CRLF); +RDebugUtils.currentLine=16515161; + //BA.debugLineNum = 16515161;BA.debugLine="If c.RowCount > 0 Then"; +if (true) break; + +case 39: +//if +this.state = 56; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +this.state = 41; +}if (true) break; + +case 41: +//C +this.state = 42; +RDebugUtils.currentLine=16515162; + //BA.debugLineNum = 16515162;BA.debugLine="For i = 0 To c.RowCount - 1"; +if (true) break; + +case 42: +//for +this.state = 55; +step56 = 1; +limit56 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +this.state = 61; +if (true) break; + +case 61: +//C +this.state = 55; +if ((step56 > 0 && _i <= limit56) || (step56 < 0 && _i >= limit56)) this.state = 44; +if (true) break; + +case 62: +//C +this.state = 61; +_i = ((int)(0 + _i + step56)) ; +if (true) break; + +case 44: +//C +this.state = 45; +RDebugUtils.currentLine=16515163; + //BA.debugLineNum = 16515163;BA.debugLine="c.Position = i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=16515165; + //BA.debugLineNum = 16515165;BA.debugLine="Printer1.WriteString(\"-----------INVENTARIO----"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"-----------INVENTARIO-----------"+parent.__c.CRLF); +RDebugUtils.currentLine=16515166; + //BA.debugLineNum = 16515166;BA.debugLine="Printer1.WriteString(\"-------------------------"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"--------------------------------"+parent.__c.CRLF); +RDebugUtils.currentLine=16515167; + //BA.debugLineNum = 16515167;BA.debugLine="Printer1.WriteString(\"Cant. Producto\" & C"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"Cant. Producto"+parent.__c.CRLF); +RDebugUtils.currentLine=16515168; + //BA.debugLineNum = 16515168;BA.debugLine="Printer1.WriteString(\"-------------------------"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"------------------------------"+parent.__c.CRLF); +RDebugUtils.currentLine=16515169; + //BA.debugLineNum = 16515169;BA.debugLine="For i=0 To c.RowCount -1"; +if (true) break; + +case 45: +//for +this.state = 54; +step62 = 1; +limit62 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +this.state = 63; +if (true) break; + +case 63: +//C +this.state = 54; +if ((step62 > 0 && _i <= limit62) || (step62 < 0 && _i >= limit62)) this.state = 47; +if (true) break; + +case 64: +//C +this.state = 63; +_i = ((int)(0 + _i + step62)) ; +if (true) break; + +case 47: +//C +this.state = 48; +RDebugUtils.currentLine=16515170; + //BA.debugLineNum = 16515170;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=16515173; + //BA.debugLineNum = 16515173;BA.debugLine="Printer1.Justify = 0"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._setjustify(null,(int) (0)); +RDebugUtils.currentLine=16515174; + //BA.debugLineNum = 16515174;BA.debugLine="Printer1.WriteString( (c.GetString(\"HVD_CANT\")"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CANT"))+"- "); +RDebugUtils.currentLine=16515175; + //BA.debugLineNum = 16515175;BA.debugLine="Printer1.Justify = 0"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._setjustify(null,(int) (0)); +RDebugUtils.currentLine=16515176; + //BA.debugLineNum = 16515176;BA.debugLine="Dim firstChar As String = c.GetString(\"HVD_PRO"; +_firstchar = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PRONOMBRE").substring((int) (0),(int) (1)); +RDebugUtils.currentLine=16515177; + //BA.debugLineNum = 16515177;BA.debugLine="Dim productoinven As String"; +_productoinven = ""; +RDebugUtils.currentLine=16515180; + //BA.debugLineNum = 16515180;BA.debugLine="If Asc(firstChar) >= Asc(\"0\") And Asc(firstCha"; +if (true) break; + +case 48: +//if +this.state = 53; +if (parent.__c.Asc(BA.ObjectToChar(_firstchar))>=parent.__c.Asc(BA.ObjectToChar("0")) && parent.__c.Asc(BA.ObjectToChar(_firstchar))<=parent.__c.Asc(BA.ObjectToChar("9"))) { +this.state = 50; +}else { +this.state = 52; +}if (true) break; + +case 50: +//C +this.state = 53; +RDebugUtils.currentLine=16515182; + //BA.debugLineNum = 16515182;BA.debugLine="productoinven = c.GetString(\"HVD_PRONOMBRE\")."; +_productoinven = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PRONOMBRE").substring((int) (4)); + if (true) break; + +case 52: +//C +this.state = 53; +RDebugUtils.currentLine=16515185; + //BA.debugLineNum = 16515185;BA.debugLine="productoinven = c.GetString(\"HVD_PRONOMBRE\")"; +_productoinven = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PRONOMBRE"); + if (true) break; + +case 53: +//C +this.state = 64; +; +RDebugUtils.currentLine=16515189; + //BA.debugLineNum = 16515189;BA.debugLine="Printer1.WriteString(productoinven)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,_productoinven); +RDebugUtils.currentLine=16515190; + //BA.debugLineNum = 16515190;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null," "+parent.__c.CRLF); +RDebugUtils.currentLine=16515191; + //BA.debugLineNum = 16515191;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null," "+parent.__c.CRLF); + if (true) break; +if (true) break; + +case 54: +//C +this.state = 62; +; + if (true) break; +if (true) break; + +case 55: +//C +this.state = 56; +; + if (true) break; + +case 56: +//C +this.state = -1; +; +RDebugUtils.currentLine=16515198; + //BA.debugLineNum = 16515198;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=16515200; + //BA.debugLineNum = 16515200;BA.debugLine="Dim sumainv As Cursor = Starter.skmt.ExecQuery(\"S"; +_sumainv = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_sumainv = (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 SUM(HVD_CANT) AS CANTIDAD FROM HIST_VENTAS WHERE HVD_CODPROMO <> HVD_PROID"))); +RDebugUtils.currentLine=16515201; + //BA.debugLineNum = 16515201;BA.debugLine="sumainv.Position = 0"; +_sumainv.setPosition((int) (0)); +RDebugUtils.currentLine=16515203; + //BA.debugLineNum = 16515203;BA.debugLine="Printer1.WriteString(\"---------------------------"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"------------------------------"+parent.__c.CRLF); +RDebugUtils.currentLine=16515204; + //BA.debugLineNum = 16515204;BA.debugLine="Printer1.WriteString(\"Total piezas: \" & sumainv.G"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"Total piezas: "+_sumainv.GetString("CANTIDAD")+parent.__c.CRLF); +RDebugUtils.currentLine=16515205; + //BA.debugLineNum = 16515205;BA.debugLine="Printer1.WriteString(\"---------------------------"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"------------------------------"+parent.__c.CRLF); +RDebugUtils.currentLine=16515206; + //BA.debugLineNum = 16515206;BA.debugLine="Printer1.Justify = 0"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._setjustify(null,(int) (0)); +RDebugUtils.currentLine=16515207; + //BA.debugLineNum = 16515207;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null," "+parent.__c.CRLF); +RDebugUtils.currentLine=16515208; + //BA.debugLineNum = 16515208;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null," "+parent.__c.CRLF); +RDebugUtils.currentLine=16515209; + //BA.debugLineNum = 16515209;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null," "+parent.__c.CRLF); +RDebugUtils.currentLine=16515210; + //BA.debugLineNum = 16515210;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null," "+parent.__c.CRLF); +RDebugUtils.currentLine=16515211; + //BA.debugLineNum = 16515211;BA.debugLine="Sleep(1000)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_principal", "b_imp_inventario_click"),(int) (1000)); +this.state = 65; +return; +case 65: +//C +this.state = -1; +; +RDebugUtils.currentLine=16515212; + //BA.debugLineNum = 16515212;BA.debugLine="Printer1.DisConnect"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._disconnect /*String*/ (null); +RDebugUtils.currentLine=16515213; + //BA.debugLineNum = 16515213;BA.debugLine="ProgressDialogHide"; +parent.__c.ProgressDialogHide(); +RDebugUtils.currentLine=16515214; + //BA.debugLineNum = 16515214;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public void _b_impresion_rec_click(reparto_izca.keymon.lat.c_principal __ref) throws Exception{ +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "b_impresion_rec_click", false)) + {Debug.delegate(ba, "b_impresion_rec_click", null); return;} +ResumableSub_b_impresion_rec_Click rsub = new ResumableSub_b_impresion_rec_Click(this,__ref); +rsub.resume(ba, null); +} +public static class ResumableSub_b_impresion_rec_Click extends BA.ResumableSub { +public ResumableSub_b_impresion_rec_Click(reparto_izca.keymon.lat.c_principal parent,reparto_izca.keymon.lat.c_principal __ref) { +this.parent = parent; +this.__ref = __ref; +this.__ref = parent; +} +reparto_izca.keymon.lat.c_principal __ref; +reparto_izca.keymon.lat.c_principal parent; +int _totalentrega = 0; +int _totalrechazo = 0; +int _totalpiezas = 0; +String _sdate = ""; +String _stime = ""; +int _cont = 0; +int _i = 0; +anywheresoftware.b4a.sql.SQL.CursorWrapper _c3 = null; +String _resta = ""; +int step46; +int limit46; + +@Override +public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="c_principal"; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +RDebugUtils.currentLine=16580609; + //BA.debugLineNum = 16580609;BA.debugLine="Dim totalentrega As Int"; +_totalentrega = 0; +RDebugUtils.currentLine=16580610; + //BA.debugLineNum = 16580610;BA.debugLine="Dim totalrechazo As Int"; +_totalrechazo = 0; +RDebugUtils.currentLine=16580611; + //BA.debugLineNum = 16580611;BA.debugLine="Dim totalpiezas As Int"; +_totalpiezas = 0; +RDebugUtils.currentLine=16580612; + //BA.debugLineNum = 16580612;BA.debugLine="Dim sDate, sTime As String"; +_sdate = ""; +_stime = ""; +RDebugUtils.currentLine=16580613; + //BA.debugLineNum = 16580613;BA.debugLine="c=Starter.skmt.ExecQuery(\"select USUARIO from 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)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); +RDebugUtils.currentLine=16580614; + //BA.debugLineNum = 16580614;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=16580615; + //BA.debugLineNum = 16580615;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=16580617; + //BA.debugLineNum = 16580617;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; +parent.__c.DateTime.setDateFormat("dd/MM/yyyy"); +RDebugUtils.currentLine=16580618; + //BA.debugLineNum = 16580618;BA.debugLine="DateTime.TimeFormat=\"HH:mm:ss\""; +parent.__c.DateTime.setTimeFormat("HH:mm:ss"); +RDebugUtils.currentLine=16580619; + //BA.debugLineNum = 16580619;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +_sdate = parent.__c.DateTime.Date(parent.__c.DateTime.getNow()); +RDebugUtils.currentLine=16580620; + //BA.debugLineNum = 16580620;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +_stime = parent.__c.DateTime.Time(parent.__c.DateTime.getNow()); +RDebugUtils.currentLine=16580621; + //BA.debugLineNum = 16580621;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=16580627; + //BA.debugLineNum = 16580627;BA.debugLine="ProgressDialogShow(\"Imprimiendo, un momento ...\")"; +parent.__c.ProgressDialogShow(ba,BA.ObjectToCharSequence("Imprimiendo, un momento ...")); +RDebugUtils.currentLine=16580628; + //BA.debugLineNum = 16580628;BA.debugLine="Printer1.DisConnect"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._disconnect /*String*/ (null); +RDebugUtils.currentLine=16580629; + //BA.debugLineNum = 16580629;BA.debugLine="If Not(Printer1.IsConnected) Then"; +if (true) break; + +case 1: +//if +this.state = 38; +if (parent.__c.Not(__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._isconnected /*boolean*/ (null))) { +this.state = 3; +}else { +this.state = 21; +}if (true) break; + +case 3: +//C +this.state = 4; +RDebugUtils.currentLine=16580631; + //BA.debugLineNum = 16580631;BA.debugLine="Printer1.Connect"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._connect /*boolean*/ (null); +RDebugUtils.currentLine=16580632; + //BA.debugLineNum = 16580632;BA.debugLine="Private cont As Int = 0"; +_cont = (int) (0); +RDebugUtils.currentLine=16580633; + //BA.debugLineNum = 16580633;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=16580634; + //BA.debugLineNum = 16580634;BA.debugLine="Sleep(1000)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_principal", "b_impresion_rec_click"),(int) (1000)); +this.state = 53; +return; +case 53: +//C +this.state = 7; +; +RDebugUtils.currentLine=16580636; + //BA.debugLineNum = 16580636;BA.debugLine="cont = cont + 1"; +_cont = (int) (_cont+1); +RDebugUtils.currentLine=16580637; + //BA.debugLineNum = 16580637;BA.debugLine="If cont = 2 Then Printer1.Connect 'Tratamos de"; +if (true) break; + +case 7: +//if +this.state = 12; +if (_cont==2) { +this.state = 9; +;}if (true) break; + +case 9: +//C +this.state = 12; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._connect /*boolean*/ (null); +if (true) break; + +case 12: +//C +this.state = 13; +; +RDebugUtils.currentLine=16580638; + //BA.debugLineNum = 16580638;BA.debugLine="If cont > 3 Then impresoraConectada = True"; +if (true) break; + +case 13: +//if +this.state = 18; +if (_cont>3) { +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=16580640; + //BA.debugLineNum = 16580640;BA.debugLine="Sleep(500)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_principal", "b_impresion_rec_click"),(int) (500)); +this.state = 54; +return; +case 54: +//C +this.state = 38; +; +RDebugUtils.currentLine=16580641; + //BA.debugLineNum = 16580641;BA.debugLine="impresoraConectada = False"; +__ref._impresoraconectada /*boolean*/ = parent.__c.False; + if (true) break; + +case 21: +//C +this.state = 22; +RDebugUtils.currentLine=16580644; + //BA.debugLineNum = 16580644;BA.debugLine="Printer1.Connect"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._connect /*boolean*/ (null); +RDebugUtils.currentLine=16580645; + //BA.debugLineNum = 16580645;BA.debugLine="Private cont As Int = 0"; +_cont = (int) (0); +RDebugUtils.currentLine=16580646; + //BA.debugLineNum = 16580646;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 /*reparto_izca.keymon.lat.escposprinter*/ ._isconnected /*boolean*/ (null))) { +this.state = 24; +if (true) break; +} +if (true) break; + +case 24: +//C +this.state = 25; +RDebugUtils.currentLine=16580647; + //BA.debugLineNum = 16580647;BA.debugLine="Sleep(1000)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_principal", "b_impresion_rec_click"),(int) (1000)); +this.state = 55; +return; +case 55: +//C +this.state = 25; +; +RDebugUtils.currentLine=16580649; + //BA.debugLineNum = 16580649;BA.debugLine="cont = cont + 1"; +_cont = (int) (_cont+1); +RDebugUtils.currentLine=16580650; + //BA.debugLineNum = 16580650;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 /*reparto_izca.keymon.lat.escposprinter*/ ._connect /*boolean*/ (null); +if (true) break; + +case 30: +//C +this.state = 31; +; +RDebugUtils.currentLine=16580651; + //BA.debugLineNum = 16580651;BA.debugLine="If cont > 3 Then impresoraConectada = True"; +if (true) break; + +case 31: +//if +this.state = 36; +if (_cont>3) { +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=16580653; + //BA.debugLineNum = 16580653;BA.debugLine="Sleep(500)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_principal", "b_impresion_rec_click"),(int) (500)); +this.state = 56; +return; +case 56: +//C +this.state = 38; +; +RDebugUtils.currentLine=16580654; + //BA.debugLineNum = 16580654;BA.debugLine="impresoraConectada = False"; +__ref._impresoraconectada /*boolean*/ = parent.__c.False; + if (true) break; + +case 38: +//C +this.state = 39; +; +RDebugUtils.currentLine=16580657; + //BA.debugLineNum = 16580657;BA.debugLine="TAMANO = 0"; +__ref._tamano /*int*/ = (int) (0); +RDebugUtils.currentLine=16580658; + //BA.debugLineNum = 16580658;BA.debugLine="ESPACIO = 28"; +__ref._espacio /*int*/ = (int) (28); +RDebugUtils.currentLine=16580659; + //BA.debugLineNum = 16580659;BA.debugLine="BLANCO = \" \""; +__ref._blanco /*String*/ = " "; +RDebugUtils.currentLine=16580661; + //BA.debugLineNum = 16580661;BA.debugLine="Printer1.WriteString(\"Izca Distribuciones\" & CRL"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"Izca Distribuciones"+parent.__c.CRLF); +RDebugUtils.currentLine=16580662; + //BA.debugLineNum = 16580662;BA.debugLine="Printer1.WriteString(sDate & \" \" &sTime & CRLF)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,_sdate+" "+_stime+parent.__c.CRLF); +RDebugUtils.currentLine=16580664; + //BA.debugLineNum = 16580664;BA.debugLine="Printer1.WriteString(\"------------ENTREGA--------"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"------------ENTREGA-----------"+parent.__c.CRLF); +RDebugUtils.currentLine=16580665; + //BA.debugLineNum = 16580665;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery(\"sel"; +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._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select HVD_PRONOMBRE, IFNULL(SUM(HVD_RECHAZOCANT), 0) AS HVD_RECHAZOCANT, IFNULL(SUM(HVD_CANT), 0) AS HVD_CANT, (IFNULL(SUM(HVD_CANT), 0) - IFNULL(SUM(HVD_RECHAZOCANT), 0)) as total, HVD_PROID from HIST_VENTAS where HVD_PROID <> HVD_CODPROMO GROUP BY HVD_PROID order by HVD_PRONOMBRE asc"))); +RDebugUtils.currentLine=16580666; + //BA.debugLineNum = 16580666;BA.debugLine="If c.RowCount > 0 Then"; +if (true) break; + +case 39: +//if +this.state = 52; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +this.state = 41; +}if (true) break; + +case 41: +//C +this.state = 42; +RDebugUtils.currentLine=16580667; + //BA.debugLineNum = 16580667;BA.debugLine="For i = 0 To c.RowCount - 1"; +if (true) break; + +case 42: +//for +this.state = 51; +step46 = 1; +limit46 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +this.state = 57; +if (true) break; + +case 57: +//C +this.state = 51; +if ((step46 > 0 && _i <= limit46) || (step46 < 0 && _i >= limit46)) this.state = 44; +if (true) break; + +case 58: +//C +this.state = 57; +_i = ((int)(0 + _i + step46)) ; +if (true) break; + +case 44: +//C +this.state = 45; +RDebugUtils.currentLine=16580668; + //BA.debugLineNum = 16580668;BA.debugLine="c.Position = i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=16580671; + //BA.debugLineNum = 16580671;BA.debugLine="Private c3 As Cursor=Starter.skmt.ExecQuery($\"s"; +_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._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select Ifnull(sum(PE_CANT),0) AS PE_CANT from PEDIDO WHERE PE_PROID ='"+parent.__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID")))+"'")))); +RDebugUtils.currentLine=16580672; + //BA.debugLineNum = 16580672;BA.debugLine="Private resta As String = 0"; +_resta = BA.NumberToString(0); +RDebugUtils.currentLine=16580674; + //BA.debugLineNum = 16580674;BA.debugLine="If c3.RowCount > 0 Then"; +if (true) break; + +case 45: +//if +this.state = 50; +if (_c3.getRowCount()>0) { +this.state = 47; +}else { +this.state = 49; +}if (true) break; + +case 47: +//C +this.state = 50; +RDebugUtils.currentLine=16580675; + //BA.debugLineNum = 16580675;BA.debugLine="c3.Position = 0"; +_c3.setPosition((int) (0)); +RDebugUtils.currentLine=16580676; + //BA.debugLineNum = 16580676;BA.debugLine="resta = c3.GetString(\"PE_CANT\")"; +_resta = _c3.GetString("PE_CANT"); + if (true) break; + +case 49: +//C +this.state = 50; +RDebugUtils.currentLine=16580678; + //BA.debugLineNum = 16580678;BA.debugLine="resta = 0"; +_resta = BA.NumberToString(0); + if (true) break; + +case 50: +//C +this.state = 58; +; +RDebugUtils.currentLine=16580680; + //BA.debugLineNum = 16580680;BA.debugLine="Printer1.Justify = 0"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._setjustify(null,(int) (0)); +RDebugUtils.currentLine=16580681; + //BA.debugLineNum = 16580681;BA.debugLine="Printer1.WriteString(c.GetString(\"HVD_PRONOMBRE"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PRONOMBRE")+parent.__c.CRLF); +RDebugUtils.currentLine=16580682; + //BA.debugLineNum = 16580682;BA.debugLine="Printer1.Justify = 0"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._setjustify(null,(int) (0)); +RDebugUtils.currentLine=16580683; + //BA.debugLineNum = 16580683;BA.debugLine="Printer1.WriteString(\"TP: \"& c.GetInt(\"HVD_CANT"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"TP: "+BA.NumberToString(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("HVD_CANT"))+" "); +RDebugUtils.currentLine=16580684; + //BA.debugLineNum = 16580684;BA.debugLine="Printer1.Justify = 1"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._setjustify(null,(int) (1)); +RDebugUtils.currentLine=16580685; + //BA.debugLineNum = 16580685;BA.debugLine="Printer1.WriteString(\" TE: \" & (c.GetInt(\"tot"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null," TE: "+BA.NumberToString((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("total")+(double)(Double.parseDouble(_resta))))+" "); +RDebugUtils.currentLine=16580686; + //BA.debugLineNum = 16580686;BA.debugLine="Printer1.Justify = 2"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._setjustify(null,(int) (2)); +RDebugUtils.currentLine=16580687; + //BA.debugLineNum = 16580687;BA.debugLine="Printer1.WriteString(\" TR: \" & (c.GetInt(\"HVD"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null," TR: "+BA.NumberToString((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("HVD_RECHAZOCANT")-(double)(Double.parseDouble(_resta))))+" "); +RDebugUtils.currentLine=16580688; + //BA.debugLineNum = 16580688;BA.debugLine="Printer1.Justify = 0"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._setjustify(null,(int) (0)); +RDebugUtils.currentLine=16580689; + //BA.debugLineNum = 16580689;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null," "+parent.__c.CRLF); +RDebugUtils.currentLine=16580691; + //BA.debugLineNum = 16580691;BA.debugLine="totalentrega = totalentrega + c.GetInt(\"total\")"; +_totalentrega = (int) (_totalentrega+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("total")+(double)(Double.parseDouble(_resta))); +RDebugUtils.currentLine=16580692; + //BA.debugLineNum = 16580692;BA.debugLine="totalrechazo = totalrechazo + c.GetInt(\"HVD_REC"; +_totalrechazo = (int) (_totalrechazo+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("HVD_RECHAZOCANT")-(double)(Double.parseDouble(_resta))); +RDebugUtils.currentLine=16580693; + //BA.debugLineNum = 16580693;BA.debugLine="totalpiezas = totalpiezas + c.GetInt(\"HVD_CANT\""; +_totalpiezas = (int) (_totalpiezas+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("HVD_CANT")); + if (true) break; +if (true) break; + +case 51: +//C +this.state = 52; +; + if (true) break; + +case 52: +//C +this.state = -1; +; +RDebugUtils.currentLine=16580698; + //BA.debugLineNum = 16580698;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=16580699; + //BA.debugLineNum = 16580699;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null," "+parent.__c.CRLF); +RDebugUtils.currentLine=16580700; + //BA.debugLineNum = 16580700;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null," "+parent.__c.CRLF); +RDebugUtils.currentLine=16580701; + //BA.debugLineNum = 16580701;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null," "+parent.__c.CRLF); +RDebugUtils.currentLine=16580703; + //BA.debugLineNum = 16580703;BA.debugLine="Printer1.WriteString(\"Total Piezas: \"& totalpiez"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"Total Piezas: "+BA.NumberToString(_totalpiezas)+parent.__c.CRLF); +RDebugUtils.currentLine=16580704; + //BA.debugLineNum = 16580704;BA.debugLine="Printer1.WriteString(\"Total Entrega: \"& totalent"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"Total Entrega: "+BA.NumberToString(_totalentrega)+parent.__c.CRLF); +RDebugUtils.currentLine=16580705; + //BA.debugLineNum = 16580705;BA.debugLine="Printer1.WriteString(\"Total Rechazo: \"& totalrec"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"Total Rechazo: "+BA.NumberToString(_totalrechazo)+parent.__c.CRLF); +RDebugUtils.currentLine=16580708; + //BA.debugLineNum = 16580708;BA.debugLine="Printer1.WriteString(\"---------------------------"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"------------------------------"+parent.__c.CRLF); +RDebugUtils.currentLine=16580709; + //BA.debugLineNum = 16580709;BA.debugLine="Printer1.WriteString(\"---------------------------"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null,"------------------------------"+parent.__c.CRLF); +RDebugUtils.currentLine=16580710; + //BA.debugLineNum = 16580710;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null," "+parent.__c.CRLF); +RDebugUtils.currentLine=16580711; + //BA.debugLineNum = 16580711;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null," "+parent.__c.CRLF); +RDebugUtils.currentLine=16580712; + //BA.debugLineNum = 16580712;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._writestring /*String*/ (null," "+parent.__c.CRLF); +RDebugUtils.currentLine=16580713; + //BA.debugLineNum = 16580713;BA.debugLine="Sleep(1000)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_principal", "b_impresion_rec_click"),(int) (1000)); +this.state = 59; +return; +case 59: +//C +this.state = -1; +; +RDebugUtils.currentLine=16580714; + //BA.debugLineNum = 16580714;BA.debugLine="Printer1.DisConnect"; +__ref._printer1 /*reparto_izca.keymon.lat.escposprinter*/ ._disconnect /*String*/ (null); +RDebugUtils.currentLine=16580716; + //BA.debugLineNum = 16580716;BA.debugLine="ProgressDialogHide"; +parent.__c.ProgressDialogHide(); +RDebugUtils.currentLine=16580717; + //BA.debugLineNum = 16580717;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public String _b_mapa_click(reparto_izca.keymon.lat.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=15138816; + //BA.debugLineNum = 15138816;BA.debugLine="Sub b_mapa_Click"; +RDebugUtils.currentLine=15138818; + //BA.debugLineNum = 15138818;BA.debugLine="B4XPages.ShowPage(\"mapas\")"; +_b4xpages._showpage /*String*/ (ba,"mapas"); +RDebugUtils.currentLine=15138819; + //BA.debugLineNum = 15138819;BA.debugLine="End Sub"; +return ""; +} +public String _b_pc_env_click(reparto_izca.keymon.lat.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "b_pc_env_click", false)) + {return ((String) Debug.delegate(ba, "b_pc_env_click", null));} +String _sdate = ""; +String _stime = ""; +int _i = 0; +anywheresoftware.b4a.objects.B4XViewWrapper _itempanel = null; +anywheresoftware.b4a.objects.B4XViewWrapper _innerpanel = null; +anywheresoftware.b4a.objects.B4XViewWrapper _edittext = null; +String _inputtext = ""; +anywheresoftware.b4a.objects.B4XViewWrapper _labelcant = null; +String _cantidadrestar = ""; +anywheresoftware.b4a.objects.B4XViewWrapper _idlabel = null; +String _idtext = ""; +String[] _idparts = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _k = null; +String[] _fechatabulador = null; +String _fechatabulador3 = ""; +int _restado = 0; +RDebugUtils.currentLine=16711680; + //BA.debugLineNum = 16711680;BA.debugLine="Private Sub B_PC_ENV_Click"; +RDebugUtils.currentLine=16711681; + //BA.debugLineNum = 16711681;BA.debugLine="Dim sDate, sTime As String"; +_sdate = ""; +_stime = ""; +RDebugUtils.currentLine=16711682; + //BA.debugLineNum = 16711682;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; +__c.DateTime.setDateFormat("dd/MM/yyyy"); +RDebugUtils.currentLine=16711683; + //BA.debugLineNum = 16711683;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; +__c.DateTime.setTimeFormat("HH:mm:ss"); +RDebugUtils.currentLine=16711684; + //BA.debugLineNum = 16711684;BA.debugLine="sDate = DateTime.Date(DateTime.Now)"; +_sdate = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=16711685; + //BA.debugLineNum = 16711685;BA.debugLine="sTime = DateTime.Time(DateTime.Now)"; +_stime = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=16711688; + //BA.debugLineNum = 16711688;BA.debugLine="For i = 0 To CLV_PICK_CIEGO.Size - 1"; +{ +final int step6 = 1; +final int limit6 = (int) (__ref._clv_pick_ciego /*b4a.example3.customlistview*/ ._getsize()-1); +_i = (int) (0) ; +for (;_i <= limit6 ;_i = _i + step6 ) { +RDebugUtils.currentLine=16711690; + //BA.debugLineNum = 16711690;BA.debugLine="Dim itemPanel As B4XView = CLV_PICK_CIEGO.GetPan"; +_itempanel = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_itempanel = __ref._clv_pick_ciego /*b4a.example3.customlistview*/ ._getpanel(_i); +RDebugUtils.currentLine=16711691; + //BA.debugLineNum = 16711691;BA.debugLine="Dim innerPanel As B4XView = itemPanel.GetView(0)"; +_innerpanel = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_innerpanel = _itempanel.GetView((int) (0)); +RDebugUtils.currentLine=16711692; + //BA.debugLineNum = 16711692;BA.debugLine="Dim editText As B4XView = innerPanel.GetView(1)"; +_edittext = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_edittext = _innerpanel.GetView((int) (1)); +RDebugUtils.currentLine=16711693; + //BA.debugLineNum = 16711693;BA.debugLine="Dim inputText As String = editText.As(EditText)."; +_inputtext = ((anywheresoftware.b4a.objects.EditTextWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.EditTextWrapper(), (android.widget.EditText)(_edittext.getObject()))).getText(); +RDebugUtils.currentLine=16711694; + //BA.debugLineNum = 16711694;BA.debugLine="Dim labelcant As B4XView = innerPanel.GetView(2)"; +_labelcant = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_labelcant = _innerpanel.GetView((int) (2)); +RDebugUtils.currentLine=16711695; + //BA.debugLineNum = 16711695;BA.debugLine="Dim cantidadrestar As String = labelcant.As(Labe"; +_cantidadrestar = ((anywheresoftware.b4a.objects.LabelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.LabelWrapper(), (android.widget.TextView)(_labelcant.getObject()))).getText(); +RDebugUtils.currentLine=16711698; + //BA.debugLineNum = 16711698;BA.debugLine="If Regex.IsMatch(\"^[0]+$\", inputText) Or inputTe"; +if (__c.Regex.IsMatch("^[0]+$",_inputtext) || (_inputtext).equals("")) { +RDebugUtils.currentLine=16711699; + //BA.debugLineNum = 16711699;BA.debugLine="inputText = \"0\""; +_inputtext = "0"; + }; +RDebugUtils.currentLine=16711703; + //BA.debugLineNum = 16711703;BA.debugLine="Dim idLabel As B4XView = innerPanel.GetView(0)"; +_idlabel = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_idlabel = _innerpanel.GetView((int) (0)); +RDebugUtils.currentLine=16711704; + //BA.debugLineNum = 16711704;BA.debugLine="Dim idText As String = idLabel.As(Label).Text"; +_idtext = ((anywheresoftware.b4a.objects.LabelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.LabelWrapper(), (android.widget.TextView)(_idlabel.getObject()))).getText(); +RDebugUtils.currentLine=16711705; + //BA.debugLineNum = 16711705;BA.debugLine="Dim idParts() As String = Regex.Split(CRLF, idTe"; +_idparts = __c.Regex.Split(__c.CRLF,_idtext); +RDebugUtils.currentLine=16711707; + //BA.debugLineNum = 16711707;BA.debugLine="f=Starter.skmt.ExecQuery(\"select RUTAA from RUTA"; +__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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select RUTAA from RUTAA"))); +RDebugUtils.currentLine=16711708; + //BA.debugLineNum = 16711708;BA.debugLine="f.Position=0"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=16711710; + //BA.debugLineNum = 16711710;BA.debugLine="a=Starter.skmt.ExecQuery(\"select ID_ALMACEN from"; +__ref._a /*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=16711711; + //BA.debugLineNum = 16711711;BA.debugLine="If a.RowCount>0 Then"; +if (__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=16711712; + //BA.debugLineNum = 16711712;BA.debugLine="a.Position=0"; +__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); + }; +RDebugUtils.currentLine=16711714; + //BA.debugLineNum = 16711714;BA.debugLine="Dim k As Cursor = Starter.skmt.ExecQuery(\"SELECT"; +_k = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_k = (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 HVD_FECHA FROM HIST_VENTAS"))); +RDebugUtils.currentLine=16711715; + //BA.debugLineNum = 16711715;BA.debugLine="k.Position = 0"; +_k.setPosition((int) (0)); +RDebugUtils.currentLine=16711716; + //BA.debugLineNum = 16711716;BA.debugLine="Dim fechatabulador() As String = Regex.Split(\" \""; +_fechatabulador = __c.Regex.Split(" ",_k.GetString("HVD_FECHA")); +RDebugUtils.currentLine=16711718; + //BA.debugLineNum = 16711718;BA.debugLine="Dim fechatabulador3 As String = fechatabulador(0"; +_fechatabulador3 = _fechatabulador[(int) (0)]; +RDebugUtils.currentLine=16711719; + //BA.debugLineNum = 16711719;BA.debugLine="k.Close"; +_k.Close(); +RDebugUtils.currentLine=16711720; + //BA.debugLineNum = 16711720;BA.debugLine="If inputText <> \"\" Then"; +if ((_inputtext).equals("") == false) { +RDebugUtils.currentLine=16711721; + //BA.debugLineNum = 16711721;BA.debugLine="Log(idParts(0))"; +__c.LogImpl("816711721",_idparts[(int) (0)],0); +RDebugUtils.currentLine=16711722; + //BA.debugLineNum = 16711722;BA.debugLine="Log(cantidadrestar)"; +__c.LogImpl("816711722",_cantidadrestar,0); +RDebugUtils.currentLine=16711723; + //BA.debugLineNum = 16711723;BA.debugLine="Log(inputText)"; +__c.LogImpl("816711723",_inputtext,0); +RDebugUtils.currentLine=16711724; + //BA.debugLineNum = 16711724;BA.debugLine="Dim restado As Int = cantidadrestar - inputText"; +_restado = (int) ((double)(Double.parseDouble(_cantidadrestar))-(double)(Double.parseDouble(_inputtext))); +RDebugUtils.currentLine=16711725; + //BA.debugLineNum = 16711725;BA.debugLine="Log(cantidadrestar - inputText)"; +__c.LogImpl("816711725",BA.NumberToString((double)(Double.parseDouble(_cantidadrestar))-(double)(Double.parseDouble(_inputtext))),0); +RDebugUtils.currentLine=16711726; + //BA.debugLineNum = 16711726;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM PICK"; +__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*/ .ExecQuery2("SELECT * FROM PICK_CIEGO where PC_ID_PROD = ?",new String[]{_idparts[(int) (0)]}))); +RDebugUtils.currentLine=16711727; + //BA.debugLineNum = 16711727;BA.debugLine="If c.RowCount = 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()==0) { +RDebugUtils.currentLine=16711731; + //BA.debugLineNum = 16711731;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PICK_C"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PICK_CIEGO(PC_ID_PROD, PC_NOM_PROD, PC_CANT, PC_ALMACEN, PC_RUTA, PC_FECHA, RESTA) VALUES(?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_idparts[(int) (0)],_idparts[(int) (1)],_inputtext,__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("ID_ALMACEN"),__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("RUTAA"),_fechatabulador3+" "+_stime,BA.NumberToString(_restado)})); + }else { +RDebugUtils.currentLine=16711736; + //BA.debugLineNum = 16711736;BA.debugLine="Starter.skmt.ExecNonQuery2(\"Update PICK_CIEGO"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("Update PICK_CIEGO set PC_CANT = ?, RESTA = ? WHERE PC_ID_PROD = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_inputtext,BA.NumberToString(_restado),_idparts[(int) (0)]})); + }; + }; +RDebugUtils.currentLine=16711740; + //BA.debugLineNum = 16711740;BA.debugLine="f.Close"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=16711741; + //BA.debugLineNum = 16711741;BA.debugLine="a.Close"; +__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=16711742; + //BA.debugLineNum = 16711742;BA.debugLine="Log(\"Processed item \" & i)"; +__c.LogImpl("816711742","Processed item "+BA.NumberToString(_i),0); + } +}; +RDebugUtils.currentLine=16711745; + //BA.debugLineNum = 16711745;BA.debugLine="End Sub"; +return ""; +} +public String _b_rechazos_click(reparto_izca.keymon.lat.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "b_rechazos_click", false)) + {return ((String) Debug.delegate(ba, "b_rechazos_click", null));} +anywheresoftware.b4a.objects.LabelWrapper _label1 = null; +int _i = 0; +String _itemtext = ""; +anywheresoftware.b4a.sql.SQL.CursorWrapper _c3 = null; +String _resta = ""; +RDebugUtils.currentLine=15794176; + //BA.debugLineNum = 15794176;BA.debugLine="Private Sub b_rechazos_Click"; +RDebugUtils.currentLine=15794177; + //BA.debugLineNum = 15794177;BA.debugLine="Dim label1 As Label"; +_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=15794178; + //BA.debugLineNum = 15794178;BA.debugLine="label1 = lv_prod_Prin.SingleLineLayout.Label"; +_label1 = __ref._lv_prod_prin /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getSingleLineLayout().Label; +RDebugUtils.currentLine=15794179; + //BA.debugLineNum = 15794179;BA.debugLine="label1.TextSize = 14"; +_label1.setTextSize((float) (14)); +RDebugUtils.currentLine=15794180; + //BA.debugLineNum = 15794180;BA.debugLine="p_prod.Width = Root.Width"; +__ref._p_prod /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=15794181; + //BA.debugLineNum = 15794181;BA.debugLine="p_prod.Height = Root.Height"; +__ref._p_prod /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=15794184; + //BA.debugLineNum = 15794184;BA.debugLine="b_regreso.Top = p_prod.Height - b_regreso.Height"; +__ref._b_regreso /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setTop((int) (__ref._p_prod /*anywheresoftware.b4a.objects.PanelWrapper*/ .getHeight()-__ref._b_regreso /*anywheresoftware.b4a.objects.ButtonWrapper*/ .getHeight())); +RDebugUtils.currentLine=15794185; + //BA.debugLineNum = 15794185;BA.debugLine="b_impresion_rec.Top = p_prod.Height - b_impresion"; +__ref._b_impresion_rec /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setTop((int) (__ref._p_prod /*anywheresoftware.b4a.objects.PanelWrapper*/ .getHeight()-__ref._b_impresion_rec /*anywheresoftware.b4a.objects.ButtonWrapper*/ .getHeight())); +RDebugUtils.currentLine=15794187; + //BA.debugLineNum = 15794187;BA.debugLine="p_prod.Visible = True"; +__ref._p_prod /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=15794188; + //BA.debugLineNum = 15794188;BA.debugLine="p_prod.BringToFront"; +__ref._p_prod /*anywheresoftware.b4a.objects.PanelWrapper*/ .BringToFront(); +RDebugUtils.currentLine=15794190; + //BA.debugLineNum = 15794190;BA.debugLine="If l_ctast.Text = \"0\" Then"; +if ((__ref._l_ctast /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("0")) { +RDebugUtils.currentLine=15794191; + //BA.debugLineNum = 15794191;BA.debugLine="b_impresion_rec.Enabled = True"; +__ref._b_impresion_rec /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setEnabled(__c.True); + }else +{RDebugUtils.currentLine=15794192; + //BA.debugLineNum = 15794192;BA.debugLine="Else If l_ctast.Text <> \"0\" Then"; +if ((__ref._l_ctast /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("0") == false) { +RDebugUtils.currentLine=15794193; + //BA.debugLineNum = 15794193;BA.debugLine="b_impresion_rec.Enabled = False"; +__ref._b_impresion_rec /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setEnabled(__c.False); + }} +; +RDebugUtils.currentLine=15794197; + //BA.debugLineNum = 15794197;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 HVD_PRONOMBRE, IFNULL(SUM(HVD_RECHAZOCANT), 0) AS HVD_RECHAZOCANT, HVD_PROID from HIST_VENTAS WHERE hvd_rechazo <> 2 and HVD_RECHAZOCANT > 0 GROUP BY HVD_PROID order by HVD_PRONOMBRE asc"))); +RDebugUtils.currentLine=15794199; + //BA.debugLineNum = 15794199;BA.debugLine="lv_prod_Prin.SingleLineLayout.Label.TextColor = C"; +__ref._lv_prod_prin /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getSingleLineLayout().Label.setTextColor(__c.Colors.Black); +RDebugUtils.currentLine=15794200; + //BA.debugLineNum = 15794200;BA.debugLine="lv_prod_Prin.Clear"; +__ref._lv_prod_prin /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=15794201; + //BA.debugLineNum = 15794201;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=15794202; + //BA.debugLineNum = 15794202;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=15794203; + //BA.debugLineNum = 15794203;BA.debugLine="c.Position = i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=15794204; + //BA.debugLineNum = 15794204;BA.debugLine="Dim itemText As String"; +_itemtext = ""; +RDebugUtils.currentLine=15794206; + //BA.debugLineNum = 15794206;BA.debugLine="Private c3 As Cursor=Starter.skmt.ExecQuery($\"s"; +_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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select Ifnull(sum(PE_CANT),0) AS PE_CANT from PEDIDO WHERE PE_PROID ='"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID")))+"' ")))); +RDebugUtils.currentLine=15794207; + //BA.debugLineNum = 15794207;BA.debugLine="Private resta As String = 0"; +_resta = BA.NumberToString(0); +RDebugUtils.currentLine=15794209; + //BA.debugLineNum = 15794209;BA.debugLine="If c3.RowCount > 0 Then"; +if (_c3.getRowCount()>0) { +RDebugUtils.currentLine=15794210; + //BA.debugLineNum = 15794210;BA.debugLine="c3.Position = 0"; +_c3.setPosition((int) (0)); +RDebugUtils.currentLine=15794211; + //BA.debugLineNum = 15794211;BA.debugLine="resta = c3.GetString(\"PE_CANT\")"; +_resta = _c3.GetString("PE_CANT"); + }else { +RDebugUtils.currentLine=15794213; + //BA.debugLineNum = 15794213;BA.debugLine="resta = 0"; +_resta = BA.NumberToString(0); + }; +RDebugUtils.currentLine=15794215; + //BA.debugLineNum = 15794215;BA.debugLine="If ( c.GetInt(\"HVD_RECHAZOCANT\") - resta) <= 0"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("HVD_RECHAZOCANT")-(double)(Double.parseDouble(_resta)))<=0) { + }else { +RDebugUtils.currentLine=15794218; + //BA.debugLineNum = 15794218;BA.debugLine="itemText = $\"${c.GetString(\"HVD_PRONOMBRE\")} $"; +_itemtext = (""+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PRONOMBRE")))+" "+__c.SmartStringFormatter("",(Object)(__c.CRLF))+"Inventario: "+__c.SmartStringFormatter("",(Object)((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("HVD_RECHAZOCANT")-(double)(Double.parseDouble(_resta)))))+""); +RDebugUtils.currentLine=15794219; + //BA.debugLineNum = 15794219;BA.debugLine="lv_prod_Prin.AddSingleLine(itemText)"; +__ref._lv_prod_prin /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddSingleLine(BA.ObjectToCharSequence(_itemtext)); + }; + } +}; + }else { +RDebugUtils.currentLine=15794225; + //BA.debugLineNum = 15794225;BA.debugLine="lv_prod_Prin.AddSingleLine(\"No hay datos disponi"; +__ref._lv_prod_prin /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddSingleLine(BA.ObjectToCharSequence("No hay datos disponibles.")); + }; +RDebugUtils.currentLine=15794227; + //BA.debugLineNum = 15794227;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=15794230; + //BA.debugLineNum = 15794230;BA.debugLine="End Sub"; +return ""; +} +public String _b_regresa_click(reparto_izca.keymon.lat.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "b_regresa_click", false)) + {return ((String) Debug.delegate(ba, "b_regresa_click", null));} +RDebugUtils.currentLine=15466496; + //BA.debugLineNum = 15466496;BA.debugLine="Sub B_REGRESA_Click"; +RDebugUtils.currentLine=15466497; + //BA.debugLineNum = 15466497;BA.debugLine="Log(\"B_REGRESA_Click\")"; +__c.LogImpl("815466497","B_REGRESA_Click",0); +RDebugUtils.currentLine=15466498; + //BA.debugLineNum = 15466498;BA.debugLine="BUSCA.Visible = False"; +__ref._busca /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=15466499; + //BA.debugLineNum = 15466499;BA.debugLine="connecta.Visible = True"; +__ref._connecta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=15466500; + //BA.debugLineNum = 15466500;BA.debugLine="trabajar.Visible = True"; +__ref._trabajar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=15466501; + //BA.debugLineNum = 15466501;BA.debugLine="B_CLIEPROD.Visible = True"; +__ref._b_clieprod /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=15466502; + //BA.debugLineNum = 15466502;BA.debugLine="Panel1.Visible = False"; +__ref._panel1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=15466503; + //BA.debugLineNum = 15466503;BA.debugLine="Btn_Ubicar_Ru.Visible=True"; +__ref._btn_ubicar_ru /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=15466504; + //BA.debugLineNum = 15466504;BA.debugLine="End Sub"; +return ""; +} +public String _b_regreso_click(reparto_izca.keymon.lat.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "b_regreso_click", false)) + {return ((String) Debug.delegate(ba, "b_regreso_click", null));} +RDebugUtils.currentLine=15859712; + //BA.debugLineNum = 15859712;BA.debugLine="Private Sub b_regreso_Click"; +RDebugUtils.currentLine=15859713; + //BA.debugLineNum = 15859713;BA.debugLine="p_prod.Visible = False"; +__ref._p_prod /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=15859714; + //BA.debugLineNum = 15859714;BA.debugLine="End Sub"; +return ""; +} +public String _b_tabulador_click(reparto_izca.keymon.lat.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "b_tabulador_click", false)) + {return ((String) Debug.delegate(ba, "b_tabulador_click", null));} +RDebugUtils.currentLine=15597568; + //BA.debugLineNum = 15597568;BA.debugLine="Private Sub b_tabulador_Click"; +RDebugUtils.currentLine=15597569; + //BA.debugLineNum = 15597569;BA.debugLine="If b_check.Visible = True Then"; +if (__ref._b_check /*anywheresoftware.b4a.objects.ButtonWrapper*/ .getVisible()==__c.True) { +RDebugUtils.currentLine=15597570; + //BA.debugLineNum = 15597570;BA.debugLine="MsgboxAsync(\"Favor de hacer el checklist.\",\"Aten"; +__c.MsgboxAsync(BA.ObjectToCharSequence("Favor de hacer el checklist."),BA.ObjectToCharSequence("Atención"),ba); + }else { +RDebugUtils.currentLine=15597572; + //BA.debugLineNum = 15597572;BA.debugLine="B4XPages.ShowPage(\"tabulador\")"; +_b4xpages._showpage /*String*/ (ba,"tabulador"); + }; +RDebugUtils.currentLine=15597574; + //BA.debugLineNum = 15597574;BA.debugLine="End Sub"; +return ""; +} +public String _b_terpc_click(reparto_izca.keymon.lat.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "b_terpc_click", false)) + {return ((String) Debug.delegate(ba, "b_terpc_click", null));} +String _sdate = ""; +String _stime = ""; +int _consecutivo = 0; +int _i = 0; +anywheresoftware.b4a.objects.B4XViewWrapper _itempanel = null; +anywheresoftware.b4a.objects.B4XViewWrapper _innerpanel = null; +anywheresoftware.b4a.objects.B4XViewWrapper _edittext = null; +String _inputtext = ""; +anywheresoftware.b4a.objects.B4XViewWrapper _labelcant = null; +String _cantidadrestar = ""; +anywheresoftware.b4a.objects.B4XViewWrapper _idlabel = null; +String _idtext = ""; +String[] _idparts = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _k = null; +String[] _fechatabulador = null; +String _fechatabulador3 = ""; +int _restado = 0; +anywheresoftware.b4a.sql.SQL.CursorWrapper _preciocat = null; +String _preciofull = ""; +anywheresoftware.b4a.sql.SQL.CursorWrapper _faltantes = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _restadoanterior = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _sobrantes = null; +RDebugUtils.currentLine=16646144; + //BA.debugLineNum = 16646144;BA.debugLine="Private Sub b_terpc_Click"; +RDebugUtils.currentLine=16646146; + //BA.debugLineNum = 16646146;BA.debugLine="Dim sDate, sTime As String"; +_sdate = ""; +_stime = ""; +RDebugUtils.currentLine=16646147; + //BA.debugLineNum = 16646147;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; +__c.DateTime.setDateFormat("dd/MM/yyyy"); +RDebugUtils.currentLine=16646148; + //BA.debugLineNum = 16646148;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; +__c.DateTime.setTimeFormat("HH:mm:ss"); +RDebugUtils.currentLine=16646149; + //BA.debugLineNum = 16646149;BA.debugLine="sDate = DateTime.Date(DateTime.Now)"; +_sdate = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=16646150; + //BA.debugLineNum = 16646150;BA.debugLine="sTime = DateTime.Time(DateTime.Now)"; +_stime = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=16646152; + //BA.debugLineNum = 16646152;BA.debugLine="Dim consecutivo As Int = 1000"; +_consecutivo = (int) (1000); +RDebugUtils.currentLine=16646153; + //BA.debugLineNum = 16646153;BA.debugLine="For i = 0 To CLV_PICK_CIEGO.Size - 1"; +{ +final int step7 = 1; +final int limit7 = (int) (__ref._clv_pick_ciego /*b4a.example3.customlistview*/ ._getsize()-1); +_i = (int) (0) ; +for (;_i <= limit7 ;_i = _i + step7 ) { +RDebugUtils.currentLine=16646155; + //BA.debugLineNum = 16646155;BA.debugLine="Dim itemPanel As B4XView = CLV_PICK_CIEGO.GetPan"; +_itempanel = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_itempanel = __ref._clv_pick_ciego /*b4a.example3.customlistview*/ ._getpanel(_i); +RDebugUtils.currentLine=16646156; + //BA.debugLineNum = 16646156;BA.debugLine="Dim innerPanel As B4XView = itemPanel.GetView(0)"; +_innerpanel = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_innerpanel = _itempanel.GetView((int) (0)); +RDebugUtils.currentLine=16646157; + //BA.debugLineNum = 16646157;BA.debugLine="Dim editText As B4XView = innerPanel.GetView(1)"; +_edittext = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_edittext = _innerpanel.GetView((int) (1)); +RDebugUtils.currentLine=16646158; + //BA.debugLineNum = 16646158;BA.debugLine="Dim inputText As String = editText.As(EditText)."; +_inputtext = ((anywheresoftware.b4a.objects.EditTextWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.EditTextWrapper(), (android.widget.EditText)(_edittext.getObject()))).getText(); +RDebugUtils.currentLine=16646159; + //BA.debugLineNum = 16646159;BA.debugLine="Dim labelcant As B4XView = innerPanel.GetView(2)"; +_labelcant = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_labelcant = _innerpanel.GetView((int) (2)); +RDebugUtils.currentLine=16646160; + //BA.debugLineNum = 16646160;BA.debugLine="Dim cantidadrestar As String = labelcant.As(Labe"; +_cantidadrestar = ((anywheresoftware.b4a.objects.LabelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.LabelWrapper(), (android.widget.TextView)(_labelcant.getObject()))).getText(); +RDebugUtils.currentLine=16646163; + //BA.debugLineNum = 16646163;BA.debugLine="If Regex.IsMatch(\"^[0]+$\", inputText) Or inputTe"; +if (__c.Regex.IsMatch("^[0]+$",_inputtext) || (_inputtext).equals("")) { +RDebugUtils.currentLine=16646164; + //BA.debugLineNum = 16646164;BA.debugLine="inputText = \"0\""; +_inputtext = "0"; + }; +RDebugUtils.currentLine=16646168; + //BA.debugLineNum = 16646168;BA.debugLine="Dim idLabel As B4XView = innerPanel.GetView(0)"; +_idlabel = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_idlabel = _innerpanel.GetView((int) (0)); +RDebugUtils.currentLine=16646169; + //BA.debugLineNum = 16646169;BA.debugLine="Dim idText As String = idLabel.As(Label).Text"; +_idtext = ((anywheresoftware.b4a.objects.LabelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.LabelWrapper(), (android.widget.TextView)(_idlabel.getObject()))).getText(); +RDebugUtils.currentLine=16646170; + //BA.debugLineNum = 16646170;BA.debugLine="Dim idParts() As String = Regex.Split(CRLF, idTe"; +_idparts = __c.Regex.Split(__c.CRLF,_idtext); +RDebugUtils.currentLine=16646172; + //BA.debugLineNum = 16646172;BA.debugLine="f=Starter.skmt.ExecQuery(\"select RUTAA from RUTA"; +__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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select RUTAA from RUTAA"))); +RDebugUtils.currentLine=16646173; + //BA.debugLineNum = 16646173;BA.debugLine="f.Position=0"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=16646175; + //BA.debugLineNum = 16646175;BA.debugLine="a=Starter.skmt.ExecQuery(\"select ID_ALMACEN from"; +__ref._a /*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=16646176; + //BA.debugLineNum = 16646176;BA.debugLine="If a.RowCount>0 Then"; +if (__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=16646177; + //BA.debugLineNum = 16646177;BA.debugLine="a.Position=0"; +__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); + }; +RDebugUtils.currentLine=16646179; + //BA.debugLineNum = 16646179;BA.debugLine="Dim k As Cursor = Starter.skmt.ExecQuery(\"SELECT"; +_k = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_k = (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 HVD_FECHA FROM HIST_VENTAS"))); +RDebugUtils.currentLine=16646180; + //BA.debugLineNum = 16646180;BA.debugLine="k.Position = 0"; +_k.setPosition((int) (0)); +RDebugUtils.currentLine=16646181; + //BA.debugLineNum = 16646181;BA.debugLine="Dim fechatabulador() As String = Regex.Split(\" \""; +_fechatabulador = __c.Regex.Split(" ",_k.GetString("HVD_FECHA")); +RDebugUtils.currentLine=16646183; + //BA.debugLineNum = 16646183;BA.debugLine="Dim fechatabulador3 As String = fechatabulador(0"; +_fechatabulador3 = _fechatabulador[(int) (0)]; +RDebugUtils.currentLine=16646184; + //BA.debugLineNum = 16646184;BA.debugLine="k.Close"; +_k.Close(); +RDebugUtils.currentLine=16646185; + //BA.debugLineNum = 16646185;BA.debugLine="If inputText <> \"\" And inputText <> 0 Then"; +if ((_inputtext).equals("") == false && (_inputtext).equals(BA.NumberToString(0)) == false) { +RDebugUtils.currentLine=16646186; + //BA.debugLineNum = 16646186;BA.debugLine="Log(\"IMPUT DIFERENTE DE CERO\")"; +__c.LogImpl("816646186","IMPUT DIFERENTE DE CERO",0); +RDebugUtils.currentLine=16646187; + //BA.debugLineNum = 16646187;BA.debugLine="Log(idParts(0))"; +__c.LogImpl("816646187",_idparts[(int) (0)],0); +RDebugUtils.currentLine=16646188; + //BA.debugLineNum = 16646188;BA.debugLine="Log(cantidadrestar)"; +__c.LogImpl("816646188",_cantidadrestar,0); +RDebugUtils.currentLine=16646189; + //BA.debugLineNum = 16646189;BA.debugLine="Log(inputText)"; +__c.LogImpl("816646189",_inputtext,0); +RDebugUtils.currentLine=16646190; + //BA.debugLineNum = 16646190;BA.debugLine="Dim restado As Int = cantidadrestar - inputText"; +_restado = (int) ((double)(Double.parseDouble(_cantidadrestar))-(double)(Double.parseDouble(_inputtext))); +RDebugUtils.currentLine=16646191; + //BA.debugLineNum = 16646191;BA.debugLine="Log(cantidadrestar - inputText)"; +__c.LogImpl("816646191",BA.NumberToString((double)(Double.parseDouble(_cantidadrestar))-(double)(Double.parseDouble(_inputtext))),0); +RDebugUtils.currentLine=16646192; + //BA.debugLineNum = 16646192;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM PICK"; +__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*/ .ExecQuery2("SELECT * FROM PICK_CIEGO where PC_ID_PROD = ?",new String[]{_idparts[(int) (0)]}))); +RDebugUtils.currentLine=16646194; + //BA.debugLineNum = 16646194;BA.debugLine="If c.RowCount = 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()==0) { +RDebugUtils.currentLine=16646199; + //BA.debugLineNum = 16646199;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PICK_C"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PICK_CIEGO(PC_ID_PROD, PC_NOM_PROD, PC_CANT, PC_ALMACEN, PC_RUTA, PC_FECHA, RESTA) VALUES(?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_idparts[(int) (0)],_idparts[(int) (1)],_inputtext,__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("ID_ALMACEN"),__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("RUTAA"),_fechatabulador3+" "+_stime,BA.NumberToString(_restado)})); +RDebugUtils.currentLine=16646200; + //BA.debugLineNum = 16646200;BA.debugLine="If restado > 0 And inputText <> 0 Then"; +if (_restado>0 && (_inputtext).equals(BA.NumberToString(0)) == false) { +RDebugUtils.currentLine=16646202; + //BA.debugLineNum = 16646202;BA.debugLine="Dim preciocat As Cursor = Starter.skmt.ExecQu"; +_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 IFNULL(CAT_GP_PRECIO,0) AS CAT_GP_PRECIO from CAT_GUNAPROD WHERE CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_idparts[(int) (0)]))+"'")))); +RDebugUtils.currentLine=16646203; + //BA.debugLineNum = 16646203;BA.debugLine="If preciocat.RowCount > 0 Then"; +if (_preciocat.getRowCount()>0) { +RDebugUtils.currentLine=16646204; + //BA.debugLineNum = 16646204;BA.debugLine="preciocat.Position = 0"; +_preciocat.setPosition((int) (0)); +RDebugUtils.currentLine=16646205; + //BA.debugLineNum = 16646205;BA.debugLine="Dim preciofull As String = preciocat.GetStri"; +_preciofull = _preciocat.GetString("CAT_GP_PRECIO"); + }; +RDebugUtils.currentLine=16646207; + //BA.debugLineNum = 16646207;BA.debugLine="preciocat.Close"; +_preciocat.Close(); +RDebugUtils.currentLine=16646208; + //BA.debugLineNum = 16646208;BA.debugLine="Log(\"MAYOR A CERO\")"; +__c.LogImpl("816646208","MAYOR A CERO",0); +RDebugUtils.currentLine=16646209; + //BA.debugLineNum = 16646209;BA.debugLine="consecutivo = consecutivo + 1"; +_consecutivo = (int) (_consecutivo+1); +RDebugUtils.currentLine=16646210; + //BA.debugLineNum = 16646210;BA.debugLine="Dim faltantes As Cursor = Starter.skmt.ExecQu"; +_faltantes = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_faltantes = (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 PEDIDO WHERE PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_idparts[(int) (0)]))+"' AND PE_TIPO = 'FALTANTE'")))); +RDebugUtils.currentLine=16646211; + //BA.debugLineNum = 16646211;BA.debugLine="If faltantes.RowCount > 0 Then"; +if (_faltantes.getRowCount()>0) { +RDebugUtils.currentLine=16646212; + //BA.debugLineNum = 16646212;BA.debugLine="faltantes.Position = 0"; +_faltantes.setPosition((int) (0)); +RDebugUtils.currentLine=16646213; + //BA.debugLineNum = 16646213;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO se"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update PEDIDO set PE_CANT = '"+__c.SmartStringFormatter("",(Object)(_restado))+"', PE_COSTO_TOT= '"+__c.SmartStringFormatter("",(Object)(_restado))+"'*'"+__c.SmartStringFormatter("",(Object)(_preciofull))+"', PE_TIPO = 'FALTANTE' WHERE PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_idparts[(int) (0)]))+"' and PE_CLIENTE = '63403' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_faltantes.GetString("CONSECUTIVO")))+"'")); + }else { +RDebugUtils.currentLine=16646215; + //BA.debugLineNum = 16646215;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PEDI"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO(PE_PROID,PE_PRONOMBRE,PE_CANT,PE_CLIENTEOR,PE_CLIENTE,PE_COSTOU,PE_COSTO_TOT,PE_CAJAS,PE_BCAJAS,CONSECUTIVO,PE_RUTA, PE_TIPO,PE_CEDIS,PE_FECHA,PE_USUARIO,FECHA_PREV,RUTA_REP,PE_REGALO) VALUES (?,?,?,?,?,?,?,0,0,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_idparts[(int) (0)],_idparts[(int) (1)],BA.NumberToString(_restado),"",_subs._traecliente /*String*/ (ba),_preciofull,BA.NumberToString(((double)(Double.parseDouble(_preciofull))*_restado)),BA.NumberToString(_consecutivo),BA.NumberToString(1000),"FALTANTE",_subs._traealmacen /*String*/ (ba),_sdate+" "+_stime,_subs._traeusuario /*String*/ (ba),_subs._traefechaprev /*String*/ (ba),_subs._traerutareparto /*String*/ (ba),BA.NumberToString(0)})); + }; + }else +{RDebugUtils.currentLine=16646217; + //BA.debugLineNum = 16646217;BA.debugLine="Else If restado < 0 And inputText <> 0 Then"; +if (_restado<0 && (_inputtext).equals(BA.NumberToString(0)) == false) { +RDebugUtils.currentLine=16646219; + //BA.debugLineNum = 16646219;BA.debugLine="Dim preciocat As Cursor = Starter.skmt.ExecQu"; +_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 IFNULL(CAT_GP_PRECIO,0) AS CAT_GP_PRECIO from CAT_GUNAPROD WHERE CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_idparts[(int) (0)]))+"'")))); +RDebugUtils.currentLine=16646220; + //BA.debugLineNum = 16646220;BA.debugLine="If preciocat.RowCount > 0 Then"; +if (_preciocat.getRowCount()>0) { +RDebugUtils.currentLine=16646221; + //BA.debugLineNum = 16646221;BA.debugLine="preciocat.Position = 0"; +_preciocat.setPosition((int) (0)); +RDebugUtils.currentLine=16646222; + //BA.debugLineNum = 16646222;BA.debugLine="Dim preciofull As String = preciocat.GetStri"; +_preciofull = _preciocat.GetString("CAT_GP_PRECIO"); + }; +RDebugUtils.currentLine=16646224; + //BA.debugLineNum = 16646224;BA.debugLine="preciocat.Close"; +_preciocat.Close(); +RDebugUtils.currentLine=16646225; + //BA.debugLineNum = 16646225;BA.debugLine="Log(\"MENOR A CERO\")"; +__c.LogImpl("816646225","MENOR A CERO",0); +RDebugUtils.currentLine=16646226; + //BA.debugLineNum = 16646226;BA.debugLine="consecutivo = consecutivo + 1"; +_consecutivo = (int) (_consecutivo+1); +RDebugUtils.currentLine=16646227; + //BA.debugLineNum = 16646227;BA.debugLine="Dim faltantes As Cursor = Starter.skmt.ExecQu"; +_faltantes = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_faltantes = (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 PEDIDO WHERE PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_idparts[(int) (0)]))+"' AND PE_TIPO = 'FALTANTE'")))); +RDebugUtils.currentLine=16646228; + //BA.debugLineNum = 16646228;BA.debugLine="If faltantes.RowCount > 0 Then"; +if (_faltantes.getRowCount()>0) { +RDebugUtils.currentLine=16646229; + //BA.debugLineNum = 16646229;BA.debugLine="faltantes.Position = 0"; +_faltantes.setPosition((int) (0)); +RDebugUtils.currentLine=16646230; + //BA.debugLineNum = 16646230;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO se"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update PEDIDO set PE_CANT = '"+__c.SmartStringFormatter("",(Object)((-1*_restado)))+"', PE_COSTO_TOT= "+__c.SmartStringFormatter("",(Object)((-1*_restado)))+"*"+__c.SmartStringFormatter("",(Object)(_preciofull))+", PE_TIPO = 'SOBRANTE' WHERE PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_idparts[(int) (0)]))+"' and PE_CLIENTE = '63403' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_faltantes.GetString("CONSECUTIVO")))+"'")); + }else { +RDebugUtils.currentLine=16646232; + //BA.debugLineNum = 16646232;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PEDI"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO(PE_PROID,PE_PRONOMBRE,PE_CANT,PE_CLIENTEOR,PE_CLIENTE,PE_COSTOU,PE_COSTO_TOT,PE_CAJAS,PE_BCAJAS,CONSECUTIVO,PE_RUTA, PE_TIPO,PE_CEDIS,PE_FECHA,PE_USUARIO,FECHA_PREV,RUTA_REP,PE_REGALO) VALUES (?,?,?,?,?,?,?,0,0,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_idparts[(int) (0)],_idparts[(int) (1)],BA.NumberToString((-1*_restado)),"",_subs._traecliente /*String*/ (ba),_preciofull,BA.NumberToString((-1*((double)(Double.parseDouble(_preciofull))*_restado))),BA.NumberToString(_consecutivo),BA.NumberToString(1000),"SOBRANTE",_subs._traealmacen /*String*/ (ba),_sdate+" "+_stime,_subs._traeusuario /*String*/ (ba),_subs._traefechaprev /*String*/ (ba),_subs._traerutareparto /*String*/ (ba),BA.NumberToString(0)})); + }; + }} +; + }else { +RDebugUtils.currentLine=16646238; + //BA.debugLineNum = 16646238;BA.debugLine="Dim restadoanterior As Cursor = Starter.skmt.E"; +_restadoanterior = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_restadoanterior = (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 RESTA from PICK_CIEGO WHERE PC_ID_PROD = '"+__c.SmartStringFormatter("",(Object)(_idparts[(int) (0)]))+"'")))); +RDebugUtils.currentLine=16646239; + //BA.debugLineNum = 16646239;BA.debugLine="restadoanterior.Position = 0"; +_restadoanterior.setPosition((int) (0)); +RDebugUtils.currentLine=16646242; + //BA.debugLineNum = 16646242;BA.debugLine="If restadoanterior.GetInt(\"RESTA\") > 0 And res"; +if (_restadoanterior.GetInt("RESTA")>0 && _restadoanterior.GetInt("RESTA")!=_restado) { +RDebugUtils.currentLine=16646245; + //BA.debugLineNum = 16646245;BA.debugLine="Dim faltantes As Cursor = Starter.skmt.ExecQu"; +_faltantes = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_faltantes = (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 PEDIDO WHERE PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_idparts[(int) (0)]))+"' AND PE_TIPO = 'FALTANTE'")))); +RDebugUtils.currentLine=16646247; + //BA.debugLineNum = 16646247;BA.debugLine="If faltantes.RowCount > 0 Then"; +if (_faltantes.getRowCount()>0) { +RDebugUtils.currentLine=16646248; + //BA.debugLineNum = 16646248;BA.debugLine="faltantes.Position = 0"; +_faltantes.setPosition((int) (0)); +RDebugUtils.currentLine=16646249; + //BA.debugLineNum = 16646249;BA.debugLine="Dim preciocat As Cursor = Starter.skmt.ExecQ"; +_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 IFNULL(CAT_GP_PRECIO,0) AS CAT_GP_PRECIO from CAT_GUNAPROD WHERE CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_idparts[(int) (0)]))+"'")))); +RDebugUtils.currentLine=16646250; + //BA.debugLineNum = 16646250;BA.debugLine="If preciocat.RowCount > 0 Then"; +if (_preciocat.getRowCount()>0) { +RDebugUtils.currentLine=16646251; + //BA.debugLineNum = 16646251;BA.debugLine="preciocat.Position = 0"; +_preciocat.setPosition((int) (0)); +RDebugUtils.currentLine=16646252; + //BA.debugLineNum = 16646252;BA.debugLine="Dim preciofull As String = preciocat.GetStr"; +_preciofull = _preciocat.GetString("CAT_GP_PRECIO"); + }; +RDebugUtils.currentLine=16646254; + //BA.debugLineNum = 16646254;BA.debugLine="preciocat.Close"; +_preciocat.Close(); +RDebugUtils.currentLine=16646256; + //BA.debugLineNum = 16646256;BA.debugLine="Log(\"MAYOR A CERO UPDATE\")"; +__c.LogImpl("816646256","MAYOR A CERO UPDATE",0); +RDebugUtils.currentLine=16646257; + //BA.debugLineNum = 16646257;BA.debugLine="Starter.skmt.ExecNonQuery2(\"Update PICK_CIEG"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("Update PICK_CIEGO set PC_CANT = ?, RESTA = ? WHERE PC_ID_PROD = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_inputtext,BA.NumberToString(_restado),_idparts[(int) (0)]})); +RDebugUtils.currentLine=16646258; + //BA.debugLineNum = 16646258;BA.debugLine="If restado > 0 Then"; +if (_restado>0) { +RDebugUtils.currentLine=16646259; + //BA.debugLineNum = 16646259;BA.debugLine="Log(\"AQUI ES FALTANTE\")"; +__c.LogImpl("816646259","AQUI ES FALTANTE",0); +RDebugUtils.currentLine=16646261; + //BA.debugLineNum = 16646261;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO s"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update PEDIDO set PE_CANT = '"+__c.SmartStringFormatter("",(Object)(_restado))+"', PE_COSTO_TOT= '"+__c.SmartStringFormatter("",(Object)(_restado))+"'*'"+__c.SmartStringFormatter("",(Object)(_preciofull))+"', PE_TIPO = 'FALTANTE' WHERE PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_idparts[(int) (0)]))+"' and PE_CLIENTE = '63403' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_faltantes.GetString("CONSECUTIVO")))+"'")); + }else +{RDebugUtils.currentLine=16646262; + //BA.debugLineNum = 16646262;BA.debugLine="Else If restado < 0 Then"; +if (_restado<0) { +RDebugUtils.currentLine=16646263; + //BA.debugLineNum = 16646263;BA.debugLine="Log(\"AQUI ES SOBRANTE\")"; +__c.LogImpl("816646263","AQUI ES SOBRANTE",0); +RDebugUtils.currentLine=16646265; + //BA.debugLineNum = 16646265;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO s"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update PEDIDO set PE_CANT = '"+__c.SmartStringFormatter("",(Object)((-1*_restado)))+"', PE_COSTO_TOT= "+__c.SmartStringFormatter("",(Object)((-1*_restado)))+"*"+__c.SmartStringFormatter("",(Object)(_preciofull))+", PE_TIPO = 'SOBRANTE' WHERE PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_idparts[(int) (0)]))+"' and PE_CLIENTE = '63403' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_faltantes.GetString("CONSECUTIVO")))+"'")); + }else +{RDebugUtils.currentLine=16646266; + //BA.debugLineNum = 16646266;BA.debugLine="Else If restado = 0 Then"; +if (_restado==0) { +RDebugUtils.currentLine=16646267; + //BA.debugLineNum = 16646267;BA.debugLine="Log(\"AQUI ES SOBRANTE\")"; +__c.LogImpl("816646267","AQUI ES SOBRANTE",0); +RDebugUtils.currentLine=16646268; + //BA.debugLineNum = 16646268;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from PED"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from PEDIDO where PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_idparts[(int) (0)]))+"' and PE_CLIENTE = '63403' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_faltantes.GetString("CONSECUTIVO")))+"'")); + }}} +; + }; + }else +{RDebugUtils.currentLine=16646273; + //BA.debugLineNum = 16646273;BA.debugLine="Else If restadoanterior.GetInt(\"RESTA\") < 0 An"; +if (_restadoanterior.GetInt("RESTA")<0 && _restadoanterior.GetInt("RESTA")!=_restado) { +RDebugUtils.currentLine=16646274; + //BA.debugLineNum = 16646274;BA.debugLine="Log(\"es sobrante\")"; +__c.LogImpl("816646274","es sobrante",0); +RDebugUtils.currentLine=16646275; + //BA.debugLineNum = 16646275;BA.debugLine="Dim sobrantes As Cursor = Starter.skmt.ExecQu"; +_sobrantes = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_sobrantes = (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 PEDIDO WHERE PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_idparts[(int) (0)]))+"' AND PE_TIPO = 'SOBRANTE'")))); +RDebugUtils.currentLine=16646276; + //BA.debugLineNum = 16646276;BA.debugLine="If sobrantes.RowCount > 0 Then"; +if (_sobrantes.getRowCount()>0) { +RDebugUtils.currentLine=16646277; + //BA.debugLineNum = 16646277;BA.debugLine="sobrantes.Position = 0"; +_sobrantes.setPosition((int) (0)); +RDebugUtils.currentLine=16646279; + //BA.debugLineNum = 16646279;BA.debugLine="Dim preciocat As Cursor = Starter.skmt.ExecQ"; +_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 IFNULL(CAT_GP_PRECIO,0) AS CAT_GP_PRECIO from CAT_GUNAPROD WHERE CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_idparts[(int) (0)]))+"'")))); +RDebugUtils.currentLine=16646280; + //BA.debugLineNum = 16646280;BA.debugLine="If preciocat.RowCount > 0 Then"; +if (_preciocat.getRowCount()>0) { +RDebugUtils.currentLine=16646281; + //BA.debugLineNum = 16646281;BA.debugLine="preciocat.Position = 0"; +_preciocat.setPosition((int) (0)); +RDebugUtils.currentLine=16646282; + //BA.debugLineNum = 16646282;BA.debugLine="Dim preciofull As String = preciocat.GetStr"; +_preciofull = _preciocat.GetString("CAT_GP_PRECIO"); + }; +RDebugUtils.currentLine=16646284; + //BA.debugLineNum = 16646284;BA.debugLine="preciocat.Close"; +_preciocat.Close(); +RDebugUtils.currentLine=16646286; + //BA.debugLineNum = 16646286;BA.debugLine="Log(\"MENOR A CERO UPDATE\")"; +__c.LogImpl("816646286","MENOR A CERO UPDATE",0); +RDebugUtils.currentLine=16646287; + //BA.debugLineNum = 16646287;BA.debugLine="Starter.skmt.ExecNonQuery2(\"Update PICK_CIEG"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("Update PICK_CIEGO set PC_CANT = ?, RESTA = ? WHERE PC_ID_PROD = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_inputtext,BA.NumberToString(_restado),_idparts[(int) (0)]})); +RDebugUtils.currentLine=16646288; + //BA.debugLineNum = 16646288;BA.debugLine="If restado > 0 Then"; +if (_restado>0) { +RDebugUtils.currentLine=16646291; + //BA.debugLineNum = 16646291;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO s"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update PEDIDO set PE_CANT = '"+__c.SmartStringFormatter("",(Object)(_restado))+"', PE_COSTO_TOT= '"+__c.SmartStringFormatter("",(Object)(_restado))+"'*'"+__c.SmartStringFormatter("",(Object)(_preciofull))+"', PE_TIPO = 'FALTANTE' WHERE PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_idparts[(int) (0)]))+"' and PE_CLIENTE = '63403' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_sobrantes.GetString("CONSECUTIVO")))+"'")); + }else +{RDebugUtils.currentLine=16646292; + //BA.debugLineNum = 16646292;BA.debugLine="Else If restado < 0 Then"; +if (_restado<0) { +RDebugUtils.currentLine=16646295; + //BA.debugLineNum = 16646295;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO s"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update PEDIDO set PE_CANT = '"+__c.SmartStringFormatter("",(Object)(-1*_restado))+"', PE_COSTO_TOT= '"+__c.SmartStringFormatter("",(Object)(-1*_restado))+"'*'"+__c.SmartStringFormatter("",(Object)(_preciofull))+"', PE_TIPO = 'SOBRANTE' WHERE PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_idparts[(int) (0)]))+"' and PE_CLIENTE = '63403' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_sobrantes.GetString("CONSECUTIVO")))+"'")); + }else +{RDebugUtils.currentLine=16646296; + //BA.debugLineNum = 16646296;BA.debugLine="Else If restado = 0 Then"; +if (_restado==0) { +RDebugUtils.currentLine=16646297; + //BA.debugLineNum = 16646297;BA.debugLine="Log(\"a eliminar\")"; +__c.LogImpl("816646297","a eliminar",0); +RDebugUtils.currentLine=16646298; + //BA.debugLineNum = 16646298;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from PED"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from PEDIDO where PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_idparts[(int) (0)]))+"' and PE_CLIENTE = '63403' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_sobrantes.GetString("CONSECUTIVO")))+"'")); + }}} +; + }; + }else +{RDebugUtils.currentLine=16646302; + //BA.debugLineNum = 16646302;BA.debugLine="Else If restadoanterior.GetInt(\"RESTA\") = 0 An"; +if (_restadoanterior.GetInt("RESTA")==0 && _restadoanterior.GetInt("RESTA")!=_restado) { +RDebugUtils.currentLine=16646303; + //BA.debugLineNum = 16646303;BA.debugLine="Starter.skmt.ExecNonQuery2(\"Update PICK_CIEGO"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("Update PICK_CIEGO set PC_CANT = ?, RESTA = ? WHERE PC_ID_PROD = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_inputtext,BA.NumberToString(_restado),_idparts[(int) (0)]})); +RDebugUtils.currentLine=16646304; + //BA.debugLineNum = 16646304;BA.debugLine="If restado > 0 And inputText <> 0 Then"; +if (_restado>0 && (_inputtext).equals(BA.NumberToString(0)) == false) { +RDebugUtils.currentLine=16646306; + //BA.debugLineNum = 16646306;BA.debugLine="Dim preciocat As Cursor = Starter.skmt.ExecQ"; +_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 IFNULL(CAT_GP_PRECIO,0) AS CAT_GP_PRECIO from CAT_GUNAPROD WHERE CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_idparts[(int) (0)]))+"'")))); +RDebugUtils.currentLine=16646307; + //BA.debugLineNum = 16646307;BA.debugLine="If preciocat.RowCount > 0 Then"; +if (_preciocat.getRowCount()>0) { +RDebugUtils.currentLine=16646308; + //BA.debugLineNum = 16646308;BA.debugLine="preciocat.Position = 0"; +_preciocat.setPosition((int) (0)); +RDebugUtils.currentLine=16646309; + //BA.debugLineNum = 16646309;BA.debugLine="Dim preciofull As String = preciocat.GetStr"; +_preciofull = _preciocat.GetString("CAT_GP_PRECIO"); + }; +RDebugUtils.currentLine=16646311; + //BA.debugLineNum = 16646311;BA.debugLine="preciocat.Close"; +_preciocat.Close(); +RDebugUtils.currentLine=16646312; + //BA.debugLineNum = 16646312;BA.debugLine="Log(\"MAYOR A CERO\")"; +__c.LogImpl("816646312","MAYOR A CERO",0); +RDebugUtils.currentLine=16646313; + //BA.debugLineNum = 16646313;BA.debugLine="consecutivo = consecutivo + 1"; +_consecutivo = (int) (_consecutivo+1); +RDebugUtils.currentLine=16646314; + //BA.debugLineNum = 16646314;BA.debugLine="Dim faltantes As Cursor = Starter.skmt.ExecQ"; +_faltantes = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_faltantes = (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 PEDIDO WHERE PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_idparts[(int) (0)]))+"' AND PE_TIPO = 'FALTANTE'")))); +RDebugUtils.currentLine=16646315; + //BA.debugLineNum = 16646315;BA.debugLine="If faltantes.RowCount > 0 Then"; +if (_faltantes.getRowCount()>0) { +RDebugUtils.currentLine=16646316; + //BA.debugLineNum = 16646316;BA.debugLine="faltantes.Position = 0"; +_faltantes.setPosition((int) (0)); +RDebugUtils.currentLine=16646317; + //BA.debugLineNum = 16646317;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO s"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update PEDIDO set PE_CANT = '"+__c.SmartStringFormatter("",(Object)(_restado))+"', PE_COSTO_TOT= '"+__c.SmartStringFormatter("",(Object)(_restado))+"'*'"+__c.SmartStringFormatter("",(Object)(_preciofull))+"', PE_TIPO = 'FALTANTE' WHERE PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_idparts[(int) (0)]))+"' and PE_CLIENTE = '63403' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_faltantes.GetString("CONSECUTIVO")))+"'")); + }else { +RDebugUtils.currentLine=16646319; + //BA.debugLineNum = 16646319;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PED"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO(PE_PROID,PE_PRONOMBRE,PE_CANT,PE_CLIENTEOR,PE_CLIENTE,PE_COSTOU,PE_COSTO_TOT,PE_CAJAS,PE_BCAJAS,CONSECUTIVO,PE_RUTA, PE_TIPO,PE_CEDIS,PE_FECHA,PE_USUARIO,FECHA_PREV,RUTA_REP,PE_REGALO) VALUES (?,?,?,?,?,?,?,0,0,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_idparts[(int) (0)],_idparts[(int) (1)],BA.NumberToString(_restado),"",_subs._traecliente /*String*/ (ba),_preciofull,BA.NumberToString(((double)(Double.parseDouble(_preciofull))*_restado)),BA.NumberToString(_consecutivo),BA.NumberToString(1000),"FALTANTE",_subs._traealmacen /*String*/ (ba),_sdate+" "+_stime,_subs._traeusuario /*String*/ (ba),_subs._traefechaprev /*String*/ (ba),_subs._traerutareparto /*String*/ (ba),BA.NumberToString(0)})); + }; + }else +{RDebugUtils.currentLine=16646321; + //BA.debugLineNum = 16646321;BA.debugLine="Else If restado < 0 And inputText <> 0 Then"; +if (_restado<0 && (_inputtext).equals(BA.NumberToString(0)) == false) { +RDebugUtils.currentLine=16646323; + //BA.debugLineNum = 16646323;BA.debugLine="Dim preciocat As Cursor = Starter.skmt.ExecQ"; +_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 IFNULL(CAT_GP_PRECIO,0) AS CAT_GP_PRECIO from CAT_GUNAPROD WHERE CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_idparts[(int) (0)]))+"'")))); +RDebugUtils.currentLine=16646324; + //BA.debugLineNum = 16646324;BA.debugLine="If preciocat.RowCount > 0 Then"; +if (_preciocat.getRowCount()>0) { +RDebugUtils.currentLine=16646325; + //BA.debugLineNum = 16646325;BA.debugLine="preciocat.Position = 0"; +_preciocat.setPosition((int) (0)); +RDebugUtils.currentLine=16646326; + //BA.debugLineNum = 16646326;BA.debugLine="Dim preciofull As String = preciocat.GetStr"; +_preciofull = _preciocat.GetString("CAT_GP_PRECIO"); + }; +RDebugUtils.currentLine=16646328; + //BA.debugLineNum = 16646328;BA.debugLine="preciocat.Close"; +_preciocat.Close(); +RDebugUtils.currentLine=16646329; + //BA.debugLineNum = 16646329;BA.debugLine="Log(\"MENOR A CERO\")"; +__c.LogImpl("816646329","MENOR A CERO",0); +RDebugUtils.currentLine=16646330; + //BA.debugLineNum = 16646330;BA.debugLine="consecutivo = consecutivo + 1"; +_consecutivo = (int) (_consecutivo+1); +RDebugUtils.currentLine=16646331; + //BA.debugLineNum = 16646331;BA.debugLine="Dim faltantes As Cursor = Starter.skmt.ExecQ"; +_faltantes = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_faltantes = (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 PEDIDO WHERE PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_idparts[(int) (0)]))+"' AND PE_TIPO = 'FALTANTE'")))); +RDebugUtils.currentLine=16646332; + //BA.debugLineNum = 16646332;BA.debugLine="If faltantes.RowCount > 0 Then"; +if (_faltantes.getRowCount()>0) { +RDebugUtils.currentLine=16646333; + //BA.debugLineNum = 16646333;BA.debugLine="faltantes.Position = 0"; +_faltantes.setPosition((int) (0)); +RDebugUtils.currentLine=16646334; + //BA.debugLineNum = 16646334;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO s"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update PEDIDO set PE_CANT = '"+__c.SmartStringFormatter("",(Object)((-1*_restado)))+"', PE_COSTO_TOT= "+__c.SmartStringFormatter("",(Object)((-1*_restado)))+"*"+__c.SmartStringFormatter("",(Object)(_preciofull))+", PE_TIPO = 'SOBRANTE' WHERE PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_idparts[(int) (0)]))+"' and PE_CLIENTE = '63403' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_faltantes.GetString("CONSECUTIVO")))+"'")); + }else { +RDebugUtils.currentLine=16646336; + //BA.debugLineNum = 16646336;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PED"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO(PE_PROID,PE_PRONOMBRE,PE_CANT,PE_CLIENTEOR,PE_CLIENTE,PE_COSTOU,PE_COSTO_TOT,PE_CAJAS,PE_BCAJAS,CONSECUTIVO,PE_RUTA, PE_TIPO,PE_CEDIS,PE_FECHA,PE_USUARIO,FECHA_PREV,RUTA_REP,PE_REGALO) VALUES (?,?,?,?,?,?,?,0,0,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_idparts[(int) (0)],_idparts[(int) (1)],BA.NumberToString((-1*_restado)),"",_subs._traecliente /*String*/ (ba),_preciofull,BA.NumberToString((-1*((double)(Double.parseDouble(_preciofull))*_restado))),BA.NumberToString(_consecutivo),BA.NumberToString(1000),"SOBRANTE",_subs._traealmacen /*String*/ (ba),_sdate+" "+_stime,_subs._traeusuario /*String*/ (ba),_subs._traefechaprev /*String*/ (ba),_subs._traerutareparto /*String*/ (ba),BA.NumberToString(0)})); + }; + }} +; + }else +{RDebugUtils.currentLine=16646339; + //BA.debugLineNum = 16646339;BA.debugLine="Else If restadoanterior.GetInt(\"RESTA\") = 0 An"; +if (_restadoanterior.GetInt("RESTA")==0 && _restado==0) { +RDebugUtils.currentLine=16646340; + //BA.debugLineNum = 16646340;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from PEDID"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from PEDIDO where PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_idparts[(int) (0)]))+"' and PE_CLIENTE = '63403' AND PE_TIPO NOT IN ('DANADO') ")); + }}}} +; + }; + }else +{RDebugUtils.currentLine=16646343; + //BA.debugLineNum = 16646343;BA.debugLine="Else If inputText = \"\" Or inputText = 0 Then"; +if ((_inputtext).equals("") || (_inputtext).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=16646344; + //BA.debugLineNum = 16646344;BA.debugLine="Log(\"IMPUT IGUAL DE CERO\")"; +__c.LogImpl("816646344","IMPUT IGUAL DE CERO",0); +RDebugUtils.currentLine=16646345; + //BA.debugLineNum = 16646345;BA.debugLine="Log(idParts(0))"; +__c.LogImpl("816646345",_idparts[(int) (0)],0); +RDebugUtils.currentLine=16646346; + //BA.debugLineNum = 16646346;BA.debugLine="Log(cantidadrestar)"; +__c.LogImpl("816646346",_cantidadrestar,0); +RDebugUtils.currentLine=16646347; + //BA.debugLineNum = 16646347;BA.debugLine="Log(inputText)"; +__c.LogImpl("816646347",_inputtext,0); +RDebugUtils.currentLine=16646348; + //BA.debugLineNum = 16646348;BA.debugLine="Dim restado As Int = cantidadrestar - inputText"; +_restado = (int) ((double)(Double.parseDouble(_cantidadrestar))-(double)(Double.parseDouble(_inputtext))); +RDebugUtils.currentLine=16646349; + //BA.debugLineNum = 16646349;BA.debugLine="Log(cantidadrestar - inputText)"; +__c.LogImpl("816646349",BA.NumberToString((double)(Double.parseDouble(_cantidadrestar))-(double)(Double.parseDouble(_inputtext))),0); +RDebugUtils.currentLine=16646350; + //BA.debugLineNum = 16646350;BA.debugLine="Dim faltantes As Cursor = Starter.skmt.ExecQuer"; +_faltantes = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_faltantes = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM PICK_CIEGO where PC_ID_PROD = ?",new String[]{_idparts[(int) (0)]}))); +RDebugUtils.currentLine=16646351; + //BA.debugLineNum = 16646351;BA.debugLine="If faltantes.RowCount > 0 Then"; +if (_faltantes.getRowCount()>0) { +RDebugUtils.currentLine=16646352; + //BA.debugLineNum = 16646352;BA.debugLine="faltantes.Position = 0"; +_faltantes.setPosition((int) (0)); +RDebugUtils.currentLine=16646353; + //BA.debugLineNum = 16646353;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from PICK_C"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from PICK_CIEGO where PC_ID_PROD = '"+__c.SmartStringFormatter("",(Object)(_idparts[(int) (0)]))+"'")); + }; +RDebugUtils.currentLine=16646356; + //BA.debugLineNum = 16646356;BA.debugLine="Dim sobrantes As Cursor = Starter.skmt.ExecQuer"; +_sobrantes = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_sobrantes = (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 PEDIDO WHERE PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_idparts[(int) (0)]))+"' and PE_CLIENTE = '63403'")))); +RDebugUtils.currentLine=16646357; + //BA.debugLineNum = 16646357;BA.debugLine="If sobrantes.RowCount > 0 Then"; +if (_sobrantes.getRowCount()>0) { +RDebugUtils.currentLine=16646358; + //BA.debugLineNum = 16646358;BA.debugLine="sobrantes.Position = 0"; +_sobrantes.setPosition((int) (0)); +RDebugUtils.currentLine=16646359; + //BA.debugLineNum = 16646359;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from PEDIDO"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from PEDIDO where PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_idparts[(int) (0)]))+"' and PE_CLIENTE = '63403' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_sobrantes.GetString("CONSECUTIVO")))+"'")); + }; +RDebugUtils.currentLine=16646362; + //BA.debugLineNum = 16646362;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 IFNULL(CAT_GP_PRECIO,0) AS CAT_GP_PRECIO from CAT_GUNAPROD WHERE CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_idparts[(int) (0)]))+"'")))); +RDebugUtils.currentLine=16646363; + //BA.debugLineNum = 16646363;BA.debugLine="If preciocat.RowCount > 0 Then"; +if (_preciocat.getRowCount()>0) { +RDebugUtils.currentLine=16646364; + //BA.debugLineNum = 16646364;BA.debugLine="preciocat.Position = 0"; +_preciocat.setPosition((int) (0)); +RDebugUtils.currentLine=16646365; + //BA.debugLineNum = 16646365;BA.debugLine="Dim preciofull As String = preciocat.GetString"; +_preciofull = _preciocat.GetString("CAT_GP_PRECIO"); + }; +RDebugUtils.currentLine=16646367; + //BA.debugLineNum = 16646367;BA.debugLine="preciocat.Close"; +_preciocat.Close(); +RDebugUtils.currentLine=16646368; + //BA.debugLineNum = 16646368;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PEDIDO("; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO(PE_PROID,PE_PRONOMBRE,PE_CANT,PE_CLIENTEOR,PE_CLIENTE,PE_COSTOU,PE_COSTO_TOT,PE_CAJAS,PE_BCAJAS,CONSECUTIVO,PE_RUTA, PE_TIPO,PE_CEDIS,PE_FECHA,PE_USUARIO,FECHA_PREV,RUTA_REP,PE_REGALO) VALUES (?,?,?,?,?,?,?,0,0,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_idparts[(int) (0)],_idparts[(int) (1)],BA.NumberToString(_restado),"",_subs._traecliente /*String*/ (ba),_preciofull,BA.NumberToString(((double)(Double.parseDouble(_preciofull))*_restado)),BA.NumberToString(_consecutivo),BA.NumberToString(1000),"FALTANTE",_subs._traealmacen /*String*/ (ba),_sdate+" "+_stime,_subs._traeusuario /*String*/ (ba),_subs._traefechaprev /*String*/ (ba),_subs._traerutareparto /*String*/ (ba),BA.NumberToString(0)})); + }} +; +RDebugUtils.currentLine=16646371; + //BA.debugLineNum = 16646371;BA.debugLine="f.Close"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=16646372; + //BA.debugLineNum = 16646372;BA.debugLine="a.Close"; +__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=16646373; + //BA.debugLineNum = 16646373;BA.debugLine="Log(\"Processed item \" & i)"; +__c.LogImpl("816646373","Processed item "+BA.NumberToString(_i),0); + } +}; +RDebugUtils.currentLine=16646376; + //BA.debugLineNum = 16646376;BA.debugLine="P_CIEGO.Visible = False"; +__ref._p_ciego /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=16646377; + //BA.debugLineNum = 16646377;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +_b4xpages._showpage /*String*/ (ba,"Cliente"); +RDebugUtils.currentLine=16646378; + //BA.debugLineNum = 16646378;BA.debugLine="End Sub"; +return ""; +} +public String _b_venta_emp_click(reparto_izca.keymon.lat.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "b_venta_emp_click", false)) + {return ((String) Debug.delegate(ba, "b_venta_emp_click", null));} +int _i = 0; +anywheresoftware.b4a.sql.SQL.CursorWrapper _c3 = null; +String _resta = ""; +RDebugUtils.currentLine=15990784; + //BA.debugLineNum = 15990784;BA.debugLine="Private Sub b_venta_emp_Click"; +RDebugUtils.currentLine=15990785; + //BA.debugLineNum = 15990785;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CUENTAA\")"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CUENTAA"); +RDebugUtils.currentLine=15990786; + //BA.debugLineNum = 15990786;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CUENTAA V"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CUENTAA VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("63403")})); +RDebugUtils.currentLine=15990788; + //BA.debugLineNum = 15990788;BA.debugLine="Subs.panelVisible(P_CIEGO,0,0)"; +_subs._panelvisible /*String*/ (ba,__ref._p_ciego /*anywheresoftware.b4a.objects.PanelWrapper*/ ,(int) (0),(int) (0)); +RDebugUtils.currentLine=15990789; + //BA.debugLineNum = 15990789;BA.debugLine="P_CIEGO.Width = Root.Width"; +__ref._p_ciego /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=15990790; + //BA.debugLineNum = 15990790;BA.debugLine="P_CIEGO.Height = Root.Height"; +__ref._p_ciego /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=15990792; + //BA.debugLineNum = 15990792;BA.debugLine="CLV_PICK_CIEGO.Clear"; +__ref._clv_pick_ciego /*b4a.example3.customlistview*/ ._clear(); +RDebugUtils.currentLine=15990794; + //BA.debugLineNum = 15990794;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 HVD_PRONOMBRE, IFNULL(SUM(HVD_RECHAZOCANT), 0) AS HVD_RECHAZOCANT, HVD_PROID, ifnull(PC_CANT,0) AS PC_CAN from HIST_VENTAS INNER JOIN PICK_CIEGO ON PC_ID_PROD = HVD_PROID WHERE hvd_rechazo <> 2 and HVD_RECHAZOCANT > 0 GROUP BY HVD_PROID order by HVD_PRONOMBRE asc"))); +RDebugUtils.currentLine=15990795; + //BA.debugLineNum = 15990795;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=15990798; + //BA.debugLineNum = 15990798;BA.debugLine="For i = 0 To c.RowCount - 1"; +{ +final int step9 = 1; +final int limit9 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit9 ;_i = _i + step9 ) { +RDebugUtils.currentLine=15990799; + //BA.debugLineNum = 15990799;BA.debugLine="c.Position = i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=15990802; + //BA.debugLineNum = 15990802;BA.debugLine="Private c3 As Cursor=Starter.skmt.ExecQuery($\"s"; +_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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select Ifnull(sum(PE_CANT),0) AS PE_CANT from PEDIDO WHERE PE_PROID ='"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID")))+"' and PE_TIPO NOT IN ('DANADO','FALTANTE','SOBRANTE')")))); +RDebugUtils.currentLine=15990803; + //BA.debugLineNum = 15990803;BA.debugLine="Private resta As String = 0"; +_resta = BA.NumberToString(0); +RDebugUtils.currentLine=15990805; + //BA.debugLineNum = 15990805;BA.debugLine="If c3.RowCount > 0 Then"; +if (_c3.getRowCount()>0) { +RDebugUtils.currentLine=15990806; + //BA.debugLineNum = 15990806;BA.debugLine="c3.Position = 0"; +_c3.setPosition((int) (0)); +RDebugUtils.currentLine=15990807; + //BA.debugLineNum = 15990807;BA.debugLine="resta = c3.GetString(\"PE_CANT\")"; +_resta = _c3.GetString("PE_CANT"); + }else { +RDebugUtils.currentLine=15990809; + //BA.debugLineNum = 15990809;BA.debugLine="resta = 0"; +_resta = BA.NumberToString(0); + }; +RDebugUtils.currentLine=15990811; + //BA.debugLineNum = 15990811;BA.debugLine="If ( c.GetInt(\"HVD_RECHAZOCANT\") - resta) <= 0"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("HVD_RECHAZOCANT")-(double)(Double.parseDouble(_resta)))<=0) { + }else { +RDebugUtils.currentLine=15990814; + //BA.debugLineNum = 15990814;BA.debugLine="CLV_PICK_CIEGO.Add(CreateListItem(c.GetString("; +__ref._clv_pick_ciego /*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,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PRONOMBRE"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_CAN"),BA.NumberToString((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("HVD_RECHAZOCANT")-(double)(Double.parseDouble(_resta))))).getObject())),(Object)(_i)); + }; + } +}; +RDebugUtils.currentLine=15990820; + //BA.debugLineNum = 15990820;BA.debugLine="d = Starter.skmt.ExecQuery(\"select HVD_PRONOMBRE"; +__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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select HVD_PRONOMBRE, IFNULL(SUM(HVD_RECHAZOCANT), 0) AS HVD_RECHAZOCANT, HVD_PROID from HIST_VENTAS WHERE hvd_rechazo <> 2 and HVD_RECHAZOCANT > 0 and HVD_PROID NOT IN (SELECT PC_ID_PROD FROM PICK_CIEGO) GROUP BY HVD_PROID order by HVD_PRONOMBRE asc"))); +RDebugUtils.currentLine=15990822; + //BA.debugLineNum = 15990822;BA.debugLine="For i = 0 To d.RowCount - 1"; +{ +final int step25 = 1; +final int limit25 = (int) (__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit25 ;_i = _i + step25 ) { +RDebugUtils.currentLine=15990823; + //BA.debugLineNum = 15990823;BA.debugLine="d.Position = i"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=15990826; + //BA.debugLineNum = 15990826;BA.debugLine="Private c3 As Cursor=Starter.skmt.ExecQuery($\"s"; +_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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select Ifnull(sum(PE_CANT),0) AS PE_CANT from PEDIDO WHERE PE_PROID ='"+__c.SmartStringFormatter("",(Object)(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID")))+"' and PE_TIPO NOT IN ('DANADO','FALTANTE','SOBRANTE')")))); +RDebugUtils.currentLine=15990827; + //BA.debugLineNum = 15990827;BA.debugLine="Private resta As String = 0"; +_resta = BA.NumberToString(0); +RDebugUtils.currentLine=15990829; + //BA.debugLineNum = 15990829;BA.debugLine="If c3.RowCount > 0 Then"; +if (_c3.getRowCount()>0) { +RDebugUtils.currentLine=15990830; + //BA.debugLineNum = 15990830;BA.debugLine="c3.Position = 0"; +_c3.setPosition((int) (0)); +RDebugUtils.currentLine=15990831; + //BA.debugLineNum = 15990831;BA.debugLine="resta = c3.GetString(\"PE_CANT\")"; +_resta = _c3.GetString("PE_CANT"); + }else { +RDebugUtils.currentLine=15990833; + //BA.debugLineNum = 15990833;BA.debugLine="resta = 0"; +_resta = BA.NumberToString(0); + }; +RDebugUtils.currentLine=15990835; + //BA.debugLineNum = 15990835;BA.debugLine="If ( d.GetInt(\"HVD_RECHAZOCANT\") - resta) <= 0"; +if ((__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("HVD_RECHAZOCANT")-(double)(Double.parseDouble(_resta)))<=0) { + }else { +RDebugUtils.currentLine=15990838; + //BA.debugLineNum = 15990838;BA.debugLine="CLV_PICK_CIEGO.Add(CreateListItem2(d.GetString"; +__ref._clv_pick_ciego /*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,__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID"),__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PRONOMBRE"),BA.NumberToString((__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("HVD_RECHAZOCANT")-(double)(Double.parseDouble(_resta))))).getObject())),(Object)(_i)); + }; + } +}; + }else +{RDebugUtils.currentLine=15990844; + //BA.debugLineNum = 15990844;BA.debugLine="Else If c.RowCount = 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()==0) { +RDebugUtils.currentLine=15990845; + //BA.debugLineNum = 15990845;BA.debugLine="d = Starter.skmt.ExecQuery(\"select HVD_PRONOMBRE"; +__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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select HVD_PRONOMBRE, IFNULL(SUM(HVD_RECHAZOCANT), 0) AS HVD_RECHAZOCANT, HVD_PROID from HIST_VENTAS WHERE hvd_rechazo <> 2 and HVD_RECHAZOCANT > 0 GROUP BY HVD_PROID order by HVD_PRONOMBRE asc"))); +RDebugUtils.currentLine=15990847; + //BA.debugLineNum = 15990847;BA.debugLine="For i = 0 To d.RowCount - 1"; +{ +final int step42 = 1; +final int limit42 = (int) (__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit42 ;_i = _i + step42 ) { +RDebugUtils.currentLine=15990848; + //BA.debugLineNum = 15990848;BA.debugLine="d.Position = i"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=15990851; + //BA.debugLineNum = 15990851;BA.debugLine="Private c3 As Cursor=Starter.skmt.ExecQuery($\"s"; +_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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select Ifnull(sum(PE_CANT),0) AS PE_CANT from PEDIDO WHERE PE_PROID ='"+__c.SmartStringFormatter("",(Object)(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID")))+"'and PE_TIPO NOT IN ('DANADO','FALTANTE','SOBRANTE')")))); +RDebugUtils.currentLine=15990852; + //BA.debugLineNum = 15990852;BA.debugLine="Private resta As String = 0"; +_resta = BA.NumberToString(0); +RDebugUtils.currentLine=15990854; + //BA.debugLineNum = 15990854;BA.debugLine="If c3.RowCount > 0 Then"; +if (_c3.getRowCount()>0) { +RDebugUtils.currentLine=15990855; + //BA.debugLineNum = 15990855;BA.debugLine="c3.Position = 0"; +_c3.setPosition((int) (0)); +RDebugUtils.currentLine=15990856; + //BA.debugLineNum = 15990856;BA.debugLine="resta = c3.GetString(\"PE_CANT\")"; +_resta = _c3.GetString("PE_CANT"); + }else { +RDebugUtils.currentLine=15990858; + //BA.debugLineNum = 15990858;BA.debugLine="resta = 0"; +_resta = BA.NumberToString(0); + }; +RDebugUtils.currentLine=15990860; + //BA.debugLineNum = 15990860;BA.debugLine="If ( d.GetInt(\"HVD_RECHAZOCANT\") - resta) <= 0"; +if ((__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("HVD_RECHAZOCANT")-(double)(Double.parseDouble(_resta)))<=0) { + }else { +RDebugUtils.currentLine=15990863; + //BA.debugLineNum = 15990863;BA.debugLine="CLV_PICK_CIEGO.Add(CreateListItem2(d.GetString"; +__ref._clv_pick_ciego /*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,__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID"),__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PRONOMBRE"),BA.NumberToString((__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("HVD_RECHAZOCANT")-(double)(Double.parseDouble(_resta))))).getObject())),(Object)(_i)); + }; + } +}; + }} +; +RDebugUtils.currentLine=15990870; + //BA.debugLineNum = 15990870;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.objects.PanelWrapper _createlistitem(reparto_izca.keymon.lat.c_principal __ref,String _id_prod,String _prod,String _cant,String _cantreal) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "createlistitem", false)) + {return ((anywheresoftware.b4a.objects.PanelWrapper) Debug.delegate(ba, "createlistitem", new Object[] {_id_prod,_prod,_cant,_cantreal}));} +anywheresoftware.b4a.objects.B4XViewWrapper _pa = null; +RDebugUtils.currentLine=16842752; + //BA.debugLineNum = 16842752;BA.debugLine="Sub CreateListItem(Id_prod As String, Prod As Stri"; +RDebugUtils.currentLine=16842753; + //BA.debugLineNum = 16842753;BA.debugLine="Dim pa As B4XView = xui.CreatePanel(\"\")"; +_pa = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_pa = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,""); +RDebugUtils.currentLine=16842754; + //BA.debugLineNum = 16842754;BA.debugLine="pa.SetLayoutAnimated(0, 0, 0, 1, 10)"; +_pa.SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (1),(int) (10)); +RDebugUtils.currentLine=16842755; + //BA.debugLineNum = 16842755;BA.debugLine="pa.LoadLayout(\"PANEL_PICK_CIEGO\")"; +_pa.LoadLayout("PANEL_PICK_CIEGO",ba); +RDebugUtils.currentLine=16842756; + //BA.debugLineNum = 16842756;BA.debugLine="pa.Height = 55dip"; +_pa.setHeight(__c.DipToCurrent((int) (55))); +RDebugUtils.currentLine=16842757; + //BA.debugLineNum = 16842757;BA.debugLine="pa.Width = 298dip"; +_pa.setWidth(__c.DipToCurrent((int) (298))); +RDebugUtils.currentLine=16842759; + //BA.debugLineNum = 16842759;BA.debugLine="L_PICK_CIEGO.Text = Id_prod & CRLF & Prod"; +__ref._l_pick_ciego /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_id_prod+__c.CRLF+_prod)); +RDebugUtils.currentLine=16842760; + //BA.debugLineNum = 16842760;BA.debugLine="L_PICK_CIEGO.TextSize = 12"; +__ref._l_pick_ciego /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextSize((float) (12)); +RDebugUtils.currentLine=16842761; + //BA.debugLineNum = 16842761;BA.debugLine="L_PICK_CIEGO.Gravity = Bit.Or(Gravity.CENTER_VERT"; +__ref._l_pick_ciego /*anywheresoftware.b4a.objects.LabelWrapper*/ .setGravity(__c.Bit.Or(__c.Gravity.CENTER_VERTICAL,__c.Gravity.CENTER_HORIZONTAL)); +RDebugUtils.currentLine=16842762; + //BA.debugLineNum = 16842762;BA.debugLine="ET_PICK_CIEGO.Text = cant"; +__ref._et_pick_ciego /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(_cant)); +RDebugUtils.currentLine=16842763; + //BA.debugLineNum = 16842763;BA.debugLine="L_CANT_PCIK.Text = cantreal"; +__ref._l_cant_pcik /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_cantreal)); +RDebugUtils.currentLine=16842766; + //BA.debugLineNum = 16842766;BA.debugLine="Return pa"; +if (true) return (anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(_pa.getObject())); +RDebugUtils.currentLine=16842767; + //BA.debugLineNum = 16842767;BA.debugLine="End Sub"; +return null; +} +public anywheresoftware.b4a.objects.PanelWrapper _createlistitem2(reparto_izca.keymon.lat.c_principal __ref,String _id_prod,String _prod,String _cantreal) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "createlistitem2", false)) + {return ((anywheresoftware.b4a.objects.PanelWrapper) Debug.delegate(ba, "createlistitem2", new Object[] {_id_prod,_prod,_cantreal}));} +anywheresoftware.b4a.objects.B4XViewWrapper _pa = null; +RDebugUtils.currentLine=16908288; + //BA.debugLineNum = 16908288;BA.debugLine="Sub CreateListItem2(Id_prod As String, Prod As Str"; +RDebugUtils.currentLine=16908289; + //BA.debugLineNum = 16908289;BA.debugLine="Dim pa As B4XView = xui.CreatePanel(\"\")"; +_pa = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_pa = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,""); +RDebugUtils.currentLine=16908290; + //BA.debugLineNum = 16908290;BA.debugLine="pa.SetLayoutAnimated(0, 0, 0, 1, 10)"; +_pa.SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (1),(int) (10)); +RDebugUtils.currentLine=16908291; + //BA.debugLineNum = 16908291;BA.debugLine="pa.LoadLayout(\"PANEL_PICK_CIEGO\")"; +_pa.LoadLayout("PANEL_PICK_CIEGO",ba); +RDebugUtils.currentLine=16908292; + //BA.debugLineNum = 16908292;BA.debugLine="pa.Height = 55dip"; +_pa.setHeight(__c.DipToCurrent((int) (55))); +RDebugUtils.currentLine=16908293; + //BA.debugLineNum = 16908293;BA.debugLine="pa.Width = 298dip"; +_pa.setWidth(__c.DipToCurrent((int) (298))); +RDebugUtils.currentLine=16908295; + //BA.debugLineNum = 16908295;BA.debugLine="L_PICK_CIEGO.Text = Id_prod & CRLF & Prod"; +__ref._l_pick_ciego /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_id_prod+__c.CRLF+_prod)); +RDebugUtils.currentLine=16908296; + //BA.debugLineNum = 16908296;BA.debugLine="L_PICK_CIEGO.TextSize = 12"; +__ref._l_pick_ciego /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextSize((float) (12)); +RDebugUtils.currentLine=16908297; + //BA.debugLineNum = 16908297;BA.debugLine="L_PICK_CIEGO.Gravity = Bit.Or(Gravity.CENTER_VERT"; +__ref._l_pick_ciego /*anywheresoftware.b4a.objects.LabelWrapper*/ .setGravity(__c.Bit.Or(__c.Gravity.CENTER_VERTICAL,__c.Gravity.CENTER_HORIZONTAL)); +RDebugUtils.currentLine=16908298; + //BA.debugLineNum = 16908298;BA.debugLine="L_CANT_PCIK.Text = cantreal"; +__ref._l_cant_pcik /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_cantreal)); +RDebugUtils.currentLine=16908301; + //BA.debugLineNum = 16908301;BA.debugLine="Return pa"; +if (true) return (anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(_pa.getObject())); +RDebugUtils.currentLine=16908302; + //BA.debugLineNum = 16908302;BA.debugLine="End Sub"; +return null; +} +public String _to_number_vb(reparto_izca.keymon.lat.c_principal __ref,Object _valor) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "to_number_vb", false)) + {return ((String) Debug.delegate(ba, "to_number_vb", new Object[] {_valor}));} +int _valstring = 0; +String _valstring2 = ""; +RDebugUtils.currentLine=14483456; + //BA.debugLineNum = 14483456;BA.debugLine="Sub to_number_vb (valor As Object) As String"; +RDebugUtils.currentLine=14483457; + //BA.debugLineNum = 14483457;BA.debugLine="Dim valstring As Int"; +_valstring = 0; +RDebugUtils.currentLine=14483458; + //BA.debugLineNum = 14483458;BA.debugLine="Dim valstring2 As String = valor"; +_valstring2 = BA.ObjectToString(_valor); +RDebugUtils.currentLine=14483459; + //BA.debugLineNum = 14483459;BA.debugLine="valstring2.Replace(\":\",\"\")"; +_valstring2.replace(":",""); +RDebugUtils.currentLine=14483460; + //BA.debugLineNum = 14483460;BA.debugLine="Try"; +try {RDebugUtils.currentLine=14483461; + //BA.debugLineNum = 14483461;BA.debugLine="valstring =valstring2.Replace(\":\",\"\")"; +_valstring = (int)(Double.parseDouble(_valstring2.replace(":",""))); +RDebugUtils.currentLine=14483462; + //BA.debugLineNum = 14483462;BA.debugLine="Return valstring"; +if (true) return BA.NumberToString(_valstring); + } + catch (Exception e8) { + ba.setLastException(e8);RDebugUtils.currentLine=14483464; + //BA.debugLineNum = 14483464;BA.debugLine="Return 0"; +if (true) return BA.NumberToString(0); + }; +RDebugUtils.currentLine=14483466; + //BA.debugLineNum = 14483466;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _b4xpage_closerequest(reparto_izca.keymon.lat.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(reparto_izca.keymon.lat.c_principal parent,reparto_izca.keymon.lat.c_principal __ref) { +this.parent = parent; +this.__ref = __ref; +this.__ref = parent; +} +reparto_izca.keymon.lat.c_principal __ref; +reparto_izca.keymon.lat.c_principal parent; + +@Override +public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="c_principal"; + + while (true) { + switch (state) { + case -1: +{ +parent.__c.ReturnFromResumableSub(this,null);return;} +case 0: +//C +this.state = 1; +RDebugUtils.currentLine=14942210; + //BA.debugLineNum = 14942210;BA.debugLine="If Panel1.visible Then"; +if (true) break; + +case 1: +//if +this.state = 10; +if (__ref._panel1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .getVisible()) { +this.state = 3; +}else +{RDebugUtils.currentLine=14942213; + //BA.debugLineNum = 14942213;BA.debugLine="Else If P_CIEGO.Visible Then"; +if (__ref._p_ciego /*anywheresoftware.b4a.objects.PanelWrapper*/ .getVisible()) { +this.state = 5; +}else +{RDebugUtils.currentLine=14942215; + //BA.debugLineNum = 14942215;BA.debugLine="Else If p_prod.Visible Then"; +if (__ref._p_prod /*anywheresoftware.b4a.objects.PanelWrapper*/ .getVisible()) { +this.state = 7; +}else { +this.state = 9; +}}} +if (true) break; + +case 3: +//C +this.state = 10; +RDebugUtils.currentLine=14942211; + //BA.debugLineNum = 14942211;BA.debugLine="Log(\"PANEL1 VISIBLE\")"; +parent.__c.LogImpl("814942211","PANEL1 VISIBLE",0); +RDebugUtils.currentLine=14942212; + //BA.debugLineNum = 14942212;BA.debugLine="B_REGRESA_Click"; +__ref._b_regresa_click /*String*/ (null); + if (true) break; + +case 5: +//C +this.state = 10; +RDebugUtils.currentLine=14942214; + //BA.debugLineNum = 14942214;BA.debugLine="P_CIEGO.Visible = False"; +__ref._p_ciego /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.False); + if (true) break; + +case 7: +//C +this.state = 10; +RDebugUtils.currentLine=14942216; + //BA.debugLineNum = 14942216;BA.debugLine="p_prod.Visible = False"; +__ref._p_prod /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.False); + if (true) break; + +case 9: +//C +this.state = 10; +RDebugUtils.currentLine=14942218; + //BA.debugLineNum = 14942218;BA.debugLine="B4XPages.ShowPage(\"Login\")"; +parent._b4xpages._showpage /*String*/ (ba,"Login"); + if (true) break; + +case 10: +//C +this.state = -1; +; +RDebugUtils.currentLine=14942221; + //BA.debugLineNum = 14942221;BA.debugLine="Return False"; +if (true) { +parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; +RDebugUtils.currentLine=14942222; + //BA.debugLineNum = 14942222;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public String _b4xpage_created(reparto_izca.keymon.lat.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}));} +RDebugUtils.currentLine=14221312; + //BA.debugLineNum = 14221312;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +RDebugUtils.currentLine=14221313; + //BA.debugLineNum = 14221313;BA.debugLine="Root = Root1"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _root1; +RDebugUtils.currentLine=14221315; + //BA.debugLineNum = 14221315;BA.debugLine="Root.LoadLayout(\"principal\")"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("principal",ba); +RDebugUtils.currentLine=14221316; + //BA.debugLineNum = 14221316;BA.debugLine="EJECUTANDO=1"; +__ref._ejecutando /*String*/ = BA.NumberToString(1); +RDebugUtils.currentLine=14221317; + //BA.debugLineNum = 14221317;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.serve"; +__ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._initialize /*String*/ (null,ba,this,_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ); +RDebugUtils.currentLine=14221320; + //BA.debugLineNum = 14221320;BA.debugLine="img2.Visible =False"; +__ref._img2 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=14221321; + //BA.debugLineNum = 14221321;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +__c.DateTime.setDateFormat("MM/dd/yyyy"); +RDebugUtils.currentLine=14221322; + //BA.debugLineNum = 14221322;BA.debugLine="fecha=DateTime.Date(DateTime.Now)"; +__ref._fecha /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=14221324; + //BA.debugLineNum = 14221324;BA.debugLine="b=Starter.skmt.ExecQuery(\"Select count(*) as CUAN"; +__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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select count(*) as CUANTOS from pedido_cliente"))); +RDebugUtils.currentLine=14221325; + //BA.debugLineNum = 14221325;BA.debugLine="b.Position=0"; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=14221326; + //BA.debugLineNum = 14221326;BA.debugLine="Cuantos = b.GetString(\"CUANTOS\")"; +__ref._cuantos /*String*/ = __ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS"); +RDebugUtils.currentLine=14221327; + //BA.debugLineNum = 14221327;BA.debugLine="d=Starter.skmt.ExecQuery(\"select count(*) as TOTA"; +__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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as TOTAL_VISITAR from kmt_info where gestion = 0 AND CAT_CL_RUTA <> 1000"))); +RDebugUtils.currentLine=14221328; + //BA.debugLineNum = 14221328;BA.debugLine="D.Position=0"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=14221329; + //BA.debugLineNum = 14221329;BA.debugLine="b.Close"; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=14221330; + //BA.debugLineNum = 14221330;BA.debugLine="e=Starter.skmt.ExecQuery(\"select count(*) as POR_"; +__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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as POR_VISITAR from kmt_info WHERE CAT_CL_RUTA <> 1000"))); +RDebugUtils.currentLine=14221331; + //BA.debugLineNum = 14221331;BA.debugLine="e.Position=0"; +__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=14221332; + //BA.debugLineNum = 14221332;BA.debugLine="If Cuantos = 0 Then"; +if ((__ref._cuantos /*String*/ ).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=14221333; + //BA.debugLineNum = 14221333;BA.debugLine="l_aLiquidar.Text = 0"; +__ref._l_aliquidar /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=14221334; + //BA.debugLineNum = 14221334;BA.debugLine="l_cuantosc.Text = 0"; +__ref._l_cuantosc /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=14221335; + //BA.debugLineNum = 14221335;BA.debugLine="l_cuantosn.Text = 0"; +__ref._l_cuantosn /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=14221336; + //BA.debugLineNum = 14221336;BA.debugLine="drop = 0"; +__ref._drop /*double*/ = 0; +RDebugUtils.currentLine=14221337; + //BA.debugLineNum = 14221337;BA.debugLine="l_montoSalida.Text = 0"; +__ref._l_montosalida /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=14221338; + //BA.debugLineNum = 14221338;BA.debugLine="efectiva = 0"; +__ref._efectiva /*double*/ = 0; +RDebugUtils.currentLine=14221340; + //BA.debugLineNum = 14221340;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=14221341; + //BA.debugLineNum = 14221341;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 { + }; +RDebugUtils.currentLine=14221360; + //BA.debugLineNum = 14221360;BA.debugLine="b=Starter.skmt.ExecQuery(\"select id_almacen from"; +__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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select id_almacen from CAT_ALMACEN"))); +RDebugUtils.currentLine=14221361; + //BA.debugLineNum = 14221361;BA.debugLine="If b.RowCount > 0 Then"; +if (__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=14221363; + //BA.debugLineNum = 14221363;BA.debugLine="b.Position = 0"; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=14221365; + //BA.debugLineNum = 14221365;BA.debugLine="Dim cmd As DBCommand"; +_cmd = new reparto_izca.keymon.lat.dbrequestmanager._dbcommand(); +RDebugUtils.currentLine=14221366; + //BA.debugLineNum = 14221366;BA.debugLine="cmd.Initialize"; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=14221367; + //BA.debugLineNum = 14221367;BA.debugLine="cmd.Name = \"select_coords_almacen_mards\""; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_coords_almacen_mards"; +RDebugUtils.currentLine=14221368; + //BA.debugLineNum = 14221368;BA.debugLine="cmd.Parameters = Array As Object(b.GetString(\"ID"; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("ID_ALMACEN"))}; +RDebugUtils.currentLine=14221369; + //BA.debugLineNum = 14221369;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"coords_almacen"; +__ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("coords_almacen")); + }; +RDebugUtils.currentLine=14221371; + //BA.debugLineNum = 14221371;BA.debugLine="B4XPages.MainPage.usuario=Subs.dameUsuarioDeDB"; +_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._usuario /*String*/ = _subs._dameusuariodedb /*String*/ (ba); +RDebugUtils.currentLine=14221372; + //BA.debugLineNum = 14221372;BA.debugLine="btAdmin.Initialize(\"BlueTeeth\")"; +__ref._btadmin /*anywheresoftware.b4a.objects.Serial.BluetoothAdmin*/ .Initialize(ba,"BlueTeeth"); +RDebugUtils.currentLine=14221373; + //BA.debugLineNum = 14221373;BA.debugLine="cmp20.Initialize(\"Printer\")"; +__ref._cmp20 /*anywheresoftware.b4a.objects.Serial*/ .Initialize("Printer"); +RDebugUtils.currentLine=14221374; + //BA.debugLineNum = 14221374;BA.debugLine="End Sub"; +return ""; +} +public String _btn_ubicar_ru_click(reparto_izca.keymon.lat.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "btn_ubicar_ru_click", false)) + {return ((String) Debug.delegate(ba, "btn_ubicar_ru_click", null));} +RDebugUtils.currentLine=15532032; + //BA.debugLineNum = 15532032;BA.debugLine="Sub Btn_Ubicar_Ru_Click"; +RDebugUtils.currentLine=15532033; + //BA.debugLineNum = 15532033;BA.debugLine="If b_check.Visible = True Then"; +if (__ref._b_check /*anywheresoftware.b4a.objects.ButtonWrapper*/ .getVisible()==__c.True) { +RDebugUtils.currentLine=15532034; + //BA.debugLineNum = 15532034;BA.debugLine="MsgboxAsync(\"Favor de hacer el checklist.\",\"Aten"; +__c.MsgboxAsync(BA.ObjectToCharSequence("Favor de hacer el checklist."),BA.ObjectToCharSequence("Atención"),ba); + }else { +RDebugUtils.currentLine=15532037; + //BA.debugLineNum = 15532037;BA.debugLine="StartActivity(MAPA_RUTAS)"; +__c.StartActivity(ba,(Object)(_mapa_rutas.getObject())); + }; +RDebugUtils.currentLine=15532039; + //BA.debugLineNum = 15532039;BA.debugLine="End Sub"; +return ""; +} +public String _busca_click(reparto_izca.keymon.lat.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=15073280; + //BA.debugLineNum = 15073280;BA.debugLine="Sub BUSCA_Click"; +RDebugUtils.currentLine=15073281; + //BA.debugLineNum = 15073281;BA.debugLine="If b_check.Visible = True Then"; +if (__ref._b_check /*anywheresoftware.b4a.objects.ButtonWrapper*/ .getVisible()==__c.True) { +RDebugUtils.currentLine=15073282; + //BA.debugLineNum = 15073282;BA.debugLine="MsgboxAsync(\"Favor de hacer el checklist.\",\"Aten"; +__c.MsgboxAsync(BA.ObjectToCharSequence("Favor de hacer el checklist."),BA.ObjectToCharSequence("Atención"),ba); + }else { +RDebugUtils.currentLine=15073285; + //BA.debugLineNum = 15073285;BA.debugLine="B4XPages.ShowPage(\"Buscar\")"; +_b4xpages._showpage /*String*/ (ba,"Buscar"); + }; +RDebugUtils.currentLine=15073287; + //BA.debugLineNum = 15073287;BA.debugLine="End Sub"; +return ""; +} +public String _cargar____click(reparto_izca.keymon.lat.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; +String[] _fecha2 = null; +String[] _fecha3 = null; +String _dia = ""; +String _dia2 = ""; +RDebugUtils.currentLine=14811136; + //BA.debugLineNum = 14811136;BA.debugLine="Sub cargar____Click"; +RDebugUtils.currentLine=14811137; + //BA.debugLineNum = 14811137;BA.debugLine="Dim pedidodiaanterior As Boolean = False"; +_pedidodiaanterior = __c.False; +RDebugUtils.currentLine=14811138; + //BA.debugLineNum = 14811138;BA.debugLine="Dim cp As Cursor = Starter.skmt.ExecQuery(\"select"; +_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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select * from NOVENTA"))); +RDebugUtils.currentLine=14811139; + //BA.debugLineNum = 14811139;BA.debugLine="If cp.RowCount > 0 Then"; +if (__ref._cp /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=14811140; + //BA.debugLineNum = 14811140;BA.debugLine="cp.Position = 0"; +__ref._cp /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=14811141; + //BA.debugLineNum = 14811141;BA.debugLine="Private fecha As String = cp.GetString(\"NV_FECHA"; +_fecha = __ref._cp /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("NV_FECHA"); +RDebugUtils.currentLine=14811142; + //BA.debugLineNum = 14811142;BA.debugLine="Log(cp.GetString(\"NV_FECHA\"))"; +__c.LogImpl("814811142",__ref._cp /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("NV_FECHA"),0); +RDebugUtils.currentLine=14811143; + //BA.debugLineNum = 14811143;BA.debugLine="Dim fecha2() As String = Regex.Split(\" \",fecha)"; +_fecha2 = __c.Regex.Split(" ",__ref._fecha /*String*/ ); +RDebugUtils.currentLine=14811144; + //BA.debugLineNum = 14811144;BA.debugLine="Log(fecha2(0))"; +__c.LogImpl("814811144",_fecha2[(int) (0)],0); +RDebugUtils.currentLine=14811145; + //BA.debugLineNum = 14811145;BA.debugLine="Dim fecha3() As String = Regex.Split(\"/\",fecha2("; +_fecha3 = __c.Regex.Split("/",_fecha2[(int) (0)]); +RDebugUtils.currentLine=14811146; + //BA.debugLineNum = 14811146;BA.debugLine="DateTime.DateFormat = \"yyyyMMdd\""; +__c.DateTime.setDateFormat("yyyyMMdd"); +RDebugUtils.currentLine=14811147; + //BA.debugLineNum = 14811147;BA.debugLine="DateTime.TimeFormat = \"\""; +__c.DateTime.setTimeFormat(""); +RDebugUtils.currentLine=14811148; + //BA.debugLineNum = 14811148;BA.debugLine="Dim dia As String = fecha3(2)&fecha3(0)&fecha3(1"; +_dia = _fecha3[(int) (2)]+_fecha3[(int) (0)]+_fecha3[(int) (1)]; +RDebugUtils.currentLine=14811149; + //BA.debugLineNum = 14811149;BA.debugLine="Log(dia)"; +__c.LogImpl("814811149",_dia,0); +RDebugUtils.currentLine=14811150; + //BA.debugLineNum = 14811150;BA.debugLine="Dim dia2 As String = DateTime.Date(DateTime.Now)"; +_dia2 = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=14811151; + //BA.debugLineNum = 14811151;BA.debugLine="Log(dia & \" , \" & dia2)"; +__c.LogImpl("814811151",_dia+" , "+_dia2,0); +RDebugUtils.currentLine=14811152; + //BA.debugLineNum = 14811152;BA.debugLine="If dia < dia2 Then"; +if ((double)(Double.parseDouble(_dia))<(double)(Double.parseDouble(_dia2))) { +RDebugUtils.currentLine=14811153; + //BA.debugLineNum = 14811153;BA.debugLine="pedidodiaanterior = True"; +_pedidodiaanterior = __c.True; + }; + }; +RDebugUtils.currentLine=14811156; + //BA.debugLineNum = 14811156;BA.debugLine="If Not (pedidodiaanterior) Then"; +if (__c.Not(_pedidodiaanterior)) { +RDebugUtils.currentLine=14811157; + //BA.debugLineNum = 14811157;BA.debugLine="Log(\"CUMPLE\")"; +__c.LogImpl("814811157","CUMPLE",0); +RDebugUtils.currentLine=14811158; + //BA.debugLineNum = 14811158;BA.debugLine="EJECUTANDO = 1"; +__ref._ejecutando /*String*/ = BA.NumberToString(1); +RDebugUtils.currentLine=14811159; + //BA.debugLineNum = 14811159;BA.debugLine="reqs.Initialize"; +__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=14811160; + //BA.debugLineNum = 14811160;BA.debugLine="TOPE = 0"; +__ref._tope /*int*/ = (int) (0); +RDebugUtils.currentLine=14811161; + //BA.debugLineNum = 14811161;BA.debugLine="LogColor($\"ReqServer = ${B4XPages.MainPage.serve"; +__c.LogImpl("814811161",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ))+""),__c.Colors.Red); +RDebugUtils.currentLine=14811162; + //BA.debugLineNum = 14811162;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.serv"; +__ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._initialize /*String*/ (null,ba,this,_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ); +RDebugUtils.currentLine=14811164; + //BA.debugLineNum = 14811164;BA.debugLine="Dim cmd As DBCommand"; +_cmd = new reparto_izca.keymon.lat.dbrequestmanager._dbcommand(); +RDebugUtils.currentLine=14811165; + //BA.debugLineNum = 14811165;BA.debugLine="cmd.Initialize"; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=14811166; + //BA.debugLineNum = 14811166;BA.debugLine="cmd.Name = \"insert_drop_rep_IZCA2\""; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Name /*String*/ = "insert_drop_rep_IZCA2"; +RDebugUtils.currentLine=14811167; + //BA.debugLineNum = 14811167;BA.debugLine="cmd.Parameters = Array As Object(Subs.dameUsuari"; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(_subs._dameusuariodedb /*String*/ (ba)),(Object)(__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._l_ctast /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(_subs._traeentregados /*anywheresoftware.b4a.objects.collections.Map*/ (ba).getObject()),(Object)(_subs._traerechazados /*anywheresoftware.b4a.objects.collections.Map*/ (ba).getObject()),(Object)("CARGA"),(Object)(__c.Application.getVersionName())}; +RDebugUtils.currentLine=14811168; + //BA.debugLineNum = 14811168;BA.debugLine="reqManager.ExecuteCommand(cmd , \"inst_drop\")"; +__ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ ,(Object)("inst_drop")); +RDebugUtils.currentLine=14811171; + //BA.debugLineNum = 14811171;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from kmt_info\""; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from kmt_info"); +RDebugUtils.currentLine=14811172; + //BA.debugLineNum = 14811172;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cod_resul"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cod_result"); +RDebugUtils.currentLine=14811173; + //BA.debugLineNum = 14811173;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from hist_gest"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from hist_gest"); +RDebugUtils.currentLine=14811174; + //BA.debugLineNum = 14811174;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CAT_DETAL"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CAT_DETALLES_PAQ"); +RDebugUtils.currentLine=14811175; + //BA.debugLineNum = 14811175;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from telefonos"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from telefonos"); +RDebugUtils.currentLine=14811177; + //BA.debugLineNum = 14811177;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from PUNTEO_GP"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from PUNTEO_GPS"); +RDebugUtils.currentLine=14811178; + //BA.debugLineNum = 14811178;BA.debugLine="If l_ruta.Text = \"0\" Then '"; +if ((__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("0")) { +RDebugUtils.currentLine=14811179; + //BA.debugLineNum = 14811179;BA.debugLine="Log(\"********************* No hay ruta, BORRAM"; +__c.LogImpl("814811179","********************* No hay ruta, BORRAMOS TODO",0); +RDebugUtils.currentLine=14811180; + //BA.debugLineNum = 14811180;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_guna"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_gunaprod"); +RDebugUtils.currentLine=14811181; + //BA.debugLineNum = 14811181;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_guna"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_gunaprod3"); +RDebugUtils.currentLine=14811182; + //BA.debugLineNum = 14811182;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from REPARTO\""; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from REPARTO"); +RDebugUtils.currentLine=14811183; + //BA.debugLineNum = 14811183;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from HIST_VEN"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from HIST_VENTAS"); +RDebugUtils.currentLine=14811184; + //BA.debugLineNum = 14811184;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from HIST_VEN"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from HIST_VENTAS2"); +RDebugUtils.currentLine=14811185; + //BA.debugLineNum = 14811185;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from NOVENTA\""; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from NOVENTA"); + }else { +RDebugUtils.currentLine=14811187; + //BA.debugLineNum = 14811187;BA.debugLine="Log(\"********************* Hay ruta, NO BORRAM"; +__c.LogImpl("814811187","********************* Hay ruta, NO BORRAMOS TODO",0); + }; +RDebugUtils.currentLine=14811191; + //BA.debugLineNum = 14811191;BA.debugLine="c=Starter.skmt.ExecQuery(\"select usuario from 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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select usuario from usuarioa"))); +RDebugUtils.currentLine=14811192; + //BA.debugLineNum = 14811192;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=14811193; + //BA.debugLineNum = 14811193;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=14811195; + //BA.debugLineNum = 14811195;BA.debugLine="cmd.Initialize"; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=14811196; + //BA.debugLineNum = 14811196;BA.debugLine="cmd.Name = \"select_punteo_mards_re_REPG\""; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_punteo_mards_re_REPG"; +RDebugUtils.currentLine=14811197; + //BA.debugLineNum = 14811197;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=14811198; + //BA.debugLineNum = 14811198;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"punteo\")"; +__ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("punteo")); +RDebugUtils.currentLine=14811199; + //BA.debugLineNum = 14811199;BA.debugLine="Log($\"Pedimos Punteo\"$)"; +__c.LogImpl("814811199",("Pedimos Punteo"),0); +RDebugUtils.currentLine=14811200; + //BA.debugLineNum = 14811200;BA.debugLine="reqs.Add(\"punteo\")"; +__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)("punteo")); +RDebugUtils.currentLine=14811203; + //BA.debugLineNum = 14811203;BA.debugLine="cmd.Initialize"; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=14811204; + //BA.debugLineNum = 14811204;BA.debugLine="cmd.Name = \"select_almacen_mards_re_REPG\""; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_almacen_mards_re_REPG"; +RDebugUtils.currentLine=14811205; + //BA.debugLineNum = 14811205;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=14811206; + //BA.debugLineNum = 14811206;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"gunaprod\")"; +__ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("gunaprod")); +RDebugUtils.currentLine=14811207; + //BA.debugLineNum = 14811207;BA.debugLine="Log($\"Pedimos gunaprod - ${ALMACEN}, ${e_ruta.te"; +__c.LogImpl("814811207",("Pedimos gunaprod - "+__c.SmartStringFormatter("",(Object)(__ref._almacen /*String*/ ))+", "+__c.SmartStringFormatter("",(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))+""),0); +RDebugUtils.currentLine=14811208; + //BA.debugLineNum = 14811208;BA.debugLine="reqs.Add(\"gunaprod\")"; +__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)("gunaprod")); +RDebugUtils.currentLine=14811212; + //BA.debugLineNum = 14811212;BA.debugLine="cmd.Initialize"; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=14811213; + //BA.debugLineNum = 14811213;BA.debugLine="cmd.Name = \"select_cliente_mards_re_REPG\""; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_cliente_mards_re_REPG"; +RDebugUtils.currentLine=14811214; + //BA.debugLineNum = 14811214;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=14811215; + //BA.debugLineNum = 14811215;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"kmt_datos\")"; +__ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("kmt_datos")); +RDebugUtils.currentLine=14811216; + //BA.debugLineNum = 14811216;BA.debugLine="Log($\"Pedimos kmt_datos\"$)"; +__c.LogImpl("814811216",("Pedimos kmt_datos"),0); +RDebugUtils.currentLine=14811217; + //BA.debugLineNum = 14811217;BA.debugLine="reqs.Add(\"kmt_datos\")"; +__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)("kmt_datos")); +RDebugUtils.currentLine=14811219; + //BA.debugLineNum = 14811219;BA.debugLine="cmd.Initialize"; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=14811220; + //BA.debugLineNum = 14811220;BA.debugLine="cmd.Name = \"select_ventad_mards_re_REPG\""; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_ventad_mards_re_REPG"; +RDebugUtils.currentLine=14811221; + //BA.debugLineNum = 14811221;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=14811222; + //BA.debugLineNum = 14811222;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"hist_datos\")"; +__ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("hist_datos")); +RDebugUtils.currentLine=14811223; + //BA.debugLineNum = 14811223;BA.debugLine="Log($\"Pedimos hist_datos\"$)"; +__c.LogImpl("814811223",("Pedimos hist_datos"),0); +RDebugUtils.currentLine=14811224; + //BA.debugLineNum = 14811224;BA.debugLine="reqs.Add(\"hist_datos\")"; +__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)("hist_datos")); +RDebugUtils.currentLine=14811241; + //BA.debugLineNum = 14811241;BA.debugLine="If ALMACEN = \"32\" Then"; +if ((__ref._almacen /*String*/ ).equals("32")) { +RDebugUtils.currentLine=14811242; + //BA.debugLineNum = 14811242;BA.debugLine="ALMACEN = \"33\""; +__ref._almacen /*String*/ = "33"; +RDebugUtils.currentLine=14811243; + //BA.debugLineNum = 14811243;BA.debugLine="cargo = 2"; +__ref._cargo /*String*/ = BA.NumberToString(2); +RDebugUtils.currentLine=14811244; + //BA.debugLineNum = 14811244;BA.debugLine="cmd.Initialize"; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=14811245; + //BA.debugLineNum = 14811245;BA.debugLine="cmd.Name = \"select_punteo_mards_re_REPG\""; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_punteo_mards_re_REPG"; +RDebugUtils.currentLine=14811246; + //BA.debugLineNum = 14811246;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, A"; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=14811247; + //BA.debugLineNum = 14811247;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"punteo\")"; +__ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("punteo")); +RDebugUtils.currentLine=14811248; + //BA.debugLineNum = 14811248;BA.debugLine="reqs.Add(\"punteo\")"; +__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)("punteo")); +RDebugUtils.currentLine=14811250; + //BA.debugLineNum = 14811250;BA.debugLine="cmd.Initialize"; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=14811251; + //BA.debugLineNum = 14811251;BA.debugLine="cmd.Name = \"select_almacen_mards_re_REPG\""; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_almacen_mards_re_REPG"; +RDebugUtils.currentLine=14811252; + //BA.debugLineNum = 14811252;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_rut"; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._almacen /*String*/ ),(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=14811253; + //BA.debugLineNum = 14811253;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"gunaprod\")"; +__ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("gunaprod")); +RDebugUtils.currentLine=14811254; + //BA.debugLineNum = 14811254;BA.debugLine="reqs.Add(\"gunaprod\")"; +__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)("gunaprod")); +RDebugUtils.currentLine=14811256; + //BA.debugLineNum = 14811256;BA.debugLine="cmd.Initialize"; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=14811257; + //BA.debugLineNum = 14811257;BA.debugLine="cmd.Name = \"select_cliente_mards_re_REPG\""; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_cliente_mards_re_REPG"; +RDebugUtils.currentLine=14811258; + //BA.debugLineNum = 14811258;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, A"; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=14811259; + //BA.debugLineNum = 14811259;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"kmt_datos\")"; +__ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("kmt_datos")); +RDebugUtils.currentLine=14811260; + //BA.debugLineNum = 14811260;BA.debugLine="reqs.Add(\"kmt_datos\")"; +__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)("kmt_datos")); +RDebugUtils.currentLine=14811262; + //BA.debugLineNum = 14811262;BA.debugLine="cmd.Initialize"; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=14811263; + //BA.debugLineNum = 14811263;BA.debugLine="cmd.Name = \"select_ventad_mards_re_REPG\""; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_ventad_mards_re_REPG"; +RDebugUtils.currentLine=14811264; + //BA.debugLineNum = 14811264;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, A"; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=14811265; + //BA.debugLineNum = 14811265;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"hist_datos\")"; +__ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("hist_datos")); +RDebugUtils.currentLine=14811266; + //BA.debugLineNum = 14811266;BA.debugLine="reqs.Add(\"hist_datos\")"; +__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)("hist_datos")); + }; +RDebugUtils.currentLine=14811300; + //BA.debugLineNum = 14811300;BA.debugLine="D=Starter.skmt.ExecQuery(\"SELECT COUNT(*) AS CUA"; +__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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT COUNT(*) AS CUANTOS_NOVENTA FROM NOVENTA"))); +RDebugUtils.currentLine=14811301; + //BA.debugLineNum = 14811301;BA.debugLine="d.Position=0"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=14811302; + //BA.debugLineNum = 14811302;BA.debugLine="cuantos_noventa = D.GetString(\"CUANTOS_NOVENTA\")"; +__ref._cuantos_noventa /*String*/ = __ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS_NOVENTA"); +RDebugUtils.currentLine=14811303; + //BA.debugLineNum = 14811303;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=14811304; + //BA.debugLineNum = 14811304;BA.debugLine="cargar.Visible = False"; +__ref._cargar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=14811305; + //BA.debugLineNum = 14811305;BA.debugLine="Subir.Visible = False"; +__ref._subir /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=14811306; + //BA.debugLineNum = 14811306;BA.debugLine="connecta.Visible = True"; +__ref._connecta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=14811307; + //BA.debugLineNum = 14811307;BA.debugLine="inv.Visible = False"; +__ref._inv /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=14811308; + //BA.debugLineNum = 14811308;BA.debugLine="ToastMessageShow(\"Se actualizarán los datos, est"; +__c.ToastMessageShow(BA.ObjectToCharSequence("Se actualizarán los datos, este proceso podria tardar hasta un minuto, gracias"),__c.True); +RDebugUtils.currentLine=14811309; + //BA.debugLineNum = 14811309;BA.debugLine="ProgressDialogShow2(\"Descargando rutas, espere u"; +__c.ProgressDialogShow2(ba,BA.ObjectToCharSequence("Descargando rutas, espere un momento."),__c.False); +RDebugUtils.currentLine=14811310; + //BA.debugLineNum = 14811310;BA.debugLine="If Not(IsConnectedToInternet) Then MsgboxAsync(\""; +if (__c.Not(__ref._isconnectedtointernet /*boolean*/ (null))) { +__c.MsgboxAsync(BA.ObjectToCharSequence("No hay conexión a Internet"),BA.ObjectToCharSequence("Revisa tu conexión"),ba);}; + }else { +RDebugUtils.currentLine=14811314; + //BA.debugLineNum = 14811314;BA.debugLine="Log(\"XXXX\")"; +__c.LogImpl("814811314","XXXX",0); +RDebugUtils.currentLine=14811315; + //BA.debugLineNum = 14811315;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); + }; +RDebugUtils.currentLine=14811318; + //BA.debugLineNum = 14811318;BA.debugLine="End Sub"; +return ""; +} +public boolean _isconnectedtointernet(reparto_izca.keymon.lat.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "isconnectedtointernet", false)) + {return ((Boolean) Debug.delegate(ba, "isconnectedtointernet", null));} +anywheresoftware.b4a.agraham.reflection.Reflection _r = null; +RDebugUtils.currentLine=14417920; + //BA.debugLineNum = 14417920;BA.debugLine="Sub IsConnectedToInternet As Boolean 'ignore"; +RDebugUtils.currentLine=14417921; + //BA.debugLineNum = 14417921;BA.debugLine="Dim r As Reflector"; +_r = new anywheresoftware.b4a.agraham.reflection.Reflection(); +RDebugUtils.currentLine=14417922; + //BA.debugLineNum = 14417922;BA.debugLine="r.Target = r.GetContext"; +_r.Target = (Object)(_r.GetContext(ba)); +RDebugUtils.currentLine=14417923; + //BA.debugLineNum = 14417923;BA.debugLine="r.Target = r.RunMethod2(\"getSystemService\", \"conn"; +_r.Target = _r.RunMethod2("getSystemService","connectivity","java.lang.String"); +RDebugUtils.currentLine=14417924; + //BA.debugLineNum = 14417924;BA.debugLine="r.Target = r.RunMethod(\"getActiveNetworkInfo\")"; +_r.Target = _r.RunMethod("getActiveNetworkInfo"); +RDebugUtils.currentLine=14417925; + //BA.debugLineNum = 14417925;BA.debugLine="If r.Target <> Null Then"; +if (_r.Target!= null) { +RDebugUtils.currentLine=14417926; + //BA.debugLineNum = 14417926;BA.debugLine="Return r.RunMethod(\"isConnectedOrConnecting\")"; +if (true) return BA.ObjectToBoolean(_r.RunMethod("isConnectedOrConnecting")); + }; +RDebugUtils.currentLine=14417928; + //BA.debugLineNum = 14417928;BA.debugLine="Return False"; +if (true) return __c.False; +RDebugUtils.currentLine=14417929; + //BA.debugLineNum = 14417929;BA.debugLine="End Sub"; +return false; +} +public String _cargar_click(reparto_izca.keymon.lat.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; +String[] _fecha2 = null; +String[] _fecha3 = null; +String _dia = ""; +String _dia2 = ""; +RDebugUtils.currentLine=14745600; + //BA.debugLineNum = 14745600;BA.debugLine="Sub cargar_Click"; +RDebugUtils.currentLine=14745601; + //BA.debugLineNum = 14745601;BA.debugLine="Dim pedidodiaanterior As Boolean = False"; +_pedidodiaanterior = __c.False; +RDebugUtils.currentLine=14745602; + //BA.debugLineNum = 14745602;BA.debugLine="Dim cp As Cursor = Starter.skmt.ExecQuery(\"select"; +_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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select * from NOVENTA"))); +RDebugUtils.currentLine=14745603; + //BA.debugLineNum = 14745603;BA.debugLine="If cp.RowCount > 0 Then"; +if (__ref._cp /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=14745604; + //BA.debugLineNum = 14745604;BA.debugLine="cp.Position = 0"; +__ref._cp /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=14745605; + //BA.debugLineNum = 14745605;BA.debugLine="Private fecha As String = cp.GetString(\"NV_FECHA"; +_fecha = __ref._cp /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("NV_FECHA"); +RDebugUtils.currentLine=14745606; + //BA.debugLineNum = 14745606;BA.debugLine="Log(cp.GetString(\"NV_FECHA\"))"; +__c.LogImpl("814745606",__ref._cp /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("NV_FECHA"),0); +RDebugUtils.currentLine=14745607; + //BA.debugLineNum = 14745607;BA.debugLine="Dim fecha2() As String = Regex.Split(\" \",fecha)"; +_fecha2 = __c.Regex.Split(" ",__ref._fecha /*String*/ ); +RDebugUtils.currentLine=14745608; + //BA.debugLineNum = 14745608;BA.debugLine="Log(fecha2(0))"; +__c.LogImpl("814745608",_fecha2[(int) (0)],0); +RDebugUtils.currentLine=14745609; + //BA.debugLineNum = 14745609;BA.debugLine="Dim fecha3() As String = Regex.Split(\"/\",fecha2("; +_fecha3 = __c.Regex.Split("/",_fecha2[(int) (0)]); +RDebugUtils.currentLine=14745610; + //BA.debugLineNum = 14745610;BA.debugLine="DateTime.DateFormat = \"yyyyMMdd\""; +__c.DateTime.setDateFormat("yyyyMMdd"); +RDebugUtils.currentLine=14745611; + //BA.debugLineNum = 14745611;BA.debugLine="DateTime.TimeFormat = \"\""; +__c.DateTime.setTimeFormat(""); +RDebugUtils.currentLine=14745612; + //BA.debugLineNum = 14745612;BA.debugLine="Dim dia As String = fecha3(2)&fecha3(0)&fecha3(1"; +_dia = _fecha3[(int) (2)]+_fecha3[(int) (0)]+_fecha3[(int) (1)]; +RDebugUtils.currentLine=14745613; + //BA.debugLineNum = 14745613;BA.debugLine="Log(dia)"; +__c.LogImpl("814745613",_dia,0); +RDebugUtils.currentLine=14745614; + //BA.debugLineNum = 14745614;BA.debugLine="Dim dia2 As String = DateTime.Date(DateTime.Now)"; +_dia2 = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=14745615; + //BA.debugLineNum = 14745615;BA.debugLine="Log(dia & \" , \" & dia2)"; +__c.LogImpl("814745615",_dia+" , "+_dia2,0); +RDebugUtils.currentLine=14745616; + //BA.debugLineNum = 14745616;BA.debugLine="If dia < dia2 Then"; +if ((double)(Double.parseDouble(_dia))<(double)(Double.parseDouble(_dia2))) { +RDebugUtils.currentLine=14745617; + //BA.debugLineNum = 14745617;BA.debugLine="pedidodiaanterior = True"; +_pedidodiaanterior = __c.True; + }; + }; +RDebugUtils.currentLine=14745620; + //BA.debugLineNum = 14745620;BA.debugLine="If Not (pedidodiaanterior) Then"; +if (__c.Not(_pedidodiaanterior)) { +RDebugUtils.currentLine=14745621; + //BA.debugLineNum = 14745621;BA.debugLine="P_carga.Visible = True"; +__ref._p_carga /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=14745622; + //BA.debugLineNum = 14745622;BA.debugLine="P_carga.Width = Root.Width"; +__ref._p_carga /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=14745623; + //BA.debugLineNum = 14745623;BA.debugLine="P_carga.Height = Root.Height"; +__ref._p_carga /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=14745624; + //BA.debugLineNum = 14745624;BA.debugLine="l_carga2.Text = \"CARGANDO\""; +__ref._l_carga2 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("CARGANDO")); +RDebugUtils.currentLine=14745625; + //BA.debugLineNum = 14745625;BA.debugLine="L_carga.Text = \"CARGANDO\""; +__ref._l_carga /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("CARGANDO")); +RDebugUtils.currentLine=14745626; + //BA.debugLineNum = 14745626;BA.debugLine="PB_carga.Progress = 0"; +__ref._pb_carga /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .setProgress((int) (0)); +RDebugUtils.currentLine=14745627; + //BA.debugLineNum = 14745627;BA.debugLine="PB_carga2.Progress = 0"; +__ref._pb_carga2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .setProgress((int) (0)); +RDebugUtils.currentLine=14745628; + //BA.debugLineNum = 14745628;BA.debugLine="Log(\"CUMPLE\")"; +__c.LogImpl("814745628","CUMPLE",0); +RDebugUtils.currentLine=14745629; + //BA.debugLineNum = 14745629;BA.debugLine="EJECUTANDO = 1"; +__ref._ejecutando /*String*/ = BA.NumberToString(1); +RDebugUtils.currentLine=14745630; + //BA.debugLineNum = 14745630;BA.debugLine="reqs.Initialize"; +__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=14745631; + //BA.debugLineNum = 14745631;BA.debugLine="TOPE = 0"; +__ref._tope /*int*/ = (int) (0); +RDebugUtils.currentLine=14745632; + //BA.debugLineNum = 14745632;BA.debugLine="LogColor($\"ReqServer = ${B4XPages.MainPage.serve"; +__c.LogImpl("814745632",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ))+""),__c.Colors.Red); +RDebugUtils.currentLine=14745633; + //BA.debugLineNum = 14745633;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.serv"; +__ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._initialize /*String*/ (null,ba,this,_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ); +RDebugUtils.currentLine=14745635; + //BA.debugLineNum = 14745635;BA.debugLine="Dim cmd As DBCommand"; +_cmd = new reparto_izca.keymon.lat.dbrequestmanager._dbcommand(); +RDebugUtils.currentLine=14745636; + //BA.debugLineNum = 14745636;BA.debugLine="cmd.Initialize"; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=14745637; + //BA.debugLineNum = 14745637;BA.debugLine="cmd.Name = \"insert_drop_rep_IZCA2\""; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Name /*String*/ = "insert_drop_rep_IZCA2"; +RDebugUtils.currentLine=14745638; + //BA.debugLineNum = 14745638;BA.debugLine="cmd.Parameters = Array As Object(Subs.dameUsuari"; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(_subs._dameusuariodedb /*String*/ (ba)),(Object)(__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._l_ctast /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(_subs._traeentregados /*anywheresoftware.b4a.objects.collections.Map*/ (ba).getObject()),(Object)(_subs._traerechazados /*anywheresoftware.b4a.objects.collections.Map*/ (ba).getObject()),(Object)("CARGA"),(Object)(__c.Application.getVersionName())}; +RDebugUtils.currentLine=14745639; + //BA.debugLineNum = 14745639;BA.debugLine="reqManager.ExecuteCommand(cmd , \"inst_drop\")"; +__ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ ,(Object)("inst_drop")); +RDebugUtils.currentLine=14745642; + //BA.debugLineNum = 14745642;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from kmt_info\""; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from kmt_info"); +RDebugUtils.currentLine=14745643; + //BA.debugLineNum = 14745643;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cod_resul"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cod_result"); +RDebugUtils.currentLine=14745644; + //BA.debugLineNum = 14745644;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from hist_gest"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from hist_gest"); +RDebugUtils.currentLine=14745645; + //BA.debugLineNum = 14745645;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CAT_DETAL"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CAT_DETALLES_PAQ"); +RDebugUtils.currentLine=14745646; + //BA.debugLineNum = 14745646;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from telefonos"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from telefonos"); +RDebugUtils.currentLine=14745647; + //BA.debugLineNum = 14745647;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_gunap"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_gunaprod"); +RDebugUtils.currentLine=14745648; + //BA.debugLineNum = 14745648;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_gunap"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_gunaprod3"); +RDebugUtils.currentLine=14745650; + //BA.debugLineNum = 14745650;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from PUNTEO_GP"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from PUNTEO_GPS"); +RDebugUtils.currentLine=14745651; + //BA.debugLineNum = 14745651;BA.debugLine="If l_ruta.Text = \"0\" Then '"; +if ((__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("0")) { +RDebugUtils.currentLine=14745652; + //BA.debugLineNum = 14745652;BA.debugLine="Log(\"********************* No hay ruta, BORRAM"; +__c.LogImpl("814745652","********************* No hay ruta, BORRAMOS TODO",0); +RDebugUtils.currentLine=14745653; + //BA.debugLineNum = 14745653;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from REPARTO\""; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from REPARTO"); +RDebugUtils.currentLine=14745654; + //BA.debugLineNum = 14745654;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from HIST_VEN"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from HIST_VENTAS"); +RDebugUtils.currentLine=14745655; + //BA.debugLineNum = 14745655;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from HIST_VEN"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from HIST_VENTAS2"); +RDebugUtils.currentLine=14745656; + //BA.debugLineNum = 14745656;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from NOVENTA\""; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from NOVENTA"); +RDebugUtils.currentLine=14745657; + //BA.debugLineNum = 14745657;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM ABONOSP\""; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM ABONOSP"); + }else { +RDebugUtils.currentLine=14745659; + //BA.debugLineNum = 14745659;BA.debugLine="Log(\"********************* Hay ruta, NO BORRAM"; +__c.LogImpl("814745659","********************* Hay ruta, NO BORRAMOS TODO",0); + }; +RDebugUtils.currentLine=14745663; + //BA.debugLineNum = 14745663;BA.debugLine="c=Starter.skmt.ExecQuery(\"select usuario from 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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select usuario from usuarioa"))); +RDebugUtils.currentLine=14745664; + //BA.debugLineNum = 14745664;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=14745665; + //BA.debugLineNum = 14745665;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=14745667; + //BA.debugLineNum = 14745667;BA.debugLine="cmd.Initialize"; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=14745668; + //BA.debugLineNum = 14745668;BA.debugLine="cmd.Name = \"select_punteo_re_REPG_IZCA\""; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_punteo_re_REPG_IZCA"; +RDebugUtils.currentLine=14745669; + //BA.debugLineNum = 14745669;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=14745670; + //BA.debugLineNum = 14745670;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"punteo\")"; +__ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("punteo")); +RDebugUtils.currentLine=14745671; + //BA.debugLineNum = 14745671;BA.debugLine="Log($\"Pedimos Punteo\"$)"; +__c.LogImpl("814745671",("Pedimos Punteo"),0); +RDebugUtils.currentLine=14745672; + //BA.debugLineNum = 14745672;BA.debugLine="reqs.Add(\"punteo\")"; +__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)("punteo")); +RDebugUtils.currentLine=14745674; + //BA.debugLineNum = 14745674;BA.debugLine="cmd.Initialize"; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=14745675; + //BA.debugLineNum = 14745675;BA.debugLine="cmd.Name = \"select_almacen_IZCA_re_REPG2\""; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_almacen_IZCA_re_REPG2"; +RDebugUtils.currentLine=14745676; + //BA.debugLineNum = 14745676;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=14745677; + //BA.debugLineNum = 14745677;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"gunaprod\")"; +__ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("gunaprod")); +RDebugUtils.currentLine=14745678; + //BA.debugLineNum = 14745678;BA.debugLine="Log($\"Pedimos gunaprod - ${ALMACEN}, ${e_ruta.te"; +__c.LogImpl("814745678",("Pedimos gunaprod - "+__c.SmartStringFormatter("",(Object)(__ref._almacen /*String*/ ))+", "+__c.SmartStringFormatter("",(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))+""),0); +RDebugUtils.currentLine=14745679; + //BA.debugLineNum = 14745679;BA.debugLine="reqs.Add(\"gunaprod\")"; +__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)("gunaprod")); +RDebugUtils.currentLine=14745686; + //BA.debugLineNum = 14745686;BA.debugLine="cmd.Initialize"; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=14745687; + //BA.debugLineNum = 14745687;BA.debugLine="cmd.Name = \"select_cliente_IZCA_re_REPG\""; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_cliente_IZCA_re_REPG"; +RDebugUtils.currentLine=14745688; + //BA.debugLineNum = 14745688;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=14745689; + //BA.debugLineNum = 14745689;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"kmt_datos\")"; +__ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("kmt_datos")); +RDebugUtils.currentLine=14745690; + //BA.debugLineNum = 14745690;BA.debugLine="Log($\"Pedimos kmt_datos\"$)"; +__c.LogImpl("814745690",("Pedimos kmt_datos"),0); +RDebugUtils.currentLine=14745691; + //BA.debugLineNum = 14745691;BA.debugLine="reqs.Add(\"kmt_datos\")"; +__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)("kmt_datos")); +RDebugUtils.currentLine=14745693; + //BA.debugLineNum = 14745693;BA.debugLine="cmd.Initialize"; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=14745694; + //BA.debugLineNum = 14745694;BA.debugLine="cmd.Name = \"select_ventad2_IZCA_re_REPG\""; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_ventad2_IZCA_re_REPG"; +RDebugUtils.currentLine=14745695; + //BA.debugLineNum = 14745695;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=14745696; + //BA.debugLineNum = 14745696;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"hist_datos\")"; +__ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("hist_datos")); +RDebugUtils.currentLine=14745697; + //BA.debugLineNum = 14745697;BA.debugLine="Log($\"Pedimos hist_datos\"$)"; +__c.LogImpl("814745697",("Pedimos hist_datos"),0); +RDebugUtils.currentLine=14745698; + //BA.debugLineNum = 14745698;BA.debugLine="reqs.Add(\"hist_datos\")"; +__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)("hist_datos")); +RDebugUtils.currentLine=14745700; + //BA.debugLineNum = 14745700;BA.debugLine="cmd.Initialize"; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=14745701; + //BA.debugLineNum = 14745701;BA.debugLine="cmd.Name = \"select_coords_almacen_IZCA\""; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_coords_almacen_IZCA"; +RDebugUtils.currentLine=14745702; + //BA.debugLineNum = 14745702;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=14745703; + //BA.debugLineNum = 14745703;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"coords_almacen"; +__ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("coords_almacen")); +RDebugUtils.currentLine=14745705; + //BA.debugLineNum = 14745705;BA.debugLine="cmd.Initialize"; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=14745706; + //BA.debugLineNum = 14745706;BA.debugLine="cmd.Name = \"select_cat_gunaprod3_IZCA\""; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_cat_gunaprod3_IZCA"; +RDebugUtils.currentLine=14745707; + //BA.debugLineNum = 14745707;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=14745708; + //BA.debugLineNum = 14745708;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"gunaprod3\")"; +__ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("gunaprod3")); +RDebugUtils.currentLine=14745745; + //BA.debugLineNum = 14745745;BA.debugLine="D=Starter.skmt.ExecQuery(\"SELECT COUNT(*) AS CUA"; +__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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT COUNT(*) AS CUANTOS_NOVENTA FROM NOVENTA"))); +RDebugUtils.currentLine=14745746; + //BA.debugLineNum = 14745746;BA.debugLine="d.Position=0"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=14745747; + //BA.debugLineNum = 14745747;BA.debugLine="cuantos_noventa = D.GetString(\"CUANTOS_NOVENTA\")"; +__ref._cuantos_noventa /*String*/ = __ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS_NOVENTA"); +RDebugUtils.currentLine=14745748; + //BA.debugLineNum = 14745748;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=14745749; + //BA.debugLineNum = 14745749;BA.debugLine="cargar.Visible = False"; +__ref._cargar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=14745750; + //BA.debugLineNum = 14745750;BA.debugLine="Subir.Visible = False"; +__ref._subir /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=14745751; + //BA.debugLineNum = 14745751;BA.debugLine="connecta.Visible = True"; +__ref._connecta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=14745752; + //BA.debugLineNum = 14745752;BA.debugLine="inv.Visible = False"; +__ref._inv /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=14745753; + //BA.debugLineNum = 14745753;BA.debugLine="ToastMessageShow(\"Se actualizarán los datos, est"; +__c.ToastMessageShow(BA.ObjectToCharSequence("Se actualizarán los datos, este proceso podria tardar hasta un minuto, gracias"),__c.True); +RDebugUtils.currentLine=14745755; + //BA.debugLineNum = 14745755;BA.debugLine="If Not(IsConnectedToInternet) Then MsgboxAsync(\""; +if (__c.Not(__ref._isconnectedtointernet /*boolean*/ (null))) { +__c.MsgboxAsync(BA.ObjectToCharSequence("No hay conexión a Internet"),BA.ObjectToCharSequence("Revisa tu conexión"),ba);}; + }else { +RDebugUtils.currentLine=14745759; + //BA.debugLineNum = 14745759;BA.debugLine="Log(\"XXXX\")"; +__c.LogImpl("814745759","XXXX",0); +RDebugUtils.currentLine=14745760; + //BA.debugLineNum = 14745760;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); + }; +RDebugUtils.currentLine=14745763; + //BA.debugLineNum = 14745763;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(reparto_izca.keymon.lat.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +RDebugUtils.currentLine=14090240; + //BA.debugLineNum = 14090240;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=14090241; + //BA.debugLineNum = 14090241;BA.debugLine="Private Root As B4XView 'ignore"; +_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=14090242; + //BA.debugLineNum = 14090242;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=14090243; + //BA.debugLineNum = 14090243;BA.debugLine="Dim reqManager As DBRequestManager"; +_reqmanager = new reparto_izca.keymon.lat.dbrequestmanager(); +RDebugUtils.currentLine=14090244; + //BA.debugLineNum = 14090244;BA.debugLine="Dim conectado As String"; +_conectado = ""; +RDebugUtils.currentLine=14090245; + //BA.debugLineNum = 14090245;BA.debugLine="Dim t1 As Timer"; +_t1 = new anywheresoftware.b4a.objects.Timer(); +RDebugUtils.currentLine=14090246; + //BA.debugLineNum = 14090246;BA.debugLine="Dim sb As StringBuilder"; +_sb = new anywheresoftware.b4a.keywords.StringBuilderWrapper(); +RDebugUtils.currentLine=14090247; + //BA.debugLineNum = 14090247;BA.debugLine="Dim PHONE As Phone"; +_phone = new anywheresoftware.b4a.phone.Phone(); +RDebugUtils.currentLine=14090248; + //BA.debugLineNum = 14090248;BA.debugLine="Dim trabajar As Button"; +_trabajar = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=14090249; + //BA.debugLineNum = 14090249;BA.debugLine="Dim c, a As Cursor"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_a = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=14090250; + //BA.debugLineNum = 14090250;BA.debugLine="Dim d As Cursor"; +_d = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=14090251; + //BA.debugLineNum = 14090251;BA.debugLine="Dim b As Cursor"; +_b = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=14090252; + //BA.debugLineNum = 14090252;BA.debugLine="Dim e As Cursor"; +_e = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=14090253; + //BA.debugLineNum = 14090253;BA.debugLine="Dim f As Cursor"; +_f = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=14090254; + //BA.debugLineNum = 14090254;BA.debugLine="Dim f1 As Cursor"; +_f1 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=14090255; + //BA.debugLineNum = 14090255;BA.debugLine="Dim f2 As Cursor"; +_f2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=14090256; + //BA.debugLineNum = 14090256;BA.debugLine="Dim f3 As Cursor"; +_f3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=14090257; + //BA.debugLineNum = 14090257;BA.debugLine="Dim F4 As Cursor"; +_f4 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=14090258; + //BA.debugLineNum = 14090258;BA.debugLine="Dim lv As ListView"; +_lv = new anywheresoftware.b4a.objects.ListViewWrapper(); +RDebugUtils.currentLine=14090259; + //BA.debugLineNum = 14090259;BA.debugLine="Dim cargar As Button"; +_cargar = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=14090260; + //BA.debugLineNum = 14090260;BA.debugLine="Dim pendiente As Button"; +_pendiente = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=14090261; + //BA.debugLineNum = 14090261;BA.debugLine="Dim foto1() As Byte"; +_foto1 = new byte[(int) (0)]; +; +RDebugUtils.currentLine=14090262; + //BA.debugLineNum = 14090262;BA.debugLine="Dim usuario As String"; +_usuario = ""; +RDebugUtils.currentLine=14090263; + //BA.debugLineNum = 14090263;BA.debugLine="Dim connecta As Button"; +_connecta = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=14090264; + //BA.debugLineNum = 14090264;BA.debugLine="Dim conn As String"; +_conn = ""; +RDebugUtils.currentLine=14090265; + //BA.debugLineNum = 14090265;BA.debugLine="Dim Subir As Button"; +_subir = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=14090266; + //BA.debugLineNum = 14090266;BA.debugLine="Dim cmd As DBCommand"; +_cmd = new reparto_izca.keymon.lat.dbrequestmanager._dbcommand(); +RDebugUtils.currentLine=14090267; + //BA.debugLineNum = 14090267;BA.debugLine="Dim TOPE As Int"; +_tope = 0; +RDebugUtils.currentLine=14090268; + //BA.debugLineNum = 14090268;BA.debugLine="Dim COUNT_CLIE As Int"; +_count_clie = 0; +RDebugUtils.currentLine=14090269; + //BA.debugLineNum = 14090269;BA.debugLine="Dim fecha As String"; +_fecha = ""; +RDebugUtils.currentLine=14090270; + //BA.debugLineNum = 14090270;BA.debugLine="Dim drop As Double"; +_drop = 0; +RDebugUtils.currentLine=14090271; + //BA.debugLineNum = 14090271;BA.debugLine="Dim efectiva As Double"; +_efectiva = 0; +RDebugUtils.currentLine=14090272; + //BA.debugLineNum = 14090272;BA.debugLine="Dim L As Cursor"; +_l = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=14090273; + //BA.debugLineNum = 14090273;BA.debugLine="Dim l_aLiquidar As Label"; +_l_aliquidar = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=14090274; + //BA.debugLineNum = 14090274;BA.debugLine="Dim l_cuantosc As Label"; +_l_cuantosc = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=14090275; + //BA.debugLineNum = 14090275;BA.debugLine="Dim l_montoSalida As Label"; +_l_montosalida = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=14090277; + //BA.debugLineNum = 14090277;BA.debugLine="Dim l_ctast As Label"; +_l_ctast = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=14090278; + //BA.debugLineNum = 14090278;BA.debugLine="Dim BUSCA As Button"; +_busca = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=14090279; + //BA.debugLineNum = 14090279;BA.debugLine="Dim Cuantos As String"; +_cuantos = ""; +RDebugUtils.currentLine=14090280; + //BA.debugLineNum = 14090280;BA.debugLine="Dim l_cuantosn As Label"; +_l_cuantosn = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=14090281; + //BA.debugLineNum = 14090281;BA.debugLine="Dim e_ruta As EditText"; +_e_ruta = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=14090282; + //BA.debugLineNum = 14090282;BA.debugLine="Dim l_porvisitar As Label"; +_l_porvisitar = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=14090283; + //BA.debugLineNum = 14090283;BA.debugLine="Dim b_mapa As Button"; +_b_mapa = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=14090284; + //BA.debugLineNum = 14090284;BA.debugLine="Dim l_ruta As Label"; +_l_ruta = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=14090285; + //BA.debugLineNum = 14090285;BA.debugLine="Dim ALMACEN As String"; +_almacen = ""; +RDebugUtils.currentLine=14090286; + //BA.debugLineNum = 14090286;BA.debugLine="Private img2 As ImageView"; +_img2 = new anywheresoftware.b4a.objects.ImageViewWrapper(); +RDebugUtils.currentLine=14090287; + //BA.debugLineNum = 14090287;BA.debugLine="Dim Listo1 As String"; +_listo1 = ""; +RDebugUtils.currentLine=14090288; + //BA.debugLineNum = 14090288;BA.debugLine="Dim Listo2 As String"; +_listo2 = ""; +RDebugUtils.currentLine=14090289; + //BA.debugLineNum = 14090289;BA.debugLine="Dim Listo3 As String"; +_listo3 = ""; +RDebugUtils.currentLine=14090290; + //BA.debugLineNum = 14090290;BA.debugLine="Dim Listo4 As String"; +_listo4 = ""; +RDebugUtils.currentLine=14090291; + //BA.debugLineNum = 14090291;BA.debugLine="Dim Listo5 As String"; +_listo5 = ""; +RDebugUtils.currentLine=14090292; + //BA.debugLineNum = 14090292;BA.debugLine="Dim EJECUTANDO As String"; +_ejecutando = ""; +RDebugUtils.currentLine=14090293; + //BA.debugLineNum = 14090293;BA.debugLine="Dim RES As String"; +_res = ""; +RDebugUtils.currentLine=14090294; + //BA.debugLineNum = 14090294;BA.debugLine="Dim inve As String"; +_inve = ""; +RDebugUtils.currentLine=14090295; + //BA.debugLineNum = 14090295;BA.debugLine="Dim cuantos_pedidosc As String"; +_cuantos_pedidosc = ""; +RDebugUtils.currentLine=14090296; + //BA.debugLineNum = 14090296;BA.debugLine="Dim cuantos_pedido As String"; +_cuantos_pedido = ""; +RDebugUtils.currentLine=14090297; + //BA.debugLineNum = 14090297;BA.debugLine="Dim cuantos_noventa As String"; +_cuantos_noventa = ""; +RDebugUtils.currentLine=14090298; + //BA.debugLineNum = 14090298;BA.debugLine="Dim datos_iguales As String"; +_datos_iguales = ""; +RDebugUtils.currentLine=14090299; + //BA.debugLineNum = 14090299;BA.debugLine="Dim p As PhoneId"; +_p = new anywheresoftware.b4a.phone.Phone.PhoneId(); +RDebugUtils.currentLine=14090300; + //BA.debugLineNum = 14090300;BA.debugLine="Dim imei As String"; +_imei = ""; +RDebugUtils.currentLine=14090302; + //BA.debugLineNum = 14090302;BA.debugLine="Private inv As Button"; +_inv = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=14090304; + //BA.debugLineNum = 14090304;BA.debugLine="Private L_MONTOE As Label"; +_l_montoe = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=14090305; + //BA.debugLineNum = 14090305;BA.debugLine="Private B_CLIEPROD As Button"; +_b_clieprod = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=14090306; + //BA.debugLineNum = 14090306;BA.debugLine="Private ListView1 As ListView"; +_listview1 = new anywheresoftware.b4a.objects.ListViewWrapper(); +RDebugUtils.currentLine=14090307; + //BA.debugLineNum = 14090307;BA.debugLine="Private B_REGRESA As Button"; +_b_regresa = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=14090308; + //BA.debugLineNum = 14090308;BA.debugLine="Private Panel1 As Panel"; +_panel1 = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=14090309; + //BA.debugLineNum = 14090309;BA.debugLine="Dim ESTATUS As String"; +_estatus = ""; +RDebugUtils.currentLine=14090310; + //BA.debugLineNum = 14090310;BA.debugLine="Dim batterystatus(11) As Int"; +_batterystatus = new int[(int) (11)]; +; +RDebugUtils.currentLine=14090311; + //BA.debugLineNum = 14090311;BA.debugLine="Private bu As BatteryUtilities"; +_bu = new reparto_izca.keymon.lat.batteryutilities(); +RDebugUtils.currentLine=14090312; + //BA.debugLineNum = 14090312;BA.debugLine="Dim RUTA_T As String"; +_ruta_t = ""; +RDebugUtils.currentLine=14090313; + //BA.debugLineNum = 14090313;BA.debugLine="Dim reqs As List"; +_reqs = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=14090315; + //BA.debugLineNum = 14090315;BA.debugLine="Private Btn_Ubicar_Ru As Button"; +_btn_ubicar_ru = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=14090316; + //BA.debugLineNum = 14090316;BA.debugLine="Dim cargo As String"; +_cargo = ""; +RDebugUtils.currentLine=14090317; + //BA.debugLineNum = 14090317;BA.debugLine="Private p_principal As Panel"; +_p_principal = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=14090318; + //BA.debugLineNum = 14090318;BA.debugLine="Dim ime As IME"; +_ime = new anywheresoftware.b4a.objects.IME(); +RDebugUtils.currentLine=14090319; + //BA.debugLineNum = 14090319;BA.debugLine="Private b_tabulador As Button"; +_b_tabulador = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=14090321; + //BA.debugLineNum = 14090321;BA.debugLine="Private l_rutasP As Label"; +_l_rutasp = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=14090322; + //BA.debugLineNum = 14090322;BA.debugLine="Private l_rechazo As Label"; +_l_rechazo = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=14090323; + //BA.debugLineNum = 14090323;BA.debugLine="Private Label9 As Label"; +_label9 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=14090324; + //BA.debugLineNum = 14090324;BA.debugLine="Dim cp As Cursor"; +_cp = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=14090325; + //BA.debugLineNum = 14090325;BA.debugLine="Private b_check As Button"; +_b_check = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=14090326; + //BA.debugLineNum = 14090326;BA.debugLine="Private b_rechazos As Button"; +_b_rechazos = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=14090327; + //BA.debugLineNum = 14090327;BA.debugLine="Private p_prod As Panel"; +_p_prod = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=14090328; + //BA.debugLineNum = 14090328;BA.debugLine="Private b_regreso As Button"; +_b_regreso = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=14090329; + //BA.debugLineNum = 14090329;BA.debugLine="Private lv_prod_Prin As ListView"; +_lv_prod_prin = new anywheresoftware.b4a.objects.ListViewWrapper(); +RDebugUtils.currentLine=14090330; + //BA.debugLineNum = 14090330;BA.debugLine="Private b_venta_emp As Button"; +_b_venta_emp = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=14090333; + //BA.debugLineNum = 14090333;BA.debugLine="Dim t8 As Timer"; +_t8 = new anywheresoftware.b4a.objects.Timer(); +RDebugUtils.currentLine=14090334; + //BA.debugLineNum = 14090334;BA.debugLine="Private B_carga As Button"; +_b_carga = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=14090335; + //BA.debugLineNum = 14090335;BA.debugLine="Private P_carga As Panel"; +_p_carga = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=14090336; + //BA.debugLineNum = 14090336;BA.debugLine="Private L_carga As Label"; +_l_carga = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=14090337; + //BA.debugLineNum = 14090337;BA.debugLine="Private PB_carga As ProgressBar"; +_pb_carga = new anywheresoftware.b4a.objects.ProgressBarWrapper(); +RDebugUtils.currentLine=14090338; + //BA.debugLineNum = 14090338;BA.debugLine="Private PB_carga2 As ProgressBar"; +_pb_carga2 = new anywheresoftware.b4a.objects.ProgressBarWrapper(); +RDebugUtils.currentLine=14090339; + //BA.debugLineNum = 14090339;BA.debugLine="Private l_carga2 As Label"; +_l_carga2 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=14090342; + //BA.debugLineNum = 14090342;BA.debugLine="Dim btAdmin As BluetoothAdmin"; +_btadmin = new anywheresoftware.b4a.objects.Serial.BluetoothAdmin(); +RDebugUtils.currentLine=14090343; + //BA.debugLineNum = 14090343;BA.debugLine="Dim cmp20 As Serial"; +_cmp20 = new anywheresoftware.b4a.objects.Serial(); +RDebugUtils.currentLine=14090344; + //BA.debugLineNum = 14090344;BA.debugLine="Dim printer As TextWriter"; +_printer = new anywheresoftware.b4a.objects.streams.File.TextWriterWrapper(); +RDebugUtils.currentLine=14090345; + //BA.debugLineNum = 14090345;BA.debugLine="Dim TAMANO As Int"; +_tamano = 0; +RDebugUtils.currentLine=14090346; + //BA.debugLineNum = 14090346;BA.debugLine="Dim ESPACIO As Int"; +_espacio = 0; +RDebugUtils.currentLine=14090347; + //BA.debugLineNum = 14090347;BA.debugLine="Dim BLANCO As String"; +_blanco = ""; +RDebugUtils.currentLine=14090348; + //BA.debugLineNum = 14090348;BA.debugLine="Dim Printer1 As EscPosPrinter"; +_printer1 = new reparto_izca.keymon.lat.escposprinter(); +RDebugUtils.currentLine=14090349; + //BA.debugLineNum = 14090349;BA.debugLine="Dim impresoraConectada As Boolean = False"; +_impresoraconectada = __c.False; +RDebugUtils.currentLine=14090350; + //BA.debugLineNum = 14090350;BA.debugLine="Dim errorImpresora As Int = 0"; +_errorimpresora = (int) (0); +RDebugUtils.currentLine=14090351; + //BA.debugLineNum = 14090351;BA.debugLine="Private inventario As ImageView"; +_inventario = new anywheresoftware.b4a.objects.ImageViewWrapper(); +RDebugUtils.currentLine=14090352; + //BA.debugLineNum = 14090352;BA.debugLine="Dim PASA_IMP As String"; +_pasa_imp = ""; +RDebugUtils.currentLine=14090353; + //BA.debugLineNum = 14090353;BA.debugLine="Private b_imp_inventario As Button"; +_b_imp_inventario = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=14090355; + //BA.debugLineNum = 14090355;BA.debugLine="Dim s As Cursor"; +_s = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=14090356; + //BA.debugLineNum = 14090356;BA.debugLine="Private PrinterIsReady As Boolean = False"; +_printerisready = __c.False; +RDebugUtils.currentLine=14090357; + //BA.debugLineNum = 14090357;BA.debugLine="Private LastConnectionAttempt As Long = 0"; +_lastconnectionattempt = (long) (0); +RDebugUtils.currentLine=14090358; + //BA.debugLineNum = 14090358;BA.debugLine="Private b_impresion_rec As Button"; +_b_impresion_rec = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=14090359; + //BA.debugLineNum = 14090359;BA.debugLine="Private L_clientes_visit As Label"; +_l_clientes_visit = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=14090360; + //BA.debugLineNum = 14090360;BA.debugLine="Private l_clientes_recha As Label"; +_l_clientes_recha = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=14090361; + //BA.debugLineNum = 14090361;BA.debugLine="Private l_clientes_visitados As Label"; +_l_clientes_visitados = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=14090362; + //BA.debugLineNum = 14090362;BA.debugLine="Private l_numtickets As Label"; +_l_numtickets = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=14090363; + //BA.debugLineNum = 14090363;BA.debugLine="Private P_CIEGO As Panel"; +_p_ciego = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=14090364; + //BA.debugLineNum = 14090364;BA.debugLine="Private B_PC_ENV As Button"; +_b_pc_env = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=14090365; + //BA.debugLineNum = 14090365;BA.debugLine="Private b_terpc As Button"; +_b_terpc = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=14090366; + //BA.debugLineNum = 14090366;BA.debugLine="Private CLV_PICK_CIEGO As CustomListView"; +_clv_pick_ciego = new b4a.example3.customlistview(); +RDebugUtils.currentLine=14090367; + //BA.debugLineNum = 14090367;BA.debugLine="Private L_PICK_CIEGO As Label"; +_l_pick_ciego = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=14090368; + //BA.debugLineNum = 14090368;BA.debugLine="Private ET_PICK_CIEGO As EditText"; +_et_pick_ciego = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=14090369; + //BA.debugLineNum = 14090369;BA.debugLine="Private P_PICK_CIEGO As Panel"; +_p_pick_ciego = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=14090370; + //BA.debugLineNum = 14090370;BA.debugLine="Private L_CANT_PCIK As Label"; +_l_cant_pcik = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=14090371; + //BA.debugLineNum = 14090371;BA.debugLine="End Sub"; +return ""; +} +public String _connecta_click(reparto_izca.keymon.lat.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "connecta_click", false)) + {return ((String) Debug.delegate(ba, "connecta_click", null));} +RDebugUtils.currentLine=15007744; + //BA.debugLineNum = 15007744;BA.debugLine="Sub connecta_Click"; +RDebugUtils.currentLine=15007745; + //BA.debugLineNum = 15007745;BA.debugLine="LogColor($\"ReqServer = ${B4XPages.MainPage.server"; +__c.LogImpl("815007745",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ))+""),__c.Colors.Red); +RDebugUtils.currentLine=15007746; + //BA.debugLineNum = 15007746;BA.debugLine="If Not(IsConnectedToInternet) Then MsgboxAsync(\"N"; +if (__c.Not(__ref._isconnectedtointernet /*boolean*/ (null))) { +__c.MsgboxAsync(BA.ObjectToCharSequence("No hay conexión a conexión a Internet"),BA.ObjectToCharSequence("Revisa tu conexión"),ba);}; +RDebugUtils.currentLine=15007747; + //BA.debugLineNum = 15007747;BA.debugLine="If e_ruta.Text <> \"\" Then"; +if ((__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("") == false) { +RDebugUtils.currentLine=15007748; + //BA.debugLineNum = 15007748;BA.debugLine="imei = \"\" 'p.GetDeviceId"; +__ref._imei /*String*/ = ""; +RDebugUtils.currentLine=15007749; + //BA.debugLineNum = 15007749;BA.debugLine="conn = \"1\""; +__ref._conn /*String*/ = "1"; +RDebugUtils.currentLine=15007750; + //BA.debugLineNum = 15007750;BA.debugLine="ime.HideKeyboard"; +__ref._ime /*anywheresoftware.b4a.objects.IME*/ .HideKeyboard(ba); +RDebugUtils.currentLine=15007751; + //BA.debugLineNum = 15007751;BA.debugLine="Dim cmd As DBCommand"; +_cmd = new reparto_izca.keymon.lat.dbrequestmanager._dbcommand(); +RDebugUtils.currentLine=15007752; + //BA.debugLineNum = 15007752;BA.debugLine="cmd.Initialize"; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=15007753; + //BA.debugLineNum = 15007753;BA.debugLine="cmd.Name = \"select_version_IZCA\""; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_version_IZCA"; +RDebugUtils.currentLine=15007754; + //BA.debugLineNum = 15007754;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"version\")"; +__ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("version")); +RDebugUtils.currentLine=15007755; + //BA.debugLineNum = 15007755;BA.debugLine="Dim cmd As DBCommand"; +_cmd = new reparto_izca.keymon.lat.dbrequestmanager._dbcommand(); +RDebugUtils.currentLine=15007756; + //BA.debugLineNum = 15007756;BA.debugLine="cmd.Initialize"; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=15007759; + //BA.debugLineNum = 15007759;BA.debugLine="cmd.Name = \"select_ruta_re_REPG_IZCA2\""; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_ruta_re_REPG_IZCA2"; +RDebugUtils.currentLine=15007760; + //BA.debugLineNum = 15007760;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_ruta"; +__ref._cmd /*reparto_izca.keymon.lat.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=15007761; + //BA.debugLineNum = 15007761;BA.debugLine="Log($\"${ALMACEN}, ${e_ruta.text}, ${usuario}\"$)"; +__c.LogImpl("815007761",(""+__c.SmartStringFormatter("",(Object)(__ref._almacen /*String*/ ))+", "+__c.SmartStringFormatter("",(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))+", "+__c.SmartStringFormatter("",(Object)(__ref._usuario /*String*/ ))+""),0); +RDebugUtils.currentLine=15007762; + //BA.debugLineNum = 15007762;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"ruta\")"; +__ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("ruta")); +RDebugUtils.currentLine=15007764; + //BA.debugLineNum = 15007764;BA.debugLine="ToastMessageShow(\"Validando Conexión.\" , True)"; +__c.ToastMessageShow(BA.ObjectToCharSequence("Validando Conexión."),__c.True); +RDebugUtils.currentLine=15007765; + //BA.debugLineNum = 15007765;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM RUTAA\")"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM RUTAA"); +RDebugUtils.currentLine=15007766; + //BA.debugLineNum = 15007766;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO RUTAA(RU"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO RUTAA(RUTAA) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())})); +RDebugUtils.currentLine=15007767; + //BA.debugLineNum = 15007767;BA.debugLine="B4XPages.MainPage.rutaPreventa = e_ruta.TEXT"; +_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._rutapreventa /*String*/ = __ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText(); + }; +RDebugUtils.currentLine=15007769; + //BA.debugLineNum = 15007769;BA.debugLine="End Sub"; +return ""; +} +public String _e_ruta_enterpressed(reparto_izca.keymon.lat.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=15204352; + //BA.debugLineNum = 15204352;BA.debugLine="Sub e_ruta_EnterPressed"; +RDebugUtils.currentLine=15204353; + //BA.debugLineNum = 15204353;BA.debugLine="If e_ruta.Text = \"FIN DIA\" Then"; +if ((__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("FIN DIA")) { +RDebugUtils.currentLine=15204354; + //BA.debugLineNum = 15204354;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 borraran?"),BA.ObjectToCharSequence("Cierre"),"Si","","No",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alert2.png").getObject()),ba)); +RDebugUtils.currentLine=15204355; + //BA.debugLineNum = 15204355;BA.debugLine="If RES = DialogResponse.POSITIVE Then"; +if ((__ref._res /*String*/ ).equals(BA.NumberToString(__c.DialogResponse.POSITIVE))) { +RDebugUtils.currentLine=15204357; + //BA.debugLineNum = 15204357;BA.debugLine="e_ruta.Text = \"\""; +__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=15204358; + //BA.debugLineNum = 15204358;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from PICK_CIE"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from PICK_CIEGO"); +RDebugUtils.currentLine=15204359; + //BA.debugLineNum = 15204359;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from REPARTO_"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from REPARTO_GEO"); +RDebugUtils.currentLine=15204360; + //BA.debugLineNum = 15204360;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from pedido_c"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente"); +RDebugUtils.currentLine=15204361; + //BA.debugLineNum = 15204361;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from PAGARES\""; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from PAGARES"); +RDebugUtils.currentLine=15204362; + //BA.debugLineNum = 15204362;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CHECADO_"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CHECADO_CHECK"); +RDebugUtils.currentLine=15204363; + //BA.debugLineNum = 15204363;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CHECKLIS"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CHECKLIST2"); +RDebugUtils.currentLine=15204364; + //BA.debugLineNum = 15204364;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from pedido\")"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido"); +RDebugUtils.currentLine=15204365; + //BA.debugLineNum = 15204365;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from noventa\""; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from noventa"); +RDebugUtils.currentLine=15204366; + //BA.debugLineNum = 15204366;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from clie_act"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from clie_act"); +RDebugUtils.currentLine=15204367; + //BA.debugLineNum = 15204367;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from kmt_info"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from kmt_info"); +RDebugUtils.currentLine=15204368; + //BA.debugLineNum = 15204368;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_guna"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_gunaprod"); +RDebugUtils.currentLine=15204369; + //BA.debugLineNum = 15204369;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_guna"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_gunaprod3"); +RDebugUtils.currentLine=15204370; + //BA.debugLineNum = 15204370;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CAT_DETA"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CAT_DETALLES_PAQ"); +RDebugUtils.currentLine=15204371; + //BA.debugLineNum = 15204371;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from HIST_VEN"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from HIST_VENTAS"); +RDebugUtils.currentLine=15204372; + //BA.debugLineNum = 15204372;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from REPARTO\""; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from REPARTO"); +RDebugUtils.currentLine=15204373; + //BA.debugLineNum = 15204373;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM TABULADO"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM TABULADOR_MONEDAS"); +RDebugUtils.currentLine=15204374; + //BA.debugLineNum = 15204374;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM TABULADO"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM TABULADOR_BILLETES"); +RDebugUtils.currentLine=15204375; + //BA.debugLineNum = 15204375;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM RUTAA\")"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM RUTAA"); +RDebugUtils.currentLine=15204376; + //BA.debugLineNum = 15204376;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM ABONOSP\""; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM ABONOSP"); +RDebugUtils.currentLine=15204377; + //BA.debugLineNum = 15204377;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM ABONOS\")"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM ABONOS"); +RDebugUtils.currentLine=15204378; + //BA.debugLineNum = 15204378;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM BLOCKENV"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM BLOCKENVIO"); +RDebugUtils.currentLine=15204379; + //BA.debugLineNum = 15204379;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); + }; +RDebugUtils.currentLine=15204382; + //BA.debugLineNum = 15204382;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from waypoints"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from waypoints"); + }; +RDebugUtils.currentLine=15204384; + //BA.debugLineNum = 15204384;BA.debugLine="End Sub"; +return ""; +} +public String _envioinfo(reparto_izca.keymon.lat.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "envioinfo", false)) + {return ((String) Debug.delegate(ba, "envioinfo", null));} +int _i = 0; +anywheresoftware.b4a.sql.SQL.CursorWrapper _r = null; +int _rx = 0; +anywheresoftware.b4a.sql.SQL.CursorWrapper _o = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _pa = null; +int _pag = 0; +String[] _fechaenvio = null; +String[] _fechacap = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _ab = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _ab1 = null; +String[] _fechatabulador = null; +String _fechatabulador3 = ""; +anywheresoftware.b4a.sql.SQL.CursorWrapper _d4 = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _d5 = null; +String _restacant = ""; +String[] _fecha1 = null; +String _fecha3 = ""; +String _hora = ""; +String _sdate = ""; +String _stime = ""; +RDebugUtils.currentLine=14680064; + //BA.debugLineNum = 14680064;BA.debugLine="Sub envioinfo"; +RDebugUtils.currentLine=14680069; + //BA.debugLineNum = 14680069;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT NV_CLIENTE,NV_"; +__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 NV_CLIENTE,NV_FECHA,NV_USER,NV_MOTIVO,NV_COMM,NV_LAT,NV_LON, NV_FOTO, NV_REPROGRAMAR FROM NOVENTA"))); +RDebugUtils.currentLine=14680070; + //BA.debugLineNum = 14680070;BA.debugLine="D=Starter.skmt.ExecQuery(\"SELECT COUNT(*) AS CUAN"; +__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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT COUNT(*) AS CUANTOS_NOVENTA FROM NOVENTA"))); +RDebugUtils.currentLine=14680071; + //BA.debugLineNum = 14680071;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=14680072; + //BA.debugLineNum = 14680072;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=14680073; + //BA.debugLineNum = 14680073;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=14680074; + //BA.debugLineNum = 14680074;BA.debugLine="foto1 = c.GetBlob(\"NV_FOTO\")"; +__ref._foto1 /*byte[]*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetBlob("NV_FOTO"); +RDebugUtils.currentLine=14680075; + //BA.debugLineNum = 14680075;BA.debugLine="Dim cmd As DBCommand"; +_cmd = new reparto_izca.keymon.lat.dbrequestmanager._dbcommand(); +RDebugUtils.currentLine=14680076; + //BA.debugLineNum = 14680076;BA.debugLine="cmd.Initialize"; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=14680077; + //BA.debugLineNum = 14680077;BA.debugLine="cmd.Name = \"insert_reparto_REPG_IZCA\""; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Name /*String*/ = "insert_reparto_REPG_IZCA"; +RDebugUtils.currentLine=14680078; + //BA.debugLineNum = 14680078;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\"N"; +__ref._cmd /*reparto_izca.keymon.lat.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()),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("NV_REPROGRAMAR"))}; +RDebugUtils.currentLine=14680079; + //BA.debugLineNum = 14680079;BA.debugLine="reqManager.ExecuteCommand(cmd , \"inst_noventa_"; +__ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ ,(Object)("inst_noventa_")); + } +}; +RDebugUtils.currentLine=14680081; + //BA.debugLineNum = 14680081;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }; +RDebugUtils.currentLine=14680083; + //BA.debugLineNum = 14680083;BA.debugLine="d.Position=0"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=14680084; + //BA.debugLineNum = 14680084;BA.debugLine="cuantos_noventa = D.GetString(\"CUANTOS_NOVENTA\")"; +__ref._cuantos_noventa /*String*/ = __ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS_NOVENTA"); +RDebugUtils.currentLine=14680085; + //BA.debugLineNum = 14680085;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=14680088; + //BA.debugLineNum = 14680088;BA.debugLine="Dim r As Cursor =Starter.skmt.ExecQuery(\"select *"; +_r = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_r = (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 noventa where nv_reprogramar = 1"))); +RDebugUtils.currentLine=14680089; + //BA.debugLineNum = 14680089;BA.debugLine="If r.RowCount > 0 Then"; +if (_r.getRowCount()>0) { +RDebugUtils.currentLine=14680090; + //BA.debugLineNum = 14680090;BA.debugLine="For rx = 0 To r.RowCount - 1"; +{ +final int step20 = 1; +final int limit20 = (int) (_r.getRowCount()-1); +_rx = (int) (0) ; +for (;_rx <= limit20 ;_rx = _rx + step20 ) { +RDebugUtils.currentLine=14680091; + //BA.debugLineNum = 14680091;BA.debugLine="r.Position = rx"; +_r.setPosition(_rx); +RDebugUtils.currentLine=14680092; + //BA.debugLineNum = 14680092;BA.debugLine="Dim o As Cursor = Starter.skmt.ExecQuery2(\"sele"; +_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*/ .ExecQuery2("select HVD_FECHA, CAT_CL_RUTA FROM HIST_VENTAS INNER JOIN kmt_info on HVD_CLIENTE = cat_cl_codigo WHERE HVD_CLIENTE = ?",new String[]{_r.GetString("NV_CLIENTE")}))); +RDebugUtils.currentLine=14680093; + //BA.debugLineNum = 14680093;BA.debugLine="If o.RowCount > 0 Then"; +if (_o.getRowCount()>0) { +RDebugUtils.currentLine=14680094; + //BA.debugLineNum = 14680094;BA.debugLine="o.Position = 0"; +_o.setPosition((int) (0)); +RDebugUtils.currentLine=14680095; + //BA.debugLineNum = 14680095;BA.debugLine="Log(\"Enviamos reprogramados: \" & r.RowCount)"; +__c.LogImpl("814680095","Enviamos reprogramados: "+BA.NumberToString(_r.getRowCount()),0); +RDebugUtils.currentLine=14680097; + //BA.debugLineNum = 14680097;BA.debugLine="Dim cmd As DBCommand"; +_cmd = new reparto_izca.keymon.lat.dbrequestmanager._dbcommand(); +RDebugUtils.currentLine=14680098; + //BA.debugLineNum = 14680098;BA.debugLine="cmd.Initialize"; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=14680099; + //BA.debugLineNum = 14680099;BA.debugLine="cmd.Name = \"insert_reparto_reprogramar3_IZCA\""; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Name /*String*/ = "insert_reparto_reprogramar3_IZCA"; +RDebugUtils.currentLine=14680100; + //BA.debugLineNum = 14680100;BA.debugLine="cmd.Parameters = Array As Object(r.GetString(\""; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(_r.GetString("NV_CLIENTE")),(Object)(_r.GetString("NV_REPROGRAMAR")),(Object)(_o.GetString("HVD_FECHA")),(Object)(_o.GetString("CAT_CL_RUTA")),(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=14680101; + //BA.debugLineNum = 14680101;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_reprogram"; +__ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ ,(Object)("ins_reprogramar")); + }; + } +}; + }; +RDebugUtils.currentLine=14680105; + //BA.debugLineNum = 14680105;BA.debugLine="r.Close"; +_r.Close(); +RDebugUtils.currentLine=14680162; + //BA.debugLineNum = 14680162;BA.debugLine="Dim pa As Cursor =Starter.skmt.ExecQuery(\"select"; +_pa = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_pa = (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 PA_ALMACEN,PA_RUTA_REP,PA_RUTAPREV,PA_FECHA_PREV,PA_CAPTURA,PA_MONTO,PA_USUARIO,PA_CLIENTE from PAGARES"))); +RDebugUtils.currentLine=14680163; + //BA.debugLineNum = 14680163;BA.debugLine="If pa.RowCount > 0 Then"; +if (_pa.getRowCount()>0) { +RDebugUtils.currentLine=14680164; + //BA.debugLineNum = 14680164;BA.debugLine="For pag = 0 To pa.RowCount - 1"; +{ +final int step37 = 1; +final int limit37 = (int) (_pa.getRowCount()-1); +_pag = (int) (0) ; +for (;_pag <= limit37 ;_pag = _pag + step37 ) { +RDebugUtils.currentLine=14680165; + //BA.debugLineNum = 14680165;BA.debugLine="pa.Position = pag"; +_pa.setPosition(_pag); +RDebugUtils.currentLine=14680166; + //BA.debugLineNum = 14680166;BA.debugLine="Dim cmd As DBCommand"; +_cmd = new reparto_izca.keymon.lat.dbrequestmanager._dbcommand(); +RDebugUtils.currentLine=14680167; + //BA.debugLineNum = 14680167;BA.debugLine="cmd.Initialize"; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=14680168; + //BA.debugLineNum = 14680168;BA.debugLine="cmd.Name = \"insert_reparto_PAGARES_IZCA_VN\""; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Name /*String*/ = "insert_reparto_PAGARES_IZCA_VN"; +RDebugUtils.currentLine=14680169; + //BA.debugLineNum = 14680169;BA.debugLine="Dim fechaenvio() As String"; +_fechaenvio = new String[(int) (0)]; +java.util.Arrays.fill(_fechaenvio,""); +RDebugUtils.currentLine=14680170; + //BA.debugLineNum = 14680170;BA.debugLine="fechaenvio = Regex.Split(\" \",pa.GetString(\"PA_F"; +_fechaenvio = __c.Regex.Split(" ",_pa.GetString("PA_FECHA_PREV")); +RDebugUtils.currentLine=14680177; + //BA.debugLineNum = 14680177;BA.debugLine="Dim fechacap() As String"; +_fechacap = new String[(int) (0)]; +java.util.Arrays.fill(_fechacap,""); +RDebugUtils.currentLine=14680178; + //BA.debugLineNum = 14680178;BA.debugLine="fechacap = Regex.Split(\"/\",pa.GetString(\"PA_CAP"; +_fechacap = __c.Regex.Split("/",_pa.GetString("PA_CAPTURA")); +RDebugUtils.currentLine=14680184; + //BA.debugLineNum = 14680184;BA.debugLine="cmd.Parameters = Array As Object(pa.GetString("; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(_pa.GetString("PA_CLIENTE")),(Object)(_pa.GetString("PA_MONTO")),(Object)(_fechaenvio[(int) (0)]),(Object)(_pa.GetString("PA_ALMACEN")),(Object)(_pa.GetString("PA_RUTAPREV")),(Object)(_pa.GetString("PA_RUTA_REP")),(Object)(_pa.GetString("PA_CAPTURA")),(Object)(_pa.GetString("PA_USUARIO")),(Object)("")}; +RDebugUtils.currentLine=14680186; + //BA.debugLineNum = 14680186;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_pagares\")"; +__ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ ,(Object)("ins_pagares")); + } +}; + }; +RDebugUtils.currentLine=14680189; + //BA.debugLineNum = 14680189;BA.debugLine="pa.Close"; +_pa.Close(); +RDebugUtils.currentLine=14680192; + //BA.debugLineNum = 14680192;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT RUTAA FROM RUT"; +__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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT RUTAA FROM RUTAA"))); +RDebugUtils.currentLine=14680193; + //BA.debugLineNum = 14680193;BA.debugLine="d.Position = 0"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=14680194; + //BA.debugLineNum = 14680194;BA.debugLine="Dim ab As Cursor = Starter.skmt.ExecQuery($\"SELEC"; +_ab = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_ab = (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 ABONOS where a_enviado is null and a_tipoabono IS NULL")))); +RDebugUtils.currentLine=14680195; + //BA.debugLineNum = 14680195;BA.debugLine="Log(ab.RowCount)"; +__c.LogImpl("814680195",BA.NumberToString(_ab.getRowCount()),0); +RDebugUtils.currentLine=14680196; + //BA.debugLineNum = 14680196;BA.debugLine="If ab.RowCount > 0 Then"; +if (_ab.getRowCount()>0) { +RDebugUtils.currentLine=14680197; + //BA.debugLineNum = 14680197;BA.debugLine="For i=0 To ab.RowCount -1"; +{ +final int step56 = 1; +final int limit56 = (int) (_ab.getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit56 ;_i = _i + step56 ) { +RDebugUtils.currentLine=14680198; + //BA.debugLineNum = 14680198;BA.debugLine="ab.Position = i"; +_ab.setPosition(_i); +RDebugUtils.currentLine=14680200; + //BA.debugLineNum = 14680200;BA.debugLine="Dim ab1 As Cursor = Starter.skmt.ExecQuery($\"SE"; +_ab1 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_ab1 = (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 a_abono from ABONOS where a_cliente = '"+__c.SmartStringFormatter("",(Object)(_ab.GetString("a_cliente")))+"' and a_tipoabono IS NULL")))); +RDebugUtils.currentLine=14680201; + //BA.debugLineNum = 14680201;BA.debugLine="ab1.Position = 0"; +_ab1.setPosition((int) (0)); +RDebugUtils.currentLine=14680203; + //BA.debugLineNum = 14680203;BA.debugLine="Dim cmd As DBCommand"; +_cmd = new reparto_izca.keymon.lat.dbrequestmanager._dbcommand(); +RDebugUtils.currentLine=14680204; + //BA.debugLineNum = 14680204;BA.debugLine="cmd.Initialize"; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=14680205; + //BA.debugLineNum = 14680205;BA.debugLine="cmd.Name = \"insert_abono_REP_IZCA_VN2\""; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Name /*String*/ = "insert_abono_REP_IZCA_VN2"; +RDebugUtils.currentLine=14680206; + //BA.debugLineNum = 14680206;BA.debugLine="cmd.Parameters = Array As Object( ab.GetString("; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(_ab.GetString("a_usuario")),(Object)(_ab.GetString("a_ruta")),(Object)(_ab.GetString("a_cliente")),(Object)(_ab.GetString("a_abono")),(Object)(_ab.GetString("a_fecha")),(Object)(__ref._almacen /*String*/ ),(Object)("REPARTO"),(Object)(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("RUTAA")),(Object)(""),(Object)(_ab.GetString("TIPO_PAGO")),(Object)(_ab.GetString("a_ticket")),(Object)(_ab.GetString("a_numpago"))}; +RDebugUtils.currentLine=14680207; + //BA.debugLineNum = 14680207;BA.debugLine="reqManager.ExecuteCommand(cmd , $\"ins_abonosPen"; +__ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ ,(Object)(("ins_abonosPendientes_"+__c.SmartStringFormatter("",(Object)(_ab.GetString("a_cliente")))+""))); +RDebugUtils.currentLine=14680208; + //BA.debugLineNum = 14680208;BA.debugLine="ab1.Close"; +_ab1.Close(); +RDebugUtils.currentLine=14680209; + //BA.debugLineNum = 14680209;BA.debugLine="Log($\"ins_abonosPendientes_${ab.GetString(\"a_cl"; +__c.LogImpl("814680209",("ins_abonosPendientes_"+__c.SmartStringFormatter("",(Object)(_ab.GetString("a_cliente")))+""),0); + } +}; + }; +RDebugUtils.currentLine=14680212; + //BA.debugLineNum = 14680212;BA.debugLine="ab.Close"; +_ab.Close(); +RDebugUtils.currentLine=14680213; + //BA.debugLineNum = 14680213;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=14680217; + //BA.debugLineNum = 14680217;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT RUTAA FROM RUT"; +__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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT RUTAA FROM RUTAA"))); +RDebugUtils.currentLine=14680218; + //BA.debugLineNum = 14680218;BA.debugLine="d.Position = 0"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=14680219; + //BA.debugLineNum = 14680219;BA.debugLine="Dim ab As Cursor = Starter.skmt.ExecQuery($\"SELEC"; +_ab = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_ab = (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 ABONOS where a_enviado is null and a_tipoabono IS NOT NULL")))); +RDebugUtils.currentLine=14680220; + //BA.debugLineNum = 14680220;BA.debugLine="Log(ab.RowCount)"; +__c.LogImpl("814680220",BA.NumberToString(_ab.getRowCount()),0); +RDebugUtils.currentLine=14680221; + //BA.debugLineNum = 14680221;BA.debugLine="If ab.RowCount > 0 Then"; +if (_ab.getRowCount()>0) { +RDebugUtils.currentLine=14680222; + //BA.debugLineNum = 14680222;BA.debugLine="For i=0 To ab.RowCount -1"; +{ +final int step76 = 1; +final int limit76 = (int) (_ab.getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit76 ;_i = _i + step76 ) { +RDebugUtils.currentLine=14680223; + //BA.debugLineNum = 14680223;BA.debugLine="ab.Position = i"; +_ab.setPosition(_i); +RDebugUtils.currentLine=14680225; + //BA.debugLineNum = 14680225;BA.debugLine="Dim ab1 As Cursor = Starter.skmt.ExecQuery($\"SE"; +_ab1 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_ab1 = (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 a_abono from ABONOS where a_cliente = '"+__c.SmartStringFormatter("",(Object)(_ab.GetString("a_cliente")))+"' and a_tipoabono IS NOT NULL")))); +RDebugUtils.currentLine=14680226; + //BA.debugLineNum = 14680226;BA.debugLine="ab1.Position = 0"; +_ab1.setPosition((int) (0)); +RDebugUtils.currentLine=14680228; + //BA.debugLineNum = 14680228;BA.debugLine="Dim cmd As DBCommand"; +_cmd = new reparto_izca.keymon.lat.dbrequestmanager._dbcommand(); +RDebugUtils.currentLine=14680229; + //BA.debugLineNum = 14680229;BA.debugLine="cmd.Initialize"; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=14680230; + //BA.debugLineNum = 14680230;BA.debugLine="cmd.Name = \"insert_abono_REP_IZCA_VN2\""; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Name /*String*/ = "insert_abono_REP_IZCA_VN2"; +RDebugUtils.currentLine=14680231; + //BA.debugLineNum = 14680231;BA.debugLine="cmd.Parameters = Array As Object( ab.GetString("; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(_ab.GetString("a_usuario")),(Object)(_ab.GetString("a_ruta")),(Object)(_ab.GetString("a_cliente")),(Object)(_ab.GetString("a_abono")),(Object)(_ab.GetString("a_fecha")),(Object)(__ref._almacen /*String*/ ),(Object)("REPARTO"),(Object)(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("RUTAA")),(Object)("1"),(Object)(_ab.GetString("TIPO_PAGO")),(Object)(_ab.GetString("a_ticket")),(Object)(_ab.GetString("a_numpago"))}; +RDebugUtils.currentLine=14680232; + //BA.debugLineNum = 14680232;BA.debugLine="reqManager.ExecuteCommand(cmd , $\"ins_abonosPen"; +__ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ ,(Object)(("ins_abonosPendientes_"+__c.SmartStringFormatter("",(Object)(_ab.GetString("a_cliente")))+""))); +RDebugUtils.currentLine=14680233; + //BA.debugLineNum = 14680233;BA.debugLine="ab1.Close"; +_ab1.Close(); +RDebugUtils.currentLine=14680234; + //BA.debugLineNum = 14680234;BA.debugLine="Log($\"ins_abonosPendientes_${ab.GetString(\"a_cl"; +__c.LogImpl("814680234",("ins_abonosPendientes_"+__c.SmartStringFormatter("",(Object)(_ab.GetString("a_cliente")))+""),0); + } +}; + }; +RDebugUtils.currentLine=14680237; + //BA.debugLineNum = 14680237;BA.debugLine="ab.Close"; +_ab.Close(); +RDebugUtils.currentLine=14680238; + //BA.debugLineNum = 14680238;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=14680262; + //BA.debugLineNum = 14680262;BA.debugLine="c=Starter.skmt.ExecQuery(\"SELECT PE_TIPO, PE_RUTA"; +__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 PE_TIPO, PE_RUTA, PE_CEDIS, PE_COSTO_TOT, PE_COSTOU, PE_CANT, PE_PRONOMBRE, PE_PROID, PE_CLIENTE, PE_FECHA, PE_USUARIO, PE_CLIENTEOR, PE_CAJAS, PE_BCAJAS, CONSECUTIVO, FECHA_PREV, RUTA_REP, PE_REGALO FROM PEDIDO"))); +RDebugUtils.currentLine=14680263; + //BA.debugLineNum = 14680263;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=14680264; + //BA.debugLineNum = 14680264;BA.debugLine="For i=0 To c.RowCount -1"; +{ +final int step93 = 1; +final int limit93 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit93 ;_i = _i + step93 ) { +RDebugUtils.currentLine=14680265; + //BA.debugLineNum = 14680265;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=14680266; + //BA.debugLineNum = 14680266;BA.debugLine="Dim cmd As DBCommand"; +_cmd = new reparto_izca.keymon.lat.dbrequestmanager._dbcommand(); +RDebugUtils.currentLine=14680267; + //BA.debugLineNum = 14680267;BA.debugLine="cmd.Initialize"; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=14680268; + //BA.debugLineNum = 14680268;BA.debugLine="cmd.Name = \"insert_pedido_REP_IZCA\""; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Name /*String*/ = "insert_pedido_REP_IZCA"; +RDebugUtils.currentLine=14680269; + //BA.debugLineNum = 14680269;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\"P"; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_TIPO")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RUTA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CEDIS")),(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_CLIENTEOR")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CAJAS")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_BCAJAS")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CONSECUTIVO")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("FECHA_PREV")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("RUTA_REP")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_REGALO"))}; +RDebugUtils.currentLine=14680270; + //BA.debugLineNum = 14680270;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_pedido_Inm"; +__ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ ,(Object)("ins_pedido_Inmtex")); + } +}; +RDebugUtils.currentLine=14680272; + //BA.debugLineNum = 14680272;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }; +RDebugUtils.currentLine=14680336; + //BA.debugLineNum = 14680336;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT PC_ID_PROD, PC"; +__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 PC_ID_PROD, PC_ALMACEN, PC_RUTA, PC_FECHA FROM PICK_CIEGO"))); +RDebugUtils.currentLine=14680337; + //BA.debugLineNum = 14680337;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=14680338; + //BA.debugLineNum = 14680338;BA.debugLine="For i = 0 To c.RowCount - 1"; +{ +final int step105 = 1; +final int limit105 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit105 ;_i = _i + step105 ) { +RDebugUtils.currentLine=14680339; + //BA.debugLineNum = 14680339;BA.debugLine="c.Position = i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=14680340; + //BA.debugLineNum = 14680340;BA.debugLine="Dim cmd As DBCommand"; +_cmd = new reparto_izca.keymon.lat.dbrequestmanager._dbcommand(); +RDebugUtils.currentLine=14680341; + //BA.debugLineNum = 14680341;BA.debugLine="cmd.Initialize"; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=14680342; + //BA.debugLineNum = 14680342;BA.debugLine="cmd.Name = \"select_HIST_PICKCIEGO_IZCA\" '"; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_HIST_PICKCIEGO_IZCA"; +RDebugUtils.currentLine=14680343; + //BA.debugLineNum = 14680343;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\"P"; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_ID_PROD")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_ALMACEN")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_RUTA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_FECHA")),(Object)("REPARTO")}; +RDebugUtils.currentLine=14680344; + //BA.debugLineNum = 14680344;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, $\"PICK_C_${c.G"; +__ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)(("PICK_C_"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_ID_PROD")))+""))); + } +}; + }; +RDebugUtils.currentLine=14680347; + //BA.debugLineNum = 14680347;BA.debugLine="c.close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=14680350; + //BA.debugLineNum = 14680350;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT VEINTE, DIEZ,"; +__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 VEINTE, DIEZ, CINCO, DOS, PESO, CENTAVO, TOTAL FROM TABULADOR_MONEDAS"))); +RDebugUtils.currentLine=14680351; + //BA.debugLineNum = 14680351;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT RUTAA FROM RUT"; +__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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT RUTAA FROM RUTAA"))); +RDebugUtils.currentLine=14680352; + //BA.debugLineNum = 14680352;BA.debugLine="b = Starter.skmt.ExecQuery(\"SELECT ID_ALMACEN FRO"; +__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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT ID_ALMACEN FROM CAT_ALMACEN"))); +RDebugUtils.currentLine=14680353; + //BA.debugLineNum = 14680353;BA.debugLine="f = Starter.skmt.ExecQuery(\"SELECT HVD_FECHA FROM"; +__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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT HVD_FECHA FROM HIST_VENTAS"))); +RDebugUtils.currentLine=14680354; + //BA.debugLineNum = 14680354;BA.debugLine="d.Position = 0"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=14680355; + //BA.debugLineNum = 14680355;BA.debugLine="b.Position = 0"; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=14680356; + //BA.debugLineNum = 14680356;BA.debugLine="f.Position = 0"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=14680357; + //BA.debugLineNum = 14680357;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=14680358; + //BA.debugLineNum = 14680358;BA.debugLine="For i = 0 To c.RowCount - 1"; +{ +final int step123 = 1; +final int limit123 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit123 ;_i = _i + step123 ) { +RDebugUtils.currentLine=14680359; + //BA.debugLineNum = 14680359;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=14680360; + //BA.debugLineNum = 14680360;BA.debugLine="Dim cmd As DBCommand"; +_cmd = new reparto_izca.keymon.lat.dbrequestmanager._dbcommand(); +RDebugUtils.currentLine=14680361; + //BA.debugLineNum = 14680361;BA.debugLine="Dim fechatabulador() As String = Regex.Split(\""; +_fechatabulador = __c.Regex.Split(" ",__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_FECHA")); +RDebugUtils.currentLine=14680363; + //BA.debugLineNum = 14680363;BA.debugLine="Dim fechatabulador3 As String = fechatabulador("; +_fechatabulador3 = _fechatabulador[(int) (0)]; +RDebugUtils.currentLine=14680364; + //BA.debugLineNum = 14680364;BA.debugLine="cmd.Initialize"; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=14680365; + //BA.debugLineNum = 14680365;BA.debugLine="cmd.Name = \"insert_tabulador_monedas_IZCA\""; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Name /*String*/ = "insert_tabulador_monedas_IZCA"; +RDebugUtils.currentLine=14680366; + //BA.debugLineNum = 14680366;BA.debugLine="cmd.Parameters = Array As Object(d.GetString(\"R"; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("RUTAA")),(Object)(__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("ID_ALMACEN")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("VEINTE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("DIEZ")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CINCO")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("DOS")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PESO")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CENTAVO")),(Object)(_fechatabulador3)}; +RDebugUtils.currentLine=14680367; + //BA.debugLineNum = 14680367;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_tabulador_"; +__ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ ,(Object)("ins_tabulador_mon")); + } +}; +RDebugUtils.currentLine=14680369; + //BA.debugLineNum = 14680369;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=14680370; + //BA.debugLineNum = 14680370;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=14680371; + //BA.debugLineNum = 14680371;BA.debugLine="b.Close"; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=14680372; + //BA.debugLineNum = 14680372;BA.debugLine="f.Close"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }; +RDebugUtils.currentLine=14680375; + //BA.debugLineNum = 14680375;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT IFNULL(HVD_REC"; +__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 IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT, HVD_CLIENTE, HVD_PROID, HVD_FECHA, HVD_CODPROMO, HVD_NUM_TICKET, HVD_CANT, CONSECUTIVO, BCAJAS, CANTC FROM HIST_VENTAS"))); +RDebugUtils.currentLine=14680376; + //BA.debugLineNum = 14680376;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=14680377; + //BA.debugLineNum = 14680377;BA.debugLine="For i=0 To c.RowCount -1"; +{ +final int step140 = 1; +final int limit140 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit140 ;_i = _i + step140 ) { +RDebugUtils.currentLine=14680378; + //BA.debugLineNum = 14680378;BA.debugLine="c.Position = i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=14680379; + //BA.debugLineNum = 14680379;BA.debugLine="Log(c.GetString(\"HVD_CLIENTE\"))"; +__c.LogImpl("814680379",__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CLIENTE"),0); +RDebugUtils.currentLine=14680380; + //BA.debugLineNum = 14680380;BA.debugLine="Private d4 As Cursor = Starter.skmt.ExecQuery($"; +_d4 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_d4 = (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_info WHERE CAT_CL_CODIGO = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CLIENTE")))+"'")))); +RDebugUtils.currentLine=14680381; + //BA.debugLineNum = 14680381;BA.debugLine="d4.Position = 0"; +_d4.setPosition((int) (0)); +RDebugUtils.currentLine=14680382; + //BA.debugLineNum = 14680382;BA.debugLine="Log(d4.GetString(\"CAT_CL_RUTA\"))"; +__c.LogImpl("814680382",_d4.GetString("CAT_CL_RUTA"),0); +RDebugUtils.currentLine=14680383; + //BA.debugLineNum = 14680383;BA.debugLine="Private d5 As Cursor = Starter.skmt.ExecQuery("; +_d5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_d5 = (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 IFNULL(Sum(PE_CANT),0) AS PE_CANT FROM PEDIDO WHERE PE_CLIENTEOR = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CLIENTE")))+"' AND PE_PROID = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID")))+"' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CONSECUTIVO")))+"' and PE_TIPO NOT IN ('DANADO','FALTANTE','SOBRANTE') ")))); +RDebugUtils.currentLine=14680384; + //BA.debugLineNum = 14680384;BA.debugLine="d5.Position = 0"; +_d5.setPosition((int) (0)); +RDebugUtils.currentLine=14680385; + //BA.debugLineNum = 14680385;BA.debugLine="Private restacant As String = d5.GetString(\"PE_"; +_restacant = _d5.GetString("PE_CANT"); +RDebugUtils.currentLine=14680386; + //BA.debugLineNum = 14680386;BA.debugLine="d5.Close"; +_d5.Close(); +RDebugUtils.currentLine=14680388; + //BA.debugLineNum = 14680388;BA.debugLine="Dim fecha1() As String = Regex.Split(\" \", c.Get"; +_fecha1 = __c.Regex.Split(" ",__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_FECHA")); +RDebugUtils.currentLine=14680390; + //BA.debugLineNum = 14680390;BA.debugLine="Dim fecha3 As String = fecha1(0)"; +_fecha3 = _fecha1[(int) (0)]; +RDebugUtils.currentLine=14680391; + //BA.debugLineNum = 14680391;BA.debugLine="Log(fecha3)"; +__c.LogImpl("814680391",_fecha3,0); +RDebugUtils.currentLine=14680392; + //BA.debugLineNum = 14680392;BA.debugLine="Dim hora As String = fecha1(1)"; +_hora = _fecha1[(int) (1)]; +RDebugUtils.currentLine=14680395; + //BA.debugLineNum = 14680395;BA.debugLine="Dim sDate, sTime As String"; +_sdate = ""; +_stime = ""; +RDebugUtils.currentLine=14680396; + //BA.debugLineNum = 14680396;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; +__c.DateTime.setDateFormat("dd/MM/yyyy"); +RDebugUtils.currentLine=14680397; + //BA.debugLineNum = 14680397;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; +__c.DateTime.setTimeFormat("HH:mm:ss"); +RDebugUtils.currentLine=14680398; + //BA.debugLineNum = 14680398;BA.debugLine="sDate = DateTime.Date(DateTime.Now)"; +_sdate = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=14680399; + //BA.debugLineNum = 14680399;BA.debugLine="sTime = DateTime.Time(DateTime.Now)"; +_stime = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=14680400; + //BA.debugLineNum = 14680400;BA.debugLine="If c.GetString(\"HVD_RECHAZOCANT\") <> \"0\" Then"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_RECHAZOCANT")).equals("0") == false) { +RDebugUtils.currentLine=14680401; + //BA.debugLineNum = 14680401;BA.debugLine="Log((c.GetString(\"HVD_RECHAZOCANT\")-restacant)"; +__c.LogImpl("814680401",BA.NumberToString(((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_RECHAZOCANT")))-(double)(Double.parseDouble(_restacant)))),0); +RDebugUtils.currentLine=14680402; + //BA.debugLineNum = 14680402;BA.debugLine="cmd.Initialize"; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=14680403; + //BA.debugLineNum = 14680403;BA.debugLine="cmd.Name = \"update_HVD_izcarep2\""; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Name /*String*/ = "update_HVD_izcarep2"; +RDebugUtils.currentLine=14680404; + //BA.debugLineNum = 14680404;BA.debugLine="cmd.Parameters = Array As String(c.GetString(\""; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = (Object[])(new String[]{__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_RECHAZOCANT"),_sdate+" "+_stime,BA.NumberToString(1),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CLIENTE"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID"),_fecha3+" "+_hora,_d4.GetString("CAT_CL_RUTA"),__ref._almacen /*String*/ ,__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText(),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CODPROMO"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_NUM_TICKET"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CANT")}); +RDebugUtils.currentLine=14680405; + //BA.debugLineNum = 14680405;BA.debugLine="reqManager.ExecuteCommand(cmd, \"update_hvd\")"; +__ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ ,(Object)("update_hvd")); + }else { +RDebugUtils.currentLine=14680407; + //BA.debugLineNum = 14680407;BA.debugLine="cmd.Initialize"; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=14680408; + //BA.debugLineNum = 14680408;BA.debugLine="cmd.Name = \"update_HVD_izcarep2\""; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Name /*String*/ = "update_HVD_izcarep2"; +RDebugUtils.currentLine=14680409; + //BA.debugLineNum = 14680409;BA.debugLine="Log( c.GetString(\"CANTC\")& c.GetString(\"HVD_CL"; +__c.LogImpl("814680409",__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CANTC")+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CLIENTE")+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID")+_fecha3+" "+_hora+_d4.GetString("CAT_CL_RUTA")+__ref._almacen /*String*/ +__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CODPROMO")+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_NUM_TICKET")+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CANT"),0); +RDebugUtils.currentLine=14680410; + //BA.debugLineNum = 14680410;BA.debugLine="cmd.Parameters = Array As String(\"\",\"\",\"\", c.G"; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = (Object[])(new String[]{"","","",__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CLIENTE"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID"),_fecha3+" "+_hora,_d4.GetString("CAT_CL_RUTA"),__ref._almacen /*String*/ ,__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText(),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CODPROMO"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_NUM_TICKET"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CANT")}); +RDebugUtils.currentLine=14680411; + //BA.debugLineNum = 14680411;BA.debugLine="reqManager.ExecuteCommand(cmd, \"update_hvd\")"; +__ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ ,(Object)("update_hvd")); + }; +RDebugUtils.currentLine=14680413; + //BA.debugLineNum = 14680413;BA.debugLine="d4.Close"; +_d4.Close(); + } +}; + }; +RDebugUtils.currentLine=14680416; + //BA.debugLineNum = 14680416;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=14680419; + //BA.debugLineNum = 14680419;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT MIL, QUINIENTO"; +__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 MIL, QUINIENTOS, DOCIENTOS, CIEN, CINCUENTA, VEINTE FROM TABULADOR_BILLETES"))); +RDebugUtils.currentLine=14680420; + //BA.debugLineNum = 14680420;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT RUTAA FROM RUT"; +__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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT RUTAA FROM RUTAA"))); +RDebugUtils.currentLine=14680421; + //BA.debugLineNum = 14680421;BA.debugLine="b = Starter.skmt.ExecQuery(\"SELECT ID_ALMACEN FRO"; +__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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT ID_ALMACEN FROM CAT_ALMACEN"))); +RDebugUtils.currentLine=14680422; + //BA.debugLineNum = 14680422;BA.debugLine="f = Starter.skmt.ExecQuery(\"SELECT HVD_FECHA FROM"; +__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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT HVD_FECHA FROM HIST_VENTAS"))); +RDebugUtils.currentLine=14680423; + //BA.debugLineNum = 14680423;BA.debugLine="d.Position = 0"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=14680424; + //BA.debugLineNum = 14680424;BA.debugLine="b.Position = 0"; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=14680425; + //BA.debugLineNum = 14680425;BA.debugLine="f.Position = 0"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=14680426; + //BA.debugLineNum = 14680426;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=14680427; + //BA.debugLineNum = 14680427;BA.debugLine="For i = 0 To c.RowCount - 1"; +{ +final int step184 = 1; +final int limit184 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit184 ;_i = _i + step184 ) { +RDebugUtils.currentLine=14680428; + //BA.debugLineNum = 14680428;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=14680429; + //BA.debugLineNum = 14680429;BA.debugLine="Dim cmd As DBCommand"; +_cmd = new reparto_izca.keymon.lat.dbrequestmanager._dbcommand(); +RDebugUtils.currentLine=14680434; + //BA.debugLineNum = 14680434;BA.debugLine="Dim fechatabulador() As String = Regex.Split(\""; +_fechatabulador = __c.Regex.Split(" ",__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_FECHA")); +RDebugUtils.currentLine=14680436; + //BA.debugLineNum = 14680436;BA.debugLine="Dim fechatabulador3 As String = fechatabulador("; +_fechatabulador3 = _fechatabulador[(int) (0)]; +RDebugUtils.currentLine=14680438; + //BA.debugLineNum = 14680438;BA.debugLine="cmd.Initialize"; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=14680439; + //BA.debugLineNum = 14680439;BA.debugLine="cmd.Name = \"insert_tabulador_billetes_IZCA\""; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Name /*String*/ = "insert_tabulador_billetes_IZCA"; +RDebugUtils.currentLine=14680440; + //BA.debugLineNum = 14680440;BA.debugLine="cmd.Parameters = Array As Object(b.GetString(\"I"; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("ID_ALMACEN")),(Object)(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("RUTAA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("MIL")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("QUINIENTOS")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("DOCIENTOS")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CIEN")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CINCUENTA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("VEINTE")),(Object)(_fechatabulador3)}; +RDebugUtils.currentLine=14680441; + //BA.debugLineNum = 14680441;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_tabulador_"; +__ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ ,(Object)("ins_tabulador_bill")); + } +}; +RDebugUtils.currentLine=14680443; + //BA.debugLineNum = 14680443;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=14680444; + //BA.debugLineNum = 14680444;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=14680445; + //BA.debugLineNum = 14680445;BA.debugLine="b.Close"; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=14680446; + //BA.debugLineNum = 14680446;BA.debugLine="f.Close"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }; +RDebugUtils.currentLine=14680450; + //BA.debugLineNum = 14680450;BA.debugLine="Dim cmd As DBCommand"; +_cmd = new reparto_izca.keymon.lat.dbrequestmanager._dbcommand(); +RDebugUtils.currentLine=14680451; + //BA.debugLineNum = 14680451;BA.debugLine="cmd.Initialize"; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=14680452; + //BA.debugLineNum = 14680452;BA.debugLine="cmd.Name = \"insert_drop_rep_IZCA2\""; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Name /*String*/ = "insert_drop_rep_IZCA2"; +RDebugUtils.currentLine=14680453; + //BA.debugLineNum = 14680453;BA.debugLine="cmd.Parameters = Array As Object(Subs.dameUsuario"; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(_subs._dameusuariodedb /*String*/ (ba)),(Object)(__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._l_ctast /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(_subs._traeentregados /*anywheresoftware.b4a.objects.collections.Map*/ (ba).getObject()),(Object)(_subs._traerechazados /*anywheresoftware.b4a.objects.collections.Map*/ (ba).getObject()),(Object)("ENVIO"),(Object)(__c.Application.getVersionName())}; +RDebugUtils.currentLine=14680454; + //BA.debugLineNum = 14680454;BA.debugLine="reqManager.ExecuteCommand(cmd , \"inst_drop\")"; +__ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ ,(Object)("inst_drop")); +RDebugUtils.currentLine=14680455; + //BA.debugLineNum = 14680455;BA.debugLine="ToastMessageShow(\"Se Actualizaran los datos, Este"; +__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); +RDebugUtils.currentLine=14680456; + //BA.debugLineNum = 14680456;BA.debugLine="End Sub"; +return ""; +} +public String _inv_click(reparto_izca.keymon.lat.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=15269888; + //BA.debugLineNum = 15269888;BA.debugLine="Sub inv_Click"; +RDebugUtils.currentLine=15269889; + //BA.debugLineNum = 15269889;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); +RDebugUtils.currentLine=15269890; + //BA.debugLineNum = 15269890;BA.debugLine="End Sub"; +return ""; +} +public String _jobdone(reparto_izca.keymon.lat.c_principal __ref,reparto_izca.keymon.lat.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}));} +reparto_izca.keymon.lat.dbrequestmanager._dbresult _result = null; +Object[] _records = null; +String _cat_cl_codigo = ""; +String _cat_cl_ruta = ""; +String _cat_cl_nombre = ""; +String _cat_cl_atiende1 = ""; +String _cat_cl_atiente2 = ""; +String _cat_cl_telefono = ""; +String _cat_cl_email = ""; +String _cat_cl_calle = ""; +String _cat_cl_noext = ""; +String _cat_cl_noint = ""; +String _cat_cl_calle1 = ""; +String _cat_cl_calle2 = ""; +String _cat_cl_colonia = ""; +String _cat_cl_muni = ""; +String _cat_cl_edo = ""; +String _cat_cl_cp = ""; +String _cat_cl_long = ""; +String _cat_cl_lat = ""; +String _cat_cl_bcredito = ""; +String _nota = ""; +String _cliente = ""; +String _saldo_pendiente = ""; +String _detalle = ""; +String _conteo_cat = ""; +anywheresoftware.b4a.sql.SQL.CursorWrapper _clientes = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _detalleventa = null; +String _id = ""; +String _cuenta = ""; +String _cat_gp_id = ""; +String _cat_gp_nombre = ""; +String _cat_gp_imp1 = ""; +String _cat_gp_imp2 = ""; +String _cat_gp_precio = ""; +String _cat_gp_clasif = ""; +String _cat_gp_sts = ""; +String _cat_gp_tipo = ""; +String _cat_gp_subtipo = ""; +byte[] _cat_gp_img = null; +int _cat_gp_almacen = 0; +int _cat_gp_tipoprod = 0; +int _cat_gp_iniciativa = 0; +float _cat_dp_precio4 = 0f; +int _cat_dp_conversion1 = 0; +String _conversion = ""; +String _precioconver = ""; +String _cat_dp_almacen = ""; +String _cat_dp_id = ""; +String _cat_dp_idprod = ""; +String _cat_dp_tipo = ""; +String _cat_dp_pzas = ""; +String _cat_dp_usuario = ""; +String _cat_dp_fecha = ""; +String _cat_dp_regalo = ""; +String _cat_dp_clasif = ""; +String _cat_dp_precio = ""; +String _cat_dp_precio_simptos = ""; +String _hvd_estatus = ""; +String _hv_cliente = ""; +String _hv_long = ""; +String _hv_lat = ""; +int _consecutivo = 0; +String _hvd_cliente = ""; +String _hvd_pronombre = ""; +String _hvd_cant = ""; +String _hvd_costo_tot = ""; +String _hvd_fecha = ""; +String _hvd_codpromo = ""; +String _hvd_proid = ""; +String _hvd_num_ticket = ""; +String _hvd_num_registro = ""; +String _hvd_rechazo = ""; +String _hvd_bcredito = ""; +String _bcajas = ""; +String _cantc = ""; +anywheresoftware.b4a.sql.SQL.CursorWrapper _tc = null; +String _cat_va_descripcion = ""; +String _cat_va_valor = ""; +String _tmp_monto_pagare = ""; +String _tmp_cliente = ""; +int _cuantosp = 0; +int _cuantosc = 0; +int _cuantosn = 0; +String _cat_ve_version = ""; +String _valido = ""; +double _lat = 0; +double _lon = 0; +String _k = ""; +RDebugUtils.currentLine=14876672; + //BA.debugLineNum = 14876672;BA.debugLine="Sub JobDone(Job As HttpJob)"; +RDebugUtils.currentLine=14876674; + //BA.debugLineNum = 14876674;BA.debugLine="If Job.Success = False Then"; +if (_job._success /*boolean*/ ==__c.False) { +RDebugUtils.currentLine=14876675; + //BA.debugLineNum = 14876675;BA.debugLine="LogColor(\"** \" & Job.Tag & \" Error: \" & Job.Erro"; +__c.LogImpl("814876675","** "+BA.ObjectToString(_job._tag /*Object*/ )+" Error: "+_job._errormessage /*String*/ ,__c.Colors.Red); + }else { +RDebugUtils.currentLine=14876678; + //BA.debugLineNum = 14876678;BA.debugLine="LogColor(\"JobDone: '\" & reqManager.HandleJob(Job"; +__c.LogImpl("814876678","JobDone: '"+BA.ObjectToString(__ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (null,_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(__ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (null,_job).Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),__c.Colors.Green); +RDebugUtils.currentLine=14876679; + //BA.debugLineNum = 14876679;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=14876680; + //BA.debugLineNum = 14876680;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=14876681; + //BA.debugLineNum = 14876681;BA.debugLine="If result.Tag = \"kmt_datos\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("kmt_datos"))) { +RDebugUtils.currentLine=14876682; + //BA.debugLineNum = 14876682;BA.debugLine="If reqs.IndexOf(\"kmt_datos\") > -1 Then"; +if (__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .IndexOf((Object)("kmt_datos"))>-1) { +RDebugUtils.currentLine=14876683; + //BA.debugLineNum = 14876683;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"kmt_datos\"))"; +__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .RemoveAt(__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .IndexOf((Object)("kmt_datos"))); + }; +RDebugUtils.currentLine=14876686; + //BA.debugLineNum = 14876686;BA.debugLine="Starter.skmt.BeginTransaction"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .BeginTransaction(); +RDebugUtils.currentLine=14876688; + //BA.debugLineNum = 14876688;BA.debugLine="For Each records() As Object In result.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group12 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen12 = group12.getSize() +;int index12 = 0; +; +for (; index12 < groupLen12;index12++){ +_records = (Object[])(group12.Get(index12)); +RDebugUtils.currentLine=14876689; + //BA.debugLineNum = 14876689;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=14876690; + //BA.debugLineNum = 14876690;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=14876691; + //BA.debugLineNum = 14876691;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=14876692; + //BA.debugLineNum = 14876692;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=14876693; + //BA.debugLineNum = 14876693;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=14876694; + //BA.debugLineNum = 14876694;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=14876695; + //BA.debugLineNum = 14876695;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=14876696; + //BA.debugLineNum = 14876696;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=14876697; + //BA.debugLineNum = 14876697;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=14876698; + //BA.debugLineNum = 14876698;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=14876699; + //BA.debugLineNum = 14876699;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=14876700; + //BA.debugLineNum = 14876700;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=14876701; + //BA.debugLineNum = 14876701;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=14876702; + //BA.debugLineNum = 14876702;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=14876703; + //BA.debugLineNum = 14876703;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=14876704; + //BA.debugLineNum = 14876704;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=14876705; + //BA.debugLineNum = 14876705;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=14876706; + //BA.debugLineNum = 14876706;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=14876707; + //BA.debugLineNum = 14876707;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=14876710; + //BA.debugLineNum = 14876710;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO kmt_i"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO kmt_info(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_BCREDITO, gestion) 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_bcredito)})); + } +}; +RDebugUtils.currentLine=14876712; + //BA.debugLineNum = 14876712;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO kmt_in"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO kmt_info(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_BCREDITO, gestion,SECUENCIA) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,0,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(63403),(Object)(1000),(Object)("PRODUCTO DAÑADO"),(Object)(""),(Object)(""),(Object)(""),(Object)(""),(Object)(""),(Object)(""),(Object)(""),(Object)(""),(Object)(""),(Object)(""),(Object)(""),(Object)(""),(Object)(""),(Object)("-98.8357694"),(Object)("19.6906052"),(Object)("0"),(Object)("1")})); +RDebugUtils.currentLine=14876714; + //BA.debugLineNum = 14876714;BA.debugLine="Starter.skmt.TransactionSuccessful"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .TransactionSuccessful(); +RDebugUtils.currentLine=14876715; + //BA.debugLineNum = 14876715;BA.debugLine="Starter.skmt.EndTransaction"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .EndTransaction(); +RDebugUtils.currentLine=14876716; + //BA.debugLineNum = 14876716;BA.debugLine="Listo1 = 1"; +__ref._listo1 /*String*/ = BA.NumberToString(1); +RDebugUtils.currentLine=14876717; + //BA.debugLineNum = 14876717;BA.debugLine="If Listo1 = 1 And Listo3 = 1 Then"; +if ((__ref._listo1 /*String*/ ).equals(BA.NumberToString(1)) && (__ref._listo3 /*String*/ ).equals(BA.NumberToString(1))) { +RDebugUtils.currentLine=14876718; + //BA.debugLineNum = 14876718;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True"; +__c.ToastMessageShow(BA.ObjectToCharSequence("Datos Actualizados."),__c.True); +RDebugUtils.currentLine=14876719; + //BA.debugLineNum = 14876719;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); +RDebugUtils.currentLine=14876720; + //BA.debugLineNum = 14876720;BA.debugLine="img2.Visible = False"; +__ref._img2 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=14876721; + //BA.debugLineNum = 14876721;BA.debugLine="EJECUTANDO=0"; +__ref._ejecutando /*String*/ = BA.NumberToString(0); + }; +RDebugUtils.currentLine=14876725; + //BA.debugLineNum = 14876725;BA.debugLine="t8.Initialize(\"t8\", 20000) ' 1000 = 1 second"; +__ref._t8 /*anywheresoftware.b4a.objects.Timer*/ .Initialize(ba,"t8",(long) (20000)); +RDebugUtils.currentLine=14876726; + //BA.debugLineNum = 14876726;BA.debugLine="t8.Enabled = True"; +__ref._t8 /*anywheresoftware.b4a.objects.Timer*/ .setEnabled(__c.True); + }; + }; +RDebugUtils.currentLine=14876731; + //BA.debugLineNum = 14876731;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=14876732; + //BA.debugLineNum = 14876732;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=14876733; + //BA.debugLineNum = 14876733;BA.debugLine="If result.Tag = \"select_abonosp\" Then 'query ta"; +if ((_result.Tag /*Object*/ ).equals((Object)("select_abonosp"))) { +RDebugUtils.currentLine=14876734; + //BA.debugLineNum = 14876734;BA.debugLine="For Each records() As Object In result.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group51 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen51 = group51.getSize() +;int index51 = 0; +; +for (; index51 < groupLen51;index51++){ +_records = (Object[])(group51.Get(index51)); +RDebugUtils.currentLine=14876735; + //BA.debugLineNum = 14876735;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"))))]); +RDebugUtils.currentLine=14876736; + //BA.debugLineNum = 14876736;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"))))]); +RDebugUtils.currentLine=14876737; + //BA.debugLineNum = 14876737;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"))))]); +RDebugUtils.currentLine=14876739; + //BA.debugLineNum = 14876739;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO ABONO"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO ABONOSP(NOTA,CLIENTE,SALDO_PENDIENTE) VALUES (?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_nota),(Object)(_cliente),(Object)(_saldo_pendiente)})); + } +}; + }; + }; +RDebugUtils.currentLine=14876744; + //BA.debugLineNum = 14876744;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=14876745; + //BA.debugLineNum = 14876745;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=14876746; + //BA.debugLineNum = 14876746;BA.debugLine="If result.Tag = \"CONTEO_DATOS\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("CONTEO_DATOS"))) { +RDebugUtils.currentLine=14876747; + //BA.debugLineNum = 14876747;BA.debugLine="For Each records() As Object In result.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group62 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen62 = group62.getSize() +;int index62 = 0; +; +for (; index62 < groupLen62;index62++){ +_records = (Object[])(group62.Get(index62)); +RDebugUtils.currentLine=14876748; + //BA.debugLineNum = 14876748;BA.debugLine="Dim DETALLE As String = records(result.Column"; +_detalle = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("DETALE"))))]); +RDebugUtils.currentLine=14876749; + //BA.debugLineNum = 14876749;BA.debugLine="Dim CONTEO_CAT As String = records(result.Col"; +_conteo_cat = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CONTEO_CAT"))))]); + } +}; +RDebugUtils.currentLine=14876754; + //BA.debugLineNum = 14876754;BA.debugLine="Dim clientes As Cursor = Starter.skmt.ExecQuer"; +_clientes = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_clientes = (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 clientes from kmt_info WHERE CAT_CL_CODIGO <> 63403"))); +RDebugUtils.currentLine=14876755; + //BA.debugLineNum = 14876755;BA.debugLine="clientes.Position = 0"; +_clientes.setPosition((int) (0)); +RDebugUtils.currentLine=14876757; + //BA.debugLineNum = 14876757;BA.debugLine="Dim detalleventa As Cursor = Starter.skmt.Exec"; +_detalleventa = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_detalleventa = (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 detalle from hist_ventas"))); +RDebugUtils.currentLine=14876758; + //BA.debugLineNum = 14876758;BA.debugLine="detalleventa.Position = 0"; +_detalleventa.setPosition((int) (0)); +RDebugUtils.currentLine=14876760; + //BA.debugLineNum = 14876760;BA.debugLine="Log(CONTEO_CAT)"; +__c.LogImpl("814876760",_conteo_cat,0); +RDebugUtils.currentLine=14876761; + //BA.debugLineNum = 14876761;BA.debugLine="Log(clientes.GetString(\"clientes\"))"; +__c.LogImpl("814876761",_clientes.GetString("clientes"),0); +RDebugUtils.currentLine=14876762; + //BA.debugLineNum = 14876762;BA.debugLine="If clientes.GetString(\"clientes\") = CONTEO_CAT"; +if ((_clientes.GetString("clientes")).equals(_conteo_cat)) { +RDebugUtils.currentLine=14876763; + //BA.debugLineNum = 14876763;BA.debugLine="PB_carga2.Progress = 100"; +__ref._pb_carga2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .setProgress((int) (100)); +RDebugUtils.currentLine=14876764; + //BA.debugLineNum = 14876764;BA.debugLine="l_carga2.Text = \"LISTO\""; +__ref._l_carga2 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("LISTO")); + }else { + }; +RDebugUtils.currentLine=14876769; + //BA.debugLineNum = 14876769;BA.debugLine="Log(DETALLE)"; +__c.LogImpl("814876769",_detalle,0); +RDebugUtils.currentLine=14876770; + //BA.debugLineNum = 14876770;BA.debugLine="Log(detalleventa.GetString(\"detalle\"))"; +__c.LogImpl("814876770",_detalleventa.GetString("detalle"),0); +RDebugUtils.currentLine=14876771; + //BA.debugLineNum = 14876771;BA.debugLine="If detalleventa.GetString(\"detalle\") = DETALLE"; +if ((_detalleventa.GetString("detalle")).equals(_detalle)) { +RDebugUtils.currentLine=14876772; + //BA.debugLineNum = 14876772;BA.debugLine="PB_carga.Progress = 100"; +__ref._pb_carga /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .setProgress((int) (100)); +RDebugUtils.currentLine=14876773; + //BA.debugLineNum = 14876773;BA.debugLine="L_carga.Text = \"LISTO\""; +__ref._l_carga /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("LISTO")); + }else { + }; +RDebugUtils.currentLine=14876778; + //BA.debugLineNum = 14876778;BA.debugLine="clientes.Close"; +_clientes.Close(); +RDebugUtils.currentLine=14876779; + //BA.debugLineNum = 14876779;BA.debugLine="detalleventa.Close"; +_detalleventa.Close(); + }; + }; +RDebugUtils.currentLine=14876784; + //BA.debugLineNum = 14876784;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=14876785; + //BA.debugLineNum = 14876785;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=14876786; + //BA.debugLineNum = 14876786;BA.debugLine="If result.Tag.As(String).IndexOf(\"PICK_C_\") > -"; +if ((BA.ObjectToString(_result.Tag /*Object*/ )).indexOf("PICK_C_")>-1) { +RDebugUtils.currentLine=14876788; + //BA.debugLineNum = 14876788;BA.debugLine="Private id As String= result.Tag"; +_id = BA.ObjectToString(_result.Tag /*Object*/ ); +RDebugUtils.currentLine=14876789; + //BA.debugLineNum = 14876789;BA.debugLine="id = id.SubString(id.IndexOf(\"_\")+3)"; +_id = _id.substring((int) (_id.indexOf("_")+3)); +RDebugUtils.currentLine=14876790; + //BA.debugLineNum = 14876790;BA.debugLine="For Each records() As Object In result.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group93 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen93 = group93.getSize() +;int index93 = 0; +; +for (; index93 < groupLen93;index93++){ +_records = (Object[])(group93.Get(index93)); +RDebugUtils.currentLine=14876791; + //BA.debugLineNum = 14876791;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"))))]); +RDebugUtils.currentLine=14876792; + //BA.debugLineNum = 14876792;BA.debugLine="Log(CUENTA)"; +__c.LogImpl("814876792",_cuenta,0); +RDebugUtils.currentLine=14876793; + //BA.debugLineNum = 14876793;BA.debugLine="Log(id)"; +__c.LogImpl("814876793",_id,0); +RDebugUtils.currentLine=14876794; + //BA.debugLineNum = 14876794;BA.debugLine="If CUENTA = 0 Then"; +if ((_cuenta).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=14876795; + //BA.debugLineNum = 14876795;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * 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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM PICK_CIEGO WHERE PC_ID_PROD = ?",new String[]{_id}))); +RDebugUtils.currentLine=14876796; + //BA.debugLineNum = 14876796;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=14876798; + //BA.debugLineNum = 14876798;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=14876799; + //BA.debugLineNum = 14876799;BA.debugLine="Dim cmd As DBCommand"; +_cmd = new reparto_izca.keymon.lat.dbrequestmanager._dbcommand(); +RDebugUtils.currentLine=14876800; + //BA.debugLineNum = 14876800;BA.debugLine="cmd.Initialize"; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=14876801; + //BA.debugLineNum = 14876801;BA.debugLine="cmd.Name = \"insert_PICKCIEGO_IZCA\""; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Name /*String*/ = "insert_PICKCIEGO_IZCA"; +RDebugUtils.currentLine=14876802; + //BA.debugLineNum = 14876802;BA.debugLine="cmd.Parameters = Array As Object(c.GetStrin"; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_ID_PROD")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_NOM_PROD")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_CANT")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_ALMACEN")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_RUTA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_FECHA")),(Object)("REPARTO")}; +RDebugUtils.currentLine=14876803; + //BA.debugLineNum = 14876803;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_PC\")"; +__ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ ,(Object)("ins_PC")); + }; +RDebugUtils.currentLine=14876806; + //BA.debugLineNum = 14876806;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }else +{RDebugUtils.currentLine=14876807; + //BA.debugLineNum = 14876807;BA.debugLine="Else if CUENTA > 0 Then"; +if ((double)(Double.parseDouble(_cuenta))>0) { +RDebugUtils.currentLine=14876808; + //BA.debugLineNum = 14876808;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * 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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM PICK_CIEGO WHERE PC_ID_PROD= ?",new String[]{_id}))); +RDebugUtils.currentLine=14876809; + //BA.debugLineNum = 14876809;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=14876811; + //BA.debugLineNum = 14876811;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=14876812; + //BA.debugLineNum = 14876812;BA.debugLine="Dim cmd As DBCommand"; +_cmd = new reparto_izca.keymon.lat.dbrequestmanager._dbcommand(); +RDebugUtils.currentLine=14876813; + //BA.debugLineNum = 14876813;BA.debugLine="cmd.Initialize"; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=14876814; + //BA.debugLineNum = 14876814;BA.debugLine="cmd.Name = \"update_PICKCIEGO_IZCA\""; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Name /*String*/ = "update_PICKCIEGO_IZCA"; +RDebugUtils.currentLine=14876815; + //BA.debugLineNum = 14876815;BA.debugLine="Log(\"FECHA\" & c.GetString(\"PC_FECHA\"))"; +__c.LogImpl("814876815","FECHA"+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_FECHA"),0); +RDebugUtils.currentLine=14876816; + //BA.debugLineNum = 14876816;BA.debugLine="cmd.Parameters = Array As Object(c.GetStrin"; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_CANT")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_ID_PROD")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_ALMACEN")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_RUTA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_FECHA")),(Object)("REPARTO")}; +RDebugUtils.currentLine=14876817; + //BA.debugLineNum = 14876817;BA.debugLine="reqManager.ExecuteCommand(cmd, \"update_PC\")"; +__ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ ,(Object)("update_PC")); + }; +RDebugUtils.currentLine=14876820; + //BA.debugLineNum = 14876820;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }} +; + } +}; + }; + }; +RDebugUtils.currentLine=14876828; + //BA.debugLineNum = 14876828;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=14876829; + //BA.debugLineNum = 14876829;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=14876830; + //BA.debugLineNum = 14876830;BA.debugLine="If result.Tag = \"gunaprod3\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("gunaprod3"))) { +RDebugUtils.currentLine=14876831; + //BA.debugLineNum = 14876831;BA.debugLine="If reqs.IndexOf(\"gunaprod3\") > -1 Then"; +if (__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .IndexOf((Object)("gunaprod3"))>-1) { +RDebugUtils.currentLine=14876832; + //BA.debugLineNum = 14876832;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"gunaprod3\"))"; +__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .RemoveAt(__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .IndexOf((Object)("gunaprod3"))); +RDebugUtils.currentLine=14876833; + //BA.debugLineNum = 14876833;BA.debugLine="Log(reqs.Size)"; +__c.LogImpl("814876833",BA.NumberToString(__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),0); + }; +RDebugUtils.currentLine=14876835; + //BA.debugLineNum = 14876835;BA.debugLine="Starter.skmt.BeginTransaction"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .BeginTransaction(); +RDebugUtils.currentLine=14876836; + //BA.debugLineNum = 14876836;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() +;int index132 = 0; +; +for (; index132 < groupLen132;index132++){ +_records = (Object[])(group132.Get(index132)); +RDebugUtils.currentLine=14876837; + //BA.debugLineNum = 14876837;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"))))]); +RDebugUtils.currentLine=14876838; + //BA.debugLineNum = 14876838;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"))))]); +RDebugUtils.currentLine=14876839; + //BA.debugLineNum = 14876839;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"))))]); +RDebugUtils.currentLine=14876840; + //BA.debugLineNum = 14876840;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"))))]); +RDebugUtils.currentLine=14876841; + //BA.debugLineNum = 14876841;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"))))]); +RDebugUtils.currentLine=14876842; + //BA.debugLineNum = 14876842;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"))))]); +RDebugUtils.currentLine=14876843; + //BA.debugLineNum = 14876843;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"))))]); +RDebugUtils.currentLine=14876844; + //BA.debugLineNum = 14876844;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"))))]); +RDebugUtils.currentLine=14876845; + //BA.debugLineNum = 14876845;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"))))]); +RDebugUtils.currentLine=14876846; + //BA.debugLineNum = 14876846;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"))))]); +RDebugUtils.currentLine=14876847; + //BA.debugLineNum = 14876847;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"))))])); +RDebugUtils.currentLine=14876849; + //BA.debugLineNum = 14876849;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"))))])); +RDebugUtils.currentLine=14876850; + //BA.debugLineNum = 14876850;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"))))])); +RDebugUtils.currentLine=14876851; + //BA.debugLineNum = 14876851;BA.debugLine="Dim CAT_DP_PRECIO4 As Float = records(result."; +_cat_dp_precio4 = (float)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_PRECIO4"))))])); +RDebugUtils.currentLine=14876852; + //BA.debugLineNum = 14876852;BA.debugLine="Dim CAT_DP_CONVERSION1 As Int = records(resul"; +_cat_dp_conversion1 = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_CONVERSION1"))))])); +RDebugUtils.currentLine=14876856; + //BA.debugLineNum = 14876856;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_G"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_GUNAPROD3(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_DP_PRECIO4,CAT_DP_CONVERSION1) 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_dp_precio4),(Object)(_cat_dp_conversion1)})); + } +}; +RDebugUtils.currentLine=14876858; + //BA.debugLineNum = 14876858;BA.debugLine="Starter.skmt.TransactionSuccessful"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .TransactionSuccessful(); +RDebugUtils.currentLine=14876859; + //BA.debugLineNum = 14876859;BA.debugLine="Starter.skmt.EndTransaction"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .EndTransaction(); +RDebugUtils.currentLine=14876860; + //BA.debugLineNum = 14876860;BA.debugLine="Listo2=1"; +__ref._listo2 /*String*/ = BA.NumberToString(1); +RDebugUtils.currentLine=14876861; + //BA.debugLineNum = 14876861;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=14876862; + //BA.debugLineNum = 14876862;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True"; +__c.ToastMessageShow(BA.ObjectToCharSequence("Datos Actualizados."),__c.True); +RDebugUtils.currentLine=14876863; + //BA.debugLineNum = 14876863;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); +RDebugUtils.currentLine=14876864; + //BA.debugLineNum = 14876864;BA.debugLine="img2.Visible = False"; +__ref._img2 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=14876865; + //BA.debugLineNum = 14876865;BA.debugLine="EJECUTANDO=0"; +__ref._ejecutando /*String*/ = BA.NumberToString(0); + }; + }; + }; +RDebugUtils.currentLine=14876870; + //BA.debugLineNum = 14876870;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=14876871; + //BA.debugLineNum = 14876871;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=14876872; + //BA.debugLineNum = 14876872;BA.debugLine="If result.Tag = \"gunaprod\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("gunaprod"))) { +RDebugUtils.currentLine=14876873; + //BA.debugLineNum = 14876873;BA.debugLine="Log(\"Entramos a GUNA_PROD<--------------------"; +__c.LogImpl("814876873","Entramos a GUNA_PROD<---------------------------------",0); +RDebugUtils.currentLine=14876874; + //BA.debugLineNum = 14876874;BA.debugLine="If reqs.IndexOf(\"gunaprod\") > -1 Then"; +if (__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .IndexOf((Object)("gunaprod"))>-1) { +RDebugUtils.currentLine=14876875; + //BA.debugLineNum = 14876875;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"gunaprod\"))"; +__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .RemoveAt(__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .IndexOf((Object)("gunaprod"))); +RDebugUtils.currentLine=14876876; + //BA.debugLineNum = 14876876;BA.debugLine="Log(reqs.Size)"; +__c.LogImpl("814876876",BA.NumberToString(__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),0); + }; +RDebugUtils.currentLine=14876878; + //BA.debugLineNum = 14876878;BA.debugLine="Starter.skmt.BeginTransaction"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .BeginTransaction(); +RDebugUtils.currentLine=14876879; + //BA.debugLineNum = 14876879;BA.debugLine="For Each records() As Object In result.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group170 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen170 = group170.getSize() +;int index170 = 0; +; +for (; index170 < groupLen170;index170++){ +_records = (Object[])(group170.Get(index170)); +RDebugUtils.currentLine=14876880; + //BA.debugLineNum = 14876880;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_DP_ID"))))]); +RDebugUtils.currentLine=14876881; + //BA.debugLineNum = 14876881;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_DP_NOMBRE"))))]); +RDebugUtils.currentLine=14876882; + //BA.debugLineNum = 14876882;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_DP_IMP1"))))]); +RDebugUtils.currentLine=14876883; + //BA.debugLineNum = 14876883;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_DP_IMP2"))))]); +RDebugUtils.currentLine=14876884; + //BA.debugLineNum = 14876884;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_DP_PRECIO"))))]); +RDebugUtils.currentLine=14876885; + //BA.debugLineNum = 14876885;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_DP_CLASIF"))))]); +RDebugUtils.currentLine=14876886; + //BA.debugLineNum = 14876886;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_DP_STS"))))]); +RDebugUtils.currentLine=14876887; + //BA.debugLineNum = 14876887;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_DP_TIPO"))))]); +RDebugUtils.currentLine=14876888; + //BA.debugLineNum = 14876888;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_DP_SUBTIPO"))))]); +RDebugUtils.currentLine=14876889; + //BA.debugLineNum = 14876889;BA.debugLine="Dim CONVERSION As String = 0'records(result.C"; +_conversion = BA.NumberToString(0); +RDebugUtils.currentLine=14876890; + //BA.debugLineNum = 14876890;BA.debugLine="Dim PRECIOCONVER As String = 0' records(resul"; +_precioconver = BA.NumberToString(0); +RDebugUtils.currentLine=14876891; + //BA.debugLineNum = 14876891;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_DP_IMG"))))]); +RDebugUtils.currentLine=14876896; + //BA.debugLineNum = 14876896;BA.debugLine="Log(CAT_GP_NOMBRE & \"<-----------------------"; +__c.LogImpl("814876896",_cat_gp_nombre+"<-------------------------------------",0); +RDebugUtils.currentLine=14876897; + //BA.debugLineNum = 14876897;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_G"; +_starter._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,CONVERSION,PRECIOCONVER) 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)(0),(Object)(_conversion),(Object)(_precioconver)})); + } +}; +RDebugUtils.currentLine=14876899; + //BA.debugLineNum = 14876899;BA.debugLine="Starter.skmt.TransactionSuccessful"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .TransactionSuccessful(); +RDebugUtils.currentLine=14876900; + //BA.debugLineNum = 14876900;BA.debugLine="Starter.skmt.EndTransaction"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .EndTransaction(); +RDebugUtils.currentLine=14876901; + //BA.debugLineNum = 14876901;BA.debugLine="Listo2=1"; +__ref._listo2 /*String*/ = BA.NumberToString(1); +RDebugUtils.currentLine=14876902; + //BA.debugLineNum = 14876902;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=14876903; + //BA.debugLineNum = 14876903;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True"; +__c.ToastMessageShow(BA.ObjectToCharSequence("Datos Actualizados."),__c.True); +RDebugUtils.currentLine=14876904; + //BA.debugLineNum = 14876904;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); +RDebugUtils.currentLine=14876905; + //BA.debugLineNum = 14876905;BA.debugLine="img2.Visible = False"; +__ref._img2 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=14876906; + //BA.debugLineNum = 14876906;BA.debugLine="EJECUTANDO=0"; +__ref._ejecutando /*String*/ = BA.NumberToString(0); + }; + }; + }; +RDebugUtils.currentLine=14876911; + //BA.debugLineNum = 14876911;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=14876912; + //BA.debugLineNum = 14876912;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=14876913; + //BA.debugLineNum = 14876913;BA.debugLine="If result.Tag = \"gunaprodp\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("gunaprodp"))) { +RDebugUtils.currentLine=14876914; + //BA.debugLineNum = 14876914;BA.debugLine="If reqs.IndexOf(\"gunaprodp\") > -1 Then"; +if (__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .IndexOf((Object)("gunaprodp"))>-1) { +RDebugUtils.currentLine=14876915; + //BA.debugLineNum = 14876915;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"gunaprodp\"))"; +__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .RemoveAt(__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .IndexOf((Object)("gunaprodp"))); +RDebugUtils.currentLine=14876916; + //BA.debugLineNum = 14876916;BA.debugLine="Log(reqs.Size)"; +__c.LogImpl("814876916",BA.NumberToString(__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),0); + }; +RDebugUtils.currentLine=14876918; + //BA.debugLineNum = 14876918;BA.debugLine="For Each records() As Object In result.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group204 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen204 = group204.getSize() +;int index204 = 0; +; +for (; index204 < groupLen204;index204++){ +_records = (Object[])(group204.Get(index204)); +RDebugUtils.currentLine=14876919; + //BA.debugLineNum = 14876919;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"))))]); +RDebugUtils.currentLine=14876920; + //BA.debugLineNum = 14876920;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"))))]); +RDebugUtils.currentLine=14876921; + //BA.debugLineNum = 14876921;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"))))]); +RDebugUtils.currentLine=14876922; + //BA.debugLineNum = 14876922;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"))))]); +RDebugUtils.currentLine=14876923; + //BA.debugLineNum = 14876923;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"))))]); +RDebugUtils.currentLine=14876924; + //BA.debugLineNum = 14876924;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"))))]); +RDebugUtils.currentLine=14876925; + //BA.debugLineNum = 14876925;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"))))]); +RDebugUtils.currentLine=14876926; + //BA.debugLineNum = 14876926;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"))))]); +RDebugUtils.currentLine=14876927; + //BA.debugLineNum = 14876927;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"))))]); +RDebugUtils.currentLine=14876928; + //BA.debugLineNum = 14876928;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"))))]); +RDebugUtils.currentLine=14876931; + //BA.debugLineNum = 14876931;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_G"; +_starter._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) 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)(0)})); + } +}; +RDebugUtils.currentLine=14876933; + //BA.debugLineNum = 14876933;BA.debugLine="Listo4=1"; +__ref._listo4 /*String*/ = BA.NumberToString(1); +RDebugUtils.currentLine=14876934; + //BA.debugLineNum = 14876934;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=14876935; + //BA.debugLineNum = 14876935;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True"; +__c.ToastMessageShow(BA.ObjectToCharSequence("Datos Actualizados."),__c.True); +RDebugUtils.currentLine=14876936; + //BA.debugLineNum = 14876936;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); +RDebugUtils.currentLine=14876937; + //BA.debugLineNum = 14876937;BA.debugLine="img2.Visible = False"; +__ref._img2 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=14876938; + //BA.debugLineNum = 14876938;BA.debugLine="EJECUTANDO=0"; +__ref._ejecutando /*String*/ = BA.NumberToString(0); + }else +{RDebugUtils.currentLine=14876939; + //BA.debugLineNum = 14876939;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=14876940; + //BA.debugLineNum = 14876940;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True"; +__c.ToastMessageShow(BA.ObjectToCharSequence("Datos Actualizados."),__c.True); +RDebugUtils.currentLine=14876941; + //BA.debugLineNum = 14876941;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); +RDebugUtils.currentLine=14876942; + //BA.debugLineNum = 14876942;BA.debugLine="img2.Visible = False"; +__ref._img2 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=14876943; + //BA.debugLineNum = 14876943;BA.debugLine="EJECUTANDO=0"; +__ref._ejecutando /*String*/ = BA.NumberToString(0); + }} +; + }; + }; +RDebugUtils.currentLine=14876948; + //BA.debugLineNum = 14876948;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=14876949; + //BA.debugLineNum = 14876949;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=14876950; + //BA.debugLineNum = 14876950;BA.debugLine="If result.Tag = \"detallepaq\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("detallepaq"))) { +RDebugUtils.currentLine=14876951; + //BA.debugLineNum = 14876951;BA.debugLine="If reqs.IndexOf(\"detallepaq\") > -1 Then"; +if (__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .IndexOf((Object)("detallepaq"))>-1) { +RDebugUtils.currentLine=14876952; + //BA.debugLineNum = 14876952;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"detallepaq\"))"; +__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .RemoveAt(__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .IndexOf((Object)("detallepaq"))); +RDebugUtils.currentLine=14876953; + //BA.debugLineNum = 14876953;BA.debugLine="Log(reqs.Size)"; +__c.LogImpl("814876953",BA.NumberToString(__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),0); + }; +RDebugUtils.currentLine=14876955; + //BA.debugLineNum = 14876955;BA.debugLine="For Each records() As Object In result.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group238 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen238 = group238.getSize() +;int index238 = 0; +; +for (; index238 < groupLen238;index238++){ +_records = (Object[])(group238.Get(index238)); +RDebugUtils.currentLine=14876956; + //BA.debugLineNum = 14876956;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"))))]); +RDebugUtils.currentLine=14876957; + //BA.debugLineNum = 14876957;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"))))]); +RDebugUtils.currentLine=14876958; + //BA.debugLineNum = 14876958;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"))))]); +RDebugUtils.currentLine=14876959; + //BA.debugLineNum = 14876959;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"))))]); +RDebugUtils.currentLine=14876960; + //BA.debugLineNum = 14876960;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"))))]); +RDebugUtils.currentLine=14876961; + //BA.debugLineNum = 14876961;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"))))]); +RDebugUtils.currentLine=14876962; + //BA.debugLineNum = 14876962;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"))))]); +RDebugUtils.currentLine=14876963; + //BA.debugLineNum = 14876963;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"))))]); +RDebugUtils.currentLine=14876964; + //BA.debugLineNum = 14876964;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"))))]); +RDebugUtils.currentLine=14876965; + //BA.debugLineNum = 14876965;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"))))]); +RDebugUtils.currentLine=14876966; + //BA.debugLineNum = 14876966;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"))))]); +RDebugUtils.currentLine=14876968; + //BA.debugLineNum = 14876968;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_D"; +_starter._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)})); + } +}; +RDebugUtils.currentLine=14876970; + //BA.debugLineNum = 14876970;BA.debugLine="Listo3 =1"; +__ref._listo3 /*String*/ = BA.NumberToString(1); +RDebugUtils.currentLine=14876971; + //BA.debugLineNum = 14876971;BA.debugLine="If Listo1 = 1 And Listo2 = 1 And Listo3 = 1 An"; +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=14876972; + //BA.debugLineNum = 14876972;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True"; +__c.ToastMessageShow(BA.ObjectToCharSequence("Datos Actualizados."),__c.True); +RDebugUtils.currentLine=14876973; + //BA.debugLineNum = 14876973;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); +RDebugUtils.currentLine=14876974; + //BA.debugLineNum = 14876974;BA.debugLine="img2.Visible=False"; +__ref._img2 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=14876975; + //BA.debugLineNum = 14876975;BA.debugLine="EJECUTANDO = 0"; +__ref._ejecutando /*String*/ = BA.NumberToString(0); + }else +{RDebugUtils.currentLine=14876976; + //BA.debugLineNum = 14876976;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=14876977; + //BA.debugLineNum = 14876977;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True"; +__c.ToastMessageShow(BA.ObjectToCharSequence("Datos Actualizados."),__c.True); +RDebugUtils.currentLine=14876978; + //BA.debugLineNum = 14876978;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); +RDebugUtils.currentLine=14876979; + //BA.debugLineNum = 14876979;BA.debugLine="img2.Visible = False"; +__ref._img2 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=14876980; + //BA.debugLineNum = 14876980;BA.debugLine="EJECUTANDO = 0"; +__ref._ejecutando /*String*/ = BA.NumberToString(0); + }} +; + }; + }; +RDebugUtils.currentLine=14876985; + //BA.debugLineNum = 14876985;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=14876986; + //BA.debugLineNum = 14876986;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=14876987; + //BA.debugLineNum = 14876987;BA.debugLine="If result.Tag = \"estatus\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("estatus"))) { +RDebugUtils.currentLine=14876988; + //BA.debugLineNum = 14876988;BA.debugLine="For Each records() As Object In result.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group269 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen269 = group269.getSize() +;int index269 = 0; +; +for (; index269 < groupLen269;index269++){ +_records = (Object[])(group269.Get(index269)); +RDebugUtils.currentLine=14876989; + //BA.debugLineNum = 14876989;BA.debugLine="Dim hvd_estatus As String = records(result.Co"; +_hvd_estatus = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_ESTATUS"))))]); +RDebugUtils.currentLine=14876990; + //BA.debugLineNum = 14876990;BA.debugLine="If hvd_estatus = \"Liquidado\" Then"; +if ((_hvd_estatus).equals("Liquidado")) { +RDebugUtils.currentLine=14876992; + //BA.debugLineNum = 14876992;BA.debugLine="MsgboxAsync(\"La venta ya fue liquidada\",\"Ate"; +__c.MsgboxAsync(BA.ObjectToCharSequence("La venta ya fue liquidada"),BA.ObjectToCharSequence("Atención"),ba); + }else { +RDebugUtils.currentLine=14876994; + //BA.debugLineNum = 14876994;BA.debugLine="envioinfo"; +__ref._envioinfo /*String*/ (null); + }; + } +}; + }; + }; +RDebugUtils.currentLine=14877000; + //BA.debugLineNum = 14877000;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=14877001; + //BA.debugLineNum = 14877001;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=14877002; + //BA.debugLineNum = 14877002;BA.debugLine="If result.Tag = \"punteo\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("punteo"))) { +RDebugUtils.currentLine=14877003; + //BA.debugLineNum = 14877003;BA.debugLine="If reqs.IndexOf(\"punteo\") > -1 Then"; +if (__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .IndexOf((Object)("punteo"))>-1) { +RDebugUtils.currentLine=14877004; + //BA.debugLineNum = 14877004;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"punteo\"))"; +__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .RemoveAt(__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .IndexOf((Object)("punteo"))); + }; +RDebugUtils.currentLine=14877007; + //BA.debugLineNum = 14877007;BA.debugLine="If reqs.IndexOf(\"punteo\") > 0 Then"; +if (__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .IndexOf((Object)("punteo"))>0) { +RDebugUtils.currentLine=14877008; + //BA.debugLineNum = 14877008;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"punteo\"))"; +__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .RemoveAt(__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .IndexOf((Object)("punteo"))); +RDebugUtils.currentLine=14877009; + //BA.debugLineNum = 14877009;BA.debugLine="Log(reqs.Size)"; +__c.LogImpl("814877009",BA.NumberToString(__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),0); + }; +RDebugUtils.currentLine=14877011; + //BA.debugLineNum = 14877011;BA.debugLine="Starter.skmt.BeginTransaction"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .BeginTransaction(); +RDebugUtils.currentLine=14877012; + //BA.debugLineNum = 14877012;BA.debugLine="For Each records() As Object In result.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group290 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen290 = group290.getSize() +;int index290 = 0; +; +for (; index290 < groupLen290;index290++){ +_records = (Object[])(group290.Get(index290)); +RDebugUtils.currentLine=14877013; + //BA.debugLineNum = 14877013;BA.debugLine="Dim HV_CLIENTE As String = records(result.Col"; +_hv_cliente = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HV_CLIENTE"))))]); +RDebugUtils.currentLine=14877014; + //BA.debugLineNum = 14877014;BA.debugLine="Dim HV_LONG As String = records(result.Column"; +_hv_long = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HV_LONG"))))]); +RDebugUtils.currentLine=14877015; + //BA.debugLineNum = 14877015;BA.debugLine="Dim HV_LAT As String = records(result.Columns"; +_hv_lat = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HV_LAT"))))]); +RDebugUtils.currentLine=14877017; + //BA.debugLineNum = 14877017;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PUNTE"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PUNTEO_GPS(HV_CLIENTE, HV_LONG, HV_LAT) VALUES (?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_hv_cliente),(Object)(_hv_long),(Object)(_hv_lat)})); + } +}; +RDebugUtils.currentLine=14877019; + //BA.debugLineNum = 14877019;BA.debugLine="Starter.skmt.TransactionSuccessful"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .TransactionSuccessful(); +RDebugUtils.currentLine=14877020; + //BA.debugLineNum = 14877020;BA.debugLine="Starter.skmt.EndTransaction"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .EndTransaction(); + }; + }; +RDebugUtils.currentLine=14877024; + //BA.debugLineNum = 14877024;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=14877025; + //BA.debugLineNum = 14877025;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=14877026; + //BA.debugLineNum = 14877026;BA.debugLine="If result.Tag = \"hist_datos\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("hist_datos"))) { +RDebugUtils.currentLine=14877027; + //BA.debugLineNum = 14877027;BA.debugLine="If reqs.IndexOf(\"hist_datos\") > -1 Then"; +if (__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .IndexOf((Object)("hist_datos"))>-1) { +RDebugUtils.currentLine=14877028; + //BA.debugLineNum = 14877028;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"hist_datos\"))"; +__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .RemoveAt(__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .IndexOf((Object)("hist_datos"))); + }; +RDebugUtils.currentLine=14877031; + //BA.debugLineNum = 14877031;BA.debugLine="Log(l_ruta.text)"; +__c.LogImpl("814877031",__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText(),0); +RDebugUtils.currentLine=14877032; + //BA.debugLineNum = 14877032;BA.debugLine="Log($\"******** Insertamos HV - ${result.Rows."; +__c.LogImpl("814877032",("******** Insertamos HV - "+__c.SmartStringFormatter("",(Object)(_result.Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()))+""),0); +RDebugUtils.currentLine=14877033; + //BA.debugLineNum = 14877033;BA.debugLine="Starter.skmt.BeginTransaction"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .BeginTransaction(); +RDebugUtils.currentLine=14877034; + //BA.debugLineNum = 14877034;BA.debugLine="Dim consecutivo As Int= 0"; +_consecutivo = (int) (0); +RDebugUtils.currentLine=14877035; + //BA.debugLineNum = 14877035;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; +; +for (; index310 < groupLen310;index310++){ +_records = (Object[])(group310.Get(index310)); +RDebugUtils.currentLine=14877036; + //BA.debugLineNum = 14877036;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=14877037; + //BA.debugLineNum = 14877037;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=14877038; + //BA.debugLineNum = 14877038;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=14877039; + //BA.debugLineNum = 14877039;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=14877040; + //BA.debugLineNum = 14877040;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=14877041; + //BA.debugLineNum = 14877041;BA.debugLine="Dim HVD_CODPROMO As String = records(result.C"; +_hvd_codpromo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_CODPROMO"))))]); +RDebugUtils.currentLine=14877042; + //BA.debugLineNum = 14877042;BA.debugLine="Dim HVD_PROID As String = records(result.Colu"; +_hvd_proid = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_PROID"))))]); +RDebugUtils.currentLine=14877043; + //BA.debugLineNum = 14877043;BA.debugLine="Dim HVD_NUM_TICKET As String = records(result"; +_hvd_num_ticket = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_NUM_TICKET"))))]); +RDebugUtils.currentLine=14877044; + //BA.debugLineNum = 14877044;BA.debugLine="Dim HVD_NUM_REGISTRO As String = records(resu"; +_hvd_num_registro = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_NUM_REGISTRO"))))]); +RDebugUtils.currentLine=14877045; + //BA.debugLineNum = 14877045;BA.debugLine="Dim HVD_RECHAZO As String = records(result.Co"; +_hvd_rechazo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_RECHAZO"))))]); +RDebugUtils.currentLine=14877046; + //BA.debugLineNum = 14877046;BA.debugLine="Dim HVD_BCREDITO As String = records(result.C"; +_hvd_bcredito = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_BCREDITO"))))]); +RDebugUtils.currentLine=14877048; + //BA.debugLineNum = 14877048;BA.debugLine="Dim bcajas As String = 0 ' records(result.Col"; +_bcajas = BA.NumberToString(0); +RDebugUtils.currentLine=14877049; + //BA.debugLineNum = 14877049;BA.debugLine="Dim cantc As String = 0 'records(result.Colum"; +_cantc = BA.NumberToString(0); +RDebugUtils.currentLine=14877051; + //BA.debugLineNum = 14877051;BA.debugLine="consecutivo = consecutivo +1"; +_consecutivo = (int) (_consecutivo+1); +RDebugUtils.currentLine=14877052; + //BA.debugLineNum = 14877052;BA.debugLine="Log(HVD_PRONOMBRE & \", \" & HVD_CANT & \", \" &H"; +__c.LogImpl("814877052",_hvd_pronombre+", "+_hvd_cant+", "+_hvd_cliente,0); +RDebugUtils.currentLine=14877053; + //BA.debugLineNum = 14877053;BA.debugLine="If l_ruta.Text = \"0\" Then 'Si no hay ruta car"; +if ((__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("0")) { +RDebugUtils.currentLine=14877054; + //BA.debugLineNum = 14877054;BA.debugLine="Log(\"No hay ruta, guardamos todos\")"; +__c.LogImpl("814877054","No hay ruta, guardamos todos",0); +RDebugUtils.currentLine=14877055; + //BA.debugLineNum = 14877055;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO HIST"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_VENTAS(HVD_CLIENTE, HVD_PRONOMBRE, HVD_CANT,HVD_COSTO_TOT, HVD_FECHA, HVD_CODPROMO, HVD_PROID,HVD_NUM_TICKET, HVD_NUM_REGISTRO, HVD_RECHAZO, HVD_ESTATUS, HVD_PARCIAL, BCAJAS,CANTC,CONSECUTIVO,BCAJAS_OR,CANTC_OR,HVD_BCREDITO) VALUES (?,?,?,?,?,?,?,?,?,?,0,0,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_hvd_cliente),(Object)(_hvd_pronombre),(Object)(_hvd_cant),(Object)(_hvd_costo_tot),(Object)(_hvd_fecha),(Object)(_hvd_codpromo),(Object)(_hvd_proid),(Object)(_hvd_num_ticket),(Object)(_hvd_num_registro),(Object)(_hvd_rechazo),(Object)(_bcajas),(Object)(_cantc),(Object)(_consecutivo),(Object)(_bcajas),(Object)(_cantc),(Object)(_hvd_bcredito)})); +RDebugUtils.currentLine=14877056; + //BA.debugLineNum = 14877056;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO HIST"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_VENTAS2(HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT, HVD_FECHA, HVD_CODPROMO, HVD_PROID,HVD_NUM_TICKET, HVD_NUM_REGISTRO, HVD_RECHAZO, HVD_ESTATUS, HVD_PARCIAL) VALUES (?,?,?,?,?,?,?,?,?,?,0,0)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_hvd_cliente),(Object)(_hvd_pronombre),(Object)(_hvd_cant),(Object)(_hvd_costo_tot),(Object)(_hvd_fecha),(Object)(_hvd_codpromo),(Object)(_hvd_proid),(Object)(_hvd_num_ticket),(Object)(_hvd_num_registro),(Object)(_hvd_rechazo)})); + }else { +RDebugUtils.currentLine=14877059; + //BA.debugLineNum = 14877059;BA.debugLine="Private tc As Cursor = Starter.skmt.ExecQuer"; +_tc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_tc = (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 HVD_CLIENTE from HIST_VENTAS where HVD_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(_hvd_cliente))+"' and HVD_PROID = '"+__c.SmartStringFormatter("",(Object)(_hvd_proid))+"' AND HVD_CANT = '"+__c.SmartStringFormatter("",(Object)(_hvd_cant))+"' AND HVD_CODPROMO = '"+__c.SmartStringFormatter("",(Object)(_hvd_codpromo))+"' ")))); +RDebugUtils.currentLine=14877060; + //BA.debugLineNum = 14877060;BA.debugLine="If tc.RowCount = 0 Then"; +if (_tc.getRowCount()==0) { +RDebugUtils.currentLine=14877061; + //BA.debugLineNum = 14877061;BA.debugLine="Log($\"Guardamos ${HVD_CLIENTE}\"$)"; +__c.LogImpl("814877061",("Guardamos "+__c.SmartStringFormatter("",(Object)(_hvd_cliente))+""),0); +RDebugUtils.currentLine=14877062; + //BA.debugLineNum = 14877062;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO HIS"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_VENTAS(HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT, HVD_FECHA, HVD_CODPROMO, HVD_PROID,HVD_NUM_TICKET, HVD_NUM_REGISTRO, HVD_RECHAZO, HVD_ESTATUS, HVD_PARCIAL, BCAJAS,CANTC,CONSECUTIVO,BCAJAS_OR,CANTC_OR,HVD_BCREDITO) VALUES (?,?,?,?,?,?,?,?,?,?,0,0,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_hvd_cliente),(Object)(_hvd_pronombre),(Object)(_hvd_cant),(Object)(_hvd_costo_tot),(Object)(_hvd_fecha),(Object)(_hvd_codpromo),(Object)(_hvd_proid),(Object)(_hvd_num_ticket),(Object)(_hvd_num_registro),(Object)(_hvd_rechazo),(Object)(_bcajas),(Object)(_cantc),(Object)(_consecutivo),(Object)(_bcajas),(Object)(_cantc),(Object)(_hvd_bcredito)})); +RDebugUtils.currentLine=14877063; + //BA.debugLineNum = 14877063;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO HIS"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_VENTAS2(HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT, HVD_FECHA, HVD_CODPROMO, HVD_PROID,HVD_NUM_TICKET, HVD_NUM_REGISTRO, HVD_RECHAZO, HVD_ESTATUS, HVD_PARCIAL) VALUES (?,?,?,?,?,?,?,?,?,?,0,0)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_hvd_cliente),(Object)(_hvd_pronombre),(Object)(_hvd_cant),(Object)(_hvd_costo_tot),(Object)(_hvd_fecha),(Object)(_hvd_codpromo),(Object)(_hvd_proid),(Object)(_hvd_num_ticket),(Object)(_hvd_num_registro),(Object)(_hvd_rechazo)})); + }; + }; + } +}; +RDebugUtils.currentLine=14877067; + //BA.debugLineNum = 14877067;BA.debugLine="Starter.skmt.TransactionSuccessful"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .TransactionSuccessful(); +RDebugUtils.currentLine=14877068; + //BA.debugLineNum = 14877068;BA.debugLine="Starter.skmt.EndTransaction"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .EndTransaction(); +RDebugUtils.currentLine=14877069; + //BA.debugLineNum = 14877069;BA.debugLine="Log($\"******** Terminamos HV - ${result.Rows."; +__c.LogImpl("814877069",("******** Terminamos HV - "+__c.SmartStringFormatter("",(Object)(_result.Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()))+""),0); +RDebugUtils.currentLine=14877083; + //BA.debugLineNum = 14877083;BA.debugLine="Listo3 =1"; +__ref._listo3 /*String*/ = BA.NumberToString(1); +RDebugUtils.currentLine=14877084; + //BA.debugLineNum = 14877084;BA.debugLine="If Listo1 = 1 And Listo3 = 1 Then"; +if ((__ref._listo1 /*String*/ ).equals(BA.NumberToString(1)) && (__ref._listo3 /*String*/ ).equals(BA.NumberToString(1))) { +RDebugUtils.currentLine=14877085; + //BA.debugLineNum = 14877085;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True"; +__c.ToastMessageShow(BA.ObjectToCharSequence("Datos Actualizados."),__c.True); +RDebugUtils.currentLine=14877086; + //BA.debugLineNum = 14877086;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); +RDebugUtils.currentLine=14877087; + //BA.debugLineNum = 14877087;BA.debugLine="img2.Visible = False"; +__ref._img2 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=14877088; + //BA.debugLineNum = 14877088;BA.debugLine="EJECUTANDO = 0"; +__ref._ejecutando /*String*/ = BA.NumberToString(0); + }; + }; + }; +RDebugUtils.currentLine=14877094; + //BA.debugLineNum = 14877094;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=14877095; + //BA.debugLineNum = 14877095;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=14877096; + //BA.debugLineNum = 14877096;BA.debugLine="If result.Tag = \"variables\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("variables"))) { +RDebugUtils.currentLine=14877097; + //BA.debugLineNum = 14877097;BA.debugLine="For Each records() As Object In result.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group354 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen354 = group354.getSize() +;int index354 = 0; +; +for (; index354 < groupLen354;index354++){ +_records = (Object[])(group354.Get(index354)); +RDebugUtils.currentLine=14877098; + //BA.debugLineNum = 14877098;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"))))]); +RDebugUtils.currentLine=14877099; + //BA.debugLineNum = 14877099;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"))))]); +RDebugUtils.currentLine=14877101; + //BA.debugLineNum = 14877101;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_V"; +_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)(_cat_va_descripcion),(Object)(_cat_va_valor)})); + } +}; + }; + }; +RDebugUtils.currentLine=14877107; + //BA.debugLineNum = 14877107;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=14877108; + //BA.debugLineNum = 14877108;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=14877109; + //BA.debugLineNum = 14877109;BA.debugLine="If result.Tag = \"PAGARES\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("PAGARES"))) { +RDebugUtils.currentLine=14877110; + //BA.debugLineNum = 14877110;BA.debugLine="For Each records() As Object In result.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group364 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen364 = group364.getSize() +;int index364 = 0; +; +for (; index364 < groupLen364;index364++){ +_records = (Object[])(group364.Get(index364)); +RDebugUtils.currentLine=14877112; + //BA.debugLineNum = 14877112;BA.debugLine="Dim TMP_MONTO_PAGARE As String = records(resu"; +_tmp_monto_pagare = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("TMP_MONTO_PAGARE"))))]); +RDebugUtils.currentLine=14877113; + //BA.debugLineNum = 14877113;BA.debugLine="Dim TMP_CLIENTE As String = records(result.Co"; +_tmp_cliente = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("TMP_CLIENTE"))))]); +RDebugUtils.currentLine=14877115; + //BA.debugLineNum = 14877115;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PAGAR"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PAGARES(TMP_MONTO_PAGARE, TMP_CLIENTE) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_tmp_monto_pagare),(Object)(_tmp_cliente)})); + } +}; + }; + }; +RDebugUtils.currentLine=14877120; + //BA.debugLineNum = 14877120;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=14877121; + //BA.debugLineNum = 14877121;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=14877122; + //BA.debugLineNum = 14877122;BA.debugLine="If result.Tag = \"valida_pedido\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("valida_pedido"))) { +RDebugUtils.currentLine=14877123; + //BA.debugLineNum = 14877123;BA.debugLine="For Each records() As Object In result.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group374 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen374 = group374.getSize() +;int index374 = 0; +; +for (; index374 < groupLen374;index374++){ +_records = (Object[])(group374.Get(index374)); +RDebugUtils.currentLine=14877124; + //BA.debugLineNum = 14877124;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=14877125; + //BA.debugLineNum = 14877125;BA.debugLine="If cuantos_pedido = CUANTOSP Then"; +if ((__ref._cuantos_pedido /*String*/ ).equals(BA.NumberToString(_cuantosp))) { +RDebugUtils.currentLine=14877127; + //BA.debugLineNum = 14877127;BA.debugLine="datos_iguales = \"ok\""; +__ref._datos_iguales /*String*/ = "ok"; + }else { +RDebugUtils.currentLine=14877129; + //BA.debugLineNum = 14877129;BA.debugLine="ToastMessageShow(\"No se cargo bien la info P"; +__c.ToastMessageShow(BA.ObjectToCharSequence("No se cargo bien la info P. Sync Nuevamente"+BA.NumberToString(_cuantosp)+" "+__ref._cuantos_pedido /*String*/ ),__c.True); + }; + } +}; + }; + }; +RDebugUtils.currentLine=14877137; + //BA.debugLineNum = 14877137;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=14877138; + //BA.debugLineNum = 14877138;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=14877139; + //BA.debugLineNum = 14877139;BA.debugLine="If result.Tag = \"valida_pedidoc\" Then 'query ta"; +if ((_result.Tag /*Object*/ ).equals((Object)("valida_pedidoc"))) { +RDebugUtils.currentLine=14877140; + //BA.debugLineNum = 14877140;BA.debugLine="For Each records() As Object In result.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group387 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen387 = group387.getSize() +;int index387 = 0; +; +for (; index387 < groupLen387;index387++){ +_records = (Object[])(group387.Get(index387)); +RDebugUtils.currentLine=14877141; + //BA.debugLineNum = 14877141;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=14877142; + //BA.debugLineNum = 14877142;BA.debugLine="If cuantos_pedidosc = CUANTOSC Then"; +if ((__ref._cuantos_pedidosc /*String*/ ).equals(BA.NumberToString(_cuantosc))) { +RDebugUtils.currentLine=14877144; + //BA.debugLineNum = 14877144;BA.debugLine="datos_iguales = \"ok\""; +__ref._datos_iguales /*String*/ = "ok"; + }else { +RDebugUtils.currentLine=14877146; + //BA.debugLineNum = 14877146;BA.debugLine="ToastMessageShow(\"No se cargo bien la info C"; +__c.ToastMessageShow(BA.ObjectToCharSequence("No se cargo bien la info C. Sync Nuevamente"+BA.NumberToString(_cuantosc)+" "+__ref._cuantos_pedidosc /*String*/ ),__c.True); + }; + } +}; + }; + }; +RDebugUtils.currentLine=14877152; + //BA.debugLineNum = 14877152;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=14877153; + //BA.debugLineNum = 14877153;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=14877154; + //BA.debugLineNum = 14877154;BA.debugLine="If result.Tag = \"valida_noventa\" Then 'query ta"; +if ((_result.Tag /*Object*/ ).equals((Object)("valida_noventa"))) { +RDebugUtils.currentLine=14877155; + //BA.debugLineNum = 14877155;BA.debugLine="For Each records() As Object In result.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group400 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen400 = group400.getSize() +;int index400 = 0; +; +for (; index400 < groupLen400;index400++){ +_records = (Object[])(group400.Get(index400)); +RDebugUtils.currentLine=14877156; + //BA.debugLineNum = 14877156;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=14877157; + //BA.debugLineNum = 14877157;BA.debugLine="If cuantos_noventa = CUANTOSN Then"; +if ((__ref._cuantos_noventa /*String*/ ).equals(BA.NumberToString(_cuantosn))) { +RDebugUtils.currentLine=14877159; + //BA.debugLineNum = 14877159;BA.debugLine="datos_iguales = \"ok\""; +__ref._datos_iguales /*String*/ = "ok"; + }else { +RDebugUtils.currentLine=14877161; + //BA.debugLineNum = 14877161;BA.debugLine="ToastMessageShow(\"No se cargo bien la info N"; +__c.ToastMessageShow(BA.ObjectToCharSequence("No se cargo bien la info N. Sync Nuevamente"+BA.NumberToString(_cuantosn)+" "+__ref._cuantos_noventa /*String*/ ),__c.True); + }; + } +}; + }; + }; +RDebugUtils.currentLine=14877167; + //BA.debugLineNum = 14877167;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=14877168; + //BA.debugLineNum = 14877168;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=14877169; + //BA.debugLineNum = 14877169;BA.debugLine="If result.Tag = \"insert_pedido\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("insert_pedido"))) { +RDebugUtils.currentLine=14877170; + //BA.debugLineNum = 14877170;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True)"; +__c.ToastMessageShow(BA.ObjectToCharSequence("Datos Actualizados."),__c.True); + }; + }; +RDebugUtils.currentLine=14877174; + //BA.debugLineNum = 14877174;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=14877175; + //BA.debugLineNum = 14877175;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=14877176; + //BA.debugLineNum = 14877176;BA.debugLine="If result.Tag = \"version\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("version"))) { +RDebugUtils.currentLine=14877177; + //BA.debugLineNum = 14877177;BA.debugLine="For Each records() As Object In result.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group419 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen419 = group419.getSize() +;int index419 = 0; +; +for (; index419 < groupLen419;index419++){ +_records = (Object[])(group419.Get(index419)); +RDebugUtils.currentLine=14877178; + //BA.debugLineNum = 14877178;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from VERSIO"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from VERSION"); +RDebugUtils.currentLine=14877179; + //BA.debugLineNum = 14877179;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=14877181; + //BA.debugLineNum = 14877181;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO VERSI"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO VERSION(NOVERSION) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_ve_version)})); + } +}; + }; + }; +RDebugUtils.currentLine=14877186; + //BA.debugLineNum = 14877186;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=14877187; + //BA.debugLineNum = 14877187;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=14877188; + //BA.debugLineNum = 14877188;BA.debugLine="If result.Tag = \"count_cli\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("count_cli"))) { +RDebugUtils.currentLine=14877189; + //BA.debugLineNum = 14877189;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; +; +for (; index429 < groupLen429;index429++){ +_records = (Object[])(group429.Get(index429)); +RDebugUtils.currentLine=14877190; + //BA.debugLineNum = 14877190;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=14877195; + //BA.debugLineNum = 14877195;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=14877196; + //BA.debugLineNum = 14877196;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=14877197; + //BA.debugLineNum = 14877197;BA.debugLine="If result.Tag = \"ruta\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("ruta"))) { +RDebugUtils.currentLine=14877198; + //BA.debugLineNum = 14877198;BA.debugLine="If reqs.IndexOf(\"ruta\") > -1 Then"; +if (__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .IndexOf((Object)("ruta"))>-1) { +RDebugUtils.currentLine=14877199; + //BA.debugLineNum = 14877199;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"ruta\"))"; +__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .RemoveAt(__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .IndexOf((Object)("ruta"))); +RDebugUtils.currentLine=14877200; + //BA.debugLineNum = 14877200;BA.debugLine="Log(reqs.Size)"; +__c.LogImpl("814877200",BA.NumberToString(__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),0); + }; +RDebugUtils.currentLine=14877202; + //BA.debugLineNum = 14877202;BA.debugLine="For Each records() As Object In result.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group441 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen441 = group441.getSize() +;int index441 = 0; +; +for (; index441 < groupLen441;index441++){ +_records = (Object[])(group441.Get(index441)); +RDebugUtils.currentLine=14877203; + //BA.debugLineNum = 14877203;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=14877205; + //BA.debugLineNum = 14877205;BA.debugLine="If VALIDO = \"OK\" Then"; +if ((_valido).equals("OK")) { +RDebugUtils.currentLine=14877206; + //BA.debugLineNum = 14877206;BA.debugLine="If l_ctast.Text = \"0\" Then"; +if ((__ref._l_ctast /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("0")) { +RDebugUtils.currentLine=14877207; + //BA.debugLineNum = 14877207;BA.debugLine="Subir.Visible = True"; +__ref._subir /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); + }else +{RDebugUtils.currentLine=14877208; + //BA.debugLineNum = 14877208;BA.debugLine="Else If l_ctast.Text <> \"0\" Then"; +if ((__ref._l_ctast /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("0") == false) { +RDebugUtils.currentLine=14877209; + //BA.debugLineNum = 14877209;BA.debugLine="Subir.Visible = False"; +__ref._subir /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); + }} +; +RDebugUtils.currentLine=14877211; + //BA.debugLineNum = 14877211;BA.debugLine="cargar.Visible = True"; +__ref._cargar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=14877212; + //BA.debugLineNum = 14877212;BA.debugLine="If Subs.dameUsuarioDeDB = \"ROOT\" Then"; +if ((_subs._dameusuariodedb /*String*/ (ba)).equals("ROOT")) { +RDebugUtils.currentLine=14877213; + //BA.debugLineNum = 14877213;BA.debugLine="Subir.Visible = True"; +__ref._subir /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); + }; +RDebugUtils.currentLine=14877215; + //BA.debugLineNum = 14877215;BA.debugLine="connecta.Visible = False"; +__ref._connecta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=14877216; + //BA.debugLineNum = 14877216;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM RUTAA"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM RUTAA"); +RDebugUtils.currentLine=14877219; + //BA.debugLineNum = 14877219;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO RUTA"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO RUTAA(RUTAA) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())})); +RDebugUtils.currentLine=14877221; + //BA.debugLineNum = 14877221;BA.debugLine="B4XPages.MainPage.rutaPreventa = e_ruta.TEXT"; +_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._rutapreventa /*String*/ = __ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText(); +RDebugUtils.currentLine=14877223; + //BA.debugLineNum = 14877223;BA.debugLine="If conn = \"1\" Then"; +if ((__ref._conn /*String*/ ).equals("1")) { +RDebugUtils.currentLine=14877224; + //BA.debugLineNum = 14877224;BA.debugLine="ToastMessageShow(\"Existe Conexión con el Se"; +__c.ToastMessageShow(BA.ObjectToCharSequence("Existe Conexión con el Servidor."),__c.True); + }; + }else { +RDebugUtils.currentLine=14877227; + //BA.debugLineNum = 14877227;BA.debugLine="MsgboxAsync(\"La ruta no esta asignada a este"; +__c.MsgboxAsync(BA.ObjectToCharSequence("La ruta no esta asignada a este usuario"),BA.ObjectToCharSequence("Atención"),ba); +RDebugUtils.currentLine=14877228; + //BA.debugLineNum = 14877228;BA.debugLine="cargar.Visible = False"; +__ref._cargar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=14877229; + //BA.debugLineNum = 14877229;BA.debugLine="Subir.Visible = False"; +__ref._subir /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=14877230; + //BA.debugLineNum = 14877230;BA.debugLine="inv.Visible = False"; +__ref._inv /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=14877231; + //BA.debugLineNum = 14877231;BA.debugLine="connecta.Visible = False"; +__ref._connecta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); + }; + } +}; + }; + }; +RDebugUtils.currentLine=14877237; + //BA.debugLineNum = 14877237;BA.debugLine="If Job.JobName = \"DBRequest\" Then 'Traemos las c"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=14877238; + //BA.debugLineNum = 14877238;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=14877239; + //BA.debugLineNum = 14877239;BA.debugLine="If result.Tag = \"coords_almacen\" Then 'query ta"; +if ((_result.Tag /*Object*/ ).equals((Object)("coords_almacen"))) { +RDebugUtils.currentLine=14877240; + //BA.debugLineNum = 14877240;BA.debugLine="For Each records() As Object In result.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group473 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen473 = group473.getSize() +;int index473 = 0; +; +for (; index473 < groupLen473;index473++){ +_records = (Object[])(group473.Get(index473)); +RDebugUtils.currentLine=14877241; + //BA.debugLineNum = 14877241;BA.debugLine="Log(\"Coordenadas del almacen: \" & records(res"; +__c.LogImpl("814877241","Coordenadas del almacen: "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_LATITUD"))))])+","+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_LONGITUD"))))]),0); +RDebugUtils.currentLine=14877242; + //BA.debugLineNum = 14877242;BA.debugLine="Private lat, lon As Double"; +_lat = 0; +_lon = 0; +RDebugUtils.currentLine=14877243; + //BA.debugLineNum = 14877243;BA.debugLine="lat = 0.0"; +_lat = 0.0; +RDebugUtils.currentLine=14877244; + //BA.debugLineNum = 14877244;BA.debugLine="lon = 0.0"; +_lon = 0.0; +RDebugUtils.currentLine=14877245; + //BA.debugLineNum = 14877245;BA.debugLine="If IsNumber(records(result.Columns.Get(\"CAT_A"; +if (__c.IsNumber(BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_LATITUD"))))])) && __c.IsNumber(BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_LONGITUD"))))]))) { +RDebugUtils.currentLine=14877246; + //BA.debugLineNum = 14877246;BA.debugLine="lat = records(result.Columns.Get(\"CAT_AL_LAT"; +_lat = (double)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_LATITUD"))))])); +RDebugUtils.currentLine=14877247; + //BA.debugLineNum = 14877247;BA.debugLine="lon = records(result.Columns.Get(\"CAT_AL_LON"; +_lon = (double)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_LONGITUD"))))])); + }; +RDebugUtils.currentLine=14877249; + //BA.debugLineNum = 14877249;BA.debugLine="Starter.cedisLocation.Latitude = lat"; +_starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .setLatitude(_lat); +RDebugUtils.currentLine=14877250; + //BA.debugLineNum = 14877250;BA.debugLine="Starter.cedisLocation.Longitude = lon"; +_starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .setLongitude(_lon); +RDebugUtils.currentLine=14877251; + //BA.debugLineNum = 14877251;BA.debugLine="Starter.skmt.ExecNonQuery2(\"delete from CAT_V"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("COORDS_ALMACEN")})); +RDebugUtils.currentLine=14877252; + //BA.debugLineNum = 14877252;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_V"; +_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)("COORDS_ALMACEN"),(Object)(BA.NumberToString(_lon)+","+BA.NumberToString(_lat))})); + } +}; + }; + }; +RDebugUtils.currentLine=14877258; + //BA.debugLineNum = 14877258;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=14877259; + //BA.debugLineNum = 14877259;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=14877260; + //BA.debugLineNum = 14877260;BA.debugLine="If result.Tag = \"ins_reparto\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("ins_reparto"))) { +RDebugUtils.currentLine=14877261; + //BA.debugLineNum = 14877261;BA.debugLine="For Each records() As Object In result.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group492 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen492 = group492.getSize() +;int index492 = 0; +; +for (; index492 < groupLen492;index492++){ +_records = (Object[])(group492.Get(index492)); +RDebugUtils.currentLine=14877262; + //BA.debugLineNum = 14877262;BA.debugLine="For Each k As String In result.Columns.Keys"; +{ +final anywheresoftware.b4a.BA.IterableList group493 = _result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Keys(); +final int groupLen493 = group493.getSize() +;int index493 = 0; +; +for (; index493 < groupLen493;index493++){ +_k = BA.ObjectToString(group493.Get(index493)); +RDebugUtils.currentLine=14877263; + //BA.debugLineNum = 14877263;BA.debugLine="Log(k & \": \" & records(result.Columns.Get(k)"; +__c.LogImpl("814877263",_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0); + } +}; + } +}; + }; + }; +RDebugUtils.currentLine=14877269; + //BA.debugLineNum = 14877269;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=14877270; + //BA.debugLineNum = 14877270;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._handlejob /*reparto_izca.keymon.lat.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=14877271; + //BA.debugLineNum = 14877271;BA.debugLine="If result.Tag = \"ins_rechazos\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("ins_rechazos"))) { +RDebugUtils.currentLine=14877272; + //BA.debugLineNum = 14877272;BA.debugLine="For Each records() As Object In result.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group502 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen502 = group502.getSize() +;int index502 = 0; +; +for (; index502 < groupLen502;index502++){ +_records = (Object[])(group502.Get(index502)); +RDebugUtils.currentLine=14877273; + //BA.debugLineNum = 14877273;BA.debugLine="For Each k As String In result.Columns.Keys"; +{ +final anywheresoftware.b4a.BA.IterableList group503 = _result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Keys(); +final int groupLen503 = group503.getSize() +;int index503 = 0; +; +for (; index503 < groupLen503;index503++){ +_k = BA.ObjectToString(group503.Get(index503)); +RDebugUtils.currentLine=14877274; + //BA.debugLineNum = 14877274;BA.debugLine="Log(k & \": \" & records(result.Columns.Get(k)"; +__c.LogImpl("814877274",_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0); + } +}; + } +}; + }; + }; +RDebugUtils.currentLine=14877279; + //BA.debugLineNum = 14877279;BA.debugLine="Job.Release"; +_job._release /*String*/ (null); + }; +RDebugUtils.currentLine=14877282; + //BA.debugLineNum = 14877282;BA.debugLine="If reqs.Size = 0 Then"; +if (__ref._reqs /*anywheresoftware.b4a.objects.collections.List*/ .getSize()==0) { +RDebugUtils.currentLine=14877288; + //BA.debugLineNum = 14877288;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT COUNT(*) AS 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 COUNT(*) AS CUANTOS FROM CHECADO_CHECK"))); +RDebugUtils.currentLine=14877289; + //BA.debugLineNum = 14877289;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=14877290; + //BA.debugLineNum = 14877290;BA.debugLine="If c.GetString(\"CUANTOS\") = 0 Then"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS")).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=14877291; + //BA.debugLineNum = 14877291;BA.debugLine="Starter.skmt.ExecNonQuery2(\"insert into CHECADO"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into CHECADO_CHECK (CHECADO) VALUES(?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"0"})); + }else +{RDebugUtils.currentLine=14877293; + //BA.debugLineNum = 14877293;BA.debugLine="Else If c.GetString(\"CUANTOS\") = 1 Then"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS")).equals(BA.NumberToString(1))) { + }} +; +RDebugUtils.currentLine=14877296; + //BA.debugLineNum = 14877296;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }; +RDebugUtils.currentLine=14877302; + //BA.debugLineNum = 14877302;BA.debugLine="End Sub"; +return ""; +} +public String _listview1_itemclick(reparto_izca.keymon.lat.c_principal __ref,int _position,Object _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "listview1_itemclick", false)) + {return ((String) Debug.delegate(ba, "listview1_itemclick", new Object[] {_position,_value}));} +String[] _clieasing = null; +RDebugUtils.currentLine=15728640; + //BA.debugLineNum = 15728640;BA.debugLine="Private Sub ListView1_ItemClick (Position As Int,"; +RDebugUtils.currentLine=15728641; + //BA.debugLineNum = 15728641;BA.debugLine="Log(Value)"; +__c.LogImpl("815728641",BA.ObjectToString(_value),0); +RDebugUtils.currentLine=15728643; + //BA.debugLineNum = 15728643;BA.debugLine="Dim clieasing() As String = Regex.Split(\" \", Valu"; +_clieasing = __c.Regex.Split(" ",BA.ObjectToString(_value)); +RDebugUtils.currentLine=15728644; + //BA.debugLineNum = 15728644;BA.debugLine="Log(clieasing(0))"; +__c.LogImpl("815728644",_clieasing[(int) (0)],0); +RDebugUtils.currentLine=15728646; + //BA.debugLineNum = 15728646;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CUENTAA\")"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CUENTAA"); +RDebugUtils.currentLine=15728647; + //BA.debugLineNum = 15728647;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CUENTAA V"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CUENTAA VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_clieasing[(int) (0)])})); +RDebugUtils.currentLine=15728648; + //BA.debugLineNum = 15728648;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +_b4xpages._showpage /*String*/ (ba,"Cliente"); +RDebugUtils.currentLine=15728649; + //BA.debugLineNum = 15728649;BA.debugLine="Panel1.Visible = False"; +__ref._panel1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=15728650; + //BA.debugLineNum = 15728650;BA.debugLine="End Sub"; +return ""; +} +public String _p_carga_click(reparto_izca.keymon.lat.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "p_carga_click", false)) + {return ((String) Debug.delegate(ba, "p_carga_click", null));} +RDebugUtils.currentLine=16121856; + //BA.debugLineNum = 16121856;BA.debugLine="Private Sub P_carga_Click"; +RDebugUtils.currentLine=16121858; + //BA.debugLineNum = 16121858;BA.debugLine="End Sub"; +return ""; +} +public String _p_ciego_click(reparto_izca.keymon.lat.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "p_ciego_click", false)) + {return ((String) Debug.delegate(ba, "p_ciego_click", null));} +RDebugUtils.currentLine=16777216; + //BA.debugLineNum = 16777216;BA.debugLine="Private Sub P_CIEGO_Click"; +RDebugUtils.currentLine=16777218; + //BA.debugLineNum = 16777218;BA.debugLine="End Sub"; +return ""; +} +public String _p_prod_click(reparto_izca.keymon.lat.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "p_prod_click", false)) + {return ((String) Debug.delegate(ba, "p_prod_click", null));} +RDebugUtils.currentLine=15925248; + //BA.debugLineNum = 15925248;BA.debugLine="Private Sub p_prod_Click"; +RDebugUtils.currentLine=15925250; + //BA.debugLineNum = 15925250;BA.debugLine="End Sub"; +return ""; +} +public String _printer_connected(reparto_izca.keymon.lat.c_principal __ref,boolean _success) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "printer_connected", false)) + {return ((String) Debug.delegate(ba, "printer_connected", new Object[] {_success}));} +RDebugUtils.currentLine=16384000; + //BA.debugLineNum = 16384000;BA.debugLine="Sub Printer_Connected (Success As Boolean)"; +RDebugUtils.currentLine=16384001; + //BA.debugLineNum = 16384001;BA.debugLine="If Success Then"; +if (_success) { +RDebugUtils.currentLine=16384003; + //BA.debugLineNum = 16384003;BA.debugLine="PASA_IMP = \"1\""; +__ref._pasa_imp /*String*/ = "1"; + }else { +RDebugUtils.currentLine=16384006; + //BA.debugLineNum = 16384006;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=16384007; + //BA.debugLineNum = 16384007;BA.debugLine="StartPrinter"; +__ref._startprinter /*String*/ (null); + }; + }; +RDebugUtils.currentLine=16384010; + //BA.debugLineNum = 16384010;BA.debugLine="End Sub"; +return ""; +} +public String _startprinter(reparto_izca.keymon.lat.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "startprinter", false)) + {return ((String) Debug.delegate(ba, "startprinter", null));} +anywheresoftware.b4a.objects.collections.Map _paireddevices = null; +anywheresoftware.b4a.objects.collections.List _l1 = null; +int _resimp = 0; +int _i = 0; +RDebugUtils.currentLine=16449536; + //BA.debugLineNum = 16449536;BA.debugLine="Sub StartPrinter"; +RDebugUtils.currentLine=16449537; + //BA.debugLineNum = 16449537;BA.debugLine="Dim PairedDevices As Map"; +_paireddevices = new anywheresoftware.b4a.objects.collections.Map(); +RDebugUtils.currentLine=16449538; + //BA.debugLineNum = 16449538;BA.debugLine="Dim L1 As List"; +_l1 = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=16449539; + //BA.debugLineNum = 16449539;BA.debugLine="Dim resimp As Int"; +_resimp = 0; +RDebugUtils.currentLine=16449540; + //BA.debugLineNum = 16449540;BA.debugLine="ToastMessageShow(\"Printing.....\",True)"; +__c.ToastMessageShow(BA.ObjectToCharSequence("Printing....."),__c.True); +RDebugUtils.currentLine=16449541; + //BA.debugLineNum = 16449541;BA.debugLine="PairedDevices.Initialize"; +_paireddevices.Initialize(); +RDebugUtils.currentLine=16449542; + //BA.debugLineNum = 16449542;BA.debugLine="Try"; +try {RDebugUtils.currentLine=16449543; + //BA.debugLineNum = 16449543;BA.debugLine="PairedDevices = cmp20.GetPairedDevices"; +_paireddevices = __ref._cmp20 /*anywheresoftware.b4a.objects.Serial*/ .GetPairedDevices(); + } + catch (Exception e9) { + ba.setLastException(e9);RDebugUtils.currentLine=16449545; + //BA.debugLineNum = 16449545;BA.debugLine="Msgbox(\"Getting Paired Devices\",\"Printer Error\")"; +__c.Msgbox(BA.ObjectToCharSequence("Getting Paired Devices"),BA.ObjectToCharSequence("Printer Error"),ba); +RDebugUtils.currentLine=16449546; + //BA.debugLineNum = 16449546;BA.debugLine="printer.Close"; +__ref._printer /*anywheresoftware.b4a.objects.streams.File.TextWriterWrapper*/ .Close(); +RDebugUtils.currentLine=16449547; + //BA.debugLineNum = 16449547;BA.debugLine="cmp20.Disconnect"; +__ref._cmp20 /*anywheresoftware.b4a.objects.Serial*/ .Disconnect(); + }; +RDebugUtils.currentLine=16449550; + //BA.debugLineNum = 16449550;BA.debugLine="If PairedDevices.Size = 0 Then"; +if (_paireddevices.getSize()==0) { +RDebugUtils.currentLine=16449551; + //BA.debugLineNum = 16449551;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=16449552; + //BA.debugLineNum = 16449552;BA.debugLine="Return"; +if (true) return ""; + }; +RDebugUtils.currentLine=16449555; + //BA.debugLineNum = 16449555;BA.debugLine="If PairedDevices.Size = 1 Then"; +if (_paireddevices.getSize()==1) { +RDebugUtils.currentLine=16449556; + //BA.debugLineNum = 16449556;BA.debugLine="Try"; +try {RDebugUtils.currentLine=16449557; + //BA.debugLineNum = 16449557;BA.debugLine="cmp20.Connect(PairedDevices.Get(PairedDevices.G"; +__ref._cmp20 /*anywheresoftware.b4a.objects.Serial*/ .Connect(ba,BA.ObjectToString(_paireddevices.Get(_paireddevices.GetKeyAt((int) (0))))); + } + catch (Exception e21) { + ba.setLastException(e21);RDebugUtils.currentLine=16449559; + //BA.debugLineNum = 16449559;BA.debugLine="Msgbox(\"Connecting\",\"Printer Error\") 'ignore"; +__c.Msgbox(BA.ObjectToCharSequence("Connecting"),BA.ObjectToCharSequence("Printer Error"),ba); +RDebugUtils.currentLine=16449560; + //BA.debugLineNum = 16449560;BA.debugLine="printer.Close"; +__ref._printer /*anywheresoftware.b4a.objects.streams.File.TextWriterWrapper*/ .Close(); +RDebugUtils.currentLine=16449561; + //BA.debugLineNum = 16449561;BA.debugLine="cmp20.Disconnect"; +__ref._cmp20 /*anywheresoftware.b4a.objects.Serial*/ .Disconnect(); + }; + }else { +RDebugUtils.currentLine=16449564; + //BA.debugLineNum = 16449564;BA.debugLine="L1.Initialize"; +_l1.Initialize(); +RDebugUtils.currentLine=16449565; + //BA.debugLineNum = 16449565;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 ) { +RDebugUtils.currentLine=16449566; + //BA.debugLineNum = 16449566;BA.debugLine="L1.Add(PairedDevices.GetKeyAt(i))"; +_l1.Add(_paireddevices.GetKeyAt(_i)); + } +}; +RDebugUtils.currentLine=16449568; + //BA.debugLineNum = 16449568;BA.debugLine="resimp = InputList(L1, \"Choose device\", -1) 'ign"; +_resimp = __c.InputList(_l1,BA.ObjectToCharSequence("Choose device"),(int) (-1),ba); +RDebugUtils.currentLine=16449569; + //BA.debugLineNum = 16449569;BA.debugLine="If resimp <> DialogResponse.CANCEL Then"; +if (_resimp!=__c.DialogResponse.CANCEL) { +RDebugUtils.currentLine=16449570; + //BA.debugLineNum = 16449570;BA.debugLine="cmp20.Connect(PairedDevices.Get(L1.Get(resimp))"; +__ref._cmp20 /*anywheresoftware.b4a.objects.Serial*/ .Connect(ba,BA.ObjectToString(_paireddevices.Get(_l1.Get(_resimp)))); + }; + }; +RDebugUtils.currentLine=16449573; + //BA.debugLineNum = 16449573;BA.debugLine="End Sub"; +return ""; +} +public String _printer1_connected(reparto_izca.keymon.lat.c_principal __ref,boolean _success) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "printer1_connected", false)) + {return ((String) Debug.delegate(ba, "printer1_connected", new Object[] {_success}));} +RDebugUtils.currentLine=16252928; + //BA.debugLineNum = 16252928;BA.debugLine="Sub Printer1_Connected (Success As Boolean)"; +RDebugUtils.currentLine=16252930; + //BA.debugLineNum = 16252930;BA.debugLine="If Success Then"; +if (_success) { +RDebugUtils.currentLine=16252931; + //BA.debugLineNum = 16252931;BA.debugLine="ToastMessageShow(\"Impresora conectada\", False)"; +__c.ToastMessageShow(BA.ObjectToCharSequence("Impresora conectada"),__c.False); +RDebugUtils.currentLine=16252932; + //BA.debugLineNum = 16252932;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=16252933; + //BA.debugLineNum = 16252933;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=16252936; + //BA.debugLineNum = 16252936;BA.debugLine="impresoraConectada = True"; +__ref._impresoraconectada /*boolean*/ = __c.True; + }else { +RDebugUtils.currentLine=16252940; + //BA.debugLineNum = 16252940;BA.debugLine="LogColor(\"Error conectando la impresora\", Colors"; +__c.LogImpl("816252940","Error conectando la impresora",__c.Colors.Red); +RDebugUtils.currentLine=16252941; + //BA.debugLineNum = 16252941;BA.debugLine="errorImpresora = errorImpresora + 1"; +__ref._errorimpresora /*int*/ = (int) (__ref._errorimpresora /*int*/ +1); +RDebugUtils.currentLine=16252942; + //BA.debugLineNum = 16252942;BA.debugLine="If errorImpresora > 1 Then"; +if (__ref._errorimpresora /*int*/ >1) { +RDebugUtils.currentLine=16252943; + //BA.debugLineNum = 16252943;BA.debugLine="Starter.MAC_IMPRESORA = \"0\""; +_starter._mac_impresora /*String*/ = "0"; +RDebugUtils.currentLine=16252944; + //BA.debugLineNum = 16252944;BA.debugLine="errorImpresora = 0"; +__ref._errorimpresora /*int*/ = (int) (0); + }; + }; +RDebugUtils.currentLine=16252947; + //BA.debugLineNum = 16252947;BA.debugLine="End Sub"; +return ""; +} +public String _printer1_error(reparto_izca.keymon.lat.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "printer1_error", false)) + {return ((String) Debug.delegate(ba, "printer1_error", null));} +RDebugUtils.currentLine=16318464; + //BA.debugLineNum = 16318464;BA.debugLine="Sub Printer1_Error"; +RDebugUtils.currentLine=16318465; + //BA.debugLineNum = 16318465;BA.debugLine="Log(\"error printer\")"; +__c.LogImpl("816318465","error printer",0); +RDebugUtils.currentLine=16318466; + //BA.debugLineNum = 16318466;BA.debugLine="End Sub"; +return ""; +} +public String _subir_click(reparto_izca.keymon.lat.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));} +RDebugUtils.currentLine=14614528; + //BA.debugLineNum = 14614528;BA.debugLine="Sub Subir_Click"; +RDebugUtils.currentLine=14614529; + //BA.debugLineNum = 14614529;BA.debugLine="If Not(IsConnectedToInternet) Then MsgboxAsync(\"N"; +if (__c.Not(__ref._isconnectedtointernet /*boolean*/ (null))) { +__c.MsgboxAsync(BA.ObjectToCharSequence("No hay conexión a conexión a Internet"),BA.ObjectToCharSequence("Revisa tu conexión"),ba);}; +RDebugUtils.currentLine=14614530; + //BA.debugLineNum = 14614530;BA.debugLine="c=Starter.skmt.ExecQuery(\"select usuario from 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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select usuario from usuarioa"))); +RDebugUtils.currentLine=14614531; + //BA.debugLineNum = 14614531;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=14614532; + //BA.debugLineNum = 14614532;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=14614533; + //BA.debugLineNum = 14614533;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=14614535; + //BA.debugLineNum = 14614535;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT * FROM BLOCKEN"; +__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 BLOCKENVIO"))); +RDebugUtils.currentLine=14614536; + //BA.debugLineNum = 14614536;BA.debugLine="If c.RowCount = 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()==0) { +RDebugUtils.currentLine=14614537; + //BA.debugLineNum = 14614537;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO BLOCKENV"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO BLOCKENVIO(ENVIADO) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(1)})); +RDebugUtils.currentLine=14614538; + //BA.debugLineNum = 14614538;BA.debugLine="envioinfo"; +__ref._envioinfo /*String*/ (null); + }else { +RDebugUtils.currentLine=14614540; + //BA.debugLineNum = 14614540;BA.debugLine="envioinfo"; +__ref._envioinfo /*String*/ (null); + }; +RDebugUtils.currentLine=14614542; + //BA.debugLineNum = 14614542;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=14614548; + //BA.debugLineNum = 14614548;BA.debugLine="End Sub"; +return ""; +} +public String _t1_tick(reparto_izca.keymon.lat.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=15335424; + //BA.debugLineNum = 15335424;BA.debugLine="Sub t1_tick"; +RDebugUtils.currentLine=15335425; + //BA.debugLineNum = 15335425;BA.debugLine="cmd.Initialize"; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=15335426; + //BA.debugLineNum = 15335426;BA.debugLine="cmd.Name = \"select_cuantos_pedido\""; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_cuantos_pedido"; +RDebugUtils.currentLine=15335427; + //BA.debugLineNum = 15335427;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,l_ruta.t"; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._almacen /*String*/ ),(Object)(__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText())}; +RDebugUtils.currentLine=15335428; + //BA.debugLineNum = 15335428;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"valida_pedido\")"; +__ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("valida_pedido")); +RDebugUtils.currentLine=15335430; + //BA.debugLineNum = 15335430;BA.debugLine="cmd.Initialize"; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=15335431; + //BA.debugLineNum = 15335431;BA.debugLine="cmd.Name = \"select_cuantos_noventa_mards\""; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_cuantos_noventa_mards"; +RDebugUtils.currentLine=15335432; + //BA.debugLineNum = 15335432;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,l_ruta.t"; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._almacen /*String*/ ),(Object)(__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText())}; +RDebugUtils.currentLine=15335433; + //BA.debugLineNum = 15335433;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"valida_noventa\""; +__ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("valida_noventa")); +RDebugUtils.currentLine=15335435; + //BA.debugLineNum = 15335435;BA.debugLine="cmd.Initialize"; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=15335436; + //BA.debugLineNum = 15335436;BA.debugLine="cmd.Name = \"select_cuantos_pedidoc\""; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_cuantos_pedidoc"; +RDebugUtils.currentLine=15335437; + //BA.debugLineNum = 15335437;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,l_ruta.t"; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._almacen /*String*/ ),(Object)(__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText())}; +RDebugUtils.currentLine=15335438; + //BA.debugLineNum = 15335438;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"valida_pedidoc\""; +__ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("valida_pedidoc")); +RDebugUtils.currentLine=15335439; + //BA.debugLineNum = 15335439;BA.debugLine="img2.Visible=False"; +__ref._img2 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=15335440; + //BA.debugLineNum = 15335440;BA.debugLine="t1.Enabled = False"; +__ref._t1 /*anywheresoftware.b4a.objects.Timer*/ .setEnabled(__c.False); +RDebugUtils.currentLine=15335441; + //BA.debugLineNum = 15335441;BA.debugLine="End Sub"; +return ""; +} +public String _t8_tick(reparto_izca.keymon.lat.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "t8_tick", false)) + {return ((String) Debug.delegate(ba, "t8_tick", null));} +RDebugUtils.currentLine=16056320; + //BA.debugLineNum = 16056320;BA.debugLine="Sub t8_tick"; +RDebugUtils.currentLine=16056321; + //BA.debugLineNum = 16056321;BA.debugLine="cmd.Initialize"; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=16056322; + //BA.debugLineNum = 16056322;BA.debugLine="cmd.Name = \"select_conteo_izca\""; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_conteo_izca"; +RDebugUtils.currentLine=16056323; + //BA.debugLineNum = 16056323;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, ALM"; +__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=16056324; + //BA.debugLineNum = 16056324;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"CONTEO_DATOS\")"; +__ref._reqmanager /*reparto_izca.keymon.lat.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*reparto_izca.keymon.lat.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("CONTEO_DATOS")); +RDebugUtils.currentLine=16056325; + //BA.debugLineNum = 16056325;BA.debugLine="l_carga2.Text = \"VALIDANDO\""; +__ref._l_carga2 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("VALIDANDO")); +RDebugUtils.currentLine=16056326; + //BA.debugLineNum = 16056326;BA.debugLine="L_carga.Text = \"VALIDANDO\""; +__ref._l_carga /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("VALIDANDO")); +RDebugUtils.currentLine=16056327; + //BA.debugLineNum = 16056327;BA.debugLine="PB_carga.Progress = 50"; +__ref._pb_carga /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .setProgress((int) (50)); +RDebugUtils.currentLine=16056328; + //BA.debugLineNum = 16056328;BA.debugLine="PB_carga2.Progress = 50"; +__ref._pb_carga2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .setProgress((int) (50)); +RDebugUtils.currentLine=16056329; + //BA.debugLineNum = 16056329;BA.debugLine="t8.Enabled = False"; +__ref._t8 /*anywheresoftware.b4a.objects.Timer*/ .setEnabled(__c.False); +RDebugUtils.currentLine=16056330; + //BA.debugLineNum = 16056330;BA.debugLine="End Sub"; +return ""; +} +public String _trabajar_click(reparto_izca.keymon.lat.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "trabajar_click", false)) + {return ((String) Debug.delegate(ba, "trabajar_click", null));} +RDebugUtils.currentLine=14548992; + //BA.debugLineNum = 14548992;BA.debugLine="Sub trabajar_Click"; +RDebugUtils.currentLine=14548993; + //BA.debugLineNum = 14548993;BA.debugLine="If b_check.Visible = True Then"; +if (__ref._b_check /*anywheresoftware.b4a.objects.ButtonWrapper*/ .getVisible()==__c.True) { +RDebugUtils.currentLine=14548994; + //BA.debugLineNum = 14548994;BA.debugLine="MsgboxAsync(\"Favor de hacer el checklist.\",\"Atenc"; +__c.MsgboxAsync(BA.ObjectToCharSequence("Favor de hacer el checklist."),BA.ObjectToCharSequence("Atención"),ba); + }else { +RDebugUtils.currentLine=14548997; + //BA.debugLineNum = 14548997;BA.debugLine="B4XPages.ShowPage(\"Clientes\")"; +_b4xpages._showpage /*String*/ (ba,"Clientes"); + }; +RDebugUtils.currentLine=14549000; + //BA.debugLineNum = 14549000;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/c_productos.java b/B4A/Objects/src/reparto_izca/keymon/lat/c_productos.java new file mode 100644 index 0000000..0cce760 --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/c_productos.java @@ -0,0 +1,1840 @@ +package reparto_izca.keymon.lat; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.B4AClass; +import anywheresoftware.b4a.BALayout; +import anywheresoftware.b4a.debug.*; + +public class c_productos 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, "reparto_izca.keymon.lat.c_productos"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", reparto_izca.keymon.lat.c_productos.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.gps.GPS _g = null; +public String _clie_id = ""; +public String _sdate = ""; +public String _stime = ""; +public String _usuario = ""; +public anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_regresar = null; +public anywheresoftware.b4a.objects.ListViewWrapper _listview1 = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_cant = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_total = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_borra = null; +public String _existe = ""; +public String _result = ""; +public String _cuantos = ""; +public String _nombre_prod = ""; +public String _cuantos_pedido = ""; +public anywheresoftware.b4a.objects.LabelWrapper _titulo = null; +public anywheresoftware.b4a.objects.PanelWrapper _p1 = null; +public anywheresoftware.b4a.objects.ListViewWrapper _lv2 = null; +public anywheresoftware.b4a.objects.PanelWrapper _p_principal = null; +public b4a.example3.customlistview _clv_pedido = null; +public anywheresoftware.b4a.objects.PanelWrapper _p_prods = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_prodx = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_pcant = null; +public anywheresoftware.b4a.objects.EditTextWrapper _et_pcant = null; +public anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _bmp = null; +public boolean _etcanthasfocus = false; +public int _totalprods = 0; +public int _totalcompra = 0; +public anywheresoftware.b4a.objects.collections.Map _prodsmap = null; +public boolean _reconstruirpedido = false; +public String _promoaborrar = ""; +public anywheresoftware.b4a.objects.ButtonWrapper _b_guardar = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_prodmas = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_prodmenos = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_prodmenosc = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_pcantc = null; +public anywheresoftware.b4a.objects.EditTextWrapper _et_pcantc = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_prodmasc = null; +public anywheresoftware.b4a.objects.PanelWrapper _p_botmasmenc = null; +public anywheresoftware.b4a.objects.PanelWrapper _p_botmasmen = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_revversar = null; +public anywheresoftware.b4a.objects.LabelWrapper _label2 = null; +public anywheresoftware.b4a.objects.LabelWrapper _label3 = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_piezas = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_cajas = null; +public b4a.example.dateutils _dateutils = null; +public reparto_izca.keymon.lat.main _main = null; +public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; +public reparto_izca.keymon.lat.foto _foto = null; +public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_izca.keymon.lat.starter _starter = null; +public reparto_izca.keymon.lat.tracker _tracker = null; +public reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public Object _initialize(reparto_izca.keymon.lat.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=24248320; + //BA.debugLineNum = 24248320;BA.debugLine="Public Sub Initialize As Object"; +RDebugUtils.currentLine=24248321; + //BA.debugLineNum = 24248321;BA.debugLine="Return Me"; +if (true) return this; +RDebugUtils.currentLine=24248322; + //BA.debugLineNum = 24248322;BA.debugLine="End Sub"; +return null; +} +public String _b_guardar_click(reparto_izca.keymon.lat.c_productos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "b_guardar_click", false)) + {return ((String) Debug.delegate(ba, "b_guardar_click", null));} +RDebugUtils.currentLine=25362432; + //BA.debugLineNum = 25362432;BA.debugLine="Private Sub b_guardar_Click"; +RDebugUtils.currentLine=25362434; + //BA.debugLineNum = 25362434;BA.debugLine="End Sub"; +return ""; +} +public String _b_prodmas_click(reparto_izca.keymon.lat.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; +anywheresoftware.b4a.objects.B4XViewWrapper _lacant = null; +anywheresoftware.b4a.objects.collections.List _estetag = null; +String _maxprods = ""; +String _minimoadesc = ""; +anywheresoftware.b4a.sql.SQL.CursorWrapper _minimos = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _c2 = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _preciocat = null; +String _preciofull = ""; +String _pup = ""; +anywheresoftware.b4a.sql.SQL.CursorWrapper _precioreg = null; +String _precioregalo = ""; +String _esregalo = ""; +RDebugUtils.currentLine=24969216; + //BA.debugLineNum = 24969216;BA.debugLine="Sub b_prodMas_Click"; +RDebugUtils.currentLine=24969217; + //BA.debugLineNum = 24969217;BA.debugLine="etCantHasFocus = False"; +__ref._etcanthasfocus /*boolean*/ = __c.False; +RDebugUtils.currentLine=24969218; + //BA.debugLineNum = 24969218;BA.debugLine="Dim sDate, sTime As String"; +_sdate = ""; +_stime = ""; +RDebugUtils.currentLine=24969219; + //BA.debugLineNum = 24969219;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; +__c.DateTime.setDateFormat("dd/MM/yyyy"); +RDebugUtils.currentLine=24969220; + //BA.debugLineNum = 24969220;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; +__c.DateTime.setTimeFormat("HH:mm:ss"); +RDebugUtils.currentLine=24969221; + //BA.debugLineNum = 24969221;BA.debugLine="sDate = DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=24969222; + //BA.debugLineNum = 24969222;BA.debugLine="sTime = DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=24969224; + //BA.debugLineNum = 24969224;BA.debugLine="LogColor(\"b_prodMas_Click\", Colors.Magenta)"; +__c.LogImpl("824969224","b_prodMas_Click",__c.Colors.Magenta); +RDebugUtils.currentLine=24969225; + //BA.debugLineNum = 24969225;BA.debugLine="Dim index As Int = clv_pedido.GetItemFromView(Sen"; +_index = __ref._clv_pedido /*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=24969226; + //BA.debugLineNum = 24969226;BA.debugLine="Dim pnl0 As B4XView = clv_pedido.GetPanel(index)"; +_pnl0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_pnl0 = __ref._clv_pedido /*b4a.example3.customlistview*/ ._getpanel(_index); +RDebugUtils.currentLine=24969227; + //BA.debugLineNum = 24969227;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; +_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_pnl = _pnl0.GetView((int) (0)); +RDebugUtils.currentLine=24969228; + //BA.debugLineNum = 24969228;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(3)"; +_lacant = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_lacant = _pnl.GetView((int) (2)).GetView((int) (3)); +RDebugUtils.currentLine=24969232; + //BA.debugLineNum = 24969232;BA.debugLine="Dim esteTag As List = Regex.Split(\"\\|\", laCant.Ta"; +_estetag = new anywheresoftware.b4a.objects.collections.List(); +_estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(__c.Regex.Split("\\|",BA.ObjectToString(_lacant.getTag()))); +RDebugUtils.currentLine=24969233; + //BA.debugLineNum = 24969233;BA.debugLine="Log(\"LC_TEXT:\"&laCant.Text&\"|LC_TAG:\"&laCant.Tag&"; +__c.LogImpl("824969233","LC_TEXT:"+_lacant.getText()+"|LC_TAG:"+BA.ObjectToString(_lacant.getTag())+"|ET:"+BA.ObjectToString(_estetag),0); +RDebugUtils.currentLine=24969234; + //BA.debugLineNum = 24969234;BA.debugLine="If laCant.Text = \"\" Then laCant.Text = 0"; +if ((_lacant.getText()).equals("")) { +_lacant.setText(BA.ObjectToCharSequence(0));}; +RDebugUtils.currentLine=24969236; + //BA.debugLineNum = 24969236;BA.debugLine="Private maxProds = esteTag.Get(1) + esteTag.Get(4"; +_maxprods = BA.NumberToString((double)(BA.ObjectToNumber(_estetag.Get((int) (1))))+(double)(BA.ObjectToNumber(_estetag.Get((int) (4))))); +RDebugUtils.currentLine=24969238; + //BA.debugLineNum = 24969238;BA.debugLine="Private minimoadesc As String"; +_minimoadesc = ""; +RDebugUtils.currentLine=24969239; + //BA.debugLineNum = 24969239;BA.debugLine="Dim minimos As Cursor = Starter.skmt.ExecQuery2(\""; +_minimos = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_minimos = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM CAT_GUNAPROD3 WHERE CAT_GP_ID = ?",new String[]{BA.ObjectToString(_estetag.Get((int) (2)))}))); +RDebugUtils.currentLine=24969240; + //BA.debugLineNum = 24969240;BA.debugLine="If minimos.RowCount > 0 Then"; +if (_minimos.getRowCount()>0) { +RDebugUtils.currentLine=24969241; + //BA.debugLineNum = 24969241;BA.debugLine="minimos.Position = 0"; +_minimos.setPosition((int) (0)); +RDebugUtils.currentLine=24969242; + //BA.debugLineNum = 24969242;BA.debugLine="minimoadesc = minimos.GetString(\"CAT_DP_CANT_MIN"; +_minimoadesc = _minimos.GetString("CAT_DP_CANT_MIN_VENTA"); + }else { +RDebugUtils.currentLine=24969244; + //BA.debugLineNum = 24969244;BA.debugLine="minimoadesc = \"1\""; +_minimoadesc = "1"; + }; +RDebugUtils.currentLine=24969246; + //BA.debugLineNum = 24969246;BA.debugLine="minimos.Close"; +_minimos.Close(); +RDebugUtils.currentLine=24969247; + //BA.debugLineNum = 24969247;BA.debugLine="minimoadesc = \"1\""; +_minimoadesc = "1"; +RDebugUtils.currentLine=24969250; + //BA.debugLineNum = 24969250;BA.debugLine="LogColor($\"++++++++++++++++++++++++++ ${esteTag"; +__c.LogImpl("824969250",("++++++++++++++++++++++++++ "+__c.SmartStringFormatter("",(Object)(_estetag.getObject()))+""),__c.Colors.Green); +RDebugUtils.currentLine=24969251; + //BA.debugLineNum = 24969251;BA.debugLine="Log(esteTag.get(4))"; +__c.LogImpl("824969251",BA.ObjectToString(_estetag.Get((int) (4))),0); +RDebugUtils.currentLine=24969252; + //BA.debugLineNum = 24969252;BA.debugLine="If esteTag.Get(4) = \"0\" Then"; +if ((_estetag.Get((int) (4))).equals((Object)("0"))) { + }else { +RDebugUtils.currentLine=24969255; + //BA.debugLineNum = 24969255;BA.debugLine="If laCant.Text + 1 <= maxProds Then"; +if ((double)(Double.parseDouble(_lacant.getText()))+1<=(double)(Double.parseDouble(_maxprods))) { +RDebugUtils.currentLine=24969256; + //BA.debugLineNum = 24969256;BA.debugLine="Log($\"NuevaCant = ${laCant.Text + 1}\"$)"; +__c.LogImpl("824969256",("NuevaCant = "+__c.SmartStringFormatter("",(Object)((double)(Double.parseDouble(_lacant.getText()))+1))+""),0); +RDebugUtils.currentLine=24969257; + //BA.debugLineNum = 24969257;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=24969258; + //BA.debugLineNum = 24969258;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update cat_gunaprod"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen - 1 where cat_gp_id = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{BA.ObjectToString(_estetag.Get((int) (2)))})); +RDebugUtils.currentLine=24969259; + //BA.debugLineNum = 24969259;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM PEDI"; +__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*/ .ExecQuery2("SELECT * FROM PEDIDO WHERE PE_PROID = ? and PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND CONSECUTIVO = ? ",new String[]{BA.ObjectToString(_estetag.Get((int) (2))),BA.ObjectToString(_estetag.Get((int) (6)))}))); +RDebugUtils.currentLine=24969260; + //BA.debugLineNum = 24969260;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=24969261; + //BA.debugLineNum = 24969261;BA.debugLine="Private c2 As Cursor = Starter.skmt.ExecQuery2"; +_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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM HIST_VENTAS WHERE HVD_PROID = ? AND CONSECUTIVO = ? ",new String[]{BA.ObjectToString(_estetag.Get((int) (2))),BA.ObjectToString(_estetag.Get((int) (6)))}))); +RDebugUtils.currentLine=24969262; + //BA.debugLineNum = 24969262;BA.debugLine="If c2.RowCount > 0 Then"; +if (_c2.getRowCount()>0) { +RDebugUtils.currentLine=24969263; + //BA.debugLineNum = 24969263;BA.debugLine="c2.Position = 0"; +_c2.setPosition((int) (0)); +RDebugUtils.currentLine=24969265; + //BA.debugLineNum = 24969265;BA.debugLine="Dim preciocat As Cursor = Starter.skmt.ExecQu"; +_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 IFNULL(CAT_GP_PRECIO,0) AS CAT_GP_PRECIO from CAT_GUNAPROD WHERE CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_c2.GetString("HVD_PROID")))+"'")))); +RDebugUtils.currentLine=24969266; + //BA.debugLineNum = 24969266;BA.debugLine="If preciocat.RowCount > 0 Then"; +if (_preciocat.getRowCount()>0) { +RDebugUtils.currentLine=24969267; + //BA.debugLineNum = 24969267;BA.debugLine="preciocat.Position = 0"; +_preciocat.setPosition((int) (0)); +RDebugUtils.currentLine=24969268; + //BA.debugLineNum = 24969268;BA.debugLine="Dim preciofull As String = preciocat.GetStri"; +_preciofull = _preciocat.GetString("CAT_GP_PRECIO"); + }; +RDebugUtils.currentLine=24969270; + //BA.debugLineNum = 24969270;BA.debugLine="preciocat.Close"; +_preciocat.Close(); +RDebugUtils.currentLine=24969272; + //BA.debugLineNum = 24969272;BA.debugLine="If c2.GetString(\"HVD_CODPROMO\") = Subs.traeAl"; +if ((_c2.GetString("HVD_CODPROMO")).equals(_subs._traealmacen /*String*/ (ba))) { +RDebugUtils.currentLine=24969273; + //BA.debugLineNum = 24969273;BA.debugLine="Private pup As String = c2.GetString(\"HVD_CO"; +_pup = BA.NumberToString((double)(Double.parseDouble(_c2.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(_c2.GetString("HVD_CANT")))); +RDebugUtils.currentLine=24969275; + //BA.debugLineNum = 24969275;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO se"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update PEDIDO set PE_CANT = IFNULL(PE_CANT,0)+(1*'"+__c.SmartStringFormatter("",(Object)(_minimoadesc))+"'), PE_COSTO_TOT= ((IFNULL(PE_CANT,0)+(1*'"+__c.SmartStringFormatter("",(Object)(_minimoadesc))+"'))*'"+__c.SmartStringFormatter("",(Object)(_pup))+"') WHERE PE_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (6)))+"'")); + }else { +RDebugUtils.currentLine=24969277; + //BA.debugLineNum = 24969277;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO se"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update PEDIDO set PE_CANT = IFNULL(PE_CANT,0)+(1*'"+__c.SmartStringFormatter("",(Object)(_minimoadesc))+"'), PE_COSTO_TOT= ((IFNULL(PE_CANT,0)+(1*'"+__c.SmartStringFormatter("",(Object)(_minimoadesc))+"'))*'"+__c.SmartStringFormatter("",(Object)(_preciofull))+"') WHERE PE_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (6)))+"'")); + }; + }; + }else { +RDebugUtils.currentLine=24969282; + //BA.debugLineNum = 24969282;BA.debugLine="Private c2 As Cursor = Starter.skmt.ExecQuery2"; +_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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM HIST_VENTAS WHERE HVD_PROID = ? AND CONSECUTIVO = ? ",new String[]{BA.ObjectToString(_estetag.Get((int) (2))),BA.ObjectToString(_estetag.Get((int) (6)))}))); +RDebugUtils.currentLine=24969283; + //BA.debugLineNum = 24969283;BA.debugLine="If c2.RowCount > 0 Then"; +if (_c2.getRowCount()>0) { +RDebugUtils.currentLine=24969284; + //BA.debugLineNum = 24969284;BA.debugLine="c2.Position = 0"; +_c2.setPosition((int) (0)); +RDebugUtils.currentLine=24969286; + //BA.debugLineNum = 24969286;BA.debugLine="Dim preciocat As Cursor = Starter.skmt.ExecQu"; +_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 IFNULL(CAT_GP_PRECIO,0) AS CAT_GP_PRECIO from CAT_GUNAPROD WHERE CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_c2.GetString("HVD_PROID")))+"'")))); +RDebugUtils.currentLine=24969287; + //BA.debugLineNum = 24969287;BA.debugLine="If preciocat.RowCount > 0 Then"; +if (_preciocat.getRowCount()>0) { +RDebugUtils.currentLine=24969288; + //BA.debugLineNum = 24969288;BA.debugLine="preciocat.Position = 0"; +_preciocat.setPosition((int) (0)); +RDebugUtils.currentLine=24969289; + //BA.debugLineNum = 24969289;BA.debugLine="Dim preciofull As String = preciocat.GetStri"; +_preciofull = _preciocat.GetString("CAT_GP_PRECIO"); + }; +RDebugUtils.currentLine=24969291; + //BA.debugLineNum = 24969291;BA.debugLine="preciocat.Close"; +_preciocat.Close(); +RDebugUtils.currentLine=24969293; + //BA.debugLineNum = 24969293;BA.debugLine="Dim precioreg As Cursor = Starter.skmt.ExecQu"; +_precioreg = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_precioreg = (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 IFNULL(HVD_COSTO_TOT,0) AS HVD_COSTO_TOT, HVD_CANT from HIST_VENTAS WHERE HVD_PROID = '"+__c.SmartStringFormatter("",(Object)(_c2.GetString("HVD_PROID")))+"' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (6)))+"'")))); +RDebugUtils.currentLine=24969294; + //BA.debugLineNum = 24969294;BA.debugLine="If precioreg.RowCount > 0 Then"; +if (_precioreg.getRowCount()>0) { +RDebugUtils.currentLine=24969295; + //BA.debugLineNum = 24969295;BA.debugLine="precioreg.Position = 0"; +_precioreg.setPosition((int) (0)); +RDebugUtils.currentLine=24969296; + //BA.debugLineNum = 24969296;BA.debugLine="Dim precioregalo As String = precioreg.GetSt"; +_precioregalo = BA.NumberToString((double)(Double.parseDouble(_precioreg.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(_precioreg.GetString("HVD_CANT")))); +RDebugUtils.currentLine=24969297; + //BA.debugLineNum = 24969297;BA.debugLine="If precioregalo < 1 Then"; +if ((double)(Double.parseDouble(_precioregalo))<1) { +RDebugUtils.currentLine=24969298; + //BA.debugLineNum = 24969298;BA.debugLine="Dim esregalo As String = 1"; +_esregalo = BA.NumberToString(1); + }else { +RDebugUtils.currentLine=24969300; + //BA.debugLineNum = 24969300;BA.debugLine="Dim esregalo As String = 0"; +_esregalo = BA.NumberToString(0); + }; + }; +RDebugUtils.currentLine=24969303; + //BA.debugLineNum = 24969303;BA.debugLine="precioreg.Close"; +_precioreg.Close(); +RDebugUtils.currentLine=24969305; + //BA.debugLineNum = 24969305;BA.debugLine="If c2.GetString(\"HVD_CODPROMO\") = Subs.traeAl"; +if ((_c2.GetString("HVD_CODPROMO")).equals(_subs._traealmacen /*String*/ (ba))) { +RDebugUtils.currentLine=24969306; + //BA.debugLineNum = 24969306;BA.debugLine="Private pup As String = c2.GetString(\"HVD_CO"; +_pup = BA.NumberToString((double)(Double.parseDouble(_c2.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(_c2.GetString("HVD_CANT")))); +RDebugUtils.currentLine=24969309; + //BA.debugLineNum = 24969309;BA.debugLine="Log(\"algo1\")"; +__c.LogImpl("824969309","algo1",0); +RDebugUtils.currentLine=24969310; + //BA.debugLineNum = 24969310;BA.debugLine="If Subs.traeCliente = \"63403\" Then"; +if ((_subs._traecliente /*String*/ (ba)).equals("63403")) { +RDebugUtils.currentLine=24969311; + //BA.debugLineNum = 24969311;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PED"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO(PE_PROID,PE_PRONOMBRE,PE_CANT,PE_CLIENTEOR,PE_CLIENTE,PE_COSTOU,PE_COSTO_TOT,PE_CAJAS,PE_BCAJAS,CONSECUTIVO,PE_RUTA, PE_TIPO,PE_CEDIS,PE_FECHA,PE_USUARIO,FECHA_PREV,RUTA_REP,PE_REGALO) VALUES (?,?,?,?,?,?,?,0,0,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{BA.ObjectToString(_estetag.Get((int) (2))),_c2.GetString("HVD_PRONOMBRE"),BA.NumberToString(1*(double)(Double.parseDouble(_minimoadesc))),BA.ObjectToString(_estetag.Get((int) (5))),_subs._traecliente /*String*/ (ba),BA.NumberToString(((double)(Double.parseDouble(_pup))*(double)(Double.parseDouble(_minimoadesc)))),BA.NumberToString(((double)(Double.parseDouble(_pup))*(double)(Double.parseDouble(_minimoadesc)))),BA.ObjectToString(_estetag.Get((int) (6))),_subs._traerutaprev /*String*/ (ba),"DANADO",_subs._traealmacen /*String*/ (ba),__ref._sdate /*String*/ +" "+__ref._stime /*String*/ ,_subs._traeusuario /*String*/ (ba),_subs._traefechaprev /*String*/ (ba),_subs._traerutareparto /*String*/ (ba),_esregalo})); + }else { +RDebugUtils.currentLine=24969313; + //BA.debugLineNum = 24969313;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PED"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO(PE_PROID,PE_PRONOMBRE,PE_CANT,PE_CLIENTEOR,PE_CLIENTE,PE_COSTOU,PE_COSTO_TOT,PE_CAJAS,PE_BCAJAS,CONSECUTIVO,PE_RUTA, PE_TIPO,PE_CEDIS,PE_FECHA,PE_USUARIO,FECHA_PREV,RUTA_REP,PE_REGALO) VALUES (?,?,?,?,?,?,?,0,0,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{BA.ObjectToString(_estetag.Get((int) (2))),_c2.GetString("HVD_PRONOMBRE"),BA.NumberToString(1*(double)(Double.parseDouble(_minimoadesc))),BA.ObjectToString(_estetag.Get((int) (5))),_subs._traecliente /*String*/ (ba),BA.NumberToString(((double)(Double.parseDouble(_pup))*(double)(Double.parseDouble(_minimoadesc)))),BA.NumberToString(((double)(Double.parseDouble(_pup))*(double)(Double.parseDouble(_minimoadesc)))),BA.ObjectToString(_estetag.Get((int) (6))),_subs._traerutaprev /*String*/ (ba),"PREVENTA",_subs._traealmacen /*String*/ (ba),__ref._sdate /*String*/ +" "+__ref._stime /*String*/ ,_subs._traeusuario /*String*/ (ba),_subs._traefechaprev /*String*/ (ba),_subs._traerutareparto /*String*/ (ba),_esregalo})); + }; + }else { +RDebugUtils.currentLine=24969316; + //BA.debugLineNum = 24969316;BA.debugLine="Log(\"|\" & preciofull& \"|\")"; +__c.LogImpl("824969316","|"+_preciofull+"|",0); +RDebugUtils.currentLine=24969317; + //BA.debugLineNum = 24969317;BA.debugLine="Log(\"|\" & minimoadesc& \"|\")"; +__c.LogImpl("824969317","|"+_minimoadesc+"|",0); +RDebugUtils.currentLine=24969321; + //BA.debugLineNum = 24969321;BA.debugLine="Log(esteTag.Get(2))"; +__c.LogImpl("824969321",BA.ObjectToString(_estetag.Get((int) (2))),0); +RDebugUtils.currentLine=24969322; + //BA.debugLineNum = 24969322;BA.debugLine="Log(c2.GetString(\"HVD_PRONOMBRE\"))"; +__c.LogImpl("824969322",_c2.GetString("HVD_PRONOMBRE"),0); +RDebugUtils.currentLine=24969323; + //BA.debugLineNum = 24969323;BA.debugLine="Log((1*minimoadesc))"; +__c.LogImpl("824969323",BA.NumberToString((1*(double)(Double.parseDouble(_minimoadesc)))),0); +RDebugUtils.currentLine=24969324; + //BA.debugLineNum = 24969324;BA.debugLine="Log(esteTag.Get(5))"; +__c.LogImpl("824969324",BA.ObjectToString(_estetag.Get((int) (5))),0); +RDebugUtils.currentLine=24969325; + //BA.debugLineNum = 24969325;BA.debugLine="Log(Subs.traeCliente)"; +__c.LogImpl("824969325",_subs._traecliente /*String*/ (ba),0); +RDebugUtils.currentLine=24969326; + //BA.debugLineNum = 24969326;BA.debugLine="Log((preciofull*minimoadesc))"; +__c.LogImpl("824969326",BA.NumberToString(((double)(Double.parseDouble(_preciofull))*(double)(Double.parseDouble(_minimoadesc)))),0); +RDebugUtils.currentLine=24969327; + //BA.debugLineNum = 24969327;BA.debugLine="Log(esteTag.Get(6))"; +__c.LogImpl("824969327",BA.ObjectToString(_estetag.Get((int) (6))),0); +RDebugUtils.currentLine=24969328; + //BA.debugLineNum = 24969328;BA.debugLine="Log(Subs.traerUTAPREV)"; +__c.LogImpl("824969328",_subs._traerutaprev /*String*/ (ba),0); +RDebugUtils.currentLine=24969329; + //BA.debugLineNum = 24969329;BA.debugLine="Log(Subs.traeAlmacen)"; +__c.LogImpl("824969329",_subs._traealmacen /*String*/ (ba),0); +RDebugUtils.currentLine=24969330; + //BA.debugLineNum = 24969330;BA.debugLine="Log(sDate & \" \" & sTime)"; +__c.LogImpl("824969330",__ref._sdate /*String*/ +" "+__ref._stime /*String*/ ,0); +RDebugUtils.currentLine=24969331; + //BA.debugLineNum = 24969331;BA.debugLine="Log(Subs.traeUsuario)"; +__c.LogImpl("824969331",_subs._traeusuario /*String*/ (ba),0); +RDebugUtils.currentLine=24969332; + //BA.debugLineNum = 24969332;BA.debugLine="Log(Subs.traefECHAPREV)"; +__c.LogImpl("824969332",_subs._traefechaprev /*String*/ (ba),0); +RDebugUtils.currentLine=24969333; + //BA.debugLineNum = 24969333;BA.debugLine="Log(Subs.traeRutaReparto)"; +__c.LogImpl("824969333",_subs._traerutareparto /*String*/ (ba),0); +RDebugUtils.currentLine=24969334; + //BA.debugLineNum = 24969334;BA.debugLine="Log(esregalo)"; +__c.LogImpl("824969334",_esregalo,0); +RDebugUtils.currentLine=24969337; + //BA.debugLineNum = 24969337;BA.debugLine="If Subs.traeCliente = \"63403\" Then"; +if ((_subs._traecliente /*String*/ (ba)).equals("63403")) { +RDebugUtils.currentLine=24969338; + //BA.debugLineNum = 24969338;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PED"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO(PE_PROID,PE_PRONOMBRE,PE_CANT,PE_CLIENTEOR,PE_CLIENTE,PE_COSTOU,PE_COSTO_TOT,PE_CAJAS,PE_BCAJAS,CONSECUTIVO,PE_RUTA, PE_TIPO,PE_CEDIS,PE_FECHA,PE_USUARIO,FECHA_PREV,RUTA_REP,PE_REGALO) VALUES (?,?,?,?,?,?,?,0,0,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{BA.ObjectToString(_estetag.Get((int) (2))),_c2.GetString("HVD_PRONOMBRE"),BA.NumberToString(1*(double)(Double.parseDouble(_minimoadesc))),BA.ObjectToString(_estetag.Get((int) (5))),_subs._traecliente /*String*/ (ba),BA.NumberToString(((double)(Double.parseDouble(_preciofull))*(double)(Double.parseDouble(_minimoadesc)))),BA.NumberToString(((double)(Double.parseDouble(_preciofull))*(double)(Double.parseDouble(_minimoadesc)))),BA.ObjectToString(_estetag.Get((int) (6))),_subs._traerutaprev /*String*/ (ba),"DANADO",_subs._traealmacen /*String*/ (ba),__ref._sdate /*String*/ +" "+__ref._stime /*String*/ ,_subs._traeusuario /*String*/ (ba),_subs._traefechaprev /*String*/ (ba),_subs._traerutareparto /*String*/ (ba),_esregalo})); + }else { +RDebugUtils.currentLine=24969340; + //BA.debugLineNum = 24969340;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PED"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO(PE_PROID,PE_PRONOMBRE,PE_CANT,PE_CLIENTEOR,PE_CLIENTE,PE_COSTOU,PE_COSTO_TOT,PE_CAJAS,PE_BCAJAS,CONSECUTIVO,PE_RUTA, PE_TIPO,PE_CEDIS,PE_FECHA,PE_USUARIO,FECHA_PREV,RUTA_REP,PE_REGALO) VALUES (?,?,?,?,?,?,?,0,0,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{BA.ObjectToString(_estetag.Get((int) (2))),_c2.GetString("HVD_PRONOMBRE"),BA.NumberToString(1*(double)(Double.parseDouble(_minimoadesc))),BA.ObjectToString(_estetag.Get((int) (5))),_subs._traecliente /*String*/ (ba),BA.NumberToString(((double)(Double.parseDouble(_preciofull))*(double)(Double.parseDouble(_minimoadesc)))),BA.NumberToString(((double)(Double.parseDouble(_preciofull))*(double)(Double.parseDouble(_minimoadesc)))),BA.ObjectToString(_estetag.Get((int) (6))),_subs._traerutaprev /*String*/ (ba),"PREVENTA",_subs._traealmacen /*String*/ (ba),__ref._sdate /*String*/ +" "+__ref._stime /*String*/ ,_subs._traeusuario /*String*/ (ba),_subs._traefechaprev /*String*/ (ba),_subs._traerutareparto /*String*/ (ba),_esregalo})); + }; + }; + }; + }; +RDebugUtils.currentLine=24969348; + //BA.debugLineNum = 24969348;BA.debugLine="Subs.prodVenta(esteTag.Get(5), esteTag.Get(2))"; +_subs._prodventa /*String*/ (ba,BA.ObjectToString(_estetag.Get((int) (5))),BA.ObjectToString(_estetag.Get((int) (2)))); +RDebugUtils.currentLine=24969353; + //BA.debugLineNum = 24969353;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); + }; + }; +RDebugUtils.currentLine=24969370; + //BA.debugLineNum = 24969370;BA.debugLine="End Sub"; +return ""; +} +public String _b4xpage_appear(reparto_izca.keymon.lat.c_productos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "b4xpage_appear", false)) + {return ((String) Debug.delegate(ba, "b4xpage_appear", null));} +int _i = 0; +anywheresoftware.b4a.objects.LabelWrapper _label1 = null; +int _bgcolor = 0; +int _textcolor = 0; +anywheresoftware.b4a.sql.SQL.CursorWrapper _c2 = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _d5 = null; +String _restacant = ""; +anywheresoftware.b4a.sql.SQL.CursorWrapper _c3 = null; +String _resta = ""; +anywheresoftware.b4a.sql.SQL.CursorWrapper _preciocat = null; +String _preciofull = ""; +anywheresoftware.b4a.sql.SQL.CursorWrapper _oc = null; +int _cant2 = 0; +String _puc = ""; +RDebugUtils.currentLine=24379392; + //BA.debugLineNum = 24379392;BA.debugLine="Sub B4XPage_Appear"; +RDebugUtils.currentLine=24379393; + //BA.debugLineNum = 24379393;BA.debugLine="Label2.Visible = False"; +__ref._label2 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=24379394; + //BA.debugLineNum = 24379394;BA.debugLine="Label3.Visible = False"; +__ref._label3 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=24379395; + //BA.debugLineNum = 24379395;BA.debugLine="L_TOTAL.Visible = False"; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=24379396; + //BA.debugLineNum = 24379396;BA.debugLine="L_CANT.Visible = False"; +__ref._l_cant /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=24379397; + //BA.debugLineNum = 24379397;BA.debugLine="b_revversar.Visible = False"; +__ref._b_revversar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=24379398; + //BA.debugLineNum = 24379398;BA.debugLine="Subs.centraPanel(p_principal, Root.Width)"; +_subs._centrapanel /*String*/ (ba,__ref._p_principal /*anywheresoftware.b4a.objects.PanelWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=24379402; + //BA.debugLineNum = 24379402;BA.debugLine="L_CANT.Text =\"\""; +__ref._l_cant /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=24379403; + //BA.debugLineNum = 24379403;BA.debugLine="L_TOTAL.Text=\"\""; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=24379404; + //BA.debugLineNum = 24379404;BA.debugLine="c=Starter.skmt.ExecQuery(\"select count(*) as EXIS"; +__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 count(*) as EXISTE from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) and HVD_RECHAZO = 0 "))); +RDebugUtils.currentLine=24379405; + //BA.debugLineNum = 24379405;BA.debugLine="C.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=24379406; + //BA.debugLineNum = 24379406;BA.debugLine="Existe = C.GetString(\"EXISTE\")"; +__ref._existe /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("EXISTE"); +RDebugUtils.currentLine=24379407; + //BA.debugLineNum = 24379407;BA.debugLine="C.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=24379411; + //BA.debugLineNum = 24379411;BA.debugLine="c=Starter.skmt.ExecQuery(\"select * from HIST_VENT"; +__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 HIST_VENTAS WHERE hvd_rechazo <> 2 and HVD_RECHAZOCANT > 0 order by HVD_CODPROMO desc, HVD_PRONOMBRE asc"))); +RDebugUtils.currentLine=24379414; + //BA.debugLineNum = 24379414;BA.debugLine="ListView1.Clear"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=24379415; + //BA.debugLineNum = 24379415;BA.debugLine="clv_pedido.Clear"; +__ref._clv_pedido /*b4a.example3.customlistview*/ ._clear(); +RDebugUtils.currentLine=24379416; + //BA.debugLineNum = 24379416;BA.debugLine="Subs.SetDivider(ListView1, Colors.LightGray, 2)"; +_subs._setdivider /*String*/ (ba,__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ ,__c.Colors.LightGray,(int) (2)); +RDebugUtils.currentLine=24379417; + //BA.debugLineNum = 24379417;BA.debugLine="clv_pedido.GetBase.SetLayoutAnimated(100, 0dip, 6"; +__ref._clv_pedido /*b4a.example3.customlistview*/ ._getbase().SetLayoutAnimated((int) (100),__c.DipToCurrent((int) (0)),__c.DipToCurrent((int) (60)),(int) (__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()-50),(int) (__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()*0.62)); +RDebugUtils.currentLine=24379418; + //BA.debugLineNum = 24379418;BA.debugLine="clv_pedido.Base_Resize(clv_pedido.GetBase.Width,"; +__ref._clv_pedido /*b4a.example3.customlistview*/ ._base_resize(__ref._clv_pedido /*b4a.example3.customlistview*/ ._getbase().getWidth(),__ref._clv_pedido /*b4a.example3.customlistview*/ ._getbase().getHeight()); +RDebugUtils.currentLine=24379420; + //BA.debugLineNum = 24379420;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=24379423; + //BA.debugLineNum = 24379423;BA.debugLine="For i=0 To c.RowCount -1"; +{ +final int step20 = 1; +final int limit20 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit20 ;_i = _i + step20 ) { +RDebugUtils.currentLine=24379424; + //BA.debugLineNum = 24379424;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=24379426; + //BA.debugLineNum = 24379426;BA.debugLine="If c.GetString(\"BCAJAS\") = \"0\" Then"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("BCAJAS")).equals("0")) { +RDebugUtils.currentLine=24379437; + //BA.debugLineNum = 24379437;BA.debugLine="Dim label1 As Label"; +_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=24379438; + //BA.debugLineNum = 24379438;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; +_label1 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().Label; +RDebugUtils.currentLine=24379439; + //BA.debugLineNum = 24379439;BA.debugLine="label1.TextSize = 12"; +_label1.setTextSize((float) (12)); +RDebugUtils.currentLine=24379440; + //BA.debugLineNum = 24379440;BA.debugLine="label1.TextColor = Colors.black"; +_label1.setTextColor(__c.Colors.Black); +RDebugUtils.currentLine=24379441; + //BA.debugLineNum = 24379441;BA.debugLine="Dim Label2 As Label"; +_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=24379442; + //BA.debugLineNum = 24379442;BA.debugLine="Label2 = ListView1.TwoLinesLayout.SecondLabel"; +__ref._label2 /*anywheresoftware.b4a.objects.LabelWrapper*/ = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().SecondLabel; +RDebugUtils.currentLine=24379443; + //BA.debugLineNum = 24379443;BA.debugLine="Label2.TextSize = 12"; +__ref._label2 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextSize((float) (12)); +RDebugUtils.currentLine=24379444; + //BA.debugLineNum = 24379444;BA.debugLine="Label2.TextColor = Colors.black"; +__ref._label2 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextColor(__c.Colors.Black); +RDebugUtils.currentLine=24379445; + //BA.debugLineNum = 24379445;BA.debugLine="Private bgColor, textColor As Int"; +_bgcolor = 0; +_textcolor = 0; +RDebugUtils.currentLine=24379446; + //BA.debugLineNum = 24379446;BA.debugLine="bgColor = Colors.RGB(177, 200, 249)'azul"; +_bgcolor = __c.Colors.RGB((int) (177),(int) (200),(int) (249)); +RDebugUtils.currentLine=24379447; + //BA.debugLineNum = 24379447;BA.debugLine="textColor = Colors.black"; +_textcolor = __c.Colors.Black; +RDebugUtils.currentLine=24379448; + //BA.debugLineNum = 24379448;BA.debugLine="If c.GetString(\"HVD_CODPROMO\") <> Subs.traeAlm"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CODPROMO")).equals(_subs._traealmacen /*String*/ (ba)) == false) { +RDebugUtils.currentLine=24379450; + //BA.debugLineNum = 24379450;BA.debugLine="bgColor = Colors.White"; +_bgcolor = __c.Colors.White; + }; +RDebugUtils.currentLine=24379456; + //BA.debugLineNum = 24379456;BA.debugLine="Private c2 As Cursor=Starter.skmt.ExecQuery($\""; +_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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select IFNULL(PE_CANT,0) AS PE_CANT, CONSECUTIVO, PE_BCAJAS from PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND PE_PROID ='"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID")))+"' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CONSECUTIVO")))+"'")))); +RDebugUtils.currentLine=24379459; + //BA.debugLineNum = 24379459;BA.debugLine="Private d5 As Cursor = Starter.skmt.ExecQuery"; +_d5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_d5 = (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 IFNULL(Sum(PE_CANT),0) AS PE_CANT FROM PEDIDO WHERE PE_CLIENTEOR = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CLIENTE")))+"' AND PE_PROID = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID")))+"' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CONSECUTIVO")))+"'")))); +RDebugUtils.currentLine=24379460; + //BA.debugLineNum = 24379460;BA.debugLine="d5.Position = 0"; +_d5.setPosition((int) (0)); +RDebugUtils.currentLine=24379461; + //BA.debugLineNum = 24379461;BA.debugLine="Private restacant As String = d5.GetString(\"PE"; +_restacant = _d5.GetString("PE_CANT"); +RDebugUtils.currentLine=24379462; + //BA.debugLineNum = 24379462;BA.debugLine="d5.Close"; +_d5.Close(); +RDebugUtils.currentLine=24379464; + //BA.debugLineNum = 24379464;BA.debugLine="If (c.GetString(\"HVD_RECHAZOCANT\")-restacant)"; +if (((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_RECHAZOCANT")))-(double)(Double.parseDouble(_restacant)))!=(double)(Double.parseDouble("0"))) { +RDebugUtils.currentLine=24379465; + //BA.debugLineNum = 24379465;BA.debugLine="If c2.RowCount > 0 Then"; +if (_c2.getRowCount()>0) { +RDebugUtils.currentLine=24379466; + //BA.debugLineNum = 24379466;BA.debugLine="c2.Position = 0"; +_c2.setPosition((int) (0)); +RDebugUtils.currentLine=24379468; + //BA.debugLineNum = 24379468;BA.debugLine="Private c3 As Cursor=Starter.skmt.ExecQuery("; +_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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select Ifnull(sum(PE_CANT),0) AS PE_CANT from PEDIDO WHERE PE_CLIENTE NOT IN (SELECT CUENTA FROM CUENTAA) AND PE_CLIENTEOR = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CLIENTE")))+"' AND PE_PROID ='"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID")))+"' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CONSECUTIVO")))+"'")))); +RDebugUtils.currentLine=24379469; + //BA.debugLineNum = 24379469;BA.debugLine="Private resta As String = 0"; +_resta = BA.NumberToString(0); +RDebugUtils.currentLine=24379471; + //BA.debugLineNum = 24379471;BA.debugLine="If c3.RowCount > 0 Then"; +if (_c3.getRowCount()>0) { +RDebugUtils.currentLine=24379473; + //BA.debugLineNum = 24379473;BA.debugLine="Log(1)"; +__c.LogImpl("824379473",BA.NumberToString(1),0); +RDebugUtils.currentLine=24379474; + //BA.debugLineNum = 24379474;BA.debugLine="c3.Position = 0"; +_c3.setPosition((int) (0)); +RDebugUtils.currentLine=24379475; + //BA.debugLineNum = 24379475;BA.debugLine="resta = c3.GetString(\"PE_CANT\")"; +_resta = _c3.GetString("PE_CANT"); + }else { +RDebugUtils.currentLine=24379478; + //BA.debugLineNum = 24379478;BA.debugLine="Log(2)"; +__c.LogImpl("824379478",BA.NumberToString(2),0); +RDebugUtils.currentLine=24379479; + //BA.debugLineNum = 24379479;BA.debugLine="resta = 0"; +_resta = BA.NumberToString(0); + }; +RDebugUtils.currentLine=24379482; + //BA.debugLineNum = 24379482;BA.debugLine="Dim preciocat As Cursor = Starter.skmt.ExecQ"; +_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 IFNULL(CAT_GP_PRECIO,0) AS CAT_GP_PRECIO from CAT_GUNAPROD WHERE CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID")))+"'")))); +RDebugUtils.currentLine=24379483; + //BA.debugLineNum = 24379483;BA.debugLine="If preciocat.RowCount > 0 Then"; +if (_preciocat.getRowCount()>0) { +RDebugUtils.currentLine=24379484; + //BA.debugLineNum = 24379484;BA.debugLine="preciocat.Position = 0"; +_preciocat.setPosition((int) (0)); +RDebugUtils.currentLine=24379485; + //BA.debugLineNum = 24379485;BA.debugLine="Dim preciofull As String = preciocat.GetStr"; +_preciofull = _preciocat.GetString("CAT_GP_PRECIO"); + }; +RDebugUtils.currentLine=24379487; + //BA.debugLineNum = 24379487;BA.debugLine="preciocat.Close"; +_preciocat.Close(); +RDebugUtils.currentLine=24379488; + //BA.debugLineNum = 24379488;BA.debugLine="Log(c.GetString(\"HVD_CODPROMO\"))"; +__c.LogImpl("824379488",__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CODPROMO"),0); +RDebugUtils.currentLine=24379489; + //BA.debugLineNum = 24379489;BA.debugLine="Log(Subs.traeAlmacen)"; +__c.LogImpl("824379489",_subs._traealmacen /*String*/ (ba),0); +RDebugUtils.currentLine=24379492; + //BA.debugLineNum = 24379492;BA.debugLine="If c.GetString(\"HVD_CODPROMO\") = Subs.traeAl"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CODPROMO")).equals(_subs._traealmacen /*String*/ (ba))) { +RDebugUtils.currentLine=24379493; + //BA.debugLineNum = 24379493;BA.debugLine="clv_pedido.Add(CreateListItem(c.GetString(\""; +__ref._clv_pedido /*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,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PRONOMBRE"),_subs._traeprecio2 /*String*/ (ba,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CODPROMO"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CONSECUTIVO")),(int)(Double.parseDouble(_c2.GetString("PE_CANT"))),(int) ((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_RECHAZOCANT")))-(double)(Double.parseDouble(_c2.GetString("PE_CANT")))-(double)(Double.parseDouble(_resta))),__ref._clv_pedido /*b4a.example3.customlistview*/ ._asview().getWidth(),__c.DipToCurrent((int) (118)),__ref._bmp /*anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper*/ ,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID"),_bgcolor,_textcolor,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CODPROMO"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CLIENTE"),(int)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CONSECUTIVO")))).getObject())),(Object)(_i)); + }else { +RDebugUtils.currentLine=24379495; + //BA.debugLineNum = 24379495;BA.debugLine="Log(\"aqui arriba\")"; +__c.LogImpl("824379495","aqui arriba",0); +RDebugUtils.currentLine=24379496; + //BA.debugLineNum = 24379496;BA.debugLine="clv_pedido.Add(CreateListItem(c.GetString(\""; +__ref._clv_pedido /*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,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PRONOMBRE"),_preciofull,(int)(Double.parseDouble(_c2.GetString("PE_CANT"))),(int) ((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_RECHAZOCANT")))-(double)(Double.parseDouble(_c2.GetString("PE_CANT")))-(double)(Double.parseDouble(_resta))),__ref._clv_pedido /*b4a.example3.customlistview*/ ._asview().getWidth(),__c.DipToCurrent((int) (118)),__ref._bmp /*anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper*/ ,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID"),_bgcolor,_textcolor,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CODPROMO"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CLIENTE"),(int)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CONSECUTIVO")))).getObject())),(Object)(_i)); + }; + }else +{RDebugUtils.currentLine=24379500; + //BA.debugLineNum = 24379500;BA.debugLine="Else iF c2.RowCount = 0 Then"; +if (_c2.getRowCount()==0) { +RDebugUtils.currentLine=24379501; + //BA.debugLineNum = 24379501;BA.debugLine="Private c3 As Cursor=Starter.skmt.ExecQuery("; +_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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select Ifnull(sum(PE_CANT),0) AS PE_CANT from PEDIDO WHERE PE_CLIENTE NOT IN (SELECT CUENTA FROM CUENTAA) AND PE_CLIENTEOR = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CLIENTE")))+"' AND PE_PROID ='"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID")))+"' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CONSECUTIVO")))+"'")))); +RDebugUtils.currentLine=24379502; + //BA.debugLineNum = 24379502;BA.debugLine="Private resta As String = 0"; +_resta = BA.NumberToString(0); +RDebugUtils.currentLine=24379504; + //BA.debugLineNum = 24379504;BA.debugLine="If c3.RowCount > 0 Then"; +if (_c3.getRowCount()>0) { +RDebugUtils.currentLine=24379506; + //BA.debugLineNum = 24379506;BA.debugLine="Log(3)"; +__c.LogImpl("824379506",BA.NumberToString(3),0); +RDebugUtils.currentLine=24379507; + //BA.debugLineNum = 24379507;BA.debugLine="c3.Position = 0"; +_c3.setPosition((int) (0)); +RDebugUtils.currentLine=24379508; + //BA.debugLineNum = 24379508;BA.debugLine="resta = c3.GetString(\"PE_CANT\")"; +_resta = _c3.GetString("PE_CANT"); + }else { +RDebugUtils.currentLine=24379511; + //BA.debugLineNum = 24379511;BA.debugLine="Log(4)"; +__c.LogImpl("824379511",BA.NumberToString(4),0); +RDebugUtils.currentLine=24379512; + //BA.debugLineNum = 24379512;BA.debugLine="resta = 0"; +_resta = BA.NumberToString(0); + }; +RDebugUtils.currentLine=24379516; + //BA.debugLineNum = 24379516;BA.debugLine="Dim preciocat As Cursor = Starter.skmt.ExecQ"; +_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 IFNULL(CAT_GP_PRECIO,0) AS CAT_GP_PRECIO from CAT_GUNAPROD WHERE CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID")))+"'")))); +RDebugUtils.currentLine=24379517; + //BA.debugLineNum = 24379517;BA.debugLine="If preciocat.RowCount > 0 Then"; +if (_preciocat.getRowCount()>0) { +RDebugUtils.currentLine=24379518; + //BA.debugLineNum = 24379518;BA.debugLine="preciocat.Position = 0"; +_preciocat.setPosition((int) (0)); +RDebugUtils.currentLine=24379519; + //BA.debugLineNum = 24379519;BA.debugLine="Dim preciofull As String = preciocat.GetStr"; +_preciofull = _preciocat.GetString("CAT_GP_PRECIO"); + }; +RDebugUtils.currentLine=24379521; + //BA.debugLineNum = 24379521;BA.debugLine="preciocat.Close"; +_preciocat.Close(); +RDebugUtils.currentLine=24379522; + //BA.debugLineNum = 24379522;BA.debugLine="Log(c.GetString(\"HVD_CODPROMO\"))"; +__c.LogImpl("824379522",__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CODPROMO"),0); +RDebugUtils.currentLine=24379523; + //BA.debugLineNum = 24379523;BA.debugLine="Log(Subs.traeAlmacen)"; +__c.LogImpl("824379523",_subs._traealmacen /*String*/ (ba),0); +RDebugUtils.currentLine=24379525; + //BA.debugLineNum = 24379525;BA.debugLine="If c.GetString(\"HVD_CODPROMO\") = Subs.traeAl"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CODPROMO")).equals(_subs._traealmacen /*String*/ (ba))) { +RDebugUtils.currentLine=24379526; + //BA.debugLineNum = 24379526;BA.debugLine="clv_pedido.Add(CreateListItem(c.GetString(\""; +__ref._clv_pedido /*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,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PRONOMBRE"),_subs._traeprecio2 /*String*/ (ba,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CODPROMO"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CONSECUTIVO")),(int) (0),(int) ((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_RECHAZOCANT")))-(double)(Double.parseDouble(_resta))),__ref._clv_pedido /*b4a.example3.customlistview*/ ._asview().getWidth(),__c.DipToCurrent((int) (118)),__ref._bmp /*anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper*/ ,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID"),_bgcolor,_textcolor,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CODPROMO"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CLIENTE"),(int)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CONSECUTIVO")))).getObject())),(Object)(_i)); + }else { +RDebugUtils.currentLine=24379528; + //BA.debugLineNum = 24379528;BA.debugLine="Log(\"aqui abajo\")"; +__c.LogImpl("824379528","aqui abajo",0); +RDebugUtils.currentLine=24379529; + //BA.debugLineNum = 24379529;BA.debugLine="clv_pedido.Add(CreateListItem(c.GetString(\""; +__ref._clv_pedido /*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,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PRONOMBRE"),_preciofull,(int) (0),(int) ((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_RECHAZOCANT")))-(double)(Double.parseDouble(_resta))),__ref._clv_pedido /*b4a.example3.customlistview*/ ._asview().getWidth(),__c.DipToCurrent((int) (118)),__ref._bmp /*anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper*/ ,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID"),_bgcolor,_textcolor,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CODPROMO"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CLIENTE"),(int)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CONSECUTIVO")))).getObject())),(Object)(_i)); + }; + }} +; + }; +RDebugUtils.currentLine=24379536; + //BA.debugLineNum = 24379536;BA.debugLine="c2.Close"; +_c2.Close(); + }else +{RDebugUtils.currentLine=24379539; + //BA.debugLineNum = 24379539;BA.debugLine="Else If c.GetString(\"BCAJAS\") = \"1\" Then"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("BCAJAS")).equals("1")) { +RDebugUtils.currentLine=24379540; + //BA.debugLineNum = 24379540;BA.debugLine="Log(\"AQUI1\")"; +__c.LogImpl("824379540","AQUI1",0); +RDebugUtils.currentLine=24379543; + //BA.debugLineNum = 24379543;BA.debugLine="Private oc As Cursor = Starter.skmt.ExecQuery("; +_oc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_oc = (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 HVD_CANT from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) and hvd_proid = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID")))+"' and HVD_NUM_REGISTRO = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_NUM_REGISTRO")))+"'")))); +RDebugUtils.currentLine=24379544; + //BA.debugLineNum = 24379544;BA.debugLine="Private cant2 As Int = 0"; +_cant2 = (int) (0); +RDebugUtils.currentLine=24379545; + //BA.debugLineNum = 24379545;BA.debugLine="If oc.RowCount > 0 Then"; +if (_oc.getRowCount()>0) { +RDebugUtils.currentLine=24379546; + //BA.debugLineNum = 24379546;BA.debugLine="oc.Position = 0"; +_oc.setPosition((int) (0)); +RDebugUtils.currentLine=24379547; + //BA.debugLineNum = 24379547;BA.debugLine="cant2 = oc.GetString(\"HVD_CANT\")"; +_cant2 = (int)(Double.parseDouble(_oc.GetString("HVD_CANT"))); + }; +RDebugUtils.currentLine=24379549; + //BA.debugLineNum = 24379549;BA.debugLine="oc.Close"; +_oc.Close(); +RDebugUtils.currentLine=24379550; + //BA.debugLineNum = 24379550;BA.debugLine="Dim label1 As Label"; +_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=24379551; + //BA.debugLineNum = 24379551;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; +_label1 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().Label; +RDebugUtils.currentLine=24379552; + //BA.debugLineNum = 24379552;BA.debugLine="label1.TextSize = 12"; +_label1.setTextSize((float) (12)); +RDebugUtils.currentLine=24379553; + //BA.debugLineNum = 24379553;BA.debugLine="label1.TextColor = Colors.black"; +_label1.setTextColor(__c.Colors.Black); +RDebugUtils.currentLine=24379554; + //BA.debugLineNum = 24379554;BA.debugLine="Dim Label2 As Label"; +_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=24379555; + //BA.debugLineNum = 24379555;BA.debugLine="Label2 = ListView1.TwoLinesLayout.SecondLabel"; +__ref._label2 /*anywheresoftware.b4a.objects.LabelWrapper*/ = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().SecondLabel; +RDebugUtils.currentLine=24379556; + //BA.debugLineNum = 24379556;BA.debugLine="Label2.TextSize = 12"; +__ref._label2 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextSize((float) (12)); +RDebugUtils.currentLine=24379557; + //BA.debugLineNum = 24379557;BA.debugLine="Label2.TextColor = Colors.black"; +__ref._label2 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextColor(__c.Colors.Black); +RDebugUtils.currentLine=24379558; + //BA.debugLineNum = 24379558;BA.debugLine="Private bgColor, textColor As Int"; +_bgcolor = 0; +_textcolor = 0; +RDebugUtils.currentLine=24379559; + //BA.debugLineNum = 24379559;BA.debugLine="bgColor = Colors.RGB(177, 200, 249)'azul"; +_bgcolor = __c.Colors.RGB((int) (177),(int) (200),(int) (249)); +RDebugUtils.currentLine=24379560; + //BA.debugLineNum = 24379560;BA.debugLine="textColor = Colors.black"; +_textcolor = __c.Colors.Black; +RDebugUtils.currentLine=24379561; + //BA.debugLineNum = 24379561;BA.debugLine="If c.GetString(\"HVD_CODPROMO\") <> Subs.traeAlm"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CODPROMO")).equals(_subs._traealmacen /*String*/ (ba)) == false) { +RDebugUtils.currentLine=24379563; + //BA.debugLineNum = 24379563;BA.debugLine="bgColor = Colors.White"; +_bgcolor = __c.Colors.White; + }; +RDebugUtils.currentLine=24379568; + //BA.debugLineNum = 24379568;BA.debugLine="Private c2 As Cursor=Starter.skmt.ExecQuery($\""; +_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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select * from PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA)")))); +RDebugUtils.currentLine=24379570; + //BA.debugLineNum = 24379570;BA.debugLine="Private d5 As Cursor = Starter.skmt.ExecQuery"; +_d5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_d5 = (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 IFNULL(Sum(PE_CANT),0) AS PE_CANT FROM PEDIDO WHERE PE_CLIENTEOR = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CLIENTE")))+"' AND PE_PROID = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID")))+"' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CONSECUTIVO")))+"'")))); +RDebugUtils.currentLine=24379571; + //BA.debugLineNum = 24379571;BA.debugLine="d5.Position = 0"; +_d5.setPosition((int) (0)); +RDebugUtils.currentLine=24379572; + //BA.debugLineNum = 24379572;BA.debugLine="Private restacant As String = d5.GetString(\"PE"; +_restacant = _d5.GetString("PE_CANT"); +RDebugUtils.currentLine=24379573; + //BA.debugLineNum = 24379573;BA.debugLine="d5.Close"; +_d5.Close(); +RDebugUtils.currentLine=24379575; + //BA.debugLineNum = 24379575;BA.debugLine="If (c.GetString(\"HVD_RECHAZOCANT\")-restacant)"; +if (((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_RECHAZOCANT")))-(double)(Double.parseDouble(_restacant)))!=(double)(Double.parseDouble("0"))) { +RDebugUtils.currentLine=24379576; + //BA.debugLineNum = 24379576;BA.debugLine="If c2.RowCount > 0 Then"; +if (_c2.getRowCount()>0) { +RDebugUtils.currentLine=24379577; + //BA.debugLineNum = 24379577;BA.debugLine="c2.Position = 0"; +_c2.setPosition((int) (0)); +RDebugUtils.currentLine=24379578; + //BA.debugLineNum = 24379578;BA.debugLine="Log(\"SI ENTRO A PONER CAJAS BIEN \")"; +__c.LogImpl("824379578","SI ENTRO A PONER CAJAS BIEN ",0); +RDebugUtils.currentLine=24379579; + //BA.debugLineNum = 24379579;BA.debugLine="Log(c2.GetString(\"PE_CAJAS\"))"; +__c.LogImpl("824379579",_c2.GetString("PE_CAJAS"),0); +RDebugUtils.currentLine=24379580; + //BA.debugLineNum = 24379580;BA.debugLine="Private c3 As Cursor=Starter.skmt.ExecQuery("; +_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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select Ifnull(sum(PE_CANT),0) AS PE_CANT from PEDIDO WHERE PE_CLIENTE NOT IN (SELECT CUENTA FROM CUENTAA) AND PE_CLIENTEOR = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CLIENTE")))+"' AND PE_PROID ='"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID")))+"' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CONSECUTIVO")))+"'")))); +RDebugUtils.currentLine=24379581; + //BA.debugLineNum = 24379581;BA.debugLine="Private resta As String = 0"; +_resta = BA.NumberToString(0); +RDebugUtils.currentLine=24379583; + //BA.debugLineNum = 24379583;BA.debugLine="If c3.RowCount > 0 Then"; +if (_c3.getRowCount()>0) { +RDebugUtils.currentLine=24379585; + //BA.debugLineNum = 24379585;BA.debugLine="Log(5)"; +__c.LogImpl("824379585",BA.NumberToString(5),0); +RDebugUtils.currentLine=24379586; + //BA.debugLineNum = 24379586;BA.debugLine="c3.Position = 0"; +_c3.setPosition((int) (0)); +RDebugUtils.currentLine=24379587; + //BA.debugLineNum = 24379587;BA.debugLine="resta = c3.GetString(\"PE_CANT\")"; +_resta = _c3.GetString("PE_CANT"); + }else { +RDebugUtils.currentLine=24379590; + //BA.debugLineNum = 24379590;BA.debugLine="Log(6)"; +__c.LogImpl("824379590",BA.NumberToString(6),0); +RDebugUtils.currentLine=24379591; + //BA.debugLineNum = 24379591;BA.debugLine="resta = 0"; +_resta = BA.NumberToString(0); + }; +RDebugUtils.currentLine=24379593; + //BA.debugLineNum = 24379593;BA.debugLine="Private puc As String = c.GetString(\"HVD_COS"; +_puc = BA.NumberToString((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CANTC")))); +RDebugUtils.currentLine=24379594; + //BA.debugLineNum = 24379594;BA.debugLine="LogColor((restacant/Subs.traeConversion(c.Ge"; +__c.LogImpl("824379594",BA.NumberToString(((double)(Double.parseDouble(_restacant))/(double)(double)(Double.parseDouble(_subs._traeconversion /*String*/ (ba,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID")))))),__c.Colors.Green); +RDebugUtils.currentLine=24379595; + //BA.debugLineNum = 24379595;BA.debugLine="clv_pedido.Add(CreateListItem2(c.GetString(\""; +__ref._clv_pedido /*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,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PRONOMBRE"),_puc,(int) (((double)(Double.parseDouble(_restacant))/(double)(double)(Double.parseDouble(_subs._traeconversion /*String*/ (ba,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID")))))),(int) ((((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_RECHAZOCANT")))-(double)(Double.parseDouble(_restacant))-(double)(Double.parseDouble(_resta)))/(double)(double)(Double.parseDouble(_subs._traeconversion /*String*/ (ba,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID")))))),__ref._clv_pedido /*b4a.example3.customlistview*/ ._asview().getWidth(),__c.DipToCurrent((int) (118)),__ref._bmp /*anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper*/ ,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID"),_bgcolor,_textcolor,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CODPROMO"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CLIENTE"),(int)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CONSECUTIVO")))).getObject())),(Object)(_i)); + }else { +RDebugUtils.currentLine=24379597; + //BA.debugLineNum = 24379597;BA.debugLine="Log(\"NO ENTRO A PONER CAJAS BIEN \")"; +__c.LogImpl("824379597","NO ENTRO A PONER CAJAS BIEN ",0); +RDebugUtils.currentLine=24379598; + //BA.debugLineNum = 24379598;BA.debugLine="Private c3 As Cursor=Starter.skmt.ExecQuery("; +_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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select Ifnull(sum(PE_CANT),0) AS PE_CANT from PEDIDO WHERE PE_CLIENTE NOT IN (SELECT CUENTA FROM CUENTAA) AND PE_CLIENTEOR = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CLIENTE")))+"' AND PE_PROID ='"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID")))+"' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CONSECUTIVO")))+"'")))); +RDebugUtils.currentLine=24379599; + //BA.debugLineNum = 24379599;BA.debugLine="Private resta As String = 0"; +_resta = BA.NumberToString(0); +RDebugUtils.currentLine=24379601; + //BA.debugLineNum = 24379601;BA.debugLine="If c3.RowCount > 0 Then"; +if (_c3.getRowCount()>0) { +RDebugUtils.currentLine=24379603; + //BA.debugLineNum = 24379603;BA.debugLine="Log(7)"; +__c.LogImpl("824379603",BA.NumberToString(7),0); +RDebugUtils.currentLine=24379604; + //BA.debugLineNum = 24379604;BA.debugLine="c3.Position = 0"; +_c3.setPosition((int) (0)); +RDebugUtils.currentLine=24379605; + //BA.debugLineNum = 24379605;BA.debugLine="resta = c3.GetString(\"PE_CANT\")"; +_resta = _c3.GetString("PE_CANT"); + }else { +RDebugUtils.currentLine=24379608; + //BA.debugLineNum = 24379608;BA.debugLine="Log(1)"; +__c.LogImpl("824379608",BA.NumberToString(1),0); +RDebugUtils.currentLine=24379609; + //BA.debugLineNum = 24379609;BA.debugLine="resta = 0"; +_resta = BA.NumberToString(0); + }; +RDebugUtils.currentLine=24379611; + //BA.debugLineNum = 24379611;BA.debugLine="LogColor(resta,Colors.Green)"; +__c.LogImpl("824379611",_resta,__c.Colors.Green); +RDebugUtils.currentLine=24379612; + //BA.debugLineNum = 24379612;BA.debugLine="Private puc As String = c.GetString(\"HVD_COS"; +_puc = BA.NumberToString((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CANTC")))); +RDebugUtils.currentLine=24379614; + //BA.debugLineNum = 24379614;BA.debugLine="clv_pedido.Add(CreateListItem2(c.GetString(\""; +__ref._clv_pedido /*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,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PRONOMBRE"),_puc,(int) (0),(int) ((((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_RECHAZOCANT")))-(double)(Double.parseDouble(_resta)))/(double)(double)(Double.parseDouble(_subs._traeconversion /*String*/ (ba,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID")))))),__ref._clv_pedido /*b4a.example3.customlistview*/ ._asview().getWidth(),__c.DipToCurrent((int) (118)),__ref._bmp /*anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper*/ ,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PROID"),_bgcolor,_textcolor,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CODPROMO"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CLIENTE"),(int)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CONSECUTIVO")))).getObject())),(Object)(_i)); + }; + }; +RDebugUtils.currentLine=24379617; + //BA.debugLineNum = 24379617;BA.debugLine="c2.Close"; +_c2.Close(); + }} +; + } +}; + }; +RDebugUtils.currentLine=24379686; + //BA.debugLineNum = 24379686;BA.debugLine="End Sub"; +return ""; +} +public String _b_prodmasc_click(reparto_izca.keymon.lat.c_productos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "b_prodmasc_click", false)) + {return ((String) Debug.delegate(ba, "b_prodmasc_click", null));} +int _index = 0; +anywheresoftware.b4a.objects.B4XViewWrapper _pnl0 = null; +anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; +anywheresoftware.b4a.objects.B4XViewWrapper _lacantc = null; +anywheresoftware.b4a.objects.collections.List _estetag = null; +String _maxprods = ""; +anywheresoftware.b4a.sql.SQL.CursorWrapper _c2 = null; +String _puc = ""; +RDebugUtils.currentLine=25034752; + //BA.debugLineNum = 25034752;BA.debugLine="Private Sub b_prodMasC_Click"; +RDebugUtils.currentLine=25034753; + //BA.debugLineNum = 25034753;BA.debugLine="etCantHasFocus = False"; +__ref._etcanthasfocus /*boolean*/ = __c.False; +RDebugUtils.currentLine=25034755; + //BA.debugLineNum = 25034755;BA.debugLine="LogColor(\"b_prodMas_Click\", Colors.Magenta)"; +__c.LogImpl("825034755","b_prodMas_Click",__c.Colors.Magenta); +RDebugUtils.currentLine=25034756; + //BA.debugLineNum = 25034756;BA.debugLine="Dim index As Int = clv_pedido.GetItemFromView(Sen"; +_index = __ref._clv_pedido /*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=25034757; + //BA.debugLineNum = 25034757;BA.debugLine="Dim pnl0 As B4XView = clv_pedido.GetPanel(index)"; +_pnl0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_pnl0 = __ref._clv_pedido /*b4a.example3.customlistview*/ ._getpanel(_index); +RDebugUtils.currentLine=25034758; + //BA.debugLineNum = 25034758;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; +_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_pnl = _pnl0.GetView((int) (0)); +RDebugUtils.currentLine=25034759; + //BA.debugLineNum = 25034759;BA.debugLine="Dim laCantc As B4XView = pnl.GetView(3).GetView(3"; +_lacantc = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_lacantc = _pnl.GetView((int) (3)).GetView((int) (3)); +RDebugUtils.currentLine=25034760; + //BA.debugLineNum = 25034760;BA.debugLine="LogColor(laCantc.Text&\"--------------------------"; +__c.LogImpl("825034760",_lacantc.getText()+"-----------------------------",__c.Colors.Blue); +RDebugUtils.currentLine=25034764; + //BA.debugLineNum = 25034764;BA.debugLine="Dim esteTag As List = Regex.Split(\"\\|\", laCantc.T"; +_estetag = new anywheresoftware.b4a.objects.collections.List(); +_estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(__c.Regex.Split("\\|",BA.ObjectToString(_lacantc.getTag()))); +RDebugUtils.currentLine=25034765; + //BA.debugLineNum = 25034765;BA.debugLine="Log(\"LC_TEXT:\"&laCantc.Text&\"|LC_TAG:\"&laCantc.Ta"; +__c.LogImpl("825034765","LC_TEXT:"+_lacantc.getText()+"|LC_TAG:"+BA.ObjectToString(_lacantc.getTag())+"|ET:"+BA.ObjectToString(_estetag),0); +RDebugUtils.currentLine=25034766; + //BA.debugLineNum = 25034766;BA.debugLine="If laCantc.Text = \"\" Then laCantc.Text = 0"; +if ((_lacantc.getText()).equals("")) { +_lacantc.setText(BA.ObjectToCharSequence(0));}; +RDebugUtils.currentLine=25034768; + //BA.debugLineNum = 25034768;BA.debugLine="Private maxProds As String = (esteTag.Get(1) + es"; +_maxprods = BA.NumberToString(((double)(BA.ObjectToNumber(_estetag.Get((int) (1))))+(double)(BA.ObjectToNumber(_estetag.Get((int) (4)))))); +RDebugUtils.currentLine=25034769; + //BA.debugLineNum = 25034769;BA.debugLine="LogColor(esteTag.Get(1),Colors.Red)"; +__c.LogImpl("825034769",BA.ObjectToString(_estetag.Get((int) (1))),__c.Colors.Red); +RDebugUtils.currentLine=25034770; + //BA.debugLineNum = 25034770;BA.debugLine="LogColor(esteTag.Get(4),Colors.Red)"; +__c.LogImpl("825034770",BA.ObjectToString(_estetag.Get((int) (4))),__c.Colors.Red); +RDebugUtils.currentLine=25034771; + //BA.debugLineNum = 25034771;BA.debugLine="LogColor($\"++++++++++++++++++++++++++ ${esteTag"; +__c.LogImpl("825034771",("++++++++++++++++++++++++++ "+__c.SmartStringFormatter("",(Object)(_estetag.getObject()))+""),__c.Colors.Green); +RDebugUtils.currentLine=25034773; + //BA.debugLineNum = 25034773;BA.debugLine="Log(maxProds)"; +__c.LogImpl("825034773",_maxprods,0); +RDebugUtils.currentLine=25034776; + //BA.debugLineNum = 25034776;BA.debugLine="Log(esteTag.Get(4))"; +__c.LogImpl("825034776",BA.ObjectToString(_estetag.Get((int) (4))),0); +RDebugUtils.currentLine=25034777; + //BA.debugLineNum = 25034777;BA.debugLine="If esteTag.Get(4) = \"0\" Then"; +if ((_estetag.Get((int) (4))).equals((Object)("0"))) { + }else { +RDebugUtils.currentLine=25034780; + //BA.debugLineNum = 25034780;BA.debugLine="If laCantc.Text + 1 <= maxProds Then"; +if ((double)(Double.parseDouble(_lacantc.getText()))+1<=(double)(Double.parseDouble(_maxprods))) { +RDebugUtils.currentLine=25034781; + //BA.debugLineNum = 25034781;BA.debugLine="Log($\"NuevaCant = ${laCantc.Text + 1}\"$)"; +__c.LogImpl("825034781",("NuevaCant = "+__c.SmartStringFormatter("",(Object)((double)(Double.parseDouble(_lacantc.getText()))+1))+""),0); +RDebugUtils.currentLine=25034783; + //BA.debugLineNum = 25034783;BA.debugLine="laCantc.Text = $\"$1.0{laCantc.Text + 1}\"$"; +_lacantc.setText(BA.ObjectToCharSequence((""+__c.SmartStringFormatter("1.0",(Object)((double)(Double.parseDouble(_lacantc.getText()))+1))+""))); +RDebugUtils.currentLine=25034784; + //BA.debugLineNum = 25034784;BA.debugLine="LogColor(esteTag,Colors.Magenta)"; +__c.LogImpl("825034784",BA.ObjectToString(_estetag),__c.Colors.Magenta); +RDebugUtils.currentLine=25034786; + //BA.debugLineNum = 25034786;BA.debugLine="LogColor(laCantc.Text,Colors.Red)"; +__c.LogImpl("825034786",_lacantc.getText(),__c.Colors.Red); +RDebugUtils.currentLine=25034789; + //BA.debugLineNum = 25034789;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM PEDI"; +__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*/ .ExecQuery2("SELECT * FROM PEDIDO WHERE PE_PROID = ? and PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND CONSECUTIVO = ? ",new String[]{BA.ObjectToString(_estetag.Get((int) (2))),BA.ObjectToString(_estetag.Get((int) (6)))}))); +RDebugUtils.currentLine=25034790; + //BA.debugLineNum = 25034790;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=25034791; + //BA.debugLineNum = 25034791;BA.debugLine="Private c2 As Cursor = Starter.skmt.ExecQuery2"; +_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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM HIST_VENTAS WHERE HVD_PROID = ? AND CONSECUTIVO = ? ",new String[]{BA.ObjectToString(_estetag.Get((int) (2))),BA.ObjectToString(_estetag.Get((int) (6)))}))); +RDebugUtils.currentLine=25034792; + //BA.debugLineNum = 25034792;BA.debugLine="If c2.RowCount > 0 Then"; +if (_c2.getRowCount()>0) { +RDebugUtils.currentLine=25034793; + //BA.debugLineNum = 25034793;BA.debugLine="c2.Position = 0"; +_c2.setPosition((int) (0)); +RDebugUtils.currentLine=25034794; + //BA.debugLineNum = 25034794;BA.debugLine="Private puc As String = c2.GetString(\"HVD_COS"; +_puc = BA.NumberToString((double)(Double.parseDouble(_c2.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(_c2.GetString("CANTC")))); +RDebugUtils.currentLine=25034796; + //BA.debugLineNum = 25034796;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO set"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update PEDIDO set PE_CANT = (IFNULL(PE_CANT,0)+(1 * '"+__c.SmartStringFormatter("",(Object)(_subs._traeconversion /*String*/ (ba,BA.ObjectToString(_estetag.Get((int) (2))))))+"')), PE_COSTO_TOT= (IFNULL(PE_CAJAS,0)+1)*'"+__c.SmartStringFormatter("",(Object)(_puc))+"', PE_CAJAS= IFNULL(PE_CAJAS,0) + 1 WHERE PE_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (6)))+"'")); +RDebugUtils.currentLine=25034797; + //BA.debugLineNum = 25034797;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); +RDebugUtils.currentLine=25034798; + //BA.debugLineNum = 25034798;BA.debugLine="Log(\"aqui2\")"; +__c.LogImpl("825034798","aqui2",0); + }; + }else { +RDebugUtils.currentLine=25034801; + //BA.debugLineNum = 25034801;BA.debugLine="Private c2 As Cursor = Starter.skmt.ExecQuery2"; +_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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM HIST_VENTAS WHERE HVD_PROID = ? AND CONSECUTIVO = ? ",new String[]{BA.ObjectToString(_estetag.Get((int) (2))),BA.ObjectToString(_estetag.Get((int) (6)))}))); +RDebugUtils.currentLine=25034802; + //BA.debugLineNum = 25034802;BA.debugLine="If c2.RowCount > 0 Then"; +if (_c2.getRowCount()>0) { +RDebugUtils.currentLine=25034803; + //BA.debugLineNum = 25034803;BA.debugLine="c2.Position = 0"; +_c2.setPosition((int) (0)); +RDebugUtils.currentLine=25034804; + //BA.debugLineNum = 25034804;BA.debugLine="Private puc As String = c2.GetString(\"HVD_COS"; +_puc = BA.NumberToString((double)(Double.parseDouble(_c2.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(_c2.GetString("CANTC")))); +RDebugUtils.currentLine=25034805; + //BA.debugLineNum = 25034805;BA.debugLine="Log(puc)"; +__c.LogImpl("825034805",_puc,0); +RDebugUtils.currentLine=25034808; + //BA.debugLineNum = 25034808;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PEDID"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO(PE_PROID,PE_PRONOMBRE,PE_CANT,PE_CLIENTEOR,PE_CLIENTE,PE_COSTOU,PE_COSTO_TOT,PE_CAJAS,PE_BCAJAS,CONSECUTIVO,PE_RUTA, PE_TIPO,PE_CEDIS,PE_FECHA,PE_USUARIO,FECHA_PREV,RUTA_REP,PE_REGALO) VALUES (?,?,?,?,?,?,?,1,1,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{BA.ObjectToString(_estetag.Get((int) (2))),_c2.GetString("HVD_PRONOMBRE"),_subs._traeconversion /*String*/ (ba,BA.ObjectToString(_estetag.Get((int) (2)))),BA.ObjectToString(_estetag.Get((int) (5))),_subs._traecliente /*String*/ (ba),_puc,_puc,BA.ObjectToString(_estetag.Get((int) (6))),_subs._traerutaprev /*String*/ (ba),"PREVENTA",_subs._traealmacen /*String*/ (ba),__ref._sdate /*String*/ +" "+__ref._stime /*String*/ ,_subs._traeusuario /*String*/ (ba),_subs._traefechaprev /*String*/ (ba),_subs._traerutareparto /*String*/ (ba),BA.NumberToString(0)})); +RDebugUtils.currentLine=25034809; + //BA.debugLineNum = 25034809;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); + }; + }; + }; + }; +RDebugUtils.currentLine=25034815; + //BA.debugLineNum = 25034815;BA.debugLine="End Sub"; +return ""; +} +public String _b_prodmenos_click(reparto_izca.keymon.lat.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; +anywheresoftware.b4a.objects.B4XViewWrapper _lacant = null; +anywheresoftware.b4a.objects.collections.List _estetag = null; +String _minimoadesc = ""; +anywheresoftware.b4a.sql.SQL.CursorWrapper _minimos = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _c3 = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _c2 = null; +float _preciou = 0f; +RDebugUtils.currentLine=24903680; + //BA.debugLineNum = 24903680;BA.debugLine="Sub b_prodMenos_Click"; +RDebugUtils.currentLine=24903681; + //BA.debugLineNum = 24903681;BA.debugLine="etCantHasFocus = False"; +__ref._etcanthasfocus /*boolean*/ = __c.False; +RDebugUtils.currentLine=24903682; + //BA.debugLineNum = 24903682;BA.debugLine="Log(\"etCantHasFocus=\" & etCantHasFocus)"; +__c.LogImpl("824903682","etCantHasFocus="+BA.ObjectToString(__ref._etcanthasfocus /*boolean*/ ),0); +RDebugUtils.currentLine=24903683; + //BA.debugLineNum = 24903683;BA.debugLine="LogColor(\"b_prodMenos_Click\", Colors.Magenta)"; +__c.LogImpl("824903683","b_prodMenos_Click",__c.Colors.Magenta); +RDebugUtils.currentLine=24903684; + //BA.debugLineNum = 24903684;BA.debugLine="Dim index As Int = clv_pedido.GetItemFromView(Sen"; +_index = __ref._clv_pedido /*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=24903685; + //BA.debugLineNum = 24903685;BA.debugLine="Dim pnl0 As B4XView = clv_pedido.GetPanel(index)"; +_pnl0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_pnl0 = __ref._clv_pedido /*b4a.example3.customlistview*/ ._getpanel(_index); +RDebugUtils.currentLine=24903686; + //BA.debugLineNum = 24903686;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; +_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_pnl = _pnl0.GetView((int) (0)); +RDebugUtils.currentLine=24903687; + //BA.debugLineNum = 24903687;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(3)"; +_lacant = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_lacant = _pnl.GetView((int) (2)).GetView((int) (3)); +RDebugUtils.currentLine=24903689; + //BA.debugLineNum = 24903689;BA.debugLine="Dim esteTag As List = Regex.Split(\"\\|\", laCant.Ta"; +_estetag = new anywheresoftware.b4a.objects.collections.List(); +_estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(__c.Regex.Split("\\|",BA.ObjectToString(_lacant.getTag()))); +RDebugUtils.currentLine=24903690; + //BA.debugLineNum = 24903690;BA.debugLine="Log(\"LC_TEXT:\"&laCant.Text&\"|PROMO:\"&esteTag.Get("; +__c.LogImpl("824903690","LC_TEXT:"+_lacant.getText()+"|PROMO:"+BA.ObjectToString(_estetag.Get((int) (3)))+"|LC_TAG:"+BA.ObjectToString(_lacant.getTag())+"|ET:"+BA.ObjectToString(_estetag),0); +RDebugUtils.currentLine=24903692; + //BA.debugLineNum = 24903692;BA.debugLine="Private minimoadesc As String"; +_minimoadesc = ""; +RDebugUtils.currentLine=24903693; + //BA.debugLineNum = 24903693;BA.debugLine="Dim minimos As Cursor = Starter.skmt.ExecQuery2(\""; +_minimos = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_minimos = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM CAT_GUNAPROD3 WHERE CAT_GP_ID = ?",new String[]{BA.ObjectToString(_estetag.Get((int) (2)))}))); +RDebugUtils.currentLine=24903694; + //BA.debugLineNum = 24903694;BA.debugLine="If minimos.RowCount > 0 Then"; +if (_minimos.getRowCount()>0) { +RDebugUtils.currentLine=24903695; + //BA.debugLineNum = 24903695;BA.debugLine="minimos.Position = 0"; +_minimos.setPosition((int) (0)); +RDebugUtils.currentLine=24903696; + //BA.debugLineNum = 24903696;BA.debugLine="minimoadesc = minimos.GetString(\"CAT_DP_CANT_MIN"; +_minimoadesc = _minimos.GetString("CAT_DP_CANT_MIN_VENTA"); + }else { +RDebugUtils.currentLine=24903698; + //BA.debugLineNum = 24903698;BA.debugLine="minimoadesc = \"1\""; +_minimoadesc = "1"; + }; +RDebugUtils.currentLine=24903700; + //BA.debugLineNum = 24903700;BA.debugLine="minimos.Close"; +_minimos.Close(); +RDebugUtils.currentLine=24903702; + //BA.debugLineNum = 24903702;BA.debugLine="minimoadesc = \"1\""; +_minimoadesc = "1"; +RDebugUtils.currentLine=24903703; + //BA.debugLineNum = 24903703;BA.debugLine="If laCant.Text > 0 Then"; +if ((double)(Double.parseDouble(_lacant.getText()))>0) { +RDebugUtils.currentLine=24903738; + //BA.debugLineNum = 24903738;BA.debugLine="If laCant.Text = \"\" Then laCant.Text = 0"; +if ((_lacant.getText()).equals("")) { +_lacant.setText(BA.ObjectToCharSequence(0));}; +RDebugUtils.currentLine=24903739; + //BA.debugLineNum = 24903739;BA.debugLine="laCant.Text = $\"$1.0{laCant.Text-(1*minimoadesc)"; +_lacant.setText(BA.ObjectToCharSequence((""+__c.SmartStringFormatter("1.0",(Object)((double)(Double.parseDouble(_lacant.getText()))-(1*(double)(Double.parseDouble(_minimoadesc)))))+""))); +RDebugUtils.currentLine=24903740; + //BA.debugLineNum = 24903740;BA.debugLine="If laCant.Text < 0 Then laCant.Text = 0"; +if ((double)(Double.parseDouble(_lacant.getText()))<0) { +_lacant.setText(BA.ObjectToCharSequence(0));}; +RDebugUtils.currentLine=24903741; + //BA.debugLineNum = 24903741;BA.debugLine="Log(\"NO ES promo\")"; +__c.LogImpl("824903741","NO ES promo",0); +RDebugUtils.currentLine=24903746; + //BA.debugLineNum = 24903746;BA.debugLine="Private c3 As Cursor = Starter.skmt.ExecQuery2(\""; +_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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT PE_CANT FROM PEDIDO WHERE PE_PROID = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND CONSECUTIVO = ? ",new String[]{BA.ObjectToString(_estetag.Get((int) (2))),BA.ObjectToString(_estetag.Get((int) (6)))}))); +RDebugUtils.currentLine=24903747; + //BA.debugLineNum = 24903747;BA.debugLine="If c3.RowCount > 0 Then"; +if (_c3.getRowCount()>0) { +RDebugUtils.currentLine=24903748; + //BA.debugLineNum = 24903748;BA.debugLine="c3.Position = 0"; +_c3.setPosition((int) (0)); +RDebugUtils.currentLine=24903749; + //BA.debugLineNum = 24903749;BA.debugLine="If c3.GetString(\"PE_CANT\")> minimoadesc Then"; +if ((double)(Double.parseDouble(_c3.GetString("PE_CANT")))>(double)(Double.parseDouble(_minimoadesc))) { +RDebugUtils.currentLine=24903750; + //BA.debugLineNum = 24903750;BA.debugLine="Private c2 As Cursor = Starter.skmt.ExecQuery2"; +_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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM CAT_GUNAPROD WHERE CAT_GP_ID = ?",new String[]{BA.ObjectToString(_estetag.Get((int) (2)))}))); +RDebugUtils.currentLine=24903751; + //BA.debugLineNum = 24903751;BA.debugLine="If c2.RowCount > 0 Then"; +if (_c2.getRowCount()>0) { +RDebugUtils.currentLine=24903752; + //BA.debugLineNum = 24903752;BA.debugLine="c2.Position = 0"; +_c2.setPosition((int) (0)); +RDebugUtils.currentLine=24903754; + //BA.debugLineNum = 24903754;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO set"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update PEDIDO set PE_CANT = IFNULL(PE_CANT,0)-(1*'"+__c.SmartStringFormatter("",(Object)(_minimoadesc))+"'), PE_COSTO_TOT= ((IFNULL(PE_CANT,0) -(1*'"+__c.SmartStringFormatter("",(Object)(_minimoadesc))+"'))*'"+__c.SmartStringFormatter("",(Object)(_c2.GetString("CAT_GP_PRECIO")))+"') WHERE PE_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (6)))+"'")); + }; + }else +{RDebugUtils.currentLine=24903756; + //BA.debugLineNum = 24903756;BA.debugLine="Else If c3.GetString(\"PE_CANT\") = minimoadesc T"; +if ((_c3.GetString("PE_CANT")).equals(_minimoadesc)) { +RDebugUtils.currentLine=24903757; + //BA.debugLineNum = 24903757;BA.debugLine="Private c2 As Cursor = Starter.skmt.ExecQuery2"; +_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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM CAT_GUNAPROD WHERE CAT_GP_ID = ?",new String[]{BA.ObjectToString(_estetag.Get((int) (2)))}))); +RDebugUtils.currentLine=24903758; + //BA.debugLineNum = 24903758;BA.debugLine="If c2.RowCount > 0 Then"; +if (_c2.getRowCount()>0) { +RDebugUtils.currentLine=24903759; + //BA.debugLineNum = 24903759;BA.debugLine="c2.Position = 0"; +_c2.setPosition((int) (0)); +RDebugUtils.currentLine=24903762; + //BA.debugLineNum = 24903762;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from PEDID"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from PEDIDO where PE_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (6)))+"'")); + }; + }} +; + }; +RDebugUtils.currentLine=24903769; + //BA.debugLineNum = 24903769;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); + }; +RDebugUtils.currentLine=24903772; + //BA.debugLineNum = 24903772;BA.debugLine="Dim preciou As Float = esteTag.Get(0)/esteTag.Get"; +_preciou = (float) ((double)(BA.ObjectToNumber(_estetag.Get((int) (0))))/(double)(double)(BA.ObjectToNumber(_estetag.Get((int) (1))))); +RDebugUtils.currentLine=24903773; + //BA.debugLineNum = 24903773;BA.debugLine="Log(\"PU: \" & preciou)"; +__c.LogImpl("824903773","PU: "+BA.NumberToString(_preciou),0); +RDebugUtils.currentLine=24903784; + //BA.debugLineNum = 24903784;BA.debugLine="End Sub"; +return ""; +} +public String _b_prodmenosc_click(reparto_izca.keymon.lat.c_productos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "b_prodmenosc_click", false)) + {return ((String) Debug.delegate(ba, "b_prodmenosc_click", null));} +int _index = 0; +anywheresoftware.b4a.objects.B4XViewWrapper _pnl0 = null; +anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; +anywheresoftware.b4a.objects.B4XViewWrapper _lacantc = null; +anywheresoftware.b4a.objects.collections.List _estetag = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _c3 = null; +float _preciou = 0f; +RDebugUtils.currentLine=25100288; + //BA.debugLineNum = 25100288;BA.debugLine="Private Sub b_prodMenosC_Click"; +RDebugUtils.currentLine=25100289; + //BA.debugLineNum = 25100289;BA.debugLine="etCantHasFocus = False"; +__ref._etcanthasfocus /*boolean*/ = __c.False; +RDebugUtils.currentLine=25100290; + //BA.debugLineNum = 25100290;BA.debugLine="Log(\"etCantHasFocus=\" & etCantHasFocus)"; +__c.LogImpl("825100290","etCantHasFocus="+BA.ObjectToString(__ref._etcanthasfocus /*boolean*/ ),0); +RDebugUtils.currentLine=25100291; + //BA.debugLineNum = 25100291;BA.debugLine="LogColor(\"b_prodMenos_Click\", Colors.Magenta)"; +__c.LogImpl("825100291","b_prodMenos_Click",__c.Colors.Magenta); +RDebugUtils.currentLine=25100292; + //BA.debugLineNum = 25100292;BA.debugLine="Dim index As Int = clv_pedido.GetItemFromView(Sen"; +_index = __ref._clv_pedido /*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=25100293; + //BA.debugLineNum = 25100293;BA.debugLine="Dim pnl0 As B4XView = clv_pedido.GetPanel(index)"; +_pnl0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_pnl0 = __ref._clv_pedido /*b4a.example3.customlistview*/ ._getpanel(_index); +RDebugUtils.currentLine=25100294; + //BA.debugLineNum = 25100294;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; +_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_pnl = _pnl0.GetView((int) (0)); +RDebugUtils.currentLine=25100295; + //BA.debugLineNum = 25100295;BA.debugLine="Dim laCantc As B4XView = pnl.GetView(3).GetView(3"; +_lacantc = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_lacantc = _pnl.GetView((int) (3)).GetView((int) (3)); +RDebugUtils.currentLine=25100297; + //BA.debugLineNum = 25100297;BA.debugLine="Dim esteTag As List = Regex.Split(\"\\|\", laCantc.T"; +_estetag = new anywheresoftware.b4a.objects.collections.List(); +_estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(__c.Regex.Split("\\|",BA.ObjectToString(_lacantc.getTag()))); +RDebugUtils.currentLine=25100298; + //BA.debugLineNum = 25100298;BA.debugLine="Log(\"LC_TEXT:\"&laCantc.Text&\"|PROMO:\"&esteTag.Get"; +__c.LogImpl("825100298","LC_TEXT:"+_lacantc.getText()+"|PROMO:"+BA.ObjectToString(_estetag.Get((int) (3)))+"|LC_TAG:"+BA.ObjectToString(_lacantc.getTag())+"|ET:"+BA.ObjectToString(_estetag),0); +RDebugUtils.currentLine=25100302; + //BA.debugLineNum = 25100302;BA.debugLine="If laCantc.Text > 0 Then"; +if ((double)(Double.parseDouble(_lacantc.getText()))>0) { +RDebugUtils.currentLine=25100305; + //BA.debugLineNum = 25100305;BA.debugLine="Private c3 As Cursor = Starter.skmt.ExecQuery2(\""; +_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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT PE_CAJAS FROM PEDIDO WHERE PE_PROID = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND CONSECUTIVO = ? ",new String[]{BA.ObjectToString(_estetag.Get((int) (2))),BA.ObjectToString(_estetag.Get((int) (6)))}))); +RDebugUtils.currentLine=25100306; + //BA.debugLineNum = 25100306;BA.debugLine="If c3.RowCount > 0 Then"; +if (_c3.getRowCount()>0) { +RDebugUtils.currentLine=25100307; + //BA.debugLineNum = 25100307;BA.debugLine="c3.Position = 0"; +_c3.setPosition((int) (0)); +RDebugUtils.currentLine=25100308; + //BA.debugLineNum = 25100308;BA.debugLine="If c3.GetString(\"PE_CAJAS\") > 1 Then"; +if ((double)(Double.parseDouble(_c3.GetString("PE_CAJAS")))>1) { +RDebugUtils.currentLine=25100309; + //BA.debugLineNum = 25100309;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO set"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update PEDIDO set PE_CANT = (IFNULL(PE_CANT,0)-(1 * '"+__c.SmartStringFormatter("",(Object)(_subs._traeconversion /*String*/ (ba,BA.ObjectToString(_estetag.Get((int) (2))))))+"')), PE_COSTO_TOT= ((IFNULL(PE_CAJAS,0)-1) *'"+__c.SmartStringFormatter("",(Object)(_subs._traeprecioc /*String*/ (ba,BA.ObjectToString(_estetag.Get((int) (2))))))+"'), PE_CAJAS = IFNULL(PE_CAJAS,0) - 1 WHERE PE_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (6)))+"'")); + }else +{RDebugUtils.currentLine=25100310; + //BA.debugLineNum = 25100310;BA.debugLine="Else If c3.GetString(\"PE_CAJAS\") = 1 Then"; +if ((_c3.GetString("PE_CAJAS")).equals(BA.NumberToString(1))) { +RDebugUtils.currentLine=25100311; + //BA.debugLineNum = 25100311;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from PEDIDO"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from PEDIDO where PE_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (6)))+"'")); + }} +; + }; +RDebugUtils.currentLine=25100314; + //BA.debugLineNum = 25100314;BA.debugLine="Log(\"entre al if o algo asi \")"; +__c.LogImpl("825100314","entre al if o algo asi ",0); +RDebugUtils.currentLine=25100315; + //BA.debugLineNum = 25100315;BA.debugLine="If laCantc.Text = \"\" Then laCantc.Text = 0"; +if ((_lacantc.getText()).equals("")) { +_lacantc.setText(BA.ObjectToCharSequence(0));}; +RDebugUtils.currentLine=25100316; + //BA.debugLineNum = 25100316;BA.debugLine="laCantc.Text = laCantc.Text - 1"; +_lacantc.setText(BA.ObjectToCharSequence((double)(Double.parseDouble(_lacantc.getText()))-1)); +RDebugUtils.currentLine=25100317; + //BA.debugLineNum = 25100317;BA.debugLine="If laCantc.Text < 0 Then laCantc.Text = 0"; +if ((double)(Double.parseDouble(_lacantc.getText()))<0) { +_lacantc.setText(BA.ObjectToCharSequence(0));}; +RDebugUtils.currentLine=25100318; + //BA.debugLineNum = 25100318;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); + }else +{RDebugUtils.currentLine=25100320; + //BA.debugLineNum = 25100320;BA.debugLine="Else If laCantc.Text = 0 Then"; +if ((_lacantc.getText()).equals(BA.NumberToString(0))) { + }} +; +RDebugUtils.currentLine=25100324; + //BA.debugLineNum = 25100324;BA.debugLine="Dim preciou As Float = esteTag.Get(0)/esteTag.Get"; +_preciou = (float) ((double)(BA.ObjectToNumber(_estetag.Get((int) (0))))/(double)(double)(BA.ObjectToNumber(_estetag.Get((int) (1))))); +RDebugUtils.currentLine=25100325; + //BA.debugLineNum = 25100325;BA.debugLine="Log(\"PU: \" & preciou)"; +__c.LogImpl("825100325","PU: "+BA.NumberToString(_preciou),0); +RDebugUtils.currentLine=25100326; + //BA.debugLineNum = 25100326;BA.debugLine="End Sub"; +return ""; +} +public String _b_regresar_click(reparto_izca.keymon.lat.c_productos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "b_regresar_click", false)) + {return ((String) Debug.delegate(ba, "b_regresar_click", null));} +RDebugUtils.currentLine=24510464; + //BA.debugLineNum = 24510464;BA.debugLine="Sub b_regresar_Click"; +RDebugUtils.currentLine=24510465; + //BA.debugLineNum = 24510465;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +_b4xpages._showpage /*String*/ (ba,"Cliente"); +RDebugUtils.currentLine=24510466; + //BA.debugLineNum = 24510466;BA.debugLine="End Sub"; +return ""; +} +public String _b_revversar_click(reparto_izca.keymon.lat.c_productos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "b_revversar_click", false)) + {return ((String) Debug.delegate(ba, "b_revversar_click", null));} +RDebugUtils.currentLine=25231360; + //BA.debugLineNum = 25231360;BA.debugLine="Private Sub b_revversar_Click"; +RDebugUtils.currentLine=25231361; + //BA.debugLineNum = 25231361;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENTAS se"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update HIST_VENTAS set HVD_RECHAZO = 0, HVD_RECHAZOCANT = 0 WHERE HVD_cliente in (Select CUENTA from cuentaa)")); +RDebugUtils.currentLine=25231362; + //BA.debugLineNum = 25231362;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); +RDebugUtils.currentLine=25231363; + //BA.debugLineNum = 25231363;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.objects.PanelWrapper _createlistitem(reparto_izca.keymon.lat.c_productos __ref,String _text,String _preciou,int _inv,int _inv2,int _width,int _height,anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _img,String _prodid,int _bc,int _tc,String _promo,String _cliente_original,int _consecutivo) 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,_inv2,_width,_height,_img,_prodid,_bc,_tc,_promo,_cliente_original,_consecutivo}));} +anywheresoftware.b4a.objects.B4XViewWrapper _p = null; +anywheresoftware.b4a.objects.CSBuilder _cs = null; +RDebugUtils.currentLine=24772608; + //BA.debugLineNum = 24772608;BA.debugLine="Sub CreateListItem(Text As String, precioU As Stri"; +RDebugUtils.currentLine=24772609; + //BA.debugLineNum = 24772609;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=24772610; + //BA.debugLineNum = 24772610;BA.debugLine="Private cs As CSBuilder"; +_cs = new anywheresoftware.b4a.objects.CSBuilder(); +RDebugUtils.currentLine=24772611; + //BA.debugLineNum = 24772611;BA.debugLine="cs.Initialize"; +_cs.Initialize(); +RDebugUtils.currentLine=24772612; + //BA.debugLineNum = 24772612;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, Width, Height)"; +_p.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_width,_height); +RDebugUtils.currentLine=24772613; + //BA.debugLineNum = 24772613;BA.debugLine="p.LoadLayout(\"prodItem2\")"; +_p.LoadLayout("prodItem2",ba); +RDebugUtils.currentLine=24772614; + //BA.debugLineNum = 24772614;BA.debugLine="p_prods.Color = bc"; +__ref._p_prods /*anywheresoftware.b4a.objects.PanelWrapper*/ .setColor(_bc); +RDebugUtils.currentLine=24772615; + //BA.debugLineNum = 24772615;BA.debugLine="l_prodX.TextColor = tc"; +__ref._l_prodx /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextColor(_tc); +RDebugUtils.currentLine=24772616; + //BA.debugLineNum = 24772616;BA.debugLine="precioU = $\"$1.2{precioU}\"$"; +_preciou = (""+__c.SmartStringFormatter("1.2",(Object)(_preciou))+""); +RDebugUtils.currentLine=24772617; + //BA.debugLineNum = 24772617;BA.debugLine="l_prodX.Text = Text&CRLF&\"Cant: \" & inv2 & \" $\""; +__ref._l_prodx /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_text+__c.CRLF+"Cant: "+BA.NumberToString(_inv2)+" $"+_preciou)); +RDebugUtils.currentLine=24772618; + //BA.debugLineNum = 24772618;BA.debugLine="If promo <> \"1\" And precioU = 0 Then"; +if ((_promo).equals("1") == false && (_preciou).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=24772619; + //BA.debugLineNum = 24772619;BA.debugLine="l_prodX.Text = cs.Color(Colors.RGB(123,0,0)).app"; +__ref._l_prodx /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_cs.Color(__c.Colors.RGB((int) (123),(int) (0),(int) (0))).Append(BA.ObjectToCharSequence(_text+__c.CRLF+"Cant: "+BA.NumberToString(_inv2)+" $"+_preciou)).PopAll().getObject())); + }; +RDebugUtils.currentLine=24772621; + //BA.debugLineNum = 24772621;BA.debugLine="l_prodX.Tag = $\"ID: ${prodId}${CRLF}${Text}${CRLF"; +__ref._l_prodx /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTag((Object)(("ID: "+__c.SmartStringFormatter("",(Object)(_prodid))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+""+__c.SmartStringFormatter("",(Object)(_text))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+"Precio: $"+__c.SmartStringFormatter("1.2",(Object)(_preciou))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+"Inv: "+__c.SmartStringFormatter("",(Object)(_inv))+" pzs"))); +RDebugUtils.currentLine=24772624; + //BA.debugLineNum = 24772624;BA.debugLine="l_pCant.Tag = Round2(precioU.Replace(\",\",\"\"),2)&\""; +__ref._l_pcant /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTag((Object)(BA.NumberToString(__c.Round2((double)(Double.parseDouble(_preciou.replace(",",""))),(int) (2)))+"|"+BA.NumberToString(_inv)+"|"+_prodid+"|"+_promo+"|"+BA.NumberToString(_inv2)+"|"+_cliente_original+"|"+BA.NumberToString(_consecutivo))); +RDebugUtils.currentLine=24772625; + //BA.debugLineNum = 24772625;BA.debugLine="et_pCant.Tag = Round2(precioU.Replace(\",\",\"\"),2)&"; +__ref._et_pcant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setTag((Object)(BA.NumberToString(__c.Round2((double)(Double.parseDouble(_preciou.replace(",",""))),(int) (2)))+"|"+BA.NumberToString(_inv)+"|"+_prodid+"|"+_promo+"|"+BA.NumberToString(_inv2)+"|"+_cliente_original+"|"+BA.NumberToString(_consecutivo))); +RDebugUtils.currentLine=24772626; + //BA.debugLineNum = 24772626;BA.debugLine="p_prods.Tag = l_pCant.tag"; +__ref._p_prods /*anywheresoftware.b4a.objects.PanelWrapper*/ .setTag(__ref._l_pcant /*anywheresoftware.b4a.objects.LabelWrapper*/ .getTag()); +RDebugUtils.currentLine=24772628; + //BA.debugLineNum = 24772628;BA.debugLine="l_pCant.Text = inv"; +__ref._l_pcant /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_inv)); +RDebugUtils.currentLine=24772632; + //BA.debugLineNum = 24772632;BA.debugLine="l_pCant.BringToFront"; +__ref._l_pcant /*anywheresoftware.b4a.objects.LabelWrapper*/ .BringToFront(); +RDebugUtils.currentLine=24772633; + //BA.debugLineNum = 24772633;BA.debugLine="et_pCant.SendToBack"; +__ref._et_pcant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .SendToBack(); +RDebugUtils.currentLine=24772634; + //BA.debugLineNum = 24772634;BA.debugLine="p_botMasMenC.Visible = False"; +__ref._p_botmasmenc /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=24772635; + //BA.debugLineNum = 24772635;BA.debugLine="l_cajas.Visible = False"; +__ref._l_cajas /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=24772637; + //BA.debugLineNum = 24772637;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=24772638; + //BA.debugLineNum = 24772638;BA.debugLine="End Sub"; +return null; +} +public anywheresoftware.b4a.objects.PanelWrapper _createlistitem2(reparto_izca.keymon.lat.c_productos __ref,String _text,String _preciou,int _inv,int _inv2,int _width,int _height,anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _img,String _prodid,int _bc,int _tc,String _promo,String _cliente_original,int _consecutivo) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "createlistitem2", false)) + {return ((anywheresoftware.b4a.objects.PanelWrapper) Debug.delegate(ba, "createlistitem2", new Object[] {_text,_preciou,_inv,_inv2,_width,_height,_img,_prodid,_bc,_tc,_promo,_cliente_original,_consecutivo}));} +anywheresoftware.b4a.objects.B4XViewWrapper _p = null; +anywheresoftware.b4a.objects.CSBuilder _cs = null; +RDebugUtils.currentLine=24838144; + //BA.debugLineNum = 24838144;BA.debugLine="Sub CreateListItem2(Text As String, precioU As Str"; +RDebugUtils.currentLine=24838145; + //BA.debugLineNum = 24838145;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=24838146; + //BA.debugLineNum = 24838146;BA.debugLine="Private cs As CSBuilder"; +_cs = new anywheresoftware.b4a.objects.CSBuilder(); +RDebugUtils.currentLine=24838147; + //BA.debugLineNum = 24838147;BA.debugLine="cs.Initialize"; +_cs.Initialize(); +RDebugUtils.currentLine=24838148; + //BA.debugLineNum = 24838148;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, Width, Height)"; +_p.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_width,_height); +RDebugUtils.currentLine=24838149; + //BA.debugLineNum = 24838149;BA.debugLine="p.LoadLayout(\"prodItem2\")"; +_p.LoadLayout("prodItem2",ba); +RDebugUtils.currentLine=24838150; + //BA.debugLineNum = 24838150;BA.debugLine="p_prods.Color = bc"; +__ref._p_prods /*anywheresoftware.b4a.objects.PanelWrapper*/ .setColor(_bc); +RDebugUtils.currentLine=24838151; + //BA.debugLineNum = 24838151;BA.debugLine="l_prodX.TextColor = tc"; +__ref._l_prodx /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextColor(_tc); +RDebugUtils.currentLine=24838152; + //BA.debugLineNum = 24838152;BA.debugLine="precioU = $\"$1.2{precioU}\"$"; +_preciou = (""+__c.SmartStringFormatter("1.2",(Object)(_preciou))+""); +RDebugUtils.currentLine=24838153; + //BA.debugLineNum = 24838153;BA.debugLine="l_prodX.Text = Text&CRLF&\"Cant: \" & inv2 & \" $\""; +__ref._l_prodx /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_text+__c.CRLF+"Cant: "+BA.NumberToString(_inv2)+" $"+_preciou)); +RDebugUtils.currentLine=24838154; + //BA.debugLineNum = 24838154;BA.debugLine="If promo <> \"1\" And precioU = 0 Then"; +if ((_promo).equals("1") == false && (_preciou).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=24838155; + //BA.debugLineNum = 24838155;BA.debugLine="l_prodX.Text = cs.Color(Colors.RGB(123,0,0)).app"; +__ref._l_prodx /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_cs.Color(__c.Colors.RGB((int) (123),(int) (0),(int) (0))).Append(BA.ObjectToCharSequence(_text+__c.CRLF+"Cant: "+BA.NumberToString(_inv2)+" $"+_preciou)).PopAll().getObject())); + }; +RDebugUtils.currentLine=24838158; + //BA.debugLineNum = 24838158;BA.debugLine="Log(inv&\" inventario 1\")"; +__c.LogImpl("824838158",BA.NumberToString(_inv)+" inventario 1",0); +RDebugUtils.currentLine=24838159; + //BA.debugLineNum = 24838159;BA.debugLine="Log(inv2&\" inventario 2\")"; +__c.LogImpl("824838159",BA.NumberToString(_inv2)+" inventario 2",0); +RDebugUtils.currentLine=24838160; + //BA.debugLineNum = 24838160;BA.debugLine="l_prodX.Tag = $\"ID: ${prodId}${CRLF}${Text}${CRLF"; +__ref._l_prodx /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTag((Object)(("ID: "+__c.SmartStringFormatter("",(Object)(_prodid))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+""+__c.SmartStringFormatter("",(Object)(_text))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+"Precio: $"+__c.SmartStringFormatter("1.2",(Object)(_preciou))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+"Inv: "+__c.SmartStringFormatter("",(Object)(_inv))+" pzs"))); +RDebugUtils.currentLine=24838162; + //BA.debugLineNum = 24838162;BA.debugLine="l_pCantC.Tag = Round2(precioU.Replace(\",\",\"\"),2)&"; +__ref._l_pcantc /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTag((Object)(BA.NumberToString(__c.Round2((double)(Double.parseDouble(_preciou.replace(",",""))),(int) (2)))+"|"+BA.NumberToString(_inv)+"|"+_prodid+"|"+_promo+"|"+BA.NumberToString(_inv2)+"|"+_cliente_original+"|"+BA.NumberToString(_consecutivo))); +RDebugUtils.currentLine=24838163; + //BA.debugLineNum = 24838163;BA.debugLine="et_pCantC.Tag = Round2(precioU.Replace(\",\",\"\"),2)"; +__ref._et_pcantc /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setTag((Object)(BA.NumberToString(__c.Round2((double)(Double.parseDouble(_preciou.replace(",",""))),(int) (2)))+"|"+BA.NumberToString(_inv)+"|"+_prodid+"|"+_promo+"|"+BA.NumberToString(_inv2)+"|"+_cliente_original+"|"+BA.NumberToString(_consecutivo))); +RDebugUtils.currentLine=24838164; + //BA.debugLineNum = 24838164;BA.debugLine="p_prods.Tag = l_pCantC.tag"; +__ref._p_prods /*anywheresoftware.b4a.objects.PanelWrapper*/ .setTag(__ref._l_pcantc /*anywheresoftware.b4a.objects.LabelWrapper*/ .getTag()); +RDebugUtils.currentLine=24838166; + //BA.debugLineNum = 24838166;BA.debugLine="l_pCantC.Text = NumberFormat2(inv,0,0,0,False)"; +__ref._l_pcantc /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.NumberFormat2(_inv,(int) (0),(int) (0),(int) (0),__c.False))); +RDebugUtils.currentLine=24838170; + //BA.debugLineNum = 24838170;BA.debugLine="l_pCantC.BringToFront"; +__ref._l_pcantc /*anywheresoftware.b4a.objects.LabelWrapper*/ .BringToFront(); +RDebugUtils.currentLine=24838171; + //BA.debugLineNum = 24838171;BA.debugLine="et_pCantC.SendToBack"; +__ref._et_pcantc /*anywheresoftware.b4a.objects.EditTextWrapper*/ .SendToBack(); +RDebugUtils.currentLine=24838172; + //BA.debugLineNum = 24838172;BA.debugLine="p_botMasMen.Visible = False"; +__ref._p_botmasmen /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=24838173; + //BA.debugLineNum = 24838173;BA.debugLine="l_piezas.Visible = False"; +__ref._l_piezas /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=24838175; + //BA.debugLineNum = 24838175;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=24838176; + //BA.debugLineNum = 24838176;BA.debugLine="End Sub"; +return null; +} +public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _b4xpage_closerequest(reparto_izca.keymon.lat.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(reparto_izca.keymon.lat.c_productos parent,reparto_izca.keymon.lat.c_productos __ref) { +this.parent = parent; +this.__ref = __ref; +this.__ref = parent; +} +reparto_izca.keymon.lat.c_productos __ref; +reparto_izca.keymon.lat.c_productos parent; + +@Override +public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="c_productos"; + + while (true) { + switch (state) { + case -1: +{ +parent.__c.ReturnFromResumableSub(this,null);return;} +case 0: +//C +this.state = -1; +RDebugUtils.currentLine=24576003; + //BA.debugLineNum = 24576003;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +parent._b4xpages._showpage /*String*/ (ba,"Cliente"); +RDebugUtils.currentLine=24576005; + //BA.debugLineNum = 24576005;BA.debugLine="Return False"; +if (true) { +parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; +RDebugUtils.currentLine=24576006; + //BA.debugLineNum = 24576006;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public String _b4xpage_created(reparto_izca.keymon.lat.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}));} +RDebugUtils.currentLine=24313856; + //BA.debugLineNum = 24313856;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +RDebugUtils.currentLine=24313857; + //BA.debugLineNum = 24313857;BA.debugLine="Root = Root1"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _root1; +RDebugUtils.currentLine=24313858; + //BA.debugLineNum = 24313858;BA.debugLine="B4XPages.SetTitle(Me, \"Productos\")"; +_b4xpages._settitle /*String*/ (ba,this,(Object)("Productos")); +RDebugUtils.currentLine=24313860; + //BA.debugLineNum = 24313860;BA.debugLine="g.Initialize(\"GPS\")"; +__ref._g /*anywheresoftware.b4a.gps.GPS*/ .Initialize("GPS"); +RDebugUtils.currentLine=24313861; + //BA.debugLineNum = 24313861;BA.debugLine="Root.LoadLayout(\"detalleVenta\")"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("detalleVenta",ba); +RDebugUtils.currentLine=24313862; + //BA.debugLineNum = 24313862;BA.debugLine="b_borra.Visible = False"; +__ref._b_borra /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=24313863; + //BA.debugLineNum = 24313863;BA.debugLine="Titulo.Text = \"Pedido\""; +__ref._titulo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("Pedido")); +RDebugUtils.currentLine=24313864; + //BA.debugLineNum = 24313864;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(reparto_izca.keymon.lat.c_productos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +RDebugUtils.currentLine=24182784; + //BA.debugLineNum = 24182784;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=24182785; + //BA.debugLineNum = 24182785;BA.debugLine="Private Root As B4XView 'ignore"; +_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=24182786; + //BA.debugLineNum = 24182786;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=24182787; + //BA.debugLineNum = 24182787;BA.debugLine="Dim g As GPS"; +_g = new anywheresoftware.b4a.gps.GPS(); +RDebugUtils.currentLine=24182788; + //BA.debugLineNum = 24182788;BA.debugLine="Dim clie_id As String"; +_clie_id = ""; +RDebugUtils.currentLine=24182789; + //BA.debugLineNum = 24182789;BA.debugLine="Dim sDate,sTime As String"; +_sdate = ""; +_stime = ""; +RDebugUtils.currentLine=24182790; + //BA.debugLineNum = 24182790;BA.debugLine="Dim usuario As String"; +_usuario = ""; +RDebugUtils.currentLine=24182791; + //BA.debugLineNum = 24182791;BA.debugLine="Dim c As Cursor"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=24182793; + //BA.debugLineNum = 24182793;BA.debugLine="Dim b_regresar As Button"; +_b_regresar = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=24182794; + //BA.debugLineNum = 24182794;BA.debugLine="Dim ListView1 As ListView"; +_listview1 = new anywheresoftware.b4a.objects.ListViewWrapper(); +RDebugUtils.currentLine=24182795; + //BA.debugLineNum = 24182795;BA.debugLine="Dim L_CANT As Label"; +_l_cant = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=24182796; + //BA.debugLineNum = 24182796;BA.debugLine="Dim L_TOTAL As Label"; +_l_total = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=24182797; + //BA.debugLineNum = 24182797;BA.debugLine="Dim b_borra As Button"; +_b_borra = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=24182798; + //BA.debugLineNum = 24182798;BA.debugLine="Dim Existe As String"; +_existe = ""; +RDebugUtils.currentLine=24182799; + //BA.debugLineNum = 24182799;BA.debugLine="Dim result As String"; +_result = ""; +RDebugUtils.currentLine=24182801; + //BA.debugLineNum = 24182801;BA.debugLine="Dim cuantos As String"; +_cuantos = ""; +RDebugUtils.currentLine=24182802; + //BA.debugLineNum = 24182802;BA.debugLine="Dim nombre_prod As String"; +_nombre_prod = ""; +RDebugUtils.currentLine=24182803; + //BA.debugLineNum = 24182803;BA.debugLine="Dim cuantos_pedido As String"; +_cuantos_pedido = ""; +RDebugUtils.currentLine=24182804; + //BA.debugLineNum = 24182804;BA.debugLine="Private Titulo As Label"; +_titulo = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=24182805; + //BA.debugLineNum = 24182805;BA.debugLine="Private P1 As Panel"; +_p1 = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=24182806; + //BA.debugLineNum = 24182806;BA.debugLine="Private lv2 As ListView"; +_lv2 = new anywheresoftware.b4a.objects.ListViewWrapper(); +RDebugUtils.currentLine=24182807; + //BA.debugLineNum = 24182807;BA.debugLine="Private p_principal As Panel"; +_p_principal = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=24182808; + //BA.debugLineNum = 24182808;BA.debugLine="Dim clv_pedido As CustomListView"; +_clv_pedido = new b4a.example3.customlistview(); +RDebugUtils.currentLine=24182809; + //BA.debugLineNum = 24182809;BA.debugLine="Private p_prods As Panel"; +_p_prods = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=24182810; + //BA.debugLineNum = 24182810;BA.debugLine="Private l_prodX As Label"; +_l_prodx = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=24182811; + //BA.debugLineNum = 24182811;BA.debugLine="Private l_pCant As Label"; +_l_pcant = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=24182812; + //BA.debugLineNum = 24182812;BA.debugLine="Private et_pCant As EditText"; +_et_pcant = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=24182813; + //BA.debugLineNum = 24182813;BA.debugLine="Dim bmp As Bitmap"; +_bmp = new anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper(); +RDebugUtils.currentLine=24182814; + //BA.debugLineNum = 24182814;BA.debugLine="Dim etCantHasFocus As Boolean = False"; +_etcanthasfocus = __c.False; +RDebugUtils.currentLine=24182815; + //BA.debugLineNum = 24182815;BA.debugLine="Dim totalProds As Int = 0"; +_totalprods = (int) (0); +RDebugUtils.currentLine=24182816; + //BA.debugLineNum = 24182816;BA.debugLine="Dim totalCompra As Int = 0"; +_totalcompra = (int) (0); +RDebugUtils.currentLine=24182817; + //BA.debugLineNum = 24182817;BA.debugLine="Dim prodsMap As Map"; +_prodsmap = new anywheresoftware.b4a.objects.collections.Map(); +RDebugUtils.currentLine=24182818; + //BA.debugLineNum = 24182818;BA.debugLine="Dim reconstruirPedido As Boolean = False"; +_reconstruirpedido = __c.False; +RDebugUtils.currentLine=24182819; + //BA.debugLineNum = 24182819;BA.debugLine="Dim promoABorrar As String"; +_promoaborrar = ""; +RDebugUtils.currentLine=24182820; + //BA.debugLineNum = 24182820;BA.debugLine="Private b_guardar As Button"; +_b_guardar = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=24182821; + //BA.debugLineNum = 24182821;BA.debugLine="Private b_prodMas As Button"; +_b_prodmas = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=24182822; + //BA.debugLineNum = 24182822;BA.debugLine="Private b_prodMenos As Button"; +_b_prodmenos = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=24182823; + //BA.debugLineNum = 24182823;BA.debugLine="Private b_prodMenosC As Button"; +_b_prodmenosc = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=24182824; + //BA.debugLineNum = 24182824;BA.debugLine="Private l_pCantC As Label"; +_l_pcantc = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=24182825; + //BA.debugLineNum = 24182825;BA.debugLine="Private et_pCantC As EditText"; +_et_pcantc = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=24182826; + //BA.debugLineNum = 24182826;BA.debugLine="Private b_prodMasC As Button"; +_b_prodmasc = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=24182827; + //BA.debugLineNum = 24182827;BA.debugLine="Private p_botMasMenC As Panel"; +_p_botmasmenc = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=24182828; + //BA.debugLineNum = 24182828;BA.debugLine="Private p_botMasMen As Panel"; +_p_botmasmen = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=24182829; + //BA.debugLineNum = 24182829;BA.debugLine="Private b_revversar As Button"; +_b_revversar = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=24182830; + //BA.debugLineNum = 24182830;BA.debugLine="Private Label2 As Label"; +_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=24182831; + //BA.debugLineNum = 24182831;BA.debugLine="Private Label3 As Label"; +_label3 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=24182832; + //BA.debugLineNum = 24182832;BA.debugLine="Private l_piezas As Label"; +_l_piezas = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=24182833; + //BA.debugLineNum = 24182833;BA.debugLine="Private l_cajas As Label"; +_l_cajas = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=24182835; + //BA.debugLineNum = 24182835;BA.debugLine="Private l_cajas As Label"; +_l_cajas = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=24182836; + //BA.debugLineNum = 24182836;BA.debugLine="Private l_piezas As Label"; +_l_piezas = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=24182837; + //BA.debugLineNum = 24182837;BA.debugLine="End Sub"; +return ""; +} +public String _cuentaprods(reparto_izca.keymon.lat.c_productos __ref,String _accion) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "cuentaprods", false)) + {return ((String) Debug.delegate(ba, "cuentaprods", new Object[] {_accion}));} +RDebugUtils.currentLine=25296896; + //BA.debugLineNum = 25296896;BA.debugLine="Sub cuentaProds(accion As String)"; +RDebugUtils.currentLine=25297058; + //BA.debugLineNum = 25297058;BA.debugLine="End Sub"; +return ""; +} +public String _gps_locationchanged(reparto_izca.keymon.lat.c_productos __ref,anywheresoftware.b4a.gps.LocationWrapper _location1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "gps_locationchanged", false)) + {return ((String) Debug.delegate(ba, "gps_locationchanged", new Object[] {_location1}));} +RDebugUtils.currentLine=24444928; + //BA.debugLineNum = 24444928;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; +RDebugUtils.currentLine=24444931; + //BA.debugLineNum = 24444931;BA.debugLine="End Sub"; +return ""; +} +public String _l_pcant_click(reparto_izca.keymon.lat.c_productos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "l_pcant_click", false)) + {return ((String) Debug.delegate(ba, "l_pcant_click", null));} +RDebugUtils.currentLine=25427968; + //BA.debugLineNum = 25427968;BA.debugLine="Private Sub l_pCant_Click"; +RDebugUtils.currentLine=25427970; + //BA.debugLineNum = 25427970;BA.debugLine="End Sub"; +return ""; +} +public String _l_pcantc_click(reparto_izca.keymon.lat.c_productos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "l_pcantc_click", false)) + {return ((String) Debug.delegate(ba, "l_pcantc_click", null));} +RDebugUtils.currentLine=25165824; + //BA.debugLineNum = 25165824;BA.debugLine="Private Sub l_pCantC_Click"; +RDebugUtils.currentLine=25165826; + //BA.debugLineNum = 25165826;BA.debugLine="End Sub"; +return ""; +} +public String _listview1_itemlongclick(reparto_izca.keymon.lat.c_productos __ref,int _position,Object _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "listview1_itemlongclick", false)) + {return ((String) Debug.delegate(ba, "listview1_itemlongclick", new Object[] {_position,_value}));} +RDebugUtils.currentLine=24641536; + //BA.debugLineNum = 24641536;BA.debugLine="Sub ListView1_ItemLongClick (Position As Int, Valu"; +RDebugUtils.currentLine=24641580; + //BA.debugLineNum = 24641580;BA.debugLine="End Sub"; +return ""; +} +public String _lv2_itemclick(reparto_izca.keymon.lat.c_productos __ref,int _position,Object _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "lv2_itemclick", false)) + {return ((String) Debug.delegate(ba, "lv2_itemclick", new Object[] {_position,_value}));} +RDebugUtils.currentLine=24707072; + //BA.debugLineNum = 24707072;BA.debugLine="Sub lv2_ItemClick (Position As Int, Value As Objec"; +RDebugUtils.currentLine=24707133; + //BA.debugLineNum = 24707133;BA.debugLine="End Sub"; +return ""; +} +public String _p_prods_click(reparto_izca.keymon.lat.c_productos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "p_prods_click", false)) + {return ((String) Debug.delegate(ba, "p_prods_click", null));} +RDebugUtils.currentLine=25493504; + //BA.debugLineNum = 25493504;BA.debugLine="Sub p_prods_Click"; +RDebugUtils.currentLine=25493505; + //BA.debugLineNum = 25493505;BA.debugLine="Log(Sender.As(Panel).tag)"; +__c.LogImpl("825493505",BA.ObjectToString(((anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(__c.Sender(ba)))).getTag()),0); +RDebugUtils.currentLine=25493506; + //BA.debugLineNum = 25493506;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/c_tabulador.java b/B4A/Objects/src/reparto_izca/keymon/lat/c_tabulador.java new file mode 100644 index 0000000..e415be8 --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/c_tabulador.java @@ -0,0 +1,435 @@ +package reparto_izca.keymon.lat; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.B4AClass; +import anywheresoftware.b4a.BALayout; +import anywheresoftware.b4a.debug.*; + +public class c_tabulador 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, "reparto_izca.keymon.lat.c_tabulador"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", reparto_izca.keymon.lat.c_tabulador.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.EditTextWrapper _et_mil = null; +public anywheresoftware.b4a.objects.EditTextWrapper _et_quinientos = null; +public anywheresoftware.b4a.objects.EditTextWrapper _et_docientos = null; +public anywheresoftware.b4a.objects.EditTextWrapper _et_cien = null; +public anywheresoftware.b4a.objects.EditTextWrapper _et_cincuenta = null; +public anywheresoftware.b4a.objects.EditTextWrapper _et_veinte = null; +public anywheresoftware.b4a.objects.EditTextWrapper _et_m_veinte = null; +public anywheresoftware.b4a.objects.EditTextWrapper _et_m_diez = null; +public anywheresoftware.b4a.objects.EditTextWrapper _et_m_cinco = null; +public anywheresoftware.b4a.objects.EditTextWrapper _et_m_dos = null; +public anywheresoftware.b4a.objects.EditTextWrapper _et_m_peso = null; +public anywheresoftware.b4a.objects.EditTextWrapper _et_m_centavo = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_calcular = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_guardar = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_total = null; +public int _sum_billetes = 0; +public float _sum_monedas = 0f; +public float _total = 0f; +public anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; +public anywheresoftware.b4a.sql.SQL.CursorWrapper _d = null; +public b4a.example.dateutils _dateutils = null; +public reparto_izca.keymon.lat.main _main = null; +public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; +public reparto_izca.keymon.lat.foto _foto = null; +public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_izca.keymon.lat.starter _starter = null; +public reparto_izca.keymon.lat.tracker _tracker = null; +public reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public Object _initialize(reparto_izca.keymon.lat.c_tabulador __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="c_tabulador"; +if (Debug.shouldDelegate(ba, "initialize", false)) + {return ((Object) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=25624576; + //BA.debugLineNum = 25624576;BA.debugLine="Public Sub Initialize As Object"; +RDebugUtils.currentLine=25624577; + //BA.debugLineNum = 25624577;BA.debugLine="Return Me"; +if (true) return this; +RDebugUtils.currentLine=25624578; + //BA.debugLineNum = 25624578;BA.debugLine="End Sub"; +return null; +} +public String _b_calcular_click(reparto_izca.keymon.lat.c_tabulador __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_tabulador"; +if (Debug.shouldDelegate(ba, "b_calcular_click", false)) + {return ((String) Debug.delegate(ba, "b_calcular_click", null));} +RDebugUtils.currentLine=25886720; + //BA.debugLineNum = 25886720;BA.debugLine="Private Sub b_calcular_Click"; +RDebugUtils.currentLine=25886721; + //BA.debugLineNum = 25886721;BA.debugLine="If et_mil.Text = \"\" Then"; +if ((__ref._et_mil /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("")) { +RDebugUtils.currentLine=25886722; + //BA.debugLineNum = 25886722;BA.debugLine="et_mil.Text = 0"; +__ref._et_mil /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(0)); + }; +RDebugUtils.currentLine=25886724; + //BA.debugLineNum = 25886724;BA.debugLine="If et_quinientos.Text = \"\" Then"; +if ((__ref._et_quinientos /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("")) { +RDebugUtils.currentLine=25886725; + //BA.debugLineNum = 25886725;BA.debugLine="et_quinientos.Text = 0"; +__ref._et_quinientos /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(0)); + }; +RDebugUtils.currentLine=25886727; + //BA.debugLineNum = 25886727;BA.debugLine="If et_docientos.Text = \"\" Then"; +if ((__ref._et_docientos /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("")) { +RDebugUtils.currentLine=25886728; + //BA.debugLineNum = 25886728;BA.debugLine="et_docientos.Text = 0"; +__ref._et_docientos /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(0)); + }; +RDebugUtils.currentLine=25886730; + //BA.debugLineNum = 25886730;BA.debugLine="If et_cien.Text = \"\" Then"; +if ((__ref._et_cien /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("")) { +RDebugUtils.currentLine=25886731; + //BA.debugLineNum = 25886731;BA.debugLine="et_cien.Text = 0"; +__ref._et_cien /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(0)); + }; +RDebugUtils.currentLine=25886733; + //BA.debugLineNum = 25886733;BA.debugLine="If et_cincuenta.Text = \"\" Then"; +if ((__ref._et_cincuenta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("")) { +RDebugUtils.currentLine=25886734; + //BA.debugLineNum = 25886734;BA.debugLine="et_cincuenta.Text = 0"; +__ref._et_cincuenta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(0)); + }; +RDebugUtils.currentLine=25886736; + //BA.debugLineNum = 25886736;BA.debugLine="If et_veinte.Text = \"\" Then"; +if ((__ref._et_veinte /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("")) { +RDebugUtils.currentLine=25886737; + //BA.debugLineNum = 25886737;BA.debugLine="et_veinte.Text = 0"; +__ref._et_veinte /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(0)); + }; +RDebugUtils.currentLine=25886739; + //BA.debugLineNum = 25886739;BA.debugLine="If et_m_veinte.Text = \"\" Then"; +if ((__ref._et_m_veinte /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("")) { +RDebugUtils.currentLine=25886740; + //BA.debugLineNum = 25886740;BA.debugLine="et_m_veinte.Text = 0"; +__ref._et_m_veinte /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(0)); + }; +RDebugUtils.currentLine=25886742; + //BA.debugLineNum = 25886742;BA.debugLine="If et_m_diez.Text = \"\" Then"; +if ((__ref._et_m_diez /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("")) { +RDebugUtils.currentLine=25886743; + //BA.debugLineNum = 25886743;BA.debugLine="et_m_diez.Text = 0"; +__ref._et_m_diez /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(0)); + }; +RDebugUtils.currentLine=25886745; + //BA.debugLineNum = 25886745;BA.debugLine="If et_m_cinco.Text = \"\" Then"; +if ((__ref._et_m_cinco /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("")) { +RDebugUtils.currentLine=25886746; + //BA.debugLineNum = 25886746;BA.debugLine="et_m_cinco.Text = 0"; +__ref._et_m_cinco /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(0)); + }; +RDebugUtils.currentLine=25886748; + //BA.debugLineNum = 25886748;BA.debugLine="If et_m_dos.Text = \"\" Then"; +if ((__ref._et_m_dos /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("")) { +RDebugUtils.currentLine=25886749; + //BA.debugLineNum = 25886749;BA.debugLine="et_m_dos.Text = 0"; +__ref._et_m_dos /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(0)); + }; +RDebugUtils.currentLine=25886751; + //BA.debugLineNum = 25886751;BA.debugLine="If et_m_peso.Text = \"\" Then"; +if ((__ref._et_m_peso /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("")) { +RDebugUtils.currentLine=25886752; + //BA.debugLineNum = 25886752;BA.debugLine="et_m_peso.Text = 0"; +__ref._et_m_peso /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(0)); + }; +RDebugUtils.currentLine=25886754; + //BA.debugLineNum = 25886754;BA.debugLine="If et_m_centavo.Text = \"\" Then"; +if ((__ref._et_m_centavo /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("")) { +RDebugUtils.currentLine=25886755; + //BA.debugLineNum = 25886755;BA.debugLine="et_m_centavo.Text = 0"; +__ref._et_m_centavo /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(0)); + }; +RDebugUtils.currentLine=25886757; + //BA.debugLineNum = 25886757;BA.debugLine="sum_billetes = (et_mil.Text * 1000) + (et_quinien"; +__ref._sum_billetes /*int*/ = (int) (((double)(Double.parseDouble(__ref._et_mil /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))*1000)+((double)(Double.parseDouble(__ref._et_quinientos /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))*500)+((double)(Double.parseDouble(__ref._et_docientos /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))*200)+((double)(Double.parseDouble(__ref._et_cien /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))*100)+((double)(Double.parseDouble(__ref._et_cincuenta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))*50)+((double)(Double.parseDouble(__ref._et_veinte /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))*20)); +RDebugUtils.currentLine=25886758; + //BA.debugLineNum = 25886758;BA.debugLine="sum_monedas = (et_m_veinte.Text * 20) + ( et_m_di"; +__ref._sum_monedas /*float*/ = (float) (((double)(Double.parseDouble(__ref._et_m_veinte /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))*20)+((double)(Double.parseDouble(__ref._et_m_diez /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))*10)+((double)(Double.parseDouble(__ref._et_m_cinco /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))*5)+((double)(Double.parseDouble(__ref._et_m_dos /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))*2)+((double)(Double.parseDouble(__ref._et_m_peso /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))*1)+((double)(Double.parseDouble(__ref._et_m_centavo /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))*0.50)); +RDebugUtils.currentLine=25886759; + //BA.debugLineNum = 25886759;BA.debugLine="total = sum_billetes + sum_monedas"; +__ref._total /*float*/ = (float) (__ref._sum_billetes /*int*/ +__ref._sum_monedas /*float*/ ); +RDebugUtils.currentLine=25886760; + //BA.debugLineNum = 25886760;BA.debugLine="l_total.Text = Round2(total, 2)"; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.Round2(__ref._total /*float*/ ,(int) (2)))); +RDebugUtils.currentLine=25886761; + //BA.debugLineNum = 25886761;BA.debugLine="End Sub"; +return ""; +} +public String _b_guardar_click(reparto_izca.keymon.lat.c_tabulador __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_tabulador"; +if (Debug.shouldDelegate(ba, "b_guardar_click", false)) + {return ((String) Debug.delegate(ba, "b_guardar_click", null));} +RDebugUtils.currentLine=25821184; + //BA.debugLineNum = 25821184;BA.debugLine="Private Sub b_guardar_Click"; +RDebugUtils.currentLine=25821185; + //BA.debugLineNum = 25821185;BA.debugLine="b_calcular_Click"; +__ref._b_calcular_click /*String*/ (null); +RDebugUtils.currentLine=25821186; + //BA.debugLineNum = 25821186;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM TABULADOR_"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM TABULADOR_MONEDAS"); +RDebugUtils.currentLine=25821187; + //BA.debugLineNum = 25821187;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM TABULADOR_"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM TABULADOR_BILLETES"); +RDebugUtils.currentLine=25821188; + //BA.debugLineNum = 25821188;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO TABULADOR"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO TABULADOR_BILLETES (MIL, QUINIENTOS, DOCIENTOS, CIEN, CINCUENTA, VEINTE) VALUES (?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._et_mil /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._et_quinientos /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._et_docientos /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._et_cien /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._et_cincuenta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._et_veinte /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())})); +RDebugUtils.currentLine=25821189; + //BA.debugLineNum = 25821189;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO TABULADOR"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO TABULADOR_MONEDAS (VEINTE, DIEZ, CINCO, DOS, PESO, CENTAVO, TOTAL) VALUES (?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._et_m_veinte /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._et_m_diez /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._et_m_cinco /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._et_m_dos /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._et_m_peso /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._et_m_centavo /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText())})); +RDebugUtils.currentLine=25821190; + //BA.debugLineNum = 25821190;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +_b4xpages._showpage /*String*/ (ba,"Principal"); +RDebugUtils.currentLine=25821191; + //BA.debugLineNum = 25821191;BA.debugLine="End Sub"; +return ""; +} +public String _b4xpage_appear(reparto_izca.keymon.lat.c_tabulador __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_tabulador"; +if (Debug.shouldDelegate(ba, "b4xpage_appear", false)) + {return ((String) Debug.delegate(ba, "b4xpage_appear", null));} +RDebugUtils.currentLine=25755648; + //BA.debugLineNum = 25755648;BA.debugLine="Sub B4XPage_Appear"; +RDebugUtils.currentLine=25755649; + //BA.debugLineNum = 25755649;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT VEINTE, DIEZ,"; +__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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT VEINTE, DIEZ, CINCO, DOS, PESO, CENTAVO, TOTAL FROM TABULADOR_MONEDAS"))); +RDebugUtils.currentLine=25755650; + //BA.debugLineNum = 25755650;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT MIL, QUINIENTO"; +__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 MIL, QUINIENTOS, DOCIENTOS, CIEN, CINCUENTA, VEINTE FROM TABULADOR_BILLETES"))); +RDebugUtils.currentLine=25755651; + //BA.debugLineNum = 25755651;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=25755652; + //BA.debugLineNum = 25755652;BA.debugLine="d.Position = 0"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=25755653; + //BA.debugLineNum = 25755653;BA.debugLine="If c.RowCount > 0 And d.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0 && __ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=25755654; + //BA.debugLineNum = 25755654;BA.debugLine="Log(\"TABULADR CON RESUKTADO\")"; +__c.LogImpl("825755654","TABULADR CON RESUKTADO",0); +RDebugUtils.currentLine=25755655; + //BA.debugLineNum = 25755655;BA.debugLine="et_mil.Text = c.GetString(\"MIL\")"; +__ref._et_mil /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("MIL"))); +RDebugUtils.currentLine=25755656; + //BA.debugLineNum = 25755656;BA.debugLine="et_quinientos.Text = c.GetString(\"QUINIENTOS\")"; +__ref._et_quinientos /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("QUINIENTOS"))); +RDebugUtils.currentLine=25755657; + //BA.debugLineNum = 25755657;BA.debugLine="et_docientos.Text = c.GetString(\"DOCIENTOS\")"; +__ref._et_docientos /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("DOCIENTOS"))); +RDebugUtils.currentLine=25755658; + //BA.debugLineNum = 25755658;BA.debugLine="et_cien.Text = c.GetString(\"CIEN\")"; +__ref._et_cien /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CIEN"))); +RDebugUtils.currentLine=25755659; + //BA.debugLineNum = 25755659;BA.debugLine="et_cincuenta.Text = c.GetString(\"CINCUENTA\")"; +__ref._et_cincuenta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CINCUENTA"))); +RDebugUtils.currentLine=25755660; + //BA.debugLineNum = 25755660;BA.debugLine="et_veinte.Text = c.GetString(\"VEINTE\")"; +__ref._et_veinte /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("VEINTE"))); +RDebugUtils.currentLine=25755661; + //BA.debugLineNum = 25755661;BA.debugLine="et_m_veinte.Text = d.GetString(\"VEINTE\")"; +__ref._et_m_veinte /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("VEINTE"))); +RDebugUtils.currentLine=25755662; + //BA.debugLineNum = 25755662;BA.debugLine="et_m_diez.Text = d.GetString(\"DIEZ\")"; +__ref._et_m_diez /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("DIEZ"))); +RDebugUtils.currentLine=25755663; + //BA.debugLineNum = 25755663;BA.debugLine="et_m_cinco.Text = d.GetString(\"CINCO\")"; +__ref._et_m_cinco /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CINCO"))); +RDebugUtils.currentLine=25755664; + //BA.debugLineNum = 25755664;BA.debugLine="et_m_dos.Text = d.GetString(\"DOS\")"; +__ref._et_m_dos /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("DOS"))); +RDebugUtils.currentLine=25755665; + //BA.debugLineNum = 25755665;BA.debugLine="et_m_peso.Text = d.GetString(\"PESO\")"; +__ref._et_m_peso /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PESO"))); +RDebugUtils.currentLine=25755666; + //BA.debugLineNum = 25755666;BA.debugLine="et_m_centavo.Text = d.GetString(\"CENTAVO\")"; +__ref._et_m_centavo /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CENTAVO"))); +RDebugUtils.currentLine=25755667; + //BA.debugLineNum = 25755667;BA.debugLine="l_total.Text = d.GetString(\"TOTAL\")"; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL"))); + }else +{RDebugUtils.currentLine=25755668; + //BA.debugLineNum = 25755668;BA.debugLine="else If c.RowCount = 0 And d.RowCount = 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()==0 && __ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()==0) { +RDebugUtils.currentLine=25755669; + //BA.debugLineNum = 25755669;BA.debugLine="Log(\"TABULADR SIN RESUKTADO\")"; +__c.LogImpl("825755669","TABULADR SIN RESUKTADO",0); +RDebugUtils.currentLine=25755670; + //BA.debugLineNum = 25755670;BA.debugLine="et_mil.Text = \"\""; +__ref._et_mil /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=25755671; + //BA.debugLineNum = 25755671;BA.debugLine="et_quinientos.Text = \"\""; +__ref._et_quinientos /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=25755672; + //BA.debugLineNum = 25755672;BA.debugLine="et_docientos.Text = \"\""; +__ref._et_docientos /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=25755673; + //BA.debugLineNum = 25755673;BA.debugLine="et_cien.Text = \"\""; +__ref._et_cien /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=25755674; + //BA.debugLineNum = 25755674;BA.debugLine="et_cincuenta.Text = \"\""; +__ref._et_cincuenta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=25755675; + //BA.debugLineNum = 25755675;BA.debugLine="et_veinte.Text = \"\""; +__ref._et_veinte /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=25755676; + //BA.debugLineNum = 25755676;BA.debugLine="et_m_veinte.Text = \"\""; +__ref._et_m_veinte /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=25755677; + //BA.debugLineNum = 25755677;BA.debugLine="et_m_diez.Text = \"\""; +__ref._et_m_diez /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=25755678; + //BA.debugLineNum = 25755678;BA.debugLine="et_m_cinco.Text = \"\""; +__ref._et_m_cinco /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=25755679; + //BA.debugLineNum = 25755679;BA.debugLine="et_m_dos.Text = \"\""; +__ref._et_m_dos /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=25755680; + //BA.debugLineNum = 25755680;BA.debugLine="et_m_peso.Text = \"\""; +__ref._et_m_peso /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=25755681; + //BA.debugLineNum = 25755681;BA.debugLine="et_m_centavo.Text = \"\""; +__ref._et_m_centavo /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=25755682; + //BA.debugLineNum = 25755682;BA.debugLine="l_total.Text = \"\""; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("")); + }} +; +RDebugUtils.currentLine=25755684; + //BA.debugLineNum = 25755684;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=25755685; + //BA.debugLineNum = 25755685;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=25755686; + //BA.debugLineNum = 25755686;BA.debugLine="End Sub"; +return ""; +} +public String _b4xpage_created(reparto_izca.keymon.lat.c_tabulador __ref,anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_tabulador"; +if (Debug.shouldDelegate(ba, "b4xpage_created", false)) + {return ((String) Debug.delegate(ba, "b4xpage_created", new Object[] {_root1}));} +RDebugUtils.currentLine=25690112; + //BA.debugLineNum = 25690112;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +RDebugUtils.currentLine=25690113; + //BA.debugLineNum = 25690113;BA.debugLine="Root = Root1"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _root1; +RDebugUtils.currentLine=25690115; + //BA.debugLineNum = 25690115;BA.debugLine="Root.LoadLayout(\"tabulador\")"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("tabulador",ba); +RDebugUtils.currentLine=25690116; + //BA.debugLineNum = 25690116;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(reparto_izca.keymon.lat.c_tabulador __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_tabulador"; +RDebugUtils.currentLine=25559040; + //BA.debugLineNum = 25559040;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=25559041; + //BA.debugLineNum = 25559041;BA.debugLine="Private Root As B4XView 'ignore"; +_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=25559042; + //BA.debugLineNum = 25559042;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=25559043; + //BA.debugLineNum = 25559043;BA.debugLine="Private et_mil As EditText"; +_et_mil = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=25559044; + //BA.debugLineNum = 25559044;BA.debugLine="Private et_quinientos As EditText"; +_et_quinientos = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=25559045; + //BA.debugLineNum = 25559045;BA.debugLine="Private et_docientos As EditText"; +_et_docientos = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=25559046; + //BA.debugLineNum = 25559046;BA.debugLine="Private et_cien As EditText"; +_et_cien = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=25559047; + //BA.debugLineNum = 25559047;BA.debugLine="Private et_cincuenta As EditText"; +_et_cincuenta = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=25559048; + //BA.debugLineNum = 25559048;BA.debugLine="Private et_veinte As EditText"; +_et_veinte = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=25559049; + //BA.debugLineNum = 25559049;BA.debugLine="Private et_m_veinte As EditText"; +_et_m_veinte = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=25559050; + //BA.debugLineNum = 25559050;BA.debugLine="Private et_m_diez As EditText"; +_et_m_diez = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=25559051; + //BA.debugLineNum = 25559051;BA.debugLine="Private et_m_cinco As EditText"; +_et_m_cinco = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=25559052; + //BA.debugLineNum = 25559052;BA.debugLine="Private et_m_dos As EditText"; +_et_m_dos = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=25559053; + //BA.debugLineNum = 25559053;BA.debugLine="Private et_m_peso As EditText"; +_et_m_peso = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=25559054; + //BA.debugLineNum = 25559054;BA.debugLine="Private et_m_centavo As EditText"; +_et_m_centavo = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=25559055; + //BA.debugLineNum = 25559055;BA.debugLine="Private b_calcular As Button"; +_b_calcular = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=25559056; + //BA.debugLineNum = 25559056;BA.debugLine="Private b_guardar As Button"; +_b_guardar = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=25559057; + //BA.debugLineNum = 25559057;BA.debugLine="Private l_total As Label"; +_l_total = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=25559058; + //BA.debugLineNum = 25559058;BA.debugLine="Dim sum_billetes As Int"; +_sum_billetes = 0; +RDebugUtils.currentLine=25559059; + //BA.debugLineNum = 25559059;BA.debugLine="Dim sum_monedas As Float"; +_sum_monedas = 0f; +RDebugUtils.currentLine=25559060; + //BA.debugLineNum = 25559060;BA.debugLine="Dim total As Float"; +_total = 0f; +RDebugUtils.currentLine=25559061; + //BA.debugLineNum = 25559061;BA.debugLine="Dim c As Cursor"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=25559062; + //BA.debugLineNum = 25559062;BA.debugLine="Dim d As Cursor"; +_d = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=25559063; + //BA.debugLineNum = 25559063;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/c_ticketsdia.java b/B4A/Objects/src/reparto_izca/keymon/lat/c_ticketsdia.java new file mode 100644 index 0000000..fc82b72 --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/c_ticketsdia.java @@ -0,0 +1,94 @@ +package reparto_izca.keymon.lat; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.B4AClass; +import anywheresoftware.b4a.BALayout; +import anywheresoftware.b4a.debug.*; + +public class c_ticketsdia 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, "reparto_izca.keymon.lat.c_ticketsdia"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", reparto_izca.keymon.lat.c_ticketsdia.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 b4a.example.dateutils _dateutils = null; +public reparto_izca.keymon.lat.main _main = null; +public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; +public reparto_izca.keymon.lat.foto _foto = null; +public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_izca.keymon.lat.starter _starter = null; +public reparto_izca.keymon.lat.tracker _tracker = null; +public reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public Object _initialize(reparto_izca.keymon.lat.c_ticketsdia __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="c_ticketsdia"; +if (Debug.shouldDelegate(ba, "initialize", false)) + {return ((Object) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=26017792; + //BA.debugLineNum = 26017792;BA.debugLine="Public Sub Initialize As Object"; +RDebugUtils.currentLine=26017793; + //BA.debugLineNum = 26017793;BA.debugLine="Return Me"; +if (true) return this; +RDebugUtils.currentLine=26017794; + //BA.debugLineNum = 26017794;BA.debugLine="End Sub"; +return null; +} +public String _b4xpage_created(reparto_izca.keymon.lat.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}));} +RDebugUtils.currentLine=26083328; + //BA.debugLineNum = 26083328;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +RDebugUtils.currentLine=26083329; + //BA.debugLineNum = 26083329;BA.debugLine="Root = Root1"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _root1; +RDebugUtils.currentLine=26083332; + //BA.debugLineNum = 26083332;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(reparto_izca.keymon.lat.c_ticketsdia __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_ticketsdia"; +RDebugUtils.currentLine=25952256; + //BA.debugLineNum = 25952256;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=25952257; + //BA.debugLineNum = 25952257;BA.debugLine="Private Root As B4XView 'ignore"; +_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=25952258; + //BA.debugLineNum = 25952258;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=25952259; + //BA.debugLineNum = 25952259;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/c_updateavailable.java b/B4A/Objects/src/reparto_izca/keymon/lat/c_updateavailable.java new file mode 100644 index 0000000..56650f0 --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/c_updateavailable.java @@ -0,0 +1,321 @@ +package reparto_izca.keymon.lat; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.B4AClass; +import anywheresoftware.b4a.BALayout; +import anywheresoftware.b4a.debug.*; + +public class c_updateavailable 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, "reparto_izca.keymon.lat.c_updateavailable"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", reparto_izca.keymon.lat.c_updateavailable.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 b4a.example.dateutils _dateutils = null; +public reparto_izca.keymon.lat.main _main = null; +public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; +public reparto_izca.keymon.lat.foto _foto = null; +public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_izca.keymon.lat.starter _starter = null; +public reparto_izca.keymon.lat.tracker _tracker = null; +public reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public Object _initialize(reparto_izca.keymon.lat.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=26214400; + //BA.debugLineNum = 26214400;BA.debugLine="Public Sub Initialize As Object"; +RDebugUtils.currentLine=26214401; + //BA.debugLineNum = 26214401;BA.debugLine="Return Me"; +if (true) return this; +RDebugUtils.currentLine=26214402; + //BA.debugLineNum = 26214402;BA.debugLine="End Sub"; +return null; +} +public void _b4xpage_appear(reparto_izca.keymon.lat.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(reparto_izca.keymon.lat.c_updateavailable parent,reparto_izca.keymon.lat.c_updateavailable __ref) { +this.parent = parent; +this.__ref = __ref; +this.__ref = parent; +} +reparto_izca.keymon.lat.c_updateavailable __ref; +reparto_izca.keymon.lat.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 { + + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +RDebugUtils.currentLine=26345473; + //BA.debugLineNum = 26345473;BA.debugLine="Try"; +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; +RDebugUtils.currentLine=26345474; + //BA.debugLineNum = 26345474;BA.debugLine="Do While Not(CanRequestPackageInstalls)"; +if (true) break; + +case 4: +//do while +this.state = 7; +while (parent.__c.Not(__ref._canrequestpackageinstalls /*boolean*/ (null))) { +this.state = 6; +if (true) break; +} +if (true) break; + +case 6: +//C +this.state = 4; +RDebugUtils.currentLine=26345475; + //BA.debugLineNum = 26345475;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); +RDebugUtils.currentLine=26345476; + //BA.debugLineNum = 26345476;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[1]; +; +RDebugUtils.currentLine=26345477; + //BA.debugLineNum = 26345477;BA.debugLine="Dim in As Intent"; +_in = new anywheresoftware.b4a.objects.IntentWrapper(); +RDebugUtils.currentLine=26345478; + //BA.debugLineNum = 26345478;BA.debugLine="in.Initialize(\"android.settings.MANAGE_UNKNOWN_"; +_in.Initialize("android.settings.MANAGE_UNKNOWN_APP_SOURCES","package:"+parent.__c.Application.getPackageName()); +RDebugUtils.currentLine=26345479; + //BA.debugLineNum = 26345479;BA.debugLine="StartActivity(in)"; +parent.__c.StartActivity(ba,(Object)(_in.getObject())); + if (true) break; + +case 7: +//C +this.state = 10; +; + if (true) break; + +case 9: +//C +this.state = 10; +this.catchState = 0; +RDebugUtils.currentLine=26345482; + //BA.debugLineNum = 26345482;BA.debugLine="Log(\"updateAvailable() Error - \" & LastException"; +parent.__c.LogImpl("826345482","updateAvailable() Error - "+parent.__c.LastException(ba).getMessage(),0); + if (true) break; +if (true) break; +; +RDebugUtils.currentLine=26345484; + //BA.debugLineNum = 26345484;BA.debugLine="If appUpdater.newApp.update Then"; + +case 10: +//if +this.state = 15; +this.catchState = 0; +if (parent._appupdater._newapp /*reparto_izca.keymon.lat.appupdater._mnewversion*/ .update /*boolean*/ ) { +this.state = 12; +}else { +this.state = 14; +}if (true) break; + +case 12: +//C +this.state = 15; +RDebugUtils.currentLine=26345485; + //BA.debugLineNum = 26345485;BA.debugLine="ofreceActualizacion"; +__ref._ofreceactualizacion /*String*/ (null); + if (true) break; + +case 14: +//C +this.state = 15; +RDebugUtils.currentLine=26345487; + //BA.debugLineNum = 26345487;BA.debugLine="sinActualizacion"; +__ref._sinactualizacion /*String*/ (null); + if (true) break; + +case 15: +//C +this.state = -1; +; +RDebugUtils.currentLine=26345489; + //BA.debugLineNum = 26345489;BA.debugLine="End Sub"; +if (true) break; +}} + catch (Exception e0) { + +if (catchState == 0) + throw e0; +else { + state = catchState; +ba.setLastException(e0);} + } + } + } +} +public boolean _canrequestpackageinstalls(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=26411008; + //BA.debugLineNum = 26411008;BA.debugLine="public Sub CanRequestPackageInstalls As Boolean"; +RDebugUtils.currentLine=26411010; + //BA.debugLineNum = 26411010;BA.debugLine="Dim ctxt As JavaObject"; +_ctxt = new anywheresoftware.b4j.object.JavaObject(); +RDebugUtils.currentLine=26411011; + //BA.debugLineNum = 26411011;BA.debugLine="ctxt.InitializeContext"; +_ctxt.InitializeContext(ba); +RDebugUtils.currentLine=26411012; + //BA.debugLineNum = 26411012;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)))); +RDebugUtils.currentLine=26411013; + //BA.debugLineNum = 26411013;BA.debugLine="Return PackageManager.RunMethod(\"canRequestPackag"; +if (true) return BA.ObjectToBoolean(_packagemanager.RunMethod("canRequestPackageInstalls",(Object[])(__c.Null))); +RDebugUtils.currentLine=26411014; + //BA.debugLineNum = 26411014;BA.debugLine="End Sub"; +return false; +} +public String _ofreceactualizacion(reparto_izca.keymon.lat.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=26476544; + //BA.debugLineNum = 26476544;BA.debugLine="Sub ofreceActualizacion"; +RDebugUtils.currentLine=26476545; + //BA.debugLineNum = 26476545;BA.debugLine="If Msgbox2(appUpdater.newApp.newMsg,\"Actualizació"; +if (__c.Msgbox2(BA.ObjectToCharSequence(_appupdater._newapp /*reparto_izca.keymon.lat.appupdater._mnewversion*/ .newMsg /*String*/ ),BA.ObjectToCharSequence("Actualización disponible"),"Si","","No",(android.graphics.Bitmap)(__c.Null),ba)==__c.DialogResponse.POSITIVE) { +RDebugUtils.currentLine=26476547; + //BA.debugLineNum = 26476547;BA.debugLine="CallSubDelayed(appUpdater, \"download_newApk\")"; +__c.CallSubDelayed(ba,(Object)(_appupdater.getObject()),"download_newApk"); + }; +RDebugUtils.currentLine=26476550; + //BA.debugLineNum = 26476550;BA.debugLine="B4XPages.MainPage.ocultaProgreso"; +_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._ocultaprogreso /*String*/ (null); +RDebugUtils.currentLine=26476551; + //BA.debugLineNum = 26476551;BA.debugLine="StartActivity(Main)"; +__c.StartActivity(ba,(Object)(_main.getObject())); +RDebugUtils.currentLine=26476553; + //BA.debugLineNum = 26476553;BA.debugLine="B4XPages.ShowPage(\"Login\")"; +_b4xpages._showpage /*String*/ (ba,"Login"); +RDebugUtils.currentLine=26476554; + //BA.debugLineNum = 26476554;BA.debugLine="End Sub"; +return ""; +} +public String _sinactualizacion(reparto_izca.keymon.lat.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=26542080; + //BA.debugLineNum = 26542080;BA.debugLine="Sub sinActualizacion"; +RDebugUtils.currentLine=26542081; + //BA.debugLineNum = 26542081;BA.debugLine="Msgbox(appUpdater.newApp.okMsg, \"Aplicación al co"; +__c.Msgbox(BA.ObjectToCharSequence(_appupdater._newapp /*reparto_izca.keymon.lat.appupdater._mnewversion*/ .okMsg /*String*/ ),BA.ObjectToCharSequence("Aplicación al corriente"),ba); +RDebugUtils.currentLine=26542083; + //BA.debugLineNum = 26542083;BA.debugLine="B4XPages.MainPage.ocultaProgreso"; +_b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (ba)._ocultaprogreso /*String*/ (null); +RDebugUtils.currentLine=26542084; + //BA.debugLineNum = 26542084;BA.debugLine="B4XPages.ShowPage(\"Login\")"; +_b4xpages._showpage /*String*/ (ba,"Login"); +RDebugUtils.currentLine=26542085; + //BA.debugLineNum = 26542085;BA.debugLine="End Sub"; +return ""; +} +public String _b4xpage_created(reparto_izca.keymon.lat.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=26279936; + //BA.debugLineNum = 26279936;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +RDebugUtils.currentLine=26279937; + //BA.debugLineNum = 26279937;BA.debugLine="Root = Root1"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _root1; +RDebugUtils.currentLine=26279939; + //BA.debugLineNum = 26279939;BA.debugLine="Root.Color = Colors.Transparent"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setColor(__c.Colors.Transparent); +RDebugUtils.currentLine=26279940; + //BA.debugLineNum = 26279940;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(reparto_izca.keymon.lat.c_updateavailable __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_updateavailable"; +RDebugUtils.currentLine=26148864; + //BA.debugLineNum = 26148864;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=26148865; + //BA.debugLineNum = 26148865;BA.debugLine="Private Root As B4XView 'ignore"; +_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=26148866; + //BA.debugLineNum = 26148866;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=26148867; + //BA.debugLineNum = 26148867;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/cameraexclass.java b/B4A/Objects/src/reparto_izca/keymon/lat/cameraexclass.java new file mode 100644 index 0000000..ad5dde8 --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/cameraexclass.java @@ -0,0 +1,982 @@ +package reparto_izca.keymon.lat; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.B4AClass; +import anywheresoftware.b4a.BALayout; +import anywheresoftware.b4a.debug.*; + +public class cameraexclass 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, "reparto_izca.keymon.lat.cameraexclass"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", reparto_izca.keymon.lat.cameraexclass.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 static class _camerainfoandid{ +public boolean IsInitialized; +public Object CameraInfo; +public int Id; +public void Initialize() { +IsInitialized = true; +CameraInfo = new Object(); +Id = 0; +} +@Override + public String toString() { + return BA.TypeToString(this, false); + }} +public static class _camerasize{ +public boolean IsInitialized; +public int Width; +public int Height; +public void Initialize() { +IsInitialized = true; +Width = 0; +Height = 0; +} +@Override + public String toString() { + return BA.TypeToString(this, 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 reparto_izca.keymon.lat.main _main = null; +public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; +public reparto_izca.keymon.lat.foto _foto = null; +public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_izca.keymon.lat.starter _starter = null; +public reparto_izca.keymon.lat.tracker _tracker = null; +public reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public String _takepicture(reparto_izca.keymon.lat.cameraexclass __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +if (Debug.shouldDelegate(ba, "takepicture", false)) + {return ((String) Debug.delegate(ba, "takepicture", null));} +RDebugUtils.currentLine=62652416; + //BA.debugLineNum = 62652416;BA.debugLine="Public Sub TakePicture"; +RDebugUtils.currentLine=62652417; + //BA.debugLineNum = 62652417;BA.debugLine="cam.TakePicture"; +__ref._cam /*anywheresoftware.b4a.objects.CameraW*/ .TakePicture(); +RDebugUtils.currentLine=62652418; + //BA.debugLineNum = 62652418;BA.debugLine="End Sub"; +return ""; +} +public String _savepicturetofile(reparto_izca.keymon.lat.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=62980096; + //BA.debugLineNum = 62980096;BA.debugLine="Public Sub SavePictureToFile(Data() As Byte, Dir A"; +RDebugUtils.currentLine=62980097; + //BA.debugLineNum = 62980097;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=62980098; + //BA.debugLineNum = 62980098;BA.debugLine="out.WriteBytes(Data, 0, Data.Length)"; +_out.WriteBytes(_data,(int) (0),_data.length); +RDebugUtils.currentLine=62980099; + //BA.debugLineNum = 62980099;BA.debugLine="out.Close"; +_out.Close(); +RDebugUtils.currentLine=62980100; + //BA.debugLineNum = 62980100;BA.debugLine="End Sub"; +return ""; +} +public String _startpreview(reparto_izca.keymon.lat.cameraexclass __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +if (Debug.shouldDelegate(ba, "startpreview", false)) + {return ((String) Debug.delegate(ba, "startpreview", null));} +RDebugUtils.currentLine=62783488; + //BA.debugLineNum = 62783488;BA.debugLine="Public Sub StartPreview"; +RDebugUtils.currentLine=62783489; + //BA.debugLineNum = 62783489;BA.debugLine="cam.StartPreview"; +__ref._cam /*anywheresoftware.b4a.objects.CameraW*/ .StartPreview(); +RDebugUtils.currentLine=62783490; + //BA.debugLineNum = 62783490;BA.debugLine="End Sub"; +return ""; +} +public String _setjpegquality(reparto_izca.keymon.lat.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=63504384; + //BA.debugLineNum = 63504384;BA.debugLine="Public Sub SetJpegQuality(Quality As Int)"; +RDebugUtils.currentLine=63504385; + //BA.debugLineNum = 63504385;BA.debugLine="r.target = parameters"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = __ref._parameters /*Object*/ ; +RDebugUtils.currentLine=63504386; + //BA.debugLineNum = 63504386;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=63504387; + //BA.debugLineNum = 63504387;BA.debugLine="End Sub"; +return ""; +} +public String _setcontinuousautofocus(reparto_izca.keymon.lat.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=64094208; + //BA.debugLineNum = 64094208;BA.debugLine="Public Sub SetContinuousAutoFocus"; +RDebugUtils.currentLine=64094209; + //BA.debugLineNum = 64094209;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=64094210; + //BA.debugLineNum = 64094210;BA.debugLine="If modes.IndexOf(\"continuous-picture\") > -1 Th"; +if (_modes.IndexOf((Object)("continuous-picture"))>-1) { +RDebugUtils.currentLine=64094211; + //BA.debugLineNum = 64094211;BA.debugLine="SetFocusMode(\"continuous-picture\")"; +__ref._setfocusmode /*String*/ (null,"continuous-picture"); + }else +{RDebugUtils.currentLine=64094212; + //BA.debugLineNum = 64094212;BA.debugLine="Else If modes.IndexOf(\"continuous-video\") > -1"; +if (_modes.IndexOf((Object)("continuous-video"))>-1) { +RDebugUtils.currentLine=64094213; + //BA.debugLineNum = 64094213;BA.debugLine="SetFocusMode(\"continuous-video\")"; +__ref._setfocusmode /*String*/ (null,"continuous-video"); + }else { +RDebugUtils.currentLine=64094215; + //BA.debugLineNum = 64094215;BA.debugLine="Log(\"Continuous focus mode is not availabl"; +__c.LogImpl("864094215","Continuous focus mode is not available",0); + }} +; +RDebugUtils.currentLine=64094217; + //BA.debugLineNum = 64094217;BA.debugLine="End Sub"; +return ""; +} +public String _commitparameters(reparto_izca.keymon.lat.cameraexclass __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +if (Debug.shouldDelegate(ba, "commitparameters", false)) + {return ((String) Debug.delegate(ba, "commitparameters", null));} +RDebugUtils.currentLine=63176704; + //BA.debugLineNum = 63176704;BA.debugLine="Public Sub CommitParameters"; +RDebugUtils.currentLine=63176705; + //BA.debugLineNum = 63176705;BA.debugLine="Try"; +try {RDebugUtils.currentLine=63176706; + //BA.debugLineNum = 63176706;BA.debugLine="r.target = nativeCam"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = __ref._nativecam /*Object*/ ; +RDebugUtils.currentLine=63176707; + //BA.debugLineNum = 63176707;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);RDebugUtils.currentLine=63176709; + //BA.debugLineNum = 63176709;BA.debugLine="ToastMessageShow(\"Error setting parameters.\", Tr"; +__c.ToastMessageShow(BA.ObjectToCharSequence("Error setting parameters."),__c.True); +RDebugUtils.currentLine=63176710; + //BA.debugLineNum = 63176710;BA.debugLine="Log(LastException)"; +__c.LogImpl("863176710",BA.ObjectToString(__c.LastException(ba)),0); + }; +RDebugUtils.currentLine=63176712; + //BA.debugLineNum = 63176712;BA.debugLine="End Sub"; +return ""; +} +public reparto_izca.keymon.lat.cameraexclass._camerasize _getpreviewsize(reparto_izca.keymon.lat.cameraexclass __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +if (Debug.shouldDelegate(ba, "getpreviewsize", false)) + {return ((reparto_izca.keymon.lat.cameraexclass._camerasize) Debug.delegate(ba, "getpreviewsize", null));} +reparto_izca.keymon.lat.cameraexclass._camerasize _cs = null; +RDebugUtils.currentLine=63832064; + //BA.debugLineNum = 63832064;BA.debugLine="Public Sub GetPreviewSize As CameraSize"; +RDebugUtils.currentLine=63832065; + //BA.debugLineNum = 63832065;BA.debugLine="r.target = parameters"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = __ref._parameters /*Object*/ ; +RDebugUtils.currentLine=63832066; + //BA.debugLineNum = 63832066;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=63832067; + //BA.debugLineNum = 63832067;BA.debugLine="Dim cs As CameraSize"; +_cs = new reparto_izca.keymon.lat.cameraexclass._camerasize(); +RDebugUtils.currentLine=63832068; + //BA.debugLineNum = 63832068;BA.debugLine="cs.Width = r.GetField(\"width\")"; +_cs.Width /*int*/ = (int)(BA.ObjectToNumber(__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .GetField("width"))); +RDebugUtils.currentLine=63832069; + //BA.debugLineNum = 63832069;BA.debugLine="cs.Height = r.GetField(\"height\")"; +_cs.Height /*int*/ = (int)(BA.ObjectToNumber(__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .GetField("height"))); +RDebugUtils.currentLine=63832070; + //BA.debugLineNum = 63832070;BA.debugLine="Return cs"; +if (true) return _cs; +RDebugUtils.currentLine=63832071; + //BA.debugLineNum = 63832071;BA.debugLine="End Sub"; +return null; +} +public String _initialize(reparto_izca.keymon.lat.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=62324736; + //BA.debugLineNum = 62324736;BA.debugLine="Public Sub Initialize (Panel1 As Panel, FrontCamer"; +RDebugUtils.currentLine=62324737; + //BA.debugLineNum = 62324737;BA.debugLine="target = TargetModule"; +__ref._target /*Object*/ = _targetmodule; +RDebugUtils.currentLine=62324738; + //BA.debugLineNum = 62324738;BA.debugLine="event = EventName"; +__ref._event /*String*/ = _eventname; +RDebugUtils.currentLine=62324739; + //BA.debugLineNum = 62324739;BA.debugLine="Front = FrontCamera"; +__ref._front /*boolean*/ = _frontcamera; +RDebugUtils.currentLine=62324740; + //BA.debugLineNum = 62324740;BA.debugLine="Dim id As Int"; +_id = 0; +RDebugUtils.currentLine=62324741; + //BA.debugLineNum = 62324741;BA.debugLine="id = FindCamera(Front).id"; +_id = __ref._findcamera /*reparto_izca.keymon.lat.cameraexclass._camerainfoandid*/ (null,__ref._front /*boolean*/ ).Id /*int*/ ; +RDebugUtils.currentLine=62324742; + //BA.debugLineNum = 62324742;BA.debugLine="If id = -1 Then"; +if (_id==-1) { +RDebugUtils.currentLine=62324743; + //BA.debugLineNum = 62324743;BA.debugLine="Front = Not(Front) 'try different camera"; +__ref._front /*boolean*/ = __c.Not(__ref._front /*boolean*/ ); +RDebugUtils.currentLine=62324744; + //BA.debugLineNum = 62324744;BA.debugLine="id = FindCamera(Front).id"; +_id = __ref._findcamera /*reparto_izca.keymon.lat.cameraexclass._camerainfoandid*/ (null,__ref._front /*boolean*/ ).Id /*int*/ ; +RDebugUtils.currentLine=62324745; + //BA.debugLineNum = 62324745;BA.debugLine="If id = -1 Then"; +if (_id==-1) { +RDebugUtils.currentLine=62324746; + //BA.debugLineNum = 62324746;BA.debugLine="ToastMessageShow(\"No camera found.\", True)"; +__c.ToastMessageShow(BA.ObjectToCharSequence("No camera found."),__c.True); +RDebugUtils.currentLine=62324747; + //BA.debugLineNum = 62324747;BA.debugLine="Return"; +if (true) return ""; + }; + }; +RDebugUtils.currentLine=62324750; + //BA.debugLineNum = 62324750;BA.debugLine="cam.Initialize2(Panel1, \"camera\", id)"; +__ref._cam /*anywheresoftware.b4a.objects.CameraW*/ .Initialize2(ba,(android.view.ViewGroup)(_panel1.getObject()),"camera",_id); +RDebugUtils.currentLine=62324751; + //BA.debugLineNum = 62324751;BA.debugLine="End Sub"; +return ""; +} +public String _release(reparto_izca.keymon.lat.cameraexclass __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +if (Debug.shouldDelegate(ba, "release", false)) + {return ((String) Debug.delegate(ba, "release", null));} +RDebugUtils.currentLine=62914560; + //BA.debugLineNum = 62914560;BA.debugLine="Public Sub Release"; +RDebugUtils.currentLine=62914561; + //BA.debugLineNum = 62914561;BA.debugLine="cam.Release"; +__ref._cam /*anywheresoftware.b4a.objects.CameraW*/ .Release(); +RDebugUtils.currentLine=62914562; + //BA.debugLineNum = 62914562;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.objects.collections.List _getsupportedcoloreffects(reparto_izca.keymon.lat.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=63766528; + //BA.debugLineNum = 63766528;BA.debugLine="Public Sub GetSupportedColorEffects As List"; +RDebugUtils.currentLine=63766529; + //BA.debugLineNum = 63766529;BA.debugLine="r.target = parameters"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = __ref._parameters /*Object*/ ; +RDebugUtils.currentLine=63766530; + //BA.debugLineNum = 63766530;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=63766531; + //BA.debugLineNum = 63766531;BA.debugLine="End Sub"; +return null; +} +public String _getcoloreffect(reparto_izca.keymon.lat.cameraexclass __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +if (Debug.shouldDelegate(ba, "getcoloreffect", false)) + {return ((String) Debug.delegate(ba, "getcoloreffect", null));} +RDebugUtils.currentLine=63242240; + //BA.debugLineNum = 63242240;BA.debugLine="Public Sub GetColorEffect As String"; +RDebugUtils.currentLine=63242241; + //BA.debugLineNum = 63242241;BA.debugLine="Return GetParameter(\"effect\")"; +if (true) return __ref._getparameter /*String*/ (null,"effect"); +RDebugUtils.currentLine=63242242; + //BA.debugLineNum = 63242242;BA.debugLine="End Sub"; +return ""; +} +public String _setcoloreffect(reparto_izca.keymon.lat.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=63307776; + //BA.debugLineNum = 63307776;BA.debugLine="Public Sub SetColorEffect(Effect As String)"; +RDebugUtils.currentLine=63307777; + //BA.debugLineNum = 63307777;BA.debugLine="SetParameter(\"effect\", Effect)"; +__ref._setparameter /*String*/ (null,"effect",_effect); +RDebugUtils.currentLine=63307778; + //BA.debugLineNum = 63307778;BA.debugLine="End Sub"; +return ""; +} +public float[] _getfocusdistances(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=64225280; + //BA.debugLineNum = 64225280;BA.debugLine="Public Sub GetFocusDistances As Float()"; +RDebugUtils.currentLine=64225281; + //BA.debugLineNum = 64225281;BA.debugLine="Dim F(3) As Float"; +_f = new float[(int) (3)]; +; +RDebugUtils.currentLine=64225282; + //BA.debugLineNum = 64225282;BA.debugLine="r.target = parameters"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = __ref._parameters /*Object*/ ; +RDebugUtils.currentLine=64225283; + //BA.debugLineNum = 64225283;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=64225284; + //BA.debugLineNum = 64225284;BA.debugLine="Return F"; +if (true) return _f; +RDebugUtils.currentLine=64225285; + //BA.debugLineNum = 64225285;BA.debugLine="End Sub"; +return null; +} +public anywheresoftware.b4a.objects.collections.List _getsupportedflashmodes(reparto_izca.keymon.lat.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=63700992; + //BA.debugLineNum = 63700992;BA.debugLine="Public Sub GetSupportedFlashModes As List"; +RDebugUtils.currentLine=63700993; + //BA.debugLineNum = 63700993;BA.debugLine="r.target = parameters"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = __ref._parameters /*Object*/ ; +RDebugUtils.currentLine=63700994; + //BA.debugLineNum = 63700994;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=63700995; + //BA.debugLineNum = 63700995;BA.debugLine="End Sub"; +return null; +} +public String _getflashmode(reparto_izca.keymon.lat.cameraexclass __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +if (Debug.shouldDelegate(ba, "getflashmode", false)) + {return ((String) Debug.delegate(ba, "getflashmode", null));} +RDebugUtils.currentLine=63635456; + //BA.debugLineNum = 63635456;BA.debugLine="Public Sub GetFlashMode As String"; +RDebugUtils.currentLine=63635457; + //BA.debugLineNum = 63635457;BA.debugLine="r.target = parameters"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = __ref._parameters /*Object*/ ; +RDebugUtils.currentLine=63635458; + //BA.debugLineNum = 63635458;BA.debugLine="Return r.RunMethod(\"getFlashMode\")"; +if (true) return BA.ObjectToString(__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .RunMethod("getFlashMode")); +RDebugUtils.currentLine=63635459; + //BA.debugLineNum = 63635459;BA.debugLine="End Sub"; +return ""; +} +public String _setflashmode(reparto_izca.keymon.lat.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=63569920; + //BA.debugLineNum = 63569920;BA.debugLine="Public Sub SetFlashMode(Mode As String)"; +RDebugUtils.currentLine=63569921; + //BA.debugLineNum = 63569921;BA.debugLine="r.target = parameters"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = __ref._parameters /*Object*/ ; +RDebugUtils.currentLine=63569922; + //BA.debugLineNum = 63569922;BA.debugLine="r.RunMethod2(\"setFlashMode\", Mode, \"java.lang.Str"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .RunMethod2("setFlashMode",_mode,"java.lang.String"); +RDebugUtils.currentLine=63569923; + //BA.debugLineNum = 63569923;BA.debugLine="End Sub"; +return ""; +} +public String _focusandtakepicture(reparto_izca.keymon.lat.cameraexclass __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +if (Debug.shouldDelegate(ba, "focusandtakepicture", false)) + {return ((String) Debug.delegate(ba, "focusandtakepicture", null));} +RDebugUtils.currentLine=64356352; + //BA.debugLineNum = 64356352;BA.debugLine="Public Sub FocusAndTakePicture"; +RDebugUtils.currentLine=64356353; + //BA.debugLineNum = 64356353;BA.debugLine="cam.AutoFocus"; +__ref._cam /*anywheresoftware.b4a.objects.CameraW*/ .AutoFocus(); +RDebugUtils.currentLine=64356354; + //BA.debugLineNum = 64356354;BA.debugLine="End Sub"; +return ""; +} +public reparto_izca.keymon.lat.cameraexclass._camerasize[] _getsupportedpicturessizes(reparto_izca.keymon.lat.cameraexclass __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +if (Debug.shouldDelegate(ba, "getsupportedpicturessizes", false)) + {return ((reparto_izca.keymon.lat.cameraexclass._camerasize[]) Debug.delegate(ba, "getsupportedpicturessizes", null));} +anywheresoftware.b4a.objects.collections.List _list1 = null; +reparto_izca.keymon.lat.cameraexclass._camerasize[] _cs = null; +int _i = 0; +RDebugUtils.currentLine=63373312; + //BA.debugLineNum = 63373312;BA.debugLine="Public Sub GetSupportedPicturesSizes As CameraSize"; +RDebugUtils.currentLine=63373313; + //BA.debugLineNum = 63373313;BA.debugLine="r.target = parameters"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = __ref._parameters /*Object*/ ; +RDebugUtils.currentLine=63373314; + //BA.debugLineNum = 63373314;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)(__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .RunMethod("getSupportedPictureSizes"))); +RDebugUtils.currentLine=63373315; + //BA.debugLineNum = 63373315;BA.debugLine="Dim cs(list1.Size) As CameraSize"; +_cs = new reparto_izca.keymon.lat.cameraexclass._camerasize[_list1.getSize()]; +{ +int d0 = _cs.length; +for (int i0 = 0;i0 < d0;i0++) { +_cs[i0] = new reparto_izca.keymon.lat.cameraexclass._camerasize(); +} +} +; +RDebugUtils.currentLine=63373316; + //BA.debugLineNum = 63373316;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 ) { +RDebugUtils.currentLine=63373317; + //BA.debugLineNum = 63373317;BA.debugLine="r.target = list1.Get(i)"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = _list1.Get(_i); +RDebugUtils.currentLine=63373318; + //BA.debugLineNum = 63373318;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=63373319; + //BA.debugLineNum = 63373319;BA.debugLine="cs(i).Height = r.GetField(\"height\")"; +_cs[_i].Height /*int*/ = (int)(BA.ObjectToNumber(__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .GetField("height"))); + } +}; +RDebugUtils.currentLine=63373321; + //BA.debugLineNum = 63373321;BA.debugLine="Return cs"; +if (true) return _cs; +RDebugUtils.currentLine=63373322; + //BA.debugLineNum = 63373322;BA.debugLine="End Sub"; +return null; +} +public reparto_izca.keymon.lat.cameraexclass._camerasize _getpicturesize(reparto_izca.keymon.lat.cameraexclass __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +if (Debug.shouldDelegate(ba, "getpicturesize", false)) + {return ((reparto_izca.keymon.lat.cameraexclass._camerasize) Debug.delegate(ba, "getpicturesize", null));} +reparto_izca.keymon.lat.cameraexclass._camerasize _cs = null; +RDebugUtils.currentLine=63897600; + //BA.debugLineNum = 63897600;BA.debugLine="Public Sub GetPictureSize As CameraSize"; +RDebugUtils.currentLine=63897601; + //BA.debugLineNum = 63897601;BA.debugLine="r.target = parameters"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = __ref._parameters /*Object*/ ; +RDebugUtils.currentLine=63897602; + //BA.debugLineNum = 63897602;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=63897603; + //BA.debugLineNum = 63897603;BA.debugLine="Dim cs As CameraSize"; +_cs = new reparto_izca.keymon.lat.cameraexclass._camerasize(); +RDebugUtils.currentLine=63897604; + //BA.debugLineNum = 63897604;BA.debugLine="cs.Width = r.GetField(\"width\")"; +_cs.Width /*int*/ = (int)(BA.ObjectToNumber(__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .GetField("width"))); +RDebugUtils.currentLine=63897605; + //BA.debugLineNum = 63897605;BA.debugLine="cs.Height = r.GetField(\"height\")"; +_cs.Height /*int*/ = (int)(BA.ObjectToNumber(__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .GetField("height"))); +RDebugUtils.currentLine=63897606; + //BA.debugLineNum = 63897606;BA.debugLine="Return cs"; +if (true) return _cs; +RDebugUtils.currentLine=63897607; + //BA.debugLineNum = 63897607;BA.debugLine="End Sub"; +return null; +} +public String _setpicturesize(reparto_izca.keymon.lat.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=63438848; + //BA.debugLineNum = 63438848;BA.debugLine="Public Sub SetPictureSize(Width As Int, Height As"; +RDebugUtils.currentLine=63438849; + //BA.debugLineNum = 63438849;BA.debugLine="r.target = parameters"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = __ref._parameters /*Object*/ ; +RDebugUtils.currentLine=63438850; + //BA.debugLineNum = 63438850;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=63438851; + //BA.debugLineNum = 63438851;BA.debugLine="End Sub"; +return ""; +} +public String _camera_focusdone(reparto_izca.keymon.lat.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=64421888; + //BA.debugLineNum = 64421888;BA.debugLine="Private Sub Camera_FocusDone (Success As Boolean)"; +RDebugUtils.currentLine=64421889; + //BA.debugLineNum = 64421889;BA.debugLine="If Success Then"; +if (_success) { +RDebugUtils.currentLine=64421890; + //BA.debugLineNum = 64421890;BA.debugLine="TakePicture"; +__ref._takepicture /*String*/ (null); + }else { +RDebugUtils.currentLine=64421892; + //BA.debugLineNum = 64421892;BA.debugLine="Log(\"AutoFocus error.\")"; +__c.LogImpl("864421892","AutoFocus error.",0); + }; +RDebugUtils.currentLine=64421894; + //BA.debugLineNum = 64421894;BA.debugLine="End Sub"; +return ""; +} +public String _camera_picturetaken(reparto_izca.keymon.lat.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=62717952; + //BA.debugLineNum = 62717952;BA.debugLine="Private Sub Camera_PictureTaken (Data() As Byte)"; +RDebugUtils.currentLine=62717953; + //BA.debugLineNum = 62717953;BA.debugLine="CallSub2(target, event & \"_PictureTaken\", Data)"; +__c.CallSubNew2(ba,__ref._target /*Object*/ ,__ref._event /*String*/ +"_PictureTaken",(Object)(_data)); +RDebugUtils.currentLine=62717954; + //BA.debugLineNum = 62717954;BA.debugLine="End Sub"; +return ""; +} +public String _camera_preview(reparto_izca.keymon.lat.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=62586880; + //BA.debugLineNum = 62586880;BA.debugLine="Sub Camera_Preview (Data() As Byte)"; +RDebugUtils.currentLine=62586881; + //BA.debugLineNum = 62586881;BA.debugLine="If SubExists(target, event & \"_preview\") Then"; +if (__c.SubExists(ba,__ref._target /*Object*/ ,__ref._event /*String*/ +"_preview")) { +RDebugUtils.currentLine=62586882; + //BA.debugLineNum = 62586882;BA.debugLine="CallSub2(target, event & \"_preview\", Data)"; +__c.CallSubNew2(ba,__ref._target /*Object*/ ,__ref._event /*String*/ +"_preview",(Object)(_data)); + }; +RDebugUtils.currentLine=62586884; + //BA.debugLineNum = 62586884;BA.debugLine="End Sub"; +return ""; +} +public String _camera_ready(reparto_izca.keymon.lat.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=62521344; + //BA.debugLineNum = 62521344;BA.debugLine="Private Sub Camera_Ready (Success As Boolean)"; +RDebugUtils.currentLine=62521345; + //BA.debugLineNum = 62521345;BA.debugLine="If Success Then"; +if (_success) { +RDebugUtils.currentLine=62521346; + //BA.debugLineNum = 62521346;BA.debugLine="r.target = cam"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = (Object)(__ref._cam /*anywheresoftware.b4a.objects.CameraW*/ ); +RDebugUtils.currentLine=62521347; + //BA.debugLineNum = 62521347;BA.debugLine="nativeCam = r.GetField(\"camera\")"; +__ref._nativecam /*Object*/ = __ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .GetField("camera"); +RDebugUtils.currentLine=62521348; + //BA.debugLineNum = 62521348;BA.debugLine="r.target = nativeCam"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = __ref._nativecam /*Object*/ ; +RDebugUtils.currentLine=62521349; + //BA.debugLineNum = 62521349;BA.debugLine="parameters = r.RunMethod(\"getParameters\")"; +__ref._parameters /*Object*/ = __ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .RunMethod("getParameters"); +RDebugUtils.currentLine=62521350; + //BA.debugLineNum = 62521350;BA.debugLine="SetDisplayOrientation"; +__ref._setdisplayorientation /*String*/ (null); + }else { +RDebugUtils.currentLine=62521352; + //BA.debugLineNum = 62521352;BA.debugLine="Log(\"success = false, \" & LastException)"; +__c.LogImpl("862521352","success = false, "+BA.ObjectToString(__c.LastException(ba)),0); + }; +RDebugUtils.currentLine=62521354; + //BA.debugLineNum = 62521354;BA.debugLine="CallSub2(target, event & \"_ready\", Success)"; +__c.CallSubNew2(ba,__ref._target /*Object*/ ,__ref._event /*String*/ +"_ready",(Object)(_success)); +RDebugUtils.currentLine=62521355; + //BA.debugLineNum = 62521355;BA.debugLine="End Sub"; +return ""; +} +public String _setdisplayorientation(reparto_izca.keymon.lat.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; +reparto_izca.keymon.lat.cameraexclass._camerainfoandid _ci = null; +int _orientation = 0; +RDebugUtils.currentLine=62455808; + //BA.debugLineNum = 62455808;BA.debugLine="Private Sub SetDisplayOrientation"; +RDebugUtils.currentLine=62455809; + //BA.debugLineNum = 62455809;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=62455810; + //BA.debugLineNum = 62455810;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=62455811; + //BA.debugLineNum = 62455811;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=62455812; + //BA.debugLineNum = 62455812;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=62455813; + //BA.debugLineNum = 62455813;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=62455814; + //BA.debugLineNum = 62455814;BA.debugLine="Dim ci As CameraInfoAndId = FindCamera(Front)"; +_ci = __ref._findcamera /*reparto_izca.keymon.lat.cameraexclass._camerainfoandid*/ (null,__ref._front /*boolean*/ ); +RDebugUtils.currentLine=62455815; + //BA.debugLineNum = 62455815;BA.debugLine="r.target = ci.CameraInfo"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = _ci.CameraInfo /*Object*/ ; +RDebugUtils.currentLine=62455816; + //BA.debugLineNum = 62455816;BA.debugLine="Dim orientation As Int = r.GetField(\"orientation\""; +_orientation = (int)(BA.ObjectToNumber(__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .GetField("orientation"))); +RDebugUtils.currentLine=62455817; + //BA.debugLineNum = 62455817;BA.debugLine="If Front Then"; +if (__ref._front /*boolean*/ ) { +RDebugUtils.currentLine=62455818; + //BA.debugLineNum = 62455818;BA.debugLine="previewResult = (orientation + degrees) Mod 360"; +_previewresult = (int) ((_orientation+_degrees)%360); +RDebugUtils.currentLine=62455819; + //BA.debugLineNum = 62455819;BA.debugLine="result = previewResult"; +_result = _previewresult; +RDebugUtils.currentLine=62455820; + //BA.debugLineNum = 62455820;BA.debugLine="previewResult = (360 - previewResult) Mod 360"; +_previewresult = (int) ((360-_previewresult)%360); + }else { +RDebugUtils.currentLine=62455822; + //BA.debugLineNum = 62455822;BA.debugLine="previewResult = (orientation - degrees + 360) Mo"; +_previewresult = (int) ((_orientation-_degrees+360)%360); +RDebugUtils.currentLine=62455823; + //BA.debugLineNum = 62455823;BA.debugLine="result = previewResult"; +_result = _previewresult; +RDebugUtils.currentLine=62455824; + //BA.debugLineNum = 62455824;BA.debugLine="Log(previewResult)"; +__c.LogImpl("862455824",BA.NumberToString(_previewresult),0); + }; +RDebugUtils.currentLine=62455826; + //BA.debugLineNum = 62455826;BA.debugLine="r.target = nativeCam"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = __ref._nativecam /*Object*/ ; +RDebugUtils.currentLine=62455827; + //BA.debugLineNum = 62455827;BA.debugLine="r.RunMethod2(\"setDisplayOrientation\", previewResu"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .RunMethod2("setDisplayOrientation",BA.NumberToString(_previewresult),"java.lang.int"); +RDebugUtils.currentLine=62455828; + //BA.debugLineNum = 62455828;BA.debugLine="r.target = parameters"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = __ref._parameters /*Object*/ ; +RDebugUtils.currentLine=62455829; + //BA.debugLineNum = 62455829;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=62455830; + //BA.debugLineNum = 62455830;BA.debugLine="CommitParameters"; +__ref._commitparameters /*String*/ (null); +RDebugUtils.currentLine=62455831; + //BA.debugLineNum = 62455831;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(reparto_izca.keymon.lat.cameraexclass __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +RDebugUtils.currentLine=62259200; + //BA.debugLineNum = 62259200;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=62259201; + //BA.debugLineNum = 62259201;BA.debugLine="Private nativeCam As Object"; +_nativecam = new Object(); +RDebugUtils.currentLine=62259202; + //BA.debugLineNum = 62259202;BA.debugLine="Private cam As Camera"; +_cam = new anywheresoftware.b4a.objects.CameraW(); +RDebugUtils.currentLine=62259203; + //BA.debugLineNum = 62259203;BA.debugLine="Private r As Reflector"; +_r = new anywheresoftware.b4a.agraham.reflection.Reflection(); +RDebugUtils.currentLine=62259204; + //BA.debugLineNum = 62259204;BA.debugLine="Private target As Object"; +_target = new Object(); +RDebugUtils.currentLine=62259205; + //BA.debugLineNum = 62259205;BA.debugLine="Private event As String"; +_event = ""; +RDebugUtils.currentLine=62259206; + //BA.debugLineNum = 62259206;BA.debugLine="Public Front As Boolean"; +_front = false; +RDebugUtils.currentLine=62259207; + //BA.debugLineNum = 62259207;BA.debugLine="Type CameraInfoAndId (CameraInfo As Object, Id As"; +; +RDebugUtils.currentLine=62259208; + //BA.debugLineNum = 62259208;BA.debugLine="Type CameraSize (Width As Int, Height As Int)"; +; +RDebugUtils.currentLine=62259209; + //BA.debugLineNum = 62259209;BA.debugLine="Private parameters As Object"; +_parameters = new Object(); +RDebugUtils.currentLine=62259210; + //BA.debugLineNum = 62259210;BA.debugLine="End Sub"; +return ""; +} +public String _closenow(reparto_izca.keymon.lat.cameraexclass __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +if (Debug.shouldDelegate(ba, "closenow", false)) + {return ((String) Debug.delegate(ba, "closenow", null));} +RDebugUtils.currentLine=64290816; + //BA.debugLineNum = 64290816;BA.debugLine="Public Sub CloseNow"; +RDebugUtils.currentLine=64290817; + //BA.debugLineNum = 64290817;BA.debugLine="cam.Release"; +__ref._cam /*anywheresoftware.b4a.objects.CameraW*/ .Release(); +RDebugUtils.currentLine=64290818; + //BA.debugLineNum = 64290818;BA.debugLine="r.target = cam"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = (Object)(__ref._cam /*anywheresoftware.b4a.objects.CameraW*/ ); +RDebugUtils.currentLine=64290819; + //BA.debugLineNum = 64290819;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=64290820; + //BA.debugLineNum = 64290820;BA.debugLine="End Sub"; +return ""; +} +public reparto_izca.keymon.lat.cameraexclass._camerainfoandid _findcamera(reparto_izca.keymon.lat.cameraexclass __ref,boolean _frontcamera) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +if (Debug.shouldDelegate(ba, "findcamera", false)) + {return ((reparto_izca.keymon.lat.cameraexclass._camerainfoandid) Debug.delegate(ba, "findcamera", new Object[] {_frontcamera}));} +reparto_izca.keymon.lat.cameraexclass._camerainfoandid _ci = null; +Object _camerainfo = null; +int _cameravalue = 0; +int _numberofcameras = 0; +int _i = 0; +RDebugUtils.currentLine=62390272; + //BA.debugLineNum = 62390272;BA.debugLine="Private Sub FindCamera (frontCamera As Boolean) As"; +RDebugUtils.currentLine=62390273; + //BA.debugLineNum = 62390273;BA.debugLine="Dim ci As CameraInfoAndId"; +_ci = new reparto_izca.keymon.lat.cameraexclass._camerainfoandid(); +RDebugUtils.currentLine=62390274; + //BA.debugLineNum = 62390274;BA.debugLine="Dim cameraInfo As Object"; +_camerainfo = new Object(); +RDebugUtils.currentLine=62390275; + //BA.debugLineNum = 62390275;BA.debugLine="Dim cameraValue As Int"; +_cameravalue = 0; +RDebugUtils.currentLine=62390276; + //BA.debugLineNum = 62390276;BA.debugLine="If frontCamera Then cameraValue = 1 Else cameraVa"; +if (_frontcamera) { +_cameravalue = (int) (1);} +else { +_cameravalue = (int) (0);}; +RDebugUtils.currentLine=62390277; + //BA.debugLineNum = 62390277;BA.debugLine="cameraInfo = r.CreateObject(\"android.hardware.Cam"; +_camerainfo = __ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .CreateObject("android.hardware.Camera$CameraInfo"); +RDebugUtils.currentLine=62390278; + //BA.debugLineNum = 62390278;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=62390279; + //BA.debugLineNum = 62390279;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 ) { +RDebugUtils.currentLine=62390280; + //BA.debugLineNum = 62390280;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=62390282; + //BA.debugLineNum = 62390282;BA.debugLine="r.target = cameraInfo"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = _camerainfo; +RDebugUtils.currentLine=62390283; + //BA.debugLineNum = 62390283;BA.debugLine="If r.GetField(\"facing\") = cameraValue Then"; +if ((__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .GetField("facing")).equals((Object)(_cameravalue))) { +RDebugUtils.currentLine=62390284; + //BA.debugLineNum = 62390284;BA.debugLine="ci.cameraInfo = r.target"; +_ci.CameraInfo /*Object*/ = __ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target; +RDebugUtils.currentLine=62390285; + //BA.debugLineNum = 62390285;BA.debugLine="ci.Id = i"; +_ci.Id /*int*/ = _i; +RDebugUtils.currentLine=62390286; + //BA.debugLineNum = 62390286;BA.debugLine="Return ci"; +if (true) return _ci; + }; + } +}; +RDebugUtils.currentLine=62390289; + //BA.debugLineNum = 62390289;BA.debugLine="ci.id = -1"; +_ci.Id /*int*/ = (int) (-1); +RDebugUtils.currentLine=62390290; + //BA.debugLineNum = 62390290;BA.debugLine="Return ci"; +if (true) return _ci; +RDebugUtils.currentLine=62390291; + //BA.debugLineNum = 62390291;BA.debugLine="End Sub"; +return null; +} +public String _getparameter(reparto_izca.keymon.lat.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=63111168; + //BA.debugLineNum = 63111168;BA.debugLine="Public Sub GetParameter(Key As String) As String"; +RDebugUtils.currentLine=63111169; + //BA.debugLineNum = 63111169;BA.debugLine="r.target = parameters"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = __ref._parameters /*Object*/ ; +RDebugUtils.currentLine=63111170; + //BA.debugLineNum = 63111170;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=63111171; + //BA.debugLineNum = 63111171;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.objects.collections.List _getsupportedfocusmodes(reparto_izca.keymon.lat.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=64028672; + //BA.debugLineNum = 64028672;BA.debugLine="Public Sub GetSupportedFocusModes As List"; +RDebugUtils.currentLine=64028673; + //BA.debugLineNum = 64028673;BA.debugLine="r.target = parameters"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = __ref._parameters /*Object*/ ; +RDebugUtils.currentLine=64028674; + //BA.debugLineNum = 64028674;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=64028675; + //BA.debugLineNum = 64028675;BA.debugLine="End Sub"; +return null; +} +public byte[] _previewimagetojpeg(reparto_izca.keymon.lat.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; +int _height = 0; +Object _yuvimage = null; +anywheresoftware.b4a.objects.drawable.CanvasWrapper.RectWrapper _rect1 = null; +anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out = null; +RDebugUtils.currentLine=63963136; + //BA.debugLineNum = 63963136;BA.debugLine="Public Sub PreviewImageToJpeg(data() As Byte, qual"; +RDebugUtils.currentLine=63963137; + //BA.debugLineNum = 63963137;BA.debugLine="Dim size, previewFormat As Object"; +_size = new Object(); +_previewformat = new Object(); +RDebugUtils.currentLine=63963138; + //BA.debugLineNum = 63963138;BA.debugLine="r.target = parameters"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = __ref._parameters /*Object*/ ; +RDebugUtils.currentLine=63963139; + //BA.debugLineNum = 63963139;BA.debugLine="size = r.RunMethod(\"getPreviewSize\")"; +_size = __ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .RunMethod("getPreviewSize"); +RDebugUtils.currentLine=63963140; + //BA.debugLineNum = 63963140;BA.debugLine="previewFormat = r.RunMethod(\"getPreviewFormat\")"; +_previewformat = __ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .RunMethod("getPreviewFormat"); +RDebugUtils.currentLine=63963141; + //BA.debugLineNum = 63963141;BA.debugLine="r.target = size"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = _size; +RDebugUtils.currentLine=63963142; + //BA.debugLineNum = 63963142;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=63963143; + //BA.debugLineNum = 63963143;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=63963146; + //BA.debugLineNum = 63963146;BA.debugLine="r.target = yuvImage"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = _yuvimage; +RDebugUtils.currentLine=63963147; + //BA.debugLineNum = 63963147;BA.debugLine="Dim rect1 As Rect"; +_rect1 = new anywheresoftware.b4a.objects.drawable.CanvasWrapper.RectWrapper(); +RDebugUtils.currentLine=63963148; + //BA.debugLineNum = 63963148;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=63963149; + //BA.debugLineNum = 63963149;BA.debugLine="Dim out As OutputStream"; +_out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); +RDebugUtils.currentLine=63963150; + //BA.debugLineNum = 63963150;BA.debugLine="out.InitializeToBytesArray(100)"; +_out.InitializeToBytesArray((int) (100)); +RDebugUtils.currentLine=63963151; + //BA.debugLineNum = 63963151;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=63963153; + //BA.debugLineNum = 63963153;BA.debugLine="Return out.ToBytesArray"; +if (true) return _out.ToBytesArray(); +RDebugUtils.currentLine=63963154; + //BA.debugLineNum = 63963154;BA.debugLine="End Sub"; +return null; +} +public String _setparameter(reparto_izca.keymon.lat.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=63045632; + //BA.debugLineNum = 63045632;BA.debugLine="Public Sub SetParameter(Key As String, Value As St"; +RDebugUtils.currentLine=63045633; + //BA.debugLineNum = 63045633;BA.debugLine="r.target = parameters"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = __ref._parameters /*Object*/ ; +RDebugUtils.currentLine=63045634; + //BA.debugLineNum = 63045634;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=63045635; + //BA.debugLineNum = 63045635;BA.debugLine="End Sub"; +return ""; +} +public String _setfocusmode(reparto_izca.keymon.lat.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=64159744; + //BA.debugLineNum = 64159744;BA.debugLine="Public Sub SetFocusMode(Mode As String)"; +RDebugUtils.currentLine=64159745; + //BA.debugLineNum = 64159745;BA.debugLine="r.target = parameters"; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .Target = __ref._parameters /*Object*/ ; +RDebugUtils.currentLine=64159746; + //BA.debugLineNum = 64159746;BA.debugLine="r.RunMethod2(\"setFocusMode\", Mode, \"java.lang."; +__ref._r /*anywheresoftware.b4a.agraham.reflection.Reflection*/ .RunMethod2("setFocusMode",_mode,"java.lang.String"); +RDebugUtils.currentLine=64159747; + //BA.debugLineNum = 64159747;BA.debugLine="End Sub"; +return ""; +} +public String _stoppreview(reparto_izca.keymon.lat.cameraexclass __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cameraexclass"; +if (Debug.shouldDelegate(ba, "stoppreview", false)) + {return ((String) Debug.delegate(ba, "stoppreview", null));} +RDebugUtils.currentLine=62849024; + //BA.debugLineNum = 62849024;BA.debugLine="Public Sub StopPreview"; +RDebugUtils.currentLine=62849025; + //BA.debugLineNum = 62849025;BA.debugLine="cam.StopPreview"; +__ref._cam /*anywheresoftware.b4a.objects.CameraW*/ .StopPreview(); +RDebugUtils.currentLine=62849026; + //BA.debugLineNum = 62849026;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/cl_appupdate.java b/B4A/Objects/src/reparto_izca/keymon/lat/cl_appupdate.java new file mode 100644 index 0000000..8209842 --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/cl_appupdate.java @@ -0,0 +1,2313 @@ +package reparto_izca.keymon.lat; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.B4AClass; +import anywheresoftware.b4a.BALayout; +import anywheresoftware.b4a.debug.*; + +public class cl_appupdate 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, "reparto_izca.keymon.lat.cl_appupdate"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", reparto_izca.keymon.lat.cl_appupdate.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 int _err_nopkg = 0; +public int _err_notxt = 0; +public int _err_noapk = 0; +public int _err_txtrow = 0; +public int _err_html = 0; +public int _err_nospace = 0; +public int _err_noperm = 0; +public int _err_download = 0; +public int _err_http = 0; +public int _ok_init = 0; +public int _ok_curver = 0; +public int _ok_webver = 0; +public int _no_newerapk = 0; +public int _ok_newerapk = 0; +public int _ok_download = 0; +public int _ok_install = 0; +public Object _callback = null; +public String _event = ""; +public String _spackagename = ""; +public String _snewvertxt = ""; +public String _snewverapk = ""; +public int _sstatuscode = 0; +public String _susername = ""; +public String _supassword = ""; +public String _curver = ""; +public String _webver = ""; +public String _webclog = ""; +public String _webfsize = ""; +public boolean _sverbose = false; +public anywheresoftware.b4a.objects.PanelWrapper _pnlsplash = null; +public boolean _splashshowing = false; +public anywheresoftware.b4a.phone.Phone _phone = null; +public anywheresoftware.b4a.objects.RuntimePermissions _rp = null; +public String _sharedfolder = ""; +public boolean _usefileprovider = false; +public int _logcolor1 = 0; +public b4a.example.dateutils _dateutils = null; +public reparto_izca.keymon.lat.main _main = null; +public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; +public reparto_izca.keymon.lat.foto _foto = null; +public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_izca.keymon.lat.starter _starter = null; +public reparto_izca.keymon.lat.tracker _tracker = null; +public reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public boolean _canrequestpackageinstalls(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=28508160; + //BA.debugLineNum = 28508160;BA.debugLine="Public Sub CanRequestPackageInstalls As Boolean"; +RDebugUtils.currentLine=28508161; + //BA.debugLineNum = 28508161;BA.debugLine="Dim ctxt As JavaObject"; +_ctxt = new anywheresoftware.b4j.object.JavaObject(); +RDebugUtils.currentLine=28508162; + //BA.debugLineNum = 28508162;BA.debugLine="ctxt.InitializeContext"; +_ctxt.InitializeContext(ba); +RDebugUtils.currentLine=28508163; + //BA.debugLineNum = 28508163;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)))); +RDebugUtils.currentLine=28508164; + //BA.debugLineNum = 28508164;BA.debugLine="Return PackageManager.RunMethod(\"canRequestPackag"; +if (true) return BA.ObjectToBoolean(_packagemanager.RunMethod("canRequestPackageInstalls",(Object[])(__c.Null))); +RDebugUtils.currentLine=28508165; + //BA.debugLineNum = 28508165;BA.debugLine="End Sub"; +return false; +} +public boolean _checknonmarketappsenabled(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=28573696; + //BA.debugLineNum = 28573696;BA.debugLine="Public Sub CheckNonMarketAppsEnabled As Boolean"; +RDebugUtils.currentLine=28573697; + //BA.debugLineNum = 28573697;BA.debugLine="If phone.SdkVersion >= 26 Then Return True"; +if (__ref._phone /*anywheresoftware.b4a.phone.Phone*/ .getSdkVersion()>=26) { +if (true) return __c.True;}; +RDebugUtils.currentLine=28573698; + //BA.debugLineNum = 28573698;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=28573699; + //BA.debugLineNum = 28573699;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 { +RDebugUtils.currentLine=28573701; + //BA.debugLineNum = 28573701;BA.debugLine="Dim context As JavaObject"; +_context = new anywheresoftware.b4j.object.JavaObject(); +RDebugUtils.currentLine=28573702; + //BA.debugLineNum = 28573702;BA.debugLine="context.InitializeContext"; +_context.InitializeContext(ba); +RDebugUtils.currentLine=28573703; + //BA.debugLineNum = 28573703;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)))); +RDebugUtils.currentLine=28573704; + //BA.debugLineNum = 28573704;BA.debugLine="Dim global As JavaObject"; +_global = new anywheresoftware.b4j.object.JavaObject(); +RDebugUtils.currentLine=28573705; + //BA.debugLineNum = 28573705;BA.debugLine="global.InitializeStatic(\"android.provider.Settin"; +_global.InitializeStatic("android.provider.Settings.Global"); +RDebugUtils.currentLine=28573706; + //BA.debugLineNum = 28573706;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")); + }; +RDebugUtils.currentLine=28573708; + //BA.debugLineNum = 28573708;BA.debugLine="End Sub"; +return false; +} +public String _class_globals(reparto_izca.keymon.lat.cl_appupdate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +RDebugUtils.currentLine=26607616; + //BA.debugLineNum = 26607616;BA.debugLine="Private Sub Class_Globals"; +RDebugUtils.currentLine=26607618; + //BA.debugLineNum = 26607618;BA.debugLine="Public ERR_NOPKG = -1 As Int 'missing package"; +_err_nopkg = (int) (-1); +RDebugUtils.currentLine=26607619; + //BA.debugLineNum = 26607619;BA.debugLine="Public ERR_NOTXT = -2 As Int 'missing webserve"; +_err_notxt = (int) (-2); +RDebugUtils.currentLine=26607620; + //BA.debugLineNum = 26607620;BA.debugLine="Public ERR_NOAPK = -3 As Int 'missing webserve"; +_err_noapk = (int) (-3); +RDebugUtils.currentLine=26607621; + //BA.debugLineNum = 26607621;BA.debugLine="Public ERR_TXTROW = -4 As Int 'wrong row forma"; +_err_txtrow = (int) (-4); +RDebugUtils.currentLine=26607622; + //BA.debugLineNum = 26607622;BA.debugLine="Public ERR_HTML = -5 As Int 'website returned"; +_err_html = (int) (-5); +RDebugUtils.currentLine=26607623; + //BA.debugLineNum = 26607623;BA.debugLine="Public ERR_NOSPACE = -6 As Int 'no enough spac"; +_err_nospace = (int) (-6); +RDebugUtils.currentLine=26607624; + //BA.debugLineNum = 26607624;BA.debugLine="Public ERR_NOPERM = -7 As Int 'no permissions"; +_err_noperm = (int) (-7); +RDebugUtils.currentLine=26607625; + //BA.debugLineNum = 26607625;BA.debugLine="Public ERR_DOWNLOAD = -8 As Int 'failed to dow"; +_err_download = (int) (-8); +RDebugUtils.currentLine=26607626; + //BA.debugLineNum = 26607626;BA.debugLine="Public ERR_HTTP = -100 As Int 'HttpUtils error"; +_err_http = (int) (-100); +RDebugUtils.currentLine=26607627; + //BA.debugLineNum = 26607627;BA.debugLine="Public OK_INIT = 0 As Int"; +_ok_init = (int) (0); +RDebugUtils.currentLine=26607628; + //BA.debugLineNum = 26607628;BA.debugLine="Public OK_CURVER = 1 As Int 'curver has valid"; +_ok_curver = (int) (1); +RDebugUtils.currentLine=26607629; + //BA.debugLineNum = 26607629;BA.debugLine="Public OK_WEBVER = 2 As Int"; +_ok_webver = (int) (2); +RDebugUtils.currentLine=26607630; + //BA.debugLineNum = 26607630;BA.debugLine="Public NO_NEWERAPK = 3 As Int 'apk version on"; +_no_newerapk = (int) (3); +RDebugUtils.currentLine=26607631; + //BA.debugLineNum = 26607631;BA.debugLine="Public OK_NEWERAPK = 4 As Int 'current apk has"; +_ok_newerapk = (int) (4); +RDebugUtils.currentLine=26607632; + //BA.debugLineNum = 26607632;BA.debugLine="Public OK_DOWNLOAD = 5 As Int 'newer apk corre"; +_ok_download = (int) (5); +RDebugUtils.currentLine=26607633; + //BA.debugLineNum = 26607633;BA.debugLine="Public OK_INSTALL = 6 As Int 'user asked to in"; +_ok_install = (int) (6); +RDebugUtils.currentLine=26607636; + //BA.debugLineNum = 26607636;BA.debugLine="Private Callback As Object"; +_callback = new Object(); +RDebugUtils.currentLine=26607637; + //BA.debugLineNum = 26607637;BA.debugLine="Private Event As String"; +_event = ""; +RDebugUtils.currentLine=26607638; + //BA.debugLineNum = 26607638;BA.debugLine="Private sPackageName As String 'ex: com.te"; +_spackagename = ""; +RDebugUtils.currentLine=26607639; + //BA.debugLineNum = 26607639;BA.debugLine="Private sNewVerTxt As String 'ex: http:/"; +_snewvertxt = ""; +RDebugUtils.currentLine=26607640; + //BA.debugLineNum = 26607640;BA.debugLine="Private sNewVerApk As String 'ex: http:/"; +_snewverapk = ""; +RDebugUtils.currentLine=26607641; + //BA.debugLineNum = 26607641;BA.debugLine="Private sStatusCode As Int 'negatives"; +_sstatuscode = 0; +RDebugUtils.currentLine=26607642; + //BA.debugLineNum = 26607642;BA.debugLine="Private sUserName As String 'user name"; +_susername = ""; +RDebugUtils.currentLine=26607643; + //BA.debugLineNum = 26607643;BA.debugLine="Private sUPassword As String 'password r"; +_supassword = ""; +RDebugUtils.currentLine=26607644; + //BA.debugLineNum = 26607644;BA.debugLine="Private curver, webver As String 'curver = c"; +_curver = ""; +_webver = ""; +RDebugUtils.currentLine=26607645; + //BA.debugLineNum = 26607645;BA.debugLine="Private webclog As String 'webclog = optional"; +_webclog = ""; +RDebugUtils.currentLine=26607646; + //BA.debugLineNum = 26607646;BA.debugLine="Private webfsize As String 'webfsize = option"; +_webfsize = ""; +RDebugUtils.currentLine=26607647; + //BA.debugLineNum = 26607647;BA.debugLine="Private sVerbose As Boolean 'TRUE = a lot of"; +_sverbose = false; +RDebugUtils.currentLine=26607648; + //BA.debugLineNum = 26607648;BA.debugLine="Private pnlSplash As Panel 'panel used to sup"; +_pnlsplash = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=26607649; + //BA.debugLineNum = 26607649;BA.debugLine="Private SplashShowing As Boolean 'True = splash"; +_splashshowing = false; +RDebugUtils.currentLine=26607650; + //BA.debugLineNum = 26607650;BA.debugLine="Private phone As Phone"; +_phone = new anywheresoftware.b4a.phone.Phone(); +RDebugUtils.currentLine=26607651; + //BA.debugLineNum = 26607651;BA.debugLine="Private rp As RuntimePermissions"; +_rp = new anywheresoftware.b4a.objects.RuntimePermissions(); +RDebugUtils.currentLine=26607652; + //BA.debugLineNum = 26607652;BA.debugLine="Private SharedFolder As String 'Foder where to"; +_sharedfolder = ""; +RDebugUtils.currentLine=26607653; + //BA.debugLineNum = 26607653;BA.debugLine="Private UseFileProvider As Boolean 'TRUE = SDK"; +_usefileprovider = false; +RDebugUtils.currentLine=26607654; + //BA.debugLineNum = 26607654;BA.debugLine="Private LogColor1 As Int = 0xFFFF8C00 'first col"; +_logcolor1 = ((int)0xffff8c00); +RDebugUtils.currentLine=26607655; + //BA.debugLineNum = 26607655;BA.debugLine="End Sub"; +return ""; +} +public void _downloadapk(reparto_izca.keymon.lat.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(reparto_izca.keymon.lat.cl_appupdate parent,reparto_izca.keymon.lat.cl_appupdate __ref) { +this.parent = parent; +this.__ref = __ref; +this.__ref = parent; +} +reparto_izca.keymon.lat.cl_appupdate __ref; +reparto_izca.keymon.lat.cl_appupdate parent; +reparto_izca.keymon.lat.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) { + case -1: +return; + +case 0: +//C +this.state = 1; +RDebugUtils.currentLine=27656193; + //BA.debugLineNum = 27656193;BA.debugLine="LogColor(\"---- AppUpdating.DownloadApk\", LogColor"; +parent.__c.LogImpl("927656193","---- AppUpdating.DownloadApk",__ref._logcolor1 /*int*/ ); +RDebugUtils.currentLine=27656195; + //BA.debugLineNum = 27656195;BA.debugLine="If sNewVerApk = \"\" Then"; +if (true) break; + +case 1: +//if +this.state = 10; +if ((__ref._snewverapk /*String*/ ).equals("")) { +this.state = 3; +}if (true) break; + +case 3: +//C +this.state = 4; +RDebugUtils.currentLine=27656196; + //BA.debugLineNum = 27656196;BA.debugLine="sStatusCode = ERR_NOAPK"; +__ref._sstatuscode /*int*/ = __ref._err_noapk /*int*/ ; +RDebugUtils.currentLine=27656197; + //BA.debugLineNum = 27656197;BA.debugLine="If sVerbose Then Log($\"${TAB}missing apk file fu"; +if (true) break; + +case 4: +//if +this.state = 9; +if (__ref._sverbose /*boolean*/ ) { +this.state = 6; +;}if (true) break; + +case 6: +//C +this.state = 9; +parent.__c.LogImpl("927656197",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"missing apk file full path indication"),0); +if (true) break; + +case 9: +//C +this.state = 10; +; +RDebugUtils.currentLine=27656198; + //BA.debugLineNum = 27656198;BA.debugLine="Finito"; +__ref._finito /*String*/ (null); +RDebugUtils.currentLine=27656199; + //BA.debugLineNum = 27656199;BA.debugLine="Return"; +if (true) return ; + if (true) break; + +case 10: +//C +this.state = 11; +; +RDebugUtils.currentLine=27656202; + //BA.debugLineNum = 27656202;BA.debugLine="Dim j As HttpJob"; +_j = new reparto_izca.keymon.lat.httpjob(); +RDebugUtils.currentLine=27656203; + //BA.debugLineNum = 27656203;BA.debugLine="j.Initialize(\"\", Me)"; +_j._initialize /*String*/ (null,ba,"",parent); +RDebugUtils.currentLine=27656204; + //BA.debugLineNum = 27656204;BA.debugLine="j.Username = sUserName"; +_j._username /*String*/ = __ref._susername /*String*/ ; +RDebugUtils.currentLine=27656205; + //BA.debugLineNum = 27656205;BA.debugLine="j.Password = sUPassword"; +_j._password /*String*/ = __ref._supassword /*String*/ ; +RDebugUtils.currentLine=27656206; + //BA.debugLineNum = 27656206;BA.debugLine="j.Download(sNewVerApk) 'ex: j.Download(\"htt"; +_j._download /*String*/ (null,__ref._snewverapk /*String*/ ); +RDebugUtils.currentLine=27656207; + //BA.debugLineNum = 27656207;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 = (reparto_izca.keymon.lat.httpjob) result[1]; +; +RDebugUtils.currentLine=27656208; + //BA.debugLineNum = 27656208;BA.debugLine="Log($\"Donload ok? ${j.Success}\"$)"; +parent.__c.LogImpl("927656208",("Donload ok? "+parent.__c.SmartStringFormatter("",(Object)(_j._success /*boolean*/ ))+""),0); +RDebugUtils.currentLine=27656209; + //BA.debugLineNum = 27656209;BA.debugLine="If j.Success Then"; +if (true) break; + +case 11: +//if +this.state = 28; +if (_j._success /*boolean*/ ) { +this.state = 13; +}else { +this.state = 21; +}if (true) break; + +case 13: +//C +this.state = 14; +RDebugUtils.currentLine=27656211; + //BA.debugLineNum = 27656211;BA.debugLine="Dim out As OutputStream"; +_out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); +RDebugUtils.currentLine=27656212; + //BA.debugLineNum = 27656212;BA.debugLine="out = File.OpenOutput(SharedFolder,\"tmp.apk\",Fal"; +_out = parent.__c.File.OpenOutput(__ref._sharedfolder /*String*/ ,"tmp.apk",parent.__c.False); +RDebugUtils.currentLine=27656213; + //BA.debugLineNum = 27656213;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=27656214; + //BA.debugLineNum = 27656214;BA.debugLine="out.Close"; +_out.Close(); +RDebugUtils.currentLine=27656215; + //BA.debugLineNum = 27656215;BA.debugLine="Log($\"Copy2 (saving) ok? TRUE\"$)"; +parent.__c.LogImpl("927656215",("Copy2 (saving) ok? TRUE"),0); +RDebugUtils.currentLine=27656216; + //BA.debugLineNum = 27656216;BA.debugLine="sStatusCode = OK_DOWNLOAD"; +__ref._sstatuscode /*int*/ = __ref._ok_download /*int*/ ; +RDebugUtils.currentLine=27656217; + //BA.debugLineNum = 27656217;BA.debugLine="If sVerbose Then Log($\"${TAB}new apk version dow"; +if (true) break; + +case 14: +//if +this.state = 19; +if (__ref._sverbose /*boolean*/ ) { +this.state = 16; +;}if (true) break; + +case 16: +//C +this.state = 19; +parent.__c.LogImpl("927656217",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"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; +RDebugUtils.currentLine=27656219; + //BA.debugLineNum = 27656219;BA.debugLine="Log($\"${TAB}Error: ${J.ErrorMessage}\"$)"; +parent.__c.LogImpl("927656219",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Error: "+parent.__c.SmartStringFormatter("",(Object)(_j._errormessage /*String*/ ))+""),0); +RDebugUtils.currentLine=27656220; + //BA.debugLineNum = 27656220;BA.debugLine="sStatusCode = ERR_HTTP"; +__ref._sstatuscode /*int*/ = __ref._err_http /*int*/ ; +RDebugUtils.currentLine=27656221; + //BA.debugLineNum = 27656221;BA.debugLine="If sVerbose Then Log($\"${TAB}error in httputils2"; +if (true) break; + +case 22: +//if +this.state = 27; +if (__ref._sverbose /*boolean*/ ) { +this.state = 24; +;}if (true) break; + +case 24: +//C +this.state = 27; +parent.__c.LogImpl("927656221",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"error in httputils2"),0); +if (true) break; + +case 27: +//C +this.state = 28; +; +RDebugUtils.currentLine=27656222; + //BA.debugLineNum = 27656222;BA.debugLine="ToastMessageShow(\"Error: \" & J.ErrorMessage, Tru"; +parent.__c.ToastMessageShow(BA.ObjectToCharSequence("Error: "+_j._errormessage /*String*/ ),parent.__c.True); + if (true) break; + +case 28: +//C +this.state = -1; +; +RDebugUtils.currentLine=27656224; + //BA.debugLineNum = 27656224;BA.debugLine="j.Release"; +_j._release /*String*/ (null); +RDebugUtils.currentLine=27656225; + //BA.debugLineNum = 27656225;BA.debugLine="Finito"; +__ref._finito /*String*/ (null); +RDebugUtils.currentLine=27656226; + //BA.debugLineNum = 27656226;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public String _finito(reparto_izca.keymon.lat.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=27918336; + //BA.debugLineNum = 27918336;BA.debugLine="Private Sub Finito"; +RDebugUtils.currentLine=27918337; + //BA.debugLineNum = 27918337;BA.debugLine="If SubExists(Callback,Event&\"_UpdateComplete\") Th"; +if (__c.SubExists(ba,__ref._callback /*Object*/ ,__ref._event /*String*/ +"_UpdateComplete")) { +RDebugUtils.currentLine=27918338; + //BA.debugLineNum = 27918338;BA.debugLine="CallSub(Callback,Event&\"_UpdateComplete\")"; +__c.CallSubNew(ba,__ref._callback /*Object*/ ,__ref._event /*String*/ +"_UpdateComplete"); + }; +RDebugUtils.currentLine=27918340; + //BA.debugLineNum = 27918340;BA.debugLine="End Sub"; +return ""; +} +public String _extractcl(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=28180480; + //BA.debugLineNum = 28180480;BA.debugLine="Private Sub ExtractCL(TxtRow As String) As String"; +RDebugUtils.currentLine=28180481; + //BA.debugLineNum = 28180481;BA.debugLine="Dim i As Int"; +_i = 0; +RDebugUtils.currentLine=28180482; + //BA.debugLineNum = 28180482;BA.debugLine="i = TxtRow.IndexOf(\"\")"; +_i = _txtrow.indexOf(""); +RDebugUtils.currentLine=28180483; + //BA.debugLineNum = 28180483;BA.debugLine="If i <> -1 Then"; +if (_i!=-1) { +RDebugUtils.currentLine=28180484; + //BA.debugLineNum = 28180484;BA.debugLine="Dim j1 As Int = TxtRow.IndexOf(\"\")"; +_j1 = _txtrow.indexOf(""); +RDebugUtils.currentLine=28180485; + //BA.debugLineNum = 28180485;BA.debugLine="If j1 = -1 Then"; +if (_j1==-1) { +RDebugUtils.currentLine=28180486; + //BA.debugLineNum = 28180486;BA.debugLine="Dim j2 As Int = TxtRow.IndexOf(\"\") 'l"; +_j2 = _txtrow.indexOf(""); +RDebugUtils.currentLine=28180487; + //BA.debugLineNum = 28180487;BA.debugLine="j1 = j2"; +_j1 = _j2; +RDebugUtils.currentLine=28180488; + //BA.debugLineNum = 28180488;BA.debugLine="If j1 < i Then j1 = -1"; +if (_j1<_i) { +_j1 = (int) (-1);}; + }; +RDebugUtils.currentLine=28180490; + //BA.debugLineNum = 28180490;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 { +RDebugUtils.currentLine=28180492; + //BA.debugLineNum = 28180492;BA.debugLine="Return \"\""; +if (true) return ""; + }; +RDebugUtils.currentLine=28180494; + //BA.debugLineNum = 28180494;BA.debugLine="End Sub"; +return ""; +} +public String _extractsz(reparto_izca.keymon.lat.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 = ""; +RDebugUtils.currentLine=28246016; + //BA.debugLineNum = 28246016;BA.debugLine="Private Sub ExtractSZ(TxtRow As String) As String"; +RDebugUtils.currentLine=28246017; + //BA.debugLineNum = 28246017;BA.debugLine="Dim i As Int"; +_i = 0; +RDebugUtils.currentLine=28246018; + //BA.debugLineNum = 28246018;BA.debugLine="i = TxtRow.IndexOf(\"\")"; +_i = _txtrow.indexOf(""); +RDebugUtils.currentLine=28246019; + //BA.debugLineNum = 28246019;BA.debugLine="If i <> -1 Then"; +if (_i!=-1) { +RDebugUtils.currentLine=28246020; + //BA.debugLineNum = 28246020;BA.debugLine="Dim j1 As Int = TxtRow.IndexOf(\"\") '"; +_j1 = _txtrow.indexOf(""); +RDebugUtils.currentLine=28246021; + //BA.debugLineNum = 28246021;BA.debugLine="If j1 = -1 Then"; +if (_j1==-1) { +RDebugUtils.currentLine=28246022; + //BA.debugLineNum = 28246022;BA.debugLine="Dim j2 As Int = TxtRow.IndexOf(\"\") '"; +_j2 = _txtrow.indexOf(""); +RDebugUtils.currentLine=28246023; + //BA.debugLineNum = 28246023;BA.debugLine="j1 = j2"; +_j1 = _j2; +RDebugUtils.currentLine=28246024; + //BA.debugLineNum = 28246024;BA.debugLine="If j1 < i Then j1 = -1"; +if (_j1<_i) { +_j1 = (int) (-1);}; + }; +RDebugUtils.currentLine=28246026; + //BA.debugLineNum = 28246026;BA.debugLine="Dim s As String"; +_s = ""; +RDebugUtils.currentLine=28246027; + //BA.debugLineNum = 28246027;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));}; +RDebugUtils.currentLine=28246028; + //BA.debugLineNum = 28246028;BA.debugLine="s = s.Replace(CRLF,\"\")"; +_s = _s.replace(__c.CRLF,""); +RDebugUtils.currentLine=28246029; + //BA.debugLineNum = 28246029;BA.debugLine="s=s.Replace(Chr(13),\"\")"; +_s = _s.replace(BA.ObjectToString(__c.Chr((int) (13))),""); +RDebugUtils.currentLine=28246030; + //BA.debugLineNum = 28246030;BA.debugLine="Return s"; +if (true) return _s; + }else { +RDebugUtils.currentLine=28246032; + //BA.debugLineNum = 28246032;BA.debugLine="Return \"\""; +if (true) return ""; + }; +RDebugUtils.currentLine=28246034; + //BA.debugLineNum = 28246034;BA.debugLine="End Sub"; +return ""; +} +public String _extractvn(reparto_izca.keymon.lat.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 = ""; +RDebugUtils.currentLine=28114944; + //BA.debugLineNum = 28114944;BA.debugLine="Private Sub ExtractVN(TxtRow As String) As String"; +RDebugUtils.currentLine=28114945; + //BA.debugLineNum = 28114945;BA.debugLine="Dim i As Int"; +_i = 0; +RDebugUtils.currentLine=28114946; + //BA.debugLineNum = 28114946;BA.debugLine="i = TxtRow.IndexOf(\"=\")"; +_i = _txtrow.indexOf("="); +RDebugUtils.currentLine=28114947; + //BA.debugLineNum = 28114947;BA.debugLine="If i <> -1 Then"; +if (_i!=-1) { +RDebugUtils.currentLine=28114948; + //BA.debugLineNum = 28114948;BA.debugLine="Dim j1 As Int = TxtRow.IndexOf(\"\") 'l"; +_j1 = _txtrow.indexOf(""); +RDebugUtils.currentLine=28114949; + //BA.debugLineNum = 28114949;BA.debugLine="Dim j2 As Int = TxtRow.IndexOf(\"\") 'lo"; +_j2 = _txtrow.indexOf(""); +RDebugUtils.currentLine=28114950; + //BA.debugLineNum = 28114950;BA.debugLine="Dim j As Int = Min(j1, j2)"; +_j = (int) (__c.Min(_j1,_j2)); +RDebugUtils.currentLine=28114951; + //BA.debugLineNum = 28114951;BA.debugLine="If j = -1 Then j = Max(j1,j2)"; +if (_j==-1) { +_j = (int) (__c.Max(_j1,_j2));}; +RDebugUtils.currentLine=28114952; + //BA.debugLineNum = 28114952;BA.debugLine="Dim s As String"; +_s = ""; +RDebugUtils.currentLine=28114953; + //BA.debugLineNum = 28114953;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));}; +RDebugUtils.currentLine=28114954; + //BA.debugLineNum = 28114954;BA.debugLine="s=s.Replace(CRLF,\"\")"; +_s = _s.replace(__c.CRLF,""); +RDebugUtils.currentLine=28114955; + //BA.debugLineNum = 28114955;BA.debugLine="s=s.Replace(Chr(13),\"\")"; +_s = _s.replace(BA.ObjectToString(__c.Chr((int) (13))),""); +RDebugUtils.currentLine=28114956; + //BA.debugLineNum = 28114956;BA.debugLine="Return s"; +if (true) return _s; + }else { +RDebugUtils.currentLine=28114958; + //BA.debugLineNum = 28114958;BA.debugLine="Return \"\""; +if (true) return ""; + }; +RDebugUtils.currentLine=28114960; + //BA.debugLineNum = 28114960;BA.debugLine="End Sub"; +return ""; +} +public long _getavailablespace(reparto_izca.keymon.lat.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=27459584; + //BA.debugLineNum = 27459584;BA.debugLine="Public Sub GetAvailableSpace As Long"; +RDebugUtils.currentLine=27459585; + //BA.debugLineNum = 27459585;BA.debugLine="Return GetFreeSpace"; +if (true) return __ref._getfreespace /*long*/ (null); +RDebugUtils.currentLine=27459586; + //BA.debugLineNum = 27459586;BA.debugLine="End Sub"; +return 0L; +} +public long _getfreespace(reparto_izca.keymon.lat.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=28311552; + //BA.debugLineNum = 28311552;BA.debugLine="Private Sub GetFreeSpace As Long"; +RDebugUtils.currentLine=28311553; + //BA.debugLineNum = 28311553;BA.debugLine="Dim jo As JavaObject"; +_jo = new anywheresoftware.b4j.object.JavaObject(); +RDebugUtils.currentLine=28311554; + //BA.debugLineNum = 28311554;BA.debugLine="jo.InitializeNewInstance(\"java.io.File\", Array(Sh"; +_jo.InitializeNewInstance("java.io.File",new Object[]{(Object)(__ref._sharedfolder /*String*/ )}); +RDebugUtils.currentLine=28311555; + //BA.debugLineNum = 28311555;BA.debugLine="Return jo.RunMethod(\"getFreeSpace\", Null)"; +if (true) return BA.ObjectToLongNumber(_jo.RunMethod("getFreeSpace",(Object[])(__c.Null))); +RDebugUtils.currentLine=28311556; + //BA.debugLineNum = 28311556;BA.debugLine="End Sub"; +return 0L; +} +public String _getcurvn(reparto_izca.keymon.lat.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=27197440; + //BA.debugLineNum = 27197440;BA.debugLine="Public Sub getCurVN As String"; +RDebugUtils.currentLine=27197441; + //BA.debugLineNum = 27197441;BA.debugLine="Return curver"; +if (true) return __ref._curver /*String*/ ; +RDebugUtils.currentLine=27197442; + //BA.debugLineNum = 27197442;BA.debugLine="End Sub"; +return ""; +} +public Object _getfileuri(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=28704768; + //BA.debugLineNum = 28704768;BA.debugLine="Private Sub GetFileUri (FileName As String) As Obj"; +RDebugUtils.currentLine=28704769; + //BA.debugLineNum = 28704769;BA.debugLine="If UseFileProvider = False Then"; +if (__ref._usefileprovider /*boolean*/ ==__c.False) { +RDebugUtils.currentLine=28704770; + //BA.debugLineNum = 28704770;BA.debugLine="Dim uri As JavaObject"; +_uri = new anywheresoftware.b4j.object.JavaObject(); +RDebugUtils.currentLine=28704771; + //BA.debugLineNum = 28704771;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 { +RDebugUtils.currentLine=28704773; + //BA.debugLineNum = 28704773;BA.debugLine="Dim f As JavaObject"; +_f = new anywheresoftware.b4j.object.JavaObject(); +RDebugUtils.currentLine=28704774; + //BA.debugLineNum = 28704774;BA.debugLine="f.InitializeNewInstance(\"java.io.File\", Array(Sh"; +_f.InitializeNewInstance("java.io.File",new Object[]{(Object)(__ref._sharedfolder /*String*/ ),(Object)(_filename)}); +RDebugUtils.currentLine=28704775; + //BA.debugLineNum = 28704775;BA.debugLine="Dim fp As JavaObject"; +_fp = new anywheresoftware.b4j.object.JavaObject(); +RDebugUtils.currentLine=28704776; + //BA.debugLineNum = 28704776;BA.debugLine="Dim context As JavaObject"; +_context = new anywheresoftware.b4j.object.JavaObject(); +RDebugUtils.currentLine=28704777; + //BA.debugLineNum = 28704777;BA.debugLine="context.InitializeContext"; +_context.InitializeContext(ba); +RDebugUtils.currentLine=28704778; + //BA.debugLineNum = 28704778;BA.debugLine="fp.InitializeStatic(\"android.support.v4.content."; +_fp.InitializeStatic("androidx.core.content.FileProvider"); +RDebugUtils.currentLine=28704779; + //BA.debugLineNum = 28704779;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())}); + }; +RDebugUtils.currentLine=28704781; + //BA.debugLineNum = 28704781;BA.debugLine="End Sub"; +return null; +} +public String _getnmappinst(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=28442624; + //BA.debugLineNum = 28442624;BA.debugLine="Private Sub GetNMAppInst As String"; +RDebugUtils.currentLine=28442625; + //BA.debugLineNum = 28442625;BA.debugLine="Dim jo As JavaObject"; +_jo = new anywheresoftware.b4j.object.JavaObject(); +RDebugUtils.currentLine=28442626; + //BA.debugLineNum = 28442626;BA.debugLine="jo.InitializeStatic(\"android.provider.Settings.Se"; +_jo.InitializeStatic("android.provider.Settings.Secure"); +RDebugUtils.currentLine=28442627; + //BA.debugLineNum = 28442627;BA.debugLine="Dim context As JavaObject"; +_context = new anywheresoftware.b4j.object.JavaObject(); +RDebugUtils.currentLine=28442628; + //BA.debugLineNum = 28442628;BA.debugLine="context.InitializeContext"; +_context.InitializeContext(ba); +RDebugUtils.currentLine=28442629; + //BA.debugLineNum = 28442629;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)))); +RDebugUtils.currentLine=28442630; + //BA.debugLineNum = 28442630;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")})); +RDebugUtils.currentLine=28442631; + //BA.debugLineNum = 28442631;BA.debugLine="End Sub"; +return ""; +} +public String _getpackagename(reparto_izca.keymon.lat.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=26804224; + //BA.debugLineNum = 26804224;BA.debugLine="Public Sub getPackageName As String"; +RDebugUtils.currentLine=26804225; + //BA.debugLineNum = 26804225;BA.debugLine="Return sPackageName"; +if (true) return __ref._spackagename /*String*/ ; +RDebugUtils.currentLine=26804226; + //BA.debugLineNum = 26804226;BA.debugLine="End Sub"; +return ""; +} +public int _getsdkversion(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=28377088; + //BA.debugLineNum = 28377088;BA.debugLine="Private Sub GetSDKVersion As Int"; +RDebugUtils.currentLine=28377089; + //BA.debugLineNum = 28377089;BA.debugLine="Dim jo As JavaObject"; +_jo = new anywheresoftware.b4j.object.JavaObject(); +RDebugUtils.currentLine=28377090; + //BA.debugLineNum = 28377090;BA.debugLine="jo.InitializeStatic(\"android.os.Build.VERSION\")"; +_jo.InitializeStatic("android.os.Build.VERSION"); +RDebugUtils.currentLine=28377091; + //BA.debugLineNum = 28377091;BA.debugLine="Return jo.GetField(\"SDK_INT\")"; +if (true) return (int)(BA.ObjectToNumber(_jo.GetField("SDK_INT"))); +RDebugUtils.currentLine=28377092; + //BA.debugLineNum = 28377092;BA.debugLine="End Sub"; +return 0; +} +public int _getstatus(reparto_izca.keymon.lat.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=27131904; + //BA.debugLineNum = 27131904;BA.debugLine="Public Sub getStatus As Int"; +RDebugUtils.currentLine=27131905; + //BA.debugLineNum = 27131905;BA.debugLine="Return sStatusCode"; +if (true) return __ref._sstatuscode /*int*/ ; +RDebugUtils.currentLine=27131906; + //BA.debugLineNum = 27131906;BA.debugLine="End Sub"; +return 0; +} +public String _getwebchangelog(reparto_izca.keymon.lat.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=27328512; + //BA.debugLineNum = 27328512;BA.debugLine="Public Sub getWebChangeLog As String"; +RDebugUtils.currentLine=27328513; + //BA.debugLineNum = 27328513;BA.debugLine="Return webclog"; +if (true) return __ref._webclog /*String*/ ; +RDebugUtils.currentLine=27328514; + //BA.debugLineNum = 27328514;BA.debugLine="End Sub"; +return ""; +} +public String _getwebfilesize(reparto_izca.keymon.lat.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=27394048; + //BA.debugLineNum = 27394048;BA.debugLine="Public Sub getWebFileSize As String"; +RDebugUtils.currentLine=27394049; + //BA.debugLineNum = 27394049;BA.debugLine="Return webfsize"; +if (true) return __ref._webfsize /*String*/ ; +RDebugUtils.currentLine=27394050; + //BA.debugLineNum = 27394050;BA.debugLine="End Sub"; +return ""; +} +public String _getwebvn(reparto_izca.keymon.lat.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=27262976; + //BA.debugLineNum = 27262976;BA.debugLine="Public Sub getWebVN As String"; +RDebugUtils.currentLine=27262977; + //BA.debugLineNum = 27262977;BA.debugLine="Return webver"; +if (true) return __ref._webver /*String*/ ; +RDebugUtils.currentLine=27262978; + //BA.debugLineNum = 27262978;BA.debugLine="End Sub"; +return ""; +} +public String _initialize(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=26673152; + //BA.debugLineNum = 26673152;BA.debugLine="Public Sub Initialize(CallbackModule As Object, Ev"; +RDebugUtils.currentLine=26673153; + //BA.debugLineNum = 26673153;BA.debugLine="Callback = CallbackModule"; +__ref._callback /*Object*/ = _callbackmodule; +RDebugUtils.currentLine=26673154; + //BA.debugLineNum = 26673154;BA.debugLine="Event = EventName"; +__ref._event /*String*/ = _eventname; +RDebugUtils.currentLine=26673155; + //BA.debugLineNum = 26673155;BA.debugLine="sPackageName = \"\""; +__ref._spackagename /*String*/ = ""; +RDebugUtils.currentLine=26673156; + //BA.debugLineNum = 26673156;BA.debugLine="sNewVerTxt = \"\""; +__ref._snewvertxt /*String*/ = ""; +RDebugUtils.currentLine=26673157; + //BA.debugLineNum = 26673157;BA.debugLine="sNewVerApk = \"\""; +__ref._snewverapk /*String*/ = ""; +RDebugUtils.currentLine=26673158; + //BA.debugLineNum = 26673158;BA.debugLine="sUserName = \"\""; +__ref._susername /*String*/ = ""; +RDebugUtils.currentLine=26673159; + //BA.debugLineNum = 26673159;BA.debugLine="sUPassword = \"\""; +__ref._supassword /*String*/ = ""; +RDebugUtils.currentLine=26673160; + //BA.debugLineNum = 26673160;BA.debugLine="sStatusCode = OK_INIT"; +__ref._sstatuscode /*int*/ = __ref._ok_init /*int*/ ; +RDebugUtils.currentLine=26673161; + //BA.debugLineNum = 26673161;BA.debugLine="curver = \"\""; +__ref._curver /*String*/ = ""; +RDebugUtils.currentLine=26673162; + //BA.debugLineNum = 26673162;BA.debugLine="webver = \"\""; +__ref._webver /*String*/ = ""; +RDebugUtils.currentLine=26673163; + //BA.debugLineNum = 26673163;BA.debugLine="sVerbose = False"; +__ref._sverbose /*boolean*/ = __c.False; +RDebugUtils.currentLine=26673164; + //BA.debugLineNum = 26673164;BA.debugLine="Dim p As Phone"; +_p = new anywheresoftware.b4a.phone.Phone(); +RDebugUtils.currentLine=26673165; + //BA.debugLineNum = 26673165;BA.debugLine="If p.SdkVersion >= 24 Or File.ExternalWritable ="; +if (_p.getSdkVersion()>=24 || __c.File.getExternalWritable()==__c.False) { +RDebugUtils.currentLine=26673166; + //BA.debugLineNum = 26673166;BA.debugLine="UseFileProvider = True"; +__ref._usefileprovider /*boolean*/ = __c.True; +RDebugUtils.currentLine=26673167; + //BA.debugLineNum = 26673167;BA.debugLine="SharedFolder = File.Combine(File.DirInternal, \"s"; +__ref._sharedfolder /*String*/ = __c.File.Combine(__c.File.getDirInternal(),"shared"); +RDebugUtils.currentLine=26673168; + //BA.debugLineNum = 26673168;BA.debugLine="File.MakeDir(\"\", SharedFolder)"; +__c.File.MakeDir("",__ref._sharedfolder /*String*/ ); + }else { +RDebugUtils.currentLine=26673170; + //BA.debugLineNum = 26673170;BA.debugLine="UseFileProvider = False"; +__ref._usefileprovider /*boolean*/ = __c.False; +RDebugUtils.currentLine=26673171; + //BA.debugLineNum = 26673171;BA.debugLine="SharedFolder = rp.GetSafeDirDefaultExternal(\"sha"; +__ref._sharedfolder /*String*/ = __ref._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .GetSafeDirDefaultExternal("shared"); + }; +RDebugUtils.currentLine=26673173; + //BA.debugLineNum = 26673173;BA.debugLine="Log($\"SDK#: ${p.SdkVersion} - UseFP: ${UseFilePro"; +__c.LogImpl("926673173",("SDK#: "+__c.SmartStringFormatter("",(Object)(_p.getSdkVersion()))+" - UseFP: "+__c.SmartStringFormatter("",(Object)(__ref._usefileprovider /*boolean*/ ))+" - SharedFolder: "+__c.SmartStringFormatter("",(Object)(__ref._sharedfolder /*String*/ ))+""),0); +RDebugUtils.currentLine=26673174; + //BA.debugLineNum = 26673174;BA.debugLine="End Sub"; +return ""; +} +public String _installapk(reparto_izca.keymon.lat.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=27721728; + //BA.debugLineNum = 27721728;BA.debugLine="Public Sub InstallApk(pstatus As Boolean)"; +RDebugUtils.currentLine=27721729; + //BA.debugLineNum = 27721729;BA.debugLine="LogColor(\"---- AppUpdating.InstallApk\", LogColor1"; +__c.LogImpl("927721729","---- AppUpdating.InstallApk",__ref._logcolor1 /*int*/ ); +RDebugUtils.currentLine=27721730; + //BA.debugLineNum = 27721730;BA.debugLine="If pstatus Then"; +if (_pstatus) { +RDebugUtils.currentLine=27721731; + //BA.debugLineNum = 27721731;BA.debugLine="SendInstallIntent"; +__ref._sendinstallintent /*String*/ (null); +RDebugUtils.currentLine=27721732; + //BA.debugLineNum = 27721732;BA.debugLine="sStatusCode = OK_INSTALL"; +__ref._sstatuscode /*int*/ = __ref._ok_install /*int*/ ; +RDebugUtils.currentLine=27721733; + //BA.debugLineNum = 27721733;BA.debugLine="If sVerbose Then Log(TAB & \"user asked to instal"; +if (__ref._sverbose /*boolean*/ ) { +__c.LogImpl("927721733",__c.TAB+"user asked to install new apk",0);}; + }else { +RDebugUtils.currentLine=27721735; + //BA.debugLineNum = 27721735;BA.debugLine="sStatusCode = ERR_NOPERM"; +__ref._sstatuscode /*int*/ = __ref._err_noperm /*int*/ ; +RDebugUtils.currentLine=27721736; + //BA.debugLineNum = 27721736;BA.debugLine="If sVerbose Then Log(TAB & \"no permissions from"; +if (__ref._sverbose /*boolean*/ ) { +__c.LogImpl("927721736",__c.TAB+"no permissions from user to install new apk",0);}; + }; +RDebugUtils.currentLine=27721738; + //BA.debugLineNum = 27721738;BA.debugLine="Finito"; +__ref._finito /*String*/ (null); +RDebugUtils.currentLine=27721739; + //BA.debugLineNum = 27721739;BA.debugLine="End Sub"; +return ""; +} +public String _sendinstallintent(reparto_izca.keymon.lat.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=28639232; + //BA.debugLineNum = 28639232;BA.debugLine="Private Sub SendInstallIntent"; +RDebugUtils.currentLine=28639233; + //BA.debugLineNum = 28639233;BA.debugLine="Dim ApkName As String = \"tmp.apk\""; +_apkname = "tmp.apk"; +RDebugUtils.currentLine=28639234; + //BA.debugLineNum = 28639234;BA.debugLine="Dim i As Intent"; +_i = new anywheresoftware.b4a.objects.IntentWrapper(); +RDebugUtils.currentLine=28639235; + //BA.debugLineNum = 28639235;BA.debugLine="If phone.SdkVersion >= 24 Then 'Nouga"; +if (__ref._phone /*anywheresoftware.b4a.phone.Phone*/ .getSdkVersion()>=24) { +RDebugUtils.currentLine=28639236; + //BA.debugLineNum = 28639236;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=28639237; + //BA.debugLineNum = 28639237;BA.debugLine="i.Flags = Bit.Or(i.Flags, 1) 'FLAG_GRANT_READ_UR"; +_i.setFlags(__c.Bit.Or(_i.getFlags(),(int) (1))); + }else { +RDebugUtils.currentLine=28639239; + //BA.debugLineNum = 28639239;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=28639240; + //BA.debugLineNum = 28639240;BA.debugLine="i.SetType(\"application/vnd.android.package-archi"; +_i.SetType("application/vnd.android.package-archive"); + }; +RDebugUtils.currentLine=28639242; + //BA.debugLineNum = 28639242;BA.debugLine="StartActivity(i)"; +__c.StartActivity(ba,(Object)(_i.getObject())); +RDebugUtils.currentLine=28639243; + //BA.debugLineNum = 28639243;BA.debugLine="End Sub"; +return ""; +} +public boolean _isvalidcv(reparto_izca.keymon.lat.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=27983872; + //BA.debugLineNum = 27983872;BA.debugLine="Private Sub IsValidCV As Boolean"; +RDebugUtils.currentLine=27983873; + //BA.debugLineNum = 27983873;BA.debugLine="If sPackageName = \"\" Then"; +if ((__ref._spackagename /*String*/ ).equals("")) { +RDebugUtils.currentLine=27983874; + //BA.debugLineNum = 27983874;BA.debugLine="curver = \"\""; +__ref._curver /*String*/ = ""; +RDebugUtils.currentLine=27983875; + //BA.debugLineNum = 27983875;BA.debugLine="sStatusCode = ERR_NOPKG"; +__ref._sstatuscode /*int*/ = __ref._err_nopkg /*int*/ ; +RDebugUtils.currentLine=27983876; + //BA.debugLineNum = 27983876;BA.debugLine="If sVerbose Then Log($\"${TAB}missing package nam"; +if (__ref._sverbose /*boolean*/ ) { +__c.LogImpl("927983876",(""+__c.SmartStringFormatter("",(Object)(__c.TAB))+"missing package name for current version check"),0);}; + }else { +RDebugUtils.currentLine=27983878; + //BA.debugLineNum = 27983878;BA.debugLine="Dim pm As PackageManager"; +_pm = new anywheresoftware.b4a.phone.PackageManagerWrapper(); +RDebugUtils.currentLine=27983879; + //BA.debugLineNum = 27983879;BA.debugLine="curver = pm.GetVersionName(sPackageName)"; +__ref._curver /*String*/ = _pm.GetVersionName(__ref._spackagename /*String*/ ); +RDebugUtils.currentLine=27983880; + //BA.debugLineNum = 27983880;BA.debugLine="sStatusCode = OK_CURVER 'got current ve"; +__ref._sstatuscode /*int*/ = __ref._ok_curver /*int*/ ; +RDebugUtils.currentLine=27983881; + //BA.debugLineNum = 27983881;BA.debugLine="If sVerbose Then Log($\"${TAB}Current Version: ${"; +if (__ref._sverbose /*boolean*/ ) { +__c.LogImpl("927983881",(""+__c.SmartStringFormatter("",(Object)(__c.TAB))+"Current Version: "+__c.SmartStringFormatter("",(Object)(__ref._curver /*String*/ ))+""),0);}; + }; +RDebugUtils.currentLine=27983883; + //BA.debugLineNum = 27983883;BA.debugLine="Return (sStatusCode == OK_CURVER)"; +if (true) return (__ref._sstatuscode /*int*/ ==__ref._ok_curver /*int*/ ); +RDebugUtils.currentLine=27983884; + //BA.debugLineNum = 27983884;BA.debugLine="End Sub"; +return false; +} +public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _isvalidwv(reparto_izca.keymon.lat.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(reparto_izca.keymon.lat.cl_appupdate parent,reparto_izca.keymon.lat.cl_appupdate __ref) { +this.parent = parent; +this.__ref = __ref; +this.__ref = parent; +} +reparto_izca.keymon.lat.cl_appupdate __ref; +reparto_izca.keymon.lat.cl_appupdate parent; +reparto_izca.keymon.lat.httpjob _j = null; + +@Override +public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="cl_appupdate"; + + while (true) { + switch (state) { + case -1: +{ +parent.__c.ReturnFromResumableSub(this,null);return;} +case 0: +//C +this.state = 1; +RDebugUtils.currentLine=28049409; + //BA.debugLineNum = 28049409;BA.debugLine="Log(\"IsValidComplete start\")"; +parent.__c.LogImpl("928049409","IsValidComplete start",0); +RDebugUtils.currentLine=28049410; + //BA.debugLineNum = 28049410;BA.debugLine="If sNewVerTxt = \"\" Then"; +if (true) break; + +case 1: +//if +this.state = 60; +if ((__ref._snewvertxt /*String*/ ).equals("")) { +this.state = 3; +}else { +this.state = 11; +}if (true) break; + +case 3: +//C +this.state = 4; +RDebugUtils.currentLine=28049411; + //BA.debugLineNum = 28049411;BA.debugLine="webver = \"\""; +__ref._webver /*String*/ = ""; +RDebugUtils.currentLine=28049412; + //BA.debugLineNum = 28049412;BA.debugLine="sStatusCode = ERR_NOTXT"; +__ref._sstatuscode /*int*/ = __ref._err_notxt /*int*/ ; +RDebugUtils.currentLine=28049413; + //BA.debugLineNum = 28049413;BA.debugLine="If sVerbose Then Log($\"${TAB}missing info file f"; +if (true) break; + +case 4: +//if +this.state = 9; +if (__ref._sverbose /*boolean*/ ) { +this.state = 6; +;}if (true) break; + +case 6: +//C +this.state = 9; +parent.__c.LogImpl("928049413",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"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; +RDebugUtils.currentLine=28049416; + //BA.debugLineNum = 28049416;BA.debugLine="Dim j As HttpJob"; +_j = new reparto_izca.keymon.lat.httpjob(); +RDebugUtils.currentLine=28049417; + //BA.debugLineNum = 28049417;BA.debugLine="j.Initialize(\"\", Me)"; +_j._initialize /*String*/ (null,ba,"",parent); +RDebugUtils.currentLine=28049418; + //BA.debugLineNum = 28049418;BA.debugLine="j.Username = sUserName"; +_j._username /*String*/ = __ref._susername /*String*/ ; +RDebugUtils.currentLine=28049419; + //BA.debugLineNum = 28049419;BA.debugLine="j.Password = sUPassword"; +_j._password /*String*/ = __ref._supassword /*String*/ ; +RDebugUtils.currentLine=28049420; + //BA.debugLineNum = 28049420;BA.debugLine="j.Download(sNewVerTxt) 'ex: jobapk.Downlo"; +_j._download /*String*/ (null,__ref._snewvertxt /*String*/ ); +RDebugUtils.currentLine=28049421; + //BA.debugLineNum = 28049421;BA.debugLine="Log(\"before\")"; +parent.__c.LogImpl("928049421","before",0); +RDebugUtils.currentLine=28049422; + //BA.debugLineNum = 28049422;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 = (reparto_izca.keymon.lat.httpjob) result[1]; +; +RDebugUtils.currentLine=28049423; + //BA.debugLineNum = 28049423;BA.debugLine="Log(\"after\")"; +parent.__c.LogImpl("928049423","after",0); +RDebugUtils.currentLine=28049424; + //BA.debugLineNum = 28049424;BA.debugLine="If j.Success Then"; +if (true) break; + +case 12: +//if +this.state = 59; +if (_j._success /*boolean*/ ) { +this.state = 14; +}else { +this.state = 52; +}if (true) break; + +case 14: +//C +this.state = 15; +RDebugUtils.currentLine=28049425; + //BA.debugLineNum = 28049425;BA.debugLine="If sVerbose Then Log($\"Webserver's info file co"; +if (true) break; + +case 15: +//if +this.state = 20; +if (__ref._sverbose /*boolean*/ ) { +this.state = 17; +;}if (true) break; + +case 17: +//C +this.state = 20; +parent.__c.LogImpl("928049425",("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; +; +RDebugUtils.currentLine=28049426; + //BA.debugLineNum = 28049426;BA.debugLine="If Not(J.GetString.Contains(\"\"))"; +if (true) break; + +case 21: +//if +this.state = 50; +if (parent.__c.Not(_j._getstring /*String*/ (null).contains(""))) { +this.state = 23; +}else { +this.state = 43; +}if (true) break; + +case 23: +//C +this.state = 24; +RDebugUtils.currentLine=28049427; + //BA.debugLineNum = 28049427;BA.debugLine="webver = ExtractVN(J.GetString)"; +__ref._webver /*String*/ = __ref._extractvn /*String*/ (null,_j._getstring /*String*/ (null)); +RDebugUtils.currentLine=28049428; + //BA.debugLineNum = 28049428;BA.debugLine="webclog = ExtractCL(J.GetString) 'optional"; +__ref._webclog /*String*/ = __ref._extractcl /*String*/ (null,_j._getstring /*String*/ (null)); +RDebugUtils.currentLine=28049429; + //BA.debugLineNum = 28049429;BA.debugLine="webfsize = ExtractSZ(J.GetString) 'optiona"; +__ref._webfsize /*String*/ = __ref._extractsz /*String*/ (null,_j._getstring /*String*/ (null)); +RDebugUtils.currentLine=28049430; + //BA.debugLineNum = 28049430;BA.debugLine="If webver = \"\" Then"; +if (true) break; + +case 24: +//if +this.state = 41; +if ((__ref._webver /*String*/ ).equals("")) { +this.state = 26; +}else { +this.state = 34; +}if (true) break; + +case 26: +//C +this.state = 27; +RDebugUtils.currentLine=28049431; + //BA.debugLineNum = 28049431;BA.debugLine="sStatusCode = ERR_TXTROW"; +__ref._sstatuscode /*int*/ = __ref._err_txtrow /*int*/ ; +RDebugUtils.currentLine=28049432; + //BA.debugLineNum = 28049432;BA.debugLine="If sVerbose Then Log($\"${TAB}wrong row format"; +if (true) break; + +case 27: +//if +this.state = 32; +if (__ref._sverbose /*boolean*/ ) { +this.state = 29; +;}if (true) break; + +case 29: +//C +this.state = 32; +parent.__c.LogImpl("928049432",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"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; +RDebugUtils.currentLine=28049434; + //BA.debugLineNum = 28049434;BA.debugLine="sStatusCode = OK_WEBVER 'read apk's ver"; +__ref._sstatuscode /*int*/ = __ref._ok_webver /*int*/ ; +RDebugUtils.currentLine=28049435; + //BA.debugLineNum = 28049435;BA.debugLine="If sVerbose Then Log($\"${TAB}Web version numb"; +if (true) break; + +case 35: +//if +this.state = 40; +if (__ref._sverbose /*boolean*/ ) { +this.state = 37; +;}if (true) break; + +case 37: +//C +this.state = 40; +parent.__c.LogImpl("928049435",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Web version number: "+parent.__c.SmartStringFormatter("",(Object)(__ref._webver /*String*/ ))+""),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; +RDebugUtils.currentLine=28049438; + //BA.debugLineNum = 28049438;BA.debugLine="sStatusCode = ERR_HTML 'website returne"; +__ref._sstatuscode /*int*/ = __ref._err_html /*int*/ ; +RDebugUtils.currentLine=28049439; + //BA.debugLineNum = 28049439;BA.debugLine="If sVerbose Then Log($\"${TAB}ERROR: website re"; +if (true) break; + +case 44: +//if +this.state = 49; +if (__ref._sverbose /*boolean*/ ) { +this.state = 46; +;}if (true) break; + +case 46: +//C +this.state = 49; +parent.__c.LogImpl("928049439",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"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; +RDebugUtils.currentLine=28049442; + //BA.debugLineNum = 28049442;BA.debugLine="Log($\"${TAB}Error: ${J.ErrorMessage}\"$)"; +parent.__c.LogImpl("928049442",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Error: "+parent.__c.SmartStringFormatter("",(Object)(_j._errormessage /*String*/ ))+""),0); +RDebugUtils.currentLine=28049443; + //BA.debugLineNum = 28049443;BA.debugLine="sStatusCode = ERR_HTTP"; +__ref._sstatuscode /*int*/ = __ref._err_http /*int*/ ; +RDebugUtils.currentLine=28049444; + //BA.debugLineNum = 28049444;BA.debugLine="If sVerbose Then Log($\"${TAB}error in httputils"; +if (true) break; + +case 53: +//if +this.state = 58; +if (__ref._sverbose /*boolean*/ ) { +this.state = 55; +;}if (true) break; + +case 55: +//C +this.state = 58; +parent.__c.LogImpl("928049444",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"error in httputils2"),0); +if (true) break; + +case 58: +//C +this.state = 59; +; +RDebugUtils.currentLine=28049445; + //BA.debugLineNum = 28049445;BA.debugLine="ToastMessageShow(\"Error: \" & J.ErrorMessage, Tr"; +parent.__c.ToastMessageShow(BA.ObjectToCharSequence("Error: "+_j._errormessage /*String*/ ),parent.__c.True); + if (true) break; + +case 59: +//C +this.state = 60; +; +RDebugUtils.currentLine=28049447; + //BA.debugLineNum = 28049447;BA.debugLine="j.Release"; +_j._release /*String*/ (null); + if (true) break; + +case 60: +//C +this.state = -1; +; +RDebugUtils.currentLine=28049449; + //BA.debugLineNum = 28049449;BA.debugLine="Return (sStatusCode == OK_WEBVER)"; +if (true) { +parent.__c.ReturnFromResumableSub(this,(Object)((__ref._sstatuscode /*int*/ ==__ref._ok_webver /*int*/ )));return;}; +RDebugUtils.currentLine=28049450; + //BA.debugLineNum = 28049450;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public String _readcurvn(reparto_izca.keymon.lat.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=27525120; + //BA.debugLineNum = 27525120;BA.debugLine="Public Sub ReadCurVN"; +RDebugUtils.currentLine=27525121; + //BA.debugLineNum = 27525121;BA.debugLine="LogColor(\"---- AppUpdating.ReadCurVN\", LogColor1)"; +__c.LogImpl("927525121","---- AppUpdating.ReadCurVN",__ref._logcolor1 /*int*/ ); +RDebugUtils.currentLine=27525122; + //BA.debugLineNum = 27525122;BA.debugLine="IsValidCV 'we don't care about its resu"; +__ref._isvalidcv /*boolean*/ (null); +RDebugUtils.currentLine=27525123; + //BA.debugLineNum = 27525123;BA.debugLine="Finito"; +__ref._finito /*String*/ (null); +RDebugUtils.currentLine=27525124; + //BA.debugLineNum = 27525124;BA.debugLine="End Sub"; +return ""; +} +public void _readwebvn(reparto_izca.keymon.lat.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(reparto_izca.keymon.lat.cl_appupdate parent,reparto_izca.keymon.lat.cl_appupdate __ref) { +this.parent = parent; +this.__ref = __ref; +this.__ref = parent; +} +reparto_izca.keymon.lat.cl_appupdate __ref; +reparto_izca.keymon.lat.cl_appupdate parent; +boolean _okwebver = false; + +@Override +public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="cl_appupdate"; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = -1; +RDebugUtils.currentLine=27590657; + //BA.debugLineNum = 27590657;BA.debugLine="LogColor(\"---- AppUpdating.ReadWebVN\", LogColor1)"; +parent.__c.LogImpl("927590657","---- AppUpdating.ReadWebVN",__ref._logcolor1 /*int*/ ); +RDebugUtils.currentLine=27590658; + //BA.debugLineNum = 27590658;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[1]; +; +RDebugUtils.currentLine=27590659; + //BA.debugLineNum = 27590659;BA.debugLine="Finito"; +__ref._finito /*String*/ (null); +RDebugUtils.currentLine=27590660; + //BA.debugLineNum = 27590660;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public String _setandstartsplashscreen(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=28835840; + //BA.debugLineNum = 28835840;BA.debugLine="Public Sub SetAndStartSplashScreen(CallingAct As A"; +RDebugUtils.currentLine=28835841; + //BA.debugLineNum = 28835841;BA.debugLine="If BM.IsInitialized Then"; +if (_bm.IsInitialized()) { +RDebugUtils.currentLine=28835842; + //BA.debugLineNum = 28835842;BA.debugLine="pnlSplash.Initialize(\"pnl1\")"; +__ref._pnlsplash /*anywheresoftware.b4a.objects.PanelWrapper*/ .Initialize(ba,"pnl1"); +RDebugUtils.currentLine=28835843; + //BA.debugLineNum = 28835843;BA.debugLine="pnlSplash.Tag = \"splash\""; +__ref._pnlsplash /*anywheresoftware.b4a.objects.PanelWrapper*/ .setTag((Object)("splash")); +RDebugUtils.currentLine=28835844; + //BA.debugLineNum = 28835844;BA.debugLine="Dim BitImage As BitmapDrawable"; +_bitimage = new anywheresoftware.b4a.objects.drawable.BitmapDrawable(); +RDebugUtils.currentLine=28835845; + //BA.debugLineNum = 28835845;BA.debugLine="BitImage.Initialize(BM)"; +_bitimage.Initialize((android.graphics.Bitmap)(_bm.getObject())); +RDebugUtils.currentLine=28835846; + //BA.debugLineNum = 28835846;BA.debugLine="BitImage.Gravity = Gravity.FILL"; +_bitimage.setGravity(__c.Gravity.FILL); +RDebugUtils.currentLine=28835847; + //BA.debugLineNum = 28835847;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=28835848; + //BA.debugLineNum = 28835848;BA.debugLine="pnlSplash.Background = BitImage"; +__ref._pnlsplash /*anywheresoftware.b4a.objects.PanelWrapper*/ .setBackground((android.graphics.drawable.Drawable)(_bitimage.getObject())); +RDebugUtils.currentLine=28835849; + //BA.debugLineNum = 28835849;BA.debugLine="pnlSplash.BringToFront"; +__ref._pnlsplash /*anywheresoftware.b4a.objects.PanelWrapper*/ .BringToFront(); +RDebugUtils.currentLine=28835850; + //BA.debugLineNum = 28835850;BA.debugLine="SplashShowing = True"; +__ref._splashshowing /*boolean*/ = __c.True; + }; +RDebugUtils.currentLine=28835852; + //BA.debugLineNum = 28835852;BA.debugLine="End Sub"; +return ""; +} +public String _setcredentials(reparto_izca.keymon.lat.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=27000832; + //BA.debugLineNum = 27000832;BA.debugLine="Public Sub setCredentials(UserN As String, UserP A"; +RDebugUtils.currentLine=27000833; + //BA.debugLineNum = 27000833;BA.debugLine="sUserName = UserN"; +__ref._susername /*String*/ = _usern; +RDebugUtils.currentLine=27000834; + //BA.debugLineNum = 27000834;BA.debugLine="sUPassword = UserP"; +__ref._supassword /*String*/ = _userp; +RDebugUtils.currentLine=27000835; + //BA.debugLineNum = 27000835;BA.debugLine="End Sub"; +return ""; +} +public String _setfileuriasintentdata(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=28770304; + //BA.debugLineNum = 28770304;BA.debugLine="Private Sub SetFileUriAsIntentData (Intent As Inte"; +RDebugUtils.currentLine=28770305; + //BA.debugLineNum = 28770305;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=28770306; + //BA.debugLineNum = 28770306;BA.debugLine="jo.RunMethod(\"setData\", Array(GetFileUri(FileName"; +_jo.RunMethod("setData",new Object[]{__ref._getfileuri /*Object*/ (null,_filename)}); +RDebugUtils.currentLine=28770307; + //BA.debugLineNum = 28770307;BA.debugLine="Intent.Flags = Bit.Or(Intent.Flags, 1) 'FLAG_GRAN"; +_intent.setFlags(__c.Bit.Or(_intent.getFlags(),(int) (1))); +RDebugUtils.currentLine=28770308; + //BA.debugLineNum = 28770308;BA.debugLine="End Sub"; +return ""; +} +public String _setnewverapk(reparto_izca.keymon.lat.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=26935296; + //BA.debugLineNum = 26935296;BA.debugLine="Public Sub setNewVerApk(NVA As String)"; +RDebugUtils.currentLine=26935297; + //BA.debugLineNum = 26935297;BA.debugLine="sNewVerApk = NVA"; +__ref._snewverapk /*String*/ = _nva; +RDebugUtils.currentLine=26935298; + //BA.debugLineNum = 26935298;BA.debugLine="End Sub"; +return ""; +} +public String _setnewvertxt(reparto_izca.keymon.lat.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=26869760; + //BA.debugLineNum = 26869760;BA.debugLine="Public Sub setNewVerTxt(NVT As String)"; +RDebugUtils.currentLine=26869761; + //BA.debugLineNum = 26869761;BA.debugLine="sNewVerTxt = NVT"; +__ref._snewvertxt /*String*/ = _nvt; +RDebugUtils.currentLine=26869762; + //BA.debugLineNum = 26869762;BA.debugLine="End Sub"; +return ""; +} +public String _setpackagename(reparto_izca.keymon.lat.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=26738688; + //BA.debugLineNum = 26738688;BA.debugLine="Public Sub setPackageName(PN As String)"; +RDebugUtils.currentLine=26738689; + //BA.debugLineNum = 26738689;BA.debugLine="sPackageName = PN"; +__ref._spackagename /*String*/ = _pn; +RDebugUtils.currentLine=26738690; + //BA.debugLineNum = 26738690;BA.debugLine="End Sub"; +return ""; +} +public String _setverbose(reparto_izca.keymon.lat.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=27066368; + //BA.debugLineNum = 27066368;BA.debugLine="Public Sub setVerbose(Verbose As Boolean)"; +RDebugUtils.currentLine=27066369; + //BA.debugLineNum = 27066369;BA.debugLine="sVerbose = Verbose"; +__ref._sverbose /*boolean*/ = _verbose; +RDebugUtils.currentLine=27066370; + //BA.debugLineNum = 27066370;BA.debugLine="newinst2.svcVerbose = Verbose"; +_newinst2._svcverbose /*boolean*/ = _verbose; +RDebugUtils.currentLine=27066371; + //BA.debugLineNum = 27066371;BA.debugLine="End Sub"; +return ""; +} +public String _stopsplashscreen(reparto_izca.keymon.lat.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=28901376; + //BA.debugLineNum = 28901376;BA.debugLine="Public Sub StopSplashScreen"; +RDebugUtils.currentLine=28901377; + //BA.debugLineNum = 28901377;BA.debugLine="If SplashShowing Then"; +if (__ref._splashshowing /*boolean*/ ) { +RDebugUtils.currentLine=28901378; + //BA.debugLineNum = 28901378;BA.debugLine="SplashShowing = False"; +__ref._splashshowing /*boolean*/ = __c.False; +RDebugUtils.currentLine=28901379; + //BA.debugLineNum = 28901379;BA.debugLine="pnlSplash.RemoveView"; +__ref._pnlsplash /*anywheresoftware.b4a.objects.PanelWrapper*/ .RemoveView(); + }; +RDebugUtils.currentLine=28901381; + //BA.debugLineNum = 28901381;BA.debugLine="End Sub"; +return ""; +} +public void _tryapkupdate(reparto_izca.keymon.lat.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(reparto_izca.keymon.lat.cl_appupdate parent,reparto_izca.keymon.lat.cl_appupdate __ref) { +this.parent = parent; +this.__ref = __ref; +this.__ref = parent; +} +reparto_izca.keymon.lat.cl_appupdate __ref; +reparto_izca.keymon.lat.cl_appupdate parent; +reparto_izca.keymon.lat.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 { + + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +RDebugUtils.currentLine=27852801; + //BA.debugLineNum = 27852801;BA.debugLine="LogColor($\"${TAB}-- TryApkUpdate\"$, LogColor1)"; +parent.__c.LogImpl("927852801",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"-- TryApkUpdate"),__ref._logcolor1 /*int*/ ); +RDebugUtils.currentLine=27852803; + //BA.debugLineNum = 27852803;BA.debugLine="If ((sStatusCode >= 0) And (sStatusCode <> NO_NEW"; +if (true) break; + +case 1: +//if +this.state = 44; +if (((__ref._sstatuscode /*int*/ >=0) && (__ref._sstatuscode /*int*/ !=__ref._no_newerapk /*int*/ ))) { +this.state = 3; +}if (true) break; + +case 3: +//C +this.state = 4; +RDebugUtils.currentLine=27852805; + //BA.debugLineNum = 27852805;BA.debugLine="Dim j As HttpJob"; +_j = new reparto_izca.keymon.lat.httpjob(); +RDebugUtils.currentLine=27852806; + //BA.debugLineNum = 27852806;BA.debugLine="j.Initialize(\"\", Me)"; +_j._initialize /*String*/ (null,ba,"",parent); +RDebugUtils.currentLine=27852807; + //BA.debugLineNum = 27852807;BA.debugLine="j.Username = sUserName"; +_j._username /*String*/ = __ref._susername /*String*/ ; +RDebugUtils.currentLine=27852808; + //BA.debugLineNum = 27852808;BA.debugLine="j.Password = sUPassword"; +_j._password /*String*/ = __ref._supassword /*String*/ ; +RDebugUtils.currentLine=27852809; + //BA.debugLineNum = 27852809;BA.debugLine="j.Download(sNewVerApk) 'ex: jobapk.Downlo"; +_j._download /*String*/ (null,__ref._snewverapk /*String*/ ); +RDebugUtils.currentLine=27852810; + //BA.debugLineNum = 27852810;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 = (reparto_izca.keymon.lat.httpjob) result[1]; +; +RDebugUtils.currentLine=27852811; + //BA.debugLineNum = 27852811;BA.debugLine="Log($\"Donload ok? ${j.Success}\"$)"; +parent.__c.LogImpl("927852811",("Donload ok? "+parent.__c.SmartStringFormatter("",(Object)(_j._success /*boolean*/ ))+""),0); +RDebugUtils.currentLine=27852812; + //BA.debugLineNum = 27852812;BA.debugLine="If j.Success Then"; +if (true) break; + +case 4: +//if +this.state = 33; +if (_j._success /*boolean*/ ) { +this.state = 6; +}else { +this.state = 26; +}if (true) break; + +case 6: +//C +this.state = 7; +RDebugUtils.currentLine=27852813; + //BA.debugLineNum = 27852813;BA.debugLine="Try"; +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; +RDebugUtils.currentLine=27852815; + //BA.debugLineNum = 27852815;BA.debugLine="Dim out As OutputStream"; +_out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); +RDebugUtils.currentLine=27852816; + //BA.debugLineNum = 27852816;BA.debugLine="out = File.OpenOutput(SharedFolder,\"tmp.apk\",F"; +_out = parent.__c.File.OpenOutput(__ref._sharedfolder /*String*/ ,"tmp.apk",parent.__c.False); +RDebugUtils.currentLine=27852817; + //BA.debugLineNum = 27852817;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=27852818; + //BA.debugLineNum = 27852818;BA.debugLine="out.Close"; +_out.Close(); +RDebugUtils.currentLine=27852819; + //BA.debugLineNum = 27852819;BA.debugLine="Log($\"Copy2 (saving) ok? TRUE\"$)"; +parent.__c.LogImpl("927852819",("Copy2 (saving) ok? TRUE"),0); +RDebugUtils.currentLine=27852820; + //BA.debugLineNum = 27852820;BA.debugLine="sStatusCode = OK_DOWNLOAD"; +__ref._sstatuscode /*int*/ = __ref._ok_download /*int*/ ; +RDebugUtils.currentLine=27852821; + //BA.debugLineNum = 27852821;BA.debugLine="If sVerbose Then Log($\"${TAB}new apk version d"; +if (true) break; + +case 10: +//if +this.state = 15; +if (__ref._sverbose /*boolean*/ ) { +this.state = 12; +;}if (true) break; + +case 12: +//C +this.state = 15; +parent.__c.LogImpl("927852821",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"new apk version downloaded and ready to install"),0); +if (true) break; + +case 15: +//C +this.state = 24; +; + if (true) break; + +case 17: +//C +this.state = 18; +this.catchState = 0; +RDebugUtils.currentLine=27852823; + //BA.debugLineNum = 27852823;BA.debugLine="Log($\"Copy2 (saving) ok? FALSE\"$)"; +parent.__c.LogImpl("927852823",("Copy2 (saving) ok? FALSE"),0); +RDebugUtils.currentLine=27852824; + //BA.debugLineNum = 27852824;BA.debugLine="sStatusCode = ERR_DOWNLOAD"; +__ref._sstatuscode /*int*/ = __ref._err_download /*int*/ ; +RDebugUtils.currentLine=27852825; + //BA.debugLineNum = 27852825;BA.debugLine="If sVerbose Then Log($\"${TAB}failed download o"; +if (true) break; + +case 18: +//if +this.state = 23; +if (__ref._sverbose /*boolean*/ ) { +this.state = 20; +;}if (true) break; + +case 20: +//C +this.state = 23; +parent.__c.LogImpl("927852825",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"failed download of new apk version"),0); +if (true) break; + +case 23: +//C +this.state = 24; +; +RDebugUtils.currentLine=27852826; + //BA.debugLineNum = 27852826;BA.debugLine="ToastMessageShow(LastException, True)"; +parent.__c.ToastMessageShow(BA.ObjectToCharSequence(parent.__c.LastException(ba).getObject()),parent.__c.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; +RDebugUtils.currentLine=27852829; + //BA.debugLineNum = 27852829;BA.debugLine="Log($\"${TAB}Error: ${J.ErrorMessage}\"$)"; +parent.__c.LogImpl("927852829",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Error: "+parent.__c.SmartStringFormatter("",(Object)(_j._errormessage /*String*/ ))+""),0); +RDebugUtils.currentLine=27852830; + //BA.debugLineNum = 27852830;BA.debugLine="sStatusCode = ERR_HTTP"; +__ref._sstatuscode /*int*/ = __ref._err_http /*int*/ ; +RDebugUtils.currentLine=27852831; + //BA.debugLineNum = 27852831;BA.debugLine="If sVerbose Then Log($\"${TAB}error in httputils"; +if (true) break; + +case 27: +//if +this.state = 32; +if (__ref._sverbose /*boolean*/ ) { +this.state = 29; +;}if (true) break; + +case 29: +//C +this.state = 32; +parent.__c.LogImpl("927852831",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"error in httputils2"),0); +if (true) break; + +case 32: +//C +this.state = 33; +; +RDebugUtils.currentLine=27852832; + //BA.debugLineNum = 27852832;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; + +case 33: +//C +this.state = 34; +; +RDebugUtils.currentLine=27852834; + //BA.debugLineNum = 27852834;BA.debugLine="j.Release"; +_j._release /*String*/ (null); +RDebugUtils.currentLine=27852835; + //BA.debugLineNum = 27852835;BA.debugLine="If sStatusCode == OK_DOWNLOAD Then"; +if (true) break; + +case 34: +//if +this.state = 43; +if (__ref._sstatuscode /*int*/ ==__ref._ok_download /*int*/ ) { +this.state = 36; +}if (true) break; + +case 36: +//C +this.state = 37; +RDebugUtils.currentLine=27852836; + //BA.debugLineNum = 27852836;BA.debugLine="SendInstallIntent"; +__ref._sendinstallintent /*String*/ (null); +RDebugUtils.currentLine=27852837; + //BA.debugLineNum = 27852837;BA.debugLine="sStatusCode = OK_INSTALL"; +__ref._sstatuscode /*int*/ = __ref._ok_install /*int*/ ; +RDebugUtils.currentLine=27852838; + //BA.debugLineNum = 27852838;BA.debugLine="If sVerbose Then Log($\"${TAB}user asked to inst"; +if (true) break; + +case 37: +//if +this.state = 42; +if (__ref._sverbose /*boolean*/ ) { +this.state = 39; +;}if (true) break; + +case 39: +//C +this.state = 42; +parent.__c.LogImpl("927852838",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"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; +; +RDebugUtils.currentLine=27852841; + //BA.debugLineNum = 27852841;BA.debugLine="Finito"; +__ref._finito /*String*/ (null); +RDebugUtils.currentLine=27852842; + //BA.debugLineNum = 27852842;BA.debugLine="End Sub"; +if (true) break; +}} + catch (Exception e0) { + +if (catchState == 0) + throw e0; +else { + state = catchState; +ba.setLastException(e0);} + } + } + } +} +public void _updateapk(reparto_izca.keymon.lat.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(reparto_izca.keymon.lat.cl_appupdate parent,reparto_izca.keymon.lat.cl_appupdate __ref,boolean _pstatus) { +this.parent = parent; +this.__ref = __ref; +this._pstatus = _pstatus; +this.__ref = parent; +} +reparto_izca.keymon.lat.cl_appupdate __ref; +reparto_izca.keymon.lat.cl_appupdate parent; +boolean _pstatus; +boolean _okwebver = false; +long _fsize = 0L; + +@Override +public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="cl_appupdate"; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +RDebugUtils.currentLine=27787265; + //BA.debugLineNum = 27787265;BA.debugLine="LogColor(\"---- AppUpdating.UpdateApk\", LogColor1)"; +parent.__c.LogImpl("927787265","---- AppUpdating.UpdateApk",__ref._logcolor1 /*int*/ ); +RDebugUtils.currentLine=27787266; + //BA.debugLineNum = 27787266;BA.debugLine="If Not(pstatus) Then"; +if (true) break; + +case 1: +//if +this.state = 61; +if (parent.__c.Not(_pstatus)) { +this.state = 3; +}else { +this.state = 11; +}if (true) break; + +case 3: +//C +this.state = 4; +RDebugUtils.currentLine=27787267; + //BA.debugLineNum = 27787267;BA.debugLine="sStatusCode = ERR_NOPERM"; +__ref._sstatuscode /*int*/ = __ref._err_noperm /*int*/ ; +RDebugUtils.currentLine=27787268; + //BA.debugLineNum = 27787268;BA.debugLine="If sVerbose Then Log(TAB & \"no permissions from"; +if (true) break; + +case 4: +//if +this.state = 9; +if (__ref._sverbose /*boolean*/ ) { +this.state = 6; +;}if (true) break; + +case 6: +//C +this.state = 9; +parent.__c.LogImpl("927787268",parent.__c.TAB+"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; +RDebugUtils.currentLine=27787270; + //BA.debugLineNum = 27787270;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[1]; +; +RDebugUtils.currentLine=27787271; + //BA.debugLineNum = 27787271;BA.debugLine="If (IsValidCV And OkWebVer) Then 'here we"; +if (true) break; + +case 12: +//if +this.state = 60; +if ((__ref._isvalidcv /*boolean*/ (null) && _okwebver)) { +this.state = 14; +}if (true) break; + +case 14: +//C +this.state = 15; +RDebugUtils.currentLine=27787272; + //BA.debugLineNum = 27787272;BA.debugLine="If curver < webver Then"; +if (true) break; + +case 15: +//if +this.state = 59; +if ((double)(Double.parseDouble(__ref._curver /*String*/ ))<(double)(Double.parseDouble(__ref._webver /*String*/ ))) { +this.state = 17; +}else { +this.state = 52; +}if (true) break; + +case 17: +//C +this.state = 18; +RDebugUtils.currentLine=27787274; + //BA.debugLineNum = 27787274;BA.debugLine="If IsNumber(webfsize) Then"; +if (true) break; + +case 18: +//if +this.state = 31; +if (parent.__c.IsNumber(__ref._webfsize /*String*/ )) { +this.state = 20; +}if (true) break; + +case 20: +//C +this.state = 21; +RDebugUtils.currentLine=27787275; + //BA.debugLineNum = 27787275;BA.debugLine="Dim fsize As Long = webfsize"; +_fsize = (long)(Double.parseDouble(__ref._webfsize /*String*/ )); +RDebugUtils.currentLine=27787276; + //BA.debugLineNum = 27787276;BA.debugLine="If fsize*2 > GetFreeSpace Then"; +if (true) break; + +case 21: +//if +this.state = 30; +if (_fsize*2>__ref._getfreespace /*long*/ (null)) { +this.state = 23; +}if (true) break; + +case 23: +//C +this.state = 24; +RDebugUtils.currentLine=27787277; + //BA.debugLineNum = 27787277;BA.debugLine="sStatusCode = ERR_NOSPACE"; +__ref._sstatuscode /*int*/ = __ref._err_nospace /*int*/ ; +RDebugUtils.currentLine=27787278; + //BA.debugLineNum = 27787278;BA.debugLine="If sVerbose Then Log($\"${TAB}no enough avail"; +if (true) break; + +case 24: +//if +this.state = 29; +if (__ref._sverbose /*boolean*/ ) { +this.state = 26; +;}if (true) break; + +case 26: +//C +this.state = 29; +parent.__c.LogImpl("927787278",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"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; +; +RDebugUtils.currentLine=27787281; + //BA.debugLineNum = 27787281;BA.debugLine="If sStatusCode >= 0 Then"; + +case 31: +//if +this.state = 50; +if (__ref._sstatuscode /*int*/ >=0) { +this.state = 33; +}if (true) break; + +case 33: +//C +this.state = 34; +RDebugUtils.currentLine=27787282; + //BA.debugLineNum = 27787282;BA.debugLine="sStatusCode = OK_NEWERAPK 'info file tells"; +__ref._sstatuscode /*int*/ = __ref._ok_newerapk /*int*/ ; +RDebugUtils.currentLine=27787283; + //BA.debugLineNum = 27787283;BA.debugLine="If sVerbose Then Log($\"${TAB}Newer version av"; +if (true) break; + +case 34: +//if +this.state = 39; +if (__ref._sverbose /*boolean*/ ) { +this.state = 36; +;}if (true) break; + +case 36: +//C +this.state = 39; +parent.__c.LogImpl("927787283",(""+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; +; +RDebugUtils.currentLine=27787284; + //BA.debugLineNum = 27787284;BA.debugLine="If sNewVerApk = \"\" Then"; +if (true) break; + +case 40: +//if +this.state = 49; +if ((__ref._snewverapk /*String*/ ).equals("")) { +this.state = 42; +}if (true) break; + +case 42: +//C +this.state = 43; +RDebugUtils.currentLine=27787285; + //BA.debugLineNum = 27787285;BA.debugLine="sStatusCode = ERR_NOAPK"; +__ref._sstatuscode /*int*/ = __ref._err_noapk /*int*/ ; +RDebugUtils.currentLine=27787286; + //BA.debugLineNum = 27787286;BA.debugLine="If sVerbose Then Log($\"${TAB}missing apk fil"; +if (true) break; + +case 43: +//if +this.state = 48; +if (__ref._sverbose /*boolean*/ ) { +this.state = 45; +;}if (true) break; + +case 45: +//C +this.state = 48; +parent.__c.LogImpl("927787286",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"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; +RDebugUtils.currentLine=27787290; + //BA.debugLineNum = 27787290;BA.debugLine="sStatusCode = NO_NEWERAPK"; +__ref._sstatuscode /*int*/ = __ref._no_newerapk /*int*/ ; +RDebugUtils.currentLine=27787291; + //BA.debugLineNum = 27787291;BA.debugLine="If sVerbose Then Log($\"${TAB}No newer version"; +if (true) break; + +case 53: +//if +this.state = 58; +if (__ref._sverbose /*boolean*/ ) { +this.state = 55; +;}if (true) break; + +case 55: +//C +this.state = 58; +parent.__c.LogImpl("927787291",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"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; +; +RDebugUtils.currentLine=27787295; + //BA.debugLineNum = 27787295;BA.debugLine="TryApkUpdate 'if available and permitted, do"; +__ref._tryapkupdate /*void*/ (null); +RDebugUtils.currentLine=27787296; + //BA.debugLineNum = 27787296;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/dbrequestmanager.java b/B4A/Objects/src/reparto_izca/keymon/lat/dbrequestmanager.java new file mode 100644 index 0000000..73e7680 --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/dbrequestmanager.java @@ -0,0 +1,986 @@ +package reparto_izca.keymon.lat; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.B4AClass; +import anywheresoftware.b4a.BALayout; +import anywheresoftware.b4a.debug.*; + +public class dbrequestmanager 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, "reparto_izca.keymon.lat.dbrequestmanager"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", reparto_izca.keymon.lat.dbrequestmanager.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 static class _dbresult{ +public boolean IsInitialized; +public Object Tag; +public anywheresoftware.b4a.objects.collections.Map Columns; +public anywheresoftware.b4a.objects.collections.List Rows; +public void Initialize() { +IsInitialized = true; +Tag = new Object(); +Columns = new anywheresoftware.b4a.objects.collections.Map(); +Rows = new anywheresoftware.b4a.objects.collections.List(); +} +@Override + public String toString() { + return BA.TypeToString(this, false); + }} +public static class _dbcommand{ +public boolean IsInitialized; +public String Name; +public Object[] Parameters; +public void Initialize() { +IsInitialized = true; +Name = ""; +Parameters = new Object[0]; +{ +int d0 = Parameters.length; +for (int i0 = 0;i0 < d0;i0++) { +Parameters[i0] = new Object(); +} +} +; +} +@Override + public String toString() { + return BA.TypeToString(this, 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 b4a.example.dateutils _dateutils = null; +public reparto_izca.keymon.lat.main _main = null; +public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; +public reparto_izca.keymon.lat.foto _foto = null; +public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_izca.keymon.lat.starter _starter = null; +public reparto_izca.keymon.lat.tracker _tracker = null; +public reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public String _initialize(reparto_izca.keymon.lat.dbrequestmanager __ref,anywheresoftware.b4a.BA _ba,Object _target,String _connectorlink) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="dbrequestmanager"; +if (Debug.shouldDelegate(ba, "initialize", false)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba,_target,_connectorlink}));} +RDebugUtils.currentLine=64552960; + //BA.debugLineNum = 64552960;BA.debugLine="Public Sub Initialize (Target As Object, Connector"; +RDebugUtils.currentLine=64552961; + //BA.debugLineNum = 64552961;BA.debugLine="mTarget = Target"; +__ref._mtarget /*Object*/ = _target; +RDebugUtils.currentLine=64552962; + //BA.debugLineNum = 64552962;BA.debugLine="link = ConnectorLink"; +__ref._link /*String*/ = _connectorlink; +RDebugUtils.currentLine=64552963; + //BA.debugLineNum = 64552963;BA.debugLine="End Sub"; +return ""; +} +public String _executequery(reparto_izca.keymon.lat.dbrequestmanager __ref,reparto_izca.keymon.lat.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}));} +reparto_izca.keymon.lat.httpjob _j = null; +anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _ms = null; +anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out2 = null; +RDebugUtils.currentLine=64618496; + //BA.debugLineNum = 64618496;BA.debugLine="Public Sub ExecuteQuery(Command As DBCommand, Limi"; +RDebugUtils.currentLine=64618497; + //BA.debugLineNum = 64618497;BA.debugLine="Dim j As HttpJob"; +_j = new reparto_izca.keymon.lat.httpjob(); +RDebugUtils.currentLine=64618498; + //BA.debugLineNum = 64618498;BA.debugLine="Dim ms As OutputStream"; +_ms = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); +RDebugUtils.currentLine=64618499; + //BA.debugLineNum = 64618499;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=64618501; + //BA.debugLineNum = 64618501;BA.debugLine="WriteObject(Command.Name, out2)"; +__ref._writeobject /*String*/ (null,(Object)(_command.Name /*String*/ ),_out2); +RDebugUtils.currentLine=64618502; + //BA.debugLineNum = 64618502;BA.debugLine="WriteInt(Limit, out2)"; +__ref._writeint /*String*/ (null,_limit,_out2); +RDebugUtils.currentLine=64618503; + //BA.debugLineNum = 64618503;BA.debugLine="WriteList(Command.Parameters, out2)"; +__ref._writelist /*String*/ (null,anywheresoftware.b4a.keywords.Common.ArrayToList(_command.Parameters /*Object[]*/ ),_out2); +RDebugUtils.currentLine=64618504; + //BA.debugLineNum = 64618504;BA.debugLine="out2.Close"; +_out2.Close(); +RDebugUtils.currentLine=64618505; + //BA.debugLineNum = 64618505;BA.debugLine="j.PostBytes(link & \"?method=query\", ms.ToBytesArr"; +_j._postbytes /*String*/ (null,__ref._link /*String*/ +"?method=query",_ms.ToBytesArray()); +RDebugUtils.currentLine=64618506; + //BA.debugLineNum = 64618506;BA.debugLine="End Sub"; +return ""; +} +public reparto_izca.keymon.lat.dbrequestmanager._dbresult _handlejob(reparto_izca.keymon.lat.dbrequestmanager __ref,reparto_izca.keymon.lat.httpjob _job) throws Exception{ +__ref = this; +RDebugUtils.currentModule="dbrequestmanager"; +if (Debug.shouldDelegate(ba, "handlejob", false)) + {return ((reparto_izca.keymon.lat.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; +String _method = ""; +reparto_izca.keymon.lat.dbrequestmanager._dbresult _table = null; +int _numberofcolumns = 0; +int _i = 0; +Object[] _rowobjects = null; +int _col = 0; +Object _o = null; +int _rows = 0; +RDebugUtils.currentLine=65339392; + //BA.debugLineNum = 65339392;BA.debugLine="Public Sub HandleJob(Job As HttpJob) As DBResult"; +RDebugUtils.currentLine=65339394; + //BA.debugLineNum = 65339394;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*/ (null); +RDebugUtils.currentLine=65339395; + //BA.debugLineNum = 65339395;BA.debugLine="Dim cs As CompressedStreams"; +_cs = new anywheresoftware.b4a.randomaccessfile.CompressedStreams(); +RDebugUtils.currentLine=65339396; + //BA.debugLineNum = 65339396;BA.debugLine="In = cs.WrapInputStream(In, \"gzip\")"; +_in = _cs.WrapInputStream((java.io.InputStream)(_in.getObject()),"gzip"); +RDebugUtils.currentLine=65339397; + //BA.debugLineNum = 65339397;BA.debugLine="Dim serverVersion As Float = ReadObject(In) 'igno"; +_serverversion = (float)(BA.ObjectToNumber(__ref._readobject /*Object*/ (null,_in))); +RDebugUtils.currentLine=65339398; + //BA.debugLineNum = 65339398;BA.debugLine="Dim method As String = ReadObject(In)"; +_method = BA.ObjectToString(__ref._readobject /*Object*/ (null,_in)); +RDebugUtils.currentLine=65339399; + //BA.debugLineNum = 65339399;BA.debugLine="Dim table As DBResult"; +_table = new reparto_izca.keymon.lat.dbrequestmanager._dbresult(); +RDebugUtils.currentLine=65339400; + //BA.debugLineNum = 65339400;BA.debugLine="table.Initialize"; +_table.Initialize(); +RDebugUtils.currentLine=65339401; + //BA.debugLineNum = 65339401;BA.debugLine="table.Columns.Initialize"; +_table.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Initialize(); +RDebugUtils.currentLine=65339402; + //BA.debugLineNum = 65339402;BA.debugLine="table.rows.Initialize"; +_table.Rows /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=65339403; + //BA.debugLineNum = 65339403;BA.debugLine="table.Tag = Job.Tag"; +_table.Tag /*Object*/ = _job._tag /*Object*/ ; +RDebugUtils.currentLine=65339404; + //BA.debugLineNum = 65339404;BA.debugLine="If jobTagAnterior <> Job.Tag Then LogColor(\"Handl"; +if ((__ref._jobtaganterior /*String*/ ).equals(BA.ObjectToString(_job._tag /*Object*/ )) == false) { +__c.LogImpl("865339404","HandleJob: '"+BA.ObjectToString(_job._tag /*Object*/ )+"'",__c.Colors.Blue);}; +RDebugUtils.currentLine=65339405; + //BA.debugLineNum = 65339405;BA.debugLine="jobTagAnterior = Job.Tag 'Mod por CHV - 211023"; +__ref._jobtaganterior /*String*/ = BA.ObjectToString(_job._tag /*Object*/ ); +RDebugUtils.currentLine=65339406; + //BA.debugLineNum = 65339406;BA.debugLine="If method = \"query\" Then"; +if ((_method).equals("query")) { +RDebugUtils.currentLine=65339407; + //BA.debugLineNum = 65339407;BA.debugLine="Dim numberOfColumns As Int = ReadInt(In)"; +_numberofcolumns = __ref._readint /*int*/ (null,_in); +RDebugUtils.currentLine=65339408; + //BA.debugLineNum = 65339408;BA.debugLine="For i = 0 To numberOfColumns - 1"; +{ +final int step15 = 1; +final int limit15 = (int) (_numberofcolumns-1); +_i = (int) (0) ; +for (;_i <= limit15 ;_i = _i + step15 ) { +RDebugUtils.currentLine=65339409; + //BA.debugLineNum = 65339409;BA.debugLine="table.Columns.Put(ReadObject(In), i)"; +_table.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Put(__ref._readobject /*Object*/ (null,_in),(Object)(_i)); + } +}; +RDebugUtils.currentLine=65339411; + //BA.debugLineNum = 65339411;BA.debugLine="Do While ReadByte(In) = 1"; +while (__ref._readbyte /*byte*/ (null,_in)==1) { +RDebugUtils.currentLine=65339412; + //BA.debugLineNum = 65339412;BA.debugLine="Dim rowObjects(numberOfColumns) As Object"; +_rowobjects = new Object[_numberofcolumns]; +{ +int d0 = _rowobjects.length; +for (int i0 = 0;i0 < d0;i0++) { +_rowobjects[i0] = new Object(); +} +} +; +RDebugUtils.currentLine=65339413; + //BA.debugLineNum = 65339413;BA.debugLine="table.rows.Add(rowObjects)"; +_table.Rows /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(_rowobjects)); +RDebugUtils.currentLine=65339414; + //BA.debugLineNum = 65339414;BA.debugLine="For col = 0 To numberOfColumns - 1"; +{ +final int step21 = 1; +final int limit21 = (int) (_numberofcolumns-1); +_col = (int) (0) ; +for (;_col <= limit21 ;_col = _col + step21 ) { +RDebugUtils.currentLine=65339415; + //BA.debugLineNum = 65339415;BA.debugLine="Dim o As Object = ReadObject(In)"; +_o = __ref._readobject /*Object*/ (null,_in); +RDebugUtils.currentLine=65339416; + //BA.debugLineNum = 65339416;BA.debugLine="rowObjects(col) = o"; +_rowobjects[_col] = _o; + } +}; + } +; + }else +{RDebugUtils.currentLine=65339419; + //BA.debugLineNum = 65339419;BA.debugLine="Else If method = \"batch\" Then"; +if ((_method).equals("batch")) { +RDebugUtils.currentLine=65339420; + //BA.debugLineNum = 65339420;BA.debugLine="table.Columns.Put(\"AffectedRows\", 0)"; +_table.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)("AffectedRows"),(Object)(0)); +RDebugUtils.currentLine=65339421; + //BA.debugLineNum = 65339421;BA.debugLine="Dim rows As Int = ReadInt(In)"; +_rows = __ref._readint /*int*/ (null,_in); +RDebugUtils.currentLine=65339422; + //BA.debugLineNum = 65339422;BA.debugLine="For i = 0 To rows - 1"; +{ +final int step29 = 1; +final int limit29 = (int) (_rows-1); +_i = (int) (0) ; +for (;_i <= limit29 ;_i = _i + step29 ) { +RDebugUtils.currentLine=65339423; + //BA.debugLineNum = 65339423;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))})); + } +}; + }} +; +RDebugUtils.currentLine=65339426; + //BA.debugLineNum = 65339426;BA.debugLine="In.Close"; +_in.Close(); +RDebugUtils.currentLine=65339427; + //BA.debugLineNum = 65339427;BA.debugLine="Return table"; +if (true) return _table; +RDebugUtils.currentLine=65339428; + //BA.debugLineNum = 65339428;BA.debugLine="End Sub"; +return null; +} +public String _executecommand(reparto_izca.keymon.lat.dbrequestmanager __ref,reparto_izca.keymon.lat.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=64749568; + //BA.debugLineNum = 64749568;BA.debugLine="Public Sub ExecuteCommand(Command As DBCommand, Ta"; +RDebugUtils.currentLine=64749569; + //BA.debugLineNum = 64749569;BA.debugLine="ExecuteBatch(Array As DBCommand(Command), Tag)"; +__ref._executebatch /*String*/ (null,anywheresoftware.b4a.keywords.Common.ArrayToList(new reparto_izca.keymon.lat.dbrequestmanager._dbcommand[]{_command}),_tag); +RDebugUtils.currentLine=64749570; + //BA.debugLineNum = 64749570;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _bytestoimage(reparto_izca.keymon.lat.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=65536000; + //BA.debugLineNum = 65536000;BA.debugLine="Public Sub BytesToImage(bytes() As Byte) As Bitmap"; +RDebugUtils.currentLine=65536001; + //BA.debugLineNum = 65536001;BA.debugLine="Dim In As InputStream"; +_in = new anywheresoftware.b4a.objects.streams.File.InputStreamWrapper(); +RDebugUtils.currentLine=65536002; + //BA.debugLineNum = 65536002;BA.debugLine="In.InitializeFromBytesArray(bytes, 0, bytes.Lengt"; +_in.InitializeFromBytesArray(_bytes,(int) (0),_bytes.length); +RDebugUtils.currentLine=65536003; + //BA.debugLineNum = 65536003;BA.debugLine="Dim bmp As Bitmap"; +_bmp = new anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper(); +RDebugUtils.currentLine=65536004; + //BA.debugLineNum = 65536004;BA.debugLine="bmp.Initialize2(In)"; +_bmp.Initialize2((java.io.InputStream)(_in.getObject())); +RDebugUtils.currentLine=65536005; + //BA.debugLineNum = 65536005;BA.debugLine="Return bmp"; +if (true) return _bmp; +RDebugUtils.currentLine=65536006; + //BA.debugLineNum = 65536006;BA.debugLine="End Sub"; +return null; +} +public String _class_globals(reparto_izca.keymon.lat.dbrequestmanager __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="dbrequestmanager"; +RDebugUtils.currentLine=64487424; + //BA.debugLineNum = 64487424;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=64487425; + //BA.debugLineNum = 64487425;BA.debugLine="Private mTarget As Object"; +_mtarget = new Object(); +RDebugUtils.currentLine=64487426; + //BA.debugLineNum = 64487426;BA.debugLine="Type DBResult (Tag As Object, Columns As Map, Row"; +; +RDebugUtils.currentLine=64487427; + //BA.debugLineNum = 64487427;BA.debugLine="Type DBCommand (Name As String, Parameters() As O"; +; +RDebugUtils.currentLine=64487428; + //BA.debugLineNum = 64487428;BA.debugLine="Private link As String"; +_link = ""; +RDebugUtils.currentLine=64487429; + //BA.debugLineNum = 64487429;BA.debugLine="Private bc As ByteConverter"; +_bc = new anywheresoftware.b4a.agraham.byteconverter.ByteConverter(); +RDebugUtils.currentLine=64487430; + //BA.debugLineNum = 64487430;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=64487432; + //BA.debugLineNum = 64487432;BA.debugLine="Private VERSION As Float = 0.9"; +_version = (float) (0.9); +RDebugUtils.currentLine=64487433; + //BA.debugLineNum = 64487433;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=64487434; + //BA.debugLineNum = 64487434;BA.debugLine="Dim jobTagAnterior As String = \"\" 'Mod por CHV -"; +_jobtaganterior = ""; +RDebugUtils.currentLine=64487435; + //BA.debugLineNum = 64487435;BA.debugLine="End Sub"; +return ""; +} +public String _executebatch(reparto_izca.keymon.lat.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}));} +reparto_izca.keymon.lat.httpjob _j = null; +anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _ms = null; +anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out2 = null; +reparto_izca.keymon.lat.dbrequestmanager._dbcommand _command = null; +RDebugUtils.currentLine=64684032; + //BA.debugLineNum = 64684032;BA.debugLine="Public Sub ExecuteBatch(ListOfCommands As List, Ta"; +RDebugUtils.currentLine=64684033; + //BA.debugLineNum = 64684033;BA.debugLine="Dim j As HttpJob"; +_j = new reparto_izca.keymon.lat.httpjob(); +RDebugUtils.currentLine=64684034; + //BA.debugLineNum = 64684034;BA.debugLine="Dim ms As OutputStream"; +_ms = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); +RDebugUtils.currentLine=64684035; + //BA.debugLineNum = 64684035;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=64684036; + //BA.debugLineNum = 64684036;BA.debugLine="WriteInt(ListOfCommands.Size, out2)"; +__ref._writeint /*String*/ (null,_listofcommands.getSize(),_out2); +RDebugUtils.currentLine=64684037; + //BA.debugLineNum = 64684037;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 = (reparto_izca.keymon.lat.dbrequestmanager._dbcommand)(group5.Get(index5)); +RDebugUtils.currentLine=64684038; + //BA.debugLineNum = 64684038;BA.debugLine="WriteObject(Command.Name, out2)"; +__ref._writeobject /*String*/ (null,(Object)(_command.Name /*String*/ ),_out2); +RDebugUtils.currentLine=64684039; + //BA.debugLineNum = 64684039;BA.debugLine="WriteList(Command.Parameters, out2)"; +__ref._writelist /*String*/ (null,anywheresoftware.b4a.keywords.Common.ArrayToList(_command.Parameters /*Object[]*/ ),_out2); + } +}; +RDebugUtils.currentLine=64684041; + //BA.debugLineNum = 64684041;BA.debugLine="out2.Close"; +_out2.Close(); +RDebugUtils.currentLine=64684042; + //BA.debugLineNum = 64684042;BA.debugLine="j.PostBytes(link & \"?method=batch\", ms.ToBytesArr"; +_j._postbytes /*String*/ (null,__ref._link /*String*/ +"?method=batch",_ms.ToBytesArray()); +RDebugUtils.currentLine=64684043; + //BA.debugLineNum = 64684043;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _startjob(reparto_izca.keymon.lat.dbrequestmanager __ref,reparto_izca.keymon.lat.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=64815104; + //BA.debugLineNum = 64815104;BA.debugLine="Private Sub StartJob(j As HttpJob, MemoryStream As"; +RDebugUtils.currentLine=64815105; + //BA.debugLineNum = 64815105;BA.debugLine="j.Initialize(\"DBRequest\", mTarget)"; +_j._initialize /*String*/ (null,ba,"DBRequest",__ref._mtarget /*Object*/ ); +RDebugUtils.currentLine=64815106; + //BA.debugLineNum = 64815106;BA.debugLine="j.Tag = Tag"; +_j._tag /*Object*/ = _tag; +RDebugUtils.currentLine=64815107; + //BA.debugLineNum = 64815107;BA.debugLine="MemoryStream.InitializeToBytesArray(0)"; +_memorystream.InitializeToBytesArray((int) (0)); +RDebugUtils.currentLine=64815108; + //BA.debugLineNum = 64815108;BA.debugLine="Dim compress As CompressedStreams"; +_compress = new anywheresoftware.b4a.randomaccessfile.CompressedStreams(); +RDebugUtils.currentLine=64815109; + //BA.debugLineNum = 64815109;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=64815110; + //BA.debugLineNum = 64815110;BA.debugLine="WriteObject(VERSION, out)"; +__ref._writeobject /*String*/ (null,(Object)(__ref._version /*float*/ ),_out); +RDebugUtils.currentLine=64815111; + //BA.debugLineNum = 64815111;BA.debugLine="Return out"; +if (true) return _out; +RDebugUtils.currentLine=64815112; + //BA.debugLineNum = 64815112;BA.debugLine="End Sub"; +return null; +} +public String _writeint(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=65142784; + //BA.debugLineNum = 65142784;BA.debugLine="Private Sub WriteInt(i As Int, out As OutputStream"; +RDebugUtils.currentLine=65142785; + //BA.debugLineNum = 65142785;BA.debugLine="Dim data() As Byte"; +_data = new byte[(int) (0)]; +; +RDebugUtils.currentLine=65142786; + //BA.debugLineNum = 65142786;BA.debugLine="data = bc.IntsToBytes(Array As Int(i))"; +_data = __ref._bc /*anywheresoftware.b4a.agraham.byteconverter.ByteConverter*/ .IntsToBytes(new int[]{_i}); +RDebugUtils.currentLine=65142787; + //BA.debugLineNum = 65142787;BA.debugLine="out.WriteBytes(data, 0, data.Length)"; +_out.WriteBytes(_data,(int) (0),_data.length); +RDebugUtils.currentLine=65142788; + //BA.debugLineNum = 65142788;BA.debugLine="End Sub"; +return ""; +} +public String _writeobject(reparto_izca.keymon.lat.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=64946176; + //BA.debugLineNum = 64946176;BA.debugLine="Private Sub WriteObject(o As Object, out As Output"; +RDebugUtils.currentLine=64946177; + //BA.debugLineNum = 64946177;BA.debugLine="Dim data() As Byte"; +_data = new byte[(int) (0)]; +; +RDebugUtils.currentLine=64946178; + //BA.debugLineNum = 64946178;BA.debugLine="tempArray(0) = o"; +__ref._temparray /*Object[]*/ [(int) (0)] = _o; +RDebugUtils.currentLine=64946179; + //BA.debugLineNum = 64946179;BA.debugLine="If tempArray(0) = Null Then"; +if (__ref._temparray /*Object[]*/ [(int) (0)]== null) { +RDebugUtils.currentLine=64946180; + //BA.debugLineNum = 64946180;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=64946181; + //BA.debugLineNum = 64946181;BA.debugLine="Else If tempArray(0) Is Short Then"; +if (__ref._temparray /*Object[]*/ [(int) (0)] instanceof Short) { +RDebugUtils.currentLine=64946182; + //BA.debugLineNum = 64946182;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=64946183; + //BA.debugLineNum = 64946183;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=64946184; + //BA.debugLineNum = 64946184;BA.debugLine="Else If tempArray(0) Is Int Then"; +if (__ref._temparray /*Object[]*/ [(int) (0)] instanceof Integer) { +RDebugUtils.currentLine=64946185; + //BA.debugLineNum = 64946185;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=64946186; + //BA.debugLineNum = 64946186;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=64946187; + //BA.debugLineNum = 64946187;BA.debugLine="Else If tempArray(0) Is Float Then"; +if (__ref._temparray /*Object[]*/ [(int) (0)] instanceof Float) { +RDebugUtils.currentLine=64946188; + //BA.debugLineNum = 64946188;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=64946189; + //BA.debugLineNum = 64946189;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=64946190; + //BA.debugLineNum = 64946190;BA.debugLine="Else If tempArray(0) Is Double Then"; +if (__ref._temparray /*Object[]*/ [(int) (0)] instanceof Double) { +RDebugUtils.currentLine=64946191; + //BA.debugLineNum = 64946191;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=64946192; + //BA.debugLineNum = 64946192;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=64946193; + //BA.debugLineNum = 64946193;BA.debugLine="Else If tempArray(0) Is Long Then"; +if (__ref._temparray /*Object[]*/ [(int) (0)] instanceof Long) { +RDebugUtils.currentLine=64946194; + //BA.debugLineNum = 64946194;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=64946195; + //BA.debugLineNum = 64946195;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=64946196; + //BA.debugLineNum = 64946196;BA.debugLine="Else If tempArray(0) Is Boolean Then"; +if (__ref._temparray /*Object[]*/ [(int) (0)] instanceof Boolean) { +RDebugUtils.currentLine=64946197; + //BA.debugLineNum = 64946197;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=64946198; + //BA.debugLineNum = 64946198;BA.debugLine="Dim b As Boolean = 0"; +_b = BA.ObjectToBoolean(0); +RDebugUtils.currentLine=64946199; + //BA.debugLineNum = 64946199;BA.debugLine="Dim data(1) As Byte"; +_data = new byte[(int) (1)]; +; +RDebugUtils.currentLine=64946200; + //BA.debugLineNum = 64946200;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=64946201; + //BA.debugLineNum = 64946201;BA.debugLine="Else If GetType(tempArray(0)) = \"[B\" Then"; +if ((__c.GetType(__ref._temparray /*Object[]*/ [(int) (0)])).equals("[B")) { +RDebugUtils.currentLine=64946202; + //BA.debugLineNum = 64946202;BA.debugLine="data = o"; +_data = (byte[])(_o); +RDebugUtils.currentLine=64946203; + //BA.debugLineNum = 64946203;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=64946204; + //BA.debugLineNum = 64946204;BA.debugLine="WriteInt(data.Length, out)"; +__ref._writeint /*String*/ (null,_data.length,_out); + }else { +RDebugUtils.currentLine=64946206; + //BA.debugLineNum = 64946206;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=64946207; + //BA.debugLineNum = 64946207;BA.debugLine="data = bc.StringToBytes(o, \"UTF8\")"; +_data = __ref._bc /*anywheresoftware.b4a.agraham.byteconverter.ByteConverter*/ .StringToBytes(BA.ObjectToString(_o),"UTF8"); +RDebugUtils.currentLine=64946208; + //BA.debugLineNum = 64946208;BA.debugLine="WriteInt(data.Length, out)"; +__ref._writeint /*String*/ (null,_data.length,_out); + }}}}}}}} +; +RDebugUtils.currentLine=64946210; + //BA.debugLineNum = 64946210;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=64946211; + //BA.debugLineNum = 64946211;BA.debugLine="End Sub"; +return ""; +} +public String _writelist(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=64880640; + //BA.debugLineNum = 64880640;BA.debugLine="Private Sub WriteList(Parameters As List, out As O"; +RDebugUtils.currentLine=64880641; + //BA.debugLineNum = 64880641;BA.debugLine="Dim data() As Byte"; +_data = new byte[(int) (0)]; +; +RDebugUtils.currentLine=64880642; + //BA.debugLineNum = 64880642;BA.debugLine="If Parameters = Null Or Parameters.IsInitialized"; +if (_parameters== null || _parameters.IsInitialized()==__c.False) { +RDebugUtils.currentLine=64880643; + //BA.debugLineNum = 64880643;BA.debugLine="Dim Parameters As List"; +_parameters = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=64880644; + //BA.debugLineNum = 64880644;BA.debugLine="Parameters.Initialize"; +_parameters.Initialize(); + }; +RDebugUtils.currentLine=64880646; + //BA.debugLineNum = 64880646;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=64880647; + //BA.debugLineNum = 64880647;BA.debugLine="out.WriteBytes(data, 0, data.Length)"; +_out.WriteBytes(_data,(int) (0),_data.length); +RDebugUtils.currentLine=64880648; + //BA.debugLineNum = 64880648;BA.debugLine="For Each o As Object In Parameters"; +{ +final anywheresoftware.b4a.BA.IterableList group8 = _parameters; +final int groupLen8 = group8.getSize() +;int index8 = 0; +; +for (; index8 < groupLen8;index8++){ +_o = group8.Get(index8); +RDebugUtils.currentLine=64880649; + //BA.debugLineNum = 64880649;BA.debugLine="WriteObject(o, out)"; +__ref._writeobject /*String*/ (null,_o,_out); + } +}; +RDebugUtils.currentLine=64880651; + //BA.debugLineNum = 64880651;BA.debugLine="End Sub"; +return ""; +} +public byte[] _filetobytes(reparto_izca.keymon.lat.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=65404928; + //BA.debugLineNum = 65404928;BA.debugLine="Public Sub FileToBytes(Dir As String, FileName As"; +RDebugUtils.currentLine=65404929; + //BA.debugLineNum = 65404929;BA.debugLine="Dim out As OutputStream"; +_out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); +RDebugUtils.currentLine=65404930; + //BA.debugLineNum = 65404930;BA.debugLine="out.InitializeToBytesArray(0)"; +_out.InitializeToBytesArray((int) (0)); +RDebugUtils.currentLine=65404931; + //BA.debugLineNum = 65404931;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=65404932; + //BA.debugLineNum = 65404932;BA.debugLine="File.Copy2(In, out)"; +__c.File.Copy2((java.io.InputStream)(_in.getObject()),(java.io.OutputStream)(_out.getObject())); +RDebugUtils.currentLine=65404933; + //BA.debugLineNum = 65404933;BA.debugLine="out.Close"; +_out.Close(); +RDebugUtils.currentLine=65404934; + //BA.debugLineNum = 65404934;BA.debugLine="Return out.ToBytesArray"; +if (true) return _out.ToBytesArray(); +RDebugUtils.currentLine=65404935; + //BA.debugLineNum = 65404935;BA.debugLine="End Sub"; +return null; +} +public Object _readobject(reparto_izca.keymon.lat.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; +byte _b = (byte)0; +int _len = 0; +RDebugUtils.currentLine=65011712; + //BA.debugLineNum = 65011712;BA.debugLine="Private Sub ReadObject(In As InputStream) As Objec"; +RDebugUtils.currentLine=65011713; + //BA.debugLineNum = 65011713;BA.debugLine="Dim data(1) As Byte"; +_data = new byte[(int) (1)]; +; +RDebugUtils.currentLine=65011714; + //BA.debugLineNum = 65011714;BA.debugLine="In.ReadBytes(data, 0, 1)"; +_in.ReadBytes(_data,(int) (0),(int) (1)); +RDebugUtils.currentLine=65011715; + //BA.debugLineNum = 65011715;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=65011717; + //BA.debugLineNum = 65011717;BA.debugLine="Return Null"; +if (true) return __c.Null; + break; } +case 1: { +RDebugUtils.currentLine=65011719; + //BA.debugLineNum = 65011719;BA.debugLine="Dim data(2) As Byte"; +_data = new byte[(int) (2)]; +; +RDebugUtils.currentLine=65011720; + //BA.debugLineNum = 65011720;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=65011722; + //BA.debugLineNum = 65011722;BA.debugLine="Dim data(4) As Byte"; +_data = new byte[(int) (4)]; +; +RDebugUtils.currentLine=65011723; + //BA.debugLineNum = 65011723;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=65011725; + //BA.debugLineNum = 65011725;BA.debugLine="Dim data(8) As Byte"; +_data = new byte[(int) (8)]; +; +RDebugUtils.currentLine=65011726; + //BA.debugLineNum = 65011726;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=65011728; + //BA.debugLineNum = 65011728;BA.debugLine="Dim data(4) As Byte"; +_data = new byte[(int) (4)]; +; +RDebugUtils.currentLine=65011729; + //BA.debugLineNum = 65011729;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=65011731; + //BA.debugLineNum = 65011731;BA.debugLine="Dim data(8) As Byte"; +_data = new byte[(int) (8)]; +; +RDebugUtils.currentLine=65011732; + //BA.debugLineNum = 65011732;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=65011734; + //BA.debugLineNum = 65011734;BA.debugLine="Dim b As Byte = ReadByte(In)"; +_b = __ref._readbyte /*byte*/ (null,_in); +RDebugUtils.currentLine=65011735; + //BA.debugLineNum = 65011735;BA.debugLine="Return b = 1"; +if (true) return (Object)(_b==1); + break; } +case 7: { +RDebugUtils.currentLine=65011737; + //BA.debugLineNum = 65011737;BA.debugLine="Dim len As Int = ReadInt(In)"; +_len = __ref._readint /*int*/ (null,_in); +RDebugUtils.currentLine=65011738; + //BA.debugLineNum = 65011738;BA.debugLine="Dim data(len) As Byte"; +_data = new byte[_len]; +; +RDebugUtils.currentLine=65011739; + //BA.debugLineNum = 65011739;BA.debugLine="Return ReadBytesFully(In, data, data.Length)"; +if (true) return (Object)(__ref._readbytesfully /*byte[]*/ (null,_in,_data,_data.length)); + break; } +default: { +RDebugUtils.currentLine=65011741; + //BA.debugLineNum = 65011741;BA.debugLine="Dim len As Int = ReadInt(In)"; +_len = __ref._readint /*int*/ (null,_in); +RDebugUtils.currentLine=65011742; + //BA.debugLineNum = 65011742;BA.debugLine="Dim data(len) As Byte"; +_data = new byte[_len]; +; +RDebugUtils.currentLine=65011743; + //BA.debugLineNum = 65011743;BA.debugLine="ReadBytesFully(In, data, data.Length)"; +__ref._readbytesfully /*byte[]*/ (null,_in,_data,_data.length); +RDebugUtils.currentLine=65011744; + //BA.debugLineNum = 65011744;BA.debugLine="Return BytesToString(data, 0, data.Length, \"UTF"; +if (true) return (Object)(__c.BytesToString(_data,(int) (0),_data.length,"UTF8")); + break; } +} +; +RDebugUtils.currentLine=65011746; + //BA.debugLineNum = 65011746;BA.debugLine="End Sub"; +return null; +} +public int _readint(reparto_izca.keymon.lat.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=65208320; + //BA.debugLineNum = 65208320;BA.debugLine="Private Sub ReadInt(In As InputStream) As Int"; +RDebugUtils.currentLine=65208321; + //BA.debugLineNum = 65208321;BA.debugLine="Dim data(4) As Byte"; +_data = new byte[(int) (4)]; +; +RDebugUtils.currentLine=65208322; + //BA.debugLineNum = 65208322;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=65208323; + //BA.debugLineNum = 65208323;BA.debugLine="End Sub"; +return 0; +} +public byte _readbyte(reparto_izca.keymon.lat.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=65273856; + //BA.debugLineNum = 65273856;BA.debugLine="Private Sub ReadByte(In As InputStream) As Byte"; +RDebugUtils.currentLine=65273857; + //BA.debugLineNum = 65273857;BA.debugLine="Dim data(1) As Byte"; +_data = new byte[(int) (1)]; +; +RDebugUtils.currentLine=65273858; + //BA.debugLineNum = 65273858;BA.debugLine="In.ReadBytes(data, 0, 1)"; +_in.ReadBytes(_data,(int) (0),(int) (1)); +RDebugUtils.currentLine=65273859; + //BA.debugLineNum = 65273859;BA.debugLine="Return data(0)"; +if (true) return _data[(int) (0)]; +RDebugUtils.currentLine=65273860; + //BA.debugLineNum = 65273860;BA.debugLine="End Sub"; +return (byte)0; +} +public byte[] _imagetobytes(reparto_izca.keymon.lat.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=65470464; + //BA.debugLineNum = 65470464;BA.debugLine="Public Sub ImageToBytes(Image As Bitmap) As Byte()"; +RDebugUtils.currentLine=65470465; + //BA.debugLineNum = 65470465;BA.debugLine="Dim out As OutputStream"; +_out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); +RDebugUtils.currentLine=65470466; + //BA.debugLineNum = 65470466;BA.debugLine="out.InitializeToBytesArray(0)"; +_out.InitializeToBytesArray((int) (0)); +RDebugUtils.currentLine=65470467; + //BA.debugLineNum = 65470467;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=65470468; + //BA.debugLineNum = 65470468;BA.debugLine="out.Close"; +_out.Close(); +RDebugUtils.currentLine=65470469; + //BA.debugLineNum = 65470469;BA.debugLine="Return out.ToBytesArray"; +if (true) return _out.ToBytesArray(); +RDebugUtils.currentLine=65470470; + //BA.debugLineNum = 65470470;BA.debugLine="End Sub"; +return null; +} +public String _printtable(reparto_izca.keymon.lat.dbrequestmanager __ref,reparto_izca.keymon.lat.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=65601536; + //BA.debugLineNum = 65601536;BA.debugLine="Public Sub PrintTable(Table As DBResult)"; +RDebugUtils.currentLine=65601537; + //BA.debugLineNum = 65601537;BA.debugLine="Log(\"Tag: \" & Table.Tag & \", Columns: \" & Table.C"; +__c.LogImpl("865601537","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=65601538; + //BA.debugLineNum = 65601538;BA.debugLine="Dim sb As StringBuilder"; +_sb = new anywheresoftware.b4a.keywords.StringBuilderWrapper(); +RDebugUtils.currentLine=65601539; + //BA.debugLineNum = 65601539;BA.debugLine="sb.Initialize"; +_sb.Initialize(); +RDebugUtils.currentLine=65601540; + //BA.debugLineNum = 65601540;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=65601541; + //BA.debugLineNum = 65601541;BA.debugLine="sb.Append(col).Append(TAB)"; +_sb.Append(BA.ObjectToString(_col)).Append(__c.TAB); + } +}; +RDebugUtils.currentLine=65601543; + //BA.debugLineNum = 65601543;BA.debugLine="Log(sb.ToString)"; +__c.LogImpl("865601543",_sb.ToString(),0); +RDebugUtils.currentLine=65601544; + //BA.debugLineNum = 65601544;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=65601545; + //BA.debugLineNum = 65601545;BA.debugLine="Dim sb As StringBuilder"; +_sb = new anywheresoftware.b4a.keywords.StringBuilderWrapper(); +RDebugUtils.currentLine=65601546; + //BA.debugLineNum = 65601546;BA.debugLine="sb.Initialize"; +_sb.Initialize(); +RDebugUtils.currentLine=65601547; + //BA.debugLineNum = 65601547;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=65601548; + //BA.debugLineNum = 65601548;BA.debugLine="sb.Append(record).Append(TAB)"; +_sb.Append(BA.ObjectToString(_record)).Append(__c.TAB); + } +}; +RDebugUtils.currentLine=65601550; + //BA.debugLineNum = 65601550;BA.debugLine="ToastMessageShow(sb.ToString, True)"; +__c.ToastMessageShow(BA.ObjectToCharSequence(_sb.ToString()),__c.True); + } +}; +RDebugUtils.currentLine=65601552; + //BA.debugLineNum = 65601552;BA.debugLine="End Sub"; +return ""; +} +public byte[] _readbytesfully(reparto_izca.keymon.lat.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=65077248; + //BA.debugLineNum = 65077248;BA.debugLine="Private Sub ReadBytesFully(In As InputStream, Data"; +RDebugUtils.currentLine=65077249; + //BA.debugLineNum = 65077249;BA.debugLine="Dim count = 0, read As Int"; +_count = (int) (0); +_read = 0; +RDebugUtils.currentLine=65077250; + //BA.debugLineNum = 65077250;BA.debugLine="Do While count < Len And read > -1"; +while (_count<_len && _read>-1) { +RDebugUtils.currentLine=65077251; + //BA.debugLineNum = 65077251;BA.debugLine="read = In.ReadBytes(Data, count, Len - count)"; +_read = _in.ReadBytes(_data,_count,(int) (_len-_count)); +RDebugUtils.currentLine=65077252; + //BA.debugLineNum = 65077252;BA.debugLine="count = count + read"; +_count = (int) (_count+_read); + } +; +RDebugUtils.currentLine=65077254; + //BA.debugLineNum = 65077254;BA.debugLine="Return Data"; +if (true) return _data; +RDebugUtils.currentLine=65077255; + //BA.debugLineNum = 65077255;BA.debugLine="End Sub"; +return null; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/designerscripts/LS_check.java b/B4A/Objects/src/reparto_izca/keymon/lat/designerscripts/LS_check.java new file mode 100644 index 0000000..1562b11 --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/designerscripts/LS_check.java @@ -0,0 +1,16 @@ +package reparto_izca.keymon.lat.designerscripts; +import anywheresoftware.b4a.objects.TextViewWrapper; +import anywheresoftware.b4a.objects.ImageViewWrapper; +import anywheresoftware.b4a.BA; + + +public class LS_check{ + +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); +//BA.debugLineNum = 2;BA.debugLine="AutoScaleAll"[check/General script] +anywheresoftware.b4a.keywords.LayoutBuilder.scaleAll(views); + +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/designerscripts/LS_checklist.java b/B4A/Objects/src/reparto_izca/keymon/lat/designerscripts/LS_checklist.java new file mode 100644 index 0000000..883df58 --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/designerscripts/LS_checklist.java @@ -0,0 +1,16 @@ +package reparto_izca.keymon.lat.designerscripts; +import anywheresoftware.b4a.objects.TextViewWrapper; +import anywheresoftware.b4a.objects.ImageViewWrapper; +import anywheresoftware.b4a.BA; + + +public class LS_checklist{ + +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); +//BA.debugLineNum = 2;BA.debugLine="AutoScaleAll"[checklist/General script] +anywheresoftware.b4a.keywords.LayoutBuilder.scaleAll(views); + +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/designerscripts/LS_clientes.java b/B4A/Objects/src/reparto_izca/keymon/lat/designerscripts/LS_clientes.java new file mode 100644 index 0000000..2344b41 --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/designerscripts/LS_clientes.java @@ -0,0 +1,16 @@ +package reparto_izca.keymon.lat.designerscripts; +import anywheresoftware.b4a.objects.TextViewWrapper; +import anywheresoftware.b4a.objects.ImageViewWrapper; +import anywheresoftware.b4a.BA; + + +public class LS_clientes{ + +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); +//BA.debugLineNum = 2;BA.debugLine="AutoScaleAll 'uncomment to scale all views based on the device physical size."[clientes/General script] +anywheresoftware.b4a.keywords.LayoutBuilder.scaleAll(views); + +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/designerscripts/LS_detalle_promo.java b/B4A/Objects/src/reparto_izca/keymon/lat/designerscripts/LS_detalle_promo.java new file mode 100644 index 0000000..00ef4d8 --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/designerscripts/LS_detalle_promo.java @@ -0,0 +1,16 @@ +package reparto_izca.keymon.lat.designerscripts; +import anywheresoftware.b4a.objects.TextViewWrapper; +import anywheresoftware.b4a.objects.ImageViewWrapper; +import anywheresoftware.b4a.BA; + + +public class LS_detalle_promo{ + +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); +//BA.debugLineNum = 2;BA.debugLine="AutoScaleAll"[detalle_promo/General script] +anywheresoftware.b4a.keywords.LayoutBuilder.scaleAll(views); + +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/designerscripts/LS_detalleventa.java b/B4A/Objects/src/reparto_izca/keymon/lat/designerscripts/LS_detalleventa.java new file mode 100644 index 0000000..360a7bb --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/designerscripts/LS_detalleventa.java @@ -0,0 +1,16 @@ +package reparto_izca.keymon.lat.designerscripts; +import anywheresoftware.b4a.objects.TextViewWrapper; +import anywheresoftware.b4a.objects.ImageViewWrapper; +import anywheresoftware.b4a.BA; + + +public class LS_detalleventa{ + +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); +//BA.debugLineNum = 2;BA.debugLine="AutoScaleAll 'uncomment to scale all views based on the device physical size."[detalleVenta/General script] +anywheresoftware.b4a.keywords.LayoutBuilder.scaleAll(views); + +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/designerscripts/LS_folioabono.java b/B4A/Objects/src/reparto_izca/keymon/lat/designerscripts/LS_folioabono.java new file mode 100644 index 0000000..42bfc96 --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/designerscripts/LS_folioabono.java @@ -0,0 +1,16 @@ +package reparto_izca.keymon.lat.designerscripts; +import anywheresoftware.b4a.objects.TextViewWrapper; +import anywheresoftware.b4a.objects.ImageViewWrapper; +import anywheresoftware.b4a.BA; + + +public class LS_folioabono{ + +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); +//BA.debugLineNum = 2;BA.debugLine="AutoScaleAll"[folioabono/General script] +anywheresoftware.b4a.keywords.LayoutBuilder.scaleAll(views); + +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/designerscripts/LS_historico.java b/B4A/Objects/src/reparto_izca/keymon/lat/designerscripts/LS_historico.java new file mode 100644 index 0000000..b2fe07a --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/designerscripts/LS_historico.java @@ -0,0 +1,16 @@ +package reparto_izca.keymon.lat.designerscripts; +import anywheresoftware.b4a.objects.TextViewWrapper; +import anywheresoftware.b4a.objects.ImageViewWrapper; +import anywheresoftware.b4a.BA; + + +public class LS_historico{ + +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); +//BA.debugLineNum = 2;BA.debugLine="AutoScaleAll 'uncomment to scale all views based on the device physical size."[historico/General script] +anywheresoftware.b4a.keywords.LayoutBuilder.scaleAll(views); + +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/designerscripts/LS_login.java b/B4A/Objects/src/reparto_izca/keymon/lat/designerscripts/LS_login.java new file mode 100644 index 0000000..d28bf2b --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/designerscripts/LS_login.java @@ -0,0 +1,16 @@ +package reparto_izca.keymon.lat.designerscripts; +import anywheresoftware.b4a.objects.TextViewWrapper; +import anywheresoftware.b4a.objects.ImageViewWrapper; +import anywheresoftware.b4a.BA; + + +public class LS_login{ + +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); +//BA.debugLineNum = 2;BA.debugLine="AutoScaleAll 'uncomment to scale all views based on the device physical size."[login/General script] +anywheresoftware.b4a.keywords.LayoutBuilder.scaleAll(views); + +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/designerscripts/LS_mainpage.java b/B4A/Objects/src/reparto_izca/keymon/lat/designerscripts/LS_mainpage.java new file mode 100644 index 0000000..0086322 --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/designerscripts/LS_mainpage.java @@ -0,0 +1,16 @@ +package reparto_izca.keymon.lat.designerscripts; +import anywheresoftware.b4a.objects.TextViewWrapper; +import anywheresoftware.b4a.objects.ImageViewWrapper; +import anywheresoftware.b4a.BA; + + +public class LS_mainpage{ + +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); +//BA.debugLineNum = 2;BA.debugLine="AutoScaleAll"[MainPage/General script] +anywheresoftware.b4a.keywords.LayoutBuilder.scaleAll(views); + +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/designerscripts/LS_mapa_cliente.java b/B4A/Objects/src/reparto_izca/keymon/lat/designerscripts/LS_mapa_cliente.java new file mode 100644 index 0000000..59c4149 --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/designerscripts/LS_mapa_cliente.java @@ -0,0 +1,16 @@ +package reparto_izca.keymon.lat.designerscripts; +import anywheresoftware.b4a.objects.TextViewWrapper; +import anywheresoftware.b4a.objects.ImageViewWrapper; +import anywheresoftware.b4a.BA; + + +public class LS_mapa_cliente{ + +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); +//BA.debugLineNum = 2;BA.debugLine="AutoScaleAll"[mapa_cliente/General script] +anywheresoftware.b4a.keywords.LayoutBuilder.scaleAll(views); + +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/designerscripts/LS_mapa_rutas.java b/B4A/Objects/src/reparto_izca/keymon/lat/designerscripts/LS_mapa_rutas.java new file mode 100644 index 0000000..2a801ca --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/designerscripts/LS_mapa_rutas.java @@ -0,0 +1,16 @@ +package reparto_izca.keymon.lat.designerscripts; +import anywheresoftware.b4a.objects.TextViewWrapper; +import anywheresoftware.b4a.objects.ImageViewWrapper; +import anywheresoftware.b4a.BA; + + +public class LS_mapa_rutas{ + +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); +//BA.debugLineNum = 2;BA.debugLine="AutoScaleAll"[mapa_rutas/General script] +anywheresoftware.b4a.keywords.LayoutBuilder.scaleAll(views); + +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/designerscripts/LS_no_venta.java b/B4A/Objects/src/reparto_izca/keymon/lat/designerscripts/LS_no_venta.java new file mode 100644 index 0000000..c4b6ec4 --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/designerscripts/LS_no_venta.java @@ -0,0 +1,16 @@ +package reparto_izca.keymon.lat.designerscripts; +import anywheresoftware.b4a.objects.TextViewWrapper; +import anywheresoftware.b4a.objects.ImageViewWrapper; +import anywheresoftware.b4a.BA; + + +public class LS_no_venta{ + +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); +//BA.debugLineNum = 2;BA.debugLine="AutoScaleAll 'uncomment to scale all views based on the device physical size."[no_venta/General script] +anywheresoftware.b4a.keywords.LayoutBuilder.scaleAll(views); + +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/designerscripts/LS_panel_pick_ciego.java b/B4A/Objects/src/reparto_izca/keymon/lat/designerscripts/LS_panel_pick_ciego.java new file mode 100644 index 0000000..b1adecd --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/designerscripts/LS_panel_pick_ciego.java @@ -0,0 +1,16 @@ +package reparto_izca.keymon.lat.designerscripts; +import anywheresoftware.b4a.objects.TextViewWrapper; +import anywheresoftware.b4a.objects.ImageViewWrapper; +import anywheresoftware.b4a.BA; + + +public class LS_panel_pick_ciego{ + +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); +//BA.debugLineNum = 2;BA.debugLine="AutoScaleAll"[panel_pick_ciego/General script] +anywheresoftware.b4a.keywords.LayoutBuilder.scaleAll(views); + +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/designerscripts/LS_pedido.java b/B4A/Objects/src/reparto_izca/keymon/lat/designerscripts/LS_pedido.java new file mode 100644 index 0000000..81b448e --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/designerscripts/LS_pedido.java @@ -0,0 +1,22 @@ +package reparto_izca.keymon.lat.designerscripts; +import anywheresoftware.b4a.objects.TextViewWrapper; +import anywheresoftware.b4a.objects.ImageViewWrapper; +import anywheresoftware.b4a.BA; + + +public class LS_pedido{ + +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); +//BA.debugLineNum = 2;BA.debugLine="AutoScaleAll 'uncomment to scale all views based on the device physical size."[pedido/General script] +anywheresoftware.b4a.keywords.LayoutBuilder.scaleAll(views); +//BA.debugLineNum = 3;BA.debugLine="i_fotol.SetLeftAndRight(0,100%x)"[pedido/General script] +views.get("i_fotol").vw.setLeft((int)(0d)); +views.get("i_fotol").vw.setWidth((int)((100d / 100 * width) - (0d))); +//BA.debugLineNum = 4;BA.debugLine="i_fotol.SetTopAndBottom(0,100%y)"[pedido/General script] +views.get("i_fotol").vw.setTop((int)(0d)); +views.get("i_fotol").vw.setHeight((int)((100d / 100 * height) - (0d))); + +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/designerscripts/LS_principal.java b/B4A/Objects/src/reparto_izca/keymon/lat/designerscripts/LS_principal.java new file mode 100644 index 0000000..2f14d34 --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/designerscripts/LS_principal.java @@ -0,0 +1,48 @@ +package reparto_izca.keymon.lat.designerscripts; +import anywheresoftware.b4a.objects.TextViewWrapper; +import anywheresoftware.b4a.objects.ImageViewWrapper; +import anywheresoftware.b4a.BA; + + +public class LS_principal{ + +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("img2").vw.setLeft((int)(0d)); +views.get("img2").vw.setWidth((int)((100d / 100 * width) - (0d))); +//BA.debugLineNum = 4;BA.debugLine="img2.SetTopAndBottom(0,100%y)"[principal/General script] +views.get("img2").vw.setTop((int)(0d)); +views.get("img2").vw.setHeight((int)((100d / 100 * height) - (0d))); +//BA.debugLineNum = 5;BA.debugLine="L_carga.HorizontalCenter = 50%X"[principal/General script] +views.get("l_carga").vw.setLeft((int)((50d / 100 * width) - (views.get("l_carga").vw.getWidth() / 2))); +//BA.debugLineNum = 6;BA.debugLine="l_carga2.HorizontalCenter = 50%X"[principal/General script] +views.get("l_carga2").vw.setLeft((int)((50d / 100 * width) - (views.get("l_carga2").vw.getWidth() / 2))); +//BA.debugLineNum = 7;BA.debugLine="Label10.HorizontalCenter = 50%X"[principal/General script] +views.get("label10").vw.setLeft((int)((50d / 100 * width) - (views.get("label10").vw.getWidth() / 2))); +//BA.debugLineNum = 8;BA.debugLine="Label11.HorizontalCenter = 50%X"[principal/General script] +views.get("label11").vw.setLeft((int)((50d / 100 * width) - (views.get("label11").vw.getWidth() / 2))); +//BA.debugLineNum = 9;BA.debugLine="PB_carga.HorizontalCenter = 50%X"[principal/General script] +views.get("pb_carga").vw.setLeft((int)((50d / 100 * width) - (views.get("pb_carga").vw.getWidth() / 2))); +//BA.debugLineNum = 10;BA.debugLine="PB_carga2.HorizontalCenter = 50%X"[principal/General script] +views.get("pb_carga2").vw.setLeft((int)((50d / 100 * width) - (views.get("pb_carga2").vw.getWidth() / 2))); +//BA.debugLineNum = 11;BA.debugLine="B_carga.HorizontalCenter = 50%X"[principal/General script] +views.get("b_carga").vw.setLeft((int)((50d / 100 * width) - (views.get("b_carga").vw.getWidth() / 2))); +//BA.debugLineNum = 12;BA.debugLine="b_impresion_rec.HorizontalCenter = 25%x"[principal/General script] +views.get("b_impresion_rec").vw.setLeft((int)((25d / 100 * width) - (views.get("b_impresion_rec").vw.getWidth() / 2))); +//BA.debugLineNum = 13;BA.debugLine="b_regreso.HorizontalCenter = 75%x"[principal/General script] +views.get("b_regreso").vw.setLeft((int)((75d / 100 * width) - (views.get("b_regreso").vw.getWidth() / 2))); +//BA.debugLineNum = 14;BA.debugLine="ListView1.VerticalCenter = 50%y"[principal/General script] +views.get("listview1").vw.setTop((int)((50d / 100 * height) - (views.get("listview1").vw.getHeight() / 2))); +//BA.debugLineNum = 15;BA.debugLine="ListView1.HorizontalCenter = 50%x"[principal/General script] +views.get("listview1").vw.setLeft((int)((50d / 100 * width) - (views.get("listview1").vw.getWidth() / 2))); +//BA.debugLineNum = 16;BA.debugLine="B_REGRESA.HorizontalCenter = 50%x"[principal/General script] +views.get("b_regresa").vw.setLeft((int)((50d / 100 * width) - (views.get("b_regresa").vw.getWidth() / 2))); +//BA.debugLineNum = 17;BA.debugLine="Panel2.HorizontalCenter = 50%x"[principal/General script] +views.get("panel2").vw.setLeft((int)((50d / 100 * width) - (views.get("panel2").vw.getWidth() / 2))); +//BA.debugLineNum = 18;BA.debugLine="Panel3.HorizontalCenter = 50%x"[principal/General script] +views.get("panel3").vw.setLeft((int)((50d / 100 * width) - (views.get("panel3").vw.getWidth() / 2))); + +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/designerscripts/LS_proditem.java b/B4A/Objects/src/reparto_izca/keymon/lat/designerscripts/LS_proditem.java new file mode 100644 index 0000000..7cebbea --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/designerscripts/LS_proditem.java @@ -0,0 +1,15 @@ +package reparto_izca.keymon.lat.designerscripts; +import anywheresoftware.b4a.objects.TextViewWrapper; +import anywheresoftware.b4a.objects.ImageViewWrapper; +import anywheresoftware.b4a.BA; + + +public class LS_proditem{ + +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/reparto_izca/keymon/lat/designerscripts/LS_proditem2.java b/B4A/Objects/src/reparto_izca/keymon/lat/designerscripts/LS_proditem2.java new file mode 100644 index 0000000..a95b944 --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/designerscripts/LS_proditem2.java @@ -0,0 +1,15 @@ +package reparto_izca.keymon.lat.designerscripts; +import anywheresoftware.b4a.objects.TextViewWrapper; +import anywheresoftware.b4a.objects.ImageViewWrapper; +import anywheresoftware.b4a.BA; + + +public class LS_proditem2{ + +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/reparto_izca/keymon/lat/designerscripts/LS_productos.java b/B4A/Objects/src/reparto_izca/keymon/lat/designerscripts/LS_productos.java new file mode 100644 index 0000000..90a85be --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/designerscripts/LS_productos.java @@ -0,0 +1,18 @@ +package reparto_izca.keymon.lat.designerscripts; +import anywheresoftware.b4a.objects.TextViewWrapper; +import anywheresoftware.b4a.objects.ImageViewWrapper; +import anywheresoftware.b4a.BA; + + +public class LS_productos{ + +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); +views.get("i_fotol").vw.setLeft((int)(0d)); +views.get("i_fotol").vw.setWidth((int)((100d / 100 * width) - (0d))); +views.get("i_fotol").vw.setTop((int)(0d)); +views.get("i_fotol").vw.setHeight((int)((100d / 100 * height) - (0d))); + +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/designerscripts/LS_searchtemplate.java b/B4A/Objects/src/reparto_izca/keymon/lat/designerscripts/LS_searchtemplate.java new file mode 100644 index 0000000..d0de849 --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/designerscripts/LS_searchtemplate.java @@ -0,0 +1,16 @@ +package reparto_izca.keymon.lat.designerscripts; +import anywheresoftware.b4a.objects.TextViewWrapper; +import anywheresoftware.b4a.objects.ImageViewWrapper; +import anywheresoftware.b4a.BA; + + +public class LS_searchtemplate{ + +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); +//BA.debugLineNum = 2;BA.debugLine="AutoScaleAll"[searchtemplate/General script] +anywheresoftware.b4a.keywords.LayoutBuilder.scaleAll(views); + +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/designerscripts/LS_tabulador.java b/B4A/Objects/src/reparto_izca/keymon/lat/designerscripts/LS_tabulador.java new file mode 100644 index 0000000..13e3beb --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/designerscripts/LS_tabulador.java @@ -0,0 +1,15 @@ +package reparto_izca.keymon.lat.designerscripts; +import anywheresoftware.b4a.objects.TextViewWrapper; +import anywheresoftware.b4a.objects.ImageViewWrapper; +import anywheresoftware.b4a.BA; + + +public class LS_tabulador{ + +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/reparto_izca/keymon/lat/escposprinter.java b/B4A/Objects/src/reparto_izca/keymon/lat/escposprinter.java new file mode 100644 index 0000000..e692f8b --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/escposprinter.java @@ -0,0 +1,2945 @@ +package reparto_izca.keymon.lat; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.B4AClass; +import anywheresoftware.b4a.BALayout; +import anywheresoftware.b4a.debug.*; + +public class escposprinter 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, "reparto_izca.keymon.lat.escposprinter"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", reparto_izca.keymon.lat.escposprinter.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 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; +public anywheresoftware.b4a.objects.Serial _serial1 = null; +public anywheresoftware.b4a.randomaccessfile.AsyncStreams _astream = null; +public boolean _connected = false; +public String _connectederror = ""; +public String _esc = ""; +public String _fs = ""; +public String _gs = ""; +public String _unreverse = ""; +public String _reverse = ""; +public String _uninvert = ""; +public String _invert = ""; +public String _unrotate = ""; +public String _rotate = ""; +public String _ht = ""; +public String _uline0 = ""; +public String _uline1 = ""; +public String _uline2 = ""; +public String _bold = ""; +public String _nobold = ""; +public String _single = ""; +public String _high = ""; +public String _wide = ""; +public String _highwide = ""; +public String _leftjustify = ""; +public String _linedefault = ""; +public String _linset0 = ""; +public String _lmargin0 = ""; +public String _width0 = ""; +public String _charspacing0 = ""; +public String _charfont0 = ""; +public String _defaults = ""; +public b4a.example.dateutils _dateutils = null; +public reparto_izca.keymon.lat.main _main = null; +public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; +public reparto_izca.keymon.lat.foto _foto = null; +public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_izca.keymon.lat.starter _starter = null; +public reparto_izca.keymon.lat.tracker _tracker = null; +public reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public String _disconnect(reparto_izca.keymon.lat.escposprinter __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "disconnect", false)) + {return ((String) Debug.delegate(ba, "disconnect", null));} +RDebugUtils.currentLine=66060288; + //BA.debugLineNum = 66060288;BA.debugLine="Public Sub DisConnect"; +RDebugUtils.currentLine=66060289; + //BA.debugLineNum = 66060289;BA.debugLine="Serial1.Disconnect"; +__ref._serial1 /*anywheresoftware.b4a.objects.Serial*/ .Disconnect(); +RDebugUtils.currentLine=66060290; + //BA.debugLineNum = 66060290;BA.debugLine="Connected = False"; +__ref._connected /*boolean*/ = __c.False; +RDebugUtils.currentLine=66060291; + //BA.debugLineNum = 66060291;BA.debugLine="End Sub"; +return ""; +} +public boolean _isconnected(reparto_izca.keymon.lat.escposprinter __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "isconnected", false)) + {return ((Boolean) Debug.delegate(ba, "isconnected", null));} +RDebugUtils.currentLine=65863680; + //BA.debugLineNum = 65863680;BA.debugLine="Public Sub IsConnected As Boolean"; +RDebugUtils.currentLine=65863681; + //BA.debugLineNum = 65863681;BA.debugLine="Return Connected"; +if (true) return __ref._connected /*boolean*/ ; +RDebugUtils.currentLine=65863682; + //BA.debugLineNum = 65863682;BA.debugLine="End Sub"; +return false; +} +public boolean _connect(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=65994752; + //BA.debugLineNum = 65994752;BA.debugLine="Public Sub Connect As Boolean"; +RDebugUtils.currentLine=65994756; + //BA.debugLineNum = 65994756;BA.debugLine="Try"; +try {RDebugUtils.currentLine=65994757; + //BA.debugLineNum = 65994757;BA.debugLine="If Starter.MAC_IMPRESORA = \"0\" Then"; +if ((_starter._mac_impresora /*String*/ ).equals("0")) { +RDebugUtils.currentLine=65994758; + //BA.debugLineNum = 65994758;BA.debugLine="Dim PairedDevices As Map"; +_paireddevices = new anywheresoftware.b4a.objects.collections.Map(); +RDebugUtils.currentLine=65994759; + //BA.debugLineNum = 65994759;BA.debugLine="PairedDevices = Serial1.GetPairedDevices"; +_paireddevices = __ref._serial1 /*anywheresoftware.b4a.objects.Serial*/ .GetPairedDevices(); +RDebugUtils.currentLine=65994760; + //BA.debugLineNum = 65994760;BA.debugLine="Dim l As List"; +_l = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=65994761; + //BA.debugLineNum = 65994761;BA.debugLine="l.Initialize"; +_l.Initialize(); +RDebugUtils.currentLine=65994762; + //BA.debugLineNum = 65994762;BA.debugLine="For i = 0 To PairedDevices.Size - 1"; +{ +final int step7 = 1; +final int limit7 = (int) (_paireddevices.getSize()-1); +_i = (int) (0) ; +for (;_i <= limit7 ;_i = _i + step7 ) { +RDebugUtils.currentLine=65994763; + //BA.debugLineNum = 65994763;BA.debugLine="l.Add(PairedDevices.GetKeyAt(i))"; +_l.Add(_paireddevices.GetKeyAt(_i)); + } +}; +RDebugUtils.currentLine=65994765; + //BA.debugLineNum = 65994765;BA.debugLine="Dim Res As Int"; +_res = 0; +RDebugUtils.currentLine=65994766; + //BA.debugLineNum = 65994766;BA.debugLine="Res = InputList(l, \"Choose a printer\", -1) 'sho"; +_res = __c.InputList(_l,BA.ObjectToCharSequence("Choose a printer"),(int) (-1),getActivityBA()); +RDebugUtils.currentLine=65994767; + //BA.debugLineNum = 65994767;BA.debugLine="If Res <> DialogResponse.CANCEL Then"; +if (_res!=__c.DialogResponse.CANCEL) { +RDebugUtils.currentLine=65994768; + //BA.debugLineNum = 65994768;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=65994770; + //BA.debugLineNum = 65994770;BA.debugLine="Starter.mac_impresora = PairedDevices.Get(l.Ge"; +_starter._mac_impresora /*String*/ = BA.ObjectToString(_paireddevices.Get(_l.Get(_res))); +RDebugUtils.currentLine=65994771; + //BA.debugLineNum = 65994771;BA.debugLine="Return True"; +if (true) return __c.True; + }; +RDebugUtils.currentLine=65994773; + //BA.debugLineNum = 65994773;BA.debugLine="Return False"; +if (true) return __c.False; + }else { +RDebugUtils.currentLine=65994775; + //BA.debugLineNum = 65994775;BA.debugLine="Serial1.Connect(Starter.mac_impresora)"; +__ref._serial1 /*anywheresoftware.b4a.objects.Serial*/ .Connect(ba,_starter._mac_impresora /*String*/ ); +RDebugUtils.currentLine=65994777; + //BA.debugLineNum = 65994777;BA.debugLine="Return True"; +if (true) return __c.True; + }; + } + catch (Exception e23) { + ba.setLastException(e23);RDebugUtils.currentLine=65994780; + //BA.debugLineNum = 65994780;BA.debugLine="Log(LastException)"; +__c.LogImpl("865994780",BA.ObjectToString(__c.LastException(getActivityBA())),0); + }; +RDebugUtils.currentLine=65994782; + //BA.debugLineNum = 65994782;BA.debugLine="End Sub"; +return false; +} +public String _writestring(reparto_izca.keymon.lat.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=66977792; + //BA.debugLineNum = 66977792;BA.debugLine="Public Sub WriteString(data As String)"; +RDebugUtils.currentLine=66977793; + //BA.debugLineNum = 66977793;BA.debugLine="WriteString2(data, \"IBM437\")"; +__ref._writestring2 /*String*/ (null,_data,"IBM437"); +RDebugUtils.currentLine=66977794; + //BA.debugLineNum = 66977794;BA.debugLine="End Sub"; +return ""; +} +public String _setjustify(reparto_izca.keymon.lat.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=66584576; + //BA.debugLineNum = 66584576;BA.debugLine="Public Sub setJustify(justify As Int)"; +RDebugUtils.currentLine=66584577; + //BA.debugLineNum = 66584577;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=66584578; + //BA.debugLineNum = 66584578;BA.debugLine="End Sub"; +return ""; +} +public String _initialize(reparto_izca.keymon.lat.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=65732608; + //BA.debugLineNum = 65732608;BA.debugLine="Public Sub Initialize(vCallback As Object, vEventN"; +RDebugUtils.currentLine=65732609; + //BA.debugLineNum = 65732609;BA.debugLine="EventName = vEventName"; +__ref._eventname /*String*/ = _veventname; +RDebugUtils.currentLine=65732610; + //BA.debugLineNum = 65732610;BA.debugLine="CallBack = vCallback"; +__ref._callback /*Object*/ = _vcallback; +RDebugUtils.currentLine=65732611; + //BA.debugLineNum = 65732611;BA.debugLine="Serial1.Initialize(\"Serial1\")"; +__ref._serial1 /*anywheresoftware.b4a.objects.Serial*/ .Initialize("Serial1"); +RDebugUtils.currentLine=65732612; + //BA.debugLineNum = 65732612;BA.debugLine="Connected = False"; +__ref._connected /*boolean*/ = __c.False; +RDebugUtils.currentLine=65732613; + //BA.debugLineNum = 65732613;BA.debugLine="ConnectedError = \"\""; +__ref._connectederror /*String*/ = ""; +RDebugUtils.currentLine=65732614; + //BA.debugLineNum = 65732614;BA.debugLine="End Sub"; +return ""; +} +public String _writebarcode(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=68943872; + //BA.debugLineNum = 68943872;BA.debugLine="Public Sub WriteBarCode(bartype As String, data As"; +RDebugUtils.currentLine=68943873; + //BA.debugLineNum = 68943873;BA.debugLine="Dim databytes() As Byte = data.GetBytes(\"ASCII\")"; +_databytes = _data.getBytes("ASCII"); +RDebugUtils.currentLine=68943874; + //BA.debugLineNum = 68943874;BA.debugLine="Dim dlow As Int = databytes.Length"; +_dlow = _databytes.length; +RDebugUtils.currentLine=68943875; + //BA.debugLineNum = 68943875;BA.debugLine="Log(\"Barcode \" & bartype & \", Size \" & dlow & \","; +__c.LogImpl("868943875","Barcode "+_bartype+", Size "+BA.NumberToString(_dlow)+", "+_data,0); +RDebugUtils.currentLine=68943876; + //BA.debugLineNum = 68943876;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=68943877; + //BA.debugLineNum = 68943877;BA.debugLine="Dim params(1) As Byte"; +_params = new byte[(int) (1)]; +; +RDebugUtils.currentLine=68943878; + //BA.debugLineNum = 68943878;BA.debugLine="params(0) = dlow"; +_params[(int) (0)] = (byte) (_dlow); +RDebugUtils.currentLine=68943879; + //BA.debugLineNum = 68943879;BA.debugLine="WriteBytes(params)"; +__ref._writebytes /*String*/ (null,_params); +RDebugUtils.currentLine=68943880; + //BA.debugLineNum = 68943880;BA.debugLine="WriteBytes(databytes)"; +__ref._writebytes /*String*/ (null,_databytes); +RDebugUtils.currentLine=68943881; + //BA.debugLineNum = 68943881;BA.debugLine="End Sub"; +return ""; +} +public reparto_izca.keymon.lat.escposprinter._animage _imagetobwimage(reparto_izca.keymon.lat.escposprinter __ref,anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _bmp) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "imagetobwimage", false)) + {return ((reparto_izca.keymon.lat.escposprinter._animage) Debug.delegate(ba, "imagetobwimage", new Object[] {_bmp}));} +b4a.example.bitmapcreator _bc = null; +int _w = 0; +int _h = 0; +byte[] _pixels = null; +int _y = 0; +int _x = 0; +int _j = 0; +b4a.example.bitmapcreator._argbcolor _col = null; +int _lum = 0; +reparto_izca.keymon.lat.escposprinter._animage _ret = null; +RDebugUtils.currentLine=68091904; + //BA.debugLineNum = 68091904;BA.debugLine="Sub ImageToBWIMage(bmp As Bitmap) As AnImage"; +RDebugUtils.currentLine=68091905; + //BA.debugLineNum = 68091905;BA.debugLine="Dim BC As BitmapCreator 'ignore"; +_bc = new b4a.example.bitmapcreator(); +RDebugUtils.currentLine=68091906; + //BA.debugLineNum = 68091906;BA.debugLine="Dim W As Int = bmp.Width"; +_w = _bmp.getWidth(); +RDebugUtils.currentLine=68091907; + //BA.debugLineNum = 68091907;BA.debugLine="Dim H As Int = bmp.Height"; +_h = _bmp.getHeight(); +RDebugUtils.currentLine=68091908; + //BA.debugLineNum = 68091908;BA.debugLine="Dim pixels(W * H) As Byte"; +_pixels = new byte[(int) (_w*_h)]; +; +RDebugUtils.currentLine=68091910; + //BA.debugLineNum = 68091910;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 ) { +RDebugUtils.currentLine=68091911; + //BA.debugLineNum = 68091911;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 ) { +RDebugUtils.currentLine=68091912; + //BA.debugLineNum = 68091912;BA.debugLine="Dim j As Int = bmp.GetPixel(x, y)"; +_j = _bmp.GetPixel(_x,_y); +RDebugUtils.currentLine=68091914; + //BA.debugLineNum = 68091914;BA.debugLine="Dim col As ARGBColor"; +_col = new b4a.example.bitmapcreator._argbcolor(); +RDebugUtils.currentLine=68091915; + //BA.debugLineNum = 68091915;BA.debugLine="BC.ColorToARGB(j, col )"; +_bc._colortoargb(_j,_col); +RDebugUtils.currentLine=68091916; + //BA.debugLineNum = 68091916;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); +RDebugUtils.currentLine=68091917; + //BA.debugLineNum = 68091917;BA.debugLine="If lum> 255 Then lum = 255"; +if (_lum>255) { +_lum = (int) (255);}; +RDebugUtils.currentLine=68091919; + //BA.debugLineNum = 68091919;BA.debugLine="pixels(y*W + x) = lum"; +_pixels[(int) (_y*_w+_x)] = (byte) (_lum); + } +}; + } +}; +RDebugUtils.currentLine=68091922; + //BA.debugLineNum = 68091922;BA.debugLine="Dim ret As AnImage"; +_ret = new reparto_izca.keymon.lat.escposprinter._animage(); +RDebugUtils.currentLine=68091923; + //BA.debugLineNum = 68091923;BA.debugLine="ret.Width = bmp.Width"; +_ret.Width /*int*/ = _bmp.getWidth(); +RDebugUtils.currentLine=68091924; + //BA.debugLineNum = 68091924;BA.debugLine="ret.Height = bmp.Height"; +_ret.Height /*int*/ = _bmp.getHeight(); +RDebugUtils.currentLine=68091925; + //BA.debugLineNum = 68091925;BA.debugLine="ret.Data = pixels"; +_ret.Data /*byte[]*/ = _pixels; +RDebugUtils.currentLine=68091926; + //BA.debugLineNum = 68091926;BA.debugLine="Return ret"; +if (true) return _ret; +RDebugUtils.currentLine=68091927; + //BA.debugLineNum = 68091927;BA.debugLine="End Sub"; +return null; +} +public reparto_izca.keymon.lat.escposprinter._animage _ditherimage2d(reparto_izca.keymon.lat.escposprinter __ref,reparto_izca.keymon.lat.escposprinter._animage _img,int _threshold) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "ditherimage2d", false)) + {return ((reparto_izca.keymon.lat.escposprinter._animage) Debug.delegate(ba, "ditherimage2d", new Object[] {_img,_threshold}));} +byte[] _pixels = null; +int _xerror = 0; +int[] _yerrors = null; +int _i = 0; +int _y = 0; +int _x = 0; +int _lum = 0; +reparto_izca.keymon.lat.escposprinter._animage _ret = null; +RDebugUtils.currentLine=68288512; + //BA.debugLineNum = 68288512;BA.debugLine="Sub DitherImage2D(img As AnImage, threshold As Int"; +RDebugUtils.currentLine=68288513; + //BA.debugLineNum = 68288513;BA.debugLine="Dim pixels(img.Data.Length) As Byte"; +_pixels = new byte[_img.Data /*byte[]*/ .length]; +; +RDebugUtils.currentLine=68288514; + //BA.debugLineNum = 68288514;BA.debugLine="Dim xerror As Int"; +_xerror = 0; +RDebugUtils.currentLine=68288515; + //BA.debugLineNum = 68288515;BA.debugLine="Dim yerrors(img.Width) As Int"; +_yerrors = new int[_img.Width /*int*/ ]; +; +RDebugUtils.currentLine=68288516; + //BA.debugLineNum = 68288516;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 ) { +RDebugUtils.currentLine=68288517; + //BA.debugLineNum = 68288517;BA.debugLine="yerrors(0) = 0"; +_yerrors[(int) (0)] = (int) (0); + } +}; +RDebugUtils.currentLine=68288519; + //BA.debugLineNum = 68288519;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 ) { +RDebugUtils.currentLine=68288520; + //BA.debugLineNum = 68288520;BA.debugLine="xerror = 0 ' reset on each new line"; +_xerror = (int) (0); +RDebugUtils.currentLine=68288521; + //BA.debugLineNum = 68288521;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 ) { +RDebugUtils.currentLine=68288522; + //BA.debugLineNum = 68288522;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)); +RDebugUtils.currentLine=68288523; + //BA.debugLineNum = 68288523;BA.debugLine="lum = lum + xerror + yerrors(x)"; +_lum = (int) (_lum+_xerror+_yerrors[_x]); +RDebugUtils.currentLine=68288524; + //BA.debugLineNum = 68288524;BA.debugLine="If lum < threshold Then"; +if (_lum<_threshold) { +RDebugUtils.currentLine=68288525; + //BA.debugLineNum = 68288525;BA.debugLine="xerror = lum/2"; +_xerror = (int) (_lum/(double)2); +RDebugUtils.currentLine=68288526; + //BA.debugLineNum = 68288526;BA.debugLine="yerrors(x) = xerror"; +_yerrors[_x] = _xerror; +RDebugUtils.currentLine=68288527; + //BA.debugLineNum = 68288527;BA.debugLine="lum = 1"; +_lum = (int) (1); + }else { +RDebugUtils.currentLine=68288529; + //BA.debugLineNum = 68288529;BA.debugLine="xerror = (lum - 255)/2"; +_xerror = (int) ((_lum-255)/(double)2); +RDebugUtils.currentLine=68288530; + //BA.debugLineNum = 68288530;BA.debugLine="yerrors(x) = xerror"; +_yerrors[_x] = _xerror; +RDebugUtils.currentLine=68288531; + //BA.debugLineNum = 68288531;BA.debugLine="lum = 0"; +_lum = (int) (0); + }; +RDebugUtils.currentLine=68288533; + //BA.debugLineNum = 68288533;BA.debugLine="pixels(y*img.Width + x) = lum"; +_pixels[(int) (_y*_img.Width /*int*/ +_x)] = (byte) (_lum); + } +}; + } +}; +RDebugUtils.currentLine=68288536; + //BA.debugLineNum = 68288536;BA.debugLine="Dim ret As AnImage"; +_ret = new reparto_izca.keymon.lat.escposprinter._animage(); +RDebugUtils.currentLine=68288537; + //BA.debugLineNum = 68288537;BA.debugLine="ret.Width = img.Width"; +_ret.Width /*int*/ = _img.Width /*int*/ ; +RDebugUtils.currentLine=68288538; + //BA.debugLineNum = 68288538;BA.debugLine="ret.Height = img.Height"; +_ret.Height /*int*/ = _img.Height /*int*/ ; +RDebugUtils.currentLine=68288539; + //BA.debugLineNum = 68288539;BA.debugLine="ret.Data = pixels"; +_ret.Data /*byte[]*/ = _pixels; +RDebugUtils.currentLine=68288540; + //BA.debugLineNum = 68288540;BA.debugLine="Return ret"; +if (true) return _ret; +RDebugUtils.currentLine=68288541; + //BA.debugLineNum = 68288541;BA.debugLine="End Sub"; +return null; +} +public reparto_izca.keymon.lat.escposprinter._animage _packimage(reparto_izca.keymon.lat.escposprinter __ref,reparto_izca.keymon.lat.escposprinter._animage _imagedata) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "packimage", false)) + {return ((reparto_izca.keymon.lat.escposprinter._animage) Debug.delegate(ba, "packimage", new Object[] {_imagedata}));} +int _xbytes = 0; +byte[] _pixels = null; +byte[] _masks = null; +int _index = 0; +int _y = 0; +int _x = 0; +byte _xbyte = (byte)0; +int _b = 0; +byte _pix = (byte)0; +reparto_izca.keymon.lat.escposprinter._animage _ret = null; +RDebugUtils.currentLine=68419584; + //BA.debugLineNum = 68419584;BA.debugLine="Public Sub PackImage(imagedata As AnImage) As AnIm"; +RDebugUtils.currentLine=68419585; + //BA.debugLineNum = 68419585;BA.debugLine="Dim xbytes As Int = imagedata.width/8"; +_xbytes = (int) (_imagedata.Width /*int*/ /(double)8); +RDebugUtils.currentLine=68419586; + //BA.debugLineNum = 68419586;BA.debugLine="Dim pixels(xbytes * imagedata.height) As Byte"; +_pixels = new byte[(int) (_xbytes*_imagedata.Height /*int*/ )]; +; +RDebugUtils.currentLine=68419587; + //BA.debugLineNum = 68419587;BA.debugLine="Dim masks(8) As Byte"; +_masks = new byte[(int) (8)]; +; +RDebugUtils.currentLine=68419588; + //BA.debugLineNum = 68419588;BA.debugLine="masks(0) = 0x80"; +_masks[(int) (0)] = (byte) (((int)0x80)); +RDebugUtils.currentLine=68419589; + //BA.debugLineNum = 68419589;BA.debugLine="masks(1) = 0x40"; +_masks[(int) (1)] = (byte) (((int)0x40)); +RDebugUtils.currentLine=68419590; + //BA.debugLineNum = 68419590;BA.debugLine="masks(2) = 0x20"; +_masks[(int) (2)] = (byte) (((int)0x20)); +RDebugUtils.currentLine=68419591; + //BA.debugLineNum = 68419591;BA.debugLine="masks(3) = 0x10"; +_masks[(int) (3)] = (byte) (((int)0x10)); +RDebugUtils.currentLine=68419592; + //BA.debugLineNum = 68419592;BA.debugLine="masks(4) = 0x08"; +_masks[(int) (4)] = (byte) (((int)0x08)); +RDebugUtils.currentLine=68419593; + //BA.debugLineNum = 68419593;BA.debugLine="masks(5) = 0x04"; +_masks[(int) (5)] = (byte) (((int)0x04)); +RDebugUtils.currentLine=68419594; + //BA.debugLineNum = 68419594;BA.debugLine="masks(6) = 0x02"; +_masks[(int) (6)] = (byte) (((int)0x02)); +RDebugUtils.currentLine=68419595; + //BA.debugLineNum = 68419595;BA.debugLine="masks(7) = 0x01"; +_masks[(int) (7)] = (byte) (((int)0x01)); +RDebugUtils.currentLine=68419596; + //BA.debugLineNum = 68419596;BA.debugLine="Dim index As Int = 0"; +_index = (int) (0); +RDebugUtils.currentLine=68419597; + //BA.debugLineNum = 68419597;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 ) { +RDebugUtils.currentLine=68419598; + //BA.debugLineNum = 68419598;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 ) { +RDebugUtils.currentLine=68419599; + //BA.debugLineNum = 68419599;BA.debugLine="Dim xbyte As Byte = 0"; +_xbyte = (byte) (0); +RDebugUtils.currentLine=68419600; + //BA.debugLineNum = 68419600;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 ) { +RDebugUtils.currentLine=68419602; + //BA.debugLineNum = 68419602;BA.debugLine="Dim pix As Byte = imagedata.Data(index)"; +_pix = _imagedata.Data /*byte[]*/ [_index]; +RDebugUtils.currentLine=68419603; + //BA.debugLineNum = 68419603;BA.debugLine="If pix <> 0 Then"; +if (_pix!=0) { +RDebugUtils.currentLine=68419604; + //BA.debugLineNum = 68419604;BA.debugLine="xbyte = xbyte + masks(b)"; +_xbyte = (byte) (_xbyte+_masks[_b]); + }; +RDebugUtils.currentLine=68419606; + //BA.debugLineNum = 68419606;BA.debugLine="index = index + 1"; +_index = (int) (_index+1); + } +}; +RDebugUtils.currentLine=68419608; + //BA.debugLineNum = 68419608;BA.debugLine="pixels(y*xbytes + x) = xbyte"; +_pixels[(int) (_y*_xbytes+_x)] = _xbyte; + } +}; + } +}; +RDebugUtils.currentLine=68419611; + //BA.debugLineNum = 68419611;BA.debugLine="Dim ret As AnImage"; +_ret = new reparto_izca.keymon.lat.escposprinter._animage(); +RDebugUtils.currentLine=68419612; + //BA.debugLineNum = 68419612;BA.debugLine="ret.Width = xbytes"; +_ret.Width /*int*/ = _xbytes; +RDebugUtils.currentLine=68419613; + //BA.debugLineNum = 68419613;BA.debugLine="ret.Height = imagedata.Height"; +_ret.Height /*int*/ = _imagedata.Height /*int*/ ; +RDebugUtils.currentLine=68419614; + //BA.debugLineNum = 68419614;BA.debugLine="ret.Data = pixels"; +_ret.Data /*byte[]*/ = _pixels; +RDebugUtils.currentLine=68419615; + //BA.debugLineNum = 68419615;BA.debugLine="Return ret"; +if (true) return _ret; +RDebugUtils.currentLine=68419616; + //BA.debugLineNum = 68419616;BA.debugLine="End Sub"; +return null; +} +public int _printimage(reparto_izca.keymon.lat.escposprinter __ref,reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=68354048; + //BA.debugLineNum = 68354048;BA.debugLine="Public Sub PrintImage(img As AnImage) As Int"; +RDebugUtils.currentLine=68354051; + //BA.debugLineNum = 68354051;BA.debugLine="If img.width > 72 Then Return -1"; +if (_img.Width /*int*/ >72) { +if (true) return (int) (-1);}; +RDebugUtils.currentLine=68354052; + //BA.debugLineNum = 68354052;BA.debugLine="If img.height > 512 Then Return -2"; +if (_img.Height /*int*/ >512) { +if (true) return (int) (-2);}; +RDebugUtils.currentLine=68354053; + //BA.debugLineNum = 68354053;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);}; +RDebugUtils.currentLine=68354054; + //BA.debugLineNum = 68354054;BA.debugLine="Dim xh As Int = img.width / 256"; +_xh = (int) (_img.Width /*int*/ /(double)256); +RDebugUtils.currentLine=68354055; + //BA.debugLineNum = 68354055;BA.debugLine="Dim xl As Int = img.width - xh * 256"; +_xl = (int) (_img.Width /*int*/ -_xh*256); +RDebugUtils.currentLine=68354056; + //BA.debugLineNum = 68354056;BA.debugLine="Dim yh As Int = img.height / 256"; +_yh = (int) (_img.Height /*int*/ /(double)256); +RDebugUtils.currentLine=68354057; + //BA.debugLineNum = 68354057;BA.debugLine="Dim yl As Int = img.height - yh * 256"; +_yl = (int) (_img.Height /*int*/ -_yh*256); +RDebugUtils.currentLine=68354058; + //BA.debugLineNum = 68354058;BA.debugLine="Dim params(5) As Byte"; +_params = new byte[(int) (5)]; +; +RDebugUtils.currentLine=68354059; + //BA.debugLineNum = 68354059;BA.debugLine="params(0) = 0 '"; +_params[(int) (0)] = (byte) (0); +RDebugUtils.currentLine=68354060; + //BA.debugLineNum = 68354060;BA.debugLine="params(1) = xl"; +_params[(int) (1)] = (byte) (_xl); +RDebugUtils.currentLine=68354061; + //BA.debugLineNum = 68354061;BA.debugLine="params(2) = xh"; +_params[(int) (2)] = (byte) (_xh); +RDebugUtils.currentLine=68354062; + //BA.debugLineNum = 68354062;BA.debugLine="params(3) = yl"; +_params[(int) (3)] = (byte) (_yl); +RDebugUtils.currentLine=68354063; + //BA.debugLineNum = 68354063;BA.debugLine="params(4) = yh"; +_params[(int) (4)] = (byte) (_yh); +RDebugUtils.currentLine=68354064; + //BA.debugLineNum = 68354064;BA.debugLine="WriteString(GS & \"v0\")"; +__ref._writestring /*String*/ (null,__ref._gs /*String*/ +"v0"); +RDebugUtils.currentLine=68354065; + //BA.debugLineNum = 68354065;BA.debugLine="WriteBytes(params)"; +__ref._writebytes /*String*/ (null,_params); +RDebugUtils.currentLine=68354066; + //BA.debugLineNum = 68354066;BA.debugLine="WriteBytes(img.data)"; +__ref._writebytes /*String*/ (null,_img.Data /*byte[]*/ ); +RDebugUtils.currentLine=68354067; + //BA.debugLineNum = 68354067;BA.debugLine="WriteString(CRLF)"; +__ref._writestring /*String*/ (null,__c.CRLF); +RDebugUtils.currentLine=68354068; + //BA.debugLineNum = 68354068;BA.debugLine="Return 0"; +if (true) return (int) (0); +RDebugUtils.currentLine=68354069; + //BA.debugLineNum = 68354069;BA.debugLine="End Sub"; +return 0; +} +public String _astream_error(reparto_izca.keymon.lat.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=69206016; + //BA.debugLineNum = 69206016;BA.debugLine="Private Sub AStream_Error"; +RDebugUtils.currentLine=69206017; + //BA.debugLineNum = 69206017;BA.debugLine="If SubExists(CallBack, EventName & \"_Error\") Then"; +if (__c.SubExists(ba,__ref._callback /*Object*/ ,__ref._eventname /*String*/ +"_Error")) { +RDebugUtils.currentLine=69206018; + //BA.debugLineNum = 69206018;BA.debugLine="CallSub(CallBack, EventName & \"_Error\")"; +__c.CallSubNew(ba,__ref._callback /*Object*/ ,__ref._eventname /*String*/ +"_Error"); + }; +RDebugUtils.currentLine=69206020; + //BA.debugLineNum = 69206020;BA.debugLine="End Sub"; +return ""; +} +public String _astream_newdata(reparto_izca.keymon.lat.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=69140480; + //BA.debugLineNum = 69140480;BA.debugLine="Private Sub AStream_NewData (Buffer() As Byte)"; +RDebugUtils.currentLine=69140481; + //BA.debugLineNum = 69140481;BA.debugLine="If SubExists(CallBack, EventName & \"_NewData\") Th"; +if (__c.SubExists(ba,__ref._callback /*Object*/ ,__ref._eventname /*String*/ +"_NewData")) { +RDebugUtils.currentLine=69140482; + //BA.debugLineNum = 69140482;BA.debugLine="CallSub2(CallBack, EventName & \"_NewData\", Buffe"; +__c.CallSubNew2(ba,__ref._callback /*Object*/ ,__ref._eventname /*String*/ +"_NewData",(Object)(_buffer)); + }; +RDebugUtils.currentLine=69140484; + //BA.debugLineNum = 69140484;BA.debugLine="Log(\"Data \" & Buffer(0))"; +__c.LogImpl("869140484","Data "+BA.NumberToString(_buffer[(int) (0)]),0); +RDebugUtils.currentLine=69140485; + //BA.debugLineNum = 69140485;BA.debugLine="End Sub"; +return ""; +} +public String _astream_terminated(reparto_izca.keymon.lat.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=69271552; + //BA.debugLineNum = 69271552;BA.debugLine="Private Sub AStream_Terminated"; +RDebugUtils.currentLine=69271553; + //BA.debugLineNum = 69271553;BA.debugLine="Connected = False"; +__ref._connected /*boolean*/ = __c.False; +RDebugUtils.currentLine=69271554; + //BA.debugLineNum = 69271554;BA.debugLine="If SubExists(CallBack, EventName & \"_Terminated\")"; +if (__c.SubExists(ba,__ref._callback /*Object*/ ,__ref._eventname /*String*/ +"_Terminated")) { +RDebugUtils.currentLine=69271555; + //BA.debugLineNum = 69271555;BA.debugLine="CallSub(CallBack, EventName & \"_Terminated\")"; +__c.CallSubNew(ba,__ref._callback /*Object*/ ,__ref._eventname /*String*/ +"_Terminated"); + }; +RDebugUtils.currentLine=69271557; + //BA.debugLineNum = 69271557;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(reparto_izca.keymon.lat.escposprinter __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +RDebugUtils.currentLine=65667072; + //BA.debugLineNum = 65667072;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=65667079; + //BA.debugLineNum = 65667079;BA.debugLine="Private Version As Double = 2.0 ' Printer class v"; +_version = 2.0; +RDebugUtils.currentLine=65667081; + //BA.debugLineNum = 65667081;BA.debugLine="Type AnImage(Width As Int, Height As Int, Data()"; +; +RDebugUtils.currentLine=65667083; + //BA.debugLineNum = 65667083;BA.debugLine="Private EventName As String 'ignore"; +_eventname = ""; +RDebugUtils.currentLine=65667084; + //BA.debugLineNum = 65667084;BA.debugLine="Private CallBack As Object 'ignore"; +_callback = new Object(); +RDebugUtils.currentLine=65667086; + //BA.debugLineNum = 65667086;BA.debugLine="Private Serial1 As Serial"; +_serial1 = new anywheresoftware.b4a.objects.Serial(); +RDebugUtils.currentLine=65667087; + //BA.debugLineNum = 65667087;BA.debugLine="Private Astream As AsyncStreams"; +_astream = new anywheresoftware.b4a.randomaccessfile.AsyncStreams(); +RDebugUtils.currentLine=65667088; + //BA.debugLineNum = 65667088;BA.debugLine="Private Connected As Boolean"; +_connected = false; +RDebugUtils.currentLine=65667089; + //BA.debugLineNum = 65667089;BA.debugLine="Private ConnectedError As String"; +_connectederror = ""; +RDebugUtils.currentLine=65667091; + //BA.debugLineNum = 65667091;BA.debugLine="Dim ESC As String = Chr(27)"; +_esc = BA.ObjectToString(__c.Chr((int) (27))); +RDebugUtils.currentLine=65667092; + //BA.debugLineNum = 65667092;BA.debugLine="Dim FS As String = Chr(28)"; +_fs = BA.ObjectToString(__c.Chr((int) (28))); +RDebugUtils.currentLine=65667093; + //BA.debugLineNum = 65667093;BA.debugLine="Dim GS As String = Chr(29)"; +_gs = BA.ObjectToString(__c.Chr((int) (29))); +RDebugUtils.currentLine=65667096; + //BA.debugLineNum = 65667096;BA.debugLine="Dim UNREVERSE As String = GS & \"B\" & Chr(0)"; +_unreverse = __ref._gs /*String*/ +"B"+BA.ObjectToString(__c.Chr((int) (0))); +RDebugUtils.currentLine=65667097; + //BA.debugLineNum = 65667097;BA.debugLine="Dim REVERSE As String = GS & \"B\" & Chr(1)"; +_reverse = __ref._gs /*String*/ +"B"+BA.ObjectToString(__c.Chr((int) (1))); +RDebugUtils.currentLine=65667100; + //BA.debugLineNum = 65667100;BA.debugLine="Dim UNINVERT As String = ESC & \"{0\""; +_uninvert = __ref._esc /*String*/ +"{0"; +RDebugUtils.currentLine=65667101; + //BA.debugLineNum = 65667101;BA.debugLine="Dim INVERT As String = ESC & \"{1\""; +_invert = __ref._esc /*String*/ +"{1"; +RDebugUtils.currentLine=65667104; + //BA.debugLineNum = 65667104;BA.debugLine="Dim UNROTATE As String = ESC & \"V0\""; +_unrotate = __ref._esc /*String*/ +"V0"; +RDebugUtils.currentLine=65667105; + //BA.debugLineNum = 65667105;BA.debugLine="Dim ROTATE As String = ESC & \"V1\""; +_rotate = __ref._esc /*String*/ +"V1"; +RDebugUtils.currentLine=65667108; + //BA.debugLineNum = 65667108;BA.debugLine="Dim HT As String = Chr(9)"; +_ht = BA.ObjectToString(__c.Chr((int) (9))); +RDebugUtils.currentLine=65667111; + //BA.debugLineNum = 65667111;BA.debugLine="Dim ULINE0 As String = ESC & \"-0\""; +_uline0 = __ref._esc /*String*/ +"-0"; +RDebugUtils.currentLine=65667112; + //BA.debugLineNum = 65667112;BA.debugLine="Dim ULINE1 As String = ESC & \"-1\""; +_uline1 = __ref._esc /*String*/ +"-1"; +RDebugUtils.currentLine=65667113; + //BA.debugLineNum = 65667113;BA.debugLine="Dim ULINE2 As String = ESC & \"-2\""; +_uline2 = __ref._esc /*String*/ +"-2"; +RDebugUtils.currentLine=65667116; + //BA.debugLineNum = 65667116;BA.debugLine="Dim BOLD As String = ESC & \"E1\""; +_bold = __ref._esc /*String*/ +"E1"; +RDebugUtils.currentLine=65667117; + //BA.debugLineNum = 65667117;BA.debugLine="Dim NOBOLD As String = ESC & \"E0\""; +_nobold = __ref._esc /*String*/ +"E0"; +RDebugUtils.currentLine=65667120; + //BA.debugLineNum = 65667120;BA.debugLine="Dim SINGLE As String = GS & \"!\" & Chr(0x00)"; +_single = __ref._gs /*String*/ +"!"+BA.ObjectToString(__c.Chr(((int)0x00))); +RDebugUtils.currentLine=65667121; + //BA.debugLineNum = 65667121;BA.debugLine="Dim HIGH As String = GS & \"!\" & Chr(0x01)"; +_high = __ref._gs /*String*/ +"!"+BA.ObjectToString(__c.Chr(((int)0x01))); +RDebugUtils.currentLine=65667122; + //BA.debugLineNum = 65667122;BA.debugLine="Dim WIDE As String = GS & \"!\" & Chr(0x10)"; +_wide = __ref._gs /*String*/ +"!"+BA.ObjectToString(__c.Chr(((int)0x10))); +RDebugUtils.currentLine=65667123; + //BA.debugLineNum = 65667123;BA.debugLine="Dim HIGHWIDE As String = GS & \"!\" & Chr(0x11)"; +_highwide = __ref._gs /*String*/ +"!"+BA.ObjectToString(__c.Chr(((int)0x11))); +RDebugUtils.currentLine=65667126; + //BA.debugLineNum = 65667126;BA.debugLine="Private LEFTJUSTIFY As String = ESC & \"a0\""; +_leftjustify = __ref._esc /*String*/ +"a0"; +RDebugUtils.currentLine=65667127; + //BA.debugLineNum = 65667127;BA.debugLine="Private LINEDEFAULT As String = ESC & \"2\""; +_linedefault = __ref._esc /*String*/ +"2"; +RDebugUtils.currentLine=65667128; + //BA.debugLineNum = 65667128;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=65667129; + //BA.debugLineNum = 65667129;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=65667130; + //BA.debugLineNum = 65667130;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=65667131; + //BA.debugLineNum = 65667131;BA.debugLine="Private CHARSPACING0 As String = ESC & \" \" & Chr("; +_charspacing0 = __ref._esc /*String*/ +" "+BA.ObjectToString(__c.Chr((int) (0))); +RDebugUtils.currentLine=65667132; + //BA.debugLineNum = 65667132;BA.debugLine="Private CHARFONT0 As String = ESC & \"M\" & Chr(0)"; +_charfont0 = __ref._esc /*String*/ +"M"+BA.ObjectToString(__c.Chr((int) (0))); +RDebugUtils.currentLine=65667133; + //BA.debugLineNum = 65667133;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=65667136; + //BA.debugLineNum = 65667136;BA.debugLine="End Sub"; +return ""; +} +public String _connectederrormsg(reparto_izca.keymon.lat.escposprinter __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "connectederrormsg", false)) + {return ((String) Debug.delegate(ba, "connectederrormsg", null));} +RDebugUtils.currentLine=65798144; + //BA.debugLineNum = 65798144;BA.debugLine="Public Sub ConnectedErrorMsg As String"; +RDebugUtils.currentLine=65798145; + //BA.debugLineNum = 65798145;BA.debugLine="Return ConnectedError"; +if (true) return __ref._connectederror /*String*/ ; +RDebugUtils.currentLine=65798146; + //BA.debugLineNum = 65798146;BA.debugLine="End Sub"; +return ""; +} +public int _createbox(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=67567616; + //BA.debugLineNum = 67567616;BA.debugLine="Public Sub CreateBox(x0 As Int, y0 As Int, x1 As I"; +RDebugUtils.currentLine=67567617; + //BA.debugLineNum = 67567617;BA.debugLine="Dim box As Int = 0x10000000"; +_box = ((int)0x10000000); +RDebugUtils.currentLine=67567618; + //BA.debugLineNum = 67567618;BA.debugLine="If fill Then box = box + 0x80000000"; +if (_fill) { +_box = (int) (_box+((int)0x80000000));}; +RDebugUtils.currentLine=67567619; + //BA.debugLineNum = 67567619;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))); +RDebugUtils.currentLine=67567620; + //BA.debugLineNum = 67567620;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))); +RDebugUtils.currentLine=67567621; + //BA.debugLineNum = 67567621;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))); +RDebugUtils.currentLine=67567622; + //BA.debugLineNum = 67567622;BA.debugLine="box = box + Bit.And(0x1f,y1)"; +_box = (int) (_box+__c.Bit.And(((int)0x1f),_y1)); +RDebugUtils.currentLine=67567623; + //BA.debugLineNum = 67567623;BA.debugLine="Return box"; +if (true) return _box; +RDebugUtils.currentLine=67567624; + //BA.debugLineNum = 67567624;BA.debugLine="End Sub"; +return 0; +} +public int _createcircle(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=67436544; + //BA.debugLineNum = 67436544;BA.debugLine="Public Sub CreateCircle(radius As Int, quadrants A"; +RDebugUtils.currentLine=67436545; + //BA.debugLineNum = 67436545;BA.debugLine="Dim circle As Int = 0x20000000"; +_circle = ((int)0x20000000); +RDebugUtils.currentLine=67436546; + //BA.debugLineNum = 67436546;BA.debugLine="If fill Then circle = circle + 0x80000000"; +if (_fill) { +_circle = (int) (_circle+((int)0x80000000));}; +RDebugUtils.currentLine=67436547; + //BA.debugLineNum = 67436547;BA.debugLine="circle = circle + Bit.ShiftLeft(radius, 24)"; +_circle = (int) (_circle+__c.Bit.ShiftLeft(_radius,(int) (24))); +RDebugUtils.currentLine=67436548; + //BA.debugLineNum = 67436548;BA.debugLine="circle = circle + Bit.ShiftLeft(quadrants, 16)"; +_circle = (int) (_circle+__c.Bit.ShiftLeft(_quadrants,(int) (16))); +RDebugUtils.currentLine=67436549; + //BA.debugLineNum = 67436549;BA.debugLine="circle = circle + Bit.ShiftLeft(x1, 8)"; +_circle = (int) (_circle+__c.Bit.ShiftLeft(_x1,(int) (8))); +RDebugUtils.currentLine=67436550; + //BA.debugLineNum = 67436550;BA.debugLine="circle = circle + y1"; +_circle = (int) (_circle+_y1); +RDebugUtils.currentLine=67436551; + //BA.debugLineNum = 67436551;BA.debugLine="Return circle"; +if (true) return _circle; +RDebugUtils.currentLine=67436552; + //BA.debugLineNum = 67436552;BA.debugLine="End Sub"; +return 0; +} +public byte[] _createcustomcharacter(reparto_izca.keymon.lat.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; +int _y = 0; +int _size = 0; +byte[] _charbyes = null; +int _c = 0; +int _i = 0; +int _fill = 0; +int _shape = 0; +int _x0 = 0; +int _y0 = 0; +int _x1 = 0; +int _y1 = 0; +int _x2 = 0; +int _y2 = 0; +String _logmsg = ""; +byte _bits = (byte)0; +int _b = 0; +RDebugUtils.currentLine=67305472; + //BA.debugLineNum = 67305472;BA.debugLine="Public Sub CreateCustomCharacter(shapes() As Int,"; +RDebugUtils.currentLine=67305473; + //BA.debugLineNum = 67305473;BA.debugLine="Dim masks(8) As Byte"; +_masks = new byte[(int) (8)]; +; +RDebugUtils.currentLine=67305474; + //BA.debugLineNum = 67305474;BA.debugLine="masks(0) = 0x80"; +_masks[(int) (0)] = (byte) (((int)0x80)); +RDebugUtils.currentLine=67305475; + //BA.debugLineNum = 67305475;BA.debugLine="masks(1) = 0x40"; +_masks[(int) (1)] = (byte) (((int)0x40)); +RDebugUtils.currentLine=67305476; + //BA.debugLineNum = 67305476;BA.debugLine="masks(2) = 0x20"; +_masks[(int) (2)] = (byte) (((int)0x20)); +RDebugUtils.currentLine=67305477; + //BA.debugLineNum = 67305477;BA.debugLine="masks(3) = 0x10"; +_masks[(int) (3)] = (byte) (((int)0x10)); +RDebugUtils.currentLine=67305478; + //BA.debugLineNum = 67305478;BA.debugLine="masks(4) = 0x08"; +_masks[(int) (4)] = (byte) (((int)0x08)); +RDebugUtils.currentLine=67305479; + //BA.debugLineNum = 67305479;BA.debugLine="masks(5) = 0x04"; +_masks[(int) (5)] = (byte) (((int)0x04)); +RDebugUtils.currentLine=67305480; + //BA.debugLineNum = 67305480;BA.debugLine="masks(6) = 0x02"; +_masks[(int) (6)] = (byte) (((int)0x02)); +RDebugUtils.currentLine=67305481; + //BA.debugLineNum = 67305481;BA.debugLine="masks(7) = 0x01"; +_masks[(int) (7)] = (byte) (((int)0x01)); +RDebugUtils.currentLine=67305484; + //BA.debugLineNum = 67305484;BA.debugLine="Dim points(16,32) As Byte"; +_points = new byte[(int) (16)][]; +{ +int d0 = _points.length; +int d1 = (int) (32); +for (int i0 = 0;i0 < d0;i0++) { +_points[i0] = new byte[d1]; +} +} +; +RDebugUtils.currentLine=67305486; + //BA.debugLineNum = 67305486;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 ) { +RDebugUtils.currentLine=67305487; + //BA.debugLineNum = 67305487;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 ) { +RDebugUtils.currentLine=67305488; + //BA.debugLineNum = 67305488;BA.debugLine="points(x,y) = 0"; +_points[_x][_y] = (byte) (0); + } +}; + } +}; +RDebugUtils.currentLine=67305491; + //BA.debugLineNum = 67305491;BA.debugLine="Dim size As Int = 12"; +_size = (int) (12); +RDebugUtils.currentLine=67305492; + //BA.debugLineNum = 67305492;BA.debugLine="If characterfont = 1 Then size = 9"; +if (_characterfont==1) { +_size = (int) (9);}; +RDebugUtils.currentLine=67305493; + //BA.debugLineNum = 67305493;BA.debugLine="Dim charbyes(size * 3) As Byte"; +_charbyes = new byte[(int) (_size*3)]; +; +RDebugUtils.currentLine=67305494; + //BA.debugLineNum = 67305494;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 ) { +RDebugUtils.currentLine=67305495; + //BA.debugLineNum = 67305495;BA.debugLine="charbyes(c) = 0"; +_charbyes[_c] = (byte) (0); + } +}; +RDebugUtils.currentLine=67305498; + //BA.debugLineNum = 67305498;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 ) { +RDebugUtils.currentLine=67305499; + //BA.debugLineNum = 67305499;BA.debugLine="Dim fill As Int = Bit.UnsignedShiftRight(Bit.An"; +_fill = __c.Bit.UnsignedShiftRight(__c.Bit.And(((int)0x80000000),_shapes[_i]),(int) (31)); +RDebugUtils.currentLine=67305500; + //BA.debugLineNum = 67305500;BA.debugLine="Dim shape As Int = Bit.UnsignedShiftRight(Bit.An"; +_shape = __c.Bit.UnsignedShiftRight(__c.Bit.And(((int)0x70000000),_shapes[_i]),(int) (28)); +RDebugUtils.currentLine=67305501; + //BA.debugLineNum = 67305501;BA.debugLine="Dim x0 As Int = Bit.UnsignedShiftRight(Bit.And(0"; +_x0 = __c.Bit.UnsignedShiftRight(__c.Bit.And(((int)0x0f000000),_shapes[_i]),(int) (24)); +RDebugUtils.currentLine=67305502; + //BA.debugLineNum = 67305502;BA.debugLine="Dim y0 As Int = Bit.UnsignedShiftRight(Bit.And(0"; +_y0 = __c.Bit.UnsignedShiftRight(__c.Bit.And(((int)0x001f0000),_shapes[_i]),(int) (16)); +RDebugUtils.currentLine=67305503; + //BA.debugLineNum = 67305503;BA.debugLine="Dim x1 As Int = Bit.UnsignedShiftRight(Bit.And(0"; +_x1 = __c.Bit.UnsignedShiftRight(__c.Bit.And(((int)0x00000f00),_shapes[_i]),(int) (8)); +RDebugUtils.currentLine=67305504; + //BA.debugLineNum = 67305504;BA.debugLine="Dim y1 As Int = Bit.And(0x0000001f, shapes(i))"; +_y1 = __c.Bit.And(((int)0x0000001f),_shapes[_i]); +RDebugUtils.currentLine=67305505; + //BA.debugLineNum = 67305505;BA.debugLine="Dim x2 As Int = Bit.UnsignedShiftRight(Bit.And(0"; +_x2 = __c.Bit.UnsignedShiftRight(__c.Bit.And(((int)0x0000f000),_shapes[_i]),(int) (12)); +RDebugUtils.currentLine=67305506; + //BA.debugLineNum = 67305506;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))); +RDebugUtils.currentLine=67305512; + //BA.debugLineNum = 67305512;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); +RDebugUtils.currentLine=67305513; + //BA.debugLineNum = 67305513;BA.debugLine="If shape = 3 Then"; +if (_shape==3) { +RDebugUtils.currentLine=67305514; + //BA.debugLineNum = 67305514;BA.debugLine="Log(\"Triangle \" & logmsg)"; +__c.LogImpl("867305514","Triangle "+_logmsg,0); +RDebugUtils.currentLine=67305515; + //BA.debugLineNum = 67305515;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=67305516; + //BA.debugLineNum = 67305516;BA.debugLine="else If shape = 2 Then"; +if (_shape==2) { +RDebugUtils.currentLine=67305517; + //BA.debugLineNum = 67305517;BA.debugLine="Log(\"Circle \" & logmsg)"; +__c.LogImpl("867305517","Circle "+_logmsg,0); +RDebugUtils.currentLine=67305518; + //BA.debugLineNum = 67305518;BA.debugLine="PlotCircle(x0, y0, x1, y1, points, fill)"; +__ref._plotcircle /*String*/ (null,_x0,_y0,_x1,_y1,_points,_fill); + }else +{RDebugUtils.currentLine=67305519; + //BA.debugLineNum = 67305519;BA.debugLine="Else If shape = 1 Then"; +if (_shape==1) { +RDebugUtils.currentLine=67305520; + //BA.debugLineNum = 67305520;BA.debugLine="Log(\"Box \" & logmsg)"; +__c.LogImpl("867305520","Box "+_logmsg,0); +RDebugUtils.currentLine=67305521; + //BA.debugLineNum = 67305521;BA.debugLine="PlotBox(x0, y0, x1, y1, points, fill)"; +__ref._plotbox /*String*/ (null,_x0,_y0,_x1,_y1,_points,_fill); + }else { +RDebugUtils.currentLine=67305523; + //BA.debugLineNum = 67305523;BA.debugLine="Log(\"Line \" & logmsg)"; +__c.LogImpl("867305523","Line "+_logmsg,0); +RDebugUtils.currentLine=67305524; + //BA.debugLineNum = 67305524;BA.debugLine="PlotLine(x0, y0, x1, y1, points)"; +__ref._plotline /*String*/ (null,_x0,_y0,_x1,_y1,_points); + }}} +; +RDebugUtils.currentLine=67305527; + //BA.debugLineNum = 67305527;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 ) { +RDebugUtils.currentLine=67305528; + //BA.debugLineNum = 67305528;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 ) { +RDebugUtils.currentLine=67305529; + //BA.debugLineNum = 67305529;BA.debugLine="Dim bits As Byte = 0"; +_bits = (byte) (0); +RDebugUtils.currentLine=67305530; + //BA.debugLineNum = 67305530;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 ) { +RDebugUtils.currentLine=67305531; + //BA.debugLineNum = 67305531;BA.debugLine="If points(x, y*8+b) <> 0 Then"; +if (_points[_x][(int) (_y*8+_b)]!=0) { +RDebugUtils.currentLine=67305532; + //BA.debugLineNum = 67305532;BA.debugLine="bits = Bit.Or(bits, masks(b))"; +_bits = (byte) (__c.Bit.Or((int) (_bits),(int) (_masks[_b]))); + }; + } +}; +RDebugUtils.currentLine=67305535; + //BA.debugLineNum = 67305535;BA.debugLine="charbyes(x*3+y) = bits"; +_charbyes[(int) (_x*3+_y)] = _bits; + } +}; + } +}; + } +}; +RDebugUtils.currentLine=67305539; + //BA.debugLineNum = 67305539;BA.debugLine="Return charbyes"; +if (true) return _charbyes; +RDebugUtils.currentLine=67305540; + //BA.debugLineNum = 67305540;BA.debugLine="End Sub"; +return null; +} +public String _plottriangle(reparto_izca.keymon.lat.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=67633152; + //BA.debugLineNum = 67633152;BA.debugLine="Private Sub PlotTriangle(x0 As Int, y0 As Int, x1"; +RDebugUtils.currentLine=67633154; + //BA.debugLineNum = 67633154;BA.debugLine="PlotLine(x0, y0, x1, y1, points)"; +__ref._plotline /*String*/ (null,_x0,_y0,_x1,_y1,_points); +RDebugUtils.currentLine=67633155; + //BA.debugLineNum = 67633155;BA.debugLine="PlotLine(x1, y1, x2, y2, points)"; +__ref._plotline /*String*/ (null,_x1,_y1,_x2,_y2,_points); +RDebugUtils.currentLine=67633156; + //BA.debugLineNum = 67633156;BA.debugLine="PlotLine(x2, y2, x0, y0, points)"; +__ref._plotline /*String*/ (null,_x2,_y2,_x0,_y0,_points); +RDebugUtils.currentLine=67633157; + //BA.debugLineNum = 67633157;BA.debugLine="If Fill > 0 Then"; +if (_fill>0) { +RDebugUtils.currentLine=67633158; + //BA.debugLineNum = 67633158;BA.debugLine="FillTriangle(x0, y0, x1, y1, x2, y2, points)"; +__ref._filltriangle /*String*/ (null,_x0,_y0,_x1,_y1,_x2,_y2,_points); + }; +RDebugUtils.currentLine=67633160; + //BA.debugLineNum = 67633160;BA.debugLine="End Sub"; +return ""; +} +public String _plotcircle(reparto_izca.keymon.lat.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=67829760; + //BA.debugLineNum = 67829760;BA.debugLine="Private Sub PlotCircle(radius As Int, quadrants As"; +RDebugUtils.currentLine=67829762; + //BA.debugLineNum = 67829762;BA.debugLine="Dim mask As Int = 1"; +_mask = (int) (1); +RDebugUtils.currentLine=67829763; + //BA.debugLineNum = 67829763;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=67829764; + //BA.debugLineNum = 67829764;BA.debugLine="If Bit.And(quadrants, mask) <> 0 Then"; +if (__c.Bit.And(_quadrants,_mask)!=0) { +RDebugUtils.currentLine=67829765; + //BA.debugLineNum = 67829765;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=67829766; + //BA.debugLineNum = 67829766;BA.debugLine="Dim x,y As Double"; +_x = 0; +_y = 0; +RDebugUtils.currentLine=67829767; + //BA.debugLineNum = 67829767;BA.debugLine="x = x1 - SinD(i)*radius"; +_x = _x1-__c.SinD(_i)*_radius; +RDebugUtils.currentLine=67829768; + //BA.debugLineNum = 67829768;BA.debugLine="y = y1 - CosD(i)*radius"; +_y = _y1-__c.CosD(_i)*_radius; +RDebugUtils.currentLine=67829769; + //BA.debugLineNum = 67829769;BA.debugLine="If fill > 0 Then"; +if (_fill>0) { +RDebugUtils.currentLine=67829770; + //BA.debugLineNum = 67829770;BA.debugLine="PlotLine(x1, y1, x, y, points)"; +__ref._plotline /*String*/ (null,_x1,_y1,(int) (_x),(int) (_y),_points); + }else { +RDebugUtils.currentLine=67829772; + //BA.debugLineNum = 67829772;BA.debugLine="points(Round(x), Round(y)) = 1"; +_points[(int) (__c.Round(_x))][(int) (__c.Round(_y))] = (byte) (1); + }; + } +}; + }; +RDebugUtils.currentLine=67829776; + //BA.debugLineNum = 67829776;BA.debugLine="mask = Bit.ShiftLeft(mask, 1)"; +_mask = __c.Bit.ShiftLeft(_mask,(int) (1)); + } +}; +RDebugUtils.currentLine=67829778; + //BA.debugLineNum = 67829778;BA.debugLine="End Sub"; +return ""; +} +public String _plotbox(reparto_izca.keymon.lat.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=67764224; + //BA.debugLineNum = 67764224;BA.debugLine="Private Sub PlotBox(x0 As Int, y0 As Int, x1 As In"; +RDebugUtils.currentLine=67764226; + //BA.debugLineNum = 67764226;BA.debugLine="PlotLine(x0, y0, x0, y1, points)"; +__ref._plotline /*String*/ (null,_x0,_y0,_x0,_y1,_points); +RDebugUtils.currentLine=67764227; + //BA.debugLineNum = 67764227;BA.debugLine="PlotLine(x0, y0, x1, y0, points)"; +__ref._plotline /*String*/ (null,_x0,_y0,_x1,_y0,_points); +RDebugUtils.currentLine=67764228; + //BA.debugLineNum = 67764228;BA.debugLine="PlotLine(x1, y0, x1, y1, points)"; +__ref._plotline /*String*/ (null,_x1,_y0,_x1,_y1,_points); +RDebugUtils.currentLine=67764229; + //BA.debugLineNum = 67764229;BA.debugLine="PlotLine(x0, y1, x1, y1, points)"; +__ref._plotline /*String*/ (null,_x0,_y1,_x1,_y1,_points); +RDebugUtils.currentLine=67764230; + //BA.debugLineNum = 67764230;BA.debugLine="If Fill > 0 Then"; +if (_fill>0) { +RDebugUtils.currentLine=67764231; + //BA.debugLineNum = 67764231;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=67764232; + //BA.debugLineNum = 67764232;BA.debugLine="PlotLine(x, y0, x, y1, points)"; +__ref._plotline /*String*/ (null,_x,_y0,_x,_y1,_points); + } +}; + }; +RDebugUtils.currentLine=67764235; + //BA.debugLineNum = 67764235;BA.debugLine="End Sub"; +return ""; +} +public String _plotline(reparto_izca.keymon.lat.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=67895296; + //BA.debugLineNum = 67895296;BA.debugLine="Private Sub PlotLine(x0 As Int, y0 As Int, x1 As I"; +RDebugUtils.currentLine=67895297; + //BA.debugLineNum = 67895297;BA.debugLine="If Abs(y1 - y0) < Abs(x1 - x0) Then"; +if (__c.Abs(_y1-_y0)<__c.Abs(_x1-_x0)) { +RDebugUtils.currentLine=67895298; + //BA.debugLineNum = 67895298;BA.debugLine="If x0 > x1 Then"; +if (_x0>_x1) { +RDebugUtils.currentLine=67895299; + //BA.debugLineNum = 67895299;BA.debugLine="PlotLineLow(x1, y1, x0, y0, points)"; +__ref._plotlinelow /*String*/ (null,_x1,_y1,_x0,_y0,_points); + }else { +RDebugUtils.currentLine=67895301; + //BA.debugLineNum = 67895301;BA.debugLine="PlotLineLow(x0, y0, x1, y1, points)"; +__ref._plotlinelow /*String*/ (null,_x0,_y0,_x1,_y1,_points); + }; + }else { +RDebugUtils.currentLine=67895304; + //BA.debugLineNum = 67895304;BA.debugLine="If y0 > y1 Then"; +if (_y0>_y1) { +RDebugUtils.currentLine=67895305; + //BA.debugLineNum = 67895305;BA.debugLine="PlotLineHigh(x1, y1, x0, y0, points)"; +__ref._plotlinehigh /*String*/ (null,_x1,_y1,_x0,_y0,_points); + }else { +RDebugUtils.currentLine=67895307; + //BA.debugLineNum = 67895307;BA.debugLine="PlotLineHigh(x0, y0, x1, y1, points)"; +__ref._plotlinehigh /*String*/ (null,_x0,_y0,_x1,_y1,_points); + }; + }; +RDebugUtils.currentLine=67895310; + //BA.debugLineNum = 67895310;BA.debugLine="End Sub"; +return ""; +} +public int _createline(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=67371008; + //BA.debugLineNum = 67371008;BA.debugLine="Public Sub CreateLine(x0 As Int, y0 As Int, x1 As"; +RDebugUtils.currentLine=67371009; + //BA.debugLineNum = 67371009;BA.debugLine="Dim line As Int = 0"; +_line = (int) (0); +RDebugUtils.currentLine=67371010; + //BA.debugLineNum = 67371010;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))); +RDebugUtils.currentLine=67371011; + //BA.debugLineNum = 67371011;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))); +RDebugUtils.currentLine=67371012; + //BA.debugLineNum = 67371012;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))); +RDebugUtils.currentLine=67371013; + //BA.debugLineNum = 67371013;BA.debugLine="line = line + Bit.And(0x1f,y1)"; +_line = (int) (_line+__c.Bit.And(((int)0x1f),_y1)); +RDebugUtils.currentLine=67371014; + //BA.debugLineNum = 67371014;BA.debugLine="Return line"; +if (true) return _line; +RDebugUtils.currentLine=67371015; + //BA.debugLineNum = 67371015;BA.debugLine="End Sub"; +return 0; +} +public int _createtriangle(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=67502080; + //BA.debugLineNum = 67502080;BA.debugLine="Public Sub CreateTriangle(x0 As Int, y0 As Int, x1"; +RDebugUtils.currentLine=67502081; + //BA.debugLineNum = 67502081;BA.debugLine="Dim triangle As Int = 0x30000000"; +_triangle = ((int)0x30000000); +RDebugUtils.currentLine=67502082; + //BA.debugLineNum = 67502082;BA.debugLine="If fill Then triangle = triangle + 0x80000000"; +if (_fill) { +_triangle = (int) (_triangle+((int)0x80000000));}; +RDebugUtils.currentLine=67502083; + //BA.debugLineNum = 67502083;BA.debugLine="triangle = triangle + Bit.ShiftLeft(Bit.And(0xf,x"; +_triangle = (int) (_triangle+__c.Bit.ShiftLeft(__c.Bit.And(((int)0xf),_x0),(int) (24))); +RDebugUtils.currentLine=67502084; + //BA.debugLineNum = 67502084;BA.debugLine="triangle = triangle + Bit.ShiftLeft(Bit.And(0x1f,"; +_triangle = (int) (_triangle+__c.Bit.ShiftLeft(__c.Bit.And(((int)0x1f),_y0),(int) (16))); +RDebugUtils.currentLine=67502085; + //BA.debugLineNum = 67502085;BA.debugLine="triangle = triangle + Bit.ShiftLeft(Bit.And(0xf,x"; +_triangle = (int) (_triangle+__c.Bit.ShiftLeft(__c.Bit.And(((int)0xf),_x1),(int) (8))); +RDebugUtils.currentLine=67502086; + //BA.debugLineNum = 67502086;BA.debugLine="triangle = triangle + Bit.And(0x1f,y1)"; +_triangle = (int) (_triangle+__c.Bit.And(((int)0x1f),_y1)); +RDebugUtils.currentLine=67502087; + //BA.debugLineNum = 67502087;BA.debugLine="triangle = triangle + Bit.ShiftLeft(Bit.And(0xf,x"; +_triangle = (int) (_triangle+__c.Bit.ShiftLeft(__c.Bit.And(((int)0xf),_x2),(int) (12))); +RDebugUtils.currentLine=67502088; + //BA.debugLineNum = 67502088;BA.debugLine="triangle = triangle + Bit.ShiftLeft(Bit.And(0x7,y"; +_triangle = (int) (_triangle+__c.Bit.ShiftLeft(__c.Bit.And(((int)0x7),_y2),(int) (5))); +RDebugUtils.currentLine=67502089; + //BA.debugLineNum = 67502089;BA.debugLine="triangle = triangle + Bit.ShiftLeft(Bit.And(0x18,"; +_triangle = (int) (_triangle+__c.Bit.ShiftLeft(__c.Bit.And(((int)0x18),_y2),(int) (18))); +RDebugUtils.currentLine=67502090; + //BA.debugLineNum = 67502090;BA.debugLine="Return triangle"; +if (true) return _triangle; +RDebugUtils.currentLine=67502091; + //BA.debugLineNum = 67502091;BA.debugLine="End Sub"; +return 0; +} +public int _definecustomcharacter(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=67239936; + //BA.debugLineNum = 67239936;BA.debugLine="Public Sub DefineCustomCharacter(charcode As Int,"; +RDebugUtils.currentLine=67239937; + //BA.debugLineNum = 67239937;BA.debugLine="Dim excess As Int = bitdata.Length Mod 3"; +_excess = (int) (_bitdata.length%3); +RDebugUtils.currentLine=67239938; + //BA.debugLineNum = 67239938;BA.debugLine="If excess <> 0 Then Return -1"; +if (_excess!=0) { +if (true) return (int) (-1);}; +RDebugUtils.currentLine=67239939; + //BA.debugLineNum = 67239939;BA.debugLine="Dim size As Int = bitdata.Length / 3"; +_size = (int) (_bitdata.length/(double)3); +RDebugUtils.currentLine=67239940; + //BA.debugLineNum = 67239940;BA.debugLine="WriteString(ESC & \"&\")"; +__ref._writestring /*String*/ (null,__ref._esc /*String*/ +"&"); +RDebugUtils.currentLine=67239941; + //BA.debugLineNum = 67239941;BA.debugLine="Dim params(4) As Byte"; +_params = new byte[(int) (4)]; +; +RDebugUtils.currentLine=67239942; + //BA.debugLineNum = 67239942;BA.debugLine="params(0) = 3"; +_params[(int) (0)] = (byte) (3); +RDebugUtils.currentLine=67239943; + //BA.debugLineNum = 67239943;BA.debugLine="params(1) = charcode"; +_params[(int) (1)] = (byte) (_charcode); +RDebugUtils.currentLine=67239944; + //BA.debugLineNum = 67239944;BA.debugLine="params(2) = charcode"; +_params[(int) (2)] = (byte) (_charcode); +RDebugUtils.currentLine=67239945; + //BA.debugLineNum = 67239945;BA.debugLine="params(3) = size"; +_params[(int) (3)] = (byte) (_size); +RDebugUtils.currentLine=67239946; + //BA.debugLineNum = 67239946;BA.debugLine="WriteBytes(params)"; +__ref._writebytes /*String*/ (null,_params); +RDebugUtils.currentLine=67239947; + //BA.debugLineNum = 67239947;BA.debugLine="WriteBytes(bitdata)"; +__ref._writebytes /*String*/ (null,_bitdata); +RDebugUtils.currentLine=67239948; + //BA.debugLineNum = 67239948;BA.debugLine="Return 0"; +if (true) return (int) (0); +RDebugUtils.currentLine=67239949; + //BA.debugLineNum = 67239949;BA.debugLine="End Sub"; +return 0; +} +public String _writebytes(reparto_izca.keymon.lat.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=66912256; + //BA.debugLineNum = 66912256;BA.debugLine="Public Sub WriteBytes(data() As Byte)"; +RDebugUtils.currentLine=66912257; + //BA.debugLineNum = 66912257;BA.debugLine="If Connected Then"; +if (__ref._connected /*boolean*/ ) { +RDebugUtils.currentLine=66912258; + //BA.debugLineNum = 66912258;BA.debugLine="Astream.Write(data)"; +__ref._astream /*anywheresoftware.b4a.randomaccessfile.AsyncStreams*/ .Write(_data); + }; +RDebugUtils.currentLine=66912260; + //BA.debugLineNum = 66912260;BA.debugLine="End Sub"; +return ""; +} +public String _deletecustomcharacter(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=67108864; + //BA.debugLineNum = 67108864;BA.debugLine="Public Sub DeleteCustomCharacter(charcode As Int)"; +RDebugUtils.currentLine=67108865; + //BA.debugLineNum = 67108865;BA.debugLine="WriteString(ESC & \"?\")"; +__ref._writestring /*String*/ (null,__ref._esc /*String*/ +"?"); +RDebugUtils.currentLine=67108866; + //BA.debugLineNum = 67108866;BA.debugLine="Dim params(1) As Byte"; +_params = new byte[(int) (1)]; +; +RDebugUtils.currentLine=67108867; + //BA.debugLineNum = 67108867;BA.debugLine="params(0) = charcode"; +_params[(int) (0)] = (byte) (_charcode); +RDebugUtils.currentLine=67108868; + //BA.debugLineNum = 67108868;BA.debugLine="WriteBytes(params)"; +__ref._writebytes /*String*/ (null,_params); +RDebugUtils.currentLine=67108869; + //BA.debugLineNum = 67108869;BA.debugLine="End Sub"; +return ""; +} +public reparto_izca.keymon.lat.escposprinter._animage _ditherimage1d(reparto_izca.keymon.lat.escposprinter __ref,reparto_izca.keymon.lat.escposprinter._animage _img,int _threshold) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "ditherimage1d", false)) + {return ((reparto_izca.keymon.lat.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; +reparto_izca.keymon.lat.escposprinter._animage _ret = null; +RDebugUtils.currentLine=68222976; + //BA.debugLineNum = 68222976;BA.debugLine="Sub DitherImage1D(img As AnImage, threshold As Int"; +RDebugUtils.currentLine=68222977; + //BA.debugLineNum = 68222977;BA.debugLine="Dim pixels(img.Data.Length) As Byte"; +_pixels = new byte[_img.Data /*byte[]*/ .length]; +; +RDebugUtils.currentLine=68222978; + //BA.debugLineNum = 68222978;BA.debugLine="Dim error As Int"; +_error = 0; +RDebugUtils.currentLine=68222979; + //BA.debugLineNum = 68222979;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 ) { +RDebugUtils.currentLine=68222980; + //BA.debugLineNum = 68222980;BA.debugLine="error = 0 ' reset on each new line"; +_error = (int) (0); +RDebugUtils.currentLine=68222981; + //BA.debugLineNum = 68222981;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 ) { +RDebugUtils.currentLine=68222982; + //BA.debugLineNum = 68222982;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)); +RDebugUtils.currentLine=68222983; + //BA.debugLineNum = 68222983;BA.debugLine="lum = lum + error"; +_lum = (int) (_lum+_error); +RDebugUtils.currentLine=68222984; + //BA.debugLineNum = 68222984;BA.debugLine="If lum < threshold Then"; +if (_lum<_threshold) { +RDebugUtils.currentLine=68222985; + //BA.debugLineNum = 68222985;BA.debugLine="error = lum"; +_error = _lum; +RDebugUtils.currentLine=68222986; + //BA.debugLineNum = 68222986;BA.debugLine="lum = 1"; +_lum = (int) (1); + }else { +RDebugUtils.currentLine=68222988; + //BA.debugLineNum = 68222988;BA.debugLine="error = lum - 255"; +_error = (int) (_lum-255); +RDebugUtils.currentLine=68222989; + //BA.debugLineNum = 68222989;BA.debugLine="lum = 0"; +_lum = (int) (0); + }; +RDebugUtils.currentLine=68222991; + //BA.debugLineNum = 68222991;BA.debugLine="pixels(y*img.Width + x) = lum"; +_pixels[(int) (_y*_img.Width /*int*/ +_x)] = (byte) (_lum); + } +}; + } +}; +RDebugUtils.currentLine=68222994; + //BA.debugLineNum = 68222994;BA.debugLine="Dim ret As AnImage"; +_ret = new reparto_izca.keymon.lat.escposprinter._animage(); +RDebugUtils.currentLine=68222995; + //BA.debugLineNum = 68222995;BA.debugLine="ret.Width = img.Width"; +_ret.Width /*int*/ = _img.Width /*int*/ ; +RDebugUtils.currentLine=68222996; + //BA.debugLineNum = 68222996;BA.debugLine="ret.Height = img.Height"; +_ret.Height /*int*/ = _img.Height /*int*/ ; +RDebugUtils.currentLine=68222997; + //BA.debugLineNum = 68222997;BA.debugLine="ret.Data = pixels"; +_ret.Data /*byte[]*/ = _pixels; +RDebugUtils.currentLine=68222998; + //BA.debugLineNum = 68222998;BA.debugLine="Return ret"; +if (true) return _ret; +RDebugUtils.currentLine=68222999; + //BA.debugLineNum = 68222999;BA.debugLine="End Sub"; +return null; +} +public String _filltriangle(reparto_izca.keymon.lat.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; +double _dx1 = 0; +double _dx2 = 0; +double _x3 = 0; +double _x4 = 0; +double _y3 = 0; +double _y4 = 0; +int _inc = 0; +int _x = 0; +RDebugUtils.currentLine=67698688; + //BA.debugLineNum = 67698688;BA.debugLine="Private Sub FillTriangle(x0 As Int, y0 As Int, x1"; +RDebugUtils.currentLine=67698690; + //BA.debugLineNum = 67698690;BA.debugLine="Dim tx, ty As Int"; +_tx = 0; +_ty = 0; +RDebugUtils.currentLine=67698691; + //BA.debugLineNum = 67698691;BA.debugLine="If y0 > y1 Then"; +if (_y0>_y1) { +RDebugUtils.currentLine=67698692; + //BA.debugLineNum = 67698692;BA.debugLine="tx = x0 : ty = y0"; +_tx = _x0; +RDebugUtils.currentLine=67698692; + //BA.debugLineNum = 67698692;BA.debugLine="tx = x0 : ty = y0"; +_ty = _y0; +RDebugUtils.currentLine=67698693; + //BA.debugLineNum = 67698693;BA.debugLine="x0 = x1 : y0 = y1"; +_x0 = _x1; +RDebugUtils.currentLine=67698693; + //BA.debugLineNum = 67698693;BA.debugLine="x0 = x1 : y0 = y1"; +_y0 = _y1; +RDebugUtils.currentLine=67698694; + //BA.debugLineNum = 67698694;BA.debugLine="x1 = tx : y1 = ty"; +_x1 = _tx; +RDebugUtils.currentLine=67698694; + //BA.debugLineNum = 67698694;BA.debugLine="x1 = tx : y1 = ty"; +_y1 = _ty; + }; +RDebugUtils.currentLine=67698696; + //BA.debugLineNum = 67698696;BA.debugLine="If y0 > y2 Then"; +if (_y0>_y2) { +RDebugUtils.currentLine=67698697; + //BA.debugLineNum = 67698697;BA.debugLine="tx = x0 : ty = y0"; +_tx = _x0; +RDebugUtils.currentLine=67698697; + //BA.debugLineNum = 67698697;BA.debugLine="tx = x0 : ty = y0"; +_ty = _y0; +RDebugUtils.currentLine=67698698; + //BA.debugLineNum = 67698698;BA.debugLine="x0 = x2 : y0 = y2"; +_x0 = _x2; +RDebugUtils.currentLine=67698698; + //BA.debugLineNum = 67698698;BA.debugLine="x0 = x2 : y0 = y2"; +_y0 = _y2; +RDebugUtils.currentLine=67698699; + //BA.debugLineNum = 67698699;BA.debugLine="x2 = tx : y2 = ty"; +_x2 = _tx; +RDebugUtils.currentLine=67698699; + //BA.debugLineNum = 67698699;BA.debugLine="x2 = tx : y2 = ty"; +_y2 = _ty; + }; +RDebugUtils.currentLine=67698701; + //BA.debugLineNum = 67698701;BA.debugLine="If y1 > y2 Then"; +if (_y1>_y2) { +RDebugUtils.currentLine=67698702; + //BA.debugLineNum = 67698702;BA.debugLine="tx = x1 : ty = y1"; +_tx = _x1; +RDebugUtils.currentLine=67698702; + //BA.debugLineNum = 67698702;BA.debugLine="tx = x1 : ty = y1"; +_ty = _y1; +RDebugUtils.currentLine=67698703; + //BA.debugLineNum = 67698703;BA.debugLine="x1 = x2 : y1 = y2"; +_x1 = _x2; +RDebugUtils.currentLine=67698703; + //BA.debugLineNum = 67698703;BA.debugLine="x1 = x2 : y1 = y2"; +_y1 = _y2; +RDebugUtils.currentLine=67698704; + //BA.debugLineNum = 67698704;BA.debugLine="x2 = tx : y2 = ty"; +_x2 = _tx; +RDebugUtils.currentLine=67698704; + //BA.debugLineNum = 67698704;BA.debugLine="x2 = tx : y2 = ty"; +_y2 = _ty; + }; +RDebugUtils.currentLine=67698707; + //BA.debugLineNum = 67698707;BA.debugLine="Dim dx0, dx1, dx2 As Double"; +_dx0 = 0; +_dx1 = 0; +_dx2 = 0; +RDebugUtils.currentLine=67698708; + //BA.debugLineNum = 67698708;BA.debugLine="Dim x3, x4, y3, y4 As Double"; +_x3 = 0; +_x4 = 0; +_y3 = 0; +_y4 = 0; +RDebugUtils.currentLine=67698709; + //BA.debugLineNum = 67698709;BA.debugLine="Dim inc As Int"; +_inc = 0; +RDebugUtils.currentLine=67698711; + //BA.debugLineNum = 67698711;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;}; +RDebugUtils.currentLine=67698712; + //BA.debugLineNum = 67698712;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;}; +RDebugUtils.currentLine=67698713; + //BA.debugLineNum = 67698713;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;}; +RDebugUtils.currentLine=67698714; + //BA.debugLineNum = 67698714;BA.debugLine="x3 = x0 : x4 = x0"; +_x3 = _x0; +RDebugUtils.currentLine=67698714; + //BA.debugLineNum = 67698714;BA.debugLine="x3 = x0 : x4 = x0"; +_x4 = _x0; +RDebugUtils.currentLine=67698715; + //BA.debugLineNum = 67698715;BA.debugLine="y3 = y0 : y4 = y0"; +_y3 = _y0; +RDebugUtils.currentLine=67698715; + //BA.debugLineNum = 67698715;BA.debugLine="y3 = y0 : y4 = y0"; +_y4 = _y0; +RDebugUtils.currentLine=67698716; + //BA.debugLineNum = 67698716;BA.debugLine="If dx0 > dx1 Then"; +if (_dx0>_dx1) { +RDebugUtils.currentLine=67698717; + //BA.debugLineNum = 67698717;BA.debugLine="While"; +__c.While(); +RDebugUtils.currentLine=67698718; + //BA.debugLineNum = 67698718;BA.debugLine="Do While y3 <= y1"; +while (_y3<=_y1) { +RDebugUtils.currentLine=67698719; + //BA.debugLineNum = 67698719;BA.debugLine="If x3 > x4 Then inc = -1 Else inc = 1"; +if (_x3>_x4) { +_inc = (int) (-1);} +else { +_inc = (int) (1);}; +RDebugUtils.currentLine=67698720; + //BA.debugLineNum = 67698720;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)) ) { +RDebugUtils.currentLine=67698721; + //BA.debugLineNum = 67698721;BA.debugLine="points(x, y3) = 1"; +_points[_x][(int) (_y3)] = (byte) (1); + } +}; +RDebugUtils.currentLine=67698723; + //BA.debugLineNum = 67698723;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; +_y3 = _y3+1; +RDebugUtils.currentLine=67698723; + //BA.debugLineNum = 67698723;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; +_y4 = _y4+1; +RDebugUtils.currentLine=67698723; + //BA.debugLineNum = 67698723;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; +_x3 = _x3+_dx1; +RDebugUtils.currentLine=67698723; + //BA.debugLineNum = 67698723;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; +_x4 = _x4+_dx0; + } +; +RDebugUtils.currentLine=67698725; + //BA.debugLineNum = 67698725;BA.debugLine="x4=x1"; +_x4 = _x1; +RDebugUtils.currentLine=67698726; + //BA.debugLineNum = 67698726;BA.debugLine="y4=y1"; +_y4 = _y1; +RDebugUtils.currentLine=67698727; + //BA.debugLineNum = 67698727;BA.debugLine="Do While y3 <= y2"; +while (_y3<=_y2) { +RDebugUtils.currentLine=67698728; + //BA.debugLineNum = 67698728;BA.debugLine="If x3 > x4 Then inc = -1 Else inc = 1"; +if (_x3>_x4) { +_inc = (int) (-1);} +else { +_inc = (int) (1);}; +RDebugUtils.currentLine=67698729; + //BA.debugLineNum = 67698729;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)) ) { +RDebugUtils.currentLine=67698730; + //BA.debugLineNum = 67698730;BA.debugLine="points(x ,y3) = 1"; +_points[_x][(int) (_y3)] = (byte) (1); + } +}; +RDebugUtils.currentLine=67698732; + //BA.debugLineNum = 67698732;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; +_y3 = _y3+1; +RDebugUtils.currentLine=67698732; + //BA.debugLineNum = 67698732;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; +_y4 = _y4+1; +RDebugUtils.currentLine=67698732; + //BA.debugLineNum = 67698732;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; +_x3 = _x3+_dx1; +RDebugUtils.currentLine=67698732; + //BA.debugLineNum = 67698732;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; +_x4 = _x4+_dx2; + } +; + }else { +RDebugUtils.currentLine=67698735; + //BA.debugLineNum = 67698735;BA.debugLine="While"; +__c.While(); +RDebugUtils.currentLine=67698736; + //BA.debugLineNum = 67698736;BA.debugLine="Do While y3 <= y1"; +while (_y3<=_y1) { +RDebugUtils.currentLine=67698737; + //BA.debugLineNum = 67698737;BA.debugLine="If x3 > x4 Then inc = -1 Else inc = 1"; +if (_x3>_x4) { +_inc = (int) (-1);} +else { +_inc = (int) (1);}; +RDebugUtils.currentLine=67698738; + //BA.debugLineNum = 67698738;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)) ) { +RDebugUtils.currentLine=67698739; + //BA.debugLineNum = 67698739;BA.debugLine="points(x, y3) = 1"; +_points[_x][(int) (_y3)] = (byte) (1); + } +}; +RDebugUtils.currentLine=67698741; + //BA.debugLineNum = 67698741;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx0 : x4"; +_y3 = _y3+1; +RDebugUtils.currentLine=67698741; + //BA.debugLineNum = 67698741;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx0 : x4"; +_y4 = _y4+1; +RDebugUtils.currentLine=67698741; + //BA.debugLineNum = 67698741;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx0 : x4"; +_x3 = _x3+_dx0; +RDebugUtils.currentLine=67698741; + //BA.debugLineNum = 67698741;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx0 : x4"; +_x4 = _x4+_dx1; + } +; +RDebugUtils.currentLine=67698743; + //BA.debugLineNum = 67698743;BA.debugLine="x3=x1"; +_x3 = _x1; +RDebugUtils.currentLine=67698744; + //BA.debugLineNum = 67698744;BA.debugLine="y3=y1"; +_y3 = _y1; +RDebugUtils.currentLine=67698745; + //BA.debugLineNum = 67698745;BA.debugLine="Do While y3<=y2"; +while (_y3<=_y2) { +RDebugUtils.currentLine=67698746; + //BA.debugLineNum = 67698746;BA.debugLine="If x3 > x4 Then inc = -1 Else inc = 1"; +if (_x3>_x4) { +_inc = (int) (-1);} +else { +_inc = (int) (1);}; +RDebugUtils.currentLine=67698747; + //BA.debugLineNum = 67698747;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)) ) { +RDebugUtils.currentLine=67698748; + //BA.debugLineNum = 67698748;BA.debugLine="points(x, y3) = 1"; +_points[_x][(int) (_y3)] = (byte) (1); + } +}; +RDebugUtils.currentLine=67698750; + //BA.debugLineNum = 67698750;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx2 : x4"; +_y3 = _y3+1; +RDebugUtils.currentLine=67698750; + //BA.debugLineNum = 67698750;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx2 : x4"; +_y4 = _y4+1; +RDebugUtils.currentLine=67698750; + //BA.debugLineNum = 67698750;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx2 : x4"; +_x3 = _x3+_dx2; +RDebugUtils.currentLine=67698750; + //BA.debugLineNum = 67698750;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx2 : x4"; +_x4 = _x4+_dx1; + } +; + }; +RDebugUtils.currentLine=67698753; + //BA.debugLineNum = 67698753;BA.debugLine="End Sub"; +return ""; +} +public boolean _isbluetoothon(reparto_izca.keymon.lat.escposprinter __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "isbluetoothon", false)) + {return ((Boolean) Debug.delegate(ba, "isbluetoothon", null));} +RDebugUtils.currentLine=65929216; + //BA.debugLineNum = 65929216;BA.debugLine="Public Sub IsBluetoothOn As Boolean"; +RDebugUtils.currentLine=65929217; + //BA.debugLineNum = 65929217;BA.debugLine="Return Serial1.IsEnabled"; +if (true) return __ref._serial1 /*anywheresoftware.b4a.objects.Serial*/ .IsEnabled(); +RDebugUtils.currentLine=65929218; + //BA.debugLineNum = 65929218;BA.debugLine="End Sub"; +return false; +} +public byte[] _packimageslice(reparto_izca.keymon.lat.escposprinter __ref,reparto_izca.keymon.lat.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; +byte[] _masks = null; +int _x = 0; +int _s = 0; +byte _xbyte = (byte)0; +int _b = 0; +byte _pix = (byte)0; +RDebugUtils.currentLine=68550656; + //BA.debugLineNum = 68550656;BA.debugLine="Public Sub PackImageSlice(img As AnImage, slice As"; +RDebugUtils.currentLine=68550657; + //BA.debugLineNum = 68550657;BA.debugLine="Dim bytes As Int = img.width"; +_bytes = _img.Width /*int*/ ; +RDebugUtils.currentLine=68550658; + //BA.debugLineNum = 68550658;BA.debugLine="If dots24 Then"; +if (_dots24) { +RDebugUtils.currentLine=68550659; + //BA.debugLineNum = 68550659;BA.debugLine="Dim pixels(bytes * 3) As Byte"; +_pixels = new byte[(int) (_bytes*3)]; +; +RDebugUtils.currentLine=68550660; + //BA.debugLineNum = 68550660;BA.debugLine="Dim slicestart As Int = slice * bytes * 8 * 3"; +_slicestart = (int) (_slice*_bytes*8*3); + }else { +RDebugUtils.currentLine=68550662; + //BA.debugLineNum = 68550662;BA.debugLine="Dim pixels(bytes) As Byte"; +_pixels = new byte[_bytes]; +; +RDebugUtils.currentLine=68550663; + //BA.debugLineNum = 68550663;BA.debugLine="Dim slicestart As Int = slice * bytes * 8"; +_slicestart = (int) (_slice*_bytes*8); + }; +RDebugUtils.currentLine=68550666; + //BA.debugLineNum = 68550666;BA.debugLine="Dim masks(8) As Byte"; +_masks = new byte[(int) (8)]; +; +RDebugUtils.currentLine=68550667; + //BA.debugLineNum = 68550667;BA.debugLine="masks(0) = 0x80"; +_masks[(int) (0)] = (byte) (((int)0x80)); +RDebugUtils.currentLine=68550668; + //BA.debugLineNum = 68550668;BA.debugLine="masks(1) = 0x40"; +_masks[(int) (1)] = (byte) (((int)0x40)); +RDebugUtils.currentLine=68550669; + //BA.debugLineNum = 68550669;BA.debugLine="masks(2) = 0x20"; +_masks[(int) (2)] = (byte) (((int)0x20)); +RDebugUtils.currentLine=68550670; + //BA.debugLineNum = 68550670;BA.debugLine="masks(3) = 0x10"; +_masks[(int) (3)] = (byte) (((int)0x10)); +RDebugUtils.currentLine=68550671; + //BA.debugLineNum = 68550671;BA.debugLine="masks(4) = 0x08"; +_masks[(int) (4)] = (byte) (((int)0x08)); +RDebugUtils.currentLine=68550672; + //BA.debugLineNum = 68550672;BA.debugLine="masks(5) = 0x04"; +_masks[(int) (5)] = (byte) (((int)0x04)); +RDebugUtils.currentLine=68550673; + //BA.debugLineNum = 68550673;BA.debugLine="masks(6) = 0x02"; +_masks[(int) (6)] = (byte) (((int)0x02)); +RDebugUtils.currentLine=68550674; + //BA.debugLineNum = 68550674;BA.debugLine="masks(7) = 0x01"; +_masks[(int) (7)] = (byte) (((int)0x01)); +RDebugUtils.currentLine=68550676; + //BA.debugLineNum = 68550676;BA.debugLine="If dots24 Then"; +if (_dots24) { +RDebugUtils.currentLine=68550677; + //BA.debugLineNum = 68550677;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 ) { +RDebugUtils.currentLine=68550678; + //BA.debugLineNum = 68550678;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 ) { +RDebugUtils.currentLine=68550679; + //BA.debugLineNum = 68550679;BA.debugLine="Dim xbyte As Byte = 0"; +_xbyte = (byte) (0); +RDebugUtils.currentLine=68550680; + //BA.debugLineNum = 68550680;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 ) { +RDebugUtils.currentLine=68550682; + //BA.debugLineNum = 68550682;BA.debugLine="Dim pix As Byte = img.Data(slicestart + ((b +"; +_pix = _img.Data /*byte[]*/ [(int) (_slicestart+((_b+_s*8)*_bytes)+_x)]; +RDebugUtils.currentLine=68550683; + //BA.debugLineNum = 68550683;BA.debugLine="If pix <> 0 Then"; +if (_pix!=0) { +RDebugUtils.currentLine=68550684; + //BA.debugLineNum = 68550684;BA.debugLine="xbyte = xbyte + masks(b)"; +_xbyte = (byte) (_xbyte+_masks[_b]); + }; + } +}; +RDebugUtils.currentLine=68550687; + //BA.debugLineNum = 68550687;BA.debugLine="pixels(x*3+s) = xbyte"; +_pixels[(int) (_x*3+_s)] = _xbyte; + } +}; + } +}; + }else { +RDebugUtils.currentLine=68550691; + //BA.debugLineNum = 68550691;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 ) { +RDebugUtils.currentLine=68550692; + //BA.debugLineNum = 68550692;BA.debugLine="Dim xbyte As Byte = 0"; +_xbyte = (byte) (0); +RDebugUtils.currentLine=68550693; + //BA.debugLineNum = 68550693;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 ) { +RDebugUtils.currentLine=68550695; + //BA.debugLineNum = 68550695;BA.debugLine="Dim pix As Byte = img.Data(slicestart + (b * b"; +_pix = _img.Data /*byte[]*/ [(int) (_slicestart+(_b*_bytes)+_x)]; +RDebugUtils.currentLine=68550696; + //BA.debugLineNum = 68550696;BA.debugLine="If pix <> 0 Then"; +if (_pix!=0) { +RDebugUtils.currentLine=68550697; + //BA.debugLineNum = 68550697;BA.debugLine="xbyte = xbyte + masks(b)"; +_xbyte = (byte) (_xbyte+_masks[_b]); + }; + } +}; +RDebugUtils.currentLine=68550700; + //BA.debugLineNum = 68550700;BA.debugLine="pixels(x) = xbyte"; +_pixels[_x] = _xbyte; + } +}; + }; +RDebugUtils.currentLine=68550703; + //BA.debugLineNum = 68550703;BA.debugLine="Return pixels"; +if (true) return _pixels; +RDebugUtils.currentLine=68550704; + //BA.debugLineNum = 68550704;BA.debugLine="End Sub"; +return null; +} +public String _plotlinelow(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=68026368; + //BA.debugLineNum = 68026368;BA.debugLine="Private Sub PlotLineLow(x0 As Int, y0 As Int, x1 A"; +RDebugUtils.currentLine=68026369; + //BA.debugLineNum = 68026369;BA.debugLine="Dim dx As Int = x1 - x0"; +_dx = (int) (_x1-_x0); +RDebugUtils.currentLine=68026370; + //BA.debugLineNum = 68026370;BA.debugLine="Dim dy As Int = y1 - y0"; +_dy = (int) (_y1-_y0); +RDebugUtils.currentLine=68026371; + //BA.debugLineNum = 68026371;BA.debugLine="Dim yi As Int = 1"; +_yi = (int) (1); +RDebugUtils.currentLine=68026372; + //BA.debugLineNum = 68026372;BA.debugLine="If dy < 0 Then"; +if (_dy<0) { +RDebugUtils.currentLine=68026373; + //BA.debugLineNum = 68026373;BA.debugLine="yi = -1"; +_yi = (int) (-1); +RDebugUtils.currentLine=68026374; + //BA.debugLineNum = 68026374;BA.debugLine="dy = -dy"; +_dy = (int) (-_dy); + }; +RDebugUtils.currentLine=68026376; + //BA.debugLineNum = 68026376;BA.debugLine="Dim D As Int = 2*dy - dx"; +_d = (int) (2*_dy-_dx); +RDebugUtils.currentLine=68026377; + //BA.debugLineNum = 68026377;BA.debugLine="Dim y As Int = y0"; +_y = _y0; +RDebugUtils.currentLine=68026378; + //BA.debugLineNum = 68026378;BA.debugLine="For x = x0 To x1"; +{ +final int step10 = 1; +final int limit10 = _x1; +_x = _x0 ; +for (;_x <= limit10 ;_x = _x + step10 ) { +RDebugUtils.currentLine=68026379; + //BA.debugLineNum = 68026379;BA.debugLine="points(x,y) = 1"; +_points[_x][_y] = (byte) (1); +RDebugUtils.currentLine=68026380; + //BA.debugLineNum = 68026380;BA.debugLine="If D > 0 Then"; +if (_d>0) { +RDebugUtils.currentLine=68026381; + //BA.debugLineNum = 68026381;BA.debugLine="y = y + yi"; +_y = (int) (_y+_yi); +RDebugUtils.currentLine=68026382; + //BA.debugLineNum = 68026382;BA.debugLine="D = D - 2*dx"; +_d = (int) (_d-2*_dx); + }; +RDebugUtils.currentLine=68026384; + //BA.debugLineNum = 68026384;BA.debugLine="D = D + 2*dy"; +_d = (int) (_d+2*_dy); + } +}; +RDebugUtils.currentLine=68026386; + //BA.debugLineNum = 68026386;BA.debugLine="End Sub"; +return ""; +} +public String _plotlinehigh(reparto_izca.keymon.lat.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=67960832; + //BA.debugLineNum = 67960832;BA.debugLine="Private Sub PlotLineHigh(x0 As Int, y0 As Int, x1"; +RDebugUtils.currentLine=67960833; + //BA.debugLineNum = 67960833;BA.debugLine="Dim dx As Int = x1 - x0"; +_dx = (int) (_x1-_x0); +RDebugUtils.currentLine=67960834; + //BA.debugLineNum = 67960834;BA.debugLine="Dim dy As Int = y1 - y0"; +_dy = (int) (_y1-_y0); +RDebugUtils.currentLine=67960835; + //BA.debugLineNum = 67960835;BA.debugLine="Dim xi As Int = 1"; +_xi = (int) (1); +RDebugUtils.currentLine=67960836; + //BA.debugLineNum = 67960836;BA.debugLine="If dx < 0 Then"; +if (_dx<0) { +RDebugUtils.currentLine=67960837; + //BA.debugLineNum = 67960837;BA.debugLine="xi = -1"; +_xi = (int) (-1); +RDebugUtils.currentLine=67960838; + //BA.debugLineNum = 67960838;BA.debugLine="dx = -dx"; +_dx = (int) (-_dx); + }; +RDebugUtils.currentLine=67960840; + //BA.debugLineNum = 67960840;BA.debugLine="Dim D As Int = 2*dx - dy"; +_d = (int) (2*_dx-_dy); +RDebugUtils.currentLine=67960841; + //BA.debugLineNum = 67960841;BA.debugLine="Dim x As Int = x0"; +_x = _x0; +RDebugUtils.currentLine=67960842; + //BA.debugLineNum = 67960842;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=67960843; + //BA.debugLineNum = 67960843;BA.debugLine="points(x,y) = 1"; +_points[_x][_y] = (byte) (1); +RDebugUtils.currentLine=67960844; + //BA.debugLineNum = 67960844;BA.debugLine="If D > 0 Then"; +if (_d>0) { +RDebugUtils.currentLine=67960845; + //BA.debugLineNum = 67960845;BA.debugLine="x = x + xi"; +_x = (int) (_x+_xi); +RDebugUtils.currentLine=67960846; + //BA.debugLineNum = 67960846;BA.debugLine="D = D - 2*dy"; +_d = (int) (_d-2*_dy); + }; +RDebugUtils.currentLine=67960848; + //BA.debugLineNum = 67960848;BA.debugLine="D = D + 2*dx"; +_d = (int) (_d+2*_dx); + } +}; +RDebugUtils.currentLine=67960850; + //BA.debugLineNum = 67960850;BA.debugLine="End Sub"; +return ""; +} +public String _printandfeedpaper(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=66191360; + //BA.debugLineNum = 66191360;BA.debugLine="Public Sub PrintAndFeedPaper(units As Int)"; +RDebugUtils.currentLine=66191361; + //BA.debugLineNum = 66191361;BA.debugLine="WriteString(ESC & \"J\")"; +__ref._writestring /*String*/ (null,__ref._esc /*String*/ +"J"); +RDebugUtils.currentLine=66191362; + //BA.debugLineNum = 66191362;BA.debugLine="Dim params(1) As Byte"; +_params = new byte[(int) (1)]; +; +RDebugUtils.currentLine=66191363; + //BA.debugLineNum = 66191363;BA.debugLine="params(0) = units"; +_params[(int) (0)] = (byte) (_units); +RDebugUtils.currentLine=66191364; + //BA.debugLineNum = 66191364;BA.debugLine="WriteBytes(params)"; +__ref._writebytes /*String*/ (null,_params); +RDebugUtils.currentLine=66191365; + //BA.debugLineNum = 66191365;BA.debugLine="End Sub"; +return ""; +} +public int _printimage2(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=68485120; + //BA.debugLineNum = 68485120;BA.debugLine="Public Sub PrintImage2(width As Int, data() As Byt"; +RDebugUtils.currentLine=68485121; + //BA.debugLineNum = 68485121;BA.debugLine="Dim d As String = Chr(0)"; +_d = BA.ObjectToString(__c.Chr((int) (0))); +RDebugUtils.currentLine=68485122; + //BA.debugLineNum = 68485122;BA.debugLine="If Not(highdensity) And Not(dotds24 ) Then"; +if (__c.Not(_highdensity) && __c.Not(_dotds24)) { +RDebugUtils.currentLine=68485123; + //BA.debugLineNum = 68485123;BA.debugLine="d = Chr(0)"; +_d = BA.ObjectToString(__c.Chr((int) (0))); +RDebugUtils.currentLine=68485124; + //BA.debugLineNum = 68485124;BA.debugLine="If width > 288 Then Return -1"; +if (_width>288) { +if (true) return (int) (-1);}; +RDebugUtils.currentLine=68485125; + //BA.debugLineNum = 68485125;BA.debugLine="If data.Length <> width Then Return -3"; +if (_data.length!=_width) { +if (true) return (int) (-3);}; + }else +{RDebugUtils.currentLine=68485126; + //BA.debugLineNum = 68485126;BA.debugLine="Else If highdensity And Not(dotds24) Then"; +if (_highdensity && __c.Not(_dotds24)) { +RDebugUtils.currentLine=68485127; + //BA.debugLineNum = 68485127;BA.debugLine="d = Chr(1)"; +_d = BA.ObjectToString(__c.Chr((int) (1))); +RDebugUtils.currentLine=68485128; + //BA.debugLineNum = 68485128;BA.debugLine="If width > 576 Then Return -1"; +if (_width>576) { +if (true) return (int) (-1);}; +RDebugUtils.currentLine=68485129; + //BA.debugLineNum = 68485129;BA.debugLine="If data.Length <> width Then Return -3"; +if (_data.length!=_width) { +if (true) return (int) (-3);}; + }else +{RDebugUtils.currentLine=68485130; + //BA.debugLineNum = 68485130;BA.debugLine="Else If Not(highdensity) And dotds24 Then"; +if (__c.Not(_highdensity) && _dotds24) { +RDebugUtils.currentLine=68485131; + //BA.debugLineNum = 68485131;BA.debugLine="d = Chr(32)"; +_d = BA.ObjectToString(__c.Chr((int) (32))); +RDebugUtils.currentLine=68485132; + //BA.debugLineNum = 68485132;BA.debugLine="If width > 288 Then Return -1"; +if (_width>288) { +if (true) return (int) (-1);}; +RDebugUtils.currentLine=68485133; + //BA.debugLineNum = 68485133;BA.debugLine="If data.Length <> width*3 Then Return -3"; +if (_data.length!=_width*3) { +if (true) return (int) (-3);}; + }else { +RDebugUtils.currentLine=68485135; + //BA.debugLineNum = 68485135;BA.debugLine="d = Chr(33)"; +_d = BA.ObjectToString(__c.Chr((int) (33))); +RDebugUtils.currentLine=68485136; + //BA.debugLineNum = 68485136;BA.debugLine="If width > 576 Then Return -1"; +if (_width>576) { +if (true) return (int) (-1);}; +RDebugUtils.currentLine=68485137; + //BA.debugLineNum = 68485137;BA.debugLine="If data.Length <> width*3 Then Return -3"; +if (_data.length!=_width*3) { +if (true) return (int) (-3);}; + }}} +; +RDebugUtils.currentLine=68485139; + //BA.debugLineNum = 68485139;BA.debugLine="Dim xh As Int = width / 256"; +_xh = (int) (_width/(double)256); +RDebugUtils.currentLine=68485140; + //BA.debugLineNum = 68485140;BA.debugLine="Dim xl As Int = width - xh * 256"; +_xl = (int) (_width-_xh*256); +RDebugUtils.currentLine=68485141; + //BA.debugLineNum = 68485141;BA.debugLine="Dim params(2) As Byte"; +_params = new byte[(int) (2)]; +; +RDebugUtils.currentLine=68485142; + //BA.debugLineNum = 68485142;BA.debugLine="params(0) = xl"; +_params[(int) (0)] = (byte) (_xl); +RDebugUtils.currentLine=68485143; + //BA.debugLineNum = 68485143;BA.debugLine="params(1) = xh"; +_params[(int) (1)] = (byte) (_xh); +RDebugUtils.currentLine=68485144; + //BA.debugLineNum = 68485144;BA.debugLine="WriteString(ESC & \"*\" & d)"; +__ref._writestring /*String*/ (null,__ref._esc /*String*/ +"*"+_d); +RDebugUtils.currentLine=68485145; + //BA.debugLineNum = 68485145;BA.debugLine="WriteBytes(params)"; +__ref._writebytes /*String*/ (null,_params); +RDebugUtils.currentLine=68485146; + //BA.debugLineNum = 68485146;BA.debugLine="WriteBytes(data)"; +__ref._writebytes /*String*/ (null,_data); +RDebugUtils.currentLine=68485147; + //BA.debugLineNum = 68485147;BA.debugLine="WriteString(CRLF)"; +__ref._writestring /*String*/ (null,__c.CRLF); +RDebugUtils.currentLine=68485148; + //BA.debugLineNum = 68485148;BA.debugLine="Return 0"; +if (true) return (int) (0); +RDebugUtils.currentLine=68485149; + //BA.debugLineNum = 68485149;BA.debugLine="End Sub"; +return 0; +} +public String _reset(reparto_izca.keymon.lat.escposprinter __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "reset", false)) + {return ((String) Debug.delegate(ba, "reset", null));} +RDebugUtils.currentLine=66125824; + //BA.debugLineNum = 66125824;BA.debugLine="Public Sub Reset"; +RDebugUtils.currentLine=66125825; + //BA.debugLineNum = 66125825;BA.debugLine="WriteString(ESC & \"@\")"; +__ref._writestring /*String*/ (null,__ref._esc /*String*/ +"@"); +RDebugUtils.currentLine=66125826; + //BA.debugLineNum = 66125826;BA.debugLine="End Sub"; +return ""; +} +public String _serial1_connected(reparto_izca.keymon.lat.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=69074944; + //BA.debugLineNum = 69074944;BA.debugLine="Private Sub Serial1_Connected (Success As Boolean)"; +RDebugUtils.currentLine=69074945; + //BA.debugLineNum = 69074945;BA.debugLine="If Success Then"; +if (_success) { +RDebugUtils.currentLine=69074946; + //BA.debugLineNum = 69074946;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=69074947; + //BA.debugLineNum = 69074947;BA.debugLine="Connected = True"; +__ref._connected /*boolean*/ = __c.True; +RDebugUtils.currentLine=69074948; + //BA.debugLineNum = 69074948;BA.debugLine="ConnectedError = \"\""; +__ref._connectederror /*String*/ = ""; +RDebugUtils.currentLine=69074949; + //BA.debugLineNum = 69074949;BA.debugLine="Serial1.Listen"; +__ref._serial1 /*anywheresoftware.b4a.objects.Serial*/ .Listen(ba); + }else { +RDebugUtils.currentLine=69074951; + //BA.debugLineNum = 69074951;BA.debugLine="Connected = False"; +__ref._connected /*boolean*/ = __c.False; +RDebugUtils.currentLine=69074952; + //BA.debugLineNum = 69074952;BA.debugLine="ConnectedError = LastException.Message"; +__ref._connectederror /*String*/ = __c.LastException(getActivityBA()).getMessage(); + }; +RDebugUtils.currentLine=69074954; + //BA.debugLineNum = 69074954;BA.debugLine="If SubExists(CallBack, EventName & \"_Connected\")"; +if (__c.SubExists(ba,__ref._callback /*Object*/ ,__ref._eventname /*String*/ +"_Connected")) { +RDebugUtils.currentLine=69074955; + //BA.debugLineNum = 69074955;BA.debugLine="CallSub2(CallBack, EventName & \"_Connected\", Suc"; +__c.CallSubNew2(ba,__ref._callback /*Object*/ ,__ref._eventname /*String*/ +"_Connected",(Object)(_success)); + }; +RDebugUtils.currentLine=69074957; + //BA.debugLineNum = 69074957;BA.debugLine="End Sub"; +return ""; +} +public String _setbarcodeheight(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=68616192; + //BA.debugLineNum = 68616192;BA.debugLine="Public Sub setBarCodeHeight(height As Int)"; +RDebugUtils.currentLine=68616193; + //BA.debugLineNum = 68616193;BA.debugLine="WriteString(GS & \"h\")"; +__ref._writestring /*String*/ (null,__ref._gs /*String*/ +"h"); +RDebugUtils.currentLine=68616194; + //BA.debugLineNum = 68616194;BA.debugLine="Dim params(1) As Byte"; +_params = new byte[(int) (1)]; +; +RDebugUtils.currentLine=68616195; + //BA.debugLineNum = 68616195;BA.debugLine="params(0) = height"; +_params[(int) (0)] = (byte) (_height); +RDebugUtils.currentLine=68616196; + //BA.debugLineNum = 68616196;BA.debugLine="WriteBytes(params)"; +__ref._writebytes /*String*/ (null,_params); +RDebugUtils.currentLine=68616197; + //BA.debugLineNum = 68616197;BA.debugLine="End Sub"; +return ""; +} +public String _setbarcodeleft(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=68681728; + //BA.debugLineNum = 68681728;BA.debugLine="Public Sub setBarCodeLeft(left As Int)"; +RDebugUtils.currentLine=68681729; + //BA.debugLineNum = 68681729;BA.debugLine="WriteString(GS & \"x\")"; +__ref._writestring /*String*/ (null,__ref._gs /*String*/ +"x"); +RDebugUtils.currentLine=68681730; + //BA.debugLineNum = 68681730;BA.debugLine="Dim params(1) As Byte"; +_params = new byte[(int) (1)]; +; +RDebugUtils.currentLine=68681731; + //BA.debugLineNum = 68681731;BA.debugLine="params(0) = left"; +_params[(int) (0)] = (byte) (_left); +RDebugUtils.currentLine=68681732; + //BA.debugLineNum = 68681732;BA.debugLine="WriteBytes(params)"; +__ref._writebytes /*String*/ (null,_params); +RDebugUtils.currentLine=68681733; + //BA.debugLineNum = 68681733;BA.debugLine="End Sub"; +return ""; +} +public String _setbarcodewidth(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=68747264; + //BA.debugLineNum = 68747264;BA.debugLine="Public Sub setBarCodeWidth(width As Int)"; +RDebugUtils.currentLine=68747265; + //BA.debugLineNum = 68747265;BA.debugLine="WriteString(GS & \"w\")"; +__ref._writestring /*String*/ (null,__ref._gs /*String*/ +"w"); +RDebugUtils.currentLine=68747266; + //BA.debugLineNum = 68747266;BA.debugLine="Dim params(1) As Byte"; +_params = new byte[(int) (1)]; +; +RDebugUtils.currentLine=68747267; + //BA.debugLineNum = 68747267;BA.debugLine="params(0) = width"; +_params[(int) (0)] = (byte) (_width); +RDebugUtils.currentLine=68747268; + //BA.debugLineNum = 68747268;BA.debugLine="WriteBytes(params)"; +__ref._writebytes /*String*/ (null,_params); +RDebugUtils.currentLine=68747269; + //BA.debugLineNum = 68747269;BA.debugLine="End Sub"; +return ""; +} +public String _setcharacterfont(reparto_izca.keymon.lat.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=66715648; + //BA.debugLineNum = 66715648;BA.debugLine="Public Sub setCharacterFont(font As Int)"; +RDebugUtils.currentLine=66715649; + //BA.debugLineNum = 66715649;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=66715650; + //BA.debugLineNum = 66715650;BA.debugLine="End Sub"; +return ""; +} +public String _setcharacterspacing(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=66256896; + //BA.debugLineNum = 66256896;BA.debugLine="Public Sub setCharacterSpacing(spacing As Int)"; +RDebugUtils.currentLine=66256897; + //BA.debugLineNum = 66256897;BA.debugLine="WriteString(ESC & \" \")"; +__ref._writestring /*String*/ (null,__ref._esc /*String*/ +" "); +RDebugUtils.currentLine=66256898; + //BA.debugLineNum = 66256898;BA.debugLine="Dim params(1) As Byte"; +_params = new byte[(int) (1)]; +; +RDebugUtils.currentLine=66256899; + //BA.debugLineNum = 66256899;BA.debugLine="params(0) = spacing"; +_params[(int) (0)] = (byte) (_spacing); +RDebugUtils.currentLine=66256900; + //BA.debugLineNum = 66256900;BA.debugLine="WriteBytes(params)"; +__ref._writebytes /*String*/ (null,_params); +RDebugUtils.currentLine=66256901; + //BA.debugLineNum = 66256901;BA.debugLine="End Sub"; +return ""; +} +public String _setcodepage(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=66650112; + //BA.debugLineNum = 66650112;BA.debugLine="Public Sub setCodePage(codepage As Int)"; +RDebugUtils.currentLine=66650113; + //BA.debugLineNum = 66650113;BA.debugLine="WriteString(ESC & \"t\")"; +__ref._writestring /*String*/ (null,__ref._esc /*String*/ +"t"); +RDebugUtils.currentLine=66650114; + //BA.debugLineNum = 66650114;BA.debugLine="Dim params(1) As Byte"; +_params = new byte[(int) (1)]; +; +RDebugUtils.currentLine=66650115; + //BA.debugLineNum = 66650115;BA.debugLine="params(0) = codepage"; +_params[(int) (0)] = (byte) (_codepage); +RDebugUtils.currentLine=66650116; + //BA.debugLineNum = 66650116;BA.debugLine="WriteBytes(params)"; +__ref._writebytes /*String*/ (null,_params); +RDebugUtils.currentLine=66650117; + //BA.debugLineNum = 66650117;BA.debugLine="End Sub"; +return ""; +} +public String _sethrifont(reparto_izca.keymon.lat.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=68878336; + //BA.debugLineNum = 68878336;BA.debugLine="Public Sub setHriFont(font As Int)"; +RDebugUtils.currentLine=68878337; + //BA.debugLineNum = 68878337;BA.debugLine="WriteString(GS & \"f\" & Chr(font))"; +__ref._writestring /*String*/ (null,__ref._gs /*String*/ +"f"+BA.ObjectToString(__c.Chr(_font))); +RDebugUtils.currentLine=68878338; + //BA.debugLineNum = 68878338;BA.debugLine="End Sub"; +return ""; +} +public String _sethriposn(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=68812800; + //BA.debugLineNum = 68812800;BA.debugLine="Public Sub setHriPosn(posn As Int)"; +RDebugUtils.currentLine=68812801; + //BA.debugLineNum = 68812801;BA.debugLine="WriteString(GS & \"H\")"; +__ref._writestring /*String*/ (null,__ref._gs /*String*/ +"H"); +RDebugUtils.currentLine=68812802; + //BA.debugLineNum = 68812802;BA.debugLine="Dim params(1) As Byte"; +_params = new byte[(int) (1)]; +; +RDebugUtils.currentLine=68812803; + //BA.debugLineNum = 68812803;BA.debugLine="params(0) = posn"; +_params[(int) (0)] = (byte) (_posn); +RDebugUtils.currentLine=68812804; + //BA.debugLineNum = 68812804;BA.debugLine="WriteBytes(params)"; +__ref._writebytes /*String*/ (null,_params); +RDebugUtils.currentLine=68812805; + //BA.debugLineNum = 68812805;BA.debugLine="End Sub"; +return ""; +} +public String _setleftinset(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=66322432; + //BA.debugLineNum = 66322432;BA.debugLine="Public Sub setLeftInset(inset As Int)"; +RDebugUtils.currentLine=66322433; + //BA.debugLineNum = 66322433;BA.debugLine="Dim dh As Int = inset / 256"; +_dh = (int) (_inset/(double)256); +RDebugUtils.currentLine=66322434; + //BA.debugLineNum = 66322434;BA.debugLine="Dim dl As Int = inset - dh"; +_dl = (int) (_inset-_dh); +RDebugUtils.currentLine=66322435; + //BA.debugLineNum = 66322435;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=66322436; + //BA.debugLineNum = 66322436;BA.debugLine="Dim params(2) As Byte"; +_params = new byte[(int) (2)]; +; +RDebugUtils.currentLine=66322437; + //BA.debugLineNum = 66322437;BA.debugLine="params(0) = dl"; +_params[(int) (0)] = (byte) (_dl); +RDebugUtils.currentLine=66322438; + //BA.debugLineNum = 66322438;BA.debugLine="params(1) = dh"; +_params[(int) (1)] = (byte) (_dh); +RDebugUtils.currentLine=66322439; + //BA.debugLineNum = 66322439;BA.debugLine="WriteBytes(params)"; +__ref._writebytes /*String*/ (null,_params); +RDebugUtils.currentLine=66322440; + //BA.debugLineNum = 66322440;BA.debugLine="End Sub"; +return ""; +} +public String _setleftmargin(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=66387968; + //BA.debugLineNum = 66387968;BA.debugLine="Public Sub setLeftMargin(margin As Int)"; +RDebugUtils.currentLine=66387969; + //BA.debugLineNum = 66387969;BA.debugLine="Dim dh As Int = margin / 256"; +_dh = (int) (_margin/(double)256); +RDebugUtils.currentLine=66387970; + //BA.debugLineNum = 66387970;BA.debugLine="Dim dl As Int = margin - dh"; +_dl = (int) (_margin-_dh); +RDebugUtils.currentLine=66387971; + //BA.debugLineNum = 66387971;BA.debugLine="WriteString(GS & \"L\")"; +__ref._writestring /*String*/ (null,__ref._gs /*String*/ +"L"); +RDebugUtils.currentLine=66387972; + //BA.debugLineNum = 66387972;BA.debugLine="Dim params(2) As Byte"; +_params = new byte[(int) (2)]; +; +RDebugUtils.currentLine=66387973; + //BA.debugLineNum = 66387973;BA.debugLine="params(0) = dl"; +_params[(int) (0)] = (byte) (_dl); +RDebugUtils.currentLine=66387974; + //BA.debugLineNum = 66387974;BA.debugLine="params(1) = dh"; +_params[(int) (1)] = (byte) (_dh); +RDebugUtils.currentLine=66387975; + //BA.debugLineNum = 66387975;BA.debugLine="WriteBytes(params)"; +__ref._writebytes /*String*/ (null,_params); +RDebugUtils.currentLine=66387976; + //BA.debugLineNum = 66387976;BA.debugLine="End Sub"; +return ""; +} +public String _setlinespacing(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=66519040; + //BA.debugLineNum = 66519040;BA.debugLine="Public Sub setLineSpacing(spacing As Int)"; +RDebugUtils.currentLine=66519041; + //BA.debugLineNum = 66519041;BA.debugLine="If spacing < 0 Then"; +if (_spacing<0) { +RDebugUtils.currentLine=66519042; + //BA.debugLineNum = 66519042;BA.debugLine="WriteString(ESC & \"2\")"; +__ref._writestring /*String*/ (null,__ref._esc /*String*/ +"2"); + }else { +RDebugUtils.currentLine=66519044; + //BA.debugLineNum = 66519044;BA.debugLine="WriteString(ESC & \"3\")"; +__ref._writestring /*String*/ (null,__ref._esc /*String*/ +"3"); +RDebugUtils.currentLine=66519045; + //BA.debugLineNum = 66519045;BA.debugLine="Dim params(1) As Byte"; +_params = new byte[(int) (1)]; +; +RDebugUtils.currentLine=66519046; + //BA.debugLineNum = 66519046;BA.debugLine="params(0) = spacing"; +_params[(int) (0)] = (byte) (_spacing); +RDebugUtils.currentLine=66519047; + //BA.debugLineNum = 66519047;BA.debugLine="WriteBytes(params)"; +__ref._writebytes /*String*/ (null,_params); + }; +RDebugUtils.currentLine=66519049; + //BA.debugLineNum = 66519049;BA.debugLine="End Sub"; +return ""; +} +public String _setprintwidth(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=66453504; + //BA.debugLineNum = 66453504;BA.debugLine="Public Sub setPrintWidth(width As Int)"; +RDebugUtils.currentLine=66453505; + //BA.debugLineNum = 66453505;BA.debugLine="Dim dh As Int = width / 256"; +_dh = (int) (_width/(double)256); +RDebugUtils.currentLine=66453506; + //BA.debugLineNum = 66453506;BA.debugLine="Dim dl As Int = width - dh"; +_dl = (int) (_width-_dh); +RDebugUtils.currentLine=66453507; + //BA.debugLineNum = 66453507;BA.debugLine="WriteString(GS & \"W\")"; +__ref._writestring /*String*/ (null,__ref._gs /*String*/ +"W"); +RDebugUtils.currentLine=66453508; + //BA.debugLineNum = 66453508;BA.debugLine="Dim params(2) As Byte"; +_params = new byte[(int) (2)]; +; +RDebugUtils.currentLine=66453509; + //BA.debugLineNum = 66453509;BA.debugLine="params(0) = dl"; +_params[(int) (0)] = (byte) (_dl); +RDebugUtils.currentLine=66453510; + //BA.debugLineNum = 66453510;BA.debugLine="params(1) = dh"; +_params[(int) (1)] = (byte) (_dh); +RDebugUtils.currentLine=66453511; + //BA.debugLineNum = 66453511;BA.debugLine="WriteBytes(params)"; +__ref._writebytes /*String*/ (null,_params); +RDebugUtils.currentLine=66453512; + //BA.debugLineNum = 66453512;BA.debugLine="End Sub"; +return ""; +} +public String _setrelativeprintposn(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=66846720; + //BA.debugLineNum = 66846720;BA.debugLine="Public Sub setRelativePrintPosn(relposn As Int)"; +RDebugUtils.currentLine=66846721; + //BA.debugLineNum = 66846721;BA.debugLine="Dim dh As Int = relposn / 256"; +_dh = (int) (_relposn/(double)256); +RDebugUtils.currentLine=66846722; + //BA.debugLineNum = 66846722;BA.debugLine="Dim dl As Int = relposn - dh"; +_dl = (int) (_relposn-_dh); +RDebugUtils.currentLine=66846723; + //BA.debugLineNum = 66846723;BA.debugLine="WriteString(ESC & \"\\\")"; +__ref._writestring /*String*/ (null,__ref._esc /*String*/ +"\\"); +RDebugUtils.currentLine=66846724; + //BA.debugLineNum = 66846724;BA.debugLine="Dim params(2) As Byte"; +_params = new byte[(int) (2)]; +; +RDebugUtils.currentLine=66846725; + //BA.debugLineNum = 66846725;BA.debugLine="params(0) = dl"; +_params[(int) (0)] = (byte) (_dl); +RDebugUtils.currentLine=66846726; + //BA.debugLineNum = 66846726;BA.debugLine="params(1) = dh"; +_params[(int) (1)] = (byte) (_dh); +RDebugUtils.currentLine=66846727; + //BA.debugLineNum = 66846727;BA.debugLine="WriteBytes(params)"; +__ref._writebytes /*String*/ (null,_params); +RDebugUtils.currentLine=66846728; + //BA.debugLineNum = 66846728;BA.debugLine="End Sub"; +return ""; +} +public String _settabpositions(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=66781184; + //BA.debugLineNum = 66781184;BA.debugLine="Public Sub setTabPositions(tabs() As Int)"; +RDebugUtils.currentLine=66781185; + //BA.debugLineNum = 66781185;BA.debugLine="WriteString(ESC & \"D\")"; +__ref._writestring /*String*/ (null,__ref._esc /*String*/ +"D"); +RDebugUtils.currentLine=66781186; + //BA.debugLineNum = 66781186;BA.debugLine="Dim data(tabs.Length+1) As Byte"; +_data = new byte[(int) (_tabs.length+1)]; +; +RDebugUtils.currentLine=66781187; + //BA.debugLineNum = 66781187;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 ) { +RDebugUtils.currentLine=66781188; + //BA.debugLineNum = 66781188;BA.debugLine="data(i) = tabs(i)"; +_data[_i] = (byte) (_tabs[_i]); + } +}; +RDebugUtils.currentLine=66781190; + //BA.debugLineNum = 66781190;BA.debugLine="data(tabs.Length) = 0"; +_data[_tabs.length] = (byte) (0); +RDebugUtils.currentLine=66781191; + //BA.debugLineNum = 66781191;BA.debugLine="WriteBytes(data)"; +__ref._writebytes /*String*/ (null,_data); +RDebugUtils.currentLine=66781192; + //BA.debugLineNum = 66781192;BA.debugLine="End Sub"; +return ""; +} +public String _setusecustomcharacters(reparto_izca.keymon.lat.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=67174400; + //BA.debugLineNum = 67174400;BA.debugLine="Public Sub setUseCustomCharacters(custom As Boolea"; +RDebugUtils.currentLine=67174401; + //BA.debugLineNum = 67174401;BA.debugLine="If custom Then"; +if (_custom) { +RDebugUtils.currentLine=67174402; + //BA.debugLineNum = 67174402;BA.debugLine="WriteString(ESC & \"%1\")"; +__ref._writestring /*String*/ (null,__ref._esc /*String*/ +"%1"); + }else { +RDebugUtils.currentLine=67174404; + //BA.debugLineNum = 67174404;BA.debugLine="WriteString(ESC & \"%0\")"; +__ref._writestring /*String*/ (null,__ref._esc /*String*/ +"%0"); + }; +RDebugUtils.currentLine=67174406; + //BA.debugLineNum = 67174406;BA.debugLine="End Sub"; +return ""; +} +public reparto_izca.keymon.lat.escposprinter._animage _thresholdimage(reparto_izca.keymon.lat.escposprinter __ref,reparto_izca.keymon.lat.escposprinter._animage _img,int _threshold) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "thresholdimage", false)) + {return ((reparto_izca.keymon.lat.escposprinter._animage) Debug.delegate(ba, "thresholdimage", new Object[] {_img,_threshold}));} +byte[] _pixels = null; +int _i = 0; +int _lum = 0; +reparto_izca.keymon.lat.escposprinter._animage _ret = null; +RDebugUtils.currentLine=68157440; + //BA.debugLineNum = 68157440;BA.debugLine="Sub ThresholdImage(img As AnImage, threshold As In"; +RDebugUtils.currentLine=68157441; + //BA.debugLineNum = 68157441;BA.debugLine="Dim pixels(img.Data.Length) As Byte"; +_pixels = new byte[_img.Data /*byte[]*/ .length]; +; +RDebugUtils.currentLine=68157442; + //BA.debugLineNum = 68157442;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 ) { +RDebugUtils.currentLine=68157443; + //BA.debugLineNum = 68157443;BA.debugLine="Dim lum As Int = Bit.And(img.Data(i), 0xff) ' by"; +_lum = __c.Bit.And((int) (_img.Data /*byte[]*/ [_i]),((int)0xff)); +RDebugUtils.currentLine=68157444; + //BA.debugLineNum = 68157444;BA.debugLine="If lum < threshold Then"; +if (_lum<_threshold) { +RDebugUtils.currentLine=68157445; + //BA.debugLineNum = 68157445;BA.debugLine="lum = 1"; +_lum = (int) (1); + }else { +RDebugUtils.currentLine=68157447; + //BA.debugLineNum = 68157447;BA.debugLine="lum = 0"; +_lum = (int) (0); + }; +RDebugUtils.currentLine=68157449; + //BA.debugLineNum = 68157449;BA.debugLine="pixels(i) = lum"; +_pixels[_i] = (byte) (_lum); + } +}; +RDebugUtils.currentLine=68157451; + //BA.debugLineNum = 68157451;BA.debugLine="Dim ret As AnImage"; +_ret = new reparto_izca.keymon.lat.escposprinter._animage(); +RDebugUtils.currentLine=68157452; + //BA.debugLineNum = 68157452;BA.debugLine="ret.Width = img.Width"; +_ret.Width /*int*/ = _img.Width /*int*/ ; +RDebugUtils.currentLine=68157453; + //BA.debugLineNum = 68157453;BA.debugLine="ret.Height = img.Height"; +_ret.Height /*int*/ = _img.Height /*int*/ ; +RDebugUtils.currentLine=68157454; + //BA.debugLineNum = 68157454;BA.debugLine="ret.Data = pixels"; +_ret.Data /*byte[]*/ = _pixels; +RDebugUtils.currentLine=68157455; + //BA.debugLineNum = 68157455;BA.debugLine="Return ret"; +if (true) return _ret; +RDebugUtils.currentLine=68157456; + //BA.debugLineNum = 68157456;BA.debugLine="End Sub"; +return null; +} +public String _writeqrcode(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=69009408; + //BA.debugLineNum = 69009408;BA.debugLine="Public Sub WriteQRCode(size As Int, EC As String,"; +RDebugUtils.currentLine=69009409; + //BA.debugLineNum = 69009409;BA.debugLine="Dim databytes() As Byte = data.GetBytes(\"ISO-8859"; +_databytes = _data.getBytes("ISO-8859-1"); +RDebugUtils.currentLine=69009410; + //BA.debugLineNum = 69009410;BA.debugLine="Dim dhigh As Int = databytes.Length / 256"; +_dhigh = (int) (_databytes.length/(double)256); +RDebugUtils.currentLine=69009411; + //BA.debugLineNum = 69009411;BA.debugLine="Dim dlow As Int = databytes.Length - dhigh*256"; +_dlow = (int) (_databytes.length-_dhigh*256); +RDebugUtils.currentLine=69009412; + //BA.debugLineNum = 69009412;BA.debugLine="Log(\"QR Code : Size \" & size & \", EC \" & EC & \","; +__c.LogImpl("869009412","QR Code : Size "+BA.NumberToString(_size)+", EC "+_ec+", Scale "+BA.NumberToString(_scale)+", Size "+BA.NumberToString(_dlow)+" "+BA.NumberToString(_dhigh)+" : Data = "+_data,0); +RDebugUtils.currentLine=69009413; + //BA.debugLineNum = 69009413;BA.debugLine="Dim params(3) As Byte"; +_params = new byte[(int) (3)]; +; +RDebugUtils.currentLine=69009414; + //BA.debugLineNum = 69009414;BA.debugLine="params(0) = scale"; +_params[(int) (0)] = (byte) (_scale); +RDebugUtils.currentLine=69009415; + //BA.debugLineNum = 69009415;BA.debugLine="params(1) = dlow"; +_params[(int) (1)] = (byte) (_dlow); +RDebugUtils.currentLine=69009416; + //BA.debugLineNum = 69009416;BA.debugLine="params(2) = dhigh"; +_params[(int) (2)] = (byte) (_dhigh); +RDebugUtils.currentLine=69009417; + //BA.debugLineNum = 69009417;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=69009418; + //BA.debugLineNum = 69009418;BA.debugLine="WriteBytes(params)"; +__ref._writebytes /*String*/ (null,_params); +RDebugUtils.currentLine=69009419; + //BA.debugLineNum = 69009419;BA.debugLine="WriteBytes(databytes)"; +__ref._writebytes /*String*/ (null,_databytes); +RDebugUtils.currentLine=69009420; + //BA.debugLineNum = 69009420;BA.debugLine="End Sub"; +return ""; +} +public String _writestring2(reparto_izca.keymon.lat.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=67043328; + //BA.debugLineNum = 67043328;BA.debugLine="Public Sub WriteString2(data As String, encoding A"; +RDebugUtils.currentLine=67043329; + //BA.debugLineNum = 67043329;BA.debugLine="Try"; +try {RDebugUtils.currentLine=67043330; + //BA.debugLineNum = 67043330;BA.debugLine="If Connected Then"; +if (__ref._connected /*boolean*/ ) { +RDebugUtils.currentLine=67043331; + //BA.debugLineNum = 67043331;BA.debugLine="Astream.Write(data.GetBytes(encoding))"; +__ref._astream /*anywheresoftware.b4a.randomaccessfile.AsyncStreams*/ .Write(_data.getBytes(_encoding)); + }; + } + catch (Exception e6) { + ba.setLastException(e6);RDebugUtils.currentLine=67043334; + //BA.debugLineNum = 67043334;BA.debugLine="Log(\"Printer error : \" & LastException.Message)"; +__c.LogImpl("867043334","Printer error : "+__c.LastException(getActivityBA()).getMessage(),0); +RDebugUtils.currentLine=67043335; + //BA.debugLineNum = 67043335;BA.debugLine="AStream_Error"; +__ref._astream_error /*String*/ (null); + }; +RDebugUtils.currentLine=67043337; + //BA.debugLineNum = 67043337;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/fileprovider.java b/B4A/Objects/src/reparto_izca/keymon/lat/fileprovider.java new file mode 100644 index 0000000..5109ed8 --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/fileprovider.java @@ -0,0 +1,177 @@ +package reparto_izca.keymon.lat; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.B4AClass; +import anywheresoftware.b4a.BALayout; +import anywheresoftware.b4a.debug.*; + +public class fileprovider 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, "reparto_izca.keymon.lat.fileprovider"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", reparto_izca.keymon.lat.fileprovider.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 String _sharedfolder = ""; +public boolean _usefileprovider = false; +public anywheresoftware.b4a.objects.RuntimePermissions _rp = null; +public b4a.example.dateutils _dateutils = null; +public reparto_izca.keymon.lat.main _main = null; +public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; +public reparto_izca.keymon.lat.foto _foto = null; +public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_izca.keymon.lat.starter _starter = null; +public reparto_izca.keymon.lat.tracker _tracker = null; +public reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public Object _getfileuri(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=38141952; + //BA.debugLineNum = 38141952;BA.debugLine="Public Sub GetFileUri (FileName As String) As Obje"; +RDebugUtils.currentLine=38141954; + //BA.debugLineNum = 38141954;BA.debugLine="If UseFileProvider = False Then"; +if (__ref._usefileprovider /*boolean*/ ==__c.False) { +RDebugUtils.currentLine=38141955; + //BA.debugLineNum = 38141955;BA.debugLine="Dim uri As JavaObject"; +_uri = new anywheresoftware.b4j.object.JavaObject(); +RDebugUtils.currentLine=38141956; + //BA.debugLineNum = 38141956;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 { +RDebugUtils.currentLine=38141958; + //BA.debugLineNum = 38141958;BA.debugLine="Dim f As JavaObject"; +_f = new anywheresoftware.b4j.object.JavaObject(); +RDebugUtils.currentLine=38141959; + //BA.debugLineNum = 38141959;BA.debugLine="f.InitializeNewInstance(\"java.io.File\", Array(Sh"; +_f.InitializeNewInstance("java.io.File",new Object[]{(Object)(__ref._sharedfolder /*String*/ ),(Object)(_filename)}); +RDebugUtils.currentLine=38141960; + //BA.debugLineNum = 38141960;BA.debugLine="Dim fp As JavaObject"; +_fp = new anywheresoftware.b4j.object.JavaObject(); +RDebugUtils.currentLine=38141961; + //BA.debugLineNum = 38141961;BA.debugLine="Dim context As JavaObject"; +_context = new anywheresoftware.b4j.object.JavaObject(); +RDebugUtils.currentLine=38141962; + //BA.debugLineNum = 38141962;BA.debugLine="context.InitializeContext"; +_context.InitializeContext(ba); +RDebugUtils.currentLine=38141963; + //BA.debugLineNum = 38141963;BA.debugLine="fp.InitializeStatic(\"android.support.v4.content."; +_fp.InitializeStatic("androidx.core.content.FileProvider"); +RDebugUtils.currentLine=38141964; + //BA.debugLineNum = 38141964;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())}); + }; +RDebugUtils.currentLine=38141966; + //BA.debugLineNum = 38141966;BA.debugLine="End Sub"; +return null; +} +public String _initialize(reparto_izca.keymon.lat.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=38076416; + //BA.debugLineNum = 38076416;BA.debugLine="Public Sub Initialize"; +RDebugUtils.currentLine=38076417; + //BA.debugLineNum = 38076417;BA.debugLine="Dim p As Phone"; +_p = new anywheresoftware.b4a.phone.Phone(); +RDebugUtils.currentLine=38076418; + //BA.debugLineNum = 38076418;BA.debugLine="If p.SdkVersion >= 24 Or File.ExternalWritable ="; +if (_p.getSdkVersion()>=24 || __c.File.getExternalWritable()==__c.False) { +RDebugUtils.currentLine=38076419; + //BA.debugLineNum = 38076419;BA.debugLine="UseFileProvider = True"; +__ref._usefileprovider /*boolean*/ = __c.True; +RDebugUtils.currentLine=38076420; + //BA.debugLineNum = 38076420;BA.debugLine="SharedFolder = File.Combine(File.DirInternal, \"s"; +__ref._sharedfolder /*String*/ = __c.File.Combine(__c.File.getDirInternal(),"shared"); +RDebugUtils.currentLine=38076421; + //BA.debugLineNum = 38076421;BA.debugLine="File.MakeDir(\"\", SharedFolder)"; +__c.File.MakeDir("",__ref._sharedfolder /*String*/ ); + }else { +RDebugUtils.currentLine=38076423; + //BA.debugLineNum = 38076423;BA.debugLine="UseFileProvider = False"; +__ref._usefileprovider /*boolean*/ = __c.False; +RDebugUtils.currentLine=38076424; + //BA.debugLineNum = 38076424;BA.debugLine="SharedFolder = rp.GetSafeDirDefaultExternal(\"sha"; +__ref._sharedfolder /*String*/ = __ref._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .GetSafeDirDefaultExternal("shared"); + }; +RDebugUtils.currentLine=38076426; + //BA.debugLineNum = 38076426;BA.debugLine="Log($\"Using FileProvider? ${UseFileProvider}\"$)"; +__c.LogImpl("938076426",("Using FileProvider? "+__c.SmartStringFormatter("",(Object)(__ref._usefileprovider /*boolean*/ ))+""),0); +RDebugUtils.currentLine=38076427; + //BA.debugLineNum = 38076427;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(reparto_izca.keymon.lat.fileprovider __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="fileprovider"; +RDebugUtils.currentLine=38010880; + //BA.debugLineNum = 38010880;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=38010881; + //BA.debugLineNum = 38010881;BA.debugLine="Public SharedFolder As String"; +_sharedfolder = ""; +RDebugUtils.currentLine=38010882; + //BA.debugLineNum = 38010882;BA.debugLine="Public UseFileProvider As Boolean"; +_usefileprovider = false; +RDebugUtils.currentLine=38010883; + //BA.debugLineNum = 38010883;BA.debugLine="Private rp As RuntimePermissions"; +_rp = new anywheresoftware.b4a.objects.RuntimePermissions(); +RDebugUtils.currentLine=38010884; + //BA.debugLineNum = 38010884;BA.debugLine="End Sub"; +return ""; +} +public String _setfileuriasintentdata(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=38207488; + //BA.debugLineNum = 38207488;BA.debugLine="Public Sub SetFileUriAsIntentData (Intent As Inten"; +RDebugUtils.currentLine=38207489; + //BA.debugLineNum = 38207489;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=38207490; + //BA.debugLineNum = 38207490;BA.debugLine="jo.RunMethod(\"setData\", Array(GetFileUri(FileName"; +_jo.RunMethod("setData",new Object[]{__ref._getfileuri /*Object*/ (null,_filename)}); +RDebugUtils.currentLine=38207491; + //BA.debugLineNum = 38207491;BA.debugLine="Intent.Flags = Bit.Or(Intent.Flags, 1) 'FLAG_GRAN"; +_intent.setFlags(__c.Bit.Or(_intent.getFlags(),(int) (1))); +RDebugUtils.currentLine=38207492; + //BA.debugLineNum = 38207492;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/foto.java b/B4A/Objects/src/reparto_izca/keymon/lat/foto.java new file mode 100644 index 0000000..2acda82 --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/foto.java @@ -0,0 +1,790 @@ +package reparto_izca.keymon.lat; + + +import anywheresoftware.b4a.B4AMenuItem; +import android.app.Activity; +import android.os.Bundle; +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.BALayout; +import anywheresoftware.b4a.B4AActivity; +import anywheresoftware.b4a.ObjectWrapper; +import anywheresoftware.b4a.objects.ActivityWrapper; +import java.lang.reflect.InvocationTargetException; +import anywheresoftware.b4a.B4AUncaughtException; +import anywheresoftware.b4a.debug.*; +import java.lang.ref.WeakReference; + +public class foto extends Activity implements B4AActivity{ + public static foto mostCurrent; + static boolean afterFirstLayout; + static boolean isFirst = true; + private static boolean processGlobalsRun = false; + BALayout layout; + public static BA processBA; + BA activityBA; + ActivityWrapper _activity; + java.util.ArrayList menuItems; + public static final boolean fullScreen = false; + public static final boolean includeTitle = true; + public static WeakReference previousOne; + public static boolean dontPause; + + @Override + public void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + mostCurrent = this; + if (processBA == null) { + processBA = new anywheresoftware.b4a.ShellBA(this.getApplicationContext(), null, null, "reparto_izca.keymon.lat", "reparto_izca.keymon.lat.foto"); + processBA.loadHtSubs(this.getClass()); + float deviceScale = getApplicationContext().getResources().getDisplayMetrics().density; + BALayout.setDeviceScale(deviceScale); + + } + else if (previousOne != null) { + Activity p = previousOne.get(); + if (p != null && p != this) { + BA.LogInfo("Killing previous instance (foto)."); + p.finish(); + } + } + processBA.setActivityPaused(true); + processBA.runHook("oncreate", this, null); + if (!includeTitle) { + this.getWindow().requestFeature(android.view.Window.FEATURE_NO_TITLE); + } + if (fullScreen) { + getWindow().setFlags(android.view.WindowManager.LayoutParams.FLAG_FULLSCREEN, + android.view.WindowManager.LayoutParams.FLAG_FULLSCREEN); + } + + processBA.sharedProcessBA.activityBA = null; + layout = new BALayout(this); + setContentView(layout); + afterFirstLayout = false; + WaitForLayout wl = new WaitForLayout(); + if (anywheresoftware.b4a.objects.ServiceHelper.StarterHelper.startFromActivity(this, processBA, wl, false)) + BA.handler.postDelayed(wl, 5); + + } + static class WaitForLayout implements Runnable { + public void run() { + if (afterFirstLayout) + return; + if (mostCurrent == null) + return; + + if (mostCurrent.layout.getWidth() == 0) { + BA.handler.postDelayed(this, 5); + return; + } + mostCurrent.layout.getLayoutParams().height = mostCurrent.layout.getHeight(); + mostCurrent.layout.getLayoutParams().width = mostCurrent.layout.getWidth(); + afterFirstLayout = true; + mostCurrent.afterFirstLayout(); + } + } + private void afterFirstLayout() { + if (this != mostCurrent) + return; + activityBA = new BA(this, layout, processBA, "reparto_izca.keymon.lat", "reparto_izca.keymon.lat.foto"); + + processBA.sharedProcessBA.activityBA = new java.lang.ref.WeakReference(activityBA); + anywheresoftware.b4a.objects.ViewWrapper.lastId = 0; + _activity = new ActivityWrapper(activityBA, "activity"); + anywheresoftware.b4a.Msgbox.isDismissing = false; + if (BA.isShellModeRuntimeCheck(processBA)) { + if (isFirst) + processBA.raiseEvent2(null, true, "SHELL", false); + processBA.raiseEvent2(null, true, "CREATE", true, "reparto_izca.keymon.lat.foto", processBA, activityBA, _activity, anywheresoftware.b4a.keywords.Common.Density, mostCurrent); + _activity.reinitializeForShell(activityBA, "activity"); + } + initializeProcessGlobals(); + initializeGlobals(); + + BA.LogInfo("** Activity (foto) Create " + (isFirst ? "(first time)" : "") + " **"); + processBA.raiseEvent2(null, true, "activity_create", false, isFirst); + isFirst = false; + if (this != mostCurrent) + return; + processBA.setActivityPaused(false); + BA.LogInfo("** Activity (foto) Resume **"); + processBA.raiseEvent(null, "activity_resume"); + if (android.os.Build.VERSION.SDK_INT >= 11) { + try { + android.app.Activity.class.getMethod("invalidateOptionsMenu").invoke(this,(Object[]) null); + } catch (Exception e) { + e.printStackTrace(); + } + } + + } + public void addMenuItem(B4AMenuItem item) { + if (menuItems == null) + menuItems = new java.util.ArrayList(); + menuItems.add(item); + } + @Override + public boolean onCreateOptionsMenu(android.view.Menu menu) { + super.onCreateOptionsMenu(menu); + try { + if (processBA.subExists("activity_actionbarhomeclick")) { + Class.forName("android.app.ActionBar").getMethod("setHomeButtonEnabled", boolean.class).invoke( + getClass().getMethod("getActionBar").invoke(this), true); + } + } catch (Exception e) { + e.printStackTrace(); + } + if (processBA.runHook("oncreateoptionsmenu", this, new Object[] {menu})) + return true; + if (menuItems == null) + return false; + for (B4AMenuItem bmi : menuItems) { + android.view.MenuItem mi = menu.add(bmi.title); + if (bmi.drawable != null) + mi.setIcon(bmi.drawable); + if (android.os.Build.VERSION.SDK_INT >= 11) { + try { + if (bmi.addToBar) { + android.view.MenuItem.class.getMethod("setShowAsAction", int.class).invoke(mi, 1); + } + } catch (Exception e) { + e.printStackTrace(); + } + } + mi.setOnMenuItemClickListener(new B4AMenuItemsClickListener(bmi.eventName.toLowerCase(BA.cul))); + } + + return true; + } + @Override + public boolean onOptionsItemSelected(android.view.MenuItem item) { + if (item.getItemId() == 16908332) { + processBA.raiseEvent(null, "activity_actionbarhomeclick"); + return true; + } + else + return super.onOptionsItemSelected(item); +} +@Override + public boolean onPrepareOptionsMenu(android.view.Menu menu) { + super.onPrepareOptionsMenu(menu); + processBA.runHook("onprepareoptionsmenu", this, new Object[] {menu}); + return true; + + } + protected void onStart() { + super.onStart(); + processBA.runHook("onstart", this, null); +} + protected void onStop() { + super.onStop(); + processBA.runHook("onstop", this, null); +} + public void onWindowFocusChanged(boolean hasFocus) { + super.onWindowFocusChanged(hasFocus); + if (processBA.subExists("activity_windowfocuschanged")) + processBA.raiseEvent2(null, true, "activity_windowfocuschanged", false, hasFocus); + } + private class B4AMenuItemsClickListener implements android.view.MenuItem.OnMenuItemClickListener { + private final String eventName; + public B4AMenuItemsClickListener(String eventName) { + this.eventName = eventName; + } + public boolean onMenuItemClick(android.view.MenuItem item) { + processBA.raiseEventFromUI(item.getTitle(), eventName + "_click"); + return true; + } + } + public static Class getObject() { + return foto.class; + } + private Boolean onKeySubExist = null; + private Boolean onKeyUpSubExist = null; + @Override + public boolean onKeyDown(int keyCode, android.view.KeyEvent event) { + if (processBA.runHook("onkeydown", this, new Object[] {keyCode, event})) + return true; + if (onKeySubExist == null) + onKeySubExist = processBA.subExists("activity_keypress"); + if (onKeySubExist) { + if (keyCode == anywheresoftware.b4a.keywords.constants.KeyCodes.KEYCODE_BACK && + android.os.Build.VERSION.SDK_INT >= 18) { + HandleKeyDelayed hk = new HandleKeyDelayed(); + hk.kc = keyCode; + BA.handler.post(hk); + return true; + } + else { + boolean res = new HandleKeyDelayed().runDirectly(keyCode); + if (res) + return true; + } + } + return super.onKeyDown(keyCode, event); + } + private class HandleKeyDelayed implements Runnable { + int kc; + public void run() { + runDirectly(kc); + } + public boolean runDirectly(int keyCode) { + Boolean res = (Boolean)processBA.raiseEvent2(_activity, false, "activity_keypress", false, keyCode); + if (res == null || res == true) { + return true; + } + else if (keyCode == anywheresoftware.b4a.keywords.constants.KeyCodes.KEYCODE_BACK) { + finish(); + return true; + } + return false; + } + + } + @Override + public boolean onKeyUp(int keyCode, android.view.KeyEvent event) { + if (processBA.runHook("onkeyup", this, new Object[] {keyCode, event})) + return true; + if (onKeyUpSubExist == null) + onKeyUpSubExist = processBA.subExists("activity_keyup"); + if (onKeyUpSubExist) { + Boolean res = (Boolean)processBA.raiseEvent2(_activity, false, "activity_keyup", false, keyCode); + if (res == null || res == true) + return true; + } + return super.onKeyUp(keyCode, event); + } + @Override + public void onNewIntent(android.content.Intent intent) { + super.onNewIntent(intent); + this.setIntent(intent); + processBA.runHook("onnewintent", this, new Object[] {intent}); + } + @Override + public void onPause() { + super.onPause(); + if (_activity == null) + return; + if (this != mostCurrent) + return; + anywheresoftware.b4a.Msgbox.dismiss(true); + if (!dontPause) + BA.LogInfo("** Activity (foto) Pause, UserClosed = " + activityBA.activity.isFinishing() + " **"); + else + BA.LogInfo("** Activity (foto) Pause event (activity is not paused). **"); + if (mostCurrent != null) + processBA.raiseEvent2(_activity, true, "activity_pause", false, activityBA.activity.isFinishing()); + if (!dontPause) { + processBA.setActivityPaused(true); + mostCurrent = null; + } + + if (!activityBA.activity.isFinishing()) + previousOne = new WeakReference(this); + anywheresoftware.b4a.Msgbox.isDismissing = false; + processBA.runHook("onpause", this, null); + } + + @Override + public void onDestroy() { + super.onDestroy(); + previousOne = null; + processBA.runHook("ondestroy", this, null); + } + @Override + public void onResume() { + super.onResume(); + mostCurrent = this; + anywheresoftware.b4a.Msgbox.isDismissing = false; + if (activityBA != null) { //will be null during activity create (which waits for AfterLayout). + ResumeMessage rm = new ResumeMessage(mostCurrent); + BA.handler.post(rm); + } + processBA.runHook("onresume", this, null); + } + private static class ResumeMessage implements Runnable { + private final WeakReference activity; + public ResumeMessage(Activity activity) { + this.activity = new WeakReference(activity); + } + public void run() { + foto mc = mostCurrent; + if (mc == null || mc != activity.get()) + return; + processBA.setActivityPaused(false); + BA.LogInfo("** Activity (foto) Resume **"); + if (mc != mostCurrent) + return; + processBA.raiseEvent(mc._activity, "activity_resume", (Object[])null); + } + } + @Override + protected void onActivityResult(int requestCode, int resultCode, + android.content.Intent data) { + processBA.onActivityResult(requestCode, resultCode, data); + processBA.runHook("onactivityresult", this, new Object[] {requestCode, resultCode}); + } + private static void initializeGlobals() { + processBA.raiseEvent2(null, true, "globals", false, (Object[])null); + } + public void onRequestPermissionsResult(int requestCode, + String permissions[], int[] grantResults) { + for (int i = 0;i < permissions.length;i++) { + Object[] o = new Object[] {permissions[i], grantResults[i] == 0}; + processBA.raiseEventFromDifferentThread(null,null, 0, "activity_permissionresult", true, o); + } + + } + + + +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 boolean _frontcamera = false; +public static anywheresoftware.b4a.gps.GPS _g = null; +public anywheresoftware.b4a.objects.PanelWrapper _p_camara = null; +public reparto_izca.keymon.lat.cameraexclass _camex = null; +public anywheresoftware.b4a.objects.ButtonWrapper _btntakepicture = null; +public anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; +public static String _cuenta = ""; +public static String _lat_gps = ""; +public static String _usuario = ""; +public static String _motivo = ""; +public b4a.example.dateutils _dateutils = null; +public reparto_izca.keymon.lat.main _main = null; +public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; +public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_izca.keymon.lat.starter _starter = null; +public reparto_izca.keymon.lat.tracker _tracker = null; +public reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public static String _activity_create(boolean _firsttime) throws Exception{ +RDebugUtils.currentModule="foto"; +if (Debug.shouldDelegate(mostCurrent.activityBA, "activity_create", false)) + {return ((String) Debug.delegate(mostCurrent.activityBA, "activity_create", new Object[] {_firsttime}));} +RDebugUtils.currentLine=69468160; + //BA.debugLineNum = 69468160;BA.debugLine="Sub Activity_Create(FirstTime As Boolean)"; +RDebugUtils.currentLine=69468161; + //BA.debugLineNum = 69468161;BA.debugLine="If(FirstTime) Then"; +if ((_firsttime)) { +RDebugUtils.currentLine=69468162; + //BA.debugLineNum = 69468162;BA.debugLine="g.Initialize(\"GPS\")"; +_g.Initialize("GPS"); + }; +RDebugUtils.currentLine=69468164; + //BA.debugLineNum = 69468164;BA.debugLine="Activity.LoadLayout(\"foto\")"; +mostCurrent._activity.LoadLayout("foto",mostCurrent.activityBA); +RDebugUtils.currentLine=69468165; + //BA.debugLineNum = 69468165;BA.debugLine="c=Starter.skmt.ExecQuery(\"select cuenta from cuen"; +mostCurrent._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 cuenta from cuentaa"))); +RDebugUtils.currentLine=69468166; + //BA.debugLineNum = 69468166;BA.debugLine="c.Position = 0"; +mostCurrent._c.setPosition((int) (0)); +RDebugUtils.currentLine=69468167; + //BA.debugLineNum = 69468167;BA.debugLine="cuenta = c.GetString(\"CUENTA\")"; +mostCurrent._cuenta = mostCurrent._c.GetString("CUENTA"); +RDebugUtils.currentLine=69468168; + //BA.debugLineNum = 69468168;BA.debugLine="End Sub"; +return ""; +} +public static boolean _activity_keypress(int _key) throws Exception{ +RDebugUtils.currentModule="foto"; +if (Debug.shouldDelegate(mostCurrent.activityBA, "activity_keypress", false)) + {return ((Boolean) Debug.delegate(mostCurrent.activityBA, "activity_keypress", new Object[] {_key}));} +RDebugUtils.currentLine=70320128; + //BA.debugLineNum = 70320128;BA.debugLine="Sub Activity_KeyPress (key As Int) As Boolean"; +RDebugUtils.currentLine=70320130; + //BA.debugLineNum = 70320130;BA.debugLine="If key=KeyCodes.KEYCODE_BACK Then"; +if (_key==anywheresoftware.b4a.keywords.Common.KeyCodes.KEYCODE_BACK) { +RDebugUtils.currentLine=70320132; + //BA.debugLineNum = 70320132;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +mostCurrent._b4xpages._showpage /*String*/ (mostCurrent.activityBA,"Principal"); + }; +RDebugUtils.currentLine=70320136; + //BA.debugLineNum = 70320136;BA.debugLine="Return False"; +if (true) return anywheresoftware.b4a.keywords.Common.False; +RDebugUtils.currentLine=70320137; + //BA.debugLineNum = 70320137;BA.debugLine="End Sub"; +return false; +} +public static String _activity_pause(boolean _userclosed) throws Exception{ +RDebugUtils.currentModule="foto"; +RDebugUtils.currentLine=69664768; + //BA.debugLineNum = 69664768;BA.debugLine="Sub Activity_Pause (UserClosed As Boolean)"; +RDebugUtils.currentLine=69664769; + //BA.debugLineNum = 69664769;BA.debugLine="camEx.Release"; +mostCurrent._camex._release /*String*/ (null); +RDebugUtils.currentLine=69664770; + //BA.debugLineNum = 69664770;BA.debugLine="End Sub"; +return ""; +} +public static String _activity_resume() throws Exception{ +RDebugUtils.currentModule="foto"; +if (Debug.shouldDelegate(mostCurrent.activityBA, "activity_resume", false)) + {return ((String) Debug.delegate(mostCurrent.activityBA, "activity_resume", null));} +RDebugUtils.currentLine=69533696; + //BA.debugLineNum = 69533696;BA.debugLine="Sub Activity_Resume"; +RDebugUtils.currentLine=69533697; + //BA.debugLineNum = 69533697;BA.debugLine="InitializeCamera"; +_initializecamera(); +RDebugUtils.currentLine=69533698; + //BA.debugLineNum = 69533698;BA.debugLine="End Sub"; +return ""; +} +public static String _initializecamera() throws Exception{ +RDebugUtils.currentModule="foto"; +if (Debug.shouldDelegate(mostCurrent.activityBA, "initializecamera", false)) + {return ((String) Debug.delegate(mostCurrent.activityBA, "initializecamera", null));} +RDebugUtils.currentLine=69599232; + //BA.debugLineNum = 69599232;BA.debugLine="Private Sub InitializeCamera"; +RDebugUtils.currentLine=69599233; + //BA.debugLineNum = 69599233;BA.debugLine="camEx.Initialize(p_camara, frontCamera, Me, \"Came"; +mostCurrent._camex._initialize /*String*/ (null,mostCurrent.activityBA,mostCurrent._p_camara,_frontcamera,foto.getObject(),"Camera1"); +RDebugUtils.currentLine=69599234; + //BA.debugLineNum = 69599234;BA.debugLine="frontCamera = camEx.Front"; +_frontcamera = mostCurrent._camex._front /*boolean*/ ; +RDebugUtils.currentLine=69599235; + //BA.debugLineNum = 69599235;BA.debugLine="End Sub"; +return ""; +} +public static String _btneffect_click() throws Exception{ +RDebugUtils.currentModule="foto"; +if (Debug.shouldDelegate(mostCurrent.activityBA, "btneffect_click", false)) + {return ((String) Debug.delegate(mostCurrent.activityBA, "btneffect_click", null));} +anywheresoftware.b4a.objects.collections.List _effects = null; +String _effect = ""; +RDebugUtils.currentLine=70123520; + //BA.debugLineNum = 70123520;BA.debugLine="Sub btnEffect_Click"; +RDebugUtils.currentLine=70123521; + //BA.debugLineNum = 70123521;BA.debugLine="Dim effects As List = camEx.GetSupportedColorEffe"; +_effects = new anywheresoftware.b4a.objects.collections.List(); +_effects = mostCurrent._camex._getsupportedcoloreffects /*anywheresoftware.b4a.objects.collections.List*/ (null); +RDebugUtils.currentLine=70123522; + //BA.debugLineNum = 70123522;BA.debugLine="If effects.IsInitialized = False Then"; +if (_effects.IsInitialized()==anywheresoftware.b4a.keywords.Common.False) { +RDebugUtils.currentLine=70123523; + //BA.debugLineNum = 70123523;BA.debugLine="ToastMessageShow(\"Effects not supported.\", False"; +anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("Effects not supported."),anywheresoftware.b4a.keywords.Common.False); +RDebugUtils.currentLine=70123524; + //BA.debugLineNum = 70123524;BA.debugLine="Return"; +if (true) return ""; + }; +RDebugUtils.currentLine=70123526; + //BA.debugLineNum = 70123526;BA.debugLine="Dim effect As String = effects.Get((effects.Index"; +_effect = BA.ObjectToString(_effects.Get((int) ((_effects.IndexOf((Object)(mostCurrent._camex._getcoloreffect /*String*/ (null)))+1)%_effects.getSize()))); +RDebugUtils.currentLine=70123527; + //BA.debugLineNum = 70123527;BA.debugLine="camEx.SetColorEffect(effect)"; +mostCurrent._camex._setcoloreffect /*String*/ (null,_effect); +RDebugUtils.currentLine=70123528; + //BA.debugLineNum = 70123528;BA.debugLine="ToastMessageShow(effect, False)"; +anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence(_effect),anywheresoftware.b4a.keywords.Common.False); +RDebugUtils.currentLine=70123529; + //BA.debugLineNum = 70123529;BA.debugLine="camEx.CommitParameters"; +mostCurrent._camex._commitparameters /*String*/ (null); +RDebugUtils.currentLine=70123530; + //BA.debugLineNum = 70123530;BA.debugLine="End Sub"; +return ""; +} +public static String _btnflash_click() throws Exception{ +RDebugUtils.currentModule="foto"; +if (Debug.shouldDelegate(mostCurrent.activityBA, "btnflash_click", false)) + {return ((String) Debug.delegate(mostCurrent.activityBA, "btnflash_click", null));} +float[] _f = null; +anywheresoftware.b4a.objects.collections.List _flashmodes = null; +String _flash = ""; +RDebugUtils.currentLine=70189056; + //BA.debugLineNum = 70189056;BA.debugLine="Sub btnFlash_Click"; +RDebugUtils.currentLine=70189057; + //BA.debugLineNum = 70189057;BA.debugLine="Dim f() As Float = camEx.GetFocusDistances"; +_f = mostCurrent._camex._getfocusdistances /*float[]*/ (null); +RDebugUtils.currentLine=70189058; + //BA.debugLineNum = 70189058;BA.debugLine="Log(f(0) & \", \" & f(1) & \", \" & f(2))"; +anywheresoftware.b4a.keywords.Common.LogImpl("870189058",BA.NumberToString(_f[(int) (0)])+", "+BA.NumberToString(_f[(int) (1)])+", "+BA.NumberToString(_f[(int) (2)]),0); +RDebugUtils.currentLine=70189059; + //BA.debugLineNum = 70189059;BA.debugLine="Dim flashModes As List = camEx.GetSupportedFlashM"; +_flashmodes = new anywheresoftware.b4a.objects.collections.List(); +_flashmodes = mostCurrent._camex._getsupportedflashmodes /*anywheresoftware.b4a.objects.collections.List*/ (null); +RDebugUtils.currentLine=70189060; + //BA.debugLineNum = 70189060;BA.debugLine="If flashModes.IsInitialized = False Then"; +if (_flashmodes.IsInitialized()==anywheresoftware.b4a.keywords.Common.False) { +RDebugUtils.currentLine=70189061; + //BA.debugLineNum = 70189061;BA.debugLine="ToastMessageShow(\"Flash not supported.\", False)"; +anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("Flash not supported."),anywheresoftware.b4a.keywords.Common.False); +RDebugUtils.currentLine=70189062; + //BA.debugLineNum = 70189062;BA.debugLine="Return"; +if (true) return ""; + }; +RDebugUtils.currentLine=70189064; + //BA.debugLineNum = 70189064;BA.debugLine="Dim flash As String = flashModes.Get((flashModes."; +_flash = BA.ObjectToString(_flashmodes.Get((int) ((_flashmodes.IndexOf((Object)(mostCurrent._camex._getflashmode /*String*/ (null)))+1)%_flashmodes.getSize()))); +RDebugUtils.currentLine=70189065; + //BA.debugLineNum = 70189065;BA.debugLine="camEx.SetFlashMode(flash)"; +mostCurrent._camex._setflashmode /*String*/ (null,_flash); +RDebugUtils.currentLine=70189066; + //BA.debugLineNum = 70189066;BA.debugLine="ToastMessageShow(flash, False)"; +anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence(_flash),anywheresoftware.b4a.keywords.Common.False); +RDebugUtils.currentLine=70189067; + //BA.debugLineNum = 70189067;BA.debugLine="camEx.CommitParameters"; +mostCurrent._camex._commitparameters /*String*/ (null); +RDebugUtils.currentLine=70189068; + //BA.debugLineNum = 70189068;BA.debugLine="End Sub"; +return ""; +} +public static String _btnfocus_click() throws Exception{ +RDebugUtils.currentModule="foto"; +if (Debug.shouldDelegate(mostCurrent.activityBA, "btnfocus_click", false)) + {return ((String) Debug.delegate(mostCurrent.activityBA, "btnfocus_click", null));} +RDebugUtils.currentLine=69926912; + //BA.debugLineNum = 69926912;BA.debugLine="Sub btnFocus_Click"; +RDebugUtils.currentLine=69926913; + //BA.debugLineNum = 69926913;BA.debugLine="camEx.FocusAndTakePicture"; +mostCurrent._camex._focusandtakepicture /*String*/ (null); +RDebugUtils.currentLine=69926914; + //BA.debugLineNum = 69926914;BA.debugLine="End Sub"; +return ""; +} +public static String _btnpicturesize_click() throws Exception{ +RDebugUtils.currentModule="foto"; +if (Debug.shouldDelegate(mostCurrent.activityBA, "btnpicturesize_click", false)) + {return ((String) Debug.delegate(mostCurrent.activityBA, "btnpicturesize_click", null));} +reparto_izca.keymon.lat.cameraexclass._camerasize[] _picturesizes = null; +reparto_izca.keymon.lat.cameraexclass._camerasize _current = null; +int _i = 0; +reparto_izca.keymon.lat.cameraexclass._camerasize _ps = null; +RDebugUtils.currentLine=70254592; + //BA.debugLineNum = 70254592;BA.debugLine="Sub btnPictureSize_Click"; +RDebugUtils.currentLine=70254593; + //BA.debugLineNum = 70254593;BA.debugLine="Dim pictureSizes() As CameraSize = camEx.GetSuppo"; +_picturesizes = mostCurrent._camex._getsupportedpicturessizes /*reparto_izca.keymon.lat.cameraexclass._camerasize[]*/ (null); +RDebugUtils.currentLine=70254594; + //BA.debugLineNum = 70254594;BA.debugLine="Dim current As CameraSize = camEx.GetPictureSize"; +_current = mostCurrent._camex._getpicturesize /*reparto_izca.keymon.lat.cameraexclass._camerasize*/ (null); +RDebugUtils.currentLine=70254595; + //BA.debugLineNum = 70254595;BA.debugLine="For i = 0 To pictureSizes.Length - 1"; +{ +final int step3 = 1; +final int limit3 = (int) (_picturesizes.length /*int*/ -1); +_i = (int) (0) ; +for (;_i <= limit3 ;_i = _i + step3 ) { +RDebugUtils.currentLine=70254596; + //BA.debugLineNum = 70254596;BA.debugLine="If pictureSizes(i).Width = current.Width And pic"; +if (_picturesizes[_i].Width /*int*/ ==_current.Width /*int*/ && _picturesizes[_i].Height /*int*/ ==_current.Height /*int*/ ) { +if (true) break;}; + } +}; +RDebugUtils.currentLine=70254598; + //BA.debugLineNum = 70254598;BA.debugLine="Dim ps As CameraSize = pictureSizes((i + 1) Mod p"; +_ps = _picturesizes[(int) ((_i+1)%_picturesizes.length /*int*/ )]; +RDebugUtils.currentLine=70254599; + //BA.debugLineNum = 70254599;BA.debugLine="camEx.SetPictureSize(ps.Width, ps.Height)"; +mostCurrent._camex._setpicturesize /*String*/ (null,_ps.Width /*int*/ ,_ps.Height /*int*/ ); +RDebugUtils.currentLine=70254600; + //BA.debugLineNum = 70254600;BA.debugLine="ToastMessageShow(ps.Width & \"x\" & ps.Height & i,"; +anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence(BA.NumberToString(_ps.Width /*int*/ )+"x"+BA.NumberToString(_ps.Height /*int*/ )+BA.NumberToString(_i)),anywheresoftware.b4a.keywords.Common.False); +RDebugUtils.currentLine=70254601; + //BA.debugLineNum = 70254601;BA.debugLine="camEx.CommitParameters"; +mostCurrent._camex._commitparameters /*String*/ (null); +RDebugUtils.currentLine=70254602; + //BA.debugLineNum = 70254602;BA.debugLine="End Sub"; +return ""; +} +public static String _btntakepicture_click() throws Exception{ +RDebugUtils.currentModule="foto"; +if (Debug.shouldDelegate(mostCurrent.activityBA, "btntakepicture_click", false)) + {return ((String) Debug.delegate(mostCurrent.activityBA, "btntakepicture_click", null));} +reparto_izca.keymon.lat.cameraexclass._camerasize _ps = null; +RDebugUtils.currentLine=69861376; + //BA.debugLineNum = 69861376;BA.debugLine="Sub btnTakePicture_Click"; +RDebugUtils.currentLine=69861377; + //BA.debugLineNum = 69861377;BA.debugLine="Dim ps As CameraSize"; +_ps = new reparto_izca.keymon.lat.cameraexclass._camerasize(); +RDebugUtils.currentLine=69861378; + //BA.debugLineNum = 69861378;BA.debugLine="ps.Width =640"; +_ps.Width /*int*/ = (int) (640); +RDebugUtils.currentLine=69861379; + //BA.debugLineNum = 69861379;BA.debugLine="ps.Height =480"; +_ps.Height /*int*/ = (int) (480); +RDebugUtils.currentLine=69861380; + //BA.debugLineNum = 69861380;BA.debugLine="camEx.SetPictureSize(ps.Width, ps.Height)"; +mostCurrent._camex._setpicturesize /*String*/ (null,_ps.Width /*int*/ ,_ps.Height /*int*/ ); +RDebugUtils.currentLine=69861382; + //BA.debugLineNum = 69861382;BA.debugLine="camEx.CommitParameters"; +mostCurrent._camex._commitparameters /*String*/ (null); +RDebugUtils.currentLine=69861383; + //BA.debugLineNum = 69861383;BA.debugLine="camEx.TakePicture"; +mostCurrent._camex._takepicture /*String*/ (null); +RDebugUtils.currentLine=69861384; + //BA.debugLineNum = 69861384;BA.debugLine="End Sub"; +return ""; +} +public static String _camera1_picturetaken(byte[] _data) throws Exception{ +RDebugUtils.currentModule="foto"; +if (Debug.shouldDelegate(mostCurrent.activityBA, "camera1_picturetaken", false)) + {return ((String) Debug.delegate(mostCurrent.activityBA, "camera1_picturetaken", new Object[] {_data}));} +String _filename = ""; +String _dir = ""; +String _sdate = ""; +String _stime = ""; +int _i = 0; +RDebugUtils.currentLine=69992448; + //BA.debugLineNum = 69992448;BA.debugLine="Sub Camera1_PictureTaken (Data() As Byte)"; +RDebugUtils.currentLine=69992449; + //BA.debugLineNum = 69992449;BA.debugLine="Dim filename As String = \"1.jpg\""; +_filename = "1.jpg"; +RDebugUtils.currentLine=69992450; + //BA.debugLineNum = 69992450;BA.debugLine="Dim dir As String = File.DirInternal"; +_dir = anywheresoftware.b4a.keywords.Common.File.getDirInternal(); +RDebugUtils.currentLine=69992452; + //BA.debugLineNum = 69992452;BA.debugLine="camEx.SavePictureToFile(Data, dir, filename)"; +mostCurrent._camex._savepicturetofile /*String*/ (null,_data,_dir,_filename); +RDebugUtils.currentLine=69992453; + //BA.debugLineNum = 69992453;BA.debugLine="camEx.StartPreview 'restart preview"; +mostCurrent._camex._startpreview /*String*/ (null); +RDebugUtils.currentLine=69992457; + //BA.debugLineNum = 69992457;BA.debugLine="Dim sDate,sTime As String"; +_sdate = ""; +_stime = ""; +RDebugUtils.currentLine=69992460; + //BA.debugLineNum = 69992460;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat("MM/dd/yyyy"); +RDebugUtils.currentLine=69992461; + //BA.debugLineNum = 69992461;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +_sdate = anywheresoftware.b4a.keywords.Common.DateTime.Date(anywheresoftware.b4a.keywords.Common.DateTime.getNow()); +RDebugUtils.currentLine=69992462; + //BA.debugLineNum = 69992462;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +_stime = anywheresoftware.b4a.keywords.Common.DateTime.Time(anywheresoftware.b4a.keywords.Common.DateTime.getNow()); +RDebugUtils.currentLine=69992463; + //BA.debugLineNum = 69992463;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CUENTA from cuen"; +mostCurrent._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 CUENTA from cuentaa"))); +RDebugUtils.currentLine=69992464; + //BA.debugLineNum = 69992464;BA.debugLine="c.Position = 0"; +mostCurrent._c.setPosition((int) (0)); +RDebugUtils.currentLine=69992465; + //BA.debugLineNum = 69992465;BA.debugLine="cuenta = c.GetString(\"CUENTA\")"; +mostCurrent._cuenta = mostCurrent._c.GetString("CUENTA"); +RDebugUtils.currentLine=69992466; + //BA.debugLineNum = 69992466;BA.debugLine="c=Starter.skmt.ExecQuery(\"select USUARIO from usu"; +mostCurrent._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 USUARIO from usuarioa"))); +RDebugUtils.currentLine=69992467; + //BA.debugLineNum = 69992467;BA.debugLine="c.Position = 0"; +mostCurrent._c.setPosition((int) (0)); +RDebugUtils.currentLine=69992468; + //BA.debugLineNum = 69992468;BA.debugLine="USUARIO = c.GetString(\"USUARIO\")"; +mostCurrent._usuario = mostCurrent._c.GetString("USUARIO"); +RDebugUtils.currentLine=69992469; + //BA.debugLineNum = 69992469;BA.debugLine="c.Close"; +mostCurrent._c.Close(); +RDebugUtils.currentLine=69992470; + //BA.debugLineNum = 69992470;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM NOVENTA WH"; +mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM NOVENTA WHERE NV_CLIENTE IN (select cuenta from cuentaa)"); +RDebugUtils.currentLine=69992472; + //BA.debugLineNum = 69992472;BA.debugLine="c=Starter.skmt.ExecQuery(\"select HVD_CLIENTE,HVD_"; +mostCurrent._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 HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) order by HVD_PRONOMBRE asc"))); +RDebugUtils.currentLine=69992474; + //BA.debugLineNum = 69992474;BA.debugLine="If c.RowCount>0 Then"; +if (mostCurrent._c.getRowCount()>0) { +RDebugUtils.currentLine=69992475; + //BA.debugLineNum = 69992475;BA.debugLine="For i=0 To c.RowCount -1"; +{ +final int step19 = 1; +final int limit19 = (int) (mostCurrent._c.getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit19 ;_i = _i + step19 ) { +RDebugUtils.currentLine=69992476; + //BA.debugLineNum = 69992476;BA.debugLine="c.Position=i"; +mostCurrent._c.setPosition(_i); +RDebugUtils.currentLine=69992477; + //BA.debugLineNum = 69992477;BA.debugLine="Starter.skmt.ExecNonQuery2(\"insert into reparto"; +mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into reparto(REP_CLIENTE, REP_PRONOMBRE, REP_CANT, REP_COSTO_TOT) select HVD_CLIENTE, HVD_PRONOMBRE, HVD_CANT, HVD_COSTO_TOT from hist_ventas where HVD_PRONOMBRE = ? and HVD_cliente in (Select CUENTA from cuentaa) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{mostCurrent._c.GetString("HVD_PRONOMBRE")})); +RDebugUtils.currentLine=69992479; + //BA.debugLineNum = 69992479;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update cat_gunaprod"; +mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen + ? where cat_gp_nombre = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(mostCurrent._c.GetString("HVD_CANT")),(Object)(mostCurrent._c.GetString("HVD_PRONOMBRE"))})); + } +}; + }; +RDebugUtils.currentLine=69992490; + //BA.debugLineNum = 69992490;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO NOVENTA"; +mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO NOVENTA (NV_CLIENTE,NV_FECHA,NV_USER,NV_MOTIVO,NV_COMM,NV_LAT,NV_LON, NV_FOTO) VALUES(?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(mostCurrent._cuenta),(Object)(_sdate+_stime),(Object)(mostCurrent._usuario),(Object)("CERRADO"),(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (mostCurrent.activityBA)._noventa /*reparto_izca.keymon.lat.c_noventa*/ ._comentario /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (mostCurrent.activityBA)._lat_gps /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (mostCurrent.activityBA)._lon_gps /*String*/ ),(Object)(_data)})); +RDebugUtils.currentLine=69992491; + //BA.debugLineNum = 69992491;BA.debugLine="Starter.skmt.ExecNonQuery($\"UPDATE kmt_info set g"; +mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("UPDATE kmt_info set gestion = 3, HORAENT = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_sdate+" "+_stime))+"' where CAT_CL_CODIGO In (select cuenta from cuentaa)")); +RDebugUtils.currentLine=69992492; + //BA.debugLineNum = 69992492;BA.debugLine="Starter.skmt.ExecNonQuery(\"update HIST_VENTAS SET"; +mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("update HIST_VENTAS SET HVD_RECHAZO = 1 WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"); +RDebugUtils.currentLine=69992493; + //BA.debugLineNum = 69992493;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +mostCurrent._b4xpages._showpage /*String*/ (mostCurrent.activityBA,"Principal"); +RDebugUtils.currentLine=69992496; + //BA.debugLineNum = 69992496;BA.debugLine="End Sub"; +return ""; +} +public static String _camera1_ready(boolean _success) throws Exception{ +RDebugUtils.currentModule="foto"; +if (Debug.shouldDelegate(mostCurrent.activityBA, "camera1_ready", false)) + {return ((String) Debug.delegate(mostCurrent.activityBA, "camera1_ready", new Object[] {_success}));} +RDebugUtils.currentLine=69795840; + //BA.debugLineNum = 69795840;BA.debugLine="Sub Camera1_Ready (Success As Boolean)"; +RDebugUtils.currentLine=69795841; + //BA.debugLineNum = 69795841;BA.debugLine="If Success Then"; +if (_success) { +RDebugUtils.currentLine=69795842; + //BA.debugLineNum = 69795842;BA.debugLine="camEx.SetJpegQuality(90)"; +mostCurrent._camex._setjpegquality /*String*/ (null,(int) (90)); +RDebugUtils.currentLine=69795843; + //BA.debugLineNum = 69795843;BA.debugLine="camEx.CommitParameters"; +mostCurrent._camex._commitparameters /*String*/ (null); +RDebugUtils.currentLine=69795844; + //BA.debugLineNum = 69795844;BA.debugLine="camEx.StartPreview"; +mostCurrent._camex._startpreview /*String*/ (null); +RDebugUtils.currentLine=69795845; + //BA.debugLineNum = 69795845;BA.debugLine="Log(camEx.GetPreviewSize)"; +anywheresoftware.b4a.keywords.Common.LogImpl("869795845",BA.ObjectToString(mostCurrent._camex._getpreviewsize /*reparto_izca.keymon.lat.cameraexclass._camerasize*/ (null)),0); + }else { +RDebugUtils.currentLine=69795847; + //BA.debugLineNum = 69795847;BA.debugLine="ToastMessageShow(\"Cannot open camera.\", True)"; +anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("Cannot open camera."),anywheresoftware.b4a.keywords.Common.True); + }; +RDebugUtils.currentLine=69795849; + //BA.debugLineNum = 69795849;BA.debugLine="End Sub"; +return ""; +} +public static String _changecamera_click() throws Exception{ +RDebugUtils.currentModule="foto"; +if (Debug.shouldDelegate(mostCurrent.activityBA, "changecamera_click", false)) + {return ((String) Debug.delegate(mostCurrent.activityBA, "changecamera_click", null));} +RDebugUtils.currentLine=70057984; + //BA.debugLineNum = 70057984;BA.debugLine="Sub ChangeCamera_Click"; +RDebugUtils.currentLine=70057985; + //BA.debugLineNum = 70057985;BA.debugLine="camEx.Release"; +mostCurrent._camex._release /*String*/ (null); +RDebugUtils.currentLine=70057986; + //BA.debugLineNum = 70057986;BA.debugLine="frontCamera = Not(frontCamera)"; +_frontcamera = anywheresoftware.b4a.keywords.Common.Not(_frontcamera); +RDebugUtils.currentLine=70057987; + //BA.debugLineNum = 70057987;BA.debugLine="InitializeCamera"; +_initializecamera(); +RDebugUtils.currentLine=70057988; + //BA.debugLineNum = 70057988;BA.debugLine="End Sub"; +return ""; +} +public static String _gps_locationchanged(anywheresoftware.b4a.gps.LocationWrapper _location1) throws Exception{ +RDebugUtils.currentModule="foto"; +if (Debug.shouldDelegate(mostCurrent.activityBA, "gps_locationchanged", false)) + {return ((String) Debug.delegate(mostCurrent.activityBA, "gps_locationchanged", new Object[] {_location1}));} +RDebugUtils.currentLine=69730304; + //BA.debugLineNum = 69730304;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; +RDebugUtils.currentLine=69730309; + //BA.debugLineNum = 69730309;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/httpjob.java b/B4A/Objects/src/reparto_izca/keymon/lat/httpjob.java new file mode 100644 index 0000000..18247f9 --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/httpjob.java @@ -0,0 +1,873 @@ +package reparto_izca.keymon.lat; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.B4AClass; +import anywheresoftware.b4a.BALayout; +import anywheresoftware.b4a.debug.*; + +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 anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "reparto_izca.keymon.lat.httpjob"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", reparto_izca.keymon.lat.httpjob.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 static class _multipartfiledata{ +public boolean IsInitialized; +public String Dir; +public String FileName; +public String KeyName; +public String ContentType; +public void Initialize() { +IsInitialized = true; +Dir = ""; +FileName = ""; +KeyName = ""; +ContentType = ""; +} +@Override + public String toString() { + return BA.TypeToString(this, 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.b4a.objects.streams.File.OutputStreamWrapper _out = null; +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 reparto_izca.keymon.lat.main _main = null; +public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; +public reparto_izca.keymon.lat.foto _foto = null; +public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_izca.keymon.lat.starter _starter = null; +public reparto_izca.keymon.lat.tracker _tracker = null; +public reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public String _initialize(reparto_izca.keymon.lat.httpjob __ref,anywheresoftware.b4a.BA _ba,String _name,Object _targetmodule) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba,_name,_targetmodule}));} +RDebugUtils.currentLine=38993920; + //BA.debugLineNum = 38993920;BA.debugLine="Public Sub Initialize (Name As String, TargetModul"; +RDebugUtils.currentLine=38993921; + //BA.debugLineNum = 38993921;BA.debugLine="JobName = Name"; +__ref._jobname /*String*/ = _name; +RDebugUtils.currentLine=38993922; + //BA.debugLineNum = 38993922;BA.debugLine="target = TargetModule"; +__ref._target /*Object*/ = _targetmodule; +RDebugUtils.currentLine=38993930; + //BA.debugLineNum = 38993930;BA.debugLine="End Sub"; +return ""; +} +public String _download(reparto_izca.keymon.lat.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=39780352; + //BA.debugLineNum = 39780352;BA.debugLine="Public Sub Download(Link As String)"; +RDebugUtils.currentLine=39780353; + //BA.debugLineNum = 39780353;BA.debugLine="Try"; +try {RDebugUtils.currentLine=39780354; + //BA.debugLineNum = 39780354;BA.debugLine="Link = AddScheme(Link)"; +_link = __ref._addscheme /*String*/ (null,_link); +RDebugUtils.currentLine=39780355; + //BA.debugLineNum = 39780355;BA.debugLine="req.InitializeGet(Link)"; +__ref._req /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ .InitializeGet(_link); + } + catch (Exception e5) { + ba.setLastException(e5);RDebugUtils.currentLine=39780357; + //BA.debugLineNum = 39780357;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; +__c.LogImpl("939780357",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); +RDebugUtils.currentLine=39780358; + //BA.debugLineNum = 39780358;BA.debugLine="req.InitializeGet(InvalidURL)"; +__ref._req /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ .InitializeGet(__ref._invalidurl /*String*/ ); + }; +RDebugUtils.currentLine=39780360; + //BA.debugLineNum = 39780360;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\", M"; +__c.CallSubDelayed2(ba,(Object)(_httputils2service.getObject()),"SubmitJob",this); +RDebugUtils.currentLine=39780361; + //BA.debugLineNum = 39780361;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _getinputstream(reparto_izca.keymon.lat.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=40632320; + //BA.debugLineNum = 40632320;BA.debugLine="Public Sub GetInputStream As InputStream"; +RDebugUtils.currentLine=40632321; + //BA.debugLineNum = 40632321;BA.debugLine="Dim In As InputStream"; +_in = new anywheresoftware.b4a.objects.streams.File.InputStreamWrapper(); +RDebugUtils.currentLine=40632322; + //BA.debugLineNum = 40632322;BA.debugLine="In = File.OpenInput(HttpUtils2Service.TempFolder,"; +_in = __c.File.OpenInput(_httputils2service._tempfolder /*String*/ ,__ref._taskid /*String*/ ); +RDebugUtils.currentLine=40632323; + //BA.debugLineNum = 40632323;BA.debugLine="Return In"; +if (true) return _in; +RDebugUtils.currentLine=40632324; + //BA.debugLineNum = 40632324;BA.debugLine="End Sub"; +return null; +} +public String _release(reparto_izca.keymon.lat.httpjob __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "release", true)) + {return ((String) Debug.delegate(ba, "release", null));} +RDebugUtils.currentLine=40108032; + //BA.debugLineNum = 40108032;BA.debugLine="Public Sub Release"; +RDebugUtils.currentLine=40108034; + //BA.debugLineNum = 40108034;BA.debugLine="File.Delete(HttpUtils2Service.TempFolder, taskId)"; +__c.File.Delete(_httputils2service._tempfolder /*String*/ ,__ref._taskid /*String*/ ); +RDebugUtils.currentLine=40108036; + //BA.debugLineNum = 40108036;BA.debugLine="End Sub"; +return ""; +} +public String _getstring(reparto_izca.keymon.lat.httpjob __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "getstring", true)) + {return ((String) Debug.delegate(ba, "getstring", null));} +RDebugUtils.currentLine=40173568; + //BA.debugLineNum = 40173568;BA.debugLine="Public Sub GetString As String"; +RDebugUtils.currentLine=40173569; + //BA.debugLineNum = 40173569;BA.debugLine="Return GetString2(\"UTF8\")"; +if (true) return __ref._getstring2 /*String*/ (null,"UTF8"); +RDebugUtils.currentLine=40173570; + //BA.debugLineNum = 40173570;BA.debugLine="End Sub"; +return ""; +} +public String _postbytes(reparto_izca.keymon.lat.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=39190528; + //BA.debugLineNum = 39190528;BA.debugLine="Public Sub PostBytes(Link As String, Data() As Byt"; +RDebugUtils.currentLine=39190529; + //BA.debugLineNum = 39190529;BA.debugLine="Try"; +try {RDebugUtils.currentLine=39190530; + //BA.debugLineNum = 39190530;BA.debugLine="Link = AddScheme(Link)"; +_link = __ref._addscheme /*String*/ (null,_link); +RDebugUtils.currentLine=39190531; + //BA.debugLineNum = 39190531;BA.debugLine="req.InitializePost2(Link, Data)"; +__ref._req /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ .InitializePost2(_link,_data); + } + catch (Exception e5) { + ba.setLastException(e5);RDebugUtils.currentLine=39190533; + //BA.debugLineNum = 39190533;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; +__c.LogImpl("939190533",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); +RDebugUtils.currentLine=39190534; + //BA.debugLineNum = 39190534;BA.debugLine="req.InitializePost2(InvalidURL, Data)"; +__ref._req /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ .InitializePost2(__ref._invalidurl /*String*/ ,_data); + }; +RDebugUtils.currentLine=39190536; + //BA.debugLineNum = 39190536;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\", M"; +__c.CallSubDelayed2(ba,(Object)(_httputils2service.getObject()),"SubmitJob",this); +RDebugUtils.currentLine=39190537; + //BA.debugLineNum = 39190537;BA.debugLine="End Sub"; +return ""; +} +public String _complete(reparto_izca.keymon.lat.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=40370176; + //BA.debugLineNum = 40370176;BA.debugLine="Public Sub Complete (id As Int)"; +RDebugUtils.currentLine=40370177; + //BA.debugLineNum = 40370177;BA.debugLine="taskId = id"; +__ref._taskid /*String*/ = BA.NumberToString(_id); +RDebugUtils.currentLine=40370178; + //BA.debugLineNum = 40370178;BA.debugLine="CallSubDelayed2(target, \"JobDone\", Me)"; +__c.CallSubDelayed2(ba,__ref._target /*Object*/ ,"JobDone",this); +RDebugUtils.currentLine=40370179; + //BA.debugLineNum = 40370179;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest _getrequest(reparto_izca.keymon.lat.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=40304640; + //BA.debugLineNum = 40304640;BA.debugLine="Public Sub GetRequest As OkHttpRequest"; +RDebugUtils.currentLine=40304641; + //BA.debugLineNum = 40304641;BA.debugLine="Return req"; +if (true) return __ref._req /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ ; +RDebugUtils.currentLine=40304642; + //BA.debugLineNum = 40304642;BA.debugLine="End Sub"; +return null; +} +public String _addscheme(reparto_izca.keymon.lat.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=39059456; + //BA.debugLineNum = 39059456;BA.debugLine="Private Sub AddScheme (Link As String) As String"; +RDebugUtils.currentLine=39059457; + //BA.debugLineNum = 39059457;BA.debugLine="If DefaultScheme = \"\" Or Link.Contains(\":\") Then"; +if ((__ref._defaultscheme /*String*/ ).equals("") || _link.contains(":")) { +if (true) return _link;}; +RDebugUtils.currentLine=39059458; + //BA.debugLineNum = 39059458;BA.debugLine="Return DefaultScheme & \"://\" & Link"; +if (true) return __ref._defaultscheme /*String*/ +"://"+_link; +RDebugUtils.currentLine=39059459; + //BA.debugLineNum = 39059459;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(reparto_izca.keymon.lat.httpjob __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +RDebugUtils.currentLine=38928384; + //BA.debugLineNum = 38928384;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=38928385; + //BA.debugLineNum = 38928385;BA.debugLine="Public JobName As String"; +_jobname = ""; +RDebugUtils.currentLine=38928386; + //BA.debugLineNum = 38928386;BA.debugLine="Public Success As Boolean"; +_success = false; +RDebugUtils.currentLine=38928387; + //BA.debugLineNum = 38928387;BA.debugLine="Public Username, Password As String"; +_username = ""; +_password = ""; +RDebugUtils.currentLine=38928388; + //BA.debugLineNum = 38928388;BA.debugLine="Public ErrorMessage As String"; +_errormessage = ""; +RDebugUtils.currentLine=38928389; + //BA.debugLineNum = 38928389;BA.debugLine="Private target As Object"; +_target = new Object(); +RDebugUtils.currentLine=38928392; + //BA.debugLineNum = 38928392;BA.debugLine="Public taskId As String"; +_taskid = ""; +RDebugUtils.currentLine=38928393; + //BA.debugLineNum = 38928393;BA.debugLine="Public Out As OutputStream"; +_out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); +RDebugUtils.currentLine=38928397; + //BA.debugLineNum = 38928397;BA.debugLine="Private req As OkHttpRequest"; +_req = new anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest(); +RDebugUtils.currentLine=38928398; + //BA.debugLineNum = 38928398;BA.debugLine="Public Response As OkHttpResponse"; +_response = new anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpResponse(); +RDebugUtils.currentLine=38928407; + //BA.debugLineNum = 38928407;BA.debugLine="Public Tag As Object"; +_tag = new Object(); +RDebugUtils.currentLine=38928408; + //BA.debugLineNum = 38928408;BA.debugLine="Type MultipartFileData (Dir As String, FileName A"; +; +RDebugUtils.currentLine=38928412; + //BA.debugLineNum = 38928412;BA.debugLine="Private Const InvalidURL As String = \"https://inv"; +_invalidurl = "https://invalid-url/"; +RDebugUtils.currentLine=38928413; + //BA.debugLineNum = 38928413;BA.debugLine="Public DefaultScheme As String = \"https\""; +_defaultscheme = "https"; +RDebugUtils.currentLine=38928414; + //BA.debugLineNum = 38928414;BA.debugLine="End Sub"; +return ""; +} +public String _delete(reparto_izca.keymon.lat.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=39976960; + //BA.debugLineNum = 39976960;BA.debugLine="Public Sub Delete(Link As String)"; +RDebugUtils.currentLine=39976961; + //BA.debugLineNum = 39976961;BA.debugLine="Try"; +try {RDebugUtils.currentLine=39976962; + //BA.debugLineNum = 39976962;BA.debugLine="Link = AddScheme(Link)"; +_link = __ref._addscheme /*String*/ (null,_link); +RDebugUtils.currentLine=39976963; + //BA.debugLineNum = 39976963;BA.debugLine="req.InitializeDelete(Link)"; +__ref._req /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ .InitializeDelete(_link); + } + catch (Exception e5) { + ba.setLastException(e5);RDebugUtils.currentLine=39976965; + //BA.debugLineNum = 39976965;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; +__c.LogImpl("939976965",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); +RDebugUtils.currentLine=39976966; + //BA.debugLineNum = 39976966;BA.debugLine="req.InitializeDelete(InvalidURL)"; +__ref._req /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ .InitializeDelete(__ref._invalidurl /*String*/ ); + }; +RDebugUtils.currentLine=39976968; + //BA.debugLineNum = 39976968;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\", M"; +__c.CallSubDelayed2(ba,(Object)(_httputils2service.getObject()),"SubmitJob",this); +RDebugUtils.currentLine=39976969; + //BA.debugLineNum = 39976969;BA.debugLine="End Sub"; +return ""; +} +public String _delete2(reparto_izca.keymon.lat.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=40042496; + //BA.debugLineNum = 40042496;BA.debugLine="Public Sub Delete2(Link As String, Parameters() As"; +RDebugUtils.currentLine=40042497; + //BA.debugLineNum = 40042497;BA.debugLine="Try"; +try {RDebugUtils.currentLine=40042498; + //BA.debugLineNum = 40042498;BA.debugLine="Link = AddScheme(Link)"; +_link = __ref._addscheme /*String*/ (null,_link); +RDebugUtils.currentLine=40042499; + //BA.debugLineNum = 40042499;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=40042501; + //BA.debugLineNum = 40042501;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; +__c.LogImpl("940042501",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); +RDebugUtils.currentLine=40042502; + //BA.debugLineNum = 40042502;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=40042504; + //BA.debugLineNum = 40042504;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\", M"; +__c.CallSubDelayed2(ba,(Object)(_httputils2service.getObject()),"SubmitJob",this); +RDebugUtils.currentLine=40042505; + //BA.debugLineNum = 40042505;BA.debugLine="End Sub"; +return ""; +} +public String _escapelink(reparto_izca.keymon.lat.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=39911424; + //BA.debugLineNum = 39911424;BA.debugLine="Private Sub escapeLink(Link As String, Parameters("; +RDebugUtils.currentLine=39911425; + //BA.debugLineNum = 39911425;BA.debugLine="Dim sb As StringBuilder"; +_sb = new anywheresoftware.b4a.keywords.StringBuilderWrapper(); +RDebugUtils.currentLine=39911426; + //BA.debugLineNum = 39911426;BA.debugLine="sb.Initialize"; +_sb.Initialize(); +RDebugUtils.currentLine=39911427; + //BA.debugLineNum = 39911427;BA.debugLine="sb.Append(Link)"; +_sb.Append(_link); +RDebugUtils.currentLine=39911428; + //BA.debugLineNum = 39911428;BA.debugLine="If Parameters.Length > 0 Then sb.Append(\"?\")"; +if (_parameters.length>0) { +_sb.Append("?");}; +RDebugUtils.currentLine=39911429; + //BA.debugLineNum = 39911429;BA.debugLine="Dim su As StringUtils"; +_su = new anywheresoftware.b4a.objects.StringUtils(); +RDebugUtils.currentLine=39911430; + //BA.debugLineNum = 39911430;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=39911431; + //BA.debugLineNum = 39911431;BA.debugLine="If i > 0 Then sb.Append(\"&\")"; +if (_i>0) { +_sb.Append("&");}; +RDebugUtils.currentLine=39911432; + //BA.debugLineNum = 39911432;BA.debugLine="sb.Append(su.EncodeUrl(Parameters(i), \"UTF8\")).A"; +_sb.Append(_su.EncodeUrl(_parameters[_i],"UTF8")).Append("="); +RDebugUtils.currentLine=39911433; + //BA.debugLineNum = 39911433;BA.debugLine="sb.Append(su.EncodeUrl(Parameters(i + 1), \"UTF8\""; +_sb.Append(_su.EncodeUrl(_parameters[(int) (_i+1)],"UTF8")); + } +}; +RDebugUtils.currentLine=39911435; + //BA.debugLineNum = 39911435;BA.debugLine="Return sb.ToString"; +if (true) return _sb.ToString(); +RDebugUtils.currentLine=39911436; + //BA.debugLineNum = 39911436;BA.debugLine="End Sub"; +return ""; +} +public String _download2(reparto_izca.keymon.lat.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=39845888; + //BA.debugLineNum = 39845888;BA.debugLine="Public Sub Download2(Link As String, Parameters()"; +RDebugUtils.currentLine=39845889; + //BA.debugLineNum = 39845889;BA.debugLine="Try"; +try {RDebugUtils.currentLine=39845890; + //BA.debugLineNum = 39845890;BA.debugLine="Link = AddScheme(Link)"; +_link = __ref._addscheme /*String*/ (null,_link); +RDebugUtils.currentLine=39845891; + //BA.debugLineNum = 39845891;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=39845893; + //BA.debugLineNum = 39845893;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; +__c.LogImpl("939845893",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); +RDebugUtils.currentLine=39845894; + //BA.debugLineNum = 39845894;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=39845896; + //BA.debugLineNum = 39845896;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\", M"; +__c.CallSubDelayed2(ba,(Object)(_httputils2service.getObject()),"SubmitJob",this); +RDebugUtils.currentLine=39845897; + //BA.debugLineNum = 39845897;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _getbitmap(reparto_izca.keymon.lat.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=40435712; + //BA.debugLineNum = 40435712;BA.debugLine="Public Sub GetBitmap As Bitmap"; +RDebugUtils.currentLine=40435713; + //BA.debugLineNum = 40435713;BA.debugLine="Dim b As Bitmap"; +_b = new anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper(); +RDebugUtils.currentLine=40435714; + //BA.debugLineNum = 40435714;BA.debugLine="b = LoadBitmap(HttpUtils2Service.TempFolder, task"; +_b = __c.LoadBitmap(_httputils2service._tempfolder /*String*/ ,__ref._taskid /*String*/ ); +RDebugUtils.currentLine=40435715; + //BA.debugLineNum = 40435715;BA.debugLine="Return b"; +if (true) return _b; +RDebugUtils.currentLine=40435716; + //BA.debugLineNum = 40435716;BA.debugLine="End Sub"; +return null; +} +public anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _getbitmapresize(reparto_izca.keymon.lat.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=40566784; + //BA.debugLineNum = 40566784;BA.debugLine="Public Sub GetBitmapResize(Width As Int, Height As"; +RDebugUtils.currentLine=40566785; + //BA.debugLineNum = 40566785;BA.debugLine="Return LoadBitmapResize(HttpUtils2Service.TempFol"; +if (true) return __c.LoadBitmapResize(_httputils2service._tempfolder /*String*/ ,__ref._taskid /*String*/ ,_width,_height,_keepaspectratio); +RDebugUtils.currentLine=40566786; + //BA.debugLineNum = 40566786;BA.debugLine="End Sub"; +return null; +} +public anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _getbitmapsample(reparto_izca.keymon.lat.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=40501248; + //BA.debugLineNum = 40501248;BA.debugLine="Public Sub GetBitmapSample(Width As Int, Height As"; +RDebugUtils.currentLine=40501249; + //BA.debugLineNum = 40501249;BA.debugLine="Return LoadBitmapSample(HttpUtils2Service.TempFol"; +if (true) return __c.LoadBitmapSample(_httputils2service._tempfolder /*String*/ ,__ref._taskid /*String*/ ,_width,_height); +RDebugUtils.currentLine=40501250; + //BA.debugLineNum = 40501250;BA.debugLine="End Sub"; +return null; +} +public String _getstring2(reparto_izca.keymon.lat.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=40239104; + //BA.debugLineNum = 40239104;BA.debugLine="Public Sub GetString2(Encoding As String) As Strin"; +RDebugUtils.currentLine=40239108; + //BA.debugLineNum = 40239108;BA.debugLine="Dim tr As TextReader"; +_tr = new anywheresoftware.b4a.objects.streams.File.TextReaderWrapper(); +RDebugUtils.currentLine=40239109; + //BA.debugLineNum = 40239109;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=40239110; + //BA.debugLineNum = 40239110;BA.debugLine="Dim res As String = tr.ReadAll"; +_res = _tr.ReadAll(); +RDebugUtils.currentLine=40239111; + //BA.debugLineNum = 40239111;BA.debugLine="tr.Close"; +_tr.Close(); +RDebugUtils.currentLine=40239112; + //BA.debugLineNum = 40239112;BA.debugLine="Return res"; +if (true) return _res; +RDebugUtils.currentLine=40239114; + //BA.debugLineNum = 40239114;BA.debugLine="End Sub"; +return ""; +} +public String _head(reparto_izca.keymon.lat.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=39518208; + //BA.debugLineNum = 39518208;BA.debugLine="Public Sub Head(Link As String)"; +RDebugUtils.currentLine=39518209; + //BA.debugLineNum = 39518209;BA.debugLine="Try"; +try {RDebugUtils.currentLine=39518210; + //BA.debugLineNum = 39518210;BA.debugLine="Link = AddScheme(Link)"; +_link = __ref._addscheme /*String*/ (null,_link); +RDebugUtils.currentLine=39518211; + //BA.debugLineNum = 39518211;BA.debugLine="req.InitializeHead(Link)"; +__ref._req /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ .InitializeHead(_link); + } + catch (Exception e5) { + ba.setLastException(e5);RDebugUtils.currentLine=39518213; + //BA.debugLineNum = 39518213;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; +__c.LogImpl("939518213",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); +RDebugUtils.currentLine=39518214; + //BA.debugLineNum = 39518214;BA.debugLine="req.InitializeHead(InvalidURL)"; +__ref._req /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ .InitializeHead(__ref._invalidurl /*String*/ ); + }; +RDebugUtils.currentLine=39518216; + //BA.debugLineNum = 39518216;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\", M"; +__c.CallSubDelayed2(ba,(Object)(_httputils2service.getObject()),"SubmitJob",this); +RDebugUtils.currentLine=39518217; + //BA.debugLineNum = 39518217;BA.debugLine="End Sub"; +return ""; +} +public boolean _multipartstartsection(reparto_izca.keymon.lat.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=39649280; + //BA.debugLineNum = 39649280;BA.debugLine="Private Sub MultipartStartSection (stream As Outpu"; +RDebugUtils.currentLine=39649281; + //BA.debugLineNum = 39649281;BA.debugLine="If empty = False Then"; +if (_empty==__c.False) { +RDebugUtils.currentLine=39649282; + //BA.debugLineNum = 39649282;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=39649284; + //BA.debugLineNum = 39649284;BA.debugLine="empty = False"; +_empty = __c.False; + }; +RDebugUtils.currentLine=39649286; + //BA.debugLineNum = 39649286;BA.debugLine="Return empty"; +if (true) return _empty; +RDebugUtils.currentLine=39649287; + //BA.debugLineNum = 39649287;BA.debugLine="End Sub"; +return false; +} +public String _patchbytes(reparto_izca.keymon.lat.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=39452672; + //BA.debugLineNum = 39452672;BA.debugLine="Public Sub PatchBytes(Link As String, Data() As By"; +RDebugUtils.currentLine=39452673; + //BA.debugLineNum = 39452673;BA.debugLine="Link = AddScheme(Link)"; +_link = __ref._addscheme /*String*/ (null,_link); +RDebugUtils.currentLine=39452681; + //BA.debugLineNum = 39452681;BA.debugLine="Try"; +try {RDebugUtils.currentLine=39452682; + //BA.debugLineNum = 39452682;BA.debugLine="req.InitializePatch2(Link, Data)"; +__ref._req /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ .InitializePatch2(_link,_data); + } + catch (Exception e5) { + ba.setLastException(e5);RDebugUtils.currentLine=39452684; + //BA.debugLineNum = 39452684;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; +__c.LogImpl("939452684",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); +RDebugUtils.currentLine=39452685; + //BA.debugLineNum = 39452685;BA.debugLine="req.InitializePatch2(InvalidURL, Data)"; +__ref._req /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ .InitializePatch2(__ref._invalidurl /*String*/ ,_data); + }; +RDebugUtils.currentLine=39452689; + //BA.debugLineNum = 39452689;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\", M"; +__c.CallSubDelayed2(ba,(Object)(_httputils2service.getObject()),"SubmitJob",this); +RDebugUtils.currentLine=39452690; + //BA.debugLineNum = 39452690;BA.debugLine="End Sub"; +return ""; +} +public String _patchstring(reparto_izca.keymon.lat.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=39387136; + //BA.debugLineNum = 39387136;BA.debugLine="Public Sub PatchString(Link As String, Text As Str"; +RDebugUtils.currentLine=39387137; + //BA.debugLineNum = 39387137;BA.debugLine="PatchBytes(Link, Text.GetBytes(\"UTF8\"))"; +__ref._patchbytes /*String*/ (null,_link,_text.getBytes("UTF8")); +RDebugUtils.currentLine=39387138; + //BA.debugLineNum = 39387138;BA.debugLine="End Sub"; +return ""; +} +public String _postfile(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=39714816; + //BA.debugLineNum = 39714816;BA.debugLine="Public Sub PostFile(Link As String, Dir As String,"; +RDebugUtils.currentLine=39714817; + //BA.debugLineNum = 39714817;BA.debugLine="Link = AddScheme(Link)"; +_link = __ref._addscheme /*String*/ (null,_link); +RDebugUtils.currentLine=39714822; + //BA.debugLineNum = 39714822;BA.debugLine="Dim length As Int"; +_length = 0; +RDebugUtils.currentLine=39714823; + //BA.debugLineNum = 39714823;BA.debugLine="If Dir = File.DirAssets Then"; +if ((_dir).equals(__c.File.getDirAssets())) { +RDebugUtils.currentLine=39714824; + //BA.debugLineNum = 39714824;BA.debugLine="Log(\"Cannot send files from the assets folder.\")"; +__c.LogImpl("939714824","Cannot send files from the assets folder.",0); +RDebugUtils.currentLine=39714825; + //BA.debugLineNum = 39714825;BA.debugLine="Return"; +if (true) return ""; + }; +RDebugUtils.currentLine=39714827; + //BA.debugLineNum = 39714827;BA.debugLine="length = File.Size(Dir, FileName)"; +_length = (int) (__c.File.Size(_dir,_filename)); +RDebugUtils.currentLine=39714828; + //BA.debugLineNum = 39714828;BA.debugLine="Dim In As InputStream"; +_in = new anywheresoftware.b4a.objects.streams.File.InputStreamWrapper(); +RDebugUtils.currentLine=39714829; + //BA.debugLineNum = 39714829;BA.debugLine="In = File.OpenInput(Dir, FileName)"; +_in = __c.File.OpenInput(_dir,_filename); +RDebugUtils.currentLine=39714830; + //BA.debugLineNum = 39714830;BA.debugLine="If length < 1000000 Then '1mb"; +if (_length<1000000) { +RDebugUtils.currentLine=39714833; + //BA.debugLineNum = 39714833;BA.debugLine="Dim out As OutputStream"; +_out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); +RDebugUtils.currentLine=39714834; + //BA.debugLineNum = 39714834;BA.debugLine="out.InitializeToBytesArray(length)"; +__ref._out /*anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper*/ .InitializeToBytesArray(_length); +RDebugUtils.currentLine=39714835; + //BA.debugLineNum = 39714835;BA.debugLine="File.Copy2(In, out)"; +__c.File.Copy2((java.io.InputStream)(_in.getObject()),(java.io.OutputStream)(__ref._out /*anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper*/ .getObject())); +RDebugUtils.currentLine=39714836; + //BA.debugLineNum = 39714836;BA.debugLine="PostBytes(Link, out.ToBytesArray)"; +__ref._postbytes /*String*/ (null,_link,__ref._out /*anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper*/ .ToBytesArray()); + }else { +RDebugUtils.currentLine=39714838; + //BA.debugLineNum = 39714838;BA.debugLine="req.InitializePost(Link, In, length)"; +__ref._req /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ .InitializePost(_link,(java.io.InputStream)(_in.getObject()),_length); +RDebugUtils.currentLine=39714839; + //BA.debugLineNum = 39714839;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\","; +__c.CallSubDelayed2(ba,(Object)(_httputils2service.getObject()),"SubmitJob",this); + }; +RDebugUtils.currentLine=39714842; + //BA.debugLineNum = 39714842;BA.debugLine="End Sub"; +return ""; +} +public String _postmultipart(reparto_izca.keymon.lat.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; +String _eol = ""; +boolean _empty = false; +String _key = ""; +String _value = ""; +String _s = ""; +reparto_izca.keymon.lat.httpjob._multipartfiledata _fd = null; +anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _in = null; +RDebugUtils.currentLine=39583744; + //BA.debugLineNum = 39583744;BA.debugLine="Public Sub PostMultipart(Link As String, NameValue"; +RDebugUtils.currentLine=39583745; + //BA.debugLineNum = 39583745;BA.debugLine="Dim boundary As String = \"-----------------------"; +_boundary = "---------------------------1461124740692"; +RDebugUtils.currentLine=39583746; + //BA.debugLineNum = 39583746;BA.debugLine="Dim stream As OutputStream"; +_stream = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); +RDebugUtils.currentLine=39583747; + //BA.debugLineNum = 39583747;BA.debugLine="stream.InitializeToBytesArray(0)"; +_stream.InitializeToBytesArray((int) (0)); +RDebugUtils.currentLine=39583748; + //BA.debugLineNum = 39583748;BA.debugLine="Dim b() As Byte"; +_b = new byte[(int) (0)]; +; +RDebugUtils.currentLine=39583749; + //BA.debugLineNum = 39583749;BA.debugLine="Dim eol As String = Chr(13) & Chr(10)"; +_eol = BA.ObjectToString(__c.Chr((int) (13)))+BA.ObjectToString(__c.Chr((int) (10))); +RDebugUtils.currentLine=39583750; + //BA.debugLineNum = 39583750;BA.debugLine="Dim empty As Boolean = True"; +_empty = __c.True; +RDebugUtils.currentLine=39583751; + //BA.debugLineNum = 39583751;BA.debugLine="If NameValues <> Null And NameValues.IsInitialize"; +if (_namevalues!= null && _namevalues.IsInitialized()) { +RDebugUtils.currentLine=39583752; + //BA.debugLineNum = 39583752;BA.debugLine="For Each key As String In NameValues.Keys"; +{ +final anywheresoftware.b4a.BA.IterableList group8 = _namevalues.Keys(); +final int groupLen8 = group8.getSize() +;int index8 = 0; +; +for (; index8 < groupLen8;index8++){ +_key = BA.ObjectToString(group8.Get(index8)); +RDebugUtils.currentLine=39583753; + //BA.debugLineNum = 39583753;BA.debugLine="Dim value As String = NameValues.Get(key)"; +_value = BA.ObjectToString(_namevalues.Get((Object)(_key))); +RDebugUtils.currentLine=39583754; + //BA.debugLineNum = 39583754;BA.debugLine="empty = MultipartStartSection (stream, empty)"; +_empty = __ref._multipartstartsection /*boolean*/ (null,_stream,_empty); +RDebugUtils.currentLine=39583755; + //BA.debugLineNum = 39583755;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))+""); +RDebugUtils.currentLine=39583760; + //BA.debugLineNum = 39583760;BA.debugLine="b = s.Replace(CRLF, eol).GetBytes(\"UTF8\")"; +_b = _s.replace(__c.CRLF,_eol).getBytes("UTF8"); +RDebugUtils.currentLine=39583761; + //BA.debugLineNum = 39583761;BA.debugLine="stream.WriteBytes(b, 0, b.Length)"; +_stream.WriteBytes(_b,(int) (0),_b.length); + } +}; + }; +RDebugUtils.currentLine=39583764; + //BA.debugLineNum = 39583764;BA.debugLine="If Files <> Null And Files.IsInitialized Then"; +if (_files!= null && _files.IsInitialized()) { +RDebugUtils.currentLine=39583765; + //BA.debugLineNum = 39583765;BA.debugLine="For Each fd As MultipartFileData In Files"; +{ +final anywheresoftware.b4a.BA.IterableList group17 = _files; +final int groupLen17 = group17.getSize() +;int index17 = 0; +; +for (; index17 < groupLen17;index17++){ +_fd = (reparto_izca.keymon.lat.httpjob._multipartfiledata)(group17.Get(index17)); +RDebugUtils.currentLine=39583766; + //BA.debugLineNum = 39583766;BA.debugLine="empty = MultipartStartSection (stream, empty)"; +_empty = __ref._multipartstartsection /*boolean*/ (null,_stream,_empty); +RDebugUtils.currentLine=39583767; + //BA.debugLineNum = 39583767;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"+""); +RDebugUtils.currentLine=39583773; + //BA.debugLineNum = 39583773;BA.debugLine="b = s.Replace(CRLF, eol).GetBytes(\"UTF8\")"; +_b = _s.replace(__c.CRLF,_eol).getBytes("UTF8"); +RDebugUtils.currentLine=39583774; + //BA.debugLineNum = 39583774;BA.debugLine="stream.WriteBytes(b, 0, b.Length)"; +_stream.WriteBytes(_b,(int) (0),_b.length); +RDebugUtils.currentLine=39583775; + //BA.debugLineNum = 39583775;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*/ ); +RDebugUtils.currentLine=39583776; + //BA.debugLineNum = 39583776;BA.debugLine="File.Copy2(in, stream)"; +__c.File.Copy2((java.io.InputStream)(_in.getObject()),(java.io.OutputStream)(_stream.getObject())); + } +}; + }; +RDebugUtils.currentLine=39583779; + //BA.debugLineNum = 39583779;BA.debugLine="empty = MultipartStartSection (stream, empty)"; +_empty = __ref._multipartstartsection /*boolean*/ (null,_stream,_empty); +RDebugUtils.currentLine=39583780; + //BA.debugLineNum = 39583780;BA.debugLine="s = _ $\"--${boundary}-- \"$"; +_s = ("--"+__c.SmartStringFormatter("",(Object)(_boundary))+"--\n"+""); +RDebugUtils.currentLine=39583783; + //BA.debugLineNum = 39583783;BA.debugLine="b = s.Replace(CRLF, eol).GetBytes(\"UTF8\")"; +_b = _s.replace(__c.CRLF,_eol).getBytes("UTF8"); +RDebugUtils.currentLine=39583784; + //BA.debugLineNum = 39583784;BA.debugLine="stream.WriteBytes(b, 0, b.Length)"; +_stream.WriteBytes(_b,(int) (0),_b.length); +RDebugUtils.currentLine=39583785; + //BA.debugLineNum = 39583785;BA.debugLine="PostBytes(Link, stream.ToBytesArray)"; +__ref._postbytes /*String*/ (null,_link,_stream.ToBytesArray()); +RDebugUtils.currentLine=39583786; + //BA.debugLineNum = 39583786;BA.debugLine="req.SetContentType(\"multipart/form-data; boundary"; +__ref._req /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ .SetContentType("multipart/form-data; boundary="+_boundary); +RDebugUtils.currentLine=39583787; + //BA.debugLineNum = 39583787;BA.debugLine="req.SetContentEncoding(\"UTF8\")"; +__ref._req /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ .SetContentEncoding("UTF8"); +RDebugUtils.currentLine=39583788; + //BA.debugLineNum = 39583788;BA.debugLine="End Sub"; +return ""; +} +public String _poststring(reparto_izca.keymon.lat.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=39124992; + //BA.debugLineNum = 39124992;BA.debugLine="Public Sub PostString(Link As String, Text As Stri"; +RDebugUtils.currentLine=39124993; + //BA.debugLineNum = 39124993;BA.debugLine="PostBytes(Link, Text.GetBytes(\"UTF8\"))"; +__ref._postbytes /*String*/ (null,_link,_text.getBytes("UTF8")); +RDebugUtils.currentLine=39124994; + //BA.debugLineNum = 39124994;BA.debugLine="End Sub"; +return ""; +} +public String _putbytes(reparto_izca.keymon.lat.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=39321600; + //BA.debugLineNum = 39321600;BA.debugLine="Public Sub PutBytes(Link As String, Data() As Byte"; +RDebugUtils.currentLine=39321601; + //BA.debugLineNum = 39321601;BA.debugLine="Try"; +try {RDebugUtils.currentLine=39321602; + //BA.debugLineNum = 39321602;BA.debugLine="Link = AddScheme(Link)"; +_link = __ref._addscheme /*String*/ (null,_link); +RDebugUtils.currentLine=39321603; + //BA.debugLineNum = 39321603;BA.debugLine="req.InitializePut2(Link, Data)"; +__ref._req /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ .InitializePut2(_link,_data); + } + catch (Exception e5) { + ba.setLastException(e5);RDebugUtils.currentLine=39321605; + //BA.debugLineNum = 39321605;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; +__c.LogImpl("939321605",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); +RDebugUtils.currentLine=39321606; + //BA.debugLineNum = 39321606;BA.debugLine="req.InitializePut2(InvalidURL, Data)"; +__ref._req /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ .InitializePut2(__ref._invalidurl /*String*/ ,_data); + }; +RDebugUtils.currentLine=39321608; + //BA.debugLineNum = 39321608;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\", M"; +__c.CallSubDelayed2(ba,(Object)(_httputils2service.getObject()),"SubmitJob",this); +RDebugUtils.currentLine=39321609; + //BA.debugLineNum = 39321609;BA.debugLine="End Sub"; +return ""; +} +public String _putstring(reparto_izca.keymon.lat.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=39256064; + //BA.debugLineNum = 39256064;BA.debugLine="Public Sub PutString(Link As String, Text As Strin"; +RDebugUtils.currentLine=39256065; + //BA.debugLineNum = 39256065;BA.debugLine="PutBytes(Link, Text.GetBytes(\"UTF8\"))"; +__ref._putbytes /*String*/ (null,_link,_text.getBytes("UTF8")); +RDebugUtils.currentLine=39256066; + //BA.debugLineNum = 39256066;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/httputils2service.java b/B4A/Objects/src/reparto_izca/keymon/lat/httputils2service.java new file mode 100644 index 0000000..e2040d7 --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/httputils2service.java @@ -0,0 +1,319 @@ +package reparto_izca.keymon.lat; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.objects.ReceiverHelper; +import anywheresoftware.b4a.debug.*; + +public class httputils2service extends android.content.BroadcastReceiver{ + + static httputils2service mostCurrent; + public static BA processBA; + private ReceiverHelper _receiver; + private static boolean firstTime = true; + public static Class getObject() { + return httputils2service.class; + } + @Override + public void onReceive(android.content.Context context, android.content.Intent intent) { + mostCurrent = this; + + if (processBA == null) { + + processBA = new anywheresoftware.b4a.ShellBA(context, null, null, anywheresoftware.b4a.BA.SharedProcessBA.ModuleType.RECEIVER, "reparto_izca.keymon.lat.httputils2service"); + if (BA.isShellModeRuntimeCheck(processBA)) { + processBA.raiseEvent2(null, true, "SHELL", false); + } + try { + Class.forName(BA.applicationContext.getPackageName() + ".main").getMethod("initializeProcessGlobals").invoke(null, null); + } catch (Exception e) { + throw new RuntimeException(e); + } + processBA.loadHtSubs(this.getClass()); + } + _receiver = new ReceiverHelper(this); + if (BA.isShellModeRuntimeCheck(processBA)) { + processBA.raiseEvent2(null, true, "CREATE", true, "reparto_izca.keymon.lat.httputils2service", processBA, _receiver, anywheresoftware.b4a.keywords.Common.Density); + } + processBA.setActivityPaused(false); + BA.LogInfo("*** Receiver (httputils2service) Receive " + (firstTime ? "(first time)" : "") + " ***"); + anywheresoftware.b4a.objects.IntentWrapper iw = new anywheresoftware.b4a.objects.IntentWrapper(); + iw.setObject(intent); + processBA.raiseEvent(null, "receiver_receive", firstTime, iw); + 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; +public static String _tempfolder = ""; +public static int _taskcounter = 0; +public b4a.example.dateutils _dateutils = null; +public reparto_izca.keymon.lat.main _main = null; +public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; +public reparto_izca.keymon.lat.foto _foto = null; +public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_izca.keymon.lat.starter _starter = null; +public reparto_izca.keymon.lat.tracker _tracker = null; +public reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public reparto_izca.keymon.lat.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}));} +reparto_izca.keymon.lat.httpjob _job = null; +RDebugUtils.currentLine=38862848; + //BA.debugLineNum = 38862848;BA.debugLine="Sub CompleteJob(TaskId As Int, success As Boolean,"; +RDebugUtils.currentLine=38862852; + //BA.debugLineNum = 38862852;BA.debugLine="Dim job As HttpJob = TaskIdToJob.Get(TaskId)"; +_job = (reparto_izca.keymon.lat.httpjob)(_taskidtojob.Get((Object)(_taskid))); +RDebugUtils.currentLine=38862853; + //BA.debugLineNum = 38862853;BA.debugLine="If job = Null Then"; +if (_job== null) { +RDebugUtils.currentLine=38862854; + //BA.debugLineNum = 38862854;BA.debugLine="Log(\"HttpUtils2Service: job completed multiple t"; +anywheresoftware.b4a.keywords.Common.LogImpl("838862854","HttpUtils2Service: job completed multiple times - "+BA.NumberToString(_taskid),0); +RDebugUtils.currentLine=38862855; + //BA.debugLineNum = 38862855;BA.debugLine="Return"; +if (true) return ""; + }; +RDebugUtils.currentLine=38862857; + //BA.debugLineNum = 38862857;BA.debugLine="TaskIdToJob.Remove(TaskId)"; +_taskidtojob.Remove((Object)(_taskid)); +RDebugUtils.currentLine=38862858; + //BA.debugLineNum = 38862858;BA.debugLine="job.success = success"; +_job._success /*boolean*/ = _success; +RDebugUtils.currentLine=38862859; + //BA.debugLineNum = 38862859;BA.debugLine="job.errorMessage = errorMessage"; +_job._errormessage /*String*/ = _errormessage; +RDebugUtils.currentLine=38862861; + //BA.debugLineNum = 38862861;BA.debugLine="job.Complete(TaskId)"; +_job._complete /*String*/ (null,_taskid); +RDebugUtils.currentLine=38862865; + //BA.debugLineNum = 38862865;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}));} +reparto_izca.keymon.lat.httpjob _job = null; +RDebugUtils.currentLine=38797312; + //BA.debugLineNum = 38797312;BA.debugLine="Sub hc_ResponseError (Response As OkHttpResponse,"; +RDebugUtils.currentLine=38797314; + //BA.debugLineNum = 38797314;BA.debugLine="Log($\"ResponseError. Reason: ${Reason}, Response:"; +anywheresoftware.b4a.keywords.Common.LogImpl("838797314",("ResponseError. Reason: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_reason))+", Response: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_response.getErrorResponse()))+""),0); +RDebugUtils.currentLine=38797316; + //BA.debugLineNum = 38797316;BA.debugLine="Response.Release"; +_response.Release(); +RDebugUtils.currentLine=38797317; + //BA.debugLineNum = 38797317;BA.debugLine="Dim job As HttpJob = TaskIdToJob.Get(TaskId)"; +_job = (reparto_izca.keymon.lat.httpjob)(_taskidtojob.Get((Object)(_taskid))); +RDebugUtils.currentLine=38797318; + //BA.debugLineNum = 38797318;BA.debugLine="If job = Null Then"; +if (_job== null) { +RDebugUtils.currentLine=38797319; + //BA.debugLineNum = 38797319;BA.debugLine="Log(\"HttpUtils2Service (hc_ResponseError): job c"; +anywheresoftware.b4a.keywords.Common.LogImpl("838797319","HttpUtils2Service (hc_ResponseError): job completed multiple times - "+BA.NumberToString(_taskid),0); +RDebugUtils.currentLine=38797320; + //BA.debugLineNum = 38797320;BA.debugLine="Return"; +if (true) return ""; + }; +RDebugUtils.currentLine=38797322; + //BA.debugLineNum = 38797322;BA.debugLine="job.Response = Response"; +_job._response /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpResponse*/ = _response; +RDebugUtils.currentLine=38797323; + //BA.debugLineNum = 38797323;BA.debugLine="If Response.ErrorResponse <> \"\" Then"; +if ((_response.getErrorResponse()).equals("") == false) { +RDebugUtils.currentLine=38797324; + //BA.debugLineNum = 38797324;BA.debugLine="CompleteJob(TaskId, False, Response.ErrorRespons"; +_completejob(_taskid,anywheresoftware.b4a.keywords.Common.False,_response.getErrorResponse()); + }else { +RDebugUtils.currentLine=38797326; + //BA.debugLineNum = 38797326;BA.debugLine="CompleteJob(TaskId, False, Reason)"; +_completejob(_taskid,anywheresoftware.b4a.keywords.Common.False,_reason); + }; +RDebugUtils.currentLine=38797328; + //BA.debugLineNum = 38797328;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}));} +reparto_izca.keymon.lat.httpjob _job = null; +anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out = null; +RDebugUtils.currentLine=38666240; + //BA.debugLineNum = 38666240;BA.debugLine="Sub hc_ResponseSuccess (Response As OkHttpResponse"; +RDebugUtils.currentLine=38666241; + //BA.debugLineNum = 38666241;BA.debugLine="Dim job As HttpJob = TaskIdToJob.Get(TaskId)"; +_job = (reparto_izca.keymon.lat.httpjob)(_taskidtojob.Get((Object)(_taskid))); +RDebugUtils.currentLine=38666242; + //BA.debugLineNum = 38666242;BA.debugLine="If job = Null Then"; +if (_job== null) { +RDebugUtils.currentLine=38666243; + //BA.debugLineNum = 38666243;BA.debugLine="Log(\"HttpUtils2Service (hc_ResponseSuccess): job"; +anywheresoftware.b4a.keywords.Common.LogImpl("838666243","HttpUtils2Service (hc_ResponseSuccess): job completed multiple times - "+BA.NumberToString(_taskid),0); +RDebugUtils.currentLine=38666244; + //BA.debugLineNum = 38666244;BA.debugLine="Return"; +if (true) return ""; + }; +RDebugUtils.currentLine=38666246; + //BA.debugLineNum = 38666246;BA.debugLine="job.Response = Response"; +_job._response /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpResponse*/ = _response; +RDebugUtils.currentLine=38666247; + //BA.debugLineNum = 38666247;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); +RDebugUtils.currentLine=38666249; + //BA.debugLineNum = 38666249;BA.debugLine="job.Out = out"; +_job._out /*anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper*/ = _out; +RDebugUtils.currentLine=38666251; + //BA.debugLineNum = 38666251;BA.debugLine="Response.GetAsynchronously(\"response\", out , _"; +_response.GetAsynchronously(processBA,"response",(java.io.OutputStream)(_out.getObject()),anywheresoftware.b4a.keywords.Common.True,_taskid); +RDebugUtils.currentLine=38666253; + //BA.debugLineNum = 38666253;BA.debugLine="End Sub"; +return ""; +} +public static String _receiver_receive(boolean _firsttime,anywheresoftware.b4a.objects.IntentWrapper _startingintent) throws Exception{ +RDebugUtils.currentModule="httputils2service"; +if (Debug.shouldDelegate(processBA, "receiver_receive", false)) + {return ((String) Debug.delegate(processBA, "receiver_receive", new Object[] {_firsttime,_startingintent}));} +RDebugUtils.currentLine=38404096; + //BA.debugLineNum = 38404096;BA.debugLine="Private Sub Receiver_Receive (FirstTime As Boolean"; +RDebugUtils.currentLine=38404097; + //BA.debugLineNum = 38404097;BA.debugLine="If FirstTime Then"; +if (_firsttime) { +RDebugUtils.currentLine=38404098; + //BA.debugLineNum = 38404098;BA.debugLine="Service_Create"; +_service_create(); + }; +RDebugUtils.currentLine=38404100; + //BA.debugLineNum = 38404100;BA.debugLine="End Sub"; +return ""; +} +public static String _service_create() throws Exception{ +RDebugUtils.currentModule="httputils2service"; +if (Debug.shouldDelegate(processBA, "service_create", false)) + {return ((String) Debug.delegate(processBA, "service_create", null));} +RDebugUtils.currentLine=38338560; + //BA.debugLineNum = 38338560;BA.debugLine="Sub Service_Create"; +RDebugUtils.currentLine=38338562; + //BA.debugLineNum = 38338562;BA.debugLine="TempFolder = File.DirInternalCache"; +_tempfolder = anywheresoftware.b4a.keywords.Common.File.getDirInternalCache(); +RDebugUtils.currentLine=38338563; + //BA.debugLineNum = 38338563;BA.debugLine="Try"; +try {RDebugUtils.currentLine=38338564; + //BA.debugLineNum = 38338564;BA.debugLine="File.WriteString(TempFolder, \"~test.test\", \"test"; +anywheresoftware.b4a.keywords.Common.File.WriteString(_tempfolder,"~test.test","test"); +RDebugUtils.currentLine=38338565; + //BA.debugLineNum = 38338565;BA.debugLine="File.Delete(TempFolder, \"~test.test\")"; +anywheresoftware.b4a.keywords.Common.File.Delete(_tempfolder,"~test.test"); + } + catch (Exception e6) { + processBA.setLastException(e6);RDebugUtils.currentLine=38338567; + //BA.debugLineNum = 38338567;BA.debugLine="Log(LastException)"; +anywheresoftware.b4a.keywords.Common.LogImpl("838338567",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),0); +RDebugUtils.currentLine=38338568; + //BA.debugLineNum = 38338568;BA.debugLine="Log(\"Switching to File.DirInternal\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("838338568","Switching to File.DirInternal",0); +RDebugUtils.currentLine=38338569; + //BA.debugLineNum = 38338569;BA.debugLine="TempFolder = File.DirInternal"; +_tempfolder = anywheresoftware.b4a.keywords.Common.File.getDirInternal(); + }; +RDebugUtils.currentLine=38338574; + //BA.debugLineNum = 38338574;BA.debugLine="If hc.IsInitialized = False Then"; +if (_hc.IsInitialized()==anywheresoftware.b4a.keywords.Common.False) { +RDebugUtils.currentLine=38338579; + //BA.debugLineNum = 38338579;BA.debugLine="hc.Initialize(\"hc\")"; +_hc.Initialize("hc"); + }; +RDebugUtils.currentLine=38338587; + //BA.debugLineNum = 38338587;BA.debugLine="TaskIdToJob.Initialize"; +_taskidtojob.Initialize(); +RDebugUtils.currentLine=38338589; + //BA.debugLineNum = 38338589;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=38731776; + //BA.debugLineNum = 38731776;BA.debugLine="Private Sub Response_StreamFinish (Success As Bool"; +RDebugUtils.currentLine=38731777; + //BA.debugLineNum = 38731777;BA.debugLine="If Success Then"; +if (_success) { +RDebugUtils.currentLine=38731778; + //BA.debugLineNum = 38731778;BA.debugLine="CompleteJob(TaskId, Success, \"\")"; +_completejob(_taskid,_success,""); + }else { +RDebugUtils.currentLine=38731780; + //BA.debugLineNum = 38731780;BA.debugLine="CompleteJob(TaskId, Success, LastException.Messa"; +_completejob(_taskid,_success,anywheresoftware.b4a.keywords.Common.LastException(processBA).getMessage()); + }; +RDebugUtils.currentLine=38731782; + //BA.debugLineNum = 38731782;BA.debugLine="End Sub"; +return ""; +} +public static String _service_destroy() throws Exception{ +RDebugUtils.currentModule="httputils2service"; +if (Debug.shouldDelegate(processBA, "service_destroy", false)) + {return ((String) Debug.delegate(processBA, "service_destroy", null));} +RDebugUtils.currentLine=38535168; + //BA.debugLineNum = 38535168;BA.debugLine="Sub Service_Destroy"; +RDebugUtils.currentLine=38535170; + //BA.debugLineNum = 38535170;BA.debugLine="End Sub"; +return ""; +} +public static String _service_start(anywheresoftware.b4a.objects.IntentWrapper _startingintent) throws Exception{ +RDebugUtils.currentModule="httputils2service"; +if (Debug.shouldDelegate(processBA, "service_start", false)) + {return ((String) Debug.delegate(processBA, "service_start", new Object[] {_startingintent}));} +RDebugUtils.currentLine=38469632; + //BA.debugLineNum = 38469632;BA.debugLine="Sub Service_Start (StartingIntent As Intent)"; +RDebugUtils.currentLine=38469634; + //BA.debugLineNum = 38469634;BA.debugLine="End Sub"; +return ""; +} +public static String _submitjob(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=38600704; + //BA.debugLineNum = 38600704;BA.debugLine="Public Sub SubmitJob(job As HttpJob)"; +RDebugUtils.currentLine=38600705; + //BA.debugLineNum = 38600705;BA.debugLine="If TaskIdToJob.IsInitialized = False Then Service"; +if (_taskidtojob.IsInitialized()==anywheresoftware.b4a.keywords.Common.False) { +_service_create();}; +RDebugUtils.currentLine=38600709; + //BA.debugLineNum = 38600709;BA.debugLine="taskCounter = taskCounter + 1"; +_taskcounter = (int) (_taskcounter+1); +RDebugUtils.currentLine=38600710; + //BA.debugLineNum = 38600710;BA.debugLine="Dim TaskId As Int = taskCounter"; +_taskid = _taskcounter; +RDebugUtils.currentLine=38600712; + //BA.debugLineNum = 38600712;BA.debugLine="TaskIdToJob.Put(TaskId, job)"; +_taskidtojob.Put((Object)(_taskid),(Object)(_job)); +RDebugUtils.currentLine=38600713; + //BA.debugLineNum = 38600713;BA.debugLine="If job.Username <> \"\" And job.Password <> \"\" Then"; +if ((_job._username /*String*/ ).equals("") == false && (_job._password /*String*/ ).equals("") == false) { +RDebugUtils.currentLine=38600714; + //BA.debugLineNum = 38600714;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 { +RDebugUtils.currentLine=38600716; + //BA.debugLineNum = 38600716;BA.debugLine="hc.Execute(job.GetRequest, TaskId)"; +_hc.Execute(processBA,_job._getrequest /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ (null),_taskid); + }; +RDebugUtils.currentLine=38600718; + //BA.debugLineNum = 38600718;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/madewithlove.java b/B4A/Objects/src/reparto_izca/keymon/lat/madewithlove.java new file mode 100644 index 0000000..589b212 --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/madewithlove.java @@ -0,0 +1,150 @@ +package reparto_izca.keymon.lat; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.B4AClass; +import anywheresoftware.b4a.BALayout; +import anywheresoftware.b4a.debug.*; + +public class madewithlove 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, "reparto_izca.keymon.lat.madewithlove"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", reparto_izca.keymon.lat.madewithlove.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 String _meventname = ""; +public Object _mcallback = null; +public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; +public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; +public Object _tag = null; +public b4a.example.dateutils _dateutils = null; +public reparto_izca.keymon.lat.main _main = null; +public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; +public reparto_izca.keymon.lat.foto _foto = null; +public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_izca.keymon.lat.starter _starter = null; +public reparto_izca.keymon.lat.tracker _tracker = null; +public reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public String _base_resize(reparto_izca.keymon.lat.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=58458112; + //BA.debugLineNum = 58458112;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; +RDebugUtils.currentLine=58458113; + //BA.debugLineNum = 58458113;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=58458114; + //BA.debugLineNum = 58458114;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(reparto_izca.keymon.lat.madewithlove __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="madewithlove"; +RDebugUtils.currentLine=58261504; + //BA.debugLineNum = 58261504;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=58261505; + //BA.debugLineNum = 58261505;BA.debugLine="Private mEventName As String 'ignore"; +_meventname = ""; +RDebugUtils.currentLine=58261506; + //BA.debugLineNum = 58261506;BA.debugLine="Private mCallBack As Object 'ignore"; +_mcallback = new Object(); +RDebugUtils.currentLine=58261507; + //BA.debugLineNum = 58261507;BA.debugLine="Public mBase As B4XView"; +_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=58261508; + //BA.debugLineNum = 58261508;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=58261509; + //BA.debugLineNum = 58261509;BA.debugLine="Public Tag As Object"; +_tag = new Object(); +RDebugUtils.currentLine=58261510; + //BA.debugLineNum = 58261510;BA.debugLine="End Sub"; +return ""; +} +public String _designercreateview(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=58392576; + //BA.debugLineNum = 58392576;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; +RDebugUtils.currentLine=58392577; + //BA.debugLineNum = 58392577;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=58392578; + //BA.debugLineNum = 58392578;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._tag /*Object*/ = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTag(); +RDebugUtils.currentLine=58392578; + //BA.debugLineNum = 58392578;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag(this); +RDebugUtils.currentLine=58392579; + //BA.debugLineNum = 58392579;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=58392594; + //BA.debugLineNum = 58392594;BA.debugLine="Dim cs As CSBuilder"; +_cs = new anywheresoftware.b4a.objects.CSBuilder(); +RDebugUtils.currentLine=58392595; + //BA.debugLineNum = 58392595;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=58392596; + //BA.debugLineNum = 58392596;BA.debugLine="xlbl.Text = cs"; +_xlbl.setText(BA.ObjectToCharSequence(_cs.getObject())); +RDebugUtils.currentLine=58392597; + //BA.debugLineNum = 58392597;BA.debugLine="xlbl.SetTextAlignment(\"CENTER\", \"CENTER\")"; +_xlbl.SetTextAlignment("CENTER","CENTER"); +RDebugUtils.currentLine=58392598; + //BA.debugLineNum = 58392598;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=58392606; + //BA.debugLineNum = 58392606;BA.debugLine="End Sub"; +return ""; +} +public String _initialize(reparto_izca.keymon.lat.madewithlove __ref,anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="madewithlove"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba,_callback,_eventname}));} +RDebugUtils.currentLine=58327040; + //BA.debugLineNum = 58327040;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +RDebugUtils.currentLine=58327041; + //BA.debugLineNum = 58327041;BA.debugLine="mEventName = EventName"; +__ref._meventname /*String*/ = _eventname; +RDebugUtils.currentLine=58327042; + //BA.debugLineNum = 58327042;BA.debugLine="mCallBack = Callback"; +__ref._mcallback /*Object*/ = _callback; +RDebugUtils.currentLine=58327043; + //BA.debugLineNum = 58327043;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/main.java b/B4A/Objects/src/reparto_izca/keymon/lat/main.java new file mode 100644 index 0000000..f04fa04 --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/main.java @@ -0,0 +1,540 @@ +package reparto_izca.keymon.lat; + + +import anywheresoftware.b4a.B4AMenuItem; +import android.app.Activity; +import android.os.Bundle; +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.BALayout; +import anywheresoftware.b4a.B4AActivity; +import anywheresoftware.b4a.ObjectWrapper; +import anywheresoftware.b4a.objects.ActivityWrapper; +import java.lang.reflect.InvocationTargetException; +import anywheresoftware.b4a.B4AUncaughtException; +import anywheresoftware.b4a.debug.*; +import java.lang.ref.WeakReference; + +public class main extends Activity implements B4AActivity{ + public static main mostCurrent; + static boolean afterFirstLayout; + static boolean isFirst = true; + private static boolean processGlobalsRun = false; + BALayout layout; + public static BA processBA; + BA activityBA; + ActivityWrapper _activity; + java.util.ArrayList menuItems; + public static final boolean fullScreen = false; + public static final boolean includeTitle = true; + public static WeakReference previousOne; + public static boolean dontPause; + + @Override + public void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + mostCurrent = this; + if (processBA == null) { + processBA = new anywheresoftware.b4a.ShellBA(this.getApplicationContext(), null, null, "reparto_izca.keymon.lat", "reparto_izca.keymon.lat.main"); + processBA.loadHtSubs(this.getClass()); + float deviceScale = getApplicationContext().getResources().getDisplayMetrics().density; + BALayout.setDeviceScale(deviceScale); + + } + else if (previousOne != null) { + Activity p = previousOne.get(); + if (p != null && p != this) { + BA.LogInfo("Killing previous instance (main)."); + p.finish(); + } + } + processBA.setActivityPaused(true); + processBA.runHook("oncreate", this, null); + if (!includeTitle) { + this.getWindow().requestFeature(android.view.Window.FEATURE_NO_TITLE); + } + if (fullScreen) { + getWindow().setFlags(android.view.WindowManager.LayoutParams.FLAG_FULLSCREEN, + android.view.WindowManager.LayoutParams.FLAG_FULLSCREEN); + } + + processBA.sharedProcessBA.activityBA = null; + layout = new BALayout(this); + setContentView(layout); + afterFirstLayout = false; + WaitForLayout wl = new WaitForLayout(); + if (anywheresoftware.b4a.objects.ServiceHelper.StarterHelper.startFromActivity(this, processBA, wl, false)) + BA.handler.postDelayed(wl, 5); + + } + static class WaitForLayout implements Runnable { + public void run() { + if (afterFirstLayout) + return; + if (mostCurrent == null) + return; + + if (mostCurrent.layout.getWidth() == 0) { + BA.handler.postDelayed(this, 5); + return; + } + mostCurrent.layout.getLayoutParams().height = mostCurrent.layout.getHeight(); + mostCurrent.layout.getLayoutParams().width = mostCurrent.layout.getWidth(); + afterFirstLayout = true; + mostCurrent.afterFirstLayout(); + } + } + private void afterFirstLayout() { + if (this != mostCurrent) + return; + activityBA = new BA(this, layout, processBA, "reparto_izca.keymon.lat", "reparto_izca.keymon.lat.main"); + + processBA.sharedProcessBA.activityBA = new java.lang.ref.WeakReference(activityBA); + anywheresoftware.b4a.objects.ViewWrapper.lastId = 0; + _activity = new ActivityWrapper(activityBA, "activity"); + anywheresoftware.b4a.Msgbox.isDismissing = false; + if (BA.isShellModeRuntimeCheck(processBA)) { + if (isFirst) + processBA.raiseEvent2(null, true, "SHELL", false); + processBA.raiseEvent2(null, true, "CREATE", true, "reparto_izca.keymon.lat.main", processBA, activityBA, _activity, anywheresoftware.b4a.keywords.Common.Density, mostCurrent); + _activity.reinitializeForShell(activityBA, "activity"); + } + initializeProcessGlobals(); + initializeGlobals(); + + BA.LogInfo("** Activity (main) Create " + (isFirst ? "(first time)" : "") + " **"); + processBA.raiseEvent2(null, true, "activity_create", false, isFirst); + isFirst = false; + if (this != mostCurrent) + return; + processBA.setActivityPaused(false); + BA.LogInfo("** Activity (main) Resume **"); + processBA.raiseEvent(null, "activity_resume"); + if (android.os.Build.VERSION.SDK_INT >= 11) { + try { + android.app.Activity.class.getMethod("invalidateOptionsMenu").invoke(this,(Object[]) null); + } catch (Exception e) { + e.printStackTrace(); + } + } + + } + public void addMenuItem(B4AMenuItem item) { + if (menuItems == null) + menuItems = new java.util.ArrayList(); + menuItems.add(item); + } + @Override + public boolean onCreateOptionsMenu(android.view.Menu menu) { + super.onCreateOptionsMenu(menu); + try { + if (processBA.subExists("activity_actionbarhomeclick")) { + Class.forName("android.app.ActionBar").getMethod("setHomeButtonEnabled", boolean.class).invoke( + getClass().getMethod("getActionBar").invoke(this), true); + } + } catch (Exception e) { + e.printStackTrace(); + } + if (processBA.runHook("oncreateoptionsmenu", this, new Object[] {menu})) + return true; + if (menuItems == null) + return false; + for (B4AMenuItem bmi : menuItems) { + android.view.MenuItem mi = menu.add(bmi.title); + if (bmi.drawable != null) + mi.setIcon(bmi.drawable); + if (android.os.Build.VERSION.SDK_INT >= 11) { + try { + if (bmi.addToBar) { + android.view.MenuItem.class.getMethod("setShowAsAction", int.class).invoke(mi, 1); + } + } catch (Exception e) { + e.printStackTrace(); + } + } + mi.setOnMenuItemClickListener(new B4AMenuItemsClickListener(bmi.eventName.toLowerCase(BA.cul))); + } + + return true; + } + @Override + public boolean onOptionsItemSelected(android.view.MenuItem item) { + if (item.getItemId() == 16908332) { + processBA.raiseEvent(null, "activity_actionbarhomeclick"); + return true; + } + else + return super.onOptionsItemSelected(item); +} +@Override + public boolean onPrepareOptionsMenu(android.view.Menu menu) { + super.onPrepareOptionsMenu(menu); + processBA.runHook("onprepareoptionsmenu", this, new Object[] {menu}); + return true; + + } + protected void onStart() { + super.onStart(); + processBA.runHook("onstart", this, null); +} + protected void onStop() { + super.onStop(); + processBA.runHook("onstop", this, null); +} + public void onWindowFocusChanged(boolean hasFocus) { + super.onWindowFocusChanged(hasFocus); + if (processBA.subExists("activity_windowfocuschanged")) + processBA.raiseEvent2(null, true, "activity_windowfocuschanged", false, hasFocus); + } + private class B4AMenuItemsClickListener implements android.view.MenuItem.OnMenuItemClickListener { + private final String eventName; + public B4AMenuItemsClickListener(String eventName) { + this.eventName = eventName; + } + public boolean onMenuItemClick(android.view.MenuItem item) { + processBA.raiseEventFromUI(item.getTitle(), eventName + "_click"); + return true; + } + } + public static Class getObject() { + return main.class; + } + private Boolean onKeySubExist = null; + private Boolean onKeyUpSubExist = null; + @Override + public boolean onKeyDown(int keyCode, android.view.KeyEvent event) { + if (processBA.runHook("onkeydown", this, new Object[] {keyCode, event})) + return true; + if (onKeySubExist == null) + onKeySubExist = processBA.subExists("activity_keypress"); + if (onKeySubExist) { + if (keyCode == anywheresoftware.b4a.keywords.constants.KeyCodes.KEYCODE_BACK && + android.os.Build.VERSION.SDK_INT >= 18) { + HandleKeyDelayed hk = new HandleKeyDelayed(); + hk.kc = keyCode; + BA.handler.post(hk); + return true; + } + else { + boolean res = new HandleKeyDelayed().runDirectly(keyCode); + if (res) + return true; + } + } + return super.onKeyDown(keyCode, event); + } + private class HandleKeyDelayed implements Runnable { + int kc; + public void run() { + runDirectly(kc); + } + public boolean runDirectly(int keyCode) { + Boolean res = (Boolean)processBA.raiseEvent2(_activity, false, "activity_keypress", false, keyCode); + if (res == null || res == true) { + return true; + } + else if (keyCode == anywheresoftware.b4a.keywords.constants.KeyCodes.KEYCODE_BACK) { + finish(); + return true; + } + return false; + } + + } + @Override + public boolean onKeyUp(int keyCode, android.view.KeyEvent event) { + if (processBA.runHook("onkeyup", this, new Object[] {keyCode, event})) + return true; + if (onKeyUpSubExist == null) + onKeyUpSubExist = processBA.subExists("activity_keyup"); + if (onKeyUpSubExist) { + Boolean res = (Boolean)processBA.raiseEvent2(_activity, false, "activity_keyup", false, keyCode); + if (res == null || res == true) + return true; + } + return super.onKeyUp(keyCode, event); + } + @Override + public void onNewIntent(android.content.Intent intent) { + super.onNewIntent(intent); + this.setIntent(intent); + processBA.runHook("onnewintent", this, new Object[] {intent}); + } + @Override + public void onPause() { + super.onPause(); + if (_activity == null) + return; + if (this != mostCurrent) + return; + anywheresoftware.b4a.Msgbox.dismiss(true); + if (!dontPause) + BA.LogInfo("** Activity (main) Pause, UserClosed = " + activityBA.activity.isFinishing() + " **"); + else + BA.LogInfo("** Activity (main) Pause event (activity is not paused). **"); + if (mostCurrent != null) + processBA.raiseEvent2(_activity, true, "activity_pause", false, activityBA.activity.isFinishing()); + if (!dontPause) { + processBA.setActivityPaused(true); + mostCurrent = null; + } + + if (!activityBA.activity.isFinishing()) + previousOne = new WeakReference(this); + anywheresoftware.b4a.Msgbox.isDismissing = false; + processBA.runHook("onpause", this, null); + } + + @Override + public void onDestroy() { + super.onDestroy(); + previousOne = null; + processBA.runHook("ondestroy", this, null); + } + @Override + public void onResume() { + super.onResume(); + mostCurrent = this; + anywheresoftware.b4a.Msgbox.isDismissing = false; + if (activityBA != null) { //will be null during activity create (which waits for AfterLayout). + ResumeMessage rm = new ResumeMessage(mostCurrent); + BA.handler.post(rm); + } + processBA.runHook("onresume", this, null); + } + private static class ResumeMessage implements Runnable { + private final WeakReference activity; + public ResumeMessage(Activity activity) { + this.activity = new WeakReference(activity); + } + public void run() { + main mc = mostCurrent; + if (mc == null || mc != activity.get()) + return; + processBA.setActivityPaused(false); + BA.LogInfo("** Activity (main) Resume **"); + if (mc != mostCurrent) + return; + processBA.raiseEvent(mc._activity, "activity_resume", (Object[])null); + } + } + @Override + protected void onActivityResult(int requestCode, int resultCode, + android.content.Intent data) { + processBA.onActivityResult(requestCode, resultCode, data); + processBA.runHook("onactivityresult", this, new Object[] {requestCode, resultCode}); + } + private static void initializeGlobals() { + processBA.raiseEvent2(null, true, "globals", false, (Object[])null); + } + public void onRequestPermissionsResult(int requestCode, + String permissions[], int[] grantResults) { + for (int i = 0;i < permissions.length;i++) { + Object[] o = new Object[] {permissions[i], grantResults[i] == 0}; + processBA.raiseEventFromDifferentThread(null,null, 0, "activity_permissionresult", true, o); + } + + } + + + +public static void initializeProcessGlobals() { + + if (main.processGlobalsRun == false) { + main.processGlobalsRun = true; + try { + b4a.example.dateutils._process_globals(); + + } catch (Exception e) { + throw new RuntimeException(e); + } + } +} +public static boolean isAnyActivityVisible() { + boolean vis = false; +vis = vis | (main.mostCurrent != null); +vis = vis | (foto.mostCurrent != null); +vis = vis | (mapa_cliente.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, appupdater.class)); + { + Activity __a = null; + if (foto.previousOne != null) { + __a = foto.previousOne.get(); + } + else { + BA ba = killProgramHelper(foto.mostCurrent == null ? null : foto.mostCurrent.processBA); + if (ba != null) __a = ba.activity; + } + if (__a != null) + __a.finish();} + + { + Activity __a = null; + if (mapa_cliente.previousOne != null) { + __a = mapa_cliente.previousOne.get(); + } + else { + BA ba = killProgramHelper(mapa_cliente.mostCurrent == null ? null : mapa_cliente.mostCurrent.processBA); + if (ba != null) __a = ba.activity; + } + if (__a != null) + __a.finish();} + + { + 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, starter.class)); +BA.applicationContext.stopService(new android.content.Intent(BA.applicationContext, tracker.class)); +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 reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; +public reparto_izca.keymon.lat.foto _foto = null; +public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_izca.keymon.lat.starter _starter = null; +public reparto_izca.keymon.lat.tracker _tracker = null; +public reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public reparto_izca.keymon.lat.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=61997056; + //BA.debugLineNum = 61997056;BA.debugLine="Sub Activity_ActionBarHomeClick"; +RDebugUtils.currentLine=61997057; + //BA.debugLineNum = 61997057;BA.debugLine="ActionBarHomeClicked = True"; +_actionbarhomeclicked = anywheresoftware.b4a.keywords.Common.True; +RDebugUtils.currentLine=61997058; + //BA.debugLineNum = 61997058;BA.debugLine="B4XPages.Delegate.Activity_ActionBarHomeClick"; +mostCurrent._b4xpages._delegate /*reparto_izca.keymon.lat.b4xpagesdelegator*/ ._activity_actionbarhomeclick /*String*/ (null); +RDebugUtils.currentLine=61997059; + //BA.debugLineNum = 61997059;BA.debugLine="ActionBarHomeClicked = False"; +_actionbarhomeclicked = anywheresoftware.b4a.keywords.Common.False; +RDebugUtils.currentLine=61997060; + //BA.debugLineNum = 61997060;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}));} +reparto_izca.keymon.lat.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 reparto_izca.keymon.lat.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=62062592; + //BA.debugLineNum = 62062592;BA.debugLine="Sub Activity_KeyPress (KeyCode As Int) As Boolean"; +RDebugUtils.currentLine=62062593; + //BA.debugLineNum = 62062593;BA.debugLine="Return B4XPages.Delegate.Activity_KeyPress(KeyCod"; +if (true) return mostCurrent._b4xpages._delegate /*reparto_izca.keymon.lat.b4xpagesdelegator*/ ._activity_keypress /*boolean*/ (null,_keycode); +RDebugUtils.currentLine=62062594; + //BA.debugLineNum = 62062594;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 /*reparto_izca.keymon.lat.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=62128128; + //BA.debugLineNum = 62128128;BA.debugLine="Sub Activity_PermissionResult (Permission As Strin"; +RDebugUtils.currentLine=62128129; + //BA.debugLineNum = 62128129;BA.debugLine="B4XPages.Delegate.Activity_PermissionResult(Permi"; +mostCurrent._b4xpages._delegate /*reparto_izca.keymon.lat.b4xpagesdelegator*/ ._activity_permissionresult /*String*/ (null,_permission,_result); +RDebugUtils.currentLine=62128130; + //BA.debugLineNum = 62128130;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 /*reparto_izca.keymon.lat.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=62193664; + //BA.debugLineNum = 62193664;BA.debugLine="Sub Create_Menu (Menu As Object)"; +RDebugUtils.currentLine=62193665; + //BA.debugLineNum = 62193665;BA.debugLine="B4XPages.Delegate.Create_Menu(Menu)"; +mostCurrent._b4xpages._delegate /*reparto_izca.keymon.lat.b4xpagesdelegator*/ ._create_menu /*String*/ (null,_menu); +RDebugUtils.currentLine=62193666; + //BA.debugLineNum = 62193666;BA.debugLine="End Sub"; +return ""; +} +public boolean _onCreateOptionsMenu(android.view.Menu menu) { + processBA.raiseEvent(null, "create_menu", menu); + return true; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/manageexternalstorage.java b/B4A/Objects/src/reparto_izca/keymon/lat/manageexternalstorage.java new file mode 100644 index 0000000..e6a5f36 --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/manageexternalstorage.java @@ -0,0 +1,221 @@ +package reparto_izca.keymon.lat; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.B4AClass; +import anywheresoftware.b4a.BALayout; +import anywheresoftware.b4a.debug.*; + +public class manageexternalstorage 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, "reparto_izca.keymon.lat.manageexternalstorage"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", reparto_izca.keymon.lat.manageexternalstorage.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 Object _ion = null; +public Object _mcallback = null; +public String _meventname = ""; +public b4a.example.dateutils _dateutils = null; +public reparto_izca.keymon.lat.main _main = null; +public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; +public reparto_izca.keymon.lat.foto _foto = null; +public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_izca.keymon.lat.starter _starter = null; +public reparto_izca.keymon.lat.tracker _tracker = null; +public reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public String _initialize(reparto_izca.keymon.lat.manageexternalstorage __ref,anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="manageexternalstorage"; +if (Debug.shouldDelegate(ba, "initialize", false)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba,_callback,_eventname}));} +RDebugUtils.currentLine=70451200; + //BA.debugLineNum = 70451200;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +RDebugUtils.currentLine=70451201; + //BA.debugLineNum = 70451201;BA.debugLine="mCallback = Callback"; +__ref._mcallback /*Object*/ = _callback; +RDebugUtils.currentLine=70451202; + //BA.debugLineNum = 70451202;BA.debugLine="mEventName = EventName"; +__ref._meventname /*String*/ = _eventname; +RDebugUtils.currentLine=70451203; + //BA.debugLineNum = 70451203;BA.debugLine="End Sub"; +return ""; +} +public boolean _haspermission(reparto_izca.keymon.lat.manageexternalstorage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="manageexternalstorage"; +if (Debug.shouldDelegate(ba, "haspermission", false)) + {return ((Boolean) Debug.delegate(ba, "haspermission", null));} +boolean _has = false; +anywheresoftware.b4j.object.JavaObject _jo = null; +RDebugUtils.currentLine=70516736; + //BA.debugLineNum = 70516736;BA.debugLine="Public Sub HasPermission As Boolean"; +RDebugUtils.currentLine=70516737; + //BA.debugLineNum = 70516737;BA.debugLine="Dim has As Boolean"; +_has = false; +RDebugUtils.currentLine=70516738; + //BA.debugLineNum = 70516738;BA.debugLine="Dim jo As JavaObject"; +_jo = new anywheresoftware.b4j.object.JavaObject(); +RDebugUtils.currentLine=70516739; + //BA.debugLineNum = 70516739;BA.debugLine="jo.InitializeStatic(\"android.os.Environment\")"; +_jo.InitializeStatic("android.os.Environment"); +RDebugUtils.currentLine=70516740; + //BA.debugLineNum = 70516740;BA.debugLine="has = jo.RunMethod(\"isExternalStorageManager\", Nu"; +_has = BA.ObjectToBoolean(_jo.RunMethod("isExternalStorageManager",(Object[])(__c.Null))); +RDebugUtils.currentLine=70516741; + //BA.debugLineNum = 70516741;BA.debugLine="Return has"; +if (true) return _has; +RDebugUtils.currentLine=70516742; + //BA.debugLineNum = 70516742;BA.debugLine="End Sub"; +return false; +} +public String _getpermission(reparto_izca.keymon.lat.manageexternalstorage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="manageexternalstorage"; +if (Debug.shouldDelegate(ba, "getpermission", false)) + {return ((String) Debug.delegate(ba, "getpermission", null));} +anywheresoftware.b4a.objects.IntentWrapper _in = null; +RDebugUtils.currentLine=70582272; + //BA.debugLineNum = 70582272;BA.debugLine="Public Sub GetPermission"; +RDebugUtils.currentLine=70582273; + //BA.debugLineNum = 70582273;BA.debugLine="If HasPermission Then"; +if (__ref._haspermission /*boolean*/ (null)) { +RDebugUtils.currentLine=70582274; + //BA.debugLineNum = 70582274;BA.debugLine="RaiseEvent"; +__ref._raiseevent /*String*/ (null); +RDebugUtils.currentLine=70582275; + //BA.debugLineNum = 70582275;BA.debugLine="Return"; +if (true) return ""; + }; +RDebugUtils.currentLine=70582277; + //BA.debugLineNum = 70582277;BA.debugLine="Dim in As Intent"; +_in = new anywheresoftware.b4a.objects.IntentWrapper(); +RDebugUtils.currentLine=70582279; + //BA.debugLineNum = 70582279;BA.debugLine="in.Initialize(\"android.settings.MANAGE_APP_ALL_FI"; +_in.Initialize("android.settings.MANAGE_APP_ALL_FILES_ACCESS_PERMISSION",("package:"+__c.SmartStringFormatter("",(Object)(__c.Application.getPackageName()))+"")); +RDebugUtils.currentLine=70582280; + //BA.debugLineNum = 70582280;BA.debugLine="StartActivityForResult(in)"; +__ref._startactivityforresult /*String*/ (null,_in); +RDebugUtils.currentLine=70582281; + //BA.debugLineNum = 70582281;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(reparto_izca.keymon.lat.manageexternalstorage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="manageexternalstorage"; +RDebugUtils.currentLine=70385664; + //BA.debugLineNum = 70385664;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=70385665; + //BA.debugLineNum = 70385665;BA.debugLine="Private ion As Object"; +_ion = new Object(); +RDebugUtils.currentLine=70385666; + //BA.debugLineNum = 70385666;BA.debugLine="Private mCallback As Object"; +_mcallback = new Object(); +RDebugUtils.currentLine=70385667; + //BA.debugLineNum = 70385667;BA.debugLine="Private mEventName As String"; +_meventname = ""; +RDebugUtils.currentLine=70385669; + //BA.debugLineNum = 70385669;BA.debugLine="End Sub"; +return ""; +} +public Object _getba(reparto_izca.keymon.lat.manageexternalstorage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="manageexternalstorage"; +if (Debug.shouldDelegate(ba, "getba", false)) + {return ((Object) Debug.delegate(ba, "getba", null));} +anywheresoftware.b4j.object.JavaObject _jo = null; +RDebugUtils.currentLine=70844416; + //BA.debugLineNum = 70844416;BA.debugLine="Private Sub GetBA As Object"; +RDebugUtils.currentLine=70844417; + //BA.debugLineNum = 70844417;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=70844418; + //BA.debugLineNum = 70844418;BA.debugLine="Return jo.RunMethod(\"getBA\", Null)"; +if (true) return _jo.RunMethod("getBA",(Object[])(__c.Null)); +RDebugUtils.currentLine=70844419; + //BA.debugLineNum = 70844419;BA.debugLine="End Sub"; +return null; +} +public String _raiseevent(reparto_izca.keymon.lat.manageexternalstorage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="manageexternalstorage"; +if (Debug.shouldDelegate(ba, "raiseevent", false)) + {return ((String) Debug.delegate(ba, "raiseevent", null));} +RDebugUtils.currentLine=70647808; + //BA.debugLineNum = 70647808;BA.debugLine="Private Sub RaiseEvent"; +RDebugUtils.currentLine=70647809; + //BA.debugLineNum = 70647809;BA.debugLine="Log(\"Calling : \" & mEventName & \"_StorageAvailab"; +__c.LogImpl("870647809","Calling : "+__ref._meventname /*String*/ +"_StorageAvailable",0); +RDebugUtils.currentLine=70647810; + //BA.debugLineNum = 70647810;BA.debugLine="CallSubDelayed(mCallback, mEventName & \"_StorageA"; +__c.CallSubDelayed(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_StorageAvailable"); +RDebugUtils.currentLine=70647811; + //BA.debugLineNum = 70647811;BA.debugLine="End Sub"; +return ""; +} +public String _startactivityforresult(reparto_izca.keymon.lat.manageexternalstorage __ref,anywheresoftware.b4a.objects.IntentWrapper _i) throws Exception{ +__ref = this; +RDebugUtils.currentModule="manageexternalstorage"; +if (Debug.shouldDelegate(ba, "startactivityforresult", false)) + {return ((String) Debug.delegate(ba, "startactivityforresult", new Object[] {_i}));} +anywheresoftware.b4j.object.JavaObject _jo = null; +RDebugUtils.currentLine=70778880; + //BA.debugLineNum = 70778880;BA.debugLine="Private Sub StartActivityForResult(i As Intent)"; +RDebugUtils.currentLine=70778881; + //BA.debugLineNum = 70778881;BA.debugLine="Dim jo As JavaObject = GetBA"; +_jo = new anywheresoftware.b4j.object.JavaObject(); +_jo = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(__ref._getba /*Object*/ (null))); +RDebugUtils.currentLine=70778882; + //BA.debugLineNum = 70778882;BA.debugLine="ion = jo.CreateEvent(\"anywheresoftware.b4a.IOnAct"; +__ref._ion /*Object*/ = _jo.CreateEvent(ba,"anywheresoftware.b4a.IOnActivityResult","ion",__c.Null); +RDebugUtils.currentLine=70778883; + //BA.debugLineNum = 70778883;BA.debugLine="jo.RunMethod(\"startActivityForResult\", Array As O"; +_jo.RunMethod("startActivityForResult",new Object[]{__ref._ion /*Object*/ ,(Object)(_i.getObject())}); +RDebugUtils.currentLine=70778884; + //BA.debugLineNum = 70778884;BA.debugLine="End Sub"; +return ""; +} +public Object _ion_event(reparto_izca.keymon.lat.manageexternalstorage __ref,String _methodname,Object[] _args) throws Exception{ +__ref = this; +RDebugUtils.currentModule="manageexternalstorage"; +if (Debug.shouldDelegate(ba, "ion_event", false)) + {return ((Object) Debug.delegate(ba, "ion_event", new Object[] {_methodname,_args}));} +RDebugUtils.currentLine=70713344; + //BA.debugLineNum = 70713344;BA.debugLine="Private Sub ion_Event (MethodName As String, Args("; +RDebugUtils.currentLine=70713345; + //BA.debugLineNum = 70713345;BA.debugLine="RaiseEvent"; +__ref._raiseevent /*String*/ (null); +RDebugUtils.currentLine=70713346; + //BA.debugLineNum = 70713346;BA.debugLine="Return Null"; +if (true) return __c.Null; +RDebugUtils.currentLine=70713347; + //BA.debugLineNum = 70713347;BA.debugLine="End Sub"; +return null; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/mapa_cliente.java b/B4A/Objects/src/reparto_izca/keymon/lat/mapa_cliente.java new file mode 100644 index 0000000..7ba524f --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/mapa_cliente.java @@ -0,0 +1,584 @@ +package reparto_izca.keymon.lat; + + +import anywheresoftware.b4a.B4AMenuItem; +import android.app.Activity; +import android.os.Bundle; +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.BALayout; +import anywheresoftware.b4a.B4AActivity; +import anywheresoftware.b4a.ObjectWrapper; +import anywheresoftware.b4a.objects.ActivityWrapper; +import java.lang.reflect.InvocationTargetException; +import anywheresoftware.b4a.B4AUncaughtException; +import anywheresoftware.b4a.debug.*; +import java.lang.ref.WeakReference; + +public class mapa_cliente extends Activity implements B4AActivity{ + public static mapa_cliente mostCurrent; + static boolean afterFirstLayout; + static boolean isFirst = true; + private static boolean processGlobalsRun = false; + BALayout layout; + public static BA processBA; + BA activityBA; + ActivityWrapper _activity; + java.util.ArrayList menuItems; + public static final boolean fullScreen = false; + public static final boolean includeTitle = false; + public static WeakReference previousOne; + public static boolean dontPause; + + @Override + public void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + mostCurrent = this; + if (processBA == null) { + processBA = new anywheresoftware.b4a.ShellBA(this.getApplicationContext(), null, null, "reparto_izca.keymon.lat", "reparto_izca.keymon.lat.mapa_cliente"); + processBA.loadHtSubs(this.getClass()); + float deviceScale = getApplicationContext().getResources().getDisplayMetrics().density; + BALayout.setDeviceScale(deviceScale); + + } + else if (previousOne != null) { + Activity p = previousOne.get(); + if (p != null && p != this) { + BA.LogInfo("Killing previous instance (mapa_cliente)."); + p.finish(); + } + } + processBA.setActivityPaused(true); + processBA.runHook("oncreate", this, null); + if (!includeTitle) { + this.getWindow().requestFeature(android.view.Window.FEATURE_NO_TITLE); + } + if (fullScreen) { + getWindow().setFlags(android.view.WindowManager.LayoutParams.FLAG_FULLSCREEN, + android.view.WindowManager.LayoutParams.FLAG_FULLSCREEN); + } + + processBA.sharedProcessBA.activityBA = null; + layout = new BALayout(this); + setContentView(layout); + afterFirstLayout = false; + WaitForLayout wl = new WaitForLayout(); + if (anywheresoftware.b4a.objects.ServiceHelper.StarterHelper.startFromActivity(this, processBA, wl, false)) + BA.handler.postDelayed(wl, 5); + + } + static class WaitForLayout implements Runnable { + public void run() { + if (afterFirstLayout) + return; + if (mostCurrent == null) + return; + + if (mostCurrent.layout.getWidth() == 0) { + BA.handler.postDelayed(this, 5); + return; + } + mostCurrent.layout.getLayoutParams().height = mostCurrent.layout.getHeight(); + mostCurrent.layout.getLayoutParams().width = mostCurrent.layout.getWidth(); + afterFirstLayout = true; + mostCurrent.afterFirstLayout(); + } + } + private void afterFirstLayout() { + if (this != mostCurrent) + return; + activityBA = new BA(this, layout, processBA, "reparto_izca.keymon.lat", "reparto_izca.keymon.lat.mapa_cliente"); + + processBA.sharedProcessBA.activityBA = new java.lang.ref.WeakReference(activityBA); + anywheresoftware.b4a.objects.ViewWrapper.lastId = 0; + _activity = new ActivityWrapper(activityBA, "activity"); + anywheresoftware.b4a.Msgbox.isDismissing = false; + if (BA.isShellModeRuntimeCheck(processBA)) { + if (isFirst) + processBA.raiseEvent2(null, true, "SHELL", false); + processBA.raiseEvent2(null, true, "CREATE", true, "reparto_izca.keymon.lat.mapa_cliente", processBA, activityBA, _activity, anywheresoftware.b4a.keywords.Common.Density, mostCurrent); + _activity.reinitializeForShell(activityBA, "activity"); + } + initializeProcessGlobals(); + initializeGlobals(); + + BA.LogInfo("** Activity (mapa_cliente) Create " + (isFirst ? "(first time)" : "") + " **"); + processBA.raiseEvent2(null, true, "activity_create", false, isFirst); + isFirst = false; + if (this != mostCurrent) + return; + processBA.setActivityPaused(false); + BA.LogInfo("** Activity (mapa_cliente) Resume **"); + processBA.raiseEvent(null, "activity_resume"); + if (android.os.Build.VERSION.SDK_INT >= 11) { + try { + android.app.Activity.class.getMethod("invalidateOptionsMenu").invoke(this,(Object[]) null); + } catch (Exception e) { + e.printStackTrace(); + } + } + + } + public void addMenuItem(B4AMenuItem item) { + if (menuItems == null) + menuItems = new java.util.ArrayList(); + menuItems.add(item); + } + @Override + public boolean onCreateOptionsMenu(android.view.Menu menu) { + super.onCreateOptionsMenu(menu); + try { + if (processBA.subExists("activity_actionbarhomeclick")) { + Class.forName("android.app.ActionBar").getMethod("setHomeButtonEnabled", boolean.class).invoke( + getClass().getMethod("getActionBar").invoke(this), true); + } + } catch (Exception e) { + e.printStackTrace(); + } + if (processBA.runHook("oncreateoptionsmenu", this, new Object[] {menu})) + return true; + if (menuItems == null) + return false; + for (B4AMenuItem bmi : menuItems) { + android.view.MenuItem mi = menu.add(bmi.title); + if (bmi.drawable != null) + mi.setIcon(bmi.drawable); + if (android.os.Build.VERSION.SDK_INT >= 11) { + try { + if (bmi.addToBar) { + android.view.MenuItem.class.getMethod("setShowAsAction", int.class).invoke(mi, 1); + } + } catch (Exception e) { + e.printStackTrace(); + } + } + mi.setOnMenuItemClickListener(new B4AMenuItemsClickListener(bmi.eventName.toLowerCase(BA.cul))); + } + + return true; + } + @Override + public boolean onOptionsItemSelected(android.view.MenuItem item) { + if (item.getItemId() == 16908332) { + processBA.raiseEvent(null, "activity_actionbarhomeclick"); + return true; + } + else + return super.onOptionsItemSelected(item); +} +@Override + public boolean onPrepareOptionsMenu(android.view.Menu menu) { + super.onPrepareOptionsMenu(menu); + processBA.runHook("onprepareoptionsmenu", this, new Object[] {menu}); + return true; + + } + protected void onStart() { + super.onStart(); + processBA.runHook("onstart", this, null); +} + protected void onStop() { + super.onStop(); + processBA.runHook("onstop", this, null); +} + public void onWindowFocusChanged(boolean hasFocus) { + super.onWindowFocusChanged(hasFocus); + if (processBA.subExists("activity_windowfocuschanged")) + processBA.raiseEvent2(null, true, "activity_windowfocuschanged", false, hasFocus); + } + private class B4AMenuItemsClickListener implements android.view.MenuItem.OnMenuItemClickListener { + private final String eventName; + public B4AMenuItemsClickListener(String eventName) { + this.eventName = eventName; + } + public boolean onMenuItemClick(android.view.MenuItem item) { + processBA.raiseEventFromUI(item.getTitle(), eventName + "_click"); + return true; + } + } + public static Class getObject() { + return mapa_cliente.class; + } + private Boolean onKeySubExist = null; + private Boolean onKeyUpSubExist = null; + @Override + public boolean onKeyDown(int keyCode, android.view.KeyEvent event) { + if (processBA.runHook("onkeydown", this, new Object[] {keyCode, event})) + return true; + if (onKeySubExist == null) + onKeySubExist = processBA.subExists("activity_keypress"); + if (onKeySubExist) { + if (keyCode == anywheresoftware.b4a.keywords.constants.KeyCodes.KEYCODE_BACK && + android.os.Build.VERSION.SDK_INT >= 18) { + HandleKeyDelayed hk = new HandleKeyDelayed(); + hk.kc = keyCode; + BA.handler.post(hk); + return true; + } + else { + boolean res = new HandleKeyDelayed().runDirectly(keyCode); + if (res) + return true; + } + } + return super.onKeyDown(keyCode, event); + } + private class HandleKeyDelayed implements Runnable { + int kc; + public void run() { + runDirectly(kc); + } + public boolean runDirectly(int keyCode) { + Boolean res = (Boolean)processBA.raiseEvent2(_activity, false, "activity_keypress", false, keyCode); + if (res == null || res == true) { + return true; + } + else if (keyCode == anywheresoftware.b4a.keywords.constants.KeyCodes.KEYCODE_BACK) { + finish(); + return true; + } + return false; + } + + } + @Override + public boolean onKeyUp(int keyCode, android.view.KeyEvent event) { + if (processBA.runHook("onkeyup", this, new Object[] {keyCode, event})) + return true; + if (onKeyUpSubExist == null) + onKeyUpSubExist = processBA.subExists("activity_keyup"); + if (onKeyUpSubExist) { + Boolean res = (Boolean)processBA.raiseEvent2(_activity, false, "activity_keyup", false, keyCode); + if (res == null || res == true) + return true; + } + return super.onKeyUp(keyCode, event); + } + @Override + public void onNewIntent(android.content.Intent intent) { + super.onNewIntent(intent); + this.setIntent(intent); + processBA.runHook("onnewintent", this, new Object[] {intent}); + } + @Override + public void onPause() { + super.onPause(); + if (_activity == null) + return; + if (this != mostCurrent) + return; + anywheresoftware.b4a.Msgbox.dismiss(true); + if (!dontPause) + BA.LogInfo("** Activity (mapa_cliente) Pause, UserClosed = " + activityBA.activity.isFinishing() + " **"); + else + BA.LogInfo("** Activity (mapa_cliente) Pause event (activity is not paused). **"); + if (mostCurrent != null) + processBA.raiseEvent2(_activity, true, "activity_pause", false, activityBA.activity.isFinishing()); + if (!dontPause) { + processBA.setActivityPaused(true); + mostCurrent = null; + } + + if (!activityBA.activity.isFinishing()) + previousOne = new WeakReference(this); + anywheresoftware.b4a.Msgbox.isDismissing = false; + processBA.runHook("onpause", this, null); + } + + @Override + public void onDestroy() { + super.onDestroy(); + previousOne = null; + processBA.runHook("ondestroy", this, null); + } + @Override + public void onResume() { + super.onResume(); + mostCurrent = this; + anywheresoftware.b4a.Msgbox.isDismissing = false; + if (activityBA != null) { //will be null during activity create (which waits for AfterLayout). + ResumeMessage rm = new ResumeMessage(mostCurrent); + BA.handler.post(rm); + } + processBA.runHook("onresume", this, null); + } + private static class ResumeMessage implements Runnable { + private final WeakReference activity; + public ResumeMessage(Activity activity) { + this.activity = new WeakReference(activity); + } + public void run() { + mapa_cliente mc = mostCurrent; + if (mc == null || mc != activity.get()) + return; + processBA.setActivityPaused(false); + BA.LogInfo("** Activity (mapa_cliente) Resume **"); + if (mc != mostCurrent) + return; + processBA.raiseEvent(mc._activity, "activity_resume", (Object[])null); + } + } + @Override + protected void onActivityResult(int requestCode, int resultCode, + android.content.Intent data) { + processBA.onActivityResult(requestCode, resultCode, data); + processBA.runHook("onactivityresult", this, new Object[] {requestCode, resultCode}); + } + private static void initializeGlobals() { + processBA.raiseEvent2(null, true, "globals", false, (Object[])null); + } + public void onRequestPermissionsResult(int requestCode, + String permissions[], int[] grantResults) { + for (int i = 0;i < permissions.length;i++) { + Object[] o = new Object[] {permissions[i], grantResults[i] == 0}; + processBA.raiseEventFromDifferentThread(null,null, 0, "activity_permissionresult", true, o); + } + + } + + + +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; +public static String _ruta = ""; +public static anywheresoftware.b4a.sql.SQL _skmt = null; +public anywheresoftware.b4a.objects.MapFragmentWrapper.GoogleMapWrapper _gmap = null; +public anywheresoftware.b4a.objects.MapFragmentWrapper _mapfragment1 = null; +public static double _latitud = 0; +public static double _longitud = 0; +public static double _lat2 = 0; +public static double _lon2 = 0; +public anywheresoftware.b4a.gps.LocationWrapper _p1 = null; +public anywheresoftware.b4a.gps.LocationWrapper _p2 = null; +public static float _distance = 0f; +public anywheresoftware.b4a.objects.ButtonWrapper _boton1 = null; +public anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; +public static String _latmarker = ""; +public static String _longmarker = ""; +public anywheresoftware.b4a.objects.LabelWrapper _l_long = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_lat = null; +public static String _nombre_tienda = ""; +public anywheresoftware.b4a.objects.PanelWrapper _p_principal = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_regresar = null; +public b4a.example.dateutils _dateutils = null; +public reparto_izca.keymon.lat.main _main = null; +public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; +public reparto_izca.keymon.lat.foto _foto = null; +public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_izca.keymon.lat.starter _starter = null; +public reparto_izca.keymon.lat.tracker _tracker = null; +public reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public static String _activity_create(boolean _firsttime) throws Exception{ +RDebugUtils.currentModule="mapa_cliente"; +if (Debug.shouldDelegate(mostCurrent.activityBA, "activity_create", false)) + {return ((String) Debug.delegate(mostCurrent.activityBA, "activity_create", new Object[] {_firsttime}));} +RDebugUtils.currentLine=71041024; + //BA.debugLineNum = 71041024;BA.debugLine="Sub Activity_Create(FirstTime As Boolean)"; +RDebugUtils.currentLine=71041025; + //BA.debugLineNum = 71041025;BA.debugLine="Activity.LoadLayout(\"mapa_cliente\")"; +mostCurrent._activity.LoadLayout("mapa_cliente",mostCurrent.activityBA); +RDebugUtils.currentLine=71041026; + //BA.debugLineNum = 71041026;BA.debugLine="If MapFragment1.IsGooglePlayServicesAvailable = F"; +if (mostCurrent._mapfragment1.IsGooglePlayServicesAvailable(mostCurrent.activityBA)==anywheresoftware.b4a.keywords.Common.False) { +RDebugUtils.currentLine=71041027; + //BA.debugLineNum = 71041027;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); + }; +RDebugUtils.currentLine=71041029; + //BA.debugLineNum = 71041029;BA.debugLine="End Sub"; +return ""; +} +public static String _activity_pause(boolean _userclosed) throws Exception{ +RDebugUtils.currentModule="mapa_cliente"; +RDebugUtils.currentLine=71303168; + //BA.debugLineNum = 71303168;BA.debugLine="Sub Activity_Pause (UserClosed As Boolean)"; +RDebugUtils.currentLine=71303169; + //BA.debugLineNum = 71303169;BA.debugLine="GPS.Stop"; +_gps.Stop(); +RDebugUtils.currentLine=71303170; + //BA.debugLineNum = 71303170;BA.debugLine="End Sub"; +return ""; +} +public static String _activity_resume() throws Exception{ +RDebugUtils.currentModule="mapa_cliente"; +if (Debug.shouldDelegate(mostCurrent.activityBA, "activity_resume", false)) + {return ((String) Debug.delegate(mostCurrent.activityBA, "activity_resume", null));} +RDebugUtils.currentLine=71237632; + //BA.debugLineNum = 71237632;BA.debugLine="Sub Activity_Resume"; +RDebugUtils.currentLine=71237633; + //BA.debugLineNum = 71237633;BA.debugLine="Subs.centraBoton(b_regresar, Activity.Width)"; +mostCurrent._subs._centraboton /*String*/ (mostCurrent.activityBA,mostCurrent._b_regresar,mostCurrent._activity.getWidth()); +RDebugUtils.currentLine=71237634; + //BA.debugLineNum = 71237634;BA.debugLine="GPS.Initialize(\"GPS\")"; +_gps.Initialize("GPS"); +RDebugUtils.currentLine=71237635; + //BA.debugLineNum = 71237635;BA.debugLine="If GPS.GPSEnabled = False Then"; +if (_gps.getGPSEnabled()==anywheresoftware.b4a.keywords.Common.False) { +RDebugUtils.currentLine=71237636; + //BA.debugLineNum = 71237636;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); +RDebugUtils.currentLine=71237637; + //BA.debugLineNum = 71237637;BA.debugLine="StartActivity(GPS.LocationSettingsIntent)"; +anywheresoftware.b4a.keywords.Common.StartActivity(processBA,(Object)(_gps.getLocationSettingsIntent())); + }else { +RDebugUtils.currentLine=71237639; + //BA.debugLineNum = 71237639;BA.debugLine="GPS.Start(0, 0)"; +_gps.Start(processBA,(long) (0),(float) (0)); + }; +RDebugUtils.currentLine=71237641; + //BA.debugLineNum = 71237641;BA.debugLine="Subs.centraPanel(p_principal, Activity.Width)"; +mostCurrent._subs._centrapanel /*String*/ (mostCurrent.activityBA,mostCurrent._p_principal,mostCurrent._activity.getWidth()); +RDebugUtils.currentLine=71237642; + //BA.debugLineNum = 71237642;BA.debugLine="p_principal.Height = Activity.Height * 0.95"; +mostCurrent._p_principal.setHeight((int) (mostCurrent._activity.getHeight()*0.95)); +RDebugUtils.currentLine=71237643; + //BA.debugLineNum = 71237643;BA.debugLine="latmarker = B4XPages.MainPage.cliente.LATITUD"; +mostCurrent._latmarker = mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (mostCurrent.activityBA)._cliente /*reparto_izca.keymon.lat.c_cliente*/ ._latitud /*String*/ ; +RDebugUtils.currentLine=71237644; + //BA.debugLineNum = 71237644;BA.debugLine="longmarker = B4XPages.MainPage.cliente.LONGITUD"; +mostCurrent._longmarker = mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (mostCurrent.activityBA)._cliente /*reparto_izca.keymon.lat.c_cliente*/ ._longitud /*String*/ ; +RDebugUtils.currentLine=71237645; + //BA.debugLineNum = 71237645;BA.debugLine="NOMBRE_TIENDA = B4XPages.MainPage.cliente.NOMBRE"; +mostCurrent._nombre_tienda = mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (mostCurrent.activityBA)._cliente /*reparto_izca.keymon.lat.c_cliente*/ ._nombre /*String*/ ; +RDebugUtils.currentLine=71237646; + //BA.debugLineNum = 71237646;BA.debugLine="End Sub"; +return ""; +} +public static String _b_regresar_click() throws Exception{ +RDebugUtils.currentModule="mapa_cliente"; +if (Debug.shouldDelegate(mostCurrent.activityBA, "b_regresar_click", false)) + {return ((String) Debug.delegate(mostCurrent.activityBA, "b_regresar_click", null));} +RDebugUtils.currentLine=71434240; + //BA.debugLineNum = 71434240;BA.debugLine="Private Sub b_regresar_Click"; +RDebugUtils.currentLine=71434241; + //BA.debugLineNum = 71434241;BA.debugLine="Log(\"Pressed\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("871434241","Pressed",0); +RDebugUtils.currentLine=71434242; + //BA.debugLineNum = 71434242;BA.debugLine="Activity.Finish"; +mostCurrent._activity.Finish(); +RDebugUtils.currentLine=71434243; + //BA.debugLineNum = 71434243;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +mostCurrent._b4xpages._showpage /*String*/ (mostCurrent.activityBA,"Cliente"); +RDebugUtils.currentLine=71434244; + //BA.debugLineNum = 71434244;BA.debugLine="End Sub"; +return ""; +} +public static String _gps_locationchanged(anywheresoftware.b4a.gps.LocationWrapper _parametro) throws Exception{ +RDebugUtils.currentModule="mapa_cliente"; +if (Debug.shouldDelegate(mostCurrent.activityBA, "gps_locationchanged", false)) + {return ((String) Debug.delegate(mostCurrent.activityBA, "gps_locationchanged", new Object[] {_parametro}));} +RDebugUtils.currentLine=71172096; + //BA.debugLineNum = 71172096;BA.debugLine="Sub GPS_LocationChanged (Parametro As Location)"; +RDebugUtils.currentLine=71172115; + //BA.debugLineNum = 71172115;BA.debugLine="End Sub"; +return ""; +} +public static void _mapfragment1_ready() throws Exception{ +RDebugUtils.currentModule="mapa_cliente"; +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); +} +public static class ResumableSub_MapFragment1_Ready extends BA.ResumableSub { +public ResumableSub_MapFragment1_Ready(reparto_izca.keymon.lat.mapa_cliente parent) { +this.parent = parent; +} +reparto_izca.keymon.lat.mapa_cliente parent; +String _permission = ""; +boolean _result = false; +anywheresoftware.b4j.object.JavaObject _javamapsobject = null; +anywheresoftware.b4a.objects.MapFragmentWrapper.MarkerWrapper _marcador1 = null; +anywheresoftware.b4a.objects.MapFragmentWrapper.CameraPositionWrapper _aa = null; + +@Override +public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="mapa_cliente"; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = -1; +RDebugUtils.currentLine=71106561; + //BA.debugLineNum = 71106561;BA.debugLine="gmap = MapFragment1.GetMap"; +parent.mostCurrent._gmap = parent.mostCurrent._mapfragment1.GetMap(); +RDebugUtils.currentLine=71106563; + //BA.debugLineNum = 71106563;BA.debugLine="rp.CheckAndRequest(rp.PERMISSION_ACCESS_FINE_LOCA"; +parent._rp.CheckAndRequest(processBA,parent._rp.PERMISSION_ACCESS_FINE_LOCATION); +RDebugUtils.currentLine=71106564; + //BA.debugLineNum = 71106564;BA.debugLine="Wait For Activity_PermissionResult (Permission As"; +anywheresoftware.b4a.keywords.Common.WaitFor("activity_permissionresult", processBA, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "mapa_cliente", "mapfragment1_ready"), null); +this.state = 1; +return; +case 1: +//C +this.state = -1; +_permission = (String) result[0]; +_result = (Boolean) result[1]; +; +RDebugUtils.currentLine=71106565; + //BA.debugLineNum = 71106565;BA.debugLine="gmap.MyLocationEnabled = Result"; +parent.mostCurrent._gmap.setMyLocationEnabled(_result); +RDebugUtils.currentLine=71106567; + //BA.debugLineNum = 71106567;BA.debugLine="Dim JavaMapsObject As JavaObject"; +_javamapsobject = new anywheresoftware.b4j.object.JavaObject(); +RDebugUtils.currentLine=71106568; + //BA.debugLineNum = 71106568;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())); +RDebugUtils.currentLine=71106569; + //BA.debugLineNum = 71106569;BA.debugLine="JavaMapsObject.RunMethod(\"setMapToolbarEnabled\","; +_javamapsobject.RunMethod("setMapToolbarEnabled",new Object[]{(Object)(anywheresoftware.b4a.keywords.Common.True)}); +RDebugUtils.currentLine=71106570; + //BA.debugLineNum = 71106570;BA.debugLine="Dim marcador1 As Marker = gmap.AddMarker (latmark"; +_marcador1 = new anywheresoftware.b4a.objects.MapFragmentWrapper.MarkerWrapper(); +_marcador1 = parent.mostCurrent._gmap.AddMarker((double)(Double.parseDouble(parent.mostCurrent._latmarker)),(double)(Double.parseDouble(parent.mostCurrent._longmarker)),"TIENDA"); +RDebugUtils.currentLine=71106571; + //BA.debugLineNum = 71106571;BA.debugLine="marcador1.Snippet = B4XPages.MainPage.cliente.NOM"; +_marcador1.setSnippet(parent.mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (mostCurrent.activityBA)._cliente /*reparto_izca.keymon.lat.c_cliente*/ ._nombre /*String*/ ); +RDebugUtils.currentLine=71106573; + //BA.debugLineNum = 71106573;BA.debugLine="Dim aa As CameraPosition"; +_aa = new anywheresoftware.b4a.objects.MapFragmentWrapper.CameraPositionWrapper(); +RDebugUtils.currentLine=71106574; + //BA.debugLineNum = 71106574;BA.debugLine="aa.Initialize(latmarker,longmarker,15)''' RECOMEN"; +_aa.Initialize((double)(Double.parseDouble(parent.mostCurrent._latmarker)),(double)(Double.parseDouble(parent.mostCurrent._longmarker)),(float) (15)); +RDebugUtils.currentLine=71106575; + //BA.debugLineNum = 71106575;BA.debugLine="gmap.AnimateCamera(aa)"; +parent.mostCurrent._gmap.AnimateCamera((com.google.android.gms.maps.model.CameraPosition)(_aa.getObject())); +RDebugUtils.currentLine=71106576; + //BA.debugLineNum = 71106576;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public static String _reg_click() throws Exception{ +RDebugUtils.currentModule="mapa_cliente"; +if (Debug.shouldDelegate(mostCurrent.activityBA, "reg_click", false)) + {return ((String) Debug.delegate(mostCurrent.activityBA, "reg_click", null));} +RDebugUtils.currentLine=71368704; + //BA.debugLineNum = 71368704;BA.debugLine="Sub reg_Click"; +RDebugUtils.currentLine=71368706; + //BA.debugLineNum = 71368706;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +mostCurrent._b4xpages._showpage /*String*/ (mostCurrent.activityBA,"Cliente"); +RDebugUtils.currentLine=71368707; + //BA.debugLineNum = 71368707;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/mapa_rutas.java b/B4A/Objects/src/reparto_izca/keymon/lat/mapa_rutas.java new file mode 100644 index 0000000..cb2bb1e --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/mapa_rutas.java @@ -0,0 +1,1581 @@ +package reparto_izca.keymon.lat; + + +import anywheresoftware.b4a.B4AMenuItem; +import android.app.Activity; +import android.os.Bundle; +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.BALayout; +import anywheresoftware.b4a.B4AActivity; +import anywheresoftware.b4a.ObjectWrapper; +import anywheresoftware.b4a.objects.ActivityWrapper; +import java.lang.reflect.InvocationTargetException; +import anywheresoftware.b4a.B4AUncaughtException; +import anywheresoftware.b4a.debug.*; +import java.lang.ref.WeakReference; + +public class mapa_rutas extends Activity implements B4AActivity{ + public static mapa_rutas mostCurrent; + static boolean afterFirstLayout; + static boolean isFirst = true; + private static boolean processGlobalsRun = false; + BALayout layout; + public static BA processBA; + BA activityBA; + ActivityWrapper _activity; + java.util.ArrayList menuItems; + public static final boolean fullScreen = false; + public static final boolean includeTitle = false; + public static WeakReference previousOne; + public static boolean dontPause; + + @Override + public void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + mostCurrent = this; + if (processBA == null) { + processBA = new anywheresoftware.b4a.ShellBA(this.getApplicationContext(), null, null, "reparto_izca.keymon.lat", "reparto_izca.keymon.lat.mapa_rutas"); + processBA.loadHtSubs(this.getClass()); + float deviceScale = getApplicationContext().getResources().getDisplayMetrics().density; + BALayout.setDeviceScale(deviceScale); + + } + else if (previousOne != null) { + Activity p = previousOne.get(); + if (p != null && p != this) { + BA.LogInfo("Killing previous instance (mapa_rutas)."); + p.finish(); + } + } + processBA.setActivityPaused(true); + processBA.runHook("oncreate", this, null); + if (!includeTitle) { + this.getWindow().requestFeature(android.view.Window.FEATURE_NO_TITLE); + } + if (fullScreen) { + getWindow().setFlags(android.view.WindowManager.LayoutParams.FLAG_FULLSCREEN, + android.view.WindowManager.LayoutParams.FLAG_FULLSCREEN); + } + + processBA.sharedProcessBA.activityBA = null; + layout = new BALayout(this); + setContentView(layout); + afterFirstLayout = false; + WaitForLayout wl = new WaitForLayout(); + if (anywheresoftware.b4a.objects.ServiceHelper.StarterHelper.startFromActivity(this, processBA, wl, false)) + BA.handler.postDelayed(wl, 5); + + } + static class WaitForLayout implements Runnable { + public void run() { + if (afterFirstLayout) + return; + if (mostCurrent == null) + return; + + if (mostCurrent.layout.getWidth() == 0) { + BA.handler.postDelayed(this, 5); + return; + } + mostCurrent.layout.getLayoutParams().height = mostCurrent.layout.getHeight(); + mostCurrent.layout.getLayoutParams().width = mostCurrent.layout.getWidth(); + afterFirstLayout = true; + mostCurrent.afterFirstLayout(); + } + } + private void afterFirstLayout() { + if (this != mostCurrent) + return; + activityBA = new BA(this, layout, processBA, "reparto_izca.keymon.lat", "reparto_izca.keymon.lat.mapa_rutas"); + + processBA.sharedProcessBA.activityBA = new java.lang.ref.WeakReference(activityBA); + anywheresoftware.b4a.objects.ViewWrapper.lastId = 0; + _activity = new ActivityWrapper(activityBA, "activity"); + anywheresoftware.b4a.Msgbox.isDismissing = false; + if (BA.isShellModeRuntimeCheck(processBA)) { + if (isFirst) + processBA.raiseEvent2(null, true, "SHELL", false); + processBA.raiseEvent2(null, true, "CREATE", true, "reparto_izca.keymon.lat.mapa_rutas", processBA, activityBA, _activity, anywheresoftware.b4a.keywords.Common.Density, mostCurrent); + _activity.reinitializeForShell(activityBA, "activity"); + } + initializeProcessGlobals(); + initializeGlobals(); + + BA.LogInfo("** Activity (mapa_rutas) Create " + (isFirst ? "(first time)" : "") + " **"); + processBA.raiseEvent2(null, true, "activity_create", false, isFirst); + isFirst = false; + if (this != mostCurrent) + return; + processBA.setActivityPaused(false); + BA.LogInfo("** Activity (mapa_rutas) Resume **"); + processBA.raiseEvent(null, "activity_resume"); + if (android.os.Build.VERSION.SDK_INT >= 11) { + try { + android.app.Activity.class.getMethod("invalidateOptionsMenu").invoke(this,(Object[]) null); + } catch (Exception e) { + e.printStackTrace(); + } + } + + } + public void addMenuItem(B4AMenuItem item) { + if (menuItems == null) + menuItems = new java.util.ArrayList(); + menuItems.add(item); + } + @Override + public boolean onCreateOptionsMenu(android.view.Menu menu) { + super.onCreateOptionsMenu(menu); + try { + if (processBA.subExists("activity_actionbarhomeclick")) { + Class.forName("android.app.ActionBar").getMethod("setHomeButtonEnabled", boolean.class).invoke( + getClass().getMethod("getActionBar").invoke(this), true); + } + } catch (Exception e) { + e.printStackTrace(); + } + if (processBA.runHook("oncreateoptionsmenu", this, new Object[] {menu})) + return true; + if (menuItems == null) + return false; + for (B4AMenuItem bmi : menuItems) { + android.view.MenuItem mi = menu.add(bmi.title); + if (bmi.drawable != null) + mi.setIcon(bmi.drawable); + if (android.os.Build.VERSION.SDK_INT >= 11) { + try { + if (bmi.addToBar) { + android.view.MenuItem.class.getMethod("setShowAsAction", int.class).invoke(mi, 1); + } + } catch (Exception e) { + e.printStackTrace(); + } + } + mi.setOnMenuItemClickListener(new B4AMenuItemsClickListener(bmi.eventName.toLowerCase(BA.cul))); + } + + return true; + } + @Override + public boolean onOptionsItemSelected(android.view.MenuItem item) { + if (item.getItemId() == 16908332) { + processBA.raiseEvent(null, "activity_actionbarhomeclick"); + return true; + } + else + return super.onOptionsItemSelected(item); +} +@Override + public boolean onPrepareOptionsMenu(android.view.Menu menu) { + super.onPrepareOptionsMenu(menu); + processBA.runHook("onprepareoptionsmenu", this, new Object[] {menu}); + return true; + + } + protected void onStart() { + super.onStart(); + processBA.runHook("onstart", this, null); +} + protected void onStop() { + super.onStop(); + processBA.runHook("onstop", this, null); +} + public void onWindowFocusChanged(boolean hasFocus) { + super.onWindowFocusChanged(hasFocus); + if (processBA.subExists("activity_windowfocuschanged")) + processBA.raiseEvent2(null, true, "activity_windowfocuschanged", false, hasFocus); + } + private class B4AMenuItemsClickListener implements android.view.MenuItem.OnMenuItemClickListener { + private final String eventName; + public B4AMenuItemsClickListener(String eventName) { + this.eventName = eventName; + } + public boolean onMenuItemClick(android.view.MenuItem item) { + processBA.raiseEventFromUI(item.getTitle(), eventName + "_click"); + return true; + } + } + public static Class getObject() { + return mapa_rutas.class; + } + private Boolean onKeySubExist = null; + private Boolean onKeyUpSubExist = null; + @Override + public boolean onKeyDown(int keyCode, android.view.KeyEvent event) { + if (processBA.runHook("onkeydown", this, new Object[] {keyCode, event})) + return true; + if (onKeySubExist == null) + onKeySubExist = processBA.subExists("activity_keypress"); + if (onKeySubExist) { + if (keyCode == anywheresoftware.b4a.keywords.constants.KeyCodes.KEYCODE_BACK && + android.os.Build.VERSION.SDK_INT >= 18) { + HandleKeyDelayed hk = new HandleKeyDelayed(); + hk.kc = keyCode; + BA.handler.post(hk); + return true; + } + else { + boolean res = new HandleKeyDelayed().runDirectly(keyCode); + if (res) + return true; + } + } + return super.onKeyDown(keyCode, event); + } + private class HandleKeyDelayed implements Runnable { + int kc; + public void run() { + runDirectly(kc); + } + public boolean runDirectly(int keyCode) { + Boolean res = (Boolean)processBA.raiseEvent2(_activity, false, "activity_keypress", false, keyCode); + if (res == null || res == true) { + return true; + } + else if (keyCode == anywheresoftware.b4a.keywords.constants.KeyCodes.KEYCODE_BACK) { + finish(); + return true; + } + return false; + } + + } + @Override + public boolean onKeyUp(int keyCode, android.view.KeyEvent event) { + if (processBA.runHook("onkeyup", this, new Object[] {keyCode, event})) + return true; + if (onKeyUpSubExist == null) + onKeyUpSubExist = processBA.subExists("activity_keyup"); + if (onKeyUpSubExist) { + Boolean res = (Boolean)processBA.raiseEvent2(_activity, false, "activity_keyup", false, keyCode); + if (res == null || res == true) + return true; + } + return super.onKeyUp(keyCode, event); + } + @Override + public void onNewIntent(android.content.Intent intent) { + super.onNewIntent(intent); + this.setIntent(intent); + processBA.runHook("onnewintent", this, new Object[] {intent}); + } + @Override + public void onPause() { + super.onPause(); + if (_activity == null) + return; + if (this != mostCurrent) + return; + anywheresoftware.b4a.Msgbox.dismiss(true); + if (!dontPause) + BA.LogInfo("** Activity (mapa_rutas) Pause, UserClosed = " + activityBA.activity.isFinishing() + " **"); + else + BA.LogInfo("** Activity (mapa_rutas) Pause event (activity is not paused). **"); + if (mostCurrent != null) + processBA.raiseEvent2(_activity, true, "activity_pause", false, activityBA.activity.isFinishing()); + if (!dontPause) { + processBA.setActivityPaused(true); + mostCurrent = null; + } + + if (!activityBA.activity.isFinishing()) + previousOne = new WeakReference(this); + anywheresoftware.b4a.Msgbox.isDismissing = false; + processBA.runHook("onpause", this, null); + } + + @Override + public void onDestroy() { + super.onDestroy(); + previousOne = null; + processBA.runHook("ondestroy", this, null); + } + @Override + public void onResume() { + super.onResume(); + mostCurrent = this; + anywheresoftware.b4a.Msgbox.isDismissing = false; + if (activityBA != null) { //will be null during activity create (which waits for AfterLayout). + ResumeMessage rm = new ResumeMessage(mostCurrent); + BA.handler.post(rm); + } + processBA.runHook("onresume", this, null); + } + private static class ResumeMessage implements Runnable { + private final WeakReference activity; + public ResumeMessage(Activity activity) { + this.activity = new WeakReference(activity); + } + public void run() { + mapa_rutas mc = mostCurrent; + if (mc == null || mc != activity.get()) + return; + processBA.setActivityPaused(false); + BA.LogInfo("** Activity (mapa_rutas) Resume **"); + if (mc != mostCurrent) + return; + processBA.raiseEvent(mc._activity, "activity_resume", (Object[])null); + } + } + @Override + protected void onActivityResult(int requestCode, int resultCode, + android.content.Intent data) { + processBA.onActivityResult(requestCode, resultCode, data); + processBA.runHook("onactivityresult", this, new Object[] {requestCode, resultCode}); + } + private static void initializeGlobals() { + processBA.raiseEvent2(null, true, "globals", false, (Object[])null); + } + public void onRequestPermissionsResult(int requestCode, + String permissions[], int[] grantResults) { + for (int i = 0;i < permissions.length;i++) { + Object[] o = new Object[] {permissions[i], grantResults[i] == 0}; + processBA.raiseEventFromDifferentThread(null,null, 0, "activity_permissionresult", true, o); + } + + } + + + +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; +public static anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; +public static anywheresoftware.b4a.sql.SQL.CursorWrapper _c2 = null; +public static anywheresoftware.b4a.sql.SQL.CursorWrapper _c22 = null; +public static anywheresoftware.b4a.sql.SQL.CursorWrapper _c3 = null; +public anywheresoftware.b4a.objects.MapFragmentWrapper.GoogleMapWrapper _gmap = null; +public anywheresoftware.b4a.objects.MapFragmentWrapper _mapfragment1 = null; +public static double _latitud = 0; +public static double _longitud = 0; +public static double _lat2 = 0; +public static double _lon2 = 0; +public anywheresoftware.b4a.gps.LocationWrapper _p1 = null; +public anywheresoftware.b4a.gps.LocationWrapper _p2 = null; +public static float _distance = 0f; +public anywheresoftware.b4a.objects.ButtonWrapper _boton1 = null; +public static float _hue_blue = 0f; +public static float _hue_red = 0f; +public static float _hue_green = 0f; +public anywheresoftware.b4a.objects.ButtonWrapper _b_azul = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_rojo = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_verde = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_todos = null; +public static String _tienda = ""; +public static String _ruta = ""; +public static String _rutaant = ""; +public static double _latitudru = 0; +public static double _longitudru = 0; +public anywheresoftware.b4a.objects.collections.List _list_azul = null; +public anywheresoftware.b4a.objects.collections.List _list_rojo = null; +public anywheresoftware.b4a.objects.collections.List _list_verde = null; +public anywheresoftware.b4a.objects.MapFragmentWrapper.MarkerWrapper _mark_azul = null; +public anywheresoftware.b4a.objects.MapFragmentWrapper.MarkerWrapper _mark_rojo = null; +public anywheresoftware.b4a.objects.MapFragmentWrapper.MarkerWrapper _mark_verde = null; +public anywheresoftware.b4a.objects.MapFragmentWrapper.MarkerWrapper _mark_cedis = null; +public static String _rojo = ""; +public static String _azul = ""; +public static String _verde = ""; +public static String _todos = ""; +public static int _numserie = 0; +public uk.co.martinpearman.b4a.com.google.android.gms.maps.googlemap.OnInfoWindowClickListener _oninfowindowclicklistener1 = null; +public uk.co.martinpearman.b4a.googlemapsextras.GoogleMapsExtras _googlemapextra = null; +public static String _codigo = ""; +public static String _semana = ""; +public b4a.example.dateutils _dateutils = null; +public reparto_izca.keymon.lat.main _main = null; +public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; +public reparto_izca.keymon.lat.foto _foto = null; +public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_izca.keymon.lat.starter _starter = null; +public reparto_izca.keymon.lat.tracker _tracker = null; +public reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public static String _activity_create(boolean _firsttime) throws Exception{ +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=71630848; + //BA.debugLineNum = 71630848;BA.debugLine="Sub Activity_Create(FirstTime As Boolean)"; +RDebugUtils.currentLine=71630850; + //BA.debugLineNum = 71630850;BA.debugLine="Activity.LoadLayout(\"MAPA_RUTAS\")"; +mostCurrent._activity.LoadLayout("MAPA_RUTAS",mostCurrent.activityBA); +RDebugUtils.currentLine=71630861; + //BA.debugLineNum = 71630861;BA.debugLine="If MapFragment1.IsGooglePlayServicesAvailable = F"; +if (mostCurrent._mapfragment1.IsGooglePlayServicesAvailable(mostCurrent.activityBA)==anywheresoftware.b4a.keywords.Common.False) { +RDebugUtils.currentLine=71630862; + //BA.debugLineNum = 71630862;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); + }; +RDebugUtils.currentLine=71630873; + //BA.debugLineNum = 71630873;BA.debugLine="MARK_AZUL.IsInitialized"; +mostCurrent._mark_azul.IsInitialized(); +RDebugUtils.currentLine=71630874; + //BA.debugLineNum = 71630874;BA.debugLine="MARK_ROJO.IsInitialized"; +mostCurrent._mark_rojo.IsInitialized(); +RDebugUtils.currentLine=71630875; + //BA.debugLineNum = 71630875;BA.debugLine="MARK_VERDE.IsInitialized"; +mostCurrent._mark_verde.IsInitialized(); +RDebugUtils.currentLine=71630877; + //BA.debugLineNum = 71630877;BA.debugLine="LIST_AZUL.Initialize"; +mostCurrent._list_azul.Initialize(); +RDebugUtils.currentLine=71630878; + //BA.debugLineNum = 71630878;BA.debugLine="LIST_ROJO.Initialize"; +mostCurrent._list_rojo.Initialize(); +RDebugUtils.currentLine=71630879; + //BA.debugLineNum = 71630879;BA.debugLine="LIST_VERDE.Initialize"; +mostCurrent._list_verde.Initialize(); +RDebugUtils.currentLine=71630881; + //BA.debugLineNum = 71630881;BA.debugLine="verde = 0"; +mostCurrent._verde = BA.NumberToString(0); +RDebugUtils.currentLine=71630882; + //BA.debugLineNum = 71630882;BA.debugLine="azul = 0"; +mostCurrent._azul = BA.NumberToString(0); +RDebugUtils.currentLine=71630883; + //BA.debugLineNum = 71630883;BA.debugLine="rojo = 0"; +mostCurrent._rojo = BA.NumberToString(0); +RDebugUtils.currentLine=71630884; + //BA.debugLineNum = 71630884;BA.debugLine="todos = 1"; +mostCurrent._todos = BA.NumberToString(1); +RDebugUtils.currentLine=71630898; + //BA.debugLineNum = 71630898;BA.debugLine="End Sub"; +return ""; +} +public static boolean _activity_keypress(int _key) throws Exception{ +RDebugUtils.currentModule="mapa_rutas"; +if (Debug.shouldDelegate(mostCurrent.activityBA, "activity_keypress", false)) + {return ((Boolean) Debug.delegate(mostCurrent.activityBA, "activity_keypress", new Object[] {_key}));} +RDebugUtils.currentLine=72286208; + //BA.debugLineNum = 72286208;BA.debugLine="Sub Activity_KeyPress (key As Int) As Boolean 'ign"; +RDebugUtils.currentLine=72286210; + //BA.debugLineNum = 72286210;BA.debugLine="If key=KeyCodes.KEYCODE_BACK Then"; +if (_key==anywheresoftware.b4a.keywords.Common.KeyCodes.KEYCODE_BACK) { +RDebugUtils.currentLine=72286212; + //BA.debugLineNum = 72286212;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +mostCurrent._b4xpages._showpage /*String*/ (mostCurrent.activityBA,"Principal"); +RDebugUtils.currentLine=72286213; + //BA.debugLineNum = 72286213;BA.debugLine="Return False"; +if (true) return anywheresoftware.b4a.keywords.Common.False; + }; +RDebugUtils.currentLine=72286217; + //BA.debugLineNum = 72286217;BA.debugLine="End Sub"; +return false; +} +public static String _activity_pause(boolean _userclosed) throws Exception{ +RDebugUtils.currentModule="mapa_rutas"; +RDebugUtils.currentLine=71958528; + //BA.debugLineNum = 71958528;BA.debugLine="Sub Activity_Pause (UserClosed As Boolean)"; +RDebugUtils.currentLine=71958529; + //BA.debugLineNum = 71958529;BA.debugLine="GPS.Stop"; +_gps.Stop(); +RDebugUtils.currentLine=71958530; + //BA.debugLineNum = 71958530;BA.debugLine="End Sub"; +return ""; +} +public static String _activity_resume() throws Exception{ +RDebugUtils.currentModule="mapa_rutas"; +if (Debug.shouldDelegate(mostCurrent.activityBA, "activity_resume", false)) + {return ((String) Debug.delegate(mostCurrent.activityBA, "activity_resume", null));} +RDebugUtils.currentLine=71892992; + //BA.debugLineNum = 71892992;BA.debugLine="Sub Activity_Resume"; +RDebugUtils.currentLine=71892999; + //BA.debugLineNum = 71892999;BA.debugLine="End Sub"; +return ""; +} +public static String _b_azul_click() throws Exception{ +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=72220672; + //BA.debugLineNum = 72220672;BA.debugLine="Sub B_AZUL_Click"; +RDebugUtils.currentLine=72220673; + //BA.debugLineNum = 72220673;BA.debugLine="azul = 1"; +mostCurrent._azul = BA.NumberToString(1); +RDebugUtils.currentLine=72220674; + //BA.debugLineNum = 72220674;BA.debugLine="verde = 0"; +mostCurrent._verde = BA.NumberToString(0); +RDebugUtils.currentLine=72220675; + //BA.debugLineNum = 72220675;BA.debugLine="rojo = 0"; +mostCurrent._rojo = BA.NumberToString(0); +RDebugUtils.currentLine=72220676; + //BA.debugLineNum = 72220676;BA.debugLine="todos = 0"; +mostCurrent._todos = BA.NumberToString(0); +RDebugUtils.currentLine=72220677; + //BA.debugLineNum = 72220677;BA.debugLine="gmap.Clear"; +mostCurrent._gmap.Clear(); +RDebugUtils.currentLine=72220678; + //BA.debugLineNum = 72220678;BA.debugLine="MapFragment1_Ready"; +_mapfragment1_ready(); +RDebugUtils.currentLine=72220679; + //BA.debugLineNum = 72220679;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); +} +public static class ResumableSub_MapFragment1_Ready extends BA.ResumableSub { +public ResumableSub_MapFragment1_Ready(reparto_izca.keymon.lat.mapa_rutas parent) { +this.parent = parent; +} +reparto_izca.keymon.lat.mapa_rutas parent; +String _permission = ""; +boolean _result = false; +anywheresoftware.b4j.object.JavaObject _javamapsobject = null; +int _esteazul = 0; +String _esteazul2 = ""; +int _i = 0; +anywheresoftware.b4a.sql.SQL.CursorWrapper _s = null; +int _esterojo = 0; +String _esterojo2 = ""; +anywheresoftware.b4a.objects.MapFragmentWrapper.CameraPositionWrapper _aa = null; +int step15; +int limit15; +int step49; +int limit49; +int step74; +int limit74; +int step94; +int limit94; +int step119; +int limit119; + +@Override +public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="mapa_rutas"; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +RDebugUtils.currentLine=71696385; + //BA.debugLineNum = 71696385;BA.debugLine="gmap = MapFragment1.GetMap"; +parent.mostCurrent._gmap = parent.mostCurrent._mapfragment1.GetMap(); +RDebugUtils.currentLine=71696386; + //BA.debugLineNum = 71696386;BA.debugLine="gmap.IsInitialized"; +parent.mostCurrent._gmap.IsInitialized(); +RDebugUtils.currentLine=71696387; + //BA.debugLineNum = 71696387;BA.debugLine="rp.CheckAndRequest(rp.PERMISSION_ACCESS_FINE_LOCA"; +parent._rp.CheckAndRequest(processBA,parent._rp.PERMISSION_ACCESS_FINE_LOCATION); +RDebugUtils.currentLine=71696388; + //BA.debugLineNum = 71696388;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 = 126; +return; +case 126: +//C +this.state = 1; +_permission = (String) result[0]; +_result = (Boolean) result[1]; +; +RDebugUtils.currentLine=71696389; + //BA.debugLineNum = 71696389;BA.debugLine="gmap.MyLocationEnabled = Result"; +parent.mostCurrent._gmap.setMyLocationEnabled(_result); +RDebugUtils.currentLine=71696391; + //BA.debugLineNum = 71696391;BA.debugLine="Dim JavaMapsObject As JavaObject"; +_javamapsobject = new anywheresoftware.b4j.object.JavaObject(); +RDebugUtils.currentLine=71696392; + //BA.debugLineNum = 71696392;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())); +RDebugUtils.currentLine=71696393; + //BA.debugLineNum = 71696393;BA.debugLine="JavaMapsObject.RunMethod(\"setMapToolbarEnabled\","; +_javamapsobject.RunMethod("setMapToolbarEnabled",new Object[]{(Object)(anywheresoftware.b4a.keywords.Common.True)}); +RDebugUtils.currentLine=71696395; + //BA.debugLineNum = 71696395;BA.debugLine="Private esteAzul As Int = 0"; +_esteazul = (int) (0); +RDebugUtils.currentLine=71696396; + //BA.debugLineNum = 71696396;BA.debugLine="Private esteAzul2 As String"; +_esteazul2 = ""; +RDebugUtils.currentLine=71696397; + //BA.debugLineNum = 71696397;BA.debugLine="If azul = 1 Or todos = 1 Then"; +if (true) break; + +case 1: +//if +this.state = 59; +if ((parent.mostCurrent._azul).equals(BA.NumberToString(1)) || (parent.mostCurrent._todos).equals(BA.NumberToString(1))) { +this.state = 3; +}if (true) break; + +case 3: +//C +this.state = 4; +RDebugUtils.currentLine=71696398; + //BA.debugLineNum = 71696398;BA.debugLine="c.IsInitialized"; +parent._c.IsInitialized(); +RDebugUtils.currentLine=71696399; + //BA.debugLineNum = 71696399;BA.debugLine="c = Starter.skmt.ExecQuery(\"select CAT_CL_CODIGO"; +parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent.mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_CODIGO, IFNULL(SECUENCIA,0) AS SECUENCIA, CAT_CL_NOMBRE, CAT_CL_LAT, CAT_CL_LONG, CAT_CL_RUTA from kmt_info 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_CODIGO <> 63403 order by CAT_CL_RUTA"))); +RDebugUtils.currentLine=71696400; + //BA.debugLineNum = 71696400;BA.debugLine="rutaAnt = \"\""; +parent.mostCurrent._rutaant = ""; +RDebugUtils.currentLine=71696401; + //BA.debugLineNum = 71696401;BA.debugLine="For i = 0 To c.RowCount -1"; +if (true) break; + +case 4: +//for +this.state = 52; +step15 = 1; +limit15 = (int) (parent._c.getRowCount()-1); +_i = (int) (0) ; +this.state = 127; +if (true) break; + +case 127: +//C +this.state = 52; +if ((step15 > 0 && _i <= limit15) || (step15 < 0 && _i >= limit15)) this.state = 6; +if (true) break; + +case 128: +//C +this.state = 127; +_i = ((int)(0 + _i + step15)) ; +if (true) break; + +case 6: +//C +this.state = 7; +RDebugUtils.currentLine=71696402; + //BA.debugLineNum = 71696402;BA.debugLine="c.Position = i"; +parent._c.setPosition(_i); +RDebugUtils.currentLine=71696403; + //BA.debugLineNum = 71696403;BA.debugLine="LatitudRu = c.GetString(\"CAT_CL_LAT\")"; +parent._latitudru = (double)(Double.parseDouble(parent._c.GetString("CAT_CL_LAT"))); +RDebugUtils.currentLine=71696404; + //BA.debugLineNum = 71696404;BA.debugLine="LongitudRU = c.GetString(\"CAT_CL_LONG\")"; +parent._longitudru = (double)(Double.parseDouble(parent._c.GetString("CAT_CL_LONG"))); +RDebugUtils.currentLine=71696405; + //BA.debugLineNum = 71696405;BA.debugLine="CODIGO=c.GetString(\"CAT_CL_CODIGO\")"; +parent.mostCurrent._codigo = parent._c.GetString("CAT_CL_CODIGO"); +RDebugUtils.currentLine=71696406; + //BA.debugLineNum = 71696406;BA.debugLine="Tienda= c.GetString(\"CAT_CL_NOMBRE\")"; +parent.mostCurrent._tienda = parent._c.GetString("CAT_CL_NOMBRE"); +RDebugUtils.currentLine=71696407; + //BA.debugLineNum = 71696407;BA.debugLine="ruta = c.GetString(\"CAT_CL_RUTA\")"; +parent.mostCurrent._ruta = parent._c.GetString("CAT_CL_RUTA"); +RDebugUtils.currentLine=71696408; + //BA.debugLineNum = 71696408;BA.debugLine="If c.GetString(\"SECUENCIA\") = \"null\" Then"; +if (true) break; + +case 7: +//if +this.state = 12; +if ((parent._c.GetString("SECUENCIA")).equals("null")) { +this.state = 9; +}else { +this.state = 11; +}if (true) break; + +case 9: +//C +this.state = 12; +RDebugUtils.currentLine=71696409; + //BA.debugLineNum = 71696409;BA.debugLine="NumSerie = 0"; +parent._numserie = (int) (0); + if (true) break; + +case 11: +//C +this.state = 12; +RDebugUtils.currentLine=71696411; + //BA.debugLineNum = 71696411;BA.debugLine="NumSerie = c.GetString(\"SECUENCIA\")"; +parent._numserie = (int)(Double.parseDouble(parent._c.GetString("SECUENCIA"))); + if (true) break; + +case 12: +//C +this.state = 13; +; +RDebugUtils.currentLine=71696413; + //BA.debugLineNum = 71696413;BA.debugLine="Private s As Cursor = Starter.skmt.ExecQuery($\""; +_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)(parent.mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select indice from waypoints where codigo = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(parent.mostCurrent._codigo))+"'")))); +RDebugUtils.currentLine=71696414; + //BA.debugLineNum = 71696414;BA.debugLine="If s.RowCount > 0 Then"; +if (true) break; + +case 13: +//if +this.state = 16; +if (_s.getRowCount()>0) { +this.state = 15; +}if (true) break; + +case 15: +//C +this.state = 16; +RDebugUtils.currentLine=71696415; + //BA.debugLineNum = 71696415;BA.debugLine="s.Position = 0"; +_s.setPosition((int) (0)); +RDebugUtils.currentLine=71696416; + //BA.debugLineNum = 71696416;BA.debugLine="NumSerie = s.GetString(\"indice\")"; +parent._numserie = (int)(Double.parseDouble(_s.GetString("indice"))); + if (true) break; +; +RDebugUtils.currentLine=71696418; + //BA.debugLineNum = 71696418;BA.debugLine="If rutaAnt <> ruta Then esteAzul = esteAzul + 1"; + +case 16: +//if +this.state = 21; +if ((parent.mostCurrent._rutaant).equals(parent.mostCurrent._ruta) == false) { +this.state = 18; +;}if (true) break; + +case 18: +//C +this.state = 21; +_esteazul = (int) (_esteazul+1); +if (true) break; + +case 21: +//C +this.state = 22; +; +RDebugUtils.currentLine=71696425; + //BA.debugLineNum = 71696425;BA.debugLine="If esteAzul = 1 Then esteAzul2= \"marker-azul.pn"; +if (true) break; + +case 22: +//if +this.state = 27; +if (_esteazul==1) { +this.state = 24; +;}if (true) break; + +case 24: +//C +this.state = 27; +_esteazul2 = "marker-azul.png"; +if (true) break; + +case 27: +//C +this.state = 28; +; +RDebugUtils.currentLine=71696426; + //BA.debugLineNum = 71696426;BA.debugLine="If esteAzul = 2 Then esteAzul2= \"marker-azul1.p"; +if (true) break; + +case 28: +//if +this.state = 33; +if (_esteazul==2) { +this.state = 30; +;}if (true) break; + +case 30: +//C +this.state = 33; +_esteazul2 = "marker-azul1.png"; +if (true) break; + +case 33: +//C +this.state = 34; +; +RDebugUtils.currentLine=71696427; + //BA.debugLineNum = 71696427;BA.debugLine="If esteAzul = 3 Then esteAzul2= \"marker-azul2.p"; +if (true) break; + +case 34: +//if +this.state = 39; +if (_esteazul==3) { +this.state = 36; +;}if (true) break; + +case 36: +//C +this.state = 39; +_esteazul2 = "marker-azul2.png"; +if (true) break; + +case 39: +//C +this.state = 40; +; +RDebugUtils.currentLine=71696428; + //BA.debugLineNum = 71696428;BA.debugLine="If esteAzul = 4 Then esteAzul2= \"marker-azul3.p"; +if (true) break; + +case 40: +//if +this.state = 45; +if (_esteazul==4) { +this.state = 42; +;}if (true) break; + +case 42: +//C +this.state = 45; +_esteazul2 = "marker-azul3.png"; +if (true) break; + +case 45: +//C +this.state = 46; +; +RDebugUtils.currentLine=71696429; + //BA.debugLineNum = 71696429;BA.debugLine="If esteAzul = 5 Then esteAzul2= \"marker-azul4.p"; +if (true) break; + +case 46: +//if +this.state = 51; +if (_esteazul==5) { +this.state = 48; +;}if (true) break; + +case 48: +//C +this.state = 51; +_esteazul2 = "marker-azul4.png"; +if (true) break; + +case 51: +//C +this.state = 128; +; +RDebugUtils.currentLine=71696434; + //BA.debugLineNum = 71696434;BA.debugLine="MARK_AZUL = gmap.AddMarker3(LatitudRu,LongitudR"; +parent.mostCurrent._mark_azul = parent.mostCurrent._gmap.AddMarker3(parent._latitudru,parent._longitudru,parent.mostCurrent._codigo,(android.graphics.Bitmap)(parent.mostCurrent._subs._createbitmapwithnumber /*anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper*/ (mostCurrent.activityBA,anywheresoftware.b4a.keywords.Common.LoadBitmap(anywheresoftware.b4a.keywords.Common.File.getDirAssets(),_esteazul2),parent._numserie).getObject())); +RDebugUtils.currentLine=71696435; + //BA.debugLineNum = 71696435;BA.debugLine="MARK_AZUL.Snippet = \"R: \" & ruta & \" - \" & Tien"; +parent.mostCurrent._mark_azul.setSnippet("R: "+parent.mostCurrent._ruta+" - "+parent.mostCurrent._tienda); +RDebugUtils.currentLine=71696436; + //BA.debugLineNum = 71696436;BA.debugLine="rutaAnt = ruta"; +parent.mostCurrent._rutaant = parent.mostCurrent._ruta; + if (true) break; +if (true) break; + +case 52: +//C +this.state = 53; +; +RDebugUtils.currentLine=71696438; + //BA.debugLineNum = 71696438;BA.debugLine="c .Close"; +parent._c.Close(); +RDebugUtils.currentLine=71696439; + //BA.debugLineNum = 71696439;BA.debugLine="If MARK_AZUL.IsInitialized Then LIST_AZUL.Add(MA"; +if (true) break; + +case 53: +//if +this.state = 58; +if (parent.mostCurrent._mark_azul.IsInitialized()) { +this.state = 55; +;}if (true) break; + +case 55: +//C +this.state = 58; +parent.mostCurrent._list_azul.Add((Object)(parent.mostCurrent._mark_azul.getObject())); +if (true) break; + +case 58: +//C +this.state = 59; +; + if (true) break; +; +RDebugUtils.currentLine=71696442; + //BA.debugLineNum = 71696442;BA.debugLine="If verde = 1 Or todos = 1 Then"; + +case 59: +//if +this.state = 92; +if ((parent.mostCurrent._verde).equals(BA.NumberToString(1)) || (parent.mostCurrent._todos).equals(BA.NumberToString(1))) { +this.state = 61; +}else { +this.state = 77; +}if (true) break; + +case 61: +//C +this.state = 62; +RDebugUtils.currentLine=71696443; + //BA.debugLineNum = 71696443;BA.debugLine="rutaAnt = \"\""; +parent.mostCurrent._rutaant = ""; +RDebugUtils.currentLine=71696444; + //BA.debugLineNum = 71696444;BA.debugLine="c2.IsInitialized"; +parent._c2.IsInitialized(); +RDebugUtils.currentLine=71696445; + //BA.debugLineNum = 71696445;BA.debugLine="c2=Starter.skmt.ExecQuery(\"select CAT_CL_CODIGO,"; +parent._c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent.mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_CODIGO, IFNULL(SECUENCIA,0) AS SECUENCIA, CAT_CL_NOMBRE, CAT_CL_LONG, CAT_CL_LAT, CAT_CL_RUTA from kmt_info 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 AND CAT_CL_CODIGO <> 63403 order by CAT_CL_RUTA"))); +RDebugUtils.currentLine=71696446; + //BA.debugLineNum = 71696446;BA.debugLine="For i = 0 To c2.RowCount -1"; +if (true) break; + +case 62: +//for +this.state = 75; +step49 = 1; +limit49 = (int) (parent._c2.getRowCount()-1); +_i = (int) (0) ; +this.state = 129; +if (true) break; + +case 129: +//C +this.state = 75; +if ((step49 > 0 && _i <= limit49) || (step49 < 0 && _i >= limit49)) this.state = 64; +if (true) break; + +case 130: +//C +this.state = 129; +_i = ((int)(0 + _i + step49)) ; +if (true) break; + +case 64: +//C +this.state = 65; +RDebugUtils.currentLine=71696447; + //BA.debugLineNum = 71696447;BA.debugLine="c2.Position = i"; +parent._c2.setPosition(_i); +RDebugUtils.currentLine=71696448; + //BA.debugLineNum = 71696448;BA.debugLine="LongitudRU = c2.GetString(\"CAT_CL_LONG\")"; +parent._longitudru = (double)(Double.parseDouble(parent._c2.GetString("CAT_CL_LONG"))); +RDebugUtils.currentLine=71696449; + //BA.debugLineNum = 71696449;BA.debugLine="LatitudRu = c2.GetString(\"CAT_CL_LAT\")"; +parent._latitudru = (double)(Double.parseDouble(parent._c2.GetString("CAT_CL_LAT"))); +RDebugUtils.currentLine=71696450; + //BA.debugLineNum = 71696450;BA.debugLine="CODIGO=c2.GetString(\"CAT_CL_CODIGO\")"; +parent.mostCurrent._codigo = parent._c2.GetString("CAT_CL_CODIGO"); +RDebugUtils.currentLine=71696451; + //BA.debugLineNum = 71696451;BA.debugLine="Tienda= c2.GetString(\"CAT_CL_NOMBRE\")"; +parent.mostCurrent._tienda = parent._c2.GetString("CAT_CL_NOMBRE"); +RDebugUtils.currentLine=71696452; + //BA.debugLineNum = 71696452;BA.debugLine="ruta = c2.GetString(\"CAT_CL_RUTA\")"; +parent.mostCurrent._ruta = parent._c2.GetString("CAT_CL_RUTA"); +RDebugUtils.currentLine=71696453; + //BA.debugLineNum = 71696453;BA.debugLine="If c2.GetString(\"SECUENCIA\") = \"null\" Then"; +if (true) break; + +case 65: +//if +this.state = 70; +if ((parent._c2.GetString("SECUENCIA")).equals("null")) { +this.state = 67; +}else { +this.state = 69; +}if (true) break; + +case 67: +//C +this.state = 70; +RDebugUtils.currentLine=71696454; + //BA.debugLineNum = 71696454;BA.debugLine="NumSerie = 0"; +parent._numserie = (int) (0); + if (true) break; + +case 69: +//C +this.state = 70; +RDebugUtils.currentLine=71696456; + //BA.debugLineNum = 71696456;BA.debugLine="NumSerie = c2.GetString(\"SECUENCIA\")"; +parent._numserie = (int)(Double.parseDouble(parent._c2.GetString("SECUENCIA"))); + if (true) break; + +case 70: +//C +this.state = 71; +; +RDebugUtils.currentLine=71696458; + //BA.debugLineNum = 71696458;BA.debugLine="Private s As Cursor = Starter.skmt.ExecQuery($\""; +_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)(parent.mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select indice from waypoints where codigo = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(parent.mostCurrent._codigo))+"'")))); +RDebugUtils.currentLine=71696459; + //BA.debugLineNum = 71696459;BA.debugLine="If s.RowCount > 0 Then"; +if (true) break; + +case 71: +//if +this.state = 74; +if (_s.getRowCount()>0) { +this.state = 73; +}if (true) break; + +case 73: +//C +this.state = 74; +RDebugUtils.currentLine=71696460; + //BA.debugLineNum = 71696460;BA.debugLine="s.Position = 0"; +_s.setPosition((int) (0)); +RDebugUtils.currentLine=71696461; + //BA.debugLineNum = 71696461;BA.debugLine="NumSerie = s.GetString(\"indice\")"; +parent._numserie = (int)(Double.parseDouble(_s.GetString("indice"))); + if (true) break; + +case 74: +//C +this.state = 130; +; +RDebugUtils.currentLine=71696463; + //BA.debugLineNum = 71696463;BA.debugLine="MARK_VERDE = gmap.AddMarker3(LatitudRu,Longitud"; +parent.mostCurrent._mark_verde = parent.mostCurrent._gmap.AddMarker3(parent._latitudru,parent._longitudru,parent.mostCurrent._codigo,(android.graphics.Bitmap)(parent.mostCurrent._subs._createbitmapwithnumber /*anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper*/ (mostCurrent.activityBA,anywheresoftware.b4a.keywords.Common.LoadBitmap(anywheresoftware.b4a.keywords.Common.File.getDirAssets(),"marker-verde.png"),parent._numserie).getObject())); +RDebugUtils.currentLine=71696465; + //BA.debugLineNum = 71696465;BA.debugLine="MARK_VERDE.Snippet = \"R:\" & ruta & \", \" & Tiend"; +parent.mostCurrent._mark_verde.setSnippet("R:"+parent.mostCurrent._ruta+", "+parent.mostCurrent._tienda); + if (true) break; +if (true) break; + +case 75: +//C +this.state = 92; +; + if (true) break; + +case 77: +//C +this.state = 78; +RDebugUtils.currentLine=71696468; + //BA.debugLineNum = 71696468;BA.debugLine="If verde = 1 Or todos = 1 Then"; +if (true) break; + +case 78: +//if +this.state = 91; +if ((parent.mostCurrent._verde).equals(BA.NumberToString(1)) || (parent.mostCurrent._todos).equals(BA.NumberToString(1))) { +this.state = 80; +}if (true) break; + +case 80: +//C +this.state = 81; +RDebugUtils.currentLine=71696469; + //BA.debugLineNum = 71696469;BA.debugLine="rutaAnt = \"\""; +parent.mostCurrent._rutaant = ""; +RDebugUtils.currentLine=71696470; + //BA.debugLineNum = 71696470;BA.debugLine="c2.IsInitialized"; +parent._c2.IsInitialized(); +RDebugUtils.currentLine=71696471; + //BA.debugLineNum = 71696471;BA.debugLine="c2=Starter.skmt.ExecQuery(\"select CAT_CL_CODIGO"; +parent._c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent.mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_CODIGO, CAT_CL_NOMBRE, CAT_CL_LONG, CAT_CL_LAT, CAT_CL_RUTA from kmt_info 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 AND CAT_CL_CODIGO <> 63403 order by CAT_CL_RUTA"))); +RDebugUtils.currentLine=71696472; + //BA.debugLineNum = 71696472;BA.debugLine="For i = 0 To c2.RowCount -1"; +if (true) break; + +case 81: +//for +this.state = 84; +step74 = 1; +limit74 = (int) (parent._c2.getRowCount()-1); +_i = (int) (0) ; +this.state = 131; +if (true) break; + +case 131: +//C +this.state = 84; +if ((step74 > 0 && _i <= limit74) || (step74 < 0 && _i >= limit74)) this.state = 83; +if (true) break; + +case 132: +//C +this.state = 131; +_i = ((int)(0 + _i + step74)) ; +if (true) break; + +case 83: +//C +this.state = 132; +RDebugUtils.currentLine=71696473; + //BA.debugLineNum = 71696473;BA.debugLine="c2.Position = i"; +parent._c2.setPosition(_i); +RDebugUtils.currentLine=71696474; + //BA.debugLineNum = 71696474;BA.debugLine="LongitudRU = c2.GetString(\"CAT_CL_LONG\")"; +parent._longitudru = (double)(Double.parseDouble(parent._c2.GetString("CAT_CL_LONG"))); +RDebugUtils.currentLine=71696475; + //BA.debugLineNum = 71696475;BA.debugLine="LatitudRu = c2.GetString(\"CAT_CL_LAT\")"; +parent._latitudru = (double)(Double.parseDouble(parent._c2.GetString("CAT_CL_LAT"))); +RDebugUtils.currentLine=71696476; + //BA.debugLineNum = 71696476;BA.debugLine="CODIGO=c2.GetString(\"CAT_CL_CODIGO\")"; +parent.mostCurrent._codigo = parent._c2.GetString("CAT_CL_CODIGO"); +RDebugUtils.currentLine=71696477; + //BA.debugLineNum = 71696477;BA.debugLine="Tienda= c2.GetString(\"CAT_CL_NOMBRE\")"; +parent.mostCurrent._tienda = parent._c2.GetString("CAT_CL_NOMBRE"); +RDebugUtils.currentLine=71696478; + //BA.debugLineNum = 71696478;BA.debugLine="ruta = c2.GetString(\"CAT_CL_RUTA\")"; +parent.mostCurrent._ruta = parent._c2.GetString("CAT_CL_RUTA"); +RDebugUtils.currentLine=71696479; + //BA.debugLineNum = 71696479;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); +RDebugUtils.currentLine=71696480; + //BA.debugLineNum = 71696480;BA.debugLine="MARK_VERDE.Snippet = \"R:\" & ruta & \", \" & Tien"; +parent.mostCurrent._mark_verde.setSnippet("R:"+parent.mostCurrent._ruta+", "+parent.mostCurrent._tienda); + if (true) break; +if (true) break; + +case 84: +//C +this.state = 85; +; +RDebugUtils.currentLine=71696482; + //BA.debugLineNum = 71696482;BA.debugLine="c2 .Close"; +parent._c2.Close(); +RDebugUtils.currentLine=71696483; + //BA.debugLineNum = 71696483;BA.debugLine="If MARK_VERDE.IsInitialized Then LIST_VERDE.Add"; +if (true) break; + +case 85: +//if +this.state = 90; +if (parent.mostCurrent._mark_verde.IsInitialized()) { +this.state = 87; +;}if (true) break; + +case 87: +//C +this.state = 90; +parent.mostCurrent._list_verde.Add((Object)(parent.mostCurrent._mark_verde.getObject())); +if (true) break; + +case 90: +//C +this.state = 91; +; + if (true) break; + +case 91: +//C +this.state = 92; +; + if (true) break; + +case 92: +//C +this.state = 93; +; +RDebugUtils.currentLine=71696487; + //BA.debugLineNum = 71696487;BA.debugLine="Private esteRojo As Int = 0"; +_esterojo = (int) (0); +RDebugUtils.currentLine=71696488; + //BA.debugLineNum = 71696488;BA.debugLine="Private esteRojo2 As String"; +_esterojo2 = ""; +RDebugUtils.currentLine=71696489; + //BA.debugLineNum = 71696489;BA.debugLine="If rojo = 1 Or todos = 1 Then"; +if (true) break; + +case 93: +//if +this.state = 125; +if ((parent.mostCurrent._rojo).equals(BA.NumberToString(1)) || (parent.mostCurrent._todos).equals(BA.NumberToString(1))) { +this.state = 95; +}else { +this.state = 111; +}if (true) break; + +case 95: +//C +this.state = 96; +RDebugUtils.currentLine=71696490; + //BA.debugLineNum = 71696490;BA.debugLine="rutaAnt = \"\""; +parent.mostCurrent._rutaant = ""; +RDebugUtils.currentLine=71696491; + //BA.debugLineNum = 71696491;BA.debugLine="c3.IsInitialized"; +parent._c3.IsInitialized(); +RDebugUtils.currentLine=71696492; + //BA.debugLineNum = 71696492;BA.debugLine="c3=Starter.skmt.ExecQuery(\"select CAT_CL_CODIGO,"; +parent._c3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent.mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_CODIGO, IFNULL(SECUENCIA,0) AS SECUENCIA, CAT_CL_NOMBRE, CAT_CL_LONG, CAT_CL_LAT, CAT_CL_RUTA from kmt_info 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 AND CAT_CL_CODIGO <> 63403 order by CAT_CL_RUTA"))); +RDebugUtils.currentLine=71696493; + //BA.debugLineNum = 71696493;BA.debugLine="For i = 0 To c3.RowCount -1"; +if (true) break; + +case 96: +//for +this.state = 109; +step94 = 1; +limit94 = (int) (parent._c3.getRowCount()-1); +_i = (int) (0) ; +this.state = 133; +if (true) break; + +case 133: +//C +this.state = 109; +if ((step94 > 0 && _i <= limit94) || (step94 < 0 && _i >= limit94)) this.state = 98; +if (true) break; + +case 134: +//C +this.state = 133; +_i = ((int)(0 + _i + step94)) ; +if (true) break; + +case 98: +//C +this.state = 99; +RDebugUtils.currentLine=71696494; + //BA.debugLineNum = 71696494;BA.debugLine="c3.Position = i"; +parent._c3.setPosition(_i); +RDebugUtils.currentLine=71696495; + //BA.debugLineNum = 71696495;BA.debugLine="LongitudRU = c3.GetDouble(\"CAT_CL_LONG\")"; +parent._longitudru = parent._c3.GetDouble("CAT_CL_LONG"); +RDebugUtils.currentLine=71696496; + //BA.debugLineNum = 71696496;BA.debugLine="LatitudRu = c3.GetDouble(\"CAT_CL_LAT\")"; +parent._latitudru = parent._c3.GetDouble("CAT_CL_LAT"); +RDebugUtils.currentLine=71696497; + //BA.debugLineNum = 71696497;BA.debugLine="Tienda= c3.GetString(\"CAT_CL_NOMBRE\")"; +parent.mostCurrent._tienda = parent._c3.GetString("CAT_CL_NOMBRE"); +RDebugUtils.currentLine=71696498; + //BA.debugLineNum = 71696498;BA.debugLine="ruta = c3.GetString(\"CAT_CL_RUTA\")"; +parent.mostCurrent._ruta = parent._c3.GetString("CAT_CL_RUTA"); +RDebugUtils.currentLine=71696499; + //BA.debugLineNum = 71696499;BA.debugLine="CODIGO=c3.GetString(\"CAT_CL_CODIGO\")"; +parent.mostCurrent._codigo = parent._c3.GetString("CAT_CL_CODIGO"); +RDebugUtils.currentLine=71696500; + //BA.debugLineNum = 71696500;BA.debugLine="If c3.GetString(\"SECUENCIA\") = \"null\" Then"; +if (true) break; + +case 99: +//if +this.state = 104; +if ((parent._c3.GetString("SECUENCIA")).equals("null")) { +this.state = 101; +}else { +this.state = 103; +}if (true) break; + +case 101: +//C +this.state = 104; +RDebugUtils.currentLine=71696501; + //BA.debugLineNum = 71696501;BA.debugLine="NumSerie = 0"; +parent._numserie = (int) (0); + if (true) break; + +case 103: +//C +this.state = 104; +RDebugUtils.currentLine=71696503; + //BA.debugLineNum = 71696503;BA.debugLine="NumSerie = c3.GetString(\"SECUENCIA\")"; +parent._numserie = (int)(Double.parseDouble(parent._c3.GetString("SECUENCIA"))); + if (true) break; + +case 104: +//C +this.state = 105; +; +RDebugUtils.currentLine=71696505; + //BA.debugLineNum = 71696505;BA.debugLine="Private s As Cursor = Starter.skmt.ExecQuery($\""; +_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)(parent.mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select indice from waypoints where codigo = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(parent.mostCurrent._codigo))+"'")))); +RDebugUtils.currentLine=71696506; + //BA.debugLineNum = 71696506;BA.debugLine="If s.RowCount > 0 Then"; +if (true) break; + +case 105: +//if +this.state = 108; +if (_s.getRowCount()>0) { +this.state = 107; +}if (true) break; + +case 107: +//C +this.state = 108; +RDebugUtils.currentLine=71696507; + //BA.debugLineNum = 71696507;BA.debugLine="s.Position = 0"; +_s.setPosition((int) (0)); +RDebugUtils.currentLine=71696508; + //BA.debugLineNum = 71696508;BA.debugLine="NumSerie = s.GetString(\"indice\")"; +parent._numserie = (int)(Double.parseDouble(_s.GetString("indice"))); + if (true) break; + +case 108: +//C +this.state = 134; +; +RDebugUtils.currentLine=71696510; + //BA.debugLineNum = 71696510;BA.debugLine="MARK_ROJO = gmap.AddMarker3(LatitudRu,LongitudR"; +parent.mostCurrent._mark_rojo = parent.mostCurrent._gmap.AddMarker3(parent._latitudru,parent._longitudru,parent.mostCurrent._codigo,(android.graphics.Bitmap)(parent.mostCurrent._subs._createbitmapwithnumber /*anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper*/ (mostCurrent.activityBA,anywheresoftware.b4a.keywords.Common.LoadBitmap(anywheresoftware.b4a.keywords.Common.File.getDirAssets(),"marker-rojo.png"),parent._numserie).getObject())); +RDebugUtils.currentLine=71696513; + //BA.debugLineNum = 71696513;BA.debugLine="MARK_ROJO.Snippet= \"R:\" & ruta & \", \" & Tienda"; +parent.mostCurrent._mark_rojo.setSnippet("R:"+parent.mostCurrent._ruta+", "+parent.mostCurrent._tienda); + if (true) break; +if (true) break; + +case 109: +//C +this.state = 125; +; + if (true) break; + +case 111: +//C +this.state = 112; +RDebugUtils.currentLine=71696516; + //BA.debugLineNum = 71696516;BA.debugLine="If rojo = 1 Or todos = 1 Then"; +if (true) break; + +case 112: +//if +this.state = 124; +if ((parent.mostCurrent._rojo).equals(BA.NumberToString(1)) || (parent.mostCurrent._todos).equals(BA.NumberToString(1))) { +this.state = 114; +}if (true) break; + +case 114: +//C +this.state = 115; +RDebugUtils.currentLine=71696517; + //BA.debugLineNum = 71696517;BA.debugLine="rutaAnt = \"\""; +parent.mostCurrent._rutaant = ""; +RDebugUtils.currentLine=71696518; + //BA.debugLineNum = 71696518;BA.debugLine="c3.IsInitialized"; +parent._c3.IsInitialized(); +RDebugUtils.currentLine=71696519; + //BA.debugLineNum = 71696519;BA.debugLine="c3=Starter.skmt.ExecQuery(\"select CAT_CL_CODIGO"; +parent._c3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent.mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_CODIGO, CAT_CL_NOMBRE, CAT_CL_LONG, CAT_CL_LAT, CAT_CL_RUTA from kmt_info 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 AND CAT_CL_CODIGO <> 63403 order by CAT_CL_RUTA"))); +RDebugUtils.currentLine=71696520; + //BA.debugLineNum = 71696520;BA.debugLine="For i = 0 To c3.RowCount -1"; +if (true) break; + +case 115: +//for +this.state = 118; +step119 = 1; +limit119 = (int) (parent._c3.getRowCount()-1); +_i = (int) (0) ; +this.state = 135; +if (true) break; + +case 135: +//C +this.state = 118; +if ((step119 > 0 && _i <= limit119) || (step119 < 0 && _i >= limit119)) this.state = 117; +if (true) break; + +case 136: +//C +this.state = 135; +_i = ((int)(0 + _i + step119)) ; +if (true) break; + +case 117: +//C +this.state = 136; +RDebugUtils.currentLine=71696521; + //BA.debugLineNum = 71696521;BA.debugLine="c3.Position = i"; +parent._c3.setPosition(_i); +RDebugUtils.currentLine=71696522; + //BA.debugLineNum = 71696522;BA.debugLine="LongitudRU = c3.GetDouble(\"CAT_CL_LONG\")"; +parent._longitudru = parent._c3.GetDouble("CAT_CL_LONG"); +RDebugUtils.currentLine=71696523; + //BA.debugLineNum = 71696523;BA.debugLine="LatitudRu = c3.GetDouble(\"CAT_CL_LAT\")"; +parent._latitudru = parent._c3.GetDouble("CAT_CL_LAT"); +RDebugUtils.currentLine=71696524; + //BA.debugLineNum = 71696524;BA.debugLine="Tienda= c3.GetString(\"CAT_CL_NOMBRE\")"; +parent.mostCurrent._tienda = parent._c3.GetString("CAT_CL_NOMBRE"); +RDebugUtils.currentLine=71696525; + //BA.debugLineNum = 71696525;BA.debugLine="ruta = c2.GetString(\"CAT_CL_RUTA\")"; +parent.mostCurrent._ruta = parent._c2.GetString("CAT_CL_RUTA"); +RDebugUtils.currentLine=71696526; + //BA.debugLineNum = 71696526;BA.debugLine="CODIGO=c3.GetString(\"CAT_CL_CODIGO\")"; +parent.mostCurrent._codigo = parent._c3.GetString("CAT_CL_CODIGO"); +RDebugUtils.currentLine=71696527; + //BA.debugLineNum = 71696527;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); +RDebugUtils.currentLine=71696528; + //BA.debugLineNum = 71696528;BA.debugLine="MARK_ROJO.Snippet= \"R:\" & ruta & \", \" & Tienda"; +parent.mostCurrent._mark_rojo.setSnippet("R:"+parent.mostCurrent._ruta+", "+parent.mostCurrent._tienda); + if (true) break; +if (true) break; +; +RDebugUtils.currentLine=71696530; + //BA.debugLineNum = 71696530;BA.debugLine="If MARK_ROJO.IsInitialized Then LIST_ROJO.Add(M"; + +case 118: +//if +this.state = 123; +if (parent.mostCurrent._mark_rojo.IsInitialized()) { +this.state = 120; +;}if (true) break; + +case 120: +//C +this.state = 123; +parent.mostCurrent._list_rojo.Add((Object)(parent.mostCurrent._mark_rojo.getObject())); +if (true) break; + +case 123: +//C +this.state = 124; +; +RDebugUtils.currentLine=71696531; + //BA.debugLineNum = 71696531;BA.debugLine="c3.Close"; +parent._c3.Close(); + if (true) break; + +case 124: +//C +this.state = 125; +; + if (true) break; + +case 125: +//C +this.state = -1; +; +RDebugUtils.currentLine=71696539; + //BA.debugLineNum = 71696539;BA.debugLine="Dim aa As CameraPosition"; +_aa = new anywheresoftware.b4a.objects.MapFragmentWrapper.CameraPositionWrapper(); +RDebugUtils.currentLine=71696540; + //BA.debugLineNum = 71696540;BA.debugLine="aa.Initialize(LatitudRu,LongitudRU,15)''' RECOMEN"; +_aa.Initialize(parent._latitudru,parent._longitudru,(float) (15)); +RDebugUtils.currentLine=71696541; + //BA.debugLineNum = 71696541;BA.debugLine="gmap.AnimateCamera(aa)"; +parent.mostCurrent._gmap.AnimateCamera((com.google.android.gms.maps.model.CameraPosition)(_aa.getObject())); +RDebugUtils.currentLine=71696544; + //BA.debugLineNum = 71696544;BA.debugLine="Dim OnInfoWindowClickListener1 As OnInfoWindowCli"; +parent.mostCurrent._oninfowindowclicklistener1 = new uk.co.martinpearman.b4a.com.google.android.gms.maps.googlemap.OnInfoWindowClickListener(); +RDebugUtils.currentLine=71696545; + //BA.debugLineNum = 71696545;BA.debugLine="OnInfoWindowClickListener1.Initialize(\"OnInfoWind"; +parent.mostCurrent._oninfowindowclicklistener1.Initialize(mostCurrent.activityBA,"OnInfoWindowClickListener1"); +RDebugUtils.currentLine=71696546; + //BA.debugLineNum = 71696546;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())); +RDebugUtils.currentLine=71696547; + //BA.debugLineNum = 71696547;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +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=72155136; + //BA.debugLineNum = 72155136;BA.debugLine="Sub B_ROJO_Click"; +RDebugUtils.currentLine=72155137; + //BA.debugLineNum = 72155137;BA.debugLine="rojo = 1"; +mostCurrent._rojo = BA.NumberToString(1); +RDebugUtils.currentLine=72155138; + //BA.debugLineNum = 72155138;BA.debugLine="verde = 0"; +mostCurrent._verde = BA.NumberToString(0); +RDebugUtils.currentLine=72155139; + //BA.debugLineNum = 72155139;BA.debugLine="azul = 0"; +mostCurrent._azul = BA.NumberToString(0); +RDebugUtils.currentLine=72155140; + //BA.debugLineNum = 72155140;BA.debugLine="todos = 0"; +mostCurrent._todos = BA.NumberToString(0); +RDebugUtils.currentLine=72155141; + //BA.debugLineNum = 72155141;BA.debugLine="gmap.Clear"; +mostCurrent._gmap.Clear(); +RDebugUtils.currentLine=72155142; + //BA.debugLineNum = 72155142;BA.debugLine="MapFragment1_Ready"; +_mapfragment1_ready(); +RDebugUtils.currentLine=72155143; + //BA.debugLineNum = 72155143;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=72024064; + //BA.debugLineNum = 72024064;BA.debugLine="Sub B_TODOS_Click"; +RDebugUtils.currentLine=72024065; + //BA.debugLineNum = 72024065;BA.debugLine="todos =1"; +mostCurrent._todos = BA.NumberToString(1); +RDebugUtils.currentLine=72024066; + //BA.debugLineNum = 72024066;BA.debugLine="verde = 0"; +mostCurrent._verde = BA.NumberToString(0); +RDebugUtils.currentLine=72024067; + //BA.debugLineNum = 72024067;BA.debugLine="azul = 0"; +mostCurrent._azul = BA.NumberToString(0); +RDebugUtils.currentLine=72024068; + //BA.debugLineNum = 72024068;BA.debugLine="rojo = 0"; +mostCurrent._rojo = BA.NumberToString(0); +RDebugUtils.currentLine=72024069; + //BA.debugLineNum = 72024069;BA.debugLine="MapFragment1_Ready"; +_mapfragment1_ready(); +RDebugUtils.currentLine=72024070; + //BA.debugLineNum = 72024070;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=72089600; + //BA.debugLineNum = 72089600;BA.debugLine="Sub B_VERDE_Click"; +RDebugUtils.currentLine=72089601; + //BA.debugLineNum = 72089601;BA.debugLine="verde = 1"; +mostCurrent._verde = BA.NumberToString(1); +RDebugUtils.currentLine=72089602; + //BA.debugLineNum = 72089602;BA.debugLine="azul = 0"; +mostCurrent._azul = BA.NumberToString(0); +RDebugUtils.currentLine=72089603; + //BA.debugLineNum = 72089603;BA.debugLine="rojo = 0"; +mostCurrent._rojo = BA.NumberToString(0); +RDebugUtils.currentLine=72089604; + //BA.debugLineNum = 72089604;BA.debugLine="todos = 0"; +mostCurrent._todos = BA.NumberToString(0); +RDebugUtils.currentLine=72089605; + //BA.debugLineNum = 72089605;BA.debugLine="gmap.Clear"; +mostCurrent._gmap.Clear(); +RDebugUtils.currentLine=72089606; + //BA.debugLineNum = 72089606;BA.debugLine="MapFragment1_Ready"; +_mapfragment1_ready(); +RDebugUtils.currentLine=72089607; + //BA.debugLineNum = 72089607;BA.debugLine="End Sub"; +return ""; +} +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=71827456; + //BA.debugLineNum = 71827456;BA.debugLine="Sub GPS_LocationChanged (Parametro As Location)"; +RDebugUtils.currentLine=71827475; + //BA.debugLineNum = 71827475;BA.debugLine="End Sub"; +return ""; +} +public static String _oninfowindowclicklistener1_click(anywheresoftware.b4a.objects.MapFragmentWrapper.MarkerWrapper _marker1) throws Exception{ +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=71761920; + //BA.debugLineNum = 71761920;BA.debugLine="Sub OnInfoWindowClickListener1_click(Marker1 As Ma"; +RDebugUtils.currentLine=71761921; + //BA.debugLineNum = 71761921;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CUENTAA\")"; +mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CUENTAA"); +RDebugUtils.currentLine=71761922; + //BA.debugLineNum = 71761922;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CUENTAA V"; +mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CUENTAA VALUES (?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_marker1.getTitle())})); +RDebugUtils.currentLine=71761923; + //BA.debugLineNum = 71761923;BA.debugLine="Activity.Finish"; +mostCurrent._activity.Finish(); +RDebugUtils.currentLine=71761924; + //BA.debugLineNum = 71761924;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +mostCurrent._b4xpages._showpage /*String*/ (mostCurrent.activityBA,"Cliente"); +RDebugUtils.currentLine=71761925; + //BA.debugLineNum = 71761925;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/newinst2.java b/B4A/Objects/src/reparto_izca/keymon/lat/newinst2.java new file mode 100644 index 0000000..ff06c61 --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/newinst2.java @@ -0,0 +1,262 @@ +package reparto_izca.keymon.lat; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.objects.ServiceHelper; +import anywheresoftware.b4a.debug.*; + +public class newinst2 extends android.app.Service{ + public static class newinst2_BR extends android.content.BroadcastReceiver { + + @Override + public void onReceive(android.content.Context context, android.content.Intent intent) { + BA.LogInfo("** Receiver (newinst2) OnReceive **"); + 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, anywheresoftware.b4a.ShellBA.class); + } + + } + static newinst2 mostCurrent; + public static BA processBA; + private ServiceHelper _service; + public static Class getObject() { + return newinst2.class; + } + @Override + public void onCreate() { + super.onCreate(); + mostCurrent = this; + if (processBA == null) { + processBA = new anywheresoftware.b4a.ShellBA(this, null, null, "reparto_izca.keymon.lat", "reparto_izca.keymon.lat.newinst2"); + if (BA.isShellModeRuntimeCheck(processBA)) { + processBA.raiseEvent2(null, true, "SHELL", false); + } + try { + Class.forName(BA.applicationContext.getPackageName() + ".main").getMethod("initializeProcessGlobals").invoke(null, null); + } catch (Exception e) { + throw new RuntimeException(e); + } + processBA.loadHtSubs(this.getClass()); + ServiceHelper.init(); + } + _service = new ServiceHelper(this); + processBA.service = this; + + if (BA.isShellModeRuntimeCheck(processBA)) { + processBA.raiseEvent2(null, true, "CREATE", true, "reparto_izca.keymon.lat.newinst2", processBA, _service, anywheresoftware.b4a.keywords.Common.Density); + } + if (!false && ServiceHelper.StarterHelper.startFromServiceCreate(processBA, false) == false) { + + } + else { + processBA.setActivityPaused(false); + BA.LogInfo("*** Service (newinst2) Create ***"); + processBA.raiseEvent(null, "service_create"); + } + processBA.runHook("oncreate", this, null); + if (false) { + if (ServiceHelper.StarterHelper.runWaitForLayouts() == false) { + BA.LogInfo("stopping spontaneous created service"); + stopSelf(); + } + } + } + @Override + public void onStart(android.content.Intent intent, int startId) { + onStartCommand(intent, 0, 0); + } + @Override + public int onStartCommand(final android.content.Intent intent, int flags, int startId) { + if (ServiceHelper.StarterHelper.onStartCommand(processBA, new Runnable() { + public void run() { + handleStart(intent); + }})) + ; + else { + ServiceHelper.StarterHelper.addWaitForLayout (new Runnable() { + public void run() { + processBA.setActivityPaused(false); + BA.LogInfo("** Service (newinst2) Create **"); + processBA.raiseEvent(null, "service_create"); + handleStart(intent); + ServiceHelper.StarterHelper.removeWaitForLayout(); + } + }); + } + processBA.runHook("onstartcommand", this, new Object[] {intent, flags, startId}); + return android.app.Service.START_NOT_STICKY; + } + public void onTaskRemoved(android.content.Intent rootIntent) { + super.onTaskRemoved(rootIntent); + if (false) + processBA.raiseEvent(null, "service_taskremoved"); + + } + private void handleStart(android.content.Intent intent) { + BA.LogInfo("** Service (newinst2) Start **"); + java.lang.reflect.Method startEvent = processBA.htSubs.get("service_start"); + if (startEvent != null) { + if (startEvent.getParameterTypes().length > 0) { + anywheresoftware.b4a.objects.IntentWrapper iw = ServiceHelper.StarterHelper.handleStartIntent(intent, _service, processBA); + processBA.raiseEvent(null, "service_start", iw); + } + else { + processBA.raiseEvent(null, "service_start"); + } + } + } + + @Override + public void onDestroy() { + super.onDestroy(); + if (false) { + BA.LogInfo("** Service (newinst2) Destroy (ignored)**"); + } + else { + BA.LogInfo("** Service (newinst2) Destroy **"); + processBA.raiseEvent(null, "service_destroy"); + processBA.service = null; + mostCurrent = null; + processBA.setActivityPaused(true); + processBA.runHook("ondestroy", this, null); + } + } + +@Override + public android.os.IBinder onBind(android.content.Intent intent) { + return null; + } +public anywheresoftware.b4a.keywords.Common __c = null; +public static String _pkg = ""; +public static boolean _svcverbose = false; +public static int _logcolor1 = 0; +public b4a.example.dateutils _dateutils = null; +public reparto_izca.keymon.lat.main _main = null; +public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; +public reparto_izca.keymon.lat.foto _foto = null; +public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_izca.keymon.lat.starter _starter = null; +public reparto_izca.keymon.lat.tracker _tracker = null; +public reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=29229056; + //BA.debugLineNum = 29229056;BA.debugLine="Sub GetPackageName As String"; +RDebugUtils.currentLine=29229057; + //BA.debugLineNum = 29229057;BA.debugLine="Dim r As Reflector"; +_r = new anywheresoftware.b4a.agraham.reflection.Reflection(); +RDebugUtils.currentLine=29229058; + //BA.debugLineNum = 29229058;BA.debugLine="Return r.GetStaticField(\"anywheresoftware.b4a.BA\""; +if (true) return BA.ObjectToString(_r.GetStaticField("anywheresoftware.b4a.BA","packageName")); +RDebugUtils.currentLine=29229059; + //BA.debugLineNum = 29229059;BA.debugLine="End Sub"; +return ""; +} +public static String _myappreload() throws Exception{ +RDebugUtils.currentModule="newinst2"; +if (Debug.shouldDelegate(processBA, "myappreload", false)) + {return ((String) Debug.delegate(processBA, "myappreload", null));} +RDebugUtils.currentLine=29294592; + //BA.debugLineNum = 29294592;BA.debugLine="Sub MyAppReload"; +RDebugUtils.currentLine=29294593; + //BA.debugLineNum = 29294593;BA.debugLine="If svcVerbose Then Log(\"-- AppUpdating.NewInst2:"; +if (_svcverbose) { +anywheresoftware.b4a.keywords.Common.LogImpl("829294593","-- AppUpdating.NewInst2: processing MyAppReload",0);}; +RDebugUtils.currentLine=29294594; + //BA.debugLineNum = 29294594;BA.debugLine="If IsPaused(\"main\") Then"; +if (anywheresoftware.b4a.keywords.Common.IsPaused(processBA,(Object)("main"))) { +RDebugUtils.currentLine=29294595; + //BA.debugLineNum = 29294595;BA.debugLine="StartActivity(\"main\")"; +anywheresoftware.b4a.keywords.Common.StartActivity(processBA,(Object)("main")); + }; +RDebugUtils.currentLine=29294599; + //BA.debugLineNum = 29294599;BA.debugLine="End Sub"; +return ""; +} +public static String _service_create() throws Exception{ +RDebugUtils.currentModule="newinst2"; +if (Debug.shouldDelegate(processBA, "service_create", false)) + {return ((String) Debug.delegate(processBA, "service_create", null));} +RDebugUtils.currentLine=29032448; + //BA.debugLineNum = 29032448;BA.debugLine="Sub Service_Create"; +RDebugUtils.currentLine=29032449; + //BA.debugLineNum = 29032449;BA.debugLine="LogColor(\"---- AppUpdating.newinst2: service crea"; +anywheresoftware.b4a.keywords.Common.LogImpl("829032449","---- AppUpdating.newinst2: service created",_logcolor1); +RDebugUtils.currentLine=29032450; + //BA.debugLineNum = 29032450;BA.debugLine="pkg = \"\""; +_pkg = ""; +RDebugUtils.currentLine=29032451; + //BA.debugLineNum = 29032451;BA.debugLine="svcVerbose = False"; +_svcverbose = anywheresoftware.b4a.keywords.Common.False; +RDebugUtils.currentLine=29032452; + //BA.debugLineNum = 29032452;BA.debugLine="End Sub"; +return ""; +} +public static String _service_destroy() throws Exception{ +RDebugUtils.currentModule="newinst2"; +if (Debug.shouldDelegate(processBA, "service_destroy", false)) + {return ((String) Debug.delegate(processBA, "service_destroy", null));} +RDebugUtils.currentLine=29163520; + //BA.debugLineNum = 29163520;BA.debugLine="Sub Service_Destroy"; +RDebugUtils.currentLine=29163521; + //BA.debugLineNum = 29163521;BA.debugLine="End Sub"; +return ""; +} +public static String _service_start(anywheresoftware.b4a.objects.IntentWrapper _startingintent) throws Exception{ +RDebugUtils.currentModule="newinst2"; +if (Debug.shouldDelegate(processBA, "service_start", false)) + {return ((String) Debug.delegate(processBA, "service_start", new Object[] {_startingintent}));} +RDebugUtils.currentLine=29097984; + //BA.debugLineNum = 29097984;BA.debugLine="Sub Service_Start (StartingIntent As Intent)"; +RDebugUtils.currentLine=29097985; + //BA.debugLineNum = 29097985;BA.debugLine="LogColor(\"---- AppUpdating.newinst2: service_star"; +anywheresoftware.b4a.keywords.Common.LogImpl("829097985","---- AppUpdating.newinst2: service_started",_logcolor1); +RDebugUtils.currentLine=29097986; + //BA.debugLineNum = 29097986;BA.debugLine="If svcVerbose Then"; +if (_svcverbose) { +RDebugUtils.currentLine=29097987; + //BA.debugLineNum = 29097987;BA.debugLine="Log($\"${TAB}intent: ${StartingIntent}\"$)"; +anywheresoftware.b4a.keywords.Common.LogImpl("829097987",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"intent: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_startingintent.getObject()))+""),0); +RDebugUtils.currentLine=29097988; + //BA.debugLineNum = 29097988;BA.debugLine="Log($\"${TAB}action: ${StartingIntent.Action}\"$)"; +anywheresoftware.b4a.keywords.Common.LogImpl("829097988",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"action: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_startingintent.getAction()))+""),0); +RDebugUtils.currentLine=29097989; + //BA.debugLineNum = 29097989;BA.debugLine="Log($\"${TAB}extra: ${StartingIntent.ExtrasToStri"; +anywheresoftware.b4a.keywords.Common.LogImpl("829097989",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"extra: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_startingintent.ExtrasToString()))+""),0); +RDebugUtils.currentLine=29097990; + //BA.debugLineNum = 29097990;BA.debugLine="Log($\"${TAB}data: ${StartingIntent.GetData}\"$)"; +anywheresoftware.b4a.keywords.Common.LogImpl("829097990",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"data: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_startingintent.GetData()))+""),0); + }; +RDebugUtils.currentLine=29097992; + //BA.debugLineNum = 29097992;BA.debugLine="If StartingIntent.Action = \"android.intent.action"; +if ((_startingintent.getAction()).equals("android.intent.action.MY_PACKAGE_REPLACED")) { +RDebugUtils.currentLine=29097993; + //BA.debugLineNum = 29097993;BA.debugLine="If svcVerbose Then Log($\"${TAB}Intent MY_PACKAGE"; +if (_svcverbose) { +anywheresoftware.b4a.keywords.Common.LogImpl("829097993",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"Intent MY_PACKAGE_REPLACED received!"),0);}; +RDebugUtils.currentLine=29097994; + //BA.debugLineNum = 29097994;BA.debugLine="pkg = GetPackageName"; +_pkg = _getpackagename(); +RDebugUtils.currentLine=29097995; + //BA.debugLineNum = 29097995;BA.debugLine="If svcVerbose Then Log($\"${TAB}package: ${pkg}\"$"; +if (_svcverbose) { +anywheresoftware.b4a.keywords.Common.LogImpl("829097995",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"package: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pkg))+""),0);}; +RDebugUtils.currentLine=29097996; + //BA.debugLineNum = 29097996;BA.debugLine="MyAppReload"; +_myappreload(); + }; +RDebugUtils.currentLine=29097998; + //BA.debugLineNum = 29097998;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/roundslider.java b/B4A/Objects/src/reparto_izca/keymon/lat/roundslider.java new file mode 100644 index 0000000..fbb20cf --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/roundslider.java @@ -0,0 +1,587 @@ +package reparto_izca.keymon.lat; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.B4AClass; +import anywheresoftware.b4a.BALayout; +import anywheresoftware.b4a.debug.*; + +public class roundslider 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, "reparto_izca.keymon.lat.roundslider"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", reparto_izca.keymon.lat.roundslider.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 String _meventname = ""; +public Object _mcallback = null; +public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; +public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; +public anywheresoftware.b4a.objects.B4XCanvas _cvs = null; +public int _mvalue = 0; +public int _mmin = 0; +public int _mmax = 0; +public anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _thumb = null; +public anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; +public anywheresoftware.b4a.objects.B4XViewWrapper _xlbl = null; +public anywheresoftware.b4a.objects.B4XCanvas.B4XRect _circlerect = null; +public int _valuecolor = 0; +public int _stroke = 0; +public int _thumbsize = 0; +public Object _tag = null; +public int _mthumbbordercolor = 0; +public int _mthumbinnercolor = 0; +public int _mcirclefillcolor = 0; +public int _mcirclenonvaluecolor = 0; +public boolean _mrollover = false; +public b4a.example.dateutils _dateutils = null; +public reparto_izca.keymon.lat.main _main = null; +public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; +public reparto_izca.keymon.lat.foto _foto = null; +public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_izca.keymon.lat.starter _starter = null; +public reparto_izca.keymon.lat.tracker _tracker = null; +public reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public String _base_resize(reparto_izca.keymon.lat.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=59572224; + //BA.debugLineNum = 59572224;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; +RDebugUtils.currentLine=59572225; + //BA.debugLineNum = 59572225;BA.debugLine="cvs.Resize(Width, Height)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Resize((float) (_width),(float) (_height)); +RDebugUtils.currentLine=59572226; + //BA.debugLineNum = 59572226;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=59572227; + //BA.debugLineNum = 59572227;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=59572228; + //BA.debugLineNum = 59572228;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=59572229; + //BA.debugLineNum = 59572229;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=59572230; + //BA.debugLineNum = 59572230;BA.debugLine="Draw"; +__ref._draw /*String*/ (null); +RDebugUtils.currentLine=59572231; + //BA.debugLineNum = 59572231;BA.debugLine="End Sub"; +return ""; +} +public String _createthumb(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=59506688; + //BA.debugLineNum = 59506688;BA.debugLine="Private Sub CreateThumb"; +RDebugUtils.currentLine=59506689; + //BA.debugLineNum = 59506689;BA.debugLine="Dim p As BCPath"; +_p = new b4a.example.bcpath(); +RDebugUtils.currentLine=59506690; + //BA.debugLineNum = 59506690;BA.debugLine="Dim r As Int = 80dip"; +_r = __c.DipToCurrent((int) (80)); +RDebugUtils.currentLine=59506691; + //BA.debugLineNum = 59506691;BA.debugLine="Dim g As Int = 8dip"; +_g = __c.DipToCurrent((int) (8)); +RDebugUtils.currentLine=59506692; + //BA.debugLineNum = 59506692;BA.debugLine="Dim l As Int = 28dip"; +_l = __c.DipToCurrent((int) (28)); +RDebugUtils.currentLine=59506693; + //BA.debugLineNum = 59506693;BA.debugLine="Dim bc As BitmapCreator"; +_bc = new b4a.example.bitmapcreator(); +RDebugUtils.currentLine=59506694; + //BA.debugLineNum = 59506694;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)); +RDebugUtils.currentLine=59506695; + //BA.debugLineNum = 59506695;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)); +RDebugUtils.currentLine=59506696; + //BA.debugLineNum = 59506696;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)); +RDebugUtils.currentLine=59506697; + //BA.debugLineNum = 59506697;BA.debugLine="p.LineTo(r + g, 2 * r + l + g)"; +_p._lineto((float) (_r+_g),(float) (2*_r+_l+_g)); +RDebugUtils.currentLine=59506698; + //BA.debugLineNum = 59506698;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)); +RDebugUtils.currentLine=59506699; + //BA.debugLineNum = 59506699;BA.debugLine="bc.DrawPath(p, mThumbBorderColor, True, 0)"; +_bc._drawpath(_p,__ref._mthumbbordercolor /*int*/ ,__c.True,(int) (0)); +RDebugUtils.currentLine=59506700; + //BA.debugLineNum = 59506700;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=59506701; + //BA.debugLineNum = 59506701;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=59506702; + //BA.debugLineNum = 59506702;BA.debugLine="thumb = bc.Bitmap"; +__ref._thumb /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ = _bc._getbitmap(); +RDebugUtils.currentLine=59506703; + //BA.debugLineNum = 59506703;BA.debugLine="ThumbSize = thumb.Height / 4"; +__ref._thumbsize /*int*/ = (int) (__ref._thumb /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .getHeight()/(double)4); +RDebugUtils.currentLine=59506704; + //BA.debugLineNum = 59506704;BA.debugLine="xlbl.SetTextAlignment(\"CENTER\", \"CENTER\")"; +__ref._xlbl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetTextAlignment("CENTER","CENTER"); +RDebugUtils.currentLine=59506705; + //BA.debugLineNum = 59506705;BA.debugLine="End Sub"; +return ""; +} +public String _draw(reparto_izca.keymon.lat.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; +int _b4jstrokeoffset = 0; +anywheresoftware.b4a.objects.B4XCanvas.B4XRect _dest = null; +int _r = 0; +int _cx = 0; +int _cy = 0; +RDebugUtils.currentLine=59637760; + //BA.debugLineNum = 59637760;BA.debugLine="Public Sub Draw"; +RDebugUtils.currentLine=59637761; + //BA.debugLineNum = 59637761;BA.debugLine="cvs.ClearRect(cvs.TargetRect)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClearRect(__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect()); +RDebugUtils.currentLine=59637762; + //BA.debugLineNum = 59637762;BA.debugLine="Dim radius As Int = CircleRect.Width / 2"; +_radius = (int) (__ref._circlerect /*anywheresoftware.b4a.objects.B4XCanvas.B4XRect*/ .getWidth()/(double)2); +RDebugUtils.currentLine=59637763; + //BA.debugLineNum = 59637763;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=59637764; + //BA.debugLineNum = 59637764;BA.debugLine="Dim p As B4XPath"; +_p = new anywheresoftware.b4a.objects.B4XCanvas.B4XPath(); +RDebugUtils.currentLine=59637765; + //BA.debugLineNum = 59637765;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=59637766; + //BA.debugLineNum = 59637766;BA.debugLine="Dim B4JStrokeOffset As Int"; +_b4jstrokeoffset = 0; +RDebugUtils.currentLine=59637767; + //BA.debugLineNum = 59637767;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=59637768; + //BA.debugLineNum = 59637768;BA.debugLine="If mValue = mMax Then"; +if (__ref._mvalue /*int*/ ==__ref._mmax /*int*/ ) { +RDebugUtils.currentLine=59637769; + //BA.debugLineNum = 59637769;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 { +RDebugUtils.currentLine=59637771; + //BA.debugLineNum = 59637771;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=59637772; + //BA.debugLineNum = 59637772;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*/ )); + }; +RDebugUtils.currentLine=59637774; + //BA.debugLineNum = 59637774;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=59637775; + //BA.debugLineNum = 59637775;BA.debugLine="Dim dest As B4XRect"; +_dest = new anywheresoftware.b4a.objects.B4XCanvas.B4XRect(); +RDebugUtils.currentLine=59637776; + //BA.debugLineNum = 59637776;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=59637777; + //BA.debugLineNum = 59637777;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=59637778; + //BA.debugLineNum = 59637778;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=59637779; + //BA.debugLineNum = 59637779;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=59637780; + //BA.debugLineNum = 59637780;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=59637781; + //BA.debugLineNum = 59637781;BA.debugLine="cvs.Invalidate"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Invalidate(); +RDebugUtils.currentLine=59637782; + //BA.debugLineNum = 59637782;BA.debugLine="xlbl.Text = mValue"; +__ref._xlbl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setText(BA.ObjectToCharSequence(__ref._mvalue /*int*/ )); +RDebugUtils.currentLine=59637783; + //BA.debugLineNum = 59637783;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(reparto_izca.keymon.lat.roundslider __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="roundslider"; +RDebugUtils.currentLine=59179008; + //BA.debugLineNum = 59179008;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=59179009; + //BA.debugLineNum = 59179009;BA.debugLine="Private mEventName As String 'ignore"; +_meventname = ""; +RDebugUtils.currentLine=59179010; + //BA.debugLineNum = 59179010;BA.debugLine="Private mCallBack As Object 'ignore"; +_mcallback = new Object(); +RDebugUtils.currentLine=59179011; + //BA.debugLineNum = 59179011;BA.debugLine="Public mBase As B4XView 'ignore"; +_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=59179012; + //BA.debugLineNum = 59179012;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=59179013; + //BA.debugLineNum = 59179013;BA.debugLine="Private cvs As B4XCanvas"; +_cvs = new anywheresoftware.b4a.objects.B4XCanvas(); +RDebugUtils.currentLine=59179014; + //BA.debugLineNum = 59179014;BA.debugLine="Private mValue As Int = 75"; +_mvalue = (int) (75); +RDebugUtils.currentLine=59179015; + //BA.debugLineNum = 59179015;BA.debugLine="Private mMin, mMax As Int"; +_mmin = 0; +_mmax = 0; +RDebugUtils.currentLine=59179016; + //BA.debugLineNum = 59179016;BA.debugLine="Private thumb As B4XBitmap"; +_thumb = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(); +RDebugUtils.currentLine=59179017; + //BA.debugLineNum = 59179017;BA.debugLine="Private pnl As B4XView"; +_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=59179018; + //BA.debugLineNum = 59179018;BA.debugLine="Private xlbl As B4XView"; +_xlbl = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=59179019; + //BA.debugLineNum = 59179019;BA.debugLine="Private CircleRect As B4XRect"; +_circlerect = new anywheresoftware.b4a.objects.B4XCanvas.B4XRect(); +RDebugUtils.currentLine=59179020; + //BA.debugLineNum = 59179020;BA.debugLine="Private ValueColor As Int"; +_valuecolor = 0; +RDebugUtils.currentLine=59179021; + //BA.debugLineNum = 59179021;BA.debugLine="Private stroke As Int"; +_stroke = 0; +RDebugUtils.currentLine=59179022; + //BA.debugLineNum = 59179022;BA.debugLine="Private ThumbSize As Int"; +_thumbsize = 0; +RDebugUtils.currentLine=59179023; + //BA.debugLineNum = 59179023;BA.debugLine="Public Tag As Object"; +_tag = new Object(); +RDebugUtils.currentLine=59179024; + //BA.debugLineNum = 59179024;BA.debugLine="Private mThumbBorderColor As Int = 0xFF5B5B5B"; +_mthumbbordercolor = ((int)0xff5b5b5b); +RDebugUtils.currentLine=59179025; + //BA.debugLineNum = 59179025;BA.debugLine="Private mThumbInnerColor As Int = xui.Color_White"; +_mthumbinnercolor = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_White; +RDebugUtils.currentLine=59179026; + //BA.debugLineNum = 59179026;BA.debugLine="Private mCircleFillColor As Int = xui.Color_White"; +_mcirclefillcolor = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_White; +RDebugUtils.currentLine=59179027; + //BA.debugLineNum = 59179027;BA.debugLine="Private mCircleNonValueColor As Int = 0xFFB6B6B6"; +_mcirclenonvaluecolor = ((int)0xffb6b6b6); +RDebugUtils.currentLine=59179028; + //BA.debugLineNum = 59179028;BA.debugLine="Private mRollOver As Boolean"; +_mrollover = false; +RDebugUtils.currentLine=59179029; + //BA.debugLineNum = 59179029;BA.debugLine="End Sub"; +return ""; +} +public String _designercreateview(reparto_izca.keymon.lat.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=59310080; + //BA.debugLineNum = 59310080;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; +RDebugUtils.currentLine=59310081; + //BA.debugLineNum = 59310081;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=59310082; + //BA.debugLineNum = 59310082;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._tag /*Object*/ = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTag(); +RDebugUtils.currentLine=59310082; + //BA.debugLineNum = 59310082;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag(this); +RDebugUtils.currentLine=59310083; + //BA.debugLineNum = 59310083;BA.debugLine="cvs.Initialize(mBase)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Initialize(__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ); +RDebugUtils.currentLine=59310084; + //BA.debugLineNum = 59310084;BA.debugLine="mMin = Props.Get(\"Min\")"; +__ref._mmin /*int*/ = (int)(BA.ObjectToNumber(_props.Get((Object)("Min")))); +RDebugUtils.currentLine=59310085; + //BA.debugLineNum = 59310085;BA.debugLine="mMax = Props.Get(\"Max\")"; +__ref._mmax /*int*/ = (int)(BA.ObjectToNumber(_props.Get((Object)("Max")))); +RDebugUtils.currentLine=59310086; + //BA.debugLineNum = 59310086;BA.debugLine="mValue = mMin"; +__ref._mvalue /*int*/ = __ref._mmin /*int*/ ; +RDebugUtils.currentLine=59310087; + //BA.debugLineNum = 59310087;BA.debugLine="pnl = xui.CreatePanel(\"pnl\")"; +__ref._pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,"pnl"); +RDebugUtils.currentLine=59310088; + //BA.debugLineNum = 59310088;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=59310089; + //BA.debugLineNum = 59310089;BA.debugLine="xlbl.Visible = True"; +__ref._xlbl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=59310090; + //BA.debugLineNum = 59310090;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=59310091; + //BA.debugLineNum = 59310091;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=59310092; + //BA.debugLineNum = 59310092;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=59310093; + //BA.debugLineNum = 59310093;BA.debugLine="mRollOver = Props.GetDefault(\"RollOver\", False)"; +__ref._mrollover /*boolean*/ = BA.ObjectToBoolean(_props.GetDefault((Object)("RollOver"),(Object)(__c.False))); +RDebugUtils.currentLine=59310094; + //BA.debugLineNum = 59310094;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=59310095; + //BA.debugLineNum = 59310095;BA.debugLine="stroke = 8dip"; +__ref._stroke /*int*/ = __c.DipToCurrent((int) (8)); + }else +{RDebugUtils.currentLine=59310096; + //BA.debugLineNum = 59310096;BA.debugLine="Else If xui.IsB4J Then"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4J()) { +RDebugUtils.currentLine=59310097; + //BA.debugLineNum = 59310097;BA.debugLine="stroke = 6dip"; +__ref._stroke /*int*/ = __c.DipToCurrent((int) (6)); + }} +; +RDebugUtils.currentLine=59310099; + //BA.debugLineNum = 59310099;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=59310100; + //BA.debugLineNum = 59310100;BA.debugLine="End Sub"; +return ""; +} +public int _getvalue(reparto_izca.keymon.lat.roundslider __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="roundslider"; +if (Debug.shouldDelegate(ba, "getvalue", true)) + {return ((Integer) Debug.delegate(ba, "getvalue", null));} +RDebugUtils.currentLine=59899904; + //BA.debugLineNum = 59899904;BA.debugLine="Public Sub getValue As Int"; +RDebugUtils.currentLine=59899905; + //BA.debugLineNum = 59899905;BA.debugLine="Return mValue"; +if (true) return __ref._mvalue /*int*/ ; +RDebugUtils.currentLine=59899906; + //BA.debugLineNum = 59899906;BA.debugLine="End Sub"; +return 0; +} +public String _initialize(reparto_izca.keymon.lat.roundslider __ref,anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="roundslider"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba,_callback,_eventname}));} +RDebugUtils.currentLine=59244544; + //BA.debugLineNum = 59244544;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +RDebugUtils.currentLine=59244545; + //BA.debugLineNum = 59244545;BA.debugLine="mEventName = EventName"; +__ref._meventname /*String*/ = _eventname; +RDebugUtils.currentLine=59244546; + //BA.debugLineNum = 59244546;BA.debugLine="mCallBack = Callback"; +__ref._mcallback /*Object*/ = _callback; +RDebugUtils.currentLine=59244547; + //BA.debugLineNum = 59244547;BA.debugLine="End Sub"; +return ""; +} +public String _pnl_touch(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=59703296; + //BA.debugLineNum = 59703296;BA.debugLine="Private Sub pnl_Touch (Action As Int, X As Float,"; +RDebugUtils.currentLine=59703297; + //BA.debugLineNum = 59703297;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 "";}; +RDebugUtils.currentLine=59703298; + //BA.debugLineNum = 59703298;BA.debugLine="Dim dx As Int = x - CircleRect.CenterX"; +_dx = (int) (_x-__ref._circlerect /*anywheresoftware.b4a.objects.B4XCanvas.B4XRect*/ .getCenterX()); +RDebugUtils.currentLine=59703299; + //BA.debugLineNum = 59703299;BA.debugLine="Dim dy As Int = y - CircleRect.CenterY"; +_dy = (int) (_y-__ref._circlerect /*anywheresoftware.b4a.objects.B4XCanvas.B4XRect*/ .getCenterY()); +RDebugUtils.currentLine=59703300; + //BA.debugLineNum = 59703300;BA.debugLine="Dim dist As Float = Sqrt(Power(dx, 2) + Power(dy,"; +_dist = (float) (__c.Sqrt(__c.Power(_dx,2)+__c.Power(_dy,2))); +RDebugUtils.currentLine=59703301; + //BA.debugLineNum = 59703301;BA.debugLine="If dist > CircleRect.Width / 2 Then"; +if (_dist>__ref._circlerect /*anywheresoftware.b4a.objects.B4XCanvas.B4XRect*/ .getWidth()/(double)2) { +RDebugUtils.currentLine=59703302; + //BA.debugLineNum = 59703302;BA.debugLine="Dim angle As Int = Round(ATan2D(dy, dx))"; +_angle = (int) (__c.Round(__c.ATan2D(_dy,_dx))); +RDebugUtils.currentLine=59703303; + //BA.debugLineNum = 59703303;BA.debugLine="angle = angle + 90"; +_angle = (int) (_angle+90); +RDebugUtils.currentLine=59703304; + //BA.debugLineNum = 59703304;BA.debugLine="angle = (angle + 360) Mod 360"; +_angle = (int) ((_angle+360)%360); +RDebugUtils.currentLine=59703305; + //BA.debugLineNum = 59703305;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=59703306; + //BA.debugLineNum = 59703306;BA.debugLine="NewValue = Max(mMin, Min(mMax, NewValue))"; +_newvalue = (int) (__c.Max(__ref._mmin /*int*/ ,__c.Min(__ref._mmax /*int*/ ,_newvalue))); +RDebugUtils.currentLine=59703307; + //BA.debugLineNum = 59703307;BA.debugLine="If NewValue <> mValue Then"; +if (_newvalue!=__ref._mvalue /*int*/ ) { +RDebugUtils.currentLine=59703308; + //BA.debugLineNum = 59703308;BA.debugLine="If mRollOver = False Then"; +if (__ref._mrollover /*boolean*/ ==__c.False) { +RDebugUtils.currentLine=59703309; + //BA.debugLineNum = 59703309;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=59703310; + //BA.debugLineNum = 59703310;BA.debugLine="If mValue >= (mMax + mMin) / 2 Then"; +if (__ref._mvalue /*int*/ >=(__ref._mmax /*int*/ +__ref._mmin /*int*/ )/(double)2) { +RDebugUtils.currentLine=59703311; + //BA.debugLineNum = 59703311;BA.debugLine="mValue = mMax"; +__ref._mvalue /*int*/ = __ref._mmax /*int*/ ; + }else { +RDebugUtils.currentLine=59703313; + //BA.debugLineNum = 59703313;BA.debugLine="mValue = mMin"; +__ref._mvalue /*int*/ = __ref._mmin /*int*/ ; + }; + }else { +RDebugUtils.currentLine=59703316; + //BA.debugLineNum = 59703316;BA.debugLine="mValue = NewValue"; +__ref._mvalue /*int*/ = _newvalue; + }; + }else { +RDebugUtils.currentLine=59703319; + //BA.debugLineNum = 59703319;BA.debugLine="mValue = NewValue"; +__ref._mvalue /*int*/ = _newvalue; + }; +RDebugUtils.currentLine=59703321; + //BA.debugLineNum = 59703321;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=59703322; + //BA.debugLineNum = 59703322;BA.debugLine="CallSub2(mCallBack, mEventName & \"_ValueChange"; +__c.CallSubNew2(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_ValueChanged",(Object)(__ref._mvalue /*int*/ )); + }; + }; +RDebugUtils.currentLine=59703325; + //BA.debugLineNum = 59703325;BA.debugLine="Draw"; +__ref._draw /*String*/ (null); + }; +RDebugUtils.currentLine=59703327; + //BA.debugLineNum = 59703327;BA.debugLine="End Sub"; +return ""; +} +public String _setcirclecolor(reparto_izca.keymon.lat.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=59441152; + //BA.debugLineNum = 59441152;BA.debugLine="Public Sub SetCircleColor (NonValueColor As Int, I"; +RDebugUtils.currentLine=59441153; + //BA.debugLineNum = 59441153;BA.debugLine="mCircleNonValueColor = NonValueColor"; +__ref._mcirclenonvaluecolor /*int*/ = _nonvaluecolor; +RDebugUtils.currentLine=59441154; + //BA.debugLineNum = 59441154;BA.debugLine="mCircleFillColor = InnerColor"; +__ref._mcirclefillcolor /*int*/ = _innercolor; +RDebugUtils.currentLine=59441155; + //BA.debugLineNum = 59441155;BA.debugLine="Draw"; +__ref._draw /*String*/ (null); +RDebugUtils.currentLine=59441156; + //BA.debugLineNum = 59441156;BA.debugLine="End Sub"; +return ""; +} +public String _setrange(reparto_izca.keymon.lat.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=59834368; + //BA.debugLineNum = 59834368;BA.debugLine="Public Sub SetRange(NewMin As Int, NewMax As Int)"; +RDebugUtils.currentLine=59834369; + //BA.debugLineNum = 59834369;BA.debugLine="mMin = NewMin"; +__ref._mmin /*int*/ = _newmin; +RDebugUtils.currentLine=59834370; + //BA.debugLineNum = 59834370;BA.debugLine="mMax = NewMax"; +__ref._mmax /*int*/ = _newmax; +RDebugUtils.currentLine=59834371; + //BA.debugLineNum = 59834371;BA.debugLine="setValue(mValue)"; +__ref._setvalue /*String*/ (null,__ref._mvalue /*int*/ ); +RDebugUtils.currentLine=59834372; + //BA.debugLineNum = 59834372;BA.debugLine="End Sub"; +return ""; +} +public String _setvalue(reparto_izca.keymon.lat.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=59768832; + //BA.debugLineNum = 59768832;BA.debugLine="Public Sub setValue (v As Int)"; +RDebugUtils.currentLine=59768833; + //BA.debugLineNum = 59768833;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=59768834; + //BA.debugLineNum = 59768834;BA.debugLine="Draw"; +__ref._draw /*String*/ (null); +RDebugUtils.currentLine=59768835; + //BA.debugLineNum = 59768835;BA.debugLine="End Sub"; +return ""; +} +public String _setthumbcolor(reparto_izca.keymon.lat.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=59375616; + //BA.debugLineNum = 59375616;BA.debugLine="Public Sub SetThumbColor(BorderColor As Int, Inner"; +RDebugUtils.currentLine=59375617; + //BA.debugLineNum = 59375617;BA.debugLine="mThumbBorderColor = BorderColor"; +__ref._mthumbbordercolor /*int*/ = _bordercolor; +RDebugUtils.currentLine=59375618; + //BA.debugLineNum = 59375618;BA.debugLine="mThumbInnerColor = InnerColor"; +__ref._mthumbinnercolor /*int*/ = _innercolor; +RDebugUtils.currentLine=59375619; + //BA.debugLineNum = 59375619;BA.debugLine="CreateThumb"; +__ref._createthumb /*String*/ (null); +RDebugUtils.currentLine=59375620; + //BA.debugLineNum = 59375620;BA.debugLine="Draw"; +__ref._draw /*String*/ (null); +RDebugUtils.currentLine=59375621; + //BA.debugLineNum = 59375621;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/scrollinglabel.java b/B4A/Objects/src/reparto_izca/keymon/lat/scrollinglabel.java new file mode 100644 index 0000000..713b65f --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/scrollinglabel.java @@ -0,0 +1,575 @@ +package reparto_izca.keymon.lat; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.B4AClass; +import anywheresoftware.b4a.BALayout; +import anywheresoftware.b4a.debug.*; + +public class scrollinglabel 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, "reparto_izca.keymon.lat.scrollinglabel"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", reparto_izca.keymon.lat.scrollinglabel.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 String _meventname = ""; +public Object _mcallback = null; +public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; +public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; +public String _mtext = ""; +public int _taskindex = 0; +public anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont _fnt = null; +public anywheresoftware.b4a.objects.B4XCanvas _cvs = null; +public Object _tag = null; +public int _widthpersecond = 0; +public int _startpositiondelay = 0; +public int _mtextcolor = 0; +public b4a.example.dateutils _dateutils = null; +public reparto_izca.keymon.lat.main _main = null; +public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; +public reparto_izca.keymon.lat.foto _foto = null; +public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_izca.keymon.lat.starter _starter = null; +public reparto_izca.keymon.lat.tracker _tracker = null; +public reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public String _base_resize(reparto_izca.keymon.lat.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=60162048; + //BA.debugLineNum = 60162048;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; +RDebugUtils.currentLine=60162049; + //BA.debugLineNum = 60162049;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=60162050; + //BA.debugLineNum = 60162050;BA.debugLine="setText(mText)"; +__ref._settext /*String*/ (null,__ref._mtext /*String*/ ); +RDebugUtils.currentLine=60162051; + //BA.debugLineNum = 60162051;BA.debugLine="End Sub"; +return ""; +} +public String _settext(reparto_izca.keymon.lat.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; +anywheresoftware.b4a.objects.B4XViewWrapper _xlbl = null; +float _originaltextwidth = 0f; +anywheresoftware.b4a.objects.LabelWrapper _lbl = null; +String _duplicatetext = ""; +float _width = 0f; +RDebugUtils.currentLine=60227584; + //BA.debugLineNum = 60227584;BA.debugLine="Public Sub setText(t As String)"; +RDebugUtils.currentLine=60227585; + //BA.debugLineNum = 60227585;BA.debugLine="Dim NeedToCreateNewLabel As Boolean = True"; +_needtocreatenewlabel = __c.True; +RDebugUtils.currentLine=60227586; + //BA.debugLineNum = 60227586;BA.debugLine="Dim parent As B4XView = mBase.GetView(0)"; +_parent = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_parent = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .GetView((int) (0)); +RDebugUtils.currentLine=60227587; + //BA.debugLineNum = 60227587;BA.debugLine="If parent.NumberOfViews > 0 Then"; +if (_parent.getNumberOfViews()>0) { +RDebugUtils.currentLine=60227589; + //BA.debugLineNum = 60227589;BA.debugLine="Dim p As B4XView = parent.GetView(0)"; +_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_p = _parent.GetView((int) (0)); +RDebugUtils.currentLine=60227590; + //BA.debugLineNum = 60227590;BA.debugLine="If p.Tag = \"static\" Then"; +if ((_p.getTag()).equals((Object)("static"))) { +RDebugUtils.currentLine=60227591; + //BA.debugLineNum = 60227591;BA.debugLine="NeedToCreateNewLabel = False"; +_needtocreatenewlabel = __c.False; +RDebugUtils.currentLine=60227592; + //BA.debugLineNum = 60227592;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, parent.Width, pare"; +_p.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_parent.getWidth(),_parent.getHeight()); +RDebugUtils.currentLine=60227593; + //BA.debugLineNum = 60227593;BA.debugLine="Dim xlbl As B4XView = p.GetView(0)"; +_xlbl = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_xlbl = _p.GetView((int) (0)); +RDebugUtils.currentLine=60227594; + //BA.debugLineNum = 60227594;BA.debugLine="xlbl.SetLayoutAnimated(0, 0, 0, parent.Width, p"; +_xlbl.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_parent.getWidth(),_parent.getHeight()); + }; + }; +RDebugUtils.currentLine=60227598; + //BA.debugLineNum = 60227598;BA.debugLine="Dim originalTextWidth As Float = MeasureTextWidth"; +_originaltextwidth = __ref._measuretextwidth /*float*/ (null,_t,__ref._fnt /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ ); +RDebugUtils.currentLine=60227599; + //BA.debugLineNum = 60227599;BA.debugLine="mText = t"; +__ref._mtext /*String*/ = _t; +RDebugUtils.currentLine=60227600; + //BA.debugLineNum = 60227600;BA.debugLine="If NeedToCreateNewLabel Then"; +if (_needtocreatenewlabel) { +RDebugUtils.currentLine=60227601; + //BA.debugLineNum = 60227601;BA.debugLine="parent.RemoveAllViews"; +_parent.RemoveAllViews(); +RDebugUtils.currentLine=60227602; + //BA.debugLineNum = 60227602;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=60227603; + //BA.debugLineNum = 60227603;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()); +RDebugUtils.currentLine=60227604; + //BA.debugLineNum = 60227604;BA.debugLine="Dim lbl As Label"; +_lbl = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=60227605; + //BA.debugLineNum = 60227605;BA.debugLine="lbl.Initialize(\"\")"; +_lbl.Initialize(ba,""); +RDebugUtils.currentLine=60227607; + //BA.debugLineNum = 60227607;BA.debugLine="lbl.SingleLine = True"; +_lbl.setSingleLine(__c.True); +RDebugUtils.currentLine=60227608; + //BA.debugLineNum = 60227608;BA.debugLine="lbl.Padding = Array As Int(0, 0, 0, 0)"; +_lbl.setPadding(new int[]{(int) (0),(int) (0),(int) (0),(int) (0)}); +RDebugUtils.currentLine=60227610; + //BA.debugLineNum = 60227610;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=60227611; + //BA.debugLineNum = 60227611;BA.debugLine="xlbl.SetTextAlignment(\"CENTER\", \"LEFT\")"; +_xlbl.SetTextAlignment("CENTER","LEFT"); +RDebugUtils.currentLine=60227612; + //BA.debugLineNum = 60227612;BA.debugLine="xlbl.Font = fnt"; +_xlbl.setFont(__ref._fnt /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ ); +RDebugUtils.currentLine=60227614; + //BA.debugLineNum = 60227614;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()); + }; +RDebugUtils.currentLine=60227616; + //BA.debugLineNum = 60227616;BA.debugLine="xlbl.TextColor = mTextColor"; +_xlbl.setTextColor(__ref._mtextcolor /*int*/ ); +RDebugUtils.currentLine=60227617; + //BA.debugLineNum = 60227617;BA.debugLine="If originalTextWidth <= mBase.Width Then"; +if (_originaltextwidth<=__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()) { +RDebugUtils.currentLine=60227618; + //BA.debugLineNum = 60227618;BA.debugLine="xlbl.Text = t"; +_xlbl.setText(BA.ObjectToCharSequence(_t)); +RDebugUtils.currentLine=60227619; + //BA.debugLineNum = 60227619;BA.debugLine="p.Tag = \"static\""; +_p.setTag((Object)("static")); +RDebugUtils.currentLine=60227620; + //BA.debugLineNum = 60227620;BA.debugLine="StopScrolling"; +__ref._stopscrolling /*String*/ (null); + }else { +RDebugUtils.currentLine=60227622; + //BA.debugLineNum = 60227622;BA.debugLine="p.Tag = \"\""; +_p.setTag((Object)("")); +RDebugUtils.currentLine=60227623; + //BA.debugLineNum = 60227623;BA.debugLine="Dim duplicateText As String = t & \" \" & t"; +_duplicatetext = _t+" "+_t; +RDebugUtils.currentLine=60227624; + //BA.debugLineNum = 60227624;BA.debugLine="Dim Width As Float = MeasureTextWidth(duplicateT"; +_width = __ref._measuretextwidth /*float*/ (null,_duplicatetext,__ref._fnt /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ ); +RDebugUtils.currentLine=60227625; + //BA.debugLineNum = 60227625;BA.debugLine="p.Width = Width"; +_p.setWidth((int) (_width)); +RDebugUtils.currentLine=60227626; + //BA.debugLineNum = 60227626;BA.debugLine="xlbl.Width = Width"; +_xlbl.setWidth((int) (_width)); +RDebugUtils.currentLine=60227627; + //BA.debugLineNum = 60227627;BA.debugLine="xlbl.Text = duplicateText"; +_xlbl.setText(BA.ObjectToCharSequence(_duplicatetext)); +RDebugUtils.currentLine=60227628; + //BA.debugLineNum = 60227628;BA.debugLine="StartScrolling (p, originalTextWidth)"; +__ref._startscrolling /*void*/ (null,_p,_originaltextwidth); + }; +RDebugUtils.currentLine=60227630; + //BA.debugLineNum = 60227630;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(reparto_izca.keymon.lat.scrollinglabel __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="scrollinglabel"; +RDebugUtils.currentLine=59965440; + //BA.debugLineNum = 59965440;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=59965441; + //BA.debugLineNum = 59965441;BA.debugLine="Private mEventName As String 'ignore"; +_meventname = ""; +RDebugUtils.currentLine=59965442; + //BA.debugLineNum = 59965442;BA.debugLine="Private mCallBack As Object 'ignore"; +_mcallback = new Object(); +RDebugUtils.currentLine=59965443; + //BA.debugLineNum = 59965443;BA.debugLine="Public mBase As B4XView"; +_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=59965444; + //BA.debugLineNum = 59965444;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=59965445; + //BA.debugLineNum = 59965445;BA.debugLine="Private mText As String"; +_mtext = ""; +RDebugUtils.currentLine=59965446; + //BA.debugLineNum = 59965446;BA.debugLine="Private taskIndex As Int"; +_taskindex = 0; +RDebugUtils.currentLine=59965447; + //BA.debugLineNum = 59965447;BA.debugLine="Private fnt As B4XFont"; +_fnt = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont(); +RDebugUtils.currentLine=59965448; + //BA.debugLineNum = 59965448;BA.debugLine="Private cvs As B4XCanvas"; +_cvs = new anywheresoftware.b4a.objects.B4XCanvas(); +RDebugUtils.currentLine=59965449; + //BA.debugLineNum = 59965449;BA.debugLine="Public Tag As Object"; +_tag = new Object(); +RDebugUtils.currentLine=59965450; + //BA.debugLineNum = 59965450;BA.debugLine="Public WidthPerSecond As Int = 100dip"; +_widthpersecond = __c.DipToCurrent((int) (100)); +RDebugUtils.currentLine=59965451; + //BA.debugLineNum = 59965451;BA.debugLine="Public StartPositionDelay As Int = 1000"; +_startpositiondelay = (int) (1000); +RDebugUtils.currentLine=59965452; + //BA.debugLineNum = 59965452;BA.debugLine="Private mTextColor As Int = xui.Color_Black"; +_mtextcolor = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Black; +RDebugUtils.currentLine=59965453; + //BA.debugLineNum = 59965453;BA.debugLine="End Sub"; +return ""; +} +public String _designercreateview(reparto_izca.keymon.lat.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=60096512; + //BA.debugLineNum = 60096512;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; +RDebugUtils.currentLine=60096513; + //BA.debugLineNum = 60096513;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=60096514; + //BA.debugLineNum = 60096514;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._tag /*Object*/ = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTag(); +RDebugUtils.currentLine=60096514; + //BA.debugLineNum = 60096514;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag(this); +RDebugUtils.currentLine=60096516; + //BA.debugLineNum = 60096516;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=60096517; + //BA.debugLineNum = 60096517;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=60096518; + //BA.debugLineNum = 60096518;BA.debugLine="mText = Lbl.Text"; +__ref._mtext /*String*/ = _lbl.getText(); +RDebugUtils.currentLine=60096519; + //BA.debugLineNum = 60096519;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=60096520; + //BA.debugLineNum = 60096520;BA.debugLine="fnt = l.Font"; +__ref._fnt /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ = _l.getFont(); +RDebugUtils.currentLine=60096521; + //BA.debugLineNum = 60096521;BA.debugLine="mTextColor = l.TextColor"; +__ref._mtextcolor /*int*/ = _l.getTextColor(); +RDebugUtils.currentLine=60096522; + //BA.debugLineNum = 60096522;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=60096523; + //BA.debugLineNum = 60096523;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=60096524; + //BA.debugLineNum = 60096524;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=60096525; + //BA.debugLineNum = 60096525;BA.debugLine="cvs.Initialize(p)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Initialize(_p); +RDebugUtils.currentLine=60096526; + //BA.debugLineNum = 60096526;BA.debugLine="setText(mText)"; +__ref._settext /*String*/ (null,__ref._mtext /*String*/ ); +RDebugUtils.currentLine=60096527; + //BA.debugLineNum = 60096527;BA.debugLine="End Sub"; +return ""; +} +public String _gettext(reparto_izca.keymon.lat.scrollinglabel __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="scrollinglabel"; +if (Debug.shouldDelegate(ba, "gettext", true)) + {return ((String) Debug.delegate(ba, "gettext", null));} +RDebugUtils.currentLine=60293120; + //BA.debugLineNum = 60293120;BA.debugLine="Public Sub getText As String"; +RDebugUtils.currentLine=60293121; + //BA.debugLineNum = 60293121;BA.debugLine="Return mText"; +if (true) return __ref._mtext /*String*/ ; +RDebugUtils.currentLine=60293122; + //BA.debugLineNum = 60293122;BA.debugLine="End Sub"; +return ""; +} +public int _gettextcolor(reparto_izca.keymon.lat.scrollinglabel __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="scrollinglabel"; +if (Debug.shouldDelegate(ba, "gettextcolor", true)) + {return ((Integer) Debug.delegate(ba, "gettextcolor", null));} +RDebugUtils.currentLine=60620800; + //BA.debugLineNum = 60620800;BA.debugLine="Public Sub getTextColor As Int"; +RDebugUtils.currentLine=60620801; + //BA.debugLineNum = 60620801;BA.debugLine="Return mTextColor"; +if (true) return __ref._mtextcolor /*int*/ ; +RDebugUtils.currentLine=60620802; + //BA.debugLineNum = 60620802;BA.debugLine="End Sub"; +return 0; +} +public String _initialize(reparto_izca.keymon.lat.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=60030976; + //BA.debugLineNum = 60030976;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +RDebugUtils.currentLine=60030977; + //BA.debugLineNum = 60030977;BA.debugLine="mEventName = EventName"; +__ref._meventname /*String*/ = _eventname; +RDebugUtils.currentLine=60030978; + //BA.debugLineNum = 60030978;BA.debugLine="mCallBack = Callback"; +__ref._mcallback /*Object*/ = _callback; +RDebugUtils.currentLine=60030979; + //BA.debugLineNum = 60030979;BA.debugLine="End Sub"; +return ""; +} +public float _measuretextwidth(reparto_izca.keymon.lat.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=60489728; + //BA.debugLineNum = 60489728;BA.debugLine="Private Sub MeasureTextWidth(s As String, font1 As"; +RDebugUtils.currentLine=60489729; + //BA.debugLineNum = 60489729;BA.debugLine="Return cvs.MeasureText(s, font1).Width"; +if (true) return __ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .MeasureText(_s,_font1).getWidth(); +RDebugUtils.currentLine=60489730; + //BA.debugLineNum = 60489730;BA.debugLine="End Sub"; +return 0f; +} +public String _stopscrolling(reparto_izca.keymon.lat.scrollinglabel __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="scrollinglabel"; +if (Debug.shouldDelegate(ba, "stopscrolling", true)) + {return ((String) Debug.delegate(ba, "stopscrolling", null));} +RDebugUtils.currentLine=60358656; + //BA.debugLineNum = 60358656;BA.debugLine="Private Sub StopScrolling"; +RDebugUtils.currentLine=60358657; + //BA.debugLineNum = 60358657;BA.debugLine="taskIndex = taskIndex + 1"; +__ref._taskindex /*int*/ = (int) (__ref._taskindex /*int*/ +1); +RDebugUtils.currentLine=60358658; + //BA.debugLineNum = 60358658;BA.debugLine="End Sub"; +return ""; +} +public void _startscrolling(reparto_izca.keymon.lat.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(reparto_izca.keymon.lat.scrollinglabel parent,reparto_izca.keymon.lat.scrollinglabel __ref,anywheresoftware.b4a.objects.B4XViewWrapper _p,float _originalwidth) { +this.parent = parent; +this.__ref = __ref; +this._p = _p; +this._originalwidth = _originalwidth; +this.__ref = parent; +} +reparto_izca.keymon.lat.scrollinglabel __ref; +reparto_izca.keymon.lat.scrollinglabel parent; +anywheresoftware.b4a.objects.B4XViewWrapper _p; +float _originalwidth; +int _myindex = 0; +int _duration = 0; + +@Override +public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="scrollinglabel"; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +RDebugUtils.currentLine=60424193; + //BA.debugLineNum = 60424193;BA.debugLine="taskIndex = taskIndex + 1"; +__ref._taskindex /*int*/ = (int) (__ref._taskindex /*int*/ +1); +RDebugUtils.currentLine=60424194; + //BA.debugLineNum = 60424194;BA.debugLine="Dim myIndex As Int = taskIndex"; +_myindex = __ref._taskindex /*int*/ ; +RDebugUtils.currentLine=60424195; + //BA.debugLineNum = 60424195;BA.debugLine="Dim duration As Int = p.Width / WidthPerSecond *"; +_duration = (int) (_p.getWidth()/(double)__ref._widthpersecond /*int*/ *1000); +RDebugUtils.currentLine=60424196; + //BA.debugLineNum = 60424196;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; +; +RDebugUtils.currentLine=60424197; + //BA.debugLineNum = 60424197;BA.debugLine="If myIndex <> taskIndex Then Return"; +if (true) break; + +case 1: +//if +this.state = 6; +if (_myindex!=__ref._taskindex /*int*/ ) { +this.state = 3; +;}if (true) break; + +case 3: +//C +this.state = 6; +if (true) return ; +if (true) break; + +case 6: +//C +this.state = 7; +; +RDebugUtils.currentLine=60424198; + //BA.debugLineNum = 60424198;BA.debugLine="Do While True"; +if (true) break; + +case 7: +//do while +this.state = 22; +while (parent.__c.True) { +this.state = 9; +if (true) break; +} +if (true) break; + +case 9: +//C +this.state = 10; +RDebugUtils.currentLine=60424199; + //BA.debugLineNum = 60424199;BA.debugLine="p.SetLayoutAnimated(duration, -(p.Width - Origin"; +_p.SetLayoutAnimated(_duration,(int) (-(_p.getWidth()-_originalwidth)),_p.getTop(),_p.getWidth(),_p.getHeight()); +RDebugUtils.currentLine=60424200; + //BA.debugLineNum = 60424200;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; +; +RDebugUtils.currentLine=60424201; + //BA.debugLineNum = 60424201;BA.debugLine="If myIndex <> taskIndex Then Return"; +if (true) break; + +case 10: +//if +this.state = 15; +if (_myindex!=__ref._taskindex /*int*/ ) { +this.state = 12; +;}if (true) break; + +case 12: +//C +this.state = 15; +if (true) return ; +if (true) break; + +case 15: +//C +this.state = 16; +; +RDebugUtils.currentLine=60424202; + //BA.debugLineNum = 60424202;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; +; +RDebugUtils.currentLine=60424203; + //BA.debugLineNum = 60424203;BA.debugLine="If myIndex <> taskIndex Then Return"; +if (true) break; + +case 16: +//if +this.state = 21; +if (_myindex!=__ref._taskindex /*int*/ ) { +this.state = 18; +;}if (true) break; + +case 18: +//C +this.state = 21; +if (true) return ; +if (true) break; + +case 21: +//C +this.state = 7; +; +RDebugUtils.currentLine=60424204; + //BA.debugLineNum = 60424204;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; + +case 22: +//C +this.state = -1; +; +RDebugUtils.currentLine=60424206; + //BA.debugLineNum = 60424206;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public String _settextcolor(reparto_izca.keymon.lat.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=60555264; + //BA.debugLineNum = 60555264;BA.debugLine="Public Sub setTextColor(c As Int)"; +RDebugUtils.currentLine=60555265; + //BA.debugLineNum = 60555265;BA.debugLine="mTextColor = c"; +__ref._mtextcolor /*int*/ = _c; +RDebugUtils.currentLine=60555266; + //BA.debugLineNum = 60555266;BA.debugLine="setText(mText)"; +__ref._settext /*String*/ (null,__ref._mtext /*String*/ ); +RDebugUtils.currentLine=60555267; + //BA.debugLineNum = 60555267;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/starter.java b/B4A/Objects/src/reparto_izca/keymon/lat/starter.java new file mode 100644 index 0000000..91d52ad --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/starter.java @@ -0,0 +1,413 @@ +package reparto_izca.keymon.lat; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.objects.ServiceHelper; +import anywheresoftware.b4a.debug.*; + +public class starter extends android.app.Service{ + public static class starter_BR extends android.content.BroadcastReceiver { + + @Override + public void onReceive(android.content.Context context, android.content.Intent intent) { + BA.LogInfo("** Receiver (starter) OnReceive **"); + 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, anywheresoftware.b4a.ShellBA.class); + } + + } + static starter mostCurrent; + public static BA processBA; + private ServiceHelper _service; + public static Class getObject() { + return starter.class; + } + @Override + public void onCreate() { + super.onCreate(); + mostCurrent = this; + if (processBA == null) { + processBA = new anywheresoftware.b4a.ShellBA(this, null, null, "reparto_izca.keymon.lat", "reparto_izca.keymon.lat.starter"); + if (BA.isShellModeRuntimeCheck(processBA)) { + processBA.raiseEvent2(null, true, "SHELL", false); + } + try { + Class.forName(BA.applicationContext.getPackageName() + ".main").getMethod("initializeProcessGlobals").invoke(null, null); + } catch (Exception e) { + throw new RuntimeException(e); + } + processBA.loadHtSubs(this.getClass()); + ServiceHelper.init(); + } + _service = new ServiceHelper(this); + processBA.service = this; + + if (BA.isShellModeRuntimeCheck(processBA)) { + processBA.raiseEvent2(null, true, "CREATE", true, "reparto_izca.keymon.lat.starter", processBA, _service, anywheresoftware.b4a.keywords.Common.Density); + } + if (!true && ServiceHelper.StarterHelper.startFromServiceCreate(processBA, false) == false) { + + } + else { + processBA.setActivityPaused(false); + BA.LogInfo("*** Service (starter) Create ***"); + processBA.raiseEvent(null, "service_create"); + } + processBA.runHook("oncreate", this, null); + if (true) { + if (ServiceHelper.StarterHelper.runWaitForLayouts() == false) { + BA.LogInfo("stopping spontaneous created service"); + stopSelf(); + } + } + } + @Override + public void onStart(android.content.Intent intent, int startId) { + onStartCommand(intent, 0, 0); + } + @Override + public int onStartCommand(final android.content.Intent intent, int flags, int startId) { + if (ServiceHelper.StarterHelper.onStartCommand(processBA, new Runnable() { + public void run() { + handleStart(intent); + }})) + ; + else { + ServiceHelper.StarterHelper.addWaitForLayout (new Runnable() { + public void run() { + processBA.setActivityPaused(false); + BA.LogInfo("** Service (starter) Create **"); + processBA.raiseEvent(null, "service_create"); + handleStart(intent); + ServiceHelper.StarterHelper.removeWaitForLayout(); + } + }); + } + processBA.runHook("onstartcommand", this, new Object[] {intent, flags, startId}); + return android.app.Service.START_NOT_STICKY; + } + public void onTaskRemoved(android.content.Intent rootIntent) { + super.onTaskRemoved(rootIntent); + if (true) + processBA.raiseEvent(null, "service_taskremoved"); + + } + private void handleStart(android.content.Intent intent) { + BA.LogInfo("** Service (starter) Start **"); + java.lang.reflect.Method startEvent = processBA.htSubs.get("service_start"); + if (startEvent != null) { + if (startEvent.getParameterTypes().length > 0) { + anywheresoftware.b4a.objects.IntentWrapper iw = ServiceHelper.StarterHelper.handleStartIntent(intent, _service, processBA); + processBA.raiseEvent(null, "service_start", iw); + } + else { + processBA.raiseEvent(null, "service_start"); + } + } + } + + @Override + public void onDestroy() { + super.onDestroy(); + if (true) { + BA.LogInfo("** Service (starter) Destroy (ignored)**"); + } + else { + BA.LogInfo("** Service (starter) Destroy **"); + processBA.raiseEvent(null, "service_destroy"); + processBA.service = null; + mostCurrent = null; + processBA.setActivityPaused(true); + processBA.runHook("ondestroy", this, null); + } + } + +@Override + public android.os.IBinder onBind(android.content.Intent intent) { + return null; + } +public anywheresoftware.b4a.keywords.Common __c = null; +public static anywheresoftware.b4a.objects.RuntimePermissions _rp = null; +public static uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper _flp = null; +public static boolean _flpstarted = false; +public static anywheresoftware.b4a.sql.SQL _skmt = null; +public static String _ruta = ""; +public static anywheresoftware.b4a.objects.Serial.BluetoothAdmin _btadmin = null; +public static boolean _bluetoothstate = false; +public static anywheresoftware.b4a.objects.Timer _timer1 = null; +public static int _interval = 0; +public static String _trackeractividad = ""; +public static String _pushserviceactividad = ""; +public static String _mac_impresora = ""; +public static anywheresoftware.b4a.keywords.StringBuilderWrapper _logs = null; +public static anywheresoftware.b4a.phone.Phone.LogCat _logcat = null; +public static String _sharedfolder = ""; +public static anywheresoftware.b4a.gps.LocationWrapper _cedislocation = null; +public static reparto_izca.keymon.lat.dbrequestmanager _reqmanager = null; +public static String _server = ""; +public static String _muestraprogreso = ""; +public static anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; +public b4a.example.dateutils _dateutils = null; +public reparto_izca.keymon.lat.main _main = null; +public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; +public reparto_izca.keymon.lat.foto _foto = null; +public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_izca.keymon.lat.tracker _tracker = null; +public reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +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));} +reparto_izca.keymon.lat.dbrequestmanager._dbcommand _cmd = null; +RDebugUtils.currentLine=72810496; + //BA.debugLineNum = 72810496;BA.debugLine="Sub ENVIA_ULTIMA_GPS"; +RDebugUtils.currentLine=72810497; + //BA.debugLineNum = 72810497;BA.debugLine="If IsConnectedToInternet Then"; +if (_isconnectedtointernet()) { +RDebugUtils.currentLine=72810498; + //BA.debugLineNum = 72810498;BA.debugLine="Log(\"Con internet, enviamos UTR!\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("872810498","Con internet, enviamos UTR!",0); +RDebugUtils.currentLine=72810499; + //BA.debugLineNum = 72810499;BA.debugLine="Dim skmt As SQL"; +_skmt = new anywheresoftware.b4a.sql.SQL(); +RDebugUtils.currentLine=72810500; + //BA.debugLineNum = 72810500;BA.debugLine="Dim cmd As DBCommand"; +_cmd = new reparto_izca.keymon.lat.dbrequestmanager._dbcommand(); +RDebugUtils.currentLine=72810501; + //BA.debugLineNum = 72810501;BA.debugLine="Dim reqManager As DBRequestManager"; +_reqmanager = new reparto_izca.keymon.lat.dbrequestmanager(); +RDebugUtils.currentLine=72810502; + //BA.debugLineNum = 72810502;BA.debugLine="reqManager.Initialize(Me, server)"; +_reqmanager._initialize /*String*/ (null,processBA,starter.getObject(),_server); +RDebugUtils.currentLine=72810504; + //BA.debugLineNum = 72810504;BA.debugLine="skmt.Initialize(ruta,\"kmt.db\", True)"; +_skmt.Initialize(_ruta,"kmt.db",anywheresoftware.b4a.keywords.Common.True); +RDebugUtils.currentLine=72810506; + //BA.debugLineNum = 72810506;BA.debugLine="skmt.Initialize(ruta,\"kmt.db\", True)"; +_skmt.Initialize(_ruta,"kmt.db",anywheresoftware.b4a.keywords.Common.True); +RDebugUtils.currentLine=72810514; + //BA.debugLineNum = 72810514;BA.debugLine="If B4XPages.MainPage.logger Then LogColor(\"Inici"; +if (mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { +anywheresoftware.b4a.keywords.Common.LogImpl("872810514","Iniciamos ENVIA_ULTIMA_GPS",anywheresoftware.b4a.keywords.Common.Colors.Red);}; +RDebugUtils.currentLine=72810515; + //BA.debugLineNum = 72810515;BA.debugLine="DateTime.TimeFormat = \"HHmmss\""; +anywheresoftware.b4a.keywords.Common.DateTime.setTimeFormat("HHmmss"); +RDebugUtils.currentLine=72810516; + //BA.debugLineNum = 72810516;BA.debugLine="B4XPages.MainPage.ultimaActualizacionGPS = DateT"; +mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._ultimaactualizaciongps /*String*/ = anywheresoftware.b4a.keywords.Common.DateTime.Time(anywheresoftware.b4a.keywords.Common.DateTime.getNow()); +RDebugUtils.currentLine=72810517; + //BA.debugLineNum = 72810517;BA.debugLine="cmd.Initialize"; +_cmd.Initialize(); +RDebugUtils.currentLine=72810518; + //BA.debugLineNum = 72810518;BA.debugLine="cmd.Name = \"select_fechat\""; +_cmd.Name /*String*/ = "select_fechat"; +RDebugUtils.currentLine=72810519; + //BA.debugLineNum = 72810519;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"fechat\")"; +_reqmanager._executequery /*String*/ (null,_cmd,(int) (0),(Object)("fechat")); +RDebugUtils.currentLine=72810521; + //BA.debugLineNum = 72810521;BA.debugLine="Log(B4XPages.MainPage.montoActual&\" , \" &B4XPa"; +anywheresoftware.b4a.keywords.Common.LogImpl("872810521",mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._montoactual /*String*/ +" , "+mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._clientestotal /*String*/ +" , "+mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._visitadostotales /*String*/ +" , "+mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._monto_entregadoactual /*String*/ +" , "+mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._entregas /*String*/ +" , "+mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._porvisitar /*String*/ +" , "+mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._rechazos /*String*/ +" , "+mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._lat_gps /*String*/ +" , "+mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._lon_gps /*String*/ +" , "+BA.NumberToString(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._batt /*int*/ )+" , "+anywheresoftware.b4a.keywords.Common.Application.getVersionName()+" , "+mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._almacen /*String*/ +" , "+mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._rutapreventa /*String*/ ,0); +RDebugUtils.currentLine=72810522; + //BA.debugLineNum = 72810522;BA.debugLine="Dim cmd As DBCommand"; +_cmd = new reparto_izca.keymon.lat.dbrequestmanager._dbcommand(); +RDebugUtils.currentLine=72810523; + //BA.debugLineNum = 72810523;BA.debugLine="cmd.Initialize"; +_cmd.Initialize(); +RDebugUtils.currentLine=72810524; + //BA.debugLineNum = 72810524;BA.debugLine="cmd.Name = \"UPDATE_IZCA_ACTUALR2_GPS\""; +_cmd.Name /*String*/ = "UPDATE_IZCA_ACTUALR2_GPS"; +RDebugUtils.currentLine=72810526; + //BA.debugLineNum = 72810526;BA.debugLine="cmd.Parameters = Array As Object(B4XPages.MainPa"; +_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._montoactual /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._clientestotal /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._visitadostotales /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._monto_entregadoactual /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._entregas /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._porvisitar /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._rechazos /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._lat_gps /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._lon_gps /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._batt /*int*/ ),(Object)(anywheresoftware.b4a.keywords.Common.Application.getVersionName()),(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._almacen /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._rutapreventa /*String*/ )}; +RDebugUtils.currentLine=72810527; + //BA.debugLineNum = 72810527;BA.debugLine="If B4XPages.MainPage.logger Then Log($\"montoActu"; +if (mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { +anywheresoftware.b4a.keywords.Common.LogImpl("872810527",("montoActual: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._montoactual /*String*/ ))+", cTotal: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._clientestotal /*String*/ ))+", cVenta: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._clientesventa /*String*/ ))+", cVisitados: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._clientesvisitados /*String*/ ))+", "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._lat_gps /*String*/ ))+", "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._lon_gps /*String*/ ))+", Batt: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._batt /*int*/ ))+", montoRechazado: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._montorechazado /*String*/ ))+", montoEntregado: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._montoentregado /*String*/ ))+", porVisitar: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._porvisitar /*String*/ ))+", entregas: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._entregas /*String*/ ))+", rechazos: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._rechazos /*String*/ ))+", Almacen: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._almacen /*String*/ ))+", Ruta: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._rutapreventa /*String*/ ))+""),0);}; +RDebugUtils.currentLine=72810529; + //BA.debugLineNum = 72810529;BA.debugLine="reqManager.ExecuteCommand(cmd, \"inst_visitas\")"; +_reqmanager._executecommand /*String*/ (null,_cmd,(Object)("inst_visitas")); +RDebugUtils.currentLine=72810530; + //BA.debugLineNum = 72810530;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"})); +RDebugUtils.currentLine=72810533; + //BA.debugLineNum = 72810533;BA.debugLine="Timer1.Enabled = False"; +_timer1.setEnabled(anywheresoftware.b4a.keywords.Common.False); +RDebugUtils.currentLine=72810534; + //BA.debugLineNum = 72810534;BA.debugLine="Timer1.Interval = Interval * 1000"; +_timer1.setInterval((long) (_interval*1000)); +RDebugUtils.currentLine=72810535; + //BA.debugLineNum = 72810535;BA.debugLine="Timer1.Enabled = True"; +_timer1.setEnabled(anywheresoftware.b4a.keywords.Common.True); + }else { +RDebugUtils.currentLine=72810537; + //BA.debugLineNum = 72810537;BA.debugLine="Log(\"Sin conexión a internet, no se envió UTR!\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("872810537","Sin conexión a internet, no se envió UTR!",0); + }; +RDebugUtils.currentLine=72810539; + //BA.debugLineNum = 72810539;BA.debugLine="End Sub"; +return ""; +} +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}));} +RDebugUtils.currentLine=72613888; + //BA.debugLineNum = 72613888;BA.debugLine="Sub Application_Error (Error As Exception, StackTr"; +RDebugUtils.currentLine=72613889; + //BA.debugLineNum = 72613889;BA.debugLine="Return True"; +if (true) return anywheresoftware.b4a.keywords.Common.True; +RDebugUtils.currentLine=72613890; + //BA.debugLineNum = 72613890;BA.debugLine="End Sub"; +return false; +} +public static boolean _isconnectedtointernet() throws Exception{ +RDebugUtils.currentModule="starter"; +if (Debug.shouldDelegate(processBA, "isconnectedtointernet", false)) + {return ((Boolean) Debug.delegate(processBA, "isconnectedtointernet", null));} +anywheresoftware.b4a.agraham.reflection.Reflection _r = null; +RDebugUtils.currentLine=72876032; + //BA.debugLineNum = 72876032;BA.debugLine="Sub IsConnectedToInternet As Boolean 'ignore"; +RDebugUtils.currentLine=72876033; + //BA.debugLineNum = 72876033;BA.debugLine="Dim r As Reflector"; +_r = new anywheresoftware.b4a.agraham.reflection.Reflection(); +RDebugUtils.currentLine=72876034; + //BA.debugLineNum = 72876034;BA.debugLine="r.Target = r.GetContext"; +_r.Target = (Object)(_r.GetContext(processBA)); +RDebugUtils.currentLine=72876035; + //BA.debugLineNum = 72876035;BA.debugLine="r.Target = r.RunMethod2(\"getSystemService\", \"conn"; +_r.Target = _r.RunMethod2("getSystemService","connectivity","java.lang.String"); +RDebugUtils.currentLine=72876036; + //BA.debugLineNum = 72876036;BA.debugLine="r.Target = r.RunMethod(\"getActiveNetworkInfo\")"; +_r.Target = _r.RunMethod("getActiveNetworkInfo"); +RDebugUtils.currentLine=72876037; + //BA.debugLineNum = 72876037;BA.debugLine="If r.Target <> Null Then"; +if (_r.Target!= null) { +RDebugUtils.currentLine=72876038; + //BA.debugLineNum = 72876038;BA.debugLine="Return r.RunMethod(\"isConnectedOrConnecting\")"; +if (true) return BA.ObjectToBoolean(_r.RunMethod("isConnectedOrConnecting")); + }; +RDebugUtils.currentLine=72876040; + //BA.debugLineNum = 72876040;BA.debugLine="Return False"; +if (true) return anywheresoftware.b4a.keywords.Common.False; +RDebugUtils.currentLine=72876041; + //BA.debugLineNum = 72876041;BA.debugLine="End Sub"; +return false; +} +public static String _jobdone(reparto_izca.keymon.lat.httpjob _job) throws Exception{ +RDebugUtils.currentModule="starter"; +if (Debug.shouldDelegate(processBA, "jobdone", false)) + {return ((String) Debug.delegate(processBA, "jobdone", new Object[] {_job}));} +RDebugUtils.currentLine=72941568; + //BA.debugLineNum = 72941568;BA.debugLine="Sub JobDone(Job As HttpJob)"; +RDebugUtils.currentLine=72941572; + //BA.debugLineNum = 72941572;BA.debugLine="If Job.Success = False Then"; +if (_job._success /*boolean*/ ==anywheresoftware.b4a.keywords.Common.False) { +RDebugUtils.currentLine=72941574; + //BA.debugLineNum = 72941574;BA.debugLine="If Job.ErrorMessage.Contains(\"failed to connect\""; +if (_job._errormessage /*String*/ .contains("failed to connect") || _job._errormessage /*String*/ .contains("Failed to connect")) { +RDebugUtils.currentLine=72941575; + //BA.debugLineNum = 72941575;BA.debugLine="ToastMessageShow(\"!Hubo un error contactando al"; +anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("!Hubo un error contactando al servidor, por favor revise su conexión!"),anywheresoftware.b4a.keywords.Common.True); + }; + }else { + }; +RDebugUtils.currentLine=72941581; + //BA.debugLineNum = 72941581;BA.debugLine="End Sub"; +return ""; +} +public static String _service_create() throws Exception{ +RDebugUtils.currentModule="starter"; +if (Debug.shouldDelegate(processBA, "service_create", false)) + {return ((String) Debug.delegate(processBA, "service_create", null));} +RDebugUtils.currentLine=72417280; + //BA.debugLineNum = 72417280;BA.debugLine="Sub Service_Create"; +RDebugUtils.currentLine=72417283; + //BA.debugLineNum = 72417283;BA.debugLine="ruta = File.DirInternal 'Ruta de la base de datos"; +_ruta = anywheresoftware.b4a.keywords.Common.File.getDirInternal(); +RDebugUtils.currentLine=72417285; + //BA.debugLineNum = 72417285;BA.debugLine="If Not(File.Exists(ruta, \"kmt.db\")) Then File.Cop"; +if (anywheresoftware.b4a.keywords.Common.Not(anywheresoftware.b4a.keywords.Common.File.Exists(_ruta,"kmt.db"))) { +anywheresoftware.b4a.keywords.Common.File.Copy(anywheresoftware.b4a.keywords.Common.File.getDirAssets(),"kmt.db",_ruta,"kmt.db");}; +RDebugUtils.currentLine=72417286; + //BA.debugLineNum = 72417286;BA.debugLine="Log(ruta)"; +anywheresoftware.b4a.keywords.Common.LogImpl("872417286",_ruta,0); +RDebugUtils.currentLine=72417287; + //BA.debugLineNum = 72417287;BA.debugLine="skmt.Initialize(ruta,\"kmt.db\", True)"; +_skmt.Initialize(_ruta,"kmt.db",anywheresoftware.b4a.keywords.Common.True); +RDebugUtils.currentLine=72417301; + //BA.debugLineNum = 72417301;BA.debugLine="Timer1.Initialize(\"Timer1\", Interval * 1000)"; +_timer1.Initialize(processBA,"Timer1",(long) (_interval*1000)); +RDebugUtils.currentLine=72417302; + //BA.debugLineNum = 72417302;BA.debugLine="Timer1.Enabled = True"; +_timer1.setEnabled(anywheresoftware.b4a.keywords.Common.True); +RDebugUtils.currentLine=72417303; + //BA.debugLineNum = 72417303;BA.debugLine="SharedFolder = rp.GetSafeDirDefaultExternal(\"\")"; +_sharedfolder = _rp.GetSafeDirDefaultExternal(""); +RDebugUtils.currentLine=72417304; + //BA.debugLineNum = 72417304;BA.debugLine="cedisLocation.Initialize"; +_cedislocation.Initialize(); +RDebugUtils.currentLine=72417307; + //BA.debugLineNum = 72417307;BA.debugLine="cedisLocation.Latitude = \"0\""; +_cedislocation.setLatitude((double)(Double.parseDouble("0"))); +RDebugUtils.currentLine=72417308; + //BA.debugLineNum = 72417308;BA.debugLine="cedisLocation.Longitude = \"0\""; +_cedislocation.setLongitude((double)(Double.parseDouble("0"))); +RDebugUtils.currentLine=72417309; + //BA.debugLineNum = 72417309;BA.debugLine="End Sub"; +return ""; +} +public static String _service_destroy() throws Exception{ +RDebugUtils.currentModule="starter"; +if (Debug.shouldDelegate(processBA, "service_destroy", false)) + {return ((String) Debug.delegate(processBA, "service_destroy", null));} +RDebugUtils.currentLine=72679424; + //BA.debugLineNum = 72679424;BA.debugLine="Sub Service_Destroy"; +RDebugUtils.currentLine=72679426; + //BA.debugLineNum = 72679426;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}));} +RDebugUtils.currentLine=72482816; + //BA.debugLineNum = 72482816;BA.debugLine="Sub Service_Start (StartingIntent As Intent)"; +RDebugUtils.currentLine=72482817; + //BA.debugLineNum = 72482817;BA.debugLine="Service.StopAutomaticForeground 'Starter service"; +mostCurrent._service.StopAutomaticForeground(); +RDebugUtils.currentLine=72482821; + //BA.debugLineNum = 72482821;BA.debugLine="End Sub"; +return ""; +} +public static String _service_taskremoved() throws Exception{ +RDebugUtils.currentModule="starter"; +if (Debug.shouldDelegate(processBA, "service_taskremoved", false)) + {return ((String) Debug.delegate(processBA, "service_taskremoved", null));} +RDebugUtils.currentLine=72548352; + //BA.debugLineNum = 72548352;BA.debugLine="Sub Service_TaskRemoved"; +RDebugUtils.currentLine=72548354; + //BA.debugLineNum = 72548354;BA.debugLine="End Sub"; +return ""; +} +public static String _timer1_tick() throws Exception{ +RDebugUtils.currentModule="starter"; +if (Debug.shouldDelegate(processBA, "timer1_tick", false)) + {return ((String) Debug.delegate(processBA, "timer1_tick", null));} +RDebugUtils.currentLine=72744960; + //BA.debugLineNum = 72744960;BA.debugLine="Private Sub Timer1_Tick"; +RDebugUtils.currentLine=72744963; + //BA.debugLineNum = 72744963;BA.debugLine="ENVIA_ULTIMA_GPS"; +_envia_ultima_gps(); +RDebugUtils.currentLine=72744964; + //BA.debugLineNum = 72744964;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/subs.java b/B4A/Objects/src/reparto_izca/keymon/lat/subs.java new file mode 100644 index 0000000..2b9994a --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/subs.java @@ -0,0 +1,2604 @@ +package reparto_izca.keymon.lat; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.BALayout; +import anywheresoftware.b4a.debug.*; + +public class subs { +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 static de.donmanfred.GZipStringswrapper _gzip = null; +public static anywheresoftware.b4a.objects.StringUtils _su = null; +public static anywheresoftware.b4a.phone.Phone _phn = null; +public static String _devmodel = ""; +public static anywheresoftware.b4a.sql.SQL _kmt = null; +public static anywheresoftware.b4a.sql.SQL _errorlog = null; +public static String _ssid = ""; +public static int _rutamaxpoints = 0; +public static int _rutahrsatras = 0; +public b4a.example.dateutils _dateutils = null; +public reparto_izca.keymon.lat.main _main = null; +public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.foto _foto = null; +public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_izca.keymon.lat.starter _starter = null; +public reparto_izca.keymon.lat.tracker _tracker = null; +public reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +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=19333120; + //BA.debugLineNum = 19333120;BA.debugLine="Sub panelVisible(panel As Panel, top As Int, left"; +RDebugUtils.currentLine=19333121; + //BA.debugLineNum = 19333121;BA.debugLine="panel.BringToFront"; +_panel.BringToFront(); +RDebugUtils.currentLine=19333122; + //BA.debugLineNum = 19333122;BA.debugLine="panel.Visible = True"; +_panel.setVisible(anywheresoftware.b4a.keywords.Common.True); +RDebugUtils.currentLine=19333123; + //BA.debugLineNum = 19333123;BA.debugLine="panel.Top = top"; +_panel.setTop(_top); +RDebugUtils.currentLine=19333124; + //BA.debugLineNum = 19333124;BA.debugLine="panel.Left = left"; +_panel.setLeft(_left); +RDebugUtils.currentLine=19333125; + //BA.debugLineNum = 19333125;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=19660800; + //BA.debugLineNum = 19660800;BA.debugLine="Sub centraPanel(elemento As Panel, anchoElementoSu"; +RDebugUtils.currentLine=19660801; + //BA.debugLineNum = 19660801;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=19660802; + //BA.debugLineNum = 19660802;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=21037056; + //BA.debugLineNum = 21037056;BA.debugLine="Sub agregaColumna(tabla As String, columna As Stri"; +RDebugUtils.currentLine=21037057; + //BA.debugLineNum = 21037057;BA.debugLine="Try 'Intentamos usar \"pragma_table_info\" para rev"; +try {RDebugUtils.currentLine=21037058; + //BA.debugLineNum = 21037058;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery($\"S"; +_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 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=21037059; + //BA.debugLineNum = 21037059;BA.debugLine="c.Position = 0"; +_c.setPosition((int) (0)); +RDebugUtils.currentLine=21037060; + //BA.debugLineNum = 21037060;BA.debugLine="If c.GetString(\"fCol\") = 0 Then 'Si no esta la c"; +if ((_c.GetString("fCol")).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=21037061; + //BA.debugLineNum = 21037061;BA.debugLine="Starter.skmt.ExecNonQuery($\"ALTER TABLE ${tabla"; +mostCurrent._starter._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=21037062; + //BA.debugLineNum = 21037062;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a"; +anywheresoftware.b4a.keywords.Common.LogImpl("821037062",("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=21037065; + //BA.debugLineNum = 21037065;BA.debugLine="Try"; +try {RDebugUtils.currentLine=21037066; + //BA.debugLineNum = 21037066;BA.debugLine="Starter.skmt.ExecNonQuery($\"ALTER TABLE ${tabla"; +mostCurrent._starter._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=21037067; + //BA.debugLineNum = 21037067;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a"; +anywheresoftware.b4a.keywords.Common.LogImpl("821037067",("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=21037069; + //BA.debugLineNum = 21037069;BA.debugLine="Log(LastException)"; +anywheresoftware.b4a.keywords.Common.LogImpl("821037069",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0); + }; + }; +RDebugUtils.currentLine=21037072; + //BA.debugLineNum = 21037072;BA.debugLine="End Sub"; +return ""; +} +public static String _centraboton(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.ButtonWrapper _elemento,int _anchoelementosuperior) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "centraboton", false)) + {return ((String) Debug.delegate(null, "centraboton", new Object[] {_ba,_elemento,_anchoelementosuperior}));} +RDebugUtils.currentLine=19791872; + //BA.debugLineNum = 19791872;BA.debugLine="Sub centraBoton(elemento As Button, anchoElementoS"; +RDebugUtils.currentLine=19791873; + //BA.debugLineNum = 19791873;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=19791874; + //BA.debugLineNum = 19791874;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=21168128; + //BA.debugLineNum = 21168128;BA.debugLine="Sub traeAlmacen As String 'ignore"; +RDebugUtils.currentLine=21168129; + //BA.debugLineNum = 21168129;BA.debugLine="Private c As Cursor"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=21168130; + //BA.debugLineNum = 21168130;BA.debugLine="Private a As String"; +_a = ""; +RDebugUtils.currentLine=21168131; + //BA.debugLineNum = 21168131;BA.debugLine="c = Starter.skmt.ExecQuery(\"select ID_ALMACEN fro"; +_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 ID_ALMACEN from CAT_ALMACEN"))); +RDebugUtils.currentLine=21168132; + //BA.debugLineNum = 21168132;BA.debugLine="c.Position = 0"; +_c.setPosition((int) (0)); +RDebugUtils.currentLine=21168133; + //BA.debugLineNum = 21168133;BA.debugLine="a = C.GetString(\"ID_ALMACEN\")"; +_a = _c.GetString("ID_ALMACEN"); +RDebugUtils.currentLine=21168134; + //BA.debugLineNum = 21168134;BA.debugLine="c.Close"; +_c.Close(); +RDebugUtils.currentLine=21168135; + //BA.debugLineNum = 21168135;BA.debugLine="Return a"; +if (true) return _a; +RDebugUtils.currentLine=21168136; + //BA.debugLineNum = 21168136;BA.debugLine="End Sub"; +return ""; +} +public static anywheresoftware.b4a.objects.collections.Map _traecantymonto2(anywheresoftware.b4a.BA _ba,String _cliente) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traecantymonto2", false)) + {return ((anywheresoftware.b4a.objects.collections.Map) Debug.delegate(null, "traecantymonto2", new Object[] {_ba,_cliente}));} +int _cant = 0; +float _monto = 0f; +anywheresoftware.b4a.sql.SQL.CursorWrapper _ccym = null; +int _i = 0; +RDebugUtils.currentLine=20774912; + //BA.debugLineNum = 20774912;BA.debugLine="Sub traeCantYMonto2(cliente As String) As Map"; +RDebugUtils.currentLine=20774914; + //BA.debugLineNum = 20774914;BA.debugLine="Private cant As Int = 0"; +_cant = (int) (0); +RDebugUtils.currentLine=20774915; + //BA.debugLineNum = 20774915;BA.debugLine="Private monto As Float = 0"; +_monto = (float) (0); +RDebugUtils.currentLine=20774916; + //BA.debugLineNum = 20774916;BA.debugLine="Private ccym As Cursor = Starter.skmt.ExecQuery($"; +_ccym = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_ccym = (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 hvd_codpromo, hvd_proid, HVD_CANT, (Select CAT_GP_PRECIO from cat_gunaprod where cat_gp_id = hvd_proid) As precio from HIST_VENTAS where HVD_CLIENTE = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cliente))+"'")))); +RDebugUtils.currentLine=20774917; + //BA.debugLineNum = 20774917;BA.debugLine="If ccym.RowCount > 0 Then"; +if (_ccym.getRowCount()>0) { +RDebugUtils.currentLine=20774918; + //BA.debugLineNum = 20774918;BA.debugLine="For i=0 To ccym.RowCount -1"; +{ +final int step5 = 1; +final int limit5 = (int) (_ccym.getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit5 ;_i = _i + step5 ) { +RDebugUtils.currentLine=20774919; + //BA.debugLineNum = 20774919;BA.debugLine="ccym.Position = i"; +_ccym.setPosition(_i); +RDebugUtils.currentLine=20774920; + //BA.debugLineNum = 20774920;BA.debugLine="If ccym.GetString(\"HVD_CODPROMO\") <> ccym.GetSt"; +if ((_ccym.GetString("HVD_CODPROMO")).equals(_ccym.GetString("HVD_PROID")) == false && _ccym.GetString("precio")!= null) { +RDebugUtils.currentLine=20774921; + //BA.debugLineNum = 20774921;BA.debugLine="cant = cant + ccym.GetString(\"HVD_CANT\")"; +_cant = (int) (_cant+(double)(Double.parseDouble(_ccym.GetString("HVD_CANT")))); +RDebugUtils.currentLine=20774923; + //BA.debugLineNum = 20774923;BA.debugLine="monto = monto + (ccym.GetString(\"HVD_CANT\") *"; +_monto = (float) (_monto+((double)(Double.parseDouble(_ccym.GetString("HVD_CANT")))*(double)(Double.parseDouble(_traeprecio(_ba,_ccym.GetString("HVD_PROID"),_ccym.GetString("HVD_CODPROMO")))))); + }; + } +}; + }; +RDebugUtils.currentLine=20774929; + //BA.debugLineNum = 20774929;BA.debugLine="ccym = Starter.skmt.ExecQuery($\"Select rep_prodid"; +_ccym = (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 rep_prodid, iFNULL(REP_CANT, 0) AS REP_CANT, iFNULL((Select CAT_GP_PRECIO from cat_gunaprod where cat_gp_id = rep_prodid),0) As precio from REPARTO where REP_CLIENTE in (Select cuenta from cuentaa) And REP_RECHAZO = '0' and REP_CANT > 0")))); +RDebugUtils.currentLine=20774930; + //BA.debugLineNum = 20774930;BA.debugLine="If ccym.RowCount > 0 Then"; +if (_ccym.getRowCount()>0) { +RDebugUtils.currentLine=20774931; + //BA.debugLineNum = 20774931;BA.debugLine="For i=0 To ccym.RowCount -1"; +{ +final int step15 = 1; +final int limit15 = (int) (_ccym.getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit15 ;_i = _i + step15 ) { +RDebugUtils.currentLine=20774932; + //BA.debugLineNum = 20774932;BA.debugLine="ccym.Position = i"; +_ccym.setPosition(_i); +RDebugUtils.currentLine=20774933; + //BA.debugLineNum = 20774933;BA.debugLine="If ccym.GetString(\"REP_CANT\") <> Null Then cant"; +if (_ccym.GetString("REP_CANT")!= null) { +_cant = (int) (_cant+(double)(Double.parseDouble(_ccym.GetString("REP_CANT"))));}; +RDebugUtils.currentLine=20774934; + //BA.debugLineNum = 20774934;BA.debugLine="monto = monto + (ccym.GetString(\"REP_CANT\") * c"; +_monto = (float) (_monto+((double)(Double.parseDouble(_ccym.GetString("REP_CANT")))*(double)(Double.parseDouble(_ccym.GetString("precio"))))); + } +}; +RDebugUtils.currentLine=20774936; + //BA.debugLineNum = 20774936;BA.debugLine="Log($\"CANT=${cant}, MONTO=${monto}\"$)"; +anywheresoftware.b4a.keywords.Common.LogImpl("820774936",("CANT="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cant))+", MONTO="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_monto))+""),0); + }; +RDebugUtils.currentLine=20774939; + //BA.debugLineNum = 20774939;BA.debugLine="ccym.Close"; +_ccym.Close(); +RDebugUtils.currentLine=20774940; + //BA.debugLineNum = 20774940;BA.debugLine="Return CreateMap(\"cantidad\":cant, \"monto\":monto)"; +if (true) return anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("cantidad"),(Object)(_cant),(Object)("monto"),(Object)(_monto)}); +RDebugUtils.currentLine=20774941; + //BA.debugLineNum = 20774941;BA.debugLine="End Sub"; +return null; +} +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 _cli = null; +String _cl = ""; +RDebugUtils.currentLine=20185088; + //BA.debugLineNum = 20185088;BA.debugLine="Sub traeCliente As String 'ignore"; +RDebugUtils.currentLine=20185089; + //BA.debugLineNum = 20185089;BA.debugLine="Private cli As Cursor = Starter.skmt.ExecQuery(\"S"; +_cli = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_cli = (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=20185090; + //BA.debugLineNum = 20185090;BA.debugLine="cli.Position = 0"; +_cli.setPosition((int) (0)); +RDebugUtils.currentLine=20185091; + //BA.debugLineNum = 20185091;BA.debugLine="Private cl As String = cli.GetString(\"CUENTA\")"; +_cl = _cli.GetString("CUENTA"); +RDebugUtils.currentLine=20185092; + //BA.debugLineNum = 20185092;BA.debugLine="cli.Close"; +_cli.Close(); +RDebugUtils.currentLine=20185093; + //BA.debugLineNum = 20185093;BA.debugLine="Log(\"Algo paso...\"& cl)"; +anywheresoftware.b4a.keywords.Common.LogImpl("820185093","Algo paso..."+_cl,0); +RDebugUtils.currentLine=20185094; + //BA.debugLineNum = 20185094;BA.debugLine="Return cl"; +if (true) return _cl; +RDebugUtils.currentLine=20185095; + //BA.debugLineNum = 20185095;BA.debugLine="End Sub"; +return ""; +} +public static String _traefechaprev(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traefechaprev", false)) + {return ((String) Debug.delegate(null, "traefechaprev", new Object[] {_ba}));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; +String _a = ""; +anywheresoftware.b4a.sql.SQL.CursorWrapper _clienteasing = null; +String[] _fecha = null; +String _fecha3 = ""; +String[] _hora = null; +RDebugUtils.currentLine=21299200; + //BA.debugLineNum = 21299200;BA.debugLine="Sub traefECHAPREV As String 'ignore"; +RDebugUtils.currentLine=21299201; + //BA.debugLineNum = 21299201;BA.debugLine="Private c As Cursor"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=21299202; + //BA.debugLineNum = 21299202;BA.debugLine="Private a As String"; +_a = ""; +RDebugUtils.currentLine=21299203; + //BA.debugLineNum = 21299203;BA.debugLine="Private clienteasing As Cursor = Starter.skmt.Exe"; +_clienteasing = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_clienteasing = (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=21299204; + //BA.debugLineNum = 21299204;BA.debugLine="clienteasing.Position = 0"; +_clienteasing.setPosition((int) (0)); +RDebugUtils.currentLine=21299205; + //BA.debugLineNum = 21299205;BA.debugLine="If clienteasing.GetString(\"CUENTA\") <> \"63403\" Th"; +if ((_clienteasing.GetString("CUENTA")).equals("63403") == false) { +RDebugUtils.currentLine=21299206; + //BA.debugLineNum = 21299206;BA.debugLine="c = Starter.skmt.ExecQuery(\"select HVD_FECHA fro"; +_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 HVD_FECHA from HIST_VENTAS where HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))); +RDebugUtils.currentLine=21299207; + //BA.debugLineNum = 21299207;BA.debugLine="c.Position = 0"; +_c.setPosition((int) (0)); +RDebugUtils.currentLine=21299208; + //BA.debugLineNum = 21299208;BA.debugLine="Dim fecha() As String = Regex.Split(\" \", c.GetSt"; +_fecha = anywheresoftware.b4a.keywords.Common.Regex.Split(" ",_c.GetString("HVD_FECHA")); +RDebugUtils.currentLine=21299209; + //BA.debugLineNum = 21299209;BA.debugLine="Dim fecha3 As String = fecha(0)"; +_fecha3 = _fecha[(int) (0)]; +RDebugUtils.currentLine=21299210; + //BA.debugLineNum = 21299210;BA.debugLine="Log(fecha3)"; +anywheresoftware.b4a.keywords.Common.LogImpl("821299210",_fecha3,0); +RDebugUtils.currentLine=21299211; + //BA.debugLineNum = 21299211;BA.debugLine="Dim hora() As String = Regex.Split(\"\\.\", fecha(1"; +_hora = anywheresoftware.b4a.keywords.Common.Regex.Split("\\.",_fecha[(int) (1)]); +RDebugUtils.currentLine=21299212; + //BA.debugLineNum = 21299212;BA.debugLine="a = fecha3 & \" \" & hora(0)"; +_a = _fecha3+" "+_hora[(int) (0)]; +RDebugUtils.currentLine=21299213; + //BA.debugLineNum = 21299213;BA.debugLine="c.Close"; +_c.Close(); + }else +{RDebugUtils.currentLine=21299214; + //BA.debugLineNum = 21299214;BA.debugLine="Else If clienteasing.GetString(\"CUENTA\") = \"63403"; +if ((_clienteasing.GetString("CUENTA")).equals("63403")) { +RDebugUtils.currentLine=21299215; + //BA.debugLineNum = 21299215;BA.debugLine="c = Starter.skmt.ExecQuery(\"select HVD_FECHA fro"; +_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 HVD_FECHA from HIST_VENTAS"))); +RDebugUtils.currentLine=21299216; + //BA.debugLineNum = 21299216;BA.debugLine="c.Position = 0"; +_c.setPosition((int) (0)); +RDebugUtils.currentLine=21299217; + //BA.debugLineNum = 21299217;BA.debugLine="Dim fecha() As String = Regex.Split(\" \", c.GetSt"; +_fecha = anywheresoftware.b4a.keywords.Common.Regex.Split(" ",_c.GetString("HVD_FECHA")); +RDebugUtils.currentLine=21299218; + //BA.debugLineNum = 21299218;BA.debugLine="Dim fecha3 As String = fecha(0)"; +_fecha3 = _fecha[(int) (0)]; +RDebugUtils.currentLine=21299219; + //BA.debugLineNum = 21299219;BA.debugLine="Log(fecha3)"; +anywheresoftware.b4a.keywords.Common.LogImpl("821299219",_fecha3,0); +RDebugUtils.currentLine=21299220; + //BA.debugLineNum = 21299220;BA.debugLine="Dim hora() As String = Regex.Split(\"\\.\", fecha(1"; +_hora = anywheresoftware.b4a.keywords.Common.Regex.Split("\\.",_fecha[(int) (1)]); +RDebugUtils.currentLine=21299221; + //BA.debugLineNum = 21299221;BA.debugLine="a = fecha3 & \" \" & hora(0)"; +_a = _fecha3+" "+_hora[(int) (0)]; +RDebugUtils.currentLine=21299222; + //BA.debugLineNum = 21299222;BA.debugLine="c.Close"; +_c.Close(); + }} +; +RDebugUtils.currentLine=21299224; + //BA.debugLineNum = 21299224;BA.debugLine="Return a"; +if (true) return _a; +RDebugUtils.currentLine=21299225; + //BA.debugLineNum = 21299225;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=18153472; + //BA.debugLineNum = 18153472;BA.debugLine="Sub traeUsuarioDeBD As String 'ignore"; +RDebugUtils.currentLine=18153473; + //BA.debugLineNum = 18153473;BA.debugLine="Private c As Cursor"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=18153474; + //BA.debugLineNum = 18153474;BA.debugLine="Private u As String = \"SinUsuario\""; +_u = "SinUsuario"; +RDebugUtils.currentLine=18153475; + //BA.debugLineNum = 18153475;BA.debugLine="If Not(kmt.IsInitialized) Then revisaBD"; +if (anywheresoftware.b4a.keywords.Common.Not(_kmt.IsInitialized())) { +_revisabd(_ba);}; +RDebugUtils.currentLine=18153476; + //BA.debugLineNum = 18153476;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=18153477; + //BA.debugLineNum = 18153477;BA.debugLine="c.Position=0"; +_c.setPosition((int) (0)); +RDebugUtils.currentLine=18153478; + //BA.debugLineNum = 18153478;BA.debugLine="If c.RowCount > 0 Then u = c.GetString(\"USUARIO\")"; +if (_c.getRowCount()>0) { +_u = _c.GetString("USUARIO");}; +RDebugUtils.currentLine=18153479; + //BA.debugLineNum = 18153479;BA.debugLine="c.Close"; +_c.Close(); +RDebugUtils.currentLine=18153480; + //BA.debugLineNum = 18153480;BA.debugLine="Return u"; +if (true) return _u; +RDebugUtils.currentLine=18153481; + //BA.debugLineNum = 18153481;BA.debugLine="End Sub"; +return ""; +} +public static String _traeruta(anywheresoftware.b4a.BA _ba,String _cliente) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traeruta", false)) + {return ((String) Debug.delegate(null, "traeruta", new Object[] {_ba,_cliente}));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; +String _r = ""; +RDebugUtils.currentLine=20316160; + //BA.debugLineNum = 20316160;BA.debugLine="Sub traeRuta (cliente As String) As String 'ignore"; +RDebugUtils.currentLine=20316161; + //BA.debugLineNum = 20316161;BA.debugLine="Private c As Cursor"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=20316162; + //BA.debugLineNum = 20316162;BA.debugLine="Private r As String"; +_r = ""; +RDebugUtils.currentLine=20316163; + //BA.debugLineNum = 20316163;BA.debugLine="c=Starter.skmt.ExecQuery($\"select CAT_CL_RUTA fro"; +_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 CAT_CL_RUTA from kmt_info where CAT_CL_CODIGO = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cliente))+"'")))); +RDebugUtils.currentLine=20316164; + //BA.debugLineNum = 20316164;BA.debugLine="r = \"0\""; +_r = "0"; +RDebugUtils.currentLine=20316165; + //BA.debugLineNum = 20316165;BA.debugLine="If c.RowCount > 0 Then"; +if (_c.getRowCount()>0) { +RDebugUtils.currentLine=20316166; + //BA.debugLineNum = 20316166;BA.debugLine="c.Position=0"; +_c.setPosition((int) (0)); +RDebugUtils.currentLine=20316167; + //BA.debugLineNum = 20316167;BA.debugLine="r = c.GetString(\"CAT_CL_RUTA\")"; +_r = _c.GetString("CAT_CL_RUTA"); + }; +RDebugUtils.currentLine=20316169; + //BA.debugLineNum = 20316169;BA.debugLine="c.Close"; +_c.Close(); +RDebugUtils.currentLine=20316170; + //BA.debugLineNum = 20316170;BA.debugLine="Return r"; +if (true) return _r; +RDebugUtils.currentLine=20316171; + //BA.debugLineNum = 20316171;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=17235968; + //BA.debugLineNum = 17235968;BA.debugLine="Sub fechaKMT(fecha As String) As String 'ignore"; +RDebugUtils.currentLine=17235970; + //BA.debugLineNum = 17235970;BA.debugLine="Dim OrigFormat As String = DateTime.DateFormat '"; +_origformat = anywheresoftware.b4a.keywords.Common.DateTime.getDateFormat(); +RDebugUtils.currentLine=17235971; + //BA.debugLineNum = 17235971;BA.debugLine="DateTime.DateFormat=\"yyMMddHHmmss\""; +anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat("yyMMddHHmmss"); +RDebugUtils.currentLine=17235972; + //BA.debugLineNum = 17235972;BA.debugLine="Dim nuevaFecha As String=DateTime.Date(fecha)"; +_nuevafecha = anywheresoftware.b4a.keywords.Common.DateTime.Date((long)(Double.parseDouble(_fecha))); +RDebugUtils.currentLine=17235973; + //BA.debugLineNum = 17235973;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig d"; +anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat(_origformat); +RDebugUtils.currentLine=17235975; + //BA.debugLineNum = 17235975;BA.debugLine="Return nuevaFecha"; +if (true) return _nuevafecha; +RDebugUtils.currentLine=17235976; + //BA.debugLineNum = 17235976;BA.debugLine="End Sub"; +return ""; +} +public static String _centralistview(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.ListViewWrapper _elemento,int _anchoelementosuperior) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "centralistview", false)) + {return ((String) Debug.delegate(null, "centralistview", new Object[] {_ba,_elemento,_anchoelementosuperior}));} +RDebugUtils.currentLine=19595264; + //BA.debugLineNum = 19595264;BA.debugLine="Sub centraListView(elemento As ListView, anchoElem"; +RDebugUtils.currentLine=19595265; + //BA.debugLineNum = 19595265;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=19595266; + //BA.debugLineNum = 19595266;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; +RDebugUtils.currentLine=19529728; + //BA.debugLineNum = 19529728;BA.debugLine="Sub SetDivider(lv As ListView, Color As Int, Heigh"; +RDebugUtils.currentLine=19529729; + //BA.debugLineNum = 19529729;BA.debugLine="Dim r As Reflector"; +_r = new anywheresoftware.b4a.agraham.reflection.Reflection(); +RDebugUtils.currentLine=19529730; + //BA.debugLineNum = 19529730;BA.debugLine="r.Target = lv"; +_r.Target = (Object)(_lv.getObject()); +RDebugUtils.currentLine=19529731; + //BA.debugLineNum = 19529731;BA.debugLine="Dim CD As ColorDrawable"; +_cd = new anywheresoftware.b4a.objects.drawable.ColorDrawable(); +RDebugUtils.currentLine=19529732; + //BA.debugLineNum = 19529732;BA.debugLine="CD.Initialize(Color, 0)"; +_cd.Initialize(_color,(int) (0)); +RDebugUtils.currentLine=19529733; + //BA.debugLineNum = 19529733;BA.debugLine="r.RunMethod4(\"setDivider\", Array As Object(CD), A"; +_r.RunMethod4("setDivider",new Object[]{(Object)(_cd.getObject())},new String[]{"android.graphics.drawable.Drawable"}); +RDebugUtils.currentLine=19529734; + //BA.debugLineNum = 19529734;BA.debugLine="r.RunMethod2(\"setDividerHeight\", Height, \"java.la"; +_r.RunMethod2("setDividerHeight",BA.NumberToString(_height),"java.lang.int"); +RDebugUtils.currentLine=19529735; + //BA.debugLineNum = 19529735;BA.debugLine="End Sub"; +return ""; +} +public static String _centraetiqueta(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.LabelWrapper _elemento,int _anchoelementosuperior) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "centraetiqueta", false)) + {return ((String) Debug.delegate(null, "centraetiqueta", new Object[] {_ba,_elemento,_anchoelementosuperior}));} +RDebugUtils.currentLine=19726336; + //BA.debugLineNum = 19726336;BA.debugLine="Sub centraEtiqueta(elemento As Label, anchoElement"; +RDebugUtils.currentLine=19726337; + //BA.debugLineNum = 19726337;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=19726338; + //BA.debugLineNum = 19726338;BA.debugLine="End Sub"; +return ""; +} +public static String _traerutareparto(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traerutareparto", false)) + {return ((String) Debug.delegate(null, "traerutareparto", new Object[] {_ba}));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; +String _r = ""; +RDebugUtils.currentLine=21102592; + //BA.debugLineNum = 21102592;BA.debugLine="Sub traeRutaReparto As String 'ignore"; +RDebugUtils.currentLine=21102593; + //BA.debugLineNum = 21102593;BA.debugLine="Private c As Cursor"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=21102594; + //BA.debugLineNum = 21102594;BA.debugLine="Private r As String"; +_r = ""; +RDebugUtils.currentLine=21102595; + //BA.debugLineNum = 21102595;BA.debugLine="c=Starter.skmt.ExecQuery(\"select RUTAA from RUTAA"; +_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 RUTAA from RUTAA"))); +RDebugUtils.currentLine=21102596; + //BA.debugLineNum = 21102596;BA.debugLine="r = \"0\""; +_r = "0"; +RDebugUtils.currentLine=21102597; + //BA.debugLineNum = 21102597;BA.debugLine="If c.RowCount > 0 Then"; +if (_c.getRowCount()>0) { +RDebugUtils.currentLine=21102598; + //BA.debugLineNum = 21102598;BA.debugLine="c.Position=0"; +_c.setPosition((int) (0)); +RDebugUtils.currentLine=21102599; + //BA.debugLineNum = 21102599;BA.debugLine="r = c.GetString(\"RUTAA\")"; +_r = _c.GetString("RUTAA"); + }; +RDebugUtils.currentLine=21102601; + //BA.debugLineNum = 21102601;BA.debugLine="c.Close"; +_c.Close(); +RDebugUtils.currentLine=21102602; + //BA.debugLineNum = 21102602;BA.debugLine="Return r"; +if (true) return _r; +RDebugUtils.currentLine=21102603; + //BA.debugLineNum = 21102603;BA.debugLine="End Sub"; +return ""; +} +public static String _prodventa(anywheresoftware.b4a.BA _ba,String _clienteoriginal,String _prodid) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "prodventa", false)) + {return ((String) Debug.delegate(null, "prodventa", new Object[] {_ba,_clienteoriginal,_prodid}));} +String _precio = ""; +RDebugUtils.currentLine=20578304; + //BA.debugLineNum = 20578304;BA.debugLine="Sub prodVenta(clienteOriginal As String, prodId As"; +RDebugUtils.currentLine=20578306; + //BA.debugLineNum = 20578306;BA.debugLine="Private precio As String = traePrecio(prodId, tra"; +_precio = _traeprecio(_ba,_prodid,_traealmacen(_ba)); +RDebugUtils.currentLine=20578307; + //BA.debugLineNum = 20578307;BA.debugLine="Starter.skmt.ExecNonQuery($\"update reparto set RE"; +mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update reparto set REP_CANT = REP_CANT - 1 where REP_CLIENTE = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteoriginal))+"' and REP_CLI_ORIG = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteoriginal))+"' and REP_RECHAZO = 1 and REP_PRODID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"'")); +RDebugUtils.currentLine=20578308; + //BA.debugLineNum = 20578308;BA.debugLine="Starter.skmt.ExecNonQuery($\"update reparto set RE"; +mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update reparto set REP_CANT = REP_CANT + 1 where REP_CLIENTE in (Select CUENTA from cuentaa) and REP_CLI_ORIG = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteoriginal))+"' and REP_RECHAZO = 0 and REP_PRODID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"'")); +RDebugUtils.currentLine=20578309; + //BA.debugLineNum = 20578309;BA.debugLine="Log($\"update reparto set REP_CANT = REP_CANT - 1"; +anywheresoftware.b4a.keywords.Common.LogImpl("820578309",("update reparto set REP_CANT = REP_CANT - 1 where REP_CLIENTE = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteoriginal))+"' and REP_CLI_ORIG = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteoriginal))+"' and REP_RECHAZO = 1 and REP_PRODID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"'"),0); +RDebugUtils.currentLine=20578310; + //BA.debugLineNum = 20578310;BA.debugLine="Log($\"update reparto set REP_CANT = REP_CANT + 1"; +anywheresoftware.b4a.keywords.Common.LogImpl("820578310",("update reparto set REP_CANT = REP_CANT + 1 where REP_CLIENTE in (Select CUENTA from cuentaa) and REP_CLI_ORIG = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteoriginal))+"' and REP_RECHAZO = 0 and REP_PRODID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"'"),0); +RDebugUtils.currentLine=20578311; + //BA.debugLineNum = 20578311;BA.debugLine="Starter.skmt.ExecNonQuery($\"update reparto set RE"; +mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update reparto set REP_COSTO_TOT = REP_CANT * "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_precio))+", REP_PRECIO = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_precio))+"' where REP_CLIENTE in (Select CUENTA from cuentaa) and REP_CLI_ORIG = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteoriginal))+"' and REP_RECHAZO = 0 and REP_PRODID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"'")); +RDebugUtils.currentLine=20578332; + //BA.debugLineNum = 20578332;BA.debugLine="End Sub"; +return ""; +} +public static String _traeconversion(anywheresoftware.b4a.BA _ba,String _id) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traeconversion", false)) + {return ((String) Debug.delegate(null, "traeconversion", new Object[] {_ba,_id}));} +String _pu = ""; +anywheresoftware.b4a.sql.SQL.CursorWrapper _idc = null; +RDebugUtils.currentLine=20119552; + //BA.debugLineNum = 20119552;BA.debugLine="Sub traeConversion(id As String) As String"; +RDebugUtils.currentLine=20119553; + //BA.debugLineNum = 20119553;BA.debugLine="Private pu As String = \"0\""; +_pu = "0"; +RDebugUtils.currentLine=20119555; + //BA.debugLineNum = 20119555;BA.debugLine="Private idc As Cursor = kmt.ExecQuery($\"select C"; +_idc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_idc = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_kmt.ExecQuery(("select CONVERSION from CAT_GUNAPROD where CAT_GP_ID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_id))+"'")))); +RDebugUtils.currentLine=20119556; + //BA.debugLineNum = 20119556;BA.debugLine="If idc.RowCount > 0 Then"; +if (_idc.getRowCount()>0) { +RDebugUtils.currentLine=20119557; + //BA.debugLineNum = 20119557;BA.debugLine="idc.Position=0"; +_idc.setPosition((int) (0)); +RDebugUtils.currentLine=20119558; + //BA.debugLineNum = 20119558;BA.debugLine="If idc.RowCount > 0 And IsNumber(idc.GetString("; +if (_idc.getRowCount()>0 && anywheresoftware.b4a.keywords.Common.IsNumber(_idc.GetString("CONVERSION"))) { +_pu = _idc.GetString("CONVERSION");}; + }; +RDebugUtils.currentLine=20119561; + //BA.debugLineNum = 20119561;BA.debugLine="idc.Close"; +_idc.Close(); +RDebugUtils.currentLine=20119563; + //BA.debugLineNum = 20119563;BA.debugLine="Return pu"; +if (true) return _pu; +RDebugUtils.currentLine=20119564; + //BA.debugLineNum = 20119564;BA.debugLine="End Sub"; +return ""; +} +public static String _traeprecioc(anywheresoftware.b4a.BA _ba,String _id) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traeprecioc", false)) + {return ((String) Debug.delegate(null, "traeprecioc", new Object[] {_ba,_id}));} +String _pu = ""; +anywheresoftware.b4a.sql.SQL.CursorWrapper _idc = null; +RDebugUtils.currentLine=20054016; + //BA.debugLineNum = 20054016;BA.debugLine="Sub traePrecioC(id As String) As String"; +RDebugUtils.currentLine=20054017; + //BA.debugLineNum = 20054017;BA.debugLine="Private pu As String = \"0\""; +_pu = "0"; +RDebugUtils.currentLine=20054018; + //BA.debugLineNum = 20054018;BA.debugLine="Private idc As Cursor = kmt.ExecQuery($\"select PR"; +_idc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_idc = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_kmt.ExecQuery(("select PRECIOCONVER from CAT_GUNAPROD where CAT_GP_ID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_id))+"'")))); +RDebugUtils.currentLine=20054019; + //BA.debugLineNum = 20054019;BA.debugLine="If idc.RowCount > 0 Then"; +if (_idc.getRowCount()>0) { +RDebugUtils.currentLine=20054020; + //BA.debugLineNum = 20054020;BA.debugLine="idc.Position=0"; +_idc.setPosition((int) (0)); +RDebugUtils.currentLine=20054021; + //BA.debugLineNum = 20054021;BA.debugLine="If idc.RowCount > 0 And IsNumber(idc.GetString(\""; +if (_idc.getRowCount()>0 && anywheresoftware.b4a.keywords.Common.IsNumber(_idc.GetString("PRECIOCONVER"))) { +_pu = _idc.GetString("PRECIOCONVER");}; + }; +RDebugUtils.currentLine=20054024; + //BA.debugLineNum = 20054024;BA.debugLine="idc.Close"; +_idc.Close(); +RDebugUtils.currentLine=20054025; + //BA.debugLineNum = 20054025;BA.debugLine="Return pu"; +if (true) return _pu; +RDebugUtils.currentLine=20054026; + //BA.debugLineNum = 20054026;BA.debugLine="End Sub"; +return ""; +} +public static String _traeprecio2(anywheresoftware.b4a.BA _ba,String _id,String _quepromo,String _consecutivo) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traeprecio2", false)) + {return ((String) Debug.delegate(null, "traeprecio2", new Object[] {_ba,_id,_quepromo,_consecutivo}));} +String _pu = ""; +anywheresoftware.b4a.sql.SQL.CursorWrapper _idc = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _pc = null; +RDebugUtils.currentLine=19988480; + //BA.debugLineNum = 19988480;BA.debugLine="Sub traePrecio2(id As String, quePromo As String,"; +RDebugUtils.currentLine=19988481; + //BA.debugLineNum = 19988481;BA.debugLine="Private pu As String = \"0\""; +_pu = "0"; +RDebugUtils.currentLine=19988483; + //BA.debugLineNum = 19988483;BA.debugLine="If quePromo = traeAlmacen Then"; +if ((_quepromo).equals(_traealmacen(_ba))) { +RDebugUtils.currentLine=19988484; + //BA.debugLineNum = 19988484;BA.debugLine="Private idc As Cursor = kmt.ExecQuery($\"select C"; +_idc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_idc = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_kmt.ExecQuery(("select CAT_GP_PRECIO from CAT_GUNAPROD where CAT_GP_ID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_id))+"'")))); +RDebugUtils.currentLine=19988485; + //BA.debugLineNum = 19988485;BA.debugLine="If idc.RowCount > 0 Then"; +if (_idc.getRowCount()>0) { +RDebugUtils.currentLine=19988486; + //BA.debugLineNum = 19988486;BA.debugLine="idc.Position=0"; +_idc.setPosition((int) (0)); +RDebugUtils.currentLine=19988487; + //BA.debugLineNum = 19988487;BA.debugLine="If idc.RowCount > 0 And IsNumber(idc.GetString("; +if (_idc.getRowCount()>0 && anywheresoftware.b4a.keywords.Common.IsNumber(_idc.GetString("CAT_GP_PRECIO"))) { +_pu = _idc.GetString("CAT_GP_PRECIO");}; + }; +RDebugUtils.currentLine=19988490; + //BA.debugLineNum = 19988490;BA.debugLine="idc.Close"; +_idc.Close(); + }else { +RDebugUtils.currentLine=19988492; + //BA.debugLineNum = 19988492;BA.debugLine="Private pc As Cursor = Starter.skmt.ExecQuery($\""; +_pc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_pc = (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 HVD_CANT, HVD_COSTO_TOT from HIST_VENTAS where HVD_CLIENTE in (select cuenta from cuentaa) and HVD_PROID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_id))+"' and HVD_CODPROMO = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_quepromo))+"' AND CONSECUTIVO = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_consecutivo))+"'")))); +RDebugUtils.currentLine=19988493; + //BA.debugLineNum = 19988493;BA.debugLine="If pc.RowCount > 0 Then"; +if (_pc.getRowCount()>0) { +RDebugUtils.currentLine=19988494; + //BA.debugLineNum = 19988494;BA.debugLine="pc.Position = 0"; +_pc.setPosition((int) (0)); +RDebugUtils.currentLine=19988496; + //BA.debugLineNum = 19988496;BA.debugLine="If pc.GetString(\"HVD_COSTO_TOT\")<> Null And pc."; +if (_pc.GetString("HVD_COSTO_TOT")!= null && _pc.GetString("HVD_CANT")!= null) { +RDebugUtils.currentLine=19988497; + //BA.debugLineNum = 19988497;BA.debugLine="pu = pc.GetString(\"HVD_COSTO_TOT\") / pc.GetStr"; +_pu = BA.NumberToString((double)(Double.parseDouble(_pc.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(_pc.GetString("HVD_CANT")))); + }; + }; +RDebugUtils.currentLine=19988501; + //BA.debugLineNum = 19988501;BA.debugLine="pc.Close"; +_pc.Close(); + }; +RDebugUtils.currentLine=19988504; + //BA.debugLineNum = 19988504;BA.debugLine="Return pu"; +if (true) return _pu; +RDebugUtils.currentLine=19988506; + //BA.debugLineNum = 19988506;BA.debugLine="End Sub"; +return ""; +} +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=19464192; + //BA.debugLineNum = 19464192;BA.debugLine="Sub dameUsuarioDeDB As String 'ignore"; +RDebugUtils.currentLine=19464193; + //BA.debugLineNum = 19464193;BA.debugLine="Private c As Cursor"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=19464194; + //BA.debugLineNum = 19464194;BA.debugLine="Private u As String = \"SinUsuario\""; +_u = "SinUsuario"; +RDebugUtils.currentLine=19464195; + //BA.debugLineNum = 19464195;BA.debugLine="If Not(kmt.IsInitialized) Then revisaBD"; +if (anywheresoftware.b4a.keywords.Common.Not(_kmt.IsInitialized())) { +_revisabd(_ba);}; +RDebugUtils.currentLine=19464196; + //BA.debugLineNum = 19464196;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=19464197; + //BA.debugLineNum = 19464197;BA.debugLine="c.Position=0"; +_c.setPosition((int) (0)); +RDebugUtils.currentLine=19464198; + //BA.debugLineNum = 19464198;BA.debugLine="If c.RowCount > 0 Then u = c.GetString(\"USUARIO\")"; +if (_c.getRowCount()>0) { +_u = _c.GetString("USUARIO");}; +RDebugUtils.currentLine=19464199; + //BA.debugLineNum = 19464199;BA.debugLine="c.Close"; +_c.Close(); +RDebugUtils.currentLine=19464200; + //BA.debugLineNum = 19464200;BA.debugLine="Return u"; +if (true) return _u; +RDebugUtils.currentLine=19464201; + //BA.debugLineNum = 19464201;BA.debugLine="End Sub"; +return ""; +} +public static String _traeusuario(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traeusuario", false)) + {return ((String) Debug.delegate(null, "traeusuario", new Object[] {_ba}));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; +String _a = ""; +RDebugUtils.currentLine=21233664; + //BA.debugLineNum = 21233664;BA.debugLine="Sub traeUsuario As String 'ignore"; +RDebugUtils.currentLine=21233665; + //BA.debugLineNum = 21233665;BA.debugLine="Private c As Cursor"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=21233666; + //BA.debugLineNum = 21233666;BA.debugLine="Private a As String"; +_a = ""; +RDebugUtils.currentLine=21233667; + //BA.debugLineNum = 21233667;BA.debugLine="c = Starter.skmt.ExecQuery(\"select USUARIO from U"; +_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 USUARIO from USUARIOA"))); +RDebugUtils.currentLine=21233668; + //BA.debugLineNum = 21233668;BA.debugLine="c.Position = 0"; +_c.setPosition((int) (0)); +RDebugUtils.currentLine=21233669; + //BA.debugLineNum = 21233669;BA.debugLine="a = C.GetString(\"USUARIO\")"; +_a = _c.GetString("USUARIO"); +RDebugUtils.currentLine=21233670; + //BA.debugLineNum = 21233670;BA.debugLine="c.Close"; +_c.Close(); +RDebugUtils.currentLine=21233671; + //BA.debugLineNum = 21233671;BA.debugLine="Return a"; +if (true) return _a; +RDebugUtils.currentLine=21233672; + //BA.debugLineNum = 21233672;BA.debugLine="End Sub"; +return ""; +} +public static anywheresoftware.b4a.objects.collections.Map _traeentregados(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traeentregados", false)) + {return ((anywheresoftware.b4a.objects.collections.Map) Debug.delegate(null, "traeentregados", new Object[] {_ba}));} +anywheresoftware.b4a.objects.collections.Map _m = null; +int _cant = 0; +String _monto = ""; +anywheresoftware.b4a.sql.SQL.CursorWrapper _rc = null; +RDebugUtils.currentLine=20840448; + //BA.debugLineNum = 20840448;BA.debugLine="Sub traeEntregados As Map"; +RDebugUtils.currentLine=20840449; + //BA.debugLineNum = 20840449;BA.debugLine="Private m As Map"; +_m = new anywheresoftware.b4a.objects.collections.Map(); +RDebugUtils.currentLine=20840450; + //BA.debugLineNum = 20840450;BA.debugLine="Private cant As Int = 0"; +_cant = (int) (0); +RDebugUtils.currentLine=20840451; + //BA.debugLineNum = 20840451;BA.debugLine="Private monto As String = 0"; +_monto = BA.NumberToString(0); +RDebugUtils.currentLine=20840452; + //BA.debugLineNum = 20840452;BA.debugLine="Private rc As Cursor = Starter.skmt.ExecQuery($\"s"; +_rc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_rc = (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(HVD_CANT) as CUANTOS, sum(HVD_COSTO_TOT) as CUANTO from HIST_VENTAS where HVD_ESTATUS = '1' and HVD_COSTO_TOT <> '0'")))); +RDebugUtils.currentLine=20840453; + //BA.debugLineNum = 20840453;BA.debugLine="If rc.RowCount > 0 Then"; +if (_rc.getRowCount()>0) { +RDebugUtils.currentLine=20840454; + //BA.debugLineNum = 20840454;BA.debugLine="rc.Position = 0"; +_rc.setPosition((int) (0)); +RDebugUtils.currentLine=20840455; + //BA.debugLineNum = 20840455;BA.debugLine="If rc.GetString(\"CUANTOS\") <> Null Then"; +if (_rc.GetString("CUANTOS")!= null) { +RDebugUtils.currentLine=20840456; + //BA.debugLineNum = 20840456;BA.debugLine="cant = cant + rc.GetString(\"CUANTOS\")"; +_cant = (int) (_cant+(double)(Double.parseDouble(_rc.GetString("CUANTOS")))); +RDebugUtils.currentLine=20840457; + //BA.debugLineNum = 20840457;BA.debugLine="monto = monto + rc.GetString(\"CUANTO\")"; +_monto = BA.NumberToString((double)(Double.parseDouble(_monto))+(double)(Double.parseDouble(_rc.GetString("CUANTO")))); + }; + }; +RDebugUtils.currentLine=20840461; + //BA.debugLineNum = 20840461;BA.debugLine="Return CreateMap(\"cantidad\": cant, \"monto\": monto"; +if (true) return anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("cantidad"),(Object)(_cant),(Object)("monto"),(Object)(_monto)}); +RDebugUtils.currentLine=20840462; + //BA.debugLineNum = 20840462;BA.debugLine="End Sub"; +return null; +} +public static anywheresoftware.b4a.objects.collections.Map _traerechazados(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traerechazados", false)) + {return ((anywheresoftware.b4a.objects.collections.Map) Debug.delegate(null, "traerechazados", new Object[] {_ba}));} +anywheresoftware.b4a.objects.collections.Map _m = null; +int _cant = 0; +String _monto = ""; +anywheresoftware.b4a.sql.SQL.CursorWrapper _rc = null; +RDebugUtils.currentLine=20905984; + //BA.debugLineNum = 20905984;BA.debugLine="Sub traeRechazados As Map"; +RDebugUtils.currentLine=20905985; + //BA.debugLineNum = 20905985;BA.debugLine="Private m As Map"; +_m = new anywheresoftware.b4a.objects.collections.Map(); +RDebugUtils.currentLine=20905986; + //BA.debugLineNum = 20905986;BA.debugLine="Private cant As Int = 0"; +_cant = (int) (0); +RDebugUtils.currentLine=20905987; + //BA.debugLineNum = 20905987;BA.debugLine="Private monto As String = 0"; +_monto = BA.NumberToString(0); +RDebugUtils.currentLine=20905988; + //BA.debugLineNum = 20905988;BA.debugLine="Private rc As Cursor = Starter.skmt.ExecQuery($\"s"; +_rc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_rc = (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(REP_CANT) as CUANTOS, sum(REP_CANT * REP_PRECIO) as CUANTO from REPARTO where REP_RECHAZO = '1' and REP_CANT <> '0'")))); +RDebugUtils.currentLine=20905989; + //BA.debugLineNum = 20905989;BA.debugLine="If rc.RowCount > 0 Then"; +if (_rc.getRowCount()>0) { +RDebugUtils.currentLine=20905990; + //BA.debugLineNum = 20905990;BA.debugLine="rc.Position = 0"; +_rc.setPosition((int) (0)); +RDebugUtils.currentLine=20905991; + //BA.debugLineNum = 20905991;BA.debugLine="If rc.GetString(\"CUANTOS\") <> Null Then"; +if (_rc.GetString("CUANTOS")!= null) { +RDebugUtils.currentLine=20905992; + //BA.debugLineNum = 20905992;BA.debugLine="cant = cant + rc.GetString(\"CUANTOS\")"; +_cant = (int) (_cant+(double)(Double.parseDouble(_rc.GetString("CUANTOS")))); +RDebugUtils.currentLine=20905993; + //BA.debugLineNum = 20905993;BA.debugLine="monto = monto + rc.GetString(\"CUANTO\")"; +_monto = BA.NumberToString((double)(Double.parseDouble(_monto))+(double)(Double.parseDouble(_rc.GetString("CUANTO")))); + }; + }; +RDebugUtils.currentLine=20905997; + //BA.debugLineNum = 20905997;BA.debugLine="Return CreateMap(\"cantidad\": cant, \"monto\": monto"; +if (true) return anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("cantidad"),(Object)(_cant),(Object)("monto"),(Object)(_monto)}); +RDebugUtils.currentLine=20905998; + //BA.debugLineNum = 20905998;BA.debugLine="End Sub"; +return null; +} +public static anywheresoftware.b4a.objects.collections.Map _traevendidos(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traevendidos", false)) + {return ((anywheresoftware.b4a.objects.collections.Map) Debug.delegate(null, "traevendidos", new Object[] {_ba}));} +anywheresoftware.b4a.objects.collections.Map _m = null; +int _cant = 0; +String _monto = ""; +anywheresoftware.b4a.sql.SQL.CursorWrapper _rc = null; +RDebugUtils.currentLine=20971520; + //BA.debugLineNum = 20971520;BA.debugLine="Sub traeVendidos As Map"; +RDebugUtils.currentLine=20971521; + //BA.debugLineNum = 20971521;BA.debugLine="Private m As Map"; +_m = new anywheresoftware.b4a.objects.collections.Map(); +RDebugUtils.currentLine=20971522; + //BA.debugLineNum = 20971522;BA.debugLine="Private cant As Int = 0"; +_cant = (int) (0); +RDebugUtils.currentLine=20971523; + //BA.debugLineNum = 20971523;BA.debugLine="Private monto As String = 0"; +_monto = BA.NumberToString(0); +RDebugUtils.currentLine=20971524; + //BA.debugLineNum = 20971524;BA.debugLine="Private rc As Cursor = Starter.skmt.ExecQuery($\"s"; +_rc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_rc = (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(REP_CANT) as CUANTOS, sum(REP_CANT * REP_PRECIO) as CUANTO from REPARTO where REP_RECHAZO = '0' and REP_CANT <> '0'")))); +RDebugUtils.currentLine=20971525; + //BA.debugLineNum = 20971525;BA.debugLine="If rc.RowCount > 0 Then"; +if (_rc.getRowCount()>0) { +RDebugUtils.currentLine=20971526; + //BA.debugLineNum = 20971526;BA.debugLine="rc.Position = 0"; +_rc.setPosition((int) (0)); +RDebugUtils.currentLine=20971527; + //BA.debugLineNum = 20971527;BA.debugLine="If rc.GetString(\"CUANTOS\") <> Null Then"; +if (_rc.GetString("CUANTOS")!= null) { +RDebugUtils.currentLine=20971528; + //BA.debugLineNum = 20971528;BA.debugLine="cant = cant + rc.GetString(\"CUANTOS\")"; +_cant = (int) (_cant+(double)(Double.parseDouble(_rc.GetString("CUANTOS")))); +RDebugUtils.currentLine=20971529; + //BA.debugLineNum = 20971529;BA.debugLine="monto = monto + rc.GetString(\"CUANTO\")"; +_monto = BA.NumberToString((double)(Double.parseDouble(_monto))+(double)(Double.parseDouble(_rc.GetString("CUANTO")))); + }; + }; +RDebugUtils.currentLine=20971533; + //BA.debugLineNum = 20971533;BA.debugLine="Return CreateMap(\"cantidad\": cant, \"monto\": monto"; +if (true) return anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("cantidad"),(Object)(_cant),(Object)("monto"),(Object)(_monto)}); +RDebugUtils.currentLine=20971534; + //BA.debugLineNum = 20971534;BA.debugLine="End Sub"; +return null; +} +public static String _borraarribade100errores(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "borraarribade100errores", false)) + {return ((String) Debug.delegate(null, "borraarribade100errores", new Object[] {_ba}));} +RDebugUtils.currentLine=18874368; + //BA.debugLineNum = 18874368;BA.debugLine="Sub borraArribaDe100Errores 'ignore"; +RDebugUtils.currentLine=18874369; + //BA.debugLineNum = 18874369;BA.debugLine="If Not(errorLog.IsInitialized) Then revisaBD"; +if (anywheresoftware.b4a.keywords.Common.Not(_errorlog.IsInitialized())) { +_revisabd(_ba);}; +RDebugUtils.currentLine=18874370; + //BA.debugLineNum = 18874370;BA.debugLine="LogColor(\"Recortamos la tabla de Errores, limite"; +anywheresoftware.b4a.keywords.Common.LogImpl("818874370","Recortamos la tabla de Errores, limite de 100",anywheresoftware.b4a.keywords.Common.Colors.Magenta); +RDebugUtils.currentLine=18874371; + //BA.debugLineNum = 18874371;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 )"); +RDebugUtils.currentLine=18874372; + //BA.debugLineNum = 18874372;BA.debugLine="errorLog.ExecNonQuery(\"vacuum;\")"; +_errorlog.ExecNonQuery("vacuum;"); +RDebugUtils.currentLine=18874374; + //BA.debugLineNum = 18874374;BA.debugLine="End Sub"; +return ""; +} +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}));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; +RDebugUtils.currentLine=17891328; + //BA.debugLineNum = 17891328;BA.debugLine="Sub revisaBD 'ignore"; +RDebugUtils.currentLine=17891329; + //BA.debugLineNum = 17891329;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=17891330; + //BA.debugLineNum = 17891330;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=17891331; + //BA.debugLineNum = 17891331;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=17891333; + //BA.debugLineNum = 17891333;BA.debugLine="kmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS bita"; +_kmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS bitacora(fecha INTEGER, texto TEXT)"); +RDebugUtils.currentLine=17891335; + //BA.debugLineNum = 17891335;BA.debugLine="kmt.ExecNonQuery(\"DROP TABLE IF EXISTS CAT_FOLIOS"; +_kmt.ExecNonQuery("DROP TABLE IF EXISTS CAT_FOLIOS"); +RDebugUtils.currentLine=17891336; + //BA.debugLineNum = 17891336;BA.debugLine="kmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS REPA"; +_kmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS REPARTO_GEO (CLIENTE TEXT, USUARIO TEXT, FECHA_PUNTEO TEXT, LATITUD TEXT, LONGITUD TEXT, ALMACEN TEXT, RUTA_REPARTO TEXT, RUTA_PREV TEXT, FECHA_PREVENTA TEXT, MOTIVO TEXT, COMENTARIO TEXT, TIPO TEXT, ENVIO TEXT)"); +RDebugUtils.currentLine=17891338; + //BA.debugLineNum = 17891338;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=17891339; + //BA.debugLineNum = 17891339;BA.debugLine="errorLog.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS"; +_errorlog.ExecNonQuery("CREATE TABLE IF NOT EXISTS errores(fecha INTEGER, error TEXT)"); +RDebugUtils.currentLine=17891341; + //BA.debugLineNum = 17891341;BA.debugLine="Try 'Intentamos usar \"pragma_table_info\" para rev"; +try {RDebugUtils.currentLine=17891342; + //BA.debugLineNum = 17891342;BA.debugLine="Dim c As Cursor=kmt.ExecQuery(\"SELECT COUNT(*) A"; +_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)(_kmt.ExecQuery("SELECT COUNT(*) AS fCol FROM pragma_table_info('noventa') WHERE name='NV_REPROGRAMAR'"))); +RDebugUtils.currentLine=17891343; + //BA.debugLineNum = 17891343;BA.debugLine="c.Position = 0"; +_c.setPosition((int) (0)); +RDebugUtils.currentLine=17891344; + //BA.debugLineNum = 17891344;BA.debugLine="If c.GetString(\"fCol\") = 0 Then 'Si no esta la c"; +if ((_c.GetString("fCol")).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=17891345; + //BA.debugLineNum = 17891345;BA.debugLine="kmt.ExecNonQuery(\"ALTER TABLE noventa ADD COLUM"; +_kmt.ExecNonQuery("ALTER TABLE noventa ADD COLUMN NV_REPROGRAMAR TEXT"); + }; + } + catch (Exception e16) { + (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e16);RDebugUtils.currentLine=17891348; + //BA.debugLineNum = 17891348;BA.debugLine="Try"; +try {RDebugUtils.currentLine=17891349; + //BA.debugLineNum = 17891349;BA.debugLine="kmt.ExecNonQuery(\"ALTER TABLE noventa ADD COLUM"; +_kmt.ExecNonQuery("ALTER TABLE noventa ADD COLUMN NV_REPROGRAMAR TEXT"); + } + catch (Exception e19) { + (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e19);RDebugUtils.currentLine=17891351; + //BA.debugLineNum = 17891351;BA.debugLine="Log(LastException)"; +anywheresoftware.b4a.keywords.Common.LogImpl("817891351",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0); + }; + }; +RDebugUtils.currentLine=17891354; + //BA.debugLineNum = 17891354;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; +RDebugUtils.currentLine=18939904; + //BA.debugLineNum = 18939904;BA.debugLine="Sub borraArribaDe600RenglonesBitacora 'ignore"; +RDebugUtils.currentLine=18939905; + //BA.debugLineNum = 18939905;BA.debugLine="revisaBD"; +_revisabd(_ba); +RDebugUtils.currentLine=18939906; + //BA.debugLineNum = 18939906;BA.debugLine="LogColor(\"Recortamos la tabla de la Bitacora, lim"; +anywheresoftware.b4a.keywords.Common.LogImpl("818939906","Recortamos la tabla de la Bitacora, limite de 600",anywheresoftware.b4a.keywords.Common.Colors.Magenta); +RDebugUtils.currentLine=18939907; + //BA.debugLineNum = 18939907;BA.debugLine="Private c As Cursor"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=18939908; + //BA.debugLineNum = 18939908;BA.debugLine="c = kmt.ExecQuery(\"select fecha from bitacora\")"; +_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_kmt.ExecQuery("select fecha from bitacora"))); +RDebugUtils.currentLine=18939909; + //BA.debugLineNum = 18939909;BA.debugLine="c.Position = 0"; +_c.setPosition((int) (0)); +RDebugUtils.currentLine=18939910; + //BA.debugLineNum = 18939910;BA.debugLine="If c.RowCount > 650 Then"; +if (_c.getRowCount()>650) { +RDebugUtils.currentLine=18939911; + //BA.debugLineNum = 18939911;BA.debugLine="kmt.ExecNonQuery(\"DELETE FROM bitacora WHERE fec"; +_kmt.ExecNonQuery("DELETE FROM bitacora WHERE fecha NOT in (SELECT fecha FROM bitacora ORDER BY fecha desc LIMIT 599 )"); +RDebugUtils.currentLine=18939912; + //BA.debugLineNum = 18939912;BA.debugLine="kmt.ExecNonQuery(\"vacuum;\")"; +_kmt.ExecNonQuery("vacuum;"); + }; +RDebugUtils.currentLine=18939915; + //BA.debugLineNum = 18939915;BA.debugLine="c.Close"; +_c.Close(); +RDebugUtils.currentLine=18939916; + //BA.debugLineNum = 18939916;BA.debugLine="End Sub"; +return ""; +} +public static String _borralogdb(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "borralogdb", false)) + {return ((String) Debug.delegate(null, "borralogdb", new Object[] {_ba}));} +RDebugUtils.currentLine=18546688; + //BA.debugLineNum = 18546688;BA.debugLine="Sub borraLogDB 'ignore"; +RDebugUtils.currentLine=18546689; + //BA.debugLineNum = 18546689;BA.debugLine="LogColor(\"Borramos BD de log\", Colors.Magenta)"; +anywheresoftware.b4a.keywords.Common.LogImpl("818546689","Borramos BD de log",anywheresoftware.b4a.keywords.Common.Colors.Magenta); +RDebugUtils.currentLine=18546690; + //BA.debugLineNum = 18546690;BA.debugLine="kmt.ExecNonQuery(\"delete from bitacora\")"; +_kmt.ExecNonQuery("delete from bitacora"); +RDebugUtils.currentLine=18546691; + //BA.debugLineNum = 18546691;BA.debugLine="kmt.ExecNonQuery(\"vacuum;\")"; +_kmt.ExecNonQuery("vacuum;"); +RDebugUtils.currentLine=18546692; + //BA.debugLineNum = 18546692;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; +RDebugUtils.currentLine=17825792; + //BA.debugLineNum = 17825792;BA.debugLine="Sub borramosArchivoGPS 'ignore"; +RDebugUtils.currentLine=17825793; + //BA.debugLineNum = 17825793;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.getDirInternal(),"gps.txt",anywheresoftware.b4a.keywords.Common.False); +RDebugUtils.currentLine=17825794; + //BA.debugLineNum = 17825794;BA.debugLine="Dim s As String = \"\""; +_s = ""; +RDebugUtils.currentLine=17825795; + //BA.debugLineNum = 17825795;BA.debugLine="Dim t() As Byte = s.GetBytes(\"UTF-8\")"; +_t = _s.getBytes("UTF-8"); +RDebugUtils.currentLine=17825796; + //BA.debugLineNum = 17825796;BA.debugLine="out.WriteBytes(t, 0, t.Length)"; +_out.WriteBytes(_t,(int) (0),_t.length); +RDebugUtils.currentLine=17825797; + //BA.debugLineNum = 17825797;BA.debugLine="out.Close"; +_out.Close(); +RDebugUtils.currentLine=17825798; + //BA.debugLineNum = 17825798;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 = ""; +RDebugUtils.currentLine=17104896; + //BA.debugLineNum = 17104896;BA.debugLine="Sub compress(str As String) As String 'ignore"; +RDebugUtils.currentLine=17104898; + //BA.debugLineNum = 17104898;BA.debugLine="Dim compressed() As Byte = GZip.compress(str)"; +_compressed = _gzip.compress(_str); +RDebugUtils.currentLine=17104901; + //BA.debugLineNum = 17104901;BA.debugLine="Dim base64 As String = su.EncodeBase64(compressed"; +_base64 = _su.EncodeBase64(_compressed); +RDebugUtils.currentLine=17104902; + //BA.debugLineNum = 17104902;BA.debugLine="Log($\"Comprimido: ${base64.Length}\"$)"; +anywheresoftware.b4a.keywords.Common.LogImpl("817104902",("Comprimido: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_base64.length()))+""),0); +RDebugUtils.currentLine=17104904; + //BA.debugLineNum = 17104904;BA.debugLine="Return base64"; +if (true) return _base64; +RDebugUtils.currentLine=17104905; + //BA.debugLineNum = 17104905;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 = ""; +RDebugUtils.currentLine=19267584; + //BA.debugLineNum = 19267584;BA.debugLine="Sub copiaDB(result As Boolean) 'ignore"; +RDebugUtils.currentLine=19267585; + //BA.debugLineNum = 19267585;BA.debugLine="If result Then"; +if (_result) { +RDebugUtils.currentLine=19267586; + //BA.debugLineNum = 19267586;BA.debugLine="Dim p As String"; +_p = ""; +RDebugUtils.currentLine=19267587; + //BA.debugLineNum = 19267587;BA.debugLine="If File.ExternalWritable Then"; +if (anywheresoftware.b4a.keywords.Common.File.getExternalWritable()) { +RDebugUtils.currentLine=19267588; + //BA.debugLineNum = 19267588;BA.debugLine="p = File.DirInternal"; +_p = anywheresoftware.b4a.keywords.Common.File.getDirInternal(); + }else { +RDebugUtils.currentLine=19267591; + //BA.debugLineNum = 19267591;BA.debugLine="p = File.DirInternal"; +_p = anywheresoftware.b4a.keywords.Common.File.getDirInternal(); + }; +RDebugUtils.currentLine=19267594; + //BA.debugLineNum = 19267594;BA.debugLine="Dim theDir As String"; +_thedir = ""; +RDebugUtils.currentLine=19267595; + //BA.debugLineNum = 19267595;BA.debugLine="Try"; +try {RDebugUtils.currentLine=19267596; + //BA.debugLineNum = 19267596;BA.debugLine="File.MakeDir(File.DirInternal,\"kmts\")"; +anywheresoftware.b4a.keywords.Common.File.MakeDir(anywheresoftware.b4a.keywords.Common.File.getDirInternal(),"kmts"); +RDebugUtils.currentLine=19267597; + //BA.debugLineNum = 19267597;BA.debugLine="theDir = \"/kmts\""; +_thedir = "/kmts"; + } + catch (Exception e13) { + (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e13);RDebugUtils.currentLine=19267599; + //BA.debugLineNum = 19267599;BA.debugLine="theDir = \"\""; +_thedir = ""; + }; +RDebugUtils.currentLine=19267601; + //BA.debugLineNum = 19267601;BA.debugLine="Try"; +try {RDebugUtils.currentLine=19267602; + //BA.debugLineNum = 19267602;BA.debugLine="File.Copy(File.DirInternal,\"kmt.db\",File.DirInt"; +anywheresoftware.b4a.keywords.Common.File.Copy(anywheresoftware.b4a.keywords.Common.File.getDirInternal(),"kmt.db",anywheresoftware.b4a.keywords.Common.File.getDirInternal()+_thedir,"guna_rep_kmt.db"); +RDebugUtils.currentLine=19267603; + //BA.debugLineNum = 19267603;BA.debugLine="ToastMessageShow(\"BD copiada!\", False)"; +anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("BD copiada!"),anywheresoftware.b4a.keywords.Common.False); + } + catch (Exception e19) { + (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e19);RDebugUtils.currentLine=19267605; + //BA.debugLineNum = 19267605;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); + }; +RDebugUtils.currentLine=19267607; + //BA.debugLineNum = 19267607;BA.debugLine="Log(\"rootExternal=\"&p)"; +anywheresoftware.b4a.keywords.Common.LogImpl("819267607","rootExternal="+_p,0); +RDebugUtils.currentLine=19267608; + //BA.debugLineNum = 19267608;BA.debugLine="Log(\"File.DirInternal=\"&File.DirInternal)"; +anywheresoftware.b4a.keywords.Common.LogImpl("819267608","File.DirInternal="+anywheresoftware.b4a.keywords.Common.File.getDirInternal(),0); +RDebugUtils.currentLine=19267609; + //BA.debugLineNum = 19267609;BA.debugLine="Log(\"File.DirInternal=\"&File.DirInternal)"; +anywheresoftware.b4a.keywords.Common.LogImpl("819267609","File.DirInternal="+anywheresoftware.b4a.keywords.Common.File.getDirInternal(),0); + }else { +RDebugUtils.currentLine=19267611; + //BA.debugLineNum = 19267611;BA.debugLine="ToastMessageShow(\"Sin permisos\", False)"; +anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("Sin permisos"),anywheresoftware.b4a.keywords.Common.False); + }; +RDebugUtils.currentLine=19267613; + //BA.debugLineNum = 19267613;BA.debugLine="End Sub"; +return ""; +} +public static anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _createbitmapwithnumber(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _originalbitmap,int _number) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "createbitmapwithnumber", false)) + {return ((anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper) Debug.delegate(null, "createbitmapwithnumber", new Object[] {_ba,_originalbitmap,_number}));} +anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _newbitmap = null; +anywheresoftware.b4a.objects.drawable.CanvasWrapper _canvas = null; +anywheresoftware.b4a.objects.drawable.CanvasWrapper.RectWrapper _destrect = null; +RDebugUtils.currentLine=21430272; + //BA.debugLineNum = 21430272;BA.debugLine="Sub CreateBitmapWithNumber(OriginalBitmap As Bitma"; +RDebugUtils.currentLine=21430273; + //BA.debugLineNum = 21430273;BA.debugLine="Dim NewBitmap As Bitmap"; +_newbitmap = new anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper(); +RDebugUtils.currentLine=21430274; + //BA.debugLineNum = 21430274;BA.debugLine="NewBitmap.InitializeMutable(OriginalBitmap.Width,"; +_newbitmap.InitializeMutable(_originalbitmap.getWidth(),_originalbitmap.getHeight()); +RDebugUtils.currentLine=21430276; + //BA.debugLineNum = 21430276;BA.debugLine="Dim Canvas As Canvas"; +_canvas = new anywheresoftware.b4a.objects.drawable.CanvasWrapper(); +RDebugUtils.currentLine=21430277; + //BA.debugLineNum = 21430277;BA.debugLine="Canvas.Initialize2(NewBitmap)"; +_canvas.Initialize2((android.graphics.Bitmap)(_newbitmap.getObject())); +RDebugUtils.currentLine=21430280; + //BA.debugLineNum = 21430280;BA.debugLine="Dim DestRect As Rect"; +_destrect = new anywheresoftware.b4a.objects.drawable.CanvasWrapper.RectWrapper(); +RDebugUtils.currentLine=21430281; + //BA.debugLineNum = 21430281;BA.debugLine="DestRect.Initialize(0, 0, OriginalBitmap.Width, O"; +_destrect.Initialize((int) (0),(int) (0),_originalbitmap.getWidth(),_originalbitmap.getHeight()); +RDebugUtils.currentLine=21430284; + //BA.debugLineNum = 21430284;BA.debugLine="Canvas.DrawBitmap(OriginalBitmap, Null, DestRect)"; +_canvas.DrawBitmap((android.graphics.Bitmap)(_originalbitmap.getObject()),(android.graphics.Rect)(anywheresoftware.b4a.keywords.Common.Null),(android.graphics.Rect)(_destrect.getObject())); +RDebugUtils.currentLine=21430287; + //BA.debugLineNum = 21430287;BA.debugLine="Canvas.DrawText(Number, (OriginalBitmap.Width / 2"; +_canvas.DrawText(_ba,BA.NumberToString(_number),(float) ((_originalbitmap.getWidth()/(double)2)),(float) ((_originalbitmap.getHeight()/(double)2.4)),anywheresoftware.b4a.keywords.Common.Typeface.DEFAULT,(float) (20),anywheresoftware.b4a.keywords.Common.Colors.White,BA.getEnumFromString(android.graphics.Paint.Align.class,"CENTER")); +RDebugUtils.currentLine=21430289; + //BA.debugLineNum = 21430289;BA.debugLine="Return NewBitmap"; +if (true) return _newbitmap; +RDebugUtils.currentLine=21430290; + //BA.debugLineNum = 21430290;BA.debugLine="End Sub"; +return null; +} +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; +anywheresoftware.b4a.objects.collections.List _l = null; +int _i = 0; +anywheresoftware.b4a.objects.collections.Map _m = null; +anywheresoftware.b4a.objects.collections.Map _m2 = null; +RDebugUtils.currentLine=19070976; + //BA.debugLineNum = 19070976;BA.debugLine="Sub dameErroresJSON(SQL As SQL, maxErrores As Int,"; +RDebugUtils.currentLine=19070977; + //BA.debugLineNum = 19070977;BA.debugLine="Log(\"dameErroresJSON\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("819070977","dameErroresJSON",0); +RDebugUtils.currentLine=19070978; + //BA.debugLineNum = 19070978;BA.debugLine="Private j As JSONGenerator"; +_j = new anywheresoftware.b4a.objects.collections.JSONParser.JSONGenerator(); +RDebugUtils.currentLine=19070979; + //BA.debugLineNum = 19070979;BA.debugLine="Private lim As String"; +_lim = ""; +RDebugUtils.currentLine=19070980; + //BA.debugLineNum = 19070980;BA.debugLine="Private cur As ResultSet"; +_cur = new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(); +RDebugUtils.currentLine=19070981; + //BA.debugLineNum = 19070981;BA.debugLine="Private l As List"; +_l = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=19070982; + //BA.debugLineNum = 19070982;BA.debugLine="Private i As Int = 0"; +_i = (int) (0); +RDebugUtils.currentLine=19070983; + //BA.debugLineNum = 19070983;BA.debugLine="l.Initialize"; +_l.Initialize(); +RDebugUtils.currentLine=19070984; + //BA.debugLineNum = 19070984;BA.debugLine="Dim m, m2 As Map"; +_m = new anywheresoftware.b4a.objects.collections.Map(); +_m2 = new anywheresoftware.b4a.objects.collections.Map(); +RDebugUtils.currentLine=19070985; + //BA.debugLineNum = 19070985;BA.debugLine="m2.Initialize"; +_m2.Initialize(); +RDebugUtils.currentLine=19070986; + //BA.debugLineNum = 19070986;BA.debugLine="If maxErrores = 0 Then lim = \"\" Else lim = \"limit"; +if (_maxerrores==0) { +_lim = "";} +else { +_lim = "limit "+BA.NumberToString(_maxerrores);}; +RDebugUtils.currentLine=19070987; + //BA.debugLineNum = 19070987;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))); +RDebugUtils.currentLine=19070988; + //BA.debugLineNum = 19070988;BA.debugLine="Do While cur.NextRow"; +while (_cur.NextRow()) { +RDebugUtils.currentLine=19070989; + //BA.debugLineNum = 19070989;BA.debugLine="m.Initialize"; +_m.Initialize(); +RDebugUtils.currentLine=19070990; + //BA.debugLineNum = 19070990;BA.debugLine="m.Put(\"fecha\", cur.GetString(\"fecha\"))"; +_m.Put((Object)("fecha"),(Object)(_cur.GetString("fecha"))); +RDebugUtils.currentLine=19070991; + //BA.debugLineNum = 19070991;BA.debugLine="m.Put(\"error\", cur.GetString(\"error\"))"; +_m.Put((Object)("error"),(Object)(_cur.GetString("error"))); +RDebugUtils.currentLine=19070992; + //BA.debugLineNum = 19070992;BA.debugLine="m2.Put(i,m)"; +_m2.Put((Object)(_i),(Object)(_m.getObject())); +RDebugUtils.currentLine=19070993; + //BA.debugLineNum = 19070993;BA.debugLine="i = i + 1"; +_i = (int) (_i+1); + } +; +RDebugUtils.currentLine=19070995; + //BA.debugLineNum = 19070995;BA.debugLine="cur.Close"; +_cur.Close(); +RDebugUtils.currentLine=19070996; + //BA.debugLineNum = 19070996;BA.debugLine="j.Initialize(m2)"; +_j.Initialize(_m2); +RDebugUtils.currentLine=19070997; + //BA.debugLineNum = 19070997;BA.debugLine="Log(j.ToString)"; +anywheresoftware.b4a.keywords.Common.LogImpl("819070997",_j.ToString(),0); +RDebugUtils.currentLine=19070998; + //BA.debugLineNum = 19070998;BA.debugLine="If comprimido Then"; +if (_comprimido) { +RDebugUtils.currentLine=19070999; + //BA.debugLineNum = 19070999;BA.debugLine="Return compress(j.ToString)"; +if (true) return _compress(_ba,_j.ToString()); + }else { +RDebugUtils.currentLine=19071001; + //BA.debugLineNum = 19071001;BA.debugLine="Return j.ToString"; +if (true) return _j.ToString(); + }; +RDebugUtils.currentLine=19071003; + //BA.debugLineNum = 19071003;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; +RDebugUtils.currentLine=17629184; + //BA.debugLineNum = 17629184;BA.debugLine="Sub dameRuta(inicioRuta As String, origenRuta As S"; +RDebugUtils.currentLine=17629186; + //BA.debugLineNum = 17629186;BA.debugLine="Dim fechaInicio As String"; +_fechainicio = ""; +RDebugUtils.currentLine=17629187; + //BA.debugLineNum = 17629187;BA.debugLine="Try 'incioRuta es numero"; +try {RDebugUtils.currentLine=17629188; + //BA.debugLineNum = 17629188;BA.debugLine="inicioRuta = inicioRuta * 1"; +_inicioruta = BA.NumberToString((double)(Double.parseDouble(_inicioruta))*1); +RDebugUtils.currentLine=17629190; + //BA.debugLineNum = 17629190;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);RDebugUtils.currentLine=17629192; + //BA.debugLineNum = 17629192;BA.debugLine="fechaInicio = fechaInicioHoy"; +_fechainicio = _fechainiciohoy(_ba); + }; +RDebugUtils.currentLine=17629195; + //BA.debugLineNum = 17629195;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"fechaInicio"; +if (mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (_ba)._logger /*boolean*/ ) { +anywheresoftware.b4a.keywords.Common.LogImpl("817629195","fechaInicio: "+_fechainicio+" | rutaHrsAtras="+BA.NumberToString(_rutahrsatras),0);}; +RDebugUtils.currentLine=17629196; + //BA.debugLineNum = 17629196;BA.debugLine="Dim c As Cursor"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=17629197; + //BA.debugLineNum = 17629197;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);}; +RDebugUtils.currentLine=17629198; + //BA.debugLineNum = 17629198;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"select FECH"; +if (mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (_ba)._logger /*boolean*/ ) { +anywheresoftware.b4a.keywords.Common.LogImpl("817629198","select FECHA, LAT, LON from "+_origenruta+" where FECHA > "+_fechainicio+" order by FECHA desc limit "+BA.NumberToString(_rutamaxpoints),0);}; +RDebugUtils.currentLine=17629199; + //BA.debugLineNum = 17629199;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)))); +RDebugUtils.currentLine=17629200; + //BA.debugLineNum = 17629200;BA.debugLine="c.Position = 0"; +_c.setPosition((int) (0)); +RDebugUtils.currentLine=17629201; + //BA.debugLineNum = 17629201;BA.debugLine="Dim ruta2 As String = \"\""; +_ruta2 = ""; +RDebugUtils.currentLine=17629202; + //BA.debugLineNum = 17629202;BA.debugLine="If c.RowCount>0 Then"; +if (_c.getRowCount()>0) { +RDebugUtils.currentLine=17629203; + //BA.debugLineNum = 17629203;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 ) { +RDebugUtils.currentLine=17629204; + //BA.debugLineNum = 17629204;BA.debugLine="c.Position=i"; +_c.setPosition(_i); +RDebugUtils.currentLine=17629205; + //BA.debugLineNum = 17629205;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"); +RDebugUtils.currentLine=17629206; + //BA.debugLineNum = 17629206;BA.debugLine="B4XPages.MainPage.fechaRuta = c.GetString(\"FECH"; +mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (_ba)._fecharuta /*String*/ = _c.GetString("FECHA"); + } +}; + }; +RDebugUtils.currentLine=17629209; + //BA.debugLineNum = 17629209;BA.debugLine="c.Close"; +_c.Close(); +RDebugUtils.currentLine=17629210; + //BA.debugLineNum = 17629210;BA.debugLine="Return compress(ruta2)"; +if (true) return _compress(_ba,_ruta2); +RDebugUtils.currentLine=17629211; + //BA.debugLineNum = 17629211;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 = ""; +RDebugUtils.currentLine=18284544; + //BA.debugLineNum = 18284544;BA.debugLine="Sub fechaInicioHoy As String 'ignore"; +RDebugUtils.currentLine=18284545; + //BA.debugLineNum = 18284545;BA.debugLine="Dim OrigFormat As String = DateTime.DateFormat"; +_origformat = anywheresoftware.b4a.keywords.Common.DateTime.getDateFormat(); +RDebugUtils.currentLine=18284546; + //BA.debugLineNum = 18284546;BA.debugLine="DateTime.DateFormat=\"yyMMdd\""; +anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat("yyMMdd"); +RDebugUtils.currentLine=18284547; + //BA.debugLineNum = 18284547;BA.debugLine="Private h As String = DateTime.Date(DateTime.Now"; +_h = anywheresoftware.b4a.keywords.Common.DateTime.Date(anywheresoftware.b4a.keywords.Common.DateTime.getNow())+"000000"; +RDebugUtils.currentLine=18284548; + //BA.debugLineNum = 18284548;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig"; +anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat(_origformat); +RDebugUtils.currentLine=18284549; + //BA.debugLineNum = 18284549;BA.debugLine="Log(\"Hoy=\"&h)"; +anywheresoftware.b4a.keywords.Common.LogImpl("818284549","Hoy="+_h,0); +RDebugUtils.currentLine=18284550; + //BA.debugLineNum = 18284550;BA.debugLine="Return h"; +if (true) return _h; +RDebugUtils.currentLine=18284551; + //BA.debugLineNum = 18284551;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=17170432; + //BA.debugLineNum = 17170432;BA.debugLine="Sub decompress(base64 As String) As String 'ignore"; +RDebugUtils.currentLine=17170433; + //BA.debugLineNum = 17170433;BA.debugLine="Dim decompressedbytes() As Byte = su.DecodeBase64"; +_decompressedbytes = _su.DecodeBase64(_base64); +RDebugUtils.currentLine=17170435; + //BA.debugLineNum = 17170435;BA.debugLine="Dim bc As ByteConverter"; +_bc = new anywheresoftware.b4a.agraham.byteconverter.ByteConverter(); +RDebugUtils.currentLine=17170436; + //BA.debugLineNum = 17170436;BA.debugLine="Dim uncompressed As String = bc.StringFromBytes(d"; +_uncompressed = _bc.StringFromBytes(_decompressedbytes,"UTF8"); +RDebugUtils.currentLine=17170437; + //BA.debugLineNum = 17170437;BA.debugLine="Log($\"Descomprimido: ${uncompressed.Length}\"$)"; +anywheresoftware.b4a.keywords.Common.LogImpl("817170437",("Descomprimido: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_uncompressed.length()))+""),0); +RDebugUtils.currentLine=17170439; + //BA.debugLineNum = 17170439;BA.debugLine="Return uncompressed"; +if (true) return _uncompressed; +RDebugUtils.currentLine=17170440; + //BA.debugLineNum = 17170440;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=17760256; + //BA.debugLineNum = 17760256;BA.debugLine="Sub deleteErrorLog_DB 'ignore"; +RDebugUtils.currentLine=17760257; + //BA.debugLineNum = 17760257;BA.debugLine="If Not(errorLog.IsInitialized) Then revisaBD"; +if (anywheresoftware.b4a.keywords.Common.Not(_errorlog.IsInitialized())) { +_revisabd(_ba);}; +RDebugUtils.currentLine=17760258; + //BA.debugLineNum = 17760258;BA.debugLine="errorLog.ExecNonQuery(\"delete from errores\")"; +_errorlog.ExecNonQuery("delete from errores"); +RDebugUtils.currentLine=17760259; + //BA.debugLineNum = 17760259;BA.debugLine="errorLog.ExecNonQuery(\"vacuum;\")"; +_errorlog.ExecNonQuery("vacuum;"); +RDebugUtils.currentLine=17760260; + //BA.debugLineNum = 17760260;BA.debugLine="ToastMessageShow(\"Borrada\", False)"; +anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("Borrada"),anywheresoftware.b4a.keywords.Common.False); +RDebugUtils.currentLine=17760261; + //BA.debugLineNum = 17760261;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=17694720; + //BA.debugLineNum = 17694720;BA.debugLine="Sub deleteGPS_DB 'ignore"; +RDebugUtils.currentLine=17694721; + //BA.debugLineNum = 17694721;BA.debugLine="kmt.ExecNonQuery(\"delete from RUTA_GPS\")"; +_kmt.ExecNonQuery("delete from RUTA_GPS"); +RDebugUtils.currentLine=17694722; + //BA.debugLineNum = 17694722;BA.debugLine="kmt.ExecNonQuery(\"vacuum;\")"; +_kmt.ExecNonQuery("vacuum;"); +RDebugUtils.currentLine=17694723; + //BA.debugLineNum = 17694723;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; +RDebugUtils.currentLine=19136512; + //BA.debugLineNum = 19136512;BA.debugLine="Sub fechaKMT2Ticks(fKMT As String) As Long 'ignore"; +RDebugUtils.currentLine=19136513; + //BA.debugLineNum = 19136513;BA.debugLine="Try"; +try {RDebugUtils.currentLine=19136514; + //BA.debugLineNum = 19136514;BA.debugLine="If fKMT.Length = 12 Then"; +if (_fkmt.length()==12) { +RDebugUtils.currentLine=19136515; + //BA.debugLineNum = 19136515;BA.debugLine="Private parteFecha As String = fKMT.SubString2("; +_partefecha = _fkmt.substring((int) (0),(int) (6)); +RDebugUtils.currentLine=19136516; + //BA.debugLineNum = 19136516;BA.debugLine="Private parteHora As String = fKMT.SubString(6)"; +_partehora = _fkmt.substring((int) (6)); +RDebugUtils.currentLine=19136517; + //BA.debugLineNum = 19136517;BA.debugLine="Private OrigFormat As String = DateTime.DateFor"; +_origformat = anywheresoftware.b4a.keywords.Common.DateTime.getDateFormat(); +RDebugUtils.currentLine=19136518; + //BA.debugLineNum = 19136518;BA.debugLine="DateTime.DateFormat=\"yyMMdd\""; +anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat("yyMMdd"); +RDebugUtils.currentLine=19136519; + //BA.debugLineNum = 19136519;BA.debugLine="DateTime.TimeFormat=\"HHmmss\""; +anywheresoftware.b4a.keywords.Common.DateTime.setTimeFormat("HHmmss"); +RDebugUtils.currentLine=19136520; + //BA.debugLineNum = 19136520;BA.debugLine="Private ticks As Long = DateTime.DateTimeParse("; +_ticks = anywheresoftware.b4a.keywords.Common.DateTime.DateTimeParse(_partefecha,_partehora); +RDebugUtils.currentLine=19136522; + //BA.debugLineNum = 19136522;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig"; +anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat(_origformat); +RDebugUtils.currentLine=19136523; + //BA.debugLineNum = 19136523;BA.debugLine="Return ticks"; +if (true) return _ticks; + }else { +RDebugUtils.currentLine=19136525; + //BA.debugLineNum = 19136525;BA.debugLine="Log(\"Formato de fecha incorrecto, debe de ser '"; +anywheresoftware.b4a.keywords.Common.LogImpl("819136525","Formato de fecha incorrecto, debe de ser 'YYMMDDHHMMSS', no '"+_fkmt+"' largo="+BA.NumberToString(_fkmt.length()),0); +RDebugUtils.currentLine=19136526; + //BA.debugLineNum = 19136526;BA.debugLine="Return 0"; +if (true) return (long) (0); + }; + } + catch (Exception e16) { + (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e16);RDebugUtils.currentLine=19136529; + //BA.debugLineNum = 19136529;BA.debugLine="Log(LastException)"; +anywheresoftware.b4a.keywords.Common.LogImpl("819136529",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0); +RDebugUtils.currentLine=19136530; + //BA.debugLineNum = 19136530;BA.debugLine="LogColor($\"Fecha dada: ${fKMT}, Parte Fecha: ${p"; +anywheresoftware.b4a.keywords.Common.LogImpl("819136530",("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=19136531; + //BA.debugLineNum = 19136531;BA.debugLine="Return 0"; +if (true) return (long) (0); + }; +RDebugUtils.currentLine=19136533; + //BA.debugLineNum = 19136533;BA.debugLine="End Sub"; +return 0L; +} +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 = ""; +RDebugUtils.currentLine=17039360; + //BA.debugLineNum = 17039360;BA.debugLine="Sub getPhnId As String 'ignore"; +RDebugUtils.currentLine=17039362; + //BA.debugLineNum = 17039362;BA.debugLine="devModel = phn.Model"; +_devmodel = _phn.getModel(); +RDebugUtils.currentLine=17039363; + //BA.debugLineNum = 17039363;BA.debugLine="If devModel.Length <= 3 Then 'Si phn.Model esta e"; +if (_devmodel.length()<=3) { +RDebugUtils.currentLine=17039364; + //BA.debugLineNum = 17039364;BA.debugLine="Dim t As String = phn.GetSettings(\"android_id\")"; +_t = _phn.GetSettings("android_id"); +RDebugUtils.currentLine=17039365; + //BA.debugLineNum = 17039365;BA.debugLine="devModel = t"; +_devmodel = _t; + }; +RDebugUtils.currentLine=17039367; + //BA.debugLineNum = 17039367;BA.debugLine="If devModel.Length >= 3 Then 'Si tenemos valor pa"; +if (_devmodel.length()>=3) { +RDebugUtils.currentLine=17039368; + //BA.debugLineNum = 17039368;BA.debugLine="File.WriteString(File.DirInternal, \"phnId.txt\","; +anywheresoftware.b4a.keywords.Common.File.WriteString(anywheresoftware.b4a.keywords.Common.File.getDirInternal(),"phnId.txt",_devmodel); + }else +{RDebugUtils.currentLine=17039370; + //BA.debugLineNum = 17039370;BA.debugLine="Else If devModel.Length < 3 Then ' Si no tenemos"; +if (_devmodel.length()<3) { +RDebugUtils.currentLine=17039371; + //BA.debugLineNum = 17039371;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"); +RDebugUtils.currentLine=17039372; + //BA.debugLineNum = 17039372;BA.debugLine="devModel = s"; +_devmodel = _s; + }} +; +RDebugUtils.currentLine=17039376; + //BA.debugLineNum = 17039376;BA.debugLine="Return devModel"; +if (true) return _devmodel; +RDebugUtils.currentLine=17039377; + //BA.debugLineNum = 17039377;BA.debugLine="End Sub"; +return ""; +} +public static String _getssid(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "getssid", false)) + {return ((String) Debug.delegate(null, "getssid", new Object[] {_ba}));} +RDebugUtils.currentLine=17956864; + //BA.debugLineNum = 17956864;BA.debugLine="Sub getSSID 'ignore"; +RDebugUtils.currentLine=17956869; + //BA.debugLineNum = 17956869;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; +RDebugUtils.currentLine=17498112; + //BA.debugLineNum = 17498112;BA.debugLine="Sub guardaInfoEnArchivo(coords As String) 'ignore"; +RDebugUtils.currentLine=17498114; + //BA.debugLineNum = 17498114;BA.debugLine="Dim OrigFormat As String=DateTime.DateFormat 'sa"; +_origformat = anywheresoftware.b4a.keywords.Common.DateTime.getDateFormat(); +RDebugUtils.currentLine=17498115; + //BA.debugLineNum = 17498115;BA.debugLine="DateTime.DateFormat=\"MMM-dd HH:mm:ss\""; +anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat("MMM-dd HH:mm:ss"); +RDebugUtils.currentLine=17498116; + //BA.debugLineNum = 17498116;BA.debugLine="Dim lastUpdate As String=DateTime.Date(DateTime.N"; +_lastupdate = anywheresoftware.b4a.keywords.Common.DateTime.Date(anywheresoftware.b4a.keywords.Common.DateTime.getNow()); +RDebugUtils.currentLine=17498117; + //BA.debugLineNum = 17498117;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig d"; +anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat(_origformat); +RDebugUtils.currentLine=17498119; + //BA.debugLineNum = 17498119;BA.debugLine="Dim ubic As String = coords&\",\"&lastUpdate"; +_ubic = _coords+","+_lastupdate; +RDebugUtils.currentLine=17498120; + //BA.debugLineNum = 17498120;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.getDirInternal(),"gps.txt",anywheresoftware.b4a.keywords.Common.True); +RDebugUtils.currentLine=17498121; + //BA.debugLineNum = 17498121;BA.debugLine="Dim s As String = ubic & CRLF"; +_s = _ubic+anywheresoftware.b4a.keywords.Common.CRLF; +RDebugUtils.currentLine=17498122; + //BA.debugLineNum = 17498122;BA.debugLine="Dim t() As Byte = s.GetBytes(\"UTF-8\")"; +_t = _s.getBytes("UTF-8"); +RDebugUtils.currentLine=17498123; + //BA.debugLineNum = 17498123;BA.debugLine="out.WriteBytes(t, 0, t.Length)"; +_out.WriteBytes(_t,(int) (0),_t.length); +RDebugUtils.currentLine=17498124; + //BA.debugLineNum = 17498124;BA.debugLine="out.Close"; +_out.Close(); +RDebugUtils.currentLine=17498125; + //BA.debugLineNum = 17498125;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; +RDebugUtils.currentLine=17563648; + //BA.debugLineNum = 17563648;BA.debugLine="Sub guardaInfoEnBD(coords As String) 'ignore"; +RDebugUtils.currentLine=17563649; + //BA.debugLineNum = 17563649;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"Guardamos u"; +if (mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (_ba)._logger /*boolean*/ ) { +anywheresoftware.b4a.keywords.Common.LogImpl("817563649","Guardamos ubicacion en BD - "+_coords,0);}; +RDebugUtils.currentLine=17563650; + //BA.debugLineNum = 17563650;BA.debugLine="Try"; +try {RDebugUtils.currentLine=17563651; + //BA.debugLineNum = 17563651;BA.debugLine="Dim latlon() As String = Regex.Split(\"\\|\", coord"; +_latlon = anywheresoftware.b4a.keywords.Common.Regex.Split("\\|",_coords); +RDebugUtils.currentLine=17563652; + //BA.debugLineNum = 17563652;BA.debugLine="If latlon.Length < 2 Then latlon = Regex.Split(\""; +if (_latlon.length<2) { +_latlon = anywheresoftware.b4a.keywords.Common.Regex.Split(",",_coords);}; +RDebugUtils.currentLine=17563654; + //BA.debugLineNum = 17563654;BA.debugLine="If Not(kmt.IsInitialized) Then revisaBD"; +if (anywheresoftware.b4a.keywords.Common.Not(_kmt.IsInitialized())) { +_revisabd(_ba);}; +RDebugUtils.currentLine=17563655; + //BA.debugLineNum = 17563655;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);RDebugUtils.currentLine=17563657; + //BA.debugLineNum = 17563657;BA.debugLine="Log(LastException)"; +anywheresoftware.b4a.keywords.Common.LogImpl("817563657",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0); + }; +RDebugUtils.currentLine=17563659; + //BA.debugLineNum = 17563659;BA.debugLine="End Sub"; +return ""; +} +public static String _hmskmt(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "hmskmt", false)) + {return ((String) Debug.delegate(null, "hmskmt", new Object[] {_ba}));} +String _origformat = ""; +String _nuevahora = ""; +RDebugUtils.currentLine=17301504; + //BA.debugLineNum = 17301504;BA.debugLine="Sub hmsKMT As String 'ignore"; +RDebugUtils.currentLine=17301506; + //BA.debugLineNum = 17301506;BA.debugLine="Dim OrigFormat As String = DateTime.DateFormat '"; +_origformat = anywheresoftware.b4a.keywords.Common.DateTime.getDateFormat(); +RDebugUtils.currentLine=17301507; + //BA.debugLineNum = 17301507;BA.debugLine="DateTime.DateFormat=\"HHmmss\""; +anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat("HHmmss"); +RDebugUtils.currentLine=17301508; + //BA.debugLineNum = 17301508;BA.debugLine="Private nuevaHora As String=DateTime.Date(DateTim"; +_nuevahora = anywheresoftware.b4a.keywords.Common.DateTime.Date(anywheresoftware.b4a.keywords.Common.DateTime.getNow()); +RDebugUtils.currentLine=17301509; + //BA.debugLineNum = 17301509;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig d"; +anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat(_origformat); +RDebugUtils.currentLine=17301511; + //BA.debugLineNum = 17301511;BA.debugLine="Return nuevaHora"; +if (true) return _nuevahora; +RDebugUtils.currentLine=17301512; + //BA.debugLineNum = 17301512;BA.debugLine="End Sub"; +return ""; +} +public static String _insertaenerrores(anywheresoftware.b4a.BA _ba,String _error) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "insertaenerrores", false)) + {return ((String) Debug.delegate(null, "insertaenerrores", new Object[] {_ba,_error}));} +RDebugUtils.currentLine=19398656; + //BA.debugLineNum = 19398656;BA.debugLine="Sub insertaEnErrores(error As String) 'ignore"; +RDebugUtils.currentLine=19398657; + //BA.debugLineNum = 19398657;BA.debugLine="If Not(errorLog.IsInitialized) Then revisaBD"; +if (anywheresoftware.b4a.keywords.Common.Not(_errorlog.IsInitialized())) { +_revisabd(_ba);}; +RDebugUtils.currentLine=19398658; + //BA.debugLineNum = 19398658;BA.debugLine="errorLog.ExecNonQuery2(\"INSERT INTO errores(fecha"; +_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)(_error)})); +RDebugUtils.currentLine=19398659; + //BA.debugLineNum = 19398659;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; +RDebugUtils.currentLine=19005440; + //BA.debugLineNum = 19005440;BA.debugLine="Sub insertaRenglonesPruebaEnErrorLog 'ignore"; +RDebugUtils.currentLine=19005441; + //BA.debugLineNum = 19005441;BA.debugLine="If Not(errorLog.IsInitialized) Then revisaBD"; +if (anywheresoftware.b4a.keywords.Common.Not(_errorlog.IsInitialized())) { +_revisabd(_ba);}; +RDebugUtils.currentLine=19005442; + //BA.debugLineNum = 19005442;BA.debugLine="Log(\"insertamos 50 renglones a errorLog\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("819005442","insertamos 50 renglones a errorLog",0); +RDebugUtils.currentLine=19005443; + //BA.debugLineNum = 19005443;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 ) { +RDebugUtils.currentLine=19005444; + //BA.debugLineNum = 19005444;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")})); +RDebugUtils.currentLine=19005445; + //BA.debugLineNum = 19005445;BA.debugLine="Log(x)"; +anywheresoftware.b4a.keywords.Common.LogImpl("819005445",BA.NumberToString(_x),0); + } +}; +RDebugUtils.currentLine=19005447; + //BA.debugLineNum = 19005447;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; +RDebugUtils.currentLine=19202048; + //BA.debugLineNum = 19202048;BA.debugLine="Sub InstallAPK(dir As String, apk As String) 'igno"; +RDebugUtils.currentLine=19202049; + //BA.debugLineNum = 19202049;BA.debugLine="If File.Exists(dir, apk) Then"; +if (anywheresoftware.b4a.keywords.Common.File.Exists(_dir,_apk)) { +RDebugUtils.currentLine=19202050; + //BA.debugLineNum = 19202050;BA.debugLine="Dim i As Intent"; +_i = new anywheresoftware.b4a.objects.IntentWrapper(); +RDebugUtils.currentLine=19202051; + //BA.debugLineNum = 19202051;BA.debugLine="i.Initialize(i.ACTION_VIEW, \"file://\" & File.Com"; +_i.Initialize(_i.ACTION_VIEW,"file://"+anywheresoftware.b4a.keywords.Common.File.Combine(_dir,_apk)); +RDebugUtils.currentLine=19202052; + //BA.debugLineNum = 19202052;BA.debugLine="i.SetType(\"application/vnd.android.package-archi"; +_i.SetType("application/vnd.android.package-archive"); +RDebugUtils.currentLine=19202053; + //BA.debugLineNum = 19202053;BA.debugLine="StartActivity(i)"; +anywheresoftware.b4a.keywords.Common.StartActivity((_ba.processBA == null ? _ba : _ba.processBA),(Object)(_i.getObject())); + }; +RDebugUtils.currentLine=19202055; + //BA.debugLineNum = 19202055;BA.debugLine="End Sub"; +return ""; +} +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; +RDebugUtils.currentLine=18022400; + //BA.debugLineNum = 18022400;BA.debugLine="Sub JSON2Map(theJson As String) As Map 'ignore"; +RDebugUtils.currentLine=18022402; + //BA.debugLineNum = 18022402;BA.debugLine="Try"; +try {RDebugUtils.currentLine=18022403; + //BA.debugLineNum = 18022403;BA.debugLine="Private json As JSONParser"; +_json = new anywheresoftware.b4a.objects.collections.JSONParser(); +RDebugUtils.currentLine=18022404; + //BA.debugLineNum = 18022404;BA.debugLine="json.Initialize(theJson)"; +_json.Initialize(_thejson); +RDebugUtils.currentLine=18022405; + //BA.debugLineNum = 18022405;BA.debugLine="Return json.NextObject"; +if (true) return _json.NextObject(); + } + catch (Exception e6) { + (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e6);RDebugUtils.currentLine=18022407; + //BA.debugLineNum = 18022407;BA.debugLine="Log(LastException)"; +anywheresoftware.b4a.keywords.Common.LogImpl("818022407",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0); +RDebugUtils.currentLine=18022408; + //BA.debugLineNum = 18022408;BA.debugLine="log2DB(\"JSON2Map: \"&LastException)"; +_log2db(_ba,"JSON2Map: "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba))); +RDebugUtils.currentLine=18022409; + //BA.debugLineNum = 18022409;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())}); +RDebugUtils.currentLine=18022410; + //BA.debugLineNum = 18022410;BA.debugLine="Return m"; +if (true) return _m; + }; +RDebugUtils.currentLine=18022412; + //BA.debugLineNum = 18022412;BA.debugLine="End Sub"; +return null; +} +public static String _log2db(anywheresoftware.b4a.BA _ba,String _texto) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "log2db", false)) + {return ((String) Debug.delegate(null, "log2db", new Object[] {_ba,_texto}));} +RDebugUtils.currentLine=18350080; + //BA.debugLineNum = 18350080;BA.debugLine="Sub log2DB(texto As String) 'ignore"; +RDebugUtils.currentLine=18350081; + //BA.debugLineNum = 18350081;BA.debugLine="LogColor(fechaKMT(DateTime.Now)&\" - log2BD: '\"&te"; +anywheresoftware.b4a.keywords.Common.LogImpl("818350081",_fechakmt(_ba,BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow()))+" - log2BD: '"+_texto+"'",anywheresoftware.b4a.keywords.Common.Colors.Magenta); +RDebugUtils.currentLine=18350082; + //BA.debugLineNum = 18350082;BA.debugLine="If kmt.IsInitialized Then kmt.ExecNonQuery2(\"INSE"; +if (_kmt.IsInitialized()) { +_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)}));}; +RDebugUtils.currentLine=18350083; + //BA.debugLineNum = 18350083;BA.debugLine="End Sub"; +return ""; +} +public static String _mandamosloc(anywheresoftware.b4a.BA _ba,String _coords) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "mandamosloc", false)) + {return ((String) Debug.delegate(null, "mandamosloc", new Object[] {_ba,_coords}));} +RDebugUtils.currentLine=18219008; + //BA.debugLineNum = 18219008;BA.debugLine="Sub mandamosLoc(coords As String) 'ignore"; +RDebugUtils.currentLine=18219024; + //BA.debugLineNum = 18219024;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 = ""; +RDebugUtils.currentLine=18087936; + //BA.debugLineNum = 18087936;BA.debugLine="Sub map2JSON(m As Map) As String 'ignore"; +RDebugUtils.currentLine=18087939; + //BA.debugLineNum = 18087939;BA.debugLine="Dim jg As JSONGenerator"; +_jg = new anywheresoftware.b4a.objects.collections.JSONParser.JSONGenerator(); +RDebugUtils.currentLine=18087940; + //BA.debugLineNum = 18087940;BA.debugLine="jg.Initialize(m)"; +_jg.Initialize(_m); +RDebugUtils.currentLine=18087941; + //BA.debugLineNum = 18087941;BA.debugLine="Dim t As String = jg.ToString"; +_t = _jg.ToString(); +RDebugUtils.currentLine=18087942; + //BA.debugLineNum = 18087942;BA.debugLine="Return t"; +if (true) return _t; +RDebugUtils.currentLine=18087943; + //BA.debugLineNum = 18087943;BA.debugLine="End Sub"; +return ""; +} +public static boolean _masdexxmins(anywheresoftware.b4a.BA _ba,int _hora,int _mins) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "masdexxmins", false)) + {return ((Boolean) Debug.delegate(null, "masdexxmins", new Object[] {_ba,_hora,_mins}));} +RDebugUtils.currentLine=18415616; + //BA.debugLineNum = 18415616;BA.debugLine="Sub masDeXXMins(hora As Int, mins As Int) As Boole"; +RDebugUtils.currentLine=18415617; + //BA.debugLineNum = 18415617;BA.debugLine="If (hora + mins * DateTime.TicksPerMinute) < Date"; +if ((_hora+_mins*anywheresoftware.b4a.keywords.Common.DateTime.TicksPerMinute) 0 Then"; +if (_chv.getRowCount()>0) { +RDebugUtils.currentLine=20643850; + //BA.debugLineNum = 20643850;BA.debugLine="chv.Position = 0"; +_chv.setPosition((int) (0)); +RDebugUtils.currentLine=20643852; + //BA.debugLineNum = 20643852;BA.debugLine="Private precio As String = traePrecio(prodId, t"; +_precio = _traeprecio(_ba,_prodid,_traealmacen(_ba)); +RDebugUtils.currentLine=20643853; + //BA.debugLineNum = 20643853;BA.debugLine="Starter.skmt.ExecNonQuery2(\"insert into reparto"; +mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into reparto(REP_CLIENTE, REP_PRONOMBRE, REP_CANT, REP_COSTO_TOT, REP_FECHA, REP_RECHAZO, REP_PRODID, REP_PRECIO, REP_CLI_ORIG) VALUES (?,?,?,?,?,1,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_traecliente(_ba),_chv.GetString("HVD_PRONOMBRE"),BA.NumberToString(1),_precio,_chv.GetString("HVD_FECHA"),_prodid,_precio,_traecliente(_ba)})); +RDebugUtils.currentLine=20643854; + //BA.debugLineNum = 20643854;BA.debugLine="Starter.skmt.ExecNonQuery2(\"insert into reparto"; +mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into reparto(REP_CLIENTE, REP_PRONOMBRE, REP_CANT, REP_COSTO_TOT, REP_FECHA, REP_RECHAZO, REP_PRODID, REP_PRECIO, REP_CLI_ORIG) VALUES (?,?,?,?,?,0,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_traecliente(_ba),_chv.GetString("HVD_PRONOMBRE"),BA.NumberToString((double)(Double.parseDouble(_chv.GetString("HVD_CANT")))-1),BA.NumberToString(((double)(Double.parseDouble(_chv.GetString("HVD_CANT")))-1)*(double)(Double.parseDouble(_precio))),_chv.GetString("HVD_FECHA"),_prodid,_precio,_traecliente(_ba)})); +RDebugUtils.currentLine=20643855; + //BA.debugLineNum = 20643855;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENTAS"; +mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update HIST_VENTAS set HVD_PARCIAL = 1, HVD_CANT = 0, HVD_COSTO_TOT = '0' where HVD_PROID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"' and HVD_CLIENTE in (Select CUENTA from cuentaa)")); + }; + }else { +RDebugUtils.currentLine=20643858; + //BA.debugLineNum = 20643858;BA.debugLine="Log($\"ACTUALIZAMOS REPARTO\"$)"; +anywheresoftware.b4a.keywords.Common.LogImpl("820643858",("ACTUALIZAMOS REPARTO"),0); +RDebugUtils.currentLine=20643859; + //BA.debugLineNum = 20643859;BA.debugLine="Private precio As String = traePrecio(prodId, tr"; +_precio = _traeprecio(_ba,_prodid,_traealmacen(_ba)); +RDebugUtils.currentLine=20643860; + //BA.debugLineNum = 20643860;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update HIST_VENTAS s"; +mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update HIST_VENTAS set HVD_PARCIAL = 1, HVD_CANT = 0, HVD_COSTO_TOT = '0' WHERE HVD_PROID = ? and HVD_CLIENTE in (Select CUENTA from cuentaa)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_prodid})); +RDebugUtils.currentLine=20643861; + //BA.debugLineNum = 20643861;BA.debugLine="Starter.skmt.ExecNonQuery($\"update reparto set R"; +mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update reparto set REP_CANT = REP_CANT + 1 where REP_CLIENTE = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteoriginal))+"' and REP_CLI_ORIG = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteoriginal))+"' and REP_RECHAZO = 1 and REP_PRODID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"'")); +RDebugUtils.currentLine=20643862; + //BA.debugLineNum = 20643862;BA.debugLine="Starter.skmt.ExecNonQuery($\"update reparto set R"; +mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update reparto set REP_CANT = REP_CANT - 1 where REP_CLIENTE in (Select CUENTA from cuentaa) and REP_CLI_ORIG = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteoriginal))+"' and REP_RECHAZO = 0 and REP_PRODID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"'")); +RDebugUtils.currentLine=20643865; + //BA.debugLineNum = 20643865;BA.debugLine="Starter.skmt.ExecNonQuery($\"update reparto set R"; +mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update reparto set REP_COSTO_TOT = REP_CANT * "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_precio))+", REP_PRECIO = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_precio))+"' where REP_CLIENTE in (Select CUENTA from cuentaa) and REP_CLI_ORIG = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteoriginal))+"' and REP_PRODID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"'")); + }; +RDebugUtils.currentLine=20643867; + //BA.debugLineNum = 20643867;BA.debugLine="End Sub"; +return ""; +} +public static String _traeprecio(anywheresoftware.b4a.BA _ba,String _id,String _quepromo) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traeprecio", false)) + {return ((String) Debug.delegate(null, "traeprecio", new Object[] {_ba,_id,_quepromo}));} +String _pu = ""; +anywheresoftware.b4a.sql.SQL.CursorWrapper _idc = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _pc = null; +RDebugUtils.currentLine=19922944; + //BA.debugLineNum = 19922944;BA.debugLine="Sub traePrecio(id As String, quePromo As String) A"; +RDebugUtils.currentLine=19922945; + //BA.debugLineNum = 19922945;BA.debugLine="Private pu As String = \"0\""; +_pu = "0"; +RDebugUtils.currentLine=19922947; + //BA.debugLineNum = 19922947;BA.debugLine="If quePromo = traeAlmacen Then"; +if ((_quepromo).equals(_traealmacen(_ba))) { +RDebugUtils.currentLine=19922948; + //BA.debugLineNum = 19922948;BA.debugLine="Private idc As Cursor = kmt.ExecQuery($\"select C"; +_idc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_idc = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_kmt.ExecQuery(("select CAT_GP_PRECIO from CAT_GUNAPROD where CAT_GP_ID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_id))+"'")))); +RDebugUtils.currentLine=19922949; + //BA.debugLineNum = 19922949;BA.debugLine="If idc.RowCount > 0 Then"; +if (_idc.getRowCount()>0) { +RDebugUtils.currentLine=19922950; + //BA.debugLineNum = 19922950;BA.debugLine="idc.Position=0"; +_idc.setPosition((int) (0)); +RDebugUtils.currentLine=19922951; + //BA.debugLineNum = 19922951;BA.debugLine="If idc.RowCount > 0 And IsNumber(idc.GetString("; +if (_idc.getRowCount()>0 && anywheresoftware.b4a.keywords.Common.IsNumber(_idc.GetString("CAT_GP_PRECIO"))) { +_pu = _idc.GetString("CAT_GP_PRECIO");}; + }; +RDebugUtils.currentLine=19922954; + //BA.debugLineNum = 19922954;BA.debugLine="idc.Close"; +_idc.Close(); + }else { +RDebugUtils.currentLine=19922956; + //BA.debugLineNum = 19922956;BA.debugLine="Private pc As Cursor = Starter.skmt.ExecQuery($\""; +_pc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_pc = (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 HVD_CANT, HVD_COSTO_TOT from HIST_VENTAS2 where HVD_CLIENTE in (select cuenta from cuentaa) and HVD_PROID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_id))+"' and HVD_CODPROMO = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_quepromo))+"'")))); +RDebugUtils.currentLine=19922957; + //BA.debugLineNum = 19922957;BA.debugLine="If pc.RowCount > 0 Then"; +if (_pc.getRowCount()>0) { +RDebugUtils.currentLine=19922958; + //BA.debugLineNum = 19922958;BA.debugLine="pc.Position = 0"; +_pc.setPosition((int) (0)); +RDebugUtils.currentLine=19922960; + //BA.debugLineNum = 19922960;BA.debugLine="If pc.GetString(\"HVD_COSTO_TOT\")<> Null And pc."; +if (_pc.GetString("HVD_COSTO_TOT")!= null && _pc.GetString("HVD_CANT")!= null) { +RDebugUtils.currentLine=19922961; + //BA.debugLineNum = 19922961;BA.debugLine="pu = pc.GetString(\"HVD_COSTO_TOT\") / pc.GetStr"; +_pu = BA.NumberToString((double)(Double.parseDouble(_pc.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(_pc.GetString("HVD_CANT")))); + }; + }; +RDebugUtils.currentLine=19922965; + //BA.debugLineNum = 19922965;BA.debugLine="pc.Close"; +_pc.Close(); + }; +RDebugUtils.currentLine=19922968; + //BA.debugLineNum = 19922968;BA.debugLine="Return pu"; +if (true) return _pu; +RDebugUtils.currentLine=19922970; + //BA.debugLineNum = 19922970;BA.debugLine="End Sub"; +return ""; +} +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; +RDebugUtils.currentLine=18743296; + //BA.debugLineNum = 18743296;BA.debugLine="Sub revisaFLP 'ignore"; +RDebugUtils.currentLine=18743297; + //BA.debugLineNum = 18743297;BA.debugLine="LogColor($\"**** **** Revisamos FLP - ${fechaKMT(D"; +anywheresoftware.b4a.keywords.Common.LogImpl("818743297",("**** **** Revisamos FLP - "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_fechakmt(_ba,BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow()))))+"**** ****"),anywheresoftware.b4a.keywords.Common.Colors.RGB((int) (78),(int) (0),(int) (227))); +RDebugUtils.currentLine=18743298; + //BA.debugLineNum = 18743298;BA.debugLine="Private todoBienFLP As Boolean = True"; +_todobienflp = anywheresoftware.b4a.keywords.Common.True; +RDebugUtils.currentLine=18743299; + //BA.debugLineNum = 18743299;BA.debugLine="If Not(Tracker.FLP.IsInitialized) Then"; +if (anywheresoftware.b4a.keywords.Common.Not(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .IsInitialized())) { +RDebugUtils.currentLine=18743300; + //BA.debugLineNum = 18743300;BA.debugLine="log2DB(\"revisaFLP: No esta inicializado ... 'Rei"; +_log2db(_ba,"revisaFLP: No esta inicializado ... 'Reinicializando FLP'"); +RDebugUtils.currentLine=18743301; + //BA.debugLineNum = 18743301;BA.debugLine="Tracker.FLP.Initialize(\"flp\")"; +mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .Initialize((_ba.processBA == null ? _ba : _ba.processBA),"flp"); +RDebugUtils.currentLine=18743302; + //BA.debugLineNum = 18743302;BA.debugLine="todoBienFLP = False"; +_todobienflp = anywheresoftware.b4a.keywords.Common.False; + }; +RDebugUtils.currentLine=18743304; + //BA.debugLineNum = 18743304;BA.debugLine="If Tracker.FLP.IsInitialized Then"; +if (mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .IsInitialized()) { +RDebugUtils.currentLine=18743305; + //BA.debugLineNum = 18743305;BA.debugLine="If Not(Tracker.FLP.IsConnected) Then"; +if (anywheresoftware.b4a.keywords.Common.Not(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .IsConnected())) { +RDebugUtils.currentLine=18743306; + //BA.debugLineNum = 18743306;BA.debugLine="log2DB(\"revisaFLP: No esta conectado ... 'Recon"; +_log2db(_ba,"revisaFLP: No esta conectado ... 'Reconectando FLP'"); +RDebugUtils.currentLine=18743308; + //BA.debugLineNum = 18743308;BA.debugLine="CallSubDelayed(Tracker,\"StartFLP\")"; +anywheresoftware.b4a.keywords.Common.CallSubDelayed((_ba.processBA == null ? _ba : _ba.processBA),(Object)(mostCurrent._tracker.getObject()),"StartFLP"); +RDebugUtils.currentLine=18743309; + //BA.debugLineNum = 18743309;BA.debugLine="todoBienFLP = False"; +_todobienflp = anywheresoftware.b4a.keywords.Common.False; + }; +RDebugUtils.currentLine=18743311; + //BA.debugLineNum = 18743311;BA.debugLine="If Tracker.FLP.IsConnected And _ Tracker.FLP."; +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) { +RDebugUtils.currentLine=18743314; + //BA.debugLineNum = 18743314;BA.debugLine="log2DB(\"revisaFLP: 'No se esta actualizando, lo"; +_log2db(_ba,"revisaFLP: 'No se esta actualizando, lo reiniciamos ...'"); +RDebugUtils.currentLine=18743315; + //BA.debugLineNum = 18743315;BA.debugLine="StartService(Tracker)"; +anywheresoftware.b4a.keywords.Common.StartService((_ba.processBA == null ? _ba : _ba.processBA),(Object)(mostCurrent._tracker.getObject())); +RDebugUtils.currentLine=18743316; + //BA.debugLineNum = 18743316;BA.debugLine="todoBienFLP = False"; +_todobienflp = anywheresoftware.b4a.keywords.Common.False; + }; + }; +RDebugUtils.currentLine=18743319; + //BA.debugLineNum = 18743319;BA.debugLine="If todoBienFLP Then LogColor(\" +++ +++ Sin errore"; +if (_todobienflp) { +anywheresoftware.b4a.keywords.Common.LogImpl("818743319"," +++ +++ Sin errores en FLP",anywheresoftware.b4a.keywords.Common.Colors.Green);}; +RDebugUtils.currentLine=18743321; + //BA.debugLineNum = 18743321;BA.debugLine="End Sub"; +return ""; +} +public static String _revisapushservice(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "revisapushservice", false)) + {return ((String) Debug.delegate(null, "revisapushservice", new Object[] {_ba}));} +RDebugUtils.currentLine=18808832; + //BA.debugLineNum = 18808832;BA.debugLine="Sub revisaPushService 'ignore"; +RDebugUtils.currentLine=18808870; + //BA.debugLineNum = 18808870;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; +RDebugUtils.currentLine=18677760; + //BA.debugLineNum = 18677760;BA.debugLine="Sub revisaUUG 'ignore"; +RDebugUtils.currentLine=18677761; + //BA.debugLineNum = 18677761;BA.debugLine="revisaFLP"; +_revisaflp(_ba); +RDebugUtils.currentLine=18677762; + //BA.debugLineNum = 18677762;BA.debugLine="If Tracker.FLP.GetLastKnownLocation.IsInitialized"; +if (mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().IsInitialized()) { +RDebugUtils.currentLine=18677763; + //BA.debugLineNum = 18677763;BA.debugLine="Dim daa As Int = Tracker.UUGCoords.DistanceTo(Tr"; +_daa = (int) (mostCurrent._tracker._uugcoords /*anywheresoftware.b4a.gps.LocationWrapper*/ .DistanceTo((android.location.Location)(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getObject()))); +RDebugUtils.currentLine=18677764; + //BA.debugLineNum = 18677764;BA.debugLine="If B4XPages.MainPage.Logger Then LogColor($\"****"; +if (mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (_ba)._logger /*boolean*/ ) { +anywheresoftware.b4a.keywords.Common.LogImpl("818677764",("**** 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=18677765; + //BA.debugLineNum = 18677765;BA.debugLine="If daa > 40 And Tracker.FLP.GetLastKnownLocation"; +if (_daa>40 && mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getAccuracy()<35) { +RDebugUtils.currentLine=18677766; + //BA.debugLineNum = 18677766;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())})); +RDebugUtils.currentLine=18677767; + //BA.debugLineNum = 18677767;BA.debugLine="If B4XPages.MainPage.Logger Then Log(\"++++ Dist"; +if (mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (_ba)._logger /*boolean*/ ) { +anywheresoftware.b4a.keywords.Common.LogImpl("818677767","++++ Distancia a anterior="+BA.NumberToString(_daa)+"|"+"Precision="+BA.NumberToString(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getAccuracy()),0);}; + }; +RDebugUtils.currentLine=18677769; + //BA.debugLineNum = 18677769;BA.debugLine="Tracker.UUGCoords = Tracker.FLP.GetLastKnownLoca"; +mostCurrent._tracker._uugcoords /*anywheresoftware.b4a.gps.LocationWrapper*/ = mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation(); + }; +RDebugUtils.currentLine=18677771; + //BA.debugLineNum = 18677771;BA.debugLine="End Sub"; +return ""; +} +public static int _traecantidadrechazada(anywheresoftware.b4a.BA _ba,String _cliente,String _prodid) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traecantidadrechazada", false)) + {return ((Integer) Debug.delegate(null, "traecantidadrechazada", new Object[] {_ba,_cliente,_prodid}));} +int _cant = 0; +anywheresoftware.b4a.sql.SQL.CursorWrapper _cr = null; +RDebugUtils.currentLine=20381696; + //BA.debugLineNum = 20381696;BA.debugLine="Sub traeCantidadRechazada(cliente As String, prodI"; +RDebugUtils.currentLine=20381697; + //BA.debugLineNum = 20381697;BA.debugLine="Private cant As Int = 0"; +_cant = (int) (0); +RDebugUtils.currentLine=20381698; + //BA.debugLineNum = 20381698;BA.debugLine="Private cr As Cursor = Starter.skmt.ExecQuery($\"S"; +_cr = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_cr = (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 rep_cliente, rep_prodid, REP_CANT, REP_RECHAZO from reparto where rep_cliente = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cliente))+"' and rep_prodid = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"' and REP_RECHAZO = 1")))); +RDebugUtils.currentLine=20381699; + //BA.debugLineNum = 20381699;BA.debugLine="If cr.RowCount > 0 Then"; +if (_cr.getRowCount()>0) { +RDebugUtils.currentLine=20381700; + //BA.debugLineNum = 20381700;BA.debugLine="cr.Position = 0"; +_cr.setPosition((int) (0)); +RDebugUtils.currentLine=20381701; + //BA.debugLineNum = 20381701;BA.debugLine="cant = cr.GetString(\"REP_CANT\")"; +_cant = (int)(Double.parseDouble(_cr.GetString("REP_CANT"))); + }; +RDebugUtils.currentLine=20381703; + //BA.debugLineNum = 20381703;BA.debugLine="Log($\"${cliente}, ${prodId}, rowcont:${cr.RowCoun"; +anywheresoftware.b4a.keywords.Common.LogImpl("820381703",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cliente))+", "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+", rowcont:"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cr.getRowCount()))+", cant: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cant))+""),0); +RDebugUtils.currentLine=20381704; + //BA.debugLineNum = 20381704;BA.debugLine="Return cant"; +if (true) return _cant; +RDebugUtils.currentLine=20381705; + //BA.debugLineNum = 20381705;BA.debugLine="End Sub"; +return 0; +} +public static int _traecantidadvendida(anywheresoftware.b4a.BA _ba,String _cliente,String _prodid) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traecantidadvendida", false)) + {return ((Integer) Debug.delegate(null, "traecantidadvendida", new Object[] {_ba,_cliente,_prodid}));} +int _cant = 0; +anywheresoftware.b4a.sql.SQL.CursorWrapper _cr = null; +RDebugUtils.currentLine=20447232; + //BA.debugLineNum = 20447232;BA.debugLine="Sub traeCantidadVendida(cliente As String, prodId"; +RDebugUtils.currentLine=20447233; + //BA.debugLineNum = 20447233;BA.debugLine="Private cant As Int = 0"; +_cant = (int) (0); +RDebugUtils.currentLine=20447234; + //BA.debugLineNum = 20447234;BA.debugLine="Private cr As Cursor = Starter.skmt.ExecQuery($\"S"; +_cr = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_cr = (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 rep_cliente, rep_prodid, REP_CANT, REP_RECHAZO from reparto where rep_cli_orig = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cliente))+"' and rep_prodid = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"' and REP_RECHAZO = 0 and REP_CANT > 0")))); +RDebugUtils.currentLine=20447236; + //BA.debugLineNum = 20447236;BA.debugLine="If cr.RowCount > 0 Then"; +if (_cr.getRowCount()>0) { +RDebugUtils.currentLine=20447237; + //BA.debugLineNum = 20447237;BA.debugLine="cr.Position = 0"; +_cr.setPosition((int) (0)); +RDebugUtils.currentLine=20447238; + //BA.debugLineNum = 20447238;BA.debugLine="cant = cr.GetString(\"REP_CANT\")"; +_cant = (int)(Double.parseDouble(_cr.GetString("REP_CANT"))); + }; +RDebugUtils.currentLine=20447240; + //BA.debugLineNum = 20447240;BA.debugLine="Return cant"; +if (true) return _cant; +RDebugUtils.currentLine=20447241; + //BA.debugLineNum = 20447241;BA.debugLine="End Sub"; +return 0; +} +public static String _traefechareparto(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traefechareparto", false)) + {return ((String) Debug.delegate(null, "traefechareparto", new Object[] {_ba}));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _fe = null; +String _f = ""; +RDebugUtils.currentLine=20250624; + //BA.debugLineNum = 20250624;BA.debugLine="Sub traeFechaReparto As String"; +RDebugUtils.currentLine=20250625; + //BA.debugLineNum = 20250625;BA.debugLine="Private fe As Cursor = Starter.skmt.ExecQuery(\"se"; +_fe = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_fe = (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 HVD_FECHA from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa)"))); +RDebugUtils.currentLine=20250626; + //BA.debugLineNum = 20250626;BA.debugLine="Private f As String = \"-\""; +_f = "-"; +RDebugUtils.currentLine=20250627; + //BA.debugLineNum = 20250627;BA.debugLine="If fe.RowCount > 0 Then"; +if (_fe.getRowCount()>0) { +RDebugUtils.currentLine=20250628; + //BA.debugLineNum = 20250628;BA.debugLine="fe.Position = 0"; +_fe.setPosition((int) (0)); +RDebugUtils.currentLine=20250629; + //BA.debugLineNum = 20250629;BA.debugLine="f = fe.GetString(\"HVD_FECHA\")"; +_f = _fe.GetString("HVD_FECHA"); + }; +RDebugUtils.currentLine=20250631; + //BA.debugLineNum = 20250631;BA.debugLine="fe.Close"; +_fe.Close(); +RDebugUtils.currentLine=20250632; + //BA.debugLineNum = 20250632;BA.debugLine="Return f"; +if (true) return _f; +RDebugUtils.currentLine=20250633; + //BA.debugLineNum = 20250633;BA.debugLine="End Sub"; +return ""; +} +public static int _traemaxcantidad(anywheresoftware.b4a.BA _ba,String _cliente,String _prodid) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traemaxcantidad", false)) + {return ((Integer) Debug.delegate(null, "traemaxcantidad", new Object[] {_ba,_cliente,_prodid}));} +int _cant = 0; +anywheresoftware.b4a.sql.SQL.CursorWrapper _cr = null; +RDebugUtils.currentLine=20512768; + //BA.debugLineNum = 20512768;BA.debugLine="Sub traeMaxCantidad(cliente As String, prodId As S"; +RDebugUtils.currentLine=20512769; + //BA.debugLineNum = 20512769;BA.debugLine="Private cant As Int = 0"; +_cant = (int) (0); +RDebugUtils.currentLine=20512770; + //BA.debugLineNum = 20512770;BA.debugLine="Private cr As Cursor = Starter.skmt.ExecQuery($\"S"; +_cr = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_cr = (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 hvd_cant from hist_ventas2 where hvd_cliente = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cliente))+"' and hvd_proid = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"'")))); +RDebugUtils.currentLine=20512772; + //BA.debugLineNum = 20512772;BA.debugLine="If cr.RowCount > 0 Then"; +if (_cr.getRowCount()>0) { +RDebugUtils.currentLine=20512773; + //BA.debugLineNum = 20512773;BA.debugLine="cr.Position = 0"; +_cr.setPosition((int) (0)); +RDebugUtils.currentLine=20512774; + //BA.debugLineNum = 20512774;BA.debugLine="cant = cr.GetString(\"HVD_CANT\")"; +_cant = (int)(Double.parseDouble(_cr.GetString("HVD_CANT"))); + }; +RDebugUtils.currentLine=20512776; + //BA.debugLineNum = 20512776;BA.debugLine="Return cant"; +if (true) return _cant; +RDebugUtils.currentLine=20512777; + //BA.debugLineNum = 20512777;BA.debugLine="End Sub"; +return 0; +} +public static anywheresoftware.b4a.objects.collections.Map _traemoscantymonto(anywheresoftware.b4a.BA _ba,b4a.example3.customlistview _clv) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traemoscantymonto", false)) + {return ((anywheresoftware.b4a.objects.collections.Map) Debug.delegate(null, "traemoscantymonto", new Object[] {_ba,_clv}));} +int _cant = 0; +float _monto = 0f; +int _i = 0; +anywheresoftware.b4a.objects.B4XViewWrapper _p0 = null; +anywheresoftware.b4a.objects.B4XViewWrapper _p = null; +anywheresoftware.b4a.objects.B4XViewWrapper _cant1 = null; +anywheresoftware.b4a.objects.B4XViewWrapper _cant2 = null; +anywheresoftware.b4a.objects.collections.List _estetag = null; +RDebugUtils.currentLine=20709376; + //BA.debugLineNum = 20709376;BA.debugLine="Sub traemosCantYMonto(clv As CustomListView) As Ma"; +RDebugUtils.currentLine=20709378; + //BA.debugLineNum = 20709378;BA.debugLine="Private cant As Int = 0"; +_cant = (int) (0); +RDebugUtils.currentLine=20709379; + //BA.debugLineNum = 20709379;BA.debugLine="Private monto As Float = 0"; +_monto = (float) (0); +RDebugUtils.currentLine=20709380; + //BA.debugLineNum = 20709380;BA.debugLine="For i = 0 To clv.GetSize - 1"; +{ +final int step3 = 1; +final int limit3 = (int) (_clv._getsize()-1); +_i = (int) (0) ; +for (;_i <= limit3 ;_i = _i + step3 ) { +RDebugUtils.currentLine=20709381; + //BA.debugLineNum = 20709381;BA.debugLine="Private p0 As B4XView = clv.GetPanel(i)"; +_p0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_p0 = _clv._getpanel(_i); +RDebugUtils.currentLine=20709382; + //BA.debugLineNum = 20709382;BA.debugLine="Private p As B4XView = p0.GetView(0)"; +_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_p = _p0.GetView((int) (0)); +RDebugUtils.currentLine=20709383; + //BA.debugLineNum = 20709383;BA.debugLine="Private cant1 As B4XView = p.GetView(2).GetView("; +_cant1 = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_cant1 = _p.GetView((int) (2)).GetView((int) (3)); +RDebugUtils.currentLine=20709384; + //BA.debugLineNum = 20709384;BA.debugLine="Private cant2 As B4XView = p.GetView(3).GetView("; +_cant2 = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_cant2 = _p.GetView((int) (3)).GetView((int) (3)); +RDebugUtils.currentLine=20709386; + //BA.debugLineNum = 20709386;BA.debugLine="If cant1.text <> \"\" Then"; +if ((_cant1.getText()).equals("") == false) { +RDebugUtils.currentLine=20709387; + //BA.debugLineNum = 20709387;BA.debugLine="If cant1.Text = \"\" Then cant1.Text = 0"; +if ((_cant1.getText()).equals("")) { +_cant1.setText(BA.ObjectToCharSequence(0));}; +RDebugUtils.currentLine=20709388; + //BA.debugLineNum = 20709388;BA.debugLine="Private esteTag As List = Regex.Split(\"\\|\", can"; +_estetag = new anywheresoftware.b4a.objects.collections.List(); +_estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(anywheresoftware.b4a.keywords.Common.Regex.Split("\\|",BA.ObjectToString(_cant1.getTag()))); +RDebugUtils.currentLine=20709390; + //BA.debugLineNum = 20709390;BA.debugLine="If esteTag.Get(2) <> esteTag.Get(3) Then cant ="; +if ((_estetag.Get((int) (2))).equals(_estetag.Get((int) (3))) == false) { +_cant = (int) (_cant+(double)(Double.parseDouble(_cant1.getText())));}; +RDebugUtils.currentLine=20709391; + //BA.debugLineNum = 20709391;BA.debugLine="monto = monto + (esteTag.Get(0) * cant1.Text)"; +_monto = (float) (_monto+((double)(BA.ObjectToNumber(_estetag.Get((int) (0))))*(double)(Double.parseDouble(_cant1.getText())))); + }else { +RDebugUtils.currentLine=20709393; + //BA.debugLineNum = 20709393;BA.debugLine="If cant2.Text = \"\" Then cant2.Text = 0"; +if ((_cant2.getText()).equals("")) { +_cant2.setText(BA.ObjectToCharSequence(0));}; +RDebugUtils.currentLine=20709394; + //BA.debugLineNum = 20709394;BA.debugLine="Private esteTag As List = Regex.Split(\"\\|\", can"; +_estetag = new anywheresoftware.b4a.objects.collections.List(); +_estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(anywheresoftware.b4a.keywords.Common.Regex.Split("\\|",BA.ObjectToString(_cant2.getTag()))); +RDebugUtils.currentLine=20709396; + //BA.debugLineNum = 20709396;BA.debugLine="If esteTag.Get(2) <> esteTag.Get(3) Then cant ="; +if ((_estetag.Get((int) (2))).equals(_estetag.Get((int) (3))) == false) { +_cant = (int) (_cant+(double)(Double.parseDouble(_cant2.getText())));}; +RDebugUtils.currentLine=20709397; + //BA.debugLineNum = 20709397;BA.debugLine="monto = monto + (esteTag.Get(0) * cant2.Text)"; +_monto = (float) (_monto+((double)(BA.ObjectToNumber(_estetag.Get((int) (0))))*(double)(Double.parseDouble(_cant2.getText())))); + }; + } +}; +RDebugUtils.currentLine=20709401; + //BA.debugLineNum = 20709401;BA.debugLine="Return CreateMap(\"cantidad\":cant, \"monto\":monto)"; +if (true) return anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("cantidad"),(Object)(_cant),(Object)("monto"),(Object)(_monto)}); +RDebugUtils.currentLine=20709402; + //BA.debugLineNum = 20709402;BA.debugLine="End Sub"; +return null; +} +public static String _traenombre(anywheresoftware.b4a.BA _ba,String _id) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traenombre", false)) + {return ((String) Debug.delegate(null, "traenombre", new Object[] {_ba,_id}));} +String _nombre = ""; +anywheresoftware.b4a.sql.SQL.CursorWrapper _idc = null; +RDebugUtils.currentLine=19857408; + //BA.debugLineNum = 19857408;BA.debugLine="Sub traeNombre(id As String) As String"; +RDebugUtils.currentLine=19857409; + //BA.debugLineNum = 19857409;BA.debugLine="Private nombre As String"; +_nombre = ""; +RDebugUtils.currentLine=19857410; + //BA.debugLineNum = 19857410;BA.debugLine="Private idc As Cursor = kmt.ExecQuery($\"select HV"; +_idc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_idc = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_kmt.ExecQuery(("select HVD_PRONOMBRE from HIST_VENTAS where HVD_PROID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_id))+"'")))); +RDebugUtils.currentLine=19857411; + //BA.debugLineNum = 19857411;BA.debugLine="idc.Position=0"; +_idc.setPosition((int) (0)); +RDebugUtils.currentLine=19857412; + //BA.debugLineNum = 19857412;BA.debugLine="If idc.RowCount > 0 Then nombre = idc.GetString(\""; +if (_idc.getRowCount()>0) { +_nombre = _idc.GetString("HVD_PRONOMBRE");}; +RDebugUtils.currentLine=19857413; + //BA.debugLineNum = 19857413;BA.debugLine="idc.Close"; +_idc.Close(); +RDebugUtils.currentLine=19857415; + //BA.debugLineNum = 19857415;BA.debugLine="Return nombre"; +if (true) return _nombre; +RDebugUtils.currentLine=19857416; + //BA.debugLineNum = 19857416;BA.debugLine="End Sub"; +return ""; +} +public static String _traerutaprev(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traerutaprev", false)) + {return ((String) Debug.delegate(null, "traerutaprev", new Object[] {_ba}));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; +String _a = ""; +RDebugUtils.currentLine=21364736; + //BA.debugLineNum = 21364736;BA.debugLine="Sub traerUTAPREV As String 'ignore"; +RDebugUtils.currentLine=21364737; + //BA.debugLineNum = 21364737;BA.debugLine="Private c As Cursor"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=21364738; + //BA.debugLineNum = 21364738;BA.debugLine="Private a As String"; +_a = ""; +RDebugUtils.currentLine=21364739; + //BA.debugLineNum = 21364739;BA.debugLine="c = Starter.skmt.ExecQuery(\"select CAT_CL_RUTA fr"; +_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 CAT_CL_RUTA from kmt_info where CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))); +RDebugUtils.currentLine=21364740; + //BA.debugLineNum = 21364740;BA.debugLine="c.Position = 0"; +_c.setPosition((int) (0)); +RDebugUtils.currentLine=21364741; + //BA.debugLineNum = 21364741;BA.debugLine="a = C.GetString(\"CAT_CL_RUTA\")"; +_a = _c.GetString("CAT_CL_RUTA"); +RDebugUtils.currentLine=21364742; + //BA.debugLineNum = 21364742;BA.debugLine="c.Close"; +_c.Close(); +RDebugUtils.currentLine=21364743; + //BA.debugLineNum = 21364743;BA.debugLine="Return a"; +if (true) return _a; +RDebugUtils.currentLine=21364744; + //BA.debugLineNum = 21364744;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/swiftbutton.java b/B4A/Objects/src/reparto_izca/keymon/lat/swiftbutton.java new file mode 100644 index 0000000..46ad0fa --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/swiftbutton.java @@ -0,0 +1,469 @@ +package reparto_izca.keymon.lat; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.B4AClass; +import anywheresoftware.b4a.BALayout; +import anywheresoftware.b4a.debug.*; + +public class swiftbutton 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, "reparto_izca.keymon.lat.swiftbutton"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", reparto_izca.keymon.lat.swiftbutton.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 String _meventname = ""; +public Object _mcallback = null; +public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; +public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; +public anywheresoftware.b4a.objects.B4XCanvas _cvs = null; +public anywheresoftware.b4a.objects.B4XViewWrapper _xlbl = null; +public int _clr1 = 0; +public int _clr2 = 0; +public int _disabledcolor = 0; +public boolean _pressed = false; +public Object _tag = null; +public boolean _mdisabled = false; +public int _cornersradius = 0; +public int _sideheight = 0; +public boolean _mhaptic = false; +public b4a.example.dateutils _dateutils = null; +public reparto_izca.keymon.lat.main _main = null; +public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; +public reparto_izca.keymon.lat.foto _foto = null; +public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_izca.keymon.lat.starter _starter = null; +public reparto_izca.keymon.lat.tracker _tracker = null; +public reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public reparto_izca.keymon.lat.xuiviewsutils _xuiviewsutils = null; +public String _base_resize(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=60882944; + //BA.debugLineNum = 60882944;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; +RDebugUtils.currentLine=60882945; + //BA.debugLineNum = 60882945;BA.debugLine="cvs.Resize(Width, Height)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Resize((float) (_width),(float) (_height)); +RDebugUtils.currentLine=60882946; + //BA.debugLineNum = 60882946;BA.debugLine="For Each v As B4XView In mBase.GetAllViewsRecursi"; +_v = new anywheresoftware.b4a.objects.B4XViewWrapper(); +{ +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))); +RDebugUtils.currentLine=60882947; + //BA.debugLineNum = 60882947;BA.debugLine="v.SetLayoutAnimated(0, 0, 0, Width, Height)"; +_v.SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width),(int) (_height)); + } +}; +RDebugUtils.currentLine=60882949; + //BA.debugLineNum = 60882949;BA.debugLine="Draw"; +__ref._draw /*String*/ (null); +RDebugUtils.currentLine=60882950; + //BA.debugLineNum = 60882950;BA.debugLine="End Sub"; +return ""; +} +public String _draw(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=61341696; + //BA.debugLineNum = 61341696;BA.debugLine="Private Sub Draw"; +RDebugUtils.currentLine=61341697; + //BA.debugLineNum = 61341697;BA.debugLine="cvs.ClearRect(cvs.TargetRect)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClearRect(__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect()); +RDebugUtils.currentLine=61341698; + //BA.debugLineNum = 61341698;BA.debugLine="Dim r As B4XRect"; +_r = new anywheresoftware.b4a.objects.B4XCanvas.B4XRect(); +RDebugUtils.currentLine=61341699; + //BA.debugLineNum = 61341699;BA.debugLine="Dim p As B4XPath"; +_p = new anywheresoftware.b4a.objects.B4XCanvas.B4XPath(); +RDebugUtils.currentLine=61341700; + //BA.debugLineNum = 61341700;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=61341701; + //BA.debugLineNum = 61341701;BA.debugLine="If pressed = False Then"; +if (__ref._pressed /*boolean*/ ==__c.False) { +RDebugUtils.currentLine=61341702; + //BA.debugLineNum = 61341702;BA.debugLine="xLBL.Top = 0"; +__ref._xlbl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTop((int) (0)); +RDebugUtils.currentLine=61341703; + //BA.debugLineNum = 61341703;BA.debugLine="p.InitializeRoundedRect(r, CornersRadius)"; +_p.InitializeRoundedRect(_r,(float) (__ref._cornersradius /*int*/ )); +RDebugUtils.currentLine=61341704; + //BA.debugLineNum = 61341704;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=61341705; + //BA.debugLineNum = 61341705;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=61341706; + //BA.debugLineNum = 61341706;BA.debugLine="p.InitializeRoundedRect(r, CornersRadius)"; +_p.InitializeRoundedRect(_r,(float) (__ref._cornersradius /*int*/ )); +RDebugUtils.currentLine=61341707; + //BA.debugLineNum = 61341707;BA.debugLine="cvs.DrawPath(p, clr1, True, 0)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawPath(_p,__ref._clr1 /*int*/ ,__c.True,(float) (0)); + }else { +RDebugUtils.currentLine=61341709; + //BA.debugLineNum = 61341709;BA.debugLine="xLBL.Top = SideHeight"; +__ref._xlbl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTop(__ref._sideheight /*int*/ ); +RDebugUtils.currentLine=61341710; + //BA.debugLineNum = 61341710;BA.debugLine="p.InitializeRoundedRect(r, CornersRadius)"; +_p.InitializeRoundedRect(_r,(float) (__ref._cornersradius /*int*/ )); +RDebugUtils.currentLine=61341711; + //BA.debugLineNum = 61341711;BA.debugLine="Dim c As Int"; +_c = 0; +RDebugUtils.currentLine=61341712; + //BA.debugLineNum = 61341712;BA.debugLine="If mDisabled Then c = disabledColor Else c = clr"; +if (__ref._mdisabled /*boolean*/ ) { +_c = __ref._disabledcolor /*int*/ ;} +else { +_c = __ref._clr1 /*int*/ ;}; +RDebugUtils.currentLine=61341713; + //BA.debugLineNum = 61341713;BA.debugLine="cvs.DrawPath(p, c, True, 0)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawPath(_p,_c,__c.True,(float) (0)); + }; +RDebugUtils.currentLine=61341716; + //BA.debugLineNum = 61341716;BA.debugLine="cvs.Invalidate"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Invalidate(); +RDebugUtils.currentLine=61341717; + //BA.debugLineNum = 61341717;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(reparto_izca.keymon.lat.swiftbutton __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="swiftbutton"; +RDebugUtils.currentLine=60686336; + //BA.debugLineNum = 60686336;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=60686337; + //BA.debugLineNum = 60686337;BA.debugLine="Private mEventName As String 'ignore"; +_meventname = ""; +RDebugUtils.currentLine=60686338; + //BA.debugLineNum = 60686338;BA.debugLine="Private mCallBack As Object 'ignore"; +_mcallback = new Object(); +RDebugUtils.currentLine=60686339; + //BA.debugLineNum = 60686339;BA.debugLine="Public mBase As B4XView 'ignore"; +_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=60686340; + //BA.debugLineNum = 60686340;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=60686341; + //BA.debugLineNum = 60686341;BA.debugLine="Private cvs As B4XCanvas"; +_cvs = new anywheresoftware.b4a.objects.B4XCanvas(); +RDebugUtils.currentLine=60686342; + //BA.debugLineNum = 60686342;BA.debugLine="Public xLBL As B4XView"; +_xlbl = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=60686343; + //BA.debugLineNum = 60686343;BA.debugLine="Public clr1, clr2, disabledColor As Int"; +_clr1 = 0; +_clr2 = 0; +_disabledcolor = 0; +RDebugUtils.currentLine=60686344; + //BA.debugLineNum = 60686344;BA.debugLine="Private pressed As Boolean"; +_pressed = false; +RDebugUtils.currentLine=60686345; + //BA.debugLineNum = 60686345;BA.debugLine="Public Tag As Object"; +_tag = new Object(); +RDebugUtils.currentLine=60686346; + //BA.debugLineNum = 60686346;BA.debugLine="Private mDisabled As Boolean"; +_mdisabled = false; +RDebugUtils.currentLine=60686347; + //BA.debugLineNum = 60686347;BA.debugLine="Public CornersRadius, SideHeight As Int"; +_cornersradius = 0; +_sideheight = 0; +RDebugUtils.currentLine=60686348; + //BA.debugLineNum = 60686348;BA.debugLine="Public mHaptic As Boolean"; +_mhaptic = false; +RDebugUtils.currentLine=60686349; + //BA.debugLineNum = 60686349;BA.debugLine="End Sub"; +return ""; +} +public String _designercreateview(reparto_izca.keymon.lat.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=60817408; + //BA.debugLineNum = 60817408;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; +RDebugUtils.currentLine=60817409; + //BA.debugLineNum = 60817409;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=60817410; + //BA.debugLineNum = 60817410;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._tag /*Object*/ = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTag(); +RDebugUtils.currentLine=60817410; + //BA.debugLineNum = 60817410;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag(this); +RDebugUtils.currentLine=60817411; + //BA.debugLineNum = 60817411;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=60817412; + //BA.debugLineNum = 60817412;BA.debugLine="p.Color = xui.Color_Transparent"; +_p.setColor(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Transparent); +RDebugUtils.currentLine=60817413; + //BA.debugLineNum = 60817413;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=60817414; + //BA.debugLineNum = 60817414;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=60817415; + //BA.debugLineNum = 60817415;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=60817416; + //BA.debugLineNum = 60817416;BA.debugLine="CornersRadius = DipToCurrent(Props.GetDefault(\"Co"; +__ref._cornersradius /*int*/ = __c.DipToCurrent((int)(BA.ObjectToNumber(_props.GetDefault((Object)("CornersRadius"),(Object)(15))))); +RDebugUtils.currentLine=60817417; + //BA.debugLineNum = 60817417;BA.debugLine="SideHeight = DipToCurrent(Props.GetDefault(\"SideH"; +__ref._sideheight /*int*/ = __c.DipToCurrent((int)(BA.ObjectToNumber(_props.GetDefault((Object)("SideHeight"),(Object)(5))))); +RDebugUtils.currentLine=60817418; + //BA.debugLineNum = 60817418;BA.debugLine="mDisabled = Not(Props.GetDefault(\"ButtonEnabled\","; +__ref._mdisabled /*boolean*/ = __c.Not(BA.ObjectToBoolean(_props.GetDefault((Object)("ButtonEnabled"),(Object)(__c.True)))); +RDebugUtils.currentLine=60817419; + //BA.debugLineNum = 60817419;BA.debugLine="mHaptic = Props.GetDefault(\"HapticFeedback\", Fals"; +__ref._mhaptic /*boolean*/ = BA.ObjectToBoolean(_props.GetDefault((Object)("HapticFeedback"),(Object)(__c.False))); +RDebugUtils.currentLine=60817420; + //BA.debugLineNum = 60817420;BA.debugLine="pressed = mDisabled"; +__ref._pressed /*boolean*/ = __ref._mdisabled /*boolean*/ ; +RDebugUtils.currentLine=60817421; + //BA.debugLineNum = 60817421;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=60817422; + //BA.debugLineNum = 60817422;BA.debugLine="xLBL.Visible = True"; +__ref._xlbl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=60817423; + //BA.debugLineNum = 60817423;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=60817424; + //BA.debugLineNum = 60817424;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=60817425; + //BA.debugLineNum = 60817425;BA.debugLine="xLBL.SetTextAlignment(\"CENTER\", \"CENTER\")"; +__ref._xlbl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetTextAlignment("CENTER","CENTER"); +RDebugUtils.currentLine=60817426; + //BA.debugLineNum = 60817426;BA.debugLine="cvs.Initialize(mBase)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Initialize(__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ); +RDebugUtils.currentLine=60817427; + //BA.debugLineNum = 60817427;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=60817428; + //BA.debugLineNum = 60817428;BA.debugLine="End Sub"; +return ""; +} +public boolean _getenabled(reparto_izca.keymon.lat.swiftbutton __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="swiftbutton"; +if (Debug.shouldDelegate(ba, "getenabled", true)) + {return ((Boolean) Debug.delegate(ba, "getenabled", null));} +RDebugUtils.currentLine=60948480; + //BA.debugLineNum = 60948480;BA.debugLine="Public Sub getEnabled As Boolean"; +RDebugUtils.currentLine=60948481; + //BA.debugLineNum = 60948481;BA.debugLine="Return Not(mDisabled)"; +if (true) return __c.Not(__ref._mdisabled /*boolean*/ ); +RDebugUtils.currentLine=60948482; + //BA.debugLineNum = 60948482;BA.debugLine="End Sub"; +return false; +} +public String _initialize(reparto_izca.keymon.lat.swiftbutton __ref,anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="swiftbutton"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba,_callback,_eventname}));} +RDebugUtils.currentLine=60751872; + //BA.debugLineNum = 60751872;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +RDebugUtils.currentLine=60751873; + //BA.debugLineNum = 60751873;BA.debugLine="mEventName = EventName"; +__ref._meventname /*String*/ = _eventname; +RDebugUtils.currentLine=60751874; + //BA.debugLineNum = 60751874;BA.debugLine="mCallBack = Callback"; +__ref._mcallback /*Object*/ = _callback; +RDebugUtils.currentLine=60751875; + //BA.debugLineNum = 60751875;BA.debugLine="End Sub"; +return ""; +} +public String _p_touch(reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=61079552; + //BA.debugLineNum = 61079552;BA.debugLine="Private Sub p_Touch (Action As Int, X As Float, Y"; +RDebugUtils.currentLine=61079553; + //BA.debugLineNum = 61079553;BA.debugLine="If mDisabled Then Return"; +if (__ref._mdisabled /*boolean*/ ) { +if (true) return "";}; +RDebugUtils.currentLine=61079554; + //BA.debugLineNum = 61079554;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=61079555; + //BA.debugLineNum = 61079555;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: { +RDebugUtils.currentLine=61079557; + //BA.debugLineNum = 61079557;BA.debugLine="SetPressedState(True)"; +__ref._setpressedstate /*String*/ (null,__c.True); +RDebugUtils.currentLine=61079558; + //BA.debugLineNum = 61079558;BA.debugLine="Draw"; +__ref._draw /*String*/ (null); + break; } +case 1: { +RDebugUtils.currentLine=61079560; + //BA.debugLineNum = 61079560;BA.debugLine="If pressed <> Inside Then"; +if (__ref._pressed /*boolean*/ !=_inside) { +RDebugUtils.currentLine=61079561; + //BA.debugLineNum = 61079561;BA.debugLine="SetPressedState(Inside)"; +__ref._setpressedstate /*String*/ (null,_inside); +RDebugUtils.currentLine=61079562; + //BA.debugLineNum = 61079562;BA.debugLine="Draw"; +__ref._draw /*String*/ (null); + }; + break; } +case 2: +case 3: { +RDebugUtils.currentLine=61079565; + //BA.debugLineNum = 61079565;BA.debugLine="SetPressedState(False)"; +__ref._setpressedstate /*String*/ (null,__c.False); +RDebugUtils.currentLine=61079566; + //BA.debugLineNum = 61079566;BA.debugLine="Draw"; +__ref._draw /*String*/ (null); +RDebugUtils.currentLine=61079567; + //BA.debugLineNum = 61079567;BA.debugLine="If Inside Then"; +if (_inside) { +RDebugUtils.currentLine=61079568; + //BA.debugLineNum = 61079568;BA.debugLine="If mHaptic Then XUIViewsUtils.PerformHapticFee"; +if (__ref._mhaptic /*boolean*/ ) { +_xuiviewsutils._performhapticfeedback /*String*/ (ba,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ );}; +RDebugUtils.currentLine=61079569; + //BA.debugLineNum = 61079569;BA.debugLine="CallSubDelayed(mCallBack, mEventName & \"_Click"; +__c.CallSubDelayed(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_Click"); + }; + break; } +} +; +RDebugUtils.currentLine=61079572; + //BA.debugLineNum = 61079572;BA.debugLine="End Sub"; +return ""; +} +public String _setpressedstate(reparto_izca.keymon.lat.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=61145088; + //BA.debugLineNum = 61145088;BA.debugLine="Private Sub SetPressedState(NewState As Boolean)"; +RDebugUtils.currentLine=61145089; + //BA.debugLineNum = 61145089;BA.debugLine="If pressed = NewState Then Return"; +if (__ref._pressed /*boolean*/ ==_newstate) { +if (true) return "";}; +RDebugUtils.currentLine=61145090; + //BA.debugLineNum = 61145090;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=61145091; + //BA.debugLineNum = 61145091;BA.debugLine="CallSubDelayed(mCallBack, mEventName & \"_ButtonD"; +__c.CallSubDelayed(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_ButtonDown"); + }; +RDebugUtils.currentLine=61145093; + //BA.debugLineNum = 61145093;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=61145094; + //BA.debugLineNum = 61145094;BA.debugLine="CallSubDelayed(mCallBack, mEventName & \"_ButtonU"; +__c.CallSubDelayed(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_ButtonUp"); + }; +RDebugUtils.currentLine=61145096; + //BA.debugLineNum = 61145096;BA.debugLine="pressed= NewState"; +__ref._pressed /*boolean*/ = _newstate; +RDebugUtils.currentLine=61145097; + //BA.debugLineNum = 61145097;BA.debugLine="End Sub"; +return ""; +} +public String _setcolors(reparto_izca.keymon.lat.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=61210624; + //BA.debugLineNum = 61210624;BA.debugLine="Public Sub SetColors(Primary As Int, Secondary As"; +RDebugUtils.currentLine=61210625; + //BA.debugLineNum = 61210625;BA.debugLine="clr1 = Primary"; +__ref._clr1 /*int*/ = _primary; +RDebugUtils.currentLine=61210626; + //BA.debugLineNum = 61210626;BA.debugLine="clr2 = Secondary"; +__ref._clr2 /*int*/ = _secondary; +RDebugUtils.currentLine=61210627; + //BA.debugLineNum = 61210627;BA.debugLine="Draw"; +__ref._draw /*String*/ (null); +RDebugUtils.currentLine=61210628; + //BA.debugLineNum = 61210628;BA.debugLine="End Sub"; +return ""; +} +public String _setenabled(reparto_izca.keymon.lat.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=61014016; + //BA.debugLineNum = 61014016;BA.debugLine="Public Sub setEnabled(b As Boolean)"; +RDebugUtils.currentLine=61014017; + //BA.debugLineNum = 61014017;BA.debugLine="mDisabled = Not(b)"; +__ref._mdisabled /*boolean*/ = __c.Not(_b); +RDebugUtils.currentLine=61014018; + //BA.debugLineNum = 61014018;BA.debugLine="pressed = mDisabled"; +__ref._pressed /*boolean*/ = __ref._mdisabled /*boolean*/ ; +RDebugUtils.currentLine=61014019; + //BA.debugLineNum = 61014019;BA.debugLine="Draw"; +__ref._draw /*String*/ (null); +RDebugUtils.currentLine=61014020; + //BA.debugLineNum = 61014020;BA.debugLine="End Sub"; +return ""; +} +public String _update(reparto_izca.keymon.lat.swiftbutton __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="swiftbutton"; +if (Debug.shouldDelegate(ba, "update", true)) + {return ((String) Debug.delegate(ba, "update", null));} +RDebugUtils.currentLine=61276160; + //BA.debugLineNum = 61276160;BA.debugLine="Public Sub Update"; +RDebugUtils.currentLine=61276161; + //BA.debugLineNum = 61276161;BA.debugLine="Draw"; +__ref._draw /*String*/ (null); +RDebugUtils.currentLine=61276162; + //BA.debugLineNum = 61276162;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/tracker.java b/B4A/Objects/src/reparto_izca/keymon/lat/tracker.java new file mode 100644 index 0000000..6e0ffd4 --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/tracker.java @@ -0,0 +1,827 @@ +package reparto_izca.keymon.lat; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.objects.ServiceHelper; +import anywheresoftware.b4a.debug.*; + +public class tracker extends android.app.Service{ + public static class tracker_BR extends android.content.BroadcastReceiver { + + @Override + public void onReceive(android.content.Context context, android.content.Intent intent) { + BA.LogInfo("** Receiver (tracker) OnReceive **"); + 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, anywheresoftware.b4a.ShellBA.class); + } + + } + static tracker mostCurrent; + public static BA processBA; + private ServiceHelper _service; + public static Class getObject() { + return tracker.class; + } + @Override + public void onCreate() { + super.onCreate(); + mostCurrent = this; + if (processBA == null) { + processBA = new anywheresoftware.b4a.ShellBA(this, null, null, "reparto_izca.keymon.lat", "reparto_izca.keymon.lat.tracker"); + if (BA.isShellModeRuntimeCheck(processBA)) { + processBA.raiseEvent2(null, true, "SHELL", false); + } + try { + Class.forName(BA.applicationContext.getPackageName() + ".main").getMethod("initializeProcessGlobals").invoke(null, null); + } catch (Exception e) { + throw new RuntimeException(e); + } + processBA.loadHtSubs(this.getClass()); + ServiceHelper.init(); + } + _service = new ServiceHelper(this); + processBA.service = this; + + if (BA.isShellModeRuntimeCheck(processBA)) { + processBA.raiseEvent2(null, true, "CREATE", true, "reparto_izca.keymon.lat.tracker", processBA, _service, anywheresoftware.b4a.keywords.Common.Density); + } + if (!false && ServiceHelper.StarterHelper.startFromServiceCreate(processBA, false) == false) { + + } + else { + processBA.setActivityPaused(false); + BA.LogInfo("*** Service (tracker) Create ***"); + processBA.raiseEvent(null, "service_create"); + } + processBA.runHook("oncreate", this, null); + if (false) { + if (ServiceHelper.StarterHelper.runWaitForLayouts() == false) { + BA.LogInfo("stopping spontaneous created service"); + stopSelf(); + } + } + } + @Override + public void onStart(android.content.Intent intent, int startId) { + onStartCommand(intent, 0, 0); + } + @Override + public int onStartCommand(final android.content.Intent intent, int flags, int startId) { + if (ServiceHelper.StarterHelper.onStartCommand(processBA, new Runnable() { + public void run() { + handleStart(intent); + }})) + ; + else { + ServiceHelper.StarterHelper.addWaitForLayout (new Runnable() { + public void run() { + processBA.setActivityPaused(false); + BA.LogInfo("** Service (tracker) Create **"); + processBA.raiseEvent(null, "service_create"); + handleStart(intent); + ServiceHelper.StarterHelper.removeWaitForLayout(); + } + }); + } + processBA.runHook("onstartcommand", this, new Object[] {intent, flags, startId}); + return android.app.Service.START_NOT_STICKY; + } + public void onTaskRemoved(android.content.Intent rootIntent) { + super.onTaskRemoved(rootIntent); + if (false) + processBA.raiseEvent(null, "service_taskremoved"); + + } + private void handleStart(android.content.Intent intent) { + BA.LogInfo("** Service (tracker) Start **"); + java.lang.reflect.Method startEvent = processBA.htSubs.get("service_start"); + if (startEvent != null) { + if (startEvent.getParameterTypes().length > 0) { + anywheresoftware.b4a.objects.IntentWrapper iw = ServiceHelper.StarterHelper.handleStartIntent(intent, _service, processBA); + processBA.raiseEvent(null, "service_start", iw); + } + else { + processBA.raiseEvent(null, "service_start"); + } + } + } + + @Override + public void onDestroy() { + super.onDestroy(); + if (false) { + BA.LogInfo("** Service (tracker) Destroy (ignored)**"); + } + else { + BA.LogInfo("** Service (tracker) Destroy **"); + processBA.raiseEvent(null, "service_destroy"); + processBA.service = null; + mostCurrent = null; + processBA.setActivityPaused(true); + processBA.runHook("ondestroy", this, null); + } + } + +@Override + public android.os.IBinder onBind(android.content.Intent intent) { + return 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; +public static uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper _flp = null; +public static uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest _actuallr = null; +public static boolean _flpstarted = false; +public static String _locrequest = ""; +public static anywheresoftware.b4a.gps.LocationWrapper _uugcoords = null; +public static String _trackeractividad = ""; +public static String _pushserviceactividad = ""; +public b4a.example.dateutils _dateutils = null; +public reparto_izca.keymon.lat.main _main = null; +public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; +public reparto_izca.keymon.lat.foto _foto = null; +public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_izca.keymon.lat.starter _starter = null; +public reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public reparto_izca.keymon.lat.httputils2service _httputils2service = null; +public reparto_izca.keymon.lat.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; +RDebugUtils.currentLine=73596928; + //BA.debugLineNum = 73596928;BA.debugLine="Private Sub CreateLocationRequest As LocationReque"; +RDebugUtils.currentLine=73596929; + //BA.debugLineNum = 73596929;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"CreateLocat"; +if (mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { +anywheresoftware.b4a.keywords.Common.LogImpl("873596929","CreateLocationRequest",0);}; +RDebugUtils.currentLine=73596930; + //BA.debugLineNum = 73596930;BA.debugLine="Dim lr As LocationRequest"; +_lr = new uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest(); +RDebugUtils.currentLine=73596931; + //BA.debugLineNum = 73596931;BA.debugLine="lr.Initialize"; +_lr.Initialize(); +RDebugUtils.currentLine=73596932; + //BA.debugLineNum = 73596932;BA.debugLine="lr.SetInterval(10000) 'Intervalo deseado para act"; +_lr.SetInterval((long) (10000)); +RDebugUtils.currentLine=73596933; + //BA.debugLineNum = 73596933;BA.debugLine="lr.SetFastestInterval(lr.GetInterval / 2) 'Interv"; +_lr.SetFastestInterval((long) (_lr.GetInterval()/(double)2)); +RDebugUtils.currentLine=73596934; + //BA.debugLineNum = 73596934;BA.debugLine="lr.SetSmallestDisplacement(75) 'Solo registra cam"; +_lr.SetSmallestDisplacement((float) (75)); +RDebugUtils.currentLine=73596935; + //BA.debugLineNum = 73596935;BA.debugLine="lr.SetPriority(lr.Priority.PRIORITY_HIGH_ACCURACY"; +_lr.SetPriority(_lr.Priority.PRIORITY_HIGH_ACCURACY); +RDebugUtils.currentLine=73596936; + //BA.debugLineNum = 73596936;BA.debugLine="actualLR=lr"; +_actuallr = _lr; +RDebugUtils.currentLine=73596937; + //BA.debugLineNum = 73596937;BA.debugLine="Return lr"; +if (true) return _lr; +RDebugUtils.currentLine=73596938; + //BA.debugLineNum = 73596938;BA.debugLine="End Sub"; +return null; +} +public static uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest _createlocationrequest2times() throws Exception{ +RDebugUtils.currentModule="tracker"; +if (Debug.shouldDelegate(processBA, "createlocationrequest2times", false)) + {return ((uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest) Debug.delegate(processBA, "createlocationrequest2times", null));} +uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest _lr = null; +RDebugUtils.currentLine=73662464; + //BA.debugLineNum = 73662464;BA.debugLine="Private Sub CreateLocationRequest2times As Locatio"; +RDebugUtils.currentLine=73662465; + //BA.debugLineNum = 73662465;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"Iniciamos C"; +if (mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { +anywheresoftware.b4a.keywords.Common.LogImpl("873662465","Iniciamos CreateLocationRequest2times",0);}; +RDebugUtils.currentLine=73662466; + //BA.debugLineNum = 73662466;BA.debugLine="Dim lr As LocationRequest"; +_lr = new uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest(); +RDebugUtils.currentLine=73662467; + //BA.debugLineNum = 73662467;BA.debugLine="lr.Initialize"; +_lr.Initialize(); +RDebugUtils.currentLine=73662468; + //BA.debugLineNum = 73662468;BA.debugLine="lr.SetInterval(2000) 'Intervalo deseado para actu"; +_lr.SetInterval((long) (2000)); +RDebugUtils.currentLine=73662469; + //BA.debugLineNum = 73662469;BA.debugLine="lr.SetFastestInterval(lr.GetInterval / 2) 'Interv"; +_lr.SetFastestInterval((long) (_lr.GetInterval()/(double)2)); +RDebugUtils.currentLine=73662470; + //BA.debugLineNum = 73662470;BA.debugLine="lr.setNumUpdates(2) 'Solicitamos solo 2 actualiza"; +_lr.SetNumUpdates((int) (2)); +RDebugUtils.currentLine=73662471; + //BA.debugLineNum = 73662471;BA.debugLine="lr.SetSmallestDisplacement(10) 'Solo registra cam"; +_lr.SetSmallestDisplacement((float) (10)); +RDebugUtils.currentLine=73662472; + //BA.debugLineNum = 73662472;BA.debugLine="lr.SetPriority(lr.Priority.PRIORITY_HIGH_ACCURACY"; +_lr.SetPriority(_lr.Priority.PRIORITY_HIGH_ACCURACY); +RDebugUtils.currentLine=73662473; + //BA.debugLineNum = 73662473;BA.debugLine="actualLR=lr"; +_actuallr = _lr; +RDebugUtils.currentLine=73662474; + //BA.debugLineNum = 73662474;BA.debugLine="Return lr"; +if (true) return _lr; +RDebugUtils.currentLine=73662475; + //BA.debugLineNum = 73662475;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; +RDebugUtils.currentLine=73924608; + //BA.debugLineNum = 73924608;BA.debugLine="Sub CreateNotification (Body As String) As Notific"; +RDebugUtils.currentLine=73924609; + //BA.debugLineNum = 73924609;BA.debugLine="Dim notification As Notification"; +_notification = new anywheresoftware.b4a.objects.NotificationWrapper(); +RDebugUtils.currentLine=73924610; + //BA.debugLineNum = 73924610;BA.debugLine="notification.Initialize2(notification.IMPORTANCE_"; +_notification.Initialize2(_notification.IMPORTANCE_LOW); +RDebugUtils.currentLine=73924611; + //BA.debugLineNum = 73924611;BA.debugLine="notification.Icon = \"icon\""; +_notification.setIcon("icon"); +RDebugUtils.currentLine=73924612; + //BA.debugLineNum = 73924612;BA.debugLine="notification.SetInfo(\"IZCA REPARTO\", Body, Main)"; +_notification.SetInfoNew(processBA,BA.ObjectToCharSequence("IZCA REPARTO"),BA.ObjectToCharSequence(_body),(Object)(mostCurrent._main.getObject())); +RDebugUtils.currentLine=73924613; + //BA.debugLineNum = 73924613;BA.debugLine="Return notification"; +if (true) return _notification; +RDebugUtils.currentLine=73924614; + //BA.debugLineNum = 73924614;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 = ""; +RDebugUtils.currentLine=73728000; + //BA.debugLineNum = 73728000;BA.debugLine="Sub dameUltimaUbicacionConocida"; +RDebugUtils.currentLine=73728001; + //BA.debugLineNum = 73728001;BA.debugLine="If FLP.GetLastKnownLocation.IsInitialized Then 'M"; +if (_flp.GetLastKnownLocation().IsInitialized()) { +RDebugUtils.currentLine=73728003; + //BA.debugLineNum = 73728003;BA.debugLine="If B4XPages.MainPage.Logger Then LogColor($\"Mand"; +if (mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { +anywheresoftware.b4a.keywords.Common.LogImpl("873728003",("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=73728004; + //BA.debugLineNum = 73728004;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())); +RDebugUtils.currentLine=73728006; + //BA.debugLineNum = 73728006;BA.debugLine="Subs.mandamosLoc(coords)"; +mostCurrent._subs._mandamosloc /*String*/ (processBA,_coords); + }; +RDebugUtils.currentLine=73728008; + //BA.debugLineNum = 73728008;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 = ""; +RDebugUtils.currentLine=74055680; + //BA.debugLineNum = 74055680;BA.debugLine="Sub formatoFecha(fecha As String) As String 'Convi"; +RDebugUtils.currentLine=74055682; + //BA.debugLineNum = 74055682;BA.debugLine="Dim OrigFormat As String = DateTime.DateFormat '"; +_origformat = anywheresoftware.b4a.keywords.Common.DateTime.getDateFormat(); +RDebugUtils.currentLine=74055683; + //BA.debugLineNum = 74055683;BA.debugLine="DateTime.DateFormat=\"yyMMddHHmmss\""; +anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat("yyMMddHHmmss"); +RDebugUtils.currentLine=74055684; + //BA.debugLineNum = 74055684;BA.debugLine="Dim lastUpdate As String=DateTime.Date(fecha)"; +_lastupdate = anywheresoftware.b4a.keywords.Common.DateTime.Date((long)(Double.parseDouble(_fecha))); +RDebugUtils.currentLine=74055685; + //BA.debugLineNum = 74055685;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig d"; +anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat(_origformat); +RDebugUtils.currentLine=74055687; + //BA.debugLineNum = 74055687;BA.debugLine="Return lastUpdate"; +if (true) return _lastupdate; +RDebugUtils.currentLine=74055688; + //BA.debugLineNum = 74055688;BA.debugLine="End Sub"; +return ""; +} +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=73203712; + //BA.debugLineNum = 73203712;BA.debugLine="Sub flp_ConnectionFailed(ConnectionResult1 As Int)"; +RDebugUtils.currentLine=73203713; + //BA.debugLineNum = 73203713;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"Failed to c"; +if (mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { +anywheresoftware.b4a.keywords.Common.LogImpl("873203713","Failed to connect to location provider",0);}; +RDebugUtils.currentLine=73203714; + //BA.debugLineNum = 73203714;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=73138176; + //BA.debugLineNum = 73138176;BA.debugLine="Sub flp_ConnectionSuccess"; +RDebugUtils.currentLine=73138179; + //BA.debugLineNum = 73138179;BA.debugLine="End Sub"; +return ""; +} +public static String _flp_connectionsuspended(int _connectionresult1) throws Exception{ +RDebugUtils.currentModule="tracker"; +if (Debug.shouldDelegate(processBA, "flp_connectionsuspended", false)) + {return ((String) Debug.delegate(processBA, "flp_connectionsuspended", new Object[] {_connectionresult1}));} +RDebugUtils.currentLine=73269248; + //BA.debugLineNum = 73269248;BA.debugLine="Sub flp_ConnectionSuspended(ConnectionResult1 As I"; +RDebugUtils.currentLine=73269249; + //BA.debugLineNum = 73269249;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"FLP conecti"; +if (mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { +anywheresoftware.b4a.keywords.Common.LogImpl("873269249","FLP conection suspended",0);}; +RDebugUtils.currentLine=73269250; + //BA.debugLineNum = 73269250;BA.debugLine="StartFLP"; +_startflp(); +RDebugUtils.currentLine=73269251; + //BA.debugLineNum = 73269251;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); +} +public static class ResumableSub_StartFLP extends BA.ResumableSub { +public ResumableSub_StartFLP(reparto_izca.keymon.lat.tracker parent) { +this.parent = parent; +} +reparto_izca.keymon.lat.tracker parent; + +@Override +public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="tracker"; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +RDebugUtils.currentLine=73465858; + //BA.debugLineNum = 73465858;BA.debugLine="Do While FLP.IsConnected = False"; +if (true) break; + +case 1: +//do while +this.state = 4; +while (parent._flp.IsConnected()==anywheresoftware.b4a.keywords.Common.False) { +this.state = 3; +if (true) break; +} +if (true) break; + +case 3: +//C +this.state = 1; +RDebugUtils.currentLine=73465859; + //BA.debugLineNum = 73465859;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: +//C +this.state = 1; +; + if (true) break; + +case 4: +//C +this.state = -1; +; +RDebugUtils.currentLine=73465864; + //BA.debugLineNum = 73465864;BA.debugLine="FLP.RequestLocationUpdates(CreateLocationRequest"; +parent._flp.RequestLocationUpdates((com.google.android.gms.location.LocationRequest)(_createlocationrequest().getObject())); +RDebugUtils.currentLine=73465867; + //BA.debugLineNum = 73465867;BA.debugLine="flpStarted = True"; +parent._flpstarted = anywheresoftware.b4a.keywords.Common.True; +RDebugUtils.currentLine=73465869; + //BA.debugLineNum = 73465869;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +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 = ""; +String _origformat = ""; +int _minsdif = 0; +RDebugUtils.currentLine=73859072; + //BA.debugLineNum = 73859072;BA.debugLine="Sub flp_LocationChanged (Location1 As Location)"; +RDebugUtils.currentLine=73859073; + //BA.debugLineNum = 73859073;BA.debugLine="Starter.trackerActividad = Subs.fechaKMT(DateTime"; +mostCurrent._starter._trackeractividad /*String*/ = mostCurrent._subs._fechakmt /*String*/ (processBA,BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow())); +RDebugUtils.currentLine=73859074; + //BA.debugLineNum = 73859074;BA.debugLine="UUGCoords = Location1"; +_uugcoords = _location1; +RDebugUtils.currentLine=73859076; + //BA.debugLineNum = 73859076;BA.debugLine="CallSub2(Starter, \"GPS_LocationChanged\", Location"; +anywheresoftware.b4a.keywords.Common.CallSubDebug2(processBA,(Object)(mostCurrent._starter.getObject()),"GPS_LocationChanged",(Object)(_location1)); +RDebugUtils.currentLine=73859079; + //BA.debugLineNum = 73859079;BA.debugLine="B4XPages.MainPage.lat_gps = Location1.Latitude"; +mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._lat_gps /*String*/ = BA.NumberToString(_location1.getLatitude()); +RDebugUtils.currentLine=73859080; + //BA.debugLineNum = 73859080;BA.debugLine="B4XPages.MainPage.lon_gps = Location1.Longitude"; +mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._lon_gps /*String*/ = BA.NumberToString(_location1.getLongitude()); +RDebugUtils.currentLine=73859082; + //BA.debugLineNum = 73859082;BA.debugLine="Dim sDate,sTime As String"; +_sdate = ""; +_stime = ""; +RDebugUtils.currentLine=73859083; + //BA.debugLineNum = 73859083;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat("MM/dd/yyyy"); +RDebugUtils.currentLine=73859084; + //BA.debugLineNum = 73859084;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +_sdate = anywheresoftware.b4a.keywords.Common.DateTime.Date(anywheresoftware.b4a.keywords.Common.DateTime.getNow()); +RDebugUtils.currentLine=73859085; + //BA.debugLineNum = 73859085;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +_stime = anywheresoftware.b4a.keywords.Common.DateTime.Time(anywheresoftware.b4a.keywords.Common.DateTime.getNow()); +RDebugUtils.currentLine=73859086; + //BA.debugLineNum = 73859086;BA.debugLine="Try"; +try {RDebugUtils.currentLine=73859087; + //BA.debugLineNum = 73859087;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM HIST_GPS\""; +mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM HIST_GPS"); +RDebugUtils.currentLine=73859088; + //BA.debugLineNum = 73859088;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO HIST_GPS"; +mostCurrent._starter._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 /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._lat_gps /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._lon_gps /*String*/ )})); + } + catch (Exception e14) { + processBA.setLastException(e14);RDebugUtils.currentLine=73859090; + //BA.debugLineNum = 73859090;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"Error al b"; +if (mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { +anywheresoftware.b4a.keywords.Common.LogImpl("873859090","Error al borrar o insertar nuevas coordendas en HIST_GPS",0);}; + }; +RDebugUtils.currentLine=73859093; + //BA.debugLineNum = 73859093;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=73859094; + //BA.debugLineNum = 73859094;BA.debugLine="Log(\"Loc changed : \"&Location1.Latitude&\",\"&Locat"; +anywheresoftware.b4a.keywords.Common.LogImpl("873859094","Loc changed : "+BA.NumberToString(_location1.getLatitude())+","+BA.NumberToString(_location1.getLongitude()),0); +RDebugUtils.currentLine=73859095; + //BA.debugLineNum = 73859095;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"Mandamos Ub"; +if (mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { +anywheresoftware.b4a.keywords.Common.LogImpl("873859095","Mandamos Ubicacion",0);}; +RDebugUtils.currentLine=73859096; + //BA.debugLineNum = 73859096;BA.debugLine="If B4XPages.MainPage.logger Then Log(locRequest)"; +if (mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { +anywheresoftware.b4a.keywords.Common.LogImpl("873859096",_locrequest,0);}; +RDebugUtils.currentLine=73859098; + //BA.debugLineNum = 73859098;BA.debugLine="If Location1.Accuracy < 100 Then"; +if (_location1.getAccuracy()<100) { +RDebugUtils.currentLine=73859099; + //BA.debugLineNum = 73859099;BA.debugLine="Subs.guardaInfoEnBD(coords)'Escribimos coordenad"; +mostCurrent._subs._guardainfoenbd /*String*/ (processBA,_coords); +RDebugUtils.currentLine=73859101; + //BA.debugLineNum = 73859101;BA.debugLine="Subs.mandamosLoc(coords)"; +mostCurrent._subs._mandamosloc /*String*/ (processBA,_coords); + }; +RDebugUtils.currentLine=73859103; + //BA.debugLineNum = 73859103;BA.debugLine="Dim origFormat As String = DateTime.TimeFormat 'G"; +_origformat = anywheresoftware.b4a.keywords.Common.DateTime.getTimeFormat(); +RDebugUtils.currentLine=73859104; + //BA.debugLineNum = 73859104;BA.debugLine="DateTime.TimeFormat = \"HHmmss\" ' Modificamos form"; +anywheresoftware.b4a.keywords.Common.DateTime.setTimeFormat("HHmmss"); +RDebugUtils.currentLine=73859105; + //BA.debugLineNum = 73859105;BA.debugLine="Dim minsDif As Int = DateTime.Time(DateTime.Now)"; +_minsdif = (int) ((double)(Double.parseDouble(anywheresoftware.b4a.keywords.Common.DateTime.Time(anywheresoftware.b4a.keywords.Common.DateTime.getNow())))-(double)(Double.parseDouble(mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._ultimaactualizaciongps /*String*/ ))); +RDebugUtils.currentLine=73859107; + //BA.debugLineNum = 73859107;BA.debugLine="If Location1.Accuracy < 100 And minsDif > 240 The"; +if (_location1.getAccuracy()<100 && _minsdif>240) { +RDebugUtils.currentLine=73859108; + //BA.debugLineNum = 73859108;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"actualizam"; +if (mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { +anywheresoftware.b4a.keywords.Common.LogImpl("873859108","actualizamos Ubicacion Web",0);}; +RDebugUtils.currentLine=73859109; + //BA.debugLineNum = 73859109;BA.debugLine="CallSubDelayed(Starter, \"ENVIA_ULTIMA_GPS\")"; +anywheresoftware.b4a.keywords.Common.CallSubDelayed(processBA,(Object)(mostCurrent._starter.getObject()),"ENVIA_ULTIMA_GPS"); + }; +RDebugUtils.currentLine=73859111; + //BA.debugLineNum = 73859111;BA.debugLine="DateTime.TimeFormat = origFormat 'Regresamos form"; +anywheresoftware.b4a.keywords.Common.DateTime.setTimeFormat(_origformat); +RDebugUtils.currentLine=73859113; + //BA.debugLineNum = 73859113;BA.debugLine="Subs.monitor"; +mostCurrent._subs._monitor /*String*/ (processBA); +RDebugUtils.currentLine=73859114; + //BA.debugLineNum = 73859114;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=73072640; + //BA.debugLineNum = 73072640;BA.debugLine="Sub Service_Create"; +RDebugUtils.currentLine=73072641; + //BA.debugLineNum = 73072641;BA.debugLine="Service.AutomaticForegroundMode = Service.AUTOMAT"; +mostCurrent._service.AutomaticForegroundMode = mostCurrent._service.AUTOMATIC_FOREGROUND_NEVER; +RDebugUtils.currentLine=73072642; + //BA.debugLineNum = 73072642;BA.debugLine="UUGCoords.Initialize"; +_uugcoords.Initialize(); +RDebugUtils.currentLine=73072643; + //BA.debugLineNum = 73072643;BA.debugLine="UUGCoords.Latitude = 0"; +_uugcoords.setLatitude(0); +RDebugUtils.currentLine=73072644; + //BA.debugLineNum = 73072644;BA.debugLine="UUGCoords.Longitude = 0"; +_uugcoords.setLongitude(0); +RDebugUtils.currentLine=73072646; + //BA.debugLineNum = 73072646;BA.debugLine="FLP.Initialize(\"flp\")"; +_flp.Initialize(processBA,"flp"); +RDebugUtils.currentLine=73072647; + //BA.debugLineNum = 73072647;BA.debugLine="FLP.Connect"; +_flp.Connect(); +RDebugUtils.currentLine=73072648; + //BA.debugLineNum = 73072648;BA.debugLine="lock.PartialLock"; +_lock.PartialLock(processBA); +RDebugUtils.currentLine=73072649; + //BA.debugLineNum = 73072649;BA.debugLine="StartFLP"; +_startflp(); +RDebugUtils.currentLine=73072650; + //BA.debugLineNum = 73072650;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=73990144; + //BA.debugLineNum = 73990144;BA.debugLine="Sub Service_Destroy"; +RDebugUtils.currentLine=73990145; + //BA.debugLineNum = 73990145;BA.debugLine="If Tracking Then"; +if (_tracking) { +RDebugUtils.currentLine=73990146; + //BA.debugLineNum = 73990146;BA.debugLine="StopFLP"; +_stopflp(); + }; +RDebugUtils.currentLine=73990148; + //BA.debugLineNum = 73990148;BA.debugLine="Tracking = False"; +_tracking = anywheresoftware.b4a.keywords.Common.False; +RDebugUtils.currentLine=73990149; + //BA.debugLineNum = 73990149;BA.debugLine="lock.ReleasePartialLock"; +_lock.ReleasePartialLock(); +RDebugUtils.currentLine=73990150; + //BA.debugLineNum = 73990150;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=73793536; + //BA.debugLineNum = 73793536;BA.debugLine="Public Sub StopFLP"; +RDebugUtils.currentLine=73793538; + //BA.debugLineNum = 73793538;BA.debugLine="If flpStarted Then"; +if (_flpstarted) { +RDebugUtils.currentLine=73793539; + //BA.debugLineNum = 73793539;BA.debugLine="FLP.RemoveLocationUpdates 'Eliminamos todas las"; +_flp.RemoveLocationUpdates(); +RDebugUtils.currentLine=73793540; + //BA.debugLineNum = 73793540;BA.debugLine="flpStarted = False"; +_flpstarted = anywheresoftware.b4a.keywords.Common.False; + }; +RDebugUtils.currentLine=73793542; + //BA.debugLineNum = 73793542;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=73334784; + //BA.debugLineNum = 73334784;BA.debugLine="Sub Service_Start (StartingIntent As Intent)"; +RDebugUtils.currentLine=73334785; + //BA.debugLineNum = 73334785;BA.debugLine="LogColor(\"Iniciando Tracker ...\", Colors.Green)"; +anywheresoftware.b4a.keywords.Common.LogImpl("873334785","Iniciando Tracker ...",anywheresoftware.b4a.keywords.Common.Colors.Green); +RDebugUtils.currentLine=73334786; + //BA.debugLineNum = 73334786;BA.debugLine="Service.StopAutomaticForeground"; +mostCurrent._service.StopAutomaticForeground(); +RDebugUtils.currentLine=73334788; + //BA.debugLineNum = 73334788;BA.debugLine="StartServiceAt(Me, DateTime.Now + 10 * DateTime.T"; +anywheresoftware.b4a.keywords.Common.StartServiceAt(processBA,tracker.getObject(),(long) (anywheresoftware.b4a.keywords.Common.DateTime.getNow()+10*anywheresoftware.b4a.keywords.Common.DateTime.TicksPerMinute),anywheresoftware.b4a.keywords.Common.True); +RDebugUtils.currentLine=73334789; + //BA.debugLineNum = 73334789;BA.debugLine="Track"; +_track(); +RDebugUtils.currentLine=73334790; + //BA.debugLineNum = 73334790;BA.debugLine="Starter.trackerActividad = Subs.fechaKMT(DateTime"; +mostCurrent._starter._trackeractividad /*String*/ = mostCurrent._subs._fechakmt /*String*/ (processBA,BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow())); +RDebugUtils.currentLine=73334792; + //BA.debugLineNum = 73334792;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=73400320; + //BA.debugLineNum = 73400320;BA.debugLine="Public Sub Track"; +RDebugUtils.currentLine=73400321; + //BA.debugLineNum = 73400321;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"Inicia Trac"; +if (mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { +anywheresoftware.b4a.keywords.Common.LogImpl("873400321","Inicia Track - Tracking : "+BA.ObjectToString(_tracking),0);}; +RDebugUtils.currentLine=73400322; + //BA.debugLineNum = 73400322;BA.debugLine="If Tracking Then"; +if (_tracking) { +RDebugUtils.currentLine=73400324; + //BA.debugLineNum = 73400324;BA.debugLine="Return 'Si ya estamos \"rastreando\" no hacemos na"; +if (true) return ""; + }; +RDebugUtils.currentLine=73400326; + //BA.debugLineNum = 73400326;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=73400327; + //BA.debugLineNum = 73400327;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"No permiss"; +if (mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { +anywheresoftware.b4a.keywords.Common.LogImpl("873400327","No permission",0);}; +RDebugUtils.currentLine=73400328; + //BA.debugLineNum = 73400328;BA.debugLine="Return"; +if (true) return ""; + }; +RDebugUtils.currentLine=73400330; + //BA.debugLineNum = 73400330;BA.debugLine="StartFLP 'Iniciamos FusedLocationProvider"; +_startflp(); +RDebugUtils.currentLine=73400331; + //BA.debugLineNum = 73400331;BA.debugLine="Tracking = True"; +_tracking = anywheresoftware.b4a.keywords.Common.True; +RDebugUtils.currentLine=73400332; + //BA.debugLineNum = 73400332;BA.debugLine="End Sub"; +return ""; +} +public static void _startflp2reqs() throws Exception{ +RDebugUtils.currentModule="tracker"; +if (Debug.shouldDelegate(processBA, "startflp2reqs", false)) + {Debug.delegate(processBA, "startflp2reqs", null); return;} +ResumableSub_StartFLP2Reqs rsub = new ResumableSub_StartFLP2Reqs(null); +rsub.resume(processBA, null); +} +public static class ResumableSub_StartFLP2Reqs extends BA.ResumableSub { +public ResumableSub_StartFLP2Reqs(reparto_izca.keymon.lat.tracker parent) { +this.parent = parent; +} +reparto_izca.keymon.lat.tracker parent; + +@Override +public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="tracker"; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +RDebugUtils.currentLine=73531393; + //BA.debugLineNum = 73531393;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"StartFLP -"; +if (true) break; + +case 1: +//if +this.state = 6; +if (parent.mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { +this.state = 3; +;}if (true) break; + +case 3: +//C +this.state = 6; +anywheresoftware.b4a.keywords.Common.LogImpl("873531393","StartFLP - flpStarted="+BA.ObjectToString(parent._flpstarted),0); +if (true) break; + +case 6: +//C +this.state = 7; +; +RDebugUtils.currentLine=73531394; + //BA.debugLineNum = 73531394;BA.debugLine="Do While FLP.IsConnected = False"; +if (true) break; + +case 7: +//do while +this.state = 16; +while (parent._flp.IsConnected()==anywheresoftware.b4a.keywords.Common.False) { +this.state = 9; +if (true) break; +} +if (true) break; + +case 9: +//C +this.state = 10; +RDebugUtils.currentLine=73531395; + //BA.debugLineNum = 73531395;BA.debugLine="Sleep(500)"; +anywheresoftware.b4a.keywords.Common.Sleep(processBA,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "tracker", "startflp2reqs"),(int) (500)); +this.state = 29; +return; +case 29: +//C +this.state = 10; +; +RDebugUtils.currentLine=73531396; + //BA.debugLineNum = 73531396;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"sleeping G"; +if (true) break; + +case 10: +//if +this.state = 15; +if (parent.mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { +this.state = 12; +;}if (true) break; + +case 12: +//C +this.state = 15; +anywheresoftware.b4a.keywords.Common.LogImpl("873531396","sleeping GR",0); +if (true) break; + +case 15: +//C +this.state = 7; +; + if (true) break; + +case 16: +//C +this.state = 17; +; +RDebugUtils.currentLine=73531398; + //BA.debugLineNum = 73531398;BA.debugLine="dameUltimaUbicacionConocida 'Regresamos ultima ub"; +_dameultimaubicacionconocida(); +RDebugUtils.currentLine=73531399; + //BA.debugLineNum = 73531399;BA.debugLine="FLP.RequestLocationUpdates(CreateLocationRequest2"; +parent._flp.RequestLocationUpdates((com.google.android.gms.location.LocationRequest)(_createlocationrequest2times().getObject())); +RDebugUtils.currentLine=73531400; + //BA.debugLineNum = 73531400;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"Buscamos ub"; +if (true) break; + +case 17: +//if +this.state = 22; +if (parent.mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { +this.state = 19; +;}if (true) break; + +case 19: +//C +this.state = 22; +anywheresoftware.b4a.keywords.Common.LogImpl("873531400","Buscamos ubicacion 2 peticiones",0); +if (true) break; + +case 22: +//C +this.state = 23; +; +RDebugUtils.currentLine=73531401; + //BA.debugLineNum = 73531401;BA.debugLine="If B4XPages.MainPage.logger Then Log(actualLR.Get"; +if (true) break; + +case 23: +//if +this.state = 28; +if (parent.mostCurrent._b4xpages._mainpage /*reparto_izca.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { +this.state = 25; +;}if (true) break; + +case 25: +//C +this.state = 28; +anywheresoftware.b4a.keywords.Common.LogImpl("873531401",BA.NumberToString(parent._actuallr.GetSmallestDisplacement()),0); +if (true) break; + +case 28: +//C +this.state = -1; +; +RDebugUtils.currentLine=73531402; + //BA.debugLineNum = 73531402;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_izca/keymon/lat/xuiviewsutils.java b/B4A/Objects/src/reparto_izca/keymon/lat/xuiviewsutils.java new file mode 100644 index 0000000..0ede10a --- /dev/null +++ b/B4A/Objects/src/reparto_izca/keymon/lat/xuiviewsutils.java @@ -0,0 +1,222 @@ +package reparto_izca.keymon.lat; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.BALayout; +import anywheresoftware.b4a.debug.*; + +public class xuiviewsutils { +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 static boolean _utilsinitialized = false; +public static anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; +public b4a.example.dateutils _dateutils = null; +public reparto_izca.keymon.lat.main _main = null; +public reparto_izca.keymon.lat.appupdater _appupdater = null; +public reparto_izca.keymon.lat.subs _subs = null; +public reparto_izca.keymon.lat.foto _foto = null; +public reparto_izca.keymon.lat.mapa_cliente _mapa_cliente = null; +public reparto_izca.keymon.lat.mapa_rutas _mapa_rutas = null; +public reparto_izca.keymon.lat.starter _starter = null; +public reparto_izca.keymon.lat.tracker _tracker = null; +public reparto_izca.keymon.lat.newinst2 _newinst2 = null; +public reparto_izca.keymon.lat.b4xpages _b4xpages = null; +public reparto_izca.keymon.lat.b4xcollections _b4xcollections = null; +public reparto_izca.keymon.lat.httputils2service _httputils2service = null; +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; +RDebugUtils.currentLine=61538304; + //BA.debugLineNum = 61538304;BA.debugLine="Public Sub PerformHapticFeedback (View As B4XView)"; +RDebugUtils.currentLine=61538305; + //BA.debugLineNum = 61538305;BA.debugLine="Initialize"; +_initialize(_ba); +RDebugUtils.currentLine=61538307; + //BA.debugLineNum = 61538307;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=61538308; + //BA.debugLineNum = 61538308;BA.debugLine="jo.RunMethod(\"performHapticFeedback\", Array(1))"; +_jo.RunMethod("performHapticFeedback",new Object[]{(Object)(1)}); +RDebugUtils.currentLine=61538314; + //BA.debugLineNum = 61538314;BA.debugLine="End Sub"; +return ""; +} +public static String _settextorcsbuildertolabel(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.B4XViewWrapper _xlbl,Object _text) throws Exception{ +RDebugUtils.currentModule="xuiviewsutils"; +if (Debug.shouldDelegate(null, "settextorcsbuildertolabel", true)) + {return ((String) Debug.delegate(null, "settextorcsbuildertolabel", new Object[] {_ba,_xlbl,_text}));} +RDebugUtils.currentLine=61669376; + //BA.debugLineNum = 61669376;BA.debugLine="Public Sub SetTextOrCSBuilderToLabel(xlbl As B4XVi"; +RDebugUtils.currentLine=61669378; + //BA.debugLineNum = 61669378;BA.debugLine="xlbl.Text = Text"; +_xlbl.setText(BA.ObjectToCharSequence(_text)); +RDebugUtils.currentLine=61669388; + //BA.debugLineNum = 61669388;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=61603840; + //BA.debugLineNum = 61603840;BA.debugLine="Public Sub AddStubToCLVIfNeeded(CustomListView1 As"; +RDebugUtils.currentLine=61603841; + //BA.debugLineNum = 61603841;BA.debugLine="If CustomListView1.Size = 0 Then Return"; +if (_customlistview1._getsize()==0) { +if (true) return "";}; +RDebugUtils.currentLine=61603842; + //BA.debugLineNum = 61603842;BA.debugLine="Dim LastItem As CLVItem = CustomListView1.GetRawL"; +_lastitem = _customlistview1._getrawlistitem((int) (_customlistview1._getsize()-1)); +RDebugUtils.currentLine=61603843; + //BA.debugLineNum = 61603843;BA.debugLine="If LastItem.Offset + LastItem.Panel.Height < Cust"; +if (_lastitem.Offset+_lastitem.Panel.getHeight()<_customlistview1._asview().getHeight()) { +RDebugUtils.currentLine=61603845; + //BA.debugLineNum = 61603845;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=61603846; + //BA.debugLineNum = 61603846;BA.debugLine="p.Color = Color"; +_p.setColor(_color); +RDebugUtils.currentLine=61603847; + //BA.debugLineNum = 61603847;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=61603848; + //BA.debugLineNum = 61603848;BA.debugLine="If xui.IsB4J Then Height = Height + 5"; +if (_xui.getIsB4J()) { +_height = (int) (_height+5);}; +RDebugUtils.currentLine=61603849; + //BA.debugLineNum = 61603849;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, CustomListView1.AsV"; +_p.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_customlistview1._asview().getWidth(),_height); +RDebugUtils.currentLine=61603850; + //BA.debugLineNum = 61603850;BA.debugLine="CustomListView1.Add(p, \"\")"; +_customlistview1._add(_p,(Object)("")); +RDebugUtils.currentLine=61603851; + //BA.debugLineNum = 61603851;BA.debugLine="CustomListView1.sv.ScrollViewContentHeight = Cus"; +_customlistview1._sv.setScrollViewContentHeight((int) (_customlistview1._sv.getScrollViewContentHeight()-_customlistview1._getdividersize())); + }; +RDebugUtils.currentLine=61603853; + //BA.debugLineNum = 61603853;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=61734912; + //BA.debugLineNum = 61734912;BA.debugLine="Public Sub SetBitmapAndFill (ImageView As B4XView,"; +RDebugUtils.currentLine=61734913; + //BA.debugLineNum = 61734913;BA.debugLine="ImageView.SetBitmap(Bmp)"; +_imageview.SetBitmap((android.graphics.Bitmap)(_bmp.getObject())); +RDebugUtils.currentLine=61734914; + //BA.debugLineNum = 61734914;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=61734916; + //BA.debugLineNum = 61734916;BA.debugLine="iiv.Gravity = Gravity.FILL"; +_iiv.setGravity(anywheresoftware.b4a.keywords.Common.Gravity.FILL); +RDebugUtils.currentLine=61734922; + //BA.debugLineNum = 61734922;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=61931520; + //BA.debugLineNum = 61931520;BA.debugLine="Public Sub SetAlpha (View As B4XView, Level As Flo"; +RDebugUtils.currentLine=61931522; + //BA.debugLineNum = 61931522;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=61931523; + //BA.debugLineNum = 61931523;BA.debugLine="Dim alpha As Float = Level"; +_alpha = _level; +RDebugUtils.currentLine=61931524; + //BA.debugLineNum = 61931524;BA.debugLine="jo.RunMethod(\"setAlpha\", Array(alpha))"; +_jo.RunMethod("setAlpha",new Object[]{(Object)(_alpha)}); +RDebugUtils.currentLine=61931532; + //BA.debugLineNum = 61931532;BA.debugLine="End Sub"; +return ""; +} +public static reparto_izca.keymon.lat.b4ximageview _createb4ximageview(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="xuiviewsutils"; +if (Debug.shouldDelegate(null, "createb4ximageview", true)) + {return ((reparto_izca.keymon.lat.b4ximageview) Debug.delegate(null, "createb4ximageview", new Object[] {_ba}));} +reparto_izca.keymon.lat.b4ximageview _iv = null; +anywheresoftware.b4a.objects.B4XViewWrapper _base = null; +RDebugUtils.currentLine=61865984; + //BA.debugLineNum = 61865984;BA.debugLine="Public Sub CreateB4XImageView As B4XImageView"; +RDebugUtils.currentLine=61865985; + //BA.debugLineNum = 61865985;BA.debugLine="Dim iv As B4XImageView"; +_iv = new reparto_izca.keymon.lat.b4ximageview(); +RDebugUtils.currentLine=61865986; + //BA.debugLineNum = 61865986;BA.debugLine="iv.Initialize(Null, \"\")"; +_iv._initialize /*String*/ (null,_ba,anywheresoftware.b4a.keywords.Common.Null,""); +RDebugUtils.currentLine=61865987; + //BA.debugLineNum = 61865987;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=61865988; + //BA.debugLineNum = 61865988;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=61865989; + //BA.debugLineNum = 61865989;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=61865990; + //BA.debugLineNum = 61865990;BA.debugLine="Return iv"; +if (true) return _iv; +RDebugUtils.currentLine=61865991; + //BA.debugLineNum = 61865991;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=61800448; + //BA.debugLineNum = 61800448;BA.debugLine="Public Sub CreateLabel As B4XView"; +RDebugUtils.currentLine=61800449; + //BA.debugLineNum = 61800449;BA.debugLine="Dim lbl As Label"; +_lbl = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=61800450; + //BA.debugLineNum = 61800450;BA.debugLine="lbl.Initialize(\"\")"; +_lbl.Initialize(_ba,""); +RDebugUtils.currentLine=61800451; + //BA.debugLineNum = 61800451;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=61800452; + //BA.debugLineNum = 61800452;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=61472768; + //BA.debugLineNum = 61472768;BA.debugLine="Private Sub Initialize"; +RDebugUtils.currentLine=61472769; + //BA.debugLineNum = 61472769;BA.debugLine="If UtilsInitialized Then Return"; +if (_utilsinitialized) { +if (true) return "";}; +RDebugUtils.currentLine=61472770; + //BA.debugLineNum = 61472770;BA.debugLine="UtilsInitialized = True"; +_utilsinitialized = anywheresoftware.b4a.keywords.Common.True; +RDebugUtils.currentLine=61472777; + //BA.debugLineNum = 61472777;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/README.md b/B4A/README.md new file mode 100644 index 0000000..c50c45f --- /dev/null +++ b/B4A/README.md @@ -0,0 +1,2 @@ +# Izca-Reparto +Primera aplicacion para la empresa Izca Reparto diff --git a/B4A/Starter.bas b/B4A/Starter.bas new file mode 100644 index 0000000..fb4f8ed --- /dev/null +++ b/B4A/Starter.bas @@ -0,0 +1,175 @@ +B4A=true +Group=Default Group +ModulesStructureVersion=1 +Type=Service +Version=9.85 +@EndOfDesignText@ +#Region Service Attributes + #StartAtBoot: False + #ExcludeFromLibrary: True +#End Region + +Sub Process_Globals + 'These global variables will be declared once when the application starts. + 'These variables can be accessed from all modules. + Public rp As RuntimePermissions + Public FLP As FusedLocationProvider + Private flpStarted As Boolean + Dim skmt As SQL + Dim ruta As String + Private BTAdmin As BluetoothAdmin + Public BluetoothState As Boolean + Dim Timer1 As Timer + Dim Interval As Int = 300 + 'Para WebSockets +' Dim monitor As Timer 'Lo usamos para monitorear los servicios Tracker y PushService +' Dim monitorTicks As Int = 0 + Dim trackerActividad As String = "501231235959" + Dim pushServiceActividad As String = "501231235959" + 'Para los Logs + Dim MAC_IMPRESORA As String + Private logs As StringBuilder + Private logcat As LogCat + Public SharedFolder As String 'Para actualizar apk + Dim cedisLocation As Location + Dim reqManager As DBRequestManager + Dim server As String = "http://keymon.net:1781" +' Dim server As String = "http://192.168.100.10:1781" +' Dim server As String = "http://keymon.lat:9000" +' Dim server = "http://192.168.100.10:1781" + Dim muestraProgreso = 0 + Dim c As Cursor +End Sub + +Sub Service_Create + 'This is the program entry point. + 'This is a good place to load resources that are not specific to a single activity. + ruta = File.DirInternal 'Ruta de la base de datos por defecto. +' If File.ExternalWritable Then ruta = rp.GetSafeDirDefaultExternal("") 'Si podemos escribir a la tarjeta, cambiamos la ruta. + If Not(File.Exists(ruta, "kmt.db")) Then File.Copy(File.DirAssets, "kmt.db", ruta, "kmt.db") 'Si no existe el archivo de la base de datos, lo copiamos. + Log(ruta) + skmt.Initialize(ruta,"kmt.db", True) +' CallSubDelayed(PushService, "SubscribeToTopics") +' CallSubDelayed(FirebaseMessaging, "SubscribeToTopics") +' BTAdmin.Initialize("admin") +' If BTAdmin.IsEnabled = False Then +' If BTAdmin.Enable = False Then +' ToastMessageShow("Error enabling Bluetooth adapter.", True) +' Else +' ToastMessageShow("Enabling Bluetooth adapter...", False) +' End Ifate = True +' Else +' BluetoothSt +' End If +' reqManager.Initialize(Me, Main.server) + Timer1.Initialize("Timer1", Interval * 1000) + Timer1.Enabled = True + SharedFolder = rp.GetSafeDirDefaultExternal("") + cedisLocation.Initialize +' cedisLocation.Latitude = "19.48118148992086" +' cedisLocation.Longitude = "-99.15295579261536" + cedisLocation.Latitude = "0" + cedisLocation.Longitude = "0" +End Sub + +Sub Service_Start (StartingIntent As Intent) + Service.StopAutomaticForeground 'Starter service can start in the foreground state in some edge cases. +' StartService(PushService) +' monitor.Initialize("monitor", 30000) +' monitor.Enabled = True +End Sub + +Sub Service_TaskRemoved + 'This event will be raised when the user removes the app from the recent apps list. +End Sub + +'Return true to allow the OS default exceptions handler to handle the uncaught exception. +Sub Application_Error (Error As Exception, StackTrace As String) As Boolean + Return True +End Sub + +Sub Service_Destroy + +End Sub + +Private Sub Timer1_Tick +' ToastMessageShow("Timer",False) +' LogColor("Siguiente actualizacion " & DateTime.Time(DateTime.Now + Interval * 1000),Colors.Blue) + ENVIA_ULTIMA_GPS +End Sub + +Sub ENVIA_ULTIMA_GPS + If IsConnectedToInternet Then + Log("Con internet, enviamos UTR!") + Dim skmt As SQL + Dim cmd As DBCommand + Dim reqManager As DBRequestManager + reqManager.Initialize(Me, server) +' LogColor($"ReqServer = ${server}"$, Colors.red) + skmt.Initialize(ruta,"kmt.db", True) +' Log("server: "&Main.server) + skmt.Initialize(ruta,"kmt.db", True) +' Log(B4XPages.MainPage.montoActual) +' Log(B4XPages.MainPage.clientestotal) +' Log((B4XPages.MainPage.rechazos + B4XPages.MainPage.entregas)) +' Log(B4XPages.MainPage.monto_entregadoactual) +' Log(B4XPages.MainPage.entregas) +' Log(B4XPages.MainPage.porVisitar) +' Log(B4XPages.MainPage.rechazos) + If B4XPages.MainPage.logger Then LogColor("Iniciamos ENVIA_ULTIMA_GPS", Colors.red) + DateTime.TimeFormat = "HHmmss" + B4XPages.MainPage.ultimaActualizacionGPS = DateTime.Time(DateTime.Now) + cmd.Initialize + cmd.Name = "select_fechat" + reqManager.ExecuteQuery(cmd , 0, "fechat") + + Log(B4XPages.MainPage.montoActual&" , " &B4XPages.MainPage.clientestotal&" , " &B4XPages.MainPage.visitadostotales&" , " &B4XPages.MainPage.monto_entregadoactual&" , " &B4XPages.MainPage.entregas&" , " &B4XPages.MainPage.porVisitar&" , " &B4XPages.MainPage.rechazos&" , " &B4XPages.MainPage.lat_gps&" , " &B4XPages.MainPage.lon_gps&" , " &B4XPages.MainPage.batt&" , " &Application.VersionName&" , " &B4XPages.MainPage.ALMACEN&" , " &B4XPages.MainPage.rutapreventa) + Dim cmd As DBCommand + cmd.Initialize + cmd.Name = "UPDATE_IZCA_ACTUALR2_GPS" +' cmd.Parameters = Array As Object(B4XPages.MainPage.montoActual, B4XPages.MainPage.clientestotal, B4XPages.MainPage.clientesventa, B4XPages.MainPage.clientesvisitados, B4XPages.MainPage.lat_gps, B4XPages.MainPage.lon_gps, B4XPages.MainPage.batt, B4XPages.MainPage.montoRechazado, B4XPages.MainPage.montoEntregado, B4XPages.MainPage.clientestotal, B4XPages.MainPage.porVisitar, B4XPages.MainPage.entregas, B4XPages.MainPage.rechazos, Application.VersionName, B4XPages.MainPage.ALMACEN, B4XPages.MainPage.rutapreventa ) + cmd.Parameters = Array As Object(B4XPages.MainPage.montoActual, B4XPages.MainPage.clientestotal, B4XPages.MainPage.visitadostotales, B4XPages.MainPage.monto_entregadoactual, B4XPages.MainPage.entregas, B4XPages.MainPage.porVisitar, B4XPages.MainPage.rechazos, B4XPages.MainPage.lat_gps, B4XPages.MainPage.lon_gps, B4XPages.MainPage.batt,Application.VersionName, B4XPages.MainPage.ALMACEN, B4XPages.MainPage.rutapreventa ) + If B4XPages.MainPage.logger Then Log($"montoActual: ${B4XPages.MainPage.montoActual}, cTotal: ${B4XPages.MainPage.clientestotal}, cVenta: ${B4XPages.MainPage.clientesventa}, cVisitados: ${B4XPages.MainPage.clientesvisitados}, ${B4XPages.MainPage.lat_gps}, ${B4XPages.MainPage.lon_gps}, Batt: ${B4XPages.MainPage.batt}, montoRechazado: ${B4XPages.MainPage.montoRechazado}, montoEntregado: ${B4XPages.MainPage.montoEntregado}, porVisitar: ${B4XPages.MainPage.porVisitar}, entregas: ${B4XPages.MainPage.entregas}, rechazos: ${B4XPages.MainPage.rechazos}, Almacen: ${B4XPages.MainPage.ALMACEN}, Ruta: ${B4XPages.MainPage.rutapreventa}"$) + + reqManager.ExecuteCommand(cmd, "inst_visitas") + skmt.ExecNonQuery2("Update cat_variables set CAT_VA_VALOR = ? WHERE CAT_VA_DESCRIPCION = ?" , Array As String(DateTime.Time(DateTime.Now),"HoraIngreso")) + + 'Reiniciamos el timer para cuando llamamos el Sub desde otra actividad + Timer1.Enabled = False + Timer1.Interval = Interval * 1000 + Timer1.Enabled = True + Else + Log("Sin conexión a internet, no se envió UTR!") + End If +End Sub + + + + + + +Sub IsConnectedToInternet As Boolean 'ignore + Dim r As Reflector + r.Target = r.GetContext + r.Target = r.RunMethod2("getSystemService", "connectivity", "java.lang.String") + r.Target = r.RunMethod("getActiveNetworkInfo") + If r.Target <> Null Then + Return r.RunMethod("isConnectedOrConnecting") + End If + Return False +End Sub + +Sub JobDone(Job As HttpJob) +' LogColor("starter jobdone", Colors.Red) +' Log(Job.ErrorMessage) +' Private r As DBResult = reqManager.HandleJob(Job) + If Job.Success = False Then +' LogColor("** " & Job.Tag & " Error: " & Job.ErrorMessage, Colors.Red) ' Mod by CHV - 211023 + If Job.ErrorMessage.Contains("failed to connect") Or Job.ErrorMessage.Contains("Failed to connect") Then + ToastMessageShow("!Hubo un error contactando al servidor, por favor revise su conexión!", True) + End If + 'ToastMessageShow("Error: " & Job.ErrorMessage, True) + Else +' LogColor("JobDone: '" & reqManager.HandleJob(Job).tag & "' - Registros: " & reqManager.HandleJob(Job).Rows.Size, Colors.Green) 'Mod por CHV - 211023 + End If +End Sub \ No newline at end of file diff --git a/B4A/Subs.bas b/B4A/Subs.bas new file mode 100644 index 0000000..cfd11e0 --- /dev/null +++ b/B4A/Subs.bas @@ -0,0 +1,1082 @@ +B4A=true +Group=Default Group +ModulesStructureVersion=1 +Type=StaticCode +Version=11 +@EndOfDesignText@ +'Code module +'Subs in this code module will be accessible from all modules. +Sub Process_Globals + 'These global variables will be declared once when the application starts. + 'These variables can be accessed from all modules. + Public GZip As GZipStrings + Private su As StringUtils + Dim phn As Phone + Dim devModel As String + Dim kmt, errorLog As SQL 'Requiere la libreria "SQL" +' Dim wifi As MLwifi + Dim ssid As String 'ignore + Dim rutaMaxPoints As Int = 3000 + Dim rutaHrsAtras As Int = 48 +' Dim rutaInicioHoy As String = "" +End Sub + +'Pone el valor de phn.Model en la variable global "devModel" +Sub getPhnId As String 'ignore + 'Requiere la libreria "Phone" + devModel = phn.Model + If devModel.Length <= 3 Then 'Si phn.Model esta en blanco ... + Dim t As String = phn.GetSettings("android_id") 'Intentamos con "android_id" + devModel = t + End If + If devModel.Length >= 3 Then 'Si tenemos valor para phn.Model + File.WriteString(File.DirInternal, "phnId.txt", devModel) 'Sobreescribimos archivo phnId.txt with deviceId +' Log("Tenemos phnId: "&devModel&" "&File.DirInternal&"/phn.txt sobreescrito") + Else If devModel.Length < 3 Then ' Si no tenemos valor, lo leemos de phnId.txt + Dim s As String = File.ReadString(File.DirInternal, "phnId.txt") + devModel = s +' Log("Leemos id de "&File.DirInternal&"/phnId.txt") +' Log(devModel) + End If + Return devModel +End Sub + +'Comprime y regresa un texto (str) en base64 +Sub compress(str As String) As String 'ignore + 'Requiere la libreria "CompressStrings" + Dim compressed() As Byte = GZip.compress(str) +' Log($"UncompressedBytesLength: ${str.Length}"$) +' Log($"CompressedBytesLength: ${compressed.Length}"$) + Dim base64 As String = su.EncodeBase64(compressed) + Log($"Comprimido: ${base64.Length}"$) +' Log($"CompressedBytes converted to base64: ${base64}"$) + Return base64 +End Sub + +'Descomprime y regresa un texto en base64 +Sub decompress(base64 As String) As String 'ignore + Dim decompressedbytes() As Byte = su.DecodeBase64(base64) +' Log($"decompressedbytesLength: ${decompressedbytes.Length}"$) + Dim bc As ByteConverter + Dim uncompressed As String = bc.StringFromBytes(decompressedbytes,"UTF8") + Log($"Descomprimido: ${uncompressed.Length}"$) +' Log($"Decompressed String = ${uncompressed}"$) + Return uncompressed +End Sub + +'Convierte una fecha al formato yyMMddHHmmss +Sub fechaKMT(fecha As String) As String 'ignore +' Log(fecha) + Dim OrigFormat As String = DateTime.DateFormat 'save orig date format + DateTime.DateFormat="yyMMddHHmmss" + Dim nuevaFecha As String=DateTime.Date(fecha) + DateTime.DateFormat=OrigFormat 'return to orig date format +' Log(nuevaFecha) + Return nuevaFecha +End Sub + +'Trae un string con hora, minutos y segundos - HHmmss +Sub hmsKMT As String 'ignore +' Log(fecha) + Dim OrigFormat As String = DateTime.DateFormat 'save orig date format + DateTime.DateFormat="HHmmss" + Private nuevaHora As String=DateTime.Date(DateTime.Now) + DateTime.DateFormat=OrigFormat 'return to orig date format +' Log(nuevaFecha) + Return nuevaHora +End Sub + +'Genera una notificacion con importancia alta +Sub notiHigh(title As String, body As String, activity As Object) 'ignore + Private notif As Notification + notif.Initialize2(notif.IMPORTANCE_HIGH) + notif.Icon = "icon" + notif.Vibrate = False + notif.Sound = False + notif.AutoCancel = True + Log("notiHigh: "&title) + notif.SetInfo(title, body, activity) +' Log("notiHigh SetInfo") + notif.Notify(777) +End Sub + +'Regresa el objeto de una notificacion con importancia baja +Sub notiLowReturn(title As String, Body As String, id As Int) As Notification 'ignore + Private notification As Notification + notification.Initialize2(notification.IMPORTANCE_LOW) + Log("notiLowReturn: "&title) + notification.Icon = "icon" + notification.Sound = False + notification.Vibrate = False + notification.SetInfo(title, Body, Main) + notification.Notify(id) +' Log("notiLowReturn SetInfo") + Return notification +End Sub + +'Escribimos las coordenadas y fecha a un archivo de texto +Sub guardaInfoEnArchivo(coords As String) 'ignore + ' Cambiamos el formato de la hora + Dim OrigFormat As String=DateTime.DateFormat 'save orig date format + DateTime.DateFormat="MMM-dd HH:mm:ss" + Dim lastUpdate As String=DateTime.Date(DateTime.Now) + DateTime.DateFormat=OrigFormat 'return to orig date format + + Dim ubic As String = coords&","&lastUpdate + Dim out As OutputStream = File.OpenOutput(File.DirInternal, "gps.txt", True) + Dim s As String = ubic & CRLF + Dim t() As Byte = s.GetBytes("UTF-8") + out.WriteBytes(t, 0, t.Length) + out.Close +End Sub + +'Escribimos las coordenadas (latitud, longitud, fecha) y fecha a una BD +Sub guardaInfoEnBD(coords As String) 'ignore + If B4XPages.MainPage.logger Then Log("Guardamos ubicacion en BD - "&coords) + Try + Dim latlon() As String = Regex.Split("\|", coords) + If latlon.Length < 2 Then latlon = Regex.Split(",", coords) 'Si son menos de 2, entonces estan separadas por comas y no por "|" +' If Main.Logger Then Log("LatLon="&latlon) + If Not(kmt.IsInitialized) Then revisaBD + kmt.ExecNonQuery2("INSERT INTO RUTA_GPS(fecha, lat, lon) VALUES (?,?,?)", Array As Object (latlon(2),latlon(0),latlon(1))) + Catch + Log(LastException) + End Try +End Sub + +'Regresa la ruta solicitada comprimida y en base64 +Sub dameRuta(inicioRuta As String, origenRuta As String) As String 'ignore + 'Requiere la libreria "SQL" + Dim fechaInicio As String + Try 'incioRuta es numero + inicioRuta = inicioRuta * 1 +' Log("fechaInicio numerica="&fechaInicio) + fechaInicio = fechaKMT(DateTime.Now - (DateTime.TicksPerHour * inicioRuta)) + Catch 'inicioRuta es string + fechaInicio = fechaInicioHoy +' Log("fechaInicio string="&fechaInicio) + End Try + If B4XPages.MainPage.logger Then Log("fechaInicio: "&fechaInicio&" | rutaHrsAtras="&rutaHrsAtras) 'fechaKMT(DateTime.Now) + Dim c As Cursor + If kmt.IsInitialized = False Then kmt.Initialize(Starter.ruta, "kmt.db", True) + If B4XPages.MainPage.logger Then Log("select FECHA, LAT, LON from "& origenRuta &" where FECHA > " & fechaInicio & " order by FECHA desc limit " & rutaMaxPoints) + c = kmt.ExecQuery("select FECHA, LAT, LON from "& origenRuta &" where FECHA > " & fechaInicio & " order by FECHA desc limit " & rutaMaxPoints) + c.Position = 0 + Dim ruta2 As String = "" + If c.RowCount>0 Then + For i=0 To c.RowCount -1 + c.Position=i + ruta2=ruta2&CRLF&c.GetString("LAT")&","&c.GetString("LON")&","&c.GetString("FECHA") + B4XPages.MainPage.fechaRuta = c.GetString("FECHA") + Next + End If + c.Close + Return compress(ruta2) +End Sub + +'Limpiamos la tabla RUTA_GPS de la BD +Sub deleteGPS_DB 'ignore + kmt.ExecNonQuery("delete from RUTA_GPS") + kmt.ExecNonQuery("vacuum;") +End Sub + +'Limpiamos la tabla errorLog de la BD +Sub deleteErrorLog_DB 'ignore + If Not(errorLog.IsInitialized) Then revisaBD + errorLog.ExecNonQuery("delete from errores") + errorLog.ExecNonQuery("vacuum;") + ToastMessageShow("Borrada", False) +End Sub + +'Borramos el archio "gps.txt" +Sub borramosArchivoGPS 'ignore + Dim out As OutputStream = File.OpenOutput(File.DirInternal, "gps.txt", False) + Dim s As String = "" + Dim t() As Byte = s.GetBytes("UTF-8") + out.WriteBytes(t, 0, t.Length) + out.Close +End Sub + +'Revisa que exista la BD y si es necesario crea algunas tablas dentro de ella +Sub revisaBD 'ignore + If Not(File.Exists(Starter.ruta, "kmt.db")) Then File.Copy(File.DirAssets, "kmt.db", Starter.ruta, "kmt.db") + If Not(kmt.IsInitialized) Then kmt.Initialize(Starter.ruta, "kmt.db", True) + kmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS RUTA_GPS(FECHA INTEGER, LAT TEXT, LON TEXT)") +' kmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS UUC(fecha INTEGER, lat TEXT, lon TEXT)") 'LastKnownLocation + kmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS bitacora(fecha INTEGER, texto TEXT)") 'Bitacora +' kmt.ExecNonQuery("DROP TABLE IF EXISTS CAT_FOLIOS") + kmt.ExecNonQuery("DROP TABLE IF EXISTS CAT_FOLIOS") + kmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS REPARTO_GEO (CLIENTE TEXT, USUARIO TEXT, FECHA_PUNTEO TEXT, LATITUD TEXT, LONGITUD TEXT, ALMACEN TEXT, RUTA_REPARTO TEXT, RUTA_PREV TEXT, FECHA_PREVENTA TEXT, MOTIVO TEXT, COMENTARIO TEXT, TIPO TEXT, ENVIO TEXT)") + 'Tabla para la bitacora de errores + If Not(errorLog.IsInitialized) Then errorLog.Initialize(Starter.ruta, "errorLog.db", True) + errorLog.ExecNonQuery("CREATE TABLE IF NOT EXISTS errores(fecha INTEGER, error TEXT)") + + Try 'Intentamos usar "pragma_table_info" para revisar si existe la columna "reprogramar" en la tabla + Dim c As Cursor=kmt.ExecQuery("SELECT COUNT(*) AS fCol FROM pragma_table_info('noventa') WHERE name='NV_REPROGRAMAR'") + c.Position = 0 + If c.GetString("fCol") = 0 Then 'Si no esta la columna REPROGRAMAR la agregamos + kmt.ExecNonQuery("ALTER TABLE noventa ADD COLUMN NV_REPROGRAMAR TEXT") + End If + Catch 'Si no funciona "pragma_table_info" lo hacemos con try/catch + Try + kmt.ExecNonQuery("ALTER TABLE noventa ADD COLUMN NV_REPROGRAMAR TEXT") + Catch + Log(LastException) + End Try + End Try +End Sub + +'Obtiene el ssid al que esta conectado el telefono +Sub getSSID 'ignore +' 'Requiere la libreria "MLWifi400" +' If wifi.isWifiConnected Then +' ssid = wifi.WifiSSID +' End If +End Sub + +'Convierte un texto en formato JSON a un objeto "Map" +Sub JSON2Map(theJson As String) As Map 'ignore + 'Requiere la libreria "JSON" + Try + Private json As JSONParser + json.Initialize(theJson) + Return json.NextObject + Catch + Log(LastException) + log2DB("JSON2Map: "&LastException) + Private m As Map = CreateMap("title":"Error generating JSON", "t":"Error", "Message":LastException, "text" : LastException) + Return m + End Try +End Sub + +'Convierte un mapa a formato JSON +Sub map2JSON(m As Map) As String 'ignore + 'Requiere la libreria "JSON" + 'Convierte un objecto "Map" a JSON + Dim jg As JSONGenerator + jg.Initialize(m) + Dim t As String = jg.ToString + Return t +End Sub + +'Regresa el usuario de la tabla USUARIOA +Sub traeUsuarioDeBD As String 'ignore + Private c As Cursor + Private u As String = "SinUsuario" + If Not(kmt.IsInitialized) Then revisaBD + c=kmt.ExecQuery("select USUARIO from usuarioa") + c.Position=0 + If c.RowCount > 0 Then u = c.GetString("USUARIO") + c.Close + Return u +End Sub + +'Mandamos "coords" en un mensaje a "Sprvsr" +Sub mandamosLoc(coords As String) 'ignore +'' Log("Iniciamos mandamosLoc "&coords) +'' Log("locRequest="&Tracker.locRequest) +' guardaInfoEnBD(coords)'Escribimos coordenadas y fecha a una bd +' Dim t As String +' If Tracker.locRequest="Activa" Then +' If PushService.au = 1 Then +' t = "au" ' es una actualizacion +' Else +' t = "u" ' es una peticion +' End If +' Dim params As Map = CreateMap("topic":"Sprvsr", "coords":coords, "t":t, "b":PushService.battery) +' CallSub2(PushService, "mandaMensaje",params) +' Tracker.locRequest="Enviada" +' CallSubDelayed(Tracker,"CreateLocationRequest") +' End If +End Sub + +'Regresa la fecha y hora de hoy a las 00:00 en el formato "yyMMddHHMMSS" +Sub fechaInicioHoy As String 'ignore + Dim OrigFormat As String = DateTime.DateFormat 'save orig date format + DateTime.DateFormat="yyMMdd" + Private h As String = DateTime.Date(DateTime.Now)&"000000" + DateTime.DateFormat=OrigFormat 'return to orig date format + Log("Hoy="&h) + Return h +End Sub + +'Guardamos "texto" a la bitacora +Sub log2DB(texto As String) 'ignore + LogColor(fechaKMT(DateTime.Now)&" - log2BD: '"&texto&"'", Colors.Magenta) + If kmt.IsInitialized Then kmt.ExecNonQuery2("INSERT INTO bitacora(fecha, texto) VALUES (?,?)", Array As Object (fechaKMT(DateTime.now), texto)) +End Sub + +'Regresa verdadero si ya pasaron XX minutos de la fecha dada +Sub masDeXXMins(hora As Int, mins As Int) As Boolean 'ignore + If (hora + mins * DateTime.TicksPerMinute) < DateTime.Now Then + Return True + Else + Return False + End If +End Sub + +'Regresa verdadero si ya pasaron XX minutos de la fechaKMT dada +Sub masDeXXMinsKMT(hora As String, mins As Int) As Boolean 'ignore + Try + ' LogColor($"Hora=${fechaKMT(fechaKMT2Ticks(hora) + mins * DateTime.TicksPerMinute)}, Mins=${mins}, Actual=${fechaKMT(DateTime.Now)}"$,Colors.red) + If fechaKMT2Ticks(hora) + mins * DateTime.TicksPerMinute < DateTime.Now Then +' Log("+++ +++ "&fechaKMT(fechaKMT2Ticks(hora) + mins * DateTime.TicksPerMinute) & " < " & fechaKMT(DateTime.Now)) + Return True + Else + ' Log("+++ +++ "&fechaKMT(fechaKMT2Ticks(hora) + mins * DateTime.TicksPerMinute) & " > " & fechaKMT(DateTime.Now)) + Return False + End If + Catch + Log(LastException) + End Try +End Sub + +'Limpiamos la tabla "bitacora" de la BD +Sub borraLogDB 'ignore + LogColor("Borramos BD de log", Colors.Magenta) + kmt.ExecNonQuery("delete from bitacora") + kmt.ExecNonQuery("vacuum;") +End Sub + +'Monitoreamos los servicios para ver si estan activos (No pausados), y si no, los reniciamos +Sub Monitor 'ignore +' Private monitorStatus As Boolean = True +' LogColor("Corriendo Subs.Monitor", Colors.RGB(161,150,0)) +' If IsPaused(Tracker) Then +' log2DB("Reiniciando 'Tracker Pausado' desde Subs.Monitor") +' StartService(Tracker) +' monitorStatus = False +' Else +' revisaFLP +' End If +' If IsPaused(PushService) Then +' log2DB("Reiniciando 'PushService Pausado' desde Subs.Monitor") +' StartService(PushService) +' monitorStatus = False +' Else +' revisaPushService +' End If +' If monitorStatus Then LogColor(" +++ +++ Servicios Activos", Colors.Green) +End Sub + +'Compara la UUG (Ultima Ubicacion Guardada) con FLP.LastKnowLocation y si +'cumple con los requisitos de distancia y precision la guardamos en la BD. +Sub revisaUUG 'ignore + revisaFLP + If Tracker.FLP.GetLastKnownLocation.IsInitialized Then + Dim daa As Int = Tracker.UUGCoords.DistanceTo(Tracker.FLP.GetLastKnownLocation) 'Distancia de la UUG a la actual de Tracker.FLP.GetLastKnownLocation + If B4XPages.MainPage.Logger Then LogColor($"**** UUC "${fechaKMT(Tracker.FLP.GetLastKnownLocation.Time)}|$0.2{Tracker.FLP.GetLastKnownLocation.Accuracy}|$0.8{Tracker.FLP.GetLastKnownLocation.Latitude}|$0.8{Tracker.FLP.GetLastKnownLocation.Longitude}|$0.2{Tracker.FLP.GetLastKnownLocation.Speed}|"$, Colors.RGB(255,112,35)) + If daa > 40 And Tracker.FLP.GetLastKnownLocation.Accuracy < 35 Then 'Si la distancia de la ubicacion anterior es mayor de XX y la precision es menor de XX, la guardamos ... + kmt.ExecNonQuery2("INSERT INTO RUTA_GPS(fecha, lat, lon) VALUES (?,?,?)", Array As Object (fechaKMT(Tracker.FLP.GetLastKnownLocation.Time),Tracker.FLP.GetLastKnownLocation.Latitude,Tracker.FLP.GetLastKnownLocation.Longitude)) + If B4XPages.MainPage.Logger Then Log("++++ Distancia a anterior="&daa&"|"&"Precision="&Tracker.FLP.GetLastKnownLocation.Accuracy) + End If + Tracker.UUGCoords = Tracker.FLP.GetLastKnownLocation + End If +End Sub + +'Revisamos que el FLP (FusedLocationProvider) este inicializado y activo +Sub revisaFLP 'ignore + LogColor($"**** **** Revisamos FLP - ${fechaKMT(DateTime.Now)}**** ****"$, Colors.RGB(78,0,227)) + Private todoBienFLP As Boolean = True + If Not(Tracker.FLP.IsInitialized) Then + log2DB("revisaFLP: No esta inicializado ... 'Reinicializando FLP'") + Tracker.FLP.Initialize("flp") + todoBienFLP = False + End If + If Tracker.FLP.IsInitialized Then + If Not(Tracker.FLP.IsConnected) Then + log2DB("revisaFLP: No esta conectado ... 'Reconectando FLP'") +' Tracker.FLP.Connect + CallSubDelayed(Tracker,"StartFLP") + todoBienFLP = False + End If + If Tracker.FLP.IsConnected And _ + Tracker.FLP.GetLastKnownLocation.IsInitialized And _ + Tracker.FLP.GetLastKnownLocation.DistanceTo(Tracker.UUGCoords) > 500 Then + log2DB("revisaFLP: 'No se esta actualizando, lo reiniciamos ...'") + StartService(Tracker) + todoBienFLP = False + End If + End If + If todoBienFLP Then LogColor(" +++ +++ Sin errores en FLP", Colors.Green) + ' revisar hora de lastKnownlocation y si es mayor de 10 minutos llamar StartFLP +End Sub + +'Revisamos que el servicio "PushService" este inicializado y activo +Sub revisaPushService 'ignore +' Private todoBienPS As Boolean = True +'' LogColor("**** **** Revisamos PushService **** ****", Colors.RGB(78,0,227)) +' Try +' If Not(PushService.wsh.IsInitialized) Then 'Si no esta inicializado ... +' log2DB("revisaPushService: No esta inicializado ... 'Reinicializando PushService'") +' CallSubDelayed(PushService, "Connect") +' todoBienPS = False +' End If +' Catch +' Log(LastException) +' insertaEnErrores("Subs.revisaPushService: Reiniciando - "&LastException) +' End Try +' Try +' If Not(PushService.wsh.ws.Connected) Then 'Si no esta conectado ... +' log2DB("revisaPushService: No esta conectado ... 'Reconectando PushService'") +' CallSubDelayed(PushService, "Connect") +' todoBienPS = False +' End If +' Catch +' Log(LastException) +' insertaEnErrores("Subs.revisaPushService: Reconectando - "&LastException) +' End Try +' Try +' If masDeXXMinsKMT(Starter.pushServiceActividad, 5) Then 'Si mas de xx minutos de la ultima actividad entonces ... +' PushService.wsh.Close +' CallSubDelayed(PushService, "Connect") +' ' StartService(PushService) +' ' If Main.Logger Then Log("Ultima act: "&Starter.pushServiceActividad) +' log2DB("revisaPushService: 'Reconectamos 'PushService' por inactividad") +' Starter.pushServiceActividad = fechaKMT(DateTime.Now) +' todoBienPS = False +' End If +' Catch +' Log(LastException) +' insertaEnErrores("Subs.revisaPushService: Reconectando por inactividad - "&LastException) +' End Try +' If todoBienPS Then LogColor(" +++ +++ Sin errores en PushService", Colors.Green) +End Sub + +'Borramos renglones extra de la tabla de errores +Sub borraArribaDe100Errores 'ignore + If Not(errorLog.IsInitialized) Then revisaBD + LogColor("Recortamos la tabla de Errores, limite de 100", Colors.Magenta) + errorLog.ExecNonQuery("DELETE FROM errores WHERE fecha NOT in (SELECT fecha FROM errores ORDER BY fecha desc LIMIT 99 )") + errorLog.ExecNonQuery("vacuum;") +' Log("Borramos mas de 100 de errorLog") +End Sub + +'Borramos renglones extra de la tabla de bitacora +Sub borraArribaDe600RenglonesBitacora 'ignore + revisaBD + LogColor("Recortamos la tabla de la Bitacora, limite de 600", Colors.Magenta) + Private c As Cursor + c = kmt.ExecQuery("select fecha from bitacora") + c.Position = 0 + If c.RowCount > 650 Then + kmt.ExecNonQuery("DELETE FROM bitacora WHERE fecha NOT in (SELECT fecha FROM bitacora ORDER BY fecha desc LIMIT 599 )") + kmt.ExecNonQuery("vacuum;") +' Log("Borramos mas de 600 de bitacora") + End If + c.Close +End Sub + +'Inserta 50 renglones de prueba a la tabla "errores" +Sub insertaRenglonesPruebaEnErrorLog 'ignore + If Not(errorLog.IsInitialized) Then revisaBD + Log("insertamos 50 renglones a errorLog") + For x = 1 To 50 + errorLog.ExecNonQuery2("INSERT INTO errores(fecha, error) VALUES (?,?)", Array As Object (fechaKMT(DateTime.now), "abc")) + Log(x) + Next +End Sub + +'Regresa la tabla "errores" en una lista de mapas convertida a JSON +Sub dameErroresJSON(SQL As SQL, maxErrores As Int, comprimido As Boolean) As String 'ignore + Log("dameErroresJSON") + Private j As JSONGenerator + Private lim As String + Private cur As ResultSet + Private l As List + Private i As Int = 0 + l.Initialize + Dim m, m2 As Map + m2.Initialize + If maxErrores = 0 Then lim = "" Else lim = "limit "&maxErrores + cur = SQL.ExecQuery("select * from errores order by fecha desc "&lim) + Do While cur.NextRow + m.Initialize + m.Put("fecha", cur.GetString("fecha")) + m.Put("error", cur.GetString("error")) + m2.Put(i,m) + i = i + 1 + Loop + cur.Close + j.Initialize(m2) + Log(j.ToString) + If comprimido Then + Return compress(j.ToString) + Else + Return j.ToString + End If +End Sub + +'Convierte una fecha en formato YYMMDDHHMMSS a Ticks +Sub fechaKMT2Ticks(fKMT As String) As Long 'ignore + Try + If fKMT.Length = 12 Then + Private parteFecha As String = fKMT.SubString2(0,6) + Private parteHora As String = fKMT.SubString(6) + Private OrigFormat As String = DateTime.DateFormat 'save original date format + DateTime.DateFormat="yyMMdd" + DateTime.TimeFormat="HHmmss" + Private ticks As Long = DateTime.DateTimeParse(parteFecha,parteHora) +' Log(" +++ +++ pFecha:"&parteFecha&" | pHora:"&parteHora) + DateTime.DateFormat=OrigFormat 'return to original date format + Return ticks + Else + Log("Formato de fecha incorrecto, debe de ser 'YYMMDDHHMMSS', no '"&fKMT&"' largo="&fKMT.Length) + Return 0 + End If + Catch + Log(LastException) + LogColor($"Fecha dada: ${fKMT}, Parte Fecha: ${parteFecha}, Parte Hora: ${parteHora}"$, Colors.Red) + Return 0 + End Try +End Sub + +Sub InstallAPK(dir As String, apk As String) 'ignore + If File.Exists(dir, apk) Then + Dim i As Intent + i.Initialize(i.ACTION_VIEW, "file://" & File.Combine(dir, apk)) + i.SetType("application/vnd.android.package-archive") + StartActivity(i) + End If +End Sub + +'Copia la base de datos del almacenamiento interno al externo en el directorio kmts +Sub copiaDB(result As Boolean) 'ignore + If result Then + Dim p As String + If File.ExternalWritable Then + p = File.DirInternal +' Log("Externo") + Else + p = File.DirInternal +' Log("Interno") + End If + Dim theDir As String + Try + File.MakeDir(File.DirInternal,"kmts") + theDir = "/kmts" + Catch + theDir = "" + End Try + Try + File.Copy(File.DirInternal,"kmt.db",File.DirInternal&theDir,"guna_rep_kmt.db") + ToastMessageShow("BD copiada!", False) + Catch + ToastMessageShow("No se pudo hacer la copia: "&LastException, True) + End Try + Log("rootExternal="&p) + Log("File.DirInternal="&File.DirInternal) + Log("File.DirInternal="&File.DirInternal) + Else + ToastMessageShow("Sin permisos", False) + End If +End Sub + +'Hace visible el panel con los parametros "Top" y "Left" dados +Sub panelVisible(panel As Panel, top As Int, left As Int) 'ignore + panel.BringToFront + panel.Visible = True + panel.Top = top + panel.Left = left +End Sub + +Sub insertaEnErrores(error As String) 'ignore + If Not(errorLog.IsInitialized) Then revisaBD + errorLog.ExecNonQuery2("INSERT INTO errores(fecha, error) VALUES (?,?)", Array As Object (fechaKMT(DateTime.now), error)) +End Sub + +'Saca el usuario de la tabla USUARIOA +Sub dameUsuarioDeDB As String 'ignore + Private c As Cursor + Private u As String = "SinUsuario" + If Not(kmt.IsInitialized) Then revisaBD + c=kmt.ExecQuery("select USUARIO from usuarioa") + c.Position=0 + If c.RowCount > 0 Then u = c.GetString("USUARIO") + c.Close + Return u +End Sub + +Sub SetDivider(lv As ListView, Color As Int, Height As Int) 'ignore + Dim r As Reflector + r.Target = lv + Dim CD As ColorDrawable + CD.Initialize(Color, 0) + r.RunMethod4("setDivider", Array As Object(CD), Array As String("android.graphics.drawable.Drawable")) + r.RunMethod2("setDividerHeight", Height, "java.lang.int") +End Sub + +'Centra un listview dentro de un elemento superior +Sub centraListView(elemento As ListView, anchoElementoSuperior As Int) 'ignore + elemento.Left = Round(anchoElementoSuperior/2)-(elemento.Width/2) +End Sub + +'Centra un panel dentro de un elemento superior +Sub centraPanel(elemento As Panel, anchoElementoSuperior As Int) 'ignore + elemento.Left = Round(anchoElementoSuperior/2)-(elemento.Width/2) +End Sub + +'Centra una etiqueta dentro de un elemento superior +Sub centraEtiqueta(elemento As Label, anchoElementoSuperior As Int) 'ignore + elemento.Left = Round(anchoElementoSuperior/2)-(elemento.Width/2) +End Sub + +'Centra un boton dentro de un elemento superior +Sub centraBoton(elemento As Button, anchoElementoSuperior As Int) 'ignore + elemento.Left = Round(anchoElementoSuperior/2)-(elemento.Width/2) +End Sub + +'Trae el nombre del producto con ID dado, desde HIST_VENTAS. +Sub traeNombre(id As String) As String + Private nombre As String + Private idc As Cursor = kmt.ExecQuery($"select HVD_PRONOMBRE from HIST_VENTAS where HVD_PROID = '${id}'"$) + idc.Position=0 + If idc.RowCount > 0 Then nombre = idc.GetString("HVD_PRONOMBRE") + idc.Close +' Log("NOMBRE=" & nombre) + Return nombre +End Sub + +'Trae el precio del ID dado, desde CAT_GUNAPROD o HIST_VENTAS, dependiendo de si es promoción o no. +Sub traePrecio(id As String, quePromo As String) As String + Private pu As String = "0" +' Log(id & ", "& quePromo) + If quePromo = traeAlmacen Then + Private idc As Cursor = kmt.ExecQuery($"select CAT_GP_PRECIO from CAT_GUNAPROD where CAT_GP_ID = '${id}'"$) + If idc.RowCount > 0 Then + idc.Position=0 + If idc.RowCount > 0 And IsNumber(idc.GetString("CAT_GP_PRECIO")) Then pu = idc.GetString("CAT_GP_PRECIO") +' Log("id=" & id & "|p=" & x & "|" & idc.GetString("CAT_GP_PRECIO")) + End If + idc.Close + Else 'Si es una promo, entonces sacamos el costo total del producto en la promo de HIST_VENTAS2 y lo dividimos entre la cantidad. + Private pc As Cursor = Starter.skmt.ExecQuery($"select HVD_CANT, HVD_COSTO_TOT from HIST_VENTAS2 where HVD_CLIENTE in (select cuenta from cuentaa) and HVD_PROID = '${id}' and HVD_CODPROMO = '${quePromo}'"$) + If pc.RowCount > 0 Then + pc.Position = 0 +' Log(pc.GetString("HVD_COSTO_TOT")&", "& pc.GetString("HVD_CANT")) + If pc.GetString("HVD_COSTO_TOT")<> Null And pc.GetString("HVD_CANT") <> Null Then + pu = pc.GetString("HVD_COSTO_TOT") / pc.GetString("HVD_CANT") + End If + End If +' Log("x cosa") + pc.Close + End If +' Log(pu) + Return pu + +End Sub + +'Trae el precio del ID dado, desde CAT_GUNAPROD o HIST_VENTAS, dependiendo de si es promoción o no. +Sub traePrecio2(id As String, quePromo As String, consecutivo As String) As String + Private pu As String = "0" +' Log(id & ", "& quePromo) + If quePromo = traeAlmacen Then + Private idc As Cursor = kmt.ExecQuery($"select CAT_GP_PRECIO from CAT_GUNAPROD where CAT_GP_ID = '${id}'"$) + If idc.RowCount > 0 Then + idc.Position=0 + If idc.RowCount > 0 And IsNumber(idc.GetString("CAT_GP_PRECIO")) Then pu = idc.GetString("CAT_GP_PRECIO") +' Log("id=" & id & "|p=" & x & "|" & idc.GetString("CAT_GP_PRECIO")) + End If + idc.Close + Else 'Si es una promo, entonces sacamos el costo total del producto en la promo de HIST_VENTAS2 y lo dividimos entre la cantidad. + Private pc As Cursor = Starter.skmt.ExecQuery($"select HVD_CANT, HVD_COSTO_TOT from HIST_VENTAS where HVD_CLIENTE in (select cuenta from cuentaa) and HVD_PROID = '${id}' and HVD_CODPROMO = '${quePromo}' AND CONSECUTIVO = '${consecutivo}'"$) + If pc.RowCount > 0 Then + pc.Position = 0 +' Log(pc.GetString("HVD_COSTO_TOT")&", "& pc.GetString("HVD_CANT")) + If pc.GetString("HVD_COSTO_TOT")<> Null And pc.GetString("HVD_CANT") <> Null Then + pu = pc.GetString("HVD_COSTO_TOT") / pc.GetString("HVD_CANT") + End If + End If +' Log("x cosa") + pc.Close + End If +' Log(pu) + Return pu + +End Sub + +'Trae el precio del ID dado, desde CAT_GUNAPROD o HIST_VENTAS, dependiendo de si es promoción o no Y CAJAS. +Sub traePrecioC(id As String) As String + Private pu As String = "0" + Private idc As Cursor = kmt.ExecQuery($"select PRECIOCONVER from CAT_GUNAPROD where CAT_GP_ID = '${id}'"$) + If idc.RowCount > 0 Then + idc.Position=0 + If idc.RowCount > 0 And IsNumber(idc.GetString("PRECIOCONVER")) Then pu = idc.GetString("PRECIOCONVER") +' Log("id=" & id & "|p=" & x & "|" & idc.GetString("CAT_GP_PRECIO")) + End If + idc.Close + Return pu +End Sub + +'Trae el precio del ID dado, desde CAT_GUNAPROD o HIST_VENTAS, dependiendo de si es promoción o no Y CAJAS. +Sub traeConversion(id As String) As String + Private pu As String = "0" + + Private idc As Cursor = kmt.ExecQuery($"select CONVERSION from CAT_GUNAPROD where CAT_GP_ID = '${id}'"$) + If idc.RowCount > 0 Then + idc.Position=0 + If idc.RowCount > 0 And IsNumber(idc.GetString("CONVERSION")) Then pu = idc.GetString("CONVERSION") +' Log("id=" & id & "|p=" & x & "|" & idc.GetString("CAT_GP_PRECIO")) + End If + idc.Close + + Return pu +End Sub + + +'Trae el cliente desde la BD. +Sub traeCliente As String 'ignore + Private cli As Cursor = Starter.skmt.ExecQuery("Select CUENTA from cuentaa") + cli.Position = 0 + Private cl As String = cli.GetString("CUENTA") + cli.Close + Log("Algo paso..."& cl) + Return cl +End Sub + +Sub traeFechaReparto As String + Private fe As Cursor = Starter.skmt.ExecQuery("select HVD_FECHA from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa)") + Private f As String = "-" + If fe.RowCount > 0 Then + fe.Position = 0 + f = fe.GetString("HVD_FECHA") + End If + fe.Close + Return f +End Sub + +'Regresa la ruta actual de la base de datos. +Sub traeRuta (cliente As String) As String 'ignore + Private c As Cursor + Private r As String + c=Starter.skmt.ExecQuery($"select CAT_CL_RUTA from kmt_info where CAT_CL_CODIGO = '${cliente}'"$) + r = "0" + If c.RowCount > 0 Then + c.Position=0 + r = c.GetString("CAT_CL_RUTA") + End If + c.Close + Return r +End Sub + +'Trae de la tabla Reparto,la cantidad rechazada de un producto dado de un cliente dado. +Sub traeCantidadRechazada(cliente As String, prodId As String) As Int + Private cant As Int = 0 + Private cr As Cursor = Starter.skmt.ExecQuery($"Select rep_cliente, rep_prodid, REP_CANT, REP_RECHAZO from reparto where rep_cliente = '${cliente}' and rep_prodid = '${prodId}' and REP_RECHAZO = 1"$) + If cr.RowCount > 0 Then + cr.Position = 0 + cant = cr.GetString("REP_CANT") + End If + Log($"${cliente}, ${prodId}, rowcont:${cr.RowCount}, cant: ${cant}"$) + Return cant +End Sub + +'Trae de la tabla Reparto,la cantidad vendida de un producto dado de un cliente dado. +Sub traeCantidadVendida(cliente As String, prodId As String) As Int + Private cant As Int = 0 + Private cr As Cursor = Starter.skmt.ExecQuery($"Select rep_cliente, rep_prodid, REP_CANT, REP_RECHAZO from reparto where rep_cli_orig = '${cliente}' and rep_prodid = '${prodId}' and REP_RECHAZO = 0 and REP_CANT > 0"$) +' Log($"${cliente}, ${prodId}, rowcont:${cr.RowCount}"$) + If cr.RowCount > 0 Then + cr.Position = 0 + cant = cr.GetString("REP_CANT") + End If + Return cant +End Sub + +'Trae la cantidad desde la tabla hist_ventas2, del producto dado, del cliente dado. +Sub traeMaxCantidad(cliente As String, prodId As String) As Int + Private cant As Int = 0 + Private cr As Cursor = Starter.skmt.ExecQuery($"Select hvd_cant from hist_ventas2 where hvd_cliente = '${cliente}' and hvd_proid = '${prodId}'"$) +' Log($"${cliente}, ${prodId}, rowcont:${cr.RowCount}"$) + If cr.RowCount > 0 Then + cr.Position = 0 + cant = cr.GetString("HVD_CANT") + End If + Return cant +End Sub + +'Ponemos venta de producto en la tabla de Reparto. +Sub prodVenta(clienteOriginal As String, prodId As String) +' Log("RECHAZO VENTA") + Private precio As String = traePrecio(prodId, traeAlmacen) + Starter.skmt.ExecNonQuery($"update reparto set REP_CANT = REP_CANT - 1 where REP_CLIENTE = '${clienteOriginal}' and REP_CLI_ORIG = '${clienteOriginal}' and REP_RECHAZO = 1 and REP_PRODID = '${prodId}'"$) + Starter.skmt.ExecNonQuery($"update reparto set REP_CANT = REP_CANT + 1 where REP_CLIENTE in (Select CUENTA from cuentaa) and REP_CLI_ORIG = '${clienteOriginal}' and REP_RECHAZO = 0 and REP_PRODID = '${prodId}'"$) + Log($"update reparto set REP_CANT = REP_CANT - 1 where REP_CLIENTE = '${clienteOriginal}' and REP_CLI_ORIG = '${clienteOriginal}' and REP_RECHAZO = 1 and REP_PRODID = '${prodId}'"$) + Log($"update reparto set REP_CANT = REP_CANT + 1 where REP_CLIENTE in (Select CUENTA from cuentaa) and REP_CLI_ORIG = '${clienteOriginal}' and REP_RECHAZO = 0 and REP_PRODID = '${prodId}'"$) + Starter.skmt.ExecNonQuery($"update reparto set REP_COSTO_TOT = REP_CANT * ${precio}, REP_PRECIO = '${precio}' where REP_CLIENTE in (Select CUENTA from cuentaa) and REP_CLI_ORIG = '${clienteOriginal}' and REP_RECHAZO = 0 and REP_PRODID = '${prodId}'"$) + +' Private pu As String = 0 +' Private cant As Int = 0 +' Private pc As Cursor = Starter.skmt.ExecQuery($"select (HVD_COSTO_TOT / HVD_CANT) as PU, HVD_CANT from HIST_VENTAS2 where HVD_CLIENTE = '${clienteOriginal}' and HVD_PROID = '${prodId}'"$) +' Log($"PU ROWCOUNT = ${pc.RowCount}"$) +' If pc.RowCount > 0 Then +' pc.Position = 0 +' pu = pc.GetString("PU") +' End If +' pc.Close +' Private pc As Cursor = Starter.skmt.ExecQuery($"select HVD_CANT from HIST_VENTAS where HVD_CLIENTE = '${clienteOriginal}' and HVD_PROID = '${prodId}'"$) +' If pc.RowCount > 0 Then +' pc.Position = 0 +' cant = pc.GetString("HVD_CANT") +' End If +' pc.Close + '' Starter.skmt.ExecNonQuery($"update hist_ventas set HVD_CANT = '${cant - 1}' where HVD_CLIENTE in (Select CUENTA from cuentaa) and HVD_PROID = '${prodId}'"$) +' Starter.skmt.ExecNonQuery($"update hist_ventas set HVD_COSTO_TOT = '${cant * pu}' where HVD_CLIENTE in (Select CUENTA from cuentaa) and HVD_PROID = '${prodId}'"$) + '' Log($"update hist_ventas set HVD_CANT = '${cant - 1}' where HVD_CLIENTE in (Select CUENTA from cuentaa) and HVD_PROID = '${prodId}'"$) +' Log($"update hist_ventas set HVD_COSTO_TOT = '${cant * pu}' where HVD_CLIENTE in (Select CUENTA from cuentaa) and HVD_PROID = '${prodId}'"$) +End Sub + +'Ponemos rechazo de producto en la tabla de Reparto. +Sub prodRechazo(clienteOriginal As String, prodId As String) + Log("RECHAZO DEVOLUCION") + Private rr As Cursor = Starter.skmt.ExecQuery($"select count(REP_CLIENTE) as hayRechazo from REPARTO where rep_prodid = '${prodId}' and REP_CLIENTE in (Select CUENTA from cuentaa)"$) + rr.Position = 0 + If rr.GetString("hayRechazo") = 0 Then + Log("INSERTAMOS EN REPARTO") +' Log($"select * from hist_ventas where hvd_cliente in (select cuenta from cuentaa) and hvd_proid = '${prodId}'"$) + Private chv As Cursor = Starter.skmt.ExecQuery($"select * from hist_ventas where hvd_cliente in (select cuenta from cuentaa) and hvd_proid = '${prodId}'"$) +' Log(chv.RowCount) + If chv.RowCount > 0 Then + chv.Position = 0 +' Log($"CANT=${chv.GetString("HVD_CANT")}"$) + Private precio As String = traePrecio(prodId, traeAlmacen) + Starter.skmt.ExecNonQuery2("insert into reparto(REP_CLIENTE, REP_PRONOMBRE, REP_CANT, REP_COSTO_TOT, REP_FECHA, REP_RECHAZO, REP_PRODID, REP_PRECIO, REP_CLI_ORIG) VALUES (?,?,?,?,?,1,?,?,?) ", Array As String(traeCliente, chv.GetString("HVD_PRONOMBRE"), 1, precio, chv.GetString("HVD_FECHA"), prodId, precio, traeCliente)) + Starter.skmt.ExecNonQuery2("insert into reparto(REP_CLIENTE, REP_PRONOMBRE, REP_CANT, REP_COSTO_TOT, REP_FECHA, REP_RECHAZO, REP_PRODID, REP_PRECIO, REP_CLI_ORIG) VALUES (?,?,?,?,?,0,?,?,?) ", Array As String(traeCliente, chv.GetString("HVD_PRONOMBRE"), chv.GetString("HVD_CANT") - 1, (chv.GetString("HVD_CANT") - 1) * precio, chv.GetString("HVD_FECHA"), prodId, precio, traeCliente)) + Starter.skmt.ExecNonQuery($"update HIST_VENTAS set HVD_PARCIAL = 1, HVD_CANT = 0, HVD_COSTO_TOT = '0' where HVD_PROID = '${prodId}' and HVD_CLIENTE in (Select CUENTA from cuentaa)"$) + End If + Else + Log($"ACTUALIZAMOS REPARTO"$) + Private precio As String = traePrecio(prodId, traeAlmacen) + Starter.skmt.ExecNonQuery2("update HIST_VENTAS set HVD_PARCIAL = 1, HVD_CANT = 0, HVD_COSTO_TOT = '0' WHERE HVD_PROID = ? and HVD_CLIENTE in (Select CUENTA from cuentaa)", Array As String(prodId)) + Starter.skmt.ExecNonQuery($"update reparto set REP_CANT = REP_CANT + 1 where REP_CLIENTE = '${clienteOriginal}' and REP_CLI_ORIG = '${clienteOriginal}' and REP_RECHAZO = 1 and REP_PRODID = '${prodId}'"$) + Starter.skmt.ExecNonQuery($"update reparto set REP_CANT = REP_CANT - 1 where REP_CLIENTE in (Select CUENTA from cuentaa) and REP_CLI_ORIG = '${clienteOriginal}' and REP_RECHAZO = 0 and REP_PRODID = '${prodId}'"$) +' Log($"update reparto set REP_CANT = REP_CANT + 1 where REP_CLIENTE = '${clienteOriginal}' and REP_CLI_ORIG = '${clienteOriginal}' and REP_RECHAZO = 1 and REP_PRODID = '${prodId}'"$) +' Log($"update reparto set REP_CANT = REP_CANT - 1 where REP_CLIENTE in (Select CUENTA from cuentaa) and REP_CLI_ORIG = '${clienteOriginal}' and REP_RECHAZO = 0 and REP_PRODID = '${prodId}'"$) + Starter.skmt.ExecNonQuery($"update reparto set REP_COSTO_TOT = REP_CANT * ${precio}, REP_PRECIO = '${precio}' where REP_CLIENTE in (Select CUENTA from cuentaa) and REP_CLI_ORIG = '${clienteOriginal}' and REP_PRODID = '${prodId}'"$) + End If +End Sub + +Sub traemosCantYMonto(clv As CustomListView) As Map +' Log("TRAEMOS CANT Y MONTO") + Private cant As Int = 0 + Private monto As Float = 0 + For i = 0 To clv.GetSize - 1 + Private p0 As B4XView = clv.GetPanel(i) + Private p As B4XView = p0.GetView(0) + Private cant1 As B4XView = p.GetView(2).GetView(3) + Private cant2 As B4XView = p.GetView(3).GetView(3) +' Log("|"&cant1.Text&"|") + If cant1.text <> "" Then + If cant1.Text = "" Then cant1.Text = 0 + Private esteTag As List = Regex.Split("\|", cant1.Tag) +' Log($"CANT:${cant1.text}, esteTag=${esteTag}"$) + If esteTag.Get(2) <> esteTag.Get(3) Then cant = cant + cant1.Text 'Si el ID es diferente de la promo, lo sumamos, si no, no lo sumamos porque es el encabezado de la promo en 0. + monto = monto + (esteTag.Get(0) * cant1.Text) + Else + If cant2.Text = "" Then cant2.Text = 0 + Private esteTag As List = Regex.Split("\|", cant2.Tag) +' Log($"CANT:${cant2.text}, esteTag=${esteTag}"$) + If esteTag.Get(2) <> esteTag.Get(3) Then cant = cant + cant2.Text 'Si el ID es diferente de la promo, lo sumamos, si no, no lo sumamos porque es el encabezado de la promo en 0. + monto = monto + (esteTag.Get(0) * cant2.Text) + End If + Next +' Log($"CANT=${cant}, MONTO=${monto}"$) + Return CreateMap("cantidad":cant, "monto":monto) +End Sub + +Sub traeCantYMonto2(cliente As String) As Map +' Log("TRAE CANT Y MONTO2") + Private cant As Int = 0 + Private monto As Float = 0 + Private ccym As Cursor = Starter.skmt.ExecQuery($"Select hvd_codpromo, hvd_proid, HVD_CANT, (Select CAT_GP_PRECIO from cat_gunaprod where cat_gp_id = hvd_proid) As precio from HIST_VENTAS where HVD_CLIENTE = '${cliente}'"$) + If ccym.RowCount > 0 Then + For i=0 To ccym.RowCount -1 + ccym.Position = i + If ccym.GetString("HVD_CODPROMO") <> ccym.GetString("HVD_PROID") And ccym.GetString("precio") <> Null Then 'Si no es el header de una promo... + cant = cant + ccym.GetString("HVD_CANT") +' Log($"${ccym.GetString("HVD_CANT")} * ${ccym.GetString("precio")}"$) + monto = monto + (ccym.GetString("HVD_CANT") * traePrecio(ccym.GetString("HVD_PROID"), ccym.GetString("HVD_CODPROMO"))) + End If + Next +' Log($"CANT=${cant}, MONTO=${monto}"$) + End If + + ccym = Starter.skmt.ExecQuery($"Select rep_prodid, iFNULL(REP_CANT, 0) AS REP_CANT, iFNULL((Select CAT_GP_PRECIO from cat_gunaprod where cat_gp_id = rep_prodid),0) As precio from REPARTO where REP_CLIENTE in (Select cuenta from cuentaa) And REP_RECHAZO = '0' and REP_CANT > 0"$) + If ccym.RowCount > 0 Then + For i=0 To ccym.RowCount -1 + ccym.Position = i + If ccym.GetString("REP_CANT") <> Null Then cant = cant + ccym.GetString("REP_CANT") + monto = monto + (ccym.GetString("REP_CANT") * ccym.GetString("precio")) + Next + Log($"CANT=${cant}, MONTO=${monto}"$) + End If + + ccym.Close + Return CreateMap("cantidad":cant, "monto":monto) +End Sub + +'Regresa la cantidad entregada desde HIST_VENTAS. +Sub traeEntregados As Map + Private m As Map + Private cant As Int = 0 + Private monto As String = 0 + Private rc As Cursor = Starter.skmt.ExecQuery($"select sum(HVD_CANT) as CUANTOS, sum(HVD_COSTO_TOT) as CUANTO from HIST_VENTAS where HVD_ESTATUS = '1' and HVD_COSTO_TOT <> '0'"$) + If rc.RowCount > 0 Then + rc.Position = 0 + If rc.GetString("CUANTOS") <> Null Then + cant = cant + rc.GetString("CUANTOS") + monto = monto + rc.GetString("CUANTO") + End If + End If +' LogColor($"CANTIDAD ENTREGADA = ${cant}"$, Colors.red) + Return CreateMap("cantidad": cant, "monto": monto) +End Sub + +'Regresa la cantidad rechazada desde REPARTO. +Sub traeRechazados As Map + Private m As Map + Private cant As Int = 0 + Private monto As String = 0 + Private rc As Cursor = Starter.skmt.ExecQuery($"select sum(REP_CANT) as CUANTOS, sum(REP_CANT * REP_PRECIO) as CUANTO from REPARTO where REP_RECHAZO = '1' and REP_CANT <> '0'"$) + If rc.RowCount > 0 Then + rc.Position = 0 + If rc.GetString("CUANTOS") <> Null Then + cant = cant + rc.GetString("CUANTOS") + monto = monto + rc.GetString("CUANTO") + End If + End If +' LogColor($"CANTIDAD RECHAZADA = ${cant}"$, Colors.red) + Return CreateMap("cantidad": cant, "monto": monto) +End Sub + +'Regresa la cantidad vendida desde REPARTO. +Sub traeVendidos As Map + Private m As Map + Private cant As Int = 0 + Private monto As String = 0 + Private rc As Cursor = Starter.skmt.ExecQuery($"select sum(REP_CANT) as CUANTOS, sum(REP_CANT * REP_PRECIO) as CUANTO from REPARTO where REP_RECHAZO = '0' and REP_CANT <> '0'"$) + If rc.RowCount > 0 Then + rc.Position = 0 + If rc.GetString("CUANTOS") <> Null Then + cant = cant + rc.GetString("CUANTOS") + monto = monto + rc.GetString("CUANTO") + End If + End If +' LogColor($"CANTIDAD VENDIDA = ${cant}"$, Colors.red) + Return CreateMap("cantidad": cant, "monto": monto) +End Sub + +'Agrega una columna a la tabla especificada. +'Hay que indicar el "tipo" de la columna (TEXT, INTEGER, ETC) +'Ej. agregaColumna("TABLA", "COLUMNA", "TIPO") +Sub agregaColumna(tabla As String, columna As String, tipo As String) + Try 'Intentamos usar "pragma_table_info" para revisar si existe la columna en la tabla + Private c As Cursor = Starter.skmt.ExecQuery($"SELECT COUNT(*) AS fCol FROM pragma_table_info('${tabla}') WHERE name='${columna}'"$) + c.Position = 0 + If c.GetString("fCol") = 0 Then 'Si no esta la columna la agregamos + Starter.skmt.ExecNonQuery($"ALTER TABLE ${tabla} ADD COLUMN ${columna} ${tipo}"$) + Log($"Columna "${columna} ${tipo}", agregada a "${tabla}"."$) + End If + Catch 'Si no funciona "pragma_table_info" lo hacemos con try/catch + Try + Starter.skmt.ExecNonQuery($"ALTER TABLE ${tabla} ADD COLUMN ${columna} ${tipo}"$) + Log($"Columna "${columna} ${tipo}", agregada a "${tabla}".."$) + Catch + Log(LastException) + End Try + End Try +End Sub + +'Regresa la ruta actual de la base de datos. +Sub traeRutaReparto As String 'ignore + Private c As Cursor + Private r As String + c=Starter.skmt.ExecQuery("select RUTAA from RUTAA") + r = "0" + If c.RowCount > 0 Then + c.Position=0 + r = c.GetString("RUTAA") + End If + c.Close + Return r +End Sub + +'Regresa el almacen actual de la base de datos. +Sub traeAlmacen As String 'ignore + Private c As Cursor + Private a As String + c = Starter.skmt.ExecQuery("select ID_ALMACEN from CAT_ALMACEN") + c.Position = 0 + a = C.GetString("ID_ALMACEN") + c.Close + Return a +End Sub + +Sub traeUsuario As String 'ignore + Private c As Cursor + Private a As String + c = Starter.skmt.ExecQuery("select USUARIO from USUARIOA") + c.Position = 0 + a = C.GetString("USUARIO") + c.Close + Return a +End Sub + + +Sub traefECHAPREV As String 'ignore + Private c As Cursor + Private a As String + Private clienteasing As Cursor = Starter.skmt.ExecQuery("SELECT CUENTA FROM CUENTAA") + clienteasing.Position = 0 + If clienteasing.GetString("CUENTA") <> "63403" Then + c = Starter.skmt.ExecQuery("select HVD_FECHA from HIST_VENTAS where HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)") + c.Position = 0 + Dim fecha() As String = Regex.Split(" ", c.GetString("HVD_FECHA")) + Dim fecha3 As String = fecha(0) + Log(fecha3) + Dim hora() As String = Regex.Split("\.", fecha(1)) + a = fecha3 & " " & hora(0) + c.Close + Else If clienteasing.GetString("CUENTA") = "63403" Then + c = Starter.skmt.ExecQuery("select HVD_FECHA from HIST_VENTAS") + c.Position = 0 + Dim fecha() As String = Regex.Split(" ", c.GetString("HVD_FECHA")) + Dim fecha3 As String = fecha(0) + Log(fecha3) + Dim hora() As String = Regex.Split("\.", fecha(1)) + a = fecha3 & " " & hora(0) + c.Close + End If + Return a +End Sub + +Sub traerUTAPREV As String 'ignore + Private c As Cursor + Private a As String + c = Starter.skmt.ExecQuery("select CAT_CL_RUTA from kmt_info where CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)") + c.Position = 0 + a = C.GetString("CAT_CL_RUTA") + c.Close + Return a +End Sub + + +Sub CreateBitmapWithNumber(OriginalBitmap As Bitmap, Number As Int) As Bitmap + Dim NewBitmap As Bitmap + NewBitmap.InitializeMutable(OriginalBitmap.Width, OriginalBitmap.Height) + + Dim Canvas As Canvas + Canvas.Initialize2(NewBitmap) + + ' Definir el rectángulo donde se dibujará el Bitmap + Dim DestRect As Rect + DestRect.Initialize(0, 0, OriginalBitmap.Width, OriginalBitmap.Height) + + ' Dibujar la imagen original + Canvas.DrawBitmap(OriginalBitmap, Null, DestRect) + + ' Dibujar el número en el centro del Bitmap y configurar el estilo del texto + Canvas.DrawText(Number, (OriginalBitmap.Width / 2), (OriginalBitmap.Height / 2.4), Typeface.DEFAULT, 20, Colors.White, "CENTER") + + Return NewBitmap +End Sub \ No newline at end of file diff --git a/B4A/Tracker.bas b/B4A/Tracker.bas new file mode 100644 index 0000000..f564cfd --- /dev/null +++ b/B4A/Tracker.bas @@ -0,0 +1,236 @@ +B4A=true +Group=Default Group +ModulesStructureVersion=1 +Type=Service +Version=10.2 +@EndOfDesignText@ +#Region Service Attributes + #StartAtBoot: True +#End Region +'****************************************************************************** +'No olvidar agregar esta linea al editor de manifiesto: +' SetServiceAttribute(Tracker, android:foregroundServiceType, "location") +' +'En Starter agregar estas lineas en Process_Globals +' Public rp As RuntimePermissions +' Public FLP As FusedLocationProvider +' Private flpStarted As Boolean +' +'En Main agregar estas lineas a Activity_Resume +' Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_ACCESS_FINE_LOCATION) +' Wait For Activity_PermissionResult (Permission As String, Result As Boolean) +' If Result Then +' StartService(Tracker) +' Log("Start Tracker") +' Else +' ToastMessageShow("No permission", True) +' End If +' +'Se necesitan las librerias FusedLocationProvider, GPS, Phone y RunTimePermissions +' +'Y en Main agregar estas dos lineas: +'#AdditionalJar: com.android.support:support-v4 +'#AdditionalJar: com.google.android.gms:play-services-location + +Sub Process_Globals + Private nid As Int = 1 + dim Tracking As Boolean + Private lock As PhoneWakeState + 'Para FusedLocationProvider (2 lineas) + Public FLP As FusedLocationProvider + Dim actualLR As LocationRequest + Private flpStarted As Boolean + Dim locRequest As String + Dim UUGCoords As Location 'Ultima Ubicacion Guardada + Dim trackerActividad, pushServiceActividad As String +End Sub + +Sub Service_Create + Service.AutomaticForegroundMode = Service.AUTOMATIC_FOREGROUND_NEVER 'we are handling it ourselves + UUGCoords.Initialize + UUGCoords.Latitude = 0 + UUGCoords.Longitude = 0 + 'Para FusedLocationProvider (2 lineas) + FLP.Initialize("flp") + FLP.Connect + lock.PartialLock + StartFLP +End Sub + +Sub flp_ConnectionSuccess +' If B4XPages.MainPage.logger Then Log("Connected to location provider") + 'FLP.GetLastKnownLocation +End Sub + +Sub flp_ConnectionFailed(ConnectionResult1 As Int) + If B4XPages.MainPage.logger Then Log("Failed to connect to location provider") +End Sub + +Sub flp_ConnectionSuspended(ConnectionResult1 As Int) + If B4XPages.MainPage.logger Then Log("FLP conection suspended") + StartFLP +End Sub + +Sub Service_Start (StartingIntent As Intent) + LogColor("Iniciando Tracker ...", Colors.Green) + Service.StopAutomaticForeground +' Service.StartForeground(51042, Subs.notiLowReturn("THIS (T)", PushService.wsStatus, 51042)) + StartServiceAt(Me, DateTime.Now + 10 * DateTime.TicksPerMinute, True) + Track + Starter.trackerActividad = Subs.fechaKMT(DateTime.Now) +' Log("trackerActividad="&Starter.trackerActividad&"|"& Subs.fechaKMT(DateTime.Now)) +End Sub + +Public Sub Track + If B4XPages.MainPage.logger Then Log("Inicia Track - Tracking : "&Tracking) + If Tracking Then +' Log(actualLR.GetSmallestDisplacement) + Return 'Si ya estamos "rastreando" no hacemos nada (return) + End If + If Starter.rp.Check(Starter.rp.PERMISSION_ACCESS_FINE_LOCATION) = False Then + If B4XPages.MainPage.logger Then Log("No permission") + Return + End If + StartFLP 'Iniciamos FusedLocationProvider + Tracking = True +End Sub + +Public Sub StartFLP +' If B4XPages.MainPage.logger Then Log("StartFLP - flpStarted="&flpStarted) + Do While FLP.IsConnected = False + Sleep(500) +' If Main.logger Then Log("sleeping") + Loop +' If flpStarted = False Then +' If Main.logger Then Log("RequestLocationUpdates") + FLP.RequestLocationUpdates(CreateLocationRequest) 'Buscamos ubicacion +' If Main.logger Then Log("Buscamos ubicacion") +' If Main.logger Then Log(actualLR.GetSmallestDisplacement) + flpStarted = True +' End If +End Sub + +Public Sub StartFLP2Reqs + If B4XPages.MainPage.logger Then Log("StartFLP - flpStarted="&flpStarted) + Do While FLP.IsConnected = False + Sleep(500) + If B4XPages.MainPage.logger Then Log("sleeping GR") + Loop + dameUltimaUbicacionConocida 'Regresamos ultima ubicacion conocida + FLP.RequestLocationUpdates(CreateLocationRequest2times) 'Buscamos ubicacion 2 peticiones + If B4XPages.MainPage.logger Then Log("Buscamos ubicacion 2 peticiones") + If B4XPages.MainPage.logger Then Log(actualLR.GetSmallestDisplacement) +End Sub + +Private Sub CreateLocationRequest As LocationRequest + If B4XPages.MainPage.logger Then Log("CreateLocationRequest") + Dim lr As LocationRequest + lr.Initialize + lr.SetInterval(10000) 'Intervalo deseado para actualizaciones de ubicacion + lr.SetFastestInterval(lr.GetInterval / 2) 'Intervalo minimo para actualizaciones de ubicacion + lr.SetSmallestDisplacement(75) 'Solo registra cambio de ubicacion si es mayor a XX mts + lr.SetPriority(lr.Priority.PRIORITY_HIGH_ACCURACY) + actualLR=lr + Return lr +End Sub + +Private Sub CreateLocationRequest2times As LocationRequest + If B4XPages.MainPage.logger Then Log("Iniciamos CreateLocationRequest2times") + Dim lr As LocationRequest + lr.Initialize + lr.SetInterval(2000) 'Intervalo deseado para actualizaciones de ubicacion + lr.SetFastestInterval(lr.GetInterval / 2) 'Intervalo minimo para actualizaciones de ubicacion + lr.setNumUpdates(2) 'Solicitamos solo 2 actualizaciones con estos parametros + lr.SetSmallestDisplacement(10) 'Solo registra cambio de ubicacion si es mayor a XX mts + lr.SetPriority(lr.Priority.PRIORITY_HIGH_ACCURACY) + actualLR=lr + Return lr +End Sub + +Sub dameUltimaUbicacionConocida + If FLP.GetLastKnownLocation.IsInitialized Then 'Mandamos ultima ubicacion guardada +' If Main.logger Then Log("Mandamos UUC : "&formatoFecha(FLP.GetLastKnownLocation.Time)) + If B4XPages.MainPage.Logger Then LogColor($"Mandamos UUC "${Subs.fechaKMT(FLP.GetLastKnownLocation.Time)}|Acc:$0.2{FLP.GetLastKnownLocation.Accuracy}|$0.8{FLP.GetLastKnownLocation.Latitude}|$0.8{FLP.GetLastKnownLocation.Longitude}|Spd:$0.2{FLP.GetLastKnownLocation.Speed}|"$, Colors.RGB(255,112,35)) + Dim coords As String = FLP.GetLastKnownLocation.Latitude&","&FLP.GetLastKnownLocation.Longitude&","&formatoFecha(FLP.GetLastKnownLocation.Time) +' CallSubDelayed2(FirebaseMessaging,"mandamosLoc",coords) + Subs.mandamosLoc(coords) + End If +End Sub + +Public Sub StopFLP + 'Log("StopFLP") + If flpStarted Then + FLP.RemoveLocationUpdates 'Eliminamos todas las solicitudes de ubicacion + flpStarted = False + End If +End Sub + +Sub flp_LocationChanged (Location1 As Location) + Starter.trackerActividad = Subs.fechaKMT(DateTime.Now) + UUGCoords = Location1 +' If Main.logger Then Log("SmallestDisplacement="&actualLR.GetSmallestDisplacement) + CallSub2(Starter, "GPS_LocationChanged", Location1) +' CallSub2(gestion, "GPS_LocationChanged", Location1) +' CallSubDelayed2(gestion, "GPS_LocationChanged", Location1) + B4XPages.MainPage.lat_gps = Location1.Latitude + B4XPages.MainPage.lon_gps = Location1.Longitude +'/////// para la ultima ubicacion FL + Dim sDate,sTime As String + DateTime.DateFormat = "MM/dd/yyyy" + sDate=DateTime.Date(DateTime.Now) + sTime=DateTime.Time(DateTime.Now) + Try + Starter.skmt.ExecNonQuery("DELETE FROM HIST_GPS") + Starter.skmt.ExecNonQuery2("INSERT INTO HIST_GPS (HGDATE, HGLAT, HGLON) VALUES(?,?,?) ", Array As Object (sDate & sTime, B4XPages.MainPage.lat_gps, B4XPages.MainPage.lon_gps)) + Catch + If B4XPages.MainPage.logger Then Log("Error al borrar o insertar nuevas coordendas en HIST_GPS") + End Try +'/////// + Dim coords As String = Location1.Latitude&","&Location1.Longitude&","&formatoFecha(Location1.Time) + Log("Loc changed : "&Location1.Latitude&","&Location1.Longitude) + If B4XPages.MainPage.logger Then Log("Mandamos Ubicacion") + If B4XPages.MainPage.logger Then Log(locRequest) + ' Solo mandamos la ubicacion si la precision es menor a XX mts + If Location1.Accuracy < 100 Then + Subs.guardaInfoEnBD(coords)'Escribimos coordenadas y fecha en BD +' CallSubDelayed2(FirebaseMessaging,"mandamosLoc",coords) + Subs.mandamosLoc(coords) + End If + Dim origFormat As String = DateTime.TimeFormat 'Guardamos formato de fecha + DateTime.TimeFormat = "HHmmss" ' Modificamos formato de fecha + Dim minsDif As Int = DateTime.Time(DateTime.Now) - B4XPages.MainPage.ultimaActualizacionGPS +' If Main.logger Then Log("UltimaAct="&Main.ultimaActualizacionGPS&" MinsDif="&minsDif) + If Location1.Accuracy < 100 And minsDif > 240 Then 'Si precision de 100 y 4 min transcurridos manda a web + If B4XPages.MainPage.logger Then Log("actualizamos Ubicacion Web") + CallSubDelayed(Starter, "ENVIA_ULTIMA_GPS") + End If + DateTime.TimeFormat = origFormat 'Regresamos formato de fecha original + 'Revisamos servicios + Subs.monitor +End Sub + +Sub CreateNotification (Body As String) As Notification 'ignore + Dim notification As Notification + notification.Initialize2(notification.IMPORTANCE_LOW) + notification.Icon = "icon" + notification.SetInfo("IZCA REPARTO", Body, Main) + Return notification +End Sub + +Sub Service_Destroy + If Tracking Then + StopFLP + End If + Tracking = False + lock.ReleasePartialLock +End Sub + +Sub formatoFecha(fecha As String) As String 'Convierte una fecha al formato yyMMddHHmmss +' Log(fecha) + Dim OrigFormat As String = DateTime.DateFormat 'save orig date format + DateTime.DateFormat="yyMMddHHmmss" + Dim lastUpdate As String=DateTime.Date(fecha) + DateTime.DateFormat=OrigFormat 'return to orig date format +' Log(lastUpdate) + Return lastUpdate +End Sub \ No newline at end of file diff --git a/B4A/appUpdater.bas b/B4A/appUpdater.bas new file mode 100644 index 0000000..b7c0a58 --- /dev/null +++ b/B4A/appUpdater.bas @@ -0,0 +1,284 @@ +B4A=true +Group=Default Group +ModulesStructureVersion=1 +Type=Service +Version=10.2 +@EndOfDesignText@ +#Region Service Attributes + #StartAtBoot: False +#End Region + +'//////////////////////////////////////////////////////////////////////////////////////////// +'//// Servicio para revisar si hay actualizacion de aplicación, usa la +'//// actividad "updateAvailable" para mostrar mensajes. +'//// +'//// https://www.b4x.com/android/forum/threads/update-your-app-without-using-the-gplaystore.109720/#content +'//// +'//// En la actividad del la cual se va a llamar la revision de actualizacion +'//// hay que agregar los siguientes Subs: +'//// +' Sub boton_que_llama_revision_Click +' StartService(appUpdater) +' End Sub +' +' appUpdater - Mostramos el anuncio de que se esta descargando el nuevo apk +' Sub muestraProgreso +' ProgressDialogShow("Descargando actualización") +' End Sub +' +' appUpdater - Ocultamos el anuncio de que se esta descargando el nuevo apk +' Sub ocultaProgreso +' ProgressDialogHide +' End Sub +'//// +'//// Requiere las siguientes librerias: +'//// +'//// * appUpdating +'//// * JavaObject +'//// * OkHttpUtils2 +'//// * Phone +'//// * RuntimePermissions +'//// +'//// Requiere las siguientes lineas en el manifiesto: +'//// +' AddManifestText( +' ) +' AddApplicationText( +' +' +' +' ) +' CreateResource(xml, provider_paths, +' +' +' +' +' +' ) +' AddPermission(android.permission.REQUEST_INSTALL_PACKAGES) +' AddPermission(android.permission.INTERNET) +' AddPermission(android.permission.INSTALL_PACKAGES) +' AddPermission(android.permission.READ_EXTERNAL_STORAGE) +' AddPermission(android.permission.WRITE_EXTERNAL_STORAGE) +' AddPermission(android.permission.READ_PHONE_STATE) +' AddPermission(android.permission.WAKE_LOCK) +'//// +'//////////////////////////////////////////////////////////////////////////////////////////// + +Sub Process_Globals + 'These global variables will be declared once when the application starts. + 'These variables can be accessed from all modules. + + 'Aqui va la liga al archivo .ver en el servidor que contiene la información de la aplicacion + Public lnk As String = "https://keymon.net/movil/izca/izca_reparto.ver" + + '/// En el servidor se necesita un archivo de texto (.ver) que tenga los siguientes + '/// datos separados por un tabulador + '/// contents of ver file, each field is seperated by a tab + ' Field 0 = 2.226.19.09.19.01a <-- Esta es la version de la aplicación disponible + ' Field 1 = A new version of the MyAPP is available, Download and update now ? <-- Mensaje para cuando hay actualización + ' Field 2 = MyApp is up to date <--- Mensaje para cuando no hay actualización + ' Field 3 = http://www.mydomain.com/Public/myapp.apk <--- Liga al apk de la actualización + + Public nNewApp As Notification + Public nNewAppnID As Int = 16 + 'Para Download + Dim nativeMe As JavaObject + Dim n2 As Notification + Dim n2ID As Int = 16 + 'Para fileProvider + Public SharedFolder As String + Public UseFileProvider As Boolean + Private rp As RuntimePermissions + + Type mNewVersion(update As Boolean, nonewAPP As Boolean, notifyUser As Boolean, _ + version As String, newMsg As String, okMsg As String, appLink As String) + Public newApp As mNewVersion +End Sub + +Sub Service_Create + Log("appUpdater(), Service_Create") + newApp.Initialize + Service.AutomaticForegroundMode = Service.AUTOMATIC_FOREGROUND_NEVER + n2.Initialize + nativeMe.InitializeContext +End Sub + +Sub Service_Start (StartingIntent As Intent) + Log("appUpdater(), Service_Start") +' CallSubDelayed2(Main, "muestraProgreso", "Buscando actualización") + B4XPages.MainPage.muestraProgreso("Buscando actualización") + Log("Buscando actualización") + fileProvider_init + Wait For (Download(Me, lnk)) JobDone (j As HttpJob) + If j.Success Then + Try + Dim app() As String = Regex.Split(Chr(9),j.GetString) + ' // Set the data + newApp.appLink = app(3) 'Liga a nueva app + newApp.newMsg = app(1) 'Texto de que hay actualizacion + newApp.okMsg = app(2) 'Texto de app al corriente + newApp.version = app(0) 'Version actual + + Log($"Application.VersionName=${Application.VersionName}, newApp=${newApp}"$) + + ' // App version check + If newApp.version = Application.VersionName Then + newApp.update = False + Log("No new app") + B4XPages.ShowPage("updateAvailable") + 'Se puede mandar tambien una notificacion avisando que NO hay actualizaciones + CreateNotification2("Aplicacion al corriente","No hay actualizaciones disponibles","ic_file_download_white_24dp",Main,True,True,nNewApp,nNewAppnID) + End If + If newApp.version <> Application.VersionName Then + newApp.update = True + Log("New app true") + B4XPages.ShowPage("updateAvailable") + 'Se puede mandar tambien una notificacion avisando que hay actualizacion disponible +' CreateNotification2("Nueva aplicación disponible","Haga clic para descargar.","ic_file_download_white_24dp",C_UpdateAvailable,True,True,nNewApp,nNewAppnID) + End If + Catch + Log("appUpdater(), Job Failed, error " & LastException.Message) + End Try + Else + Log("appUpdater(), Job Failed " & lnk) + End If + j.Release +' StopService(Me) +End Sub + +Sub download_Start (StartingIntent As Intent) + download_newApk +End Sub + +Sub download_newApk +' CreateNotification("Descargando actualización", "Descargando apk", "ic_file_download_white_24dp", Main, False, True) +' CallSubDelayed2(Main, "muestraProgreso", "Descargando actualización") + Log("Descargando actualización") + B4XPages.ShowPage("login") + B4XPages.MainPage.muestraProgreso("Descargando actualización") + Starter.muestraProgreso = 1 + Dim job_newAPP As HttpJob + job_newAPP.Initialize("job_newAPP",Me) + job_newAPP.Download(newApp.appLink) + Wait for (job_newAPP) JobDone (job_newAPP As HttpJob) + If job_newAPP.Success = True Then + ' // Delete existing file + If File.Exists(SharedFolder,"newapp.apk") Then + File.Delete(SharedFolder,"newapp.apk") + End If + ' // Save new file + Dim outNewAPK As OutputStream = File.OpenOutput(SharedFolder,"newapp.apk", False) + File.Copy2(job_newAPP.GetInputStream, outNewAPK) + outNewAPK.Close +' If Starter.Logger Then Log("APK dir: "&SharedFolder) + B4XPages.MainPage.ocultaProgreso + Log("ocultamos prigreso DOWNLOAD APK") + End If + job_newAPP.Release + ' // Install the app + Dim in As Intent + in.Initialize(in.ACTION_VIEW,"" ) + SetFileUriAsIntentData(in, "newapp.apk") + ' // Type must be set after calling SetFileUriAsIntentData + in.SetType("application/vnd.android.package-archive") + StartActivity(in) + n2.Cancel(nNewAppnID) +' Service.StopForeground(nNewAppnID) + StopService(Me) +' CallSubDelayed(Main,"ocultaProgreso") +End Sub + +Sub download_Destroy + n2.Cancel(n2ID) + Service.StopForeground(n2ID) +End Sub + +Sub Download (Callback As Object, link As String) As HttpJob + Dim j As HttpJob + j.Initialize("", Callback) + j.Download(link) + Return j +End Sub + +Private Sub CreateNotification2(Title As String, Content As String, _ 'ignore + Icon As String, TargetActivity As Object, Sound As Boolean, _ + Vibrate As Boolean, pN As Notification,pNID As Int) As Notification + pN.Initialize2(pN.IMPORTANCE_HIGH) +' pN.Number = pNID +' pN.Light = False + pN.Vibrate = Vibrate + pN.Sound = Sound +' pN.OnGoingEvent = False + pN.Icon = Icon + pN.AutoCancel = True + pN.SetInfo(Title, Content, TargetActivity) + pN.Notify(pNID) + Return pN +End Sub + +Private Sub CreateNotification(Title As String, Content As String, Icon As String, TargetActivity As Object, Sound As Boolean, Vibrate As Boolean) As Notification 'ignore + n2.Initialize + n2.Light = False + n2.Vibrate = Vibrate + n2.Sound = Sound + n2.OnGoingEvent = True + n2.Icon = Icon + n2.SetInfo(Title, Content, TargetActivity) + n2.Notify(nNewAppnID) +End Sub + +Sub Service_Destroy + Log("appUpdater(), Service_Destroy") +End Sub + +Sub fileProvider_init + Dim p As Phone + If p.SdkVersion >= 24 Or File.ExternalWritable = False Then + UseFileProvider = True + SharedFolder = File.Combine(File.DirInternal, "shared") + If Not(File.IsDirectory(File.DirInternal,"shared")) Then + File.MakeDir("", SharedFolder) + End If + Else + UseFileProvider = False + SharedFolder = rp.GetSafeDirDefaultExternal("shared") + End If + Log($"Using FileProvider? - ${UseFileProvider}"$) +End Sub + +'Returns the file uri. +Sub GetFileUri (FileName As String) As Object + Try + If Not(UseFileProvider) Then + Dim uri As JavaObject + Return uri.InitializeStatic("android.net.Uri").RunMethod("parse", Array("file://" & File.Combine(SharedFolder, FileName))) + End If + Dim f As JavaObject + f.InitializeNewInstance("java.io.File", Array(SharedFolder, FileName)) + Dim fp As JavaObject + Dim context As JavaObject + context.InitializeContext + fp.InitializeStatic("android.support.v4.content.FileProvider") + Return fp.RunMethod("getUriForFile", Array(context, Application.PackageName & ".provider", f)) + Catch + Log("FileProvider::GetFileUri - error - " & LastException.Message) + Return "" + End Try +End Sub + +'Replaces the intent Data field with the file uri. +'Resets the type field. Make sure to call Intent.SetType after calling this method +Sub SetFileUriAsIntentData (Intent As Intent, FileName As String) + Dim jo As JavaObject = Intent + jo.RunMethod("setData", Array(GetFileUri(FileName))) + Intent.Flags = Bit.Or(Intent.Flags, 1) 'FLAG_GRANT_READ_URI_PERMISSION +End Sub diff --git a/B4A/cheklist.bas b/B4A/cheklist.bas new file mode 100644 index 0000000..b955c0b --- /dev/null +++ b/B4A/cheklist.bas @@ -0,0 +1,24 @@ +B4A=true +Group=Default Group +ModulesStructureVersion=1 +Type=Class +Version=12.5 +@EndOfDesignText@ +Sub Class_Globals + Private Root As B4XView 'ignore + Private xui As XUI 'ignore +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 + +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/foto.bas b/B4A/foto.bas new file mode 100644 index 0000000..95bd3c8 --- /dev/null +++ b/B4A/foto.bas @@ -0,0 +1,190 @@ +B4A=true +Group=Default Group +ModulesStructureVersion=1 +Type=Activity +Version=7.01 +@EndOfDesignText@ +#Region Activity Attributes + #FullScreen: False + #IncludeTitle: True + +#End Region + +Sub Process_Globals + Private frontCamera As Boolean = False +' Dim ruta As String + Dim g As GPS + +End Sub + +Sub Globals + Private p_camara As Panel + Private camEx As CameraExClass + Dim btnTakePicture As Button + ' Dim skmt As SQL + Dim c As Cursor + Dim cuenta As String + Dim lat_gps As String +' Dim lon_gps As String + Dim USUARIO As String + Dim MOTIVO As String +End Sub + +Sub Activity_Create(FirstTime As Boolean) + If(FirstTime) Then + g.Initialize("GPS") + End If + Activity.LoadLayout("foto") + c=Starter.skmt.ExecQuery("select cuenta from cuentaa") + c.Position = 0 + cuenta = c.GetString("CUENTA") +End Sub + +Sub Activity_Resume + InitializeCamera +End Sub + +Private Sub InitializeCamera + camEx.Initialize(p_camara, frontCamera, Me, "Camera1") + frontCamera = camEx.Front +End Sub + +Sub Activity_Pause (UserClosed As Boolean) + camEx.Release +End Sub + +Sub GPS_LocationChanged (Location1 As Location) +' lat_gps=Location1.ConvertToSeconds(Location1.Latitude) +' lon_gps=Location1.ConvertToSeconds(Location1.Longitude) + 'btnTakePicture.Enabled = True + 's.ExecNonQuery2("INSERT INTO HIST_GPS (HGDATE,HGLAT, HGLON) VALUES(?,?,?) ", Array As Object (sDate & sTime, lat_gps, lon_gps)) +End Sub + +Sub Camera1_Ready (Success As Boolean) + If Success Then + camEx.SetJpegQuality(90) + camEx.CommitParameters + camEx.StartPreview + Log(camEx.GetPreviewSize) + Else + ToastMessageShow("Cannot open camera.", True) + End If +End Sub + +Sub btnTakePicture_Click + Dim ps As CameraSize + ps.Width =640 + ps.Height =480 + camEx.SetPictureSize(ps.Width, ps.Height) + 'ToastMessageShow(ps.Width & "x" & ps.Height, False) + camEx.CommitParameters + camEx.TakePicture +End Sub + +Sub btnFocus_Click + camEx.FocusAndTakePicture +End Sub + +Sub Camera1_PictureTaken (Data() As Byte) + Dim filename As String = "1.jpg" + Dim dir As String = File.DirInternal + + camEx.SavePictureToFile(Data, dir, filename) + camEx.StartPreview 'restart preview + + 'Dim out As OutputStream + + Dim sDate,sTime As String + + + DateTime.DateFormat = "MM/dd/yyyy" + sDate=DateTime.Date(DateTime.Now) + sTime=DateTime.Time(DateTime.Now) + c=Starter.skmt.ExecQuery("select CUENTA from cuentaa") + c.Position = 0 + cuenta = c.GetString("CUENTA") + c=Starter.skmt.ExecQuery("select USUARIO from usuarioa") + c.Position = 0 + USUARIO = c.GetString("USUARIO") + c.Close + Starter.skmt.ExecNonQuery("DELETE FROM NOVENTA WHERE NV_CLIENTE IN (select cuenta from cuentaa)") + + c=Starter.skmt.ExecQuery("select HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) order by HVD_PRONOMBRE asc") + + If c.RowCount>0 Then + For i=0 To c.RowCount -1 + c.Position=i + Starter.skmt.ExecNonQuery2("insert into reparto(REP_CLIENTE, REP_PRONOMBRE, REP_CANT, REP_COSTO_TOT) select HVD_CLIENTE, HVD_PRONOMBRE, HVD_CANT, HVD_COSTO_TOT from hist_ventas where HVD_PRONOMBRE = ? and HVD_cliente in (Select CUENTA from cuentaa) ", Array As String(c.GetString("HVD_PRONOMBRE"))) + + Starter.skmt.ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen + ? where cat_gp_nombre = ?", Array As Object(c.GetString("HVD_CANT"),c.GetString("HVD_PRONOMBRE"))) + ' ANTES DE MODIFCAR + 'skmt.ExecNonQuery2("delete FROM HIST_VENTAS WHERE HVD_PRONOMBRE = ? and HVD_cliente in (Select CUENTA from cuentaa) ", Array As String(c.GetString("HVD_PRONOMBRE"))) + 'skmt.ExecNonQuery2("update HIST_VENTAS set HVD_EXISTE = ? WHERE HVD_PRONOMBRE = ? and HVD_cliente in (Select CUENTA from cuentaa) ", Array As String(motivo, c.GetString("HVD_PRONOMBRE"))) + + Next + End If + + + + + Starter.skmt.ExecNonQuery2("INSERT INTO NOVENTA (NV_CLIENTE,NV_FECHA,NV_USER,NV_MOTIVO,NV_COMM,NV_LAT,NV_LON, NV_FOTO) VALUES(?,?,?,?,?,?,?,?) ", Array As Object (cuenta,sDate & sTime, USUARIO, "CERRADO", B4XPages.MainPage.noVenta.COMENTARIO, B4XPages.MainPage.lat_gps, B4XPages.MainPage.lon_gps, Data)) + Starter.skmt.ExecNonQuery($"UPDATE kmt_info set gestion = 3, HORAENT = '${sDate & " " & sTime}' where CAT_CL_CODIGO In (select cuenta from cuentaa)"$) + Starter.skmt.ExecNonQuery("update HIST_VENTAS SET HVD_RECHAZO = 1 WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)") + B4XPages.ShowPage("Principal") + + +End Sub + +Sub ChangeCamera_Click + camEx.Release + frontCamera = Not(frontCamera) + InitializeCamera +End Sub + +Sub btnEffect_Click + Dim effects As List = camEx.GetSupportedColorEffects + If effects.IsInitialized = False Then + ToastMessageShow("Effects not supported.", False) + Return + End If + Dim effect As String = effects.Get((effects.IndexOf(camEx.GetColorEffect) + 1) Mod effects.Size) + camEx.SetColorEffect(effect) + ToastMessageShow(effect, False) + camEx.CommitParameters +End Sub + +Sub btnFlash_Click + Dim f() As Float = camEx.GetFocusDistances + Log(f(0) & ", " & f(1) & ", " & f(2)) + Dim flashModes As List = camEx.GetSupportedFlashModes + If flashModes.IsInitialized = False Then + ToastMessageShow("Flash not supported.", False) + Return + End If + Dim flash As String = flashModes.Get((flashModes.IndexOf(camEx.GetFlashMode) + 1) Mod flashModes.Size) + camEx.SetFlashMode(flash) + ToastMessageShow(flash, False) + camEx.CommitParameters +End Sub +Sub btnPictureSize_Click + Dim pictureSizes() As CameraSize = camEx.GetSupportedPicturesSizes + Dim current As CameraSize = camEx.GetPictureSize + For i = 0 To pictureSizes.Length - 1 + If pictureSizes(i).Width = current.Width And pictureSizes(i).Height = current.Height Then Exit + Next + Dim ps As CameraSize = pictureSizes((i + 1) Mod pictureSizes.Length) + camEx.SetPictureSize(ps.Width, ps.Height) + ToastMessageShow(ps.Width & "x" & ps.Height & i, False) + camEx.CommitParameters +End Sub +Sub Activity_KeyPress (key As Int) As Boolean + ' BACK key pressed + If key=KeyCodes.KEYCODE_BACK Then + ' I want to capture the key here so I return True + B4XPages.ShowPage("Principal") + 'Return True + End If + ' Returning False signals the system to handle the key + Return False +End Sub +